-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #123 from diadoc/get-document-workflows
Get document workflows
- Loading branch information
Showing
34 changed files
with
4,308 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package Diadoc.Api.Proto.Workflows.AmendmentRequestResponseBehavior; | ||
|
||
enum AmendmentRequestResponseBehavior | ||
{ | ||
Unknown = 0; | ||
None = 1; | ||
Receipt = 2; | ||
OperatorConfirmation = 3; | ||
OperatorConfirmationOrReceipt = 4; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import "Workflows/ParticipantType.proto"; | ||
import "Workflows/ParticipantAction.proto"; | ||
import "Workflows/TitleReceiptBehavior.proto"; | ||
import "Workflows/OperatorConfirmationBehavior.proto"; | ||
import "Workflows/OperatorConfirmationReceiptBehavior.proto"; | ||
import "Workflows/ReceiptOperatorConfirmationReceiptBehavior.proto"; | ||
import "Workflows/AmendmentRequestResponseBehavior.proto"; | ||
import "Workflows/InvitationBehavior.proto"; | ||
import "Workflows/RoamingConfirmationBehavior.proto"; | ||
|
||
package Diadoc.Api.Proto.Workflows; | ||
|
||
message DocumentWorkflowSettingsList { | ||
repeated DocumentWorkflowSettings DocumentWorkflowSettings = 1; | ||
} | ||
|
||
message DocumentWorkflowSettings { | ||
required int32 Id = 1; | ||
repeated ParticipantSetting Participants = 2; | ||
optional OperatorConfirmationReceiptBehavior.OperatorConfirmationReceiptBehavior OperatorConfirmationReceiptBehavior = 3 [default = Unknown]; | ||
optional ReceiptOperatorConfirmationReceiptBehavior.ReceiptOperatorConfirmationReceiptBehavior ReceiptOperatorConfirmationReceiptBehavior = 4 [default = Unknown]; | ||
optional OperatorConfirmationBehavior.OperatorConfirmationBehavior ReceiptOperatorConfirmationBehavior = 5 [default = Unknown]; | ||
optional AmendmentRequestResponseBehavior.AmendmentRequestResponseBehavior AmendmentRequestResponseBehavior = 6 [default = Unknown]; | ||
optional OperatorConfirmationBehavior.OperatorConfirmationBehavior AmendmentRequestOperatorConfirmationBehavior = 7 [default = Unknown]; | ||
optional RoamingConfirmationBehavior.RoamingConfirmationBehavior ReceiptRoamingConfirmationBehavior = 8 [default = Unknown]; | ||
optional RoamingConfirmationBehavior.RoamingConfirmationBehavior AmendmentRequestRoamingConfirmationBehavior = 9 [default = Unknown]; | ||
optional InvitationBehavior.InvitationBehavior InvitationBehavior = 10 [default = Unknown]; | ||
} | ||
|
||
message ParticipantSetting { | ||
optional ParticipantType.ParticipantType Participant = 1 [default = Unknown]; | ||
optional ParticipantAction.ParticipantAction ParticipantAction = 2 [default = Unknown]; | ||
optional TitleReceiptBehavior.TitleReceiptBehavior TitleReceiptBehavior = 3 [default = Unknown]; | ||
optional OperatorConfirmationBehavior.OperatorConfirmationBehavior OperatorConfirmationBehavior = 4 [default = Unknown]; | ||
optional RoamingConfirmationBehavior.RoamingConfirmationBehavior RoamingConfirmationBehavior = 5 [default = Unknown]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package Diadoc.Api.Proto.Workflows.InvitationBehavior; | ||
|
||
enum InvitationBehavior | ||
{ | ||
Unknown = 0; | ||
Never = 1; | ||
DefineByUser = 2; | ||
Always = 3; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package Diadoc.Api.Proto.Workflows.OperatorConfirmationBehavior; | ||
|
||
enum OperatorConfirmationBehavior | ||
{ | ||
Unknown = 0; | ||
Never = 1; | ||
Initiator = 2; | ||
InitiatorCounterpart = 3; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package Diadoc.Api.Proto.Workflows.OperatorConfirmationReceiptBehavior; | ||
|
||
enum OperatorConfirmationReceiptBehavior | ||
{ | ||
Unknown = 0; | ||
Never = 1; | ||
Always = 2; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package Diadoc.Api.Proto.Workflows.ParticipantAction; | ||
|
||
enum ParticipantAction | ||
{ | ||
Unknown = 0; | ||
Title = 1; | ||
Signature = 2; | ||
OptionalSignature = 3; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package Diadoc.Api.Proto.Workflows.ParticipantType; | ||
|
||
enum ParticipantType | ||
{ | ||
Unknown = 0; | ||
Sender = 1; | ||
Proxy = 2; | ||
Recipient = 3; | ||
} |
8 changes: 8 additions & 0 deletions
8
proto/Workflows/ReceiptOperatorConfirmationReceiptBehavior.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package Diadoc.Api.Proto.Workflows.ReceiptOperatorConfirmationReceiptBehavior; | ||
|
||
enum ReceiptOperatorConfirmationReceiptBehavior | ||
{ | ||
Unknown = 0; | ||
Never = 1; | ||
Always = 2; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package Diadoc.Api.Proto.Workflows.RoamingConfirmationBehavior; | ||
|
||
enum RoamingConfirmationBehavior | ||
{ | ||
Unknown = 0; | ||
Never = 1; | ||
Always = 2; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package Diadoc.Api.Proto.Workflows.TitleReceiptBehavior; | ||
|
||
enum TitleReceiptBehavior | ||
{ | ||
Unknown = 0; | ||
Never = 1; | ||
DefineByUser = 2; | ||
Always = 3; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
109 changes: 109 additions & 0 deletions
109
src/protos/Workflows/AmendmentRequestResponseBehavior.pb.cc
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
95 changes: 95 additions & 0 deletions
95
src/protos/Workflows/AmendmentRequestResponseBehavior.pb.h
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.