1088 lines
34 KiB
TypeScript
1088 lines
34 KiB
TypeScript
/**
|
|
* This file was auto-generated by openapi-typescript.
|
|
* Do not make direct changes to the file.
|
|
*/
|
|
|
|
export interface paths {
|
|
"/api/v1/auth/register": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get?: never;
|
|
put?: never;
|
|
post: operations["AuthController_register"];
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/api/v1/auth/login": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get?: never;
|
|
put?: never;
|
|
post: operations["AuthController_login"];
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/api/v1/auth/refresh": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get?: never;
|
|
put?: never;
|
|
post: operations["AuthController_refresh"];
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/api/v1/auth/logout": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get?: never;
|
|
put?: never;
|
|
post: operations["AuthController_logout"];
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/api/v1/auth/me": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get: operations["AuthController_me"];
|
|
put?: never;
|
|
post?: never;
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/api/v1/tbank-connection": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get: operations["TbankConnectionController_status"];
|
|
put: operations["TbankConnectionController_put"];
|
|
post?: never;
|
|
delete: operations["TbankConnectionController_delete"];
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/api/v1/brokerage-accounts": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get: operations["BrokerageAccountsController_list"];
|
|
put?: never;
|
|
post?: never;
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/api/v1/brokerage-accounts/{accountId}/operations": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get: operations["BrokerageOperationsController_get"];
|
|
put?: never;
|
|
post?: never;
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/api/v1/brokerage-accounts/{accountId}/portfolio": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get: operations["PortfolioController_get"];
|
|
put?: never;
|
|
post?: never;
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/api/v1/brokerage-accounts/{accountId}/events": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get: operations["UpcomingEventsController_get"];
|
|
put?: never;
|
|
post?: never;
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
}
|
|
export type webhooks = Record<string, never>;
|
|
export interface components {
|
|
schemas: {
|
|
ProblemDetailsDto: {
|
|
/** @example 401 */
|
|
status: number;
|
|
/** @example UNAUTHORIZED */
|
|
code: string;
|
|
/**
|
|
* @example [
|
|
* {
|
|
* "pointer": "#/email",
|
|
* "detail": "must be a valid email address"
|
|
* }
|
|
* ]
|
|
*/
|
|
errors?: string[];
|
|
};
|
|
CredentialsDto: {
|
|
/** @example user@example.com */
|
|
email: string;
|
|
/** @example a secure password */
|
|
password: string;
|
|
};
|
|
UserDto: {
|
|
id: string;
|
|
email: string;
|
|
};
|
|
AuthenticationDto: {
|
|
accessToken: string;
|
|
user: components["schemas"]["UserDto"];
|
|
};
|
|
TbankConnectionStatusDto: {
|
|
connected: boolean;
|
|
/** Format: date-time */
|
|
connectedAt: Record<string, never> | null;
|
|
};
|
|
PutTbankConnectionDto: {
|
|
token: string;
|
|
};
|
|
MoneyDto: {
|
|
currency: string;
|
|
value: string;
|
|
};
|
|
PortfolioSummaryDto: {
|
|
totalsByCurrency: components["schemas"]["MoneyDto"][];
|
|
};
|
|
BrokerageAccountDto: {
|
|
id: string;
|
|
name: string;
|
|
/** @enum {string} */
|
|
type: "BROKERAGE" | "INDIVIDUAL_INVESTMENT" | "INVEST_BOX" | "MONEY_MARKET_FUND";
|
|
/** Format: date */
|
|
openedOn: string | null;
|
|
portfolioSummary: components["schemas"]["PortfolioSummaryDto"] | null;
|
|
};
|
|
BrokerageOperationDto: {
|
|
id: string;
|
|
/** Format: date-time */
|
|
occurredAt: string;
|
|
type: string;
|
|
/** @enum {string} */
|
|
category: "trade" | "income" | "tax" | "fee" | "transfer" | "other";
|
|
description: string;
|
|
figi: string | null;
|
|
instrumentUid: string | null;
|
|
ticker: string | null;
|
|
instrumentType: string | null;
|
|
logoName: string | null;
|
|
payment: components["schemas"]["MoneyDto"] | null;
|
|
quantity: string | null;
|
|
price: components["schemas"]["MoneyDto"] | null;
|
|
accruedInterest: components["schemas"]["MoneyDto"] | null;
|
|
commission: components["schemas"]["MoneyDto"] | null;
|
|
};
|
|
BrokerageOperationsPageDto: {
|
|
accountId: string;
|
|
items: components["schemas"]["BrokerageOperationDto"][];
|
|
nextCursor: string | null;
|
|
hasNext: boolean;
|
|
/** Format: date-time */
|
|
observedAt: string;
|
|
};
|
|
PortfolioPositionDto: {
|
|
figi: string | null;
|
|
displayName: string;
|
|
/** @enum {string} */
|
|
type: "STOCK" | "BOND" | "FUND" | "CURRENCY" | "FUTURE" | "OPTION" | "STRUCTURED_NOTE" | "DIGITAL_FINANCIAL_ASSET" | "OTHER";
|
|
quantity: string;
|
|
currentValue: components["schemas"]["MoneyDto"] | null;
|
|
averagePurchasePrice: components["schemas"]["MoneyDto"] | null;
|
|
absoluteReturn: components["schemas"]["MoneyDto"] | null;
|
|
isin: string | null;
|
|
logoName: string | null;
|
|
};
|
|
PortfolioDto: {
|
|
/** Format: date-time */
|
|
lastSuccessfulAt: string;
|
|
isStale: boolean;
|
|
totalsByCurrency: components["schemas"]["MoneyDto"][];
|
|
positions: components["schemas"]["PortfolioPositionDto"][];
|
|
cashBalances: components["schemas"]["MoneyDto"][];
|
|
};
|
|
UpcomingEventDto: {
|
|
/** @enum {string} */
|
|
type: "coupon" | "dividend" | "maturity" | "offer";
|
|
/** Format: date */
|
|
date: string;
|
|
/** @enum {string} */
|
|
dateKind: "event" | "registry";
|
|
figi: string | null;
|
|
instrumentUid: string | null;
|
|
ticker: string;
|
|
displayName: string;
|
|
projectedAmount: components["schemas"]["MoneyDto"] | null;
|
|
};
|
|
UpcomingEventsDto: {
|
|
accountId: string;
|
|
/** Format: date-time */
|
|
calculatedAt: string;
|
|
events: components["schemas"]["UpcomingEventDto"][];
|
|
};
|
|
};
|
|
responses: never;
|
|
parameters: never;
|
|
requestBodies: never;
|
|
headers: never;
|
|
pathItems: never;
|
|
}
|
|
export type $defs = Record<string, never>;
|
|
export interface operations {
|
|
AuthController_register: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
requestBody: {
|
|
content: {
|
|
"application/json": components["schemas"]["CredentialsDto"];
|
|
};
|
|
};
|
|
responses: {
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["AuthenticationDto"];
|
|
};
|
|
};
|
|
/** @description Invalid request */
|
|
400: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Authentication required */
|
|
401: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Resource not found */
|
|
404: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Internal server error */
|
|
500: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Upstream service unavailable */
|
|
503: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
AuthController_login: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
requestBody: {
|
|
content: {
|
|
"application/json": components["schemas"]["CredentialsDto"];
|
|
};
|
|
};
|
|
responses: {
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["AuthenticationDto"];
|
|
};
|
|
};
|
|
/** @description Invalid request */
|
|
400: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Authentication required */
|
|
401: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Resource not found */
|
|
404: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Internal server error */
|
|
500: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Upstream service unavailable */
|
|
503: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
AuthController_refresh: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
requestBody?: never;
|
|
responses: {
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["AuthenticationDto"];
|
|
};
|
|
};
|
|
/** @description Invalid request */
|
|
400: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Authentication required */
|
|
401: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Resource not found */
|
|
404: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Internal server error */
|
|
500: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Upstream service unavailable */
|
|
503: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
AuthController_logout: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
requestBody?: never;
|
|
responses: {
|
|
204: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content?: never;
|
|
};
|
|
/** @description Invalid request */
|
|
400: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Authentication required */
|
|
401: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Resource not found */
|
|
404: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Internal server error */
|
|
500: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Upstream service unavailable */
|
|
503: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
AuthController_me: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
requestBody?: never;
|
|
responses: {
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["UserDto"];
|
|
};
|
|
};
|
|
/** @description Invalid request */
|
|
400: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Authentication required */
|
|
401: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Resource not found */
|
|
404: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Internal server error */
|
|
500: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Upstream service unavailable */
|
|
503: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
TbankConnectionController_status: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
requestBody?: never;
|
|
responses: {
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["TbankConnectionStatusDto"];
|
|
};
|
|
};
|
|
/** @description Invalid request */
|
|
400: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Authentication required */
|
|
401: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Resource not found */
|
|
404: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Internal server error */
|
|
500: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Upstream service unavailable */
|
|
503: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
TbankConnectionController_put: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
requestBody: {
|
|
content: {
|
|
"application/json": components["schemas"]["PutTbankConnectionDto"];
|
|
};
|
|
};
|
|
responses: {
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["TbankConnectionStatusDto"];
|
|
};
|
|
};
|
|
/** @description Invalid request */
|
|
400: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Authentication required */
|
|
401: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Resource not found */
|
|
404: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Internal server error */
|
|
500: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Upstream service unavailable */
|
|
503: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
TbankConnectionController_delete: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
requestBody?: never;
|
|
responses: {
|
|
204: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content?: never;
|
|
};
|
|
/** @description Invalid request */
|
|
400: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Authentication required */
|
|
401: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Resource not found */
|
|
404: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Internal server error */
|
|
500: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Upstream service unavailable */
|
|
503: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
BrokerageAccountsController_list: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
requestBody?: never;
|
|
responses: {
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["BrokerageAccountDto"][];
|
|
};
|
|
};
|
|
/** @description Invalid request */
|
|
400: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Authentication required */
|
|
401: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Resource not found */
|
|
404: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Internal server error */
|
|
500: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Upstream service unavailable */
|
|
503: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
BrokerageOperationsController_get: {
|
|
parameters: {
|
|
query?: {
|
|
from?: string;
|
|
to?: string;
|
|
categories?: ("trade" | "income" | "tax" | "fee" | "transfer" | "other")[];
|
|
cursor?: string;
|
|
limit?: number;
|
|
};
|
|
header?: never;
|
|
path: {
|
|
accountId: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody?: never;
|
|
responses: {
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["BrokerageOperationsPageDto"];
|
|
};
|
|
};
|
|
/** @description Invalid request */
|
|
400: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Authentication required */
|
|
401: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Resource not found */
|
|
404: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Internal server error */
|
|
500: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Upstream service unavailable */
|
|
503: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
PortfolioController_get: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
accountId: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody?: never;
|
|
responses: {
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["PortfolioDto"];
|
|
};
|
|
};
|
|
/** @description Invalid request */
|
|
400: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Authentication required */
|
|
401: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Resource not found */
|
|
404: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Internal server error */
|
|
500: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Upstream service unavailable */
|
|
503: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
UpcomingEventsController_get: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
accountId: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody?: never;
|
|
responses: {
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["UpcomingEventsDto"];
|
|
};
|
|
};
|
|
/** @description Invalid request */
|
|
400: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Authentication required */
|
|
401: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Resource not found */
|
|
404: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Internal server error */
|
|
500: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
/** @description Upstream service unavailable */
|
|
503: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/problem+json": components["schemas"]["ProblemDetailsDto"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|