protobuf-platform 1.2.514 → 1.2.516

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.516",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -433,6 +433,13 @@ message DepositItem {
433
433
  optional string payment_redirect_url = 11;
434
434
  optional string country = 12;
435
435
  optional string processing_type = 13;
436
+ optional string deposit_type = 14;
437
+ optional int32 payment_method_id = 15;
438
+ optional int32 payment_provider_id = 16;
439
+ optional string payment_provider_title = 17;
440
+ optional string external_ref = 18;
441
+ optional bool is_ftd = 19;
442
+ optional string completed = 20;
436
443
  }
437
444
  message DepositItemsResponse {
438
445
  repeated DepositItem items = 1;
@@ -901,6 +908,9 @@ message ManualDepositRequest {
901
908
  string reason = 5;
902
909
  string idempotency_id = 6;
903
910
  string amount = 7;
911
+ optional int64 payment_method_id = 8;
912
+ optional string external_payment_id = 9;
913
+ optional string external_transaction_id = 10;
904
914
  }
905
915
  message CompensationRequest {
906
916
  int32 user_id = 1;
@@ -18244,7 +18244,14 @@ proto.payment.DepositItem.toObject = function(includeInstance, msg) {
18244
18244
  created: jspb.Message.getFieldWithDefault(msg, 10, ""),
18245
18245
  paymentRedirectUrl: jspb.Message.getFieldWithDefault(msg, 11, ""),
18246
18246
  country: jspb.Message.getFieldWithDefault(msg, 12, ""),
18247
- processingType: jspb.Message.getFieldWithDefault(msg, 13, "")
18247
+ processingType: jspb.Message.getFieldWithDefault(msg, 13, ""),
18248
+ depositType: jspb.Message.getFieldWithDefault(msg, 14, ""),
18249
+ paymentMethodId: jspb.Message.getFieldWithDefault(msg, 15, 0),
18250
+ paymentProviderId: jspb.Message.getFieldWithDefault(msg, 16, 0),
18251
+ paymentProviderTitle: jspb.Message.getFieldWithDefault(msg, 17, ""),
18252
+ externalRef: jspb.Message.getFieldWithDefault(msg, 18, ""),
18253
+ isFtd: jspb.Message.getBooleanFieldWithDefault(msg, 19, false),
18254
+ completed: jspb.Message.getFieldWithDefault(msg, 20, "")
18248
18255
  };
18249
18256
 
18250
18257
  if (includeInstance) {
@@ -18333,6 +18340,34 @@ proto.payment.DepositItem.deserializeBinaryFromReader = function(msg, reader) {
18333
18340
  var value = /** @type {string} */ (reader.readString());
18334
18341
  msg.setProcessingType(value);
18335
18342
  break;
18343
+ case 14:
18344
+ var value = /** @type {string} */ (reader.readString());
18345
+ msg.setDepositType(value);
18346
+ break;
18347
+ case 15:
18348
+ var value = /** @type {number} */ (reader.readInt32());
18349
+ msg.setPaymentMethodId(value);
18350
+ break;
18351
+ case 16:
18352
+ var value = /** @type {number} */ (reader.readInt32());
18353
+ msg.setPaymentProviderId(value);
18354
+ break;
18355
+ case 17:
18356
+ var value = /** @type {string} */ (reader.readString());
18357
+ msg.setPaymentProviderTitle(value);
18358
+ break;
18359
+ case 18:
18360
+ var value = /** @type {string} */ (reader.readString());
18361
+ msg.setExternalRef(value);
18362
+ break;
18363
+ case 19:
18364
+ var value = /** @type {boolean} */ (reader.readBool());
18365
+ msg.setIsFtd(value);
18366
+ break;
18367
+ case 20:
18368
+ var value = /** @type {string} */ (reader.readString());
18369
+ msg.setCompleted(value);
18370
+ break;
18336
18371
  default:
18337
18372
  reader.skipField();
18338
18373
  break;
@@ -18453,6 +18488,55 @@ proto.payment.DepositItem.serializeBinaryToWriter = function(message, writer) {
18453
18488
  f
18454
18489
  );
18455
18490
  }
18491
+ f = /** @type {string} */ (jspb.Message.getField(message, 14));
18492
+ if (f != null) {
18493
+ writer.writeString(
18494
+ 14,
18495
+ f
18496
+ );
18497
+ }
18498
+ f = /** @type {number} */ (jspb.Message.getField(message, 15));
18499
+ if (f != null) {
18500
+ writer.writeInt32(
18501
+ 15,
18502
+ f
18503
+ );
18504
+ }
18505
+ f = /** @type {number} */ (jspb.Message.getField(message, 16));
18506
+ if (f != null) {
18507
+ writer.writeInt32(
18508
+ 16,
18509
+ f
18510
+ );
18511
+ }
18512
+ f = /** @type {string} */ (jspb.Message.getField(message, 17));
18513
+ if (f != null) {
18514
+ writer.writeString(
18515
+ 17,
18516
+ f
18517
+ );
18518
+ }
18519
+ f = /** @type {string} */ (jspb.Message.getField(message, 18));
18520
+ if (f != null) {
18521
+ writer.writeString(
18522
+ 18,
18523
+ f
18524
+ );
18525
+ }
18526
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 19));
18527
+ if (f != null) {
18528
+ writer.writeBool(
18529
+ 19,
18530
+ f
18531
+ );
18532
+ }
18533
+ f = /** @type {string} */ (jspb.Message.getField(message, 20));
18534
+ if (f != null) {
18535
+ writer.writeString(
18536
+ 20,
18537
+ f
18538
+ );
18539
+ }
18456
18540
  };
18457
18541
 
18458
18542
 
@@ -18798,6 +18882,258 @@ proto.payment.DepositItem.prototype.hasProcessingType = function() {
18798
18882
  };
18799
18883
 
18800
18884
 
18885
+ /**
18886
+ * optional string deposit_type = 14;
18887
+ * @return {string}
18888
+ */
18889
+ proto.payment.DepositItem.prototype.getDepositType = function() {
18890
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
18891
+ };
18892
+
18893
+
18894
+ /**
18895
+ * @param {string} value
18896
+ * @return {!proto.payment.DepositItem} returns this
18897
+ */
18898
+ proto.payment.DepositItem.prototype.setDepositType = function(value) {
18899
+ return jspb.Message.setField(this, 14, value);
18900
+ };
18901
+
18902
+
18903
+ /**
18904
+ * Clears the field making it undefined.
18905
+ * @return {!proto.payment.DepositItem} returns this
18906
+ */
18907
+ proto.payment.DepositItem.prototype.clearDepositType = function() {
18908
+ return jspb.Message.setField(this, 14, undefined);
18909
+ };
18910
+
18911
+
18912
+ /**
18913
+ * Returns whether this field is set.
18914
+ * @return {boolean}
18915
+ */
18916
+ proto.payment.DepositItem.prototype.hasDepositType = function() {
18917
+ return jspb.Message.getField(this, 14) != null;
18918
+ };
18919
+
18920
+
18921
+ /**
18922
+ * optional int32 payment_method_id = 15;
18923
+ * @return {number}
18924
+ */
18925
+ proto.payment.DepositItem.prototype.getPaymentMethodId = function() {
18926
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
18927
+ };
18928
+
18929
+
18930
+ /**
18931
+ * @param {number} value
18932
+ * @return {!proto.payment.DepositItem} returns this
18933
+ */
18934
+ proto.payment.DepositItem.prototype.setPaymentMethodId = function(value) {
18935
+ return jspb.Message.setField(this, 15, value);
18936
+ };
18937
+
18938
+
18939
+ /**
18940
+ * Clears the field making it undefined.
18941
+ * @return {!proto.payment.DepositItem} returns this
18942
+ */
18943
+ proto.payment.DepositItem.prototype.clearPaymentMethodId = function() {
18944
+ return jspb.Message.setField(this, 15, undefined);
18945
+ };
18946
+
18947
+
18948
+ /**
18949
+ * Returns whether this field is set.
18950
+ * @return {boolean}
18951
+ */
18952
+ proto.payment.DepositItem.prototype.hasPaymentMethodId = function() {
18953
+ return jspb.Message.getField(this, 15) != null;
18954
+ };
18955
+
18956
+
18957
+ /**
18958
+ * optional int32 payment_provider_id = 16;
18959
+ * @return {number}
18960
+ */
18961
+ proto.payment.DepositItem.prototype.getPaymentProviderId = function() {
18962
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0));
18963
+ };
18964
+
18965
+
18966
+ /**
18967
+ * @param {number} value
18968
+ * @return {!proto.payment.DepositItem} returns this
18969
+ */
18970
+ proto.payment.DepositItem.prototype.setPaymentProviderId = function(value) {
18971
+ return jspb.Message.setField(this, 16, value);
18972
+ };
18973
+
18974
+
18975
+ /**
18976
+ * Clears the field making it undefined.
18977
+ * @return {!proto.payment.DepositItem} returns this
18978
+ */
18979
+ proto.payment.DepositItem.prototype.clearPaymentProviderId = function() {
18980
+ return jspb.Message.setField(this, 16, undefined);
18981
+ };
18982
+
18983
+
18984
+ /**
18985
+ * Returns whether this field is set.
18986
+ * @return {boolean}
18987
+ */
18988
+ proto.payment.DepositItem.prototype.hasPaymentProviderId = function() {
18989
+ return jspb.Message.getField(this, 16) != null;
18990
+ };
18991
+
18992
+
18993
+ /**
18994
+ * optional string payment_provider_title = 17;
18995
+ * @return {string}
18996
+ */
18997
+ proto.payment.DepositItem.prototype.getPaymentProviderTitle = function() {
18998
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
18999
+ };
19000
+
19001
+
19002
+ /**
19003
+ * @param {string} value
19004
+ * @return {!proto.payment.DepositItem} returns this
19005
+ */
19006
+ proto.payment.DepositItem.prototype.setPaymentProviderTitle = function(value) {
19007
+ return jspb.Message.setField(this, 17, value);
19008
+ };
19009
+
19010
+
19011
+ /**
19012
+ * Clears the field making it undefined.
19013
+ * @return {!proto.payment.DepositItem} returns this
19014
+ */
19015
+ proto.payment.DepositItem.prototype.clearPaymentProviderTitle = function() {
19016
+ return jspb.Message.setField(this, 17, undefined);
19017
+ };
19018
+
19019
+
19020
+ /**
19021
+ * Returns whether this field is set.
19022
+ * @return {boolean}
19023
+ */
19024
+ proto.payment.DepositItem.prototype.hasPaymentProviderTitle = function() {
19025
+ return jspb.Message.getField(this, 17) != null;
19026
+ };
19027
+
19028
+
19029
+ /**
19030
+ * optional string external_ref = 18;
19031
+ * @return {string}
19032
+ */
19033
+ proto.payment.DepositItem.prototype.getExternalRef = function() {
19034
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
19035
+ };
19036
+
19037
+
19038
+ /**
19039
+ * @param {string} value
19040
+ * @return {!proto.payment.DepositItem} returns this
19041
+ */
19042
+ proto.payment.DepositItem.prototype.setExternalRef = function(value) {
19043
+ return jspb.Message.setField(this, 18, value);
19044
+ };
19045
+
19046
+
19047
+ /**
19048
+ * Clears the field making it undefined.
19049
+ * @return {!proto.payment.DepositItem} returns this
19050
+ */
19051
+ proto.payment.DepositItem.prototype.clearExternalRef = function() {
19052
+ return jspb.Message.setField(this, 18, undefined);
19053
+ };
19054
+
19055
+
19056
+ /**
19057
+ * Returns whether this field is set.
19058
+ * @return {boolean}
19059
+ */
19060
+ proto.payment.DepositItem.prototype.hasExternalRef = function() {
19061
+ return jspb.Message.getField(this, 18) != null;
19062
+ };
19063
+
19064
+
19065
+ /**
19066
+ * optional bool is_ftd = 19;
19067
+ * @return {boolean}
19068
+ */
19069
+ proto.payment.DepositItem.prototype.getIsFtd = function() {
19070
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 19, false));
19071
+ };
19072
+
19073
+
19074
+ /**
19075
+ * @param {boolean} value
19076
+ * @return {!proto.payment.DepositItem} returns this
19077
+ */
19078
+ proto.payment.DepositItem.prototype.setIsFtd = function(value) {
19079
+ return jspb.Message.setField(this, 19, value);
19080
+ };
19081
+
19082
+
19083
+ /**
19084
+ * Clears the field making it undefined.
19085
+ * @return {!proto.payment.DepositItem} returns this
19086
+ */
19087
+ proto.payment.DepositItem.prototype.clearIsFtd = function() {
19088
+ return jspb.Message.setField(this, 19, undefined);
19089
+ };
19090
+
19091
+
19092
+ /**
19093
+ * Returns whether this field is set.
19094
+ * @return {boolean}
19095
+ */
19096
+ proto.payment.DepositItem.prototype.hasIsFtd = function() {
19097
+ return jspb.Message.getField(this, 19) != null;
19098
+ };
19099
+
19100
+
19101
+ /**
19102
+ * optional string completed = 20;
19103
+ * @return {string}
19104
+ */
19105
+ proto.payment.DepositItem.prototype.getCompleted = function() {
19106
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
19107
+ };
19108
+
19109
+
19110
+ /**
19111
+ * @param {string} value
19112
+ * @return {!proto.payment.DepositItem} returns this
19113
+ */
19114
+ proto.payment.DepositItem.prototype.setCompleted = function(value) {
19115
+ return jspb.Message.setField(this, 20, value);
19116
+ };
19117
+
19118
+
19119
+ /**
19120
+ * Clears the field making it undefined.
19121
+ * @return {!proto.payment.DepositItem} returns this
19122
+ */
19123
+ proto.payment.DepositItem.prototype.clearCompleted = function() {
19124
+ return jspb.Message.setField(this, 20, undefined);
19125
+ };
19126
+
19127
+
19128
+ /**
19129
+ * Returns whether this field is set.
19130
+ * @return {boolean}
19131
+ */
19132
+ proto.payment.DepositItem.prototype.hasCompleted = function() {
19133
+ return jspb.Message.getField(this, 20) != null;
19134
+ };
19135
+
19136
+
18801
19137
 
18802
19138
  /**
18803
19139
  * List of repeated fields within this message type.
@@ -38413,7 +38749,10 @@ proto.payment.ManualDepositRequest.toObject = function(includeInstance, msg) {
38413
38749
  wagerMultiplier: jspb.Message.getFieldWithDefault(msg, 4, ""),
38414
38750
  reason: jspb.Message.getFieldWithDefault(msg, 5, ""),
38415
38751
  idempotencyId: jspb.Message.getFieldWithDefault(msg, 6, ""),
38416
- amount: jspb.Message.getFieldWithDefault(msg, 7, "")
38752
+ amount: jspb.Message.getFieldWithDefault(msg, 7, ""),
38753
+ paymentMethodId: jspb.Message.getFieldWithDefault(msg, 8, 0),
38754
+ externalPaymentId: jspb.Message.getFieldWithDefault(msg, 9, ""),
38755
+ externalTransactionId: jspb.Message.getFieldWithDefault(msg, 10, "")
38417
38756
  };
38418
38757
 
38419
38758
  if (includeInstance) {
@@ -38478,6 +38817,18 @@ proto.payment.ManualDepositRequest.deserializeBinaryFromReader = function(msg, r
38478
38817
  var value = /** @type {string} */ (reader.readString());
38479
38818
  msg.setAmount(value);
38480
38819
  break;
38820
+ case 8:
38821
+ var value = /** @type {number} */ (reader.readInt64());
38822
+ msg.setPaymentMethodId(value);
38823
+ break;
38824
+ case 9:
38825
+ var value = /** @type {string} */ (reader.readString());
38826
+ msg.setExternalPaymentId(value);
38827
+ break;
38828
+ case 10:
38829
+ var value = /** @type {string} */ (reader.readString());
38830
+ msg.setExternalTransactionId(value);
38831
+ break;
38481
38832
  default:
38482
38833
  reader.skipField();
38483
38834
  break;
@@ -38556,6 +38907,27 @@ proto.payment.ManualDepositRequest.serializeBinaryToWriter = function(message, w
38556
38907
  f
38557
38908
  );
38558
38909
  }
38910
+ f = /** @type {number} */ (jspb.Message.getField(message, 8));
38911
+ if (f != null) {
38912
+ writer.writeInt64(
38913
+ 8,
38914
+ f
38915
+ );
38916
+ }
38917
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
38918
+ if (f != null) {
38919
+ writer.writeString(
38920
+ 9,
38921
+ f
38922
+ );
38923
+ }
38924
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
38925
+ if (f != null) {
38926
+ writer.writeString(
38927
+ 10,
38928
+ f
38929
+ );
38930
+ }
38559
38931
  };
38560
38932
 
38561
38933
 
@@ -38703,6 +39075,114 @@ proto.payment.ManualDepositRequest.prototype.setAmount = function(value) {
38703
39075
  };
38704
39076
 
38705
39077
 
39078
+ /**
39079
+ * optional int64 payment_method_id = 8;
39080
+ * @return {number}
39081
+ */
39082
+ proto.payment.ManualDepositRequest.prototype.getPaymentMethodId = function() {
39083
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
39084
+ };
39085
+
39086
+
39087
+ /**
39088
+ * @param {number} value
39089
+ * @return {!proto.payment.ManualDepositRequest} returns this
39090
+ */
39091
+ proto.payment.ManualDepositRequest.prototype.setPaymentMethodId = function(value) {
39092
+ return jspb.Message.setField(this, 8, value);
39093
+ };
39094
+
39095
+
39096
+ /**
39097
+ * Clears the field making it undefined.
39098
+ * @return {!proto.payment.ManualDepositRequest} returns this
39099
+ */
39100
+ proto.payment.ManualDepositRequest.prototype.clearPaymentMethodId = function() {
39101
+ return jspb.Message.setField(this, 8, undefined);
39102
+ };
39103
+
39104
+
39105
+ /**
39106
+ * Returns whether this field is set.
39107
+ * @return {boolean}
39108
+ */
39109
+ proto.payment.ManualDepositRequest.prototype.hasPaymentMethodId = function() {
39110
+ return jspb.Message.getField(this, 8) != null;
39111
+ };
39112
+
39113
+
39114
+ /**
39115
+ * optional string external_payment_id = 9;
39116
+ * @return {string}
39117
+ */
39118
+ proto.payment.ManualDepositRequest.prototype.getExternalPaymentId = function() {
39119
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
39120
+ };
39121
+
39122
+
39123
+ /**
39124
+ * @param {string} value
39125
+ * @return {!proto.payment.ManualDepositRequest} returns this
39126
+ */
39127
+ proto.payment.ManualDepositRequest.prototype.setExternalPaymentId = function(value) {
39128
+ return jspb.Message.setField(this, 9, value);
39129
+ };
39130
+
39131
+
39132
+ /**
39133
+ * Clears the field making it undefined.
39134
+ * @return {!proto.payment.ManualDepositRequest} returns this
39135
+ */
39136
+ proto.payment.ManualDepositRequest.prototype.clearExternalPaymentId = function() {
39137
+ return jspb.Message.setField(this, 9, undefined);
39138
+ };
39139
+
39140
+
39141
+ /**
39142
+ * Returns whether this field is set.
39143
+ * @return {boolean}
39144
+ */
39145
+ proto.payment.ManualDepositRequest.prototype.hasExternalPaymentId = function() {
39146
+ return jspb.Message.getField(this, 9) != null;
39147
+ };
39148
+
39149
+
39150
+ /**
39151
+ * optional string external_transaction_id = 10;
39152
+ * @return {string}
39153
+ */
39154
+ proto.payment.ManualDepositRequest.prototype.getExternalTransactionId = function() {
39155
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
39156
+ };
39157
+
39158
+
39159
+ /**
39160
+ * @param {string} value
39161
+ * @return {!proto.payment.ManualDepositRequest} returns this
39162
+ */
39163
+ proto.payment.ManualDepositRequest.prototype.setExternalTransactionId = function(value) {
39164
+ return jspb.Message.setField(this, 10, value);
39165
+ };
39166
+
39167
+
39168
+ /**
39169
+ * Clears the field making it undefined.
39170
+ * @return {!proto.payment.ManualDepositRequest} returns this
39171
+ */
39172
+ proto.payment.ManualDepositRequest.prototype.clearExternalTransactionId = function() {
39173
+ return jspb.Message.setField(this, 10, undefined);
39174
+ };
39175
+
39176
+
39177
+ /**
39178
+ * Returns whether this field is set.
39179
+ * @return {boolean}
39180
+ */
39181
+ proto.payment.ManualDepositRequest.prototype.hasExternalTransactionId = function() {
39182
+ return jspb.Message.getField(this, 10) != null;
39183
+ };
39184
+
39185
+
38706
39186
 
38707
39187
 
38708
39188