@slatesvideo/shared 0.7.8 → 0.7.10

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.
@@ -614,6 +614,15 @@ type AppSettingsPatch = {
614
614
  studioAgentClaudeEffort?: string;
615
615
  };
616
616
  export declare const setAppSettings: Operation<AppSettingsPatch>;
617
+ export declare const getSpendLimits: Operation<{
618
+ projectId?: string;
619
+ }>;
620
+ export declare const setSpendLimits: Operation<{
621
+ projectId?: string;
622
+ projectLimitCredits?: number | null;
623
+ sessionBudgetCredits?: number | null;
624
+ confirm?: boolean;
625
+ }>;
617
626
  export declare const getAsset: Operation<{
618
627
  projectId: string;
619
628
  assetId: string;
@@ -638,6 +647,118 @@ export declare const editAssetTranscript: Operation<{
638
647
  text: string;
639
648
  recaption?: boolean;
640
649
  }>;
650
+ export declare const cutByTranscript: Operation<{
651
+ projectId: string;
652
+ clipId: string;
653
+ words?: Array<{
654
+ from: number;
655
+ to: number;
656
+ }>;
657
+ pauses?: number[];
658
+ ranges?: Array<{
659
+ startSec: number;
660
+ endSec: number;
661
+ }>;
662
+ linked?: boolean;
663
+ trackIds?: string[];
664
+ }>;
665
+ type BeatTargetInput = {
666
+ projectId: string;
667
+ assetId?: string;
668
+ clipId?: string;
669
+ };
670
+ export declare const getBeatGrid: Operation<BeatTargetInput & {
671
+ picture?: boolean;
672
+ fromSec?: number;
673
+ toSec?: number;
674
+ }>;
675
+ export declare const findBeats: Operation<BeatTargetInput>;
676
+ declare const beatEditInput: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
677
+ kind: z.ZodLiteral<"shift">;
678
+ sec: z.ZodNumber;
679
+ }, "strict", z.ZodTypeAny, {
680
+ kind: "shift";
681
+ sec: number;
682
+ }, {
683
+ kind: "shift";
684
+ sec: number;
685
+ }>, z.ZodObject<{
686
+ kind: z.ZodLiteral<"downbeat">;
687
+ at: z.ZodNumber;
688
+ beatsPerBar: z.ZodOptional<z.ZodNumber>;
689
+ }, "strict", z.ZodTypeAny, {
690
+ at: number;
691
+ kind: "downbeat";
692
+ beatsPerBar?: number | undefined;
693
+ }, {
694
+ at: number;
695
+ kind: "downbeat";
696
+ beatsPerBar?: number | undefined;
697
+ }>, z.ZodObject<{
698
+ kind: z.ZodLiteral<"tempo">;
699
+ fromSec: z.ZodNumber;
700
+ toSec: z.ZodNumber;
701
+ bpm: z.ZodNumber;
702
+ }, "strict", z.ZodTypeAny, {
703
+ kind: "tempo";
704
+ fromSec: number;
705
+ toSec: number;
706
+ bpm: number;
707
+ }, {
708
+ kind: "tempo";
709
+ fromSec: number;
710
+ toSec: number;
711
+ bpm: number;
712
+ }>, z.ZodObject<{
713
+ kind: z.ZodLiteral<"add">;
714
+ at: z.ZodNumber;
715
+ downbeat: z.ZodOptional<z.ZodBoolean>;
716
+ }, "strict", z.ZodTypeAny, {
717
+ at: number;
718
+ kind: "add";
719
+ downbeat?: boolean | undefined;
720
+ }, {
721
+ at: number;
722
+ kind: "add";
723
+ downbeat?: boolean | undefined;
724
+ }>, z.ZodObject<{
725
+ kind: z.ZodLiteral<"move">;
726
+ from: z.ZodNumber;
727
+ to: z.ZodNumber;
728
+ }, "strict", z.ZodTypeAny, {
729
+ kind: "move";
730
+ from: number;
731
+ to: number;
732
+ }, {
733
+ kind: "move";
734
+ from: number;
735
+ to: number;
736
+ }>, z.ZodObject<{
737
+ kind: z.ZodLiteral<"delete">;
738
+ at: z.ZodNumber;
739
+ }, "strict", z.ZodTypeAny, {
740
+ at: number;
741
+ kind: "delete";
742
+ }, {
743
+ at: number;
744
+ kind: "delete";
745
+ }>]>;
746
+ export declare const editBeatGrid: Operation<BeatTargetInput & {
747
+ edits?: Array<z.infer<typeof beatEditInput>>;
748
+ undo?: boolean;
749
+ clearEdits?: boolean;
750
+ }>;
751
+ export declare const cutToBeats: Operation<{
752
+ projectId: string;
753
+ musicClipId: string;
754
+ trackId?: string;
755
+ mode?: 'snap' | 'split';
756
+ on?: 'beat' | 'downbeat';
757
+ every?: number;
758
+ fromFrame?: number;
759
+ toFrame?: number;
760
+ reachFrames?: number;
761
+ }>;
641
762
  export declare const extractVideoFrame: Operation<{
642
763
  projectId: string;
643
764
  assetId: string;
@@ -1221,9 +1342,8 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1221
1342
  action: z.ZodOptional<z.ZodOptional<z.ZodEnum<["start", "status", "cancel"]>>>;
1222
1343
  }, "strict", z.ZodTypeAny, {
1223
1344
  projectId: string;
1224
- directory?: string | undefined;
1225
- manifestId?: string | undefined;
1226
- action?: "status" | "start" | "cancel" | undefined;
1345
+ version?: 2 | undefined;
1346
+ action?: "start" | "status" | "cancel" | undefined;
1227
1347
  items?: ({
1228
1348
  timelineId: string;
1229
1349
  format: "mp4" | "xml";
@@ -1242,7 +1362,8 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1242
1362
  lp?: string | undefined;
1243
1363
  } | undefined;
1244
1364
  })[] | undefined;
1245
- version?: 2 | undefined;
1365
+ directory?: string | undefined;
1366
+ manifestId?: string | undefined;
1246
1367
  batchId?: string | undefined;
1247
1368
  exportRoot?: string | undefined;
1248
1369
  variants?: {
@@ -1264,9 +1385,8 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1264
1385
  }> | undefined;
1265
1386
  }, {
1266
1387
  projectId: string;
1267
- directory?: string | undefined;
1268
- manifestId?: string | undefined;
1269
- action?: "status" | "start" | "cancel" | undefined;
1388
+ version?: 2 | undefined;
1389
+ action?: "start" | "status" | "cancel" | undefined;
1270
1390
  items?: ({
1271
1391
  timelineId: string;
1272
1392
  format: "mp4" | "xml";
@@ -1285,7 +1405,8 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1285
1405
  lp?: string | undefined;
1286
1406
  } | undefined;
1287
1407
  })[] | undefined;
1288
- version?: 2 | undefined;
1408
+ directory?: string | undefined;
1409
+ manifestId?: string | undefined;
1289
1410
  batchId?: string | undefined;
1290
1411
  exportRoot?: string | undefined;
1291
1412
  variants?: {
@@ -1307,9 +1428,8 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1307
1428
  }> | undefined;
1308
1429
  }>, {
1309
1430
  projectId: string;
1310
- directory?: string | undefined;
1311
- manifestId?: string | undefined;
1312
- action?: "status" | "start" | "cancel" | undefined;
1431
+ version?: 2 | undefined;
1432
+ action?: "start" | "status" | "cancel" | undefined;
1313
1433
  items?: ({
1314
1434
  timelineId: string;
1315
1435
  format: "mp4" | "xml";
@@ -1328,7 +1448,8 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1328
1448
  lp?: string | undefined;
1329
1449
  } | undefined;
1330
1450
  })[] | undefined;
1331
- version?: 2 | undefined;
1451
+ directory?: string | undefined;
1452
+ manifestId?: string | undefined;
1332
1453
  batchId?: string | undefined;
1333
1454
  exportRoot?: string | undefined;
1334
1455
  variants?: {
@@ -1350,9 +1471,8 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1350
1471
  }> | undefined;
1351
1472
  }, {
1352
1473
  projectId: string;
1353
- directory?: string | undefined;
1354
- manifestId?: string | undefined;
1355
- action?: "status" | "start" | "cancel" | undefined;
1474
+ version?: 2 | undefined;
1475
+ action?: "start" | "status" | "cancel" | undefined;
1356
1476
  items?: ({
1357
1477
  timelineId: string;
1358
1478
  format: "mp4" | "xml";
@@ -1371,7 +1491,8 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1371
1491
  lp?: string | undefined;
1372
1492
  } | undefined;
1373
1493
  })[] | undefined;
1374
- version?: 2 | undefined;
1494
+ directory?: string | undefined;
1495
+ manifestId?: string | undefined;
1375
1496
  batchId?: string | undefined;
1376
1497
  exportRoot?: string | undefined;
1377
1498
  variants?: {
@@ -1448,8 +1569,8 @@ declare const variantSlotsInput: z.ZodObject<{
1448
1569
  clipIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1449
1570
  sequenceId: z.ZodOptional<z.ZodString>;
1450
1571
  }, "strict", z.ZodTypeAny, {
1451
- projectId: string;
1452
1572
  action: "add" | "remove" | "update" | "add-alternative" | "update-alternative" | "remove-alternative";
1573
+ projectId: string;
1453
1574
  at?: number | undefined;
1454
1575
  name?: string | undefined;
1455
1576
  alternativeId?: string | undefined;
@@ -1461,8 +1582,8 @@ declare const variantSlotsInput: z.ZodObject<{
1461
1582
  clipIds?: string[] | undefined;
1462
1583
  sequenceId?: string | undefined;
1463
1584
  }, {
1464
- projectId: string;
1465
1585
  action: "add" | "remove" | "update" | "add-alternative" | "update-alternative" | "remove-alternative";
1586
+ projectId: string;
1466
1587
  at?: number | undefined;
1467
1588
  name?: string | undefined;
1468
1589
  alternativeId?: string | undefined;
@@ -1546,8 +1667,8 @@ declare const variantsInput: z.ZodObject<{
1546
1667
  frames: number;
1547
1668
  }>]>>>;
1548
1669
  }, "strict", z.ZodTypeAny, {
1549
- projectId: string;
1550
1670
  action: "add" | "remove" | "update" | "rebuild";
1671
+ projectId: string;
1551
1672
  name?: string | undefined;
1552
1673
  timelineId?: string | undefined;
1553
1674
  variantId?: string | undefined;
@@ -1572,8 +1693,8 @@ declare const variantsInput: z.ZodObject<{
1572
1693
  }> | undefined;
1573
1694
  }[] | undefined;
1574
1695
  }, {
1575
- projectId: string;
1576
1696
  action: "add" | "remove" | "update" | "rebuild";
1697
+ projectId: string;
1577
1698
  name?: string | undefined;
1578
1699
  timelineId?: string | undefined;
1579
1700
  variantId?: string | undefined;
@@ -1626,44 +1747,47 @@ declare const reframeClipInput: z.ZodObject<{
1626
1747
  aspect: z.ZodString;
1627
1748
  } & {
1628
1749
  clipId: z.ZodString;
1629
- framing: z.ZodNullable<z.ZodObject<{
1750
+ framing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1630
1751
  mode: z.ZodOptional<z.ZodEnum<["fill", "fit"]>>;
1631
1752
  focusX: z.ZodOptional<z.ZodNumber>;
1632
1753
  focusY: z.ZodOptional<z.ZodNumber>;
1633
1754
  zoom: z.ZodOptional<z.ZodNumber>;
1634
1755
  }, "strict", z.ZodTypeAny, {
1635
1756
  mode?: "fill" | "fit" | undefined;
1757
+ zoom?: number | undefined;
1636
1758
  focusX?: number | undefined;
1637
1759
  focusY?: number | undefined;
1638
- zoom?: number | undefined;
1639
1760
  }, {
1640
1761
  mode?: "fill" | "fit" | undefined;
1762
+ zoom?: number | undefined;
1641
1763
  focusX?: number | undefined;
1642
1764
  focusY?: number | undefined;
1643
- zoom?: number | undefined;
1644
- }>>;
1765
+ }>>>;
1766
+ follow: z.ZodOptional<z.ZodEnum<["face", "off"]>>;
1645
1767
  }, "strict", z.ZodTypeAny, {
1646
1768
  projectId: string;
1647
1769
  timelineId: string;
1648
- aspect: string;
1649
1770
  clipId: string;
1650
- framing: {
1771
+ aspect: string;
1772
+ framing?: {
1651
1773
  mode?: "fill" | "fit" | undefined;
1774
+ zoom?: number | undefined;
1652
1775
  focusX?: number | undefined;
1653
1776
  focusY?: number | undefined;
1654
- zoom?: number | undefined;
1655
- } | null;
1777
+ } | null | undefined;
1778
+ follow?: "off" | "face" | undefined;
1656
1779
  }, {
1657
1780
  projectId: string;
1658
1781
  timelineId: string;
1659
- aspect: string;
1660
1782
  clipId: string;
1661
- framing: {
1783
+ aspect: string;
1784
+ framing?: {
1662
1785
  mode?: "fill" | "fit" | undefined;
1786
+ zoom?: number | undefined;
1663
1787
  focusX?: number | undefined;
1664
1788
  focusY?: number | undefined;
1665
- zoom?: number | undefined;
1666
- } | null;
1789
+ } | null | undefined;
1790
+ follow?: "off" | "face" | undefined;
1667
1791
  }>;
1668
1792
  export declare const reframeClip: Operation<z.infer<typeof reframeClipInput>>;
1669
1793
  export declare const listTimelines: Operation<{
@@ -2253,6 +2377,7 @@ export declare const importProduct: Operation<{
2253
2377
  filePaths?: string[];
2254
2378
  name?: string;
2255
2379
  categoryId?: string;
2380
+ itemId?: string;
2256
2381
  brand?: boolean;
2257
2382
  maxPictures?: number;
2258
2383
  }>;
@@ -2571,24 +2696,24 @@ declare const sectionInput: z.ZodObject<{
2571
2696
  start: z.ZodNumber;
2572
2697
  end: z.ZodNumber;
2573
2698
  }, "strip", z.ZodTypeAny, {
2574
- sceneId: string;
2575
2699
  start: number;
2576
2700
  end: number;
2577
- }, {
2578
2701
  sceneId: string;
2702
+ }, {
2579
2703
  start: number;
2580
2704
  end: number;
2705
+ sceneId: string;
2581
2706
  }>, "many">>;
2582
2707
  }, "strip", z.ZodTypeAny, {
2708
+ action: "archive" | "create" | "tags" | "rename" | "alternative" | "choose" | "save" | "reuse" | "updateUses";
2583
2709
  storyboardId: string;
2584
- action: "tags" | "create" | "rename" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "archive";
2585
2710
  expectedRevision: number;
2711
+ label?: string | undefined;
2586
2712
  target?: {
2587
2713
  at: number;
2588
2714
  sceneId: string;
2589
2715
  expectedRevision: number;
2590
2716
  } | undefined;
2591
- label?: string | undefined;
2592
2717
  sectionId?: string | undefined;
2593
2718
  alternativeId?: string | undefined;
2594
2719
  tags?: string[] | undefined;
@@ -2598,20 +2723,20 @@ declare const sectionInput: z.ZodObject<{
2598
2723
  expectedRevision: number;
2599
2724
  }[] | undefined;
2600
2725
  fragments?: {
2601
- sceneId: string;
2602
2726
  start: number;
2603
2727
  end: number;
2728
+ sceneId: string;
2604
2729
  }[] | undefined;
2605
2730
  }, {
2731
+ action: "archive" | "create" | "tags" | "rename" | "alternative" | "choose" | "save" | "reuse" | "updateUses";
2606
2732
  storyboardId: string;
2607
- action: "tags" | "create" | "rename" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "archive";
2608
2733
  expectedRevision: number;
2734
+ label?: string | undefined;
2609
2735
  target?: {
2610
2736
  at: number;
2611
2737
  sceneId: string;
2612
2738
  expectedRevision: number;
2613
2739
  } | undefined;
2614
- label?: string | undefined;
2615
2740
  sectionId?: string | undefined;
2616
2741
  alternativeId?: string | undefined;
2617
2742
  tags?: string[] | undefined;
@@ -2621,9 +2746,9 @@ declare const sectionInput: z.ZodObject<{
2621
2746
  expectedRevision: number;
2622
2747
  }[] | undefined;
2623
2748
  fragments?: {
2624
- sceneId: string;
2625
2749
  start: number;
2626
2750
  end: number;
2751
+ sceneId: string;
2627
2752
  }[] | undefined;
2628
2753
  }>;
2629
2754
  export declare const changeScriptSection: Operation<z.infer<typeof sectionInput>>;
@@ -2642,42 +2767,42 @@ declare const suggestionInput: z.ZodObject<{
2642
2767
  replacement: z.ZodString;
2643
2768
  note: z.ZodOptional<z.ZodString>;
2644
2769
  }, "strip", z.ZodTypeAny, {
2645
- sceneId: string;
2646
2770
  start: number;
2647
2771
  end: number;
2772
+ sceneId: string;
2648
2773
  original: string;
2649
2774
  replacement: string;
2650
2775
  note?: string | undefined;
2651
2776
  }, {
2652
- sceneId: string;
2653
2777
  start: number;
2654
2778
  end: number;
2779
+ sceneId: string;
2655
2780
  original: string;
2656
2781
  replacement: string;
2657
2782
  note?: string | undefined;
2658
2783
  }>, "many">>;
2659
2784
  suggestionId: z.ZodOptional<z.ZodString>;
2660
2785
  }, "strip", z.ZodTypeAny, {
2661
- storyboardId: string;
2662
2786
  action: "create" | "accept" | "dismiss";
2787
+ storyboardId: string;
2663
2788
  expectedRevision: number;
2664
2789
  suggestions?: {
2665
- sceneId: string;
2666
2790
  start: number;
2667
2791
  end: number;
2792
+ sceneId: string;
2668
2793
  original: string;
2669
2794
  replacement: string;
2670
2795
  note?: string | undefined;
2671
2796
  }[] | undefined;
2672
2797
  suggestionId?: string | undefined;
2673
2798
  }, {
2674
- storyboardId: string;
2675
2799
  action: "create" | "accept" | "dismiss";
2800
+ storyboardId: string;
2676
2801
  expectedRevision: number;
2677
2802
  suggestions?: {
2678
- sceneId: string;
2679
2803
  start: number;
2680
2804
  end: number;
2805
+ sceneId: string;
2681
2806
  original: string;
2682
2807
  replacement: string;
2683
2808
  note?: string | undefined;
@@ -2721,35 +2846,35 @@ declare const writeScriptDocumentInput: z.ZodObject<{
2721
2846
  end: z.ZodNumber;
2722
2847
  type: z.ZodEnum<["strong", "em"]>;
2723
2848
  }, "strip", z.ZodTypeAny, {
2724
- type: "strong" | "em";
2725
2849
  start: number;
2726
2850
  end: number;
2727
- }, {
2728
2851
  type: "strong" | "em";
2852
+ }, {
2729
2853
  start: number;
2730
2854
  end: number;
2855
+ type: "strong" | "em";
2731
2856
  }>, "many">;
2732
2857
  }, "strip", z.ZodTypeAny, {
2733
- id: string;
2734
- kind: "paragraph" | "heading" | "direction";
2735
2858
  start: number;
2736
2859
  end: number;
2860
+ id: string;
2861
+ kind: "paragraph" | "heading" | "direction";
2737
2862
  marks: {
2738
- type: "strong" | "em";
2739
2863
  start: number;
2740
2864
  end: number;
2865
+ type: "strong" | "em";
2741
2866
  }[];
2742
2867
  level?: 2 | 3 | undefined;
2743
2868
  label?: string | undefined;
2744
2869
  }, {
2745
- id: string;
2746
- kind: "paragraph" | "heading" | "direction";
2747
2870
  start: number;
2748
2871
  end: number;
2872
+ id: string;
2873
+ kind: "paragraph" | "heading" | "direction";
2749
2874
  marks: {
2750
- type: "strong" | "em";
2751
2875
  start: number;
2752
2876
  end: number;
2877
+ type: "strong" | "em";
2753
2878
  }[];
2754
2879
  level?: 2 | 3 | undefined;
2755
2880
  label?: string | undefined;
@@ -2757,14 +2882,14 @@ declare const writeScriptDocumentInput: z.ZodObject<{
2757
2882
  }, "strip", z.ZodTypeAny, {
2758
2883
  sceneId: string;
2759
2884
  blocks: {
2760
- id: string;
2761
- kind: "paragraph" | "heading" | "direction";
2762
2885
  start: number;
2763
2886
  end: number;
2887
+ id: string;
2888
+ kind: "paragraph" | "heading" | "direction";
2764
2889
  marks: {
2765
- type: "strong" | "em";
2766
2890
  start: number;
2767
2891
  end: number;
2892
+ type: "strong" | "em";
2768
2893
  }[];
2769
2894
  level?: 2 | 3 | undefined;
2770
2895
  label?: string | undefined;
@@ -2772,14 +2897,14 @@ declare const writeScriptDocumentInput: z.ZodObject<{
2772
2897
  }, {
2773
2898
  sceneId: string;
2774
2899
  blocks: {
2775
- id: string;
2776
- kind: "paragraph" | "heading" | "direction";
2777
2900
  start: number;
2778
2901
  end: number;
2902
+ id: string;
2903
+ kind: "paragraph" | "heading" | "direction";
2779
2904
  marks: {
2780
- type: "strong" | "em";
2781
2905
  start: number;
2782
2906
  end: number;
2907
+ type: "strong" | "em";
2783
2908
  }[];
2784
2909
  level?: 2 | 3 | undefined;
2785
2910
  label?: string | undefined;
@@ -2804,14 +2929,14 @@ declare const writeScriptDocumentInput: z.ZodObject<{
2804
2929
  end: z.ZodNumber;
2805
2930
  waitingShotId: z.ZodOptional<z.ZodString>;
2806
2931
  }, "strip", z.ZodTypeAny, {
2807
- sceneId: string;
2808
2932
  start: number;
2809
2933
  end: number;
2934
+ sceneId: string;
2810
2935
  waitingShotId?: string | undefined;
2811
2936
  }, {
2812
- sceneId: string;
2813
2937
  start: number;
2814
2938
  end: number;
2939
+ sceneId: string;
2815
2940
  waitingShotId?: string | undefined;
2816
2941
  }>, "many">>;
2817
2942
  restoreRevision: z.ZodOptional<z.ZodNumber>;
@@ -2839,14 +2964,14 @@ declare const writeScriptDocumentInput: z.ZodObject<{
2839
2964
  sceneId: string;
2840
2965
  }>]>>;
2841
2966
  }, "strip", z.ZodTypeAny, {
2842
- storyboardId: string;
2843
- expectedRevision: number;
2844
2967
  edits: {
2845
2968
  at: number;
2846
2969
  text: string;
2847
2970
  sceneId: string;
2848
2971
  removed: number;
2849
2972
  }[];
2973
+ storyboardId: string;
2974
+ expectedRevision: number;
2850
2975
  move?: {
2851
2976
  sceneId: string;
2852
2977
  blockId: string;
@@ -2855,23 +2980,23 @@ declare const writeScriptDocumentInput: z.ZodObject<{
2855
2980
  structures?: {
2856
2981
  sceneId: string;
2857
2982
  blocks: {
2858
- id: string;
2859
- kind: "paragraph" | "heading" | "direction";
2860
2983
  start: number;
2861
2984
  end: number;
2985
+ id: string;
2986
+ kind: "paragraph" | "heading" | "direction";
2862
2987
  marks: {
2863
- type: "strong" | "em";
2864
2988
  start: number;
2865
2989
  end: number;
2990
+ type: "strong" | "em";
2866
2991
  }[];
2867
2992
  level?: 2 | 3 | undefined;
2868
2993
  label?: string | undefined;
2869
2994
  }[];
2870
2995
  }[] | undefined;
2871
2996
  makeShots?: {
2872
- sceneId: string;
2873
2997
  start: number;
2874
2998
  end: number;
2999
+ sceneId: string;
2875
3000
  waitingShotId?: string | undefined;
2876
3001
  }[] | undefined;
2877
3002
  restoreRevision?: number | undefined;
@@ -2885,14 +3010,14 @@ declare const writeScriptDocumentInput: z.ZodObject<{
2885
3010
  sceneId: string;
2886
3011
  } | undefined;
2887
3012
  }, {
2888
- storyboardId: string;
2889
- expectedRevision: number;
2890
3013
  edits: {
2891
3014
  at: number;
2892
3015
  text: string;
2893
3016
  sceneId: string;
2894
3017
  removed: number;
2895
3018
  }[];
3019
+ storyboardId: string;
3020
+ expectedRevision: number;
2896
3021
  move?: {
2897
3022
  sceneId: string;
2898
3023
  blockId: string;
@@ -2901,23 +3026,23 @@ declare const writeScriptDocumentInput: z.ZodObject<{
2901
3026
  structures?: {
2902
3027
  sceneId: string;
2903
3028
  blocks: {
2904
- id: string;
2905
- kind: "paragraph" | "heading" | "direction";
2906
3029
  start: number;
2907
3030
  end: number;
3031
+ id: string;
3032
+ kind: "paragraph" | "heading" | "direction";
2908
3033
  marks: {
2909
- type: "strong" | "em";
2910
3034
  start: number;
2911
3035
  end: number;
3036
+ type: "strong" | "em";
2912
3037
  }[];
2913
3038
  level?: 2 | 3 | undefined;
2914
3039
  label?: string | undefined;
2915
3040
  }[];
2916
3041
  }[] | undefined;
2917
3042
  makeShots?: {
2918
- sceneId: string;
2919
3043
  start: number;
2920
3044
  end: number;
3045
+ sceneId: string;
2921
3046
  waitingShotId?: string | undefined;
2922
3047
  }[] | undefined;
2923
3048
  restoreRevision?: number | undefined;