protobuf-platform 1.2.483 → 1.2.488

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.483",
3
+ "version": "1.2.488",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -840,6 +840,7 @@ message ManualDepositRequest {
840
840
  string wager_multiplier = 4;
841
841
  string reason = 5;
842
842
  string idempotency_id = 6;
843
+ string amount = 7;
843
844
  }
844
845
  message CompensationRequest {
845
846
  int32 user_id = 1;
@@ -848,6 +849,10 @@ message CompensationRequest {
848
849
  string wager_multiplier = 4;
849
850
  string reason = 5;
850
851
  string idempotency_id = 6;
852
+ string compensation_type = 7;
853
+ string transaction_code = 8;
854
+ string internal_comment = 9;
855
+ string amount = 10;
851
856
  }
852
857
  message ConfiscationRequest {
853
858
  int32 user_id = 1;
@@ -855,6 +860,9 @@ message ConfiscationRequest {
855
860
  string currency = 3;
856
861
  string reason = 4;
857
862
  string idempotency_id = 5;
863
+ string transaction_code = 6;
864
+ string internal_comment = 7;
865
+ string amount = 8;
858
866
  }
859
867
  message FinancialOperationResponse {
860
868
  int32 operation_id = 1;
@@ -36012,7 +36012,8 @@ proto.payment.ManualDepositRequest.toObject = function(includeInstance, msg) {
36012
36012
  currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
36013
36013
  wagerMultiplier: jspb.Message.getFieldWithDefault(msg, 4, ""),
36014
36014
  reason: jspb.Message.getFieldWithDefault(msg, 5, ""),
36015
- idempotencyId: jspb.Message.getFieldWithDefault(msg, 6, "")
36015
+ idempotencyId: jspb.Message.getFieldWithDefault(msg, 6, ""),
36016
+ amount: jspb.Message.getFieldWithDefault(msg, 7, "")
36016
36017
  };
36017
36018
 
36018
36019
  if (includeInstance) {
@@ -36073,6 +36074,10 @@ proto.payment.ManualDepositRequest.deserializeBinaryFromReader = function(msg, r
36073
36074
  var value = /** @type {string} */ (reader.readString());
36074
36075
  msg.setIdempotencyId(value);
36075
36076
  break;
36077
+ case 7:
36078
+ var value = /** @type {string} */ (reader.readString());
36079
+ msg.setAmount(value);
36080
+ break;
36076
36081
  default:
36077
36082
  reader.skipField();
36078
36083
  break;
@@ -36144,6 +36149,13 @@ proto.payment.ManualDepositRequest.serializeBinaryToWriter = function(message, w
36144
36149
  f
36145
36150
  );
36146
36151
  }
36152
+ f = message.getAmount();
36153
+ if (f.length > 0) {
36154
+ writer.writeString(
36155
+ 7,
36156
+ f
36157
+ );
36158
+ }
36147
36159
  };
36148
36160
 
36149
36161
 
@@ -36255,6 +36267,24 @@ proto.payment.ManualDepositRequest.prototype.setIdempotencyId = function(value)
36255
36267
  };
36256
36268
 
36257
36269
 
36270
+ /**
36271
+ * optional string amount = 7;
36272
+ * @return {string}
36273
+ */
36274
+ proto.payment.ManualDepositRequest.prototype.getAmount = function() {
36275
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
36276
+ };
36277
+
36278
+
36279
+ /**
36280
+ * @param {string} value
36281
+ * @return {!proto.payment.ManualDepositRequest} returns this
36282
+ */
36283
+ proto.payment.ManualDepositRequest.prototype.setAmount = function(value) {
36284
+ return jspb.Message.setProto3StringField(this, 7, value);
36285
+ };
36286
+
36287
+
36258
36288
 
36259
36289
 
36260
36290
 
@@ -36292,7 +36322,11 @@ proto.payment.CompensationRequest.toObject = function(includeInstance, msg) {
36292
36322
  currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
36293
36323
  wagerMultiplier: jspb.Message.getFieldWithDefault(msg, 4, ""),
36294
36324
  reason: jspb.Message.getFieldWithDefault(msg, 5, ""),
36295
- idempotencyId: jspb.Message.getFieldWithDefault(msg, 6, "")
36325
+ idempotencyId: jspb.Message.getFieldWithDefault(msg, 6, ""),
36326
+ compensationType: jspb.Message.getFieldWithDefault(msg, 7, ""),
36327
+ transactionCode: jspb.Message.getFieldWithDefault(msg, 8, ""),
36328
+ internalComment: jspb.Message.getFieldWithDefault(msg, 9, ""),
36329
+ amount: jspb.Message.getFieldWithDefault(msg, 10, "")
36296
36330
  };
36297
36331
 
36298
36332
  if (includeInstance) {
@@ -36353,6 +36387,22 @@ proto.payment.CompensationRequest.deserializeBinaryFromReader = function(msg, re
36353
36387
  var value = /** @type {string} */ (reader.readString());
36354
36388
  msg.setIdempotencyId(value);
36355
36389
  break;
36390
+ case 7:
36391
+ var value = /** @type {string} */ (reader.readString());
36392
+ msg.setCompensationType(value);
36393
+ break;
36394
+ case 8:
36395
+ var value = /** @type {string} */ (reader.readString());
36396
+ msg.setTransactionCode(value);
36397
+ break;
36398
+ case 9:
36399
+ var value = /** @type {string} */ (reader.readString());
36400
+ msg.setInternalComment(value);
36401
+ break;
36402
+ case 10:
36403
+ var value = /** @type {string} */ (reader.readString());
36404
+ msg.setAmount(value);
36405
+ break;
36356
36406
  default:
36357
36407
  reader.skipField();
36358
36408
  break;
@@ -36424,6 +36474,34 @@ proto.payment.CompensationRequest.serializeBinaryToWriter = function(message, wr
36424
36474
  f
36425
36475
  );
36426
36476
  }
36477
+ f = message.getCompensationType();
36478
+ if (f.length > 0) {
36479
+ writer.writeString(
36480
+ 7,
36481
+ f
36482
+ );
36483
+ }
36484
+ f = message.getTransactionCode();
36485
+ if (f.length > 0) {
36486
+ writer.writeString(
36487
+ 8,
36488
+ f
36489
+ );
36490
+ }
36491
+ f = message.getInternalComment();
36492
+ if (f.length > 0) {
36493
+ writer.writeString(
36494
+ 9,
36495
+ f
36496
+ );
36497
+ }
36498
+ f = message.getAmount();
36499
+ if (f.length > 0) {
36500
+ writer.writeString(
36501
+ 10,
36502
+ f
36503
+ );
36504
+ }
36427
36505
  };
36428
36506
 
36429
36507
 
@@ -36535,6 +36613,78 @@ proto.payment.CompensationRequest.prototype.setIdempotencyId = function(value) {
36535
36613
  };
36536
36614
 
36537
36615
 
36616
+ /**
36617
+ * optional string compensation_type = 7;
36618
+ * @return {string}
36619
+ */
36620
+ proto.payment.CompensationRequest.prototype.getCompensationType = function() {
36621
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
36622
+ };
36623
+
36624
+
36625
+ /**
36626
+ * @param {string} value
36627
+ * @return {!proto.payment.CompensationRequest} returns this
36628
+ */
36629
+ proto.payment.CompensationRequest.prototype.setCompensationType = function(value) {
36630
+ return jspb.Message.setProto3StringField(this, 7, value);
36631
+ };
36632
+
36633
+
36634
+ /**
36635
+ * optional string transaction_code = 8;
36636
+ * @return {string}
36637
+ */
36638
+ proto.payment.CompensationRequest.prototype.getTransactionCode = function() {
36639
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
36640
+ };
36641
+
36642
+
36643
+ /**
36644
+ * @param {string} value
36645
+ * @return {!proto.payment.CompensationRequest} returns this
36646
+ */
36647
+ proto.payment.CompensationRequest.prototype.setTransactionCode = function(value) {
36648
+ return jspb.Message.setProto3StringField(this, 8, value);
36649
+ };
36650
+
36651
+
36652
+ /**
36653
+ * optional string internal_comment = 9;
36654
+ * @return {string}
36655
+ */
36656
+ proto.payment.CompensationRequest.prototype.getInternalComment = function() {
36657
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
36658
+ };
36659
+
36660
+
36661
+ /**
36662
+ * @param {string} value
36663
+ * @return {!proto.payment.CompensationRequest} returns this
36664
+ */
36665
+ proto.payment.CompensationRequest.prototype.setInternalComment = function(value) {
36666
+ return jspb.Message.setProto3StringField(this, 9, value);
36667
+ };
36668
+
36669
+
36670
+ /**
36671
+ * optional string amount = 10;
36672
+ * @return {string}
36673
+ */
36674
+ proto.payment.CompensationRequest.prototype.getAmount = function() {
36675
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
36676
+ };
36677
+
36678
+
36679
+ /**
36680
+ * @param {string} value
36681
+ * @return {!proto.payment.CompensationRequest} returns this
36682
+ */
36683
+ proto.payment.CompensationRequest.prototype.setAmount = function(value) {
36684
+ return jspb.Message.setProto3StringField(this, 10, value);
36685
+ };
36686
+
36687
+
36538
36688
 
36539
36689
 
36540
36690
 
@@ -36571,7 +36721,10 @@ proto.payment.ConfiscationRequest.toObject = function(includeInstance, msg) {
36571
36721
  amountMinor: jspb.Message.getFieldWithDefault(msg, 2, 0),
36572
36722
  currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
36573
36723
  reason: jspb.Message.getFieldWithDefault(msg, 4, ""),
36574
- idempotencyId: jspb.Message.getFieldWithDefault(msg, 5, "")
36724
+ idempotencyId: jspb.Message.getFieldWithDefault(msg, 5, ""),
36725
+ transactionCode: jspb.Message.getFieldWithDefault(msg, 6, ""),
36726
+ internalComment: jspb.Message.getFieldWithDefault(msg, 7, ""),
36727
+ amount: jspb.Message.getFieldWithDefault(msg, 8, "")
36575
36728
  };
36576
36729
 
36577
36730
  if (includeInstance) {
@@ -36628,6 +36781,18 @@ proto.payment.ConfiscationRequest.deserializeBinaryFromReader = function(msg, re
36628
36781
  var value = /** @type {string} */ (reader.readString());
36629
36782
  msg.setIdempotencyId(value);
36630
36783
  break;
36784
+ case 6:
36785
+ var value = /** @type {string} */ (reader.readString());
36786
+ msg.setTransactionCode(value);
36787
+ break;
36788
+ case 7:
36789
+ var value = /** @type {string} */ (reader.readString());
36790
+ msg.setInternalComment(value);
36791
+ break;
36792
+ case 8:
36793
+ var value = /** @type {string} */ (reader.readString());
36794
+ msg.setAmount(value);
36795
+ break;
36631
36796
  default:
36632
36797
  reader.skipField();
36633
36798
  break;
@@ -36692,6 +36857,27 @@ proto.payment.ConfiscationRequest.serializeBinaryToWriter = function(message, wr
36692
36857
  f
36693
36858
  );
36694
36859
  }
36860
+ f = message.getTransactionCode();
36861
+ if (f.length > 0) {
36862
+ writer.writeString(
36863
+ 6,
36864
+ f
36865
+ );
36866
+ }
36867
+ f = message.getInternalComment();
36868
+ if (f.length > 0) {
36869
+ writer.writeString(
36870
+ 7,
36871
+ f
36872
+ );
36873
+ }
36874
+ f = message.getAmount();
36875
+ if (f.length > 0) {
36876
+ writer.writeString(
36877
+ 8,
36878
+ f
36879
+ );
36880
+ }
36695
36881
  };
36696
36882
 
36697
36883
 
@@ -36785,6 +36971,60 @@ proto.payment.ConfiscationRequest.prototype.setIdempotencyId = function(value) {
36785
36971
  };
36786
36972
 
36787
36973
 
36974
+ /**
36975
+ * optional string transaction_code = 6;
36976
+ * @return {string}
36977
+ */
36978
+ proto.payment.ConfiscationRequest.prototype.getTransactionCode = function() {
36979
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
36980
+ };
36981
+
36982
+
36983
+ /**
36984
+ * @param {string} value
36985
+ * @return {!proto.payment.ConfiscationRequest} returns this
36986
+ */
36987
+ proto.payment.ConfiscationRequest.prototype.setTransactionCode = function(value) {
36988
+ return jspb.Message.setProto3StringField(this, 6, value);
36989
+ };
36990
+
36991
+
36992
+ /**
36993
+ * optional string internal_comment = 7;
36994
+ * @return {string}
36995
+ */
36996
+ proto.payment.ConfiscationRequest.prototype.getInternalComment = function() {
36997
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
36998
+ };
36999
+
37000
+
37001
+ /**
37002
+ * @param {string} value
37003
+ * @return {!proto.payment.ConfiscationRequest} returns this
37004
+ */
37005
+ proto.payment.ConfiscationRequest.prototype.setInternalComment = function(value) {
37006
+ return jspb.Message.setProto3StringField(this, 7, value);
37007
+ };
37008
+
37009
+
37010
+ /**
37011
+ * optional string amount = 8;
37012
+ * @return {string}
37013
+ */
37014
+ proto.payment.ConfiscationRequest.prototype.getAmount = function() {
37015
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
37016
+ };
37017
+
37018
+
37019
+ /**
37020
+ * @param {string} value
37021
+ * @return {!proto.payment.ConfiscationRequest} returns this
37022
+ */
37023
+ proto.payment.ConfiscationRequest.prototype.setAmount = function(value) {
37024
+ return jspb.Message.setProto3StringField(this, 8, value);
37025
+ };
37026
+
37027
+
36788
37028
 
36789
37029
 
36790
37030