feat(events): add date filters to upcoming events
This commit is contained in:
Vendored
+12
-2
@@ -3004,7 +3004,12 @@ export interface operations {
|
||||
};
|
||||
UpcomingEventsController_all: {
|
||||
parameters: {
|
||||
query?: never;
|
||||
query?: {
|
||||
/** @description Inclusive start date (YYYY-MM-DD). Defaults to today in UTC. */
|
||||
from?: string;
|
||||
/** @description Inclusive end date (YYYY-MM-DD). Defaults to 30 days after from. */
|
||||
to?: string;
|
||||
};
|
||||
header?: never;
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
@@ -3068,7 +3073,12 @@ export interface operations {
|
||||
};
|
||||
UpcomingEventsController_get: {
|
||||
parameters: {
|
||||
query?: never;
|
||||
query?: {
|
||||
/** @description Inclusive start date (YYYY-MM-DD). Defaults to today in UTC. */
|
||||
from?: string;
|
||||
/** @description Inclusive end date (YYYY-MM-DD). Defaults to 30 days after from. */
|
||||
to?: string;
|
||||
};
|
||||
header?: never;
|
||||
path: {
|
||||
accountId: string;
|
||||
|
||||
@@ -2544,7 +2544,28 @@
|
||||
"/api/v1/brokerage-accounts/all/events": {
|
||||
"get": {
|
||||
"operationId": "UpcomingEventsController_all",
|
||||
"parameters": [],
|
||||
"parameters": [
|
||||
{
|
||||
"name": "from",
|
||||
"required": false,
|
||||
"in": "query",
|
||||
"description": "Inclusive start date (YYYY-MM-DD). Defaults to today in UTC.",
|
||||
"schema": {
|
||||
"format": "date",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "to",
|
||||
"required": false,
|
||||
"in": "query",
|
||||
"description": "Inclusive end date (YYYY-MM-DD). Defaults to 30 days after from.",
|
||||
"schema": {
|
||||
"format": "date",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "",
|
||||
@@ -2628,6 +2649,26 @@
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "from",
|
||||
"required": false,
|
||||
"in": "query",
|
||||
"description": "Inclusive start date (YYYY-MM-DD). Defaults to today in UTC.",
|
||||
"schema": {
|
||||
"format": "date",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "to",
|
||||
"required": false,
|
||||
"in": "query",
|
||||
"description": "Inclusive end date (YYYY-MM-DD). Defaults to 30 days after from.",
|
||||
"schema": {
|
||||
"format": "date",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
|
||||
@@ -443,7 +443,7 @@ const ru = {
|
||||
recentError: "Не удалось загрузить будущие события.",
|
||||
recentEmpty: "На ближайшие 30 дней событий не найдено.",
|
||||
hint: "Прогноз рассчитан по текущей позиции до налогов. Покрытие зависит от доступных данных MOEX.",
|
||||
emptyTitle: "На ближайшие 30 дней событий не найдено",
|
||||
emptyTitle: "За выбранный период событий не найдено",
|
||||
emptyText:
|
||||
"Доступные источники не сообщили о купонах, дивидендах, погашениях или офертах в этом периоде.",
|
||||
errorTitle: "Не удалось загрузить будущие события",
|
||||
|
||||
Reference in New Issue
Block a user