@slatesvideo/shared 0.7.17 → 0.7.19

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.
@@ -8,6 +8,8 @@ import { type OrderedAttachmentRole, type ShotParams } from '../prompts/shot-spe
8
8
  export interface OperationContext {
9
9
  cloud: () => SlatesCloudClient;
10
10
  desktop: () => SlatesDesktopClient;
11
+ /** The Studio Agent attributes the final charge before it runs another paid operation. */
12
+ waitForCutFinish?: boolean;
11
13
  /**
12
14
  * Cancellation, propagated from the caller.
13
15
  *
@@ -198,6 +200,7 @@ declare const VIEW_CUT_SIDES: readonly ["bottom", "left", "right"];
198
200
  declare const VIEW_DOCK_SECTIONS: readonly ["storyboards", "library", "folders", "pinned"];
199
201
  declare const VIEW_WINDOW_LAYOUTS: readonly ["plan", "edit"];
200
202
  declare const VIEW_VIEWER_MODES: readonly ["source", "timeline"];
203
+ declare const VIEW_SHAPE_SETTINGS: readonly ["auto", "landscape", "vertical"];
201
204
  declare const VIEW_BOARD_LEVELS: readonly ["film", "scenes", "shot"];
202
205
  declare const VIEW_BOARD_FILTERS: readonly ["all", "with-clip", "without-clip"];
203
206
  declare const VIEW_MEDIA_TABS: readonly ["all", "images", "videos", "audio"];
@@ -207,11 +210,11 @@ declare const gridSelectionInput: z.ZodObject<{
207
210
  rowKeys: z.ZodArray<z.ZodString, "many">;
208
211
  aspects: z.ZodArray<z.ZodString, "many">;
209
212
  }, "strict", z.ZodTypeAny, {
210
- rowKeys: string[];
211
213
  aspects: string[];
212
- }, {
213
214
  rowKeys: string[];
215
+ }, {
214
216
  aspects: string[];
217
+ rowKeys: string[];
215
218
  }>;
216
219
  declare const deliveryInput: z.ZodObject<{
217
220
  formats: z.ZodArray<z.ZodString, "many">;
@@ -267,17 +270,17 @@ declare const gridBindingInput: z.ZodObject<{
267
270
  shotIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
268
271
  }, "strict", z.ZodTypeAny, {
269
272
  key: string;
273
+ alternativeId?: string | undefined;
274
+ sectionId?: string | undefined;
270
275
  label?: string | undefined;
271
276
  choicePosition?: number | undefined;
272
- sectionId?: string | undefined;
273
- alternativeId?: string | undefined;
274
277
  shotIds?: string[] | undefined;
275
278
  }, {
276
279
  key: string;
280
+ alternativeId?: string | undefined;
281
+ sectionId?: string | undefined;
277
282
  label?: string | undefined;
278
283
  choicePosition?: number | undefined;
279
- sectionId?: string | undefined;
280
- alternativeId?: string | undefined;
281
284
  shotIds?: string[] | undefined;
282
285
  }>>;
283
286
  body: z.ZodOptional<z.ZodObject<{
@@ -289,17 +292,17 @@ declare const gridBindingInput: z.ZodObject<{
289
292
  shotIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
290
293
  }, "strict", z.ZodTypeAny, {
291
294
  key: string;
295
+ alternativeId?: string | undefined;
296
+ sectionId?: string | undefined;
292
297
  label?: string | undefined;
293
298
  choicePosition?: number | undefined;
294
- sectionId?: string | undefined;
295
- alternativeId?: string | undefined;
296
299
  shotIds?: string[] | undefined;
297
300
  }, {
298
301
  key: string;
302
+ alternativeId?: string | undefined;
303
+ sectionId?: string | undefined;
299
304
  label?: string | undefined;
300
305
  choicePosition?: number | undefined;
301
- sectionId?: string | undefined;
302
- alternativeId?: string | undefined;
303
306
  shotIds?: string[] | undefined;
304
307
  }>>;
305
308
  endCard: z.ZodOptional<z.ZodObject<{
@@ -311,67 +314,67 @@ declare const gridBindingInput: z.ZodObject<{
311
314
  shotIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
312
315
  }, "strict", z.ZodTypeAny, {
313
316
  key: string;
317
+ alternativeId?: string | undefined;
318
+ sectionId?: string | undefined;
314
319
  label?: string | undefined;
315
320
  choicePosition?: number | undefined;
316
- sectionId?: string | undefined;
317
- alternativeId?: string | undefined;
318
321
  shotIds?: string[] | undefined;
319
322
  }, {
320
323
  key: string;
324
+ alternativeId?: string | undefined;
325
+ sectionId?: string | undefined;
321
326
  label?: string | undefined;
322
327
  choicePosition?: number | undefined;
323
- sectionId?: string | undefined;
324
- alternativeId?: string | undefined;
325
328
  shotIds?: string[] | undefined;
326
329
  }>>;
327
330
  }, "strict", z.ZodTypeAny, {
328
331
  hook?: {
329
332
  key: string;
333
+ alternativeId?: string | undefined;
334
+ sectionId?: string | undefined;
330
335
  label?: string | undefined;
331
336
  choicePosition?: number | undefined;
332
- sectionId?: string | undefined;
333
- alternativeId?: string | undefined;
334
337
  shotIds?: string[] | undefined;
335
338
  } | undefined;
336
339
  body?: {
337
340
  key: string;
341
+ alternativeId?: string | undefined;
342
+ sectionId?: string | undefined;
338
343
  label?: string | undefined;
339
344
  choicePosition?: number | undefined;
340
- sectionId?: string | undefined;
341
- alternativeId?: string | undefined;
342
345
  shotIds?: string[] | undefined;
343
346
  } | undefined;
344
347
  endCard?: {
345
348
  key: string;
349
+ alternativeId?: string | undefined;
350
+ sectionId?: string | undefined;
346
351
  label?: string | undefined;
347
352
  choicePosition?: number | undefined;
348
- sectionId?: string | undefined;
349
- alternativeId?: string | undefined;
350
353
  shotIds?: string[] | undefined;
351
354
  } | undefined;
352
355
  }, {
353
356
  hook?: {
354
357
  key: string;
358
+ alternativeId?: string | undefined;
359
+ sectionId?: string | undefined;
355
360
  label?: string | undefined;
356
361
  choicePosition?: number | undefined;
357
- sectionId?: string | undefined;
358
- alternativeId?: string | undefined;
359
362
  shotIds?: string[] | undefined;
360
363
  } | undefined;
361
364
  body?: {
362
365
  key: string;
366
+ alternativeId?: string | undefined;
367
+ sectionId?: string | undefined;
363
368
  label?: string | undefined;
364
369
  choicePosition?: number | undefined;
365
- sectionId?: string | undefined;
366
- alternativeId?: string | undefined;
367
370
  shotIds?: string[] | undefined;
368
371
  } | undefined;
369
372
  endCard?: {
370
373
  key: string;
374
+ alternativeId?: string | undefined;
375
+ sectionId?: string | undefined;
371
376
  label?: string | undefined;
372
377
  choicePosition?: number | undefined;
373
- sectionId?: string | undefined;
374
- alternativeId?: string | undefined;
375
378
  shotIds?: string[] | undefined;
376
379
  } | undefined;
377
380
  }>>;
@@ -382,26 +385,26 @@ declare const gridBindingInput: z.ZodObject<{
382
385
  slots?: {
383
386
  hook?: {
384
387
  key: string;
388
+ alternativeId?: string | undefined;
389
+ sectionId?: string | undefined;
385
390
  label?: string | undefined;
386
391
  choicePosition?: number | undefined;
387
- sectionId?: string | undefined;
388
- alternativeId?: string | undefined;
389
392
  shotIds?: string[] | undefined;
390
393
  } | undefined;
391
394
  body?: {
392
395
  key: string;
396
+ alternativeId?: string | undefined;
397
+ sectionId?: string | undefined;
393
398
  label?: string | undefined;
394
399
  choicePosition?: number | undefined;
395
- sectionId?: string | undefined;
396
- alternativeId?: string | undefined;
397
400
  shotIds?: string[] | undefined;
398
401
  } | undefined;
399
402
  endCard?: {
400
403
  key: string;
404
+ alternativeId?: string | undefined;
405
+ sectionId?: string | undefined;
401
406
  label?: string | undefined;
402
407
  choicePosition?: number | undefined;
403
- sectionId?: string | undefined;
404
- alternativeId?: string | undefined;
405
408
  shotIds?: string[] | undefined;
406
409
  } | undefined;
407
410
  } | undefined;
@@ -412,26 +415,26 @@ declare const gridBindingInput: z.ZodObject<{
412
415
  slots?: {
413
416
  hook?: {
414
417
  key: string;
418
+ alternativeId?: string | undefined;
419
+ sectionId?: string | undefined;
415
420
  label?: string | undefined;
416
421
  choicePosition?: number | undefined;
417
- sectionId?: string | undefined;
418
- alternativeId?: string | undefined;
419
422
  shotIds?: string[] | undefined;
420
423
  } | undefined;
421
424
  body?: {
422
425
  key: string;
426
+ alternativeId?: string | undefined;
427
+ sectionId?: string | undefined;
423
428
  label?: string | undefined;
424
429
  choicePosition?: number | undefined;
425
- sectionId?: string | undefined;
426
- alternativeId?: string | undefined;
427
430
  shotIds?: string[] | undefined;
428
431
  } | undefined;
429
432
  endCard?: {
430
433
  key: string;
434
+ alternativeId?: string | undefined;
435
+ sectionId?: string | undefined;
431
436
  label?: string | undefined;
432
437
  choicePosition?: number | undefined;
433
- sectionId?: string | undefined;
434
- alternativeId?: string | undefined;
435
438
  shotIds?: string[] | undefined;
436
439
  } | undefined;
437
440
  } | undefined;
@@ -530,6 +533,9 @@ export declare const setView: Operation<{
530
533
  };
531
534
  window?: {
532
535
  layout?: (typeof VIEW_WINDOW_LAYOUTS)[number];
536
+ preset?: string;
537
+ reset?: boolean;
538
+ shape?: (typeof VIEW_SHAPE_SETTINGS)[number];
533
539
  viewer?: boolean;
534
540
  inspector?: boolean;
535
541
  lensWidth?: number;
@@ -814,16 +820,16 @@ declare const whipEditInput: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
814
820
  at: number;
815
821
  kind: "move";
816
822
  start?: number | undefined;
817
- peak?: number | undefined;
818
823
  end?: number | undefined;
819
824
  direction?: "left" | "right" | "up-right" | "up" | "up-left" | "down-left" | "down" | "down-right" | undefined;
825
+ peak?: number | undefined;
820
826
  }, {
821
827
  at: number;
822
828
  kind: "move";
823
829
  start?: number | undefined;
824
- peak?: number | undefined;
825
830
  end?: number | undefined;
826
831
  direction?: "left" | "right" | "up-right" | "up" | "up-left" | "down-left" | "down" | "down-right" | undefined;
832
+ peak?: number | undefined;
827
833
  }>, z.ZodObject<{
828
834
  kind: z.ZodLiteral<"add">;
829
835
  start: z.ZodNumber;
@@ -831,17 +837,17 @@ declare const whipEditInput: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
831
837
  end: z.ZodNumber;
832
838
  direction: z.ZodEnum<["right", "up-right", "up", "up-left", "left", "down-left", "down", "down-right"]>;
833
839
  }, "strict", z.ZodTypeAny, {
834
- kind: "add";
835
840
  start: number;
836
- peak: number;
841
+ kind: "add";
837
842
  end: number;
838
843
  direction: "left" | "right" | "up-right" | "up" | "up-left" | "down-left" | "down" | "down-right";
844
+ peak: number;
839
845
  }, {
840
- kind: "add";
841
846
  start: number;
842
- peak: number;
847
+ kind: "add";
843
848
  end: number;
844
849
  direction: "left" | "right" | "up-right" | "up" | "up-left" | "down-left" | "down" | "down-right";
850
+ peak: number;
845
851
  }>, z.ZodObject<{
846
852
  kind: z.ZodLiteral<"delete">;
847
853
  at: z.ZodNumber;
@@ -896,6 +902,7 @@ export declare const estimateGenerationCost: Operation<{
896
902
  quality?: GptQualityId;
897
903
  aspectRatio?: string;
898
904
  sound?: boolean;
905
+ seedanceDraft?: boolean;
899
906
  seedanceFace?: boolean;
900
907
  seedanceRealFace?: boolean;
901
908
  referenceImages?: number;
@@ -1073,14 +1080,22 @@ export declare const addFrame: Operation<{
1073
1080
  notes?: string;
1074
1081
  position?: number;
1075
1082
  }>;
1076
- export type ImageModelId = 'nano-banana-2-1' | 'gpt-image-2-6-flare' | 'gpt-image-2-6-sunburst' | 'flux-3' | 'seedream-5-lite';
1083
+ export type ImageModelId = 'nano-banana-2-1' | 'gpt-image-2-6-flare' | 'gpt-image-2-6-sunburst' | 'flux-3' | 'seedream-5-5';
1077
1084
  /** The exact `model` ids `slates_generate_image` accepts. */
1078
1085
  /** Derived compatibility export for callers enumerating the 3k ladder. */
1079
1086
  export declare const THREE_K_IMAGE_MODELS: string[];
1080
- export declare const IMAGE_MODELS: readonly ["nano-banana-2-1", "gpt-image-2-6-flare", "gpt-image-2-6-sunburst", "flux-3", "seedream-5-lite"];
1087
+ export declare const IMAGE_MODELS: readonly ["nano-banana-2-1", "gpt-image-2-6-flare", "gpt-image-2-6-sunburst", "flux-3", "seedream-5-5"];
1081
1088
  /** True for either GPT Image seat. Flare and Sunburst differ in latency
1082
1089
  * and routing advice, never in pricing shape or param surface. */
1083
1090
  export declare function isGptImageModel(model: string | undefined): boolean;
1091
+ /**
1092
+ * The image seats that take `backgroundMode` (transparent / opaque / auto): both
1093
+ * GPT Image seats and Seedream 5.5 (BytePlus `background`, read 2026-11-16). The
1094
+ * desktop's twin is the `transparentBackground` feature on its registry rows,
1095
+ * which shows the Background control; the wire field is `gptBackground` for
1096
+ * every seat, a name kept from when GPT Image was the only one.
1097
+ */
1098
+ export declare function takesBackgroundMode(model: string | undefined): boolean;
1084
1099
  /** True for either Gemini Omni Flash 1.2 seat, generation or edit. */
1085
1100
  export declare function isOmniFlash12Model(model: string | null | undefined): boolean;
1086
1101
  /**
@@ -1114,7 +1129,7 @@ export type GptQualityId = GptQuality;
1114
1129
  * part of any cost key. `auto` is fal's default and ours.
1115
1130
  */
1116
1131
  export type GptBackgroundId = GptBackground;
1117
- export declare function imageCostKey(model: ImageModelId, resolution: '1k' | '2k' | '3k' | '4k', quality?: GptQualityId, aspectRatio?: string): string;
1132
+ export declare function imageCostKey(model: ImageModelId, resolution: '1k' | '2k' | '3k' | '4k', quality?: GptQualityId, aspectRatio?: string, referenceCount?: number): string;
1118
1133
  export declare const generateImage: Operation<{
1119
1134
  prompt: string;
1120
1135
  model?: ImageModelId;
@@ -1128,6 +1143,7 @@ export declare const generateImage: Operation<{
1128
1143
  referenceAssetIds?: string[];
1129
1144
  background?: boolean;
1130
1145
  confirm?: boolean;
1146
+ approvedCredits?: number;
1131
1147
  folderId?: string | null;
1132
1148
  }>;
1133
1149
  export declare const editImage: Operation<{
@@ -1151,7 +1167,7 @@ export declare const editImage: Operation<{
1151
1167
  * with no `confirm`, the op answers with the price and the exact prompt, and spends nothing.
1152
1168
  */
1153
1169
  /** The seats the viewer's Cells box offers. Mirrors slate's `GRID_EXTRACT_MODELS` (`shared/prompts/storyboard-grids.ts`), which this package cannot import. */
1154
- declare const GRID_EXTRACT_SEATS: readonly ["nano-banana-2-1", "flux-3", "seedream-5-lite"];
1170
+ declare const GRID_EXTRACT_SEATS: readonly ["nano-banana-2-1", "flux-3", "seedream-5-5"];
1155
1171
  export declare const extractGridCells: Operation<{
1156
1172
  projectId: string;
1157
1173
  assetId: string;
@@ -1231,6 +1247,7 @@ export declare const generateVideo: Operation<{
1231
1247
  sound?: boolean;
1232
1248
  audioLanguage?: 'EN' | 'ZH' | 'JA' | 'KO' | 'ES';
1233
1249
  generateMusic?: boolean;
1250
+ seedanceDraft?: boolean;
1234
1251
  seedanceFace?: boolean;
1235
1252
  seedanceRealFace?: boolean;
1236
1253
  realFaceConsent?: boolean;
@@ -1455,6 +1472,9 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1455
1472
  action: z.ZodOptional<z.ZodOptional<z.ZodEnum<["start", "status", "cancel"]>>>;
1456
1473
  }, "strict", z.ZodTypeAny, {
1457
1474
  projectId: string;
1475
+ action?: "start" | "status" | "cancel" | undefined;
1476
+ directory?: string | undefined;
1477
+ manifestId?: string | undefined;
1458
1478
  items?: ({
1459
1479
  timelineId: string;
1460
1480
  format: "mp4" | "xml";
@@ -1473,9 +1493,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1473
1493
  lp?: string | undefined;
1474
1494
  } | undefined;
1475
1495
  })[] | undefined;
1476
- action?: "status" | "cancel" | "start" | undefined;
1477
- directory?: string | undefined;
1478
- manifestId?: string | undefined;
1479
1496
  version?: 2 | undefined;
1480
1497
  batchId?: string | undefined;
1481
1498
  exportRoot?: string | undefined;
@@ -1498,6 +1515,9 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1498
1515
  }> | undefined;
1499
1516
  }, {
1500
1517
  projectId: string;
1518
+ action?: "start" | "status" | "cancel" | undefined;
1519
+ directory?: string | undefined;
1520
+ manifestId?: string | undefined;
1501
1521
  items?: ({
1502
1522
  timelineId: string;
1503
1523
  format: "mp4" | "xml";
@@ -1516,9 +1536,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1516
1536
  lp?: string | undefined;
1517
1537
  } | undefined;
1518
1538
  })[] | undefined;
1519
- action?: "status" | "cancel" | "start" | undefined;
1520
- directory?: string | undefined;
1521
- manifestId?: string | undefined;
1522
1539
  version?: 2 | undefined;
1523
1540
  batchId?: string | undefined;
1524
1541
  exportRoot?: string | undefined;
@@ -1541,6 +1558,9 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1541
1558
  }> | undefined;
1542
1559
  }>, {
1543
1560
  projectId: string;
1561
+ action?: "start" | "status" | "cancel" | undefined;
1562
+ directory?: string | undefined;
1563
+ manifestId?: string | undefined;
1544
1564
  items?: ({
1545
1565
  timelineId: string;
1546
1566
  format: "mp4" | "xml";
@@ -1559,9 +1579,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1559
1579
  lp?: string | undefined;
1560
1580
  } | undefined;
1561
1581
  })[] | undefined;
1562
- action?: "status" | "cancel" | "start" | undefined;
1563
- directory?: string | undefined;
1564
- manifestId?: string | undefined;
1565
1582
  version?: 2 | undefined;
1566
1583
  batchId?: string | undefined;
1567
1584
  exportRoot?: string | undefined;
@@ -1584,6 +1601,9 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1584
1601
  }> | undefined;
1585
1602
  }, {
1586
1603
  projectId: string;
1604
+ action?: "start" | "status" | "cancel" | undefined;
1605
+ directory?: string | undefined;
1606
+ manifestId?: string | undefined;
1587
1607
  items?: ({
1588
1608
  timelineId: string;
1589
1609
  format: "mp4" | "xml";
@@ -1602,9 +1622,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1602
1622
  lp?: string | undefined;
1603
1623
  } | undefined;
1604
1624
  })[] | undefined;
1605
- action?: "status" | "cancel" | "start" | undefined;
1606
- directory?: string | undefined;
1607
- manifestId?: string | undefined;
1608
1625
  version?: 2 | undefined;
1609
1626
  batchId?: string | undefined;
1610
1627
  exportRoot?: string | undefined;
@@ -1682,27 +1699,27 @@ declare const variantSlotsInput: z.ZodObject<{
1682
1699
  clipIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1683
1700
  sequenceId: z.ZodOptional<z.ZodString>;
1684
1701
  }, "strict", z.ZodTypeAny, {
1702
+ action: "add" | "update" | "remove" | "add-alternative" | "update-alternative" | "remove-alternative";
1685
1703
  projectId: string;
1686
- action: "add" | "remove" | "update" | "add-alternative" | "update-alternative" | "remove-alternative";
1687
1704
  at?: number | undefined;
1688
- name?: string | undefined;
1689
- alternativeId?: string | undefined;
1690
1705
  timelineId?: string | undefined;
1691
1706
  slotId?: string | undefined;
1692
1707
  slotName?: string | undefined;
1708
+ alternativeId?: string | undefined;
1709
+ name?: string | undefined;
1693
1710
  orderIndex?: number | undefined;
1694
1711
  bedFrame?: number | null | undefined;
1695
1712
  clipIds?: string[] | undefined;
1696
1713
  sequenceId?: string | undefined;
1697
1714
  }, {
1715
+ action: "add" | "update" | "remove" | "add-alternative" | "update-alternative" | "remove-alternative";
1698
1716
  projectId: string;
1699
- action: "add" | "remove" | "update" | "add-alternative" | "update-alternative" | "remove-alternative";
1700
1717
  at?: number | undefined;
1701
- name?: string | undefined;
1702
- alternativeId?: string | undefined;
1703
1718
  timelineId?: string | undefined;
1704
1719
  slotId?: string | undefined;
1705
1720
  slotName?: string | undefined;
1721
+ alternativeId?: string | undefined;
1722
+ name?: string | undefined;
1706
1723
  orderIndex?: number | undefined;
1707
1724
  bedFrame?: number | null | undefined;
1708
1725
  clipIds?: string[] | undefined;
@@ -1780,10 +1797,10 @@ declare const variantsInput: z.ZodObject<{
1780
1797
  frames: number;
1781
1798
  }>]>>>;
1782
1799
  }, "strict", z.ZodTypeAny, {
1800
+ action: "add" | "update" | "remove" | "rebuild";
1783
1801
  projectId: string;
1784
- action: "add" | "remove" | "update" | "rebuild";
1785
- name?: string | undefined;
1786
1802
  timelineId?: string | undefined;
1803
+ name?: string | undefined;
1787
1804
  variantId?: string | undefined;
1788
1805
  combinations?: boolean | undefined;
1789
1806
  choices?: Record<string, string> | undefined;
@@ -1806,10 +1823,10 @@ declare const variantsInput: z.ZodObject<{
1806
1823
  }> | undefined;
1807
1824
  }[] | undefined;
1808
1825
  }, {
1826
+ action: "add" | "update" | "remove" | "rebuild";
1809
1827
  projectId: string;
1810
- action: "add" | "remove" | "update" | "rebuild";
1811
- name?: string | undefined;
1812
1828
  timelineId?: string | undefined;
1829
+ name?: string | undefined;
1813
1830
  variantId?: string | undefined;
1814
1831
  combinations?: boolean | undefined;
1815
1832
  choices?: Record<string, string> | undefined;
@@ -1866,41 +1883,41 @@ declare const reframeClipInput: z.ZodObject<{
1866
1883
  focusY: z.ZodOptional<z.ZodNumber>;
1867
1884
  zoom: z.ZodOptional<z.ZodNumber>;
1868
1885
  }, "strict", z.ZodTypeAny, {
1886
+ zoom?: number | undefined;
1869
1887
  mode?: "fill" | "fit" | undefined;
1870
1888
  focusX?: number | undefined;
1871
1889
  focusY?: number | undefined;
1872
- zoom?: number | undefined;
1873
1890
  }, {
1891
+ zoom?: number | undefined;
1874
1892
  mode?: "fill" | "fit" | undefined;
1875
1893
  focusX?: number | undefined;
1876
1894
  focusY?: number | undefined;
1877
- zoom?: number | undefined;
1878
1895
  }>>>;
1879
1896
  follow: z.ZodOptional<z.ZodEnum<["face", "off"]>>;
1880
1897
  }, "strict", z.ZodTypeAny, {
1881
1898
  projectId: string;
1882
1899
  timelineId: string;
1883
- clipId: string;
1884
1900
  aspect: string;
1901
+ clipId: string;
1885
1902
  framing?: {
1903
+ zoom?: number | undefined;
1886
1904
  mode?: "fill" | "fit" | undefined;
1887
1905
  focusX?: number | undefined;
1888
1906
  focusY?: number | undefined;
1889
- zoom?: number | undefined;
1890
1907
  } | null | undefined;
1891
- follow?: "face" | "off" | undefined;
1908
+ follow?: "off" | "face" | undefined;
1892
1909
  }, {
1893
1910
  projectId: string;
1894
1911
  timelineId: string;
1895
- clipId: string;
1896
1912
  aspect: string;
1913
+ clipId: string;
1897
1914
  framing?: {
1915
+ zoom?: number | undefined;
1898
1916
  mode?: "fill" | "fit" | undefined;
1899
1917
  focusX?: number | undefined;
1900
1918
  focusY?: number | undefined;
1901
- zoom?: number | undefined;
1902
1919
  } | null | undefined;
1903
- follow?: "face" | "off" | undefined;
1920
+ follow?: "off" | "face" | undefined;
1904
1921
  }>;
1905
1922
  export declare const reframeClip: Operation<z.infer<typeof reframeClipInput>>;
1906
1923
  export declare const listTimelines: Operation<{
@@ -2121,12 +2138,6 @@ declare const audioEffectList: z.ZodArray<z.ZodObject<{
2121
2138
  }>, "many">>>;
2122
2139
  }, "strict", z.ZodTypeAny, {
2123
2140
  type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
2124
- on?: boolean | undefined;
2125
- band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2126
- frequency?: number | undefined;
2127
- gain?: number | undefined;
2128
- q?: number | undefined;
2129
- slope?: number | undefined;
2130
2141
  keyframes?: Record<string, {
2131
2142
  value: number;
2132
2143
  frame: number;
@@ -2134,14 +2145,14 @@ declare const audioEffectList: z.ZodArray<z.ZodObject<{
2134
2145
  cubicBezier: [number, number, number, number];
2135
2146
  } | undefined;
2136
2147
  }[]> | undefined;
2137
- }, {
2138
- type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
2139
- on?: boolean | undefined;
2140
2148
  band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2149
+ on?: boolean | undefined;
2141
2150
  frequency?: number | undefined;
2142
2151
  gain?: number | undefined;
2143
2152
  q?: number | undefined;
2144
2153
  slope?: number | undefined;
2154
+ }, {
2155
+ type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
2145
2156
  keyframes?: Record<string, {
2146
2157
  value: number;
2147
2158
  frame: number;
@@ -2149,11 +2160,18 @@ declare const audioEffectList: z.ZodArray<z.ZodObject<{
2149
2160
  cubicBezier: [number, number, number, number];
2150
2161
  } | undefined;
2151
2162
  }[]> | undefined;
2163
+ band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2164
+ on?: boolean | undefined;
2165
+ frequency?: number | undefined;
2166
+ gain?: number | undefined;
2167
+ q?: number | undefined;
2168
+ slope?: number | undefined;
2152
2169
  }>, "many">>;
2153
2170
  }, "strict", z.ZodTypeAny, {
2154
2171
  type: "volume" | "eq";
2155
- id?: string | undefined;
2156
2172
  params?: Record<string, number> | undefined;
2173
+ id?: string | undefined;
2174
+ bypass?: boolean | undefined;
2157
2175
  keyframes?: Record<string, {
2158
2176
  value: number;
2159
2177
  frame: number;
@@ -2161,15 +2179,8 @@ declare const audioEffectList: z.ZodArray<z.ZodObject<{
2161
2179
  cubicBezier: [number, number, number, number];
2162
2180
  } | undefined;
2163
2181
  }[]> | undefined;
2164
- bypass?: boolean | undefined;
2165
2182
  bands?: {
2166
2183
  type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
2167
- on?: boolean | undefined;
2168
- band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2169
- frequency?: number | undefined;
2170
- gain?: number | undefined;
2171
- q?: number | undefined;
2172
- slope?: number | undefined;
2173
2184
  keyframes?: Record<string, {
2174
2185
  value: number;
2175
2186
  frame: number;
@@ -2177,11 +2188,18 @@ declare const audioEffectList: z.ZodArray<z.ZodObject<{
2177
2188
  cubicBezier: [number, number, number, number];
2178
2189
  } | undefined;
2179
2190
  }[]> | undefined;
2191
+ band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2192
+ on?: boolean | undefined;
2193
+ frequency?: number | undefined;
2194
+ gain?: number | undefined;
2195
+ q?: number | undefined;
2196
+ slope?: number | undefined;
2180
2197
  }[] | undefined;
2181
2198
  }, {
2182
2199
  type: "volume" | "eq";
2183
- id?: string | undefined;
2184
2200
  params?: Record<string, number> | undefined;
2201
+ id?: string | undefined;
2202
+ bypass?: boolean | undefined;
2185
2203
  keyframes?: Record<string, {
2186
2204
  value: number;
2187
2205
  frame: number;
@@ -2189,15 +2207,8 @@ declare const audioEffectList: z.ZodArray<z.ZodObject<{
2189
2207
  cubicBezier: [number, number, number, number];
2190
2208
  } | undefined;
2191
2209
  }[]> | undefined;
2192
- bypass?: boolean | undefined;
2193
2210
  bands?: {
2194
2211
  type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
2195
- on?: boolean | undefined;
2196
- band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2197
- frequency?: number | undefined;
2198
- gain?: number | undefined;
2199
- q?: number | undefined;
2200
- slope?: number | undefined;
2201
2212
  keyframes?: Record<string, {
2202
2213
  value: number;
2203
2214
  frame: number;
@@ -2205,6 +2216,12 @@ declare const audioEffectList: z.ZodArray<z.ZodObject<{
2205
2216
  cubicBezier: [number, number, number, number];
2206
2217
  } | undefined;
2207
2218
  }[]> | undefined;
2219
+ band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2220
+ on?: boolean | undefined;
2221
+ frequency?: number | undefined;
2222
+ gain?: number | undefined;
2223
+ q?: number | undefined;
2224
+ slope?: number | undefined;
2208
2225
  }[] | undefined;
2209
2226
  }>, "many">;
2210
2227
  /** A clip's panel (slate's `src/shared/clipPanel.ts`): lengths in fractions of the frame's height. */
@@ -2234,13 +2251,13 @@ declare const clipPanel: z.ZodObject<{
2234
2251
  opacity: z.ZodOptional<z.ZodNumber>;
2235
2252
  color: z.ZodOptional<z.ZodString>;
2236
2253
  }, "strict", z.ZodTypeAny, {
2237
- width?: number | undefined;
2238
2254
  opacity?: number | undefined;
2239
2255
  color?: string | undefined;
2240
- }, {
2241
2256
  width?: number | undefined;
2257
+ }, {
2242
2258
  opacity?: number | undefined;
2243
2259
  color?: string | undefined;
2260
+ width?: number | undefined;
2244
2261
  }>>;
2245
2262
  }, "strict", z.ZodTypeAny, {
2246
2263
  radius?: number | undefined;
@@ -2252,9 +2269,9 @@ declare const clipPanel: z.ZodObject<{
2252
2269
  color?: string | undefined;
2253
2270
  } | undefined;
2254
2271
  border?: {
2255
- width?: number | undefined;
2256
2272
  opacity?: number | undefined;
2257
2273
  color?: string | undefined;
2274
+ width?: number | undefined;
2258
2275
  } | undefined;
2259
2276
  }, {
2260
2277
  radius?: number | undefined;
@@ -2266,9 +2283,9 @@ declare const clipPanel: z.ZodObject<{
2266
2283
  color?: string | undefined;
2267
2284
  } | undefined;
2268
2285
  border?: {
2269
- width?: number | undefined;
2270
2286
  opacity?: number | undefined;
2271
2287
  color?: string | undefined;
2288
+ width?: number | undefined;
2272
2289
  } | undefined;
2273
2290
  }>;
2274
2291
  export declare const updateClip: Operation<{
@@ -2854,34 +2871,34 @@ declare const variationSchema: z.ZodObject<{
2854
2871
  sectionId: z.ZodString;
2855
2872
  alternativeId: z.ZodString;
2856
2873
  }, "strip", z.ZodTypeAny, {
2857
- sectionId: string;
2858
2874
  alternativeId: string;
2859
- }, {
2860
2875
  sectionId: string;
2876
+ }, {
2861
2877
  alternativeId: string;
2878
+ sectionId: string;
2862
2879
  }>, "many">;
2863
2880
  arrangement: z.ZodOptional<z.ZodArray<z.ZodObject<{
2864
2881
  sectionId: z.ZodString;
2865
2882
  alternativeId: z.ZodString;
2866
2883
  }, "strip", z.ZodTypeAny, {
2867
- sectionId: string;
2868
2884
  alternativeId: string;
2869
- }, {
2870
2885
  sectionId: string;
2886
+ }, {
2871
2887
  alternativeId: string;
2888
+ sectionId: string;
2872
2889
  }>, "many">>;
2873
2890
  itemOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
2874
2891
  from: z.ZodString;
2875
2892
  to: z.ZodString;
2876
2893
  voice: z.ZodEnum<["keep", "replace"]>;
2877
2894
  }, "strip", z.ZodTypeAny, {
2878
- voice: "replace" | "keep";
2879
2895
  from: string;
2880
2896
  to: string;
2897
+ voice: "keep" | "replace";
2881
2898
  }, {
2882
- voice: "replace" | "keep";
2883
2899
  from: string;
2884
2900
  to: string;
2901
+ voice: "keep" | "replace";
2885
2902
  }>, "many">>;
2886
2903
  assetOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
2887
2904
  from: z.ZodString;
@@ -2896,20 +2913,20 @@ declare const variationSchema: z.ZodObject<{
2896
2913
  idempotencyKey: z.ZodOptional<z.ZodString>;
2897
2914
  }, "strip", z.ZodTypeAny, {
2898
2915
  name: string;
2899
- storyboardId: string;
2900
2916
  choices: {
2901
- sectionId: string;
2902
2917
  alternativeId: string;
2918
+ sectionId: string;
2903
2919
  }[];
2920
+ storyboardId: string;
2904
2921
  expectedRevision: number;
2905
2922
  arrangement?: {
2906
- sectionId: string;
2907
2923
  alternativeId: string;
2924
+ sectionId: string;
2908
2925
  }[] | undefined;
2909
2926
  itemOverrides?: {
2910
- voice: "replace" | "keep";
2911
2927
  from: string;
2912
2928
  to: string;
2929
+ voice: "keep" | "replace";
2913
2930
  }[] | undefined;
2914
2931
  assetOverrides?: {
2915
2932
  from: string;
@@ -2918,20 +2935,20 @@ declare const variationSchema: z.ZodObject<{
2918
2935
  idempotencyKey?: string | undefined;
2919
2936
  }, {
2920
2937
  name: string;
2921
- storyboardId: string;
2922
2938
  choices: {
2923
- sectionId: string;
2924
2939
  alternativeId: string;
2940
+ sectionId: string;
2925
2941
  }[];
2942
+ storyboardId: string;
2926
2943
  expectedRevision: number;
2927
2944
  arrangement?: {
2928
- sectionId: string;
2929
2945
  alternativeId: string;
2946
+ sectionId: string;
2930
2947
  }[] | undefined;
2931
2948
  itemOverrides?: {
2932
- voice: "replace" | "keep";
2933
2949
  from: string;
2934
2950
  to: string;
2951
+ voice: "keep" | "replace";
2935
2952
  }[] | undefined;
2936
2953
  assetOverrides?: {
2937
2954
  from: string;
@@ -2971,80 +2988,80 @@ declare const sectionInput: z.ZodObject<{
2971
2988
  expectedRevision: z.ZodNumber;
2972
2989
  }, "strip", z.ZodTypeAny, {
2973
2990
  at: number;
2974
- sceneId: string;
2975
2991
  expectedRevision: number;
2992
+ sceneId: string;
2976
2993
  }, {
2977
2994
  at: number;
2978
- sceneId: string;
2979
2995
  expectedRevision: number;
2996
+ sceneId: string;
2980
2997
  }>>;
2981
2998
  uses: z.ZodOptional<z.ZodArray<z.ZodObject<{
2982
2999
  sectionId: z.ZodString;
2983
3000
  expectedRevision: z.ZodNumber;
2984
3001
  }, "strip", z.ZodTypeAny, {
2985
- sectionId: string;
2986
3002
  expectedRevision: number;
2987
- }, {
2988
3003
  sectionId: string;
3004
+ }, {
2989
3005
  expectedRevision: number;
3006
+ sectionId: string;
2990
3007
  }>, "many">>;
2991
3008
  fragments: z.ZodOptional<z.ZodArray<z.ZodObject<{
2992
3009
  sceneId: z.ZodString;
2993
3010
  start: z.ZodNumber;
2994
3011
  end: z.ZodNumber;
2995
3012
  }, "strip", z.ZodTypeAny, {
2996
- sceneId: string;
2997
3013
  start: number;
3014
+ sceneId: string;
2998
3015
  end: number;
2999
3016
  }, {
3000
- sceneId: string;
3001
3017
  start: number;
3018
+ sceneId: string;
3002
3019
  end: number;
3003
3020
  }>, "many">>;
3004
3021
  }, "strip", z.ZodTypeAny, {
3005
- action: "tags" | "create" | "rename" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "archive";
3022
+ action: "create" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "rename" | "archive" | "tags";
3006
3023
  storyboardId: string;
3007
3024
  expectedRevision: number;
3025
+ alternativeId?: string | undefined;
3026
+ sectionId?: string | undefined;
3027
+ tags?: string[] | undefined;
3028
+ parentId?: string | undefined;
3029
+ label?: string | undefined;
3008
3030
  target?: {
3009
3031
  at: number;
3010
- sceneId: string;
3011
3032
  expectedRevision: number;
3033
+ sceneId: string;
3012
3034
  } | undefined;
3013
- label?: string | undefined;
3014
- sectionId?: string | undefined;
3015
- alternativeId?: string | undefined;
3016
- tags?: string[] | undefined;
3017
- parentId?: string | undefined;
3018
3035
  uses?: {
3019
- sectionId: string;
3020
3036
  expectedRevision: number;
3037
+ sectionId: string;
3021
3038
  }[] | undefined;
3022
3039
  fragments?: {
3023
- sceneId: string;
3024
3040
  start: number;
3041
+ sceneId: string;
3025
3042
  end: number;
3026
3043
  }[] | undefined;
3027
3044
  }, {
3028
- action: "tags" | "create" | "rename" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "archive";
3045
+ action: "create" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "rename" | "archive" | "tags";
3029
3046
  storyboardId: string;
3030
3047
  expectedRevision: number;
3048
+ alternativeId?: string | undefined;
3049
+ sectionId?: string | undefined;
3050
+ tags?: string[] | undefined;
3051
+ parentId?: string | undefined;
3052
+ label?: string | undefined;
3031
3053
  target?: {
3032
3054
  at: number;
3033
- sceneId: string;
3034
3055
  expectedRevision: number;
3056
+ sceneId: string;
3035
3057
  } | undefined;
3036
- label?: string | undefined;
3037
- sectionId?: string | undefined;
3038
- alternativeId?: string | undefined;
3039
- tags?: string[] | undefined;
3040
- parentId?: string | undefined;
3041
3058
  uses?: {
3042
- sectionId: string;
3043
3059
  expectedRevision: number;
3060
+ sectionId: string;
3044
3061
  }[] | undefined;
3045
3062
  fragments?: {
3046
- sceneId: string;
3047
3063
  start: number;
3064
+ sceneId: string;
3048
3065
  end: number;
3049
3066
  }[] | undefined;
3050
3067
  }>;
@@ -3064,15 +3081,15 @@ declare const suggestionInput: z.ZodObject<{
3064
3081
  replacement: z.ZodString;
3065
3082
  note: z.ZodOptional<z.ZodString>;
3066
3083
  }, "strip", z.ZodTypeAny, {
3067
- sceneId: string;
3068
3084
  start: number;
3085
+ sceneId: string;
3069
3086
  end: number;
3070
3087
  original: string;
3071
3088
  replacement: string;
3072
3089
  note?: string | undefined;
3073
3090
  }, {
3074
- sceneId: string;
3075
3091
  start: number;
3092
+ sceneId: string;
3076
3093
  end: number;
3077
3094
  original: string;
3078
3095
  replacement: string;
@@ -3084,8 +3101,8 @@ declare const suggestionInput: z.ZodObject<{
3084
3101
  storyboardId: string;
3085
3102
  expectedRevision: number;
3086
3103
  suggestions?: {
3087
- sceneId: string;
3088
3104
  start: number;
3105
+ sceneId: string;
3089
3106
  end: number;
3090
3107
  original: string;
3091
3108
  replacement: string;
@@ -3097,8 +3114,8 @@ declare const suggestionInput: z.ZodObject<{
3097
3114
  storyboardId: string;
3098
3115
  expectedRevision: number;
3099
3116
  suggestions?: {
3100
- sceneId: string;
3101
3117
  start: number;
3118
+ sceneId: string;
3102
3119
  end: number;
3103
3120
  original: string;
3104
3121
  replacement: string;
@@ -3119,13 +3136,13 @@ declare const writeScriptDocumentInput: z.ZodObject<{
3119
3136
  removed: z.ZodNumber;
3120
3137
  text: z.ZodString;
3121
3138
  }, "strip", z.ZodTypeAny, {
3122
- at: number;
3123
3139
  text: string;
3140
+ at: number;
3124
3141
  sceneId: string;
3125
3142
  removed: number;
3126
3143
  }, {
3127
- at: number;
3128
3144
  text: string;
3145
+ at: number;
3129
3146
  sceneId: string;
3130
3147
  removed: number;
3131
3148
  }>, "many">;
@@ -3143,68 +3160,68 @@ declare const writeScriptDocumentInput: z.ZodObject<{
3143
3160
  end: z.ZodNumber;
3144
3161
  type: z.ZodEnum<["strong", "em"]>;
3145
3162
  }, "strip", z.ZodTypeAny, {
3146
- type: "strong" | "em";
3147
3163
  start: number;
3164
+ type: "strong" | "em";
3148
3165
  end: number;
3149
3166
  }, {
3150
- type: "strong" | "em";
3151
3167
  start: number;
3168
+ type: "strong" | "em";
3152
3169
  end: number;
3153
3170
  }>, "many">;
3154
3171
  }, "strip", z.ZodTypeAny, {
3155
- id: string;
3156
- kind: "direction" | "paragraph" | "heading";
3157
3172
  start: number;
3173
+ kind: "paragraph" | "heading" | "direction";
3158
3174
  end: number;
3175
+ id: string;
3159
3176
  marks: {
3160
- type: "strong" | "em";
3161
3177
  start: number;
3178
+ type: "strong" | "em";
3162
3179
  end: number;
3163
3180
  }[];
3164
- level?: 2 | 3 | undefined;
3165
3181
  label?: string | undefined;
3182
+ level?: 2 | 3 | undefined;
3166
3183
  }, {
3167
- id: string;
3168
- kind: "direction" | "paragraph" | "heading";
3169
3184
  start: number;
3185
+ kind: "paragraph" | "heading" | "direction";
3170
3186
  end: number;
3187
+ id: string;
3171
3188
  marks: {
3172
- type: "strong" | "em";
3173
3189
  start: number;
3190
+ type: "strong" | "em";
3174
3191
  end: number;
3175
3192
  }[];
3176
- level?: 2 | 3 | undefined;
3177
3193
  label?: string | undefined;
3194
+ level?: 2 | 3 | undefined;
3178
3195
  }>, "many">;
3179
3196
  }, "strip", z.ZodTypeAny, {
3180
3197
  sceneId: string;
3181
3198
  blocks: {
3182
- id: string;
3183
- kind: "direction" | "paragraph" | "heading";
3184
3199
  start: number;
3200
+ kind: "paragraph" | "heading" | "direction";
3185
3201
  end: number;
3202
+ id: string;
3186
3203
  marks: {
3187
- type: "strong" | "em";
3188
3204
  start: number;
3205
+ type: "strong" | "em";
3189
3206
  end: number;
3190
3207
  }[];
3191
- level?: 2 | 3 | undefined;
3192
3208
  label?: string | undefined;
3209
+ level?: 2 | 3 | undefined;
3193
3210
  }[];
3194
3211
  }, {
3195
3212
  sceneId: string;
3196
3213
  blocks: {
3197
- id: string;
3198
- kind: "direction" | "paragraph" | "heading";
3199
3214
  start: number;
3215
+ kind: "paragraph" | "heading" | "direction";
3200
3216
  end: number;
3217
+ id: string;
3201
3218
  marks: {
3202
- type: "strong" | "em";
3203
3219
  start: number;
3220
+ type: "strong" | "em";
3204
3221
  end: number;
3205
3222
  }[];
3206
- level?: 2 | 3 | undefined;
3207
3223
  label?: string | undefined;
3224
+ level?: 2 | 3 | undefined;
3208
3225
  }[];
3209
3226
  }>, "many">>;
3210
3227
  move: z.ZodOptional<z.ZodObject<{
@@ -3226,13 +3243,13 @@ declare const writeScriptDocumentInput: z.ZodObject<{
3226
3243
  end: z.ZodNumber;
3227
3244
  waitingShotId: z.ZodOptional<z.ZodString>;
3228
3245
  }, "strip", z.ZodTypeAny, {
3229
- sceneId: string;
3230
3246
  start: number;
3247
+ sceneId: string;
3231
3248
  end: number;
3232
3249
  waitingShotId?: string | undefined;
3233
3250
  }, {
3234
- sceneId: string;
3235
3251
  start: number;
3252
+ sceneId: string;
3236
3253
  end: number;
3237
3254
  waitingShotId?: string | undefined;
3238
3255
  }>, "many">>;
@@ -3261,38 +3278,38 @@ declare const writeScriptDocumentInput: z.ZodObject<{
3261
3278
  sceneId: string;
3262
3279
  }>]>>;
3263
3280
  }, "strip", z.ZodTypeAny, {
3281
+ storyboardId: string;
3282
+ expectedRevision: number;
3264
3283
  edits: {
3265
- at: number;
3266
3284
  text: string;
3285
+ at: number;
3267
3286
  sceneId: string;
3268
3287
  removed: number;
3269
3288
  }[];
3270
- storyboardId: string;
3271
- expectedRevision: number;
3272
- move?: {
3273
- sceneId: string;
3274
- blockId: string;
3275
- delta: 1 | -1;
3276
- } | undefined;
3277
3289
  structures?: {
3278
3290
  sceneId: string;
3279
3291
  blocks: {
3280
- id: string;
3281
- kind: "direction" | "paragraph" | "heading";
3282
3292
  start: number;
3293
+ kind: "paragraph" | "heading" | "direction";
3283
3294
  end: number;
3295
+ id: string;
3284
3296
  marks: {
3285
- type: "strong" | "em";
3286
3297
  start: number;
3298
+ type: "strong" | "em";
3287
3299
  end: number;
3288
3300
  }[];
3289
- level?: 2 | 3 | undefined;
3290
3301
  label?: string | undefined;
3302
+ level?: 2 | 3 | undefined;
3291
3303
  }[];
3292
3304
  }[] | undefined;
3293
- makeShots?: {
3305
+ move?: {
3294
3306
  sceneId: string;
3307
+ blockId: string;
3308
+ delta: 1 | -1;
3309
+ } | undefined;
3310
+ makeShots?: {
3295
3311
  start: number;
3312
+ sceneId: string;
3296
3313
  end: number;
3297
3314
  waitingShotId?: string | undefined;
3298
3315
  }[] | undefined;
@@ -3307,38 +3324,38 @@ declare const writeScriptDocumentInput: z.ZodObject<{
3307
3324
  sceneId: string;
3308
3325
  } | undefined;
3309
3326
  }, {
3327
+ storyboardId: string;
3328
+ expectedRevision: number;
3310
3329
  edits: {
3311
- at: number;
3312
3330
  text: string;
3331
+ at: number;
3313
3332
  sceneId: string;
3314
3333
  removed: number;
3315
3334
  }[];
3316
- storyboardId: string;
3317
- expectedRevision: number;
3318
- move?: {
3319
- sceneId: string;
3320
- blockId: string;
3321
- delta: 1 | -1;
3322
- } | undefined;
3323
3335
  structures?: {
3324
3336
  sceneId: string;
3325
3337
  blocks: {
3326
- id: string;
3327
- kind: "direction" | "paragraph" | "heading";
3328
3338
  start: number;
3339
+ kind: "paragraph" | "heading" | "direction";
3329
3340
  end: number;
3341
+ id: string;
3330
3342
  marks: {
3331
- type: "strong" | "em";
3332
3343
  start: number;
3344
+ type: "strong" | "em";
3333
3345
  end: number;
3334
3346
  }[];
3335
- level?: 2 | 3 | undefined;
3336
3347
  label?: string | undefined;
3348
+ level?: 2 | 3 | undefined;
3337
3349
  }[];
3338
3350
  }[] | undefined;
3339
- makeShots?: {
3351
+ move?: {
3340
3352
  sceneId: string;
3353
+ blockId: string;
3354
+ delta: 1 | -1;
3355
+ } | undefined;
3356
+ makeShots?: {
3341
3357
  start: number;
3358
+ sceneId: string;
3342
3359
  end: number;
3343
3360
  waitingShotId?: string | undefined;
3344
3361
  }[] | undefined;
@@ -3409,6 +3426,93 @@ export declare const quoteBoard: Operation<{
3409
3426
  export declare const getBoardProgress: Operation<{
3410
3427
  projectId: string;
3411
3428
  }>;
3429
+ declare const draftFinishInput: z.ZodObject<{
3430
+ projectId: z.ZodString;
3431
+ assetId: z.ZodString;
3432
+ resolution: z.ZodEnum<["1080p", "4k"]>;
3433
+ }, "strip", z.ZodTypeAny, {
3434
+ projectId: string;
3435
+ assetId: string;
3436
+ resolution: "4k" | "1080p";
3437
+ }, {
3438
+ projectId: string;
3439
+ assetId: string;
3440
+ resolution: "4k" | "1080p";
3441
+ }>;
3442
+ declare const paidDraftFinishInput: z.ZodObject<{
3443
+ projectId: z.ZodString;
3444
+ assetId: z.ZodString;
3445
+ resolution: z.ZodEnum<["1080p", "4k"]>;
3446
+ } & {
3447
+ confirm: z.ZodLiteral<true>;
3448
+ maxCredits: z.ZodNumber;
3449
+ }, "strip", z.ZodTypeAny, {
3450
+ projectId: string;
3451
+ assetId: string;
3452
+ resolution: "4k" | "1080p";
3453
+ confirm: true;
3454
+ maxCredits: number;
3455
+ }, {
3456
+ projectId: string;
3457
+ assetId: string;
3458
+ resolution: "4k" | "1080p";
3459
+ confirm: true;
3460
+ maxCredits: number;
3461
+ }>;
3462
+ export declare const quoteDraftFinish: Operation<z.infer<typeof draftFinishInput>>;
3463
+ export declare const finishDraft: Operation<z.infer<typeof paidDraftFinishInput>>;
3464
+ declare const quoteCutInput: z.ZodObject<{
3465
+ projectId: z.ZodString;
3466
+ timelineId: z.ZodString;
3467
+ } & {
3468
+ resolutions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<["1080p", "4k"]>>>;
3469
+ }, "strip", z.ZodTypeAny, {
3470
+ projectId: string;
3471
+ timelineId: string;
3472
+ resolutions?: Record<string, "4k" | "1080p"> | undefined;
3473
+ }, {
3474
+ projectId: string;
3475
+ timelineId: string;
3476
+ resolutions?: Record<string, "4k" | "1080p"> | undefined;
3477
+ }>;
3478
+ declare const cutFinishStatusInput: z.ZodObject<{
3479
+ projectId: z.ZodString;
3480
+ timelineId: z.ZodString;
3481
+ } & {
3482
+ quoteId: z.ZodString;
3483
+ }, "strip", z.ZodTypeAny, {
3484
+ projectId: string;
3485
+ timelineId: string;
3486
+ quoteId: string;
3487
+ }, {
3488
+ projectId: string;
3489
+ timelineId: string;
3490
+ quoteId: string;
3491
+ }>;
3492
+ declare const finishCutInput: z.ZodObject<{
3493
+ projectId: z.ZodString;
3494
+ timelineId: z.ZodString;
3495
+ } & {
3496
+ quoteId: z.ZodString;
3497
+ } & {
3498
+ confirm: z.ZodLiteral<true>;
3499
+ maxCredits: z.ZodNumber;
3500
+ }, "strip", z.ZodTypeAny, {
3501
+ projectId: string;
3502
+ timelineId: string;
3503
+ confirm: true;
3504
+ maxCredits: number;
3505
+ quoteId: string;
3506
+ }, {
3507
+ projectId: string;
3508
+ timelineId: string;
3509
+ confirm: true;
3510
+ maxCredits: number;
3511
+ quoteId: string;
3512
+ }>;
3513
+ export declare const quoteCutDrafts: Operation<z.infer<typeof quoteCutInput>>;
3514
+ export declare const finishCutDrafts: Operation<z.infer<typeof finishCutInput>>;
3515
+ export declare const getCutDraftStatus: Operation<z.infer<typeof cutFinishStatusInput>>;
3412
3516
  export declare const editCut: Operation<{
3413
3517
  projectId: string;
3414
3518
  timelineId?: string;
@@ -3457,6 +3561,12 @@ export declare const getPromptingGuide: Operation<{
3457
3561
  limit?: number;
3458
3562
  offset?: number;
3459
3563
  }>;
3564
+ export declare const rememberInMyBrain: Operation<{
3565
+ lesson?: string;
3566
+ file?: string;
3567
+ source?: string;
3568
+ replaces?: string;
3569
+ }>;
3460
3570
  /**
3461
3571
  * Task discovery and exact schemas share one operation. The desktop uses
3462
3572
  * names/group to replace its optional selection; MCP keeps its full list fixed.