@slatesvideo/shared 0.7.18 → 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.
- package/dist/analytics/events.js +13 -18
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/manual/content.d.ts +1 -1
- package/dist/manual/content.js +1 -1
- package/dist/operations/index.d.ts +294 -193
- package/dist/operations/index.js +189 -8
- package/dist/operations/surface.js +4 -0
- package/dist/prompts/agent-doctrine.js +1 -1
- package/dist/prompts/model-capabilities.js +3 -13
- package/dist/prompts/model-facts.js +2 -2
- package/dist/prompts/prompting-tips.js +2 -2
- package/dist/prompts/shot-spec.d.ts +1 -0
- package/dist/prompts/shot-spec.js +3 -0
- package/dist/skills/content.js +4 -2
- package/dist/skills/my-brain-write.d.ts +34 -0
- package/dist/skills/my-brain-write.js +126 -0
- package/package.json +1 -1
|
@@ -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
|
-
|
|
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
|
-
|
|
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;
|
|
@@ -1240,6 +1247,7 @@ export declare const generateVideo: Operation<{
|
|
|
1240
1247
|
sound?: boolean;
|
|
1241
1248
|
audioLanguage?: 'EN' | 'ZH' | 'JA' | 'KO' | 'ES';
|
|
1242
1249
|
generateMusic?: boolean;
|
|
1250
|
+
seedanceDraft?: boolean;
|
|
1243
1251
|
seedanceFace?: boolean;
|
|
1244
1252
|
seedanceRealFace?: boolean;
|
|
1245
1253
|
realFaceConsent?: boolean;
|
|
@@ -1464,6 +1472,9 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
|
|
|
1464
1472
|
action: z.ZodOptional<z.ZodOptional<z.ZodEnum<["start", "status", "cancel"]>>>;
|
|
1465
1473
|
}, "strict", z.ZodTypeAny, {
|
|
1466
1474
|
projectId: string;
|
|
1475
|
+
action?: "start" | "status" | "cancel" | undefined;
|
|
1476
|
+
directory?: string | undefined;
|
|
1477
|
+
manifestId?: string | undefined;
|
|
1467
1478
|
items?: ({
|
|
1468
1479
|
timelineId: string;
|
|
1469
1480
|
format: "mp4" | "xml";
|
|
@@ -1482,9 +1493,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
|
|
|
1482
1493
|
lp?: string | undefined;
|
|
1483
1494
|
} | undefined;
|
|
1484
1495
|
})[] | undefined;
|
|
1485
|
-
action?: "status" | "cancel" | "start" | undefined;
|
|
1486
|
-
directory?: string | undefined;
|
|
1487
|
-
manifestId?: string | undefined;
|
|
1488
1496
|
version?: 2 | undefined;
|
|
1489
1497
|
batchId?: string | undefined;
|
|
1490
1498
|
exportRoot?: string | undefined;
|
|
@@ -1507,6 +1515,9 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
|
|
|
1507
1515
|
}> | undefined;
|
|
1508
1516
|
}, {
|
|
1509
1517
|
projectId: string;
|
|
1518
|
+
action?: "start" | "status" | "cancel" | undefined;
|
|
1519
|
+
directory?: string | undefined;
|
|
1520
|
+
manifestId?: string | undefined;
|
|
1510
1521
|
items?: ({
|
|
1511
1522
|
timelineId: string;
|
|
1512
1523
|
format: "mp4" | "xml";
|
|
@@ -1525,9 +1536,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
|
|
|
1525
1536
|
lp?: string | undefined;
|
|
1526
1537
|
} | undefined;
|
|
1527
1538
|
})[] | undefined;
|
|
1528
|
-
action?: "status" | "cancel" | "start" | undefined;
|
|
1529
|
-
directory?: string | undefined;
|
|
1530
|
-
manifestId?: string | undefined;
|
|
1531
1539
|
version?: 2 | undefined;
|
|
1532
1540
|
batchId?: string | undefined;
|
|
1533
1541
|
exportRoot?: string | undefined;
|
|
@@ -1550,6 +1558,9 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
|
|
|
1550
1558
|
}> | undefined;
|
|
1551
1559
|
}>, {
|
|
1552
1560
|
projectId: string;
|
|
1561
|
+
action?: "start" | "status" | "cancel" | undefined;
|
|
1562
|
+
directory?: string | undefined;
|
|
1563
|
+
manifestId?: string | undefined;
|
|
1553
1564
|
items?: ({
|
|
1554
1565
|
timelineId: string;
|
|
1555
1566
|
format: "mp4" | "xml";
|
|
@@ -1568,9 +1579,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
|
|
|
1568
1579
|
lp?: string | undefined;
|
|
1569
1580
|
} | undefined;
|
|
1570
1581
|
})[] | undefined;
|
|
1571
|
-
action?: "status" | "cancel" | "start" | undefined;
|
|
1572
|
-
directory?: string | undefined;
|
|
1573
|
-
manifestId?: string | undefined;
|
|
1574
1582
|
version?: 2 | undefined;
|
|
1575
1583
|
batchId?: string | undefined;
|
|
1576
1584
|
exportRoot?: string | undefined;
|
|
@@ -1593,6 +1601,9 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
|
|
|
1593
1601
|
}> | undefined;
|
|
1594
1602
|
}, {
|
|
1595
1603
|
projectId: string;
|
|
1604
|
+
action?: "start" | "status" | "cancel" | undefined;
|
|
1605
|
+
directory?: string | undefined;
|
|
1606
|
+
manifestId?: string | undefined;
|
|
1596
1607
|
items?: ({
|
|
1597
1608
|
timelineId: string;
|
|
1598
1609
|
format: "mp4" | "xml";
|
|
@@ -1611,9 +1622,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
|
|
|
1611
1622
|
lp?: string | undefined;
|
|
1612
1623
|
} | undefined;
|
|
1613
1624
|
})[] | undefined;
|
|
1614
|
-
action?: "status" | "cancel" | "start" | undefined;
|
|
1615
|
-
directory?: string | undefined;
|
|
1616
|
-
manifestId?: string | undefined;
|
|
1617
1625
|
version?: 2 | undefined;
|
|
1618
1626
|
batchId?: string | undefined;
|
|
1619
1627
|
exportRoot?: string | undefined;
|
|
@@ -1691,27 +1699,27 @@ declare const variantSlotsInput: z.ZodObject<{
|
|
|
1691
1699
|
clipIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1692
1700
|
sequenceId: z.ZodOptional<z.ZodString>;
|
|
1693
1701
|
}, "strict", z.ZodTypeAny, {
|
|
1702
|
+
action: "add" | "update" | "remove" | "add-alternative" | "update-alternative" | "remove-alternative";
|
|
1694
1703
|
projectId: string;
|
|
1695
|
-
action: "add" | "remove" | "update" | "add-alternative" | "update-alternative" | "remove-alternative";
|
|
1696
1704
|
at?: number | undefined;
|
|
1697
|
-
name?: string | undefined;
|
|
1698
|
-
alternativeId?: string | undefined;
|
|
1699
1705
|
timelineId?: string | undefined;
|
|
1700
1706
|
slotId?: string | undefined;
|
|
1701
1707
|
slotName?: string | undefined;
|
|
1708
|
+
alternativeId?: string | undefined;
|
|
1709
|
+
name?: string | undefined;
|
|
1702
1710
|
orderIndex?: number | undefined;
|
|
1703
1711
|
bedFrame?: number | null | undefined;
|
|
1704
1712
|
clipIds?: string[] | undefined;
|
|
1705
1713
|
sequenceId?: string | undefined;
|
|
1706
1714
|
}, {
|
|
1715
|
+
action: "add" | "update" | "remove" | "add-alternative" | "update-alternative" | "remove-alternative";
|
|
1707
1716
|
projectId: string;
|
|
1708
|
-
action: "add" | "remove" | "update" | "add-alternative" | "update-alternative" | "remove-alternative";
|
|
1709
1717
|
at?: number | undefined;
|
|
1710
|
-
name?: string | undefined;
|
|
1711
|
-
alternativeId?: string | undefined;
|
|
1712
1718
|
timelineId?: string | undefined;
|
|
1713
1719
|
slotId?: string | undefined;
|
|
1714
1720
|
slotName?: string | undefined;
|
|
1721
|
+
alternativeId?: string | undefined;
|
|
1722
|
+
name?: string | undefined;
|
|
1715
1723
|
orderIndex?: number | undefined;
|
|
1716
1724
|
bedFrame?: number | null | undefined;
|
|
1717
1725
|
clipIds?: string[] | undefined;
|
|
@@ -1789,10 +1797,10 @@ declare const variantsInput: z.ZodObject<{
|
|
|
1789
1797
|
frames: number;
|
|
1790
1798
|
}>]>>>;
|
|
1791
1799
|
}, "strict", z.ZodTypeAny, {
|
|
1800
|
+
action: "add" | "update" | "remove" | "rebuild";
|
|
1792
1801
|
projectId: string;
|
|
1793
|
-
action: "add" | "remove" | "update" | "rebuild";
|
|
1794
|
-
name?: string | undefined;
|
|
1795
1802
|
timelineId?: string | undefined;
|
|
1803
|
+
name?: string | undefined;
|
|
1796
1804
|
variantId?: string | undefined;
|
|
1797
1805
|
combinations?: boolean | undefined;
|
|
1798
1806
|
choices?: Record<string, string> | undefined;
|
|
@@ -1815,10 +1823,10 @@ declare const variantsInput: z.ZodObject<{
|
|
|
1815
1823
|
}> | undefined;
|
|
1816
1824
|
}[] | undefined;
|
|
1817
1825
|
}, {
|
|
1826
|
+
action: "add" | "update" | "remove" | "rebuild";
|
|
1818
1827
|
projectId: string;
|
|
1819
|
-
action: "add" | "remove" | "update" | "rebuild";
|
|
1820
|
-
name?: string | undefined;
|
|
1821
1828
|
timelineId?: string | undefined;
|
|
1829
|
+
name?: string | undefined;
|
|
1822
1830
|
variantId?: string | undefined;
|
|
1823
1831
|
combinations?: boolean | undefined;
|
|
1824
1832
|
choices?: Record<string, string> | undefined;
|
|
@@ -1875,41 +1883,41 @@ declare const reframeClipInput: z.ZodObject<{
|
|
|
1875
1883
|
focusY: z.ZodOptional<z.ZodNumber>;
|
|
1876
1884
|
zoom: z.ZodOptional<z.ZodNumber>;
|
|
1877
1885
|
}, "strict", z.ZodTypeAny, {
|
|
1886
|
+
zoom?: number | undefined;
|
|
1878
1887
|
mode?: "fill" | "fit" | undefined;
|
|
1879
1888
|
focusX?: number | undefined;
|
|
1880
1889
|
focusY?: number | undefined;
|
|
1881
|
-
zoom?: number | undefined;
|
|
1882
1890
|
}, {
|
|
1891
|
+
zoom?: number | undefined;
|
|
1883
1892
|
mode?: "fill" | "fit" | undefined;
|
|
1884
1893
|
focusX?: number | undefined;
|
|
1885
1894
|
focusY?: number | undefined;
|
|
1886
|
-
zoom?: number | undefined;
|
|
1887
1895
|
}>>>;
|
|
1888
1896
|
follow: z.ZodOptional<z.ZodEnum<["face", "off"]>>;
|
|
1889
1897
|
}, "strict", z.ZodTypeAny, {
|
|
1890
1898
|
projectId: string;
|
|
1891
1899
|
timelineId: string;
|
|
1892
|
-
clipId: string;
|
|
1893
1900
|
aspect: string;
|
|
1901
|
+
clipId: string;
|
|
1894
1902
|
framing?: {
|
|
1903
|
+
zoom?: number | undefined;
|
|
1895
1904
|
mode?: "fill" | "fit" | undefined;
|
|
1896
1905
|
focusX?: number | undefined;
|
|
1897
1906
|
focusY?: number | undefined;
|
|
1898
|
-
zoom?: number | undefined;
|
|
1899
1907
|
} | null | undefined;
|
|
1900
|
-
follow?: "
|
|
1908
|
+
follow?: "off" | "face" | undefined;
|
|
1901
1909
|
}, {
|
|
1902
1910
|
projectId: string;
|
|
1903
1911
|
timelineId: string;
|
|
1904
|
-
clipId: string;
|
|
1905
1912
|
aspect: string;
|
|
1913
|
+
clipId: string;
|
|
1906
1914
|
framing?: {
|
|
1915
|
+
zoom?: number | undefined;
|
|
1907
1916
|
mode?: "fill" | "fit" | undefined;
|
|
1908
1917
|
focusX?: number | undefined;
|
|
1909
1918
|
focusY?: number | undefined;
|
|
1910
|
-
zoom?: number | undefined;
|
|
1911
1919
|
} | null | undefined;
|
|
1912
|
-
follow?: "
|
|
1920
|
+
follow?: "off" | "face" | undefined;
|
|
1913
1921
|
}>;
|
|
1914
1922
|
export declare const reframeClip: Operation<z.infer<typeof reframeClipInput>>;
|
|
1915
1923
|
export declare const listTimelines: Operation<{
|
|
@@ -2130,12 +2138,6 @@ declare const audioEffectList: z.ZodArray<z.ZodObject<{
|
|
|
2130
2138
|
}>, "many">>>;
|
|
2131
2139
|
}, "strict", z.ZodTypeAny, {
|
|
2132
2140
|
type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
|
|
2133
|
-
on?: boolean | undefined;
|
|
2134
|
-
band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
|
|
2135
|
-
frequency?: number | undefined;
|
|
2136
|
-
gain?: number | undefined;
|
|
2137
|
-
q?: number | undefined;
|
|
2138
|
-
slope?: number | undefined;
|
|
2139
2141
|
keyframes?: Record<string, {
|
|
2140
2142
|
value: number;
|
|
2141
2143
|
frame: number;
|
|
@@ -2143,14 +2145,14 @@ declare const audioEffectList: z.ZodArray<z.ZodObject<{
|
|
|
2143
2145
|
cubicBezier: [number, number, number, number];
|
|
2144
2146
|
} | undefined;
|
|
2145
2147
|
}[]> | undefined;
|
|
2146
|
-
}, {
|
|
2147
|
-
type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
|
|
2148
|
-
on?: boolean | undefined;
|
|
2149
2148
|
band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
|
|
2149
|
+
on?: boolean | undefined;
|
|
2150
2150
|
frequency?: number | undefined;
|
|
2151
2151
|
gain?: number | undefined;
|
|
2152
2152
|
q?: number | undefined;
|
|
2153
2153
|
slope?: number | undefined;
|
|
2154
|
+
}, {
|
|
2155
|
+
type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
|
|
2154
2156
|
keyframes?: Record<string, {
|
|
2155
2157
|
value: number;
|
|
2156
2158
|
frame: number;
|
|
@@ -2158,11 +2160,18 @@ declare const audioEffectList: z.ZodArray<z.ZodObject<{
|
|
|
2158
2160
|
cubicBezier: [number, number, number, number];
|
|
2159
2161
|
} | undefined;
|
|
2160
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;
|
|
2161
2169
|
}>, "many">>;
|
|
2162
2170
|
}, "strict", z.ZodTypeAny, {
|
|
2163
2171
|
type: "volume" | "eq";
|
|
2164
|
-
id?: string | undefined;
|
|
2165
2172
|
params?: Record<string, number> | undefined;
|
|
2173
|
+
id?: string | undefined;
|
|
2174
|
+
bypass?: boolean | undefined;
|
|
2166
2175
|
keyframes?: Record<string, {
|
|
2167
2176
|
value: number;
|
|
2168
2177
|
frame: number;
|
|
@@ -2170,15 +2179,8 @@ declare const audioEffectList: z.ZodArray<z.ZodObject<{
|
|
|
2170
2179
|
cubicBezier: [number, number, number, number];
|
|
2171
2180
|
} | undefined;
|
|
2172
2181
|
}[]> | undefined;
|
|
2173
|
-
bypass?: boolean | undefined;
|
|
2174
2182
|
bands?: {
|
|
2175
2183
|
type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
|
|
2176
|
-
on?: boolean | undefined;
|
|
2177
|
-
band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
|
|
2178
|
-
frequency?: number | undefined;
|
|
2179
|
-
gain?: number | undefined;
|
|
2180
|
-
q?: number | undefined;
|
|
2181
|
-
slope?: number | undefined;
|
|
2182
2184
|
keyframes?: Record<string, {
|
|
2183
2185
|
value: number;
|
|
2184
2186
|
frame: number;
|
|
@@ -2186,11 +2188,18 @@ declare const audioEffectList: z.ZodArray<z.ZodObject<{
|
|
|
2186
2188
|
cubicBezier: [number, number, number, number];
|
|
2187
2189
|
} | undefined;
|
|
2188
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;
|
|
2189
2197
|
}[] | undefined;
|
|
2190
2198
|
}, {
|
|
2191
2199
|
type: "volume" | "eq";
|
|
2192
|
-
id?: string | undefined;
|
|
2193
2200
|
params?: Record<string, number> | undefined;
|
|
2201
|
+
id?: string | undefined;
|
|
2202
|
+
bypass?: boolean | undefined;
|
|
2194
2203
|
keyframes?: Record<string, {
|
|
2195
2204
|
value: number;
|
|
2196
2205
|
frame: number;
|
|
@@ -2198,15 +2207,8 @@ declare const audioEffectList: z.ZodArray<z.ZodObject<{
|
|
|
2198
2207
|
cubicBezier: [number, number, number, number];
|
|
2199
2208
|
} | undefined;
|
|
2200
2209
|
}[]> | undefined;
|
|
2201
|
-
bypass?: boolean | undefined;
|
|
2202
2210
|
bands?: {
|
|
2203
2211
|
type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
|
|
2204
|
-
on?: boolean | undefined;
|
|
2205
|
-
band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
|
|
2206
|
-
frequency?: number | undefined;
|
|
2207
|
-
gain?: number | undefined;
|
|
2208
|
-
q?: number | undefined;
|
|
2209
|
-
slope?: number | undefined;
|
|
2210
2212
|
keyframes?: Record<string, {
|
|
2211
2213
|
value: number;
|
|
2212
2214
|
frame: number;
|
|
@@ -2214,6 +2216,12 @@ declare const audioEffectList: z.ZodArray<z.ZodObject<{
|
|
|
2214
2216
|
cubicBezier: [number, number, number, number];
|
|
2215
2217
|
} | undefined;
|
|
2216
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;
|
|
2217
2225
|
}[] | undefined;
|
|
2218
2226
|
}>, "many">;
|
|
2219
2227
|
/** A clip's panel (slate's `src/shared/clipPanel.ts`): lengths in fractions of the frame's height. */
|
|
@@ -2243,13 +2251,13 @@ declare const clipPanel: z.ZodObject<{
|
|
|
2243
2251
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2244
2252
|
color: z.ZodOptional<z.ZodString>;
|
|
2245
2253
|
}, "strict", z.ZodTypeAny, {
|
|
2246
|
-
width?: number | undefined;
|
|
2247
2254
|
opacity?: number | undefined;
|
|
2248
2255
|
color?: string | undefined;
|
|
2249
|
-
}, {
|
|
2250
2256
|
width?: number | undefined;
|
|
2257
|
+
}, {
|
|
2251
2258
|
opacity?: number | undefined;
|
|
2252
2259
|
color?: string | undefined;
|
|
2260
|
+
width?: number | undefined;
|
|
2253
2261
|
}>>;
|
|
2254
2262
|
}, "strict", z.ZodTypeAny, {
|
|
2255
2263
|
radius?: number | undefined;
|
|
@@ -2261,9 +2269,9 @@ declare const clipPanel: z.ZodObject<{
|
|
|
2261
2269
|
color?: string | undefined;
|
|
2262
2270
|
} | undefined;
|
|
2263
2271
|
border?: {
|
|
2264
|
-
width?: number | undefined;
|
|
2265
2272
|
opacity?: number | undefined;
|
|
2266
2273
|
color?: string | undefined;
|
|
2274
|
+
width?: number | undefined;
|
|
2267
2275
|
} | undefined;
|
|
2268
2276
|
}, {
|
|
2269
2277
|
radius?: number | undefined;
|
|
@@ -2275,9 +2283,9 @@ declare const clipPanel: z.ZodObject<{
|
|
|
2275
2283
|
color?: string | undefined;
|
|
2276
2284
|
} | undefined;
|
|
2277
2285
|
border?: {
|
|
2278
|
-
width?: number | undefined;
|
|
2279
2286
|
opacity?: number | undefined;
|
|
2280
2287
|
color?: string | undefined;
|
|
2288
|
+
width?: number | undefined;
|
|
2281
2289
|
} | undefined;
|
|
2282
2290
|
}>;
|
|
2283
2291
|
export declare const updateClip: Operation<{
|
|
@@ -2863,34 +2871,34 @@ declare const variationSchema: z.ZodObject<{
|
|
|
2863
2871
|
sectionId: z.ZodString;
|
|
2864
2872
|
alternativeId: z.ZodString;
|
|
2865
2873
|
}, "strip", z.ZodTypeAny, {
|
|
2866
|
-
sectionId: string;
|
|
2867
2874
|
alternativeId: string;
|
|
2868
|
-
}, {
|
|
2869
2875
|
sectionId: string;
|
|
2876
|
+
}, {
|
|
2870
2877
|
alternativeId: string;
|
|
2878
|
+
sectionId: string;
|
|
2871
2879
|
}>, "many">;
|
|
2872
2880
|
arrangement: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2873
2881
|
sectionId: z.ZodString;
|
|
2874
2882
|
alternativeId: z.ZodString;
|
|
2875
2883
|
}, "strip", z.ZodTypeAny, {
|
|
2876
|
-
sectionId: string;
|
|
2877
2884
|
alternativeId: string;
|
|
2878
|
-
}, {
|
|
2879
2885
|
sectionId: string;
|
|
2886
|
+
}, {
|
|
2880
2887
|
alternativeId: string;
|
|
2888
|
+
sectionId: string;
|
|
2881
2889
|
}>, "many">>;
|
|
2882
2890
|
itemOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2883
2891
|
from: z.ZodString;
|
|
2884
2892
|
to: z.ZodString;
|
|
2885
2893
|
voice: z.ZodEnum<["keep", "replace"]>;
|
|
2886
2894
|
}, "strip", z.ZodTypeAny, {
|
|
2887
|
-
voice: "replace" | "keep";
|
|
2888
2895
|
from: string;
|
|
2889
2896
|
to: string;
|
|
2897
|
+
voice: "keep" | "replace";
|
|
2890
2898
|
}, {
|
|
2891
|
-
voice: "replace" | "keep";
|
|
2892
2899
|
from: string;
|
|
2893
2900
|
to: string;
|
|
2901
|
+
voice: "keep" | "replace";
|
|
2894
2902
|
}>, "many">>;
|
|
2895
2903
|
assetOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2896
2904
|
from: z.ZodString;
|
|
@@ -2905,20 +2913,20 @@ declare const variationSchema: z.ZodObject<{
|
|
|
2905
2913
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
2906
2914
|
}, "strip", z.ZodTypeAny, {
|
|
2907
2915
|
name: string;
|
|
2908
|
-
storyboardId: string;
|
|
2909
2916
|
choices: {
|
|
2910
|
-
sectionId: string;
|
|
2911
2917
|
alternativeId: string;
|
|
2918
|
+
sectionId: string;
|
|
2912
2919
|
}[];
|
|
2920
|
+
storyboardId: string;
|
|
2913
2921
|
expectedRevision: number;
|
|
2914
2922
|
arrangement?: {
|
|
2915
|
-
sectionId: string;
|
|
2916
2923
|
alternativeId: string;
|
|
2924
|
+
sectionId: string;
|
|
2917
2925
|
}[] | undefined;
|
|
2918
2926
|
itemOverrides?: {
|
|
2919
|
-
voice: "replace" | "keep";
|
|
2920
2927
|
from: string;
|
|
2921
2928
|
to: string;
|
|
2929
|
+
voice: "keep" | "replace";
|
|
2922
2930
|
}[] | undefined;
|
|
2923
2931
|
assetOverrides?: {
|
|
2924
2932
|
from: string;
|
|
@@ -2927,20 +2935,20 @@ declare const variationSchema: z.ZodObject<{
|
|
|
2927
2935
|
idempotencyKey?: string | undefined;
|
|
2928
2936
|
}, {
|
|
2929
2937
|
name: string;
|
|
2930
|
-
storyboardId: string;
|
|
2931
2938
|
choices: {
|
|
2932
|
-
sectionId: string;
|
|
2933
2939
|
alternativeId: string;
|
|
2940
|
+
sectionId: string;
|
|
2934
2941
|
}[];
|
|
2942
|
+
storyboardId: string;
|
|
2935
2943
|
expectedRevision: number;
|
|
2936
2944
|
arrangement?: {
|
|
2937
|
-
sectionId: string;
|
|
2938
2945
|
alternativeId: string;
|
|
2946
|
+
sectionId: string;
|
|
2939
2947
|
}[] | undefined;
|
|
2940
2948
|
itemOverrides?: {
|
|
2941
|
-
voice: "replace" | "keep";
|
|
2942
2949
|
from: string;
|
|
2943
2950
|
to: string;
|
|
2951
|
+
voice: "keep" | "replace";
|
|
2944
2952
|
}[] | undefined;
|
|
2945
2953
|
assetOverrides?: {
|
|
2946
2954
|
from: string;
|
|
@@ -2980,80 +2988,80 @@ declare const sectionInput: z.ZodObject<{
|
|
|
2980
2988
|
expectedRevision: z.ZodNumber;
|
|
2981
2989
|
}, "strip", z.ZodTypeAny, {
|
|
2982
2990
|
at: number;
|
|
2983
|
-
sceneId: string;
|
|
2984
2991
|
expectedRevision: number;
|
|
2992
|
+
sceneId: string;
|
|
2985
2993
|
}, {
|
|
2986
2994
|
at: number;
|
|
2987
|
-
sceneId: string;
|
|
2988
2995
|
expectedRevision: number;
|
|
2996
|
+
sceneId: string;
|
|
2989
2997
|
}>>;
|
|
2990
2998
|
uses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2991
2999
|
sectionId: z.ZodString;
|
|
2992
3000
|
expectedRevision: z.ZodNumber;
|
|
2993
3001
|
}, "strip", z.ZodTypeAny, {
|
|
2994
|
-
sectionId: string;
|
|
2995
3002
|
expectedRevision: number;
|
|
2996
|
-
}, {
|
|
2997
3003
|
sectionId: string;
|
|
3004
|
+
}, {
|
|
2998
3005
|
expectedRevision: number;
|
|
3006
|
+
sectionId: string;
|
|
2999
3007
|
}>, "many">>;
|
|
3000
3008
|
fragments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3001
3009
|
sceneId: z.ZodString;
|
|
3002
3010
|
start: z.ZodNumber;
|
|
3003
3011
|
end: z.ZodNumber;
|
|
3004
3012
|
}, "strip", z.ZodTypeAny, {
|
|
3005
|
-
sceneId: string;
|
|
3006
3013
|
start: number;
|
|
3014
|
+
sceneId: string;
|
|
3007
3015
|
end: number;
|
|
3008
3016
|
}, {
|
|
3009
|
-
sceneId: string;
|
|
3010
3017
|
start: number;
|
|
3018
|
+
sceneId: string;
|
|
3011
3019
|
end: number;
|
|
3012
3020
|
}>, "many">>;
|
|
3013
3021
|
}, "strip", z.ZodTypeAny, {
|
|
3014
|
-
action: "
|
|
3022
|
+
action: "create" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "rename" | "archive" | "tags";
|
|
3015
3023
|
storyboardId: string;
|
|
3016
3024
|
expectedRevision: number;
|
|
3025
|
+
alternativeId?: string | undefined;
|
|
3026
|
+
sectionId?: string | undefined;
|
|
3027
|
+
tags?: string[] | undefined;
|
|
3028
|
+
parentId?: string | undefined;
|
|
3029
|
+
label?: string | undefined;
|
|
3017
3030
|
target?: {
|
|
3018
3031
|
at: number;
|
|
3019
|
-
sceneId: string;
|
|
3020
3032
|
expectedRevision: number;
|
|
3033
|
+
sceneId: string;
|
|
3021
3034
|
} | undefined;
|
|
3022
|
-
label?: string | undefined;
|
|
3023
|
-
sectionId?: string | undefined;
|
|
3024
|
-
alternativeId?: string | undefined;
|
|
3025
|
-
tags?: string[] | undefined;
|
|
3026
|
-
parentId?: string | undefined;
|
|
3027
3035
|
uses?: {
|
|
3028
|
-
sectionId: string;
|
|
3029
3036
|
expectedRevision: number;
|
|
3037
|
+
sectionId: string;
|
|
3030
3038
|
}[] | undefined;
|
|
3031
3039
|
fragments?: {
|
|
3032
|
-
sceneId: string;
|
|
3033
3040
|
start: number;
|
|
3041
|
+
sceneId: string;
|
|
3034
3042
|
end: number;
|
|
3035
3043
|
}[] | undefined;
|
|
3036
3044
|
}, {
|
|
3037
|
-
action: "
|
|
3045
|
+
action: "create" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "rename" | "archive" | "tags";
|
|
3038
3046
|
storyboardId: string;
|
|
3039
3047
|
expectedRevision: number;
|
|
3048
|
+
alternativeId?: string | undefined;
|
|
3049
|
+
sectionId?: string | undefined;
|
|
3050
|
+
tags?: string[] | undefined;
|
|
3051
|
+
parentId?: string | undefined;
|
|
3052
|
+
label?: string | undefined;
|
|
3040
3053
|
target?: {
|
|
3041
3054
|
at: number;
|
|
3042
|
-
sceneId: string;
|
|
3043
3055
|
expectedRevision: number;
|
|
3056
|
+
sceneId: string;
|
|
3044
3057
|
} | undefined;
|
|
3045
|
-
label?: string | undefined;
|
|
3046
|
-
sectionId?: string | undefined;
|
|
3047
|
-
alternativeId?: string | undefined;
|
|
3048
|
-
tags?: string[] | undefined;
|
|
3049
|
-
parentId?: string | undefined;
|
|
3050
3058
|
uses?: {
|
|
3051
|
-
sectionId: string;
|
|
3052
3059
|
expectedRevision: number;
|
|
3060
|
+
sectionId: string;
|
|
3053
3061
|
}[] | undefined;
|
|
3054
3062
|
fragments?: {
|
|
3055
|
-
sceneId: string;
|
|
3056
3063
|
start: number;
|
|
3064
|
+
sceneId: string;
|
|
3057
3065
|
end: number;
|
|
3058
3066
|
}[] | undefined;
|
|
3059
3067
|
}>;
|
|
@@ -3073,15 +3081,15 @@ declare const suggestionInput: z.ZodObject<{
|
|
|
3073
3081
|
replacement: z.ZodString;
|
|
3074
3082
|
note: z.ZodOptional<z.ZodString>;
|
|
3075
3083
|
}, "strip", z.ZodTypeAny, {
|
|
3076
|
-
sceneId: string;
|
|
3077
3084
|
start: number;
|
|
3085
|
+
sceneId: string;
|
|
3078
3086
|
end: number;
|
|
3079
3087
|
original: string;
|
|
3080
3088
|
replacement: string;
|
|
3081
3089
|
note?: string | undefined;
|
|
3082
3090
|
}, {
|
|
3083
|
-
sceneId: string;
|
|
3084
3091
|
start: number;
|
|
3092
|
+
sceneId: string;
|
|
3085
3093
|
end: number;
|
|
3086
3094
|
original: string;
|
|
3087
3095
|
replacement: string;
|
|
@@ -3093,8 +3101,8 @@ declare const suggestionInput: z.ZodObject<{
|
|
|
3093
3101
|
storyboardId: string;
|
|
3094
3102
|
expectedRevision: number;
|
|
3095
3103
|
suggestions?: {
|
|
3096
|
-
sceneId: string;
|
|
3097
3104
|
start: number;
|
|
3105
|
+
sceneId: string;
|
|
3098
3106
|
end: number;
|
|
3099
3107
|
original: string;
|
|
3100
3108
|
replacement: string;
|
|
@@ -3106,8 +3114,8 @@ declare const suggestionInput: z.ZodObject<{
|
|
|
3106
3114
|
storyboardId: string;
|
|
3107
3115
|
expectedRevision: number;
|
|
3108
3116
|
suggestions?: {
|
|
3109
|
-
sceneId: string;
|
|
3110
3117
|
start: number;
|
|
3118
|
+
sceneId: string;
|
|
3111
3119
|
end: number;
|
|
3112
3120
|
original: string;
|
|
3113
3121
|
replacement: string;
|
|
@@ -3128,13 +3136,13 @@ declare const writeScriptDocumentInput: z.ZodObject<{
|
|
|
3128
3136
|
removed: z.ZodNumber;
|
|
3129
3137
|
text: z.ZodString;
|
|
3130
3138
|
}, "strip", z.ZodTypeAny, {
|
|
3131
|
-
at: number;
|
|
3132
3139
|
text: string;
|
|
3140
|
+
at: number;
|
|
3133
3141
|
sceneId: string;
|
|
3134
3142
|
removed: number;
|
|
3135
3143
|
}, {
|
|
3136
|
-
at: number;
|
|
3137
3144
|
text: string;
|
|
3145
|
+
at: number;
|
|
3138
3146
|
sceneId: string;
|
|
3139
3147
|
removed: number;
|
|
3140
3148
|
}>, "many">;
|
|
@@ -3152,68 +3160,68 @@ declare const writeScriptDocumentInput: z.ZodObject<{
|
|
|
3152
3160
|
end: z.ZodNumber;
|
|
3153
3161
|
type: z.ZodEnum<["strong", "em"]>;
|
|
3154
3162
|
}, "strip", z.ZodTypeAny, {
|
|
3155
|
-
type: "strong" | "em";
|
|
3156
3163
|
start: number;
|
|
3164
|
+
type: "strong" | "em";
|
|
3157
3165
|
end: number;
|
|
3158
3166
|
}, {
|
|
3159
|
-
type: "strong" | "em";
|
|
3160
3167
|
start: number;
|
|
3168
|
+
type: "strong" | "em";
|
|
3161
3169
|
end: number;
|
|
3162
3170
|
}>, "many">;
|
|
3163
3171
|
}, "strip", z.ZodTypeAny, {
|
|
3164
|
-
id: string;
|
|
3165
|
-
kind: "direction" | "paragraph" | "heading";
|
|
3166
3172
|
start: number;
|
|
3173
|
+
kind: "paragraph" | "heading" | "direction";
|
|
3167
3174
|
end: number;
|
|
3175
|
+
id: string;
|
|
3168
3176
|
marks: {
|
|
3169
|
-
type: "strong" | "em";
|
|
3170
3177
|
start: number;
|
|
3178
|
+
type: "strong" | "em";
|
|
3171
3179
|
end: number;
|
|
3172
3180
|
}[];
|
|
3173
|
-
level?: 2 | 3 | undefined;
|
|
3174
3181
|
label?: string | undefined;
|
|
3182
|
+
level?: 2 | 3 | undefined;
|
|
3175
3183
|
}, {
|
|
3176
|
-
id: string;
|
|
3177
|
-
kind: "direction" | "paragraph" | "heading";
|
|
3178
3184
|
start: number;
|
|
3185
|
+
kind: "paragraph" | "heading" | "direction";
|
|
3179
3186
|
end: number;
|
|
3187
|
+
id: string;
|
|
3180
3188
|
marks: {
|
|
3181
|
-
type: "strong" | "em";
|
|
3182
3189
|
start: number;
|
|
3190
|
+
type: "strong" | "em";
|
|
3183
3191
|
end: number;
|
|
3184
3192
|
}[];
|
|
3185
|
-
level?: 2 | 3 | undefined;
|
|
3186
3193
|
label?: string | undefined;
|
|
3194
|
+
level?: 2 | 3 | undefined;
|
|
3187
3195
|
}>, "many">;
|
|
3188
3196
|
}, "strip", z.ZodTypeAny, {
|
|
3189
3197
|
sceneId: string;
|
|
3190
3198
|
blocks: {
|
|
3191
|
-
id: string;
|
|
3192
|
-
kind: "direction" | "paragraph" | "heading";
|
|
3193
3199
|
start: number;
|
|
3200
|
+
kind: "paragraph" | "heading" | "direction";
|
|
3194
3201
|
end: number;
|
|
3202
|
+
id: string;
|
|
3195
3203
|
marks: {
|
|
3196
|
-
type: "strong" | "em";
|
|
3197
3204
|
start: number;
|
|
3205
|
+
type: "strong" | "em";
|
|
3198
3206
|
end: number;
|
|
3199
3207
|
}[];
|
|
3200
|
-
level?: 2 | 3 | undefined;
|
|
3201
3208
|
label?: string | undefined;
|
|
3209
|
+
level?: 2 | 3 | undefined;
|
|
3202
3210
|
}[];
|
|
3203
3211
|
}, {
|
|
3204
3212
|
sceneId: string;
|
|
3205
3213
|
blocks: {
|
|
3206
|
-
id: string;
|
|
3207
|
-
kind: "direction" | "paragraph" | "heading";
|
|
3208
3214
|
start: number;
|
|
3215
|
+
kind: "paragraph" | "heading" | "direction";
|
|
3209
3216
|
end: number;
|
|
3217
|
+
id: string;
|
|
3210
3218
|
marks: {
|
|
3211
|
-
type: "strong" | "em";
|
|
3212
3219
|
start: number;
|
|
3220
|
+
type: "strong" | "em";
|
|
3213
3221
|
end: number;
|
|
3214
3222
|
}[];
|
|
3215
|
-
level?: 2 | 3 | undefined;
|
|
3216
3223
|
label?: string | undefined;
|
|
3224
|
+
level?: 2 | 3 | undefined;
|
|
3217
3225
|
}[];
|
|
3218
3226
|
}>, "many">>;
|
|
3219
3227
|
move: z.ZodOptional<z.ZodObject<{
|
|
@@ -3235,13 +3243,13 @@ declare const writeScriptDocumentInput: z.ZodObject<{
|
|
|
3235
3243
|
end: z.ZodNumber;
|
|
3236
3244
|
waitingShotId: z.ZodOptional<z.ZodString>;
|
|
3237
3245
|
}, "strip", z.ZodTypeAny, {
|
|
3238
|
-
sceneId: string;
|
|
3239
3246
|
start: number;
|
|
3247
|
+
sceneId: string;
|
|
3240
3248
|
end: number;
|
|
3241
3249
|
waitingShotId?: string | undefined;
|
|
3242
3250
|
}, {
|
|
3243
|
-
sceneId: string;
|
|
3244
3251
|
start: number;
|
|
3252
|
+
sceneId: string;
|
|
3245
3253
|
end: number;
|
|
3246
3254
|
waitingShotId?: string | undefined;
|
|
3247
3255
|
}>, "many">>;
|
|
@@ -3270,38 +3278,38 @@ declare const writeScriptDocumentInput: z.ZodObject<{
|
|
|
3270
3278
|
sceneId: string;
|
|
3271
3279
|
}>]>>;
|
|
3272
3280
|
}, "strip", z.ZodTypeAny, {
|
|
3281
|
+
storyboardId: string;
|
|
3282
|
+
expectedRevision: number;
|
|
3273
3283
|
edits: {
|
|
3274
|
-
at: number;
|
|
3275
3284
|
text: string;
|
|
3285
|
+
at: number;
|
|
3276
3286
|
sceneId: string;
|
|
3277
3287
|
removed: number;
|
|
3278
3288
|
}[];
|
|
3279
|
-
storyboardId: string;
|
|
3280
|
-
expectedRevision: number;
|
|
3281
|
-
move?: {
|
|
3282
|
-
sceneId: string;
|
|
3283
|
-
blockId: string;
|
|
3284
|
-
delta: 1 | -1;
|
|
3285
|
-
} | undefined;
|
|
3286
3289
|
structures?: {
|
|
3287
3290
|
sceneId: string;
|
|
3288
3291
|
blocks: {
|
|
3289
|
-
id: string;
|
|
3290
|
-
kind: "direction" | "paragraph" | "heading";
|
|
3291
3292
|
start: number;
|
|
3293
|
+
kind: "paragraph" | "heading" | "direction";
|
|
3292
3294
|
end: number;
|
|
3295
|
+
id: string;
|
|
3293
3296
|
marks: {
|
|
3294
|
-
type: "strong" | "em";
|
|
3295
3297
|
start: number;
|
|
3298
|
+
type: "strong" | "em";
|
|
3296
3299
|
end: number;
|
|
3297
3300
|
}[];
|
|
3298
|
-
level?: 2 | 3 | undefined;
|
|
3299
3301
|
label?: string | undefined;
|
|
3302
|
+
level?: 2 | 3 | undefined;
|
|
3300
3303
|
}[];
|
|
3301
3304
|
}[] | undefined;
|
|
3302
|
-
|
|
3305
|
+
move?: {
|
|
3303
3306
|
sceneId: string;
|
|
3307
|
+
blockId: string;
|
|
3308
|
+
delta: 1 | -1;
|
|
3309
|
+
} | undefined;
|
|
3310
|
+
makeShots?: {
|
|
3304
3311
|
start: number;
|
|
3312
|
+
sceneId: string;
|
|
3305
3313
|
end: number;
|
|
3306
3314
|
waitingShotId?: string | undefined;
|
|
3307
3315
|
}[] | undefined;
|
|
@@ -3316,38 +3324,38 @@ declare const writeScriptDocumentInput: z.ZodObject<{
|
|
|
3316
3324
|
sceneId: string;
|
|
3317
3325
|
} | undefined;
|
|
3318
3326
|
}, {
|
|
3327
|
+
storyboardId: string;
|
|
3328
|
+
expectedRevision: number;
|
|
3319
3329
|
edits: {
|
|
3320
|
-
at: number;
|
|
3321
3330
|
text: string;
|
|
3331
|
+
at: number;
|
|
3322
3332
|
sceneId: string;
|
|
3323
3333
|
removed: number;
|
|
3324
3334
|
}[];
|
|
3325
|
-
storyboardId: string;
|
|
3326
|
-
expectedRevision: number;
|
|
3327
|
-
move?: {
|
|
3328
|
-
sceneId: string;
|
|
3329
|
-
blockId: string;
|
|
3330
|
-
delta: 1 | -1;
|
|
3331
|
-
} | undefined;
|
|
3332
3335
|
structures?: {
|
|
3333
3336
|
sceneId: string;
|
|
3334
3337
|
blocks: {
|
|
3335
|
-
id: string;
|
|
3336
|
-
kind: "direction" | "paragraph" | "heading";
|
|
3337
3338
|
start: number;
|
|
3339
|
+
kind: "paragraph" | "heading" | "direction";
|
|
3338
3340
|
end: number;
|
|
3341
|
+
id: string;
|
|
3339
3342
|
marks: {
|
|
3340
|
-
type: "strong" | "em";
|
|
3341
3343
|
start: number;
|
|
3344
|
+
type: "strong" | "em";
|
|
3342
3345
|
end: number;
|
|
3343
3346
|
}[];
|
|
3344
|
-
level?: 2 | 3 | undefined;
|
|
3345
3347
|
label?: string | undefined;
|
|
3348
|
+
level?: 2 | 3 | undefined;
|
|
3346
3349
|
}[];
|
|
3347
3350
|
}[] | undefined;
|
|
3348
|
-
|
|
3351
|
+
move?: {
|
|
3349
3352
|
sceneId: string;
|
|
3353
|
+
blockId: string;
|
|
3354
|
+
delta: 1 | -1;
|
|
3355
|
+
} | undefined;
|
|
3356
|
+
makeShots?: {
|
|
3350
3357
|
start: number;
|
|
3358
|
+
sceneId: string;
|
|
3351
3359
|
end: number;
|
|
3352
3360
|
waitingShotId?: string | undefined;
|
|
3353
3361
|
}[] | undefined;
|
|
@@ -3418,6 +3426,93 @@ export declare const quoteBoard: Operation<{
|
|
|
3418
3426
|
export declare const getBoardProgress: Operation<{
|
|
3419
3427
|
projectId: string;
|
|
3420
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>>;
|
|
3421
3516
|
export declare const editCut: Operation<{
|
|
3422
3517
|
projectId: string;
|
|
3423
3518
|
timelineId?: string;
|
|
@@ -3466,6 +3561,12 @@ export declare const getPromptingGuide: Operation<{
|
|
|
3466
3561
|
limit?: number;
|
|
3467
3562
|
offset?: number;
|
|
3468
3563
|
}>;
|
|
3564
|
+
export declare const rememberInMyBrain: Operation<{
|
|
3565
|
+
lesson?: string;
|
|
3566
|
+
file?: string;
|
|
3567
|
+
source?: string;
|
|
3568
|
+
replaces?: string;
|
|
3569
|
+
}>;
|
|
3469
3570
|
/**
|
|
3470
3571
|
* Task discovery and exact schemas share one operation. The desktop uses
|
|
3471
3572
|
* names/group to replace its optional selection; MCP keeps its full list fixed.
|