@meshtrade/api-old 1.40.0 → 1.42.0

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.
Files changed (30) hide show
  1. package/dist/meshtrade/compliance/client/v1/service_grpc_web_client_meshts.d.ts +7 -1
  2. package/dist/meshtrade/compliance/client/v1/service_grpc_web_client_meshts.js +8 -0
  3. package/dist/meshtrade/compliance/client/v1/service_grpc_web_pb.d.ts +12 -0
  4. package/dist/meshtrade/compliance/client/v1/service_grpc_web_pb.js +61 -0
  5. package/dist/meshtrade/compliance/client/v1/service_pb.d.ts +18 -0
  6. package/dist/meshtrade/compliance/client/v1/service_pb.js +152 -0
  7. package/dist/meshtrade/iam/role/v1/role.js +2 -0
  8. package/dist/meshtrade/iam/role/v1/role_pb.d.ts +2 -0
  9. package/dist/meshtrade/iam/role/v1/role_pb.js +2 -0
  10. package/dist/meshtrade/iam/user/v1/service_grpc_web_client_meshts.d.ts +1 -7
  11. package/dist/meshtrade/iam/user/v1/service_grpc_web_client_meshts.js +0 -8
  12. package/dist/meshtrade/iam/user/v1/service_grpc_web_pb.d.ts +0 -12
  13. package/dist/meshtrade/iam/user/v1/service_grpc_web_pb.js +0 -61
  14. package/dist/meshtrade/iam/user/v1/service_pb.d.ts +0 -67
  15. package/dist/meshtrade/iam/user/v1/service_pb.js +0 -567
  16. package/dist/meshtrade/iam/user/v1/user_pb.d.ts +32 -0
  17. package/dist/meshtrade/iam/user/v1/user_pb.js +270 -7
  18. package/dist/meshtrade/iam/user_profile/v1/index.d.ts +4 -0
  19. package/dist/meshtrade/iam/user_profile/v1/index.js +45 -0
  20. package/dist/meshtrade/iam/user_profile/v1/service_grpc_web_client_meshts.d.ts +53 -0
  21. package/dist/meshtrade/iam/user_profile/v1/service_grpc_web_client_meshts.js +96 -0
  22. package/dist/meshtrade/iam/user_profile/v1/service_grpc_web_pb.d.ts +68 -0
  23. package/dist/meshtrade/iam/user_profile/v1/service_grpc_web_pb.js +331 -0
  24. package/dist/meshtrade/iam/user_profile/v1/service_pb.d.ts +97 -0
  25. package/dist/meshtrade/iam/user_profile/v1/service_pb.js +812 -0
  26. package/dist/meshtrade/iam/user_profile/v1/user_profile_pb.d.ts +62 -0
  27. package/dist/meshtrade/iam/user_profile/v1/user_profile_pb.js +488 -0
  28. package/dist/meshtrade/option/method_options/v1/method_options_pb.d.ts +8 -0
  29. package/dist/meshtrade/option/method_options/v1/method_options_pb.js +40 -1
  30. package/package.json +1 -1
@@ -37,9 +37,6 @@ goog.exportSymbol('proto.meshtrade.iam.user.v1.ListUsersRequest', null, global);
37
37
  goog.exportSymbol('proto.meshtrade.iam.user.v1.ListUsersRequest.Sorting', null, global);
38
38
  goog.exportSymbol('proto.meshtrade.iam.user.v1.ListUsersResponse', null, global);
39
39
  goog.exportSymbol('proto.meshtrade.iam.user.v1.RevokeRolesFromUserRequest', null, global);
40
- goog.exportSymbol('proto.meshtrade.iam.user.v1.SearchUsersRequest', null, global);
41
- goog.exportSymbol('proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting', null, global);
42
- goog.exportSymbol('proto.meshtrade.iam.user.v1.SearchUsersResponse', null, global);
43
40
  goog.exportSymbol('proto.meshtrade.iam.user.v1.UpdateUserRequest', null, global);
44
41
  /**
45
42
  * Generated by JsPbCodeGenerator.
@@ -188,69 +185,6 @@ if (goog.DEBUG && !COMPILED) {
188
185
  */
189
186
  proto.meshtrade.iam.user.v1.ListUsersResponse.displayName = 'proto.meshtrade.iam.user.v1.ListUsersResponse';
190
187
  }
191
- /**
192
- * Generated by JsPbCodeGenerator.
193
- * @param {Array=} opt_data Optional initial data array, typically from a
194
- * server response, or constructed directly in Javascript. The array is used
195
- * in place and becomes part of the constructed object. It is not cloned.
196
- * If no data is provided, the constructed object will be empty, but still
197
- * valid.
198
- * @extends {jspb.Message}
199
- * @constructor
200
- */
201
- proto.meshtrade.iam.user.v1.SearchUsersRequest = function(opt_data) {
202
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
203
- };
204
- goog.inherits(proto.meshtrade.iam.user.v1.SearchUsersRequest, jspb.Message);
205
- if (goog.DEBUG && !COMPILED) {
206
- /**
207
- * @public
208
- * @override
209
- */
210
- proto.meshtrade.iam.user.v1.SearchUsersRequest.displayName = 'proto.meshtrade.iam.user.v1.SearchUsersRequest';
211
- }
212
- /**
213
- * Generated by JsPbCodeGenerator.
214
- * @param {Array=} opt_data Optional initial data array, typically from a
215
- * server response, or constructed directly in Javascript. The array is used
216
- * in place and becomes part of the constructed object. It is not cloned.
217
- * If no data is provided, the constructed object will be empty, but still
218
- * valid.
219
- * @extends {jspb.Message}
220
- * @constructor
221
- */
222
- proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting = function(opt_data) {
223
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
224
- };
225
- goog.inherits(proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting, jspb.Message);
226
- if (goog.DEBUG && !COMPILED) {
227
- /**
228
- * @public
229
- * @override
230
- */
231
- proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting.displayName = 'proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting';
232
- }
233
- /**
234
- * Generated by JsPbCodeGenerator.
235
- * @param {Array=} opt_data Optional initial data array, typically from a
236
- * server response, or constructed directly in Javascript. The array is used
237
- * in place and becomes part of the constructed object. It is not cloned.
238
- * If no data is provided, the constructed object will be empty, but still
239
- * valid.
240
- * @extends {jspb.Message}
241
- * @constructor
242
- */
243
- proto.meshtrade.iam.user.v1.SearchUsersResponse = function(opt_data) {
244
- jspb.Message.initialize(this, opt_data, 0, -1, proto.meshtrade.iam.user.v1.SearchUsersResponse.repeatedFields_, null);
245
- };
246
- goog.inherits(proto.meshtrade.iam.user.v1.SearchUsersResponse, jspb.Message);
247
- if (goog.DEBUG && !COMPILED) {
248
- /**
249
- * @public
250
- * @override
251
- */
252
- proto.meshtrade.iam.user.v1.SearchUsersResponse.displayName = 'proto.meshtrade.iam.user.v1.SearchUsersResponse';
253
- }
254
188
  /**
255
189
  * Generated by JsPbCodeGenerator.
256
190
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1399,507 +1333,6 @@ proto.meshtrade.iam.user.v1.ListUsersResponse.prototype.clearUsersList = functio
1399
1333
 
1400
1334
 
1401
1335
 
1402
- if (jspb.Message.GENERATE_TO_OBJECT) {
1403
- /**
1404
- * Creates an object representation of this proto.
1405
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1406
- * Optional fields that are not set will be set to undefined.
1407
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1408
- * For the list of reserved names please see:
1409
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1410
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1411
- * JSPB instance for transitional soy proto support:
1412
- * http://goto/soy-param-migration
1413
- * @return {!Object}
1414
- */
1415
- proto.meshtrade.iam.user.v1.SearchUsersRequest.prototype.toObject = function(opt_includeInstance) {
1416
- return proto.meshtrade.iam.user.v1.SearchUsersRequest.toObject(opt_includeInstance, this);
1417
- };
1418
-
1419
-
1420
- /**
1421
- * Static version of the {@see toObject} method.
1422
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1423
- * the JSPB instance for transitional soy proto support:
1424
- * http://goto/soy-param-migration
1425
- * @param {!proto.meshtrade.iam.user.v1.SearchUsersRequest} msg The msg instance to transform.
1426
- * @return {!Object}
1427
- * @suppress {unusedLocalVariables} f is only used for nested messages
1428
- */
1429
- proto.meshtrade.iam.user.v1.SearchUsersRequest.toObject = function(includeInstance, msg) {
1430
- var f, obj = {
1431
- email: jspb.Message.getFieldWithDefault(msg, 1, ""),
1432
- sorting: (f = msg.getSorting()) && proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting.toObject(includeInstance, f)
1433
- };
1434
-
1435
- if (includeInstance) {
1436
- obj.$jspbMessageInstance = msg;
1437
- }
1438
- return obj;
1439
- };
1440
- }
1441
-
1442
-
1443
- /**
1444
- * Deserializes binary data (in protobuf wire format).
1445
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1446
- * @return {!proto.meshtrade.iam.user.v1.SearchUsersRequest}
1447
- */
1448
- proto.meshtrade.iam.user.v1.SearchUsersRequest.deserializeBinary = function(bytes) {
1449
- var reader = new jspb.BinaryReader(bytes);
1450
- var msg = new proto.meshtrade.iam.user.v1.SearchUsersRequest;
1451
- return proto.meshtrade.iam.user.v1.SearchUsersRequest.deserializeBinaryFromReader(msg, reader);
1452
- };
1453
-
1454
-
1455
- /**
1456
- * Deserializes binary data (in protobuf wire format) from the
1457
- * given reader into the given message object.
1458
- * @param {!proto.meshtrade.iam.user.v1.SearchUsersRequest} msg The message object to deserialize into.
1459
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1460
- * @return {!proto.meshtrade.iam.user.v1.SearchUsersRequest}
1461
- */
1462
- proto.meshtrade.iam.user.v1.SearchUsersRequest.deserializeBinaryFromReader = function(msg, reader) {
1463
- while (reader.nextField()) {
1464
- if (reader.isEndGroup()) {
1465
- break;
1466
- }
1467
- var field = reader.getFieldNumber();
1468
- switch (field) {
1469
- case 1:
1470
- var value = /** @type {string} */ (reader.readString());
1471
- msg.setEmail(value);
1472
- break;
1473
- case 2:
1474
- var value = new proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting;
1475
- reader.readMessage(value,proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting.deserializeBinaryFromReader);
1476
- msg.setSorting(value);
1477
- break;
1478
- default:
1479
- reader.skipField();
1480
- break;
1481
- }
1482
- }
1483
- return msg;
1484
- };
1485
-
1486
-
1487
- /**
1488
- * Serializes the message to binary data (in protobuf wire format).
1489
- * @return {!Uint8Array}
1490
- */
1491
- proto.meshtrade.iam.user.v1.SearchUsersRequest.prototype.serializeBinary = function() {
1492
- var writer = new jspb.BinaryWriter();
1493
- proto.meshtrade.iam.user.v1.SearchUsersRequest.serializeBinaryToWriter(this, writer);
1494
- return writer.getResultBuffer();
1495
- };
1496
-
1497
-
1498
- /**
1499
- * Serializes the given message to binary data (in protobuf wire
1500
- * format), writing to the given BinaryWriter.
1501
- * @param {!proto.meshtrade.iam.user.v1.SearchUsersRequest} message
1502
- * @param {!jspb.BinaryWriter} writer
1503
- * @suppress {unusedLocalVariables} f is only used for nested messages
1504
- */
1505
- proto.meshtrade.iam.user.v1.SearchUsersRequest.serializeBinaryToWriter = function(message, writer) {
1506
- var f = undefined;
1507
- f = message.getEmail();
1508
- if (f.length > 0) {
1509
- writer.writeString(
1510
- 1,
1511
- f
1512
- );
1513
- }
1514
- f = message.getSorting();
1515
- if (f != null) {
1516
- writer.writeMessage(
1517
- 2,
1518
- f,
1519
- proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting.serializeBinaryToWriter
1520
- );
1521
- }
1522
- };
1523
-
1524
-
1525
-
1526
-
1527
-
1528
- if (jspb.Message.GENERATE_TO_OBJECT) {
1529
- /**
1530
- * Creates an object representation of this proto.
1531
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1532
- * Optional fields that are not set will be set to undefined.
1533
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1534
- * For the list of reserved names please see:
1535
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1536
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1537
- * JSPB instance for transitional soy proto support:
1538
- * http://goto/soy-param-migration
1539
- * @return {!Object}
1540
- */
1541
- proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting.prototype.toObject = function(opt_includeInstance) {
1542
- return proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting.toObject(opt_includeInstance, this);
1543
- };
1544
-
1545
-
1546
- /**
1547
- * Static version of the {@see toObject} method.
1548
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1549
- * the JSPB instance for transitional soy proto support:
1550
- * http://goto/soy-param-migration
1551
- * @param {!proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting} msg The msg instance to transform.
1552
- * @return {!Object}
1553
- * @suppress {unusedLocalVariables} f is only used for nested messages
1554
- */
1555
- proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting.toObject = function(includeInstance, msg) {
1556
- var f, obj = {
1557
- field: jspb.Message.getFieldWithDefault(msg, 1, ""),
1558
- order: jspb.Message.getFieldWithDefault(msg, 2, 0)
1559
- };
1560
-
1561
- if (includeInstance) {
1562
- obj.$jspbMessageInstance = msg;
1563
- }
1564
- return obj;
1565
- };
1566
- }
1567
-
1568
-
1569
- /**
1570
- * Deserializes binary data (in protobuf wire format).
1571
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1572
- * @return {!proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting}
1573
- */
1574
- proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting.deserializeBinary = function(bytes) {
1575
- var reader = new jspb.BinaryReader(bytes);
1576
- var msg = new proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting;
1577
- return proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting.deserializeBinaryFromReader(msg, reader);
1578
- };
1579
-
1580
-
1581
- /**
1582
- * Deserializes binary data (in protobuf wire format) from the
1583
- * given reader into the given message object.
1584
- * @param {!proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting} msg The message object to deserialize into.
1585
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1586
- * @return {!proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting}
1587
- */
1588
- proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting.deserializeBinaryFromReader = function(msg, reader) {
1589
- while (reader.nextField()) {
1590
- if (reader.isEndGroup()) {
1591
- break;
1592
- }
1593
- var field = reader.getFieldNumber();
1594
- switch (field) {
1595
- case 1:
1596
- var value = /** @type {string} */ (reader.readString());
1597
- msg.setField(value);
1598
- break;
1599
- case 2:
1600
- var value = /** @type {!proto.meshtrade.type.v1.SortingOrder} */ (reader.readEnum());
1601
- msg.setOrder(value);
1602
- break;
1603
- default:
1604
- reader.skipField();
1605
- break;
1606
- }
1607
- }
1608
- return msg;
1609
- };
1610
-
1611
-
1612
- /**
1613
- * Serializes the message to binary data (in protobuf wire format).
1614
- * @return {!Uint8Array}
1615
- */
1616
- proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting.prototype.serializeBinary = function() {
1617
- var writer = new jspb.BinaryWriter();
1618
- proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting.serializeBinaryToWriter(this, writer);
1619
- return writer.getResultBuffer();
1620
- };
1621
-
1622
-
1623
- /**
1624
- * Serializes the given message to binary data (in protobuf wire
1625
- * format), writing to the given BinaryWriter.
1626
- * @param {!proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting} message
1627
- * @param {!jspb.BinaryWriter} writer
1628
- * @suppress {unusedLocalVariables} f is only used for nested messages
1629
- */
1630
- proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting.serializeBinaryToWriter = function(message, writer) {
1631
- var f = undefined;
1632
- f = message.getField();
1633
- if (f.length > 0) {
1634
- writer.writeString(
1635
- 1,
1636
- f
1637
- );
1638
- }
1639
- f = message.getOrder();
1640
- if (f !== 0.0) {
1641
- writer.writeEnum(
1642
- 2,
1643
- f
1644
- );
1645
- }
1646
- };
1647
-
1648
-
1649
- /**
1650
- * optional string field = 1;
1651
- * @return {string}
1652
- */
1653
- proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting.prototype.getField = function() {
1654
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1655
- };
1656
-
1657
-
1658
- /**
1659
- * @param {string} value
1660
- * @return {!proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting} returns this
1661
- */
1662
- proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting.prototype.setField = function(value) {
1663
- return jspb.Message.setProto3StringField(this, 1, value);
1664
- };
1665
-
1666
-
1667
- /**
1668
- * optional meshtrade.type.v1.SortingOrder order = 2;
1669
- * @return {!proto.meshtrade.type.v1.SortingOrder}
1670
- */
1671
- proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting.prototype.getOrder = function() {
1672
- return /** @type {!proto.meshtrade.type.v1.SortingOrder} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1673
- };
1674
-
1675
-
1676
- /**
1677
- * @param {!proto.meshtrade.type.v1.SortingOrder} value
1678
- * @return {!proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting} returns this
1679
- */
1680
- proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting.prototype.setOrder = function(value) {
1681
- return jspb.Message.setProto3EnumField(this, 2, value);
1682
- };
1683
-
1684
-
1685
- /**
1686
- * optional string email = 1;
1687
- * @return {string}
1688
- */
1689
- proto.meshtrade.iam.user.v1.SearchUsersRequest.prototype.getEmail = function() {
1690
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1691
- };
1692
-
1693
-
1694
- /**
1695
- * @param {string} value
1696
- * @return {!proto.meshtrade.iam.user.v1.SearchUsersRequest} returns this
1697
- */
1698
- proto.meshtrade.iam.user.v1.SearchUsersRequest.prototype.setEmail = function(value) {
1699
- return jspb.Message.setProto3StringField(this, 1, value);
1700
- };
1701
-
1702
-
1703
- /**
1704
- * optional Sorting sorting = 2;
1705
- * @return {?proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting}
1706
- */
1707
- proto.meshtrade.iam.user.v1.SearchUsersRequest.prototype.getSorting = function() {
1708
- return /** @type{?proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting} */ (
1709
- jspb.Message.getWrapperField(this, proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting, 2));
1710
- };
1711
-
1712
-
1713
- /**
1714
- * @param {?proto.meshtrade.iam.user.v1.SearchUsersRequest.Sorting|undefined} value
1715
- * @return {!proto.meshtrade.iam.user.v1.SearchUsersRequest} returns this
1716
- */
1717
- proto.meshtrade.iam.user.v1.SearchUsersRequest.prototype.setSorting = function(value) {
1718
- return jspb.Message.setWrapperField(this, 2, value);
1719
- };
1720
-
1721
-
1722
- /**
1723
- * Clears the message field making it undefined.
1724
- * @return {!proto.meshtrade.iam.user.v1.SearchUsersRequest} returns this
1725
- */
1726
- proto.meshtrade.iam.user.v1.SearchUsersRequest.prototype.clearSorting = function() {
1727
- return this.setSorting(undefined);
1728
- };
1729
-
1730
-
1731
- /**
1732
- * Returns whether this field is set.
1733
- * @return {boolean}
1734
- */
1735
- proto.meshtrade.iam.user.v1.SearchUsersRequest.prototype.hasSorting = function() {
1736
- return jspb.Message.getField(this, 2) != null;
1737
- };
1738
-
1739
-
1740
-
1741
- /**
1742
- * List of repeated fields within this message type.
1743
- * @private {!Array<number>}
1744
- * @const
1745
- */
1746
- proto.meshtrade.iam.user.v1.SearchUsersResponse.repeatedFields_ = [1];
1747
-
1748
-
1749
-
1750
- if (jspb.Message.GENERATE_TO_OBJECT) {
1751
- /**
1752
- * Creates an object representation of this proto.
1753
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1754
- * Optional fields that are not set will be set to undefined.
1755
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1756
- * For the list of reserved names please see:
1757
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1758
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1759
- * JSPB instance for transitional soy proto support:
1760
- * http://goto/soy-param-migration
1761
- * @return {!Object}
1762
- */
1763
- proto.meshtrade.iam.user.v1.SearchUsersResponse.prototype.toObject = function(opt_includeInstance) {
1764
- return proto.meshtrade.iam.user.v1.SearchUsersResponse.toObject(opt_includeInstance, this);
1765
- };
1766
-
1767
-
1768
- /**
1769
- * Static version of the {@see toObject} method.
1770
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1771
- * the JSPB instance for transitional soy proto support:
1772
- * http://goto/soy-param-migration
1773
- * @param {!proto.meshtrade.iam.user.v1.SearchUsersResponse} msg The msg instance to transform.
1774
- * @return {!Object}
1775
- * @suppress {unusedLocalVariables} f is only used for nested messages
1776
- */
1777
- proto.meshtrade.iam.user.v1.SearchUsersResponse.toObject = function(includeInstance, msg) {
1778
- var f, obj = {
1779
- usersList: jspb.Message.toObjectList(msg.getUsersList(),
1780
- meshtrade_iam_user_v1_user_pb.User.toObject, includeInstance)
1781
- };
1782
-
1783
- if (includeInstance) {
1784
- obj.$jspbMessageInstance = msg;
1785
- }
1786
- return obj;
1787
- };
1788
- }
1789
-
1790
-
1791
- /**
1792
- * Deserializes binary data (in protobuf wire format).
1793
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1794
- * @return {!proto.meshtrade.iam.user.v1.SearchUsersResponse}
1795
- */
1796
- proto.meshtrade.iam.user.v1.SearchUsersResponse.deserializeBinary = function(bytes) {
1797
- var reader = new jspb.BinaryReader(bytes);
1798
- var msg = new proto.meshtrade.iam.user.v1.SearchUsersResponse;
1799
- return proto.meshtrade.iam.user.v1.SearchUsersResponse.deserializeBinaryFromReader(msg, reader);
1800
- };
1801
-
1802
-
1803
- /**
1804
- * Deserializes binary data (in protobuf wire format) from the
1805
- * given reader into the given message object.
1806
- * @param {!proto.meshtrade.iam.user.v1.SearchUsersResponse} msg The message object to deserialize into.
1807
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1808
- * @return {!proto.meshtrade.iam.user.v1.SearchUsersResponse}
1809
- */
1810
- proto.meshtrade.iam.user.v1.SearchUsersResponse.deserializeBinaryFromReader = function(msg, reader) {
1811
- while (reader.nextField()) {
1812
- if (reader.isEndGroup()) {
1813
- break;
1814
- }
1815
- var field = reader.getFieldNumber();
1816
- switch (field) {
1817
- case 1:
1818
- var value = new meshtrade_iam_user_v1_user_pb.User;
1819
- reader.readMessage(value,meshtrade_iam_user_v1_user_pb.User.deserializeBinaryFromReader);
1820
- msg.addUsers(value);
1821
- break;
1822
- default:
1823
- reader.skipField();
1824
- break;
1825
- }
1826
- }
1827
- return msg;
1828
- };
1829
-
1830
-
1831
- /**
1832
- * Serializes the message to binary data (in protobuf wire format).
1833
- * @return {!Uint8Array}
1834
- */
1835
- proto.meshtrade.iam.user.v1.SearchUsersResponse.prototype.serializeBinary = function() {
1836
- var writer = new jspb.BinaryWriter();
1837
- proto.meshtrade.iam.user.v1.SearchUsersResponse.serializeBinaryToWriter(this, writer);
1838
- return writer.getResultBuffer();
1839
- };
1840
-
1841
-
1842
- /**
1843
- * Serializes the given message to binary data (in protobuf wire
1844
- * format), writing to the given BinaryWriter.
1845
- * @param {!proto.meshtrade.iam.user.v1.SearchUsersResponse} message
1846
- * @param {!jspb.BinaryWriter} writer
1847
- * @suppress {unusedLocalVariables} f is only used for nested messages
1848
- */
1849
- proto.meshtrade.iam.user.v1.SearchUsersResponse.serializeBinaryToWriter = function(message, writer) {
1850
- var f = undefined;
1851
- f = message.getUsersList();
1852
- if (f.length > 0) {
1853
- writer.writeRepeatedMessage(
1854
- 1,
1855
- f,
1856
- meshtrade_iam_user_v1_user_pb.User.serializeBinaryToWriter
1857
- );
1858
- }
1859
- };
1860
-
1861
-
1862
- /**
1863
- * repeated User users = 1;
1864
- * @return {!Array<!proto.meshtrade.iam.user.v1.User>}
1865
- */
1866
- proto.meshtrade.iam.user.v1.SearchUsersResponse.prototype.getUsersList = function() {
1867
- return /** @type{!Array<!proto.meshtrade.iam.user.v1.User>} */ (
1868
- jspb.Message.getRepeatedWrapperField(this, meshtrade_iam_user_v1_user_pb.User, 1));
1869
- };
1870
-
1871
-
1872
- /**
1873
- * @param {!Array<!proto.meshtrade.iam.user.v1.User>} value
1874
- * @return {!proto.meshtrade.iam.user.v1.SearchUsersResponse} returns this
1875
- */
1876
- proto.meshtrade.iam.user.v1.SearchUsersResponse.prototype.setUsersList = function(value) {
1877
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
1878
- };
1879
-
1880
-
1881
- /**
1882
- * @param {!proto.meshtrade.iam.user.v1.User=} opt_value
1883
- * @param {number=} opt_index
1884
- * @return {!proto.meshtrade.iam.user.v1.User}
1885
- */
1886
- proto.meshtrade.iam.user.v1.SearchUsersResponse.prototype.addUsers = function(opt_value, opt_index) {
1887
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.meshtrade.iam.user.v1.User, opt_index);
1888
- };
1889
-
1890
-
1891
- /**
1892
- * Clears the list making it empty but non-null.
1893
- * @return {!proto.meshtrade.iam.user.v1.SearchUsersResponse} returns this
1894
- */
1895
- proto.meshtrade.iam.user.v1.SearchUsersResponse.prototype.clearUsersList = function() {
1896
- return this.setUsersList([]);
1897
- };
1898
-
1899
-
1900
-
1901
-
1902
-
1903
1336
  if (jspb.Message.GENERATE_TO_OBJECT) {
1904
1337
  /**
1905
1338
  * Creates an object representation of this proto.
@@ -18,6 +18,11 @@ export class User extends jspb.Message {
18
18
  getEmail(): string;
19
19
  setEmail(value: string): User;
20
20
 
21
+ getMobileNumber(): MobileNumber | undefined;
22
+ setMobileNumber(value?: MobileNumber): User;
23
+ hasMobileNumber(): boolean;
24
+ clearMobileNumber(): User;
25
+
21
26
  getRolesList(): Array<string>;
22
27
  setRolesList(value: Array<string>): User;
23
28
  clearRolesList(): User;
@@ -37,7 +42,34 @@ export namespace User {
37
42
  owner: string,
38
43
  ownersList: Array<string>,
39
44
  email: string,
45
+ mobileNumber?: MobileNumber.AsObject,
40
46
  rolesList: Array<string>,
41
47
  }
42
48
  }
43
49
 
50
+ export class MobileNumber extends jspb.Message {
51
+ getValue(): string;
52
+ setValue(value: string): MobileNumber;
53
+
54
+ getVerified(): boolean;
55
+ setVerified(value: boolean): MobileNumber;
56
+
57
+ getResetReason(): string;
58
+ setResetReason(value: string): MobileNumber;
59
+
60
+ serializeBinary(): Uint8Array;
61
+ toObject(includeInstance?: boolean): MobileNumber.AsObject;
62
+ static toObject(includeInstance: boolean, msg: MobileNumber): MobileNumber.AsObject;
63
+ static serializeBinaryToWriter(message: MobileNumber, writer: jspb.BinaryWriter): void;
64
+ static deserializeBinary(bytes: Uint8Array): MobileNumber;
65
+ static deserializeBinaryFromReader(message: MobileNumber, reader: jspb.BinaryReader): MobileNumber;
66
+ }
67
+
68
+ export namespace MobileNumber {
69
+ export type AsObject = {
70
+ value: string,
71
+ verified: boolean,
72
+ resetReason: string,
73
+ }
74
+ }
75
+