protobuf-platform 1.2.28 → 1.2.30
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/config/config.proto +14 -0
- package/config/config_grpc_pb.js +34 -0
- package/config/config_pb.js +582 -0
- package/game/game.proto +18 -0
- package/game/game_grpc_pb.js +59 -2
- package/game/game_pb.js +616 -0
- package/package.json +1 -1
package/game/game_grpc_pb.js
CHANGED
@@ -367,6 +367,39 @@ function deserialize_game_GamesUuids(buffer_arg) {
|
|
367
367
|
return game_pb.GamesUuids.deserializeBinary(new Uint8Array(buffer_arg));
|
368
368
|
}
|
369
369
|
|
370
|
+
function serialize_game_GeoRestrictionRequest(arg) {
|
371
|
+
if (!(arg instanceof game_pb.GeoRestrictionRequest)) {
|
372
|
+
throw new Error('Expected argument of type game.GeoRestrictionRequest');
|
373
|
+
}
|
374
|
+
return Buffer.from(arg.serializeBinary());
|
375
|
+
}
|
376
|
+
|
377
|
+
function deserialize_game_GeoRestrictionRequest(buffer_arg) {
|
378
|
+
return game_pb.GeoRestrictionRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
379
|
+
}
|
380
|
+
|
381
|
+
function serialize_game_GeoRestrictionResponse(arg) {
|
382
|
+
if (!(arg instanceof game_pb.GeoRestrictionResponse)) {
|
383
|
+
throw new Error('Expected argument of type game.GeoRestrictionResponse');
|
384
|
+
}
|
385
|
+
return Buffer.from(arg.serializeBinary());
|
386
|
+
}
|
387
|
+
|
388
|
+
function deserialize_game_GeoRestrictionResponse(buffer_arg) {
|
389
|
+
return game_pb.GeoRestrictionResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
390
|
+
}
|
391
|
+
|
392
|
+
function serialize_game_GeoRestrictionStatusResponse(arg) {
|
393
|
+
if (!(arg instanceof game_pb.GeoRestrictionStatusResponse)) {
|
394
|
+
throw new Error('Expected argument of type game.GeoRestrictionStatusResponse');
|
395
|
+
}
|
396
|
+
return Buffer.from(arg.serializeBinary());
|
397
|
+
}
|
398
|
+
|
399
|
+
function deserialize_game_GeoRestrictionStatusResponse(buffer_arg) {
|
400
|
+
return game_pb.GeoRestrictionStatusResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
401
|
+
}
|
402
|
+
|
370
403
|
function serialize_game_GetCashBackListRequest(arg) {
|
371
404
|
if (!(arg instanceof game_pb.GetCashBackListRequest)) {
|
372
405
|
throw new Error('Expected argument of type game.GetCashBackListRequest');
|
@@ -908,7 +941,8 @@ function deserialize_game_WagerSearchRequest(buffer_arg) {
|
|
908
941
|
|
909
942
|
|
910
943
|
var GameService = exports.GameService = {
|
911
|
-
|
944
|
+
// Tech
|
945
|
+
checkConnection: {
|
912
946
|
path: '/game.Game/checkConnection',
|
913
947
|
requestStream: false,
|
914
948
|
responseStream: false,
|
@@ -919,7 +953,8 @@ var GameService = exports.GameService = {
|
|
919
953
|
responseSerialize: serialize_game_PongResponse,
|
920
954
|
responseDeserialize: deserialize_game_PongResponse,
|
921
955
|
},
|
922
|
-
|
956
|
+
// Common
|
957
|
+
getMediaResource: {
|
923
958
|
path: '/game.Game/getMediaResource',
|
924
959
|
requestStream: false,
|
925
960
|
responseStream: true,
|
@@ -930,6 +965,28 @@ var GameService = exports.GameService = {
|
|
930
965
|
responseSerialize: serialize_game_File,
|
931
966
|
responseDeserialize: deserialize_game_File,
|
932
967
|
},
|
968
|
+
setGeoRestrictions: {
|
969
|
+
path: '/game.Game/setGeoRestrictions',
|
970
|
+
requestStream: false,
|
971
|
+
responseStream: false,
|
972
|
+
requestType: game_pb.GeoRestrictionRequest,
|
973
|
+
responseType: game_pb.GeoRestrictionStatusResponse,
|
974
|
+
requestSerialize: serialize_game_GeoRestrictionRequest,
|
975
|
+
requestDeserialize: deserialize_game_GeoRestrictionRequest,
|
976
|
+
responseSerialize: serialize_game_GeoRestrictionStatusResponse,
|
977
|
+
responseDeserialize: deserialize_game_GeoRestrictionStatusResponse,
|
978
|
+
},
|
979
|
+
getGeoRestrictions: {
|
980
|
+
path: '/game.Game/getGeoRestrictions',
|
981
|
+
requestStream: false,
|
982
|
+
responseStream: false,
|
983
|
+
requestType: game_pb.GeoRestrictionRequest,
|
984
|
+
responseType: game_pb.GeoRestrictionResponse,
|
985
|
+
requestSerialize: serialize_game_GeoRestrictionRequest,
|
986
|
+
requestDeserialize: deserialize_game_GeoRestrictionRequest,
|
987
|
+
responseSerialize: serialize_game_GeoRestrictionResponse,
|
988
|
+
responseDeserialize: deserialize_game_GeoRestrictionResponse,
|
989
|
+
},
|
933
990
|
// Categories
|
934
991
|
createSingleCategory: {
|
935
992
|
path: '/game.Game/createSingleCategory',
|