@clipwright/core 0.27.0 → 0.28.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 (87) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/dist/api-failure.d.ts +49 -2
  3. package/dist/api-failure.js +82 -1
  4. package/dist/api-failure.js.map +1 -1
  5. package/dist/contract-dispositions.js +3 -3
  6. package/dist/contract-dispositions.js.map +1 -1
  7. package/dist/contracts/v1/workflow-brief.d.ts +402 -0
  8. package/dist/contracts/v1/workflow-brief.js +40 -0
  9. package/dist/contracts/v1/workflow-brief.js.map +1 -0
  10. package/dist/contracts/v1/workflow-catalog.d.ts +1060 -0
  11. package/dist/contracts/v1/workflow-catalog.js +45 -0
  12. package/dist/contracts/v1/workflow-catalog.js.map +1 -0
  13. package/dist/contracts/v1/workflow-dto.d.ts +18 -0
  14. package/dist/contracts/v1/workflow-dto.js +25 -0
  15. package/dist/contracts/v1/workflow-dto.js.map +1 -0
  16. package/dist/contracts/v1/workflow-evidence.d.ts +115 -0
  17. package/dist/contracts/v1/workflow-evidence.js +33 -0
  18. package/dist/contracts/v1/workflow-evidence.js.map +1 -0
  19. package/dist/contracts/v1/workflow-execution.d.ts +235 -0
  20. package/dist/contracts/v1/workflow-execution.js +33 -0
  21. package/dist/contracts/v1/workflow-execution.js.map +1 -0
  22. package/dist/contracts/v1/workflow-plan.d.ts +1057 -0
  23. package/dist/contracts/v1/workflow-plan.js +26 -0
  24. package/dist/contracts/v1/workflow-plan.js.map +1 -0
  25. package/dist/contracts/v1/workflow-primitives.d.ts +62 -0
  26. package/dist/contracts/v1/workflow-primitives.js +16 -0
  27. package/dist/contracts/v1/workflow-primitives.js.map +1 -0
  28. package/dist/edit-billing.d.ts +65 -0
  29. package/dist/edit-billing.js +30 -0
  30. package/dist/edit-billing.js.map +1 -0
  31. package/dist/edit-revision.d.ts +162 -0
  32. package/dist/edit-revision.js +36 -0
  33. package/dist/edit-revision.js.map +1 -0
  34. package/dist/edit.d.ts +2 -0
  35. package/dist/edit.js +3 -1
  36. package/dist/edit.js.map +1 -1
  37. package/dist/endpoints.js +6 -4
  38. package/dist/endpoints.js.map +1 -1
  39. package/dist/errors.d.ts +95 -1
  40. package/dist/errors.js +87 -0
  41. package/dist/errors.js.map +1 -1
  42. package/dist/faceless-public.d.ts +254 -0
  43. package/dist/faceless-public.js +11 -0
  44. package/dist/faceless-public.js.map +1 -1
  45. package/dist/idempotency.d.ts +2 -0
  46. package/dist/idempotency.js +9 -0
  47. package/dist/idempotency.js.map +1 -1
  48. package/dist/index.d.ts +1 -0
  49. package/dist/index.js +1 -0
  50. package/dist/index.js.map +1 -1
  51. package/dist/runs.d.ts +52 -0
  52. package/dist/runs.js +15 -2
  53. package/dist/runs.js.map +1 -1
  54. package/dist/workflows/catalog.d.ts +4 -0
  55. package/dist/workflows/catalog.js +57 -0
  56. package/dist/workflows/catalog.js.map +1 -0
  57. package/dist/workflows/index.d.ts +9 -0
  58. package/dist/workflows/index.js +10 -0
  59. package/dist/workflows/index.js.map +1 -0
  60. package/dist/workflows/methods/faceless-explainer.d.ts +175 -0
  61. package/dist/workflows/methods/faceless-explainer.js +20 -0
  62. package/dist/workflows/methods/faceless-explainer.js.map +1 -0
  63. package/dist/workflows/methods/kinetic-launch.d.ts +175 -0
  64. package/dist/workflows/methods/kinetic-launch.js +19 -0
  65. package/dist/workflows/methods/kinetic-launch.js.map +1 -0
  66. package/dist/workflows/methods/product-image-story.d.ts +175 -0
  67. package/dist/workflows/methods/product-image-story.js +20 -0
  68. package/dist/workflows/methods/product-image-story.js.map +1 -0
  69. package/dist/workflows/methods/shared.d.ts +190 -0
  70. package/dist/workflows/methods/shared.js +13 -0
  71. package/dist/workflows/methods/shared.js.map +1 -0
  72. package/dist/workflows/methods/ugc-faq-answer.d.ts +175 -0
  73. package/dist/workflows/methods/ugc-faq-answer.js +19 -0
  74. package/dist/workflows/methods/ugc-faq-answer.js.map +1 -0
  75. package/dist/workflows/methods/ugc-product-intro.d.ts +175 -0
  76. package/dist/workflows/methods/ugc-product-intro.js +19 -0
  77. package/dist/workflows/methods/ugc-product-intro.js.map +1 -0
  78. package/dist/workflows/methods/website-proof-demo.d.ts +175 -0
  79. package/dist/workflows/methods/website-proof-demo.js +19 -0
  80. package/dist/workflows/methods/website-proof-demo.js.map +1 -0
  81. package/dist/workflows/validate.d.ts +10 -0
  82. package/dist/workflows/validate.js +203 -0
  83. package/dist/workflows/validate.js.map +1 -0
  84. package/dist/workflows.d.ts +1 -0
  85. package/dist/workflows.js +2 -0
  86. package/dist/workflows.js.map +1 -0
  87. package/package.json +5 -1
@@ -0,0 +1,1057 @@
1
+ import { z } from 'zod';
2
+ export declare const workflowPlanDocument: z.ZodObject<{
3
+ v: z.ZodLiteral<1>;
4
+ method: z.ZodObject<{
5
+ method_id: z.ZodEnum<{
6
+ "faceless-explainer": "faceless-explainer";
7
+ "kinetic-launch": "kinetic-launch";
8
+ "product-image-story": "product-image-story";
9
+ "ugc-faq-answer": "ugc-faq-answer";
10
+ "ugc-product-intro": "ugc-product-intro";
11
+ "website-proof-demo": "website-proof-demo";
12
+ }>;
13
+ version: z.ZodNumber;
14
+ content_digest: z.ZodString;
15
+ capability_digest: z.ZodString;
16
+ }, z.core.$strict>;
17
+ brief: z.ZodObject<{
18
+ audience: z.ZodString;
19
+ message: z.ZodString;
20
+ script: z.ZodOptional<z.ZodString>;
21
+ cta: z.ZodOptional<z.ZodString>;
22
+ question: z.ZodOptional<z.ZodString>;
23
+ product: z.ZodOptional<z.ZodString>;
24
+ topic: z.ZodOptional<z.ZodString>;
25
+ brand_intent: z.ZodOptional<z.ZodString>;
26
+ required_terms: z.ZodDefault<z.ZodArray<z.ZodString>>;
27
+ requirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
28
+ feature: z.ZodString;
29
+ required: z.ZodBoolean;
30
+ }, z.core.$strict>>>;
31
+ requested_format: z.ZodOptional<z.ZodObject<{
32
+ aspect_ratio: z.ZodEnum<{
33
+ "16:9": "16:9";
34
+ "1:1": "1:1";
35
+ "9:16": "9:16";
36
+ }>;
37
+ resolution: z.ZodEnum<{
38
+ "1080p": "1080p";
39
+ "4k": "4k";
40
+ "720p": "720p";
41
+ }>;
42
+ }, z.core.$strict>>;
43
+ native: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
44
+ skill: z.ZodLiteral<"make_ugc">;
45
+ input: z.ZodObject<{
46
+ script: z.ZodOptional<z.ZodString>;
47
+ inserts: z.ZodOptional<z.ZodArray<z.ZodObject<{
48
+ id: z.ZodString;
49
+ media_url: z.ZodString;
50
+ media_type: z.ZodEnum<{
51
+ image: "image";
52
+ video: "video";
53
+ }>;
54
+ anchor: z.ZodUnion<readonly [z.ZodObject<{
55
+ startWord: z.ZodNumber;
56
+ endWord: z.ZodNumber;
57
+ }, z.core.$strict>, z.ZodObject<{
58
+ quote: z.ZodString;
59
+ occurrence: z.ZodOptional<z.ZodNumber>;
60
+ }, z.core.$strict>]>;
61
+ cover_words: z.ZodOptional<z.ZodNumber>;
62
+ image_motion: z.ZodOptional<z.ZodObject<{
63
+ direction: z.ZodEnum<{
64
+ in: "in";
65
+ out: "out";
66
+ }>;
67
+ amount: z.ZodNumber;
68
+ }, z.core.$strict>>;
69
+ }, z.core.$strict>>>;
70
+ person: z.ZodOptional<z.ZodString>;
71
+ actor_id: z.ZodOptional<z.ZodString>;
72
+ image: z.ZodOptional<z.ZodString>;
73
+ actor_gender: z.ZodOptional<z.ZodEnum<{
74
+ female: "female";
75
+ male: "male";
76
+ }>>;
77
+ character: z.ZodOptional<z.ZodString>;
78
+ name: z.ZodOptional<z.ZodString>;
79
+ broll_url: z.ZodOptional<z.ZodString>;
80
+ broll_policy: z.ZodOptional<z.ZodEnum<{
81
+ anyone: "anyone";
82
+ no_actor: "no_actor";
83
+ no_people: "no_people";
84
+ }>>;
85
+ captions: z.ZodDefault<z.ZodBoolean>;
86
+ caption_style: z.ZodDefault<z.ZodEnum<{
87
+ hormozi: "hormozi";
88
+ minimal: "minimal";
89
+ tiktok: "tiktok";
90
+ }>>;
91
+ look: z.ZodDefault<z.ZodEnum<{
92
+ commercial: "commercial";
93
+ natural: "natural";
94
+ raw_iphone: "raw_iphone";
95
+ }>>;
96
+ aspect_ratio: z.ZodOptional<z.ZodEnum<{
97
+ "16:9": "16:9";
98
+ "1:1": "1:1";
99
+ "9:16": "9:16";
100
+ }>>;
101
+ resolution: z.ZodOptional<z.ZodEnum<{
102
+ "1080p": "1080p";
103
+ "4k": "4k";
104
+ "720p": "720p";
105
+ }>>;
106
+ voice: z.ZodOptional<z.ZodString>;
107
+ voice_id: z.ZodOptional<z.ZodString>;
108
+ tts_model: z.ZodOptional<z.ZodEnum<{
109
+ eleven_flash_v2_5: "eleven_flash_v2_5";
110
+ eleven_turbo_v2_5: "eleven_turbo_v2_5";
111
+ eleven_v3: "eleven_v3";
112
+ eleven_v4: "eleven_v4";
113
+ "gemini-3.8-flash-tts": "gemini-3.8-flash-tts";
114
+ }>>;
115
+ webhook_url: z.ZodOptional<z.ZodString>;
116
+ disclosure_overlay: z.ZodOptional<z.ZodBoolean>;
117
+ background: z.ZodOptional<z.ZodEnum<{
118
+ blur: "blur";
119
+ contain: "contain";
120
+ white: "white";
121
+ }>>;
122
+ segments: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodObject<{
123
+ kind: z.ZodEnum<{
124
+ actor: "actor";
125
+ media: "media";
126
+ }>;
127
+ script: z.ZodOptional<z.ZodString>;
128
+ media_url: z.ZodOptional<z.ZodString>;
129
+ media_type: z.ZodOptional<z.ZodEnum<{
130
+ image: "image";
131
+ video: "video";
132
+ }>>;
133
+ duration_seconds: z.ZodOptional<z.ZodNumber>;
134
+ image_motion: z.ZodOptional<z.ZodObject<{
135
+ direction: z.ZodEnum<{
136
+ in: "in";
137
+ out: "out";
138
+ }>;
139
+ amount: z.ZodNumber;
140
+ }, z.core.$strict>>;
141
+ }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
142
+ kind: z.ZodEnum<{
143
+ actor: "actor";
144
+ media: "media";
145
+ }>;
146
+ script: z.ZodOptional<z.ZodString>;
147
+ media_url: z.ZodOptional<z.ZodString>;
148
+ media_type: z.ZodOptional<z.ZodEnum<{
149
+ image: "image";
150
+ video: "video";
151
+ }>>;
152
+ duration_seconds: z.ZodOptional<z.ZodNumber>;
153
+ image_motion: z.ZodOptional<z.ZodObject<{
154
+ direction: z.ZodEnum<{
155
+ in: "in";
156
+ out: "out";
157
+ }>;
158
+ amount: z.ZodNumber;
159
+ }, z.core.$strip>>;
160
+ }, z.core.$strip>>>>;
161
+ }, z.core.$strict>;
162
+ }, z.core.$strict>, z.ZodObject<{
163
+ skill: z.ZodLiteral<"make_faceless">;
164
+ input: z.ZodDiscriminatedUnion<[z.ZodObject<{
165
+ duration_seconds: z.ZodNumber;
166
+ style_reference: z.ZodOptional<z.ZodString>;
167
+ character_reference: z.ZodOptional<z.ZodString>;
168
+ character_details: z.ZodOptional<z.ZodString>;
169
+ scene_images: z.ZodOptional<z.ZodArray<z.ZodObject<{
170
+ image_url: z.ZodString;
171
+ anchor: z.ZodUnion<readonly [z.ZodObject<{
172
+ startWord: z.ZodNumber;
173
+ endWord: z.ZodNumber;
174
+ }, z.core.$strict>, z.ZodObject<{
175
+ quote: z.ZodString;
176
+ occurrence: z.ZodOptional<z.ZodNumber>;
177
+ }, z.core.$strict>]>;
178
+ }, z.core.$strict>>>;
179
+ captions: z.ZodDefault<z.ZodBoolean>;
180
+ voice: z.ZodOptional<z.ZodString>;
181
+ voice_id: z.ZodOptional<z.ZodNever>;
182
+ input_mode: z.ZodLiteral<"script">;
183
+ script: z.ZodString;
184
+ }, z.core.$strict>, z.ZodObject<{
185
+ duration_seconds: z.ZodNumber;
186
+ style_reference: z.ZodOptional<z.ZodString>;
187
+ character_reference: z.ZodOptional<z.ZodString>;
188
+ character_details: z.ZodOptional<z.ZodString>;
189
+ scene_images: z.ZodOptional<z.ZodArray<z.ZodObject<{
190
+ image_url: z.ZodString;
191
+ anchor: z.ZodUnion<readonly [z.ZodObject<{
192
+ startWord: z.ZodNumber;
193
+ endWord: z.ZodNumber;
194
+ }, z.core.$strict>, z.ZodObject<{
195
+ quote: z.ZodString;
196
+ occurrence: z.ZodOptional<z.ZodNumber>;
197
+ }, z.core.$strict>]>;
198
+ }, z.core.$strict>>>;
199
+ captions: z.ZodDefault<z.ZodBoolean>;
200
+ voice: z.ZodOptional<z.ZodString>;
201
+ voice_id: z.ZodOptional<z.ZodNever>;
202
+ input_mode: z.ZodLiteral<"brief">;
203
+ brief: z.ZodString;
204
+ }, z.core.$strict>], "input_mode">;
205
+ }, z.core.$strict>], "skill">>;
206
+ references: z.ZodDefault<z.ZodArray<z.ZodObject<{
207
+ kind: z.ZodEnum<{
208
+ capture: "capture";
209
+ owner: "owner";
210
+ url: "url";
211
+ }>;
212
+ reference: z.ZodString;
213
+ url: z.ZodOptional<z.ZodString>;
214
+ observed_at: z.ZodOptional<z.ZodString>;
215
+ product_state: z.ZodOptional<z.ZodString>;
216
+ }, z.core.$strict>>>;
217
+ }, z.core.$strict>;
218
+ beats: z.ZodArray<z.ZodObject<{
219
+ id: z.ZodString;
220
+ role: z.ZodString;
221
+ anchor: z.ZodUnion<readonly [z.ZodObject<{
222
+ startWord: z.ZodNumber;
223
+ endWord: z.ZodNumber;
224
+ }, z.core.$strict>, z.ZodObject<{
225
+ quote: z.ZodString;
226
+ occurrence: z.ZodOptional<z.ZodNumber>;
227
+ }, z.core.$strict>]>;
228
+ required: z.ZodBoolean;
229
+ visual: z.ZodOptional<z.ZodString>;
230
+ }, z.core.$strict>>;
231
+ claims: z.ZodArray<z.ZodObject<{
232
+ id: z.ZodString;
233
+ text: z.ZodString;
234
+ required: z.ZodBoolean;
235
+ status: z.ZodEnum<{
236
+ checked: "checked";
237
+ supplied: "supplied";
238
+ unresolved: "unresolved";
239
+ }>;
240
+ source: z.ZodObject<{
241
+ kind: z.ZodEnum<{
242
+ capture: "capture";
243
+ owner: "owner";
244
+ url: "url";
245
+ }>;
246
+ reference: z.ZodString;
247
+ url: z.ZodOptional<z.ZodString>;
248
+ observed_at: z.ZodOptional<z.ZodString>;
249
+ product_state: z.ZodOptional<z.ZodString>;
250
+ }, z.core.$strict>;
251
+ }, z.core.$strict>>;
252
+ assets: z.ZodArray<z.ZodObject<{
253
+ instance_id: z.ZodString;
254
+ asset_id: z.ZodString;
255
+ content_digest: z.ZodString;
256
+ anchor: z.ZodUnion<readonly [z.ZodObject<{
257
+ startWord: z.ZodNumber;
258
+ endWord: z.ZodNumber;
259
+ }, z.core.$strict>, z.ZodObject<{
260
+ quote: z.ZodString;
261
+ occurrence: z.ZodOptional<z.ZodNumber>;
262
+ }, z.core.$strict>]>;
263
+ provenance: z.ZodEnum<{
264
+ generated_illustration: "generated_illustration";
265
+ owner_supplied: "owner_supplied";
266
+ verified_capture: "verified_capture";
267
+ }>;
268
+ rights: z.ZodEnum<{
269
+ licensed: "licensed";
270
+ owner_authorized: "owner_authorized";
271
+ unresolved: "unresolved";
272
+ }>;
273
+ purpose: z.ZodEnum<{
274
+ illustration: "illustration";
275
+ product_proof: "product_proof";
276
+ ui_proof: "ui_proof";
277
+ }>;
278
+ protected_area: z.ZodOptional<z.ZodObject<{
279
+ x: z.ZodNumber;
280
+ y: z.ZodNumber;
281
+ width: z.ZodNumber;
282
+ height: z.ZodNumber;
283
+ }, z.core.$strict>>;
284
+ }, z.core.$strict>>;
285
+ }, z.core.$strict>;
286
+ export type WorkflowPlanDocument = z.infer<typeof workflowPlanDocument>;
287
+ export type WorkflowPlanDocumentArgs = z.input<typeof workflowPlanDocument>;
288
+ export declare const workflowPlanDocumentRead: z.ZodObject<{
289
+ v: z.ZodNumber;
290
+ method: z.ZodObject<{
291
+ method_id: z.ZodString;
292
+ version: z.ZodNumber;
293
+ content_digest: z.ZodString;
294
+ capability_digest: z.ZodString;
295
+ }, z.core.$strip>;
296
+ brief: z.ZodObject<{
297
+ audience: z.ZodString;
298
+ message: z.ZodString;
299
+ script: z.ZodOptional<z.ZodString>;
300
+ cta: z.ZodOptional<z.ZodString>;
301
+ question: z.ZodOptional<z.ZodString>;
302
+ product: z.ZodOptional<z.ZodString>;
303
+ topic: z.ZodOptional<z.ZodString>;
304
+ brand_intent: z.ZodOptional<z.ZodString>;
305
+ required_terms: z.ZodDefault<z.ZodArray<z.ZodString>>;
306
+ requested_format: z.ZodOptional<z.ZodObject<{
307
+ aspect_ratio: z.ZodString;
308
+ resolution: z.ZodString;
309
+ }, z.core.$strip>>;
310
+ native: z.ZodOptional<z.ZodObject<{
311
+ skill: z.ZodString;
312
+ input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
313
+ }, z.core.$strip>>;
314
+ requirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
315
+ feature: z.ZodString;
316
+ required: z.ZodBoolean;
317
+ }, z.core.$strip>>>;
318
+ references: z.ZodDefault<z.ZodArray<z.ZodObject<{
319
+ kind: z.ZodString;
320
+ reference: z.ZodString;
321
+ url: z.ZodOptional<z.ZodString>;
322
+ observed_at: z.ZodOptional<z.ZodString>;
323
+ product_state: z.ZodOptional<z.ZodString>;
324
+ }, z.core.$strip>>>;
325
+ }, z.core.$strip>;
326
+ beats: z.ZodArray<z.ZodObject<{
327
+ id: z.ZodString;
328
+ role: z.ZodString;
329
+ anchor: z.ZodUnion<readonly [z.ZodObject<{
330
+ startWord: z.ZodNumber;
331
+ endWord: z.ZodNumber;
332
+ }, z.core.$strip>, z.ZodObject<{
333
+ quote: z.ZodString;
334
+ occurrence: z.ZodOptional<z.ZodNumber>;
335
+ }, z.core.$strip>]>;
336
+ required: z.ZodBoolean;
337
+ visual: z.ZodOptional<z.ZodString>;
338
+ }, z.core.$strip>>;
339
+ claims: z.ZodArray<z.ZodObject<{
340
+ id: z.ZodString;
341
+ text: z.ZodString;
342
+ required: z.ZodBoolean;
343
+ status: z.ZodString;
344
+ source: z.ZodObject<{
345
+ kind: z.ZodString;
346
+ reference: z.ZodString;
347
+ url: z.ZodOptional<z.ZodString>;
348
+ observed_at: z.ZodOptional<z.ZodString>;
349
+ product_state: z.ZodOptional<z.ZodString>;
350
+ }, z.core.$strip>;
351
+ }, z.core.$strip>>;
352
+ assets: z.ZodArray<z.ZodObject<{
353
+ instance_id: z.ZodString;
354
+ asset_id: z.ZodString;
355
+ content_digest: z.ZodString;
356
+ anchor: z.ZodUnion<readonly [z.ZodObject<{
357
+ startWord: z.ZodNumber;
358
+ endWord: z.ZodNumber;
359
+ }, z.core.$strip>, z.ZodObject<{
360
+ quote: z.ZodString;
361
+ occurrence: z.ZodOptional<z.ZodNumber>;
362
+ }, z.core.$strip>]>;
363
+ provenance: z.ZodString;
364
+ rights: z.ZodString;
365
+ purpose: z.ZodString;
366
+ protected_area: z.ZodOptional<z.ZodObject<{
367
+ x: z.ZodNumber;
368
+ y: z.ZodNumber;
369
+ width: z.ZodNumber;
370
+ height: z.ZodNumber;
371
+ }, z.core.$strip>>;
372
+ }, z.core.$strip>>;
373
+ }, z.core.$strip>;
374
+ export declare const createWorkflowPlan: z.ZodObject<{
375
+ document: z.ZodObject<{
376
+ v: z.ZodLiteral<1>;
377
+ method: z.ZodObject<{
378
+ method_id: z.ZodEnum<{
379
+ "faceless-explainer": "faceless-explainer";
380
+ "kinetic-launch": "kinetic-launch";
381
+ "product-image-story": "product-image-story";
382
+ "ugc-faq-answer": "ugc-faq-answer";
383
+ "ugc-product-intro": "ugc-product-intro";
384
+ "website-proof-demo": "website-proof-demo";
385
+ }>;
386
+ version: z.ZodNumber;
387
+ content_digest: z.ZodString;
388
+ capability_digest: z.ZodString;
389
+ }, z.core.$strict>;
390
+ brief: z.ZodObject<{
391
+ audience: z.ZodString;
392
+ message: z.ZodString;
393
+ script: z.ZodOptional<z.ZodString>;
394
+ cta: z.ZodOptional<z.ZodString>;
395
+ question: z.ZodOptional<z.ZodString>;
396
+ product: z.ZodOptional<z.ZodString>;
397
+ topic: z.ZodOptional<z.ZodString>;
398
+ brand_intent: z.ZodOptional<z.ZodString>;
399
+ required_terms: z.ZodDefault<z.ZodArray<z.ZodString>>;
400
+ requirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
401
+ feature: z.ZodString;
402
+ required: z.ZodBoolean;
403
+ }, z.core.$strict>>>;
404
+ requested_format: z.ZodOptional<z.ZodObject<{
405
+ aspect_ratio: z.ZodEnum<{
406
+ "16:9": "16:9";
407
+ "1:1": "1:1";
408
+ "9:16": "9:16";
409
+ }>;
410
+ resolution: z.ZodEnum<{
411
+ "1080p": "1080p";
412
+ "4k": "4k";
413
+ "720p": "720p";
414
+ }>;
415
+ }, z.core.$strict>>;
416
+ native: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
417
+ skill: z.ZodLiteral<"make_ugc">;
418
+ input: z.ZodObject<{
419
+ script: z.ZodOptional<z.ZodString>;
420
+ inserts: z.ZodOptional<z.ZodArray<z.ZodObject<{
421
+ id: z.ZodString;
422
+ media_url: z.ZodString;
423
+ media_type: z.ZodEnum<{
424
+ image: "image";
425
+ video: "video";
426
+ }>;
427
+ anchor: z.ZodUnion<readonly [z.ZodObject<{
428
+ startWord: z.ZodNumber;
429
+ endWord: z.ZodNumber;
430
+ }, z.core.$strict>, z.ZodObject<{
431
+ quote: z.ZodString;
432
+ occurrence: z.ZodOptional<z.ZodNumber>;
433
+ }, z.core.$strict>]>;
434
+ cover_words: z.ZodOptional<z.ZodNumber>;
435
+ image_motion: z.ZodOptional<z.ZodObject<{
436
+ direction: z.ZodEnum<{
437
+ in: "in";
438
+ out: "out";
439
+ }>;
440
+ amount: z.ZodNumber;
441
+ }, z.core.$strict>>;
442
+ }, z.core.$strict>>>;
443
+ person: z.ZodOptional<z.ZodString>;
444
+ actor_id: z.ZodOptional<z.ZodString>;
445
+ image: z.ZodOptional<z.ZodString>;
446
+ actor_gender: z.ZodOptional<z.ZodEnum<{
447
+ female: "female";
448
+ male: "male";
449
+ }>>;
450
+ character: z.ZodOptional<z.ZodString>;
451
+ name: z.ZodOptional<z.ZodString>;
452
+ broll_url: z.ZodOptional<z.ZodString>;
453
+ broll_policy: z.ZodOptional<z.ZodEnum<{
454
+ anyone: "anyone";
455
+ no_actor: "no_actor";
456
+ no_people: "no_people";
457
+ }>>;
458
+ captions: z.ZodDefault<z.ZodBoolean>;
459
+ caption_style: z.ZodDefault<z.ZodEnum<{
460
+ hormozi: "hormozi";
461
+ minimal: "minimal";
462
+ tiktok: "tiktok";
463
+ }>>;
464
+ look: z.ZodDefault<z.ZodEnum<{
465
+ commercial: "commercial";
466
+ natural: "natural";
467
+ raw_iphone: "raw_iphone";
468
+ }>>;
469
+ aspect_ratio: z.ZodOptional<z.ZodEnum<{
470
+ "16:9": "16:9";
471
+ "1:1": "1:1";
472
+ "9:16": "9:16";
473
+ }>>;
474
+ resolution: z.ZodOptional<z.ZodEnum<{
475
+ "1080p": "1080p";
476
+ "4k": "4k";
477
+ "720p": "720p";
478
+ }>>;
479
+ voice: z.ZodOptional<z.ZodString>;
480
+ voice_id: z.ZodOptional<z.ZodString>;
481
+ tts_model: z.ZodOptional<z.ZodEnum<{
482
+ eleven_flash_v2_5: "eleven_flash_v2_5";
483
+ eleven_turbo_v2_5: "eleven_turbo_v2_5";
484
+ eleven_v3: "eleven_v3";
485
+ eleven_v4: "eleven_v4";
486
+ "gemini-3.8-flash-tts": "gemini-3.8-flash-tts";
487
+ }>>;
488
+ webhook_url: z.ZodOptional<z.ZodString>;
489
+ disclosure_overlay: z.ZodOptional<z.ZodBoolean>;
490
+ background: z.ZodOptional<z.ZodEnum<{
491
+ blur: "blur";
492
+ contain: "contain";
493
+ white: "white";
494
+ }>>;
495
+ segments: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodObject<{
496
+ kind: z.ZodEnum<{
497
+ actor: "actor";
498
+ media: "media";
499
+ }>;
500
+ script: z.ZodOptional<z.ZodString>;
501
+ media_url: z.ZodOptional<z.ZodString>;
502
+ media_type: z.ZodOptional<z.ZodEnum<{
503
+ image: "image";
504
+ video: "video";
505
+ }>>;
506
+ duration_seconds: z.ZodOptional<z.ZodNumber>;
507
+ image_motion: z.ZodOptional<z.ZodObject<{
508
+ direction: z.ZodEnum<{
509
+ in: "in";
510
+ out: "out";
511
+ }>;
512
+ amount: z.ZodNumber;
513
+ }, z.core.$strict>>;
514
+ }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
515
+ kind: z.ZodEnum<{
516
+ actor: "actor";
517
+ media: "media";
518
+ }>;
519
+ script: z.ZodOptional<z.ZodString>;
520
+ media_url: z.ZodOptional<z.ZodString>;
521
+ media_type: z.ZodOptional<z.ZodEnum<{
522
+ image: "image";
523
+ video: "video";
524
+ }>>;
525
+ duration_seconds: z.ZodOptional<z.ZodNumber>;
526
+ image_motion: z.ZodOptional<z.ZodObject<{
527
+ direction: z.ZodEnum<{
528
+ in: "in";
529
+ out: "out";
530
+ }>;
531
+ amount: z.ZodNumber;
532
+ }, z.core.$strip>>;
533
+ }, z.core.$strip>>>>;
534
+ }, z.core.$strict>;
535
+ }, z.core.$strict>, z.ZodObject<{
536
+ skill: z.ZodLiteral<"make_faceless">;
537
+ input: z.ZodDiscriminatedUnion<[z.ZodObject<{
538
+ duration_seconds: z.ZodNumber;
539
+ style_reference: z.ZodOptional<z.ZodString>;
540
+ character_reference: z.ZodOptional<z.ZodString>;
541
+ character_details: z.ZodOptional<z.ZodString>;
542
+ scene_images: z.ZodOptional<z.ZodArray<z.ZodObject<{
543
+ image_url: z.ZodString;
544
+ anchor: z.ZodUnion<readonly [z.ZodObject<{
545
+ startWord: z.ZodNumber;
546
+ endWord: z.ZodNumber;
547
+ }, z.core.$strict>, z.ZodObject<{
548
+ quote: z.ZodString;
549
+ occurrence: z.ZodOptional<z.ZodNumber>;
550
+ }, z.core.$strict>]>;
551
+ }, z.core.$strict>>>;
552
+ captions: z.ZodDefault<z.ZodBoolean>;
553
+ voice: z.ZodOptional<z.ZodString>;
554
+ voice_id: z.ZodOptional<z.ZodNever>;
555
+ input_mode: z.ZodLiteral<"script">;
556
+ script: z.ZodString;
557
+ }, z.core.$strict>, z.ZodObject<{
558
+ duration_seconds: z.ZodNumber;
559
+ style_reference: z.ZodOptional<z.ZodString>;
560
+ character_reference: z.ZodOptional<z.ZodString>;
561
+ character_details: z.ZodOptional<z.ZodString>;
562
+ scene_images: z.ZodOptional<z.ZodArray<z.ZodObject<{
563
+ image_url: z.ZodString;
564
+ anchor: z.ZodUnion<readonly [z.ZodObject<{
565
+ startWord: z.ZodNumber;
566
+ endWord: z.ZodNumber;
567
+ }, z.core.$strict>, z.ZodObject<{
568
+ quote: z.ZodString;
569
+ occurrence: z.ZodOptional<z.ZodNumber>;
570
+ }, z.core.$strict>]>;
571
+ }, z.core.$strict>>>;
572
+ captions: z.ZodDefault<z.ZodBoolean>;
573
+ voice: z.ZodOptional<z.ZodString>;
574
+ voice_id: z.ZodOptional<z.ZodNever>;
575
+ input_mode: z.ZodLiteral<"brief">;
576
+ brief: z.ZodString;
577
+ }, z.core.$strict>], "input_mode">;
578
+ }, z.core.$strict>], "skill">>;
579
+ references: z.ZodDefault<z.ZodArray<z.ZodObject<{
580
+ kind: z.ZodEnum<{
581
+ capture: "capture";
582
+ owner: "owner";
583
+ url: "url";
584
+ }>;
585
+ reference: z.ZodString;
586
+ url: z.ZodOptional<z.ZodString>;
587
+ observed_at: z.ZodOptional<z.ZodString>;
588
+ product_state: z.ZodOptional<z.ZodString>;
589
+ }, z.core.$strict>>>;
590
+ }, z.core.$strict>;
591
+ beats: z.ZodArray<z.ZodObject<{
592
+ id: z.ZodString;
593
+ role: z.ZodString;
594
+ anchor: z.ZodUnion<readonly [z.ZodObject<{
595
+ startWord: z.ZodNumber;
596
+ endWord: z.ZodNumber;
597
+ }, z.core.$strict>, z.ZodObject<{
598
+ quote: z.ZodString;
599
+ occurrence: z.ZodOptional<z.ZodNumber>;
600
+ }, z.core.$strict>]>;
601
+ required: z.ZodBoolean;
602
+ visual: z.ZodOptional<z.ZodString>;
603
+ }, z.core.$strict>>;
604
+ claims: z.ZodArray<z.ZodObject<{
605
+ id: z.ZodString;
606
+ text: z.ZodString;
607
+ required: z.ZodBoolean;
608
+ status: z.ZodEnum<{
609
+ checked: "checked";
610
+ supplied: "supplied";
611
+ unresolved: "unresolved";
612
+ }>;
613
+ source: z.ZodObject<{
614
+ kind: z.ZodEnum<{
615
+ capture: "capture";
616
+ owner: "owner";
617
+ url: "url";
618
+ }>;
619
+ reference: z.ZodString;
620
+ url: z.ZodOptional<z.ZodString>;
621
+ observed_at: z.ZodOptional<z.ZodString>;
622
+ product_state: z.ZodOptional<z.ZodString>;
623
+ }, z.core.$strict>;
624
+ }, z.core.$strict>>;
625
+ assets: z.ZodArray<z.ZodObject<{
626
+ instance_id: z.ZodString;
627
+ asset_id: z.ZodString;
628
+ content_digest: z.ZodString;
629
+ anchor: z.ZodUnion<readonly [z.ZodObject<{
630
+ startWord: z.ZodNumber;
631
+ endWord: z.ZodNumber;
632
+ }, z.core.$strict>, z.ZodObject<{
633
+ quote: z.ZodString;
634
+ occurrence: z.ZodOptional<z.ZodNumber>;
635
+ }, z.core.$strict>]>;
636
+ provenance: z.ZodEnum<{
637
+ generated_illustration: "generated_illustration";
638
+ owner_supplied: "owner_supplied";
639
+ verified_capture: "verified_capture";
640
+ }>;
641
+ rights: z.ZodEnum<{
642
+ licensed: "licensed";
643
+ owner_authorized: "owner_authorized";
644
+ unresolved: "unresolved";
645
+ }>;
646
+ purpose: z.ZodEnum<{
647
+ illustration: "illustration";
648
+ product_proof: "product_proof";
649
+ ui_proof: "ui_proof";
650
+ }>;
651
+ protected_area: z.ZodOptional<z.ZodObject<{
652
+ x: z.ZodNumber;
653
+ y: z.ZodNumber;
654
+ width: z.ZodNumber;
655
+ height: z.ZodNumber;
656
+ }, z.core.$strict>>;
657
+ }, z.core.$strict>>;
658
+ }, z.core.$strict>;
659
+ }, z.core.$strict>;
660
+ export declare const saveWorkflowPlan: z.ZodObject<{
661
+ base_version: z.ZodNumber;
662
+ document: z.ZodObject<{
663
+ v: z.ZodLiteral<1>;
664
+ method: z.ZodObject<{
665
+ method_id: z.ZodEnum<{
666
+ "faceless-explainer": "faceless-explainer";
667
+ "kinetic-launch": "kinetic-launch";
668
+ "product-image-story": "product-image-story";
669
+ "ugc-faq-answer": "ugc-faq-answer";
670
+ "ugc-product-intro": "ugc-product-intro";
671
+ "website-proof-demo": "website-proof-demo";
672
+ }>;
673
+ version: z.ZodNumber;
674
+ content_digest: z.ZodString;
675
+ capability_digest: z.ZodString;
676
+ }, z.core.$strict>;
677
+ brief: z.ZodObject<{
678
+ audience: z.ZodString;
679
+ message: z.ZodString;
680
+ script: z.ZodOptional<z.ZodString>;
681
+ cta: z.ZodOptional<z.ZodString>;
682
+ question: z.ZodOptional<z.ZodString>;
683
+ product: z.ZodOptional<z.ZodString>;
684
+ topic: z.ZodOptional<z.ZodString>;
685
+ brand_intent: z.ZodOptional<z.ZodString>;
686
+ required_terms: z.ZodDefault<z.ZodArray<z.ZodString>>;
687
+ requirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
688
+ feature: z.ZodString;
689
+ required: z.ZodBoolean;
690
+ }, z.core.$strict>>>;
691
+ requested_format: z.ZodOptional<z.ZodObject<{
692
+ aspect_ratio: z.ZodEnum<{
693
+ "16:9": "16:9";
694
+ "1:1": "1:1";
695
+ "9:16": "9:16";
696
+ }>;
697
+ resolution: z.ZodEnum<{
698
+ "1080p": "1080p";
699
+ "4k": "4k";
700
+ "720p": "720p";
701
+ }>;
702
+ }, z.core.$strict>>;
703
+ native: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
704
+ skill: z.ZodLiteral<"make_ugc">;
705
+ input: z.ZodObject<{
706
+ script: z.ZodOptional<z.ZodString>;
707
+ inserts: z.ZodOptional<z.ZodArray<z.ZodObject<{
708
+ id: z.ZodString;
709
+ media_url: z.ZodString;
710
+ media_type: z.ZodEnum<{
711
+ image: "image";
712
+ video: "video";
713
+ }>;
714
+ anchor: z.ZodUnion<readonly [z.ZodObject<{
715
+ startWord: z.ZodNumber;
716
+ endWord: z.ZodNumber;
717
+ }, z.core.$strict>, z.ZodObject<{
718
+ quote: z.ZodString;
719
+ occurrence: z.ZodOptional<z.ZodNumber>;
720
+ }, z.core.$strict>]>;
721
+ cover_words: z.ZodOptional<z.ZodNumber>;
722
+ image_motion: z.ZodOptional<z.ZodObject<{
723
+ direction: z.ZodEnum<{
724
+ in: "in";
725
+ out: "out";
726
+ }>;
727
+ amount: z.ZodNumber;
728
+ }, z.core.$strict>>;
729
+ }, z.core.$strict>>>;
730
+ person: z.ZodOptional<z.ZodString>;
731
+ actor_id: z.ZodOptional<z.ZodString>;
732
+ image: z.ZodOptional<z.ZodString>;
733
+ actor_gender: z.ZodOptional<z.ZodEnum<{
734
+ female: "female";
735
+ male: "male";
736
+ }>>;
737
+ character: z.ZodOptional<z.ZodString>;
738
+ name: z.ZodOptional<z.ZodString>;
739
+ broll_url: z.ZodOptional<z.ZodString>;
740
+ broll_policy: z.ZodOptional<z.ZodEnum<{
741
+ anyone: "anyone";
742
+ no_actor: "no_actor";
743
+ no_people: "no_people";
744
+ }>>;
745
+ captions: z.ZodDefault<z.ZodBoolean>;
746
+ caption_style: z.ZodDefault<z.ZodEnum<{
747
+ hormozi: "hormozi";
748
+ minimal: "minimal";
749
+ tiktok: "tiktok";
750
+ }>>;
751
+ look: z.ZodDefault<z.ZodEnum<{
752
+ commercial: "commercial";
753
+ natural: "natural";
754
+ raw_iphone: "raw_iphone";
755
+ }>>;
756
+ aspect_ratio: z.ZodOptional<z.ZodEnum<{
757
+ "16:9": "16:9";
758
+ "1:1": "1:1";
759
+ "9:16": "9:16";
760
+ }>>;
761
+ resolution: z.ZodOptional<z.ZodEnum<{
762
+ "1080p": "1080p";
763
+ "4k": "4k";
764
+ "720p": "720p";
765
+ }>>;
766
+ voice: z.ZodOptional<z.ZodString>;
767
+ voice_id: z.ZodOptional<z.ZodString>;
768
+ tts_model: z.ZodOptional<z.ZodEnum<{
769
+ eleven_flash_v2_5: "eleven_flash_v2_5";
770
+ eleven_turbo_v2_5: "eleven_turbo_v2_5";
771
+ eleven_v3: "eleven_v3";
772
+ eleven_v4: "eleven_v4";
773
+ "gemini-3.8-flash-tts": "gemini-3.8-flash-tts";
774
+ }>>;
775
+ webhook_url: z.ZodOptional<z.ZodString>;
776
+ disclosure_overlay: z.ZodOptional<z.ZodBoolean>;
777
+ background: z.ZodOptional<z.ZodEnum<{
778
+ blur: "blur";
779
+ contain: "contain";
780
+ white: "white";
781
+ }>>;
782
+ segments: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodObject<{
783
+ kind: z.ZodEnum<{
784
+ actor: "actor";
785
+ media: "media";
786
+ }>;
787
+ script: z.ZodOptional<z.ZodString>;
788
+ media_url: z.ZodOptional<z.ZodString>;
789
+ media_type: z.ZodOptional<z.ZodEnum<{
790
+ image: "image";
791
+ video: "video";
792
+ }>>;
793
+ duration_seconds: z.ZodOptional<z.ZodNumber>;
794
+ image_motion: z.ZodOptional<z.ZodObject<{
795
+ direction: z.ZodEnum<{
796
+ in: "in";
797
+ out: "out";
798
+ }>;
799
+ amount: z.ZodNumber;
800
+ }, z.core.$strict>>;
801
+ }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
802
+ kind: z.ZodEnum<{
803
+ actor: "actor";
804
+ media: "media";
805
+ }>;
806
+ script: z.ZodOptional<z.ZodString>;
807
+ media_url: z.ZodOptional<z.ZodString>;
808
+ media_type: z.ZodOptional<z.ZodEnum<{
809
+ image: "image";
810
+ video: "video";
811
+ }>>;
812
+ duration_seconds: z.ZodOptional<z.ZodNumber>;
813
+ image_motion: z.ZodOptional<z.ZodObject<{
814
+ direction: z.ZodEnum<{
815
+ in: "in";
816
+ out: "out";
817
+ }>;
818
+ amount: z.ZodNumber;
819
+ }, z.core.$strip>>;
820
+ }, z.core.$strip>>>>;
821
+ }, z.core.$strict>;
822
+ }, z.core.$strict>, z.ZodObject<{
823
+ skill: z.ZodLiteral<"make_faceless">;
824
+ input: z.ZodDiscriminatedUnion<[z.ZodObject<{
825
+ duration_seconds: z.ZodNumber;
826
+ style_reference: z.ZodOptional<z.ZodString>;
827
+ character_reference: z.ZodOptional<z.ZodString>;
828
+ character_details: z.ZodOptional<z.ZodString>;
829
+ scene_images: z.ZodOptional<z.ZodArray<z.ZodObject<{
830
+ image_url: z.ZodString;
831
+ anchor: z.ZodUnion<readonly [z.ZodObject<{
832
+ startWord: z.ZodNumber;
833
+ endWord: z.ZodNumber;
834
+ }, z.core.$strict>, z.ZodObject<{
835
+ quote: z.ZodString;
836
+ occurrence: z.ZodOptional<z.ZodNumber>;
837
+ }, z.core.$strict>]>;
838
+ }, z.core.$strict>>>;
839
+ captions: z.ZodDefault<z.ZodBoolean>;
840
+ voice: z.ZodOptional<z.ZodString>;
841
+ voice_id: z.ZodOptional<z.ZodNever>;
842
+ input_mode: z.ZodLiteral<"script">;
843
+ script: z.ZodString;
844
+ }, z.core.$strict>, z.ZodObject<{
845
+ duration_seconds: z.ZodNumber;
846
+ style_reference: z.ZodOptional<z.ZodString>;
847
+ character_reference: z.ZodOptional<z.ZodString>;
848
+ character_details: z.ZodOptional<z.ZodString>;
849
+ scene_images: z.ZodOptional<z.ZodArray<z.ZodObject<{
850
+ image_url: z.ZodString;
851
+ anchor: z.ZodUnion<readonly [z.ZodObject<{
852
+ startWord: z.ZodNumber;
853
+ endWord: z.ZodNumber;
854
+ }, z.core.$strict>, z.ZodObject<{
855
+ quote: z.ZodString;
856
+ occurrence: z.ZodOptional<z.ZodNumber>;
857
+ }, z.core.$strict>]>;
858
+ }, z.core.$strict>>>;
859
+ captions: z.ZodDefault<z.ZodBoolean>;
860
+ voice: z.ZodOptional<z.ZodString>;
861
+ voice_id: z.ZodOptional<z.ZodNever>;
862
+ input_mode: z.ZodLiteral<"brief">;
863
+ brief: z.ZodString;
864
+ }, z.core.$strict>], "input_mode">;
865
+ }, z.core.$strict>], "skill">>;
866
+ references: z.ZodDefault<z.ZodArray<z.ZodObject<{
867
+ kind: z.ZodEnum<{
868
+ capture: "capture";
869
+ owner: "owner";
870
+ url: "url";
871
+ }>;
872
+ reference: z.ZodString;
873
+ url: z.ZodOptional<z.ZodString>;
874
+ observed_at: z.ZodOptional<z.ZodString>;
875
+ product_state: z.ZodOptional<z.ZodString>;
876
+ }, z.core.$strict>>>;
877
+ }, z.core.$strict>;
878
+ beats: z.ZodArray<z.ZodObject<{
879
+ id: z.ZodString;
880
+ role: z.ZodString;
881
+ anchor: z.ZodUnion<readonly [z.ZodObject<{
882
+ startWord: z.ZodNumber;
883
+ endWord: z.ZodNumber;
884
+ }, z.core.$strict>, z.ZodObject<{
885
+ quote: z.ZodString;
886
+ occurrence: z.ZodOptional<z.ZodNumber>;
887
+ }, z.core.$strict>]>;
888
+ required: z.ZodBoolean;
889
+ visual: z.ZodOptional<z.ZodString>;
890
+ }, z.core.$strict>>;
891
+ claims: z.ZodArray<z.ZodObject<{
892
+ id: z.ZodString;
893
+ text: z.ZodString;
894
+ required: z.ZodBoolean;
895
+ status: z.ZodEnum<{
896
+ checked: "checked";
897
+ supplied: "supplied";
898
+ unresolved: "unresolved";
899
+ }>;
900
+ source: z.ZodObject<{
901
+ kind: z.ZodEnum<{
902
+ capture: "capture";
903
+ owner: "owner";
904
+ url: "url";
905
+ }>;
906
+ reference: z.ZodString;
907
+ url: z.ZodOptional<z.ZodString>;
908
+ observed_at: z.ZodOptional<z.ZodString>;
909
+ product_state: z.ZodOptional<z.ZodString>;
910
+ }, z.core.$strict>;
911
+ }, z.core.$strict>>;
912
+ assets: z.ZodArray<z.ZodObject<{
913
+ instance_id: z.ZodString;
914
+ asset_id: z.ZodString;
915
+ content_digest: z.ZodString;
916
+ anchor: z.ZodUnion<readonly [z.ZodObject<{
917
+ startWord: z.ZodNumber;
918
+ endWord: z.ZodNumber;
919
+ }, z.core.$strict>, z.ZodObject<{
920
+ quote: z.ZodString;
921
+ occurrence: z.ZodOptional<z.ZodNumber>;
922
+ }, z.core.$strict>]>;
923
+ provenance: z.ZodEnum<{
924
+ generated_illustration: "generated_illustration";
925
+ owner_supplied: "owner_supplied";
926
+ verified_capture: "verified_capture";
927
+ }>;
928
+ rights: z.ZodEnum<{
929
+ licensed: "licensed";
930
+ owner_authorized: "owner_authorized";
931
+ unresolved: "unresolved";
932
+ }>;
933
+ purpose: z.ZodEnum<{
934
+ illustration: "illustration";
935
+ product_proof: "product_proof";
936
+ ui_proof: "ui_proof";
937
+ }>;
938
+ protected_area: z.ZodOptional<z.ZodObject<{
939
+ x: z.ZodNumber;
940
+ y: z.ZodNumber;
941
+ width: z.ZodNumber;
942
+ height: z.ZodNumber;
943
+ }, z.core.$strict>>;
944
+ }, z.core.$strict>>;
945
+ }, z.core.$strict>;
946
+ }, z.core.$strict>;
947
+ export declare const approveWorkflowPlan: z.ZodObject<{
948
+ revision: z.ZodNumber;
949
+ content_digest: z.ZodString;
950
+ }, z.core.$strict>;
951
+ export declare const workflowPlanRead: z.ZodObject<{
952
+ v: z.ZodNumber;
953
+ plan_id: z.ZodString;
954
+ account_id: z.ZodString;
955
+ revision: z.ZodNumber;
956
+ content_digest: z.ZodString;
957
+ document: z.ZodObject<{
958
+ v: z.ZodNumber;
959
+ method: z.ZodObject<{
960
+ method_id: z.ZodString;
961
+ version: z.ZodNumber;
962
+ content_digest: z.ZodString;
963
+ capability_digest: z.ZodString;
964
+ }, z.core.$strip>;
965
+ brief: z.ZodObject<{
966
+ audience: z.ZodString;
967
+ message: z.ZodString;
968
+ script: z.ZodOptional<z.ZodString>;
969
+ cta: z.ZodOptional<z.ZodString>;
970
+ question: z.ZodOptional<z.ZodString>;
971
+ product: z.ZodOptional<z.ZodString>;
972
+ topic: z.ZodOptional<z.ZodString>;
973
+ brand_intent: z.ZodOptional<z.ZodString>;
974
+ required_terms: z.ZodDefault<z.ZodArray<z.ZodString>>;
975
+ requested_format: z.ZodOptional<z.ZodObject<{
976
+ aspect_ratio: z.ZodString;
977
+ resolution: z.ZodString;
978
+ }, z.core.$strip>>;
979
+ native: z.ZodOptional<z.ZodObject<{
980
+ skill: z.ZodString;
981
+ input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
982
+ }, z.core.$strip>>;
983
+ requirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
984
+ feature: z.ZodString;
985
+ required: z.ZodBoolean;
986
+ }, z.core.$strip>>>;
987
+ references: z.ZodDefault<z.ZodArray<z.ZodObject<{
988
+ kind: z.ZodString;
989
+ reference: z.ZodString;
990
+ url: z.ZodOptional<z.ZodString>;
991
+ observed_at: z.ZodOptional<z.ZodString>;
992
+ product_state: z.ZodOptional<z.ZodString>;
993
+ }, z.core.$strip>>>;
994
+ }, z.core.$strip>;
995
+ beats: z.ZodArray<z.ZodObject<{
996
+ id: z.ZodString;
997
+ role: z.ZodString;
998
+ anchor: z.ZodUnion<readonly [z.ZodObject<{
999
+ startWord: z.ZodNumber;
1000
+ endWord: z.ZodNumber;
1001
+ }, z.core.$strip>, z.ZodObject<{
1002
+ quote: z.ZodString;
1003
+ occurrence: z.ZodOptional<z.ZodNumber>;
1004
+ }, z.core.$strip>]>;
1005
+ required: z.ZodBoolean;
1006
+ visual: z.ZodOptional<z.ZodString>;
1007
+ }, z.core.$strip>>;
1008
+ claims: z.ZodArray<z.ZodObject<{
1009
+ id: z.ZodString;
1010
+ text: z.ZodString;
1011
+ required: z.ZodBoolean;
1012
+ status: z.ZodString;
1013
+ source: z.ZodObject<{
1014
+ kind: z.ZodString;
1015
+ reference: z.ZodString;
1016
+ url: z.ZodOptional<z.ZodString>;
1017
+ observed_at: z.ZodOptional<z.ZodString>;
1018
+ product_state: z.ZodOptional<z.ZodString>;
1019
+ }, z.core.$strip>;
1020
+ }, z.core.$strip>>;
1021
+ assets: z.ZodArray<z.ZodObject<{
1022
+ instance_id: z.ZodString;
1023
+ asset_id: z.ZodString;
1024
+ content_digest: z.ZodString;
1025
+ anchor: z.ZodUnion<readonly [z.ZodObject<{
1026
+ startWord: z.ZodNumber;
1027
+ endWord: z.ZodNumber;
1028
+ }, z.core.$strip>, z.ZodObject<{
1029
+ quote: z.ZodString;
1030
+ occurrence: z.ZodOptional<z.ZodNumber>;
1031
+ }, z.core.$strip>]>;
1032
+ provenance: z.ZodString;
1033
+ rights: z.ZodString;
1034
+ purpose: z.ZodString;
1035
+ protected_area: z.ZodOptional<z.ZodObject<{
1036
+ x: z.ZodNumber;
1037
+ y: z.ZodNumber;
1038
+ width: z.ZodNumber;
1039
+ height: z.ZodNumber;
1040
+ }, z.core.$strip>>;
1041
+ }, z.core.$strip>>;
1042
+ }, z.core.$strip>;
1043
+ status: z.ZodString;
1044
+ issues: z.ZodArray<z.ZodObject<{
1045
+ kind: z.ZodString;
1046
+ path: z.ZodString;
1047
+ message: z.ZodString;
1048
+ }, z.core.$strip>>;
1049
+ warnings: z.ZodArray<z.ZodString>;
1050
+ approved_at: z.ZodNullable<z.ZodString>;
1051
+ created_at: z.ZodString;
1052
+ }, z.core.$strip>;
1053
+ export declare const WORKFLOW_DOCUMENT_MAX_BYTES = 256000;
1054
+ export declare function serializeWorkflowDocument(document: WorkflowPlanDocument): {
1055
+ json: string;
1056
+ bytes: number;
1057
+ };