@veruna/api-contracts 1.1.39 → 1.1.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/controllers/index.d.ts +2 -0
- package/build/controllers/index.js +5 -1
- package/build/controllers/index.js.map +1 -1
- package/build/controllers/kie-integration.controllers.d.ts +1 -0
- package/build/controllers/kie-integration.controllers.js +5 -0
- package/build/controllers/kie-integration.controllers.js.map +1 -0
- package/build/controllers/model-route.controllers.d.ts +1 -0
- package/build/controllers/model-route.controllers.js +5 -0
- package/build/controllers/model-route.controllers.js.map +1 -0
- package/build/rest-api.d.ts +12 -0
- package/build/rest-api.js +12 -0
- package/build/rest-api.js.map +1 -1
- package/build/routes/index.d.ts +2 -0
- package/build/routes/index.js +5 -1
- package/build/routes/index.js.map +1 -1
- package/build/routes/kie-integration.routes.d.ts +3 -0
- package/build/routes/kie-integration.routes.js +7 -0
- package/build/routes/kie-integration.routes.js.map +1 -0
- package/build/routes/model-route-admin.routes.d.ts +7 -0
- package/build/routes/model-route-admin.routes.js +11 -0
- package/build/routes/model-route-admin.routes.js.map +1 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1/ai/index.d.ts +2 -0
- package/build/v1/ai/index.js +2 -0
- package/build/v1/ai/index.js.map +1 -1
- package/build/v1/ai/resolved-tool-settings.types.d.ts +32 -0
- package/build/v1/ai/resolved-tool-settings.types.js +12 -0
- package/build/v1/ai/resolved-tool-settings.types.js.map +1 -0
- package/build/v1/ai/retryable-ai-error-codes.d.ts +2 -0
- package/build/v1/ai/retryable-ai-error-codes.js +17 -0
- package/build/v1/ai/retryable-ai-error-codes.js.map +1 -0
- package/build/v1/ai/tool-id.enum.d.ts +2 -0
- package/build/v1/ai/tool-id.enum.js +2 -0
- package/build/v1/ai/tool-id.enum.js.map +1 -1
- package/build/v1/ai/tool.types.d.ts +0 -8
- package/build/v1/ai/tool.types.js +0 -2
- package/build/v1/ai/tool.types.js.map +1 -1
- package/build/v1/ai-model/admin/commands/create-model.command.d.ts +0 -22
- package/build/v1/ai-model/admin/commands/update-model.command.d.ts +0 -22
- package/build/v1/ai-model/admin/queries/get-model.query.d.ts +0 -11
- package/build/v1/ai-model/admin/queries/get-models.query.d.ts +0 -11
- package/build/v1/ai-model/public/queries/get-active-models.query.d.ts +0 -23
- package/build/v1/ai-model/public/queries/get-models-list.query.d.ts +0 -46
- package/build/v1/ai-model/schemas/api-provider.enum.d.ts +2 -1
- package/build/v1/ai-model/schemas/api-provider.enum.js +1 -0
- package/build/v1/ai-model/schemas/api-provider.enum.js.map +1 -1
- package/build/v1/ai-model/schemas/create-model-request.schema.d.ts +0 -13
- package/build/v1/ai-model/schemas/create-model-request.schema.js +0 -11
- package/build/v1/ai-model/schemas/create-model-request.schema.js.map +1 -1
- package/build/v1/ai-model/schemas/model-response.schema.d.ts +0 -36
- package/build/v1/ai-model/schemas/model-response.schema.js +0 -12
- package/build/v1/ai-model/schemas/model-response.schema.js.map +1 -1
- package/build/v1/ai-model/schemas/model-settings.schema.d.ts +66 -208
- package/build/v1/ai-model/schemas/model-settings.schema.js +38 -74
- package/build/v1/ai-model/schemas/model-settings.schema.js.map +1 -1
- package/build/v1/ai-model/schemas/models-list-response.schema.d.ts +0 -115
- package/build/v1/ai-model/schemas/unreg-models-list-response.schema.d.ts +0 -46
- package/build/v1/ai-model/schemas/update-model-request.schema.d.ts +0 -13
- package/build/v1/ai-model/schemas/update-model-request.schema.js +0 -12
- package/build/v1/ai-model/schemas/update-model-request.schema.js.map +1 -1
- package/build/v1/ai-model/unreg/queries/get-models-list.query.d.ts +0 -46
- package/build/v1/ai-provider/admin/commands/create-provider.command.d.ts +0 -4
- package/build/v1/ai-provider/admin/commands/update-provider.command.d.ts +0 -4
- package/build/v1/ai-provider/admin/queries/get-provider.query.d.ts +0 -2
- package/build/v1/ai-provider/admin/queries/get-providers.query.d.ts +0 -2
- package/build/v1/ai-provider/public/queries/get-active-providers.query.d.ts +0 -2
- package/build/v1/ai-provider/schemas/create-provider-request.schema.d.ts +0 -2
- package/build/v1/ai-provider/schemas/create-provider-request.schema.js +0 -4
- package/build/v1/ai-provider/schemas/create-provider-request.schema.js.map +1 -1
- package/build/v1/ai-provider/schemas/provider-response.schema.d.ts +0 -2
- package/build/v1/ai-provider/schemas/provider-response.schema.js +0 -2
- package/build/v1/ai-provider/schemas/provider-response.schema.js.map +1 -1
- package/build/v1/ai-provider/schemas/update-provider-request.schema.d.ts +0 -2
- package/build/v1/ai-provider/schemas/update-provider-request.schema.js +0 -4
- package/build/v1/ai-provider/schemas/update-provider-request.schema.js.map +1 -1
- package/build/v1/index.d.ts +2 -0
- package/build/v1/index.js +2 -0
- package/build/v1/index.js.map +1 -1
- package/build/v1/kie-integration/index.d.ts +3 -0
- package/build/v1/kie-integration/index.js +23 -0
- package/build/v1/kie-integration/index.js.map +1 -0
- package/build/v1/kie-integration/kie-integration.errors.d.ts +23 -0
- package/build/v1/kie-integration/kie-integration.errors.js +104 -0
- package/build/v1/kie-integration/kie-integration.errors.js.map +1 -0
- package/build/v1/message/commands/create-message.command.d.ts +0 -4
- package/build/v1/message/schemas/create-message-request.schema.d.ts +0 -4
- package/build/v1/model-route/admin/commands/create-model-route.command.d.ts +87 -0
- package/build/v1/model-route/admin/commands/create-model-route.command.js +15 -0
- package/build/v1/model-route/admin/commands/create-model-route.command.js.map +1 -0
- package/build/v1/model-route/admin/commands/delete-model-route.command.d.ts +11 -0
- package/build/v1/model-route/admin/commands/delete-model-route.command.js +13 -0
- package/build/v1/model-route/admin/commands/delete-model-route.command.js.map +1 -0
- package/build/v1/model-route/admin/commands/index.d.ts +3 -0
- package/build/v1/model-route/admin/commands/index.js +20 -0
- package/build/v1/model-route/admin/commands/index.js.map +1 -0
- package/build/v1/model-route/admin/commands/update-model-route.command.d.ts +85 -0
- package/build/v1/model-route/admin/commands/update-model-route.command.js +13 -0
- package/build/v1/model-route/admin/commands/update-model-route.command.js.map +1 -0
- package/build/v1/model-route/admin/index.d.ts +2 -0
- package/build/v1/model-route/admin/index.js +19 -0
- package/build/v1/model-route/admin/index.js.map +1 -0
- package/build/v1/model-route/admin/queries/get-model-route.query.d.ts +49 -0
- package/build/v1/model-route/admin/queries/get-model-route.query.js +13 -0
- package/build/v1/model-route/admin/queries/get-model-route.query.js.map +1 -0
- package/build/v1/model-route/admin/queries/index.d.ts +2 -0
- package/build/v1/model-route/admin/queries/index.js +19 -0
- package/build/v1/model-route/admin/queries/index.js.map +1 -0
- package/build/v1/model-route/admin/queries/list-model-routes-by-model.query.d.ts +51 -0
- package/build/v1/model-route/admin/queries/list-model-routes-by-model.query.js +13 -0
- package/build/v1/model-route/admin/queries/list-model-routes-by-model.query.js.map +1 -0
- package/build/v1/model-route/index.d.ts +3 -0
- package/build/v1/model-route/index.js +20 -0
- package/build/v1/model-route/index.js.map +1 -0
- package/build/v1/model-route/model-route.errors.d.ts +7 -0
- package/build/v1/model-route/model-route.errors.js +24 -0
- package/build/v1/model-route/model-route.errors.js.map +1 -0
- package/build/v1/model-route/schemas/create-model-route-request.schema.d.ts +42 -0
- package/build/v1/model-route/schemas/create-model-route-request.schema.js +29 -0
- package/build/v1/model-route/schemas/create-model-route-request.schema.js.map +1 -0
- package/build/v1/model-route/schemas/index.d.ts +6 -0
- package/build/v1/model-route/schemas/index.js +23 -0
- package/build/v1/model-route/schemas/index.js.map +1 -0
- package/build/v1/model-route/schemas/list-model-routes-response.schema.d.ts +45 -0
- package/build/v1/model-route/schemas/list-model-routes-response.schema.js +9 -0
- package/build/v1/model-route/schemas/list-model-routes-response.schema.js.map +1 -0
- package/build/v1/model-route/schemas/model-route-response.schema.d.ts +45 -0
- package/build/v1/model-route/schemas/model-route-response.schema.js +20 -0
- package/build/v1/model-route/schemas/model-route-response.schema.js.map +1 -0
- package/build/v1/model-route/schemas/model-route-status.enum.d.ts +4 -0
- package/build/v1/model-route/schemas/model-route-status.enum.js +9 -0
- package/build/v1/model-route/schemas/model-route-status.enum.js.map +1 -0
- package/build/v1/model-route/schemas/provider-generation-config.schema.d.ts +84 -0
- package/build/v1/model-route/schemas/provider-generation-config.schema.js +56 -0
- package/build/v1/model-route/schemas/provider-generation-config.schema.js.map +1 -0
- package/build/v1/model-route/schemas/update-model-route-request.schema.d.ts +41 -0
- package/build/v1/model-route/schemas/update-model-route-request.schema.js +23 -0
- package/build/v1/model-route/schemas/update-model-route-request.schema.js.map +1 -0
- package/build/v1/tool/admin/commands/create-model-tool-binding.command.d.ts +136 -104
- package/build/v1/tool/admin/commands/update-model-tool-binding.command.d.ts +136 -104
- package/build/v1/tool/admin/queries/get-model-tool-bindings.query.d.ts +80 -22
- package/build/v1/tool/public/queries/get-tool-availability.query.d.ts +0 -23
- package/build/v1/tool/schemas/index.d.ts +2 -0
- package/build/v1/tool/schemas/index.js +2 -0
- package/build/v1/tool/schemas/index.js.map +1 -1
- package/build/v1/tool/schemas/kie-body-mode.enum.d.ts +5 -0
- package/build/v1/tool/schemas/kie-body-mode.enum.js +10 -0
- package/build/v1/tool/schemas/kie-body-mode.enum.js.map +1 -0
- package/build/v1/tool/schemas/kie-tool-runtime-overrides.schema.d.ts +11 -0
- package/build/v1/tool/schemas/kie-tool-runtime-overrides.schema.js +42 -0
- package/build/v1/tool/schemas/kie-tool-runtime-overrides.schema.js.map +1 -0
- package/build/v1/tool/schemas/tool.schema.d.ts +327 -445
- package/build/v1/tool/schemas/tool.schema.js +13 -8
- package/build/v1/tool/schemas/tool.schema.js.map +1 -1
- package/build/v1/tool/unreg/queries/get-tool-availability-unreg.query.d.ts +0 -23
- package/package.json +1 -1
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { ToolStatus, ToolKind, ToolDefinitionSource, ToolExecutorType, ToolRiskLevel, ToolBindingStatus } from './tool.enums';
|
|
3
3
|
export declare const BoundedConfigSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>;
|
|
4
|
+
export declare const RuntimeOverridesWriteSchema: z.ZodObject<{
|
|
5
|
+
openrouter: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
6
|
+
kie: z.ZodOptional<z.ZodObject<{
|
|
7
|
+
inputUrlsKey: z.ZodOptional<z.ZodString>;
|
|
8
|
+
inputUrlsSingle: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
fixedFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
10
|
+
endpoint: z.ZodOptional<z.ZodString>;
|
|
11
|
+
bodyMode: z.ZodOptional<z.ZodEnum<typeof import("./kie-body-mode.enum").KieBodyMode>>;
|
|
12
|
+
promptMaxLen: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
}, z.core.$strict>>;
|
|
14
|
+
}, z.core.$strict>;
|
|
15
|
+
export type RuntimeOverridesWrite = z.infer<typeof RuntimeOverridesWriteSchema>;
|
|
4
16
|
export declare const ToolStatusSchema: z.ZodEnum<typeof ToolStatus>;
|
|
5
17
|
export declare const ToolKindSchema: z.ZodEnum<typeof ToolKind>;
|
|
6
18
|
export declare const ToolDefinitionSourceSchema: z.ZodEnum<typeof ToolDefinitionSource>;
|
|
@@ -85,7 +97,6 @@ export declare const ToolAvailabilityProviderSchema: z.ZodObject<{
|
|
|
85
97
|
order: z.ZodNumber;
|
|
86
98
|
icon: z.ZodString;
|
|
87
99
|
models: z.ZodArray<z.ZodObject<{
|
|
88
|
-
type: z.ZodEnum<typeof import("../..").ModelType>;
|
|
89
100
|
uuid: z.ZodString;
|
|
90
101
|
title: z.ZodString;
|
|
91
102
|
description: z.ZodString;
|
|
@@ -110,28 +121,6 @@ export declare const ToolAvailabilityProviderSchema: z.ZodObject<{
|
|
|
110
121
|
price: z.ZodNumber;
|
|
111
122
|
}, z.core.$strip>>;
|
|
112
123
|
}, z.core.$strip>], "id">>;
|
|
113
|
-
settings: z.ZodObject<{
|
|
114
|
-
attachments: z.ZodOptional<z.ZodObject<{
|
|
115
|
-
imagePrice: z.ZodNumber;
|
|
116
|
-
filePrice: z.ZodNumber;
|
|
117
|
-
maxImages: z.ZodNumber;
|
|
118
|
-
maxFiles: z.ZodNumber;
|
|
119
|
-
}, z.core.$strip>>;
|
|
120
|
-
}, z.core.$strip>;
|
|
121
|
-
toolSettings: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
122
|
-
key: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingKey>;
|
|
123
|
-
title: z.ZodString;
|
|
124
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
125
|
-
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
126
|
-
defaultOptionId: z.ZodString;
|
|
127
|
-
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
128
|
-
options: z.ZodArray<z.ZodObject<{
|
|
129
|
-
id: z.ZodString;
|
|
130
|
-
title: z.ZodString;
|
|
131
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
132
|
-
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
133
|
-
}, z.core.$strip>>;
|
|
134
|
-
}, z.core.$strip>>>;
|
|
135
124
|
access: z.ZodBoolean;
|
|
136
125
|
accessReason: z.ZodNullable<z.ZodEnum<typeof import("../..").AccessReason>>;
|
|
137
126
|
}, z.core.$strip>>;
|
|
@@ -160,7 +149,6 @@ export declare const ToolAvailabilityItemSchema: z.ZodObject<{
|
|
|
160
149
|
order: z.ZodNumber;
|
|
161
150
|
icon: z.ZodString;
|
|
162
151
|
models: z.ZodArray<z.ZodObject<{
|
|
163
|
-
type: z.ZodEnum<typeof import("../..").ModelType>;
|
|
164
152
|
uuid: z.ZodString;
|
|
165
153
|
title: z.ZodString;
|
|
166
154
|
description: z.ZodString;
|
|
@@ -185,28 +173,6 @@ export declare const ToolAvailabilityItemSchema: z.ZodObject<{
|
|
|
185
173
|
price: z.ZodNumber;
|
|
186
174
|
}, z.core.$strip>>;
|
|
187
175
|
}, z.core.$strip>], "id">>;
|
|
188
|
-
settings: z.ZodObject<{
|
|
189
|
-
attachments: z.ZodOptional<z.ZodObject<{
|
|
190
|
-
imagePrice: z.ZodNumber;
|
|
191
|
-
filePrice: z.ZodNumber;
|
|
192
|
-
maxImages: z.ZodNumber;
|
|
193
|
-
maxFiles: z.ZodNumber;
|
|
194
|
-
}, z.core.$strip>>;
|
|
195
|
-
}, z.core.$strip>;
|
|
196
|
-
toolSettings: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
197
|
-
key: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingKey>;
|
|
198
|
-
title: z.ZodString;
|
|
199
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
200
|
-
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
201
|
-
defaultOptionId: z.ZodString;
|
|
202
|
-
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
203
|
-
options: z.ZodArray<z.ZodObject<{
|
|
204
|
-
id: z.ZodString;
|
|
205
|
-
title: z.ZodString;
|
|
206
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
207
|
-
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
208
|
-
}, z.core.$strip>>;
|
|
209
|
-
}, z.core.$strip>>>;
|
|
210
176
|
access: z.ZodBoolean;
|
|
211
177
|
accessReason: z.ZodNullable<z.ZodEnum<typeof import("../..").AccessReason>>;
|
|
212
178
|
}, z.core.$strip>>;
|
|
@@ -237,7 +203,6 @@ export declare const ToolAvailabilityResponseSchema: z.ZodObject<{
|
|
|
237
203
|
order: z.ZodNumber;
|
|
238
204
|
icon: z.ZodString;
|
|
239
205
|
models: z.ZodArray<z.ZodObject<{
|
|
240
|
-
type: z.ZodEnum<typeof import("../..").ModelType>;
|
|
241
206
|
uuid: z.ZodString;
|
|
242
207
|
title: z.ZodString;
|
|
243
208
|
description: z.ZodString;
|
|
@@ -262,28 +227,6 @@ export declare const ToolAvailabilityResponseSchema: z.ZodObject<{
|
|
|
262
227
|
price: z.ZodNumber;
|
|
263
228
|
}, z.core.$strip>>;
|
|
264
229
|
}, z.core.$strip>], "id">>;
|
|
265
|
-
settings: z.ZodObject<{
|
|
266
|
-
attachments: z.ZodOptional<z.ZodObject<{
|
|
267
|
-
imagePrice: z.ZodNumber;
|
|
268
|
-
filePrice: z.ZodNumber;
|
|
269
|
-
maxImages: z.ZodNumber;
|
|
270
|
-
maxFiles: z.ZodNumber;
|
|
271
|
-
}, z.core.$strip>>;
|
|
272
|
-
}, z.core.$strip>;
|
|
273
|
-
toolSettings: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
274
|
-
key: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingKey>;
|
|
275
|
-
title: z.ZodString;
|
|
276
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
277
|
-
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
278
|
-
defaultOptionId: z.ZodString;
|
|
279
|
-
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
280
|
-
options: z.ZodArray<z.ZodObject<{
|
|
281
|
-
id: z.ZodString;
|
|
282
|
-
title: z.ZodString;
|
|
283
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
284
|
-
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
285
|
-
}, z.core.$strip>>;
|
|
286
|
-
}, z.core.$strip>>>;
|
|
287
230
|
access: z.ZodBoolean;
|
|
288
231
|
accessReason: z.ZodNullable<z.ZodEnum<typeof import("../..").AccessReason>>;
|
|
289
232
|
}, z.core.$strip>>;
|
|
@@ -354,162 +297,83 @@ export declare const NativeToolManifestResponseListSchema: z.ZodObject<{
|
|
|
354
297
|
}, z.core.$strip>>;
|
|
355
298
|
}, z.core.$strip>;
|
|
356
299
|
export type NativeToolManifestResponseList = z.infer<typeof NativeToolManifestResponseListSchema>;
|
|
357
|
-
export declare const
|
|
358
|
-
key: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingKey>;
|
|
359
|
-
title: z.ZodString;
|
|
360
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
361
|
-
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
362
|
-
defaultOptionId: z.ZodString;
|
|
363
|
-
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
300
|
+
export declare const ModelToolSettingsConfigWriteSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
364
301
|
options: z.ZodArray<z.ZodObject<{
|
|
365
302
|
id: z.ZodString;
|
|
366
|
-
title: z.ZodString;
|
|
367
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
368
303
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
304
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
305
|
+
providerValues: z.ZodOptional<z.ZodObject<{
|
|
306
|
+
openrouter: z.ZodOptional<z.ZodString>;
|
|
307
|
+
kie: z.ZodOptional<z.ZodString>;
|
|
308
|
+
perplexity: z.ZodOptional<z.ZodString>;
|
|
309
|
+
yandex: z.ZodOptional<z.ZodString>;
|
|
310
|
+
}, z.core.$strict>>;
|
|
311
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
312
|
+
}, z.core.$strict>>;
|
|
375
313
|
defaultOptionId: z.ZodString;
|
|
376
|
-
|
|
377
|
-
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
314
|
+
autoSchemaConfig: z.ZodObject<{
|
|
378
315
|
paramName: z.ZodString;
|
|
379
316
|
paramDescription: z.ZodString;
|
|
380
|
-
|
|
381
|
-
autoOption: z.ZodObject<{
|
|
382
|
-
id: z.ZodString;
|
|
383
|
-
title: z.ZodString;
|
|
384
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
385
|
-
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
386
|
-
providerValue: z.ZodOptional<z.ZodString>;
|
|
387
|
-
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
388
|
-
}, z.core.$strip>;
|
|
389
|
-
}, z.core.$strip>>;
|
|
317
|
+
}, z.core.$strict>;
|
|
390
318
|
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.STYLE>;
|
|
319
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
391
320
|
options: z.ZodArray<z.ZodObject<{
|
|
392
321
|
id: z.ZodString;
|
|
393
|
-
title: z.ZodString;
|
|
394
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
395
322
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
396
323
|
providerValue: z.ZodOptional<z.ZodString>;
|
|
324
|
+
providerValues: z.ZodOptional<z.ZodObject<{
|
|
325
|
+
openrouter: z.ZodOptional<z.ZodString>;
|
|
326
|
+
kie: z.ZodOptional<z.ZodString>;
|
|
327
|
+
perplexity: z.ZodOptional<z.ZodString>;
|
|
328
|
+
yandex: z.ZodOptional<z.ZodString>;
|
|
329
|
+
}, z.core.$strict>>;
|
|
397
330
|
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
398
|
-
}, z.core.$
|
|
399
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
400
|
-
title: z.ZodString;
|
|
401
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
402
|
-
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
331
|
+
}, z.core.$strict>>;
|
|
403
332
|
defaultOptionId: z.ZodString;
|
|
404
|
-
|
|
405
|
-
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
333
|
+
autoSchemaConfig: z.ZodObject<{
|
|
406
334
|
paramName: z.ZodString;
|
|
407
335
|
paramDescription: z.ZodString;
|
|
408
|
-
|
|
409
|
-
autoOption: z.ZodObject<{
|
|
410
|
-
id: z.ZodString;
|
|
411
|
-
title: z.ZodString;
|
|
412
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
413
|
-
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
414
|
-
providerValue: z.ZodOptional<z.ZodString>;
|
|
415
|
-
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
416
|
-
}, z.core.$strip>;
|
|
417
|
-
}, z.core.$strip>>;
|
|
336
|
+
}, z.core.$strict>;
|
|
418
337
|
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.MAX_RESULTS>;
|
|
419
|
-
|
|
420
|
-
id: z.ZodString;
|
|
421
|
-
title: z.ZodString;
|
|
422
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
423
|
-
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
424
|
-
providerValue: z.ZodOptional<z.ZodString>;
|
|
425
|
-
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
426
|
-
}, z.core.$strip>>;
|
|
427
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
428
|
-
title: z.ZodString;
|
|
429
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
430
|
-
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
338
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
431
339
|
defaultOptionId: z.ZodString;
|
|
432
|
-
|
|
433
|
-
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
340
|
+
autoSchemaConfig: z.ZodObject<{
|
|
434
341
|
paramName: z.ZodString;
|
|
435
342
|
paramDescription: z.ZodString;
|
|
436
|
-
|
|
437
|
-
autoOption: z.ZodObject<{
|
|
438
|
-
id: z.ZodString;
|
|
439
|
-
title: z.ZodString;
|
|
440
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
441
|
-
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
442
|
-
providerValue: z.ZodOptional<z.ZodString>;
|
|
443
|
-
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
444
|
-
}, z.core.$strip>;
|
|
445
|
-
}, z.core.$strip>>;
|
|
343
|
+
}, z.core.$strict>;
|
|
446
344
|
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.ASPECT_RATIO>;
|
|
447
345
|
options: z.ZodArray<z.ZodObject<{
|
|
448
346
|
id: z.ZodString;
|
|
449
|
-
title: z.ZodString;
|
|
450
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
451
347
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
348
|
+
providerValues: z.ZodOptional<z.ZodObject<{
|
|
349
|
+
openrouter: z.ZodOptional<z.ZodString>;
|
|
350
|
+
kie: z.ZodOptional<z.ZodString>;
|
|
351
|
+
perplexity: z.ZodOptional<z.ZodString>;
|
|
352
|
+
yandex: z.ZodOptional<z.ZodString>;
|
|
353
|
+
}, z.core.$strict>>;
|
|
452
354
|
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
453
355
|
providerValue: z.ZodString;
|
|
454
|
-
}, z.core.$
|
|
455
|
-
}, z.core.$
|
|
456
|
-
title: z.ZodString;
|
|
457
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
458
|
-
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
356
|
+
}, z.core.$strict>>;
|
|
357
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
459
358
|
defaultOptionId: z.ZodString;
|
|
460
|
-
|
|
461
|
-
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
359
|
+
autoSchemaConfig: z.ZodObject<{
|
|
462
360
|
paramName: z.ZodString;
|
|
463
361
|
paramDescription: z.ZodString;
|
|
464
|
-
|
|
465
|
-
autoOption: z.ZodObject<{
|
|
466
|
-
id: z.ZodString;
|
|
467
|
-
title: z.ZodString;
|
|
468
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
469
|
-
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
470
|
-
providerValue: z.ZodOptional<z.ZodString>;
|
|
471
|
-
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
472
|
-
}, z.core.$strip>;
|
|
473
|
-
}, z.core.$strip>>;
|
|
362
|
+
}, z.core.$strict>;
|
|
474
363
|
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.RESOLUTION>;
|
|
475
364
|
options: z.ZodArray<z.ZodObject<{
|
|
476
365
|
id: z.ZodString;
|
|
477
|
-
title: z.ZodString;
|
|
478
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
479
366
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
367
|
+
providerValues: z.ZodOptional<z.ZodObject<{
|
|
368
|
+
openrouter: z.ZodOptional<z.ZodString>;
|
|
369
|
+
kie: z.ZodOptional<z.ZodString>;
|
|
370
|
+
perplexity: z.ZodOptional<z.ZodString>;
|
|
371
|
+
yandex: z.ZodOptional<z.ZodString>;
|
|
372
|
+
}, z.core.$strict>>;
|
|
480
373
|
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
481
374
|
providerValue: z.ZodString;
|
|
482
|
-
}, z.core.$
|
|
483
|
-
}, z.core.$
|
|
484
|
-
export declare const ModelToolSettingsConfigAdminSchema: z.ZodArray<z.ZodObject<{
|
|
485
|
-
key: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingKey>;
|
|
486
|
-
title: z.ZodString;
|
|
487
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
488
|
-
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
489
|
-
options: z.ZodArray<z.ZodObject<{
|
|
490
|
-
id: z.ZodString;
|
|
491
|
-
title: z.ZodString;
|
|
492
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
493
|
-
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
494
|
-
providerValue: z.ZodOptional<z.ZodString>;
|
|
495
|
-
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
496
|
-
}, z.core.$strip>>;
|
|
497
|
-
defaultOptionId: z.ZodString;
|
|
498
|
-
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
499
|
-
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
500
|
-
paramName: z.ZodString;
|
|
501
|
-
paramDescription: z.ZodString;
|
|
502
|
-
defaultOptionId: z.ZodString;
|
|
503
|
-
autoOption: z.ZodObject<{
|
|
504
|
-
id: z.ZodString;
|
|
505
|
-
title: z.ZodString;
|
|
506
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
507
|
-
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
508
|
-
providerValue: z.ZodOptional<z.ZodString>;
|
|
509
|
-
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
510
|
-
}, z.core.$strip>;
|
|
511
|
-
}, z.core.$strip>>;
|
|
512
|
-
}, z.core.$strip>>;
|
|
375
|
+
}, z.core.$strict>>;
|
|
376
|
+
}, z.core.$strict>], "key">>;
|
|
513
377
|
export declare const ModelToolBindingSchema: z.ZodObject<{
|
|
514
378
|
uuid: z.ZodString;
|
|
515
379
|
modelUuid: z.ZodString;
|
|
@@ -517,36 +381,94 @@ export declare const ModelToolBindingSchema: z.ZodObject<{
|
|
|
517
381
|
status: z.ZodEnum<typeof ToolBindingStatus>;
|
|
518
382
|
order: z.ZodNumber;
|
|
519
383
|
isDefault: z.ZodBoolean;
|
|
520
|
-
settingsConfig: z.ZodArray<z.ZodObject<{
|
|
521
|
-
key: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingKey>;
|
|
522
|
-
title: z.ZodString;
|
|
523
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
524
|
-
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
384
|
+
settingsConfig: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
525
385
|
options: z.ZodArray<z.ZodObject<{
|
|
526
386
|
id: z.ZodString;
|
|
527
|
-
title: z.ZodString;
|
|
528
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
529
387
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
530
388
|
providerValue: z.ZodOptional<z.ZodString>;
|
|
389
|
+
providerValues: z.ZodOptional<z.ZodObject<{
|
|
390
|
+
openrouter: z.ZodOptional<z.ZodString>;
|
|
391
|
+
kie: z.ZodOptional<z.ZodString>;
|
|
392
|
+
perplexity: z.ZodOptional<z.ZodString>;
|
|
393
|
+
yandex: z.ZodOptional<z.ZodString>;
|
|
394
|
+
}, z.core.$strict>>;
|
|
531
395
|
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
532
|
-
}, z.core.$
|
|
396
|
+
}, z.core.$strict>>;
|
|
533
397
|
defaultOptionId: z.ZodString;
|
|
534
|
-
|
|
535
|
-
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
398
|
+
autoSchemaConfig: z.ZodObject<{
|
|
536
399
|
paramName: z.ZodString;
|
|
537
400
|
paramDescription: z.ZodString;
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
401
|
+
}, z.core.$strict>;
|
|
402
|
+
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.STYLE>;
|
|
403
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
404
|
+
options: z.ZodArray<z.ZodObject<{
|
|
405
|
+
id: z.ZodString;
|
|
406
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
407
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
408
|
+
providerValues: z.ZodOptional<z.ZodObject<{
|
|
409
|
+
openrouter: z.ZodOptional<z.ZodString>;
|
|
410
|
+
kie: z.ZodOptional<z.ZodString>;
|
|
411
|
+
perplexity: z.ZodOptional<z.ZodString>;
|
|
412
|
+
yandex: z.ZodOptional<z.ZodString>;
|
|
413
|
+
}, z.core.$strict>>;
|
|
414
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
415
|
+
}, z.core.$strict>>;
|
|
416
|
+
defaultOptionId: z.ZodString;
|
|
417
|
+
autoSchemaConfig: z.ZodObject<{
|
|
418
|
+
paramName: z.ZodString;
|
|
419
|
+
paramDescription: z.ZodString;
|
|
420
|
+
}, z.core.$strict>;
|
|
421
|
+
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.MAX_RESULTS>;
|
|
422
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
423
|
+
defaultOptionId: z.ZodString;
|
|
424
|
+
autoSchemaConfig: z.ZodObject<{
|
|
425
|
+
paramName: z.ZodString;
|
|
426
|
+
paramDescription: z.ZodString;
|
|
427
|
+
}, z.core.$strict>;
|
|
428
|
+
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.ASPECT_RATIO>;
|
|
429
|
+
options: z.ZodArray<z.ZodObject<{
|
|
430
|
+
id: z.ZodString;
|
|
431
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
432
|
+
providerValues: z.ZodOptional<z.ZodObject<{
|
|
433
|
+
openrouter: z.ZodOptional<z.ZodString>;
|
|
434
|
+
kie: z.ZodOptional<z.ZodString>;
|
|
435
|
+
perplexity: z.ZodOptional<z.ZodString>;
|
|
436
|
+
yandex: z.ZodOptional<z.ZodString>;
|
|
437
|
+
}, z.core.$strict>>;
|
|
438
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
439
|
+
providerValue: z.ZodString;
|
|
440
|
+
}, z.core.$strict>>;
|
|
441
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
442
|
+
defaultOptionId: z.ZodString;
|
|
443
|
+
autoSchemaConfig: z.ZodObject<{
|
|
444
|
+
paramName: z.ZodString;
|
|
445
|
+
paramDescription: z.ZodString;
|
|
446
|
+
}, z.core.$strict>;
|
|
447
|
+
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.RESOLUTION>;
|
|
448
|
+
options: z.ZodArray<z.ZodObject<{
|
|
449
|
+
id: z.ZodString;
|
|
450
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
451
|
+
providerValues: z.ZodOptional<z.ZodObject<{
|
|
452
|
+
openrouter: z.ZodOptional<z.ZodString>;
|
|
453
|
+
kie: z.ZodOptional<z.ZodString>;
|
|
454
|
+
perplexity: z.ZodOptional<z.ZodString>;
|
|
455
|
+
yandex: z.ZodOptional<z.ZodString>;
|
|
456
|
+
}, z.core.$strict>>;
|
|
457
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
458
|
+
providerValue: z.ZodString;
|
|
459
|
+
}, z.core.$strict>>;
|
|
460
|
+
}, z.core.$strict>], "key">>;
|
|
461
|
+
runtimeOverrides: z.ZodObject<{
|
|
462
|
+
openrouter: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
463
|
+
kie: z.ZodOptional<z.ZodObject<{
|
|
464
|
+
inputUrlsKey: z.ZodOptional<z.ZodString>;
|
|
465
|
+
inputUrlsSingle: z.ZodOptional<z.ZodBoolean>;
|
|
466
|
+
fixedFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
467
|
+
endpoint: z.ZodOptional<z.ZodString>;
|
|
468
|
+
bodyMode: z.ZodOptional<z.ZodEnum<typeof import("./kie-body-mode.enum").KieBodyMode>>;
|
|
469
|
+
promptMaxLen: z.ZodOptional<z.ZodNumber>;
|
|
470
|
+
}, z.core.$strict>>;
|
|
471
|
+
}, z.core.$strict>;
|
|
550
472
|
createdAt: z.ZodString;
|
|
551
473
|
updatedAt: z.ZodString;
|
|
552
474
|
tool: z.ZodObject<{
|
|
@@ -581,36 +503,94 @@ export declare const ModelToolBindingListSchema: z.ZodObject<{
|
|
|
581
503
|
status: z.ZodEnum<typeof ToolBindingStatus>;
|
|
582
504
|
order: z.ZodNumber;
|
|
583
505
|
isDefault: z.ZodBoolean;
|
|
584
|
-
settingsConfig: z.ZodArray<z.ZodObject<{
|
|
585
|
-
key: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingKey>;
|
|
586
|
-
title: z.ZodString;
|
|
587
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
588
|
-
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
506
|
+
settingsConfig: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
589
507
|
options: z.ZodArray<z.ZodObject<{
|
|
590
508
|
id: z.ZodString;
|
|
591
|
-
title: z.ZodString;
|
|
592
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
593
509
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
594
510
|
providerValue: z.ZodOptional<z.ZodString>;
|
|
511
|
+
providerValues: z.ZodOptional<z.ZodObject<{
|
|
512
|
+
openrouter: z.ZodOptional<z.ZodString>;
|
|
513
|
+
kie: z.ZodOptional<z.ZodString>;
|
|
514
|
+
perplexity: z.ZodOptional<z.ZodString>;
|
|
515
|
+
yandex: z.ZodOptional<z.ZodString>;
|
|
516
|
+
}, z.core.$strict>>;
|
|
595
517
|
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
596
|
-
}, z.core.$
|
|
518
|
+
}, z.core.$strict>>;
|
|
597
519
|
defaultOptionId: z.ZodString;
|
|
598
|
-
|
|
599
|
-
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
520
|
+
autoSchemaConfig: z.ZodObject<{
|
|
600
521
|
paramName: z.ZodString;
|
|
601
522
|
paramDescription: z.ZodString;
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
523
|
+
}, z.core.$strict>;
|
|
524
|
+
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.STYLE>;
|
|
525
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
526
|
+
options: z.ZodArray<z.ZodObject<{
|
|
527
|
+
id: z.ZodString;
|
|
528
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
529
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
530
|
+
providerValues: z.ZodOptional<z.ZodObject<{
|
|
531
|
+
openrouter: z.ZodOptional<z.ZodString>;
|
|
532
|
+
kie: z.ZodOptional<z.ZodString>;
|
|
533
|
+
perplexity: z.ZodOptional<z.ZodString>;
|
|
534
|
+
yandex: z.ZodOptional<z.ZodString>;
|
|
535
|
+
}, z.core.$strict>>;
|
|
536
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
537
|
+
}, z.core.$strict>>;
|
|
538
|
+
defaultOptionId: z.ZodString;
|
|
539
|
+
autoSchemaConfig: z.ZodObject<{
|
|
540
|
+
paramName: z.ZodString;
|
|
541
|
+
paramDescription: z.ZodString;
|
|
542
|
+
}, z.core.$strict>;
|
|
543
|
+
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.MAX_RESULTS>;
|
|
544
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
545
|
+
defaultOptionId: z.ZodString;
|
|
546
|
+
autoSchemaConfig: z.ZodObject<{
|
|
547
|
+
paramName: z.ZodString;
|
|
548
|
+
paramDescription: z.ZodString;
|
|
549
|
+
}, z.core.$strict>;
|
|
550
|
+
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.ASPECT_RATIO>;
|
|
551
|
+
options: z.ZodArray<z.ZodObject<{
|
|
552
|
+
id: z.ZodString;
|
|
553
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
554
|
+
providerValues: z.ZodOptional<z.ZodObject<{
|
|
555
|
+
openrouter: z.ZodOptional<z.ZodString>;
|
|
556
|
+
kie: z.ZodOptional<z.ZodString>;
|
|
557
|
+
perplexity: z.ZodOptional<z.ZodString>;
|
|
558
|
+
yandex: z.ZodOptional<z.ZodString>;
|
|
559
|
+
}, z.core.$strict>>;
|
|
560
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
561
|
+
providerValue: z.ZodString;
|
|
562
|
+
}, z.core.$strict>>;
|
|
563
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
564
|
+
defaultOptionId: z.ZodString;
|
|
565
|
+
autoSchemaConfig: z.ZodObject<{
|
|
566
|
+
paramName: z.ZodString;
|
|
567
|
+
paramDescription: z.ZodString;
|
|
568
|
+
}, z.core.$strict>;
|
|
569
|
+
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.RESOLUTION>;
|
|
570
|
+
options: z.ZodArray<z.ZodObject<{
|
|
571
|
+
id: z.ZodString;
|
|
572
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
573
|
+
providerValues: z.ZodOptional<z.ZodObject<{
|
|
574
|
+
openrouter: z.ZodOptional<z.ZodString>;
|
|
575
|
+
kie: z.ZodOptional<z.ZodString>;
|
|
576
|
+
perplexity: z.ZodOptional<z.ZodString>;
|
|
577
|
+
yandex: z.ZodOptional<z.ZodString>;
|
|
578
|
+
}, z.core.$strict>>;
|
|
579
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
580
|
+
providerValue: z.ZodString;
|
|
581
|
+
}, z.core.$strict>>;
|
|
582
|
+
}, z.core.$strict>], "key">>;
|
|
583
|
+
runtimeOverrides: z.ZodObject<{
|
|
584
|
+
openrouter: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
585
|
+
kie: z.ZodOptional<z.ZodObject<{
|
|
586
|
+
inputUrlsKey: z.ZodOptional<z.ZodString>;
|
|
587
|
+
inputUrlsSingle: z.ZodOptional<z.ZodBoolean>;
|
|
588
|
+
fixedFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
589
|
+
endpoint: z.ZodOptional<z.ZodString>;
|
|
590
|
+
bodyMode: z.ZodOptional<z.ZodEnum<typeof import("./kie-body-mode.enum").KieBodyMode>>;
|
|
591
|
+
promptMaxLen: z.ZodOptional<z.ZodNumber>;
|
|
592
|
+
}, z.core.$strict>>;
|
|
593
|
+
}, z.core.$strict>;
|
|
614
594
|
createdAt: z.ZodString;
|
|
615
595
|
updatedAt: z.ZodString;
|
|
616
596
|
tool: z.ZodObject<{
|
|
@@ -644,238 +624,186 @@ export declare const CreateModelToolBindingRequestSchema: z.ZodObject<{
|
|
|
644
624
|
order: z.ZodDefault<z.ZodNumber>;
|
|
645
625
|
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
646
626
|
settingsConfig: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
647
|
-
title: z.ZodString;
|
|
648
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
649
|
-
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
650
|
-
defaultOptionId: z.ZodString;
|
|
651
|
-
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
652
|
-
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
653
|
-
paramName: z.ZodString;
|
|
654
|
-
paramDescription: z.ZodString;
|
|
655
|
-
defaultOptionId: z.ZodString;
|
|
656
|
-
autoOption: z.ZodObject<{
|
|
657
|
-
id: z.ZodString;
|
|
658
|
-
title: z.ZodString;
|
|
659
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
660
|
-
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
661
|
-
providerValue: z.ZodOptional<z.ZodString>;
|
|
662
|
-
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
663
|
-
}, z.core.$strip>;
|
|
664
|
-
}, z.core.$strip>>;
|
|
665
|
-
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.STYLE>;
|
|
666
627
|
options: z.ZodArray<z.ZodObject<{
|
|
667
628
|
id: z.ZodString;
|
|
668
|
-
title: z.ZodString;
|
|
669
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
670
629
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
671
630
|
providerValue: z.ZodOptional<z.ZodString>;
|
|
631
|
+
providerValues: z.ZodOptional<z.ZodObject<{
|
|
632
|
+
openrouter: z.ZodOptional<z.ZodString>;
|
|
633
|
+
kie: z.ZodOptional<z.ZodString>;
|
|
634
|
+
perplexity: z.ZodOptional<z.ZodString>;
|
|
635
|
+
yandex: z.ZodOptional<z.ZodString>;
|
|
636
|
+
}, z.core.$strict>>;
|
|
672
637
|
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
673
|
-
}, z.core.$
|
|
674
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
675
|
-
title: z.ZodString;
|
|
676
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
677
|
-
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
638
|
+
}, z.core.$strict>>;
|
|
678
639
|
defaultOptionId: z.ZodString;
|
|
679
|
-
|
|
680
|
-
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
640
|
+
autoSchemaConfig: z.ZodObject<{
|
|
681
641
|
paramName: z.ZodString;
|
|
682
642
|
paramDescription: z.ZodString;
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
title: z.ZodString;
|
|
687
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
688
|
-
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
689
|
-
providerValue: z.ZodOptional<z.ZodString>;
|
|
690
|
-
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
691
|
-
}, z.core.$strip>;
|
|
692
|
-
}, z.core.$strip>>;
|
|
693
|
-
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.MAX_RESULTS>;
|
|
643
|
+
}, z.core.$strict>;
|
|
644
|
+
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.STYLE>;
|
|
645
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
694
646
|
options: z.ZodArray<z.ZodObject<{
|
|
695
647
|
id: z.ZodString;
|
|
696
|
-
title: z.ZodString;
|
|
697
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
698
648
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
699
649
|
providerValue: z.ZodOptional<z.ZodString>;
|
|
650
|
+
providerValues: z.ZodOptional<z.ZodObject<{
|
|
651
|
+
openrouter: z.ZodOptional<z.ZodString>;
|
|
652
|
+
kie: z.ZodOptional<z.ZodString>;
|
|
653
|
+
perplexity: z.ZodOptional<z.ZodString>;
|
|
654
|
+
yandex: z.ZodOptional<z.ZodString>;
|
|
655
|
+
}, z.core.$strict>>;
|
|
700
656
|
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
701
|
-
}, z.core.$
|
|
702
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
703
|
-
title: z.ZodString;
|
|
704
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
705
|
-
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
657
|
+
}, z.core.$strict>>;
|
|
706
658
|
defaultOptionId: z.ZodString;
|
|
707
|
-
|
|
708
|
-
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
659
|
+
autoSchemaConfig: z.ZodObject<{
|
|
709
660
|
paramName: z.ZodString;
|
|
710
661
|
paramDescription: z.ZodString;
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
}, z.core.$strip>;
|
|
720
|
-
}, z.core.$strip>>;
|
|
662
|
+
}, z.core.$strict>;
|
|
663
|
+
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.MAX_RESULTS>;
|
|
664
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
665
|
+
defaultOptionId: z.ZodString;
|
|
666
|
+
autoSchemaConfig: z.ZodObject<{
|
|
667
|
+
paramName: z.ZodString;
|
|
668
|
+
paramDescription: z.ZodString;
|
|
669
|
+
}, z.core.$strict>;
|
|
721
670
|
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.ASPECT_RATIO>;
|
|
722
671
|
options: z.ZodArray<z.ZodObject<{
|
|
723
672
|
id: z.ZodString;
|
|
724
|
-
title: z.ZodString;
|
|
725
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
726
673
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
674
|
+
providerValues: z.ZodOptional<z.ZodObject<{
|
|
675
|
+
openrouter: z.ZodOptional<z.ZodString>;
|
|
676
|
+
kie: z.ZodOptional<z.ZodString>;
|
|
677
|
+
perplexity: z.ZodOptional<z.ZodString>;
|
|
678
|
+
yandex: z.ZodOptional<z.ZodString>;
|
|
679
|
+
}, z.core.$strict>>;
|
|
727
680
|
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
728
681
|
providerValue: z.ZodString;
|
|
729
|
-
}, z.core.$
|
|
730
|
-
}, z.core.$
|
|
731
|
-
title: z.ZodString;
|
|
732
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
733
|
-
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
682
|
+
}, z.core.$strict>>;
|
|
683
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
734
684
|
defaultOptionId: z.ZodString;
|
|
735
|
-
|
|
736
|
-
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
685
|
+
autoSchemaConfig: z.ZodObject<{
|
|
737
686
|
paramName: z.ZodString;
|
|
738
687
|
paramDescription: z.ZodString;
|
|
739
|
-
|
|
740
|
-
autoOption: z.ZodObject<{
|
|
741
|
-
id: z.ZodString;
|
|
742
|
-
title: z.ZodString;
|
|
743
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
744
|
-
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
745
|
-
providerValue: z.ZodOptional<z.ZodString>;
|
|
746
|
-
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
747
|
-
}, z.core.$strip>;
|
|
748
|
-
}, z.core.$strip>>;
|
|
688
|
+
}, z.core.$strict>;
|
|
749
689
|
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.RESOLUTION>;
|
|
750
690
|
options: z.ZodArray<z.ZodObject<{
|
|
751
691
|
id: z.ZodString;
|
|
752
|
-
title: z.ZodString;
|
|
753
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
754
692
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
693
|
+
providerValues: z.ZodOptional<z.ZodObject<{
|
|
694
|
+
openrouter: z.ZodOptional<z.ZodString>;
|
|
695
|
+
kie: z.ZodOptional<z.ZodString>;
|
|
696
|
+
perplexity: z.ZodOptional<z.ZodString>;
|
|
697
|
+
yandex: z.ZodOptional<z.ZodString>;
|
|
698
|
+
}, z.core.$strict>>;
|
|
755
699
|
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
756
700
|
providerValue: z.ZodString;
|
|
757
|
-
}, z.core.$
|
|
758
|
-
}, z.core.$
|
|
759
|
-
runtimeOverrides: z.ZodDefault<z.
|
|
701
|
+
}, z.core.$strict>>;
|
|
702
|
+
}, z.core.$strict>], "key">>>;
|
|
703
|
+
runtimeOverrides: z.ZodDefault<z.ZodObject<{
|
|
704
|
+
openrouter: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
705
|
+
kie: z.ZodOptional<z.ZodObject<{
|
|
706
|
+
inputUrlsKey: z.ZodOptional<z.ZodString>;
|
|
707
|
+
inputUrlsSingle: z.ZodOptional<z.ZodBoolean>;
|
|
708
|
+
fixedFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
709
|
+
endpoint: z.ZodOptional<z.ZodString>;
|
|
710
|
+
bodyMode: z.ZodOptional<z.ZodEnum<typeof import("./kie-body-mode.enum").KieBodyMode>>;
|
|
711
|
+
promptMaxLen: z.ZodOptional<z.ZodNumber>;
|
|
712
|
+
}, z.core.$strict>>;
|
|
713
|
+
}, z.core.$strict>>;
|
|
760
714
|
}, z.core.$strip>;
|
|
761
715
|
export declare const UpdateModelToolBindingRequestSchema: z.ZodObject<{
|
|
762
716
|
status: z.ZodOptional<z.ZodEnum<typeof ToolBindingStatus>>;
|
|
763
717
|
order: z.ZodOptional<z.ZodNumber>;
|
|
764
718
|
isDefault: z.ZodOptional<z.ZodBoolean>;
|
|
765
719
|
settingsConfig: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
766
|
-
title: z.ZodString;
|
|
767
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
768
|
-
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
769
|
-
defaultOptionId: z.ZodString;
|
|
770
|
-
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
771
|
-
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
772
|
-
paramName: z.ZodString;
|
|
773
|
-
paramDescription: z.ZodString;
|
|
774
|
-
defaultOptionId: z.ZodString;
|
|
775
|
-
autoOption: z.ZodObject<{
|
|
776
|
-
id: z.ZodString;
|
|
777
|
-
title: z.ZodString;
|
|
778
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
779
|
-
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
780
|
-
providerValue: z.ZodOptional<z.ZodString>;
|
|
781
|
-
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
782
|
-
}, z.core.$strip>;
|
|
783
|
-
}, z.core.$strip>>;
|
|
784
|
-
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.STYLE>;
|
|
785
720
|
options: z.ZodArray<z.ZodObject<{
|
|
786
721
|
id: z.ZodString;
|
|
787
|
-
title: z.ZodString;
|
|
788
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
789
722
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
790
723
|
providerValue: z.ZodOptional<z.ZodString>;
|
|
724
|
+
providerValues: z.ZodOptional<z.ZodObject<{
|
|
725
|
+
openrouter: z.ZodOptional<z.ZodString>;
|
|
726
|
+
kie: z.ZodOptional<z.ZodString>;
|
|
727
|
+
perplexity: z.ZodOptional<z.ZodString>;
|
|
728
|
+
yandex: z.ZodOptional<z.ZodString>;
|
|
729
|
+
}, z.core.$strict>>;
|
|
791
730
|
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
792
|
-
}, z.core.$
|
|
793
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
794
|
-
title: z.ZodString;
|
|
795
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
796
|
-
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
731
|
+
}, z.core.$strict>>;
|
|
797
732
|
defaultOptionId: z.ZodString;
|
|
798
|
-
|
|
799
|
-
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
733
|
+
autoSchemaConfig: z.ZodObject<{
|
|
800
734
|
paramName: z.ZodString;
|
|
801
735
|
paramDescription: z.ZodString;
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
title: z.ZodString;
|
|
806
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
807
|
-
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
808
|
-
providerValue: z.ZodOptional<z.ZodString>;
|
|
809
|
-
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
810
|
-
}, z.core.$strip>;
|
|
811
|
-
}, z.core.$strip>>;
|
|
812
|
-
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.MAX_RESULTS>;
|
|
736
|
+
}, z.core.$strict>;
|
|
737
|
+
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.STYLE>;
|
|
738
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
813
739
|
options: z.ZodArray<z.ZodObject<{
|
|
814
740
|
id: z.ZodString;
|
|
815
|
-
title: z.ZodString;
|
|
816
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
817
741
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
818
742
|
providerValue: z.ZodOptional<z.ZodString>;
|
|
743
|
+
providerValues: z.ZodOptional<z.ZodObject<{
|
|
744
|
+
openrouter: z.ZodOptional<z.ZodString>;
|
|
745
|
+
kie: z.ZodOptional<z.ZodString>;
|
|
746
|
+
perplexity: z.ZodOptional<z.ZodString>;
|
|
747
|
+
yandex: z.ZodOptional<z.ZodString>;
|
|
748
|
+
}, z.core.$strict>>;
|
|
819
749
|
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
820
|
-
}, z.core.$
|
|
821
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
822
|
-
title: z.ZodString;
|
|
823
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
824
|
-
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
750
|
+
}, z.core.$strict>>;
|
|
825
751
|
defaultOptionId: z.ZodString;
|
|
826
|
-
|
|
827
|
-
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
752
|
+
autoSchemaConfig: z.ZodObject<{
|
|
828
753
|
paramName: z.ZodString;
|
|
829
754
|
paramDescription: z.ZodString;
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
}, z.core.$strip>;
|
|
839
|
-
}, z.core.$strip>>;
|
|
755
|
+
}, z.core.$strict>;
|
|
756
|
+
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.MAX_RESULTS>;
|
|
757
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
758
|
+
defaultOptionId: z.ZodString;
|
|
759
|
+
autoSchemaConfig: z.ZodObject<{
|
|
760
|
+
paramName: z.ZodString;
|
|
761
|
+
paramDescription: z.ZodString;
|
|
762
|
+
}, z.core.$strict>;
|
|
840
763
|
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.ASPECT_RATIO>;
|
|
841
764
|
options: z.ZodArray<z.ZodObject<{
|
|
842
765
|
id: z.ZodString;
|
|
843
|
-
title: z.ZodString;
|
|
844
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
845
766
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
767
|
+
providerValues: z.ZodOptional<z.ZodObject<{
|
|
768
|
+
openrouter: z.ZodOptional<z.ZodString>;
|
|
769
|
+
kie: z.ZodOptional<z.ZodString>;
|
|
770
|
+
perplexity: z.ZodOptional<z.ZodString>;
|
|
771
|
+
yandex: z.ZodOptional<z.ZodString>;
|
|
772
|
+
}, z.core.$strict>>;
|
|
846
773
|
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
847
774
|
providerValue: z.ZodString;
|
|
848
|
-
}, z.core.$
|
|
849
|
-
}, z.core.$
|
|
850
|
-
title: z.ZodString;
|
|
851
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
852
|
-
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
775
|
+
}, z.core.$strict>>;
|
|
776
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
853
777
|
defaultOptionId: z.ZodString;
|
|
854
|
-
|
|
855
|
-
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
778
|
+
autoSchemaConfig: z.ZodObject<{
|
|
856
779
|
paramName: z.ZodString;
|
|
857
780
|
paramDescription: z.ZodString;
|
|
858
|
-
|
|
859
|
-
autoOption: z.ZodObject<{
|
|
860
|
-
id: z.ZodString;
|
|
861
|
-
title: z.ZodString;
|
|
862
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
863
|
-
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
864
|
-
providerValue: z.ZodOptional<z.ZodString>;
|
|
865
|
-
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
866
|
-
}, z.core.$strip>;
|
|
867
|
-
}, z.core.$strip>>;
|
|
781
|
+
}, z.core.$strict>;
|
|
868
782
|
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.RESOLUTION>;
|
|
869
783
|
options: z.ZodArray<z.ZodObject<{
|
|
870
784
|
id: z.ZodString;
|
|
871
|
-
title: z.ZodString;
|
|
872
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
873
785
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
786
|
+
providerValues: z.ZodOptional<z.ZodObject<{
|
|
787
|
+
openrouter: z.ZodOptional<z.ZodString>;
|
|
788
|
+
kie: z.ZodOptional<z.ZodString>;
|
|
789
|
+
perplexity: z.ZodOptional<z.ZodString>;
|
|
790
|
+
yandex: z.ZodOptional<z.ZodString>;
|
|
791
|
+
}, z.core.$strict>>;
|
|
874
792
|
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
875
793
|
providerValue: z.ZodString;
|
|
876
|
-
}, z.core.$
|
|
877
|
-
}, z.core.$
|
|
878
|
-
runtimeOverrides: z.ZodOptional<z.
|
|
794
|
+
}, z.core.$strict>>;
|
|
795
|
+
}, z.core.$strict>], "key">>>;
|
|
796
|
+
runtimeOverrides: z.ZodOptional<z.ZodObject<{
|
|
797
|
+
openrouter: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
798
|
+
kie: z.ZodOptional<z.ZodObject<{
|
|
799
|
+
inputUrlsKey: z.ZodOptional<z.ZodString>;
|
|
800
|
+
inputUrlsSingle: z.ZodOptional<z.ZodBoolean>;
|
|
801
|
+
fixedFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
802
|
+
endpoint: z.ZodOptional<z.ZodString>;
|
|
803
|
+
bodyMode: z.ZodOptional<z.ZodEnum<typeof import("./kie-body-mode.enum").KieBodyMode>>;
|
|
804
|
+
promptMaxLen: z.ZodOptional<z.ZodNumber>;
|
|
805
|
+
}, z.core.$strict>>;
|
|
806
|
+
}, z.core.$strict>>;
|
|
879
807
|
}, z.core.$strip>;
|
|
880
808
|
export type CreateModelToolBindingRequest = z.infer<typeof CreateModelToolBindingRequestSchema>;
|
|
881
809
|
export type UpdateModelToolBindingRequest = z.infer<typeof UpdateModelToolBindingRequestSchema>;
|
|
@@ -953,7 +881,6 @@ export declare const ToolAvailabilityItemWithAccessSchema: z.ZodObject<{
|
|
|
953
881
|
order: z.ZodNumber;
|
|
954
882
|
icon: z.ZodString;
|
|
955
883
|
models: z.ZodArray<z.ZodObject<{
|
|
956
|
-
type: z.ZodEnum<typeof import("../..").ModelType>;
|
|
957
884
|
uuid: z.ZodString;
|
|
958
885
|
title: z.ZodString;
|
|
959
886
|
description: z.ZodString;
|
|
@@ -978,28 +905,6 @@ export declare const ToolAvailabilityItemWithAccessSchema: z.ZodObject<{
|
|
|
978
905
|
price: z.ZodNumber;
|
|
979
906
|
}, z.core.$strip>>;
|
|
980
907
|
}, z.core.$strip>], "id">>;
|
|
981
|
-
settings: z.ZodObject<{
|
|
982
|
-
attachments: z.ZodOptional<z.ZodObject<{
|
|
983
|
-
imagePrice: z.ZodNumber;
|
|
984
|
-
filePrice: z.ZodNumber;
|
|
985
|
-
maxImages: z.ZodNumber;
|
|
986
|
-
maxFiles: z.ZodNumber;
|
|
987
|
-
}, z.core.$strip>>;
|
|
988
|
-
}, z.core.$strip>;
|
|
989
|
-
toolSettings: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
990
|
-
key: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingKey>;
|
|
991
|
-
title: z.ZodString;
|
|
992
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
993
|
-
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
994
|
-
defaultOptionId: z.ZodString;
|
|
995
|
-
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
996
|
-
options: z.ZodArray<z.ZodObject<{
|
|
997
|
-
id: z.ZodString;
|
|
998
|
-
title: z.ZodString;
|
|
999
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
1000
|
-
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
1001
|
-
}, z.core.$strip>>;
|
|
1002
|
-
}, z.core.$strip>>>;
|
|
1003
908
|
access: z.ZodBoolean;
|
|
1004
909
|
accessReason: z.ZodNullable<z.ZodEnum<typeof import("../..").AccessReason>>;
|
|
1005
910
|
}, z.core.$strip>>;
|
|
@@ -1032,7 +937,6 @@ export declare const ToolAvailabilityWithAccessResponseSchema: z.ZodObject<{
|
|
|
1032
937
|
order: z.ZodNumber;
|
|
1033
938
|
icon: z.ZodString;
|
|
1034
939
|
models: z.ZodArray<z.ZodObject<{
|
|
1035
|
-
type: z.ZodEnum<typeof import("../..").ModelType>;
|
|
1036
940
|
uuid: z.ZodString;
|
|
1037
941
|
title: z.ZodString;
|
|
1038
942
|
description: z.ZodString;
|
|
@@ -1057,28 +961,6 @@ export declare const ToolAvailabilityWithAccessResponseSchema: z.ZodObject<{
|
|
|
1057
961
|
price: z.ZodNumber;
|
|
1058
962
|
}, z.core.$strip>>;
|
|
1059
963
|
}, z.core.$strip>], "id">>;
|
|
1060
|
-
settings: z.ZodObject<{
|
|
1061
|
-
attachments: z.ZodOptional<z.ZodObject<{
|
|
1062
|
-
imagePrice: z.ZodNumber;
|
|
1063
|
-
filePrice: z.ZodNumber;
|
|
1064
|
-
maxImages: z.ZodNumber;
|
|
1065
|
-
maxFiles: z.ZodNumber;
|
|
1066
|
-
}, z.core.$strip>>;
|
|
1067
|
-
}, z.core.$strip>;
|
|
1068
|
-
toolSettings: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1069
|
-
key: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingKey>;
|
|
1070
|
-
title: z.ZodString;
|
|
1071
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
1072
|
-
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
1073
|
-
defaultOptionId: z.ZodString;
|
|
1074
|
-
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
1075
|
-
options: z.ZodArray<z.ZodObject<{
|
|
1076
|
-
id: z.ZodString;
|
|
1077
|
-
title: z.ZodString;
|
|
1078
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
1079
|
-
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
1080
|
-
}, z.core.$strip>>;
|
|
1081
|
-
}, z.core.$strip>>>;
|
|
1082
964
|
access: z.ZodBoolean;
|
|
1083
965
|
accessReason: z.ZodNullable<z.ZodEnum<typeof import("../..").AccessReason>>;
|
|
1084
966
|
}, z.core.$strip>>;
|