@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
|
@@ -8,8 +8,11 @@ import { CasesService } from './services/CasesService';
|
|
|
8
8
|
import { ChecklistsService } from './services/ChecklistsService';
|
|
9
9
|
import { ClientsService } from './services/ClientsService';
|
|
10
10
|
import { DepositsService } from './services/DepositsService';
|
|
11
|
+
import { EvaluationService } from './services/EvaluationService';
|
|
11
12
|
import { MembersService } from './services/MembersService';
|
|
12
13
|
import { PlatformService } from './services/PlatformService';
|
|
14
|
+
import { RulesService } from './services/RulesService';
|
|
15
|
+
import { RuleTemplatesService } from './services/RuleTemplatesService';
|
|
13
16
|
import { TradesService } from './services/TradesService';
|
|
14
17
|
import { TransactionsService } from './services/TransactionsService';
|
|
15
18
|
import { WithdrawalsService } from './services/WithdrawalsService';
|
|
@@ -23,8 +26,11 @@ export declare class ComplianceClient {
|
|
|
23
26
|
readonly checklists: ChecklistsService;
|
|
24
27
|
readonly clients: ClientsService;
|
|
25
28
|
readonly deposits: DepositsService;
|
|
29
|
+
readonly evaluation: EvaluationService;
|
|
26
30
|
readonly members: MembersService;
|
|
27
31
|
readonly platform: PlatformService;
|
|
32
|
+
readonly rules: RulesService;
|
|
33
|
+
readonly ruleTemplates: RuleTemplatesService;
|
|
28
34
|
readonly trades: TradesService;
|
|
29
35
|
readonly transactions: TransactionsService;
|
|
30
36
|
readonly withdrawals: WithdrawalsService;
|
package/dist/ComplianceClient.js
CHANGED
|
@@ -10,8 +10,11 @@ const CasesService_1 = require("./services/CasesService");
|
|
|
10
10
|
const ChecklistsService_1 = require("./services/ChecklistsService");
|
|
11
11
|
const ClientsService_1 = require("./services/ClientsService");
|
|
12
12
|
const DepositsService_1 = require("./services/DepositsService");
|
|
13
|
+
const EvaluationService_1 = require("./services/EvaluationService");
|
|
13
14
|
const MembersService_1 = require("./services/MembersService");
|
|
14
15
|
const PlatformService_1 = require("./services/PlatformService");
|
|
16
|
+
const RulesService_1 = require("./services/RulesService");
|
|
17
|
+
const RuleTemplatesService_1 = require("./services/RuleTemplatesService");
|
|
15
18
|
const TradesService_1 = require("./services/TradesService");
|
|
16
19
|
const TransactionsService_1 = require("./services/TransactionsService");
|
|
17
20
|
const WithdrawalsService_1 = require("./services/WithdrawalsService");
|
|
@@ -24,8 +27,11 @@ class ComplianceClient {
|
|
|
24
27
|
checklists;
|
|
25
28
|
clients;
|
|
26
29
|
deposits;
|
|
30
|
+
evaluation;
|
|
27
31
|
members;
|
|
28
32
|
platform;
|
|
33
|
+
rules;
|
|
34
|
+
ruleTemplates;
|
|
29
35
|
trades;
|
|
30
36
|
transactions;
|
|
31
37
|
withdrawals;
|
|
@@ -50,8 +56,11 @@ class ComplianceClient {
|
|
|
50
56
|
this.checklists = new ChecklistsService_1.ChecklistsService(this.request);
|
|
51
57
|
this.clients = new ClientsService_1.ClientsService(this.request);
|
|
52
58
|
this.deposits = new DepositsService_1.DepositsService(this.request);
|
|
59
|
+
this.evaluation = new EvaluationService_1.EvaluationService(this.request);
|
|
53
60
|
this.members = new MembersService_1.MembersService(this.request);
|
|
54
61
|
this.platform = new PlatformService_1.PlatformService(this.request);
|
|
62
|
+
this.rules = new RulesService_1.RulesService(this.request);
|
|
63
|
+
this.ruleTemplates = new RuleTemplatesService_1.RuleTemplatesService(this.request);
|
|
55
64
|
this.trades = new TradesService_1.TradesService(this.request);
|
|
56
65
|
this.transactions = new TransactionsService_1.TransactionsService(this.request);
|
|
57
66
|
this.withdrawals = new WithdrawalsService_1.WithdrawalsService(this.request);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComplianceClient.js","sourceRoot":"","sources":["../ComplianceClient.ts"],"names":[],"mappings":";;;AAMA,8DAA2D;AAC3D,4DAAyD;AACzD,sEAAmE;AACnE,wEAAqE;AACrE,kFAA+E;AAC/E,0DAAuD;AACvD,oEAAiE;AACjE,8DAA2D;AAC3D,gEAA6D;AAC7D,8DAA2D;AAC3D,gEAA6D;AAC7D,4DAAyD;AACzD,wEAAqE;AACrE,sEAAmE;AAEnE,MAAa,gBAAgB;IACT,MAAM,CAAgB;IACtB,WAAW,CAAqB;IAChC,YAAY,CAAsB;IAClC,iBAAiB,CAA2B;IAC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O,GAAG,IAAI,+BAAc,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAChD,IAAI,CAAC,QAAQ,GAAG,IAAI,iCAAe,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAClD,IAAI,CAAC,KAAK,GAAG,IAAI,2BAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5C,IAAI,CAAC,aAAa,GAAG,IAAI,2CAAoB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5D,IAAI,CAAC,MAAM,GAAG,IAAI,6BAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9C,IAAI,CAAC,YAAY,GAAG,IAAI,yCAAmB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC1D,IAAI,CAAC,WAAW,GAAG,IAAI,uCAAkB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC5D,CAAC;CACJ;AA/CD,4CA+CC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type ActionConfigDto = {
|
|
2
|
+
/**
|
|
3
|
+
* Action type
|
|
4
|
+
*/
|
|
5
|
+
type: ActionConfigDto.type;
|
|
6
|
+
/**
|
|
7
|
+
* Action-specific configuration
|
|
8
|
+
*/
|
|
9
|
+
config: Record<string, any>;
|
|
10
|
+
};
|
|
11
|
+
export declare namespace ActionConfigDto {
|
|
12
|
+
/**
|
|
13
|
+
* Action type
|
|
14
|
+
*/
|
|
15
|
+
enum type {
|
|
16
|
+
CREATE_ALERT = "CREATE_ALERT",
|
|
17
|
+
HALT_TRANSACTION = "HALT_TRANSACTION"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ActionConfigDto = void 0;
|
|
4
|
+
var ActionConfigDto;
|
|
5
|
+
(function (ActionConfigDto) {
|
|
6
|
+
/**
|
|
7
|
+
* Action type
|
|
8
|
+
*/
|
|
9
|
+
let type;
|
|
10
|
+
(function (type) {
|
|
11
|
+
type["CREATE_ALERT"] = "CREATE_ALERT";
|
|
12
|
+
type["HALT_TRANSACTION"] = "HALT_TRANSACTION";
|
|
13
|
+
})(type = ActionConfigDto.type || (ActionConfigDto.type = {}));
|
|
14
|
+
})(ActionConfigDto || (exports.ActionConfigDto = ActionConfigDto = {}));
|
|
15
|
+
//# sourceMappingURL=ActionConfigDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionConfigDto.js","sourceRoot":"","sources":["../../models/ActionConfigDto.ts"],"names":[],"mappings":";;;AAcA,IAAiB,eAAe,CAQ/B;AARD,WAAiB,eAAe;IAC5B;;OAEG;IACH,IAAY,IAGX;IAHD,WAAY,IAAI;QACZ,qCAA6B,CAAA;QAC7B,6CAAqC,CAAA;IACzC,CAAC,EAHW,IAAI,GAAJ,oBAAI,KAAJ,oBAAI,QAGf;AACL,CAAC,EARgB,eAAe,+BAAf,eAAe,QAQ/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActivateRuleDto.js","sourceRoot":"","sources":["../../models/ActivateRuleDto.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export type AggregationFilterDto = {
|
|
2
|
+
property?: string;
|
|
3
|
+
operator?: AggregationFilterDto.operator;
|
|
4
|
+
value?: Record<string, any>;
|
|
5
|
+
};
|
|
6
|
+
export declare namespace AggregationFilterDto {
|
|
7
|
+
enum operator {
|
|
8
|
+
EQUAL = "equal",
|
|
9
|
+
NOT_EQUAL = "notEqual",
|
|
10
|
+
GREATER_THAN = "greaterThan",
|
|
11
|
+
GREATER_THAN_INCLUSIVE = "greaterThanInclusive",
|
|
12
|
+
LESS_THAN = "lessThan",
|
|
13
|
+
LESS_THAN_INCLUSIVE = "lessThanInclusive",
|
|
14
|
+
IN = "in",
|
|
15
|
+
NOT_IN = "notIn",
|
|
16
|
+
CONTAINS = "contains",
|
|
17
|
+
DOES_NOT_CONTAIN = "doesNotContain",
|
|
18
|
+
BETWEEN = "between"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AggregationFilterDto = void 0;
|
|
4
|
+
var AggregationFilterDto;
|
|
5
|
+
(function (AggregationFilterDto) {
|
|
6
|
+
let operator;
|
|
7
|
+
(function (operator) {
|
|
8
|
+
operator["EQUAL"] = "equal";
|
|
9
|
+
operator["NOT_EQUAL"] = "notEqual";
|
|
10
|
+
operator["GREATER_THAN"] = "greaterThan";
|
|
11
|
+
operator["GREATER_THAN_INCLUSIVE"] = "greaterThanInclusive";
|
|
12
|
+
operator["LESS_THAN"] = "lessThan";
|
|
13
|
+
operator["LESS_THAN_INCLUSIVE"] = "lessThanInclusive";
|
|
14
|
+
operator["IN"] = "in";
|
|
15
|
+
operator["NOT_IN"] = "notIn";
|
|
16
|
+
operator["CONTAINS"] = "contains";
|
|
17
|
+
operator["DOES_NOT_CONTAIN"] = "doesNotContain";
|
|
18
|
+
operator["BETWEEN"] = "between";
|
|
19
|
+
})(operator = AggregationFilterDto.operator || (AggregationFilterDto.operator = {}));
|
|
20
|
+
})(AggregationFilterDto || (exports.AggregationFilterDto = AggregationFilterDto = {}));
|
|
21
|
+
//# sourceMappingURL=AggregationFilterDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AggregationFilterDto.js","sourceRoot":"","sources":["../../models/AggregationFilterDto.ts"],"names":[],"mappings":";;;AASA,IAAiB,oBAAoB,CAcpC;AAdD,WAAiB,oBAAoB;IACjC,IAAY,QAYX;IAZD,WAAY,QAAQ;QAChB,2BAAe,CAAA;QACf,kCAAsB,CAAA;QACtB,wCAA4B,CAAA;QAC5B,2DAA+C,CAAA;QAC/C,kCAAsB,CAAA;QACtB,qDAAyC,CAAA;QACzC,qBAAS,CAAA;QACT,4BAAgB,CAAA;QAChB,iCAAqB,CAAA;QACrB,+CAAmC,CAAA;QACnC,+BAAmB,CAAA;IACvB,CAAC,EAZW,QAAQ,GAAR,6BAAQ,KAAR,6BAAQ,QAYnB;AACL,CAAC,EAdgB,oBAAoB,oCAApB,oBAAoB,QAcpC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export type AlertCustomFieldDataDto = {
|
|
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":"AlertCustomFieldDataDto.js","sourceRoot":"","sources":["../../models/AlertCustomFieldDataDto.ts"],"names":[],"mappings":""}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AlertCustomFieldDataDto } from './AlertCustomFieldDataDto';
|
|
1
2
|
import type { AlertSourceDto } from './AlertSourceDto';
|
|
2
3
|
import type { AlertStatusData } from './AlertStatusData';
|
|
3
4
|
import type { AssociatedCaseDto } from './AssociatedCaseDto';
|
|
@@ -47,7 +48,7 @@ export type AlertDto = {
|
|
|
47
48
|
/**
|
|
48
49
|
* Custom fields data
|
|
49
50
|
*/
|
|
50
|
-
customFields?: Record<string,
|
|
51
|
+
customFields?: Record<string, AlertCustomFieldDataDto>;
|
|
51
52
|
/**
|
|
52
53
|
* The status history of the alert
|
|
53
54
|
*/
|
|
@@ -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":";;;AAwFA,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,22 @@
|
|
|
1
|
+
export type BankAccountCustomFieldDataDto = {
|
|
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":"BankAccountCustomFieldDataDto.js","sourceRoot":"","sources":["../../models/BankAccountCustomFieldDataDto.ts"],"names":[],"mappings":""}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BankAccountCustomFieldDataDto } from './BankAccountCustomFieldDataDto';
|
|
1
2
|
import type { ClientAssociatedToAccountDto } from './ClientAssociatedToAccountDto';
|
|
2
3
|
import type { RiskDto } from './RiskDto';
|
|
3
4
|
export type BankAccountDto = {
|
|
@@ -68,5 +69,5 @@ export type BankAccountDto = {
|
|
|
68
69
|
/**
|
|
69
70
|
* Custom fields data
|
|
70
71
|
*/
|
|
71
|
-
customFields?: Record<string,
|
|
72
|
+
customFields?: Record<string, BankAccountCustomFieldDataDto>;
|
|
72
73
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export type BlockchainWalletCustomFieldDataDto = {
|
|
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":"BlockchainWalletCustomFieldDataDto.js","sourceRoot":"","sources":["../../models/BlockchainWalletCustomFieldDataDto.ts"],"names":[],"mappings":""}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BlockchainWalletCustomFieldDataDto } from './BlockchainWalletCustomFieldDataDto';
|
|
1
2
|
import type { BlockchainWalletIntegrationsDto } from './BlockchainWalletIntegrationsDto';
|
|
2
3
|
import type { ClientAssociatedToBlockchainWalletDto } from './ClientAssociatedToBlockchainWalletDto';
|
|
3
4
|
import type { RiskDto } from './RiskDto';
|
|
@@ -45,7 +46,7 @@ export type BlockchainWalletDto = {
|
|
|
45
46
|
/**
|
|
46
47
|
* Custom fields data
|
|
47
48
|
*/
|
|
48
|
-
customFields?: Record<string,
|
|
49
|
+
customFields?: Record<string, BlockchainWalletCustomFieldDataDto>;
|
|
49
50
|
/**
|
|
50
51
|
* Integrations data for the blockchain wallet
|
|
51
52
|
*/
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import type { AggregationFilterDto } from './AggregationFilterDto';
|
|
2
|
+
export type ConditionDto = {
|
|
3
|
+
/**
|
|
4
|
+
* Label for this condition or condition group
|
|
5
|
+
*/
|
|
6
|
+
label?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Primary entity for this condition
|
|
9
|
+
*/
|
|
10
|
+
entity?: ConditionDto.entity;
|
|
11
|
+
/**
|
|
12
|
+
* The client's relationship to the transaction (sender, receiver, or both)
|
|
13
|
+
*/
|
|
14
|
+
entityRelationship?: ConditionDto.entityRelationship;
|
|
15
|
+
/**
|
|
16
|
+
* Entity property referenced by this condition
|
|
17
|
+
*/
|
|
18
|
+
property?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Aggregation property (for aggregation conditions)
|
|
21
|
+
*/
|
|
22
|
+
aggregationProperty?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Aggregation operator
|
|
25
|
+
*/
|
|
26
|
+
aggregationOperator?: ConditionDto.aggregationOperator;
|
|
27
|
+
/**
|
|
28
|
+
* Aggregation filters
|
|
29
|
+
*/
|
|
30
|
+
aggregationFilters?: Array<AggregationFilterDto>;
|
|
31
|
+
/**
|
|
32
|
+
* Aggregation time window type
|
|
33
|
+
*/
|
|
34
|
+
aggregationTimeType?: ConditionDto.aggregationTimeType;
|
|
35
|
+
/**
|
|
36
|
+
* Aggregation time window value
|
|
37
|
+
*/
|
|
38
|
+
aggregationTimeValue?: Record<string, any>;
|
|
39
|
+
/**
|
|
40
|
+
* Aggregation time period (when using IN_THE_LAST)
|
|
41
|
+
*/
|
|
42
|
+
aggregationTimePeriod?: ConditionDto.aggregationTimePeriod;
|
|
43
|
+
/**
|
|
44
|
+
* Resolved aggregation fact definition (internal use)
|
|
45
|
+
*/
|
|
46
|
+
aggregation?: Record<string, any>;
|
|
47
|
+
/**
|
|
48
|
+
* Fact name to evaluate
|
|
49
|
+
*/
|
|
50
|
+
fact?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Comparison operator
|
|
53
|
+
*/
|
|
54
|
+
operator?: ConditionDto.operator;
|
|
55
|
+
/**
|
|
56
|
+
* Value to compare against
|
|
57
|
+
*/
|
|
58
|
+
value?: Record<string, any>;
|
|
59
|
+
/**
|
|
60
|
+
* JSONPath for nested object properties
|
|
61
|
+
*/
|
|
62
|
+
path?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Nested ALL conditions (AND logic)
|
|
65
|
+
*/
|
|
66
|
+
all?: Array<Record<string, any>>;
|
|
67
|
+
/**
|
|
68
|
+
* Nested ANY conditions (OR logic)
|
|
69
|
+
*/
|
|
70
|
+
any?: Array<Record<string, any>>;
|
|
71
|
+
};
|
|
72
|
+
export declare namespace ConditionDto {
|
|
73
|
+
/**
|
|
74
|
+
* Primary entity for this condition
|
|
75
|
+
*/
|
|
76
|
+
enum entity {
|
|
77
|
+
TRANSACTION = "transaction",
|
|
78
|
+
CLIENT = "client"
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* The client's relationship to the transaction (sender, receiver, or both)
|
|
82
|
+
*/
|
|
83
|
+
enum entityRelationship {
|
|
84
|
+
ALL = "all",
|
|
85
|
+
SENDER = "sender",
|
|
86
|
+
RECEIVER = "receiver"
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Aggregation operator
|
|
90
|
+
*/
|
|
91
|
+
enum aggregationOperator {
|
|
92
|
+
SUM = "sum",
|
|
93
|
+
COUNT = "count",
|
|
94
|
+
AVG = "avg",
|
|
95
|
+
MIN = "min",
|
|
96
|
+
MAX = "max"
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Aggregation time window type
|
|
100
|
+
*/
|
|
101
|
+
enum aggregationTimeType {
|
|
102
|
+
ALL_TIME = "all_time",
|
|
103
|
+
IN_THE_LAST = "in_the_last",
|
|
104
|
+
AFTER = "after",
|
|
105
|
+
BEFORE = "before",
|
|
106
|
+
BETWEEN = "between"
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Aggregation time period (when using IN_THE_LAST)
|
|
110
|
+
*/
|
|
111
|
+
enum aggregationTimePeriod {
|
|
112
|
+
DAYS = "days",
|
|
113
|
+
WEEKS = "weeks",
|
|
114
|
+
MONTHS = "months",
|
|
115
|
+
YEARS = "years"
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Comparison operator
|
|
119
|
+
*/
|
|
120
|
+
enum operator {
|
|
121
|
+
EQUAL = "equal",
|
|
122
|
+
NOT_EQUAL = "notEqual",
|
|
123
|
+
GREATER_THAN = "greaterThan",
|
|
124
|
+
GREATER_THAN_INCLUSIVE = "greaterThanInclusive",
|
|
125
|
+
LESS_THAN = "lessThan",
|
|
126
|
+
LESS_THAN_INCLUSIVE = "lessThanInclusive",
|
|
127
|
+
IN = "in",
|
|
128
|
+
NOT_IN = "notIn",
|
|
129
|
+
CONTAINS = "contains",
|
|
130
|
+
DOES_NOT_CONTAIN = "doesNotContain",
|
|
131
|
+
BETWEEN = "between"
|
|
132
|
+
}
|
|
133
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ConditionDto = void 0;
|
|
4
|
+
var ConditionDto;
|
|
5
|
+
(function (ConditionDto) {
|
|
6
|
+
/**
|
|
7
|
+
* Primary entity for this condition
|
|
8
|
+
*/
|
|
9
|
+
let entity;
|
|
10
|
+
(function (entity) {
|
|
11
|
+
entity["TRANSACTION"] = "transaction";
|
|
12
|
+
entity["CLIENT"] = "client";
|
|
13
|
+
})(entity = ConditionDto.entity || (ConditionDto.entity = {}));
|
|
14
|
+
/**
|
|
15
|
+
* The client's relationship to the transaction (sender, receiver, or both)
|
|
16
|
+
*/
|
|
17
|
+
let entityRelationship;
|
|
18
|
+
(function (entityRelationship) {
|
|
19
|
+
entityRelationship["ALL"] = "all";
|
|
20
|
+
entityRelationship["SENDER"] = "sender";
|
|
21
|
+
entityRelationship["RECEIVER"] = "receiver";
|
|
22
|
+
})(entityRelationship = ConditionDto.entityRelationship || (ConditionDto.entityRelationship = {}));
|
|
23
|
+
/**
|
|
24
|
+
* Aggregation operator
|
|
25
|
+
*/
|
|
26
|
+
let aggregationOperator;
|
|
27
|
+
(function (aggregationOperator) {
|
|
28
|
+
aggregationOperator["SUM"] = "sum";
|
|
29
|
+
aggregationOperator["COUNT"] = "count";
|
|
30
|
+
aggregationOperator["AVG"] = "avg";
|
|
31
|
+
aggregationOperator["MIN"] = "min";
|
|
32
|
+
aggregationOperator["MAX"] = "max";
|
|
33
|
+
})(aggregationOperator = ConditionDto.aggregationOperator || (ConditionDto.aggregationOperator = {}));
|
|
34
|
+
/**
|
|
35
|
+
* Aggregation time window type
|
|
36
|
+
*/
|
|
37
|
+
let aggregationTimeType;
|
|
38
|
+
(function (aggregationTimeType) {
|
|
39
|
+
aggregationTimeType["ALL_TIME"] = "all_time";
|
|
40
|
+
aggregationTimeType["IN_THE_LAST"] = "in_the_last";
|
|
41
|
+
aggregationTimeType["AFTER"] = "after";
|
|
42
|
+
aggregationTimeType["BEFORE"] = "before";
|
|
43
|
+
aggregationTimeType["BETWEEN"] = "between";
|
|
44
|
+
})(aggregationTimeType = ConditionDto.aggregationTimeType || (ConditionDto.aggregationTimeType = {}));
|
|
45
|
+
/**
|
|
46
|
+
* Aggregation time period (when using IN_THE_LAST)
|
|
47
|
+
*/
|
|
48
|
+
let aggregationTimePeriod;
|
|
49
|
+
(function (aggregationTimePeriod) {
|
|
50
|
+
aggregationTimePeriod["DAYS"] = "days";
|
|
51
|
+
aggregationTimePeriod["WEEKS"] = "weeks";
|
|
52
|
+
aggregationTimePeriod["MONTHS"] = "months";
|
|
53
|
+
aggregationTimePeriod["YEARS"] = "years";
|
|
54
|
+
})(aggregationTimePeriod = ConditionDto.aggregationTimePeriod || (ConditionDto.aggregationTimePeriod = {}));
|
|
55
|
+
/**
|
|
56
|
+
* Comparison operator
|
|
57
|
+
*/
|
|
58
|
+
let operator;
|
|
59
|
+
(function (operator) {
|
|
60
|
+
operator["EQUAL"] = "equal";
|
|
61
|
+
operator["NOT_EQUAL"] = "notEqual";
|
|
62
|
+
operator["GREATER_THAN"] = "greaterThan";
|
|
63
|
+
operator["GREATER_THAN_INCLUSIVE"] = "greaterThanInclusive";
|
|
64
|
+
operator["LESS_THAN"] = "lessThan";
|
|
65
|
+
operator["LESS_THAN_INCLUSIVE"] = "lessThanInclusive";
|
|
66
|
+
operator["IN"] = "in";
|
|
67
|
+
operator["NOT_IN"] = "notIn";
|
|
68
|
+
operator["CONTAINS"] = "contains";
|
|
69
|
+
operator["DOES_NOT_CONTAIN"] = "doesNotContain";
|
|
70
|
+
operator["BETWEEN"] = "between";
|
|
71
|
+
})(operator = ConditionDto.operator || (ConditionDto.operator = {}));
|
|
72
|
+
})(ConditionDto || (exports.ConditionDto = ConditionDto = {}));
|
|
73
|
+
//# sourceMappingURL=ConditionDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConditionDto.js","sourceRoot":"","sources":["../../models/ConditionDto.ts"],"names":[],"mappings":";;;AA2EA,IAAiB,YAAY,CA6D5B;AA7DD,WAAiB,YAAY;IACzB;;OAEG;IACH,IAAY,MAGX;IAHD,WAAY,MAAM;QACd,qCAA2B,CAAA;QAC3B,2BAAiB,CAAA;IACrB,CAAC,EAHW,MAAM,GAAN,mBAAM,KAAN,mBAAM,QAGjB;IACD;;OAEG;IACH,IAAY,kBAIX;IAJD,WAAY,kBAAkB;QAC1B,iCAAW,CAAA;QACX,uCAAiB,CAAA;QACjB,2CAAqB,CAAA;IACzB,CAAC,EAJW,kBAAkB,GAAlB,+BAAkB,KAAlB,+BAAkB,QAI7B;IACD;;OAEG;IACH,IAAY,mBAMX;IAND,WAAY,mBAAmB;QAC3B,kCAAW,CAAA;QACX,sCAAe,CAAA;QACf,kCAAW,CAAA;QACX,kCAAW,CAAA;QACX,kCAAW,CAAA;IACf,CAAC,EANW,mBAAmB,GAAnB,gCAAmB,KAAnB,gCAAmB,QAM9B;IACD;;OAEG;IACH,IAAY,mBAMX;IAND,WAAY,mBAAmB;QAC3B,4CAAqB,CAAA;QACrB,kDAA2B,CAAA;QAC3B,sCAAe,CAAA;QACf,wCAAiB,CAAA;QACjB,0CAAmB,CAAA;IACvB,CAAC,EANW,mBAAmB,GAAnB,gCAAmB,KAAnB,gCAAmB,QAM9B;IACD;;OAEG;IACH,IAAY,qBAKX;IALD,WAAY,qBAAqB;QAC7B,sCAAa,CAAA;QACb,wCAAe,CAAA;QACf,0CAAiB,CAAA;QACjB,wCAAe,CAAA;IACnB,CAAC,EALW,qBAAqB,GAArB,kCAAqB,KAArB,kCAAqB,QAKhC;IACD;;OAEG;IACH,IAAY,QAYX;IAZD,WAAY,QAAQ;QAChB,2BAAe,CAAA;QACf,kCAAsB,CAAA;QACtB,wCAA4B,CAAA;QAC5B,2DAA+C,CAAA;QAC/C,kCAAsB,CAAA;QACtB,qDAAyC,CAAA;QACzC,qBAAS,CAAA;QACT,4BAAgB,CAAA;QAChB,iCAAqB,CAAA;QACrB,+CAAmC,CAAA;QACnC,+BAAmB,CAAA;IACvB,CAAC,EAZW,QAAQ,GAAR,qBAAQ,KAAR,qBAAQ,QAYnB;AACL,CAAC,EA7DgB,YAAY,4BAAZ,YAAY,QA6D5B"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export type ConditionResultDto = {
|
|
2
|
+
/**
|
|
3
|
+
* Fact name that was evaluated
|
|
4
|
+
*/
|
|
5
|
+
fact: string;
|
|
6
|
+
/**
|
|
7
|
+
* label for the fact
|
|
8
|
+
*/
|
|
9
|
+
factLabel?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Operator used (greaterThan, lessThan, equal, etc.)
|
|
12
|
+
*/
|
|
13
|
+
operator: string;
|
|
14
|
+
/**
|
|
15
|
+
* Expected value from rule condition
|
|
16
|
+
*/
|
|
17
|
+
value: Record<string, any>;
|
|
18
|
+
/**
|
|
19
|
+
* Actual value of the fact
|
|
20
|
+
*/
|
|
21
|
+
factValue: Record<string, any>;
|
|
22
|
+
/**
|
|
23
|
+
* Whether this condition passed
|
|
24
|
+
*/
|
|
25
|
+
result: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Aggregation definition when fact is an aggregation (present only for agg facts)
|
|
28
|
+
*/
|
|
29
|
+
aggregation?: Record<string, any>;
|
|
30
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConditionResultDto.js","sourceRoot":"","sources":["../../models/ConditionResultDto.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ConditionDto } from './ConditionDto';
|
|
2
|
+
export type ConditionsDto = {
|
|
3
|
+
/**
|
|
4
|
+
* ALL conditions (AND logic) - all must be true
|
|
5
|
+
*/
|
|
6
|
+
all?: Array<ConditionDto>;
|
|
7
|
+
/**
|
|
8
|
+
* ANY conditions (OR logic) - at least one must be true
|
|
9
|
+
*/
|
|
10
|
+
any?: Array<ConditionDto>;
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConditionsDto.js","sourceRoot":"","sources":["../../models/ConditionsDto.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CopyRuleTemplateResponseDto.js","sourceRoot":"","sources":["../../models/CopyRuleTemplateResponseDto.ts"],"names":[],"mappings":""}
|
|
@@ -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
|
+
}
|