@clipwright/core 0.63.0 → 0.65.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 (54) hide show
  1. package/dist/ad-guide.d.ts +23 -0
  2. package/dist/ad-guide.js +4 -0
  3. package/dist/api-failure.d.ts +1 -0
  4. package/dist/api-failure.js +10 -3
  5. package/dist/brand-styles.d.ts +6 -0
  6. package/dist/contract-dispositions.d.ts +1 -41
  7. package/dist/contract-dispositions.js +0 -9
  8. package/dist/contracts/v1/workflow-brief.d.ts +0 -96
  9. package/dist/contracts/v1/workflow-catalog.d.ts +0 -96
  10. package/dist/contracts/v1/workflow-client.d.ts +0 -48
  11. package/dist/contracts/v1/workflow-execution.d.ts +0 -172
  12. package/dist/contracts/v1/workflow-next.d.ts +0 -86
  13. package/dist/contracts/v1/workflow-plan.d.ts +0 -144
  14. package/dist/design.d.ts +30 -0
  15. package/dist/design.js +29 -1
  16. package/dist/endpoint-notes.js +1 -1
  17. package/dist/errors.d.ts +13 -1
  18. package/dist/errors.js +3 -5
  19. package/dist/faceless-price.d.ts +0 -27
  20. package/dist/faceless-price.js +0 -28
  21. package/dist/faceless-public.d.ts +8 -120
  22. package/dist/faceless-public.js +9 -23
  23. package/dist/film-cut.js +3 -3
  24. package/dist/film-guide.d.ts +51 -0
  25. package/dist/film-guide.js +13 -0
  26. package/dist/film-look.d.ts +3 -0
  27. package/dist/film-look.js +3 -0
  28. package/dist/generations.d.ts +9 -2
  29. package/dist/generations.js +18 -5
  30. package/dist/index.d.ts +0 -1
  31. package/dist/index.js +0 -1
  32. package/dist/openapi.d.ts +11 -0
  33. package/dist/openapi.js +3 -1
  34. package/dist/own-agent-price.d.ts +4 -1
  35. package/dist/own-agent-price.js +7 -4
  36. package/dist/parts-pricing.d.ts +0 -2
  37. package/dist/parts-pricing.js +0 -2
  38. package/dist/prices.js +8 -3
  39. package/dist/scene-bible.d.ts +4 -12
  40. package/dist/scene-bible.js +6 -17
  41. package/dist/skills.d.ts +223 -223
  42. package/dist/skills.js +11 -13
  43. package/dist/voice-admission.d.ts +0 -48
  44. package/dist/workflows/methods/faceless-explainer.d.ts +0 -39
  45. package/dist/workflows/methods/kinetic-launch.d.ts +0 -78
  46. package/dist/workflows/methods/product-image-story.d.ts +0 -39
  47. package/dist/workflows/methods/reference-remake.d.ts +0 -39
  48. package/dist/workflows/methods/shared.d.ts +0 -39
  49. package/dist/workflows/methods/ugc-faq-answer.d.ts +0 -39
  50. package/dist/workflows/methods/ugc-product-intro.d.ts +0 -39
  51. package/dist/workflows/methods/website-proof-demo.d.ts +0 -78
  52. package/package.json +1 -1
  53. package/dist/scene-proposal.d.ts +0 -79
  54. package/dist/scene-proposal.js +0 -50
@@ -27,7 +27,30 @@ export declare const adGuideQuery: z.ZodObject<{
27
27
  }, z.core.$strict>;
28
28
  export type AdGuideQuery = z.infer<typeof adGuideQuery>;
29
29
  export declare const adGuide: z.ZodObject<{
30
+ brand: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31
+ brand_name: z.ZodNullable<z.ZodString>;
32
+ look: z.ZodNullable<z.ZodObject<{
33
+ tag: z.ZodString;
34
+ description: z.ZodPipe<z.ZodString, z.ZodString>;
35
+ }, z.core.$strict>>;
36
+ prompt_block: z.ZodNullable<z.ZodString>;
37
+ }, z.core.$strict>>>;
30
38
  guide: z.ZodString;
31
39
  version: z.ZodOptional<z.ZodString>;
40
+ guides: z.ZodOptional<z.ZodArray<z.ZodObject<{
41
+ tool: z.ZodEnum<{
42
+ get_ad_guide: "get_ad_guide";
43
+ get_film_guide: "get_film_guide";
44
+ }>;
45
+ format: z.ZodOptional<z.ZodEnum<{
46
+ cartoon: "cartoon";
47
+ explainer: "explainer";
48
+ list: "list";
49
+ own_pictures: "own_pictures";
50
+ story: "story";
51
+ }>>;
52
+ use_when: z.ZodString;
53
+ version: z.ZodString;
54
+ }, z.core.$strict>>>;
32
55
  }, z.core.$strict>;
33
56
  export type AdGuide = z.infer<typeof adGuide>;
package/dist/ad-guide.js CHANGED
@@ -1,4 +1,6 @@
1
1
  import { z } from "zod";
2
+ import { brandGuideBlock } from "./design.js";
3
+ import { guideCatalog } from "./film-guide.js";
2
4
  export const AD_GUIDE_PATH = "/v1/ad-guide";
3
5
  export const AD_GUIDE_SECTION_IDS = ["ugc", "order", "script", "product_sheet", "photo_edit", "hero", "location", "props", "states", "models",
4
6
  "motion_test", "shot_list", "devices", "takes", "audit", "repair", "edit", "final_check", "spend"];
@@ -7,6 +9,8 @@ export const adGuideQuery = z.strictObject({
7
9
  .describe("One part of the guide instead of all of it: ugc (the make_ugc rules) or one step of making the ad yourself"),
8
10
  });
9
11
  export const adGuide = z.strictObject({
12
+ brand: brandGuideBlock.optional(),
10
13
  guide: z.string().min(1).describe("The ad guide, Markdown: the word → device catalogue, the hook, poses, live shots, captions, hands and density"),
11
14
  version: z.string().regex(/^[a-f0-9]{12}$/).optional().describe("The guide's version: it changes whenever any part of the guide does"),
15
+ guides: guideCatalog.optional(),
12
16
  });
@@ -148,5 +148,6 @@ export interface AgentFailureReport {
148
148
  export declare const TAKE_UNCHECKED_NEXT_ACTION: string;
149
149
  export declare const UPLOAD_NOT_FINISHED_NEXT_ACTION: string;
150
150
  export declare const UNAUTHORIZED_NEXT_ACTION: string;
151
+ export declare function refusalNextAction(next: DiyNext): string;
151
152
  export declare function agentFailureReport(failure: ApiFailure): AgentFailureReport;
152
153
  export {};
@@ -245,7 +245,8 @@ export function parseApiFailure(input) {
245
245
  if (status >= 500) {
246
246
  return { kind: "server_error", ...diagnostics, status, message, retryAfterSeconds: headerSeconds };
247
247
  }
248
- return { kind: "client_error", ...diagnostics, status, message, code };
248
+ const next = generic.success ? generic.data.error.next : undefined;
249
+ return { kind: "client_error", ...diagnostics, status, message, code, ...(next && { next }) };
249
250
  }
250
251
  function messageFromStatus(status, bodyText) {
251
252
  if (bodyText === undefined) {
@@ -268,6 +269,11 @@ export const UNAUTHORIZED_NEXT_ACTION = "STOP. Clipwright did not accept this co
268
269
  `${PUBLIC_APP_BASE_URL}/auth/sign-up comes with trial credits), puts it in the MCP server's environment as ` +
269
270
  "CLIPWRIGHT_API_KEY, never in the chat, and restarts the host. With the hosted connector, the human reconnects it and " +
270
271
  "signs in again. Then call get_account, which is free, to confirm.";
272
+ export function refusalNextAction(next) {
273
+ const fields = next.add.length ? ` Change ${next.add.join(", ")} first.` : "";
274
+ return `STOP. Do NOT retry unchanged: ${next.note}${fields} Then call ${next.action} (next has its route and arguments). ` +
275
+ "Nothing was charged and no run was created.";
276
+ }
271
277
  export function agentFailureReport(failure) {
272
278
  const base = { message: failure.message,
273
279
  ...('issues' in failure && failure.issues !== undefined && { issues: failure.issues }),
@@ -437,8 +443,9 @@ export function agentFailureReport(failure) {
437
443
  next_action: failure.code === "take_unchecked" ? TAKE_UNCHECKED_NEXT_ACTION :
438
444
  failure.code === "upload_not_finished" ? UPLOAD_NOT_FINISHED_NEXT_ACTION :
439
445
  failure.code === "unauthorized" ? UNAUTHORIZED_NEXT_ACTION :
440
- "STOP. Do NOT retry: the request itself was rejected, so repeating it unchanged gives " +
441
- "the same answer. Read the message, fix the call, or tell the user what is wrong.",
446
+ failure.next ? refusalNextAction(failure.next) :
447
+ "STOP. Do NOT retry: the request itself was rejected, so repeating it unchanged gives " +
448
+ "the same answer. Read the message, fix the call, or tell the user what is wrong.",
442
449
  };
443
450
  }
444
451
  }
@@ -460,6 +460,12 @@ export declare const brandKitWithStyles: z.ZodObject<{
460
460
  second_language: z.ZodOptional<z.ZodString>;
461
461
  }, z.core.$strict>>>;
462
462
  mascot_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
463
+ brand_name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
464
+ look: z.ZodDefault<z.ZodNullable<z.ZodObject<{
465
+ tag: z.ZodString;
466
+ description: z.ZodPipe<z.ZodString, z.ZodString>;
467
+ }, z.core.$strict>>>;
468
+ prompt_block: z.ZodDefault<z.ZodNullable<z.ZodString>>;
463
469
  updated_at: z.ZodNullable<z.ZodString>;
464
470
  looks: z.ZodArray<z.ZodObject<{
465
471
  id: z.ZodEnum<{
@@ -200,14 +200,6 @@ export declare const FIELD_DISPOSITIONS: {
200
200
  readonly kind: "implemented";
201
201
  readonly provenBy: "composition";
202
202
  };
203
- readonly scene: {
204
- readonly kind: "implemented";
205
- readonly provenBy: "egress";
206
- };
207
- readonly proposal: {
208
- readonly kind: "implemented";
209
- readonly provenBy: "admission";
210
- };
211
203
  readonly propose: {
212
204
  readonly kind: "implemented";
213
205
  readonly provenBy: "admission";
@@ -258,7 +250,6 @@ export interface ContractFlags {
258
250
  liveShots?: boolean;
259
251
  scenes?: boolean;
260
252
  motionStyles?: boolean;
261
- sceneDirector?: boolean;
262
253
  }
263
254
  export declare function isMotionStylesEnabled(env?: Record<string, string | undefined>): boolean;
264
255
  export declare const MOTION_STYLES_DISABLED_MESSAGE = "motion_style is not available right now; omit motion_style";
@@ -293,7 +284,7 @@ export declare function compositionLayerFields(input: {
293
284
  }): string[];
294
285
  export declare function compositionLayersNotDrawnWarnings(input: Parameters<typeof compositionLayerFields>[0], reason: string): string[];
295
286
  export declare function resolveDispositions(flags: ContractFlags): Record<ContractField, Disposition>;
296
- export declare const EFFECTIVE_DISPOSITIONS: Record<"actor_gender" | "actor_id" | "aspect_ratio" | "background" | "broll_policy" | "broll_url" | "call" | "caption_emphasis" | "caption_mode" | "caption_place" | "caption_position" | "caption_style" | "captions" | "character" | "design" | "disclosure_overlay" | "edit_sounds" | "end_hold_s" | "framing" | "image" | "inserts" | "interview" | "layout_windows" | "look" | "max_credits" | "motion_style" | "moves" | "music" | "name" | "overlays" | "pause_trim" | "person" | "presenter_framing" | "presenter_gaze" | "presenter_mic" | "presenter_place" | "product_asset_id" | "proposal" | "propose" | "resolution" | "scene" | "scenes" | "script" | "segments" | "shots" | "template_sounds" | "template_theme" | "templates" | "tts_model" | "visible_ai_label" | "voice" | "voice_id" | "voice_pace" | "webhook_url", Disposition>;
287
+ export declare const EFFECTIVE_DISPOSITIONS: Record<"actor_gender" | "actor_id" | "aspect_ratio" | "background" | "broll_policy" | "broll_url" | "call" | "caption_emphasis" | "caption_mode" | "caption_place" | "caption_position" | "caption_style" | "captions" | "character" | "design" | "disclosure_overlay" | "edit_sounds" | "end_hold_s" | "framing" | "image" | "inserts" | "interview" | "layout_windows" | "look" | "max_credits" | "motion_style" | "moves" | "music" | "name" | "overlays" | "pause_trim" | "person" | "presenter_framing" | "presenter_gaze" | "presenter_mic" | "presenter_place" | "product_asset_id" | "propose" | "resolution" | "scenes" | "script" | "segments" | "shots" | "template_sounds" | "template_theme" | "templates" | "tts_model" | "visible_ai_label" | "voice" | "voice_id" | "voice_pace" | "webhook_url", Disposition>;
297
288
  type RejectedField = {
298
289
  [K in ContractField]: (typeof FIELD_DISPOSITIONS)[K]["kind"] extends "rejected" ? K : never;
299
290
  }[ContractField];
@@ -4325,7 +4316,6 @@ export declare const offeredUgcInput: z.ZodObject<{
4325
4316
  hand: "hand";
4326
4317
  }>;
4327
4318
  }, z.core.$strict>]>>;
4328
- start: z.ZodOptional<z.ZodString>;
4329
4319
  cast: z.ZodOptional<z.ZodArray<z.ZodObject<{
4330
4320
  asset_id: z.ZodString;
4331
4321
  role: z.ZodString;
@@ -4401,21 +4391,6 @@ export declare const offeredUgcInput: z.ZodObject<{
4401
4391
  }, z.core.$strict>>;
4402
4392
  }, z.core.$strict>>>;
4403
4393
  product_asset_id: z.ZodOptional<z.ZodString>;
4404
- scene: z.ZodOptional<z.ZodObject<{
4405
- place: z.ZodOptional<z.ZodString>;
4406
- posture: z.ZodOptional<z.ZodEnum<{
4407
- seated: "seated";
4408
- standing: "standing";
4409
- }>>;
4410
- wardrobe: z.ZodOptional<z.ZodString>;
4411
- product: z.ZodOptional<z.ZodString>;
4412
- props: z.ZodOptional<z.ZodArray<z.ZodString>>;
4413
- light: z.ZodOptional<z.ZodString>;
4414
- }, z.core.$strict>>;
4415
- proposal: z.ZodOptional<z.ZodObject<{
4416
- id: z.ZodString;
4417
- accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
4418
- }, z.core.$strict>>;
4419
4394
  propose: z.ZodOptional<z.ZodLiteral<false>>;
4420
4395
  person: z.ZodOptional<z.ZodString>;
4421
4396
  actor_id: z.ZodOptional<z.ZodString>;
@@ -4758,21 +4733,6 @@ export declare const mcpUgcInputShape: {
4758
4733
  mood: z.ZodString;
4759
4734
  }, z.core.$strict>]>>;
4760
4735
  product_asset_id: z.ZodOptional<z.ZodString>;
4761
- scene: z.ZodOptional<z.ZodObject<{
4762
- place: z.ZodOptional<z.ZodString>;
4763
- posture: z.ZodOptional<z.ZodEnum<{
4764
- seated: "seated";
4765
- standing: "standing";
4766
- }>>;
4767
- wardrobe: z.ZodOptional<z.ZodString>;
4768
- product: z.ZodOptional<z.ZodString>;
4769
- props: z.ZodOptional<z.ZodArray<z.ZodString>>;
4770
- light: z.ZodOptional<z.ZodString>;
4771
- }, z.core.$strict>>;
4772
- proposal: z.ZodOptional<z.ZodObject<{
4773
- id: z.ZodString;
4774
- accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
4775
- }, z.core.$strict>>;
4776
4736
  propose: z.ZodOptional<z.ZodLiteral<false>>;
4777
4737
  person: z.ZodOptional<z.ZodString>;
4778
4738
  actor_id: z.ZodOptional<z.ZodString>;
@@ -13,8 +13,6 @@ import { MAX_SCENES, SCENES_DISABLED_MESSAGE } from "./ugc-scenes.js";
13
13
  import { MOTION_STYLE_UNUSED_WARNING, motionStyleAsked, motionStyleHasCanvas } from "./motion-styles.js";
14
14
  import { AD_PAUSE_TRIM_WARNING } from "./ad-pause-trim.js";
15
15
  import { isPresenterMatteEnabled, needsPresenterCutout, PRESENTER_MATTE_DISABLED_MESSAGE } from "./presenter-matte.js";
16
- import { SCENE_DIRECTOR_DISABLED_MESSAGE, SCENE_UNUSED_WARNING, sceneDirectorAccounts } from "./scene-bible.js";
17
- import { SCENE_PROPOSAL_DISABLED_MESSAGE } from "./scene-proposal.js";
18
16
  export const CONTRACT_VERSION = "2026-10-18";
19
17
  export const CONTRACT_VERSION_HEADER = "X-Clipwright-Contract";
20
18
  export const BROLL_UNUSED_WARNING = "broll_policy has no effect on this video: it shows none of your media";
@@ -82,8 +80,6 @@ export const FIELD_DISPOSITIONS = {
82
80
  end_hold_s: { kind: "implemented", provenBy: "composition" },
83
81
  shots: { kind: "implemented", provenBy: "composition" },
84
82
  product_asset_id: { kind: "implemented", provenBy: "composition" },
85
- scene: { kind: "implemented", provenBy: "egress" },
86
- proposal: { kind: "implemented", provenBy: "admission" },
87
83
  propose: { kind: "implemented", provenBy: "admission" },
88
84
  character: {
89
85
  kind: "rejected",
@@ -145,7 +141,6 @@ export function contractFlagsFromEnv(env = typeof process === "undefined" ? {} :
145
141
  ...(isLiveShotsEnabled(env) ? { liveShots: true } : {}),
146
142
  ...(isScenesEnabled(env) ? { scenes: true } : {}),
147
143
  ...(isMotionStylesEnabled(env) ? { motionStyles: true } : {}),
148
- ...(sceneDirectorAccounts(env) !== null ? { sceneDirector: true } : {}),
149
144
  };
150
145
  }
151
146
  export function isLongFormQualificationEnabled(env = typeof process === "undefined" ? {} : process.env) {
@@ -229,8 +224,6 @@ export function resolveDispositions(flags) {
229
224
  kind: "rejected", message: "visible_ai_label is not available right now; omit it",
230
225
  },
231
226
  music: flags.music === true ? FIELD_DISPOSITIONS.music : { kind: "rejected", message: MUSIC_DISABLED_MESSAGE },
232
- scene: flags.sceneDirector === true ? FIELD_DISPOSITIONS.scene : { kind: "rejected", message: SCENE_DIRECTOR_DISABLED_MESSAGE },
233
- proposal: flags.sceneDirector === true ? FIELD_DISPOSITIONS.proposal : { kind: "rejected", message: SCENE_PROPOSAL_DISABLED_MESSAGE },
234
227
  };
235
228
  }
236
229
  export const EFFECTIVE_DISPOSITIONS = resolveDispositions({
@@ -340,8 +333,6 @@ export function dispositionWarnings(input) {
340
333
  warnings.push(AD_PAUSE_TRIM_WARNING);
341
334
  if (input.end_hold_source === "ad_default")
342
335
  warnings.push(AD_END_HOLD_WARNING);
343
- if (input.scene !== undefined && !(Array.isArray(input.shots) && input.shots.length > 0))
344
- warnings.push(SCENE_UNUSED_WARNING);
345
336
  warnings.push(...templateFaceWarnings(input), ...templateSizeWarnings(input), ...seriesFitWarnings(input), ...commentCtaFitWarnings(input), ...framingWarnings(input), ...callWarnings(input), ...placeWarnings(input, framing => templateSceneItems(scene, framing)), ...interviewWarnings(input));
346
337
  return warnings;
347
338
  }
@@ -1041,21 +1041,6 @@ export declare const workflowNativeInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
1041
1041
  }>>;
1042
1042
  }, z.core.$strict>>;
1043
1043
  product_asset_id: z.ZodOptional<z.ZodString>;
1044
- scene: z.ZodOptional<z.ZodObject<{
1045
- place: z.ZodOptional<z.ZodString>;
1046
- posture: z.ZodOptional<z.ZodEnum<{
1047
- seated: "seated";
1048
- standing: "standing";
1049
- }>>;
1050
- wardrobe: z.ZodOptional<z.ZodString>;
1051
- product: z.ZodOptional<z.ZodString>;
1052
- props: z.ZodOptional<z.ZodArray<z.ZodString>>;
1053
- light: z.ZodOptional<z.ZodString>;
1054
- }, z.core.$strict>>;
1055
- proposal: z.ZodOptional<z.ZodObject<{
1056
- id: z.ZodString;
1057
- accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
1058
- }, z.core.$strict>>;
1059
1044
  propose: z.ZodOptional<z.ZodLiteral<false>>;
1060
1045
  person: z.ZodOptional<z.ZodString>;
1061
1046
  actor_id: z.ZodOptional<z.ZodString>;
@@ -4179,7 +4164,6 @@ export declare const workflowNativeInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
4179
4164
  hand: "hand";
4180
4165
  }>;
4181
4166
  }, z.core.$strict>]>>;
4182
- start: z.ZodOptional<z.ZodString>;
4183
4167
  cast: z.ZodOptional<z.ZodArray<z.ZodObject<{
4184
4168
  asset_id: z.ZodString;
4185
4169
  role: z.ZodString;
@@ -4536,21 +4520,6 @@ export declare const workflowNativeInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
4536
4520
  "720p": "720p";
4537
4521
  }>>;
4538
4522
  max_credits: z.ZodOptional<z.ZodNumber>;
4539
- scene: z.ZodOptional<z.ZodObject<{
4540
- place: z.ZodOptional<z.ZodString>;
4541
- posture: z.ZodOptional<z.ZodEnum<{
4542
- seated: "seated";
4543
- standing: "standing";
4544
- }>>;
4545
- wardrobe: z.ZodOptional<z.ZodString>;
4546
- product: z.ZodOptional<z.ZodString>;
4547
- props: z.ZodOptional<z.ZodArray<z.ZodString>>;
4548
- light: z.ZodOptional<z.ZodString>;
4549
- }, z.core.$strict>>;
4550
- proposal: z.ZodOptional<z.ZodObject<{
4551
- id: z.ZodString;
4552
- accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
4553
- }, z.core.$strict>>;
4554
4523
  propose: z.ZodOptional<z.ZodLiteral<false>>;
4555
4524
  input_mode: z.ZodLiteral<"script">;
4556
4525
  transitions: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
@@ -7305,7 +7274,6 @@ export declare const workflowNativeInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
7305
7274
  comma_s: z.ZodOptional<z.ZodNumber>;
7306
7275
  mid_phrase_s: z.ZodOptional<z.ZodNumber>;
7307
7276
  }, z.core.$strict>]>>;
7308
- keep_anchors: z.ZodOptional<z.ZodBoolean>;
7309
7277
  script: z.ZodString;
7310
7278
  character_reference: z.ZodOptional<z.ZodString>;
7311
7279
  }, z.core.$strict>, z.ZodObject<{
@@ -7577,21 +7545,6 @@ export declare const workflowNativeInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
7577
7545
  "720p": "720p";
7578
7546
  }>>;
7579
7547
  max_credits: z.ZodOptional<z.ZodNumber>;
7580
- scene: z.ZodOptional<z.ZodObject<{
7581
- place: z.ZodOptional<z.ZodString>;
7582
- posture: z.ZodOptional<z.ZodEnum<{
7583
- seated: "seated";
7584
- standing: "standing";
7585
- }>>;
7586
- wardrobe: z.ZodOptional<z.ZodString>;
7587
- product: z.ZodOptional<z.ZodString>;
7588
- props: z.ZodOptional<z.ZodArray<z.ZodString>>;
7589
- light: z.ZodOptional<z.ZodString>;
7590
- }, z.core.$strict>>;
7591
- proposal: z.ZodOptional<z.ZodObject<{
7592
- id: z.ZodString;
7593
- accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
7594
- }, z.core.$strict>>;
7595
7548
  propose: z.ZodOptional<z.ZodLiteral<false>>;
7596
7549
  input_mode: z.ZodLiteral<"brief">;
7597
7550
  brief: z.ZodString;
@@ -7607,7 +7560,6 @@ export declare const workflowNativeInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
7607
7560
  scenes: z.ZodOptional<z.ZodNever>;
7608
7561
  moves: z.ZodOptional<z.ZodNever>;
7609
7562
  pause_trim: z.ZodOptional<z.ZodNever>;
7610
- keep_anchors: z.ZodOptional<z.ZodNever>;
7611
7563
  character_reference: z.ZodOptional<z.ZodString>;
7612
7564
  }, z.core.$strict>], "input_mode">;
7613
7565
  }, z.core.$strict>], "skill">;
@@ -8680,21 +8632,6 @@ export declare const workflowBrief: z.ZodObject<{
8680
8632
  }>>;
8681
8633
  }, z.core.$strict>>;
8682
8634
  product_asset_id: z.ZodOptional<z.ZodString>;
8683
- scene: z.ZodOptional<z.ZodObject<{
8684
- place: z.ZodOptional<z.ZodString>;
8685
- posture: z.ZodOptional<z.ZodEnum<{
8686
- seated: "seated";
8687
- standing: "standing";
8688
- }>>;
8689
- wardrobe: z.ZodOptional<z.ZodString>;
8690
- product: z.ZodOptional<z.ZodString>;
8691
- props: z.ZodOptional<z.ZodArray<z.ZodString>>;
8692
- light: z.ZodOptional<z.ZodString>;
8693
- }, z.core.$strict>>;
8694
- proposal: z.ZodOptional<z.ZodObject<{
8695
- id: z.ZodString;
8696
- accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
8697
- }, z.core.$strict>>;
8698
8635
  propose: z.ZodOptional<z.ZodLiteral<false>>;
8699
8636
  person: z.ZodOptional<z.ZodString>;
8700
8637
  actor_id: z.ZodOptional<z.ZodString>;
@@ -11818,7 +11755,6 @@ export declare const workflowBrief: z.ZodObject<{
11818
11755
  hand: "hand";
11819
11756
  }>;
11820
11757
  }, z.core.$strict>]>>;
11821
- start: z.ZodOptional<z.ZodString>;
11822
11758
  cast: z.ZodOptional<z.ZodArray<z.ZodObject<{
11823
11759
  asset_id: z.ZodString;
11824
11760
  role: z.ZodString;
@@ -12175,21 +12111,6 @@ export declare const workflowBrief: z.ZodObject<{
12175
12111
  "720p": "720p";
12176
12112
  }>>;
12177
12113
  max_credits: z.ZodOptional<z.ZodNumber>;
12178
- scene: z.ZodOptional<z.ZodObject<{
12179
- place: z.ZodOptional<z.ZodString>;
12180
- posture: z.ZodOptional<z.ZodEnum<{
12181
- seated: "seated";
12182
- standing: "standing";
12183
- }>>;
12184
- wardrobe: z.ZodOptional<z.ZodString>;
12185
- product: z.ZodOptional<z.ZodString>;
12186
- props: z.ZodOptional<z.ZodArray<z.ZodString>>;
12187
- light: z.ZodOptional<z.ZodString>;
12188
- }, z.core.$strict>>;
12189
- proposal: z.ZodOptional<z.ZodObject<{
12190
- id: z.ZodString;
12191
- accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
12192
- }, z.core.$strict>>;
12193
12114
  propose: z.ZodOptional<z.ZodLiteral<false>>;
12194
12115
  input_mode: z.ZodLiteral<"script">;
12195
12116
  transitions: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
@@ -14944,7 +14865,6 @@ export declare const workflowBrief: z.ZodObject<{
14944
14865
  comma_s: z.ZodOptional<z.ZodNumber>;
14945
14866
  mid_phrase_s: z.ZodOptional<z.ZodNumber>;
14946
14867
  }, z.core.$strict>]>>;
14947
- keep_anchors: z.ZodOptional<z.ZodBoolean>;
14948
14868
  script: z.ZodString;
14949
14869
  character_reference: z.ZodOptional<z.ZodString>;
14950
14870
  }, z.core.$strict>, z.ZodObject<{
@@ -15216,21 +15136,6 @@ export declare const workflowBrief: z.ZodObject<{
15216
15136
  "720p": "720p";
15217
15137
  }>>;
15218
15138
  max_credits: z.ZodOptional<z.ZodNumber>;
15219
- scene: z.ZodOptional<z.ZodObject<{
15220
- place: z.ZodOptional<z.ZodString>;
15221
- posture: z.ZodOptional<z.ZodEnum<{
15222
- seated: "seated";
15223
- standing: "standing";
15224
- }>>;
15225
- wardrobe: z.ZodOptional<z.ZodString>;
15226
- product: z.ZodOptional<z.ZodString>;
15227
- props: z.ZodOptional<z.ZodArray<z.ZodString>>;
15228
- light: z.ZodOptional<z.ZodString>;
15229
- }, z.core.$strict>>;
15230
- proposal: z.ZodOptional<z.ZodObject<{
15231
- id: z.ZodString;
15232
- accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
15233
- }, z.core.$strict>>;
15234
15139
  propose: z.ZodOptional<z.ZodLiteral<false>>;
15235
15140
  input_mode: z.ZodLiteral<"brief">;
15236
15141
  brief: z.ZodString;
@@ -15246,7 +15151,6 @@ export declare const workflowBrief: z.ZodObject<{
15246
15151
  scenes: z.ZodOptional<z.ZodNever>;
15247
15152
  moves: z.ZodOptional<z.ZodNever>;
15248
15153
  pause_trim: z.ZodOptional<z.ZodNever>;
15249
- keep_anchors: z.ZodOptional<z.ZodNever>;
15250
15154
  character_reference: z.ZodOptional<z.ZodString>;
15251
15155
  }, z.core.$strict>], "input_mode">;
15252
15156
  }, z.core.$strict>], "skill">>;
@@ -1161,21 +1161,6 @@ export declare const methodDescriptor: z.ZodObject<{
1161
1161
  }>>;
1162
1162
  }, z.core.$strict>>;
1163
1163
  product_asset_id: z.ZodOptional<z.ZodString>;
1164
- scene: z.ZodOptional<z.ZodObject<{
1165
- place: z.ZodOptional<z.ZodString>;
1166
- posture: z.ZodOptional<z.ZodEnum<{
1167
- seated: "seated";
1168
- standing: "standing";
1169
- }>>;
1170
- wardrobe: z.ZodOptional<z.ZodString>;
1171
- product: z.ZodOptional<z.ZodString>;
1172
- props: z.ZodOptional<z.ZodArray<z.ZodString>>;
1173
- light: z.ZodOptional<z.ZodString>;
1174
- }, z.core.$strict>>;
1175
- proposal: z.ZodOptional<z.ZodObject<{
1176
- id: z.ZodString;
1177
- accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
1178
- }, z.core.$strict>>;
1179
1164
  propose: z.ZodOptional<z.ZodLiteral<false>>;
1180
1165
  person: z.ZodOptional<z.ZodString>;
1181
1166
  actor_id: z.ZodOptional<z.ZodString>;
@@ -4299,7 +4284,6 @@ export declare const methodDescriptor: z.ZodObject<{
4299
4284
  hand: "hand";
4300
4285
  }>;
4301
4286
  }, z.core.$strict>]>>;
4302
- start: z.ZodOptional<z.ZodString>;
4303
4287
  cast: z.ZodOptional<z.ZodArray<z.ZodObject<{
4304
4288
  asset_id: z.ZodString;
4305
4289
  role: z.ZodString;
@@ -4656,21 +4640,6 @@ export declare const methodDescriptor: z.ZodObject<{
4656
4640
  "720p": "720p";
4657
4641
  }>>;
4658
4642
  max_credits: z.ZodOptional<z.ZodNumber>;
4659
- scene: z.ZodOptional<z.ZodObject<{
4660
- place: z.ZodOptional<z.ZodString>;
4661
- posture: z.ZodOptional<z.ZodEnum<{
4662
- seated: "seated";
4663
- standing: "standing";
4664
- }>>;
4665
- wardrobe: z.ZodOptional<z.ZodString>;
4666
- product: z.ZodOptional<z.ZodString>;
4667
- props: z.ZodOptional<z.ZodArray<z.ZodString>>;
4668
- light: z.ZodOptional<z.ZodString>;
4669
- }, z.core.$strict>>;
4670
- proposal: z.ZodOptional<z.ZodObject<{
4671
- id: z.ZodString;
4672
- accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
4673
- }, z.core.$strict>>;
4674
4643
  propose: z.ZodOptional<z.ZodLiteral<false>>;
4675
4644
  input_mode: z.ZodLiteral<"script">;
4676
4645
  transitions: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
@@ -7425,7 +7394,6 @@ export declare const methodDescriptor: z.ZodObject<{
7425
7394
  comma_s: z.ZodOptional<z.ZodNumber>;
7426
7395
  mid_phrase_s: z.ZodOptional<z.ZodNumber>;
7427
7396
  }, z.core.$strict>]>>;
7428
- keep_anchors: z.ZodOptional<z.ZodBoolean>;
7429
7397
  script: z.ZodString;
7430
7398
  character_reference: z.ZodOptional<z.ZodString>;
7431
7399
  }, z.core.$strict>, z.ZodObject<{
@@ -7697,21 +7665,6 @@ export declare const methodDescriptor: z.ZodObject<{
7697
7665
  "720p": "720p";
7698
7666
  }>>;
7699
7667
  max_credits: z.ZodOptional<z.ZodNumber>;
7700
- scene: z.ZodOptional<z.ZodObject<{
7701
- place: z.ZodOptional<z.ZodString>;
7702
- posture: z.ZodOptional<z.ZodEnum<{
7703
- seated: "seated";
7704
- standing: "standing";
7705
- }>>;
7706
- wardrobe: z.ZodOptional<z.ZodString>;
7707
- product: z.ZodOptional<z.ZodString>;
7708
- props: z.ZodOptional<z.ZodArray<z.ZodString>>;
7709
- light: z.ZodOptional<z.ZodString>;
7710
- }, z.core.$strict>>;
7711
- proposal: z.ZodOptional<z.ZodObject<{
7712
- id: z.ZodString;
7713
- accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
7714
- }, z.core.$strict>>;
7715
7668
  propose: z.ZodOptional<z.ZodLiteral<false>>;
7716
7669
  input_mode: z.ZodLiteral<"brief">;
7717
7670
  brief: z.ZodString;
@@ -7727,7 +7680,6 @@ export declare const methodDescriptor: z.ZodObject<{
7727
7680
  scenes: z.ZodOptional<z.ZodNever>;
7728
7681
  moves: z.ZodOptional<z.ZodNever>;
7729
7682
  pause_trim: z.ZodOptional<z.ZodNever>;
7730
- keep_anchors: z.ZodOptional<z.ZodNever>;
7731
7683
  character_reference: z.ZodOptional<z.ZodString>;
7732
7684
  }, z.core.$strict>], "input_mode">;
7733
7685
  }, z.core.$strict>], "skill">>;
@@ -9946,21 +9898,6 @@ export declare const workflowMethodResponse: z.ZodObject<{
9946
9898
  }>>;
9947
9899
  }, z.core.$strict>>;
9948
9900
  product_asset_id: z.ZodOptional<z.ZodString>;
9949
- scene: z.ZodOptional<z.ZodObject<{
9950
- place: z.ZodOptional<z.ZodString>;
9951
- posture: z.ZodOptional<z.ZodEnum<{
9952
- seated: "seated";
9953
- standing: "standing";
9954
- }>>;
9955
- wardrobe: z.ZodOptional<z.ZodString>;
9956
- product: z.ZodOptional<z.ZodString>;
9957
- props: z.ZodOptional<z.ZodArray<z.ZodString>>;
9958
- light: z.ZodOptional<z.ZodString>;
9959
- }, z.core.$strict>>;
9960
- proposal: z.ZodOptional<z.ZodObject<{
9961
- id: z.ZodString;
9962
- accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
9963
- }, z.core.$strict>>;
9964
9901
  propose: z.ZodOptional<z.ZodLiteral<false>>;
9965
9902
  person: z.ZodOptional<z.ZodString>;
9966
9903
  actor_id: z.ZodOptional<z.ZodString>;
@@ -13084,7 +13021,6 @@ export declare const workflowMethodResponse: z.ZodObject<{
13084
13021
  hand: "hand";
13085
13022
  }>;
13086
13023
  }, z.core.$strict>]>>;
13087
- start: z.ZodOptional<z.ZodString>;
13088
13024
  cast: z.ZodOptional<z.ZodArray<z.ZodObject<{
13089
13025
  asset_id: z.ZodString;
13090
13026
  role: z.ZodString;
@@ -13441,21 +13377,6 @@ export declare const workflowMethodResponse: z.ZodObject<{
13441
13377
  "720p": "720p";
13442
13378
  }>>;
13443
13379
  max_credits: z.ZodOptional<z.ZodNumber>;
13444
- scene: z.ZodOptional<z.ZodObject<{
13445
- place: z.ZodOptional<z.ZodString>;
13446
- posture: z.ZodOptional<z.ZodEnum<{
13447
- seated: "seated";
13448
- standing: "standing";
13449
- }>>;
13450
- wardrobe: z.ZodOptional<z.ZodString>;
13451
- product: z.ZodOptional<z.ZodString>;
13452
- props: z.ZodOptional<z.ZodArray<z.ZodString>>;
13453
- light: z.ZodOptional<z.ZodString>;
13454
- }, z.core.$strict>>;
13455
- proposal: z.ZodOptional<z.ZodObject<{
13456
- id: z.ZodString;
13457
- accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
13458
- }, z.core.$strict>>;
13459
13380
  propose: z.ZodOptional<z.ZodLiteral<false>>;
13460
13381
  input_mode: z.ZodLiteral<"script">;
13461
13382
  transitions: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
@@ -16210,7 +16131,6 @@ export declare const workflowMethodResponse: z.ZodObject<{
16210
16131
  comma_s: z.ZodOptional<z.ZodNumber>;
16211
16132
  mid_phrase_s: z.ZodOptional<z.ZodNumber>;
16212
16133
  }, z.core.$strict>]>>;
16213
- keep_anchors: z.ZodOptional<z.ZodBoolean>;
16214
16134
  script: z.ZodString;
16215
16135
  character_reference: z.ZodOptional<z.ZodString>;
16216
16136
  }, z.core.$strict>, z.ZodObject<{
@@ -16482,21 +16402,6 @@ export declare const workflowMethodResponse: z.ZodObject<{
16482
16402
  "720p": "720p";
16483
16403
  }>>;
16484
16404
  max_credits: z.ZodOptional<z.ZodNumber>;
16485
- scene: z.ZodOptional<z.ZodObject<{
16486
- place: z.ZodOptional<z.ZodString>;
16487
- posture: z.ZodOptional<z.ZodEnum<{
16488
- seated: "seated";
16489
- standing: "standing";
16490
- }>>;
16491
- wardrobe: z.ZodOptional<z.ZodString>;
16492
- product: z.ZodOptional<z.ZodString>;
16493
- props: z.ZodOptional<z.ZodArray<z.ZodString>>;
16494
- light: z.ZodOptional<z.ZodString>;
16495
- }, z.core.$strict>>;
16496
- proposal: z.ZodOptional<z.ZodObject<{
16497
- id: z.ZodString;
16498
- accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
16499
- }, z.core.$strict>>;
16500
16405
  propose: z.ZodOptional<z.ZodLiteral<false>>;
16501
16406
  input_mode: z.ZodLiteral<"brief">;
16502
16407
  brief: z.ZodString;
@@ -16512,7 +16417,6 @@ export declare const workflowMethodResponse: z.ZodObject<{
16512
16417
  scenes: z.ZodOptional<z.ZodNever>;
16513
16418
  moves: z.ZodOptional<z.ZodNever>;
16514
16419
  pause_trim: z.ZodOptional<z.ZodNever>;
16515
- keep_anchors: z.ZodOptional<z.ZodNever>;
16516
16420
  character_reference: z.ZodOptional<z.ZodString>;
16517
16421
  }, z.core.$strict>], "input_mode">;
16518
16422
  }, z.core.$strict>], "skill">>;