Skip to content

Commit

Permalink
Merge pull request #274 from Rispele/add-MoveDocumentInfo
Browse files Browse the repository at this point in the history
Add move document info
  • Loading branch information
Rispele authored Nov 2, 2023
2 parents 8e37579 + cbaaa26 commit e8d8fc3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions proto/Events/DiadocMessage-GetApi.proto
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ message MessagePatch {
message Entity {
optional EntityType EntityType = 1 [default = UnknownEntityType];
required string EntityId = 2;
optional string AuthorUserId = 33;
optional string ParentEntityId = 3;
optional Content Content = 4; // null <=> there is no content for this entity (very unlikely to happen)
optional AttachmentType AttachmentType = 5 [default = UnknownAttachmentType]; // only for EntityType.Attachment
Expand Down Expand Up @@ -125,6 +126,7 @@ message Entity {
optional RevocationRequestInfo RevocationRequestInfo = 30;
optional string ContentTypeId = 31;
optional PowerOfAttorneyInfo PowerOfAttorneyInfo = 32;
optional MoveDocumentInfo MoveDocumentInfo = 34;
}

message EntityPatch {
Expand Down Expand Up @@ -160,6 +162,11 @@ message TemplateRefusalInfo
optional string Comment = 4;
}

message MoveDocumentInfo {
required string MovedFromDepartment = 1;
required string MovedToDepartment = 2;
}

enum TemplateRefusalType {
UnknownTemplateRefusalType = 0;
Refusal = 1;
Expand Down

0 comments on commit e8d8fc3

Please sign in to comment.