Skip to content

Commit

Permalink
Merge pull request #712 from ThisIsBuddyRIch/invitation-document-id-t…
Browse files Browse the repository at this point in the history
…o-get-organizations-by-inn-list

update proto file GetOrganizationsByInnList
  • Loading branch information
ThisIsBuddyRIch authored Jul 27, 2020
2 parents 63c32d1 + cec6e00 commit 81a3357
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
5 changes: 5 additions & 0 deletions proto/GetOrganizationsByInnList.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import "Organization.proto";
import "Counteragent.proto";
import "DocumentId.proto";


package Diadoc.Api.Proto;

Expand All @@ -11,6 +13,9 @@ message OrganizationWithCounteragentStatus {
required Organization Organization = 1;
optional CounteragentStatus CounteragentStatus = 2 [default = UnknownCounteragentStatus];
optional sfixed64 LastEventTimestampTicks = 3;
optional string MessageFromCounteragent = 4;
optional string MessageToCounteragent = 5;
optional DocumentId InvitationDocumentId = 6;
}

message GetOrganizationsByInnListResponse {
Expand Down
28 changes: 28 additions & 0 deletions src/Proto/GetOrganizationsByInnList.proto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
// Generated from: GetOrganizationsByInnList.proto
// Note: requires additional types generated from: Organization.proto
// Note: requires additional types generated from: Counteragent.proto
// Note: requires additional types generated from: DocumentId.proto
namespace Diadoc.Api.Proto
{
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetOrganizationsByInnListRequest")]
Expand Down Expand Up @@ -59,6 +60,33 @@ public long LastEventTimestampTicks
get { return _LastEventTimestampTicks; }
set { _LastEventTimestampTicks = value; }
}

private string _MessageFromCounteragent = "";
[global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"MessageFromCounteragent", DataFormat = global::ProtoBuf.DataFormat.Default)]
[global::System.ComponentModel.DefaultValue("")]
public string MessageFromCounteragent
{
get { return _MessageFromCounteragent; }
set { _MessageFromCounteragent = value; }
}

private string _MessageToCounteragent = "";
[global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"MessageToCounteragent", DataFormat = global::ProtoBuf.DataFormat.Default)]
[global::System.ComponentModel.DefaultValue("")]
public string MessageToCounteragent
{
get { return _MessageToCounteragent; }
set { _MessageToCounteragent = value; }
}

private Diadoc.Api.Proto.DocumentId _InvitationDocumentId = null;
[global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"InvitationDocumentId", DataFormat = global::ProtoBuf.DataFormat.Default)]
[global::System.ComponentModel.DefaultValue(null)]
public Diadoc.Api.Proto.DocumentId InvitationDocumentId
{
get { return _InvitationDocumentId; }
set { _InvitationDocumentId = value; }
}
private global::ProtoBuf.IExtension extensionObject;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
{ return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
Expand Down

0 comments on commit 81a3357

Please sign in to comment.