@meshtrade/api-old 1.58.0 → 1.60.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.
@@ -121,6 +121,11 @@ export class SearchGroupsRequest extends jspb.Message {
121
121
  hasSorting(): boolean;
122
122
  clearSorting(): SearchGroupsRequest;
123
123
 
124
+ getNamesList(): Array<string>;
125
+ setNamesList(value: Array<string>): SearchGroupsRequest;
126
+ clearNamesList(): SearchGroupsRequest;
127
+ addNames(value: string, index?: number): SearchGroupsRequest;
128
+
124
129
  serializeBinary(): Uint8Array;
125
130
  toObject(includeInstance?: boolean): SearchGroupsRequest.AsObject;
126
131
  static toObject(includeInstance: boolean, msg: SearchGroupsRequest): SearchGroupsRequest.AsObject;
@@ -134,6 +139,7 @@ export namespace SearchGroupsRequest {
134
139
  displayName: string,
135
140
  description: string,
136
141
  sorting?: SearchGroupsRequest.Sorting.AsObject,
142
+ namesList: Array<string>,
137
143
  }
138
144
 
139
145
  export class Sorting extends jspb.Message {
@@ -154,7 +154,7 @@ if (goog.DEBUG && !COMPILED) {
154
154
  * @constructor
155
155
  */
156
156
  proto.meshtrade.iam.group.v1.SearchGroupsRequest = function(opt_data) {
157
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
157
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.meshtrade.iam.group.v1.SearchGroupsRequest.repeatedFields_, null);
158
158
  };
159
159
  goog.inherits(proto.meshtrade.iam.group.v1.SearchGroupsRequest, jspb.Message);
160
160
  if (goog.DEBUG && !COMPILED) {
@@ -1001,6 +1001,13 @@ proto.meshtrade.iam.group.v1.ListGroupsResponse.prototype.clearGroupsList = func
1001
1001
 
1002
1002
 
1003
1003
 
1004
+ /**
1005
+ * List of repeated fields within this message type.
1006
+ * @private {!Array<number>}
1007
+ * @const
1008
+ */
1009
+ proto.meshtrade.iam.group.v1.SearchGroupsRequest.repeatedFields_ = [4];
1010
+
1004
1011
 
1005
1012
 
1006
1013
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -1034,7 +1041,8 @@ proto.meshtrade.iam.group.v1.SearchGroupsRequest.toObject = function(includeInst
1034
1041
  var f, obj = {
1035
1042
  displayName: jspb.Message.getFieldWithDefault(msg, 1, ""),
1036
1043
  description: jspb.Message.getFieldWithDefault(msg, 2, ""),
1037
- sorting: (f = msg.getSorting()) && proto.meshtrade.iam.group.v1.SearchGroupsRequest.Sorting.toObject(includeInstance, f)
1044
+ sorting: (f = msg.getSorting()) && proto.meshtrade.iam.group.v1.SearchGroupsRequest.Sorting.toObject(includeInstance, f),
1045
+ namesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
1038
1046
  };
1039
1047
 
1040
1048
  if (includeInstance) {
@@ -1084,6 +1092,10 @@ proto.meshtrade.iam.group.v1.SearchGroupsRequest.deserializeBinaryFromReader = f
1084
1092
  reader.readMessage(value,proto.meshtrade.iam.group.v1.SearchGroupsRequest.Sorting.deserializeBinaryFromReader);
1085
1093
  msg.setSorting(value);
1086
1094
  break;
1095
+ case 4:
1096
+ var value = /** @type {string} */ (reader.readString());
1097
+ msg.addNames(value);
1098
+ break;
1087
1099
  default:
1088
1100
  reader.skipField();
1089
1101
  break;
@@ -1135,6 +1147,13 @@ proto.meshtrade.iam.group.v1.SearchGroupsRequest.serializeBinaryToWriter = funct
1135
1147
  proto.meshtrade.iam.group.v1.SearchGroupsRequest.Sorting.serializeBinaryToWriter
1136
1148
  );
1137
1149
  }
1150
+ f = message.getNamesList();
1151
+ if (f.length > 0) {
1152
+ writer.writeRepeatedString(
1153
+ 4,
1154
+ f
1155
+ );
1156
+ }
1138
1157
  };
1139
1158
 
1140
1159
 
@@ -1371,6 +1390,43 @@ proto.meshtrade.iam.group.v1.SearchGroupsRequest.prototype.hasSorting = function
1371
1390
  };
1372
1391
 
1373
1392
 
1393
+ /**
1394
+ * repeated string names = 4;
1395
+ * @return {!Array<string>}
1396
+ */
1397
+ proto.meshtrade.iam.group.v1.SearchGroupsRequest.prototype.getNamesList = function() {
1398
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
1399
+ };
1400
+
1401
+
1402
+ /**
1403
+ * @param {!Array<string>} value
1404
+ * @return {!proto.meshtrade.iam.group.v1.SearchGroupsRequest} returns this
1405
+ */
1406
+ proto.meshtrade.iam.group.v1.SearchGroupsRequest.prototype.setNamesList = function(value) {
1407
+ return jspb.Message.setField(this, 4, value || []);
1408
+ };
1409
+
1410
+
1411
+ /**
1412
+ * @param {string} value
1413
+ * @param {number=} opt_index
1414
+ * @return {!proto.meshtrade.iam.group.v1.SearchGroupsRequest} returns this
1415
+ */
1416
+ proto.meshtrade.iam.group.v1.SearchGroupsRequest.prototype.addNames = function(value, opt_index) {
1417
+ return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
1418
+ };
1419
+
1420
+
1421
+ /**
1422
+ * Clears the list making it empty but non-null.
1423
+ * @return {!proto.meshtrade.iam.group.v1.SearchGroupsRequest} returns this
1424
+ */
1425
+ proto.meshtrade.iam.group.v1.SearchGroupsRequest.prototype.clearNamesList = function() {
1426
+ return this.setNamesList([]);
1427
+ };
1428
+
1429
+
1374
1430
 
1375
1431
  /**
1376
1432
  * List of repeated fields within this message type.
@@ -290,6 +290,11 @@ export class SearchAccountsRequest extends jspb.Message {
290
290
  getPopulateLedgerData(): boolean;
291
291
  setPopulateLedgerData(value: boolean): SearchAccountsRequest;
292
292
 
293
+ getOwnerList(): Array<string>;
294
+ setOwnerList(value: Array<string>): SearchAccountsRequest;
295
+ clearOwnerList(): SearchAccountsRequest;
296
+ addOwner(value: string, index?: number): SearchAccountsRequest;
297
+
293
298
  serializeBinary(): Uint8Array;
294
299
  toObject(includeInstance?: boolean): SearchAccountsRequest.AsObject;
295
300
  static toObject(includeInstance: boolean, msg: SearchAccountsRequest): SearchAccountsRequest.AsObject;
@@ -303,6 +308,7 @@ export namespace SearchAccountsRequest {
303
308
  sorting?: SearchAccountsRequest.Sorting.AsObject,
304
309
  displayName: string,
305
310
  populateLedgerData: boolean,
311
+ ownerList: Array<string>,
306
312
  }
307
313
 
308
314
  export class Sorting extends jspb.Message {
@@ -335,7 +335,7 @@ if (goog.DEBUG && !COMPILED) {
335
335
  * @constructor
336
336
  */
337
337
  proto.meshtrade.wallet.account.v1.SearchAccountsRequest = function(opt_data) {
338
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
338
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.meshtrade.wallet.account.v1.SearchAccountsRequest.repeatedFields_, null);
339
339
  };
340
340
  goog.inherits(proto.meshtrade.wallet.account.v1.SearchAccountsRequest, jspb.Message);
341
341
  if (goog.DEBUG && !COMPILED) {
@@ -2487,6 +2487,13 @@ proto.meshtrade.wallet.account.v1.ListAccountsResponse.prototype.clearAccountsLi
2487
2487
 
2488
2488
 
2489
2489
 
2490
+ /**
2491
+ * List of repeated fields within this message type.
2492
+ * @private {!Array<number>}
2493
+ * @const
2494
+ */
2495
+ proto.meshtrade.wallet.account.v1.SearchAccountsRequest.repeatedFields_ = [4];
2496
+
2490
2497
 
2491
2498
 
2492
2499
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -2520,7 +2527,8 @@ proto.meshtrade.wallet.account.v1.SearchAccountsRequest.toObject = function(incl
2520
2527
  var f, obj = {
2521
2528
  sorting: (f = msg.getSorting()) && proto.meshtrade.wallet.account.v1.SearchAccountsRequest.Sorting.toObject(includeInstance, f),
2522
2529
  displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
2523
- populateLedgerData: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
2530
+ populateLedgerData: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
2531
+ ownerList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
2524
2532
  };
2525
2533
 
2526
2534
  if (includeInstance) {
@@ -2570,6 +2578,10 @@ proto.meshtrade.wallet.account.v1.SearchAccountsRequest.deserializeBinaryFromRea
2570
2578
  var value = /** @type {boolean} */ (reader.readBool());
2571
2579
  msg.setPopulateLedgerData(value);
2572
2580
  break;
2581
+ case 4:
2582
+ var value = /** @type {string} */ (reader.readString());
2583
+ msg.addOwner(value);
2584
+ break;
2573
2585
  default:
2574
2586
  reader.skipField();
2575
2587
  break;
@@ -2621,6 +2633,13 @@ proto.meshtrade.wallet.account.v1.SearchAccountsRequest.serializeBinaryToWriter
2621
2633
  f
2622
2634
  );
2623
2635
  }
2636
+ f = message.getOwnerList();
2637
+ if (f.length > 0) {
2638
+ writer.writeRepeatedString(
2639
+ 4,
2640
+ f
2641
+ );
2642
+ }
2624
2643
  };
2625
2644
 
2626
2645
 
@@ -2857,6 +2876,43 @@ proto.meshtrade.wallet.account.v1.SearchAccountsRequest.prototype.setPopulateLed
2857
2876
  };
2858
2877
 
2859
2878
 
2879
+ /**
2880
+ * repeated string owner = 4;
2881
+ * @return {!Array<string>}
2882
+ */
2883
+ proto.meshtrade.wallet.account.v1.SearchAccountsRequest.prototype.getOwnerList = function() {
2884
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
2885
+ };
2886
+
2887
+
2888
+ /**
2889
+ * @param {!Array<string>} value
2890
+ * @return {!proto.meshtrade.wallet.account.v1.SearchAccountsRequest} returns this
2891
+ */
2892
+ proto.meshtrade.wallet.account.v1.SearchAccountsRequest.prototype.setOwnerList = function(value) {
2893
+ return jspb.Message.setField(this, 4, value || []);
2894
+ };
2895
+
2896
+
2897
+ /**
2898
+ * @param {string} value
2899
+ * @param {number=} opt_index
2900
+ * @return {!proto.meshtrade.wallet.account.v1.SearchAccountsRequest} returns this
2901
+ */
2902
+ proto.meshtrade.wallet.account.v1.SearchAccountsRequest.prototype.addOwner = function(value, opt_index) {
2903
+ return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
2904
+ };
2905
+
2906
+
2907
+ /**
2908
+ * Clears the list making it empty but non-null.
2909
+ * @return {!proto.meshtrade.wallet.account.v1.SearchAccountsRequest} returns this
2910
+ */
2911
+ proto.meshtrade.wallet.account.v1.SearchAccountsRequest.prototype.clearOwnerList = function() {
2912
+ return this.setOwnerList([]);
2913
+ };
2914
+
2915
+
2860
2916
 
2861
2917
  /**
2862
2918
  * List of repeated fields within this message type.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meshtrade/api-old",
3
- "version": "1.58.0",
3
+ "version": "1.60.0",
4
4
  "description": "Mesh Typescript SDK (Legacy)",
5
5
  "author": "Bernard Bussy <bernard@meshtrade.co>",
6
6
  "license": "UNLICENSED",