Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions proto/AcquireCounteragent.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import "DocumentId.proto";

package Diadoc.Api.Proto;

option java_outer_classname = "AcquireCounteragentProtos";

message AcquireCounteragentRequest {
optional string OrgId = 1;
optional string Inn = 2;
Expand Down
2 changes: 2 additions & 0 deletions proto/Address.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package Diadoc.Api.Proto;

option java_outer_classname = "AddressProtos";

message Address {
optional RussianAddress RussianAddress = 1;
optional ForeignAddress ForeignAddress = 2;
Expand Down
2 changes: 2 additions & 0 deletions proto/AsyncMethodResult.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package Diadoc.Api.Proto;

option java_outer_classname = "AsyncMethodResultProtos";

message AsyncMethodResult {
optional string TaskId = 1;
}
2 changes: 2 additions & 0 deletions proto/CertificateInfo.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package Diadoc.Api.Proto;

option java_outer_classname = "CertificateInfoProtos";

message CertificateInfo {
optional string Thumbprint = 1;
optional sfixed64 ValidFrom = 2;
Expand Down
2 changes: 2 additions & 0 deletions proto/Certificates/CertificateInfoV2.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package Diadoc.Api.Proto.Certificates;

option java_outer_classname = "CertificateInfoV2Protos";

message CertificateInfoV2 {
required string Thumbprint = 1;
required CertificateType Type = 2;
Expand Down
2 changes: 2 additions & 0 deletions proto/Certificates/CertificateList.proto
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import "Certificates/CertificateInfoV2.proto";
package Diadoc.Api.Proto.Certificates;

option java_outer_classname = "CertificateListProtos";

message CertificateList {
repeated CertificateInfoV2 Certificates = 1;
}
2 changes: 2 additions & 0 deletions proto/Certificates/CertificateVerification.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import "Certificates/CertificateInfoV2.proto";

package Diadoc.Api.Proto.Certificates;

option java_outer_classname = "CertificateVerificationRequestProtos";

message CertificateVerificationRequest {
required bytes CertificateContent = 1;
}
Expand Down
2 changes: 2 additions & 0 deletions proto/CloudSign.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import "Content_v2.proto";

package Diadoc.Api.Proto;

option java_outer_classname = "CloudSignProtos";

message CloudSignRequest {
repeated CloudSignFile Files = 1;
}
Expand Down
2 changes: 2 additions & 0 deletions proto/Content.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package Diadoc.Api.Proto;

option java_outer_classname = "ContentProtos";

message Content {
required sfixed32 Size = 1; // -1 if content size is unknown
optional bytes Data = 2; // null <=> entity content exists but is not included in proto buffer
Expand Down
2 changes: 2 additions & 0 deletions proto/Content_v2.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import "DocumentId.proto";

package Diadoc.Api.Proto;

option java_outer_classname = "Content_v2Protos";

message Content_v2 {
optional bytes Content = 1;
optional string NameOnShelf = 2;
Expand Down
2 changes: 2 additions & 0 deletions proto/Content_v3.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import "DocumentId.proto";

package Diadoc.Api.Proto;

option java_outer_classname = "Content_v3Protos";

message Content_v3 {
optional bytes Content = 1;
optional string NameOnShelf = 2;
Expand Down
2 changes: 2 additions & 0 deletions proto/Counteragent.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import "TotalCountType.proto";

package Diadoc.Api.Proto;

option java_outer_classname = "CounteragentProtos";

message CounteragentList {
required int32 TotalCount = 1;
repeated Counteragent Counteragents = 2;
Expand Down
2 changes: 2 additions & 0 deletions proto/CounteragentGroups/CounteragentFromGroupResponse.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package Diadoc.Api.Proto.CounteragentGroups;

option java_outer_classname = "CounteragentFromGroupResponseProtos";

message CounteragentFromGroupResponse {
repeated string CounteragentBoxId = 1;
required int32 TotalCount = 2;
Expand Down
2 changes: 2 additions & 0 deletions proto/CounteragentGroups/CounteragentGroup.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import "CounteragentGroups/DepartmentsInGroup.proto";

package Diadoc.Api.Proto.CounteragentGroups;

option java_outer_classname = "CounteragentGroupProtos";

message CounteragentGroup
{
required string CounteragentGroupId = 1;
Expand Down
2 changes: 2 additions & 0 deletions proto/CounteragentGroups/CounteragentGroupToCreate.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import "CounteragentGroups/DepartmentsInGroup.proto";

package Diadoc.Api.Proto.CounteragentGroups;

option java_outer_classname = "CounteragentGroupToCreateProtos";

message CounteragentGroupToCreate
{
required string Name = 1;
Expand Down
2 changes: 2 additions & 0 deletions proto/CounteragentGroups/CounteragentGroupToUpdate.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import "CounteragentGroups/DepartmentsInGroup.proto";

package Diadoc.Api.Proto.CounteragentGroups;

option java_outer_classname = "CounteragentGroupToUpdateProtos";

message CounteragentGroupToUpdate
{
optional string Name = 1;
Expand Down
2 changes: 2 additions & 0 deletions proto/CounteragentGroups/DepartmentsInGroup.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package Diadoc.Api.Proto.CounteragentGroups;

option java_outer_classname = "DepartmentsInGroupProtos";

message DepartmentsInGroup
{
repeated string DepartmentIds = 1;
Expand Down
2 changes: 2 additions & 0 deletions proto/CustomDataItem.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package Diadoc.Api.Proto;

option java_outer_classname = "CustomDataItemProtos";

message CustomDataItem {
required string Key = 1;
optional string Value = 2;
Expand Down
2 changes: 2 additions & 0 deletions proto/CustomPrintFormDetection.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import "DocumentId.proto";

package Diadoc.Api.Proto;

option java_outer_classname = "CustomPrintFormDetectionProtos";

message CustomPrintFormDetectionRequest
{
repeated DocumentId DocumentIds = 1;
Expand Down
2 changes: 2 additions & 0 deletions proto/Departments/Department.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import "Address.proto";
import "Timestamp.proto";
import "Departments/Routing.proto";

option java_outer_classname = "DepartmentProtos";

package Diadoc.Api.Proto.Departments;

message Department
Expand Down
2 changes: 2 additions & 0 deletions proto/Departments/DepartmentList.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import "Departments/Department.proto";

package Diadoc.Api.Proto.Departments;

option java_outer_classname = "DepartmentListProtos";

message DepartmentList
{
repeated Department Departments = 1;
Expand Down
2 changes: 2 additions & 0 deletions proto/Departments/DepartmentToCreate.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import "Departments/Routing.proto";

package Diadoc.Api.Proto.Departments;

option java_outer_classname = "DepartmentToCreateProtos";

message DepartmentToCreate
{
optional string ParentDepartmentId = 1;
Expand Down
4 changes: 3 additions & 1 deletion proto/Departments/DepartmentToUpdate.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ import "Address.proto";

package Diadoc.Api.Proto.Departments;

message DepartmentToUpdate
option java_outer_classname = "DepartmentToUpdateProtos";

message DepartmentToUpdate
{
optional ParentDepartmentPatch ParentDepartment=1;
optional DepartmentNamingPatch DepartmentNaming=2;
Expand Down
2 changes: 2 additions & 0 deletions proto/Departments/Routing.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package Diadoc.Api.Proto.Departments;

option java_outer_classname = "RoutingProtos";

message Routing
{
required bool Kpp = 1;
Expand Down
2 changes: 2 additions & 0 deletions proto/Docflow/Attachment.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import "Content.proto";
import "Timestamp.proto";
import "SignatureVerificationResult.proto";

option java_outer_classname = "AttachmentProtos";

package Diadoc.Api.Proto.Docflow;

message Entity
Expand Down
2 changes: 2 additions & 0 deletions proto/Docflow/AttachmentV3.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import "SignatureVerificationResult.proto";
import "Docflow/PowerOfAttorneyAttachmentStatus.proto";
import "Docflow/SignaturePowerOfAttorney.proto";

option java_outer_classname = "AttachmentV3Protos";

package Diadoc.Api.Proto.Docflow;

message SignatureV3
Expand Down
2 changes: 2 additions & 0 deletions proto/Docflow/BilateralDocflow.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import "Docflow/RecipientSignatureRejectionDocflow.proto";

package Diadoc.Api.Proto.Docflow;

option java_outer_classname = "BilateralDocflowProtos";

message BilateralDocflow
{
optional bool IsFinished = 1;
Expand Down
4 changes: 3 additions & 1 deletion proto/Docflow/Docflow.proto
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import "Docflow/RoamingNotification.proto";

package Diadoc.Api.Proto.Docflow;

option java_outer_classname = "DocflowApiProtos";

message Docflow
{
optional bool IsFinished = 1;
Expand Down Expand Up @@ -39,7 +41,7 @@ message Docflow

optional InboundUniversalTransferDocumentDocflow InboundUniversalTransferDocumentDocflow = 18; // for UniversalTransferDocument, UniversalTransferDocumentRevision, UniversalCorrectionDocument
optional OutboundUniversalTransferDocumentDocflow OutboundUniversalTransferDocumentDocflow = 19; // for UniversalTransferDocument, UniversalTransferDocumentRevision, UniversalCorrectionDocument

optional RoamingNotification RoamingNotification = 20;
}

Expand Down
2 changes: 2 additions & 0 deletions proto/Docflow/DocflowApi.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import "Docflow/DocumentWithDocflow.proto";

package Diadoc.Api.Proto.Docflow;

option java_outer_classname = "DocflowApiProtos";

message GetDocflowBatchRequest
{
repeated GetDocflowRequest Requests = 1;
Expand Down
2 changes: 2 additions & 0 deletions proto/Docflow/DocflowApiV3.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import "Docflow/DocumentWithDocflowV3.proto";

package Diadoc.Api.Proto.Docflow;

option java_outer_classname = "DocflowApiV3Protos";

message GetDocflowBatchResponseV3
{
repeated DocumentWithDocflowV3 Documents = 1;
Expand Down
2 changes: 2 additions & 0 deletions proto/Docflow/DocflowV3.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import "DocflowStatusV3.proto";

package Diadoc.Api.Proto.Docflow;

option java_outer_classname = "DocflowV3Protos";

message DocflowV3
{
required SenderTitleDocflow SenderTitle = 1;
Expand Down
2 changes: 2 additions & 0 deletions proto/Docflow/DocumentInfo.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import "Invoicing/UniversalTransferDocumentInfo.proto";

package Diadoc.Api.Proto.Docflow;

option java_outer_classname = "DocumentInfoProtos";

message DocumentInfo
{
optional DocumentType DocumentType = 1 [default = UnknownDocumentType];
Expand Down
2 changes: 2 additions & 0 deletions proto/Docflow/DocumentInfoV3.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import "CustomDataItem.proto";

package Diadoc.Api.Proto.Docflow;

option java_outer_classname = "DocumentInfoV3Protos";

message DocumentInfoV3
{
required FullVersion FullVersion = 1;
Expand Down
2 changes: 2 additions & 0 deletions proto/Docflow/DocumentWithDocflow.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import "Docflow/DocumentInfo.proto";

package Diadoc.Api.Proto.Docflow;

option java_outer_classname = "DocumentWithDocflowProtos";

message DocumentWithDocflow
{
optional DocumentId DocumentId = 1;
Expand Down
2 changes: 2 additions & 0 deletions proto/Docflow/DocumentWithDocflowV3.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import "Docflow/DocflowV3.proto";

package Diadoc.Api.Proto.Docflow;

option java_outer_classname = "DocumentWithDocflowV3Protos";

message DocumentWithDocflowV3
{
required DocumentId DocumentId = 1;
Expand Down
2 changes: 2 additions & 0 deletions proto/Docflow/InvoiceDocflow.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import "Docflow/ReceiptDocflow.proto";

package Diadoc.Api.Proto.Docflow;

option java_outer_classname = "InvoiceDocflowProtos";

message InboundInvoiceDocflow
{
optional bool IsFinished = 1;
Expand Down
2 changes: 2 additions & 0 deletions proto/Docflow/PowerOfAttorneyAttachmentStatus.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package Diadoc.Api.Proto.Docflow;

option java_outer_classname = "PowerOfAttorneyAttachmentStatusProtos";

message PowerOfAttorneyAttachmentStatus {
required StatusName StatusName = 1 [default = Unknown];
optional string Comment = 2;
Expand Down
2 changes: 2 additions & 0 deletions proto/Docflow/ReceiptDocflow.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import "Docflow/Attachment.proto";

package Diadoc.Api.Proto.Docflow;

option java_outer_classname = "ReceiptDocflowProtos";

message ReceiptDocflow
{
optional bool IsFinished = 1;
Expand Down
2 changes: 2 additions & 0 deletions proto/Docflow/RecipientSignatureDocflow.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import "Docflow/Attachment.proto";

package Diadoc.Api.Proto.Docflow;

option java_outer_classname = "RecipientSignatureDocflowProtos";

message RecipientSignatureDocflow
{
optional bool IsFinished = 1;
Expand Down
2 changes: 2 additions & 0 deletions proto/Docflow/RecipientSignatureRejectionDocflow.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import "Docflow/Attachment.proto";

package Diadoc.Api.Proto.Docflow;

option java_outer_classname = "RecipientSignatureRejectionDocflowProtos";

message RecipientSignatureRejectionDocflow
{
optional bool IsFinished = 1;
Expand Down
2 changes: 2 additions & 0 deletions proto/Docflow/ResolutionDocflow.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import "Docflow/Attachment.proto";

package Diadoc.Api.Proto.Docflow;

option java_outer_classname = "ResolutionDocflowProtos";

message ResolutionDocflow
{
}
4 changes: 3 additions & 1 deletion proto/Docflow/ResolutionDocflowV3.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import "Docflow/AttachmentV3.proto";

package Diadoc.Api.Proto.Docflow;

option java_outer_classname = "ResolutionDocflowV3Protos";

message ResolutionDocflowV3
{
required bool IsFinished = 1;
Expand All @@ -31,7 +33,7 @@ enum ResolutionStatus
SignatureRequestRejected = 7;
SignedWithApprovingSignature = 8;
SignedWithPrimarySignature = 9;
PrimarySignatureRejected = 10;
PrimarySignatureRejected = 10;
ActionsRequested = 11;
}

Expand Down
Loading