protobuf-platform 1.2.268 → 1.2.270

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 CHANGED
@@ -249,9 +249,10 @@ message BannerTexts {
249
249
  optional string note = 5;
250
250
  }
251
251
  message BannerCta {
252
- optional string action_type = 1; // expected values: tournament|bonus|deposit|promo
252
+ optional string action_type = 1; // expected values: tournament|bonus|deposit|promo|game
253
253
  optional int32 instance_id = 2; // entity instance id (used for future slug updates)
254
- optional string slug = 3; // tournament/bonus/promo slug, not required for deposit
254
+ optional string slug = 3; // tournament/bonus/promo/game slug, not required for deposit
255
+ optional string provider_slug = 4; // required only for game
255
256
  }
256
257
  message BannerResponse {
257
258
  BannerItem data = 1;
package/cms/cms_pb.js CHANGED
@@ -9573,7 +9573,8 @@ proto.cms.BannerCta.toObject = function(includeInstance, msg) {
9573
9573
  var f, obj = {
9574
9574
  actionType: jspb.Message.getFieldWithDefault(msg, 1, ""),
9575
9575
  instanceId: jspb.Message.getFieldWithDefault(msg, 2, 0),
9576
- slug: jspb.Message.getFieldWithDefault(msg, 3, "")
9576
+ slug: jspb.Message.getFieldWithDefault(msg, 3, ""),
9577
+ providerSlug: jspb.Message.getFieldWithDefault(msg, 4, "")
9577
9578
  };
9578
9579
 
9579
9580
  if (includeInstance) {
@@ -9622,6 +9623,10 @@ proto.cms.BannerCta.deserializeBinaryFromReader = function(msg, reader) {
9622
9623
  var value = /** @type {string} */ (reader.readString());
9623
9624
  msg.setSlug(value);
9624
9625
  break;
9626
+ case 4:
9627
+ var value = /** @type {string} */ (reader.readString());
9628
+ msg.setProviderSlug(value);
9629
+ break;
9625
9630
  default:
9626
9631
  reader.skipField();
9627
9632
  break;
@@ -9672,6 +9677,13 @@ proto.cms.BannerCta.serializeBinaryToWriter = function(message, writer) {
9672
9677
  f
9673
9678
  );
9674
9679
  }
9680
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
9681
+ if (f != null) {
9682
+ writer.writeString(
9683
+ 4,
9684
+ f
9685
+ );
9686
+ }
9675
9687
  };
9676
9688
 
9677
9689
 
@@ -9783,6 +9795,42 @@ proto.cms.BannerCta.prototype.hasSlug = function() {
9783
9795
  };
9784
9796
 
9785
9797
 
9798
+ /**
9799
+ * optional string provider_slug = 4;
9800
+ * @return {string}
9801
+ */
9802
+ proto.cms.BannerCta.prototype.getProviderSlug = function() {
9803
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
9804
+ };
9805
+
9806
+
9807
+ /**
9808
+ * @param {string} value
9809
+ * @return {!proto.cms.BannerCta} returns this
9810
+ */
9811
+ proto.cms.BannerCta.prototype.setProviderSlug = function(value) {
9812
+ return jspb.Message.setField(this, 4, value);
9813
+ };
9814
+
9815
+
9816
+ /**
9817
+ * Clears the field making it undefined.
9818
+ * @return {!proto.cms.BannerCta} returns this
9819
+ */
9820
+ proto.cms.BannerCta.prototype.clearProviderSlug = function() {
9821
+ return jspb.Message.setField(this, 4, undefined);
9822
+ };
9823
+
9824
+
9825
+ /**
9826
+ * Returns whether this field is set.
9827
+ * @return {boolean}
9828
+ */
9829
+ proto.cms.BannerCta.prototype.hasProviderSlug = function() {
9830
+ return jspb.Message.getField(this, 4) != null;
9831
+ };
9832
+
9833
+
9786
9834
 
9787
9835
 
9788
9836
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.268",
3
+ "version": "1.2.270",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -361,6 +361,7 @@ message GetUserPaymentsInfoRequest {
361
361
  optional string transaction_type = 6;
362
362
  optional string currency = 7;
363
363
  optional string country = 8;
364
+ optional string currency_type = 9;
364
365
  }
365
366
  message UserPaymentsInfoResponse {
366
367
  float deposit_sum = 1;
@@ -14937,7 +14937,8 @@ proto.payment.GetUserPaymentsInfoRequest.toObject = function(includeInstance, ms
14937
14937
  endDate: jspb.Message.getFieldWithDefault(msg, 5, ""),
14938
14938
  transactionType: jspb.Message.getFieldWithDefault(msg, 6, ""),
14939
14939
  currency: jspb.Message.getFieldWithDefault(msg, 7, ""),
14940
- country: jspb.Message.getFieldWithDefault(msg, 8, "")
14940
+ country: jspb.Message.getFieldWithDefault(msg, 8, ""),
14941
+ currencyType: jspb.Message.getFieldWithDefault(msg, 9, "")
14941
14942
  };
14942
14943
 
14943
14944
  if (includeInstance) {
@@ -15006,6 +15007,10 @@ proto.payment.GetUserPaymentsInfoRequest.deserializeBinaryFromReader = function(
15006
15007
  var value = /** @type {string} */ (reader.readString());
15007
15008
  msg.setCountry(value);
15008
15009
  break;
15010
+ case 9:
15011
+ var value = /** @type {string} */ (reader.readString());
15012
+ msg.setCurrencyType(value);
15013
+ break;
15009
15014
  default:
15010
15015
  reader.skipField();
15011
15016
  break;
@@ -15091,6 +15096,13 @@ proto.payment.GetUserPaymentsInfoRequest.serializeBinaryToWriter = function(mess
15091
15096
  f
15092
15097
  );
15093
15098
  }
15099
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
15100
+ if (f != null) {
15101
+ writer.writeString(
15102
+ 9,
15103
+ f
15104
+ );
15105
+ }
15094
15106
  };
15095
15107
 
15096
15108
 
@@ -15364,6 +15376,42 @@ proto.payment.GetUserPaymentsInfoRequest.prototype.hasCountry = function() {
15364
15376
  };
15365
15377
 
15366
15378
 
15379
+ /**
15380
+ * optional string currency_type = 9;
15381
+ * @return {string}
15382
+ */
15383
+ proto.payment.GetUserPaymentsInfoRequest.prototype.getCurrencyType = function() {
15384
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
15385
+ };
15386
+
15387
+
15388
+ /**
15389
+ * @param {string} value
15390
+ * @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
15391
+ */
15392
+ proto.payment.GetUserPaymentsInfoRequest.prototype.setCurrencyType = function(value) {
15393
+ return jspb.Message.setField(this, 9, value);
15394
+ };
15395
+
15396
+
15397
+ /**
15398
+ * Clears the field making it undefined.
15399
+ * @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
15400
+ */
15401
+ proto.payment.GetUserPaymentsInfoRequest.prototype.clearCurrencyType = function() {
15402
+ return jspb.Message.setField(this, 9, undefined);
15403
+ };
15404
+
15405
+
15406
+ /**
15407
+ * Returns whether this field is set.
15408
+ * @return {boolean}
15409
+ */
15410
+ proto.payment.GetUserPaymentsInfoRequest.prototype.hasCurrencyType = function() {
15411
+ return jspb.Message.getField(this, 9) != null;
15412
+ };
15413
+
15414
+
15367
15415
 
15368
15416
 
15369
15417