@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
|
@@ -16,6 +16,11 @@ export class Client extends jspb.Message {
|
|
|
16
16
|
getOwner(): string;
|
|
17
17
|
setOwner(value: string): Client;
|
|
18
18
|
|
|
19
|
+
getOwnersList(): Array<string>;
|
|
20
|
+
setOwnersList(value: Array<string>): Client;
|
|
21
|
+
clearOwnersList(): Client;
|
|
22
|
+
addOwners(value: string, index?: number): Client;
|
|
23
|
+
|
|
19
24
|
getDisplayName(): string;
|
|
20
25
|
setDisplayName(value: string): Client;
|
|
21
26
|
|
|
@@ -69,6 +74,7 @@ export namespace Client {
|
|
|
69
74
|
export type AsObject = {
|
|
70
75
|
name: string,
|
|
71
76
|
owner: string,
|
|
77
|
+
ownersList: Array<string>,
|
|
72
78
|
displayName: string,
|
|
73
79
|
naturalPerson?: meshtrade_compliance_client_v1_natural_person_pb.NaturalPerson.AsObject,
|
|
74
80
|
company?: meshtrade_compliance_client_v1_company_pb.Company.AsObject,
|
|
@@ -82,10 +88,10 @@ export namespace Client {
|
|
|
82
88
|
|
|
83
89
|
export enum LegalPersonCase {
|
|
84
90
|
LEGAL_PERSON_NOT_SET = 0,
|
|
85
|
-
NATURAL_PERSON =
|
|
86
|
-
COMPANY =
|
|
87
|
-
FUND =
|
|
88
|
-
TRUST =
|
|
91
|
+
NATURAL_PERSON = 5,
|
|
92
|
+
COMPANY = 6,
|
|
93
|
+
FUND = 7,
|
|
94
|
+
TRUST = 8,
|
|
89
95
|
}
|
|
90
96
|
}
|
|
91
97
|
|
|
@@ -48,7 +48,7 @@ goog.exportSymbol('proto.meshtrade.compliance.client.v1.Client.LegalPersonCase',
|
|
|
48
48
|
* @constructor
|
|
49
49
|
*/
|
|
50
50
|
proto.meshtrade.compliance.client.v1.Client = function(opt_data) {
|
|
51
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
51
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.meshtrade.compliance.client.v1.Client.repeatedFields_, proto.meshtrade.compliance.client.v1.Client.oneofGroups_);
|
|
52
52
|
};
|
|
53
53
|
goog.inherits(proto.meshtrade.compliance.client.v1.Client, jspb.Message);
|
|
54
54
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -59,6 +59,13 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
59
59
|
proto.meshtrade.compliance.client.v1.Client.displayName = 'proto.meshtrade.compliance.client.v1.Client';
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
+
/**
|
|
63
|
+
* List of repeated fields within this message type.
|
|
64
|
+
* @private {!Array<number>}
|
|
65
|
+
* @const
|
|
66
|
+
*/
|
|
67
|
+
proto.meshtrade.compliance.client.v1.Client.repeatedFields_ = [3];
|
|
68
|
+
|
|
62
69
|
/**
|
|
63
70
|
* Oneof group definitions for this message. Each group defines the field
|
|
64
71
|
* numbers belonging to that group. When of these fields' value is set, all
|
|
@@ -67,17 +74,17 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
67
74
|
* @private {!Array<!Array<number>>}
|
|
68
75
|
* @const
|
|
69
76
|
*/
|
|
70
|
-
proto.meshtrade.compliance.client.v1.Client.oneofGroups_ = [[
|
|
77
|
+
proto.meshtrade.compliance.client.v1.Client.oneofGroups_ = [[5,6,7,8]];
|
|
71
78
|
|
|
72
79
|
/**
|
|
73
80
|
* @enum {number}
|
|
74
81
|
*/
|
|
75
82
|
proto.meshtrade.compliance.client.v1.Client.LegalPersonCase = {
|
|
76
83
|
LEGAL_PERSON_NOT_SET: 0,
|
|
77
|
-
NATURAL_PERSON:
|
|
78
|
-
COMPANY:
|
|
79
|
-
FUND:
|
|
80
|
-
TRUST:
|
|
84
|
+
NATURAL_PERSON: 5,
|
|
85
|
+
COMPANY: 6,
|
|
86
|
+
FUND: 7,
|
|
87
|
+
TRUST: 8
|
|
81
88
|
};
|
|
82
89
|
|
|
83
90
|
/**
|
|
@@ -120,13 +127,14 @@ proto.meshtrade.compliance.client.v1.Client.toObject = function(includeInstance,
|
|
|
120
127
|
var f, obj = {
|
|
121
128
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
122
129
|
owner: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
123
|
-
|
|
130
|
+
ownersList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
131
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
124
132
|
naturalPerson: (f = msg.getNaturalPerson()) && meshtrade_compliance_client_v1_natural_person_pb.NaturalPerson.toObject(includeInstance, f),
|
|
125
133
|
company: (f = msg.getCompany()) && meshtrade_compliance_client_v1_company_pb.Company.toObject(includeInstance, f),
|
|
126
134
|
fund: (f = msg.getFund()) && meshtrade_compliance_client_v1_fund_pb.Fund.toObject(includeInstance, f),
|
|
127
135
|
trust: (f = msg.getTrust()) && meshtrade_compliance_client_v1_trust_pb.Trust.toObject(includeInstance, f),
|
|
128
|
-
verificationStatus: jspb.Message.getFieldWithDefault(msg,
|
|
129
|
-
verificationAuthority: jspb.Message.getFieldWithDefault(msg,
|
|
136
|
+
verificationStatus: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
137
|
+
verificationAuthority: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
130
138
|
verificationDate: (f = msg.getVerificationDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
131
139
|
nextVerificationDate: (f = msg.getNextVerificationDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
132
140
|
};
|
|
@@ -175,42 +183,46 @@ proto.meshtrade.compliance.client.v1.Client.deserializeBinaryFromReader = functi
|
|
|
175
183
|
break;
|
|
176
184
|
case 3:
|
|
177
185
|
var value = /** @type {string} */ (reader.readString());
|
|
178
|
-
msg.
|
|
186
|
+
msg.addOwners(value);
|
|
179
187
|
break;
|
|
180
188
|
case 4:
|
|
189
|
+
var value = /** @type {string} */ (reader.readString());
|
|
190
|
+
msg.setDisplayName(value);
|
|
191
|
+
break;
|
|
192
|
+
case 5:
|
|
181
193
|
var value = new meshtrade_compliance_client_v1_natural_person_pb.NaturalPerson;
|
|
182
194
|
reader.readMessage(value,meshtrade_compliance_client_v1_natural_person_pb.NaturalPerson.deserializeBinaryFromReader);
|
|
183
195
|
msg.setNaturalPerson(value);
|
|
184
196
|
break;
|
|
185
|
-
case
|
|
197
|
+
case 6:
|
|
186
198
|
var value = new meshtrade_compliance_client_v1_company_pb.Company;
|
|
187
199
|
reader.readMessage(value,meshtrade_compliance_client_v1_company_pb.Company.deserializeBinaryFromReader);
|
|
188
200
|
msg.setCompany(value);
|
|
189
201
|
break;
|
|
190
|
-
case
|
|
202
|
+
case 7:
|
|
191
203
|
var value = new meshtrade_compliance_client_v1_fund_pb.Fund;
|
|
192
204
|
reader.readMessage(value,meshtrade_compliance_client_v1_fund_pb.Fund.deserializeBinaryFromReader);
|
|
193
205
|
msg.setFund(value);
|
|
194
206
|
break;
|
|
195
|
-
case
|
|
207
|
+
case 8:
|
|
196
208
|
var value = new meshtrade_compliance_client_v1_trust_pb.Trust;
|
|
197
209
|
reader.readMessage(value,meshtrade_compliance_client_v1_trust_pb.Trust.deserializeBinaryFromReader);
|
|
198
210
|
msg.setTrust(value);
|
|
199
211
|
break;
|
|
200
|
-
case
|
|
212
|
+
case 9:
|
|
201
213
|
var value = /** @type {!proto.meshtrade.compliance.client.v1.VerificationStatus} */ (reader.readEnum());
|
|
202
214
|
msg.setVerificationStatus(value);
|
|
203
215
|
break;
|
|
204
|
-
case
|
|
216
|
+
case 10:
|
|
205
217
|
var value = /** @type {string} */ (reader.readString());
|
|
206
218
|
msg.setVerificationAuthority(value);
|
|
207
219
|
break;
|
|
208
|
-
case
|
|
220
|
+
case 11:
|
|
209
221
|
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
210
222
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
211
223
|
msg.setVerificationDate(value);
|
|
212
224
|
break;
|
|
213
|
-
case
|
|
225
|
+
case 12:
|
|
214
226
|
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
215
227
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
216
228
|
msg.setNextVerificationDate(value);
|
|
@@ -258,17 +270,24 @@ proto.meshtrade.compliance.client.v1.Client.serializeBinaryToWriter = function(m
|
|
|
258
270
|
f
|
|
259
271
|
);
|
|
260
272
|
}
|
|
273
|
+
f = message.getOwnersList();
|
|
274
|
+
if (f.length > 0) {
|
|
275
|
+
writer.writeRepeatedString(
|
|
276
|
+
3,
|
|
277
|
+
f
|
|
278
|
+
);
|
|
279
|
+
}
|
|
261
280
|
f = message.getDisplayName();
|
|
262
281
|
if (f.length > 0) {
|
|
263
282
|
writer.writeString(
|
|
264
|
-
|
|
283
|
+
4,
|
|
265
284
|
f
|
|
266
285
|
);
|
|
267
286
|
}
|
|
268
287
|
f = message.getNaturalPerson();
|
|
269
288
|
if (f != null) {
|
|
270
289
|
writer.writeMessage(
|
|
271
|
-
|
|
290
|
+
5,
|
|
272
291
|
f,
|
|
273
292
|
meshtrade_compliance_client_v1_natural_person_pb.NaturalPerson.serializeBinaryToWriter
|
|
274
293
|
);
|
|
@@ -276,7 +295,7 @@ proto.meshtrade.compliance.client.v1.Client.serializeBinaryToWriter = function(m
|
|
|
276
295
|
f = message.getCompany();
|
|
277
296
|
if (f != null) {
|
|
278
297
|
writer.writeMessage(
|
|
279
|
-
|
|
298
|
+
6,
|
|
280
299
|
f,
|
|
281
300
|
meshtrade_compliance_client_v1_company_pb.Company.serializeBinaryToWriter
|
|
282
301
|
);
|
|
@@ -284,7 +303,7 @@ proto.meshtrade.compliance.client.v1.Client.serializeBinaryToWriter = function(m
|
|
|
284
303
|
f = message.getFund();
|
|
285
304
|
if (f != null) {
|
|
286
305
|
writer.writeMessage(
|
|
287
|
-
|
|
306
|
+
7,
|
|
288
307
|
f,
|
|
289
308
|
meshtrade_compliance_client_v1_fund_pb.Fund.serializeBinaryToWriter
|
|
290
309
|
);
|
|
@@ -292,7 +311,7 @@ proto.meshtrade.compliance.client.v1.Client.serializeBinaryToWriter = function(m
|
|
|
292
311
|
f = message.getTrust();
|
|
293
312
|
if (f != null) {
|
|
294
313
|
writer.writeMessage(
|
|
295
|
-
|
|
314
|
+
8,
|
|
296
315
|
f,
|
|
297
316
|
meshtrade_compliance_client_v1_trust_pb.Trust.serializeBinaryToWriter
|
|
298
317
|
);
|
|
@@ -300,21 +319,21 @@ proto.meshtrade.compliance.client.v1.Client.serializeBinaryToWriter = function(m
|
|
|
300
319
|
f = message.getVerificationStatus();
|
|
301
320
|
if (f !== 0.0) {
|
|
302
321
|
writer.writeEnum(
|
|
303
|
-
|
|
322
|
+
9,
|
|
304
323
|
f
|
|
305
324
|
);
|
|
306
325
|
}
|
|
307
326
|
f = message.getVerificationAuthority();
|
|
308
327
|
if (f.length > 0) {
|
|
309
328
|
writer.writeString(
|
|
310
|
-
|
|
329
|
+
10,
|
|
311
330
|
f
|
|
312
331
|
);
|
|
313
332
|
}
|
|
314
333
|
f = message.getVerificationDate();
|
|
315
334
|
if (f != null) {
|
|
316
335
|
writer.writeMessage(
|
|
317
|
-
|
|
336
|
+
11,
|
|
318
337
|
f,
|
|
319
338
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
320
339
|
);
|
|
@@ -322,7 +341,7 @@ proto.meshtrade.compliance.client.v1.Client.serializeBinaryToWriter = function(m
|
|
|
322
341
|
f = message.getNextVerificationDate();
|
|
323
342
|
if (f != null) {
|
|
324
343
|
writer.writeMessage(
|
|
325
|
-
|
|
344
|
+
12,
|
|
326
345
|
f,
|
|
327
346
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
328
347
|
);
|
|
@@ -367,11 +386,48 @@ proto.meshtrade.compliance.client.v1.Client.prototype.setOwner = function(value)
|
|
|
367
386
|
|
|
368
387
|
|
|
369
388
|
/**
|
|
370
|
-
*
|
|
389
|
+
* repeated string owners = 3;
|
|
390
|
+
* @return {!Array<string>}
|
|
391
|
+
*/
|
|
392
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.getOwnersList = function() {
|
|
393
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
394
|
+
};
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* @param {!Array<string>} value
|
|
399
|
+
* @return {!proto.meshtrade.compliance.client.v1.Client} returns this
|
|
400
|
+
*/
|
|
401
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.setOwnersList = function(value) {
|
|
402
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
403
|
+
};
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* @param {string} value
|
|
408
|
+
* @param {number=} opt_index
|
|
409
|
+
* @return {!proto.meshtrade.compliance.client.v1.Client} returns this
|
|
410
|
+
*/
|
|
411
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.addOwners = function(value, opt_index) {
|
|
412
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
413
|
+
};
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* Clears the list making it empty but non-null.
|
|
418
|
+
* @return {!proto.meshtrade.compliance.client.v1.Client} returns this
|
|
419
|
+
*/
|
|
420
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.clearOwnersList = function() {
|
|
421
|
+
return this.setOwnersList([]);
|
|
422
|
+
};
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
/**
|
|
426
|
+
* optional string display_name = 4;
|
|
371
427
|
* @return {string}
|
|
372
428
|
*/
|
|
373
429
|
proto.meshtrade.compliance.client.v1.Client.prototype.getDisplayName = function() {
|
|
374
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
430
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
375
431
|
};
|
|
376
432
|
|
|
377
433
|
|
|
@@ -380,17 +436,17 @@ proto.meshtrade.compliance.client.v1.Client.prototype.getDisplayName = function(
|
|
|
380
436
|
* @return {!proto.meshtrade.compliance.client.v1.Client} returns this
|
|
381
437
|
*/
|
|
382
438
|
proto.meshtrade.compliance.client.v1.Client.prototype.setDisplayName = function(value) {
|
|
383
|
-
return jspb.Message.setProto3StringField(this,
|
|
439
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
384
440
|
};
|
|
385
441
|
|
|
386
442
|
|
|
387
443
|
/**
|
|
388
|
-
* optional NaturalPerson natural_person =
|
|
444
|
+
* optional NaturalPerson natural_person = 5;
|
|
389
445
|
* @return {?proto.meshtrade.compliance.client.v1.NaturalPerson}
|
|
390
446
|
*/
|
|
391
447
|
proto.meshtrade.compliance.client.v1.Client.prototype.getNaturalPerson = function() {
|
|
392
448
|
return /** @type{?proto.meshtrade.compliance.client.v1.NaturalPerson} */ (
|
|
393
|
-
jspb.Message.getWrapperField(this, meshtrade_compliance_client_v1_natural_person_pb.NaturalPerson,
|
|
449
|
+
jspb.Message.getWrapperField(this, meshtrade_compliance_client_v1_natural_person_pb.NaturalPerson, 5));
|
|
394
450
|
};
|
|
395
451
|
|
|
396
452
|
|
|
@@ -399,7 +455,7 @@ proto.meshtrade.compliance.client.v1.Client.prototype.getNaturalPerson = functio
|
|
|
399
455
|
* @return {!proto.meshtrade.compliance.client.v1.Client} returns this
|
|
400
456
|
*/
|
|
401
457
|
proto.meshtrade.compliance.client.v1.Client.prototype.setNaturalPerson = function(value) {
|
|
402
|
-
return jspb.Message.setOneofWrapperField(this,
|
|
458
|
+
return jspb.Message.setOneofWrapperField(this, 5, proto.meshtrade.compliance.client.v1.Client.oneofGroups_[0], value);
|
|
403
459
|
};
|
|
404
460
|
|
|
405
461
|
|
|
@@ -417,17 +473,17 @@ proto.meshtrade.compliance.client.v1.Client.prototype.clearNaturalPerson = funct
|
|
|
417
473
|
* @return {boolean}
|
|
418
474
|
*/
|
|
419
475
|
proto.meshtrade.compliance.client.v1.Client.prototype.hasNaturalPerson = function() {
|
|
420
|
-
return jspb.Message.getField(this,
|
|
476
|
+
return jspb.Message.getField(this, 5) != null;
|
|
421
477
|
};
|
|
422
478
|
|
|
423
479
|
|
|
424
480
|
/**
|
|
425
|
-
* optional Company company =
|
|
481
|
+
* optional Company company = 6;
|
|
426
482
|
* @return {?proto.meshtrade.compliance.client.v1.Company}
|
|
427
483
|
*/
|
|
428
484
|
proto.meshtrade.compliance.client.v1.Client.prototype.getCompany = function() {
|
|
429
485
|
return /** @type{?proto.meshtrade.compliance.client.v1.Company} */ (
|
|
430
|
-
jspb.Message.getWrapperField(this, meshtrade_compliance_client_v1_company_pb.Company,
|
|
486
|
+
jspb.Message.getWrapperField(this, meshtrade_compliance_client_v1_company_pb.Company, 6));
|
|
431
487
|
};
|
|
432
488
|
|
|
433
489
|
|
|
@@ -436,7 +492,7 @@ proto.meshtrade.compliance.client.v1.Client.prototype.getCompany = function() {
|
|
|
436
492
|
* @return {!proto.meshtrade.compliance.client.v1.Client} returns this
|
|
437
493
|
*/
|
|
438
494
|
proto.meshtrade.compliance.client.v1.Client.prototype.setCompany = function(value) {
|
|
439
|
-
return jspb.Message.setOneofWrapperField(this,
|
|
495
|
+
return jspb.Message.setOneofWrapperField(this, 6, proto.meshtrade.compliance.client.v1.Client.oneofGroups_[0], value);
|
|
440
496
|
};
|
|
441
497
|
|
|
442
498
|
|
|
@@ -454,17 +510,17 @@ proto.meshtrade.compliance.client.v1.Client.prototype.clearCompany = function()
|
|
|
454
510
|
* @return {boolean}
|
|
455
511
|
*/
|
|
456
512
|
proto.meshtrade.compliance.client.v1.Client.prototype.hasCompany = function() {
|
|
457
|
-
return jspb.Message.getField(this,
|
|
513
|
+
return jspb.Message.getField(this, 6) != null;
|
|
458
514
|
};
|
|
459
515
|
|
|
460
516
|
|
|
461
517
|
/**
|
|
462
|
-
* optional Fund fund =
|
|
518
|
+
* optional Fund fund = 7;
|
|
463
519
|
* @return {?proto.meshtrade.compliance.client.v1.Fund}
|
|
464
520
|
*/
|
|
465
521
|
proto.meshtrade.compliance.client.v1.Client.prototype.getFund = function() {
|
|
466
522
|
return /** @type{?proto.meshtrade.compliance.client.v1.Fund} */ (
|
|
467
|
-
jspb.Message.getWrapperField(this, meshtrade_compliance_client_v1_fund_pb.Fund,
|
|
523
|
+
jspb.Message.getWrapperField(this, meshtrade_compliance_client_v1_fund_pb.Fund, 7));
|
|
468
524
|
};
|
|
469
525
|
|
|
470
526
|
|
|
@@ -473,7 +529,7 @@ proto.meshtrade.compliance.client.v1.Client.prototype.getFund = function() {
|
|
|
473
529
|
* @return {!proto.meshtrade.compliance.client.v1.Client} returns this
|
|
474
530
|
*/
|
|
475
531
|
proto.meshtrade.compliance.client.v1.Client.prototype.setFund = function(value) {
|
|
476
|
-
return jspb.Message.setOneofWrapperField(this,
|
|
532
|
+
return jspb.Message.setOneofWrapperField(this, 7, proto.meshtrade.compliance.client.v1.Client.oneofGroups_[0], value);
|
|
477
533
|
};
|
|
478
534
|
|
|
479
535
|
|
|
@@ -491,17 +547,17 @@ proto.meshtrade.compliance.client.v1.Client.prototype.clearFund = function() {
|
|
|
491
547
|
* @return {boolean}
|
|
492
548
|
*/
|
|
493
549
|
proto.meshtrade.compliance.client.v1.Client.prototype.hasFund = function() {
|
|
494
|
-
return jspb.Message.getField(this,
|
|
550
|
+
return jspb.Message.getField(this, 7) != null;
|
|
495
551
|
};
|
|
496
552
|
|
|
497
553
|
|
|
498
554
|
/**
|
|
499
|
-
* optional Trust trust =
|
|
555
|
+
* optional Trust trust = 8;
|
|
500
556
|
* @return {?proto.meshtrade.compliance.client.v1.Trust}
|
|
501
557
|
*/
|
|
502
558
|
proto.meshtrade.compliance.client.v1.Client.prototype.getTrust = function() {
|
|
503
559
|
return /** @type{?proto.meshtrade.compliance.client.v1.Trust} */ (
|
|
504
|
-
jspb.Message.getWrapperField(this, meshtrade_compliance_client_v1_trust_pb.Trust,
|
|
560
|
+
jspb.Message.getWrapperField(this, meshtrade_compliance_client_v1_trust_pb.Trust, 8));
|
|
505
561
|
};
|
|
506
562
|
|
|
507
563
|
|
|
@@ -510,7 +566,7 @@ proto.meshtrade.compliance.client.v1.Client.prototype.getTrust = function() {
|
|
|
510
566
|
* @return {!proto.meshtrade.compliance.client.v1.Client} returns this
|
|
511
567
|
*/
|
|
512
568
|
proto.meshtrade.compliance.client.v1.Client.prototype.setTrust = function(value) {
|
|
513
|
-
return jspb.Message.setOneofWrapperField(this,
|
|
569
|
+
return jspb.Message.setOneofWrapperField(this, 8, proto.meshtrade.compliance.client.v1.Client.oneofGroups_[0], value);
|
|
514
570
|
};
|
|
515
571
|
|
|
516
572
|
|
|
@@ -528,16 +584,16 @@ proto.meshtrade.compliance.client.v1.Client.prototype.clearTrust = function() {
|
|
|
528
584
|
* @return {boolean}
|
|
529
585
|
*/
|
|
530
586
|
proto.meshtrade.compliance.client.v1.Client.prototype.hasTrust = function() {
|
|
531
|
-
return jspb.Message.getField(this,
|
|
587
|
+
return jspb.Message.getField(this, 8) != null;
|
|
532
588
|
};
|
|
533
589
|
|
|
534
590
|
|
|
535
591
|
/**
|
|
536
|
-
* optional VerificationStatus verification_status =
|
|
592
|
+
* optional VerificationStatus verification_status = 9;
|
|
537
593
|
* @return {!proto.meshtrade.compliance.client.v1.VerificationStatus}
|
|
538
594
|
*/
|
|
539
595
|
proto.meshtrade.compliance.client.v1.Client.prototype.getVerificationStatus = function() {
|
|
540
|
-
return /** @type {!proto.meshtrade.compliance.client.v1.VerificationStatus} */ (jspb.Message.getFieldWithDefault(this,
|
|
596
|
+
return /** @type {!proto.meshtrade.compliance.client.v1.VerificationStatus} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
541
597
|
};
|
|
542
598
|
|
|
543
599
|
|
|
@@ -546,16 +602,16 @@ proto.meshtrade.compliance.client.v1.Client.prototype.getVerificationStatus = fu
|
|
|
546
602
|
* @return {!proto.meshtrade.compliance.client.v1.Client} returns this
|
|
547
603
|
*/
|
|
548
604
|
proto.meshtrade.compliance.client.v1.Client.prototype.setVerificationStatus = function(value) {
|
|
549
|
-
return jspb.Message.setProto3EnumField(this,
|
|
605
|
+
return jspb.Message.setProto3EnumField(this, 9, value);
|
|
550
606
|
};
|
|
551
607
|
|
|
552
608
|
|
|
553
609
|
/**
|
|
554
|
-
* optional string verification_authority =
|
|
610
|
+
* optional string verification_authority = 10;
|
|
555
611
|
* @return {string}
|
|
556
612
|
*/
|
|
557
613
|
proto.meshtrade.compliance.client.v1.Client.prototype.getVerificationAuthority = function() {
|
|
558
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
614
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
559
615
|
};
|
|
560
616
|
|
|
561
617
|
|
|
@@ -564,17 +620,17 @@ proto.meshtrade.compliance.client.v1.Client.prototype.getVerificationAuthority =
|
|
|
564
620
|
* @return {!proto.meshtrade.compliance.client.v1.Client} returns this
|
|
565
621
|
*/
|
|
566
622
|
proto.meshtrade.compliance.client.v1.Client.prototype.setVerificationAuthority = function(value) {
|
|
567
|
-
return jspb.Message.setProto3StringField(this,
|
|
623
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
568
624
|
};
|
|
569
625
|
|
|
570
626
|
|
|
571
627
|
/**
|
|
572
|
-
* optional google.protobuf.Timestamp verification_date =
|
|
628
|
+
* optional google.protobuf.Timestamp verification_date = 11;
|
|
573
629
|
* @return {?proto.google.protobuf.Timestamp}
|
|
574
630
|
*/
|
|
575
631
|
proto.meshtrade.compliance.client.v1.Client.prototype.getVerificationDate = function() {
|
|
576
632
|
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
577
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp,
|
|
633
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 11));
|
|
578
634
|
};
|
|
579
635
|
|
|
580
636
|
|
|
@@ -583,7 +639,7 @@ proto.meshtrade.compliance.client.v1.Client.prototype.getVerificationDate = func
|
|
|
583
639
|
* @return {!proto.meshtrade.compliance.client.v1.Client} returns this
|
|
584
640
|
*/
|
|
585
641
|
proto.meshtrade.compliance.client.v1.Client.prototype.setVerificationDate = function(value) {
|
|
586
|
-
return jspb.Message.setWrapperField(this,
|
|
642
|
+
return jspb.Message.setWrapperField(this, 11, value);
|
|
587
643
|
};
|
|
588
644
|
|
|
589
645
|
|
|
@@ -601,17 +657,17 @@ proto.meshtrade.compliance.client.v1.Client.prototype.clearVerificationDate = fu
|
|
|
601
657
|
* @return {boolean}
|
|
602
658
|
*/
|
|
603
659
|
proto.meshtrade.compliance.client.v1.Client.prototype.hasVerificationDate = function() {
|
|
604
|
-
return jspb.Message.getField(this,
|
|
660
|
+
return jspb.Message.getField(this, 11) != null;
|
|
605
661
|
};
|
|
606
662
|
|
|
607
663
|
|
|
608
664
|
/**
|
|
609
|
-
* optional google.protobuf.Timestamp next_verification_date =
|
|
665
|
+
* optional google.protobuf.Timestamp next_verification_date = 12;
|
|
610
666
|
* @return {?proto.google.protobuf.Timestamp}
|
|
611
667
|
*/
|
|
612
668
|
proto.meshtrade.compliance.client.v1.Client.prototype.getNextVerificationDate = function() {
|
|
613
669
|
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
614
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp,
|
|
670
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 12));
|
|
615
671
|
};
|
|
616
672
|
|
|
617
673
|
|
|
@@ -620,7 +676,7 @@ proto.meshtrade.compliance.client.v1.Client.prototype.getNextVerificationDate =
|
|
|
620
676
|
* @return {!proto.meshtrade.compliance.client.v1.Client} returns this
|
|
621
677
|
*/
|
|
622
678
|
proto.meshtrade.compliance.client.v1.Client.prototype.setNextVerificationDate = function(value) {
|
|
623
|
-
return jspb.Message.setWrapperField(this,
|
|
679
|
+
return jspb.Message.setWrapperField(this, 12, value);
|
|
624
680
|
};
|
|
625
681
|
|
|
626
682
|
|
|
@@ -638,7 +694,7 @@ proto.meshtrade.compliance.client.v1.Client.prototype.clearNextVerificationDate
|
|
|
638
694
|
* @return {boolean}
|
|
639
695
|
*/
|
|
640
696
|
proto.meshtrade.compliance.client.v1.Client.prototype.hasNextVerificationDate = function() {
|
|
641
|
-
return jspb.Message.getField(this,
|
|
697
|
+
return jspb.Message.getField(this, 12) != null;
|
|
642
698
|
};
|
|
643
699
|
|
|
644
700
|
|
|
@@ -10,6 +10,11 @@ export class APIUser extends jspb.Message {
|
|
|
10
10
|
getOwner(): string;
|
|
11
11
|
setOwner(value: string): APIUser;
|
|
12
12
|
|
|
13
|
+
getOwnersList(): Array<string>;
|
|
14
|
+
setOwnersList(value: Array<string>): APIUser;
|
|
15
|
+
clearOwnersList(): APIUser;
|
|
16
|
+
addOwners(value: string, index?: number): APIUser;
|
|
17
|
+
|
|
13
18
|
getDisplayName(): string;
|
|
14
19
|
setDisplayName(value: string): APIUser;
|
|
15
20
|
|
|
@@ -36,6 +41,7 @@ export namespace APIUser {
|
|
|
36
41
|
export type AsObject = {
|
|
37
42
|
name: string,
|
|
38
43
|
owner: string,
|
|
44
|
+
ownersList: Array<string>,
|
|
39
45
|
displayName: string,
|
|
40
46
|
state: APIUserState,
|
|
41
47
|
rolesList: Array<string>,
|