protobuf-platform 1.2.575 → 1.2.578
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 +33 -0
- package/game/game_grpc_pb.js +34 -0
- package/game/game_pb.js +1554 -8
- package/package.json +1 -1
package/game/game.proto
CHANGED
|
@@ -104,6 +104,8 @@ service Game {
|
|
|
104
104
|
rpc getProvidersBySlugs(ProvidersSlugs) returns (ProviderItemsResponse);
|
|
105
105
|
// Lightweight UUID lookup for cross-service bet history filtering.
|
|
106
106
|
rpc resolveGameUuidsForBetHistoryFilter(ResolveGameUuidsForBetHistoryFilterRequest) returns (ResolveGameUuidsForBetHistoryFilterResponse);
|
|
107
|
+
/** Lightweight batch read for Category → Collections hierarchy enrichment. */
|
|
108
|
+
rpc getCategoryHierarchyByIds(CategoryHierarchyRequest) returns (CategoryHierarchyResponse);
|
|
107
109
|
//Wager lists
|
|
108
110
|
rpc readSingleWagerList(GetWagerListRequest) returns (WagerListResponse);
|
|
109
111
|
rpc createSingleWagerList(WagerListRequest) returns (WagerListResponse);
|
|
@@ -229,12 +231,14 @@ message ProviderSearchRequest {
|
|
|
229
231
|
optional string geo = 3;
|
|
230
232
|
repeated int32 ids = 4;
|
|
231
233
|
optional string locale = 5;
|
|
234
|
+
repeated string slugs = 6;
|
|
232
235
|
}
|
|
233
236
|
message CategorySearchRequest {
|
|
234
237
|
optional string category_title = 1;
|
|
235
238
|
optional int32 is_active = 2;
|
|
236
239
|
repeated int32 ids = 3;
|
|
237
240
|
optional string locale = 4;
|
|
241
|
+
repeated string slugs = 5;
|
|
238
242
|
}
|
|
239
243
|
message CollectionSearchRequest {
|
|
240
244
|
optional string collection_title = 1;
|
|
@@ -242,12 +246,14 @@ message CollectionSearchRequest {
|
|
|
242
246
|
repeated int32 category_ids = 3;
|
|
243
247
|
repeated int32 ids = 4;
|
|
244
248
|
optional string locale = 5;
|
|
249
|
+
repeated string slugs = 6;
|
|
245
250
|
}
|
|
246
251
|
message TagSearchRequest {
|
|
247
252
|
optional string tag_title = 1;
|
|
248
253
|
optional int32 is_active = 2;
|
|
249
254
|
repeated int32 ids = 3;
|
|
250
255
|
optional string locale = 4;
|
|
256
|
+
repeated string slugs = 5;
|
|
251
257
|
}
|
|
252
258
|
message ItemsBunchRequest {
|
|
253
259
|
repeated int32 ids = 1;
|
|
@@ -1210,4 +1216,31 @@ message TagSnapshotItem {
|
|
|
1210
1216
|
}
|
|
1211
1217
|
message TagSnapshotItemsResponse {
|
|
1212
1218
|
repeated TagSnapshotItem items = 1;
|
|
1219
|
+
}
|
|
1220
|
+
/** Lightweight batch read for Category → Collections hierarchy enrichment. */
|
|
1221
|
+
message CategoryHierarchyRequest {
|
|
1222
|
+
repeated int32 ids = 1;
|
|
1223
|
+
optional string locale = 2;
|
|
1224
|
+
}
|
|
1225
|
+
message CategoryHierarchyCollectionItem {
|
|
1226
|
+
int32 id = 1;
|
|
1227
|
+
optional string title = 2;
|
|
1228
|
+
optional string slug = 3;
|
|
1229
|
+
optional string image = 4;
|
|
1230
|
+
optional string image_cdn = 5;
|
|
1231
|
+
optional string icon = 6;
|
|
1232
|
+
optional string icon_cdn = 7;
|
|
1233
|
+
}
|
|
1234
|
+
message CategoryHierarchyItem {
|
|
1235
|
+
int32 id = 1;
|
|
1236
|
+
optional string title = 2;
|
|
1237
|
+
optional string slug = 3;
|
|
1238
|
+
optional string image = 4;
|
|
1239
|
+
optional string image_cdn = 5;
|
|
1240
|
+
optional string icon = 6;
|
|
1241
|
+
optional string icon_cdn = 7;
|
|
1242
|
+
repeated CategoryHierarchyCollectionItem collections = 8;
|
|
1243
|
+
}
|
|
1244
|
+
message CategoryHierarchyResponse {
|
|
1245
|
+
repeated CategoryHierarchyItem items = 1;
|
|
1213
1246
|
}
|
package/game/game_grpc_pb.js
CHANGED
|
@@ -92,6 +92,28 @@ function deserialize_game_CashBackTypesGamesResponse(buffer_arg) {
|
|
|
92
92
|
return game_pb.CashBackTypesGamesResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
+
function serialize_game_CategoryHierarchyRequest(arg) {
|
|
96
|
+
if (!(arg instanceof game_pb.CategoryHierarchyRequest)) {
|
|
97
|
+
throw new Error('Expected argument of type game.CategoryHierarchyRequest');
|
|
98
|
+
}
|
|
99
|
+
return Buffer.from(arg.serializeBinary());
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
function deserialize_game_CategoryHierarchyRequest(buffer_arg) {
|
|
103
|
+
return game_pb.CategoryHierarchyRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
function serialize_game_CategoryHierarchyResponse(arg) {
|
|
107
|
+
if (!(arg instanceof game_pb.CategoryHierarchyResponse)) {
|
|
108
|
+
throw new Error('Expected argument of type game.CategoryHierarchyResponse');
|
|
109
|
+
}
|
|
110
|
+
return Buffer.from(arg.serializeBinary());
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
function deserialize_game_CategoryHierarchyResponse(buffer_arg) {
|
|
114
|
+
return game_pb.CategoryHierarchyResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
115
|
+
}
|
|
116
|
+
|
|
95
117
|
function serialize_game_CategoryItemsResponse(arg) {
|
|
96
118
|
if (!(arg instanceof game_pb.CategoryItemsResponse)) {
|
|
97
119
|
throw new Error('Expected argument of type game.CategoryItemsResponse');
|
|
@@ -2339,6 +2361,18 @@ resolveGameUuidsForBetHistoryFilter: {
|
|
|
2339
2361
|
responseSerialize: serialize_game_ResolveGameUuidsForBetHistoryFilterResponse,
|
|
2340
2362
|
responseDeserialize: deserialize_game_ResolveGameUuidsForBetHistoryFilterResponse,
|
|
2341
2363
|
},
|
|
2364
|
+
// * Lightweight batch read for Category → Collections hierarchy enrichment.
|
|
2365
|
+
getCategoryHierarchyByIds: {
|
|
2366
|
+
path: '/game.Game/getCategoryHierarchyByIds',
|
|
2367
|
+
requestStream: false,
|
|
2368
|
+
responseStream: false,
|
|
2369
|
+
requestType: game_pb.CategoryHierarchyRequest,
|
|
2370
|
+
responseType: game_pb.CategoryHierarchyResponse,
|
|
2371
|
+
requestSerialize: serialize_game_CategoryHierarchyRequest,
|
|
2372
|
+
requestDeserialize: deserialize_game_CategoryHierarchyRequest,
|
|
2373
|
+
responseSerialize: serialize_game_CategoryHierarchyResponse,
|
|
2374
|
+
responseDeserialize: deserialize_game_CategoryHierarchyResponse,
|
|
2375
|
+
},
|
|
2342
2376
|
// Wager lists
|
|
2343
2377
|
readSingleWagerList: {
|
|
2344
2378
|
path: '/game.Game/readSingleWagerList',
|