protobuf-platform 1.2.483 → 1.2.485
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 +1 -1
- package/payment/payment.proto +5 -0
- package/payment/payment_pb.js +152 -2
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -848,6 +848,9 @@ message CompensationRequest {
|
|
|
848
848
|
string wager_multiplier = 4;
|
|
849
849
|
string reason = 5;
|
|
850
850
|
string idempotency_id = 6;
|
|
851
|
+
string compensation_type = 7;
|
|
852
|
+
string transaction_code = 8;
|
|
853
|
+
string internal_comment = 9;
|
|
851
854
|
}
|
|
852
855
|
message ConfiscationRequest {
|
|
853
856
|
int32 user_id = 1;
|
|
@@ -855,6 +858,8 @@ message ConfiscationRequest {
|
|
|
855
858
|
string currency = 3;
|
|
856
859
|
string reason = 4;
|
|
857
860
|
string idempotency_id = 5;
|
|
861
|
+
string transaction_code = 6;
|
|
862
|
+
string internal_comment = 7;
|
|
858
863
|
}
|
|
859
864
|
message FinancialOperationResponse {
|
|
860
865
|
int32 operation_id = 1;
|
package/payment/payment_pb.js
CHANGED
|
@@ -36292,7 +36292,10 @@ proto.payment.CompensationRequest.toObject = function(includeInstance, msg) {
|
|
|
36292
36292
|
currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
36293
36293
|
wagerMultiplier: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
36294
36294
|
reason: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
36295
|
-
idempotencyId: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
36295
|
+
idempotencyId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
36296
|
+
compensationType: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
36297
|
+
transactionCode: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
36298
|
+
internalComment: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
36296
36299
|
};
|
|
36297
36300
|
|
|
36298
36301
|
if (includeInstance) {
|
|
@@ -36353,6 +36356,18 @@ proto.payment.CompensationRequest.deserializeBinaryFromReader = function(msg, re
|
|
|
36353
36356
|
var value = /** @type {string} */ (reader.readString());
|
|
36354
36357
|
msg.setIdempotencyId(value);
|
|
36355
36358
|
break;
|
|
36359
|
+
case 7:
|
|
36360
|
+
var value = /** @type {string} */ (reader.readString());
|
|
36361
|
+
msg.setCompensationType(value);
|
|
36362
|
+
break;
|
|
36363
|
+
case 8:
|
|
36364
|
+
var value = /** @type {string} */ (reader.readString());
|
|
36365
|
+
msg.setTransactionCode(value);
|
|
36366
|
+
break;
|
|
36367
|
+
case 9:
|
|
36368
|
+
var value = /** @type {string} */ (reader.readString());
|
|
36369
|
+
msg.setInternalComment(value);
|
|
36370
|
+
break;
|
|
36356
36371
|
default:
|
|
36357
36372
|
reader.skipField();
|
|
36358
36373
|
break;
|
|
@@ -36424,6 +36439,27 @@ proto.payment.CompensationRequest.serializeBinaryToWriter = function(message, wr
|
|
|
36424
36439
|
f
|
|
36425
36440
|
);
|
|
36426
36441
|
}
|
|
36442
|
+
f = message.getCompensationType();
|
|
36443
|
+
if (f.length > 0) {
|
|
36444
|
+
writer.writeString(
|
|
36445
|
+
7,
|
|
36446
|
+
f
|
|
36447
|
+
);
|
|
36448
|
+
}
|
|
36449
|
+
f = message.getTransactionCode();
|
|
36450
|
+
if (f.length > 0) {
|
|
36451
|
+
writer.writeString(
|
|
36452
|
+
8,
|
|
36453
|
+
f
|
|
36454
|
+
);
|
|
36455
|
+
}
|
|
36456
|
+
f = message.getInternalComment();
|
|
36457
|
+
if (f.length > 0) {
|
|
36458
|
+
writer.writeString(
|
|
36459
|
+
9,
|
|
36460
|
+
f
|
|
36461
|
+
);
|
|
36462
|
+
}
|
|
36427
36463
|
};
|
|
36428
36464
|
|
|
36429
36465
|
|
|
@@ -36535,6 +36571,60 @@ proto.payment.CompensationRequest.prototype.setIdempotencyId = function(value) {
|
|
|
36535
36571
|
};
|
|
36536
36572
|
|
|
36537
36573
|
|
|
36574
|
+
/**
|
|
36575
|
+
* optional string compensation_type = 7;
|
|
36576
|
+
* @return {string}
|
|
36577
|
+
*/
|
|
36578
|
+
proto.payment.CompensationRequest.prototype.getCompensationType = function() {
|
|
36579
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
36580
|
+
};
|
|
36581
|
+
|
|
36582
|
+
|
|
36583
|
+
/**
|
|
36584
|
+
* @param {string} value
|
|
36585
|
+
* @return {!proto.payment.CompensationRequest} returns this
|
|
36586
|
+
*/
|
|
36587
|
+
proto.payment.CompensationRequest.prototype.setCompensationType = function(value) {
|
|
36588
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
36589
|
+
};
|
|
36590
|
+
|
|
36591
|
+
|
|
36592
|
+
/**
|
|
36593
|
+
* optional string transaction_code = 8;
|
|
36594
|
+
* @return {string}
|
|
36595
|
+
*/
|
|
36596
|
+
proto.payment.CompensationRequest.prototype.getTransactionCode = function() {
|
|
36597
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
36598
|
+
};
|
|
36599
|
+
|
|
36600
|
+
|
|
36601
|
+
/**
|
|
36602
|
+
* @param {string} value
|
|
36603
|
+
* @return {!proto.payment.CompensationRequest} returns this
|
|
36604
|
+
*/
|
|
36605
|
+
proto.payment.CompensationRequest.prototype.setTransactionCode = function(value) {
|
|
36606
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
36607
|
+
};
|
|
36608
|
+
|
|
36609
|
+
|
|
36610
|
+
/**
|
|
36611
|
+
* optional string internal_comment = 9;
|
|
36612
|
+
* @return {string}
|
|
36613
|
+
*/
|
|
36614
|
+
proto.payment.CompensationRequest.prototype.getInternalComment = function() {
|
|
36615
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
36616
|
+
};
|
|
36617
|
+
|
|
36618
|
+
|
|
36619
|
+
/**
|
|
36620
|
+
* @param {string} value
|
|
36621
|
+
* @return {!proto.payment.CompensationRequest} returns this
|
|
36622
|
+
*/
|
|
36623
|
+
proto.payment.CompensationRequest.prototype.setInternalComment = function(value) {
|
|
36624
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
36625
|
+
};
|
|
36626
|
+
|
|
36627
|
+
|
|
36538
36628
|
|
|
36539
36629
|
|
|
36540
36630
|
|
|
@@ -36571,7 +36661,9 @@ proto.payment.ConfiscationRequest.toObject = function(includeInstance, msg) {
|
|
|
36571
36661
|
amountMinor: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
36572
36662
|
currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
36573
36663
|
reason: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
36574
|
-
idempotencyId: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
36664
|
+
idempotencyId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
36665
|
+
transactionCode: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
36666
|
+
internalComment: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
36575
36667
|
};
|
|
36576
36668
|
|
|
36577
36669
|
if (includeInstance) {
|
|
@@ -36628,6 +36720,14 @@ proto.payment.ConfiscationRequest.deserializeBinaryFromReader = function(msg, re
|
|
|
36628
36720
|
var value = /** @type {string} */ (reader.readString());
|
|
36629
36721
|
msg.setIdempotencyId(value);
|
|
36630
36722
|
break;
|
|
36723
|
+
case 6:
|
|
36724
|
+
var value = /** @type {string} */ (reader.readString());
|
|
36725
|
+
msg.setTransactionCode(value);
|
|
36726
|
+
break;
|
|
36727
|
+
case 7:
|
|
36728
|
+
var value = /** @type {string} */ (reader.readString());
|
|
36729
|
+
msg.setInternalComment(value);
|
|
36730
|
+
break;
|
|
36631
36731
|
default:
|
|
36632
36732
|
reader.skipField();
|
|
36633
36733
|
break;
|
|
@@ -36692,6 +36792,20 @@ proto.payment.ConfiscationRequest.serializeBinaryToWriter = function(message, wr
|
|
|
36692
36792
|
f
|
|
36693
36793
|
);
|
|
36694
36794
|
}
|
|
36795
|
+
f = message.getTransactionCode();
|
|
36796
|
+
if (f.length > 0) {
|
|
36797
|
+
writer.writeString(
|
|
36798
|
+
6,
|
|
36799
|
+
f
|
|
36800
|
+
);
|
|
36801
|
+
}
|
|
36802
|
+
f = message.getInternalComment();
|
|
36803
|
+
if (f.length > 0) {
|
|
36804
|
+
writer.writeString(
|
|
36805
|
+
7,
|
|
36806
|
+
f
|
|
36807
|
+
);
|
|
36808
|
+
}
|
|
36695
36809
|
};
|
|
36696
36810
|
|
|
36697
36811
|
|
|
@@ -36785,6 +36899,42 @@ proto.payment.ConfiscationRequest.prototype.setIdempotencyId = function(value) {
|
|
|
36785
36899
|
};
|
|
36786
36900
|
|
|
36787
36901
|
|
|
36902
|
+
/**
|
|
36903
|
+
* optional string transaction_code = 6;
|
|
36904
|
+
* @return {string}
|
|
36905
|
+
*/
|
|
36906
|
+
proto.payment.ConfiscationRequest.prototype.getTransactionCode = function() {
|
|
36907
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
36908
|
+
};
|
|
36909
|
+
|
|
36910
|
+
|
|
36911
|
+
/**
|
|
36912
|
+
* @param {string} value
|
|
36913
|
+
* @return {!proto.payment.ConfiscationRequest} returns this
|
|
36914
|
+
*/
|
|
36915
|
+
proto.payment.ConfiscationRequest.prototype.setTransactionCode = function(value) {
|
|
36916
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
36917
|
+
};
|
|
36918
|
+
|
|
36919
|
+
|
|
36920
|
+
/**
|
|
36921
|
+
* optional string internal_comment = 7;
|
|
36922
|
+
* @return {string}
|
|
36923
|
+
*/
|
|
36924
|
+
proto.payment.ConfiscationRequest.prototype.getInternalComment = function() {
|
|
36925
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
36926
|
+
};
|
|
36927
|
+
|
|
36928
|
+
|
|
36929
|
+
/**
|
|
36930
|
+
* @param {string} value
|
|
36931
|
+
* @return {!proto.payment.ConfiscationRequest} returns this
|
|
36932
|
+
*/
|
|
36933
|
+
proto.payment.ConfiscationRequest.prototype.setInternalComment = function(value) {
|
|
36934
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
36935
|
+
};
|
|
36936
|
+
|
|
36937
|
+
|
|
36788
36938
|
|
|
36789
36939
|
|
|
36790
36940
|
|