@clipwright/core 0.58.0 → 0.60.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 (92) hide show
  1. package/dist/actors.d.ts +18 -0
  2. package/dist/actors.js +17 -1
  3. package/dist/actors.js.map +1 -1
  4. package/dist/ad-guide.d.ts +6 -0
  5. package/dist/ad-guide.js +7 -0
  6. package/dist/ad-guide.js.map +1 -0
  7. package/dist/billing-terms.d.ts +8 -0
  8. package/dist/contract-dispositions.d.ts +48 -1
  9. package/dist/contract-dispositions.js +15 -2
  10. package/dist/contract-dispositions.js.map +1 -1
  11. package/dist/contracts/v1/workflow-brief.d.ts +102 -0
  12. package/dist/contracts/v1/workflow-catalog.d.ts +102 -0
  13. package/dist/contracts/v1/workflow-client.d.ts +51 -0
  14. package/dist/contracts/v1/workflow-execution.d.ts +206 -0
  15. package/dist/contracts/v1/workflow-next.d.ts +91 -0
  16. package/dist/contracts/v1/workflow-plan.d.ts +153 -0
  17. package/dist/contracts/v1/workflow-run-read.d.ts +17 -0
  18. package/dist/edit-shots.d.ts +83 -0
  19. package/dist/edit-shots.js +14 -1
  20. package/dist/edit-shots.js.map +1 -1
  21. package/dist/endpoint-notes.js +6 -4
  22. package/dist/endpoint-notes.js.map +1 -1
  23. package/dist/endpoints.js +3 -0
  24. package/dist/endpoints.js.map +1 -1
  25. package/dist/errors.d.ts +1 -1
  26. package/dist/errors.js +4 -0
  27. package/dist/errors.js.map +1 -1
  28. package/dist/face-billing.d.ts +54 -3
  29. package/dist/face-billing.js +19 -3
  30. package/dist/face-billing.js.map +1 -1
  31. package/dist/faceless-direction-summary.d.ts +29 -0
  32. package/dist/faceless-direction-summary.js +11 -0
  33. package/dist/faceless-direction-summary.js.map +1 -0
  34. package/dist/faceless-price.d.ts +51 -1
  35. package/dist/faceless-price.js +52 -2
  36. package/dist/faceless-price.js.map +1 -1
  37. package/dist/faceless-public.d.ts +221 -1
  38. package/dist/faceless-public.js +50 -9
  39. package/dist/faceless-public.js.map +1 -1
  40. package/dist/generations.d.ts +16 -3
  41. package/dist/generations.js +62 -23
  42. package/dist/generations.js.map +1 -1
  43. package/dist/index.d.ts +5 -0
  44. package/dist/index.js +5 -0
  45. package/dist/index.js.map +1 -1
  46. package/dist/live-shot-kinds.d.ts +64 -0
  47. package/dist/live-shot-kinds.js +114 -0
  48. package/dist/live-shot-kinds.js.map +1 -1
  49. package/dist/mcp-ugc-descriptions.js +3 -2
  50. package/dist/mcp-ugc-descriptions.js.map +1 -1
  51. package/dist/music.js +2 -1
  52. package/dist/music.js.map +1 -1
  53. package/dist/openapi.js +1 -0
  54. package/dist/openapi.js.map +1 -1
  55. package/dist/parts-pricing.d.ts +21 -2
  56. package/dist/parts-pricing.js +34 -4
  57. package/dist/parts-pricing.js.map +1 -1
  58. package/dist/prices.js +9 -9
  59. package/dist/prices.js.map +1 -1
  60. package/dist/resolved-timeline.d.ts +7 -0
  61. package/dist/resolved-timeline.js +5 -2
  62. package/dist/resolved-timeline.js.map +1 -1
  63. package/dist/run-static-warnings.js +2 -0
  64. package/dist/run-static-warnings.js.map +1 -1
  65. package/dist/runs.d.ts +18 -0
  66. package/dist/scene-bible.d.ts +49 -0
  67. package/dist/scene-bible.js +71 -0
  68. package/dist/scene-bible.js.map +1 -0
  69. package/dist/scene-proposal.d.ts +82 -0
  70. package/dist/scene-proposal.js +59 -0
  71. package/dist/scene-proposal.js.map +1 -0
  72. package/dist/skills.d.ts +4496 -107
  73. package/dist/skills.js +106 -34
  74. package/dist/skills.js.map +1 -1
  75. package/dist/trend-niches.js +4 -2
  76. package/dist/trend-niches.js.map +1 -1
  77. package/dist/trend-search.d.ts +10 -5
  78. package/dist/trend-search.js +23 -11
  79. package/dist/trend-search.js.map +1 -1
  80. package/dist/uploads.d.ts +1 -1
  81. package/dist/uploads.js +3 -3
  82. package/dist/uploads.js.map +1 -1
  83. package/dist/voice-admission.d.ts +51 -0
  84. package/dist/workflows/methods/faceless-explainer.d.ts +42 -0
  85. package/dist/workflows/methods/kinetic-launch.d.ts +84 -0
  86. package/dist/workflows/methods/product-image-story.d.ts +42 -0
  87. package/dist/workflows/methods/reference-remake.d.ts +42 -0
  88. package/dist/workflows/methods/shared.d.ts +42 -0
  89. package/dist/workflows/methods/ugc-faq-answer.d.ts +42 -0
  90. package/dist/workflows/methods/ugc-product-intro.d.ts +42 -0
  91. package/dist/workflows/methods/website-proof-demo.d.ts +84 -0
  92. package/package.json +1 -1
@@ -159,6 +159,45 @@ export declare const workflowQuoteAnswer: z.ZodObject<{
159
159
  request: "request";
160
160
  }>;
161
161
  }, z.core.$strip>>;
162
+ scene_proposal: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
163
+ state: z.ZodLiteral<"writing">;
164
+ retry_after_s: z.ZodNumber;
165
+ }, z.core.$strict>, z.ZodObject<{
166
+ state: z.ZodLiteral<"ready">;
167
+ id: z.ZodString;
168
+ expires_at: z.ZodString;
169
+ scene: z.ZodOptional<z.ZodObject<{
170
+ place: z.ZodOptional<z.ZodString>;
171
+ posture: z.ZodOptional<z.ZodEnum<{
172
+ seated: "seated";
173
+ standing: "standing";
174
+ }>>;
175
+ wardrobe: z.ZodOptional<z.ZodString>;
176
+ product: z.ZodOptional<z.ZodString>;
177
+ props: z.ZodOptional<z.ZodArray<z.ZodString>>;
178
+ light: z.ZodOptional<z.ZodString>;
179
+ }, z.core.$strict>>;
180
+ free: z.ZodArray<z.ZodObject<{
181
+ what: z.ZodString;
182
+ }, z.core.$strict>>;
183
+ options: z.ZodArray<z.ZodObject<{
184
+ id: z.ZodString;
185
+ what: z.ZodString;
186
+ field: z.ZodEnum<{
187
+ moves: "moves";
188
+ music: "music";
189
+ scenes: "scenes";
190
+ shots: "shots";
191
+ }>;
192
+ credits: z.ZodNumber;
193
+ item: z.ZodUnknown;
194
+ }, z.core.$strict>>;
195
+ base_credits: z.ZodNumber;
196
+ notes: z.ZodArray<z.ZodString>;
197
+ }, z.core.$strict>, z.ZodObject<{
198
+ state: z.ZodLiteral<"unavailable">;
199
+ reason: z.ZodString;
200
+ }, z.core.$strict>], "state">>;
162
201
  }, z.core.$strip>;
163
202
  }, z.core.$strict>, z.ZodObject<{
164
203
  skill: z.ZodLiteral<"make_faceless">;
@@ -170,6 +209,7 @@ export declare const workflowQuoteAnswer: z.ZodObject<{
170
209
  tariffId: z.ZodEnum<{
171
210
  "faceless-image-i2v-v1": "faceless-image-i2v-v1";
172
211
  "faceless-parts-v1": "faceless-parts-v1";
212
+ "faceless-parts-v2": "faceless-parts-v2";
173
213
  }>;
174
214
  captions: z.ZodBoolean;
175
215
  images: z.ZodOptional<z.ZodNumber>;
@@ -177,6 +217,9 @@ export declare const workflowQuoteAnswer: z.ZodObject<{
177
217
  musicCredits: z.ZodOptional<z.ZodNumber>;
178
218
  shotSeconds: z.ZodOptional<z.ZodNumber>;
179
219
  shotCredits: z.ZodOptional<z.ZodNumber>;
220
+ textShotSeconds: z.ZodOptional<z.ZodNumber>;
221
+ textShotCredits: z.ZodOptional<z.ZodNumber>;
222
+ totalCreditsWithoutText: z.ZodOptional<z.ZodNumber>;
180
223
  scenes: z.ZodOptional<z.ZodNumber>;
181
224
  sceneCredits: z.ZodOptional<z.ZodNumber>;
182
225
  posePictures: z.ZodOptional<z.ZodNumber>;
@@ -185,6 +228,7 @@ export declare const workflowQuoteAnswer: z.ZodObject<{
185
228
  objectPictures: z.ZodOptional<z.ZodNumber>;
186
229
  objectPictureCredits: z.ZodOptional<z.ZodNumber>;
187
230
  filmCredits: z.ZodOptional<z.ZodNumber>;
231
+ directionCredits: z.ZodOptional<z.ZodNumber>;
188
232
  skill: z.ZodLiteral<"make_faceless">;
189
233
  explainer_fit: z.ZodOptional<z.ZodObject<{
190
234
  fits: z.ZodBoolean;
@@ -199,6 +243,53 @@ export declare const workflowQuoteAnswer: z.ZodObject<{
199
243
  standard: z.ZodNumber;
200
244
  pro: z.ZodNumber;
201
245
  }, z.core.$strict>>;
246
+ tiers: z.ZodOptional<z.ZodObject<{
247
+ tier: z.ZodEnum<{
248
+ pro: "pro";
249
+ standard: "standard";
250
+ }>;
251
+ standard: z.ZodNumber;
252
+ pro: z.ZodNumber;
253
+ }, z.core.$strict>>;
254
+ scene_proposal: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
255
+ state: z.ZodLiteral<"writing">;
256
+ retry_after_s: z.ZodNumber;
257
+ }, z.core.$strict>, z.ZodObject<{
258
+ state: z.ZodLiteral<"ready">;
259
+ id: z.ZodString;
260
+ expires_at: z.ZodString;
261
+ scene: z.ZodOptional<z.ZodObject<{
262
+ place: z.ZodOptional<z.ZodString>;
263
+ posture: z.ZodOptional<z.ZodEnum<{
264
+ seated: "seated";
265
+ standing: "standing";
266
+ }>>;
267
+ wardrobe: z.ZodOptional<z.ZodString>;
268
+ product: z.ZodOptional<z.ZodString>;
269
+ props: z.ZodOptional<z.ZodArray<z.ZodString>>;
270
+ light: z.ZodOptional<z.ZodString>;
271
+ }, z.core.$strict>>;
272
+ free: z.ZodArray<z.ZodObject<{
273
+ what: z.ZodString;
274
+ }, z.core.$strict>>;
275
+ options: z.ZodArray<z.ZodObject<{
276
+ id: z.ZodString;
277
+ what: z.ZodString;
278
+ field: z.ZodEnum<{
279
+ moves: "moves";
280
+ music: "music";
281
+ scenes: "scenes";
282
+ shots: "shots";
283
+ }>;
284
+ credits: z.ZodNumber;
285
+ item: z.ZodUnknown;
286
+ }, z.core.$strict>>;
287
+ base_credits: z.ZodNumber;
288
+ notes: z.ZodArray<z.ZodString>;
289
+ }, z.core.$strict>, z.ZodObject<{
290
+ state: z.ZodLiteral<"unavailable">;
291
+ reason: z.ZodString;
292
+ }, z.core.$strict>], "state">>;
202
293
  warnings: z.ZodDefault<z.ZodArray<z.ZodString>>;
203
294
  contract_version: z.ZodString;
204
295
  }, z.core.$strict>;
@@ -1079,6 +1079,22 @@ export declare const workflowPlanDocument: z.ZodObject<{
1079
1079
  }>>;
1080
1080
  }, z.core.$strict>>;
1081
1081
  product_asset_id: z.ZodOptional<z.ZodString>;
1082
+ scene: z.ZodOptional<z.ZodObject<{
1083
+ place: z.ZodOptional<z.ZodString>;
1084
+ posture: z.ZodOptional<z.ZodEnum<{
1085
+ seated: "seated";
1086
+ standing: "standing";
1087
+ }>>;
1088
+ wardrobe: z.ZodOptional<z.ZodString>;
1089
+ product: z.ZodOptional<z.ZodString>;
1090
+ props: z.ZodOptional<z.ZodArray<z.ZodString>>;
1091
+ light: z.ZodOptional<z.ZodString>;
1092
+ }, z.core.$strict>>;
1093
+ proposal: z.ZodOptional<z.ZodObject<{
1094
+ id: z.ZodString;
1095
+ accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
1096
+ }, z.core.$strict>>;
1097
+ propose: z.ZodOptional<z.ZodLiteral<false>>;
1082
1098
  person: z.ZodOptional<z.ZodString>;
1083
1099
  actor_id: z.ZodOptional<z.ZodString>;
1084
1100
  presenter_framing: z.ZodOptional<z.ZodEnum<{
@@ -4201,6 +4217,7 @@ export declare const workflowPlanDocument: z.ZodObject<{
4201
4217
  hand: "hand";
4202
4218
  }>;
4203
4219
  }, z.core.$strict>]>>;
4220
+ start: z.ZodOptional<z.ZodString>;
4204
4221
  cast: z.ZodOptional<z.ZodArray<z.ZodObject<{
4205
4222
  asset_id: z.ZodString;
4206
4223
  role: z.ZodString;
@@ -4557,6 +4574,22 @@ export declare const workflowPlanDocument: z.ZodObject<{
4557
4574
  "720p": "720p";
4558
4575
  }>>;
4559
4576
  max_credits: z.ZodOptional<z.ZodNumber>;
4577
+ scene: z.ZodOptional<z.ZodObject<{
4578
+ place: z.ZodOptional<z.ZodString>;
4579
+ posture: z.ZodOptional<z.ZodEnum<{
4580
+ seated: "seated";
4581
+ standing: "standing";
4582
+ }>>;
4583
+ wardrobe: z.ZodOptional<z.ZodString>;
4584
+ product: z.ZodOptional<z.ZodString>;
4585
+ props: z.ZodOptional<z.ZodArray<z.ZodString>>;
4586
+ light: z.ZodOptional<z.ZodString>;
4587
+ }, z.core.$strict>>;
4588
+ proposal: z.ZodOptional<z.ZodObject<{
4589
+ id: z.ZodString;
4590
+ accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
4591
+ }, z.core.$strict>>;
4592
+ propose: z.ZodOptional<z.ZodLiteral<false>>;
4560
4593
  input_mode: z.ZodLiteral<"script">;
4561
4594
  transitions: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
4562
4595
  look: z.ZodEnum<{
@@ -7310,6 +7343,7 @@ export declare const workflowPlanDocument: z.ZodObject<{
7310
7343
  comma_s: z.ZodOptional<z.ZodNumber>;
7311
7344
  mid_phrase_s: z.ZodOptional<z.ZodNumber>;
7312
7345
  }, z.core.$strict>]>>;
7346
+ keep_anchors: z.ZodOptional<z.ZodBoolean>;
7313
7347
  script: z.ZodString;
7314
7348
  character_reference: z.ZodOptional<z.ZodString>;
7315
7349
  }, z.core.$strict>, z.ZodObject<{
@@ -7581,6 +7615,22 @@ export declare const workflowPlanDocument: z.ZodObject<{
7581
7615
  "720p": "720p";
7582
7616
  }>>;
7583
7617
  max_credits: z.ZodOptional<z.ZodNumber>;
7618
+ scene: z.ZodOptional<z.ZodObject<{
7619
+ place: z.ZodOptional<z.ZodString>;
7620
+ posture: z.ZodOptional<z.ZodEnum<{
7621
+ seated: "seated";
7622
+ standing: "standing";
7623
+ }>>;
7624
+ wardrobe: z.ZodOptional<z.ZodString>;
7625
+ product: z.ZodOptional<z.ZodString>;
7626
+ props: z.ZodOptional<z.ZodArray<z.ZodString>>;
7627
+ light: z.ZodOptional<z.ZodString>;
7628
+ }, z.core.$strict>>;
7629
+ proposal: z.ZodOptional<z.ZodObject<{
7630
+ id: z.ZodString;
7631
+ accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
7632
+ }, z.core.$strict>>;
7633
+ propose: z.ZodOptional<z.ZodLiteral<false>>;
7584
7634
  input_mode: z.ZodLiteral<"brief">;
7585
7635
  brief: z.ZodString;
7586
7636
  transitions: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
@@ -7595,6 +7645,7 @@ export declare const workflowPlanDocument: z.ZodObject<{
7595
7645
  scenes: z.ZodOptional<z.ZodNever>;
7596
7646
  moves: z.ZodOptional<z.ZodNever>;
7597
7647
  pause_trim: z.ZodOptional<z.ZodNever>;
7648
+ keep_anchors: z.ZodOptional<z.ZodNever>;
7598
7649
  character_reference: z.ZodOptional<z.ZodString>;
7599
7650
  }, z.core.$strict>], "input_mode">;
7600
7651
  }, z.core.$strict>], "skill">>;
@@ -9693,6 +9744,22 @@ export declare const createWorkflowPlan: z.ZodObject<{
9693
9744
  }>>;
9694
9745
  }, z.core.$strict>>;
9695
9746
  product_asset_id: z.ZodOptional<z.ZodString>;
9747
+ scene: z.ZodOptional<z.ZodObject<{
9748
+ place: z.ZodOptional<z.ZodString>;
9749
+ posture: z.ZodOptional<z.ZodEnum<{
9750
+ seated: "seated";
9751
+ standing: "standing";
9752
+ }>>;
9753
+ wardrobe: z.ZodOptional<z.ZodString>;
9754
+ product: z.ZodOptional<z.ZodString>;
9755
+ props: z.ZodOptional<z.ZodArray<z.ZodString>>;
9756
+ light: z.ZodOptional<z.ZodString>;
9757
+ }, z.core.$strict>>;
9758
+ proposal: z.ZodOptional<z.ZodObject<{
9759
+ id: z.ZodString;
9760
+ accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
9761
+ }, z.core.$strict>>;
9762
+ propose: z.ZodOptional<z.ZodLiteral<false>>;
9696
9763
  person: z.ZodOptional<z.ZodString>;
9697
9764
  actor_id: z.ZodOptional<z.ZodString>;
9698
9765
  presenter_framing: z.ZodOptional<z.ZodEnum<{
@@ -12815,6 +12882,7 @@ export declare const createWorkflowPlan: z.ZodObject<{
12815
12882
  hand: "hand";
12816
12883
  }>;
12817
12884
  }, z.core.$strict>]>>;
12885
+ start: z.ZodOptional<z.ZodString>;
12818
12886
  cast: z.ZodOptional<z.ZodArray<z.ZodObject<{
12819
12887
  asset_id: z.ZodString;
12820
12888
  role: z.ZodString;
@@ -13171,6 +13239,22 @@ export declare const createWorkflowPlan: z.ZodObject<{
13171
13239
  "720p": "720p";
13172
13240
  }>>;
13173
13241
  max_credits: z.ZodOptional<z.ZodNumber>;
13242
+ scene: z.ZodOptional<z.ZodObject<{
13243
+ place: z.ZodOptional<z.ZodString>;
13244
+ posture: z.ZodOptional<z.ZodEnum<{
13245
+ seated: "seated";
13246
+ standing: "standing";
13247
+ }>>;
13248
+ wardrobe: z.ZodOptional<z.ZodString>;
13249
+ product: z.ZodOptional<z.ZodString>;
13250
+ props: z.ZodOptional<z.ZodArray<z.ZodString>>;
13251
+ light: z.ZodOptional<z.ZodString>;
13252
+ }, z.core.$strict>>;
13253
+ proposal: z.ZodOptional<z.ZodObject<{
13254
+ id: z.ZodString;
13255
+ accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
13256
+ }, z.core.$strict>>;
13257
+ propose: z.ZodOptional<z.ZodLiteral<false>>;
13174
13258
  input_mode: z.ZodLiteral<"script">;
13175
13259
  transitions: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
13176
13260
  look: z.ZodEnum<{
@@ -15924,6 +16008,7 @@ export declare const createWorkflowPlan: z.ZodObject<{
15924
16008
  comma_s: z.ZodOptional<z.ZodNumber>;
15925
16009
  mid_phrase_s: z.ZodOptional<z.ZodNumber>;
15926
16010
  }, z.core.$strict>]>>;
16011
+ keep_anchors: z.ZodOptional<z.ZodBoolean>;
15927
16012
  script: z.ZodString;
15928
16013
  character_reference: z.ZodOptional<z.ZodString>;
15929
16014
  }, z.core.$strict>, z.ZodObject<{
@@ -16195,6 +16280,22 @@ export declare const createWorkflowPlan: z.ZodObject<{
16195
16280
  "720p": "720p";
16196
16281
  }>>;
16197
16282
  max_credits: z.ZodOptional<z.ZodNumber>;
16283
+ scene: z.ZodOptional<z.ZodObject<{
16284
+ place: z.ZodOptional<z.ZodString>;
16285
+ posture: z.ZodOptional<z.ZodEnum<{
16286
+ seated: "seated";
16287
+ standing: "standing";
16288
+ }>>;
16289
+ wardrobe: z.ZodOptional<z.ZodString>;
16290
+ product: z.ZodOptional<z.ZodString>;
16291
+ props: z.ZodOptional<z.ZodArray<z.ZodString>>;
16292
+ light: z.ZodOptional<z.ZodString>;
16293
+ }, z.core.$strict>>;
16294
+ proposal: z.ZodOptional<z.ZodObject<{
16295
+ id: z.ZodString;
16296
+ accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
16297
+ }, z.core.$strict>>;
16298
+ propose: z.ZodOptional<z.ZodLiteral<false>>;
16198
16299
  input_mode: z.ZodLiteral<"brief">;
16199
16300
  brief: z.ZodString;
16200
16301
  transitions: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
@@ -16209,6 +16310,7 @@ export declare const createWorkflowPlan: z.ZodObject<{
16209
16310
  scenes: z.ZodOptional<z.ZodNever>;
16210
16311
  moves: z.ZodOptional<z.ZodNever>;
16211
16312
  pause_trim: z.ZodOptional<z.ZodNever>;
16313
+ keep_anchors: z.ZodOptional<z.ZodNever>;
16212
16314
  character_reference: z.ZodOptional<z.ZodString>;
16213
16315
  }, z.core.$strict>], "input_mode">;
16214
16316
  }, z.core.$strict>], "skill">>;
@@ -18205,6 +18307,22 @@ export declare const saveWorkflowPlan: z.ZodObject<{
18205
18307
  }>>;
18206
18308
  }, z.core.$strict>>;
18207
18309
  product_asset_id: z.ZodOptional<z.ZodString>;
18310
+ scene: z.ZodOptional<z.ZodObject<{
18311
+ place: z.ZodOptional<z.ZodString>;
18312
+ posture: z.ZodOptional<z.ZodEnum<{
18313
+ seated: "seated";
18314
+ standing: "standing";
18315
+ }>>;
18316
+ wardrobe: z.ZodOptional<z.ZodString>;
18317
+ product: z.ZodOptional<z.ZodString>;
18318
+ props: z.ZodOptional<z.ZodArray<z.ZodString>>;
18319
+ light: z.ZodOptional<z.ZodString>;
18320
+ }, z.core.$strict>>;
18321
+ proposal: z.ZodOptional<z.ZodObject<{
18322
+ id: z.ZodString;
18323
+ accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
18324
+ }, z.core.$strict>>;
18325
+ propose: z.ZodOptional<z.ZodLiteral<false>>;
18208
18326
  person: z.ZodOptional<z.ZodString>;
18209
18327
  actor_id: z.ZodOptional<z.ZodString>;
18210
18328
  presenter_framing: z.ZodOptional<z.ZodEnum<{
@@ -21327,6 +21445,7 @@ export declare const saveWorkflowPlan: z.ZodObject<{
21327
21445
  hand: "hand";
21328
21446
  }>;
21329
21447
  }, z.core.$strict>]>>;
21448
+ start: z.ZodOptional<z.ZodString>;
21330
21449
  cast: z.ZodOptional<z.ZodArray<z.ZodObject<{
21331
21450
  asset_id: z.ZodString;
21332
21451
  role: z.ZodString;
@@ -21683,6 +21802,22 @@ export declare const saveWorkflowPlan: z.ZodObject<{
21683
21802
  "720p": "720p";
21684
21803
  }>>;
21685
21804
  max_credits: z.ZodOptional<z.ZodNumber>;
21805
+ scene: z.ZodOptional<z.ZodObject<{
21806
+ place: z.ZodOptional<z.ZodString>;
21807
+ posture: z.ZodOptional<z.ZodEnum<{
21808
+ seated: "seated";
21809
+ standing: "standing";
21810
+ }>>;
21811
+ wardrobe: z.ZodOptional<z.ZodString>;
21812
+ product: z.ZodOptional<z.ZodString>;
21813
+ props: z.ZodOptional<z.ZodArray<z.ZodString>>;
21814
+ light: z.ZodOptional<z.ZodString>;
21815
+ }, z.core.$strict>>;
21816
+ proposal: z.ZodOptional<z.ZodObject<{
21817
+ id: z.ZodString;
21818
+ accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
21819
+ }, z.core.$strict>>;
21820
+ propose: z.ZodOptional<z.ZodLiteral<false>>;
21686
21821
  input_mode: z.ZodLiteral<"script">;
21687
21822
  transitions: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
21688
21823
  look: z.ZodEnum<{
@@ -24436,6 +24571,7 @@ export declare const saveWorkflowPlan: z.ZodObject<{
24436
24571
  comma_s: z.ZodOptional<z.ZodNumber>;
24437
24572
  mid_phrase_s: z.ZodOptional<z.ZodNumber>;
24438
24573
  }, z.core.$strict>]>>;
24574
+ keep_anchors: z.ZodOptional<z.ZodBoolean>;
24439
24575
  script: z.ZodString;
24440
24576
  character_reference: z.ZodOptional<z.ZodString>;
24441
24577
  }, z.core.$strict>, z.ZodObject<{
@@ -24707,6 +24843,22 @@ export declare const saveWorkflowPlan: z.ZodObject<{
24707
24843
  "720p": "720p";
24708
24844
  }>>;
24709
24845
  max_credits: z.ZodOptional<z.ZodNumber>;
24846
+ scene: z.ZodOptional<z.ZodObject<{
24847
+ place: z.ZodOptional<z.ZodString>;
24848
+ posture: z.ZodOptional<z.ZodEnum<{
24849
+ seated: "seated";
24850
+ standing: "standing";
24851
+ }>>;
24852
+ wardrobe: z.ZodOptional<z.ZodString>;
24853
+ product: z.ZodOptional<z.ZodString>;
24854
+ props: z.ZodOptional<z.ZodArray<z.ZodString>>;
24855
+ light: z.ZodOptional<z.ZodString>;
24856
+ }, z.core.$strict>>;
24857
+ proposal: z.ZodOptional<z.ZodObject<{
24858
+ id: z.ZodString;
24859
+ accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
24860
+ }, z.core.$strict>>;
24861
+ propose: z.ZodOptional<z.ZodLiteral<false>>;
24710
24862
  input_mode: z.ZodLiteral<"brief">;
24711
24863
  brief: z.ZodString;
24712
24864
  transitions: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
@@ -24721,6 +24873,7 @@ export declare const saveWorkflowPlan: z.ZodObject<{
24721
24873
  scenes: z.ZodOptional<z.ZodNever>;
24722
24874
  moves: z.ZodOptional<z.ZodNever>;
24723
24875
  pause_trim: z.ZodOptional<z.ZodNever>;
24876
+ keep_anchors: z.ZodOptional<z.ZodNever>;
24724
24877
  character_reference: z.ZodOptional<z.ZodString>;
24725
24878
  }, z.core.$strict>], "input_mode">;
24726
24879
  }, z.core.$strict>], "skill">>;
@@ -388,6 +388,10 @@ export declare const workflowRun: z.ZodObject<{
388
388
  shotCreditsPerSecond: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
389
389
  shot_talking_action: z.ZodNumber;
390
390
  shot_action: z.ZodNumber;
391
+ shot_omni: z.ZodOptional<z.ZodNumber>;
392
+ shot_seedance: z.ZodOptional<z.ZodNumber>;
393
+ shot_omni_no_text: z.ZodOptional<z.ZodNumber>;
394
+ shot_seedance_no_text: z.ZodOptional<z.ZodNumber>;
391
395
  }, z.core.$strict>>>;
392
396
  productionCreditsPerSecond: z.ZodNumber;
393
397
  liveAvatarStillCredits: z.ZodNumber;
@@ -403,6 +407,7 @@ export declare const workflowRun: z.ZodObject<{
403
407
  tariffId: z.ZodEnum<{
404
408
  "faceless-image-i2v-v1": "faceless-image-i2v-v1";
405
409
  "faceless-parts-v1": "faceless-parts-v1";
410
+ "faceless-parts-v2": "faceless-parts-v2";
406
411
  }>;
407
412
  captions: z.ZodBoolean;
408
413
  images: z.ZodOptional<z.ZodNumber>;
@@ -410,6 +415,9 @@ export declare const workflowRun: z.ZodObject<{
410
415
  musicCredits: z.ZodOptional<z.ZodNumber>;
411
416
  shotSeconds: z.ZodOptional<z.ZodNumber>;
412
417
  shotCredits: z.ZodOptional<z.ZodNumber>;
418
+ textShotSeconds: z.ZodOptional<z.ZodNumber>;
419
+ textShotCredits: z.ZodOptional<z.ZodNumber>;
420
+ totalCreditsWithoutText: z.ZodOptional<z.ZodNumber>;
413
421
  scenes: z.ZodOptional<z.ZodNumber>;
414
422
  sceneCredits: z.ZodOptional<z.ZodNumber>;
415
423
  posePictures: z.ZodOptional<z.ZodNumber>;
@@ -418,6 +426,7 @@ export declare const workflowRun: z.ZodObject<{
418
426
  objectPictures: z.ZodOptional<z.ZodNumber>;
419
427
  objectPictureCredits: z.ZodOptional<z.ZodNumber>;
420
428
  filmCredits: z.ZodOptional<z.ZodNumber>;
429
+ directionCredits: z.ZodOptional<z.ZodNumber>;
421
430
  outputFrames: z.ZodNumber;
422
431
  }, z.core.$strict>>;
423
432
  revision: z.ZodOptional<z.ZodObject<{
@@ -868,6 +877,9 @@ export declare const workflowRunRead: z.ZodObject<{
868
877
  musicCredits: z.ZodOptional<z.ZodNumber>;
869
878
  shotSeconds: z.ZodOptional<z.ZodNumber>;
870
879
  shotCredits: z.ZodOptional<z.ZodNumber>;
880
+ textShotSeconds: z.ZodOptional<z.ZodNumber>;
881
+ textShotCredits: z.ZodOptional<z.ZodNumber>;
882
+ totalCreditsWithoutText: z.ZodOptional<z.ZodNumber>;
871
883
  scenes: z.ZodOptional<z.ZodNumber>;
872
884
  sceneCredits: z.ZodOptional<z.ZodNumber>;
873
885
  posePictures: z.ZodOptional<z.ZodNumber>;
@@ -876,6 +888,7 @@ export declare const workflowRunRead: z.ZodObject<{
876
888
  objectPictures: z.ZodOptional<z.ZodNumber>;
877
889
  objectPictureCredits: z.ZodOptional<z.ZodNumber>;
878
890
  filmCredits: z.ZodOptional<z.ZodNumber>;
891
+ directionCredits: z.ZodOptional<z.ZodNumber>;
879
892
  outputFrames: z.ZodNumber;
880
893
  tariffId: z.ZodString;
881
894
  }, z.core.$loose>>;
@@ -898,6 +911,10 @@ export declare const workflowRunRead: z.ZodObject<{
898
911
  shotCreditsPerSecond: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
899
912
  shot_talking_action: z.ZodNumber;
900
913
  shot_action: z.ZodNumber;
914
+ shot_omni: z.ZodOptional<z.ZodNumber>;
915
+ shot_seedance: z.ZodOptional<z.ZodNumber>;
916
+ shot_omni_no_text: z.ZodOptional<z.ZodNumber>;
917
+ shot_seedance_no_text: z.ZodOptional<z.ZodNumber>;
901
918
  }, z.core.$strict>>>;
902
919
  productionCreditsPerSecond: z.ZodNumber;
903
920
  liveAvatarStillCredits: z.ZodNumber;
@@ -186,6 +186,29 @@ export declare const plannedRunShots: z.ZodObject<{
186
186
  }, z.core.$strip>;
187
187
  contract_version: z.ZodString;
188
188
  }, z.core.$strip>;
189
+ /** The takes of one live shot of an ad (#1560): each clip made for it, what our check said of it, and which one the video uses. */
190
+ export declare const LIVE_SHOT_TAKES: readonly ["first", "retake", "fallback", "head", "card"];
191
+ export declare const LIVE_TAKE_VERDICTS: readonly ["accepted", "refused", "unjudged"];
192
+ export declare const liveShot: z.ZodObject<{
193
+ shot_id: z.ZodString;
194
+ takes: z.ZodArray<z.ZodObject<{
195
+ take: z.ZodEnum<{
196
+ card: "card";
197
+ fallback: "fallback";
198
+ first: "first";
199
+ head: "head";
200
+ retake: "retake";
201
+ }>;
202
+ verdict: z.ZodEnum<{
203
+ accepted: "accepted";
204
+ refused: "refused";
205
+ unjudged: "unjudged";
206
+ }>;
207
+ codes: z.ZodArray<z.ZodString>;
208
+ chosen: z.ZodBoolean;
209
+ preview_url: z.ZodNullable<z.ZodString>;
210
+ }, z.core.$strip>>;
211
+ }, z.core.$strip>;
189
212
  /** A run with no plan to show: it carries no frame, duration, words or rules, and none are invented. */
190
213
  export declare const unplannedRunShots: z.ZodObject<{
191
214
  planned: z.ZodLiteral<false>;
@@ -212,6 +235,26 @@ export declare const unplannedRunShots: z.ZodObject<{
212
235
  state: z.ZodString;
213
236
  }, z.core.$strip>>;
214
237
  }, z.core.$strip>;
238
+ live_shots: z.ZodOptional<z.ZodArray<z.ZodObject<{
239
+ shot_id: z.ZodString;
240
+ takes: z.ZodArray<z.ZodObject<{
241
+ take: z.ZodEnum<{
242
+ card: "card";
243
+ fallback: "fallback";
244
+ first: "first";
245
+ head: "head";
246
+ retake: "retake";
247
+ }>;
248
+ verdict: z.ZodEnum<{
249
+ accepted: "accepted";
250
+ refused: "refused";
251
+ unjudged: "unjudged";
252
+ }>;
253
+ codes: z.ZodArray<z.ZodString>;
254
+ chosen: z.ZodBoolean;
255
+ preview_url: z.ZodNullable<z.ZodString>;
256
+ }, z.core.$strip>>;
257
+ }, z.core.$strip>>>;
215
258
  contract_version: z.ZodString;
216
259
  }, z.core.$strip>;
217
260
  export declare const runShots: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -381,6 +424,26 @@ export declare const runShots: z.ZodDiscriminatedUnion<[z.ZodObject<{
381
424
  state: z.ZodString;
382
425
  }, z.core.$strip>>;
383
426
  }, z.core.$strip>;
427
+ live_shots: z.ZodOptional<z.ZodArray<z.ZodObject<{
428
+ shot_id: z.ZodString;
429
+ takes: z.ZodArray<z.ZodObject<{
430
+ take: z.ZodEnum<{
431
+ card: "card";
432
+ fallback: "fallback";
433
+ first: "first";
434
+ head: "head";
435
+ retake: "retake";
436
+ }>;
437
+ verdict: z.ZodEnum<{
438
+ accepted: "accepted";
439
+ refused: "refused";
440
+ unjudged: "unjudged";
441
+ }>;
442
+ codes: z.ZodArray<z.ZodString>;
443
+ chosen: z.ZodBoolean;
444
+ preview_url: z.ZodNullable<z.ZodString>;
445
+ }, z.core.$strip>>;
446
+ }, z.core.$strip>>>;
384
447
  contract_version: z.ZodString;
385
448
  }, z.core.$strip>], "planned">;
386
449
  export type PlannedRunShots = z.infer<typeof plannedRunShots>;
@@ -470,6 +533,16 @@ export declare const unplannedRunShotsRead: z.ZodObject<{
470
533
  media_available_until: z.ZodNullable<z.ZodString>;
471
534
  reason: z.ZodNullable<z.ZodString>;
472
535
  }, z.core.$strip>;
536
+ live_shots: z.ZodOptional<z.ZodArray<z.ZodObject<{
537
+ shot_id: z.ZodString;
538
+ takes: z.ZodArray<z.ZodObject<{
539
+ codes: z.ZodArray<z.ZodString>;
540
+ chosen: z.ZodBoolean;
541
+ preview_url: z.ZodNullable<z.ZodString>;
542
+ take: z.ZodString;
543
+ verdict: z.ZodString;
544
+ }, z.core.$strip>>;
545
+ }, z.core.$strip>>>;
473
546
  }, z.core.$strip>;
474
547
  export declare const runShotsRead: z.ZodDiscriminatedUnion<[z.ZodObject<{
475
548
  planned: z.ZodLiteral<true>;
@@ -554,6 +627,16 @@ export declare const runShotsRead: z.ZodDiscriminatedUnion<[z.ZodObject<{
554
627
  media_available_until: z.ZodNullable<z.ZodString>;
555
628
  reason: z.ZodNullable<z.ZodString>;
556
629
  }, z.core.$strip>;
630
+ live_shots: z.ZodOptional<z.ZodArray<z.ZodObject<{
631
+ shot_id: z.ZodString;
632
+ takes: z.ZodArray<z.ZodObject<{
633
+ codes: z.ZodArray<z.ZodString>;
634
+ chosen: z.ZodBoolean;
635
+ preview_url: z.ZodNullable<z.ZodString>;
636
+ take: z.ZodString;
637
+ verdict: z.ZodString;
638
+ }, z.core.$strip>>;
639
+ }, z.core.$strip>>>;
557
640
  }, z.core.$strip>], "planned">;
558
641
  export type RunShotsRead = z.infer<typeof runShotsRead>;
559
642
  /** The path of a run's shots. The id is encoded, since it comes from the caller. */
@@ -35,12 +35,23 @@ export const plannedRunShots = z.object({
35
35
  paid_edits: z.object({ enabled: z.boolean(), reason: z.string().nullable() }),
36
36
  contract_version: z.string().min(1),
37
37
  });
38
+ /** The takes of one live shot of an ad (#1560): each clip made for it, what our check said of it, and which one the video uses. */
39
+ export const LIVE_SHOT_TAKES = ["first", "retake", "fallback", "head", "card"];
40
+ export const LIVE_TAKE_VERDICTS = ["accepted", "refused", "unjudged"];
41
+ const liveTake = z.object({
42
+ take: z.enum(LIVE_SHOT_TAKES), verdict: z.enum(LIVE_TAKE_VERDICTS),
43
+ /** The check's codes as it stored them (STRAY_TEXT, FACE_DRIFT, ...); empty when it named none. */
44
+ codes: z.array(z.string().min(1)), chosen: z.boolean(), preview_url: z.string().url().nullable(),
45
+ });
46
+ export const liveShot = z.object({ shot_id: z.string().min(1).max(64), takes: z.array(liveTake) });
38
47
  /** A run with no plan to show: it carries no frame, duration, words or rules, and none are invented. */
39
48
  export const unplannedRunShots = z.object({
40
49
  planned: z.literal(false),
41
50
  run_id: runId, line: z.enum(EDIT_LINES),
42
51
  editable: z.object({ state: z.enum(["not_succeeded", "unsupported_line", "not_recorded"]), media_available_until: until, reason: z.string().min(1) }),
43
52
  lineage,
53
+ /** An ad run's live shots, for the accounts that have the ad parts; absent otherwise. */
54
+ live_shots: z.array(liveShot).optional(),
44
55
  contract_version: z.string().min(1),
45
56
  });
46
57
  export const runShots = z.discriminatedUnion("planned", [plannedRunShots, unplannedRunShots]);
@@ -55,7 +66,9 @@ export const plannedRunShotsRead = plannedRunShots.extend({
55
66
  editable: editableRead,
56
67
  withheld: z.array(z.string()),
57
68
  });
58
- export const unplannedRunShotsRead = unplannedRunShots.extend({ line: z.string(), editable: editableRead });
69
+ const liveShotRead = liveShot.extend({ takes: z.array(liveShot.shape.takes.element.extend({ take: z.string(), verdict: z.string() })) });
70
+ export const unplannedRunShotsRead = unplannedRunShots.extend({ line: z.string(), editable: editableRead,
71
+ live_shots: z.array(liveShotRead).optional() });
59
72
  export const runShotsRead = z.discriminatedUnion("planned", [plannedRunShotsRead, unplannedRunShotsRead]);
60
73
  /** The path of a run's shots. The id is encoded, since it comes from the caller. */
61
74
  export const runShotsPath = (id) => `/v1/runs/${encodeURIComponent(id)}/shots`;
@@ -1 +1 @@
1
- {"version":3,"file":"edit-shots.js","sourceRoot":"","sources":["../src/edit-shots.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC7G,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,mGAAmG;AACnG,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC;AAEpF,MAAM,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,MA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