@corsa-labs/sdk 3.7.0 → 3.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ComplianceClient.d.ts +6 -0
- package/dist/ComplianceClient.js +9 -0
- package/dist/ComplianceClient.js.map +1 -1
- package/dist/index.d.ts +17 -1
- package/dist/index.js +12 -1
- package/dist/index.js.map +1 -1
- package/dist/models/AssociateBankAccountWithClientDto.d.ts +7 -0
- package/dist/models/AssociateBankAccountWithClientDto.js +3 -0
- package/dist/models/AssociateBankAccountWithClientDto.js.map +1 -0
- package/dist/models/AssociateBlockchainWalletWithClientDto.d.ts +7 -0
- package/dist/models/AssociateBlockchainWalletWithClientDto.js +3 -0
- package/dist/models/AssociateBlockchainWalletWithClientDto.js.map +1 -0
- package/dist/models/BankAccountAssociationResponseDto.d.ts +14 -0
- package/dist/models/BankAccountAssociationResponseDto.js +3 -0
- package/dist/models/BankAccountAssociationResponseDto.js.map +1 -0
- package/dist/models/BankAccountDto.d.ts +66 -0
- package/dist/models/{TransactionBankAccountDto.js → BankAccountDto.js} +1 -1
- package/dist/models/BankAccountDto.js.map +1 -0
- package/dist/models/BlockchainWalletAssociationResponseDto.d.ts +14 -0
- package/dist/models/BlockchainWalletAssociationResponseDto.js +3 -0
- package/dist/models/BlockchainWalletAssociationResponseDto.js.map +1 -0
- package/dist/models/BlockchainWalletDto.d.ts +46 -0
- package/dist/models/BlockchainWalletDto.js +3 -0
- package/dist/models/BlockchainWalletDto.js.map +1 -0
- package/dist/models/ClientBankAccountRelationDto.d.ts +10 -0
- package/dist/models/ClientBankAccountRelationDto.js +3 -0
- package/dist/models/ClientBankAccountRelationDto.js.map +1 -0
- package/dist/models/ClientBlockchainWalletRelationDto.d.ts +10 -0
- package/dist/models/ClientBlockchainWalletRelationDto.js +3 -0
- package/dist/models/ClientBlockchainWalletRelationDto.js.map +1 -0
- package/dist/models/CorporateClientCustomFieldDataDto.d.ts +5 -2
- package/dist/models/CorporateClientCustomFieldDataDto.js.map +1 -1
- package/dist/models/CreateBankAccountDto.d.ts +34 -0
- package/dist/models/CreateBankAccountDto.js +3 -0
- package/dist/models/CreateBankAccountDto.js.map +1 -0
- package/dist/models/CreateBlockchainWalletDto.d.ts +14 -0
- package/dist/models/CreateBlockchainWalletDto.js +3 -0
- package/dist/models/CreateBlockchainWalletDto.js.map +1 -0
- package/dist/models/CreateTradeOperationDto.d.ts +14 -0
- package/dist/models/CreateTradeOperationDto.js +11 -0
- package/dist/models/CreateTradeOperationDto.js.map +1 -1
- package/dist/models/CreateTransactionSourceOrDestinationClientDto.d.ts +4 -5
- package/dist/models/IndividualClientCustomFieldDataDto.d.ts +5 -2
- package/dist/models/IndividualClientCustomFieldDataDto.js.map +1 -1
- package/dist/models/OperationStatusDto.d.ts +30 -0
- package/dist/models/OperationStatusDto.js +18 -0
- package/dist/models/OperationStatusDto.js.map +1 -0
- package/dist/models/OperationStatusUpdateDto.d.ts +30 -0
- package/dist/models/OperationStatusUpdateDto.js +18 -0
- package/dist/models/OperationStatusUpdateDto.js.map +1 -0
- package/dist/models/TradeOperationDto.d.ts +5 -0
- package/dist/models/TradeOperationDto.js.map +1 -1
- package/dist/models/TransactionSourceOrDestinationDto.d.ts +4 -5
- package/dist/models/UpdateBankAccountDto.d.ts +34 -0
- package/dist/models/UpdateBankAccountDto.js +3 -0
- package/dist/models/UpdateBankAccountDto.js.map +1 -0
- package/dist/models/UpdateBlockchainWalletDto.d.ts +14 -0
- package/dist/models/UpdateBlockchainWalletDto.js +3 -0
- package/dist/models/UpdateBlockchainWalletDto.js.map +1 -0
- package/dist/services/BankAccountsService.d.ts +41 -0
- package/dist/services/BankAccountsService.js +76 -0
- package/dist/services/BankAccountsService.js.map +1 -0
- package/dist/services/BlockchainWalletsService.d.ts +41 -0
- package/dist/services/BlockchainWalletsService.js +76 -0
- package/dist/services/BlockchainWalletsService.js.map +1 -0
- package/dist/services/ClientsService.d.ts +2 -2
- package/dist/services/ClientsService.js +2 -2
- package/dist/services/PlatformService.d.ts +12 -0
- package/dist/services/PlatformService.js +26 -0
- package/dist/services/PlatformService.js.map +1 -0
- package/dist/services/TradesService.d.ts +9 -0
- package/dist/services/TradesService.js +18 -0
- package/dist/services/TradesService.js.map +1 -1
- package/package.json +2 -2
- package/dist/models/TransactionBankAccountDto.d.ts +0 -18
- package/dist/models/TransactionBankAccountDto.js.map +0 -1
|
@@ -1,22 +1,28 @@
|
|
|
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';
|
|
7
9
|
import { HealthService } from './services/HealthService';
|
|
8
10
|
import { MembersService } from './services/MembersService';
|
|
11
|
+
import { PlatformService } from './services/PlatformService';
|
|
9
12
|
import { TradesService } from './services/TradesService';
|
|
10
13
|
import { TransactionsService } from './services/TransactionsService';
|
|
11
14
|
import { WithdrawalsService } from './services/WithdrawalsService';
|
|
12
15
|
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
13
16
|
export declare class ComplianceClient {
|
|
14
17
|
readonly alerts: AlertsService;
|
|
18
|
+
readonly bankAccounts: BankAccountsService;
|
|
19
|
+
readonly blockchainWallets: BlockchainWalletsService;
|
|
15
20
|
readonly cases: CasesService;
|
|
16
21
|
readonly clients: ClientsService;
|
|
17
22
|
readonly deposits: DepositsService;
|
|
18
23
|
readonly health: HealthService;
|
|
19
24
|
readonly members: MembersService;
|
|
25
|
+
readonly platform: PlatformService;
|
|
20
26
|
readonly trades: TradesService;
|
|
21
27
|
readonly transactions: TransactionsService;
|
|
22
28
|
readonly withdrawals: WithdrawalsService;
|
package/dist/ComplianceClient.js
CHANGED
|
@@ -3,21 +3,27 @@ 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");
|
|
9
11
|
const HealthService_1 = require("./services/HealthService");
|
|
10
12
|
const MembersService_1 = require("./services/MembersService");
|
|
13
|
+
const PlatformService_1 = require("./services/PlatformService");
|
|
11
14
|
const TradesService_1 = require("./services/TradesService");
|
|
12
15
|
const TransactionsService_1 = require("./services/TransactionsService");
|
|
13
16
|
const WithdrawalsService_1 = require("./services/WithdrawalsService");
|
|
14
17
|
class ComplianceClient {
|
|
15
18
|
alerts;
|
|
19
|
+
bankAccounts;
|
|
20
|
+
blockchainWallets;
|
|
16
21
|
cases;
|
|
17
22
|
clients;
|
|
18
23
|
deposits;
|
|
19
24
|
health;
|
|
20
25
|
members;
|
|
26
|
+
platform;
|
|
21
27
|
trades;
|
|
22
28
|
transactions;
|
|
23
29
|
withdrawals;
|
|
@@ -35,11 +41,14 @@ class ComplianceClient {
|
|
|
35
41
|
ENCODE_PATH: config?.ENCODE_PATH,
|
|
36
42
|
});
|
|
37
43
|
this.alerts = new AlertsService_1.AlertsService(this.request);
|
|
44
|
+
this.bankAccounts = new BankAccountsService_1.BankAccountsService(this.request);
|
|
45
|
+
this.blockchainWallets = new BlockchainWalletsService_1.BlockchainWalletsService(this.request);
|
|
38
46
|
this.cases = new CasesService_1.CasesService(this.request);
|
|
39
47
|
this.clients = new ClientsService_1.ClientsService(this.request);
|
|
40
48
|
this.deposits = new DepositsService_1.DepositsService(this.request);
|
|
41
49
|
this.health = new HealthService_1.HealthService(this.request);
|
|
42
50
|
this.members = new MembersService_1.MembersService(this.request);
|
|
51
|
+
this.platform = new PlatformService_1.PlatformService(this.request);
|
|
43
52
|
this.trades = new TradesService_1.TradesService(this.request);
|
|
44
53
|
this.transactions = new TransactionsService_1.TransactionsService(this.request);
|
|
45
54
|
this.withdrawals = new WithdrawalsService_1.WithdrawalsService(this.request);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComplianceClient.js","sourceRoot":"","sources":["../ComplianceClient.ts"],"names":[],"mappings":";;;AAMA,8DAA2D;AAC3D,4DAAyD;AACzD,0DAAuD;AACvD,8DAA2D;AAC3D,gEAA6D;AAC7D,4DAAyD;AACzD,8DAA2D;AAC3D,4DAAyD;AACzD,wEAAqE;AACrE,sEAAmE;AAEnE,MAAa,gBAAgB;IACT,MAAM,CAAgB;IACtB,KAAK,CAAe;IACpB,OAAO,CAAiB;IACxB,QAAQ,CAAkB;IAC1B,MAAM,CAAgB;IACtB,OAAO,CAAiB;IACxB,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,KAAK;YACjC,gBAAgB,EAAE,MAAM,EAAE,gBAAgB,IAAI,KAAK;YACnD,WAAW,EAAE,MAAM,EAAE,WAAW,IAAI,SAAS;YAC7C,KAAK,EAAE,MAAM,EAAE,KAAK;YACpB,QAAQ,EAAE,MAAM,EAAE,QAAQ;YAC1B,QAAQ,EAAE,MAAM,EAAE,QAAQ;YAC1B,OAAO,EAAE,MAAM,EAAE,OAAO;YACxB,WAAW,EAAE,MAAM,EAAE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;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,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;AAvCD,4CAuCC"}
|
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';
|
|
@@ -51,17 +61,20 @@ export { IndividualClientGeneralInformationDto } from './models/IndividualClient
|
|
|
51
61
|
export type { IndividualClientWorkInformationDto } from './models/IndividualClientWorkInformationDto';
|
|
52
62
|
export { IndividualMemberDto } from './models/IndividualMemberDto';
|
|
53
63
|
export type { OperationInitiatorDto } from './models/OperationInitiatorDto';
|
|
64
|
+
export { OperationStatusDto } from './models/OperationStatusDto';
|
|
65
|
+
export { OperationStatusUpdateDto } from './models/OperationStatusUpdateDto';
|
|
54
66
|
export type { PoliticalExposureDto } from './models/PoliticalExposureDto';
|
|
55
67
|
export type { SanctionsDto } from './models/SanctionsDto';
|
|
56
68
|
export { TradeOperationDto } from './models/TradeOperationDto';
|
|
57
69
|
export type { TransactionAmountDto } from './models/TransactionAmountDto';
|
|
58
|
-
export type { TransactionBankAccountDto } from './models/TransactionBankAccountDto';
|
|
59
70
|
export type { TransactionCustomFieldDto } from './models/TransactionCustomFieldDto';
|
|
60
71
|
export { TransactionDto } from './models/TransactionDto';
|
|
61
72
|
export type { TransactionSourceOrDestinationClientDto } from './models/TransactionSourceOrDestinationClientDto';
|
|
62
73
|
export type { TransactionSourceOrDestinationDto } from './models/TransactionSourceOrDestinationDto';
|
|
63
74
|
export { TransactionStatusDto } from './models/TransactionStatusDto';
|
|
64
75
|
export { UpdateAlertDto } from './models/UpdateAlertDto';
|
|
76
|
+
export type { UpdateBankAccountDto } from './models/UpdateBankAccountDto';
|
|
77
|
+
export type { UpdateBlockchainWalletDto } from './models/UpdateBlockchainWalletDto';
|
|
65
78
|
export { UpdateCaseDto } from './models/UpdateCaseDto';
|
|
66
79
|
export type { UpdateCaseInvestigationDto } from './models/UpdateCaseInvestigationDto';
|
|
67
80
|
export { UpdateCaseStatusDto } from './models/UpdateCaseStatusDto';
|
|
@@ -72,11 +85,14 @@ export { UpdateIndividualClientDto } from './models/UpdateIndividualClientDto';
|
|
|
72
85
|
export { UpdateIndividualMemberDto } from './models/UpdateIndividualMemberDto';
|
|
73
86
|
export type { WithdrawalOperationDto } from './models/WithdrawalOperationDto';
|
|
74
87
|
export { AlertsService } from './services/AlertsService';
|
|
88
|
+
export { BankAccountsService } from './services/BankAccountsService';
|
|
89
|
+
export { BlockchainWalletsService } from './services/BlockchainWalletsService';
|
|
75
90
|
export { CasesService } from './services/CasesService';
|
|
76
91
|
export { ClientsService } from './services/ClientsService';
|
|
77
92
|
export { DepositsService } from './services/DepositsService';
|
|
78
93
|
export { HealthService } from './services/HealthService';
|
|
79
94
|
export { MembersService } from './services/MembersService';
|
|
95
|
+
export { PlatformService } from './services/PlatformService';
|
|
80
96
|
export { TradesService } from './services/TradesService';
|
|
81
97
|
export { TransactionsService } from './services/TransactionsService';
|
|
82
98
|
export { WithdrawalsService } from './services/WithdrawalsService';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.PlatformService = 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.OperationStatusUpdateDto = exports.OperationStatusDto = 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
|
+
exports.WithdrawalsService = exports.TransactionsService = exports.TradesService = void 0;
|
|
4
5
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
5
6
|
/* istanbul ignore file */
|
|
6
7
|
/* tslint:disable */
|
|
@@ -60,6 +61,10 @@ var IndividualClientGeneralInformationDto_1 = require("./models/IndividualClient
|
|
|
60
61
|
Object.defineProperty(exports, "IndividualClientGeneralInformationDto", { enumerable: true, get: function () { return IndividualClientGeneralInformationDto_1.IndividualClientGeneralInformationDto; } });
|
|
61
62
|
var IndividualMemberDto_1 = require("./models/IndividualMemberDto");
|
|
62
63
|
Object.defineProperty(exports, "IndividualMemberDto", { enumerable: true, get: function () { return IndividualMemberDto_1.IndividualMemberDto; } });
|
|
64
|
+
var OperationStatusDto_1 = require("./models/OperationStatusDto");
|
|
65
|
+
Object.defineProperty(exports, "OperationStatusDto", { enumerable: true, get: function () { return OperationStatusDto_1.OperationStatusDto; } });
|
|
66
|
+
var OperationStatusUpdateDto_1 = require("./models/OperationStatusUpdateDto");
|
|
67
|
+
Object.defineProperty(exports, "OperationStatusUpdateDto", { enumerable: true, get: function () { return OperationStatusUpdateDto_1.OperationStatusUpdateDto; } });
|
|
63
68
|
var TradeOperationDto_1 = require("./models/TradeOperationDto");
|
|
64
69
|
Object.defineProperty(exports, "TradeOperationDto", { enumerable: true, get: function () { return TradeOperationDto_1.TradeOperationDto; } });
|
|
65
70
|
var TransactionDto_1 = require("./models/TransactionDto");
|
|
@@ -84,6 +89,10 @@ var UpdateIndividualMemberDto_1 = require("./models/UpdateIndividualMemberDto");
|
|
|
84
89
|
Object.defineProperty(exports, "UpdateIndividualMemberDto", { enumerable: true, get: function () { return UpdateIndividualMemberDto_1.UpdateIndividualMemberDto; } });
|
|
85
90
|
var AlertsService_1 = require("./services/AlertsService");
|
|
86
91
|
Object.defineProperty(exports, "AlertsService", { enumerable: true, get: function () { return AlertsService_1.AlertsService; } });
|
|
92
|
+
var BankAccountsService_1 = require("./services/BankAccountsService");
|
|
93
|
+
Object.defineProperty(exports, "BankAccountsService", { enumerable: true, get: function () { return BankAccountsService_1.BankAccountsService; } });
|
|
94
|
+
var BlockchainWalletsService_1 = require("./services/BlockchainWalletsService");
|
|
95
|
+
Object.defineProperty(exports, "BlockchainWalletsService", { enumerable: true, get: function () { return BlockchainWalletsService_1.BlockchainWalletsService; } });
|
|
87
96
|
var CasesService_1 = require("./services/CasesService");
|
|
88
97
|
Object.defineProperty(exports, "CasesService", { enumerable: true, get: function () { return CasesService_1.CasesService; } });
|
|
89
98
|
var ClientsService_1 = require("./services/ClientsService");
|
|
@@ -94,6 +103,8 @@ var HealthService_1 = require("./services/HealthService");
|
|
|
94
103
|
Object.defineProperty(exports, "HealthService", { enumerable: true, get: function () { return HealthService_1.HealthService; } });
|
|
95
104
|
var MembersService_1 = require("./services/MembersService");
|
|
96
105
|
Object.defineProperty(exports, "MembersService", { enumerable: true, get: function () { return MembersService_1.MembersService; } });
|
|
106
|
+
var PlatformService_1 = require("./services/PlatformService");
|
|
107
|
+
Object.defineProperty(exports, "PlatformService", { enumerable: true, get: function () { return PlatformService_1.PlatformService; } });
|
|
97
108
|
var TradesService_1 = require("./services/TradesService");
|
|
98
109
|
Object.defineProperty(exports, "TradesService", { enumerable: true, get: function () { return TradesService_1.TradesService; } });
|
|
99
110
|
var TransactionsService_1 = require("./services/TransactionsService");
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"
|
|
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;AAUxB,4CAA2C;AAAlC,kGAAA,OAAO,OAAA;AAEhB,0DAAyD;AAAhD,gHAAA,cAAc,OAAA;AAGvB,wDAAuD;AAA9C,8GAAA,aAAa,OAAA;AAKtB,gGAA+F;AAAtF,sJAAA,iCAAiC,OAAA;AAC1C,kEAAiE;AAAxD,wHAAA,kBAAkB,OAAA;AAE3B,kEAAiE;AAAxD,wHAAA,kBAAkB,OAAA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AA5D,0HAAA,mBAAmB,OAAA;AAC5B,gFAA+E;AAAtE,oIAAA,wBAAwB,OAAA;AACjC,wDAAuD;AAA9C,4GAAA,YAAY,OAAA;AACrB,4DAA2D;AAAlD,gHAAA,cAAc,OAAA;AACvB,8DAA6D;AAApD,kHAAA,eAAe,OAAA;AACxB,0DAAyD;AAAhD,8GAAA,aAAa,OAAA;AACtB,4DAA2D;AAAlD,gHAAA,cAAc,OAAA;AACvB,8DAA6D;AAApD,kHAAA,eAAe,OAAA;AACxB,0DAAyD;AAAhD,8GAAA,aAAa,OAAA;AACtB,sEAAqE;AAA5D,0HAAA,mBAAmB,OAAA;AAC5B,oEAAmE;AAA1D,wHAAA,kBAAkB,OAAA"}
|
|
@@ -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 @@
|
|
|
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 @@
|
|
|
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
|
+
};
|
|
@@ -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 @@
|
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"BlockchainWalletDto.js","sourceRoot":"","sources":["../../models/BlockchainWalletDto.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClientBankAccountRelationDto.js","sourceRoot":"","sources":["../../models/ClientBankAccountRelationDto.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClientBlockchainWalletRelationDto.js","sourceRoot":"","sources":["../../models/ClientBlockchainWalletRelationDto.ts"],"names":[],"mappings":""}
|
|
@@ -4,9 +4,12 @@ export type CorporateClientCustomFieldDataDto = {
|
|
|
4
4
|
*/
|
|
5
5
|
label: string;
|
|
6
6
|
/**
|
|
7
|
-
* Value of the custom field. It can be a string, number, boolean. 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.
|
|
7
|
+
* Value of the custom field. It can be a string, number, boolean, or encrypted data. 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
8
|
*/
|
|
9
|
-
value: (string | number | boolean
|
|
9
|
+
value: (string | number | boolean | {
|
|
10
|
+
encrypted?: string;
|
|
11
|
+
hash?: string;
|
|
12
|
+
});
|
|
10
13
|
/**
|
|
11
14
|
* Category of the custom field
|
|
12
15
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CorporateClientCustomFieldDataDto.js","sourceRoot":"","sources":["../../models/CorporateClientCustomFieldDataDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"CorporateClientCustomFieldDataDto.js","sourceRoot":"","sources":["../../models/CorporateClientCustomFieldDataDto.ts"],"names":[],"mappings":";;;AAqBA,IAAiB,iCAAiC,CAWjD;AAXD,WAAiB,iCAAiC;IAC9C;;OAEG;IACH,IAAY,QAMX;IAND,WAAY,QAAQ;QAChB,+BAAmB,CAAA;QACnB,+BAAmB,CAAA;QACnB,iCAAqB,CAAA;QACrB,uCAA2B,CAAA;QAC3B,2BAAe,CAAA;IACnB,CAAC,EANW,QAAQ,GAAR,0CAAQ,KAAR,0CAAQ,QAMnB;AACL,CAAC,EAXgB,iCAAiC,iDAAjC,iCAAiC,QAWjD"}
|
|
@@ -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 @@
|
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"CreateBlockchainWalletDto.js","sourceRoot":"","sources":["../../models/CreateBlockchainWalletDto.ts"],"names":[],"mappings":""}
|
|
@@ -36,6 +36,10 @@ export type CreateTradeOperationDto = {
|
|
|
36
36
|
* Quote asset of the trade
|
|
37
37
|
*/
|
|
38
38
|
instrumentQuoteAsset: string;
|
|
39
|
+
/**
|
|
40
|
+
* Status of the trade
|
|
41
|
+
*/
|
|
42
|
+
status?: CreateTradeOperationDto.status;
|
|
39
43
|
};
|
|
40
44
|
export declare namespace CreateTradeOperationDto {
|
|
41
45
|
/**
|
|
@@ -45,4 +49,14 @@ export declare namespace CreateTradeOperationDto {
|
|
|
45
49
|
BUY = "BUY",
|
|
46
50
|
SELL = "SELL"
|
|
47
51
|
}
|
|
52
|
+
/**
|
|
53
|
+
* Status of the trade
|
|
54
|
+
*/
|
|
55
|
+
enum status {
|
|
56
|
+
PENDING = "PENDING",
|
|
57
|
+
SUCCESS = "SUCCESS",
|
|
58
|
+
FAILED = "FAILED",
|
|
59
|
+
EXPIRED = "EXPIRED",
|
|
60
|
+
REJECTED = "REJECTED"
|
|
61
|
+
}
|
|
48
62
|
}
|
|
@@ -11,5 +11,16 @@ var CreateTradeOperationDto;
|
|
|
11
11
|
tradeType["BUY"] = "BUY";
|
|
12
12
|
tradeType["SELL"] = "SELL";
|
|
13
13
|
})(tradeType = CreateTradeOperationDto.tradeType || (CreateTradeOperationDto.tradeType = {}));
|
|
14
|
+
/**
|
|
15
|
+
* Status of the trade
|
|
16
|
+
*/
|
|
17
|
+
let status;
|
|
18
|
+
(function (status) {
|
|
19
|
+
status["PENDING"] = "PENDING";
|
|
20
|
+
status["SUCCESS"] = "SUCCESS";
|
|
21
|
+
status["FAILED"] = "FAILED";
|
|
22
|
+
status["EXPIRED"] = "EXPIRED";
|
|
23
|
+
status["REJECTED"] = "REJECTED";
|
|
24
|
+
})(status = CreateTradeOperationDto.status || (CreateTradeOperationDto.status = {}));
|
|
14
25
|
})(CreateTradeOperationDto || (exports.CreateTradeOperationDto = CreateTradeOperationDto = {}));
|
|
15
26
|
//# sourceMappingURL=CreateTradeOperationDto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateTradeOperationDto.js","sourceRoot":"","sources":["../../models/CreateTradeOperationDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"CreateTradeOperationDto.js","sourceRoot":"","sources":["../../models/CreateTradeOperationDto.ts"],"names":[],"mappings":";;;AA+CA,IAAiB,uBAAuB,CAkBvC;AAlBD,WAAiB,uBAAuB;IACpC;;OAEG;IACH,IAAY,SAGX;IAHD,WAAY,SAAS;QACjB,wBAAW,CAAA;QACX,0BAAa,CAAA;IACjB,CAAC,EAHW,SAAS,GAAT,iCAAS,KAAT,iCAAS,QAGpB;IACD;;OAEG;IACH,IAAY,MAMX;IAND,WAAY,MAAM;QACd,6BAAmB,CAAA;QACnB,6BAAmB,CAAA;QACnB,2BAAiB,CAAA;QACjB,6BAAmB,CAAA;QACnB,+BAAqB,CAAA;IACzB,CAAC,EANW,MAAM,GAAN,8BAAM,KAAN,8BAAM,QAMjB;AACL,CAAC,EAlBgB,uBAAuB,uCAAvB,uBAAuB,QAkBvC"}
|
|
@@ -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
|
-
*
|
|
7
|
+
* Bank account number associated with the transaction
|
|
9
8
|
*/
|
|
10
|
-
|
|
9
|
+
bankAccountNumber?: string;
|
|
11
10
|
/**
|
|
12
|
-
*
|
|
11
|
+
* Blockchain wallet address associated with the transaction
|
|
13
12
|
*/
|
|
14
|
-
|
|
13
|
+
walletAddress?: string;
|
|
15
14
|
};
|