diff --git a/proto/spaces/spaces.proto b/proto/spaces/spaces.proto index 4a3410fad48ea8268f49b3fd966ed4714f4141b8..c0c1e6d2ea2ed9a8247bf4dbd7c6cc8433c359ac 100644 --- a/proto/spaces/spaces.proto +++ b/proto/spaces/spaces.proto @@ -124,6 +124,46 @@ message FindResponse { int32 total = 2; } +message EventAbortTransfer { + string id = 1; + string ord_id = 2; +} + +message EventCreate { + string id = 1; + string ord_id = 2; +} + +message EventDelete { + string id = 1; + string ord_id = 2; +} + +message EventMove { + string id = 1; + string ord_id = 2; +} + +message EventTransfer { + string id = 1; + string ord_id = 2; +} + +message EventUpdate { + string id = 1; + string ord_id = 2; +} + +message EventUpdateConfig { + string id = 1; + string ord_id = 2; +} + +message EventMigrate { + string id = 1; + string ord_id = 2; +} + service Spaces { rpc Create(CreateRequest) returns(CreateResponse) {} rpc Get(GetRequest) returns(GetResponse) {} diff --git a/proto/users/users.proto b/proto/users/users.proto index 94b7543231d5f5c43acf86862e5ca9b8bb67a367..4a5c38041e9438d7771f4ddefda5480c0d074248 100644 --- a/proto/users/users.proto +++ b/proto/users/users.proto @@ -73,6 +73,17 @@ message GetByIdentityResponse { User user = 1; } +message EventCreate { + string id = 1; +} + +message EventUpdate { + string id = 1; +} +message EventDelete { + string id = 1; +} + service Users { // Создание пользователя или регистрация текущего пользователя в системе, если create.id == `current` rpc Create(CreateRequest) returns(CreateResponse) {}