protobuf-platform 1.2.269 → 1.2.271

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/game/game.proto CHANGED
@@ -848,9 +848,11 @@ message SEOInstanceRequest {
848
848
  repeated SEOAttribute attributes = 5;
849
849
  optional bool with_main_info = 6;
850
850
  optional string instance_slug = 7;
851
+ optional string full_description = 8;
851
852
  }
852
853
  message SEOInstanceResponse {
853
854
  repeated SEOAttribute attributes = 1;
855
+ optional string full_description = 2;
854
856
  }
855
857
  //Segmentation
856
858
  message SegmentedUserRequest {
package/game/game_pb.js CHANGED
@@ -35645,7 +35645,8 @@ proto.game.SEOInstanceRequest.toObject = function(includeInstance, msg) {
35645
35645
  attributesList: jspb.Message.toObjectList(msg.getAttributesList(),
35646
35646
  proto.game.SEOAttribute.toObject, includeInstance),
35647
35647
  withMainInfo: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
35648
- instanceSlug: jspb.Message.getFieldWithDefault(msg, 7, "")
35648
+ instanceSlug: jspb.Message.getFieldWithDefault(msg, 7, ""),
35649
+ fullDescription: jspb.Message.getFieldWithDefault(msg, 8, "")
35649
35650
  };
35650
35651
 
35651
35652
  if (includeInstance) {
@@ -35711,6 +35712,10 @@ proto.game.SEOInstanceRequest.deserializeBinaryFromReader = function(msg, reader
35711
35712
  var value = /** @type {string} */ (reader.readString());
35712
35713
  msg.setInstanceSlug(value);
35713
35714
  break;
35715
+ case 8:
35716
+ var value = /** @type {string} */ (reader.readString());
35717
+ msg.setFullDescription(value);
35718
+ break;
35714
35719
  default:
35715
35720
  reader.skipField();
35716
35721
  break;
@@ -35790,6 +35795,13 @@ proto.game.SEOInstanceRequest.serializeBinaryToWriter = function(message, writer
35790
35795
  f
35791
35796
  );
35792
35797
  }
35798
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
35799
+ if (f != null) {
35800
+ writer.writeString(
35801
+ 8,
35802
+ f
35803
+ );
35804
+ }
35793
35805
  };
35794
35806
 
35795
35807
 
@@ -36011,6 +36023,42 @@ proto.game.SEOInstanceRequest.prototype.hasInstanceSlug = function() {
36011
36023
  };
36012
36024
 
36013
36025
 
36026
+ /**
36027
+ * optional string full_description = 8;
36028
+ * @return {string}
36029
+ */
36030
+ proto.game.SEOInstanceRequest.prototype.getFullDescription = function() {
36031
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
36032
+ };
36033
+
36034
+
36035
+ /**
36036
+ * @param {string} value
36037
+ * @return {!proto.game.SEOInstanceRequest} returns this
36038
+ */
36039
+ proto.game.SEOInstanceRequest.prototype.setFullDescription = function(value) {
36040
+ return jspb.Message.setField(this, 8, value);
36041
+ };
36042
+
36043
+
36044
+ /**
36045
+ * Clears the field making it undefined.
36046
+ * @return {!proto.game.SEOInstanceRequest} returns this
36047
+ */
36048
+ proto.game.SEOInstanceRequest.prototype.clearFullDescription = function() {
36049
+ return jspb.Message.setField(this, 8, undefined);
36050
+ };
36051
+
36052
+
36053
+ /**
36054
+ * Returns whether this field is set.
36055
+ * @return {boolean}
36056
+ */
36057
+ proto.game.SEOInstanceRequest.prototype.hasFullDescription = function() {
36058
+ return jspb.Message.getField(this, 8) != null;
36059
+ };
36060
+
36061
+
36014
36062
 
36015
36063
  /**
36016
36064
  * List of repeated fields within this message type.
@@ -36051,7 +36099,8 @@ proto.game.SEOInstanceResponse.prototype.toObject = function(opt_includeInstance
36051
36099
  proto.game.SEOInstanceResponse.toObject = function(includeInstance, msg) {
36052
36100
  var f, obj = {
36053
36101
  attributesList: jspb.Message.toObjectList(msg.getAttributesList(),
36054
- proto.game.SEOAttribute.toObject, includeInstance)
36102
+ proto.game.SEOAttribute.toObject, includeInstance),
36103
+ fullDescription: jspb.Message.getFieldWithDefault(msg, 2, "")
36055
36104
  };
36056
36105
 
36057
36106
  if (includeInstance) {
@@ -36093,6 +36142,10 @@ proto.game.SEOInstanceResponse.deserializeBinaryFromReader = function(msg, reade
36093
36142
  reader.readMessage(value,proto.game.SEOAttribute.deserializeBinaryFromReader);
36094
36143
  msg.addAttributes(value);
36095
36144
  break;
36145
+ case 2:
36146
+ var value = /** @type {string} */ (reader.readString());
36147
+ msg.setFullDescription(value);
36148
+ break;
36096
36149
  default:
36097
36150
  reader.skipField();
36098
36151
  break;
@@ -36130,6 +36183,13 @@ proto.game.SEOInstanceResponse.serializeBinaryToWriter = function(message, write
36130
36183
  proto.game.SEOAttribute.serializeBinaryToWriter
36131
36184
  );
36132
36185
  }
36186
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
36187
+ if (f != null) {
36188
+ writer.writeString(
36189
+ 2,
36190
+ f
36191
+ );
36192
+ }
36133
36193
  };
36134
36194
 
36135
36195
 
@@ -36171,6 +36231,42 @@ proto.game.SEOInstanceResponse.prototype.clearAttributesList = function() {
36171
36231
  };
36172
36232
 
36173
36233
 
36234
+ /**
36235
+ * optional string full_description = 2;
36236
+ * @return {string}
36237
+ */
36238
+ proto.game.SEOInstanceResponse.prototype.getFullDescription = function() {
36239
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
36240
+ };
36241
+
36242
+
36243
+ /**
36244
+ * @param {string} value
36245
+ * @return {!proto.game.SEOInstanceResponse} returns this
36246
+ */
36247
+ proto.game.SEOInstanceResponse.prototype.setFullDescription = function(value) {
36248
+ return jspb.Message.setField(this, 2, value);
36249
+ };
36250
+
36251
+
36252
+ /**
36253
+ * Clears the field making it undefined.
36254
+ * @return {!proto.game.SEOInstanceResponse} returns this
36255
+ */
36256
+ proto.game.SEOInstanceResponse.prototype.clearFullDescription = function() {
36257
+ return jspb.Message.setField(this, 2, undefined);
36258
+ };
36259
+
36260
+
36261
+ /**
36262
+ * Returns whether this field is set.
36263
+ * @return {boolean}
36264
+ */
36265
+ proto.game.SEOInstanceResponse.prototype.hasFullDescription = function() {
36266
+ return jspb.Message.getField(this, 2) != null;
36267
+ };
36268
+
36269
+
36174
36270
 
36175
36271
  /**
36176
36272
  * List of repeated fields within this message type.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.269",
3
+ "version": "1.2.271",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {