@corsa-labs/sdk 4.17.0 → 4.19.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 +146 -0
- package/dist/models/ConditionDto.js +81 -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/FactPathDto.d.ts +26 -0
- package/dist/models/FactPathDto.js +17 -0
- package/dist/models/FactPathDto.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/ParticipantDto.d.ts +28 -0
- package/dist/models/ParticipantDto.js +25 -0
- package/dist/models/ParticipantDto.js.map +1 -0
- 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,40 @@
|
|
|
1
|
+
export type CorporateClientCustomFieldDataDto = {
|
|
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: CorporateClientCustomFieldDataDto.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 CorporateClientCustomFieldDataDto {
|
|
28
|
+
/**
|
|
29
|
+
* Category of the custom field
|
|
30
|
+
*/
|
|
31
|
+
enum category {
|
|
32
|
+
GENERAL = "GENERAL",
|
|
33
|
+
ADDRESS = "ADDRESS",
|
|
34
|
+
BUSINESS = "BUSINESS",
|
|
35
|
+
FINANCIAL = "FINANCIAL",
|
|
36
|
+
APPLICATION = "APPLICATION",
|
|
37
|
+
VERIFICATION = "VERIFICATION",
|
|
38
|
+
OTHER = "OTHER"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -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,26 @@
|
|
|
1
|
+
import type { ParticipantDto } from './ParticipantDto';
|
|
2
|
+
export type FactPathDto = {
|
|
3
|
+
/**
|
|
4
|
+
* Root entity type
|
|
5
|
+
*/
|
|
6
|
+
entity: FactPathDto.entity;
|
|
7
|
+
/**
|
|
8
|
+
* Property name
|
|
9
|
+
*/
|
|
10
|
+
property: string;
|
|
11
|
+
/**
|
|
12
|
+
* Optional participant (for relationship-based facts)
|
|
13
|
+
*/
|
|
14
|
+
participant?: ParticipantDto;
|
|
15
|
+
};
|
|
16
|
+
export declare namespace FactPathDto {
|
|
17
|
+
/**
|
|
18
|
+
* Root entity type
|
|
19
|
+
*/
|
|
20
|
+
enum entity {
|
|
21
|
+
TXN = "txn",
|
|
22
|
+
CUSTOMER = "customer",
|
|
23
|
+
WALLET = "wallet",
|
|
24
|
+
BANK_ACCOUNT = "bankAccount"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FactPathDto = void 0;
|
|
4
|
+
var FactPathDto;
|
|
5
|
+
(function (FactPathDto) {
|
|
6
|
+
/**
|
|
7
|
+
* Root entity type
|
|
8
|
+
*/
|
|
9
|
+
let entity;
|
|
10
|
+
(function (entity) {
|
|
11
|
+
entity["TXN"] = "txn";
|
|
12
|
+
entity["CUSTOMER"] = "customer";
|
|
13
|
+
entity["WALLET"] = "wallet";
|
|
14
|
+
entity["BANK_ACCOUNT"] = "bankAccount";
|
|
15
|
+
})(entity = FactPathDto.entity || (FactPathDto.entity = {}));
|
|
16
|
+
})(FactPathDto || (exports.FactPathDto = FactPathDto = {}));
|
|
17
|
+
//# sourceMappingURL=FactPathDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FactPathDto.js","sourceRoot":"","sources":["../../models/FactPathDto.ts"],"names":[],"mappings":";;;AAmBA,IAAiB,WAAW,CAU3B;AAVD,WAAiB,WAAW;IACxB;;OAEG;IACH,IAAY,MAKX;IALD,WAAY,MAAM;QACd,qBAAW,CAAA;QACX,+BAAqB,CAAA;QACrB,2BAAiB,CAAA;QACjB,sCAA4B,CAAA;IAChC,CAAC,EALW,MAAM,GAAN,kBAAM,KAAN,kBAAM,QAKjB;AACL,CAAC,EAVgB,WAAW,2BAAX,WAAW,QAU3B"}
|
|
@@ -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
|
+
export type ParticipantDto = {
|
|
2
|
+
/**
|
|
3
|
+
* Participant role in transaction
|
|
4
|
+
*/
|
|
5
|
+
role: ParticipantDto.role;
|
|
6
|
+
/**
|
|
7
|
+
* Type of participant
|
|
8
|
+
*/
|
|
9
|
+
kind: ParticipantDto.kind;
|
|
10
|
+
};
|
|
11
|
+
export declare namespace ParticipantDto {
|
|
12
|
+
/**
|
|
13
|
+
* Participant role in transaction
|
|
14
|
+
*/
|
|
15
|
+
enum role {
|
|
16
|
+
SOURCE = "source",
|
|
17
|
+
DESTINATION = "destination",
|
|
18
|
+
ANY = "any"
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Type of participant
|
|
22
|
+
*/
|
|
23
|
+
enum kind {
|
|
24
|
+
CLIENT = "Client",
|
|
25
|
+
WALLET = "Wallet",
|
|
26
|
+
BANK_ACCOUNT = "BankAccount"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ParticipantDto = void 0;
|
|
4
|
+
var ParticipantDto;
|
|
5
|
+
(function (ParticipantDto) {
|
|
6
|
+
/**
|
|
7
|
+
* Participant role in transaction
|
|
8
|
+
*/
|
|
9
|
+
let role;
|
|
10
|
+
(function (role) {
|
|
11
|
+
role["SOURCE"] = "source";
|
|
12
|
+
role["DESTINATION"] = "destination";
|
|
13
|
+
role["ANY"] = "any";
|
|
14
|
+
})(role = ParticipantDto.role || (ParticipantDto.role = {}));
|
|
15
|
+
/**
|
|
16
|
+
* Type of participant
|
|
17
|
+
*/
|
|
18
|
+
let kind;
|
|
19
|
+
(function (kind) {
|
|
20
|
+
kind["CLIENT"] = "Client";
|
|
21
|
+
kind["WALLET"] = "Wallet";
|
|
22
|
+
kind["BANK_ACCOUNT"] = "BankAccount";
|
|
23
|
+
})(kind = ParticipantDto.kind || (ParticipantDto.kind = {}));
|
|
24
|
+
})(ParticipantDto || (exports.ParticipantDto = ParticipantDto = {}));
|
|
25
|
+
//# sourceMappingURL=ParticipantDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ParticipantDto.js","sourceRoot":"","sources":["../../models/ParticipantDto.ts"],"names":[],"mappings":";;;AAcA,IAAiB,cAAc,CAiB9B;AAjBD,WAAiB,cAAc;IAC3B;;OAEG;IACH,IAAY,IAIX;IAJD,WAAY,IAAI;QACZ,yBAAiB,CAAA;QACjB,mCAA2B,CAAA;QAC3B,mBAAW,CAAA;IACf,CAAC,EAJW,IAAI,GAAJ,mBAAI,KAAJ,mBAAI,QAIf;IACD;;OAEG;IACH,IAAY,IAIX;IAJD,WAAY,IAAI;QACZ,yBAAiB,CAAA;QACjB,yBAAiB,CAAA;QACjB,oCAA4B,CAAA;IAChC,CAAC,EAJW,IAAI,GAAJ,mBAAI,KAAJ,mBAAI,QAIf;AACL,CAAC,EAjBgB,cAAc,8BAAd,cAAc,QAiB9B"}
|
|
@@ -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
|
+
};
|