@corsa-labs/sdk 4.34.0 → 4.35.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.
Files changed (36) hide show
  1. package/dist/CorsaClient.d.ts +2 -0
  2. package/dist/CorsaClient.js +3 -0
  3. package/dist/CorsaClient.js.map +1 -1
  4. package/dist/index.d.ts +9 -0
  5. package/dist/index.js +7 -3
  6. package/dist/index.js.map +1 -1
  7. package/dist/models/AssociatePaymentAccountWithClientDto.d.ts +7 -0
  8. package/dist/models/AssociatePaymentAccountWithClientDto.js +3 -0
  9. package/dist/models/AssociatePaymentAccountWithClientDto.js.map +1 -0
  10. package/dist/models/ClientPaymentAccountRelationDto.d.ts +24 -0
  11. package/dist/models/ClientPaymentAccountRelationDto.js +16 -0
  12. package/dist/models/ClientPaymentAccountRelationDto.js.map +1 -0
  13. package/dist/models/CreatePaymentAccountDto.d.ts +45 -0
  14. package/dist/models/CreatePaymentAccountDto.js +3 -0
  15. package/dist/models/CreatePaymentAccountDto.js.map +1 -0
  16. package/dist/models/CreateTransactionSourceOrDestinationClientDto.d.ts +16 -0
  17. package/dist/models/PaymentAccountCustomFieldDataDto.d.ts +22 -0
  18. package/dist/models/PaymentAccountCustomFieldDataDto.js +3 -0
  19. package/dist/models/PaymentAccountCustomFieldDataDto.js.map +1 -0
  20. package/dist/models/PaymentAccountDto.d.ts +61 -0
  21. package/dist/models/PaymentAccountDto.js +3 -0
  22. package/dist/models/PaymentAccountDto.js.map +1 -0
  23. package/dist/models/TransactionSourceOrDestinationBankAccountDto.d.ts +6 -0
  24. package/dist/models/TransactionSourceOrDestinationBankAccountDto.js +3 -0
  25. package/dist/models/TransactionSourceOrDestinationBankAccountDto.js.map +1 -0
  26. package/dist/models/TransactionSourceOrDestinationDto.d.ts +16 -2
  27. package/dist/models/TransactionSourceOrDestinationPaymentAccountDto.d.ts +6 -0
  28. package/dist/models/TransactionSourceOrDestinationPaymentAccountDto.js +3 -0
  29. package/dist/models/TransactionSourceOrDestinationPaymentAccountDto.js.map +1 -0
  30. package/dist/models/UpdatePaymentAccountDto.d.ts +41 -0
  31. package/dist/models/UpdatePaymentAccountDto.js +3 -0
  32. package/dist/models/UpdatePaymentAccountDto.js.map +1 -0
  33. package/dist/services/PaymentAccountsService.d.ts +41 -0
  34. package/dist/services/PaymentAccountsService.js +80 -0
  35. package/dist/services/PaymentAccountsService.js.map +1 -0
  36. package/package.json +1 -1
@@ -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;
@@ -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);
@@ -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,OAAO,CAAiB;IACxB,QAAQ,CAAkB;IAC1B,KAAK,CAAe;IACpB,aAAa,CAAuB;IACpC,QAAQ,CAAkB;IAC1B,MAAM,CAAgB;IACtB,YAAY,CAAsB;IAClC,WAAW,CAAqB;IAChC,OAAO,CAAkB;IACzC,YAAY,MAA+B,EAAE,cAAsC,mCAAgB;QAC/F,IAAI,CAAC,OAAO,GAAG,IAAI,WAAW,CAAC;YAC3B,IAAI,EAAE,MAAM,EAAE,IAAI,IAAI,EAAE;YACxB,OAAO,EAAE,MAAM,EAAE,OAAO,IAAI,OAAO;YACnC,gBAAgB,EAAE,MAAM,EAAE,gBAAgB,IAAI,KAAK;YACnD,WAAW,EAAE,MAAM,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AAG,IAAI,+BAAc,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAChD,IAAI,CAAC,eAAe,GAAG,IAAI,+CAAsB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAChE,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,QAAQ,GAAG,IAAI,iCAAe,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAClD,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;AAnDD,kCAmDC;AAGD,0CAA0C;AAC7B,QAAA,gBAAgB,GAAG,WAAW,CAAC"}
package/dist/index.d.ts CHANGED
@@ -11,6 +11,7 @@ export type { AlertCustomFieldDataDto } 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,12 +85,15 @@ 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';
@@ -112,6 +119,7 @@ export { ClientAssociatedToAccountDto } from './models/ClientAssociatedToAccount
112
119
  export { ClientAssociatedToBlockchainWalletDto } from './models/ClientAssociatedToBlockchainWalletDto';
113
120
  export { ClientBankAccountRelationDto } from './models/ClientBankAccountRelationDto';
114
121
  export { ClientBlockchainWalletRelationDto } from './models/ClientBlockchainWalletRelationDto';
122
+ export { ClientPaymentAccountRelationDto } from './models/ClientPaymentAccountRelationDto';
115
123
  export { ConditionDto } from './models/ConditionDto';
116
124
  export { CorporateClientAdverseMediaDto } from './models/CorporateClientAdverseMediaDto';
117
125
  export { CorporateClientBusinessDto } from './models/CorporateClientBusinessDto';
@@ -178,6 +186,7 @@ export { ClientsService } from './services/ClientsService';
178
186
  export { DepositsService } from './services/DepositsService';
179
187
  export { EvaluationService } from './services/EvaluationService';
180
188
  export { MembersService } from './services/MembersService';
189
+ export { PaymentAccountsService } from './services/PaymentAccountsService';
181
190
  export { PlatformService } from './services/PlatformService';
182
191
  export { RuleTemplatesService } from './services/RuleTemplatesService';
183
192
  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.CreateTradeOperationDto = exports.CreateOrUpdateRiskDto = 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.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.ActionConfigDto = exports.OpenAPI = exports.CancelError = exports.CancelablePromise = exports.BaseHttpRequest = exports.ApiError = exports.ComplianceClient = exports.CorsaClient = void 0;
4
- exports.TradesService = exports.SessionsService = exports.RulesService = exports.RuleTemplatesService = exports.PlatformService = 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 = void 0;
5
- exports.WithdrawalsService = exports.TransactionsService = void 0;
3
+ exports.CreateOrUpdateRiskDto = 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.ActionConfigDto = exports.OpenAPI = exports.CancelError = exports.CancelablePromise = exports.BaseHttpRequest = exports.ApiError = exports.ComplianceClient = exports.CorsaClient = void 0;
4
+ exports.RulesService = 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 = void 0;
5
+ exports.WithdrawalsService = exports.TransactionsService = exports.TradesService = exports.SessionsService = void 0;
6
6
  /* generated using openapi-typescript-codegen -- do not edit */
7
7
  /* istanbul ignore file */
8
8
  /* tslint:disable */
@@ -63,6 +63,8 @@ var ClientBankAccountRelationDto_1 = require("./models/ClientBankAccountRelation
63
63
  Object.defineProperty(exports, "ClientBankAccountRelationDto", { enumerable: true, get: function () { return ClientBankAccountRelationDto_1.ClientBankAccountRelationDto; } });
64
64
  var ClientBlockchainWalletRelationDto_1 = require("./models/ClientBlockchainWalletRelationDto");
65
65
  Object.defineProperty(exports, "ClientBlockchainWalletRelationDto", { enumerable: true, get: function () { return ClientBlockchainWalletRelationDto_1.ClientBlockchainWalletRelationDto; } });
66
+ var ClientPaymentAccountRelationDto_1 = require("./models/ClientPaymentAccountRelationDto");
67
+ Object.defineProperty(exports, "ClientPaymentAccountRelationDto", { enumerable: true, get: function () { return ClientPaymentAccountRelationDto_1.ClientPaymentAccountRelationDto; } });
66
68
  var ConditionDto_1 = require("./models/ConditionDto");
67
69
  Object.defineProperty(exports, "ConditionDto", { enumerable: true, get: function () { return ConditionDto_1.ConditionDto; } });
68
70
  var CorporateClientAdverseMediaDto_1 = require("./models/CorporateClientAdverseMediaDto");
@@ -195,6 +197,8 @@ var EvaluationService_1 = require("./services/EvaluationService");
195
197
  Object.defineProperty(exports, "EvaluationService", { enumerable: true, get: function () { return EvaluationService_1.EvaluationService; } });
196
198
  var MembersService_1 = require("./services/MembersService");
197
199
  Object.defineProperty(exports, "MembersService", { enumerable: true, get: function () { return MembersService_1.MembersService; } });
200
+ var PaymentAccountsService_1 = require("./services/PaymentAccountsService");
201
+ Object.defineProperty(exports, "PaymentAccountsService", { enumerable: true, get: function () { return PaymentAccountsService_1.PaymentAccountsService; } });
198
202
  var PlatformService_1 = require("./services/PlatformService");
199
203
  Object.defineProperty(exports, "PlatformService", { enumerable: true, get: function () { return PlatformService_1.PlatformService; } });
200
204
  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;AAAlC,oGAAA,QAAQ,OAAA;AACjB,0DAAyD;AAAhD,kHAAA,eAAe,OAAA;AACxB,8DAA0E;AAAjE,sHAAA,iBAAiB,OA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AAA5D,0HAAA,mBAAmB,OAAA;AAC5B,oEAAmE;AAA1D,wHAAA,kBAAkB,OAAA"}
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AssociatePaymentAccountWithClientDto.js.map
@@ -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"}
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=CreatePaymentAccountDto.js.map
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=PaymentAccountCustomFieldDataDto.js.map
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=PaymentAccountDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaymentAccountDto.js","sourceRoot":"","sources":["../../models/PaymentAccountDto.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export type TransactionSourceOrDestinationBankAccountDto = {
2
+ /**
3
+ * Bank account ID
4
+ */
5
+ id: string;
6
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=TransactionSourceOrDestinationBankAccountDto.js.map
@@ -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 - if the bank account doesn't exist in the database, it will be created and associated with the provided client if supplied
11
+ * The bank account number that the transaction was sent from or to
10
12
  */
11
13
  bankAccountNumber?: string;
12
14
  /**
13
- * The blockchain wallet address that the transaction was sent from or to - if the blockchain wallet doesn't exist in the database, it will be created and associated with the provided client if supplied
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,6 @@
1
+ export type TransactionSourceOrDestinationPaymentAccountDto = {
2
+ /**
3
+ * Payment account ID
4
+ */
5
+ id: string;
6
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=TransactionSourceOrDestinationPaymentAccountDto.js.map
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=UpdatePaymentAccountDto.js.map
@@ -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"],"names":[],"mappings":";;;AAUA,MAAa,sBAAsB;IACH;IAA5B,YAA4B,WAA4B;QAA5B,gBAAW,GAAX,WAAW,CAAiB;IAAG,CAAC;IAC5D;;;;;;OAMG;IACI,oBAAoB,CACvB,WAAoC,EACpC,MAAgB;QAEhB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,sBAAsB;YAC3B,KAAK,EAAE;gBACH,QAAQ,EAAE,MAAM;aACnB;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,iBAAiB,CACpB,gBAAwB;QAExB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,yCAAyC;YAC9C,IAAI,EAAE;gBACF,kBAAkB,EAAE,gBAAgB;aACvC;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,oBAAoB,CACvB,gBAAwB,EACxB,WAAoC;QAEpC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,yCAAyC;YAC9C,IAAI,EAAE;gBACF,kBAAkB,EAAE,gBAAgB;aACvC;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,kCAAkC,CACrC,gBAAwB,EACxB,WAAiD;QAEjD,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,iDAAiD;YACtD,IAAI,EAAE;gBACF,kBAAkB,EAAE,gBAAgB;aACvC;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;CACJ;AAlFD,wDAkFC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corsa-labs/sdk",
3
- "version": "4.34.0",
3
+ "version": "4.35.0",
4
4
  "description": "SDK for Corsa API",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",