diff --git a/client/src/schema/schema.ts b/client/src/schema/schema.ts index c8ac40bba525..5bcb861e99a0 100644 --- a/client/src/schema/schema.ts +++ b/client/src/schema/schema.ts @@ -8,6 +8,13 @@ export interface paths { /** Returns returns an API key for authenticated user based on BaseAuth headers. */ get: operations["get_api_key_api_authenticate_baseauth_get"]; }; + "/api/chat": { + /** + * Query + * @description We're off to ask the wizard + */ + post: operations["query_api_chat_post"]; + }; "/api/configuration": { /** * Return an object containing exposable configuration settings @@ -1600,6 +1607,17 @@ export interface components { */ type: "change_dbkey"; }; + /** + * ChatPayload + * @description Base model definition with common configuration used by all derived models. + */ + ChatPayload: { + /** + * Message + * @description The message to be sent to the chat. + */ + query: string; + }; /** * CheckForUpdatesResponse * @description Base model definition with common configuration used by all derived models. @@ -7630,6 +7648,31 @@ export interface operations { }; }; }; + query_api_chat_post: { + /** + * Query + * @description We're off to ask the wizard + */ + requestBody: { + content: { + "application/json": components["schemas"]["ChatPayload"]; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + content: { + "application/json": string; + }; + }; + /** @description Validation Error */ + 422: { + content: { + "application/json": components["schemas"]["HTTPValidationError"]; + }; + }; + }; + }; index_api_configuration_get: { /** * Return an object containing exposable configuration settings