@veruna/api-contracts 1.1.16 → 1.1.17
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/tsconfig.tsbuildinfo +1 -1
- package/build/v1/ai-model/schemas/model-settings.schema.d.ts +67 -0
- package/build/v1/ai-model/schemas/model-settings.schema.js +9 -1
- package/build/v1/ai-model/schemas/model-settings.schema.js.map +1 -1
- package/build/v1/tool/admin/commands/create-model-tool-binding.command.d.ts +52 -0
- package/build/v1/tool/admin/commands/update-model-tool-binding.command.d.ts +52 -0
- package/build/v1/tool/schemas/tool.schema.d.ts +156 -0
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare const AUTO_OPTION_ID: "auto";
|
|
2
3
|
export declare enum SettingInputType {
|
|
3
4
|
SINGLE_SELECT = "singleSelect",
|
|
4
5
|
MULTI_SELECT = "multiSelect"
|
|
@@ -51,12 +52,39 @@ export declare const SettingDefinitionSchema: z.ZodObject<{
|
|
|
51
52
|
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
52
53
|
}, z.core.$strip>;
|
|
53
54
|
export type SettingDefinition = z.infer<typeof SettingDefinitionSchema>;
|
|
55
|
+
export declare const AutoSchemaConfigSchema: z.ZodObject<{
|
|
56
|
+
paramName: z.ZodString;
|
|
57
|
+
paramDescription: z.ZodString;
|
|
58
|
+
defaultOptionId: z.ZodString;
|
|
59
|
+
autoOption: z.ZodObject<{
|
|
60
|
+
id: z.ZodString;
|
|
61
|
+
title: z.ZodString;
|
|
62
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
63
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
64
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
65
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
66
|
+
}, z.core.$strip>;
|
|
67
|
+
}, z.core.$strip>;
|
|
68
|
+
export type AutoSchemaConfig = z.infer<typeof AutoSchemaConfigSchema>;
|
|
54
69
|
export declare const SettingDefinitionWriteSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
55
70
|
title: z.ZodString;
|
|
56
71
|
icon: z.ZodOptional<z.ZodString>;
|
|
57
72
|
inputType: z.ZodEnum<typeof SettingInputType>;
|
|
58
73
|
defaultOptionId: z.ZodString;
|
|
59
74
|
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
75
|
+
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
76
|
+
paramName: z.ZodString;
|
|
77
|
+
paramDescription: z.ZodString;
|
|
78
|
+
defaultOptionId: z.ZodString;
|
|
79
|
+
autoOption: z.ZodObject<{
|
|
80
|
+
id: z.ZodString;
|
|
81
|
+
title: z.ZodString;
|
|
82
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
83
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
84
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
85
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
86
|
+
}, z.core.$strip>;
|
|
87
|
+
}, z.core.$strip>>;
|
|
60
88
|
key: z.ZodLiteral<SettingKey.STYLE>;
|
|
61
89
|
options: z.ZodArray<z.ZodObject<{
|
|
62
90
|
id: z.ZodString;
|
|
@@ -72,6 +100,19 @@ export declare const SettingDefinitionWriteSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
72
100
|
inputType: z.ZodEnum<typeof SettingInputType>;
|
|
73
101
|
defaultOptionId: z.ZodString;
|
|
74
102
|
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
103
|
+
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
104
|
+
paramName: z.ZodString;
|
|
105
|
+
paramDescription: z.ZodString;
|
|
106
|
+
defaultOptionId: z.ZodString;
|
|
107
|
+
autoOption: z.ZodObject<{
|
|
108
|
+
id: z.ZodString;
|
|
109
|
+
title: z.ZodString;
|
|
110
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
111
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
112
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
113
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
114
|
+
}, z.core.$strip>;
|
|
115
|
+
}, z.core.$strip>>;
|
|
75
116
|
key: z.ZodLiteral<SettingKey.MAX_RESULTS>;
|
|
76
117
|
options: z.ZodArray<z.ZodObject<{
|
|
77
118
|
id: z.ZodString;
|
|
@@ -87,6 +128,19 @@ export declare const SettingDefinitionWriteSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
87
128
|
inputType: z.ZodEnum<typeof SettingInputType>;
|
|
88
129
|
defaultOptionId: z.ZodString;
|
|
89
130
|
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
131
|
+
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
132
|
+
paramName: z.ZodString;
|
|
133
|
+
paramDescription: z.ZodString;
|
|
134
|
+
defaultOptionId: z.ZodString;
|
|
135
|
+
autoOption: z.ZodObject<{
|
|
136
|
+
id: z.ZodString;
|
|
137
|
+
title: z.ZodString;
|
|
138
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
139
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
140
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
141
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
142
|
+
}, z.core.$strip>;
|
|
143
|
+
}, z.core.$strip>>;
|
|
90
144
|
key: z.ZodLiteral<SettingKey.ASPECT_RATIO>;
|
|
91
145
|
options: z.ZodArray<z.ZodObject<{
|
|
92
146
|
id: z.ZodString;
|
|
@@ -102,6 +156,19 @@ export declare const SettingDefinitionWriteSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
102
156
|
inputType: z.ZodEnum<typeof SettingInputType>;
|
|
103
157
|
defaultOptionId: z.ZodString;
|
|
104
158
|
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
159
|
+
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
160
|
+
paramName: z.ZodString;
|
|
161
|
+
paramDescription: z.ZodString;
|
|
162
|
+
defaultOptionId: z.ZodString;
|
|
163
|
+
autoOption: z.ZodObject<{
|
|
164
|
+
id: z.ZodString;
|
|
165
|
+
title: z.ZodString;
|
|
166
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
167
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
168
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
169
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
170
|
+
}, z.core.$strip>;
|
|
171
|
+
}, z.core.$strip>>;
|
|
105
172
|
key: z.ZodLiteral<SettingKey.RESOLUTION>;
|
|
106
173
|
options: z.ZodArray<z.ZodObject<{
|
|
107
174
|
id: z.ZodString;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SettingSelectionSchema = exports.ModelSettingsClientSchema = exports.ModelSettingsWriteSchema = exports.ModelSettingsSchema = exports.ModelAttachmentsSettingsSchema = exports.SettingDefinitionClientSchema = exports.SettingDefinitionWriteSchema = exports.SettingDefinitionSchema = exports.SettingOptionClientSchema = exports.SettingOptionWithProviderValueSchema = exports.SettingOptionSchema = exports.SettingKey = exports.SettingInputType = void 0;
|
|
3
|
+
exports.SettingSelectionSchema = exports.ModelSettingsClientSchema = exports.ModelSettingsWriteSchema = exports.ModelSettingsSchema = exports.ModelAttachmentsSettingsSchema = exports.SettingDefinitionClientSchema = exports.SettingDefinitionWriteSchema = exports.AutoSchemaConfigSchema = exports.SettingDefinitionSchema = exports.SettingOptionClientSchema = exports.SettingOptionWithProviderValueSchema = exports.SettingOptionSchema = exports.SettingKey = exports.SettingInputType = exports.AUTO_OPTION_ID = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
exports.AUTO_OPTION_ID = 'auto';
|
|
5
6
|
var SettingInputType;
|
|
6
7
|
(function (SettingInputType) {
|
|
7
8
|
SettingInputType["SINGLE_SELECT"] = "singleSelect";
|
|
@@ -38,12 +39,19 @@ exports.SettingDefinitionSchema = zod_1.z.object({
|
|
|
38
39
|
defaultOptionId: zod_1.z.string().min(1).max(100),
|
|
39
40
|
maxSelections: zod_1.z.number().int().min(1).optional(),
|
|
40
41
|
});
|
|
42
|
+
exports.AutoSchemaConfigSchema = zod_1.z.object({
|
|
43
|
+
paramName: zod_1.z.string().min(1).max(100),
|
|
44
|
+
paramDescription: zod_1.z.string().min(1).max(500),
|
|
45
|
+
defaultOptionId: zod_1.z.string().min(1).max(100),
|
|
46
|
+
autoOption: exports.SettingOptionSchema,
|
|
47
|
+
});
|
|
41
48
|
const SettingDefinitionWriteBaseSchema = zod_1.z.object({
|
|
42
49
|
title: zod_1.z.string().min(1).max(255),
|
|
43
50
|
icon: zod_1.z.string().max(2048).optional(),
|
|
44
51
|
inputType: zod_1.z.nativeEnum(SettingInputType),
|
|
45
52
|
defaultOptionId: zod_1.z.string().min(1).max(100),
|
|
46
53
|
maxSelections: zod_1.z.number().int().min(1).optional(),
|
|
54
|
+
autoSchemaConfig: exports.AutoSchemaConfigSchema.optional(),
|
|
47
55
|
});
|
|
48
56
|
const StyleSettingDefinitionWriteSchema = SettingDefinitionWriteBaseSchema.extend({
|
|
49
57
|
key: zod_1.z.literal(SettingKey.STYLE),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-settings.schema.js","sourceRoot":"","sources":["../../../../v1/ai-model/schemas/model-settings.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;
|
|
1
|
+
{"version":3,"file":"model-settings.schema.js","sourceRoot":"","sources":["../../../../v1/ai-model/schemas/model-settings.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAMX,QAAA,cAAc,GAAG,MAAe,CAAC;AAM9C,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IACxB,kDAA8B,C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;AAOU,QAAA,yBAAyB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,WAAW,EAAE,sCAA8B,CAAC,QAAQ,EAAE;CACzD,CAAC,CAAC;AAQU,QAAA,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3C,GAAG,EAAE,OAAC,CAAC,UAAU,CAAC,UAAU,CAAC;IAE7B,SAAS,EAAE,OAAC,CAAC,KAAK,CAAC,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;CAClF,CAAC,CAAC"}
|
|
@@ -12,6 +12,19 @@ export declare namespace AdminModelToolBindingCreateCommand {
|
|
|
12
12
|
inputType: z.ZodEnum<typeof import("../../..").SettingInputType>;
|
|
13
13
|
defaultOptionId: z.ZodString;
|
|
14
14
|
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
16
|
+
paramName: z.ZodString;
|
|
17
|
+
paramDescription: z.ZodString;
|
|
18
|
+
defaultOptionId: z.ZodString;
|
|
19
|
+
autoOption: z.ZodObject<{
|
|
20
|
+
id: z.ZodString;
|
|
21
|
+
title: z.ZodString;
|
|
22
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
23
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
24
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
25
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
}, z.core.$strip>>;
|
|
15
28
|
key: z.ZodLiteral<import("../../..").SettingKey.STYLE>;
|
|
16
29
|
options: z.ZodArray<z.ZodObject<{
|
|
17
30
|
id: z.ZodString;
|
|
@@ -27,6 +40,19 @@ export declare namespace AdminModelToolBindingCreateCommand {
|
|
|
27
40
|
inputType: z.ZodEnum<typeof import("../../..").SettingInputType>;
|
|
28
41
|
defaultOptionId: z.ZodString;
|
|
29
42
|
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
43
|
+
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
44
|
+
paramName: z.ZodString;
|
|
45
|
+
paramDescription: z.ZodString;
|
|
46
|
+
defaultOptionId: z.ZodString;
|
|
47
|
+
autoOption: z.ZodObject<{
|
|
48
|
+
id: z.ZodString;
|
|
49
|
+
title: z.ZodString;
|
|
50
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
51
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
52
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
53
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
54
|
+
}, z.core.$strip>;
|
|
55
|
+
}, z.core.$strip>>;
|
|
30
56
|
key: z.ZodLiteral<import("../../..").SettingKey.MAX_RESULTS>;
|
|
31
57
|
options: z.ZodArray<z.ZodObject<{
|
|
32
58
|
id: z.ZodString;
|
|
@@ -42,6 +68,19 @@ export declare namespace AdminModelToolBindingCreateCommand {
|
|
|
42
68
|
inputType: z.ZodEnum<typeof import("../../..").SettingInputType>;
|
|
43
69
|
defaultOptionId: z.ZodString;
|
|
44
70
|
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
71
|
+
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
72
|
+
paramName: z.ZodString;
|
|
73
|
+
paramDescription: z.ZodString;
|
|
74
|
+
defaultOptionId: z.ZodString;
|
|
75
|
+
autoOption: z.ZodObject<{
|
|
76
|
+
id: z.ZodString;
|
|
77
|
+
title: z.ZodString;
|
|
78
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
79
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
80
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
81
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
82
|
+
}, z.core.$strip>;
|
|
83
|
+
}, z.core.$strip>>;
|
|
45
84
|
key: z.ZodLiteral<import("../../..").SettingKey.ASPECT_RATIO>;
|
|
46
85
|
options: z.ZodArray<z.ZodObject<{
|
|
47
86
|
id: z.ZodString;
|
|
@@ -57,6 +96,19 @@ export declare namespace AdminModelToolBindingCreateCommand {
|
|
|
57
96
|
inputType: z.ZodEnum<typeof import("../../..").SettingInputType>;
|
|
58
97
|
defaultOptionId: z.ZodString;
|
|
59
98
|
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
99
|
+
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
100
|
+
paramName: z.ZodString;
|
|
101
|
+
paramDescription: z.ZodString;
|
|
102
|
+
defaultOptionId: z.ZodString;
|
|
103
|
+
autoOption: z.ZodObject<{
|
|
104
|
+
id: z.ZodString;
|
|
105
|
+
title: z.ZodString;
|
|
106
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
107
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
108
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
109
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
110
|
+
}, z.core.$strip>;
|
|
111
|
+
}, z.core.$strip>>;
|
|
60
112
|
key: z.ZodLiteral<import("../../..").SettingKey.RESOLUTION>;
|
|
61
113
|
options: z.ZodArray<z.ZodObject<{
|
|
62
114
|
id: z.ZodString;
|
|
@@ -11,6 +11,19 @@ export declare namespace AdminModelToolBindingUpdateCommand {
|
|
|
11
11
|
inputType: z.ZodEnum<typeof import("../../..").SettingInputType>;
|
|
12
12
|
defaultOptionId: z.ZodString;
|
|
13
13
|
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
15
|
+
paramName: z.ZodString;
|
|
16
|
+
paramDescription: z.ZodString;
|
|
17
|
+
defaultOptionId: z.ZodString;
|
|
18
|
+
autoOption: z.ZodObject<{
|
|
19
|
+
id: z.ZodString;
|
|
20
|
+
title: z.ZodString;
|
|
21
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
22
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
23
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
24
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
}, z.core.$strip>>;
|
|
14
27
|
key: z.ZodLiteral<import("../../..").SettingKey.STYLE>;
|
|
15
28
|
options: z.ZodArray<z.ZodObject<{
|
|
16
29
|
id: z.ZodString;
|
|
@@ -26,6 +39,19 @@ export declare namespace AdminModelToolBindingUpdateCommand {
|
|
|
26
39
|
inputType: z.ZodEnum<typeof import("../../..").SettingInputType>;
|
|
27
40
|
defaultOptionId: z.ZodString;
|
|
28
41
|
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
42
|
+
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
43
|
+
paramName: z.ZodString;
|
|
44
|
+
paramDescription: z.ZodString;
|
|
45
|
+
defaultOptionId: z.ZodString;
|
|
46
|
+
autoOption: z.ZodObject<{
|
|
47
|
+
id: z.ZodString;
|
|
48
|
+
title: z.ZodString;
|
|
49
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
50
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
51
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
52
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
53
|
+
}, z.core.$strip>;
|
|
54
|
+
}, z.core.$strip>>;
|
|
29
55
|
key: z.ZodLiteral<import("../../..").SettingKey.MAX_RESULTS>;
|
|
30
56
|
options: z.ZodArray<z.ZodObject<{
|
|
31
57
|
id: z.ZodString;
|
|
@@ -41,6 +67,19 @@ export declare namespace AdminModelToolBindingUpdateCommand {
|
|
|
41
67
|
inputType: z.ZodEnum<typeof import("../../..").SettingInputType>;
|
|
42
68
|
defaultOptionId: z.ZodString;
|
|
43
69
|
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
70
|
+
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
71
|
+
paramName: z.ZodString;
|
|
72
|
+
paramDescription: z.ZodString;
|
|
73
|
+
defaultOptionId: z.ZodString;
|
|
74
|
+
autoOption: z.ZodObject<{
|
|
75
|
+
id: z.ZodString;
|
|
76
|
+
title: z.ZodString;
|
|
77
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
78
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
79
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
80
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
81
|
+
}, z.core.$strip>;
|
|
82
|
+
}, z.core.$strip>>;
|
|
44
83
|
key: z.ZodLiteral<import("../../..").SettingKey.ASPECT_RATIO>;
|
|
45
84
|
options: z.ZodArray<z.ZodObject<{
|
|
46
85
|
id: z.ZodString;
|
|
@@ -56,6 +95,19 @@ export declare namespace AdminModelToolBindingUpdateCommand {
|
|
|
56
95
|
inputType: z.ZodEnum<typeof import("../../..").SettingInputType>;
|
|
57
96
|
defaultOptionId: z.ZodString;
|
|
58
97
|
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
98
|
+
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
99
|
+
paramName: z.ZodString;
|
|
100
|
+
paramDescription: z.ZodString;
|
|
101
|
+
defaultOptionId: z.ZodString;
|
|
102
|
+
autoOption: z.ZodObject<{
|
|
103
|
+
id: z.ZodString;
|
|
104
|
+
title: z.ZodString;
|
|
105
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
106
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
107
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
108
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
109
|
+
}, z.core.$strip>;
|
|
110
|
+
}, z.core.$strip>>;
|
|
59
111
|
key: z.ZodLiteral<import("../../..").SettingKey.RESOLUTION>;
|
|
60
112
|
options: z.ZodArray<z.ZodObject<{
|
|
61
113
|
id: z.ZodString;
|
|
@@ -332,6 +332,19 @@ export declare const ModelToolSettingsConfigWriteSchema: z.ZodArray<z.ZodDiscrim
|
|
|
332
332
|
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
333
333
|
defaultOptionId: z.ZodString;
|
|
334
334
|
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
335
|
+
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
336
|
+
paramName: z.ZodString;
|
|
337
|
+
paramDescription: z.ZodString;
|
|
338
|
+
defaultOptionId: z.ZodString;
|
|
339
|
+
autoOption: z.ZodObject<{
|
|
340
|
+
id: z.ZodString;
|
|
341
|
+
title: z.ZodString;
|
|
342
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
343
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
344
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
345
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
346
|
+
}, z.core.$strip>;
|
|
347
|
+
}, z.core.$strip>>;
|
|
335
348
|
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.STYLE>;
|
|
336
349
|
options: z.ZodArray<z.ZodObject<{
|
|
337
350
|
id: z.ZodString;
|
|
@@ -347,6 +360,19 @@ export declare const ModelToolSettingsConfigWriteSchema: z.ZodArray<z.ZodDiscrim
|
|
|
347
360
|
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
348
361
|
defaultOptionId: z.ZodString;
|
|
349
362
|
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
363
|
+
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
364
|
+
paramName: z.ZodString;
|
|
365
|
+
paramDescription: z.ZodString;
|
|
366
|
+
defaultOptionId: z.ZodString;
|
|
367
|
+
autoOption: z.ZodObject<{
|
|
368
|
+
id: z.ZodString;
|
|
369
|
+
title: z.ZodString;
|
|
370
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
371
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
372
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
373
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
374
|
+
}, z.core.$strip>;
|
|
375
|
+
}, z.core.$strip>>;
|
|
350
376
|
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.MAX_RESULTS>;
|
|
351
377
|
options: z.ZodArray<z.ZodObject<{
|
|
352
378
|
id: z.ZodString;
|
|
@@ -362,6 +388,19 @@ export declare const ModelToolSettingsConfigWriteSchema: z.ZodArray<z.ZodDiscrim
|
|
|
362
388
|
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
363
389
|
defaultOptionId: z.ZodString;
|
|
364
390
|
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
391
|
+
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
392
|
+
paramName: z.ZodString;
|
|
393
|
+
paramDescription: z.ZodString;
|
|
394
|
+
defaultOptionId: z.ZodString;
|
|
395
|
+
autoOption: z.ZodObject<{
|
|
396
|
+
id: z.ZodString;
|
|
397
|
+
title: z.ZodString;
|
|
398
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
399
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
400
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
401
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
402
|
+
}, z.core.$strip>;
|
|
403
|
+
}, z.core.$strip>>;
|
|
365
404
|
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.ASPECT_RATIO>;
|
|
366
405
|
options: z.ZodArray<z.ZodObject<{
|
|
367
406
|
id: z.ZodString;
|
|
@@ -377,6 +416,19 @@ export declare const ModelToolSettingsConfigWriteSchema: z.ZodArray<z.ZodDiscrim
|
|
|
377
416
|
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
378
417
|
defaultOptionId: z.ZodString;
|
|
379
418
|
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
419
|
+
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
420
|
+
paramName: z.ZodString;
|
|
421
|
+
paramDescription: z.ZodString;
|
|
422
|
+
defaultOptionId: z.ZodString;
|
|
423
|
+
autoOption: z.ZodObject<{
|
|
424
|
+
id: z.ZodString;
|
|
425
|
+
title: z.ZodString;
|
|
426
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
427
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
428
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
429
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
430
|
+
}, z.core.$strip>;
|
|
431
|
+
}, z.core.$strip>>;
|
|
380
432
|
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.RESOLUTION>;
|
|
381
433
|
options: z.ZodArray<z.ZodObject<{
|
|
382
434
|
id: z.ZodString;
|
|
@@ -496,6 +548,19 @@ export declare const CreateModelToolBindingRequestSchema: z.ZodObject<{
|
|
|
496
548
|
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
497
549
|
defaultOptionId: z.ZodString;
|
|
498
550
|
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
551
|
+
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
552
|
+
paramName: z.ZodString;
|
|
553
|
+
paramDescription: z.ZodString;
|
|
554
|
+
defaultOptionId: z.ZodString;
|
|
555
|
+
autoOption: z.ZodObject<{
|
|
556
|
+
id: z.ZodString;
|
|
557
|
+
title: z.ZodString;
|
|
558
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
559
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
560
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
561
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
562
|
+
}, z.core.$strip>;
|
|
563
|
+
}, z.core.$strip>>;
|
|
499
564
|
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.STYLE>;
|
|
500
565
|
options: z.ZodArray<z.ZodObject<{
|
|
501
566
|
id: z.ZodString;
|
|
@@ -511,6 +576,19 @@ export declare const CreateModelToolBindingRequestSchema: z.ZodObject<{
|
|
|
511
576
|
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
512
577
|
defaultOptionId: z.ZodString;
|
|
513
578
|
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
579
|
+
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
580
|
+
paramName: z.ZodString;
|
|
581
|
+
paramDescription: z.ZodString;
|
|
582
|
+
defaultOptionId: z.ZodString;
|
|
583
|
+
autoOption: z.ZodObject<{
|
|
584
|
+
id: z.ZodString;
|
|
585
|
+
title: z.ZodString;
|
|
586
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
587
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
588
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
589
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
590
|
+
}, z.core.$strip>;
|
|
591
|
+
}, z.core.$strip>>;
|
|
514
592
|
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.MAX_RESULTS>;
|
|
515
593
|
options: z.ZodArray<z.ZodObject<{
|
|
516
594
|
id: z.ZodString;
|
|
@@ -526,6 +604,19 @@ export declare const CreateModelToolBindingRequestSchema: z.ZodObject<{
|
|
|
526
604
|
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
527
605
|
defaultOptionId: z.ZodString;
|
|
528
606
|
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
607
|
+
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
608
|
+
paramName: z.ZodString;
|
|
609
|
+
paramDescription: z.ZodString;
|
|
610
|
+
defaultOptionId: z.ZodString;
|
|
611
|
+
autoOption: z.ZodObject<{
|
|
612
|
+
id: z.ZodString;
|
|
613
|
+
title: z.ZodString;
|
|
614
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
615
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
616
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
617
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
618
|
+
}, z.core.$strip>;
|
|
619
|
+
}, z.core.$strip>>;
|
|
529
620
|
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.ASPECT_RATIO>;
|
|
530
621
|
options: z.ZodArray<z.ZodObject<{
|
|
531
622
|
id: z.ZodString;
|
|
@@ -541,6 +632,19 @@ export declare const CreateModelToolBindingRequestSchema: z.ZodObject<{
|
|
|
541
632
|
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
542
633
|
defaultOptionId: z.ZodString;
|
|
543
634
|
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
635
|
+
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
636
|
+
paramName: z.ZodString;
|
|
637
|
+
paramDescription: z.ZodString;
|
|
638
|
+
defaultOptionId: z.ZodString;
|
|
639
|
+
autoOption: z.ZodObject<{
|
|
640
|
+
id: z.ZodString;
|
|
641
|
+
title: z.ZodString;
|
|
642
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
643
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
644
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
645
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
646
|
+
}, z.core.$strip>;
|
|
647
|
+
}, z.core.$strip>>;
|
|
544
648
|
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.RESOLUTION>;
|
|
545
649
|
options: z.ZodArray<z.ZodObject<{
|
|
546
650
|
id: z.ZodString;
|
|
@@ -563,6 +667,19 @@ export declare const UpdateModelToolBindingRequestSchema: z.ZodObject<{
|
|
|
563
667
|
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
564
668
|
defaultOptionId: z.ZodString;
|
|
565
669
|
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
670
|
+
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
671
|
+
paramName: z.ZodString;
|
|
672
|
+
paramDescription: z.ZodString;
|
|
673
|
+
defaultOptionId: z.ZodString;
|
|
674
|
+
autoOption: z.ZodObject<{
|
|
675
|
+
id: z.ZodString;
|
|
676
|
+
title: z.ZodString;
|
|
677
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
678
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
679
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
680
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
681
|
+
}, z.core.$strip>;
|
|
682
|
+
}, z.core.$strip>>;
|
|
566
683
|
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.STYLE>;
|
|
567
684
|
options: z.ZodArray<z.ZodObject<{
|
|
568
685
|
id: z.ZodString;
|
|
@@ -578,6 +695,19 @@ export declare const UpdateModelToolBindingRequestSchema: z.ZodObject<{
|
|
|
578
695
|
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
579
696
|
defaultOptionId: z.ZodString;
|
|
580
697
|
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
698
|
+
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
699
|
+
paramName: z.ZodString;
|
|
700
|
+
paramDescription: z.ZodString;
|
|
701
|
+
defaultOptionId: z.ZodString;
|
|
702
|
+
autoOption: z.ZodObject<{
|
|
703
|
+
id: z.ZodString;
|
|
704
|
+
title: z.ZodString;
|
|
705
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
706
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
707
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
708
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
709
|
+
}, z.core.$strip>;
|
|
710
|
+
}, z.core.$strip>>;
|
|
581
711
|
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.MAX_RESULTS>;
|
|
582
712
|
options: z.ZodArray<z.ZodObject<{
|
|
583
713
|
id: z.ZodString;
|
|
@@ -593,6 +723,19 @@ export declare const UpdateModelToolBindingRequestSchema: z.ZodObject<{
|
|
|
593
723
|
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
594
724
|
defaultOptionId: z.ZodString;
|
|
595
725
|
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
726
|
+
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
727
|
+
paramName: z.ZodString;
|
|
728
|
+
paramDescription: z.ZodString;
|
|
729
|
+
defaultOptionId: z.ZodString;
|
|
730
|
+
autoOption: z.ZodObject<{
|
|
731
|
+
id: z.ZodString;
|
|
732
|
+
title: z.ZodString;
|
|
733
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
734
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
735
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
736
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
737
|
+
}, z.core.$strip>;
|
|
738
|
+
}, z.core.$strip>>;
|
|
596
739
|
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.ASPECT_RATIO>;
|
|
597
740
|
options: z.ZodArray<z.ZodObject<{
|
|
598
741
|
id: z.ZodString;
|
|
@@ -608,6 +751,19 @@ export declare const UpdateModelToolBindingRequestSchema: z.ZodObject<{
|
|
|
608
751
|
inputType: z.ZodEnum<typeof import("../../ai-model/schemas/model-settings.schema").SettingInputType>;
|
|
609
752
|
defaultOptionId: z.ZodString;
|
|
610
753
|
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
754
|
+
autoSchemaConfig: z.ZodOptional<z.ZodObject<{
|
|
755
|
+
paramName: z.ZodString;
|
|
756
|
+
paramDescription: z.ZodString;
|
|
757
|
+
defaultOptionId: z.ZodString;
|
|
758
|
+
autoOption: z.ZodObject<{
|
|
759
|
+
id: z.ZodString;
|
|
760
|
+
title: z.ZodString;
|
|
761
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
762
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
763
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
764
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
765
|
+
}, z.core.$strip>;
|
|
766
|
+
}, z.core.$strip>>;
|
|
611
767
|
key: z.ZodLiteral<import("../../ai-model/schemas/model-settings.schema").SettingKey.RESOLUTION>;
|
|
612
768
|
options: z.ZodArray<z.ZodObject<{
|
|
613
769
|
id: z.ZodString;
|