protobuf-platform 1.2.332 → 1.2.333
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 +5 -0
- package/cms/cms_pb.js +244 -1
- package/package.json +1 -1
package/cms/cms.proto
CHANGED
|
@@ -296,6 +296,11 @@ message BannerCta {
|
|
|
296
296
|
optional int32 instance_id = 2; // entity instance id (used for future slug updates)
|
|
297
297
|
optional string slug = 3; // tournament/bonus/promo/game slug, not required for deposit
|
|
298
298
|
optional string provider_slug = 4; // required only for game
|
|
299
|
+
optional string image = 5;
|
|
300
|
+
optional UserBannerGameImages images = 6;
|
|
301
|
+
optional string portrait = 7;
|
|
302
|
+
optional string landscape = 8;
|
|
303
|
+
optional string square = 9;
|
|
299
304
|
}
|
|
300
305
|
message BannerResponse {
|
|
301
306
|
BannerItem data = 1;
|
package/cms/cms_pb.js
CHANGED
|
@@ -11213,7 +11213,12 @@ proto.cms.BannerCta.toObject = function(includeInstance, msg) {
|
|
|
11213
11213
|
actionType: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
11214
11214
|
instanceId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
11215
11215
|
slug: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
11216
|
-
providerSlug: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
11216
|
+
providerSlug: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
11217
|
+
image: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
11218
|
+
images: (f = msg.getImages()) && proto.cms.UserBannerGameImages.toObject(includeInstance, f),
|
|
11219
|
+
portrait: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
11220
|
+
landscape: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
11221
|
+
square: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
11217
11222
|
};
|
|
11218
11223
|
|
|
11219
11224
|
if (includeInstance) {
|
|
@@ -11266,6 +11271,27 @@ proto.cms.BannerCta.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
11266
11271
|
var value = /** @type {string} */ (reader.readString());
|
|
11267
11272
|
msg.setProviderSlug(value);
|
|
11268
11273
|
break;
|
|
11274
|
+
case 5:
|
|
11275
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11276
|
+
msg.setImage(value);
|
|
11277
|
+
break;
|
|
11278
|
+
case 6:
|
|
11279
|
+
var value = new proto.cms.UserBannerGameImages;
|
|
11280
|
+
reader.readMessage(value,proto.cms.UserBannerGameImages.deserializeBinaryFromReader);
|
|
11281
|
+
msg.setImages(value);
|
|
11282
|
+
break;
|
|
11283
|
+
case 7:
|
|
11284
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11285
|
+
msg.setPortrait(value);
|
|
11286
|
+
break;
|
|
11287
|
+
case 8:
|
|
11288
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11289
|
+
msg.setLandscape(value);
|
|
11290
|
+
break;
|
|
11291
|
+
case 9:
|
|
11292
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11293
|
+
msg.setSquare(value);
|
|
11294
|
+
break;
|
|
11269
11295
|
default:
|
|
11270
11296
|
reader.skipField();
|
|
11271
11297
|
break;
|
|
@@ -11323,6 +11349,42 @@ proto.cms.BannerCta.serializeBinaryToWriter = function(message, writer) {
|
|
|
11323
11349
|
f
|
|
11324
11350
|
);
|
|
11325
11351
|
}
|
|
11352
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
11353
|
+
if (f != null) {
|
|
11354
|
+
writer.writeString(
|
|
11355
|
+
5,
|
|
11356
|
+
f
|
|
11357
|
+
);
|
|
11358
|
+
}
|
|
11359
|
+
f = message.getImages();
|
|
11360
|
+
if (f != null) {
|
|
11361
|
+
writer.writeMessage(
|
|
11362
|
+
6,
|
|
11363
|
+
f,
|
|
11364
|
+
proto.cms.UserBannerGameImages.serializeBinaryToWriter
|
|
11365
|
+
);
|
|
11366
|
+
}
|
|
11367
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
11368
|
+
if (f != null) {
|
|
11369
|
+
writer.writeString(
|
|
11370
|
+
7,
|
|
11371
|
+
f
|
|
11372
|
+
);
|
|
11373
|
+
}
|
|
11374
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
11375
|
+
if (f != null) {
|
|
11376
|
+
writer.writeString(
|
|
11377
|
+
8,
|
|
11378
|
+
f
|
|
11379
|
+
);
|
|
11380
|
+
}
|
|
11381
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
11382
|
+
if (f != null) {
|
|
11383
|
+
writer.writeString(
|
|
11384
|
+
9,
|
|
11385
|
+
f
|
|
11386
|
+
);
|
|
11387
|
+
}
|
|
11326
11388
|
};
|
|
11327
11389
|
|
|
11328
11390
|
|
|
@@ -11470,6 +11532,187 @@ proto.cms.BannerCta.prototype.hasProviderSlug = function() {
|
|
|
11470
11532
|
};
|
|
11471
11533
|
|
|
11472
11534
|
|
|
11535
|
+
/**
|
|
11536
|
+
* optional string image = 5;
|
|
11537
|
+
* @return {string}
|
|
11538
|
+
*/
|
|
11539
|
+
proto.cms.BannerCta.prototype.getImage = function() {
|
|
11540
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
11541
|
+
};
|
|
11542
|
+
|
|
11543
|
+
|
|
11544
|
+
/**
|
|
11545
|
+
* @param {string} value
|
|
11546
|
+
* @return {!proto.cms.BannerCta} returns this
|
|
11547
|
+
*/
|
|
11548
|
+
proto.cms.BannerCta.prototype.setImage = function(value) {
|
|
11549
|
+
return jspb.Message.setField(this, 5, value);
|
|
11550
|
+
};
|
|
11551
|
+
|
|
11552
|
+
|
|
11553
|
+
/**
|
|
11554
|
+
* Clears the field making it undefined.
|
|
11555
|
+
* @return {!proto.cms.BannerCta} returns this
|
|
11556
|
+
*/
|
|
11557
|
+
proto.cms.BannerCta.prototype.clearImage = function() {
|
|
11558
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
11559
|
+
};
|
|
11560
|
+
|
|
11561
|
+
|
|
11562
|
+
/**
|
|
11563
|
+
* Returns whether this field is set.
|
|
11564
|
+
* @return {boolean}
|
|
11565
|
+
*/
|
|
11566
|
+
proto.cms.BannerCta.prototype.hasImage = function() {
|
|
11567
|
+
return jspb.Message.getField(this, 5) != null;
|
|
11568
|
+
};
|
|
11569
|
+
|
|
11570
|
+
|
|
11571
|
+
/**
|
|
11572
|
+
* optional UserBannerGameImages images = 6;
|
|
11573
|
+
* @return {?proto.cms.UserBannerGameImages}
|
|
11574
|
+
*/
|
|
11575
|
+
proto.cms.BannerCta.prototype.getImages = function() {
|
|
11576
|
+
return /** @type{?proto.cms.UserBannerGameImages} */ (
|
|
11577
|
+
jspb.Message.getWrapperField(this, proto.cms.UserBannerGameImages, 6));
|
|
11578
|
+
};
|
|
11579
|
+
|
|
11580
|
+
|
|
11581
|
+
/**
|
|
11582
|
+
* @param {?proto.cms.UserBannerGameImages|undefined} value
|
|
11583
|
+
* @return {!proto.cms.BannerCta} returns this
|
|
11584
|
+
*/
|
|
11585
|
+
proto.cms.BannerCta.prototype.setImages = function(value) {
|
|
11586
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
11587
|
+
};
|
|
11588
|
+
|
|
11589
|
+
|
|
11590
|
+
/**
|
|
11591
|
+
* Clears the message field making it undefined.
|
|
11592
|
+
* @return {!proto.cms.BannerCta} returns this
|
|
11593
|
+
*/
|
|
11594
|
+
proto.cms.BannerCta.prototype.clearImages = function() {
|
|
11595
|
+
return this.setImages(undefined);
|
|
11596
|
+
};
|
|
11597
|
+
|
|
11598
|
+
|
|
11599
|
+
/**
|
|
11600
|
+
* Returns whether this field is set.
|
|
11601
|
+
* @return {boolean}
|
|
11602
|
+
*/
|
|
11603
|
+
proto.cms.BannerCta.prototype.hasImages = function() {
|
|
11604
|
+
return jspb.Message.getField(this, 6) != null;
|
|
11605
|
+
};
|
|
11606
|
+
|
|
11607
|
+
|
|
11608
|
+
/**
|
|
11609
|
+
* optional string portrait = 7;
|
|
11610
|
+
* @return {string}
|
|
11611
|
+
*/
|
|
11612
|
+
proto.cms.BannerCta.prototype.getPortrait = function() {
|
|
11613
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
11614
|
+
};
|
|
11615
|
+
|
|
11616
|
+
|
|
11617
|
+
/**
|
|
11618
|
+
* @param {string} value
|
|
11619
|
+
* @return {!proto.cms.BannerCta} returns this
|
|
11620
|
+
*/
|
|
11621
|
+
proto.cms.BannerCta.prototype.setPortrait = function(value) {
|
|
11622
|
+
return jspb.Message.setField(this, 7, value);
|
|
11623
|
+
};
|
|
11624
|
+
|
|
11625
|
+
|
|
11626
|
+
/**
|
|
11627
|
+
* Clears the field making it undefined.
|
|
11628
|
+
* @return {!proto.cms.BannerCta} returns this
|
|
11629
|
+
*/
|
|
11630
|
+
proto.cms.BannerCta.prototype.clearPortrait = function() {
|
|
11631
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
11632
|
+
};
|
|
11633
|
+
|
|
11634
|
+
|
|
11635
|
+
/**
|
|
11636
|
+
* Returns whether this field is set.
|
|
11637
|
+
* @return {boolean}
|
|
11638
|
+
*/
|
|
11639
|
+
proto.cms.BannerCta.prototype.hasPortrait = function() {
|
|
11640
|
+
return jspb.Message.getField(this, 7) != null;
|
|
11641
|
+
};
|
|
11642
|
+
|
|
11643
|
+
|
|
11644
|
+
/**
|
|
11645
|
+
* optional string landscape = 8;
|
|
11646
|
+
* @return {string}
|
|
11647
|
+
*/
|
|
11648
|
+
proto.cms.BannerCta.prototype.getLandscape = function() {
|
|
11649
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
11650
|
+
};
|
|
11651
|
+
|
|
11652
|
+
|
|
11653
|
+
/**
|
|
11654
|
+
* @param {string} value
|
|
11655
|
+
* @return {!proto.cms.BannerCta} returns this
|
|
11656
|
+
*/
|
|
11657
|
+
proto.cms.BannerCta.prototype.setLandscape = function(value) {
|
|
11658
|
+
return jspb.Message.setField(this, 8, value);
|
|
11659
|
+
};
|
|
11660
|
+
|
|
11661
|
+
|
|
11662
|
+
/**
|
|
11663
|
+
* Clears the field making it undefined.
|
|
11664
|
+
* @return {!proto.cms.BannerCta} returns this
|
|
11665
|
+
*/
|
|
11666
|
+
proto.cms.BannerCta.prototype.clearLandscape = function() {
|
|
11667
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
11668
|
+
};
|
|
11669
|
+
|
|
11670
|
+
|
|
11671
|
+
/**
|
|
11672
|
+
* Returns whether this field is set.
|
|
11673
|
+
* @return {boolean}
|
|
11674
|
+
*/
|
|
11675
|
+
proto.cms.BannerCta.prototype.hasLandscape = function() {
|
|
11676
|
+
return jspb.Message.getField(this, 8) != null;
|
|
11677
|
+
};
|
|
11678
|
+
|
|
11679
|
+
|
|
11680
|
+
/**
|
|
11681
|
+
* optional string square = 9;
|
|
11682
|
+
* @return {string}
|
|
11683
|
+
*/
|
|
11684
|
+
proto.cms.BannerCta.prototype.getSquare = function() {
|
|
11685
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
11686
|
+
};
|
|
11687
|
+
|
|
11688
|
+
|
|
11689
|
+
/**
|
|
11690
|
+
* @param {string} value
|
|
11691
|
+
* @return {!proto.cms.BannerCta} returns this
|
|
11692
|
+
*/
|
|
11693
|
+
proto.cms.BannerCta.prototype.setSquare = function(value) {
|
|
11694
|
+
return jspb.Message.setField(this, 9, value);
|
|
11695
|
+
};
|
|
11696
|
+
|
|
11697
|
+
|
|
11698
|
+
/**
|
|
11699
|
+
* Clears the field making it undefined.
|
|
11700
|
+
* @return {!proto.cms.BannerCta} returns this
|
|
11701
|
+
*/
|
|
11702
|
+
proto.cms.BannerCta.prototype.clearSquare = function() {
|
|
11703
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
11704
|
+
};
|
|
11705
|
+
|
|
11706
|
+
|
|
11707
|
+
/**
|
|
11708
|
+
* Returns whether this field is set.
|
|
11709
|
+
* @return {boolean}
|
|
11710
|
+
*/
|
|
11711
|
+
proto.cms.BannerCta.prototype.hasSquare = function() {
|
|
11712
|
+
return jspb.Message.getField(this, 9) != null;
|
|
11713
|
+
};
|
|
11714
|
+
|
|
11715
|
+
|
|
11473
11716
|
|
|
11474
11717
|
|
|
11475
11718
|
|