@meshtrade/api-old 1.59.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.
@@ -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.59.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",