protobuf-platform 1.2.461 → 1.2.464
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/bet/bet.proto +85 -2
- package/bet/bet_pb.js +8351 -4755
- package/game/game.proto +15 -0
- package/game/game_grpc_pb.js +34 -0
- package/game/game_pb.js +684 -0
- package/package.json +1 -1
package/game/game.proto
CHANGED
|
@@ -93,6 +93,8 @@ service Game {
|
|
|
93
93
|
rpc getCounterScopes(ScopeRequest) returns (ScopeResponse);
|
|
94
94
|
rpc getProvidersByIds(ProvidersIds) returns (ProviderPoorItemsResponse);
|
|
95
95
|
rpc getProvidersBySlugs(ProvidersSlugs) returns (ProviderItemsResponse);
|
|
96
|
+
// Lightweight UUID lookup for cross-service bet history filtering.
|
|
97
|
+
rpc resolveGameUuidsForBetHistoryFilter(ResolveGameUuidsForBetHistoryFilterRequest) returns (ResolveGameUuidsForBetHistoryFilterResponse);
|
|
96
98
|
//Wager lists
|
|
97
99
|
rpc readSingleWagerList(GetWagerListRequest) returns (WagerListResponse);
|
|
98
100
|
rpc createSingleWagerList(WagerListRequest) returns (WagerListResponse);
|
|
@@ -826,6 +828,19 @@ message ProvidersSlugs {
|
|
|
826
828
|
message ProviderPoorItemsResponse {
|
|
827
829
|
repeated ProviderItem items = 1;
|
|
828
830
|
}
|
|
831
|
+
message ResolveGameUuidsForBetHistoryFilterRequest {
|
|
832
|
+
optional int32 game_id = 1;
|
|
833
|
+
optional string game_title = 2; // Trimmed substring match.
|
|
834
|
+
optional string game_provider = 3; // Provider display title, not slug.
|
|
835
|
+
optional string provider_slug = 4; // Exact provider slug match.
|
|
836
|
+
optional bool admin_side = 5; // Skip catalog visibility exclusions when true.
|
|
837
|
+
optional int32 max_uuids = 6; // Safety cap; game-service enforces a default if unset.
|
|
838
|
+
}
|
|
839
|
+
message ResolveGameUuidsForBetHistoryFilterResponse {
|
|
840
|
+
repeated string game_uuids = 1;
|
|
841
|
+
optional int32 total_items = 2; // Total matches before max_uuids cap.
|
|
842
|
+
optional bool truncated = 3; // True when total_items exceeds max_uuids.
|
|
843
|
+
}
|
|
829
844
|
//Free Spins
|
|
830
845
|
message FreeSpinSettingsItem {
|
|
831
846
|
float spin_amount = 1;
|
package/game/game_grpc_pb.js
CHANGED
|
@@ -917,6 +917,28 @@ function deserialize_game_ProvidersSlugs(buffer_arg) {
|
|
|
917
917
|
return game_pb.ProvidersSlugs.deserializeBinary(new Uint8Array(buffer_arg));
|
|
918
918
|
}
|
|
919
919
|
|
|
920
|
+
function serialize_game_ResolveGameUuidsForBetHistoryFilterRequest(arg) {
|
|
921
|
+
if (!(arg instanceof game_pb.ResolveGameUuidsForBetHistoryFilterRequest)) {
|
|
922
|
+
throw new Error('Expected argument of type game.ResolveGameUuidsForBetHistoryFilterRequest');
|
|
923
|
+
}
|
|
924
|
+
return Buffer.from(arg.serializeBinary());
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
function deserialize_game_ResolveGameUuidsForBetHistoryFilterRequest(buffer_arg) {
|
|
928
|
+
return game_pb.ResolveGameUuidsForBetHistoryFilterRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
function serialize_game_ResolveGameUuidsForBetHistoryFilterResponse(arg) {
|
|
932
|
+
if (!(arg instanceof game_pb.ResolveGameUuidsForBetHistoryFilterResponse)) {
|
|
933
|
+
throw new Error('Expected argument of type game.ResolveGameUuidsForBetHistoryFilterResponse');
|
|
934
|
+
}
|
|
935
|
+
return Buffer.from(arg.serializeBinary());
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
function deserialize_game_ResolveGameUuidsForBetHistoryFilterResponse(buffer_arg) {
|
|
939
|
+
return game_pb.ResolveGameUuidsForBetHistoryFilterResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
940
|
+
}
|
|
941
|
+
|
|
920
942
|
function serialize_game_SEOInstanceRequest(arg) {
|
|
921
943
|
if (!(arg instanceof game_pb.SEOInstanceRequest)) {
|
|
922
944
|
throw new Error('Expected argument of type game.SEOInstanceRequest');
|
|
@@ -2151,6 +2173,18 @@ getGamesByUuids: {
|
|
|
2151
2173
|
responseSerialize: serialize_game_ProviderItemsResponse,
|
|
2152
2174
|
responseDeserialize: deserialize_game_ProviderItemsResponse,
|
|
2153
2175
|
},
|
|
2176
|
+
// Lightweight UUID lookup for cross-service bet history filtering.
|
|
2177
|
+
resolveGameUuidsForBetHistoryFilter: {
|
|
2178
|
+
path: '/game.Game/resolveGameUuidsForBetHistoryFilter',
|
|
2179
|
+
requestStream: false,
|
|
2180
|
+
responseStream: false,
|
|
2181
|
+
requestType: game_pb.ResolveGameUuidsForBetHistoryFilterRequest,
|
|
2182
|
+
responseType: game_pb.ResolveGameUuidsForBetHistoryFilterResponse,
|
|
2183
|
+
requestSerialize: serialize_game_ResolveGameUuidsForBetHistoryFilterRequest,
|
|
2184
|
+
requestDeserialize: deserialize_game_ResolveGameUuidsForBetHistoryFilterRequest,
|
|
2185
|
+
responseSerialize: serialize_game_ResolveGameUuidsForBetHistoryFilterResponse,
|
|
2186
|
+
responseDeserialize: deserialize_game_ResolveGameUuidsForBetHistoryFilterResponse,
|
|
2187
|
+
},
|
|
2154
2188
|
// Wager lists
|
|
2155
2189
|
readSingleWagerList: {
|
|
2156
2190
|
path: '/game.Game/readSingleWagerList',
|