protobuf-platform 1.2.485 → 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.485",
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;
@@ -851,6 +852,7 @@ message CompensationRequest {
851
852
  string compensation_type = 7;
852
853
  string transaction_code = 8;
853
854
  string internal_comment = 9;
855
+ string amount = 10;
854
856
  }
855
857
  message ConfiscationRequest {
856
858
  int32 user_id = 1;
@@ -860,6 +862,7 @@ message ConfiscationRequest {
860
862
  string idempotency_id = 5;
861
863
  string transaction_code = 6;
862
864
  string internal_comment = 7;
865
+ string amount = 8;
863
866
  }
864
867
  message FinancialOperationResponse {
865
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
 
@@ -36295,7 +36325,8 @@ proto.payment.CompensationRequest.toObject = function(includeInstance, msg) {
36295
36325
  idempotencyId: jspb.Message.getFieldWithDefault(msg, 6, ""),
36296
36326
  compensationType: jspb.Message.getFieldWithDefault(msg, 7, ""),
36297
36327
  transactionCode: jspb.Message.getFieldWithDefault(msg, 8, ""),
36298
- internalComment: jspb.Message.getFieldWithDefault(msg, 9, "")
36328
+ internalComment: jspb.Message.getFieldWithDefault(msg, 9, ""),
36329
+ amount: jspb.Message.getFieldWithDefault(msg, 10, "")
36299
36330
  };
36300
36331
 
36301
36332
  if (includeInstance) {
@@ -36368,6 +36399,10 @@ proto.payment.CompensationRequest.deserializeBinaryFromReader = function(msg, re
36368
36399
  var value = /** @type {string} */ (reader.readString());
36369
36400
  msg.setInternalComment(value);
36370
36401
  break;
36402
+ case 10:
36403
+ var value = /** @type {string} */ (reader.readString());
36404
+ msg.setAmount(value);
36405
+ break;
36371
36406
  default:
36372
36407
  reader.skipField();
36373
36408
  break;
@@ -36460,6 +36495,13 @@ proto.payment.CompensationRequest.serializeBinaryToWriter = function(message, wr
36460
36495
  f
36461
36496
  );
36462
36497
  }
36498
+ f = message.getAmount();
36499
+ if (f.length > 0) {
36500
+ writer.writeString(
36501
+ 10,
36502
+ f
36503
+ );
36504
+ }
36463
36505
  };
36464
36506
 
36465
36507
 
@@ -36625,6 +36667,24 @@ proto.payment.CompensationRequest.prototype.setInternalComment = function(value)
36625
36667
  };
36626
36668
 
36627
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
+
36628
36688
 
36629
36689
 
36630
36690
 
@@ -36663,7 +36723,8 @@ proto.payment.ConfiscationRequest.toObject = function(includeInstance, msg) {
36663
36723
  reason: jspb.Message.getFieldWithDefault(msg, 4, ""),
36664
36724
  idempotencyId: jspb.Message.getFieldWithDefault(msg, 5, ""),
36665
36725
  transactionCode: jspb.Message.getFieldWithDefault(msg, 6, ""),
36666
- internalComment: jspb.Message.getFieldWithDefault(msg, 7, "")
36726
+ internalComment: jspb.Message.getFieldWithDefault(msg, 7, ""),
36727
+ amount: jspb.Message.getFieldWithDefault(msg, 8, "")
36667
36728
  };
36668
36729
 
36669
36730
  if (includeInstance) {
@@ -36728,6 +36789,10 @@ proto.payment.ConfiscationRequest.deserializeBinaryFromReader = function(msg, re
36728
36789
  var value = /** @type {string} */ (reader.readString());
36729
36790
  msg.setInternalComment(value);
36730
36791
  break;
36792
+ case 8:
36793
+ var value = /** @type {string} */ (reader.readString());
36794
+ msg.setAmount(value);
36795
+ break;
36731
36796
  default:
36732
36797
  reader.skipField();
36733
36798
  break;
@@ -36806,6 +36871,13 @@ proto.payment.ConfiscationRequest.serializeBinaryToWriter = function(message, wr
36806
36871
  f
36807
36872
  );
36808
36873
  }
36874
+ f = message.getAmount();
36875
+ if (f.length > 0) {
36876
+ writer.writeString(
36877
+ 8,
36878
+ f
36879
+ );
36880
+ }
36809
36881
  };
36810
36882
 
36811
36883
 
@@ -36935,6 +37007,24 @@ proto.payment.ConfiscationRequest.prototype.setInternalComment = function(value)
36935
37007
  };
36936
37008
 
36937
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
+
36938
37028
 
36939
37029
 
36940
37030