@slatesvideo/shared 0.7.7 → 0.7.9
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/README.md +3 -6
- package/dist/analytics/events.d.ts +1 -1
- package/dist/analytics/events.js +7 -0
- package/dist/auth.d.ts +2 -0
- package/dist/auth.js +5 -0
- package/dist/clients/cloud.d.ts +2 -0
- package/dist/clients/cloud.js +5 -1
- package/dist/clients/desktop.js +6 -1
- package/dist/index.d.ts +7 -3
- package/dist/index.js +7 -3
- package/dist/manual/content.d.ts +1 -1
- package/dist/manual/content.js +1 -1
- package/dist/operations/index.d.ts +724 -173
- package/dist/operations/index.js +875 -65
- package/dist/operations/surface.d.ts +2 -2
- package/dist/operations/surface.js +26 -6
- package/dist/prompts/agent-doctrine.d.ts +12 -2
- package/dist/prompts/agent-doctrine.js +56 -28
- package/dist/prompts/banned-tokens.js +23 -13
- package/dist/prompts/brain.d.ts +29 -0
- package/dist/prompts/brain.js +72 -0
- package/dist/prompts/craft-cards.d.ts +15 -4
- package/dist/prompts/craft-cards.js +71 -9
- package/dist/prompts/generation-policy.d.ts +1 -1
- package/dist/prompts/guide-discovery.d.ts +6 -6
- package/dist/prompts/guide-retrieval.d.ts +7 -1
- package/dist/prompts/guide-retrieval.js +33 -5
- package/dist/prompts/partials.generated.js +1 -13
- package/dist/prompts/shot-grammar.d.ts +1 -1
- package/dist/prompts/shot-grammar.js +1 -1
- package/dist/skills/brain-check.d.ts +44 -0
- package/dist/skills/brain-check.js +174 -0
- package/dist/skills/content.d.ts +3 -0
- package/dist/skills/content.js +81 -44
- package/dist/skills/hyperframes-content.js +4 -4
- package/dist/skills/my-brain.d.ts +52 -0
- package/dist/skills/my-brain.js +218 -0
- package/dist/skills/served.d.ts +56 -0
- package/dist/skills/served.js +232 -0
- package/package.json +2 -4
- package/skills/hyperframes/NOTICE +19 -3
- package/skills/hyperframes/SLATES-MAPPING.md +1 -1
- package/skills/hyperframes/embedded-captions/CATALOG.md +3 -0
- package/skills/hyperframes/embedded-captions/SKILL.md +6 -6
- package/skills/hyperframes/embedded-captions/assets/fonts/char-widths.json +227 -1
- package/skills/hyperframes/embedded-captions/modes/standard/fonts/build-fonts-css.cjs +19 -2
- package/skills/hyperframes/embedded-captions/modes/standard/fonts/files/archivo-latin-wdth-italic.woff2 +0 -0
- package/skills/hyperframes/embedded-captions/modes/standard/fonts/files/archivo-latin-wdth-normal.woff2 +0 -0
- package/skills/hyperframes/embedded-captions/scripts/make-theme.cjs +438 -3
- package/skills/hyperframes/embedded-captions/scripts/make-theme.test.mjs +1 -0
- package/skills/hyperframes/embedded-captions/themes/README.md +26 -1
- package/skills/hyperframes/embedded-captions/themes/lesson.json +31 -0
- package/skills/slates-start-here.md +78 -0
- package/exports/slates-chatgpt-images/generated/SKILL.md +0 -113
- package/exports/slates-chatgpt-images/generated/slates-chatgpt-images.skill +0 -0
- package/exports/slates-prompt-builder/generated/SKILL.md +0 -71
- package/exports/slates-prompt-builder/generated/reference-character.md +0 -92
- package/exports/slates-prompt-builder/generated/reference-content-policy.md +0 -81
- package/exports/slates-prompt-builder/generated/reference-gpt-image-2-5.md +0 -191
- package/exports/slates-prompt-builder/generated/reference-kling.md +0 -295
- package/exports/slates-prompt-builder/generated/reference-nano-banana.md +0 -240
- package/exports/slates-prompt-builder/generated/reference-omni-flash.md +0 -97
- package/exports/slates-prompt-builder/generated/reference-seedance-2-5.md +0 -392
- package/exports/slates-prompt-builder/generated/reference-seedance.md +0 -441
- package/exports/slates-prompt-builder/generated/slates-prompt-builder-manifest.json +0 -133
- package/exports/slates-prompt-builder/generated/slates-prompt-builder.skill +0 -0
- package/skills/_partials/blender-action-curves.md +0 -24
- package/skills/_partials/cinematic-card.md +0 -8
- package/skills/_partials/decision-log.md +0 -1
- package/skills/_partials/image-defaults.md +0 -9
- package/skills/_partials/iteration-diagnosis.md +0 -5
- package/skills/_partials/living-performance.md +0 -22
- package/skills/_partials/model-routing.md +0 -35
- package/skills/_partials/references-read-literally.md +0 -11
- package/skills/_partials/seedance-25-timestamps.md +0 -34
- package/skills/_partials/sheet-tool-defaults.md +0 -6
- package/skills/_partials/still-gate.md +0 -3
- package/skills/_partials/thresholds.md +0 -19
- package/skills/slates-blocking-to-prompt.md +0 -279
- package/skills/slates-camera-language.md +0 -234
- package/skills/slates-captions.md +0 -81
- package/skills/slates-character-identity.md +0 -117
- package/skills/slates-chatgpt-images.md +0 -113
- package/skills/slates-cinematic-look.md +0 -237
- package/skills/slates-content-policy.md +0 -88
- package/skills/slates-cost-discipline.md +0 -150
- package/skills/slates-cuts.md +0 -46
- package/skills/slates-dialogue-blocking.md +0 -134
- package/skills/slates-direct-response-ad.md +0 -26
- package/skills/slates-edit-and-iterate.md +0 -76
- package/skills/slates-layer-brand-captions.md +0 -87
- package/skills/slates-layer-lower-third.md +0 -85
- package/skills/slates-layer-title.md +0 -82
- package/skills/slates-model-selection.md +0 -129
- package/skills/slates-motion.md +0 -57
- package/skills/slates-one-prompt-film.md +0 -38
- package/skills/slates-previs-blocking.md +0 -186
- package/skills/slates-project-organization.md +0 -42
- package/skills/slates-prompting-elevenlabs.md +0 -128
- package/skills/slates-prompting-flux-3.md +0 -157
- package/skills/slates-prompting-gpt-image-2-5.md +0 -196
- package/skills/slates-prompting-inworld-tts.md +0 -174
- package/skills/slates-prompting-kling-v3.md +0 -303
- package/skills/slates-prompting-lip-sync.md +0 -216
- package/skills/slates-prompting-ltx-2-5.md +0 -245
- package/skills/slates-prompting-minimax-h3.md +0 -383
- package/skills/slates-prompting-motion-transfer.md +0 -202
- package/skills/slates-prompting-nano-banana-2-1.md +0 -250
- package/skills/slates-prompting-omni-flash.md +0 -117
- package/skills/slates-prompting-seed-audio.md +0 -168
- package/skills/slates-prompting-seedance-2-5.md +0 -420
- package/skills/slates-prompting-seedance.md +0 -462
- package/skills/slates-prompting-seedream-5-lite.md +0 -122
- package/skills/slates-prompting-wan-3.md +0 -143
- package/skills/slates-restyle-from-blocking.md +0 -121
- package/skills/slates-script-craft.md +0 -45
- package/skills/slates-shot-variety.md +0 -24
- package/skills/slates-storyboard-from-script.md +0 -32
- package/skills/slates-style-prompting.md +0 -56
- package/skills/slates-transitions.md +0 -40
- package/skills/slates-ugc-influencer-ad.md +0 -32
- package/skills/slates-vision-feedback-loop.md +0 -118
|
@@ -41,6 +41,8 @@ export declare class OperationCancelledError extends Error {
|
|
|
41
41
|
* Eric, 2026-10-23, after a Seedance test was prompted before its guide was
|
|
42
42
|
* read: *"That needs to be a hard blocker."* Nothing was generated or charged.
|
|
43
43
|
*/
|
|
44
|
+
/** How a machine with no brain gets one: the desktop app signed in here writes it, or a CLI login fetches it. */
|
|
45
|
+
export declare const CONNECT_FOR_BRAIN = "Have the user open the Slates app signed in on this machine (it brings the brain here), or run `slates login`";
|
|
44
46
|
export declare class GuideNotReadError extends Error {
|
|
45
47
|
readonly model: string;
|
|
46
48
|
readonly guide: string;
|
|
@@ -178,10 +180,11 @@ export declare const getWorkspaceState: Operation<{
|
|
|
178
180
|
* up at request time. Exists so "make these into videos" needs no codes typed.
|
|
179
181
|
*/
|
|
180
182
|
export declare const getSelection: Operation<Record<string, never>>;
|
|
181
|
-
declare const SELECTION_TARGETS: readonly ["media", "board"];
|
|
183
|
+
declare const SELECTION_TARGETS: readonly ["media", "board", "timeline"];
|
|
182
184
|
declare const SELECTION_MODES: readonly ["replace", "add", "remove", "clear", "all"];
|
|
183
185
|
/**
|
|
184
|
-
* SET what is selected, as the user's clicks do: the cards ticked in Media, the Shots ticked on the Board
|
|
186
|
+
* SET what is selected, as the user's clicks do: the cards ticked in Media, the Shots ticked on the Board, the
|
|
187
|
+
* clips selected on the timeline (which also opens the Cut on them, scrolls to them and opens the Inspector).
|
|
185
188
|
* Pairs with `slates_get_selection`, which reads it: "tick the shots with no clip, then price them" is this op
|
|
186
189
|
* and then the quote. The desktop applies it through the stores the grids write and answers with what SETTLED.
|
|
187
190
|
*/
|
|
@@ -194,6 +197,7 @@ declare const VIEW_LENSES: readonly ["board", "media", "script"];
|
|
|
194
197
|
declare const VIEW_CUT_SIDES: readonly ["bottom", "left", "right"];
|
|
195
198
|
declare const VIEW_DOCK_SECTIONS: readonly ["storyboards", "library", "folders", "pinned"];
|
|
196
199
|
declare const VIEW_WINDOW_LAYOUTS: readonly ["plan", "edit"];
|
|
200
|
+
declare const VIEW_VIEWER_MODES: readonly ["source", "timeline"];
|
|
197
201
|
declare const VIEW_BOARD_LEVELS: readonly ["film", "scenes", "shot"];
|
|
198
202
|
declare const VIEW_BOARD_FILTERS: readonly ["all", "with-clip", "without-clip"];
|
|
199
203
|
declare const VIEW_MEDIA_TABS: readonly ["all", "images", "videos", "audio"];
|
|
@@ -203,11 +207,11 @@ declare const gridSelectionInput: z.ZodObject<{
|
|
|
203
207
|
rowKeys: z.ZodArray<z.ZodString, "many">;
|
|
204
208
|
aspects: z.ZodArray<z.ZodString, "many">;
|
|
205
209
|
}, "strict", z.ZodTypeAny, {
|
|
206
|
-
aspects: string[];
|
|
207
210
|
rowKeys: string[];
|
|
208
|
-
}, {
|
|
209
211
|
aspects: string[];
|
|
212
|
+
}, {
|
|
210
213
|
rowKeys: string[];
|
|
214
|
+
aspects: string[];
|
|
211
215
|
}>;
|
|
212
216
|
declare const deliveryInput: z.ZodObject<{
|
|
213
217
|
formats: z.ZodArray<z.ZodString, "many">;
|
|
@@ -263,17 +267,17 @@ declare const gridBindingInput: z.ZodObject<{
|
|
|
263
267
|
shotIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
264
268
|
}, "strict", z.ZodTypeAny, {
|
|
265
269
|
key: string;
|
|
266
|
-
sectionId?: string | undefined;
|
|
267
|
-
alternativeId?: string | undefined;
|
|
268
270
|
label?: string | undefined;
|
|
269
271
|
choicePosition?: number | undefined;
|
|
272
|
+
sectionId?: string | undefined;
|
|
273
|
+
alternativeId?: string | undefined;
|
|
270
274
|
shotIds?: string[] | undefined;
|
|
271
275
|
}, {
|
|
272
276
|
key: string;
|
|
273
|
-
sectionId?: string | undefined;
|
|
274
|
-
alternativeId?: string | undefined;
|
|
275
277
|
label?: string | undefined;
|
|
276
278
|
choicePosition?: number | undefined;
|
|
279
|
+
sectionId?: string | undefined;
|
|
280
|
+
alternativeId?: string | undefined;
|
|
277
281
|
shotIds?: string[] | undefined;
|
|
278
282
|
}>>;
|
|
279
283
|
body: z.ZodOptional<z.ZodObject<{
|
|
@@ -285,17 +289,17 @@ declare const gridBindingInput: z.ZodObject<{
|
|
|
285
289
|
shotIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
286
290
|
}, "strict", z.ZodTypeAny, {
|
|
287
291
|
key: string;
|
|
288
|
-
sectionId?: string | undefined;
|
|
289
|
-
alternativeId?: string | undefined;
|
|
290
292
|
label?: string | undefined;
|
|
291
293
|
choicePosition?: number | undefined;
|
|
294
|
+
sectionId?: string | undefined;
|
|
295
|
+
alternativeId?: string | undefined;
|
|
292
296
|
shotIds?: string[] | undefined;
|
|
293
297
|
}, {
|
|
294
298
|
key: string;
|
|
295
|
-
sectionId?: string | undefined;
|
|
296
|
-
alternativeId?: string | undefined;
|
|
297
299
|
label?: string | undefined;
|
|
298
300
|
choicePosition?: number | undefined;
|
|
301
|
+
sectionId?: string | undefined;
|
|
302
|
+
alternativeId?: string | undefined;
|
|
299
303
|
shotIds?: string[] | undefined;
|
|
300
304
|
}>>;
|
|
301
305
|
endCard: z.ZodOptional<z.ZodObject<{
|
|
@@ -307,67 +311,67 @@ declare const gridBindingInput: z.ZodObject<{
|
|
|
307
311
|
shotIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
308
312
|
}, "strict", z.ZodTypeAny, {
|
|
309
313
|
key: string;
|
|
310
|
-
sectionId?: string | undefined;
|
|
311
|
-
alternativeId?: string | undefined;
|
|
312
314
|
label?: string | undefined;
|
|
313
315
|
choicePosition?: number | undefined;
|
|
316
|
+
sectionId?: string | undefined;
|
|
317
|
+
alternativeId?: string | undefined;
|
|
314
318
|
shotIds?: string[] | undefined;
|
|
315
319
|
}, {
|
|
316
320
|
key: string;
|
|
317
|
-
sectionId?: string | undefined;
|
|
318
|
-
alternativeId?: string | undefined;
|
|
319
321
|
label?: string | undefined;
|
|
320
322
|
choicePosition?: number | undefined;
|
|
323
|
+
sectionId?: string | undefined;
|
|
324
|
+
alternativeId?: string | undefined;
|
|
321
325
|
shotIds?: string[] | undefined;
|
|
322
326
|
}>>;
|
|
323
327
|
}, "strict", z.ZodTypeAny, {
|
|
324
328
|
hook?: {
|
|
325
329
|
key: string;
|
|
326
|
-
sectionId?: string | undefined;
|
|
327
|
-
alternativeId?: string | undefined;
|
|
328
330
|
label?: string | undefined;
|
|
329
331
|
choicePosition?: number | undefined;
|
|
332
|
+
sectionId?: string | undefined;
|
|
333
|
+
alternativeId?: string | undefined;
|
|
330
334
|
shotIds?: string[] | undefined;
|
|
331
335
|
} | undefined;
|
|
332
336
|
body?: {
|
|
333
337
|
key: string;
|
|
334
|
-
sectionId?: string | undefined;
|
|
335
|
-
alternativeId?: string | undefined;
|
|
336
338
|
label?: string | undefined;
|
|
337
339
|
choicePosition?: number | undefined;
|
|
340
|
+
sectionId?: string | undefined;
|
|
341
|
+
alternativeId?: string | undefined;
|
|
338
342
|
shotIds?: string[] | undefined;
|
|
339
343
|
} | undefined;
|
|
340
344
|
endCard?: {
|
|
341
345
|
key: string;
|
|
342
|
-
sectionId?: string | undefined;
|
|
343
|
-
alternativeId?: string | undefined;
|
|
344
346
|
label?: string | undefined;
|
|
345
347
|
choicePosition?: number | undefined;
|
|
348
|
+
sectionId?: string | undefined;
|
|
349
|
+
alternativeId?: string | undefined;
|
|
346
350
|
shotIds?: string[] | undefined;
|
|
347
351
|
} | undefined;
|
|
348
352
|
}, {
|
|
349
353
|
hook?: {
|
|
350
354
|
key: string;
|
|
351
|
-
sectionId?: string | undefined;
|
|
352
|
-
alternativeId?: string | undefined;
|
|
353
355
|
label?: string | undefined;
|
|
354
356
|
choicePosition?: number | undefined;
|
|
357
|
+
sectionId?: string | undefined;
|
|
358
|
+
alternativeId?: string | undefined;
|
|
355
359
|
shotIds?: string[] | undefined;
|
|
356
360
|
} | undefined;
|
|
357
361
|
body?: {
|
|
358
362
|
key: string;
|
|
359
|
-
sectionId?: string | undefined;
|
|
360
|
-
alternativeId?: string | undefined;
|
|
361
363
|
label?: string | undefined;
|
|
362
364
|
choicePosition?: number | undefined;
|
|
365
|
+
sectionId?: string | undefined;
|
|
366
|
+
alternativeId?: string | undefined;
|
|
363
367
|
shotIds?: string[] | undefined;
|
|
364
368
|
} | undefined;
|
|
365
369
|
endCard?: {
|
|
366
370
|
key: string;
|
|
367
|
-
sectionId?: string | undefined;
|
|
368
|
-
alternativeId?: string | undefined;
|
|
369
371
|
label?: string | undefined;
|
|
370
372
|
choicePosition?: number | undefined;
|
|
373
|
+
sectionId?: string | undefined;
|
|
374
|
+
alternativeId?: string | undefined;
|
|
371
375
|
shotIds?: string[] | undefined;
|
|
372
376
|
} | undefined;
|
|
373
377
|
}>>;
|
|
@@ -378,26 +382,26 @@ declare const gridBindingInput: z.ZodObject<{
|
|
|
378
382
|
slots?: {
|
|
379
383
|
hook?: {
|
|
380
384
|
key: string;
|
|
381
|
-
sectionId?: string | undefined;
|
|
382
|
-
alternativeId?: string | undefined;
|
|
383
385
|
label?: string | undefined;
|
|
384
386
|
choicePosition?: number | undefined;
|
|
387
|
+
sectionId?: string | undefined;
|
|
388
|
+
alternativeId?: string | undefined;
|
|
385
389
|
shotIds?: string[] | undefined;
|
|
386
390
|
} | undefined;
|
|
387
391
|
body?: {
|
|
388
392
|
key: string;
|
|
389
|
-
sectionId?: string | undefined;
|
|
390
|
-
alternativeId?: string | undefined;
|
|
391
393
|
label?: string | undefined;
|
|
392
394
|
choicePosition?: number | undefined;
|
|
395
|
+
sectionId?: string | undefined;
|
|
396
|
+
alternativeId?: string | undefined;
|
|
393
397
|
shotIds?: string[] | undefined;
|
|
394
398
|
} | undefined;
|
|
395
399
|
endCard?: {
|
|
396
400
|
key: string;
|
|
397
|
-
sectionId?: string | undefined;
|
|
398
|
-
alternativeId?: string | undefined;
|
|
399
401
|
label?: string | undefined;
|
|
400
402
|
choicePosition?: number | undefined;
|
|
403
|
+
sectionId?: string | undefined;
|
|
404
|
+
alternativeId?: string | undefined;
|
|
401
405
|
shotIds?: string[] | undefined;
|
|
402
406
|
} | undefined;
|
|
403
407
|
} | undefined;
|
|
@@ -408,26 +412,26 @@ declare const gridBindingInput: z.ZodObject<{
|
|
|
408
412
|
slots?: {
|
|
409
413
|
hook?: {
|
|
410
414
|
key: string;
|
|
411
|
-
sectionId?: string | undefined;
|
|
412
|
-
alternativeId?: string | undefined;
|
|
413
415
|
label?: string | undefined;
|
|
414
416
|
choicePosition?: number | undefined;
|
|
417
|
+
sectionId?: string | undefined;
|
|
418
|
+
alternativeId?: string | undefined;
|
|
415
419
|
shotIds?: string[] | undefined;
|
|
416
420
|
} | undefined;
|
|
417
421
|
body?: {
|
|
418
422
|
key: string;
|
|
419
|
-
sectionId?: string | undefined;
|
|
420
|
-
alternativeId?: string | undefined;
|
|
421
423
|
label?: string | undefined;
|
|
422
424
|
choicePosition?: number | undefined;
|
|
425
|
+
sectionId?: string | undefined;
|
|
426
|
+
alternativeId?: string | undefined;
|
|
423
427
|
shotIds?: string[] | undefined;
|
|
424
428
|
} | undefined;
|
|
425
429
|
endCard?: {
|
|
426
430
|
key: string;
|
|
427
|
-
sectionId?: string | undefined;
|
|
428
|
-
alternativeId?: string | undefined;
|
|
429
431
|
label?: string | undefined;
|
|
430
432
|
choicePosition?: number | undefined;
|
|
433
|
+
sectionId?: string | undefined;
|
|
434
|
+
alternativeId?: string | undefined;
|
|
431
435
|
shotIds?: string[] | undefined;
|
|
432
436
|
} | undefined;
|
|
433
437
|
} | undefined;
|
|
@@ -506,7 +510,8 @@ export declare const setView: Operation<{
|
|
|
506
510
|
categoryId: string | null;
|
|
507
511
|
};
|
|
508
512
|
viewer?: {
|
|
509
|
-
assetId
|
|
513
|
+
assetId?: string | null;
|
|
514
|
+
mode?: (typeof VIEW_VIEWER_MODES)[number];
|
|
510
515
|
};
|
|
511
516
|
compare?: {
|
|
512
517
|
open?: boolean;
|
|
@@ -609,6 +614,15 @@ type AppSettingsPatch = {
|
|
|
609
614
|
studioAgentClaudeEffort?: string;
|
|
610
615
|
};
|
|
611
616
|
export declare const setAppSettings: Operation<AppSettingsPatch>;
|
|
617
|
+
export declare const getSpendLimits: Operation<{
|
|
618
|
+
projectId?: string;
|
|
619
|
+
}>;
|
|
620
|
+
export declare const setSpendLimits: Operation<{
|
|
621
|
+
projectId?: string;
|
|
622
|
+
projectLimitCredits?: number | null;
|
|
623
|
+
sessionBudgetCredits?: number | null;
|
|
624
|
+
confirm?: boolean;
|
|
625
|
+
}>;
|
|
612
626
|
export declare const getAsset: Operation<{
|
|
613
627
|
projectId: string;
|
|
614
628
|
assetId: string;
|
|
@@ -633,6 +647,118 @@ export declare const editAssetTranscript: Operation<{
|
|
|
633
647
|
text: string;
|
|
634
648
|
recaption?: boolean;
|
|
635
649
|
}>;
|
|
650
|
+
export declare const cutByTranscript: Operation<{
|
|
651
|
+
projectId: string;
|
|
652
|
+
clipId: string;
|
|
653
|
+
words?: Array<{
|
|
654
|
+
from: number;
|
|
655
|
+
to: number;
|
|
656
|
+
}>;
|
|
657
|
+
pauses?: number[];
|
|
658
|
+
ranges?: Array<{
|
|
659
|
+
startSec: number;
|
|
660
|
+
endSec: number;
|
|
661
|
+
}>;
|
|
662
|
+
linked?: boolean;
|
|
663
|
+
trackIds?: string[];
|
|
664
|
+
}>;
|
|
665
|
+
type BeatTargetInput = {
|
|
666
|
+
projectId: string;
|
|
667
|
+
assetId?: string;
|
|
668
|
+
clipId?: string;
|
|
669
|
+
};
|
|
670
|
+
export declare const getBeatGrid: Operation<BeatTargetInput & {
|
|
671
|
+
picture?: boolean;
|
|
672
|
+
fromSec?: number;
|
|
673
|
+
toSec?: number;
|
|
674
|
+
}>;
|
|
675
|
+
export declare const findBeats: Operation<BeatTargetInput>;
|
|
676
|
+
declare const beatEditInput: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
677
|
+
kind: z.ZodLiteral<"shift">;
|
|
678
|
+
sec: z.ZodNumber;
|
|
679
|
+
}, "strict", z.ZodTypeAny, {
|
|
680
|
+
kind: "shift";
|
|
681
|
+
sec: number;
|
|
682
|
+
}, {
|
|
683
|
+
kind: "shift";
|
|
684
|
+
sec: number;
|
|
685
|
+
}>, z.ZodObject<{
|
|
686
|
+
kind: z.ZodLiteral<"downbeat">;
|
|
687
|
+
at: z.ZodNumber;
|
|
688
|
+
beatsPerBar: z.ZodOptional<z.ZodNumber>;
|
|
689
|
+
}, "strict", z.ZodTypeAny, {
|
|
690
|
+
at: number;
|
|
691
|
+
kind: "downbeat";
|
|
692
|
+
beatsPerBar?: number | undefined;
|
|
693
|
+
}, {
|
|
694
|
+
at: number;
|
|
695
|
+
kind: "downbeat";
|
|
696
|
+
beatsPerBar?: number | undefined;
|
|
697
|
+
}>, z.ZodObject<{
|
|
698
|
+
kind: z.ZodLiteral<"tempo">;
|
|
699
|
+
fromSec: z.ZodNumber;
|
|
700
|
+
toSec: z.ZodNumber;
|
|
701
|
+
bpm: z.ZodNumber;
|
|
702
|
+
}, "strict", z.ZodTypeAny, {
|
|
703
|
+
kind: "tempo";
|
|
704
|
+
fromSec: number;
|
|
705
|
+
toSec: number;
|
|
706
|
+
bpm: number;
|
|
707
|
+
}, {
|
|
708
|
+
kind: "tempo";
|
|
709
|
+
fromSec: number;
|
|
710
|
+
toSec: number;
|
|
711
|
+
bpm: number;
|
|
712
|
+
}>, z.ZodObject<{
|
|
713
|
+
kind: z.ZodLiteral<"add">;
|
|
714
|
+
at: z.ZodNumber;
|
|
715
|
+
downbeat: z.ZodOptional<z.ZodBoolean>;
|
|
716
|
+
}, "strict", z.ZodTypeAny, {
|
|
717
|
+
at: number;
|
|
718
|
+
kind: "add";
|
|
719
|
+
downbeat?: boolean | undefined;
|
|
720
|
+
}, {
|
|
721
|
+
at: number;
|
|
722
|
+
kind: "add";
|
|
723
|
+
downbeat?: boolean | undefined;
|
|
724
|
+
}>, z.ZodObject<{
|
|
725
|
+
kind: z.ZodLiteral<"move">;
|
|
726
|
+
from: z.ZodNumber;
|
|
727
|
+
to: z.ZodNumber;
|
|
728
|
+
}, "strict", z.ZodTypeAny, {
|
|
729
|
+
kind: "move";
|
|
730
|
+
from: number;
|
|
731
|
+
to: number;
|
|
732
|
+
}, {
|
|
733
|
+
kind: "move";
|
|
734
|
+
from: number;
|
|
735
|
+
to: number;
|
|
736
|
+
}>, z.ZodObject<{
|
|
737
|
+
kind: z.ZodLiteral<"delete">;
|
|
738
|
+
at: z.ZodNumber;
|
|
739
|
+
}, "strict", z.ZodTypeAny, {
|
|
740
|
+
at: number;
|
|
741
|
+
kind: "delete";
|
|
742
|
+
}, {
|
|
743
|
+
at: number;
|
|
744
|
+
kind: "delete";
|
|
745
|
+
}>]>;
|
|
746
|
+
export declare const editBeatGrid: Operation<BeatTargetInput & {
|
|
747
|
+
edits?: Array<z.infer<typeof beatEditInput>>;
|
|
748
|
+
undo?: boolean;
|
|
749
|
+
clearEdits?: boolean;
|
|
750
|
+
}>;
|
|
751
|
+
export declare const cutToBeats: Operation<{
|
|
752
|
+
projectId: string;
|
|
753
|
+
musicClipId: string;
|
|
754
|
+
trackId?: string;
|
|
755
|
+
mode?: 'snap' | 'split';
|
|
756
|
+
on?: 'beat' | 'downbeat';
|
|
757
|
+
every?: number;
|
|
758
|
+
fromFrame?: number;
|
|
759
|
+
toFrame?: number;
|
|
760
|
+
reachFrames?: number;
|
|
761
|
+
}>;
|
|
636
762
|
export declare const extractVideoFrame: Operation<{
|
|
637
763
|
projectId: string;
|
|
638
764
|
assetId: string;
|
|
@@ -1166,6 +1292,19 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
|
|
|
1166
1292
|
version: z.ZodOptional<z.ZodLiteral<2>>;
|
|
1167
1293
|
batchId: z.ZodOptional<z.ZodString>;
|
|
1168
1294
|
exportRoot: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1295
|
+
variants: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1296
|
+
timelineId: z.ZodString;
|
|
1297
|
+
picks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
1298
|
+
aspects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1299
|
+
}, "strict", z.ZodTypeAny, {
|
|
1300
|
+
timelineId: string;
|
|
1301
|
+
aspects?: string[] | undefined;
|
|
1302
|
+
picks?: Record<string, string[]> | undefined;
|
|
1303
|
+
}, {
|
|
1304
|
+
timelineId: string;
|
|
1305
|
+
aspects?: string[] | undefined;
|
|
1306
|
+
picks?: Record<string, string[]> | undefined;
|
|
1307
|
+
}>>>;
|
|
1169
1308
|
copy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1170
1309
|
destinationUrl: z.ZodOptional<z.ZodString>;
|
|
1171
1310
|
primaryText: z.ZodOptional<z.ZodString>;
|
|
@@ -1205,7 +1344,7 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
|
|
|
1205
1344
|
projectId: string;
|
|
1206
1345
|
directory?: string | undefined;
|
|
1207
1346
|
manifestId?: string | undefined;
|
|
1208
|
-
action?: "
|
|
1347
|
+
action?: "status" | "start" | "cancel" | undefined;
|
|
1209
1348
|
items?: ({
|
|
1210
1349
|
timelineId: string;
|
|
1211
1350
|
format: "mp4" | "xml";
|
|
@@ -1227,6 +1366,11 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
|
|
|
1227
1366
|
version?: 2 | undefined;
|
|
1228
1367
|
batchId?: string | undefined;
|
|
1229
1368
|
exportRoot?: string | undefined;
|
|
1369
|
+
variants?: {
|
|
1370
|
+
timelineId: string;
|
|
1371
|
+
aspects?: string[] | undefined;
|
|
1372
|
+
picks?: Record<string, string[]> | undefined;
|
|
1373
|
+
} | undefined;
|
|
1230
1374
|
copy?: {
|
|
1231
1375
|
destinationUrl?: string | undefined;
|
|
1232
1376
|
primaryText?: string | undefined;
|
|
@@ -1243,7 +1387,7 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
|
|
|
1243
1387
|
projectId: string;
|
|
1244
1388
|
directory?: string | undefined;
|
|
1245
1389
|
manifestId?: string | undefined;
|
|
1246
|
-
action?: "
|
|
1390
|
+
action?: "status" | "start" | "cancel" | undefined;
|
|
1247
1391
|
items?: ({
|
|
1248
1392
|
timelineId: string;
|
|
1249
1393
|
format: "mp4" | "xml";
|
|
@@ -1265,6 +1409,11 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
|
|
|
1265
1409
|
version?: 2 | undefined;
|
|
1266
1410
|
batchId?: string | undefined;
|
|
1267
1411
|
exportRoot?: string | undefined;
|
|
1412
|
+
variants?: {
|
|
1413
|
+
timelineId: string;
|
|
1414
|
+
aspects?: string[] | undefined;
|
|
1415
|
+
picks?: Record<string, string[]> | undefined;
|
|
1416
|
+
} | undefined;
|
|
1268
1417
|
copy?: {
|
|
1269
1418
|
destinationUrl?: string | undefined;
|
|
1270
1419
|
primaryText?: string | undefined;
|
|
@@ -1281,7 +1430,7 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
|
|
|
1281
1430
|
projectId: string;
|
|
1282
1431
|
directory?: string | undefined;
|
|
1283
1432
|
manifestId?: string | undefined;
|
|
1284
|
-
action?: "
|
|
1433
|
+
action?: "status" | "start" | "cancel" | undefined;
|
|
1285
1434
|
items?: ({
|
|
1286
1435
|
timelineId: string;
|
|
1287
1436
|
format: "mp4" | "xml";
|
|
@@ -1303,6 +1452,11 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
|
|
|
1303
1452
|
version?: 2 | undefined;
|
|
1304
1453
|
batchId?: string | undefined;
|
|
1305
1454
|
exportRoot?: string | undefined;
|
|
1455
|
+
variants?: {
|
|
1456
|
+
timelineId: string;
|
|
1457
|
+
aspects?: string[] | undefined;
|
|
1458
|
+
picks?: Record<string, string[]> | undefined;
|
|
1459
|
+
} | undefined;
|
|
1306
1460
|
copy?: {
|
|
1307
1461
|
destinationUrl?: string | undefined;
|
|
1308
1462
|
primaryText?: string | undefined;
|
|
@@ -1319,7 +1473,7 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
|
|
|
1319
1473
|
projectId: string;
|
|
1320
1474
|
directory?: string | undefined;
|
|
1321
1475
|
manifestId?: string | undefined;
|
|
1322
|
-
action?: "
|
|
1476
|
+
action?: "status" | "start" | "cancel" | undefined;
|
|
1323
1477
|
items?: ({
|
|
1324
1478
|
timelineId: string;
|
|
1325
1479
|
format: "mp4" | "xml";
|
|
@@ -1341,6 +1495,11 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
|
|
|
1341
1495
|
version?: 2 | undefined;
|
|
1342
1496
|
batchId?: string | undefined;
|
|
1343
1497
|
exportRoot?: string | undefined;
|
|
1498
|
+
variants?: {
|
|
1499
|
+
timelineId: string;
|
|
1500
|
+
aspects?: string[] | undefined;
|
|
1501
|
+
picks?: Record<string, string[]> | undefined;
|
|
1502
|
+
} | undefined;
|
|
1344
1503
|
copy?: {
|
|
1345
1504
|
destinationUrl?: string | undefined;
|
|
1346
1505
|
primaryText?: string | undefined;
|
|
@@ -1367,6 +1526,204 @@ export declare const cancelExportBatch: Operation<{
|
|
|
1367
1526
|
export declare const getVariantGrid: Operation<{
|
|
1368
1527
|
projectId: string;
|
|
1369
1528
|
}>;
|
|
1529
|
+
declare const getVariantsInput: z.ZodObject<{
|
|
1530
|
+
projectId: z.ZodString;
|
|
1531
|
+
timelineId: z.ZodString;
|
|
1532
|
+
grid: z.ZodOptional<z.ZodObject<{
|
|
1533
|
+
picks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
1534
|
+
aspects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1535
|
+
}, "strict", z.ZodTypeAny, {
|
|
1536
|
+
aspects?: string[] | undefined;
|
|
1537
|
+
picks?: Record<string, string[]> | undefined;
|
|
1538
|
+
}, {
|
|
1539
|
+
aspects?: string[] | undefined;
|
|
1540
|
+
picks?: Record<string, string[]> | undefined;
|
|
1541
|
+
}>>;
|
|
1542
|
+
}, "strict", z.ZodTypeAny, {
|
|
1543
|
+
projectId: string;
|
|
1544
|
+
timelineId: string;
|
|
1545
|
+
grid?: {
|
|
1546
|
+
aspects?: string[] | undefined;
|
|
1547
|
+
picks?: Record<string, string[]> | undefined;
|
|
1548
|
+
} | undefined;
|
|
1549
|
+
}, {
|
|
1550
|
+
projectId: string;
|
|
1551
|
+
timelineId: string;
|
|
1552
|
+
grid?: {
|
|
1553
|
+
aspects?: string[] | undefined;
|
|
1554
|
+
picks?: Record<string, string[]> | undefined;
|
|
1555
|
+
} | undefined;
|
|
1556
|
+
}>;
|
|
1557
|
+
export declare const getVariants: Operation<z.infer<typeof getVariantsInput>>;
|
|
1558
|
+
declare const variantSlotsInput: z.ZodObject<{
|
|
1559
|
+
projectId: z.ZodString;
|
|
1560
|
+
action: z.ZodEnum<["add", "update", "remove", "add-alternative", "update-alternative", "remove-alternative"]>;
|
|
1561
|
+
timelineId: z.ZodOptional<z.ZodString>;
|
|
1562
|
+
slotId: z.ZodOptional<z.ZodString>;
|
|
1563
|
+
slotName: z.ZodOptional<z.ZodString>;
|
|
1564
|
+
alternativeId: z.ZodOptional<z.ZodString>;
|
|
1565
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1566
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
1567
|
+
orderIndex: z.ZodOptional<z.ZodNumber>;
|
|
1568
|
+
bedFrame: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1569
|
+
clipIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1570
|
+
sequenceId: z.ZodOptional<z.ZodString>;
|
|
1571
|
+
}, "strict", z.ZodTypeAny, {
|
|
1572
|
+
projectId: string;
|
|
1573
|
+
action: "add" | "remove" | "update" | "add-alternative" | "update-alternative" | "remove-alternative";
|
|
1574
|
+
at?: number | undefined;
|
|
1575
|
+
name?: string | undefined;
|
|
1576
|
+
alternativeId?: string | undefined;
|
|
1577
|
+
timelineId?: string | undefined;
|
|
1578
|
+
slotId?: string | undefined;
|
|
1579
|
+
slotName?: string | undefined;
|
|
1580
|
+
orderIndex?: number | undefined;
|
|
1581
|
+
bedFrame?: number | null | undefined;
|
|
1582
|
+
clipIds?: string[] | undefined;
|
|
1583
|
+
sequenceId?: string | undefined;
|
|
1584
|
+
}, {
|
|
1585
|
+
projectId: string;
|
|
1586
|
+
action: "add" | "remove" | "update" | "add-alternative" | "update-alternative" | "remove-alternative";
|
|
1587
|
+
at?: number | undefined;
|
|
1588
|
+
name?: string | undefined;
|
|
1589
|
+
alternativeId?: string | undefined;
|
|
1590
|
+
timelineId?: string | undefined;
|
|
1591
|
+
slotId?: string | undefined;
|
|
1592
|
+
slotName?: string | undefined;
|
|
1593
|
+
orderIndex?: number | undefined;
|
|
1594
|
+
bedFrame?: number | null | undefined;
|
|
1595
|
+
clipIds?: string[] | undefined;
|
|
1596
|
+
sequenceId?: string | undefined;
|
|
1597
|
+
}>;
|
|
1598
|
+
export declare const editVariantSlots: Operation<z.infer<typeof variantSlotsInput>>;
|
|
1599
|
+
declare const variantsInput: z.ZodObject<{
|
|
1600
|
+
projectId: z.ZodString;
|
|
1601
|
+
action: z.ZodEnum<["add", "update", "remove", "rebuild"]>;
|
|
1602
|
+
timelineId: z.ZodOptional<z.ZodString>;
|
|
1603
|
+
variantId: z.ZodOptional<z.ZodString>;
|
|
1604
|
+
combinations: z.ZodOptional<z.ZodBoolean>;
|
|
1605
|
+
rows: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1606
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1607
|
+
choices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1608
|
+
seams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodObject<{
|
|
1609
|
+
kind: z.ZodLiteral<"cut">;
|
|
1610
|
+
frames: z.ZodOptional<z.ZodNumber>;
|
|
1611
|
+
}, "strict", z.ZodTypeAny, {
|
|
1612
|
+
kind: "cut";
|
|
1613
|
+
frames?: number | undefined;
|
|
1614
|
+
}, {
|
|
1615
|
+
kind: "cut";
|
|
1616
|
+
frames?: number | undefined;
|
|
1617
|
+
}>, z.ZodObject<{
|
|
1618
|
+
kind: z.ZodEnum<["j", "l", "crossfade"]>;
|
|
1619
|
+
frames: z.ZodNumber;
|
|
1620
|
+
}, "strict", z.ZodTypeAny, {
|
|
1621
|
+
kind: "j" | "l" | "crossfade";
|
|
1622
|
+
frames: number;
|
|
1623
|
+
}, {
|
|
1624
|
+
kind: "j" | "l" | "crossfade";
|
|
1625
|
+
frames: number;
|
|
1626
|
+
}>]>>>;
|
|
1627
|
+
}, "strict", z.ZodTypeAny, {
|
|
1628
|
+
name?: string | undefined;
|
|
1629
|
+
choices?: Record<string, string> | undefined;
|
|
1630
|
+
seams?: Record<string, "auto" | {
|
|
1631
|
+
kind: "cut";
|
|
1632
|
+
frames?: number | undefined;
|
|
1633
|
+
} | {
|
|
1634
|
+
kind: "j" | "l" | "crossfade";
|
|
1635
|
+
frames: number;
|
|
1636
|
+
}> | undefined;
|
|
1637
|
+
}, {
|
|
1638
|
+
name?: string | undefined;
|
|
1639
|
+
choices?: Record<string, string> | undefined;
|
|
1640
|
+
seams?: Record<string, "auto" | {
|
|
1641
|
+
kind: "cut";
|
|
1642
|
+
frames?: number | undefined;
|
|
1643
|
+
} | {
|
|
1644
|
+
kind: "j" | "l" | "crossfade";
|
|
1645
|
+
frames: number;
|
|
1646
|
+
}> | undefined;
|
|
1647
|
+
}>, "many">>;
|
|
1648
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1649
|
+
choices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1650
|
+
seams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodObject<{
|
|
1651
|
+
kind: z.ZodLiteral<"cut">;
|
|
1652
|
+
frames: z.ZodOptional<z.ZodNumber>;
|
|
1653
|
+
}, "strict", z.ZodTypeAny, {
|
|
1654
|
+
kind: "cut";
|
|
1655
|
+
frames?: number | undefined;
|
|
1656
|
+
}, {
|
|
1657
|
+
kind: "cut";
|
|
1658
|
+
frames?: number | undefined;
|
|
1659
|
+
}>, z.ZodObject<{
|
|
1660
|
+
kind: z.ZodEnum<["j", "l", "crossfade"]>;
|
|
1661
|
+
frames: z.ZodNumber;
|
|
1662
|
+
}, "strict", z.ZodTypeAny, {
|
|
1663
|
+
kind: "j" | "l" | "crossfade";
|
|
1664
|
+
frames: number;
|
|
1665
|
+
}, {
|
|
1666
|
+
kind: "j" | "l" | "crossfade";
|
|
1667
|
+
frames: number;
|
|
1668
|
+
}>]>>>;
|
|
1669
|
+
}, "strict", z.ZodTypeAny, {
|
|
1670
|
+
projectId: string;
|
|
1671
|
+
action: "add" | "remove" | "update" | "rebuild";
|
|
1672
|
+
name?: string | undefined;
|
|
1673
|
+
timelineId?: string | undefined;
|
|
1674
|
+
variantId?: string | undefined;
|
|
1675
|
+
combinations?: boolean | undefined;
|
|
1676
|
+
choices?: Record<string, string> | undefined;
|
|
1677
|
+
seams?: Record<string, "auto" | {
|
|
1678
|
+
kind: "cut";
|
|
1679
|
+
frames?: number | undefined;
|
|
1680
|
+
} | {
|
|
1681
|
+
kind: "j" | "l" | "crossfade";
|
|
1682
|
+
frames: number;
|
|
1683
|
+
}> | undefined;
|
|
1684
|
+
rows?: {
|
|
1685
|
+
name?: string | undefined;
|
|
1686
|
+
choices?: Record<string, string> | undefined;
|
|
1687
|
+
seams?: Record<string, "auto" | {
|
|
1688
|
+
kind: "cut";
|
|
1689
|
+
frames?: number | undefined;
|
|
1690
|
+
} | {
|
|
1691
|
+
kind: "j" | "l" | "crossfade";
|
|
1692
|
+
frames: number;
|
|
1693
|
+
}> | undefined;
|
|
1694
|
+
}[] | undefined;
|
|
1695
|
+
}, {
|
|
1696
|
+
projectId: string;
|
|
1697
|
+
action: "add" | "remove" | "update" | "rebuild";
|
|
1698
|
+
name?: string | undefined;
|
|
1699
|
+
timelineId?: string | undefined;
|
|
1700
|
+
variantId?: string | undefined;
|
|
1701
|
+
combinations?: boolean | undefined;
|
|
1702
|
+
choices?: Record<string, string> | undefined;
|
|
1703
|
+
seams?: Record<string, "auto" | {
|
|
1704
|
+
kind: "cut";
|
|
1705
|
+
frames?: number | undefined;
|
|
1706
|
+
} | {
|
|
1707
|
+
kind: "j" | "l" | "crossfade";
|
|
1708
|
+
frames: number;
|
|
1709
|
+
}> | undefined;
|
|
1710
|
+
rows?: {
|
|
1711
|
+
name?: string | undefined;
|
|
1712
|
+
choices?: Record<string, string> | undefined;
|
|
1713
|
+
seams?: Record<string, "auto" | {
|
|
1714
|
+
kind: "cut";
|
|
1715
|
+
frames?: number | undefined;
|
|
1716
|
+
} | {
|
|
1717
|
+
kind: "j" | "l" | "crossfade";
|
|
1718
|
+
frames: number;
|
|
1719
|
+
}> | undefined;
|
|
1720
|
+
}[] | undefined;
|
|
1721
|
+
}>;
|
|
1722
|
+
export declare const editVariants: Operation<z.infer<typeof variantsInput>>;
|
|
1723
|
+
export declare const getRecipe: Operation<{
|
|
1724
|
+
recipe: string;
|
|
1725
|
+
projectId?: string;
|
|
1726
|
+
}>;
|
|
1370
1727
|
declare const reframeReportInput: z.ZodObject<{
|
|
1371
1728
|
projectId: z.ZodString;
|
|
1372
1729
|
timelineId: z.ZodString;
|
|
@@ -1390,7 +1747,7 @@ declare const reframeClipInput: z.ZodObject<{
|
|
|
1390
1747
|
aspect: z.ZodString;
|
|
1391
1748
|
} & {
|
|
1392
1749
|
clipId: z.ZodString;
|
|
1393
|
-
framing: z.ZodNullable<z.ZodObject<{
|
|
1750
|
+
framing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1394
1751
|
mode: z.ZodOptional<z.ZodEnum<["fill", "fit"]>>;
|
|
1395
1752
|
focusX: z.ZodOptional<z.ZodNumber>;
|
|
1396
1753
|
focusY: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1405,29 +1762,32 @@ declare const reframeClipInput: z.ZodObject<{
|
|
|
1405
1762
|
focusX?: number | undefined;
|
|
1406
1763
|
focusY?: number | undefined;
|
|
1407
1764
|
zoom?: number | undefined;
|
|
1408
|
-
}
|
|
1765
|
+
}>>>;
|
|
1766
|
+
follow: z.ZodOptional<z.ZodEnum<["face", "off"]>>;
|
|
1409
1767
|
}, "strict", z.ZodTypeAny, {
|
|
1410
1768
|
projectId: string;
|
|
1411
1769
|
timelineId: string;
|
|
1412
|
-
aspect: string;
|
|
1413
1770
|
clipId: string;
|
|
1414
|
-
|
|
1771
|
+
aspect: string;
|
|
1772
|
+
framing?: {
|
|
1415
1773
|
mode?: "fill" | "fit" | undefined;
|
|
1416
1774
|
focusX?: number | undefined;
|
|
1417
1775
|
focusY?: number | undefined;
|
|
1418
1776
|
zoom?: number | undefined;
|
|
1419
|
-
} | null;
|
|
1777
|
+
} | null | undefined;
|
|
1778
|
+
follow?: "face" | "off" | undefined;
|
|
1420
1779
|
}, {
|
|
1421
1780
|
projectId: string;
|
|
1422
1781
|
timelineId: string;
|
|
1423
|
-
aspect: string;
|
|
1424
1782
|
clipId: string;
|
|
1425
|
-
|
|
1783
|
+
aspect: string;
|
|
1784
|
+
framing?: {
|
|
1426
1785
|
mode?: "fill" | "fit" | undefined;
|
|
1427
1786
|
focusX?: number | undefined;
|
|
1428
1787
|
focusY?: number | undefined;
|
|
1429
1788
|
zoom?: number | undefined;
|
|
1430
|
-
} | null;
|
|
1789
|
+
} | null | undefined;
|
|
1790
|
+
follow?: "face" | "off" | undefined;
|
|
1431
1791
|
}>;
|
|
1432
1792
|
export declare const reframeClip: Operation<z.infer<typeof reframeClipInput>>;
|
|
1433
1793
|
export declare const listTimelines: Operation<{
|
|
@@ -1442,6 +1802,35 @@ export declare const getTimeline: Operation<{
|
|
|
1442
1802
|
projectId: string;
|
|
1443
1803
|
timelineId?: string;
|
|
1444
1804
|
}>;
|
|
1805
|
+
declare const loudnessInput: z.ZodObject<{
|
|
1806
|
+
projectId: z.ZodString;
|
|
1807
|
+
timelineId: z.ZodOptional<z.ZodString>;
|
|
1808
|
+
fromSec: z.ZodOptional<z.ZodNumber>;
|
|
1809
|
+
toSec: z.ZodOptional<z.ZodNumber>;
|
|
1810
|
+
trackId: z.ZodOptional<z.ZodString>;
|
|
1811
|
+
}, "strip", z.ZodTypeAny, {
|
|
1812
|
+
projectId: string;
|
|
1813
|
+
timelineId?: string | undefined;
|
|
1814
|
+
fromSec?: number | undefined;
|
|
1815
|
+
toSec?: number | undefined;
|
|
1816
|
+
trackId?: string | undefined;
|
|
1817
|
+
}, {
|
|
1818
|
+
projectId: string;
|
|
1819
|
+
timelineId?: string | undefined;
|
|
1820
|
+
fromSec?: number | undefined;
|
|
1821
|
+
toSec?: number | undefined;
|
|
1822
|
+
trackId?: string | undefined;
|
|
1823
|
+
}>;
|
|
1824
|
+
export declare const getTimelineLoudness: Operation<z.infer<typeof loudnessInput>>;
|
|
1825
|
+
declare const SOUND_CURVES: readonly ["equal-power", "linear"];
|
|
1826
|
+
declare const AUDIO_BITRATES: readonly [128, 192, 256, 320];
|
|
1827
|
+
type SoundEdges = {
|
|
1828
|
+
startSec?: number;
|
|
1829
|
+
sourceInSec?: number;
|
|
1830
|
+
sourceOutSec?: number;
|
|
1831
|
+
sourceInSample?: number;
|
|
1832
|
+
sourceOutSample?: number;
|
|
1833
|
+
};
|
|
1445
1834
|
export declare const addClipToTimeline: Operation<{
|
|
1446
1835
|
projectId: string;
|
|
1447
1836
|
timelineId?: string;
|
|
@@ -1450,7 +1839,7 @@ export declare const addClipToTimeline: Operation<{
|
|
|
1450
1839
|
startFrame?: number;
|
|
1451
1840
|
sourceInFrame?: number;
|
|
1452
1841
|
sourceOutFrame?: number;
|
|
1453
|
-
}>;
|
|
1842
|
+
} & SoundEdges>;
|
|
1454
1843
|
export declare const reorderClips: Operation<{
|
|
1455
1844
|
trackId: string;
|
|
1456
1845
|
clipIds: string[];
|
|
@@ -1460,6 +1849,10 @@ export declare const removeClip: Operation<{
|
|
|
1460
1849
|
ripple?: boolean;
|
|
1461
1850
|
projectId?: string;
|
|
1462
1851
|
}>;
|
|
1852
|
+
type TransitionSound = {
|
|
1853
|
+
durationMs?: number;
|
|
1854
|
+
curve?: typeof SOUND_CURVES[number];
|
|
1855
|
+
};
|
|
1463
1856
|
export declare const addTransition: Operation<{
|
|
1464
1857
|
projectId: string;
|
|
1465
1858
|
fromClipId?: string;
|
|
@@ -1471,7 +1864,7 @@ export declare const addTransition: Operation<{
|
|
|
1471
1864
|
durationSec?: number;
|
|
1472
1865
|
alignment?: 'center' | 'start' | 'end';
|
|
1473
1866
|
params?: Record<string, unknown>;
|
|
1474
|
-
}>;
|
|
1867
|
+
} & TransitionSound>;
|
|
1475
1868
|
export declare const updateTransition: Operation<{
|
|
1476
1869
|
projectId: string;
|
|
1477
1870
|
transitionId: string;
|
|
@@ -1481,7 +1874,7 @@ export declare const updateTransition: Operation<{
|
|
|
1481
1874
|
durationSec?: number;
|
|
1482
1875
|
alignment?: 'center' | 'start' | 'end';
|
|
1483
1876
|
params?: Record<string, unknown>;
|
|
1484
|
-
}>;
|
|
1877
|
+
} & TransitionSound>;
|
|
1485
1878
|
export declare const removeTransition: Operation<{
|
|
1486
1879
|
projectId: string;
|
|
1487
1880
|
transitionId: string;
|
|
@@ -1501,6 +1894,106 @@ export declare const editTimelineClips: Operation<{
|
|
|
1501
1894
|
timelineId?: string;
|
|
1502
1895
|
mode?: 'overwrite' | 'ripple' | 'roll' | 'insert';
|
|
1503
1896
|
}>;
|
|
1897
|
+
declare const keyframeKeys: z.ZodArray<z.ZodObject<{
|
|
1898
|
+
frame: z.ZodNumber;
|
|
1899
|
+
value: z.ZodNumber;
|
|
1900
|
+
easing: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["linear", "ease", "ease-in", "ease-out", "ease-in-out", "hold"]>, z.ZodObject<{
|
|
1901
|
+
cubicBezier: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
1902
|
+
}, "strict", z.ZodTypeAny, {
|
|
1903
|
+
cubicBezier: [number, number, number, number];
|
|
1904
|
+
}, {
|
|
1905
|
+
cubicBezier: [number, number, number, number];
|
|
1906
|
+
}>]>>;
|
|
1907
|
+
}, "strict", z.ZodTypeAny, {
|
|
1908
|
+
value: number;
|
|
1909
|
+
frame: number;
|
|
1910
|
+
easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
|
|
1911
|
+
cubicBezier: [number, number, number, number];
|
|
1912
|
+
} | undefined;
|
|
1913
|
+
}, {
|
|
1914
|
+
value: number;
|
|
1915
|
+
frame: number;
|
|
1916
|
+
easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
|
|
1917
|
+
cubicBezier: [number, number, number, number];
|
|
1918
|
+
} | undefined;
|
|
1919
|
+
}>, "many">;
|
|
1920
|
+
declare const keyframeList: z.ZodArray<z.ZodObject<{
|
|
1921
|
+
frame: z.ZodNumber;
|
|
1922
|
+
value: z.ZodNumber;
|
|
1923
|
+
easing: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["linear", "ease", "ease-in", "ease-out", "ease-in-out", "hold"]>, z.ZodObject<{
|
|
1924
|
+
cubicBezier: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
1925
|
+
}, "strict", z.ZodTypeAny, {
|
|
1926
|
+
cubicBezier: [number, number, number, number];
|
|
1927
|
+
}, {
|
|
1928
|
+
cubicBezier: [number, number, number, number];
|
|
1929
|
+
}>]>>;
|
|
1930
|
+
}, "strict", z.ZodTypeAny, {
|
|
1931
|
+
value: number;
|
|
1932
|
+
frame: number;
|
|
1933
|
+
easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
|
|
1934
|
+
cubicBezier: [number, number, number, number];
|
|
1935
|
+
} | undefined;
|
|
1936
|
+
}, {
|
|
1937
|
+
value: number;
|
|
1938
|
+
frame: number;
|
|
1939
|
+
easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
|
|
1940
|
+
cubicBezier: [number, number, number, number];
|
|
1941
|
+
} | undefined;
|
|
1942
|
+
}>, "many">;
|
|
1943
|
+
/** An effect list as the desktop stores it (`slate/src/shared/audioEffects.ts`); slates_get_timeline's audioEffects lists each type's parameters and ranges. */
|
|
1944
|
+
declare const audioEffectList: z.ZodArray<z.ZodObject<{
|
|
1945
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1946
|
+
type: z.ZodEnum<["volume", "eq"]>;
|
|
1947
|
+
bypass: z.ZodOptional<z.ZodBoolean>;
|
|
1948
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
1949
|
+
keyframes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1950
|
+
frame: z.ZodNumber;
|
|
1951
|
+
value: z.ZodNumber;
|
|
1952
|
+
easing: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["linear", "ease", "ease-in", "ease-out", "ease-in-out", "hold"]>, z.ZodObject<{
|
|
1953
|
+
cubicBezier: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
1954
|
+
}, "strict", z.ZodTypeAny, {
|
|
1955
|
+
cubicBezier: [number, number, number, number];
|
|
1956
|
+
}, {
|
|
1957
|
+
cubicBezier: [number, number, number, number];
|
|
1958
|
+
}>]>>;
|
|
1959
|
+
}, "strict", z.ZodTypeAny, {
|
|
1960
|
+
value: number;
|
|
1961
|
+
frame: number;
|
|
1962
|
+
easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
|
|
1963
|
+
cubicBezier: [number, number, number, number];
|
|
1964
|
+
} | undefined;
|
|
1965
|
+
}, {
|
|
1966
|
+
value: number;
|
|
1967
|
+
frame: number;
|
|
1968
|
+
easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
|
|
1969
|
+
cubicBezier: [number, number, number, number];
|
|
1970
|
+
} | undefined;
|
|
1971
|
+
}>, "many">>>;
|
|
1972
|
+
}, "strict", z.ZodTypeAny, {
|
|
1973
|
+
type: "volume" | "eq";
|
|
1974
|
+
id?: string | undefined;
|
|
1975
|
+
params?: Record<string, number> | undefined;
|
|
1976
|
+
bypass?: boolean | undefined;
|
|
1977
|
+
keyframes?: Record<string, {
|
|
1978
|
+
value: number;
|
|
1979
|
+
frame: number;
|
|
1980
|
+
easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
|
|
1981
|
+
cubicBezier: [number, number, number, number];
|
|
1982
|
+
} | undefined;
|
|
1983
|
+
}[]> | undefined;
|
|
1984
|
+
}, {
|
|
1985
|
+
type: "volume" | "eq";
|
|
1986
|
+
id?: string | undefined;
|
|
1987
|
+
params?: Record<string, number> | undefined;
|
|
1988
|
+
bypass?: boolean | undefined;
|
|
1989
|
+
keyframes?: Record<string, {
|
|
1990
|
+
value: number;
|
|
1991
|
+
frame: number;
|
|
1992
|
+
easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
|
|
1993
|
+
cubicBezier: [number, number, number, number];
|
|
1994
|
+
} | undefined;
|
|
1995
|
+
}[]> | undefined;
|
|
1996
|
+
}>, "many">;
|
|
1504
1997
|
export declare const updateClip: Operation<{
|
|
1505
1998
|
projectId: string;
|
|
1506
1999
|
clipId: string;
|
|
@@ -1516,8 +2009,11 @@ export declare const updateClip: Operation<{
|
|
|
1516
2009
|
grain?: number;
|
|
1517
2010
|
saturation?: number;
|
|
1518
2011
|
} | null;
|
|
2012
|
+
effects?: z.infer<typeof audioEffectList> | null;
|
|
2013
|
+
speedRamp?: z.infer<typeof keyframeKeys> | null;
|
|
2014
|
+
speedSound?: 'tape' | 'keep-pitch' | null;
|
|
1519
2015
|
ripple?: boolean;
|
|
1520
|
-
}>;
|
|
2016
|
+
} & SoundEdges>;
|
|
1521
2017
|
export declare const manageTimelineMarker: Operation<{
|
|
1522
2018
|
action: 'create' | 'update' | 'delete';
|
|
1523
2019
|
projectId: string;
|
|
@@ -1533,27 +2029,43 @@ export declare const addTimelineTrack: Operation<{
|
|
|
1533
2029
|
type?: 'video' | 'audio' | 'overlay';
|
|
1534
2030
|
name?: string;
|
|
1535
2031
|
}>;
|
|
1536
|
-
declare const TEXT_STYLE_IDS: readonly ["word-pop", "keyword", "subtitle", "headline", "clean"];
|
|
2032
|
+
declare const TEXT_STYLE_IDS: readonly ["word-pop", "keyword", "subtitle", "headline", "clean", "plain"];
|
|
2033
|
+
declare const TEXT_FONT_IDS: readonly ["bebas-neue", "montserrat-medium", "montserrat-bold", "montserrat-extrabold", "montserrat-black", "geist-regular", "geist-medium", "geist-semibold", "geist-bold"];
|
|
2034
|
+
type TextSet = {
|
|
2035
|
+
font?: (typeof TEXT_FONT_IDS)[number];
|
|
2036
|
+
fontSize?: number;
|
|
2037
|
+
pictureAssetId?: string;
|
|
2038
|
+
pictureHeight?: number;
|
|
2039
|
+
pictureGap?: number;
|
|
2040
|
+
line?: {
|
|
2041
|
+
name: string;
|
|
2042
|
+
place?: number;
|
|
2043
|
+
};
|
|
2044
|
+
gap?: number;
|
|
2045
|
+
};
|
|
2046
|
+
type TextSetPatch = {
|
|
2047
|
+
[K in keyof TextSet]?: TextSet[K] | null;
|
|
2048
|
+
};
|
|
1537
2049
|
declare const overlayWordsInput: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1538
2050
|
text: z.ZodString;
|
|
1539
2051
|
start: z.ZodNumber;
|
|
1540
2052
|
end: z.ZodNumber;
|
|
1541
2053
|
}, "strict", z.ZodTypeAny, {
|
|
2054
|
+
text: string;
|
|
1542
2055
|
start: number;
|
|
1543
2056
|
end: number;
|
|
1544
|
-
text: string;
|
|
1545
2057
|
}, {
|
|
2058
|
+
text: string;
|
|
1546
2059
|
start: number;
|
|
1547
2060
|
end: number;
|
|
1548
|
-
text: string;
|
|
1549
2061
|
}>, {
|
|
2062
|
+
text: string;
|
|
1550
2063
|
start: number;
|
|
1551
2064
|
end: number;
|
|
1552
|
-
text: string;
|
|
1553
2065
|
}, {
|
|
2066
|
+
text: string;
|
|
1554
2067
|
start: number;
|
|
1555
2068
|
end: number;
|
|
1556
|
-
text: string;
|
|
1557
2069
|
}>, "many">;
|
|
1558
2070
|
export declare const addTextClip: Operation<{
|
|
1559
2071
|
projectId: string;
|
|
@@ -1571,7 +2083,7 @@ export declare const addTextClip: Operation<{
|
|
|
1571
2083
|
durationSec?: number;
|
|
1572
2084
|
endFrame?: number;
|
|
1573
2085
|
trackId?: string;
|
|
1574
|
-
})[];
|
|
2086
|
+
} & TextSet)[];
|
|
1575
2087
|
}>;
|
|
1576
2088
|
export declare const addImageOverlay: Operation<{
|
|
1577
2089
|
projectId: string;
|
|
@@ -1602,32 +2114,9 @@ export declare const updateOverlayClip: Operation<{
|
|
|
1602
2114
|
color?: string | null;
|
|
1603
2115
|
width?: number | null;
|
|
1604
2116
|
opacity?: number | null;
|
|
1605
|
-
})[];
|
|
2117
|
+
} & TextSetPatch)[];
|
|
1606
2118
|
}>;
|
|
1607
2119
|
declare const KEYFRAME_PROPERTY_IDS: readonly ["positionX", "positionY", "scale", "rotation", "opacity", "cropLeft", "cropTop", "cropRight", "cropBottom", "focusX", "focusY", "zoom"];
|
|
1608
|
-
declare const keyframeList: z.ZodArray<z.ZodObject<{
|
|
1609
|
-
frame: z.ZodNumber;
|
|
1610
|
-
value: z.ZodNumber;
|
|
1611
|
-
easing: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["linear", "ease", "ease-in", "ease-out", "ease-in-out", "hold"]>, z.ZodObject<{
|
|
1612
|
-
cubicBezier: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
1613
|
-
}, "strict", z.ZodTypeAny, {
|
|
1614
|
-
cubicBezier: [number, number, number, number];
|
|
1615
|
-
}, {
|
|
1616
|
-
cubicBezier: [number, number, number, number];
|
|
1617
|
-
}>]>>;
|
|
1618
|
-
}, "strict", z.ZodTypeAny, {
|
|
1619
|
-
value: number;
|
|
1620
|
-
frame: number;
|
|
1621
|
-
easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
|
|
1622
|
-
cubicBezier: [number, number, number, number];
|
|
1623
|
-
} | undefined;
|
|
1624
|
-
}, {
|
|
1625
|
-
value: number;
|
|
1626
|
-
frame: number;
|
|
1627
|
-
easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
|
|
1628
|
-
cubicBezier: [number, number, number, number];
|
|
1629
|
-
} | undefined;
|
|
1630
|
-
}>, "many">;
|
|
1631
2120
|
export declare const setClipKeyframes: Operation<{
|
|
1632
2121
|
projectId: string;
|
|
1633
2122
|
timelineId: string;
|
|
@@ -1683,6 +2172,7 @@ export declare const updateTimelineTrack: Operation<{
|
|
|
1683
2172
|
muted?: boolean;
|
|
1684
2173
|
locked?: boolean;
|
|
1685
2174
|
volume?: number;
|
|
2175
|
+
effects?: z.infer<typeof audioEffectList> | null;
|
|
1686
2176
|
}>;
|
|
1687
2177
|
export declare const removeTimelineTrack: Operation<{
|
|
1688
2178
|
projectId: string;
|
|
@@ -1695,6 +2185,8 @@ export declare const updateTimelineSettings: Operation<{
|
|
|
1695
2185
|
height?: number;
|
|
1696
2186
|
frameRate?: 24 | 30 | 60;
|
|
1697
2187
|
masterVolume?: number;
|
|
2188
|
+
effects?: z.infer<typeof audioEffectList> | null;
|
|
2189
|
+
audioBitrate?: typeof AUDIO_BITRATES[number] | null;
|
|
1698
2190
|
} & CutOptions>;
|
|
1699
2191
|
export declare const exportVideo: Operation<{
|
|
1700
2192
|
projectId?: string;
|
|
@@ -1702,6 +2194,7 @@ export declare const exportVideo: Operation<{
|
|
|
1702
2194
|
outputPath: string;
|
|
1703
2195
|
overwrite?: boolean;
|
|
1704
2196
|
aspect?: string;
|
|
2197
|
+
audioBitrate?: typeof AUDIO_BITRATES[number];
|
|
1705
2198
|
}>;
|
|
1706
2199
|
export declare const exportTimelineXml: Operation<{
|
|
1707
2200
|
projectId?: string;
|
|
@@ -1802,6 +2295,8 @@ export declare const updateLibraryItem: Operation<{
|
|
|
1802
2295
|
retagShots?: boolean;
|
|
1803
2296
|
imageAssetId?: string | null;
|
|
1804
2297
|
voiceAssetId?: string | null;
|
|
2298
|
+
extraAssetIds?: string[];
|
|
2299
|
+
palette?: string[];
|
|
1805
2300
|
}>;
|
|
1806
2301
|
export declare const deleteLibraryItem: Operation<{
|
|
1807
2302
|
itemId: string;
|
|
@@ -1841,6 +2336,51 @@ export declare const importTemplate: Operation<{
|
|
|
1841
2336
|
swaps?: Record<string, string>;
|
|
1842
2337
|
useTemplateCategories?: boolean;
|
|
1843
2338
|
}>;
|
|
2339
|
+
export declare const getReferenceBreakdown: Operation<{
|
|
2340
|
+
projectId: string;
|
|
2341
|
+
assetId: string;
|
|
2342
|
+
}>;
|
|
2343
|
+
export declare const breakDownReference: Operation<{
|
|
2344
|
+
projectId: string;
|
|
2345
|
+
assetId?: string;
|
|
2346
|
+
filePath?: string;
|
|
2347
|
+
url?: string;
|
|
2348
|
+
build?: boolean;
|
|
2349
|
+
transcribe?: boolean;
|
|
2350
|
+
name?: string;
|
|
2351
|
+
model?: string;
|
|
2352
|
+
cuts?: Array<{
|
|
2353
|
+
index: number;
|
|
2354
|
+
description?: string;
|
|
2355
|
+
onScreenText?: string;
|
|
2356
|
+
}>;
|
|
2357
|
+
sections?: Array<{
|
|
2358
|
+
label: string;
|
|
2359
|
+
fromCut: number;
|
|
2360
|
+
}>;
|
|
2361
|
+
roles?: Array<{
|
|
2362
|
+
name: string;
|
|
2363
|
+
kind?: 'person' | 'location' | 'product';
|
|
2364
|
+
itemId?: string;
|
|
2365
|
+
cuts: number[];
|
|
2366
|
+
}>;
|
|
2367
|
+
jobId?: string;
|
|
2368
|
+
cancel?: boolean;
|
|
2369
|
+
}>;
|
|
2370
|
+
export declare const getProductPage: Operation<{
|
|
2371
|
+
url: string;
|
|
2372
|
+
}>;
|
|
2373
|
+
export declare const importProduct: Operation<{
|
|
2374
|
+
projectId: string;
|
|
2375
|
+
url?: string;
|
|
2376
|
+
html?: string;
|
|
2377
|
+
filePaths?: string[];
|
|
2378
|
+
name?: string;
|
|
2379
|
+
categoryId?: string;
|
|
2380
|
+
itemId?: string;
|
|
2381
|
+
brand?: boolean;
|
|
2382
|
+
maxPictures?: number;
|
|
2383
|
+
}>;
|
|
1844
2384
|
export declare const updateStoryboard: Operation<{
|
|
1845
2385
|
storyboardId: string;
|
|
1846
2386
|
name?: string;
|
|
@@ -2038,13 +2578,13 @@ declare const variationSchema: z.ZodObject<{
|
|
|
2038
2578
|
to: z.ZodString;
|
|
2039
2579
|
voice: z.ZodEnum<["keep", "replace"]>;
|
|
2040
2580
|
}, "strip", z.ZodTypeAny, {
|
|
2581
|
+
voice: "replace" | "keep";
|
|
2041
2582
|
from: string;
|
|
2042
2583
|
to: string;
|
|
2043
|
-
voice: "keep" | "replace";
|
|
2044
2584
|
}, {
|
|
2585
|
+
voice: "replace" | "keep";
|
|
2045
2586
|
from: string;
|
|
2046
2587
|
to: string;
|
|
2047
|
-
voice: "keep" | "replace";
|
|
2048
2588
|
}>, "many">>;
|
|
2049
2589
|
assetOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2050
2590
|
from: z.ZodString;
|
|
@@ -2060,19 +2600,19 @@ declare const variationSchema: z.ZodObject<{
|
|
|
2060
2600
|
}, "strip", z.ZodTypeAny, {
|
|
2061
2601
|
name: string;
|
|
2062
2602
|
storyboardId: string;
|
|
2063
|
-
expectedRevision: number;
|
|
2064
2603
|
choices: {
|
|
2065
2604
|
sectionId: string;
|
|
2066
2605
|
alternativeId: string;
|
|
2067
2606
|
}[];
|
|
2607
|
+
expectedRevision: number;
|
|
2068
2608
|
arrangement?: {
|
|
2069
2609
|
sectionId: string;
|
|
2070
2610
|
alternativeId: string;
|
|
2071
2611
|
}[] | undefined;
|
|
2072
2612
|
itemOverrides?: {
|
|
2613
|
+
voice: "replace" | "keep";
|
|
2073
2614
|
from: string;
|
|
2074
2615
|
to: string;
|
|
2075
|
-
voice: "keep" | "replace";
|
|
2076
2616
|
}[] | undefined;
|
|
2077
2617
|
assetOverrides?: {
|
|
2078
2618
|
from: string;
|
|
@@ -2082,19 +2622,19 @@ declare const variationSchema: z.ZodObject<{
|
|
|
2082
2622
|
}, {
|
|
2083
2623
|
name: string;
|
|
2084
2624
|
storyboardId: string;
|
|
2085
|
-
expectedRevision: number;
|
|
2086
2625
|
choices: {
|
|
2087
2626
|
sectionId: string;
|
|
2088
2627
|
alternativeId: string;
|
|
2089
2628
|
}[];
|
|
2629
|
+
expectedRevision: number;
|
|
2090
2630
|
arrangement?: {
|
|
2091
2631
|
sectionId: string;
|
|
2092
2632
|
alternativeId: string;
|
|
2093
2633
|
}[] | undefined;
|
|
2094
2634
|
itemOverrides?: {
|
|
2635
|
+
voice: "replace" | "keep";
|
|
2095
2636
|
from: string;
|
|
2096
2637
|
to: string;
|
|
2097
|
-
voice: "keep" | "replace";
|
|
2098
2638
|
}[] | undefined;
|
|
2099
2639
|
assetOverrides?: {
|
|
2100
2640
|
from: string;
|
|
@@ -2134,80 +2674,80 @@ declare const sectionInput: z.ZodObject<{
|
|
|
2134
2674
|
expectedRevision: z.ZodNumber;
|
|
2135
2675
|
}, "strip", z.ZodTypeAny, {
|
|
2136
2676
|
at: number;
|
|
2137
|
-
expectedRevision: number;
|
|
2138
2677
|
sceneId: string;
|
|
2678
|
+
expectedRevision: number;
|
|
2139
2679
|
}, {
|
|
2140
2680
|
at: number;
|
|
2141
|
-
expectedRevision: number;
|
|
2142
2681
|
sceneId: string;
|
|
2682
|
+
expectedRevision: number;
|
|
2143
2683
|
}>>;
|
|
2144
2684
|
uses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2145
2685
|
sectionId: z.ZodString;
|
|
2146
2686
|
expectedRevision: z.ZodNumber;
|
|
2147
2687
|
}, "strip", z.ZodTypeAny, {
|
|
2148
|
-
expectedRevision: number;
|
|
2149
2688
|
sectionId: string;
|
|
2150
|
-
}, {
|
|
2151
2689
|
expectedRevision: number;
|
|
2690
|
+
}, {
|
|
2152
2691
|
sectionId: string;
|
|
2692
|
+
expectedRevision: number;
|
|
2153
2693
|
}>, "many">>;
|
|
2154
2694
|
fragments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2155
2695
|
sceneId: z.ZodString;
|
|
2156
2696
|
start: z.ZodNumber;
|
|
2157
2697
|
end: z.ZodNumber;
|
|
2158
2698
|
}, "strip", z.ZodTypeAny, {
|
|
2159
|
-
start: number;
|
|
2160
2699
|
sceneId: string;
|
|
2700
|
+
start: number;
|
|
2161
2701
|
end: number;
|
|
2162
2702
|
}, {
|
|
2163
|
-
start: number;
|
|
2164
2703
|
sceneId: string;
|
|
2704
|
+
start: number;
|
|
2165
2705
|
end: number;
|
|
2166
2706
|
}>, "many">>;
|
|
2167
2707
|
}, "strip", z.ZodTypeAny, {
|
|
2168
|
-
action: "create" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "rename" | "archive" | "tags";
|
|
2169
2708
|
storyboardId: string;
|
|
2709
|
+
action: "tags" | "create" | "rename" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "archive";
|
|
2170
2710
|
expectedRevision: number;
|
|
2171
|
-
sectionId?: string | undefined;
|
|
2172
|
-
alternativeId?: string | undefined;
|
|
2173
|
-
tags?: string[] | undefined;
|
|
2174
|
-
parentId?: string | undefined;
|
|
2175
|
-
label?: string | undefined;
|
|
2176
2711
|
target?: {
|
|
2177
2712
|
at: number;
|
|
2178
|
-
expectedRevision: number;
|
|
2179
2713
|
sceneId: string;
|
|
2714
|
+
expectedRevision: number;
|
|
2180
2715
|
} | undefined;
|
|
2716
|
+
label?: string | undefined;
|
|
2717
|
+
sectionId?: string | undefined;
|
|
2718
|
+
alternativeId?: string | undefined;
|
|
2719
|
+
tags?: string[] | undefined;
|
|
2720
|
+
parentId?: string | undefined;
|
|
2181
2721
|
uses?: {
|
|
2182
|
-
expectedRevision: number;
|
|
2183
2722
|
sectionId: string;
|
|
2723
|
+
expectedRevision: number;
|
|
2184
2724
|
}[] | undefined;
|
|
2185
2725
|
fragments?: {
|
|
2186
|
-
start: number;
|
|
2187
2726
|
sceneId: string;
|
|
2727
|
+
start: number;
|
|
2188
2728
|
end: number;
|
|
2189
2729
|
}[] | undefined;
|
|
2190
2730
|
}, {
|
|
2191
|
-
action: "create" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "rename" | "archive" | "tags";
|
|
2192
2731
|
storyboardId: string;
|
|
2732
|
+
action: "tags" | "create" | "rename" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "archive";
|
|
2193
2733
|
expectedRevision: number;
|
|
2194
|
-
sectionId?: string | undefined;
|
|
2195
|
-
alternativeId?: string | undefined;
|
|
2196
|
-
tags?: string[] | undefined;
|
|
2197
|
-
parentId?: string | undefined;
|
|
2198
|
-
label?: string | undefined;
|
|
2199
2734
|
target?: {
|
|
2200
2735
|
at: number;
|
|
2201
|
-
expectedRevision: number;
|
|
2202
2736
|
sceneId: string;
|
|
2737
|
+
expectedRevision: number;
|
|
2203
2738
|
} | undefined;
|
|
2739
|
+
label?: string | undefined;
|
|
2740
|
+
sectionId?: string | undefined;
|
|
2741
|
+
alternativeId?: string | undefined;
|
|
2742
|
+
tags?: string[] | undefined;
|
|
2743
|
+
parentId?: string | undefined;
|
|
2204
2744
|
uses?: {
|
|
2205
|
-
expectedRevision: number;
|
|
2206
2745
|
sectionId: string;
|
|
2746
|
+
expectedRevision: number;
|
|
2207
2747
|
}[] | undefined;
|
|
2208
2748
|
fragments?: {
|
|
2209
|
-
start: number;
|
|
2210
2749
|
sceneId: string;
|
|
2750
|
+
start: number;
|
|
2211
2751
|
end: number;
|
|
2212
2752
|
}[] | undefined;
|
|
2213
2753
|
}>;
|
|
@@ -2227,15 +2767,15 @@ declare const suggestionInput: z.ZodObject<{
|
|
|
2227
2767
|
replacement: z.ZodString;
|
|
2228
2768
|
note: z.ZodOptional<z.ZodString>;
|
|
2229
2769
|
}, "strip", z.ZodTypeAny, {
|
|
2230
|
-
start: number;
|
|
2231
2770
|
sceneId: string;
|
|
2771
|
+
start: number;
|
|
2232
2772
|
end: number;
|
|
2233
2773
|
original: string;
|
|
2234
2774
|
replacement: string;
|
|
2235
2775
|
note?: string | undefined;
|
|
2236
2776
|
}, {
|
|
2237
|
-
start: number;
|
|
2238
2777
|
sceneId: string;
|
|
2778
|
+
start: number;
|
|
2239
2779
|
end: number;
|
|
2240
2780
|
original: string;
|
|
2241
2781
|
replacement: string;
|
|
@@ -2243,12 +2783,12 @@ declare const suggestionInput: z.ZodObject<{
|
|
|
2243
2783
|
}>, "many">>;
|
|
2244
2784
|
suggestionId: z.ZodOptional<z.ZodString>;
|
|
2245
2785
|
}, "strip", z.ZodTypeAny, {
|
|
2246
|
-
action: "create" | "accept" | "dismiss";
|
|
2247
2786
|
storyboardId: string;
|
|
2787
|
+
action: "create" | "accept" | "dismiss";
|
|
2248
2788
|
expectedRevision: number;
|
|
2249
2789
|
suggestions?: {
|
|
2250
|
-
start: number;
|
|
2251
2790
|
sceneId: string;
|
|
2791
|
+
start: number;
|
|
2252
2792
|
end: number;
|
|
2253
2793
|
original: string;
|
|
2254
2794
|
replacement: string;
|
|
@@ -2256,12 +2796,12 @@ declare const suggestionInput: z.ZodObject<{
|
|
|
2256
2796
|
}[] | undefined;
|
|
2257
2797
|
suggestionId?: string | undefined;
|
|
2258
2798
|
}, {
|
|
2259
|
-
action: "create" | "accept" | "dismiss";
|
|
2260
2799
|
storyboardId: string;
|
|
2800
|
+
action: "create" | "accept" | "dismiss";
|
|
2261
2801
|
expectedRevision: number;
|
|
2262
2802
|
suggestions?: {
|
|
2263
|
-
start: number;
|
|
2264
2803
|
sceneId: string;
|
|
2804
|
+
start: number;
|
|
2265
2805
|
end: number;
|
|
2266
2806
|
original: string;
|
|
2267
2807
|
replacement: string;
|
|
@@ -2283,14 +2823,14 @@ declare const writeScriptDocumentInput: z.ZodObject<{
|
|
|
2283
2823
|
text: z.ZodString;
|
|
2284
2824
|
}, "strip", z.ZodTypeAny, {
|
|
2285
2825
|
at: number;
|
|
2826
|
+
text: string;
|
|
2286
2827
|
sceneId: string;
|
|
2287
2828
|
removed: number;
|
|
2288
|
-
text: string;
|
|
2289
2829
|
}, {
|
|
2290
2830
|
at: number;
|
|
2831
|
+
text: string;
|
|
2291
2832
|
sceneId: string;
|
|
2292
2833
|
removed: number;
|
|
2293
|
-
text: string;
|
|
2294
2834
|
}>, "many">;
|
|
2295
2835
|
structures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2296
2836
|
sceneId: z.ZodString;
|
|
@@ -2306,34 +2846,34 @@ declare const writeScriptDocumentInput: z.ZodObject<{
|
|
|
2306
2846
|
end: z.ZodNumber;
|
|
2307
2847
|
type: z.ZodEnum<["strong", "em"]>;
|
|
2308
2848
|
}, "strip", z.ZodTypeAny, {
|
|
2309
|
-
start: number;
|
|
2310
2849
|
type: "strong" | "em";
|
|
2850
|
+
start: number;
|
|
2311
2851
|
end: number;
|
|
2312
2852
|
}, {
|
|
2313
|
-
start: number;
|
|
2314
2853
|
type: "strong" | "em";
|
|
2854
|
+
start: number;
|
|
2315
2855
|
end: number;
|
|
2316
2856
|
}>, "many">;
|
|
2317
2857
|
}, "strip", z.ZodTypeAny, {
|
|
2318
|
-
start: number;
|
|
2319
|
-
end: number;
|
|
2320
2858
|
id: string;
|
|
2321
2859
|
kind: "paragraph" | "heading" | "direction";
|
|
2860
|
+
start: number;
|
|
2861
|
+
end: number;
|
|
2322
2862
|
marks: {
|
|
2323
|
-
start: number;
|
|
2324
2863
|
type: "strong" | "em";
|
|
2864
|
+
start: number;
|
|
2325
2865
|
end: number;
|
|
2326
2866
|
}[];
|
|
2327
2867
|
level?: 2 | 3 | undefined;
|
|
2328
2868
|
label?: string | undefined;
|
|
2329
2869
|
}, {
|
|
2330
|
-
start: number;
|
|
2331
|
-
end: number;
|
|
2332
2870
|
id: string;
|
|
2333
2871
|
kind: "paragraph" | "heading" | "direction";
|
|
2872
|
+
start: number;
|
|
2873
|
+
end: number;
|
|
2334
2874
|
marks: {
|
|
2335
|
-
start: number;
|
|
2336
2875
|
type: "strong" | "em";
|
|
2876
|
+
start: number;
|
|
2337
2877
|
end: number;
|
|
2338
2878
|
}[];
|
|
2339
2879
|
level?: 2 | 3 | undefined;
|
|
@@ -2342,13 +2882,13 @@ declare const writeScriptDocumentInput: z.ZodObject<{
|
|
|
2342
2882
|
}, "strip", z.ZodTypeAny, {
|
|
2343
2883
|
sceneId: string;
|
|
2344
2884
|
blocks: {
|
|
2345
|
-
start: number;
|
|
2346
|
-
end: number;
|
|
2347
2885
|
id: string;
|
|
2348
2886
|
kind: "paragraph" | "heading" | "direction";
|
|
2887
|
+
start: number;
|
|
2888
|
+
end: number;
|
|
2349
2889
|
marks: {
|
|
2350
|
-
start: number;
|
|
2351
2890
|
type: "strong" | "em";
|
|
2891
|
+
start: number;
|
|
2352
2892
|
end: number;
|
|
2353
2893
|
}[];
|
|
2354
2894
|
level?: 2 | 3 | undefined;
|
|
@@ -2357,13 +2897,13 @@ declare const writeScriptDocumentInput: z.ZodObject<{
|
|
|
2357
2897
|
}, {
|
|
2358
2898
|
sceneId: string;
|
|
2359
2899
|
blocks: {
|
|
2360
|
-
start: number;
|
|
2361
|
-
end: number;
|
|
2362
2900
|
id: string;
|
|
2363
2901
|
kind: "paragraph" | "heading" | "direction";
|
|
2902
|
+
start: number;
|
|
2903
|
+
end: number;
|
|
2364
2904
|
marks: {
|
|
2365
|
-
start: number;
|
|
2366
2905
|
type: "strong" | "em";
|
|
2906
|
+
start: number;
|
|
2367
2907
|
end: number;
|
|
2368
2908
|
}[];
|
|
2369
2909
|
level?: 2 | 3 | undefined;
|
|
@@ -2389,13 +2929,13 @@ declare const writeScriptDocumentInput: z.ZodObject<{
|
|
|
2389
2929
|
end: z.ZodNumber;
|
|
2390
2930
|
waitingShotId: z.ZodOptional<z.ZodString>;
|
|
2391
2931
|
}, "strip", z.ZodTypeAny, {
|
|
2392
|
-
start: number;
|
|
2393
2932
|
sceneId: string;
|
|
2933
|
+
start: number;
|
|
2394
2934
|
end: number;
|
|
2395
2935
|
waitingShotId?: string | undefined;
|
|
2396
2936
|
}, {
|
|
2397
|
-
start: number;
|
|
2398
2937
|
sceneId: string;
|
|
2938
|
+
start: number;
|
|
2399
2939
|
end: number;
|
|
2400
2940
|
waitingShotId?: string | undefined;
|
|
2401
2941
|
}>, "many">>;
|
|
@@ -2407,55 +2947,55 @@ declare const writeScriptDocumentInput: z.ZodObject<{
|
|
|
2407
2947
|
at: z.ZodNumber;
|
|
2408
2948
|
}, "strip", z.ZodTypeAny, {
|
|
2409
2949
|
at: number;
|
|
2410
|
-
sceneId: string;
|
|
2411
2950
|
kind: "split";
|
|
2951
|
+
sceneId: string;
|
|
2412
2952
|
}, {
|
|
2413
2953
|
at: number;
|
|
2414
|
-
sceneId: string;
|
|
2415
2954
|
kind: "split";
|
|
2955
|
+
sceneId: string;
|
|
2416
2956
|
}>, z.ZodObject<{
|
|
2417
2957
|
kind: z.ZodLiteral<"merge">;
|
|
2418
2958
|
sceneId: z.ZodString;
|
|
2419
2959
|
}, "strip", z.ZodTypeAny, {
|
|
2420
|
-
sceneId: string;
|
|
2421
2960
|
kind: "merge";
|
|
2422
|
-
}, {
|
|
2423
2961
|
sceneId: string;
|
|
2962
|
+
}, {
|
|
2424
2963
|
kind: "merge";
|
|
2964
|
+
sceneId: string;
|
|
2425
2965
|
}>]>>;
|
|
2426
2966
|
}, "strip", z.ZodTypeAny, {
|
|
2427
|
-
storyboardId: string;
|
|
2428
|
-
expectedRevision: number;
|
|
2429
2967
|
edits: {
|
|
2430
2968
|
at: number;
|
|
2969
|
+
text: string;
|
|
2431
2970
|
sceneId: string;
|
|
2432
2971
|
removed: number;
|
|
2433
|
-
text: string;
|
|
2434
2972
|
}[];
|
|
2973
|
+
storyboardId: string;
|
|
2974
|
+
expectedRevision: number;
|
|
2975
|
+
move?: {
|
|
2976
|
+
sceneId: string;
|
|
2977
|
+
blockId: string;
|
|
2978
|
+
delta: 1 | -1;
|
|
2979
|
+
} | undefined;
|
|
2435
2980
|
structures?: {
|
|
2436
2981
|
sceneId: string;
|
|
2437
2982
|
blocks: {
|
|
2438
|
-
start: number;
|
|
2439
|
-
end: number;
|
|
2440
2983
|
id: string;
|
|
2441
2984
|
kind: "paragraph" | "heading" | "direction";
|
|
2985
|
+
start: number;
|
|
2986
|
+
end: number;
|
|
2442
2987
|
marks: {
|
|
2443
|
-
start: number;
|
|
2444
2988
|
type: "strong" | "em";
|
|
2989
|
+
start: number;
|
|
2445
2990
|
end: number;
|
|
2446
2991
|
}[];
|
|
2447
2992
|
level?: 2 | 3 | undefined;
|
|
2448
2993
|
label?: string | undefined;
|
|
2449
2994
|
}[];
|
|
2450
2995
|
}[] | undefined;
|
|
2451
|
-
move?: {
|
|
2452
|
-
sceneId: string;
|
|
2453
|
-
blockId: string;
|
|
2454
|
-
delta: 1 | -1;
|
|
2455
|
-
} | undefined;
|
|
2456
2996
|
makeShots?: {
|
|
2457
|
-
start: number;
|
|
2458
2997
|
sceneId: string;
|
|
2998
|
+
start: number;
|
|
2459
2999
|
end: number;
|
|
2460
3000
|
waitingShotId?: string | undefined;
|
|
2461
3001
|
}[] | undefined;
|
|
@@ -2463,45 +3003,45 @@ declare const writeScriptDocumentInput: z.ZodObject<{
|
|
|
2463
3003
|
ensureScene?: boolean | undefined;
|
|
2464
3004
|
sceneAction?: {
|
|
2465
3005
|
at: number;
|
|
2466
|
-
sceneId: string;
|
|
2467
3006
|
kind: "split";
|
|
2468
|
-
} | {
|
|
2469
3007
|
sceneId: string;
|
|
3008
|
+
} | {
|
|
2470
3009
|
kind: "merge";
|
|
3010
|
+
sceneId: string;
|
|
2471
3011
|
} | undefined;
|
|
2472
3012
|
}, {
|
|
2473
|
-
storyboardId: string;
|
|
2474
|
-
expectedRevision: number;
|
|
2475
3013
|
edits: {
|
|
2476
3014
|
at: number;
|
|
3015
|
+
text: string;
|
|
2477
3016
|
sceneId: string;
|
|
2478
3017
|
removed: number;
|
|
2479
|
-
text: string;
|
|
2480
3018
|
}[];
|
|
3019
|
+
storyboardId: string;
|
|
3020
|
+
expectedRevision: number;
|
|
3021
|
+
move?: {
|
|
3022
|
+
sceneId: string;
|
|
3023
|
+
blockId: string;
|
|
3024
|
+
delta: 1 | -1;
|
|
3025
|
+
} | undefined;
|
|
2481
3026
|
structures?: {
|
|
2482
3027
|
sceneId: string;
|
|
2483
3028
|
blocks: {
|
|
2484
|
-
start: number;
|
|
2485
|
-
end: number;
|
|
2486
3029
|
id: string;
|
|
2487
3030
|
kind: "paragraph" | "heading" | "direction";
|
|
3031
|
+
start: number;
|
|
3032
|
+
end: number;
|
|
2488
3033
|
marks: {
|
|
2489
|
-
start: number;
|
|
2490
3034
|
type: "strong" | "em";
|
|
3035
|
+
start: number;
|
|
2491
3036
|
end: number;
|
|
2492
3037
|
}[];
|
|
2493
3038
|
level?: 2 | 3 | undefined;
|
|
2494
3039
|
label?: string | undefined;
|
|
2495
3040
|
}[];
|
|
2496
3041
|
}[] | undefined;
|
|
2497
|
-
move?: {
|
|
2498
|
-
sceneId: string;
|
|
2499
|
-
blockId: string;
|
|
2500
|
-
delta: 1 | -1;
|
|
2501
|
-
} | undefined;
|
|
2502
3042
|
makeShots?: {
|
|
2503
|
-
start: number;
|
|
2504
3043
|
sceneId: string;
|
|
3044
|
+
start: number;
|
|
2505
3045
|
end: number;
|
|
2506
3046
|
waitingShotId?: string | undefined;
|
|
2507
3047
|
}[] | undefined;
|
|
@@ -2509,11 +3049,11 @@ declare const writeScriptDocumentInput: z.ZodObject<{
|
|
|
2509
3049
|
ensureScene?: boolean | undefined;
|
|
2510
3050
|
sceneAction?: {
|
|
2511
3051
|
at: number;
|
|
2512
|
-
sceneId: string;
|
|
2513
3052
|
kind: "split";
|
|
2514
|
-
} | {
|
|
2515
3053
|
sceneId: string;
|
|
3054
|
+
} | {
|
|
2516
3055
|
kind: "merge";
|
|
3056
|
+
sceneId: string;
|
|
2517
3057
|
} | undefined;
|
|
2518
3058
|
}>;
|
|
2519
3059
|
export declare const writeScriptDocument: Operation<z.infer<typeof writeScriptDocumentInput>>;
|
|
@@ -2585,6 +3125,17 @@ export declare const editCut: Operation<{
|
|
|
2585
3125
|
skipPresent?: boolean;
|
|
2586
3126
|
}>;
|
|
2587
3127
|
export declare function resolveGuideTopic(topic: string): string | null;
|
|
3128
|
+
/**
|
|
3129
|
+
* The one guide a near-miss name means: the name without its `slates-` prefix, or a typo of one name
|
|
3130
|
+
* ("slaes-direct-response-ad"). Two names equally close come back as `tied`, for the caller to name rather
|
|
3131
|
+
* than pick. Only the guide op uses it: a model id resolves exactly or not at all (resolveGuideTopic), since
|
|
3132
|
+
* a near guess there would gate a generation on another model's guide.
|
|
3133
|
+
*/
|
|
3134
|
+
export declare function nearestGuideName(topic: string, names: readonly string[]): {
|
|
3135
|
+
name: string;
|
|
3136
|
+
} | {
|
|
3137
|
+
tied: string[];
|
|
3138
|
+
} | null;
|
|
2588
3139
|
/** The guide topic that serves the full MCP working method (agent-doctrine.ts, buildMcpInstructions). */
|
|
2589
3140
|
export declare const WORKING_METHOD_TOPIC = "working-method";
|
|
2590
3141
|
export declare const getPromptingGuide: Operation<{
|