diff --git a/XE-Local-AI-Engine.Client.React/package.json b/XE-Local-AI-Engine.Client.React/package.json index 0d2ba0bd6..362c11854 100644 --- a/XE-Local-AI-Engine.Client.React/package.json +++ b/XE-Local-AI-Engine.Client.React/package.json @@ -80,7 +80,7 @@ "@biomejs/biome": "2.5.7", "@cspell/dict-de-de": "^4.1.2", "@cspell/dict-en_us": "4.4.33", - "@hey-api/openapi-ts": "0.97.3", + "@hey-api/openapi-ts": "0.99.0", "@tanstack/devtools-vite": "^0.7.2", "@tanstack/react-devtools": "^0.10.9", "@tanstack/react-form-devtools": "^0.2.32", diff --git a/XE-Local-AI-Engine.Client.React/pnpm-lock.yaml b/XE-Local-AI-Engine.Client.React/pnpm-lock.yaml index 1c07c301d..3aad8081e 100644 --- a/XE-Local-AI-Engine.Client.React/pnpm-lock.yaml +++ b/XE-Local-AI-Engine.Client.React/pnpm-lock.yaml @@ -129,8 +129,8 @@ importers: specifier: 4.4.33 version: 4.4.33 '@hey-api/openapi-ts': - specifier: 0.97.3 - version: 0.97.3(magicast@0.5.4)(typescript@6.0.3) + specifier: 0.99.0 + version: 0.99.0(magicast@0.5.4)(typescript@6.0.3) '@tanstack/devtools-vite': specifier: ^0.7.2 version: 0.7.2(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2)(vite@8.2.1(@types/node@22.3.0)(jiti@2.7.0)(sugarss@5.0.1(postcss@8.5.26))(yaml@2.9.0)) @@ -785,24 +785,24 @@ packages: '@gilbarbara/types@0.2.2': resolution: {integrity: sha512-QuQDBRRcm1Q8AbSac2W1YElurOhprj3Iko/o+P1fJxUWS4rOGKMVli98OXS7uo4z+cKAif6a+L9bcZFSyauQpQ==} - '@hey-api/codegen-core@0.8.2': - resolution: {integrity: sha512-R2NMf3wq97rh1mjz33WJQU8svz3F0RYUjvx/QzXucjpSqQ3O5huTdDjErG4fMxSr1X+X56NuDrqtGfHmo1TRUQ==} - engines: {node: '>=22.13.0'} + '@hey-api/codegen-core@0.9.1': + resolution: {integrity: sha512-s97jL1dgTMuiMHv2BZ1X4Tgd99Mf9GOvGdNqNcGwIMmnR+PgYNoraj4Zvp134MKsNCap/m7k0r0vKKnl56pj4w==} + engines: {node: '>=22.18.0'} - '@hey-api/json-schema-ref-parser@1.4.2': - resolution: {integrity: sha512-ZhCFSKI2ipZHEbgmtUHdyddvRU3wJ4elgCfYUC7T7hZa4EivSrVflTQf2w+v3TuaYxR1Y2V2kq3otqTttrrK8Q==} - engines: {node: '>=22.13.0'} + '@hey-api/json-schema-ref-parser@1.4.4': + resolution: {integrity: sha512-otmd+zCxbYVBIp/mlMTnGkvlNYLkVKgs3VOIq0kSnenhB1+fRwLPQIeSwyWM6E51oXhUedkYjVsVpkVexeuJOA==} + engines: {node: '>=22.18.0'} - '@hey-api/openapi-ts@0.97.3': - resolution: {integrity: sha512-4sR6/E/POuy7aPZW9DDjhObzZCq7eSJWiW0+epXeKNczoTWEwdOyWFy9Ca/CnXYlZ3oJsrv0ZD0OO+YuczT7CA==} - engines: {node: '>=22.13.0'} + '@hey-api/openapi-ts@0.99.0': + resolution: {integrity: sha512-SePU/5oEWWkvUBYmvzdYRctseoLuskyhs4ET0RvLIcmzc8yLQoA2R+KtBIQ8bPsoSUB0m4E5SmBnl6aGSA0szQ==} + engines: {node: '>=22.18.0'} hasBin: true peerDependencies: typescript: '>=5.5.3 || >=6.0.0 || 6.0.1-rc' - '@hey-api/shared@0.4.5': - resolution: {integrity: sha512-au4eHpBXAe1du0iMp6ESYuEaMS2jsoEyrbcT246btRhI9rMeQFEs7ZjtcMGXGsxhpaR38A8cPGNHx7QOrWAdMw==} - engines: {node: '>=22.13.0'} + '@hey-api/shared@0.5.0': + resolution: {integrity: sha512-JN/j4Ebh4cJGYIQ5cwWuqe7GeSUyQoz7oC51WqyhKOcrejK6DKZMDkshc5d1eKTRuRL+rjozuRcoUaZZn2DGPw==} + engines: {node: '>=22.18.0'} '@hey-api/spec-types@0.2.0': resolution: {integrity: sha512-ibQ8Is7evMavzr8GNyJCcTg975d8DpaMUyLmOrQ85UBdy1l6t1KuRAwgChAbesJsIlNV6gjmlXruWyegDX18Fg==} @@ -2812,6 +2812,10 @@ packages: resolution: {integrity: sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==} engines: {node: '>=20'} + commander@15.0.0: + resolution: {integrity: sha512-z67u4ZhzCL/Tydu1lJARtEZYWbWaN7oYLHbsuzocr6y4N6WZAagG3RQ4FW61V1/0+jImpj293XfrcYnd1qxtPg==} + engines: {node: '>=22.12.0'} + comment-json@4.6.2: resolution: {integrity: sha512-R2rze/hDX30uul4NZoIZ76ImSJLFxn/1/ZxtKC1L77y2X1k+yYu1joKbAtMA2Fg3hZrTOiw0I5mwVMo0cf250w==} engines: {node: '>= 6'} @@ -4138,8 +4142,8 @@ packages: ofetch@1.5.1: resolution: {integrity: sha512-2W4oUZlVaqAPAil6FUg/difl6YhqhUR7x2eZY4bQCko22UXg3hptq9KLQdqFClV+Wu85UX7hNtdGTngi/1BxcA==} - ohash@2.0.11: - resolution: {integrity: sha512-RdR9FQrFwNBNXAr4GixM8YaRZRJ5PUWbKYbE5eOsrwAjJW0q2REGcf79oYPsLyskQCZG1PLN+S/K1V00joZAoQ==} + ohash@2.0.12: + resolution: {integrity: sha512-65S/5gk9YSsaRjcyf7Nfa6h/d3E8/1gslpXfI4W7Dxn/oap8IKRuNT5VXkLQ1YFKIEg4apRY4Pj6aiwFzrDdmw==} open@11.0.0: resolution: {integrity: sha512-smsWv2LzFjP03xmvFoJ331ss6h+jixfA4UUV/Bsiyuu4YJPfN+FIQGOIiv4w9/+MoHkfkJ22UIaQWRVFRfH6Vw==} @@ -4617,13 +4621,13 @@ packages: resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} hasBin: true - semver@7.7.4: - resolution: {integrity: sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==} + semver@7.8.1: + resolution: {integrity: sha512-rkVq3IXh+4FDGch+KwzX3aV9W3kO54GyEgpvBzSyctDA6Xtd7RJQV1xmXbeQp5v7+VzLOfVqiutSE6GICgPFvg==} engines: {node: '>=10'} hasBin: true - semver@7.8.1: - resolution: {integrity: sha512-rkVq3IXh+4FDGch+KwzX3aV9W3kO54GyEgpvBzSyctDA6Xtd7RJQV1xmXbeQp5v7+VzLOfVqiutSE6GICgPFvg==} + semver@7.8.4: + resolution: {integrity: sha512-rUCObTnP32Q08R2uuIrt7r9PlEonuTmtuXYcW6s5kjdlj3xbnwe+21yXptAUYcMAABLkYYTtnmzb3w3EDZfueA==} engines: {node: '>=10'} hasBin: true @@ -5923,7 +5927,7 @@ snapshots: dependencies: type-fest: 4.41.0 - '@hey-api/codegen-core@0.8.2(magicast@0.5.4)': + '@hey-api/codegen-core@0.9.1(magicast@0.5.4)': dependencies: '@hey-api/types': 0.1.4 ansi-colors: 4.1.3 @@ -5932,38 +5936,38 @@ snapshots: transitivePeerDependencies: - magicast - '@hey-api/json-schema-ref-parser@1.4.2': + '@hey-api/json-schema-ref-parser@1.4.4': dependencies: '@jsdevtools/ono': 7.1.3 '@types/json-schema': 7.0.15 js-yaml: 4.3.1 - '@hey-api/openapi-ts@0.97.3(magicast@0.5.4)(typescript@6.0.3)': + '@hey-api/openapi-ts@0.99.0(magicast@0.5.4)(typescript@6.0.3)': dependencies: - '@hey-api/codegen-core': 0.8.2(magicast@0.5.4) - '@hey-api/json-schema-ref-parser': 1.4.2 - '@hey-api/shared': 0.4.5(magicast@0.5.4) + '@hey-api/codegen-core': 0.9.1(magicast@0.5.4) + '@hey-api/json-schema-ref-parser': 1.4.4 + '@hey-api/shared': 0.5.0(magicast@0.5.4) '@hey-api/spec-types': 0.2.0 '@hey-api/types': 0.1.4 '@lukeed/ms': 2.0.2 ansi-colors: 4.1.3 color-support: 1.1.3 - commander: 14.0.3 + commander: 15.0.0 get-tsconfig: 4.14.0 typescript: 6.0.3 transitivePeerDependencies: - magicast - '@hey-api/shared@0.4.5(magicast@0.5.4)': + '@hey-api/shared@0.5.0(magicast@0.5.4)': dependencies: - '@hey-api/codegen-core': 0.8.2(magicast@0.5.4) - '@hey-api/json-schema-ref-parser': 1.4.2 + '@hey-api/codegen-core': 0.9.1(magicast@0.5.4) + '@hey-api/json-schema-ref-parser': 1.4.4 '@hey-api/spec-types': 0.2.0 '@hey-api/types': 0.1.4 ansi-colors: 4.1.3 cross-spawn: 7.0.6 open: 11.0.0 - semver: 7.7.4 + semver: 7.8.4 transitivePeerDependencies: - magicast @@ -7587,7 +7591,7 @@ snapshots: exsolve: 1.1.1 giget: 3.3.1 jiti: 2.7.0 - ohash: 2.0.11 + ohash: 2.0.12 pathe: 2.0.3 perfect-debounce: 2.1.0 pkg-types: 2.3.1 @@ -7684,6 +7688,8 @@ snapshots: commander@14.0.3: {} + commander@15.0.0: {} + comment-json@4.6.2: dependencies: array-timsort: 1.0.3 @@ -9209,7 +9215,7 @@ snapshots: node-fetch-native: 1.6.7 ufo: 1.6.4 - ohash@2.0.11: {} + ohash@2.0.12: {} open@11.0.0: dependencies: @@ -9891,10 +9897,10 @@ snapshots: semver@6.3.1: {} - semver@7.7.4: {} - semver@7.8.1: {} + semver@7.8.4: {} + semver@7.8.5: {} seroval-plugins@1.5.6(seroval@1.5.6): diff --git a/XE-Local-AI-Engine.Client.React/src/core/api/generated/@tanstack/react-query.gen.ts b/XE-Local-AI-Engine.Client.React/src/core/api/generated/@tanstack/react-query.gen.ts index feab43168..925b0861b 100644 --- a/XE-Local-AI-Engine.Client.React/src/core/api/generated/@tanstack/react-query.gen.ts +++ b/XE-Local-AI-Engine.Client.React/src/core/api/generated/@tanstack/react-query.gen.ts @@ -1381,8 +1381,8 @@ export const listTrainingRunsInfiniteQueryKey = ( options: Options, ): QueryKey> => createQueryKey("listTrainingRuns", options, true); -export const listTrainingRunsInfiniteOptions = (options: Options) => - infiniteQueryOptions< +export const listTrainingRunsInfiniteOptions = (options: Options) => { + const opts = infiniteQueryOptions< ListTrainingRunsResponse, AxiosError, InfiniteData, @@ -1413,6 +1413,8 @@ export const listTrainingRunsInfiniteOptions = (options: Options; +}; export const createTrainingRunMutation = ( options?: Partial>, @@ -2164,8 +2166,8 @@ export const listTrainingSamplesInfiniteQueryKey = ( options: Options, ): QueryKey> => createQueryKey("listTrainingSamples", options, true); -export const listTrainingSamplesInfiniteOptions = (options: Options) => - infiniteQueryOptions< +export const listTrainingSamplesInfiniteOptions = (options: Options) => { + const opts = infiniteQueryOptions< ListTrainingSamplesResponse, AxiosError, InfiniteData, @@ -2196,6 +2198,8 @@ export const listTrainingSamplesInfiniteOptions = (options: Options; +}; export const reviewTrainingSampleMutation = ( options?: Partial>, @@ -6887,8 +6891,8 @@ export const listBenchmarkRunsInfiniteQueryKey = ( options: Options, ): QueryKey> => createQueryKey("listBenchmarkRuns", options, true); -export const listBenchmarkRunsInfiniteOptions = (options: Options) => - infiniteQueryOptions< +export const listBenchmarkRunsInfiniteOptions = (options: Options) => { + const opts = infiniteQueryOptions< ListBenchmarkRunsResponse, AxiosError, InfiniteData, @@ -6919,6 +6923,8 @@ export const listBenchmarkRunsInfiniteOptions = (options: Options; +}; export const startBenchmarkRunMutation = ( options?: Partial>, @@ -7853,8 +7859,8 @@ export const listAgentExecutionLogsInfiniteQueryKey = ( options: Options, ): QueryKey> => createQueryKey("listAgentExecutionLogs", options, true); -export const listAgentExecutionLogsInfiniteOptions = (options: Options) => - infiniteQueryOptions< +export const listAgentExecutionLogsInfiniteOptions = (options: Options) => { + const opts = infiniteQueryOptions< ListAgentExecutionLogsResponse, AxiosError, InfiniteData, @@ -7885,6 +7891,8 @@ export const listAgentExecutionLogsInfiniteOptions = (options: Options; +}; export const listAgentTemplatesQueryKey = (options?: Options) => createQueryKey("listAgentTemplates", options); @@ -7933,8 +7941,8 @@ export const listRunEnvelopesInfiniteQueryKey = ( options?: Options, ): QueryKey> => createQueryKey("listRunEnvelopes", options, true); -export const listRunEnvelopesInfiniteOptions = (options?: Options) => - infiniteQueryOptions< +export const listRunEnvelopesInfiniteOptions = (options?: Options) => { + const opts = infiniteQueryOptions< ListRunEnvelopesResponse, AxiosError, InfiniteData, @@ -7965,6 +7973,8 @@ export const listRunEnvelopesInfiniteOptions = (options?: Options; +}; export const promoteSuggestedPlaybookActionMutation = ( options?: Partial>, diff --git a/XE-Local-AI-Engine.Client.React/src/core/api/generated/client.gen.ts b/XE-Local-AI-Engine.Client.React/src/core/api/generated/client.gen.ts index ba6aafac3..b5d985c98 100644 --- a/XE-Local-AI-Engine.Client.React/src/core/api/generated/client.gen.ts +++ b/XE-Local-AI-Engine.Client.React/src/core/api/generated/client.gen.ts @@ -2,7 +2,7 @@ import { createClientConfig } from "../Generated.runtime.ts"; -import { type ClientOptions, type Config, createClient, createConfig } from "./client"; +import { type Client, type ClientOptions, type Config, createClient, createConfig } from "./client"; import type { ClientOptions as ClientOptions2 } from "./types.gen"; /** @@ -17,4 +17,4 @@ export type CreateClientConfig = ( override?: Config, ) => Config & T>; -export const client = createClient(createClientConfig(createConfig())); +export const client: Client = createClient(createClientConfig(createConfig())); diff --git a/XE-Local-AI-Engine.Client.React/src/core/api/generated/client/index.ts b/XE-Local-AI-Engine.Client.React/src/core/api/generated/client/index.ts index 2dbe9f47f..b1fe67fb9 100644 --- a/XE-Local-AI-Engine.Client.React/src/core/api/generated/client/index.ts +++ b/XE-Local-AI-Engine.Client.React/src/core/api/generated/client/index.ts @@ -9,6 +9,8 @@ export { } from "../core/bodySerializer.gen"; export { buildClientParams } from "../core/params.gen"; export { serializeQueryKeyValue } from "../core/queryKeySerializer.gen"; +export type { ServerSentEventsResult } from "../core/serverSentEvents.gen"; +export type { ClientMeta } from "../core/types.gen"; export { createClient } from "./client.gen"; export type { Client, diff --git a/XE-Local-AI-Engine.Client.React/src/core/api/generated/client/utils.gen.ts b/XE-Local-AI-Engine.Client.React/src/core/api/generated/client/utils.gen.ts index 337b4be58..56a04483d 100644 --- a/XE-Local-AI-Engine.Client.React/src/core/api/generated/client/utils.gen.ts +++ b/XE-Local-AI-Engine.Client.React/src/core/api/generated/client/utils.gen.ts @@ -6,8 +6,11 @@ import { serializeArrayParam, serializeObjectParam, serializePrimitiveParam } fr import { getUrl } from "../core/utils.gen"; import type { Client, ClientOptions, Config, RequestOptions } from "./types.gen"; -export const createQuerySerializer = ({ parameters = {}, ...args }: QuerySerializerOptions = {}) => { - const querySerializer = (queryParams: T) => { +export const createQuerySerializer = ({ + parameters = {}, + ...args +}: QuerySerializerOptions = {}): ((queryParams: T) => string) => { + const querySerializer = (queryParams: T): string => { const search: string[] = []; if (queryParams && typeof queryParams === "object") { for (const name in queryParams) { diff --git a/XE-Local-AI-Engine.Client.React/src/core/api/generated/core/auth.gen.ts b/XE-Local-AI-Engine.Client.React/src/core/api/generated/core/auth.gen.ts index 9d804052b..fab2ef480 100644 --- a/XE-Local-AI-Engine.Client.React/src/core/api/generated/core/auth.gen.ts +++ b/XE-Local-AI-Engine.Client.React/src/core/api/generated/core/auth.gen.ts @@ -9,6 +9,13 @@ export interface Auth { * @default 'header' */ in?: "header" | "query" | "cookie"; + /** + * A unique identifier for the security scheme. + * + * Defined only when there are multiple security schemes whose `Auth` + * shape would otherwise be identical. + */ + key?: string; /** * Header or query parameter name. * diff --git a/XE-Local-AI-Engine.Client.React/src/core/api/generated/core/params.gen.ts b/XE-Local-AI-Engine.Client.React/src/core/api/generated/core/params.gen.ts index d1f97df41..fa42bcedb 100644 --- a/XE-Local-AI-Engine.Client.React/src/core/api/generated/core/params.gen.ts +++ b/XE-Local-AI-Engine.Client.React/src/core/api/generated/core/params.gen.ts @@ -62,7 +62,7 @@ type KeyMap = Map< } >; -const buildKeyMap = (fields: FieldsConfig, map?: KeyMap): KeyMap => { +function buildKeyMap(fields: FieldsConfig, map?: KeyMap): KeyMap { if (!map) { map = new Map(); } @@ -85,26 +85,26 @@ const buildKeyMap = (fields: FieldsConfig, map?: KeyMap): KeyMap => { } return map; -}; +} interface Params { - body: unknown; + body?: unknown; headers: Record; path: Record; query: Record; } -const stripEmptySlots = (params: Params) => { +function stripEmptySlots(params: Params): void { for (const [slot, value] of Object.entries(params)) { + if (slot === "body") continue; if (value && typeof value === "object" && !Array.isArray(value) && !Object.keys(value).length) { delete params[slot as Slot]; } } -}; +} -export const buildClientParams = (args: ReadonlyArray, fields: FieldsConfig) => { +export function buildClientParams(args: ReadonlyArray, fields: FieldsConfig): Params { const params: Params = { - body: Object.create(null), headers: Object.create(null), path: Object.create(null), query: Object.create(null), @@ -112,6 +112,15 @@ export const buildClientParams = (args: ReadonlyArray, fields: FieldsCo const map = buildKeyMap(fields); + function writeSlot(slot: Slot, key: string, value: unknown): void { + let record = params[slot] as Record | undefined; + if (record === undefined) { + record = Object.create(null) as Record; + params[slot] = record; + } + record[key] = value; + } + let config: FieldsConfig[number] | undefined; for (const [index, arg] of args.entries()) { @@ -128,7 +137,7 @@ export const buildClientParams = (args: ReadonlyArray, fields: FieldsCo const field = map.get(config.key)!; const name = field.map || config.key; if (field.in) { - (params[field.in] as Record)[name] = arg; + writeSlot(field.in, name, arg); } } else { params.body = arg; @@ -140,7 +149,7 @@ export const buildClientParams = (args: ReadonlyArray, fields: FieldsCo if (field) { if (field.in) { const name = field.map || key; - (params[field.in] as Record)[name] = value; + writeSlot(field.in, name, value); } else { params[field.map] = value; } @@ -149,11 +158,11 @@ export const buildClientParams = (args: ReadonlyArray, fields: FieldsCo if (extra) { const [prefix, slot] = extra; - (params[slot] as Record)[key.slice(prefix.length)] = value; + writeSlot(slot, key.slice(prefix.length), value); } else if ("allowExtra" in config && config.allowExtra) { for (const [slot, allowed] of Object.entries(config.allowExtra)) { if (allowed) { - (params[slot as Slot] as Record)[key] = value; + writeSlot(slot as Slot, key, value); break; } } @@ -166,4 +175,4 @@ export const buildClientParams = (args: ReadonlyArray, fields: FieldsCo stripEmptySlots(params); return params; -}; +} diff --git a/XE-Local-AI-Engine.Client.React/src/core/api/generated/core/pathSerializer.gen.ts b/XE-Local-AI-Engine.Client.React/src/core/api/generated/core/pathSerializer.gen.ts index 0222f9de0..e675a19a3 100644 --- a/XE-Local-AI-Engine.Client.React/src/core/api/generated/core/pathSerializer.gen.ts +++ b/XE-Local-AI-Engine.Client.React/src/core/api/generated/core/pathSerializer.gen.ts @@ -25,7 +25,7 @@ interface SerializePrimitiveParam extends SerializePrimitiveOptions { value: string; } -export const separatorArrayExplode = (style: ArraySeparatorStyle) => { +export const separatorArrayExplode = (style: ArraySeparatorStyle): "." | ";" | "," | "&" => { switch (style) { case "label": return "."; @@ -38,7 +38,7 @@ export const separatorArrayExplode = (style: ArraySeparatorStyle) => { } }; -export const separatorArrayNoExplode = (style: ArraySeparatorStyle) => { +export const separatorArrayNoExplode = (style: ArraySeparatorStyle): "," | "|" | "%20" => { switch (style) { case "form": return ","; @@ -51,7 +51,7 @@ export const separatorArrayNoExplode = (style: ArraySeparatorStyle) => { } }; -export const separatorObjectExplode = (style: ObjectSeparatorStyle) => { +export const separatorObjectExplode = (style: ObjectSeparatorStyle): "." | ";" | "," | "&" => { switch (style) { case "label": return "."; @@ -72,7 +72,7 @@ export const serializeArrayParam = ({ value, }: SerializeOptions & { value: unknown[]; -}) => { +}): string => { if (!explode) { const joinedValues = (allowReserved ? value : value.map((v) => encodeURIComponent(v as string))).join( separatorArrayNoExplode(style), @@ -106,7 +106,7 @@ export const serializeArrayParam = ({ return style === "label" || style === "matrix" ? separator + joinedValues : joinedValues; }; -export const serializePrimitiveParam = ({ allowReserved, name, value }: SerializePrimitiveParam) => { +export const serializePrimitiveParam = ({ allowReserved, name, value }: SerializePrimitiveParam): string => { if (value === undefined || value === null) { return ""; } @@ -128,7 +128,7 @@ export const serializeObjectParam = ({ }: SerializeOptions & { value: Record | Date; valueOnly?: boolean; -}) => { +}): string => { if (value instanceof Date) { return valueOnly ? value.toISOString() : `${name}=${value.toISOString()}`; } diff --git a/XE-Local-AI-Engine.Client.React/src/core/api/generated/core/queryKeySerializer.gen.ts b/XE-Local-AI-Engine.Client.React/src/core/api/generated/core/queryKeySerializer.gen.ts index b3e876768..e10e89f13 100644 --- a/XE-Local-AI-Engine.Client.React/src/core/api/generated/core/queryKeySerializer.gen.ts +++ b/XE-Local-AI-Engine.Client.React/src/core/api/generated/core/queryKeySerializer.gen.ts @@ -8,7 +8,7 @@ export type JsonValue = null | string | number | boolean | JsonValue[] | { [key: /** * Replacer that converts non-JSON values (bigint, Date, etc.) to safe substitutes. */ -export const queryKeyJsonReplacer = (_key: string, value: unknown) => { +export const queryKeyJsonReplacer = (_key: string, value: unknown): unknown | undefined => { if (value === undefined || typeof value === "function" || typeof value === "symbol") { return undefined; } diff --git a/XE-Local-AI-Engine.Client.React/src/core/api/generated/core/types.gen.ts b/XE-Local-AI-Engine.Client.React/src/core/api/generated/core/types.gen.ts index 3461c80be..c26784e99 100644 --- a/XE-Local-AI-Engine.Client.React/src/core/api/generated/core/types.gen.ts +++ b/XE-Local-AI-Engine.Client.React/src/core/api/generated/core/types.gen.ts @@ -73,6 +73,12 @@ export interface Config { responseValidator?: (data: unknown) => Promise; } +/** + * Arbitrary metadata passed through the `meta` request option. + */ +// eslint-disable-next-line @typescript-eslint/no-empty-object-type +export interface ClientMeta {} + type IsExactlyNeverOrNeverUndefined = [T] extends [never] ? true : [T] extends [never | undefined] diff --git a/XE-Local-AI-Engine.Client.React/src/core/api/generated/core/utils.gen.ts b/XE-Local-AI-Engine.Client.React/src/core/api/generated/core/utils.gen.ts index ff20351a8..d5352a950 100644 --- a/XE-Local-AI-Engine.Client.React/src/core/api/generated/core/utils.gen.ts +++ b/XE-Local-AI-Engine.Client.React/src/core/api/generated/core/utils.gen.ts @@ -13,9 +13,9 @@ export interface PathSerializer { url: string; } -export const PATH_PARAM_RE = /\{[^{}]+\}/g; +export const PATH_PARAM_RE: RegExp = /\{[^{}]+\}/g; -export const defaultPathSerializer = ({ path, url: _url }: PathSerializer) => { +export const defaultPathSerializer = ({ path, url: _url }: PathSerializer): string => { let url = _url; const matches = _url.match(PATH_PARAM_RE); if (matches) { @@ -92,7 +92,7 @@ export const getUrl = ({ query?: Record; querySerializer: QuerySerializer; url: string; -}) => { +}): string => { const pathUrl = _url.startsWith("/") ? _url : `/${_url}`; let url = (baseUrl ?? "") + pathUrl; if (path) { @@ -112,7 +112,7 @@ export function getValidRequestBody(options: { body?: unknown; bodySerializer?: BodySerializer | null; serializedBody?: unknown; -}) { +}): unknown { const hasBody = options.body !== undefined; const isSerializedBody = hasBody && options.bodySerializer; diff --git a/XE-Local-AI-Engine.Client.React/src/core/api/generated/sdk.gen.ts b/XE-Local-AI-Engine.Client.React/src/core/api/generated/sdk.gen.ts index 14634e31e..0b9939e36 100644 --- a/XE-Local-AI-Engine.Client.React/src/core/api/generated/sdk.gen.ts +++ b/XE-Local-AI-Engine.Client.React/src/core/api/generated/sdk.gen.ts @@ -2,7 +2,14 @@ import * as z from "zod"; -import { type Client, formDataBodySerializer, type Options as Options2, type TDataShape } from "./client"; +import { + type Client, + type ClientMeta, + formDataBodySerializer, + type Options as Options2, + type RequestResult, + type TDataShape, +} from "./client"; import { client } from "./client.gen"; import type { AnalyzePlaybookData, @@ -1617,10 +1624,12 @@ export type Options< * You can pass arbitrary values through the `meta` object. This can be * used to access values that aren't defined as part of the SDK function. */ - meta?: Record; + meta?: keyof ClientMeta extends never ? Record : ClientMeta; }; -export const listWorkspaces = (options?: Options) => +export const listWorkspaces = ( + options?: Options, +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -1633,14 +1642,24 @@ export const listWorkspaces = (options?: O responseType: "json", responseValidator: async (data) => await zListWorkspacesResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/workspaces", ...options, }); -export const createWorkspace = (options: Options) => +export const createWorkspace = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -1653,8 +1672,16 @@ export const createWorkspace = (options: O responseType: "json", responseValidator: async (data) => await zCreateWorkspaceResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/workspaces", ...options, @@ -1664,7 +1691,9 @@ export const createWorkspace = (options: O }, }); -export const deleteWorkspace = (options: Options) => +export const deleteWorkspace = ( + options: Options, +): RequestResult => (options.client ?? client).delete({ requestValidator: async (data) => await z @@ -1676,14 +1705,24 @@ export const deleteWorkspace = (options: O .parseAsync(data), responseValidator: async (data) => await zDeleteWorkspaceResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/workspaces/{workspaceId}", ...options, }); -export const getTutorialState = (options?: Options) => +export const getTutorialState = ( + options?: Options, +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -1696,14 +1735,24 @@ export const getTutorialState = (options?: responseType: "json", responseValidator: async (data) => await zGetTutorialStateResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/tutorial-state", ...options, }); -export const saveTutorialState = (options: Options) => +export const saveTutorialState = ( + options: Options, +): RequestResult => (options.client ?? client).put({ requestValidator: async (data) => await z @@ -1715,8 +1764,16 @@ export const saveTutorialState = (options: .parseAsync(data), responseValidator: async (data) => await zSaveTutorialStateResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/tutorial-state", ...options, @@ -1728,7 +1785,7 @@ export const saveTutorialState = (options: export const getTrainingRuntimePrerequisites = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -1741,8 +1798,16 @@ export const getTrainingRuntimePrerequisites = await zGetTrainingRuntimePrerequisitesResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/runtime/prerequisites", ...options, @@ -1750,7 +1815,7 @@ export const getTrainingRuntimePrerequisites = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -1763,8 +1828,16 @@ export const getTrainingRuntimeStatus = ( responseType: "json", responseValidator: async (data) => await zGetTrainingRuntimeStatusResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/runtime/status", ...options, @@ -1772,7 +1845,7 @@ export const getTrainingRuntimeStatus = ( export const removeTrainingRuntime = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).post({ requestValidator: async (data) => await z @@ -1785,8 +1858,16 @@ export const removeTrainingRuntime = ( responseType: "json", responseValidator: async (data) => await zRemoveTrainingRuntimeResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/runtime/remove", ...options, @@ -1794,7 +1875,7 @@ export const removeTrainingRuntime = ( export const startTrainingRuntimeInstall = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).post({ requestValidator: async (data) => await z @@ -1807,14 +1888,24 @@ export const startTrainingRuntimeInstall = await zStartTrainingRuntimeInstallResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/runtime/install", ...options, }); -export const listTrainingRuns = (options: Options) => +export const listTrainingRuns = ( + options: Options, +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -1827,14 +1918,24 @@ export const listTrainingRuns = (options: responseType: "json", responseValidator: async (data) => await zListTrainingRunsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/runs", ...options, }); -export const createTrainingRun = (options: Options) => +export const createTrainingRun = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -1847,8 +1948,16 @@ export const createTrainingRun = (options: responseType: "json", responseValidator: async (data) => await zCreateTrainingRunResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/runs", ...options, @@ -1858,7 +1967,9 @@ export const createTrainingRun = (options: }, }); -export const getTrainingRun = (options: Options) => +export const getTrainingRun = ( + options: Options, +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -1871,14 +1982,24 @@ export const getTrainingRun = (options: Op responseType: "json", responseValidator: async (data) => await zGetTrainingRunResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/runs/{runId}", ...options, }); -export const cancelTrainingRun = (options: Options) => +export const cancelTrainingRun = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -1890,8 +2011,16 @@ export const cancelTrainingRun = (options: .parseAsync(data), responseValidator: async (data) => await zCancelTrainingRunResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/runs/{runId}/cancel", ...options, @@ -1899,7 +2028,7 @@ export const cancelTrainingRun = (options: export const getTrainingRunDefaults = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -1912,14 +2041,24 @@ export const getTrainingRunDefaults = ( responseType: "json", responseValidator: async (data) => await zGetTrainingRunDefaultsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/runs/defaults", ...options, }); -export const listToolMocks = (options?: Options) => +export const listToolMocks = ( + options?: Options, +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -1932,14 +2071,24 @@ export const listToolMocks = (options?: Op responseType: "json", responseValidator: async (data) => await zListToolMocksResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/mocks", ...options, }); -export const createToolMock = (options: Options) => +export const createToolMock = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -1952,8 +2101,16 @@ export const createToolMock = (options: Op responseType: "json", responseValidator: async (data) => await zCreateToolMockResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/mocks", ...options, @@ -1963,7 +2120,9 @@ export const createToolMock = (options: Op }, }); -export const deleteToolMock = (options: Options) => +export const deleteToolMock = ( + options: Options, +): RequestResult => (options.client ?? client).delete({ requestValidator: async (data) => await z @@ -1975,8 +2134,16 @@ export const deleteToolMock = (options: Op .parseAsync(data), responseValidator: async (data) => await zDeleteToolMockResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/mocks/{mockId}", ...options, @@ -1986,7 +2153,9 @@ export const deleteToolMock = (options: Op }, }); -export const getToolMock = (options: Options) => +export const getToolMock = ( + options: Options, +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -1999,14 +2168,24 @@ export const getToolMock = (options: Optio responseType: "json", responseValidator: async (data) => await zGetToolMockResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/mocks/{mockId}", ...options, }); -export const updateToolMock = (options: Options) => +export const updateToolMock = ( + options: Options, +): RequestResult => (options.client ?? client).put({ requestValidator: async (data) => await z @@ -2019,8 +2198,16 @@ export const updateToolMock = (options: Op responseType: "json", responseValidator: async (data) => await zUpdateToolMockResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/mocks/{mockId}", ...options, @@ -2030,7 +2217,9 @@ export const updateToolMock = (options: Op }, }); -export const verifyToolMock = (options: Options) => +export const verifyToolMock = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -2043,8 +2232,16 @@ export const verifyToolMock = (options: Op responseType: "json", responseValidator: async (data) => await zVerifyToolMockResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/mocks/{mockId}/verify", ...options, @@ -2056,7 +2253,7 @@ export const verifyToolMock = (options: Op export const startTrainingExport = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -2069,8 +2266,16 @@ export const startTrainingExport = ( responseType: "json", responseValidator: async (data) => await zStartTrainingExportResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/runs/{runId}/exports", ...options, @@ -2082,7 +2287,7 @@ export const startTrainingExport = ( export const listTrainingArtifacts = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -2095,8 +2300,16 @@ export const listTrainingArtifacts = ( responseType: "json", responseValidator: async (data) => await zListTrainingArtifactsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/runs/{runId}/artifacts", ...options, @@ -2104,7 +2317,7 @@ export const listTrainingArtifacts = ( export const deleteTrainingArtifact = ( options: Options, -) => +): RequestResult => (options.client ?? client).delete({ requestValidator: async (data) => await z @@ -2116,8 +2329,16 @@ export const deleteTrainingArtifact = ( .parseAsync(data), responseValidator: async (data) => await zDeleteTrainingArtifactResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/artifacts/{artifactId}", ...options, @@ -2129,7 +2350,7 @@ export const deleteTrainingArtifact = ( export const getTrainingArtifact = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -2142,8 +2363,16 @@ export const getTrainingArtifact = ( responseType: "json", responseValidator: async (data) => await zGetTrainingArtifactResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/artifacts/{artifactId}", ...options, @@ -2151,7 +2380,7 @@ export const getTrainingArtifact = ( export const runTrainingArtifactSmoke = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -2164,8 +2393,16 @@ export const runTrainingArtifactSmoke = ( responseType: "json", responseValidator: async (data) => await zRunTrainingArtifactSmokeResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/artifacts/{artifactId}/smoke", ...options, @@ -2173,7 +2410,7 @@ export const runTrainingArtifactSmoke = ( export const promoteTrainingArtifact = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -2186,8 +2423,16 @@ export const promoteTrainingArtifact = ( responseType: "json", responseValidator: async (data) => await zPromoteTrainingArtifactResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/artifacts/{artifactId}/promote", ...options, @@ -2199,7 +2444,7 @@ export const promoteTrainingArtifact = ( export const decideTrainingArtifactQuality = ( options: Options, -) => +): RequestResult => (options.client ?? client).put({ requestValidator: async (data) => await z @@ -2212,8 +2457,16 @@ export const decideTrainingArtifactQuality = await zDecideTrainingArtifactQualityResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/artifacts/{artifactId}/quality", ...options, @@ -2225,7 +2478,7 @@ export const decideTrainingArtifactQuality = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -2238,8 +2491,16 @@ export const overrideTrainingArtifactQuality = await zOverrideTrainingArtifactQualityResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/artifacts/{artifactId}/quality/override", ...options, @@ -2251,7 +2512,11 @@ export const overrideTrainingArtifactQuality = ( options: Options, -) => +): RequestResult< + BeginTrainingArtifactQualityRevalidationResponses, + BeginTrainingArtifactQualityRevalidationErrors, + ThrowOnError +> => (options.client ?? client).post< BeginTrainingArtifactQualityRevalidationResponses, BeginTrainingArtifactQualityRevalidationErrors, @@ -2268,8 +2533,16 @@ export const beginTrainingArtifactQualityRevalidation = await zBeginTrainingArtifactQualityRevalidationResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/artifacts/{artifactId}/quality/revalidation", ...options, @@ -2281,7 +2554,7 @@ export const beginTrainingArtifactQualityRevalidation = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -2294,8 +2567,16 @@ export const discardTrainingArtifactQuality = await zDiscardTrainingArtifactQualityResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/artifacts/{artifactId}/quality/discard", ...options, @@ -2305,7 +2586,9 @@ export const discardTrainingArtifactQuality = (options?: Options) => +export const listEvaluations = ( + options?: Options, +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -2318,14 +2601,24 @@ export const listEvaluations = (options?: responseType: "json", responseValidator: async (data) => await zListEvaluationsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/evaluations", ...options, }); -export const createEvaluation = (options: Options) => +export const createEvaluation = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -2338,8 +2631,16 @@ export const createEvaluation = (options: responseType: "json", responseValidator: async (data) => await zCreateEvaluationResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/evaluations", ...options, @@ -2349,7 +2650,9 @@ export const createEvaluation = (options: }, }); -export const deleteEvaluation = (options: Options) => +export const deleteEvaluation = ( + options: Options, +): RequestResult => (options.client ?? client).delete({ requestValidator: async (data) => await z @@ -2361,8 +2664,16 @@ export const deleteEvaluation = (options: .parseAsync(data), responseValidator: async (data) => await zDeleteEvaluationResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/evaluations/{evaluationId}", ...options, @@ -2372,7 +2683,9 @@ export const deleteEvaluation = (options: }, }); -export const getEvaluation = (options: Options) => +export const getEvaluation = ( + options: Options, +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -2385,14 +2698,24 @@ export const getEvaluation = (options: Opt responseType: "json", responseValidator: async (data) => await zGetEvaluationResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/evaluations/{evaluationId}", ...options, }); -export const resumeEvaluation = (options: Options) => +export const resumeEvaluation = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -2405,14 +2728,24 @@ export const resumeEvaluation = (options: responseType: "json", responseValidator: async (data) => await zResumeEvaluationResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/evaluations/{evaluationId}/resume", ...options, }); -export const cancelEvaluation = (options: Options) => +export const cancelEvaluation = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -2424,8 +2757,16 @@ export const cancelEvaluation = (options: .parseAsync(data), responseValidator: async (data) => await zCancelEvaluationResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/evaluations/{evaluationId}/cancel", ...options, @@ -2433,7 +2774,7 @@ export const cancelEvaluation = (options: export const listTrainingDefinitions = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -2446,8 +2787,16 @@ export const listTrainingDefinitions = ( responseType: "json", responseValidator: async (data) => await zListTrainingDefinitionsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/definitions", ...options, @@ -2455,7 +2804,7 @@ export const listTrainingDefinitions = ( export const createTrainingDefinition = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -2468,8 +2817,16 @@ export const createTrainingDefinition = ( responseType: "json", responseValidator: async (data) => await zCreateTrainingDefinitionResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/definitions", ...options, @@ -2481,7 +2838,7 @@ export const createTrainingDefinition = ( export const deleteTrainingDefinition = ( options: Options, -) => +): RequestResult => (options.client ?? client).delete({ requestValidator: async (data) => await z @@ -2493,8 +2850,16 @@ export const deleteTrainingDefinition = ( .parseAsync(data), responseValidator: async (data) => await zDeleteTrainingDefinitionResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/definitions/{definitionId}", ...options, @@ -2506,7 +2871,7 @@ export const deleteTrainingDefinition = ( export const getTrainingDefinition = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -2519,8 +2884,16 @@ export const getTrainingDefinition = ( responseType: "json", responseValidator: async (data) => await zGetTrainingDefinitionResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/definitions/{definitionId}", ...options, @@ -2528,7 +2901,7 @@ export const getTrainingDefinition = ( export const updateTrainingDefinition = ( options: Options, -) => +): RequestResult => (options.client ?? client).put({ requestValidator: async (data) => await z @@ -2541,8 +2914,16 @@ export const updateTrainingDefinition = ( responseType: "json", responseValidator: async (data) => await zUpdateTrainingDefinitionResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/definitions/{definitionId}", ...options, @@ -2554,7 +2935,7 @@ export const updateTrainingDefinition = ( export const generateTrainingDataset = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -2567,8 +2948,16 @@ export const generateTrainingDataset = ( responseType: "json", responseValidator: async (data) => await zGenerateTrainingDatasetResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/definitions/{definitionId}/generate", ...options, @@ -2580,7 +2969,7 @@ export const generateTrainingDataset = ( export const listTrainingDatasets = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -2593,8 +2982,16 @@ export const listTrainingDatasets = ( responseType: "json", responseValidator: async (data) => await zListTrainingDatasetsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/datasets", ...options, @@ -2602,7 +2999,7 @@ export const listTrainingDatasets = ( export const deleteTrainingDataset = ( options: Options, -) => +): RequestResult => (options.client ?? client).delete({ requestValidator: async (data) => await z @@ -2614,8 +3011,16 @@ export const deleteTrainingDataset = ( .parseAsync(data), responseValidator: async (data) => await zDeleteTrainingDatasetResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/datasets/{datasetId}", ...options, @@ -2627,7 +3032,7 @@ export const deleteTrainingDataset = ( export const getTrainingDataset = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -2640,8 +3045,16 @@ export const getTrainingDataset = ( responseType: "json", responseValidator: async (data) => await zGetTrainingDatasetResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/datasets/{datasetId}", ...options, @@ -2649,7 +3062,7 @@ export const getTrainingDataset = ( export const cancelTrainingDataset = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -2661,8 +3074,16 @@ export const cancelTrainingDataset = ( .parseAsync(data), responseValidator: async (data) => await zCancelTrainingDatasetResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/datasets/{datasetId}/cancel", ...options, @@ -2670,7 +3091,7 @@ export const cancelTrainingDataset = ( export const listTrainingSamples = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -2683,8 +3104,16 @@ export const listTrainingSamples = ( responseType: "json", responseValidator: async (data) => await zListTrainingSamplesResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/datasets/{datasetId}/samples", ...options, @@ -2692,7 +3121,7 @@ export const listTrainingSamples = ( export const reviewTrainingSample = ( options: Options, -) => +): RequestResult => (options.client ?? client).patch({ requestValidator: async (data) => await z @@ -2705,8 +3134,16 @@ export const reviewTrainingSample = ( responseType: "json", responseValidator: async (data) => await zReviewTrainingSampleResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/datasets/{datasetId}/samples/{sampleId}", ...options, @@ -2718,7 +3155,7 @@ export const reviewTrainingSample = ( export const exportTrainingDataset = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -2731,14 +3168,24 @@ export const exportTrainingDataset = ( responseType: "json", responseValidator: async (data) => await zExportTrainingDatasetResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/datasets/{datasetId}/export", ...options, }); -export const listComparisons = (options?: Options) => +export const listComparisons = ( + options?: Options, +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -2751,14 +3198,24 @@ export const listComparisons = (options?: responseType: "json", responseValidator: async (data) => await zListComparisonsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/comparisons", ...options, }); -export const createComparison = (options: Options) => +export const createComparison = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -2771,8 +3228,16 @@ export const createComparison = (options: responseType: "json", responseValidator: async (data) => await zCreateComparisonResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/comparisons", ...options, @@ -2782,7 +3247,9 @@ export const createComparison = (options: }, }); -export const deleteComparison = (options: Options) => +export const deleteComparison = ( + options: Options, +): RequestResult => (options.client ?? client).delete({ requestValidator: async (data) => await z @@ -2794,8 +3261,16 @@ export const deleteComparison = (options: .parseAsync(data), responseValidator: async (data) => await zDeleteComparisonResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/comparisons/{comparisonId}", ...options, @@ -2805,7 +3280,9 @@ export const deleteComparison = (options: }, }); -export const getComparison = (options: Options) => +export const getComparison = ( + options: Options, +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -2818,14 +3295,24 @@ export const getComparison = (options: Opt responseType: "json", responseValidator: async (data) => await zGetComparisonResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/comparisons/{comparisonId}", ...options, }); -export const suggestComparison = (options: Options) => +export const suggestComparison = ( + options: Options, +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -2838,8 +3325,16 @@ export const suggestComparison = (options: responseType: "json", responseValidator: async (data) => await zSuggestComparisonResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/comparisons/suggest", ...options, @@ -2847,7 +3342,7 @@ export const suggestComparison = (options: export const cancelBaseArtifact = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -2860,14 +3355,24 @@ export const cancelBaseArtifact = ( responseType: "json", responseValidator: async (data) => await zCancelBaseArtifactResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/base-artifacts/{artifactId}/cancel", ...options, }); -export const listBaseArtifacts = (options?: Options) => +export const listBaseArtifacts = ( + options?: Options, +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -2880,8 +3385,16 @@ export const listBaseArtifacts = (options? responseType: "json", responseValidator: async (data) => await zListBaseArtifactsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/base-artifacts", ...options, @@ -2889,7 +3402,7 @@ export const listBaseArtifacts = (options? export const createBaseArtifact = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -2902,8 +3415,16 @@ export const createBaseArtifact = ( responseType: "json", responseValidator: async (data) => await zCreateBaseArtifactResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/base-artifacts", ...options, @@ -2915,7 +3436,7 @@ export const createBaseArtifact = ( export const deleteBaseArtifact = ( options: Options, -) => +): RequestResult => (options.client ?? client).delete({ requestValidator: async (data) => await z @@ -2927,14 +3448,24 @@ export const deleteBaseArtifact = ( .parseAsync(data), responseValidator: async (data) => await zDeleteBaseArtifactResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/base-artifacts/{artifactId}", ...options, }); -export const getBaseArtifact = (options: Options) => +export const getBaseArtifact = ( + options: Options, +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -2947,8 +3478,16 @@ export const getBaseArtifact = (options: O responseType: "json", responseValidator: async (data) => await zGetBaseArtifactResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/base-artifacts/{artifactId}", ...options, @@ -2956,7 +3495,7 @@ export const getBaseArtifact = (options: O export const getBaseArtifactLicense = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -2969,14 +3508,24 @@ export const getBaseArtifactLicense = ( responseType: "json", responseValidator: async (data) => await zGetBaseArtifactLicenseResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/training/base-artifacts/{artifactId}/license", ...options, }); -export const commitSkillImport = (options: Options) => +export const commitSkillImport = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -2989,8 +3538,16 @@ export const commitSkillImport = (options: responseType: "json", responseValidator: async (data) => await zCommitSkillImportResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/skills/import", ...options, @@ -3000,7 +3557,9 @@ export const commitSkillImport = (options: }, }); -export const listSkills = (options?: Options) => +export const listSkills = ( + options?: Options, +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -3013,14 +3572,24 @@ export const listSkills = (options?: Optio responseType: "json", responseValidator: async (data) => await zListSkillsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/skills", ...options, }); -export const createSkill = (options: Options) => +export const createSkill = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -3033,8 +3602,16 @@ export const createSkill = (options: Optio responseType: "json", responseValidator: async (data) => await zCreateSkillResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/skills", ...options, @@ -3044,7 +3621,9 @@ export const createSkill = (options: Optio }, }); -export const deleteSkill = (options: Options) => +export const deleteSkill = ( + options: Options, +): RequestResult => (options.client ?? client).delete({ requestValidator: async (data) => await z @@ -3056,14 +3635,24 @@ export const deleteSkill = (options: Optio .parseAsync(data), responseValidator: async (data) => await zDeleteSkillResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/skills/{skillId}", ...options, }); -export const getSkill = (options: Options) => +export const getSkill = ( + options: Options, +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -3076,14 +3665,24 @@ export const getSkill = (options: Options< responseType: "json", responseValidator: async (data) => await zGetSkillResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/skills/{skillId}", ...options, }); -export const updateSkill = (options: Options) => +export const updateSkill = ( + options: Options, +): RequestResult => (options.client ?? client).put({ requestValidator: async (data) => await z @@ -3096,8 +3695,16 @@ export const updateSkill = (options: Optio responseType: "json", responseValidator: async (data) => await zUpdateSkillResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/skills/{skillId}", ...options, @@ -3107,7 +3714,9 @@ export const updateSkill = (options: Optio }, }); -export const draftSkill = (options: Options) => +export const draftSkill = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -3120,8 +3729,16 @@ export const draftSkill = (options: Option responseType: "json", responseValidator: async (data) => await zDraftSkillResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/skills/draft", ...options, @@ -3131,7 +3748,9 @@ export const draftSkill = (options: Option }, }); -export const getSkillResource = (options: Options) => +export const getSkillResource = ( + options: Options, +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -3144,8 +3763,16 @@ export const getSkillResource = (options: responseType: "json", responseValidator: async (data) => await zGetSkillResourceResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/skills/{skillId}/resources/{resourceName}", ...options, @@ -3153,7 +3780,7 @@ export const getSkillResource = (options: export const listSkillResources = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -3166,8 +3793,16 @@ export const listSkillResources = ( responseType: "json", responseValidator: async (data) => await zListSkillResourcesResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/skills/{skillId}/resources", ...options, @@ -3175,7 +3810,7 @@ export const listSkillResources = ( export const previewSkillImport = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ ...formDataBodySerializer, requestValidator: async (data) => @@ -3189,8 +3824,16 @@ export const previewSkillImport = ( responseType: "json", responseValidator: async (data) => await zPreviewSkillImportResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/skills/import/preview", ...options, @@ -3202,7 +3845,7 @@ export const previewSkillImport = ( export const cancelScheduledJobRun = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -3215,14 +3858,24 @@ export const cancelScheduledJobRun = ( responseType: "json", responseValidator: async (data) => await zCancelScheduledJobRunResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/scheduler/runs/{runId}/cancel", ...options, }); -export const listScheduledJobs = (options: Options) => +export const listScheduledJobs = ( + options: Options, +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -3235,8 +3888,16 @@ export const listScheduledJobs = (options: responseType: "json", responseValidator: async (data) => await zListScheduledJobsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/scheduler/jobs", ...options, @@ -3244,7 +3905,7 @@ export const listScheduledJobs = (options: export const createScheduledJob = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -3257,8 +3918,16 @@ export const createScheduledJob = ( responseType: "json", responseValidator: async (data) => await zCreateScheduledJobResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/scheduler/jobs", ...options, @@ -3270,7 +3939,7 @@ export const createScheduledJob = ( export const deleteScheduledJob = ( options: Options, -) => +): RequestResult => (options.client ?? client).delete({ requestValidator: async (data) => await z @@ -3282,14 +3951,24 @@ export const deleteScheduledJob = ( .parseAsync(data), responseValidator: async (data) => await zDeleteScheduledJobResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/scheduler/jobs/{scheduledJobId}", ...options, }); -export const getScheduledJob = (options: Options) => +export const getScheduledJob = ( + options: Options, +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -3302,8 +3981,16 @@ export const getScheduledJob = (options: O responseType: "json", responseValidator: async (data) => await zGetScheduledJobResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/scheduler/jobs/{scheduledJobId}", ...options, @@ -3311,7 +3998,7 @@ export const getScheduledJob = (options: O export const updateScheduledJob = ( options: Options, -) => +): RequestResult => (options.client ?? client).put({ requestValidator: async (data) => await z @@ -3324,8 +4011,16 @@ export const updateScheduledJob = ( responseType: "json", responseValidator: async (data) => await zUpdateScheduledJobResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/scheduler/jobs/{scheduledJobId}", ...options, @@ -3337,7 +4032,7 @@ export const updateScheduledJob = ( export const disableScheduledJob = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -3350,8 +4045,16 @@ export const disableScheduledJob = ( responseType: "json", responseValidator: async (data) => await zDisableScheduledJobResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/scheduler/jobs/{scheduledJobId}/disable", ...options, @@ -3359,7 +4062,7 @@ export const disableScheduledJob = ( export const enableScheduledJob = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -3372,8 +4075,16 @@ export const enableScheduledJob = ( responseType: "json", responseValidator: async (data) => await zEnableScheduledJobResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/scheduler/jobs/{scheduledJobId}/enable", ...options, @@ -3381,7 +4092,7 @@ export const enableScheduledJob = ( export const getScheduledJobRun = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -3394,8 +4105,16 @@ export const getScheduledJobRun = ( responseType: "json", responseValidator: async (data) => await zGetScheduledJobRunResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/scheduler/runs/{runId}", ...options, @@ -3403,7 +4122,7 @@ export const getScheduledJobRun = ( export const listScheduledJobRuns = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -3416,8 +4135,16 @@ export const listScheduledJobRuns = ( responseType: "json", responseValidator: async (data) => await zListScheduledJobRunsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/scheduler/runs", ...options, @@ -3425,7 +4152,7 @@ export const listScheduledJobRuns = ( export const listScheduledJobTemplates = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -3438,8 +4165,16 @@ export const listScheduledJobTemplates = ( responseType: "json", responseValidator: async (data) => await zListScheduledJobTemplatesResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/scheduler/templates", ...options, @@ -3447,7 +4182,7 @@ export const listScheduledJobTemplates = ( export const triggerScheduledJob = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -3459,8 +4194,16 @@ export const triggerScheduledJob = ( .parseAsync(data), responseValidator: async (data) => await zTriggerScheduledJobResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/scheduler/jobs/{scheduledJobId}/trigger", ...options, @@ -3468,7 +4211,7 @@ export const triggerScheduledJob = ( export const revokeLocalModelProxyApiKey = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).delete({ requestValidator: async (data) => await z @@ -3480,8 +4223,16 @@ export const revokeLocalModelProxyApiKey = await zRevokeLocalModelProxyApiKeyResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/proxy/key", ...options, @@ -3489,7 +4240,7 @@ export const revokeLocalModelProxyApiKey = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -3502,8 +4253,16 @@ export const getLocalModelProxyApiKey = ( responseType: "json", responseValidator: async (data) => await zGetLocalModelProxyApiKeyResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/proxy/key", ...options, @@ -3511,7 +4270,7 @@ export const getLocalModelProxyApiKey = ( export const generateLocalModelProxyApiKey = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).post({ requestValidator: async (data) => await z @@ -3524,8 +4283,16 @@ export const generateLocalModelProxyApiKey = await zGenerateLocalModelProxyApiKeyResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/proxy/key", ...options, @@ -3533,7 +4300,7 @@ export const generateLocalModelProxyApiKey = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).post({ requestValidator: async (data) => await z @@ -3546,14 +4313,24 @@ export const cancelAllPreviewRuns = ( responseType: "json", responseValidator: async (data) => await zCancelAllPreviewRunsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/preview/runs/cancel-all", ...options, }); -export const cancelPreviewRun = (options: Options) => +export const cancelPreviewRun = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -3565,8 +4342,16 @@ export const cancelPreviewRun = (options: .parseAsync(data), responseValidator: async (data) => await zCancelPreviewRunResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/preview/runs/{runId}/cancel", ...options, @@ -3574,7 +4359,7 @@ export const cancelPreviewRun = (options: export const continuePreviewRun = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -3586,8 +4371,16 @@ export const continuePreviewRun = ( .parseAsync(data), responseValidator: async (data) => await zContinuePreviewRunResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/preview/runs/{runId}/continue", ...options, @@ -3595,7 +4388,7 @@ export const continuePreviewRun = ( export const listPreviewWorkflows = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -3608,8 +4401,16 @@ export const listPreviewWorkflows = ( responseType: "json", responseValidator: async (data) => await zListPreviewWorkflowsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/preview/workflows", ...options, @@ -3617,7 +4418,7 @@ export const listPreviewWorkflows = ( export const createPreviewWorkflow = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -3630,8 +4431,16 @@ export const createPreviewWorkflow = ( responseType: "json", responseValidator: async (data) => await zCreatePreviewWorkflowResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/preview/workflows", ...options, @@ -3643,7 +4452,7 @@ export const createPreviewWorkflow = ( export const deletePreviewWorkflow = ( options: Options, -) => +): RequestResult => (options.client ?? client).delete({ requestValidator: async (data) => await z @@ -3655,8 +4464,16 @@ export const deletePreviewWorkflow = ( .parseAsync(data), responseValidator: async (data) => await zDeletePreviewWorkflowResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/preview/workflows/{workflowId}", ...options, @@ -3664,7 +4481,7 @@ export const deletePreviewWorkflow = ( export const getPreviewWorkflow = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -3677,8 +4494,16 @@ export const getPreviewWorkflow = ( responseType: "json", responseValidator: async (data) => await zGetPreviewWorkflowResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/preview/workflows/{workflowId}", ...options, @@ -3686,7 +4511,7 @@ export const getPreviewWorkflow = ( export const updatePreviewWorkflow = ( options: Options, -) => +): RequestResult => (options.client ?? client).put({ requestValidator: async (data) => await z @@ -3699,8 +4524,16 @@ export const updatePreviewWorkflow = ( responseType: "json", responseValidator: async (data) => await zUpdatePreviewWorkflowResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/preview/workflows/{workflowId}", ...options, @@ -3712,7 +4545,7 @@ export const updatePreviewWorkflow = ( export const executeSavedPreviewWorkflow = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -3725,8 +4558,16 @@ export const executeSavedPreviewWorkflow = await zExecuteSavedPreviewWorkflowResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/preview/workflows/{workflowId}/execute", ...options, @@ -3734,7 +4575,7 @@ export const executeSavedPreviewWorkflow = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -3747,8 +4588,16 @@ export const executeUnsavedPreviewWorkflow = await zExecuteUnsavedPreviewWorkflowResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/preview/runs/execute", ...options, @@ -3758,7 +4607,9 @@ export const executeUnsavedPreviewWorkflow = (options: Options) => +export const getPreviewRun = ( + options: Options, +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -3771,14 +4622,24 @@ export const getPreviewRun = (options: Opt responseType: "json", responseValidator: async (data) => await zGetPreviewRunResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/preview/runs/{runId}", ...options, }); -export const listPreviewRuns = (options?: Options) => +export const listPreviewRuns = ( + options?: Options, +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -3791,14 +4652,24 @@ export const listPreviewRuns = (options?: responseType: "json", responseValidator: async (data) => await zListPreviewRunsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/preview/runs", ...options, }); -export const getNodeSettings = (options?: Options) => +export const getNodeSettings = ( + options?: Options, +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -3811,14 +4682,24 @@ export const getNodeSettings = (options?: responseType: "json", responseValidator: async (data) => await zGetNodeSettingsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/node-settings", ...options, }); -export const saveNodeSettings = (options: Options) => +export const saveNodeSettings = ( + options: Options, +): RequestResult => (options.client ?? client).put({ requestValidator: async (data) => await z @@ -3831,8 +4712,16 @@ export const saveNodeSettings = (options: responseType: "json", responseValidator: async (data) => await zSaveNodeSettingsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/node-settings", ...options, @@ -3842,7 +4731,9 @@ export const saveNodeSettings = (options: }, }); -export const cancelNodeBinding = (options?: Options) => +export const cancelNodeBinding = ( + options?: Options, +): RequestResult => (options?.client ?? client).post({ requestValidator: async (data) => await z @@ -3855,14 +4746,24 @@ export const cancelNodeBinding = (options? responseType: "json", responseValidator: async (data) => await zCancelNodeBindingResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/binding/cancel", ...options, }); -export const pollNodeBinding = (options: Options) => +export const pollNodeBinding = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -3875,8 +4776,16 @@ export const pollNodeBinding = (options: O responseType: "json", responseValidator: async (data) => await zPollNodeBindingResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/binding/poll", ...options, @@ -3886,7 +4795,9 @@ export const pollNodeBinding = (options: O }, }); -export const startNodeBinding = (options?: Options) => +export const startNodeBinding = ( + options?: Options, +): RequestResult => (options?.client ?? client).post({ requestValidator: async (data) => await z @@ -3899,8 +4810,16 @@ export const startNodeBinding = (options?: responseType: "json", responseValidator: async (data) => await zStartNodeBindingResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/binding/start", ...options, @@ -3908,7 +4827,7 @@ export const startNodeBinding = (options?: export const benchmarkInferenceProfile = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -3921,8 +4840,16 @@ export const benchmarkInferenceProfile = ( responseType: "json", responseValidator: async (data) => await zBenchmarkInferenceProfileResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/profiles/benchmark", ...options, @@ -3934,7 +4861,7 @@ export const benchmarkInferenceProfile = ( export const browseGgufRepositories = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -3947,14 +4874,24 @@ export const browseGgufRepositories = ( responseType: "json", responseValidator: async (data) => await zBrowseGgufRepositoriesResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/gguf/browse", ...options, }); -export const cancelCudaBuild = (options?: Options) => +export const cancelCudaBuild = ( + options?: Options, +): RequestResult => (options?.client ?? client).post({ requestValidator: async (data) => await z @@ -3967,8 +4904,16 @@ export const cancelCudaBuild = (options?: responseType: "json", responseValidator: async (data) => await zCancelCudaBuildResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/llamacpp/cuda-build/cancel", ...options, @@ -3976,7 +4921,7 @@ export const cancelCudaBuild = (options?: export const cancelGgufDownload = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -3989,8 +4934,16 @@ export const cancelGgufDownload = ( responseType: "json", responseValidator: async (data) => await zCancelGgufDownloadResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/download/cancel", ...options, @@ -4000,7 +4953,9 @@ export const cancelGgufDownload = ( }, }); -export const cancelGgufImport = (options: Options) => +export const cancelGgufImport = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -4013,8 +4968,16 @@ export const cancelGgufImport = (options: responseType: "json", responseValidator: async (data) => await zCancelGgufImportResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/gguf/imports/{operationId}/cancel", ...options, @@ -4022,7 +4985,7 @@ export const cancelGgufImport = (options: export const cancelLlamaCppSourceBuild = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).post({ requestValidator: async (data) => await z @@ -4035,14 +4998,24 @@ export const cancelLlamaCppSourceBuild = ( responseType: "json", responseValidator: async (data) => await zCancelLlamaCppSourceBuildResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/llamacpp/source-build/cancel", ...options, }); -export const ejectRunningModel = (options: Options) => +export const ejectRunningModel = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -4055,8 +5028,16 @@ export const ejectRunningModel = (options: responseType: "json", responseValidator: async (data) => await zEjectRunningModelResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/running/eject", ...options, @@ -4068,7 +5049,7 @@ export const ejectRunningModel = (options: export const ensureLlamaCppBinary = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -4081,8 +5062,16 @@ export const ensureLlamaCppBinary = ( responseType: "json", responseValidator: async (data) => await zEnsureLlamaCppBinaryResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/llamacpp/version", ...options, @@ -4094,7 +5083,7 @@ export const ensureLlamaCppBinary = ( export const exploreInferenceProfile = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -4107,8 +5096,16 @@ export const exploreInferenceProfile = ( responseType: "json", responseValidator: async (data) => await zExploreInferenceProfileResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/profiles/explore", ...options, @@ -4120,7 +5117,7 @@ export const exploreInferenceProfile = ( export const freezeInferenceProfile = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -4133,8 +5130,16 @@ export const freezeInferenceProfile = ( responseType: "json", responseValidator: async (data) => await zFreezeInferenceProfileResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/profiles/freeze", ...options, @@ -4146,7 +5151,7 @@ export const freezeInferenceProfile = ( export const getCudaBuildPrerequisites = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -4159,8 +5164,16 @@ export const getCudaBuildPrerequisites = ( responseType: "json", responseValidator: async (data) => await zGetCudaBuildPrerequisitesResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/llamacpp/cuda-build/prerequisites", ...options, @@ -4168,7 +5181,7 @@ export const getCudaBuildPrerequisites = ( export const getCudaBuildStatus = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -4181,8 +5194,16 @@ export const getCudaBuildStatus = ( responseType: "json", responseValidator: async (data) => await zGetCudaBuildStatusResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/llamacpp/cuda-build/status", ...options, @@ -4190,7 +5211,7 @@ export const getCudaBuildStatus = ( export const getGgufDownloadOperationStatus = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -4203,14 +5224,24 @@ export const getGgufDownloadOperationStatus = await zGetGgufDownloadOperationStatusResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/gguf/downloads/operations/{operationId}", ...options, }); -export const getGgufDownloads = (options?: Options) => +export const getGgufDownloads = ( + options?: Options, +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -4223,8 +5254,16 @@ export const getGgufDownloads = (options?: responseType: "json", responseValidator: async (data) => await zGetGgufDownloadsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/gguf/downloads", ...options, @@ -4232,7 +5271,7 @@ export const getGgufDownloads = (options?: export const getGgufDownloadStatus = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -4245,8 +5284,16 @@ export const getGgufDownloadStatus = ( responseType: "json", responseValidator: async (data) => await zGetGgufDownloadStatusResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/gguf/downloads/{modelName}", ...options, @@ -4254,7 +5301,7 @@ export const getGgufDownloadStatus = ( export const getGgufImportCapability = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -4267,14 +5314,24 @@ export const getGgufImportCapability = ( responseType: "json", responseValidator: async (data) => await zGetGgufImportCapabilityResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/gguf/import/capability", ...options, }); -export const getGgufImports = (options?: Options) => +export const getGgufImports = ( + options?: Options, +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -4287,8 +5344,16 @@ export const getGgufImports = (options?: O responseType: "json", responseValidator: async (data) => await zGetGgufImportsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/gguf/imports", ...options, @@ -4296,7 +5361,7 @@ export const getGgufImports = (options?: O export const getGgufImportStatus = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -4309,8 +5374,16 @@ export const getGgufImportStatus = ( responseType: "json", responseValidator: async (data) => await zGetGgufImportStatusResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/gguf/imports/{operationId}", ...options, @@ -4318,7 +5391,7 @@ export const getGgufImportStatus = ( export const getHardwareProfile = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -4331,14 +5404,24 @@ export const getHardwareProfile = ( responseType: "json", responseValidator: async (data) => await zGetHardwareProfileResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/hardware-profile", ...options, }); -export const getHfTokenStatus = (options?: Options) => +export const getHfTokenStatus = ( + options?: Options, +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -4351,14 +5434,24 @@ export const getHfTokenStatus = (options?: responseType: "json", responseValidator: async (data) => await zGetHfTokenStatusResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/hf-token", ...options, }); -export const setHfToken = (options: Options) => +export const setHfToken = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -4371,8 +5464,16 @@ export const setHfToken = (options: Option responseType: "json", responseValidator: async (data) => await zSetHfTokenResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/hf-token", ...options, @@ -4384,7 +5485,7 @@ export const setHfToken = (options: Option export const getLatestRecommendations = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -4397,8 +5498,16 @@ export const getLatestRecommendations = ( responseType: "json", responseValidator: async (data) => await zGetLatestRecommendationsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/recommendations/latest", ...options, @@ -4406,7 +5515,7 @@ export const getLatestRecommendations = ( export const getLlamaCppRuntime = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -4419,8 +5528,16 @@ export const getLlamaCppRuntime = ( responseType: "json", responseValidator: async (data) => await zGetLlamaCppRuntimeResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/llamacpp/runtime", ...options, @@ -4428,7 +5545,7 @@ export const getLlamaCppRuntime = ( export const getLlamaCppSourceBuildPrerequisites = ( options: Options, -) => +): RequestResult => (options.client ?? client).get< GetLlamaCppSourceBuildPrerequisitesResponses, GetLlamaCppSourceBuildPrerequisitesErrors, @@ -4445,8 +5562,16 @@ export const getLlamaCppSourceBuildPrerequisites = await zGetLlamaCppSourceBuildPrerequisitesResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/llamacpp/source-build/prerequisites", ...options, @@ -4454,7 +5579,7 @@ export const getLlamaCppSourceBuildPrerequisites = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -4467,8 +5592,16 @@ export const getLlamaCppSourceBuildStatus = await zGetLlamaCppSourceBuildStatusResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/llamacpp/source-build/status", ...options, @@ -4476,7 +5609,7 @@ export const getLlamaCppSourceBuildStatus = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -4489,8 +5622,16 @@ export const getModelCatalogInfo = ( responseType: "json", responseValidator: async (data) => await zGetModelCatalogInfoResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/catalog", ...options, @@ -4498,7 +5639,7 @@ export const getModelCatalogInfo = ( export const getRuntimeAcquisitionStatus = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -4511,8 +5652,16 @@ export const getRuntimeAcquisitionStatus = await zGetRuntimeAcquisitionStatusResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/llamacpp/acquisition", ...options, @@ -4520,7 +5669,7 @@ export const getRuntimeAcquisitionStatus = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -4533,8 +5682,16 @@ export const inspectGgufRepository = ( responseType: "json", responseValidator: async (data) => await zInspectGgufRepositoryResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/gguf/inspect", ...options, @@ -4542,7 +5699,7 @@ export const inspectGgufRepository = ( export const invalidateInferenceProfile = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -4555,8 +5712,16 @@ export const invalidateInferenceProfile = responseType: "json", responseValidator: async (data) => await zInvalidateInferenceProfileResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/profiles/invalidate", ...options, @@ -4568,7 +5733,7 @@ export const invalidateInferenceProfile = export const listInferenceProfiles = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -4581,14 +5746,24 @@ export const listInferenceProfiles = ( responseType: "json", responseValidator: async (data) => await zListInferenceProfilesResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/profiles", ...options, }); -export const listRunningModels = (options?: Options) => +export const listRunningModels = ( + options?: Options, +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -4601,14 +5776,24 @@ export const listRunningModels = (options? responseType: "json", responseValidator: async (data) => await zListRunningModelsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/running", ...options, }); -export const previewGgufImport = (options: Options) => +export const previewGgufImport = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -4621,8 +5806,16 @@ export const previewGgufImport = (options: responseType: "json", responseValidator: async (data) => await zPreviewGgufImportResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/gguf/import/preview", ...options, @@ -4634,7 +5827,7 @@ export const previewGgufImport = (options: export const refreshModelCatalog = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).post({ requestValidator: async (data) => await z @@ -4647,8 +5840,16 @@ export const refreshModelCatalog = ( responseType: "json", responseValidator: async (data) => await zRefreshModelCatalogResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/catalog/refresh", ...options, @@ -4656,7 +5857,7 @@ export const refreshModelCatalog = ( export const refreshRecommendations = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -4669,8 +5870,16 @@ export const refreshRecommendations = ( responseType: "json", responseValidator: async (data) => await zRefreshRecommendationsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/recommendations/refresh", ...options, @@ -4680,7 +5889,9 @@ export const refreshRecommendations = ( }, }); -export const removeCudaBuild = (options?: Options) => +export const removeCudaBuild = ( + options?: Options, +): RequestResult => (options?.client ?? client).post({ requestValidator: async (data) => await z @@ -4693,8 +5904,16 @@ export const removeCudaBuild = (options?: responseType: "json", responseValidator: async (data) => await zRemoveCudaBuildResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/llamacpp/cuda-build/remove", ...options, @@ -4702,7 +5921,7 @@ export const removeCudaBuild = (options?: export const removeLlamaCppSourceBuild = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).post({ requestValidator: async (data) => await z @@ -4715,14 +5934,24 @@ export const removeLlamaCppSourceBuild = ( responseType: "json", responseValidator: async (data) => await zRemoveLlamaCppSourceBuildResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/llamacpp/source-build/remove", ...options, }); -export const startCudaBuild = (options?: Options) => +export const startCudaBuild = ( + options?: Options, +): RequestResult => (options?.client ?? client).post({ requestValidator: async (data) => await z @@ -4735,14 +5964,24 @@ export const startCudaBuild = (options?: O responseType: "json", responseValidator: async (data) => await zStartCudaBuildResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/llamacpp/cuda-build", ...options, }); -export const startGgufDownload = (options: Options) => +export const startGgufDownload = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -4755,8 +5994,16 @@ export const startGgufDownload = (options: responseType: "json", responseValidator: async (data) => await zStartGgufDownloadResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/download", ...options, @@ -4766,7 +6013,9 @@ export const startGgufDownload = (options: }, }); -export const startGgufImport = (options: Options) => +export const startGgufImport = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -4779,8 +6028,16 @@ export const startGgufImport = (options: O responseType: "json", responseValidator: async (data) => await zStartGgufImportResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/gguf/import", ...options, @@ -4792,7 +6049,7 @@ export const startGgufImport = (options: O export const startLlamaCppSourceBuild = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -4805,8 +6062,16 @@ export const startLlamaCppSourceBuild = ( responseType: "json", responseValidator: async (data) => await zStartLlamaCppSourceBuildResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/llamacpp/source-build", ...options, @@ -4818,7 +6083,7 @@ export const startLlamaCppSourceBuild = ( export const updateLlamaCppRuntime = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -4831,8 +6096,16 @@ export const updateLlamaCppRuntime = ( responseType: "json", responseValidator: async (data) => await zUpdateLlamaCppRuntimeResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/model-fit/llamacpp/update", ...options, @@ -4842,7 +6115,9 @@ export const updateLlamaCppRuntime = ( }, }); -export const listMcpServers = (options?: Options) => +export const listMcpServers = ( + options?: Options, +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -4855,14 +6130,24 @@ export const listMcpServers = (options?: O responseType: "json", responseValidator: async (data) => await zListMcpServersResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/mcp/servers", ...options, }); -export const createMcpServer = (options: Options) => +export const createMcpServer = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -4875,8 +6160,16 @@ export const createMcpServer = (options: O responseType: "json", responseValidator: async (data) => await zCreateMcpServerResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/mcp/servers", ...options, @@ -4886,7 +6179,9 @@ export const createMcpServer = (options: O }, }); -export const deleteMcpServer = (options: Options) => +export const deleteMcpServer = ( + options: Options, +): RequestResult => (options.client ?? client).delete({ requestValidator: async (data) => await z @@ -4898,14 +6193,24 @@ export const deleteMcpServer = (options: O .parseAsync(data), responseValidator: async (data) => await zDeleteMcpServerResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/mcp/servers/{mcpServerId}", ...options, }); -export const getMcpServer = (options: Options) => +export const getMcpServer = ( + options: Options, +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -4918,14 +6223,24 @@ export const getMcpServer = (options: Opti responseType: "json", responseValidator: async (data) => await zGetMcpServerResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/mcp/servers/{mcpServerId}", ...options, }); -export const updateMcpServer = (options: Options) => +export const updateMcpServer = ( + options: Options, +): RequestResult => (options.client ?? client).put({ requestValidator: async (data) => await z @@ -4938,8 +6253,16 @@ export const updateMcpServer = (options: O responseType: "json", responseValidator: async (data) => await zUpdateMcpServerResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/mcp/servers/{mcpServerId}", ...options, @@ -4951,7 +6274,7 @@ export const updateMcpServer = (options: O export const revokeMcpServerApiKey = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).delete({ requestValidator: async (data) => await z @@ -4963,8 +6286,16 @@ export const revokeMcpServerApiKey = ( .parseAsync(data), responseValidator: async (data) => await zRevokeMcpServerApiKeyResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/mcp/server-key", ...options, @@ -4972,7 +6303,7 @@ export const revokeMcpServerApiKey = ( export const getMcpServerApiKey = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -4985,8 +6316,16 @@ export const getMcpServerApiKey = ( responseType: "json", responseValidator: async (data) => await zGetMcpServerApiKeyResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/mcp/server-key", ...options, @@ -4994,7 +6333,7 @@ export const getMcpServerApiKey = ( export const generateMcpServerApiKey = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).post({ requestValidator: async (data) => await z @@ -5007,8 +6346,16 @@ export const generateMcpServerApiKey = ( responseType: "json", responseValidator: async (data) => await zGenerateMcpServerApiKeyResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/mcp/server-key", ...options, @@ -5018,7 +6365,9 @@ export const generateMcpServerApiKey = ( }, }); -export const getMcpServerTools = (options: Options) => +export const getMcpServerTools = ( + options: Options, +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -5031,14 +6380,24 @@ export const getMcpServerTools = (options: responseType: "json", responseValidator: async (data) => await zGetMcpServerToolsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/mcp/servers/{mcpServerId}/tools", ...options, }); -export const getToolCatalog = (options?: Options) => +export const getToolCatalog = ( + options?: Options, +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -5051,8 +6410,16 @@ export const getToolCatalog = (options?: O responseType: "json", responseValidator: async (data) => await zGetToolCatalogResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/tool-catalog", ...options, @@ -5060,7 +6427,7 @@ export const getToolCatalog = (options?: O export const setMcpServerEnabled = ( options: Options, -) => +): RequestResult => (options.client ?? client).patch({ requestValidator: async (data) => await z @@ -5073,8 +6440,16 @@ export const setMcpServerEnabled = ( responseType: "json", responseValidator: async (data) => await zSetMcpServerEnabledResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/mcp/servers/{mcpServerId}/enabled", ...options, @@ -5084,7 +6459,9 @@ export const setMcpServerEnabled = ( }, }); -export const deleteLocalModel = (options: Options) => +export const deleteLocalModel = ( + options: Options, +): RequestResult => (options.client ?? client).delete({ requestValidator: async (data) => await z @@ -5097,14 +6474,24 @@ export const deleteLocalModel = (options: responseType: "json", responseValidator: async (data) => await zDeleteLocalModelResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/models/{modelName}", ...options, }); -export const deleteModelKind = (options: Options) => +export const deleteModelKind = ( + options: Options, +): RequestResult => (options.client ?? client).delete({ requestValidator: async (data) => await z @@ -5117,14 +6504,24 @@ export const deleteModelKind = (options: O responseType: "json", responseValidator: async (data) => await zDeleteModelKindResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/models/{modelName}/kind", ...options, }); -export const putModelKind = (options: Options) => +export const putModelKind = ( + options: Options, +): RequestResult => (options.client ?? client).put({ requestValidator: async (data) => await z @@ -5137,8 +6534,16 @@ export const putModelKind = (options: Opti responseType: "json", responseValidator: async (data) => await zPutModelKindResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/models/{modelName}/kind", ...options, @@ -5150,7 +6555,7 @@ export const putModelKind = (options: Opti export const deleteModelLaunchArguments = ( options: Options, -) => +): RequestResult => (options.client ?? client).delete({ requestValidator: async (data) => await z @@ -5163,8 +6568,16 @@ export const deleteModelLaunchArguments = responseType: "json", responseValidator: async (data) => await zDeleteModelLaunchArgumentsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/models/{modelName}/launch-args", ...options, @@ -5172,7 +6585,7 @@ export const deleteModelLaunchArguments = export const getModelLaunchArguments = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -5185,8 +6598,16 @@ export const getModelLaunchArguments = ( responseType: "json", responseValidator: async (data) => await zGetModelLaunchArgumentsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/models/{modelName}/launch-args", ...options, @@ -5194,7 +6615,7 @@ export const getModelLaunchArguments = ( export const putModelLaunchArguments = ( options: Options, -) => +): RequestResult => (options.client ?? client).put({ requestValidator: async (data) => await z @@ -5207,8 +6628,16 @@ export const putModelLaunchArguments = ( responseType: "json", responseValidator: async (data) => await zPutModelLaunchArgumentsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/models/{modelName}/launch-args", ...options, @@ -5220,7 +6649,7 @@ export const putModelLaunchArguments = ( export const getLocalModelDetails = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -5233,8 +6662,16 @@ export const getLocalModelDetails = ( responseType: "json", responseValidator: async (data) => await zGetLocalModelDetailsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/models/{modelName}/details", ...options, @@ -5242,7 +6679,7 @@ export const getLocalModelDetails = ( export const getRunningLocalModels = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -5255,14 +6692,24 @@ export const getRunningLocalModels = ( responseType: "json", responseValidator: async (data) => await zGetRunningLocalModelsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/models/running", ...options, }); -export const listLocalModels = (options?: Options) => +export const listLocalModels = ( + options?: Options, +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -5275,14 +6722,24 @@ export const listLocalModels = (options?: responseType: "json", responseValidator: async (data) => await zListLocalModelsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/models", ...options, }); -export const selectLocalModel = (options: Options) => +export const selectLocalModel = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -5295,8 +6752,16 @@ export const selectLocalModel = (options: responseType: "json", responseValidator: async (data) => await zSelectLocalModelResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/models/select", ...options, @@ -5306,7 +6771,9 @@ export const selectLocalModel = (options: }, }); -export const unloadLocalModel = (options: Options) => +export const unloadLocalModel = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -5319,8 +6786,16 @@ export const unloadLocalModel = (options: responseType: "json", responseValidator: async (data) => await zUnloadLocalModelResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/models/{modelName}/unload", ...options, @@ -5328,7 +6803,7 @@ export const unloadLocalModel = (options: export const cancelNodeChatMessage = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -5341,8 +6816,16 @@ export const cancelNodeChatMessage = ( responseType: "json", responseValidator: async (data) => await zCancelNodeChatMessageResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/chat/cancel", ...options, @@ -5354,7 +6837,7 @@ export const cancelNodeChatMessage = ( export const compactNodeChatConversation = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -5367,8 +6850,16 @@ export const compactNodeChatConversation = await zCompactNodeChatConversationResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/chat/conversations/{conversationId}/compact", ...options, @@ -5380,7 +6871,7 @@ export const compactNodeChatConversation = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -5393,8 +6884,16 @@ export const listNodeChatConversations = ( responseType: "json", responseValidator: async (data) => await zListNodeChatConversationsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/chat/conversations", ...options, @@ -5402,7 +6901,7 @@ export const listNodeChatConversations = ( export const createNodeChatConversation = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -5415,8 +6914,16 @@ export const createNodeChatConversation = responseType: "json", responseValidator: async (data) => await zCreateNodeChatConversationResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/chat/conversations", ...options, @@ -5428,7 +6935,7 @@ export const createNodeChatConversation = export const deleteConversationFile = ( options: Options, -) => +): RequestResult => (options.client ?? client).delete({ requestValidator: async (data) => await z @@ -5440,8 +6947,16 @@ export const deleteConversationFile = ( .parseAsync(data), responseValidator: async (data) => await zDeleteConversationFileResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/chat/conversations/{conversationId}/uploads/{fileId}", ...options, @@ -5449,7 +6964,7 @@ export const deleteConversationFile = ( export const deleteNodeChatConversation = ( options: Options, -) => +): RequestResult => (options.client ?? client).delete({ requestValidator: async (data) => await z @@ -5462,8 +6977,16 @@ export const deleteNodeChatConversation = responseType: "json", responseValidator: async (data) => await zDeleteNodeChatConversationResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/chat/conversations/{conversationId}", ...options, @@ -5475,7 +6998,7 @@ export const deleteNodeChatConversation = export const getNodeChatConversation = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -5488,8 +7011,16 @@ export const getNodeChatConversation = ( responseType: "json", responseValidator: async (data) => await zGetNodeChatConversationResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/chat/conversations/{conversationId}", ...options, @@ -5497,7 +7028,7 @@ export const getNodeChatConversation = ( export const listConversationFiles = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -5510,8 +7041,16 @@ export const listConversationFiles = ( responseType: "json", responseValidator: async (data) => await zListConversationFilesResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/chat/conversations/{conversationId}/uploads", ...options, @@ -5519,7 +7058,7 @@ export const listConversationFiles = ( export const uploadConversationFile = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ ...formDataBodySerializer, requestValidator: async (data) => @@ -5533,8 +7072,16 @@ export const uploadConversationFile = ( responseType: "json", responseValidator: async (data) => await zUploadConversationFileResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/chat/conversations/{conversationId}/uploads", ...options, @@ -5546,7 +7093,7 @@ export const uploadConversationFile = ( export const renameNodeChatConversation = ( options: Options, -) => +): RequestResult => (options.client ?? client).patch({ requestValidator: async (data) => await z @@ -5559,8 +7106,16 @@ export const renameNodeChatConversation = responseType: "json", responseValidator: async (data) => await zRenameNodeChatConversationResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/chat/conversations/{conversationId}/rename", ...options, @@ -5572,7 +7127,7 @@ export const renameNodeChatConversation = export const pinNodeChatConversation = ( options: Options, -) => +): RequestResult => (options.client ?? client).patch({ requestValidator: async (data) => await z @@ -5585,8 +7140,16 @@ export const pinNodeChatConversation = ( responseType: "json", responseValidator: async (data) => await zPinNodeChatConversationResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/chat/conversations/{conversationId}/pin", ...options, @@ -5598,7 +7161,7 @@ export const pinNodeChatConversation = ( export const archiveNodeChatConversation = ( options: Options, -) => +): RequestResult => (options.client ?? client).patch({ requestValidator: async (data) => await z @@ -5611,8 +7174,16 @@ export const archiveNodeChatConversation = await zArchiveNodeChatConversationResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/chat/conversations/{conversationId}/archive", ...options, @@ -5624,7 +7195,7 @@ export const archiveNodeChatConversation = ( options: Options, -) => +): RequestResult => (options.client ?? client).patch< SetNodeChatConversationMemoryExcludedResponses, SetNodeChatConversationMemoryExcludedErrors, @@ -5641,8 +7212,16 @@ export const setNodeChatConversationMemoryExcluded = await zSetNodeChatConversationMemoryExcludedResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/chat/conversations/{conversationId}/memory-excluded", ...options, @@ -5654,7 +7233,7 @@ export const setNodeChatConversationMemoryExcluded = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -5667,8 +7246,16 @@ export const branchNodeChatConversation = responseType: "json", responseValidator: async (data) => await zBranchNodeChatConversationResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/chat/conversations/{conversationId}/branch/{messageId}", ...options, @@ -5680,7 +7267,7 @@ export const branchNodeChatConversation = export const listNodeChatMessageRevisions = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -5693,8 +7280,16 @@ export const listNodeChatMessageRevisions = await zListNodeChatMessageRevisionsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/chat/conversations/{conversationId}/messages/{messageId}/revisions", ...options, @@ -5702,7 +7297,7 @@ export const listNodeChatMessageRevisions = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -5715,8 +7310,16 @@ export const createNodeChatMessageRevision = await zCreateNodeChatMessageRevisionResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/chat/conversations/{conversationId}/messages/{messageId}/revisions", ...options, @@ -5724,7 +7327,7 @@ export const createNodeChatMessageRevision = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -5737,8 +7340,16 @@ export const getNodeChatMessageFeedback = responseType: "json", responseValidator: async (data) => await zGetNodeChatMessageFeedbackResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/chat/conversations/{conversationId}/messages/{messageId}/feedback", ...options, @@ -5746,7 +7357,7 @@ export const getNodeChatMessageFeedback = export const setNodeChatMessageFeedback = ( options: Options, -) => +): RequestResult => (options.client ?? client).put({ requestValidator: async (data) => await z @@ -5759,8 +7370,16 @@ export const setNodeChatMessageFeedback = responseType: "json", responseValidator: async (data) => await zSetNodeChatMessageFeedbackResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/chat/conversations/{conversationId}/messages/{messageId}/feedback", ...options, @@ -5772,7 +7391,7 @@ export const setNodeChatMessageFeedback = export const setNodeChatSelectedPath = ( options: Options, -) => +): RequestResult => (options.client ?? client).put({ requestValidator: async (data) => await z @@ -5785,8 +7404,16 @@ export const setNodeChatSelectedPath = ( responseType: "json", responseValidator: async (data) => await zSetNodeChatSelectedPathResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/chat/conversations/{conversationId}/selected-path", ...options, @@ -5798,7 +7425,7 @@ export const setNodeChatSelectedPath = ( export const resolveToolApproval = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -5811,8 +7438,16 @@ export const resolveToolApproval = ( responseType: "json", responseValidator: async (data) => await zResolveToolApprovalResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/chat/approvals/resolve", ...options, @@ -5824,7 +7459,7 @@ export const resolveToolApproval = ( export const resolveUserQuestion = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -5837,8 +7472,16 @@ export const resolveUserQuestion = ( responseType: "json", responseValidator: async (data) => await zResolveUserQuestionResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/chat/questions/resolve", ...options, @@ -5850,7 +7493,7 @@ export const resolveUserQuestion = ( export const deleteKnowledgeDocument = ( options: Options, -) => +): RequestResult => (options.client ?? client).delete({ requestValidator: async (data) => await z @@ -5862,8 +7505,16 @@ export const deleteKnowledgeDocument = ( .parseAsync(data), responseValidator: async (data) => await zDeleteKnowledgeDocumentResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/knowledge-base/documents/{documentId}", ...options, @@ -5871,7 +7522,7 @@ export const deleteKnowledgeDocument = ( export const getKnowledgeDocument = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -5884,8 +7535,16 @@ export const getKnowledgeDocument = ( responseType: "json", responseValidator: async (data) => await zGetKnowledgeDocumentResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/knowledge-base/documents/{documentId}", ...options, @@ -5893,7 +7552,7 @@ export const getKnowledgeDocument = ( export const downloadRecommendedEmbedding = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).post({ requestValidator: async (data) => await z @@ -5906,8 +7565,16 @@ export const downloadRecommendedEmbedding = await zDownloadRecommendedEmbeddingResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/knowledge-base/embedding/download-recommended", ...options, @@ -5915,7 +7582,7 @@ export const downloadRecommendedEmbedding = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).post({ requestValidator: async (data) => await z @@ -5928,8 +7595,16 @@ export const downloadRecommendedReranker = await zDownloadRecommendedRerankerResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/knowledge-base/reranker/download-recommended", ...options, @@ -5937,7 +7612,7 @@ export const downloadRecommendedReranker = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -5950,8 +7625,16 @@ export const importKnowledgeRepository = ( responseType: "json", responseValidator: async (data) => await zImportKnowledgeRepositoryResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/knowledge-base/repositories/import", ...options, @@ -5963,7 +7646,7 @@ export const importKnowledgeRepository = ( export const listKnowledgeDocuments = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -5976,8 +7659,16 @@ export const listKnowledgeDocuments = ( responseType: "json", responseValidator: async (data) => await zListKnowledgeDocumentsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/knowledge-base/documents", ...options, @@ -5985,7 +7676,7 @@ export const listKnowledgeDocuments = ( export const uploadKnowledgeDocument = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ ...formDataBodySerializer, requestValidator: async (data) => @@ -5999,8 +7690,16 @@ export const uploadKnowledgeDocument = ( responseType: "json", responseValidator: async (data) => await zUploadKnowledgeDocumentResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/knowledge-base/documents", ...options, @@ -6010,7 +7709,9 @@ export const uploadKnowledgeDocument = ( }, }); -export const reindexCorpus = (options?: Options) => +export const reindexCorpus = ( + options?: Options, +): RequestResult => (options?.client ?? client).post({ requestValidator: async (data) => await z @@ -6023,8 +7724,16 @@ export const reindexCorpus = (options?: Op responseType: "json", responseValidator: async (data) => await zReindexCorpusResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/knowledge-base/reindex", ...options, @@ -6032,7 +7741,7 @@ export const reindexCorpus = (options?: Op export const reindexKnowledgeDocument = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -6044,14 +7753,24 @@ export const reindexKnowledgeDocument = ( .parseAsync(data), responseValidator: async (data) => await zReindexKnowledgeDocumentResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/knowledge-base/documents/{documentId}/reindex", ...options, }); -export const searchKnowledge = (options: Options) => +export const searchKnowledge = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -6064,8 +7783,16 @@ export const searchKnowledge = (options: O responseType: "json", responseValidator: async (data) => await zSearchKnowledgeResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/knowledge-base/search", ...options, @@ -6077,7 +7804,7 @@ export const searchKnowledge = (options: O export const getInvocationMonitor = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -6090,8 +7817,16 @@ export const getInvocationMonitor = ( responseType: "json", responseValidator: async (data) => await zGetInvocationMonitorResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/invocations", ...options, @@ -6099,7 +7834,7 @@ export const getInvocationMonitor = ( export const browseImageRepositories = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -6112,14 +7847,24 @@ export const browseImageRepositories = ( responseType: "json", responseValidator: async (data) => await zBrowseImageRepositoriesResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/images/models/browse", ...options, }); -export const cancelImageJob = (options: Options) => +export const cancelImageJob = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -6131,8 +7876,16 @@ export const cancelImageJob = (options: Op .parseAsync(data), responseValidator: async (data) => await zCancelImageJobResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/images/jobs/{jobId}/cancel", ...options, @@ -6140,7 +7893,7 @@ export const cancelImageJob = (options: Op export const cancelImageModelDownload = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -6153,8 +7906,16 @@ export const cancelImageModelDownload = ( responseType: "json", responseValidator: async (data) => await zCancelImageModelDownloadResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/images/models/downloads/cancel", ...options, @@ -6166,7 +7927,7 @@ export const cancelImageModelDownload = ( export const cancelStableDiffusionCppSourceBuild = ( options: Options, -) => +): RequestResult => (options.client ?? client).post< CancelStableDiffusionCppSourceBuildResponses, CancelStableDiffusionCppSourceBuildErrors, @@ -6183,8 +7944,16 @@ export const cancelStableDiffusionCppSourceBuild = await zCancelStableDiffusionCppSourceBuildResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/images/runtime/source-build/cancel", ...options, @@ -6194,7 +7963,9 @@ export const cancelStableDiffusionCppSourceBuild = (options?: Options) => +export const listImageJobs = ( + options?: Options, +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -6207,14 +7978,24 @@ export const listImageJobs = (options?: Op responseType: "json", responseValidator: async (data) => await zListImageJobsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/images/jobs", ...options, }); -export const createImageJob = (options: Options) => +export const createImageJob = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -6227,8 +8008,16 @@ export const createImageJob = (options: Op responseType: "json", responseValidator: async (data) => await zCreateImageJobResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/images/jobs", ...options, @@ -6238,7 +8027,9 @@ export const createImageJob = (options: Op }, }); -export const deleteImageModel = (options: Options) => +export const deleteImageModel = ( + options: Options, +): RequestResult => (options.client ?? client).delete({ requestValidator: async (data) => await z @@ -6250,14 +8041,24 @@ export const deleteImageModel = (options: .parseAsync(data), responseValidator: async (data) => await zDeleteImageModelResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/images/models/{modelName}", ...options, }); -export const ejectImageRuntime = (options: Options) => +export const ejectImageRuntime = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -6270,8 +8071,16 @@ export const ejectImageRuntime = (options: responseType: "json", responseValidator: async (data) => await zEjectImageRuntimeResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/images/runtime/eject", ...options, @@ -6281,7 +8090,9 @@ export const ejectImageRuntime = (options: }, }); -export const getImageJob = (options: Options) => +export const getImageJob = ( + options: Options, +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -6294,8 +8105,16 @@ export const getImageJob = (options: Optio responseType: "json", responseValidator: async (data) => await zGetImageJobResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/images/jobs/{jobId}", ...options, @@ -6303,7 +8122,7 @@ export const getImageJob = (options: Optio export const getImageModelCatalog = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -6316,8 +8135,16 @@ export const getImageModelCatalog = ( responseType: "json", responseValidator: async (data) => await zGetImageModelCatalogResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/images/models/catalog", ...options, @@ -6325,7 +8152,7 @@ export const getImageModelCatalog = ( export const getImageRuntimeStatus = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -6338,8 +8165,16 @@ export const getImageRuntimeStatus = ( responseType: "json", responseValidator: async (data) => await zGetImageRuntimeStatusResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/images/runtime", ...options, @@ -6347,7 +8182,11 @@ export const getImageRuntimeStatus = ( export const getStableDiffusionCppSourceBuildPrerequisites = ( options: Options, -) => +): RequestResult< + GetStableDiffusionCppSourceBuildPrerequisitesResponses, + GetStableDiffusionCppSourceBuildPrerequisitesErrors, + ThrowOnError +> => (options.client ?? client).get< GetStableDiffusionCppSourceBuildPrerequisitesResponses, GetStableDiffusionCppSourceBuildPrerequisitesErrors, @@ -6364,8 +8203,16 @@ export const getStableDiffusionCppSourceBuildPrerequisites = await zGetStableDiffusionCppSourceBuildPrerequisitesResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/images/runtime/source-build/prerequisites", ...options, @@ -6373,7 +8220,7 @@ export const getStableDiffusionCppSourceBuildPrerequisites = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get< GetStableDiffusionCppSourceBuildStatusResponses, GetStableDiffusionCppSourceBuildStatusErrors, @@ -6390,8 +8237,16 @@ export const getStableDiffusionCppSourceBuildStatus = await zGetStableDiffusionCppSourceBuildStatusResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/images/runtime/source-build/status", ...options, @@ -6399,7 +8254,7 @@ export const getStableDiffusionCppSourceBuildStatus = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -6412,8 +8267,16 @@ export const inspectImageRepository = ( responseType: "json", responseValidator: async (data) => await zInspectImageRepositoryResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/images/models/inspect", ...options, @@ -6421,7 +8284,7 @@ export const inspectImageRepository = ( export const listImageModelDownloads = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -6434,8 +8297,16 @@ export const listImageModelDownloads = ( responseType: "json", responseValidator: async (data) => await zListImageModelDownloadsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/images/models/downloads", ...options, @@ -6443,7 +8314,7 @@ export const listImageModelDownloads = ( export const startImageModelDownload = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -6456,8 +8327,16 @@ export const startImageModelDownload = ( responseType: "json", responseValidator: async (data) => await zStartImageModelDownloadResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/images/models/downloads", ...options, @@ -6467,7 +8346,9 @@ export const startImageModelDownload = ( }, }); -export const listImageModels = (options?: Options) => +export const listImageModels = ( + options?: Options, +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -6480,8 +8361,16 @@ export const listImageModels = (options?: responseType: "json", responseValidator: async (data) => await zListImageModelsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/images/models", ...options, @@ -6489,7 +8378,7 @@ export const listImageModels = (options?: export const removeStableDiffusionCppSourceBuild = ( options: Options, -) => +): RequestResult => (options.client ?? client).post< RemoveStableDiffusionCppSourceBuildResponses, RemoveStableDiffusionCppSourceBuildErrors, @@ -6506,8 +8395,16 @@ export const removeStableDiffusionCppSourceBuild = await zRemoveStableDiffusionCppSourceBuildResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/images/runtime/source-build/remove", ...options, @@ -6517,7 +8414,9 @@ export const removeStableDiffusionCppSourceBuild = (options: Options) => +export const retrieveImage = ( + options: Options, +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -6529,8 +8428,16 @@ export const retrieveImage = (options: Opt .parseAsync(data), responseValidator: async (data) => await zRetrieveImageResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/images/{imageId}", ...options, @@ -6538,7 +8445,7 @@ export const retrieveImage = (options: Opt export const startStableDiffusionCppSourceBuild = ( options: Options, -) => +): RequestResult => (options.client ?? client).post< StartStableDiffusionCppSourceBuildResponses, StartStableDiffusionCppSourceBuildErrors, @@ -6555,8 +8462,16 @@ export const startStableDiffusionCppSourceBuild = await zStartStableDiffusionCppSourceBuildResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/images/runtime/source-build", ...options, @@ -6568,7 +8483,7 @@ export const startStableDiffusionCppSourceBuild = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -6581,8 +8496,16 @@ export const getDevelopmentCapability = ( responseType: "json", responseValidator: async (data) => await zGetDevelopmentCapabilityResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/development/capability", ...options, @@ -6590,7 +8513,7 @@ export const getDevelopmentCapability = ( export const confirmDevelopmentContainerRuntime = ( options: Options, -) => +): RequestResult => (options.client ?? client).post< ConfirmDevelopmentContainerRuntimeResponses, ConfirmDevelopmentContainerRuntimeErrors, @@ -6607,8 +8530,16 @@ export const confirmDevelopmentContainerRuntime = await zConfirmDevelopmentContainerRuntimeResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/development/container-runtime/confirmation", ...options, @@ -6620,7 +8551,7 @@ export const confirmDevelopmentContainerRuntime = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -6633,8 +8564,16 @@ export const listDevelopmentRepositories = await zListDevelopmentRepositoriesResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/development/repositories", ...options, @@ -6642,7 +8581,7 @@ export const listDevelopmentRepositories = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -6655,8 +8594,16 @@ export const registerDevelopmentRepository = await zRegisterDevelopmentRepositoryResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/development/repositories", ...options, @@ -6668,7 +8615,7 @@ export const registerDevelopmentRepository = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -6681,8 +8628,16 @@ export const listDevelopmentTemplates = ( responseType: "json", responseValidator: async (data) => await zListDevelopmentTemplatesResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/development/templates", ...options, @@ -6690,7 +8645,7 @@ export const listDevelopmentTemplates = ( export const registerDevelopmentTemplate = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -6703,8 +8658,16 @@ export const registerDevelopmentTemplate = await zRegisterDevelopmentTemplateResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/development/templates", ...options, @@ -6716,7 +8679,7 @@ export const registerDevelopmentTemplate = ( options: Options, -) => +): RequestResult => (options.client ?? client).delete({ requestValidator: async (data) => await z @@ -6728,8 +8691,16 @@ export const removeDevelopmentTemplate = ( .parseAsync(data), responseValidator: async (data) => await zRemoveDevelopmentTemplateResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/development/templates/{templateId}", ...options, @@ -6737,7 +8708,7 @@ export const removeDevelopmentTemplate = ( export const createDevelopmentRepositoryFromTemplate = ( options: Options, -) => +): RequestResult => (options.client ?? client).post< CreateDevelopmentRepositoryFromTemplateResponses, CreateDevelopmentRepositoryFromTemplateErrors, @@ -6754,8 +8725,16 @@ export const createDevelopmentRepositoryFromTemplate = await zCreateDevelopmentRepositoryFromTemplateResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/development/repositories/from-template", ...options, @@ -6767,7 +8746,7 @@ export const createDevelopmentRepositoryFromTemplate = ( options: Options, -) => +): RequestResult => (options.client ?? client).get< DetectDevelopmentRepositoryProfileResponses, DetectDevelopmentRepositoryProfileErrors, @@ -6784,8 +8763,16 @@ export const detectDevelopmentRepositoryProfile = await zDetectDevelopmentRepositoryProfileResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/development/repositories/{selectedFolderId}/profile-detection", ...options, @@ -6793,7 +8780,7 @@ export const detectDevelopmentRepositoryProfile = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -6806,8 +8793,16 @@ export const listDevelopmentProjects = ( responseType: "json", responseValidator: async (data) => await zListDevelopmentProjectsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/development/projects", ...options, @@ -6815,7 +8810,7 @@ export const listDevelopmentProjects = ( export const createDevelopmentProject = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -6828,8 +8823,16 @@ export const createDevelopmentProject = ( responseType: "json", responseValidator: async (data) => await zCreateDevelopmentProjectResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/development/projects", ...options, @@ -6841,7 +8844,7 @@ export const createDevelopmentProject = ( export const getDevelopmentProject = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -6854,8 +8857,16 @@ export const getDevelopmentProject = ( responseType: "json", responseValidator: async (data) => await zGetDevelopmentProjectResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/development/projects/{projectId}", ...options, @@ -6863,7 +8874,7 @@ export const getDevelopmentProject = ( export const getDevelopmentTask = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -6876,8 +8887,16 @@ export const getDevelopmentTask = ( responseType: "json", responseValidator: async (data) => await zGetDevelopmentTaskResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/development/projects/{projectId}/tasks/{taskId}", ...options, @@ -6885,7 +8904,7 @@ export const getDevelopmentTask = ( export const startDevelopmentNextAction = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -6898,8 +8917,16 @@ export const startDevelopmentNextAction = responseType: "json", responseValidator: async (data) => await zStartDevelopmentNextActionResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/development/projects/{projectId}/tasks/{taskId}/next-action", ...options, @@ -6911,7 +8938,7 @@ export const startDevelopmentNextAction = export const cancelDevelopmentAttempt = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -6923,8 +8950,16 @@ export const cancelDevelopmentAttempt = ( .parseAsync(data), responseValidator: async (data) => await zCancelDevelopmentAttemptResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/development/projects/{projectId}/tasks/{taskId}/attempts/{attemptId}/cancel", ...options, @@ -6932,7 +8967,7 @@ export const cancelDevelopmentAttempt = ( export const listDevelopmentEvents = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -6945,8 +8980,16 @@ export const listDevelopmentEvents = ( responseType: "json", responseValidator: async (data) => await zListDevelopmentEventsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/development/projects/{projectId}/events", ...options, @@ -6954,7 +8997,7 @@ export const listDevelopmentEvents = ( export const listDevelopmentArtifacts = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -6967,8 +9010,16 @@ export const listDevelopmentArtifacts = ( responseType: "json", responseValidator: async (data) => await zListDevelopmentArtifactsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/development/projects/{projectId}/tasks/{taskId}/artifacts", ...options, @@ -6976,7 +9027,7 @@ export const listDevelopmentArtifacts = ( export const getDevelopmentArtifact = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -6989,8 +9040,16 @@ export const getDevelopmentArtifact = ( responseType: "json", responseValidator: async (data) => await zGetDevelopmentArtifactResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/development/projects/{projectId}/tasks/{taskId}/artifacts/{artifactId}", ...options, @@ -6998,7 +9057,7 @@ export const getDevelopmentArtifact = ( export const previewDevelopmentPatch = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -7011,8 +9070,16 @@ export const previewDevelopmentPatch = ( responseType: "json", responseValidator: async (data) => await zPreviewDevelopmentPatchResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/development/projects/{projectId}/tasks/{taskId}/preview", ...options, @@ -7024,7 +9091,7 @@ export const previewDevelopmentPatch = ( export const applyDevelopmentPatch = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -7037,8 +9104,16 @@ export const applyDevelopmentPatch = ( responseType: "json", responseValidator: async (data) => await zApplyDevelopmentPatchResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/development/projects/{projectId}/tasks/{taskId}/apply", ...options, @@ -7050,7 +9125,7 @@ export const applyDevelopmentPatch = ( export const reconnectDevelopmentRepository = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -7063,8 +9138,16 @@ export const reconnectDevelopmentRepository = await zReconnectDevelopmentRepositoryResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/development/projects/{projectId}/repository-connection", ...options, @@ -7074,7 +9157,9 @@ export const reconnectDevelopmentRepository = (options?: Options) => +export const listCustomTools = ( + options?: Options, +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -7087,14 +9172,24 @@ export const listCustomTools = (options?: responseType: "json", responseValidator: async (data) => await zListCustomToolsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/custom-tools", ...options, }); -export const createCustomTool = (options: Options) => +export const createCustomTool = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -7107,8 +9202,16 @@ export const createCustomTool = (options: responseType: "json", responseValidator: async (data) => await zCreateCustomToolResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/custom-tools", ...options, @@ -7118,7 +9221,9 @@ export const createCustomTool = (options: }, }); -export const deleteCustomTool = (options: Options) => +export const deleteCustomTool = ( + options: Options, +): RequestResult => (options.client ?? client).delete({ requestValidator: async (data) => await z @@ -7130,14 +9235,24 @@ export const deleteCustomTool = (options: .parseAsync(data), responseValidator: async (data) => await zDeleteCustomToolResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/custom-tools/{customToolId}", ...options, }); -export const getCustomTool = (options: Options) => +export const getCustomTool = ( + options: Options, +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -7150,14 +9265,24 @@ export const getCustomTool = (options: Opt responseType: "json", responseValidator: async (data) => await zGetCustomToolResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/custom-tools/{customToolId}", ...options, }); -export const updateCustomTool = (options: Options) => +export const updateCustomTool = ( + options: Options, +): RequestResult => (options.client ?? client).put({ requestValidator: async (data) => await z @@ -7170,8 +9295,16 @@ export const updateCustomTool = (options: responseType: "json", responseValidator: async (data) => await zUpdateCustomToolResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/custom-tools/{customToolId}", ...options, @@ -7183,7 +9316,7 @@ export const updateCustomTool = (options: export const validateExecutable = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -7196,8 +9329,16 @@ export const validateExecutable = ( responseType: "json", responseValidator: async (data) => await zValidateExecutableResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/custom-tools/executable-probe", ...options, @@ -7207,7 +9348,9 @@ export const validateExecutable = ( }, }); -export const connectConnection = (options?: Options) => +export const connectConnection = ( + options?: Options, +): RequestResult => (options?.client ?? client).post({ requestValidator: async (data) => await z @@ -7220,8 +9363,16 @@ export const connectConnection = (options? responseType: "json", responseValidator: async (data) => await zConnectConnectionResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/connection/connect", ...options, @@ -7229,7 +9380,7 @@ export const connectConnection = (options? export const disableAutoConnect = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).post({ requestValidator: async (data) => await z @@ -7242,8 +9393,16 @@ export const disableAutoConnect = ( responseType: "json", responseValidator: async (data) => await zDisableAutoConnectResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/connection/auto-connect/disable", ...options, @@ -7251,7 +9410,7 @@ export const disableAutoConnect = ( export const disconnectConnection = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).post({ requestValidator: async (data) => await z @@ -7264,14 +9423,24 @@ export const disconnectConnection = ( responseType: "json", responseValidator: async (data) => await zDisconnectConnectionResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/connection/disconnect", ...options, }); -export const enableAutoConnect = (options?: Options) => +export const enableAutoConnect = ( + options?: Options, +): RequestResult => (options?.client ?? client).post({ requestValidator: async (data) => await z @@ -7284,8 +9453,16 @@ export const enableAutoConnect = (options? responseType: "json", responseValidator: async (data) => await zEnableAutoConnectResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/connection/auto-connect/enable", ...options, @@ -7293,7 +9470,7 @@ export const enableAutoConnect = (options? export const getConnectionStatus = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -7306,8 +9483,16 @@ export const getConnectionStatus = ( responseType: "json", responseValidator: async (data) => await zGetConnectionStatusResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/connection", ...options, @@ -7315,7 +9500,7 @@ export const getConnectionStatus = ( export const clearCloudSettings = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).delete({ requestValidator: async (data) => await z @@ -7328,14 +9513,24 @@ export const clearCloudSettings = ( responseType: "json", responseValidator: async (data) => await zClearCloudSettingsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/cloud-settings", ...options, }); -export const getCloudSettings = (options?: Options) => +export const getCloudSettings = ( + options?: Options, +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -7348,14 +9543,24 @@ export const getCloudSettings = (options?: responseType: "json", responseValidator: async (data) => await zGetCloudSettingsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/cloud-settings", ...options, }); -export const saveCloudSettings = (options: Options) => +export const saveCloudSettings = ( + options: Options, +): RequestResult => (options.client ?? client).put({ requestValidator: async (data) => await z @@ -7368,8 +9573,16 @@ export const saveCloudSettings = (options: responseType: "json", responseValidator: async (data) => await zSaveCloudSettingsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/cloud-settings", ...options, @@ -7381,7 +9594,7 @@ export const saveCloudSettings = (options: export const entraAuthCodeSignIn = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).post({ requestValidator: async (data) => await z @@ -7394,8 +9607,16 @@ export const entraAuthCodeSignIn = ( responseType: "json", responseValidator: async (data) => await zEntraAuthCodeSignInResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/cloud-settings/entra/auth-code/start", ...options, @@ -7403,7 +9624,7 @@ export const entraAuthCodeSignIn = ( export const entraAuthCodeStatus = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -7416,8 +9637,16 @@ export const entraAuthCodeStatus = ( responseType: "json", responseValidator: async (data) => await zEntraAuthCodeStatusResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/cloud-settings/entra/auth-code/status", ...options, @@ -7425,7 +9654,7 @@ export const entraAuthCodeStatus = ( export const entraDeviceCodeSignIn = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).post({ requestValidator: async (data) => await z @@ -7438,8 +9667,16 @@ export const entraDeviceCodeSignIn = ( responseType: "json", responseValidator: async (data) => await zEntraDeviceCodeSignInResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/cloud-settings/entra/device-code/start", ...options, @@ -7447,7 +9684,7 @@ export const entraDeviceCodeSignIn = ( export const entraDeviceCodeStatus = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -7460,14 +9697,24 @@ export const entraDeviceCodeStatus = ( responseType: "json", responseValidator: async (data) => await zEntraDeviceCodeStatusResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/cloud-settings/entra/device-code/status", ...options, }); -export const codexLogin = (options?: Options) => +export const codexLogin = ( + options?: Options, +): RequestResult => (options?.client ?? client).post({ requestValidator: async (data) => await z @@ -7480,14 +9727,24 @@ export const codexLogin = (options?: Optio responseType: "json", responseValidator: async (data) => await zCodexLoginResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/cloud/codex/login", ...options, }); -export const codexLogout = (options?: Options) => +export const codexLogout = ( + options?: Options, +): RequestResult => (options?.client ?? client).post({ requestValidator: async (data) => await z @@ -7500,14 +9757,24 @@ export const codexLogout = (options?: Opti responseType: "json", responseValidator: async (data) => await zCodexLogoutResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/cloud/codex/logout", ...options, }); -export const codexStatus = (options?: Options) => +export const codexStatus = ( + options?: Options, +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -7520,8 +9787,16 @@ export const codexStatus = (options?: Opti responseType: "json", responseValidator: async (data) => await zCodexStatusResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/cloud/codex/status", ...options, @@ -7529,7 +9804,7 @@ export const codexStatus = (options?: Opti export const listEligibleBenchmarkAgents = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -7542,8 +9817,16 @@ export const listEligibleBenchmarkAgents = await zListEligibleBenchmarkAgentsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/benchmarks/eligible-agents", ...options, @@ -7551,7 +9834,7 @@ export const listEligibleBenchmarkAgents = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -7564,8 +9847,16 @@ export const listEligibleBenchmarkModels = await zListEligibleBenchmarkModelsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/benchmarks/eligible-models", ...options, @@ -7573,7 +9864,7 @@ export const listEligibleBenchmarkModels = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -7586,8 +9877,16 @@ export const exportBenchmarkProject = ( responseType: "json", responseValidator: async (data) => await zExportBenchmarkProjectResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/benchmarks/projects/{projectId}/export", ...options, @@ -7595,7 +9894,7 @@ export const exportBenchmarkProject = ( export const exportBenchmarkProjectCsv = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -7608,8 +9907,16 @@ export const exportBenchmarkProjectCsv = ( responseType: "text", responseValidator: async (data) => await zExportBenchmarkProjectCsvResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/benchmarks/projects/{projectId}/export.csv", ...options, @@ -7617,7 +9924,7 @@ export const exportBenchmarkProjectCsv = ( export const listBenchmarkProjects = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -7630,8 +9937,16 @@ export const listBenchmarkProjects = ( responseType: "json", responseValidator: async (data) => await zListBenchmarkProjectsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/benchmarks/projects", ...options, @@ -7639,7 +9954,7 @@ export const listBenchmarkProjects = ( export const createBenchmarkProject = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -7652,8 +9967,16 @@ export const createBenchmarkProject = ( responseType: "json", responseValidator: async (data) => await zCreateBenchmarkProjectResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/benchmarks/projects", ...options, @@ -7665,7 +9988,7 @@ export const createBenchmarkProject = ( export const deleteBenchmarkProject = ( options: Options, -) => +): RequestResult => (options.client ?? client).delete({ requestValidator: async (data) => await z @@ -7677,8 +10000,16 @@ export const deleteBenchmarkProject = ( .parseAsync(data), responseValidator: async (data) => await zDeleteBenchmarkProjectResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/benchmarks/projects/{projectId}", ...options, @@ -7690,7 +10021,7 @@ export const deleteBenchmarkProject = ( export const getBenchmarkProject = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -7703,8 +10034,16 @@ export const getBenchmarkProject = ( responseType: "json", responseValidator: async (data) => await zGetBenchmarkProjectResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/benchmarks/projects/{projectId}", ...options, @@ -7712,7 +10051,7 @@ export const getBenchmarkProject = ( export const updateBenchmarkProject = ( options: Options, -) => +): RequestResult => (options.client ?? client).put({ requestValidator: async (data) => await z @@ -7725,8 +10064,16 @@ export const updateBenchmarkProject = ( responseType: "json", responseValidator: async (data) => await zUpdateBenchmarkProjectResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/benchmarks/projects/{projectId}", ...options, @@ -7738,7 +10085,7 @@ export const updateBenchmarkProject = ( export const updateBenchmarkJudgePolicy = ( options: Options, -) => +): RequestResult => (options.client ?? client).put({ requestValidator: async (data) => await z @@ -7751,8 +10098,16 @@ export const updateBenchmarkJudgePolicy = responseType: "json", responseValidator: async (data) => await zUpdateBenchmarkJudgePolicyResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/benchmarks/projects/{projectId}/judge", ...options, @@ -7764,7 +10119,7 @@ export const updateBenchmarkJudgePolicy = export const rejudgeBenchmarkProject = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -7777,8 +10132,16 @@ export const rejudgeBenchmarkProject = ( responseType: "json", responseValidator: async (data) => await zRejudgeBenchmarkProjectResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/benchmarks/projects/{projectId}/rejudge", ...options, @@ -7790,7 +10153,7 @@ export const rejudgeBenchmarkProject = ( export const getBenchmarkRubricPresets = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -7803,14 +10166,24 @@ export const getBenchmarkRubricPresets = ( responseType: "json", responseValidator: async (data) => await zGetBenchmarkRubricPresetsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/benchmarks/rubric-presets", ...options, }); -export const listBenchmarkRuns = (options: Options) => +export const listBenchmarkRuns = ( + options: Options, +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -7823,14 +10196,24 @@ export const listBenchmarkRuns = (options: responseType: "json", responseValidator: async (data) => await zListBenchmarkRunsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/benchmarks/projects/{projectId}/runs", ...options, }); -export const startBenchmarkRun = (options: Options) => +export const startBenchmarkRun = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -7843,8 +10226,16 @@ export const startBenchmarkRun = (options: responseType: "json", responseValidator: async (data) => await zStartBenchmarkRunResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/benchmarks/projects/{projectId}/runs", ...options, @@ -7856,7 +10247,7 @@ export const startBenchmarkRun = (options: export const startBenchmarkRunBatch = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -7869,8 +10260,16 @@ export const startBenchmarkRunBatch = ( responseType: "json", responseValidator: async (data) => await zStartBenchmarkRunBatchResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/benchmarks/projects/{projectId}/runs/batch", ...options, @@ -7882,7 +10281,7 @@ export const startBenchmarkRunBatch = ( export const deleteBenchmarkRun = ( options: Options, -) => +): RequestResult => (options.client ?? client).delete({ requestValidator: async (data) => await z @@ -7894,8 +10293,16 @@ export const deleteBenchmarkRun = ( .parseAsync(data), responseValidator: async (data) => await zDeleteBenchmarkRunResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/benchmarks/runs/{runId}", ...options, @@ -7905,7 +10312,9 @@ export const deleteBenchmarkRun = ( }, }); -export const getBenchmarkRun = (options: Options) => +export const getBenchmarkRun = ( + options: Options, +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -7918,8 +10327,16 @@ export const getBenchmarkRun = (options: O responseType: "json", responseValidator: async (data) => await zGetBenchmarkRunResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/benchmarks/runs/{runId}", ...options, @@ -7927,7 +10344,7 @@ export const getBenchmarkRun = (options: O export const cancelBenchmarkRun = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -7940,8 +10357,16 @@ export const cancelBenchmarkRun = ( responseType: "json", responseValidator: async (data) => await zCancelBenchmarkRunResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/benchmarks/runs/{runId}/cancel", ...options, @@ -7953,7 +10378,7 @@ export const cancelBenchmarkRun = ( export const clearBenchmarkRunScore = ( options: Options, -) => +): RequestResult => (options.client ?? client).delete({ requestValidator: async (data) => await z @@ -7966,8 +10391,16 @@ export const clearBenchmarkRunScore = ( responseType: "json", responseValidator: async (data) => await zClearBenchmarkRunScoreResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/benchmarks/runs/{runId}/score", ...options, @@ -7977,7 +10410,9 @@ export const clearBenchmarkRunScore = ( }, }); -export const scoreBenchmarkRun = (options: Options) => +export const scoreBenchmarkRun = ( + options: Options, +): RequestResult => (options.client ?? client).put({ requestValidator: async (data) => await z @@ -7990,8 +10425,16 @@ export const scoreBenchmarkRun = (options: responseType: "json", responseValidator: async (data) => await zScoreBenchmarkRunResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/benchmarks/runs/{runId}/score", ...options, @@ -8003,7 +10446,7 @@ export const scoreBenchmarkRun = (options: export const rejudgeBenchmarkRun = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -8016,8 +10459,16 @@ export const rejudgeBenchmarkRun = ( responseType: "json", responseValidator: async (data) => await zRejudgeBenchmarkRunResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/benchmarks/runs/{runId}/rejudge", ...options, @@ -8027,7 +10478,9 @@ export const rejudgeBenchmarkRun = ( }, }); -export const listSlashCommands = (options?: Options) => +export const listSlashCommands = ( + options?: Options, +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -8040,8 +10493,16 @@ export const listSlashCommands = (options? responseType: "json", responseValidator: async (data) => await zListSlashCommandsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/automation/commands", ...options, @@ -8049,7 +10510,7 @@ export const listSlashCommands = (options? export const createSlashCommand = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -8062,8 +10523,16 @@ export const createSlashCommand = ( responseType: "json", responseValidator: async (data) => await zCreateSlashCommandResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/automation/commands", ...options, @@ -8075,7 +10544,7 @@ export const createSlashCommand = ( export const deleteSlashCommand = ( options: Options, -) => +): RequestResult => (options.client ?? client).delete({ requestValidator: async (data) => await z @@ -8087,14 +10556,24 @@ export const deleteSlashCommand = ( .parseAsync(data), responseValidator: async (data) => await zDeleteSlashCommandResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/automation/commands/{commandId}", ...options, }); -export const getSlashCommand = (options: Options) => +export const getSlashCommand = ( + options: Options, +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -8107,8 +10586,16 @@ export const getSlashCommand = (options: O responseType: "json", responseValidator: async (data) => await zGetSlashCommandResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/automation/commands/{commandId}", ...options, @@ -8116,7 +10603,7 @@ export const getSlashCommand = (options: O export const updateSlashCommand = ( options: Options, -) => +): RequestResult => (options.client ?? client).put({ requestValidator: async (data) => await z @@ -8129,8 +10616,16 @@ export const updateSlashCommand = ( responseType: "json", responseValidator: async (data) => await zUpdateSlashCommandResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/automation/commands/{commandId}", ...options, @@ -8140,7 +10635,9 @@ export const updateSlashCommand = ( }, }); -export const nodeAuthStatus = (options?: Options) => +export const nodeAuthStatus = ( + options?: Options, +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -8156,7 +10653,9 @@ export const nodeAuthStatus = (options?: O ...options, }); -export const nodeSetup = (options: Options) => +export const nodeSetup = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -8175,7 +10674,9 @@ export const nodeSetup = (options: Options }, }); -export const nodeLogin = (options: Options) => +export const nodeLogin = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -8195,7 +10696,9 @@ export const nodeLogin = (options: Options }, }); -export const nodeRefresh = (options?: Options) => +export const nodeRefresh = ( + options?: Options, +): RequestResult => (options?.client ?? client).post({ requestValidator: async (data) => await z @@ -8211,7 +10714,9 @@ export const nodeRefresh = (options?: Opti ...options, }); -export const nodeLogout = (options?: Options) => +export const nodeLogout = ( + options?: Options, +): RequestResult => (options?.client ?? client).post({ requestValidator: async (data) => await z @@ -8223,8 +10728,16 @@ export const nodeLogout = (options?: Optio .parseAsync(data), responseValidator: async (data) => await zNodeLogoutResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/auth/logout", ...options, @@ -8232,7 +10745,7 @@ export const nodeLogout = (options?: Optio export const nodeChangePassword = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -8244,8 +10757,16 @@ export const nodeChangePassword = ( .parseAsync(data), responseValidator: async (data) => await zNodeChangePasswordResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/auth/change-password", ...options, @@ -8255,7 +10776,9 @@ export const nodeChangePassword = ( }, }); -export const nodeMe = (options?: Options) => +export const nodeMe = ( + options?: Options, +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -8268,14 +10791,24 @@ export const nodeMe = (options?: Options await zNodeMeResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/auth/me", ...options, }); -export const applyAppUpdate = (options?: Options) => +export const applyAppUpdate = ( + options?: Options, +): RequestResult => (options?.client ?? client).post({ requestValidator: async (data) => await z @@ -8288,8 +10821,16 @@ export const applyAppUpdate = (options?: O responseType: "json", responseValidator: async (data) => await zApplyAppUpdateResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/app-update/apply", ...options, @@ -8297,7 +10838,7 @@ export const applyAppUpdate = (options?: O export const getAppUpdateStatus = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -8310,8 +10851,16 @@ export const getAppUpdateStatus = ( responseType: "json", responseValidator: async (data) => await zGetAppUpdateStatusResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/app-update/status", ...options, @@ -8319,7 +10868,7 @@ export const getAppUpdateStatus = ( export const unhandledExceptionProbe = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).post({ requestValidator: async (data) => await z @@ -8331,8 +10880,16 @@ export const unhandledExceptionProbe = ( .parseAsync(data), responseValidator: async (data) => await zUnhandledExceptionProbeResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/diagnostics/exception-probe", ...options, @@ -8340,7 +10897,7 @@ export const unhandledExceptionProbe = ( export const validationProblemProbe = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -8353,8 +10910,16 @@ export const validationProblemProbe = ( responseType: "json", responseValidator: async (data) => await zValidationProblemProbeResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/diagnostics/validation-probe", ...options, @@ -8364,7 +10929,9 @@ export const validationProblemProbe = ( }, }); -export const analyzePlaybook = (options: Options) => +export const analyzePlaybook = ( + options: Options, +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -8377,8 +10944,16 @@ export const analyzePlaybook = (options: O responseType: "json", responseValidator: async (data) => await zAnalyzePlaybookResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/agents/{agentDefinitionId}/playbook/analyze", ...options, @@ -8386,7 +10961,7 @@ export const analyzePlaybook = (options: O export const approveGoldenConversation = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -8399,8 +10974,16 @@ export const approveGoldenConversation = ( responseType: "json", responseValidator: async (data) => await zApproveGoldenConversationResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/agents/{agentDefinitionId}/golden-conversations/{goldenConversationId}/approve", ...options, @@ -8408,7 +10991,7 @@ export const approveGoldenConversation = ( export const listAgentDefinitions = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -8421,8 +11004,16 @@ export const listAgentDefinitions = ( responseType: "json", responseValidator: async (data) => await zListAgentDefinitionsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/agents", ...options, @@ -8430,7 +11021,7 @@ export const listAgentDefinitions = ( export const createAgentDefinition = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -8443,8 +11034,16 @@ export const createAgentDefinition = ( responseType: "json", responseValidator: async (data) => await zCreateAgentDefinitionResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/agents", ...options, @@ -8456,7 +11055,7 @@ export const createAgentDefinition = ( export const listGoldenConversations = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -8469,8 +11068,16 @@ export const listGoldenConversations = ( responseType: "json", responseValidator: async (data) => await zListGoldenConversationsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/agents/{agentDefinitionId}/golden-conversations", ...options, @@ -8478,7 +11085,7 @@ export const listGoldenConversations = ( export const createGoldenConversation = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -8491,8 +11098,16 @@ export const createGoldenConversation = ( responseType: "json", responseValidator: async (data) => await zCreateGoldenConversationResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/agents/{agentDefinitionId}/golden-conversations", ...options, @@ -8504,7 +11119,7 @@ export const createGoldenConversation = ( export const listAgentPlaybookActions = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -8517,8 +11132,16 @@ export const listAgentPlaybookActions = ( responseType: "json", responseValidator: async (data) => await zListAgentPlaybookActionsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/agents/{agentDefinitionId}/playbook", ...options, @@ -8526,7 +11149,7 @@ export const listAgentPlaybookActions = ( export const createPlaybookAction = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -8539,8 +11162,16 @@ export const createPlaybookAction = ( responseType: "json", responseValidator: async (data) => await zCreatePlaybookActionResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/agents/{agentDefinitionId}/playbook", ...options, @@ -8552,7 +11183,7 @@ export const createPlaybookAction = ( export const deleteAgentDefinition = ( options: Options, -) => +): RequestResult => (options.client ?? client).delete({ requestValidator: async (data) => await z @@ -8564,8 +11195,16 @@ export const deleteAgentDefinition = ( .parseAsync(data), responseValidator: async (data) => await zDeleteAgentDefinitionResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/agents/{agentDefinitionId}", ...options, @@ -8573,7 +11212,7 @@ export const deleteAgentDefinition = ( export const getAgentDefinition = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -8586,8 +11225,16 @@ export const getAgentDefinition = ( responseType: "json", responseValidator: async (data) => await zGetAgentDefinitionResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/agents/{agentDefinitionId}", ...options, @@ -8595,7 +11242,7 @@ export const getAgentDefinition = ( export const updateAgentDefinition = ( options: Options, -) => +): RequestResult => (options.client ?? client).put({ requestValidator: async (data) => await z @@ -8608,8 +11255,16 @@ export const updateAgentDefinition = ( responseType: "json", responseValidator: async (data) => await zUpdateAgentDefinitionResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/agents/{agentDefinitionId}", ...options, @@ -8621,7 +11276,7 @@ export const updateAgentDefinition = ( export const deleteGoldenConversation = ( options: Options, -) => +): RequestResult => (options.client ?? client).delete({ requestValidator: async (data) => await z @@ -8633,8 +11288,16 @@ export const deleteGoldenConversation = ( .parseAsync(data), responseValidator: async (data) => await zDeleteGoldenConversationResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/agents/{agentDefinitionId}/golden-conversations/{goldenConversationId}", ...options, @@ -8642,7 +11305,7 @@ export const deleteGoldenConversation = ( export const deletePlaybookAction = ( options: Options, -) => +): RequestResult => (options.client ?? client).delete({ requestValidator: async (data) => await z @@ -8654,8 +11317,16 @@ export const deletePlaybookAction = ( .parseAsync(data), responseValidator: async (data) => await zDeletePlaybookActionResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/agents/{agentDefinitionId}/playbook/{actionId}", ...options, @@ -8663,7 +11334,7 @@ export const deletePlaybookAction = ( export const updatePlaybookAction = ( options: Options, -) => +): RequestResult => (options.client ?? client).put({ requestValidator: async (data) => await z @@ -8676,8 +11347,16 @@ export const updatePlaybookAction = ( responseType: "json", responseValidator: async (data) => await zUpdatePlaybookActionResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/agents/{agentDefinitionId}/playbook/{actionId}", ...options, @@ -8689,7 +11368,7 @@ export const updatePlaybookAction = ( export const draftAgentDefinition = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -8702,8 +11381,16 @@ export const draftAgentDefinition = ( responseType: "json", responseValidator: async (data) => await zDraftAgentDefinitionResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/agents/draft", ...options, @@ -8715,7 +11402,7 @@ export const draftAgentDefinition = ( export const getAgentFeedbackInsights = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -8728,8 +11415,16 @@ export const getAgentFeedbackInsights = ( responseType: "json", responseValidator: async (data) => await zGetAgentFeedbackInsightsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/agents/{agentDefinitionId}/feedback-insights", ...options, @@ -8737,7 +11432,7 @@ export const getAgentFeedbackInsights = ( export const getAgentPlaybookMonitor = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -8750,8 +11445,16 @@ export const getAgentPlaybookMonitor = ( responseType: "json", responseValidator: async (data) => await zGetAgentPlaybookMonitorResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/agents/{agentDefinitionId}/playbook/monitor", ...options, @@ -8759,7 +11462,7 @@ export const getAgentPlaybookMonitor = ( export const getAgentUsageSummary = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -8772,8 +11475,16 @@ export const getAgentUsageSummary = ( responseType: "json", responseValidator: async (data) => await zGetAgentUsageSummaryResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/agents/usage-summary", ...options, @@ -8781,7 +11492,7 @@ export const getAgentUsageSummary = ( export const getToolCapableModels = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -8794,8 +11505,16 @@ export const getToolCapableModels = ( responseType: "json", responseValidator: async (data) => await zGetToolCapableModelsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/agents/tool-capable-models", ...options, @@ -8803,7 +11522,7 @@ export const getToolCapableModels = ( export const harvestGoldenConversations = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -8816,8 +11535,16 @@ export const harvestGoldenConversations = responseType: "json", responseValidator: async (data) => await zHarvestGoldenConversationsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/agents/{agentDefinitionId}/golden-conversations/harvest", ...options, @@ -8825,7 +11552,7 @@ export const harvestGoldenConversations = export const importAgentTemplates = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -8838,8 +11565,16 @@ export const importAgentTemplates = ( responseType: "json", responseValidator: async (data) => await zImportAgentTemplatesResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/agents/templates/import", ...options, @@ -8851,7 +11586,7 @@ export const importAgentTemplates = ( export const listAgentExecutionLogs = ( options: Options, -) => +): RequestResult => (options.client ?? client).get({ requestValidator: async (data) => await z @@ -8864,8 +11599,16 @@ export const listAgentExecutionLogs = ( responseType: "json", responseValidator: async (data) => await zListAgentExecutionLogsResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/agents/{agentDefinitionId}/execution-logs", ...options, @@ -8873,7 +11616,7 @@ export const listAgentExecutionLogs = ( export const listAgentTemplates = ( options?: Options, -) => +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -8886,14 +11629,24 @@ export const listAgentTemplates = ( responseType: "json", responseValidator: async (data) => await zListAgentTemplatesResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/agents/templates", ...options, }); -export const listRunEnvelopes = (options?: Options) => +export const listRunEnvelopes = ( + options?: Options, +): RequestResult => (options?.client ?? client).get({ requestValidator: async (data) => await z @@ -8906,8 +11659,16 @@ export const listRunEnvelopes = (options?: responseType: "json", responseValidator: async (data) => await zListRunEnvelopesResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/agents/run-envelopes", ...options, @@ -8915,7 +11676,7 @@ export const listRunEnvelopes = (options?: export const promoteSuggestedPlaybookAction = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -8928,8 +11689,16 @@ export const promoteSuggestedPlaybookAction = await zPromoteSuggestedPlaybookActionResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/agents/{agentDefinitionId}/playbook/{actionId}/promote", ...options, @@ -8937,7 +11706,7 @@ export const promoteSuggestedPlaybookAction = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -8950,8 +11719,16 @@ export const rejectSuggestedPlaybookAction = await zRejectSuggestedPlaybookActionResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/agents/{agentDefinitionId}/playbook/{actionId}/reject", ...options, @@ -8959,7 +11736,7 @@ export const rejectSuggestedPlaybookAction = ( options: Options, -) => +): RequestResult => (options.client ?? client).post({ requestValidator: async (data) => await z @@ -8972,8 +11749,16 @@ export const runPlaybookActionEval = ( responseType: "json", responseValidator: async (data) => await zRunPlaybookActionEvalResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/agents/{agentDefinitionId}/playbook/{actionId}/eval", ...options, @@ -8981,7 +11766,7 @@ export const runPlaybookActionEval = ( export const updateSuggestedPlaybookAction = ( options: Options, -) => +): RequestResult => (options.client ?? client).put({ requestValidator: async (data) => await z @@ -8994,8 +11779,16 @@ export const updateSuggestedPlaybookAction = await zUpdateSuggestedPlaybookActionResponse.parseAsync(data), security: [ - { scheme: "bearer", type: "http" }, - { scheme: "bearer", type: "http" }, + { + key: "JWTBearerAuth", + scheme: "bearer", + type: "http", + }, + { + key: "Bearer", + scheme: "bearer", + type: "http", + }, ], url: "/api/local/v1/agents/{agentDefinitionId}/playbook/{actionId}/suggested", ...options,