protobuf-platform 1.2.356 → 1.2.360
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/bonus/bonus.proto +10 -9
- package/bonus/bonus_grpc_pb.js +26 -26
- package/bonus/bonus_pb.js +125 -125
- package/cms/cms.proto +1 -0
- package/cms/cms_pb.js +49 -1
- package/package.json +1 -1
package/bonus/bonus.proto
CHANGED
|
@@ -28,7 +28,7 @@ service Bonus {
|
|
|
28
28
|
rpc getUserBonusesHistory(PaginationRequest) returns (UserBonusItemsResponse);
|
|
29
29
|
rpc getDepositEligibleUserBonuses(GetDepositEligibleUserBonusesRequest) returns (DepositEligibleUserBonusesResponse);
|
|
30
30
|
rpc getActiveWageringUserBonuses(GetActiveWageringUserBonusesRequest) returns (ActiveWageringUserBonusesResponse);
|
|
31
|
-
rpc getCommonUserBonusItems(
|
|
31
|
+
rpc getCommonUserBonusItems(GetCommonUserBonusItemsRequest) returns (GetCommonUserBonusItemsResponse);
|
|
32
32
|
// Validates one selected wagering user bonus for a game wager list and balance type; returns authoritative state for game-service Redis snapshot.
|
|
33
33
|
rpc validateSelectedWageringUserBonus(ValidateSelectedWageringUserBonusRequest) returns (ValidateSelectedWageringUserBonusResponse);
|
|
34
34
|
//Common lists
|
|
@@ -251,9 +251,9 @@ message UserBonusItem {
|
|
|
251
251
|
optional string activated_at = 16;
|
|
252
252
|
optional string completed_at = 17;
|
|
253
253
|
optional string canceled_at = 18;
|
|
254
|
-
optional
|
|
255
|
-
optional
|
|
256
|
-
optional
|
|
254
|
+
optional int64 claiming_end_in_milliseconds = 19;
|
|
255
|
+
optional int64 activation_end_in_milliseconds = 20;
|
|
256
|
+
optional int64 wagering_end_in_milliseconds = 21;
|
|
257
257
|
optional bool has_free_spins = 22;
|
|
258
258
|
optional string status_free_spins = 23;
|
|
259
259
|
optional float reward_free_spins = 24;
|
|
@@ -349,21 +349,22 @@ message ActiveWageringUserBonusItem {
|
|
|
349
349
|
optional string image_cdn = 4;
|
|
350
350
|
optional float current_wager_amount = 5;
|
|
351
351
|
optional float total_wager_amount = 6;
|
|
352
|
-
optional
|
|
352
|
+
optional int64 wagering_end_in_milliseconds = 7;
|
|
353
353
|
repeated string wager_balances = 8;
|
|
354
354
|
optional int32 wager_games_list_id = 9;
|
|
355
355
|
}
|
|
356
|
-
message
|
|
356
|
+
message GetCommonUserBonusItemsRequest {
|
|
357
357
|
int32 user_id = 1;
|
|
358
358
|
optional string currency = 2;
|
|
359
359
|
optional string country = 3;
|
|
360
360
|
optional string locale = 4;
|
|
361
361
|
optional bool is_mobile = 5;
|
|
362
362
|
}
|
|
363
|
-
|
|
364
|
-
|
|
363
|
+
//for common bonuses user response overview
|
|
364
|
+
message GetCommonUserBonusItemsResponse {
|
|
365
|
+
CommonUserBonusItems items = 1;
|
|
365
366
|
}
|
|
366
|
-
message
|
|
367
|
+
message CommonUserBonusItems {
|
|
367
368
|
repeated UserBonusItem wagering = 1;
|
|
368
369
|
repeated UserBonusItem all = 2;
|
|
369
370
|
}
|
package/bonus/bonus_grpc_pb.js
CHANGED
|
@@ -224,48 +224,48 @@ function deserialize_bonus_GetBonusTranslationRequest(buffer_arg) {
|
|
|
224
224
|
return bonus_pb.GetBonusTranslationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
-
function
|
|
228
|
-
if (!(arg instanceof bonus_pb.
|
|
229
|
-
throw new Error('Expected argument of type bonus.
|
|
227
|
+
function serialize_bonus_GetCommonUserBonusItemsRequest(arg) {
|
|
228
|
+
if (!(arg instanceof bonus_pb.GetCommonUserBonusItemsRequest)) {
|
|
229
|
+
throw new Error('Expected argument of type bonus.GetCommonUserBonusItemsRequest');
|
|
230
230
|
}
|
|
231
231
|
return Buffer.from(arg.serializeBinary());
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
-
function
|
|
235
|
-
return bonus_pb.
|
|
234
|
+
function deserialize_bonus_GetCommonUserBonusItemsRequest(buffer_arg) {
|
|
235
|
+
return bonus_pb.GetCommonUserBonusItemsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
-
function
|
|
239
|
-
if (!(arg instanceof bonus_pb.
|
|
240
|
-
throw new Error('Expected argument of type bonus.
|
|
238
|
+
function serialize_bonus_GetCommonUserBonusItemsResponse(arg) {
|
|
239
|
+
if (!(arg instanceof bonus_pb.GetCommonUserBonusItemsResponse)) {
|
|
240
|
+
throw new Error('Expected argument of type bonus.GetCommonUserBonusItemsResponse');
|
|
241
241
|
}
|
|
242
242
|
return Buffer.from(arg.serializeBinary());
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
function
|
|
246
|
-
return bonus_pb.
|
|
245
|
+
function deserialize_bonus_GetCommonUserBonusItemsResponse(buffer_arg) {
|
|
246
|
+
return bonus_pb.GetCommonUserBonusItemsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
function
|
|
250
|
-
if (!(arg instanceof bonus_pb.
|
|
251
|
-
throw new Error('Expected argument of type bonus.
|
|
249
|
+
function serialize_bonus_GetDepositEligibleUserBonusesRequest(arg) {
|
|
250
|
+
if (!(arg instanceof bonus_pb.GetDepositEligibleUserBonusesRequest)) {
|
|
251
|
+
throw new Error('Expected argument of type bonus.GetDepositEligibleUserBonusesRequest');
|
|
252
252
|
}
|
|
253
253
|
return Buffer.from(arg.serializeBinary());
|
|
254
254
|
}
|
|
255
255
|
|
|
256
|
-
function
|
|
257
|
-
return bonus_pb.
|
|
256
|
+
function deserialize_bonus_GetDepositEligibleUserBonusesRequest(buffer_arg) {
|
|
257
|
+
return bonus_pb.GetDepositEligibleUserBonusesRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
-
function
|
|
261
|
-
if (!(arg instanceof bonus_pb.
|
|
262
|
-
throw new Error('Expected argument of type bonus.
|
|
260
|
+
function serialize_bonus_GetFileRequest(arg) {
|
|
261
|
+
if (!(arg instanceof bonus_pb.GetFileRequest)) {
|
|
262
|
+
throw new Error('Expected argument of type bonus.GetFileRequest');
|
|
263
263
|
}
|
|
264
264
|
return Buffer.from(arg.serializeBinary());
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
function
|
|
268
|
-
return bonus_pb.
|
|
267
|
+
function deserialize_bonus_GetFileRequest(buffer_arg) {
|
|
268
|
+
return bonus_pb.GetFileRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
269
269
|
}
|
|
270
270
|
|
|
271
271
|
function serialize_bonus_GetUserBonusRequest(arg) {
|
|
@@ -628,12 +628,12 @@ claimUserBonus: {
|
|
|
628
628
|
path: '/bonus.Bonus/getCommonUserBonusItems',
|
|
629
629
|
requestStream: false,
|
|
630
630
|
responseStream: false,
|
|
631
|
-
requestType: bonus_pb.
|
|
632
|
-
responseType: bonus_pb.
|
|
633
|
-
requestSerialize:
|
|
634
|
-
requestDeserialize:
|
|
635
|
-
responseSerialize:
|
|
636
|
-
responseDeserialize:
|
|
631
|
+
requestType: bonus_pb.GetCommonUserBonusItemsRequest,
|
|
632
|
+
responseType: bonus_pb.GetCommonUserBonusItemsResponse,
|
|
633
|
+
requestSerialize: serialize_bonus_GetCommonUserBonusItemsRequest,
|
|
634
|
+
requestDeserialize: deserialize_bonus_GetCommonUserBonusItemsRequest,
|
|
635
|
+
responseSerialize: serialize_bonus_GetCommonUserBonusItemsResponse,
|
|
636
|
+
responseDeserialize: deserialize_bonus_GetCommonUserBonusItemsResponse,
|
|
637
637
|
},
|
|
638
638
|
// Validates one selected wagering user bonus for a game wager list and balance type; returns authoritative state for game-service Redis snapshot.
|
|
639
639
|
validateSelectedWageringUserBonus: {
|
package/bonus/bonus_pb.js
CHANGED
|
@@ -42,6 +42,7 @@ goog.exportSymbol('proto.bonus.BonusTranslationItem', null, global);
|
|
|
42
42
|
goog.exportSymbol('proto.bonus.BonusTranslationRequest', null, global);
|
|
43
43
|
goog.exportSymbol('proto.bonus.BonusType', null, global);
|
|
44
44
|
goog.exportSymbol('proto.bonus.BonusTypesResponse', null, global);
|
|
45
|
+
goog.exportSymbol('proto.bonus.CommonUserBonusItems', null, global);
|
|
45
46
|
goog.exportSymbol('proto.bonus.CurrencyStatusItem', null, global);
|
|
46
47
|
goog.exportSymbol('proto.bonus.DashboardRequest', null, global);
|
|
47
48
|
goog.exportSymbol('proto.bonus.DashboardResponse', null, global);
|
|
@@ -55,13 +56,12 @@ goog.exportSymbol('proto.bonus.GetActiveWageringUserBonusesRequest', null, globa
|
|
|
55
56
|
goog.exportSymbol('proto.bonus.GetBonusBySlugRequest', null, global);
|
|
56
57
|
goog.exportSymbol('proto.bonus.GetBonusRequest', null, global);
|
|
57
58
|
goog.exportSymbol('proto.bonus.GetBonusTranslationRequest', null, global);
|
|
59
|
+
goog.exportSymbol('proto.bonus.GetCommonUserBonusItemsRequest', null, global);
|
|
60
|
+
goog.exportSymbol('proto.bonus.GetCommonUserBonusItemsResponse', null, global);
|
|
58
61
|
goog.exportSymbol('proto.bonus.GetDepositEligibleUserBonusesRequest', null, global);
|
|
59
62
|
goog.exportSymbol('proto.bonus.GetFileRequest', null, global);
|
|
60
|
-
goog.exportSymbol('proto.bonus.GetLoggedInUserBonusItemsRequest', null, global);
|
|
61
|
-
goog.exportSymbol('proto.bonus.GetLoggedInUserBonusItemsResponse', null, global);
|
|
62
63
|
goog.exportSymbol('proto.bonus.GetUserBonusRequest', null, global);
|
|
63
64
|
goog.exportSymbol('proto.bonus.ItemsBunchRequest', null, global);
|
|
64
|
-
goog.exportSymbol('proto.bonus.LoggedInUserBonusItems', null, global);
|
|
65
65
|
goog.exportSymbol('proto.bonus.PaginationRequest', null, global);
|
|
66
66
|
goog.exportSymbol('proto.bonus.PingRequest', null, global);
|
|
67
67
|
goog.exportSymbol('proto.bonus.PongResponse', null, global);
|
|
@@ -857,16 +857,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
857
857
|
* @extends {jspb.Message}
|
|
858
858
|
* @constructor
|
|
859
859
|
*/
|
|
860
|
-
proto.bonus.
|
|
860
|
+
proto.bonus.GetCommonUserBonusItemsRequest = function(opt_data) {
|
|
861
861
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
862
862
|
};
|
|
863
|
-
goog.inherits(proto.bonus.
|
|
863
|
+
goog.inherits(proto.bonus.GetCommonUserBonusItemsRequest, jspb.Message);
|
|
864
864
|
if (goog.DEBUG && !COMPILED) {
|
|
865
865
|
/**
|
|
866
866
|
* @public
|
|
867
867
|
* @override
|
|
868
868
|
*/
|
|
869
|
-
proto.bonus.
|
|
869
|
+
proto.bonus.GetCommonUserBonusItemsRequest.displayName = 'proto.bonus.GetCommonUserBonusItemsRequest';
|
|
870
870
|
}
|
|
871
871
|
/**
|
|
872
872
|
* Generated by JsPbCodeGenerator.
|
|
@@ -878,16 +878,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
878
878
|
* @extends {jspb.Message}
|
|
879
879
|
* @constructor
|
|
880
880
|
*/
|
|
881
|
-
proto.bonus.
|
|
881
|
+
proto.bonus.GetCommonUserBonusItemsResponse = function(opt_data) {
|
|
882
882
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
883
883
|
};
|
|
884
|
-
goog.inherits(proto.bonus.
|
|
884
|
+
goog.inherits(proto.bonus.GetCommonUserBonusItemsResponse, jspb.Message);
|
|
885
885
|
if (goog.DEBUG && !COMPILED) {
|
|
886
886
|
/**
|
|
887
887
|
* @public
|
|
888
888
|
* @override
|
|
889
889
|
*/
|
|
890
|
-
proto.bonus.
|
|
890
|
+
proto.bonus.GetCommonUserBonusItemsResponse.displayName = 'proto.bonus.GetCommonUserBonusItemsResponse';
|
|
891
891
|
}
|
|
892
892
|
/**
|
|
893
893
|
* Generated by JsPbCodeGenerator.
|
|
@@ -899,16 +899,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
899
899
|
* @extends {jspb.Message}
|
|
900
900
|
* @constructor
|
|
901
901
|
*/
|
|
902
|
-
proto.bonus.
|
|
903
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.bonus.
|
|
902
|
+
proto.bonus.CommonUserBonusItems = function(opt_data) {
|
|
903
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.bonus.CommonUserBonusItems.repeatedFields_, null);
|
|
904
904
|
};
|
|
905
|
-
goog.inherits(proto.bonus.
|
|
905
|
+
goog.inherits(proto.bonus.CommonUserBonusItems, jspb.Message);
|
|
906
906
|
if (goog.DEBUG && !COMPILED) {
|
|
907
907
|
/**
|
|
908
908
|
* @public
|
|
909
909
|
* @override
|
|
910
910
|
*/
|
|
911
|
-
proto.bonus.
|
|
911
|
+
proto.bonus.CommonUserBonusItems.displayName = 'proto.bonus.CommonUserBonusItems';
|
|
912
912
|
}
|
|
913
913
|
/**
|
|
914
914
|
* Generated by JsPbCodeGenerator.
|
|
@@ -10129,15 +10129,15 @@ proto.bonus.UserBonusItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
10129
10129
|
msg.setCanceledAt(value);
|
|
10130
10130
|
break;
|
|
10131
10131
|
case 19:
|
|
10132
|
-
var value = /** @type {number} */ (reader.
|
|
10132
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
10133
10133
|
msg.setClaimingEndInMilliseconds(value);
|
|
10134
10134
|
break;
|
|
10135
10135
|
case 20:
|
|
10136
|
-
var value = /** @type {number} */ (reader.
|
|
10136
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
10137
10137
|
msg.setActivationEndInMilliseconds(value);
|
|
10138
10138
|
break;
|
|
10139
10139
|
case 21:
|
|
10140
|
-
var value = /** @type {number} */ (reader.
|
|
10140
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
10141
10141
|
msg.setWageringEndInMilliseconds(value);
|
|
10142
10142
|
break;
|
|
10143
10143
|
case 22:
|
|
@@ -10327,21 +10327,21 @@ proto.bonus.UserBonusItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
10327
10327
|
}
|
|
10328
10328
|
f = /** @type {number} */ (jspb.Message.getField(message, 19));
|
|
10329
10329
|
if (f != null) {
|
|
10330
|
-
writer.
|
|
10330
|
+
writer.writeInt64(
|
|
10331
10331
|
19,
|
|
10332
10332
|
f
|
|
10333
10333
|
);
|
|
10334
10334
|
}
|
|
10335
10335
|
f = /** @type {number} */ (jspb.Message.getField(message, 20));
|
|
10336
10336
|
if (f != null) {
|
|
10337
|
-
writer.
|
|
10337
|
+
writer.writeInt64(
|
|
10338
10338
|
20,
|
|
10339
10339
|
f
|
|
10340
10340
|
);
|
|
10341
10341
|
}
|
|
10342
10342
|
f = /** @type {number} */ (jspb.Message.getField(message, 21));
|
|
10343
10343
|
if (f != null) {
|
|
10344
|
-
writer.
|
|
10344
|
+
writer.writeInt64(
|
|
10345
10345
|
21,
|
|
10346
10346
|
f
|
|
10347
10347
|
);
|
|
@@ -11050,7 +11050,7 @@ proto.bonus.UserBonusItem.prototype.hasCanceledAt = function() {
|
|
|
11050
11050
|
|
|
11051
11051
|
|
|
11052
11052
|
/**
|
|
11053
|
-
* optional
|
|
11053
|
+
* optional int64 claiming_end_in_milliseconds = 19;
|
|
11054
11054
|
* @return {number}
|
|
11055
11055
|
*/
|
|
11056
11056
|
proto.bonus.UserBonusItem.prototype.getClaimingEndInMilliseconds = function() {
|
|
@@ -11086,7 +11086,7 @@ proto.bonus.UserBonusItem.prototype.hasClaimingEndInMilliseconds = function() {
|
|
|
11086
11086
|
|
|
11087
11087
|
|
|
11088
11088
|
/**
|
|
11089
|
-
* optional
|
|
11089
|
+
* optional int64 activation_end_in_milliseconds = 20;
|
|
11090
11090
|
* @return {number}
|
|
11091
11091
|
*/
|
|
11092
11092
|
proto.bonus.UserBonusItem.prototype.getActivationEndInMilliseconds = function() {
|
|
@@ -11122,7 +11122,7 @@ proto.bonus.UserBonusItem.prototype.hasActivationEndInMilliseconds = function()
|
|
|
11122
11122
|
|
|
11123
11123
|
|
|
11124
11124
|
/**
|
|
11125
|
-
* optional
|
|
11125
|
+
* optional int64 wagering_end_in_milliseconds = 21;
|
|
11126
11126
|
* @return {number}
|
|
11127
11127
|
*/
|
|
11128
11128
|
proto.bonus.UserBonusItem.prototype.getWageringEndInMilliseconds = function() {
|
|
@@ -15056,7 +15056,7 @@ proto.bonus.ActiveWageringUserBonusItem.deserializeBinaryFromReader = function(m
|
|
|
15056
15056
|
msg.setTotalWagerAmount(value);
|
|
15057
15057
|
break;
|
|
15058
15058
|
case 7:
|
|
15059
|
-
var value = /** @type {number} */ (reader.
|
|
15059
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
15060
15060
|
msg.setWageringEndInMilliseconds(value);
|
|
15061
15061
|
break;
|
|
15062
15062
|
case 8:
|
|
@@ -15140,7 +15140,7 @@ proto.bonus.ActiveWageringUserBonusItem.serializeBinaryToWriter = function(messa
|
|
|
15140
15140
|
}
|
|
15141
15141
|
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
|
15142
15142
|
if (f != null) {
|
|
15143
|
-
writer.
|
|
15143
|
+
writer.writeInt64(
|
|
15144
15144
|
7,
|
|
15145
15145
|
f
|
|
15146
15146
|
);
|
|
@@ -15361,7 +15361,7 @@ proto.bonus.ActiveWageringUserBonusItem.prototype.hasTotalWagerAmount = function
|
|
|
15361
15361
|
|
|
15362
15362
|
|
|
15363
15363
|
/**
|
|
15364
|
-
* optional
|
|
15364
|
+
* optional int64 wagering_end_in_milliseconds = 7;
|
|
15365
15365
|
* @return {number}
|
|
15366
15366
|
*/
|
|
15367
15367
|
proto.bonus.ActiveWageringUserBonusItem.prototype.getWageringEndInMilliseconds = function() {
|
|
@@ -15485,8 +15485,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
15485
15485
|
* http://goto/soy-param-migration
|
|
15486
15486
|
* @return {!Object}
|
|
15487
15487
|
*/
|
|
15488
|
-
proto.bonus.
|
|
15489
|
-
return proto.bonus.
|
|
15488
|
+
proto.bonus.GetCommonUserBonusItemsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
15489
|
+
return proto.bonus.GetCommonUserBonusItemsRequest.toObject(opt_includeInstance, this);
|
|
15490
15490
|
};
|
|
15491
15491
|
|
|
15492
15492
|
|
|
@@ -15495,11 +15495,11 @@ proto.bonus.GetLoggedInUserBonusItemsRequest.prototype.toObject = function(opt_i
|
|
|
15495
15495
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
15496
15496
|
* the JSPB instance for transitional soy proto support:
|
|
15497
15497
|
* http://goto/soy-param-migration
|
|
15498
|
-
* @param {!proto.bonus.
|
|
15498
|
+
* @param {!proto.bonus.GetCommonUserBonusItemsRequest} msg The msg instance to transform.
|
|
15499
15499
|
* @return {!Object}
|
|
15500
15500
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15501
15501
|
*/
|
|
15502
|
-
proto.bonus.
|
|
15502
|
+
proto.bonus.GetCommonUserBonusItemsRequest.toObject = function(includeInstance, msg) {
|
|
15503
15503
|
var f, obj = {
|
|
15504
15504
|
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
15505
15505
|
currency: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
@@ -15519,23 +15519,23 @@ proto.bonus.GetLoggedInUserBonusItemsRequest.toObject = function(includeInstance
|
|
|
15519
15519
|
/**
|
|
15520
15520
|
* Deserializes binary data (in protobuf wire format).
|
|
15521
15521
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
15522
|
-
* @return {!proto.bonus.
|
|
15522
|
+
* @return {!proto.bonus.GetCommonUserBonusItemsRequest}
|
|
15523
15523
|
*/
|
|
15524
|
-
proto.bonus.
|
|
15524
|
+
proto.bonus.GetCommonUserBonusItemsRequest.deserializeBinary = function(bytes) {
|
|
15525
15525
|
var reader = new jspb.BinaryReader(bytes);
|
|
15526
|
-
var msg = new proto.bonus.
|
|
15527
|
-
return proto.bonus.
|
|
15526
|
+
var msg = new proto.bonus.GetCommonUserBonusItemsRequest;
|
|
15527
|
+
return proto.bonus.GetCommonUserBonusItemsRequest.deserializeBinaryFromReader(msg, reader);
|
|
15528
15528
|
};
|
|
15529
15529
|
|
|
15530
15530
|
|
|
15531
15531
|
/**
|
|
15532
15532
|
* Deserializes binary data (in protobuf wire format) from the
|
|
15533
15533
|
* given reader into the given message object.
|
|
15534
|
-
* @param {!proto.bonus.
|
|
15534
|
+
* @param {!proto.bonus.GetCommonUserBonusItemsRequest} msg The message object to deserialize into.
|
|
15535
15535
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
15536
|
-
* @return {!proto.bonus.
|
|
15536
|
+
* @return {!proto.bonus.GetCommonUserBonusItemsRequest}
|
|
15537
15537
|
*/
|
|
15538
|
-
proto.bonus.
|
|
15538
|
+
proto.bonus.GetCommonUserBonusItemsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
15539
15539
|
while (reader.nextField()) {
|
|
15540
15540
|
if (reader.isEndGroup()) {
|
|
15541
15541
|
break;
|
|
@@ -15575,9 +15575,9 @@ proto.bonus.GetLoggedInUserBonusItemsRequest.deserializeBinaryFromReader = funct
|
|
|
15575
15575
|
* Serializes the message to binary data (in protobuf wire format).
|
|
15576
15576
|
* @return {!Uint8Array}
|
|
15577
15577
|
*/
|
|
15578
|
-
proto.bonus.
|
|
15578
|
+
proto.bonus.GetCommonUserBonusItemsRequest.prototype.serializeBinary = function() {
|
|
15579
15579
|
var writer = new jspb.BinaryWriter();
|
|
15580
|
-
proto.bonus.
|
|
15580
|
+
proto.bonus.GetCommonUserBonusItemsRequest.serializeBinaryToWriter(this, writer);
|
|
15581
15581
|
return writer.getResultBuffer();
|
|
15582
15582
|
};
|
|
15583
15583
|
|
|
@@ -15585,11 +15585,11 @@ proto.bonus.GetLoggedInUserBonusItemsRequest.prototype.serializeBinary = functio
|
|
|
15585
15585
|
/**
|
|
15586
15586
|
* Serializes the given message to binary data (in protobuf wire
|
|
15587
15587
|
* format), writing to the given BinaryWriter.
|
|
15588
|
-
* @param {!proto.bonus.
|
|
15588
|
+
* @param {!proto.bonus.GetCommonUserBonusItemsRequest} message
|
|
15589
15589
|
* @param {!jspb.BinaryWriter} writer
|
|
15590
15590
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15591
15591
|
*/
|
|
15592
|
-
proto.bonus.
|
|
15592
|
+
proto.bonus.GetCommonUserBonusItemsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
15593
15593
|
var f = undefined;
|
|
15594
15594
|
f = message.getUserId();
|
|
15595
15595
|
if (f !== 0) {
|
|
@@ -15633,16 +15633,16 @@ proto.bonus.GetLoggedInUserBonusItemsRequest.serializeBinaryToWriter = function(
|
|
|
15633
15633
|
* optional int32 user_id = 1;
|
|
15634
15634
|
* @return {number}
|
|
15635
15635
|
*/
|
|
15636
|
-
proto.bonus.
|
|
15636
|
+
proto.bonus.GetCommonUserBonusItemsRequest.prototype.getUserId = function() {
|
|
15637
15637
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
15638
15638
|
};
|
|
15639
15639
|
|
|
15640
15640
|
|
|
15641
15641
|
/**
|
|
15642
15642
|
* @param {number} value
|
|
15643
|
-
* @return {!proto.bonus.
|
|
15643
|
+
* @return {!proto.bonus.GetCommonUserBonusItemsRequest} returns this
|
|
15644
15644
|
*/
|
|
15645
|
-
proto.bonus.
|
|
15645
|
+
proto.bonus.GetCommonUserBonusItemsRequest.prototype.setUserId = function(value) {
|
|
15646
15646
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
15647
15647
|
};
|
|
15648
15648
|
|
|
@@ -15651,25 +15651,25 @@ proto.bonus.GetLoggedInUserBonusItemsRequest.prototype.setUserId = function(valu
|
|
|
15651
15651
|
* optional string currency = 2;
|
|
15652
15652
|
* @return {string}
|
|
15653
15653
|
*/
|
|
15654
|
-
proto.bonus.
|
|
15654
|
+
proto.bonus.GetCommonUserBonusItemsRequest.prototype.getCurrency = function() {
|
|
15655
15655
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
15656
15656
|
};
|
|
15657
15657
|
|
|
15658
15658
|
|
|
15659
15659
|
/**
|
|
15660
15660
|
* @param {string} value
|
|
15661
|
-
* @return {!proto.bonus.
|
|
15661
|
+
* @return {!proto.bonus.GetCommonUserBonusItemsRequest} returns this
|
|
15662
15662
|
*/
|
|
15663
|
-
proto.bonus.
|
|
15663
|
+
proto.bonus.GetCommonUserBonusItemsRequest.prototype.setCurrency = function(value) {
|
|
15664
15664
|
return jspb.Message.setField(this, 2, value);
|
|
15665
15665
|
};
|
|
15666
15666
|
|
|
15667
15667
|
|
|
15668
15668
|
/**
|
|
15669
15669
|
* Clears the field making it undefined.
|
|
15670
|
-
* @return {!proto.bonus.
|
|
15670
|
+
* @return {!proto.bonus.GetCommonUserBonusItemsRequest} returns this
|
|
15671
15671
|
*/
|
|
15672
|
-
proto.bonus.
|
|
15672
|
+
proto.bonus.GetCommonUserBonusItemsRequest.prototype.clearCurrency = function() {
|
|
15673
15673
|
return jspb.Message.setField(this, 2, undefined);
|
|
15674
15674
|
};
|
|
15675
15675
|
|
|
@@ -15678,7 +15678,7 @@ proto.bonus.GetLoggedInUserBonusItemsRequest.prototype.clearCurrency = function(
|
|
|
15678
15678
|
* Returns whether this field is set.
|
|
15679
15679
|
* @return {boolean}
|
|
15680
15680
|
*/
|
|
15681
|
-
proto.bonus.
|
|
15681
|
+
proto.bonus.GetCommonUserBonusItemsRequest.prototype.hasCurrency = function() {
|
|
15682
15682
|
return jspb.Message.getField(this, 2) != null;
|
|
15683
15683
|
};
|
|
15684
15684
|
|
|
@@ -15687,25 +15687,25 @@ proto.bonus.GetLoggedInUserBonusItemsRequest.prototype.hasCurrency = function()
|
|
|
15687
15687
|
* optional string country = 3;
|
|
15688
15688
|
* @return {string}
|
|
15689
15689
|
*/
|
|
15690
|
-
proto.bonus.
|
|
15690
|
+
proto.bonus.GetCommonUserBonusItemsRequest.prototype.getCountry = function() {
|
|
15691
15691
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
15692
15692
|
};
|
|
15693
15693
|
|
|
15694
15694
|
|
|
15695
15695
|
/**
|
|
15696
15696
|
* @param {string} value
|
|
15697
|
-
* @return {!proto.bonus.
|
|
15697
|
+
* @return {!proto.bonus.GetCommonUserBonusItemsRequest} returns this
|
|
15698
15698
|
*/
|
|
15699
|
-
proto.bonus.
|
|
15699
|
+
proto.bonus.GetCommonUserBonusItemsRequest.prototype.setCountry = function(value) {
|
|
15700
15700
|
return jspb.Message.setField(this, 3, value);
|
|
15701
15701
|
};
|
|
15702
15702
|
|
|
15703
15703
|
|
|
15704
15704
|
/**
|
|
15705
15705
|
* Clears the field making it undefined.
|
|
15706
|
-
* @return {!proto.bonus.
|
|
15706
|
+
* @return {!proto.bonus.GetCommonUserBonusItemsRequest} returns this
|
|
15707
15707
|
*/
|
|
15708
|
-
proto.bonus.
|
|
15708
|
+
proto.bonus.GetCommonUserBonusItemsRequest.prototype.clearCountry = function() {
|
|
15709
15709
|
return jspb.Message.setField(this, 3, undefined);
|
|
15710
15710
|
};
|
|
15711
15711
|
|
|
@@ -15714,7 +15714,7 @@ proto.bonus.GetLoggedInUserBonusItemsRequest.prototype.clearCountry = function()
|
|
|
15714
15714
|
* Returns whether this field is set.
|
|
15715
15715
|
* @return {boolean}
|
|
15716
15716
|
*/
|
|
15717
|
-
proto.bonus.
|
|
15717
|
+
proto.bonus.GetCommonUserBonusItemsRequest.prototype.hasCountry = function() {
|
|
15718
15718
|
return jspb.Message.getField(this, 3) != null;
|
|
15719
15719
|
};
|
|
15720
15720
|
|
|
@@ -15723,25 +15723,25 @@ proto.bonus.GetLoggedInUserBonusItemsRequest.prototype.hasCountry = function() {
|
|
|
15723
15723
|
* optional string locale = 4;
|
|
15724
15724
|
* @return {string}
|
|
15725
15725
|
*/
|
|
15726
|
-
proto.bonus.
|
|
15726
|
+
proto.bonus.GetCommonUserBonusItemsRequest.prototype.getLocale = function() {
|
|
15727
15727
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
15728
15728
|
};
|
|
15729
15729
|
|
|
15730
15730
|
|
|
15731
15731
|
/**
|
|
15732
15732
|
* @param {string} value
|
|
15733
|
-
* @return {!proto.bonus.
|
|
15733
|
+
* @return {!proto.bonus.GetCommonUserBonusItemsRequest} returns this
|
|
15734
15734
|
*/
|
|
15735
|
-
proto.bonus.
|
|
15735
|
+
proto.bonus.GetCommonUserBonusItemsRequest.prototype.setLocale = function(value) {
|
|
15736
15736
|
return jspb.Message.setField(this, 4, value);
|
|
15737
15737
|
};
|
|
15738
15738
|
|
|
15739
15739
|
|
|
15740
15740
|
/**
|
|
15741
15741
|
* Clears the field making it undefined.
|
|
15742
|
-
* @return {!proto.bonus.
|
|
15742
|
+
* @return {!proto.bonus.GetCommonUserBonusItemsRequest} returns this
|
|
15743
15743
|
*/
|
|
15744
|
-
proto.bonus.
|
|
15744
|
+
proto.bonus.GetCommonUserBonusItemsRequest.prototype.clearLocale = function() {
|
|
15745
15745
|
return jspb.Message.setField(this, 4, undefined);
|
|
15746
15746
|
};
|
|
15747
15747
|
|
|
@@ -15750,7 +15750,7 @@ proto.bonus.GetLoggedInUserBonusItemsRequest.prototype.clearLocale = function()
|
|
|
15750
15750
|
* Returns whether this field is set.
|
|
15751
15751
|
* @return {boolean}
|
|
15752
15752
|
*/
|
|
15753
|
-
proto.bonus.
|
|
15753
|
+
proto.bonus.GetCommonUserBonusItemsRequest.prototype.hasLocale = function() {
|
|
15754
15754
|
return jspb.Message.getField(this, 4) != null;
|
|
15755
15755
|
};
|
|
15756
15756
|
|
|
@@ -15759,25 +15759,25 @@ proto.bonus.GetLoggedInUserBonusItemsRequest.prototype.hasLocale = function() {
|
|
|
15759
15759
|
* optional bool is_mobile = 5;
|
|
15760
15760
|
* @return {boolean}
|
|
15761
15761
|
*/
|
|
15762
|
-
proto.bonus.
|
|
15762
|
+
proto.bonus.GetCommonUserBonusItemsRequest.prototype.getIsMobile = function() {
|
|
15763
15763
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
15764
15764
|
};
|
|
15765
15765
|
|
|
15766
15766
|
|
|
15767
15767
|
/**
|
|
15768
15768
|
* @param {boolean} value
|
|
15769
|
-
* @return {!proto.bonus.
|
|
15769
|
+
* @return {!proto.bonus.GetCommonUserBonusItemsRequest} returns this
|
|
15770
15770
|
*/
|
|
15771
|
-
proto.bonus.
|
|
15771
|
+
proto.bonus.GetCommonUserBonusItemsRequest.prototype.setIsMobile = function(value) {
|
|
15772
15772
|
return jspb.Message.setField(this, 5, value);
|
|
15773
15773
|
};
|
|
15774
15774
|
|
|
15775
15775
|
|
|
15776
15776
|
/**
|
|
15777
15777
|
* Clears the field making it undefined.
|
|
15778
|
-
* @return {!proto.bonus.
|
|
15778
|
+
* @return {!proto.bonus.GetCommonUserBonusItemsRequest} returns this
|
|
15779
15779
|
*/
|
|
15780
|
-
proto.bonus.
|
|
15780
|
+
proto.bonus.GetCommonUserBonusItemsRequest.prototype.clearIsMobile = function() {
|
|
15781
15781
|
return jspb.Message.setField(this, 5, undefined);
|
|
15782
15782
|
};
|
|
15783
15783
|
|
|
@@ -15786,7 +15786,7 @@ proto.bonus.GetLoggedInUserBonusItemsRequest.prototype.clearIsMobile = function(
|
|
|
15786
15786
|
* Returns whether this field is set.
|
|
15787
15787
|
* @return {boolean}
|
|
15788
15788
|
*/
|
|
15789
|
-
proto.bonus.
|
|
15789
|
+
proto.bonus.GetCommonUserBonusItemsRequest.prototype.hasIsMobile = function() {
|
|
15790
15790
|
return jspb.Message.getField(this, 5) != null;
|
|
15791
15791
|
};
|
|
15792
15792
|
|
|
@@ -15807,8 +15807,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
15807
15807
|
* http://goto/soy-param-migration
|
|
15808
15808
|
* @return {!Object}
|
|
15809
15809
|
*/
|
|
15810
|
-
proto.bonus.
|
|
15811
|
-
return proto.bonus.
|
|
15810
|
+
proto.bonus.GetCommonUserBonusItemsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
15811
|
+
return proto.bonus.GetCommonUserBonusItemsResponse.toObject(opt_includeInstance, this);
|
|
15812
15812
|
};
|
|
15813
15813
|
|
|
15814
15814
|
|
|
@@ -15817,13 +15817,13 @@ proto.bonus.GetLoggedInUserBonusItemsResponse.prototype.toObject = function(opt_
|
|
|
15817
15817
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
15818
15818
|
* the JSPB instance for transitional soy proto support:
|
|
15819
15819
|
* http://goto/soy-param-migration
|
|
15820
|
-
* @param {!proto.bonus.
|
|
15820
|
+
* @param {!proto.bonus.GetCommonUserBonusItemsResponse} msg The msg instance to transform.
|
|
15821
15821
|
* @return {!Object}
|
|
15822
15822
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15823
15823
|
*/
|
|
15824
|
-
proto.bonus.
|
|
15824
|
+
proto.bonus.GetCommonUserBonusItemsResponse.toObject = function(includeInstance, msg) {
|
|
15825
15825
|
var f, obj = {
|
|
15826
|
-
items: (f = msg.getItems()) && proto.bonus.
|
|
15826
|
+
items: (f = msg.getItems()) && proto.bonus.CommonUserBonusItems.toObject(includeInstance, f)
|
|
15827
15827
|
};
|
|
15828
15828
|
|
|
15829
15829
|
if (includeInstance) {
|
|
@@ -15837,23 +15837,23 @@ proto.bonus.GetLoggedInUserBonusItemsResponse.toObject = function(includeInstanc
|
|
|
15837
15837
|
/**
|
|
15838
15838
|
* Deserializes binary data (in protobuf wire format).
|
|
15839
15839
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
15840
|
-
* @return {!proto.bonus.
|
|
15840
|
+
* @return {!proto.bonus.GetCommonUserBonusItemsResponse}
|
|
15841
15841
|
*/
|
|
15842
|
-
proto.bonus.
|
|
15842
|
+
proto.bonus.GetCommonUserBonusItemsResponse.deserializeBinary = function(bytes) {
|
|
15843
15843
|
var reader = new jspb.BinaryReader(bytes);
|
|
15844
|
-
var msg = new proto.bonus.
|
|
15845
|
-
return proto.bonus.
|
|
15844
|
+
var msg = new proto.bonus.GetCommonUserBonusItemsResponse;
|
|
15845
|
+
return proto.bonus.GetCommonUserBonusItemsResponse.deserializeBinaryFromReader(msg, reader);
|
|
15846
15846
|
};
|
|
15847
15847
|
|
|
15848
15848
|
|
|
15849
15849
|
/**
|
|
15850
15850
|
* Deserializes binary data (in protobuf wire format) from the
|
|
15851
15851
|
* given reader into the given message object.
|
|
15852
|
-
* @param {!proto.bonus.
|
|
15852
|
+
* @param {!proto.bonus.GetCommonUserBonusItemsResponse} msg The message object to deserialize into.
|
|
15853
15853
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
15854
|
-
* @return {!proto.bonus.
|
|
15854
|
+
* @return {!proto.bonus.GetCommonUserBonusItemsResponse}
|
|
15855
15855
|
*/
|
|
15856
|
-
proto.bonus.
|
|
15856
|
+
proto.bonus.GetCommonUserBonusItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
15857
15857
|
while (reader.nextField()) {
|
|
15858
15858
|
if (reader.isEndGroup()) {
|
|
15859
15859
|
break;
|
|
@@ -15861,8 +15861,8 @@ proto.bonus.GetLoggedInUserBonusItemsResponse.deserializeBinaryFromReader = func
|
|
|
15861
15861
|
var field = reader.getFieldNumber();
|
|
15862
15862
|
switch (field) {
|
|
15863
15863
|
case 1:
|
|
15864
|
-
var value = new proto.bonus.
|
|
15865
|
-
reader.readMessage(value,proto.bonus.
|
|
15864
|
+
var value = new proto.bonus.CommonUserBonusItems;
|
|
15865
|
+
reader.readMessage(value,proto.bonus.CommonUserBonusItems.deserializeBinaryFromReader);
|
|
15866
15866
|
msg.setItems(value);
|
|
15867
15867
|
break;
|
|
15868
15868
|
default:
|
|
@@ -15878,9 +15878,9 @@ proto.bonus.GetLoggedInUserBonusItemsResponse.deserializeBinaryFromReader = func
|
|
|
15878
15878
|
* Serializes the message to binary data (in protobuf wire format).
|
|
15879
15879
|
* @return {!Uint8Array}
|
|
15880
15880
|
*/
|
|
15881
|
-
proto.bonus.
|
|
15881
|
+
proto.bonus.GetCommonUserBonusItemsResponse.prototype.serializeBinary = function() {
|
|
15882
15882
|
var writer = new jspb.BinaryWriter();
|
|
15883
|
-
proto.bonus.
|
|
15883
|
+
proto.bonus.GetCommonUserBonusItemsResponse.serializeBinaryToWriter(this, writer);
|
|
15884
15884
|
return writer.getResultBuffer();
|
|
15885
15885
|
};
|
|
15886
15886
|
|
|
@@ -15888,47 +15888,47 @@ proto.bonus.GetLoggedInUserBonusItemsResponse.prototype.serializeBinary = functi
|
|
|
15888
15888
|
/**
|
|
15889
15889
|
* Serializes the given message to binary data (in protobuf wire
|
|
15890
15890
|
* format), writing to the given BinaryWriter.
|
|
15891
|
-
* @param {!proto.bonus.
|
|
15891
|
+
* @param {!proto.bonus.GetCommonUserBonusItemsResponse} message
|
|
15892
15892
|
* @param {!jspb.BinaryWriter} writer
|
|
15893
15893
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15894
15894
|
*/
|
|
15895
|
-
proto.bonus.
|
|
15895
|
+
proto.bonus.GetCommonUserBonusItemsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
15896
15896
|
var f = undefined;
|
|
15897
15897
|
f = message.getItems();
|
|
15898
15898
|
if (f != null) {
|
|
15899
15899
|
writer.writeMessage(
|
|
15900
15900
|
1,
|
|
15901
15901
|
f,
|
|
15902
|
-
proto.bonus.
|
|
15902
|
+
proto.bonus.CommonUserBonusItems.serializeBinaryToWriter
|
|
15903
15903
|
);
|
|
15904
15904
|
}
|
|
15905
15905
|
};
|
|
15906
15906
|
|
|
15907
15907
|
|
|
15908
15908
|
/**
|
|
15909
|
-
* optional
|
|
15910
|
-
* @return {?proto.bonus.
|
|
15909
|
+
* optional CommonUserBonusItems items = 1;
|
|
15910
|
+
* @return {?proto.bonus.CommonUserBonusItems}
|
|
15911
15911
|
*/
|
|
15912
|
-
proto.bonus.
|
|
15913
|
-
return /** @type{?proto.bonus.
|
|
15914
|
-
jspb.Message.getWrapperField(this, proto.bonus.
|
|
15912
|
+
proto.bonus.GetCommonUserBonusItemsResponse.prototype.getItems = function() {
|
|
15913
|
+
return /** @type{?proto.bonus.CommonUserBonusItems} */ (
|
|
15914
|
+
jspb.Message.getWrapperField(this, proto.bonus.CommonUserBonusItems, 1));
|
|
15915
15915
|
};
|
|
15916
15916
|
|
|
15917
15917
|
|
|
15918
15918
|
/**
|
|
15919
|
-
* @param {?proto.bonus.
|
|
15920
|
-
* @return {!proto.bonus.
|
|
15919
|
+
* @param {?proto.bonus.CommonUserBonusItems|undefined} value
|
|
15920
|
+
* @return {!proto.bonus.GetCommonUserBonusItemsResponse} returns this
|
|
15921
15921
|
*/
|
|
15922
|
-
proto.bonus.
|
|
15922
|
+
proto.bonus.GetCommonUserBonusItemsResponse.prototype.setItems = function(value) {
|
|
15923
15923
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
15924
15924
|
};
|
|
15925
15925
|
|
|
15926
15926
|
|
|
15927
15927
|
/**
|
|
15928
15928
|
* Clears the message field making it undefined.
|
|
15929
|
-
* @return {!proto.bonus.
|
|
15929
|
+
* @return {!proto.bonus.GetCommonUserBonusItemsResponse} returns this
|
|
15930
15930
|
*/
|
|
15931
|
-
proto.bonus.
|
|
15931
|
+
proto.bonus.GetCommonUserBonusItemsResponse.prototype.clearItems = function() {
|
|
15932
15932
|
return this.setItems(undefined);
|
|
15933
15933
|
};
|
|
15934
15934
|
|
|
@@ -15937,7 +15937,7 @@ proto.bonus.GetLoggedInUserBonusItemsResponse.prototype.clearItems = function()
|
|
|
15937
15937
|
* Returns whether this field is set.
|
|
15938
15938
|
* @return {boolean}
|
|
15939
15939
|
*/
|
|
15940
|
-
proto.bonus.
|
|
15940
|
+
proto.bonus.GetCommonUserBonusItemsResponse.prototype.hasItems = function() {
|
|
15941
15941
|
return jspb.Message.getField(this, 1) != null;
|
|
15942
15942
|
};
|
|
15943
15943
|
|
|
@@ -15948,7 +15948,7 @@ proto.bonus.GetLoggedInUserBonusItemsResponse.prototype.hasItems = function() {
|
|
|
15948
15948
|
* @private {!Array<number>}
|
|
15949
15949
|
* @const
|
|
15950
15950
|
*/
|
|
15951
|
-
proto.bonus.
|
|
15951
|
+
proto.bonus.CommonUserBonusItems.repeatedFields_ = [1,2];
|
|
15952
15952
|
|
|
15953
15953
|
|
|
15954
15954
|
|
|
@@ -15965,8 +15965,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
15965
15965
|
* http://goto/soy-param-migration
|
|
15966
15966
|
* @return {!Object}
|
|
15967
15967
|
*/
|
|
15968
|
-
proto.bonus.
|
|
15969
|
-
return proto.bonus.
|
|
15968
|
+
proto.bonus.CommonUserBonusItems.prototype.toObject = function(opt_includeInstance) {
|
|
15969
|
+
return proto.bonus.CommonUserBonusItems.toObject(opt_includeInstance, this);
|
|
15970
15970
|
};
|
|
15971
15971
|
|
|
15972
15972
|
|
|
@@ -15975,11 +15975,11 @@ proto.bonus.LoggedInUserBonusItems.prototype.toObject = function(opt_includeInst
|
|
|
15975
15975
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
15976
15976
|
* the JSPB instance for transitional soy proto support:
|
|
15977
15977
|
* http://goto/soy-param-migration
|
|
15978
|
-
* @param {!proto.bonus.
|
|
15978
|
+
* @param {!proto.bonus.CommonUserBonusItems} msg The msg instance to transform.
|
|
15979
15979
|
* @return {!Object}
|
|
15980
15980
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15981
15981
|
*/
|
|
15982
|
-
proto.bonus.
|
|
15982
|
+
proto.bonus.CommonUserBonusItems.toObject = function(includeInstance, msg) {
|
|
15983
15983
|
var f, obj = {
|
|
15984
15984
|
wageringList: jspb.Message.toObjectList(msg.getWageringList(),
|
|
15985
15985
|
proto.bonus.UserBonusItem.toObject, includeInstance),
|
|
@@ -15998,23 +15998,23 @@ proto.bonus.LoggedInUserBonusItems.toObject = function(includeInstance, msg) {
|
|
|
15998
15998
|
/**
|
|
15999
15999
|
* Deserializes binary data (in protobuf wire format).
|
|
16000
16000
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
16001
|
-
* @return {!proto.bonus.
|
|
16001
|
+
* @return {!proto.bonus.CommonUserBonusItems}
|
|
16002
16002
|
*/
|
|
16003
|
-
proto.bonus.
|
|
16003
|
+
proto.bonus.CommonUserBonusItems.deserializeBinary = function(bytes) {
|
|
16004
16004
|
var reader = new jspb.BinaryReader(bytes);
|
|
16005
|
-
var msg = new proto.bonus.
|
|
16006
|
-
return proto.bonus.
|
|
16005
|
+
var msg = new proto.bonus.CommonUserBonusItems;
|
|
16006
|
+
return proto.bonus.CommonUserBonusItems.deserializeBinaryFromReader(msg, reader);
|
|
16007
16007
|
};
|
|
16008
16008
|
|
|
16009
16009
|
|
|
16010
16010
|
/**
|
|
16011
16011
|
* Deserializes binary data (in protobuf wire format) from the
|
|
16012
16012
|
* given reader into the given message object.
|
|
16013
|
-
* @param {!proto.bonus.
|
|
16013
|
+
* @param {!proto.bonus.CommonUserBonusItems} msg The message object to deserialize into.
|
|
16014
16014
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
16015
|
-
* @return {!proto.bonus.
|
|
16015
|
+
* @return {!proto.bonus.CommonUserBonusItems}
|
|
16016
16016
|
*/
|
|
16017
|
-
proto.bonus.
|
|
16017
|
+
proto.bonus.CommonUserBonusItems.deserializeBinaryFromReader = function(msg, reader) {
|
|
16018
16018
|
while (reader.nextField()) {
|
|
16019
16019
|
if (reader.isEndGroup()) {
|
|
16020
16020
|
break;
|
|
@@ -16044,9 +16044,9 @@ proto.bonus.LoggedInUserBonusItems.deserializeBinaryFromReader = function(msg, r
|
|
|
16044
16044
|
* Serializes the message to binary data (in protobuf wire format).
|
|
16045
16045
|
* @return {!Uint8Array}
|
|
16046
16046
|
*/
|
|
16047
|
-
proto.bonus.
|
|
16047
|
+
proto.bonus.CommonUserBonusItems.prototype.serializeBinary = function() {
|
|
16048
16048
|
var writer = new jspb.BinaryWriter();
|
|
16049
|
-
proto.bonus.
|
|
16049
|
+
proto.bonus.CommonUserBonusItems.serializeBinaryToWriter(this, writer);
|
|
16050
16050
|
return writer.getResultBuffer();
|
|
16051
16051
|
};
|
|
16052
16052
|
|
|
@@ -16054,11 +16054,11 @@ proto.bonus.LoggedInUserBonusItems.prototype.serializeBinary = function() {
|
|
|
16054
16054
|
/**
|
|
16055
16055
|
* Serializes the given message to binary data (in protobuf wire
|
|
16056
16056
|
* format), writing to the given BinaryWriter.
|
|
16057
|
-
* @param {!proto.bonus.
|
|
16057
|
+
* @param {!proto.bonus.CommonUserBonusItems} message
|
|
16058
16058
|
* @param {!jspb.BinaryWriter} writer
|
|
16059
16059
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16060
16060
|
*/
|
|
16061
|
-
proto.bonus.
|
|
16061
|
+
proto.bonus.CommonUserBonusItems.serializeBinaryToWriter = function(message, writer) {
|
|
16062
16062
|
var f = undefined;
|
|
16063
16063
|
f = message.getWageringList();
|
|
16064
16064
|
if (f.length > 0) {
|
|
@@ -16083,7 +16083,7 @@ proto.bonus.LoggedInUserBonusItems.serializeBinaryToWriter = function(message, w
|
|
|
16083
16083
|
* repeated UserBonusItem wagering = 1;
|
|
16084
16084
|
* @return {!Array<!proto.bonus.UserBonusItem>}
|
|
16085
16085
|
*/
|
|
16086
|
-
proto.bonus.
|
|
16086
|
+
proto.bonus.CommonUserBonusItems.prototype.getWageringList = function() {
|
|
16087
16087
|
return /** @type{!Array<!proto.bonus.UserBonusItem>} */ (
|
|
16088
16088
|
jspb.Message.getRepeatedWrapperField(this, proto.bonus.UserBonusItem, 1));
|
|
16089
16089
|
};
|
|
@@ -16091,9 +16091,9 @@ proto.bonus.LoggedInUserBonusItems.prototype.getWageringList = function() {
|
|
|
16091
16091
|
|
|
16092
16092
|
/**
|
|
16093
16093
|
* @param {!Array<!proto.bonus.UserBonusItem>} value
|
|
16094
|
-
* @return {!proto.bonus.
|
|
16094
|
+
* @return {!proto.bonus.CommonUserBonusItems} returns this
|
|
16095
16095
|
*/
|
|
16096
|
-
proto.bonus.
|
|
16096
|
+
proto.bonus.CommonUserBonusItems.prototype.setWageringList = function(value) {
|
|
16097
16097
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
16098
16098
|
};
|
|
16099
16099
|
|
|
@@ -16103,16 +16103,16 @@ proto.bonus.LoggedInUserBonusItems.prototype.setWageringList = function(value) {
|
|
|
16103
16103
|
* @param {number=} opt_index
|
|
16104
16104
|
* @return {!proto.bonus.UserBonusItem}
|
|
16105
16105
|
*/
|
|
16106
|
-
proto.bonus.
|
|
16106
|
+
proto.bonus.CommonUserBonusItems.prototype.addWagering = function(opt_value, opt_index) {
|
|
16107
16107
|
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.bonus.UserBonusItem, opt_index);
|
|
16108
16108
|
};
|
|
16109
16109
|
|
|
16110
16110
|
|
|
16111
16111
|
/**
|
|
16112
16112
|
* Clears the list making it empty but non-null.
|
|
16113
|
-
* @return {!proto.bonus.
|
|
16113
|
+
* @return {!proto.bonus.CommonUserBonusItems} returns this
|
|
16114
16114
|
*/
|
|
16115
|
-
proto.bonus.
|
|
16115
|
+
proto.bonus.CommonUserBonusItems.prototype.clearWageringList = function() {
|
|
16116
16116
|
return this.setWageringList([]);
|
|
16117
16117
|
};
|
|
16118
16118
|
|
|
@@ -16121,7 +16121,7 @@ proto.bonus.LoggedInUserBonusItems.prototype.clearWageringList = function() {
|
|
|
16121
16121
|
* repeated UserBonusItem all = 2;
|
|
16122
16122
|
* @return {!Array<!proto.bonus.UserBonusItem>}
|
|
16123
16123
|
*/
|
|
16124
|
-
proto.bonus.
|
|
16124
|
+
proto.bonus.CommonUserBonusItems.prototype.getAllList = function() {
|
|
16125
16125
|
return /** @type{!Array<!proto.bonus.UserBonusItem>} */ (
|
|
16126
16126
|
jspb.Message.getRepeatedWrapperField(this, proto.bonus.UserBonusItem, 2));
|
|
16127
16127
|
};
|
|
@@ -16129,9 +16129,9 @@ proto.bonus.LoggedInUserBonusItems.prototype.getAllList = function() {
|
|
|
16129
16129
|
|
|
16130
16130
|
/**
|
|
16131
16131
|
* @param {!Array<!proto.bonus.UserBonusItem>} value
|
|
16132
|
-
* @return {!proto.bonus.
|
|
16132
|
+
* @return {!proto.bonus.CommonUserBonusItems} returns this
|
|
16133
16133
|
*/
|
|
16134
|
-
proto.bonus.
|
|
16134
|
+
proto.bonus.CommonUserBonusItems.prototype.setAllList = function(value) {
|
|
16135
16135
|
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
16136
16136
|
};
|
|
16137
16137
|
|
|
@@ -16141,16 +16141,16 @@ proto.bonus.LoggedInUserBonusItems.prototype.setAllList = function(value) {
|
|
|
16141
16141
|
* @param {number=} opt_index
|
|
16142
16142
|
* @return {!proto.bonus.UserBonusItem}
|
|
16143
16143
|
*/
|
|
16144
|
-
proto.bonus.
|
|
16144
|
+
proto.bonus.CommonUserBonusItems.prototype.addAll = function(opt_value, opt_index) {
|
|
16145
16145
|
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.bonus.UserBonusItem, opt_index);
|
|
16146
16146
|
};
|
|
16147
16147
|
|
|
16148
16148
|
|
|
16149
16149
|
/**
|
|
16150
16150
|
* Clears the list making it empty but non-null.
|
|
16151
|
-
* @return {!proto.bonus.
|
|
16151
|
+
* @return {!proto.bonus.CommonUserBonusItems} returns this
|
|
16152
16152
|
*/
|
|
16153
|
-
proto.bonus.
|
|
16153
|
+
proto.bonus.CommonUserBonusItems.prototype.clearAllList = function() {
|
|
16154
16154
|
return this.setAllList([]);
|
|
16155
16155
|
};
|
|
16156
16156
|
|
package/cms/cms.proto
CHANGED
|
@@ -656,6 +656,7 @@ message CustomWidgetRequest {
|
|
|
656
656
|
optional int32 is_active = 4;
|
|
657
657
|
repeated string geo = 5;
|
|
658
658
|
repeated CustomWidgetRow items = 6;
|
|
659
|
+
optional bool replace_items = 7;
|
|
659
660
|
}
|
|
660
661
|
message CustomWidgetRow {
|
|
661
662
|
optional string item_type = 1; // validated against runtime customWidgetItems keys
|
package/cms/cms_pb.js
CHANGED
|
@@ -27565,7 +27565,8 @@ proto.cms.CustomWidgetRequest.toObject = function(includeInstance, msg) {
|
|
|
27565
27565
|
isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
27566
27566
|
geoList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
27567
27567
|
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
27568
|
-
proto.cms.CustomWidgetRow.toObject, includeInstance)
|
|
27568
|
+
proto.cms.CustomWidgetRow.toObject, includeInstance),
|
|
27569
|
+
replaceItems: jspb.Message.getBooleanFieldWithDefault(msg, 7, false)
|
|
27569
27570
|
};
|
|
27570
27571
|
|
|
27571
27572
|
if (includeInstance) {
|
|
@@ -27627,6 +27628,10 @@ proto.cms.CustomWidgetRequest.deserializeBinaryFromReader = function(msg, reader
|
|
|
27627
27628
|
reader.readMessage(value,proto.cms.CustomWidgetRow.deserializeBinaryFromReader);
|
|
27628
27629
|
msg.addItems(value);
|
|
27629
27630
|
break;
|
|
27631
|
+
case 7:
|
|
27632
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
27633
|
+
msg.setReplaceItems(value);
|
|
27634
|
+
break;
|
|
27630
27635
|
default:
|
|
27631
27636
|
reader.skipField();
|
|
27632
27637
|
break;
|
|
@@ -27699,6 +27704,13 @@ proto.cms.CustomWidgetRequest.serializeBinaryToWriter = function(message, writer
|
|
|
27699
27704
|
proto.cms.CustomWidgetRow.serializeBinaryToWriter
|
|
27700
27705
|
);
|
|
27701
27706
|
}
|
|
27707
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 7));
|
|
27708
|
+
if (f != null) {
|
|
27709
|
+
writer.writeBool(
|
|
27710
|
+
7,
|
|
27711
|
+
f
|
|
27712
|
+
);
|
|
27713
|
+
}
|
|
27702
27714
|
};
|
|
27703
27715
|
|
|
27704
27716
|
|
|
@@ -27921,6 +27933,42 @@ proto.cms.CustomWidgetRequest.prototype.clearItemsList = function() {
|
|
|
27921
27933
|
};
|
|
27922
27934
|
|
|
27923
27935
|
|
|
27936
|
+
/**
|
|
27937
|
+
* optional bool replace_items = 7;
|
|
27938
|
+
* @return {boolean}
|
|
27939
|
+
*/
|
|
27940
|
+
proto.cms.CustomWidgetRequest.prototype.getReplaceItems = function() {
|
|
27941
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
|
|
27942
|
+
};
|
|
27943
|
+
|
|
27944
|
+
|
|
27945
|
+
/**
|
|
27946
|
+
* @param {boolean} value
|
|
27947
|
+
* @return {!proto.cms.CustomWidgetRequest} returns this
|
|
27948
|
+
*/
|
|
27949
|
+
proto.cms.CustomWidgetRequest.prototype.setReplaceItems = function(value) {
|
|
27950
|
+
return jspb.Message.setField(this, 7, value);
|
|
27951
|
+
};
|
|
27952
|
+
|
|
27953
|
+
|
|
27954
|
+
/**
|
|
27955
|
+
* Clears the field making it undefined.
|
|
27956
|
+
* @return {!proto.cms.CustomWidgetRequest} returns this
|
|
27957
|
+
*/
|
|
27958
|
+
proto.cms.CustomWidgetRequest.prototype.clearReplaceItems = function() {
|
|
27959
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
27960
|
+
};
|
|
27961
|
+
|
|
27962
|
+
|
|
27963
|
+
/**
|
|
27964
|
+
* Returns whether this field is set.
|
|
27965
|
+
* @return {boolean}
|
|
27966
|
+
*/
|
|
27967
|
+
proto.cms.CustomWidgetRequest.prototype.hasReplaceItems = function() {
|
|
27968
|
+
return jspb.Message.getField(this, 7) != null;
|
|
27969
|
+
};
|
|
27970
|
+
|
|
27971
|
+
|
|
27924
27972
|
|
|
27925
27973
|
|
|
27926
27974
|
|