@corsa-labs/sdk 4.17.0 → 4.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/ComplianceClient.d.ts +6 -0
- package/dist/ComplianceClient.js +9 -0
- package/dist/ComplianceClient.js.map +1 -1
- package/dist/models/ActionConfigDto.d.ts +19 -0
- package/dist/models/ActionConfigDto.js +15 -0
- package/dist/models/ActionConfigDto.js.map +1 -0
- package/dist/models/ActivateRuleDto.d.ts +6 -0
- package/dist/models/ActivateRuleDto.js +3 -0
- package/dist/models/ActivateRuleDto.js.map +1 -0
- package/dist/models/AggregationFilterDto.d.ts +20 -0
- package/dist/models/AggregationFilterDto.js +21 -0
- package/dist/models/AggregationFilterDto.js.map +1 -0
- package/dist/models/AlertCustomFieldDataDto.d.ts +22 -0
- package/dist/models/AlertCustomFieldDataDto.js +3 -0
- package/dist/models/AlertCustomFieldDataDto.js.map +1 -0
- package/dist/models/AlertDto.d.ts +2 -1
- package/dist/models/AlertDto.js.map +1 -1
- package/dist/models/BankAccountCustomFieldDataDto.d.ts +22 -0
- package/dist/models/BankAccountCustomFieldDataDto.js +3 -0
- package/dist/models/BankAccountCustomFieldDataDto.js.map +1 -0
- package/dist/models/BankAccountDto.d.ts +2 -1
- package/dist/models/BlockchainWalletCustomFieldDataDto.d.ts +22 -0
- package/dist/models/BlockchainWalletCustomFieldDataDto.js +3 -0
- package/dist/models/BlockchainWalletCustomFieldDataDto.js.map +1 -0
- package/dist/models/BlockchainWalletDto.d.ts +2 -1
- package/dist/models/ConditionDto.d.ts +133 -0
- package/dist/models/ConditionDto.js +73 -0
- package/dist/models/ConditionDto.js.map +1 -0
- package/dist/models/ConditionResultDto.d.ts +30 -0
- package/dist/models/ConditionResultDto.js +3 -0
- package/dist/models/ConditionResultDto.js.map +1 -0
- package/dist/models/ConditionsDto.d.ts +11 -0
- package/dist/models/ConditionsDto.js +3 -0
- package/dist/models/ConditionsDto.js.map +1 -0
- package/dist/models/CopyRuleTemplateResponseDto.d.ts +3 -0
- package/dist/models/CopyRuleTemplateResponseDto.js +3 -0
- package/dist/models/CopyRuleTemplateResponseDto.js.map +1 -0
- package/dist/models/CorporateClientCustomFieldDataDto.d.ts +40 -0
- package/dist/models/CorporateClientCustomFieldDataDto.js +20 -0
- package/dist/models/CorporateClientCustomFieldDataDto.js.map +1 -0
- package/dist/models/CorporateClientDto.d.ts +2 -1
- package/dist/models/CorporateClientDto.js.map +1 -1
- package/dist/models/CreateAlertDto.d.ts +2 -1
- package/dist/models/CreateAlertDto.js.map +1 -1
- package/dist/models/CreateBankAccountDto.d.ts +2 -1
- package/dist/models/CreateBankAccountDto.js.map +1 -1
- package/dist/models/CreateBlockchainWalletDto.d.ts +2 -1
- package/dist/models/CreateCorporateClientDto.d.ts +2 -1
- package/dist/models/CreateCorporateClientDto.js.map +1 -1
- package/dist/models/CreateIndividualClientDto.d.ts +2 -1
- package/dist/models/CreateIndividualClientDto.js.map +1 -1
- package/dist/models/CreateRuleDto.d.ts +20 -0
- package/dist/models/CreateRuleDto.js +3 -0
- package/dist/models/CreateRuleDto.js.map +1 -0
- package/dist/models/CreateTransactionDto.d.ts +2 -1
- package/dist/models/DisableRuleDto.d.ts +6 -0
- package/dist/models/DisableRuleDto.js +3 -0
- package/dist/models/DisableRuleDto.js.map +1 -0
- package/dist/models/EvaluationRequestDto.d.ts +10 -0
- package/dist/models/EvaluationRequestDto.js +3 -0
- package/dist/models/EvaluationRequestDto.js.map +1 -0
- package/dist/models/EvaluationResultDto.d.ts +27 -0
- package/dist/models/EvaluationResultDto.js +15 -0
- package/dist/models/EvaluationResultDto.js.map +1 -0
- package/dist/models/IndividualClientCustomFieldDataDto.d.ts +40 -0
- package/dist/models/IndividualClientCustomFieldDataDto.js +20 -0
- package/dist/models/IndividualClientCustomFieldDataDto.js.map +1 -0
- package/dist/models/IndividualClientDto.d.ts +2 -1
- package/dist/models/IndividualClientDto.js.map +1 -1
- package/dist/models/RuleMatchDto.d.ts +28 -0
- package/dist/models/RuleMatchDto.js +15 -0
- package/dist/models/RuleMatchDto.js.map +1 -0
- package/dist/models/RuleResponseDto.d.ts +18 -0
- package/dist/models/RuleResponseDto.js +13 -0
- package/dist/models/RuleResponseDto.js.map +1 -0
- package/dist/models/RuleTemplateResponseDto.d.ts +12 -0
- package/dist/models/RuleTemplateResponseDto.js +3 -0
- package/dist/models/RuleTemplateResponseDto.js.map +1 -0
- package/dist/models/TransactionCustomFieldDto.d.ts +22 -0
- package/dist/models/TransactionCustomFieldDto.js +3 -0
- package/dist/models/TransactionCustomFieldDto.js.map +1 -0
- package/dist/models/TransactionDto.d.ts +2 -1
- package/dist/models/TransactionDto.js.map +1 -1
- package/dist/models/UpdateAlertDto.d.ts +2 -1
- package/dist/models/UpdateAlertDto.js.map +1 -1
- package/dist/models/UpdateBankAccountDto.d.ts +2 -1
- package/dist/models/UpdateBankAccountDto.js.map +1 -1
- package/dist/models/UpdateBlockchainWalletDto.d.ts +2 -1
- package/dist/models/UpdateCorporateClientDto.d.ts +2 -1
- package/dist/models/UpdateCorporateClientDto.js.map +1 -1
- package/dist/models/UpdateIndividualClientDto.d.ts +2 -1
- package/dist/models/UpdateIndividualClientDto.js.map +1 -1
- package/dist/models/UpdateRuleDto.d.ts +15 -0
- package/dist/models/UpdateRuleDto.js +3 -0
- package/dist/models/UpdateRuleDto.js.map +1 -0
- package/dist/models/UpdateTransactionDto.d.ts +2 -1
- package/dist/services/EvaluationService.d.ts +16 -0
- package/dist/services/EvaluationService.js +26 -0
- package/dist/services/EvaluationService.js.map +1 -0
- package/dist/services/RuleTemplatesService.d.ts +157 -0
- package/dist/services/RuleTemplatesService.js +192 -0
- package/dist/services/RuleTemplatesService.js.map +1 -0
- package/dist/services/RulesService.d.ts +223 -0
- package/dist/services/RulesService.js +299 -0
- package/dist/services/RulesService.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CorporateClientCustomFieldDataDto = void 0;
|
|
4
|
+
var CorporateClientCustomFieldDataDto;
|
|
5
|
+
(function (CorporateClientCustomFieldDataDto) {
|
|
6
|
+
/**
|
|
7
|
+
* Category of the custom field
|
|
8
|
+
*/
|
|
9
|
+
let category;
|
|
10
|
+
(function (category) {
|
|
11
|
+
category["GENERAL"] = "GENERAL";
|
|
12
|
+
category["ADDRESS"] = "ADDRESS";
|
|
13
|
+
category["BUSINESS"] = "BUSINESS";
|
|
14
|
+
category["FINANCIAL"] = "FINANCIAL";
|
|
15
|
+
category["APPLICATION"] = "APPLICATION";
|
|
16
|
+
category["VERIFICATION"] = "VERIFICATION";
|
|
17
|
+
category["OTHER"] = "OTHER";
|
|
18
|
+
})(category = CorporateClientCustomFieldDataDto.category || (CorporateClientCustomFieldDataDto.category = {}));
|
|
19
|
+
})(CorporateClientCustomFieldDataDto || (exports.CorporateClientCustomFieldDataDto = CorporateClientCustomFieldDataDto = {}));
|
|
20
|
+
//# sourceMappingURL=CorporateClientCustomFieldDataDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CorporateClientCustomFieldDataDto.js","sourceRoot":"","sources":["../../models/CorporateClientCustomFieldDataDto.ts"],"names":[],"mappings":";;;AA8BA,IAAiB,iCAAiC,CAajD;AAbD,WAAiB,iCAAiC;IAC9C;;OAEG;IACH,IAAY,QAQX;IARD,WAAY,QAAQ;QAChB,+BAAmB,CAAA;QACnB,+BAAmB,CAAA;QACnB,iCAAqB,CAAA;QACrB,mCAAuB,CAAA;QACvB,uCAA2B,CAAA;QAC3B,yCAA6B,CAAA;QAC7B,2BAAe,CAAA;IACnB,CAAC,EARW,QAAQ,GAAR,0CAAQ,KAAR,0CAAQ,QAQnB;AACL,CAAC,EAbgB,iCAAiC,iDAAjC,iCAAiC,QAajD"}
|
|
@@ -2,6 +2,7 @@ import type { CorporateClientAddressDto } from './CorporateClientAddressDto';
|
|
|
2
2
|
import type { CorporateClientAdverseMediaDto } from './CorporateClientAdverseMediaDto';
|
|
3
3
|
import type { CorporateClientApplicationDto } from './CorporateClientApplicationDto';
|
|
4
4
|
import type { CorporateClientBusinessDto } from './CorporateClientBusinessDto';
|
|
5
|
+
import type { CorporateClientCustomFieldDataDto } from './CorporateClientCustomFieldDataDto';
|
|
5
6
|
import type { CorporateClientGeneralDto } from './CorporateClientGeneralDto';
|
|
6
7
|
import type { CorporateClientIntegrationsDto } from './CorporateClientIntegrationsDto';
|
|
7
8
|
import type { CorporateClientMembersDto } from './CorporateClientMembersDto';
|
|
@@ -69,7 +70,7 @@ export type CorporateClientDto = {
|
|
|
69
70
|
/**
|
|
70
71
|
* Custom fields data
|
|
71
72
|
*/
|
|
72
|
-
customFields?: Record<string,
|
|
73
|
+
customFields?: Record<string, CorporateClientCustomFieldDataDto>;
|
|
73
74
|
/**
|
|
74
75
|
* List of financial operation IDs associated with the client
|
|
75
76
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CorporateClientDto.js","sourceRoot":"","sources":["../../models/CorporateClientDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"CorporateClientDto.js","sourceRoot":"","sources":["../../models/CorporateClientDto.ts"],"names":[],"mappings":";;;AAuHA,IAAiB,kBAAkB,CAsBlC;AAtBD,WAAiB,kBAAkB;IAC/B;;OAEG;IACH,IAAY,aAUX;IAVD,WAAY,aAAa;QACrB,sCAAqB,CAAA;QACrB,0DAAyC,CAAA;QACzC,wCAAuB,CAAA;QACvB,sCAAqB,CAAA;QACrB,4CAA2B,CAAA;QAC3B,kCAAiB,CAAA;QACjB,wDAAuC,CAAA;QACvC,sDAAqC,CAAA;QACrC,oEAAmD,CAAA;IACvD,CAAC,EAVW,aAAa,GAAb,gCAAa,KAAb,gCAAa,QAUxB;IACD;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,iCAAc,KAAd,iCAAc,QAGzB;AACL,CAAC,EAtBgB,kBAAkB,kCAAlB,kBAAkB,QAsBlC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AlertCustomFieldDataDto } from './AlertCustomFieldDataDto';
|
|
1
2
|
import type { AlertDecisionDto } from './AlertDecisionDto';
|
|
2
3
|
import type { AlertSourceDto } from './AlertSourceDto';
|
|
3
4
|
export type CreateAlertDto = {
|
|
@@ -56,7 +57,7 @@ export type CreateAlertDto = {
|
|
|
56
57
|
/**
|
|
57
58
|
* Custom fields data
|
|
58
59
|
*/
|
|
59
|
-
customFields?: Record<string,
|
|
60
|
+
customFields?: Record<string, AlertCustomFieldDataDto>;
|
|
60
61
|
/**
|
|
61
62
|
* ISO Date when the alert is due
|
|
62
63
|
*/
|
|
@@ -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":";;;AAqEA,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 { BankAccountCustomFieldDataDto } from './BankAccountCustomFieldDataDto';
|
|
1
2
|
import type { ClientBankAccountRelationDto } from './ClientBankAccountRelationDto';
|
|
2
3
|
import type { RiskDto } from './RiskDto';
|
|
3
4
|
export type CreateBankAccountDto = {
|
|
@@ -52,7 +53,7 @@ export type CreateBankAccountDto = {
|
|
|
52
53
|
/**
|
|
53
54
|
* Custom fields data
|
|
54
55
|
*/
|
|
55
|
-
customFields?: Record<string,
|
|
56
|
+
customFields?: Record<string, BankAccountCustomFieldDataDto>;
|
|
56
57
|
/**
|
|
57
58
|
* List of clients associated with the bank account (maximum 50)
|
|
58
59
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateBankAccountDto.js","sourceRoot":"","sources":["../../models/CreateBankAccountDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"CreateBankAccountDto.js","sourceRoot":"","sources":["../../models/CreateBankAccountDto.ts"],"names":[],"mappings":";;;AAiEA,IAAiB,oBAAoB,CASpC;AATD,WAAiB,oBAAoB;IACjC;;OAEG;IACH,IAAY,MAIX;IAJD,WAAY,MAAM;QACd,2BAAiB,CAAA;QACjB,+BAAqB,CAAA;QACrB,2BAAiB,CAAA;IACrB,CAAC,EAJW,MAAM,GAAN,2BAAM,KAAN,2BAAM,QAIjB;AACL,CAAC,EATgB,oBAAoB,oCAApB,oBAAoB,QASpC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BlockchainWalletCustomFieldDataDto } from './BlockchainWalletCustomFieldDataDto';
|
|
1
2
|
import type { BlockchainWalletIntegrationsDto } from './BlockchainWalletIntegrationsDto';
|
|
2
3
|
import type { ClientBlockchainWalletRelationDto } from './ClientBlockchainWalletRelationDto';
|
|
3
4
|
import type { RiskDto } from './RiskDto';
|
|
@@ -25,7 +26,7 @@ export type CreateBlockchainWalletDto = {
|
|
|
25
26
|
/**
|
|
26
27
|
* Custom fields data
|
|
27
28
|
*/
|
|
28
|
-
customFields?: Record<string,
|
|
29
|
+
customFields?: Record<string, BlockchainWalletCustomFieldDataDto>;
|
|
29
30
|
/**
|
|
30
31
|
* List of clients associated with the blockchain wallet (maximum 50)
|
|
31
32
|
*/
|
|
@@ -2,6 +2,7 @@ import type { CorporateClientAddressDto } from './CorporateClientAddressDto';
|
|
|
2
2
|
import type { CorporateClientAdverseMediaDto } from './CorporateClientAdverseMediaDto';
|
|
3
3
|
import type { CorporateClientApplicationDto } from './CorporateClientApplicationDto';
|
|
4
4
|
import type { CorporateClientBusinessDto } from './CorporateClientBusinessDto';
|
|
5
|
+
import type { CorporateClientCustomFieldDataDto } from './CorporateClientCustomFieldDataDto';
|
|
5
6
|
import type { CorporateClientGeneralDto } from './CorporateClientGeneralDto';
|
|
6
7
|
import type { CorporateClientIntegrationsDto } from './CorporateClientIntegrationsDto';
|
|
7
8
|
import type { CorporateClientPEPDto } from './CorporateClientPEPDto';
|
|
@@ -73,7 +74,7 @@ export type CreateCorporateClientDto = {
|
|
|
73
74
|
/**
|
|
74
75
|
* Custom fields data
|
|
75
76
|
*/
|
|
76
|
-
customFields?: Record<string,
|
|
77
|
+
customFields?: Record<string, CorporateClientCustomFieldDataDto>;
|
|
77
78
|
/**
|
|
78
79
|
* Integrations
|
|
79
80
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateCorporateClientDto.js","sourceRoot":"","sources":["../../models/CreateCorporateClientDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"CreateCorporateClientDto.js","sourceRoot":"","sources":["../../models/CreateCorporateClientDto.ts"],"names":[],"mappings":";;;AAsFA,IAAiB,wBAAwB,CAsBxC;AAtBD,WAAiB,wBAAwB;IACrC;;OAEG;IACH,IAAY,aAUX;IAVD,WAAY,aAAa;QACrB,sCAAqB,CAAA;QACrB,0DAAyC,CAAA;QACzC,wCAAuB,CAAA;QACvB,sCAAqB,CAAA;QACrB,4CAA2B,CAAA;QAC3B,kCAAiB,CAAA;QACjB,wDAAuC,CAAA;QACvC,sDAAqC,CAAA;QACrC,oEAAmD,CAAA;IACvD,CAAC,EAVW,aAAa,GAAb,sCAAa,KAAb,sCAAa,QAUxB;IACD;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,uCAAc,KAAd,uCAAc,QAGzB;AACL,CAAC,EAtBgB,wBAAwB,wCAAxB,wBAAwB,QAsBxC"}
|
|
@@ -2,6 +2,7 @@ import type { AdverseMediaDto } from './AdverseMediaDto';
|
|
|
2
2
|
import type { IndividualClientAddressDto } from './IndividualClientAddressDto';
|
|
3
3
|
import type { IndividualClientApplicationInformationDto } from './IndividualClientApplicationInformationDto';
|
|
4
4
|
import type { IndividualClientContactInformationDto } from './IndividualClientContactInformationDto';
|
|
5
|
+
import type { IndividualClientCustomFieldDataDto } from './IndividualClientCustomFieldDataDto';
|
|
5
6
|
import type { IndividualClientFinancialInformationDto } from './IndividualClientFinancialInformationDto';
|
|
6
7
|
import type { IndividualClientGeneralInformationDto } from './IndividualClientGeneralInformationDto';
|
|
7
8
|
import type { IndividualClientIntegrationsDto } from './IndividualClientIntegrationsDto';
|
|
@@ -58,7 +59,7 @@ export type CreateIndividualClientDto = {
|
|
|
58
59
|
/**
|
|
59
60
|
* Custom fields data
|
|
60
61
|
*/
|
|
61
|
-
customFields?: Record<string,
|
|
62
|
+
customFields?: Record<string, IndividualClientCustomFieldDataDto>;
|
|
62
63
|
/**
|
|
63
64
|
* Financial information of the individual client
|
|
64
65
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateIndividualClientDto.js","sourceRoot":"","sources":["../../models/CreateIndividualClientDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"CreateIndividualClientDto.js","sourceRoot":"","sources":["../../models/CreateIndividualClientDto.ts"],"names":[],"mappings":";;;AA2FA,IAAiB,yBAAyB,CAsBzC;AAtBD,WAAiB,yBAAyB;IACtC;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,wCAAc,KAAd,wCAAc,QAGzB;IACD;;OAEG;IACH,IAAY,aAUX;IAVD,WAAY,aAAa;QACrB,sCAAqB,CAAA;QACrB,0DAAyC,CAAA;QACzC,wCAAuB,CAAA;QACvB,sCAAqB,CAAA;QACrB,4CAA2B,CAAA;QAC3B,kCAAiB,CAAA;QACjB,wDAAuC,CAAA;QACvC,sDAAqC,CAAA;QACrC,oEAAmD,CAAA;IACvD,CAAC,EAVW,aAAa,GAAb,uCAAa,KAAb,uCAAa,QAUxB;AACL,CAAC,EAtBgB,yBAAyB,yCAAzB,yBAAyB,QAsBzC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ActionConfigDto } from './ActionConfigDto';
|
|
2
|
+
import type { ConditionsDto } from './ConditionsDto';
|
|
3
|
+
export type CreateRuleDto = {
|
|
4
|
+
/**
|
|
5
|
+
* User-facing rule name
|
|
6
|
+
*/
|
|
7
|
+
name: string;
|
|
8
|
+
/**
|
|
9
|
+
* Detailed description of what the rule does
|
|
10
|
+
*/
|
|
11
|
+
description?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Actions to execute when rule matches
|
|
14
|
+
*/
|
|
15
|
+
actions: Array<ActionConfigDto>;
|
|
16
|
+
/**
|
|
17
|
+
* Rule conditions (IF logic)
|
|
18
|
+
*/
|
|
19
|
+
conditions: ConditionsDto;
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateRuleDto.js","sourceRoot":"","sources":["../../models/CreateRuleDto.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { CreateTransactionSourceOrDestinationClientDto } from './CreateTransactionSourceOrDestinationClientDto';
|
|
2
2
|
import type { TransactionAmountDto } from './TransactionAmountDto';
|
|
3
|
+
import type { TransactionCustomFieldDto } from './TransactionCustomFieldDto';
|
|
3
4
|
import type { TransactionIntegrationsDto } from './TransactionIntegrationsDto';
|
|
4
5
|
import type { TransactionStatusDto } from './TransactionStatusDto';
|
|
5
6
|
export type CreateTransactionDto = {
|
|
@@ -46,7 +47,7 @@ export type CreateTransactionDto = {
|
|
|
46
47
|
/**
|
|
47
48
|
* Custom fields data
|
|
48
49
|
*/
|
|
49
|
-
customFields?: Record<string,
|
|
50
|
+
customFields?: Record<string, TransactionCustomFieldDto>;
|
|
50
51
|
/**
|
|
51
52
|
* Integrations data for the transaction
|
|
52
53
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DisableRuleDto.js","sourceRoot":"","sources":["../../models/DisableRuleDto.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type EvaluationRequestDto = {
|
|
2
|
+
/**
|
|
3
|
+
* Optional transaction ID for tracking/correlation.
|
|
4
|
+
*/
|
|
5
|
+
transactionId?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Transaction data to evaluate. The 'id' field is optional and will be taken from transactionId if provided.
|
|
8
|
+
*/
|
|
9
|
+
transactionData: Record<string, any>;
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EvaluationRequestDto.js","sourceRoot":"","sources":["../../models/EvaluationRequestDto.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { RuleMatchDto } from './RuleMatchDto';
|
|
2
|
+
export type EvaluationResultDto = {
|
|
3
|
+
/**
|
|
4
|
+
* Transaction ID if provided, undefined for anonymous evaluations
|
|
5
|
+
*/
|
|
6
|
+
transactionId?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Final decision: FREEZE if any rule would freeze, otherwise ALLOW
|
|
9
|
+
*/
|
|
10
|
+
decision: EvaluationResultDto.decision;
|
|
11
|
+
/**
|
|
12
|
+
* List of triggered rule IDs
|
|
13
|
+
*/
|
|
14
|
+
triggeredRuleIds: Array<string>;
|
|
15
|
+
matches: Array<RuleMatchDto>;
|
|
16
|
+
evaluatedAt: string;
|
|
17
|
+
latencyMs: number;
|
|
18
|
+
};
|
|
19
|
+
export declare namespace EvaluationResultDto {
|
|
20
|
+
/**
|
|
21
|
+
* Final decision: FREEZE if any rule would freeze, otherwise ALLOW
|
|
22
|
+
*/
|
|
23
|
+
enum decision {
|
|
24
|
+
FREEZE = "FREEZE",
|
|
25
|
+
ALLOW = "ALLOW"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EvaluationResultDto = void 0;
|
|
4
|
+
var EvaluationResultDto;
|
|
5
|
+
(function (EvaluationResultDto) {
|
|
6
|
+
/**
|
|
7
|
+
* Final decision: FREEZE if any rule would freeze, otherwise ALLOW
|
|
8
|
+
*/
|
|
9
|
+
let decision;
|
|
10
|
+
(function (decision) {
|
|
11
|
+
decision["FREEZE"] = "FREEZE";
|
|
12
|
+
decision["ALLOW"] = "ALLOW";
|
|
13
|
+
})(decision = EvaluationResultDto.decision || (EvaluationResultDto.decision = {}));
|
|
14
|
+
})(EvaluationResultDto || (exports.EvaluationResultDto = EvaluationResultDto = {}));
|
|
15
|
+
//# sourceMappingURL=EvaluationResultDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EvaluationResultDto.js","sourceRoot":"","sources":["../../models/EvaluationResultDto.ts"],"names":[],"mappings":";;;AAsBA,IAAiB,mBAAmB,CAQnC;AARD,WAAiB,mBAAmB;IAChC;;OAEG;IACH,IAAY,QAGX;IAHD,WAAY,QAAQ;QAChB,6BAAiB,CAAA;QACjB,2BAAe,CAAA;IACnB,CAAC,EAHW,QAAQ,GAAR,4BAAQ,KAAR,4BAAQ,QAGnB;AACL,CAAC,EARgB,mBAAmB,mCAAnB,mBAAmB,QAQnC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export type IndividualClientCustomFieldDataDto = {
|
|
2
|
+
/**
|
|
3
|
+
* The label of the custom field
|
|
4
|
+
*/
|
|
5
|
+
label: string;
|
|
6
|
+
/**
|
|
7
|
+
* Value of the custom field. It can be a string, number, boolean, object (JSON), or array of objects. If you'd like to submit a country code, use the ISO 3166-1 alpha-2 code. If you'd like to submit a date, use the ISO 8601 format.
|
|
8
|
+
*/
|
|
9
|
+
value: (string | number | boolean | Record<string, any>);
|
|
10
|
+
/**
|
|
11
|
+
* Description of the custom field
|
|
12
|
+
*/
|
|
13
|
+
description?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Category of the custom field
|
|
16
|
+
*/
|
|
17
|
+
category?: IndividualClientCustomFieldDataDto.category;
|
|
18
|
+
/**
|
|
19
|
+
* Array of possible values for this custom field (enum). Only applies to string and number values.
|
|
20
|
+
*/
|
|
21
|
+
possibleValues?: Array<string>;
|
|
22
|
+
/**
|
|
23
|
+
* Whether this custom field is immutable and cannot be changed after creation
|
|
24
|
+
*/
|
|
25
|
+
immutable?: boolean;
|
|
26
|
+
};
|
|
27
|
+
export declare namespace IndividualClientCustomFieldDataDto {
|
|
28
|
+
/**
|
|
29
|
+
* Category of the custom field
|
|
30
|
+
*/
|
|
31
|
+
enum category {
|
|
32
|
+
GENERAL = "GENERAL",
|
|
33
|
+
ADDRESS = "ADDRESS",
|
|
34
|
+
CONTACT = "CONTACT",
|
|
35
|
+
WORK = "WORK",
|
|
36
|
+
FINANCIAL = "FINANCIAL",
|
|
37
|
+
APPLICATION = "APPLICATION",
|
|
38
|
+
VERIFICATION = "VERIFICATION"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IndividualClientCustomFieldDataDto = void 0;
|
|
4
|
+
var IndividualClientCustomFieldDataDto;
|
|
5
|
+
(function (IndividualClientCustomFieldDataDto) {
|
|
6
|
+
/**
|
|
7
|
+
* Category of the custom field
|
|
8
|
+
*/
|
|
9
|
+
let category;
|
|
10
|
+
(function (category) {
|
|
11
|
+
category["GENERAL"] = "GENERAL";
|
|
12
|
+
category["ADDRESS"] = "ADDRESS";
|
|
13
|
+
category["CONTACT"] = "CONTACT";
|
|
14
|
+
category["WORK"] = "WORK";
|
|
15
|
+
category["FINANCIAL"] = "FINANCIAL";
|
|
16
|
+
category["APPLICATION"] = "APPLICATION";
|
|
17
|
+
category["VERIFICATION"] = "VERIFICATION";
|
|
18
|
+
})(category = IndividualClientCustomFieldDataDto.category || (IndividualClientCustomFieldDataDto.category = {}));
|
|
19
|
+
})(IndividualClientCustomFieldDataDto || (exports.IndividualClientCustomFieldDataDto = IndividualClientCustomFieldDataDto = {}));
|
|
20
|
+
//# sourceMappingURL=IndividualClientCustomFieldDataDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IndividualClientCustomFieldDataDto.js","sourceRoot":"","sources":["../../models/IndividualClientCustomFieldDataDto.ts"],"names":[],"mappings":";;;AA8BA,IAAiB,kCAAkC,CAalD;AAbD,WAAiB,kCAAkC;IAC/C;;OAEG;IACH,IAAY,QAQX;IARD,WAAY,QAAQ;QAChB,+BAAmB,CAAA;QACnB,+BAAmB,CAAA;QACnB,+BAAmB,CAAA;QACnB,yBAAa,CAAA;QACb,mCAAuB,CAAA;QACvB,uCAA2B,CAAA;QAC3B,yCAA6B,CAAA;IACjC,CAAC,EARW,QAAQ,GAAR,2CAAQ,KAAR,2CAAQ,QAQnB;AACL,CAAC,EAbgB,kCAAkC,kDAAlC,kCAAkC,QAalD"}
|
|
@@ -2,6 +2,7 @@ import type { AdverseMediaDto } from './AdverseMediaDto';
|
|
|
2
2
|
import type { IndividualClientAddressDto } from './IndividualClientAddressDto';
|
|
3
3
|
import type { IndividualClientApplicationInformationDto } from './IndividualClientApplicationInformationDto';
|
|
4
4
|
import type { IndividualClientContactInformationDto } from './IndividualClientContactInformationDto';
|
|
5
|
+
import type { IndividualClientCustomFieldDataDto } from './IndividualClientCustomFieldDataDto';
|
|
5
6
|
import type { IndividualClientFinancialInformationDto } from './IndividualClientFinancialInformationDto';
|
|
6
7
|
import type { IndividualClientGeneralInformationDto } from './IndividualClientGeneralInformationDto';
|
|
7
8
|
import type { IndividualClientIntegrationsDto } from './IndividualClientIntegrationsDto';
|
|
@@ -57,7 +58,7 @@ export type IndividualClientDto = {
|
|
|
57
58
|
/**
|
|
58
59
|
* Custom fields data
|
|
59
60
|
*/
|
|
60
|
-
customFields?: Record<string,
|
|
61
|
+
customFields?: Record<string, IndividualClientCustomFieldDataDto>;
|
|
61
62
|
/**
|
|
62
63
|
* Financial information
|
|
63
64
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IndividualClientDto.js","sourceRoot":"","sources":["../../models/IndividualClientDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"IndividualClientDto.js","sourceRoot":"","sources":["../../models/IndividualClientDto.ts"],"names":[],"mappings":";;;AAuHA,IAAiB,mBAAmB,CAsBnC;AAtBD,WAAiB,mBAAmB;IAChC;;OAEG;IACH,IAAY,aAUX;IAVD,WAAY,aAAa;QACrB,sCAAqB,CAAA;QACrB,0DAAyC,CAAA;QACzC,wCAAuB,CAAA;QACvB,sCAAqB,CAAA;QACrB,4CAA2B,CAAA;QAC3B,kCAAiB,CAAA;QACjB,wDAAuC,CAAA;QACvC,sDAAqC,CAAA;QACrC,oEAAmD,CAAA;IACvD,CAAC,EAVW,aAAa,GAAb,iCAAa,KAAb,iCAAa,QAUxB;IACD;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,kCAAc,KAAd,kCAAc,QAGzB;AACL,CAAC,EAtBgB,mBAAmB,mCAAnB,mBAAmB,QAsBnC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { ConditionResultDto } from './ConditionResultDto';
|
|
2
|
+
export type RuleMatchDto = {
|
|
3
|
+
id: string;
|
|
4
|
+
version: number;
|
|
5
|
+
ruleName: string;
|
|
6
|
+
/**
|
|
7
|
+
* Rule decision: FREEZE if rule has HALT_TRANSACTION action, otherwise ALLOW
|
|
8
|
+
*/
|
|
9
|
+
decision: RuleMatchDto.decision;
|
|
10
|
+
actions: Array<Record<string, any>>;
|
|
11
|
+
/**
|
|
12
|
+
* All facts used in evaluation
|
|
13
|
+
*/
|
|
14
|
+
explain: Record<string, any>;
|
|
15
|
+
/**
|
|
16
|
+
* Detailed information about which conditions triggered the rule
|
|
17
|
+
*/
|
|
18
|
+
conditionResults?: Array<ConditionResultDto>;
|
|
19
|
+
};
|
|
20
|
+
export declare namespace RuleMatchDto {
|
|
21
|
+
/**
|
|
22
|
+
* Rule decision: FREEZE if rule has HALT_TRANSACTION action, otherwise ALLOW
|
|
23
|
+
*/
|
|
24
|
+
enum decision {
|
|
25
|
+
FREEZE = "FREEZE",
|
|
26
|
+
ALLOW = "ALLOW"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RuleMatchDto = void 0;
|
|
4
|
+
var RuleMatchDto;
|
|
5
|
+
(function (RuleMatchDto) {
|
|
6
|
+
/**
|
|
7
|
+
* Rule decision: FREEZE if rule has HALT_TRANSACTION action, otherwise ALLOW
|
|
8
|
+
*/
|
|
9
|
+
let decision;
|
|
10
|
+
(function (decision) {
|
|
11
|
+
decision["FREEZE"] = "FREEZE";
|
|
12
|
+
decision["ALLOW"] = "ALLOW";
|
|
13
|
+
})(decision = RuleMatchDto.decision || (RuleMatchDto.decision = {}));
|
|
14
|
+
})(RuleMatchDto || (exports.RuleMatchDto = RuleMatchDto = {}));
|
|
15
|
+
//# sourceMappingURL=RuleMatchDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RuleMatchDto.js","sourceRoot":"","sources":["../../models/RuleMatchDto.ts"],"names":[],"mappings":";;;AAuBA,IAAiB,YAAY,CAQ5B;AARD,WAAiB,YAAY;IACzB;;OAEG;IACH,IAAY,QAGX;IAHD,WAAY,QAAQ;QAChB,6BAAiB,CAAA;QACjB,2BAAe,CAAA;IACnB,CAAC,EAHW,QAAQ,GAAR,qBAAQ,KAAR,qBAAQ,QAGnB;AACL,CAAC,EARgB,YAAY,4BAAZ,YAAY,QAQ5B"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type RuleResponseDto = {
|
|
2
|
+
id: string;
|
|
3
|
+
version: number;
|
|
4
|
+
status: RuleResponseDto.status;
|
|
5
|
+
name: string;
|
|
6
|
+
description?: string | null;
|
|
7
|
+
actions: Array<Record<string, any>>;
|
|
8
|
+
jreRule: Record<string, any>;
|
|
9
|
+
createdBy: string;
|
|
10
|
+
createdAt: string;
|
|
11
|
+
};
|
|
12
|
+
export declare namespace RuleResponseDto {
|
|
13
|
+
enum status {
|
|
14
|
+
DRAFT = "draft",
|
|
15
|
+
ACTIVE = "active",
|
|
16
|
+
DISABLED = "disabled"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RuleResponseDto = void 0;
|
|
4
|
+
var RuleResponseDto;
|
|
5
|
+
(function (RuleResponseDto) {
|
|
6
|
+
let status;
|
|
7
|
+
(function (status) {
|
|
8
|
+
status["DRAFT"] = "draft";
|
|
9
|
+
status["ACTIVE"] = "active";
|
|
10
|
+
status["DISABLED"] = "disabled";
|
|
11
|
+
})(status = RuleResponseDto.status || (RuleResponseDto.status = {}));
|
|
12
|
+
})(RuleResponseDto || (exports.RuleResponseDto = RuleResponseDto = {}));
|
|
13
|
+
//# sourceMappingURL=RuleResponseDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RuleResponseDto.js","sourceRoot":"","sources":["../../models/RuleResponseDto.ts"],"names":[],"mappings":";;;AAeA,IAAiB,eAAe,CAM/B;AAND,WAAiB,eAAe;IAC5B,IAAY,MAIX;IAJD,WAAY,MAAM;QACd,yBAAe,CAAA;QACf,2BAAiB,CAAA;QACjB,+BAAqB,CAAA;IACzB,CAAC,EAJW,MAAM,GAAN,sBAAM,KAAN,sBAAM,QAIjB;AACL,CAAC,EANgB,eAAe,+BAAf,eAAe,QAM/B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type RuleTemplateResponseDto = {
|
|
2
|
+
id: string;
|
|
3
|
+
templateKey: string;
|
|
4
|
+
name: string;
|
|
5
|
+
description: string | null;
|
|
6
|
+
products: Array<string>;
|
|
7
|
+
typologies: Array<string>;
|
|
8
|
+
conditions: Record<string, any>;
|
|
9
|
+
actions: Array<Record<string, any>>;
|
|
10
|
+
createdAt: string;
|
|
11
|
+
updatedAt: string;
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RuleTemplateResponseDto.js","sourceRoot":"","sources":["../../models/RuleTemplateResponseDto.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export type TransactionCustomFieldDto = {
|
|
2
|
+
/**
|
|
3
|
+
* The label of the custom field
|
|
4
|
+
*/
|
|
5
|
+
label: string;
|
|
6
|
+
/**
|
|
7
|
+
* Value of the custom field. It can be a string, number, boolean, object (JSON), or array of objects. If you'd like to submit a country code, use the ISO 3166-1 alpha-2 code. If you'd like to submit a date, use the ISO 8601 format.
|
|
8
|
+
*/
|
|
9
|
+
value: (string | number | boolean | Record<string, any>);
|
|
10
|
+
/**
|
|
11
|
+
* Description of the custom field
|
|
12
|
+
*/
|
|
13
|
+
description?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Array of possible values for this custom field (enum). Only applies to string and number values.
|
|
16
|
+
*/
|
|
17
|
+
possibleValues?: Array<string>;
|
|
18
|
+
/**
|
|
19
|
+
* Whether this custom field is immutable and cannot be changed after creation
|
|
20
|
+
*/
|
|
21
|
+
immutable?: boolean;
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransactionCustomFieldDto.js","sourceRoot":"","sources":["../../models/TransactionCustomFieldDto.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { TransactionAmountDto } from './TransactionAmountDto';
|
|
2
|
+
import type { TransactionCustomFieldDto } from './TransactionCustomFieldDto';
|
|
2
3
|
import type { TransactionIntegrationsDto } from './TransactionIntegrationsDto';
|
|
3
4
|
import type { TransactionSourceOrDestinationDto } from './TransactionSourceOrDestinationDto';
|
|
4
5
|
import type { TransactionStatusDto } from './TransactionStatusDto';
|
|
@@ -66,7 +67,7 @@ export type TransactionDto = {
|
|
|
66
67
|
/**
|
|
67
68
|
* Custom fields data
|
|
68
69
|
*/
|
|
69
|
-
customFields?: Record<string,
|
|
70
|
+
customFields?: Record<string, TransactionCustomFieldDto>;
|
|
70
71
|
/**
|
|
71
72
|
* Integrations data for the transaction
|
|
72
73
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionDto.js","sourceRoot":"","sources":["../../models/TransactionDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"TransactionDto.js","sourceRoot":"","sources":["../../models/TransactionDto.ts"],"names":[],"mappings":";;;AA+EA,IAAiB,cAAc,CAgB9B;AAhBD,WAAiB,cAAc;IAC3B;;OAEG;IACH,IAAY,IAIX;IAJD,WAAY,IAAI;QACZ,2BAAmB,CAAA;QACnB,6BAAqB,CAAA;QACrB,uBAAe,CAAA;IACnB,CAAC,EAJW,IAAI,GAAJ,mBAAI,KAAJ,mBAAI,QAIf;IACD;;OAEG;IACH,IAAY,WAGX;IAHD,WAAY,WAAW;QACnB,0BAAW,CAAA;QACX,4BAAa,CAAA;IACjB,CAAC,EAHW,WAAW,GAAX,0BAAW,KAAX,0BAAW,QAGtB;AACL,CAAC,EAhBgB,cAAc,8BAAd,cAAc,QAgB9B"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AlertCustomFieldDataDto } from './AlertCustomFieldDataDto';
|
|
1
2
|
import type { AlertDecisionDto } from './AlertDecisionDto';
|
|
2
3
|
import type { AlertSourceDto } from './AlertSourceDto';
|
|
3
4
|
export type UpdateAlertDto = {
|
|
@@ -36,7 +37,7 @@ export type UpdateAlertDto = {
|
|
|
36
37
|
/**
|
|
37
38
|
* Custom fields data
|
|
38
39
|
*/
|
|
39
|
-
customFields?: Record<string,
|
|
40
|
+
customFields?: Record<string, AlertCustomFieldDataDto>;
|
|
40
41
|
/**
|
|
41
42
|
* List of client IDs associated with this alert (maximum 10). Replace the existing clients with the new ones.
|
|
42
43
|
*/
|
|
@@ -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":";;;AA6DA,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,3 +1,4 @@
|
|
|
1
|
+
import type { BankAccountCustomFieldDataDto } from './BankAccountCustomFieldDataDto';
|
|
1
2
|
import type { ClientBankAccountRelationDto } from './ClientBankAccountRelationDto';
|
|
2
3
|
import type { CreateOrUpdateRiskDto } from './CreateOrUpdateRiskDto';
|
|
3
4
|
export type UpdateBankAccountDto = {
|
|
@@ -44,7 +45,7 @@ export type UpdateBankAccountDto = {
|
|
|
44
45
|
/**
|
|
45
46
|
* Custom fields data
|
|
46
47
|
*/
|
|
47
|
-
customFields?: Record<string,
|
|
48
|
+
customFields?: Record<string, BankAccountCustomFieldDataDto>;
|
|
48
49
|
/**
|
|
49
50
|
* List of clients associated with the bank account (maximum 50)
|
|
50
51
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateBankAccountDto.js","sourceRoot":"","sources":["../../models/UpdateBankAccountDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"UpdateBankAccountDto.js","sourceRoot":"","sources":["../../models/UpdateBankAccountDto.ts"],"names":[],"mappings":";;;AA6DA,IAAiB,oBAAoB,CASpC;AATD,WAAiB,oBAAoB;IACjC;;OAEG;IACH,IAAY,MAIX;IAJD,WAAY,MAAM;QACd,2BAAiB,CAAA;QACjB,+BAAqB,CAAA;QACrB,2BAAiB,CAAA;IACrB,CAAC,EAJW,MAAM,GAAN,2BAAM,KAAN,2BAAM,QAIjB;AACL,CAAC,EATgB,oBAAoB,oCAApB,oBAAoB,QASpC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BlockchainWalletCustomFieldDataDto } from './BlockchainWalletCustomFieldDataDto';
|
|
1
2
|
import type { BlockchainWalletIntegrationsDto } from './BlockchainWalletIntegrationsDto';
|
|
2
3
|
import type { ClientBlockchainWalletRelationDto } from './ClientBlockchainWalletRelationDto';
|
|
3
4
|
import type { CreateOrUpdateRiskDto } from './CreateOrUpdateRiskDto';
|
|
@@ -17,7 +18,7 @@ export type UpdateBlockchainWalletDto = {
|
|
|
17
18
|
/**
|
|
18
19
|
* Custom fields data
|
|
19
20
|
*/
|
|
20
|
-
customFields?: Record<string,
|
|
21
|
+
customFields?: Record<string, BlockchainWalletCustomFieldDataDto>;
|
|
21
22
|
/**
|
|
22
23
|
* List of clients associated with the blockchain wallet (maximum 50)
|
|
23
24
|
*/
|
|
@@ -2,6 +2,7 @@ import type { CorporateClientAddressDto } from './CorporateClientAddressDto';
|
|
|
2
2
|
import type { CorporateClientAdverseMediaDto } from './CorporateClientAdverseMediaDto';
|
|
3
3
|
import type { CorporateClientApplicationDto } from './CorporateClientApplicationDto';
|
|
4
4
|
import type { CorporateClientBusinessDto } from './CorporateClientBusinessDto';
|
|
5
|
+
import type { CorporateClientCustomFieldDataDto } from './CorporateClientCustomFieldDataDto';
|
|
5
6
|
import type { CorporateClientGeneralDto } from './CorporateClientGeneralDto';
|
|
6
7
|
import type { CorporateClientIntegrationsDto } from './CorporateClientIntegrationsDto';
|
|
7
8
|
import type { CorporateClientPEPDto } from './CorporateClientPEPDto';
|
|
@@ -60,7 +61,7 @@ export type UpdateCorporateClientDto = {
|
|
|
60
61
|
/**
|
|
61
62
|
* Custom fields data
|
|
62
63
|
*/
|
|
63
|
-
customFields?: Record<string,
|
|
64
|
+
customFields?: Record<string, CorporateClientCustomFieldDataDto>;
|
|
64
65
|
/**
|
|
65
66
|
* Tags to add to the corporate client (maximum 50)
|
|
66
67
|
*/
|