protobuf-platform 1.2.382 → 1.2.383

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
@@ -382,6 +382,7 @@ message GetCommonUserBonusItemsRequest {
382
382
  optional string country = 3;
383
383
  optional string locale = 4;
384
384
  optional bool is_mobile = 5;
385
+ optional string order = 6;
385
386
  }
386
387
  //for common bonuses user response overview
387
388
  message GetCommonUserBonusItemsResponse {
package/bonus/bonus_pb.js CHANGED
@@ -16607,7 +16607,8 @@ proto.bonus.GetCommonUserBonusItemsRequest.toObject = function(includeInstance,
16607
16607
  currency: jspb.Message.getFieldWithDefault(msg, 2, ""),
16608
16608
  country: jspb.Message.getFieldWithDefault(msg, 3, ""),
16609
16609
  locale: jspb.Message.getFieldWithDefault(msg, 4, ""),
16610
- isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
16610
+ isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
16611
+ order: jspb.Message.getFieldWithDefault(msg, 6, "")
16611
16612
  };
16612
16613
 
16613
16614
  if (includeInstance) {
@@ -16664,6 +16665,10 @@ proto.bonus.GetCommonUserBonusItemsRequest.deserializeBinaryFromReader = functio
16664
16665
  var value = /** @type {boolean} */ (reader.readBool());
16665
16666
  msg.setIsMobile(value);
16666
16667
  break;
16668
+ case 6:
16669
+ var value = /** @type {string} */ (reader.readString());
16670
+ msg.setOrder(value);
16671
+ break;
16667
16672
  default:
16668
16673
  reader.skipField();
16669
16674
  break;
@@ -16728,6 +16733,13 @@ proto.bonus.GetCommonUserBonusItemsRequest.serializeBinaryToWriter = function(me
16728
16733
  f
16729
16734
  );
16730
16735
  }
16736
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
16737
+ if (f != null) {
16738
+ writer.writeString(
16739
+ 6,
16740
+ f
16741
+ );
16742
+ }
16731
16743
  };
16732
16744
 
16733
16745
 
@@ -16893,6 +16905,42 @@ proto.bonus.GetCommonUserBonusItemsRequest.prototype.hasIsMobile = function() {
16893
16905
  };
16894
16906
 
16895
16907
 
16908
+ /**
16909
+ * optional string order = 6;
16910
+ * @return {string}
16911
+ */
16912
+ proto.bonus.GetCommonUserBonusItemsRequest.prototype.getOrder = function() {
16913
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
16914
+ };
16915
+
16916
+
16917
+ /**
16918
+ * @param {string} value
16919
+ * @return {!proto.bonus.GetCommonUserBonusItemsRequest} returns this
16920
+ */
16921
+ proto.bonus.GetCommonUserBonusItemsRequest.prototype.setOrder = function(value) {
16922
+ return jspb.Message.setField(this, 6, value);
16923
+ };
16924
+
16925
+
16926
+ /**
16927
+ * Clears the field making it undefined.
16928
+ * @return {!proto.bonus.GetCommonUserBonusItemsRequest} returns this
16929
+ */
16930
+ proto.bonus.GetCommonUserBonusItemsRequest.prototype.clearOrder = function() {
16931
+ return jspb.Message.setField(this, 6, undefined);
16932
+ };
16933
+
16934
+
16935
+ /**
16936
+ * Returns whether this field is set.
16937
+ * @return {boolean}
16938
+ */
16939
+ proto.bonus.GetCommonUserBonusItemsRequest.prototype.hasOrder = function() {
16940
+ return jspb.Message.getField(this, 6) != null;
16941
+ };
16942
+
16943
+
16896
16944
 
16897
16945
 
16898
16946
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.382",
3
+ "version": "1.2.383",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {