protobuf-platform 1.2.25 → 1.2.26

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.25",
3
+ "version": "1.2.26",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -170,6 +170,12 @@ message AttemptDepositRequest {
170
170
  optional int32 bonus_id = 4;
171
171
  optional string user_currency = 5;
172
172
  optional string user_country = 6;
173
+ optional string user_ip = 7;
174
+ optional string user_locale = 8;
175
+ optional string user_first_name = 9;
176
+ optional string user_last_name = 10;
177
+ optional string user_email = 11;
178
+ optional string user_public_id = 12;
173
179
  }
174
180
  message GetDepositRequest {
175
181
  int32 id = 1;
@@ -7062,7 +7062,13 @@ proto.payment.AttemptDepositRequest.toObject = function(includeInstance, msg) {
7062
7062
  amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
7063
7063
  bonusId: jspb.Message.getFieldWithDefault(msg, 4, 0),
7064
7064
  userCurrency: jspb.Message.getFieldWithDefault(msg, 5, ""),
7065
- userCountry: jspb.Message.getFieldWithDefault(msg, 6, "")
7065
+ userCountry: jspb.Message.getFieldWithDefault(msg, 6, ""),
7066
+ userIp: jspb.Message.getFieldWithDefault(msg, 7, ""),
7067
+ userLocale: jspb.Message.getFieldWithDefault(msg, 8, ""),
7068
+ userFirstName: jspb.Message.getFieldWithDefault(msg, 9, ""),
7069
+ userLastName: jspb.Message.getFieldWithDefault(msg, 10, ""),
7070
+ userEmail: jspb.Message.getFieldWithDefault(msg, 11, ""),
7071
+ userPublicId: jspb.Message.getFieldWithDefault(msg, 12, "")
7066
7072
  };
7067
7073
 
7068
7074
  if (includeInstance) {
@@ -7123,6 +7129,30 @@ proto.payment.AttemptDepositRequest.deserializeBinaryFromReader = function(msg,
7123
7129
  var value = /** @type {string} */ (reader.readString());
7124
7130
  msg.setUserCountry(value);
7125
7131
  break;
7132
+ case 7:
7133
+ var value = /** @type {string} */ (reader.readString());
7134
+ msg.setUserIp(value);
7135
+ break;
7136
+ case 8:
7137
+ var value = /** @type {string} */ (reader.readString());
7138
+ msg.setUserLocale(value);
7139
+ break;
7140
+ case 9:
7141
+ var value = /** @type {string} */ (reader.readString());
7142
+ msg.setUserFirstName(value);
7143
+ break;
7144
+ case 10:
7145
+ var value = /** @type {string} */ (reader.readString());
7146
+ msg.setUserLastName(value);
7147
+ break;
7148
+ case 11:
7149
+ var value = /** @type {string} */ (reader.readString());
7150
+ msg.setUserEmail(value);
7151
+ break;
7152
+ case 12:
7153
+ var value = /** @type {string} */ (reader.readString());
7154
+ msg.setUserPublicId(value);
7155
+ break;
7126
7156
  default:
7127
7157
  reader.skipField();
7128
7158
  break;
@@ -7194,6 +7224,48 @@ proto.payment.AttemptDepositRequest.serializeBinaryToWriter = function(message,
7194
7224
  f
7195
7225
  );
7196
7226
  }
7227
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
7228
+ if (f != null) {
7229
+ writer.writeString(
7230
+ 7,
7231
+ f
7232
+ );
7233
+ }
7234
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
7235
+ if (f != null) {
7236
+ writer.writeString(
7237
+ 8,
7238
+ f
7239
+ );
7240
+ }
7241
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
7242
+ if (f != null) {
7243
+ writer.writeString(
7244
+ 9,
7245
+ f
7246
+ );
7247
+ }
7248
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
7249
+ if (f != null) {
7250
+ writer.writeString(
7251
+ 10,
7252
+ f
7253
+ );
7254
+ }
7255
+ f = /** @type {string} */ (jspb.Message.getField(message, 11));
7256
+ if (f != null) {
7257
+ writer.writeString(
7258
+ 11,
7259
+ f
7260
+ );
7261
+ }
7262
+ f = /** @type {string} */ (jspb.Message.getField(message, 12));
7263
+ if (f != null) {
7264
+ writer.writeString(
7265
+ 12,
7266
+ f
7267
+ );
7268
+ }
7197
7269
  };
7198
7270
 
7199
7271
 
@@ -7359,6 +7431,222 @@ proto.payment.AttemptDepositRequest.prototype.hasUserCountry = function() {
7359
7431
  };
7360
7432
 
7361
7433
 
7434
+ /**
7435
+ * optional string user_ip = 7;
7436
+ * @return {string}
7437
+ */
7438
+ proto.payment.AttemptDepositRequest.prototype.getUserIp = function() {
7439
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
7440
+ };
7441
+
7442
+
7443
+ /**
7444
+ * @param {string} value
7445
+ * @return {!proto.payment.AttemptDepositRequest} returns this
7446
+ */
7447
+ proto.payment.AttemptDepositRequest.prototype.setUserIp = function(value) {
7448
+ return jspb.Message.setField(this, 7, value);
7449
+ };
7450
+
7451
+
7452
+ /**
7453
+ * Clears the field making it undefined.
7454
+ * @return {!proto.payment.AttemptDepositRequest} returns this
7455
+ */
7456
+ proto.payment.AttemptDepositRequest.prototype.clearUserIp = function() {
7457
+ return jspb.Message.setField(this, 7, undefined);
7458
+ };
7459
+
7460
+
7461
+ /**
7462
+ * Returns whether this field is set.
7463
+ * @return {boolean}
7464
+ */
7465
+ proto.payment.AttemptDepositRequest.prototype.hasUserIp = function() {
7466
+ return jspb.Message.getField(this, 7) != null;
7467
+ };
7468
+
7469
+
7470
+ /**
7471
+ * optional string user_locale = 8;
7472
+ * @return {string}
7473
+ */
7474
+ proto.payment.AttemptDepositRequest.prototype.getUserLocale = function() {
7475
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
7476
+ };
7477
+
7478
+
7479
+ /**
7480
+ * @param {string} value
7481
+ * @return {!proto.payment.AttemptDepositRequest} returns this
7482
+ */
7483
+ proto.payment.AttemptDepositRequest.prototype.setUserLocale = function(value) {
7484
+ return jspb.Message.setField(this, 8, value);
7485
+ };
7486
+
7487
+
7488
+ /**
7489
+ * Clears the field making it undefined.
7490
+ * @return {!proto.payment.AttemptDepositRequest} returns this
7491
+ */
7492
+ proto.payment.AttemptDepositRequest.prototype.clearUserLocale = function() {
7493
+ return jspb.Message.setField(this, 8, undefined);
7494
+ };
7495
+
7496
+
7497
+ /**
7498
+ * Returns whether this field is set.
7499
+ * @return {boolean}
7500
+ */
7501
+ proto.payment.AttemptDepositRequest.prototype.hasUserLocale = function() {
7502
+ return jspb.Message.getField(this, 8) != null;
7503
+ };
7504
+
7505
+
7506
+ /**
7507
+ * optional string user_first_name = 9;
7508
+ * @return {string}
7509
+ */
7510
+ proto.payment.AttemptDepositRequest.prototype.getUserFirstName = function() {
7511
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
7512
+ };
7513
+
7514
+
7515
+ /**
7516
+ * @param {string} value
7517
+ * @return {!proto.payment.AttemptDepositRequest} returns this
7518
+ */
7519
+ proto.payment.AttemptDepositRequest.prototype.setUserFirstName = function(value) {
7520
+ return jspb.Message.setField(this, 9, value);
7521
+ };
7522
+
7523
+
7524
+ /**
7525
+ * Clears the field making it undefined.
7526
+ * @return {!proto.payment.AttemptDepositRequest} returns this
7527
+ */
7528
+ proto.payment.AttemptDepositRequest.prototype.clearUserFirstName = function() {
7529
+ return jspb.Message.setField(this, 9, undefined);
7530
+ };
7531
+
7532
+
7533
+ /**
7534
+ * Returns whether this field is set.
7535
+ * @return {boolean}
7536
+ */
7537
+ proto.payment.AttemptDepositRequest.prototype.hasUserFirstName = function() {
7538
+ return jspb.Message.getField(this, 9) != null;
7539
+ };
7540
+
7541
+
7542
+ /**
7543
+ * optional string user_last_name = 10;
7544
+ * @return {string}
7545
+ */
7546
+ proto.payment.AttemptDepositRequest.prototype.getUserLastName = function() {
7547
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
7548
+ };
7549
+
7550
+
7551
+ /**
7552
+ * @param {string} value
7553
+ * @return {!proto.payment.AttemptDepositRequest} returns this
7554
+ */
7555
+ proto.payment.AttemptDepositRequest.prototype.setUserLastName = function(value) {
7556
+ return jspb.Message.setField(this, 10, value);
7557
+ };
7558
+
7559
+
7560
+ /**
7561
+ * Clears the field making it undefined.
7562
+ * @return {!proto.payment.AttemptDepositRequest} returns this
7563
+ */
7564
+ proto.payment.AttemptDepositRequest.prototype.clearUserLastName = function() {
7565
+ return jspb.Message.setField(this, 10, undefined);
7566
+ };
7567
+
7568
+
7569
+ /**
7570
+ * Returns whether this field is set.
7571
+ * @return {boolean}
7572
+ */
7573
+ proto.payment.AttemptDepositRequest.prototype.hasUserLastName = function() {
7574
+ return jspb.Message.getField(this, 10) != null;
7575
+ };
7576
+
7577
+
7578
+ /**
7579
+ * optional string user_email = 11;
7580
+ * @return {string}
7581
+ */
7582
+ proto.payment.AttemptDepositRequest.prototype.getUserEmail = function() {
7583
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
7584
+ };
7585
+
7586
+
7587
+ /**
7588
+ * @param {string} value
7589
+ * @return {!proto.payment.AttemptDepositRequest} returns this
7590
+ */
7591
+ proto.payment.AttemptDepositRequest.prototype.setUserEmail = function(value) {
7592
+ return jspb.Message.setField(this, 11, value);
7593
+ };
7594
+
7595
+
7596
+ /**
7597
+ * Clears the field making it undefined.
7598
+ * @return {!proto.payment.AttemptDepositRequest} returns this
7599
+ */
7600
+ proto.payment.AttemptDepositRequest.prototype.clearUserEmail = function() {
7601
+ return jspb.Message.setField(this, 11, undefined);
7602
+ };
7603
+
7604
+
7605
+ /**
7606
+ * Returns whether this field is set.
7607
+ * @return {boolean}
7608
+ */
7609
+ proto.payment.AttemptDepositRequest.prototype.hasUserEmail = function() {
7610
+ return jspb.Message.getField(this, 11) != null;
7611
+ };
7612
+
7613
+
7614
+ /**
7615
+ * optional string user_public_id = 12;
7616
+ * @return {string}
7617
+ */
7618
+ proto.payment.AttemptDepositRequest.prototype.getUserPublicId = function() {
7619
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
7620
+ };
7621
+
7622
+
7623
+ /**
7624
+ * @param {string} value
7625
+ * @return {!proto.payment.AttemptDepositRequest} returns this
7626
+ */
7627
+ proto.payment.AttemptDepositRequest.prototype.setUserPublicId = function(value) {
7628
+ return jspb.Message.setField(this, 12, value);
7629
+ };
7630
+
7631
+
7632
+ /**
7633
+ * Clears the field making it undefined.
7634
+ * @return {!proto.payment.AttemptDepositRequest} returns this
7635
+ */
7636
+ proto.payment.AttemptDepositRequest.prototype.clearUserPublicId = function() {
7637
+ return jspb.Message.setField(this, 12, undefined);
7638
+ };
7639
+
7640
+
7641
+ /**
7642
+ * Returns whether this field is set.
7643
+ * @return {boolean}
7644
+ */
7645
+ proto.payment.AttemptDepositRequest.prototype.hasUserPublicId = function() {
7646
+ return jspb.Message.getField(this, 12) != null;
7647
+ };
7648
+
7649
+
7362
7650
 
7363
7651
 
7364
7652