From 5fd51522a88141bc6d3a46732bc1d128f7b26d35 Mon Sep 17 00:00:00 2001 From: Yaroslav Zyubanov Date: Fri, 26 May 2017 14:01:56 +0500 Subject: [PATCH] Encrypted UTD/UCD support --- proto/Events/DiadocMessage-PostApi.proto | 1 + src/Proto/Events/DiadocMessage-PostApi.proto.cs | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/proto/Events/DiadocMessage-PostApi.proto b/proto/Events/DiadocMessage-PostApi.proto index f7149839..3b7f634c 100644 --- a/proto/Events/DiadocMessage-PostApi.proto +++ b/proto/Events/DiadocMessage-PostApi.proto @@ -83,6 +83,7 @@ message EncryptedDocumentMetadata { message EncryptedXmlBasicDocumentMetadata { required string FormationDate = 1; required string FormationTime = 2; + optional string DocumentName = 3; } message EncryptedInvoiceMetadata { diff --git a/src/Proto/Events/DiadocMessage-PostApi.proto.cs b/src/Proto/Events/DiadocMessage-PostApi.proto.cs index 24fe1955..303cc066 100644 --- a/src/Proto/Events/DiadocMessage-PostApi.proto.cs +++ b/src/Proto/Events/DiadocMessage-PostApi.proto.cs @@ -489,6 +489,15 @@ public string FormationTime get { return _FormationTime; } set { _FormationTime = value; } } + + private string _DocumentName = ""; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"DocumentName", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue("")] + public string DocumentName + { + get { return _DocumentName; } + set { _DocumentName = value; } + } private global::ProtoBuf.IExtension extensionObject; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }