Skip to content

Commit

Permalink
Merge pull request #305 from diadoc/ddcore-8695-add-event-types-to-bo…
Browse files Browse the repository at this point in the history
…x-counteragent-event-java-sdk

DDCORE-8695: Add EventTypes to BoxCounteragentEvent
  • Loading branch information
AsakyraZ authored Sep 17, 2024
2 parents 3adee10 + dcf6d64 commit 049e9a7
Show file tree
Hide file tree
Showing 4 changed files with 465 additions and 18 deletions.
20 changes: 20 additions & 0 deletions proto/Events/CounteragentEventType.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package Diadoc.Api.Proto.Events;

enum CounteragentEventType
{
UnknownCounteragentEventType = 0;
IInvitedCounteragent = 1;
CounteragentInvitedMe = 2;
CounteragentAcceptedInvitation = 3;
IAcceptedInvitation = 4;
IWithdrewInvitation = 5;
CounteragentWithdrewInvitation = 6;
IRejectedInvitation = 7;
CounteragentRejectedInvitation = 8;
IBrokeUpWithCounteragent = 9;
CounteragentBrokeUpWithMe = 10;
IForgotCounteragent = 11;
CounteragentForgotMe = 12;
IMadeCounteragent = 13;
CounteragentMadeMe = 14;
}
2 changes: 2 additions & 0 deletions proto/Events/DiadocCounteragent-GetApi.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import "Counteragent.proto";
import "TotalCountType.proto";
import "DocumentId.proto";
import "Events/CounteragentEventType.proto";

package Diadoc.Api.Proto.Events;

Expand All @@ -18,6 +19,7 @@ message BoxCounteragentEvent {
required string EventId = 1;
optional CounteragentInfo Counteragent = 2;
optional string IndexKey = 3;
repeated CounteragentEventType EventTypes = 4;
}

message CounteragentInfo {
Expand Down
249 changes: 249 additions & 0 deletions src/main/java/Diadoc/Api/Proto/Events/CounteragentEventTypeProtos.java

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 049e9a7

Please sign in to comment.