@corsa-labs/sdk 4.48.0 → 4.50.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.
- package/dist/index.d.ts +10 -0
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/models/AlertDto.d.ts +4 -0
- package/dist/models/AlertDto.js.map +1 -1
- package/dist/models/AlertSourceDto.d.ts +2 -1
- package/dist/models/AlertSourceDto.js +1 -0
- package/dist/models/AlertSourceDto.js.map +1 -1
- package/dist/models/AssociatedClientDto.d.ts +4 -0
- package/dist/models/BulkAlertSourceInput.d.ts +2 -1
- package/dist/models/BulkAlertSourceInput.js +1 -0
- package/dist/models/BulkAlertSourceInput.js.map +1 -1
- package/dist/models/BulkAppliedCorporateClientChanges.d.ts +31 -9
- package/dist/models/BulkAppliedCorporateClientChanges.js +12 -3
- package/dist/models/BulkAppliedCorporateClientChanges.js.map +1 -1
- package/dist/models/BulkAppliedIndividualClientChanges.d.ts +31 -9
- package/dist/models/BulkAppliedIndividualClientChanges.js +12 -3
- package/dist/models/BulkAppliedIndividualClientChanges.js.map +1 -1
- package/dist/models/BulkCorporateClientUpdateFields.d.ts +31 -9
- package/dist/models/BulkCorporateClientUpdateFields.js +12 -3
- package/dist/models/BulkCorporateClientUpdateFields.js.map +1 -1
- package/dist/models/BulkCorporateIntegrationsInput.d.ts +9 -1
- package/dist/models/BulkIndividualAddressInput.d.ts +4 -0
- package/dist/models/BulkIndividualClientUpdateFields.d.ts +31 -9
- package/dist/models/BulkIndividualClientUpdateFields.js +12 -3
- package/dist/models/BulkIndividualClientUpdateFields.js.map +1 -1
- package/dist/models/BulkIndividualIntegrationsInput.d.ts +8 -0
- package/dist/models/BulkTransactionAmountInput.d.ts +8 -0
- package/dist/models/CaseDto.d.ts +2 -1
- package/dist/models/CaseDto.js.map +1 -1
- package/dist/models/ClientLimitsDto.d.ts +14 -0
- package/dist/models/ClientLimitsDto.js +3 -0
- package/dist/models/ClientLimitsDto.js.map +1 -0
- package/dist/models/ConditionDto.d.ts +15 -2
- package/dist/models/ConditionDto.js.map +1 -1
- package/dist/models/CorporateClientAddressLineDto.d.ts +4 -0
- package/dist/models/CorporateClientDto.d.ts +33 -10
- package/dist/models/CorporateClientDto.js +12 -3
- package/dist/models/CorporateClientDto.js.map +1 -1
- package/dist/models/CorporateClientIntegrationsDto.d.ts +9 -1
- package/dist/models/CorporateMemberDto.d.ts +18 -0
- package/dist/models/CorporateMemberDto.js +10 -0
- package/dist/models/CorporateMemberDto.js.map +1 -1
- package/dist/models/CreateCorporateClientDto.d.ts +31 -9
- package/dist/models/CreateCorporateClientDto.js +12 -3
- package/dist/models/CreateCorporateClientDto.js.map +1 -1
- package/dist/models/CreateCorporateMemberDto.d.ts +18 -0
- package/dist/models/CreateCorporateMemberDto.js +10 -0
- package/dist/models/CreateCorporateMemberDto.js.map +1 -1
- package/dist/models/CreateIndividualClientDto.d.ts +31 -9
- package/dist/models/CreateIndividualClientDto.js +12 -3
- package/dist/models/CreateIndividualClientDto.js.map +1 -1
- package/dist/models/CreateIndividualMemberDto.d.ts +18 -0
- package/dist/models/CreateIndividualMemberDto.js +10 -0
- package/dist/models/CreateIndividualMemberDto.js.map +1 -1
- package/dist/models/CreateSubDispositionDto.d.ts +1 -0
- package/dist/models/CreateSubDispositionDto.js +1 -0
- package/dist/models/CreateSubDispositionDto.js.map +1 -1
- package/dist/models/EnableAutoModelRiskDto.d.ts +6 -0
- package/dist/models/EnableAutoModelRiskDto.js +3 -0
- package/dist/models/EnableAutoModelRiskDto.js.map +1 -0
- package/dist/models/EntityFieldThresholdRefDto.d.ts +34 -0
- package/dist/models/EntityFieldThresholdRefDto.js +23 -0
- package/dist/models/EntityFieldThresholdRefDto.js.map +1 -0
- package/dist/models/IndividualClientAddressDto.d.ts +4 -0
- package/dist/models/IndividualClientDto.d.ts +33 -10
- package/dist/models/IndividualClientDto.js +12 -3
- package/dist/models/IndividualClientDto.js.map +1 -1
- package/dist/models/IndividualClientIntegrationsDto.d.ts +8 -0
- package/dist/models/IndividualMemberDto.d.ts +18 -0
- package/dist/models/IndividualMemberDto.js +10 -0
- package/dist/models/IndividualMemberDto.js.map +1 -1
- package/dist/models/LookupTransactionsByHashDto.d.ts +6 -0
- package/dist/models/LookupTransactionsByHashDto.js +3 -0
- package/dist/models/LookupTransactionsByHashDto.js.map +1 -0
- package/dist/models/LookupTransactionsByHashResponseDto.d.ts +7 -0
- package/dist/models/LookupTransactionsByHashResponseDto.js +3 -0
- package/dist/models/LookupTransactionsByHashResponseDto.js.map +1 -0
- package/dist/models/PaginatedDocumented.d.ts +7 -0
- package/dist/models/PaginatedDocumented.js +3 -0
- package/dist/models/PaginatedDocumented.js.map +1 -0
- package/dist/models/PaginatedLinksDocumented.d.ts +7 -0
- package/dist/models/PaginatedLinksDocumented.js +3 -0
- package/dist/models/PaginatedLinksDocumented.js.map +1 -0
- package/dist/models/PaginatedMetaDocumented.d.ts +11 -0
- package/dist/models/PaginatedMetaDocumented.js +3 -0
- package/dist/models/PaginatedMetaDocumented.js.map +1 -0
- package/dist/models/RiskDto.d.ts +2 -0
- package/dist/models/RiskDto.js.map +1 -1
- package/dist/models/SubDispositionDto.d.ts +1 -0
- package/dist/models/SubDispositionDto.js +1 -0
- package/dist/models/SubDispositionDto.js.map +1 -1
- package/dist/models/SubDispositionSummaryDto.d.ts +1 -0
- package/dist/models/SubDispositionSummaryDto.js +1 -0
- package/dist/models/SubDispositionSummaryDto.js.map +1 -1
- package/dist/models/TransactionAmountDto.d.ts +8 -0
- package/dist/models/TransactionLookupResultDto.d.ts +47 -0
- package/dist/models/TransactionLookupResultDto.js +17 -0
- package/dist/models/TransactionLookupResultDto.js.map +1 -0
- package/dist/models/TransactionLookupWalletLegDto.d.ts +10 -0
- package/dist/models/TransactionLookupWalletLegDto.js +3 -0
- package/dist/models/TransactionLookupWalletLegDto.js.map +1 -0
- package/dist/models/UpdateCorporateClientDto.d.ts +31 -9
- package/dist/models/UpdateCorporateClientDto.js +12 -3
- package/dist/models/UpdateCorporateClientDto.js.map +1 -1
- package/dist/models/UpdateCorporateMemberDto.d.ts +18 -0
- package/dist/models/UpdateCorporateMemberDto.js +10 -0
- package/dist/models/UpdateCorporateMemberDto.js.map +1 -1
- package/dist/models/UpdateIndividualClientDto.d.ts +31 -9
- package/dist/models/UpdateIndividualClientDto.js +12 -3
- package/dist/models/UpdateIndividualClientDto.js.map +1 -1
- package/dist/models/UpdateIndividualMemberDto.d.ts +18 -0
- package/dist/models/UpdateIndividualMemberDto.js +10 -0
- package/dist/models/UpdateIndividualMemberDto.js.map +1 -1
- package/dist/services/AlertsService.d.ts +59 -0
- package/dist/services/AlertsService.js +72 -0
- package/dist/services/AlertsService.js.map +1 -1
- package/dist/services/ClientsService.d.ts +33 -10
- package/dist/services/ClientsService.js +62 -8
- package/dist/services/ClientsService.js.map +1 -1
- package/dist/services/SubDispositionsService.d.ts +1 -1
- package/dist/services/SubDispositionsService.js.map +1 -1
- package/dist/services/TransactionsService.d.ts +10 -0
- package/dist/services/TransactionsService.js +15 -0
- package/dist/services/TransactionsService.js.map +1 -1
- package/package.json +1 -1
|
@@ -156,6 +156,78 @@ class AlertsService {
|
|
|
156
156
|
mediaType: 'application/json',
|
|
157
157
|
});
|
|
158
158
|
}
|
|
159
|
+
/**
|
|
160
|
+
* Get alerts associated with a transaction, client, or case by entity id or referenceId. Use this instead of deprecated embedded alerts fields on entity responses.
|
|
161
|
+
* @param entityType Entity type to resolve alerts for
|
|
162
|
+
* @param entityId Entity id or referenceId
|
|
163
|
+
* @param page Page number to retrieve. If you provide invalid value the default page number will applied
|
|
164
|
+
*
|
|
165
|
+
* **Example:** 1
|
|
166
|
+
*
|
|
167
|
+
*
|
|
168
|
+
* **Default Value:** 1
|
|
169
|
+
*
|
|
170
|
+
*
|
|
171
|
+
* @param limit Number of records per page.
|
|
172
|
+
*
|
|
173
|
+
*
|
|
174
|
+
* **Example:** 20
|
|
175
|
+
*
|
|
176
|
+
*
|
|
177
|
+
*
|
|
178
|
+
* **Default Value:** 10
|
|
179
|
+
*
|
|
180
|
+
*
|
|
181
|
+
*
|
|
182
|
+
* **Max Value:** 100
|
|
183
|
+
*
|
|
184
|
+
*
|
|
185
|
+
* If provided value is greater than max value, max value will be applied.
|
|
186
|
+
*
|
|
187
|
+
* @param sortBy Parameter to sort by.
|
|
188
|
+
* To sort by multiple fields, just provide query param multiple types. The order in url defines an order of sorting
|
|
189
|
+
*
|
|
190
|
+
* **Format:** {fieldName}:{DIRECTION}
|
|
191
|
+
*
|
|
192
|
+
*
|
|
193
|
+
* **Example:** sortBy=id:DESC&sortBy=referenceId:DESC
|
|
194
|
+
*
|
|
195
|
+
*
|
|
196
|
+
* **Default Value:** createdAt:DESC
|
|
197
|
+
*
|
|
198
|
+
* **Available Fields**
|
|
199
|
+
* - id
|
|
200
|
+
*
|
|
201
|
+
* - referenceId
|
|
202
|
+
*
|
|
203
|
+
* - createdAt
|
|
204
|
+
*
|
|
205
|
+
* - updatedAt
|
|
206
|
+
*
|
|
207
|
+
* - priority
|
|
208
|
+
*
|
|
209
|
+
* - status
|
|
210
|
+
*
|
|
211
|
+
* - category
|
|
212
|
+
*
|
|
213
|
+
* @returns any
|
|
214
|
+
* @throws ApiError
|
|
215
|
+
*/
|
|
216
|
+
getAlertsForEntity(entityType, entityId, page, limit, sortBy) {
|
|
217
|
+
return this.httpRequest.request({
|
|
218
|
+
method: 'GET',
|
|
219
|
+
url: '/v1/alerts/entity/{entityType}/{entityId}',
|
|
220
|
+
path: {
|
|
221
|
+
'entityType': entityType,
|
|
222
|
+
'entityId': entityId,
|
|
223
|
+
},
|
|
224
|
+
query: {
|
|
225
|
+
'page': page,
|
|
226
|
+
'limit': limit,
|
|
227
|
+
'sortBy': sortBy,
|
|
228
|
+
},
|
|
229
|
+
});
|
|
230
|
+
}
|
|
159
231
|
/**
|
|
160
232
|
* Record a decision (TRUE_MATCH or FALSE_MATCH) for a single screening match
|
|
161
233
|
* @param alertId Alert ID or referenceId
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertsService.js","sourceRoot":"","sources":["../../services/AlertsService.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"AlertsService.js","sourceRoot":"","sources":["../../services/AlertsService.ts"],"names":[],"mappings":";;;AA2BA,MAAa,aAAa;IACM;IAA5B,YAA4B,WAA4B;QAA5B,gBAAW,GAAX,WAAW,CAAiB;IAAG,CAAC;IAC5D;;;;;;OAMG;IACI,WAAW,CACd,WAA2B,EAC3B,iBAA2B;QAE3B,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,YAAY;YACjB,KAAK,EAAE;gBACH,mBAAmB,EAAE,iBAAiB;aACzC;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,iBAAiB,CACpB,WAAiC,EACjC,iBAA2B;QAE3B,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,kBAAkB;YACvB,KAAK,EAAE;gBACH,mBAAmB,EAAE,iBAAiB;aACzC;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,8BAA8B,CACjC,OAAe,EACf,WAA0B;QAE1B,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,mCAAmC;YACxC,IAAI,EAAE;gBACF,SAAS,EAAE,OAAO;aACrB;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,yBAAyB,CAC5B,OAAe,EACf,WAA0B;QAE1B,OAAO,IAAI,CAAC,WAAW,CAAC,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AEnC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,8BAA8B;YACnC,IAAI,EAAE;gBACF,SAAS,EAAE,OAAO;aACrB;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;OAOG;IACI,oBAAoB,CACvB,OAAe,EACf,OAAe,EACf,WAAoC;QAEpC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,OAAO;YACf,GAAG,EAAE,wCAAwC;YAC7C,IAAI,EAAE;gBACF,SAAS,EAAE,OAAO;gBAClB,SAAS,EAAE,OAAO;aACrB;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,oBAAoB,CACvB,OAAe,EACf,OAAe;QAEf,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,wCAAwC;YAC7C,IAAI,EAAE;gBACF,SAAS,EAAE,OAAO;gBAClB,SAAS,EAAE,OAAO;aACrB;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,QAAQ,CACX,OAAe;QAEf,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,sBAAsB;YAC3B,IAAI,EAAE;gBACF,SAAS,EAAE,OAAO;aACrB;SACJ,CAAC,CAAC;IACP,CAAC;CACJ;AA5XD,sCA4XC"}
|
|
@@ -5,6 +5,7 @@ import type { BulkUpdateIndividualClientsResponseDto } from '../models/BulkUpdat
|
|
|
5
5
|
import type { CorporateClientDto } from '../models/CorporateClientDto';
|
|
6
6
|
import type { CreateCorporateClientDto } from '../models/CreateCorporateClientDto';
|
|
7
7
|
import type { CreateIndividualClientDto } from '../models/CreateIndividualClientDto';
|
|
8
|
+
import type { EnableAutoModelRiskDto } from '../models/EnableAutoModelRiskDto';
|
|
8
9
|
import type { IndividualClientDto } from '../models/IndividualClientDto';
|
|
9
10
|
import type { UpdateCorporateClientDto } from '../models/UpdateCorporateClientDto';
|
|
10
11
|
import type { UpdateIndividualClientDto } from '../models/UpdateIndividualClientDto';
|
|
@@ -14,7 +15,7 @@ export declare class ClientsService {
|
|
|
14
15
|
readonly httpRequest: BaseHttpRequest;
|
|
15
16
|
constructor(httpRequest: BaseHttpRequest);
|
|
16
17
|
/**
|
|
17
|
-
* Create a new corporate client. If upsert is true, update existing client if found by referenceId, chainalysisUserId, sumsubApplicantId, or personaAccountId
|
|
18
|
+
* Create a new corporate client. If upsert is true, update existing client if found by referenceId, chainalysisUserId, trmAccountExternalId, sumsubApplicantId, plainCustomerId, or personaAccountId
|
|
18
19
|
* @param requestBody
|
|
19
20
|
* @param upsert If true, update existing client instead of creating if client already exists
|
|
20
21
|
* @returns CorporateClientDto
|
|
@@ -25,29 +26,40 @@ export declare class ClientsService {
|
|
|
25
26
|
* Update an existing corporate client
|
|
26
27
|
* @param clientId
|
|
27
28
|
* @param requestBody
|
|
29
|
+
* @param integrationId Integration type to filter by (CHAINALYSIS, TRM, SUMSUB, PLAIN or PERSONA) - if this is provided, the client is expected to be the id in the integrated vendor
|
|
28
30
|
* @returns CorporateClientDto
|
|
29
31
|
* @throws ApiError
|
|
30
32
|
*/
|
|
31
|
-
updateCorporateClient(clientId: string, requestBody: UpdateCorporateClientDto): CancelablePromise<CorporateClientDto>;
|
|
33
|
+
updateCorporateClient(clientId: string, requestBody: UpdateCorporateClientDto, integrationId?: 'CHAINALYSIS' | 'TRM' | 'SUMSUB' | 'PLAIN' | 'PERSONA'): CancelablePromise<CorporateClientDto>;
|
|
32
34
|
/**
|
|
33
35
|
* Get a corporate client by ID
|
|
34
36
|
* @param clientId
|
|
35
37
|
* @param includeMembers If true, include related members in the response
|
|
36
|
-
* @param integrationId Integration type to filter by (CHAINALYSIS, SUMSUB, PLAIN or PERSONA) - if this is provided, the client is expected to be the id in the integrated vendor
|
|
38
|
+
* @param integrationId Integration type to filter by (CHAINALYSIS, TRM, SUMSUB, PLAIN or PERSONA) - if this is provided, the client is expected to be the id in the integrated vendor
|
|
37
39
|
* @returns CorporateClientDto
|
|
38
40
|
* @throws ApiError
|
|
39
41
|
*/
|
|
40
|
-
getCorporateClient(clientId: string, includeMembers?: boolean, integrationId?: 'CHAINALYSIS' | 'SUMSUB' | 'PLAIN' | 'PERSONA'): CancelablePromise<CorporateClientDto>;
|
|
42
|
+
getCorporateClient(clientId: string, includeMembers?: boolean, integrationId?: 'CHAINALYSIS' | 'TRM' | 'SUMSUB' | 'PLAIN' | 'PERSONA'): CancelablePromise<CorporateClientDto>;
|
|
43
|
+
/**
|
|
44
|
+
* Enable automatic model-driven risk for a corporate client
|
|
45
|
+
* Enable automatic model-driven risk for a corporate client
|
|
46
|
+
* @param clientId
|
|
47
|
+
* @param requestBody
|
|
48
|
+
* @returns CorporateClientDto
|
|
49
|
+
* @throws ApiError
|
|
50
|
+
*/
|
|
51
|
+
enableCorporateClientAutoModelRisk(clientId: string, requestBody: EnableAutoModelRiskDto): CancelablePromise<CorporateClientDto>;
|
|
41
52
|
/**
|
|
42
53
|
* Update multiple corporate clients with the same fields
|
|
43
54
|
* Update multiple corporate clients with the same fields (maximum 100)
|
|
44
55
|
* @param requestBody
|
|
56
|
+
* @param integrationId Integration type to resolve clientIds by vendor ids (CHAINALYSIS, TRM, SUMSUB, PLAIN or PERSONA)
|
|
45
57
|
* @returns BulkUpdateCorporateClientsResponseDto Bulk update results
|
|
46
58
|
* @throws ApiError
|
|
47
59
|
*/
|
|
48
|
-
bulkUpdateCorporateClients(requestBody: BulkUpdateCorporateClientsDto): CancelablePromise<BulkUpdateCorporateClientsResponseDto>;
|
|
60
|
+
bulkUpdateCorporateClients(requestBody: BulkUpdateCorporateClientsDto, integrationId?: 'CHAINALYSIS' | 'TRM' | 'SUMSUB' | 'PLAIN' | 'PERSONA'): CancelablePromise<BulkUpdateCorporateClientsResponseDto>;
|
|
49
61
|
/**
|
|
50
|
-
* Create a new individual client. If upsert is true, update existing client if found by referenceId, id, sardineCustomerId, chainalysisUserId, sumsubApplicantId, or personaAccountId
|
|
62
|
+
* Create a new individual client. If upsert is true, update existing client if found by referenceId, id, sardineCustomerId, chainalysisUserId, trmAccountExternalId, sumsubApplicantId, plainCustomerId, or personaAccountId
|
|
51
63
|
* @param requestBody
|
|
52
64
|
* @param upsert If true, update existing client instead of creating if client already exists
|
|
53
65
|
* @returns IndividualClientDto
|
|
@@ -58,24 +70,35 @@ export declare class ClientsService {
|
|
|
58
70
|
* Update an existing individual client
|
|
59
71
|
* @param clientId
|
|
60
72
|
* @param requestBody
|
|
73
|
+
* @param integrationId Integration type to filter by (SARDINE, CHAINALYSIS, TRM, SUMSUB, PLAIN or PERSONA) - if this is provided, the client is expected to be the id in the integrated vendor
|
|
61
74
|
* @returns IndividualClientDto
|
|
62
75
|
* @throws ApiError
|
|
63
76
|
*/
|
|
64
|
-
updateIndividualClient(clientId: string, requestBody: UpdateIndividualClientDto): CancelablePromise<IndividualClientDto>;
|
|
77
|
+
updateIndividualClient(clientId: string, requestBody: UpdateIndividualClientDto, integrationId?: 'SARDINE' | 'CHAINALYSIS' | 'TRM' | 'SUMSUB' | 'PLAIN' | 'PERSONA'): CancelablePromise<IndividualClientDto>;
|
|
65
78
|
/**
|
|
66
79
|
* Get an individual client by ID
|
|
67
80
|
* @param clientId
|
|
68
|
-
* @param integrationId Integration type to filter by (SARDINE, CHAINALYSIS, SUMSUB, PLAIN or PERSONA) - if this is provided, the client is expected to be the id in the integrated vendor
|
|
81
|
+
* @param integrationId Integration type to filter by (SARDINE, CHAINALYSIS, TRM, SUMSUB, PLAIN or PERSONA) - if this is provided, the client is expected to be the id in the integrated vendor
|
|
82
|
+
* @returns IndividualClientDto
|
|
83
|
+
* @throws ApiError
|
|
84
|
+
*/
|
|
85
|
+
getIndividualClient(clientId: string, integrationId?: 'SARDINE' | 'CHAINALYSIS' | 'TRM' | 'SUMSUB' | 'PLAIN' | 'PERSONA'): CancelablePromise<IndividualClientDto>;
|
|
86
|
+
/**
|
|
87
|
+
* Enable automatic model-driven risk for an individual client
|
|
88
|
+
* Enable automatic model-driven risk for an individual client
|
|
89
|
+
* @param clientId
|
|
90
|
+
* @param requestBody
|
|
69
91
|
* @returns IndividualClientDto
|
|
70
92
|
* @throws ApiError
|
|
71
93
|
*/
|
|
72
|
-
|
|
94
|
+
enableIndividualClientAutoModelRisk(clientId: string, requestBody: EnableAutoModelRiskDto): CancelablePromise<IndividualClientDto>;
|
|
73
95
|
/**
|
|
74
96
|
* Update multiple individual clients with the same fields
|
|
75
97
|
* Update multiple individual clients with the same fields (maximum 100)
|
|
76
98
|
* @param requestBody
|
|
99
|
+
* @param integrationId Integration type to resolve clientIds by vendor ids (SARDINE, CHAINALYSIS, TRM, SUMSUB, PLAIN or PERSONA)
|
|
77
100
|
* @returns BulkUpdateIndividualClientsResponseDto Bulk update results
|
|
78
101
|
* @throws ApiError
|
|
79
102
|
*/
|
|
80
|
-
bulkUpdateIndividualClients(requestBody: BulkUpdateIndividualClientsDto): CancelablePromise<BulkUpdateIndividualClientsResponseDto>;
|
|
103
|
+
bulkUpdateIndividualClients(requestBody: BulkUpdateIndividualClientsDto, integrationId?: 'SARDINE' | 'CHAINALYSIS' | 'TRM' | 'SUMSUB' | 'PLAIN' | 'PERSONA'): CancelablePromise<BulkUpdateIndividualClientsResponseDto>;
|
|
81
104
|
}
|
|
@@ -7,7 +7,7 @@ class ClientsService {
|
|
|
7
7
|
this.httpRequest = httpRequest;
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Create a new corporate client. If upsert is true, update existing client if found by referenceId, chainalysisUserId, sumsubApplicantId, or personaAccountId
|
|
10
|
+
* Create a new corporate client. If upsert is true, update existing client if found by referenceId, chainalysisUserId, trmAccountExternalId, sumsubApplicantId, plainCustomerId, or personaAccountId
|
|
11
11
|
* @param requestBody
|
|
12
12
|
* @param upsert If true, update existing client instead of creating if client already exists
|
|
13
13
|
* @returns CorporateClientDto
|
|
@@ -28,16 +28,20 @@ class ClientsService {
|
|
|
28
28
|
* Update an existing corporate client
|
|
29
29
|
* @param clientId
|
|
30
30
|
* @param requestBody
|
|
31
|
+
* @param integrationId Integration type to filter by (CHAINALYSIS, TRM, SUMSUB, PLAIN or PERSONA) - if this is provided, the client is expected to be the id in the integrated vendor
|
|
31
32
|
* @returns CorporateClientDto
|
|
32
33
|
* @throws ApiError
|
|
33
34
|
*/
|
|
34
|
-
updateCorporateClient(clientId, requestBody) {
|
|
35
|
+
updateCorporateClient(clientId, requestBody, integrationId) {
|
|
35
36
|
return this.httpRequest.request({
|
|
36
37
|
method: 'PUT',
|
|
37
38
|
url: '/v1/clients/corporates/{clientId}',
|
|
38
39
|
path: {
|
|
39
40
|
'clientId': clientId,
|
|
40
41
|
},
|
|
42
|
+
query: {
|
|
43
|
+
'integrationId': integrationId,
|
|
44
|
+
},
|
|
41
45
|
body: requestBody,
|
|
42
46
|
mediaType: 'application/json',
|
|
43
47
|
});
|
|
@@ -46,7 +50,7 @@ class ClientsService {
|
|
|
46
50
|
* Get a corporate client by ID
|
|
47
51
|
* @param clientId
|
|
48
52
|
* @param includeMembers If true, include related members in the response
|
|
49
|
-
* @param integrationId Integration type to filter by (CHAINALYSIS, SUMSUB, PLAIN or PERSONA) - if this is provided, the client is expected to be the id in the integrated vendor
|
|
53
|
+
* @param integrationId Integration type to filter by (CHAINALYSIS, TRM, SUMSUB, PLAIN or PERSONA) - if this is provided, the client is expected to be the id in the integrated vendor
|
|
50
54
|
* @returns CorporateClientDto
|
|
51
55
|
* @throws ApiError
|
|
52
56
|
*/
|
|
@@ -63,23 +67,46 @@ class ClientsService {
|
|
|
63
67
|
},
|
|
64
68
|
});
|
|
65
69
|
}
|
|
70
|
+
/**
|
|
71
|
+
* Enable automatic model-driven risk for a corporate client
|
|
72
|
+
* Enable automatic model-driven risk for a corporate client
|
|
73
|
+
* @param clientId
|
|
74
|
+
* @param requestBody
|
|
75
|
+
* @returns CorporateClientDto
|
|
76
|
+
* @throws ApiError
|
|
77
|
+
*/
|
|
78
|
+
enableCorporateClientAutoModelRisk(clientId, requestBody) {
|
|
79
|
+
return this.httpRequest.request({
|
|
80
|
+
method: 'PUT',
|
|
81
|
+
url: '/v1/clients/corporates/{clientId}/current-risk/enable-auto-model',
|
|
82
|
+
path: {
|
|
83
|
+
'clientId': clientId,
|
|
84
|
+
},
|
|
85
|
+
body: requestBody,
|
|
86
|
+
mediaType: 'application/json',
|
|
87
|
+
});
|
|
88
|
+
}
|
|
66
89
|
/**
|
|
67
90
|
* Update multiple corporate clients with the same fields
|
|
68
91
|
* Update multiple corporate clients with the same fields (maximum 100)
|
|
69
92
|
* @param requestBody
|
|
93
|
+
* @param integrationId Integration type to resolve clientIds by vendor ids (CHAINALYSIS, TRM, SUMSUB, PLAIN or PERSONA)
|
|
70
94
|
* @returns BulkUpdateCorporateClientsResponseDto Bulk update results
|
|
71
95
|
* @throws ApiError
|
|
72
96
|
*/
|
|
73
|
-
bulkUpdateCorporateClients(requestBody) {
|
|
97
|
+
bulkUpdateCorporateClients(requestBody, integrationId) {
|
|
74
98
|
return this.httpRequest.request({
|
|
75
99
|
method: 'PATCH',
|
|
76
100
|
url: '/v1/clients/corporates/bulk/update',
|
|
101
|
+
query: {
|
|
102
|
+
'integrationId': integrationId,
|
|
103
|
+
},
|
|
77
104
|
body: requestBody,
|
|
78
105
|
mediaType: 'application/json',
|
|
79
106
|
});
|
|
80
107
|
}
|
|
81
108
|
/**
|
|
82
|
-
* Create a new individual client. If upsert is true, update existing client if found by referenceId, id, sardineCustomerId, chainalysisUserId, sumsubApplicantId, or personaAccountId
|
|
109
|
+
* Create a new individual client. If upsert is true, update existing client if found by referenceId, id, sardineCustomerId, chainalysisUserId, trmAccountExternalId, sumsubApplicantId, plainCustomerId, or personaAccountId
|
|
83
110
|
* @param requestBody
|
|
84
111
|
* @param upsert If true, update existing client instead of creating if client already exists
|
|
85
112
|
* @returns IndividualClientDto
|
|
@@ -100,16 +127,20 @@ class ClientsService {
|
|
|
100
127
|
* Update an existing individual client
|
|
101
128
|
* @param clientId
|
|
102
129
|
* @param requestBody
|
|
130
|
+
* @param integrationId Integration type to filter by (SARDINE, CHAINALYSIS, TRM, SUMSUB, PLAIN or PERSONA) - if this is provided, the client is expected to be the id in the integrated vendor
|
|
103
131
|
* @returns IndividualClientDto
|
|
104
132
|
* @throws ApiError
|
|
105
133
|
*/
|
|
106
|
-
updateIndividualClient(clientId, requestBody) {
|
|
134
|
+
updateIndividualClient(clientId, requestBody, integrationId) {
|
|
107
135
|
return this.httpRequest.request({
|
|
108
136
|
method: 'PUT',
|
|
109
137
|
url: '/v1/clients/individuals/{clientId}',
|
|
110
138
|
path: {
|
|
111
139
|
'clientId': clientId,
|
|
112
140
|
},
|
|
141
|
+
query: {
|
|
142
|
+
'integrationId': integrationId,
|
|
143
|
+
},
|
|
113
144
|
body: requestBody,
|
|
114
145
|
mediaType: 'application/json',
|
|
115
146
|
});
|
|
@@ -117,7 +148,7 @@ class ClientsService {
|
|
|
117
148
|
/**
|
|
118
149
|
* Get an individual client by ID
|
|
119
150
|
* @param clientId
|
|
120
|
-
* @param integrationId Integration type to filter by (SARDINE, CHAINALYSIS, SUMSUB, PLAIN or PERSONA) - if this is provided, the client is expected to be the id in the integrated vendor
|
|
151
|
+
* @param integrationId Integration type to filter by (SARDINE, CHAINALYSIS, TRM, SUMSUB, PLAIN or PERSONA) - if this is provided, the client is expected to be the id in the integrated vendor
|
|
121
152
|
* @returns IndividualClientDto
|
|
122
153
|
* @throws ApiError
|
|
123
154
|
*/
|
|
@@ -133,17 +164,40 @@ class ClientsService {
|
|
|
133
164
|
},
|
|
134
165
|
});
|
|
135
166
|
}
|
|
167
|
+
/**
|
|
168
|
+
* Enable automatic model-driven risk for an individual client
|
|
169
|
+
* Enable automatic model-driven risk for an individual client
|
|
170
|
+
* @param clientId
|
|
171
|
+
* @param requestBody
|
|
172
|
+
* @returns IndividualClientDto
|
|
173
|
+
* @throws ApiError
|
|
174
|
+
*/
|
|
175
|
+
enableIndividualClientAutoModelRisk(clientId, requestBody) {
|
|
176
|
+
return this.httpRequest.request({
|
|
177
|
+
method: 'PUT',
|
|
178
|
+
url: '/v1/clients/individuals/{clientId}/current-risk/enable-auto-model',
|
|
179
|
+
path: {
|
|
180
|
+
'clientId': clientId,
|
|
181
|
+
},
|
|
182
|
+
body: requestBody,
|
|
183
|
+
mediaType: 'application/json',
|
|
184
|
+
});
|
|
185
|
+
}
|
|
136
186
|
/**
|
|
137
187
|
* Update multiple individual clients with the same fields
|
|
138
188
|
* Update multiple individual clients with the same fields (maximum 100)
|
|
139
189
|
* @param requestBody
|
|
190
|
+
* @param integrationId Integration type to resolve clientIds by vendor ids (SARDINE, CHAINALYSIS, TRM, SUMSUB, PLAIN or PERSONA)
|
|
140
191
|
* @returns BulkUpdateIndividualClientsResponseDto Bulk update results
|
|
141
192
|
* @throws ApiError
|
|
142
193
|
*/
|
|
143
|
-
bulkUpdateIndividualClients(requestBody) {
|
|
194
|
+
bulkUpdateIndividualClients(requestBody, integrationId) {
|
|
144
195
|
return this.httpRequest.request({
|
|
145
196
|
method: 'PATCH',
|
|
146
197
|
url: '/v1/clients/individuals/bulk/update',
|
|
198
|
+
query: {
|
|
199
|
+
'integrationId': integrationId,
|
|
200
|
+
},
|
|
147
201
|
body: requestBody,
|
|
148
202
|
mediaType: 'application/json',
|
|
149
203
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClientsService.js","sourceRoot":"","sources":["../../services/ClientsService.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"ClientsService.js","sourceRoot":"","sources":["../../services/ClientsService.ts"],"names":[],"mappings":";;;AAiBA,MAAa,cAAc;IACK;IAA5B,YAA4B,WAA4B;QAA5B,gBAAW,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AAC;IACD;;;;;;;OAOG;IACI,mCAAmC,CACtC,QAAgB,EAChB,WAAmC;QAEnC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,mEAAmE;YACxE,IAAI,EAAE;gBACF,UAAU,EAAE,QAAQ;aACvB;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;OAOG;IACI,2BAA2B,CAC9B,WAA2C,EAC3C,aAAkF;QAElF,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,OAAO;YACf,GAAG,EAAE,qCAAqC;YAC1C,KAAK,EAAE;gBACH,eAAe,EAAE,aAAa;aACjC;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;CACJ;AAvOD,wCAuOC"}
|
|
@@ -17,7 +17,7 @@ export declare class SubDispositionsService {
|
|
|
17
17
|
* @returns any
|
|
18
18
|
* @throws ApiError
|
|
19
19
|
*/
|
|
20
|
-
listSubDispositions(parentStatus?: 'RESOLVED' | 'ESCALATED' | 'CLOSED_DISMISSED' | 'CLOSED_ESCALATION_TO_SAR', entityType?: 'ALERT' | 'CASE', isActive?: boolean, page?: number, limit?: number): CancelablePromise<any>;
|
|
20
|
+
listSubDispositions(parentStatus?: 'RESOLVED' | 'ESCALATED' | 'IN_REVIEW' | 'CLOSED_DISMISSED' | 'CLOSED_ESCALATION_TO_SAR', entityType?: 'ALERT' | 'CASE', isActive?: boolean, page?: number, limit?: number): CancelablePromise<any>;
|
|
21
21
|
/**
|
|
22
22
|
* Create a custom sub-disposition
|
|
23
23
|
* Create a custom sub-disposition
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubDispositionsService.js","sourceRoot":"","sources":["../../services/SubDispositionsService.ts"],"names":[],"mappings":";;;AASA,MAAa,sBAAsB;IACH;IAA5B,YAA4B,WAA4B;QAA5B,gBAAW,GAAX,WAAW,CAAiB;IAAG,CAAC;IAC5D;;;;;;;;;;OAUG;IACI,mBAAmB,CACtB,
|
|
1
|
+
{"version":3,"file":"SubDispositionsService.js","sourceRoot":"","sources":["../../services/SubDispositionsService.ts"],"names":[],"mappings":";;;AASA,MAAa,sBAAsB;IACH;IAA5B,YAA4B,WAA4B;QAA5B,gBAAW,GAAX,WAAW,CAAiB;IAAG,CAAC;IAC5D;;;;;;;;;;OAUG;IACI,mBAAmB,CACtB,YAAuG,EACvG,UAA6B,EAC7B,QAAkB,EAClB,IAAa,EACb,KAAc;QAEd,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,sBAAsB;YAC3B,KAAK,EAAE;gBACH,cAAc,EAAE,YAAY;gBAC5B,YAAY,EAAE,UAAU;gBACxB,UAAU,EAAE,QAAQ;gBACpB,MAAM,EAAE,IAAI;gBACZ,OAAO,EAAE,KAAK;aACjB;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,oBAAoB,CACvB,WAAoC;QAEpC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,sBAAsB;YAC3B,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;YAC7B,MAAM,EAAE;gBACJ,GAAG,EAAE,oCAAoC;aAC5C;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,iBAAiB,CACpB,EAAU;QAEV,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,2BAA2B;YAChC,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;OAOG;IACI,oBAAoB,CACvB,EAAU,EACV,WAAoC;QAEpC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,OAAO;YACf,GAAG,EAAE,2BAA2B;YAChC,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;YAC7B,MAAM,EAAE;gBACJ,GAAG,EAAE,wBAAwB;gBAC7B,GAAG,EAAE,WAAW;aACnB;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,oBAAoB,CACvB,EAAU;QAEV,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,2BAA2B;YAChC,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,wBAAwB;gBAC7B,GAAG,EAAE,WAAW;aACnB;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;OAIG;IACI,mBAAmB;QACtB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,oCAAoC;SAC5C,CAAC,CAAC;IACP,CAAC;CACJ;AAjID,wDAiIC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { BulkUpdateTransactionsDto } from '../models/BulkUpdateTransactionsDto';
|
|
2
2
|
import type { BulkUpdateTransactionsResponseDto } from '../models/BulkUpdateTransactionsResponseDto';
|
|
3
|
+
import type { LookupTransactionsByHashDto } from '../models/LookupTransactionsByHashDto';
|
|
4
|
+
import type { LookupTransactionsByHashResponseDto } from '../models/LookupTransactionsByHashResponseDto';
|
|
3
5
|
import type { TransactionDto } from '../models/TransactionDto';
|
|
4
6
|
import type { TransactionStatusDto } from '../models/TransactionStatusDto';
|
|
5
7
|
import type { UpdateTransactionDto } from '../models/UpdateTransactionDto';
|
|
@@ -16,6 +18,14 @@ export declare class TransactionsService {
|
|
|
16
18
|
* @throws ApiError
|
|
17
19
|
*/
|
|
18
20
|
bulkUpdateTransactions(requestBody: BulkUpdateTransactionsDto): CancelablePromise<BulkUpdateTransactionsResponseDto>;
|
|
21
|
+
/**
|
|
22
|
+
* Look up transactions by blockchain transaction hash
|
|
23
|
+
* Batch lookup transactions by txHash (maximum 100 hashes)
|
|
24
|
+
* @param requestBody
|
|
25
|
+
* @returns LookupTransactionsByHashResponseDto Matching transactions for the provided hashes
|
|
26
|
+
* @throws ApiError
|
|
27
|
+
*/
|
|
28
|
+
lookupTransactionsByHash(requestBody: LookupTransactionsByHashDto): CancelablePromise<LookupTransactionsByHashResponseDto>;
|
|
19
29
|
/**
|
|
20
30
|
* Update a transaction
|
|
21
31
|
* @param id
|
|
@@ -21,6 +21,21 @@ class TransactionsService {
|
|
|
21
21
|
mediaType: 'application/json',
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
|
+
/**
|
|
25
|
+
* Look up transactions by blockchain transaction hash
|
|
26
|
+
* Batch lookup transactions by txHash (maximum 100 hashes)
|
|
27
|
+
* @param requestBody
|
|
28
|
+
* @returns LookupTransactionsByHashResponseDto Matching transactions for the provided hashes
|
|
29
|
+
* @throws ApiError
|
|
30
|
+
*/
|
|
31
|
+
lookupTransactionsByHash(requestBody) {
|
|
32
|
+
return this.httpRequest.request({
|
|
33
|
+
method: 'POST',
|
|
34
|
+
url: '/v1/transactions/lookup-by-hash',
|
|
35
|
+
body: requestBody,
|
|
36
|
+
mediaType: 'application/json',
|
|
37
|
+
});
|
|
38
|
+
}
|
|
24
39
|
/**
|
|
25
40
|
* Update a transaction
|
|
26
41
|
* @param id
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionsService.js","sourceRoot":"","sources":["../../services/TransactionsService.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"TransactionsService.js","sourceRoot":"","sources":["../../services/TransactionsService.ts"],"names":[],"mappings":";;;AAaA,MAAa,mBAAmB;IACA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