protobuf-platform 1.2.663 → 1.2.666

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.
@@ -109,6 +109,8 @@ goog.exportSymbol('proto.payment.OperationItem', null, global);
109
109
  goog.exportSymbol('proto.payment.OperationItemsResponse', null, global);
110
110
  goog.exportSymbol('proto.payment.OperationLedgerItem', null, global);
111
111
  goog.exportSymbol('proto.payment.PaginationRequest', null, global);
112
+ goog.exportSymbol('proto.payment.PaymentLifecycleStatus', null, global);
113
+ goog.exportSymbol('proto.payment.PaymentLifecycleStatusItemsResponse', null, global);
112
114
  goog.exportSymbol('proto.payment.PaymentMethodConfigRequest', null, global);
113
115
  goog.exportSymbol('proto.payment.PaymentMethodConfigResponse', null, global);
114
116
  goog.exportSymbol('proto.payment.PaymentMethodSnapshotItem', null, global);
@@ -1071,7 +1073,7 @@ if (goog.DEBUG && !COMPILED) {
1071
1073
  * @constructor
1072
1074
  */
1073
1075
  proto.payment.DepositResponse = function(opt_data) {
1074
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1076
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.DepositResponse.repeatedFields_, null);
1075
1077
  };
1076
1078
  goog.inherits(proto.payment.DepositResponse, jspb.Message);
1077
1079
  if (goog.DEBUG && !COMPILED) {
@@ -1092,7 +1094,7 @@ if (goog.DEBUG && !COMPILED) {
1092
1094
  * @constructor
1093
1095
  */
1094
1096
  proto.payment.DepositItem = function(opt_data) {
1095
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1097
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.DepositItem.repeatedFields_, null);
1096
1098
  };
1097
1099
  goog.inherits(proto.payment.DepositItem, jspb.Message);
1098
1100
  if (goog.DEBUG && !COMPILED) {
@@ -1323,7 +1325,7 @@ if (goog.DEBUG && !COMPILED) {
1323
1325
  * @constructor
1324
1326
  */
1325
1327
  proto.payment.WithdrawalResponse = function(opt_data) {
1326
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1328
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.WithdrawalResponse.repeatedFields_, null);
1327
1329
  };
1328
1330
  goog.inherits(proto.payment.WithdrawalResponse, jspb.Message);
1329
1331
  if (goog.DEBUG && !COMPILED) {
@@ -1344,7 +1346,7 @@ if (goog.DEBUG && !COMPILED) {
1344
1346
  * @constructor
1345
1347
  */
1346
1348
  proto.payment.WithdrawalItem = function(opt_data) {
1347
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1349
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.WithdrawalItem.repeatedFields_, null);
1348
1350
  };
1349
1351
  goog.inherits(proto.payment.WithdrawalItem, jspb.Message);
1350
1352
  if (goog.DEBUG && !COMPILED) {
@@ -2950,6 +2952,48 @@ if (goog.DEBUG && !COMPILED) {
2950
2952
  */
2951
2953
  proto.payment.PrepareGameplayPrecisionCommandResponse.displayName = 'proto.payment.PrepareGameplayPrecisionCommandResponse';
2952
2954
  }
2955
+ /**
2956
+ * Generated by JsPbCodeGenerator.
2957
+ * @param {Array=} opt_data Optional initial data array, typically from a
2958
+ * server response, or constructed directly in Javascript. The array is used
2959
+ * in place and becomes part of the constructed object. It is not cloned.
2960
+ * If no data is provided, the constructed object will be empty, but still
2961
+ * valid.
2962
+ * @extends {jspb.Message}
2963
+ * @constructor
2964
+ */
2965
+ proto.payment.PaymentLifecycleStatus = function(opt_data) {
2966
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2967
+ };
2968
+ goog.inherits(proto.payment.PaymentLifecycleStatus, jspb.Message);
2969
+ if (goog.DEBUG && !COMPILED) {
2970
+ /**
2971
+ * @public
2972
+ * @override
2973
+ */
2974
+ proto.payment.PaymentLifecycleStatus.displayName = 'proto.payment.PaymentLifecycleStatus';
2975
+ }
2976
+ /**
2977
+ * Generated by JsPbCodeGenerator.
2978
+ * @param {Array=} opt_data Optional initial data array, typically from a
2979
+ * server response, or constructed directly in Javascript. The array is used
2980
+ * in place and becomes part of the constructed object. It is not cloned.
2981
+ * If no data is provided, the constructed object will be empty, but still
2982
+ * valid.
2983
+ * @extends {jspb.Message}
2984
+ * @constructor
2985
+ */
2986
+ proto.payment.PaymentLifecycleStatusItemsResponse = function(opt_data) {
2987
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.PaymentLifecycleStatusItemsResponse.repeatedFields_, null);
2988
+ };
2989
+ goog.inherits(proto.payment.PaymentLifecycleStatusItemsResponse, jspb.Message);
2990
+ if (goog.DEBUG && !COMPILED) {
2991
+ /**
2992
+ * @public
2993
+ * @override
2994
+ */
2995
+ proto.payment.PaymentLifecycleStatusItemsResponse.displayName = 'proto.payment.PaymentLifecycleStatusItemsResponse';
2996
+ }
2953
2997
 
2954
2998
 
2955
2999
 
@@ -4038,7 +4082,7 @@ proto.payment.PaginationRequest.prototype.hasAdjustmentSearchParams = function()
4038
4082
  * @private {!Array<number>}
4039
4083
  * @const
4040
4084
  */
4041
- proto.payment.PaymentSearchRequest.repeatedFields_ = [3,4,5,8,9,10,15,16,17,18,20];
4085
+ proto.payment.PaymentSearchRequest.repeatedFields_ = [3,4,5,8,9,10,15,16,17,18,20,26];
4042
4086
 
4043
4087
 
4044
4088
 
@@ -4095,7 +4139,8 @@ proto.payment.PaymentSearchRequest.toObject = function(includeInstance, msg) {
4095
4139
  createdAtFrom: jspb.Message.getFieldWithDefault(msg, 22, ""),
4096
4140
  createdAtTo: jspb.Message.getFieldWithDefault(msg, 23, ""),
4097
4141
  completedAtFrom: jspb.Message.getFieldWithDefault(msg, 24, ""),
4098
- completedAtTo: jspb.Message.getFieldWithDefault(msg, 25, "")
4142
+ completedAtTo: jspb.Message.getFieldWithDefault(msg, 25, ""),
4143
+ canonicalStatusList: (f = jspb.Message.getRepeatedField(msg, 26)) == null ? undefined : f
4099
4144
  };
4100
4145
 
4101
4146
  if (includeInstance) {
@@ -4240,6 +4285,10 @@ proto.payment.PaymentSearchRequest.deserializeBinaryFromReader = function(msg, r
4240
4285
  var value = /** @type {string} */ (reader.readString());
4241
4286
  msg.setCompletedAtTo(value);
4242
4287
  break;
4288
+ case 26:
4289
+ var value = /** @type {string} */ (reader.readString());
4290
+ msg.addCanonicalStatus(value);
4291
+ break;
4243
4292
  default:
4244
4293
  reader.skipField();
4245
4294
  break;
@@ -4444,6 +4493,13 @@ proto.payment.PaymentSearchRequest.serializeBinaryToWriter = function(message, w
4444
4493
  f
4445
4494
  );
4446
4495
  }
4496
+ f = message.getCanonicalStatusList();
4497
+ if (f.length > 0) {
4498
+ writer.writeRepeatedString(
4499
+ 26,
4500
+ f
4501
+ );
4502
+ }
4447
4503
  };
4448
4504
 
4449
4505
 
@@ -5358,6 +5414,43 @@ proto.payment.PaymentSearchRequest.prototype.hasCompletedAtTo = function() {
5358
5414
  };
5359
5415
 
5360
5416
 
5417
+ /**
5418
+ * repeated string canonical_status = 26;
5419
+ * @return {!Array<string>}
5420
+ */
5421
+ proto.payment.PaymentSearchRequest.prototype.getCanonicalStatusList = function() {
5422
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 26));
5423
+ };
5424
+
5425
+
5426
+ /**
5427
+ * @param {!Array<string>} value
5428
+ * @return {!proto.payment.PaymentSearchRequest} returns this
5429
+ */
5430
+ proto.payment.PaymentSearchRequest.prototype.setCanonicalStatusList = function(value) {
5431
+ return jspb.Message.setField(this, 26, value || []);
5432
+ };
5433
+
5434
+
5435
+ /**
5436
+ * @param {string} value
5437
+ * @param {number=} opt_index
5438
+ * @return {!proto.payment.PaymentSearchRequest} returns this
5439
+ */
5440
+ proto.payment.PaymentSearchRequest.prototype.addCanonicalStatus = function(value, opt_index) {
5441
+ return jspb.Message.addToRepeatedField(this, 26, value, opt_index);
5442
+ };
5443
+
5444
+
5445
+ /**
5446
+ * Clears the list making it empty but non-null.
5447
+ * @return {!proto.payment.PaymentSearchRequest} returns this
5448
+ */
5449
+ proto.payment.PaymentSearchRequest.prototype.clearCanonicalStatusList = function() {
5450
+ return this.setCanonicalStatusList([]);
5451
+ };
5452
+
5453
+
5361
5454
 
5362
5455
  /**
5363
5456
  * List of repeated fields within this message type.
@@ -8380,7 +8473,8 @@ proto.payment.MethodItem.toObject = function(includeInstance, msg) {
8380
8473
  providerImage: jspb.Message.getFieldWithDefault(msg, 11, ""),
8381
8474
  providerImageCdn: jspb.Message.getFieldWithDefault(msg, 12, ""),
8382
8475
  code: jspb.Message.getFieldWithDefault(msg, 13, ""),
8383
- currencyType: jspb.Message.getFieldWithDefault(msg, 14, "")
8476
+ currencyType: jspb.Message.getFieldWithDefault(msg, 14, ""),
8477
+ isTest: jspb.Message.getBooleanFieldWithDefault(msg, 15, false)
8384
8478
  };
8385
8479
 
8386
8480
  if (includeInstance) {
@@ -8469,6 +8563,10 @@ proto.payment.MethodItem.deserializeBinaryFromReader = function(msg, reader) {
8469
8563
  var value = /** @type {string} */ (reader.readString());
8470
8564
  msg.setCurrencyType(value);
8471
8565
  break;
8566
+ case 15:
8567
+ var value = /** @type {boolean} */ (reader.readBool());
8568
+ msg.setIsTest(value);
8569
+ break;
8472
8570
  default:
8473
8571
  reader.skipField();
8474
8572
  break;
@@ -8589,6 +8687,13 @@ proto.payment.MethodItem.serializeBinaryToWriter = function(message, writer) {
8589
8687
  f
8590
8688
  );
8591
8689
  }
8690
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 15));
8691
+ if (f != null) {
8692
+ writer.writeBool(
8693
+ 15,
8694
+ f
8695
+ );
8696
+ }
8592
8697
  };
8593
8698
 
8594
8699
 
@@ -9060,6 +9165,42 @@ proto.payment.MethodItem.prototype.hasCurrencyType = function() {
9060
9165
  };
9061
9166
 
9062
9167
 
9168
+ /**
9169
+ * optional bool is_test = 15;
9170
+ * @return {boolean}
9171
+ */
9172
+ proto.payment.MethodItem.prototype.getIsTest = function() {
9173
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 15, false));
9174
+ };
9175
+
9176
+
9177
+ /**
9178
+ * @param {boolean} value
9179
+ * @return {!proto.payment.MethodItem} returns this
9180
+ */
9181
+ proto.payment.MethodItem.prototype.setIsTest = function(value) {
9182
+ return jspb.Message.setField(this, 15, value);
9183
+ };
9184
+
9185
+
9186
+ /**
9187
+ * Clears the field making it undefined.
9188
+ * @return {!proto.payment.MethodItem} returns this
9189
+ */
9190
+ proto.payment.MethodItem.prototype.clearIsTest = function() {
9191
+ return jspb.Message.setField(this, 15, undefined);
9192
+ };
9193
+
9194
+
9195
+ /**
9196
+ * Returns whether this field is set.
9197
+ * @return {boolean}
9198
+ */
9199
+ proto.payment.MethodItem.prototype.hasIsTest = function() {
9200
+ return jspb.Message.getField(this, 15) != null;
9201
+ };
9202
+
9203
+
9063
9204
 
9064
9205
  /**
9065
9206
  * Oneof group definitions for this message. Each group defines the field
@@ -9328,7 +9469,8 @@ proto.payment.MethodItemRequest.toObject = function(includeInstance, msg) {
9328
9469
  transactionType: jspb.Message.getFieldWithDefault(msg, 7, ""),
9329
9470
  processingType: jspb.Message.getFieldWithDefault(msg, 8, ""),
9330
9471
  code: jspb.Message.getFieldWithDefault(msg, 9, ""),
9331
- currencyType: jspb.Message.getFieldWithDefault(msg, 10, "")
9472
+ currencyType: jspb.Message.getFieldWithDefault(msg, 10, ""),
9473
+ isTest: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
9332
9474
  };
9333
9475
 
9334
9476
  if (includeInstance) {
@@ -9401,6 +9543,10 @@ proto.payment.MethodItemRequest.deserializeBinaryFromReader = function(msg, read
9401
9543
  var value = /** @type {string} */ (reader.readString());
9402
9544
  msg.setCurrencyType(value);
9403
9545
  break;
9546
+ case 11:
9547
+ var value = /** @type {boolean} */ (reader.readBool());
9548
+ msg.setIsTest(value);
9549
+ break;
9404
9550
  default:
9405
9551
  reader.skipField();
9406
9552
  break;
@@ -9493,6 +9639,13 @@ proto.payment.MethodItemRequest.serializeBinaryToWriter = function(message, writ
9493
9639
  f
9494
9640
  );
9495
9641
  }
9642
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 11));
9643
+ if (f != null) {
9644
+ writer.writeBool(
9645
+ 11,
9646
+ f
9647
+ );
9648
+ }
9496
9649
  };
9497
9650
 
9498
9651
 
@@ -9820,6 +9973,42 @@ proto.payment.MethodItemRequest.prototype.hasCurrencyType = function() {
9820
9973
  };
9821
9974
 
9822
9975
 
9976
+ /**
9977
+ * optional bool is_test = 11;
9978
+ * @return {boolean}
9979
+ */
9980
+ proto.payment.MethodItemRequest.prototype.getIsTest = function() {
9981
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
9982
+ };
9983
+
9984
+
9985
+ /**
9986
+ * @param {boolean} value
9987
+ * @return {!proto.payment.MethodItemRequest} returns this
9988
+ */
9989
+ proto.payment.MethodItemRequest.prototype.setIsTest = function(value) {
9990
+ return jspb.Message.setField(this, 11, value);
9991
+ };
9992
+
9993
+
9994
+ /**
9995
+ * Clears the field making it undefined.
9996
+ * @return {!proto.payment.MethodItemRequest} returns this
9997
+ */
9998
+ proto.payment.MethodItemRequest.prototype.clearIsTest = function() {
9999
+ return jspb.Message.setField(this, 11, undefined);
10000
+ };
10001
+
10002
+
10003
+ /**
10004
+ * Returns whether this field is set.
10005
+ * @return {boolean}
10006
+ */
10007
+ proto.payment.MethodItemRequest.prototype.hasIsTest = function() {
10008
+ return jspb.Message.getField(this, 11) != null;
10009
+ };
10010
+
10011
+
9823
10012
 
9824
10013
 
9825
10014
 
@@ -14236,7 +14425,8 @@ proto.payment.OperationItem.toObject = function(includeInstance, msg) {
14236
14425
  currency: jspb.Message.getFieldWithDefault(msg, 8, ""),
14237
14426
  externalRef: jspb.Message.getFieldWithDefault(msg, 9, ""),
14238
14427
  created: jspb.Message.getFieldWithDefault(msg, 10, ""),
14239
- origin: jspb.Message.getFieldWithDefault(msg, 11, "")
14428
+ origin: jspb.Message.getFieldWithDefault(msg, 11, ""),
14429
+ canonicalStatus: jspb.Message.getFieldWithDefault(msg, 12, "")
14240
14430
  };
14241
14431
 
14242
14432
  if (includeInstance) {
@@ -14317,6 +14507,10 @@ proto.payment.OperationItem.deserializeBinaryFromReader = function(msg, reader)
14317
14507
  var value = /** @type {string} */ (reader.readString());
14318
14508
  msg.setOrigin(value);
14319
14509
  break;
14510
+ case 12:
14511
+ var value = /** @type {string} */ (reader.readString());
14512
+ msg.setCanonicalStatus(value);
14513
+ break;
14320
14514
  default:
14321
14515
  reader.skipField();
14322
14516
  break;
@@ -14423,6 +14617,13 @@ proto.payment.OperationItem.serializeBinaryToWriter = function(message, writer)
14423
14617
  f
14424
14618
  );
14425
14619
  }
14620
+ f = /** @type {string} */ (jspb.Message.getField(message, 12));
14621
+ if (f != null) {
14622
+ writer.writeString(
14623
+ 12,
14624
+ f
14625
+ );
14626
+ }
14426
14627
  };
14427
14628
 
14428
14629
 
@@ -14642,6 +14843,42 @@ proto.payment.OperationItem.prototype.hasOrigin = function() {
14642
14843
  };
14643
14844
 
14644
14845
 
14846
+ /**
14847
+ * optional string canonical_status = 12;
14848
+ * @return {string}
14849
+ */
14850
+ proto.payment.OperationItem.prototype.getCanonicalStatus = function() {
14851
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
14852
+ };
14853
+
14854
+
14855
+ /**
14856
+ * @param {string} value
14857
+ * @return {!proto.payment.OperationItem} returns this
14858
+ */
14859
+ proto.payment.OperationItem.prototype.setCanonicalStatus = function(value) {
14860
+ return jspb.Message.setField(this, 12, value);
14861
+ };
14862
+
14863
+
14864
+ /**
14865
+ * Clears the field making it undefined.
14866
+ * @return {!proto.payment.OperationItem} returns this
14867
+ */
14868
+ proto.payment.OperationItem.prototype.clearCanonicalStatus = function() {
14869
+ return jspb.Message.setField(this, 12, undefined);
14870
+ };
14871
+
14872
+
14873
+ /**
14874
+ * Returns whether this field is set.
14875
+ * @return {boolean}
14876
+ */
14877
+ proto.payment.OperationItem.prototype.hasCanonicalStatus = function() {
14878
+ return jspb.Message.getField(this, 12) != null;
14879
+ };
14880
+
14881
+
14645
14882
 
14646
14883
  /**
14647
14884
  * List of repeated fields within this message type.
@@ -15865,7 +16102,8 @@ proto.payment.OperationDetailsItem.toObject = function(includeInstance, msg) {
15865
16102
  comment: jspb.Message.getFieldWithDefault(msg, 17, ""),
15866
16103
  providerCode: jspb.Message.getFieldWithDefault(msg, 18, ""),
15867
16104
  providerOutcome: (f = msg.getProviderOutcome()) && proto.payment.ProviderOutcome.toObject(includeInstance, f),
15868
- origin: jspb.Message.getFieldWithDefault(msg, 20, "")
16105
+ origin: jspb.Message.getFieldWithDefault(msg, 20, ""),
16106
+ canonicalStatus: jspb.Message.getFieldWithDefault(msg, 21, "")
15869
16107
  };
15870
16108
 
15871
16109
  if (includeInstance) {
@@ -15983,6 +16221,10 @@ proto.payment.OperationDetailsItem.deserializeBinaryFromReader = function(msg, r
15983
16221
  var value = /** @type {string} */ (reader.readString());
15984
16222
  msg.setOrigin(value);
15985
16223
  break;
16224
+ case 21:
16225
+ var value = /** @type {string} */ (reader.readString());
16226
+ msg.setCanonicalStatus(value);
16227
+ break;
15986
16228
  default:
15987
16229
  reader.skipField();
15988
16230
  break;
@@ -16153,6 +16395,13 @@ proto.payment.OperationDetailsItem.serializeBinaryToWriter = function(message, w
16153
16395
  f
16154
16396
  );
16155
16397
  }
16398
+ f = /** @type {string} */ (jspb.Message.getField(message, 21));
16399
+ if (f != null) {
16400
+ writer.writeString(
16401
+ 21,
16402
+ f
16403
+ );
16404
+ }
16156
16405
  };
16157
16406
 
16158
16407
 
@@ -16589,6 +16838,42 @@ proto.payment.OperationDetailsItem.prototype.hasOrigin = function() {
16589
16838
  };
16590
16839
 
16591
16840
 
16841
+ /**
16842
+ * optional string canonical_status = 21;
16843
+ * @return {string}
16844
+ */
16845
+ proto.payment.OperationDetailsItem.prototype.getCanonicalStatus = function() {
16846
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
16847
+ };
16848
+
16849
+
16850
+ /**
16851
+ * @param {string} value
16852
+ * @return {!proto.payment.OperationDetailsItem} returns this
16853
+ */
16854
+ proto.payment.OperationDetailsItem.prototype.setCanonicalStatus = function(value) {
16855
+ return jspb.Message.setField(this, 21, value);
16856
+ };
16857
+
16858
+
16859
+ /**
16860
+ * Clears the field making it undefined.
16861
+ * @return {!proto.payment.OperationDetailsItem} returns this
16862
+ */
16863
+ proto.payment.OperationDetailsItem.prototype.clearCanonicalStatus = function() {
16864
+ return jspb.Message.setField(this, 21, undefined);
16865
+ };
16866
+
16867
+
16868
+ /**
16869
+ * Returns whether this field is set.
16870
+ * @return {boolean}
16871
+ */
16872
+ proto.payment.OperationDetailsItem.prototype.hasCanonicalStatus = function() {
16873
+ return jspb.Message.getField(this, 21) != null;
16874
+ };
16875
+
16876
+
16592
16877
 
16593
16878
 
16594
16879
 
@@ -20565,6 +20850,13 @@ proto.payment.CryptoDepositInstructions.prototype.hasMinDeposit = function() {
20565
20850
 
20566
20851
 
20567
20852
 
20853
+ /**
20854
+ * List of repeated fields within this message type.
20855
+ * @private {!Array<number>}
20856
+ * @const
20857
+ */
20858
+ proto.payment.DepositResponse.repeatedFields_ = [21];
20859
+
20568
20860
 
20569
20861
 
20570
20862
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -20614,7 +20906,9 @@ proto.payment.DepositResponse.toObject = function(includeInstance, msg) {
20614
20906
  creditedCurrency: jspb.Message.getFieldWithDefault(msg, 16, ""),
20615
20907
  providerAmountAttempt: jspb.Message.getFloatingPointFieldWithDefault(msg, 17, 0.0),
20616
20908
  providerAmountPaid: jspb.Message.getFloatingPointFieldWithDefault(msg, 18, 0.0),
20617
- providerCurrency: jspb.Message.getFieldWithDefault(msg, 19, "")
20909
+ providerCurrency: jspb.Message.getFieldWithDefault(msg, 19, ""),
20910
+ canonicalStatus: jspb.Message.getFieldWithDefault(msg, 20, ""),
20911
+ allowedStatusActionsList: (f = jspb.Message.getRepeatedField(msg, 21)) == null ? undefined : f
20618
20912
  };
20619
20913
 
20620
20914
  if (includeInstance) {
@@ -20728,6 +21022,14 @@ proto.payment.DepositResponse.deserializeBinaryFromReader = function(msg, reader
20728
21022
  var value = /** @type {string} */ (reader.readString());
20729
21023
  msg.setProviderCurrency(value);
20730
21024
  break;
21025
+ case 20:
21026
+ var value = /** @type {string} */ (reader.readString());
21027
+ msg.setCanonicalStatus(value);
21028
+ break;
21029
+ case 21:
21030
+ var value = /** @type {string} */ (reader.readString());
21031
+ msg.addAllowedStatusActions(value);
21032
+ break;
20731
21033
  default:
20732
21034
  reader.skipField();
20733
21035
  break;
@@ -20891,6 +21193,20 @@ proto.payment.DepositResponse.serializeBinaryToWriter = function(message, writer
20891
21193
  f
20892
21194
  );
20893
21195
  }
21196
+ f = /** @type {string} */ (jspb.Message.getField(message, 20));
21197
+ if (f != null) {
21198
+ writer.writeString(
21199
+ 20,
21200
+ f
21201
+ );
21202
+ }
21203
+ f = message.getAllowedStatusActionsList();
21204
+ if (f.length > 0) {
21205
+ writer.writeRepeatedString(
21206
+ 21,
21207
+ f
21208
+ );
21209
+ }
20894
21210
  };
20895
21211
 
20896
21212
 
@@ -21561,6 +21877,86 @@ proto.payment.DepositResponse.prototype.hasProviderCurrency = function() {
21561
21877
  };
21562
21878
 
21563
21879
 
21880
+ /**
21881
+ * optional string canonical_status = 20;
21882
+ * @return {string}
21883
+ */
21884
+ proto.payment.DepositResponse.prototype.getCanonicalStatus = function() {
21885
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
21886
+ };
21887
+
21888
+
21889
+ /**
21890
+ * @param {string} value
21891
+ * @return {!proto.payment.DepositResponse} returns this
21892
+ */
21893
+ proto.payment.DepositResponse.prototype.setCanonicalStatus = function(value) {
21894
+ return jspb.Message.setField(this, 20, value);
21895
+ };
21896
+
21897
+
21898
+ /**
21899
+ * Clears the field making it undefined.
21900
+ * @return {!proto.payment.DepositResponse} returns this
21901
+ */
21902
+ proto.payment.DepositResponse.prototype.clearCanonicalStatus = function() {
21903
+ return jspb.Message.setField(this, 20, undefined);
21904
+ };
21905
+
21906
+
21907
+ /**
21908
+ * Returns whether this field is set.
21909
+ * @return {boolean}
21910
+ */
21911
+ proto.payment.DepositResponse.prototype.hasCanonicalStatus = function() {
21912
+ return jspb.Message.getField(this, 20) != null;
21913
+ };
21914
+
21915
+
21916
+ /**
21917
+ * repeated string allowed_status_actions = 21;
21918
+ * @return {!Array<string>}
21919
+ */
21920
+ proto.payment.DepositResponse.prototype.getAllowedStatusActionsList = function() {
21921
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 21));
21922
+ };
21923
+
21924
+
21925
+ /**
21926
+ * @param {!Array<string>} value
21927
+ * @return {!proto.payment.DepositResponse} returns this
21928
+ */
21929
+ proto.payment.DepositResponse.prototype.setAllowedStatusActionsList = function(value) {
21930
+ return jspb.Message.setField(this, 21, value || []);
21931
+ };
21932
+
21933
+
21934
+ /**
21935
+ * @param {string} value
21936
+ * @param {number=} opt_index
21937
+ * @return {!proto.payment.DepositResponse} returns this
21938
+ */
21939
+ proto.payment.DepositResponse.prototype.addAllowedStatusActions = function(value, opt_index) {
21940
+ return jspb.Message.addToRepeatedField(this, 21, value, opt_index);
21941
+ };
21942
+
21943
+
21944
+ /**
21945
+ * Clears the list making it empty but non-null.
21946
+ * @return {!proto.payment.DepositResponse} returns this
21947
+ */
21948
+ proto.payment.DepositResponse.prototype.clearAllowedStatusActionsList = function() {
21949
+ return this.setAllowedStatusActionsList([]);
21950
+ };
21951
+
21952
+
21953
+
21954
+ /**
21955
+ * List of repeated fields within this message type.
21956
+ * @private {!Array<number>}
21957
+ * @const
21958
+ */
21959
+ proto.payment.DepositItem.repeatedFields_ = [29];
21564
21960
 
21565
21961
 
21566
21962
 
@@ -21619,7 +22015,9 @@ proto.payment.DepositItem.toObject = function(includeInstance, msg) {
21619
22015
  creditedCurrency: jspb.Message.getFieldWithDefault(msg, 24, ""),
21620
22016
  providerAmountAttempt: jspb.Message.getFloatingPointFieldWithDefault(msg, 25, 0.0),
21621
22017
  providerAmountPaid: jspb.Message.getFloatingPointFieldWithDefault(msg, 26, 0.0),
21622
- providerCurrency: jspb.Message.getFieldWithDefault(msg, 27, "")
22018
+ providerCurrency: jspb.Message.getFieldWithDefault(msg, 27, ""),
22019
+ canonicalStatus: jspb.Message.getFieldWithDefault(msg, 28, ""),
22020
+ allowedStatusActionsList: (f = jspb.Message.getRepeatedField(msg, 29)) == null ? undefined : f
21623
22021
  };
21624
22022
 
21625
22023
  if (includeInstance) {
@@ -21764,6 +22162,14 @@ proto.payment.DepositItem.deserializeBinaryFromReader = function(msg, reader) {
21764
22162
  var value = /** @type {string} */ (reader.readString());
21765
22163
  msg.setProviderCurrency(value);
21766
22164
  break;
22165
+ case 28:
22166
+ var value = /** @type {string} */ (reader.readString());
22167
+ msg.setCanonicalStatus(value);
22168
+ break;
22169
+ case 29:
22170
+ var value = /** @type {string} */ (reader.readString());
22171
+ msg.addAllowedStatusActions(value);
22172
+ break;
21767
22173
  default:
21768
22174
  reader.skipField();
21769
22175
  break;
@@ -21982,6 +22388,20 @@ proto.payment.DepositItem.serializeBinaryToWriter = function(message, writer) {
21982
22388
  f
21983
22389
  );
21984
22390
  }
22391
+ f = /** @type {string} */ (jspb.Message.getField(message, 28));
22392
+ if (f != null) {
22393
+ writer.writeString(
22394
+ 28,
22395
+ f
22396
+ );
22397
+ }
22398
+ f = message.getAllowedStatusActionsList();
22399
+ if (f.length > 0) {
22400
+ writer.writeRepeatedString(
22401
+ 29,
22402
+ f
22403
+ );
22404
+ }
21985
22405
  };
21986
22406
 
21987
22407
 
@@ -22831,6 +23251,79 @@ proto.payment.DepositItem.prototype.hasProviderCurrency = function() {
22831
23251
  };
22832
23252
 
22833
23253
 
23254
+ /**
23255
+ * optional string canonical_status = 28;
23256
+ * @return {string}
23257
+ */
23258
+ proto.payment.DepositItem.prototype.getCanonicalStatus = function() {
23259
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 28, ""));
23260
+ };
23261
+
23262
+
23263
+ /**
23264
+ * @param {string} value
23265
+ * @return {!proto.payment.DepositItem} returns this
23266
+ */
23267
+ proto.payment.DepositItem.prototype.setCanonicalStatus = function(value) {
23268
+ return jspb.Message.setField(this, 28, value);
23269
+ };
23270
+
23271
+
23272
+ /**
23273
+ * Clears the field making it undefined.
23274
+ * @return {!proto.payment.DepositItem} returns this
23275
+ */
23276
+ proto.payment.DepositItem.prototype.clearCanonicalStatus = function() {
23277
+ return jspb.Message.setField(this, 28, undefined);
23278
+ };
23279
+
23280
+
23281
+ /**
23282
+ * Returns whether this field is set.
23283
+ * @return {boolean}
23284
+ */
23285
+ proto.payment.DepositItem.prototype.hasCanonicalStatus = function() {
23286
+ return jspb.Message.getField(this, 28) != null;
23287
+ };
23288
+
23289
+
23290
+ /**
23291
+ * repeated string allowed_status_actions = 29;
23292
+ * @return {!Array<string>}
23293
+ */
23294
+ proto.payment.DepositItem.prototype.getAllowedStatusActionsList = function() {
23295
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 29));
23296
+ };
23297
+
23298
+
23299
+ /**
23300
+ * @param {!Array<string>} value
23301
+ * @return {!proto.payment.DepositItem} returns this
23302
+ */
23303
+ proto.payment.DepositItem.prototype.setAllowedStatusActionsList = function(value) {
23304
+ return jspb.Message.setField(this, 29, value || []);
23305
+ };
23306
+
23307
+
23308
+ /**
23309
+ * @param {string} value
23310
+ * @param {number=} opt_index
23311
+ * @return {!proto.payment.DepositItem} returns this
23312
+ */
23313
+ proto.payment.DepositItem.prototype.addAllowedStatusActions = function(value, opt_index) {
23314
+ return jspb.Message.addToRepeatedField(this, 29, value, opt_index);
23315
+ };
23316
+
23317
+
23318
+ /**
23319
+ * Clears the list making it empty but non-null.
23320
+ * @return {!proto.payment.DepositItem} returns this
23321
+ */
23322
+ proto.payment.DepositItem.prototype.clearAllowedStatusActionsList = function() {
23323
+ return this.setAllowedStatusActionsList([]);
23324
+ };
23325
+
23326
+
22834
23327
 
22835
23328
  /**
22836
23329
  * List of repeated fields within this message type.
@@ -26445,6 +26938,13 @@ proto.payment.GetWithdrawalRequest.prototype.hasReason = function() {
26445
26938
 
26446
26939
 
26447
26940
 
26941
+ /**
26942
+ * List of repeated fields within this message type.
26943
+ * @private {!Array<number>}
26944
+ * @const
26945
+ */
26946
+ proto.payment.WithdrawalResponse.repeatedFields_ = [23];
26947
+
26448
26948
 
26449
26949
 
26450
26950
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -26496,7 +26996,9 @@ proto.payment.WithdrawalResponse.toObject = function(includeInstance, msg) {
26496
26996
  paymentProviderImageCdn: jspb.Message.getFieldWithDefault(msg, 18, ""),
26497
26997
  paymentMethodImage: jspb.Message.getFieldWithDefault(msg, 19, ""),
26498
26998
  paymentMethodImageCdn: jspb.Message.getFieldWithDefault(msg, 20, ""),
26499
- origin: jspb.Message.getFieldWithDefault(msg, 21, "")
26999
+ origin: jspb.Message.getFieldWithDefault(msg, 21, ""),
27000
+ canonicalStatus: jspb.Message.getFieldWithDefault(msg, 22, ""),
27001
+ allowedStatusActionsList: (f = jspb.Message.getRepeatedField(msg, 23)) == null ? undefined : f
26500
27002
  };
26501
27003
 
26502
27004
  if (includeInstance) {
@@ -26617,6 +27119,14 @@ proto.payment.WithdrawalResponse.deserializeBinaryFromReader = function(msg, rea
26617
27119
  var value = /** @type {string} */ (reader.readString());
26618
27120
  msg.setOrigin(value);
26619
27121
  break;
27122
+ case 22:
27123
+ var value = /** @type {string} */ (reader.readString());
27124
+ msg.setCanonicalStatus(value);
27125
+ break;
27126
+ case 23:
27127
+ var value = /** @type {string} */ (reader.readString());
27128
+ msg.addAllowedStatusActions(value);
27129
+ break;
26620
27130
  default:
26621
27131
  reader.skipField();
26622
27132
  break;
@@ -26793,6 +27303,20 @@ proto.payment.WithdrawalResponse.serializeBinaryToWriter = function(message, wri
26793
27303
  f
26794
27304
  );
26795
27305
  }
27306
+ f = /** @type {string} */ (jspb.Message.getField(message, 22));
27307
+ if (f != null) {
27308
+ writer.writeString(
27309
+ 22,
27310
+ f
27311
+ );
27312
+ }
27313
+ f = message.getAllowedStatusActionsList();
27314
+ if (f.length > 0) {
27315
+ writer.writeRepeatedString(
27316
+ 23,
27317
+ f
27318
+ );
27319
+ }
26796
27320
  };
26797
27321
 
26798
27322
 
@@ -27534,6 +28058,86 @@ proto.payment.WithdrawalResponse.prototype.hasOrigin = function() {
27534
28058
  };
27535
28059
 
27536
28060
 
28061
+ /**
28062
+ * optional string canonical_status = 22;
28063
+ * @return {string}
28064
+ */
28065
+ proto.payment.WithdrawalResponse.prototype.getCanonicalStatus = function() {
28066
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
28067
+ };
28068
+
28069
+
28070
+ /**
28071
+ * @param {string} value
28072
+ * @return {!proto.payment.WithdrawalResponse} returns this
28073
+ */
28074
+ proto.payment.WithdrawalResponse.prototype.setCanonicalStatus = function(value) {
28075
+ return jspb.Message.setField(this, 22, value);
28076
+ };
28077
+
28078
+
28079
+ /**
28080
+ * Clears the field making it undefined.
28081
+ * @return {!proto.payment.WithdrawalResponse} returns this
28082
+ */
28083
+ proto.payment.WithdrawalResponse.prototype.clearCanonicalStatus = function() {
28084
+ return jspb.Message.setField(this, 22, undefined);
28085
+ };
28086
+
28087
+
28088
+ /**
28089
+ * Returns whether this field is set.
28090
+ * @return {boolean}
28091
+ */
28092
+ proto.payment.WithdrawalResponse.prototype.hasCanonicalStatus = function() {
28093
+ return jspb.Message.getField(this, 22) != null;
28094
+ };
28095
+
28096
+
28097
+ /**
28098
+ * repeated string allowed_status_actions = 23;
28099
+ * @return {!Array<string>}
28100
+ */
28101
+ proto.payment.WithdrawalResponse.prototype.getAllowedStatusActionsList = function() {
28102
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 23));
28103
+ };
28104
+
28105
+
28106
+ /**
28107
+ * @param {!Array<string>} value
28108
+ * @return {!proto.payment.WithdrawalResponse} returns this
28109
+ */
28110
+ proto.payment.WithdrawalResponse.prototype.setAllowedStatusActionsList = function(value) {
28111
+ return jspb.Message.setField(this, 23, value || []);
28112
+ };
28113
+
28114
+
28115
+ /**
28116
+ * @param {string} value
28117
+ * @param {number=} opt_index
28118
+ * @return {!proto.payment.WithdrawalResponse} returns this
28119
+ */
28120
+ proto.payment.WithdrawalResponse.prototype.addAllowedStatusActions = function(value, opt_index) {
28121
+ return jspb.Message.addToRepeatedField(this, 23, value, opt_index);
28122
+ };
28123
+
28124
+
28125
+ /**
28126
+ * Clears the list making it empty but non-null.
28127
+ * @return {!proto.payment.WithdrawalResponse} returns this
28128
+ */
28129
+ proto.payment.WithdrawalResponse.prototype.clearAllowedStatusActionsList = function() {
28130
+ return this.setAllowedStatusActionsList([]);
28131
+ };
28132
+
28133
+
28134
+
28135
+ /**
28136
+ * List of repeated fields within this message type.
28137
+ * @private {!Array<number>}
28138
+ * @const
28139
+ */
28140
+ proto.payment.WithdrawalItem.repeatedFields_ = [24];
27537
28141
 
27538
28142
 
27539
28143
 
@@ -27587,7 +28191,9 @@ proto.payment.WithdrawalItem.toObject = function(includeInstance, msg) {
27587
28191
  paymentMethodImage: jspb.Message.getFieldWithDefault(msg, 19, ""),
27588
28192
  paymentMethodImageCdn: jspb.Message.getFieldWithDefault(msg, 20, ""),
27589
28193
  completedAt: jspb.Message.getFieldWithDefault(msg, 21, ""),
27590
- origin: jspb.Message.getFieldWithDefault(msg, 22, "")
28194
+ origin: jspb.Message.getFieldWithDefault(msg, 22, ""),
28195
+ canonicalStatus: jspb.Message.getFieldWithDefault(msg, 23, ""),
28196
+ allowedStatusActionsList: (f = jspb.Message.getRepeatedField(msg, 24)) == null ? undefined : f
27591
28197
  };
27592
28198
 
27593
28199
  if (includeInstance) {
@@ -27712,6 +28318,14 @@ proto.payment.WithdrawalItem.deserializeBinaryFromReader = function(msg, reader)
27712
28318
  var value = /** @type {string} */ (reader.readString());
27713
28319
  msg.setOrigin(value);
27714
28320
  break;
28321
+ case 23:
28322
+ var value = /** @type {string} */ (reader.readString());
28323
+ msg.setCanonicalStatus(value);
28324
+ break;
28325
+ case 24:
28326
+ var value = /** @type {string} */ (reader.readString());
28327
+ msg.addAllowedStatusActions(value);
28328
+ break;
27715
28329
  default:
27716
28330
  reader.skipField();
27717
28331
  break;
@@ -27895,6 +28509,20 @@ proto.payment.WithdrawalItem.serializeBinaryToWriter = function(message, writer)
27895
28509
  f
27896
28510
  );
27897
28511
  }
28512
+ f = /** @type {string} */ (jspb.Message.getField(message, 23));
28513
+ if (f != null) {
28514
+ writer.writeString(
28515
+ 23,
28516
+ f
28517
+ );
28518
+ }
28519
+ f = message.getAllowedStatusActionsList();
28520
+ if (f.length > 0) {
28521
+ writer.writeRepeatedString(
28522
+ 24,
28523
+ f
28524
+ );
28525
+ }
27898
28526
  };
27899
28527
 
27900
28528
 
@@ -28582,6 +29210,79 @@ proto.payment.WithdrawalItem.prototype.hasOrigin = function() {
28582
29210
  };
28583
29211
 
28584
29212
 
29213
+ /**
29214
+ * optional string canonical_status = 23;
29215
+ * @return {string}
29216
+ */
29217
+ proto.payment.WithdrawalItem.prototype.getCanonicalStatus = function() {
29218
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
29219
+ };
29220
+
29221
+
29222
+ /**
29223
+ * @param {string} value
29224
+ * @return {!proto.payment.WithdrawalItem} returns this
29225
+ */
29226
+ proto.payment.WithdrawalItem.prototype.setCanonicalStatus = function(value) {
29227
+ return jspb.Message.setField(this, 23, value);
29228
+ };
29229
+
29230
+
29231
+ /**
29232
+ * Clears the field making it undefined.
29233
+ * @return {!proto.payment.WithdrawalItem} returns this
29234
+ */
29235
+ proto.payment.WithdrawalItem.prototype.clearCanonicalStatus = function() {
29236
+ return jspb.Message.setField(this, 23, undefined);
29237
+ };
29238
+
29239
+
29240
+ /**
29241
+ * Returns whether this field is set.
29242
+ * @return {boolean}
29243
+ */
29244
+ proto.payment.WithdrawalItem.prototype.hasCanonicalStatus = function() {
29245
+ return jspb.Message.getField(this, 23) != null;
29246
+ };
29247
+
29248
+
29249
+ /**
29250
+ * repeated string allowed_status_actions = 24;
29251
+ * @return {!Array<string>}
29252
+ */
29253
+ proto.payment.WithdrawalItem.prototype.getAllowedStatusActionsList = function() {
29254
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 24));
29255
+ };
29256
+
29257
+
29258
+ /**
29259
+ * @param {!Array<string>} value
29260
+ * @return {!proto.payment.WithdrawalItem} returns this
29261
+ */
29262
+ proto.payment.WithdrawalItem.prototype.setAllowedStatusActionsList = function(value) {
29263
+ return jspb.Message.setField(this, 24, value || []);
29264
+ };
29265
+
29266
+
29267
+ /**
29268
+ * @param {string} value
29269
+ * @param {number=} opt_index
29270
+ * @return {!proto.payment.WithdrawalItem} returns this
29271
+ */
29272
+ proto.payment.WithdrawalItem.prototype.addAllowedStatusActions = function(value, opt_index) {
29273
+ return jspb.Message.addToRepeatedField(this, 24, value, opt_index);
29274
+ };
29275
+
29276
+
29277
+ /**
29278
+ * Clears the list making it empty but non-null.
29279
+ * @return {!proto.payment.WithdrawalItem} returns this
29280
+ */
29281
+ proto.payment.WithdrawalItem.prototype.clearAllowedStatusActionsList = function() {
29282
+ return this.setAllowedStatusActionsList([]);
29283
+ };
29284
+
29285
+
28585
29286
 
28586
29287
  /**
28587
29288
  * List of repeated fields within this message type.
@@ -29211,7 +29912,8 @@ proto.payment.DepositStatus.toObject = function(includeInstance, msg) {
29211
29912
  id: jspb.Message.getFieldWithDefault(msg, 1, 0),
29212
29913
  title: jspb.Message.getFieldWithDefault(msg, 2, ""),
29213
29914
  description: jspb.Message.getFieldWithDefault(msg, 3, ""),
29214
- isActive: jspb.Message.getFieldWithDefault(msg, 4, 0)
29915
+ isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
29916
+ canonicalCode: jspb.Message.getFieldWithDefault(msg, 5, "")
29215
29917
  };
29216
29918
 
29217
29919
  if (includeInstance) {
@@ -29264,6 +29966,10 @@ proto.payment.DepositStatus.deserializeBinaryFromReader = function(msg, reader)
29264
29966
  var value = /** @type {number} */ (reader.readInt32());
29265
29967
  msg.setIsActive(value);
29266
29968
  break;
29969
+ case 5:
29970
+ var value = /** @type {string} */ (reader.readString());
29971
+ msg.setCanonicalCode(value);
29972
+ break;
29267
29973
  default:
29268
29974
  reader.skipField();
29269
29975
  break;
@@ -29321,6 +30027,13 @@ proto.payment.DepositStatus.serializeBinaryToWriter = function(message, writer)
29321
30027
  f
29322
30028
  );
29323
30029
  }
30030
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
30031
+ if (f != null) {
30032
+ writer.writeString(
30033
+ 5,
30034
+ f
30035
+ );
30036
+ }
29324
30037
  };
29325
30038
 
29326
30039
 
@@ -29432,6 +30145,42 @@ proto.payment.DepositStatus.prototype.hasIsActive = function() {
29432
30145
  };
29433
30146
 
29434
30147
 
30148
+ /**
30149
+ * optional string canonical_code = 5;
30150
+ * @return {string}
30151
+ */
30152
+ proto.payment.DepositStatus.prototype.getCanonicalCode = function() {
30153
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
30154
+ };
30155
+
30156
+
30157
+ /**
30158
+ * @param {string} value
30159
+ * @return {!proto.payment.DepositStatus} returns this
30160
+ */
30161
+ proto.payment.DepositStatus.prototype.setCanonicalCode = function(value) {
30162
+ return jspb.Message.setField(this, 5, value);
30163
+ };
30164
+
30165
+
30166
+ /**
30167
+ * Clears the field making it undefined.
30168
+ * @return {!proto.payment.DepositStatus} returns this
30169
+ */
30170
+ proto.payment.DepositStatus.prototype.clearCanonicalCode = function() {
30171
+ return jspb.Message.setField(this, 5, undefined);
30172
+ };
30173
+
30174
+
30175
+ /**
30176
+ * Returns whether this field is set.
30177
+ * @return {boolean}
30178
+ */
30179
+ proto.payment.DepositStatus.prototype.hasCanonicalCode = function() {
30180
+ return jspb.Message.getField(this, 5) != null;
30181
+ };
30182
+
30183
+
29435
30184
 
29436
30185
  /**
29437
30186
  * List of repeated fields within this message type.
@@ -58261,6 +59010,571 @@ proto.payment.PrepareGameplayPrecisionCommandResponse.prototype.setReasonKey = f
58261
59010
  };
58262
59011
 
58263
59012
 
59013
+
59014
+
59015
+
59016
+ if (jspb.Message.GENERATE_TO_OBJECT) {
59017
+ /**
59018
+ * Creates an object representation of this proto.
59019
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
59020
+ * Optional fields that are not set will be set to undefined.
59021
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
59022
+ * For the list of reserved names please see:
59023
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
59024
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
59025
+ * JSPB instance for transitional soy proto support:
59026
+ * http://goto/soy-param-migration
59027
+ * @return {!Object}
59028
+ */
59029
+ proto.payment.PaymentLifecycleStatus.prototype.toObject = function(opt_includeInstance) {
59030
+ return proto.payment.PaymentLifecycleStatus.toObject(opt_includeInstance, this);
59031
+ };
59032
+
59033
+
59034
+ /**
59035
+ * Static version of the {@see toObject} method.
59036
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
59037
+ * the JSPB instance for transitional soy proto support:
59038
+ * http://goto/soy-param-migration
59039
+ * @param {!proto.payment.PaymentLifecycleStatus} msg The msg instance to transform.
59040
+ * @return {!Object}
59041
+ * @suppress {unusedLocalVariables} f is only used for nested messages
59042
+ */
59043
+ proto.payment.PaymentLifecycleStatus.toObject = function(includeInstance, msg) {
59044
+ var f, obj = {
59045
+ code: jspb.Message.getFieldWithDefault(msg, 1, ""),
59046
+ title: jspb.Message.getFieldWithDefault(msg, 2, ""),
59047
+ description: jspb.Message.getFieldWithDefault(msg, 3, ""),
59048
+ isActive: jspb.Message.getFieldWithDefault(msg, 4, 0)
59049
+ };
59050
+
59051
+ if (includeInstance) {
59052
+ obj.$jspbMessageInstance = msg;
59053
+ }
59054
+ return obj;
59055
+ };
59056
+ }
59057
+
59058
+
59059
+ /**
59060
+ * Deserializes binary data (in protobuf wire format).
59061
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
59062
+ * @return {!proto.payment.PaymentLifecycleStatus}
59063
+ */
59064
+ proto.payment.PaymentLifecycleStatus.deserializeBinary = function(bytes) {
59065
+ var reader = new jspb.BinaryReader(bytes);
59066
+ var msg = new proto.payment.PaymentLifecycleStatus;
59067
+ return proto.payment.PaymentLifecycleStatus.deserializeBinaryFromReader(msg, reader);
59068
+ };
59069
+
59070
+
59071
+ /**
59072
+ * Deserializes binary data (in protobuf wire format) from the
59073
+ * given reader into the given message object.
59074
+ * @param {!proto.payment.PaymentLifecycleStatus} msg The message object to deserialize into.
59075
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
59076
+ * @return {!proto.payment.PaymentLifecycleStatus}
59077
+ */
59078
+ proto.payment.PaymentLifecycleStatus.deserializeBinaryFromReader = function(msg, reader) {
59079
+ while (reader.nextField()) {
59080
+ if (reader.isEndGroup()) {
59081
+ break;
59082
+ }
59083
+ var field = reader.getFieldNumber();
59084
+ switch (field) {
59085
+ case 1:
59086
+ var value = /** @type {string} */ (reader.readString());
59087
+ msg.setCode(value);
59088
+ break;
59089
+ case 2:
59090
+ var value = /** @type {string} */ (reader.readString());
59091
+ msg.setTitle(value);
59092
+ break;
59093
+ case 3:
59094
+ var value = /** @type {string} */ (reader.readString());
59095
+ msg.setDescription(value);
59096
+ break;
59097
+ case 4:
59098
+ var value = /** @type {number} */ (reader.readInt32());
59099
+ msg.setIsActive(value);
59100
+ break;
59101
+ default:
59102
+ reader.skipField();
59103
+ break;
59104
+ }
59105
+ }
59106
+ return msg;
59107
+ };
59108
+
59109
+
59110
+ /**
59111
+ * Serializes the message to binary data (in protobuf wire format).
59112
+ * @return {!Uint8Array}
59113
+ */
59114
+ proto.payment.PaymentLifecycleStatus.prototype.serializeBinary = function() {
59115
+ var writer = new jspb.BinaryWriter();
59116
+ proto.payment.PaymentLifecycleStatus.serializeBinaryToWriter(this, writer);
59117
+ return writer.getResultBuffer();
59118
+ };
59119
+
59120
+
59121
+ /**
59122
+ * Serializes the given message to binary data (in protobuf wire
59123
+ * format), writing to the given BinaryWriter.
59124
+ * @param {!proto.payment.PaymentLifecycleStatus} message
59125
+ * @param {!jspb.BinaryWriter} writer
59126
+ * @suppress {unusedLocalVariables} f is only used for nested messages
59127
+ */
59128
+ proto.payment.PaymentLifecycleStatus.serializeBinaryToWriter = function(message, writer) {
59129
+ var f = undefined;
59130
+ f = message.getCode();
59131
+ if (f.length > 0) {
59132
+ writer.writeString(
59133
+ 1,
59134
+ f
59135
+ );
59136
+ }
59137
+ f = message.getTitle();
59138
+ if (f.length > 0) {
59139
+ writer.writeString(
59140
+ 2,
59141
+ f
59142
+ );
59143
+ }
59144
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
59145
+ if (f != null) {
59146
+ writer.writeString(
59147
+ 3,
59148
+ f
59149
+ );
59150
+ }
59151
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
59152
+ if (f != null) {
59153
+ writer.writeInt32(
59154
+ 4,
59155
+ f
59156
+ );
59157
+ }
59158
+ };
59159
+
59160
+
59161
+ /**
59162
+ * optional string code = 1;
59163
+ * @return {string}
59164
+ */
59165
+ proto.payment.PaymentLifecycleStatus.prototype.getCode = function() {
59166
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
59167
+ };
59168
+
59169
+
59170
+ /**
59171
+ * @param {string} value
59172
+ * @return {!proto.payment.PaymentLifecycleStatus} returns this
59173
+ */
59174
+ proto.payment.PaymentLifecycleStatus.prototype.setCode = function(value) {
59175
+ return jspb.Message.setProto3StringField(this, 1, value);
59176
+ };
59177
+
59178
+
59179
+ /**
59180
+ * optional string title = 2;
59181
+ * @return {string}
59182
+ */
59183
+ proto.payment.PaymentLifecycleStatus.prototype.getTitle = function() {
59184
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
59185
+ };
59186
+
59187
+
59188
+ /**
59189
+ * @param {string} value
59190
+ * @return {!proto.payment.PaymentLifecycleStatus} returns this
59191
+ */
59192
+ proto.payment.PaymentLifecycleStatus.prototype.setTitle = function(value) {
59193
+ return jspb.Message.setProto3StringField(this, 2, value);
59194
+ };
59195
+
59196
+
59197
+ /**
59198
+ * optional string description = 3;
59199
+ * @return {string}
59200
+ */
59201
+ proto.payment.PaymentLifecycleStatus.prototype.getDescription = function() {
59202
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
59203
+ };
59204
+
59205
+
59206
+ /**
59207
+ * @param {string} value
59208
+ * @return {!proto.payment.PaymentLifecycleStatus} returns this
59209
+ */
59210
+ proto.payment.PaymentLifecycleStatus.prototype.setDescription = function(value) {
59211
+ return jspb.Message.setField(this, 3, value);
59212
+ };
59213
+
59214
+
59215
+ /**
59216
+ * Clears the field making it undefined.
59217
+ * @return {!proto.payment.PaymentLifecycleStatus} returns this
59218
+ */
59219
+ proto.payment.PaymentLifecycleStatus.prototype.clearDescription = function() {
59220
+ return jspb.Message.setField(this, 3, undefined);
59221
+ };
59222
+
59223
+
59224
+ /**
59225
+ * Returns whether this field is set.
59226
+ * @return {boolean}
59227
+ */
59228
+ proto.payment.PaymentLifecycleStatus.prototype.hasDescription = function() {
59229
+ return jspb.Message.getField(this, 3) != null;
59230
+ };
59231
+
59232
+
59233
+ /**
59234
+ * optional int32 is_active = 4;
59235
+ * @return {number}
59236
+ */
59237
+ proto.payment.PaymentLifecycleStatus.prototype.getIsActive = function() {
59238
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
59239
+ };
59240
+
59241
+
59242
+ /**
59243
+ * @param {number} value
59244
+ * @return {!proto.payment.PaymentLifecycleStatus} returns this
59245
+ */
59246
+ proto.payment.PaymentLifecycleStatus.prototype.setIsActive = function(value) {
59247
+ return jspb.Message.setField(this, 4, value);
59248
+ };
59249
+
59250
+
59251
+ /**
59252
+ * Clears the field making it undefined.
59253
+ * @return {!proto.payment.PaymentLifecycleStatus} returns this
59254
+ */
59255
+ proto.payment.PaymentLifecycleStatus.prototype.clearIsActive = function() {
59256
+ return jspb.Message.setField(this, 4, undefined);
59257
+ };
59258
+
59259
+
59260
+ /**
59261
+ * Returns whether this field is set.
59262
+ * @return {boolean}
59263
+ */
59264
+ proto.payment.PaymentLifecycleStatus.prototype.hasIsActive = function() {
59265
+ return jspb.Message.getField(this, 4) != null;
59266
+ };
59267
+
59268
+
59269
+
59270
+ /**
59271
+ * List of repeated fields within this message type.
59272
+ * @private {!Array<number>}
59273
+ * @const
59274
+ */
59275
+ proto.payment.PaymentLifecycleStatusItemsResponse.repeatedFields_ = [1,4];
59276
+
59277
+
59278
+
59279
+ if (jspb.Message.GENERATE_TO_OBJECT) {
59280
+ /**
59281
+ * Creates an object representation of this proto.
59282
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
59283
+ * Optional fields that are not set will be set to undefined.
59284
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
59285
+ * For the list of reserved names please see:
59286
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
59287
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
59288
+ * JSPB instance for transitional soy proto support:
59289
+ * http://goto/soy-param-migration
59290
+ * @return {!Object}
59291
+ */
59292
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.toObject = function(opt_includeInstance) {
59293
+ return proto.payment.PaymentLifecycleStatusItemsResponse.toObject(opt_includeInstance, this);
59294
+ };
59295
+
59296
+
59297
+ /**
59298
+ * Static version of the {@see toObject} method.
59299
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
59300
+ * the JSPB instance for transitional soy proto support:
59301
+ * http://goto/soy-param-migration
59302
+ * @param {!proto.payment.PaymentLifecycleStatusItemsResponse} msg The msg instance to transform.
59303
+ * @return {!Object}
59304
+ * @suppress {unusedLocalVariables} f is only used for nested messages
59305
+ */
59306
+ proto.payment.PaymentLifecycleStatusItemsResponse.toObject = function(includeInstance, msg) {
59307
+ var f, obj = {
59308
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
59309
+ proto.payment.PaymentLifecycleStatus.toObject, includeInstance),
59310
+ totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
59311
+ totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0),
59312
+ legacyWithdrawalItemsList: jspb.Message.toObjectList(msg.getLegacyWithdrawalItemsList(),
59313
+ proto.payment.PaymentLifecycleStatus.toObject, includeInstance)
59314
+ };
59315
+
59316
+ if (includeInstance) {
59317
+ obj.$jspbMessageInstance = msg;
59318
+ }
59319
+ return obj;
59320
+ };
59321
+ }
59322
+
59323
+
59324
+ /**
59325
+ * Deserializes binary data (in protobuf wire format).
59326
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
59327
+ * @return {!proto.payment.PaymentLifecycleStatusItemsResponse}
59328
+ */
59329
+ proto.payment.PaymentLifecycleStatusItemsResponse.deserializeBinary = function(bytes) {
59330
+ var reader = new jspb.BinaryReader(bytes);
59331
+ var msg = new proto.payment.PaymentLifecycleStatusItemsResponse;
59332
+ return proto.payment.PaymentLifecycleStatusItemsResponse.deserializeBinaryFromReader(msg, reader);
59333
+ };
59334
+
59335
+
59336
+ /**
59337
+ * Deserializes binary data (in protobuf wire format) from the
59338
+ * given reader into the given message object.
59339
+ * @param {!proto.payment.PaymentLifecycleStatusItemsResponse} msg The message object to deserialize into.
59340
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
59341
+ * @return {!proto.payment.PaymentLifecycleStatusItemsResponse}
59342
+ */
59343
+ proto.payment.PaymentLifecycleStatusItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
59344
+ while (reader.nextField()) {
59345
+ if (reader.isEndGroup()) {
59346
+ break;
59347
+ }
59348
+ var field = reader.getFieldNumber();
59349
+ switch (field) {
59350
+ case 1:
59351
+ var value = new proto.payment.PaymentLifecycleStatus;
59352
+ reader.readMessage(value,proto.payment.PaymentLifecycleStatus.deserializeBinaryFromReader);
59353
+ msg.addItems(value);
59354
+ break;
59355
+ case 2:
59356
+ var value = /** @type {number} */ (reader.readInt32());
59357
+ msg.setTotalPages(value);
59358
+ break;
59359
+ case 3:
59360
+ var value = /** @type {number} */ (reader.readInt32());
59361
+ msg.setTotalItems(value);
59362
+ break;
59363
+ case 4:
59364
+ var value = new proto.payment.PaymentLifecycleStatus;
59365
+ reader.readMessage(value,proto.payment.PaymentLifecycleStatus.deserializeBinaryFromReader);
59366
+ msg.addLegacyWithdrawalItems(value);
59367
+ break;
59368
+ default:
59369
+ reader.skipField();
59370
+ break;
59371
+ }
59372
+ }
59373
+ return msg;
59374
+ };
59375
+
59376
+
59377
+ /**
59378
+ * Serializes the message to binary data (in protobuf wire format).
59379
+ * @return {!Uint8Array}
59380
+ */
59381
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.serializeBinary = function() {
59382
+ var writer = new jspb.BinaryWriter();
59383
+ proto.payment.PaymentLifecycleStatusItemsResponse.serializeBinaryToWriter(this, writer);
59384
+ return writer.getResultBuffer();
59385
+ };
59386
+
59387
+
59388
+ /**
59389
+ * Serializes the given message to binary data (in protobuf wire
59390
+ * format), writing to the given BinaryWriter.
59391
+ * @param {!proto.payment.PaymentLifecycleStatusItemsResponse} message
59392
+ * @param {!jspb.BinaryWriter} writer
59393
+ * @suppress {unusedLocalVariables} f is only used for nested messages
59394
+ */
59395
+ proto.payment.PaymentLifecycleStatusItemsResponse.serializeBinaryToWriter = function(message, writer) {
59396
+ var f = undefined;
59397
+ f = message.getItemsList();
59398
+ if (f.length > 0) {
59399
+ writer.writeRepeatedMessage(
59400
+ 1,
59401
+ f,
59402
+ proto.payment.PaymentLifecycleStatus.serializeBinaryToWriter
59403
+ );
59404
+ }
59405
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
59406
+ if (f != null) {
59407
+ writer.writeInt32(
59408
+ 2,
59409
+ f
59410
+ );
59411
+ }
59412
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
59413
+ if (f != null) {
59414
+ writer.writeInt32(
59415
+ 3,
59416
+ f
59417
+ );
59418
+ }
59419
+ f = message.getLegacyWithdrawalItemsList();
59420
+ if (f.length > 0) {
59421
+ writer.writeRepeatedMessage(
59422
+ 4,
59423
+ f,
59424
+ proto.payment.PaymentLifecycleStatus.serializeBinaryToWriter
59425
+ );
59426
+ }
59427
+ };
59428
+
59429
+
59430
+ /**
59431
+ * repeated PaymentLifecycleStatus items = 1;
59432
+ * @return {!Array<!proto.payment.PaymentLifecycleStatus>}
59433
+ */
59434
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.getItemsList = function() {
59435
+ return /** @type{!Array<!proto.payment.PaymentLifecycleStatus>} */ (
59436
+ jspb.Message.getRepeatedWrapperField(this, proto.payment.PaymentLifecycleStatus, 1));
59437
+ };
59438
+
59439
+
59440
+ /**
59441
+ * @param {!Array<!proto.payment.PaymentLifecycleStatus>} value
59442
+ * @return {!proto.payment.PaymentLifecycleStatusItemsResponse} returns this
59443
+ */
59444
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.setItemsList = function(value) {
59445
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
59446
+ };
59447
+
59448
+
59449
+ /**
59450
+ * @param {!proto.payment.PaymentLifecycleStatus=} opt_value
59451
+ * @param {number=} opt_index
59452
+ * @return {!proto.payment.PaymentLifecycleStatus}
59453
+ */
59454
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.addItems = function(opt_value, opt_index) {
59455
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.payment.PaymentLifecycleStatus, opt_index);
59456
+ };
59457
+
59458
+
59459
+ /**
59460
+ * Clears the list making it empty but non-null.
59461
+ * @return {!proto.payment.PaymentLifecycleStatusItemsResponse} returns this
59462
+ */
59463
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.clearItemsList = function() {
59464
+ return this.setItemsList([]);
59465
+ };
59466
+
59467
+
59468
+ /**
59469
+ * optional int32 total_pages = 2;
59470
+ * @return {number}
59471
+ */
59472
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.getTotalPages = function() {
59473
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
59474
+ };
59475
+
59476
+
59477
+ /**
59478
+ * @param {number} value
59479
+ * @return {!proto.payment.PaymentLifecycleStatusItemsResponse} returns this
59480
+ */
59481
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.setTotalPages = function(value) {
59482
+ return jspb.Message.setField(this, 2, value);
59483
+ };
59484
+
59485
+
59486
+ /**
59487
+ * Clears the field making it undefined.
59488
+ * @return {!proto.payment.PaymentLifecycleStatusItemsResponse} returns this
59489
+ */
59490
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.clearTotalPages = function() {
59491
+ return jspb.Message.setField(this, 2, undefined);
59492
+ };
59493
+
59494
+
59495
+ /**
59496
+ * Returns whether this field is set.
59497
+ * @return {boolean}
59498
+ */
59499
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.hasTotalPages = function() {
59500
+ return jspb.Message.getField(this, 2) != null;
59501
+ };
59502
+
59503
+
59504
+ /**
59505
+ * optional int32 total_items = 3;
59506
+ * @return {number}
59507
+ */
59508
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.getTotalItems = function() {
59509
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
59510
+ };
59511
+
59512
+
59513
+ /**
59514
+ * @param {number} value
59515
+ * @return {!proto.payment.PaymentLifecycleStatusItemsResponse} returns this
59516
+ */
59517
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.setTotalItems = function(value) {
59518
+ return jspb.Message.setField(this, 3, value);
59519
+ };
59520
+
59521
+
59522
+ /**
59523
+ * Clears the field making it undefined.
59524
+ * @return {!proto.payment.PaymentLifecycleStatusItemsResponse} returns this
59525
+ */
59526
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.clearTotalItems = function() {
59527
+ return jspb.Message.setField(this, 3, undefined);
59528
+ };
59529
+
59530
+
59531
+ /**
59532
+ * Returns whether this field is set.
59533
+ * @return {boolean}
59534
+ */
59535
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.hasTotalItems = function() {
59536
+ return jspb.Message.getField(this, 3) != null;
59537
+ };
59538
+
59539
+
59540
+ /**
59541
+ * repeated PaymentLifecycleStatus legacy_withdrawal_items = 4;
59542
+ * @return {!Array<!proto.payment.PaymentLifecycleStatus>}
59543
+ */
59544
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.getLegacyWithdrawalItemsList = function() {
59545
+ return /** @type{!Array<!proto.payment.PaymentLifecycleStatus>} */ (
59546
+ jspb.Message.getRepeatedWrapperField(this, proto.payment.PaymentLifecycleStatus, 4));
59547
+ };
59548
+
59549
+
59550
+ /**
59551
+ * @param {!Array<!proto.payment.PaymentLifecycleStatus>} value
59552
+ * @return {!proto.payment.PaymentLifecycleStatusItemsResponse} returns this
59553
+ */
59554
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.setLegacyWithdrawalItemsList = function(value) {
59555
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
59556
+ };
59557
+
59558
+
59559
+ /**
59560
+ * @param {!proto.payment.PaymentLifecycleStatus=} opt_value
59561
+ * @param {number=} opt_index
59562
+ * @return {!proto.payment.PaymentLifecycleStatus}
59563
+ */
59564
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.addLegacyWithdrawalItems = function(opt_value, opt_index) {
59565
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.payment.PaymentLifecycleStatus, opt_index);
59566
+ };
59567
+
59568
+
59569
+ /**
59570
+ * Clears the list making it empty but non-null.
59571
+ * @return {!proto.payment.PaymentLifecycleStatusItemsResponse} returns this
59572
+ */
59573
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.clearLegacyWithdrawalItemsList = function() {
59574
+ return this.setLegacyWithdrawalItemsList([]);
59575
+ };
59576
+
59577
+
58264
59578
  /**
58265
59579
  * @enum {number}
58266
59580
  */