@meshtrade/api-old 1.56.0 → 1.58.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.
Files changed (27) hide show
  1. package/dist/meshtrade/compliance/client/v1/client_pb.d.ts +41 -4
  2. package/dist/meshtrade/compliance/client/v1/client_pb.js +338 -54
  3. package/dist/meshtrade/compliance/client/v1/client_status_pb.d.ts +10 -0
  4. package/dist/meshtrade/compliance/client/v1/client_status_pb.js +35 -0
  5. package/dist/meshtrade/compliance/client/v1/company_pb.d.ts +24 -3
  6. package/dist/meshtrade/compliance/client/v1/company_pb.js +157 -16
  7. package/dist/meshtrade/compliance/client/v1/fund_pb.d.ts +6 -3
  8. package/dist/meshtrade/compliance/client/v1/fund_pb.js +46 -14
  9. package/dist/meshtrade/compliance/client/v1/index.d.ts +1 -0
  10. package/dist/meshtrade/compliance/client/v1/index.js +1 -0
  11. package/dist/meshtrade/compliance/client/v1/industry_classification_pb.d.ts +1 -0
  12. package/dist/meshtrade/compliance/client/v1/industry_classification_pb.js +2 -0
  13. package/dist/meshtrade/compliance/client/v1/service_grpc_web_client_meshts.d.ts +25 -1
  14. package/dist/meshtrade/compliance/client/v1/service_grpc_web_client_meshts.js +32 -0
  15. package/dist/meshtrade/compliance/client/v1/service_grpc_web_pb.d.ts +48 -0
  16. package/dist/meshtrade/compliance/client/v1/service_grpc_web_pb.js +246 -0
  17. package/dist/meshtrade/compliance/client/v1/service_pb.d.ts +87 -0
  18. package/dist/meshtrade/compliance/client/v1/service_pb.js +738 -0
  19. package/dist/meshtrade/compliance/client/v1/trust_pb.d.ts +6 -3
  20. package/dist/meshtrade/compliance/client/v1/trust_pb.js +46 -14
  21. package/dist/meshtrade/iam/user_profile/v1/service_grpc_web_client_meshts.d.ts +7 -1
  22. package/dist/meshtrade/iam/user_profile/v1/service_grpc_web_client_meshts.js +8 -0
  23. package/dist/meshtrade/iam/user_profile/v1/service_grpc_web_pb.d.ts +12 -0
  24. package/dist/meshtrade/iam/user_profile/v1/service_grpc_web_pb.js +61 -0
  25. package/dist/meshtrade/iam/user_profile/v1/service_pb.d.ts +48 -0
  26. package/dist/meshtrade/iam/user_profile/v1/service_pb.js +420 -0
  27. package/package.json +1 -1
@@ -33,6 +33,8 @@ var meshtrade_compliance_client_v1_natural_person_pb = require('../../../../mesh
33
33
  goog.object.extend(proto, meshtrade_compliance_client_v1_natural_person_pb);
34
34
  var meshtrade_compliance_client_v1_trust_pb = require('../../../../meshtrade/compliance/client/v1/trust_pb.js');
35
35
  goog.object.extend(proto, meshtrade_compliance_client_v1_trust_pb);
36
+ var meshtrade_compliance_client_v1_client_status_pb = require('../../../../meshtrade/compliance/client/v1/client_status_pb.js');
37
+ goog.object.extend(proto, meshtrade_compliance_client_v1_client_status_pb);
36
38
  var meshtrade_compliance_client_v1_verification_status_pb = require('../../../../meshtrade/compliance/client/v1/verification_status_pb.js');
37
39
  goog.object.extend(proto, meshtrade_compliance_client_v1_verification_status_pb);
38
40
  goog.exportSymbol('proto.meshtrade.compliance.client.v1.Client', null, global);
@@ -64,7 +66,7 @@ if (goog.DEBUG && !COMPILED) {
64
66
  * @private {!Array<number>}
65
67
  * @const
66
68
  */
67
- proto.meshtrade.compliance.client.v1.Client.repeatedFields_ = [3];
69
+ proto.meshtrade.compliance.client.v1.Client.repeatedFields_ = [3,20];
68
70
 
69
71
  /**
70
72
  * Oneof group definitions for this message. Each group defines the field
@@ -74,17 +76,17 @@ proto.meshtrade.compliance.client.v1.Client.repeatedFields_ = [3];
74
76
  * @private {!Array<!Array<number>>}
75
77
  * @const
76
78
  */
77
- proto.meshtrade.compliance.client.v1.Client.oneofGroups_ = [[5,6,7,8]];
79
+ proto.meshtrade.compliance.client.v1.Client.oneofGroups_ = [[6,7,8,9]];
78
80
 
79
81
  /**
80
82
  * @enum {number}
81
83
  */
82
84
  proto.meshtrade.compliance.client.v1.Client.LegalPersonCase = {
83
85
  LEGAL_PERSON_NOT_SET: 0,
84
- NATURAL_PERSON: 5,
85
- COMPANY: 6,
86
- FUND: 7,
87
- TRUST: 8
86
+ NATURAL_PERSON: 6,
87
+ COMPANY: 7,
88
+ FUND: 8,
89
+ TRUST: 9
88
90
  };
89
91
 
90
92
  /**
@@ -129,14 +131,22 @@ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
129
131
  owner: jspb.Message.getFieldWithDefault(msg, 2, ""),
130
132
  ownersList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
131
133
  displayName: jspb.Message.getFieldWithDefault(msg, 4, ""),
134
+ shortName: jspb.Message.getFieldWithDefault(msg, 5, ""),
132
135
  naturalPerson: (f = msg.getNaturalPerson()) && meshtrade_compliance_client_v1_natural_person_pb.NaturalPerson.toObject(includeInstance, f),
133
136
  company: (f = msg.getCompany()) && meshtrade_compliance_client_v1_company_pb.Company.toObject(includeInstance, f),
134
137
  fund: (f = msg.getFund()) && meshtrade_compliance_client_v1_fund_pb.Fund.toObject(includeInstance, f),
135
138
  trust: (f = msg.getTrust()) && meshtrade_compliance_client_v1_trust_pb.Trust.toObject(includeInstance, f),
136
- verificationStatus: jspb.Message.getFieldWithDefault(msg, 9, 0),
137
- verificationAuthority: jspb.Message.getFieldWithDefault(msg, 10, ""),
139
+ verificationStatus: jspb.Message.getFieldWithDefault(msg, 10, 0),
140
+ verificationAuthority: jspb.Message.getFieldWithDefault(msg, 11, ""),
141
+ verificationAuthorityDisplayName: jspb.Message.getFieldWithDefault(msg, 12, ""),
138
142
  verificationDate: (f = msg.getVerificationDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
139
- nextVerificationDate: (f = msg.getNextVerificationDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
143
+ nextVerificationDate: (f = msg.getNextVerificationDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
144
+ creationDate: (f = msg.getCreationDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
145
+ status: jspb.Message.getFieldWithDefault(msg, 16, 0),
146
+ verificationStatusReason: jspb.Message.getFieldWithDefault(msg, 17, ""),
147
+ description: jspb.Message.getFieldWithDefault(msg, 18, ""),
148
+ paasAgreementVersion: jspb.Message.getFieldWithDefault(msg, 19, ""),
149
+ rolesList: (f = jspb.Message.getRepeatedField(msg, 20)) == null ? undefined : f
140
150
  };
141
151
 
142
152
  if (includeInstance) {
@@ -190,43 +200,78 @@ proto.meshtrade.compliance.client.v1.Client.deserializeBinaryFromReader = functi
190
200
  msg.setDisplayName(value);
191
201
  break;
192
202
  case 5:
203
+ var value = /** @type {string} */ (reader.readString());
204
+ msg.setShortName(value);
205
+ break;
206
+ case 6:
193
207
  var value = new meshtrade_compliance_client_v1_natural_person_pb.NaturalPerson;
194
208
  reader.readMessage(value,meshtrade_compliance_client_v1_natural_person_pb.NaturalPerson.deserializeBinaryFromReader);
195
209
  msg.setNaturalPerson(value);
196
210
  break;
197
- case 6:
211
+ case 7:
198
212
  var value = new meshtrade_compliance_client_v1_company_pb.Company;
199
213
  reader.readMessage(value,meshtrade_compliance_client_v1_company_pb.Company.deserializeBinaryFromReader);
200
214
  msg.setCompany(value);
201
215
  break;
202
- case 7:
216
+ case 8:
203
217
  var value = new meshtrade_compliance_client_v1_fund_pb.Fund;
204
218
  reader.readMessage(value,meshtrade_compliance_client_v1_fund_pb.Fund.deserializeBinaryFromReader);
205
219
  msg.setFund(value);
206
220
  break;
207
- case 8:
221
+ case 9:
208
222
  var value = new meshtrade_compliance_client_v1_trust_pb.Trust;
209
223
  reader.readMessage(value,meshtrade_compliance_client_v1_trust_pb.Trust.deserializeBinaryFromReader);
210
224
  msg.setTrust(value);
211
225
  break;
212
- case 9:
226
+ case 10:
213
227
  var value = /** @type {!proto.meshtrade.compliance.client.v1.VerificationStatus} */ (reader.readEnum());
214
228
  msg.setVerificationStatus(value);
215
229
  break;
216
- case 10:
230
+ case 11:
217
231
  var value = /** @type {string} */ (reader.readString());
218
232
  msg.setVerificationAuthority(value);
219
233
  break;
220
- case 11:
234
+ case 12:
235
+ var value = /** @type {string} */ (reader.readString());
236
+ msg.setVerificationAuthorityDisplayName(value);
237
+ break;
238
+ case 13:
221
239
  var value = new google_protobuf_timestamp_pb.Timestamp;
222
240
  reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
223
241
  msg.setVerificationDate(value);
224
242
  break;
225
- case 12:
243
+ case 14:
226
244
  var value = new google_protobuf_timestamp_pb.Timestamp;
227
245
  reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
228
246
  msg.setNextVerificationDate(value);
229
247
  break;
248
+ case 15:
249
+ var value = new google_protobuf_timestamp_pb.Timestamp;
250
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
251
+ msg.setCreationDate(value);
252
+ break;
253
+ case 16:
254
+ var value = /** @type {!proto.meshtrade.compliance.client.v1.ClientStatus} */ (reader.readEnum());
255
+ msg.setStatus(value);
256
+ break;
257
+ case 17:
258
+ var value = /** @type {string} */ (reader.readString());
259
+ msg.setVerificationStatusReason(value);
260
+ break;
261
+ case 18:
262
+ var value = /** @type {string} */ (reader.readString());
263
+ msg.setDescription(value);
264
+ break;
265
+ case 19:
266
+ var value = /** @type {string} */ (reader.readString());
267
+ msg.setPaasAgreementVersion(value);
268
+ break;
269
+ case 20:
270
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
271
+ for (var i = 0; i < values.length; i++) {
272
+ msg.addRoles(values[i]);
273
+ }
274
+ break;
230
275
  default:
231
276
  reader.skipField();
232
277
  break;
@@ -284,10 +329,17 @@ proto.meshtrade.compliance.client.v1.Client.serializeBinaryToWriter = function(m
284
329
  f
285
330
  );
286
331
  }
332
+ f = message.getShortName();
333
+ if (f.length > 0) {
334
+ writer.writeString(
335
+ 5,
336
+ f
337
+ );
338
+ }
287
339
  f = message.getNaturalPerson();
288
340
  if (f != null) {
289
341
  writer.writeMessage(
290
- 5,
342
+ 6,
291
343
  f,
292
344
  meshtrade_compliance_client_v1_natural_person_pb.NaturalPerson.serializeBinaryToWriter
293
345
  );
@@ -295,7 +347,7 @@ proto.meshtrade.compliance.client.v1.Client.serializeBinaryToWriter = function(m
295
347
  f = message.getCompany();
296
348
  if (f != null) {
297
349
  writer.writeMessage(
298
- 6,
350
+ 7,
299
351
  f,
300
352
  meshtrade_compliance_client_v1_company_pb.Company.serializeBinaryToWriter
301
353
  );
@@ -303,7 +355,7 @@ proto.meshtrade.compliance.client.v1.Client.serializeBinaryToWriter = function(m
303
355
  f = message.getFund();
304
356
  if (f != null) {
305
357
  writer.writeMessage(
306
- 7,
358
+ 8,
307
359
  f,
308
360
  meshtrade_compliance_client_v1_fund_pb.Fund.serializeBinaryToWriter
309
361
  );
@@ -311,7 +363,7 @@ proto.meshtrade.compliance.client.v1.Client.serializeBinaryToWriter = function(m
311
363
  f = message.getTrust();
312
364
  if (f != null) {
313
365
  writer.writeMessage(
314
- 8,
366
+ 9,
315
367
  f,
316
368
  meshtrade_compliance_client_v1_trust_pb.Trust.serializeBinaryToWriter
317
369
  );
@@ -319,21 +371,28 @@ proto.meshtrade.compliance.client.v1.Client.serializeBinaryToWriter = function(m
319
371
  f = message.getVerificationStatus();
320
372
  if (f !== 0.0) {
321
373
  writer.writeEnum(
322
- 9,
374
+ 10,
323
375
  f
324
376
  );
325
377
  }
326
378
  f = message.getVerificationAuthority();
327
379
  if (f.length > 0) {
328
380
  writer.writeString(
329
- 10,
381
+ 11,
382
+ f
383
+ );
384
+ }
385
+ f = message.getVerificationAuthorityDisplayName();
386
+ if (f.length > 0) {
387
+ writer.writeString(
388
+ 12,
330
389
  f
331
390
  );
332
391
  }
333
392
  f = message.getVerificationDate();
334
393
  if (f != null) {
335
394
  writer.writeMessage(
336
- 11,
395
+ 13,
337
396
  f,
338
397
  google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
339
398
  );
@@ -341,11 +400,54 @@ proto.meshtrade.compliance.client.v1.Client.serializeBinaryToWriter = function(m
341
400
  f = message.getNextVerificationDate();
342
401
  if (f != null) {
343
402
  writer.writeMessage(
344
- 12,
403
+ 14,
345
404
  f,
346
405
  google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
347
406
  );
348
407
  }
408
+ f = message.getCreationDate();
409
+ if (f != null) {
410
+ writer.writeMessage(
411
+ 15,
412
+ f,
413
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
414
+ );
415
+ }
416
+ f = message.getStatus();
417
+ if (f !== 0.0) {
418
+ writer.writeEnum(
419
+ 16,
420
+ f
421
+ );
422
+ }
423
+ f = message.getVerificationStatusReason();
424
+ if (f.length > 0) {
425
+ writer.writeString(
426
+ 17,
427
+ f
428
+ );
429
+ }
430
+ f = message.getDescription();
431
+ if (f.length > 0) {
432
+ writer.writeString(
433
+ 18,
434
+ f
435
+ );
436
+ }
437
+ f = message.getPaasAgreementVersion();
438
+ if (f.length > 0) {
439
+ writer.writeString(
440
+ 19,
441
+ f
442
+ );
443
+ }
444
+ f = message.getRolesList();
445
+ if (f.length > 0) {
446
+ writer.writePackedInt32(
447
+ 20,
448
+ f
449
+ );
450
+ }
349
451
  };
350
452
 
351
453
 
@@ -441,12 +543,30 @@ proto.meshtrade.compliance.client.v1.Client.prototype.setDisplayName = function(
441
543
 
442
544
 
443
545
  /**
444
- * optional NaturalPerson natural_person = 5;
546
+ * optional string short_name = 5;
547
+ * @return {string}
548
+ */
549
+ proto.meshtrade.compliance.client.v1.Client.prototype.getShortName = function() {
550
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
551
+ };
552
+
553
+
554
+ /**
555
+ * @param {string} value
556
+ * @return {!proto.meshtrade.compliance.client.v1.Client} returns this
557
+ */
558
+ proto.meshtrade.compliance.client.v1.Client.prototype.setShortName = function(value) {
559
+ return jspb.Message.setProto3StringField(this, 5, value);
560
+ };
561
+
562
+
563
+ /**
564
+ * optional NaturalPerson natural_person = 6;
445
565
  * @return {?proto.meshtrade.compliance.client.v1.NaturalPerson}
446
566
  */
447
567
  proto.meshtrade.compliance.client.v1.Client.prototype.getNaturalPerson = function() {
448
568
  return /** @type{?proto.meshtrade.compliance.client.v1.NaturalPerson} */ (
449
- jspb.Message.getWrapperField(this, meshtrade_compliance_client_v1_natural_person_pb.NaturalPerson, 5));
569
+ jspb.Message.getWrapperField(this, meshtrade_compliance_client_v1_natural_person_pb.NaturalPerson, 6));
450
570
  };
451
571
 
452
572
 
@@ -455,7 +575,7 @@ proto.meshtrade.compliance.client.v1.Client.prototype.getNaturalPerson = functio
455
575
  * @return {!proto.meshtrade.compliance.client.v1.Client} returns this
456
576
  */
457
577
  proto.meshtrade.compliance.client.v1.Client.prototype.setNaturalPerson = function(value) {
458
- return jspb.Message.setOneofWrapperField(this, 5, proto.meshtrade.compliance.client.v1.Client.oneofGroups_[0], value);
578
+ return jspb.Message.setOneofWrapperField(this, 6, proto.meshtrade.compliance.client.v1.Client.oneofGroups_[0], value);
459
579
  };
460
580
 
461
581
 
@@ -473,17 +593,17 @@ proto.meshtrade.compliance.client.v1.Client.prototype.clearNaturalPerson = funct
473
593
  * @return {boolean}
474
594
  */
475
595
  proto.meshtrade.compliance.client.v1.Client.prototype.hasNaturalPerson = function() {
476
- return jspb.Message.getField(this, 5) != null;
596
+ return jspb.Message.getField(this, 6) != null;
477
597
  };
478
598
 
479
599
 
480
600
  /**
481
- * optional Company company = 6;
601
+ * optional Company company = 7;
482
602
  * @return {?proto.meshtrade.compliance.client.v1.Company}
483
603
  */
484
604
  proto.meshtrade.compliance.client.v1.Client.prototype.getCompany = function() {
485
605
  return /** @type{?proto.meshtrade.compliance.client.v1.Company} */ (
486
- jspb.Message.getWrapperField(this, meshtrade_compliance_client_v1_company_pb.Company, 6));
606
+ jspb.Message.getWrapperField(this, meshtrade_compliance_client_v1_company_pb.Company, 7));
487
607
  };
488
608
 
489
609
 
@@ -492,7 +612,7 @@ proto.meshtrade.compliance.client.v1.Client.prototype.getCompany = function() {
492
612
  * @return {!proto.meshtrade.compliance.client.v1.Client} returns this
493
613
  */
494
614
  proto.meshtrade.compliance.client.v1.Client.prototype.setCompany = function(value) {
495
- return jspb.Message.setOneofWrapperField(this, 6, proto.meshtrade.compliance.client.v1.Client.oneofGroups_[0], value);
615
+ return jspb.Message.setOneofWrapperField(this, 7, proto.meshtrade.compliance.client.v1.Client.oneofGroups_[0], value);
496
616
  };
497
617
 
498
618
 
@@ -510,17 +630,17 @@ proto.meshtrade.compliance.client.v1.Client.prototype.clearCompany = function()
510
630
  * @return {boolean}
511
631
  */
512
632
  proto.meshtrade.compliance.client.v1.Client.prototype.hasCompany = function() {
513
- return jspb.Message.getField(this, 6) != null;
633
+ return jspb.Message.getField(this, 7) != null;
514
634
  };
515
635
 
516
636
 
517
637
  /**
518
- * optional Fund fund = 7;
638
+ * optional Fund fund = 8;
519
639
  * @return {?proto.meshtrade.compliance.client.v1.Fund}
520
640
  */
521
641
  proto.meshtrade.compliance.client.v1.Client.prototype.getFund = function() {
522
642
  return /** @type{?proto.meshtrade.compliance.client.v1.Fund} */ (
523
- jspb.Message.getWrapperField(this, meshtrade_compliance_client_v1_fund_pb.Fund, 7));
643
+ jspb.Message.getWrapperField(this, meshtrade_compliance_client_v1_fund_pb.Fund, 8));
524
644
  };
525
645
 
526
646
 
@@ -529,7 +649,7 @@ proto.meshtrade.compliance.client.v1.Client.prototype.getFund = function() {
529
649
  * @return {!proto.meshtrade.compliance.client.v1.Client} returns this
530
650
  */
531
651
  proto.meshtrade.compliance.client.v1.Client.prototype.setFund = function(value) {
532
- return jspb.Message.setOneofWrapperField(this, 7, proto.meshtrade.compliance.client.v1.Client.oneofGroups_[0], value);
652
+ return jspb.Message.setOneofWrapperField(this, 8, proto.meshtrade.compliance.client.v1.Client.oneofGroups_[0], value);
533
653
  };
534
654
 
535
655
 
@@ -547,17 +667,17 @@ proto.meshtrade.compliance.client.v1.Client.prototype.clearFund = function() {
547
667
  * @return {boolean}
548
668
  */
549
669
  proto.meshtrade.compliance.client.v1.Client.prototype.hasFund = function() {
550
- return jspb.Message.getField(this, 7) != null;
670
+ return jspb.Message.getField(this, 8) != null;
551
671
  };
552
672
 
553
673
 
554
674
  /**
555
- * optional Trust trust = 8;
675
+ * optional Trust trust = 9;
556
676
  * @return {?proto.meshtrade.compliance.client.v1.Trust}
557
677
  */
558
678
  proto.meshtrade.compliance.client.v1.Client.prototype.getTrust = function() {
559
679
  return /** @type{?proto.meshtrade.compliance.client.v1.Trust} */ (
560
- jspb.Message.getWrapperField(this, meshtrade_compliance_client_v1_trust_pb.Trust, 8));
680
+ jspb.Message.getWrapperField(this, meshtrade_compliance_client_v1_trust_pb.Trust, 9));
561
681
  };
562
682
 
563
683
 
@@ -566,7 +686,7 @@ proto.meshtrade.compliance.client.v1.Client.prototype.getTrust = function() {
566
686
  * @return {!proto.meshtrade.compliance.client.v1.Client} returns this
567
687
  */
568
688
  proto.meshtrade.compliance.client.v1.Client.prototype.setTrust = function(value) {
569
- return jspb.Message.setOneofWrapperField(this, 8, proto.meshtrade.compliance.client.v1.Client.oneofGroups_[0], value);
689
+ return jspb.Message.setOneofWrapperField(this, 9, proto.meshtrade.compliance.client.v1.Client.oneofGroups_[0], value);
570
690
  };
571
691
 
572
692
 
@@ -584,16 +704,16 @@ proto.meshtrade.compliance.client.v1.Client.prototype.clearTrust = function() {
584
704
  * @return {boolean}
585
705
  */
586
706
  proto.meshtrade.compliance.client.v1.Client.prototype.hasTrust = function() {
587
- return jspb.Message.getField(this, 8) != null;
707
+ return jspb.Message.getField(this, 9) != null;
588
708
  };
589
709
 
590
710
 
591
711
  /**
592
- * optional VerificationStatus verification_status = 9;
712
+ * optional VerificationStatus verification_status = 10;
593
713
  * @return {!proto.meshtrade.compliance.client.v1.VerificationStatus}
594
714
  */
595
715
  proto.meshtrade.compliance.client.v1.Client.prototype.getVerificationStatus = function() {
596
- return /** @type {!proto.meshtrade.compliance.client.v1.VerificationStatus} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
716
+ return /** @type {!proto.meshtrade.compliance.client.v1.VerificationStatus} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
597
717
  };
598
718
 
599
719
 
@@ -602,16 +722,16 @@ proto.meshtrade.compliance.client.v1.Client.prototype.getVerificationStatus = fu
602
722
  * @return {!proto.meshtrade.compliance.client.v1.Client} returns this
603
723
  */
604
724
  proto.meshtrade.compliance.client.v1.Client.prototype.setVerificationStatus = function(value) {
605
- return jspb.Message.setProto3EnumField(this, 9, value);
725
+ return jspb.Message.setProto3EnumField(this, 10, value);
606
726
  };
607
727
 
608
728
 
609
729
  /**
610
- * optional string verification_authority = 10;
730
+ * optional string verification_authority = 11;
611
731
  * @return {string}
612
732
  */
613
733
  proto.meshtrade.compliance.client.v1.Client.prototype.getVerificationAuthority = function() {
614
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
734
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
615
735
  };
616
736
 
617
737
 
@@ -620,17 +740,35 @@ proto.meshtrade.compliance.client.v1.Client.prototype.getVerificationAuthority =
620
740
  * @return {!proto.meshtrade.compliance.client.v1.Client} returns this
621
741
  */
622
742
  proto.meshtrade.compliance.client.v1.Client.prototype.setVerificationAuthority = function(value) {
623
- return jspb.Message.setProto3StringField(this, 10, value);
743
+ return jspb.Message.setProto3StringField(this, 11, value);
744
+ };
745
+
746
+
747
+ /**
748
+ * optional string verification_authority_display_name = 12;
749
+ * @return {string}
750
+ */
751
+ proto.meshtrade.compliance.client.v1.Client.prototype.getVerificationAuthorityDisplayName = function() {
752
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
624
753
  };
625
754
 
626
755
 
627
756
  /**
628
- * optional google.protobuf.Timestamp verification_date = 11;
757
+ * @param {string} value
758
+ * @return {!proto.meshtrade.compliance.client.v1.Client} returns this
759
+ */
760
+ proto.meshtrade.compliance.client.v1.Client.prototype.setVerificationAuthorityDisplayName = function(value) {
761
+ return jspb.Message.setProto3StringField(this, 12, value);
762
+ };
763
+
764
+
765
+ /**
766
+ * optional google.protobuf.Timestamp verification_date = 13;
629
767
  * @return {?proto.google.protobuf.Timestamp}
630
768
  */
631
769
  proto.meshtrade.compliance.client.v1.Client.prototype.getVerificationDate = function() {
632
770
  return /** @type{?proto.google.protobuf.Timestamp} */ (
633
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 11));
771
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 13));
634
772
  };
635
773
 
636
774
 
@@ -639,7 +777,7 @@ proto.meshtrade.compliance.client.v1.Client.prototype.getVerificationDate = func
639
777
  * @return {!proto.meshtrade.compliance.client.v1.Client} returns this
640
778
  */
641
779
  proto.meshtrade.compliance.client.v1.Client.prototype.setVerificationDate = function(value) {
642
- return jspb.Message.setWrapperField(this, 11, value);
780
+ return jspb.Message.setWrapperField(this, 13, value);
643
781
  };
644
782
 
645
783
 
@@ -657,17 +795,17 @@ proto.meshtrade.compliance.client.v1.Client.prototype.clearVerificationDate = fu
657
795
  * @return {boolean}
658
796
  */
659
797
  proto.meshtrade.compliance.client.v1.Client.prototype.hasVerificationDate = function() {
660
- return jspb.Message.getField(this, 11) != null;
798
+ return jspb.Message.getField(this, 13) != null;
661
799
  };
662
800
 
663
801
 
664
802
  /**
665
- * optional google.protobuf.Timestamp next_verification_date = 12;
803
+ * optional google.protobuf.Timestamp next_verification_date = 14;
666
804
  * @return {?proto.google.protobuf.Timestamp}
667
805
  */
668
806
  proto.meshtrade.compliance.client.v1.Client.prototype.getNextVerificationDate = function() {
669
807
  return /** @type{?proto.google.protobuf.Timestamp} */ (
670
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 12));
808
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 14));
671
809
  };
672
810
 
673
811
 
@@ -676,7 +814,7 @@ proto.meshtrade.compliance.client.v1.Client.prototype.getNextVerificationDate =
676
814
  * @return {!proto.meshtrade.compliance.client.v1.Client} returns this
677
815
  */
678
816
  proto.meshtrade.compliance.client.v1.Client.prototype.setNextVerificationDate = function(value) {
679
- return jspb.Message.setWrapperField(this, 12, value);
817
+ return jspb.Message.setWrapperField(this, 14, value);
680
818
  };
681
819
 
682
820
 
@@ -694,7 +832,153 @@ proto.meshtrade.compliance.client.v1.Client.prototype.clearNextVerificationDate
694
832
  * @return {boolean}
695
833
  */
696
834
  proto.meshtrade.compliance.client.v1.Client.prototype.hasNextVerificationDate = function() {
697
- return jspb.Message.getField(this, 12) != null;
835
+ return jspb.Message.getField(this, 14) != null;
836
+ };
837
+
838
+
839
+ /**
840
+ * optional google.protobuf.Timestamp creation_date = 15;
841
+ * @return {?proto.google.protobuf.Timestamp}
842
+ */
843
+ proto.meshtrade.compliance.client.v1.Client.prototype.getCreationDate = function() {
844
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
845
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 15));
846
+ };
847
+
848
+
849
+ /**
850
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
851
+ * @return {!proto.meshtrade.compliance.client.v1.Client} returns this
852
+ */
853
+ proto.meshtrade.compliance.client.v1.Client.prototype.setCreationDate = function(value) {
854
+ return jspb.Message.setWrapperField(this, 15, value);
855
+ };
856
+
857
+
858
+ /**
859
+ * Clears the message field making it undefined.
860
+ * @return {!proto.meshtrade.compliance.client.v1.Client} returns this
861
+ */
862
+ proto.meshtrade.compliance.client.v1.Client.prototype.clearCreationDate = function() {
863
+ return this.setCreationDate(undefined);
864
+ };
865
+
866
+
867
+ /**
868
+ * Returns whether this field is set.
869
+ * @return {boolean}
870
+ */
871
+ proto.meshtrade.compliance.client.v1.Client.prototype.hasCreationDate = function() {
872
+ return jspb.Message.getField(this, 15) != null;
873
+ };
874
+
875
+
876
+ /**
877
+ * optional ClientStatus status = 16;
878
+ * @return {!proto.meshtrade.compliance.client.v1.ClientStatus}
879
+ */
880
+ proto.meshtrade.compliance.client.v1.Client.prototype.getStatus = function() {
881
+ return /** @type {!proto.meshtrade.compliance.client.v1.ClientStatus} */ (jspb.Message.getFieldWithDefault(this, 16, 0));
882
+ };
883
+
884
+
885
+ /**
886
+ * @param {!proto.meshtrade.compliance.client.v1.ClientStatus} value
887
+ * @return {!proto.meshtrade.compliance.client.v1.Client} returns this
888
+ */
889
+ proto.meshtrade.compliance.client.v1.Client.prototype.setStatus = function(value) {
890
+ return jspb.Message.setProto3EnumField(this, 16, value);
891
+ };
892
+
893
+
894
+ /**
895
+ * optional string verification_status_reason = 17;
896
+ * @return {string}
897
+ */
898
+ proto.meshtrade.compliance.client.v1.Client.prototype.getVerificationStatusReason = function() {
899
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
900
+ };
901
+
902
+
903
+ /**
904
+ * @param {string} value
905
+ * @return {!proto.meshtrade.compliance.client.v1.Client} returns this
906
+ */
907
+ proto.meshtrade.compliance.client.v1.Client.prototype.setVerificationStatusReason = function(value) {
908
+ return jspb.Message.setProto3StringField(this, 17, value);
909
+ };
910
+
911
+
912
+ /**
913
+ * optional string description = 18;
914
+ * @return {string}
915
+ */
916
+ proto.meshtrade.compliance.client.v1.Client.prototype.getDescription = function() {
917
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
918
+ };
919
+
920
+
921
+ /**
922
+ * @param {string} value
923
+ * @return {!proto.meshtrade.compliance.client.v1.Client} returns this
924
+ */
925
+ proto.meshtrade.compliance.client.v1.Client.prototype.setDescription = function(value) {
926
+ return jspb.Message.setProto3StringField(this, 18, value);
927
+ };
928
+
929
+
930
+ /**
931
+ * optional string paas_agreement_version = 19;
932
+ * @return {string}
933
+ */
934
+ proto.meshtrade.compliance.client.v1.Client.prototype.getPaasAgreementVersion = function() {
935
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
936
+ };
937
+
938
+
939
+ /**
940
+ * @param {string} value
941
+ * @return {!proto.meshtrade.compliance.client.v1.Client} returns this
942
+ */
943
+ proto.meshtrade.compliance.client.v1.Client.prototype.setPaasAgreementVersion = function(value) {
944
+ return jspb.Message.setProto3StringField(this, 19, value);
945
+ };
946
+
947
+
948
+ /**
949
+ * repeated int32 roles = 20;
950
+ * @return {!Array<number>}
951
+ */
952
+ proto.meshtrade.compliance.client.v1.Client.prototype.getRolesList = function() {
953
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 20));
954
+ };
955
+
956
+
957
+ /**
958
+ * @param {!Array<number>} value
959
+ * @return {!proto.meshtrade.compliance.client.v1.Client} returns this
960
+ */
961
+ proto.meshtrade.compliance.client.v1.Client.prototype.setRolesList = function(value) {
962
+ return jspb.Message.setField(this, 20, value || []);
963
+ };
964
+
965
+
966
+ /**
967
+ * @param {number} value
968
+ * @param {number=} opt_index
969
+ * @return {!proto.meshtrade.compliance.client.v1.Client} returns this
970
+ */
971
+ proto.meshtrade.compliance.client.v1.Client.prototype.addRoles = function(value, opt_index) {
972
+ return jspb.Message.addToRepeatedField(this, 20, value, opt_index);
973
+ };
974
+
975
+
976
+ /**
977
+ * Clears the list making it empty but non-null.
978
+ * @return {!proto.meshtrade.compliance.client.v1.Client} returns this
979
+ */
980
+ proto.meshtrade.compliance.client.v1.Client.prototype.clearRolesList = function() {
981
+ return this.setRolesList([]);
698
982
  };
699
983
 
700
984
 
@@ -0,0 +1,10 @@
1
+ import * as jspb from 'google-protobuf'
2
+
3
+
4
+
5
+ export enum ClientStatus {
6
+ CLIENT_STATUS_UNSPECIFIED = 0,
7
+ CLIENT_STATUS_ACTIVE = 1,
8
+ CLIENT_STATUS_INACTIVE = 2,
9
+ CLIENT_STATUS_COMPLETE_PROFILE = 3,
10
+ }