@corsa-labs/sdk 3.30.0 → 4.0.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 (98) 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 -6
  5. package/dist/index.js +18 -10
  6. package/dist/index.js.map +1 -1
  7. package/dist/models/AlertDto.d.ts +4 -0
  8. package/dist/models/AlertDto.js.map +1 -1
  9. package/dist/models/CaseDto.d.ts +4 -0
  10. package/dist/models/CaseDto.js.map +1 -1
  11. package/dist/models/CorporateClientAdverseMediaDto.d.ts +37 -0
  12. package/dist/models/CorporateClientAdverseMediaDto.js +17 -0
  13. package/dist/models/CorporateClientAdverseMediaDto.js.map +1 -0
  14. package/dist/models/CorporateClientBusinessDto.d.ts +126 -0
  15. package/dist/models/CorporateClientBusinessDto.js +113 -0
  16. package/dist/models/CorporateClientBusinessDto.js.map +1 -1
  17. package/dist/models/CorporateClientDto.d.ts +25 -0
  18. package/dist/models/CorporateClientDto.js.map +1 -1
  19. package/dist/models/CorporateClientMembersDto.d.ts +12 -0
  20. package/dist/models/{StatusOptionDto.js → CorporateClientMembersDto.js} +1 -1
  21. package/dist/models/CorporateClientMembersDto.js.map +1 -0
  22. package/dist/models/CorporateClientPEPDto.d.ts +34 -0
  23. package/dist/models/CorporateClientPEPDto.js +18 -0
  24. package/dist/models/CorporateClientPEPDto.js.map +1 -0
  25. package/dist/models/CorporateClientScreeningDto.d.ts +10 -0
  26. package/dist/models/CorporateClientScreeningDto.js +3 -0
  27. package/dist/models/CorporateClientScreeningDto.js.map +1 -0
  28. package/dist/models/CorporateClientSourceOfFundsDto.d.ts +35 -0
  29. package/dist/models/CorporateClientSourceOfFundsDto.js +19 -0
  30. package/dist/models/CorporateClientSourceOfFundsDto.js.map +1 -0
  31. package/dist/models/CreateAlertDto.d.ts +4 -0
  32. package/dist/models/CreateAlertDto.js.map +1 -1
  33. package/dist/models/CreateCaseDto.d.ts +4 -0
  34. package/dist/models/CreateCaseDto.js.map +1 -1
  35. package/dist/models/CreateChecklistTemplateDto.d.ts +3 -1
  36. package/dist/models/CreateChecklistTemplateDto.js +2 -0
  37. package/dist/models/CreateChecklistTemplateDto.js.map +1 -1
  38. package/dist/models/CreateCorporateClientDto.d.ts +20 -0
  39. package/dist/models/CreateCorporateClientDto.js.map +1 -1
  40. package/dist/models/CreateDepositOperationDto.d.ts +1 -1
  41. package/dist/models/CreateExternalDocumentDto.d.ts +58 -0
  42. package/dist/models/CreateExternalDocumentDto.js +31 -0
  43. package/dist/models/CreateExternalDocumentDto.js.map +1 -0
  44. package/dist/models/CreateExternalDocumentResponseDto.d.ts +10 -0
  45. package/dist/models/CreateExternalDocumentResponseDto.js +3 -0
  46. package/dist/models/CreateExternalDocumentResponseDto.js.map +1 -0
  47. package/dist/models/CreateTradeOperationDto.d.ts +1 -1
  48. package/dist/models/CreateTransactionDto.d.ts +1 -1
  49. package/dist/models/CreateWithdrawalOperationDto.d.ts +1 -1
  50. package/dist/models/RelateAttachmentsDto.d.ts +28 -0
  51. package/dist/models/RelateAttachmentsDto.js +20 -0
  52. package/dist/models/RelateAttachmentsDto.js.map +1 -0
  53. package/dist/models/TransactionAmountDto.d.ts +1 -1
  54. package/dist/models/TransactionSourceOrDestinationDto.d.ts +3 -3
  55. package/dist/models/UpdateAlertDto.d.ts +4 -0
  56. package/dist/models/UpdateAlertDto.js.map +1 -1
  57. package/dist/models/UpdateAttachmentDto.d.ts +42 -0
  58. package/dist/models/UpdateAttachmentDto.js +31 -0
  59. package/dist/models/UpdateAttachmentDto.js.map +1 -0
  60. package/dist/models/UpdateCaseDto.d.ts +4 -0
  61. package/dist/models/UpdateCaseDto.js.map +1 -1
  62. package/dist/models/UpdateChecklistItemDto.d.ts +5 -2
  63. package/dist/models/UpdateChecklistItemDto.js.map +1 -1
  64. package/dist/models/UpdateCorporateClientDto.d.ts +20 -0
  65. package/dist/models/UpdateCorporateClientDto.js.map +1 -1
  66. package/dist/services/AttachmentsService.d.ts +68 -0
  67. package/dist/services/AttachmentsService.js +145 -0
  68. package/dist/services/AttachmentsService.js.map +1 -0
  69. package/dist/services/ChecklistsService.d.ts +18 -33
  70. package/dist/services/ChecklistsService.js +17 -29
  71. package/dist/services/ChecklistsService.js.map +1 -1
  72. package/dist/services/ClientsService.d.ts +2 -1
  73. package/dist/services/ClientsService.js +5 -1
  74. package/dist/services/ClientsService.js.map +1 -1
  75. package/dist/services/MembersService.d.ts +22 -22
  76. package/dist/services/MembersService.js +47 -47
  77. package/dist/services/MembersService.js.map +1 -1
  78. package/dist/services/PlatformService.d.ts +1 -1
  79. package/dist/services/PlatformService.js +1 -1
  80. package/dist/services/PlatformService.js.map +1 -1
  81. package/dist/services/TransactionsService.d.ts +5 -3
  82. package/dist/services/TransactionsService.js +5 -3
  83. package/dist/services/TransactionsService.js.map +1 -1
  84. package/package.json +2 -2
  85. package/dist/models/ChecklistItemResponseDto.d.ts +0 -80
  86. package/dist/models/ChecklistItemResponseDto.js +0 -18
  87. package/dist/models/ChecklistItemResponseDto.js.map +0 -1
  88. package/dist/models/ChecklistResponseDto.d.ts +0 -56
  89. package/dist/models/ChecklistResponseDto.js +0 -24
  90. package/dist/models/ChecklistResponseDto.js.map +0 -1
  91. package/dist/models/ChecklistTemplateItemResponseDto.d.ts +0 -56
  92. package/dist/models/ChecklistTemplateItemResponseDto.js +0 -18
  93. package/dist/models/ChecklistTemplateItemResponseDto.js.map +0 -1
  94. package/dist/models/ChecklistTemplateResponseDto.d.ts +0 -48
  95. package/dist/models/ChecklistTemplateResponseDto.js +0 -15
  96. package/dist/models/ChecklistTemplateResponseDto.js.map +0 -1
  97. package/dist/models/StatusOptionDto.d.ts +0 -10
  98. package/dist/models/StatusOptionDto.js.map +0 -1
@@ -1,4 +1,3 @@
1
- import type { StatusOptionDto } from './StatusOptionDto';
2
1
  export type UpdateChecklistItemDto = {
3
2
  /**
4
3
  * Name of the checklist item
@@ -16,6 +15,10 @@ export type UpdateChecklistItemDto = {
16
15
  * The status of the checklist item (can be default or custom status)
17
16
  */
18
17
  status?: string;
18
+ /**
19
+ * ID of the attached document from the attachment service
20
+ */
21
+ attachmentId?: string;
19
22
  /**
20
23
  * URL to the attached document
21
24
  */
@@ -43,7 +46,7 @@ export type UpdateChecklistItemDto = {
43
46
  /**
44
47
  * Status options for this checklist item
45
48
  */
46
- statusOptions?: Array<StatusOptionDto>;
49
+ statusOptions?: Array<Record<string, any>>;
47
50
  };
48
51
  export declare namespace UpdateChecklistItemDto {
49
52
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateChecklistItemDto.js","sourceRoot":"","sources":["../../models/UpdateChecklistItemDto.ts"],"names":[],"mappings":";;;AAmDA,IAAiB,sBAAsB,CAWtC;AAXD,WAAiB,sBAAsB;IACnC;;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,+BAAQ,KAAR,+BAAQ,QAMnB;AACL,CAAC,EAXgB,sBAAsB,sCAAtB,sBAAsB,QAWtC"}
1
+ {"version":3,"file":"UpdateChecklistItemDto.js","sourceRoot":"","sources":["../../models/UpdateChecklistItemDto.ts"],"names":[],"mappings":";;;AAsDA,IAAiB,sBAAsB,CAWtC;AAXD,WAAiB,sBAAsB;IACnC;;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,+BAAQ,KAAR,+BAAQ,QAMnB;AACL,CAAC,EAXgB,sBAAsB,sCAAtB,sBAAsB,QAWtC"}
@@ -1,8 +1,12 @@
1
1
  import type { CorporateClientAddressDto } from './CorporateClientAddressDto';
2
+ import type { CorporateClientAdverseMediaDto } from './CorporateClientAdverseMediaDto';
2
3
  import type { CorporateClientApplicationDto } from './CorporateClientApplicationDto';
3
4
  import type { CorporateClientBusinessDto } from './CorporateClientBusinessDto';
4
5
  import type { CorporateClientGeneralDto } from './CorporateClientGeneralDto';
5
6
  import type { CorporateClientIntegrationsDto } from './CorporateClientIntegrationsDto';
7
+ import type { CorporateClientPEPDto } from './CorporateClientPEPDto';
8
+ import type { CorporateClientScreeningDto } from './CorporateClientScreeningDto';
9
+ import type { CorporateClientSourceOfFundsDto } from './CorporateClientSourceOfFundsDto';
6
10
  import type { CreateOrUpdateRiskDto } from './CreateOrUpdateRiskDto';
7
11
  export type UpdateCorporateClientDto = {
8
12
  /**
@@ -37,6 +41,22 @@ export type UpdateCorporateClientDto = {
37
41
  * Application information of the corporate client
38
42
  */
39
43
  application?: CorporateClientApplicationDto;
44
+ /**
45
+ * Source of funds information
46
+ */
47
+ sourceOfFundsInfo?: CorporateClientSourceOfFundsDto;
48
+ /**
49
+ * Adverse media information
50
+ */
51
+ adverseMedia?: CorporateClientAdverseMediaDto;
52
+ /**
53
+ * Politically Exposed Person (PEP) information
54
+ */
55
+ politicalExposure?: CorporateClientPEPDto;
56
+ /**
57
+ * Screening information (subpoenas, SARs)
58
+ */
59
+ screening?: CorporateClientScreeningDto;
40
60
  /**
41
61
  * Custom fields data
42
62
  */
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateCorporateClientDto.js","sourceRoot":"","sources":["../../models/UpdateCorporateClientDto.ts"],"names":[],"mappings":";;;AAoEA,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,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"}
@@ -0,0 +1,68 @@
1
+ import type { CreateExternalDocumentDto } from '../models/CreateExternalDocumentDto';
2
+ import type { CreateExternalDocumentResponseDto } from '../models/CreateExternalDocumentResponseDto';
3
+ import type { RelateAttachmentsDto } from '../models/RelateAttachmentsDto';
4
+ import type { UpdateAttachmentDto } from '../models/UpdateAttachmentDto';
5
+ import type { CancelablePromise } from '../core/CancelablePromise';
6
+ import type { BaseHttpRequest } from '../core/BaseHttpRequest';
7
+ export declare class AttachmentsService {
8
+ readonly httpRequest: BaseHttpRequest;
9
+ constructor(httpRequest: BaseHttpRequest);
10
+ /**
11
+ * Get all attachments for a specific entity
12
+ * @param entityType Type of entity to get attachments for
13
+ * @param entityId ID of the entity to get attachments for
14
+ * @returns any Attachments retrieved successfully
15
+ * @throws ApiError
16
+ */
17
+ getAttachmentsByEntity(entityType: 'comment' | 'client' | 'transaction' | 'report' | 'case' | 'alert' | 'checklist_item', entityId: string): CancelablePromise<any>;
18
+ /**
19
+ * Get download URLs for specific attachment IDs
20
+ * @param ids Comma-separated list of attachment IDs
21
+ * @returns any Download URLs generated successfully
22
+ * @throws ApiError
23
+ */
24
+ getDownloadUrlsByIds(ids: string): CancelablePromise<any>;
25
+ /**
26
+ * Upload files and associate them with an entity
27
+ * @param entityType Type of entity to associate attachments with
28
+ * @param entityId ID of the entity to associate attachments with
29
+ * @param formData
30
+ * @returns any Files uploaded successfully
31
+ * @throws ApiError
32
+ */
33
+ uploadAttachments(entityType: 'comment' | 'client' | 'transaction' | 'report' | 'case' | 'alert' | 'checklist_item', entityId: string, formData: {
34
+ /**
35
+ * Files to upload (max 5MB each, max 10 files)
36
+ */
37
+ files: Array<Blob>;
38
+ }): CancelablePromise<any>;
39
+ /**
40
+ * Update attachment metadata
41
+ * @param attachmentId ID of the attachment to update
42
+ * @param requestBody
43
+ * @returns any Attachment updated successfully
44
+ * @throws ApiError
45
+ */
46
+ updateAttachment(attachmentId: string, requestBody: UpdateAttachmentDto): CancelablePromise<any>;
47
+ /**
48
+ * Delete an attachment
49
+ * @param attachmentId ID of the attachment to delete
50
+ * @returns void
51
+ * @throws ApiError
52
+ */
53
+ deleteAttachment(attachmentId: string): CancelablePromise<void>;
54
+ /**
55
+ * Relate existing attachments to an entity
56
+ * @param requestBody
57
+ * @returns any Attachments related successfully
58
+ * @throws ApiError
59
+ */
60
+ relateAttachments(requestBody: RelateAttachmentsDto): CancelablePromise<any>;
61
+ /**
62
+ * Create an external document attachment from a download URL
63
+ * @param requestBody
64
+ * @returns CreateExternalDocumentResponseDto External document attachment created successfully
65
+ * @throws ApiError
66
+ */
67
+ createExternalDocument(requestBody: CreateExternalDocumentDto): CancelablePromise<CreateExternalDocumentResponseDto>;
68
+ }
@@ -0,0 +1,145 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AttachmentsService = void 0;
4
+ class AttachmentsService {
5
+ httpRequest;
6
+ constructor(httpRequest) {
7
+ this.httpRequest = httpRequest;
8
+ }
9
+ /**
10
+ * Get all attachments for a specific entity
11
+ * @param entityType Type of entity to get attachments for
12
+ * @param entityId ID of the entity to get attachments for
13
+ * @returns any Attachments retrieved successfully
14
+ * @throws ApiError
15
+ */
16
+ getAttachmentsByEntity(entityType, entityId) {
17
+ return this.httpRequest.request({
18
+ method: 'GET',
19
+ url: '/v1/attachments',
20
+ query: {
21
+ 'entityType': entityType,
22
+ 'entityId': entityId,
23
+ },
24
+ errors: {
25
+ 400: `Bad request - missing required parameters`,
26
+ },
27
+ });
28
+ }
29
+ /**
30
+ * Get download URLs for specific attachment IDs
31
+ * @param ids Comma-separated list of attachment IDs
32
+ * @returns any Download URLs generated successfully
33
+ * @throws ApiError
34
+ */
35
+ getDownloadUrlsByIds(ids) {
36
+ return this.httpRequest.request({
37
+ method: 'GET',
38
+ url: '/v1/attachments/download-urls',
39
+ query: {
40
+ 'ids': ids,
41
+ },
42
+ errors: {
43
+ 400: `Bad request - missing or invalid attachment IDs`,
44
+ },
45
+ });
46
+ }
47
+ /**
48
+ * Upload files and associate them with an entity
49
+ * @param entityType Type of entity to associate attachments with
50
+ * @param entityId ID of the entity to associate attachments with
51
+ * @param formData
52
+ * @returns any Files uploaded successfully
53
+ * @throws ApiError
54
+ */
55
+ uploadAttachments(entityType, entityId, formData) {
56
+ return this.httpRequest.request({
57
+ method: 'POST',
58
+ url: '/v1/attachments/upload',
59
+ query: {
60
+ 'entityType': entityType,
61
+ 'entityId': entityId,
62
+ },
63
+ formData: formData,
64
+ mediaType: 'multipart/form-data',
65
+ errors: {
66
+ 400: `Bad request - missing required parameters or files`,
67
+ },
68
+ });
69
+ }
70
+ /**
71
+ * Update attachment metadata
72
+ * @param attachmentId ID of the attachment to update
73
+ * @param requestBody
74
+ * @returns any Attachment updated successfully
75
+ * @throws ApiError
76
+ */
77
+ updateAttachment(attachmentId, requestBody) {
78
+ return this.httpRequest.request({
79
+ method: 'PUT',
80
+ url: '/v1/attachments/{attachmentId}',
81
+ path: {
82
+ 'attachmentId': attachmentId,
83
+ },
84
+ body: requestBody,
85
+ mediaType: 'application/json',
86
+ errors: {
87
+ 404: `Attachment not found`,
88
+ },
89
+ });
90
+ }
91
+ /**
92
+ * Delete an attachment
93
+ * @param attachmentId ID of the attachment to delete
94
+ * @returns void
95
+ * @throws ApiError
96
+ */
97
+ deleteAttachment(attachmentId) {
98
+ return this.httpRequest.request({
99
+ method: 'DELETE',
100
+ url: '/v1/attachments/{attachmentId}',
101
+ path: {
102
+ 'attachmentId': attachmentId,
103
+ },
104
+ errors: {
105
+ 404: `Attachment not found`,
106
+ },
107
+ });
108
+ }
109
+ /**
110
+ * Relate existing attachments to an entity
111
+ * @param requestBody
112
+ * @returns any Attachments related successfully
113
+ * @throws ApiError
114
+ */
115
+ relateAttachments(requestBody) {
116
+ return this.httpRequest.request({
117
+ method: 'POST',
118
+ url: '/v1/attachments/relate',
119
+ body: requestBody,
120
+ mediaType: 'application/json',
121
+ errors: {
122
+ 400: `Bad request - invalid data`,
123
+ },
124
+ });
125
+ }
126
+ /**
127
+ * Create an external document attachment from a download URL
128
+ * @param requestBody
129
+ * @returns CreateExternalDocumentResponseDto External document attachment created successfully
130
+ * @throws ApiError
131
+ */
132
+ createExternalDocument(requestBody) {
133
+ return this.httpRequest.request({
134
+ method: 'POST',
135
+ url: '/v1/attachments/external-document',
136
+ body: requestBody,
137
+ mediaType: 'application/json',
138
+ errors: {
139
+ 400: `Bad request - invalid data`,
140
+ },
141
+ });
142
+ }
143
+ }
144
+ exports.AttachmentsService = AttachmentsService;
145
+ //# sourceMappingURL=AttachmentsService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AttachmentsService.js","sourceRoot":"","sources":["../../services/AttachmentsService.ts"],"names":[],"mappings":";;;AAUA,MAAa,kBAAkB;IACC;IAA5B,YAA4B,WAA4B;QAA5B,gBAAW,GAAX,WAAW,CAAiB;IAAG,CAAC;IAC5D;;;;;;OAMG;IACI,sBAAsB,CACzB,UAAiG,EACjG,QAAgB;QAEhB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,iBAAiB;YACtB,KAAK,EAAE;gBACH,YAAY,EAAE,UAAU;gBACxB,UAAU,EAAE,QAAQ;aACvB;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,2CAA2C;aACnD;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,oBAAoB,CACvB,GAAW;QAEX,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,+BAA+B;YACpC,KAAK,EAAE;gBACH,KAAK,EAAE,GAAG;aACb;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,iDAAiD;aACzD;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;OAOG;IACI,iBAAiB,CACpB,UAAiG,EACjG,QAAgB,EAChB,QAKC;QAED,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,wBAAwB;YAC7B,KAAK,EAAE;gBACH,YAAY,EAAE,UAAU;gBACxB,UAAU,EAAE,QAAQ;aACvB;YACD,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,qBAAqB;YAChC,MAAM,EAAE;gBACJ,GAAG,EAAE,oDAAoD;aAC5D;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,gBAAgB,CACnB,YAAoB,EACpB,WAAgC;QAEhC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,gCAAgC;YACrC,IAAI,EAAE;gBACF,cAAc,EAAE,YAAY;aAC/B;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;YAC7B,MAAM,EAAE;gBACJ,GAAG,EAAE,sBAAsB;aAC9B;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,gBAAgB,CACnB,YAAoB;QAEpB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,gCAAgC;YACrC,IAAI,EAAE;gBACF,cAAc,EAAE,YAAY;aAC/B;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,sBAAsB;aAC9B;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,iBAAiB,CACpB,WAAiC;QAEjC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,wBAAwB;YAC7B,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;YAC7B,MAAM,EAAE;gBACJ,GAAG,EAAE,4BAA4B;aACpC;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,sBAAsB,CACzB,WAAsC;QAEtC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,mCAAmC;YACxC,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;YAC7B,MAAM,EAAE;gBACJ,GAAG,EAAE,4BAA4B;aACpC;SACJ,CAAC,CAAC;IACP,CAAC;CACJ;AA/JD,gDA+JC"}
@@ -1,7 +1,3 @@
1
- import type { ChecklistItemResponseDto } from '../models/ChecklistItemResponseDto';
2
- import type { ChecklistResponseDto } from '../models/ChecklistResponseDto';
3
- import type { ChecklistTemplateItemResponseDto } from '../models/ChecklistTemplateItemResponseDto';
4
- import type { ChecklistTemplateResponseDto } from '../models/ChecklistTemplateResponseDto';
5
1
  import type { CreateChecklistTemplateDto } from '../models/CreateChecklistTemplateDto';
6
2
  import type { CreateChecklistTemplateItemDto } from '../models/CreateChecklistTemplateItemDto';
7
3
  import type { UpdateChecklistItemDto } from '../models/UpdateChecklistItemDto';
@@ -15,88 +11,77 @@ export declare class ChecklistsService {
15
11
  /**
16
12
  * Create new checklist template
17
13
  * @param requestBody
18
- * @returns ChecklistTemplateResponseDto Checklist template created successfully
14
+ * @returns any Checklist template created successfully
19
15
  * @throws ApiError
20
16
  */
21
- checklistsControllerCreateChecklistTemplate(requestBody: CreateChecklistTemplateDto): CancelablePromise<ChecklistTemplateResponseDto>;
17
+ createChecklistTemplate(requestBody: CreateChecklistTemplateDto): CancelablePromise<any>;
22
18
  /**
23
19
  * Get checklist templates by platform
24
20
  * @param platformId The platform ID to filter templates by
25
21
  * @param entityType Optional entity type filter
26
- * @returns ChecklistTemplateResponseDto Checklist templates retrieved successfully
22
+ * @returns any Checklist templates retrieved successfully
27
23
  * @throws ApiError
28
24
  */
29
- checklistsControllerGetChecklistTemplatesByPlatform(platformId: string, entityType?: string): CancelablePromise<Array<ChecklistTemplateResponseDto>>;
25
+ getChecklistTemplatesByPlatform(platformId: string, entityType?: string): CancelablePromise<any>;
30
26
  /**
31
27
  * Get checklist template by ID
32
28
  * @param id The ID of the checklist template
33
- * @returns ChecklistTemplateResponseDto Checklist template retrieved successfully
29
+ * @returns any Checklist template retrieved successfully
34
30
  * @throws ApiError
35
31
  */
36
- checklistsControllerGetChecklistTemplateById(id: string): CancelablePromise<ChecklistTemplateResponseDto>;
32
+ getChecklistTemplateById(id: string): CancelablePromise<any>;
37
33
  /**
38
34
  * Update checklist template
39
35
  * @param id The ID of the checklist template to update
40
36
  * @param requestBody
41
- * @returns ChecklistTemplateResponseDto Checklist template updated successfully
37
+ * @returns any Checklist template updated successfully
42
38
  * @throws ApiError
43
39
  */
44
- checklistsControllerUpdateChecklistTemplate(id: string, requestBody: UpdateChecklistTemplateDto): CancelablePromise<ChecklistTemplateResponseDto>;
40
+ updateChecklistTemplate(id: string, requestBody: UpdateChecklistTemplateDto): CancelablePromise<any>;
45
41
  /**
46
42
  * Delete checklist template
47
43
  * @param id The ID of the checklist template to delete
48
44
  * @returns void
49
45
  * @throws ApiError
50
46
  */
51
- checklistsControllerDeleteChecklistTemplate(id: string): CancelablePromise<void>;
47
+ deleteChecklistTemplate(id: string): CancelablePromise<void>;
52
48
  /**
53
49
  * Add item to template
54
50
  * @param id The ID of the checklist template
55
51
  * @param requestBody
56
- * @returns ChecklistTemplateItemResponseDto Template item created successfully
52
+ * @returns any Template item created successfully
57
53
  * @throws ApiError
58
54
  */
59
- checklistsControllerAddItemToTemplate(id: string, requestBody: CreateChecklistTemplateItemDto): CancelablePromise<ChecklistTemplateItemResponseDto>;
55
+ addItemToTemplate(id: string, requestBody: CreateChecklistTemplateItemDto): CancelablePromise<any>;
60
56
  /**
61
57
  * Update template item
62
58
  * @param itemId The ID of the template item to update
63
59
  * @param requestBody
64
- * @returns ChecklistTemplateItemResponseDto Template item updated successfully
60
+ * @returns any Template item updated successfully
65
61
  * @throws ApiError
66
62
  */
67
- checklistsControllerUpdateTemplateItem(itemId: string, requestBody: UpdateChecklistTemplateItemDto): CancelablePromise<ChecklistTemplateItemResponseDto>;
63
+ updateTemplateItem(itemId: string, requestBody: UpdateChecklistTemplateItemDto): CancelablePromise<any>;
68
64
  /**
69
65
  * Delete template item
70
66
  * @param itemId The ID of the template item to delete
71
67
  * @returns void
72
68
  * @throws ApiError
73
69
  */
74
- checklistsControllerDeleteTemplateItem(itemId: string): CancelablePromise<void>;
70
+ deleteTemplateItem(itemId: string): CancelablePromise<void>;
75
71
  /**
76
72
  * Update checklist item
77
73
  * @param checklistId The ID of the checklist containing the item
78
74
  * @param itemId The ID of the checklist item to update
79
75
  * @param requestBody
80
- * @returns ChecklistItemResponseDto Checklist item updated successfully
76
+ * @returns any Checklist item updated successfully
81
77
  * @throws ApiError
82
78
  */
83
- checklistsControllerUpdateChecklistItem(checklistId: string, itemId: string, requestBody: UpdateChecklistItemDto): CancelablePromise<ChecklistItemResponseDto>;
79
+ updateChecklistItem(checklistId: string, itemId: string, requestBody: UpdateChecklistItemDto): CancelablePromise<any>;
84
80
  /**
85
81
  * Get checklist for an entity
86
- * Retrieve the checklist for a specific entity with all its items, without pagination
87
82
  * @param entityId ID of the entity to get the checklist for
88
- * @returns ChecklistResponseDto Checklist retrieved successfully
83
+ * @returns any Checklist retrieved successfully
89
84
  * @throws ApiError
90
85
  */
91
- getChecklistByEntity(entityId: string): CancelablePromise<ChecklistResponseDto>;
92
- /**
93
- * Health check for checklist service
94
- * @returns any Service is healthy
95
- * @throws ApiError
96
- */
97
- checklistsControllerHealthCheck(): CancelablePromise<{
98
- status?: string;
99
- service?: string;
100
- timestamp?: string;
101
- }>;
86
+ getChecklistByEntity(entityId: string): CancelablePromise<any>;
102
87
  }
@@ -9,10 +9,10 @@ class ChecklistsService {
9
9
  /**
10
10
  * Create new checklist template
11
11
  * @param requestBody
12
- * @returns ChecklistTemplateResponseDto Checklist template created successfully
12
+ * @returns any Checklist template created successfully
13
13
  * @throws ApiError
14
14
  */
15
- checklistsControllerCreateChecklistTemplate(requestBody) {
15
+ createChecklistTemplate(requestBody) {
16
16
  return this.httpRequest.request({
17
17
  method: 'POST',
18
18
  url: '/v1/checklist-templates',
@@ -28,10 +28,10 @@ class ChecklistsService {
28
28
  * Get checklist templates by platform
29
29
  * @param platformId The platform ID to filter templates by
30
30
  * @param entityType Optional entity type filter
31
- * @returns ChecklistTemplateResponseDto Checklist templates retrieved successfully
31
+ * @returns any Checklist templates retrieved successfully
32
32
  * @throws ApiError
33
33
  */
34
- checklistsControllerGetChecklistTemplatesByPlatform(platformId, entityType) {
34
+ getChecklistTemplatesByPlatform(platformId, entityType) {
35
35
  return this.httpRequest.request({
36
36
  method: 'GET',
37
37
  url: '/v1/checklist-templates',
@@ -48,10 +48,10 @@ class ChecklistsService {
48
48
  /**
49
49
  * Get checklist template by ID
50
50
  * @param id The ID of the checklist template
51
- * @returns ChecklistTemplateResponseDto Checklist template retrieved successfully
51
+ * @returns any Checklist template retrieved successfully
52
52
  * @throws ApiError
53
53
  */
54
- checklistsControllerGetChecklistTemplateById(id) {
54
+ getChecklistTemplateById(id) {
55
55
  return this.httpRequest.request({
56
56
  method: 'GET',
57
57
  url: '/v1/checklist-templates/{id}',
@@ -68,10 +68,10 @@ class ChecklistsService {
68
68
  * Update checklist template
69
69
  * @param id The ID of the checklist template to update
70
70
  * @param requestBody
71
- * @returns ChecklistTemplateResponseDto Checklist template updated successfully
71
+ * @returns any Checklist template updated successfully
72
72
  * @throws ApiError
73
73
  */
74
- checklistsControllerUpdateChecklistTemplate(id, requestBody) {
74
+ updateChecklistTemplate(id, requestBody) {
75
75
  return this.httpRequest.request({
76
76
  method: 'PUT',
77
77
  url: '/v1/checklist-templates/{id}',
@@ -93,7 +93,7 @@ class ChecklistsService {
93
93
  * @returns void
94
94
  * @throws ApiError
95
95
  */
96
- checklistsControllerDeleteChecklistTemplate(id) {
96
+ deleteChecklistTemplate(id) {
97
97
  return this.httpRequest.request({
98
98
  method: 'DELETE',
99
99
  url: '/v1/checklist-templates/{id}',
@@ -110,10 +110,10 @@ class ChecklistsService {
110
110
  * Add item to template
111
111
  * @param id The ID of the checklist template
112
112
  * @param requestBody
113
- * @returns ChecklistTemplateItemResponseDto Template item created successfully
113
+ * @returns any Template item created successfully
114
114
  * @throws ApiError
115
115
  */
116
- checklistsControllerAddItemToTemplate(id, requestBody) {
116
+ addItemToTemplate(id, requestBody) {
117
117
  return this.httpRequest.request({
118
118
  method: 'POST',
119
119
  url: '/v1/checklist-templates/{id}/items',
@@ -133,10 +133,10 @@ class ChecklistsService {
133
133
  * Update template item
134
134
  * @param itemId The ID of the template item to update
135
135
  * @param requestBody
136
- * @returns ChecklistTemplateItemResponseDto Template item updated successfully
136
+ * @returns any Template item updated successfully
137
137
  * @throws ApiError
138
138
  */
139
- checklistsControllerUpdateTemplateItem(itemId, requestBody) {
139
+ updateTemplateItem(itemId, requestBody) {
140
140
  return this.httpRequest.request({
141
141
  method: 'PUT',
142
142
  url: '/v1/checklist-templates/items/{itemId}',
@@ -158,7 +158,7 @@ class ChecklistsService {
158
158
  * @returns void
159
159
  * @throws ApiError
160
160
  */
161
- checklistsControllerDeleteTemplateItem(itemId) {
161
+ deleteTemplateItem(itemId) {
162
162
  return this.httpRequest.request({
163
163
  method: 'DELETE',
164
164
  url: '/v1/checklist-templates/items/{itemId}',
@@ -176,10 +176,10 @@ class ChecklistsService {
176
176
  * @param checklistId The ID of the checklist containing the item
177
177
  * @param itemId The ID of the checklist item to update
178
178
  * @param requestBody
179
- * @returns ChecklistItemResponseDto Checklist item updated successfully
179
+ * @returns any Checklist item updated successfully
180
180
  * @throws ApiError
181
181
  */
182
- checklistsControllerUpdateChecklistItem(checklistId, itemId, requestBody) {
182
+ updateChecklistItem(checklistId, itemId, requestBody) {
183
183
  return this.httpRequest.request({
184
184
  method: 'PUT',
185
185
  url: '/v1/checklists/{checklistId}/items/{itemId}',
@@ -198,9 +198,8 @@ class ChecklistsService {
198
198
  }
199
199
  /**
200
200
  * Get checklist for an entity
201
- * Retrieve the checklist for a specific entity with all its items, without pagination
202
201
  * @param entityId ID of the entity to get the checklist for
203
- * @returns ChecklistResponseDto Checklist retrieved successfully
202
+ * @returns any Checklist retrieved successfully
204
203
  * @throws ApiError
205
204
  */
206
205
  getChecklistByEntity(entityId) {
@@ -216,17 +215,6 @@ class ChecklistsService {
216
215
  },
217
216
  });
218
217
  }
219
- /**
220
- * Health check for checklist service
221
- * @returns any Service is healthy
222
- * @throws ApiError
223
- */
224
- checklistsControllerHealthCheck() {
225
- return this.httpRequest.request({
226
- method: 'GET',
227
- url: '/v1/checklists/health',
228
- });
229
- }
230
218
  }
231
219
  exports.ChecklistsService = ChecklistsService;
232
220
  //# sourceMappingURL=ChecklistsService.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChecklistsService.js","sourceRoot":"","sources":["../../services/ChecklistsService.ts"],"names":[],"mappings":";;;AAeA,MAAa,iBAAiB;IACE;IAA5B,YAA4B,WAA4B;QAA5B,gBAAW,GAAX,WAAW,CAAiB;IAAG,CAAC;IAC5D;;;;;OAKG;IACI,2CAA2C,CAC9C,WAAuC;QAEvC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,yBAAyB;YAC9B,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;YAC7B,MAAM,EAAE;gBACJ,GAAG,EAAE,4BAA4B;gBACjC,GAAG,EAAE,uBAAuB;aAC/B;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,mDAAmD,CACtD,UAAkB,EAClB,UAAmB;QAEnB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,yBAAyB;YAC9B,KAAK,EAAE;gBACH,YAAY,EAAE,UAAU;gBACxB,YAAY,EAAE,UAAU;aAC3B;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,kCAAkC;gBACvC,GAAG,EAAE,uBAAuB;aAC/B;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,4CAA4C,CAC/C,EAAU;QAEV,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,8BAA8B;YACnC,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,8BAA8B;gBACnC,GAAG,EAAE,uBAAuB;aAC/B;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,2CAA2C,CAC9C,EAAU,EACV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D,MAAM,EAAE;gBACJ,GAAG,EAAE,gCAAgC;gBACrC,GAAG,EAAE,uBAAuB;aAC/B;SACJ,CAAC,CAAC;IACP,CAAC;CACJ;AA7OD,8CA6OC"}
@@ -28,10 +28,11 @@ export declare class ClientsService {
28
28
  /**
29
29
  * Get a corporate client by ID
30
30
  * @param clientId
31
+ * @param includeMembers If true, include related members in the response
31
32
  * @returns CorporateClientDto
32
33
  * @throws ApiError
33
34
  */
34
- getCorporateClient(clientId: string): CancelablePromise<CorporateClientDto>;
35
+ getCorporateClient(clientId: string, includeMembers?: boolean): CancelablePromise<CorporateClientDto>;
35
36
  /**
36
37
  * Create a new individual client. If upsert is true, update existing client if found by referenceId, id, sardineCustomerId, or chainalysisUserId
37
38
  * @param requestBody
@@ -45,16 +45,20 @@ class ClientsService {
45
45
  /**
46
46
  * Get a corporate client by ID
47
47
  * @param clientId
48
+ * @param includeMembers If true, include related members in the response
48
49
  * @returns CorporateClientDto
49
50
  * @throws ApiError
50
51
  */
51
- getCorporateClient(clientId) {
52
+ getCorporateClient(clientId, includeMembers) {
52
53
  return this.httpRequest.request({
53
54
  method: 'GET',
54
55
  url: '/v1/clients/corporates/{clientId}',
55
56
  path: {
56
57
  'clientId': clientId,
57
58
  },
59
+ query: {
60
+ 'includeMembers': includeMembers,
61
+ },
58
62
  });
59
63
  }
60
64
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ClientsService.js","sourceRoot":"","sources":["../../services/ClientsService.ts"],"names":[],"mappings":";;;AAYA,MAAa,cAAc;IACK;IAA5B,YAA4B,WAA4B;QAA5B,gBAAW,GAAX,WAAW,CAAiB;IAAG,CAAC;IAC5D;;;;;;OAMG;IACI,qBAAqB,CACxB,WAAqC,EACrC,MAAgB;QAEhB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,wBAAwB;YAC7B,KAAK,EAAE;gBACH,QAAQ,EAAE,MAAM;aACnB;YACD,I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CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,oCAAoC;YACzC,IAAI,EAAE;gBACF,UAAU,EAAE,QAAQ;aACvB;YACD,KAAK,EAAE;gBACH,eAAe,EAAE,aAAa;aACjC;SACJ,CAAC,CAAC;IACP,CAAC;CACJ;AA7HD,wCA6HC"}
1
+ {"version":3,"file":"ClientsService.js","sourceRoot":"","sources":["../../services/ClientsService.ts"],"names":[],"mappings":";;;AAYA,MAAa,cAAc;IACK;IAA5B,YAA4B,WAA4B;QAA5B,gBAAW,GAAX,WAAW,CAAiB;IAAG,CAAC;IAC5D;;;;;;OAMG;IACI,qBAAqB,CACxB,WAAqC,EACrC,MAAgB;QAEhB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,wBAAwB;YAC7B,KAAK,EAAE;gBACH,QAAQ,EAAE,MAAM;aACnB;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,qBAAqB,CACxB,QAAgB,EAChB,WAAqC;QAErC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,mCAAmC;YACxC,IAAI,EAAE;gBACF,UAAU,EAAE,QAAQ;aACvB;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,kBAAkB,CACrB,QAAgB,EAChB,cAAwB;QAExB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,mCAAmC;YACxC,IAAI,EAAE;gBACF,UAAU,EAAE,QAAQ;aACvB;YACD,KAAK,EAAE;gBACH,gBAAgB,EAAE,cAAc;aACnC;SACJ,CAAC,CAAC;IACP,CA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