@corsa-labs/sdk 3.16.0 → 3.18.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 +3 -1
- package/dist/index.js +3 -3
- 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/BatchCreateAlertsDto.d.ts +11 -0
- package/dist/models/BatchCreateAlertsDto.js +3 -0
- package/dist/models/BatchCreateAlertsDto.js.map +1 -0
- package/dist/models/BatchCreateAlertsResponseDto.d.ts +23 -0
- package/dist/models/BatchCreateAlertsResponseDto.js +3 -0
- package/dist/models/BatchCreateAlertsResponseDto.js.map +1 -0
- package/dist/models/BlockchainWalletDto.d.ts +11 -7
- package/dist/models/CaseDto.d.ts +4 -0
- package/dist/models/CaseDto.js.map +1 -1
- package/dist/models/CorporateClientDto.d.ts +4 -4
- package/dist/models/CreateAlertDto.d.ts +9 -0
- package/dist/models/CreateAlertDto.js.map +1 -1
- package/dist/models/CreateBlockchainWalletDto.d.ts +9 -0
- package/dist/models/CreateCaseDto.d.ts +4 -0
- package/dist/models/CreateCaseDto.js.map +1 -1
- package/dist/models/CreateCorporateClientDto.d.ts +2 -2
- package/dist/models/CreateIndividualClientDto.d.ts +2 -2
- package/dist/models/IndividualClientDto.d.ts +4 -4
- package/dist/models/{ClientRiskDto.d.ts → RiskDto.d.ts} +3 -3
- package/dist/models/{ClientRiskDto.js → RiskDto.js} +6 -6
- package/dist/models/RiskDto.js.map +1 -0
- package/dist/models/UpdateAlertDto.d.ts +16 -0
- package/dist/models/UpdateAlertDto.js.map +1 -1
- package/dist/models/UpdateBlockchainWalletDto.d.ts +7 -6
- package/dist/models/UpdateCaseDto.d.ts +4 -0
- package/dist/models/UpdateCaseDto.js.map +1 -1
- package/dist/services/AlertsService.d.ts +10 -0
- package/dist/services/AlertsService.js +18 -0
- package/dist/services/AlertsService.js.map +1 -1
- package/package.json +1 -1
- package/dist/models/ClientRiskDto.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -18,6 +18,8 @@ export type { AssociatedClientDto } from './models/AssociatedClientDto';
|
|
|
18
18
|
export type { AssociatedTransactionDto } from './models/AssociatedTransactionDto';
|
|
19
19
|
export type { BankAccountAssociationResponseDto } from './models/BankAccountAssociationResponseDto';
|
|
20
20
|
export type { BankAccountDto } from './models/BankAccountDto';
|
|
21
|
+
export type { BatchCreateAlertsDto } from './models/BatchCreateAlertsDto';
|
|
22
|
+
export type { BatchCreateAlertsResponseDto } from './models/BatchCreateAlertsResponseDto';
|
|
21
23
|
export type { BlockchainWalletAssociationResponseDto } from './models/BlockchainWalletAssociationResponseDto';
|
|
22
24
|
export type { BlockchainWalletDto } from './models/BlockchainWalletDto';
|
|
23
25
|
export { CaseDto } from './models/CaseDto';
|
|
@@ -25,7 +27,6 @@ export type { CaseInvestigationData } from './models/CaseInvestigationData';
|
|
|
25
27
|
export { CaseStatusData } from './models/CaseStatusData';
|
|
26
28
|
export type { ClientBankAccountRelationDto } from './models/ClientBankAccountRelationDto';
|
|
27
29
|
export type { ClientBlockchainWalletRelationDto } from './models/ClientBlockchainWalletRelationDto';
|
|
28
|
-
export { ClientRiskDto } from './models/ClientRiskDto';
|
|
29
30
|
export type { CorporateClientAddressDto } from './models/CorporateClientAddressDto';
|
|
30
31
|
export type { CorporateClientAddressLineDto } from './models/CorporateClientAddressLineDto';
|
|
31
32
|
export type { CorporateClientApplicationDto } from './models/CorporateClientApplicationDto';
|
|
@@ -65,6 +66,7 @@ export type { OperationInitiatorDto } from './models/OperationInitiatorDto';
|
|
|
65
66
|
export { OperationStatusDto } from './models/OperationStatusDto';
|
|
66
67
|
export { OperationStatusUpdateDto } from './models/OperationStatusUpdateDto';
|
|
67
68
|
export type { PoliticalExposureDto } from './models/PoliticalExposureDto';
|
|
69
|
+
export { RiskDto } from './models/RiskDto';
|
|
68
70
|
export type { SanctionsDto } from './models/SanctionsDto';
|
|
69
71
|
export { TradeOperationDto } from './models/TradeOperationDto';
|
|
70
72
|
export type { TransactionAmountDto } from './models/TransactionAmountDto';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MembersService = exports.HealthService = exports.DepositsService = exports.ClientsService = exports.CasesService = exports.BlockchainWalletsService = exports.BankAccountsService = exports.AlertsService = exports.UpdateIndividualMemberDto = exports.UpdateIndividualClientDto = exports.UpdateIdentityDocumentDto = exports.UpdateCorporateMemberDto = exports.UpdateCorporateClientDto = exports.UpdateCaseStatusDto = exports.UpdateCaseDto = exports.UpdateAlertDto = exports.TransactionStatusDto = exports.TransactionDto = exports.TradeOperationDto = exports.OperationStatusUpdateDto = exports.OperationStatusDto = exports.IndividualMemberDto = exports.IndividualClientGeneralInformationDto = exports.IndividualClientDto = exports.IndividualClientCustomFieldDataDto = exports.IdentityDocumentDto = exports.CreateTradeOperationDto = exports.CreateOrUpdateRiskDto = exports.CreateIndividualMemberDto = exports.CreateIndividualClientDto = exports.CreateIdentityDocumentDto = exports.CreateCorporateMemberDto = exports.CreateCorporateClientDto = exports.CreateCaseDto = exports.CreateAlertDto = exports.CorporateMemberDto = exports.CorporateClientDto = exports.CorporateClientCustomFieldDataDto = exports.
|
|
3
|
+
exports.MembersService = exports.HealthService = exports.DepositsService = exports.ClientsService = exports.CasesService = exports.BlockchainWalletsService = exports.BankAccountsService = exports.AlertsService = exports.UpdateIndividualMemberDto = exports.UpdateIndividualClientDto = exports.UpdateIdentityDocumentDto = exports.UpdateCorporateMemberDto = exports.UpdateCorporateClientDto = exports.UpdateCaseStatusDto = exports.UpdateCaseDto = exports.UpdateAlertDto = exports.TransactionStatusDto = exports.TransactionDto = exports.TradeOperationDto = exports.RiskDto = exports.OperationStatusUpdateDto = exports.OperationStatusDto = exports.IndividualMemberDto = exports.IndividualClientGeneralInformationDto = exports.IndividualClientDto = exports.IndividualClientCustomFieldDataDto = exports.IdentityDocumentDto = exports.CreateTradeOperationDto = exports.CreateOrUpdateRiskDto = exports.CreateIndividualMemberDto = exports.CreateIndividualClientDto = exports.CreateIdentityDocumentDto = exports.CreateCorporateMemberDto = exports.CreateCorporateClientDto = exports.CreateCaseDto = exports.CreateAlertDto = exports.CorporateMemberDto = exports.CorporateClientDto = exports.CorporateClientCustomFieldDataDto = exports.CaseStatusData = exports.CaseDto = exports.AlertStatusData = exports.AlertSourceDto = exports.AlertDto = exports.OpenAPI = exports.CancelError = exports.CancelablePromise = exports.BaseHttpRequest = exports.ApiError = exports.ComplianceClient = void 0;
|
|
4
4
|
exports.WithdrawalsService = exports.TransactionsService = exports.TradesService = exports.PlatformService = void 0;
|
|
5
5
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
6
6
|
/* istanbul ignore file */
|
|
@@ -27,8 +27,6 @@ var CaseDto_1 = require("./models/CaseDto");
|
|
|
27
27
|
Object.defineProperty(exports, "CaseDto", { enumerable: true, get: function () { return CaseDto_1.CaseDto; } });
|
|
28
28
|
var CaseStatusData_1 = require("./models/CaseStatusData");
|
|
29
29
|
Object.defineProperty(exports, "CaseStatusData", { enumerable: true, get: function () { return CaseStatusData_1.CaseStatusData; } });
|
|
30
|
-
var ClientRiskDto_1 = require("./models/ClientRiskDto");
|
|
31
|
-
Object.defineProperty(exports, "ClientRiskDto", { enumerable: true, get: function () { return ClientRiskDto_1.ClientRiskDto; } });
|
|
32
30
|
var CorporateClientCustomFieldDataDto_1 = require("./models/CorporateClientCustomFieldDataDto");
|
|
33
31
|
Object.defineProperty(exports, "CorporateClientCustomFieldDataDto", { enumerable: true, get: function () { return CorporateClientCustomFieldDataDto_1.CorporateClientCustomFieldDataDto; } });
|
|
34
32
|
var CorporateClientDto_1 = require("./models/CorporateClientDto");
|
|
@@ -67,6 +65,8 @@ var OperationStatusDto_1 = require("./models/OperationStatusDto");
|
|
|
67
65
|
Object.defineProperty(exports, "OperationStatusDto", { enumerable: true, get: function () { return OperationStatusDto_1.OperationStatusDto; } });
|
|
68
66
|
var OperationStatusUpdateDto_1 = require("./models/OperationStatusUpdateDto");
|
|
69
67
|
Object.defineProperty(exports, "OperationStatusUpdateDto", { enumerable: true, get: function () { return OperationStatusUpdateDto_1.OperationStatusUpdateDto; } });
|
|
68
|
+
var RiskDto_1 = require("./models/RiskDto");
|
|
69
|
+
Object.defineProperty(exports, "RiskDto", { enumerable: true, get: function () { return RiskDto_1.RiskDto; } });
|
|
70
70
|
var TradeOperationDto_1 = require("./models/TradeOperationDto");
|
|
71
71
|
Object.defineProperty(exports, "TradeOperationDto", { enumerable: true, get: function () { return TradeOperationDto_1.TradeOperationDto; } });
|
|
72
72
|
var TransactionDto_1 = require("./models/TransactionDto");
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;AAAA,+DAA+D;AAC/D,0BAA0B;AAC1B,oBAAoB;AACpB,oBAAoB;AACpB,uDAAsD;AAA7C,oHAAA,gBAAgB,OAAA;AAEzB,4CAA2C;AAAlC,oGAAA,QAAQ,OAAA;AACjB,0DAAyD;AAAhD,kHAAA,eAAe,OAAA;AACxB,8DAA0E;AAAjE,sHAAA,iBAAiB,OAAA;AAAE,gHAAA,WAAW,OAAA;AACvC,0CAAyC;AAAhC,kGAAA,OAAO,OAAA;AAOhB,8CAA6C;AAApC,oGAAA,QAAQ,OAAA;AACjB,0DAAyD;AAAhD,gHAAA,cAAc,OAAA;AACvB,4DAA2D;AAAlD,kHAAA,eAAe,OAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;AAAA,+DAA+D;AAC/D,0BAA0B;AAC1B,oBAAoB;AACpB,oBAAoB;AACpB,uDAAsD;AAA7C,oHAAA,gBAAgB,OAAA;AAEzB,4CAA2C;AAAlC,oGAAA,QAAQ,OAAA;AACjB,0DAAyD;AAAhD,kHAAA,eAAe,OAAA;AACxB,8DAA0E;AAAjE,sHAAA,iBAAiB,OAAA;AAAE,gHAAA,WAAW,OAAA;AACvC,0CAAyC;AAAhC,kGAAA,OAAO,OAAA;AAOhB,8CAA6C;AAApC,oGAAA,QAAQ,OAAA;AACjB,0DAAyD;AAAhD,gHAAA,cAAc,OAAA;AACvB,4DAA2D;AAAlD,kHAAA,eAAe,OAAA;AAYxB,4CAA2C;AAAlC,kGAAA,OAAO,OAAA;AAEhB,0DAAyD;AAAhD,gHAAA,cAAc,OAAA;AAOvB,gGAA+F;AAAtF,sJAAA,iCAAiC,OAAA;AAC1C,kEAAiE;AAAxD,wHAAA,kBAAkB,OAAA;AAE3B,kEAAiE;AAAxD,wHAAA,kBAAkB,OAAA;AAC3B,0DAAyD;AAAhD,gHAAA,cAAc,OAAA;AAGvB,wDAAuD;AAA9C,8GAAA,aAAa,OAAA;AACtB,8EAA6E;AAApE,oIAAA,wBAAwB,OAAA;AACjC,8EAA6E;AAApE,oIAAA,wBAAwB,OAAA;AAEjC,gFAA+E;AAAtE,sIAAA,yBAAyB,OAAA;AAClC,gFAA+E;AAAtE,sIAAA,yBAAyB,OAAA;AAClC,gFAA+E;AAAtE,sIAAA,yBAAyB,OAAA;AAClC,wEAAuE;AAA9D,8HAAA,qBAAqB,OAAA;AAC9B,4EAA2E;AAAlE,kIAAA,uBAAuB,OAAA;AAKhC,oEAAmE;AAA1D,0HAAA,mBAAmB,OAAA;AAI5B,kGAAiG;AAAxF,wJAAA,kCAAkC,OAAA;AAC3C,oEAAmE;AAA1D,0HAAA,mBAAmB,OAAA;AAE5B,wGAAuG;AAA9F,8JAAA,qCAAqC,OAAA;AAG9C,oEAAmE;AAA1D,0HAAA,mBAAmB,OAAA;AAE5B,kEAAiE;AAAxD,wHAAA,kBAAkB,OAAA;AAC3B,8EAA6E;AAApE,oIAAA,wBAAwB,OAAA;AAEjC,4CAA2C;AAAlC,kGAAA,OAAO,OAAA;AAEhB,gEAA+D;AAAtD,sHAAA,iBAAiB,OAAA;AAG1B,0DAAyD;AAAhD,gHAAA,cAAc,OAAA;AAIvB,sEAAqE;AAA5D,4HAAA,oBAAoB,OAAA;AAC7B,0DAAyD;AAAhD,gHAAA,cAAc,OAAA;AAGvB,wDAAuD;AAA9C,8GAAA,aAAa,OAAA;AAEtB,oEAAmE;AAA1D,0HAAA,mBAAmB,OAAA;AAC5B,8EAA6E;AAApE,oIAAA,wBAAwB,OAAA;AACjC,8EAA6E;AAApE,oIAAA,wBAAwB,OAAA;AACjC,gFAA+E;AAAtE,sIAAA,yBAAyB,OAAA;AAClC,gFAA+E;AAAtE,sIAAA,yBAAyB,OAAA;AAClC,gFAA+E;AAAtE,sIAAA,yBAAyB,OAAA;AAGlC,0DAAyD;AAAhD,8GAAA,aAAa,OAAA;AACtB,sEAAqE;AAA5D,0HAAA,mBAAmB,OAAA;AAC5B,gFAA+E;AAAtE,oIAAA,wBAAwB,OAAA;AACjC,wDAAuD;AAA9C,4GAAA,YAAY,OAAA;AACrB,4DAA2D;AAAlD,gHAAA,cAAc,OAAA;AACvB,8DAA6D;AAApD,kHAAA,eAAe,OAAA;AACxB,0DAAyD;AAAhD,8GAAA,aAAa,OAAA;AACtB,4DAA2D;AAAlD,gHAAA,cAAc,OAAA;AACvB,8DAA6D;AAApD,kHAAA,eAAe,OAAA;AACxB,0DAAyD;AAAhD,8GAAA,aAAa,OAAA;AACtB,sEAAqE;AAA5D,0HAAA,mBAAmB,OAAA;AAC5B,oEAAmE;AAA1D,wHAAA,kBAAkB,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertDto.js","sourceRoot":"","sources":["../../models/AlertDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"AlertDto.js","sourceRoot":"","sources":["../../models/AlertDto.ts"],"names":[],"mappings":";;;AA8EA,IAAiB,QAAQ,CAmCxB;AAnCD,WAAiB,QAAQ;IACrB;;OAEG;IACH,IAAY,QAaX;IAbD,WAAY,QAAQ;QAChB,uBAAW,CAAA;QACX,uBAAW,CAAA;QACX,6DAAiD,CAAA;QACjD,6EAAiE,CAAA;QACjE,uDAA2C,CAAA;QAC3C,2CAA+B,CAAA;QAC/B,+DAAmD,CAAA;QACnD,+CAAmC,CAAA;QACnC,2BAAe,CAAA;QACf,+CAAmC,CAAA;QACnC,uBAAW,CAAA;QACX,2BAAe,CAAA;IACnB,CAAC,EAbW,QAAQ,GAAR,iBAAQ,KAAR,iBAAQ,QAanB;IACD;;OAEG;IACH,IAAY,QAIX;IAJD,WAAY,QAAQ;QAChB,uBAAW,CAAA;QACX,6BAAiB,CAAA;QACjB,yBAAa,CAAA;IACjB,CAAC,EAJW,QAAQ,GAAR,iBAAQ,KAAR,iBAAQ,QAInB;IACD;;OAEG;IACH,IAAY,MAKX;IALD,WAAY,MAAM;QACd,qBAAW,CAAA;QACX,iCAAuB,CAAA;QACvB,iCAAuB,CAAA;QACvB,+BAAqB,CAAA;IACzB,CAAC,EALW,MAAM,GAAN,eAAM,KAAN,eAAM,QAKjB;AACL,CAAC,EAnCgB,QAAQ,wBAAR,QAAQ,QAmCxB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { CreateAlertDto } from './CreateAlertDto';
|
|
2
|
+
export type BatchCreateAlertsDto = {
|
|
3
|
+
/**
|
|
4
|
+
* Array of alerts to create in batch (maximum 50 alerts)
|
|
5
|
+
*/
|
|
6
|
+
alerts: Array<CreateAlertDto>;
|
|
7
|
+
/**
|
|
8
|
+
* Whether to upsert the alerts
|
|
9
|
+
*/
|
|
10
|
+
upsert?: boolean;
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateAlertsDto.js","sourceRoot":"","sources":["../../models/BatchCreateAlertsDto.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { AlertDto } from './AlertDto';
|
|
2
|
+
export type BatchCreateAlertsResponseDto = {
|
|
3
|
+
/**
|
|
4
|
+
* Array of successfully created alerts
|
|
5
|
+
*/
|
|
6
|
+
createdAlerts: Array<AlertDto>;
|
|
7
|
+
/**
|
|
8
|
+
* Array of alerts that failed to create
|
|
9
|
+
*/
|
|
10
|
+
failedAlerts: Array<Record<string, any>>;
|
|
11
|
+
/**
|
|
12
|
+
* Total number of alerts processed
|
|
13
|
+
*/
|
|
14
|
+
totalProcessed: number;
|
|
15
|
+
/**
|
|
16
|
+
* Number of alerts successfully created
|
|
17
|
+
*/
|
|
18
|
+
successCount: number;
|
|
19
|
+
/**
|
|
20
|
+
* Number of alerts that failed to create
|
|
21
|
+
*/
|
|
22
|
+
failureCount: number;
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateAlertsResponseDto.js","sourceRoot":"","sources":["../../models/BatchCreateAlertsResponseDto.ts"],"names":[],"mappings":""}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RiskDto } from './RiskDto';
|
|
1
2
|
export type BlockchainWalletDto = {
|
|
2
3
|
/**
|
|
3
4
|
* Unique identifier for the blockchain wallet
|
|
@@ -35,12 +36,15 @@ export type BlockchainWalletDto = {
|
|
|
35
36
|
name?: string;
|
|
36
37
|
}>;
|
|
37
38
|
/**
|
|
38
|
-
*
|
|
39
|
+
* Historical risk assessments
|
|
39
40
|
*/
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
41
|
+
riskHistory: Array<RiskDto>;
|
|
42
|
+
/**
|
|
43
|
+
* Current risk assessment
|
|
44
|
+
*/
|
|
45
|
+
currentRisk?: RiskDto;
|
|
46
|
+
/**
|
|
47
|
+
* Custom fields data
|
|
48
|
+
*/
|
|
49
|
+
customFields?: Record<string, any>;
|
|
46
50
|
};
|
package/dist/models/CaseDto.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseDto.js","sourceRoot":"","sources":["../../models/CaseDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"CaseDto.js","sourceRoot":"","sources":["../../models/CaseDto.ts"],"names":[],"mappings":";;;AA+EA,IAAiB,OAAO,CAsCvB;AAtCD,WAAiB,OAAO;IACpB;;OAEG;IACH,IAAY,QAIX;IAJD,WAAY,QAAQ;QAChB,uBAAW,CAAA;QACX,6BAAiB,CAAA;QACjB,yBAAa,CAAA;IACjB,CAAC,EAJW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAInB;IACD;;OAEG;IACH,IAAY,QAaX;IAbD,WAAY,QAAQ;QAChB,uBAAW,CAAA;QACX,uBAAW,CAAA;QACX,6DAAiD,CAAA;QACjD,6EAAiE,CAAA;QACjE,uDAA2C,CAAA;QAC3C,2CAA+B,CAAA;QAC/B,+DAAmD,CAAA;QACnD,+CAAmC,CAAA;QACnC,2BAAe,CAAA;QACf,+CAAmC,CAAA;QACnC,uBAAW,CAAA;QACX,2BAAe,CAAA;IACnB,CAAC,EAbW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAanB;IACD;;OAEG;IACH,IAAY,MAQX;IARD,WAAY,MAAM;QACd,qBAAW,CAAA;QACX,qDAA2C,CAAA;QAC3C,qCAA2B,CAAA;QAC3B,qCAA2B,CAAA;QAC3B,2CAAiC,CAAA;QACjC,+CAAqC,CAAA;QACrC,+DAAqD,CAAA;IACzD,CAAC,EARW,MAAM,GAAN,cAAM,KAAN,cAAM,QAQjB;AACL,CAAC,EAtCgB,OAAO,uBAAP,OAAO,QAsCvB"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { ClientRiskDto } from './ClientRiskDto';
|
|
2
1
|
import type { CorporateClientAddressDto } from './CorporateClientAddressDto';
|
|
3
2
|
import type { CorporateClientApplicationDto } from './CorporateClientApplicationDto';
|
|
4
3
|
import type { CorporateClientBusinessDto } from './CorporateClientBusinessDto';
|
|
5
4
|
import type { CorporateClientGeneralDto } from './CorporateClientGeneralDto';
|
|
5
|
+
import type { RiskDto } from './RiskDto';
|
|
6
6
|
export type CorporateClientDto = {
|
|
7
7
|
/**
|
|
8
8
|
* Unique identifier of the corporate client
|
|
@@ -43,11 +43,11 @@ export type CorporateClientDto = {
|
|
|
43
43
|
/**
|
|
44
44
|
* Current risk assessment of the client
|
|
45
45
|
*/
|
|
46
|
-
currentRisk?:
|
|
46
|
+
currentRisk?: RiskDto;
|
|
47
47
|
/**
|
|
48
48
|
* Onboarding risk assessment of the client
|
|
49
49
|
*/
|
|
50
|
-
onboardingRisk?:
|
|
50
|
+
onboardingRisk?: RiskDto;
|
|
51
51
|
/**
|
|
52
52
|
* Custom fields data
|
|
53
53
|
*/
|
|
@@ -63,7 +63,7 @@ export type CorporateClientDto = {
|
|
|
63
63
|
/**
|
|
64
64
|
* Historical risk assessments of the client
|
|
65
65
|
*/
|
|
66
|
-
riskHistory: Array<
|
|
66
|
+
riskHistory: Array<RiskDto>;
|
|
67
67
|
/**
|
|
68
68
|
* Tags associated with the client
|
|
69
69
|
*/
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AlertDecisionDto } from './AlertDecisionDto';
|
|
1
2
|
import type { AlertSourceDto } from './AlertSourceDto';
|
|
2
3
|
export type CreateAlertDto = {
|
|
3
4
|
/**
|
|
@@ -32,6 +33,10 @@ export type CreateAlertDto = {
|
|
|
32
33
|
* Current status of the alert
|
|
33
34
|
*/
|
|
34
35
|
status: CreateAlertDto.status;
|
|
36
|
+
/**
|
|
37
|
+
* Decision information for the alert
|
|
38
|
+
*/
|
|
39
|
+
decision?: AlertDecisionDto;
|
|
35
40
|
/**
|
|
36
41
|
* List of client IDs associated with this alert
|
|
37
42
|
*/
|
|
@@ -48,6 +53,10 @@ export type CreateAlertDto = {
|
|
|
48
53
|
* Custom fields data
|
|
49
54
|
*/
|
|
50
55
|
customFields?: Record<string, any>;
|
|
56
|
+
/**
|
|
57
|
+
* ISO Date when the alert is due
|
|
58
|
+
*/
|
|
59
|
+
dueDate?: string;
|
|
51
60
|
};
|
|
52
61
|
export declare namespace CreateAlertDto {
|
|
53
62
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateAlertDto.js","sourceRoot":"","sources":["../../models/CreateAlertDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"CreateAlertDto.js","sourceRoot":"","sources":["../../models/CreateAlertDto.ts"],"names":[],"mappings":";;;AAgEA,IAAiB,cAAc,CAmC9B;AAnCD,WAAiB,cAAc;IAC3B;;OAEG;IACH,IAAY,QAaX;IAbD,WAAY,QAAQ;QAChB,uBAAW,CAAA;QACX,uBAAW,CAAA;QACX,6DAAiD,CAAA;QACjD,6EAAiE,CAAA;QACjE,uDAA2C,CAAA;QAC3C,2CAA+B,CAAA;QAC/B,+DAAmD,CAAA;QACnD,+CAAmC,CAAA;QACnC,2BAAe,CAAA;QACf,+CAAmC,CAAA;QACnC,uBAAW,CAAA;QACX,2BAAe,CAAA;IACnB,CAAC,EAbW,QAAQ,GAAR,uBAAQ,KAAR,uBAAQ,QAanB;IACD;;OAEG;IACH,IAAY,QAIX;IAJD,WAAY,QAAQ;QAChB,uBAAW,CAAA;QACX,6BAAiB,CAAA;QACjB,yBAAa,CAAA;IACjB,CAAC,EAJW,QAAQ,GAAR,uBAAQ,KAAR,uBAAQ,QAInB;IACD;;OAEG;IACH,IAAY,MAKX;IALD,WAAY,MAAM;QACd,qBAAW,CAAA;QACX,iCAAuB,CAAA;QACvB,iCAAuB,CAAA;QACvB,+BAAqB,CAAA;IACzB,CAAC,EALW,MAAM,GAAN,qBAAM,KAAN,qBAAM,QAKjB;AACL,CAAC,EAnCgB,cAAc,8BAAd,cAAc,QAmC9B"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RiskDto } from './RiskDto';
|
|
1
2
|
export type CreateBlockchainWalletDto = {
|
|
2
3
|
/**
|
|
3
4
|
* External reference ID for the blockchain wallet
|
|
@@ -11,4 +12,12 @@ export type CreateBlockchainWalletDto = {
|
|
|
11
12
|
* Wallet address on the blockchain
|
|
12
13
|
*/
|
|
13
14
|
address: string;
|
|
15
|
+
/**
|
|
16
|
+
* Historical risk assessments of the blockchain wallet
|
|
17
|
+
*/
|
|
18
|
+
riskHistory?: Array<RiskDto>;
|
|
19
|
+
/**
|
|
20
|
+
* Custom fields data
|
|
21
|
+
*/
|
|
22
|
+
customFields?: Record<string, any>;
|
|
14
23
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateCaseDto.js","sourceRoot":"","sources":["../../models/CreateCaseDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"CreateCaseDto.js","sourceRoot":"","sources":["../../models/CreateCaseDto.ts"],"names":[],"mappings":";;;AAsDA,IAAiB,aAAa,CAsC7B;AAtCD,WAAiB,aAAa;IAC1B;;OAEG;IACH,IAAY,QAIX;IAJD,WAAY,QAAQ;QAChB,uBAAW,CAAA;QACX,6BAAiB,CAAA;QACjB,yBAAa,CAAA;IACjB,CAAC,EAJW,QAAQ,GAAR,sBAAQ,KAAR,sBAAQ,QAInB;IACD;;OAEG;IACH,IAAY,QAaX;IAbD,WAAY,QAAQ;QAChB,uBAAW,CAAA;QACX,uBAAW,CAAA;QACX,6DAAiD,CAAA;QACjD,6EAAiE,CAAA;QACjE,uDAA2C,CAAA;QAC3C,2CAA+B,CAAA;QAC/B,+DAAmD,CAAA;QACnD,+CAAmC,CAAA;QACnC,2BAAe,CAAA;QACf,+CAAmC,CAAA;QACnC,uBAAW,CAAA;QACX,2BAAe,CAAA;IACnB,CAAC,EAbW,QAAQ,GAAR,sBAAQ,KAAR,sBAAQ,QAanB;IACD;;OAEG;IACH,IAAY,MAQX;IARD,WAAY,MAAM;QACd,qBAAW,CAAA;QACX,qDAA2C,CAAA;QAC3C,qCAA2B,CAAA;QAC3B,qCAA2B,CAAA;QAC3B,2CAAiC,CAAA;QACjC,+CAAqC,CAAA;QACrC,+DAAqD,CAAA;IACzD,CAAC,EARW,MAAM,GAAN,oBAAM,KAAN,oBAAM,QAQjB;AACL,CAAC,EAtCgB,aAAa,6BAAb,aAAa,QAsC7B"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { ClientRiskDto } from './ClientRiskDto';
|
|
2
1
|
import type { CorporateClientAddressDto } from './CorporateClientAddressDto';
|
|
3
2
|
import type { CorporateClientApplicationDto } from './CorporateClientApplicationDto';
|
|
4
3
|
import type { CorporateClientBusinessDto } from './CorporateClientBusinessDto';
|
|
5
4
|
import type { CorporateClientGeneralDto } from './CorporateClientGeneralDto';
|
|
5
|
+
import type { RiskDto } from './RiskDto';
|
|
6
6
|
export type CreateCorporateClientDto = {
|
|
7
7
|
/**
|
|
8
8
|
* External reference ID for the corporate client
|
|
@@ -19,7 +19,7 @@ export type CreateCorporateClientDto = {
|
|
|
19
19
|
/**
|
|
20
20
|
* Historical risk assessments of the corporate client
|
|
21
21
|
*/
|
|
22
|
-
riskHistory?: Array<
|
|
22
|
+
riskHistory?: Array<RiskDto>;
|
|
23
23
|
/**
|
|
24
24
|
* Tags associated with the corporate client
|
|
25
25
|
*/
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { AdverseMediaDto } from './AdverseMediaDto';
|
|
2
|
-
import type { ClientRiskDto } from './ClientRiskDto';
|
|
3
2
|
import type { IndividualClientAddressDto } from './IndividualClientAddressDto';
|
|
4
3
|
import type { IndividualClientApplicationInformationDto } from './IndividualClientApplicationInformationDto';
|
|
5
4
|
import type { IndividualClientContactInformationDto } from './IndividualClientContactInformationDto';
|
|
@@ -8,6 +7,7 @@ import type { IndividualClientGeneralInformationDto } from './IndividualClientGe
|
|
|
8
7
|
import type { IndividualClientIntegrationsDto } from './IndividualClientIntegrationsDto';
|
|
9
8
|
import type { IndividualClientWorkInformationDto } from './IndividualClientWorkInformationDto';
|
|
10
9
|
import type { PoliticalExposureDto } from './PoliticalExposureDto';
|
|
10
|
+
import type { RiskDto } from './RiskDto';
|
|
11
11
|
import type { SanctionsDto } from './SanctionsDto';
|
|
12
12
|
export type CreateIndividualClientDto = {
|
|
13
13
|
/**
|
|
@@ -45,7 +45,7 @@ export type CreateIndividualClientDto = {
|
|
|
45
45
|
/**
|
|
46
46
|
* Risk history of the individual client
|
|
47
47
|
*/
|
|
48
|
-
riskHistory?: Array<
|
|
48
|
+
riskHistory?: Array<RiskDto>;
|
|
49
49
|
/**
|
|
50
50
|
* Contact information of the individual client
|
|
51
51
|
*/
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { AdverseMediaDto } from './AdverseMediaDto';
|
|
2
|
-
import type { ClientRiskDto } from './ClientRiskDto';
|
|
3
2
|
import type { IndividualClientAddressDto } from './IndividualClientAddressDto';
|
|
4
3
|
import type { IndividualClientApplicationInformationDto } from './IndividualClientApplicationInformationDto';
|
|
5
4
|
import type { IndividualClientContactInformationDto } from './IndividualClientContactInformationDto';
|
|
@@ -8,6 +7,7 @@ import type { IndividualClientGeneralInformationDto } from './IndividualClientGe
|
|
|
8
7
|
import type { IndividualClientIntegrationsDto } from './IndividualClientIntegrationsDto';
|
|
9
8
|
import type { IndividualClientWorkInformationDto } from './IndividualClientWorkInformationDto';
|
|
10
9
|
import type { PoliticalExposureDto } from './PoliticalExposureDto';
|
|
10
|
+
import type { RiskDto } from './RiskDto';
|
|
11
11
|
import type { SanctionsDto } from './SanctionsDto';
|
|
12
12
|
export type IndividualClientDto = {
|
|
13
13
|
/**
|
|
@@ -53,11 +53,11 @@ export type IndividualClientDto = {
|
|
|
53
53
|
/**
|
|
54
54
|
* Current risk assessment
|
|
55
55
|
*/
|
|
56
|
-
currentRisk?:
|
|
56
|
+
currentRisk?: RiskDto;
|
|
57
57
|
/**
|
|
58
58
|
* Onboarding risk assessment of the client
|
|
59
59
|
*/
|
|
60
|
-
onboardingRisk?:
|
|
60
|
+
onboardingRisk?: RiskDto;
|
|
61
61
|
/**
|
|
62
62
|
* Custom fields data
|
|
63
63
|
*/
|
|
@@ -81,7 +81,7 @@ export type IndividualClientDto = {
|
|
|
81
81
|
/**
|
|
82
82
|
* Historical risk assessments
|
|
83
83
|
*/
|
|
84
|
-
riskHistory: Array<
|
|
84
|
+
riskHistory: Array<RiskDto>;
|
|
85
85
|
/**
|
|
86
86
|
* Sanctions information
|
|
87
87
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type RiskDto = {
|
|
2
2
|
/**
|
|
3
3
|
* Risk score value for the client. The score is a number between 0 and 100. 0-49 is low, 50-74 is medium, 75-100 is high
|
|
4
4
|
*/
|
|
@@ -6,7 +6,7 @@ export type ClientRiskDto = {
|
|
|
6
6
|
/**
|
|
7
7
|
* Risk level label based on the score. If you don't supply a level, the score will be used to calculate the level
|
|
8
8
|
*/
|
|
9
|
-
level?:
|
|
9
|
+
level?: RiskDto.level;
|
|
10
10
|
/**
|
|
11
11
|
* Explanation for the assigned risk score
|
|
12
12
|
*/
|
|
@@ -16,7 +16,7 @@ export type ClientRiskDto = {
|
|
|
16
16
|
*/
|
|
17
17
|
calculatedAt: string;
|
|
18
18
|
};
|
|
19
|
-
export declare namespace
|
|
19
|
+
export declare namespace RiskDto {
|
|
20
20
|
/**
|
|
21
21
|
* Risk level label based on the score. If you don't supply a level, the score will be used to calculate the level
|
|
22
22
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
var
|
|
5
|
-
(function (
|
|
3
|
+
exports.RiskDto = void 0;
|
|
4
|
+
var RiskDto;
|
|
5
|
+
(function (RiskDto) {
|
|
6
6
|
/**
|
|
7
7
|
* Risk level label based on the score. If you don't supply a level, the score will be used to calculate the level
|
|
8
8
|
*/
|
|
@@ -11,6 +11,6 @@ var ClientRiskDto;
|
|
|
11
11
|
level["LOW"] = "LOW";
|
|
12
12
|
level["MEDIUM"] = "MEDIUM";
|
|
13
13
|
level["HIGH"] = "HIGH";
|
|
14
|
-
})(level =
|
|
15
|
-
})(
|
|
16
|
-
//# sourceMappingURL=
|
|
14
|
+
})(level = RiskDto.level || (RiskDto.level = {}));
|
|
15
|
+
})(RiskDto || (exports.RiskDto = RiskDto = {}));
|
|
16
|
+
//# sourceMappingURL=RiskDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RiskDto.js","sourceRoot":"","sources":["../../models/RiskDto.ts"],"names":[],"mappings":";;;AAsBA,IAAiB,OAAO,CASvB;AATD,WAAiB,OAAO;IACpB;;OAEG;IACH,IAAY,KAIX;IAJD,WAAY,KAAK;QACb,oBAAW,CAAA;QACX,0BAAiB,CAAA;QACjB,sBAAa,CAAA;IACjB,CAAC,EAJW,KAAK,GAAL,aAAK,KAAL,aAAK,QAIhB;AACL,CAAC,EATgB,OAAO,uBAAP,OAAO,QASvB"}
|
|
@@ -17,6 +17,10 @@ export type UpdateAlertDto = {
|
|
|
17
17
|
* Current status of the alert
|
|
18
18
|
*/
|
|
19
19
|
status?: UpdateAlertDto.status;
|
|
20
|
+
/**
|
|
21
|
+
* Description of the alert
|
|
22
|
+
*/
|
|
23
|
+
description?: string;
|
|
20
24
|
/**
|
|
21
25
|
* Source information for the alert
|
|
22
26
|
*/
|
|
@@ -29,6 +33,18 @@ export type UpdateAlertDto = {
|
|
|
29
33
|
* Custom fields data
|
|
30
34
|
*/
|
|
31
35
|
customFields?: Record<string, any>;
|
|
36
|
+
/**
|
|
37
|
+
* List of client IDs associated with this alert. Replace the existing clients with the new ones.
|
|
38
|
+
*/
|
|
39
|
+
associatedClients?: Array<string>;
|
|
40
|
+
/**
|
|
41
|
+
* List of transaction IDs associated with this alert. Replace the existing transactions with the new ones.
|
|
42
|
+
*/
|
|
43
|
+
associatedTransactions?: Array<string>;
|
|
44
|
+
/**
|
|
45
|
+
* ISO Date when the alert is due
|
|
46
|
+
*/
|
|
47
|
+
dueDate?: string;
|
|
32
48
|
};
|
|
33
49
|
export declare namespace UpdateAlertDto {
|
|
34
50
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateAlertDto.js","sourceRoot":"","sources":["../../models/UpdateAlertDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"UpdateAlertDto.js","sourceRoot":"","sources":["../../models/UpdateAlertDto.ts"],"names":[],"mappings":";;;AAoDA,IAAiB,cAAc,CAmC9B;AAnCD,WAAiB,cAAc;IAC3B;;OAEG;IACH,IAAY,QAIX;IAJD,WAAY,QAAQ;QAChB,uBAAW,CAAA;QACX,6BAAiB,CAAA;QACjB,yBAAa,CAAA;IACjB,CAAC,EAJW,QAAQ,GAAR,uBAAQ,KAAR,uBAAQ,QAInB;IACD;;OAEG;IACH,IAAY,QAaX;IAbD,WAAY,QAAQ;QAChB,uBAAW,CAAA;QACX,uBAAW,CAAA;QACX,6DAAiD,CAAA;QACjD,6EAAiE,CAAA;QACjE,uDAA2C,CAAA;QAC3C,2CAA+B,CAAA;QAC/B,+DAAmD,CAAA;QACnD,+CAAmC,CAAA;QACnC,2BAAe,CAAA;QACf,+CAAmC,CAAA;QACnC,uBAAW,CAAA;QACX,2BAAe,CAAA;IACnB,CAAC,EAbW,QAAQ,GAAR,uBAAQ,KAAR,uBAAQ,QAanB;IACD;;OAEG;IACH,IAAY,MAKX;IALD,WAAY,MAAM;QACd,qBAAW,CAAA;QACX,iCAAuB,CAAA;QACvB,iCAAuB,CAAA;QACvB,+BAAqB,CAAA;IACzB,CAAC,EALW,MAAM,GAAN,qBAAM,KAAN,qBAAM,QAKjB;AACL,CAAC,EAnCgB,cAAc,8BAAd,cAAc,QAmC9B"}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
import type { CreateOrUpdateRiskDto } from './CreateOrUpdateRiskDto';
|
|
1
2
|
export type UpdateBlockchainWalletDto = {
|
|
2
|
-
/**
|
|
3
|
-
* External reference ID for the blockchain wallet
|
|
4
|
-
*/
|
|
5
|
-
referenceId?: string;
|
|
6
3
|
/**
|
|
7
4
|
* Blockchain network or chain identifier
|
|
8
5
|
*/
|
|
9
6
|
chain?: string;
|
|
10
7
|
/**
|
|
11
|
-
*
|
|
8
|
+
* Custom fields data
|
|
9
|
+
*/
|
|
10
|
+
customFields?: Record<string, any>;
|
|
11
|
+
/**
|
|
12
|
+
* Current risk assessment of the blockchain wallet
|
|
12
13
|
*/
|
|
13
|
-
|
|
14
|
+
currentRisk?: CreateOrUpdateRiskDto;
|
|
14
15
|
};
|
|
@@ -49,6 +49,10 @@ export type UpdateCaseDto = {
|
|
|
49
49
|
* Investigation data and notes for the case
|
|
50
50
|
*/
|
|
51
51
|
investigation?: UpdateCaseInvestigationDto;
|
|
52
|
+
/**
|
|
53
|
+
* ISO Date when the case is due
|
|
54
|
+
*/
|
|
55
|
+
dueDate?: string;
|
|
52
56
|
};
|
|
53
57
|
export declare namespace UpdateCaseDto {
|
|
54
58
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateCaseDto.js","sourceRoot":"","sources":["../../models/UpdateCaseDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"UpdateCaseDto.js","sourceRoot":"","sources":["../../models/UpdateCaseDto.ts"],"names":[],"mappings":";;;AA4DA,IAAiB,aAAa,CA0B7B;AA1BD,WAAiB,aAAa;IAC1B;;OAEG;IACH,IAAY,QAIX;IAJD,WAAY,QAAQ;QAChB,uBAAW,CAAA;QACX,6BAAiB,CAAA;QACjB,yBAAa,CAAA;IACjB,CAAC,EAJW,QAAQ,GAAR,sBAAQ,KAAR,sBAAQ,QAInB;IACD;;OAEG;IACH,IAAY,QAaX;IAbD,WAAY,QAAQ;QAChB,uBAAW,CAAA;QACX,uBAAW,CAAA;QACX,6DAAiD,CAAA;QACjD,6EAAiE,CAAA;QACjE,uDAA2C,CAAA;QAC3C,2CAA+B,CAAA;QAC/B,+DAAmD,CAAA;QACnD,+CAAmC,CAAA;QACnC,2BAAe,CAAA;QACf,+CAAmC,CAAA;QACnC,uBAAW,CAAA;QACX,2BAAe,CAAA;IACnB,CAAC,EAbW,QAAQ,GAAR,sBAAQ,KAAR,sBAAQ,QAanB;AACL,CAAC,EA1BgB,aAAa,6BAAb,aAAa,QA0B7B"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { AlertAssociationResponseDto } from '../models/AlertAssociationResponseDto';
|
|
2
2
|
import type { AlertDto } from '../models/AlertDto';
|
|
3
|
+
import type { BatchCreateAlertsDto } from '../models/BatchCreateAlertsDto';
|
|
4
|
+
import type { BatchCreateAlertsResponseDto } from '../models/BatchCreateAlertsResponseDto';
|
|
3
5
|
import type { CreateAlertDto } from '../models/CreateAlertDto';
|
|
4
6
|
import type { UpdateAlertDto } from '../models/UpdateAlertDto';
|
|
5
7
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
@@ -15,6 +17,14 @@ export declare class AlertsService {
|
|
|
15
17
|
* @throws ApiError
|
|
16
18
|
*/
|
|
17
19
|
createAlert(requestBody: CreateAlertDto, failOnAssociation?: boolean): CancelablePromise<AlertDto>;
|
|
20
|
+
/**
|
|
21
|
+
* Create multiple alerts in batch (maximum 50 alerts)
|
|
22
|
+
* @param requestBody
|
|
23
|
+
* @param failOnAssociation If false, the alert creation will continue even if the associated clients or transactions are not found
|
|
24
|
+
* @returns BatchCreateAlertsResponseDto
|
|
25
|
+
* @throws ApiError
|
|
26
|
+
*/
|
|
27
|
+
createAlertsBatch(requestBody: BatchCreateAlertsDto, failOnAssociation?: boolean): CancelablePromise<BatchCreateAlertsResponseDto>;
|
|
18
28
|
/**
|
|
19
29
|
* Associate an alert with transactions
|
|
20
30
|
* @param alertId
|
|
@@ -24,6 +24,24 @@ class AlertsService {
|
|
|
24
24
|
mediaType: 'application/json',
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
|
+
/**
|
|
28
|
+
* Create multiple alerts in batch (maximum 50 alerts)
|
|
29
|
+
* @param requestBody
|
|
30
|
+
* @param failOnAssociation If false, the alert creation will continue even if the associated clients or transactions are not found
|
|
31
|
+
* @returns BatchCreateAlertsResponseDto
|
|
32
|
+
* @throws ApiError
|
|
33
|
+
*/
|
|
34
|
+
createAlertsBatch(requestBody, failOnAssociation) {
|
|
35
|
+
return this.httpRequest.request({
|
|
36
|
+
method: 'POST',
|
|
37
|
+
url: '/v1/alerts/batch',
|
|
38
|
+
query: {
|
|
39
|
+
'failOnAssociation': failOnAssociation,
|
|
40
|
+
},
|
|
41
|
+
body: requestBody,
|
|
42
|
+
mediaType: 'application/json',
|
|
43
|
+
});
|
|
44
|
+
}
|
|
27
45
|
/**
|
|
28
46
|
* Associate an alert with transactions
|
|
29
47
|
* @param alertId
|
|
@@ -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":";;;AAYA,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,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,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;;;;;;OAMG;IACI,WAAW,CACd,OAAe,EACf,WAA2B;QAE3B,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,6BAA6B;YAClC,IAAI,EAAE;gBACF,SAAS,EAAE,OAAO;aACrB;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,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;AA5HD,sCA4HC"}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClientRiskDto.js","sourceRoot":"","sources":["../../models/ClientRiskDto.ts"],"names":[],"mappings":";;;AAsBA,IAAiB,aAAa,CAS7B;AATD,WAAiB,aAAa;IAC1B;;OAEG;IACH,IAAY,KAIX;IAJD,WAAY,KAAK;QACb,oBAAW,CAAA;QACX,0BAAiB,CAAA;QACjB,sBAAa,CAAA;IACjB,CAAC,EAJW,KAAK,GAAL,mBAAK,KAAL,mBAAK,QAIhB;AACL,CAAC,EATgB,aAAa,6BAAb,aAAa,QAS7B"}
|