@corsa-labs/sdk 3.4.0 → 3.6.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 (43) hide show
  1. package/dist/ComplianceClient.d.ts +2 -0
  2. package/dist/ComplianceClient.js +3 -0
  3. package/dist/ComplianceClient.js.map +1 -1
  4. package/dist/index.d.ts +11 -0
  5. package/dist/index.js +21 -1
  6. package/dist/index.js.map +1 -1
  7. package/dist/models/CaseInvestigationData.d.ts +1 -1
  8. package/dist/models/CorporateMemberDto.d.ts +186 -0
  9. package/dist/models/CorporateMemberDto.js +71 -0
  10. package/dist/models/CorporateMemberDto.js.map +1 -0
  11. package/dist/models/CreateCorporateMemberDto.d.ts +159 -0
  12. package/dist/models/CreateCorporateMemberDto.js +63 -0
  13. package/dist/models/CreateCorporateMemberDto.js.map +1 -0
  14. package/dist/models/CreateIdentityDocumentDto.d.ts +39 -0
  15. package/dist/models/CreateIdentityDocumentDto.js +19 -0
  16. package/dist/models/CreateIdentityDocumentDto.js.map +1 -0
  17. package/dist/models/CreateIndividualMemberDto.d.ts +188 -0
  18. package/dist/models/CreateIndividualMemberDto.js +72 -0
  19. package/dist/models/CreateIndividualMemberDto.js.map +1 -0
  20. package/dist/models/CreateTransactionSourceOrDestinationClientDto.d.ts +5 -0
  21. package/dist/models/IdentityDocumentDto.d.ts +43 -0
  22. package/dist/models/IdentityDocumentDto.js +19 -0
  23. package/dist/models/IdentityDocumentDto.js.map +1 -0
  24. package/dist/models/IndividualMemberDto.d.ts +215 -0
  25. package/dist/models/IndividualMemberDto.js +80 -0
  26. package/dist/models/IndividualMemberDto.js.map +1 -0
  27. package/dist/models/TransactionBankAccountDto.d.ts +18 -0
  28. package/dist/models/TransactionBankAccountDto.js +3 -0
  29. package/dist/models/TransactionBankAccountDto.js.map +1 -0
  30. package/dist/models/TransactionSourceOrDestinationDto.d.ts +5 -0
  31. package/dist/models/UpdateCorporateMemberDto.d.ts +159 -0
  32. package/dist/models/UpdateCorporateMemberDto.js +63 -0
  33. package/dist/models/UpdateCorporateMemberDto.js.map +1 -0
  34. package/dist/models/UpdateIdentityDocumentDto.d.ts +39 -0
  35. package/dist/models/UpdateIdentityDocumentDto.js +19 -0
  36. package/dist/models/UpdateIdentityDocumentDto.js.map +1 -0
  37. package/dist/models/UpdateIndividualMemberDto.d.ts +188 -0
  38. package/dist/models/UpdateIndividualMemberDto.js +72 -0
  39. package/dist/models/UpdateIndividualMemberDto.js.map +1 -0
  40. package/dist/services/MembersService.d.ts +91 -0
  41. package/dist/services/MembersService.js +175 -0
  42. package/dist/services/MembersService.js.map +1 -0
  43. package/package.json +1 -1
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateCorporateMemberDto = void 0;
4
+ var CreateCorporateMemberDto;
5
+ (function (CreateCorporateMemberDto) {
6
+ /**
7
+ * Sanctions screening status
8
+ */
9
+ let sanctionsStatus;
10
+ (function (sanctionsStatus) {
11
+ sanctionsStatus["CLEAR"] = "CLEAR";
12
+ sanctionsStatus["FLAGGED"] = "FLAGGED";
13
+ sanctionsStatus["UNDER_REVIEW"] = "UNDER_REVIEW";
14
+ sanctionsStatus["NOT_CHECKED"] = "NOT_CHECKED";
15
+ })(sanctionsStatus = CreateCorporateMemberDto.sanctionsStatus || (CreateCorporateMemberDto.sanctionsStatus = {}));
16
+ /**
17
+ * PEP (Politically Exposed Person) status
18
+ */
19
+ let pepStatus;
20
+ (function (pepStatus) {
21
+ pepStatus["CLEAR"] = "CLEAR";
22
+ pepStatus["FLAGGED"] = "FLAGGED";
23
+ pepStatus["UNDER_REVIEW"] = "UNDER_REVIEW";
24
+ pepStatus["NOT_CHECKED"] = "NOT_CHECKED";
25
+ })(pepStatus = CreateCorporateMemberDto.pepStatus || (CreateCorporateMemberDto.pepStatus = {}));
26
+ /**
27
+ * Adverse media screening status
28
+ */
29
+ let adverseMediaStatus;
30
+ (function (adverseMediaStatus) {
31
+ adverseMediaStatus["CLEAR"] = "CLEAR";
32
+ adverseMediaStatus["FLAGGED"] = "FLAGGED";
33
+ adverseMediaStatus["UNDER_REVIEW"] = "UNDER_REVIEW";
34
+ adverseMediaStatus["NOT_CHECKED"] = "NOT_CHECKED";
35
+ })(adverseMediaStatus = CreateCorporateMemberDto.adverseMediaStatus || (CreateCorporateMemberDto.adverseMediaStatus = {}));
36
+ /**
37
+ * Overall member status
38
+ */
39
+ let status;
40
+ (function (status) {
41
+ status["APPROVED"] = "APPROVED";
42
+ status["REJECTED"] = "REJECTED";
43
+ status["UNDER_REVIEW"] = "UNDER_REVIEW";
44
+ })(status = CreateCorporateMemberDto.status || (CreateCorporateMemberDto.status = {}));
45
+ /**
46
+ * Categorized role type
47
+ */
48
+ let roleType;
49
+ (function (roleType) {
50
+ roleType["OWNER"] = "OWNER";
51
+ roleType["DIRECTOR"] = "DIRECTOR";
52
+ roleType["OFFICER"] = "OFFICER";
53
+ roleType["AUTHORIZED_REPRESENTATIVE"] = "AUTHORIZED_REPRESENTATIVE";
54
+ roleType["BENEFICIAL_OWNER"] = "BENEFICIAL_OWNER";
55
+ roleType["SHAREHOLDER"] = "SHAREHOLDER";
56
+ roleType["SIGNATORY"] = "SIGNATORY";
57
+ roleType["TRUSTEE"] = "TRUSTEE";
58
+ roleType["PROTECTOR"] = "PROTECTOR";
59
+ roleType["SETTLOR"] = "SETTLOR";
60
+ roleType["OTHER"] = "OTHER";
61
+ })(roleType = CreateCorporateMemberDto.roleType || (CreateCorporateMemberDto.roleType = {}));
62
+ })(CreateCorporateMemberDto || (exports.CreateCorporateMemberDto = CreateCorporateMemberDto = {}));
63
+ //# sourceMappingURL=CreateCorporateMemberDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateCorporateMemberDto.js","sourceRoot":"","sources":["../../models/CreateCorporateMemberDto.ts"],"names":[],"mappings":";;;AA8GA,IAAiB,wBAAwB,CAoDxC;AApDD,WAAiB,wBAAwB;IACrC;;OAEG;IACH,IAAY,eAKX;IALD,WAAY,eAAe;QACvB,kCAAe,CAAA;QACf,sCAAmB,CAAA;QACnB,gDAA6B,CAAA;QAC7B,8CAA2B,CAAA;IAC/B,CAAC,EALW,eAAe,GAAf,wCAAe,KAAf,wCAAe,QAK1B;IACD;;OAEG;IACH,IAAY,SAKX;IALD,WAAY,SAAS;QACjB,4BAAe,CAAA;QACf,gCAAmB,CAAA;QACnB,0CAA6B,CAAA;QAC7B,wCAA2B,CAAA;IAC/B,CAAC,EALW,SAAS,GAAT,kCAAS,KAAT,kCAAS,QAKpB;IACD;;OAEG;IACH,IAAY,kBAKX;IALD,WAAY,kBAAkB;QAC1B,qCAAe,CAAA;QACf,yCAAmB,CAAA;QACnB,mDAA6B,CAAA;QAC7B,iDAA2B,CAAA;IAC/B,CAAC,EALW,kBAAkB,GAAlB,2CAAkB,KAAlB,2CAAkB,QAK7B;IACD;;OAEG;IACH,IAAY,MAIX;IAJD,WAAY,MAAM;QACd,+BAAqB,CAAA;QACrB,+BAAqB,CAAA;QACrB,uCAA6B,CAAA;IACjC,CAAC,EAJW,MAAM,GAAN,+BAAM,KAAN,+BAAM,QAIjB;IACD;;OAEG;IACH,IAAY,QAYX;IAZD,WAAY,QAAQ;QAChB,2BAAe,CAAA;QACf,iCAAqB,CAAA;QACrB,+BAAmB,CAAA;QACnB,mEAAuD,CAAA;QACvD,iDAAqC,CAAA;QACrC,uCAA2B,CAAA;QAC3B,mCAAuB,CAAA;QACvB,+BAAmB,CAAA;QACnB,mCAAuB,CAAA;QACvB,+BAAmB,CAAA;QACnB,2BAAe,CAAA;IACnB,CAAC,EAZW,QAAQ,GAAR,iCAAQ,KAAR,iCAAQ,QAYnB;AACL,CAAC,EApDgB,wBAAwB,wCAAxB,wBAAwB,QAoDxC"}
@@ -0,0 +1,39 @@
1
+ export type CreateIdentityDocumentDto = {
2
+ /**
3
+ * Type of identity document
4
+ */
5
+ documentType: CreateIdentityDocumentDto.documentType;
6
+ /**
7
+ * Document number
8
+ */
9
+ documentNumber: string;
10
+ /**
11
+ * Country that issued the document (ISO 3166-1 alpha-3)
12
+ */
13
+ documentIssuingCountry?: string;
14
+ /**
15
+ * Document expiration date
16
+ */
17
+ documentExpirationDate?: string;
18
+ /**
19
+ * URL to document image
20
+ */
21
+ documentImageUrl?: string;
22
+ /**
23
+ * URL to document in vendor system
24
+ */
25
+ documentUrlInVendor?: string;
26
+ };
27
+ export declare namespace CreateIdentityDocumentDto {
28
+ /**
29
+ * Type of identity document
30
+ */
31
+ enum documentType {
32
+ PASSPORT = "PASSPORT",
33
+ DRIVERS_LICENSE = "DRIVERS_LICENSE",
34
+ NATIONAL_ID = "NATIONAL_ID",
35
+ RESIDENCE_PERMIT = "RESIDENCE_PERMIT",
36
+ BIRTH_CERTIFICATE = "BIRTH_CERTIFICATE",
37
+ OTHER = "OTHER"
38
+ }
39
+ }
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateIdentityDocumentDto = void 0;
4
+ var CreateIdentityDocumentDto;
5
+ (function (CreateIdentityDocumentDto) {
6
+ /**
7
+ * Type of identity document
8
+ */
9
+ let documentType;
10
+ (function (documentType) {
11
+ documentType["PASSPORT"] = "PASSPORT";
12
+ documentType["DRIVERS_LICENSE"] = "DRIVERS_LICENSE";
13
+ documentType["NATIONAL_ID"] = "NATIONAL_ID";
14
+ documentType["RESIDENCE_PERMIT"] = "RESIDENCE_PERMIT";
15
+ documentType["BIRTH_CERTIFICATE"] = "BIRTH_CERTIFICATE";
16
+ documentType["OTHER"] = "OTHER";
17
+ })(documentType = CreateIdentityDocumentDto.documentType || (CreateIdentityDocumentDto.documentType = {}));
18
+ })(CreateIdentityDocumentDto || (exports.CreateIdentityDocumentDto = CreateIdentityDocumentDto = {}));
19
+ //# sourceMappingURL=CreateIdentityDocumentDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateIdentityDocumentDto.js","sourceRoot":"","sources":["../../models/CreateIdentityDocumentDto.ts"],"names":[],"mappings":";;;AA8BA,IAAiB,yBAAyB,CAYzC;AAZD,WAAiB,yBAAyB;IACtC;;OAEG;IACH,IAAY,YAOX;IAPD,WAAY,YAAY;QACpB,qCAAqB,CAAA;QACrB,mDAAmC,CAAA;QACnC,2CAA2B,CAAA;QAC3B,qDAAqC,CAAA;QACrC,uDAAuC,CAAA;QACvC,+BAAe,CAAA;IACnB,CAAC,EAPW,YAAY,GAAZ,sCAAY,KAAZ,sCAAY,QAOvB;AACL,CAAC,EAZgB,yBAAyB,yCAAzB,yBAAyB,QAYzC"}
@@ -0,0 +1,188 @@
1
+ import type { CreateIdentityDocumentDto } from './CreateIdentityDocumentDto';
2
+ export type CreateIndividualMemberDto = {
3
+ /**
4
+ * External reference ID
5
+ */
6
+ referenceId?: string;
7
+ /**
8
+ * First name of the member
9
+ */
10
+ firstName: string;
11
+ /**
12
+ * Last name of the member
13
+ */
14
+ lastName: string;
15
+ /**
16
+ * Middle name of the member
17
+ */
18
+ middleName?: string;
19
+ /**
20
+ * Email address of the member
21
+ */
22
+ email?: string;
23
+ /**
24
+ * Phone number of the member
25
+ */
26
+ phoneNumber?: string;
27
+ /**
28
+ * First line of residential address
29
+ */
30
+ residentialAddressLine1?: string;
31
+ /**
32
+ * Second line of residential address
33
+ */
34
+ residentialAddressLine2?: string;
35
+ /**
36
+ * Residential address city
37
+ */
38
+ residentialAddressCity?: string;
39
+ /**
40
+ * Residential address postal code
41
+ */
42
+ residentialAddressPostalCode?: string;
43
+ /**
44
+ * Residential address country code
45
+ */
46
+ residentialAddressCountry?: string;
47
+ /**
48
+ * Date of birth in ISO format
49
+ */
50
+ dateOfBirth?: string;
51
+ /**
52
+ * Citizenship country code
53
+ */
54
+ citizenship?: string;
55
+ /**
56
+ * Personal identification number
57
+ */
58
+ personalIdNumber?: string;
59
+ /**
60
+ * Array of identity documents to create
61
+ */
62
+ identityDocuments?: Array<CreateIdentityDocumentDto>;
63
+ /**
64
+ * URL to liveness check image
65
+ */
66
+ livenessCheckImageUrl?: string;
67
+ /**
68
+ * Date of liveness check
69
+ */
70
+ livenessCheckDate?: string;
71
+ /**
72
+ * Status of liveness check
73
+ */
74
+ livenessCheckStatus?: CreateIndividualMemberDto.livenessCheckStatus;
75
+ /**
76
+ * Ownership percentage (0-100)
77
+ */
78
+ ownershipPercentage?: number;
79
+ /**
80
+ * Sanctions screening status
81
+ */
82
+ sanctionsStatus: CreateIndividualMemberDto.sanctionsStatus;
83
+ /**
84
+ * Date of sanctions status determination
85
+ */
86
+ sanctionsStatusDate?: string;
87
+ /**
88
+ * PEP (Politically Exposed Person) status
89
+ */
90
+ pepStatus: CreateIndividualMemberDto.pepStatus;
91
+ /**
92
+ * Date of PEP status determination
93
+ */
94
+ pepStatusDate?: string;
95
+ /**
96
+ * Adverse media screening status
97
+ */
98
+ adverseMediaStatus: CreateIndividualMemberDto.adverseMediaStatus;
99
+ /**
100
+ * Date of adverse media status determination
101
+ */
102
+ adverseMediaStatusDate?: string;
103
+ /**
104
+ * Overall member status
105
+ */
106
+ status: CreateIndividualMemberDto.status;
107
+ /**
108
+ * Date of status determination
109
+ */
110
+ statusDate: string;
111
+ /**
112
+ * Member's title or position
113
+ */
114
+ title: string;
115
+ /**
116
+ * Categorized role type
117
+ */
118
+ roleType: CreateIndividualMemberDto.roleType;
119
+ /**
120
+ * Custom fields as JSON string
121
+ */
122
+ customFields?: string;
123
+ /**
124
+ * List of corporate client IDs this member is associated with
125
+ */
126
+ corporates?: Array<string>;
127
+ };
128
+ export declare namespace CreateIndividualMemberDto {
129
+ /**
130
+ * Status of liveness check
131
+ */
132
+ enum livenessCheckStatus {
133
+ APPROVED = "APPROVED",
134
+ REJECTED = "REJECTED",
135
+ UNDER_REVIEW = "UNDER_REVIEW"
136
+ }
137
+ /**
138
+ * Sanctions screening status
139
+ */
140
+ enum sanctionsStatus {
141
+ CLEAR = "CLEAR",
142
+ FLAGGED = "FLAGGED",
143
+ UNDER_REVIEW = "UNDER_REVIEW",
144
+ NOT_CHECKED = "NOT_CHECKED"
145
+ }
146
+ /**
147
+ * PEP (Politically Exposed Person) status
148
+ */
149
+ enum pepStatus {
150
+ CLEAR = "CLEAR",
151
+ FLAGGED = "FLAGGED",
152
+ UNDER_REVIEW = "UNDER_REVIEW",
153
+ NOT_CHECKED = "NOT_CHECKED"
154
+ }
155
+ /**
156
+ * Adverse media screening status
157
+ */
158
+ enum adverseMediaStatus {
159
+ CLEAR = "CLEAR",
160
+ FLAGGED = "FLAGGED",
161
+ UNDER_REVIEW = "UNDER_REVIEW",
162
+ NOT_CHECKED = "NOT_CHECKED"
163
+ }
164
+ /**
165
+ * Overall member status
166
+ */
167
+ enum status {
168
+ APPROVED = "APPROVED",
169
+ REJECTED = "REJECTED",
170
+ UNDER_REVIEW = "UNDER_REVIEW"
171
+ }
172
+ /**
173
+ * Categorized role type
174
+ */
175
+ enum roleType {
176
+ OWNER = "OWNER",
177
+ DIRECTOR = "DIRECTOR",
178
+ OFFICER = "OFFICER",
179
+ AUTHORIZED_REPRESENTATIVE = "AUTHORIZED_REPRESENTATIVE",
180
+ BENEFICIAL_OWNER = "BENEFICIAL_OWNER",
181
+ SHAREHOLDER = "SHAREHOLDER",
182
+ SIGNATORY = "SIGNATORY",
183
+ TRUSTEE = "TRUSTEE",
184
+ PROTECTOR = "PROTECTOR",
185
+ SETTLOR = "SETTLOR",
186
+ OTHER = "OTHER"
187
+ }
188
+ }
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateIndividualMemberDto = void 0;
4
+ var CreateIndividualMemberDto;
5
+ (function (CreateIndividualMemberDto) {
6
+ /**
7
+ * Status of liveness check
8
+ */
9
+ let livenessCheckStatus;
10
+ (function (livenessCheckStatus) {
11
+ livenessCheckStatus["APPROVED"] = "APPROVED";
12
+ livenessCheckStatus["REJECTED"] = "REJECTED";
13
+ livenessCheckStatus["UNDER_REVIEW"] = "UNDER_REVIEW";
14
+ })(livenessCheckStatus = CreateIndividualMemberDto.livenessCheckStatus || (CreateIndividualMemberDto.livenessCheckStatus = {}));
15
+ /**
16
+ * Sanctions screening status
17
+ */
18
+ let sanctionsStatus;
19
+ (function (sanctionsStatus) {
20
+ sanctionsStatus["CLEAR"] = "CLEAR";
21
+ sanctionsStatus["FLAGGED"] = "FLAGGED";
22
+ sanctionsStatus["UNDER_REVIEW"] = "UNDER_REVIEW";
23
+ sanctionsStatus["NOT_CHECKED"] = "NOT_CHECKED";
24
+ })(sanctionsStatus = CreateIndividualMemberDto.sanctionsStatus || (CreateIndividualMemberDto.sanctionsStatus = {}));
25
+ /**
26
+ * PEP (Politically Exposed Person) status
27
+ */
28
+ let pepStatus;
29
+ (function (pepStatus) {
30
+ pepStatus["CLEAR"] = "CLEAR";
31
+ pepStatus["FLAGGED"] = "FLAGGED";
32
+ pepStatus["UNDER_REVIEW"] = "UNDER_REVIEW";
33
+ pepStatus["NOT_CHECKED"] = "NOT_CHECKED";
34
+ })(pepStatus = CreateIndividualMemberDto.pepStatus || (CreateIndividualMemberDto.pepStatus = {}));
35
+ /**
36
+ * Adverse media screening status
37
+ */
38
+ let adverseMediaStatus;
39
+ (function (adverseMediaStatus) {
40
+ adverseMediaStatus["CLEAR"] = "CLEAR";
41
+ adverseMediaStatus["FLAGGED"] = "FLAGGED";
42
+ adverseMediaStatus["UNDER_REVIEW"] = "UNDER_REVIEW";
43
+ adverseMediaStatus["NOT_CHECKED"] = "NOT_CHECKED";
44
+ })(adverseMediaStatus = CreateIndividualMemberDto.adverseMediaStatus || (CreateIndividualMemberDto.adverseMediaStatus = {}));
45
+ /**
46
+ * Overall member status
47
+ */
48
+ let status;
49
+ (function (status) {
50
+ status["APPROVED"] = "APPROVED";
51
+ status["REJECTED"] = "REJECTED";
52
+ status["UNDER_REVIEW"] = "UNDER_REVIEW";
53
+ })(status = CreateIndividualMemberDto.status || (CreateIndividualMemberDto.status = {}));
54
+ /**
55
+ * Categorized role type
56
+ */
57
+ let roleType;
58
+ (function (roleType) {
59
+ roleType["OWNER"] = "OWNER";
60
+ roleType["DIRECTOR"] = "DIRECTOR";
61
+ roleType["OFFICER"] = "OFFICER";
62
+ roleType["AUTHORIZED_REPRESENTATIVE"] = "AUTHORIZED_REPRESENTATIVE";
63
+ roleType["BENEFICIAL_OWNER"] = "BENEFICIAL_OWNER";
64
+ roleType["SHAREHOLDER"] = "SHAREHOLDER";
65
+ roleType["SIGNATORY"] = "SIGNATORY";
66
+ roleType["TRUSTEE"] = "TRUSTEE";
67
+ roleType["PROTECTOR"] = "PROTECTOR";
68
+ roleType["SETTLOR"] = "SETTLOR";
69
+ roleType["OTHER"] = "OTHER";
70
+ })(roleType = CreateIndividualMemberDto.roleType || (CreateIndividualMemberDto.roleType = {}));
71
+ })(CreateIndividualMemberDto || (exports.CreateIndividualMemberDto = CreateIndividualMemberDto = {}));
72
+ //# sourceMappingURL=CreateIndividualMemberDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateIndividualMemberDto.js","sourceRoot":"","sources":["../../models/CreateIndividualMemberDto.ts"],"names":[],"mappings":";;;AAmIA,IAAiB,yBAAyB,CA4DzC;AA5DD,WAAiB,yBAAyB;IACtC;;OAEG;IACH,IAAY,mBAIX;IAJD,WAAY,mBAAmB;QAC3B,4CAAqB,CAAA;QACrB,4CAAqB,CAAA;QACrB,oDAA6B,CAAA;IACjC,CAAC,EAJW,mBAAmB,GAAnB,6CAAmB,KAAnB,6CAAmB,QAI9B;IACD;;OAEG;IACH,IAAY,eAKX;IALD,WAAY,eAAe;QACvB,kCAAe,CAAA;QACf,sCAAmB,CAAA;QACnB,gDAA6B,CAAA;QAC7B,8CAA2B,CAAA;IAC/B,CAAC,EALW,eAAe,GAAf,yCAAe,KAAf,yCAAe,QAK1B;IACD;;OAEG;IACH,IAAY,SAKX;IALD,WAAY,SAAS;QACjB,4BAAe,CAAA;QACf,gCAAmB,CAAA;QACnB,0CAA6B,CAAA;QAC7B,wCAA2B,CAAA;IAC/B,CAAC,EALW,SAAS,GAAT,mCAAS,KAAT,mCAAS,QAKpB;IACD;;OAEG;IACH,IAAY,kBAKX;IALD,WAAY,kBAAkB;QAC1B,qCAAe,CAAA;QACf,yCAAmB,CAAA;QACnB,mDAA6B,CAAA;QAC7B,iDAA2B,CAAA;IAC/B,CAAC,EALW,kBAAkB,GAAlB,4CAAkB,KAAlB,4CAAkB,QAK7B;IACD;;OAEG;IACH,IAAY,MAIX;IAJD,WAAY,MAAM;QACd,+BAAqB,CAAA;QACrB,+BAAqB,CAAA;QACrB,uCAA6B,CAAA;IACjC,CAAC,EAJW,MAAM,GAAN,gCAAM,KAAN,gCAAM,QAIjB;IACD;;OAEG;IACH,IAAY,QAYX;IAZD,WAAY,QAAQ;QAChB,2BAAe,CAAA;QACf,iCAAqB,CAAA;QACrB,+BAAmB,CAAA;QACnB,mEAAuD,CAAA;QACvD,iDAAqC,CAAA;QACrC,uCAA2B,CAAA;QAC3B,mCAAuB,CAAA;QACvB,+BAAmB,CAAA;QACnB,mCAAuB,CAAA;QACvB,+BAAmB,CAAA;QACnB,2BAAe,CAAA;IACnB,CAAC,EAZW,QAAQ,GAAR,kCAAQ,KAAR,kCAAQ,QAYnB;AACL,CAAC,EA5DgB,yBAAyB,yCAAzB,yBAAyB,QA4DzC"}
@@ -1,3 +1,4 @@
1
+ import type { TransactionBankAccountDto } from './TransactionBankAccountDto';
1
2
  export type CreateTransactionSourceOrDestinationClientDto = {
2
3
  /**
3
4
  * Client UUID associated with the transaction
@@ -7,4 +8,8 @@ export type CreateTransactionSourceOrDestinationClientDto = {
7
8
  * Blockchain wallet address
8
9
  */
9
10
  walletAddress?: string;
11
+ /**
12
+ * Bank account information associated with the transaction
13
+ */
14
+ bankAccount?: TransactionBankAccountDto;
10
15
  };
@@ -0,0 +1,43 @@
1
+ export type IdentityDocumentDto = {
2
+ /**
3
+ * Document ID
4
+ */
5
+ id: string;
6
+ /**
7
+ * Type of identity document
8
+ */
9
+ documentType: IdentityDocumentDto.documentType;
10
+ /**
11
+ * Document number
12
+ */
13
+ documentNumber: string;
14
+ /**
15
+ * Country that issued the document (ISO 3166-1 alpha-3)
16
+ */
17
+ documentIssuingCountry?: string;
18
+ /**
19
+ * Document expiration date
20
+ */
21
+ documentExpirationDate?: string;
22
+ /**
23
+ * URL to document image
24
+ */
25
+ documentImageUrl?: string;
26
+ /**
27
+ * URL to document in vendor system
28
+ */
29
+ documentUrlInVendor?: string;
30
+ };
31
+ export declare namespace IdentityDocumentDto {
32
+ /**
33
+ * Type of identity document
34
+ */
35
+ enum documentType {
36
+ PASSPORT = "PASSPORT",
37
+ DRIVERS_LICENSE = "DRIVERS_LICENSE",
38
+ NATIONAL_ID = "NATIONAL_ID",
39
+ RESIDENCE_PERMIT = "RESIDENCE_PERMIT",
40
+ BIRTH_CERTIFICATE = "BIRTH_CERTIFICATE",
41
+ OTHER = "OTHER"
42
+ }
43
+ }
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IdentityDocumentDto = void 0;
4
+ var IdentityDocumentDto;
5
+ (function (IdentityDocumentDto) {
6
+ /**
7
+ * Type of identity document
8
+ */
9
+ let documentType;
10
+ (function (documentType) {
11
+ documentType["PASSPORT"] = "PASSPORT";
12
+ documentType["DRIVERS_LICENSE"] = "DRIVERS_LICENSE";
13
+ documentType["NATIONAL_ID"] = "NATIONAL_ID";
14
+ documentType["RESIDENCE_PERMIT"] = "RESIDENCE_PERMIT";
15
+ documentType["BIRTH_CERTIFICATE"] = "BIRTH_CERTIFICATE";
16
+ documentType["OTHER"] = "OTHER";
17
+ })(documentType = IdentityDocumentDto.documentType || (IdentityDocumentDto.documentType = {}));
18
+ })(IdentityDocumentDto || (exports.IdentityDocumentDto = IdentityDocumentDto = {}));
19
+ //# sourceMappingURL=IdentityDocumentDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IdentityDocumentDto.js","sourceRoot":"","sources":["../../models/IdentityDocumentDto.ts"],"names":[],"mappings":";;;AAkCA,IAAiB,mBAAmB,CAYnC;AAZD,WAAiB,mBAAmB;IAChC;;OAEG;IACH,IAAY,YAOX;IAPD,WAAY,YAAY;QACpB,qCAAqB,CAAA;QACrB,mDAAmC,CAAA;QACnC,2CAA2B,CAAA;QAC3B,qDAAqC,CAAA;QACrC,uDAAuC,CAAA;QACvC,+BAAe,CAAA;IACnB,CAAC,EAPW,YAAY,GAAZ,gCAAY,KAAZ,gCAAY,QAOvB;AACL,CAAC,EAZgB,mBAAmB,mCAAnB,mBAAmB,QAYnC"}
@@ -0,0 +1,215 @@
1
+ import type { IdentityDocumentDto } from './IdentityDocumentDto';
2
+ export type IndividualMemberDto = {
3
+ /**
4
+ * Unique identifier of the member
5
+ */
6
+ id: string;
7
+ /**
8
+ * Platform identifier
9
+ */
10
+ platformId: string;
11
+ /**
12
+ * ISO timestamp of creation
13
+ */
14
+ createdAt: string;
15
+ /**
16
+ * ISO timestamp of last update
17
+ */
18
+ updatedAt: string;
19
+ /**
20
+ * External reference ID
21
+ */
22
+ referenceId?: string;
23
+ /**
24
+ * Type of member
25
+ */
26
+ memberType: IndividualMemberDto.memberType;
27
+ /**
28
+ * First name of the member
29
+ */
30
+ firstName: string;
31
+ /**
32
+ * Last name of the member
33
+ */
34
+ lastName: string;
35
+ /**
36
+ * Middle name of the member
37
+ */
38
+ middleName?: string;
39
+ /**
40
+ * Email address of the member
41
+ */
42
+ email?: string;
43
+ /**
44
+ * Phone number of the member
45
+ */
46
+ phoneNumber?: string;
47
+ /**
48
+ * First line of residential address
49
+ */
50
+ residentialAddressLine1?: string;
51
+ /**
52
+ * Second line of residential address
53
+ */
54
+ residentialAddressLine2?: string;
55
+ /**
56
+ * Residential address city
57
+ */
58
+ residentialAddressCity?: string;
59
+ /**
60
+ * Residential address postal code
61
+ */
62
+ residentialAddressPostalCode?: string;
63
+ /**
64
+ * Residential address country code
65
+ */
66
+ residentialAddressCountry?: string;
67
+ /**
68
+ * Date of birth in ISO format
69
+ */
70
+ dateOfBirth?: string;
71
+ /**
72
+ * Citizenship country code
73
+ */
74
+ citizenship?: string;
75
+ /**
76
+ * Personal identification number
77
+ */
78
+ personalIdNumber?: string;
79
+ /**
80
+ * Array of identity documents
81
+ */
82
+ identityDocuments?: Array<IdentityDocumentDto>;
83
+ /**
84
+ * URL to liveness check image
85
+ */
86
+ livenessCheckImageUrl?: string;
87
+ /**
88
+ * Date of liveness check
89
+ */
90
+ livenessCheckDate?: string;
91
+ /**
92
+ * Status of liveness check
93
+ */
94
+ livenessCheckStatus?: IndividualMemberDto.livenessCheckStatus;
95
+ /**
96
+ * Ownership percentage (0-100)
97
+ */
98
+ ownershipPercentage?: number;
99
+ /**
100
+ * Sanctions screening status
101
+ */
102
+ sanctionsStatus: IndividualMemberDto.sanctionsStatus;
103
+ /**
104
+ * Date of sanctions status determination
105
+ */
106
+ sanctionsStatusDate?: string;
107
+ /**
108
+ * PEP (Politically Exposed Person) status
109
+ */
110
+ pepStatus: IndividualMemberDto.pepStatus;
111
+ /**
112
+ * Date of PEP status determination
113
+ */
114
+ pepStatusDate?: string;
115
+ /**
116
+ * Adverse media screening status
117
+ */
118
+ adverseMediaStatus: IndividualMemberDto.adverseMediaStatus;
119
+ /**
120
+ * Date of adverse media status determination
121
+ */
122
+ adverseMediaStatusDate?: string;
123
+ /**
124
+ * Overall member status
125
+ */
126
+ status: IndividualMemberDto.status;
127
+ /**
128
+ * Date of status determination
129
+ */
130
+ statusDate: string;
131
+ /**
132
+ * Member's title or position
133
+ */
134
+ title: string;
135
+ /**
136
+ * Categorized role type
137
+ */
138
+ roleType: IndividualMemberDto.roleType;
139
+ /**
140
+ * Custom fields as JSON string
141
+ */
142
+ customFields?: string;
143
+ /**
144
+ * List of corporate client IDs this member is associated with
145
+ */
146
+ corporates?: Array<string>;
147
+ };
148
+ export declare namespace IndividualMemberDto {
149
+ /**
150
+ * Type of member
151
+ */
152
+ enum memberType {
153
+ INDIVIDUAL = "INDIVIDUAL",
154
+ CORPORATE = "CORPORATE"
155
+ }
156
+ /**
157
+ * Status of liveness check
158
+ */
159
+ enum livenessCheckStatus {
160
+ APPROVED = "APPROVED",
161
+ REJECTED = "REJECTED",
162
+ UNDER_REVIEW = "UNDER_REVIEW"
163
+ }
164
+ /**
165
+ * Sanctions screening status
166
+ */
167
+ enum sanctionsStatus {
168
+ CLEAR = "CLEAR",
169
+ FLAGGED = "FLAGGED",
170
+ UNDER_REVIEW = "UNDER_REVIEW",
171
+ NOT_CHECKED = "NOT_CHECKED"
172
+ }
173
+ /**
174
+ * PEP (Politically Exposed Person) status
175
+ */
176
+ enum pepStatus {
177
+ CLEAR = "CLEAR",
178
+ FLAGGED = "FLAGGED",
179
+ UNDER_REVIEW = "UNDER_REVIEW",
180
+ NOT_CHECKED = "NOT_CHECKED"
181
+ }
182
+ /**
183
+ * Adverse media screening status
184
+ */
185
+ enum adverseMediaStatus {
186
+ CLEAR = "CLEAR",
187
+ FLAGGED = "FLAGGED",
188
+ UNDER_REVIEW = "UNDER_REVIEW",
189
+ NOT_CHECKED = "NOT_CHECKED"
190
+ }
191
+ /**
192
+ * Overall member status
193
+ */
194
+ enum status {
195
+ APPROVED = "APPROVED",
196
+ REJECTED = "REJECTED",
197
+ UNDER_REVIEW = "UNDER_REVIEW"
198
+ }
199
+ /**
200
+ * Categorized role type
201
+ */
202
+ enum roleType {
203
+ OWNER = "OWNER",
204
+ DIRECTOR = "DIRECTOR",
205
+ OFFICER = "OFFICER",
206
+ AUTHORIZED_REPRESENTATIVE = "AUTHORIZED_REPRESENTATIVE",
207
+ BENEFICIAL_OWNER = "BENEFICIAL_OWNER",
208
+ SHAREHOLDER = "SHAREHOLDER",
209
+ SIGNATORY = "SIGNATORY",
210
+ TRUSTEE = "TRUSTEE",
211
+ PROTECTOR = "PROTECTOR",
212
+ SETTLOR = "SETTLOR",
213
+ OTHER = "OTHER"
214
+ }
215
+ }