protobuf-platform 1.2.382 → 1.2.384

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.384",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -240,6 +240,9 @@ message TelegramLoginRequest {
240
240
  optional string city = 9;
241
241
  optional string antifraud_session = 10;
242
242
  optional string user_agent = 11;
243
+ optional string affiliate_info = 12;
244
+ optional int32 affiliate_id = 13;
245
+ optional string promo_code = 14;
243
246
  }
244
247
  message GoogleLoginRequest {
245
248
  string code = 1;
package/user/user_pb.js CHANGED
@@ -8346,7 +8346,10 @@ proto.user.TelegramLoginRequest.toObject = function(includeInstance, msg) {
8346
8346
  country: jspb.Message.getFieldWithDefault(msg, 8, ""),
8347
8347
  city: jspb.Message.getFieldWithDefault(msg, 9, ""),
8348
8348
  antifraudSession: jspb.Message.getFieldWithDefault(msg, 10, ""),
8349
- userAgent: jspb.Message.getFieldWithDefault(msg, 11, "")
8349
+ userAgent: jspb.Message.getFieldWithDefault(msg, 11, ""),
8350
+ affiliateInfo: jspb.Message.getFieldWithDefault(msg, 12, ""),
8351
+ affiliateId: jspb.Message.getFieldWithDefault(msg, 13, 0),
8352
+ promoCode: jspb.Message.getFieldWithDefault(msg, 14, "")
8350
8353
  };
8351
8354
 
8352
8355
  if (includeInstance) {
@@ -8427,6 +8430,18 @@ proto.user.TelegramLoginRequest.deserializeBinaryFromReader = function(msg, read
8427
8430
  var value = /** @type {string} */ (reader.readString());
8428
8431
  msg.setUserAgent(value);
8429
8432
  break;
8433
+ case 12:
8434
+ var value = /** @type {string} */ (reader.readString());
8435
+ msg.setAffiliateInfo(value);
8436
+ break;
8437
+ case 13:
8438
+ var value = /** @type {number} */ (reader.readInt32());
8439
+ msg.setAffiliateId(value);
8440
+ break;
8441
+ case 14:
8442
+ var value = /** @type {string} */ (reader.readString());
8443
+ msg.setPromoCode(value);
8444
+ break;
8430
8445
  default:
8431
8446
  reader.skipField();
8432
8447
  break;
@@ -8533,6 +8548,27 @@ proto.user.TelegramLoginRequest.serializeBinaryToWriter = function(message, writ
8533
8548
  f
8534
8549
  );
8535
8550
  }
8551
+ f = /** @type {string} */ (jspb.Message.getField(message, 12));
8552
+ if (f != null) {
8553
+ writer.writeString(
8554
+ 12,
8555
+ f
8556
+ );
8557
+ }
8558
+ f = /** @type {number} */ (jspb.Message.getField(message, 13));
8559
+ if (f != null) {
8560
+ writer.writeInt32(
8561
+ 13,
8562
+ f
8563
+ );
8564
+ }
8565
+ f = /** @type {string} */ (jspb.Message.getField(message, 14));
8566
+ if (f != null) {
8567
+ writer.writeString(
8568
+ 14,
8569
+ f
8570
+ );
8571
+ }
8536
8572
  };
8537
8573
 
8538
8574
 
@@ -8914,6 +8950,114 @@ proto.user.TelegramLoginRequest.prototype.hasUserAgent = function() {
8914
8950
  };
8915
8951
 
8916
8952
 
8953
+ /**
8954
+ * optional string affiliate_info = 12;
8955
+ * @return {string}
8956
+ */
8957
+ proto.user.TelegramLoginRequest.prototype.getAffiliateInfo = function() {
8958
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
8959
+ };
8960
+
8961
+
8962
+ /**
8963
+ * @param {string} value
8964
+ * @return {!proto.user.TelegramLoginRequest} returns this
8965
+ */
8966
+ proto.user.TelegramLoginRequest.prototype.setAffiliateInfo = function(value) {
8967
+ return jspb.Message.setField(this, 12, value);
8968
+ };
8969
+
8970
+
8971
+ /**
8972
+ * Clears the field making it undefined.
8973
+ * @return {!proto.user.TelegramLoginRequest} returns this
8974
+ */
8975
+ proto.user.TelegramLoginRequest.prototype.clearAffiliateInfo = function() {
8976
+ return jspb.Message.setField(this, 12, undefined);
8977
+ };
8978
+
8979
+
8980
+ /**
8981
+ * Returns whether this field is set.
8982
+ * @return {boolean}
8983
+ */
8984
+ proto.user.TelegramLoginRequest.prototype.hasAffiliateInfo = function() {
8985
+ return jspb.Message.getField(this, 12) != null;
8986
+ };
8987
+
8988
+
8989
+ /**
8990
+ * optional int32 affiliate_id = 13;
8991
+ * @return {number}
8992
+ */
8993
+ proto.user.TelegramLoginRequest.prototype.getAffiliateId = function() {
8994
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
8995
+ };
8996
+
8997
+
8998
+ /**
8999
+ * @param {number} value
9000
+ * @return {!proto.user.TelegramLoginRequest} returns this
9001
+ */
9002
+ proto.user.TelegramLoginRequest.prototype.setAffiliateId = function(value) {
9003
+ return jspb.Message.setField(this, 13, value);
9004
+ };
9005
+
9006
+
9007
+ /**
9008
+ * Clears the field making it undefined.
9009
+ * @return {!proto.user.TelegramLoginRequest} returns this
9010
+ */
9011
+ proto.user.TelegramLoginRequest.prototype.clearAffiliateId = function() {
9012
+ return jspb.Message.setField(this, 13, undefined);
9013
+ };
9014
+
9015
+
9016
+ /**
9017
+ * Returns whether this field is set.
9018
+ * @return {boolean}
9019
+ */
9020
+ proto.user.TelegramLoginRequest.prototype.hasAffiliateId = function() {
9021
+ return jspb.Message.getField(this, 13) != null;
9022
+ };
9023
+
9024
+
9025
+ /**
9026
+ * optional string promo_code = 14;
9027
+ * @return {string}
9028
+ */
9029
+ proto.user.TelegramLoginRequest.prototype.getPromoCode = function() {
9030
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
9031
+ };
9032
+
9033
+
9034
+ /**
9035
+ * @param {string} value
9036
+ * @return {!proto.user.TelegramLoginRequest} returns this
9037
+ */
9038
+ proto.user.TelegramLoginRequest.prototype.setPromoCode = function(value) {
9039
+ return jspb.Message.setField(this, 14, value);
9040
+ };
9041
+
9042
+
9043
+ /**
9044
+ * Clears the field making it undefined.
9045
+ * @return {!proto.user.TelegramLoginRequest} returns this
9046
+ */
9047
+ proto.user.TelegramLoginRequest.prototype.clearPromoCode = function() {
9048
+ return jspb.Message.setField(this, 14, undefined);
9049
+ };
9050
+
9051
+
9052
+ /**
9053
+ * Returns whether this field is set.
9054
+ * @return {boolean}
9055
+ */
9056
+ proto.user.TelegramLoginRequest.prototype.hasPromoCode = function() {
9057
+ return jspb.Message.getField(this, 14) != null;
9058
+ };
9059
+
9060
+
8917
9061
 
8918
9062
 
8919
9063