protobuf-platform 1.2.572 → 1.2.574

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
@@ -186,6 +186,7 @@ message GetMainPageWidgetRequest {
186
186
  optional string geo = 1;
187
187
  optional bool is_mobile = 2;
188
188
  optional bool admin_side = 3;
189
+ optional string locale = 4;
189
190
  }
190
191
  message MainPageWidgetItem {
191
192
  string geo = 1;
@@ -199,6 +200,7 @@ message GetCasinoPageWidgetRequest {
199
200
  optional string geo = 1;
200
201
  optional bool is_mobile = 2;
201
202
  optional bool admin_side = 3;
203
+ optional string locale = 4;
202
204
  }
203
205
  message CasinoPageWidgetItem {
204
206
  string geo = 1;
@@ -249,6 +251,7 @@ message HeaderWidgetItem {
249
251
  message GetFooterWidgetRequest {
250
252
  optional string geo = 1;
251
253
  optional bool admin_side = 2;
254
+ optional string locale = 3;
252
255
  }
253
256
  message FooterWidgetItem {
254
257
  string geo = 1;
@@ -270,6 +273,7 @@ message GetGameBarWidgetRequest {
270
273
  optional string geo = 1;
271
274
  optional bool is_mobile = 2;
272
275
  optional bool admin_side = 3;
276
+ optional string locale = 4;
273
277
  }
274
278
  message GameBarWidgetItem {
275
279
  string geo = 1;
@@ -1254,6 +1258,7 @@ message GetPresetWidgetRequest {
1254
1258
  string widget_type = 2;
1255
1259
  optional string geo = 3;
1256
1260
  optional bool admin_side = 4;
1261
+ optional string locale = 5;
1257
1262
  }
1258
1263
  message ReadPresetWidgetRequest {
1259
1264
  int32 id = 1;
package/cms/cms_pb.js CHANGED
@@ -5712,7 +5712,8 @@ proto.cms.GetMainPageWidgetRequest.toObject = function(includeInstance, msg) {
5712
5712
  var f, obj = {
5713
5713
  geo: jspb.Message.getFieldWithDefault(msg, 1, ""),
5714
5714
  isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
5715
- adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
5715
+ adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
5716
+ locale: jspb.Message.getFieldWithDefault(msg, 4, "")
5716
5717
  };
5717
5718
 
5718
5719
  if (includeInstance) {
@@ -5761,6 +5762,10 @@ proto.cms.GetMainPageWidgetRequest.deserializeBinaryFromReader = function(msg, r
5761
5762
  var value = /** @type {boolean} */ (reader.readBool());
5762
5763
  msg.setAdminSide(value);
5763
5764
  break;
5765
+ case 4:
5766
+ var value = /** @type {string} */ (reader.readString());
5767
+ msg.setLocale(value);
5768
+ break;
5764
5769
  default:
5765
5770
  reader.skipField();
5766
5771
  break;
@@ -5811,6 +5816,13 @@ proto.cms.GetMainPageWidgetRequest.serializeBinaryToWriter = function(message, w
5811
5816
  f
5812
5817
  );
5813
5818
  }
5819
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
5820
+ if (f != null) {
5821
+ writer.writeString(
5822
+ 4,
5823
+ f
5824
+ );
5825
+ }
5814
5826
  };
5815
5827
 
5816
5828
 
@@ -5922,6 +5934,42 @@ proto.cms.GetMainPageWidgetRequest.prototype.hasAdminSide = function() {
5922
5934
  };
5923
5935
 
5924
5936
 
5937
+ /**
5938
+ * optional string locale = 4;
5939
+ * @return {string}
5940
+ */
5941
+ proto.cms.GetMainPageWidgetRequest.prototype.getLocale = function() {
5942
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
5943
+ };
5944
+
5945
+
5946
+ /**
5947
+ * @param {string} value
5948
+ * @return {!proto.cms.GetMainPageWidgetRequest} returns this
5949
+ */
5950
+ proto.cms.GetMainPageWidgetRequest.prototype.setLocale = function(value) {
5951
+ return jspb.Message.setField(this, 4, value);
5952
+ };
5953
+
5954
+
5955
+ /**
5956
+ * Clears the field making it undefined.
5957
+ * @return {!proto.cms.GetMainPageWidgetRequest} returns this
5958
+ */
5959
+ proto.cms.GetMainPageWidgetRequest.prototype.clearLocale = function() {
5960
+ return jspb.Message.setField(this, 4, undefined);
5961
+ };
5962
+
5963
+
5964
+ /**
5965
+ * Returns whether this field is set.
5966
+ * @return {boolean}
5967
+ */
5968
+ proto.cms.GetMainPageWidgetRequest.prototype.hasLocale = function() {
5969
+ return jspb.Message.getField(this, 4) != null;
5970
+ };
5971
+
5972
+
5925
5973
 
5926
5974
 
5927
5975
 
@@ -6324,7 +6372,8 @@ proto.cms.GetCasinoPageWidgetRequest.toObject = function(includeInstance, msg) {
6324
6372
  var f, obj = {
6325
6373
  geo: jspb.Message.getFieldWithDefault(msg, 1, ""),
6326
6374
  isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
6327
- adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
6375
+ adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
6376
+ locale: jspb.Message.getFieldWithDefault(msg, 4, "")
6328
6377
  };
6329
6378
 
6330
6379
  if (includeInstance) {
@@ -6373,6 +6422,10 @@ proto.cms.GetCasinoPageWidgetRequest.deserializeBinaryFromReader = function(msg,
6373
6422
  var value = /** @type {boolean} */ (reader.readBool());
6374
6423
  msg.setAdminSide(value);
6375
6424
  break;
6425
+ case 4:
6426
+ var value = /** @type {string} */ (reader.readString());
6427
+ msg.setLocale(value);
6428
+ break;
6376
6429
  default:
6377
6430
  reader.skipField();
6378
6431
  break;
@@ -6423,6 +6476,13 @@ proto.cms.GetCasinoPageWidgetRequest.serializeBinaryToWriter = function(message,
6423
6476
  f
6424
6477
  );
6425
6478
  }
6479
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
6480
+ if (f != null) {
6481
+ writer.writeString(
6482
+ 4,
6483
+ f
6484
+ );
6485
+ }
6426
6486
  };
6427
6487
 
6428
6488
 
@@ -6534,6 +6594,42 @@ proto.cms.GetCasinoPageWidgetRequest.prototype.hasAdminSide = function() {
6534
6594
  };
6535
6595
 
6536
6596
 
6597
+ /**
6598
+ * optional string locale = 4;
6599
+ * @return {string}
6600
+ */
6601
+ proto.cms.GetCasinoPageWidgetRequest.prototype.getLocale = function() {
6602
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
6603
+ };
6604
+
6605
+
6606
+ /**
6607
+ * @param {string} value
6608
+ * @return {!proto.cms.GetCasinoPageWidgetRequest} returns this
6609
+ */
6610
+ proto.cms.GetCasinoPageWidgetRequest.prototype.setLocale = function(value) {
6611
+ return jspb.Message.setField(this, 4, value);
6612
+ };
6613
+
6614
+
6615
+ /**
6616
+ * Clears the field making it undefined.
6617
+ * @return {!proto.cms.GetCasinoPageWidgetRequest} returns this
6618
+ */
6619
+ proto.cms.GetCasinoPageWidgetRequest.prototype.clearLocale = function() {
6620
+ return jspb.Message.setField(this, 4, undefined);
6621
+ };
6622
+
6623
+
6624
+ /**
6625
+ * Returns whether this field is set.
6626
+ * @return {boolean}
6627
+ */
6628
+ proto.cms.GetCasinoPageWidgetRequest.prototype.hasLocale = function() {
6629
+ return jspb.Message.getField(this, 4) != null;
6630
+ };
6631
+
6632
+
6537
6633
 
6538
6634
 
6539
6635
 
@@ -8647,7 +8743,8 @@ proto.cms.GetFooterWidgetRequest.prototype.toObject = function(opt_includeInstan
8647
8743
  proto.cms.GetFooterWidgetRequest.toObject = function(includeInstance, msg) {
8648
8744
  var f, obj = {
8649
8745
  geo: jspb.Message.getFieldWithDefault(msg, 1, ""),
8650
- adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
8746
+ adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
8747
+ locale: jspb.Message.getFieldWithDefault(msg, 3, "")
8651
8748
  };
8652
8749
 
8653
8750
  if (includeInstance) {
@@ -8692,6 +8789,10 @@ proto.cms.GetFooterWidgetRequest.deserializeBinaryFromReader = function(msg, rea
8692
8789
  var value = /** @type {boolean} */ (reader.readBool());
8693
8790
  msg.setAdminSide(value);
8694
8791
  break;
8792
+ case 3:
8793
+ var value = /** @type {string} */ (reader.readString());
8794
+ msg.setLocale(value);
8795
+ break;
8695
8796
  default:
8696
8797
  reader.skipField();
8697
8798
  break;
@@ -8735,6 +8836,13 @@ proto.cms.GetFooterWidgetRequest.serializeBinaryToWriter = function(message, wri
8735
8836
  f
8736
8837
  );
8737
8838
  }
8839
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
8840
+ if (f != null) {
8841
+ writer.writeString(
8842
+ 3,
8843
+ f
8844
+ );
8845
+ }
8738
8846
  };
8739
8847
 
8740
8848
 
@@ -8810,6 +8918,42 @@ proto.cms.GetFooterWidgetRequest.prototype.hasAdminSide = function() {
8810
8918
  };
8811
8919
 
8812
8920
 
8921
+ /**
8922
+ * optional string locale = 3;
8923
+ * @return {string}
8924
+ */
8925
+ proto.cms.GetFooterWidgetRequest.prototype.getLocale = function() {
8926
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
8927
+ };
8928
+
8929
+
8930
+ /**
8931
+ * @param {string} value
8932
+ * @return {!proto.cms.GetFooterWidgetRequest} returns this
8933
+ */
8934
+ proto.cms.GetFooterWidgetRequest.prototype.setLocale = function(value) {
8935
+ return jspb.Message.setField(this, 3, value);
8936
+ };
8937
+
8938
+
8939
+ /**
8940
+ * Clears the field making it undefined.
8941
+ * @return {!proto.cms.GetFooterWidgetRequest} returns this
8942
+ */
8943
+ proto.cms.GetFooterWidgetRequest.prototype.clearLocale = function() {
8944
+ return jspb.Message.setField(this, 3, undefined);
8945
+ };
8946
+
8947
+
8948
+ /**
8949
+ * Returns whether this field is set.
8950
+ * @return {boolean}
8951
+ */
8952
+ proto.cms.GetFooterWidgetRequest.prototype.hasLocale = function() {
8953
+ return jspb.Message.getField(this, 3) != null;
8954
+ };
8955
+
8956
+
8813
8957
 
8814
8958
 
8815
8959
 
@@ -9546,7 +9690,8 @@ proto.cms.GetGameBarWidgetRequest.toObject = function(includeInstance, msg) {
9546
9690
  var f, obj = {
9547
9691
  geo: jspb.Message.getFieldWithDefault(msg, 1, ""),
9548
9692
  isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
9549
- adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
9693
+ adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
9694
+ locale: jspb.Message.getFieldWithDefault(msg, 4, "")
9550
9695
  };
9551
9696
 
9552
9697
  if (includeInstance) {
@@ -9595,6 +9740,10 @@ proto.cms.GetGameBarWidgetRequest.deserializeBinaryFromReader = function(msg, re
9595
9740
  var value = /** @type {boolean} */ (reader.readBool());
9596
9741
  msg.setAdminSide(value);
9597
9742
  break;
9743
+ case 4:
9744
+ var value = /** @type {string} */ (reader.readString());
9745
+ msg.setLocale(value);
9746
+ break;
9598
9747
  default:
9599
9748
  reader.skipField();
9600
9749
  break;
@@ -9645,6 +9794,13 @@ proto.cms.GetGameBarWidgetRequest.serializeBinaryToWriter = function(message, wr
9645
9794
  f
9646
9795
  );
9647
9796
  }
9797
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
9798
+ if (f != null) {
9799
+ writer.writeString(
9800
+ 4,
9801
+ f
9802
+ );
9803
+ }
9648
9804
  };
9649
9805
 
9650
9806
 
@@ -9756,6 +9912,42 @@ proto.cms.GetGameBarWidgetRequest.prototype.hasAdminSide = function() {
9756
9912
  };
9757
9913
 
9758
9914
 
9915
+ /**
9916
+ * optional string locale = 4;
9917
+ * @return {string}
9918
+ */
9919
+ proto.cms.GetGameBarWidgetRequest.prototype.getLocale = function() {
9920
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
9921
+ };
9922
+
9923
+
9924
+ /**
9925
+ * @param {string} value
9926
+ * @return {!proto.cms.GetGameBarWidgetRequest} returns this
9927
+ */
9928
+ proto.cms.GetGameBarWidgetRequest.prototype.setLocale = function(value) {
9929
+ return jspb.Message.setField(this, 4, value);
9930
+ };
9931
+
9932
+
9933
+ /**
9934
+ * Clears the field making it undefined.
9935
+ * @return {!proto.cms.GetGameBarWidgetRequest} returns this
9936
+ */
9937
+ proto.cms.GetGameBarWidgetRequest.prototype.clearLocale = function() {
9938
+ return jspb.Message.setField(this, 4, undefined);
9939
+ };
9940
+
9941
+
9942
+ /**
9943
+ * Returns whether this field is set.
9944
+ * @return {boolean}
9945
+ */
9946
+ proto.cms.GetGameBarWidgetRequest.prototype.hasLocale = function() {
9947
+ return jspb.Message.getField(this, 4) != null;
9948
+ };
9949
+
9950
+
9759
9951
 
9760
9952
 
9761
9953
 
@@ -47661,7 +47853,8 @@ proto.cms.GetPresetWidgetRequest.toObject = function(includeInstance, msg) {
47661
47853
  presetId: jspb.Message.getFieldWithDefault(msg, 1, 0),
47662
47854
  widgetType: jspb.Message.getFieldWithDefault(msg, 2, ""),
47663
47855
  geo: jspb.Message.getFieldWithDefault(msg, 3, ""),
47664
- adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
47856
+ adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
47857
+ locale: jspb.Message.getFieldWithDefault(msg, 5, "")
47665
47858
  };
47666
47859
 
47667
47860
  if (includeInstance) {
@@ -47714,6 +47907,10 @@ proto.cms.GetPresetWidgetRequest.deserializeBinaryFromReader = function(msg, rea
47714
47907
  var value = /** @type {boolean} */ (reader.readBool());
47715
47908
  msg.setAdminSide(value);
47716
47909
  break;
47910
+ case 5:
47911
+ var value = /** @type {string} */ (reader.readString());
47912
+ msg.setLocale(value);
47913
+ break;
47717
47914
  default:
47718
47915
  reader.skipField();
47719
47916
  break;
@@ -47771,6 +47968,13 @@ proto.cms.GetPresetWidgetRequest.serializeBinaryToWriter = function(message, wri
47771
47968
  f
47772
47969
  );
47773
47970
  }
47971
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
47972
+ if (f != null) {
47973
+ writer.writeString(
47974
+ 5,
47975
+ f
47976
+ );
47977
+ }
47774
47978
  };
47775
47979
 
47776
47980
 
@@ -47882,6 +48086,42 @@ proto.cms.GetPresetWidgetRequest.prototype.hasAdminSide = function() {
47882
48086
  };
47883
48087
 
47884
48088
 
48089
+ /**
48090
+ * optional string locale = 5;
48091
+ * @return {string}
48092
+ */
48093
+ proto.cms.GetPresetWidgetRequest.prototype.getLocale = function() {
48094
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
48095
+ };
48096
+
48097
+
48098
+ /**
48099
+ * @param {string} value
48100
+ * @return {!proto.cms.GetPresetWidgetRequest} returns this
48101
+ */
48102
+ proto.cms.GetPresetWidgetRequest.prototype.setLocale = function(value) {
48103
+ return jspb.Message.setField(this, 5, value);
48104
+ };
48105
+
48106
+
48107
+ /**
48108
+ * Clears the field making it undefined.
48109
+ * @return {!proto.cms.GetPresetWidgetRequest} returns this
48110
+ */
48111
+ proto.cms.GetPresetWidgetRequest.prototype.clearLocale = function() {
48112
+ return jspb.Message.setField(this, 5, undefined);
48113
+ };
48114
+
48115
+
48116
+ /**
48117
+ * Returns whether this field is set.
48118
+ * @return {boolean}
48119
+ */
48120
+ proto.cms.GetPresetWidgetRequest.prototype.hasLocale = function() {
48121
+ return jspb.Message.getField(this, 5) != null;
48122
+ };
48123
+
48124
+
47885
48125
 
47886
48126
 
47887
48127
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.572",
3
+ "version": "1.2.574",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {