@veruna/api-contracts 21.6.0 → 21.7.0
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/resolved-tool-settings.types.d.ts +7 -2
- package/build/v1/ai/resolved-tool-settings.types.js.map +1 -1
- package/build/v1/ai-model/schemas/model-settings.schema.d.ts +47 -7
- package/build/v1/ai-model/schemas/model-settings.schema.js +18 -7
- package/build/v1/ai-model/schemas/model-settings.schema.js.map +1 -1
- package/build/v1/ai-model/schemas/setting-key.enum.d.ts +3 -1
- package/build/v1/ai-model/schemas/setting-key.enum.js +3 -1
- package/build/v1/ai-model/schemas/setting-key.enum.js.map +1 -1
- package/build/v1/model-route/admin/commands/create-model-route.command.d.ts +8 -0
- package/build/v1/model-route/admin/commands/update-model-route.command.d.ts +8 -0
- package/build/v1/model-route/admin/queries/get-model-route.query.d.ts +4 -0
- package/build/v1/model-route/admin/queries/list-model-routes-by-model.query.d.ts +4 -0
- package/build/v1/model-route/schemas/create-model-route-request.schema.d.ts +4 -0
- package/build/v1/model-route/schemas/list-model-routes-response.schema.d.ts +4 -0
- package/build/v1/model-route/schemas/model-route-response.schema.d.ts +4 -0
- package/build/v1/model-route/schemas/provider-generation-config.schema.d.ts +11 -0
- package/build/v1/model-route/schemas/provider-generation-config.schema.js +5 -2
- package/build/v1/model-route/schemas/provider-generation-config.schema.js.map +1 -1
- package/build/v1/model-route/schemas/update-model-route-request.schema.d.ts +4 -0
- package/build/v1/tool/admin/commands/create-model-tool-binding.command.d.ts +84 -0
- package/build/v1/tool/admin/commands/update-model-tool-binding.command.d.ts +84 -0
- package/build/v1/tool/admin/queries/get-model-tool-bindings.query.d.ts +42 -0
- package/build/v1/tool/schemas/tool.schema.d.ts +210 -0
- package/build-esm/.tsbuildinfo +1 -1
- package/build-esm/v1/ai/resolved-tool-settings.types.js.map +1 -1
- package/build-esm/v1/ai-model/schemas/model-settings.schema.js +18 -7
- package/build-esm/v1/ai-model/schemas/model-settings.schema.js.map +1 -1
- package/build-esm/v1/ai-model/schemas/setting-key.enum.js +3 -1
- package/build-esm/v1/ai-model/schemas/setting-key.enum.js.map +1 -1
- package/build-esm/v1/model-route/schemas/provider-generation-config.schema.js +5 -2
- package/build-esm/v1/model-route/schemas/provider-generation-config.schema.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { SettingKey } from '../ai-model/schemas/setting-key.enum';
|
|
3
|
-
import { SettingOption } from '../ai-model/schemas/model-settings.schema';
|
|
4
|
-
import { AutoSchemaConfig } from '../ai-model/schemas/model-settings.schema';
|
|
3
|
+
import { AutoSchemaConfig, SettingOption } from '../ai-model/schemas/model-settings.schema';
|
|
5
4
|
export declare const ToolRuntimeOverridesSchema: z.ZodObject<{
|
|
6
5
|
openrouter: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
7
6
|
kie: z.ZodOptional<z.ZodObject<{
|
|
@@ -14,11 +13,16 @@ export declare const ToolRuntimeOverridesSchema: z.ZodObject<{
|
|
|
14
13
|
}, z.core.$strict>>;
|
|
15
14
|
}, z.core.$strict>;
|
|
16
15
|
export type ToolRuntimeOverrides = z.infer<typeof ToolRuntimeOverridesSchema>;
|
|
16
|
+
/** A setting of a tool the chat model fills in: it picks one of `allOptions` through `autoSchemaConfig.paramName`. */
|
|
17
17
|
export interface ResolvedSetting {
|
|
18
18
|
key: SettingKey;
|
|
19
|
+
/** The default option alone; used when the chat model passes no value or one that is not an option id. */
|
|
19
20
|
options: SettingOption[];
|
|
21
|
+
/** @deprecated Not read. */
|
|
20
22
|
totalPriceModifier: number;
|
|
23
|
+
/** @deprecated The default option's suffix; the prompt takes the suffix of the option the chat model chose. */
|
|
21
24
|
promptSuffix?: string;
|
|
25
|
+
/** @deprecated Always true: the chat model chooses every setting; there is no fixed mode. */
|
|
22
26
|
isAuto: boolean;
|
|
23
27
|
autoSchemaConfig: AutoSchemaConfig;
|
|
24
28
|
allOptions: SettingOption[];
|
|
@@ -27,6 +31,7 @@ export interface ResolvedToolSettings {
|
|
|
27
31
|
toolUuid: string;
|
|
28
32
|
toolKey: string;
|
|
29
33
|
settings: ResolvedSetting[];
|
|
34
|
+
/** @deprecated Not read. */
|
|
30
35
|
totalPriceModifier: number;
|
|
31
36
|
runtimeOverrides: ToolRuntimeOverrides;
|
|
32
37
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolved-tool-settings.types.js","sourceRoot":"","sources":["../../../v1/ai/resolved-tool-settings.types.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;
|
|
1
|
+
{"version":3,"file":"resolved-tool-settings.types.js","sourceRoot":"","sources":["../../../v1/ai/resolved-tool-settings.types.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAGxB,yGAAkG;AAErF,QAAA,0BAA0B,GAAG,OAAC;KACtC,MAAM,CAAC;IACJ,UAAU,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5C,GAAG,EAAE,iEAA6B,CAAC,QAAQ,EAAE;CAChD,CAAC;KACD,MAAM,EAAE,CAAC"}
|
|
@@ -10,14 +10,12 @@ import { SettingKey } from './setting-key.enum';
|
|
|
10
10
|
*/
|
|
11
11
|
export declare const SETTING_PRICE_DELTA_MAX = 100000000;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
14
|
-
* (e.g. KIE base + Σ priceModifier yields the credit cost). External cost
|
|
15
|
-
* computation only — do NOT confuse with user-facing price.
|
|
13
|
+
* One option the chat model may pick for a setting; its `id` is what the tool parameter takes.
|
|
16
14
|
*
|
|
17
|
-
* `priceDelta`
|
|
18
|
-
*
|
|
19
|
-
* the
|
|
20
|
-
*
|
|
15
|
+
* Nothing reads `priceModifier`, `priceDelta`, `providerValue`, `providerValues` (deprecated): the hold of a tool
|
|
16
|
+
* step does not depend on its options, the KIE estimate reads the route's `kie.pricing.modifiers`, and the value
|
|
17
|
+
* sent to a provider is the route option's `wireValue`. They stay because stored settings and the admin form carry
|
|
18
|
+
* them and the schema is strict.
|
|
21
19
|
*/
|
|
22
20
|
export declare const SettingOptionSchema: z.ZodObject<{
|
|
23
21
|
id: z.ZodString;
|
|
@@ -146,5 +144,47 @@ export declare const SettingDefinitionWriteSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
146
144
|
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
147
145
|
providerValue: z.ZodString;
|
|
148
146
|
}, z.core.$strict>>;
|
|
147
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
148
|
+
options: z.ZodArray<z.ZodObject<{
|
|
149
|
+
id: z.ZodString;
|
|
150
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
151
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
152
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
153
|
+
providerValues: z.ZodOptional<z.ZodObject<{
|
|
154
|
+
OPENROUTER: z.ZodOptional<z.ZodString>;
|
|
155
|
+
KIE: z.ZodOptional<z.ZodString>;
|
|
156
|
+
WELLFLOW: z.ZodOptional<z.ZodString>;
|
|
157
|
+
PERPLEXITY: z.ZodOptional<z.ZodString>;
|
|
158
|
+
YANDEX: z.ZodOptional<z.ZodString>;
|
|
159
|
+
}, z.core.$strict>>;
|
|
160
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
161
|
+
}, z.core.$strict>>;
|
|
162
|
+
defaultOptionId: z.ZodString;
|
|
163
|
+
autoSchemaConfig: z.ZodObject<{
|
|
164
|
+
paramName: z.ZodString;
|
|
165
|
+
paramDescription: z.ZodString;
|
|
166
|
+
}, z.core.$strict>;
|
|
167
|
+
key: z.ZodLiteral<SettingKey.QUALITY>;
|
|
168
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
169
|
+
options: z.ZodArray<z.ZodObject<{
|
|
170
|
+
id: z.ZodString;
|
|
171
|
+
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
172
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
173
|
+
providerValue: z.ZodOptional<z.ZodString>;
|
|
174
|
+
providerValues: z.ZodOptional<z.ZodObject<{
|
|
175
|
+
OPENROUTER: z.ZodOptional<z.ZodString>;
|
|
176
|
+
KIE: z.ZodOptional<z.ZodString>;
|
|
177
|
+
WELLFLOW: z.ZodOptional<z.ZodString>;
|
|
178
|
+
PERPLEXITY: z.ZodOptional<z.ZodString>;
|
|
179
|
+
YANDEX: z.ZodOptional<z.ZodString>;
|
|
180
|
+
}, z.core.$strict>>;
|
|
181
|
+
promptSuffix: z.ZodOptional<z.ZodString>;
|
|
182
|
+
}, z.core.$strict>>;
|
|
183
|
+
defaultOptionId: z.ZodString;
|
|
184
|
+
autoSchemaConfig: z.ZodObject<{
|
|
185
|
+
paramName: z.ZodString;
|
|
186
|
+
paramDescription: z.ZodString;
|
|
187
|
+
}, z.core.$strict>;
|
|
188
|
+
key: z.ZodLiteral<SettingKey.BACKGROUND>;
|
|
149
189
|
}, z.core.$strict>], "key">;
|
|
150
190
|
export type SettingDefinitionWrite = z.infer<typeof SettingDefinitionWriteSchema>;
|
|
@@ -23,30 +23,33 @@ const ProviderValueRecordSchema = zod_1.z
|
|
|
23
23
|
*/
|
|
24
24
|
exports.SETTING_PRICE_DELTA_MAX = 100_000_000;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
27
|
-
* (e.g. KIE base + Σ priceModifier yields the credit cost). External cost
|
|
28
|
-
* computation only — do NOT confuse with user-facing price.
|
|
26
|
+
* One option the chat model may pick for a setting; its `id` is what the tool parameter takes.
|
|
29
27
|
*
|
|
30
|
-
* `priceDelta`
|
|
31
|
-
*
|
|
32
|
-
* the
|
|
33
|
-
*
|
|
28
|
+
* Nothing reads `priceModifier`, `priceDelta`, `providerValue`, `providerValues` (deprecated): the hold of a tool
|
|
29
|
+
* step does not depend on its options, the KIE estimate reads the route's `kie.pricing.modifiers`, and the value
|
|
30
|
+
* sent to a provider is the route option's `wireValue`. They stay because stored settings and the admin form carry
|
|
31
|
+
* them and the schema is strict.
|
|
34
32
|
*/
|
|
35
33
|
exports.SettingOptionSchema = zod_1.z
|
|
36
34
|
.object({
|
|
37
35
|
id: zod_1.z.string().min(1).max(100),
|
|
36
|
+
/** @deprecated Not read. */
|
|
38
37
|
priceModifier: zod_1.z.number().int().min(0).default(0),
|
|
38
|
+
/** @deprecated Not read. */
|
|
39
39
|
priceDelta: zod_1.z
|
|
40
40
|
.number({ error: 'SettingOption.priceDelta.invalid' })
|
|
41
41
|
.int({ message: 'SettingOption.priceDelta.invalid' })
|
|
42
42
|
.min(0, { message: 'SettingOption.priceDelta.min' })
|
|
43
43
|
.max(exports.SETTING_PRICE_DELTA_MAX, { message: 'SettingOption.priceDelta.max' })
|
|
44
44
|
.default(0),
|
|
45
|
+
/** @deprecated Not read: the wire value is the route option's `wireValue`. */
|
|
45
46
|
providerValue: zod_1.z.string().max(1000).optional(),
|
|
47
|
+
/** @deprecated Not read. */
|
|
46
48
|
providerValues: ProviderValueRecordSchema.optional(),
|
|
47
49
|
promptSuffix: zod_1.z.string().min(1).max(5000).optional(),
|
|
48
50
|
})
|
|
49
51
|
.strict();
|
|
52
|
+
/** @deprecated The required `providerValue` of ASPECT_RATIO / RESOLUTION options is not read; kept for compatibility. */
|
|
50
53
|
const SettingOptionWithProviderValueSchema = exports.SettingOptionSchema.extend({
|
|
51
54
|
providerValue: zod_1.z.string().trim().min(1).max(1000),
|
|
52
55
|
});
|
|
@@ -78,10 +81,18 @@ const ResolutionWriteSchema = exports.SettingDefinitionSchema.extend({
|
|
|
78
81
|
key: zod_1.z.literal(setting_key_enum_1.SettingKey.RESOLUTION),
|
|
79
82
|
options: zod_1.z.array(SettingOptionWithProviderValueSchema).min(1).max(100),
|
|
80
83
|
});
|
|
84
|
+
const QualityWriteSchema = exports.SettingDefinitionSchema.extend({
|
|
85
|
+
key: zod_1.z.literal(setting_key_enum_1.SettingKey.QUALITY),
|
|
86
|
+
});
|
|
87
|
+
const BackgroundWriteSchema = exports.SettingDefinitionSchema.extend({
|
|
88
|
+
key: zod_1.z.literal(setting_key_enum_1.SettingKey.BACKGROUND),
|
|
89
|
+
});
|
|
81
90
|
exports.SettingDefinitionWriteSchema = zod_1.z.discriminatedUnion('key', [
|
|
82
91
|
StyleWriteSchema,
|
|
83
92
|
MaxResultsWriteSchema,
|
|
84
93
|
AspectRatioWriteSchema,
|
|
85
94
|
ResolutionWriteSchema,
|
|
95
|
+
QualityWriteSchema,
|
|
96
|
+
BackgroundWriteSchema,
|
|
86
97
|
]);
|
|
87
98
|
//# sourceMappingURL=model-settings.schema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-settings.schema.js","sourceRoot":"","sources":["../../../../v1/ai-model/schemas/model-settings.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,2DAAkD;AAClD,yDAAgD;AAEhD,MAAM,yBAAyB,GAAG,OAAC;KAC9B,MAAM,CAAC;IACJ,CAAC,+BAAW,CAAC,UAAU,CAAC,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;IAChE,CAAC,+BAAW,CAAC,GAAG,CAAC,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;IACzD,CAAC,+BAAW,CAAC,QAAQ,CAAC,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;IAC9D,CAAC,+BAAW,CAAC,UAAU,CAAC,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAA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B,CAAC,MAAM,CAAC;IACzD,GAAG,EAAE,OAAC,CAAC,OAAO,CAAC,6BAAU,CAAC,UAAU,CAAC;IACrC,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,oCAAoC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;CACzE,CAAC,CAAC;AACH,MAAM,kBAAkB,GAAG,+BAAuB,CAAC,MAAM,CAAC;IACtD,GAAG,EAAE,OAAC,CAAC,OAAO,CAAC,6BAAU,CAAC,OAAO,CAAC;CACrC,CAAC,CAAC;AACH,MAAM,qBAAqB,GAAG,+BAAuB,CAAC,MAAM,CAAC;IACzD,GAAG,EAAE,OAAC,CAAC,OAAO,CAAC,6BAAU,CAAC,UAAU,CAAC;CACxC,CAAC,CAAC;AAEU,QAAA,4BAA4B,GAAG,OAAC,CAAC,kBAAkB,CAAC,KAAK,EAAE;IACpE,gBAAgB;IAChB,qBAAqB;IACrB,sBAAsB;IACtB,qBAAqB;IACrB,kBAAkB;IAClB,qBAAqB;CACxB,CAAC,CAAC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Setting key — identifies which dimension a model setting controls
|
|
3
|
-
* (style, aspect ratio, resolution, max-results
|
|
3
|
+
* (style, aspect ratio, resolution, quality, background, max-results).
|
|
4
4
|
*/
|
|
5
5
|
export declare enum SettingKey {
|
|
6
6
|
STYLE = "STYLE",
|
|
7
7
|
ASPECT_RATIO = "ASPECT_RATIO",
|
|
8
8
|
RESOLUTION = "RESOLUTION",
|
|
9
|
+
QUALITY = "QUALITY",
|
|
10
|
+
BACKGROUND = "BACKGROUND",
|
|
9
11
|
MAX_RESULTS = "MAX_RESULTS"
|
|
10
12
|
}
|
|
@@ -3,13 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.SettingKey = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* Setting key — identifies which dimension a model setting controls
|
|
6
|
-
* (style, aspect ratio, resolution, max-results
|
|
6
|
+
* (style, aspect ratio, resolution, quality, background, max-results).
|
|
7
7
|
*/
|
|
8
8
|
var SettingKey;
|
|
9
9
|
(function (SettingKey) {
|
|
10
10
|
SettingKey["STYLE"] = "STYLE";
|
|
11
11
|
SettingKey["ASPECT_RATIO"] = "ASPECT_RATIO";
|
|
12
12
|
SettingKey["RESOLUTION"] = "RESOLUTION";
|
|
13
|
+
SettingKey["QUALITY"] = "QUALITY";
|
|
14
|
+
SettingKey["BACKGROUND"] = "BACKGROUND";
|
|
13
15
|
SettingKey["MAX_RESULTS"] = "MAX_RESULTS";
|
|
14
16
|
})(SettingKey || (exports.SettingKey = SettingKey = {}));
|
|
15
17
|
//# sourceMappingURL=setting-key.enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setting-key.enum.js","sourceRoot":"","sources":["../../../../v1/ai-model/schemas/setting-key.enum.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,IAAY,
|
|
1
|
+
{"version":3,"file":"setting-key.enum.js","sourceRoot":"","sources":["../../../../v1/ai-model/schemas/setting-key.enum.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,IAAY,UAOX;AAPD,WAAY,UAAU;IAClB,6BAAe,CAAA;IACf,2CAA6B,CAAA;IAC7B,uCAAyB,CAAA;IACzB,iCAAmB,CAAA;IACnB,uCAAyB,CAAA;IACzB,yCAA2B,CAAA;AAC/B,CAAC,EAPW,UAAU,0BAAV,UAAU,QAOrB"}
|
|
@@ -13,6 +13,8 @@ export declare namespace AdminModelRouteCreateCommand {
|
|
|
13
13
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
14
14
|
aspect_ratio: z.ZodOptional<z.ZodString>;
|
|
15
15
|
image_size: z.ZodOptional<z.ZodString>;
|
|
16
|
+
quality: z.ZodOptional<z.ZodString>;
|
|
17
|
+
background: z.ZodOptional<z.ZodString>;
|
|
16
18
|
}, z.core.$strict>>;
|
|
17
19
|
inputImagesAsDataUri: z.ZodOptional<z.ZodBoolean>;
|
|
18
20
|
provider: z.ZodOptional<z.ZodObject<{
|
|
@@ -45,6 +47,7 @@ export declare namespace AdminModelRouteCreateCommand {
|
|
|
45
47
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
46
48
|
size: z.ZodOptional<z.ZodString>;
|
|
47
49
|
quality: z.ZodOptional<z.ZodString>;
|
|
50
|
+
background: z.ZodOptional<z.ZodString>;
|
|
48
51
|
n: z.ZodOptional<z.ZodNumber>;
|
|
49
52
|
}, z.core.$strict>>;
|
|
50
53
|
}, z.core.$strict>>;
|
|
@@ -54,6 +57,7 @@ export declare namespace AdminModelRouteCreateCommand {
|
|
|
54
57
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
55
58
|
size: z.ZodOptional<z.ZodString>;
|
|
56
59
|
quality: z.ZodOptional<z.ZodString>;
|
|
60
|
+
background: z.ZodOptional<z.ZodString>;
|
|
57
61
|
n: z.ZodOptional<z.ZodNumber>;
|
|
58
62
|
}, z.core.$strict>>;
|
|
59
63
|
}, z.core.$strict>>;
|
|
@@ -96,6 +100,8 @@ export declare namespace AdminModelRouteCreateCommand {
|
|
|
96
100
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
97
101
|
aspect_ratio: z.ZodOptional<z.ZodString>;
|
|
98
102
|
image_size: z.ZodOptional<z.ZodString>;
|
|
103
|
+
quality: z.ZodOptional<z.ZodString>;
|
|
104
|
+
background: z.ZodOptional<z.ZodString>;
|
|
99
105
|
}, z.core.$strict>>;
|
|
100
106
|
inputImagesAsDataUri: z.ZodOptional<z.ZodBoolean>;
|
|
101
107
|
provider: z.ZodOptional<z.ZodObject<{
|
|
@@ -128,6 +134,7 @@ export declare namespace AdminModelRouteCreateCommand {
|
|
|
128
134
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
129
135
|
size: z.ZodOptional<z.ZodString>;
|
|
130
136
|
quality: z.ZodOptional<z.ZodString>;
|
|
137
|
+
background: z.ZodOptional<z.ZodString>;
|
|
131
138
|
n: z.ZodOptional<z.ZodNumber>;
|
|
132
139
|
}, z.core.$strict>>;
|
|
133
140
|
}, z.core.$strict>>;
|
|
@@ -137,6 +144,7 @@ export declare namespace AdminModelRouteCreateCommand {
|
|
|
137
144
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
138
145
|
size: z.ZodOptional<z.ZodString>;
|
|
139
146
|
quality: z.ZodOptional<z.ZodString>;
|
|
147
|
+
background: z.ZodOptional<z.ZodString>;
|
|
140
148
|
n: z.ZodOptional<z.ZodNumber>;
|
|
141
149
|
}, z.core.$strict>>;
|
|
142
150
|
}, z.core.$strict>>;
|
|
@@ -10,6 +10,8 @@ export declare namespace AdminModelRouteUpdateCommand {
|
|
|
10
10
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
11
11
|
aspect_ratio: z.ZodOptional<z.ZodString>;
|
|
12
12
|
image_size: z.ZodOptional<z.ZodString>;
|
|
13
|
+
quality: z.ZodOptional<z.ZodString>;
|
|
14
|
+
background: z.ZodOptional<z.ZodString>;
|
|
13
15
|
}, z.core.$strict>>;
|
|
14
16
|
inputImagesAsDataUri: z.ZodOptional<z.ZodBoolean>;
|
|
15
17
|
provider: z.ZodOptional<z.ZodObject<{
|
|
@@ -42,6 +44,7 @@ export declare namespace AdminModelRouteUpdateCommand {
|
|
|
42
44
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
43
45
|
size: z.ZodOptional<z.ZodString>;
|
|
44
46
|
quality: z.ZodOptional<z.ZodString>;
|
|
47
|
+
background: z.ZodOptional<z.ZodString>;
|
|
45
48
|
n: z.ZodOptional<z.ZodNumber>;
|
|
46
49
|
}, z.core.$strict>>;
|
|
47
50
|
}, z.core.$strict>>;
|
|
@@ -51,6 +54,7 @@ export declare namespace AdminModelRouteUpdateCommand {
|
|
|
51
54
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
52
55
|
size: z.ZodOptional<z.ZodString>;
|
|
53
56
|
quality: z.ZodOptional<z.ZodString>;
|
|
57
|
+
background: z.ZodOptional<z.ZodString>;
|
|
54
58
|
n: z.ZodOptional<z.ZodNumber>;
|
|
55
59
|
}, z.core.$strict>>;
|
|
56
60
|
}, z.core.$strict>>;
|
|
@@ -93,6 +97,8 @@ export declare namespace AdminModelRouteUpdateCommand {
|
|
|
93
97
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
94
98
|
aspect_ratio: z.ZodOptional<z.ZodString>;
|
|
95
99
|
image_size: z.ZodOptional<z.ZodString>;
|
|
100
|
+
quality: z.ZodOptional<z.ZodString>;
|
|
101
|
+
background: z.ZodOptional<z.ZodString>;
|
|
96
102
|
}, z.core.$strict>>;
|
|
97
103
|
inputImagesAsDataUri: z.ZodOptional<z.ZodBoolean>;
|
|
98
104
|
provider: z.ZodOptional<z.ZodObject<{
|
|
@@ -125,6 +131,7 @@ export declare namespace AdminModelRouteUpdateCommand {
|
|
|
125
131
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
126
132
|
size: z.ZodOptional<z.ZodString>;
|
|
127
133
|
quality: z.ZodOptional<z.ZodString>;
|
|
134
|
+
background: z.ZodOptional<z.ZodString>;
|
|
128
135
|
n: z.ZodOptional<z.ZodNumber>;
|
|
129
136
|
}, z.core.$strict>>;
|
|
130
137
|
}, z.core.$strict>>;
|
|
@@ -134,6 +141,7 @@ export declare namespace AdminModelRouteUpdateCommand {
|
|
|
134
141
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
135
142
|
size: z.ZodOptional<z.ZodString>;
|
|
136
143
|
quality: z.ZodOptional<z.ZodString>;
|
|
144
|
+
background: z.ZodOptional<z.ZodString>;
|
|
137
145
|
n: z.ZodOptional<z.ZodNumber>;
|
|
138
146
|
}, z.core.$strict>>;
|
|
139
147
|
}, z.core.$strict>>;
|
|
@@ -15,6 +15,8 @@ export declare namespace AdminModelRouteGetQuery {
|
|
|
15
15
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
16
16
|
aspect_ratio: z.ZodOptional<z.ZodString>;
|
|
17
17
|
image_size: z.ZodOptional<z.ZodString>;
|
|
18
|
+
quality: z.ZodOptional<z.ZodString>;
|
|
19
|
+
background: z.ZodOptional<z.ZodString>;
|
|
18
20
|
}, z.core.$strict>>;
|
|
19
21
|
inputImagesAsDataUri: z.ZodOptional<z.ZodBoolean>;
|
|
20
22
|
provider: z.ZodOptional<z.ZodObject<{
|
|
@@ -47,6 +49,7 @@ export declare namespace AdminModelRouteGetQuery {
|
|
|
47
49
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
48
50
|
size: z.ZodOptional<z.ZodString>;
|
|
49
51
|
quality: z.ZodOptional<z.ZodString>;
|
|
52
|
+
background: z.ZodOptional<z.ZodString>;
|
|
50
53
|
n: z.ZodOptional<z.ZodNumber>;
|
|
51
54
|
}, z.core.$strict>>;
|
|
52
55
|
}, z.core.$strict>>;
|
|
@@ -56,6 +59,7 @@ export declare namespace AdminModelRouteGetQuery {
|
|
|
56
59
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
57
60
|
size: z.ZodOptional<z.ZodString>;
|
|
58
61
|
quality: z.ZodOptional<z.ZodString>;
|
|
62
|
+
background: z.ZodOptional<z.ZodString>;
|
|
59
63
|
n: z.ZodOptional<z.ZodNumber>;
|
|
60
64
|
}, z.core.$strict>>;
|
|
61
65
|
}, z.core.$strict>>;
|
|
@@ -24,6 +24,8 @@ export declare namespace AdminModelRouteListByModelQuery {
|
|
|
24
24
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
25
25
|
aspect_ratio: z.ZodOptional<z.ZodString>;
|
|
26
26
|
image_size: z.ZodOptional<z.ZodString>;
|
|
27
|
+
quality: z.ZodOptional<z.ZodString>;
|
|
28
|
+
background: z.ZodOptional<z.ZodString>;
|
|
27
29
|
}, z.core.$strict>>;
|
|
28
30
|
inputImagesAsDataUri: z.ZodOptional<z.ZodBoolean>;
|
|
29
31
|
provider: z.ZodOptional<z.ZodObject<{
|
|
@@ -56,6 +58,7 @@ export declare namespace AdminModelRouteListByModelQuery {
|
|
|
56
58
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
57
59
|
size: z.ZodOptional<z.ZodString>;
|
|
58
60
|
quality: z.ZodOptional<z.ZodString>;
|
|
61
|
+
background: z.ZodOptional<z.ZodString>;
|
|
59
62
|
n: z.ZodOptional<z.ZodNumber>;
|
|
60
63
|
}, z.core.$strict>>;
|
|
61
64
|
}, z.core.$strict>>;
|
|
@@ -65,6 +68,7 @@ export declare namespace AdminModelRouteListByModelQuery {
|
|
|
65
68
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
66
69
|
size: z.ZodOptional<z.ZodString>;
|
|
67
70
|
quality: z.ZodOptional<z.ZodString>;
|
|
71
|
+
background: z.ZodOptional<z.ZodString>;
|
|
68
72
|
n: z.ZodOptional<z.ZodNumber>;
|
|
69
73
|
}, z.core.$strict>>;
|
|
70
74
|
}, z.core.$strict>>;
|
|
@@ -13,6 +13,8 @@ export declare const CreateModelRouteRequestSchema: z.ZodObject<{
|
|
|
13
13
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
14
14
|
aspect_ratio: z.ZodOptional<z.ZodString>;
|
|
15
15
|
image_size: z.ZodOptional<z.ZodString>;
|
|
16
|
+
quality: z.ZodOptional<z.ZodString>;
|
|
17
|
+
background: z.ZodOptional<z.ZodString>;
|
|
16
18
|
}, z.core.$strict>>;
|
|
17
19
|
inputImagesAsDataUri: z.ZodOptional<z.ZodBoolean>;
|
|
18
20
|
provider: z.ZodOptional<z.ZodObject<{
|
|
@@ -45,6 +47,7 @@ export declare const CreateModelRouteRequestSchema: z.ZodObject<{
|
|
|
45
47
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
46
48
|
size: z.ZodOptional<z.ZodString>;
|
|
47
49
|
quality: z.ZodOptional<z.ZodString>;
|
|
50
|
+
background: z.ZodOptional<z.ZodString>;
|
|
48
51
|
n: z.ZodOptional<z.ZodNumber>;
|
|
49
52
|
}, z.core.$strict>>;
|
|
50
53
|
}, z.core.$strict>>;
|
|
@@ -54,6 +57,7 @@ export declare const CreateModelRouteRequestSchema: z.ZodObject<{
|
|
|
54
57
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
55
58
|
size: z.ZodOptional<z.ZodString>;
|
|
56
59
|
quality: z.ZodOptional<z.ZodString>;
|
|
60
|
+
background: z.ZodOptional<z.ZodString>;
|
|
57
61
|
n: z.ZodOptional<z.ZodNumber>;
|
|
58
62
|
}, z.core.$strict>>;
|
|
59
63
|
}, z.core.$strict>>;
|
|
@@ -13,6 +13,8 @@ export declare const ListModelRoutesResponseSchema: z.ZodObject<{
|
|
|
13
13
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
14
14
|
aspect_ratio: z.ZodOptional<z.ZodString>;
|
|
15
15
|
image_size: z.ZodOptional<z.ZodString>;
|
|
16
|
+
quality: z.ZodOptional<z.ZodString>;
|
|
17
|
+
background: z.ZodOptional<z.ZodString>;
|
|
16
18
|
}, z.core.$strict>>;
|
|
17
19
|
inputImagesAsDataUri: z.ZodOptional<z.ZodBoolean>;
|
|
18
20
|
provider: z.ZodOptional<z.ZodObject<{
|
|
@@ -45,6 +47,7 @@ export declare const ListModelRoutesResponseSchema: z.ZodObject<{
|
|
|
45
47
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
46
48
|
size: z.ZodOptional<z.ZodString>;
|
|
47
49
|
quality: z.ZodOptional<z.ZodString>;
|
|
50
|
+
background: z.ZodOptional<z.ZodString>;
|
|
48
51
|
n: z.ZodOptional<z.ZodNumber>;
|
|
49
52
|
}, z.core.$strict>>;
|
|
50
53
|
}, z.core.$strict>>;
|
|
@@ -54,6 +57,7 @@ export declare const ListModelRoutesResponseSchema: z.ZodObject<{
|
|
|
54
57
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
55
58
|
size: z.ZodOptional<z.ZodString>;
|
|
56
59
|
quality: z.ZodOptional<z.ZodString>;
|
|
60
|
+
background: z.ZodOptional<z.ZodString>;
|
|
57
61
|
n: z.ZodOptional<z.ZodNumber>;
|
|
58
62
|
}, z.core.$strict>>;
|
|
59
63
|
}, z.core.$strict>>;
|
|
@@ -14,6 +14,8 @@ export declare const ModelRouteResponseSchema: z.ZodObject<{
|
|
|
14
14
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
15
15
|
aspect_ratio: z.ZodOptional<z.ZodString>;
|
|
16
16
|
image_size: z.ZodOptional<z.ZodString>;
|
|
17
|
+
quality: z.ZodOptional<z.ZodString>;
|
|
18
|
+
background: z.ZodOptional<z.ZodString>;
|
|
17
19
|
}, z.core.$strict>>;
|
|
18
20
|
inputImagesAsDataUri: z.ZodOptional<z.ZodBoolean>;
|
|
19
21
|
provider: z.ZodOptional<z.ZodObject<{
|
|
@@ -46,6 +48,7 @@ export declare const ModelRouteResponseSchema: z.ZodObject<{
|
|
|
46
48
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
47
49
|
size: z.ZodOptional<z.ZodString>;
|
|
48
50
|
quality: z.ZodOptional<z.ZodString>;
|
|
51
|
+
background: z.ZodOptional<z.ZodString>;
|
|
49
52
|
n: z.ZodOptional<z.ZodNumber>;
|
|
50
53
|
}, z.core.$strict>>;
|
|
51
54
|
}, z.core.$strict>>;
|
|
@@ -55,6 +58,7 @@ export declare const ModelRouteResponseSchema: z.ZodObject<{
|
|
|
55
58
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
56
59
|
size: z.ZodOptional<z.ZodString>;
|
|
57
60
|
quality: z.ZodOptional<z.ZodString>;
|
|
61
|
+
background: z.ZodOptional<z.ZodString>;
|
|
58
62
|
n: z.ZodOptional<z.ZodNumber>;
|
|
59
63
|
}, z.core.$strict>>;
|
|
60
64
|
}, z.core.$strict>>;
|
|
@@ -13,6 +13,8 @@ export type KiePricing = z.infer<typeof KiePricingSchema>;
|
|
|
13
13
|
export declare const OpenRouterImageConfigSchema: z.ZodObject<{
|
|
14
14
|
aspect_ratio: z.ZodOptional<z.ZodString>;
|
|
15
15
|
image_size: z.ZodOptional<z.ZodString>;
|
|
16
|
+
quality: z.ZodOptional<z.ZodString>;
|
|
17
|
+
background: z.ZodOptional<z.ZodString>;
|
|
16
18
|
}, z.core.$strict>;
|
|
17
19
|
export type OpenRouterImageConfig = z.infer<typeof OpenRouterImageConfigSchema>;
|
|
18
20
|
export declare const OpenRouterProviderConfigSchema: z.ZodObject<{
|
|
@@ -28,6 +30,8 @@ export declare const OpenRouterGenerationConfigSchema: z.ZodObject<{
|
|
|
28
30
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
29
31
|
aspect_ratio: z.ZodOptional<z.ZodString>;
|
|
30
32
|
image_size: z.ZodOptional<z.ZodString>;
|
|
33
|
+
quality: z.ZodOptional<z.ZodString>;
|
|
34
|
+
background: z.ZodOptional<z.ZodString>;
|
|
31
35
|
}, z.core.$strict>>;
|
|
32
36
|
inputImagesAsDataUri: z.ZodOptional<z.ZodBoolean>;
|
|
33
37
|
provider: z.ZodOptional<z.ZodObject<{
|
|
@@ -59,6 +63,7 @@ export type KieGenerationConfig = z.infer<typeof KieGenerationConfigSchema>;
|
|
|
59
63
|
export declare const OpenAiImagesConfigSchema: z.ZodObject<{
|
|
60
64
|
size: z.ZodOptional<z.ZodString>;
|
|
61
65
|
quality: z.ZodOptional<z.ZodString>;
|
|
66
|
+
background: z.ZodOptional<z.ZodString>;
|
|
62
67
|
n: z.ZodOptional<z.ZodNumber>;
|
|
63
68
|
}, z.core.$strict>;
|
|
64
69
|
export type OpenAiImagesConfig = z.infer<typeof OpenAiImagesConfigSchema>;
|
|
@@ -68,6 +73,7 @@ export declare const WellflowGenerationConfigSchema: z.ZodObject<{
|
|
|
68
73
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
69
74
|
size: z.ZodOptional<z.ZodString>;
|
|
70
75
|
quality: z.ZodOptional<z.ZodString>;
|
|
76
|
+
background: z.ZodOptional<z.ZodString>;
|
|
71
77
|
n: z.ZodOptional<z.ZodNumber>;
|
|
72
78
|
}, z.core.$strict>>;
|
|
73
79
|
}, z.core.$strict>;
|
|
@@ -78,6 +84,7 @@ export declare const ResellerGenerationConfigSchema: z.ZodObject<{
|
|
|
78
84
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
79
85
|
size: z.ZodOptional<z.ZodString>;
|
|
80
86
|
quality: z.ZodOptional<z.ZodString>;
|
|
87
|
+
background: z.ZodOptional<z.ZodString>;
|
|
81
88
|
n: z.ZodOptional<z.ZodNumber>;
|
|
82
89
|
}, z.core.$strict>>;
|
|
83
90
|
}, z.core.$strict>;
|
|
@@ -98,6 +105,8 @@ export declare const ProviderGenerationConfigSchema: z.ZodObject<{
|
|
|
98
105
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
99
106
|
aspect_ratio: z.ZodOptional<z.ZodString>;
|
|
100
107
|
image_size: z.ZodOptional<z.ZodString>;
|
|
108
|
+
quality: z.ZodOptional<z.ZodString>;
|
|
109
|
+
background: z.ZodOptional<z.ZodString>;
|
|
101
110
|
}, z.core.$strict>>;
|
|
102
111
|
inputImagesAsDataUri: z.ZodOptional<z.ZodBoolean>;
|
|
103
112
|
provider: z.ZodOptional<z.ZodObject<{
|
|
@@ -130,6 +139,7 @@ export declare const ProviderGenerationConfigSchema: z.ZodObject<{
|
|
|
130
139
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
131
140
|
size: z.ZodOptional<z.ZodString>;
|
|
132
141
|
quality: z.ZodOptional<z.ZodString>;
|
|
142
|
+
background: z.ZodOptional<z.ZodString>;
|
|
133
143
|
n: z.ZodOptional<z.ZodNumber>;
|
|
134
144
|
}, z.core.$strict>>;
|
|
135
145
|
}, z.core.$strict>>;
|
|
@@ -139,6 +149,7 @@ export declare const ProviderGenerationConfigSchema: z.ZodObject<{
|
|
|
139
149
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
140
150
|
size: z.ZodOptional<z.ZodString>;
|
|
141
151
|
quality: z.ZodOptional<z.ZodString>;
|
|
152
|
+
background: z.ZodOptional<z.ZodString>;
|
|
142
153
|
n: z.ZodOptional<z.ZodNumber>;
|
|
143
154
|
}, z.core.$strict>>;
|
|
144
155
|
}, z.core.$strict>>;
|
|
@@ -29,6 +29,8 @@ exports.OpenRouterImageConfigSchema = zod_1.z
|
|
|
29
29
|
.object({
|
|
30
30
|
aspect_ratio: zod_1.z.string().optional(),
|
|
31
31
|
image_size: zod_1.z.string().optional(),
|
|
32
|
+
quality: zod_1.z.string().optional(),
|
|
33
|
+
background: zod_1.z.string().optional(),
|
|
32
34
|
})
|
|
33
35
|
.strict();
|
|
34
36
|
exports.OpenRouterProviderConfigSchema = zod_1.z
|
|
@@ -77,12 +79,13 @@ exports.KieGenerationConfigSchema = zod_1.z
|
|
|
77
79
|
selectedOptions: zod_1.z.record(zod_1.z.string().max(100), zod_1.z.string().max(200)).optional(),
|
|
78
80
|
})
|
|
79
81
|
.strict();
|
|
80
|
-
// Wire values of the OpenAI Images API the tool capability resolved for one call (`size`, `quality`,
|
|
81
|
-
// Written by the tool patch; a route may also carry it as a base default.
|
|
82
|
+
// Wire values of the OpenAI Images API the tool capability resolved for one call (`size`, `quality`,
|
|
83
|
+
// `background`, `n`). Written by the tool patch; a route may also carry it as a base default.
|
|
82
84
|
exports.OpenAiImagesConfigSchema = zod_1.z
|
|
83
85
|
.object({
|
|
84
86
|
size: zod_1.z.string().max(16).optional(),
|
|
85
87
|
quality: zod_1.z.string().max(16).optional(),
|
|
88
|
+
background: zod_1.z.string().max(16).optional(),
|
|
86
89
|
n: zod_1.z.number().int().min(1).max(10).optional(),
|
|
87
90
|
})
|
|
88
91
|
.strict();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider-generation-config.schema.js","sourceRoot":"","sources":["../../../../v1/model-route/schemas/provider-generation-config.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,8EAAoE;AACpE,2DAAkD;AAClD,qEAA4D;AAC5D,2EAAkE;AAClE,uEAA8D;AAC9D,6EAAuE;AACvE,6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AAQ,EAAE;IACxC,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE;IAC/D,OAAO,EAAE,wBAAgB,CAAC,QAAQ,EAAE;IACpC,sEAAsE;IACtE,sEAAsE;IACtE,eAAe,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,QAAQ,EAAE;CACjF,CAAC;KACD,MAAM,EAAE,CAAC;AAGd,
|
|
1
|
+
{"version":3,"file":"provider-generation-config.schema.js","sourceRoot":"","sources":["../../../../v1/model-route/schemas/provider-generation-config.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,8EAAoE;AACpE,2DAAkD;AAClD,qEAA4D;AAC5D,2EAAkE;AAClE,uEAA8D;AAC9D,6EAAuE;AACvE,6EAAuE;AAEvE,6EAA6E;AAC7E,6EAA6E;AAC7E,sDAAsD;AACtD,EAAE;AACF,qEAAqE;AACrE,iEAAiE;AACjE,2DAA2D;AAC9C,QAAA,gBAAgB,GAAG,OAAC;KAC5B,MAAM,CAAC;IACJ,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,WAAW,EAAE;IAC9B,SAAS,EAAE,OAAC;SACP,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC;SACtE,QAAQ,EAAE;IACf,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,WAAW,EAAE,CAAC,QAAQ,EAAE;CAChD,CAAC;KACD,MAAM,EAAE,CA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C,QAAQ,EAAE;IACnD,QAAQ,EAAE,sCAA8B,CAAC,QAAQ,EAAE;IACnD,QAAQ,EAAE,iCAAyB,CAAC,QAAQ,EAAE;IAC9C,MAAM,EAAE,+BAAuB,CAAC,QAAQ,EAAE;IAC1C,oFAAoF;IACpF,wEAAwE;IACxE,YAAY,EAAE,oDAAuB,CAAC,QAAQ,EAAE;IAChD,6FAA6F;IAC7F,qFAAqF;IACrF,YAAY,EAAE,oDAAuB,CAAC,QAAQ,EAAE;CACnD,CAAC;KACD,MAAM,EAAE,CAAC"}
|
|
@@ -9,6 +9,8 @@ export declare const UpdateModelRouteRequestSchema: z.ZodObject<{
|
|
|
9
9
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
10
10
|
aspect_ratio: z.ZodOptional<z.ZodString>;
|
|
11
11
|
image_size: z.ZodOptional<z.ZodString>;
|
|
12
|
+
quality: z.ZodOptional<z.ZodString>;
|
|
13
|
+
background: z.ZodOptional<z.ZodString>;
|
|
12
14
|
}, z.core.$strict>>;
|
|
13
15
|
inputImagesAsDataUri: z.ZodOptional<z.ZodBoolean>;
|
|
14
16
|
provider: z.ZodOptional<z.ZodObject<{
|
|
@@ -41,6 +43,7 @@ export declare const UpdateModelRouteRequestSchema: z.ZodObject<{
|
|
|
41
43
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
42
44
|
size: z.ZodOptional<z.ZodString>;
|
|
43
45
|
quality: z.ZodOptional<z.ZodString>;
|
|
46
|
+
background: z.ZodOptional<z.ZodString>;
|
|
44
47
|
n: z.ZodOptional<z.ZodNumber>;
|
|
45
48
|
}, z.core.$strict>>;
|
|
46
49
|
}, z.core.$strict>>;
|
|
@@ -50,6 +53,7 @@ export declare const UpdateModelRouteRequestSchema: z.ZodObject<{
|
|
|
50
53
|
imageConfig: z.ZodOptional<z.ZodObject<{
|
|
51
54
|
size: z.ZodOptional<z.ZodString>;
|
|
52
55
|
quality: z.ZodOptional<z.ZodString>;
|
|
56
|
+
background: z.ZodOptional<z.ZodString>;
|
|
53
57
|
n: z.ZodOptional<z.ZodNumber>;
|
|
54
58
|
}, z.core.$strict>>;
|
|
55
59
|
}, z.core.$strict>>;
|