@corsa-labs/sdk 4.5.0 → 4.7.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 (76) 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/models/AssociateBankAccountWithClientDto.d.ts +1 -1
  5. package/dist/models/AssociateBlockchainWalletWithClientDto.d.ts +1 -1
  6. package/dist/models/ChecklistItemResponseDto.d.ts +74 -0
  7. package/dist/models/ChecklistItemResponseDto.js +18 -0
  8. package/dist/models/ChecklistItemResponseDto.js.map +1 -0
  9. package/dist/models/ChecklistResponseDto.d.ts +62 -0
  10. package/dist/models/ChecklistResponseDto.js +26 -0
  11. package/dist/models/ChecklistResponseDto.js.map +1 -0
  12. package/dist/models/ChecklistTemplateItemResponseDto.d.ts +45 -0
  13. package/dist/models/ChecklistTemplateItemResponseDto.js +18 -0
  14. package/dist/models/ChecklistTemplateItemResponseDto.js.map +1 -0
  15. package/dist/models/ChecklistTemplateResponseDto.d.ts +50 -0
  16. package/dist/models/ChecklistTemplateResponseDto.js +17 -0
  17. package/dist/models/ChecklistTemplateResponseDto.js.map +1 -0
  18. package/dist/models/ClientSumsubDto.d.ts +11 -0
  19. package/dist/models/ClientSumsubDto.js +3 -0
  20. package/dist/models/ClientSumsubDto.js.map +1 -0
  21. package/dist/models/CorporateClientDto.d.ts +8 -6
  22. package/dist/models/CorporateClientDto.js +1 -0
  23. package/dist/models/CorporateClientDto.js.map +1 -1
  24. package/dist/models/CorporateClientIntegrationsDto.d.ts +3 -2
  25. package/dist/models/CorporateClientPEPDto.d.ts +1 -1
  26. package/dist/models/CorporateClientSourceOfFundsDto.d.ts +1 -1
  27. package/dist/models/CreateAlertDto.d.ts +2 -2
  28. package/dist/models/CreateBankAccountDto.d.ts +2 -2
  29. package/dist/models/CreateBlockchainWalletDto.d.ts +1 -1
  30. package/dist/models/CreateCaseDto.d.ts +5 -5
  31. package/dist/models/CreateChecklistTemplateItemDto.d.ts +0 -11
  32. package/dist/models/CreateChecklistTemplateItemDto.js.map +1 -1
  33. package/dist/models/CreateCorporateClientDto.d.ts +5 -3
  34. package/dist/models/CreateCorporateClientDto.js +1 -0
  35. package/dist/models/CreateCorporateClientDto.js.map +1 -1
  36. package/dist/models/CreateIndividualClientDto.d.ts +5 -3
  37. package/dist/models/CreateIndividualClientDto.js +1 -0
  38. package/dist/models/CreateIndividualClientDto.js.map +1 -1
  39. package/dist/models/CreateIndividualMemberDto.d.ts +1 -1
  40. package/dist/models/IndividualClientDto.d.ts +7 -5
  41. package/dist/models/IndividualClientDto.js +1 -0
  42. package/dist/models/IndividualClientDto.js.map +1 -1
  43. package/dist/models/IndividualClientIntegrationsDto.d.ts +3 -2
  44. package/dist/models/RelateAttachmentsDto.d.ts +1 -1
  45. package/dist/models/SumsubVerificationDto.d.ts +23 -0
  46. package/dist/models/SumsubVerificationDto.js +3 -0
  47. package/dist/models/SumsubVerificationDto.js.map +1 -0
  48. package/dist/models/SumsubVerificationImageDto.d.ts +26 -0
  49. package/dist/models/SumsubVerificationImageDto.js +3 -0
  50. package/dist/models/SumsubVerificationImageDto.js.map +1 -0
  51. package/dist/models/UpdateAlertDto.d.ts +3 -3
  52. package/dist/models/UpdateBankAccountDto.d.ts +2 -2
  53. package/dist/models/UpdateBlockchainWalletDto.d.ts +1 -1
  54. package/dist/models/UpdateChecklistItemDto.d.ts +9 -6
  55. package/dist/models/UpdateChecklistItemDto.js.map +1 -1
  56. package/dist/models/UpdateChecklistTemplateItemDto.d.ts +0 -11
  57. package/dist/models/UpdateChecklistTemplateItemDto.js.map +1 -1
  58. package/dist/models/UpdateCorporateClientDto.d.ts +8 -5
  59. package/dist/models/UpdateCorporateClientDto.js +1 -0
  60. package/dist/models/UpdateCorporateClientDto.js.map +1 -1
  61. package/dist/models/UpdateIndividualClientDto.d.ts +8 -5
  62. package/dist/models/UpdateIndividualClientDto.js +1 -0
  63. package/dist/models/UpdateIndividualClientDto.js.map +1 -1
  64. package/dist/models/UpdateTransactionDto.d.ts +28 -0
  65. package/dist/models/UpdateTransactionDto.js +3 -0
  66. package/dist/models/UpdateTransactionDto.js.map +1 -0
  67. package/dist/services/ChecklistTemplatesService.d.ts +72 -0
  68. package/dist/services/ChecklistTemplatesService.js +177 -0
  69. package/dist/services/ChecklistTemplatesService.js.map +1 -0
  70. package/dist/services/ChecklistsService.d.ts +8 -70
  71. package/dist/services/ChecklistsService.js +8 -173
  72. package/dist/services/ChecklistsService.js.map +1 -1
  73. package/dist/services/TransactionsService.d.ts +12 -3
  74. package/dist/services/TransactionsService.js +22 -4
  75. package/dist/services/TransactionsService.js.map +1 -1
  76. package/package.json +1 -1
@@ -6,6 +6,7 @@ import { BankAccountsService } from './services/BankAccountsService';
6
6
  import { BlockchainWalletsService } from './services/BlockchainWalletsService';
7
7
  import { CasesService } from './services/CasesService';
8
8
  import { ChecklistsService } from './services/ChecklistsService';
9
+ import { ChecklistTemplatesService } from './services/ChecklistTemplatesService';
9
10
  import { ClientsService } from './services/ClientsService';
10
11
  import { DepositsService } from './services/DepositsService';
11
12
  import { MembersService } from './services/MembersService';
@@ -22,6 +23,7 @@ export declare class ComplianceClient {
22
23
  readonly blockchainWallets: BlockchainWalletsService;
23
24
  readonly cases: CasesService;
24
25
  readonly checklists: ChecklistsService;
26
+ readonly checklistTemplates: ChecklistTemplatesService;
25
27
  readonly clients: ClientsService;
26
28
  readonly deposits: DepositsService;
27
29
  readonly members: MembersService;
@@ -8,6 +8,7 @@ const BankAccountsService_1 = require("./services/BankAccountsService");
8
8
  const BlockchainWalletsService_1 = require("./services/BlockchainWalletsService");
9
9
  const CasesService_1 = require("./services/CasesService");
10
10
  const ChecklistsService_1 = require("./services/ChecklistsService");
11
+ const ChecklistTemplatesService_1 = require("./services/ChecklistTemplatesService");
11
12
  const ClientsService_1 = require("./services/ClientsService");
12
13
  const DepositsService_1 = require("./services/DepositsService");
13
14
  const MembersService_1 = require("./services/MembersService");
@@ -23,6 +24,7 @@ class ComplianceClient {
23
24
  blockchainWallets;
24
25
  cases;
25
26
  checklists;
27
+ checklistTemplates;
26
28
  clients;
27
29
  deposits;
28
30
  members;
@@ -50,6 +52,7 @@ class ComplianceClient {
50
52
  this.blockchainWallets = new BlockchainWalletsService_1.BlockchainWalletsService(this.request);
51
53
  this.cases = new CasesService_1.CasesService(this.request);
52
54
  this.checklists = new ChecklistsService_1.ChecklistsService(this.request);
55
+ this.checklistTemplates = new ChecklistTemplatesService_1.ChecklistTemplatesService(this.request);
53
56
  this.clients = new ClientsService_1.ClientsService(this.request);
54
57
  this.deposits = new DepositsService_1.DepositsService(this.request);
55
58
  this.members = new MembersService_1.MembersService(this.request);
@@ -1 +1 @@
1
- {"version":3,"file":"ComplianceClient.js","sourceRoot":"","sources":["../ComplianceClient.ts"],"names":[],"mappings":";;;AAMA,8DAA2D;AAC3D,4DAAyD;AACzD,sEAAmE;AACnE,wEAAqE;AACrE,kFAA+E;AAC/E,0DAAuD;AACvD,oEAAiE;AACjE,8DAA2D;AAC3D,gEAA6D;AAC7D,8DAA2D;AAC3D,gEAA6D;AAC7D,0DAAuD;AACvD,4DAAyD;AACzD,wEAAqE;AACrE,sEAAmE;AAEnE,MAAa,gBAAgB;IACT,MAAM,CAAgB;IACtB,WAAW,CAAqB;IAChC,YAAY,CAAsB;IAClC,iBAAiB,CAA2B;IAC5C,KAAK,CAAe;IACpB,UAAU,CAAoB;IAC9B,OAAO,CAAiB;IACxB,QAAQ,CAAkB;IAC1B,OAAO,CAAiB;IACxB,QAAQ,CAAkB;IAC1B,KAAK,CAAe;IACpB,MAAM,CAAgB;IACtB,YAAY,CAAsB;IAClC,WAAW,CAAqB;IAChC,OAAO,CAAkB;IACzC,YAAY,MAA+B,EAAE,cAAsC,mCAAgB;QAC/F,IAAI,CAAC,OAAO,GAAG,IAAI,WAAW,CAAC;YAC3B,IAAI,EAAE,MAAM,EAAE,IAAI,IA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AAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9C,IAAI,CAAC,YAAY,GAAG,IAAI,yCAAmB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC1D,IAAI,CAAC,WAAW,GAAG,IAAI,uCAAkB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC5D,CAAC;CACJ;AA7CD,4CA6CC"}
@@ -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,74 @@
1
+ export type ChecklistItemResponseDto = {
2
+ /**
3
+ * Unique identifier for the checklist item
4
+ */
5
+ id: string;
6
+ /**
7
+ * Name of the checklist item
8
+ */
9
+ name: string;
10
+ /**
11
+ * Note/description of the checklist item
12
+ */
13
+ note?: string;
14
+ /**
15
+ * Category of the checklist item
16
+ */
17
+ category: ChecklistItemResponseDto.category;
18
+ /**
19
+ * Current status of the checklist item (can be default or custom status)
20
+ */
21
+ status: string;
22
+ /**
23
+ * URL to the attached document
24
+ */
25
+ documentUrl?: string;
26
+ /**
27
+ * Attachment ID from the attachment service
28
+ */
29
+ attachmentId?: string;
30
+ /**
31
+ * MIME type of the attached document
32
+ */
33
+ documentMimeType?: string;
34
+ /**
35
+ * Date when the document was submitted
36
+ */
37
+ documentSubmissionDate?: string;
38
+ /**
39
+ * Expiration date for the checklist item
40
+ */
41
+ expirationDate?: string;
42
+ /**
43
+ * Additional custom fields for the checklist item
44
+ */
45
+ customFields?: Record<string, any>;
46
+ /**
47
+ * Whether this item is archived
48
+ */
49
+ isArchived: boolean;
50
+ /**
51
+ * Status options for the checklist item
52
+ */
53
+ statusOptions: Array<Record<string, any>>;
54
+ /**
55
+ * When the item was created
56
+ */
57
+ createdAt: string;
58
+ /**
59
+ * When the item was last updated
60
+ */
61
+ updatedAt: string;
62
+ };
63
+ export declare namespace ChecklistItemResponseDto {
64
+ /**
65
+ * Category of the checklist item
66
+ */
67
+ enum category {
68
+ PERSONAL_IDENTIFICATION = "PERSONAL_IDENTIFICATION",
69
+ FINANCIAL_INFORMATION = "FINANCIAL_INFORMATION",
70
+ CORPORATE_INFORMATION = "CORPORATE_INFORMATION",
71
+ DECLARATIONS_COMPLIANCE = "DECLARATIONS_COMPLIANCE",
72
+ OTHER = "OTHER"
73
+ }
74
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ChecklistItemResponseDto = void 0;
4
+ var ChecklistItemResponseDto;
5
+ (function (ChecklistItemResponseDto) {
6
+ /**
7
+ * Category of the checklist item
8
+ */
9
+ let category;
10
+ (function (category) {
11
+ category["PERSONAL_IDENTIFICATION"] = "PERSONAL_IDENTIFICATION";
12
+ category["FINANCIAL_INFORMATION"] = "FINANCIAL_INFORMATION";
13
+ category["CORPORATE_INFORMATION"] = "CORPORATE_INFORMATION";
14
+ category["DECLARATIONS_COMPLIANCE"] = "DECLARATIONS_COMPLIANCE";
15
+ category["OTHER"] = "OTHER";
16
+ })(category = ChecklistItemResponseDto.category || (ChecklistItemResponseDto.category = {}));
17
+ })(ChecklistItemResponseDto || (exports.ChecklistItemResponseDto = ChecklistItemResponseDto = {}));
18
+ //# sourceMappingURL=ChecklistItemResponseDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChecklistItemResponseDto.js","sourceRoot":"","sources":["../../models/ChecklistItemResponseDto.ts"],"names":[],"mappings":";;;AAkEA,IAAiB,wBAAwB,CAWxC;AAXD,WAAiB,wBAAwB;IACrC;;OAEG;IACH,IAAY,QAMX;IAND,WAAY,QAAQ;QAChB,+DAAmD,CAAA;QACnD,2DAA+C,CAAA;QAC/C,2DAA+C,CAAA;QAC/C,+DAAmD,CAAA;QACnD,2BAAe,CAAA;IACnB,CAAC,EANW,QAAQ,GAAR,iCAAQ,KAAR,iCAAQ,QAMnB;AACL,CAAC,EAXgB,wBAAwB,wCAAxB,wBAAwB,QAWxC"}
@@ -0,0 +1,62 @@
1
+ import type { ChecklistItemResponseDto } from './ChecklistItemResponseDto';
2
+ export type ChecklistResponseDto = {
3
+ /**
4
+ * Unique identifier for the checklist
5
+ */
6
+ id: string;
7
+ /**
8
+ * ID of the entity this checklist belongs to
9
+ */
10
+ entityId: string;
11
+ /**
12
+ * Type of entity this checklist is for
13
+ */
14
+ entityType: ChecklistResponseDto.entityType;
15
+ /**
16
+ * Reference ID from other applications to identify this checklist
17
+ */
18
+ referenceId?: string;
19
+ /**
20
+ * Name of the checklist
21
+ */
22
+ name?: string;
23
+ /**
24
+ * Description of the checklist
25
+ */
26
+ description?: string;
27
+ /**
28
+ * Current status of the checklist
29
+ */
30
+ status: ChecklistResponseDto.status;
31
+ /**
32
+ * List of checklist items
33
+ */
34
+ items: Array<ChecklistItemResponseDto>;
35
+ /**
36
+ * When the checklist was created
37
+ */
38
+ createdAt: string;
39
+ /**
40
+ * When the checklist was last updated
41
+ */
42
+ updatedAt: string;
43
+ };
44
+ export declare namespace ChecklistResponseDto {
45
+ /**
46
+ * Type of entity this checklist is for
47
+ */
48
+ enum entityType {
49
+ INDIVIDUAL_CLIENT = "INDIVIDUAL_CLIENT",
50
+ CORPORATE_CLIENT = "CORPORATE_CLIENT",
51
+ ALERT = "ALERT",
52
+ CASE = "CASE"
53
+ }
54
+ /**
55
+ * Current status of the checklist
56
+ */
57
+ enum status {
58
+ ACTIVE = "ACTIVE",
59
+ ARCHIVED = "ARCHIVED",
60
+ COMPLETED = "COMPLETED"
61
+ }
62
+ }
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ChecklistResponseDto = void 0;
4
+ var ChecklistResponseDto;
5
+ (function (ChecklistResponseDto) {
6
+ /**
7
+ * Type of entity this checklist is for
8
+ */
9
+ let entityType;
10
+ (function (entityType) {
11
+ entityType["INDIVIDUAL_CLIENT"] = "INDIVIDUAL_CLIENT";
12
+ entityType["CORPORATE_CLIENT"] = "CORPORATE_CLIENT";
13
+ entityType["ALERT"] = "ALERT";
14
+ entityType["CASE"] = "CASE";
15
+ })(entityType = ChecklistResponseDto.entityType || (ChecklistResponseDto.entityType = {}));
16
+ /**
17
+ * Current status of the checklist
18
+ */
19
+ let status;
20
+ (function (status) {
21
+ status["ACTIVE"] = "ACTIVE";
22
+ status["ARCHIVED"] = "ARCHIVED";
23
+ status["COMPLETED"] = "COMPLETED";
24
+ })(status = ChecklistResponseDto.status || (ChecklistResponseDto.status = {}));
25
+ })(ChecklistResponseDto || (exports.ChecklistResponseDto = ChecklistResponseDto = {}));
26
+ //# sourceMappingURL=ChecklistResponseDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChecklistResponseDto.js","sourceRoot":"","sources":["../../models/ChecklistResponseDto.ts"],"names":[],"mappings":";;;AA+CA,IAAiB,oBAAoB,CAkBpC;AAlBD,WAAiB,oBAAoB;IACjC;;OAEG;IACH,IAAY,UAKX;IALD,WAAY,UAAU;QAClB,qDAAuC,CAAA;QACvC,mDAAqC,CAAA;QACrC,6BAAe,CAAA;QACf,2BAAa,CAAA;IACjB,CAAC,EALW,UAAU,GAAV,+BAAU,KAAV,+BAAU,QAKrB;IACD;;OAEG;IACH,IAAY,MAIX;IAJD,WAAY,MAAM;QACd,2BAAiB,CAAA;QACjB,+BAAqB,CAAA;QACrB,iCAAuB,CAAA;IAC3B,CAAC,EAJW,MAAM,GAAN,2BAAM,KAAN,2BAAM,QAIjB;AACL,CAAC,EAlBgB,oBAAoB,oCAApB,oBAAoB,QAkBpC"}
@@ -0,0 +1,45 @@
1
+ export type ChecklistTemplateItemResponseDto = {
2
+ /**
3
+ * The unique identifier of the item
4
+ */
5
+ id: string;
6
+ /**
7
+ * The name of the item
8
+ */
9
+ name: string;
10
+ /**
11
+ * Optional note for the item
12
+ */
13
+ note?: string;
14
+ /**
15
+ * The category of the checklist item
16
+ */
17
+ category: ChecklistTemplateItemResponseDto.category;
18
+ /**
19
+ * Available status options for this item
20
+ */
21
+ statusOptions: Array<{
22
+ name?: string;
23
+ color?: string | null;
24
+ }>;
25
+ /**
26
+ * When the item was created
27
+ */
28
+ createdAt: string;
29
+ /**
30
+ * When the item was last updated
31
+ */
32
+ updatedAt: string;
33
+ };
34
+ export declare namespace ChecklistTemplateItemResponseDto {
35
+ /**
36
+ * The category of the checklist item
37
+ */
38
+ enum category {
39
+ PERSONAL_IDENTIFICATION = "PERSONAL_IDENTIFICATION",
40
+ FINANCIAL_INFORMATION = "FINANCIAL_INFORMATION",
41
+ CORPORATE_INFORMATION = "CORPORATE_INFORMATION",
42
+ DECLARATIONS_COMPLIANCE = "DECLARATIONS_COMPLIANCE",
43
+ OTHER = "OTHER"
44
+ }
45
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ChecklistTemplateItemResponseDto = void 0;
4
+ var ChecklistTemplateItemResponseDto;
5
+ (function (ChecklistTemplateItemResponseDto) {
6
+ /**
7
+ * The category of the checklist item
8
+ */
9
+ let category;
10
+ (function (category) {
11
+ category["PERSONAL_IDENTIFICATION"] = "PERSONAL_IDENTIFICATION";
12
+ category["FINANCIAL_INFORMATION"] = "FINANCIAL_INFORMATION";
13
+ category["CORPORATE_INFORMATION"] = "CORPORATE_INFORMATION";
14
+ category["DECLARATIONS_COMPLIANCE"] = "DECLARATIONS_COMPLIANCE";
15
+ category["OTHER"] = "OTHER";
16
+ })(category = ChecklistTemplateItemResponseDto.category || (ChecklistTemplateItemResponseDto.category = {}));
17
+ })(ChecklistTemplateItemResponseDto || (exports.ChecklistTemplateItemResponseDto = ChecklistTemplateItemResponseDto = {}));
18
+ //# sourceMappingURL=ChecklistTemplateItemResponseDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChecklistTemplateItemResponseDto.js","sourceRoot":"","sources":["../../models/ChecklistTemplateItemResponseDto.ts"],"names":[],"mappings":";;;AAqCA,IAAiB,gCAAgC,CAWhD;AAXD,WAAiB,gCAAgC;IAC7C;;OAEG;IACH,IAAY,QAMX;IAND,WAAY,QAAQ;QAChB,+DAAmD,CAAA;QACnD,2DAA+C,CAAA;QAC/C,2DAA+C,CAAA;QAC/C,+DAAmD,CAAA;QACnD,2BAAe,CAAA;IACnB,CAAC,EANW,QAAQ,GAAR,yCAAQ,KAAR,yCAAQ,QAMnB;AACL,CAAC,EAXgB,gCAAgC,gDAAhC,gCAAgC,QAWhD"}
@@ -0,0 +1,50 @@
1
+ import type { ChecklistTemplateItemResponseDto } from './ChecklistTemplateItemResponseDto';
2
+ export type ChecklistTemplateResponseDto = {
3
+ /**
4
+ * The unique identifier of the template
5
+ */
6
+ id: string;
7
+ /**
8
+ * The platform ID
9
+ */
10
+ platformId: string;
11
+ /**
12
+ * The type of entity this template is for
13
+ */
14
+ entityType: ChecklistTemplateResponseDto.entityType;
15
+ /**
16
+ * The name of the template
17
+ */
18
+ name: string;
19
+ /**
20
+ * Optional description of the template
21
+ */
22
+ description?: string;
23
+ /**
24
+ * Whether the template is active
25
+ */
26
+ isActive: boolean;
27
+ /**
28
+ * When the template was created
29
+ */
30
+ createdAt: string;
31
+ /**
32
+ * When the template was last updated
33
+ */
34
+ updatedAt: string;
35
+ /**
36
+ * The items in this template
37
+ */
38
+ items: Array<ChecklistTemplateItemResponseDto>;
39
+ };
40
+ export declare namespace ChecklistTemplateResponseDto {
41
+ /**
42
+ * The type of entity this template is for
43
+ */
44
+ enum entityType {
45
+ INDIVIDUAL_CLIENT = "INDIVIDUAL_CLIENT",
46
+ CORPORATE_CLIENT = "CORPORATE_CLIENT",
47
+ ALERT = "ALERT",
48
+ CASE = "CASE"
49
+ }
50
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ChecklistTemplateResponseDto = void 0;
4
+ var ChecklistTemplateResponseDto;
5
+ (function (ChecklistTemplateResponseDto) {
6
+ /**
7
+ * The type of entity this template is for
8
+ */
9
+ let entityType;
10
+ (function (entityType) {
11
+ entityType["INDIVIDUAL_CLIENT"] = "INDIVIDUAL_CLIENT";
12
+ entityType["CORPORATE_CLIENT"] = "CORPORATE_CLIENT";
13
+ entityType["ALERT"] = "ALERT";
14
+ entityType["CASE"] = "CASE";
15
+ })(entityType = ChecklistTemplateResponseDto.entityType || (ChecklistTemplateResponseDto.entityType = {}));
16
+ })(ChecklistTemplateResponseDto || (exports.ChecklistTemplateResponseDto = ChecklistTemplateResponseDto = {}));
17
+ //# sourceMappingURL=ChecklistTemplateResponseDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChecklistTemplateResponseDto.js","sourceRoot":"","sources":["../../models/ChecklistTemplateResponseDto.ts"],"names":[],"mappings":";;;AA2CA,IAAiB,4BAA4B,CAU5C;AAVD,WAAiB,4BAA4B;IACzC;;OAEG;IACH,IAAY,UAKX;IALD,WAAY,UAAU;QAClB,qDAAuC,CAAA;QACvC,mDAAqC,CAAA;QACrC,6BAAe,CAAA;QACf,2BAAa,CAAA;IACjB,CAAC,EALW,UAAU,GAAV,uCAAU,KAAV,uCAAU,QAKrB;AACL,CAAC,EAVgB,4BAA4B,4CAA5B,4BAA4B,QAU5C"}
@@ -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":""}
@@ -58,10 +58,6 @@ export type CorporateClientDto = {
58
58
  * Screening information (subpoenas, SARs)
59
59
  */
60
60
  screening?: CorporateClientScreeningDto;
61
- /**
62
- * List of control measures applied to the client
63
- */
64
- controls?: Array<string>;
65
61
  /**
66
62
  * Current risk assessment of the client
67
63
  */
@@ -93,7 +89,12 @@ export type CorporateClientDto = {
93
89
  /**
94
90
  * Tags associated with the client
95
91
  */
96
- tags?: Array<string>;
92
+ tags: Array<string>;
93
+ /**
94
+ * List of control measures applied (DEPRECATED)
95
+ * @deprecated
96
+ */
97
+ controls: Array<string>;
97
98
  /**
98
99
  * ISO Date when the client record was created
99
100
  */
@@ -119,7 +120,8 @@ export declare namespace CorporateClientDto {
119
120
  OFF_BOARDED = "OFF_BOARDED",
120
121
  FROZEN = "FROZEN",
121
122
  PENDING_DOCUMENTS = "PENDING_DOCUMENTS",
122
- CLOSED_BY_CLIENT = "CLOSED_BY_CLIENT"
123
+ CLOSED_BY_CLIENT = "CLOSED_BY_CLIENT",
124
+ APPLICATION_IN_PROGRESS = "APPLICATION_IN_PROGRESS"
123
125
  }
124
126
  /**
125
127
  * 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":";;;AAkHA,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
  };
@@ -18,17 +18,6 @@ export type CreateChecklistTemplateItemDto = {
18
18
  name?: string;
19
19
  color?: 'red' | 'orange' | 'yellow' | 'green' | 'blue' | 'purple' | 'pink' | 'gray' | 'white' | 'black' | null;
20
20
  }>;
21
- /**
22
- * Custom fields for this checklist item
23
- */
24
- customFields?: Record<string, {
25
- label?: string;
26
- value?: (string | number | boolean);
27
- description?: string;
28
- category?: string;
29
- possibleValues?: Array<(string | number)>;
30
- immutable?: boolean;
31
- }>;
32
21
  };
33
22
  export declare namespace CreateChecklistTemplateItemDto {
34
23
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"CreateChecklistTemplateItemDto.js","sourceRoot":"","sources":["../../models/CreateChecklistTemplateItemDto.ts"],"names":[],"mappings":";;;AAoCA,IAAiB,8BAA8B,CAW9C;AAXD,WAAiB,8BAA8B;IAC3C;;OAEG;IACH,IAAY,QAMX;IAND,WAAY,QAAQ;QAChB,+DAAmD,CAAA;QACnD,2DAA+C,CAAA;QAC/C,2DAA+C,CAAA;QAC/C,+DAAmD,CAAA;QACnD,2BAAe,CAAA;IACnB,CAAC,EANW,QAAQ,GAAR,uCAAQ,KAAR,uCAAQ,QAMnB;AACL,CAAC,EAXgB,8BAA8B,8CAA9B,8BAA8B,QAW9C"}
1
+ {"version":3,"file":"CreateChecklistTemplateItemDto.js","sourceRoot":"","sources":["../../models/CreateChecklistTemplateItemDto.ts"],"names":[],"mappings":";;;AAyBA,IAAiB,8BAA8B,CAW9C;AAXD,WAAiB,8BAA8B;IAC3C;;OAEG;IACH,IAAY,QAMX;IAND,WAAY,QAAQ;QAChB,+DAAmD,CAAA;QACnD,2DAA+C,CAAA;QAC/C,2DAA+C,CAAA;QAC/C,+DAAmD,CAAA;QACnD,2BAAe,CAAA;IACnB,CAAC,EANW,QAAQ,GAAR,uCAAQ,KAAR,uCAAQ,QAMnB;AACL,CAAC,EAXgB,8BAA8B,8CAA9B,8BAA8B,QAW9C"}
@@ -26,11 +26,12 @@ 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
+ * @deprecated
34
35
  */
35
36
  controls?: Array<string>;
36
37
  /**
@@ -86,7 +87,8 @@ export declare namespace CreateCorporateClientDto {
86
87
  OFF_BOARDED = "OFF_BOARDED",
87
88
  FROZEN = "FROZEN",
88
89
  PENDING_DOCUMENTS = "PENDING_DOCUMENTS",
89
- CLOSED_BY_CLIENT = "CLOSED_BY_CLIENT"
90
+ CLOSED_BY_CLIENT = "CLOSED_BY_CLIENT",
91
+ APPLICATION_IN_PROGRESS = "APPLICATION_IN_PROGRESS"
90
92
  }
91
93
  /**
92
94
  * 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