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