protobuf-platform 1.2.577 → 1.2.579
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 +29 -0
- package/game/game_grpc_pb.js +34 -0
- package/game/game_pb.js +1350 -0
- package/notification/notification.proto +5 -0
- package/notification/notification_grpc_pb.js +22 -0
- package/notification/notification_pb.js +210 -0
- 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);
|
|
@@ -1214,4 +1216,31 @@ message TagSnapshotItem {
|
|
|
1214
1216
|
}
|
|
1215
1217
|
message TagSnapshotItemsResponse {
|
|
1216
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;
|
|
1217
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',
|