@corsa-labs/sdk 4.34.0 → 4.36.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/CorsaClient.d.ts +2 -0
- package/dist/CorsaClient.js +3 -0
- package/dist/CorsaClient.js.map +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/index.js +9 -3
- package/dist/index.js.map +1 -1
- package/dist/models/AggregationConditionFilterDto.d.ts +32 -0
- package/dist/models/AggregationConditionFilterDto.js +24 -0
- package/dist/models/AggregationConditionFilterDto.js.map +1 -0
- package/dist/models/AssociatePaymentAccountWithClientDto.d.ts +7 -0
- package/dist/models/AssociatePaymentAccountWithClientDto.js +3 -0
- package/dist/models/AssociatePaymentAccountWithClientDto.js.map +1 -0
- package/dist/models/ClientPaymentAccountRelationDto.d.ts +24 -0
- package/dist/models/ClientPaymentAccountRelationDto.js +16 -0
- package/dist/models/ClientPaymentAccountRelationDto.js.map +1 -0
- package/dist/models/ConditionDto.d.ts +88 -1
- package/dist/models/ConditionDto.js +51 -0
- package/dist/models/ConditionDto.js.map +1 -1
- package/dist/models/CreatePaymentAccountDto.d.ts +45 -0
- package/dist/models/CreatePaymentAccountDto.js +3 -0
- package/dist/models/CreatePaymentAccountDto.js.map +1 -0
- package/dist/models/CreateTransactionSourceOrDestinationClientDto.d.ts +16 -0
- package/dist/models/PaymentAccountCustomFieldDataDto.d.ts +22 -0
- package/dist/models/PaymentAccountCustomFieldDataDto.js +3 -0
- package/dist/models/PaymentAccountCustomFieldDataDto.js.map +1 -0
- package/dist/models/PaymentAccountDto.d.ts +61 -0
- package/dist/models/PaymentAccountDto.js +3 -0
- package/dist/models/PaymentAccountDto.js.map +1 -0
- package/dist/models/TransactionSourceOrDestinationBankAccountDto.d.ts +6 -0
- package/dist/models/TransactionSourceOrDestinationBankAccountDto.js +3 -0
- package/dist/models/TransactionSourceOrDestinationBankAccountDto.js.map +1 -0
- package/dist/models/TransactionSourceOrDestinationDto.d.ts +16 -2
- package/dist/models/TransactionSourceOrDestinationPaymentAccountDto.d.ts +6 -0
- package/dist/models/TransactionSourceOrDestinationPaymentAccountDto.js +3 -0
- package/dist/models/TransactionSourceOrDestinationPaymentAccountDto.js.map +1 -0
- package/dist/models/UpdatePaymentAccountDto.d.ts +41 -0
- package/dist/models/UpdatePaymentAccountDto.js +3 -0
- package/dist/models/UpdatePaymentAccountDto.js.map +1 -0
- package/dist/services/PaymentAccountsService.d.ts +41 -0
- package/dist/services/PaymentAccountsService.js +80 -0
- package/dist/services/PaymentAccountsService.js.map +1 -0
- package/package.json +3 -2
package/dist/CorsaClient.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import { ClientsService } from './services/ClientsService';
|
|
|
10
10
|
import { DepositsService } from './services/DepositsService';
|
|
11
11
|
import { EvaluationService } from './services/EvaluationService';
|
|
12
12
|
import { MembersService } from './services/MembersService';
|
|
13
|
+
import { PaymentAccountsService } from './services/PaymentAccountsService';
|
|
13
14
|
import { PlatformService } from './services/PlatformService';
|
|
14
15
|
import { RulesService } from './services/RulesService';
|
|
15
16
|
import { RuleTemplatesService } from './services/RuleTemplatesService';
|
|
@@ -29,6 +30,7 @@ export declare class CorsaClient {
|
|
|
29
30
|
readonly deposits: DepositsService;
|
|
30
31
|
readonly evaluation: EvaluationService;
|
|
31
32
|
readonly members: MembersService;
|
|
33
|
+
readonly paymentAccounts: PaymentAccountsService;
|
|
32
34
|
readonly platform: PlatformService;
|
|
33
35
|
readonly rules: RulesService;
|
|
34
36
|
readonly ruleTemplates: RuleTemplatesService;
|
package/dist/CorsaClient.js
CHANGED
|
@@ -12,6 +12,7 @@ const ClientsService_1 = require("./services/ClientsService");
|
|
|
12
12
|
const DepositsService_1 = require("./services/DepositsService");
|
|
13
13
|
const EvaluationService_1 = require("./services/EvaluationService");
|
|
14
14
|
const MembersService_1 = require("./services/MembersService");
|
|
15
|
+
const PaymentAccountsService_1 = require("./services/PaymentAccountsService");
|
|
15
16
|
const PlatformService_1 = require("./services/PlatformService");
|
|
16
17
|
const RulesService_1 = require("./services/RulesService");
|
|
17
18
|
const RuleTemplatesService_1 = require("./services/RuleTemplatesService");
|
|
@@ -30,6 +31,7 @@ class CorsaClient {
|
|
|
30
31
|
deposits;
|
|
31
32
|
evaluation;
|
|
32
33
|
members;
|
|
34
|
+
paymentAccounts;
|
|
33
35
|
platform;
|
|
34
36
|
rules;
|
|
35
37
|
ruleTemplates;
|
|
@@ -60,6 +62,7 @@ class CorsaClient {
|
|
|
60
62
|
this.deposits = new DepositsService_1.DepositsService(this.request);
|
|
61
63
|
this.evaluation = new EvaluationService_1.EvaluationService(this.request);
|
|
62
64
|
this.members = new MembersService_1.MembersService(this.request);
|
|
65
|
+
this.paymentAccounts = new PaymentAccountsService_1.PaymentAccountsService(this.request);
|
|
63
66
|
this.platform = new PlatformService_1.PlatformService(this.request);
|
|
64
67
|
this.rules = new RulesService_1.RulesService(this.request);
|
|
65
68
|
this.ruleTemplates = new RuleTemplatesService_1.RuleTemplatesService(this.request);
|
package/dist/CorsaClient.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CorsaClient.js","sourceRoot":"","sources":["../CorsaClient.ts"],"names":[],"mappings":";;;AAMA,8DAA2D;AAC3D,4DAAyD;AACzD,sEAAmE;AACnE,wEAAqE;AACrE,kFAA+E;AAC/E,0DAAuD;AACvD,oEAAiE;AACjE,8DAA2D;AAC3D,gEAA6D;AAC7D,oEAAiE;AACjE,8DAA2D;AAC3D,gEAA6D;AAC7D,0DAAuD;AACvD,0EAAuE;AACvE,gEAA6D;AAC7D,4DAAyD;AACzD,wEAAqE;AACrE,sEAAmE;AAEnE,MAAa,WAAW;IACJ,MAAM,CAAgB;IACtB,WAAW,CAAqB;IAChC,YAAY,CAAsB;IAClC,iBAAiB,CAA2B;IAC5C,KAAK,CAAe;IACpB,UAAU,CAAoB;IAC9B,OAAO,CAAiB;IACxB,QAAQ,CAAkB;IAC1B,UAAU,CAAoB;IAC9B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from './models/AlertCustomFieldDataDto';
|
|
|
11
11
|
export type { AlertDecisionDto } from './models/AlertDecisionDto';
|
|
12
12
|
export type { AssociateBankAccountWithClientDto } from './models/AssociateBankAccountWithClientDto';
|
|
13
13
|
export type { AssociateBlockchainWalletWithClientDto } from './models/AssociateBlockchainWalletWithClientDto';
|
|
14
|
+
export type { AssociatePaymentAccountWithClientDto } from './models/AssociatePaymentAccountWithClientDto';
|
|
14
15
|
export type { AssociatedAlertDto } from './models/AssociatedAlertDto';
|
|
15
16
|
export type { AssociatedCaseDto } from './models/AssociatedCaseDto';
|
|
16
17
|
export type { AssociatedClientDto } from './models/AssociatedClientDto';
|
|
@@ -54,6 +55,7 @@ export type { CorporateClientScreeningDto } from './models/CorporateClientScreen
|
|
|
54
55
|
export type { CreateBlockchainWalletDto } from './models/CreateBlockchainWalletDto';
|
|
55
56
|
export type { CreateDepositOperationDto } from './models/CreateDepositOperationDto';
|
|
56
57
|
export type { CreateExternalDocumentResponseDto } from './models/CreateExternalDocumentResponseDto';
|
|
58
|
+
export type { CreatePaymentAccountDto } from './models/CreatePaymentAccountDto';
|
|
57
59
|
export type { CreateRuleDto } from './models/CreateRuleDto';
|
|
58
60
|
export type { CreateSessionDto } from './models/CreateSessionDto';
|
|
59
61
|
export type { CreateTransactionSourceOrDestinationClientDto } from './models/CreateTransactionSourceOrDestinationClientDto';
|
|
@@ -67,6 +69,8 @@ export type { IndividualClientFinancialInformationDto } from './models/Individua
|
|
|
67
69
|
export type { IndividualClientIntegrationsDto } from './models/IndividualClientIntegrationsDto';
|
|
68
70
|
export type { IndividualClientWorkInformationDto } from './models/IndividualClientWorkInformationDto';
|
|
69
71
|
export type { OperationInitiatorDto } from './models/OperationInitiatorDto';
|
|
72
|
+
export type { PaymentAccountCustomFieldDataDto } from './models/PaymentAccountCustomFieldDataDto';
|
|
73
|
+
export type { PaymentAccountDto } from './models/PaymentAccountDto';
|
|
70
74
|
export type { PlainIntegrationDto } from './models/PlainIntegrationDto';
|
|
71
75
|
export type { PoliticalExposureDto } from './models/PoliticalExposureDto';
|
|
72
76
|
export type { RuleTemplateResponseDto } from './models/RuleTemplateResponseDto';
|
|
@@ -81,16 +85,20 @@ export type { TransactionAmountDto } from './models/TransactionAmountDto';
|
|
|
81
85
|
export type { TransactionCustomFieldDto } from './models/TransactionCustomFieldDto';
|
|
82
86
|
export type { TransactionEvaluationsResponseDto } from './models/TransactionEvaluationsResponseDto';
|
|
83
87
|
export type { TransactionIntegrationsDto } from './models/TransactionIntegrationsDto';
|
|
88
|
+
export type { TransactionSourceOrDestinationBankAccountDto } from './models/TransactionSourceOrDestinationBankAccountDto';
|
|
84
89
|
export type { TransactionSourceOrDestinationClientDto } from './models/TransactionSourceOrDestinationClientDto';
|
|
85
90
|
export type { TransactionSourceOrDestinationDto } from './models/TransactionSourceOrDestinationDto';
|
|
91
|
+
export type { TransactionSourceOrDestinationPaymentAccountDto } from './models/TransactionSourceOrDestinationPaymentAccountDto';
|
|
86
92
|
export type { TransactionSourceOrDestinationWalletDto } from './models/TransactionSourceOrDestinationWalletDto';
|
|
87
93
|
export type { UpdateBlockchainWalletDto } from './models/UpdateBlockchainWalletDto';
|
|
88
94
|
export type { UpdateCaseInvestigationDto } from './models/UpdateCaseInvestigationDto';
|
|
89
95
|
export type { UpdateChecklistTemplateDto } from './models/UpdateChecklistTemplateDto';
|
|
96
|
+
export type { UpdatePaymentAccountDto } from './models/UpdatePaymentAccountDto';
|
|
90
97
|
export type { UpdateRuleDto } from './models/UpdateRuleDto';
|
|
91
98
|
export type { UpdateSessionDto } from './models/UpdateSessionDto';
|
|
92
99
|
export type { WithdrawalOperationDto } from './models/WithdrawalOperationDto';
|
|
93
100
|
export { ActionConfigDto } from './models/ActionConfigDto';
|
|
101
|
+
export { AggregationConditionFilterDto } from './models/AggregationConditionFilterDto';
|
|
94
102
|
export { AggregationFilterDto } from './models/AggregationFilterDto';
|
|
95
103
|
export { AlertDto } from './models/AlertDto';
|
|
96
104
|
export { AlertSourceDto } from './models/AlertSourceDto';
|
|
@@ -112,6 +120,7 @@ export { ClientAssociatedToAccountDto } from './models/ClientAssociatedToAccount
|
|
|
112
120
|
export { ClientAssociatedToBlockchainWalletDto } from './models/ClientAssociatedToBlockchainWalletDto';
|
|
113
121
|
export { ClientBankAccountRelationDto } from './models/ClientBankAccountRelationDto';
|
|
114
122
|
export { ClientBlockchainWalletRelationDto } from './models/ClientBlockchainWalletRelationDto';
|
|
123
|
+
export { ClientPaymentAccountRelationDto } from './models/ClientPaymentAccountRelationDto';
|
|
115
124
|
export { ConditionDto } from './models/ConditionDto';
|
|
116
125
|
export { CorporateClientAdverseMediaDto } from './models/CorporateClientAdverseMediaDto';
|
|
117
126
|
export { CorporateClientBusinessDto } from './models/CorporateClientBusinessDto';
|
|
@@ -178,6 +187,7 @@ export { ClientsService } from './services/ClientsService';
|
|
|
178
187
|
export { DepositsService } from './services/DepositsService';
|
|
179
188
|
export { EvaluationService } from './services/EvaluationService';
|
|
180
189
|
export { MembersService } from './services/MembersService';
|
|
190
|
+
export { PaymentAccountsService } from './services/PaymentAccountsService';
|
|
181
191
|
export { PlatformService } from './services/PlatformService';
|
|
182
192
|
export { RuleTemplatesService } from './services/RuleTemplatesService';
|
|
183
193
|
export { RulesService } from './services/RulesService';
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.WithdrawalsService = exports.TransactionsService = void 0;
|
|
3
|
+
exports.CreateIndividualMemberDto = exports.CreateIndividualClientDto = exports.CreateIdentityDocumentDto = exports.CreateExternalDocumentDto = exports.CreateCorporateMemberDto = exports.CreateCorporateClientDto = exports.CreateChecklistTemplateItemDto = exports.CreateChecklistTemplateDto = exports.CreateCaseDto = exports.CreateBankAccountDto = exports.CreateAlertDto = exports.CorporateMemberDto = exports.CorporateClientSourceOfFundsDto = exports.CorporateClientPEPDto = exports.CorporateClientDto = exports.CorporateClientCustomFieldDataDto = exports.CorporateClientBusinessDto = exports.CorporateClientAdverseMediaDto = exports.ConditionDto = exports.ClientPaymentAccountRelationDto = exports.ClientBlockchainWalletRelationDto = exports.ClientBankAccountRelationDto = exports.ClientAssociatedToBlockchainWalletDto = exports.ClientAssociatedToAccountDto = exports.ChecklistTemplateResponseDto = exports.ChecklistTemplateItemResponseDto = exports.ChecklistResponseDto = exports.ChecklistItemResponseDto = exports.CaseStatusData = exports.CasePriority = exports.CaseDto = exports.CaseCategory = exports.BulkUpdatedCaseDto = exports.BulkUpdatedAlertDto = exports.BulkUpdateCaseStatusDto = exports.BulkUpdateCaseReviewersDto = exports.BulkUpdateAlertStatusDto = exports.AlertStatusData = exports.AlertSourceDto = exports.AlertDto = exports.AggregationFilterDto = exports.AggregationConditionFilterDto = exports.ActionConfigDto = exports.OpenAPI = exports.CancelError = exports.CancelablePromise = exports.BaseHttpRequest = exports.ApiError = exports.ComplianceClient = exports.CorsaClient = void 0;
|
|
4
|
+
exports.RuleTemplatesService = exports.PlatformService = exports.PaymentAccountsService = exports.MembersService = exports.EvaluationService = exports.DepositsService = exports.ClientsService = exports.ChecklistsService = exports.CasesService = exports.BlockchainWalletsService = exports.BankAccountsService = exports.AttachmentsService = exports.AlertsService = exports.UpdateTransactionDto = exports.UpdateIndividualMemberDto = exports.UpdateIndividualClientDto = exports.UpdateIdentityDocumentDto = exports.UpdateCorporateMemberDto = exports.UpdateCorporateClientDto = exports.UpdateChecklistTemplateItemDto = exports.UpdateChecklistItemDto = exports.UpdateCaseStatusDto = exports.UpdateCaseDto = exports.UpdateBankAccountDto = exports.UpdateAttachmentDto = exports.UpdateAlertDto = exports.TransactionStatusDto = exports.TransactionEvaluationRecordDto = exports.TransactionDto = exports.TradeOperationDto = exports.RuleResponseDto = exports.RuleMatchDto = exports.RiskDto = exports.RelateAttachmentsDto = exports.ParticipantDto = exports.OperationStatusUpdateDto = exports.OperationStatusDto = exports.IndividualMemberDto = exports.IndividualClientGeneralInformationDto = exports.IndividualClientDto = exports.IndividualClientCustomFieldDataDto = exports.IndividualClientApplicationInformationDto = exports.IdentityDocumentDto = exports.FactPathDto = exports.EvaluationResultDto = exports.DeviceResponseDto = exports.DeviceDto = exports.CreateTransactionDto = exports.CreateTradeOperationDto = exports.CreateOrUpdateRiskDto = void 0;
|
|
5
|
+
exports.WithdrawalsService = exports.TransactionsService = exports.TradesService = exports.SessionsService = exports.RulesService = void 0;
|
|
6
6
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
7
7
|
/* istanbul ignore file */
|
|
8
8
|
/* tslint:disable */
|
|
@@ -21,6 +21,8 @@ var OpenAPI_1 = require("./core/OpenAPI");
|
|
|
21
21
|
Object.defineProperty(exports, "OpenAPI", { enumerable: true, get: function () { return OpenAPI_1.OpenAPI; } });
|
|
22
22
|
var ActionConfigDto_1 = require("./models/ActionConfigDto");
|
|
23
23
|
Object.defineProperty(exports, "ActionConfigDto", { enumerable: true, get: function () { return ActionConfigDto_1.ActionConfigDto; } });
|
|
24
|
+
var AggregationConditionFilterDto_1 = require("./models/AggregationConditionFilterDto");
|
|
25
|
+
Object.defineProperty(exports, "AggregationConditionFilterDto", { enumerable: true, get: function () { return AggregationConditionFilterDto_1.AggregationConditionFilterDto; } });
|
|
24
26
|
var AggregationFilterDto_1 = require("./models/AggregationFilterDto");
|
|
25
27
|
Object.defineProperty(exports, "AggregationFilterDto", { enumerable: true, get: function () { return AggregationFilterDto_1.AggregationFilterDto; } });
|
|
26
28
|
var AlertDto_1 = require("./models/AlertDto");
|
|
@@ -63,6 +65,8 @@ var ClientBankAccountRelationDto_1 = require("./models/ClientBankAccountRelation
|
|
|
63
65
|
Object.defineProperty(exports, "ClientBankAccountRelationDto", { enumerable: true, get: function () { return ClientBankAccountRelationDto_1.ClientBankAccountRelationDto; } });
|
|
64
66
|
var ClientBlockchainWalletRelationDto_1 = require("./models/ClientBlockchainWalletRelationDto");
|
|
65
67
|
Object.defineProperty(exports, "ClientBlockchainWalletRelationDto", { enumerable: true, get: function () { return ClientBlockchainWalletRelationDto_1.ClientBlockchainWalletRelationDto; } });
|
|
68
|
+
var ClientPaymentAccountRelationDto_1 = require("./models/ClientPaymentAccountRelationDto");
|
|
69
|
+
Object.defineProperty(exports, "ClientPaymentAccountRelationDto", { enumerable: true, get: function () { return ClientPaymentAccountRelationDto_1.ClientPaymentAccountRelationDto; } });
|
|
66
70
|
var ConditionDto_1 = require("./models/ConditionDto");
|
|
67
71
|
Object.defineProperty(exports, "ConditionDto", { enumerable: true, get: function () { return ConditionDto_1.ConditionDto; } });
|
|
68
72
|
var CorporateClientAdverseMediaDto_1 = require("./models/CorporateClientAdverseMediaDto");
|
|
@@ -195,6 +199,8 @@ var EvaluationService_1 = require("./services/EvaluationService");
|
|
|
195
199
|
Object.defineProperty(exports, "EvaluationService", { enumerable: true, get: function () { return EvaluationService_1.EvaluationService; } });
|
|
196
200
|
var MembersService_1 = require("./services/MembersService");
|
|
197
201
|
Object.defineProperty(exports, "MembersService", { enumerable: true, get: function () { return MembersService_1.MembersService; } });
|
|
202
|
+
var PaymentAccountsService_1 = require("./services/PaymentAccountsService");
|
|
203
|
+
Object.defineProperty(exports, "PaymentAccountsService", { enumerable: true, get: function () { return PaymentAccountsService_1.PaymentAccountsService; } });
|
|
198
204
|
var PlatformService_1 = require("./services/PlatformService");
|
|
199
205
|
Object.defineProperty(exports, "PlatformService", { enumerable: true, get: function () { return PlatformService_1.PlatformService; } });
|
|
200
206
|
var RuleTemplatesService_1 = require("./services/RuleTemplatesService");
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;AAAA,+DAA+D;AAC/D,0BAA0B;AAC1B,oBAAoB;AACpB,oBAAoB;AACpB,6CAA8D;AAArD,0GAAA,WAAW,OAAA;AAAE,+GAAA,gBAAgB,OAAA;AAEtC,4CAA2C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
|
|
6
|
+
/**
|
|
7
|
+
* Comparison operator for the condition filter
|
|
8
|
+
*/
|
|
9
|
+
operator: AggregationConditionFilterDto.operator;
|
|
10
|
+
/**
|
|
11
|
+
* Value to compare against
|
|
12
|
+
*/
|
|
13
|
+
value?: Record<string, any>;
|
|
14
|
+
};
|
|
15
|
+
export declare namespace AggregationConditionFilterDto {
|
|
16
|
+
/**
|
|
17
|
+
* Comparison operator for the condition filter
|
|
18
|
+
*/
|
|
19
|
+
enum operator {
|
|
20
|
+
EQUAL = "equal",
|
|
21
|
+
NOT_EQUAL = "notEqual",
|
|
22
|
+
GREATER_THAN = "greaterThan",
|
|
23
|
+
GREATER_THAN_INCLUSIVE = "greaterThanInclusive",
|
|
24
|
+
LESS_THAN = "lessThan",
|
|
25
|
+
LESS_THAN_INCLUSIVE = "lessThanInclusive",
|
|
26
|
+
IN = "in",
|
|
27
|
+
NOT_IN = "notIn",
|
|
28
|
+
CONTAINS = "contains",
|
|
29
|
+
DOES_NOT_CONTAIN = "doesNotContain",
|
|
30
|
+
BETWEEN = "between"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AggregationConditionFilterDto = void 0;
|
|
4
|
+
var AggregationConditionFilterDto;
|
|
5
|
+
(function (AggregationConditionFilterDto) {
|
|
6
|
+
/**
|
|
7
|
+
* Comparison operator for the condition filter
|
|
8
|
+
*/
|
|
9
|
+
let operator;
|
|
10
|
+
(function (operator) {
|
|
11
|
+
operator["EQUAL"] = "equal";
|
|
12
|
+
operator["NOT_EQUAL"] = "notEqual";
|
|
13
|
+
operator["GREATER_THAN"] = "greaterThan";
|
|
14
|
+
operator["GREATER_THAN_INCLUSIVE"] = "greaterThanInclusive";
|
|
15
|
+
operator["LESS_THAN"] = "lessThan";
|
|
16
|
+
operator["LESS_THAN_INCLUSIVE"] = "lessThanInclusive";
|
|
17
|
+
operator["IN"] = "in";
|
|
18
|
+
operator["NOT_IN"] = "notIn";
|
|
19
|
+
operator["CONTAINS"] = "contains";
|
|
20
|
+
operator["DOES_NOT_CONTAIN"] = "doesNotContain";
|
|
21
|
+
operator["BETWEEN"] = "between";
|
|
22
|
+
})(operator = AggregationConditionFilterDto.operator || (AggregationConditionFilterDto.operator = {}));
|
|
23
|
+
})(AggregationConditionFilterDto || (exports.AggregationConditionFilterDto = AggregationConditionFilterDto = {}));
|
|
24
|
+
//# sourceMappingURL=AggregationConditionFilterDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AggregationConditionFilterDto.js","sourceRoot":"","sources":["../../models/AggregationConditionFilterDto.ts"],"names":[],"mappings":";;;AAkBA,IAAiB,6BAA6B,CAiB7C;AAjBD,WAAiB,6BAA6B;IAC1C;;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,sCAAQ,KAAR,sCAAQ,QAYnB;AACL,CAAC,EAjBgB,6BAA6B,6CAA7B,6BAA6B,QAiB7C"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ClientPaymentAccountRelationDto } from './ClientPaymentAccountRelationDto';
|
|
2
|
+
export type AssociatePaymentAccountWithClientDto = {
|
|
3
|
+
/**
|
|
4
|
+
* List of clients to associate with the payment account (maximum 50)
|
|
5
|
+
*/
|
|
6
|
+
clients: Array<ClientPaymentAccountRelationDto>;
|
|
7
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AssociatePaymentAccountWithClientDto.js","sourceRoot":"","sources":["../../models/AssociatePaymentAccountWithClientDto.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export type ClientPaymentAccountRelationDto = {
|
|
2
|
+
/**
|
|
3
|
+
* Client ID or reference ID to associate with the payment account
|
|
4
|
+
*/
|
|
5
|
+
clientId: string;
|
|
6
|
+
/**
|
|
7
|
+
* Custom name for this client-payment account relationship
|
|
8
|
+
*/
|
|
9
|
+
name?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Status of the client-payment account relationship
|
|
12
|
+
*/
|
|
13
|
+
status?: ClientPaymentAccountRelationDto.status;
|
|
14
|
+
};
|
|
15
|
+
export declare namespace ClientPaymentAccountRelationDto {
|
|
16
|
+
/**
|
|
17
|
+
* Status of the client-payment account relationship
|
|
18
|
+
*/
|
|
19
|
+
enum status {
|
|
20
|
+
ACTIVE = "ACTIVE",
|
|
21
|
+
INACTIVE = "INACTIVE",
|
|
22
|
+
CLOSED = "CLOSED"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ClientPaymentAccountRelationDto = void 0;
|
|
4
|
+
var ClientPaymentAccountRelationDto;
|
|
5
|
+
(function (ClientPaymentAccountRelationDto) {
|
|
6
|
+
/**
|
|
7
|
+
* Status of the client-payment account relationship
|
|
8
|
+
*/
|
|
9
|
+
let status;
|
|
10
|
+
(function (status) {
|
|
11
|
+
status["ACTIVE"] = "ACTIVE";
|
|
12
|
+
status["INACTIVE"] = "INACTIVE";
|
|
13
|
+
status["CLOSED"] = "CLOSED";
|
|
14
|
+
})(status = ClientPaymentAccountRelationDto.status || (ClientPaymentAccountRelationDto.status = {}));
|
|
15
|
+
})(ClientPaymentAccountRelationDto || (exports.ClientPaymentAccountRelationDto = ClientPaymentAccountRelationDto = {}));
|
|
16
|
+
//# sourceMappingURL=ClientPaymentAccountRelationDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClientPaymentAccountRelationDto.js","sourceRoot":"","sources":["../../models/ClientPaymentAccountRelationDto.ts"],"names":[],"mappings":";;;AAkBA,IAAiB,+BAA+B,CAS/C;AATD,WAAiB,+BAA+B;IAC5C;;OAEG;IACH,IAAY,MAIX;IAJD,WAAY,MAAM;QACd,2BAAiB,CAAA;QACjB,+BAAqB,CAAA;QACrB,2BAAiB,CAAA;IACrB,CAAC,EAJW,MAAM,GAAN,sCAAM,KAAN,sCAAM,QAIjB;AACL,CAAC,EATgB,+BAA+B,+CAA/B,+BAA+B,QAS/C"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AggregationConditionFilterDto } from './AggregationConditionFilterDto';
|
|
1
2
|
import type { AggregationFilterDto } from './AggregationFilterDto';
|
|
2
3
|
import type { FactPathDto } from './FactPathDto';
|
|
3
4
|
export type ConditionDto = {
|
|
@@ -45,6 +46,46 @@ export type ConditionDto = {
|
|
|
45
46
|
* Aggregation time period (when using IN_THE_LAST)
|
|
46
47
|
*/
|
|
47
48
|
aggregationTimePeriod?: ConditionDto.aggregationTimePeriod;
|
|
49
|
+
/**
|
|
50
|
+
* Inline condition for conditional aggregation operators (PERCENTAGE)
|
|
51
|
+
*/
|
|
52
|
+
aggregationCondition?: AggregationConditionFilterDto;
|
|
53
|
+
/**
|
|
54
|
+
* Client field for temporal operators (IS_FIRST_TRANSACTION, TIME_SINCE_LAST_TRANSACTION)
|
|
55
|
+
*/
|
|
56
|
+
aggregationClientField?: ConditionDto.aggregationClientField;
|
|
57
|
+
/**
|
|
58
|
+
* Time unit for TIME_SINCE_LAST_TRANSACTION result
|
|
59
|
+
*/
|
|
60
|
+
aggregationTimeUnit?: ConditionDto.aggregationTimeUnit;
|
|
61
|
+
/**
|
|
62
|
+
* Window size for MOVING_AVERAGE
|
|
63
|
+
*/
|
|
64
|
+
aggregationWindowSize?: number;
|
|
65
|
+
/**
|
|
66
|
+
* Window type for MOVING_AVERAGE (ROWS or RANGE)
|
|
67
|
+
*/
|
|
68
|
+
aggregationWindowType?: ConditionDto.aggregationWindowType;
|
|
69
|
+
/**
|
|
70
|
+
* Period type for VELOCITY_CHANGE (DAY, WEEK, MONTH)
|
|
71
|
+
*/
|
|
72
|
+
aggregationPeriodType?: ConditionDto.aggregationPeriodType;
|
|
73
|
+
/**
|
|
74
|
+
* Baseline field for DEVIATION_FROM_AVERAGE
|
|
75
|
+
*/
|
|
76
|
+
aggregationBaselineField?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Current period in hours for BASELINE_COMPARISON
|
|
79
|
+
*/
|
|
80
|
+
aggregationCurrentPeriodHours?: number;
|
|
81
|
+
/**
|
|
82
|
+
* Baseline period in days for BASELINE_COMPARISON
|
|
83
|
+
*/
|
|
84
|
+
aggregationBaselineDays?: number;
|
|
85
|
+
/**
|
|
86
|
+
* Aggregation type for BASELINE_COMPARISON baseline (SUM or COUNT)
|
|
87
|
+
*/
|
|
88
|
+
aggregationBaselineAggregation?: ConditionDto.aggregationBaselineAggregation;
|
|
48
89
|
/**
|
|
49
90
|
* Resolved aggregation fact definition (internal use)
|
|
50
91
|
*/
|
|
@@ -110,7 +151,14 @@ export declare namespace ConditionDto {
|
|
|
110
151
|
PERCENTILE = "percentile",
|
|
111
152
|
COUNT_DISTINCT = "countDistinct",
|
|
112
153
|
FIRST = "first",
|
|
113
|
-
LAST = "last"
|
|
154
|
+
LAST = "last",
|
|
155
|
+
PERCENTAGE = "percentage",
|
|
156
|
+
IS_FIRST_TRANSACTION = "isFirstTransaction",
|
|
157
|
+
TIME_SINCE_LAST_TRANSACTION = "timeSinceLastTransaction",
|
|
158
|
+
MOVING_AVERAGE = "movingAverage",
|
|
159
|
+
VELOCITY_CHANGE = "velocityChange",
|
|
160
|
+
DEVIATION_FROM_AVERAGE = "deviationFromAverage",
|
|
161
|
+
BASELINE_COMPARISON = "baselineComparison"
|
|
114
162
|
}
|
|
115
163
|
/**
|
|
116
164
|
* Aggregation time window type
|
|
@@ -133,6 +181,45 @@ export declare namespace ConditionDto {
|
|
|
133
181
|
MONTHS = "months",
|
|
134
182
|
YEARS = "years"
|
|
135
183
|
}
|
|
184
|
+
/**
|
|
185
|
+
* Client field for temporal operators (IS_FIRST_TRANSACTION, TIME_SINCE_LAST_TRANSACTION)
|
|
186
|
+
*/
|
|
187
|
+
enum aggregationClientField {
|
|
188
|
+
FROM_CLIENT_ID = "from_client_id",
|
|
189
|
+
TO_CLIENT_ID = "to_client_id"
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* Time unit for TIME_SINCE_LAST_TRANSACTION result
|
|
193
|
+
*/
|
|
194
|
+
enum aggregationTimeUnit {
|
|
195
|
+
MILLISECOND = "millisecond",
|
|
196
|
+
SECOND = "second",
|
|
197
|
+
MINUTE = "minute",
|
|
198
|
+
HOUR = "hour",
|
|
199
|
+
DAY = "day"
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* Window type for MOVING_AVERAGE (ROWS or RANGE)
|
|
203
|
+
*/
|
|
204
|
+
enum aggregationWindowType {
|
|
205
|
+
ROWS = "ROWS",
|
|
206
|
+
RANGE = "RANGE"
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* Period type for VELOCITY_CHANGE (DAY, WEEK, MONTH)
|
|
210
|
+
*/
|
|
211
|
+
enum aggregationPeriodType {
|
|
212
|
+
DAY = "DAY",
|
|
213
|
+
WEEK = "WEEK",
|
|
214
|
+
MONTH = "MONTH"
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* Aggregation type for BASELINE_COMPARISON baseline (SUM or COUNT)
|
|
218
|
+
*/
|
|
219
|
+
enum aggregationBaselineAggregation {
|
|
220
|
+
SUM = "SUM",
|
|
221
|
+
COUNT = "COUNT"
|
|
222
|
+
}
|
|
136
223
|
/**
|
|
137
224
|
* Comparison operator
|
|
138
225
|
*/
|
|
@@ -38,6 +38,13 @@ var ConditionDto;
|
|
|
38
38
|
aggregationOperator["COUNT_DISTINCT"] = "countDistinct";
|
|
39
39
|
aggregationOperator["FIRST"] = "first";
|
|
40
40
|
aggregationOperator["LAST"] = "last";
|
|
41
|
+
aggregationOperator["PERCENTAGE"] = "percentage";
|
|
42
|
+
aggregationOperator["IS_FIRST_TRANSACTION"] = "isFirstTransaction";
|
|
43
|
+
aggregationOperator["TIME_SINCE_LAST_TRANSACTION"] = "timeSinceLastTransaction";
|
|
44
|
+
aggregationOperator["MOVING_AVERAGE"] = "movingAverage";
|
|
45
|
+
aggregationOperator["VELOCITY_CHANGE"] = "velocityChange";
|
|
46
|
+
aggregationOperator["DEVIATION_FROM_AVERAGE"] = "deviationFromAverage";
|
|
47
|
+
aggregationOperator["BASELINE_COMPARISON"] = "baselineComparison";
|
|
41
48
|
})(aggregationOperator = ConditionDto.aggregationOperator || (ConditionDto.aggregationOperator = {}));
|
|
42
49
|
/**
|
|
43
50
|
* Aggregation time window type
|
|
@@ -62,6 +69,50 @@ var ConditionDto;
|
|
|
62
69
|
aggregationTimePeriod["MONTHS"] = "months";
|
|
63
70
|
aggregationTimePeriod["YEARS"] = "years";
|
|
64
71
|
})(aggregationTimePeriod = ConditionDto.aggregationTimePeriod || (ConditionDto.aggregationTimePeriod = {}));
|
|
72
|
+
/**
|
|
73
|
+
* Client field for temporal operators (IS_FIRST_TRANSACTION, TIME_SINCE_LAST_TRANSACTION)
|
|
74
|
+
*/
|
|
75
|
+
let aggregationClientField;
|
|
76
|
+
(function (aggregationClientField) {
|
|
77
|
+
aggregationClientField["FROM_CLIENT_ID"] = "from_client_id";
|
|
78
|
+
aggregationClientField["TO_CLIENT_ID"] = "to_client_id";
|
|
79
|
+
})(aggregationClientField = ConditionDto.aggregationClientField || (ConditionDto.aggregationClientField = {}));
|
|
80
|
+
/**
|
|
81
|
+
* Time unit for TIME_SINCE_LAST_TRANSACTION result
|
|
82
|
+
*/
|
|
83
|
+
let aggregationTimeUnit;
|
|
84
|
+
(function (aggregationTimeUnit) {
|
|
85
|
+
aggregationTimeUnit["MILLISECOND"] = "millisecond";
|
|
86
|
+
aggregationTimeUnit["SECOND"] = "second";
|
|
87
|
+
aggregationTimeUnit["MINUTE"] = "minute";
|
|
88
|
+
aggregationTimeUnit["HOUR"] = "hour";
|
|
89
|
+
aggregationTimeUnit["DAY"] = "day";
|
|
90
|
+
})(aggregationTimeUnit = ConditionDto.aggregationTimeUnit || (ConditionDto.aggregationTimeUnit = {}));
|
|
91
|
+
/**
|
|
92
|
+
* Window type for MOVING_AVERAGE (ROWS or RANGE)
|
|
93
|
+
*/
|
|
94
|
+
let aggregationWindowType;
|
|
95
|
+
(function (aggregationWindowType) {
|
|
96
|
+
aggregationWindowType["ROWS"] = "ROWS";
|
|
97
|
+
aggregationWindowType["RANGE"] = "RANGE";
|
|
98
|
+
})(aggregationWindowType = ConditionDto.aggregationWindowType || (ConditionDto.aggregationWindowType = {}));
|
|
99
|
+
/**
|
|
100
|
+
* Period type for VELOCITY_CHANGE (DAY, WEEK, MONTH)
|
|
101
|
+
*/
|
|
102
|
+
let aggregationPeriodType;
|
|
103
|
+
(function (aggregationPeriodType) {
|
|
104
|
+
aggregationPeriodType["DAY"] = "DAY";
|
|
105
|
+
aggregationPeriodType["WEEK"] = "WEEK";
|
|
106
|
+
aggregationPeriodType["MONTH"] = "MONTH";
|
|
107
|
+
})(aggregationPeriodType = ConditionDto.aggregationPeriodType || (ConditionDto.aggregationPeriodType = {}));
|
|
108
|
+
/**
|
|
109
|
+
* Aggregation type for BASELINE_COMPARISON baseline (SUM or COUNT)
|
|
110
|
+
*/
|
|
111
|
+
let aggregationBaselineAggregation;
|
|
112
|
+
(function (aggregationBaselineAggregation) {
|
|
113
|
+
aggregationBaselineAggregation["SUM"] = "SUM";
|
|
114
|
+
aggregationBaselineAggregation["COUNT"] = "COUNT";
|
|
115
|
+
})(aggregationBaselineAggregation = ConditionDto.aggregationBaselineAggregation || (ConditionDto.aggregationBaselineAggregation = {}));
|
|
65
116
|
/**
|
|
66
117
|
* Comparison operator
|
|
67
118
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConditionDto.js","sourceRoot":"","sources":["../../models/ConditionDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"ConditionDto.js","sourceRoot":"","sources":["../../models/ConditionDto.ts"],"names":[],"mappings":";;;AA6HA,IAAiB,YAAY,CAqH5B;AArHD,WAAiB,YAAY;IACzB;;OAEG;IACH,IAAY,MAKX;IALD,WAAY,MAAM;QACd,qCAA2B,CAAA;QAC3B,2BAAiB,CAAA;QACjB,2BAAiB,CAAA;QACjB,sCAA4B,CAAA;IAChC,CAAC,EALW,MAAM,GAAN,mBAAM,KAAN,mBAAM,QAKjB;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,mBAmBX;IAnBD,WAAY,mBAAmB;QAC3B,kCAAW,CAAA;QACX,sCAAe,CAAA;QACf,kCAAW,CAAA;QACX,kCAAW,CAAA;QACX,kCAAW,CAAA;QACX,wCAAiB,CAAA;QACjB,wCAAiB,CAAA;QACjB,gDAAyB,CAAA;QACzB,uDAAgC,CAAA;QAChC,sCAAe,CAAA;QACf,oCAAa,CAAA;QACb,gDAAyB,CAAA;QACzB,kEAA2C,CAAA;QAC3C,+EAAwD,CAAA;QACxD,uDAAgC,CAAA;QAChC,yDAAkC,CAAA;QAClC,sEAA+C,CAAA;QAC/C,iEAA0C,CAAA;IAC9C,CAAC,EAnBW,mBAAmB,GAAnB,gCAAmB,KAAnB,gCAAmB,QAmB9B;IACD;;OAEG;IACH,IAAY,mBAMX;IAND,WAAY,mBAAmB;QAC3B,4CAAqB,CAAA;QACrB,kDAA2B,CAAA;QAC3B,sCAAe,CAA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,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,EArHgB,YAAY,4BAAZ,YAAY,QAqH5B"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { ClientPaymentAccountRelationDto } from './ClientPaymentAccountRelationDto';
|
|
2
|
+
import type { PaymentAccountCustomFieldDataDto } from './PaymentAccountCustomFieldDataDto';
|
|
3
|
+
import type { RiskDto } from './RiskDto';
|
|
4
|
+
export type CreatePaymentAccountDto = {
|
|
5
|
+
/**
|
|
6
|
+
* External reference ID for the payment account
|
|
7
|
+
*/
|
|
8
|
+
referenceId?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Primary identifier for the payment account (e.g. PIX key, mobile number, CLABE)
|
|
11
|
+
*/
|
|
12
|
+
identifier: string;
|
|
13
|
+
/**
|
|
14
|
+
* Type of identifier (e.g. MOBILE_MONEY, PIX, CLABE, INTERNAL, CREDIT_CARD, DEBIT_CARD)
|
|
15
|
+
*/
|
|
16
|
+
identifierType?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Routing or network code for the payment method
|
|
19
|
+
*/
|
|
20
|
+
routingCode?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Name of the account holder
|
|
23
|
+
*/
|
|
24
|
+
accountHolderName?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Currency (ISO 4217 currency code)
|
|
27
|
+
*/
|
|
28
|
+
currency?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Country codes associated with the payment account (ISO 3166-1 alpha-3, maximum 20)
|
|
31
|
+
*/
|
|
32
|
+
countries?: Array<string>;
|
|
33
|
+
/**
|
|
34
|
+
* Historical risk assessments of the payment account
|
|
35
|
+
*/
|
|
36
|
+
riskHistory?: Array<RiskDto>;
|
|
37
|
+
/**
|
|
38
|
+
* Custom fields data
|
|
39
|
+
*/
|
|
40
|
+
customFields?: Record<string, PaymentAccountCustomFieldDataDto>;
|
|
41
|
+
/**
|
|
42
|
+
* List of clients associated with the payment account (maximum 50)
|
|
43
|
+
*/
|
|
44
|
+
associatedClients?: Array<ClientPaymentAccountRelationDto>;
|
|
45
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreatePaymentAccountDto.js","sourceRoot":"","sources":["../../models/CreatePaymentAccountDto.ts"],"names":[],"mappings":""}
|
|
@@ -3,12 +3,28 @@ export type CreateTransactionSourceOrDestinationClientDto = {
|
|
|
3
3
|
* Client UUID associated with the transaction
|
|
4
4
|
*/
|
|
5
5
|
client?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Generic account ID that resolves to any account type (BankAccount, BlockchainWallet, or PaymentAccount). The account must already exist. Mutually exclusive with walletAddress, bankAccountNumber, and paymentAccountIdentifier on the same side.
|
|
8
|
+
*/
|
|
9
|
+
accountId?: string;
|
|
6
10
|
/**
|
|
7
11
|
* Bank account number associated with the transaction
|
|
8
12
|
*/
|
|
9
13
|
bankAccountNumber?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Routing number for the bank account. Used alongside bankAccountNumber for composite lookup/auto-create.
|
|
16
|
+
*/
|
|
17
|
+
routingNumber?: string;
|
|
10
18
|
/**
|
|
11
19
|
* Blockchain wallet address associated with the transaction
|
|
12
20
|
*/
|
|
13
21
|
walletAddress?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Payment account identifier (phone number, PIX key, CLABE, card number, etc.). If the payment account doesn't exist, it will be auto-created. Requires paymentAccountIdentifierType.
|
|
24
|
+
*/
|
|
25
|
+
paymentAccountIdentifier?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Type of the payment account identifier. Required when paymentAccountIdentifier is provided. Examples: MOBILE_MONEY, PIX, CLABE, INTERNAL, CREDIT_CARD, DEBIT_CARD
|
|
28
|
+
*/
|
|
29
|
+
paymentAccountIdentifierType?: string;
|
|
14
30
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export type PaymentAccountCustomFieldDataDto = {
|
|
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":"PaymentAccountCustomFieldDataDto.js","sourceRoot":"","sources":["../../models/PaymentAccountCustomFieldDataDto.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type { ClientAssociatedToAccountDto } from './ClientAssociatedToAccountDto';
|
|
2
|
+
import type { PaymentAccountCustomFieldDataDto } from './PaymentAccountCustomFieldDataDto';
|
|
3
|
+
import type { RiskDto } from './RiskDto';
|
|
4
|
+
export type PaymentAccountDto = {
|
|
5
|
+
/**
|
|
6
|
+
* Unique identifier for the payment account
|
|
7
|
+
*/
|
|
8
|
+
id: string;
|
|
9
|
+
/**
|
|
10
|
+
* External reference ID for the payment account
|
|
11
|
+
*/
|
|
12
|
+
referenceId?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Timestamp when the payment account was created
|
|
15
|
+
*/
|
|
16
|
+
createdAt: string;
|
|
17
|
+
/**
|
|
18
|
+
* Timestamp when the payment account was last updated
|
|
19
|
+
*/
|
|
20
|
+
updatedAt: string;
|
|
21
|
+
/**
|
|
22
|
+
* Primary identifier for the payment account
|
|
23
|
+
*/
|
|
24
|
+
identifier: string;
|
|
25
|
+
/**
|
|
26
|
+
* Type of identifier
|
|
27
|
+
*/
|
|
28
|
+
identifierType?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Routing or network code
|
|
31
|
+
*/
|
|
32
|
+
routingCode?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Name of the account holder
|
|
35
|
+
*/
|
|
36
|
+
accountHolderName?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Currency of the payment account
|
|
39
|
+
*/
|
|
40
|
+
currency?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Countries associated with the payment account
|
|
43
|
+
*/
|
|
44
|
+
countries?: Array<string>;
|
|
45
|
+
/**
|
|
46
|
+
* Clients associated with this payment account
|
|
47
|
+
*/
|
|
48
|
+
associatedClients?: Array<ClientAssociatedToAccountDto>;
|
|
49
|
+
/**
|
|
50
|
+
* Historical risk assessments
|
|
51
|
+
*/
|
|
52
|
+
riskHistory: Array<RiskDto>;
|
|
53
|
+
/**
|
|
54
|
+
* Current risk assessment
|
|
55
|
+
*/
|
|
56
|
+
currentRisk?: RiskDto;
|
|
57
|
+
/**
|
|
58
|
+
* Custom fields data
|
|
59
|
+
*/
|
|
60
|
+
customFields?: Record<string, PaymentAccountCustomFieldDataDto>;
|
|
61
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PaymentAccountDto.js","sourceRoot":"","sources":["../../models/PaymentAccountDto.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransactionSourceOrDestinationBankAccountDto.js","sourceRoot":"","sources":["../../models/TransactionSourceOrDestinationBankAccountDto.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import type { TransactionSourceOrDestinationBankAccountDto } from './TransactionSourceOrDestinationBankAccountDto';
|
|
1
2
|
import type { TransactionSourceOrDestinationClientDto } from './TransactionSourceOrDestinationClientDto';
|
|
3
|
+
import type { TransactionSourceOrDestinationPaymentAccountDto } from './TransactionSourceOrDestinationPaymentAccountDto';
|
|
2
4
|
import type { TransactionSourceOrDestinationWalletDto } from './TransactionSourceOrDestinationWalletDto';
|
|
3
5
|
export type TransactionSourceOrDestinationDto = {
|
|
4
6
|
/**
|
|
@@ -6,15 +8,27 @@ export type TransactionSourceOrDestinationDto = {
|
|
|
6
8
|
*/
|
|
7
9
|
client?: TransactionSourceOrDestinationClientDto;
|
|
8
10
|
/**
|
|
9
|
-
* The bank account number that the transaction was sent from or to
|
|
11
|
+
* The bank account number that the transaction was sent from or to
|
|
10
12
|
*/
|
|
11
13
|
bankAccountNumber?: string;
|
|
12
14
|
/**
|
|
13
|
-
* The
|
|
15
|
+
* The resolved bank account entity linked to this transaction side
|
|
16
|
+
*/
|
|
17
|
+
bankAccount?: TransactionSourceOrDestinationBankAccountDto;
|
|
18
|
+
/**
|
|
19
|
+
* The blockchain wallet address that the transaction was sent from or to
|
|
14
20
|
*/
|
|
15
21
|
walletAddress?: string;
|
|
16
22
|
/**
|
|
17
23
|
* The resolved blockchain wallet entity linked to this transaction side
|
|
18
24
|
*/
|
|
19
25
|
wallet?: TransactionSourceOrDestinationWalletDto;
|
|
26
|
+
/**
|
|
27
|
+
* The payment account identifier (phone number, PIX key, etc.)
|
|
28
|
+
*/
|
|
29
|
+
paymentAccountIdentifier?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The resolved payment account entity linked to this transaction side
|
|
32
|
+
*/
|
|
33
|
+
paymentAccount?: TransactionSourceOrDestinationPaymentAccountDto;
|
|
20
34
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransactionSourceOrDestinationPaymentAccountDto.js","sourceRoot":"","sources":["../../models/TransactionSourceOrDestinationPaymentAccountDto.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { ClientPaymentAccountRelationDto } from './ClientPaymentAccountRelationDto';
|
|
2
|
+
import type { CreateOrUpdateRiskDto } from './CreateOrUpdateRiskDto';
|
|
3
|
+
import type { PaymentAccountCustomFieldDataDto } from './PaymentAccountCustomFieldDataDto';
|
|
4
|
+
export type UpdatePaymentAccountDto = {
|
|
5
|
+
/**
|
|
6
|
+
* External reference ID for the payment account
|
|
7
|
+
*/
|
|
8
|
+
referenceId?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Type of identifier (e.g. MOBILE_MONEY, PIX, CLABE, INTERNAL, CREDIT_CARD, DEBIT_CARD)
|
|
11
|
+
*/
|
|
12
|
+
identifierType?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Routing or network code for the payment method
|
|
15
|
+
*/
|
|
16
|
+
routingCode?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Name of the account holder
|
|
19
|
+
*/
|
|
20
|
+
accountHolderName?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Currency (ISO 4217 currency code)
|
|
23
|
+
*/
|
|
24
|
+
currency?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Country codes associated with the payment account (ISO 3166-1 alpha-3, maximum 20)
|
|
27
|
+
*/
|
|
28
|
+
countries?: Array<string>;
|
|
29
|
+
/**
|
|
30
|
+
* Custom fields data
|
|
31
|
+
*/
|
|
32
|
+
customFields?: Record<string, PaymentAccountCustomFieldDataDto>;
|
|
33
|
+
/**
|
|
34
|
+
* List of clients associated with the payment account (maximum 50)
|
|
35
|
+
*/
|
|
36
|
+
associatedClients?: Array<ClientPaymentAccountRelationDto>;
|
|
37
|
+
/**
|
|
38
|
+
* Current risk assessment of the payment account
|
|
39
|
+
*/
|
|
40
|
+
currentRisk?: CreateOrUpdateRiskDto;
|
|
41
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpdatePaymentAccountDto.js","sourceRoot":"","sources":["../../models/UpdatePaymentAccountDto.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { AssociatePaymentAccountWithClientDto } from '../models/AssociatePaymentAccountWithClientDto';
|
|
2
|
+
import type { CreatePaymentAccountDto } from '../models/CreatePaymentAccountDto';
|
|
3
|
+
import type { PaymentAccountDto } from '../models/PaymentAccountDto';
|
|
4
|
+
import type { UpdatePaymentAccountDto } from '../models/UpdatePaymentAccountDto';
|
|
5
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
6
|
+
import type { BaseHttpRequest } from '../core/BaseHttpRequest';
|
|
7
|
+
export declare class PaymentAccountsService {
|
|
8
|
+
readonly httpRequest: BaseHttpRequest;
|
|
9
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
10
|
+
/**
|
|
11
|
+
* Create a new payment account. If upsert is true, update existing payment account if found by referenceId or identifier+identifierType
|
|
12
|
+
* @param requestBody
|
|
13
|
+
* @param upsert If true, update existing payment account instead of creating if one already exists
|
|
14
|
+
* @returns PaymentAccountDto
|
|
15
|
+
* @throws ApiError
|
|
16
|
+
*/
|
|
17
|
+
createPaymentAccount(requestBody: CreatePaymentAccountDto, upsert?: boolean): CancelablePromise<PaymentAccountDto>;
|
|
18
|
+
/**
|
|
19
|
+
* Get a payment account by ID or reference ID
|
|
20
|
+
* @param paymentAccountId
|
|
21
|
+
* @returns PaymentAccountDto
|
|
22
|
+
* @throws ApiError
|
|
23
|
+
*/
|
|
24
|
+
getPaymentAccount(paymentAccountId: string): CancelablePromise<PaymentAccountDto>;
|
|
25
|
+
/**
|
|
26
|
+
* Update payment account details
|
|
27
|
+
* @param paymentAccountId
|
|
28
|
+
* @param requestBody
|
|
29
|
+
* @returns PaymentAccountDto
|
|
30
|
+
* @throws ApiError
|
|
31
|
+
*/
|
|
32
|
+
updatePaymentAccount(paymentAccountId: string, requestBody: UpdatePaymentAccountDto): CancelablePromise<PaymentAccountDto>;
|
|
33
|
+
/**
|
|
34
|
+
* Associate a payment account with one or more clients
|
|
35
|
+
* @param paymentAccountId
|
|
36
|
+
* @param requestBody
|
|
37
|
+
* @returns PaymentAccountDto
|
|
38
|
+
* @throws ApiError
|
|
39
|
+
*/
|
|
40
|
+
associatePaymentAccountWithClients(paymentAccountId: string, requestBody: AssociatePaymentAccountWithClientDto): CancelablePromise<PaymentAccountDto>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PaymentAccountsService = void 0;
|
|
4
|
+
class PaymentAccountsService {
|
|
5
|
+
httpRequest;
|
|
6
|
+
constructor(httpRequest) {
|
|
7
|
+
this.httpRequest = httpRequest;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Create a new payment account. If upsert is true, update existing payment account if found by referenceId or identifier+identifierType
|
|
11
|
+
* @param requestBody
|
|
12
|
+
* @param upsert If true, update existing payment account instead of creating if one already exists
|
|
13
|
+
* @returns PaymentAccountDto
|
|
14
|
+
* @throws ApiError
|
|
15
|
+
*/
|
|
16
|
+
createPaymentAccount(requestBody, upsert) {
|
|
17
|
+
return this.httpRequest.request({
|
|
18
|
+
method: 'POST',
|
|
19
|
+
url: '/v1/payment-accounts',
|
|
20
|
+
query: {
|
|
21
|
+
'upsert': upsert,
|
|
22
|
+
},
|
|
23
|
+
body: requestBody,
|
|
24
|
+
mediaType: 'application/json',
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Get a payment account by ID or reference ID
|
|
29
|
+
* @param paymentAccountId
|
|
30
|
+
* @returns PaymentAccountDto
|
|
31
|
+
* @throws ApiError
|
|
32
|
+
*/
|
|
33
|
+
getPaymentAccount(paymentAccountId) {
|
|
34
|
+
return this.httpRequest.request({
|
|
35
|
+
method: 'GET',
|
|
36
|
+
url: '/v1/payment-accounts/{paymentAccountId}',
|
|
37
|
+
path: {
|
|
38
|
+
'paymentAccountId': paymentAccountId,
|
|
39
|
+
},
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Update payment account details
|
|
44
|
+
* @param paymentAccountId
|
|
45
|
+
* @param requestBody
|
|
46
|
+
* @returns PaymentAccountDto
|
|
47
|
+
* @throws ApiError
|
|
48
|
+
*/
|
|
49
|
+
updatePaymentAccount(paymentAccountId, requestBody) {
|
|
50
|
+
return this.httpRequest.request({
|
|
51
|
+
method: 'PUT',
|
|
52
|
+
url: '/v1/payment-accounts/{paymentAccountId}',
|
|
53
|
+
path: {
|
|
54
|
+
'paymentAccountId': paymentAccountId,
|
|
55
|
+
},
|
|
56
|
+
body: requestBody,
|
|
57
|
+
mediaType: 'application/json',
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Associate a payment account with one or more clients
|
|
62
|
+
* @param paymentAccountId
|
|
63
|
+
* @param requestBody
|
|
64
|
+
* @returns PaymentAccountDto
|
|
65
|
+
* @throws ApiError
|
|
66
|
+
*/
|
|
67
|
+
associatePaymentAccountWithClients(paymentAccountId, requestBody) {
|
|
68
|
+
return this.httpRequest.request({
|
|
69
|
+
method: 'POST',
|
|
70
|
+
url: '/v1/payment-accounts/{paymentAccountId}/clients',
|
|
71
|
+
path: {
|
|
72
|
+
'paymentAccountId': paymentAccountId,
|
|
73
|
+
},
|
|
74
|
+
body: requestBody,
|
|
75
|
+
mediaType: 'application/json',
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.PaymentAccountsService = PaymentAccountsService;
|
|
80
|
+
//# sourceMappingURL=PaymentAccountsService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PaymentAccountsService.js","sourceRoot":"","sources":["../../services/PaymentAccountsService.ts"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json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@corsa-labs/sdk",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.36.0",
|
|
4
4
|
"description": "SDK for Corsa API",
|
|
5
5
|
"main": "dist/main.js",
|
|
6
6
|
"types": "dist/main.d.ts",
|
|
@@ -24,7 +24,8 @@
|
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/node": "^22.15.2",
|
|
26
26
|
"rimraf": "^6.0.1",
|
|
27
|
-
"semantic-release": "^25.0.3"
|
|
27
|
+
"semantic-release": "^25.0.3",
|
|
28
|
+
"typescript": "^6.0.0"
|
|
28
29
|
},
|
|
29
30
|
"publishConfig": {
|
|
30
31
|
"registry": "https://registry.npmjs.org/",
|