protobuf-platform 1.2.415 → 1.2.419

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.
@@ -146,6 +146,8 @@ message BetPoint {
146
146
  optional int32 number_of_step = 5;
147
147
  optional int32 wager_game_list_id = 6;
148
148
  optional string wager_game_list_title = 7;
149
+ optional int32 is_real_balance_allowed = 8;
150
+ optional int32 is_bonus_balance_allowed = 9;
149
151
  }
150
152
  message PointItem {
151
153
  optional int32 id = 1;
@@ -6093,7 +6093,9 @@ proto.loyalty.BetPoint.toObject = function(includeInstance, msg) {
6093
6093
  max: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
6094
6094
  numberOfStep: jspb.Message.getFieldWithDefault(msg, 5, 0),
6095
6095
  wagerGameListId: jspb.Message.getFieldWithDefault(msg, 6, 0),
6096
- wagerGameListTitle: jspb.Message.getFieldWithDefault(msg, 7, "")
6096
+ wagerGameListTitle: jspb.Message.getFieldWithDefault(msg, 7, ""),
6097
+ isRealBalanceAllowed: jspb.Message.getFieldWithDefault(msg, 8, 0),
6098
+ isBonusBalanceAllowed: jspb.Message.getFieldWithDefault(msg, 9, 0)
6097
6099
  };
6098
6100
 
6099
6101
  if (includeInstance) {
@@ -6158,6 +6160,14 @@ proto.loyalty.BetPoint.deserializeBinaryFromReader = function(msg, reader) {
6158
6160
  var value = /** @type {string} */ (reader.readString());
6159
6161
  msg.setWagerGameListTitle(value);
6160
6162
  break;
6163
+ case 8:
6164
+ var value = /** @type {number} */ (reader.readInt32());
6165
+ msg.setIsRealBalanceAllowed(value);
6166
+ break;
6167
+ case 9:
6168
+ var value = /** @type {number} */ (reader.readInt32());
6169
+ msg.setIsBonusBalanceAllowed(value);
6170
+ break;
6161
6171
  default:
6162
6172
  reader.skipField();
6163
6173
  break;
@@ -6236,6 +6246,20 @@ proto.loyalty.BetPoint.serializeBinaryToWriter = function(message, writer) {
6236
6246
  f
6237
6247
  );
6238
6248
  }
6249
+ f = /** @type {number} */ (jspb.Message.getField(message, 8));
6250
+ if (f != null) {
6251
+ writer.writeInt32(
6252
+ 8,
6253
+ f
6254
+ );
6255
+ }
6256
+ f = /** @type {number} */ (jspb.Message.getField(message, 9));
6257
+ if (f != null) {
6258
+ writer.writeInt32(
6259
+ 9,
6260
+ f
6261
+ );
6262
+ }
6239
6263
  };
6240
6264
 
6241
6265
 
@@ -6419,6 +6443,78 @@ proto.loyalty.BetPoint.prototype.hasWagerGameListTitle = function() {
6419
6443
  };
6420
6444
 
6421
6445
 
6446
+ /**
6447
+ * optional int32 is_real_balance_allowed = 8;
6448
+ * @return {number}
6449
+ */
6450
+ proto.loyalty.BetPoint.prototype.getIsRealBalanceAllowed = function() {
6451
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
6452
+ };
6453
+
6454
+
6455
+ /**
6456
+ * @param {number} value
6457
+ * @return {!proto.loyalty.BetPoint} returns this
6458
+ */
6459
+ proto.loyalty.BetPoint.prototype.setIsRealBalanceAllowed = function(value) {
6460
+ return jspb.Message.setField(this, 8, value);
6461
+ };
6462
+
6463
+
6464
+ /**
6465
+ * Clears the field making it undefined.
6466
+ * @return {!proto.loyalty.BetPoint} returns this
6467
+ */
6468
+ proto.loyalty.BetPoint.prototype.clearIsRealBalanceAllowed = function() {
6469
+ return jspb.Message.setField(this, 8, undefined);
6470
+ };
6471
+
6472
+
6473
+ /**
6474
+ * Returns whether this field is set.
6475
+ * @return {boolean}
6476
+ */
6477
+ proto.loyalty.BetPoint.prototype.hasIsRealBalanceAllowed = function() {
6478
+ return jspb.Message.getField(this, 8) != null;
6479
+ };
6480
+
6481
+
6482
+ /**
6483
+ * optional int32 is_bonus_balance_allowed = 9;
6484
+ * @return {number}
6485
+ */
6486
+ proto.loyalty.BetPoint.prototype.getIsBonusBalanceAllowed = function() {
6487
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
6488
+ };
6489
+
6490
+
6491
+ /**
6492
+ * @param {number} value
6493
+ * @return {!proto.loyalty.BetPoint} returns this
6494
+ */
6495
+ proto.loyalty.BetPoint.prototype.setIsBonusBalanceAllowed = function(value) {
6496
+ return jspb.Message.setField(this, 9, value);
6497
+ };
6498
+
6499
+
6500
+ /**
6501
+ * Clears the field making it undefined.
6502
+ * @return {!proto.loyalty.BetPoint} returns this
6503
+ */
6504
+ proto.loyalty.BetPoint.prototype.clearIsBonusBalanceAllowed = function() {
6505
+ return jspb.Message.setField(this, 9, undefined);
6506
+ };
6507
+
6508
+
6509
+ /**
6510
+ * Returns whether this field is set.
6511
+ * @return {boolean}
6512
+ */
6513
+ proto.loyalty.BetPoint.prototype.hasIsBonusBalanceAllowed = function() {
6514
+ return jspb.Message.getField(this, 9) != null;
6515
+ };
6516
+
6517
+
6422
6518
 
6423
6519
 
6424
6520
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.415",
3
+ "version": "1.2.419",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -229,6 +229,7 @@ message LoginRequest {
229
229
  optional string country = 7;
230
230
  optional string city = 8;
231
231
  optional int32 two_fa = 9;
232
+ optional string nick_name = 10;
232
233
  }
233
234
  message TelegramLoginRequest {
234
235
  string telegram_user_id = 1;
package/user/user_pb.js CHANGED
@@ -7900,7 +7900,8 @@ proto.user.LoginRequest.toObject = function(includeInstance, msg) {
7900
7900
  device: jspb.Message.getFieldWithDefault(msg, 6, ""),
7901
7901
  country: jspb.Message.getFieldWithDefault(msg, 7, ""),
7902
7902
  city: jspb.Message.getFieldWithDefault(msg, 8, ""),
7903
- twoFa: jspb.Message.getFieldWithDefault(msg, 9, 0)
7903
+ twoFa: jspb.Message.getFieldWithDefault(msg, 9, 0),
7904
+ nickName: jspb.Message.getFieldWithDefault(msg, 10, "")
7904
7905
  };
7905
7906
 
7906
7907
  if (includeInstance) {
@@ -7973,6 +7974,10 @@ proto.user.LoginRequest.deserializeBinaryFromReader = function(msg, reader) {
7973
7974
  var value = /** @type {number} */ (reader.readInt32());
7974
7975
  msg.setTwoFa(value);
7975
7976
  break;
7977
+ case 10:
7978
+ var value = /** @type {string} */ (reader.readString());
7979
+ msg.setNickName(value);
7980
+ break;
7976
7981
  default:
7977
7982
  reader.skipField();
7978
7983
  break;
@@ -8065,6 +8070,13 @@ proto.user.LoginRequest.serializeBinaryToWriter = function(message, writer) {
8065
8070
  f
8066
8071
  );
8067
8072
  }
8073
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
8074
+ if (f != null) {
8075
+ writer.writeString(
8076
+ 10,
8077
+ f
8078
+ );
8079
+ }
8068
8080
  };
8069
8081
 
8070
8082
 
@@ -8374,6 +8386,42 @@ proto.user.LoginRequest.prototype.hasTwoFa = function() {
8374
8386
  };
8375
8387
 
8376
8388
 
8389
+ /**
8390
+ * optional string nick_name = 10;
8391
+ * @return {string}
8392
+ */
8393
+ proto.user.LoginRequest.prototype.getNickName = function() {
8394
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
8395
+ };
8396
+
8397
+
8398
+ /**
8399
+ * @param {string} value
8400
+ * @return {!proto.user.LoginRequest} returns this
8401
+ */
8402
+ proto.user.LoginRequest.prototype.setNickName = function(value) {
8403
+ return jspb.Message.setField(this, 10, value);
8404
+ };
8405
+
8406
+
8407
+ /**
8408
+ * Clears the field making it undefined.
8409
+ * @return {!proto.user.LoginRequest} returns this
8410
+ */
8411
+ proto.user.LoginRequest.prototype.clearNickName = function() {
8412
+ return jspb.Message.setField(this, 10, undefined);
8413
+ };
8414
+
8415
+
8416
+ /**
8417
+ * Returns whether this field is set.
8418
+ * @return {boolean}
8419
+ */
8420
+ proto.user.LoginRequest.prototype.hasNickName = function() {
8421
+ return jspb.Message.getField(this, 10) != null;
8422
+ };
8423
+
8424
+
8377
8425
 
8378
8426
 
8379
8427