protobuf-platform 1.2.407 → 1.2.409

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.407",
3
+ "version": "1.2.409",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -46,6 +46,7 @@ message SearchRequest {
46
46
  optional string target_domain = 5;
47
47
  // Business-allowed: "enhance" | "grant"
48
48
  optional string application_mode = 6;
49
+ optional string type = 7;
49
50
  }
50
51
  message ItemsBunchRequest {
51
52
  repeated int32 ids = 1;
@@ -136,6 +137,7 @@ message BonusMaskItemRequest {
136
137
  optional string free_spins_spin_amount = 14;
137
138
  optional int32 free_spins_total_amount = 15;
138
139
  optional string free_spins_max_win = 16;
140
+ optional string deposit_static_amount = 17;
139
141
  }
140
142
  message BonusMaskItem {
141
143
  optional int32 id = 1;
@@ -159,6 +161,7 @@ message BonusMaskItem {
159
161
  optional string free_spins_max_win = 18;
160
162
  optional string image = 19;
161
163
  optional string mobile_image = 20;
164
+ optional string deposit_static_amount = 21;
162
165
  }
163
166
  message BonusMaskResponse {
164
167
  BonusMaskItem data = 1;
@@ -1511,7 +1511,8 @@ proto.promocode.SearchRequest.toObject = function(includeInstance, msg) {
1511
1511
  isActive: jspb.Message.getFieldWithDefault(msg, 3, 0),
1512
1512
  activationArea: jspb.Message.getFieldWithDefault(msg, 4, ""),
1513
1513
  targetDomain: jspb.Message.getFieldWithDefault(msg, 5, ""),
1514
- applicationMode: jspb.Message.getFieldWithDefault(msg, 6, "")
1514
+ applicationMode: jspb.Message.getFieldWithDefault(msg, 6, ""),
1515
+ type: jspb.Message.getFieldWithDefault(msg, 7, "")
1515
1516
  };
1516
1517
 
1517
1518
  if (includeInstance) {
@@ -1572,6 +1573,10 @@ proto.promocode.SearchRequest.deserializeBinaryFromReader = function(msg, reader
1572
1573
  var value = /** @type {string} */ (reader.readString());
1573
1574
  msg.setApplicationMode(value);
1574
1575
  break;
1576
+ case 7:
1577
+ var value = /** @type {string} */ (reader.readString());
1578
+ msg.setType(value);
1579
+ break;
1575
1580
  default:
1576
1581
  reader.skipField();
1577
1582
  break;
@@ -1643,6 +1648,13 @@ proto.promocode.SearchRequest.serializeBinaryToWriter = function(message, writer
1643
1648
  f
1644
1649
  );
1645
1650
  }
1651
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
1652
+ if (f != null) {
1653
+ writer.writeString(
1654
+ 7,
1655
+ f
1656
+ );
1657
+ }
1646
1658
  };
1647
1659
 
1648
1660
 
@@ -1862,6 +1874,42 @@ proto.promocode.SearchRequest.prototype.hasApplicationMode = function() {
1862
1874
  };
1863
1875
 
1864
1876
 
1877
+ /**
1878
+ * optional string type = 7;
1879
+ * @return {string}
1880
+ */
1881
+ proto.promocode.SearchRequest.prototype.getType = function() {
1882
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
1883
+ };
1884
+
1885
+
1886
+ /**
1887
+ * @param {string} value
1888
+ * @return {!proto.promocode.SearchRequest} returns this
1889
+ */
1890
+ proto.promocode.SearchRequest.prototype.setType = function(value) {
1891
+ return jspb.Message.setField(this, 7, value);
1892
+ };
1893
+
1894
+
1895
+ /**
1896
+ * Clears the field making it undefined.
1897
+ * @return {!proto.promocode.SearchRequest} returns this
1898
+ */
1899
+ proto.promocode.SearchRequest.prototype.clearType = function() {
1900
+ return jspb.Message.setField(this, 7, undefined);
1901
+ };
1902
+
1903
+
1904
+ /**
1905
+ * Returns whether this field is set.
1906
+ * @return {boolean}
1907
+ */
1908
+ proto.promocode.SearchRequest.prototype.hasType = function() {
1909
+ return jspb.Message.getField(this, 7) != null;
1910
+ };
1911
+
1912
+
1865
1913
 
1866
1914
  /**
1867
1915
  * List of repeated fields within this message type.
@@ -4886,7 +4934,8 @@ proto.promocode.BonusMaskItemRequest.toObject = function(includeInstance, msg) {
4886
4934
  freeSpinsGameId: jspb.Message.getFieldWithDefault(msg, 13, 0),
4887
4935
  freeSpinsSpinAmount: jspb.Message.getFieldWithDefault(msg, 14, ""),
4888
4936
  freeSpinsTotalAmount: jspb.Message.getFieldWithDefault(msg, 15, 0),
4889
- freeSpinsMaxWin: jspb.Message.getFieldWithDefault(msg, 16, "")
4937
+ freeSpinsMaxWin: jspb.Message.getFieldWithDefault(msg, 16, ""),
4938
+ depositStaticAmount: jspb.Message.getFieldWithDefault(msg, 17, "")
4890
4939
  };
4891
4940
 
4892
4941
  if (includeInstance) {
@@ -4987,6 +5036,10 @@ proto.promocode.BonusMaskItemRequest.deserializeBinaryFromReader = function(msg,
4987
5036
  var value = /** @type {string} */ (reader.readString());
4988
5037
  msg.setFreeSpinsMaxWin(value);
4989
5038
  break;
5039
+ case 17:
5040
+ var value = /** @type {string} */ (reader.readString());
5041
+ msg.setDepositStaticAmount(value);
5042
+ break;
4990
5043
  default:
4991
5044
  reader.skipField();
4992
5045
  break;
@@ -5128,6 +5181,13 @@ proto.promocode.BonusMaskItemRequest.serializeBinaryToWriter = function(message,
5128
5181
  f
5129
5182
  );
5130
5183
  }
5184
+ f = /** @type {string} */ (jspb.Message.getField(message, 17));
5185
+ if (f != null) {
5186
+ writer.writeString(
5187
+ 17,
5188
+ f
5189
+ );
5190
+ }
5131
5191
  };
5132
5192
 
5133
5193
 
@@ -5707,6 +5767,42 @@ proto.promocode.BonusMaskItemRequest.prototype.hasFreeSpinsMaxWin = function() {
5707
5767
  };
5708
5768
 
5709
5769
 
5770
+ /**
5771
+ * optional string deposit_static_amount = 17;
5772
+ * @return {string}
5773
+ */
5774
+ proto.promocode.BonusMaskItemRequest.prototype.getDepositStaticAmount = function() {
5775
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
5776
+ };
5777
+
5778
+
5779
+ /**
5780
+ * @param {string} value
5781
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
5782
+ */
5783
+ proto.promocode.BonusMaskItemRequest.prototype.setDepositStaticAmount = function(value) {
5784
+ return jspb.Message.setField(this, 17, value);
5785
+ };
5786
+
5787
+
5788
+ /**
5789
+ * Clears the field making it undefined.
5790
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
5791
+ */
5792
+ proto.promocode.BonusMaskItemRequest.prototype.clearDepositStaticAmount = function() {
5793
+ return jspb.Message.setField(this, 17, undefined);
5794
+ };
5795
+
5796
+
5797
+ /**
5798
+ * Returns whether this field is set.
5799
+ * @return {boolean}
5800
+ */
5801
+ proto.promocode.BonusMaskItemRequest.prototype.hasDepositStaticAmount = function() {
5802
+ return jspb.Message.getField(this, 17) != null;
5803
+ };
5804
+
5805
+
5710
5806
 
5711
5807
 
5712
5808
 
@@ -5758,7 +5854,8 @@ proto.promocode.BonusMaskItem.toObject = function(includeInstance, msg) {
5758
5854
  freeSpinsTotalAmount: jspb.Message.getFieldWithDefault(msg, 17, 0),
5759
5855
  freeSpinsMaxWin: jspb.Message.getFieldWithDefault(msg, 18, ""),
5760
5856
  image: jspb.Message.getFieldWithDefault(msg, 19, ""),
5761
- mobileImage: jspb.Message.getFieldWithDefault(msg, 20, "")
5857
+ mobileImage: jspb.Message.getFieldWithDefault(msg, 20, ""),
5858
+ depositStaticAmount: jspb.Message.getFieldWithDefault(msg, 21, "")
5762
5859
  };
5763
5860
 
5764
5861
  if (includeInstance) {
@@ -5875,6 +5972,10 @@ proto.promocode.BonusMaskItem.deserializeBinaryFromReader = function(msg, reader
5875
5972
  var value = /** @type {string} */ (reader.readString());
5876
5973
  msg.setMobileImage(value);
5877
5974
  break;
5975
+ case 21:
5976
+ var value = /** @type {string} */ (reader.readString());
5977
+ msg.setDepositStaticAmount(value);
5978
+ break;
5878
5979
  default:
5879
5980
  reader.skipField();
5880
5981
  break;
@@ -6044,6 +6145,13 @@ proto.promocode.BonusMaskItem.serializeBinaryToWriter = function(message, writer
6044
6145
  f
6045
6146
  );
6046
6147
  }
6148
+ f = /** @type {string} */ (jspb.Message.getField(message, 21));
6149
+ if (f != null) {
6150
+ writer.writeString(
6151
+ 21,
6152
+ f
6153
+ );
6154
+ }
6047
6155
  };
6048
6156
 
6049
6157
 
@@ -6767,6 +6875,42 @@ proto.promocode.BonusMaskItem.prototype.hasMobileImage = function() {
6767
6875
  };
6768
6876
 
6769
6877
 
6878
+ /**
6879
+ * optional string deposit_static_amount = 21;
6880
+ * @return {string}
6881
+ */
6882
+ proto.promocode.BonusMaskItem.prototype.getDepositStaticAmount = function() {
6883
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
6884
+ };
6885
+
6886
+
6887
+ /**
6888
+ * @param {string} value
6889
+ * @return {!proto.promocode.BonusMaskItem} returns this
6890
+ */
6891
+ proto.promocode.BonusMaskItem.prototype.setDepositStaticAmount = function(value) {
6892
+ return jspb.Message.setField(this, 21, value);
6893
+ };
6894
+
6895
+
6896
+ /**
6897
+ * Clears the field making it undefined.
6898
+ * @return {!proto.promocode.BonusMaskItem} returns this
6899
+ */
6900
+ proto.promocode.BonusMaskItem.prototype.clearDepositStaticAmount = function() {
6901
+ return jspb.Message.setField(this, 21, undefined);
6902
+ };
6903
+
6904
+
6905
+ /**
6906
+ * Returns whether this field is set.
6907
+ * @return {boolean}
6908
+ */
6909
+ proto.promocode.BonusMaskItem.prototype.hasDepositStaticAmount = function() {
6910
+ return jspb.Message.getField(this, 21) != null;
6911
+ };
6912
+
6913
+
6770
6914
 
6771
6915
 
6772
6916