@corsa-labs/sdk 4.4.1 → 4.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/models/AssociateBankAccountWithClientDto.d.ts +1 -1
  2. package/dist/models/AssociateBlockchainWalletWithClientDto.d.ts +1 -1
  3. package/dist/models/ClientSumsubDto.d.ts +11 -0
  4. package/dist/models/ClientSumsubDto.js +3 -0
  5. package/dist/models/ClientSumsubDto.js.map +1 -0
  6. package/dist/models/CorporateClientDto.d.ts +2 -1
  7. package/dist/models/CorporateClientDto.js +1 -0
  8. package/dist/models/CorporateClientDto.js.map +1 -1
  9. package/dist/models/CorporateClientIntegrationsDto.d.ts +3 -2
  10. package/dist/models/CorporateClientPEPDto.d.ts +1 -1
  11. package/dist/models/CorporateClientSourceOfFundsDto.d.ts +1 -1
  12. package/dist/models/CreateAlertDto.d.ts +2 -2
  13. package/dist/models/CreateBankAccountDto.d.ts +2 -2
  14. package/dist/models/CreateBlockchainWalletDto.d.ts +1 -1
  15. package/dist/models/CreateCaseDto.d.ts +5 -5
  16. package/dist/models/CreateCorporateClientDto.d.ts +4 -3
  17. package/dist/models/CreateCorporateClientDto.js +1 -0
  18. package/dist/models/CreateCorporateClientDto.js.map +1 -1
  19. package/dist/models/CreateIndividualClientDto.d.ts +4 -3
  20. package/dist/models/CreateIndividualClientDto.js +1 -0
  21. package/dist/models/CreateIndividualClientDto.js.map +1 -1
  22. package/dist/models/CreateIndividualMemberDto.d.ts +1 -1
  23. package/dist/models/IndividualClientDto.d.ts +2 -1
  24. package/dist/models/IndividualClientDto.js +1 -0
  25. package/dist/models/IndividualClientDto.js.map +1 -1
  26. package/dist/models/IndividualClientIntegrationsDto.d.ts +3 -2
  27. package/dist/models/RelateAttachmentsDto.d.ts +1 -1
  28. package/dist/models/SumsubVerificationDto.d.ts +23 -0
  29. package/dist/models/SumsubVerificationDto.js +3 -0
  30. package/dist/models/SumsubVerificationDto.js.map +1 -0
  31. package/dist/models/SumsubVerificationImageDto.d.ts +26 -0
  32. package/dist/models/SumsubVerificationImageDto.js +3 -0
  33. package/dist/models/SumsubVerificationImageDto.js.map +1 -0
  34. package/dist/models/UpdateAlertDto.d.ts +3 -3
  35. package/dist/models/UpdateBankAccountDto.d.ts +2 -2
  36. package/dist/models/UpdateBlockchainWalletDto.d.ts +1 -1
  37. package/dist/models/UpdateCorporateClientDto.d.ts +6 -5
  38. package/dist/models/UpdateCorporateClientDto.js +1 -0
  39. package/dist/models/UpdateCorporateClientDto.js.map +1 -1
  40. package/dist/models/UpdateIndividualClientDto.d.ts +6 -5
  41. package/dist/models/UpdateIndividualClientDto.js +1 -0
  42. package/dist/models/UpdateIndividualClientDto.js.map +1 -1
  43. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import type { ClientBankAccountRelationDto } from './ClientBankAccountRelationDto';
2
2
  export type AssociateBankAccountWithClientDto = {
3
3
  /**
4
- * List of clients to associate with the bank account
4
+ * List of clients to associate with the bank account (maximum 50)
5
5
  */
6
6
  clients: Array<ClientBankAccountRelationDto>;
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import type { ClientBlockchainWalletRelationDto } from './ClientBlockchainWalletRelationDto';
2
2
  export type AssociateBlockchainWalletWithClientDto = {
3
3
  /**
4
- * List of clients to associate with the blockchain wallet
4
+ * List of clients to associate with the blockchain wallet (maximum 50)
5
5
  */
6
6
  associatedClients: Array<ClientBlockchainWalletRelationDto>;
7
7
  };
@@ -0,0 +1,11 @@
1
+ import type { SumsubVerificationDto } from './SumsubVerificationDto';
2
+ export type ClientSumsubDto = {
3
+ /**
4
+ * Sumsub applicant ID
5
+ */
6
+ id?: string;
7
+ /**
8
+ * Sumsub verifications
9
+ */
10
+ verifications?: Array<SumsubVerificationDto>;
11
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ClientSumsubDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClientSumsubDto.js","sourceRoot":"","sources":["../../models/ClientSumsubDto.ts"],"names":[],"mappings":""}
@@ -119,7 +119,8 @@ export declare namespace CorporateClientDto {
119
119
  OFF_BOARDED = "OFF_BOARDED",
120
120
  FROZEN = "FROZEN",
121
121
  PENDING_DOCUMENTS = "PENDING_DOCUMENTS",
122
- CLOSED_BY_CLIENT = "CLOSED_BY_CLIENT"
122
+ CLOSED_BY_CLIENT = "CLOSED_BY_CLIENT",
123
+ APPLICATION_IN_PROGRESS = "APPLICATION_IN_PROGRESS"
123
124
  }
124
125
  /**
125
126
  * Current activity status of the client
@@ -16,6 +16,7 @@ var CorporateClientDto;
16
16
  accountStatus["FROZEN"] = "FROZEN";
17
17
  accountStatus["PENDING_DOCUMENTS"] = "PENDING_DOCUMENTS";
18
18
  accountStatus["CLOSED_BY_CLIENT"] = "CLOSED_BY_CLIENT";
19
+ accountStatus["APPLICATION_IN_PROGRESS"] = "APPLICATION_IN_PROGRESS";
19
20
  })(accountStatus = CorporateClientDto.accountStatus || (CorporateClientDto.accountStatus = {}));
20
21
  /**
21
22
  * Current activity status of the client
@@ -1 +1 @@
1
- {"version":3,"file":"CorporateClientDto.js","sourceRoot":"","sources":["../../models/CorporateClientDto.ts"],"names":[],"mappings":";;;AAiHA,IAAiB,kBAAkB,CAqBlC;AArBD,WAAiB,kBAAkB;IAC/B;;OAEG;IACH,IAAY,aASX;IATD,WAAY,aAAa;QACrB,sCAAqB,CAAA;QACrB,0DAAyC,CAAA;QACzC,wCAAuB,CAAA;QACvB,sCAAqB,CAAA;QACrB,4CAA2B,CAAA;QAC3B,kCAAiB,CAAA;QACjB,wDAAuC,CAAA;QACvC,sDAAqC,CAAA;IACzC,CAAC,EATW,aAAa,GAAb,gCAAa,KAAb,gCAAa,QASxB;IACD;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,iCAAc,KAAd,iCAAc,QAGzB;AACL,CAAC,EArBgB,kBAAkB,kCAAlB,kBAAkB,QAqBlC"}
1
+ {"version":3,"file":"CorporateClientDto.js","sourceRoot":"","sources":["../../models/CorporateClientDto.ts"],"names":[],"mappings":";;;AAiHA,IAAiB,kBAAkB,CAsBlC;AAtBD,WAAiB,kBAAkB;IAC/B;;OAEG;IACH,IAAY,aAUX;IAVD,WAAY,aAAa;QACrB,sCAAqB,CAAA;QACrB,0DAAyC,CAAA;QACzC,wCAAuB,CAAA;QACvB,sCAAqB,CAAA;QACrB,4CAA2B,CAAA;QAC3B,kCAAiB,CAAA;QACjB,wDAAuC,CAAA;QACvC,sDAAqC,CAAA;QACrC,oEAAmD,CAAA;IACvD,CAAC,EAVW,aAAa,GAAb,gCAAa,KAAb,gCAAa,QAUxB;IACD;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,iCAAc,KAAd,iCAAc,QAGzB;AACL,CAAC,EAtBgB,kBAAkB,kCAAlB,kBAAkB,QAsBlC"}
@@ -1,10 +1,11 @@
1
+ import type { ClientSumsubDto } from './ClientSumsubDto';
1
2
  export type CorporateClientIntegrationsDto = {
2
3
  /**
3
4
  * Chainalysis user ID for the individual client
4
5
  */
5
6
  chainalysisUserId?: string;
6
7
  /**
7
- * Sumsub applicant ID for the corporate client
8
+ * Sumsub integration information
8
9
  */
9
- sumsubApplicantId?: string;
10
+ sumsub?: ClientSumsubDto;
10
11
  };
@@ -16,7 +16,7 @@ export type CorporateClientPEPDto = {
16
16
  */
17
17
  pepDetails?: string;
18
18
  /**
19
- * Country codes where the political exposure is relevant
19
+ * Country codes where the political exposure is relevant (maximum 20)
20
20
  */
21
21
  pepJurisdiction?: Array<string>;
22
22
  };
@@ -8,7 +8,7 @@ export type CorporateClientSourceOfFundsDto = {
8
8
  */
9
9
  sourceOfFundsDetails?: string;
10
10
  /**
11
- * Country codes where the funds originate from (always sorted lexicographically)
11
+ * Country codes where the funds originate from (maximum 20, always sorted lexicographically)
12
12
  */
13
13
  sourceOfFundsJurisdictions?: Array<string>;
14
14
  /**
@@ -42,11 +42,11 @@ export type CreateAlertDto = {
42
42
  */
43
43
  decision?: AlertDecisionDto;
44
44
  /**
45
- * List of client IDs associated with this alert
45
+ * List of client IDs associated with this alert (maximum 10)
46
46
  */
47
47
  associatedClients?: Array<string>;
48
48
  /**
49
- * List of transaction IDs associated with this alert
49
+ * List of transaction IDs associated with this alert (maximum 10)
50
50
  */
51
51
  associatedTransactions?: Array<string>;
52
52
  /**
@@ -42,7 +42,7 @@ export type CreateBankAccountDto = {
42
42
  */
43
43
  balanceInConvertedAmount?: number;
44
44
  /**
45
- * Country codes associated with the bank account (ISO 3166-1 alpha-3)
45
+ * Country codes associated with the bank account (ISO 3166-1 alpha-3, maximum 20)
46
46
  */
47
47
  countries?: Array<string>;
48
48
  /**
@@ -54,7 +54,7 @@ export type CreateBankAccountDto = {
54
54
  */
55
55
  customFields?: Record<string, any>;
56
56
  /**
57
- * List of clients associated with the bank account
57
+ * List of clients associated with the bank account (maximum 50)
58
58
  */
59
59
  associatedClients?: Array<ClientBankAccountRelationDto>;
60
60
  };
@@ -26,7 +26,7 @@ export type CreateBlockchainWalletDto = {
26
26
  */
27
27
  customFields?: Record<string, any>;
28
28
  /**
29
- * List of clients associated with the blockchain wallet
29
+ * List of clients associated with the blockchain wallet (maximum 50)
30
30
  */
31
31
  associatedClients?: Array<ClientBlockchainWalletRelationDto>;
32
32
  };
@@ -4,7 +4,7 @@ export type CreateCaseDto = {
4
4
  */
5
5
  referenceId?: string;
6
6
  /**
7
- * Array of attachment IDs associated with the case
7
+ * Array of attachment IDs associated with the case (maximum 100)
8
8
  */
9
9
  attachmentIds?: Array<string>;
10
10
  /**
@@ -24,7 +24,7 @@ export type CreateCaseDto = {
24
24
  */
25
25
  assigneeId?: string;
26
26
  /**
27
- * IDs of the reviewers of the case
27
+ * IDs of the reviewers of the case (maximum 50)
28
28
  */
29
29
  reviewersIds: Array<string>;
30
30
  /**
@@ -40,15 +40,15 @@ export type CreateCaseDto = {
40
40
  */
41
41
  dueDate?: string;
42
42
  /**
43
- * IDs or Reference IDs of the alerts associated with the case
43
+ * IDs or Reference IDs of the alerts associated with the case (maximum 100)
44
44
  */
45
45
  alertsIds?: Array<string>;
46
46
  /**
47
- * IDs or Reference IDs of the transactions associated with the case
47
+ * IDs or Reference IDs of the transactions associated with the case (maximum 100)
48
48
  */
49
49
  transactionsIds?: Array<string>;
50
50
  /**
51
- * IDs or Reference IDs of the clients associated with the case
51
+ * IDs or Reference IDs of the clients associated with the case (maximum 50)
52
52
  */
53
53
  clientsIds?: Array<string>;
54
54
  };
@@ -26,11 +26,11 @@ export type CreateCorporateClientDto = {
26
26
  */
27
27
  riskHistory?: Array<RiskDto>;
28
28
  /**
29
- * Tags associated with the corporate client
29
+ * Tags associated with the corporate client (maximum 50)
30
30
  */
31
31
  tags?: Array<string>;
32
32
  /**
33
- * Control measures applied to the corporate client
33
+ * Control measures applied to the corporate client (maximum 50)
34
34
  */
35
35
  controls?: Array<string>;
36
36
  /**
@@ -86,7 +86,8 @@ export declare namespace CreateCorporateClientDto {
86
86
  OFF_BOARDED = "OFF_BOARDED",
87
87
  FROZEN = "FROZEN",
88
88
  PENDING_DOCUMENTS = "PENDING_DOCUMENTS",
89
- CLOSED_BY_CLIENT = "CLOSED_BY_CLIENT"
89
+ CLOSED_BY_CLIENT = "CLOSED_BY_CLIENT",
90
+ APPLICATION_IN_PROGRESS = "APPLICATION_IN_PROGRESS"
90
91
  }
91
92
  /**
92
93
  * Current activity status of the corporate client
@@ -16,6 +16,7 @@ var CreateCorporateClientDto;
16
16
  accountStatus["FROZEN"] = "FROZEN";
17
17
  accountStatus["PENDING_DOCUMENTS"] = "PENDING_DOCUMENTS";
18
18
  accountStatus["CLOSED_BY_CLIENT"] = "CLOSED_BY_CLIENT";
19
+ accountStatus["APPLICATION_IN_PROGRESS"] = "APPLICATION_IN_PROGRESS";
19
20
  })(accountStatus = CreateCorporateClientDto.accountStatus || (CreateCorporateClientDto.accountStatus = {}));
20
21
  /**
21
22
  * Current activity status of the corporate client
@@ -1 +1 @@
1
- {"version":3,"file":"CreateCorporateClientDto.js","sourceRoot":"","sources":["../../models/CreateCorporateClientDto.ts"],"names":[],"mappings":";;;AAgFA,IAAiB,wBAAwB,CAqBxC;AArBD,WAAiB,wBAAwB;IACrC;;OAEG;IACH,IAAY,aASX;IATD,WAAY,aAAa;QACrB,sCAAqB,CAAA;QACrB,0DAAyC,CAAA;QACzC,wCAAuB,CAAA;QACvB,sCAAqB,CAAA;QACrB,4CAA2B,CAAA;QAC3B,kCAAiB,CAAA;QACjB,wDAAuC,CAAA;QACvC,sDAAqC,CAAA;IACzC,CAAC,EATW,aAAa,GAAb,sCAAa,KAAb,sCAAa,QASxB;IACD;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,uCAAc,KAAd,uCAAc,QAGzB;AACL,CAAC,EArBgB,wBAAwB,wCAAxB,wBAAwB,QAqBxC"}
1
+ {"version":3,"file":"CreateCorporateClientDto.js","sourceRoot":"","sources":["../../models/CreateCorporateClientDto.ts"],"names":[],"mappings":";;;AAgFA,IAAiB,wBAAwB,CAsBxC;AAtBD,WAAiB,wBAAwB;IACrC;;OAEG;IACH,IAAY,aAUX;IAVD,WAAY,aAAa;QACrB,sCAAqB,CAAA;QACrB,0DAAyC,CAAA;QACzC,wCAAuB,CAAA;QACvB,sCAAqB,CAAA;QACrB,4CAA2B,CAAA;QAC3B,kCAAiB,CAAA;QACjB,wDAAuC,CAAA;QACvC,sDAAqC,CAAA;QACrC,oEAAmD,CAAA;IACvD,CAAC,EAVW,aAAa,GAAb,sCAAa,KAAb,sCAAa,QAUxB;IACD;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,uCAAc,KAAd,uCAAc,QAGzB;AACL,CAAC,EAtBgB,wBAAwB,wCAAxB,wBAAwB,QAsBxC"}
@@ -23,11 +23,11 @@ export type CreateIndividualClientDto = {
23
23
  */
24
24
  accountStatus?: CreateIndividualClientDto.accountStatus;
25
25
  /**
26
- * Tags associated with the individual client
26
+ * Tags associated with the individual client (maximum 50)
27
27
  */
28
28
  tags?: Array<string>;
29
29
  /**
30
- * Control measures applied to the individual client
30
+ * Control measures applied to the individual client (maximum 50)
31
31
  */
32
32
  controls?: Array<string>;
33
33
  /**
@@ -98,6 +98,7 @@ export declare namespace CreateIndividualClientDto {
98
98
  OFF_BOARDED = "OFF_BOARDED",
99
99
  FROZEN = "FROZEN",
100
100
  PENDING_DOCUMENTS = "PENDING_DOCUMENTS",
101
- CLOSED_BY_CLIENT = "CLOSED_BY_CLIENT"
101
+ CLOSED_BY_CLIENT = "CLOSED_BY_CLIENT",
102
+ APPLICATION_IN_PROGRESS = "APPLICATION_IN_PROGRESS"
102
103
  }
103
104
  }
@@ -24,6 +24,7 @@ var CreateIndividualClientDto;
24
24
  accountStatus["FROZEN"] = "FROZEN";
25
25
  accountStatus["PENDING_DOCUMENTS"] = "PENDING_DOCUMENTS";
26
26
  accountStatus["CLOSED_BY_CLIENT"] = "CLOSED_BY_CLIENT";
27
+ accountStatus["APPLICATION_IN_PROGRESS"] = "APPLICATION_IN_PROGRESS";
27
28
  })(accountStatus = CreateIndividualClientDto.accountStatus || (CreateIndividualClientDto.accountStatus = {}));
28
29
  })(CreateIndividualClientDto || (exports.CreateIndividualClientDto = CreateIndividualClientDto = {}));
29
30
  //# sourceMappingURL=CreateIndividualClientDto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateIndividualClientDto.js","sourceRoot":"","sources":["../../models/CreateIndividualClientDto.ts"],"names":[],"mappings":";;;AAqFA,IAAiB,yBAAyB,CAqBzC;AArBD,WAAiB,yBAAyB;IACtC;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,wCAAc,KAAd,wCAAc,QAGzB;IACD;;OAEG;IACH,IAAY,aASX;IATD,WAAY,aAAa;QACrB,sCAAqB,CAAA;QACrB,0DAAyC,CAAA;QACzC,wCAAuB,CAAA;QACvB,sCAAqB,CAAA;QACrB,4CAA2B,CAAA;QAC3B,kCAAiB,CAAA;QACjB,wDAAuC,CAAA;QACvC,sDAAqC,CAAA;IACzC,CAAC,EATW,aAAa,GAAb,uCAAa,KAAb,uCAAa,QASxB;AACL,CAAC,EArBgB,yBAAyB,yCAAzB,yBAAyB,QAqBzC"}
1
+ {"version":3,"file":"CreateIndividualClientDto.js","sourceRoot":"","sources":["../../models/CreateIndividualClientDto.ts"],"names":[],"mappings":";;;AAqFA,IAAiB,yBAAyB,CAsBzC;AAtBD,WAAiB,yBAAyB;IACtC;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,wCAAc,KAAd,wCAAc,QAGzB;IACD;;OAEG;IACH,IAAY,aAUX;IAVD,WAAY,aAAa;QACrB,sCAAqB,CAAA;QACrB,0DAAyC,CAAA;QACzC,wCAAuB,CAAA;QACvB,sCAAqB,CAAA;QACrB,4CAA2B,CAAA;QAC3B,kCAAiB,CAAA;QACjB,wDAAuC,CAAA;QACvC,sDAAqC,CAAA;QACrC,oEAAmD,CAAA;IACvD,CAAC,EAVW,aAAa,GAAb,uCAAa,KAAb,uCAAa,QAUxB;AACL,CAAC,EAtBgB,yBAAyB,yCAAzB,yBAAyB,QAsBzC"}
@@ -57,7 +57,7 @@ export type CreateIndividualMemberDto = {
57
57
  */
58
58
  personalIdNumber?: string;
59
59
  /**
60
- * Array of identity documents to create
60
+ * Array of identity documents to create (maximum 10)
61
61
  */
62
62
  identityDocuments?: Array<CreateIdentityDocumentDto>;
63
63
  /**
@@ -119,7 +119,8 @@ export declare namespace IndividualClientDto {
119
119
  OFF_BOARDED = "OFF_BOARDED",
120
120
  FROZEN = "FROZEN",
121
121
  PENDING_DOCUMENTS = "PENDING_DOCUMENTS",
122
- CLOSED_BY_CLIENT = "CLOSED_BY_CLIENT"
122
+ CLOSED_BY_CLIENT = "CLOSED_BY_CLIENT",
123
+ APPLICATION_IN_PROGRESS = "APPLICATION_IN_PROGRESS"
123
124
  }
124
125
  /**
125
126
  * Current activity status
@@ -16,6 +16,7 @@ var IndividualClientDto;
16
16
  accountStatus["FROZEN"] = "FROZEN";
17
17
  accountStatus["PENDING_DOCUMENTS"] = "PENDING_DOCUMENTS";
18
18
  accountStatus["CLOSED_BY_CLIENT"] = "CLOSED_BY_CLIENT";
19
+ accountStatus["APPLICATION_IN_PROGRESS"] = "APPLICATION_IN_PROGRESS";
19
20
  })(accountStatus = IndividualClientDto.accountStatus || (IndividualClientDto.accountStatus = {}));
20
21
  /**
21
22
  * Current activity status
@@ -1 +1 @@
1
- {"version":3,"file":"IndividualClientDto.js","sourceRoot":"","sources":["../../models/IndividualClientDto.ts"],"names":[],"mappings":";;;AAiHA,IAAiB,mBAAmB,CAqBnC;AArBD,WAAiB,mBAAmB;IAChC;;OAEG;IACH,IAAY,aASX;IATD,WAAY,aAAa;QACrB,sCAAqB,CAAA;QACrB,0DAAyC,CAAA;QACzC,wCAAuB,CAAA;QACvB,sCAAqB,CAAA;QACrB,4CAA2B,CAAA;QAC3B,kCAAiB,CAAA;QACjB,wDAAuC,CAAA;QACvC,sDAAqC,CAAA;IACzC,CAAC,EATW,aAAa,GAAb,iCAAa,KAAb,iCAAa,QASxB;IACD;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,kCAAc,KAAd,kCAAc,QAGzB;AACL,CAAC,EArBgB,mBAAmB,mCAAnB,mBAAmB,QAqBnC"}
1
+ {"version":3,"file":"IndividualClientDto.js","sourceRoot":"","sources":["../../models/IndividualClientDto.ts"],"names":[],"mappings":";;;AAiHA,IAAiB,mBAAmB,CAsBnC;AAtBD,WAAiB,mBAAmB;IAChC;;OAEG;IACH,IAAY,aAUX;IAVD,WAAY,aAAa;QACrB,sCAAqB,CAAA;QACrB,0DAAyC,CAAA;QACzC,wCAAuB,CAAA;QACvB,sCAAqB,CAAA;QACrB,4CAA2B,CAAA;QAC3B,kCAAiB,CAAA;QACjB,wDAAuC,CAAA;QACvC,sDAAqC,CAAA;QACrC,oEAAmD,CAAA;IACvD,CAAC,EAVW,aAAa,GAAb,iCAAa,KAAb,iCAAa,QAUxB;IACD;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,kCAAc,KAAd,kCAAc,QAGzB;AACL,CAAC,EAtBgB,mBAAmB,mCAAnB,mBAAmB,QAsBnC"}
@@ -1,3 +1,4 @@
1
+ import type { ClientSumsubDto } from './ClientSumsubDto';
1
2
  export type IndividualClientIntegrationsDto = {
2
3
  /**
3
4
  * Sardine customer ID for the individual client
@@ -8,7 +9,7 @@ export type IndividualClientIntegrationsDto = {
8
9
  */
9
10
  chainalysisUserId?: string;
10
11
  /**
11
- * Sumsub applicant ID for the individual client
12
+ * Sumsub integration information
12
13
  */
13
- sumsubApplicantId?: string;
14
+ sumsub?: ClientSumsubDto;
14
15
  };
@@ -1,6 +1,6 @@
1
1
  export type RelateAttachmentsDto = {
2
2
  /**
3
- * Array of attachment IDs to relate to the entity
3
+ * Array of attachment IDs to relate to the entity (maximum 100)
4
4
  */
5
5
  fileIds: Array<string>;
6
6
  /**
@@ -0,0 +1,23 @@
1
+ import type { SumsubVerificationImageDto } from './SumsubVerificationImageDto';
2
+ export type SumsubVerificationDto = {
3
+ /**
4
+ * Title of the verification
5
+ */
6
+ title?: string;
7
+ /**
8
+ * Status of the verification
9
+ */
10
+ status?: string;
11
+ /**
12
+ * Country code
13
+ */
14
+ country?: string;
15
+ /**
16
+ * Type of document
17
+ */
18
+ documentType?: string;
19
+ /**
20
+ * Verification images
21
+ */
22
+ images?: Array<SumsubVerificationImageDto>;
23
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=SumsubVerificationDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SumsubVerificationDto.js","sourceRoot":"","sources":["../../models/SumsubVerificationDto.ts"],"names":[],"mappings":""}
@@ -0,0 +1,26 @@
1
+ export type SumsubVerificationImageDto = {
2
+ /**
3
+ * Sumsub verification image ID
4
+ */
5
+ id: string;
6
+ /**
7
+ * Status of the verification image
8
+ */
9
+ status: string;
10
+ /**
11
+ * Reject labels if the image was rejected
12
+ */
13
+ rejectLabels?: Array<string>;
14
+ /**
15
+ * Reason for rejection if applicable
16
+ */
17
+ reason?: string;
18
+ /**
19
+ * File name of the verification image
20
+ */
21
+ fileName?: string;
22
+ /**
23
+ * File ID of the verification image
24
+ */
25
+ fileId?: string;
26
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=SumsubVerificationImageDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SumsubVerificationImageDto.js","sourceRoot":"","sources":["../../models/SumsubVerificationImageDto.ts"],"names":[],"mappings":""}
@@ -38,15 +38,15 @@ export type UpdateAlertDto = {
38
38
  */
39
39
  customFields?: Record<string, any>;
40
40
  /**
41
- * List of client IDs associated with this alert. Replace the existing clients with the new ones.
41
+ * List of client IDs associated with this alert (maximum 10). Replace the existing clients with the new ones.
42
42
  */
43
43
  associatedClients?: Array<string>;
44
44
  /**
45
- * List of transaction IDs associated with this alert. Replace the existing transactions with the new ones.
45
+ * List of transaction IDs associated with this alert (maximum 10). Replace the existing transactions with the new ones.
46
46
  */
47
47
  associatedTransactions?: Array<string>;
48
48
  /**
49
- * List of case IDs associated with this alert. Replace the existing cases with the new ones.
49
+ * List of case IDs associated with this alert (maximum 10). Replace the existing cases with the new ones.
50
50
  */
51
51
  associatedCases?: Array<string>;
52
52
  /**
@@ -34,7 +34,7 @@ export type UpdateBankAccountDto = {
34
34
  */
35
35
  balanceInConvertedAmount?: number;
36
36
  /**
37
- * Country codes associated with the bank account (ISO 3166-1 alpha-3)
37
+ * Country codes associated with the bank account (ISO 3166-1 alpha-3, maximum 20)
38
38
  */
39
39
  countries?: Array<string>;
40
40
  /**
@@ -42,7 +42,7 @@ export type UpdateBankAccountDto = {
42
42
  */
43
43
  customFields?: Record<string, any>;
44
44
  /**
45
- * List of clients associated with the bank account
45
+ * List of clients associated with the bank account (maximum 50)
46
46
  */
47
47
  associatedClients?: Array<ClientBankAccountRelationDto>;
48
48
  /**
@@ -14,7 +14,7 @@ export type UpdateBlockchainWalletDto = {
14
14
  */
15
15
  customFields?: Record<string, any>;
16
16
  /**
17
- * List of clients associated with the blockchain wallet
17
+ * List of clients associated with the blockchain wallet (maximum 50)
18
18
  */
19
19
  associatedClients?: Array<ClientBlockchainWalletRelationDto>;
20
20
  /**
@@ -62,19 +62,19 @@ export type UpdateCorporateClientDto = {
62
62
  */
63
63
  customFields?: Record<string, any>;
64
64
  /**
65
- * Tags to add to the corporate client
65
+ * Tags to add to the corporate client (maximum 50)
66
66
  */
67
67
  tagsToAdd?: Array<string>;
68
68
  /**
69
- * Tags to remove from the corporate client
69
+ * Tags to remove from the corporate client (maximum 50)
70
70
  */
71
71
  tagsToRemove?: Array<string>;
72
72
  /**
73
- * Controls to add to the corporate client
73
+ * Controls to add to the corporate client (maximum 50)
74
74
  */
75
75
  controlsToAdd?: Array<string>;
76
76
  /**
77
- * Controls to remove from the corporate client
77
+ * Controls to remove from the corporate client (maximum 50)
78
78
  */
79
79
  controlsToRemove?: Array<string>;
80
80
  /**
@@ -101,6 +101,7 @@ export declare namespace UpdateCorporateClientDto {
101
101
  OFF_BOARDED = "OFF_BOARDED",
102
102
  FROZEN = "FROZEN",
103
103
  PENDING_DOCUMENTS = "PENDING_DOCUMENTS",
104
- CLOSED_BY_CLIENT = "CLOSED_BY_CLIENT"
104
+ CLOSED_BY_CLIENT = "CLOSED_BY_CLIENT",
105
+ APPLICATION_IN_PROGRESS = "APPLICATION_IN_PROGRESS"
105
106
  }
106
107
  }
@@ -24,6 +24,7 @@ var UpdateCorporateClientDto;
24
24
  accountStatus["FROZEN"] = "FROZEN";
25
25
  accountStatus["PENDING_DOCUMENTS"] = "PENDING_DOCUMENTS";
26
26
  accountStatus["CLOSED_BY_CLIENT"] = "CLOSED_BY_CLIENT";
27
+ accountStatus["APPLICATION_IN_PROGRESS"] = "APPLICATION_IN_PROGRESS";
27
28
  })(accountStatus = UpdateCorporateClientDto.accountStatus || (UpdateCorporateClientDto.accountStatus = {}));
28
29
  })(UpdateCorporateClientDto || (exports.UpdateCorporateClientDto = UpdateCorporateClientDto = {}));
29
30
  //# sourceMappingURL=UpdateCorporateClientDto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateCorporateClientDto.js","sourceRoot":"","sources":["../../models/UpdateCorporateClientDto.ts"],"names":[],"mappings":";;;AAwFA,IAAiB,wBAAwB,CAqBxC;AArBD,WAAiB,wBAAwB;IACrC;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,uCAAc,KAAd,uCAAc,QAGzB;IACD;;OAEG;IACH,IAAY,aASX;IATD,WAAY,aAAa;QACrB,sCAAqB,CAAA;QACrB,0DAAyC,CAAA;QACzC,wCAAuB,CAAA;QACvB,sCAAqB,CAAA;QACrB,4CAA2B,CAAA;QAC3B,kCAAiB,CAAA;QACjB,wDAAuC,CAAA;QACvC,sDAAqC,CAAA;IACzC,CAAC,EATW,aAAa,GAAb,sCAAa,KAAb,sCAAa,QASxB;AACL,CAAC,EArBgB,wBAAwB,wCAAxB,wBAAwB,QAqBxC"}
1
+ {"version":3,"file":"UpdateCorporateClientDto.js","sourceRoot":"","sources":["../../models/UpdateCorporateClientDto.ts"],"names":[],"mappings":";;;AAwFA,IAAiB,wBAAwB,CAsBxC;AAtBD,WAAiB,wBAAwB;IACrC;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,uCAAc,KAAd,uCAAc,QAGzB;IACD;;OAEG;IACH,IAAY,aAUX;IAVD,WAAY,aAAa;QACrB,sCAAqB,CAAA;QACrB,0DAAyC,CAAA;QACzC,wCAAuB,CAAA;QACvB,sCAAqB,CAAA;QACrB,4CAA2B,CAAA;QAC3B,kCAAiB,CAAA;QACjB,wDAAuC,CAAA;QACvC,sDAAqC,CAAA;QACrC,oEAAmD,CAAA;IACvD,CAAC,EAVW,aAAa,GAAb,sCAAa,KAAb,sCAAa,QAUxB;AACL,CAAC,EAtBgB,wBAAwB,wCAAxB,wBAAwB,QAsBxC"}
@@ -51,19 +51,19 @@ export type UpdateIndividualClientDto = {
51
51
  */
52
52
  customFields?: Record<string, any>;
53
53
  /**
54
- * Tags to add to the individual client
54
+ * Tags to add to the individual client (maximum 50)
55
55
  */
56
56
  tagsToAdd?: Array<string>;
57
57
  /**
58
- * Tags to remove from the individual client
58
+ * Tags to remove from the individual client (maximum 50)
59
59
  */
60
60
  tagsToRemove?: Array<string>;
61
61
  /**
62
- * Controls to add to the individual client
62
+ * Controls to add to the individual client (maximum 50)
63
63
  */
64
64
  controlsToAdd?: Array<string>;
65
65
  /**
66
- * Controls to remove from the individual client
66
+ * Controls to remove from the individual client (maximum 50)
67
67
  */
68
68
  controlsToRemove?: Array<string>;
69
69
  /**
@@ -106,6 +106,7 @@ export declare namespace UpdateIndividualClientDto {
106
106
  OFF_BOARDED = "OFF_BOARDED",
107
107
  FROZEN = "FROZEN",
108
108
  PENDING_DOCUMENTS = "PENDING_DOCUMENTS",
109
- CLOSED_BY_CLIENT = "CLOSED_BY_CLIENT"
109
+ CLOSED_BY_CLIENT = "CLOSED_BY_CLIENT",
110
+ APPLICATION_IN_PROGRESS = "APPLICATION_IN_PROGRESS"
110
111
  }
111
112
  }
@@ -24,6 +24,7 @@ var UpdateIndividualClientDto;
24
24
  accountStatus["FROZEN"] = "FROZEN";
25
25
  accountStatus["PENDING_DOCUMENTS"] = "PENDING_DOCUMENTS";
26
26
  accountStatus["CLOSED_BY_CLIENT"] = "CLOSED_BY_CLIENT";
27
+ accountStatus["APPLICATION_IN_PROGRESS"] = "APPLICATION_IN_PROGRESS";
27
28
  })(accountStatus = UpdateIndividualClientDto.accountStatus || (UpdateIndividualClientDto.accountStatus = {}));
28
29
  })(UpdateIndividualClientDto || (exports.UpdateIndividualClientDto = UpdateIndividualClientDto = {}));
29
30
  //# sourceMappingURL=UpdateIndividualClientDto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateIndividualClientDto.js","sourceRoot":"","sources":["../../models/UpdateIndividualClientDto.ts"],"names":[],"mappings":";;;AA6FA,IAAiB,yBAAyB,CAqBzC;AArBD,WAAiB,yBAAyB;IACtC;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,wCAAc,KAAd,wCAAc,QAGzB;IACD;;OAEG;IACH,IAAY,aASX;IATD,WAAY,aAAa;QACrB,sCAAqB,CAAA;QACrB,0DAAyC,CAAA;QACzC,wCAAuB,CAAA;QACvB,sCAAqB,CAAA;QACrB,4CAA2B,CAAA;QAC3B,kCAAiB,CAAA;QACjB,wDAAuC,CAAA;QACvC,sDAAqC,CAAA;IACzC,CAAC,EATW,aAAa,GAAb,uCAAa,KAAb,uCAAa,QASxB;AACL,CAAC,EArBgB,yBAAyB,yCAAzB,yBAAyB,QAqBzC"}
1
+ {"version":3,"file":"UpdateIndividualClientDto.js","sourceRoot":"","sources":["../../models/UpdateIndividualClientDto.ts"],"names":[],"mappings":";;;AA6FA,IAAiB,yBAAyB,CAsBzC;AAtBD,WAAiB,yBAAyB;IACtC;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,wCAAc,KAAd,wCAAc,QAGzB;IACD;;OAEG;IACH,IAAY,aAUX;IAVD,WAAY,aAAa;QACrB,sCAAqB,CAAA;QACrB,0DAAyC,CAAA;QACzC,wCAAuB,CAAA;QACvB,sCAAqB,CAAA;QACrB,4CAA2B,CAAA;QAC3B,kCAAiB,CAAA;QACjB,wDAAuC,CAAA;QACvC,sDAAqC,CAAA;QACrC,oEAAmD,CAAA;IACvD,CAAC,EAVW,aAAa,GAAb,uCAAa,KAAb,uCAAa,QAUxB;AACL,CAAC,EAtBgB,yBAAyB,yCAAzB,yBAAyB,QAsBzC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corsa-labs/sdk",
3
- "version": "4.4.1",
3
+ "version": "4.6.0",
4
4
  "description": "SDK for Corsa API",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",