protobuf-platform 1.0.266 → 1.0.267
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/user/user.proto +8 -0
- package/user/user_pb.js +397 -2
package/package.json
CHANGED
package/user/user.proto
CHANGED
@@ -49,6 +49,14 @@ message PaginationRequest {
|
|
49
49
|
message UserSearchParams {
|
50
50
|
repeated string user_public_ids = 1;
|
51
51
|
repeated int32 user_ids = 2;
|
52
|
+
repeated string geo = 3;
|
53
|
+
repeated string currency = 4;
|
54
|
+
repeated int32 risk_statuses = 5;
|
55
|
+
repeated int32 categories = 6;
|
56
|
+
repeated int32 verification_statuses = 7;
|
57
|
+
optional string email = 8;
|
58
|
+
optional string registration_from = 9;
|
59
|
+
optional string registration_to = 10;
|
52
60
|
}
|
53
61
|
message SegmentSearchParams {
|
54
62
|
optional string type = 1;
|
package/user/user_pb.js
CHANGED
@@ -1326,7 +1326,7 @@ proto.user.PaginationRequest.prototype.hasNoteSearchParams = function() {
|
|
1326
1326
|
* @private {!Array<number>}
|
1327
1327
|
* @const
|
1328
1328
|
*/
|
1329
|
-
proto.user.UserSearchParams.repeatedFields_ = [1,2];
|
1329
|
+
proto.user.UserSearchParams.repeatedFields_ = [1,2,3,4,5,6,7];
|
1330
1330
|
|
1331
1331
|
|
1332
1332
|
|
@@ -1360,7 +1360,15 @@ proto.user.UserSearchParams.prototype.toObject = function(opt_includeInstance) {
|
|
1360
1360
|
proto.user.UserSearchParams.toObject = function(includeInstance, msg) {
|
1361
1361
|
var f, obj = {
|
1362
1362
|
userPublicIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
1363
|
-
userIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
1363
|
+
userIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
1364
|
+
geoList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
1365
|
+
currencyList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
1366
|
+
riskStatusesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
1367
|
+
categoriesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
|
1368
|
+
verificationStatusesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
|
1369
|
+
email: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
1370
|
+
registrationFrom: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
1371
|
+
registrationTo: jspb.Message.getFieldWithDefault(msg, 10, "")
|
1364
1372
|
};
|
1365
1373
|
|
1366
1374
|
if (includeInstance) {
|
@@ -1407,6 +1415,44 @@ proto.user.UserSearchParams.deserializeBinaryFromReader = function(msg, reader)
|
|
1407
1415
|
msg.addUserIds(values[i]);
|
1408
1416
|
}
|
1409
1417
|
break;
|
1418
|
+
case 3:
|
1419
|
+
var value = /** @type {string} */ (reader.readString());
|
1420
|
+
msg.addGeo(value);
|
1421
|
+
break;
|
1422
|
+
case 4:
|
1423
|
+
var value = /** @type {string} */ (reader.readString());
|
1424
|
+
msg.addCurrency(value);
|
1425
|
+
break;
|
1426
|
+
case 5:
|
1427
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
1428
|
+
for (var i = 0; i < values.length; i++) {
|
1429
|
+
msg.addRiskStatuses(values[i]);
|
1430
|
+
}
|
1431
|
+
break;
|
1432
|
+
case 6:
|
1433
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
1434
|
+
for (var i = 0; i < values.length; i++) {
|
1435
|
+
msg.addCategories(values[i]);
|
1436
|
+
}
|
1437
|
+
break;
|
1438
|
+
case 7:
|
1439
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
1440
|
+
for (var i = 0; i < values.length; i++) {
|
1441
|
+
msg.addVerificationStatuses(values[i]);
|
1442
|
+
}
|
1443
|
+
break;
|
1444
|
+
case 8:
|
1445
|
+
var value = /** @type {string} */ (reader.readString());
|
1446
|
+
msg.setEmail(value);
|
1447
|
+
break;
|
1448
|
+
case 9:
|
1449
|
+
var value = /** @type {string} */ (reader.readString());
|
1450
|
+
msg.setRegistrationFrom(value);
|
1451
|
+
break;
|
1452
|
+
case 10:
|
1453
|
+
var value = /** @type {string} */ (reader.readString());
|
1454
|
+
msg.setRegistrationTo(value);
|
1455
|
+
break;
|
1410
1456
|
default:
|
1411
1457
|
reader.skipField();
|
1412
1458
|
break;
|
@@ -1450,6 +1496,62 @@ proto.user.UserSearchParams.serializeBinaryToWriter = function(message, writer)
|
|
1450
1496
|
f
|
1451
1497
|
);
|
1452
1498
|
}
|
1499
|
+
f = message.getGeoList();
|
1500
|
+
if (f.length > 0) {
|
1501
|
+
writer.writeRepeatedString(
|
1502
|
+
3,
|
1503
|
+
f
|
1504
|
+
);
|
1505
|
+
}
|
1506
|
+
f = message.getCurrencyList();
|
1507
|
+
if (f.length > 0) {
|
1508
|
+
writer.writeRepeatedString(
|
1509
|
+
4,
|
1510
|
+
f
|
1511
|
+
);
|
1512
|
+
}
|
1513
|
+
f = message.getRiskStatusesList();
|
1514
|
+
if (f.length > 0) {
|
1515
|
+
writer.writePackedInt32(
|
1516
|
+
5,
|
1517
|
+
f
|
1518
|
+
);
|
1519
|
+
}
|
1520
|
+
f = message.getCategoriesList();
|
1521
|
+
if (f.length > 0) {
|
1522
|
+
writer.writePackedInt32(
|
1523
|
+
6,
|
1524
|
+
f
|
1525
|
+
);
|
1526
|
+
}
|
1527
|
+
f = message.getVerificationStatusesList();
|
1528
|
+
if (f.length > 0) {
|
1529
|
+
writer.writePackedInt32(
|
1530
|
+
7,
|
1531
|
+
f
|
1532
|
+
);
|
1533
|
+
}
|
1534
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
1535
|
+
if (f != null) {
|
1536
|
+
writer.writeString(
|
1537
|
+
8,
|
1538
|
+
f
|
1539
|
+
);
|
1540
|
+
}
|
1541
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
1542
|
+
if (f != null) {
|
1543
|
+
writer.writeString(
|
1544
|
+
9,
|
1545
|
+
f
|
1546
|
+
);
|
1547
|
+
}
|
1548
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
1549
|
+
if (f != null) {
|
1550
|
+
writer.writeString(
|
1551
|
+
10,
|
1552
|
+
f
|
1553
|
+
);
|
1554
|
+
}
|
1453
1555
|
};
|
1454
1556
|
|
1455
1557
|
|
@@ -1527,6 +1629,299 @@ proto.user.UserSearchParams.prototype.clearUserIdsList = function() {
|
|
1527
1629
|
};
|
1528
1630
|
|
1529
1631
|
|
1632
|
+
/**
|
1633
|
+
* repeated string geo = 3;
|
1634
|
+
* @return {!Array<string>}
|
1635
|
+
*/
|
1636
|
+
proto.user.UserSearchParams.prototype.getGeoList = function() {
|
1637
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
1638
|
+
};
|
1639
|
+
|
1640
|
+
|
1641
|
+
/**
|
1642
|
+
* @param {!Array<string>} value
|
1643
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1644
|
+
*/
|
1645
|
+
proto.user.UserSearchParams.prototype.setGeoList = function(value) {
|
1646
|
+
return jspb.Message.setField(this, 3, value || []);
|
1647
|
+
};
|
1648
|
+
|
1649
|
+
|
1650
|
+
/**
|
1651
|
+
* @param {string} value
|
1652
|
+
* @param {number=} opt_index
|
1653
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1654
|
+
*/
|
1655
|
+
proto.user.UserSearchParams.prototype.addGeo = function(value, opt_index) {
|
1656
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
1657
|
+
};
|
1658
|
+
|
1659
|
+
|
1660
|
+
/**
|
1661
|
+
* Clears the list making it empty but non-null.
|
1662
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1663
|
+
*/
|
1664
|
+
proto.user.UserSearchParams.prototype.clearGeoList = function() {
|
1665
|
+
return this.setGeoList([]);
|
1666
|
+
};
|
1667
|
+
|
1668
|
+
|
1669
|
+
/**
|
1670
|
+
* repeated string currency = 4;
|
1671
|
+
* @return {!Array<string>}
|
1672
|
+
*/
|
1673
|
+
proto.user.UserSearchParams.prototype.getCurrencyList = function() {
|
1674
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
|
1675
|
+
};
|
1676
|
+
|
1677
|
+
|
1678
|
+
/**
|
1679
|
+
* @param {!Array<string>} value
|
1680
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1681
|
+
*/
|
1682
|
+
proto.user.UserSearchParams.prototype.setCurrencyList = function(value) {
|
1683
|
+
return jspb.Message.setField(this, 4, value || []);
|
1684
|
+
};
|
1685
|
+
|
1686
|
+
|
1687
|
+
/**
|
1688
|
+
* @param {string} value
|
1689
|
+
* @param {number=} opt_index
|
1690
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1691
|
+
*/
|
1692
|
+
proto.user.UserSearchParams.prototype.addCurrency = function(value, opt_index) {
|
1693
|
+
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
1694
|
+
};
|
1695
|
+
|
1696
|
+
|
1697
|
+
/**
|
1698
|
+
* Clears the list making it empty but non-null.
|
1699
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1700
|
+
*/
|
1701
|
+
proto.user.UserSearchParams.prototype.clearCurrencyList = function() {
|
1702
|
+
return this.setCurrencyList([]);
|
1703
|
+
};
|
1704
|
+
|
1705
|
+
|
1706
|
+
/**
|
1707
|
+
* repeated int32 risk_statuses = 5;
|
1708
|
+
* @return {!Array<number>}
|
1709
|
+
*/
|
1710
|
+
proto.user.UserSearchParams.prototype.getRiskStatusesList = function() {
|
1711
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 5));
|
1712
|
+
};
|
1713
|
+
|
1714
|
+
|
1715
|
+
/**
|
1716
|
+
* @param {!Array<number>} value
|
1717
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1718
|
+
*/
|
1719
|
+
proto.user.UserSearchParams.prototype.setRiskStatusesList = function(value) {
|
1720
|
+
return jspb.Message.setField(this, 5, value || []);
|
1721
|
+
};
|
1722
|
+
|
1723
|
+
|
1724
|
+
/**
|
1725
|
+
* @param {number} value
|
1726
|
+
* @param {number=} opt_index
|
1727
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1728
|
+
*/
|
1729
|
+
proto.user.UserSearchParams.prototype.addRiskStatuses = function(value, opt_index) {
|
1730
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
1731
|
+
};
|
1732
|
+
|
1733
|
+
|
1734
|
+
/**
|
1735
|
+
* Clears the list making it empty but non-null.
|
1736
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1737
|
+
*/
|
1738
|
+
proto.user.UserSearchParams.prototype.clearRiskStatusesList = function() {
|
1739
|
+
return this.setRiskStatusesList([]);
|
1740
|
+
};
|
1741
|
+
|
1742
|
+
|
1743
|
+
/**
|
1744
|
+
* repeated int32 categories = 6;
|
1745
|
+
* @return {!Array<number>}
|
1746
|
+
*/
|
1747
|
+
proto.user.UserSearchParams.prototype.getCategoriesList = function() {
|
1748
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 6));
|
1749
|
+
};
|
1750
|
+
|
1751
|
+
|
1752
|
+
/**
|
1753
|
+
* @param {!Array<number>} value
|
1754
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1755
|
+
*/
|
1756
|
+
proto.user.UserSearchParams.prototype.setCategoriesList = function(value) {
|
1757
|
+
return jspb.Message.setField(this, 6, value || []);
|
1758
|
+
};
|
1759
|
+
|
1760
|
+
|
1761
|
+
/**
|
1762
|
+
* @param {number} value
|
1763
|
+
* @param {number=} opt_index
|
1764
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1765
|
+
*/
|
1766
|
+
proto.user.UserSearchParams.prototype.addCategories = function(value, opt_index) {
|
1767
|
+
return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
|
1768
|
+
};
|
1769
|
+
|
1770
|
+
|
1771
|
+
/**
|
1772
|
+
* Clears the list making it empty but non-null.
|
1773
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1774
|
+
*/
|
1775
|
+
proto.user.UserSearchParams.prototype.clearCategoriesList = function() {
|
1776
|
+
return this.setCategoriesList([]);
|
1777
|
+
};
|
1778
|
+
|
1779
|
+
|
1780
|
+
/**
|
1781
|
+
* repeated int32 verification_statuses = 7;
|
1782
|
+
* @return {!Array<number>}
|
1783
|
+
*/
|
1784
|
+
proto.user.UserSearchParams.prototype.getVerificationStatusesList = function() {
|
1785
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 7));
|
1786
|
+
};
|
1787
|
+
|
1788
|
+
|
1789
|
+
/**
|
1790
|
+
* @param {!Array<number>} value
|
1791
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1792
|
+
*/
|
1793
|
+
proto.user.UserSearchParams.prototype.setVerificationStatusesList = function(value) {
|
1794
|
+
return jspb.Message.setField(this, 7, value || []);
|
1795
|
+
};
|
1796
|
+
|
1797
|
+
|
1798
|
+
/**
|
1799
|
+
* @param {number} value
|
1800
|
+
* @param {number=} opt_index
|
1801
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1802
|
+
*/
|
1803
|
+
proto.user.UserSearchParams.prototype.addVerificationStatuses = function(value, opt_index) {
|
1804
|
+
return jspb.Message.addToRepeatedField(this, 7, value, opt_index);
|
1805
|
+
};
|
1806
|
+
|
1807
|
+
|
1808
|
+
/**
|
1809
|
+
* Clears the list making it empty but non-null.
|
1810
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1811
|
+
*/
|
1812
|
+
proto.user.UserSearchParams.prototype.clearVerificationStatusesList = function() {
|
1813
|
+
return this.setVerificationStatusesList([]);
|
1814
|
+
};
|
1815
|
+
|
1816
|
+
|
1817
|
+
/**
|
1818
|
+
* optional string email = 8;
|
1819
|
+
* @return {string}
|
1820
|
+
*/
|
1821
|
+
proto.user.UserSearchParams.prototype.getEmail = function() {
|
1822
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
1823
|
+
};
|
1824
|
+
|
1825
|
+
|
1826
|
+
/**
|
1827
|
+
* @param {string} value
|
1828
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1829
|
+
*/
|
1830
|
+
proto.user.UserSearchParams.prototype.setEmail = function(value) {
|
1831
|
+
return jspb.Message.setField(this, 8, value);
|
1832
|
+
};
|
1833
|
+
|
1834
|
+
|
1835
|
+
/**
|
1836
|
+
* Clears the field making it undefined.
|
1837
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1838
|
+
*/
|
1839
|
+
proto.user.UserSearchParams.prototype.clearEmail = function() {
|
1840
|
+
return jspb.Message.setField(this, 8, undefined);
|
1841
|
+
};
|
1842
|
+
|
1843
|
+
|
1844
|
+
/**
|
1845
|
+
* Returns whether this field is set.
|
1846
|
+
* @return {boolean}
|
1847
|
+
*/
|
1848
|
+
proto.user.UserSearchParams.prototype.hasEmail = function() {
|
1849
|
+
return jspb.Message.getField(this, 8) != null;
|
1850
|
+
};
|
1851
|
+
|
1852
|
+
|
1853
|
+
/**
|
1854
|
+
* optional string registration_from = 9;
|
1855
|
+
* @return {string}
|
1856
|
+
*/
|
1857
|
+
proto.user.UserSearchParams.prototype.getRegistrationFrom = function() {
|
1858
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
1859
|
+
};
|
1860
|
+
|
1861
|
+
|
1862
|
+
/**
|
1863
|
+
* @param {string} value
|
1864
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1865
|
+
*/
|
1866
|
+
proto.user.UserSearchParams.prototype.setRegistrationFrom = function(value) {
|
1867
|
+
return jspb.Message.setField(this, 9, value);
|
1868
|
+
};
|
1869
|
+
|
1870
|
+
|
1871
|
+
/**
|
1872
|
+
* Clears the field making it undefined.
|
1873
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1874
|
+
*/
|
1875
|
+
proto.user.UserSearchParams.prototype.clearRegistrationFrom = function() {
|
1876
|
+
return jspb.Message.setField(this, 9, undefined);
|
1877
|
+
};
|
1878
|
+
|
1879
|
+
|
1880
|
+
/**
|
1881
|
+
* Returns whether this field is set.
|
1882
|
+
* @return {boolean}
|
1883
|
+
*/
|
1884
|
+
proto.user.UserSearchParams.prototype.hasRegistrationFrom = function() {
|
1885
|
+
return jspb.Message.getField(this, 9) != null;
|
1886
|
+
};
|
1887
|
+
|
1888
|
+
|
1889
|
+
/**
|
1890
|
+
* optional string registration_to = 10;
|
1891
|
+
* @return {string}
|
1892
|
+
*/
|
1893
|
+
proto.user.UserSearchParams.prototype.getRegistrationTo = function() {
|
1894
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
1895
|
+
};
|
1896
|
+
|
1897
|
+
|
1898
|
+
/**
|
1899
|
+
* @param {string} value
|
1900
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1901
|
+
*/
|
1902
|
+
proto.user.UserSearchParams.prototype.setRegistrationTo = function(value) {
|
1903
|
+
return jspb.Message.setField(this, 10, value);
|
1904
|
+
};
|
1905
|
+
|
1906
|
+
|
1907
|
+
/**
|
1908
|
+
* Clears the field making it undefined.
|
1909
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1910
|
+
*/
|
1911
|
+
proto.user.UserSearchParams.prototype.clearRegistrationTo = function() {
|
1912
|
+
return jspb.Message.setField(this, 10, undefined);
|
1913
|
+
};
|
1914
|
+
|
1915
|
+
|
1916
|
+
/**
|
1917
|
+
* Returns whether this field is set.
|
1918
|
+
* @return {boolean}
|
1919
|
+
*/
|
1920
|
+
proto.user.UserSearchParams.prototype.hasRegistrationTo = function() {
|
1921
|
+
return jspb.Message.getField(this, 10) != null;
|
1922
|
+
};
|
1923
|
+
|
1924
|
+
|
1530
1925
|
|
1531
1926
|
|
1532
1927
|
|