protobuf-platform 1.2.421 → 1.2.423
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/cms/cms.proto +16 -0
- package/cms/cms_grpc_pb.js +66 -0
- package/cms/cms_pb.js +678 -0
- package/loyalty/loyalty.proto +2 -0
- package/loyalty/loyalty_pb.js +97 -1
- package/package.json +1 -1
package/cms/cms.proto
CHANGED
|
@@ -9,6 +9,9 @@ service CMS {
|
|
|
9
9
|
rpc setMainPageWidget(CommonWidgetRequest) returns (MainPageWidgetItem);
|
|
10
10
|
rpc getMainPageWidget(GetMainPageWidgetRequest) returns (MainPageWidgetItem);
|
|
11
11
|
rpc getMainPageWidgetList(GetMainPageWidgetRequest) returns (MainPageWidgetResponse);
|
|
12
|
+
rpc setCasinoPageWidget(CommonWidgetRequest) returns (CasinoPageWidgetItem);
|
|
13
|
+
rpc getCasinoPageWidget(GetCasinoPageWidgetRequest) returns (CasinoPageWidgetItem);
|
|
14
|
+
rpc getCasinoPageWidgetList(GetCasinoPageWidgetRequest) returns (CasinoPageWidgetResponse);
|
|
12
15
|
rpc setBurgerMenuWidget(CommonWidgetRequest) returns (BurgerMenuWidgetItem);
|
|
13
16
|
rpc getBurgerMenuWidget(GetBurgerMenuWidgetRequest) returns (BurgerMenuWidgetItem);
|
|
14
17
|
rpc setSignUpFormWidget(CommonWidgetRequest) returns (SignUpFormWidgetItem);
|
|
@@ -186,6 +189,19 @@ message MainPageWidgetItem {
|
|
|
186
189
|
message MainPageWidgetResponse {
|
|
187
190
|
repeated MainPageWidgetItem items = 1;
|
|
188
191
|
}
|
|
192
|
+
message GetCasinoPageWidgetRequest {
|
|
193
|
+
optional string geo = 1;
|
|
194
|
+
optional bool is_mobile = 2;
|
|
195
|
+
optional bool admin_side = 3;
|
|
196
|
+
}
|
|
197
|
+
message CasinoPageWidgetItem {
|
|
198
|
+
string geo = 1;
|
|
199
|
+
string content = 2;
|
|
200
|
+
optional bool is_enabled = 3;
|
|
201
|
+
}
|
|
202
|
+
message CasinoPageWidgetResponse {
|
|
203
|
+
repeated CasinoPageWidgetItem items = 1;
|
|
204
|
+
}
|
|
189
205
|
message GetBurgerMenuWidgetRequest {
|
|
190
206
|
optional string geo = 1;
|
|
191
207
|
optional bool is_mobile = 2;
|
package/cms/cms_grpc_pb.js
CHANGED
|
@@ -92,6 +92,28 @@ function deserialize_cms_BurgerMenuWidgetItem(buffer_arg) {
|
|
|
92
92
|
return cms_pb.BurgerMenuWidgetItem.deserializeBinary(new Uint8Array(buffer_arg));
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
+
function serialize_cms_CasinoPageWidgetItem(arg) {
|
|
96
|
+
if (!(arg instanceof cms_pb.CasinoPageWidgetItem)) {
|
|
97
|
+
throw new Error('Expected argument of type cms.CasinoPageWidgetItem');
|
|
98
|
+
}
|
|
99
|
+
return Buffer.from(arg.serializeBinary());
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
function deserialize_cms_CasinoPageWidgetItem(buffer_arg) {
|
|
103
|
+
return cms_pb.CasinoPageWidgetItem.deserializeBinary(new Uint8Array(buffer_arg));
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
function serialize_cms_CasinoPageWidgetResponse(arg) {
|
|
107
|
+
if (!(arg instanceof cms_pb.CasinoPageWidgetResponse)) {
|
|
108
|
+
throw new Error('Expected argument of type cms.CasinoPageWidgetResponse');
|
|
109
|
+
}
|
|
110
|
+
return Buffer.from(arg.serializeBinary());
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
function deserialize_cms_CasinoPageWidgetResponse(buffer_arg) {
|
|
114
|
+
return cms_pb.CasinoPageWidgetResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
115
|
+
}
|
|
116
|
+
|
|
95
117
|
function serialize_cms_CommonWidgetRequest(arg) {
|
|
96
118
|
if (!(arg instanceof cms_pb.CommonWidgetRequest)) {
|
|
97
119
|
throw new Error('Expected argument of type cms.CommonWidgetRequest');
|
|
@@ -576,6 +598,17 @@ function deserialize_cms_GetBurgerMenuWidgetRequest(buffer_arg) {
|
|
|
576
598
|
return cms_pb.GetBurgerMenuWidgetRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
577
599
|
}
|
|
578
600
|
|
|
601
|
+
function serialize_cms_GetCasinoPageWidgetRequest(arg) {
|
|
602
|
+
if (!(arg instanceof cms_pb.GetCasinoPageWidgetRequest)) {
|
|
603
|
+
throw new Error('Expected argument of type cms.GetCasinoPageWidgetRequest');
|
|
604
|
+
}
|
|
605
|
+
return Buffer.from(arg.serializeBinary());
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
function deserialize_cms_GetCasinoPageWidgetRequest(buffer_arg) {
|
|
609
|
+
return cms_pb.GetCasinoPageWidgetRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
610
|
+
}
|
|
611
|
+
|
|
579
612
|
function serialize_cms_GetCustomWidgetForUserRequest(arg) {
|
|
580
613
|
if (!(arg instanceof cms_pb.GetCustomWidgetForUserRequest)) {
|
|
581
614
|
throw new Error('Expected argument of type cms.GetCustomWidgetForUserRequest');
|
|
@@ -1437,6 +1470,39 @@ setMainPageWidget: {
|
|
|
1437
1470
|
responseSerialize: serialize_cms_MainPageWidgetResponse,
|
|
1438
1471
|
responseDeserialize: deserialize_cms_MainPageWidgetResponse,
|
|
1439
1472
|
},
|
|
1473
|
+
setCasinoPageWidget: {
|
|
1474
|
+
path: '/cms.CMS/setCasinoPageWidget',
|
|
1475
|
+
requestStream: false,
|
|
1476
|
+
responseStream: false,
|
|
1477
|
+
requestType: cms_pb.CommonWidgetRequest,
|
|
1478
|
+
responseType: cms_pb.CasinoPageWidgetItem,
|
|
1479
|
+
requestSerialize: serialize_cms_CommonWidgetRequest,
|
|
1480
|
+
requestDeserialize: deserialize_cms_CommonWidgetRequest,
|
|
1481
|
+
responseSerialize: serialize_cms_CasinoPageWidgetItem,
|
|
1482
|
+
responseDeserialize: deserialize_cms_CasinoPageWidgetItem,
|
|
1483
|
+
},
|
|
1484
|
+
getCasinoPageWidget: {
|
|
1485
|
+
path: '/cms.CMS/getCasinoPageWidget',
|
|
1486
|
+
requestStream: false,
|
|
1487
|
+
responseStream: false,
|
|
1488
|
+
requestType: cms_pb.GetCasinoPageWidgetRequest,
|
|
1489
|
+
responseType: cms_pb.CasinoPageWidgetItem,
|
|
1490
|
+
requestSerialize: serialize_cms_GetCasinoPageWidgetRequest,
|
|
1491
|
+
requestDeserialize: deserialize_cms_GetCasinoPageWidgetRequest,
|
|
1492
|
+
responseSerialize: serialize_cms_CasinoPageWidgetItem,
|
|
1493
|
+
responseDeserialize: deserialize_cms_CasinoPageWidgetItem,
|
|
1494
|
+
},
|
|
1495
|
+
getCasinoPageWidgetList: {
|
|
1496
|
+
path: '/cms.CMS/getCasinoPageWidgetList',
|
|
1497
|
+
requestStream: false,
|
|
1498
|
+
responseStream: false,
|
|
1499
|
+
requestType: cms_pb.GetCasinoPageWidgetRequest,
|
|
1500
|
+
responseType: cms_pb.CasinoPageWidgetResponse,
|
|
1501
|
+
requestSerialize: serialize_cms_GetCasinoPageWidgetRequest,
|
|
1502
|
+
requestDeserialize: deserialize_cms_GetCasinoPageWidgetRequest,
|
|
1503
|
+
responseSerialize: serialize_cms_CasinoPageWidgetResponse,
|
|
1504
|
+
responseDeserialize: deserialize_cms_CasinoPageWidgetResponse,
|
|
1505
|
+
},
|
|
1440
1506
|
setBurgerMenuWidget: {
|
|
1441
1507
|
path: '/cms.CMS/setBurgerMenuWidget',
|
|
1442
1508
|
requestStream: false,
|
package/cms/cms_pb.js
CHANGED
|
@@ -35,6 +35,8 @@ goog.exportSymbol('proto.cms.BannerResponse', null, global);
|
|
|
35
35
|
goog.exportSymbol('proto.cms.BannerStatusResponse', null, global);
|
|
36
36
|
goog.exportSymbol('proto.cms.BannerTexts', null, global);
|
|
37
37
|
goog.exportSymbol('proto.cms.BurgerMenuWidgetItem', null, global);
|
|
38
|
+
goog.exportSymbol('proto.cms.CasinoPageWidgetItem', null, global);
|
|
39
|
+
goog.exportSymbol('proto.cms.CasinoPageWidgetResponse', null, global);
|
|
38
40
|
goog.exportSymbol('proto.cms.CommonWidgetRequest', null, global);
|
|
39
41
|
goog.exportSymbol('proto.cms.CustomWidgetItem', null, global);
|
|
40
42
|
goog.exportSymbol('proto.cms.CustomWidgetRequest', null, global);
|
|
@@ -111,6 +113,7 @@ goog.exportSymbol('proto.cms.GameWidgetsItemsResponse', null, global);
|
|
|
111
113
|
goog.exportSymbol('proto.cms.GetBannerGroupRequest', null, global);
|
|
112
114
|
goog.exportSymbol('proto.cms.GetBannerRequest', null, global);
|
|
113
115
|
goog.exportSymbol('proto.cms.GetBurgerMenuWidgetRequest', null, global);
|
|
116
|
+
goog.exportSymbol('proto.cms.GetCasinoPageWidgetRequest', null, global);
|
|
114
117
|
goog.exportSymbol('proto.cms.GetCustomWidgetForUserRequest', null, global);
|
|
115
118
|
goog.exportSymbol('proto.cms.GetCustomWidgetRequest', null, global);
|
|
116
119
|
goog.exportSymbol('proto.cms.GetFileRequest', null, global);
|
|
@@ -411,6 +414,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
411
414
|
*/
|
|
412
415
|
proto.cms.MainPageWidgetResponse.displayName = 'proto.cms.MainPageWidgetResponse';
|
|
413
416
|
}
|
|
417
|
+
/**
|
|
418
|
+
* Generated by JsPbCodeGenerator.
|
|
419
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
420
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
421
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
422
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
423
|
+
* valid.
|
|
424
|
+
* @extends {jspb.Message}
|
|
425
|
+
* @constructor
|
|
426
|
+
*/
|
|
427
|
+
proto.cms.GetCasinoPageWidgetRequest = function(opt_data) {
|
|
428
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
429
|
+
};
|
|
430
|
+
goog.inherits(proto.cms.GetCasinoPageWidgetRequest, jspb.Message);
|
|
431
|
+
if (goog.DEBUG && !COMPILED) {
|
|
432
|
+
/**
|
|
433
|
+
* @public
|
|
434
|
+
* @override
|
|
435
|
+
*/
|
|
436
|
+
proto.cms.GetCasinoPageWidgetRequest.displayName = 'proto.cms.GetCasinoPageWidgetRequest';
|
|
437
|
+
}
|
|
438
|
+
/**
|
|
439
|
+
* Generated by JsPbCodeGenerator.
|
|
440
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
441
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
442
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
443
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
444
|
+
* valid.
|
|
445
|
+
* @extends {jspb.Message}
|
|
446
|
+
* @constructor
|
|
447
|
+
*/
|
|
448
|
+
proto.cms.CasinoPageWidgetItem = function(opt_data) {
|
|
449
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
450
|
+
};
|
|
451
|
+
goog.inherits(proto.cms.CasinoPageWidgetItem, jspb.Message);
|
|
452
|
+
if (goog.DEBUG && !COMPILED) {
|
|
453
|
+
/**
|
|
454
|
+
* @public
|
|
455
|
+
* @override
|
|
456
|
+
*/
|
|
457
|
+
proto.cms.CasinoPageWidgetItem.displayName = 'proto.cms.CasinoPageWidgetItem';
|
|
458
|
+
}
|
|
459
|
+
/**
|
|
460
|
+
* Generated by JsPbCodeGenerator.
|
|
461
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
462
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
463
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
464
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
465
|
+
* valid.
|
|
466
|
+
* @extends {jspb.Message}
|
|
467
|
+
* @constructor
|
|
468
|
+
*/
|
|
469
|
+
proto.cms.CasinoPageWidgetResponse = function(opt_data) {
|
|
470
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.cms.CasinoPageWidgetResponse.repeatedFields_, null);
|
|
471
|
+
};
|
|
472
|
+
goog.inherits(proto.cms.CasinoPageWidgetResponse, jspb.Message);
|
|
473
|
+
if (goog.DEBUG && !COMPILED) {
|
|
474
|
+
/**
|
|
475
|
+
* @public
|
|
476
|
+
* @override
|
|
477
|
+
*/
|
|
478
|
+
proto.cms.CasinoPageWidgetResponse.displayName = 'proto.cms.CasinoPageWidgetResponse';
|
|
479
|
+
}
|
|
414
480
|
/**
|
|
415
481
|
* Generated by JsPbCodeGenerator.
|
|
416
482
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -6095,6 +6161,618 @@ proto.cms.MainPageWidgetResponse.prototype.clearItemsList = function() {
|
|
|
6095
6161
|
|
|
6096
6162
|
|
|
6097
6163
|
|
|
6164
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6165
|
+
/**
|
|
6166
|
+
* Creates an object representation of this proto.
|
|
6167
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6168
|
+
* Optional fields that are not set will be set to undefined.
|
|
6169
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6170
|
+
* For the list of reserved names please see:
|
|
6171
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6172
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6173
|
+
* JSPB instance for transitional soy proto support:
|
|
6174
|
+
* http://goto/soy-param-migration
|
|
6175
|
+
* @return {!Object}
|
|
6176
|
+
*/
|
|
6177
|
+
proto.cms.GetCasinoPageWidgetRequest.prototype.toObject = function(opt_includeInstance) {
|
|
6178
|
+
return proto.cms.GetCasinoPageWidgetRequest.toObject(opt_includeInstance, this);
|
|
6179
|
+
};
|
|
6180
|
+
|
|
6181
|
+
|
|
6182
|
+
/**
|
|
6183
|
+
* Static version of the {@see toObject} method.
|
|
6184
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6185
|
+
* the JSPB instance for transitional soy proto support:
|
|
6186
|
+
* http://goto/soy-param-migration
|
|
6187
|
+
* @param {!proto.cms.GetCasinoPageWidgetRequest} msg The msg instance to transform.
|
|
6188
|
+
* @return {!Object}
|
|
6189
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6190
|
+
*/
|
|
6191
|
+
proto.cms.GetCasinoPageWidgetRequest.toObject = function(includeInstance, msg) {
|
|
6192
|
+
var f, obj = {
|
|
6193
|
+
geo: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6194
|
+
isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
6195
|
+
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
6196
|
+
};
|
|
6197
|
+
|
|
6198
|
+
if (includeInstance) {
|
|
6199
|
+
obj.$jspbMessageInstance = msg;
|
|
6200
|
+
}
|
|
6201
|
+
return obj;
|
|
6202
|
+
};
|
|
6203
|
+
}
|
|
6204
|
+
|
|
6205
|
+
|
|
6206
|
+
/**
|
|
6207
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6208
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6209
|
+
* @return {!proto.cms.GetCasinoPageWidgetRequest}
|
|
6210
|
+
*/
|
|
6211
|
+
proto.cms.GetCasinoPageWidgetRequest.deserializeBinary = function(bytes) {
|
|
6212
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6213
|
+
var msg = new proto.cms.GetCasinoPageWidgetRequest;
|
|
6214
|
+
return proto.cms.GetCasinoPageWidgetRequest.deserializeBinaryFromReader(msg, reader);
|
|
6215
|
+
};
|
|
6216
|
+
|
|
6217
|
+
|
|
6218
|
+
/**
|
|
6219
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6220
|
+
* given reader into the given message object.
|
|
6221
|
+
* @param {!proto.cms.GetCasinoPageWidgetRequest} msg The message object to deserialize into.
|
|
6222
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6223
|
+
* @return {!proto.cms.GetCasinoPageWidgetRequest}
|
|
6224
|
+
*/
|
|
6225
|
+
proto.cms.GetCasinoPageWidgetRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
6226
|
+
while (reader.nextField()) {
|
|
6227
|
+
if (reader.isEndGroup()) {
|
|
6228
|
+
break;
|
|
6229
|
+
}
|
|
6230
|
+
var field = reader.getFieldNumber();
|
|
6231
|
+
switch (field) {
|
|
6232
|
+
case 1:
|
|
6233
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6234
|
+
msg.setGeo(value);
|
|
6235
|
+
break;
|
|
6236
|
+
case 2:
|
|
6237
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6238
|
+
msg.setIsMobile(value);
|
|
6239
|
+
break;
|
|
6240
|
+
case 3:
|
|
6241
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6242
|
+
msg.setAdminSide(value);
|
|
6243
|
+
break;
|
|
6244
|
+
default:
|
|
6245
|
+
reader.skipField();
|
|
6246
|
+
break;
|
|
6247
|
+
}
|
|
6248
|
+
}
|
|
6249
|
+
return msg;
|
|
6250
|
+
};
|
|
6251
|
+
|
|
6252
|
+
|
|
6253
|
+
/**
|
|
6254
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6255
|
+
* @return {!Uint8Array}
|
|
6256
|
+
*/
|
|
6257
|
+
proto.cms.GetCasinoPageWidgetRequest.prototype.serializeBinary = function() {
|
|
6258
|
+
var writer = new jspb.BinaryWriter();
|
|
6259
|
+
proto.cms.GetCasinoPageWidgetRequest.serializeBinaryToWriter(this, writer);
|
|
6260
|
+
return writer.getResultBuffer();
|
|
6261
|
+
};
|
|
6262
|
+
|
|
6263
|
+
|
|
6264
|
+
/**
|
|
6265
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6266
|
+
* format), writing to the given BinaryWriter.
|
|
6267
|
+
* @param {!proto.cms.GetCasinoPageWidgetRequest} message
|
|
6268
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6269
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6270
|
+
*/
|
|
6271
|
+
proto.cms.GetCasinoPageWidgetRequest.serializeBinaryToWriter = function(message, writer) {
|
|
6272
|
+
var f = undefined;
|
|
6273
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
6274
|
+
if (f != null) {
|
|
6275
|
+
writer.writeString(
|
|
6276
|
+
1,
|
|
6277
|
+
f
|
|
6278
|
+
);
|
|
6279
|
+
}
|
|
6280
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 2));
|
|
6281
|
+
if (f != null) {
|
|
6282
|
+
writer.writeBool(
|
|
6283
|
+
2,
|
|
6284
|
+
f
|
|
6285
|
+
);
|
|
6286
|
+
}
|
|
6287
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 3));
|
|
6288
|
+
if (f != null) {
|
|
6289
|
+
writer.writeBool(
|
|
6290
|
+
3,
|
|
6291
|
+
f
|
|
6292
|
+
);
|
|
6293
|
+
}
|
|
6294
|
+
};
|
|
6295
|
+
|
|
6296
|
+
|
|
6297
|
+
/**
|
|
6298
|
+
* optional string geo = 1;
|
|
6299
|
+
* @return {string}
|
|
6300
|
+
*/
|
|
6301
|
+
proto.cms.GetCasinoPageWidgetRequest.prototype.getGeo = function() {
|
|
6302
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
6303
|
+
};
|
|
6304
|
+
|
|
6305
|
+
|
|
6306
|
+
/**
|
|
6307
|
+
* @param {string} value
|
|
6308
|
+
* @return {!proto.cms.GetCasinoPageWidgetRequest} returns this
|
|
6309
|
+
*/
|
|
6310
|
+
proto.cms.GetCasinoPageWidgetRequest.prototype.setGeo = function(value) {
|
|
6311
|
+
return jspb.Message.setField(this, 1, value);
|
|
6312
|
+
};
|
|
6313
|
+
|
|
6314
|
+
|
|
6315
|
+
/**
|
|
6316
|
+
* Clears the field making it undefined.
|
|
6317
|
+
* @return {!proto.cms.GetCasinoPageWidgetRequest} returns this
|
|
6318
|
+
*/
|
|
6319
|
+
proto.cms.GetCasinoPageWidgetRequest.prototype.clearGeo = function() {
|
|
6320
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
6321
|
+
};
|
|
6322
|
+
|
|
6323
|
+
|
|
6324
|
+
/**
|
|
6325
|
+
* Returns whether this field is set.
|
|
6326
|
+
* @return {boolean}
|
|
6327
|
+
*/
|
|
6328
|
+
proto.cms.GetCasinoPageWidgetRequest.prototype.hasGeo = function() {
|
|
6329
|
+
return jspb.Message.getField(this, 1) != null;
|
|
6330
|
+
};
|
|
6331
|
+
|
|
6332
|
+
|
|
6333
|
+
/**
|
|
6334
|
+
* optional bool is_mobile = 2;
|
|
6335
|
+
* @return {boolean}
|
|
6336
|
+
*/
|
|
6337
|
+
proto.cms.GetCasinoPageWidgetRequest.prototype.getIsMobile = function() {
|
|
6338
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
6339
|
+
};
|
|
6340
|
+
|
|
6341
|
+
|
|
6342
|
+
/**
|
|
6343
|
+
* @param {boolean} value
|
|
6344
|
+
* @return {!proto.cms.GetCasinoPageWidgetRequest} returns this
|
|
6345
|
+
*/
|
|
6346
|
+
proto.cms.GetCasinoPageWidgetRequest.prototype.setIsMobile = function(value) {
|
|
6347
|
+
return jspb.Message.setField(this, 2, value);
|
|
6348
|
+
};
|
|
6349
|
+
|
|
6350
|
+
|
|
6351
|
+
/**
|
|
6352
|
+
* Clears the field making it undefined.
|
|
6353
|
+
* @return {!proto.cms.GetCasinoPageWidgetRequest} returns this
|
|
6354
|
+
*/
|
|
6355
|
+
proto.cms.GetCasinoPageWidgetRequest.prototype.clearIsMobile = function() {
|
|
6356
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
6357
|
+
};
|
|
6358
|
+
|
|
6359
|
+
|
|
6360
|
+
/**
|
|
6361
|
+
* Returns whether this field is set.
|
|
6362
|
+
* @return {boolean}
|
|
6363
|
+
*/
|
|
6364
|
+
proto.cms.GetCasinoPageWidgetRequest.prototype.hasIsMobile = function() {
|
|
6365
|
+
return jspb.Message.getField(this, 2) != null;
|
|
6366
|
+
};
|
|
6367
|
+
|
|
6368
|
+
|
|
6369
|
+
/**
|
|
6370
|
+
* optional bool admin_side = 3;
|
|
6371
|
+
* @return {boolean}
|
|
6372
|
+
*/
|
|
6373
|
+
proto.cms.GetCasinoPageWidgetRequest.prototype.getAdminSide = function() {
|
|
6374
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
6375
|
+
};
|
|
6376
|
+
|
|
6377
|
+
|
|
6378
|
+
/**
|
|
6379
|
+
* @param {boolean} value
|
|
6380
|
+
* @return {!proto.cms.GetCasinoPageWidgetRequest} returns this
|
|
6381
|
+
*/
|
|
6382
|
+
proto.cms.GetCasinoPageWidgetRequest.prototype.setAdminSide = function(value) {
|
|
6383
|
+
return jspb.Message.setField(this, 3, value);
|
|
6384
|
+
};
|
|
6385
|
+
|
|
6386
|
+
|
|
6387
|
+
/**
|
|
6388
|
+
* Clears the field making it undefined.
|
|
6389
|
+
* @return {!proto.cms.GetCasinoPageWidgetRequest} returns this
|
|
6390
|
+
*/
|
|
6391
|
+
proto.cms.GetCasinoPageWidgetRequest.prototype.clearAdminSide = function() {
|
|
6392
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
6393
|
+
};
|
|
6394
|
+
|
|
6395
|
+
|
|
6396
|
+
/**
|
|
6397
|
+
* Returns whether this field is set.
|
|
6398
|
+
* @return {boolean}
|
|
6399
|
+
*/
|
|
6400
|
+
proto.cms.GetCasinoPageWidgetRequest.prototype.hasAdminSide = function() {
|
|
6401
|
+
return jspb.Message.getField(this, 3) != null;
|
|
6402
|
+
};
|
|
6403
|
+
|
|
6404
|
+
|
|
6405
|
+
|
|
6406
|
+
|
|
6407
|
+
|
|
6408
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6409
|
+
/**
|
|
6410
|
+
* Creates an object representation of this proto.
|
|
6411
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6412
|
+
* Optional fields that are not set will be set to undefined.
|
|
6413
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6414
|
+
* For the list of reserved names please see:
|
|
6415
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6416
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6417
|
+
* JSPB instance for transitional soy proto support:
|
|
6418
|
+
* http://goto/soy-param-migration
|
|
6419
|
+
* @return {!Object}
|
|
6420
|
+
*/
|
|
6421
|
+
proto.cms.CasinoPageWidgetItem.prototype.toObject = function(opt_includeInstance) {
|
|
6422
|
+
return proto.cms.CasinoPageWidgetItem.toObject(opt_includeInstance, this);
|
|
6423
|
+
};
|
|
6424
|
+
|
|
6425
|
+
|
|
6426
|
+
/**
|
|
6427
|
+
* Static version of the {@see toObject} method.
|
|
6428
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6429
|
+
* the JSPB instance for transitional soy proto support:
|
|
6430
|
+
* http://goto/soy-param-migration
|
|
6431
|
+
* @param {!proto.cms.CasinoPageWidgetItem} msg The msg instance to transform.
|
|
6432
|
+
* @return {!Object}
|
|
6433
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6434
|
+
*/
|
|
6435
|
+
proto.cms.CasinoPageWidgetItem.toObject = function(includeInstance, msg) {
|
|
6436
|
+
var f, obj = {
|
|
6437
|
+
geo: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6438
|
+
content: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6439
|
+
isEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
6440
|
+
};
|
|
6441
|
+
|
|
6442
|
+
if (includeInstance) {
|
|
6443
|
+
obj.$jspbMessageInstance = msg;
|
|
6444
|
+
}
|
|
6445
|
+
return obj;
|
|
6446
|
+
};
|
|
6447
|
+
}
|
|
6448
|
+
|
|
6449
|
+
|
|
6450
|
+
/**
|
|
6451
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6452
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6453
|
+
* @return {!proto.cms.CasinoPageWidgetItem}
|
|
6454
|
+
*/
|
|
6455
|
+
proto.cms.CasinoPageWidgetItem.deserializeBinary = function(bytes) {
|
|
6456
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6457
|
+
var msg = new proto.cms.CasinoPageWidgetItem;
|
|
6458
|
+
return proto.cms.CasinoPageWidgetItem.deserializeBinaryFromReader(msg, reader);
|
|
6459
|
+
};
|
|
6460
|
+
|
|
6461
|
+
|
|
6462
|
+
/**
|
|
6463
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6464
|
+
* given reader into the given message object.
|
|
6465
|
+
* @param {!proto.cms.CasinoPageWidgetItem} msg The message object to deserialize into.
|
|
6466
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6467
|
+
* @return {!proto.cms.CasinoPageWidgetItem}
|
|
6468
|
+
*/
|
|
6469
|
+
proto.cms.CasinoPageWidgetItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
6470
|
+
while (reader.nextField()) {
|
|
6471
|
+
if (reader.isEndGroup()) {
|
|
6472
|
+
break;
|
|
6473
|
+
}
|
|
6474
|
+
var field = reader.getFieldNumber();
|
|
6475
|
+
switch (field) {
|
|
6476
|
+
case 1:
|
|
6477
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6478
|
+
msg.setGeo(value);
|
|
6479
|
+
break;
|
|
6480
|
+
case 2:
|
|
6481
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6482
|
+
msg.setContent(value);
|
|
6483
|
+
break;
|
|
6484
|
+
case 3:
|
|
6485
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6486
|
+
msg.setIsEnabled(value);
|
|
6487
|
+
break;
|
|
6488
|
+
default:
|
|
6489
|
+
reader.skipField();
|
|
6490
|
+
break;
|
|
6491
|
+
}
|
|
6492
|
+
}
|
|
6493
|
+
return msg;
|
|
6494
|
+
};
|
|
6495
|
+
|
|
6496
|
+
|
|
6497
|
+
/**
|
|
6498
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6499
|
+
* @return {!Uint8Array}
|
|
6500
|
+
*/
|
|
6501
|
+
proto.cms.CasinoPageWidgetItem.prototype.serializeBinary = function() {
|
|
6502
|
+
var writer = new jspb.BinaryWriter();
|
|
6503
|
+
proto.cms.CasinoPageWidgetItem.serializeBinaryToWriter(this, writer);
|
|
6504
|
+
return writer.getResultBuffer();
|
|
6505
|
+
};
|
|
6506
|
+
|
|
6507
|
+
|
|
6508
|
+
/**
|
|
6509
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6510
|
+
* format), writing to the given BinaryWriter.
|
|
6511
|
+
* @param {!proto.cms.CasinoPageWidgetItem} message
|
|
6512
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6513
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6514
|
+
*/
|
|
6515
|
+
proto.cms.CasinoPageWidgetItem.serializeBinaryToWriter = function(message, writer) {
|
|
6516
|
+
var f = undefined;
|
|
6517
|
+
f = message.getGeo();
|
|
6518
|
+
if (f.length > 0) {
|
|
6519
|
+
writer.writeString(
|
|
6520
|
+
1,
|
|
6521
|
+
f
|
|
6522
|
+
);
|
|
6523
|
+
}
|
|
6524
|
+
f = message.getContent();
|
|
6525
|
+
if (f.length > 0) {
|
|
6526
|
+
writer.writeString(
|
|
6527
|
+
2,
|
|
6528
|
+
f
|
|
6529
|
+
);
|
|
6530
|
+
}
|
|
6531
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 3));
|
|
6532
|
+
if (f != null) {
|
|
6533
|
+
writer.writeBool(
|
|
6534
|
+
3,
|
|
6535
|
+
f
|
|
6536
|
+
);
|
|
6537
|
+
}
|
|
6538
|
+
};
|
|
6539
|
+
|
|
6540
|
+
|
|
6541
|
+
/**
|
|
6542
|
+
* optional string geo = 1;
|
|
6543
|
+
* @return {string}
|
|
6544
|
+
*/
|
|
6545
|
+
proto.cms.CasinoPageWidgetItem.prototype.getGeo = function() {
|
|
6546
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
6547
|
+
};
|
|
6548
|
+
|
|
6549
|
+
|
|
6550
|
+
/**
|
|
6551
|
+
* @param {string} value
|
|
6552
|
+
* @return {!proto.cms.CasinoPageWidgetItem} returns this
|
|
6553
|
+
*/
|
|
6554
|
+
proto.cms.CasinoPageWidgetItem.prototype.setGeo = function(value) {
|
|
6555
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
6556
|
+
};
|
|
6557
|
+
|
|
6558
|
+
|
|
6559
|
+
/**
|
|
6560
|
+
* optional string content = 2;
|
|
6561
|
+
* @return {string}
|
|
6562
|
+
*/
|
|
6563
|
+
proto.cms.CasinoPageWidgetItem.prototype.getContent = function() {
|
|
6564
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
6565
|
+
};
|
|
6566
|
+
|
|
6567
|
+
|
|
6568
|
+
/**
|
|
6569
|
+
* @param {string} value
|
|
6570
|
+
* @return {!proto.cms.CasinoPageWidgetItem} returns this
|
|
6571
|
+
*/
|
|
6572
|
+
proto.cms.CasinoPageWidgetItem.prototype.setContent = function(value) {
|
|
6573
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
6574
|
+
};
|
|
6575
|
+
|
|
6576
|
+
|
|
6577
|
+
/**
|
|
6578
|
+
* optional bool is_enabled = 3;
|
|
6579
|
+
* @return {boolean}
|
|
6580
|
+
*/
|
|
6581
|
+
proto.cms.CasinoPageWidgetItem.prototype.getIsEnabled = function() {
|
|
6582
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
6583
|
+
};
|
|
6584
|
+
|
|
6585
|
+
|
|
6586
|
+
/**
|
|
6587
|
+
* @param {boolean} value
|
|
6588
|
+
* @return {!proto.cms.CasinoPageWidgetItem} returns this
|
|
6589
|
+
*/
|
|
6590
|
+
proto.cms.CasinoPageWidgetItem.prototype.setIsEnabled = function(value) {
|
|
6591
|
+
return jspb.Message.setField(this, 3, value);
|
|
6592
|
+
};
|
|
6593
|
+
|
|
6594
|
+
|
|
6595
|
+
/**
|
|
6596
|
+
* Clears the field making it undefined.
|
|
6597
|
+
* @return {!proto.cms.CasinoPageWidgetItem} returns this
|
|
6598
|
+
*/
|
|
6599
|
+
proto.cms.CasinoPageWidgetItem.prototype.clearIsEnabled = function() {
|
|
6600
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
6601
|
+
};
|
|
6602
|
+
|
|
6603
|
+
|
|
6604
|
+
/**
|
|
6605
|
+
* Returns whether this field is set.
|
|
6606
|
+
* @return {boolean}
|
|
6607
|
+
*/
|
|
6608
|
+
proto.cms.CasinoPageWidgetItem.prototype.hasIsEnabled = function() {
|
|
6609
|
+
return jspb.Message.getField(this, 3) != null;
|
|
6610
|
+
};
|
|
6611
|
+
|
|
6612
|
+
|
|
6613
|
+
|
|
6614
|
+
/**
|
|
6615
|
+
* List of repeated fields within this message type.
|
|
6616
|
+
* @private {!Array<number>}
|
|
6617
|
+
* @const
|
|
6618
|
+
*/
|
|
6619
|
+
proto.cms.CasinoPageWidgetResponse.repeatedFields_ = [1];
|
|
6620
|
+
|
|
6621
|
+
|
|
6622
|
+
|
|
6623
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6624
|
+
/**
|
|
6625
|
+
* Creates an object representation of this proto.
|
|
6626
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6627
|
+
* Optional fields that are not set will be set to undefined.
|
|
6628
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6629
|
+
* For the list of reserved names please see:
|
|
6630
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6631
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6632
|
+
* JSPB instance for transitional soy proto support:
|
|
6633
|
+
* http://goto/soy-param-migration
|
|
6634
|
+
* @return {!Object}
|
|
6635
|
+
*/
|
|
6636
|
+
proto.cms.CasinoPageWidgetResponse.prototype.toObject = function(opt_includeInstance) {
|
|
6637
|
+
return proto.cms.CasinoPageWidgetResponse.toObject(opt_includeInstance, this);
|
|
6638
|
+
};
|
|
6639
|
+
|
|
6640
|
+
|
|
6641
|
+
/**
|
|
6642
|
+
* Static version of the {@see toObject} method.
|
|
6643
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6644
|
+
* the JSPB instance for transitional soy proto support:
|
|
6645
|
+
* http://goto/soy-param-migration
|
|
6646
|
+
* @param {!proto.cms.CasinoPageWidgetResponse} msg The msg instance to transform.
|
|
6647
|
+
* @return {!Object}
|
|
6648
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6649
|
+
*/
|
|
6650
|
+
proto.cms.CasinoPageWidgetResponse.toObject = function(includeInstance, msg) {
|
|
6651
|
+
var f, obj = {
|
|
6652
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
6653
|
+
proto.cms.CasinoPageWidgetItem.toObject, includeInstance)
|
|
6654
|
+
};
|
|
6655
|
+
|
|
6656
|
+
if (includeInstance) {
|
|
6657
|
+
obj.$jspbMessageInstance = msg;
|
|
6658
|
+
}
|
|
6659
|
+
return obj;
|
|
6660
|
+
};
|
|
6661
|
+
}
|
|
6662
|
+
|
|
6663
|
+
|
|
6664
|
+
/**
|
|
6665
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6666
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6667
|
+
* @return {!proto.cms.CasinoPageWidgetResponse}
|
|
6668
|
+
*/
|
|
6669
|
+
proto.cms.CasinoPageWidgetResponse.deserializeBinary = function(bytes) {
|
|
6670
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6671
|
+
var msg = new proto.cms.CasinoPageWidgetResponse;
|
|
6672
|
+
return proto.cms.CasinoPageWidgetResponse.deserializeBinaryFromReader(msg, reader);
|
|
6673
|
+
};
|
|
6674
|
+
|
|
6675
|
+
|
|
6676
|
+
/**
|
|
6677
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6678
|
+
* given reader into the given message object.
|
|
6679
|
+
* @param {!proto.cms.CasinoPageWidgetResponse} msg The message object to deserialize into.
|
|
6680
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6681
|
+
* @return {!proto.cms.CasinoPageWidgetResponse}
|
|
6682
|
+
*/
|
|
6683
|
+
proto.cms.CasinoPageWidgetResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
6684
|
+
while (reader.nextField()) {
|
|
6685
|
+
if (reader.isEndGroup()) {
|
|
6686
|
+
break;
|
|
6687
|
+
}
|
|
6688
|
+
var field = reader.getFieldNumber();
|
|
6689
|
+
switch (field) {
|
|
6690
|
+
case 1:
|
|
6691
|
+
var value = new proto.cms.CasinoPageWidgetItem;
|
|
6692
|
+
reader.readMessage(value,proto.cms.CasinoPageWidgetItem.deserializeBinaryFromReader);
|
|
6693
|
+
msg.addItems(value);
|
|
6694
|
+
break;
|
|
6695
|
+
default:
|
|
6696
|
+
reader.skipField();
|
|
6697
|
+
break;
|
|
6698
|
+
}
|
|
6699
|
+
}
|
|
6700
|
+
return msg;
|
|
6701
|
+
};
|
|
6702
|
+
|
|
6703
|
+
|
|
6704
|
+
/**
|
|
6705
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6706
|
+
* @return {!Uint8Array}
|
|
6707
|
+
*/
|
|
6708
|
+
proto.cms.CasinoPageWidgetResponse.prototype.serializeBinary = function() {
|
|
6709
|
+
var writer = new jspb.BinaryWriter();
|
|
6710
|
+
proto.cms.CasinoPageWidgetResponse.serializeBinaryToWriter(this, writer);
|
|
6711
|
+
return writer.getResultBuffer();
|
|
6712
|
+
};
|
|
6713
|
+
|
|
6714
|
+
|
|
6715
|
+
/**
|
|
6716
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6717
|
+
* format), writing to the given BinaryWriter.
|
|
6718
|
+
* @param {!proto.cms.CasinoPageWidgetResponse} message
|
|
6719
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6720
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6721
|
+
*/
|
|
6722
|
+
proto.cms.CasinoPageWidgetResponse.serializeBinaryToWriter = function(message, writer) {
|
|
6723
|
+
var f = undefined;
|
|
6724
|
+
f = message.getItemsList();
|
|
6725
|
+
if (f.length > 0) {
|
|
6726
|
+
writer.writeRepeatedMessage(
|
|
6727
|
+
1,
|
|
6728
|
+
f,
|
|
6729
|
+
proto.cms.CasinoPageWidgetItem.serializeBinaryToWriter
|
|
6730
|
+
);
|
|
6731
|
+
}
|
|
6732
|
+
};
|
|
6733
|
+
|
|
6734
|
+
|
|
6735
|
+
/**
|
|
6736
|
+
* repeated CasinoPageWidgetItem items = 1;
|
|
6737
|
+
* @return {!Array<!proto.cms.CasinoPageWidgetItem>}
|
|
6738
|
+
*/
|
|
6739
|
+
proto.cms.CasinoPageWidgetResponse.prototype.getItemsList = function() {
|
|
6740
|
+
return /** @type{!Array<!proto.cms.CasinoPageWidgetItem>} */ (
|
|
6741
|
+
jspb.Message.getRepeatedWrapperField(this, proto.cms.CasinoPageWidgetItem, 1));
|
|
6742
|
+
};
|
|
6743
|
+
|
|
6744
|
+
|
|
6745
|
+
/**
|
|
6746
|
+
* @param {!Array<!proto.cms.CasinoPageWidgetItem>} value
|
|
6747
|
+
* @return {!proto.cms.CasinoPageWidgetResponse} returns this
|
|
6748
|
+
*/
|
|
6749
|
+
proto.cms.CasinoPageWidgetResponse.prototype.setItemsList = function(value) {
|
|
6750
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
6751
|
+
};
|
|
6752
|
+
|
|
6753
|
+
|
|
6754
|
+
/**
|
|
6755
|
+
* @param {!proto.cms.CasinoPageWidgetItem=} opt_value
|
|
6756
|
+
* @param {number=} opt_index
|
|
6757
|
+
* @return {!proto.cms.CasinoPageWidgetItem}
|
|
6758
|
+
*/
|
|
6759
|
+
proto.cms.CasinoPageWidgetResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
6760
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.cms.CasinoPageWidgetItem, opt_index);
|
|
6761
|
+
};
|
|
6762
|
+
|
|
6763
|
+
|
|
6764
|
+
/**
|
|
6765
|
+
* Clears the list making it empty but non-null.
|
|
6766
|
+
* @return {!proto.cms.CasinoPageWidgetResponse} returns this
|
|
6767
|
+
*/
|
|
6768
|
+
proto.cms.CasinoPageWidgetResponse.prototype.clearItemsList = function() {
|
|
6769
|
+
return this.setItemsList([]);
|
|
6770
|
+
};
|
|
6771
|
+
|
|
6772
|
+
|
|
6773
|
+
|
|
6774
|
+
|
|
6775
|
+
|
|
6098
6776
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6099
6777
|
/**
|
|
6100
6778
|
* Creates an object representation of this proto.
|
package/loyalty/loyalty.proto
CHANGED
|
@@ -153,6 +153,8 @@ message WagerPoint {
|
|
|
153
153
|
string currency = 1;
|
|
154
154
|
double multiplier = 2;
|
|
155
155
|
optional int32 is_active = 3;
|
|
156
|
+
optional int32 is_real_balance_allowed = 4;
|
|
157
|
+
optional int32 is_bonus_balance_allowed = 5;
|
|
156
158
|
}
|
|
157
159
|
message PointItem {
|
|
158
160
|
optional int32 id = 1;
|
package/loyalty/loyalty_pb.js
CHANGED
|
@@ -6571,7 +6571,9 @@ proto.loyalty.WagerPoint.toObject = function(includeInstance, msg) {
|
|
|
6571
6571
|
var f, obj = {
|
|
6572
6572
|
currency: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6573
6573
|
multiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
|
6574
|
-
isActive: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
6574
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
6575
|
+
isRealBalanceAllowed: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
6576
|
+
isBonusBalanceAllowed: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
6575
6577
|
};
|
|
6576
6578
|
|
|
6577
6579
|
if (includeInstance) {
|
|
@@ -6620,6 +6622,14 @@ proto.loyalty.WagerPoint.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
6620
6622
|
var value = /** @type {number} */ (reader.readInt32());
|
|
6621
6623
|
msg.setIsActive(value);
|
|
6622
6624
|
break;
|
|
6625
|
+
case 4:
|
|
6626
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
6627
|
+
msg.setIsRealBalanceAllowed(value);
|
|
6628
|
+
break;
|
|
6629
|
+
case 5:
|
|
6630
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
6631
|
+
msg.setIsBonusBalanceAllowed(value);
|
|
6632
|
+
break;
|
|
6623
6633
|
default:
|
|
6624
6634
|
reader.skipField();
|
|
6625
6635
|
break;
|
|
@@ -6670,6 +6680,20 @@ proto.loyalty.WagerPoint.serializeBinaryToWriter = function(message, writer) {
|
|
|
6670
6680
|
f
|
|
6671
6681
|
);
|
|
6672
6682
|
}
|
|
6683
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
6684
|
+
if (f != null) {
|
|
6685
|
+
writer.writeInt32(
|
|
6686
|
+
4,
|
|
6687
|
+
f
|
|
6688
|
+
);
|
|
6689
|
+
}
|
|
6690
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
|
6691
|
+
if (f != null) {
|
|
6692
|
+
writer.writeInt32(
|
|
6693
|
+
5,
|
|
6694
|
+
f
|
|
6695
|
+
);
|
|
6696
|
+
}
|
|
6673
6697
|
};
|
|
6674
6698
|
|
|
6675
6699
|
|
|
@@ -6745,6 +6769,78 @@ proto.loyalty.WagerPoint.prototype.hasIsActive = function() {
|
|
|
6745
6769
|
};
|
|
6746
6770
|
|
|
6747
6771
|
|
|
6772
|
+
/**
|
|
6773
|
+
* optional int32 is_real_balance_allowed = 4;
|
|
6774
|
+
* @return {number}
|
|
6775
|
+
*/
|
|
6776
|
+
proto.loyalty.WagerPoint.prototype.getIsRealBalanceAllowed = function() {
|
|
6777
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
6778
|
+
};
|
|
6779
|
+
|
|
6780
|
+
|
|
6781
|
+
/**
|
|
6782
|
+
* @param {number} value
|
|
6783
|
+
* @return {!proto.loyalty.WagerPoint} returns this
|
|
6784
|
+
*/
|
|
6785
|
+
proto.loyalty.WagerPoint.prototype.setIsRealBalanceAllowed = function(value) {
|
|
6786
|
+
return jspb.Message.setField(this, 4, value);
|
|
6787
|
+
};
|
|
6788
|
+
|
|
6789
|
+
|
|
6790
|
+
/**
|
|
6791
|
+
* Clears the field making it undefined.
|
|
6792
|
+
* @return {!proto.loyalty.WagerPoint} returns this
|
|
6793
|
+
*/
|
|
6794
|
+
proto.loyalty.WagerPoint.prototype.clearIsRealBalanceAllowed = function() {
|
|
6795
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
6796
|
+
};
|
|
6797
|
+
|
|
6798
|
+
|
|
6799
|
+
/**
|
|
6800
|
+
* Returns whether this field is set.
|
|
6801
|
+
* @return {boolean}
|
|
6802
|
+
*/
|
|
6803
|
+
proto.loyalty.WagerPoint.prototype.hasIsRealBalanceAllowed = function() {
|
|
6804
|
+
return jspb.Message.getField(this, 4) != null;
|
|
6805
|
+
};
|
|
6806
|
+
|
|
6807
|
+
|
|
6808
|
+
/**
|
|
6809
|
+
* optional int32 is_bonus_balance_allowed = 5;
|
|
6810
|
+
* @return {number}
|
|
6811
|
+
*/
|
|
6812
|
+
proto.loyalty.WagerPoint.prototype.getIsBonusBalanceAllowed = function() {
|
|
6813
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
6814
|
+
};
|
|
6815
|
+
|
|
6816
|
+
|
|
6817
|
+
/**
|
|
6818
|
+
* @param {number} value
|
|
6819
|
+
* @return {!proto.loyalty.WagerPoint} returns this
|
|
6820
|
+
*/
|
|
6821
|
+
proto.loyalty.WagerPoint.prototype.setIsBonusBalanceAllowed = function(value) {
|
|
6822
|
+
return jspb.Message.setField(this, 5, value);
|
|
6823
|
+
};
|
|
6824
|
+
|
|
6825
|
+
|
|
6826
|
+
/**
|
|
6827
|
+
* Clears the field making it undefined.
|
|
6828
|
+
* @return {!proto.loyalty.WagerPoint} returns this
|
|
6829
|
+
*/
|
|
6830
|
+
proto.loyalty.WagerPoint.prototype.clearIsBonusBalanceAllowed = function() {
|
|
6831
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
6832
|
+
};
|
|
6833
|
+
|
|
6834
|
+
|
|
6835
|
+
/**
|
|
6836
|
+
* Returns whether this field is set.
|
|
6837
|
+
* @return {boolean}
|
|
6838
|
+
*/
|
|
6839
|
+
proto.loyalty.WagerPoint.prototype.hasIsBonusBalanceAllowed = function() {
|
|
6840
|
+
return jspb.Message.getField(this, 5) != null;
|
|
6841
|
+
};
|
|
6842
|
+
|
|
6843
|
+
|
|
6748
6844
|
|
|
6749
6845
|
|
|
6750
6846
|
|