@meshtrade/api-old 1.57.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
@@ -0,0 +1,35 @@
1
+ // source: meshtrade/compliance/client/v1/client_status.proto
2
+ /**
3
+ * @fileoverview
4
+ * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
6
+ * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
+ * field starts with 'MSG_' and isn't a translatable message.
8
+ * @public
9
+ */
10
+ // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
13
+
14
+ var jspb = require('google-protobuf');
15
+ var goog = jspb;
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
+
24
+ goog.exportSymbol('proto.meshtrade.compliance.client.v1.ClientStatus', null, global);
25
+ /**
26
+ * @enum {number}
27
+ */
28
+ proto.meshtrade.compliance.client.v1.ClientStatus = {
29
+ CLIENT_STATUS_UNSPECIFIED: 0,
30
+ CLIENT_STATUS_ACTIVE: 1,
31
+ CLIENT_STATUS_INACTIVE: 2,
32
+ CLIENT_STATUS_COMPLETE_PROFILE: 3
33
+ };
34
+
35
+ goog.object.extend(exports, proto.meshtrade.compliance.client.v1);
@@ -6,8 +6,10 @@ import * as meshtrade_compliance_client_v1_company_representative_pb from '../..
6
6
  import * as meshtrade_compliance_client_v1_fund_pb from '../../../../meshtrade/compliance/client/v1/fund_pb'; // proto import: "meshtrade/compliance/client/v1/fund.proto"
7
7
  import * as meshtrade_compliance_client_v1_industry_classification_pb from '../../../../meshtrade/compliance/client/v1/industry_classification_pb'; // proto import: "meshtrade/compliance/client/v1/industry_classification.proto"
8
8
  import * as meshtrade_compliance_client_v1_natural_person_pb from '../../../../meshtrade/compliance/client/v1/natural_person_pb'; // proto import: "meshtrade/compliance/client/v1/natural_person.proto"
9
+ import * as meshtrade_compliance_client_v1_tax_residency_pb from '../../../../meshtrade/compliance/client/v1/tax_residency_pb'; // proto import: "meshtrade/compliance/client/v1/tax_residency.proto"
9
10
  import * as meshtrade_compliance_client_v1_trust_pb from '../../../../meshtrade/compliance/client/v1/trust_pb'; // proto import: "meshtrade/compliance/client/v1/trust.proto"
10
11
  import * as meshtrade_type_v1_address_pb from '../../../../meshtrade/type/v1/address_pb'; // proto import: "meshtrade/type/v1/address.proto"
12
+ import * as meshtrade_type_v1_contact_details_pb from '../../../../meshtrade/type/v1/contact_details_pb'; // proto import: "meshtrade/type/v1/contact_details.proto"
11
13
  import * as meshtrade_type_v1_decimal_pb from '../../../../meshtrade/type/v1/decimal_pb'; // proto import: "meshtrade/type/v1/decimal.proto"
12
14
 
13
15
 
@@ -15,11 +17,16 @@ export class Company extends jspb.Message {
15
17
  getRegisteredName(): string;
16
18
  setRegisteredName(value: string): Company;
17
19
 
20
+ getBusinessName(): string;
21
+ setBusinessName(value: string): Company;
22
+
18
23
  getRegistrationNumber(): string;
19
24
  setRegistrationNumber(value: string): Company;
20
25
 
21
- getTaxIdentifier(): string;
22
- setTaxIdentifier(value: string): Company;
26
+ getTaxResidenciesList(): Array<meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency>;
27
+ setTaxResidenciesList(value: Array<meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency>): Company;
28
+ clearTaxResidenciesList(): Company;
29
+ addTaxResidencies(value?: meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency, index?: number): meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency;
23
30
 
24
31
  getCountryOfIncorporation(): string;
25
32
  setCountryOfIncorporation(value: string): Company;
@@ -70,6 +77,14 @@ export class Company extends jspb.Message {
70
77
  getListingReference(): string;
71
78
  setListingReference(value: string): Company;
72
79
 
80
+ getVatRegistrationNumber(): string;
81
+ setVatRegistrationNumber(value: string): Company;
82
+
83
+ getContactDetails(): meshtrade_type_v1_contact_details_pb.ContactDetails | undefined;
84
+ setContactDetails(value?: meshtrade_type_v1_contact_details_pb.ContactDetails): Company;
85
+ hasContactDetails(): boolean;
86
+ clearContactDetails(): Company;
87
+
73
88
  serializeBinary(): Uint8Array;
74
89
  toObject(includeInstance?: boolean): Company.AsObject;
75
90
  static toObject(includeInstance: boolean, msg: Company): Company.AsObject;
@@ -81,8 +96,9 @@ export class Company extends jspb.Message {
81
96
  export namespace Company {
82
97
  export type AsObject = {
83
98
  registeredName: string,
99
+ businessName: string,
84
100
  registrationNumber: string,
85
- taxIdentifier: string,
101
+ taxResidenciesList: Array<meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency.AsObject>,
86
102
  countryOfIncorporation: string,
87
103
  dateOfIncorporation?: google_type_date_pb.Date.AsObject,
88
104
  registeredAddress?: meshtrade_type_v1_address_pb.Address.AsObject,
@@ -94,6 +110,8 @@ export namespace Company {
94
110
  industryClassification?: meshtrade_compliance_client_v1_industry_classification_pb.IndustryClassification.AsObject,
95
111
  listedExchangeCode: string,
96
112
  listingReference: string,
113
+ vatRegistrationNumber: string,
114
+ contactDetails?: meshtrade_type_v1_contact_details_pb.ContactDetails.AsObject,
97
115
  }
98
116
  }
99
117
 
@@ -175,4 +193,7 @@ export enum LegalPersonConnectionType {
175
193
  LEGAL_PERSON_CONNECTION_TYPE_TRUST = 4,
176
194
  LEGAL_PERSON_CONNECTION_TYPE_GENERAL_PARTNER = 5,
177
195
  LEGAL_PERSON_CONNECTION_TYPE_GUARANTOR = 6,
196
+ LEGAL_PERSON_CONNECTION_TYPE_MANAGER = 7,
197
+ LEGAL_PERSON_CONNECTION_TYPE_AGENT = 8,
198
+ LEGAL_PERSON_CONNECTION_TYPE_SOLE_PROPRIETOR = 9,
178
199
  }
@@ -33,10 +33,14 @@ var meshtrade_compliance_client_v1_industry_classification_pb = require('../../.
33
33
  goog.object.extend(proto, meshtrade_compliance_client_v1_industry_classification_pb);
34
34
  var meshtrade_compliance_client_v1_natural_person_pb = require('../../../../meshtrade/compliance/client/v1/natural_person_pb.js');
35
35
  goog.object.extend(proto, meshtrade_compliance_client_v1_natural_person_pb);
36
+ var meshtrade_compliance_client_v1_tax_residency_pb = require('../../../../meshtrade/compliance/client/v1/tax_residency_pb.js');
37
+ goog.object.extend(proto, meshtrade_compliance_client_v1_tax_residency_pb);
36
38
  var meshtrade_compliance_client_v1_trust_pb = require('../../../../meshtrade/compliance/client/v1/trust_pb.js');
37
39
  goog.object.extend(proto, meshtrade_compliance_client_v1_trust_pb);
38
40
  var meshtrade_type_v1_address_pb = require('../../../../meshtrade/type/v1/address_pb.js');
39
41
  goog.object.extend(proto, meshtrade_type_v1_address_pb);
42
+ var meshtrade_type_v1_contact_details_pb = require('../../../../meshtrade/type/v1/contact_details_pb.js');
43
+ goog.object.extend(proto, meshtrade_type_v1_contact_details_pb);
40
44
  var meshtrade_type_v1_decimal_pb = require('../../../../meshtrade/type/v1/decimal_pb.js');
41
45
  goog.object.extend(proto, meshtrade_type_v1_decimal_pb);
42
46
  goog.exportSymbol('proto.meshtrade.compliance.client.v1.Company', null, global);
@@ -91,7 +95,7 @@ if (goog.DEBUG && !COMPILED) {
91
95
  * @private {!Array<number>}
92
96
  * @const
93
97
  */
94
- proto.meshtrade.compliance.client.v1.Company.repeatedFields_ = [11,12];
98
+ proto.meshtrade.compliance.client.v1.Company.repeatedFields_ = [4,11,12];
95
99
 
96
100
 
97
101
 
@@ -125,8 +129,10 @@ proto.meshtrade.compliance.client.v1.Company.prototype.toObject = function(opt_i
125
129
  proto.meshtrade.compliance.client.v1.Company.toObject = function(includeInstance, msg) {
126
130
  var f, obj = {
127
131
  registeredName: jspb.Message.getFieldWithDefault(msg, 1, ""),
132
+ businessName: jspb.Message.getFieldWithDefault(msg, 2, ""),
128
133
  registrationNumber: jspb.Message.getFieldWithDefault(msg, 3, ""),
129
- taxIdentifier: jspb.Message.getFieldWithDefault(msg, 4, ""),
134
+ taxResidenciesList: jspb.Message.toObjectList(msg.getTaxResidenciesList(),
135
+ meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency.toObject, includeInstance),
130
136
  countryOfIncorporation: jspb.Message.getFieldWithDefault(msg, 5, ""),
131
137
  dateOfIncorporation: (f = msg.getDateOfIncorporation()) && google_type_date_pb.Date.toObject(includeInstance, f),
132
138
  registeredAddress: (f = msg.getRegisteredAddress()) && meshtrade_type_v1_address_pb.Address.toObject(includeInstance, f),
@@ -139,7 +145,9 @@ connectedLegalPersonsList: jspb.Message.toObjectList(msg.getConnectedLegalPerson
139
145
  proto.meshtrade.compliance.client.v1.ConnectedLegalPerson.toObject, includeInstance),
140
146
  industryClassification: (f = msg.getIndustryClassification()) && meshtrade_compliance_client_v1_industry_classification_pb.IndustryClassification.toObject(includeInstance, f),
141
147
  listedExchangeCode: jspb.Message.getFieldWithDefault(msg, 14, ""),
142
- listingReference: jspb.Message.getFieldWithDefault(msg, 15, "")
148
+ listingReference: jspb.Message.getFieldWithDefault(msg, 15, ""),
149
+ vatRegistrationNumber: jspb.Message.getFieldWithDefault(msg, 16, ""),
150
+ contactDetails: (f = msg.getContactDetails()) && meshtrade_type_v1_contact_details_pb.ContactDetails.toObject(includeInstance, f)
143
151
  };
144
152
 
145
153
  if (includeInstance) {
@@ -180,13 +188,18 @@ proto.meshtrade.compliance.client.v1.Company.deserializeBinaryFromReader = funct
180
188
  var value = /** @type {string} */ (reader.readString());
181
189
  msg.setRegisteredName(value);
182
190
  break;
191
+ case 2:
192
+ var value = /** @type {string} */ (reader.readString());
193
+ msg.setBusinessName(value);
194
+ break;
183
195
  case 3:
184
196
  var value = /** @type {string} */ (reader.readString());
185
197
  msg.setRegistrationNumber(value);
186
198
  break;
187
199
  case 4:
188
- var value = /** @type {string} */ (reader.readString());
189
- msg.setTaxIdentifier(value);
200
+ var value = new meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency;
201
+ reader.readMessage(value,meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency.deserializeBinaryFromReader);
202
+ msg.addTaxResidencies(value);
190
203
  break;
191
204
  case 5:
192
205
  var value = /** @type {string} */ (reader.readString());
@@ -240,6 +253,15 @@ proto.meshtrade.compliance.client.v1.Company.deserializeBinaryFromReader = funct
240
253
  var value = /** @type {string} */ (reader.readString());
241
254
  msg.setListingReference(value);
242
255
  break;
256
+ case 16:
257
+ var value = /** @type {string} */ (reader.readString());
258
+ msg.setVatRegistrationNumber(value);
259
+ break;
260
+ case 17:
261
+ var value = new meshtrade_type_v1_contact_details_pb.ContactDetails;
262
+ reader.readMessage(value,meshtrade_type_v1_contact_details_pb.ContactDetails.deserializeBinaryFromReader);
263
+ msg.setContactDetails(value);
264
+ break;
243
265
  default:
244
266
  reader.skipField();
245
267
  break;
@@ -276,6 +298,13 @@ proto.meshtrade.compliance.client.v1.Company.serializeBinaryToWriter = function(
276
298
  f
277
299
  );
278
300
  }
301
+ f = message.getBusinessName();
302
+ if (f.length > 0) {
303
+ writer.writeString(
304
+ 2,
305
+ f
306
+ );
307
+ }
279
308
  f = message.getRegistrationNumber();
280
309
  if (f.length > 0) {
281
310
  writer.writeString(
@@ -283,11 +312,12 @@ proto.meshtrade.compliance.client.v1.Company.serializeBinaryToWriter = function(
283
312
  f
284
313
  );
285
314
  }
286
- f = message.getTaxIdentifier();
315
+ f = message.getTaxResidenciesList();
287
316
  if (f.length > 0) {
288
- writer.writeString(
317
+ writer.writeRepeatedMessage(
289
318
  4,
290
- f
319
+ f,
320
+ meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency.serializeBinaryToWriter
291
321
  );
292
322
  }
293
323
  f = message.getCountryOfIncorporation();
@@ -375,6 +405,21 @@ proto.meshtrade.compliance.client.v1.Company.serializeBinaryToWriter = function(
375
405
  f
376
406
  );
377
407
  }
408
+ f = message.getVatRegistrationNumber();
409
+ if (f.length > 0) {
410
+ writer.writeString(
411
+ 16,
412
+ f
413
+ );
414
+ }
415
+ f = message.getContactDetails();
416
+ if (f != null) {
417
+ writer.writeMessage(
418
+ 17,
419
+ f,
420
+ meshtrade_type_v1_contact_details_pb.ContactDetails.serializeBinaryToWriter
421
+ );
422
+ }
378
423
  };
379
424
 
380
425
 
@@ -396,6 +441,24 @@ proto.meshtrade.compliance.client.v1.Company.prototype.setRegisteredName = funct
396
441
  };
397
442
 
398
443
 
444
+ /**
445
+ * optional string business_name = 2;
446
+ * @return {string}
447
+ */
448
+ proto.meshtrade.compliance.client.v1.Company.prototype.getBusinessName = function() {
449
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
450
+ };
451
+
452
+
453
+ /**
454
+ * @param {string} value
455
+ * @return {!proto.meshtrade.compliance.client.v1.Company} returns this
456
+ */
457
+ proto.meshtrade.compliance.client.v1.Company.prototype.setBusinessName = function(value) {
458
+ return jspb.Message.setProto3StringField(this, 2, value);
459
+ };
460
+
461
+
399
462
  /**
400
463
  * optional string registration_number = 3;
401
464
  * @return {string}
@@ -415,20 +478,40 @@ proto.meshtrade.compliance.client.v1.Company.prototype.setRegistrationNumber = f
415
478
 
416
479
 
417
480
  /**
418
- * optional string tax_identifier = 4;
419
- * @return {string}
481
+ * repeated TaxResidency tax_residencies = 4;
482
+ * @return {!Array<!proto.meshtrade.compliance.client.v1.TaxResidency>}
420
483
  */
421
- proto.meshtrade.compliance.client.v1.Company.prototype.getTaxIdentifier = function() {
422
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
484
+ proto.meshtrade.compliance.client.v1.Company.prototype.getTaxResidenciesList = function() {
485
+ return /** @type{!Array<!proto.meshtrade.compliance.client.v1.TaxResidency>} */ (
486
+ jspb.Message.getRepeatedWrapperField(this, meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency, 4));
423
487
  };
424
488
 
425
489
 
426
490
  /**
427
- * @param {string} value
491
+ * @param {!Array<!proto.meshtrade.compliance.client.v1.TaxResidency>} value
492
+ * @return {!proto.meshtrade.compliance.client.v1.Company} returns this
493
+ */
494
+ proto.meshtrade.compliance.client.v1.Company.prototype.setTaxResidenciesList = function(value) {
495
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
496
+ };
497
+
498
+
499
+ /**
500
+ * @param {!proto.meshtrade.compliance.client.v1.TaxResidency=} opt_value
501
+ * @param {number=} opt_index
502
+ * @return {!proto.meshtrade.compliance.client.v1.TaxResidency}
503
+ */
504
+ proto.meshtrade.compliance.client.v1.Company.prototype.addTaxResidencies = function(opt_value, opt_index) {
505
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.meshtrade.compliance.client.v1.TaxResidency, opt_index);
506
+ };
507
+
508
+
509
+ /**
510
+ * Clears the list making it empty but non-null.
428
511
  * @return {!proto.meshtrade.compliance.client.v1.Company} returns this
429
512
  */
430
- proto.meshtrade.compliance.client.v1.Company.prototype.setTaxIdentifier = function(value) {
431
- return jspb.Message.setProto3StringField(this, 4, value);
513
+ proto.meshtrade.compliance.client.v1.Company.prototype.clearTaxResidenciesList = function() {
514
+ return this.setTaxResidenciesList([]);
432
515
  };
433
516
 
434
517
 
@@ -784,6 +867,61 @@ proto.meshtrade.compliance.client.v1.Company.prototype.setListingReference = fun
784
867
  };
785
868
 
786
869
 
870
+ /**
871
+ * optional string vat_registration_number = 16;
872
+ * @return {string}
873
+ */
874
+ proto.meshtrade.compliance.client.v1.Company.prototype.getVatRegistrationNumber = function() {
875
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
876
+ };
877
+
878
+
879
+ /**
880
+ * @param {string} value
881
+ * @return {!proto.meshtrade.compliance.client.v1.Company} returns this
882
+ */
883
+ proto.meshtrade.compliance.client.v1.Company.prototype.setVatRegistrationNumber = function(value) {
884
+ return jspb.Message.setProto3StringField(this, 16, value);
885
+ };
886
+
887
+
888
+ /**
889
+ * optional meshtrade.type.v1.ContactDetails contact_details = 17;
890
+ * @return {?proto.meshtrade.type.v1.ContactDetails}
891
+ */
892
+ proto.meshtrade.compliance.client.v1.Company.prototype.getContactDetails = function() {
893
+ return /** @type{?proto.meshtrade.type.v1.ContactDetails} */ (
894
+ jspb.Message.getWrapperField(this, meshtrade_type_v1_contact_details_pb.ContactDetails, 17));
895
+ };
896
+
897
+
898
+ /**
899
+ * @param {?proto.meshtrade.type.v1.ContactDetails|undefined} value
900
+ * @return {!proto.meshtrade.compliance.client.v1.Company} returns this
901
+ */
902
+ proto.meshtrade.compliance.client.v1.Company.prototype.setContactDetails = function(value) {
903
+ return jspb.Message.setWrapperField(this, 17, value);
904
+ };
905
+
906
+
907
+ /**
908
+ * Clears the message field making it undefined.
909
+ * @return {!proto.meshtrade.compliance.client.v1.Company} returns this
910
+ */
911
+ proto.meshtrade.compliance.client.v1.Company.prototype.clearContactDetails = function() {
912
+ return this.setContactDetails(undefined);
913
+ };
914
+
915
+
916
+ /**
917
+ * Returns whether this field is set.
918
+ * @return {boolean}
919
+ */
920
+ proto.meshtrade.compliance.client.v1.Company.prototype.hasContactDetails = function() {
921
+ return jspb.Message.getField(this, 17) != null;
922
+ };
923
+
924
+
787
925
 
788
926
  /**
789
927
  * List of repeated fields within this message type.
@@ -1316,7 +1454,10 @@ proto.meshtrade.compliance.client.v1.LegalPersonConnectionType = {
1316
1454
  LEGAL_PERSON_CONNECTION_TYPE_CORPORATE_DIRECTOR: 3,
1317
1455
  LEGAL_PERSON_CONNECTION_TYPE_TRUST: 4,
1318
1456
  LEGAL_PERSON_CONNECTION_TYPE_GENERAL_PARTNER: 5,
1319
- LEGAL_PERSON_CONNECTION_TYPE_GUARANTOR: 6
1457
+ LEGAL_PERSON_CONNECTION_TYPE_GUARANTOR: 6,
1458
+ LEGAL_PERSON_CONNECTION_TYPE_MANAGER: 7,
1459
+ LEGAL_PERSON_CONNECTION_TYPE_AGENT: 8,
1460
+ LEGAL_PERSON_CONNECTION_TYPE_SOLE_PROPRIETOR: 9
1320
1461
  };
1321
1462
 
1322
1463
  goog.object.extend(exports, proto.meshtrade.compliance.client.v1);
@@ -2,6 +2,7 @@ import * as jspb from 'google-protobuf'
2
2
 
3
3
  import * as buf_validate_validate_pb from '../../../../buf/validate/validate_pb'; // proto import: "buf/validate/validate.proto"
4
4
  import * as google_type_date_pb from '../../../../google/type/date_pb'; // proto import: "google/type/date.proto"
5
+ import * as meshtrade_compliance_client_v1_tax_residency_pb from '../../../../meshtrade/compliance/client/v1/tax_residency_pb'; // proto import: "meshtrade/compliance/client/v1/tax_residency.proto"
5
6
 
6
7
 
7
8
  export class Fund extends jspb.Message {
@@ -11,8 +12,10 @@ export class Fund extends jspb.Message {
11
12
  getRegistrationNumber(): string;
12
13
  setRegistrationNumber(value: string): Fund;
13
14
 
14
- getTaxIdentifier(): string;
15
- setTaxIdentifier(value: string): Fund;
15
+ getTaxResidenciesList(): Array<meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency>;
16
+ setTaxResidenciesList(value: Array<meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency>): Fund;
17
+ clearTaxResidenciesList(): Fund;
18
+ addTaxResidencies(value?: meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency, index?: number): meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency;
16
19
 
17
20
  getCountryOfDomicile(): string;
18
21
  setCountryOfDomicile(value: string): Fund;
@@ -34,7 +37,7 @@ export namespace Fund {
34
37
  export type AsObject = {
35
38
  registeredName: string,
36
39
  registrationNumber: string,
37
- taxIdentifier: string,
40
+ taxResidenciesList: Array<meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency.AsObject>,
38
41
  countryOfDomicile: string,
39
42
  dateOfInception?: google_type_date_pb.Date.AsObject,
40
43
  }
@@ -25,6 +25,8 @@ var buf_validate_validate_pb = require('../../../../buf/validate/validate_pb.js'
25
25
  goog.object.extend(proto, buf_validate_validate_pb);
26
26
  var google_type_date_pb = require('../../../../google/type/date_pb.js');
27
27
  goog.object.extend(proto, google_type_date_pb);
28
+ var meshtrade_compliance_client_v1_tax_residency_pb = require('../../../../meshtrade/compliance/client/v1/tax_residency_pb.js');
29
+ goog.object.extend(proto, meshtrade_compliance_client_v1_tax_residency_pb);
28
30
  goog.exportSymbol('proto.meshtrade.compliance.client.v1.Fund', null, global);
29
31
  /**
30
32
  * Generated by JsPbCodeGenerator.
@@ -37,7 +39,7 @@ goog.exportSymbol('proto.meshtrade.compliance.client.v1.Fund', null, global);
37
39
  * @constructor
38
40
  */
39
41
  proto.meshtrade.compliance.client.v1.Fund = function(opt_data) {
40
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
42
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.meshtrade.compliance.client.v1.Fund.repeatedFields_, null);
41
43
  };
42
44
  goog.inherits(proto.meshtrade.compliance.client.v1.Fund, jspb.Message);
43
45
  if (goog.DEBUG && !COMPILED) {
@@ -48,6 +50,13 @@ if (goog.DEBUG && !COMPILED) {
48
50
  proto.meshtrade.compliance.client.v1.Fund.displayName = 'proto.meshtrade.compliance.client.v1.Fund';
49
51
  }
50
52
 
53
+ /**
54
+ * List of repeated fields within this message type.
55
+ * @private {!Array<number>}
56
+ * @const
57
+ */
58
+ proto.meshtrade.compliance.client.v1.Fund.repeatedFields_ = [3];
59
+
51
60
 
52
61
 
53
62
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -81,7 +90,8 @@ proto.meshtrade.compliance.client.v1.Fund.toObject = function(includeInstance, m
81
90
  var f, obj = {
82
91
  registeredName: jspb.Message.getFieldWithDefault(msg, 1, ""),
83
92
  registrationNumber: jspb.Message.getFieldWithDefault(msg, 2, ""),
84
- taxIdentifier: jspb.Message.getFieldWithDefault(msg, 3, ""),
93
+ taxResidenciesList: jspb.Message.toObjectList(msg.getTaxResidenciesList(),
94
+ meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency.toObject, includeInstance),
85
95
  countryOfDomicile: jspb.Message.getFieldWithDefault(msg, 4, ""),
86
96
  dateOfInception: (f = msg.getDateOfInception()) && google_type_date_pb.Date.toObject(includeInstance, f)
87
97
  };
@@ -129,8 +139,9 @@ proto.meshtrade.compliance.client.v1.Fund.deserializeBinaryFromReader = function
129
139
  msg.setRegistrationNumber(value);
130
140
  break;
131
141
  case 3:
132
- var value = /** @type {string} */ (reader.readString());
133
- msg.setTaxIdentifier(value);
142
+ var value = new meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency;
143
+ reader.readMessage(value,meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency.deserializeBinaryFromReader);
144
+ msg.addTaxResidencies(value);
134
145
  break;
135
146
  case 4:
136
147
  var value = /** @type {string} */ (reader.readString());
@@ -184,11 +195,12 @@ proto.meshtrade.compliance.client.v1.Fund.serializeBinaryToWriter = function(mes
184
195
  f
185
196
  );
186
197
  }
187
- f = message.getTaxIdentifier();
198
+ f = message.getTaxResidenciesList();
188
199
  if (f.length > 0) {
189
- writer.writeString(
200
+ writer.writeRepeatedMessage(
190
201
  3,
191
- f
202
+ f,
203
+ meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency.serializeBinaryToWriter
192
204
  );
193
205
  }
194
206
  f = message.getCountryOfDomicile();
@@ -246,20 +258,40 @@ proto.meshtrade.compliance.client.v1.Fund.prototype.setRegistrationNumber = func
246
258
 
247
259
 
248
260
  /**
249
- * optional string tax_identifier = 3;
250
- * @return {string}
261
+ * repeated TaxResidency tax_residencies = 3;
262
+ * @return {!Array<!proto.meshtrade.compliance.client.v1.TaxResidency>}
251
263
  */
252
- proto.meshtrade.compliance.client.v1.Fund.prototype.getTaxIdentifier = function() {
253
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
264
+ proto.meshtrade.compliance.client.v1.Fund.prototype.getTaxResidenciesList = function() {
265
+ return /** @type{!Array<!proto.meshtrade.compliance.client.v1.TaxResidency>} */ (
266
+ jspb.Message.getRepeatedWrapperField(this, meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency, 3));
254
267
  };
255
268
 
256
269
 
257
270
  /**
258
- * @param {string} value
271
+ * @param {!Array<!proto.meshtrade.compliance.client.v1.TaxResidency>} value
272
+ * @return {!proto.meshtrade.compliance.client.v1.Fund} returns this
273
+ */
274
+ proto.meshtrade.compliance.client.v1.Fund.prototype.setTaxResidenciesList = function(value) {
275
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
276
+ };
277
+
278
+
279
+ /**
280
+ * @param {!proto.meshtrade.compliance.client.v1.TaxResidency=} opt_value
281
+ * @param {number=} opt_index
282
+ * @return {!proto.meshtrade.compliance.client.v1.TaxResidency}
283
+ */
284
+ proto.meshtrade.compliance.client.v1.Fund.prototype.addTaxResidencies = function(opt_value, opt_index) {
285
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.meshtrade.compliance.client.v1.TaxResidency, opt_index);
286
+ };
287
+
288
+
289
+ /**
290
+ * Clears the list making it empty but non-null.
259
291
  * @return {!proto.meshtrade.compliance.client.v1.Fund} returns this
260
292
  */
261
- proto.meshtrade.compliance.client.v1.Fund.prototype.setTaxIdentifier = function(value) {
262
- return jspb.Message.setProto3StringField(this, 3, value);
293
+ proto.meshtrade.compliance.client.v1.Fund.prototype.clearTaxResidenciesList = function() {
294
+ return this.setTaxResidenciesList([]);
263
295
  };
264
296
 
265
297
 
@@ -1,4 +1,5 @@
1
1
  export * from "./client_pb";
2
+ export * from "./client_status_pb";
2
3
  export * from "./company_pb";
3
4
  export * from "./company_representative_pb";
4
5
  export * from "./company_representative_role_pb";
@@ -28,6 +28,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
28
28
  exports.ClientServiceGrpcWebClientV1 = void 0;
29
29
  // Generated exports
30
30
  __exportStar(require("./client_pb"), exports);
31
+ __exportStar(require("./client_status_pb"), exports);
31
32
  __exportStar(require("./company_pb"), exports);
32
33
  __exportStar(require("./company_representative_pb"), exports);
33
34
  __exportStar(require("./company_representative_role_pb"), exports);
@@ -1,5 +1,6 @@
1
1
  import * as jspb from 'google-protobuf'
2
2
 
3
+ import * as buf_validate_validate_pb from '../../../../buf/validate/validate_pb'; // proto import: "buf/validate/validate.proto"
3
4
 
4
5
 
5
6
  export class IndustryClassification extends jspb.Message {
@@ -21,6 +21,8 @@ var global =
21
21
  (function () { return this; }).call(null) ||
22
22
  Function('return this')();
23
23
 
24
+ var buf_validate_validate_pb = require('../../../../buf/validate/validate_pb.js');
25
+ goog.object.extend(proto, buf_validate_validate_pb);
24
26
  goog.exportSymbol('proto.meshtrade.compliance.client.v1.IndustryClassification', null, global);
25
27
  /**
26
28
  * Generated by JsPbCodeGenerator.
@@ -1,4 +1,4 @@
1
- import { CreateClientRequest, GetClientRequest, GetGroupClientRequest, ListClientsRequest, ListClientsResponse } from "./service_pb";
1
+ import { CreateClientRequest, FailClientVerificationRequest, GetClientRequest, GetGroupClientRequest, ListClientsRequest, ListClientsResponse, MarkClientVerifiedRequest, StartClientVerificationRequest, UpdateClientRequest } from "./service_pb";
2
2
  import { Client } from "./client_pb";
3
3
  import { UnaryInterceptor } from "grpc-web";
4
4
  import { ConfigOpts } from "../../../common/config";
@@ -44,6 +44,30 @@ export declare class ClientServiceGrpcWebClientV1 {
44
44
  * @returns {Promise<Client>} A promise that resolves with the client.
45
45
  */
46
46
  getGroupClient(request: GetGroupClientRequest): Promise<Client>;
47
+ /**
48
+ * Updates an existing client.
49
+ * @param {UpdateClientRequest} request - The request object for updateclient.
50
+ * @returns {Promise<Client>} A promise that resolves with the client.
51
+ */
52
+ updateClient(request: UpdateClientRequest): Promise<Client>;
53
+ /**
54
+ * Performs startclientverification operation on client.
55
+ * @param {StartClientVerificationRequest} request - The request object for startclientverification.
56
+ * @returns {Promise<Client>} A promise that resolves with the client.
57
+ */
58
+ startClientVerification(request: StartClientVerificationRequest): Promise<Client>;
59
+ /**
60
+ * Performs failclientverification operation on client.
61
+ * @param {FailClientVerificationRequest} request - The request object for failclientverification.
62
+ * @returns {Promise<Client>} A promise that resolves with the client.
63
+ */
64
+ failClientVerification(request: FailClientVerificationRequest): Promise<Client>;
65
+ /**
66
+ * Performs markclientverified operation on client.
67
+ * @param {MarkClientVerifiedRequest} request - The request object for markclientverified.
68
+ * @returns {Promise<Client>} A promise that resolves with the client.
69
+ */
70
+ markClientVerified(request: MarkClientVerifiedRequest): Promise<Client>;
47
71
  /**
48
72
  * Retrieves a list of clients.
49
73
  * @param {ListClientsRequest} request - The request object for listclients.
@@ -84,6 +84,38 @@ class ClientServiceGrpcWebClientV1 {
84
84
  getGroupClient(request) {
85
85
  return this._service.getGroupClient(request);
86
86
  }
87
+ /**
88
+ * Updates an existing client.
89
+ * @param {UpdateClientRequest} request - The request object for updateclient.
90
+ * @returns {Promise<Client>} A promise that resolves with the client.
91
+ */
92
+ updateClient(request) {
93
+ return this._service.updateClient(request);
94
+ }
95
+ /**
96
+ * Performs startclientverification operation on client.
97
+ * @param {StartClientVerificationRequest} request - The request object for startclientverification.
98
+ * @returns {Promise<Client>} A promise that resolves with the client.
99
+ */
100
+ startClientVerification(request) {
101
+ return this._service.startClientVerification(request);
102
+ }
103
+ /**
104
+ * Performs failclientverification operation on client.
105
+ * @param {FailClientVerificationRequest} request - The request object for failclientverification.
106
+ * @returns {Promise<Client>} A promise that resolves with the client.
107
+ */
108
+ failClientVerification(request) {
109
+ return this._service.failClientVerification(request);
110
+ }
111
+ /**
112
+ * Performs markclientverified operation on client.
113
+ * @param {MarkClientVerifiedRequest} request - The request object for markclientverified.
114
+ * @returns {Promise<Client>} A promise that resolves with the client.
115
+ */
116
+ markClientVerified(request) {
117
+ return this._service.markClientVerified(request);
118
+ }
87
119
  /**
88
120
  * Retrieves a list of clients.
89
121
  * @param {ListClientsRequest} request - The request object for listclients.