@slatesvideo/shared 0.7.20 → 0.7.21

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.
@@ -210,11 +210,11 @@ declare const gridSelectionInput: z.ZodObject<{
210
210
  rowKeys: z.ZodArray<z.ZodString, "many">;
211
211
  aspects: z.ZodArray<z.ZodString, "many">;
212
212
  }, "strict", z.ZodTypeAny, {
213
- aspects: string[];
214
213
  rowKeys: string[];
215
- }, {
216
214
  aspects: string[];
215
+ }, {
217
216
  rowKeys: string[];
217
+ aspects: string[];
218
218
  }>;
219
219
  declare const exportEncodingInput: z.ZodObject<{
220
220
  presetId: z.ZodOptional<z.ZodEnum<["tiktok", "reels", "meta-feed", "stories", "shorts", "youtube"]>>;
@@ -225,12 +225,12 @@ declare const exportEncodingInput: z.ZodObject<{
225
225
  presetId?: "tiktok" | "reels" | "meta-feed" | "stories" | "shorts" | "youtube" | undefined;
226
226
  codec?: "h264" | "h265" | "prores" | undefined;
227
227
  videoBitrateMbps?: number | null | undefined;
228
- fps?: 24 | 30 | 60 | null | undefined;
228
+ fps?: 30 | 24 | 60 | null | undefined;
229
229
  }, {
230
230
  presetId?: "tiktok" | "reels" | "meta-feed" | "stories" | "shorts" | "youtube" | undefined;
231
231
  codec?: "h264" | "h265" | "prores" | undefined;
232
232
  videoBitrateMbps?: number | null | undefined;
233
- fps?: 24 | 30 | 60 | null | undefined;
233
+ fps?: 30 | 24 | 60 | null | undefined;
234
234
  }>;
235
235
  declare const deliveryInput: z.ZodObject<{
236
236
  formats: z.ZodArray<z.ZodString, "many">;
@@ -246,12 +246,12 @@ declare const deliveryInput: z.ZodObject<{
246
246
  presetId?: "tiktok" | "reels" | "meta-feed" | "stories" | "shorts" | "youtube" | undefined;
247
247
  codec?: "h264" | "h265" | "prores" | undefined;
248
248
  videoBitrateMbps?: number | null | undefined;
249
- fps?: 24 | 30 | 60 | null | undefined;
249
+ fps?: 30 | 24 | 60 | null | undefined;
250
250
  }, {
251
251
  presetId?: "tiktok" | "reels" | "meta-feed" | "stories" | "shorts" | "youtube" | undefined;
252
252
  codec?: "h264" | "h265" | "prores" | undefined;
253
253
  videoBitrateMbps?: number | null | undefined;
254
- fps?: 24 | 30 | 60 | null | undefined;
254
+ fps?: 30 | 24 | 60 | null | undefined;
255
255
  }>>>;
256
256
  }, "strict", z.ZodTypeAny, {
257
257
  formats: string[];
@@ -262,7 +262,7 @@ declare const deliveryInput: z.ZodObject<{
262
262
  presetId?: "tiktok" | "reels" | "meta-feed" | "stories" | "shorts" | "youtube" | undefined;
263
263
  codec?: "h264" | "h265" | "prores" | undefined;
264
264
  videoBitrateMbps?: number | null | undefined;
265
- fps?: 24 | 30 | 60 | null | undefined;
265
+ fps?: 30 | 24 | 60 | null | undefined;
266
266
  } | null | undefined;
267
267
  }, {
268
268
  formats: string[];
@@ -273,7 +273,7 @@ declare const deliveryInput: z.ZodObject<{
273
273
  presetId?: "tiktok" | "reels" | "meta-feed" | "stories" | "shorts" | "youtube" | undefined;
274
274
  codec?: "h264" | "h265" | "prores" | undefined;
275
275
  videoBitrateMbps?: number | null | undefined;
276
- fps?: 24 | 30 | 60 | null | undefined;
276
+ fps?: 30 | 24 | 60 | null | undefined;
277
277
  } | null | undefined;
278
278
  }>;
279
279
  declare const taxonomyInput: z.ZodObject<{
@@ -317,17 +317,17 @@ declare const gridBindingInput: z.ZodObject<{
317
317
  shotIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
318
318
  }, "strict", z.ZodTypeAny, {
319
319
  key: string;
320
- alternativeId?: string | undefined;
321
- sectionId?: string | undefined;
322
320
  label?: string | undefined;
323
321
  choicePosition?: number | undefined;
322
+ sectionId?: string | undefined;
323
+ alternativeId?: string | undefined;
324
324
  shotIds?: string[] | undefined;
325
325
  }, {
326
326
  key: string;
327
- alternativeId?: string | undefined;
328
- sectionId?: string | undefined;
329
327
  label?: string | undefined;
330
328
  choicePosition?: number | undefined;
329
+ sectionId?: string | undefined;
330
+ alternativeId?: string | undefined;
331
331
  shotIds?: string[] | undefined;
332
332
  }>>;
333
333
  body: z.ZodOptional<z.ZodObject<{
@@ -339,17 +339,17 @@ declare const gridBindingInput: z.ZodObject<{
339
339
  shotIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
340
340
  }, "strict", z.ZodTypeAny, {
341
341
  key: string;
342
- alternativeId?: string | undefined;
343
- sectionId?: string | undefined;
344
342
  label?: string | undefined;
345
343
  choicePosition?: number | undefined;
344
+ sectionId?: string | undefined;
345
+ alternativeId?: string | undefined;
346
346
  shotIds?: string[] | undefined;
347
347
  }, {
348
348
  key: string;
349
- alternativeId?: string | undefined;
350
- sectionId?: string | undefined;
351
349
  label?: string | undefined;
352
350
  choicePosition?: number | undefined;
351
+ sectionId?: string | undefined;
352
+ alternativeId?: string | undefined;
353
353
  shotIds?: string[] | undefined;
354
354
  }>>;
355
355
  endCard: z.ZodOptional<z.ZodObject<{
@@ -361,67 +361,67 @@ declare const gridBindingInput: z.ZodObject<{
361
361
  shotIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
362
362
  }, "strict", z.ZodTypeAny, {
363
363
  key: string;
364
- alternativeId?: string | undefined;
365
- sectionId?: string | undefined;
366
364
  label?: string | undefined;
367
365
  choicePosition?: number | undefined;
366
+ sectionId?: string | undefined;
367
+ alternativeId?: string | undefined;
368
368
  shotIds?: string[] | undefined;
369
369
  }, {
370
370
  key: string;
371
- alternativeId?: string | undefined;
372
- sectionId?: string | undefined;
373
371
  label?: string | undefined;
374
372
  choicePosition?: number | undefined;
373
+ sectionId?: string | undefined;
374
+ alternativeId?: string | undefined;
375
375
  shotIds?: string[] | undefined;
376
376
  }>>;
377
377
  }, "strict", z.ZodTypeAny, {
378
378
  hook?: {
379
379
  key: string;
380
- alternativeId?: string | undefined;
381
- sectionId?: string | undefined;
382
380
  label?: string | undefined;
383
381
  choicePosition?: number | undefined;
382
+ sectionId?: string | undefined;
383
+ alternativeId?: string | undefined;
384
384
  shotIds?: string[] | undefined;
385
385
  } | undefined;
386
386
  body?: {
387
387
  key: string;
388
- alternativeId?: string | undefined;
389
- sectionId?: string | undefined;
390
388
  label?: string | undefined;
391
389
  choicePosition?: number | undefined;
390
+ sectionId?: string | undefined;
391
+ alternativeId?: string | undefined;
392
392
  shotIds?: string[] | undefined;
393
393
  } | undefined;
394
394
  endCard?: {
395
395
  key: string;
396
- alternativeId?: string | undefined;
397
- sectionId?: string | undefined;
398
396
  label?: string | undefined;
399
397
  choicePosition?: number | undefined;
398
+ sectionId?: string | undefined;
399
+ alternativeId?: string | undefined;
400
400
  shotIds?: string[] | undefined;
401
401
  } | undefined;
402
402
  }, {
403
403
  hook?: {
404
404
  key: string;
405
- alternativeId?: string | undefined;
406
- sectionId?: string | undefined;
407
405
  label?: string | undefined;
408
406
  choicePosition?: number | undefined;
407
+ sectionId?: string | undefined;
408
+ alternativeId?: string | undefined;
409
409
  shotIds?: string[] | undefined;
410
410
  } | undefined;
411
411
  body?: {
412
412
  key: string;
413
- alternativeId?: string | undefined;
414
- sectionId?: string | undefined;
415
413
  label?: string | undefined;
416
414
  choicePosition?: number | undefined;
415
+ sectionId?: string | undefined;
416
+ alternativeId?: string | undefined;
417
417
  shotIds?: string[] | undefined;
418
418
  } | undefined;
419
419
  endCard?: {
420
420
  key: string;
421
- alternativeId?: string | undefined;
422
- sectionId?: string | undefined;
423
421
  label?: string | undefined;
424
422
  choicePosition?: number | undefined;
423
+ sectionId?: string | undefined;
424
+ alternativeId?: string | undefined;
425
425
  shotIds?: string[] | undefined;
426
426
  } | undefined;
427
427
  }>>;
@@ -432,26 +432,26 @@ declare const gridBindingInput: z.ZodObject<{
432
432
  slots?: {
433
433
  hook?: {
434
434
  key: string;
435
- alternativeId?: string | undefined;
436
- sectionId?: string | undefined;
437
435
  label?: string | undefined;
438
436
  choicePosition?: number | undefined;
437
+ sectionId?: string | undefined;
438
+ alternativeId?: string | undefined;
439
439
  shotIds?: string[] | undefined;
440
440
  } | undefined;
441
441
  body?: {
442
442
  key: string;
443
- alternativeId?: string | undefined;
444
- sectionId?: string | undefined;
445
443
  label?: string | undefined;
446
444
  choicePosition?: number | undefined;
445
+ sectionId?: string | undefined;
446
+ alternativeId?: string | undefined;
447
447
  shotIds?: string[] | undefined;
448
448
  } | undefined;
449
449
  endCard?: {
450
450
  key: string;
451
- alternativeId?: string | undefined;
452
- sectionId?: string | undefined;
453
451
  label?: string | undefined;
454
452
  choicePosition?: number | undefined;
453
+ sectionId?: string | undefined;
454
+ alternativeId?: string | undefined;
455
455
  shotIds?: string[] | undefined;
456
456
  } | undefined;
457
457
  } | undefined;
@@ -462,26 +462,26 @@ declare const gridBindingInput: z.ZodObject<{
462
462
  slots?: {
463
463
  hook?: {
464
464
  key: string;
465
- alternativeId?: string | undefined;
466
- sectionId?: string | undefined;
467
465
  label?: string | undefined;
468
466
  choicePosition?: number | undefined;
467
+ sectionId?: string | undefined;
468
+ alternativeId?: string | undefined;
469
469
  shotIds?: string[] | undefined;
470
470
  } | undefined;
471
471
  body?: {
472
472
  key: string;
473
- alternativeId?: string | undefined;
474
- sectionId?: string | undefined;
475
473
  label?: string | undefined;
476
474
  choicePosition?: number | undefined;
475
+ sectionId?: string | undefined;
476
+ alternativeId?: string | undefined;
477
477
  shotIds?: string[] | undefined;
478
478
  } | undefined;
479
479
  endCard?: {
480
480
  key: string;
481
- alternativeId?: string | undefined;
482
- sectionId?: string | undefined;
483
481
  label?: string | undefined;
484
482
  choicePosition?: number | undefined;
483
+ sectionId?: string | undefined;
484
+ alternativeId?: string | undefined;
485
485
  shotIds?: string[] | undefined;
486
486
  } | undefined;
487
487
  } | undefined;
@@ -869,16 +869,16 @@ declare const whipEditInput: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
869
869
  at: number;
870
870
  kind: "move";
871
871
  start?: number | undefined;
872
+ peak?: number | undefined;
872
873
  end?: number | undefined;
873
874
  direction?: "left" | "right" | "up-right" | "up" | "up-left" | "down-left" | "down" | "down-right" | undefined;
874
- peak?: number | undefined;
875
875
  }, {
876
876
  at: number;
877
877
  kind: "move";
878
878
  start?: number | undefined;
879
+ peak?: number | undefined;
879
880
  end?: number | undefined;
880
881
  direction?: "left" | "right" | "up-right" | "up" | "up-left" | "down-left" | "down" | "down-right" | undefined;
881
- peak?: number | undefined;
882
882
  }>, z.ZodObject<{
883
883
  kind: z.ZodLiteral<"add">;
884
884
  start: z.ZodNumber;
@@ -886,17 +886,17 @@ declare const whipEditInput: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
886
886
  end: z.ZodNumber;
887
887
  direction: z.ZodEnum<["right", "up-right", "up", "up-left", "left", "down-left", "down", "down-right"]>;
888
888
  }, "strict", z.ZodTypeAny, {
889
- start: number;
890
889
  kind: "add";
890
+ start: number;
891
+ peak: number;
891
892
  end: number;
892
893
  direction: "left" | "right" | "up-right" | "up" | "up-left" | "down-left" | "down" | "down-right";
893
- peak: number;
894
894
  }, {
895
- start: number;
896
895
  kind: "add";
896
+ start: number;
897
+ peak: number;
897
898
  end: number;
898
899
  direction: "left" | "right" | "up-right" | "up" | "up-left" | "down-left" | "down" | "down-right";
899
- peak: number;
900
900
  }>, z.ZodObject<{
901
901
  kind: z.ZodLiteral<"delete">;
902
902
  at: z.ZodNumber;
@@ -1521,9 +1521,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1521
1521
  action: z.ZodOptional<z.ZodOptional<z.ZodEnum<["start", "status", "cancel"]>>>;
1522
1522
  }, "strict", z.ZodTypeAny, {
1523
1523
  projectId: string;
1524
- directory?: string | undefined;
1525
- manifestId?: string | undefined;
1526
- action?: "start" | "status" | "cancel" | undefined;
1527
1524
  items?: ({
1528
1525
  timelineId: string;
1529
1526
  format: "mp4" | "xml";
@@ -1542,6 +1539,9 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1542
1539
  lp?: string | undefined;
1543
1540
  } | undefined;
1544
1541
  })[] | undefined;
1542
+ action?: "status" | "cancel" | "start" | undefined;
1543
+ directory?: string | undefined;
1544
+ manifestId?: string | undefined;
1545
1545
  version?: 2 | undefined;
1546
1546
  batchId?: string | undefined;
1547
1547
  exportRoot?: string | undefined;
@@ -1564,9 +1564,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1564
1564
  }> | undefined;
1565
1565
  }, {
1566
1566
  projectId: string;
1567
- directory?: string | undefined;
1568
- manifestId?: string | undefined;
1569
- action?: "start" | "status" | "cancel" | undefined;
1570
1567
  items?: ({
1571
1568
  timelineId: string;
1572
1569
  format: "mp4" | "xml";
@@ -1585,6 +1582,9 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1585
1582
  lp?: string | undefined;
1586
1583
  } | undefined;
1587
1584
  })[] | undefined;
1585
+ action?: "status" | "cancel" | "start" | undefined;
1586
+ directory?: string | undefined;
1587
+ manifestId?: string | undefined;
1588
1588
  version?: 2 | undefined;
1589
1589
  batchId?: string | undefined;
1590
1590
  exportRoot?: string | undefined;
@@ -1607,9 +1607,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1607
1607
  }> | undefined;
1608
1608
  }>, {
1609
1609
  projectId: string;
1610
- directory?: string | undefined;
1611
- manifestId?: string | undefined;
1612
- action?: "start" | "status" | "cancel" | undefined;
1613
1610
  items?: ({
1614
1611
  timelineId: string;
1615
1612
  format: "mp4" | "xml";
@@ -1628,6 +1625,9 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1628
1625
  lp?: string | undefined;
1629
1626
  } | undefined;
1630
1627
  })[] | undefined;
1628
+ action?: "status" | "cancel" | "start" | undefined;
1629
+ directory?: string | undefined;
1630
+ manifestId?: string | undefined;
1631
1631
  version?: 2 | undefined;
1632
1632
  batchId?: string | undefined;
1633
1633
  exportRoot?: string | undefined;
@@ -1650,9 +1650,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1650
1650
  }> | undefined;
1651
1651
  }, {
1652
1652
  projectId: string;
1653
- directory?: string | undefined;
1654
- manifestId?: string | undefined;
1655
- action?: "start" | "status" | "cancel" | undefined;
1656
1653
  items?: ({
1657
1654
  timelineId: string;
1658
1655
  format: "mp4" | "xml";
@@ -1671,6 +1668,9 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1671
1668
  lp?: string | undefined;
1672
1669
  } | undefined;
1673
1670
  })[] | undefined;
1671
+ action?: "status" | "cancel" | "start" | undefined;
1672
+ directory?: string | undefined;
1673
+ manifestId?: string | undefined;
1674
1674
  version?: 2 | undefined;
1675
1675
  batchId?: string | undefined;
1676
1676
  exportRoot?: string | undefined;
@@ -1749,26 +1749,26 @@ declare const variantSlotsInput: z.ZodObject<{
1749
1749
  sequenceId: z.ZodOptional<z.ZodString>;
1750
1750
  }, "strict", z.ZodTypeAny, {
1751
1751
  projectId: string;
1752
- action: "add" | "update" | "remove" | "add-alternative" | "update-alternative" | "remove-alternative";
1753
- timelineId?: string | undefined;
1752
+ action: "add" | "remove" | "update" | "add-alternative" | "update-alternative" | "remove-alternative";
1754
1753
  at?: number | undefined;
1754
+ name?: string | undefined;
1755
+ alternativeId?: string | undefined;
1756
+ timelineId?: string | undefined;
1755
1757
  slotId?: string | undefined;
1756
1758
  slotName?: string | undefined;
1757
- alternativeId?: string | undefined;
1758
- name?: string | undefined;
1759
1759
  orderIndex?: number | undefined;
1760
1760
  bedFrame?: number | null | undefined;
1761
1761
  clipIds?: string[] | undefined;
1762
1762
  sequenceId?: string | undefined;
1763
1763
  }, {
1764
1764
  projectId: string;
1765
- action: "add" | "update" | "remove" | "add-alternative" | "update-alternative" | "remove-alternative";
1766
- timelineId?: string | undefined;
1765
+ action: "add" | "remove" | "update" | "add-alternative" | "update-alternative" | "remove-alternative";
1767
1766
  at?: number | undefined;
1767
+ name?: string | undefined;
1768
+ alternativeId?: string | undefined;
1769
+ timelineId?: string | undefined;
1768
1770
  slotId?: string | undefined;
1769
1771
  slotName?: string | undefined;
1770
- alternativeId?: string | undefined;
1771
- name?: string | undefined;
1772
1772
  orderIndex?: number | undefined;
1773
1773
  bedFrame?: number | null | undefined;
1774
1774
  clipIds?: string[] | undefined;
@@ -1847,9 +1847,9 @@ declare const variantsInput: z.ZodObject<{
1847
1847
  }>]>>>;
1848
1848
  }, "strict", z.ZodTypeAny, {
1849
1849
  projectId: string;
1850
- action: "add" | "update" | "remove" | "rebuild";
1851
- timelineId?: string | undefined;
1850
+ action: "add" | "remove" | "update" | "rebuild";
1852
1851
  name?: string | undefined;
1852
+ timelineId?: string | undefined;
1853
1853
  variantId?: string | undefined;
1854
1854
  combinations?: boolean | undefined;
1855
1855
  choices?: Record<string, string> | undefined;
@@ -1873,9 +1873,9 @@ declare const variantsInput: z.ZodObject<{
1873
1873
  }[] | undefined;
1874
1874
  }, {
1875
1875
  projectId: string;
1876
- action: "add" | "update" | "remove" | "rebuild";
1877
- timelineId?: string | undefined;
1876
+ action: "add" | "remove" | "update" | "rebuild";
1878
1877
  name?: string | undefined;
1878
+ timelineId?: string | undefined;
1879
1879
  variantId?: string | undefined;
1880
1880
  combinations?: boolean | undefined;
1881
1881
  choices?: Record<string, string> | undefined;
@@ -1952,8 +1952,8 @@ declare const reframeClipInput: z.ZodObject<{
1952
1952
  }, "strict", z.ZodTypeAny, {
1953
1953
  projectId: string;
1954
1954
  timelineId: string;
1955
- aspect: string;
1956
1955
  clipId: string;
1956
+ aspect: string;
1957
1957
  framing?: {
1958
1958
  mode?: "fill" | "fit" | undefined;
1959
1959
  focusX?: number | undefined;
@@ -1966,8 +1966,8 @@ declare const reframeClipInput: z.ZodObject<{
1966
1966
  }, {
1967
1967
  projectId: string;
1968
1968
  timelineId: string;
1969
- aspect: string;
1970
1969
  clipId: string;
1970
+ aspect: string;
1971
1971
  framing?: {
1972
1972
  mode?: "fill" | "fit" | undefined;
1973
1973
  focusX?: number | undefined;
@@ -2015,14 +2015,14 @@ declare const dialogueCleanupOptions: z.ZodObject<{
2015
2015
  minPauseSec: z.ZodOptional<z.ZodNumber>;
2016
2016
  keepAirSec: z.ZodOptional<z.ZodNumber>;
2017
2017
  }, "strict", z.ZodTypeAny, {
2018
- fillers?: boolean | undefined;
2019
2018
  pauses?: boolean | undefined;
2019
+ fillers?: boolean | undefined;
2020
2020
  repeats?: boolean | undefined;
2021
2021
  minPauseSec?: number | undefined;
2022
2022
  keepAirSec?: number | undefined;
2023
2023
  }, {
2024
- fillers?: boolean | undefined;
2025
2024
  pauses?: boolean | undefined;
2025
+ fillers?: boolean | undefined;
2026
2026
  repeats?: boolean | undefined;
2027
2027
  minPauseSec?: number | undefined;
2028
2028
  keepAirSec?: number | undefined;
@@ -2084,6 +2084,195 @@ export declare const resolveReviewNote: Operation<{
2084
2084
  assetIds?: string[];
2085
2085
  }>;
2086
2086
  }>;
2087
+ export declare const getAdWinners: Operation<{
2088
+ projectId?: string;
2089
+ }>;
2090
+ export declare const setRecipeVerdict: Operation<{
2091
+ recipeId: string;
2092
+ projectId?: string | null;
2093
+ verdict: 'winner' | 'loser' | null;
2094
+ note?: string;
2095
+ }>;
2096
+ export declare const moreLikeThis: Operation<{
2097
+ exportRef: string;
2098
+ openHookSlot?: boolean;
2099
+ extraHookCount?: number;
2100
+ }>;
2101
+ declare const SPLIT_TEST_INPUT: z.ZodObject<{
2102
+ projectId: z.ZodString;
2103
+ accountId: z.ZodString;
2104
+ campaignName: z.ZodString;
2105
+ dailyBudgetMinor: z.ZodNumber;
2106
+ currency: z.ZodString;
2107
+ exportRefs: z.ZodArray<z.ZodString, "many">;
2108
+ country: z.ZodString;
2109
+ specialAdCategories: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
2110
+ pageId: z.ZodString;
2111
+ destinationUrl: z.ZodString;
2112
+ headline: z.ZodOptional<z.ZodString>;
2113
+ primaryText: z.ZodOptional<z.ZodString>;
2114
+ cta: z.ZodOptional<z.ZodString>;
2115
+ thresholdSpend: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2116
+ thresholdImpressions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2117
+ }, "strict", z.ZodTypeAny, {
2118
+ projectId: string;
2119
+ destinationUrl: string;
2120
+ accountId: string;
2121
+ campaignName: string;
2122
+ dailyBudgetMinor: number;
2123
+ currency: string;
2124
+ exportRefs: string[];
2125
+ country: string;
2126
+ specialAdCategories: string[] | null;
2127
+ pageId: string;
2128
+ primaryText?: string | undefined;
2129
+ headline?: string | undefined;
2130
+ cta?: string | undefined;
2131
+ thresholdSpend?: number | null | undefined;
2132
+ thresholdImpressions?: number | null | undefined;
2133
+ }, {
2134
+ projectId: string;
2135
+ destinationUrl: string;
2136
+ accountId: string;
2137
+ campaignName: string;
2138
+ dailyBudgetMinor: number;
2139
+ currency: string;
2140
+ exportRefs: string[];
2141
+ country: string;
2142
+ specialAdCategories: string[] | null;
2143
+ pageId: string;
2144
+ primaryText?: string | undefined;
2145
+ headline?: string | undefined;
2146
+ cta?: string | undefined;
2147
+ thresholdSpend?: number | null | undefined;
2148
+ thresholdImpressions?: number | null | undefined;
2149
+ }>;
2150
+ export declare const planSplitTest: Operation<z.infer<typeof SPLIT_TEST_INPUT>>;
2151
+ export declare const evaluateSplitTestWinner: Operation<{
2152
+ testId: string;
2153
+ thresholds?: {
2154
+ minSpend?: number | null;
2155
+ minImpressions?: number | null;
2156
+ };
2157
+ }>;
2158
+ export declare const visualQaSample: Operation<{
2159
+ projectId?: string;
2160
+ timelineId?: string;
2161
+ runId?: string;
2162
+ maxRounds?: number;
2163
+ budget?: number;
2164
+ }>;
2165
+ declare const VQA_DIMENSION: z.ZodEnum<["alignment", "legibility", "hierarchy", "pacing", "transitions", "motion", "restraint"]>;
2166
+ export declare const visualQaRecordRound: Operation<{
2167
+ runId: string;
2168
+ scores: Partial<Record<z.infer<typeof VQA_DIMENSION>, number>>;
2169
+ findings: Array<{
2170
+ sampleId: string;
2171
+ dimension: z.infer<typeof VQA_DIMENSION>;
2172
+ severity: 'blocker' | 'should-fix' | 'polish';
2173
+ diagnosis: string;
2174
+ exactFix: string;
2175
+ region?: {
2176
+ x: number;
2177
+ y: number;
2178
+ w: number;
2179
+ h: number;
2180
+ } | null;
2181
+ span?: {
2182
+ startSec: number;
2183
+ endSec: number;
2184
+ } | null;
2185
+ targetClipId?: string;
2186
+ targetTransitionId?: string;
2187
+ findingId?: string;
2188
+ }>;
2189
+ summary?: string;
2190
+ promoteToReview?: boolean;
2191
+ }>;
2192
+ export declare const listVisualQaRuns: Operation<{
2193
+ projectId?: string;
2194
+ timelineId?: string;
2195
+ runId?: string;
2196
+ }>;
2197
+ declare const V2V_KIND: z.ZodEnum<["swap-person", "change-angle", "change-location", "move-camera", "relight", "video-brush"]>;
2198
+ export declare const listV2vPasses: Operation<{
2199
+ projectId: string;
2200
+ timelineId: string;
2201
+ clipId?: string;
2202
+ }>;
2203
+ export declare const editV2vPass: Operation<{
2204
+ projectId: string;
2205
+ action: 'create' | 'update' | 'delete' | 'reorder';
2206
+ input?: {
2207
+ timelineId: string;
2208
+ clipId: string;
2209
+ kind: z.infer<typeof V2V_KIND>;
2210
+ label?: string;
2211
+ model?: string;
2212
+ prompt?: string;
2213
+ params?: Record<string, unknown>;
2214
+ referenceAssetIds?: string[];
2215
+ startFrame?: number;
2216
+ endFrame?: number;
2217
+ };
2218
+ passId?: string;
2219
+ patch?: {
2220
+ label?: string;
2221
+ enabled?: boolean;
2222
+ orderIndex?: number;
2223
+ model?: string;
2224
+ prompt?: string;
2225
+ params?: Record<string, unknown>;
2226
+ referenceAssetIds?: string[];
2227
+ startFrame?: number;
2228
+ endFrame?: number;
2229
+ };
2230
+ timelineId?: string;
2231
+ clipId?: string;
2232
+ orderedIds?: string[];
2233
+ }>;
2234
+ export declare const quoteV2vPasses: Operation<{
2235
+ projectId: string;
2236
+ passIds: string[];
2237
+ }>;
2238
+ export declare const runV2vPasses: Operation<{
2239
+ projectId: string;
2240
+ timelineId: string;
2241
+ passIds: string[];
2242
+ maxCredits: number;
2243
+ quoteFingerprint: string;
2244
+ requestId?: string;
2245
+ maxParallel?: number;
2246
+ }>;
2247
+ export declare const v2vPassesToVariants: Operation<{
2248
+ projectId: string;
2249
+ timelineId: string;
2250
+ passIds: string[];
2251
+ slotName?: string;
2252
+ }>;
2253
+ export declare const getDiagnosticsStatus: Operation<Record<string, never>>;
2254
+ export declare const findWinningAds: Operation<{
2255
+ query?: string;
2256
+ niche?: string;
2257
+ platform?: 'all' | 'meta' | 'google';
2258
+ minRunDays?: number;
2259
+ format?: 'all' | 'video' | 'image';
2260
+ activeOnly?: boolean;
2261
+ hasBreakdown?: boolean;
2262
+ sort?: 'run_length' | 'variations' | 'recent';
2263
+ limit?: number;
2264
+ offset?: number;
2265
+ }>;
2266
+ export declare const listWinningAdNiches: Operation<Record<string, never>>;
2267
+ export declare const breakDownWinningAd: Operation<{
2268
+ projectId?: string;
2269
+ adId: string;
2270
+ platform?: 'meta' | 'google';
2271
+ build?: boolean;
2272
+ name?: string;
2273
+ model?: string;
2274
+ jobId?: string;
2275
+ }>;
2087
2276
  export declare const listTimelines: Operation<{
2088
2277
  projectId: string;
2089
2278
  }>;
@@ -2207,13 +2396,13 @@ declare const keyframeKeys: z.ZodArray<z.ZodObject<{
2207
2396
  }, "strict", z.ZodTypeAny, {
2208
2397
  value: number;
2209
2398
  frame: number;
2210
- easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2399
+ easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2211
2400
  cubicBezier: [number, number, number, number];
2212
2401
  } | undefined;
2213
2402
  }, {
2214
2403
  value: number;
2215
2404
  frame: number;
2216
- easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2405
+ easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2217
2406
  cubicBezier: [number, number, number, number];
2218
2407
  } | undefined;
2219
2408
  }>, "many">;
@@ -2230,13 +2419,13 @@ declare const keyframeList: z.ZodArray<z.ZodObject<{
2230
2419
  }, "strict", z.ZodTypeAny, {
2231
2420
  value: number;
2232
2421
  frame: number;
2233
- easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2422
+ easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2234
2423
  cubicBezier: [number, number, number, number];
2235
2424
  } | undefined;
2236
2425
  }, {
2237
2426
  value: number;
2238
2427
  frame: number;
2239
- easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2428
+ easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2240
2429
  cubicBezier: [number, number, number, number];
2241
2430
  } | undefined;
2242
2431
  }>, "many">;
@@ -2259,13 +2448,13 @@ declare const audioEffectList: z.ZodArray<z.ZodObject<{
2259
2448
  }, "strict", z.ZodTypeAny, {
2260
2449
  value: number;
2261
2450
  frame: number;
2262
- easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2451
+ easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2263
2452
  cubicBezier: [number, number, number, number];
2264
2453
  } | undefined;
2265
2454
  }, {
2266
2455
  value: number;
2267
2456
  frame: number;
2268
- easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2457
+ easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2269
2458
  cubicBezier: [number, number, number, number];
2270
2459
  } | undefined;
2271
2460
  }>, "many">>>;
@@ -2290,102 +2479,102 @@ declare const audioEffectList: z.ZodArray<z.ZodObject<{
2290
2479
  }, "strict", z.ZodTypeAny, {
2291
2480
  value: number;
2292
2481
  frame: number;
2293
- easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2482
+ easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2294
2483
  cubicBezier: [number, number, number, number];
2295
2484
  } | undefined;
2296
2485
  }, {
2297
2486
  value: number;
2298
2487
  frame: number;
2299
- easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2488
+ easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2300
2489
  cubicBezier: [number, number, number, number];
2301
2490
  } | undefined;
2302
2491
  }>, "many">>>;
2303
2492
  }, "strict", z.ZodTypeAny, {
2304
2493
  type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
2494
+ on?: boolean | undefined;
2495
+ band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2496
+ frequency?: number | undefined;
2497
+ gain?: number | undefined;
2498
+ q?: number | undefined;
2499
+ slope?: number | undefined;
2305
2500
  keyframes?: Record<string, {
2306
2501
  value: number;
2307
2502
  frame: number;
2308
- easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2503
+ easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2309
2504
  cubicBezier: [number, number, number, number];
2310
2505
  } | undefined;
2311
2506
  }[]> | undefined;
2312
- band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2507
+ }, {
2508
+ type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
2313
2509
  on?: boolean | undefined;
2510
+ band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2314
2511
  frequency?: number | undefined;
2315
2512
  gain?: number | undefined;
2316
2513
  q?: number | undefined;
2317
2514
  slope?: number | undefined;
2318
- }, {
2319
- type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
2320
2515
  keyframes?: Record<string, {
2321
2516
  value: number;
2322
2517
  frame: number;
2323
- easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2518
+ easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2324
2519
  cubicBezier: [number, number, number, number];
2325
2520
  } | undefined;
2326
2521
  }[]> | undefined;
2327
- band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2328
- on?: boolean | undefined;
2329
- frequency?: number | undefined;
2330
- gain?: number | undefined;
2331
- q?: number | undefined;
2332
- slope?: number | undefined;
2333
2522
  }>, "many">>;
2334
2523
  }, "strict", z.ZodTypeAny, {
2335
2524
  type: "volume" | "eq" | "denoise" | "voice_enhance";
2336
- params?: Record<string, number> | undefined;
2337
2525
  id?: string | undefined;
2338
- bypass?: boolean | undefined;
2526
+ params?: Record<string, number> | undefined;
2339
2527
  keyframes?: Record<string, {
2340
2528
  value: number;
2341
2529
  frame: number;
2342
- easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2530
+ easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2343
2531
  cubicBezier: [number, number, number, number];
2344
2532
  } | undefined;
2345
2533
  }[]> | undefined;
2534
+ bypass?: boolean | undefined;
2346
2535
  bands?: {
2347
2536
  type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
2537
+ on?: boolean | undefined;
2538
+ band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2539
+ frequency?: number | undefined;
2540
+ gain?: number | undefined;
2541
+ q?: number | undefined;
2542
+ slope?: number | undefined;
2348
2543
  keyframes?: Record<string, {
2349
2544
  value: number;
2350
2545
  frame: number;
2351
- easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2546
+ easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2352
2547
  cubicBezier: [number, number, number, number];
2353
2548
  } | undefined;
2354
2549
  }[]> | undefined;
2355
- band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2356
- on?: boolean | undefined;
2357
- frequency?: number | undefined;
2358
- gain?: number | undefined;
2359
- q?: number | undefined;
2360
- slope?: number | undefined;
2361
2550
  }[] | undefined;
2362
2551
  }, {
2363
2552
  type: "volume" | "eq" | "denoise" | "voice_enhance";
2364
- params?: Record<string, number> | undefined;
2365
2553
  id?: string | undefined;
2366
- bypass?: boolean | undefined;
2554
+ params?: Record<string, number> | undefined;
2367
2555
  keyframes?: Record<string, {
2368
2556
  value: number;
2369
2557
  frame: number;
2370
- easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2558
+ easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2371
2559
  cubicBezier: [number, number, number, number];
2372
2560
  } | undefined;
2373
2561
  }[]> | undefined;
2562
+ bypass?: boolean | undefined;
2374
2563
  bands?: {
2375
2564
  type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
2565
+ on?: boolean | undefined;
2566
+ band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2567
+ frequency?: number | undefined;
2568
+ gain?: number | undefined;
2569
+ q?: number | undefined;
2570
+ slope?: number | undefined;
2376
2571
  keyframes?: Record<string, {
2377
2572
  value: number;
2378
2573
  frame: number;
2379
- easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2574
+ easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2380
2575
  cubicBezier: [number, number, number, number];
2381
2576
  } | undefined;
2382
2577
  }[]> | undefined;
2383
- band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2384
- on?: boolean | undefined;
2385
- frequency?: number | undefined;
2386
- gain?: number | undefined;
2387
- q?: number | undefined;
2388
- slope?: number | undefined;
2389
2578
  }[] | undefined;
2390
2579
  }>, "many">;
2391
2580
  /** A clip's panel (slate's `src/shared/clipPanel.ts`): lengths in fractions of the frame's height. */
@@ -2400,56 +2589,56 @@ declare const clipPanel: z.ZodObject<{
2400
2589
  }, "strict", z.ZodTypeAny, {
2401
2590
  x?: number | undefined;
2402
2591
  y?: number | undefined;
2403
- color?: string | undefined;
2404
2592
  blur?: number | undefined;
2405
2593
  opacity?: number | undefined;
2594
+ color?: string | undefined;
2406
2595
  }, {
2407
2596
  x?: number | undefined;
2408
2597
  y?: number | undefined;
2409
- color?: string | undefined;
2410
2598
  blur?: number | undefined;
2411
2599
  opacity?: number | undefined;
2600
+ color?: string | undefined;
2412
2601
  }>>;
2413
2602
  border: z.ZodOptional<z.ZodObject<{
2414
2603
  width: z.ZodOptional<z.ZodNumber>;
2415
2604
  opacity: z.ZodOptional<z.ZodNumber>;
2416
2605
  color: z.ZodOptional<z.ZodString>;
2417
2606
  }, "strict", z.ZodTypeAny, {
2418
- color?: string | undefined;
2419
- opacity?: number | undefined;
2420
2607
  width?: number | undefined;
2421
- }, {
2422
- color?: string | undefined;
2423
2608
  opacity?: number | undefined;
2609
+ color?: string | undefined;
2610
+ }, {
2424
2611
  width?: number | undefined;
2612
+ opacity?: number | undefined;
2613
+ color?: string | undefined;
2425
2614
  }>>;
2426
2615
  }, "strict", z.ZodTypeAny, {
2427
2616
  radius?: number | undefined;
2428
2617
  shadow?: {
2429
2618
  x?: number | undefined;
2430
2619
  y?: number | undefined;
2431
- color?: string | undefined;
2432
2620
  blur?: number | undefined;
2433
2621
  opacity?: number | undefined;
2622
+ color?: string | undefined;
2434
2623
  } | undefined;
2435
2624
  border?: {
2436
- color?: string | undefined;
2437
- opacity?: number | undefined;
2438
2625
  width?: number | undefined;
2626
+ opacity?: number | undefined;
2627
+ color?: string | undefined;
2439
2628
  } | undefined;
2440
2629
  }, {
2441
2630
  radius?: number | undefined;
2442
2631
  shadow?: {
2443
2632
  x?: number | undefined;
2444
2633
  y?: number | undefined;
2445
- color?: string | undefined;
2446
2634
  blur?: number | undefined;
2447
2635
  opacity?: number | undefined;
2636
+ color?: string | undefined;
2448
2637
  } | undefined;
2449
2638
  border?: {
2450
- color?: string | undefined;
2451
- opacity?: number | undefined;
2452
2639
  width?: number | undefined;
2640
+ opacity?: number | undefined;
2641
+ color?: string | undefined;
2453
2642
  } | undefined;
2454
2643
  }>;
2455
2644
  declare const clipLookInput: z.ZodObject<{
@@ -2652,21 +2841,21 @@ declare const overlayWordsInput: z.ZodArray<z.ZodEffects<z.ZodObject<{
2652
2841
  start: z.ZodNumber;
2653
2842
  end: z.ZodNumber;
2654
2843
  }, "strict", z.ZodTypeAny, {
2844
+ text: string;
2655
2845
  start: number;
2656
2846
  end: number;
2657
- text: string;
2658
2847
  }, {
2848
+ text: string;
2659
2849
  start: number;
2660
2850
  end: number;
2661
- text: string;
2662
2851
  }>, {
2852
+ text: string;
2663
2853
  start: number;
2664
2854
  end: number;
2665
- text: string;
2666
2855
  }, {
2856
+ text: string;
2667
2857
  start: number;
2668
2858
  end: number;
2669
- text: string;
2670
2859
  }>, "many">;
2671
2860
  export declare const addTextClip: Operation<{
2672
2861
  projectId: string;
@@ -3160,34 +3349,34 @@ declare const variationSchema: z.ZodObject<{
3160
3349
  sectionId: z.ZodString;
3161
3350
  alternativeId: z.ZodString;
3162
3351
  }, "strip", z.ZodTypeAny, {
3163
- alternativeId: string;
3164
3352
  sectionId: string;
3165
- }, {
3166
3353
  alternativeId: string;
3354
+ }, {
3167
3355
  sectionId: string;
3356
+ alternativeId: string;
3168
3357
  }>, "many">;
3169
3358
  arrangement: z.ZodOptional<z.ZodArray<z.ZodObject<{
3170
3359
  sectionId: z.ZodString;
3171
3360
  alternativeId: z.ZodString;
3172
3361
  }, "strip", z.ZodTypeAny, {
3173
- alternativeId: string;
3174
3362
  sectionId: string;
3175
- }, {
3176
3363
  alternativeId: string;
3364
+ }, {
3177
3365
  sectionId: string;
3366
+ alternativeId: string;
3178
3367
  }>, "many">>;
3179
3368
  itemOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
3180
3369
  from: z.ZodString;
3181
3370
  to: z.ZodString;
3182
3371
  voice: z.ZodEnum<["keep", "replace"]>;
3183
3372
  }, "strip", z.ZodTypeAny, {
3373
+ voice: "replace" | "keep";
3184
3374
  from: string;
3185
3375
  to: string;
3186
- voice: "keep" | "replace";
3187
3376
  }, {
3377
+ voice: "replace" | "keep";
3188
3378
  from: string;
3189
3379
  to: string;
3190
- voice: "keep" | "replace";
3191
3380
  }>, "many">>;
3192
3381
  assetOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
3193
3382
  from: z.ZodString;
@@ -3202,20 +3391,20 @@ declare const variationSchema: z.ZodObject<{
3202
3391
  idempotencyKey: z.ZodOptional<z.ZodString>;
3203
3392
  }, "strip", z.ZodTypeAny, {
3204
3393
  name: string;
3394
+ storyboardId: string;
3205
3395
  choices: {
3206
- alternativeId: string;
3207
3396
  sectionId: string;
3397
+ alternativeId: string;
3208
3398
  }[];
3209
- storyboardId: string;
3210
3399
  expectedRevision: number;
3211
3400
  arrangement?: {
3212
- alternativeId: string;
3213
3401
  sectionId: string;
3402
+ alternativeId: string;
3214
3403
  }[] | undefined;
3215
3404
  itemOverrides?: {
3405
+ voice: "replace" | "keep";
3216
3406
  from: string;
3217
3407
  to: string;
3218
- voice: "keep" | "replace";
3219
3408
  }[] | undefined;
3220
3409
  assetOverrides?: {
3221
3410
  from: string;
@@ -3224,20 +3413,20 @@ declare const variationSchema: z.ZodObject<{
3224
3413
  idempotencyKey?: string | undefined;
3225
3414
  }, {
3226
3415
  name: string;
3416
+ storyboardId: string;
3227
3417
  choices: {
3228
- alternativeId: string;
3229
3418
  sectionId: string;
3419
+ alternativeId: string;
3230
3420
  }[];
3231
- storyboardId: string;
3232
3421
  expectedRevision: number;
3233
3422
  arrangement?: {
3234
- alternativeId: string;
3235
3423
  sectionId: string;
3424
+ alternativeId: string;
3236
3425
  }[] | undefined;
3237
3426
  itemOverrides?: {
3427
+ voice: "replace" | "keep";
3238
3428
  from: string;
3239
3429
  to: string;
3240
- voice: "keep" | "replace";
3241
3430
  }[] | undefined;
3242
3431
  assetOverrides?: {
3243
3432
  from: string;
@@ -3277,80 +3466,80 @@ declare const sectionInput: z.ZodObject<{
3277
3466
  expectedRevision: z.ZodNumber;
3278
3467
  }, "strip", z.ZodTypeAny, {
3279
3468
  at: number;
3280
- expectedRevision: number;
3281
3469
  sceneId: string;
3470
+ expectedRevision: number;
3282
3471
  }, {
3283
3472
  at: number;
3284
- expectedRevision: number;
3285
3473
  sceneId: string;
3474
+ expectedRevision: number;
3286
3475
  }>>;
3287
3476
  uses: z.ZodOptional<z.ZodArray<z.ZodObject<{
3288
3477
  sectionId: z.ZodString;
3289
3478
  expectedRevision: z.ZodNumber;
3290
3479
  }, "strip", z.ZodTypeAny, {
3291
- expectedRevision: number;
3292
3480
  sectionId: string;
3293
- }, {
3294
3481
  expectedRevision: number;
3482
+ }, {
3295
3483
  sectionId: string;
3484
+ expectedRevision: number;
3296
3485
  }>, "many">>;
3297
3486
  fragments: z.ZodOptional<z.ZodArray<z.ZodObject<{
3298
3487
  sceneId: z.ZodString;
3299
3488
  start: z.ZodNumber;
3300
3489
  end: z.ZodNumber;
3301
3490
  }, "strip", z.ZodTypeAny, {
3302
- start: number;
3303
3491
  sceneId: string;
3492
+ start: number;
3304
3493
  end: number;
3305
3494
  }, {
3306
- start: number;
3307
3495
  sceneId: string;
3496
+ start: number;
3308
3497
  end: number;
3309
3498
  }>, "many">>;
3310
3499
  }, "strip", z.ZodTypeAny, {
3311
- action: "create" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "rename" | "archive" | "tags";
3500
+ action: "tags" | "create" | "rename" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "archive";
3312
3501
  storyboardId: string;
3313
3502
  expectedRevision: number;
3314
- alternativeId?: string | undefined;
3315
- sectionId?: string | undefined;
3316
- tags?: string[] | undefined;
3317
- parentId?: string | undefined;
3318
- label?: string | undefined;
3319
3503
  target?: {
3320
3504
  at: number;
3321
- expectedRevision: number;
3322
3505
  sceneId: string;
3506
+ expectedRevision: number;
3323
3507
  } | undefined;
3508
+ label?: string | undefined;
3509
+ sectionId?: string | undefined;
3510
+ alternativeId?: string | undefined;
3511
+ tags?: string[] | undefined;
3512
+ parentId?: string | undefined;
3324
3513
  uses?: {
3325
- expectedRevision: number;
3326
3514
  sectionId: string;
3515
+ expectedRevision: number;
3327
3516
  }[] | undefined;
3328
3517
  fragments?: {
3329
- start: number;
3330
3518
  sceneId: string;
3519
+ start: number;
3331
3520
  end: number;
3332
3521
  }[] | undefined;
3333
3522
  }, {
3334
- action: "create" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "rename" | "archive" | "tags";
3523
+ action: "tags" | "create" | "rename" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "archive";
3335
3524
  storyboardId: string;
3336
3525
  expectedRevision: number;
3337
- alternativeId?: string | undefined;
3338
- sectionId?: string | undefined;
3339
- tags?: string[] | undefined;
3340
- parentId?: string | undefined;
3341
- label?: string | undefined;
3342
3526
  target?: {
3343
3527
  at: number;
3344
- expectedRevision: number;
3345
3528
  sceneId: string;
3529
+ expectedRevision: number;
3346
3530
  } | undefined;
3531
+ label?: string | undefined;
3532
+ sectionId?: string | undefined;
3533
+ alternativeId?: string | undefined;
3534
+ tags?: string[] | undefined;
3535
+ parentId?: string | undefined;
3347
3536
  uses?: {
3348
- expectedRevision: number;
3349
3537
  sectionId: string;
3538
+ expectedRevision: number;
3350
3539
  }[] | undefined;
3351
3540
  fragments?: {
3352
- start: number;
3353
3541
  sceneId: string;
3542
+ start: number;
3354
3543
  end: number;
3355
3544
  }[] | undefined;
3356
3545
  }>;
@@ -3370,15 +3559,15 @@ declare const suggestionInput: z.ZodObject<{
3370
3559
  replacement: z.ZodString;
3371
3560
  note: z.ZodOptional<z.ZodString>;
3372
3561
  }, "strip", z.ZodTypeAny, {
3373
- start: number;
3374
3562
  sceneId: string;
3563
+ start: number;
3375
3564
  end: number;
3376
3565
  original: string;
3377
3566
  replacement: string;
3378
3567
  note?: string | undefined;
3379
3568
  }, {
3380
- start: number;
3381
3569
  sceneId: string;
3570
+ start: number;
3382
3571
  end: number;
3383
3572
  original: string;
3384
3573
  replacement: string;
@@ -3390,8 +3579,8 @@ declare const suggestionInput: z.ZodObject<{
3390
3579
  storyboardId: string;
3391
3580
  expectedRevision: number;
3392
3581
  suggestions?: {
3393
- start: number;
3394
3582
  sceneId: string;
3583
+ start: number;
3395
3584
  end: number;
3396
3585
  original: string;
3397
3586
  replacement: string;
@@ -3403,8 +3592,8 @@ declare const suggestionInput: z.ZodObject<{
3403
3592
  storyboardId: string;
3404
3593
  expectedRevision: number;
3405
3594
  suggestions?: {
3406
- start: number;
3407
3595
  sceneId: string;
3596
+ start: number;
3408
3597
  end: number;
3409
3598
  original: string;
3410
3599
  replacement: string;
@@ -3426,14 +3615,14 @@ declare const writeScriptDocumentInput: z.ZodObject<{
3426
3615
  text: z.ZodString;
3427
3616
  }, "strip", z.ZodTypeAny, {
3428
3617
  at: number;
3618
+ text: string;
3429
3619
  sceneId: string;
3430
3620
  removed: number;
3431
- text: string;
3432
3621
  }, {
3433
3622
  at: number;
3623
+ text: string;
3434
3624
  sceneId: string;
3435
3625
  removed: number;
3436
- text: string;
3437
3626
  }>, "many">;
3438
3627
  structures: z.ZodOptional<z.ZodArray<z.ZodObject<{
3439
3628
  sceneId: z.ZodString;
@@ -3449,68 +3638,68 @@ declare const writeScriptDocumentInput: z.ZodObject<{
3449
3638
  end: z.ZodNumber;
3450
3639
  type: z.ZodEnum<["strong", "em"]>;
3451
3640
  }, "strip", z.ZodTypeAny, {
3452
- start: number;
3453
3641
  type: "strong" | "em";
3642
+ start: number;
3454
3643
  end: number;
3455
3644
  }, {
3456
- start: number;
3457
3645
  type: "strong" | "em";
3646
+ start: number;
3458
3647
  end: number;
3459
3648
  }>, "many">;
3460
3649
  }, "strip", z.ZodTypeAny, {
3650
+ id: string;
3651
+ kind: "direction" | "paragraph" | "heading";
3461
3652
  start: number;
3462
- kind: "paragraph" | "heading" | "direction";
3463
3653
  end: number;
3464
- id: string;
3465
3654
  marks: {
3466
- start: number;
3467
3655
  type: "strong" | "em";
3656
+ start: number;
3468
3657
  end: number;
3469
3658
  }[];
3659
+ level?: 2 | 3 | undefined;
3470
3660
  label?: string | undefined;
3471
- level?: 3 | 2 | undefined;
3472
3661
  }, {
3662
+ id: string;
3663
+ kind: "direction" | "paragraph" | "heading";
3473
3664
  start: number;
3474
- kind: "paragraph" | "heading" | "direction";
3475
3665
  end: number;
3476
- id: string;
3477
3666
  marks: {
3478
- start: number;
3479
3667
  type: "strong" | "em";
3668
+ start: number;
3480
3669
  end: number;
3481
3670
  }[];
3671
+ level?: 2 | 3 | undefined;
3482
3672
  label?: string | undefined;
3483
- level?: 3 | 2 | undefined;
3484
3673
  }>, "many">;
3485
3674
  }, "strip", z.ZodTypeAny, {
3486
3675
  sceneId: string;
3487
3676
  blocks: {
3677
+ id: string;
3678
+ kind: "direction" | "paragraph" | "heading";
3488
3679
  start: number;
3489
- kind: "paragraph" | "heading" | "direction";
3490
3680
  end: number;
3491
- id: string;
3492
3681
  marks: {
3493
- start: number;
3494
3682
  type: "strong" | "em";
3683
+ start: number;
3495
3684
  end: number;
3496
3685
  }[];
3686
+ level?: 2 | 3 | undefined;
3497
3687
  label?: string | undefined;
3498
- level?: 3 | 2 | undefined;
3499
3688
  }[];
3500
3689
  }, {
3501
3690
  sceneId: string;
3502
3691
  blocks: {
3692
+ id: string;
3693
+ kind: "direction" | "paragraph" | "heading";
3503
3694
  start: number;
3504
- kind: "paragraph" | "heading" | "direction";
3505
3695
  end: number;
3506
- id: string;
3507
3696
  marks: {
3508
- start: number;
3509
3697
  type: "strong" | "em";
3698
+ start: number;
3510
3699
  end: number;
3511
3700
  }[];
3701
+ level?: 2 | 3 | undefined;
3512
3702
  label?: string | undefined;
3513
- level?: 3 | 2 | undefined;
3514
3703
  }[];
3515
3704
  }>, "many">>;
3516
3705
  move: z.ZodOptional<z.ZodObject<{
@@ -3532,13 +3721,13 @@ declare const writeScriptDocumentInput: z.ZodObject<{
3532
3721
  end: z.ZodNumber;
3533
3722
  waitingShotId: z.ZodOptional<z.ZodString>;
3534
3723
  }, "strip", z.ZodTypeAny, {
3535
- start: number;
3536
3724
  sceneId: string;
3725
+ start: number;
3537
3726
  end: number;
3538
3727
  waitingShotId?: string | undefined;
3539
3728
  }, {
3540
- start: number;
3541
3729
  sceneId: string;
3730
+ start: number;
3542
3731
  end: number;
3543
3732
  waitingShotId?: string | undefined;
3544
3733
  }>, "many">>;
@@ -3567,38 +3756,38 @@ declare const writeScriptDocumentInput: z.ZodObject<{
3567
3756
  sceneId: string;
3568
3757
  }>]>>;
3569
3758
  }, "strip", z.ZodTypeAny, {
3570
- storyboardId: string;
3571
- expectedRevision: number;
3572
3759
  edits: {
3573
3760
  at: number;
3761
+ text: string;
3574
3762
  sceneId: string;
3575
3763
  removed: number;
3576
- text: string;
3577
3764
  }[];
3765
+ storyboardId: string;
3766
+ expectedRevision: number;
3767
+ move?: {
3768
+ sceneId: string;
3769
+ blockId: string;
3770
+ delta: 1 | -1;
3771
+ } | undefined;
3578
3772
  structures?: {
3579
3773
  sceneId: string;
3580
3774
  blocks: {
3775
+ id: string;
3776
+ kind: "direction" | "paragraph" | "heading";
3581
3777
  start: number;
3582
- kind: "paragraph" | "heading" | "direction";
3583
3778
  end: number;
3584
- id: string;
3585
3779
  marks: {
3586
- start: number;
3587
3780
  type: "strong" | "em";
3781
+ start: number;
3588
3782
  end: number;
3589
3783
  }[];
3784
+ level?: 2 | 3 | undefined;
3590
3785
  label?: string | undefined;
3591
- level?: 3 | 2 | undefined;
3592
3786
  }[];
3593
3787
  }[] | undefined;
3594
- move?: {
3595
- sceneId: string;
3596
- blockId: string;
3597
- delta: 1 | -1;
3598
- } | undefined;
3599
3788
  makeShots?: {
3600
- start: number;
3601
3789
  sceneId: string;
3790
+ start: number;
3602
3791
  end: number;
3603
3792
  waitingShotId?: string | undefined;
3604
3793
  }[] | undefined;
@@ -3613,38 +3802,38 @@ declare const writeScriptDocumentInput: z.ZodObject<{
3613
3802
  sceneId: string;
3614
3803
  } | undefined;
3615
3804
  }, {
3616
- storyboardId: string;
3617
- expectedRevision: number;
3618
3805
  edits: {
3619
3806
  at: number;
3807
+ text: string;
3620
3808
  sceneId: string;
3621
3809
  removed: number;
3622
- text: string;
3623
3810
  }[];
3811
+ storyboardId: string;
3812
+ expectedRevision: number;
3813
+ move?: {
3814
+ sceneId: string;
3815
+ blockId: string;
3816
+ delta: 1 | -1;
3817
+ } | undefined;
3624
3818
  structures?: {
3625
3819
  sceneId: string;
3626
3820
  blocks: {
3821
+ id: string;
3822
+ kind: "direction" | "paragraph" | "heading";
3627
3823
  start: number;
3628
- kind: "paragraph" | "heading" | "direction";
3629
3824
  end: number;
3630
- id: string;
3631
3825
  marks: {
3632
- start: number;
3633
3826
  type: "strong" | "em";
3827
+ start: number;
3634
3828
  end: number;
3635
3829
  }[];
3830
+ level?: 2 | 3 | undefined;
3636
3831
  label?: string | undefined;
3637
- level?: 3 | 2 | undefined;
3638
3832
  }[];
3639
3833
  }[] | undefined;
3640
- move?: {
3641
- sceneId: string;
3642
- blockId: string;
3643
- delta: 1 | -1;
3644
- } | undefined;
3645
3834
  makeShots?: {
3646
- start: number;
3647
3835
  sceneId: string;
3836
+ start: number;
3648
3837
  end: number;
3649
3838
  waitingShotId?: string | undefined;
3650
3839
  }[] | undefined;
@@ -3738,14 +3927,14 @@ declare const paidDraftFinishInput: z.ZodObject<{
3738
3927
  }, "strip", z.ZodTypeAny, {
3739
3928
  projectId: string;
3740
3929
  assetId: string;
3741
- resolution: "4k" | "1080p";
3742
3930
  confirm: true;
3931
+ resolution: "4k" | "1080p";
3743
3932
  maxCredits: number;
3744
3933
  }, {
3745
3934
  projectId: string;
3746
3935
  assetId: string;
3747
- resolution: "4k" | "1080p";
3748
3936
  confirm: true;
3937
+ resolution: "4k" | "1080p";
3749
3938
  maxCredits: number;
3750
3939
  }>;
3751
3940
  export declare const quoteDraftFinish: Operation<z.infer<typeof draftFinishInput>>;