From 916c04b84dc8602623d4a6c6978d7c0c1628faba Mon Sep 17 00:00:00 2001 From: heisner-tillman Date: Mon, 19 Feb 2024 21:34:39 +0100 Subject: [PATCH] Regenerate the client schema --- client/src/api/schema/schema.ts | 45 +++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/client/src/api/schema/schema.ts b/client/src/api/schema/schema.ts index 5b31486b65da..07a697ac8954 100644 --- a/client/src/api/schema/schema.ts +++ b/client/src/api/schema/schema.ts @@ -1785,6 +1785,10 @@ export interface paths { */ get: operations["index_api_workflows_get"]; }; + "/api/workflows/get_tool_predictions": { + /** Fetch predicted tools for a workflow */ + post: operations["get_tool_predictions_api_workflows_get_tool_predictions_post"]; + }; "/api/workflows/menu": { /** Get workflows present in the tools panel. */ get: operations["get_workflow_menu_api_workflows_menu_get"]; @@ -5171,6 +5175,19 @@ export interface components { /** Tags */ tags?: string[] | null; }; + /** GetToolPredictionsPayload */ + GetToolPredictionsPayload: { + /** + * Remote Model URL + * @description Path to the deep learning model + */ + remote_model_url?: Record | null; + /** + * Tool Sequence + * @description comma separated sequence of tool ids + */ + tool_sequence: Record; + }; /** * GroupCreatePayload * @description Payload schema for creating a group. @@ -22109,6 +22126,34 @@ export interface operations { }; }; }; + get_tool_predictions_api_workflows_get_tool_predictions_post: { + /** Fetch predicted tools for a workflow */ + parameters?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + header?: { + "run-as"?: string | null; + }; + }; + requestBody: { + content: { + "application/json": components["schemas"]["GetToolPredictionsPayload"]; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + content: { + "application/json": Record; + }; + }; + /** @description Validation Error */ + 422: { + content: { + "application/json": components["schemas"]["HTTPValidationError"]; + }; + }; + }; + }; get_workflow_menu_api_workflows_menu_get: { /** Get workflows present in the tools panel. */ parameters?: {