@meshtrade/api-old 1.30.2 → 1.31.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.
- package/dist/meshtrade/compliance/client/v1/client_pb.d.ts +10 -4
- package/dist/meshtrade/compliance/client/v1/client_pb.js +115 -59
- package/dist/meshtrade/iam/api_user/v1/api_user_pb.d.ts +6 -0
- package/dist/meshtrade/iam/api_user/v1/api_user_pb.js +74 -25
- package/dist/meshtrade/iam/group/v1/group_pb.d.ts +6 -0
- package/dist/meshtrade/iam/group/v1/group_pb.js +57 -1
- package/dist/meshtrade/iam/user/v1/user_pb.d.ts +6 -0
- package/dist/meshtrade/iam/user/v1/user_pb.js +62 -13
- package/dist/meshtrade/studio/instrument/v1/instrument_pb.d.ts +6 -0
- package/dist/meshtrade/studio/instrument/v1/instrument_pb.js +57 -1
- package/dist/meshtrade/trading/limit_order/v1/limit_order_pb.d.ts +6 -0
- package/dist/meshtrade/trading/limit_order/v1/limit_order_pb.js +104 -48
- package/dist/meshtrade/wallet/account/v1/account_pb.d.ts +6 -0
- package/dist/meshtrade/wallet/account/v1/account_pb.js +50 -1
- package/package.json +2 -2
|
@@ -53,7 +53,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
53
53
|
* @private {!Array<number>}
|
|
54
54
|
* @const
|
|
55
55
|
*/
|
|
56
|
-
proto.meshtrade.iam.api_user.v1.APIUser.repeatedFields_ = [
|
|
56
|
+
proto.meshtrade.iam.api_user.v1.APIUser.repeatedFields_ = [3,6];
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
|
|
@@ -88,10 +88,11 @@ proto.meshtrade.iam.api_user.v1.APIUser.toObject = function(includeInstance, msg
|
|
|
88
88
|
var f, obj = {
|
|
89
89
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
90
90
|
owner: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
91
|
+
ownersList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
92
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
93
|
+
state: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
94
|
+
rolesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
|
|
95
|
+
apiKey: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
95
96
|
};
|
|
96
97
|
|
|
97
98
|
if (includeInstance) {
|
|
@@ -138,17 +139,21 @@ proto.meshtrade.iam.api_user.v1.APIUser.deserializeBinaryFromReader = function(m
|
|
|
138
139
|
break;
|
|
139
140
|
case 3:
|
|
140
141
|
var value = /** @type {string} */ (reader.readString());
|
|
141
|
-
msg.
|
|
142
|
+
msg.addOwners(value);
|
|
142
143
|
break;
|
|
143
144
|
case 4:
|
|
145
|
+
var value = /** @type {string} */ (reader.readString());
|
|
146
|
+
msg.setDisplayName(value);
|
|
147
|
+
break;
|
|
148
|
+
case 5:
|
|
144
149
|
var value = /** @type {!proto.meshtrade.iam.api_user.v1.APIUserState} */ (reader.readEnum());
|
|
145
150
|
msg.setState(value);
|
|
146
151
|
break;
|
|
147
|
-
case
|
|
152
|
+
case 6:
|
|
148
153
|
var value = /** @type {string} */ (reader.readString());
|
|
149
154
|
msg.addRoles(value);
|
|
150
155
|
break;
|
|
151
|
-
case
|
|
156
|
+
case 7:
|
|
152
157
|
var value = /** @type {string} */ (reader.readString());
|
|
153
158
|
msg.setApiKey(value);
|
|
154
159
|
break;
|
|
@@ -195,31 +200,38 @@ proto.meshtrade.iam.api_user.v1.APIUser.serializeBinaryToWriter = function(messa
|
|
|
195
200
|
f
|
|
196
201
|
);
|
|
197
202
|
}
|
|
203
|
+
f = message.getOwnersList();
|
|
204
|
+
if (f.length > 0) {
|
|
205
|
+
writer.writeRepeatedString(
|
|
206
|
+
3,
|
|
207
|
+
f
|
|
208
|
+
);
|
|
209
|
+
}
|
|
198
210
|
f = message.getDisplayName();
|
|
199
211
|
if (f.length > 0) {
|
|
200
212
|
writer.writeString(
|
|
201
|
-
|
|
213
|
+
4,
|
|
202
214
|
f
|
|
203
215
|
);
|
|
204
216
|
}
|
|
205
217
|
f = message.getState();
|
|
206
218
|
if (f !== 0.0) {
|
|
207
219
|
writer.writeEnum(
|
|
208
|
-
|
|
220
|
+
5,
|
|
209
221
|
f
|
|
210
222
|
);
|
|
211
223
|
}
|
|
212
224
|
f = message.getRolesList();
|
|
213
225
|
if (f.length > 0) {
|
|
214
226
|
writer.writeRepeatedString(
|
|
215
|
-
|
|
227
|
+
6,
|
|
216
228
|
f
|
|
217
229
|
);
|
|
218
230
|
}
|
|
219
231
|
f = message.getApiKey();
|
|
220
232
|
if (f.length > 0) {
|
|
221
233
|
writer.writeString(
|
|
222
|
-
|
|
234
|
+
7,
|
|
223
235
|
f
|
|
224
236
|
);
|
|
225
237
|
}
|
|
@@ -263,11 +275,48 @@ proto.meshtrade.iam.api_user.v1.APIUser.prototype.setOwner = function(value) {
|
|
|
263
275
|
|
|
264
276
|
|
|
265
277
|
/**
|
|
266
|
-
*
|
|
278
|
+
* repeated string owners = 3;
|
|
279
|
+
* @return {!Array<string>}
|
|
280
|
+
*/
|
|
281
|
+
proto.meshtrade.iam.api_user.v1.APIUser.prototype.getOwnersList = function() {
|
|
282
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
283
|
+
};
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* @param {!Array<string>} value
|
|
288
|
+
* @return {!proto.meshtrade.iam.api_user.v1.APIUser} returns this
|
|
289
|
+
*/
|
|
290
|
+
proto.meshtrade.iam.api_user.v1.APIUser.prototype.setOwnersList = function(value) {
|
|
291
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
292
|
+
};
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* @param {string} value
|
|
297
|
+
* @param {number=} opt_index
|
|
298
|
+
* @return {!proto.meshtrade.iam.api_user.v1.APIUser} returns this
|
|
299
|
+
*/
|
|
300
|
+
proto.meshtrade.iam.api_user.v1.APIUser.prototype.addOwners = function(value, opt_index) {
|
|
301
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
302
|
+
};
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Clears the list making it empty but non-null.
|
|
307
|
+
* @return {!proto.meshtrade.iam.api_user.v1.APIUser} returns this
|
|
308
|
+
*/
|
|
309
|
+
proto.meshtrade.iam.api_user.v1.APIUser.prototype.clearOwnersList = function() {
|
|
310
|
+
return this.setOwnersList([]);
|
|
311
|
+
};
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* optional string display_name = 4;
|
|
267
316
|
* @return {string}
|
|
268
317
|
*/
|
|
269
318
|
proto.meshtrade.iam.api_user.v1.APIUser.prototype.getDisplayName = function() {
|
|
270
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
319
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
271
320
|
};
|
|
272
321
|
|
|
273
322
|
|
|
@@ -276,16 +325,16 @@ proto.meshtrade.iam.api_user.v1.APIUser.prototype.getDisplayName = function() {
|
|
|
276
325
|
* @return {!proto.meshtrade.iam.api_user.v1.APIUser} returns this
|
|
277
326
|
*/
|
|
278
327
|
proto.meshtrade.iam.api_user.v1.APIUser.prototype.setDisplayName = function(value) {
|
|
279
|
-
return jspb.Message.setProto3StringField(this,
|
|
328
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
280
329
|
};
|
|
281
330
|
|
|
282
331
|
|
|
283
332
|
/**
|
|
284
|
-
* optional APIUserState state =
|
|
333
|
+
* optional APIUserState state = 5;
|
|
285
334
|
* @return {!proto.meshtrade.iam.api_user.v1.APIUserState}
|
|
286
335
|
*/
|
|
287
336
|
proto.meshtrade.iam.api_user.v1.APIUser.prototype.getState = function() {
|
|
288
|
-
return /** @type {!proto.meshtrade.iam.api_user.v1.APIUserState} */ (jspb.Message.getFieldWithDefault(this,
|
|
337
|
+
return /** @type {!proto.meshtrade.iam.api_user.v1.APIUserState} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
289
338
|
};
|
|
290
339
|
|
|
291
340
|
|
|
@@ -294,16 +343,16 @@ proto.meshtrade.iam.api_user.v1.APIUser.prototype.getState = function() {
|
|
|
294
343
|
* @return {!proto.meshtrade.iam.api_user.v1.APIUser} returns this
|
|
295
344
|
*/
|
|
296
345
|
proto.meshtrade.iam.api_user.v1.APIUser.prototype.setState = function(value) {
|
|
297
|
-
return jspb.Message.setProto3EnumField(this,
|
|
346
|
+
return jspb.Message.setProto3EnumField(this, 5, value);
|
|
298
347
|
};
|
|
299
348
|
|
|
300
349
|
|
|
301
350
|
/**
|
|
302
|
-
* repeated string roles =
|
|
351
|
+
* repeated string roles = 6;
|
|
303
352
|
* @return {!Array<string>}
|
|
304
353
|
*/
|
|
305
354
|
proto.meshtrade.iam.api_user.v1.APIUser.prototype.getRolesList = function() {
|
|
306
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this,
|
|
355
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
|
|
307
356
|
};
|
|
308
357
|
|
|
309
358
|
|
|
@@ -312,7 +361,7 @@ proto.meshtrade.iam.api_user.v1.APIUser.prototype.getRolesList = function() {
|
|
|
312
361
|
* @return {!proto.meshtrade.iam.api_user.v1.APIUser} returns this
|
|
313
362
|
*/
|
|
314
363
|
proto.meshtrade.iam.api_user.v1.APIUser.prototype.setRolesList = function(value) {
|
|
315
|
-
return jspb.Message.setField(this,
|
|
364
|
+
return jspb.Message.setField(this, 6, value || []);
|
|
316
365
|
};
|
|
317
366
|
|
|
318
367
|
|
|
@@ -322,7 +371,7 @@ proto.meshtrade.iam.api_user.v1.APIUser.prototype.setRolesList = function(value)
|
|
|
322
371
|
* @return {!proto.meshtrade.iam.api_user.v1.APIUser} returns this
|
|
323
372
|
*/
|
|
324
373
|
proto.meshtrade.iam.api_user.v1.APIUser.prototype.addRoles = function(value, opt_index) {
|
|
325
|
-
return jspb.Message.addToRepeatedField(this,
|
|
374
|
+
return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
|
|
326
375
|
};
|
|
327
376
|
|
|
328
377
|
|
|
@@ -336,11 +385,11 @@ proto.meshtrade.iam.api_user.v1.APIUser.prototype.clearRolesList = function() {
|
|
|
336
385
|
|
|
337
386
|
|
|
338
387
|
/**
|
|
339
|
-
* optional string api_key =
|
|
388
|
+
* optional string api_key = 7;
|
|
340
389
|
* @return {string}
|
|
341
390
|
*/
|
|
342
391
|
proto.meshtrade.iam.api_user.v1.APIUser.prototype.getApiKey = function() {
|
|
343
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
392
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
344
393
|
};
|
|
345
394
|
|
|
346
395
|
|
|
@@ -349,7 +398,7 @@ proto.meshtrade.iam.api_user.v1.APIUser.prototype.getApiKey = function() {
|
|
|
349
398
|
* @return {!proto.meshtrade.iam.api_user.v1.APIUser} returns this
|
|
350
399
|
*/
|
|
351
400
|
proto.meshtrade.iam.api_user.v1.APIUser.prototype.setApiKey = function(value) {
|
|
352
|
-
return jspb.Message.setProto3StringField(this,
|
|
401
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
353
402
|
};
|
|
354
403
|
|
|
355
404
|
|
|
@@ -10,6 +10,11 @@ export class Group extends jspb.Message {
|
|
|
10
10
|
getOwner(): string;
|
|
11
11
|
setOwner(value: string): Group;
|
|
12
12
|
|
|
13
|
+
getOwnersList(): Array<string>;
|
|
14
|
+
setOwnersList(value: Array<string>): Group;
|
|
15
|
+
clearOwnersList(): Group;
|
|
16
|
+
addOwners(value: string, index?: number): Group;
|
|
17
|
+
|
|
13
18
|
getDisplayName(): string;
|
|
14
19
|
setDisplayName(value: string): Group;
|
|
15
20
|
|
|
@@ -28,6 +33,7 @@ export namespace Group {
|
|
|
28
33
|
export type AsObject = {
|
|
29
34
|
name: string,
|
|
30
35
|
owner: string,
|
|
36
|
+
ownersList: Array<string>,
|
|
31
37
|
displayName: string,
|
|
32
38
|
description: string,
|
|
33
39
|
}
|
|
@@ -35,7 +35,7 @@ goog.exportSymbol('proto.meshtrade.iam.group.v1.Group', null, global);
|
|
|
35
35
|
* @constructor
|
|
36
36
|
*/
|
|
37
37
|
proto.meshtrade.iam.group.v1.Group = function(opt_data) {
|
|
38
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
38
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.meshtrade.iam.group.v1.Group.repeatedFields_, null);
|
|
39
39
|
};
|
|
40
40
|
goog.inherits(proto.meshtrade.iam.group.v1.Group, jspb.Message);
|
|
41
41
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -46,6 +46,13 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
46
46
|
proto.meshtrade.iam.group.v1.Group.displayName = 'proto.meshtrade.iam.group.v1.Group';
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
+
/**
|
|
50
|
+
* List of repeated fields within this message type.
|
|
51
|
+
* @private {!Array<number>}
|
|
52
|
+
* @const
|
|
53
|
+
*/
|
|
54
|
+
proto.meshtrade.iam.group.v1.Group.repeatedFields_ = [3];
|
|
55
|
+
|
|
49
56
|
|
|
50
57
|
|
|
51
58
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -79,6 +86,7 @@ proto.meshtrade.iam.group.v1.Group.toObject = function(includeInstance, msg) {
|
|
|
79
86
|
var f, obj = {
|
|
80
87
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
81
88
|
owner: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
89
|
+
ownersList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
82
90
|
displayName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
83
91
|
description: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
84
92
|
};
|
|
@@ -125,6 +133,10 @@ proto.meshtrade.iam.group.v1.Group.deserializeBinaryFromReader = function(msg, r
|
|
|
125
133
|
var value = /** @type {string} */ (reader.readString());
|
|
126
134
|
msg.setOwner(value);
|
|
127
135
|
break;
|
|
136
|
+
case 3:
|
|
137
|
+
var value = /** @type {string} */ (reader.readString());
|
|
138
|
+
msg.addOwners(value);
|
|
139
|
+
break;
|
|
128
140
|
case 4:
|
|
129
141
|
var value = /** @type {string} */ (reader.readString());
|
|
130
142
|
msg.setDisplayName(value);
|
|
@@ -176,6 +188,13 @@ proto.meshtrade.iam.group.v1.Group.serializeBinaryToWriter = function(message, w
|
|
|
176
188
|
f
|
|
177
189
|
);
|
|
178
190
|
}
|
|
191
|
+
f = message.getOwnersList();
|
|
192
|
+
if (f.length > 0) {
|
|
193
|
+
writer.writeRepeatedString(
|
|
194
|
+
3,
|
|
195
|
+
f
|
|
196
|
+
);
|
|
197
|
+
}
|
|
179
198
|
f = message.getDisplayName();
|
|
180
199
|
if (f.length > 0) {
|
|
181
200
|
writer.writeString(
|
|
@@ -229,6 +248,43 @@ proto.meshtrade.iam.group.v1.Group.prototype.setOwner = function(value) {
|
|
|
229
248
|
};
|
|
230
249
|
|
|
231
250
|
|
|
251
|
+
/**
|
|
252
|
+
* repeated string owners = 3;
|
|
253
|
+
* @return {!Array<string>}
|
|
254
|
+
*/
|
|
255
|
+
proto.meshtrade.iam.group.v1.Group.prototype.getOwnersList = function() {
|
|
256
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
257
|
+
};
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* @param {!Array<string>} value
|
|
262
|
+
* @return {!proto.meshtrade.iam.group.v1.Group} returns this
|
|
263
|
+
*/
|
|
264
|
+
proto.meshtrade.iam.group.v1.Group.prototype.setOwnersList = function(value) {
|
|
265
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
266
|
+
};
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* @param {string} value
|
|
271
|
+
* @param {number=} opt_index
|
|
272
|
+
* @return {!proto.meshtrade.iam.group.v1.Group} returns this
|
|
273
|
+
*/
|
|
274
|
+
proto.meshtrade.iam.group.v1.Group.prototype.addOwners = function(value, opt_index) {
|
|
275
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Clears the list making it empty but non-null.
|
|
281
|
+
* @return {!proto.meshtrade.iam.group.v1.Group} returns this
|
|
282
|
+
*/
|
|
283
|
+
proto.meshtrade.iam.group.v1.Group.prototype.clearOwnersList = function() {
|
|
284
|
+
return this.setOwnersList([]);
|
|
285
|
+
};
|
|
286
|
+
|
|
287
|
+
|
|
232
288
|
/**
|
|
233
289
|
* optional string display_name = 4;
|
|
234
290
|
* @return {string}
|
|
@@ -10,6 +10,11 @@ export class User extends jspb.Message {
|
|
|
10
10
|
getOwner(): string;
|
|
11
11
|
setOwner(value: string): User;
|
|
12
12
|
|
|
13
|
+
getOwnersList(): Array<string>;
|
|
14
|
+
setOwnersList(value: Array<string>): User;
|
|
15
|
+
clearOwnersList(): User;
|
|
16
|
+
addOwners(value: string, index?: number): User;
|
|
17
|
+
|
|
13
18
|
getEmail(): string;
|
|
14
19
|
setEmail(value: string): User;
|
|
15
20
|
|
|
@@ -30,6 +35,7 @@ export namespace User {
|
|
|
30
35
|
export type AsObject = {
|
|
31
36
|
name: string,
|
|
32
37
|
owner: string,
|
|
38
|
+
ownersList: Array<string>,
|
|
33
39
|
email: string,
|
|
34
40
|
rolesList: Array<string>,
|
|
35
41
|
}
|
|
@@ -51,7 +51,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
51
51
|
* @private {!Array<number>}
|
|
52
52
|
* @const
|
|
53
53
|
*/
|
|
54
|
-
proto.meshtrade.iam.user.v1.User.repeatedFields_ = [
|
|
54
|
+
proto.meshtrade.iam.user.v1.User.repeatedFields_ = [3,5];
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
|
|
@@ -86,8 +86,9 @@ proto.meshtrade.iam.user.v1.User.toObject = function(includeInstance, msg) {
|
|
|
86
86
|
var f, obj = {
|
|
87
87
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
88
88
|
owner: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
ownersList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
90
|
+
email: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
91
|
+
rolesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
|
|
91
92
|
};
|
|
92
93
|
|
|
93
94
|
if (includeInstance) {
|
|
@@ -134,9 +135,13 @@ proto.meshtrade.iam.user.v1.User.deserializeBinaryFromReader = function(msg, rea
|
|
|
134
135
|
break;
|
|
135
136
|
case 3:
|
|
136
137
|
var value = /** @type {string} */ (reader.readString());
|
|
137
|
-
msg.
|
|
138
|
+
msg.addOwners(value);
|
|
138
139
|
break;
|
|
139
140
|
case 4:
|
|
141
|
+
var value = /** @type {string} */ (reader.readString());
|
|
142
|
+
msg.setEmail(value);
|
|
143
|
+
break;
|
|
144
|
+
case 5:
|
|
140
145
|
var value = /** @type {string} */ (reader.readString());
|
|
141
146
|
msg.addRoles(value);
|
|
142
147
|
break;
|
|
@@ -183,17 +188,24 @@ proto.meshtrade.iam.user.v1.User.serializeBinaryToWriter = function(message, wri
|
|
|
183
188
|
f
|
|
184
189
|
);
|
|
185
190
|
}
|
|
191
|
+
f = message.getOwnersList();
|
|
192
|
+
if (f.length > 0) {
|
|
193
|
+
writer.writeRepeatedString(
|
|
194
|
+
3,
|
|
195
|
+
f
|
|
196
|
+
);
|
|
197
|
+
}
|
|
186
198
|
f = message.getEmail();
|
|
187
199
|
if (f.length > 0) {
|
|
188
200
|
writer.writeString(
|
|
189
|
-
|
|
201
|
+
4,
|
|
190
202
|
f
|
|
191
203
|
);
|
|
192
204
|
}
|
|
193
205
|
f = message.getRolesList();
|
|
194
206
|
if (f.length > 0) {
|
|
195
207
|
writer.writeRepeatedString(
|
|
196
|
-
|
|
208
|
+
5,
|
|
197
209
|
f
|
|
198
210
|
);
|
|
199
211
|
}
|
|
@@ -237,11 +249,48 @@ proto.meshtrade.iam.user.v1.User.prototype.setOwner = function(value) {
|
|
|
237
249
|
|
|
238
250
|
|
|
239
251
|
/**
|
|
240
|
-
*
|
|
252
|
+
* repeated string owners = 3;
|
|
253
|
+
* @return {!Array<string>}
|
|
254
|
+
*/
|
|
255
|
+
proto.meshtrade.iam.user.v1.User.prototype.getOwnersList = function() {
|
|
256
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
257
|
+
};
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* @param {!Array<string>} value
|
|
262
|
+
* @return {!proto.meshtrade.iam.user.v1.User} returns this
|
|
263
|
+
*/
|
|
264
|
+
proto.meshtrade.iam.user.v1.User.prototype.setOwnersList = function(value) {
|
|
265
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
266
|
+
};
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* @param {string} value
|
|
271
|
+
* @param {number=} opt_index
|
|
272
|
+
* @return {!proto.meshtrade.iam.user.v1.User} returns this
|
|
273
|
+
*/
|
|
274
|
+
proto.meshtrade.iam.user.v1.User.prototype.addOwners = function(value, opt_index) {
|
|
275
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Clears the list making it empty but non-null.
|
|
281
|
+
* @return {!proto.meshtrade.iam.user.v1.User} returns this
|
|
282
|
+
*/
|
|
283
|
+
proto.meshtrade.iam.user.v1.User.prototype.clearOwnersList = function() {
|
|
284
|
+
return this.setOwnersList([]);
|
|
285
|
+
};
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* optional string email = 4;
|
|
241
290
|
* @return {string}
|
|
242
291
|
*/
|
|
243
292
|
proto.meshtrade.iam.user.v1.User.prototype.getEmail = function() {
|
|
244
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
293
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
245
294
|
};
|
|
246
295
|
|
|
247
296
|
|
|
@@ -250,16 +299,16 @@ proto.meshtrade.iam.user.v1.User.prototype.getEmail = function() {
|
|
|
250
299
|
* @return {!proto.meshtrade.iam.user.v1.User} returns this
|
|
251
300
|
*/
|
|
252
301
|
proto.meshtrade.iam.user.v1.User.prototype.setEmail = function(value) {
|
|
253
|
-
return jspb.Message.setProto3StringField(this,
|
|
302
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
254
303
|
};
|
|
255
304
|
|
|
256
305
|
|
|
257
306
|
/**
|
|
258
|
-
* repeated string roles =
|
|
307
|
+
* repeated string roles = 5;
|
|
259
308
|
* @return {!Array<string>}
|
|
260
309
|
*/
|
|
261
310
|
proto.meshtrade.iam.user.v1.User.prototype.getRolesList = function() {
|
|
262
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this,
|
|
311
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
263
312
|
};
|
|
264
313
|
|
|
265
314
|
|
|
@@ -268,7 +317,7 @@ proto.meshtrade.iam.user.v1.User.prototype.getRolesList = function() {
|
|
|
268
317
|
* @return {!proto.meshtrade.iam.user.v1.User} returns this
|
|
269
318
|
*/
|
|
270
319
|
proto.meshtrade.iam.user.v1.User.prototype.setRolesList = function(value) {
|
|
271
|
-
return jspb.Message.setField(this,
|
|
320
|
+
return jspb.Message.setField(this, 5, value || []);
|
|
272
321
|
};
|
|
273
322
|
|
|
274
323
|
|
|
@@ -278,7 +327,7 @@ proto.meshtrade.iam.user.v1.User.prototype.setRolesList = function(value) {
|
|
|
278
327
|
* @return {!proto.meshtrade.iam.user.v1.User} returns this
|
|
279
328
|
*/
|
|
280
329
|
proto.meshtrade.iam.user.v1.User.prototype.addRoles = function(value, opt_index) {
|
|
281
|
-
return jspb.Message.addToRepeatedField(this,
|
|
330
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
282
331
|
};
|
|
283
332
|
|
|
284
333
|
|
|
@@ -11,6 +11,11 @@ export class Instrument extends jspb.Message {
|
|
|
11
11
|
getOwner(): string;
|
|
12
12
|
setOwner(value: string): Instrument;
|
|
13
13
|
|
|
14
|
+
getOwnersList(): Array<string>;
|
|
15
|
+
setOwnersList(value: Array<string>): Instrument;
|
|
16
|
+
clearOwnersList(): Instrument;
|
|
17
|
+
addOwners(value: string, index?: number): Instrument;
|
|
18
|
+
|
|
14
19
|
getDisplayName(): string;
|
|
15
20
|
setDisplayName(value: string): Instrument;
|
|
16
21
|
|
|
@@ -31,6 +36,7 @@ export namespace Instrument {
|
|
|
31
36
|
export type AsObject = {
|
|
32
37
|
name: string,
|
|
33
38
|
owner: string,
|
|
39
|
+
ownersList: Array<string>,
|
|
34
40
|
displayName: string,
|
|
35
41
|
token?: meshtrade_type_v1_token_pb.Token.AsObject,
|
|
36
42
|
}
|
|
@@ -37,7 +37,7 @@ goog.exportSymbol('proto.meshtrade.studio.instrument.v1.Instrument', null, globa
|
|
|
37
37
|
* @constructor
|
|
38
38
|
*/
|
|
39
39
|
proto.meshtrade.studio.instrument.v1.Instrument = function(opt_data) {
|
|
40
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
40
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.meshtrade.studio.instrument.v1.Instrument.repeatedFields_, null);
|
|
41
41
|
};
|
|
42
42
|
goog.inherits(proto.meshtrade.studio.instrument.v1.Instrument, jspb.Message);
|
|
43
43
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -48,6 +48,13 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
48
48
|
proto.meshtrade.studio.instrument.v1.Instrument.displayName = 'proto.meshtrade.studio.instrument.v1.Instrument';
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
+
/**
|
|
52
|
+
* List of repeated fields within this message type.
|
|
53
|
+
* @private {!Array<number>}
|
|
54
|
+
* @const
|
|
55
|
+
*/
|
|
56
|
+
proto.meshtrade.studio.instrument.v1.Instrument.repeatedFields_ = [3];
|
|
57
|
+
|
|
51
58
|
|
|
52
59
|
|
|
53
60
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -81,6 +88,7 @@ proto.meshtrade.studio.instrument.v1.Instrument.toObject = function(includeInsta
|
|
|
81
88
|
var f, obj = {
|
|
82
89
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
83
90
|
owner: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
91
|
+
ownersList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
84
92
|
displayName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
85
93
|
token: (f = msg.getToken()) && meshtrade_type_v1_token_pb.Token.toObject(includeInstance, f)
|
|
86
94
|
};
|
|
@@ -127,6 +135,10 @@ proto.meshtrade.studio.instrument.v1.Instrument.deserializeBinaryFromReader = fu
|
|
|
127
135
|
var value = /** @type {string} */ (reader.readString());
|
|
128
136
|
msg.setOwner(value);
|
|
129
137
|
break;
|
|
138
|
+
case 3:
|
|
139
|
+
var value = /** @type {string} */ (reader.readString());
|
|
140
|
+
msg.addOwners(value);
|
|
141
|
+
break;
|
|
130
142
|
case 4:
|
|
131
143
|
var value = /** @type {string} */ (reader.readString());
|
|
132
144
|
msg.setDisplayName(value);
|
|
@@ -179,6 +191,13 @@ proto.meshtrade.studio.instrument.v1.Instrument.serializeBinaryToWriter = functi
|
|
|
179
191
|
f
|
|
180
192
|
);
|
|
181
193
|
}
|
|
194
|
+
f = message.getOwnersList();
|
|
195
|
+
if (f.length > 0) {
|
|
196
|
+
writer.writeRepeatedString(
|
|
197
|
+
3,
|
|
198
|
+
f
|
|
199
|
+
);
|
|
200
|
+
}
|
|
182
201
|
f = message.getDisplayName();
|
|
183
202
|
if (f.length > 0) {
|
|
184
203
|
writer.writeString(
|
|
@@ -233,6 +252,43 @@ proto.meshtrade.studio.instrument.v1.Instrument.prototype.setOwner = function(va
|
|
|
233
252
|
};
|
|
234
253
|
|
|
235
254
|
|
|
255
|
+
/**
|
|
256
|
+
* repeated string owners = 3;
|
|
257
|
+
* @return {!Array<string>}
|
|
258
|
+
*/
|
|
259
|
+
proto.meshtrade.studio.instrument.v1.Instrument.prototype.getOwnersList = function() {
|
|
260
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
261
|
+
};
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* @param {!Array<string>} value
|
|
266
|
+
* @return {!proto.meshtrade.studio.instrument.v1.Instrument} returns this
|
|
267
|
+
*/
|
|
268
|
+
proto.meshtrade.studio.instrument.v1.Instrument.prototype.setOwnersList = function(value) {
|
|
269
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
270
|
+
};
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* @param {string} value
|
|
275
|
+
* @param {number=} opt_index
|
|
276
|
+
* @return {!proto.meshtrade.studio.instrument.v1.Instrument} returns this
|
|
277
|
+
*/
|
|
278
|
+
proto.meshtrade.studio.instrument.v1.Instrument.prototype.addOwners = function(value, opt_index) {
|
|
279
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* Clears the list making it empty but non-null.
|
|
285
|
+
* @return {!proto.meshtrade.studio.instrument.v1.Instrument} returns this
|
|
286
|
+
*/
|
|
287
|
+
proto.meshtrade.studio.instrument.v1.Instrument.prototype.clearOwnersList = function() {
|
|
288
|
+
return this.setOwnersList([]);
|
|
289
|
+
};
|
|
290
|
+
|
|
291
|
+
|
|
236
292
|
/**
|
|
237
293
|
* optional string display_name = 4;
|
|
238
294
|
* @return {string}
|
|
@@ -11,6 +11,11 @@ export class LimitOrder extends jspb.Message {
|
|
|
11
11
|
getOwner(): string;
|
|
12
12
|
setOwner(value: string): LimitOrder;
|
|
13
13
|
|
|
14
|
+
getOwnersList(): Array<string>;
|
|
15
|
+
setOwnersList(value: Array<string>): LimitOrder;
|
|
16
|
+
clearOwnersList(): LimitOrder;
|
|
17
|
+
addOwners(value: string, index?: number): LimitOrder;
|
|
18
|
+
|
|
14
19
|
getAccount(): string;
|
|
15
20
|
setAccount(value: string): LimitOrder;
|
|
16
21
|
|
|
@@ -55,6 +60,7 @@ export namespace LimitOrder {
|
|
|
55
60
|
export type AsObject = {
|
|
56
61
|
name: string,
|
|
57
62
|
owner: string,
|
|
63
|
+
ownersList: Array<string>,
|
|
58
64
|
account: string,
|
|
59
65
|
externalReference: string,
|
|
60
66
|
side: LimitOrderSide,
|