protobuf-platform 1.2.452 → 1.2.455

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.452",
3
+ "version": "1.2.455",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -355,6 +355,7 @@ message AttemptDepositRequest {
355
355
  optional string bank_branch = 43;
356
356
  optional string ifsc = 44;
357
357
  optional string crypto_wallet = 45;
358
+ optional string request_currency = 46;
358
359
  }
359
360
  message GetDepositRequest {
360
361
  int32 id = 1;
@@ -13193,7 +13193,8 @@ proto.payment.AttemptDepositRequest.toObject = function(includeInstance, msg) {
13193
13193
  bankCode: jspb.Message.getFieldWithDefault(msg, 42, ""),
13194
13194
  bankBranch: jspb.Message.getFieldWithDefault(msg, 43, ""),
13195
13195
  ifsc: jspb.Message.getFieldWithDefault(msg, 44, ""),
13196
- cryptoWallet: jspb.Message.getFieldWithDefault(msg, 45, "")
13196
+ cryptoWallet: jspb.Message.getFieldWithDefault(msg, 45, ""),
13197
+ requestCurrency: jspb.Message.getFieldWithDefault(msg, 46, "")
13197
13198
  };
13198
13199
 
13199
13200
  if (includeInstance) {
@@ -13410,6 +13411,10 @@ proto.payment.AttemptDepositRequest.deserializeBinaryFromReader = function(msg,
13410
13411
  var value = /** @type {string} */ (reader.readString());
13411
13412
  msg.setCryptoWallet(value);
13412
13413
  break;
13414
+ case 46:
13415
+ var value = /** @type {string} */ (reader.readString());
13416
+ msg.setRequestCurrency(value);
13417
+ break;
13413
13418
  default:
13414
13419
  reader.skipField();
13415
13420
  break;
@@ -13754,6 +13759,13 @@ proto.payment.AttemptDepositRequest.serializeBinaryToWriter = function(message,
13754
13759
  f
13755
13760
  );
13756
13761
  }
13762
+ f = /** @type {string} */ (jspb.Message.getField(message, 46));
13763
+ if (f != null) {
13764
+ writer.writeString(
13765
+ 46,
13766
+ f
13767
+ );
13768
+ }
13757
13769
  };
13758
13770
 
13759
13771
 
@@ -15323,6 +15335,42 @@ proto.payment.AttemptDepositRequest.prototype.hasCryptoWallet = function() {
15323
15335
  };
15324
15336
 
15325
15337
 
15338
+ /**
15339
+ * optional string request_currency = 46;
15340
+ * @return {string}
15341
+ */
15342
+ proto.payment.AttemptDepositRequest.prototype.getRequestCurrency = function() {
15343
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 46, ""));
15344
+ };
15345
+
15346
+
15347
+ /**
15348
+ * @param {string} value
15349
+ * @return {!proto.payment.AttemptDepositRequest} returns this
15350
+ */
15351
+ proto.payment.AttemptDepositRequest.prototype.setRequestCurrency = function(value) {
15352
+ return jspb.Message.setField(this, 46, value);
15353
+ };
15354
+
15355
+
15356
+ /**
15357
+ * Clears the field making it undefined.
15358
+ * @return {!proto.payment.AttemptDepositRequest} returns this
15359
+ */
15360
+ proto.payment.AttemptDepositRequest.prototype.clearRequestCurrency = function() {
15361
+ return jspb.Message.setField(this, 46, undefined);
15362
+ };
15363
+
15364
+
15365
+ /**
15366
+ * Returns whether this field is set.
15367
+ * @return {boolean}
15368
+ */
15369
+ proto.payment.AttemptDepositRequest.prototype.hasRequestCurrency = function() {
15370
+ return jspb.Message.getField(this, 46) != null;
15371
+ };
15372
+
15373
+
15326
15374
 
15327
15375
 
15328
15376