@slatesvideo/shared 0.7.22 → 0.7.24

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.
@@ -24,13 +24,19 @@ export interface OperationContext {
24
24
  */
25
25
  signal?: AbortSignal;
26
26
  /**
27
- * The guides this session has read through `slates_get_prompting_guide`, by
28
- * guide name. Present, it gates every generation: a model whose guide is not
29
- * in it is refused, with the guide's card, before anything is spent
30
- * (`requireGuideRead`). The MCP server keeps one per connection and the
31
- * desktop one per chat. Absent (the CLI, one call per process), no gate.
27
+ * Guides or cards opened by name. MCP keeps them per connection and the desktop
28
+ * per chat. Hosts also supply guide evidence for the estimate and full-guide paths.
29
+ * CLI calls carry no session ledger.
32
30
  */
33
31
  guidesRead?: Set<string>;
32
+ /** Guide evidence from tool results that reached this session. A rejection requires the full guide. */
33
+ guideEvidence?: {
34
+ cards: Set<string>;
35
+ full: Set<string>;
36
+ rejected: Set<string>;
37
+ };
38
+ onGenerationGuide?: (topic: string) => void;
39
+ onGenerationRejected?: () => void;
34
40
  /**
35
41
  * The host's own spending decision for this one call, where the host has one (the desktop Studio Agent's loop):
36
42
  * the credits the user approved beyond the call's own quote, the quote they approved (its `fingerprint`), and
@@ -62,8 +68,13 @@ export declare class GuideNotReadError extends Error {
62
68
  readonly model: string;
63
69
  readonly guide: string;
64
70
  code: string;
65
- constructor(model: string, guide: string);
71
+ constructor(model: string, guide: string, full?: boolean);
66
72
  }
73
+ /**
74
+ * Routine calls can use a delivered estimate card. Other calls and retries need the full guide.
75
+ * A locked guide's returned notice counts as the most this account can read.
76
+ */
77
+ export declare function recordGenerationRejection(ctx: Pick<OperationContext, 'guideEvidence'>, fallbackOp: string, model: unknown, topics?: ReadonlySet<string>): void;
67
78
  export interface OperationResult {
68
79
  text: string;
69
80
  images?: Array<{
@@ -138,8 +149,8 @@ export interface OperationAnnotations {
138
149
  openWorldHint: boolean;
139
150
  }
140
151
  export type OperationTier = 'core' | 'extended';
141
- export type OperationGroup = 'script' | 'library' | 'timeline' | 'admin' | 'blender';
142
- export declare const CONFIRM_CREDITS = 17;
152
+ export type OperationGroup = 'script' | 'library' | 'timeline' | 'admin' | 'blender' | 'ads';
153
+ export { CONFIRM_CREDITS } from './confirm-threshold.js';
143
154
  /**
144
155
  * The desktop deviation guard's ceiling multiplier: the Studio Agent pauses and
145
156
  * re-asks when projected generation spend exceeds the approved ledger by more
@@ -223,11 +234,11 @@ declare const gridSelectionInput: z.ZodObject<{
223
234
  rowKeys: z.ZodArray<z.ZodString, "many">;
224
235
  aspects: z.ZodArray<z.ZodString, "many">;
225
236
  }, "strict", z.ZodTypeAny, {
226
- rowKeys: string[];
227
237
  aspects: string[];
228
- }, {
229
238
  rowKeys: string[];
239
+ }, {
230
240
  aspects: string[];
241
+ rowKeys: string[];
231
242
  }>;
232
243
  declare const exportEncodingInput: z.ZodObject<{
233
244
  presetId: z.ZodOptional<z.ZodEnum<["tiktok", "reels", "meta-feed", "stories", "shorts", "youtube"]>>;
@@ -238,12 +249,12 @@ declare const exportEncodingInput: z.ZodObject<{
238
249
  presetId?: "tiktok" | "reels" | "meta-feed" | "stories" | "shorts" | "youtube" | undefined;
239
250
  codec?: "h264" | "h265" | "prores" | undefined;
240
251
  videoBitrateMbps?: number | null | undefined;
241
- fps?: 30 | 24 | 60 | null | undefined;
252
+ fps?: 24 | 30 | 60 | null | undefined;
242
253
  }, {
243
254
  presetId?: "tiktok" | "reels" | "meta-feed" | "stories" | "shorts" | "youtube" | undefined;
244
255
  codec?: "h264" | "h265" | "prores" | undefined;
245
256
  videoBitrateMbps?: number | null | undefined;
246
- fps?: 30 | 24 | 60 | null | undefined;
257
+ fps?: 24 | 30 | 60 | null | undefined;
247
258
  }>;
248
259
  declare const deliveryInput: z.ZodObject<{
249
260
  formats: z.ZodArray<z.ZodString, "many">;
@@ -259,12 +270,12 @@ declare const deliveryInput: z.ZodObject<{
259
270
  presetId?: "tiktok" | "reels" | "meta-feed" | "stories" | "shorts" | "youtube" | undefined;
260
271
  codec?: "h264" | "h265" | "prores" | undefined;
261
272
  videoBitrateMbps?: number | null | undefined;
262
- fps?: 30 | 24 | 60 | null | undefined;
273
+ fps?: 24 | 30 | 60 | null | undefined;
263
274
  }, {
264
275
  presetId?: "tiktok" | "reels" | "meta-feed" | "stories" | "shorts" | "youtube" | undefined;
265
276
  codec?: "h264" | "h265" | "prores" | undefined;
266
277
  videoBitrateMbps?: number | null | undefined;
267
- fps?: 30 | 24 | 60 | null | undefined;
278
+ fps?: 24 | 30 | 60 | null | undefined;
268
279
  }>>>;
269
280
  }, "strict", z.ZodTypeAny, {
270
281
  formats: string[];
@@ -275,7 +286,7 @@ declare const deliveryInput: z.ZodObject<{
275
286
  presetId?: "tiktok" | "reels" | "meta-feed" | "stories" | "shorts" | "youtube" | undefined;
276
287
  codec?: "h264" | "h265" | "prores" | undefined;
277
288
  videoBitrateMbps?: number | null | undefined;
278
- fps?: 30 | 24 | 60 | null | undefined;
289
+ fps?: 24 | 30 | 60 | null | undefined;
279
290
  } | null | undefined;
280
291
  }, {
281
292
  formats: string[];
@@ -286,7 +297,7 @@ declare const deliveryInput: z.ZodObject<{
286
297
  presetId?: "tiktok" | "reels" | "meta-feed" | "stories" | "shorts" | "youtube" | undefined;
287
298
  codec?: "h264" | "h265" | "prores" | undefined;
288
299
  videoBitrateMbps?: number | null | undefined;
289
- fps?: 30 | 24 | 60 | null | undefined;
300
+ fps?: 24 | 30 | 60 | null | undefined;
290
301
  } | null | undefined;
291
302
  }>;
292
303
  declare const taxonomyInput: z.ZodObject<{
@@ -330,17 +341,17 @@ declare const gridBindingInput: z.ZodObject<{
330
341
  shotIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
331
342
  }, "strict", z.ZodTypeAny, {
332
343
  key: string;
344
+ alternativeId?: string | undefined;
345
+ sectionId?: string | undefined;
333
346
  label?: string | undefined;
334
347
  choicePosition?: number | undefined;
335
- sectionId?: string | undefined;
336
- alternativeId?: string | undefined;
337
348
  shotIds?: string[] | undefined;
338
349
  }, {
339
350
  key: string;
351
+ alternativeId?: string | undefined;
352
+ sectionId?: string | undefined;
340
353
  label?: string | undefined;
341
354
  choicePosition?: number | undefined;
342
- sectionId?: string | undefined;
343
- alternativeId?: string | undefined;
344
355
  shotIds?: string[] | undefined;
345
356
  }>>;
346
357
  body: z.ZodOptional<z.ZodObject<{
@@ -352,17 +363,17 @@ declare const gridBindingInput: z.ZodObject<{
352
363
  shotIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
353
364
  }, "strict", z.ZodTypeAny, {
354
365
  key: string;
366
+ alternativeId?: string | undefined;
367
+ sectionId?: string | undefined;
355
368
  label?: string | undefined;
356
369
  choicePosition?: number | undefined;
357
- sectionId?: string | undefined;
358
- alternativeId?: string | undefined;
359
370
  shotIds?: string[] | undefined;
360
371
  }, {
361
372
  key: string;
373
+ alternativeId?: string | undefined;
374
+ sectionId?: string | undefined;
362
375
  label?: string | undefined;
363
376
  choicePosition?: number | undefined;
364
- sectionId?: string | undefined;
365
- alternativeId?: string | undefined;
366
377
  shotIds?: string[] | undefined;
367
378
  }>>;
368
379
  endCard: z.ZodOptional<z.ZodObject<{
@@ -374,67 +385,67 @@ declare const gridBindingInput: z.ZodObject<{
374
385
  shotIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
375
386
  }, "strict", z.ZodTypeAny, {
376
387
  key: string;
388
+ alternativeId?: string | undefined;
389
+ sectionId?: string | undefined;
377
390
  label?: string | undefined;
378
391
  choicePosition?: number | undefined;
379
- sectionId?: string | undefined;
380
- alternativeId?: string | undefined;
381
392
  shotIds?: string[] | undefined;
382
393
  }, {
383
394
  key: string;
395
+ alternativeId?: string | undefined;
396
+ sectionId?: string | undefined;
384
397
  label?: string | undefined;
385
398
  choicePosition?: number | undefined;
386
- sectionId?: string | undefined;
387
- alternativeId?: string | undefined;
388
399
  shotIds?: string[] | undefined;
389
400
  }>>;
390
401
  }, "strict", z.ZodTypeAny, {
391
402
  hook?: {
392
403
  key: string;
404
+ alternativeId?: string | undefined;
405
+ sectionId?: string | undefined;
393
406
  label?: string | undefined;
394
407
  choicePosition?: number | undefined;
395
- sectionId?: string | undefined;
396
- alternativeId?: string | undefined;
397
408
  shotIds?: string[] | undefined;
398
409
  } | undefined;
399
410
  body?: {
400
411
  key: string;
412
+ alternativeId?: string | undefined;
413
+ sectionId?: string | undefined;
401
414
  label?: string | undefined;
402
415
  choicePosition?: number | undefined;
403
- sectionId?: string | undefined;
404
- alternativeId?: string | undefined;
405
416
  shotIds?: string[] | undefined;
406
417
  } | undefined;
407
418
  endCard?: {
408
419
  key: string;
420
+ alternativeId?: string | undefined;
421
+ sectionId?: string | undefined;
409
422
  label?: string | undefined;
410
423
  choicePosition?: number | undefined;
411
- sectionId?: string | undefined;
412
- alternativeId?: string | undefined;
413
424
  shotIds?: string[] | undefined;
414
425
  } | undefined;
415
426
  }, {
416
427
  hook?: {
417
428
  key: string;
429
+ alternativeId?: string | undefined;
430
+ sectionId?: string | undefined;
418
431
  label?: string | undefined;
419
432
  choicePosition?: number | undefined;
420
- sectionId?: string | undefined;
421
- alternativeId?: string | undefined;
422
433
  shotIds?: string[] | undefined;
423
434
  } | undefined;
424
435
  body?: {
425
436
  key: string;
437
+ alternativeId?: string | undefined;
438
+ sectionId?: string | undefined;
426
439
  label?: string | undefined;
427
440
  choicePosition?: number | undefined;
428
- sectionId?: string | undefined;
429
- alternativeId?: string | undefined;
430
441
  shotIds?: string[] | undefined;
431
442
  } | undefined;
432
443
  endCard?: {
433
444
  key: string;
445
+ alternativeId?: string | undefined;
446
+ sectionId?: string | undefined;
434
447
  label?: string | undefined;
435
448
  choicePosition?: number | undefined;
436
- sectionId?: string | undefined;
437
- alternativeId?: string | undefined;
438
449
  shotIds?: string[] | undefined;
439
450
  } | undefined;
440
451
  }>>;
@@ -445,26 +456,26 @@ declare const gridBindingInput: z.ZodObject<{
445
456
  slots?: {
446
457
  hook?: {
447
458
  key: string;
459
+ alternativeId?: string | undefined;
460
+ sectionId?: string | undefined;
448
461
  label?: string | undefined;
449
462
  choicePosition?: number | undefined;
450
- sectionId?: string | undefined;
451
- alternativeId?: string | undefined;
452
463
  shotIds?: string[] | undefined;
453
464
  } | undefined;
454
465
  body?: {
455
466
  key: string;
467
+ alternativeId?: string | undefined;
468
+ sectionId?: string | undefined;
456
469
  label?: string | undefined;
457
470
  choicePosition?: number | undefined;
458
- sectionId?: string | undefined;
459
- alternativeId?: string | undefined;
460
471
  shotIds?: string[] | undefined;
461
472
  } | undefined;
462
473
  endCard?: {
463
474
  key: string;
475
+ alternativeId?: string | undefined;
476
+ sectionId?: string | undefined;
464
477
  label?: string | undefined;
465
478
  choicePosition?: number | undefined;
466
- sectionId?: string | undefined;
467
- alternativeId?: string | undefined;
468
479
  shotIds?: string[] | undefined;
469
480
  } | undefined;
470
481
  } | undefined;
@@ -475,26 +486,26 @@ declare const gridBindingInput: z.ZodObject<{
475
486
  slots?: {
476
487
  hook?: {
477
488
  key: string;
489
+ alternativeId?: string | undefined;
490
+ sectionId?: string | undefined;
478
491
  label?: string | undefined;
479
492
  choicePosition?: number | undefined;
480
- sectionId?: string | undefined;
481
- alternativeId?: string | undefined;
482
493
  shotIds?: string[] | undefined;
483
494
  } | undefined;
484
495
  body?: {
485
496
  key: string;
497
+ alternativeId?: string | undefined;
498
+ sectionId?: string | undefined;
486
499
  label?: string | undefined;
487
500
  choicePosition?: number | undefined;
488
- sectionId?: string | undefined;
489
- alternativeId?: string | undefined;
490
501
  shotIds?: string[] | undefined;
491
502
  } | undefined;
492
503
  endCard?: {
493
504
  key: string;
505
+ alternativeId?: string | undefined;
506
+ sectionId?: string | undefined;
494
507
  label?: string | undefined;
495
508
  choicePosition?: number | undefined;
496
- sectionId?: string | undefined;
497
- alternativeId?: string | undefined;
498
509
  shotIds?: string[] | undefined;
499
510
  } | undefined;
500
511
  } | undefined;
@@ -882,16 +893,16 @@ declare const whipEditInput: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
882
893
  at: number;
883
894
  kind: "move";
884
895
  start?: number | undefined;
885
- peak?: number | undefined;
886
896
  end?: number | undefined;
887
897
  direction?: "left" | "right" | "up-right" | "up" | "up-left" | "down-left" | "down" | "down-right" | undefined;
898
+ peak?: number | undefined;
888
899
  }, {
889
900
  at: number;
890
901
  kind: "move";
891
902
  start?: number | undefined;
892
- peak?: number | undefined;
893
903
  end?: number | undefined;
894
904
  direction?: "left" | "right" | "up-right" | "up" | "up-left" | "down-left" | "down" | "down-right" | undefined;
905
+ peak?: number | undefined;
895
906
  }>, z.ZodObject<{
896
907
  kind: z.ZodLiteral<"add">;
897
908
  start: z.ZodNumber;
@@ -899,17 +910,17 @@ declare const whipEditInput: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
899
910
  end: z.ZodNumber;
900
911
  direction: z.ZodEnum<["right", "up-right", "up", "up-left", "left", "down-left", "down", "down-right"]>;
901
912
  }, "strict", z.ZodTypeAny, {
902
- kind: "add";
903
913
  start: number;
904
- peak: number;
914
+ kind: "add";
905
915
  end: number;
906
916
  direction: "left" | "right" | "up-right" | "up" | "up-left" | "down-left" | "down" | "down-right";
917
+ peak: number;
907
918
  }, {
908
- kind: "add";
909
919
  start: number;
910
- peak: number;
920
+ kind: "add";
911
921
  end: number;
912
922
  direction: "left" | "right" | "up-right" | "up" | "up-left" | "down-left" | "down" | "down-right";
923
+ peak: number;
913
924
  }>, z.ZodObject<{
914
925
  kind: z.ZodLiteral<"delete">;
915
926
  at: z.ZodNumber;
@@ -944,7 +955,7 @@ export declare const getCreditBalance: Operation<Record<string, never>>;
944
955
  export declare const listAvailableModels: Operation<{
945
956
  filter?: string;
946
957
  }>;
947
- export declare const VIDEO_MODELS: readonly ["kling-v3.0-std", "kling-v3.0-pro", "kling-v3.0-omni", "seedance-2", "seedance-2.5", "omni-flash-1-2", "wan-3.0", "kling-v4.0", "minimax-h3", "minimax-h3-max", "minimax-h3-max-turbo"];
958
+ export declare const VIDEO_MODELS: readonly ["kling-v3.0-std", "kling-v3.0-pro", "kling-v3.0-omni", "seedance-2", "seedance-2.5", "omni-flash-1-2", "wan-3.0", "magi-2", "kling-v4.0", "minimax-h3", "minimax-h3-max", "minimax-h3-max-turbo"];
948
959
  type VideoModel = (typeof VIDEO_MODELS)[number];
949
960
  /** The exact `model` ids `slates_edit_video` accepts. Edit rows are deliberately
950
961
  * NOT in VIDEO_MODELS — they take a source clip, not frames. */
@@ -952,6 +963,7 @@ export declare const EDIT_VIDEO_MODELS: readonly ["kling-v3.0-omni-edit", "kling
952
963
  type EditVideoModel = (typeof EDIT_VIDEO_MODELS)[number];
953
964
  export declare const estimateGenerationCost: Operation<{
954
965
  model: string;
966
+ prompt?: string;
955
967
  quantity?: number;
956
968
  duration?: number;
957
969
  /** inworld-tts-2 only — the character count of the text, which is what it
@@ -1333,7 +1345,7 @@ export declare function audioCostKey(input: {
1333
1345
  characters?: number;
1334
1346
  }): string;
1335
1347
  export declare const generateVideo: Operation<{
1336
- prompt: string;
1348
+ prompt?: string;
1337
1349
  model: string;
1338
1350
  projectId?: string;
1339
1351
  aspectRatio?: AspectRatio;
@@ -1583,6 +1595,9 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1583
1595
  action: z.ZodOptional<z.ZodOptional<z.ZodEnum<["start", "status", "cancel"]>>>;
1584
1596
  }, "strict", z.ZodTypeAny, {
1585
1597
  projectId: string;
1598
+ directory?: string | undefined;
1599
+ manifestId?: string | undefined;
1600
+ action?: "start" | "status" | "cancel" | undefined;
1586
1601
  items?: ({
1587
1602
  timelineId: string;
1588
1603
  format: "mp4" | "xml";
@@ -1601,9 +1616,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1601
1616
  lp?: string | undefined;
1602
1617
  } | undefined;
1603
1618
  })[] | undefined;
1604
- action?: "status" | "cancel" | "start" | undefined;
1605
- directory?: string | undefined;
1606
- manifestId?: string | undefined;
1607
1619
  version?: 2 | undefined;
1608
1620
  batchId?: string | undefined;
1609
1621
  exportRoot?: string | undefined;
@@ -1626,6 +1638,9 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1626
1638
  }> | undefined;
1627
1639
  }, {
1628
1640
  projectId: string;
1641
+ directory?: string | undefined;
1642
+ manifestId?: string | undefined;
1643
+ action?: "start" | "status" | "cancel" | undefined;
1629
1644
  items?: ({
1630
1645
  timelineId: string;
1631
1646
  format: "mp4" | "xml";
@@ -1644,9 +1659,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1644
1659
  lp?: string | undefined;
1645
1660
  } | undefined;
1646
1661
  })[] | undefined;
1647
- action?: "status" | "cancel" | "start" | undefined;
1648
- directory?: string | undefined;
1649
- manifestId?: string | undefined;
1650
1662
  version?: 2 | undefined;
1651
1663
  batchId?: string | undefined;
1652
1664
  exportRoot?: string | undefined;
@@ -1669,6 +1681,9 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1669
1681
  }> | undefined;
1670
1682
  }>, {
1671
1683
  projectId: string;
1684
+ directory?: string | undefined;
1685
+ manifestId?: string | undefined;
1686
+ action?: "start" | "status" | "cancel" | undefined;
1672
1687
  items?: ({
1673
1688
  timelineId: string;
1674
1689
  format: "mp4" | "xml";
@@ -1687,9 +1702,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1687
1702
  lp?: string | undefined;
1688
1703
  } | undefined;
1689
1704
  })[] | undefined;
1690
- action?: "status" | "cancel" | "start" | undefined;
1691
- directory?: string | undefined;
1692
- manifestId?: string | undefined;
1693
1705
  version?: 2 | undefined;
1694
1706
  batchId?: string | undefined;
1695
1707
  exportRoot?: string | undefined;
@@ -1712,6 +1724,9 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1712
1724
  }> | undefined;
1713
1725
  }, {
1714
1726
  projectId: string;
1727
+ directory?: string | undefined;
1728
+ manifestId?: string | undefined;
1729
+ action?: "start" | "status" | "cancel" | undefined;
1715
1730
  items?: ({
1716
1731
  timelineId: string;
1717
1732
  format: "mp4" | "xml";
@@ -1730,9 +1745,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1730
1745
  lp?: string | undefined;
1731
1746
  } | undefined;
1732
1747
  })[] | undefined;
1733
- action?: "status" | "cancel" | "start" | undefined;
1734
- directory?: string | undefined;
1735
- manifestId?: string | undefined;
1736
1748
  version?: 2 | undefined;
1737
1749
  batchId?: string | undefined;
1738
1750
  exportRoot?: string | undefined;
@@ -1811,26 +1823,26 @@ declare const variantSlotsInput: z.ZodObject<{
1811
1823
  sequenceId: z.ZodOptional<z.ZodString>;
1812
1824
  }, "strict", z.ZodTypeAny, {
1813
1825
  projectId: string;
1814
- action: "add" | "remove" | "update" | "add-alternative" | "update-alternative" | "remove-alternative";
1815
- at?: number | undefined;
1826
+ action: "add" | "update" | "remove" | "add-alternative" | "update-alternative" | "remove-alternative";
1816
1827
  name?: string | undefined;
1817
- alternativeId?: string | undefined;
1818
1828
  timelineId?: string | undefined;
1829
+ at?: number | undefined;
1819
1830
  slotId?: string | undefined;
1820
1831
  slotName?: string | undefined;
1832
+ alternativeId?: string | undefined;
1821
1833
  orderIndex?: number | undefined;
1822
1834
  bedFrame?: number | null | undefined;
1823
1835
  clipIds?: string[] | undefined;
1824
1836
  sequenceId?: string | undefined;
1825
1837
  }, {
1826
1838
  projectId: string;
1827
- action: "add" | "remove" | "update" | "add-alternative" | "update-alternative" | "remove-alternative";
1828
- at?: number | undefined;
1839
+ action: "add" | "update" | "remove" | "add-alternative" | "update-alternative" | "remove-alternative";
1829
1840
  name?: string | undefined;
1830
- alternativeId?: string | undefined;
1831
1841
  timelineId?: string | undefined;
1842
+ at?: number | undefined;
1832
1843
  slotId?: string | undefined;
1833
1844
  slotName?: string | undefined;
1845
+ alternativeId?: string | undefined;
1834
1846
  orderIndex?: number | undefined;
1835
1847
  bedFrame?: number | null | undefined;
1836
1848
  clipIds?: string[] | undefined;
@@ -1909,7 +1921,7 @@ declare const variantsInput: z.ZodObject<{
1909
1921
  }>]>>>;
1910
1922
  }, "strict", z.ZodTypeAny, {
1911
1923
  projectId: string;
1912
- action: "add" | "remove" | "update" | "rebuild";
1924
+ action: "add" | "update" | "remove" | "rebuild";
1913
1925
  name?: string | undefined;
1914
1926
  timelineId?: string | undefined;
1915
1927
  variantId?: string | undefined;
@@ -1935,7 +1947,7 @@ declare const variantsInput: z.ZodObject<{
1935
1947
  }[] | undefined;
1936
1948
  }, {
1937
1949
  projectId: string;
1938
- action: "add" | "remove" | "update" | "rebuild";
1950
+ action: "add" | "update" | "remove" | "rebuild";
1939
1951
  name?: string | undefined;
1940
1952
  timelineId?: string | undefined;
1941
1953
  variantId?: string | undefined;
@@ -2014,8 +2026,8 @@ declare const reframeClipInput: z.ZodEffects<z.ZodObject<{
2014
2026
  }, "strict", z.ZodTypeAny, {
2015
2027
  projectId: string;
2016
2028
  timelineId: string;
2017
- clipId: string;
2018
2029
  aspect: string;
2030
+ clipId: string;
2019
2031
  framing?: {
2020
2032
  mode?: "fill" | "fit" | undefined;
2021
2033
  focusX?: number | undefined;
@@ -2028,8 +2040,8 @@ declare const reframeClipInput: z.ZodEffects<z.ZodObject<{
2028
2040
  }, {
2029
2041
  projectId: string;
2030
2042
  timelineId: string;
2031
- clipId: string;
2032
2043
  aspect: string;
2044
+ clipId: string;
2033
2045
  framing?: {
2034
2046
  mode?: "fill" | "fit" | undefined;
2035
2047
  focusX?: number | undefined;
@@ -2042,8 +2054,8 @@ declare const reframeClipInput: z.ZodEffects<z.ZodObject<{
2042
2054
  }>, {
2043
2055
  projectId: string;
2044
2056
  timelineId: string;
2045
- clipId: string;
2046
2057
  aspect: string;
2058
+ clipId: string;
2047
2059
  framing?: {
2048
2060
  mode?: "fill" | "fit" | undefined;
2049
2061
  focusX?: number | undefined;
@@ -2056,8 +2068,8 @@ declare const reframeClipInput: z.ZodEffects<z.ZodObject<{
2056
2068
  }, {
2057
2069
  projectId: string;
2058
2070
  timelineId: string;
2059
- clipId: string;
2060
2071
  aspect: string;
2072
+ clipId: string;
2061
2073
  framing?: {
2062
2074
  mode?: "fill" | "fit" | undefined;
2063
2075
  focusX?: number | undefined;
@@ -2105,14 +2117,14 @@ declare const dialogueCleanupOptions: z.ZodObject<{
2105
2117
  minPauseSec: z.ZodOptional<z.ZodNumber>;
2106
2118
  keepAirSec: z.ZodOptional<z.ZodNumber>;
2107
2119
  }, "strict", z.ZodTypeAny, {
2108
- pauses?: boolean | undefined;
2109
2120
  fillers?: boolean | undefined;
2121
+ pauses?: boolean | undefined;
2110
2122
  repeats?: boolean | undefined;
2111
2123
  minPauseSec?: number | undefined;
2112
2124
  keepAirSec?: number | undefined;
2113
2125
  }, {
2114
- pauses?: boolean | undefined;
2115
2126
  fillers?: boolean | undefined;
2127
+ pauses?: boolean | undefined;
2116
2128
  repeats?: boolean | undefined;
2117
2129
  minPauseSec?: number | undefined;
2118
2130
  keepAirSec?: number | undefined;
@@ -2175,7 +2187,7 @@ export declare const resolveReviewNote: Operation<{
2175
2187
  }>;
2176
2188
  }>;
2177
2189
  type ClientAdReportInput = {
2178
- platform: 'google' | 'tiktok';
2190
+ platform: 'tiktok';
2179
2191
  accountId?: string;
2180
2192
  managerId?: string;
2181
2193
  since?: string;
@@ -2495,13 +2507,13 @@ declare const keyframeKeys: z.ZodArray<z.ZodObject<{
2495
2507
  }, "strict", z.ZodTypeAny, {
2496
2508
  value: number;
2497
2509
  frame: number;
2498
- easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2510
+ easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2499
2511
  cubicBezier: [number, number, number, number];
2500
2512
  } | undefined;
2501
2513
  }, {
2502
2514
  value: number;
2503
2515
  frame: number;
2504
- easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2516
+ easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2505
2517
  cubicBezier: [number, number, number, number];
2506
2518
  } | undefined;
2507
2519
  }>, "many">;
@@ -2518,13 +2530,13 @@ declare const keyframeList: z.ZodArray<z.ZodObject<{
2518
2530
  }, "strict", z.ZodTypeAny, {
2519
2531
  value: number;
2520
2532
  frame: number;
2521
- easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2533
+ easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2522
2534
  cubicBezier: [number, number, number, number];
2523
2535
  } | undefined;
2524
2536
  }, {
2525
2537
  value: number;
2526
2538
  frame: number;
2527
- easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2539
+ easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2528
2540
  cubicBezier: [number, number, number, number];
2529
2541
  } | undefined;
2530
2542
  }>, "many">;
@@ -2547,13 +2559,13 @@ declare const audioEffectList: z.ZodArray<z.ZodObject<{
2547
2559
  }, "strict", z.ZodTypeAny, {
2548
2560
  value: number;
2549
2561
  frame: number;
2550
- easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2562
+ easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2551
2563
  cubicBezier: [number, number, number, number];
2552
2564
  } | undefined;
2553
2565
  }, {
2554
2566
  value: number;
2555
2567
  frame: number;
2556
- easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2568
+ easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2557
2569
  cubicBezier: [number, number, number, number];
2558
2570
  } | undefined;
2559
2571
  }>, "many">>>;
@@ -2578,102 +2590,102 @@ declare const audioEffectList: z.ZodArray<z.ZodObject<{
2578
2590
  }, "strict", z.ZodTypeAny, {
2579
2591
  value: number;
2580
2592
  frame: number;
2581
- easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2593
+ easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2582
2594
  cubicBezier: [number, number, number, number];
2583
2595
  } | undefined;
2584
2596
  }, {
2585
2597
  value: number;
2586
2598
  frame: number;
2587
- easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2599
+ easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2588
2600
  cubicBezier: [number, number, number, number];
2589
2601
  } | undefined;
2590
2602
  }>, "many">>>;
2591
2603
  }, "strict", z.ZodTypeAny, {
2592
2604
  type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
2593
- on?: boolean | undefined;
2594
- band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2595
- frequency?: number | undefined;
2596
- gain?: number | undefined;
2597
- q?: number | undefined;
2598
- slope?: number | undefined;
2599
2605
  keyframes?: Record<string, {
2600
2606
  value: number;
2601
2607
  frame: number;
2602
- easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2608
+ easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2603
2609
  cubicBezier: [number, number, number, number];
2604
2610
  } | undefined;
2605
2611
  }[]> | undefined;
2606
- }, {
2607
- type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
2608
- on?: boolean | undefined;
2609
2612
  band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2613
+ on?: boolean | undefined;
2610
2614
  frequency?: number | undefined;
2611
2615
  gain?: number | undefined;
2612
2616
  q?: number | undefined;
2613
2617
  slope?: number | undefined;
2618
+ }, {
2619
+ type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
2614
2620
  keyframes?: Record<string, {
2615
2621
  value: number;
2616
2622
  frame: number;
2617
- easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2623
+ easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2618
2624
  cubicBezier: [number, number, number, number];
2619
2625
  } | undefined;
2620
2626
  }[]> | undefined;
2627
+ band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2628
+ on?: boolean | undefined;
2629
+ frequency?: number | undefined;
2630
+ gain?: number | undefined;
2631
+ q?: number | undefined;
2632
+ slope?: number | undefined;
2621
2633
  }>, "many">>;
2622
2634
  }, "strict", z.ZodTypeAny, {
2623
2635
  type: "volume" | "eq" | "denoise" | "voice_enhance";
2624
- id?: string | undefined;
2625
2636
  params?: Record<string, number> | undefined;
2637
+ id?: string | undefined;
2638
+ bypass?: boolean | undefined;
2626
2639
  keyframes?: Record<string, {
2627
2640
  value: number;
2628
2641
  frame: number;
2629
- easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2642
+ easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2630
2643
  cubicBezier: [number, number, number, number];
2631
2644
  } | undefined;
2632
2645
  }[]> | undefined;
2633
- bypass?: boolean | undefined;
2634
2646
  bands?: {
2635
2647
  type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
2636
- on?: boolean | undefined;
2637
- band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2638
- frequency?: number | undefined;
2639
- gain?: number | undefined;
2640
- q?: number | undefined;
2641
- slope?: number | undefined;
2642
2648
  keyframes?: Record<string, {
2643
2649
  value: number;
2644
2650
  frame: number;
2645
- easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2651
+ easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2646
2652
  cubicBezier: [number, number, number, number];
2647
2653
  } | undefined;
2648
2654
  }[]> | undefined;
2655
+ band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2656
+ on?: boolean | undefined;
2657
+ frequency?: number | undefined;
2658
+ gain?: number | undefined;
2659
+ q?: number | undefined;
2660
+ slope?: number | undefined;
2649
2661
  }[] | undefined;
2650
2662
  }, {
2651
2663
  type: "volume" | "eq" | "denoise" | "voice_enhance";
2652
- id?: string | undefined;
2653
2664
  params?: Record<string, number> | undefined;
2665
+ id?: string | undefined;
2666
+ bypass?: boolean | undefined;
2654
2667
  keyframes?: Record<string, {
2655
2668
  value: number;
2656
2669
  frame: number;
2657
- easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2670
+ easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2658
2671
  cubicBezier: [number, number, number, number];
2659
2672
  } | undefined;
2660
2673
  }[]> | undefined;
2661
- bypass?: boolean | undefined;
2662
2674
  bands?: {
2663
2675
  type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
2664
- on?: boolean | undefined;
2665
- band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2666
- frequency?: number | undefined;
2667
- gain?: number | undefined;
2668
- q?: number | undefined;
2669
- slope?: number | undefined;
2670
2676
  keyframes?: Record<string, {
2671
2677
  value: number;
2672
2678
  frame: number;
2673
- easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2679
+ easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2674
2680
  cubicBezier: [number, number, number, number];
2675
2681
  } | undefined;
2676
2682
  }[]> | undefined;
2683
+ band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2684
+ on?: boolean | undefined;
2685
+ frequency?: number | undefined;
2686
+ gain?: number | undefined;
2687
+ q?: number | undefined;
2688
+ slope?: number | undefined;
2677
2689
  }[] | undefined;
2678
2690
  }>, "many">;
2679
2691
  /** A clip's panel (slate's `src/shared/clipPanel.ts`): lengths in fractions of the frame's height. */
@@ -2688,56 +2700,56 @@ declare const clipPanel: z.ZodObject<{
2688
2700
  }, "strict", z.ZodTypeAny, {
2689
2701
  x?: number | undefined;
2690
2702
  y?: number | undefined;
2703
+ color?: string | undefined;
2691
2704
  blur?: number | undefined;
2692
2705
  opacity?: number | undefined;
2693
- color?: string | undefined;
2694
2706
  }, {
2695
2707
  x?: number | undefined;
2696
2708
  y?: number | undefined;
2709
+ color?: string | undefined;
2697
2710
  blur?: number | undefined;
2698
2711
  opacity?: number | undefined;
2699
- color?: string | undefined;
2700
2712
  }>>;
2701
2713
  border: z.ZodOptional<z.ZodObject<{
2702
2714
  width: z.ZodOptional<z.ZodNumber>;
2703
2715
  opacity: z.ZodOptional<z.ZodNumber>;
2704
2716
  color: z.ZodOptional<z.ZodString>;
2705
2717
  }, "strict", z.ZodTypeAny, {
2706
- width?: number | undefined;
2707
- opacity?: number | undefined;
2708
2718
  color?: string | undefined;
2709
- }, {
2710
- width?: number | undefined;
2711
2719
  opacity?: number | undefined;
2720
+ width?: number | undefined;
2721
+ }, {
2712
2722
  color?: string | undefined;
2723
+ opacity?: number | undefined;
2724
+ width?: number | undefined;
2713
2725
  }>>;
2714
2726
  }, "strict", z.ZodTypeAny, {
2715
2727
  radius?: number | undefined;
2716
2728
  shadow?: {
2717
2729
  x?: number | undefined;
2718
2730
  y?: number | undefined;
2731
+ color?: string | undefined;
2719
2732
  blur?: number | undefined;
2720
2733
  opacity?: number | undefined;
2721
- color?: string | undefined;
2722
2734
  } | undefined;
2723
2735
  border?: {
2724
- width?: number | undefined;
2725
- opacity?: number | undefined;
2726
2736
  color?: string | undefined;
2737
+ opacity?: number | undefined;
2738
+ width?: number | undefined;
2727
2739
  } | undefined;
2728
2740
  }, {
2729
2741
  radius?: number | undefined;
2730
2742
  shadow?: {
2731
2743
  x?: number | undefined;
2732
2744
  y?: number | undefined;
2745
+ color?: string | undefined;
2733
2746
  blur?: number | undefined;
2734
2747
  opacity?: number | undefined;
2735
- color?: string | undefined;
2736
2748
  } | undefined;
2737
2749
  border?: {
2738
- width?: number | undefined;
2739
- opacity?: number | undefined;
2740
2750
  color?: string | undefined;
2751
+ opacity?: number | undefined;
2752
+ width?: number | undefined;
2741
2753
  } | undefined;
2742
2754
  }>;
2743
2755
  declare const clipLookInput: z.ZodObject<{
@@ -2940,21 +2952,21 @@ declare const overlayWordsInput: z.ZodArray<z.ZodEffects<z.ZodObject<{
2940
2952
  start: z.ZodNumber;
2941
2953
  end: z.ZodNumber;
2942
2954
  }, "strict", z.ZodTypeAny, {
2943
- text: string;
2944
2955
  start: number;
2945
2956
  end: number;
2946
- }, {
2947
2957
  text: string;
2958
+ }, {
2948
2959
  start: number;
2949
2960
  end: number;
2950
- }>, {
2951
2961
  text: string;
2962
+ }>, {
2952
2963
  start: number;
2953
2964
  end: number;
2954
- }, {
2955
2965
  text: string;
2966
+ }, {
2956
2967
  start: number;
2957
2968
  end: number;
2969
+ text: string;
2958
2970
  }>, "many">;
2959
2971
  export declare const addTextClip: Operation<{
2960
2972
  projectId: string;
@@ -3452,34 +3464,34 @@ declare const variationSchema: z.ZodObject<{
3452
3464
  sectionId: z.ZodString;
3453
3465
  alternativeId: z.ZodString;
3454
3466
  }, "strip", z.ZodTypeAny, {
3455
- sectionId: string;
3456
3467
  alternativeId: string;
3457
- }, {
3458
3468
  sectionId: string;
3469
+ }, {
3459
3470
  alternativeId: string;
3471
+ sectionId: string;
3460
3472
  }>, "many">;
3461
3473
  arrangement: z.ZodOptional<z.ZodArray<z.ZodObject<{
3462
3474
  sectionId: z.ZodString;
3463
3475
  alternativeId: z.ZodString;
3464
3476
  }, "strip", z.ZodTypeAny, {
3465
- sectionId: string;
3466
3477
  alternativeId: string;
3467
- }, {
3468
3478
  sectionId: string;
3479
+ }, {
3469
3480
  alternativeId: string;
3481
+ sectionId: string;
3470
3482
  }>, "many">>;
3471
3483
  itemOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
3472
3484
  from: z.ZodString;
3473
3485
  to: z.ZodString;
3474
3486
  voice: z.ZodEnum<["keep", "replace"]>;
3475
3487
  }, "strip", z.ZodTypeAny, {
3476
- voice: "replace" | "keep";
3477
3488
  from: string;
3478
3489
  to: string;
3490
+ voice: "keep" | "replace";
3479
3491
  }, {
3480
- voice: "replace" | "keep";
3481
3492
  from: string;
3482
3493
  to: string;
3494
+ voice: "keep" | "replace";
3483
3495
  }>, "many">>;
3484
3496
  assetOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
3485
3497
  from: z.ZodString;
@@ -3494,20 +3506,20 @@ declare const variationSchema: z.ZodObject<{
3494
3506
  idempotencyKey: z.ZodOptional<z.ZodString>;
3495
3507
  }, "strip", z.ZodTypeAny, {
3496
3508
  name: string;
3497
- storyboardId: string;
3498
3509
  choices: {
3499
- sectionId: string;
3500
3510
  alternativeId: string;
3511
+ sectionId: string;
3501
3512
  }[];
3513
+ storyboardId: string;
3502
3514
  expectedRevision: number;
3503
3515
  arrangement?: {
3504
- sectionId: string;
3505
3516
  alternativeId: string;
3517
+ sectionId: string;
3506
3518
  }[] | undefined;
3507
3519
  itemOverrides?: {
3508
- voice: "replace" | "keep";
3509
3520
  from: string;
3510
3521
  to: string;
3522
+ voice: "keep" | "replace";
3511
3523
  }[] | undefined;
3512
3524
  assetOverrides?: {
3513
3525
  from: string;
@@ -3516,20 +3528,20 @@ declare const variationSchema: z.ZodObject<{
3516
3528
  idempotencyKey?: string | undefined;
3517
3529
  }, {
3518
3530
  name: string;
3519
- storyboardId: string;
3520
3531
  choices: {
3521
- sectionId: string;
3522
3532
  alternativeId: string;
3533
+ sectionId: string;
3523
3534
  }[];
3535
+ storyboardId: string;
3524
3536
  expectedRevision: number;
3525
3537
  arrangement?: {
3526
- sectionId: string;
3527
3538
  alternativeId: string;
3539
+ sectionId: string;
3528
3540
  }[] | undefined;
3529
3541
  itemOverrides?: {
3530
- voice: "replace" | "keep";
3531
3542
  from: string;
3532
3543
  to: string;
3544
+ voice: "keep" | "replace";
3533
3545
  }[] | undefined;
3534
3546
  assetOverrides?: {
3535
3547
  from: string;
@@ -3569,80 +3581,80 @@ declare const sectionInput: z.ZodObject<{
3569
3581
  expectedRevision: z.ZodNumber;
3570
3582
  }, "strip", z.ZodTypeAny, {
3571
3583
  at: number;
3572
- sceneId: string;
3573
3584
  expectedRevision: number;
3585
+ sceneId: string;
3574
3586
  }, {
3575
3587
  at: number;
3576
- sceneId: string;
3577
3588
  expectedRevision: number;
3589
+ sceneId: string;
3578
3590
  }>>;
3579
3591
  uses: z.ZodOptional<z.ZodArray<z.ZodObject<{
3580
3592
  sectionId: z.ZodString;
3581
3593
  expectedRevision: z.ZodNumber;
3582
3594
  }, "strip", z.ZodTypeAny, {
3583
- sectionId: string;
3584
3595
  expectedRevision: number;
3585
- }, {
3586
3596
  sectionId: string;
3597
+ }, {
3587
3598
  expectedRevision: number;
3599
+ sectionId: string;
3588
3600
  }>, "many">>;
3589
3601
  fragments: z.ZodOptional<z.ZodArray<z.ZodObject<{
3590
3602
  sceneId: z.ZodString;
3591
3603
  start: z.ZodNumber;
3592
3604
  end: z.ZodNumber;
3593
3605
  }, "strip", z.ZodTypeAny, {
3594
- sceneId: string;
3595
3606
  start: number;
3607
+ sceneId: string;
3596
3608
  end: number;
3597
3609
  }, {
3598
- sceneId: string;
3599
3610
  start: number;
3611
+ sceneId: string;
3600
3612
  end: number;
3601
3613
  }>, "many">>;
3602
3614
  }, "strip", z.ZodTypeAny, {
3603
- action: "tags" | "create" | "rename" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "archive";
3615
+ action: "create" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "rename" | "archive" | "tags";
3604
3616
  storyboardId: string;
3605
3617
  expectedRevision: number;
3618
+ alternativeId?: string | undefined;
3619
+ sectionId?: string | undefined;
3620
+ tags?: string[] | undefined;
3621
+ parentId?: string | undefined;
3622
+ label?: string | undefined;
3606
3623
  target?: {
3607
3624
  at: number;
3608
- sceneId: string;
3609
3625
  expectedRevision: number;
3626
+ sceneId: string;
3610
3627
  } | undefined;
3611
- label?: string | undefined;
3612
- sectionId?: string | undefined;
3613
- alternativeId?: string | undefined;
3614
- tags?: string[] | undefined;
3615
- parentId?: string | undefined;
3616
3628
  uses?: {
3617
- sectionId: string;
3618
3629
  expectedRevision: number;
3630
+ sectionId: string;
3619
3631
  }[] | undefined;
3620
3632
  fragments?: {
3621
- sceneId: string;
3622
3633
  start: number;
3634
+ sceneId: string;
3623
3635
  end: number;
3624
3636
  }[] | undefined;
3625
3637
  }, {
3626
- action: "tags" | "create" | "rename" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "archive";
3638
+ action: "create" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "rename" | "archive" | "tags";
3627
3639
  storyboardId: string;
3628
3640
  expectedRevision: number;
3641
+ alternativeId?: string | undefined;
3642
+ sectionId?: string | undefined;
3643
+ tags?: string[] | undefined;
3644
+ parentId?: string | undefined;
3645
+ label?: string | undefined;
3629
3646
  target?: {
3630
3647
  at: number;
3631
- sceneId: string;
3632
3648
  expectedRevision: number;
3649
+ sceneId: string;
3633
3650
  } | undefined;
3634
- label?: string | undefined;
3635
- sectionId?: string | undefined;
3636
- alternativeId?: string | undefined;
3637
- tags?: string[] | undefined;
3638
- parentId?: string | undefined;
3639
3651
  uses?: {
3640
- sectionId: string;
3641
3652
  expectedRevision: number;
3653
+ sectionId: string;
3642
3654
  }[] | undefined;
3643
3655
  fragments?: {
3644
- sceneId: string;
3645
3656
  start: number;
3657
+ sceneId: string;
3646
3658
  end: number;
3647
3659
  }[] | undefined;
3648
3660
  }>;
@@ -3662,15 +3674,15 @@ declare const suggestionInput: z.ZodObject<{
3662
3674
  replacement: z.ZodString;
3663
3675
  note: z.ZodOptional<z.ZodString>;
3664
3676
  }, "strip", z.ZodTypeAny, {
3665
- sceneId: string;
3666
3677
  start: number;
3678
+ sceneId: string;
3667
3679
  end: number;
3668
3680
  original: string;
3669
3681
  replacement: string;
3670
3682
  note?: string | undefined;
3671
3683
  }, {
3672
- sceneId: string;
3673
3684
  start: number;
3685
+ sceneId: string;
3674
3686
  end: number;
3675
3687
  original: string;
3676
3688
  replacement: string;
@@ -3682,8 +3694,8 @@ declare const suggestionInput: z.ZodObject<{
3682
3694
  storyboardId: string;
3683
3695
  expectedRevision: number;
3684
3696
  suggestions?: {
3685
- sceneId: string;
3686
3697
  start: number;
3698
+ sceneId: string;
3687
3699
  end: number;
3688
3700
  original: string;
3689
3701
  replacement: string;
@@ -3695,8 +3707,8 @@ declare const suggestionInput: z.ZodObject<{
3695
3707
  storyboardId: string;
3696
3708
  expectedRevision: number;
3697
3709
  suggestions?: {
3698
- sceneId: string;
3699
3710
  start: number;
3711
+ sceneId: string;
3700
3712
  end: number;
3701
3713
  original: string;
3702
3714
  replacement: string;
@@ -3718,14 +3730,14 @@ declare const writeScriptDocumentInput: z.ZodObject<{
3718
3730
  text: z.ZodString;
3719
3731
  }, "strip", z.ZodTypeAny, {
3720
3732
  at: number;
3721
- text: string;
3722
3733
  sceneId: string;
3723
3734
  removed: number;
3735
+ text: string;
3724
3736
  }, {
3725
3737
  at: number;
3726
- text: string;
3727
3738
  sceneId: string;
3728
3739
  removed: number;
3740
+ text: string;
3729
3741
  }>, "many">;
3730
3742
  structures: z.ZodOptional<z.ZodArray<z.ZodObject<{
3731
3743
  sceneId: z.ZodString;
@@ -3741,68 +3753,68 @@ declare const writeScriptDocumentInput: z.ZodObject<{
3741
3753
  end: z.ZodNumber;
3742
3754
  type: z.ZodEnum<["strong", "em"]>;
3743
3755
  }, "strip", z.ZodTypeAny, {
3744
- type: "strong" | "em";
3745
3756
  start: number;
3757
+ type: "strong" | "em";
3746
3758
  end: number;
3747
3759
  }, {
3748
- type: "strong" | "em";
3749
3760
  start: number;
3761
+ type: "strong" | "em";
3750
3762
  end: number;
3751
3763
  }>, "many">;
3752
3764
  }, "strip", z.ZodTypeAny, {
3753
- id: string;
3754
- kind: "direction" | "paragraph" | "heading";
3755
3765
  start: number;
3766
+ kind: "paragraph" | "heading" | "direction";
3756
3767
  end: number;
3768
+ id: string;
3757
3769
  marks: {
3758
- type: "strong" | "em";
3759
3770
  start: number;
3771
+ type: "strong" | "em";
3760
3772
  end: number;
3761
3773
  }[];
3762
- level?: 2 | 3 | undefined;
3763
3774
  label?: string | undefined;
3775
+ level?: 3 | 2 | undefined;
3764
3776
  }, {
3765
- id: string;
3766
- kind: "direction" | "paragraph" | "heading";
3767
3777
  start: number;
3778
+ kind: "paragraph" | "heading" | "direction";
3768
3779
  end: number;
3780
+ id: string;
3769
3781
  marks: {
3770
- type: "strong" | "em";
3771
3782
  start: number;
3783
+ type: "strong" | "em";
3772
3784
  end: number;
3773
3785
  }[];
3774
- level?: 2 | 3 | undefined;
3775
3786
  label?: string | undefined;
3787
+ level?: 3 | 2 | undefined;
3776
3788
  }>, "many">;
3777
3789
  }, "strip", z.ZodTypeAny, {
3778
3790
  sceneId: string;
3779
3791
  blocks: {
3780
- id: string;
3781
- kind: "direction" | "paragraph" | "heading";
3782
3792
  start: number;
3793
+ kind: "paragraph" | "heading" | "direction";
3783
3794
  end: number;
3795
+ id: string;
3784
3796
  marks: {
3785
- type: "strong" | "em";
3786
3797
  start: number;
3798
+ type: "strong" | "em";
3787
3799
  end: number;
3788
3800
  }[];
3789
- level?: 2 | 3 | undefined;
3790
3801
  label?: string | undefined;
3802
+ level?: 3 | 2 | undefined;
3791
3803
  }[];
3792
3804
  }, {
3793
3805
  sceneId: string;
3794
3806
  blocks: {
3795
- id: string;
3796
- kind: "direction" | "paragraph" | "heading";
3797
3807
  start: number;
3808
+ kind: "paragraph" | "heading" | "direction";
3798
3809
  end: number;
3810
+ id: string;
3799
3811
  marks: {
3800
- type: "strong" | "em";
3801
3812
  start: number;
3813
+ type: "strong" | "em";
3802
3814
  end: number;
3803
3815
  }[];
3804
- level?: 2 | 3 | undefined;
3805
3816
  label?: string | undefined;
3817
+ level?: 3 | 2 | undefined;
3806
3818
  }[];
3807
3819
  }>, "many">>;
3808
3820
  move: z.ZodOptional<z.ZodObject<{
@@ -3824,13 +3836,13 @@ declare const writeScriptDocumentInput: z.ZodObject<{
3824
3836
  end: z.ZodNumber;
3825
3837
  waitingShotId: z.ZodOptional<z.ZodString>;
3826
3838
  }, "strip", z.ZodTypeAny, {
3827
- sceneId: string;
3828
3839
  start: number;
3840
+ sceneId: string;
3829
3841
  end: number;
3830
3842
  waitingShotId?: string | undefined;
3831
3843
  }, {
3832
- sceneId: string;
3833
3844
  start: number;
3845
+ sceneId: string;
3834
3846
  end: number;
3835
3847
  waitingShotId?: string | undefined;
3836
3848
  }>, "many">>;
@@ -3859,38 +3871,38 @@ declare const writeScriptDocumentInput: z.ZodObject<{
3859
3871
  sceneId: string;
3860
3872
  }>]>>;
3861
3873
  }, "strip", z.ZodTypeAny, {
3874
+ storyboardId: string;
3875
+ expectedRevision: number;
3862
3876
  edits: {
3863
3877
  at: number;
3864
- text: string;
3865
3878
  sceneId: string;
3866
3879
  removed: number;
3880
+ text: string;
3867
3881
  }[];
3868
- storyboardId: string;
3869
- expectedRevision: number;
3870
- move?: {
3871
- sceneId: string;
3872
- blockId: string;
3873
- delta: 1 | -1;
3874
- } | undefined;
3875
3882
  structures?: {
3876
3883
  sceneId: string;
3877
3884
  blocks: {
3878
- id: string;
3879
- kind: "direction" | "paragraph" | "heading";
3880
3885
  start: number;
3886
+ kind: "paragraph" | "heading" | "direction";
3881
3887
  end: number;
3888
+ id: string;
3882
3889
  marks: {
3883
- type: "strong" | "em";
3884
3890
  start: number;
3891
+ type: "strong" | "em";
3885
3892
  end: number;
3886
3893
  }[];
3887
- level?: 2 | 3 | undefined;
3888
3894
  label?: string | undefined;
3895
+ level?: 3 | 2 | undefined;
3889
3896
  }[];
3890
3897
  }[] | undefined;
3891
- makeShots?: {
3898
+ move?: {
3892
3899
  sceneId: string;
3900
+ blockId: string;
3901
+ delta: 1 | -1;
3902
+ } | undefined;
3903
+ makeShots?: {
3893
3904
  start: number;
3905
+ sceneId: string;
3894
3906
  end: number;
3895
3907
  waitingShotId?: string | undefined;
3896
3908
  }[] | undefined;
@@ -3905,38 +3917,38 @@ declare const writeScriptDocumentInput: z.ZodObject<{
3905
3917
  sceneId: string;
3906
3918
  } | undefined;
3907
3919
  }, {
3920
+ storyboardId: string;
3921
+ expectedRevision: number;
3908
3922
  edits: {
3909
3923
  at: number;
3910
- text: string;
3911
3924
  sceneId: string;
3912
3925
  removed: number;
3926
+ text: string;
3913
3927
  }[];
3914
- storyboardId: string;
3915
- expectedRevision: number;
3916
- move?: {
3917
- sceneId: string;
3918
- blockId: string;
3919
- delta: 1 | -1;
3920
- } | undefined;
3921
3928
  structures?: {
3922
3929
  sceneId: string;
3923
3930
  blocks: {
3924
- id: string;
3925
- kind: "direction" | "paragraph" | "heading";
3926
3931
  start: number;
3932
+ kind: "paragraph" | "heading" | "direction";
3927
3933
  end: number;
3934
+ id: string;
3928
3935
  marks: {
3929
- type: "strong" | "em";
3930
3936
  start: number;
3937
+ type: "strong" | "em";
3931
3938
  end: number;
3932
3939
  }[];
3933
- level?: 2 | 3 | undefined;
3934
3940
  label?: string | undefined;
3941
+ level?: 3 | 2 | undefined;
3935
3942
  }[];
3936
3943
  }[] | undefined;
3937
- makeShots?: {
3944
+ move?: {
3938
3945
  sceneId: string;
3946
+ blockId: string;
3947
+ delta: 1 | -1;
3948
+ } | undefined;
3949
+ makeShots?: {
3939
3950
  start: number;
3951
+ sceneId: string;
3940
3952
  end: number;
3941
3953
  waitingShotId?: string | undefined;
3942
3954
  }[] | undefined;
@@ -4031,14 +4043,14 @@ declare const paidDraftFinishInput: z.ZodObject<{
4031
4043
  }, "strip", z.ZodTypeAny, {
4032
4044
  projectId: string;
4033
4045
  assetId: string;
4034
- confirm: true;
4035
4046
  resolution: "4k" | "1080p";
4047
+ confirm: true;
4036
4048
  maxCredits: number;
4037
4049
  }, {
4038
4050
  projectId: string;
4039
4051
  assetId: string;
4040
- confirm: true;
4041
4052
  resolution: "4k" | "1080p";
4053
+ confirm: true;
4042
4054
  maxCredits: number;
4043
4055
  }>;
4044
4056
  export declare const quoteDraftFinish: Operation<z.infer<typeof draftFinishInput>>;