-
Notifications
You must be signed in to change notification settings - Fork 81
Expand file tree
/
Copy pathDocflowV3.proto
More file actions
156 lines (139 loc) · 4.56 KB
/
Copy pathDocflowV3.proto
File metadata and controls
156 lines (139 loc) · 4.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
import "Timestamp.proto";
import "Documents/Document.proto";
import "Docflow/AttachmentV3.proto";
import "Docflow/Attachment.proto";
import "Docflow/RoamingNotification.proto";
import "Docflow/ResolutionDocflowV3.proto";
import "Docflow/OutOfWorkflowUniversalMessageDocflow.proto";
import "OuterDocflows/OuterDocflowStatus.proto";
import "TtGisFixationCancellationStatus.proto";
import "DocflowStatusV3.proto";
package Diadoc.Api.Proto.Docflow;
message DocflowV3
{
required SenderTitleDocflow SenderTitle = 1;
optional ConfirmationDocflow Confirmation = 2;
optional ParticipantResponseDocflow ProxyResponse = 11;
optional ReceiptDocflowV3 RecipientReceipt = 4;
optional ParticipantResponseDocflow RecipientResponse = 5;
optional AmendmentRequestDocflow AmendmentRequest = 6;
optional RevocationDocflowV3 Revocation = 7;
optional ReceiptDocflowV3 SenderReceipt = 8;
optional ResolutionDocflowV3 Resolution = 9;
optional ResolutionEntitiesV3 ResolutionEntities = 10;
repeated OuterDocflow OuterDocflows = 12;
repeated OuterDocflowEntities OuterDocflowEntities = 13;
required DocflowStatusV3 DocflowStatus = 14;
optional TtGisFixationDocflow TtGisFixation = 15;
}
message SenderTitleDocflow
{
required bool IsFinished = 1;
required SignedAttachmentV3 Attachment = 2;
optional Timestamp SentAt = 3;
optional Timestamp DeliveredAt = 4;
optional RoamingNotification RoamingNotification = 5;
required Documents.SenderSignatureStatus SenderSignatureStatus = 6;
optional OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 7;
}
message ConfirmationDocflow
{
required bool IsFinished = 1;
optional SignedAttachmentV3 ConfirmationAttachment = 2;
optional Timestamp ConfirmedAt = 3;
optional ReceiptDocflowV3 Receipt = 4;
optional OperatorConfirmationDocflow RoamingConfirmation = 5;
}
message OperatorConfirmationDocflow
{
optional SignedAttachmentV3 ConfirmationAttachment = 1;
optional Timestamp ConfirmedAt = 2;
}
message SignatureRejectionDocflow
{
required SignedAttachmentV3 SignatureRejection = 1;
required bool IsFormal = 2;
optional Timestamp DeliveredAt = 3;
optional string PlainText = 4;
}
message ParticipantResponseDocflow
{
required bool IsFinished = 1;
optional SignatureV3 Signature = 2;
optional SignedAttachmentV3 Title = 3;
optional SignatureRejectionDocflow Rejection = 4;
optional Timestamp SentAt = 5;
optional Timestamp DeliveredAt = 6;
required Documents.RecipientResponseStatus ResponseStatus = 7;
optional ConfirmationDocflow Confirmation = 8;
}
message AmendmentRequestDocflow
{
required bool IsFinished = 1;
optional SignedAttachmentV3 AmendmentRequest = 2;
optional Timestamp SentAt = 3;
optional Timestamp DeliveredAt = 4;
optional ReceiptDocflowV3 Receipt = 5;
required int32 AmendmentFlags = 6;
optional string PlainText = 7;
optional ConfirmationDocflow ConfirmationDocflow = 8;
}
message RevocationDocflowV3
{
required bool IsFinished = 1;
required RevocationRequestDocflow RevocationRequest = 2;
optional RevocationResponseDocflow RevocationResponse = 3;
required string InitiatorBoxId = 4;
required Documents.RevocationStatus RevocationStatus = 5;
optional ResolutionEntitiesV3 ResolutionEntities = 6;
repeated OuterDocflowEntities OuterDocflowEntities = 7;
}
message RevocationRequestDocflow
{
required SignedAttachmentV3 RevocationRequest = 1;
optional Timestamp SentAt = 2;
optional Timestamp DeliveredAt = 3;
optional RoamingNotification RoamingNotification = 4;
optional string PlainText = 5;
}
message RevocationResponseDocflow
{
optional SignatureV3 RecipientSignature = 1;
optional SignatureRejectionDocflow SignatureRejection = 2;
}
message ReceiptDocflowV3
{
required bool IsFinished = 1;
optional SignedAttachmentV3 ReceiptAttachment = 2;
optional Timestamp SentAt = 3;
optional Timestamp DeliveredAt = 4;
optional ConfirmationDocflow Confirmation = 5;
required Documents.GeneralReceiptStatus Status = 6;
}
message OuterDocflow
{
required string DocflowNamedId = 1;
required string ParentEntityId = 2;
required string OuterDocflowEntityId = 3;
}
message OuterDocflowEntities
{
required string DocflowNamedId = 1;
required string DocflowFriendlyName = 2;
repeated StatusEntity StatusEntities = 3;
}
message StatusEntity
{
required SignedAttachmentV3 Attachment = 1;
required OuterDocflows.Status Status = 2;
}
message TtGisFixationDocflow
{
optional TtGisFixationCancellationStatus CancellationStatus = 1 [default = TtGisFixationCancellationStatusNone];
optional TtGisFixationCancellation Cancellation = 2;
}
message TtGisFixationCancellation
{
required Entity Entity = 1;
required SignatureV3 Signature = 2;
}