@corsa-labs/sdk 3.8.0 → 3.9.1
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 +2 -0
- package/dist/ComplianceClient.js +3 -0
- package/dist/ComplianceClient.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/models/CorporateClientCustomFieldDataDto.d.ts +5 -2
- package/dist/models/CorporateClientCustomFieldDataDto.js.map +1 -1
- 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/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/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/dist/webhooks/types.d.ts +1 -1
- package/package.json +1 -1
- package/dist/models/CreateIndividualClientResponseDto.d.ts +0 -60
- package/dist/models/CreateIndividualClientResponseDto.js +0 -27
- package/dist/models/CreateIndividualClientResponseDto.js.map +0 -1
|
@@ -8,6 +8,7 @@ import { ClientsService } from './services/ClientsService';
|
|
|
8
8
|
import { DepositsService } from './services/DepositsService';
|
|
9
9
|
import { HealthService } from './services/HealthService';
|
|
10
10
|
import { MembersService } from './services/MembersService';
|
|
11
|
+
import { PlatformService } from './services/PlatformService';
|
|
11
12
|
import { TradesService } from './services/TradesService';
|
|
12
13
|
import { TransactionsService } from './services/TransactionsService';
|
|
13
14
|
import { WithdrawalsService } from './services/WithdrawalsService';
|
|
@@ -21,6 +22,7 @@ export declare class ComplianceClient {
|
|
|
21
22
|
readonly deposits: DepositsService;
|
|
22
23
|
readonly health: HealthService;
|
|
23
24
|
readonly members: MembersService;
|
|
25
|
+
readonly platform: PlatformService;
|
|
24
26
|
readonly trades: TradesService;
|
|
25
27
|
readonly transactions: TransactionsService;
|
|
26
28
|
readonly withdrawals: WithdrawalsService;
|
package/dist/ComplianceClient.js
CHANGED
|
@@ -10,6 +10,7 @@ const ClientsService_1 = require("./services/ClientsService");
|
|
|
10
10
|
const DepositsService_1 = require("./services/DepositsService");
|
|
11
11
|
const HealthService_1 = require("./services/HealthService");
|
|
12
12
|
const MembersService_1 = require("./services/MembersService");
|
|
13
|
+
const PlatformService_1 = require("./services/PlatformService");
|
|
13
14
|
const TradesService_1 = require("./services/TradesService");
|
|
14
15
|
const TransactionsService_1 = require("./services/TransactionsService");
|
|
15
16
|
const WithdrawalsService_1 = require("./services/WithdrawalsService");
|
|
@@ -22,6 +23,7 @@ class ComplianceClient {
|
|
|
22
23
|
deposits;
|
|
23
24
|
health;
|
|
24
25
|
members;
|
|
26
|
+
platform;
|
|
25
27
|
trades;
|
|
26
28
|
transactions;
|
|
27
29
|
withdrawals;
|
|
@@ -46,6 +48,7 @@ class ComplianceClient {
|
|
|
46
48
|
this.deposits = new DepositsService_1.DepositsService(this.request);
|
|
47
49
|
this.health = new HealthService_1.HealthService(this.request);
|
|
48
50
|
this.members = new MembersService_1.MembersService(this.request);
|
|
51
|
+
this.platform = new PlatformService_1.PlatformService(this.request);
|
|
49
52
|
this.trades = new TradesService_1.TradesService(this.request);
|
|
50
53
|
this.transactions = new TransactionsService_1.TransactionsService(this.request);
|
|
51
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,wEAAqE;AACrE,kFAA+E;AAC/E,0DAAuD;AACvD,8DAA2D;AAC3D,gEAA6D;AAC7D,4DAAyD;AACzD,8DAA2D;AAC3D,4DAAyD;AACzD,wEAAqE;AACrE,sEAAmE;AAEnE,MAAa,gBAAgB;IACT,MAAM,CAAgB;IACtB,YAAY,CAAsB;IAClC,iBAAiB,CAA2B;IAC5C,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,WAAW;SACnC,CAAC,CAAC;QACH,IAAI,CAAC,MAAM,GAAG,IAAI,6BAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9C,IAAI,CAAC,YAAY,GAAG,IAAI,y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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,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
|
@@ -61,6 +61,8 @@ export { IndividualClientGeneralInformationDto } from './models/IndividualClient
|
|
|
61
61
|
export type { IndividualClientWorkInformationDto } from './models/IndividualClientWorkInformationDto';
|
|
62
62
|
export { IndividualMemberDto } from './models/IndividualMemberDto';
|
|
63
63
|
export type { OperationInitiatorDto } from './models/OperationInitiatorDto';
|
|
64
|
+
export { OperationStatusDto } from './models/OperationStatusDto';
|
|
65
|
+
export { OperationStatusUpdateDto } from './models/OperationStatusUpdateDto';
|
|
64
66
|
export type { PoliticalExposureDto } from './models/PoliticalExposureDto';
|
|
65
67
|
export type { SanctionsDto } from './models/SanctionsDto';
|
|
66
68
|
export { TradeOperationDto } from './models/TradeOperationDto';
|
|
@@ -90,6 +92,7 @@ export { ClientsService } from './services/ClientsService';
|
|
|
90
92
|
export { DepositsService } from './services/DepositsService';
|
|
91
93
|
export { HealthService } from './services/HealthService';
|
|
92
94
|
export { MembersService } from './services/MembersService';
|
|
95
|
+
export { PlatformService } from './services/PlatformService';
|
|
93
96
|
export { TradesService } from './services/TradesService';
|
|
94
97
|
export { TransactionsService } from './services/TransactionsService';
|
|
95
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");
|
|
@@ -98,6 +103,8 @@ var HealthService_1 = require("./services/HealthService");
|
|
|
98
103
|
Object.defineProperty(exports, "HealthService", { enumerable: true, get: function () { return HealthService_1.HealthService; } });
|
|
99
104
|
var MembersService_1 = require("./services/MembersService");
|
|
100
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; } });
|
|
101
108
|
var TradesService_1 = require("./services/TradesService");
|
|
102
109
|
Object.defineProperty(exports, "TradesService", { enumerable: true, get: function () { return TradesService_1.TradesService; } });
|
|
103
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;A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6E;AAApE,oIAAA,wBAAwB,OAAA;AAGjC,gEAA+D;AAAtD,sHAAA,iBAAiB,OAAA;AAG1B,0DAAyD;AAAhD,gHAAA,cAAc,OAAA;AAGvB,sEAAqE;AAA5D,4HAAA,oBAAoB,OAAA;AAC7B,0DAAyD;AAAhD,gHAAA,cAAc,OAAA;AAGvB,wDAAuD;AAA9C,8GAAA,aAAa,OAAA;AAEtB,oEAAmE;AAA1D,0HAAA,mBAAmB,OAAA;AAC5B,8EAA6E;AAApE,oIAAA,wBAAwB,OAAA;AACjC,8EAA6E;AAApE,oIAAA,wBAAwB,OAAA;AACjC,gFAA+E;AAAtE,sIAAA,yBAAyB,OAAA;AAClC,gFAA+E;AAAtE,sIAAA,yBAAyB,OAAA;AAClC,gFAA+E;AAAtE,sIAAA,yBAAyB,OAAA;AAGlC,0DAAyD;AAAhD,8GAAA,aAAa,OAAA;AACtB,sEAAqE;AAA5D,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"}
|
|
@@ -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"}
|
|
@@ -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"}
|
|
@@ -4,9 +4,12 @@ export type IndividualClientCustomFieldDataDto = {
|
|
|
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":"IndividualClientCustomFieldDataDto.js","sourceRoot":"","sources":["../../models/IndividualClientCustomFieldDataDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"IndividualClientCustomFieldDataDto.js","sourceRoot":"","sources":["../../models/IndividualClientCustomFieldDataDto.ts"],"names":[],"mappings":";;;AAqBA,IAAiB,kCAAkC,CAYlD;AAZD,WAAiB,kCAAkC;IAC/C;;OAEG;IACH,IAAY,QAOX;IAPD,WAAY,QAAQ;QAChB,+BAAmB,CAAA;QACnB,+BAAmB,CAAA;QACnB,+BAAmB,CAAA;QACnB,yBAAa,CAAA;QACb,mCAAuB,CAAA;QACvB,uCAA2B,CAAA;IAC/B,CAAC,EAPW,QAAQ,GAAR,2CAAQ,KAAR,2CAAQ,QAOnB;AACL,CAAC,EAZgB,kCAAkC,kDAAlC,kCAAkC,QAYlD"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export type OperationStatusDto = {
|
|
2
|
+
/**
|
|
3
|
+
* Status of the operation
|
|
4
|
+
*/
|
|
5
|
+
status: OperationStatusDto.status;
|
|
6
|
+
/**
|
|
7
|
+
* Reason for the status update
|
|
8
|
+
*/
|
|
9
|
+
reason?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Additional status details
|
|
12
|
+
*/
|
|
13
|
+
subStatus?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Timestamp of the status update
|
|
16
|
+
*/
|
|
17
|
+
timestamp?: string;
|
|
18
|
+
};
|
|
19
|
+
export declare namespace OperationStatusDto {
|
|
20
|
+
/**
|
|
21
|
+
* Status of the operation
|
|
22
|
+
*/
|
|
23
|
+
enum status {
|
|
24
|
+
PENDING = "PENDING",
|
|
25
|
+
SUCCESS = "SUCCESS",
|
|
26
|
+
FAILED = "FAILED",
|
|
27
|
+
EXPIRED = "EXPIRED",
|
|
28
|
+
REJECTED = "REJECTED"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OperationStatusDto = void 0;
|
|
4
|
+
var OperationStatusDto;
|
|
5
|
+
(function (OperationStatusDto) {
|
|
6
|
+
/**
|
|
7
|
+
* Status of the operation
|
|
8
|
+
*/
|
|
9
|
+
let status;
|
|
10
|
+
(function (status) {
|
|
11
|
+
status["PENDING"] = "PENDING";
|
|
12
|
+
status["SUCCESS"] = "SUCCESS";
|
|
13
|
+
status["FAILED"] = "FAILED";
|
|
14
|
+
status["EXPIRED"] = "EXPIRED";
|
|
15
|
+
status["REJECTED"] = "REJECTED";
|
|
16
|
+
})(status = OperationStatusDto.status || (OperationStatusDto.status = {}));
|
|
17
|
+
})(OperationStatusDto || (exports.OperationStatusDto = OperationStatusDto = {}));
|
|
18
|
+
//# sourceMappingURL=OperationStatusDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OperationStatusDto.js","sourceRoot":"","sources":["../../models/OperationStatusDto.ts"],"names":[],"mappings":";;;AAsBA,IAAiB,kBAAkB,CAWlC;AAXD,WAAiB,kBAAkB;IAC/B;;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,yBAAM,KAAN,yBAAM,QAMjB;AACL,CAAC,EAXgB,kBAAkB,kCAAlB,kBAAkB,QAWlC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export type OperationStatusUpdateDto = {
|
|
2
|
+
/**
|
|
3
|
+
* Current status of the trade
|
|
4
|
+
*/
|
|
5
|
+
status: OperationStatusUpdateDto.status;
|
|
6
|
+
/**
|
|
7
|
+
* Timestamp of the status update
|
|
8
|
+
*/
|
|
9
|
+
timestamp?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Reason for the current status
|
|
12
|
+
*/
|
|
13
|
+
reason?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Additional status details
|
|
16
|
+
*/
|
|
17
|
+
subStatus?: string;
|
|
18
|
+
};
|
|
19
|
+
export declare namespace OperationStatusUpdateDto {
|
|
20
|
+
/**
|
|
21
|
+
* Current status of the trade
|
|
22
|
+
*/
|
|
23
|
+
enum status {
|
|
24
|
+
PENDING = "PENDING",
|
|
25
|
+
SUCCESS = "SUCCESS",
|
|
26
|
+
FAILED = "FAILED",
|
|
27
|
+
EXPIRED = "EXPIRED",
|
|
28
|
+
REJECTED = "REJECTED"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OperationStatusUpdateDto = void 0;
|
|
4
|
+
var OperationStatusUpdateDto;
|
|
5
|
+
(function (OperationStatusUpdateDto) {
|
|
6
|
+
/**
|
|
7
|
+
* Current status of the trade
|
|
8
|
+
*/
|
|
9
|
+
let status;
|
|
10
|
+
(function (status) {
|
|
11
|
+
status["PENDING"] = "PENDING";
|
|
12
|
+
status["SUCCESS"] = "SUCCESS";
|
|
13
|
+
status["FAILED"] = "FAILED";
|
|
14
|
+
status["EXPIRED"] = "EXPIRED";
|
|
15
|
+
status["REJECTED"] = "REJECTED";
|
|
16
|
+
})(status = OperationStatusUpdateDto.status || (OperationStatusUpdateDto.status = {}));
|
|
17
|
+
})(OperationStatusUpdateDto || (exports.OperationStatusUpdateDto = OperationStatusUpdateDto = {}));
|
|
18
|
+
//# sourceMappingURL=OperationStatusUpdateDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OperationStatusUpdateDto.js","sourceRoot":"","sources":["../../models/OperationStatusUpdateDto.ts"],"names":[],"mappings":";;;AAsBA,IAAiB,wBAAwB,CAWxC;AAXD,WAAiB,wBAAwB;IACrC;;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,+BAAM,KAAN,+BAAM,QAMjB;AACL,CAAC,EAXgB,wBAAwB,wCAAxB,wBAAwB,QAWxC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { OperationInitiatorDto } from './OperationInitiatorDto';
|
|
2
|
+
import type { OperationStatusDto } from './OperationStatusDto';
|
|
2
3
|
import type { TransactionDto } from './TransactionDto';
|
|
3
4
|
export type TradeOperationDto = {
|
|
4
5
|
/**
|
|
@@ -49,6 +50,10 @@ export type TradeOperationDto = {
|
|
|
49
50
|
* Quote asset of the trade
|
|
50
51
|
*/
|
|
51
52
|
instrumentQuoteAsset: string;
|
|
53
|
+
/**
|
|
54
|
+
* Status history of the trade
|
|
55
|
+
*/
|
|
56
|
+
statusHistory?: Array<OperationStatusDto>;
|
|
52
57
|
};
|
|
53
58
|
export declare namespace TradeOperationDto {
|
|
54
59
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TradeOperationDto.js","sourceRoot":"","sources":["../../models/TradeOperationDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"TradeOperationDto.js","sourceRoot":"","sources":["../../models/TradeOperationDto.ts"],"names":[],"mappings":";;;AA6DA,IAAiB,iBAAiB,CAQjC;AARD,WAAiB,iBAAiB;IAC9B;;OAEG;IACH,IAAY,SAGX;IAHD,WAAY,SAAS;QACjB,wBAAW,CAAA;QACX,0BAAa,CAAA;IACjB,CAAC,EAHW,SAAS,GAAT,2BAAS,KAAT,2BAAS,QAGpB;AACL,CAAC,EARgB,iBAAiB,iCAAjB,iBAAiB,QAQjC"}
|
|
@@ -17,7 +17,7 @@ export declare class ClientsService {
|
|
|
17
17
|
*/
|
|
18
18
|
createCorporateClient(requestBody: CreateCorporateClientDto): CancelablePromise<CorporateClientDto>;
|
|
19
19
|
/**
|
|
20
|
-
* Update
|
|
20
|
+
* Update an existing corporate client
|
|
21
21
|
* @param clientId
|
|
22
22
|
* @param requestBody
|
|
23
23
|
* @returns CorporateClientDto
|
|
@@ -39,7 +39,7 @@ export declare class ClientsService {
|
|
|
39
39
|
*/
|
|
40
40
|
createIndividualClient(requestBody: CreateIndividualClientDto): CancelablePromise<IndividualClientDto>;
|
|
41
41
|
/**
|
|
42
|
-
* Update an individual client
|
|
42
|
+
* Update an existing individual client
|
|
43
43
|
* @param clientId
|
|
44
44
|
* @param requestBody
|
|
45
45
|
* @returns IndividualClientDto
|
|
@@ -21,7 +21,7 @@ class ClientsService {
|
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
|
-
* Update
|
|
24
|
+
* Update an existing corporate client
|
|
25
25
|
* @param clientId
|
|
26
26
|
* @param requestBody
|
|
27
27
|
* @returns CorporateClientDto
|
|
@@ -68,7 +68,7 @@ class ClientsService {
|
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
|
-
* Update an individual client
|
|
71
|
+
* Update an existing individual client
|
|
72
72
|
* @param clientId
|
|
73
73
|
* @param requestBody
|
|
74
74
|
* @returns IndividualClientDto
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
2
|
+
import type { BaseHttpRequest } from '../core/BaseHttpRequest';
|
|
3
|
+
export declare class PlatformService {
|
|
4
|
+
readonly httpRequest: BaseHttpRequest;
|
|
5
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
6
|
+
/**
|
|
7
|
+
* Get encryption configuration from platform service
|
|
8
|
+
* @returns any The encryption configuration has been successfully retrieved from platform service.
|
|
9
|
+
* @throws ApiError
|
|
10
|
+
*/
|
|
11
|
+
platformControllerGetEncryptionConfiguration(): CancelablePromise<any>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PlatformService = void 0;
|
|
4
|
+
class PlatformService {
|
|
5
|
+
httpRequest;
|
|
6
|
+
constructor(httpRequest) {
|
|
7
|
+
this.httpRequest = httpRequest;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get encryption configuration from platform service
|
|
11
|
+
* @returns any The encryption configuration has been successfully retrieved from platform service.
|
|
12
|
+
* @throws ApiError
|
|
13
|
+
*/
|
|
14
|
+
platformControllerGetEncryptionConfiguration() {
|
|
15
|
+
return this.httpRequest.request({
|
|
16
|
+
method: 'GET',
|
|
17
|
+
url: '/v1/platform/encryption-config',
|
|
18
|
+
errors: {
|
|
19
|
+
404: `The encryption configuration was not found.`,
|
|
20
|
+
500: `Failed to fetch encryption configuration from platform service.`,
|
|
21
|
+
},
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.PlatformService = PlatformService;
|
|
26
|
+
//# sourceMappingURL=PlatformService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlatformService.js","sourceRoot":"","sources":["../../services/PlatformService.ts"],"names":[],"mappings":";;;AAMA,MAAa,eAAe;IACI;IAA5B,YAA4B,WAA4B;QAA5B,gBAAW,GAAX,WAAW,CAAiB;IAAG,CAAC;IAC5D;;;;OAIG;IACI,4CAA4C;QAC/C,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,gCAAgC;YACrC,MAAM,EAAE;gBACJ,GAAG,EAAE,6CAA6C;gBAClD,GAAG,EAAE,iEAAiE;aACzE;SACJ,CAAC,CAAC;IACP,CAAC;CACJ;AAjBD,0CAiBC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { CreateTradeOperationDto } from '../models/CreateTradeOperationDto';
|
|
2
2
|
import type { CreateTransactionDto } from '../models/CreateTransactionDto';
|
|
3
|
+
import type { OperationStatusUpdateDto } from '../models/OperationStatusUpdateDto';
|
|
3
4
|
import type { TradeOperationDto } from '../models/TradeOperationDto';
|
|
4
5
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
5
6
|
import type { BaseHttpRequest } from '../core/BaseHttpRequest';
|
|
@@ -14,6 +15,14 @@ export declare class TradesService {
|
|
|
14
15
|
* @throws ApiError
|
|
15
16
|
*/
|
|
16
17
|
createTrade(requestBody: CreateTradeOperationDto, shouldAppendToExistingTrade?: boolean): CancelablePromise<TradeOperationDto>;
|
|
18
|
+
/**
|
|
19
|
+
* Update the status of a trade
|
|
20
|
+
* @param id
|
|
21
|
+
* @param requestBody
|
|
22
|
+
* @returns TradeOperationDto
|
|
23
|
+
* @throws ApiError
|
|
24
|
+
*/
|
|
25
|
+
updateTradeStatus(id: string, requestBody: OperationStatusUpdateDto): CancelablePromise<TradeOperationDto>;
|
|
17
26
|
/**
|
|
18
27
|
* Get a trade by ID or referenceId
|
|
19
28
|
* @param id
|
|
@@ -24,6 +24,24 @@ class TradesService {
|
|
|
24
24
|
mediaType: 'application/json',
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
|
+
/**
|
|
28
|
+
* Update the status of a trade
|
|
29
|
+
* @param id
|
|
30
|
+
* @param requestBody
|
|
31
|
+
* @returns TradeOperationDto
|
|
32
|
+
* @throws ApiError
|
|
33
|
+
*/
|
|
34
|
+
updateTradeStatus(id, requestBody) {
|
|
35
|
+
return this.httpRequest.request({
|
|
36
|
+
method: 'PUT',
|
|
37
|
+
url: '/v1/operations/trades/{id}/updateStatus',
|
|
38
|
+
path: {
|
|
39
|
+
'id': id,
|
|
40
|
+
},
|
|
41
|
+
body: requestBody,
|
|
42
|
+
mediaType: 'application/json',
|
|
43
|
+
});
|
|
44
|
+
}
|
|
27
45
|
/**
|
|
28
46
|
* Get a trade by ID or referenceId
|
|
29
47
|
* @param id
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TradesService.js","sourceRoot":"","sources":["../../services/TradesService.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"TradesService.js","sourceRoot":"","sources":["../../services/TradesService.ts"],"names":[],"mappings":";;;AAUA,MAAa,aAAa;IACM;IAA5B,YAA4B,WAA4B;QAA5B,gBAAW,GAAX,WAAW,CAAiB;IAAG,CAAC;IAC5D;;;;;;OAMG;IACI,WAAW,CACd,WAAoC,EACpC,2BAAqC;QAErC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,uBAAuB;YAC5B,KAAK,EAAE;gBACH,6BAA6B,EAAE,2BAA2B;aAC7D;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,iBAAiB,CACpB,EAAU,EACV,WAAqC;QAErC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,yCAAyC;YAC9C,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,QAAQ,CACX,EAAU;QAEV,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,4BAA4B;YACjC,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,cAAc,CACjB,EAAU,EACV,WAAiC;QAEjC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,yCAAyC;YAC9C,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;CACJ;AAlFD,sCAkFC"}
|
package/dist/webhooks/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IndividualClientDto } from "../models/IndividualClientDto";
|
|
2
2
|
import { CorporateClientDto } from "../models/CorporateClientDto";
|
|
3
3
|
import { AlertDto } from "../models/AlertDto";
|
|
4
4
|
export declare enum WebhookEventType {
|
package/package.json
CHANGED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import type { ClientRiskDto } from './ClientRiskDto';
|
|
2
|
-
import type { IndividualClientCustomFieldDataDto } from './IndividualClientCustomFieldDataDto';
|
|
3
|
-
export type CreateIndividualClientResponseDto = {
|
|
4
|
-
/**
|
|
5
|
-
* Unique identifier of the client
|
|
6
|
-
*/
|
|
7
|
-
id: string;
|
|
8
|
-
/**
|
|
9
|
-
* External reference ID for the individual client
|
|
10
|
-
*/
|
|
11
|
-
referenceId?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Created at timestamp of the individual client
|
|
14
|
-
*/
|
|
15
|
-
createdAt?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Updated at timestamp of the individual client
|
|
18
|
-
*/
|
|
19
|
-
updatedAt?: string;
|
|
20
|
-
/**
|
|
21
|
-
* Current activity status of the individual client
|
|
22
|
-
*/
|
|
23
|
-
activityStatus?: CreateIndividualClientResponseDto.activityStatus;
|
|
24
|
-
/**
|
|
25
|
-
* Current account status of the individual client
|
|
26
|
-
*/
|
|
27
|
-
accountStatus?: CreateIndividualClientResponseDto.accountStatus;
|
|
28
|
-
/**
|
|
29
|
-
* Custom fields data for the individual client
|
|
30
|
-
*/
|
|
31
|
-
customFields?: Record<string, IndividualClientCustomFieldDataDto>;
|
|
32
|
-
/**
|
|
33
|
-
* Current risk assessment of the individual client
|
|
34
|
-
*/
|
|
35
|
-
currentRisk?: ClientRiskDto;
|
|
36
|
-
/**
|
|
37
|
-
* Risk history of the individual client
|
|
38
|
-
*/
|
|
39
|
-
riskHistory?: Array<ClientRiskDto>;
|
|
40
|
-
};
|
|
41
|
-
export declare namespace CreateIndividualClientResponseDto {
|
|
42
|
-
/**
|
|
43
|
-
* Current activity status of the individual client
|
|
44
|
-
*/
|
|
45
|
-
enum activityStatus {
|
|
46
|
-
ACTIVE = "ACTIVE",
|
|
47
|
-
NOT_ACTIVE = "NOT_ACTIVE"
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Current account status of the individual client
|
|
51
|
-
*/
|
|
52
|
-
enum accountStatus {
|
|
53
|
-
APPROVED = "APPROVED",
|
|
54
|
-
WAITING_FOR_REVIEW = "WAITING_FOR_REVIEW",
|
|
55
|
-
IN_REVIEW = "IN_REVIEW",
|
|
56
|
-
REJECTED = "REJECTED",
|
|
57
|
-
OFF_BOARDED = "OFF_BOARDED",
|
|
58
|
-
FROZEN = "FROZEN"
|
|
59
|
-
}
|
|
60
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CreateIndividualClientResponseDto = void 0;
|
|
4
|
-
var CreateIndividualClientResponseDto;
|
|
5
|
-
(function (CreateIndividualClientResponseDto) {
|
|
6
|
-
/**
|
|
7
|
-
* Current activity status of the individual client
|
|
8
|
-
*/
|
|
9
|
-
let activityStatus;
|
|
10
|
-
(function (activityStatus) {
|
|
11
|
-
activityStatus["ACTIVE"] = "ACTIVE";
|
|
12
|
-
activityStatus["NOT_ACTIVE"] = "NOT_ACTIVE";
|
|
13
|
-
})(activityStatus = CreateIndividualClientResponseDto.activityStatus || (CreateIndividualClientResponseDto.activityStatus = {}));
|
|
14
|
-
/**
|
|
15
|
-
* Current account status of the individual client
|
|
16
|
-
*/
|
|
17
|
-
let accountStatus;
|
|
18
|
-
(function (accountStatus) {
|
|
19
|
-
accountStatus["APPROVED"] = "APPROVED";
|
|
20
|
-
accountStatus["WAITING_FOR_REVIEW"] = "WAITING_FOR_REVIEW";
|
|
21
|
-
accountStatus["IN_REVIEW"] = "IN_REVIEW";
|
|
22
|
-
accountStatus["REJECTED"] = "REJECTED";
|
|
23
|
-
accountStatus["OFF_BOARDED"] = "OFF_BOARDED";
|
|
24
|
-
accountStatus["FROZEN"] = "FROZEN";
|
|
25
|
-
})(accountStatus = CreateIndividualClientResponseDto.accountStatus || (CreateIndividualClientResponseDto.accountStatus = {}));
|
|
26
|
-
})(CreateIndividualClientResponseDto || (exports.CreateIndividualClientResponseDto = CreateIndividualClientResponseDto = {}));
|
|
27
|
-
//# sourceMappingURL=CreateIndividualClientResponseDto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CreateIndividualClientResponseDto.js","sourceRoot":"","sources":["../../models/CreateIndividualClientResponseDto.ts"],"names":[],"mappings":";;;AA4CA,IAAiB,iCAAiC,CAmBjD;AAnBD,WAAiB,iCAAiC;IAC9C;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,gDAAc,KAAd,gDAAc,QAGzB;IACD;;OAEG;IACH,IAAY,aAOX;IAPD,WAAY,aAAa;QACrB,sCAAqB,CAAA;QACrB,0DAAyC,CAAA;QACzC,wCAAuB,CAAA;QACvB,sCAAqB,CAAA;QACrB,4CAA2B,CAAA;QAC3B,kCAAiB,CAAA;IACrB,CAAC,EAPW,aAAa,GAAb,+CAAa,KAAb,+CAAa,QAOxB;AACL,CAAC,EAnBgB,iCAAiC,iDAAjC,iCAAiC,QAmBjD"}
|