@meshtrade/api-old 1.58.0 → 1.59.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meshtrade/api-old",
3
- "version": "1.58.0",
3
+ "version": "1.59.0",
4
4
  "description": "Mesh Typescript SDK (Legacy)",
5
5
  "author": "Bernard Bussy <bernard@meshtrade.co>",
6
6
  "license": "UNLICENSED",