protobuf-platform 1.2.637 → 1.2.639
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 +4 -0
- package/payment/payment_pb.js +107 -2
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -654,6 +654,10 @@ message GetUserPaymentsInfoRequest {
|
|
|
654
654
|
optional string currency = 7;
|
|
655
655
|
optional string country = 8;
|
|
656
656
|
optional string currency_type = 9;
|
|
657
|
+
// Public payment-history statuses. Empty/omitted means no status filter.
|
|
658
|
+
repeated string status = 10;
|
|
659
|
+
// Public payment-history types. Empty/omitted means no type filter.
|
|
660
|
+
repeated string transaction_types = 11;
|
|
657
661
|
}
|
|
658
662
|
message UserPaymentsInfoResponse {
|
|
659
663
|
float deposit_sum = 1;
|
package/payment/payment_pb.js
CHANGED
|
@@ -1390,7 +1390,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1390
1390
|
* @constructor
|
|
1391
1391
|
*/
|
|
1392
1392
|
proto.payment.GetUserPaymentsInfoRequest = function(opt_data) {
|
|
1393
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
1393
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.GetUserPaymentsInfoRequest.repeatedFields_, null);
|
|
1394
1394
|
};
|
|
1395
1395
|
goog.inherits(proto.payment.GetUserPaymentsInfoRequest, jspb.Message);
|
|
1396
1396
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -28481,6 +28481,13 @@ proto.payment.DepositStatusItemsResponse.prototype.hasTotalItems = function() {
|
|
|
28481
28481
|
|
|
28482
28482
|
|
|
28483
28483
|
|
|
28484
|
+
/**
|
|
28485
|
+
* List of repeated fields within this message type.
|
|
28486
|
+
* @private {!Array<number>}
|
|
28487
|
+
* @const
|
|
28488
|
+
*/
|
|
28489
|
+
proto.payment.GetUserPaymentsInfoRequest.repeatedFields_ = [10,11];
|
|
28490
|
+
|
|
28484
28491
|
|
|
28485
28492
|
|
|
28486
28493
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -28520,7 +28527,9 @@ proto.payment.GetUserPaymentsInfoRequest.toObject = function(includeInstance, ms
|
|
|
28520
28527
|
transactionType: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
28521
28528
|
currency: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
28522
28529
|
country: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
28523
|
-
currencyType: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
28530
|
+
currencyType: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
28531
|
+
statusList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f,
|
|
28532
|
+
transactionTypesList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f
|
|
28524
28533
|
};
|
|
28525
28534
|
|
|
28526
28535
|
if (includeInstance) {
|
|
@@ -28593,6 +28602,14 @@ proto.payment.GetUserPaymentsInfoRequest.deserializeBinaryFromReader = function(
|
|
|
28593
28602
|
var value = /** @type {string} */ (reader.readString());
|
|
28594
28603
|
msg.setCurrencyType(value);
|
|
28595
28604
|
break;
|
|
28605
|
+
case 10:
|
|
28606
|
+
var value = /** @type {string} */ (reader.readString());
|
|
28607
|
+
msg.addStatus(value);
|
|
28608
|
+
break;
|
|
28609
|
+
case 11:
|
|
28610
|
+
var value = /** @type {string} */ (reader.readString());
|
|
28611
|
+
msg.addTransactionTypes(value);
|
|
28612
|
+
break;
|
|
28596
28613
|
default:
|
|
28597
28614
|
reader.skipField();
|
|
28598
28615
|
break;
|
|
@@ -28685,6 +28702,20 @@ proto.payment.GetUserPaymentsInfoRequest.serializeBinaryToWriter = function(mess
|
|
|
28685
28702
|
f
|
|
28686
28703
|
);
|
|
28687
28704
|
}
|
|
28705
|
+
f = message.getStatusList();
|
|
28706
|
+
if (f.length > 0) {
|
|
28707
|
+
writer.writeRepeatedString(
|
|
28708
|
+
10,
|
|
28709
|
+
f
|
|
28710
|
+
);
|
|
28711
|
+
}
|
|
28712
|
+
f = message.getTransactionTypesList();
|
|
28713
|
+
if (f.length > 0) {
|
|
28714
|
+
writer.writeRepeatedString(
|
|
28715
|
+
11,
|
|
28716
|
+
f
|
|
28717
|
+
);
|
|
28718
|
+
}
|
|
28688
28719
|
};
|
|
28689
28720
|
|
|
28690
28721
|
|
|
@@ -28994,6 +29025,80 @@ proto.payment.GetUserPaymentsInfoRequest.prototype.hasCurrencyType = function()
|
|
|
28994
29025
|
};
|
|
28995
29026
|
|
|
28996
29027
|
|
|
29028
|
+
/**
|
|
29029
|
+
* repeated string status = 10;
|
|
29030
|
+
* @return {!Array<string>}
|
|
29031
|
+
*/
|
|
29032
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.getStatusList = function() {
|
|
29033
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 10));
|
|
29034
|
+
};
|
|
29035
|
+
|
|
29036
|
+
|
|
29037
|
+
/**
|
|
29038
|
+
* @param {!Array<string>} value
|
|
29039
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
|
|
29040
|
+
*/
|
|
29041
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.setStatusList = function(value) {
|
|
29042
|
+
return jspb.Message.setField(this, 10, value || []);
|
|
29043
|
+
};
|
|
29044
|
+
|
|
29045
|
+
|
|
29046
|
+
/**
|
|
29047
|
+
* @param {string} value
|
|
29048
|
+
* @param {number=} opt_index
|
|
29049
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
|
|
29050
|
+
*/
|
|
29051
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.addStatus = function(value, opt_index) {
|
|
29052
|
+
return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
|
|
29053
|
+
};
|
|
29054
|
+
|
|
29055
|
+
|
|
29056
|
+
/**
|
|
29057
|
+
* Clears the list making it empty but non-null.
|
|
29058
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
|
|
29059
|
+
*/
|
|
29060
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.clearStatusList = function() {
|
|
29061
|
+
return this.setStatusList([]);
|
|
29062
|
+
};
|
|
29063
|
+
|
|
29064
|
+
|
|
29065
|
+
/**
|
|
29066
|
+
* repeated string transaction_types = 11;
|
|
29067
|
+
* @return {!Array<string>}
|
|
29068
|
+
*/
|
|
29069
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.getTransactionTypesList = function() {
|
|
29070
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 11));
|
|
29071
|
+
};
|
|
29072
|
+
|
|
29073
|
+
|
|
29074
|
+
/**
|
|
29075
|
+
* @param {!Array<string>} value
|
|
29076
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
|
|
29077
|
+
*/
|
|
29078
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.setTransactionTypesList = function(value) {
|
|
29079
|
+
return jspb.Message.setField(this, 11, value || []);
|
|
29080
|
+
};
|
|
29081
|
+
|
|
29082
|
+
|
|
29083
|
+
/**
|
|
29084
|
+
* @param {string} value
|
|
29085
|
+
* @param {number=} opt_index
|
|
29086
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
|
|
29087
|
+
*/
|
|
29088
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.addTransactionTypes = function(value, opt_index) {
|
|
29089
|
+
return jspb.Message.addToRepeatedField(this, 11, value, opt_index);
|
|
29090
|
+
};
|
|
29091
|
+
|
|
29092
|
+
|
|
29093
|
+
/**
|
|
29094
|
+
* Clears the list making it empty but non-null.
|
|
29095
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
|
|
29096
|
+
*/
|
|
29097
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.clearTransactionTypesList = function() {
|
|
29098
|
+
return this.setTransactionTypesList([]);
|
|
29099
|
+
};
|
|
29100
|
+
|
|
29101
|
+
|
|
28997
29102
|
|
|
28998
29103
|
|
|
28999
29104
|
|