protobuf-platform 1.2.545 → 1.2.548
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 +14 -0
- package/game/game_grpc_pb.js +33 -0
- package/game/game_pb.js +686 -0
- package/package.json +1 -1
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;
|
package/game/game_grpc_pb.js
CHANGED
|
@@ -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',
|
package/game/game_pb.js
CHANGED
|
@@ -116,6 +116,9 @@ goog.exportSymbol('proto.game.IntegratorSelfValidationResponse', null, global);
|
|
|
116
116
|
goog.exportSymbol('proto.game.IntegratorSettingsRequest', null, global);
|
|
117
117
|
goog.exportSymbol('proto.game.IntegratorSettingsResponse', null, global);
|
|
118
118
|
goog.exportSymbol('proto.game.ItemsBunchRequest', null, global);
|
|
119
|
+
goog.exportSymbol('proto.game.MerchantFreeSpinLimitItem', null, global);
|
|
120
|
+
goog.exportSymbol('proto.game.MerchantFreeSpinLimitsRequest', null, global);
|
|
121
|
+
goog.exportSymbol('proto.game.MerchantFreeSpinLimitsResponse', null, global);
|
|
119
122
|
goog.exportSymbol('proto.game.NormalizeDuplicateProvidersRequest', null, global);
|
|
120
123
|
goog.exportSymbol('proto.game.NormalizeDuplicateProvidersResponse', null, global);
|
|
121
124
|
goog.exportSymbol('proto.game.PaginationRequest', null, global);
|
|
@@ -2729,6 +2732,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2729
2732
|
*/
|
|
2730
2733
|
proto.game.FreeSpinCampaignResponse.displayName = 'proto.game.FreeSpinCampaignResponse';
|
|
2731
2734
|
}
|
|
2735
|
+
/**
|
|
2736
|
+
* Generated by JsPbCodeGenerator.
|
|
2737
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2738
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2739
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2740
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2741
|
+
* valid.
|
|
2742
|
+
* @extends {jspb.Message}
|
|
2743
|
+
* @constructor
|
|
2744
|
+
*/
|
|
2745
|
+
proto.game.MerchantFreeSpinLimitsRequest = function(opt_data) {
|
|
2746
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2747
|
+
};
|
|
2748
|
+
goog.inherits(proto.game.MerchantFreeSpinLimitsRequest, jspb.Message);
|
|
2749
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2750
|
+
/**
|
|
2751
|
+
* @public
|
|
2752
|
+
* @override
|
|
2753
|
+
*/
|
|
2754
|
+
proto.game.MerchantFreeSpinLimitsRequest.displayName = 'proto.game.MerchantFreeSpinLimitsRequest';
|
|
2755
|
+
}
|
|
2756
|
+
/**
|
|
2757
|
+
* Generated by JsPbCodeGenerator.
|
|
2758
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2759
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2760
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2761
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2762
|
+
* valid.
|
|
2763
|
+
* @extends {jspb.Message}
|
|
2764
|
+
* @constructor
|
|
2765
|
+
*/
|
|
2766
|
+
proto.game.MerchantFreeSpinLimitItem = function(opt_data) {
|
|
2767
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.MerchantFreeSpinLimitItem.repeatedFields_, null);
|
|
2768
|
+
};
|
|
2769
|
+
goog.inherits(proto.game.MerchantFreeSpinLimitItem, jspb.Message);
|
|
2770
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2771
|
+
/**
|
|
2772
|
+
* @public
|
|
2773
|
+
* @override
|
|
2774
|
+
*/
|
|
2775
|
+
proto.game.MerchantFreeSpinLimitItem.displayName = 'proto.game.MerchantFreeSpinLimitItem';
|
|
2776
|
+
}
|
|
2777
|
+
/**
|
|
2778
|
+
* Generated by JsPbCodeGenerator.
|
|
2779
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2780
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2781
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2782
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2783
|
+
* valid.
|
|
2784
|
+
* @extends {jspb.Message}
|
|
2785
|
+
* @constructor
|
|
2786
|
+
*/
|
|
2787
|
+
proto.game.MerchantFreeSpinLimitsResponse = function(opt_data) {
|
|
2788
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.MerchantFreeSpinLimitsResponse.repeatedFields_, null);
|
|
2789
|
+
};
|
|
2790
|
+
goog.inherits(proto.game.MerchantFreeSpinLimitsResponse, jspb.Message);
|
|
2791
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2792
|
+
/**
|
|
2793
|
+
* @public
|
|
2794
|
+
* @override
|
|
2795
|
+
*/
|
|
2796
|
+
proto.game.MerchantFreeSpinLimitsResponse.displayName = 'proto.game.MerchantFreeSpinLimitsResponse';
|
|
2797
|
+
}
|
|
2732
2798
|
/**
|
|
2733
2799
|
* Generated by JsPbCodeGenerator.
|
|
2734
2800
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -38770,6 +38836,626 @@ proto.game.FreeSpinCampaignResponse.prototype.hasProviderStatus = function() {
|
|
|
38770
38836
|
|
|
38771
38837
|
|
|
38772
38838
|
|
|
38839
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
38840
|
+
/**
|
|
38841
|
+
* Creates an object representation of this proto.
|
|
38842
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
38843
|
+
* Optional fields that are not set will be set to undefined.
|
|
38844
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
38845
|
+
* For the list of reserved names please see:
|
|
38846
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
38847
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
38848
|
+
* JSPB instance for transitional soy proto support:
|
|
38849
|
+
* http://goto/soy-param-migration
|
|
38850
|
+
* @return {!Object}
|
|
38851
|
+
*/
|
|
38852
|
+
proto.game.MerchantFreeSpinLimitsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
38853
|
+
return proto.game.MerchantFreeSpinLimitsRequest.toObject(opt_includeInstance, this);
|
|
38854
|
+
};
|
|
38855
|
+
|
|
38856
|
+
|
|
38857
|
+
/**
|
|
38858
|
+
* Static version of the {@see toObject} method.
|
|
38859
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
38860
|
+
* the JSPB instance for transitional soy proto support:
|
|
38861
|
+
* http://goto/soy-param-migration
|
|
38862
|
+
* @param {!proto.game.MerchantFreeSpinLimitsRequest} msg The msg instance to transform.
|
|
38863
|
+
* @return {!Object}
|
|
38864
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
38865
|
+
*/
|
|
38866
|
+
proto.game.MerchantFreeSpinLimitsRequest.toObject = function(includeInstance, msg) {
|
|
38867
|
+
var f, obj = {
|
|
38868
|
+
vendor: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
38869
|
+
currency: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
38870
|
+
};
|
|
38871
|
+
|
|
38872
|
+
if (includeInstance) {
|
|
38873
|
+
obj.$jspbMessageInstance = msg;
|
|
38874
|
+
}
|
|
38875
|
+
return obj;
|
|
38876
|
+
};
|
|
38877
|
+
}
|
|
38878
|
+
|
|
38879
|
+
|
|
38880
|
+
/**
|
|
38881
|
+
* Deserializes binary data (in protobuf wire format).
|
|
38882
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
38883
|
+
* @return {!proto.game.MerchantFreeSpinLimitsRequest}
|
|
38884
|
+
*/
|
|
38885
|
+
proto.game.MerchantFreeSpinLimitsRequest.deserializeBinary = function(bytes) {
|
|
38886
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
38887
|
+
var msg = new proto.game.MerchantFreeSpinLimitsRequest;
|
|
38888
|
+
return proto.game.MerchantFreeSpinLimitsRequest.deserializeBinaryFromReader(msg, reader);
|
|
38889
|
+
};
|
|
38890
|
+
|
|
38891
|
+
|
|
38892
|
+
/**
|
|
38893
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
38894
|
+
* given reader into the given message object.
|
|
38895
|
+
* @param {!proto.game.MerchantFreeSpinLimitsRequest} msg The message object to deserialize into.
|
|
38896
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
38897
|
+
* @return {!proto.game.MerchantFreeSpinLimitsRequest}
|
|
38898
|
+
*/
|
|
38899
|
+
proto.game.MerchantFreeSpinLimitsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
38900
|
+
while (reader.nextField()) {
|
|
38901
|
+
if (reader.isEndGroup()) {
|
|
38902
|
+
break;
|
|
38903
|
+
}
|
|
38904
|
+
var field = reader.getFieldNumber();
|
|
38905
|
+
switch (field) {
|
|
38906
|
+
case 1:
|
|
38907
|
+
var value = /** @type {string} */ (reader.readString());
|
|
38908
|
+
msg.setVendor(value);
|
|
38909
|
+
break;
|
|
38910
|
+
case 2:
|
|
38911
|
+
var value = /** @type {string} */ (reader.readString());
|
|
38912
|
+
msg.setCurrency(value);
|
|
38913
|
+
break;
|
|
38914
|
+
default:
|
|
38915
|
+
reader.skipField();
|
|
38916
|
+
break;
|
|
38917
|
+
}
|
|
38918
|
+
}
|
|
38919
|
+
return msg;
|
|
38920
|
+
};
|
|
38921
|
+
|
|
38922
|
+
|
|
38923
|
+
/**
|
|
38924
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
38925
|
+
* @return {!Uint8Array}
|
|
38926
|
+
*/
|
|
38927
|
+
proto.game.MerchantFreeSpinLimitsRequest.prototype.serializeBinary = function() {
|
|
38928
|
+
var writer = new jspb.BinaryWriter();
|
|
38929
|
+
proto.game.MerchantFreeSpinLimitsRequest.serializeBinaryToWriter(this, writer);
|
|
38930
|
+
return writer.getResultBuffer();
|
|
38931
|
+
};
|
|
38932
|
+
|
|
38933
|
+
|
|
38934
|
+
/**
|
|
38935
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
38936
|
+
* format), writing to the given BinaryWriter.
|
|
38937
|
+
* @param {!proto.game.MerchantFreeSpinLimitsRequest} message
|
|
38938
|
+
* @param {!jspb.BinaryWriter} writer
|
|
38939
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
38940
|
+
*/
|
|
38941
|
+
proto.game.MerchantFreeSpinLimitsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
38942
|
+
var f = undefined;
|
|
38943
|
+
f = message.getVendor();
|
|
38944
|
+
if (f.length > 0) {
|
|
38945
|
+
writer.writeString(
|
|
38946
|
+
1,
|
|
38947
|
+
f
|
|
38948
|
+
);
|
|
38949
|
+
}
|
|
38950
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
38951
|
+
if (f != null) {
|
|
38952
|
+
writer.writeString(
|
|
38953
|
+
2,
|
|
38954
|
+
f
|
|
38955
|
+
);
|
|
38956
|
+
}
|
|
38957
|
+
};
|
|
38958
|
+
|
|
38959
|
+
|
|
38960
|
+
/**
|
|
38961
|
+
* optional string vendor = 1;
|
|
38962
|
+
* @return {string}
|
|
38963
|
+
*/
|
|
38964
|
+
proto.game.MerchantFreeSpinLimitsRequest.prototype.getVendor = function() {
|
|
38965
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
38966
|
+
};
|
|
38967
|
+
|
|
38968
|
+
|
|
38969
|
+
/**
|
|
38970
|
+
* @param {string} value
|
|
38971
|
+
* @return {!proto.game.MerchantFreeSpinLimitsRequest} returns this
|
|
38972
|
+
*/
|
|
38973
|
+
proto.game.MerchantFreeSpinLimitsRequest.prototype.setVendor = function(value) {
|
|
38974
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
38975
|
+
};
|
|
38976
|
+
|
|
38977
|
+
|
|
38978
|
+
/**
|
|
38979
|
+
* optional string currency = 2;
|
|
38980
|
+
* @return {string}
|
|
38981
|
+
*/
|
|
38982
|
+
proto.game.MerchantFreeSpinLimitsRequest.prototype.getCurrency = function() {
|
|
38983
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
38984
|
+
};
|
|
38985
|
+
|
|
38986
|
+
|
|
38987
|
+
/**
|
|
38988
|
+
* @param {string} value
|
|
38989
|
+
* @return {!proto.game.MerchantFreeSpinLimitsRequest} returns this
|
|
38990
|
+
*/
|
|
38991
|
+
proto.game.MerchantFreeSpinLimitsRequest.prototype.setCurrency = function(value) {
|
|
38992
|
+
return jspb.Message.setField(this, 2, value);
|
|
38993
|
+
};
|
|
38994
|
+
|
|
38995
|
+
|
|
38996
|
+
/**
|
|
38997
|
+
* Clears the field making it undefined.
|
|
38998
|
+
* @return {!proto.game.MerchantFreeSpinLimitsRequest} returns this
|
|
38999
|
+
*/
|
|
39000
|
+
proto.game.MerchantFreeSpinLimitsRequest.prototype.clearCurrency = function() {
|
|
39001
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
39002
|
+
};
|
|
39003
|
+
|
|
39004
|
+
|
|
39005
|
+
/**
|
|
39006
|
+
* Returns whether this field is set.
|
|
39007
|
+
* @return {boolean}
|
|
39008
|
+
*/
|
|
39009
|
+
proto.game.MerchantFreeSpinLimitsRequest.prototype.hasCurrency = function() {
|
|
39010
|
+
return jspb.Message.getField(this, 2) != null;
|
|
39011
|
+
};
|
|
39012
|
+
|
|
39013
|
+
|
|
39014
|
+
|
|
39015
|
+
/**
|
|
39016
|
+
* List of repeated fields within this message type.
|
|
39017
|
+
* @private {!Array<number>}
|
|
39018
|
+
* @const
|
|
39019
|
+
*/
|
|
39020
|
+
proto.game.MerchantFreeSpinLimitItem.repeatedFields_ = [2];
|
|
39021
|
+
|
|
39022
|
+
|
|
39023
|
+
|
|
39024
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
39025
|
+
/**
|
|
39026
|
+
* Creates an object representation of this proto.
|
|
39027
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
39028
|
+
* Optional fields that are not set will be set to undefined.
|
|
39029
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
39030
|
+
* For the list of reserved names please see:
|
|
39031
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
39032
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
39033
|
+
* JSPB instance for transitional soy proto support:
|
|
39034
|
+
* http://goto/soy-param-migration
|
|
39035
|
+
* @return {!Object}
|
|
39036
|
+
*/
|
|
39037
|
+
proto.game.MerchantFreeSpinLimitItem.prototype.toObject = function(opt_includeInstance) {
|
|
39038
|
+
return proto.game.MerchantFreeSpinLimitItem.toObject(opt_includeInstance, this);
|
|
39039
|
+
};
|
|
39040
|
+
|
|
39041
|
+
|
|
39042
|
+
/**
|
|
39043
|
+
* Static version of the {@see toObject} method.
|
|
39044
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
39045
|
+
* the JSPB instance for transitional soy proto support:
|
|
39046
|
+
* http://goto/soy-param-migration
|
|
39047
|
+
* @param {!proto.game.MerchantFreeSpinLimitItem} msg The msg instance to transform.
|
|
39048
|
+
* @return {!Object}
|
|
39049
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
39050
|
+
*/
|
|
39051
|
+
proto.game.MerchantFreeSpinLimitItem.toObject = function(includeInstance, msg) {
|
|
39052
|
+
var f, obj = {
|
|
39053
|
+
currency: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
39054
|
+
providersList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
39055
|
+
quantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
39056
|
+
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0)
|
|
39057
|
+
};
|
|
39058
|
+
|
|
39059
|
+
if (includeInstance) {
|
|
39060
|
+
obj.$jspbMessageInstance = msg;
|
|
39061
|
+
}
|
|
39062
|
+
return obj;
|
|
39063
|
+
};
|
|
39064
|
+
}
|
|
39065
|
+
|
|
39066
|
+
|
|
39067
|
+
/**
|
|
39068
|
+
* Deserializes binary data (in protobuf wire format).
|
|
39069
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
39070
|
+
* @return {!proto.game.MerchantFreeSpinLimitItem}
|
|
39071
|
+
*/
|
|
39072
|
+
proto.game.MerchantFreeSpinLimitItem.deserializeBinary = function(bytes) {
|
|
39073
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
39074
|
+
var msg = new proto.game.MerchantFreeSpinLimitItem;
|
|
39075
|
+
return proto.game.MerchantFreeSpinLimitItem.deserializeBinaryFromReader(msg, reader);
|
|
39076
|
+
};
|
|
39077
|
+
|
|
39078
|
+
|
|
39079
|
+
/**
|
|
39080
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
39081
|
+
* given reader into the given message object.
|
|
39082
|
+
* @param {!proto.game.MerchantFreeSpinLimitItem} msg The message object to deserialize into.
|
|
39083
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
39084
|
+
* @return {!proto.game.MerchantFreeSpinLimitItem}
|
|
39085
|
+
*/
|
|
39086
|
+
proto.game.MerchantFreeSpinLimitItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
39087
|
+
while (reader.nextField()) {
|
|
39088
|
+
if (reader.isEndGroup()) {
|
|
39089
|
+
break;
|
|
39090
|
+
}
|
|
39091
|
+
var field = reader.getFieldNumber();
|
|
39092
|
+
switch (field) {
|
|
39093
|
+
case 1:
|
|
39094
|
+
var value = /** @type {string} */ (reader.readString());
|
|
39095
|
+
msg.setCurrency(value);
|
|
39096
|
+
break;
|
|
39097
|
+
case 2:
|
|
39098
|
+
var value = /** @type {string} */ (reader.readString());
|
|
39099
|
+
msg.addProviders(value);
|
|
39100
|
+
break;
|
|
39101
|
+
case 3:
|
|
39102
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
39103
|
+
msg.setQuantity(value);
|
|
39104
|
+
break;
|
|
39105
|
+
case 4:
|
|
39106
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
39107
|
+
msg.setAmount(value);
|
|
39108
|
+
break;
|
|
39109
|
+
default:
|
|
39110
|
+
reader.skipField();
|
|
39111
|
+
break;
|
|
39112
|
+
}
|
|
39113
|
+
}
|
|
39114
|
+
return msg;
|
|
39115
|
+
};
|
|
39116
|
+
|
|
39117
|
+
|
|
39118
|
+
/**
|
|
39119
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
39120
|
+
* @return {!Uint8Array}
|
|
39121
|
+
*/
|
|
39122
|
+
proto.game.MerchantFreeSpinLimitItem.prototype.serializeBinary = function() {
|
|
39123
|
+
var writer = new jspb.BinaryWriter();
|
|
39124
|
+
proto.game.MerchantFreeSpinLimitItem.serializeBinaryToWriter(this, writer);
|
|
39125
|
+
return writer.getResultBuffer();
|
|
39126
|
+
};
|
|
39127
|
+
|
|
39128
|
+
|
|
39129
|
+
/**
|
|
39130
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
39131
|
+
* format), writing to the given BinaryWriter.
|
|
39132
|
+
* @param {!proto.game.MerchantFreeSpinLimitItem} message
|
|
39133
|
+
* @param {!jspb.BinaryWriter} writer
|
|
39134
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
39135
|
+
*/
|
|
39136
|
+
proto.game.MerchantFreeSpinLimitItem.serializeBinaryToWriter = function(message, writer) {
|
|
39137
|
+
var f = undefined;
|
|
39138
|
+
f = message.getCurrency();
|
|
39139
|
+
if (f.length > 0) {
|
|
39140
|
+
writer.writeString(
|
|
39141
|
+
1,
|
|
39142
|
+
f
|
|
39143
|
+
);
|
|
39144
|
+
}
|
|
39145
|
+
f = message.getProvidersList();
|
|
39146
|
+
if (f.length > 0) {
|
|
39147
|
+
writer.writeRepeatedString(
|
|
39148
|
+
2,
|
|
39149
|
+
f
|
|
39150
|
+
);
|
|
39151
|
+
}
|
|
39152
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
|
39153
|
+
if (f != null) {
|
|
39154
|
+
writer.writeDouble(
|
|
39155
|
+
3,
|
|
39156
|
+
f
|
|
39157
|
+
);
|
|
39158
|
+
}
|
|
39159
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
39160
|
+
if (f != null) {
|
|
39161
|
+
writer.writeDouble(
|
|
39162
|
+
4,
|
|
39163
|
+
f
|
|
39164
|
+
);
|
|
39165
|
+
}
|
|
39166
|
+
};
|
|
39167
|
+
|
|
39168
|
+
|
|
39169
|
+
/**
|
|
39170
|
+
* optional string currency = 1;
|
|
39171
|
+
* @return {string}
|
|
39172
|
+
*/
|
|
39173
|
+
proto.game.MerchantFreeSpinLimitItem.prototype.getCurrency = function() {
|
|
39174
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
39175
|
+
};
|
|
39176
|
+
|
|
39177
|
+
|
|
39178
|
+
/**
|
|
39179
|
+
* @param {string} value
|
|
39180
|
+
* @return {!proto.game.MerchantFreeSpinLimitItem} returns this
|
|
39181
|
+
*/
|
|
39182
|
+
proto.game.MerchantFreeSpinLimitItem.prototype.setCurrency = function(value) {
|
|
39183
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
39184
|
+
};
|
|
39185
|
+
|
|
39186
|
+
|
|
39187
|
+
/**
|
|
39188
|
+
* repeated string providers = 2;
|
|
39189
|
+
* @return {!Array<string>}
|
|
39190
|
+
*/
|
|
39191
|
+
proto.game.MerchantFreeSpinLimitItem.prototype.getProvidersList = function() {
|
|
39192
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
39193
|
+
};
|
|
39194
|
+
|
|
39195
|
+
|
|
39196
|
+
/**
|
|
39197
|
+
* @param {!Array<string>} value
|
|
39198
|
+
* @return {!proto.game.MerchantFreeSpinLimitItem} returns this
|
|
39199
|
+
*/
|
|
39200
|
+
proto.game.MerchantFreeSpinLimitItem.prototype.setProvidersList = function(value) {
|
|
39201
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
39202
|
+
};
|
|
39203
|
+
|
|
39204
|
+
|
|
39205
|
+
/**
|
|
39206
|
+
* @param {string} value
|
|
39207
|
+
* @param {number=} opt_index
|
|
39208
|
+
* @return {!proto.game.MerchantFreeSpinLimitItem} returns this
|
|
39209
|
+
*/
|
|
39210
|
+
proto.game.MerchantFreeSpinLimitItem.prototype.addProviders = function(value, opt_index) {
|
|
39211
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
39212
|
+
};
|
|
39213
|
+
|
|
39214
|
+
|
|
39215
|
+
/**
|
|
39216
|
+
* Clears the list making it empty but non-null.
|
|
39217
|
+
* @return {!proto.game.MerchantFreeSpinLimitItem} returns this
|
|
39218
|
+
*/
|
|
39219
|
+
proto.game.MerchantFreeSpinLimitItem.prototype.clearProvidersList = function() {
|
|
39220
|
+
return this.setProvidersList([]);
|
|
39221
|
+
};
|
|
39222
|
+
|
|
39223
|
+
|
|
39224
|
+
/**
|
|
39225
|
+
* optional double quantity = 3;
|
|
39226
|
+
* @return {number}
|
|
39227
|
+
*/
|
|
39228
|
+
proto.game.MerchantFreeSpinLimitItem.prototype.getQuantity = function() {
|
|
39229
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
39230
|
+
};
|
|
39231
|
+
|
|
39232
|
+
|
|
39233
|
+
/**
|
|
39234
|
+
* @param {number} value
|
|
39235
|
+
* @return {!proto.game.MerchantFreeSpinLimitItem} returns this
|
|
39236
|
+
*/
|
|
39237
|
+
proto.game.MerchantFreeSpinLimitItem.prototype.setQuantity = function(value) {
|
|
39238
|
+
return jspb.Message.setField(this, 3, value);
|
|
39239
|
+
};
|
|
39240
|
+
|
|
39241
|
+
|
|
39242
|
+
/**
|
|
39243
|
+
* Clears the field making it undefined.
|
|
39244
|
+
* @return {!proto.game.MerchantFreeSpinLimitItem} returns this
|
|
39245
|
+
*/
|
|
39246
|
+
proto.game.MerchantFreeSpinLimitItem.prototype.clearQuantity = function() {
|
|
39247
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
39248
|
+
};
|
|
39249
|
+
|
|
39250
|
+
|
|
39251
|
+
/**
|
|
39252
|
+
* Returns whether this field is set.
|
|
39253
|
+
* @return {boolean}
|
|
39254
|
+
*/
|
|
39255
|
+
proto.game.MerchantFreeSpinLimitItem.prototype.hasQuantity = function() {
|
|
39256
|
+
return jspb.Message.getField(this, 3) != null;
|
|
39257
|
+
};
|
|
39258
|
+
|
|
39259
|
+
|
|
39260
|
+
/**
|
|
39261
|
+
* optional double amount = 4;
|
|
39262
|
+
* @return {number}
|
|
39263
|
+
*/
|
|
39264
|
+
proto.game.MerchantFreeSpinLimitItem.prototype.getAmount = function() {
|
|
39265
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
39266
|
+
};
|
|
39267
|
+
|
|
39268
|
+
|
|
39269
|
+
/**
|
|
39270
|
+
* @param {number} value
|
|
39271
|
+
* @return {!proto.game.MerchantFreeSpinLimitItem} returns this
|
|
39272
|
+
*/
|
|
39273
|
+
proto.game.MerchantFreeSpinLimitItem.prototype.setAmount = function(value) {
|
|
39274
|
+
return jspb.Message.setField(this, 4, value);
|
|
39275
|
+
};
|
|
39276
|
+
|
|
39277
|
+
|
|
39278
|
+
/**
|
|
39279
|
+
* Clears the field making it undefined.
|
|
39280
|
+
* @return {!proto.game.MerchantFreeSpinLimitItem} returns this
|
|
39281
|
+
*/
|
|
39282
|
+
proto.game.MerchantFreeSpinLimitItem.prototype.clearAmount = function() {
|
|
39283
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
39284
|
+
};
|
|
39285
|
+
|
|
39286
|
+
|
|
39287
|
+
/**
|
|
39288
|
+
* Returns whether this field is set.
|
|
39289
|
+
* @return {boolean}
|
|
39290
|
+
*/
|
|
39291
|
+
proto.game.MerchantFreeSpinLimitItem.prototype.hasAmount = function() {
|
|
39292
|
+
return jspb.Message.getField(this, 4) != null;
|
|
39293
|
+
};
|
|
39294
|
+
|
|
39295
|
+
|
|
39296
|
+
|
|
39297
|
+
/**
|
|
39298
|
+
* List of repeated fields within this message type.
|
|
39299
|
+
* @private {!Array<number>}
|
|
39300
|
+
* @const
|
|
39301
|
+
*/
|
|
39302
|
+
proto.game.MerchantFreeSpinLimitsResponse.repeatedFields_ = [1];
|
|
39303
|
+
|
|
39304
|
+
|
|
39305
|
+
|
|
39306
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
39307
|
+
/**
|
|
39308
|
+
* Creates an object representation of this proto.
|
|
39309
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
39310
|
+
* Optional fields that are not set will be set to undefined.
|
|
39311
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
39312
|
+
* For the list of reserved names please see:
|
|
39313
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
39314
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
39315
|
+
* JSPB instance for transitional soy proto support:
|
|
39316
|
+
* http://goto/soy-param-migration
|
|
39317
|
+
* @return {!Object}
|
|
39318
|
+
*/
|
|
39319
|
+
proto.game.MerchantFreeSpinLimitsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
39320
|
+
return proto.game.MerchantFreeSpinLimitsResponse.toObject(opt_includeInstance, this);
|
|
39321
|
+
};
|
|
39322
|
+
|
|
39323
|
+
|
|
39324
|
+
/**
|
|
39325
|
+
* Static version of the {@see toObject} method.
|
|
39326
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
39327
|
+
* the JSPB instance for transitional soy proto support:
|
|
39328
|
+
* http://goto/soy-param-migration
|
|
39329
|
+
* @param {!proto.game.MerchantFreeSpinLimitsResponse} msg The msg instance to transform.
|
|
39330
|
+
* @return {!Object}
|
|
39331
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
39332
|
+
*/
|
|
39333
|
+
proto.game.MerchantFreeSpinLimitsResponse.toObject = function(includeInstance, msg) {
|
|
39334
|
+
var f, obj = {
|
|
39335
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
39336
|
+
proto.game.MerchantFreeSpinLimitItem.toObject, includeInstance)
|
|
39337
|
+
};
|
|
39338
|
+
|
|
39339
|
+
if (includeInstance) {
|
|
39340
|
+
obj.$jspbMessageInstance = msg;
|
|
39341
|
+
}
|
|
39342
|
+
return obj;
|
|
39343
|
+
};
|
|
39344
|
+
}
|
|
39345
|
+
|
|
39346
|
+
|
|
39347
|
+
/**
|
|
39348
|
+
* Deserializes binary data (in protobuf wire format).
|
|
39349
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
39350
|
+
* @return {!proto.game.MerchantFreeSpinLimitsResponse}
|
|
39351
|
+
*/
|
|
39352
|
+
proto.game.MerchantFreeSpinLimitsResponse.deserializeBinary = function(bytes) {
|
|
39353
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
39354
|
+
var msg = new proto.game.MerchantFreeSpinLimitsResponse;
|
|
39355
|
+
return proto.game.MerchantFreeSpinLimitsResponse.deserializeBinaryFromReader(msg, reader);
|
|
39356
|
+
};
|
|
39357
|
+
|
|
39358
|
+
|
|
39359
|
+
/**
|
|
39360
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
39361
|
+
* given reader into the given message object.
|
|
39362
|
+
* @param {!proto.game.MerchantFreeSpinLimitsResponse} msg The message object to deserialize into.
|
|
39363
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
39364
|
+
* @return {!proto.game.MerchantFreeSpinLimitsResponse}
|
|
39365
|
+
*/
|
|
39366
|
+
proto.game.MerchantFreeSpinLimitsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
39367
|
+
while (reader.nextField()) {
|
|
39368
|
+
if (reader.isEndGroup()) {
|
|
39369
|
+
break;
|
|
39370
|
+
}
|
|
39371
|
+
var field = reader.getFieldNumber();
|
|
39372
|
+
switch (field) {
|
|
39373
|
+
case 1:
|
|
39374
|
+
var value = new proto.game.MerchantFreeSpinLimitItem;
|
|
39375
|
+
reader.readMessage(value,proto.game.MerchantFreeSpinLimitItem.deserializeBinaryFromReader);
|
|
39376
|
+
msg.addItems(value);
|
|
39377
|
+
break;
|
|
39378
|
+
default:
|
|
39379
|
+
reader.skipField();
|
|
39380
|
+
break;
|
|
39381
|
+
}
|
|
39382
|
+
}
|
|
39383
|
+
return msg;
|
|
39384
|
+
};
|
|
39385
|
+
|
|
39386
|
+
|
|
39387
|
+
/**
|
|
39388
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
39389
|
+
* @return {!Uint8Array}
|
|
39390
|
+
*/
|
|
39391
|
+
proto.game.MerchantFreeSpinLimitsResponse.prototype.serializeBinary = function() {
|
|
39392
|
+
var writer = new jspb.BinaryWriter();
|
|
39393
|
+
proto.game.MerchantFreeSpinLimitsResponse.serializeBinaryToWriter(this, writer);
|
|
39394
|
+
return writer.getResultBuffer();
|
|
39395
|
+
};
|
|
39396
|
+
|
|
39397
|
+
|
|
39398
|
+
/**
|
|
39399
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
39400
|
+
* format), writing to the given BinaryWriter.
|
|
39401
|
+
* @param {!proto.game.MerchantFreeSpinLimitsResponse} message
|
|
39402
|
+
* @param {!jspb.BinaryWriter} writer
|
|
39403
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
39404
|
+
*/
|
|
39405
|
+
proto.game.MerchantFreeSpinLimitsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
39406
|
+
var f = undefined;
|
|
39407
|
+
f = message.getItemsList();
|
|
39408
|
+
if (f.length > 0) {
|
|
39409
|
+
writer.writeRepeatedMessage(
|
|
39410
|
+
1,
|
|
39411
|
+
f,
|
|
39412
|
+
proto.game.MerchantFreeSpinLimitItem.serializeBinaryToWriter
|
|
39413
|
+
);
|
|
39414
|
+
}
|
|
39415
|
+
};
|
|
39416
|
+
|
|
39417
|
+
|
|
39418
|
+
/**
|
|
39419
|
+
* repeated MerchantFreeSpinLimitItem items = 1;
|
|
39420
|
+
* @return {!Array<!proto.game.MerchantFreeSpinLimitItem>}
|
|
39421
|
+
*/
|
|
39422
|
+
proto.game.MerchantFreeSpinLimitsResponse.prototype.getItemsList = function() {
|
|
39423
|
+
return /** @type{!Array<!proto.game.MerchantFreeSpinLimitItem>} */ (
|
|
39424
|
+
jspb.Message.getRepeatedWrapperField(this, proto.game.MerchantFreeSpinLimitItem, 1));
|
|
39425
|
+
};
|
|
39426
|
+
|
|
39427
|
+
|
|
39428
|
+
/**
|
|
39429
|
+
* @param {!Array<!proto.game.MerchantFreeSpinLimitItem>} value
|
|
39430
|
+
* @return {!proto.game.MerchantFreeSpinLimitsResponse} returns this
|
|
39431
|
+
*/
|
|
39432
|
+
proto.game.MerchantFreeSpinLimitsResponse.prototype.setItemsList = function(value) {
|
|
39433
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
39434
|
+
};
|
|
39435
|
+
|
|
39436
|
+
|
|
39437
|
+
/**
|
|
39438
|
+
* @param {!proto.game.MerchantFreeSpinLimitItem=} opt_value
|
|
39439
|
+
* @param {number=} opt_index
|
|
39440
|
+
* @return {!proto.game.MerchantFreeSpinLimitItem}
|
|
39441
|
+
*/
|
|
39442
|
+
proto.game.MerchantFreeSpinLimitsResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
39443
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.game.MerchantFreeSpinLimitItem, opt_index);
|
|
39444
|
+
};
|
|
39445
|
+
|
|
39446
|
+
|
|
39447
|
+
/**
|
|
39448
|
+
* Clears the list making it empty but non-null.
|
|
39449
|
+
* @return {!proto.game.MerchantFreeSpinLimitsResponse} returns this
|
|
39450
|
+
*/
|
|
39451
|
+
proto.game.MerchantFreeSpinLimitsResponse.prototype.clearItemsList = function() {
|
|
39452
|
+
return this.setItemsList([]);
|
|
39453
|
+
};
|
|
39454
|
+
|
|
39455
|
+
|
|
39456
|
+
|
|
39457
|
+
|
|
39458
|
+
|
|
38773
39459
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
38774
39460
|
/**
|
|
38775
39461
|
* Creates an object representation of this proto.
|