@veruna/api-contracts 1.1.15 → 1.1.16
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 +1 -0
- package/build/controllers/index.js +7 -1
- package/build/controllers/index.js.map +1 -1
- package/build/controllers/tools.controllers.d.ts +4 -0
- package/build/controllers/tools.controllers.js +8 -0
- package/build/controllers/tools.controllers.js.map +1 -0
- package/build/locales/validation.d.ts +138 -0
- package/build/locales/validation.js +138 -0
- package/build/locales/validation.js.map +1 -1
- package/build/rest-api.d.ts +21 -0
- package/build/rest-api.js +21 -0
- package/build/rest-api.js.map +1 -1
- package/build/routes/index.d.ts +4 -0
- package/build/routes/index.js +10 -1
- package/build/routes/index.js.map +1 -1
- package/build/routes/model-tools-admin.routes.d.ts +6 -0
- package/build/routes/model-tools-admin.routes.js +10 -0
- package/build/routes/model-tools-admin.routes.js.map +1 -0
- package/build/routes/tools-admin.routes.d.ts +5 -0
- package/build/routes/tools-admin.routes.js +9 -0
- package/build/routes/tools-admin.routes.js.map +1 -0
- package/build/routes/tools-public.routes.d.ts +4 -0
- package/build/routes/tools-public.routes.js +8 -0
- package/build/routes/tools-public.routes.js.map +1 -0
- package/build/routes/tools-unreg.routes.d.ts +4 -0
- package/build/routes/tools-unreg.routes.js +8 -0
- package/build/routes/tools-unreg.routes.js.map +1 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1/ai/tool.types.d.ts +6 -8
- package/build/v1/ai/tool.types.js +13 -14
- package/build/v1/ai/tool.types.js.map +1 -1
- package/build/v1/ai-model/admin/commands/create-model.command.d.ts +2 -87
- package/build/v1/ai-model/admin/commands/update-model.command.d.ts +2 -87
- package/build/v1/ai-model/admin/queries/get-model.query.d.ts +1 -21
- package/build/v1/ai-model/admin/queries/get-models.query.d.ts +1 -21
- package/build/v1/ai-model/ai-model.errors.d.ts +2 -2
- package/build/v1/ai-model/ai-model.errors.js +5 -5
- package/build/v1/ai-model/ai-model.errors.js.map +1 -1
- package/build/v1/ai-model/public/queries/get-active-models.query.d.ts +2 -18
- package/build/v1/ai-model/public/queries/get-models-list.query.d.ts +2 -80
- package/build/v1/ai-model/schemas/create-model-request.schema.d.ts +2 -67
- package/build/v1/ai-model/schemas/create-model-request.schema.js +16 -7
- 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 +4 -93
- package/build/v1/ai-model/schemas/model-response.schema.js +6 -7
- package/build/v1/ai-model/schemas/model-response.schema.js.map +1 -1
- package/build/v1/ai-model/schemas/model-settings.schema.d.ts +0 -204
- package/build/v1/ai-model/schemas/model-settings.schema.js +20 -36
- 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 +6 -238
- package/build/v1/ai-model/schemas/models-list-response.schema.js +1 -14
- package/build/v1/ai-model/schemas/models-list-response.schema.js.map +1 -1
- package/build/v1/ai-model/schemas/unreg-models-list-response.schema.d.ts +45 -364
- package/build/v1/ai-model/schemas/unreg-models-list-response.schema.js +3 -29
- package/build/v1/ai-model/schemas/unreg-models-list-response.schema.js.map +1 -1
- package/build/v1/ai-model/schemas/update-model-request.schema.d.ts +2 -67
- package/build/v1/ai-model/schemas/update-model-request.schema.js +16 -7
- 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 +1 -81
- 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/message/commands/create-message.command.d.ts +27 -5
- package/build/v1/message/message.errors.d.ts +1 -0
- package/build/v1/message/message.errors.js +5 -0
- package/build/v1/message/message.errors.js.map +1 -1
- package/build/v1/message/queries/get-message-stream-reg.query.d.ts +13 -2
- package/build/v1/message/queries/get-message-stream-unreg.query.d.ts +13 -2
- package/build/v1/message/schemas/create-message-request.schema.d.ts +1 -1
- package/build/v1/message/schemas/create-message-request.schema.js +1 -1
- package/build/v1/message/schemas/create-message-request.schema.js.map +1 -1
- package/build/v1/message/schemas/index.d.ts +2 -0
- package/build/v1/message/schemas/index.js +11 -1
- package/build/v1/message/schemas/index.js.map +1 -1
- package/build/v1/message/schemas/step-metadata.schema.d.ts +36 -0
- package/build/v1/message/schemas/step-metadata.schema.js +38 -0
- package/build/v1/message/schemas/step-metadata.schema.js.map +1 -0
- package/build/v1/message/schemas/stream-events.schema.d.ts +26 -4
- package/build/v1/message/schemas/stream-events.schema.js +3 -2
- package/build/v1/message/schemas/stream-events.schema.js.map +1 -1
- package/build/v1/shared/access-reason.enum.d.ts +4 -0
- package/build/v1/shared/access-reason.enum.js +9 -0
- package/build/v1/shared/access-reason.enum.js.map +1 -0
- package/build/v1/shared/access.schema.d.ts +6 -0
- package/build/v1/shared/access.schema.js +10 -0
- package/build/v1/shared/access.schema.js.map +1 -0
- package/build/v1/shared/index.d.ts +3 -0
- package/build/v1/shared/index.js +20 -0
- package/build/v1/shared/index.js.map +1 -0
- package/build/v1/shared/visibility.enum.d.ts +11 -0
- package/build/v1/shared/visibility.enum.js +17 -0
- package/build/v1/shared/visibility.enum.js.map +1 -0
- package/build/v1/tool/admin/commands/create-model-tool-binding.command.d.ts +123 -0
- package/build/v1/tool/admin/commands/create-model-tool-binding.command.js +14 -0
- package/build/v1/tool/admin/commands/create-model-tool-binding.command.js.map +1 -0
- package/build/v1/tool/admin/commands/delete-model-tool-binding.command.d.ts +11 -0
- package/build/v1/tool/admin/commands/delete-model-tool-binding.command.js +15 -0
- package/build/v1/tool/admin/commands/delete-model-tool-binding.command.js.map +1 -0
- package/build/v1/tool/admin/commands/delete-tool.command.d.ts +11 -0
- package/build/v1/tool/admin/commands/delete-tool.command.js +15 -0
- package/build/v1/tool/admin/commands/delete-tool.command.js.map +1 -0
- package/build/v1/tool/admin/commands/index.d.ts +5 -0
- package/build/v1/tool/admin/commands/index.js +22 -0
- package/build/v1/tool/admin/commands/index.js.map +1 -0
- package/build/v1/tool/admin/commands/update-model-tool-binding.command.d.ts +122 -0
- package/build/v1/tool/admin/commands/update-model-tool-binding.command.js +14 -0
- package/build/v1/tool/admin/commands/update-model-tool-binding.command.js.map +1 -0
- package/build/v1/tool/admin/commands/update-tool.command.d.ts +40 -0
- package/build/v1/tool/admin/commands/update-tool.command.js +14 -0
- package/build/v1/tool/admin/commands/update-tool.command.js.map +1 -0
- package/build/v1/tool/admin/index.d.ts +2 -0
- package/build/v1/tool/admin/index.js +19 -0
- package/build/v1/tool/admin/index.js.map +1 -0
- package/build/v1/tool/admin/queries/get-model-tool-bindings.query.d.ts +57 -0
- package/build/v1/tool/admin/queries/get-model-tool-bindings.query.js +15 -0
- package/build/v1/tool/admin/queries/get-model-tool-bindings.query.js.map +1 -0
- package/build/v1/tool/admin/queries/get-tools.query.d.ts +32 -0
- package/build/v1/tool/admin/queries/get-tools.query.js +15 -0
- package/build/v1/tool/admin/queries/get-tools.query.js.map +1 -0
- package/build/v1/tool/admin/queries/index.d.ts +2 -0
- package/build/v1/tool/admin/queries/index.js +19 -0
- package/build/v1/tool/admin/queries/index.js.map +1 -0
- package/build/v1/tool/index.d.ts +6 -0
- package/build/v1/tool/index.js +23 -0
- package/build/v1/tool/index.js.map +1 -0
- package/build/v1/tool/public/index.d.ts +1 -0
- package/build/v1/tool/public/index.js +18 -0
- package/build/v1/tool/public/index.js.map +1 -0
- package/build/v1/tool/public/queries/get-tool-availability.query.d.ts +73 -0
- package/build/v1/tool/public/queries/get-tool-availability.query.js +15 -0
- package/build/v1/tool/public/queries/get-tool-availability.query.js.map +1 -0
- package/build/v1/tool/public/queries/get-tools.query.d.ts +28 -0
- package/build/v1/tool/public/queries/get-tools.query.js +15 -0
- package/build/v1/tool/public/queries/get-tools.query.js.map +1 -0
- package/build/v1/tool/public/queries/index.d.ts +2 -0
- package/build/v1/tool/public/queries/index.js +19 -0
- package/build/v1/tool/public/queries/index.js.map +1 -0
- package/build/v1/tool/schemas/index.d.ts +2 -0
- package/build/v1/tool/schemas/index.js +19 -0
- package/build/v1/tool/schemas/index.js.map +1 -0
- package/build/v1/tool/schemas/tool.enums.d.ts +31 -0
- package/build/v1/tool/schemas/tool.enums.js +41 -0
- package/build/v1/tool/schemas/tool.enums.js.map +1 -0
- package/build/v1/tool/schemas/tool.schema.d.ts +803 -0
- package/build/v1/tool/schemas/tool.schema.js +199 -0
- package/build/v1/tool/schemas/tool.schema.js.map +1 -0
- package/build/v1/tool/tool.errors.d.ts +25 -0
- package/build/v1/tool/tool.errors.js +114 -0
- package/build/v1/tool/tool.errors.js.map +1 -0
- package/build/v1/tool/unreg/index.d.ts +1 -0
- package/build/v1/tool/unreg/index.js +18 -0
- package/build/v1/tool/unreg/index.js.map +1 -0
- package/build/v1/tool/unreg/queries/get-tool-availability-unreg.query.d.ts +73 -0
- package/build/v1/tool/unreg/queries/get-tool-availability-unreg.query.js +15 -0
- package/build/v1/tool/unreg/queries/get-tool-availability-unreg.query.js.map +1 -0
- package/build/v1/tool/unreg/queries/get-tools-unreg.query.d.ts +28 -0
- package/build/v1/tool/unreg/queries/get-tools-unreg.query.js +15 -0
- package/build/v1/tool/unreg/queries/get-tools-unreg.query.js.map +1 -0
- package/build/v1/tool/unreg/queries/index.d.ts +2 -0
- package/build/v1/tool/unreg/queries/index.js +19 -0
- package/build/v1/tool/unreg/queries/index.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,803 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { ToolStatus, ToolKind, ToolDefinitionSource, ToolExecutorType, ToolRiskLevel, ToolBindingStatus } from './tool.enums';
|
|
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 ToolStatusSchema: z.ZodEnum<typeof ToolStatus>;
|
|
5
|
+
export declare const ToolKindSchema: z.ZodEnum<typeof ToolKind>;
|
|
6
|
+
export declare const ToolDefinitionSourceSchema: z.ZodEnum<typeof ToolDefinitionSource>;
|
|
7
|
+
export declare const ToolExecutorTypeSchema: z.ZodEnum<typeof ToolExecutorType>;
|
|
8
|
+
export declare const ToolRiskLevelSchema: z.ZodEnum<typeof ToolRiskLevel>;
|
|
9
|
+
export declare const ToolBindingStatusSchema: z.ZodEnum<typeof ToolBindingStatus>;
|
|
10
|
+
export { VisibilitySchema, WritableVisibilitySchema, AccessReasonSchema } from '../../shared/access.schema';
|
|
11
|
+
export declare const ToolSchema: z.ZodObject<{
|
|
12
|
+
uuid: z.ZodString;
|
|
13
|
+
key: z.ZodString;
|
|
14
|
+
title: z.ZodString;
|
|
15
|
+
description: z.ZodString;
|
|
16
|
+
icon: z.ZodNullable<z.ZodString>;
|
|
17
|
+
status: z.ZodEnum<typeof ToolStatus>;
|
|
18
|
+
kind: z.ZodEnum<typeof ToolKind>;
|
|
19
|
+
definitionSource: z.ZodEnum<typeof ToolDefinitionSource>;
|
|
20
|
+
executorType: z.ZodEnum<typeof ToolExecutorType>;
|
|
21
|
+
functionName: z.ZodString;
|
|
22
|
+
handlerKey: z.ZodNullable<z.ZodString>;
|
|
23
|
+
riskLevel: z.ZodEnum<typeof ToolRiskLevel>;
|
|
24
|
+
visibility: z.ZodEnum<typeof import("../..").Visibility>;
|
|
25
|
+
order: z.ZodNumber;
|
|
26
|
+
tags: z.ZodArray<z.ZodString>;
|
|
27
|
+
uiConfig: 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]>>]>>;
|
|
28
|
+
runtimeConfig: 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]>>]>>;
|
|
29
|
+
isProtected: z.ZodBoolean;
|
|
30
|
+
createdAt: z.ZodString;
|
|
31
|
+
updatedAt: z.ZodString;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
export type Tool = z.infer<typeof ToolSchema>;
|
|
34
|
+
export declare const PublicToolSchema: z.ZodObject<{
|
|
35
|
+
uuid: z.ZodString;
|
|
36
|
+
status: z.ZodEnum<typeof ToolStatus>;
|
|
37
|
+
title: z.ZodString;
|
|
38
|
+
order: z.ZodNumber;
|
|
39
|
+
description: z.ZodString;
|
|
40
|
+
tags: z.ZodArray<z.ZodString>;
|
|
41
|
+
visibility: z.ZodEnum<typeof import("../..").Visibility>;
|
|
42
|
+
icon: z.ZodNullable<z.ZodString>;
|
|
43
|
+
key: z.ZodString;
|
|
44
|
+
kind: z.ZodEnum<typeof ToolKind>;
|
|
45
|
+
definitionSource: z.ZodEnum<typeof ToolDefinitionSource>;
|
|
46
|
+
executorType: z.ZodEnum<typeof ToolExecutorType>;
|
|
47
|
+
riskLevel: z.ZodEnum<typeof ToolRiskLevel>;
|
|
48
|
+
uiConfig: 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]>>]>>;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
export type PublicTool = z.infer<typeof PublicToolSchema>;
|
|
51
|
+
export declare const NativeToolManifestSchema: z.ZodObject<{
|
|
52
|
+
key: z.ZodString;
|
|
53
|
+
title: z.ZodString;
|
|
54
|
+
description: z.ZodString;
|
|
55
|
+
icon: z.ZodNullable<z.ZodString>;
|
|
56
|
+
kind: z.ZodEnum<typeof ToolKind>;
|
|
57
|
+
definitionSource: z.ZodLiteral<ToolDefinitionSource.CODE>;
|
|
58
|
+
executorType: z.ZodEnum<typeof ToolExecutorType>;
|
|
59
|
+
functionName: z.ZodString;
|
|
60
|
+
handlerKey: z.ZodString;
|
|
61
|
+
riskLevel: z.ZodEnum<typeof ToolRiskLevel>;
|
|
62
|
+
visibility: z.ZodEnum<typeof import("../..").Visibility>;
|
|
63
|
+
tags: z.ZodArray<z.ZodString>;
|
|
64
|
+
isProtected: z.ZodBoolean;
|
|
65
|
+
uiConfig: 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]>>]>>;
|
|
66
|
+
}, z.core.$strip>;
|
|
67
|
+
export type NativeToolManifest = z.infer<typeof NativeToolManifestSchema>;
|
|
68
|
+
export declare const ToolWriteSchema: z.ZodObject<{
|
|
69
|
+
title: z.ZodOptional<z.ZodString>;
|
|
70
|
+
description: z.ZodOptional<z.ZodString>;
|
|
71
|
+
icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
|
+
status: z.ZodOptional<z.ZodEnum<typeof ToolStatus>>;
|
|
73
|
+
visibility: z.ZodOptional<z.ZodEnum<typeof import("../..").WritableVisibility>>;
|
|
74
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
75
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
76
|
+
uiConfig: z.ZodOptional<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]>>]>>>;
|
|
77
|
+
}, z.core.$strip>;
|
|
78
|
+
export declare const ImportNativeToolRequestSchema: z.ZodObject<{
|
|
79
|
+
key: z.ZodString;
|
|
80
|
+
}, z.core.$strip>;
|
|
81
|
+
export type ImportNativeToolRequest = z.infer<typeof ImportNativeToolRequestSchema>;
|
|
82
|
+
export declare const ToolAvailabilityProviderSchema: z.ZodObject<{
|
|
83
|
+
uuid: z.ZodString;
|
|
84
|
+
title: z.ZodString;
|
|
85
|
+
order: z.ZodNumber;
|
|
86
|
+
icon: z.ZodString;
|
|
87
|
+
models: z.ZodArray<z.ZodObject<{
|
|
88
|
+
type: z.ZodEnum<typeof import("../..").ModelType>;
|
|
89
|
+
uuid: z.ZodString;
|
|
90
|
+
title: z.ZodString;
|
|
91
|
+
order: z.ZodNumber;
|
|
92
|
+
description: z.ZodString;
|
|
93
|
+
marks: z.ZodArray<z.ZodEnum<typeof import("../..").ModelMark>>;
|
|
94
|
+
icon: z.ZodString;
|
|
95
|
+
price: z.ZodNumber;
|
|
96
|
+
speed: z.ZodNumber;
|
|
97
|
+
bestFor: z.ZodArray<z.ZodString>;
|
|
98
|
+
usageExamples: z.ZodArray<z.ZodString>;
|
|
99
|
+
inputModalities: z.ZodArray<z.ZodEnum<typeof import("../..").Modality>>;
|
|
100
|
+
outputModalities: z.ZodArray<z.ZodEnum<typeof import("../..").Modality>>;
|
|
101
|
+
modelRoles: z.ZodArray<z.ZodEnum<typeof import("../..").ModelRole>>;
|
|
102
|
+
plugins: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
103
|
+
id: z.ZodLiteral<import("../..").PluginId.WEB>;
|
|
104
|
+
price: z.ZodNumber;
|
|
105
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
106
|
+
id: z.ZodLiteral<import("../..").PluginId.REASONING>;
|
|
107
|
+
default: z.ZodEnum<typeof import("../..").ReasoningEffort>;
|
|
108
|
+
supportedValues: z.ZodArray<z.ZodObject<{
|
|
109
|
+
value: z.ZodEnum<typeof import("../..").ReasoningEffort>;
|
|
110
|
+
price: z.ZodNumber;
|
|
111
|
+
}, z.core.$strip>>;
|
|
112
|
+
}, 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
|
+
access: z.ZodBoolean;
|
|
122
|
+
accessReason: z.ZodNullable<z.ZodEnum<typeof import("../..").AccessReason>>;
|
|
123
|
+
}, z.core.$strip>>;
|
|
124
|
+
}, z.core.$strip>;
|
|
125
|
+
export type ToolAvailabilityProvider = z.infer<typeof ToolAvailabilityProviderSchema>;
|
|
126
|
+
export declare const ToolAvailabilityItemSchema: z.ZodObject<{
|
|
127
|
+
tool: z.ZodObject<{
|
|
128
|
+
uuid: z.ZodString;
|
|
129
|
+
status: z.ZodEnum<typeof ToolStatus>;
|
|
130
|
+
title: z.ZodString;
|
|
131
|
+
order: z.ZodNumber;
|
|
132
|
+
description: z.ZodString;
|
|
133
|
+
tags: z.ZodArray<z.ZodString>;
|
|
134
|
+
visibility: z.ZodEnum<typeof import("../..").Visibility>;
|
|
135
|
+
icon: z.ZodNullable<z.ZodString>;
|
|
136
|
+
key: z.ZodString;
|
|
137
|
+
kind: z.ZodEnum<typeof ToolKind>;
|
|
138
|
+
definitionSource: z.ZodEnum<typeof ToolDefinitionSource>;
|
|
139
|
+
executorType: z.ZodEnum<typeof ToolExecutorType>;
|
|
140
|
+
riskLevel: z.ZodEnum<typeof ToolRiskLevel>;
|
|
141
|
+
uiConfig: 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]>>]>>;
|
|
142
|
+
}, z.core.$strip>;
|
|
143
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
144
|
+
uuid: z.ZodString;
|
|
145
|
+
title: z.ZodString;
|
|
146
|
+
order: z.ZodNumber;
|
|
147
|
+
icon: z.ZodString;
|
|
148
|
+
models: z.ZodArray<z.ZodObject<{
|
|
149
|
+
type: z.ZodEnum<typeof import("../..").ModelType>;
|
|
150
|
+
uuid: z.ZodString;
|
|
151
|
+
title: z.ZodString;
|
|
152
|
+
order: z.ZodNumber;
|
|
153
|
+
description: z.ZodString;
|
|
154
|
+
marks: z.ZodArray<z.ZodEnum<typeof import("../..").ModelMark>>;
|
|
155
|
+
icon: z.ZodString;
|
|
156
|
+
price: z.ZodNumber;
|
|
157
|
+
speed: z.ZodNumber;
|
|
158
|
+
bestFor: z.ZodArray<z.ZodString>;
|
|
159
|
+
usageExamples: z.ZodArray<z.ZodString>;
|
|
160
|
+
inputModalities: z.ZodArray<z.ZodEnum<typeof import("../..").Modality>>;
|
|
161
|
+
outputModalities: z.ZodArray<z.ZodEnum<typeof import("../..").Modality>>;
|
|
162
|
+
modelRoles: z.ZodArray<z.ZodEnum<typeof import("../..").ModelRole>>;
|
|
163
|
+
plugins: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
164
|
+
id: z.ZodLiteral<import("../..").PluginId.WEB>;
|
|
165
|
+
price: z.ZodNumber;
|
|
166
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
167
|
+
id: z.ZodLiteral<import("../..").PluginId.REASONING>;
|
|
168
|
+
default: z.ZodEnum<typeof import("../..").ReasoningEffort>;
|
|
169
|
+
supportedValues: z.ZodArray<z.ZodObject<{
|
|
170
|
+
value: z.ZodEnum<typeof import("../..").ReasoningEffort>;
|
|
171
|
+
price: z.ZodNumber;
|
|
172
|
+
}, z.core.$strip>>;
|
|
173
|
+
}, z.core.$strip>], "id">>;
|
|
174
|
+
settings: z.ZodObject<{
|
|
175
|
+
attachments: z.ZodOptional<z.ZodObject<{
|
|
176
|
+
imagePrice: z.ZodNumber;
|
|
177
|
+
filePrice: z.ZodNumber;
|
|
178
|
+
maxImages: z.ZodNumber;
|
|
179
|
+
maxFiles: z.ZodNumber;
|
|
180
|
+
}, z.core.$strip>>;
|
|
181
|
+
}, z.core.$strip>;
|
|
182
|
+
access: z.ZodBoolean;
|
|
183
|
+
accessReason: z.ZodNullable<z.ZodEnum<typeof import("../..").AccessReason>>;
|
|
184
|
+
}, z.core.$strip>>;
|
|
185
|
+
}, z.core.$strip>>;
|
|
186
|
+
}, z.core.$strip>;
|
|
187
|
+
export type ToolAvailabilityItem = z.infer<typeof ToolAvailabilityItemSchema>;
|
|
188
|
+
export declare const ToolAvailabilityResponseSchema: z.ZodObject<{
|
|
189
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
190
|
+
tool: z.ZodObject<{
|
|
191
|
+
uuid: z.ZodString;
|
|
192
|
+
status: z.ZodEnum<typeof ToolStatus>;
|
|
193
|
+
title: z.ZodString;
|
|
194
|
+
order: z.ZodNumber;
|
|
195
|
+
description: z.ZodString;
|
|
196
|
+
tags: z.ZodArray<z.ZodString>;
|
|
197
|
+
visibility: z.ZodEnum<typeof import("../..").Visibility>;
|
|
198
|
+
icon: z.ZodNullable<z.ZodString>;
|
|
199
|
+
key: z.ZodString;
|
|
200
|
+
kind: z.ZodEnum<typeof ToolKind>;
|
|
201
|
+
definitionSource: z.ZodEnum<typeof ToolDefinitionSource>;
|
|
202
|
+
executorType: z.ZodEnum<typeof ToolExecutorType>;
|
|
203
|
+
riskLevel: z.ZodEnum<typeof ToolRiskLevel>;
|
|
204
|
+
uiConfig: 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]>>]>>;
|
|
205
|
+
}, z.core.$strip>;
|
|
206
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
207
|
+
uuid: z.ZodString;
|
|
208
|
+
title: z.ZodString;
|
|
209
|
+
order: z.ZodNumber;
|
|
210
|
+
icon: z.ZodString;
|
|
211
|
+
models: z.ZodArray<z.ZodObject<{
|
|
212
|
+
type: z.ZodEnum<typeof import("../..").ModelType>;
|
|
213
|
+
uuid: z.ZodString;
|
|
214
|
+
title: z.ZodString;
|
|
215
|
+
order: z.ZodNumber;
|
|
216
|
+
description: z.ZodString;
|
|
217
|
+
marks: z.ZodArray<z.ZodEnum<typeof import("../..").ModelMark>>;
|
|
218
|
+
icon: z.ZodString;
|
|
219
|
+
price: z.ZodNumber;
|
|
220
|
+
speed: z.ZodNumber;
|
|
221
|
+
bestFor: z.ZodArray<z.ZodString>;
|
|
222
|
+
usageExamples: z.ZodArray<z.ZodString>;
|
|
223
|
+
inputModalities: z.ZodArray<z.ZodEnum<typeof import("../..").Modality>>;
|
|
224
|
+
outputModalities: z.ZodArray<z.ZodEnum<typeof import("../..").Modality>>;
|
|
225
|
+
modelRoles: z.ZodArray<z.ZodEnum<typeof import("../..").ModelRole>>;
|
|
226
|
+
plugins: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
227
|
+
id: z.ZodLiteral<import("../..").PluginId.WEB>;
|
|
228
|
+
price: z.ZodNumber;
|
|
229
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
230
|
+
id: z.ZodLiteral<import("../..").PluginId.REASONING>;
|
|
231
|
+
default: z.ZodEnum<typeof import("../..").ReasoningEffort>;
|
|
232
|
+
supportedValues: z.ZodArray<z.ZodObject<{
|
|
233
|
+
value: z.ZodEnum<typeof import("../..").ReasoningEffort>;
|
|
234
|
+
price: z.ZodNumber;
|
|
235
|
+
}, z.core.$strip>>;
|
|
236
|
+
}, z.core.$strip>], "id">>;
|
|
237
|
+
settings: z.ZodObject<{
|
|
238
|
+
attachments: z.ZodOptional<z.ZodObject<{
|
|
239
|
+
imagePrice: z.ZodNumber;
|
|
240
|
+
filePrice: z.ZodNumber;
|
|
241
|
+
maxImages: z.ZodNumber;
|
|
242
|
+
maxFiles: z.ZodNumber;
|
|
243
|
+
}, z.core.$strip>>;
|
|
244
|
+
}, z.core.$strip>;
|
|
245
|
+
access: z.ZodBoolean;
|
|
246
|
+
accessReason: z.ZodNullable<z.ZodEnum<typeof import("../..").AccessReason>>;
|
|
247
|
+
}, z.core.$strip>>;
|
|
248
|
+
}, z.core.$strip>>;
|
|
249
|
+
}, z.core.$strip>>;
|
|
250
|
+
}, z.core.$strip>;
|
|
251
|
+
export type ToolAvailabilityResponse = z.infer<typeof ToolAvailabilityResponseSchema>;
|
|
252
|
+
export declare const ToolResponseListSchema: z.ZodObject<{
|
|
253
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
254
|
+
uuid: z.ZodString;
|
|
255
|
+
key: z.ZodString;
|
|
256
|
+
title: z.ZodString;
|
|
257
|
+
description: z.ZodString;
|
|
258
|
+
icon: z.ZodNullable<z.ZodString>;
|
|
259
|
+
status: z.ZodEnum<typeof ToolStatus>;
|
|
260
|
+
kind: z.ZodEnum<typeof ToolKind>;
|
|
261
|
+
definitionSource: z.ZodEnum<typeof ToolDefinitionSource>;
|
|
262
|
+
executorType: z.ZodEnum<typeof ToolExecutorType>;
|
|
263
|
+
functionName: z.ZodString;
|
|
264
|
+
handlerKey: z.ZodNullable<z.ZodString>;
|
|
265
|
+
riskLevel: z.ZodEnum<typeof ToolRiskLevel>;
|
|
266
|
+
visibility: z.ZodEnum<typeof import("../..").Visibility>;
|
|
267
|
+
order: z.ZodNumber;
|
|
268
|
+
tags: z.ZodArray<z.ZodString>;
|
|
269
|
+
uiConfig: 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]>>]>>;
|
|
270
|
+
runtimeConfig: 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]>>]>>;
|
|
271
|
+
isProtected: z.ZodBoolean;
|
|
272
|
+
createdAt: z.ZodString;
|
|
273
|
+
updatedAt: z.ZodString;
|
|
274
|
+
}, z.core.$strip>>;
|
|
275
|
+
}, z.core.$strip>;
|
|
276
|
+
export type ToolResponseList = z.infer<typeof ToolResponseListSchema>;
|
|
277
|
+
export declare const PublicToolResponseListSchema: z.ZodObject<{
|
|
278
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
279
|
+
uuid: z.ZodString;
|
|
280
|
+
status: z.ZodEnum<typeof ToolStatus>;
|
|
281
|
+
title: z.ZodString;
|
|
282
|
+
order: z.ZodNumber;
|
|
283
|
+
description: z.ZodString;
|
|
284
|
+
tags: z.ZodArray<z.ZodString>;
|
|
285
|
+
visibility: z.ZodEnum<typeof import("../..").Visibility>;
|
|
286
|
+
icon: z.ZodNullable<z.ZodString>;
|
|
287
|
+
key: z.ZodString;
|
|
288
|
+
kind: z.ZodEnum<typeof ToolKind>;
|
|
289
|
+
definitionSource: z.ZodEnum<typeof ToolDefinitionSource>;
|
|
290
|
+
executorType: z.ZodEnum<typeof ToolExecutorType>;
|
|
291
|
+
riskLevel: z.ZodEnum<typeof ToolRiskLevel>;
|
|
292
|
+
uiConfig: 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]>>]>>;
|
|
293
|
+
}, z.core.$strip>>;
|
|
294
|
+
}, z.core.$strip>;
|
|
295
|
+
export type PublicToolResponseList = z.infer<typeof PublicToolResponseListSchema>;
|
|
296
|
+
export declare const NativeToolManifestResponseListSchema: z.ZodObject<{
|
|
297
|
+
manifests: z.ZodArray<z.ZodObject<{
|
|
298
|
+
key: z.ZodString;
|
|
299
|
+
title: z.ZodString;
|
|
300
|
+
description: z.ZodString;
|
|
301
|
+
icon: z.ZodNullable<z.ZodString>;
|
|
302
|
+
kind: z.ZodEnum<typeof ToolKind>;
|
|
303
|
+
definitionSource: z.ZodLiteral<ToolDefinitionSource.CODE>;
|
|
304
|
+
executorType: z.ZodEnum<typeof ToolExecutorType>;
|
|
305
|
+
functionName: z.ZodString;
|
|
306
|
+
handlerKey: z.ZodString;
|
|
307
|
+
riskLevel: z.ZodEnum<typeof ToolRiskLevel>;
|
|
308
|
+
visibility: z.ZodEnum<typeof import("../..").Visibility>;
|
|
309
|
+
tags: z.ZodArray<z.ZodString>;
|
|
310
|
+
isProtected: z.ZodBoolean;
|
|
311
|
+
uiConfig: 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]>>]>>;
|
|
312
|
+
}, z.core.$strip>>;
|
|
313
|
+
}, z.core.$strip>;
|
|
314
|
+
export type NativeToolManifestResponseList = z.infer<typeof NativeToolManifestResponseListSchema>;
|
|
315
|
+
export declare const ModelToolSettingsConfigSchema: z.ZodArray<z.ZodObject<{
|
|
316
|
+
key: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingKey>;
|
|
317
|
+
title: z.ZodString;
|
|
318
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
319
|
+
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
320
|
+
defaultOptionId: z.ZodString;
|
|
321
|
+
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
322
|
+
options: z.ZodArray<z.ZodObject<{
|
|
323
|
+
title: z.ZodString;
|
|
324
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
325
|
+
id: z.ZodString;
|
|
326
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
327
|
+
}, z.core.$strip>>;
|
|
328
|
+
}, z.core.$strip>>;
|
|
329
|
+
export declare const ModelToolSettingsConfigWriteSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
330
|
+
title: z.ZodString;
|
|
331
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
332
|
+
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
333
|
+
defaultOptionId: z.ZodString;
|
|
334
|
+
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
335
|
+
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.STYLE>;
|
|
336
|
+
options: z.ZodArray<z.ZodObject<{
|
|
337
|
+
id: z.ZodString;
|
|
338
|
+
title: z.ZodString;
|
|
339
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
340
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
341
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
342
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
343
|
+
}, z.core.$strip>>;
|
|
344
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
345
|
+
title: z.ZodString;
|
|
346
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
347
|
+
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
348
|
+
defaultOptionId: z.ZodString;
|
|
349
|
+
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
350
|
+
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.MAX_RESULTS>;
|
|
351
|
+
options: z.ZodArray<z.ZodObject<{
|
|
352
|
+
id: z.ZodString;
|
|
353
|
+
title: z.ZodString;
|
|
354
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
355
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
356
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
357
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
358
|
+
}, z.core.$strip>>;
|
|
359
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
360
|
+
title: z.ZodString;
|
|
361
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
362
|
+
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
363
|
+
defaultOptionId: z.ZodString;
|
|
364
|
+
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
365
|
+
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.ASPECT_RATIO>;
|
|
366
|
+
options: z.ZodArray<z.ZodObject<{
|
|
367
|
+
id: z.ZodString;
|
|
368
|
+
title: z.ZodString;
|
|
369
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
370
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
371
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
372
|
+
providerValue: z.ZodString;
|
|
373
|
+
}, z.core.$strip>>;
|
|
374
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
375
|
+
title: z.ZodString;
|
|
376
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
377
|
+
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
378
|
+
defaultOptionId: z.ZodString;
|
|
379
|
+
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
380
|
+
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.RESOLUTION>;
|
|
381
|
+
options: z.ZodArray<z.ZodObject<{
|
|
382
|
+
id: z.ZodString;
|
|
383
|
+
title: z.ZodString;
|
|
384
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
385
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
386
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
387
|
+
providerValue: z.ZodString;
|
|
388
|
+
}, z.core.$strip>>;
|
|
389
|
+
}, z.core.$strip>], "key">>;
|
|
390
|
+
export declare const ModelToolBindingSchema: z.ZodObject<{
|
|
391
|
+
uuid: z.ZodString;
|
|
392
|
+
modelUuid: z.ZodString;
|
|
393
|
+
toolUuid: z.ZodString;
|
|
394
|
+
status: z.ZodEnum<typeof ToolBindingStatus>;
|
|
395
|
+
order: z.ZodNumber;
|
|
396
|
+
isDefault: z.ZodBoolean;
|
|
397
|
+
settingsConfig: z.ZodArray<z.ZodObject<{
|
|
398
|
+
key: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingKey>;
|
|
399
|
+
title: z.ZodString;
|
|
400
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
401
|
+
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
402
|
+
defaultOptionId: z.ZodString;
|
|
403
|
+
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
404
|
+
options: z.ZodArray<z.ZodObject<{
|
|
405
|
+
title: z.ZodString;
|
|
406
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
407
|
+
id: z.ZodString;
|
|
408
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
409
|
+
}, z.core.$strip>>;
|
|
410
|
+
}, z.core.$strip>>;
|
|
411
|
+
runtimeOverrides: 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]>>]>>;
|
|
412
|
+
createdAt: z.ZodString;
|
|
413
|
+
updatedAt: z.ZodString;
|
|
414
|
+
tool: z.ZodObject<{
|
|
415
|
+
uuid: z.ZodString;
|
|
416
|
+
key: z.ZodString;
|
|
417
|
+
title: z.ZodString;
|
|
418
|
+
description: z.ZodString;
|
|
419
|
+
icon: z.ZodNullable<z.ZodString>;
|
|
420
|
+
status: z.ZodEnum<typeof ToolStatus>;
|
|
421
|
+
kind: z.ZodEnum<typeof ToolKind>;
|
|
422
|
+
definitionSource: z.ZodEnum<typeof ToolDefinitionSource>;
|
|
423
|
+
executorType: z.ZodEnum<typeof ToolExecutorType>;
|
|
424
|
+
functionName: z.ZodString;
|
|
425
|
+
handlerKey: z.ZodNullable<z.ZodString>;
|
|
426
|
+
riskLevel: z.ZodEnum<typeof ToolRiskLevel>;
|
|
427
|
+
visibility: z.ZodEnum<typeof import("../..").Visibility>;
|
|
428
|
+
order: z.ZodNumber;
|
|
429
|
+
tags: z.ZodArray<z.ZodString>;
|
|
430
|
+
uiConfig: 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]>>]>>;
|
|
431
|
+
runtimeConfig: 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]>>]>>;
|
|
432
|
+
isProtected: z.ZodBoolean;
|
|
433
|
+
createdAt: z.ZodString;
|
|
434
|
+
updatedAt: z.ZodString;
|
|
435
|
+
}, z.core.$strip>;
|
|
436
|
+
}, z.core.$strip>;
|
|
437
|
+
export type ModelToolBinding = z.infer<typeof ModelToolBindingSchema>;
|
|
438
|
+
export declare const ModelToolBindingListSchema: z.ZodObject<{
|
|
439
|
+
bindings: z.ZodArray<z.ZodObject<{
|
|
440
|
+
uuid: z.ZodString;
|
|
441
|
+
modelUuid: z.ZodString;
|
|
442
|
+
toolUuid: z.ZodString;
|
|
443
|
+
status: z.ZodEnum<typeof ToolBindingStatus>;
|
|
444
|
+
order: z.ZodNumber;
|
|
445
|
+
isDefault: z.ZodBoolean;
|
|
446
|
+
settingsConfig: z.ZodArray<z.ZodObject<{
|
|
447
|
+
key: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingKey>;
|
|
448
|
+
title: z.ZodString;
|
|
449
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
450
|
+
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
451
|
+
defaultOptionId: z.ZodString;
|
|
452
|
+
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
453
|
+
options: z.ZodArray<z.ZodObject<{
|
|
454
|
+
title: z.ZodString;
|
|
455
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
456
|
+
id: z.ZodString;
|
|
457
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
458
|
+
}, z.core.$strip>>;
|
|
459
|
+
}, z.core.$strip>>;
|
|
460
|
+
runtimeOverrides: 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]>>]>>;
|
|
461
|
+
createdAt: z.ZodString;
|
|
462
|
+
updatedAt: z.ZodString;
|
|
463
|
+
tool: z.ZodObject<{
|
|
464
|
+
uuid: z.ZodString;
|
|
465
|
+
key: z.ZodString;
|
|
466
|
+
title: z.ZodString;
|
|
467
|
+
description: z.ZodString;
|
|
468
|
+
icon: z.ZodNullable<z.ZodString>;
|
|
469
|
+
status: z.ZodEnum<typeof ToolStatus>;
|
|
470
|
+
kind: z.ZodEnum<typeof ToolKind>;
|
|
471
|
+
definitionSource: z.ZodEnum<typeof ToolDefinitionSource>;
|
|
472
|
+
executorType: z.ZodEnum<typeof ToolExecutorType>;
|
|
473
|
+
functionName: z.ZodString;
|
|
474
|
+
handlerKey: z.ZodNullable<z.ZodString>;
|
|
475
|
+
riskLevel: z.ZodEnum<typeof ToolRiskLevel>;
|
|
476
|
+
visibility: z.ZodEnum<typeof import("../..").Visibility>;
|
|
477
|
+
order: z.ZodNumber;
|
|
478
|
+
tags: z.ZodArray<z.ZodString>;
|
|
479
|
+
uiConfig: 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]>>]>>;
|
|
480
|
+
runtimeConfig: 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]>>]>>;
|
|
481
|
+
isProtected: z.ZodBoolean;
|
|
482
|
+
createdAt: z.ZodString;
|
|
483
|
+
updatedAt: z.ZodString;
|
|
484
|
+
}, z.core.$strip>;
|
|
485
|
+
}, z.core.$strip>>;
|
|
486
|
+
}, z.core.$strip>;
|
|
487
|
+
export type ModelToolBindingList = z.infer<typeof ModelToolBindingListSchema>;
|
|
488
|
+
export declare const CreateModelToolBindingRequestSchema: z.ZodObject<{
|
|
489
|
+
toolUuid: z.ZodString;
|
|
490
|
+
status: z.ZodDefault<z.ZodEnum<typeof ToolBindingStatus>>;
|
|
491
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
492
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
493
|
+
settingsConfig: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
494
|
+
title: z.ZodString;
|
|
495
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
496
|
+
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
497
|
+
defaultOptionId: z.ZodString;
|
|
498
|
+
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
499
|
+
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.STYLE>;
|
|
500
|
+
options: z.ZodArray<z.ZodObject<{
|
|
501
|
+
id: z.ZodString;
|
|
502
|
+
title: z.ZodString;
|
|
503
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
504
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
505
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
506
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
507
|
+
}, z.core.$strip>>;
|
|
508
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
509
|
+
title: z.ZodString;
|
|
510
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
511
|
+
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
512
|
+
defaultOptionId: z.ZodString;
|
|
513
|
+
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
514
|
+
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.MAX_RESULTS>;
|
|
515
|
+
options: z.ZodArray<z.ZodObject<{
|
|
516
|
+
id: z.ZodString;
|
|
517
|
+
title: z.ZodString;
|
|
518
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
519
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
520
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
521
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
522
|
+
}, z.core.$strip>>;
|
|
523
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
524
|
+
title: z.ZodString;
|
|
525
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
526
|
+
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
527
|
+
defaultOptionId: z.ZodString;
|
|
528
|
+
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
529
|
+
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.ASPECT_RATIO>;
|
|
530
|
+
options: z.ZodArray<z.ZodObject<{
|
|
531
|
+
id: z.ZodString;
|
|
532
|
+
title: z.ZodString;
|
|
533
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
534
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
535
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
536
|
+
providerValue: z.ZodString;
|
|
537
|
+
}, z.core.$strip>>;
|
|
538
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
539
|
+
title: z.ZodString;
|
|
540
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
541
|
+
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
542
|
+
defaultOptionId: z.ZodString;
|
|
543
|
+
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
544
|
+
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.RESOLUTION>;
|
|
545
|
+
options: z.ZodArray<z.ZodObject<{
|
|
546
|
+
id: z.ZodString;
|
|
547
|
+
title: z.ZodString;
|
|
548
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
549
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
550
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
551
|
+
providerValue: z.ZodString;
|
|
552
|
+
}, z.core.$strip>>;
|
|
553
|
+
}, z.core.$strip>], "key">>>;
|
|
554
|
+
runtimeOverrides: z.ZodDefault<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]>>]>>>;
|
|
555
|
+
}, z.core.$strip>;
|
|
556
|
+
export declare const UpdateModelToolBindingRequestSchema: z.ZodObject<{
|
|
557
|
+
status: z.ZodOptional<z.ZodEnum<typeof ToolBindingStatus>>;
|
|
558
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
559
|
+
isDefault: z.ZodOptional<z.ZodBoolean>;
|
|
560
|
+
settingsConfig: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
561
|
+
title: z.ZodString;
|
|
562
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
563
|
+
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
564
|
+
defaultOptionId: z.ZodString;
|
|
565
|
+
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
566
|
+
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.STYLE>;
|
|
567
|
+
options: z.ZodArray<z.ZodObject<{
|
|
568
|
+
id: z.ZodString;
|
|
569
|
+
title: z.ZodString;
|
|
570
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
571
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
572
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
573
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
574
|
+
}, z.core.$strip>>;
|
|
575
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
576
|
+
title: z.ZodString;
|
|
577
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
578
|
+
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
579
|
+
defaultOptionId: z.ZodString;
|
|
580
|
+
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
581
|
+
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.MAX_RESULTS>;
|
|
582
|
+
options: z.ZodArray<z.ZodObject<{
|
|
583
|
+
id: z.ZodString;
|
|
584
|
+
title: z.ZodString;
|
|
585
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
586
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
587
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
588
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
589
|
+
}, z.core.$strip>>;
|
|
590
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
591
|
+
title: z.ZodString;
|
|
592
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
593
|
+
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
594
|
+
defaultOptionId: z.ZodString;
|
|
595
|
+
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
596
|
+
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.ASPECT_RATIO>;
|
|
597
|
+
options: z.ZodArray<z.ZodObject<{
|
|
598
|
+
id: z.ZodString;
|
|
599
|
+
title: z.ZodString;
|
|
600
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
601
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
602
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
603
|
+
providerValue: z.ZodString;
|
|
604
|
+
}, z.core.$strip>>;
|
|
605
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
606
|
+
title: z.ZodString;
|
|
607
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
608
|
+
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
609
|
+
defaultOptionId: z.ZodString;
|
|
610
|
+
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
611
|
+
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.RESOLUTION>;
|
|
612
|
+
options: z.ZodArray<z.ZodObject<{
|
|
613
|
+
id: z.ZodString;
|
|
614
|
+
title: z.ZodString;
|
|
615
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
616
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
617
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
618
|
+
providerValue: z.ZodString;
|
|
619
|
+
}, z.core.$strip>>;
|
|
620
|
+
}, z.core.$strip>], "key">>>;
|
|
621
|
+
runtimeOverrides: z.ZodOptional<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]>>]>>>;
|
|
622
|
+
}, z.core.$strip>;
|
|
623
|
+
export type CreateModelToolBindingRequest = z.infer<typeof CreateModelToolBindingRequestSchema>;
|
|
624
|
+
export type UpdateModelToolBindingRequest = z.infer<typeof UpdateModelToolBindingRequestSchema>;
|
|
625
|
+
export type ToolWrite = z.infer<typeof ToolWriteSchema>;
|
|
626
|
+
export declare const DeleteToolResponseSchema: z.ZodObject<{
|
|
627
|
+
uuid: z.ZodString;
|
|
628
|
+
}, z.core.$strip>;
|
|
629
|
+
export type DeleteToolResponse = z.infer<typeof DeleteToolResponseSchema>;
|
|
630
|
+
export declare const DeleteModelToolBindingResponseSchema: z.ZodObject<{
|
|
631
|
+
uuid: z.ZodString;
|
|
632
|
+
}, z.core.$strip>;
|
|
633
|
+
export type DeleteModelToolBindingResponse = z.infer<typeof DeleteModelToolBindingResponseSchema>;
|
|
634
|
+
export declare const PublicToolWithAccessSchema: z.ZodObject<{
|
|
635
|
+
uuid: z.ZodString;
|
|
636
|
+
status: z.ZodEnum<typeof ToolStatus>;
|
|
637
|
+
title: z.ZodString;
|
|
638
|
+
order: z.ZodNumber;
|
|
639
|
+
description: z.ZodString;
|
|
640
|
+
tags: z.ZodArray<z.ZodString>;
|
|
641
|
+
visibility: z.ZodEnum<typeof import("../..").Visibility>;
|
|
642
|
+
icon: z.ZodNullable<z.ZodString>;
|
|
643
|
+
key: z.ZodString;
|
|
644
|
+
kind: z.ZodEnum<typeof ToolKind>;
|
|
645
|
+
definitionSource: z.ZodEnum<typeof ToolDefinitionSource>;
|
|
646
|
+
executorType: z.ZodEnum<typeof ToolExecutorType>;
|
|
647
|
+
riskLevel: z.ZodEnum<typeof ToolRiskLevel>;
|
|
648
|
+
uiConfig: 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]>>]>>;
|
|
649
|
+
access: z.ZodBoolean;
|
|
650
|
+
accessReason: z.ZodNullable<z.ZodEnum<typeof import("../..").AccessReason>>;
|
|
651
|
+
}, z.core.$strip>;
|
|
652
|
+
export type PublicToolWithAccess = z.infer<typeof PublicToolWithAccessSchema>;
|
|
653
|
+
export declare const PublicToolWithAccessResponseListSchema: z.ZodObject<{
|
|
654
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
655
|
+
uuid: z.ZodString;
|
|
656
|
+
status: z.ZodEnum<typeof ToolStatus>;
|
|
657
|
+
title: z.ZodString;
|
|
658
|
+
order: z.ZodNumber;
|
|
659
|
+
description: z.ZodString;
|
|
660
|
+
tags: z.ZodArray<z.ZodString>;
|
|
661
|
+
visibility: z.ZodEnum<typeof import("../..").Visibility>;
|
|
662
|
+
icon: z.ZodNullable<z.ZodString>;
|
|
663
|
+
key: z.ZodString;
|
|
664
|
+
kind: z.ZodEnum<typeof ToolKind>;
|
|
665
|
+
definitionSource: z.ZodEnum<typeof ToolDefinitionSource>;
|
|
666
|
+
executorType: z.ZodEnum<typeof ToolExecutorType>;
|
|
667
|
+
riskLevel: z.ZodEnum<typeof ToolRiskLevel>;
|
|
668
|
+
uiConfig: 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]>>]>>;
|
|
669
|
+
access: z.ZodBoolean;
|
|
670
|
+
accessReason: z.ZodNullable<z.ZodEnum<typeof import("../..").AccessReason>>;
|
|
671
|
+
}, z.core.$strip>>;
|
|
672
|
+
}, z.core.$strip>;
|
|
673
|
+
export type PublicToolWithAccessResponseList = z.infer<typeof PublicToolWithAccessResponseListSchema>;
|
|
674
|
+
export declare const ToolAvailabilityItemWithAccessSchema: z.ZodObject<{
|
|
675
|
+
tool: z.ZodObject<{
|
|
676
|
+
uuid: z.ZodString;
|
|
677
|
+
status: z.ZodEnum<typeof ToolStatus>;
|
|
678
|
+
title: z.ZodString;
|
|
679
|
+
order: z.ZodNumber;
|
|
680
|
+
description: z.ZodString;
|
|
681
|
+
tags: z.ZodArray<z.ZodString>;
|
|
682
|
+
visibility: z.ZodEnum<typeof import("../..").Visibility>;
|
|
683
|
+
icon: z.ZodNullable<z.ZodString>;
|
|
684
|
+
key: z.ZodString;
|
|
685
|
+
kind: z.ZodEnum<typeof ToolKind>;
|
|
686
|
+
definitionSource: z.ZodEnum<typeof ToolDefinitionSource>;
|
|
687
|
+
executorType: z.ZodEnum<typeof ToolExecutorType>;
|
|
688
|
+
riskLevel: z.ZodEnum<typeof ToolRiskLevel>;
|
|
689
|
+
uiConfig: 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]>>]>>;
|
|
690
|
+
access: z.ZodBoolean;
|
|
691
|
+
accessReason: z.ZodNullable<z.ZodEnum<typeof import("../..").AccessReason>>;
|
|
692
|
+
}, z.core.$strip>;
|
|
693
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
694
|
+
uuid: z.ZodString;
|
|
695
|
+
title: z.ZodString;
|
|
696
|
+
order: z.ZodNumber;
|
|
697
|
+
icon: z.ZodString;
|
|
698
|
+
models: z.ZodArray<z.ZodObject<{
|
|
699
|
+
type: z.ZodEnum<typeof import("../..").ModelType>;
|
|
700
|
+
uuid: z.ZodString;
|
|
701
|
+
title: z.ZodString;
|
|
702
|
+
order: z.ZodNumber;
|
|
703
|
+
description: z.ZodString;
|
|
704
|
+
marks: z.ZodArray<z.ZodEnum<typeof import("../..").ModelMark>>;
|
|
705
|
+
icon: z.ZodString;
|
|
706
|
+
price: z.ZodNumber;
|
|
707
|
+
speed: z.ZodNumber;
|
|
708
|
+
bestFor: z.ZodArray<z.ZodString>;
|
|
709
|
+
usageExamples: z.ZodArray<z.ZodString>;
|
|
710
|
+
inputModalities: z.ZodArray<z.ZodEnum<typeof import("../..").Modality>>;
|
|
711
|
+
outputModalities: z.ZodArray<z.ZodEnum<typeof import("../..").Modality>>;
|
|
712
|
+
modelRoles: z.ZodArray<z.ZodEnum<typeof import("../..").ModelRole>>;
|
|
713
|
+
plugins: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
714
|
+
id: z.ZodLiteral<import("../..").PluginId.WEB>;
|
|
715
|
+
price: z.ZodNumber;
|
|
716
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
717
|
+
id: z.ZodLiteral<import("../..").PluginId.REASONING>;
|
|
718
|
+
default: z.ZodEnum<typeof import("../..").ReasoningEffort>;
|
|
719
|
+
supportedValues: z.ZodArray<z.ZodObject<{
|
|
720
|
+
value: z.ZodEnum<typeof import("../..").ReasoningEffort>;
|
|
721
|
+
price: z.ZodNumber;
|
|
722
|
+
}, z.core.$strip>>;
|
|
723
|
+
}, z.core.$strip>], "id">>;
|
|
724
|
+
settings: z.ZodObject<{
|
|
725
|
+
attachments: z.ZodOptional<z.ZodObject<{
|
|
726
|
+
imagePrice: z.ZodNumber;
|
|
727
|
+
filePrice: z.ZodNumber;
|
|
728
|
+
maxImages: z.ZodNumber;
|
|
729
|
+
maxFiles: z.ZodNumber;
|
|
730
|
+
}, z.core.$strip>>;
|
|
731
|
+
}, z.core.$strip>;
|
|
732
|
+
access: z.ZodBoolean;
|
|
733
|
+
accessReason: z.ZodNullable<z.ZodEnum<typeof import("../..").AccessReason>>;
|
|
734
|
+
}, z.core.$strip>>;
|
|
735
|
+
}, z.core.$strip>>;
|
|
736
|
+
}, z.core.$strip>;
|
|
737
|
+
export type ToolAvailabilityItemWithAccess = z.infer<typeof ToolAvailabilityItemWithAccessSchema>;
|
|
738
|
+
export declare const ToolAvailabilityWithAccessResponseSchema: z.ZodObject<{
|
|
739
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
740
|
+
tool: z.ZodObject<{
|
|
741
|
+
uuid: z.ZodString;
|
|
742
|
+
status: z.ZodEnum<typeof ToolStatus>;
|
|
743
|
+
title: z.ZodString;
|
|
744
|
+
order: z.ZodNumber;
|
|
745
|
+
description: z.ZodString;
|
|
746
|
+
tags: z.ZodArray<z.ZodString>;
|
|
747
|
+
visibility: z.ZodEnum<typeof import("../..").Visibility>;
|
|
748
|
+
icon: z.ZodNullable<z.ZodString>;
|
|
749
|
+
key: z.ZodString;
|
|
750
|
+
kind: z.ZodEnum<typeof ToolKind>;
|
|
751
|
+
definitionSource: z.ZodEnum<typeof ToolDefinitionSource>;
|
|
752
|
+
executorType: z.ZodEnum<typeof ToolExecutorType>;
|
|
753
|
+
riskLevel: z.ZodEnum<typeof ToolRiskLevel>;
|
|
754
|
+
uiConfig: 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]>>]>>;
|
|
755
|
+
access: z.ZodBoolean;
|
|
756
|
+
accessReason: z.ZodNullable<z.ZodEnum<typeof import("../..").AccessReason>>;
|
|
757
|
+
}, z.core.$strip>;
|
|
758
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
759
|
+
uuid: z.ZodString;
|
|
760
|
+
title: z.ZodString;
|
|
761
|
+
order: z.ZodNumber;
|
|
762
|
+
icon: z.ZodString;
|
|
763
|
+
models: z.ZodArray<z.ZodObject<{
|
|
764
|
+
type: z.ZodEnum<typeof import("../..").ModelType>;
|
|
765
|
+
uuid: z.ZodString;
|
|
766
|
+
title: z.ZodString;
|
|
767
|
+
order: z.ZodNumber;
|
|
768
|
+
description: z.ZodString;
|
|
769
|
+
marks: z.ZodArray<z.ZodEnum<typeof import("../..").ModelMark>>;
|
|
770
|
+
icon: z.ZodString;
|
|
771
|
+
price: z.ZodNumber;
|
|
772
|
+
speed: z.ZodNumber;
|
|
773
|
+
bestFor: z.ZodArray<z.ZodString>;
|
|
774
|
+
usageExamples: z.ZodArray<z.ZodString>;
|
|
775
|
+
inputModalities: z.ZodArray<z.ZodEnum<typeof import("../..").Modality>>;
|
|
776
|
+
outputModalities: z.ZodArray<z.ZodEnum<typeof import("../..").Modality>>;
|
|
777
|
+
modelRoles: z.ZodArray<z.ZodEnum<typeof import("../..").ModelRole>>;
|
|
778
|
+
plugins: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
779
|
+
id: z.ZodLiteral<import("../..").PluginId.WEB>;
|
|
780
|
+
price: z.ZodNumber;
|
|
781
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
782
|
+
id: z.ZodLiteral<import("../..").PluginId.REASONING>;
|
|
783
|
+
default: z.ZodEnum<typeof import("../..").ReasoningEffort>;
|
|
784
|
+
supportedValues: z.ZodArray<z.ZodObject<{
|
|
785
|
+
value: z.ZodEnum<typeof import("../..").ReasoningEffort>;
|
|
786
|
+
price: z.ZodNumber;
|
|
787
|
+
}, z.core.$strip>>;
|
|
788
|
+
}, z.core.$strip>], "id">>;
|
|
789
|
+
settings: z.ZodObject<{
|
|
790
|
+
attachments: z.ZodOptional<z.ZodObject<{
|
|
791
|
+
imagePrice: z.ZodNumber;
|
|
792
|
+
filePrice: z.ZodNumber;
|
|
793
|
+
maxImages: z.ZodNumber;
|
|
794
|
+
maxFiles: z.ZodNumber;
|
|
795
|
+
}, z.core.$strip>>;
|
|
796
|
+
}, z.core.$strip>;
|
|
797
|
+
access: z.ZodBoolean;
|
|
798
|
+
accessReason: z.ZodNullable<z.ZodEnum<typeof import("../..").AccessReason>>;
|
|
799
|
+
}, z.core.$strip>>;
|
|
800
|
+
}, z.core.$strip>>;
|
|
801
|
+
}, z.core.$strip>>;
|
|
802
|
+
}, z.core.$strip>;
|
|
803
|
+
export type ToolAvailabilityWithAccessResponse = z.infer<typeof ToolAvailabilityWithAccessResponseSchema>;
|