protobuf-platform 1.2.547 → 1.2.551

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 CHANGED
@@ -86,6 +86,7 @@ service Game {
86
86
  rpc setFreeSpinsBonusCampaign(FreeSpinBonusCampaignRequest) returns (FreeSpinCampaignResponse);
87
87
  rpc checkFreeSpins(FreeSpinStatusRequest) returns (FreeSpinCampaignResponse);
88
88
  rpc cancelFreeSpins(FreeSpinStatusRequest) returns (FreeSpinCampaignResponse);
89
+ rpc getMerchantFreeSpinLimits(MerchantFreeSpinLimitsRequest) returns (MerchantFreeSpinLimitsResponse);
89
90
  //Cross Services
90
91
  rpc getGamesByUuids(GamesUuids) returns (GamePoorItemsResponse);
91
92
  rpc getGamesByIds(GamesIds) returns (GamePoorItemsResponse);
@@ -912,6 +913,19 @@ message FreeSpinCampaignResponse {
912
913
  optional string provider_campaign_id = 2;
913
914
  optional string provider_status = 3;
914
915
  }
916
+ message MerchantFreeSpinLimitsRequest {
917
+ string vendor = 1;
918
+ optional string currency = 2;
919
+ }
920
+ message MerchantFreeSpinLimitItem {
921
+ string currency = 1;
922
+ repeated string providers = 2;
923
+ optional double quantity = 3;
924
+ optional double amount = 4;
925
+ }
926
+ message MerchantFreeSpinLimitsResponse {
927
+ repeated MerchantFreeSpinLimitItem items = 1;
928
+ }
915
929
  //Wager Lists
916
930
  message GetWagerListRequest {
917
931
  int32 id = 1;
@@ -752,6 +752,28 @@ function deserialize_game_ItemsBunchRequest(buffer_arg) {
752
752
  return game_pb.ItemsBunchRequest.deserializeBinary(new Uint8Array(buffer_arg));
753
753
  }
754
754
 
755
+ function serialize_game_MerchantFreeSpinLimitsRequest(arg) {
756
+ if (!(arg instanceof game_pb.MerchantFreeSpinLimitsRequest)) {
757
+ throw new Error('Expected argument of type game.MerchantFreeSpinLimitsRequest');
758
+ }
759
+ return Buffer.from(arg.serializeBinary());
760
+ }
761
+
762
+ function deserialize_game_MerchantFreeSpinLimitsRequest(buffer_arg) {
763
+ return game_pb.MerchantFreeSpinLimitsRequest.deserializeBinary(new Uint8Array(buffer_arg));
764
+ }
765
+
766
+ function serialize_game_MerchantFreeSpinLimitsResponse(arg) {
767
+ if (!(arg instanceof game_pb.MerchantFreeSpinLimitsResponse)) {
768
+ throw new Error('Expected argument of type game.MerchantFreeSpinLimitsResponse');
769
+ }
770
+ return Buffer.from(arg.serializeBinary());
771
+ }
772
+
773
+ function deserialize_game_MerchantFreeSpinLimitsResponse(buffer_arg) {
774
+ return game_pb.MerchantFreeSpinLimitsResponse.deserializeBinary(new Uint8Array(buffer_arg));
775
+ }
776
+
755
777
  function serialize_game_NormalizeDuplicateProvidersRequest(arg) {
756
778
  if (!(arg instanceof game_pb.NormalizeDuplicateProvidersRequest)) {
757
779
  throw new Error('Expected argument of type game.NormalizeDuplicateProvidersRequest');
@@ -2117,6 +2139,17 @@ getFreeSpinsSettings: {
2117
2139
  responseSerialize: serialize_game_FreeSpinCampaignResponse,
2118
2140
  responseDeserialize: deserialize_game_FreeSpinCampaignResponse,
2119
2141
  },
2142
+ getMerchantFreeSpinLimits: {
2143
+ path: '/game.Game/getMerchantFreeSpinLimits',
2144
+ requestStream: false,
2145
+ responseStream: false,
2146
+ requestType: game_pb.MerchantFreeSpinLimitsRequest,
2147
+ responseType: game_pb.MerchantFreeSpinLimitsResponse,
2148
+ requestSerialize: serialize_game_MerchantFreeSpinLimitsRequest,
2149
+ requestDeserialize: deserialize_game_MerchantFreeSpinLimitsRequest,
2150
+ responseSerialize: serialize_game_MerchantFreeSpinLimitsResponse,
2151
+ responseDeserialize: deserialize_game_MerchantFreeSpinLimitsResponse,
2152
+ },
2120
2153
  // Cross Services
2121
2154
  getGamesByUuids: {
2122
2155
  path: '/game.Game/getGamesByUuids',