@veruna/api-contracts 21.5.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.
Files changed (47) hide show
  1. package/build/tsconfig.tsbuildinfo +1 -1
  2. package/build/v1/ai/resolved-tool-settings.types.d.ts +7 -2
  3. package/build/v1/ai/resolved-tool-settings.types.js.map +1 -1
  4. package/build/v1/ai-model/schemas/model-settings.schema.d.ts +47 -7
  5. package/build/v1/ai-model/schemas/model-settings.schema.js +18 -7
  6. package/build/v1/ai-model/schemas/model-settings.schema.js.map +1 -1
  7. package/build/v1/ai-model/schemas/setting-key.enum.d.ts +3 -1
  8. package/build/v1/ai-model/schemas/setting-key.enum.js +3 -1
  9. package/build/v1/ai-model/schemas/setting-key.enum.js.map +1 -1
  10. package/build/v1/message/commands/create-message.command.d.ts +2 -0
  11. package/build/v1/message/queries/get-message-stream-reg.query.d.ts +2 -0
  12. package/build/v1/message/queries/get-message-stream-unreg.query.d.ts +2 -0
  13. package/build/v1/message/schemas/message-stream-frame.schema.d.ts +1 -0
  14. package/build/v1/message/schemas/stream-event-type.enum.d.ts +1 -1
  15. package/build/v1/message/schemas/stream-event-type.enum.js +1 -1
  16. package/build/v1/message/schemas/stream-event-type.enum.js.map +1 -1
  17. package/build/v1/message/schemas/stream-events.schema.d.ts +3 -1
  18. package/build/v1/message/schemas/stream-events.schema.js +9 -3
  19. package/build/v1/message/schemas/stream-events.schema.js.map +1 -1
  20. package/build/v1/model-route/admin/commands/create-model-route.command.d.ts +8 -0
  21. package/build/v1/model-route/admin/commands/update-model-route.command.d.ts +8 -0
  22. package/build/v1/model-route/admin/queries/get-model-route.query.d.ts +4 -0
  23. package/build/v1/model-route/admin/queries/list-model-routes-by-model.query.d.ts +4 -0
  24. package/build/v1/model-route/schemas/create-model-route-request.schema.d.ts +4 -0
  25. package/build/v1/model-route/schemas/list-model-routes-response.schema.d.ts +4 -0
  26. package/build/v1/model-route/schemas/model-route-response.schema.d.ts +4 -0
  27. package/build/v1/model-route/schemas/provider-generation-config.schema.d.ts +11 -0
  28. package/build/v1/model-route/schemas/provider-generation-config.schema.js +5 -2
  29. package/build/v1/model-route/schemas/provider-generation-config.schema.js.map +1 -1
  30. package/build/v1/model-route/schemas/update-model-route-request.schema.d.ts +4 -0
  31. package/build/v1/tool/admin/commands/create-model-tool-binding.command.d.ts +84 -0
  32. package/build/v1/tool/admin/commands/update-model-tool-binding.command.d.ts +84 -0
  33. package/build/v1/tool/admin/queries/get-model-tool-bindings.query.d.ts +42 -0
  34. package/build/v1/tool/schemas/tool.schema.d.ts +210 -0
  35. package/build-esm/.tsbuildinfo +1 -1
  36. package/build-esm/v1/ai/resolved-tool-settings.types.js.map +1 -1
  37. package/build-esm/v1/ai-model/schemas/model-settings.schema.js +18 -7
  38. package/build-esm/v1/ai-model/schemas/model-settings.schema.js.map +1 -1
  39. package/build-esm/v1/ai-model/schemas/setting-key.enum.js +3 -1
  40. package/build-esm/v1/ai-model/schemas/setting-key.enum.js.map +1 -1
  41. package/build-esm/v1/message/schemas/stream-event-type.enum.js +1 -1
  42. package/build-esm/v1/message/schemas/stream-event-type.enum.js.map +1 -1
  43. package/build-esm/v1/message/schemas/stream-events.schema.js +9 -3
  44. package/build-esm/v1/message/schemas/stream-events.schema.js.map +1 -1
  45. package/build-esm/v1/model-route/schemas/provider-generation-config.schema.js +5 -2
  46. package/build-esm/v1/model-route/schemas/provider-generation-config.schema.js.map +1 -1
  47. 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;AAIxB,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"}
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
- * `priceModifier` — additive credit modifier applied at the provider layer
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` — kopek delta added to AiModel.price when this option is
18
- * selected. Used by the new billing system to compute the up-front hold and
19
- * the UI estimate (Σ across selected options across all settings). Capped
20
- * at SETTING_PRICE_DELTA_MAX.
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
- * `priceModifier` — additive credit modifier applied at the provider layer
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` — kopek delta added to AiModel.price when this option is
31
- * selected. Used by the new billing system to compute the up-front hold and
32
- * the UI estimate (Σ across selected options across all settings). Capped
33
- * at SETTING_PRICE_DELTA_MAX.
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,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,GAAG,EAAE,OAAC,CAAC,OAAO,CAAC,6BAAU,CAAC,YAAY,CAAC;IACvC,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,oCAAoC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;CACzE,CAAC,CAAC;AACH,MAAM,qBAAqB,GAAG,+BAAuB,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, etc.).
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, etc.).
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,UAKX;AALD,WAAY,UAAU;IAClB,6BAAe,CAAA;IACf,2CAA6B,CAAA;IAC7B,uCAAyB,CAAA;IACzB,yCAA2B,CAAA;AAC/B,CAAC,EALW,UAAU,0BAAV,UAAU,QAKrB"}
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"}
@@ -79,6 +79,7 @@ export declare namespace CreateMessageCommand {
79
79
  type: z.ZodLiteral<import("../schemas").StreamEventType.GENERATION_STATUS>;
80
80
  status: z.ZodEnum<typeof import("../schemas").GenerationStatus>;
81
81
  modelId: z.ZodString;
82
+ stepId: z.ZodOptional<z.ZodString>;
82
83
  }, z.core.$strip>, z.ZodObject<{
83
84
  id: z.ZodNumber;
84
85
  chatId: z.ZodString;
@@ -287,6 +288,7 @@ export declare namespace CreateMessageCommand {
287
288
  type: z.ZodLiteral<import("../schemas").StreamEventType.GENERATION_STATUS>;
288
289
  status: z.ZodEnum<typeof import("../schemas").GenerationStatus>;
289
290
  modelId: z.ZodString;
291
+ stepId: z.ZodOptional<z.ZodString>;
290
292
  }, z.core.$strip>, z.ZodObject<{
291
293
  id: z.ZodNumber;
292
294
  chatId: z.ZodString;
@@ -20,6 +20,7 @@ export declare namespace GetMessageStreamRegQuery {
20
20
  type: z.ZodLiteral<import("../schemas").StreamEventType.GENERATION_STATUS>;
21
21
  status: z.ZodEnum<typeof import("../schemas").GenerationStatus>;
22
22
  modelId: z.ZodString;
23
+ stepId: z.ZodOptional<z.ZodString>;
23
24
  }, z.core.$strip>, z.ZodObject<{
24
25
  id: z.ZodNumber;
25
26
  chatId: z.ZodString;
@@ -227,6 +228,7 @@ export declare namespace GetMessageStreamRegQuery {
227
228
  type: z.ZodLiteral<import("../schemas").StreamEventType.GENERATION_STATUS>;
228
229
  status: z.ZodEnum<typeof import("../schemas").GenerationStatus>;
229
230
  modelId: z.ZodString;
231
+ stepId: z.ZodOptional<z.ZodString>;
230
232
  }, z.core.$strip>, z.ZodObject<{
231
233
  id: z.ZodNumber;
232
234
  chatId: z.ZodString;
@@ -20,6 +20,7 @@ export declare namespace GetMessageStreamUnregQuery {
20
20
  type: z.ZodLiteral<import("../schemas").StreamEventType.GENERATION_STATUS>;
21
21
  status: z.ZodEnum<typeof import("../schemas").GenerationStatus>;
22
22
  modelId: z.ZodString;
23
+ stepId: z.ZodOptional<z.ZodString>;
23
24
  }, z.core.$strip>, z.ZodObject<{
24
25
  id: z.ZodNumber;
25
26
  chatId: z.ZodString;
@@ -227,6 +228,7 @@ export declare namespace GetMessageStreamUnregQuery {
227
228
  type: z.ZodLiteral<import("../schemas").StreamEventType.GENERATION_STATUS>;
228
229
  status: z.ZodEnum<typeof import("../schemas").GenerationStatus>;
229
230
  modelId: z.ZodString;
231
+ stepId: z.ZodOptional<z.ZodString>;
230
232
  }, z.core.$strip>, z.ZodObject<{
231
233
  id: z.ZodNumber;
232
234
  chatId: z.ZodString;
@@ -14,6 +14,7 @@ export declare const MessageStreamFrameSchema: z.ZodUnion<readonly [z.ZodDiscrim
14
14
  type: z.ZodLiteral<import("./stream-event-type.enum").StreamEventType.GENERATION_STATUS>;
15
15
  status: z.ZodEnum<typeof import("./generation-status.enum").GenerationStatus>;
16
16
  modelId: z.ZodString;
17
+ stepId: z.ZodOptional<z.ZodString>;
17
18
  }, z.core.$strip>, z.ZodObject<{
18
19
  id: z.ZodNumber;
19
20
  chatId: z.ZodString;
@@ -4,7 +4,7 @@
4
4
  export declare enum StreamEventType {
5
5
  /** Accepted attachment content is being prepared before generation. */
6
6
  PREPARATION_STATUS = "PREPARATION_STATUS",
7
- /** Transient status: routing before visible model output, or a tool call being written. */
7
+ /** Transient status: routing before visible model output or of a running step, or a tool call being written. */
8
8
  GENERATION_STATUS = "GENERATION_STATUS",
9
9
  /** Generation step started */
10
10
  STEP_START = "STEP_START",
@@ -8,7 +8,7 @@ var StreamEventType;
8
8
  (function (StreamEventType) {
9
9
  /** Accepted attachment content is being prepared before generation. */
10
10
  StreamEventType["PREPARATION_STATUS"] = "PREPARATION_STATUS";
11
- /** Transient status: routing before visible model output, or a tool call being written. */
11
+ /** Transient status: routing before visible model output or of a running step, or a tool call being written. */
12
12
  StreamEventType["GENERATION_STATUS"] = "GENERATION_STATUS";
13
13
  /** Generation step started */
14
14
  StreamEventType["STEP_START"] = "STEP_START";
@@ -1 +1 @@
1
- {"version":3,"file":"stream-event-type.enum.js","sourceRoot":"","sources":["../../../../v1/message/schemas/stream-event-type.enum.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,IAAY,eA0CX;AA1CD,WAAY,eAAe;IACvB,uEAAuE;IACvE,4DAAyC,CAAA;IACzC,2FAA2F;IAC3F,0DAAuC,CAAA;IACvC,8BAA8B;IAC9B,4CAAyB,CAAA;IACzB,+DAA+D;IAC/D,4CAAyB,CAAA;IACzB,2DAA2D;IAC3D,4CAAyB,CAAA;IACzB,uDAAuD;IACvD,0CAAuB,CAAA;IACvB,4BAA4B;IAC5B,kCAAe,CAAA;IACf,qDAAqD;IACrD,oEAAiD,CAAA;IACjD,mCAAmC;IACnC,0CAAuB,CAAA;IACvB,mDAAmD;IACnD,0CAAuB,CAAA;IACvB;;;;;;OAMG;IACH,wDAAqC,CAAA;IACrC;;;;;OAKG;IACH,8CAA2B,CAAA;IAC3B,oCAAoC;IACpC,gCAAa,CAAA;IACb,+BAA+B;IAC/B,0CAAuB,CAAA;IACvB,sCAAsC;IACtC,kCAAe,CAAA;AACnB,CAAC,EA1CW,eAAe,+BAAf,eAAe,QA0C1B"}
1
+ {"version":3,"file":"stream-event-type.enum.js","sourceRoot":"","sources":["../../../../v1/message/schemas/stream-event-type.enum.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,IAAY,eA0CX;AA1CD,WAAY,eAAe;IACvB,uEAAuE;IACvE,4DAAyC,CAAA;IACzC,gHAAgH;IAChH,0DAAuC,CAAA;IACvC,8BAA8B;IAC9B,4CAAyB,CAAA;IACzB,+DAA+D;IAC/D,4CAAyB,CAAA;IACzB,2DAA2D;IAC3D,4CAAyB,CAAA;IACzB,uDAAuD;IACvD,0CAAuB,CAAA;IACvB,4BAA4B;IAC5B,kCAAe,CAAA;IACf,qDAAqD;IACrD,oEAAiD,CAAA;IACjD,mCAAmC;IACnC,0CAAuB,CAAA;IACvB,mDAAmD;IACnD,0CAAuB,CAAA;IACvB;;;;;;OAMG;IACH,wDAAqC,CAAA;IACrC;;;;;OAKG;IACH,8CAA2B,CAAA;IAC3B,oCAAoC;IACpC,gCAAa,CAAA;IACb,+BAA+B;IAC/B,0CAAuB,CAAA;IACvB,sCAAsC;IACtC,kCAAe,CAAA;AACnB,CAAC,EA1CW,eAAe,+BAAf,eAAe,QA0C1B"}
@@ -289,7 +289,7 @@ export declare const StreamHeartbeatEventSchema: z.ZodObject<{
289
289
  }, z.core.$strip>;
290
290
  /**
291
291
  * Transient status: routing (RETRYING, SWITCHING_ROUTE, SWITCHING_MODEL) before the first text or reasoning output,
292
- * or PREPARING_ACTION while the model writes a tool call.
292
+ * routing of a running step (`stepId`), or PREPARING_ACTION while the model writes a tool call.
293
293
  */
294
294
  export declare const StreamGenerationStatusEventSchema: z.ZodObject<{
295
295
  id: z.ZodNumber;
@@ -298,6 +298,7 @@ export declare const StreamGenerationStatusEventSchema: z.ZodObject<{
298
298
  type: z.ZodLiteral<StreamEventType.GENERATION_STATUS>;
299
299
  status: z.ZodEnum<typeof GenerationStatus>;
300
300
  modelId: z.ZodString;
301
+ stepId: z.ZodOptional<z.ZodString>;
301
302
  }, z.core.$strip>;
302
303
  /** Observed preparation work only; never a fabricated percentage or model tool call. */
303
304
  export declare const StreamPreparationStatusEventSchema: z.ZodObject<{
@@ -323,6 +324,7 @@ export declare const StreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
323
324
  type: z.ZodLiteral<StreamEventType.GENERATION_STATUS>;
324
325
  status: z.ZodEnum<typeof GenerationStatus>;
325
326
  modelId: z.ZodString;
327
+ stepId: z.ZodOptional<z.ZodString>;
326
328
  }, z.core.$strip>, z.ZodObject<{
327
329
  id: z.ZodNumber;
328
330
  chatId: z.ZodString;
@@ -267,17 +267,23 @@ exports.StreamHeartbeatEventSchema = zod_1.z.object({
267
267
  // ============================================================================
268
268
  /**
269
269
  * Transient status: routing (RETRYING, SWITCHING_ROUTE, SWITCHING_MODEL) before the first text or reasoning output,
270
- * or PREPARING_ACTION while the model writes a tool call.
270
+ * routing of a running step (`stepId`), or PREPARING_ACTION while the model writes a tool call.
271
271
  */
272
272
  exports.StreamGenerationStatusEventSchema = BaseStreamEventSchema.extend({
273
273
  type: zod_1.z.literal(stream_event_type_enum_1.StreamEventType.GENERATION_STATUS),
274
274
  /**
275
- * Routing statuses may arrive in replay after text; clients ignore them once visible text exists.
276
- * PREPARING_ACTION may follow visible text and stands until the next STEP_START.
275
+ * Routing statuses may arrive in replay after text; clients ignore them once visible text exists, unless
276
+ * they carry `stepId`. PREPARING_ACTION may follow visible text and stands until the next STEP_START.
277
277
  */
278
278
  status: zod_1.z.enum(generation_status_enum_1.GenerationStatus),
279
279
  /** Model being tried now; SWITCHING_MODEL carries the new candidate model ID. */
280
280
  modelId: zod_1.z.string().uuid(),
281
+ /**
282
+ * The running step this routing belongs to (an image step switching to the last-resort model). Shown on
283
+ * that step's card until its STEP_DONE, also after visible text; STEP_DONE.modelUuid names the model
284
+ * that produced the step.
285
+ */
286
+ stepId: zod_1.z.string().uuid().optional(),
281
287
  });
282
288
  /** Observed preparation work only; never a fabricated percentage or model tool call. */
283
289
  exports.StreamPreparationStatusEventSchema = BaseStreamEventSchema.extend({
@@ -1 +1 @@
1
- {"version":3,"file":"stream-events.schema.js","sourceRoot":"","sources":["../../../../v1/message/schemas/stream-events.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,qEAA4D;AAC5D,2DAAsD;AACtD,qEAA4D;AAC5D,uEAA8D;AAC9D,2EAAiE;AACjE,qEAA2D;AAC3D,uDAAmD;AACnD,iEAAyF;AACzF,6EAAuE;AAEvE,+EAA+E;AAC/E,oBAAoB;AACpB,+EAA+E;AAE/E,MAAM,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IACnC,0CAA0C;IAC1C,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC/B,gBAAgB;IAChB,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACzB,sBAAsB;IACtB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAC/B,CAAC,CAAC;AAEH,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AE;CACnC,CAAC,CAAC;AAEH,+EAA+E;AAC/E,eAAe;AACf,+EAA+E;AAE/E;;;GAGG;AACU,QAAA,iCAAiC,GAAG,qBAAqB,CAAC,MAAM,CAAC;IAC1E,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,wCAAe,CAAC,iBAAiB,CAAC;IAClD;;;OAGG;IACH,MAAM,EAAE,OAAC,CAAC,IAAI,CAAC,yCAAgB,CAAC;IAChC,iFAAiF;IACjF,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAC7B,CAAC,CAAC;AAEH,wFAAwF;AAC3E,QAAA,kCAAkC,GAAG,qBAAqB,CAAC,MAAM,CAAC;IAC3E,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,wCAAe,CAAC,kBAAkB,CAAC;IACnD,MAAM,EAAE,OAAC,CAAC,IAAI,CAAC,2CAAiB,CAAC;IACjC,KAAK,EAAE,OAAC,CAAC,IAAI,CAAC,yCAAgB,CAAC,CAAC,QAAQ,EAAE;CAC7C,CAAC,CAAC;AAEH,kEAAkE;AACrD,QAAA,iBAAiB,GAAG,OAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE;IAC1D,0CAAkC;IAClC,yCAAiC;IACjC,kCAA0B;IAC1B,kCAA0B;IAC1B,kCAA0B;IAC1B,iCAAyB;IACzB,8BAAsB;IACtB,6CAAqC;IACrC,kCAA0B;IAC1B,kCAA0B;IAC1B,wCAAgC;IAChC,mCAA2B;IAC3B,6BAAqB;IACrB,kCAA0B;IAC1B,8BAAsB;CACzB,CAAC,CAAC"}
1
+ {"version":3,"file":"stream-events.schema.js","sourceRoot":"","sources":["../../../../v1/message/schemas/stream-events.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,qEAA4D;AAC5D,2DAAsD;AACtD,qEAA4D;AAC5D,uEAA8D;AAC9D,2EAAiE;AACjE,qEAA2D;AAC3D,uDAAmD;AACnD,iEAAyF;AACzF,6EAAuE;AAEvE,+EA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AC1B,kCAA0B;IAC1B,kCAA0B;IAC1B,iCAAyB;IACzB,8BAAsB;IACtB,6CAAqC;IACrC,kCAA0B;IAC1B,kCAA0B;IAC1B,wCAAgC;IAChC,mCAA2B;IAC3B,6BAAqB;IACrB,kCAA0B;IAC1B,8BAAsB;CACzB,CAAC,CAAC"}
@@ -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>>;