@corsa-labs/sdk 3.7.0 → 3.8.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 (53) hide show
  1. package/dist/ComplianceClient.d.ts +4 -0
  2. package/dist/ComplianceClient.js +6 -0
  3. package/dist/ComplianceClient.js.map +1 -1
  4. package/dist/index.d.ts +14 -1
  5. package/dist/index.js +5 -1
  6. package/dist/index.js.map +1 -1
  7. package/dist/models/AssociateBankAccountWithClientDto.d.ts +7 -0
  8. package/dist/models/AssociateBankAccountWithClientDto.js +3 -0
  9. package/dist/models/AssociateBankAccountWithClientDto.js.map +1 -0
  10. package/dist/models/AssociateBlockchainWalletWithClientDto.d.ts +7 -0
  11. package/dist/models/AssociateBlockchainWalletWithClientDto.js +3 -0
  12. package/dist/models/AssociateBlockchainWalletWithClientDto.js.map +1 -0
  13. package/dist/models/BankAccountAssociationResponseDto.d.ts +14 -0
  14. package/dist/models/BankAccountAssociationResponseDto.js +3 -0
  15. package/dist/models/BankAccountAssociationResponseDto.js.map +1 -0
  16. package/dist/models/BankAccountDto.d.ts +66 -0
  17. package/dist/models/{TransactionBankAccountDto.js → BankAccountDto.js} +1 -1
  18. package/dist/models/BankAccountDto.js.map +1 -0
  19. package/dist/models/BlockchainWalletAssociationResponseDto.d.ts +14 -0
  20. package/dist/models/BlockchainWalletAssociationResponseDto.js +3 -0
  21. package/dist/models/BlockchainWalletAssociationResponseDto.js.map +1 -0
  22. package/dist/models/BlockchainWalletDto.d.ts +46 -0
  23. package/dist/models/BlockchainWalletDto.js +3 -0
  24. package/dist/models/BlockchainWalletDto.js.map +1 -0
  25. package/dist/models/ClientBankAccountRelationDto.d.ts +10 -0
  26. package/dist/models/ClientBankAccountRelationDto.js +3 -0
  27. package/dist/models/ClientBankAccountRelationDto.js.map +1 -0
  28. package/dist/models/ClientBlockchainWalletRelationDto.d.ts +10 -0
  29. package/dist/models/ClientBlockchainWalletRelationDto.js +3 -0
  30. package/dist/models/ClientBlockchainWalletRelationDto.js.map +1 -0
  31. package/dist/models/CreateBankAccountDto.d.ts +34 -0
  32. package/dist/models/CreateBankAccountDto.js +3 -0
  33. package/dist/models/CreateBankAccountDto.js.map +1 -0
  34. package/dist/models/CreateBlockchainWalletDto.d.ts +14 -0
  35. package/dist/models/CreateBlockchainWalletDto.js +3 -0
  36. package/dist/models/CreateBlockchainWalletDto.js.map +1 -0
  37. package/dist/models/CreateTransactionSourceOrDestinationClientDto.d.ts +4 -5
  38. package/dist/models/TransactionSourceOrDestinationDto.d.ts +4 -5
  39. package/dist/models/UpdateBankAccountDto.d.ts +34 -0
  40. package/dist/models/UpdateBankAccountDto.js +3 -0
  41. package/dist/models/UpdateBankAccountDto.js.map +1 -0
  42. package/dist/models/UpdateBlockchainWalletDto.d.ts +14 -0
  43. package/dist/models/UpdateBlockchainWalletDto.js +3 -0
  44. package/dist/models/UpdateBlockchainWalletDto.js.map +1 -0
  45. package/dist/services/BankAccountsService.d.ts +41 -0
  46. package/dist/services/BankAccountsService.js +76 -0
  47. package/dist/services/BankAccountsService.js.map +1 -0
  48. package/dist/services/BlockchainWalletsService.d.ts +41 -0
  49. package/dist/services/BlockchainWalletsService.js +76 -0
  50. package/dist/services/BlockchainWalletsService.js.map +1 -0
  51. package/package.json +2 -2
  52. package/dist/models/TransactionBankAccountDto.d.ts +0 -18
  53. package/dist/models/TransactionBankAccountDto.js.map +0 -1
@@ -1,6 +1,8 @@
1
1
  import type { BaseHttpRequest } from './core/BaseHttpRequest';
2
2
  import type { OpenAPIConfig } from './core/OpenAPI';
3
3
  import { AlertsService } from './services/AlertsService';
4
+ import { BankAccountsService } from './services/BankAccountsService';
5
+ import { BlockchainWalletsService } from './services/BlockchainWalletsService';
4
6
  import { CasesService } from './services/CasesService';
5
7
  import { ClientsService } from './services/ClientsService';
6
8
  import { DepositsService } from './services/DepositsService';
@@ -12,6 +14,8 @@ import { WithdrawalsService } from './services/WithdrawalsService';
12
14
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
13
15
  export declare class ComplianceClient {
14
16
  readonly alerts: AlertsService;
17
+ readonly bankAccounts: BankAccountsService;
18
+ readonly blockchainWallets: BlockchainWalletsService;
15
19
  readonly cases: CasesService;
16
20
  readonly clients: ClientsService;
17
21
  readonly deposits: DepositsService;
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ComplianceClient = void 0;
4
4
  const FetchHttpRequest_1 = require("./core/FetchHttpRequest");
5
5
  const AlertsService_1 = require("./services/AlertsService");
6
+ const BankAccountsService_1 = require("./services/BankAccountsService");
7
+ const BlockchainWalletsService_1 = require("./services/BlockchainWalletsService");
6
8
  const CasesService_1 = require("./services/CasesService");
7
9
  const ClientsService_1 = require("./services/ClientsService");
8
10
  const DepositsService_1 = require("./services/DepositsService");
@@ -13,6 +15,8 @@ const TransactionsService_1 = require("./services/TransactionsService");
13
15
  const WithdrawalsService_1 = require("./services/WithdrawalsService");
14
16
  class ComplianceClient {
15
17
  alerts;
18
+ bankAccounts;
19
+ blockchainWallets;
16
20
  cases;
17
21
  clients;
18
22
  deposits;
@@ -35,6 +39,8 @@ class ComplianceClient {
35
39
  ENCODE_PATH: config?.ENCODE_PATH,
36
40
  });
37
41
  this.alerts = new AlertsService_1.AlertsService(this.request);
42
+ this.bankAccounts = new BankAccountsService_1.BankAccountsService(this.request);
43
+ this.blockchainWallets = new BlockchainWalletsService_1.BlockchainWalletsService(this.request);
38
44
  this.cases = new CasesService_1.CasesService(this.request);
39
45
  this.clients = new ClientsService_1.ClientsService(this.request);
40
46
  this.deposits = new DepositsService_1.DepositsService(this.request);
@@ -1 +1 @@
1
- {"version":3,"file":"ComplianceClient.js","sourceRoot":"","sources":["../ComplianceClient.ts"],"names":[],"mappings":";;;AAMA,8DAA2D;AAC3D,4DAAyD;AACzD,0DAAuD;AACvD,8DAA2D;AAC3D,gEAA6D;AAC7D,4DAAyD;AACzD,8DAA2D;AAC3D,4DAAyD;A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AAE,MAAM,EAAE,WAAW;SACnC,CAAC,CAAC;QACH,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,iBAAiB,GAAG,IAAI,mDAAwB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpE,IAAI,CAAC,KAAK,GAAG,IAAI,2BAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5C,IAAI,CAAC,OAAO,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,MAAM,GAAG,IAAI,6BAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9C,IAAI,CAAC,OAAO,GAAG,IAAI,+BAAc,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAChD,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;AArCD,4CAqCC"}
package/dist/index.d.ts CHANGED
@@ -11,12 +11,20 @@ export type { AlertDecisionDto } from './models/AlertDecisionDto';
11
11
  export { AlertDto } from './models/AlertDto';
12
12
  export type { AlertSourceDto } from './models/AlertSourceDto';
13
13
  export { AlertStatusData } from './models/AlertStatusData';
14
+ export type { AssociateBankAccountWithClientDto } from './models/AssociateBankAccountWithClientDto';
15
+ export type { AssociateBlockchainWalletWithClientDto } from './models/AssociateBlockchainWalletWithClientDto';
14
16
  export type { AssociatedAlertDto } from './models/AssociatedAlertDto';
15
17
  export type { AssociatedClientDto } from './models/AssociatedClientDto';
16
18
  export type { AssociatedTransactionDto } from './models/AssociatedTransactionDto';
19
+ export type { BankAccountAssociationResponseDto } from './models/BankAccountAssociationResponseDto';
20
+ export type { BankAccountDto } from './models/BankAccountDto';
21
+ export type { BlockchainWalletAssociationResponseDto } from './models/BlockchainWalletAssociationResponseDto';
22
+ export type { BlockchainWalletDto } from './models/BlockchainWalletDto';
17
23
  export { CaseDto } from './models/CaseDto';
18
24
  export type { CaseInvestigationData } from './models/CaseInvestigationData';
19
25
  export { CaseStatusData } from './models/CaseStatusData';
26
+ export type { ClientBankAccountRelationDto } from './models/ClientBankAccountRelationDto';
27
+ export type { ClientBlockchainWalletRelationDto } from './models/ClientBlockchainWalletRelationDto';
20
28
  export { ClientRiskDto } from './models/ClientRiskDto';
21
29
  export type { CorporateClientAddressDto } from './models/CorporateClientAddressDto';
22
30
  export type { CorporateClientAddressLineDto } from './models/CorporateClientAddressLineDto';
@@ -27,6 +35,8 @@ export { CorporateClientDto } from './models/CorporateClientDto';
27
35
  export type { CorporateClientGeneralDto } from './models/CorporateClientGeneralDto';
28
36
  export { CorporateMemberDto } from './models/CorporateMemberDto';
29
37
  export { CreateAlertDto } from './models/CreateAlertDto';
38
+ export type { CreateBankAccountDto } from './models/CreateBankAccountDto';
39
+ export type { CreateBlockchainWalletDto } from './models/CreateBlockchainWalletDto';
30
40
  export { CreateCaseDto } from './models/CreateCaseDto';
31
41
  export { CreateCorporateClientDto } from './models/CreateCorporateClientDto';
32
42
  export { CreateCorporateMemberDto } from './models/CreateCorporateMemberDto';
@@ -55,13 +65,14 @@ export type { PoliticalExposureDto } from './models/PoliticalExposureDto';
55
65
  export type { SanctionsDto } from './models/SanctionsDto';
56
66
  export { TradeOperationDto } from './models/TradeOperationDto';
57
67
  export type { TransactionAmountDto } from './models/TransactionAmountDto';
58
- export type { TransactionBankAccountDto } from './models/TransactionBankAccountDto';
59
68
  export type { TransactionCustomFieldDto } from './models/TransactionCustomFieldDto';
60
69
  export { TransactionDto } from './models/TransactionDto';
61
70
  export type { TransactionSourceOrDestinationClientDto } from './models/TransactionSourceOrDestinationClientDto';
62
71
  export type { TransactionSourceOrDestinationDto } from './models/TransactionSourceOrDestinationDto';
63
72
  export { TransactionStatusDto } from './models/TransactionStatusDto';
64
73
  export { UpdateAlertDto } from './models/UpdateAlertDto';
74
+ export type { UpdateBankAccountDto } from './models/UpdateBankAccountDto';
75
+ export type { UpdateBlockchainWalletDto } from './models/UpdateBlockchainWalletDto';
65
76
  export { UpdateCaseDto } from './models/UpdateCaseDto';
66
77
  export type { UpdateCaseInvestigationDto } from './models/UpdateCaseInvestigationDto';
67
78
  export { UpdateCaseStatusDto } from './models/UpdateCaseStatusDto';
@@ -72,6 +83,8 @@ export { UpdateIndividualClientDto } from './models/UpdateIndividualClientDto';
72
83
  export { UpdateIndividualMemberDto } from './models/UpdateIndividualMemberDto';
73
84
  export type { WithdrawalOperationDto } from './models/WithdrawalOperationDto';
74
85
  export { AlertsService } from './services/AlertsService';
86
+ export { BankAccountsService } from './services/BankAccountsService';
87
+ export { BlockchainWalletsService } from './services/BlockchainWalletsService';
75
88
  export { CasesService } from './services/CasesService';
76
89
  export { ClientsService } from './services/ClientsService';
77
90
  export { DepositsService } from './services/DepositsService';
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WithdrawalsService = exports.TransactionsService = exports.TradesService = exports.MembersService = exports.HealthService = exports.DepositsService = exports.ClientsService = exports.CasesService = exports.AlertsService = exports.UpdateIndividualMemberDto = exports.UpdateIndividualClientDto = exports.UpdateIdentityDocumentDto = exports.UpdateCorporateMemberDto = exports.UpdateCorporateClientDto = exports.UpdateCaseStatusDto = exports.UpdateCaseDto = exports.UpdateAlertDto = exports.TransactionStatusDto = exports.TransactionDto = exports.TradeOperationDto = exports.IndividualMemberDto = exports.IndividualClientGeneralInformationDto = exports.IndividualClientDto = exports.IndividualClientCustomFieldDataDto = exports.IdentityDocumentDto = exports.CreateTradeOperationDto = exports.CreateOrUpdateRiskDto = exports.CreateIndividualMemberDto = exports.CreateIndividualClientDto = exports.CreateIdentityDocumentDto = exports.CreateCorporateMemberDto = exports.CreateCorporateClientDto = exports.CreateCaseDto = exports.CreateAlertDto = exports.CorporateMemberDto = exports.CorporateClientDto = exports.CorporateClientCustomFieldDataDto = exports.ClientRiskDto = exports.CaseStatusData = exports.CaseDto = exports.AlertStatusData = exports.AlertDto = exports.OpenAPI = exports.CancelError = exports.CancelablePromise = exports.BaseHttpRequest = exports.ApiError = exports.ComplianceClient = void 0;
3
+ exports.WithdrawalsService = exports.TransactionsService = exports.TradesService = exports.MembersService = exports.HealthService = exports.DepositsService = exports.ClientsService = exports.CasesService = exports.BlockchainWalletsService = exports.BankAccountsService = exports.AlertsService = exports.UpdateIndividualMemberDto = exports.UpdateIndividualClientDto = exports.UpdateIdentityDocumentDto = exports.UpdateCorporateMemberDto = exports.UpdateCorporateClientDto = exports.UpdateCaseStatusDto = exports.UpdateCaseDto = exports.UpdateAlertDto = exports.TransactionStatusDto = exports.TransactionDto = exports.TradeOperationDto = exports.IndividualMemberDto = exports.IndividualClientGeneralInformationDto = exports.IndividualClientDto = exports.IndividualClientCustomFieldDataDto = exports.IdentityDocumentDto = exports.CreateTradeOperationDto = exports.CreateOrUpdateRiskDto = exports.CreateIndividualMemberDto = exports.CreateIndividualClientDto = exports.CreateIdentityDocumentDto = exports.CreateCorporateMemberDto = exports.CreateCorporateClientDto = exports.CreateCaseDto = exports.CreateAlertDto = exports.CorporateMemberDto = exports.CorporateClientDto = exports.CorporateClientCustomFieldDataDto = exports.ClientRiskDto = exports.CaseStatusData = exports.CaseDto = exports.AlertStatusData = exports.AlertDto = exports.OpenAPI = exports.CancelError = exports.CancelablePromise = exports.BaseHttpRequest = exports.ApiError = exports.ComplianceClient = void 0;
4
4
  /* generated using openapi-typescript-codegen -- do not edit */
5
5
  /* istanbul ignore file */
6
6
  /* tslint:disable */
@@ -84,6 +84,10 @@ var UpdateIndividualMemberDto_1 = require("./models/UpdateIndividualMemberDto");
84
84
  Object.defineProperty(exports, "UpdateIndividualMemberDto", { enumerable: true, get: function () { return UpdateIndividualMemberDto_1.UpdateIndividualMemberDto; } });
85
85
  var AlertsService_1 = require("./services/AlertsService");
86
86
  Object.defineProperty(exports, "AlertsService", { enumerable: true, get: function () { return AlertsService_1.AlertsService; } });
87
+ var BankAccountsService_1 = require("./services/BankAccountsService");
88
+ Object.defineProperty(exports, "BankAccountsService", { enumerable: true, get: function () { return BankAccountsService_1.BankAccountsService; } });
89
+ var BlockchainWalletsService_1 = require("./services/BlockchainWalletsService");
90
+ Object.defineProperty(exports, "BlockchainWalletsService", { enumerable: true, get: function () { return BlockchainWalletsService_1.BlockchainWalletsService; } });
87
91
  var CasesService_1 = require("./services/CasesService");
88
92
  Object.defineProperty(exports, "CasesService", { enumerable: true, get: function () { return CasesService_1.CasesService; } });
89
93
  var ClientsService_1 = require("./services/ClientsService");
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,uDAAsD;AAA7C,oHAAA,gBAAgB,OAAA;AAEzB,4CAA2C;AAAlC,oGAAA,QAAQ,OAAA;AACjB,0DAAyD;AAAhD,kHAAA,eAAe,OAAA;AACxB,8DAA0E;AAAjE,sHAAA,iBAAiB,OAAA;AAAE,gHAAA,WAAW,OAAA;AACvC,0CAAyC;AAAhC,kGAAA,OAAO,OAAA;AAOhB,8CAA6C;AAApC,oGAAA,QAAQ,OAAA;AAEjB,4DAA2D;AAAlD,kHAAA,eAAe,OAAA;AAIxB,4CAA2C;AAAlC,kGAAA,OAAO,OAAA;AAEhB,0DAAyD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AAA;AACxB,0DAAyD;AAAhD,8GAAA,aAAa,OAAA;AACtB,4DAA2D;AAAlD,gHAAA,cAAc,OAAA;AACvB,0DAAyD;AAAhD,8GAAA,aAAa,OAAA;AACtB,sEAAqE;AAA5D,0HAAA,mBAAmB,OAAA;AAC5B,oEAAmE;AAA1D,wHAAA,kBAAkB,OAAA"}
@@ -0,0 +1,7 @@
1
+ import type { ClientBankAccountRelationDto } from './ClientBankAccountRelationDto';
2
+ export type AssociateBankAccountWithClientDto = {
3
+ /**
4
+ * List of clients to associate with the bank account
5
+ */
6
+ clients: Array<ClientBankAccountRelationDto>;
7
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AssociateBankAccountWithClientDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AssociateBankAccountWithClientDto.js","sourceRoot":"","sources":["../../models/AssociateBankAccountWithClientDto.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import type { ClientBlockchainWalletRelationDto } from './ClientBlockchainWalletRelationDto';
2
+ export type AssociateBlockchainWalletWithClientDto = {
3
+ /**
4
+ * List of clients to associate with the blockchain wallet
5
+ */
6
+ clients: Array<ClientBlockchainWalletRelationDto>;
7
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AssociateBlockchainWalletWithClientDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AssociateBlockchainWalletWithClientDto.js","sourceRoot":"","sources":["../../models/AssociateBlockchainWalletWithClientDto.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ export type BankAccountAssociationResponseDto = {
2
+ /**
3
+ * Bank account ID that was updated
4
+ */
5
+ bankAccountId: string;
6
+ /**
7
+ * List of client IDs that are now associated with the bank account
8
+ */
9
+ associatedClientIds: Array<string>;
10
+ /**
11
+ * Total number of clients associated with this bank account
12
+ */
13
+ totalAssociatedClients: number;
14
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=BankAccountAssociationResponseDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BankAccountAssociationResponseDto.js","sourceRoot":"","sources":["../../models/BankAccountAssociationResponseDto.ts"],"names":[],"mappings":""}
@@ -0,0 +1,66 @@
1
+ export type BankAccountDto = {
2
+ /**
3
+ * Unique identifier for the bank account
4
+ */
5
+ id: string;
6
+ /**
7
+ * External reference ID for the bank account
8
+ */
9
+ referenceId?: string;
10
+ /**
11
+ * Timestamp when the bank account was created
12
+ */
13
+ createdAt: string;
14
+ /**
15
+ * Timestamp when the bank account was last updated
16
+ */
17
+ updatedAt: string;
18
+ /**
19
+ * Name of the bank
20
+ */
21
+ bankName?: string;
22
+ /**
23
+ * Bank account number
24
+ */
25
+ accountNumber: string;
26
+ /**
27
+ * Bank routing number
28
+ */
29
+ routingNumber?: string;
30
+ /**
31
+ * Name of the account holder
32
+ */
33
+ accountHolderName?: string;
34
+ /**
35
+ * Type of bank account
36
+ */
37
+ accountType?: string;
38
+ /**
39
+ * Currency of the bank account
40
+ */
41
+ currency?: string;
42
+ /**
43
+ * Countries associated with the bank account
44
+ */
45
+ countries?: Array<string>;
46
+ /**
47
+ * Clients associated with this bank account
48
+ */
49
+ clients?: Array<{
50
+ id?: string;
51
+ referenceId?: string;
52
+ /**
53
+ * Custom name for this client-bank account relationship
54
+ */
55
+ name?: string;
56
+ }>;
57
+ /**
58
+ * Current risk assessment for the bank account
59
+ */
60
+ currentRisk?: {
61
+ level?: string;
62
+ score?: number;
63
+ assessedAt?: string;
64
+ reason?: string;
65
+ };
66
+ };
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=TransactionBankAccountDto.js.map
3
+ //# sourceMappingURL=BankAccountDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BankAccountDto.js","sourceRoot":"","sources":["../../models/BankAccountDto.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ export type BlockchainWalletAssociationResponseDto = {
2
+ /**
3
+ * Blockchain wallet ID that was updated
4
+ */
5
+ blockchainWalletId: string;
6
+ /**
7
+ * List of client IDs that are now associated with the blockchain wallet
8
+ */
9
+ associatedClientIds: Array<string>;
10
+ /**
11
+ * Total number of clients associated with this blockchain wallet
12
+ */
13
+ totalAssociatedClients: number;
14
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=BlockchainWalletAssociationResponseDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BlockchainWalletAssociationResponseDto.js","sourceRoot":"","sources":["../../models/BlockchainWalletAssociationResponseDto.ts"],"names":[],"mappings":""}
@@ -0,0 +1,46 @@
1
+ export type BlockchainWalletDto = {
2
+ /**
3
+ * Unique identifier for the blockchain wallet
4
+ */
5
+ id: string;
6
+ /**
7
+ * External reference ID for the blockchain wallet
8
+ */
9
+ referenceId?: string;
10
+ /**
11
+ * Timestamp when the wallet was created
12
+ */
13
+ createdAt: string;
14
+ /**
15
+ * Timestamp when the wallet was last updated
16
+ */
17
+ updatedAt: string;
18
+ /**
19
+ * Blockchain network or chain identifier
20
+ */
21
+ chain?: string;
22
+ /**
23
+ * Wallet address on the blockchain
24
+ */
25
+ address: string;
26
+ /**
27
+ * Clients associated with this blockchain wallet
28
+ */
29
+ clients?: Array<{
30
+ id?: string;
31
+ referenceId?: string;
32
+ /**
33
+ * Custom name for this client-wallet relationship
34
+ */
35
+ name?: string;
36
+ }>;
37
+ /**
38
+ * Current risk assessment for the blockchain wallet
39
+ */
40
+ currentRisk?: {
41
+ level?: string;
42
+ score?: number;
43
+ assessedAt?: string;
44
+ reason?: string;
45
+ };
46
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=BlockchainWalletDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BlockchainWalletDto.js","sourceRoot":"","sources":["../../models/BlockchainWalletDto.ts"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ export type ClientBankAccountRelationDto = {
2
+ /**
3
+ * Client ID or reference ID to associate with the bank account
4
+ */
5
+ clientId: string;
6
+ /**
7
+ * Custom name for this client-bank account relationship
8
+ */
9
+ name?: string;
10
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ClientBankAccountRelationDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClientBankAccountRelationDto.js","sourceRoot":"","sources":["../../models/ClientBankAccountRelationDto.ts"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ export type ClientBlockchainWalletRelationDto = {
2
+ /**
3
+ * Client ID or reference ID to associate with the blockchain wallet
4
+ */
5
+ clientId: string;
6
+ /**
7
+ * Custom name for this client-wallet relationship
8
+ */
9
+ name?: string;
10
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ClientBlockchainWalletRelationDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClientBlockchainWalletRelationDto.js","sourceRoot":"","sources":["../../models/ClientBlockchainWalletRelationDto.ts"],"names":[],"mappings":""}
@@ -0,0 +1,34 @@
1
+ export type CreateBankAccountDto = {
2
+ /**
3
+ * External reference ID for the bank account
4
+ */
5
+ referenceId?: string;
6
+ /**
7
+ * Name of the bank
8
+ */
9
+ bankName?: string;
10
+ /**
11
+ * Unique National Bank Account Number
12
+ */
13
+ accountNumber: string;
14
+ /**
15
+ * Bank routing number
16
+ */
17
+ routingNumber?: string;
18
+ /**
19
+ * Name of the account holder
20
+ */
21
+ accountHolderName?: string;
22
+ /**
23
+ * Type of bank account
24
+ */
25
+ accountType?: string;
26
+ /**
27
+ * Currency of the bank account (ISO 4217 currency code)
28
+ */
29
+ currency?: string;
30
+ /**
31
+ * Country codes associated with the bank account (ISO 3166-1 alpha-3)
32
+ */
33
+ countries?: Array<string>;
34
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=CreateBankAccountDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateBankAccountDto.js","sourceRoot":"","sources":["../../models/CreateBankAccountDto.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ export type CreateBlockchainWalletDto = {
2
+ /**
3
+ * External reference ID for the blockchain wallet
4
+ */
5
+ referenceId?: string;
6
+ /**
7
+ * Blockchain network or chain identifier
8
+ */
9
+ chain?: string;
10
+ /**
11
+ * Wallet address on the blockchain
12
+ */
13
+ address: string;
14
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=CreateBlockchainWalletDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateBlockchainWalletDto.js","sourceRoot":"","sources":["../../models/CreateBlockchainWalletDto.ts"],"names":[],"mappings":""}
@@ -1,15 +1,14 @@
1
- import type { TransactionBankAccountDto } from './TransactionBankAccountDto';
2
1
  export type CreateTransactionSourceOrDestinationClientDto = {
3
2
  /**
4
3
  * Client UUID associated with the transaction
5
4
  */
6
5
  client?: string;
7
6
  /**
8
- * Blockchain wallet address
7
+ * Bank account number associated with the transaction
9
8
  */
10
- walletAddress?: string;
9
+ bankAccountNumber?: string;
11
10
  /**
12
- * Bank account information associated with the transaction
11
+ * Blockchain wallet address associated with the transaction
13
12
  */
14
- bankAccount?: TransactionBankAccountDto;
13
+ walletAddress?: string;
15
14
  };
@@ -1,4 +1,3 @@
1
- import type { TransactionBankAccountDto } from './TransactionBankAccountDto';
2
1
  import type { TransactionSourceOrDestinationClientDto } from './TransactionSourceOrDestinationClientDto';
3
2
  export type TransactionSourceOrDestinationDto = {
4
3
  /**
@@ -6,11 +5,11 @@ export type TransactionSourceOrDestinationDto = {
6
5
  */
7
6
  client?: TransactionSourceOrDestinationClientDto;
8
7
  /**
9
- * Blockchain wallet address
8
+ * Bank account number
10
9
  */
11
- walletAddress?: string;
10
+ bankAccountNumber?: string;
12
11
  /**
13
- * Bank account information associated with the transaction
12
+ * Blockchain wallet address
14
13
  */
15
- bankAccount?: TransactionBankAccountDto;
14
+ walletAddress?: string;
16
15
  };
@@ -0,0 +1,34 @@
1
+ export type UpdateBankAccountDto = {
2
+ /**
3
+ * External reference ID for the bank account
4
+ */
5
+ referenceId?: string;
6
+ /**
7
+ * Name of the bank
8
+ */
9
+ bankName?: string;
10
+ /**
11
+ * Unique National Bank Account Number
12
+ */
13
+ accountNumber?: string;
14
+ /**
15
+ * Bank routing number
16
+ */
17
+ routingNumber?: string;
18
+ /**
19
+ * Name of the account holder
20
+ */
21
+ accountHolderName?: string;
22
+ /**
23
+ * Type of bank account
24
+ */
25
+ accountType?: string;
26
+ /**
27
+ * Currency of the bank account (ISO 4217 currency code)
28
+ */
29
+ currency?: string;
30
+ /**
31
+ * Country codes associated with the bank account (ISO 3166-1 alpha-3)
32
+ */
33
+ countries?: Array<string>;
34
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=UpdateBankAccountDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateBankAccountDto.js","sourceRoot":"","sources":["../../models/UpdateBankAccountDto.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ export type UpdateBlockchainWalletDto = {
2
+ /**
3
+ * External reference ID for the blockchain wallet
4
+ */
5
+ referenceId?: string;
6
+ /**
7
+ * Blockchain network or chain identifier
8
+ */
9
+ chain?: string;
10
+ /**
11
+ * Wallet address on the blockchain
12
+ */
13
+ address?: string;
14
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=UpdateBlockchainWalletDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateBlockchainWalletDto.js","sourceRoot":"","sources":["../../models/UpdateBlockchainWalletDto.ts"],"names":[],"mappings":""}
@@ -0,0 +1,41 @@
1
+ import type { AssociateBankAccountWithClientDto } from '../models/AssociateBankAccountWithClientDto';
2
+ import type { BankAccountAssociationResponseDto } from '../models/BankAccountAssociationResponseDto';
3
+ import type { BankAccountDto } from '../models/BankAccountDto';
4
+ import type { CreateBankAccountDto } from '../models/CreateBankAccountDto';
5
+ import type { UpdateBankAccountDto } from '../models/UpdateBankAccountDto';
6
+ import type { CancelablePromise } from '../core/CancelablePromise';
7
+ import type { BaseHttpRequest } from '../core/BaseHttpRequest';
8
+ export declare class BankAccountsService {
9
+ readonly httpRequest: BaseHttpRequest;
10
+ constructor(httpRequest: BaseHttpRequest);
11
+ /**
12
+ * Create a new bank account
13
+ * @param requestBody
14
+ * @returns BankAccountDto
15
+ * @throws ApiError
16
+ */
17
+ createBankAccount(requestBody: CreateBankAccountDto): CancelablePromise<BankAccountDto>;
18
+ /**
19
+ * Get a bank account by ID or reference ID
20
+ * @param bankAccountId
21
+ * @returns BankAccountDto
22
+ * @throws ApiError
23
+ */
24
+ getBankAccount(bankAccountId: string): CancelablePromise<BankAccountDto>;
25
+ /**
26
+ * Update bank account details
27
+ * @param bankAccountId
28
+ * @param requestBody
29
+ * @returns BankAccountDto
30
+ * @throws ApiError
31
+ */
32
+ updateBankAccount(bankAccountId: string, requestBody: UpdateBankAccountDto): CancelablePromise<BankAccountDto>;
33
+ /**
34
+ * Associate a bank account with one or more clients
35
+ * @param bankAccountId
36
+ * @param requestBody
37
+ * @returns BankAccountAssociationResponseDto
38
+ * @throws ApiError
39
+ */
40
+ associateBankAccountWithClients(bankAccountId: string, requestBody: AssociateBankAccountWithClientDto): CancelablePromise<BankAccountAssociationResponseDto>;
41
+ }
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BankAccountsService = void 0;
4
+ class BankAccountsService {
5
+ httpRequest;
6
+ constructor(httpRequest) {
7
+ this.httpRequest = httpRequest;
8
+ }
9
+ /**
10
+ * Create a new bank account
11
+ * @param requestBody
12
+ * @returns BankAccountDto
13
+ * @throws ApiError
14
+ */
15
+ createBankAccount(requestBody) {
16
+ return this.httpRequest.request({
17
+ method: 'POST',
18
+ url: '/v1/bank-accounts',
19
+ body: requestBody,
20
+ mediaType: 'application/json',
21
+ });
22
+ }
23
+ /**
24
+ * Get a bank account by ID or reference ID
25
+ * @param bankAccountId
26
+ * @returns BankAccountDto
27
+ * @throws ApiError
28
+ */
29
+ getBankAccount(bankAccountId) {
30
+ return this.httpRequest.request({
31
+ method: 'GET',
32
+ url: '/v1/bank-accounts/{bankAccountId}',
33
+ path: {
34
+ 'bankAccountId': bankAccountId,
35
+ },
36
+ });
37
+ }
38
+ /**
39
+ * Update bank account details
40
+ * @param bankAccountId
41
+ * @param requestBody
42
+ * @returns BankAccountDto
43
+ * @throws ApiError
44
+ */
45
+ updateBankAccount(bankAccountId, requestBody) {
46
+ return this.httpRequest.request({
47
+ method: 'PUT',
48
+ url: '/v1/bank-accounts/{bankAccountId}',
49
+ path: {
50
+ 'bankAccountId': bankAccountId,
51
+ },
52
+ body: requestBody,
53
+ mediaType: 'application/json',
54
+ });
55
+ }
56
+ /**
57
+ * Associate a bank account with one or more clients
58
+ * @param bankAccountId
59
+ * @param requestBody
60
+ * @returns BankAccountAssociationResponseDto
61
+ * @throws ApiError
62
+ */
63
+ associateBankAccountWithClients(bankAccountId, requestBody) {
64
+ return this.httpRequest.request({
65
+ method: 'POST',
66
+ url: '/v1/bank-accounts/{bankAccountId}/clients',
67
+ path: {
68
+ 'bankAccountId': bankAccountId,
69
+ },
70
+ body: requestBody,
71
+ mediaType: 'application/json',
72
+ });
73
+ }
74
+ }
75
+ exports.BankAccountsService = BankAccountsService;
76
+ //# sourceMappingURL=BankAccountsService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BankAccountsService.js","sourceRoot":"","sources":["../../services/BankAccountsService.ts"],"names":[],"mappings":";;;AAWA,MAAa,mBAAmB;IACA;IAA5B,YAA4B,WAA4B;QAA5B,gBAAW,GAAX,WAAW,CAAiB;IAAG,CAAC;IAC5D;;;;;OAKG;IACI,iBAAiB,CACpB,WAAiC;QAEjC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,mBAAmB;YACxB,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,cAAc,CACjB,aAAqB;QAErB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,mCAAmC;YACxC,IAAI,EAAE;gBACF,eAAe,EAAE,aAAa;aACjC;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,iBAAiB,CACpB,aAAqB,EACrB,WAAiC;QAEjC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,mCAAmC;YACxC,IAAI,EAAE;gBACF,eAAe,EAAE,aAAa;aACjC;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,+BAA+B,CAClC,aAAqB,EACrB,WAA8C;QAE9C,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,2CAA2C;YAChD,IAAI,EAAE;gBACF,eAAe,EAAE,aAAa;aACjC;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;CACJ;AA7ED,kDA6EC"}
@@ -0,0 +1,41 @@
1
+ import type { AssociateBlockchainWalletWithClientDto } from '../models/AssociateBlockchainWalletWithClientDto';
2
+ import type { BlockchainWalletAssociationResponseDto } from '../models/BlockchainWalletAssociationResponseDto';
3
+ import type { BlockchainWalletDto } from '../models/BlockchainWalletDto';
4
+ import type { CreateBlockchainWalletDto } from '../models/CreateBlockchainWalletDto';
5
+ import type { UpdateBlockchainWalletDto } from '../models/UpdateBlockchainWalletDto';
6
+ import type { CancelablePromise } from '../core/CancelablePromise';
7
+ import type { BaseHttpRequest } from '../core/BaseHttpRequest';
8
+ export declare class BlockchainWalletsService {
9
+ readonly httpRequest: BaseHttpRequest;
10
+ constructor(httpRequest: BaseHttpRequest);
11
+ /**
12
+ * Create a new blockchain wallet
13
+ * @param requestBody
14
+ * @returns BlockchainWalletDto
15
+ * @throws ApiError
16
+ */
17
+ createBlockchainWallet(requestBody: CreateBlockchainWalletDto): CancelablePromise<BlockchainWalletDto>;
18
+ /**
19
+ * Get a blockchain wallet by ID or reference ID
20
+ * @param blockchainWalletId
21
+ * @returns BlockchainWalletDto
22
+ * @throws ApiError
23
+ */
24
+ getBlockchainWallet(blockchainWalletId: string): CancelablePromise<BlockchainWalletDto>;
25
+ /**
26
+ * Update blockchain wallet details
27
+ * @param blockchainWalletId
28
+ * @param requestBody
29
+ * @returns BlockchainWalletDto
30
+ * @throws ApiError
31
+ */
32
+ updateBlockchainWallet(blockchainWalletId: string, requestBody: UpdateBlockchainWalletDto): CancelablePromise<BlockchainWalletDto>;
33
+ /**
34
+ * Associate a blockchain wallet with one or more clients
35
+ * @param blockchainWalletId
36
+ * @param requestBody
37
+ * @returns BlockchainWalletAssociationResponseDto
38
+ * @throws ApiError
39
+ */
40
+ associateBlockchainWalletWithClients(blockchainWalletId: string, requestBody: AssociateBlockchainWalletWithClientDto): CancelablePromise<BlockchainWalletAssociationResponseDto>;
41
+ }
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BlockchainWalletsService = void 0;
4
+ class BlockchainWalletsService {
5
+ httpRequest;
6
+ constructor(httpRequest) {
7
+ this.httpRequest = httpRequest;
8
+ }
9
+ /**
10
+ * Create a new blockchain wallet
11
+ * @param requestBody
12
+ * @returns BlockchainWalletDto
13
+ * @throws ApiError
14
+ */
15
+ createBlockchainWallet(requestBody) {
16
+ return this.httpRequest.request({
17
+ method: 'POST',
18
+ url: '/v1/blockchain-wallets',
19
+ body: requestBody,
20
+ mediaType: 'application/json',
21
+ });
22
+ }
23
+ /**
24
+ * Get a blockchain wallet by ID or reference ID
25
+ * @param blockchainWalletId
26
+ * @returns BlockchainWalletDto
27
+ * @throws ApiError
28
+ */
29
+ getBlockchainWallet(blockchainWalletId) {
30
+ return this.httpRequest.request({
31
+ method: 'GET',
32
+ url: '/v1/blockchain-wallets/{blockchainWalletId}',
33
+ path: {
34
+ 'blockchainWalletId': blockchainWalletId,
35
+ },
36
+ });
37
+ }
38
+ /**
39
+ * Update blockchain wallet details
40
+ * @param blockchainWalletId
41
+ * @param requestBody
42
+ * @returns BlockchainWalletDto
43
+ * @throws ApiError
44
+ */
45
+ updateBlockchainWallet(blockchainWalletId, requestBody) {
46
+ return this.httpRequest.request({
47
+ method: 'PUT',
48
+ url: '/v1/blockchain-wallets/{blockchainWalletId}',
49
+ path: {
50
+ 'blockchainWalletId': blockchainWalletId,
51
+ },
52
+ body: requestBody,
53
+ mediaType: 'application/json',
54
+ });
55
+ }
56
+ /**
57
+ * Associate a blockchain wallet with one or more clients
58
+ * @param blockchainWalletId
59
+ * @param requestBody
60
+ * @returns BlockchainWalletAssociationResponseDto
61
+ * @throws ApiError
62
+ */
63
+ associateBlockchainWalletWithClients(blockchainWalletId, requestBody) {
64
+ return this.httpRequest.request({
65
+ method: 'POST',
66
+ url: '/v1/blockchain-wallets/{blockchainWalletId}/clients',
67
+ path: {
68
+ 'blockchainWalletId': blockchainWalletId,
69
+ },
70
+ body: requestBody,
71
+ mediaType: 'application/json',
72
+ });
73
+ }
74
+ }
75
+ exports.BlockchainWalletsService = BlockchainWalletsService;
76
+ //# sourceMappingURL=BlockchainWalletsService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BlockchainWalletsService.js","sourceRoot":"","sources":["../../services/BlockchainWalletsService.ts"],"names":[],"mappings":";;;AAWA,MAAa,wBAAwB;IACL;IAA5B,YAA4B,WAA4B;QAA5B,gBAAW,GAAX,WAAW,CAAiB;IAAG,CAAC;IAC5D;;;;;OAKG;IACI,sBAAsB,CACzB,WAAsC;QAEtC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,wBAAwB;YAC7B,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,mBAAmB,CACtB,kBAA0B;QAE1B,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,6CAA6C;YAClD,IAAI,EAAE;gBACF,oBAAoB,EAAE,kBAAkB;aAC3C;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,sBAAsB,CACzB,kBAA0B,EAC1B,WAAsC;QAEtC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,6CAA6C;YAClD,IAAI,EAAE;gBACF,oBAAoB,EAAE,kBAAkB;aAC3C;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,oCAAoC,CACvC,kBAA0B,EAC1B,WAAmD;QAEnD,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,qDAAqD;YAC1D,IAAI,EAAE;gBACF,oBAAoB,EAAE,kBAAkB;aAC3C;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;CACJ;AA7ED,4DA6EC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corsa-labs/sdk",
3
- "version": "3.7.0",
3
+ "version": "3.8.0",
4
4
  "description": "SDK for Corsa API",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "license": "MIT",
18
18
  "dependencies": {
19
- "axios": "^0.21.1",
19
+ "axios": "^0.30.0",
20
20
  "uuid": "^11.1.0"
21
21
  },
22
22
  "peerDependencies": {},
@@ -1,18 +0,0 @@
1
- export type TransactionBankAccountDto = {
2
- /**
3
- * Bank account number
4
- */
5
- accountNumber: string;
6
- /**
7
- * Bank routing number
8
- */
9
- routingNumber?: string;
10
- /**
11
- * Account holder name
12
- */
13
- accountHolderName?: string;
14
- /**
15
- * Bank name
16
- */
17
- bankName?: string;
18
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"TransactionBankAccountDto.js","sourceRoot":"","sources":["../../models/TransactionBankAccountDto.ts"],"names":[],"mappings":""}