protobuf-platform 1.2.514 → 1.2.515

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.514",
3
+ "version": "1.2.515",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -901,6 +901,9 @@ message ManualDepositRequest {
901
901
  string reason = 5;
902
902
  string idempotency_id = 6;
903
903
  string amount = 7;
904
+ optional int64 payment_method_id = 8;
905
+ optional string external_payment_id = 9;
906
+ optional string external_transaction_id = 10;
904
907
  }
905
908
  message CompensationRequest {
906
909
  int32 user_id = 1;
@@ -38413,7 +38413,10 @@ proto.payment.ManualDepositRequest.toObject = function(includeInstance, msg) {
38413
38413
  wagerMultiplier: jspb.Message.getFieldWithDefault(msg, 4, ""),
38414
38414
  reason: jspb.Message.getFieldWithDefault(msg, 5, ""),
38415
38415
  idempotencyId: jspb.Message.getFieldWithDefault(msg, 6, ""),
38416
- amount: jspb.Message.getFieldWithDefault(msg, 7, "")
38416
+ amount: jspb.Message.getFieldWithDefault(msg, 7, ""),
38417
+ paymentMethodId: jspb.Message.getFieldWithDefault(msg, 8, 0),
38418
+ externalPaymentId: jspb.Message.getFieldWithDefault(msg, 9, ""),
38419
+ externalTransactionId: jspb.Message.getFieldWithDefault(msg, 10, "")
38417
38420
  };
38418
38421
 
38419
38422
  if (includeInstance) {
@@ -38478,6 +38481,18 @@ proto.payment.ManualDepositRequest.deserializeBinaryFromReader = function(msg, r
38478
38481
  var value = /** @type {string} */ (reader.readString());
38479
38482
  msg.setAmount(value);
38480
38483
  break;
38484
+ case 8:
38485
+ var value = /** @type {number} */ (reader.readInt64());
38486
+ msg.setPaymentMethodId(value);
38487
+ break;
38488
+ case 9:
38489
+ var value = /** @type {string} */ (reader.readString());
38490
+ msg.setExternalPaymentId(value);
38491
+ break;
38492
+ case 10:
38493
+ var value = /** @type {string} */ (reader.readString());
38494
+ msg.setExternalTransactionId(value);
38495
+ break;
38481
38496
  default:
38482
38497
  reader.skipField();
38483
38498
  break;
@@ -38556,6 +38571,27 @@ proto.payment.ManualDepositRequest.serializeBinaryToWriter = function(message, w
38556
38571
  f
38557
38572
  );
38558
38573
  }
38574
+ f = /** @type {number} */ (jspb.Message.getField(message, 8));
38575
+ if (f != null) {
38576
+ writer.writeInt64(
38577
+ 8,
38578
+ f
38579
+ );
38580
+ }
38581
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
38582
+ if (f != null) {
38583
+ writer.writeString(
38584
+ 9,
38585
+ f
38586
+ );
38587
+ }
38588
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
38589
+ if (f != null) {
38590
+ writer.writeString(
38591
+ 10,
38592
+ f
38593
+ );
38594
+ }
38559
38595
  };
38560
38596
 
38561
38597
 
@@ -38703,6 +38739,114 @@ proto.payment.ManualDepositRequest.prototype.setAmount = function(value) {
38703
38739
  };
38704
38740
 
38705
38741
 
38742
+ /**
38743
+ * optional int64 payment_method_id = 8;
38744
+ * @return {number}
38745
+ */
38746
+ proto.payment.ManualDepositRequest.prototype.getPaymentMethodId = function() {
38747
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
38748
+ };
38749
+
38750
+
38751
+ /**
38752
+ * @param {number} value
38753
+ * @return {!proto.payment.ManualDepositRequest} returns this
38754
+ */
38755
+ proto.payment.ManualDepositRequest.prototype.setPaymentMethodId = function(value) {
38756
+ return jspb.Message.setField(this, 8, value);
38757
+ };
38758
+
38759
+
38760
+ /**
38761
+ * Clears the field making it undefined.
38762
+ * @return {!proto.payment.ManualDepositRequest} returns this
38763
+ */
38764
+ proto.payment.ManualDepositRequest.prototype.clearPaymentMethodId = function() {
38765
+ return jspb.Message.setField(this, 8, undefined);
38766
+ };
38767
+
38768
+
38769
+ /**
38770
+ * Returns whether this field is set.
38771
+ * @return {boolean}
38772
+ */
38773
+ proto.payment.ManualDepositRequest.prototype.hasPaymentMethodId = function() {
38774
+ return jspb.Message.getField(this, 8) != null;
38775
+ };
38776
+
38777
+
38778
+ /**
38779
+ * optional string external_payment_id = 9;
38780
+ * @return {string}
38781
+ */
38782
+ proto.payment.ManualDepositRequest.prototype.getExternalPaymentId = function() {
38783
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
38784
+ };
38785
+
38786
+
38787
+ /**
38788
+ * @param {string} value
38789
+ * @return {!proto.payment.ManualDepositRequest} returns this
38790
+ */
38791
+ proto.payment.ManualDepositRequest.prototype.setExternalPaymentId = function(value) {
38792
+ return jspb.Message.setField(this, 9, value);
38793
+ };
38794
+
38795
+
38796
+ /**
38797
+ * Clears the field making it undefined.
38798
+ * @return {!proto.payment.ManualDepositRequest} returns this
38799
+ */
38800
+ proto.payment.ManualDepositRequest.prototype.clearExternalPaymentId = function() {
38801
+ return jspb.Message.setField(this, 9, undefined);
38802
+ };
38803
+
38804
+
38805
+ /**
38806
+ * Returns whether this field is set.
38807
+ * @return {boolean}
38808
+ */
38809
+ proto.payment.ManualDepositRequest.prototype.hasExternalPaymentId = function() {
38810
+ return jspb.Message.getField(this, 9) != null;
38811
+ };
38812
+
38813
+
38814
+ /**
38815
+ * optional string external_transaction_id = 10;
38816
+ * @return {string}
38817
+ */
38818
+ proto.payment.ManualDepositRequest.prototype.getExternalTransactionId = function() {
38819
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
38820
+ };
38821
+
38822
+
38823
+ /**
38824
+ * @param {string} value
38825
+ * @return {!proto.payment.ManualDepositRequest} returns this
38826
+ */
38827
+ proto.payment.ManualDepositRequest.prototype.setExternalTransactionId = function(value) {
38828
+ return jspb.Message.setField(this, 10, value);
38829
+ };
38830
+
38831
+
38832
+ /**
38833
+ * Clears the field making it undefined.
38834
+ * @return {!proto.payment.ManualDepositRequest} returns this
38835
+ */
38836
+ proto.payment.ManualDepositRequest.prototype.clearExternalTransactionId = function() {
38837
+ return jspb.Message.setField(this, 10, undefined);
38838
+ };
38839
+
38840
+
38841
+ /**
38842
+ * Returns whether this field is set.
38843
+ * @return {boolean}
38844
+ */
38845
+ proto.payment.ManualDepositRequest.prototype.hasExternalTransactionId = function() {
38846
+ return jspb.Message.getField(this, 10) != null;
38847
+ };
38848
+
38849
+
38706
38850
 
38707
38851
 
38708
38852