@corsa-labs/sdk 4.2.0 → 4.3.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/models/AlertSourceDto.d.ts +2 -1
- package/dist/models/AlertSourceDto.js +1 -0
- package/dist/models/AlertSourceDto.js.map +1 -1
- package/dist/models/TransactionIntegrationsDto.d.ts +4 -0
- package/dist/services/ClientsService.d.ts +2 -1
- package/dist/services/ClientsService.js +3 -1
- package/dist/services/ClientsService.js.map +1 -1
- package/package.json +1 -1
|
@@ -12,6 +12,7 @@ var AlertSourceDto;
|
|
|
12
12
|
alertSource["SARDINE"] = "SARDINE";
|
|
13
13
|
alertSource["MANUAL"] = "MANUAL";
|
|
14
14
|
alertSource["API"] = "API";
|
|
15
|
+
alertSource["TRM_LABS"] = "TRM_LABS";
|
|
15
16
|
})(alertSource = AlertSourceDto.alertSource || (AlertSourceDto.alertSource = {}));
|
|
16
17
|
})(AlertSourceDto || (exports.AlertSourceDto = AlertSourceDto = {}));
|
|
17
18
|
//# sourceMappingURL=AlertSourceDto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertSourceDto.js","sourceRoot":"","sources":["../../models/AlertSourceDto.ts"],"names":[],"mappings":";;;AA0BA,IAAiB,cAAc,
|
|
1
|
+
{"version":3,"file":"AlertSourceDto.js","sourceRoot":"","sources":["../../models/AlertSourceDto.ts"],"names":[],"mappings":";;;AA0BA,IAAiB,cAAc,CAW9B;AAXD,WAAiB,cAAc;IAC3B;;OAEG;IACH,IAAY,WAMX;IAND,WAAY,WAAW;QACnB,0CAA2B,CAAA;QAC3B,kCAAmB,CAAA;QACnB,gCAAiB,CAAA;QACjB,0BAAW,CAAA;QACX,oCAAqB,CAAA;IACzB,CAAC,EANW,WAAW,GAAX,0BAAW,KAAX,0BAAW,QAMtB;AACL,CAAC,EAXgB,cAAc,8BAAd,cAAc,QAW9B"}
|
|
@@ -29,10 +29,11 @@ export declare class ClientsService {
|
|
|
29
29
|
* Get a corporate client by ID
|
|
30
30
|
* @param clientId
|
|
31
31
|
* @param includeMembers If true, include related members in the response
|
|
32
|
+
* @param integrationId Integration type to filter by (CHAINALYSIS or SUMSUB) - if this is provided, the client is expected to be the id in the integrated vendor
|
|
32
33
|
* @returns CorporateClientDto
|
|
33
34
|
* @throws ApiError
|
|
34
35
|
*/
|
|
35
|
-
getCorporateClient(clientId: string, includeMembers?: boolean): CancelablePromise<CorporateClientDto>;
|
|
36
|
+
getCorporateClient(clientId: string, includeMembers?: boolean, integrationId?: 'CHAINALYSIS' | 'SUMSUB'): CancelablePromise<CorporateClientDto>;
|
|
36
37
|
/**
|
|
37
38
|
* Create a new individual client. If upsert is true, update existing client if found by referenceId, id, sardineCustomerId, chainalysisUserId, or sumsubApplicantId
|
|
38
39
|
* @param requestBody
|
|
@@ -46,10 +46,11 @@ class ClientsService {
|
|
|
46
46
|
* Get a corporate client by ID
|
|
47
47
|
* @param clientId
|
|
48
48
|
* @param includeMembers If true, include related members in the response
|
|
49
|
+
* @param integrationId Integration type to filter by (CHAINALYSIS or SUMSUB) - if this is provided, the client is expected to be the id in the integrated vendor
|
|
49
50
|
* @returns CorporateClientDto
|
|
50
51
|
* @throws ApiError
|
|
51
52
|
*/
|
|
52
|
-
getCorporateClient(clientId, includeMembers) {
|
|
53
|
+
getCorporateClient(clientId, includeMembers, integrationId) {
|
|
53
54
|
return this.httpRequest.request({
|
|
54
55
|
method: 'GET',
|
|
55
56
|
url: '/v1/clients/corporates/{clientId}',
|
|
@@ -58,6 +59,7 @@ class ClientsService {
|
|
|
58
59
|
},
|
|
59
60
|
query: {
|
|
60
61
|
'includeMembers': includeMembers,
|
|
62
|
+
'integrationId': integrationId,
|
|
61
63
|
},
|
|
62
64
|
});
|
|
63
65
|
}
|
|
@@ -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,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
|
|
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,E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