protobuf-platform 1.2.349 → 1.2.351

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/bonus/bonus.proto CHANGED
@@ -313,6 +313,11 @@ message GetDepositEligibleUserBonusesRequest {
313
313
  message DepositEligibleUserBonusesResponse {
314
314
  repeated DepositEligibleUserBonusItem items = 1;
315
315
  }
316
+ message DepositEligibleUserBonusRewardItem {
317
+ string type = 1;
318
+ string currency = 2;
319
+ optional string config = 3;
320
+ }
316
321
  message DepositEligibleUserBonusItem {
317
322
  int32 user_bonus_id = 1;
318
323
  // UI fields
@@ -327,6 +332,7 @@ message DepositEligibleUserBonusItem {
327
332
  optional int32 number_of_deposit = 8;
328
333
  // Display/validity
329
334
  optional string activation_until = 9;
335
+ repeated DepositEligibleUserBonusRewardItem rewards = 10;
330
336
  }
331
337
  message GetActiveWageringUserBonusesRequest {
332
338
  int32 user_id = 1;
package/bonus/bonus_pb.js CHANGED
@@ -46,6 +46,7 @@ goog.exportSymbol('proto.bonus.CurrencyStatusItem', null, global);
46
46
  goog.exportSymbol('proto.bonus.DashboardRequest', null, global);
47
47
  goog.exportSymbol('proto.bonus.DashboardResponse', null, global);
48
48
  goog.exportSymbol('proto.bonus.DepositEligibleUserBonusItem', null, global);
49
+ goog.exportSymbol('proto.bonus.DepositEligibleUserBonusRewardItem', null, global);
49
50
  goog.exportSymbol('proto.bonus.DepositEligibleUserBonusesResponse', null, global);
50
51
  goog.exportSymbol('proto.bonus.File', null, global);
51
52
  goog.exportSymbol('proto.bonus.FreeSpinItem', null, global);
@@ -748,9 +749,30 @@ if (goog.DEBUG && !COMPILED) {
748
749
  * @extends {jspb.Message}
749
750
  * @constructor
750
751
  */
751
- proto.bonus.DepositEligibleUserBonusItem = function(opt_data) {
752
+ proto.bonus.DepositEligibleUserBonusRewardItem = function(opt_data) {
752
753
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
753
754
  };
755
+ goog.inherits(proto.bonus.DepositEligibleUserBonusRewardItem, jspb.Message);
756
+ if (goog.DEBUG && !COMPILED) {
757
+ /**
758
+ * @public
759
+ * @override
760
+ */
761
+ proto.bonus.DepositEligibleUserBonusRewardItem.displayName = 'proto.bonus.DepositEligibleUserBonusRewardItem';
762
+ }
763
+ /**
764
+ * Generated by JsPbCodeGenerator.
765
+ * @param {Array=} opt_data Optional initial data array, typically from a
766
+ * server response, or constructed directly in Javascript. The array is used
767
+ * in place and becomes part of the constructed object. It is not cloned.
768
+ * If no data is provided, the constructed object will be empty, but still
769
+ * valid.
770
+ * @extends {jspb.Message}
771
+ * @constructor
772
+ */
773
+ proto.bonus.DepositEligibleUserBonusItem = function(opt_data) {
774
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.bonus.DepositEligibleUserBonusItem.repeatedFields_, null);
775
+ };
754
776
  goog.inherits(proto.bonus.DepositEligibleUserBonusItem, jspb.Message);
755
777
  if (goog.DEBUG && !COMPILED) {
756
778
  /**
@@ -13760,6 +13782,221 @@ proto.bonus.DepositEligibleUserBonusesResponse.prototype.clearItemsList = functi
13760
13782
 
13761
13783
 
13762
13784
 
13785
+ if (jspb.Message.GENERATE_TO_OBJECT) {
13786
+ /**
13787
+ * Creates an object representation of this proto.
13788
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
13789
+ * Optional fields that are not set will be set to undefined.
13790
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
13791
+ * For the list of reserved names please see:
13792
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
13793
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
13794
+ * JSPB instance for transitional soy proto support:
13795
+ * http://goto/soy-param-migration
13796
+ * @return {!Object}
13797
+ */
13798
+ proto.bonus.DepositEligibleUserBonusRewardItem.prototype.toObject = function(opt_includeInstance) {
13799
+ return proto.bonus.DepositEligibleUserBonusRewardItem.toObject(opt_includeInstance, this);
13800
+ };
13801
+
13802
+
13803
+ /**
13804
+ * Static version of the {@see toObject} method.
13805
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
13806
+ * the JSPB instance for transitional soy proto support:
13807
+ * http://goto/soy-param-migration
13808
+ * @param {!proto.bonus.DepositEligibleUserBonusRewardItem} msg The msg instance to transform.
13809
+ * @return {!Object}
13810
+ * @suppress {unusedLocalVariables} f is only used for nested messages
13811
+ */
13812
+ proto.bonus.DepositEligibleUserBonusRewardItem.toObject = function(includeInstance, msg) {
13813
+ var f, obj = {
13814
+ type: jspb.Message.getFieldWithDefault(msg, 1, ""),
13815
+ currency: jspb.Message.getFieldWithDefault(msg, 2, ""),
13816
+ config: jspb.Message.getFieldWithDefault(msg, 3, "")
13817
+ };
13818
+
13819
+ if (includeInstance) {
13820
+ obj.$jspbMessageInstance = msg;
13821
+ }
13822
+ return obj;
13823
+ };
13824
+ }
13825
+
13826
+
13827
+ /**
13828
+ * Deserializes binary data (in protobuf wire format).
13829
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
13830
+ * @return {!proto.bonus.DepositEligibleUserBonusRewardItem}
13831
+ */
13832
+ proto.bonus.DepositEligibleUserBonusRewardItem.deserializeBinary = function(bytes) {
13833
+ var reader = new jspb.BinaryReader(bytes);
13834
+ var msg = new proto.bonus.DepositEligibleUserBonusRewardItem;
13835
+ return proto.bonus.DepositEligibleUserBonusRewardItem.deserializeBinaryFromReader(msg, reader);
13836
+ };
13837
+
13838
+
13839
+ /**
13840
+ * Deserializes binary data (in protobuf wire format) from the
13841
+ * given reader into the given message object.
13842
+ * @param {!proto.bonus.DepositEligibleUserBonusRewardItem} msg The message object to deserialize into.
13843
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
13844
+ * @return {!proto.bonus.DepositEligibleUserBonusRewardItem}
13845
+ */
13846
+ proto.bonus.DepositEligibleUserBonusRewardItem.deserializeBinaryFromReader = function(msg, reader) {
13847
+ while (reader.nextField()) {
13848
+ if (reader.isEndGroup()) {
13849
+ break;
13850
+ }
13851
+ var field = reader.getFieldNumber();
13852
+ switch (field) {
13853
+ case 1:
13854
+ var value = /** @type {string} */ (reader.readString());
13855
+ msg.setType(value);
13856
+ break;
13857
+ case 2:
13858
+ var value = /** @type {string} */ (reader.readString());
13859
+ msg.setCurrency(value);
13860
+ break;
13861
+ case 3:
13862
+ var value = /** @type {string} */ (reader.readString());
13863
+ msg.setConfig(value);
13864
+ break;
13865
+ default:
13866
+ reader.skipField();
13867
+ break;
13868
+ }
13869
+ }
13870
+ return msg;
13871
+ };
13872
+
13873
+
13874
+ /**
13875
+ * Serializes the message to binary data (in protobuf wire format).
13876
+ * @return {!Uint8Array}
13877
+ */
13878
+ proto.bonus.DepositEligibleUserBonusRewardItem.prototype.serializeBinary = function() {
13879
+ var writer = new jspb.BinaryWriter();
13880
+ proto.bonus.DepositEligibleUserBonusRewardItem.serializeBinaryToWriter(this, writer);
13881
+ return writer.getResultBuffer();
13882
+ };
13883
+
13884
+
13885
+ /**
13886
+ * Serializes the given message to binary data (in protobuf wire
13887
+ * format), writing to the given BinaryWriter.
13888
+ * @param {!proto.bonus.DepositEligibleUserBonusRewardItem} message
13889
+ * @param {!jspb.BinaryWriter} writer
13890
+ * @suppress {unusedLocalVariables} f is only used for nested messages
13891
+ */
13892
+ proto.bonus.DepositEligibleUserBonusRewardItem.serializeBinaryToWriter = function(message, writer) {
13893
+ var f = undefined;
13894
+ f = message.getType();
13895
+ if (f.length > 0) {
13896
+ writer.writeString(
13897
+ 1,
13898
+ f
13899
+ );
13900
+ }
13901
+ f = message.getCurrency();
13902
+ if (f.length > 0) {
13903
+ writer.writeString(
13904
+ 2,
13905
+ f
13906
+ );
13907
+ }
13908
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
13909
+ if (f != null) {
13910
+ writer.writeString(
13911
+ 3,
13912
+ f
13913
+ );
13914
+ }
13915
+ };
13916
+
13917
+
13918
+ /**
13919
+ * optional string type = 1;
13920
+ * @return {string}
13921
+ */
13922
+ proto.bonus.DepositEligibleUserBonusRewardItem.prototype.getType = function() {
13923
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
13924
+ };
13925
+
13926
+
13927
+ /**
13928
+ * @param {string} value
13929
+ * @return {!proto.bonus.DepositEligibleUserBonusRewardItem} returns this
13930
+ */
13931
+ proto.bonus.DepositEligibleUserBonusRewardItem.prototype.setType = function(value) {
13932
+ return jspb.Message.setProto3StringField(this, 1, value);
13933
+ };
13934
+
13935
+
13936
+ /**
13937
+ * optional string currency = 2;
13938
+ * @return {string}
13939
+ */
13940
+ proto.bonus.DepositEligibleUserBonusRewardItem.prototype.getCurrency = function() {
13941
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
13942
+ };
13943
+
13944
+
13945
+ /**
13946
+ * @param {string} value
13947
+ * @return {!proto.bonus.DepositEligibleUserBonusRewardItem} returns this
13948
+ */
13949
+ proto.bonus.DepositEligibleUserBonusRewardItem.prototype.setCurrency = function(value) {
13950
+ return jspb.Message.setProto3StringField(this, 2, value);
13951
+ };
13952
+
13953
+
13954
+ /**
13955
+ * optional string config = 3;
13956
+ * @return {string}
13957
+ */
13958
+ proto.bonus.DepositEligibleUserBonusRewardItem.prototype.getConfig = function() {
13959
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
13960
+ };
13961
+
13962
+
13963
+ /**
13964
+ * @param {string} value
13965
+ * @return {!proto.bonus.DepositEligibleUserBonusRewardItem} returns this
13966
+ */
13967
+ proto.bonus.DepositEligibleUserBonusRewardItem.prototype.setConfig = function(value) {
13968
+ return jspb.Message.setField(this, 3, value);
13969
+ };
13970
+
13971
+
13972
+ /**
13973
+ * Clears the field making it undefined.
13974
+ * @return {!proto.bonus.DepositEligibleUserBonusRewardItem} returns this
13975
+ */
13976
+ proto.bonus.DepositEligibleUserBonusRewardItem.prototype.clearConfig = function() {
13977
+ return jspb.Message.setField(this, 3, undefined);
13978
+ };
13979
+
13980
+
13981
+ /**
13982
+ * Returns whether this field is set.
13983
+ * @return {boolean}
13984
+ */
13985
+ proto.bonus.DepositEligibleUserBonusRewardItem.prototype.hasConfig = function() {
13986
+ return jspb.Message.getField(this, 3) != null;
13987
+ };
13988
+
13989
+
13990
+
13991
+ /**
13992
+ * List of repeated fields within this message type.
13993
+ * @private {!Array<number>}
13994
+ * @const
13995
+ */
13996
+ proto.bonus.DepositEligibleUserBonusItem.repeatedFields_ = [10];
13997
+
13998
+
13999
+
13763
14000
  if (jspb.Message.GENERATE_TO_OBJECT) {
13764
14001
  /**
13765
14002
  * Creates an object representation of this proto.
@@ -13797,7 +14034,9 @@ proto.bonus.DepositEligibleUserBonusItem.toObject = function(includeInstance, ms
13797
14034
  depositMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
13798
14035
  depositMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
13799
14036
  numberOfDeposit: jspb.Message.getFieldWithDefault(msg, 8, 0),
13800
- activationUntil: jspb.Message.getFieldWithDefault(msg, 9, "")
14037
+ activationUntil: jspb.Message.getFieldWithDefault(msg, 9, ""),
14038
+ rewardsList: jspb.Message.toObjectList(msg.getRewardsList(),
14039
+ proto.bonus.DepositEligibleUserBonusRewardItem.toObject, includeInstance)
13801
14040
  };
13802
14041
 
13803
14042
  if (includeInstance) {
@@ -13870,6 +14109,11 @@ proto.bonus.DepositEligibleUserBonusItem.deserializeBinaryFromReader = function(
13870
14109
  var value = /** @type {string} */ (reader.readString());
13871
14110
  msg.setActivationUntil(value);
13872
14111
  break;
14112
+ case 10:
14113
+ var value = new proto.bonus.DepositEligibleUserBonusRewardItem;
14114
+ reader.readMessage(value,proto.bonus.DepositEligibleUserBonusRewardItem.deserializeBinaryFromReader);
14115
+ msg.addRewards(value);
14116
+ break;
13873
14117
  default:
13874
14118
  reader.skipField();
13875
14119
  break;
@@ -13962,6 +14206,14 @@ proto.bonus.DepositEligibleUserBonusItem.serializeBinaryToWriter = function(mess
13962
14206
  f
13963
14207
  );
13964
14208
  }
14209
+ f = message.getRewardsList();
14210
+ if (f.length > 0) {
14211
+ writer.writeRepeatedMessage(
14212
+ 10,
14213
+ f,
14214
+ proto.bonus.DepositEligibleUserBonusRewardItem.serializeBinaryToWriter
14215
+ );
14216
+ }
13965
14217
  };
13966
14218
 
13967
14219
 
@@ -14271,6 +14523,44 @@ proto.bonus.DepositEligibleUserBonusItem.prototype.hasActivationUntil = function
14271
14523
  };
14272
14524
 
14273
14525
 
14526
+ /**
14527
+ * repeated DepositEligibleUserBonusRewardItem rewards = 10;
14528
+ * @return {!Array<!proto.bonus.DepositEligibleUserBonusRewardItem>}
14529
+ */
14530
+ proto.bonus.DepositEligibleUserBonusItem.prototype.getRewardsList = function() {
14531
+ return /** @type{!Array<!proto.bonus.DepositEligibleUserBonusRewardItem>} */ (
14532
+ jspb.Message.getRepeatedWrapperField(this, proto.bonus.DepositEligibleUserBonusRewardItem, 10));
14533
+ };
14534
+
14535
+
14536
+ /**
14537
+ * @param {!Array<!proto.bonus.DepositEligibleUserBonusRewardItem>} value
14538
+ * @return {!proto.bonus.DepositEligibleUserBonusItem} returns this
14539
+ */
14540
+ proto.bonus.DepositEligibleUserBonusItem.prototype.setRewardsList = function(value) {
14541
+ return jspb.Message.setRepeatedWrapperField(this, 10, value);
14542
+ };
14543
+
14544
+
14545
+ /**
14546
+ * @param {!proto.bonus.DepositEligibleUserBonusRewardItem=} opt_value
14547
+ * @param {number=} opt_index
14548
+ * @return {!proto.bonus.DepositEligibleUserBonusRewardItem}
14549
+ */
14550
+ proto.bonus.DepositEligibleUserBonusItem.prototype.addRewards = function(opt_value, opt_index) {
14551
+ return jspb.Message.addToRepeatedWrapperField(this, 10, opt_value, proto.bonus.DepositEligibleUserBonusRewardItem, opt_index);
14552
+ };
14553
+
14554
+
14555
+ /**
14556
+ * Clears the list making it empty but non-null.
14557
+ * @return {!proto.bonus.DepositEligibleUserBonusItem} returns this
14558
+ */
14559
+ proto.bonus.DepositEligibleUserBonusItem.prototype.clearRewardsList = function() {
14560
+ return this.setRewardsList([]);
14561
+ };
14562
+
14563
+
14274
14564
 
14275
14565
 
14276
14566
 
package/cms/cms.proto CHANGED
@@ -132,6 +132,7 @@ service CMS {
132
132
  rpc readListCustomWidgets(PaginationRequest) returns (CustomWidgetsItemsResponse);
133
133
  rpc updateCustomWidgetsInBunch(ItemsBunchRequest) returns (CustomWidgetStatusResponse);
134
134
  rpc readCustomWidgetForUser(GetCustomWidgetForUserRequest) returns (CustomWidgetResponse);
135
+ rpc updateCustomWidgetItemConfig(UpdateCustomWidgetItemConfigRequest) returns (CustomWidgetResponse);
135
136
  }
136
137
 
137
138
  message PingRequest { string ping = 1; }
@@ -660,6 +661,7 @@ message CustomWidgetRow {
660
661
  optional string item_type = 1; // validated against runtime customWidgetItems keys
661
662
  optional int32 priority_order = 2;
662
663
  optional string config = 3; // JSON string; item-type-specific settings
664
+ optional string item_key = 4; // stable row id; backend-generated when missing
663
665
  }
664
666
  message CustomWidgetItem {
665
667
  optional int32 id = 1;
@@ -692,6 +694,11 @@ message CustomWidgetsItemsResponse {
692
694
  message CustomWidgetStatusResponse {
693
695
  string status = 1;
694
696
  }
697
+ message UpdateCustomWidgetItemConfigRequest {
698
+ int32 custom_widget_id = 1;
699
+ string item_key = 2;
700
+ string config = 3;
701
+ }
695
702
  //Translations
696
703
  message TranslationItem {
697
704
  optional string geo = 1;
@@ -1225,6 +1225,17 @@ function deserialize_cms_TokenWidgetsItemsResponse(buffer_arg) {
1225
1225
  return cms_pb.TokenWidgetsItemsResponse.deserializeBinary(new Uint8Array(buffer_arg));
1226
1226
  }
1227
1227
 
1228
+ function serialize_cms_UpdateCustomWidgetItemConfigRequest(arg) {
1229
+ if (!(arg instanceof cms_pb.UpdateCustomWidgetItemConfigRequest)) {
1230
+ throw new Error('Expected argument of type cms.UpdateCustomWidgetItemConfigRequest');
1231
+ }
1232
+ return Buffer.from(arg.serializeBinary());
1233
+ }
1234
+
1235
+ function deserialize_cms_UpdateCustomWidgetItemConfigRequest(buffer_arg) {
1236
+ return cms_pb.UpdateCustomWidgetItemConfigRequest.deserializeBinary(new Uint8Array(buffer_arg));
1237
+ }
1238
+
1228
1239
  function serialize_cms_UserBannerGroupResponse(arg) {
1229
1240
  if (!(arg instanceof cms_pb.UserBannerGroupResponse)) {
1230
1241
  throw new Error('Expected argument of type cms.UserBannerGroupResponse');
@@ -2517,6 +2528,17 @@ createSingleCustomWidget: {
2517
2528
  responseSerialize: serialize_cms_CustomWidgetResponse,
2518
2529
  responseDeserialize: deserialize_cms_CustomWidgetResponse,
2519
2530
  },
2531
+ updateCustomWidgetItemConfig: {
2532
+ path: '/cms.CMS/updateCustomWidgetItemConfig',
2533
+ requestStream: false,
2534
+ responseStream: false,
2535
+ requestType: cms_pb.UpdateCustomWidgetItemConfigRequest,
2536
+ responseType: cms_pb.CustomWidgetResponse,
2537
+ requestSerialize: serialize_cms_UpdateCustomWidgetItemConfigRequest,
2538
+ requestDeserialize: deserialize_cms_UpdateCustomWidgetItemConfigRequest,
2539
+ responseSerialize: serialize_cms_CustomWidgetResponse,
2540
+ responseDeserialize: deserialize_cms_CustomWidgetResponse,
2541
+ },
2520
2542
  };
2521
2543
 
2522
2544
  exports.CMSClient = grpc.makeGenericClientConstructor(CMSService, 'CMS');
package/cms/cms_pb.js CHANGED
@@ -181,6 +181,7 @@ goog.exportSymbol('proto.cms.TokenWidgetResponse', null, global);
181
181
  goog.exportSymbol('proto.cms.TokenWidgetStatusResponse', null, global);
182
182
  goog.exportSymbol('proto.cms.TokenWidgetsItemsResponse', null, global);
183
183
  goog.exportSymbol('proto.cms.TranslationItem', null, global);
184
+ goog.exportSymbol('proto.cms.UpdateCustomWidgetItemConfigRequest', null, global);
184
185
  goog.exportSymbol('proto.cms.UserBannerGameImages', null, global);
185
186
  goog.exportSymbol('proto.cms.UserBannerGameItem', null, global);
186
187
  goog.exportSymbol('proto.cms.UserBannerGroupResponse', null, global);
@@ -2222,6 +2223,27 @@ if (goog.DEBUG && !COMPILED) {
2222
2223
  */
2223
2224
  proto.cms.CustomWidgetStatusResponse.displayName = 'proto.cms.CustomWidgetStatusResponse';
2224
2225
  }
2226
+ /**
2227
+ * Generated by JsPbCodeGenerator.
2228
+ * @param {Array=} opt_data Optional initial data array, typically from a
2229
+ * server response, or constructed directly in Javascript. The array is used
2230
+ * in place and becomes part of the constructed object. It is not cloned.
2231
+ * If no data is provided, the constructed object will be empty, but still
2232
+ * valid.
2233
+ * @extends {jspb.Message}
2234
+ * @constructor
2235
+ */
2236
+ proto.cms.UpdateCustomWidgetItemConfigRequest = function(opt_data) {
2237
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2238
+ };
2239
+ goog.inherits(proto.cms.UpdateCustomWidgetItemConfigRequest, jspb.Message);
2240
+ if (goog.DEBUG && !COMPILED) {
2241
+ /**
2242
+ * @public
2243
+ * @override
2244
+ */
2245
+ proto.cms.UpdateCustomWidgetItemConfigRequest.displayName = 'proto.cms.UpdateCustomWidgetItemConfigRequest';
2246
+ }
2225
2247
  /**
2226
2248
  * Generated by JsPbCodeGenerator.
2227
2249
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -27933,7 +27955,8 @@ proto.cms.CustomWidgetRow.toObject = function(includeInstance, msg) {
27933
27955
  var f, obj = {
27934
27956
  itemType: jspb.Message.getFieldWithDefault(msg, 1, ""),
27935
27957
  priorityOrder: jspb.Message.getFieldWithDefault(msg, 2, 0),
27936
- config: jspb.Message.getFieldWithDefault(msg, 3, "")
27958
+ config: jspb.Message.getFieldWithDefault(msg, 3, ""),
27959
+ itemKey: jspb.Message.getFieldWithDefault(msg, 4, "")
27937
27960
  };
27938
27961
 
27939
27962
  if (includeInstance) {
@@ -27982,6 +28005,10 @@ proto.cms.CustomWidgetRow.deserializeBinaryFromReader = function(msg, reader) {
27982
28005
  var value = /** @type {string} */ (reader.readString());
27983
28006
  msg.setConfig(value);
27984
28007
  break;
28008
+ case 4:
28009
+ var value = /** @type {string} */ (reader.readString());
28010
+ msg.setItemKey(value);
28011
+ break;
27985
28012
  default:
27986
28013
  reader.skipField();
27987
28014
  break;
@@ -28032,6 +28059,13 @@ proto.cms.CustomWidgetRow.serializeBinaryToWriter = function(message, writer) {
28032
28059
  f
28033
28060
  );
28034
28061
  }
28062
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
28063
+ if (f != null) {
28064
+ writer.writeString(
28065
+ 4,
28066
+ f
28067
+ );
28068
+ }
28035
28069
  };
28036
28070
 
28037
28071
 
@@ -28143,6 +28177,42 @@ proto.cms.CustomWidgetRow.prototype.hasConfig = function() {
28143
28177
  };
28144
28178
 
28145
28179
 
28180
+ /**
28181
+ * optional string item_key = 4;
28182
+ * @return {string}
28183
+ */
28184
+ proto.cms.CustomWidgetRow.prototype.getItemKey = function() {
28185
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
28186
+ };
28187
+
28188
+
28189
+ /**
28190
+ * @param {string} value
28191
+ * @return {!proto.cms.CustomWidgetRow} returns this
28192
+ */
28193
+ proto.cms.CustomWidgetRow.prototype.setItemKey = function(value) {
28194
+ return jspb.Message.setField(this, 4, value);
28195
+ };
28196
+
28197
+
28198
+ /**
28199
+ * Clears the field making it undefined.
28200
+ * @return {!proto.cms.CustomWidgetRow} returns this
28201
+ */
28202
+ proto.cms.CustomWidgetRow.prototype.clearItemKey = function() {
28203
+ return jspb.Message.setField(this, 4, undefined);
28204
+ };
28205
+
28206
+
28207
+ /**
28208
+ * Returns whether this field is set.
28209
+ * @return {boolean}
28210
+ */
28211
+ proto.cms.CustomWidgetRow.prototype.hasItemKey = function() {
28212
+ return jspb.Message.getField(this, 4) != null;
28213
+ };
28214
+
28215
+
28146
28216
 
28147
28217
  /**
28148
28218
  * List of repeated fields within this message type.
@@ -29632,6 +29702,196 @@ proto.cms.CustomWidgetStatusResponse.prototype.setStatus = function(value) {
29632
29702
 
29633
29703
 
29634
29704
 
29705
+ if (jspb.Message.GENERATE_TO_OBJECT) {
29706
+ /**
29707
+ * Creates an object representation of this proto.
29708
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
29709
+ * Optional fields that are not set will be set to undefined.
29710
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
29711
+ * For the list of reserved names please see:
29712
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
29713
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
29714
+ * JSPB instance for transitional soy proto support:
29715
+ * http://goto/soy-param-migration
29716
+ * @return {!Object}
29717
+ */
29718
+ proto.cms.UpdateCustomWidgetItemConfigRequest.prototype.toObject = function(opt_includeInstance) {
29719
+ return proto.cms.UpdateCustomWidgetItemConfigRequest.toObject(opt_includeInstance, this);
29720
+ };
29721
+
29722
+
29723
+ /**
29724
+ * Static version of the {@see toObject} method.
29725
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
29726
+ * the JSPB instance for transitional soy proto support:
29727
+ * http://goto/soy-param-migration
29728
+ * @param {!proto.cms.UpdateCustomWidgetItemConfigRequest} msg The msg instance to transform.
29729
+ * @return {!Object}
29730
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29731
+ */
29732
+ proto.cms.UpdateCustomWidgetItemConfigRequest.toObject = function(includeInstance, msg) {
29733
+ var f, obj = {
29734
+ customWidgetId: jspb.Message.getFieldWithDefault(msg, 1, 0),
29735
+ itemKey: jspb.Message.getFieldWithDefault(msg, 2, ""),
29736
+ config: jspb.Message.getFieldWithDefault(msg, 3, "")
29737
+ };
29738
+
29739
+ if (includeInstance) {
29740
+ obj.$jspbMessageInstance = msg;
29741
+ }
29742
+ return obj;
29743
+ };
29744
+ }
29745
+
29746
+
29747
+ /**
29748
+ * Deserializes binary data (in protobuf wire format).
29749
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
29750
+ * @return {!proto.cms.UpdateCustomWidgetItemConfigRequest}
29751
+ */
29752
+ proto.cms.UpdateCustomWidgetItemConfigRequest.deserializeBinary = function(bytes) {
29753
+ var reader = new jspb.BinaryReader(bytes);
29754
+ var msg = new proto.cms.UpdateCustomWidgetItemConfigRequest;
29755
+ return proto.cms.UpdateCustomWidgetItemConfigRequest.deserializeBinaryFromReader(msg, reader);
29756
+ };
29757
+
29758
+
29759
+ /**
29760
+ * Deserializes binary data (in protobuf wire format) from the
29761
+ * given reader into the given message object.
29762
+ * @param {!proto.cms.UpdateCustomWidgetItemConfigRequest} msg The message object to deserialize into.
29763
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
29764
+ * @return {!proto.cms.UpdateCustomWidgetItemConfigRequest}
29765
+ */
29766
+ proto.cms.UpdateCustomWidgetItemConfigRequest.deserializeBinaryFromReader = function(msg, reader) {
29767
+ while (reader.nextField()) {
29768
+ if (reader.isEndGroup()) {
29769
+ break;
29770
+ }
29771
+ var field = reader.getFieldNumber();
29772
+ switch (field) {
29773
+ case 1:
29774
+ var value = /** @type {number} */ (reader.readInt32());
29775
+ msg.setCustomWidgetId(value);
29776
+ break;
29777
+ case 2:
29778
+ var value = /** @type {string} */ (reader.readString());
29779
+ msg.setItemKey(value);
29780
+ break;
29781
+ case 3:
29782
+ var value = /** @type {string} */ (reader.readString());
29783
+ msg.setConfig(value);
29784
+ break;
29785
+ default:
29786
+ reader.skipField();
29787
+ break;
29788
+ }
29789
+ }
29790
+ return msg;
29791
+ };
29792
+
29793
+
29794
+ /**
29795
+ * Serializes the message to binary data (in protobuf wire format).
29796
+ * @return {!Uint8Array}
29797
+ */
29798
+ proto.cms.UpdateCustomWidgetItemConfigRequest.prototype.serializeBinary = function() {
29799
+ var writer = new jspb.BinaryWriter();
29800
+ proto.cms.UpdateCustomWidgetItemConfigRequest.serializeBinaryToWriter(this, writer);
29801
+ return writer.getResultBuffer();
29802
+ };
29803
+
29804
+
29805
+ /**
29806
+ * Serializes the given message to binary data (in protobuf wire
29807
+ * format), writing to the given BinaryWriter.
29808
+ * @param {!proto.cms.UpdateCustomWidgetItemConfigRequest} message
29809
+ * @param {!jspb.BinaryWriter} writer
29810
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29811
+ */
29812
+ proto.cms.UpdateCustomWidgetItemConfigRequest.serializeBinaryToWriter = function(message, writer) {
29813
+ var f = undefined;
29814
+ f = message.getCustomWidgetId();
29815
+ if (f !== 0) {
29816
+ writer.writeInt32(
29817
+ 1,
29818
+ f
29819
+ );
29820
+ }
29821
+ f = message.getItemKey();
29822
+ if (f.length > 0) {
29823
+ writer.writeString(
29824
+ 2,
29825
+ f
29826
+ );
29827
+ }
29828
+ f = message.getConfig();
29829
+ if (f.length > 0) {
29830
+ writer.writeString(
29831
+ 3,
29832
+ f
29833
+ );
29834
+ }
29835
+ };
29836
+
29837
+
29838
+ /**
29839
+ * optional int32 custom_widget_id = 1;
29840
+ * @return {number}
29841
+ */
29842
+ proto.cms.UpdateCustomWidgetItemConfigRequest.prototype.getCustomWidgetId = function() {
29843
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
29844
+ };
29845
+
29846
+
29847
+ /**
29848
+ * @param {number} value
29849
+ * @return {!proto.cms.UpdateCustomWidgetItemConfigRequest} returns this
29850
+ */
29851
+ proto.cms.UpdateCustomWidgetItemConfigRequest.prototype.setCustomWidgetId = function(value) {
29852
+ return jspb.Message.setProto3IntField(this, 1, value);
29853
+ };
29854
+
29855
+
29856
+ /**
29857
+ * optional string item_key = 2;
29858
+ * @return {string}
29859
+ */
29860
+ proto.cms.UpdateCustomWidgetItemConfigRequest.prototype.getItemKey = function() {
29861
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
29862
+ };
29863
+
29864
+
29865
+ /**
29866
+ * @param {string} value
29867
+ * @return {!proto.cms.UpdateCustomWidgetItemConfigRequest} returns this
29868
+ */
29869
+ proto.cms.UpdateCustomWidgetItemConfigRequest.prototype.setItemKey = function(value) {
29870
+ return jspb.Message.setProto3StringField(this, 2, value);
29871
+ };
29872
+
29873
+
29874
+ /**
29875
+ * optional string config = 3;
29876
+ * @return {string}
29877
+ */
29878
+ proto.cms.UpdateCustomWidgetItemConfigRequest.prototype.getConfig = function() {
29879
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
29880
+ };
29881
+
29882
+
29883
+ /**
29884
+ * @param {string} value
29885
+ * @return {!proto.cms.UpdateCustomWidgetItemConfigRequest} returns this
29886
+ */
29887
+ proto.cms.UpdateCustomWidgetItemConfigRequest.prototype.setConfig = function(value) {
29888
+ return jspb.Message.setProto3StringField(this, 3, value);
29889
+ };
29890
+
29891
+
29892
+
29893
+
29894
+
29635
29895
  if (jspb.Message.GENERATE_TO_OBJECT) {
29636
29896
  /**
29637
29897
  * Creates an object representation of this proto.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.349",
3
+ "version": "1.2.351",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {