diff --git a/ui/src/api/generated/schema.d.ts b/ui/src/api/generated/schema.d.ts index b63ead0..dec3734 100644 --- a/ui/src/api/generated/schema.d.ts +++ b/ui/src/api/generated/schema.d.ts @@ -998,4 +998,232 @@ export interface operations { header?: never; path?: never; cookie?: never; -// __CHUNK__ + }; + requestBody: { + content: { + "application/json": components["schemas"]["ModeUpdateRequest"]; + }; + }; + responses: { + /** @description Режим применён */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ModeUpdateResponse"]; + }; + }; + 400: components["responses"]["BadRequest"]; + 401: components["responses"]["Unauthorized"]; + 422: components["responses"]["ValidationFailed"]; + 500: components["responses"]["InternalError"]; + 503: components["responses"]["AgentUnavailable"]; + }; + }; + updateGeoIp: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: { + content: { + "application/json": components["schemas"]["GeoIpUpdateRequest"]; + }; + }; + responses: { + /** @description Обновление выполнено (или взято из кэша) */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["GeoIpUpdateResponse"]; + }; + }; + 401: components["responses"]["Unauthorized"]; + 422: components["responses"]["ValidationFailed"]; + 500: components["responses"]["InternalError"]; + 503: components["responses"]["UpstreamUnavailable"]; + }; + }; + importRoutingConfig: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["ImportRequest"]; + }; + }; + responses: { + /** @description Результат импорта */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ImportResponse"]; + }; + }; + 400: components["responses"]["BadRequest"]; + 401: components["responses"]["Unauthorized"]; + 422: components["responses"]["ValidationFailed"]; + 500: components["responses"]["InternalError"]; + }; + }; + streamMetrics: { + parameters: { + query?: { + /** @description Токен доступа для сред, где нельзя задать заголовок */ + token?: string; + /** @description Период отправки кадров, мс */ + interval_ms?: number; + }; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Переключение протокола на WebSocket */ + 101: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + 401: components["responses"]["Unauthorized"]; + 500: components["responses"]["InternalError"]; + }; + }; + listDevices: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Список устройств */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["DeviceList"]; + }; + }; + 401: components["responses"]["Unauthorized"]; + 500: components["responses"]["InternalError"]; + }; + }; + listLogs: { + parameters: { + query?: { + limit?: number; + /** @description Курсор пагинации из предыдущего ответа (`next_cursor`) */ + cursor?: string; + level?: components["schemas"]["LogLevel"]; + /** @description Подстрока поиска по сообщению */ + q?: string; + }; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Страница журнала */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["LogList"]; + }; + }; + 401: components["responses"]["Unauthorized"]; + 422: components["responses"]["ValidationFailed"]; + 500: components["responses"]["InternalError"]; + }; + }; + login: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["AuthLoginRequest"]; + }; + }; + responses: { + /** @description Сессия создана */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["AuthSession"]; + }; + }; + 401: components["responses"]["Unauthorized"]; + 422: components["responses"]["ValidationFailed"]; + 429: components["responses"]["RateLimited"]; + 500: components["responses"]["InternalError"]; + }; + }; + logout: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Сессия завершена */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["AuthSession"]; + }; + }; + 401: components["responses"]["Unauthorized"]; + 500: components["responses"]["InternalError"]; + }; + }; + getAuthSession: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Состояние сессии */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["AuthSession"]; + }; + }; + 401: components["responses"]["Unauthorized"]; + 500: components["responses"]["InternalError"]; + }; + }; +}