2022-09-05 05:27:52 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
option go_package = "git.coopgo.io/coopgo-platform/agenda/grpcapi";
|
|
|
|
|
|
|
|
import "google/protobuf/struct.proto";
|
|
|
|
import "google/protobuf/timestamp.proto";
|
|
|
|
|
|
|
|
message Event {
|
|
|
|
string id = 1;
|
|
|
|
string namespace = 2;
|
|
|
|
string type = 3;
|
|
|
|
repeated string owners = 4;
|
|
|
|
repeated string restricted_to = 5;
|
|
|
|
string name = 6;
|
|
|
|
string description = 7;
|
|
|
|
google.protobuf.Timestamp startdate = 8;
|
|
|
|
google.protobuf.Timestamp enddate = 9;
|
|
|
|
bool allday = 10;
|
|
|
|
string starttime = 11;
|
|
|
|
string endtime = 12;
|
|
|
|
int64 max_subscribers = 13;
|
2022-10-17 03:00:35 +00:00
|
|
|
repeated Subscription subscriptions = 14;
|
2023-02-15 09:14:06 +00:00
|
|
|
repeated Subscription deleted_subscription = 16;
|
2022-09-05 05:27:52 +00:00
|
|
|
google.protobuf.Struct data = 15;
|
2023-02-22 13:55:43 +00:00
|
|
|
bool deleted = 17;
|
2022-10-17 03:00:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message Subscription {
|
2022-12-05 16:21:12 +00:00
|
|
|
string id = 20;
|
2023-09-06 11:34:43 +00:00
|
|
|
string eventid = 21;
|
|
|
|
string subscriber = 22;
|
|
|
|
repeated string tags = 23;
|
|
|
|
google.protobuf.Struct data = 24;
|
|
|
|
google.protobuf.Timestamp created_at = 25;
|
2022-09-05 05:27:52 +00:00
|
|
|
}
|