protobuf-platform 1.1.71 → 1.1.73
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
package/payment/payment.proto
CHANGED
@@ -38,7 +38,7 @@ message PongResponse { string pong = 1; }
|
|
38
38
|
message File { bytes media = 1; optional string file_name = 2; optional string file_type = 3; }
|
39
39
|
message GetFileRequest { string file_name = 1; string instance_type = 2; }
|
40
40
|
|
41
|
-
message PaginationRequest { int32 limit = 1; int32 offset = 2; optional PaymentSearchRequest
|
41
|
+
message PaginationRequest { int32 limit = 1; int32 offset = 2; optional PaymentSearchRequest payment_search_params = 3; }
|
42
42
|
message PaymentSearchRequest {
|
43
43
|
optional int32 deposit_id = 1;
|
44
44
|
optional int32 withdrawal_id = 2;
|
package/payment/payment_pb.js
CHANGED
@@ -1497,7 +1497,7 @@ proto.payment.PaginationRequest.toObject = function(includeInstance, msg) {
|
|
1497
1497
|
var f, obj = {
|
1498
1498
|
limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
1499
1499
|
offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
1500
|
-
|
1500
|
+
paymentSearchParams: (f = msg.getPaymentSearchParams()) && proto.payment.PaymentSearchRequest.toObject(includeInstance, f)
|
1501
1501
|
};
|
1502
1502
|
|
1503
1503
|
if (includeInstance) {
|
@@ -1545,7 +1545,7 @@ proto.payment.PaginationRequest.deserializeBinaryFromReader = function(msg, read
|
|
1545
1545
|
case 3:
|
1546
1546
|
var value = new proto.payment.PaymentSearchRequest;
|
1547
1547
|
reader.readMessage(value,proto.payment.PaymentSearchRequest.deserializeBinaryFromReader);
|
1548
|
-
msg.
|
1548
|
+
msg.setPaymentSearchParams(value);
|
1549
1549
|
break;
|
1550
1550
|
default:
|
1551
1551
|
reader.skipField();
|
@@ -1590,7 +1590,7 @@ proto.payment.PaginationRequest.serializeBinaryToWriter = function(message, writ
|
|
1590
1590
|
f
|
1591
1591
|
);
|
1592
1592
|
}
|
1593
|
-
f = message.
|
1593
|
+
f = message.getPaymentSearchParams();
|
1594
1594
|
if (f != null) {
|
1595
1595
|
writer.writeMessage(
|
1596
1596
|
3,
|
@@ -1638,10 +1638,10 @@ proto.payment.PaginationRequest.prototype.setOffset = function(value) {
|
|
1638
1638
|
|
1639
1639
|
|
1640
1640
|
/**
|
1641
|
-
* optional PaymentSearchRequest
|
1641
|
+
* optional PaymentSearchRequest payment_search_params = 3;
|
1642
1642
|
* @return {?proto.payment.PaymentSearchRequest}
|
1643
1643
|
*/
|
1644
|
-
proto.payment.PaginationRequest.prototype.
|
1644
|
+
proto.payment.PaginationRequest.prototype.getPaymentSearchParams = function() {
|
1645
1645
|
return /** @type{?proto.payment.PaymentSearchRequest} */ (
|
1646
1646
|
jspb.Message.getWrapperField(this, proto.payment.PaymentSearchRequest, 3));
|
1647
1647
|
};
|
@@ -1651,7 +1651,7 @@ proto.payment.PaginationRequest.prototype.getC = function() {
|
|
1651
1651
|
* @param {?proto.payment.PaymentSearchRequest|undefined} value
|
1652
1652
|
* @return {!proto.payment.PaginationRequest} returns this
|
1653
1653
|
*/
|
1654
|
-
proto.payment.PaginationRequest.prototype.
|
1654
|
+
proto.payment.PaginationRequest.prototype.setPaymentSearchParams = function(value) {
|
1655
1655
|
return jspb.Message.setWrapperField(this, 3, value);
|
1656
1656
|
};
|
1657
1657
|
|
@@ -1660,8 +1660,8 @@ proto.payment.PaginationRequest.prototype.setC = function(value) {
|
|
1660
1660
|
* Clears the message field making it undefined.
|
1661
1661
|
* @return {!proto.payment.PaginationRequest} returns this
|
1662
1662
|
*/
|
1663
|
-
proto.payment.PaginationRequest.prototype.
|
1664
|
-
return this.
|
1663
|
+
proto.payment.PaginationRequest.prototype.clearPaymentSearchParams = function() {
|
1664
|
+
return this.setPaymentSearchParams(undefined);
|
1665
1665
|
};
|
1666
1666
|
|
1667
1667
|
|
@@ -1669,7 +1669,7 @@ proto.payment.PaginationRequest.prototype.clearC = function() {
|
|
1669
1669
|
* Returns whether this field is set.
|
1670
1670
|
* @return {boolean}
|
1671
1671
|
*/
|
1672
|
-
proto.payment.PaginationRequest.prototype.
|
1672
|
+
proto.payment.PaginationRequest.prototype.hasPaymentSearchParams = function() {
|
1673
1673
|
return jspb.Message.getField(this, 3) != null;
|
1674
1674
|
};
|
1675
1675
|
|
@@ -32,8 +32,9 @@ message GetFileRequest { string file_name = 1; string instance_type = 2; }
|
|
32
32
|
message PaginationRequest {
|
33
33
|
int32 limit = 1;
|
34
34
|
int32 offset = 2;
|
35
|
-
optional
|
36
|
-
optional
|
35
|
+
optional string order = 3;
|
36
|
+
optional UserSearchRequest user_search_params = 4;
|
37
|
+
optional SearchRequest additional_search_params = 5;
|
37
38
|
}
|
38
39
|
message UserSearchRequest {
|
39
40
|
optional int32 user_id = 1;
|
@@ -1342,6 +1342,7 @@ proto.tournament.PaginationRequest.toObject = function(includeInstance, msg) {
|
|
1342
1342
|
var f, obj = {
|
1343
1343
|
limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
1344
1344
|
offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
1345
|
+
order: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
1345
1346
|
userSearchParams: (f = msg.getUserSearchParams()) && proto.tournament.UserSearchRequest.toObject(includeInstance, f),
|
1346
1347
|
additionalSearchParams: (f = msg.getAdditionalSearchParams()) && proto.tournament.SearchRequest.toObject(includeInstance, f)
|
1347
1348
|
};
|
@@ -1389,11 +1390,15 @@ proto.tournament.PaginationRequest.deserializeBinaryFromReader = function(msg, r
|
|
1389
1390
|
msg.setOffset(value);
|
1390
1391
|
break;
|
1391
1392
|
case 3:
|
1393
|
+
var value = /** @type {string} */ (reader.readString());
|
1394
|
+
msg.setOrder(value);
|
1395
|
+
break;
|
1396
|
+
case 4:
|
1392
1397
|
var value = new proto.tournament.UserSearchRequest;
|
1393
1398
|
reader.readMessage(value,proto.tournament.UserSearchRequest.deserializeBinaryFromReader);
|
1394
1399
|
msg.setUserSearchParams(value);
|
1395
1400
|
break;
|
1396
|
-
case
|
1401
|
+
case 5:
|
1397
1402
|
var value = new proto.tournament.SearchRequest;
|
1398
1403
|
reader.readMessage(value,proto.tournament.SearchRequest.deserializeBinaryFromReader);
|
1399
1404
|
msg.setAdditionalSearchParams(value);
|
@@ -1441,10 +1446,17 @@ proto.tournament.PaginationRequest.serializeBinaryToWriter = function(message, w
|
|
1441
1446
|
f
|
1442
1447
|
);
|
1443
1448
|
}
|
1449
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
1450
|
+
if (f != null) {
|
1451
|
+
writer.writeString(
|
1452
|
+
3,
|
1453
|
+
f
|
1454
|
+
);
|
1455
|
+
}
|
1444
1456
|
f = message.getUserSearchParams();
|
1445
1457
|
if (f != null) {
|
1446
1458
|
writer.writeMessage(
|
1447
|
-
|
1459
|
+
4,
|
1448
1460
|
f,
|
1449
1461
|
proto.tournament.UserSearchRequest.serializeBinaryToWriter
|
1450
1462
|
);
|
@@ -1452,7 +1464,7 @@ proto.tournament.PaginationRequest.serializeBinaryToWriter = function(message, w
|
|
1452
1464
|
f = message.getAdditionalSearchParams();
|
1453
1465
|
if (f != null) {
|
1454
1466
|
writer.writeMessage(
|
1455
|
-
|
1467
|
+
5,
|
1456
1468
|
f,
|
1457
1469
|
proto.tournament.SearchRequest.serializeBinaryToWriter
|
1458
1470
|
);
|
@@ -1497,12 +1509,48 @@ proto.tournament.PaginationRequest.prototype.setOffset = function(value) {
|
|
1497
1509
|
|
1498
1510
|
|
1499
1511
|
/**
|
1500
|
-
* optional
|
1512
|
+
* optional string order = 3;
|
1513
|
+
* @return {string}
|
1514
|
+
*/
|
1515
|
+
proto.tournament.PaginationRequest.prototype.getOrder = function() {
|
1516
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
1517
|
+
};
|
1518
|
+
|
1519
|
+
|
1520
|
+
/**
|
1521
|
+
* @param {string} value
|
1522
|
+
* @return {!proto.tournament.PaginationRequest} returns this
|
1523
|
+
*/
|
1524
|
+
proto.tournament.PaginationRequest.prototype.setOrder = function(value) {
|
1525
|
+
return jspb.Message.setField(this, 3, value);
|
1526
|
+
};
|
1527
|
+
|
1528
|
+
|
1529
|
+
/**
|
1530
|
+
* Clears the field making it undefined.
|
1531
|
+
* @return {!proto.tournament.PaginationRequest} returns this
|
1532
|
+
*/
|
1533
|
+
proto.tournament.PaginationRequest.prototype.clearOrder = function() {
|
1534
|
+
return jspb.Message.setField(this, 3, undefined);
|
1535
|
+
};
|
1536
|
+
|
1537
|
+
|
1538
|
+
/**
|
1539
|
+
* Returns whether this field is set.
|
1540
|
+
* @return {boolean}
|
1541
|
+
*/
|
1542
|
+
proto.tournament.PaginationRequest.prototype.hasOrder = function() {
|
1543
|
+
return jspb.Message.getField(this, 3) != null;
|
1544
|
+
};
|
1545
|
+
|
1546
|
+
|
1547
|
+
/**
|
1548
|
+
* optional UserSearchRequest user_search_params = 4;
|
1501
1549
|
* @return {?proto.tournament.UserSearchRequest}
|
1502
1550
|
*/
|
1503
1551
|
proto.tournament.PaginationRequest.prototype.getUserSearchParams = function() {
|
1504
1552
|
return /** @type{?proto.tournament.UserSearchRequest} */ (
|
1505
|
-
jspb.Message.getWrapperField(this, proto.tournament.UserSearchRequest,
|
1553
|
+
jspb.Message.getWrapperField(this, proto.tournament.UserSearchRequest, 4));
|
1506
1554
|
};
|
1507
1555
|
|
1508
1556
|
|
@@ -1511,7 +1559,7 @@ proto.tournament.PaginationRequest.prototype.getUserSearchParams = function() {
|
|
1511
1559
|
* @return {!proto.tournament.PaginationRequest} returns this
|
1512
1560
|
*/
|
1513
1561
|
proto.tournament.PaginationRequest.prototype.setUserSearchParams = function(value) {
|
1514
|
-
return jspb.Message.setWrapperField(this,
|
1562
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
1515
1563
|
};
|
1516
1564
|
|
1517
1565
|
|
@@ -1529,17 +1577,17 @@ proto.tournament.PaginationRequest.prototype.clearUserSearchParams = function()
|
|
1529
1577
|
* @return {boolean}
|
1530
1578
|
*/
|
1531
1579
|
proto.tournament.PaginationRequest.prototype.hasUserSearchParams = function() {
|
1532
|
-
return jspb.Message.getField(this,
|
1580
|
+
return jspb.Message.getField(this, 4) != null;
|
1533
1581
|
};
|
1534
1582
|
|
1535
1583
|
|
1536
1584
|
/**
|
1537
|
-
* optional SearchRequest additional_search_params =
|
1585
|
+
* optional SearchRequest additional_search_params = 5;
|
1538
1586
|
* @return {?proto.tournament.SearchRequest}
|
1539
1587
|
*/
|
1540
1588
|
proto.tournament.PaginationRequest.prototype.getAdditionalSearchParams = function() {
|
1541
1589
|
return /** @type{?proto.tournament.SearchRequest} */ (
|
1542
|
-
jspb.Message.getWrapperField(this, proto.tournament.SearchRequest,
|
1590
|
+
jspb.Message.getWrapperField(this, proto.tournament.SearchRequest, 5));
|
1543
1591
|
};
|
1544
1592
|
|
1545
1593
|
|
@@ -1548,7 +1596,7 @@ proto.tournament.PaginationRequest.prototype.getAdditionalSearchParams = functio
|
|
1548
1596
|
* @return {!proto.tournament.PaginationRequest} returns this
|
1549
1597
|
*/
|
1550
1598
|
proto.tournament.PaginationRequest.prototype.setAdditionalSearchParams = function(value) {
|
1551
|
-
return jspb.Message.setWrapperField(this,
|
1599
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
1552
1600
|
};
|
1553
1601
|
|
1554
1602
|
|
@@ -1566,7 +1614,7 @@ proto.tournament.PaginationRequest.prototype.clearAdditionalSearchParams = funct
|
|
1566
1614
|
* @return {boolean}
|
1567
1615
|
*/
|
1568
1616
|
proto.tournament.PaginationRequest.prototype.hasAdditionalSearchParams = function() {
|
1569
|
-
return jspb.Message.getField(this,
|
1617
|
+
return jspb.Message.getField(this, 5) != null;
|
1570
1618
|
};
|
1571
1619
|
|
1572
1620
|
|