protobuf-platform 1.0.155 → 1.0.157
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/game/game.proto +21 -1
- package/game/game_grpc_pb.js +33 -0
- package/game/game_pb.js +1049 -129
- package/package.json +1 -1
package/game/game.proto
CHANGED
@@ -45,6 +45,8 @@ service Game {
|
|
45
45
|
rpc searchGamesByTags(SearchGamesIntoTagsRequest) returns (GameItemsResponse);
|
46
46
|
rpc initGameSession(InitGameSessionRequest) returns (InitGameSessionResponse);
|
47
47
|
rpc initDemoGameSession(InitDemoGameSessionRequest) returns (InitGameSessionResponse);
|
48
|
+
rpc getCollectionsByGeo(GameRelationsRequest) returns (GameRelationsRequest);
|
49
|
+
rpc getTagsByGeo(GameRelationsRequest) returns (GameRelationsRequest);
|
48
50
|
//Vendor
|
49
51
|
rpc processedVendorActionCallback(VendorActionRequest) returns (VendorActionResponse);
|
50
52
|
rpc getIntegratorSettings(IntegratorSettingsRequest) returns (IntegratorSettingsResponse);
|
@@ -341,6 +343,24 @@ message GetGameRequest {
|
|
341
343
|
int32 id = 1;
|
342
344
|
optional int32 admin_side = 2;
|
343
345
|
}
|
346
|
+
message GameRelationsRequest {
|
347
|
+
int32 game_id = 1;
|
348
|
+
string instance_type = 2;
|
349
|
+
}
|
350
|
+
message GameRelationsResponse {
|
351
|
+
repeated GameRelationItem items = 1;
|
352
|
+
}
|
353
|
+
message GameRelationItem {
|
354
|
+
optional int32 id = 1;
|
355
|
+
optional string type = 2;
|
356
|
+
optional string title = 3;
|
357
|
+
optional string image = 4;
|
358
|
+
repeated GameGeo game_geo = 5;
|
359
|
+
}
|
360
|
+
message GameGeo {
|
361
|
+
string geo = 1;
|
362
|
+
int32 geo_id = 2;
|
363
|
+
}
|
344
364
|
//Game CRUD | Responses
|
345
365
|
message GameResponse {
|
346
366
|
GameItem data = 1;
|
@@ -477,7 +497,7 @@ message WagerListRequest {
|
|
477
497
|
optional int32 id = 1;
|
478
498
|
optional string title = 2;
|
479
499
|
optional string description = 3;
|
480
|
-
optional
|
500
|
+
optional int32 is_active = 4;
|
481
501
|
optional float contribution = 5;
|
482
502
|
}
|
483
503
|
message WagerListGamesRequest {
|
package/game/game_grpc_pb.js
CHANGED
@@ -202,6 +202,17 @@ function deserialize_game_GamePoorItemsResponse(buffer_arg) {
|
|
202
202
|
return game_pb.GamePoorItemsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
203
203
|
}
|
204
204
|
|
205
|
+
function serialize_game_GameRelationsRequest(arg) {
|
206
|
+
if (!(arg instanceof game_pb.GameRelationsRequest)) {
|
207
|
+
throw new Error('Expected argument of type game.GameRelationsRequest');
|
208
|
+
}
|
209
|
+
return Buffer.from(arg.serializeBinary());
|
210
|
+
}
|
211
|
+
|
212
|
+
function deserialize_game_GameRelationsRequest(buffer_arg) {
|
213
|
+
return game_pb.GameRelationsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
214
|
+
}
|
215
|
+
|
205
216
|
function serialize_game_GameRequest(arg) {
|
206
217
|
if (!(arg instanceof game_pb.GameRequest)) {
|
207
218
|
throw new Error('Expected argument of type game.GameRequest');
|
@@ -1100,6 +1111,28 @@ parseGames: {
|
|
1100
1111
|
responseSerialize: serialize_game_InitGameSessionResponse,
|
1101
1112
|
responseDeserialize: deserialize_game_InitGameSessionResponse,
|
1102
1113
|
},
|
1114
|
+
getCollectionsByGeo: {
|
1115
|
+
path: '/game.Game/getCollectionsByGeo',
|
1116
|
+
requestStream: false,
|
1117
|
+
responseStream: false,
|
1118
|
+
requestType: game_pb.GameRelationsRequest,
|
1119
|
+
responseType: game_pb.GameRelationsRequest,
|
1120
|
+
requestSerialize: serialize_game_GameRelationsRequest,
|
1121
|
+
requestDeserialize: deserialize_game_GameRelationsRequest,
|
1122
|
+
responseSerialize: serialize_game_GameRelationsRequest,
|
1123
|
+
responseDeserialize: deserialize_game_GameRelationsRequest,
|
1124
|
+
},
|
1125
|
+
getTagsByGeo: {
|
1126
|
+
path: '/game.Game/getTagsByGeo',
|
1127
|
+
requestStream: false,
|
1128
|
+
responseStream: false,
|
1129
|
+
requestType: game_pb.GameRelationsRequest,
|
1130
|
+
responseType: game_pb.GameRelationsRequest,
|
1131
|
+
requestSerialize: serialize_game_GameRelationsRequest,
|
1132
|
+
requestDeserialize: deserialize_game_GameRelationsRequest,
|
1133
|
+
responseSerialize: serialize_game_GameRelationsRequest,
|
1134
|
+
responseDeserialize: deserialize_game_GameRelationsRequest,
|
1135
|
+
},
|
1103
1136
|
// Vendor
|
1104
1137
|
processedVendorActionCallback: {
|
1105
1138
|
path: '/game.Game/processedVendorActionCallback',
|