@nodaro/shared 3.20.0 → 3.23.0
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/index.cjs +2287 -195
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1938 -82
- package/dist/index.d.ts +1938 -82
- package/dist/index.js +2119 -196
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/add-captions-plan.test.ts +33 -0
- package/src/__tests__/caption-plan-parse.test.ts +23 -0
- package/src/__tests__/caption-segment-schema.test.ts +30 -0
- package/src/__tests__/collections.test.ts +253 -0
- package/src/__tests__/default-tts-provider.test.ts +46 -0
- package/src/__tests__/dialogue-capabilities.test.ts +157 -0
- package/src/__tests__/edit-plan-review.test.ts +70 -0
- package/src/__tests__/edl-clocks.test.ts +97 -0
- package/src/__tests__/edl.test.ts +34 -0
- package/src/__tests__/execution-outcome.test.ts +44 -0
- package/src/__tests__/fan-out-meta.test.ts +23 -0
- package/src/__tests__/fan-out-rows.test.ts +36 -0
- package/src/__tests__/fan-out-url-item.test.ts +44 -0
- package/src/__tests__/fixtures/speaker-tracks.fixtures.json +622 -0
- package/src/__tests__/input-field-extra-keys.test.ts +34 -0
- package/src/__tests__/list-consumers-fan-in.test.ts +40 -0
- package/src/__tests__/model-tree.test.ts +7 -0
- package/src/__tests__/node-pass-through.test.ts +23 -0
- package/src/__tests__/node-runtime-keys.test.ts +1 -0
- package/src/__tests__/picker-restrictions.test.ts +36 -0
- package/src/__tests__/preview-gate.test.ts +305 -0
- package/src/__tests__/render-basis.test.ts +176 -0
- package/src/__tests__/render-nodes.test.ts +73 -0
- package/src/__tests__/render-output.test.ts +392 -0
- package/src/__tests__/run-continuation.test.ts +32 -0
- package/src/__tests__/speaker-tracks.test.ts +474 -0
- package/src/__tests__/speech-pricing.test.ts +69 -0
- package/src/__tests__/telegram-channel.test.ts +91 -0
- package/src/__tests__/tts-capabilities.test.ts +83 -5
- package/src/__tests__/tts-neighbour-text.test.ts +19 -0
- package/src/__tests__/ugc-call-body.test.ts +38 -0
- package/src/__tests__/ugc-run-state.test.ts +68 -0
- package/src/__tests__/video-character-refs.test.ts +213 -0
- package/src/__tests__/video-overlay-layer-plan.test.ts +94 -0
- package/src/add-captions-plan.ts +50 -0
- package/src/caption-plan.ts +45 -0
- package/src/caption-segment-schema.ts +82 -0
- package/src/collections.ts +462 -0
- package/src/competitors.ts +77 -0
- package/src/credit-estimators/index.ts +9 -0
- package/src/credit-estimators/speech.ts +51 -0
- package/src/dialogue-capabilities.ts +48 -0
- package/src/edit-plan-contract.ts +20 -9
- package/src/edit-plan-review.ts +40 -1
- package/src/edl.ts +27 -1
- package/src/execution-outcome.ts +41 -0
- package/src/fan-out-meta.ts +23 -0
- package/src/fan-out-rows.ts +74 -5
- package/src/gemini-omni-voices.ts +59 -0
- package/src/handle-aliases.ts +295 -0
- package/src/i18n/camera-motions.pt-BR.ts +14 -14
- package/src/i18n/transitions.pt-BR.ts +13 -13
- package/src/index.ts +180 -1
- package/src/model-catalog.ts +125 -15
- package/src/model-constants.ts +37 -4
- package/src/model-tree.ts +5 -1
- package/src/node-execution-state.ts +13 -0
- package/src/node-mappable-fields.ts +7 -1
- package/src/node-pass-through.ts +37 -0
- package/src/node-runtime-keys.ts +14 -0
- package/src/picker-restrictions.ts +49 -0
- package/src/presentation-types.ts +26 -2
- package/src/presentation-utils.ts +25 -7
- package/src/preview-gate.ts +279 -0
- package/src/producer-types.ts +58 -0
- package/src/render-final.ts +20 -0
- package/src/render-nodes.ts +92 -0
- package/src/render-output.ts +565 -0
- package/src/run-continuation.ts +39 -0
- package/src/speaker-tracks.ts +638 -0
- package/src/telegram-channel.ts +140 -0
- package/src/transcribe-preflight.ts +8 -4
- package/src/tts-capabilities.ts +19 -5
- package/src/tts-neighbour-text.ts +46 -0
- package/src/ugc-call-body.ts +86 -0
- package/src/ugc-run-state.ts +64 -0
- package/src/video-character-refs.ts +233 -0
- package/src/video-overlay.ts +78 -21
- package/src/voices.ts +11 -7
package/dist/index.d.cts
CHANGED
|
@@ -1024,6 +1024,28 @@ type MotionTransferProviderType = typeof MOTION_TRANSFER_PROVIDERS[number];
|
|
|
1024
1024
|
/** Text-to-speech providers */
|
|
1025
1025
|
declare const TTS_PROVIDERS: readonly ["elevenlabs-v3", "elevenlabs-v4", "elevenlabs-turbo", "elevenlabs-multilingual", "elevenlabs"];
|
|
1026
1026
|
type TtsProvider = typeof TTS_PROVIDERS[number];
|
|
1027
|
+
/**
|
|
1028
|
+
* Text-to-dialogue models (the `provider` of `/v1/text-to-dialogue` and of the
|
|
1029
|
+
* Text to Dialogue node). Each IS its catalog id and its credit identifier.
|
|
1030
|
+
* Never members of TTS_PROVIDERS: a dialogue model takes a script of lines, not
|
|
1031
|
+
* one text (`dialogue-capabilities.test.ts` pins both directions).
|
|
1032
|
+
*/
|
|
1033
|
+
declare const DIALOGUE_PROVIDERS: readonly ["elevenlabs-dialogue", "elevenlabs-dialogue-v4"];
|
|
1034
|
+
type DialogueProvider = typeof DIALOGUE_PROVIDERS[number];
|
|
1035
|
+
/** The model a dialogue request runs on when its provider is missing or unknown: v3 dialogue (decided 2026-10-04 — v3 stays the default). */
|
|
1036
|
+
declare const DEFAULT_DIALOGUE_PROVIDER: DialogueProvider;
|
|
1037
|
+
/**
|
|
1038
|
+
* The speech model a request runs on when it names none — ElevenLabs v4 since the
|
|
1039
|
+
* default flip (decided 2026-10-05; v3 stays selectable). The REST route's credit
|
|
1040
|
+
* guard and handler, the workflow engine's text-to-speech dispatch, the worker's
|
|
1041
|
+
* defensive default, the MCP `generate_speech` tool, the narration pipeline, the
|
|
1042
|
+
* video director and the editor's new-node default all read THIS, so they can never
|
|
1043
|
+
* disagree about which model ran and which one was billed. A request with no model
|
|
1044
|
+
* also follows a length rule: text longer than this model's cap runs on turbo instead.
|
|
1045
|
+
* The REST route, the workflow engine, the narration pipeline and the worker apply it
|
|
1046
|
+
* through one backend function; the MCP tool refuses such text with the number.
|
|
1047
|
+
*/
|
|
1048
|
+
declare const DEFAULT_TTS_PROVIDER: TtsProvider;
|
|
1027
1049
|
/** Text-to-audio providers */
|
|
1028
1050
|
declare const TEXT_TO_AUDIO_PROVIDERS: readonly ["elevenlabs-sfx"];
|
|
1029
1051
|
type TextToAudioProvider = typeof TEXT_TO_AUDIO_PROVIDERS[number];
|
|
@@ -1526,6 +1548,8 @@ declare const VIDEO_REF_LIMITS_BY_PROVIDER: Record<string, {
|
|
|
1526
1548
|
images?: number;
|
|
1527
1549
|
videos?: number;
|
|
1528
1550
|
audio?: number;
|
|
1551
|
+
characters?: number;
|
|
1552
|
+
voices?: number;
|
|
1529
1553
|
} | undefined>;
|
|
1530
1554
|
/** Per-reference-video duration bounds, in seconds. */
|
|
1531
1555
|
interface RefVideoDurationLimit {
|
|
@@ -2058,6 +2082,287 @@ declare const FEATURED_ENTITIES: Record<string, readonly FeaturedEntity[]>;
|
|
|
2058
2082
|
/** Featured presets for an entity type ("character" | "location" | "object"). */
|
|
2059
2083
|
declare function getFeaturedEntities(type: string): readonly FeaturedEntity[];
|
|
2060
2084
|
|
|
2085
|
+
/**
|
|
2086
|
+
* The 30 preset voices Gemini Omni's audio-persona endpoint accepts, with the
|
|
2087
|
+
* style labels its documentation gives each one. DATA, so the API docs, the MCP
|
|
2088
|
+
* tool text and any client picker list them from one place instead of copying a
|
|
2089
|
+
* table that drifts.
|
|
2090
|
+
*
|
|
2091
|
+
* A preset is the BASE voice; a persona is that voice plus a free-text
|
|
2092
|
+
* description (timbre, pace, emotion) and an example line. Pinning a persona to a
|
|
2093
|
+
* character is what keeps one voice across separate clips.
|
|
2094
|
+
*/
|
|
2095
|
+
interface GeminiOmniVoicePreset {
|
|
2096
|
+
id: string;
|
|
2097
|
+
gender: "female" | "male" | "genderless";
|
|
2098
|
+
/** The documented character of the voice ("soft", "raspy", "intellectual"…). */
|
|
2099
|
+
style: string;
|
|
2100
|
+
/** The documented pitch band ("low", "mid-low", "mid", "mid-high", "high"; "younger" for fenrir). */
|
|
2101
|
+
pitch: string;
|
|
2102
|
+
}
|
|
2103
|
+
declare const GEMINI_OMNI_VOICE_PRESETS: readonly [{
|
|
2104
|
+
readonly id: "achernar";
|
|
2105
|
+
readonly gender: "female";
|
|
2106
|
+
readonly style: "soft";
|
|
2107
|
+
readonly pitch: "high";
|
|
2108
|
+
}, {
|
|
2109
|
+
readonly id: "achird";
|
|
2110
|
+
readonly gender: "male";
|
|
2111
|
+
readonly style: "friendly";
|
|
2112
|
+
readonly pitch: "mid";
|
|
2113
|
+
}, {
|
|
2114
|
+
readonly id: "algenib";
|
|
2115
|
+
readonly gender: "male";
|
|
2116
|
+
readonly style: "raspy";
|
|
2117
|
+
readonly pitch: "low";
|
|
2118
|
+
}, {
|
|
2119
|
+
readonly id: "algieba";
|
|
2120
|
+
readonly gender: "male";
|
|
2121
|
+
readonly style: "easygoing";
|
|
2122
|
+
readonly pitch: "mid-low";
|
|
2123
|
+
}, {
|
|
2124
|
+
readonly id: "alnilam";
|
|
2125
|
+
readonly gender: "male";
|
|
2126
|
+
readonly style: "steady";
|
|
2127
|
+
readonly pitch: "mid-low";
|
|
2128
|
+
}, {
|
|
2129
|
+
readonly id: "aoede";
|
|
2130
|
+
readonly gender: "female";
|
|
2131
|
+
readonly style: "brisk";
|
|
2132
|
+
readonly pitch: "mid";
|
|
2133
|
+
}, {
|
|
2134
|
+
readonly id: "autonoe";
|
|
2135
|
+
readonly gender: "female";
|
|
2136
|
+
readonly style: "bright";
|
|
2137
|
+
readonly pitch: "mid";
|
|
2138
|
+
}, {
|
|
2139
|
+
readonly id: "callirrhoe";
|
|
2140
|
+
readonly gender: "female";
|
|
2141
|
+
readonly style: "easygoing";
|
|
2142
|
+
readonly pitch: "mid";
|
|
2143
|
+
}, {
|
|
2144
|
+
readonly id: "charon";
|
|
2145
|
+
readonly gender: "male";
|
|
2146
|
+
readonly style: "intellectual";
|
|
2147
|
+
readonly pitch: "low";
|
|
2148
|
+
}, {
|
|
2149
|
+
readonly id: "despina";
|
|
2150
|
+
readonly gender: "female";
|
|
2151
|
+
readonly style: "smooth";
|
|
2152
|
+
readonly pitch: "mid";
|
|
2153
|
+
}, {
|
|
2154
|
+
readonly id: "enceladus";
|
|
2155
|
+
readonly gender: "male";
|
|
2156
|
+
readonly style: "breathy";
|
|
2157
|
+
readonly pitch: "low";
|
|
2158
|
+
}, {
|
|
2159
|
+
readonly id: "erinome";
|
|
2160
|
+
readonly gender: "female";
|
|
2161
|
+
readonly style: "clear";
|
|
2162
|
+
readonly pitch: "mid";
|
|
2163
|
+
}, {
|
|
2164
|
+
readonly id: "fenrir";
|
|
2165
|
+
readonly gender: "male";
|
|
2166
|
+
readonly style: "lively";
|
|
2167
|
+
readonly pitch: "younger";
|
|
2168
|
+
}, {
|
|
2169
|
+
readonly id: "gacrux";
|
|
2170
|
+
readonly gender: "female";
|
|
2171
|
+
readonly style: "mature";
|
|
2172
|
+
readonly pitch: "mid";
|
|
2173
|
+
}, {
|
|
2174
|
+
readonly id: "iapetus";
|
|
2175
|
+
readonly gender: "male";
|
|
2176
|
+
readonly style: "clear";
|
|
2177
|
+
readonly pitch: "mid-low";
|
|
2178
|
+
}, {
|
|
2179
|
+
readonly id: "kore";
|
|
2180
|
+
readonly gender: "female";
|
|
2181
|
+
readonly style: "capable";
|
|
2182
|
+
readonly pitch: "mid";
|
|
2183
|
+
}, {
|
|
2184
|
+
readonly id: "laomedeia";
|
|
2185
|
+
readonly gender: "female";
|
|
2186
|
+
readonly style: "cheerful";
|
|
2187
|
+
readonly pitch: "mid-high";
|
|
2188
|
+
}, {
|
|
2189
|
+
readonly id: "leda";
|
|
2190
|
+
readonly gender: "female";
|
|
2191
|
+
readonly style: "young";
|
|
2192
|
+
readonly pitch: "mid-high";
|
|
2193
|
+
}, {
|
|
2194
|
+
readonly id: "orus";
|
|
2195
|
+
readonly gender: "male";
|
|
2196
|
+
readonly style: "steady";
|
|
2197
|
+
readonly pitch: "mid-low";
|
|
2198
|
+
}, {
|
|
2199
|
+
readonly id: "puck";
|
|
2200
|
+
readonly gender: "male";
|
|
2201
|
+
readonly style: "cheerful";
|
|
2202
|
+
readonly pitch: "mid";
|
|
2203
|
+
}, {
|
|
2204
|
+
readonly id: "pulcherrima";
|
|
2205
|
+
readonly gender: "genderless";
|
|
2206
|
+
readonly style: "forward";
|
|
2207
|
+
readonly pitch: "mid-high";
|
|
2208
|
+
}, {
|
|
2209
|
+
readonly id: "rasalgethi";
|
|
2210
|
+
readonly gender: "male";
|
|
2211
|
+
readonly style: "intellectual";
|
|
2212
|
+
readonly pitch: "mid";
|
|
2213
|
+
}, {
|
|
2214
|
+
readonly id: "sadachbia";
|
|
2215
|
+
readonly gender: "male";
|
|
2216
|
+
readonly style: "vivid";
|
|
2217
|
+
readonly pitch: "low";
|
|
2218
|
+
}, {
|
|
2219
|
+
readonly id: "sadaltager";
|
|
2220
|
+
readonly gender: "male";
|
|
2221
|
+
readonly style: "knowledgeable";
|
|
2222
|
+
readonly pitch: "mid";
|
|
2223
|
+
}, {
|
|
2224
|
+
readonly id: "schedar";
|
|
2225
|
+
readonly gender: "male";
|
|
2226
|
+
readonly style: "smooth";
|
|
2227
|
+
readonly pitch: "mid-low";
|
|
2228
|
+
}, {
|
|
2229
|
+
readonly id: "sulafat";
|
|
2230
|
+
readonly gender: "female";
|
|
2231
|
+
readonly style: "warm";
|
|
2232
|
+
readonly pitch: "mid";
|
|
2233
|
+
}, {
|
|
2234
|
+
readonly id: "umbriel";
|
|
2235
|
+
readonly gender: "male";
|
|
2236
|
+
readonly style: "smooth";
|
|
2237
|
+
readonly pitch: "low";
|
|
2238
|
+
}, {
|
|
2239
|
+
readonly id: "vindemiatrix";
|
|
2240
|
+
readonly gender: "female";
|
|
2241
|
+
readonly style: "gentle";
|
|
2242
|
+
readonly pitch: "mid";
|
|
2243
|
+
}, {
|
|
2244
|
+
readonly id: "zephyr";
|
|
2245
|
+
readonly gender: "female";
|
|
2246
|
+
readonly style: "bright";
|
|
2247
|
+
readonly pitch: "mid-high";
|
|
2248
|
+
}, {
|
|
2249
|
+
readonly id: "zubenelgenubi";
|
|
2250
|
+
readonly gender: "male";
|
|
2251
|
+
readonly style: "casual";
|
|
2252
|
+
readonly pitch: "mid-low";
|
|
2253
|
+
}];
|
|
2254
|
+
type GeminiOmniVoicePresetId = (typeof GEMINI_OMNI_VOICE_PRESETS)[number]["id"];
|
|
2255
|
+
/** The preset ids as a non-empty tuple — what `z.enum(...)` takes. */
|
|
2256
|
+
declare const GEMINI_OMNI_VOICE_PRESET_IDS: readonly [GeminiOmniVoicePresetId, ...GeminiOmniVoicePresetId[]];
|
|
2257
|
+
|
|
2258
|
+
/**
|
|
2259
|
+
* Character references — the dedicated IDENTITY input of a video model, as
|
|
2260
|
+
* opposed to a loose reference image.
|
|
2261
|
+
*
|
|
2262
|
+
* Gemini Omni treats `image_urls` as "reference images for characters, scenes,
|
|
2263
|
+
* styles, or storyboard guidance": a portrait sent there steers the clip but
|
|
2264
|
+
* the face drifts. Its separate `character_ids` input is the one that keeps a
|
|
2265
|
+
* real person's face, and it takes ids minted from a portrait by a create
|
|
2266
|
+
* call. The PUBLIC shape below is provider-neutral — a portrait and a
|
|
2267
|
+
* description — and the provider layer mints (and caches) whatever ids its
|
|
2268
|
+
* upstream needs. Nothing upstream-shaped ever appears in the API.
|
|
2269
|
+
*
|
|
2270
|
+
* WHICH models take them is data, never a name list: a positive `characters`
|
|
2271
|
+
* cap on `VIDEO_REF_LIMITS_BY_PROVIDER`.
|
|
2272
|
+
*/
|
|
2273
|
+
interface VideoCharacterVoice {
|
|
2274
|
+
/** The base voice — one of `GEMINI_OMNI_VOICE_PRESETS`. */
|
|
2275
|
+
preset: GeminiOmniVoicePresetId;
|
|
2276
|
+
/** Free-text timbre / pace / emotion for the persona. Optional. */
|
|
2277
|
+
description?: string;
|
|
2278
|
+
/** One example line the persona says (≤ 120 chars). Optional. */
|
|
2279
|
+
exampleLine?: string;
|
|
2280
|
+
}
|
|
2281
|
+
interface VideoCharacterReference {
|
|
2282
|
+
/** Portrait of the person (public URL). Index 0 of the upstream image set. */
|
|
2283
|
+
imageUrl: string;
|
|
2284
|
+
/** Optional full-body image; costs a second input unit. */
|
|
2285
|
+
bodyImageUrl?: string;
|
|
2286
|
+
/** Who this is: appearance, identity, style, clothing. Required by the upstream. */
|
|
2287
|
+
description: string;
|
|
2288
|
+
/** Optional display name. */
|
|
2289
|
+
name?: string;
|
|
2290
|
+
/**
|
|
2291
|
+
* Pin a voice persona to this character so it keeps ONE voice across clips
|
|
2292
|
+
* (the model otherwise improvises a voice per generation). Only models with a
|
|
2293
|
+
* positive `voices` cap take it.
|
|
2294
|
+
*/
|
|
2295
|
+
voice?: VideoCharacterVoice;
|
|
2296
|
+
}
|
|
2297
|
+
/** Zod `.max()` ceiling for the wire field — the widest cap any provider declares. */
|
|
2298
|
+
declare const VIDEO_CHARACTER_REFS_WIRE_MAX: number;
|
|
2299
|
+
/** Longest `description` / `name` a client may send (route Zod reads these). */
|
|
2300
|
+
declare const VIDEO_CHARACTER_DESCRIPTION_MAX = 2000;
|
|
2301
|
+
declare const VIDEO_CHARACTER_NAME_MAX = 100;
|
|
2302
|
+
/** Longest voice `description` / `exampleLine` a client may send. The upstream
|
|
2303
|
+
* allows far more description (20000); we cap the PUBLIC field at the same
|
|
2304
|
+
* ceiling as a character description so policy text and prompts stay bounded. */
|
|
2305
|
+
declare const VIDEO_CHARACTER_VOICE_DESCRIPTION_MAX = 2000;
|
|
2306
|
+
declare const VIDEO_CHARACTER_VOICE_EXAMPLE_MAX = 120;
|
|
2307
|
+
/** How many character references the provider takes; 0 = none (or unknown). */
|
|
2308
|
+
declare function videoCharacterRefCap(provider: string | undefined): number;
|
|
2309
|
+
/** How many DISTINCT voice personas the provider takes per request; 0 = none. */
|
|
2310
|
+
declare function videoCharacterVoiceCap(provider: string | undefined): number;
|
|
2311
|
+
/**
|
|
2312
|
+
* Identity of a voice persona — what makes two voices "the same voice". The
|
|
2313
|
+
* persona is minted per (preset, description, example line) AND the character's
|
|
2314
|
+
* name (the label it is created under), so the name is part of the identity:
|
|
2315
|
+
* this count must equal the number of personas the provider will actually mint,
|
|
2316
|
+
* or the cap would be checked against a different number than what ships.
|
|
2317
|
+
*/
|
|
2318
|
+
declare function videoCharacterVoiceKey(ref: Pick<VideoCharacterReference, "voice" | "name">): string | null;
|
|
2319
|
+
/** How many distinct voice personas a set of references asks for. */
|
|
2320
|
+
declare function videoCharacterDistinctVoices(characterReferences: readonly Pick<VideoCharacterReference, "voice" | "name">[] | undefined): number;
|
|
2321
|
+
/** Every provider that declares a character-reference cap, in declaration order. */
|
|
2322
|
+
declare function videoCharacterRefProviders(): string[];
|
|
2323
|
+
/**
|
|
2324
|
+
* Input units a set of character references draws from the provider's shared
|
|
2325
|
+
* input budget: 1 per character, 2 when a body image is supplied (the upstream
|
|
2326
|
+
* counts a dual-image character as two slots).
|
|
2327
|
+
*/
|
|
2328
|
+
declare function videoCharacterRefUnits(characterReferences: readonly Pick<VideoCharacterReference, "bodyImageUrl">[] | undefined): number;
|
|
2329
|
+
interface VideoCharacterRefProblem {
|
|
2330
|
+
code: "character_references_unsupported" | "character_references_over_limit" | "character_references_with_start_frame" | "character_references_with_end_frame" | "character_references_quota" | "character_voice_unsupported" | "character_voices_over_limit";
|
|
2331
|
+
message: string;
|
|
2332
|
+
}
|
|
2333
|
+
/**
|
|
2334
|
+
* Voice-persona rule: the provider must take voices at all, and the DISTINCT
|
|
2335
|
+
* voices must fit its cap (Gemini Omni: 3 `audio_ids` per task). Two characters
|
|
2336
|
+
* with an identical voice AND name count once. `cap` overrides the provider's declared cap
|
|
2337
|
+
* (tests; a future model with a different limit declares it as data instead).
|
|
2338
|
+
*/
|
|
2339
|
+
declare function videoCharacterVoiceProblem(args: {
|
|
2340
|
+
provider: string | undefined;
|
|
2341
|
+
characterReferences: readonly VideoCharacterReference[] | undefined;
|
|
2342
|
+
cap?: number;
|
|
2343
|
+
}): VideoCharacterRefProblem | null;
|
|
2344
|
+
/**
|
|
2345
|
+
* The one validation both video routes (and the provider backstop) run. Returns
|
|
2346
|
+
* the first problem as a friendly 400 body, or null when the request is fine.
|
|
2347
|
+
*
|
|
2348
|
+
* The shared budget: for a model that declares `characters`, its `images` cap
|
|
2349
|
+
* IS the total input budget (images + 2×videos + character units ≤ images cap —
|
|
2350
|
+
* 7 for Gemini Omni). Callers pass the ASSEMBLED image count, after any
|
|
2351
|
+
* `connectedReferences` expansion, so the budget is measured on what ships.
|
|
2352
|
+
*/
|
|
2353
|
+
declare function videoCharacterRefProblem(args: {
|
|
2354
|
+
provider: string | undefined;
|
|
2355
|
+
characterReferences: readonly VideoCharacterReference[] | undefined;
|
|
2356
|
+
/** Reference images that will ship (assembled, flat). */
|
|
2357
|
+
imageCount: number;
|
|
2358
|
+
/** Source / reference videos that will ship. */
|
|
2359
|
+
videoCount: number;
|
|
2360
|
+
/** True when the request carries a start frame (`imageUrl`). */
|
|
2361
|
+
hasStartFrame: boolean;
|
|
2362
|
+
/** True when the request carries an end frame (`endFrameUrl`). */
|
|
2363
|
+
hasEndFrame?: boolean;
|
|
2364
|
+
}): VideoCharacterRefProblem | null;
|
|
2365
|
+
|
|
2061
2366
|
interface PixelBox {
|
|
2062
2367
|
x: number;
|
|
2063
2368
|
y: number;
|
|
@@ -2223,18 +2528,25 @@ interface PriceVariant {
|
|
|
2223
2528
|
/** Short human-readable note describing this variant ("1K default", "4K", "with audio"). */
|
|
2224
2529
|
note?: string;
|
|
2225
2530
|
}
|
|
2531
|
+
/**
|
|
2532
|
+
* The note on every speech model's `<model>:per-100-chars` pricing row. The
|
|
2533
|
+
* row is a rate: one started 100 characters of the text sent, at least 8 units
|
|
2534
|
+
* per request (`credit-estimators/speech.ts`). An instance serves the row only
|
|
2535
|
+
* while it prices speech by length; a client that does not see it quotes the
|
|
2536
|
+
* flat row. (The ids are literals on the entries — this file cannot import
|
|
2537
|
+
* the speech estimator without a cycle through tts-capabilities.ts; the
|
|
2538
|
+
* pricing-coverage tests pin each literal to `speechUnitCreditId(id)`.)
|
|
2539
|
+
*/
|
|
2540
|
+
declare const SPEECH_UNIT_PRICE_NOTE = "per started 100 characters, at least 8 units \u2014 where length pricing is on";
|
|
2226
2541
|
/** A voice-setting lever a speech model honours. */
|
|
2227
2542
|
type TtsSettingLever = "stability" | "similarity" | "style" | "speed" | "speakerBoost";
|
|
2228
2543
|
/**
|
|
2229
2544
|
* What a speech model (text-to-speech or dialogue) accepts. The ONE source for
|
|
2230
|
-
* every "does this model do X" decision
|
|
2231
|
-
*
|
|
2232
|
-
*
|
|
2233
|
-
*
|
|
2234
|
-
*
|
|
2235
|
-
* The dialogue model carries a sheet for its own lane too, but until that lane
|
|
2236
|
-
* is moved onto it only `maxChars` and `languages` of that sheet are read:
|
|
2237
|
-
* editing its other fields changes no dialogue request.
|
|
2545
|
+
* every "does this model do X" decision — tag stripping, which voice settings
|
|
2546
|
+
* are sent and shown, the language picker, the per-request character cap. Never
|
|
2547
|
+
* compare a provider id by hand; read the sheet through the helpers in
|
|
2548
|
+
* `tts-capabilities.ts` (the text-to-speech lane) or `dialogue-capabilities.ts`
|
|
2549
|
+
* (the dialogue lane). Each lane's helpers answer only for its own models.
|
|
2238
2550
|
*/
|
|
2239
2551
|
interface TtsCapabilities {
|
|
2240
2552
|
/** Inline `[audio tags]` are performed. false ⇒ strip them before sending (the model reads them aloud). */
|
|
@@ -2243,8 +2555,31 @@ interface TtsCapabilities {
|
|
|
2243
2555
|
ssmlBreaks: boolean;
|
|
2244
2556
|
/** Voice settings the model honours. A lever not listed is never sent and never shown. */
|
|
2245
2557
|
levers: readonly TtsSettingLever[];
|
|
2558
|
+
/**
|
|
2559
|
+
* The stability values THIS PLATFORM accepts for the model, when it offers
|
|
2560
|
+
* steps instead of a 0–1 range (ascending). Absent ⇒ any value from 0 to 1.
|
|
2561
|
+
* A product choice, not a vendor limit: ElevenLabs takes other values too on
|
|
2562
|
+
* some models; the steps are what our routes validate and our pickers offer.
|
|
2563
|
+
*/
|
|
2564
|
+
stabilitySteps?: readonly number[];
|
|
2246
2565
|
/** The request may carry a language code. false ⇒ the field is omitted. */
|
|
2247
2566
|
languageCode: boolean;
|
|
2567
|
+
/**
|
|
2568
|
+
* The model answers the `/with-timestamps` form of its endpoint with
|
|
2569
|
+
* character timings (and, for dialogue, per-line `voice_segments`). When true
|
|
2570
|
+
* the platform ALWAYS renders dialogue through it and the job output carries a
|
|
2571
|
+
* `transcript` (decided 2026-10-06); when false the plain endpoint is used
|
|
2572
|
+
* and the request is byte-identical to before the field existed.
|
|
2573
|
+
*/
|
|
2574
|
+
timestamps: boolean;
|
|
2575
|
+
/**
|
|
2576
|
+
* The model conditions a request on the text spoken before and after it
|
|
2577
|
+
* (`previous_text` / `next_text`), for continuous intonation across clips
|
|
2578
|
+
* produced separately. false ⇒ the fields are never sent: a model that does
|
|
2579
|
+
* not take them rejects the request (eleven_v3: 400), which would fail a paid
|
|
2580
|
+
* job. Values from live calls, never assumed (phase 6 plan, Task 0).
|
|
2581
|
+
*/
|
|
2582
|
+
stitching: boolean;
|
|
2248
2583
|
/**
|
|
2249
2584
|
* Per-request character cap (the total across lines for a dialogue model).
|
|
2250
2585
|
* `getMaxTtsChars` reads it by exact id and answers {@link TTS_TEXT_MAX}'s 5,000 for
|
|
@@ -3104,6 +3439,27 @@ declare const LTX_RETAKE_MIN_DURATION_SEC = 2;
|
|
|
3104
3439
|
*/
|
|
3105
3440
|
declare function ltxRetakeDurationSec(raw: unknown): number;
|
|
3106
3441
|
|
|
3442
|
+
/** Characters per price unit. */
|
|
3443
|
+
declare const SPEECH_PRICE_UNIT_CHARS = 100;
|
|
3444
|
+
/** The minimum units a request is priced at, however short its text. */
|
|
3445
|
+
declare const SPEECH_FLOOR_UNITS = 8;
|
|
3446
|
+
/** Appended to a speech model's id to name its per-unit price row. */
|
|
3447
|
+
declare const SPEECH_UNIT_CREDIT_SUFFIX = ":per-100-chars";
|
|
3448
|
+
/**
|
|
3449
|
+
* The price-row id of one unit for the model a request runs as. The legacy
|
|
3450
|
+
* `elevenlabs` alias prices on turbo's row, as it runs on turbo; any other id
|
|
3451
|
+
* (including the dialogue model) is used as given.
|
|
3452
|
+
*/
|
|
3453
|
+
declare function speechUnitCreditId(modelId: string): string;
|
|
3454
|
+
/**
|
|
3455
|
+
* Units a text of `chars` characters is priced at: every started 100, and
|
|
3456
|
+
* never fewer than the floor. A count that is not a finite non-negative
|
|
3457
|
+
* number (node data written straight into workflow JSON) is the floor.
|
|
3458
|
+
*/
|
|
3459
|
+
declare function speechPriceUnits(chars: number): number;
|
|
3460
|
+
/** Base credits for `chars` characters at `perUnitCredits` per unit (the model's `:per-100-chars` row). */
|
|
3461
|
+
declare function speechCredits(chars: number, perUnitCredits: number): number;
|
|
3462
|
+
|
|
3107
3463
|
/** Read a video node's duration (in seconds) from its data shape.
|
|
3108
3464
|
* Tries `generatedResults[activeResultIndex].duration` (post-execution
|
|
3109
3465
|
* metadata) first, then `data.duration` (configured at design time on
|
|
@@ -3221,12 +3577,27 @@ interface ExposableOutput {
|
|
|
3221
3577
|
type PresentationItem = {
|
|
3222
3578
|
type: "node";
|
|
3223
3579
|
nodeId: string;
|
|
3580
|
+
/**
|
|
3581
|
+
* For a node exposed whole whose input is text (a Text node): the most
|
|
3582
|
+
* characters the app user may enter — the same limit a `field` item carries
|
|
3583
|
+
* (a whole number, at least 1; ignored on a node that is not a text input).
|
|
3584
|
+
* Enforced when the app runs, and it caps the price a speech node fed by
|
|
3585
|
+
* this input is advertised at.
|
|
3586
|
+
*/
|
|
3587
|
+
maxLength?: number;
|
|
3224
3588
|
} | {
|
|
3225
3589
|
type: "field";
|
|
3226
3590
|
id: string;
|
|
3227
3591
|
nodeId: string;
|
|
3228
3592
|
field: string;
|
|
3229
3593
|
allowedValues?: Array<string | number | boolean>;
|
|
3594
|
+
/**
|
|
3595
|
+
* For a text input: the most characters the app user may enter (a whole
|
|
3596
|
+
* number, at least 1). Enforced when the app runs, and it caps the price a
|
|
3597
|
+
* speech node fed by this input is advertised at — without it, an exposed
|
|
3598
|
+
* speech text is priced at the model's per-request cap.
|
|
3599
|
+
*/
|
|
3600
|
+
maxLength?: number;
|
|
3230
3601
|
} | {
|
|
3231
3602
|
type: "output";
|
|
3232
3603
|
id: string;
|
|
@@ -3289,6 +3660,14 @@ interface InputFieldSchema {
|
|
|
3289
3660
|
type: "text" | "image-url" | "video-url" | "audio-url" | "select" | "number";
|
|
3290
3661
|
options?: string[];
|
|
3291
3662
|
}
|
|
3663
|
+
/**
|
|
3664
|
+
* Extra API-settable keys for node types whose card writes more than one field
|
|
3665
|
+
* (INPUT_FIELD_MAP is one key per node type). Read by extract-app-inputs and the
|
|
3666
|
+
* app runner; every key here must be in UGC_OVERRIDABLE_FIELDS for a UGC type.
|
|
3667
|
+
*/
|
|
3668
|
+
declare const INPUT_FIELD_EXTRA_KEYS: Readonly<Record<string, readonly InputFieldSchema[]>>;
|
|
3669
|
+
/** The extra override fields of a node type (none for most types). */
|
|
3670
|
+
declare function getInputFieldExtraKeys(nodeType: string): readonly InputFieldSchema[];
|
|
3292
3671
|
/** Get the overridable field schema for an input node type. */
|
|
3293
3672
|
declare function getInputFieldSchema(nodeType: string): InputFieldSchema | undefined;
|
|
3294
3673
|
/**
|
|
@@ -3350,6 +3729,27 @@ declare function canonicalExposedFieldKey(nodeType: string | undefined, key: str
|
|
|
3350
3729
|
*/
|
|
3351
3730
|
declare function canonicalizeOverrideKeys(nodeType: string | undefined, overrides: Record<string, unknown>): Record<string, unknown>;
|
|
3352
3731
|
|
|
3732
|
+
/** What an app's picker card may restrict (stored in `presentationSettings.cardMeta[nodeId]`). */
|
|
3733
|
+
interface PickerCardRestrictions {
|
|
3734
|
+
readonly pickerAllowedValues?: readonly string[];
|
|
3735
|
+
readonly pickerAllowedValuesByField?: Readonly<Record<string, readonly string[]>>;
|
|
3736
|
+
}
|
|
3737
|
+
/**
|
|
3738
|
+
* The first submitted picker value an app's card restrictions forbid, as the
|
|
3739
|
+
* runner's 400 text; null when all pass. Runs on every app run — `run_app`,
|
|
3740
|
+
* the SDK and a hand-built body included — so a restriction is never UI-only.
|
|
3741
|
+
* A submitted key is read through `canonicalExposedFieldKey`, so a legacy
|
|
3742
|
+
* spelling cannot slip past a restriction written against the current field.
|
|
3743
|
+
*/
|
|
3744
|
+
declare function findRestrictedPickerValue(input: {
|
|
3745
|
+
readonly cardMeta: Readonly<Record<string, PickerCardRestrictions | undefined>> | undefined;
|
|
3746
|
+
readonly nodes: ReadonlyArray<{
|
|
3747
|
+
readonly id: string;
|
|
3748
|
+
readonly type?: string;
|
|
3749
|
+
}>;
|
|
3750
|
+
readonly inputValues: Readonly<Record<string, Readonly<Record<string, unknown>>>> | undefined;
|
|
3751
|
+
}): string | null;
|
|
3752
|
+
|
|
3353
3753
|
/**
|
|
3354
3754
|
* Utilities for detecting and filtering expanded loop clones.
|
|
3355
3755
|
* Shared between frontend (store, persistence, execution) and backend (orchestrator).
|
|
@@ -4249,6 +4649,43 @@ declare function compactWithRows(aligned: readonly string[]): {
|
|
|
4249
4649
|
items: string[];
|
|
4250
4650
|
rowIndices: number[];
|
|
4251
4651
|
};
|
|
4652
|
+
/** What a wire reads off a list with holes when it reads ONE value (`pickHeldRow`). */
|
|
4653
|
+
type HeldRowPick =
|
|
4654
|
+
/** This read is not one the holes change: the engine's own rule stands. */
|
|
4655
|
+
{
|
|
4656
|
+
readonly kind: "unaffected";
|
|
4657
|
+
}
|
|
4658
|
+
/** The wire carries this value. */
|
|
4659
|
+
| {
|
|
4660
|
+
readonly kind: "value";
|
|
4661
|
+
readonly value: string;
|
|
4662
|
+
}
|
|
4663
|
+
/** The wire carries nothing (no scalar fallback). */
|
|
4664
|
+
| {
|
|
4665
|
+
readonly kind: "none";
|
|
4666
|
+
};
|
|
4667
|
+
/**
|
|
4668
|
+
* One value off a ROW-ALIGNED list whose empty rows mean "nothing here" (an
|
|
4669
|
+
* Edit Plan's clips as a person's review leaves them: the plan's rows, "" at
|
|
4670
|
+
* every dropped clip), for a wire that does not iterate it.
|
|
4671
|
+
*
|
|
4672
|
+
* Without this, both engines fall back to the source's scalar output (the
|
|
4673
|
+
* FIRST kept row of the whole list) whenever the wire's own pick is empty, so
|
|
4674
|
+
* a wire could carry a row it never selected:
|
|
4675
|
+
* - an Each wire with a range / list selector, outside its fan-out (the
|
|
4676
|
+
* selection holds one kept row, or none, so nothing fans out): the first
|
|
4677
|
+
* kept row OF THE SELECTION, or nothing when it holds none;
|
|
4678
|
+
* - an item pick (`item` / `item:N`), in a fan-out or not: the picked row, or
|
|
4679
|
+
* nothing when it is empty.
|
|
4680
|
+
* Every other read is `unaffected`: a default Each wire (its scalar IS the
|
|
4681
|
+
* first kept row), Selected (`last`), Bundle (`all`), an Each wire inside its
|
|
4682
|
+
* fan-out (the iteration reads its own row, and an empty row runs nothing),
|
|
4683
|
+
* and an empty list. Both engines call this, so they cannot disagree.
|
|
4684
|
+
*/
|
|
4685
|
+
declare function pickHeldRow(rows: readonly string[], edge: (SelectorFields & {
|
|
4686
|
+
outputMode?: string;
|
|
4687
|
+
itemIndex?: string;
|
|
4688
|
+
}) | undefined, iterating: boolean): HeldRowPick;
|
|
4252
4689
|
/**
|
|
4253
4690
|
* One column of a manual List table, row-aligned: a row is dropped only when
|
|
4254
4691
|
* EVERY cell of it is blank (the trailing empty row the editor keeps), and an
|
|
@@ -4291,6 +4728,8 @@ declare function resolveListFanOut<C extends FanOutCandidate>(candidates: readon
|
|
|
4291
4728
|
* the backend worker and the in-browser executor cannot disagree on it.
|
|
4292
4729
|
*/
|
|
4293
4730
|
declare function isFanOutUrlItem(item: string): boolean;
|
|
4731
|
+
/** Does a fan-out item that looks like a link stay TEXT on this lane (the item, not a media input)? */
|
|
4732
|
+
declare function fanOutUrlItemIsText(nodeType: string | null | undefined, targetHandle: string | null | undefined): boolean;
|
|
4294
4733
|
/** What a fan-out source resolved to. */
|
|
4295
4734
|
interface ListFanOut {
|
|
4296
4735
|
/** The driving list's value for every row that runs — "" where the driver has
|
|
@@ -5630,6 +6069,380 @@ declare function buildFeedMaps(nodes: ReadonlyArray<FeedNode>, edges: ReadonlyAr
|
|
|
5630
6069
|
/** Does this node feed anything? A trigger that does not runs the whole workflow. */
|
|
5631
6070
|
declare function nodeFeedsAnything(nodes: ReadonlyArray<FeedNode>, edges: ReadonlyArray<FeedEdge>, nodeId: string): boolean;
|
|
5632
6071
|
|
|
6072
|
+
/** The quality an Apply EDL render was made at. "proxy" is a Preview. */
|
|
6073
|
+
type RenderQuality = "proxy" | "final";
|
|
6074
|
+
/** The medium a render hands on. */
|
|
6075
|
+
type RenderMedium = "video" | "audio";
|
|
6076
|
+
/** What a finished render says about itself beside its URL. */
|
|
6077
|
+
interface RenderResultStamp {
|
|
6078
|
+
readonly quality?: RenderQuality;
|
|
6079
|
+
/** The plan clip the render was cut from (`edlSpanKey` of that clip). */
|
|
6080
|
+
readonly clipKey?: string;
|
|
6081
|
+
/** The plan value the render was cut from (`renderReadBasis`): stamped only
|
|
6082
|
+
* when that value is the plan's own (`renderPlanBasis`). Absent = unknown. */
|
|
6083
|
+
readonly planBasis?: string;
|
|
6084
|
+
/** The render's own settings (`renderSettingsBasis`): its output, its
|
|
6085
|
+
* crossfade and the media it read. */
|
|
6086
|
+
readonly renderBasis?: string;
|
|
6087
|
+
}
|
|
6088
|
+
/** One row of a run's per-item results, row-aligned with them. A row that
|
|
6089
|
+
* produced nothing (a hole) carries no take's fields; a render's hole still
|
|
6090
|
+
* says what it was sent for (`renderSentRowStamps`): the quality its run
|
|
6091
|
+
* renders at and, when the run can name it, its clip (`clipKey`,
|
|
6092
|
+
* `renderPlanRowClipKeys`), so a failed row is matched to its clip by key.
|
|
6093
|
+
* `{}` is a hole that names none (a run made before every row was stamped, or
|
|
6094
|
+
* a node that is not a render). */
|
|
6095
|
+
interface RunResultRowStamp extends RenderResultStamp {
|
|
6096
|
+
readonly jobId?: string;
|
|
6097
|
+
readonly thumbnailUrl?: string;
|
|
6098
|
+
/** The row never ran: a Stop, or the fail-fast after another row failed,
|
|
6099
|
+
* skipped it. It is a hole, never a failure. */
|
|
6100
|
+
readonly cancelled?: true;
|
|
6101
|
+
}
|
|
6102
|
+
/** One saved render result. */
|
|
6103
|
+
interface SavedRenderItem extends RenderResultStamp {
|
|
6104
|
+
readonly url: string;
|
|
6105
|
+
readonly medium: RenderMedium;
|
|
6106
|
+
readonly jobId?: string;
|
|
6107
|
+
readonly thumbnailUrl?: string;
|
|
6108
|
+
}
|
|
6109
|
+
type Data = Readonly<Record<string, unknown>>;
|
|
6110
|
+
/** The stamp a finished render's output carries: a known quality, a non-empty
|
|
6111
|
+
* clip key and the two bases as 16 hex digits, nothing else (an unknown value
|
|
6112
|
+
* is dropped, not trusted). */
|
|
6113
|
+
declare function renderResultStamp(output: unknown): RenderResultStamp;
|
|
6114
|
+
/** The one result a saved render hands a scalar edge: the selected result (as
|
|
6115
|
+
* the node's medium), else the saved field of its medium, else the other
|
|
6116
|
+
* medium's field (as that medium). */
|
|
6117
|
+
declare function savedRenderOutput(data: Data): SavedRenderItem | undefined;
|
|
6118
|
+
/** The rows of a saved render's LATEST batch, row-aligned (`null` = a row that
|
|
6119
|
+
* produced nothing), each with what its render stamped. `undefined` when the
|
|
6120
|
+
* render has no batch (it ran once, or never). */
|
|
6121
|
+
declare function savedRenderBatch(data: Data): ReadonlyArray<SavedRenderItem | null> | undefined;
|
|
6122
|
+
/** The latest batch as the list an each edge iterates (`""` = a hole). */
|
|
6123
|
+
declare function savedRenderBatchUrls(data: Data): string[] | undefined;
|
|
6124
|
+
/**
|
|
6125
|
+
* A plan clip's identity: the outer span of its kept segments on the master
|
|
6126
|
+
* clock, `${min inMs}-${max outMs}` (integer ms, as `normalizeEdl` rounds them).
|
|
6127
|
+
* Taken from the PLAN's clip, never from a rendered EDL — Camera Switch can
|
|
6128
|
+
* move a clip's outer edges inward. `undefined` when the value is not an EDL
|
|
6129
|
+
* with segments.
|
|
6130
|
+
*/
|
|
6131
|
+
declare function edlSpanKey(edl: unknown): string | undefined;
|
|
6132
|
+
/** The clip key of row `row` of a clips plan (a list of EDLs, objects or JSON
|
|
6133
|
+
* strings). `undefined` for a plan that is one EDL (Tighten), a missing row,
|
|
6134
|
+
* or a row that is not an EDL. */
|
|
6135
|
+
declare function planClipKeyAt(plan: unknown, row: number): string | undefined;
|
|
6136
|
+
/** A node or an edge as the plan walk needs it (either engine's graph). */
|
|
6137
|
+
interface RenderGraphNode {
|
|
6138
|
+
readonly id: string;
|
|
6139
|
+
readonly type?: string | null;
|
|
6140
|
+
}
|
|
6141
|
+
interface RenderGraphEdge {
|
|
6142
|
+
readonly source: string;
|
|
6143
|
+
readonly target: string;
|
|
6144
|
+
readonly sourceHandle?: string | null;
|
|
6145
|
+
readonly targetHandle?: string | null;
|
|
6146
|
+
/** The wire's settings: its `outputMode` and its range / list selector. */
|
|
6147
|
+
readonly data?: unknown;
|
|
6148
|
+
}
|
|
6149
|
+
/** One wire on the way from the plan to the render that picks clips: the render's
|
|
6150
|
+
* `edl` wire, or a Camera Switch's. */
|
|
6151
|
+
interface RenderPlanHop {
|
|
6152
|
+
/** The consumer's wire — the one whose selector the input resolvers apply. */
|
|
6153
|
+
readonly edge: RenderGraphEdge;
|
|
6154
|
+
/** Whether the wire hands on one clip per row ("each"), as both resolvers
|
|
6155
|
+
* decide it: its `outputMode`, else the default of the node behind any
|
|
6156
|
+
* teleports, on the handle that node is wired from. */
|
|
6157
|
+
readonly each: boolean;
|
|
6158
|
+
/** The type of the node the wire hands the clips on from, behind any
|
|
6159
|
+
* teleports: what a "Selected" (`last`) wire reads is that node's own output. */
|
|
6160
|
+
readonly source?: string;
|
|
6161
|
+
}
|
|
6162
|
+
/** The Edit Plan behind a render and the wires between them, plan side first. */
|
|
6163
|
+
interface RenderPlanPath {
|
|
6164
|
+
readonly planId: string;
|
|
6165
|
+
readonly hops: readonly RenderPlanHop[];
|
|
6166
|
+
}
|
|
6167
|
+
/**
|
|
6168
|
+
* The Edit Plan whose clips a render's `edl` input comes from, and the wires
|
|
6169
|
+
* that pick them: up the LAST wire on its `edl` handle (both engines keep the
|
|
6170
|
+
* last value), through teleports and Camera Switch. `undefined` when the EDL
|
|
6171
|
+
* comes from anything else.
|
|
6172
|
+
*/
|
|
6173
|
+
declare function renderPlanPath(renderId: string, nodes: readonly RenderGraphNode[], edges: readonly RenderGraphEdge[]): RenderPlanPath | undefined;
|
|
6174
|
+
/** The Edit Plan whose clips a render's `edl` input comes from (`renderPlanPath`). */
|
|
6175
|
+
declare function renderPlanNodeId(renderId: string, nodes: readonly RenderGraphNode[], edges: readonly RenderGraphEdge[]): string | undefined;
|
|
6176
|
+
/**
|
|
6177
|
+
* The plan value a render iteration reads. `plan` is the plan's output as the
|
|
6178
|
+
* engine holds it: a clip set's clips (a list of EDLs, objects or JSON strings,
|
|
6179
|
+
* `""` at a dropped clip), or a Tighten plan's one EDL — which every wire hands
|
|
6180
|
+
* on as it is. `hops` are the wires from the plan down (`renderPlanPath`). Each
|
|
6181
|
+
* "each" wire hands on the clips its selector picks — Camera Switch's row k is
|
|
6182
|
+
* row k of ITS selection, the render's row k row k of its own — exactly as both
|
|
6183
|
+
* input resolvers select before they index. A wire that hands on one value
|
|
6184
|
+
* hands on the clip it picks (`singlePick`), and names one only when exactly
|
|
6185
|
+
* one is picked.
|
|
6186
|
+
*
|
|
6187
|
+
* Holes (a dropped clip, TA16) follow the row space each wire really hands on.
|
|
6188
|
+
* A pass-through node (Camera Switch: every hop but the last) runs once per
|
|
6189
|
+
* KEPT clip of its selection and both engines store its batch by iteration, so
|
|
6190
|
+
* the next wire reads a list without the holes. The last wire, into the
|
|
6191
|
+
* render, is not compacted: a render wired straight to the plan is rowed in
|
|
6192
|
+
* the plan's own rows, holes included.
|
|
6193
|
+
*
|
|
6194
|
+
* With a row on an "each" wire, the row's clip; a row past the clips starts
|
|
6195
|
+
* over from the first, as the resolvers read it. With no row (a render run
|
|
6196
|
+
* once, or Repeat xN with nothing list-driven), the clip only when exactly one
|
|
6197
|
+
* KEPT clip is left — the scalar both engines read — and any other plan names
|
|
6198
|
+
* no single clip. An empty row names nothing.
|
|
6199
|
+
*/
|
|
6200
|
+
declare function renderPlanValue(plan: unknown, row: number | undefined, hops?: readonly RenderPlanHop[]): unknown;
|
|
6201
|
+
/** The clip a render iteration reads, as a key (`edlSpanKey` of the clip
|
|
6202
|
+
* `renderPlanValue` picks). A Tighten plan names no clip. */
|
|
6203
|
+
declare function renderClipKey(plan: unknown, row: number | undefined, hops?: readonly RenderPlanHop[]): string | undefined;
|
|
6204
|
+
/**
|
|
6205
|
+
* The clip key a render iteration stamps — the ONE rule both engines call: the
|
|
6206
|
+
* Edit Plan behind its `edl` wire (`renderPlanPath`), its clips as the engine
|
|
6207
|
+
* holds them (`planClips`), picked by every wire on the way and indexed by the
|
|
6208
|
+
* iteration's list row (`renderClipKey`). Pass the row only when a list drives
|
|
6209
|
+
* it, never an iteration number.
|
|
6210
|
+
*/
|
|
6211
|
+
declare function renderPlanClipKey(renderId: string, nodes: readonly RenderGraphNode[], edges: readonly RenderGraphEdge[], planClips: (planNode: RenderGraphNode) => unknown, row: number | undefined): string | undefined;
|
|
6212
|
+
/**
|
|
6213
|
+
* The clip key of EVERY iteration of a render's fan-out, row-aligned with its
|
|
6214
|
+
* batch: `rows[k]` is iteration k's list row (`FanOutPlan.rows`), as both
|
|
6215
|
+
* engines hand it to `renderPlanClipKey` (never the iteration number). Both
|
|
6216
|
+
* engines stamp it on each batch row up front, so a row that FAILED still
|
|
6217
|
+
* names its clip (decided 2026-10-06): the batch has one row per run, not one
|
|
6218
|
+
* per plan clip, and a reader matches rows to clips by this key, never by
|
|
6219
|
+
* position. The plan is read once, as the run held it when the fan-out began.
|
|
6220
|
+
*/
|
|
6221
|
+
declare function renderPlanRowClipKeys(renderId: string, nodes: readonly RenderGraphNode[], edges: readonly RenderGraphEdge[], planClips: (planNode: RenderGraphNode) => unknown, rows: ReadonlyArray<number | undefined>, ranIds: ReadonlySet<string>): Array<string | undefined>;
|
|
6222
|
+
/** The quality a render runs at: its `quality` setting as the run holds it
|
|
6223
|
+
* ("proxy" is a Preview; anything else renders a final). */
|
|
6224
|
+
declare function renderRunQuality(data: Readonly<Record<string, unknown>> | undefined): RenderQuality;
|
|
6225
|
+
/**
|
|
6226
|
+
* What every row of a render's fan-out batch is stamped with before it runs
|
|
6227
|
+
* (decided 2026-10-06): the quality the run renders at and the clip the row is
|
|
6228
|
+
* sent for (`renderPlanRowClipKeys`, absent when the run cannot name it). Both
|
|
6229
|
+
* engines write it on every row; a landed take's own stamp wins over it, so a
|
|
6230
|
+
* row that FAILED still says which clip, and at which quality, it was sent for.
|
|
6231
|
+
*/
|
|
6232
|
+
declare function renderSentRowStamps(quality: RenderQuality, clipKeys: ReadonlyArray<string | undefined>): RunResultRowStamp[];
|
|
6233
|
+
/**
|
|
6234
|
+
* The fingerprint of the plan value a render read (R2 a, decided 2026-10-06):
|
|
6235
|
+
* `editPlanBasis` of the value with its top-level `meta` removed. No renderer
|
|
6236
|
+
* reads `meta`, so an edited hook (a clip's `meta.hook`, text only) leaves it
|
|
6237
|
+
* unchanged. A clip given as JSON text reads as its object. `undefined` for
|
|
6238
|
+
* anything that is not one plan object (a list, a scalar, unparsable text).
|
|
6239
|
+
*/
|
|
6240
|
+
declare function renderReadBasis(value: unknown): string | undefined;
|
|
6241
|
+
/** A render's own settings, as it reads them. */
|
|
6242
|
+
interface RenderSettingsInput {
|
|
6243
|
+
/** Any value other than "audio" is a video render. */
|
|
6244
|
+
readonly output?: unknown;
|
|
6245
|
+
/** The default crossfade in ms; missing, negative or non-finite is a hard cut. */
|
|
6246
|
+
readonly crossfadeMs?: unknown;
|
|
6247
|
+
}
|
|
6248
|
+
/**
|
|
6249
|
+
* The fingerprint of a render's own settings (R19 a, decided 2026-10-06):
|
|
6250
|
+
* `editPlanBasis({crossfadeMs, output, sources})`. `sources` is the EFFECTIVE
|
|
6251
|
+
* source list — the URL of each source of the effective EDL the render cuts,
|
|
6252
|
+
* in order, with the `sources` wires' overrides applied (`""` for a source with
|
|
6253
|
+
* no URL). A change to any of the three changes the cut while the plan value
|
|
6254
|
+
* stays equal. The settings are read as the render reads them: whole ms, a
|
|
6255
|
+
* hard cut when the crossfade is missing.
|
|
6256
|
+
*/
|
|
6257
|
+
declare function renderSettingsBasis(settings: RenderSettingsInput, sources?: ReadonlyArray<string | undefined>): string;
|
|
6258
|
+
/**
|
|
6259
|
+
* The plan basis a render iteration stamps — the ONE rule both engines call
|
|
6260
|
+
* (R1 a, decided 2026-10-06). The plan value the iteration read
|
|
6261
|
+
* (`renderPlanValue` of `planOutput` — the plan's output as the run holds it —
|
|
6262
|
+
* along `renderPlanPath`), as `renderReadBasis`.
|
|
6263
|
+
*
|
|
6264
|
+
* THE SAME-RUN RULE. Behind a pass-through node (Camera Switch) the render reads
|
|
6265
|
+
* that node's output, which is the plan's current value only when the node ran
|
|
6266
|
+
* in the same run as the render; a SAVED output can come from an older plan.
|
|
6267
|
+
* So the basis is stamped only when every pass-through node on the path is in
|
|
6268
|
+
* `ranIds`, the nodes executed in the render's run, and is `undefined`
|
|
6269
|
+
* otherwise — the take then reads as unknown (stale), never as current. A
|
|
6270
|
+
* render wired straight to the plan (through teleports at most) reads the
|
|
6271
|
+
* plan's output itself and is always stamped.
|
|
6272
|
+
*/
|
|
6273
|
+
declare function renderPlanBasis(renderId: string, nodes: readonly RenderGraphNode[], edges: readonly RenderGraphEdge[], planOutput: (planNode: RenderGraphNode) => unknown, row: number | undefined, ranIds: ReadonlySet<string>): string | undefined;
|
|
6274
|
+
|
|
6275
|
+
/** Where a render's player maps the output clock back to the master clock
|
|
6276
|
+
* from: the EDL it was given (`input_data.edl`), or the EDL it emitted on its
|
|
6277
|
+
* `json` output (a render that rewrites its EDL, e.g. by splitting turns). */
|
|
6278
|
+
type RenderClockSource = "input" | "output-json";
|
|
6279
|
+
/** What a render's `json` output handle carries. Only a `transcript` is handed
|
|
6280
|
+
* on as one (Add Captions, the word-timing preflight). */
|
|
6281
|
+
type RenderJsonKind = "transcript" | "edl";
|
|
6282
|
+
interface RenderNodeDescriptor {
|
|
6283
|
+
/** The medium the render's order asks for (its node data, or its job's
|
|
6284
|
+
* `input_data`) — before any output exists to say. */
|
|
6285
|
+
readonly mediumOf: (data: Readonly<Record<string, unknown>>) => RenderMedium;
|
|
6286
|
+
/** The credit id a render of this quality and output reserves on. */
|
|
6287
|
+
readonly creditId: (quality: unknown, output?: unknown) => string;
|
|
6288
|
+
readonly clockMapFrom: RenderClockSource;
|
|
6289
|
+
/** Listed in its owner's own views only, never in a public one (decided
|
|
6290
|
+
* 2026-10-06): a Preview is private, and a public final would be exposure
|
|
6291
|
+
* nobody decided. */
|
|
6292
|
+
readonly ownerOnlyListing: boolean;
|
|
6293
|
+
/** An `each` wire reads its LATEST batch only, never its accumulated history
|
|
6294
|
+
* (TA6, decided 2026-10-04). */
|
|
6295
|
+
readonly latestBatch: boolean;
|
|
6296
|
+
readonly jsonKind: RenderJsonKind;
|
|
6297
|
+
}
|
|
6298
|
+
declare const RENDER_NODE_TYPES: Readonly<Record<string, RenderNodeDescriptor>>;
|
|
6299
|
+
/** Every render node type, in registry order. */
|
|
6300
|
+
declare const RENDER_NODE_TYPE_IDS: readonly string[];
|
|
6301
|
+
/** The descriptor of a render node type (or job name); `undefined` for any
|
|
6302
|
+
* other value. Own keys only, so `"constructor"` is not a render. */
|
|
6303
|
+
declare function renderNodeOf(type: unknown): RenderNodeDescriptor | undefined;
|
|
6304
|
+
/** Is this node type (or job name) a render? */
|
|
6305
|
+
declare function isRenderNodeType(type: unknown): type is string;
|
|
6306
|
+
/** Does an `each` wire from this node read its latest batch only? */
|
|
6307
|
+
declare function rendersLatestBatch(type: unknown): boolean;
|
|
6308
|
+
/** Is this node a render whose `json` output is a Transcript? */
|
|
6309
|
+
declare function rendersTranscriptJson(type: unknown): boolean;
|
|
6310
|
+
/** The render job types that list in their owner's own views only. */
|
|
6311
|
+
declare const OWNER_ONLY_LISTING_RENDER_TYPES: readonly string[];
|
|
6312
|
+
|
|
6313
|
+
/** Render nodes a run can stop at: every render in the registry (SV18). */
|
|
6314
|
+
declare const PREVIEW_RENDER_NODE_TYPES: ReadonlySet<string>;
|
|
6315
|
+
/**
|
|
6316
|
+
* Stable refusal code: a run with nobody to review it (a trigger, an API or
|
|
6317
|
+
* MCP call, a present link, an app run) holds a Preview render. Set the
|
|
6318
|
+
* render to Final, or run with a Final override on it.
|
|
6319
|
+
*/
|
|
6320
|
+
declare const PREVIEW_REVIEW_REQUIRED = "preview_review_required";
|
|
6321
|
+
/**
|
|
6322
|
+
* Stable refusal code: a sub-workflow or a component holds a Preview render.
|
|
6323
|
+
* A nested graph has no Render final path, so this refusal is permanent.
|
|
6324
|
+
*/
|
|
6325
|
+
declare const PREVIEW_RENDER_NESTED = "preview_render_nested";
|
|
6326
|
+
/** A node as the stop rule reads it (either engine's graph, or a saved one). */
|
|
6327
|
+
interface PreviewGateNode {
|
|
6328
|
+
readonly id: string;
|
|
6329
|
+
readonly type?: string | null;
|
|
6330
|
+
readonly data?: unknown;
|
|
6331
|
+
readonly parentId?: string | null;
|
|
6332
|
+
}
|
|
6333
|
+
/** A wire as the stop rule reads it. `data.outputMode` is the wire's mode. */
|
|
6334
|
+
interface PreviewGateEdge {
|
|
6335
|
+
readonly source: string;
|
|
6336
|
+
readonly target: string;
|
|
6337
|
+
readonly sourceHandle?: string | null;
|
|
6338
|
+
readonly targetHandle?: string | null;
|
|
6339
|
+
readonly data?: unknown;
|
|
6340
|
+
}
|
|
6341
|
+
/** What a saved render result says about itself: `"proxy"` is a Preview. */
|
|
6342
|
+
interface SavedRenderQualityStamp {
|
|
6343
|
+
readonly quality?: string;
|
|
6344
|
+
}
|
|
6345
|
+
/**
|
|
6346
|
+
* How the rule reads a saved render: the result a scalar wire receives
|
|
6347
|
+
* (`output`) and the rows an `each` wire iterates (`batch`, the LATEST batch
|
|
6348
|
+
* only — `undefined` when the render has none, and the wire then reads the one
|
|
6349
|
+
* result). The saved-output reader both engines use plugs in here.
|
|
6350
|
+
*/
|
|
6351
|
+
interface SavedRenderStampReader {
|
|
6352
|
+
output(data: Readonly<Record<string, unknown>>): SavedRenderQualityStamp | undefined;
|
|
6353
|
+
batch(data: Readonly<Record<string, unknown>>): ReadonlyArray<SavedRenderQualityStamp | null> | undefined;
|
|
6354
|
+
}
|
|
6355
|
+
/** A reader that sees no stamps: every saved render reads as unstamped. */
|
|
6356
|
+
declare const NO_SAVED_RENDER_STAMPS: SavedRenderStampReader;
|
|
6357
|
+
/**
|
|
6358
|
+
* The production reader. No render result carries a `quality` stamp until the
|
|
6359
|
+
* results themselves are stamped, so today it reads none and the saved-preview
|
|
6360
|
+
* half of the rule is inert; the stamped-result reader replaces it here, the
|
|
6361
|
+
* one place every caller takes it from.
|
|
6362
|
+
*/
|
|
6363
|
+
declare const SAVED_RENDER_STAMPS: SavedRenderStampReader;
|
|
6364
|
+
/** One run's view: which nodes execute, and how saved renders are read. */
|
|
6365
|
+
interface PreviewGateRun {
|
|
6366
|
+
/** Does this node execute in this run? Default: every node that is not frozen (`data.skipped`). */
|
|
6367
|
+
readonly executes?: (nodeId: string) => boolean;
|
|
6368
|
+
/** Default: `SAVED_RENDER_STAMPS`. */
|
|
6369
|
+
readonly savedRenders?: SavedRenderStampReader;
|
|
6370
|
+
}
|
|
6371
|
+
interface PreviewStops {
|
|
6372
|
+
/** Render nodes that execute in this run at Preview quality. */
|
|
6373
|
+
readonly previewRenderIds: readonly string[];
|
|
6374
|
+
/** Render nodes outside the run whose saved output hands a Preview on. */
|
|
6375
|
+
readonly savedPreviewRenderIds: readonly string[];
|
|
6376
|
+
/** Every node that would consume a preview: never executed in this run. */
|
|
6377
|
+
readonly gatedNodeIds: ReadonlySet<string>;
|
|
6378
|
+
}
|
|
6379
|
+
/** A render node set to Preview: its quality (after any run overrides) is `proxy`. */
|
|
6380
|
+
declare function rendersAsPreview(node: PreviewGateNode): boolean;
|
|
6381
|
+
/** The stop rule: where this run stops, and everything it does not run. */
|
|
6382
|
+
declare function previewStops(nodes: readonly PreviewGateNode[], edges: readonly PreviewGateEdge[], run?: PreviewGateRun): PreviewStops;
|
|
6383
|
+
/** The nodes this run does not execute because they would consume a preview. */
|
|
6384
|
+
declare function previewGatedNodeIds(nodes: readonly PreviewGateNode[], edges: readonly PreviewGateEdge[], run?: PreviewGateRun): Set<string>;
|
|
6385
|
+
/** Does this run hold anything a reviewer would have to review: a Preview
|
|
6386
|
+
* render it executes, or a saved Preview it hands on? */
|
|
6387
|
+
declare function holdsPreviewRender(nodes: readonly PreviewGateNode[], edges: readonly PreviewGateEdge[], run?: PreviewGateRun): boolean;
|
|
6388
|
+
/**
|
|
6389
|
+
* The fields a run's input override clears from the node it overrides, so a
|
|
6390
|
+
* fresh input wins over a cached result. The server's merge and
|
|
6391
|
+
* `withRunOverrides` both clear exactly these.
|
|
6392
|
+
*/
|
|
6393
|
+
declare const RUN_OVERRIDE_CLEARED_FIELDS: readonly ["generatedResults", "activeResultIndex", "generatedImageUrl", "generatedVideoUrl", "generatedAudioUrl", "generatedText"];
|
|
6394
|
+
/**
|
|
6395
|
+
* The graph a run executes once its input overrides (`{ [nodeId]: fields }`)
|
|
6396
|
+
* are merged: the same shallow merge as the server's, clearing the overridden
|
|
6397
|
+
* node's saved results. Never mutates; a node with no override is returned as
|
|
6398
|
+
* is. Render final is a run with `{ [renderId]: { quality: "final" } }`.
|
|
6399
|
+
*/
|
|
6400
|
+
declare function withRunOverrides<N extends PreviewGateNode>(nodes: readonly N[], overrides: Readonly<Record<string, Readonly<Record<string, unknown>>>> | undefined): N[];
|
|
6401
|
+
|
|
6402
|
+
/**
|
|
6403
|
+
* A run CONTINUED from an earlier execution (`continueFromExecutionId` on
|
|
6404
|
+
* `POST /v1/workflows/:id/run`): the nodes it does not run hand on what that
|
|
6405
|
+
* execution produced, never the workflow's saved results. Render final after a
|
|
6406
|
+
* run that stopped at a preview is one, and an app's Render final runs as one,
|
|
6407
|
+
* outside the app run.
|
|
6408
|
+
*
|
|
6409
|
+
* The stable codes a continuation is refused with. A client branches on the
|
|
6410
|
+
* code, never on the text.
|
|
6411
|
+
*/
|
|
6412
|
+
/** The execution does not exist, or the caller did not start it. */
|
|
6413
|
+
declare const CONTINUATION_NOT_FOUND = "continuation_not_found";
|
|
6414
|
+
/** The execution ran another workflow. */
|
|
6415
|
+
declare const CONTINUATION_WORKFLOW_MISMATCH = "continuation_workflow_mismatch";
|
|
6416
|
+
/** The execution ran another version of the graph: a published app version
|
|
6417
|
+
* where this run uses the live workflow, or the reverse, or another version. */
|
|
6418
|
+
declare const CONTINUATION_VERSION_MISMATCH = "continuation_version_mismatch";
|
|
6419
|
+
/** The execution has not ended `completed` (it is still running, or it
|
|
6420
|
+
* failed or was cancelled). */
|
|
6421
|
+
declare const CONTINUATION_NOT_COMPLETED = "continuation_not_completed";
|
|
6422
|
+
/** A continuation names the nodes it runs (`nodeIds`); every other node hands
|
|
6423
|
+
* on the execution's output. */
|
|
6424
|
+
declare const CONTINUATION_SUBSET_REQUIRED = "continuation_subset_required";
|
|
6425
|
+
/** Every continuation refusal code. */
|
|
6426
|
+
declare const RUN_CONTINUATION_CODES: readonly ["continuation_not_found", "continuation_workflow_mismatch", "continuation_version_mismatch", "continuation_not_completed", "continuation_subset_required"];
|
|
6427
|
+
type RunContinuationCode = (typeof RUN_CONTINUATION_CODES)[number];
|
|
6428
|
+
|
|
6429
|
+
/**
|
|
6430
|
+
* Render final for agents (`renderFinal: { renderNodeId }` on
|
|
6431
|
+
* `POST /v1/workflows/:id/run`, the SDK's `workflows.renderFinal`, MCP
|
|
6432
|
+
* `render_final`; decided 2026-10-06). The server derives the nodes the run
|
|
6433
|
+
* executes and the render's one-shot Final override from the saved graph.
|
|
6434
|
+
*
|
|
6435
|
+
* The stable codes a Render final request is refused with when the node it
|
|
6436
|
+
* names cannot be rendered. A client branches on the code, never on the text.
|
|
6437
|
+
*/
|
|
6438
|
+
/** The workflow has no node with that id. */
|
|
6439
|
+
declare const RENDER_FINAL_NODE_NOT_FOUND = "render_final_node_not_found";
|
|
6440
|
+
/** The node is not a render a Render final can run (an Apply EDL render). */
|
|
6441
|
+
declare const RENDER_FINAL_NOT_A_RENDER = "render_final_not_a_render";
|
|
6442
|
+
/** Every Render final refusal code. */
|
|
6443
|
+
declare const RENDER_FINAL_CODES: readonly ["render_final_node_not_found", "render_final_not_a_render"];
|
|
6444
|
+
type RenderFinalCode = (typeof RENDER_FINAL_CODES)[number];
|
|
6445
|
+
|
|
5633
6446
|
/**
|
|
5634
6447
|
* Schedule Trigger rules — the ONE model both sides read.
|
|
5635
6448
|
*
|
|
@@ -6395,6 +7208,218 @@ interface SavedPostsLookupResult {
|
|
|
6395
7208
|
*/
|
|
6396
7209
|
declare function normalizeSavedPostTags(tags: unknown): string[];
|
|
6397
7210
|
|
|
7211
|
+
/**
|
|
7212
|
+
* Collections — where a workflow's records live (decided 2026-10-05).
|
|
7213
|
+
*
|
|
7214
|
+
* A collection belongs to one person and holds records: a title, a text, a
|
|
7215
|
+
* link, the links of its pictures / videos / sounds, a small bag of extra
|
|
7216
|
+
* fields and where the record came from. Text and links only — never files;
|
|
7217
|
+
* a media link from a platform expires on its own schedule, so a consumer
|
|
7218
|
+
* that needs the picture later copies it (an upload node), the collection
|
|
7219
|
+
* keeps the link as given.
|
|
7220
|
+
*
|
|
7221
|
+
* Why public: `Collection` / `CollectionRecord` are what `/v1/collections`
|
|
7222
|
+
* returns and the SDK's `collections` resource types; the caps are what the
|
|
7223
|
+
* page and the API quote; the digest and the ingest map are the ONE rule the
|
|
7224
|
+
* read node, MCP and the CLI render records with.
|
|
7225
|
+
*/
|
|
7226
|
+
declare const COLLECTION_NAME_MAX = 80;
|
|
7227
|
+
declare const COLLECTION_DESCRIPTION_MAX = 500;
|
|
7228
|
+
declare const COLLECTION_RECORD_TITLE_MAX = 500;
|
|
7229
|
+
declare const COLLECTION_RECORD_TEXT_MAX = 20000;
|
|
7230
|
+
declare const COLLECTION_RECORD_URL_MAX = 2000;
|
|
7231
|
+
declare const COLLECTION_RECORD_MEDIA_MAX = 20;
|
|
7232
|
+
declare const COLLECTION_RECORD_FIELDS_MAX = 50;
|
|
7233
|
+
declare const COLLECTION_RECORD_FIELDS_BYTES_MAX: number;
|
|
7234
|
+
declare const COLLECTION_DEDUPE_KEY_MAX = 300;
|
|
7235
|
+
declare const COLLECTION_IDEMPOTENCY_KEY_MAX = 200;
|
|
7236
|
+
/** Records per page of `GET /v1/collections/:id/records`. */
|
|
7237
|
+
declare const COLLECTIONS_PAGE_MAX = 100;
|
|
7238
|
+
declare const COLLECTIONS_PAGE_DEFAULT = 50;
|
|
7239
|
+
/** The longest a headline (a record's one-line name) gets. */
|
|
7240
|
+
declare const COLLECTION_HEADLINE_MAX = 120;
|
|
7241
|
+
declare const COLLECTION_MEDIA_TYPES: readonly ["image", "video", "audio", "link"];
|
|
7242
|
+
type CollectionMediaType = (typeof COLLECTION_MEDIA_TYPES)[number];
|
|
7243
|
+
interface CollectionMedia {
|
|
7244
|
+
readonly type: CollectionMediaType;
|
|
7245
|
+
/** The file's link, as given (never fetched, never copied). */
|
|
7246
|
+
readonly url: string;
|
|
7247
|
+
/** A video's poster frame, when known. */
|
|
7248
|
+
readonly posterUrl?: string;
|
|
7249
|
+
}
|
|
7250
|
+
/** How many collections a person may have, and how many records each may hold. */
|
|
7251
|
+
interface CollectionCaps {
|
|
7252
|
+
readonly collections: number;
|
|
7253
|
+
readonly records: number;
|
|
7254
|
+
}
|
|
7255
|
+
/**
|
|
7256
|
+
* Caps by effective tier (decided 2026-10-05: open to free accounts; past the
|
|
7257
|
+
* records cap the OLDEST records are evicted, never the write refused — a
|
|
7258
|
+
* scheduled pipeline must not stall silently). `payg` is a derived tier whose
|
|
7259
|
+
* entitlements are basic's; `enterprise` reads as business.
|
|
7260
|
+
*
|
|
7261
|
+
* A tier this table does not know has NO caps here (`collectionCapsForTier`
|
|
7262
|
+
* answers undefined): the API then holds the account to no cap rather than to
|
|
7263
|
+
* free's, because the cap is enforced by DELETING records — a new tier or a
|
|
7264
|
+
* misspelt one must never cost a paying account its records. Add the tier.
|
|
7265
|
+
*/
|
|
7266
|
+
declare const COLLECTION_TIER_CAPS: Readonly<Record<string, CollectionCaps>>;
|
|
7267
|
+
declare function collectionCapsForTier(tier: string | null | undefined): CollectionCaps | undefined;
|
|
7268
|
+
interface Collection {
|
|
7269
|
+
readonly id: string;
|
|
7270
|
+
readonly name: string;
|
|
7271
|
+
readonly description: string;
|
|
7272
|
+
readonly recordCount: number;
|
|
7273
|
+
readonly createdAt: string;
|
|
7274
|
+
readonly updatedAt: string;
|
|
7275
|
+
}
|
|
7276
|
+
/** Where a record came from — a node in a run, or a direct write. */
|
|
7277
|
+
interface CollectionRecordSource {
|
|
7278
|
+
readonly via?: "api" | "mcp" | "node" | "ui";
|
|
7279
|
+
readonly nodeType?: string;
|
|
7280
|
+
readonly workflowId?: string;
|
|
7281
|
+
readonly executionId?: string;
|
|
7282
|
+
readonly nodeId?: string;
|
|
7283
|
+
}
|
|
7284
|
+
type CollectionFieldValue = string | number | boolean;
|
|
7285
|
+
interface CollectionRecord {
|
|
7286
|
+
readonly id: string;
|
|
7287
|
+
readonly collectionId: string;
|
|
7288
|
+
readonly title: string;
|
|
7289
|
+
readonly text: string;
|
|
7290
|
+
readonly url: string | null;
|
|
7291
|
+
readonly media: readonly CollectionMedia[];
|
|
7292
|
+
readonly fields: Readonly<Record<string, CollectionFieldValue>>;
|
|
7293
|
+
/** The normalized key the collection deduplicates on (defaults to the link); null when the record has none. */
|
|
7294
|
+
readonly dedupeKey: string | null;
|
|
7295
|
+
readonly source: CollectionRecordSource;
|
|
7296
|
+
readonly createdAt: string;
|
|
7297
|
+
}
|
|
7298
|
+
/** The caller's limits as the API quotes them: `null` is "no limit" (a
|
|
7299
|
+
* self-hosted server with no ceiling configured, or a tier the caps table
|
|
7300
|
+
* does not know). */
|
|
7301
|
+
interface CollectionLimits {
|
|
7302
|
+
readonly collections: number | null;
|
|
7303
|
+
readonly records: number | null;
|
|
7304
|
+
}
|
|
7305
|
+
/** The answer of `GET /v1/collections`. `available` is false on a server whose
|
|
7306
|
+
* database does not have collections yet (the data is then empty). */
|
|
7307
|
+
interface ListCollectionsResult {
|
|
7308
|
+
readonly data: readonly Collection[];
|
|
7309
|
+
readonly available: boolean;
|
|
7310
|
+
/** The caller's limits, so a client never carries its own copy of the tier table. */
|
|
7311
|
+
readonly caps: CollectionLimits;
|
|
7312
|
+
}
|
|
7313
|
+
type CreateCollectionInput = {
|
|
7314
|
+
readonly name: string;
|
|
7315
|
+
readonly description?: string;
|
|
7316
|
+
};
|
|
7317
|
+
type UpdateCollectionInput = {
|
|
7318
|
+
readonly name?: string;
|
|
7319
|
+
readonly description?: string;
|
|
7320
|
+
};
|
|
7321
|
+
/** Query of `GET /v1/collections/:id/records`. */
|
|
7322
|
+
type ListCollectionRecordsParams = {
|
|
7323
|
+
/** Words to find in the title, the text or the link. */
|
|
7324
|
+
readonly q?: string;
|
|
7325
|
+
/** Only records saved at or after this ISO timestamp (date and time). */
|
|
7326
|
+
readonly since?: string;
|
|
7327
|
+
/** The `nextCursor` of the previous page. */
|
|
7328
|
+
readonly cursor?: string;
|
|
7329
|
+
/** 1–100, default 50. */
|
|
7330
|
+
readonly limit?: number;
|
|
7331
|
+
};
|
|
7332
|
+
interface ListCollectionRecordsResult {
|
|
7333
|
+
readonly data: readonly CollectionRecord[];
|
|
7334
|
+
readonly nextCursor: string | null;
|
|
7335
|
+
}
|
|
7336
|
+
/** The body of `POST /v1/collections/:id/records`. An explicit field wins over
|
|
7337
|
+
* what `item` (any JSON — a feed post, a search result, an LLM's object) maps to. */
|
|
7338
|
+
type AddCollectionRecordInput = {
|
|
7339
|
+
readonly title?: string;
|
|
7340
|
+
readonly text?: string;
|
|
7341
|
+
readonly url?: string;
|
|
7342
|
+
readonly media?: readonly CollectionMedia[];
|
|
7343
|
+
readonly fields?: Readonly<Record<string, CollectionFieldValue>>;
|
|
7344
|
+
readonly dedupeKey?: string;
|
|
7345
|
+
readonly source?: CollectionRecordSource;
|
|
7346
|
+
readonly item?: unknown;
|
|
7347
|
+
};
|
|
7348
|
+
type CollectionWriteOutcome = "inserted" | "duplicate" | "replayed";
|
|
7349
|
+
interface AddCollectionRecordResult {
|
|
7350
|
+
readonly record: CollectionRecord;
|
|
7351
|
+
readonly outcome: CollectionWriteOutcome;
|
|
7352
|
+
/** Records evicted past the collection's cap by this write. */
|
|
7353
|
+
readonly evicted: number;
|
|
7354
|
+
}
|
|
7355
|
+
type CollectionExportFormat = "csv" | "json";
|
|
7356
|
+
type CollectionDigestFormat = "headlines" | "full";
|
|
7357
|
+
declare const COLLECTION_DIGEST_SEPARATOR = "\n\n---\n\n";
|
|
7358
|
+
/** The Read Collection node: how far back it may look (720 hours = 30 days; `days` × 24 is held to the same ceiling) and how many records one run emits. */
|
|
7359
|
+
declare const COLLECTION_READ_WINDOW_HOURS_MAX = 720;
|
|
7360
|
+
declare const COLLECTION_READ_LIMIT_MAX = 200;
|
|
7361
|
+
type CollectionReadWindowUnit = "hours" | "days";
|
|
7362
|
+
type CollectionReadOrder = "newest" | "oldest";
|
|
7363
|
+
/** The start of a Read Collection window, as an ISO timestamp — `amount` × `unit` back from `now`, held to the ceiling. */
|
|
7364
|
+
declare function collectionReadSince(amount: number, unit: CollectionReadWindowUnit, now?: number): string;
|
|
7365
|
+
/** A link a record may hold: `http(s)`, no whitespace, at most 2,000 characters. */
|
|
7366
|
+
declare function isCollectionUrl(v: unknown): v is string;
|
|
7367
|
+
/**
|
|
7368
|
+
* The first `max` characters of a text, counted as Postgres counts them
|
|
7369
|
+
* (`char_length`: code points), so a cut never splits a surrogate pair into a
|
|
7370
|
+
* lone half the database refuses.
|
|
7371
|
+
*/
|
|
7372
|
+
declare function clampChars(text: string, max: number): string;
|
|
7373
|
+
/**
|
|
7374
|
+
* The key a collection deduplicates on: trimmed, inner whitespace collapsed,
|
|
7375
|
+
* lower-cased, at most 300 characters; null when there is nothing to key on.
|
|
7376
|
+
*/
|
|
7377
|
+
declare function normalizeDedupeKey(raw: unknown): string | null;
|
|
7378
|
+
/**
|
|
7379
|
+
* How many records one write may evict past the cap. A cap that drops at once
|
|
7380
|
+
* (a lapsed subscription, billing briefly reading "free") then trims a big
|
|
7381
|
+
* collection a little per write instead of deleting most of it in one go.
|
|
7382
|
+
*/
|
|
7383
|
+
declare const COLLECTION_EVICT_MAX_PER_WRITE = 100;
|
|
7384
|
+
declare function isCollectionMedia(v: unknown): v is CollectionMedia;
|
|
7385
|
+
/** The media list as stored: known kinds with http(s) links, no repeats, at most 20. */
|
|
7386
|
+
declare function normalizeCollectionMedia(value: unknown): CollectionMedia[];
|
|
7387
|
+
/** The extra fields as stored: scalar values only, at most 50 keys and 16 KB. */
|
|
7388
|
+
declare function normalizeCollectionFields(value: unknown): Record<string, CollectionFieldValue>;
|
|
7389
|
+
/**
|
|
7390
|
+
* A record's one-line name: its title, else the first line of its text, else
|
|
7391
|
+
* its link. Tolerates a partial record (a hand-written node result in workflow
|
|
7392
|
+
* JSON): a missing field reads as empty rather than throwing on the canvas.
|
|
7393
|
+
*/
|
|
7394
|
+
declare function collectionRecordHeadline(record: Partial<Pick<CollectionRecord, "title" | "text" | "url">>): string;
|
|
7395
|
+
/**
|
|
7396
|
+
* ONE digest for a collection's records — what the Read Collection node's
|
|
7397
|
+
* `text` handle, MCP `read_collection` and the CLI print. `headlines`: one line
|
|
7398
|
+
* per record (headline · date · link); `full`: the whole text of each record
|
|
7399
|
+
* under its headline, separated by a rule.
|
|
7400
|
+
*/
|
|
7401
|
+
declare function collectionRecordsDigest(records: ReadonlyArray<Partial<Pick<CollectionRecord, "title" | "text" | "url" | "createdAt">> | null | undefined>, format?: CollectionDigestFormat): string;
|
|
7402
|
+
/** What `ingestRecordFromJson` reads out of an item: the record's fields, before explicit overrides. */
|
|
7403
|
+
interface IngestedRecord {
|
|
7404
|
+
readonly title: string;
|
|
7405
|
+
readonly text: string;
|
|
7406
|
+
readonly url: string | null;
|
|
7407
|
+
readonly media: CollectionMedia[];
|
|
7408
|
+
readonly fields: Record<string, CollectionFieldValue>;
|
|
7409
|
+
readonly dedupeKey: string | null;
|
|
7410
|
+
}
|
|
7411
|
+
/**
|
|
7412
|
+
* A record read out of any JSON item — a Telegram post, a Social Search
|
|
7413
|
+
* result, an LLM's object, a plain string. Title ← title / headline / name;
|
|
7414
|
+
* text ← text / body / caption / description; link ← the first of url /
|
|
7415
|
+
* postUrl / link that IS an http(s) link; media ← `media[]` and the image /
|
|
7416
|
+
* video / audio link keys; the dedupe key ← the link, else slug / id / postId;
|
|
7417
|
+
* every other scalar lands in `fields` (a nested object's `name`, such as a
|
|
7418
|
+
* forwarded-from, lands as that name). One pass over the item: its size is
|
|
7419
|
+
* the caller's body limit, never a loop of its own.
|
|
7420
|
+
*/
|
|
7421
|
+
declare function ingestRecordFromJson(item: unknown): IngestedRecord;
|
|
7422
|
+
|
|
6398
7423
|
/**
|
|
6399
7424
|
* Competitors — the wire contract of the competitor tracking area.
|
|
6400
7425
|
*
|
|
@@ -6470,6 +7495,8 @@ interface CompetitorPlatformTally {
|
|
|
6470
7495
|
readonly unit: "views" | "points" | "likes" | null;
|
|
6471
7496
|
/** What its best posts there share most strongly; null when nothing stands out, or until its next scan. */
|
|
6472
7497
|
readonly top: BrandLesson | null;
|
|
7498
|
+
/** The account's followers at this scan; null when the platform gives none (YouTube, Reddit) or no post of its own was read. Absent from an older server. */
|
|
7499
|
+
readonly followers?: number | null;
|
|
6473
7500
|
}
|
|
6474
7501
|
/** A brand's latest scan, platform by platform. */
|
|
6475
7502
|
interface CompetitorBrandTally {
|
|
@@ -6532,6 +7559,72 @@ interface CompetitorScan {
|
|
|
6532
7559
|
readonly posts: readonly CompetitorPost[];
|
|
6533
7560
|
readonly cards: readonly ActionCard[];
|
|
6534
7561
|
}
|
|
7562
|
+
/** `GET /v1/competitors`. */
|
|
7563
|
+
interface CompetitorListResult {
|
|
7564
|
+
readonly data: readonly TrackedCompetitor[];
|
|
7565
|
+
/** How many months of scans your plan keeps (older scans are deleted at a brand's next scan). Absent from an older server. */
|
|
7566
|
+
readonly historyMonths?: number;
|
|
7567
|
+
}
|
|
7568
|
+
/** One platform as one scan found and read it. Numbers a scan stored before they were kept answer null. */
|
|
7569
|
+
interface CompetitorHistoryPlatform {
|
|
7570
|
+
readonly platform: SocialPlatform;
|
|
7571
|
+
readonly own: number | null;
|
|
7572
|
+
readonly about: number | null;
|
|
7573
|
+
/** The account's followers at that scan; null when the platform gives none. */
|
|
7574
|
+
readonly followers: number | null;
|
|
7575
|
+
/** The brand's usual reach there as learned at that scan, in `unit`. */
|
|
7576
|
+
readonly usual: number | null;
|
|
7577
|
+
readonly unit: "views" | "points" | "likes" | null;
|
|
7578
|
+
}
|
|
7579
|
+
interface CompetitorHistoryPoint {
|
|
7580
|
+
readonly id: string;
|
|
7581
|
+
readonly at: string;
|
|
7582
|
+
readonly platforms: readonly CompetitorHistoryPlatform[];
|
|
7583
|
+
}
|
|
7584
|
+
/** `GET /v1/competitors/:id/history`: the brand's scans, oldest first. */
|
|
7585
|
+
interface CompetitorHistory {
|
|
7586
|
+
readonly scans: readonly CompetitorHistoryPoint[];
|
|
7587
|
+
}
|
|
7588
|
+
/** The followers a scan read, and when. */
|
|
7589
|
+
interface CompetitorPeriodFollowers {
|
|
7590
|
+
readonly value: number;
|
|
7591
|
+
readonly at: string;
|
|
7592
|
+
}
|
|
7593
|
+
/** A brand on one platform over a period. */
|
|
7594
|
+
interface CompetitorPeriodPlatform {
|
|
7595
|
+
readonly platform: SocialPlatform;
|
|
7596
|
+
/** The brand's own posts published in the period, and the posts about it. */
|
|
7597
|
+
readonly own: number;
|
|
7598
|
+
readonly about: number;
|
|
7599
|
+
/** The median reach of its own posts in the period; null below three posts. */
|
|
7600
|
+
readonly usual: number | null;
|
|
7601
|
+
readonly unit: "views" | "points" | "likes" | null;
|
|
7602
|
+
/** From the newest scan inside the period; null when no scan read them. */
|
|
7603
|
+
readonly followers: CompetitorPeriodFollowers | null;
|
|
7604
|
+
/** Followers gained (or lost) since the newest scan before the period; null when either side is unknown. */
|
|
7605
|
+
readonly change: number | null;
|
|
7606
|
+
/** What worked there in the period (the lessons need eight posts). */
|
|
7607
|
+
readonly lessons: readonly BrandLesson[];
|
|
7608
|
+
/** Its best posts of the period there, best first, at most four. */
|
|
7609
|
+
readonly best: readonly string[];
|
|
7610
|
+
}
|
|
7611
|
+
interface CompetitorPeriod {
|
|
7612
|
+
readonly from: string;
|
|
7613
|
+
readonly to: string;
|
|
7614
|
+
readonly platforms: readonly CompetitorPeriodPlatform[];
|
|
7615
|
+
}
|
|
7616
|
+
/** `GET /v1/competitors/:id/compare`: ISO datetimes; a period is at most a year; `vsFrom` and `vsTo` go together. */
|
|
7617
|
+
interface CompetitorCompareInput {
|
|
7618
|
+
readonly from: string;
|
|
7619
|
+
readonly to: string;
|
|
7620
|
+
readonly vsFrom?: string;
|
|
7621
|
+
readonly vsTo?: string;
|
|
7622
|
+
}
|
|
7623
|
+
/** One or two periods, and the posts they name. */
|
|
7624
|
+
interface CompetitorCompareResult {
|
|
7625
|
+
readonly periods: readonly CompetitorPeriod[];
|
|
7626
|
+
readonly posts: Readonly<Record<string, CompetitorPost>>;
|
|
7627
|
+
}
|
|
6535
7628
|
/** `GET /v1/competitors/:id`. */
|
|
6536
7629
|
interface CompetitorDetail extends TrackedCompetitor {
|
|
6537
7630
|
readonly latestScan: CompetitorScan | null;
|
|
@@ -7487,15 +8580,15 @@ declare function togglePick(current: ReadonlyArray<string>, id: string, maxSelec
|
|
|
7487
8580
|
*
|
|
7488
8581
|
* Every "does this model do X" decision on that lane reads the model's `tts`
|
|
7489
8582
|
* sheet in `MODEL_CATALOG` through these helpers — tag stripping, which voice
|
|
7490
|
-
* settings are sent and shown, the language picker
|
|
8583
|
+
* settings are sent and shown, the language picker, whether neighbouring text
|
|
8584
|
+
* is sent. Declare the sheet honestly
|
|
7491
8585
|
* on the catalog entry and a new model is covered everywhere; do not compare a
|
|
7492
8586
|
* provider id by hand.
|
|
7493
8587
|
*
|
|
7494
8588
|
* "The text-to-speech lane" means the models that list the `tts` mode. The
|
|
7495
|
-
* dialogue
|
|
7496
|
-
* runs as the fallback model, so these
|
|
7497
|
-
*
|
|
7498
|
-
* `MAX_TTS_CHARS_BY_PROVIDER` and the language picker.)
|
|
8589
|
+
* dialogue models carry a sheet too, read by `dialogue-capabilities.ts`; a
|
|
8590
|
+
* text-to-speech request that names one runs as the fallback model, so these
|
|
8591
|
+
* helpers answer for the fallback there.
|
|
7499
8592
|
*/
|
|
7500
8593
|
|
|
7501
8594
|
/** Legacy provider ids that are another model under an old name. They have no catalog entry of their own. */
|
|
@@ -7520,11 +8613,72 @@ declare function getTtsCapabilities(provider: string | undefined): TtsCapabiliti
|
|
|
7520
8613
|
declare function ttsSupportsAudioTags(provider: string | undefined): boolean;
|
|
7521
8614
|
/** The model honours SSML `<break time="…"/>` tags. */
|
|
7522
8615
|
declare function ttsSupportsSsmlBreaks(provider: string | undefined): boolean;
|
|
8616
|
+
/**
|
|
8617
|
+
* The model conditions on neighbouring text (`previous_text` / `next_text`).
|
|
8618
|
+
* false ⇒ the provider funnel never puts the fields on the wire, whatever the
|
|
8619
|
+
* request carries — the model would reject them.
|
|
8620
|
+
*/
|
|
8621
|
+
declare function ttsSupportsStitching(provider: string | undefined): boolean;
|
|
7523
8622
|
/** The model honours this voice-setting lever. */
|
|
7524
8623
|
declare function ttsHasLever(provider: string | undefined, lever: TtsSettingLever): boolean;
|
|
8624
|
+
/** The model answers `/v1/text-to-speech/{voice}/with-timestamps` (character timings). */
|
|
8625
|
+
declare function ttsSupportsTimestamps(provider: string | undefined): boolean;
|
|
7525
8626
|
/** Language codes offered for the model, in catalog order. */
|
|
7526
8627
|
declare function ttsLanguageCodes(provider: string | undefined): readonly string[];
|
|
7527
8628
|
|
|
8629
|
+
/**
|
|
8630
|
+
* The neighbour-text rule of Text to Speech — what is spoken just BEFORE and just AFTER a clip in the finished
|
|
8631
|
+
* piece — in ONE place, so the editor's run, the provider exits and the REST route cannot drift: a request that
|
|
8632
|
+
* the editor sends must be one the route accepts.
|
|
8633
|
+
*
|
|
8634
|
+
* A string is trimmed; an empty one, or anything that is not a string, is ABSENT. Over the cap the value is
|
|
8635
|
+
* TRIMMED, never rejected, by every sender and exit: previous text keeps its LAST characters (what leads into
|
|
8636
|
+
* the clip), next text its FIRST (what the clip leads into). The REST route is the one place that rejects an
|
|
8637
|
+
* over-cap value — measured on the trimmed text, for a model that stitches only. Whether a model takes the
|
|
8638
|
+
* fields at all is its sheet (`ttsSupportsStitching`), never decided here.
|
|
8639
|
+
*/
|
|
8640
|
+
/**
|
|
8641
|
+
* The most characters of context sent on each side. ElevenLabs documents no limit for the text-to-speech
|
|
8642
|
+
* endpoint's fields; this bounds what we send (and what the vendor may count) to about two sentences' worth of
|
|
8643
|
+
* run-in and run-out — enough to carry intonation across a cut.
|
|
8644
|
+
*/
|
|
8645
|
+
declare const TTS_NEIGHBOUR_TEXT_MAX_CHARS = 1000;
|
|
8646
|
+
/** The normalised pair: only non-empty strings within the cap; a side that was unusable is not a key. */
|
|
8647
|
+
interface TtsNeighbourText {
|
|
8648
|
+
previousText?: string;
|
|
8649
|
+
nextText?: string;
|
|
8650
|
+
}
|
|
8651
|
+
/** `previousText` / `nextText` of `options`, normalised. Other keys are not carried over; the input is never mutated. */
|
|
8652
|
+
declare function normalizeTtsNeighbourText(options: Readonly<{
|
|
8653
|
+
previousText?: unknown;
|
|
8654
|
+
nextText?: unknown;
|
|
8655
|
+
}> | undefined): TtsNeighbourText;
|
|
8656
|
+
|
|
8657
|
+
/**
|
|
8658
|
+
* Capability lookups for the DIALOGUE lane (`/v1/text-to-dialogue`, the Text to
|
|
8659
|
+
* Dialogue node, the voiced-video multi-speaker track).
|
|
8660
|
+
*
|
|
8661
|
+
* The dialogue models carry a `tts` sheet in `MODEL_CATALOG` like the
|
|
8662
|
+
* text-to-speech models, but each lane answers only for its own models: the
|
|
8663
|
+
* text-to-speech lookups (`tts-capabilities.ts`) treat a dialogue id as unknown,
|
|
8664
|
+
* and these treat a text-to-speech id as unknown. An unknown id here runs as
|
|
8665
|
+
* {@link DEFAULT_DIALOGUE_PROVIDER} (v3 dialogue) — not as the text-to-speech
|
|
8666
|
+
* fallback (turbo), which has no dialogue form.
|
|
8667
|
+
*/
|
|
8668
|
+
|
|
8669
|
+
/** The sheet of a dialogue model, or `undefined` when the id is not one. Own properties only; a non-string is unknown. */
|
|
8670
|
+
declare function findDialogueCapabilities(provider: unknown): TtsCapabilities | undefined;
|
|
8671
|
+
/** The dialogue model a request naming `provider` runs on (and is billed as). */
|
|
8672
|
+
declare function dialogueProviderOf(provider: unknown): DialogueProvider;
|
|
8673
|
+
/** The sheet a dialogue request runs under. */
|
|
8674
|
+
declare function getDialogueCapabilities(provider: unknown): TtsCapabilities;
|
|
8675
|
+
/** The dialogue model honours this voice-setting lever. */
|
|
8676
|
+
declare function dialogueHasLever(provider: unknown, lever: TtsSettingLever): boolean;
|
|
8677
|
+
/** The dialogue model answers `/v1/text-to-dialogue/with-timestamps` (character timings + per-line voice segments). */
|
|
8678
|
+
declare function dialogueSupportsTimestamps(provider: unknown): boolean;
|
|
8679
|
+
/** `value` is a stability this platform accepts for the dialogue model: one of its steps, or any finite 0–1 when it has none. */
|
|
8680
|
+
declare function dialogueStabilityAccepted(provider: unknown, value: number): boolean;
|
|
8681
|
+
|
|
7528
8682
|
/**
|
|
7529
8683
|
* Retry/fallback behavior derived from a catalog entry's `safetyFilter`
|
|
7530
8684
|
* flag (see `ModelCatalogEntry.safetyFilter` in `model-catalog.ts`).
|
|
@@ -7754,6 +8908,171 @@ interface CaptionPlan {
|
|
|
7754
8908
|
/** Primary language tag: "en", "he", … */
|
|
7755
8909
|
readonly language?: string;
|
|
7756
8910
|
}
|
|
8911
|
+
/**
|
|
8912
|
+
* A wired caption plan (object or JSON string) → the plan, or the first problem
|
|
8913
|
+
* named as "Caption plan: <issue>." Only the CaptionPlan fields are kept.
|
|
8914
|
+
*/
|
|
8915
|
+
declare function parseCaptionPlan(raw: unknown): {
|
|
8916
|
+
plan: CaptionPlan;
|
|
8917
|
+
} | {
|
|
8918
|
+
error: string;
|
|
8919
|
+
};
|
|
8920
|
+
|
|
8921
|
+
/**
|
|
8922
|
+
* The add-captions SEGMENT contract — one definition for the route's Zod, the
|
|
8923
|
+
* provider's overlap check and both workflow engines' pre-reservation check of a
|
|
8924
|
+
* caption plan's segments (a DAG payload never passes the route's validation).
|
|
8925
|
+
* Moved here from backend/src/routes/add-captions.ts so the copies can never differ.
|
|
8926
|
+
*/
|
|
8927
|
+
/** Caption font weight: 100..900 on the 100 grid. */
|
|
8928
|
+
declare const captionFontWeightSchema: z.ZodNumber;
|
|
8929
|
+
/** A text caption source must carry a visible glyph (whitespace synthesises to zero words). */
|
|
8930
|
+
declare const nonBlankCaptionText: z.ZodString;
|
|
8931
|
+
/** One word-timed caption entry. */
|
|
8932
|
+
declare const captionInputSchema: z.ZodObject<{
|
|
8933
|
+
text: z.ZodString;
|
|
8934
|
+
startMs: z.ZodNumber;
|
|
8935
|
+
endMs: z.ZodNumber;
|
|
8936
|
+
timestampMs: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
8937
|
+
confidence: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
8938
|
+
}, z.core.$strip>;
|
|
8939
|
+
/**
|
|
8940
|
+
* One caption SEGMENT: a time range, optional levers (each inherits the top-level
|
|
8941
|
+
* value when omitted) and optional own words (`text` or `captions[]`; falls back
|
|
8942
|
+
* to the shared transcript filtered to the range). A segmented render is entirely
|
|
8943
|
+
* Remotion, so any `style` (incl. subtitle) and any look lever is valid on a segment.
|
|
8944
|
+
*/
|
|
8945
|
+
declare const captionSegmentInputSchema: z.ZodObject<{
|
|
8946
|
+
startMs: z.ZodNumber;
|
|
8947
|
+
endMs: z.ZodNumber;
|
|
8948
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
8949
|
+
subtitle: "subtitle";
|
|
8950
|
+
"word-highlight": "word-highlight";
|
|
8951
|
+
karaoke: "karaoke";
|
|
8952
|
+
"tiktok-words": "tiktok-words";
|
|
8953
|
+
"word-pop": "word-pop";
|
|
8954
|
+
bouncy: "bouncy";
|
|
8955
|
+
}>>;
|
|
8956
|
+
position: z.ZodOptional<z.ZodEnum<{
|
|
8957
|
+
top: "top";
|
|
8958
|
+
center: "center";
|
|
8959
|
+
bottom: "bottom";
|
|
8960
|
+
}>>;
|
|
8961
|
+
fontSize: z.ZodOptional<z.ZodNumber>;
|
|
8962
|
+
color: z.ZodOptional<z.ZodString>;
|
|
8963
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
8964
|
+
look: z.ZodOptional<z.ZodEnum<{
|
|
8965
|
+
clean: "clean";
|
|
8966
|
+
outline: "outline";
|
|
8967
|
+
}>>;
|
|
8968
|
+
fontFamily: z.ZodOptional<z.ZodEnum<{
|
|
8969
|
+
Inter: "Inter";
|
|
8970
|
+
Roboto: "Roboto";
|
|
8971
|
+
"Open Sans": "Open Sans";
|
|
8972
|
+
Montserrat: "Montserrat";
|
|
8973
|
+
Poppins: "Poppins";
|
|
8974
|
+
Raleway: "Raleway";
|
|
8975
|
+
Nunito: "Nunito";
|
|
8976
|
+
Lato: "Lato";
|
|
8977
|
+
"Playfair Display": "Playfair Display";
|
|
8978
|
+
Merriweather: "Merriweather";
|
|
8979
|
+
Lora: "Lora";
|
|
8980
|
+
"EB Garamond": "EB Garamond";
|
|
8981
|
+
"Bebas Neue": "Bebas Neue";
|
|
8982
|
+
Oswald: "Oswald";
|
|
8983
|
+
Anton: "Anton";
|
|
8984
|
+
"Dancing Script": "Dancing Script";
|
|
8985
|
+
Pacifico: "Pacifico";
|
|
8986
|
+
Caveat: "Caveat";
|
|
8987
|
+
"Roboto Mono": "Roboto Mono";
|
|
8988
|
+
"Fira Code": "Fira Code";
|
|
8989
|
+
Rubik: "Rubik";
|
|
8990
|
+
Heebo: "Heebo";
|
|
8991
|
+
Cairo: "Cairo";
|
|
8992
|
+
Tajawal: "Tajawal";
|
|
8993
|
+
}>>;
|
|
8994
|
+
fontWeight: z.ZodOptional<z.ZodNumber>;
|
|
8995
|
+
strokeColor: z.ZodOptional<z.ZodString>;
|
|
8996
|
+
strokeWidth: z.ZodOptional<z.ZodNumber>;
|
|
8997
|
+
highlightColor: z.ZodOptional<z.ZodString>;
|
|
8998
|
+
uppercase: z.ZodOptional<z.ZodBoolean>;
|
|
8999
|
+
positionY: z.ZodOptional<z.ZodNumber>;
|
|
9000
|
+
animate: z.ZodOptional<z.ZodBoolean>;
|
|
9001
|
+
maxWordsPerLine: z.ZodOptional<z.ZodNumber>;
|
|
9002
|
+
text: z.ZodOptional<z.ZodString>;
|
|
9003
|
+
captions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9004
|
+
text: z.ZodString;
|
|
9005
|
+
startMs: z.ZodNumber;
|
|
9006
|
+
endMs: z.ZodNumber;
|
|
9007
|
+
timestampMs: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
9008
|
+
confidence: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
9009
|
+
}, z.core.$strip>>>;
|
|
9010
|
+
}, z.core.$strip>;
|
|
9011
|
+
type CaptionSegmentInput = z.infer<typeof captionSegmentInputSchema>;
|
|
9012
|
+
/** Every field a segment may carry, in schema order. */
|
|
9013
|
+
declare const CAPTION_SEGMENT_SCHEMA_KEYS: readonly string[];
|
|
9014
|
+
/**
|
|
9015
|
+
* Segments must be sorted and non-overlapping. Returns the first offending pair
|
|
9016
|
+
* as the route's 400 text; null when none overlap (abutting is fine).
|
|
9017
|
+
* `startMs < endMs` per segment is enforced by the schema; this is the cross-segment rule.
|
|
9018
|
+
*/
|
|
9019
|
+
declare function findSegmentOverlap(segments: readonly {
|
|
9020
|
+
startMs: number;
|
|
9021
|
+
endMs: number;
|
|
9022
|
+
}[]): string | null;
|
|
9023
|
+
|
|
9024
|
+
/** The styling half, injected so this package never imports @nodaro/prompts (each engine passes hookPlateCaptionSegments). */
|
|
9025
|
+
interface CaptionPlanStyler {
|
|
9026
|
+
readonly segmentsFor: (plan: CaptionPlan, opts?: {
|
|
9027
|
+
bodyLevers?: Readonly<Record<string, unknown>>;
|
|
9028
|
+
}) => {
|
|
9029
|
+
segments: Record<string, unknown>[];
|
|
9030
|
+
dropped: readonly string[];
|
|
9031
|
+
};
|
|
9032
|
+
readonly leverKeys: readonly string[];
|
|
9033
|
+
}
|
|
9034
|
+
/** The node's own caption levers (set, non-null) — the body's style. Undefined when it sets none (the helper then applies Body Captions). */
|
|
9035
|
+
declare function captionPlanBodyLevers(nodeData: Readonly<Record<string, unknown>>, leverKeys: readonly string[]): Record<string, unknown> | undefined;
|
|
9036
|
+
/**
|
|
9037
|
+
* A wired caption plan → the timed segments of ONE add-captions request, checked
|
|
9038
|
+
* with the route's own segment schema and overlap rule (a DAG payload never
|
|
9039
|
+
* passes the route, so both engines check here, before any reservation). The
|
|
9040
|
+
* plate is always Hook Plate plus the plan's language levers; the body is the
|
|
9041
|
+
* node's own style (the helper's rules, SP7 §4.6.3). `segments: []` = no
|
|
9042
|
+
* captions — the caller passes the video through.
|
|
9043
|
+
*/
|
|
9044
|
+
declare function styleCaptionPlan(raw: unknown, nodeData: Readonly<Record<string, unknown>>, styler: CaptionPlanStyler): {
|
|
9045
|
+
segments: Record<string, unknown>[];
|
|
9046
|
+
} | {
|
|
9047
|
+
error: string;
|
|
9048
|
+
};
|
|
9049
|
+
|
|
9050
|
+
/**
|
|
9051
|
+
* When a public video node outputs its input unchanged — no job, no charge —
|
|
9052
|
+
* because there is nothing for it to do (spec R14). One rule for both engines:
|
|
9053
|
+
* the orchestrator asks before any reservation, the canvas block before its API
|
|
9054
|
+
* call. The API routes keep their limits (Combine Videos still needs two URLs;
|
|
9055
|
+
* an empty overlay request is still `no_layers`).
|
|
9056
|
+
*/
|
|
9057
|
+
type PassThroughWarning = "no_layers" | "no_captions" | "single_input";
|
|
9058
|
+
interface PassThrough {
|
|
9059
|
+
readonly videoUrl: string;
|
|
9060
|
+
readonly warning: PassThroughWarning;
|
|
9061
|
+
}
|
|
9062
|
+
/** Exactly one resolved video → that video, unchanged. */
|
|
9063
|
+
declare function combineVideosPassThrough(videoUrls: ReadonlyArray<string | null | undefined>): PassThrough | null;
|
|
9064
|
+
/** A wired layer plan that resolved to nothing, with no handle layer either → the base video. */
|
|
9065
|
+
declare function videoOverlayPassThrough(input: {
|
|
9066
|
+
readonly videoUrl: string | null | undefined;
|
|
9067
|
+
readonly planWired: boolean;
|
|
9068
|
+
readonly layerCount: number;
|
|
9069
|
+
}): PassThrough | null;
|
|
9070
|
+
/** A wired caption plan whose styling produced no segment → the input video. */
|
|
9071
|
+
declare function captionPlanPassThrough(input: {
|
|
9072
|
+
readonly videoUrl: string | null | undefined;
|
|
9073
|
+
readonly planWired: boolean;
|
|
9074
|
+
readonly segmentCount: number;
|
|
9075
|
+
}): PassThrough | null;
|
|
7757
9076
|
|
|
7758
9077
|
/**
|
|
7759
9078
|
* Pre-run checks for the transcribe → captions chain.
|
|
@@ -8972,10 +10291,10 @@ type PipelineLifecycleEvent = EntityStateChangeEvent | EntityStaleEvent | Pipeli
|
|
|
8972
10291
|
*/
|
|
8973
10292
|
declare const PIPELINE_STAGE_NAMES: readonly ["script", "characters", "objects", "locations", "shot_list", "scene_images", "animate_audio_edit", "post_merge"];
|
|
8974
10293
|
declare const PipelineStageNameSchema: z.ZodEnum<{
|
|
10294
|
+
characters: "characters";
|
|
8975
10295
|
script: "script";
|
|
8976
10296
|
animate_audio_edit: "animate_audio_edit";
|
|
8977
10297
|
scene_images: "scene_images";
|
|
8978
|
-
characters: "characters";
|
|
8979
10298
|
objects: "objects";
|
|
8980
10299
|
locations: "locations";
|
|
8981
10300
|
shot_list: "shot_list";
|
|
@@ -8984,22 +10303,22 @@ declare const PipelineStageNameSchema: z.ZodEnum<{
|
|
|
8984
10303
|
type PipelineStageName = (typeof PIPELINE_STAGE_NAMES)[number];
|
|
8985
10304
|
declare const PipelineStatusSchema: z.ZodEnum<{
|
|
8986
10305
|
running: "running";
|
|
10306
|
+
cancelled: "cancelled";
|
|
8987
10307
|
completed: "completed";
|
|
8988
10308
|
failed: "failed";
|
|
8989
10309
|
awaiting_approval: "awaiting_approval";
|
|
8990
10310
|
queued: "queued";
|
|
8991
|
-
cancelled: "cancelled";
|
|
8992
10311
|
forked: "forked";
|
|
8993
10312
|
}>;
|
|
8994
10313
|
type PipelineStatus = z.infer<typeof PipelineStatusSchema>;
|
|
8995
10314
|
declare const PipelineStageStatusSchema: z.ZodEnum<{
|
|
8996
10315
|
running: "running";
|
|
10316
|
+
cancelled: "cancelled";
|
|
8997
10317
|
pending: "pending";
|
|
8998
10318
|
failed: "failed";
|
|
8999
10319
|
rejected: "rejected";
|
|
9000
10320
|
awaiting_approval: "awaiting_approval";
|
|
9001
10321
|
approved: "approved";
|
|
9002
|
-
cancelled: "cancelled";
|
|
9003
10322
|
}>;
|
|
9004
10323
|
type PipelineStageStatus = z.infer<typeof PipelineStageStatusSchema>;
|
|
9005
10324
|
type PipelineEvent = {
|
|
@@ -9103,10 +10422,10 @@ declare const ChatTurnResponseSchema: z.ZodObject<{
|
|
|
9103
10422
|
}, z.core.$strip>, z.ZodObject<{
|
|
9104
10423
|
change_type: z.ZodLiteral<"suggest_branch">;
|
|
9105
10424
|
from_stage: z.ZodEnum<{
|
|
10425
|
+
characters: "characters";
|
|
9106
10426
|
script: "script";
|
|
9107
10427
|
animate_audio_edit: "animate_audio_edit";
|
|
9108
10428
|
scene_images: "scene_images";
|
|
9109
|
-
characters: "characters";
|
|
9110
10429
|
objects: "objects";
|
|
9111
10430
|
locations: "locations";
|
|
9112
10431
|
shot_list: "shot_list";
|
|
@@ -9725,8 +11044,8 @@ declare const SceneSpecSchema: z.ZodObject<{
|
|
|
9725
11044
|
}, z.core.$strip>>>;
|
|
9726
11045
|
narration: z.ZodNullable<z.ZodString>;
|
|
9727
11046
|
continuity_from_prev: z.ZodEnum<{
|
|
9728
|
-
hard_cut: "hard_cut";
|
|
9729
11047
|
dissolve: "dissolve";
|
|
11048
|
+
hard_cut: "hard_cut";
|
|
9730
11049
|
match_last_frame: "match_last_frame";
|
|
9731
11050
|
}>;
|
|
9732
11051
|
shot_count_hint: z.ZodNumber;
|
|
@@ -9759,6 +11078,7 @@ declare const ShowrunnerPlanSchema: z.ZodObject<{
|
|
|
9759
11078
|
documentary: "documentary";
|
|
9760
11079
|
}>;
|
|
9761
11080
|
tone: z.ZodArray<z.ZodEnum<{
|
|
11081
|
+
warm: "warm";
|
|
9762
11082
|
gritty: "gritty";
|
|
9763
11083
|
hopeful: "hopeful";
|
|
9764
11084
|
tense: "tense";
|
|
@@ -9771,7 +11091,6 @@ declare const ShowrunnerPlanSchema: z.ZodObject<{
|
|
|
9771
11091
|
urgent: "urgent";
|
|
9772
11092
|
dreamy: "dreamy";
|
|
9773
11093
|
cold: "cold";
|
|
9774
|
-
warm: "warm";
|
|
9775
11094
|
menacing: "menacing";
|
|
9776
11095
|
whimsical: "whimsical";
|
|
9777
11096
|
somber: "somber";
|
|
@@ -9842,8 +11161,8 @@ declare const ShowrunnerPlanSchema: z.ZodObject<{
|
|
|
9842
11161
|
}, z.core.$strip>>>;
|
|
9843
11162
|
narration: z.ZodNullable<z.ZodString>;
|
|
9844
11163
|
continuity_from_prev: z.ZodEnum<{
|
|
9845
|
-
hard_cut: "hard_cut";
|
|
9846
11164
|
dissolve: "dissolve";
|
|
11165
|
+
hard_cut: "hard_cut";
|
|
9847
11166
|
match_last_frame: "match_last_frame";
|
|
9848
11167
|
}>;
|
|
9849
11168
|
shot_count_hint: z.ZodNumber;
|
|
@@ -9851,9 +11170,9 @@ declare const ShowrunnerPlanSchema: z.ZodObject<{
|
|
|
9851
11170
|
beats: z.ZodArray<z.ZodObject<{
|
|
9852
11171
|
type: z.ZodEnum<{
|
|
9853
11172
|
resolution: "resolution";
|
|
11173
|
+
hook: "hook";
|
|
9854
11174
|
rising: "rising";
|
|
9855
11175
|
climax: "climax";
|
|
9856
|
-
hook: "hook";
|
|
9857
11176
|
}>;
|
|
9858
11177
|
scene_indices: z.ZodArray<z.ZodNumber>;
|
|
9859
11178
|
}, z.core.$strip>>;
|
|
@@ -9881,8 +11200,8 @@ declare const ShowrunnerPlanSchema: z.ZodObject<{
|
|
|
9881
11200
|
type ShowrunnerPlan = z.infer<typeof ShowrunnerPlanSchema>;
|
|
9882
11201
|
declare const CriticIssueSchema: z.ZodObject<{
|
|
9883
11202
|
severity: z.ZodEnum<{
|
|
9884
|
-
blocking: "blocking";
|
|
9885
11203
|
warning: "warning";
|
|
11204
|
+
blocking: "blocking";
|
|
9886
11205
|
}>;
|
|
9887
11206
|
scene_index: z.ZodNullable<z.ZodNumber>;
|
|
9888
11207
|
issue_type: z.ZodString;
|
|
@@ -9896,8 +11215,8 @@ declare const ScriptCriticVerdictSchema: z.ZodObject<{
|
|
|
9896
11215
|
}>;
|
|
9897
11216
|
issues: z.ZodArray<z.ZodObject<{
|
|
9898
11217
|
severity: z.ZodEnum<{
|
|
9899
|
-
blocking: "blocking";
|
|
9900
11218
|
warning: "warning";
|
|
11219
|
+
blocking: "blocking";
|
|
9901
11220
|
}>;
|
|
9902
11221
|
scene_index: z.ZodNullable<z.ZodNumber>;
|
|
9903
11222
|
description: z.ZodString;
|
|
@@ -9928,8 +11247,8 @@ declare const CastCoverageCriticVerdictSchema: z.ZodObject<{
|
|
|
9928
11247
|
}>;
|
|
9929
11248
|
issues: z.ZodArray<z.ZodObject<{
|
|
9930
11249
|
severity: z.ZodEnum<{
|
|
9931
|
-
blocking: "blocking";
|
|
9932
11250
|
warning: "warning";
|
|
11251
|
+
blocking: "blocking";
|
|
9933
11252
|
}>;
|
|
9934
11253
|
scene_index: z.ZodNullable<z.ZodNumber>;
|
|
9935
11254
|
description: z.ZodString;
|
|
@@ -9951,8 +11270,8 @@ declare const CastCoverageCriticVerdictSchema: z.ZodObject<{
|
|
|
9951
11270
|
type CastCoverageCriticVerdict = z.infer<typeof CastCoverageCriticVerdictSchema>;
|
|
9952
11271
|
declare const LocationsCoverageCriticIssueSchema: z.ZodObject<{
|
|
9953
11272
|
severity: z.ZodEnum<{
|
|
9954
|
-
blocking: "blocking";
|
|
9955
11273
|
warning: "warning";
|
|
11274
|
+
blocking: "blocking";
|
|
9956
11275
|
}>;
|
|
9957
11276
|
description: z.ZodString;
|
|
9958
11277
|
suggested_fix: z.ZodString;
|
|
@@ -9974,8 +11293,8 @@ declare const LocationsCoverageCriticVerdictSchema: z.ZodObject<{
|
|
|
9974
11293
|
}>;
|
|
9975
11294
|
issues: z.ZodArray<z.ZodObject<{
|
|
9976
11295
|
severity: z.ZodEnum<{
|
|
9977
|
-
blocking: "blocking";
|
|
9978
11296
|
warning: "warning";
|
|
11297
|
+
blocking: "blocking";
|
|
9979
11298
|
}>;
|
|
9980
11299
|
description: z.ZodString;
|
|
9981
11300
|
suggested_fix: z.ZodString;
|
|
@@ -10001,8 +11320,8 @@ declare const CharacterImageCriticVerdictSchema: z.ZodObject<{
|
|
|
10001
11320
|
identified_subject: z.ZodString;
|
|
10002
11321
|
issues: z.ZodArray<z.ZodObject<{
|
|
10003
11322
|
severity: z.ZodEnum<{
|
|
10004
|
-
blocking: "blocking";
|
|
10005
11323
|
warning: "warning";
|
|
11324
|
+
blocking: "blocking";
|
|
10006
11325
|
}>;
|
|
10007
11326
|
category: z.ZodEnum<{
|
|
10008
11327
|
other: "other";
|
|
@@ -10026,8 +11345,8 @@ declare const LocationImageCriticVerdictSchema: z.ZodObject<{
|
|
|
10026
11345
|
identified_subject: z.ZodString;
|
|
10027
11346
|
issues: z.ZodArray<z.ZodObject<{
|
|
10028
11347
|
severity: z.ZodEnum<{
|
|
10029
|
-
blocking: "blocking";
|
|
10030
11348
|
warning: "warning";
|
|
11349
|
+
blocking: "blocking";
|
|
10031
11350
|
}>;
|
|
10032
11351
|
category: z.ZodEnum<{
|
|
10033
11352
|
other: "other";
|
|
@@ -10053,8 +11372,8 @@ declare const StoryboardCohesionCriticVerdictSchema: z.ZodObject<{
|
|
|
10053
11372
|
summary: z.ZodString;
|
|
10054
11373
|
findings: z.ZodArray<z.ZodObject<{
|
|
10055
11374
|
severity: z.ZodEnum<{
|
|
10056
|
-
blocking: "blocking";
|
|
10057
11375
|
warning: "warning";
|
|
11376
|
+
blocking: "blocking";
|
|
10058
11377
|
info: "info";
|
|
10059
11378
|
}>;
|
|
10060
11379
|
category: z.ZodEnum<{
|
|
@@ -10082,8 +11401,8 @@ declare const VideoCriticVerdictSchema: z.ZodObject<{
|
|
|
10082
11401
|
identified_action: z.ZodString;
|
|
10083
11402
|
issues: z.ZodArray<z.ZodObject<{
|
|
10084
11403
|
severity: z.ZodEnum<{
|
|
10085
|
-
blocking: "blocking";
|
|
10086
11404
|
warning: "warning";
|
|
11405
|
+
blocking: "blocking";
|
|
10087
11406
|
}>;
|
|
10088
11407
|
category: z.ZodEnum<{
|
|
10089
11408
|
other: "other";
|
|
@@ -10204,8 +11523,8 @@ declare const EntityMetadataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
10204
11523
|
location_key: z.ZodString;
|
|
10205
11524
|
object_keys: z.ZodArray<z.ZodString>;
|
|
10206
11525
|
continuity_from_prev: z.ZodEnum<{
|
|
10207
|
-
hard_cut: "hard_cut";
|
|
10208
11526
|
dissolve: "dissolve";
|
|
11527
|
+
hard_cut: "hard_cut";
|
|
10209
11528
|
match_last_frame: "match_last_frame";
|
|
10210
11529
|
}>;
|
|
10211
11530
|
image_model: z.ZodString;
|
|
@@ -10229,8 +11548,8 @@ declare const EntityMetadataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
10229
11548
|
birds_eye: "birds_eye";
|
|
10230
11549
|
}>;
|
|
10231
11550
|
motion: z.ZodEnum<{
|
|
10232
|
-
static: "static";
|
|
10233
11551
|
pan: "pan";
|
|
11552
|
+
static: "static";
|
|
10234
11553
|
tilt: "tilt";
|
|
10235
11554
|
dolly: "dolly";
|
|
10236
11555
|
tracking: "tracking";
|
|
@@ -10299,8 +11618,8 @@ declare const EntityMetadataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
10299
11618
|
in_offset_sec: z.ZodDefault<z.ZodNumber>;
|
|
10300
11619
|
out_offset_sec: z.ZodDefault<z.ZodNumber>;
|
|
10301
11620
|
transition_to_next: z.ZodEnum<{
|
|
10302
|
-
hard_cut: "hard_cut";
|
|
10303
11621
|
dissolve: "dissolve";
|
|
11622
|
+
hard_cut: "hard_cut";
|
|
10304
11623
|
match_cut: "match_cut";
|
|
10305
11624
|
overlap: "overlap";
|
|
10306
11625
|
}>;
|
|
@@ -10410,19 +11729,23 @@ interface Voice {
|
|
|
10410
11729
|
interface SharedVoice extends Voice {
|
|
10411
11730
|
/**
|
|
10412
11731
|
* The best of our TTS providers whose underlying ElevenLabs model the
|
|
10413
|
-
* voice lists in `verified_languages` (
|
|
10414
|
-
*
|
|
10415
|
-
* else the
|
|
11732
|
+
* voice lists in `verified_languages` (v4 preferred when verified, then v3,
|
|
11733
|
+
* which renders any voice unmodified, then the cheapest v2 model: turbo
|
|
11734
|
+
* preferred, else multilingual). Only the base model id `eleven_v4` counts
|
|
11735
|
+
* toward v4; its `eleven_v4_…` variants do not. Models the deployment does
|
|
11736
|
+
* not offer are never recommended.
|
|
10416
11737
|
* Clients without a provider picker should send it as the `provider` on
|
|
10417
11738
|
* text-to-speech so generation uses a model the voice is actually verified
|
|
10418
11739
|
* for — rendering a voice on an unverified model is what makes output drift
|
|
10419
|
-
* audibly from its preview. Absent when the entry has no model metadata
|
|
11740
|
+
* audibly from its preview. Absent when the entry has no model metadata, or
|
|
11741
|
+
* when none of the models it is verified for is offered by the deployment.
|
|
10420
11742
|
*/
|
|
10421
11743
|
recommendedProvider?: TtsProvider;
|
|
10422
11744
|
/**
|
|
10423
|
-
* Every TTS provider the voice is verified on
|
|
10424
|
-
* `elevenlabs-
|
|
10425
|
-
*
|
|
11745
|
+
* Every TTS provider the voice is verified on and the deployment offers
|
|
11746
|
+
* (subset of `elevenlabs-v4` / `elevenlabs-v3` / `elevenlabs-turbo` /
|
|
11747
|
+
* `elevenlabs-multilingual`, v4 first when present, then v3, turbo,
|
|
11748
|
+
* multilingual); absent whenever `recommendedProvider` is. Clients WITH a provider picker should only snap the
|
|
10426
11749
|
* provider when the current choice is NOT in this set — most voices verify
|
|
10427
11750
|
* more than one, and an explicit user choice within the set must win.
|
|
10428
11751
|
*/
|
|
@@ -10571,8 +11894,8 @@ declare const ImageCriticIssueSchema: z.ZodObject<{
|
|
|
10571
11894
|
wardrobe_inconsistency: "wardrobe_inconsistency";
|
|
10572
11895
|
}>;
|
|
10573
11896
|
severity: z.ZodEnum<{
|
|
10574
|
-
blocking: "blocking";
|
|
10575
11897
|
warning: "warning";
|
|
11898
|
+
blocking: "blocking";
|
|
10576
11899
|
info: "info";
|
|
10577
11900
|
}>;
|
|
10578
11901
|
message: z.ZodString;
|
|
@@ -10591,8 +11914,8 @@ declare const ImageCriticVerdictSchema: z.ZodObject<{
|
|
|
10591
11914
|
wardrobe_inconsistency: "wardrobe_inconsistency";
|
|
10592
11915
|
}>;
|
|
10593
11916
|
severity: z.ZodEnum<{
|
|
10594
|
-
blocking: "blocking";
|
|
10595
11917
|
warning: "warning";
|
|
11918
|
+
blocking: "blocking";
|
|
10596
11919
|
info: "info";
|
|
10597
11920
|
}>;
|
|
10598
11921
|
message: z.ZodString;
|
|
@@ -10609,8 +11932,8 @@ type ImageCriticMode = (typeof IMAGE_CRITIC_MODES)[number];
|
|
|
10609
11932
|
declare const issue: z.ZodObject<{
|
|
10610
11933
|
category: z.ZodString;
|
|
10611
11934
|
severity: z.ZodEnum<{
|
|
10612
|
-
blocking: "blocking";
|
|
10613
11935
|
warning: "warning";
|
|
11936
|
+
blocking: "blocking";
|
|
10614
11937
|
info: "info";
|
|
10615
11938
|
}>;
|
|
10616
11939
|
description: z.ZodString;
|
|
@@ -10621,8 +11944,8 @@ declare const ImageCriticResultSchema: z.ZodObject<{
|
|
|
10621
11944
|
issues: z.ZodOptional<z.ZodArray<z.ZodPreprocess<z.ZodObject<{
|
|
10622
11945
|
category: z.ZodString;
|
|
10623
11946
|
severity: z.ZodEnum<{
|
|
10624
|
-
blocking: "blocking";
|
|
10625
11947
|
warning: "warning";
|
|
11948
|
+
blocking: "blocking";
|
|
10626
11949
|
info: "info";
|
|
10627
11950
|
}>;
|
|
10628
11951
|
description: z.ZodString;
|
|
@@ -10666,8 +11989,8 @@ type ImageCriticNodeIssue = z.infer<typeof issue>;
|
|
|
10666
11989
|
* - backend/src/ee/pipelines/freecut-export.ts
|
|
10667
11990
|
*/
|
|
10668
11991
|
declare const TransitionTypeSchema: z.ZodEnum<{
|
|
10669
|
-
hard_cut: "hard_cut";
|
|
10670
11992
|
dissolve: "dissolve";
|
|
11993
|
+
hard_cut: "hard_cut";
|
|
10671
11994
|
match_cut: "match_cut";
|
|
10672
11995
|
overlap: "overlap";
|
|
10673
11996
|
}>;
|
|
@@ -10695,8 +12018,8 @@ declare const ShotSpecSchema: z.ZodObject<{
|
|
|
10695
12018
|
birds_eye: "birds_eye";
|
|
10696
12019
|
}>;
|
|
10697
12020
|
motion: z.ZodEnum<{
|
|
10698
|
-
static: "static";
|
|
10699
12021
|
pan: "pan";
|
|
12022
|
+
static: "static";
|
|
10700
12023
|
tilt: "tilt";
|
|
10701
12024
|
dolly: "dolly";
|
|
10702
12025
|
tracking: "tracking";
|
|
@@ -10765,8 +12088,8 @@ declare const ShotSpecSchema: z.ZodObject<{
|
|
|
10765
12088
|
in_offset_sec: z.ZodDefault<z.ZodNumber>;
|
|
10766
12089
|
out_offset_sec: z.ZodDefault<z.ZodNumber>;
|
|
10767
12090
|
transition_to_next: z.ZodEnum<{
|
|
10768
|
-
hard_cut: "hard_cut";
|
|
10769
12091
|
dissolve: "dissolve";
|
|
12092
|
+
hard_cut: "hard_cut";
|
|
10770
12093
|
match_cut: "match_cut";
|
|
10771
12094
|
overlap: "overlap";
|
|
10772
12095
|
}>;
|
|
@@ -10809,8 +12132,8 @@ declare const SceneNodeDataSchema: z.ZodObject<{
|
|
|
10809
12132
|
location_key: z.ZodString;
|
|
10810
12133
|
object_keys: z.ZodArray<z.ZodString>;
|
|
10811
12134
|
continuity_from_prev: z.ZodEnum<{
|
|
10812
|
-
hard_cut: "hard_cut";
|
|
10813
12135
|
dissolve: "dissolve";
|
|
12136
|
+
hard_cut: "hard_cut";
|
|
10814
12137
|
match_last_frame: "match_last_frame";
|
|
10815
12138
|
}>;
|
|
10816
12139
|
image_model: z.ZodString;
|
|
@@ -10834,8 +12157,8 @@ declare const SceneNodeDataSchema: z.ZodObject<{
|
|
|
10834
12157
|
birds_eye: "birds_eye";
|
|
10835
12158
|
}>;
|
|
10836
12159
|
motion: z.ZodEnum<{
|
|
10837
|
-
static: "static";
|
|
10838
12160
|
pan: "pan";
|
|
12161
|
+
static: "static";
|
|
10839
12162
|
tilt: "tilt";
|
|
10840
12163
|
dolly: "dolly";
|
|
10841
12164
|
tracking: "tracking";
|
|
@@ -10904,8 +12227,8 @@ declare const SceneNodeDataSchema: z.ZodObject<{
|
|
|
10904
12227
|
in_offset_sec: z.ZodDefault<z.ZodNumber>;
|
|
10905
12228
|
out_offset_sec: z.ZodDefault<z.ZodNumber>;
|
|
10906
12229
|
transition_to_next: z.ZodEnum<{
|
|
10907
|
-
hard_cut: "hard_cut";
|
|
10908
12230
|
dissolve: "dissolve";
|
|
12231
|
+
hard_cut: "hard_cut";
|
|
10909
12232
|
match_cut: "match_cut";
|
|
10910
12233
|
overlap: "overlap";
|
|
10911
12234
|
}>;
|
|
@@ -10979,8 +12302,8 @@ declare const SceneMetadataSchema: z.ZodObject<{
|
|
|
10979
12302
|
location_key: z.ZodString;
|
|
10980
12303
|
object_keys: z.ZodArray<z.ZodString>;
|
|
10981
12304
|
continuity_from_prev: z.ZodEnum<{
|
|
10982
|
-
hard_cut: "hard_cut";
|
|
10983
12305
|
dissolve: "dissolve";
|
|
12306
|
+
hard_cut: "hard_cut";
|
|
10984
12307
|
match_last_frame: "match_last_frame";
|
|
10985
12308
|
}>;
|
|
10986
12309
|
image_model: z.ZodString;
|
|
@@ -11004,8 +12327,8 @@ declare const SceneMetadataSchema: z.ZodObject<{
|
|
|
11004
12327
|
birds_eye: "birds_eye";
|
|
11005
12328
|
}>;
|
|
11006
12329
|
motion: z.ZodEnum<{
|
|
11007
|
-
static: "static";
|
|
11008
12330
|
pan: "pan";
|
|
12331
|
+
static: "static";
|
|
11009
12332
|
tilt: "tilt";
|
|
11010
12333
|
dolly: "dolly";
|
|
11011
12334
|
tracking: "tracking";
|
|
@@ -11074,8 +12397,8 @@ declare const SceneMetadataSchema: z.ZodObject<{
|
|
|
11074
12397
|
in_offset_sec: z.ZodDefault<z.ZodNumber>;
|
|
11075
12398
|
out_offset_sec: z.ZodDefault<z.ZodNumber>;
|
|
11076
12399
|
transition_to_next: z.ZodEnum<{
|
|
11077
|
-
hard_cut: "hard_cut";
|
|
11078
12400
|
dissolve: "dissolve";
|
|
12401
|
+
hard_cut: "hard_cut";
|
|
11079
12402
|
match_cut: "match_cut";
|
|
11080
12403
|
overlap: "overlap";
|
|
11081
12404
|
}>;
|
|
@@ -11175,8 +12498,8 @@ declare const ACTIVE_SCENE_HELPERS: ReadonlySet<"audit_prompt" | "improve_prompt
|
|
|
11175
12498
|
declare const AuditPromptIssueSchema: z.ZodObject<{
|
|
11176
12499
|
shot_id: z.ZodString;
|
|
11177
12500
|
severity: z.ZodEnum<{
|
|
11178
|
-
blocking: "blocking";
|
|
11179
12501
|
warning: "warning";
|
|
12502
|
+
blocking: "blocking";
|
|
11180
12503
|
info: "info";
|
|
11181
12504
|
}>;
|
|
11182
12505
|
issue_type: z.ZodEnum<{
|
|
@@ -11194,8 +12517,8 @@ declare const AuditPromptResultSchema: z.ZodObject<{
|
|
|
11194
12517
|
issues_per_shot: z.ZodArray<z.ZodObject<{
|
|
11195
12518
|
shot_id: z.ZodString;
|
|
11196
12519
|
severity: z.ZodEnum<{
|
|
11197
|
-
blocking: "blocking";
|
|
11198
12520
|
warning: "warning";
|
|
12521
|
+
blocking: "blocking";
|
|
11199
12522
|
info: "info";
|
|
11200
12523
|
}>;
|
|
11201
12524
|
issue_type: z.ZodEnum<{
|
|
@@ -11284,8 +12607,8 @@ declare const AddBRollResultSchema: z.ZodObject<{
|
|
|
11284
12607
|
birds_eye: "birds_eye";
|
|
11285
12608
|
}>;
|
|
11286
12609
|
motion: z.ZodEnum<{
|
|
11287
|
-
static: "static";
|
|
11288
12610
|
pan: "pan";
|
|
12611
|
+
static: "static";
|
|
11289
12612
|
tilt: "tilt";
|
|
11290
12613
|
dolly: "dolly";
|
|
11291
12614
|
tracking: "tracking";
|
|
@@ -11354,8 +12677,8 @@ declare const AddBRollResultSchema: z.ZodObject<{
|
|
|
11354
12677
|
in_offset_sec: z.ZodDefault<z.ZodNumber>;
|
|
11355
12678
|
out_offset_sec: z.ZodDefault<z.ZodNumber>;
|
|
11356
12679
|
transition_to_next: z.ZodEnum<{
|
|
11357
|
-
hard_cut: "hard_cut";
|
|
11358
12680
|
dissolve: "dissolve";
|
|
12681
|
+
hard_cut: "hard_cut";
|
|
11359
12682
|
match_cut: "match_cut";
|
|
11360
12683
|
overlap: "overlap";
|
|
11361
12684
|
}>;
|
|
@@ -11401,8 +12724,8 @@ declare const AuditImagesShotEntrySchema: z.ZodObject<{
|
|
|
11401
12724
|
wardrobe_inconsistency: "wardrobe_inconsistency";
|
|
11402
12725
|
}>;
|
|
11403
12726
|
severity: z.ZodEnum<{
|
|
11404
|
-
blocking: "blocking";
|
|
11405
12727
|
warning: "warning";
|
|
12728
|
+
blocking: "blocking";
|
|
11406
12729
|
info: "info";
|
|
11407
12730
|
}>;
|
|
11408
12731
|
message: z.ZodString;
|
|
@@ -11431,8 +12754,8 @@ declare const AuditImagesResultSchema: z.ZodObject<{
|
|
|
11431
12754
|
wardrobe_inconsistency: "wardrobe_inconsistency";
|
|
11432
12755
|
}>;
|
|
11433
12756
|
severity: z.ZodEnum<{
|
|
11434
|
-
blocking: "blocking";
|
|
11435
12757
|
warning: "warning";
|
|
12758
|
+
blocking: "blocking";
|
|
11436
12759
|
info: "info";
|
|
11437
12760
|
}>;
|
|
11438
12761
|
message: z.ZodString;
|
|
@@ -11468,8 +12791,8 @@ declare const FixContinuityResultSchema: z.ZodObject<{
|
|
|
11468
12791
|
wardrobe_inconsistency: "wardrobe_inconsistency";
|
|
11469
12792
|
}>;
|
|
11470
12793
|
severity: z.ZodEnum<{
|
|
11471
|
-
blocking: "blocking";
|
|
11472
12794
|
warning: "warning";
|
|
12795
|
+
blocking: "blocking";
|
|
11473
12796
|
info: "info";
|
|
11474
12797
|
}>;
|
|
11475
12798
|
message: z.ZodString;
|
|
@@ -11506,8 +12829,8 @@ declare const ValidateMatchCutResultSchema: z.ZodObject<{
|
|
|
11506
12829
|
wardrobe_inconsistency: "wardrobe_inconsistency";
|
|
11507
12830
|
}>;
|
|
11508
12831
|
severity: z.ZodEnum<{
|
|
11509
|
-
blocking: "blocking";
|
|
11510
12832
|
warning: "warning";
|
|
12833
|
+
blocking: "blocking";
|
|
11511
12834
|
info: "info";
|
|
11512
12835
|
}>;
|
|
11513
12836
|
message: z.ZodString;
|
|
@@ -11877,6 +13200,14 @@ declare const DYNAMIC_PRODUCER_TYPES: ReadonlySet<string>;
|
|
|
11877
13200
|
* Mirrors the backend execution-graph AUDIO_SOURCE_TYPES verbatim.
|
|
11878
13201
|
*/
|
|
11879
13202
|
declare const AUDIO_PRODUCER_TYPES: ReadonlySet<string>;
|
|
13203
|
+
/**
|
|
13204
|
+
* Source node types whose output is an IMAGE URL — what feeds a References
|
|
13205
|
+
* input. ONE set for the canvas validators (`frontend/src/lib/
|
|
13206
|
+
* generate-image-handles.ts` re-exports it), the backend's Generate Image
|
|
13207
|
+
* handle migration and the MCP edge normalizer (`llm-chat`'s legacy `in`):
|
|
13208
|
+
* they used to keep separate copies, and the backend's lagged by eight types.
|
|
13209
|
+
*/
|
|
13210
|
+
declare const IMAGE_PRODUCER_TYPES: ReadonlySet<string>;
|
|
11880
13211
|
/**
|
|
11881
13212
|
* Source node types whose primary output is a LIST that, by default, fans out
|
|
11882
13213
|
* one downstream execution per element when an edge leaves them WITHOUT an
|
|
@@ -11910,6 +13241,13 @@ declare const FAN_OUT_EACH_HANDLES: Readonly<Record<string, {
|
|
|
11910
13241
|
readonly each: readonly string[];
|
|
11911
13242
|
readonly primary: string;
|
|
11912
13243
|
}>>;
|
|
13244
|
+
/**
|
|
13245
|
+
* Fan-out nodes whose iterations must ALL succeed: one failed item fails the
|
|
13246
|
+
* node (today's rule tolerates a partial list). UGC Clip — a missing clip
|
|
13247
|
+
* silently drops a beat from the script (spec R17). Already-started items
|
|
13248
|
+
* finish and settle; their jobs are reused on the next run.
|
|
13249
|
+
*/
|
|
13250
|
+
declare const FAN_OUT_ALL_OR_NOTHING_TYPES: ReadonlySet<string>;
|
|
11913
13251
|
/**
|
|
11914
13252
|
* Nodes whose saved list is the list their last run PRODUCED — `__listResults`
|
|
11915
13253
|
* (Extract Field's JSON value on `generatedJson`) — and never a history in
|
|
@@ -11947,6 +13285,24 @@ declare function isFanInNodeType(nodeType: string | undefined | null): boolean;
|
|
|
11947
13285
|
* omits it) lands on the node's primary input, which is the folding one. */
|
|
11948
13286
|
declare function isFanInEdge(targetType: string | undefined | null, targetHandle: string | null | undefined): boolean;
|
|
11949
13287
|
|
|
13288
|
+
/** One fan-out item's notes: its warnings and its real length (UGC Clip). */
|
|
13289
|
+
interface FanOutItemMeta {
|
|
13290
|
+
readonly warnings: readonly string[];
|
|
13291
|
+
readonly durationSec: number | null;
|
|
13292
|
+
}
|
|
13293
|
+
/** One row of UGC Cards' `notes` input. */
|
|
13294
|
+
interface ClipNote {
|
|
13295
|
+
readonly clip: number;
|
|
13296
|
+
readonly warnings: readonly string[];
|
|
13297
|
+
readonly durationSec?: number;
|
|
13298
|
+
}
|
|
13299
|
+
declare function fanOutItemMeta(output: {
|
|
13300
|
+
clipWarnings?: unknown;
|
|
13301
|
+
durationSec?: unknown;
|
|
13302
|
+
} | null | undefined): FanOutItemMeta;
|
|
13303
|
+
/** Row-aligned meta (or one single output) → the notes UGC Cards reads, clip numbers from 1. */
|
|
13304
|
+
declare function clipNotesFrom(meta: ReadonlyArray<FanOutItemMeta | null | undefined> | undefined, single?: FanOutItemMeta): ClipNote[];
|
|
13305
|
+
|
|
11950
13306
|
/**
|
|
11951
13307
|
* Node types whose output carries Suno chaining ids (`sunoTrackId` /
|
|
11952
13308
|
* `sunoTaskId`) for a downstream Suno node (extend / separate / replace /
|
|
@@ -12163,6 +13519,16 @@ declare function stripTransientRuntimeData<T extends {
|
|
|
12163
13519
|
* than adding a member here.
|
|
12164
13520
|
*/
|
|
12165
13521
|
type NodeExecutionStatus = "pending" | "running" | "completed" | "failed" | "skipped";
|
|
13522
|
+
/**
|
|
13523
|
+
* Why a node was skipped at run time, when the run itself decided it (never
|
|
13524
|
+
* for a node the person froze with Skip, which is a saved-data seed):
|
|
13525
|
+
* - `empty_input` — a text-requiring node whose wired text came from a node
|
|
13526
|
+
* that, in this run, produced nothing (a feed that found no new posts). A
|
|
13527
|
+
* completed run with one such skip reads as "nothing new"
|
|
13528
|
+
* (execution-outcome.ts).
|
|
13529
|
+
* A router-gated node carries no reason, as before.
|
|
13530
|
+
*/
|
|
13531
|
+
type NodeSkipReason = "empty_input";
|
|
12166
13532
|
/**
|
|
12167
13533
|
* The statuses whose node state MAY carry `output`.
|
|
12168
13534
|
*
|
|
@@ -12213,8 +13579,33 @@ interface NodeExecutionStateWire<TOutput = Record<string, unknown>> {
|
|
|
12213
13579
|
/** The node's job is parked in `pending_review`; `status` stays "running". */
|
|
12214
13580
|
awaitingReview?: boolean;
|
|
12215
13581
|
progress?: number;
|
|
13582
|
+
/** Present on a `skipped` node the RUN skipped (see {@link NodeSkipReason}); absent on a router-gated one. */
|
|
13583
|
+
skipReason?: NodeSkipReason | (string & {});
|
|
12216
13584
|
}
|
|
12217
13585
|
|
|
13586
|
+
/**
|
|
13587
|
+
* How a COMPLETED run ended, derived on read from its node states — never a
|
|
13588
|
+
* column: the orchestrator, the boot sweep and the reconcile cron all write
|
|
13589
|
+
* `completed`, and a column only one of them set would read "succeeded" for
|
|
13590
|
+
* the runs the others closed. Every surface that shows a run (the editor's
|
|
13591
|
+
* run bar and Executions tab, a published app, Present, the REST / SDK
|
|
13592
|
+
* execution shapes, MCP `get_app_run` / `diagnose_run`) asks this one rule.
|
|
13593
|
+
*/
|
|
13594
|
+
type ExecutionOutcome = "succeeded" | "nothing_new";
|
|
13595
|
+
interface SkipStateLike {
|
|
13596
|
+
readonly status?: unknown;
|
|
13597
|
+
readonly skipReason?: unknown;
|
|
13598
|
+
}
|
|
13599
|
+
/** The nodes a run skipped for want of input: nothing upstream produced any text in this run. */
|
|
13600
|
+
declare function countEmptyInputSkips(nodeStates: Readonly<Record<string, SkipStateLike>> | null | undefined): number;
|
|
13601
|
+
/**
|
|
13602
|
+
* `nothing_new` when a completed run skipped at least one node for want of
|
|
13603
|
+
* input (a feed that found no new posts, a writer with nothing to write);
|
|
13604
|
+
* `succeeded` for any other completed run; undefined for a run that has not
|
|
13605
|
+
* completed — a failed or cancelled run has no outcome, it has a status.
|
|
13606
|
+
*/
|
|
13607
|
+
declare function executionOutcome(status: unknown, nodeStates: Readonly<Record<string, SkipStateLike>> | null | undefined): ExecutionOutcome | undefined;
|
|
13608
|
+
|
|
12218
13609
|
/**
|
|
12219
13610
|
* Workflow-node parameter normalization.
|
|
12220
13611
|
*
|
|
@@ -12552,7 +13943,7 @@ declare const BOARD_VARIANTS: Record<EntityKind, Record<string, readonly string[
|
|
|
12552
13943
|
* section with no resolvable board is intentionally panel-less (these) or a
|
|
12553
13944
|
* misconfiguration (e.g. `environment-board` with no explicit `board`, which
|
|
12554
13945
|
* must throw, not silently yield zero panels). */
|
|
12555
|
-
declare const STRUCTURAL_SECTIONS: Set<"
|
|
13946
|
+
declare const STRUCTURAL_SECTIONS: Set<"scale" | "notes" | "coverage" | "turnaround" | "variation-board" | "header" | "head-turnaround" | "body-turnaround" | "expression-board" | "pose-board" | "material-board" | "environment-board" | "detail-board" | "wardrobe-board" | "palette">;
|
|
12556
13947
|
/** Default board for each board-typed section kind. `null` = no default board.
|
|
12557
13948
|
* For the four structural kinds (`STRUCTURAL_SECTIONS`) that means "no panels".
|
|
12558
13949
|
* For `environment-board` it means "ambiguous (3 buckets) — the section MUST
|
|
@@ -13053,9 +14444,9 @@ type VideoOverlayOutputAspect = (typeof VIDEO_OVERLAY_OUTPUT_ASPECTS)[number];
|
|
|
13053
14444
|
/**
|
|
13054
14445
|
* Reserved input id for a JSON layer plan. Payload: `VideoOverlayLayer[]` — the
|
|
13055
14446
|
* same shape as the node's `layers[]`, a `preset` tag allowed and expanded at
|
|
13056
|
-
* the boundary.
|
|
13057
|
-
*
|
|
13058
|
-
*
|
|
14447
|
+
* the boundary. It has a pip on the node; both input resolvers route an edge on
|
|
14448
|
+
* it into `inputs.layerPlan`, which `assembleVideoOverlayRequest` reads (plan
|
|
14449
|
+
* layers first, then the handle layers).
|
|
13059
14450
|
*/
|
|
13060
14451
|
declare const VIDEO_OVERLAY_LAYER_PLAN_HANDLE = "layerPlan";
|
|
13061
14452
|
/** Box and look bounds. */
|
|
@@ -13082,7 +14473,7 @@ declare const VIDEO_OVERLAY_DEFAULT_BACKGROUND = "#000000";
|
|
|
13082
14473
|
declare const VIDEO_OVERLAY_BOX_FIELDS: readonly ["anchor", "x", "y", "width", "height", "fit"];
|
|
13083
14474
|
declare const VIDEO_OVERLAY_WARNING_CODES: readonly ["clipped", "skipped", "animated_first_frame", "audio_reencoded"];
|
|
13084
14475
|
type VideoOverlayWarningCode = (typeof VIDEO_OVERLAY_WARNING_CODES)[number];
|
|
13085
|
-
declare const VIDEO_OVERLAY_ERROR_CODES: readonly ["no_layers", "too_many_layers", "incomplete_box", "layer_without_image", "time_out_of_range", "end_before_start", "fit_without_aspect", "field_out_of_bounds"];
|
|
14476
|
+
declare const VIDEO_OVERLAY_ERROR_CODES: readonly ["no_layers", "too_many_layers", "incomplete_box", "layer_without_image", "time_out_of_range", "end_before_start", "fit_without_aspect", "field_out_of_bounds", "invalid_layer_plan"];
|
|
13086
14477
|
type VideoOverlayErrorCode = (typeof VIDEO_OVERLAY_ERROR_CODES)[number];
|
|
13087
14478
|
interface VideoOverlayBox {
|
|
13088
14479
|
readonly anchor: OverlayAnchor;
|
|
@@ -13103,6 +14494,8 @@ interface VideoOverlayLayer {
|
|
|
13103
14494
|
imageUrl?: string;
|
|
13104
14495
|
/** 1-based canvas slot (overlay = 1 … overlay12 = 12; 13 and up handle-less), stamped by both engine assemblies. Messages prefer it. */
|
|
13105
14496
|
slot?: number;
|
|
14497
|
+
/** 1-based entry of a wired layer plan, stamped by the assembly. Messages prefer it. */
|
|
14498
|
+
planLayer?: number;
|
|
13106
14499
|
/** Seconds, 0..3600, stored ms-precise; rendered on the base's frame grid (±1 frame). */
|
|
13107
14500
|
start: number;
|
|
13108
14501
|
/** Seconds, 0..3600, > start; absent = until the video ends. */
|
|
@@ -13151,11 +14544,15 @@ interface VideoOverlayRequest {
|
|
|
13151
14544
|
/** A request whose layers went through `expandVideoOverlayPresets`. */
|
|
13152
14545
|
interface ExpandedVideoOverlayRequest extends Omit<VideoOverlayRequest, "layers"> {
|
|
13153
14546
|
layers: VideoOverlayLayer[];
|
|
14547
|
+
/** Set by the assembly when a wired layer plan could not be read; `validateVideoOverlayRequest` reports it first. */
|
|
14548
|
+
planError?: "invalid_layer_plan";
|
|
13154
14549
|
}
|
|
13155
14550
|
/** `output_data.warnings[]`: `layer` = 0-based index of the request's layers (absent for a render-wide warning such as `audio_reencoded`), `slot` when known. */
|
|
13156
14551
|
interface VideoOverlayWarning {
|
|
13157
14552
|
readonly layer?: number;
|
|
13158
14553
|
readonly slot?: number;
|
|
14554
|
+
/** Set instead of `slot` when the layer came from the layer plan. */
|
|
14555
|
+
readonly planLayer?: number;
|
|
13159
14556
|
readonly code: VideoOverlayWarningCode;
|
|
13160
14557
|
readonly detail: string;
|
|
13161
14558
|
}
|
|
@@ -13235,6 +14632,8 @@ interface VideoOverlayOrderable {
|
|
|
13235
14632
|
readonly zIndex?: number | null;
|
|
13236
14633
|
/** 1-based canvas slot (stamped by both engine assemblies). */
|
|
13237
14634
|
readonly slot?: number | null;
|
|
14635
|
+
/** 1-based layer-plan entry. Plan layers sit BELOW every slot layer (handle layers draw above the plan), unless they set a `zIndex`. */
|
|
14636
|
+
readonly planLayer?: number | null;
|
|
13238
14637
|
/** 0-based index in the request's `layers[]` (the worker's graph layers carry it). */
|
|
13239
14638
|
readonly index?: number | null;
|
|
13240
14639
|
}
|
|
@@ -13293,6 +14692,7 @@ interface VideoOverlayIssue {
|
|
|
13293
14692
|
/** 0-based index into the validated `layers[]`. */
|
|
13294
14693
|
readonly layer?: number;
|
|
13295
14694
|
readonly slot?: number;
|
|
14695
|
+
readonly planLayer?: number;
|
|
13296
14696
|
readonly params: Readonly<Record<string, string | number>>;
|
|
13297
14697
|
}
|
|
13298
14698
|
type VideoOverlayValidation = {
|
|
@@ -13303,6 +14703,8 @@ interface VideoOverlayValidationInput {
|
|
|
13303
14703
|
readonly outputAspect?: string | null;
|
|
13304
14704
|
readonly baseFit?: string | null;
|
|
13305
14705
|
readonly backgroundColor?: string | null;
|
|
14706
|
+
/** From `assembleVideoOverlayRequest`: the wired layer plan was unreadable. */
|
|
14707
|
+
readonly planError?: "invalid_layer_plan";
|
|
13306
14708
|
}
|
|
13307
14709
|
/**
|
|
13308
14710
|
* Can `resolveVideoOverlayGeometry` place this layer? True when its box is what
|
|
@@ -13327,13 +14729,20 @@ declare function hasDrawableVideoOverlayBox(layer: unknown): boolean;
|
|
|
13327
14729
|
* FIRST failure, as a code.
|
|
13328
14730
|
*/
|
|
13329
14731
|
declare function validateVideoOverlayRequest(body: VideoOverlayValidationInput): VideoOverlayValidation;
|
|
13330
|
-
/** `Layer <slot>` when the layer came from the canvas, else `layers[<index>]`; "" for a request-wide failure. */
|
|
14732
|
+
/** `Plan layer <n>` for a layer-plan entry, `Layer <slot>` when the layer came from the canvas, else `layers[<index>]`; "" for a request-wide failure. */
|
|
13331
14733
|
declare function videoOverlayLayerLabel(ref: {
|
|
13332
14734
|
readonly layer?: number;
|
|
13333
14735
|
readonly slot?: number;
|
|
14736
|
+
readonly planLayer?: number;
|
|
13334
14737
|
}): string;
|
|
13335
14738
|
/** The ONE English rendering of a verdict — the route's 400 text and the worker's error message. */
|
|
13336
14739
|
declare function formatVideoOverlayError(issue: VideoOverlayIssue): string;
|
|
14740
|
+
/** The wired `layerPlan` value (a JSON string or an array) → its layers, or `invalid_layer_plan`. */
|
|
14741
|
+
declare function parseVideoOverlayLayerPlan(raw: unknown): {
|
|
14742
|
+
layers: VideoOverlayLayerInput[];
|
|
14743
|
+
} | {
|
|
14744
|
+
error: "invalid_layer_plan";
|
|
14745
|
+
};
|
|
13337
14746
|
/** The node-data fields the assembly reads. */
|
|
13338
14747
|
interface VideoOverlayNodeFields {
|
|
13339
14748
|
readonly layers?: ReadonlyArray<VideoOverlayLayerInput | null | undefined> | null;
|
|
@@ -13357,11 +14766,19 @@ interface VideoOverlayNodeFields {
|
|
|
13357
14766
|
* (The canvas never builds that request: its two aspect writers clear both
|
|
13358
14767
|
* fields with the aspect.) A value the route's schema would reject — an
|
|
13359
14768
|
* unknown aspect or fit, a colour that is not `#rrggbb` — is dropped here.
|
|
14769
|
+
*
|
|
14770
|
+
* A wired layer plan (`planLayers`, a JSON string or an array) contributes its
|
|
14771
|
+
* layers FIRST, then the slot layers: plan layers carry `planLayer` (1-based)
|
|
14772
|
+
* and never a `slot`, and a plan layer's image is only its own `imageUrl` —
|
|
14773
|
+
* never the index-aligned handle's (R18). An unreadable plan sets `planError`,
|
|
14774
|
+
* which the validator reports before anything else.
|
|
13360
14775
|
*/
|
|
13361
14776
|
declare function assembleVideoOverlayRequest(input: {
|
|
13362
14777
|
readonly videoUrl: string;
|
|
13363
14778
|
readonly data: VideoOverlayNodeFields;
|
|
13364
14779
|
readonly wiredImageUrls: ReadonlyArray<string | null | undefined>;
|
|
14780
|
+
/** The wired `layerPlan` value (string or array); absent when nothing is wired. */
|
|
14781
|
+
readonly planLayers?: unknown;
|
|
13365
14782
|
}): ExpandedVideoOverlayRequest;
|
|
13366
14783
|
/**
|
|
13367
14784
|
* Slot i's image: the wired handle's, else the layer's own `imageUrl` — the
|
|
@@ -13380,6 +14797,8 @@ interface VideoOverlayComposition {
|
|
|
13380
14797
|
readonly sources: ReadonlyArray<string | null | undefined>;
|
|
13381
14798
|
/** The node's stored settings — never the expanded request. */
|
|
13382
14799
|
readonly data: VideoOverlayNodeFields;
|
|
14800
|
+
/** The wired `layerPlan` value (string or array); absent when nothing is wired. */
|
|
14801
|
+
readonly planLayers?: unknown;
|
|
13383
14802
|
}
|
|
13384
14803
|
/**
|
|
13385
14804
|
* The longest `resultCompositionKey` the REST route accepts. The canvas sends
|
|
@@ -13955,10 +15374,10 @@ declare const windowSceneSchema: z.ZodObject<{
|
|
|
13955
15374
|
transitionOut: z.ZodOptional<z.ZodEnum<{
|
|
13956
15375
|
match: "match";
|
|
13957
15376
|
cut: "cut";
|
|
13958
|
-
zoom: "zoom";
|
|
13959
|
-
dissolve: "dissolve";
|
|
13960
15377
|
fade: "fade";
|
|
15378
|
+
dissolve: "dissolve";
|
|
13961
15379
|
wipe: "wipe";
|
|
15380
|
+
zoom: "zoom";
|
|
13962
15381
|
whip: "whip";
|
|
13963
15382
|
slide: "slide";
|
|
13964
15383
|
"white-flash": "white-flash";
|
|
@@ -14085,10 +15504,10 @@ declare const windowAnalysisSchema: z.ZodObject<{
|
|
|
14085
15504
|
transitionOut: z.ZodOptional<z.ZodEnum<{
|
|
14086
15505
|
match: "match";
|
|
14087
15506
|
cut: "cut";
|
|
14088
|
-
zoom: "zoom";
|
|
14089
|
-
dissolve: "dissolve";
|
|
14090
15507
|
fade: "fade";
|
|
15508
|
+
dissolve: "dissolve";
|
|
14091
15509
|
wipe: "wipe";
|
|
15510
|
+
zoom: "zoom";
|
|
14092
15511
|
whip: "whip";
|
|
14093
15512
|
slide: "slide";
|
|
14094
15513
|
"white-flash": "white-flash";
|
|
@@ -14176,10 +15595,10 @@ declare const analyzedSceneSchema: z.ZodObject<{
|
|
|
14176
15595
|
transitionOut: z.ZodOptional<z.ZodEnum<{
|
|
14177
15596
|
match: "match";
|
|
14178
15597
|
cut: "cut";
|
|
14179
|
-
zoom: "zoom";
|
|
14180
|
-
dissolve: "dissolve";
|
|
14181
15598
|
fade: "fade";
|
|
15599
|
+
dissolve: "dissolve";
|
|
14182
15600
|
wipe: "wipe";
|
|
15601
|
+
zoom: "zoom";
|
|
14183
15602
|
whip: "whip";
|
|
14184
15603
|
slide: "slide";
|
|
14185
15604
|
"white-flash": "white-flash";
|
|
@@ -14316,10 +15735,10 @@ declare const videoAnalysisResultSchema: z.ZodObject<{
|
|
|
14316
15735
|
transitionOut: z.ZodOptional<z.ZodEnum<{
|
|
14317
15736
|
match: "match";
|
|
14318
15737
|
cut: "cut";
|
|
14319
|
-
zoom: "zoom";
|
|
14320
|
-
dissolve: "dissolve";
|
|
14321
15738
|
fade: "fade";
|
|
15739
|
+
dissolve: "dissolve";
|
|
14322
15740
|
wipe: "wipe";
|
|
15741
|
+
zoom: "zoom";
|
|
14323
15742
|
whip: "whip";
|
|
14324
15743
|
slide: "slide";
|
|
14325
15744
|
"white-flash": "white-flash";
|
|
@@ -20398,6 +21817,12 @@ declare function transcriptDurationSec(transcript: unknown): number | undefined;
|
|
|
20398
21817
|
* runs this before validate). The two must never be two independent overlap
|
|
20399
21818
|
* implementations that can drift. */
|
|
20400
21819
|
declare function edlDurationMs(edl: Edl): number;
|
|
21820
|
+
/** The output-clock start time of each segment (index-aligned to
|
|
21821
|
+
* `edl.segments`), accounting for D17 overlap: the transition INTO segment k
|
|
21822
|
+
* pulls its duration back from the boundary. `outputStart(0) = 0`;
|
|
21823
|
+
* `outputStart(n) + dur(n) === edlDurationMs`. The one output clock every
|
|
21824
|
+
* remap reads — a player seeking a rendered cut reads it too. */
|
|
21825
|
+
declare function edlSegmentOutputStarts(edl: Edl): number[];
|
|
20401
21826
|
/** Library-produced (never construct one yourself — fields may be added). `ok` is `issues.length === 0`;
|
|
20402
21827
|
* warnings never flip it. Issues = facts intrinsic to the EDL. Warnings = judgements against a REGISTRY
|
|
20403
21828
|
* (source roles, speaker layouts/switches/emphasis, target aspects) that a newer version may widen — so an
|
|
@@ -20431,6 +21856,17 @@ declare function validateEdlClipSet(set: EdlClipSet): EdlValidation;
|
|
|
20431
21856
|
* `sourceId` omitted ⇒ the instant is already on the master clock.
|
|
20432
21857
|
*/
|
|
20433
21858
|
declare function remapMsThroughEdl(edl: Edl, sourceMs: number, sourceId?: string): number | null;
|
|
21859
|
+
/**
|
|
21860
|
+
* The inverse of `remapMsThroughEdl`: the master-clock instant the rendered
|
|
21861
|
+
* output plays at `outputMs`, or `null` before the start, at or past the end,
|
|
21862
|
+
* and for a non-finite time. Inside a crossfade both segments play; the
|
|
21863
|
+
* INCOMING one (the later segment) is the one named, since the cut has moved
|
|
21864
|
+
* to it. On an EDL that never revisits master time (a Tighten cut),
|
|
21865
|
+
* `remapMsThroughEdl(edl, outputMsToMasterMs(edl, t)) === t` for every output
|
|
21866
|
+
* instant `t`; an EDL that re-reads a span maps two output instants to one
|
|
21867
|
+
* master instant, and the remap names the first.
|
|
21868
|
+
*/
|
|
21869
|
+
declare function outputMsToMasterMs(edl: Edl, outputMs: number): number | null;
|
|
20434
21870
|
/**
|
|
20435
21871
|
* Remap a transcript onto the rendered output: drop words that fall entirely
|
|
20436
21872
|
* in removed material, clip a word that straddles a cut to its kept part, and
|
|
@@ -20624,6 +22060,214 @@ interface ResolveEdlSlotsOptions {
|
|
|
20624
22060
|
* Unknown source id → the source rung is skipped. Pure; never throws on its own. */
|
|
20625
22061
|
declare function resolveEdlSegmentSlots(edl: Edl, segment: EdlSegment, opts?: ResolveEdlSlotsOptions): readonly EdlResolvedSlot[];
|
|
20626
22062
|
|
|
22063
|
+
/**
|
|
22064
|
+
* Speaker tracks — where each speaker's face is, over time, per camera.
|
|
22065
|
+
*
|
|
22066
|
+
* WHY THIS EXISTS
|
|
22067
|
+
* A face-tracking analysis node samples each camera an edit shows, finds the
|
|
22068
|
+
* faces, links them into tracks and labels each track with a speaker. Its
|
|
22069
|
+
* result feeds the framing rung `resolveEdlSegmentSlots` reserves for a
|
|
22070
|
+
* per-segment resolver (D20, edl-multicam.ts). This module is the wire shape
|
|
22071
|
+
* of that result plus the pure functions that read it: structural vocabulary
|
|
22072
|
+
* only — no detector, no linking or attribution rule, no framing or follow
|
|
22073
|
+
* math, no thresholds. That is why it lives in the Apache-licensed
|
|
22074
|
+
* `@nodaro/shared` (the public contract: the API response, the SDK type and
|
|
22075
|
+
* the MCP output). Every published version is an irrevocable grant, so every
|
|
22076
|
+
* later field is optional and additive.
|
|
22077
|
+
*
|
|
22078
|
+
* TWO SHAPES, ONE PROJECTION
|
|
22079
|
+
* - `SpeakerTrackSet` — the full set, boxes included. At a long multi-camera
|
|
22080
|
+
* edit it is megabytes of JSON, so it is stored as a JSON artifact (the
|
|
22081
|
+
* versioned box body), never inline in a job row or a node's data.
|
|
22082
|
+
* - `SpeakerTrackSetDescriptor` — what the node outputs: the same set with
|
|
22083
|
+
* every box removed (a `boxCount` per track instead) plus the artifact's
|
|
22084
|
+
* `url`, `sha256` and `bytes`. Consumers fetch the body by URL, check the
|
|
22085
|
+
* hash, run `normalizeSpeakerTracks` + `validateSpeakerTracks` on it, and
|
|
22086
|
+
* can confirm it is the body the descriptor names with
|
|
22087
|
+
* `describeSpeakerTracks(body, artifact)` deep-equal to the descriptor.
|
|
22088
|
+
*
|
|
22089
|
+
* CLOCK (D19)
|
|
22090
|
+
* Boxes are per SOURCE and on that source's own clock (`clock: "source"`), in
|
|
22091
|
+
* integer ms. A consumer maps to the master clock through the EDL source's
|
|
22092
|
+
* offset: `masterMs = ms + offsetMs` (`remapMsThroughEdl(edl, ms, sourceId)`).
|
|
22093
|
+
* Nothing here applies the offset, and nothing ever rescales a time (no
|
|
22094
|
+
* seconds→ms guessing — an implausible value is a validation error).
|
|
22095
|
+
*
|
|
22096
|
+
* GEOMETRY
|
|
22097
|
+
* Box coordinates are fractions 0..1 of `frame`: the display-oriented frame
|
|
22098
|
+
* (after rotation, square pixels) the producer sampled.
|
|
22099
|
+
*
|
|
22100
|
+
* SAMPLING
|
|
22101
|
+
* `sampledSpans` say what was looked at. No box for a track outside them means
|
|
22102
|
+
* "not sampled"; inside them it means "no face there". Spans are half-open
|
|
22103
|
+
* `[startMs, endMs)`, like EDL segments.
|
|
22104
|
+
*/
|
|
22105
|
+
declare const SPEAKER_TRACKS_VERSION: 1;
|
|
22106
|
+
/** How a track got its speaker. Open: a newer producer may add a method, which
|
|
22107
|
+
* an older validator reports as a WARNING, never an issue. */
|
|
22108
|
+
declare const SPEAKER_TRACK_ATTRIBUTION_METHODS: readonly ["source-map", "region", "mouth-motion", "manual"];
|
|
22109
|
+
type SpeakerTrackAttributionMethod = (typeof SPEAKER_TRACK_ATTRIBUTION_METHODS)[number];
|
|
22110
|
+
/** Default hard cap on boxes per source. The longest edit the platform plans
|
|
22111
|
+
* for (180 minutes) sampled at 2 per second is 21,600 samples per source; the
|
|
22112
|
+
* cap leaves room for several faces in every sample. Override per call with
|
|
22113
|
+
* `maxBoxesPerSource`. */
|
|
22114
|
+
declare const SPEAKER_TRACKS_MAX_BOXES_PER_SOURCE = 100000;
|
|
22115
|
+
/** Default hard cap on the serialized size of a track set (UTF-8 bytes of its
|
|
22116
|
+
* JSON), so no consumer ever loads an unbounded body. Override per call with
|
|
22117
|
+
* `maxBytes`. */
|
|
22118
|
+
declare const SPEAKER_TRACKS_MAX_BYTES: number;
|
|
22119
|
+
/** One detection. `ms` on the source clock; x/y/w/h fractions 0..1 of the frame. */
|
|
22120
|
+
interface SpeakerTrackBox {
|
|
22121
|
+
readonly ms: number;
|
|
22122
|
+
readonly x: number;
|
|
22123
|
+
readonly y: number;
|
|
22124
|
+
readonly w: number;
|
|
22125
|
+
readonly h: number;
|
|
22126
|
+
/** Detector confidence 0..1, when the detector reports one. */
|
|
22127
|
+
readonly score?: number;
|
|
22128
|
+
}
|
|
22129
|
+
interface SpeakerTrackAttribution {
|
|
22130
|
+
/** Known: `SPEAKER_TRACK_ATTRIBUTION_METHODS`. */
|
|
22131
|
+
readonly method: SpeakerTrackAttributionMethod | (string & {});
|
|
22132
|
+
/** 0..1. */
|
|
22133
|
+
readonly confidence: number;
|
|
22134
|
+
/** The transcript's own label for this speaker, kept beside the display name
|
|
22135
|
+
* in `speaker` so a later rename re-maps instead of orphaning the track. */
|
|
22136
|
+
readonly rawSpeaker?: string;
|
|
22137
|
+
}
|
|
22138
|
+
/** What a track says about itself, without its boxes. */
|
|
22139
|
+
interface SpeakerTrackHeader {
|
|
22140
|
+
/** Unique in the whole set, e.g. "wide/t3". */
|
|
22141
|
+
readonly id: string;
|
|
22142
|
+
/** A label in the edit's speaker space. Absent = unattributed. */
|
|
22143
|
+
readonly speaker?: string;
|
|
22144
|
+
readonly attribution?: SpeakerTrackAttribution;
|
|
22145
|
+
}
|
|
22146
|
+
interface SpeakerTrack extends SpeakerTrackHeader {
|
|
22147
|
+
/** Strictly increasing `ms`, each inside one of the source's `sampledSpans`. */
|
|
22148
|
+
readonly boxes: readonly SpeakerTrackBox[];
|
|
22149
|
+
}
|
|
22150
|
+
interface SpeakerTrackSummary extends SpeakerTrackHeader {
|
|
22151
|
+
readonly boxCount: number;
|
|
22152
|
+
}
|
|
22153
|
+
interface SpeakerTrackSpan {
|
|
22154
|
+
readonly startMs: number;
|
|
22155
|
+
/** Exclusive, > startMs. */
|
|
22156
|
+
readonly endMs: number;
|
|
22157
|
+
}
|
|
22158
|
+
interface SpeakerTrackSourceFields {
|
|
22159
|
+
/** `EdlSource.id` of a video source. */
|
|
22160
|
+
readonly sourceId: string;
|
|
22161
|
+
/** Boxes, spans and cuts are ms on this SOURCE's own clock (D19). */
|
|
22162
|
+
readonly clock: "source";
|
|
22163
|
+
/** The display-oriented frame (after rotation, square pixels), in pixels, that box fractions refer to. */
|
|
22164
|
+
readonly frame: {
|
|
22165
|
+
readonly w: number;
|
|
22166
|
+
readonly h: number;
|
|
22167
|
+
};
|
|
22168
|
+
/** What was sampled: sorted, non-overlapping, half-open. */
|
|
22169
|
+
readonly sampledSpans: readonly SpeakerTrackSpan[];
|
|
22170
|
+
/** Source-clock ms of detected scene changes, ascending. No track spans one. */
|
|
22171
|
+
readonly cuts?: readonly number[];
|
|
22172
|
+
}
|
|
22173
|
+
interface SpeakerTrackSource extends SpeakerTrackSourceFields {
|
|
22174
|
+
readonly tracks: readonly SpeakerTrack[];
|
|
22175
|
+
}
|
|
22176
|
+
interface SpeakerTrackSourceSummary extends SpeakerTrackSourceFields {
|
|
22177
|
+
readonly tracks: readonly SpeakerTrackSummary[];
|
|
22178
|
+
}
|
|
22179
|
+
interface SpeakerTrackSetFields {
|
|
22180
|
+
readonly version: 1;
|
|
22181
|
+
/** Samples per second the producer looked at. */
|
|
22182
|
+
readonly sampleFps: number;
|
|
22183
|
+
/** Informational: which detector produced the boxes, e.g. "example:face-detector". */
|
|
22184
|
+
readonly detector: {
|
|
22185
|
+
readonly id: string;
|
|
22186
|
+
readonly version?: string;
|
|
22187
|
+
};
|
|
22188
|
+
}
|
|
22189
|
+
/** The full set — the versioned box body, stored as a JSON artifact. */
|
|
22190
|
+
interface SpeakerTrackSet extends SpeakerTrackSetFields {
|
|
22191
|
+
readonly sources: readonly SpeakerTrackSource[];
|
|
22192
|
+
}
|
|
22193
|
+
/** What the analysis node outputs: the set without its boxes, plus where the body is. */
|
|
22194
|
+
interface SpeakerTrackSetDescriptor extends SpeakerTrackSetFields {
|
|
22195
|
+
readonly sources: readonly SpeakerTrackSourceSummary[];
|
|
22196
|
+
/** Where the `SpeakerTrackSet` body is stored. */
|
|
22197
|
+
readonly url: string;
|
|
22198
|
+
/** SHA-256 of the stored body's bytes, 64 lowercase hex characters. */
|
|
22199
|
+
readonly sha256: string;
|
|
22200
|
+
/** Size of the stored body in bytes. */
|
|
22201
|
+
readonly bytes: number;
|
|
22202
|
+
}
|
|
22203
|
+
/**
|
|
22204
|
+
* Coerce an unknown value into a well-formed `SpeakerTrackSet` (the box body):
|
|
22205
|
+
* drop unknown keys and malformed boxes, crop every box to the frame (an
|
|
22206
|
+
* entirely off-frame box is dropped, an overhang keeps its visible part), clamp
|
|
22207
|
+
* scores and confidences to 0..1, round every time to integer ms, sort each
|
|
22208
|
+
* track's boxes by time (box order IS time, unlike EDL segment order), sort and
|
|
22209
|
+
* merge sampled spans, sort and de-duplicate cuts.
|
|
22210
|
+
*
|
|
22211
|
+
* It never repairs what would change meaning: a box outside every sampled
|
|
22212
|
+
* span, two boxes at one instant, a track across a cut, another version or
|
|
22213
|
+
* another clock all survive for `validateSpeakerTracks` to report.
|
|
22214
|
+
*/
|
|
22215
|
+
declare function normalizeSpeakerTracks(input: unknown): SpeakerTrackSet;
|
|
22216
|
+
/** Coerce an unknown value into a `SpeakerTrackSetDescriptor`, by the same rules
|
|
22217
|
+
* as `normalizeSpeakerTracks`; a missing or broken `boxCount` becomes 0. */
|
|
22218
|
+
declare function normalizeSpeakerTrackSetDescriptor(input: unknown): SpeakerTrackSetDescriptor;
|
|
22219
|
+
/** The descriptor of a (normalized) set stored at `artifact.url`: every box
|
|
22220
|
+
* removed, a `boxCount` per track. Pure; the caller hashes and stores the body. */
|
|
22221
|
+
declare function describeSpeakerTracks(set: SpeakerTrackSet, artifact: {
|
|
22222
|
+
readonly url: string;
|
|
22223
|
+
readonly sha256: string;
|
|
22224
|
+
readonly bytes: number;
|
|
22225
|
+
}): SpeakerTrackSetDescriptor;
|
|
22226
|
+
/** The speaker labels an edit uses: the union of `sources[].speakers`,
|
|
22227
|
+
* `segments[].speaker` and `segments[].layout.slots[].speaker`, over every EDL
|
|
22228
|
+
* given (a clip pack), sorted by code unit. Tracks must be labelled in this
|
|
22229
|
+
* space, or no track ever matches a segment's speaker. */
|
|
22230
|
+
declare function edlSpeakerSpace(edl: Edl | readonly Edl[]): string[];
|
|
22231
|
+
interface SpeakerTracksValidateOptions {
|
|
22232
|
+
/** The edit the tracks are for — one EDL, or every clip of a pack. When given,
|
|
22233
|
+
* every source must resolve to one of its video sources, and attributed
|
|
22234
|
+
* speakers must be in its speaker space (`edlSpeakerSpace`). */
|
|
22235
|
+
readonly edl?: Edl | readonly Edl[];
|
|
22236
|
+
/** Default `SPEAKER_TRACKS_MAX_BOXES_PER_SOURCE`. */
|
|
22237
|
+
readonly maxBoxesPerSource?: number;
|
|
22238
|
+
/** Default `SPEAKER_TRACKS_MAX_BYTES`. */
|
|
22239
|
+
readonly maxBytes?: number;
|
|
22240
|
+
/** `validateSpeakerTracks` only: the body's known size in bytes (e.g. the
|
|
22241
|
+
* fetched length), so a large body is not serialized again to measure it. */
|
|
22242
|
+
readonly serializedBytes?: number;
|
|
22243
|
+
}
|
|
22244
|
+
/**
|
|
22245
|
+
* Structural validation of a track set (the box body). Normalization is
|
|
22246
|
+
* `normalizeSpeakerTracks`'s job; this reports what is still wrong after it.
|
|
22247
|
+
* Issues are facts intrinsic to the set (or to the set against the EDL);
|
|
22248
|
+
* warnings are judgements an older validator must not turn into a refusal
|
|
22249
|
+
* (an unknown attribution method, one stray speaker label).
|
|
22250
|
+
*
|
|
22251
|
+
* Rules: version; a positive sample rate; unique source ids that resolve to
|
|
22252
|
+
* the EDL's video sources; the source clock; a positive frame; sorted,
|
|
22253
|
+
* non-overlapping, positive, integer-ms spans; ascending integer cuts; unique
|
|
22254
|
+
* track ids; every box in-frame, at an integer ms, strictly after the previous
|
|
22255
|
+
* one and inside a sampled span; no track across a cut; the speaker name
|
|
22256
|
+
* space; the box and byte caps.
|
|
22257
|
+
*
|
|
22258
|
+
* The listing is bounded: per track, the first few boxes breaking each rule
|
|
22259
|
+
* are listed and the rest counted in one line; past a fixed total, one line
|
|
22260
|
+
* counts the issues (or warnings) not listed. `ok` counts every finding.
|
|
22261
|
+
*/
|
|
22262
|
+
declare function validateSpeakerTracks(set: SpeakerTrackSet, opts?: SpeakerTracksValidateOptions): EdlValidation;
|
|
22263
|
+
/**
|
|
22264
|
+
* Structural validation of a descriptor (the node's output): the same rules as
|
|
22265
|
+
* `validateSpeakerTracks` minus the per-box ones (it has no boxes; `boxCount`
|
|
22266
|
+
* feeds the per-source cap), plus a non-empty `url`, a well-formed `sha256`
|
|
22267
|
+
* and a positive `bytes` within the byte cap.
|
|
22268
|
+
*/
|
|
22269
|
+
declare function validateSpeakerTrackSetDescriptor(d: SpeakerTrackSetDescriptor, opts?: Omit<SpeakerTracksValidateOptions, "serializedBytes">): EdlValidation;
|
|
22270
|
+
|
|
20627
22271
|
/**
|
|
20628
22272
|
* camera-switch (podcast B5, decided 2026-10-03) — the structural pieces every
|
|
20629
22273
|
* caller shares: the canvas engines, the editor, MCP and the SDK. WHO is on
|
|
@@ -20716,13 +22360,15 @@ declare function cameraSwitchSettingsPayload(data: CameraSwitchNodeSettings, edl
|
|
|
20716
22360
|
layoutHints: boolean;
|
|
20717
22361
|
};
|
|
20718
22362
|
|
|
20719
|
-
|
|
22363
|
+
/** `trailer` (Track D1): one short teaser EDL built from the strongest moments,
|
|
22364
|
+
* priced like `clips` (the per-minute rate plus the clips flat). */
|
|
22365
|
+
type EditPlanMode = "tighten" | "clips" | "chapters" | "trailer";
|
|
20720
22366
|
type EditPlanTier = "economy" | "standard" | "premium";
|
|
20721
22367
|
declare const EDIT_PLAN_MODES: readonly EditPlanMode[];
|
|
20722
22368
|
declare const EDIT_PLAN_TIERS: readonly EditPlanTier[];
|
|
20723
22369
|
/** The coarse duration ladder (MINUTES) a probed source duration rounds UP to;
|
|
20724
|
-
* the composite credit id carries the bucket.
|
|
20725
|
-
*
|
|
22370
|
+
* the composite credit id carries the bucket. 4 modes × 3 tiers × 6 buckets =
|
|
22371
|
+
* 72 composites (+ the bare `edit-plan`). */
|
|
20726
22372
|
declare const EDIT_PLAN_BUCKET_MINUTES: readonly number[];
|
|
20727
22373
|
/** Hard duration cap (design §7.4). */
|
|
20728
22374
|
declare const EDIT_PLAN_MAX_MINUTES = 180;
|
|
@@ -20743,20 +22389,26 @@ declare function editPlanBucketMinutes(durationSec: number | undefined): number;
|
|
|
20743
22389
|
/** `edit-plan:<mode>:<tier>:<bucket>m`. `durationSec` undefined → the ceiling
|
|
20744
22390
|
* bucket. Single source of truth for the composite id shape. */
|
|
20745
22391
|
declare function buildEditPlanCreditId(mode: EditPlanMode, tier: EditPlanTier, durationSec?: number): string;
|
|
20746
|
-
/** Narrow an arbitrary value to a known edit-plan mode, defaulting to "tighten".
|
|
22392
|
+
/** Narrow an arbitrary value to a known edit-plan mode, defaulting to "tighten".
|
|
22393
|
+
* For display and estimates only: anything that DISPATCHES a plan must use
|
|
22394
|
+
* {@link parseEditPlanMode} and refuse an unknown mode, or that mode is planned
|
|
22395
|
+
* (and charged) as tighten. */
|
|
20747
22396
|
declare function asEditPlanMode(v: unknown): EditPlanMode;
|
|
22397
|
+
/** The strict sibling of {@link asEditPlanMode}: the mode when `v` is exactly a
|
|
22398
|
+
* known edit-plan mode, otherwise `undefined` — never a substitute. */
|
|
22399
|
+
declare function parseEditPlanMode(v: unknown): EditPlanMode | undefined;
|
|
20748
22400
|
/** Narrow an arbitrary value to a known edit-plan tier, defaulting to "standard". */
|
|
20749
22401
|
declare function asEditPlanTier(v: unknown): EditPlanTier;
|
|
20750
22402
|
/**
|
|
20751
22403
|
* Unwrap an `edit-plan` job's `output_data` into the value stored on the node's
|
|
20752
22404
|
* `data.generatedJson`, which every output extractor then reads. This is the ONE
|
|
20753
|
-
* place the
|
|
22405
|
+
* place the modes are normalized (the same rule on both engines and every
|
|
20754
22406
|
* result-application site, so audit-dag parity can't drift):
|
|
20755
22407
|
* - `clips` → the BARE `Edl[]` (T5: the `list` fan-out reads `Array.isArray`
|
|
20756
22408
|
* on `generatedJson`; each element becomes one JSON-stringified
|
|
20757
22409
|
* item a downstream `edl` input `normalizeEdl`-parses).
|
|
20758
22410
|
* - `chapters` → the `{ version, chapters }` object.
|
|
20759
|
-
* - `tighten`
|
|
22411
|
+
* - `tighten` / `trailer` → the `Edl` object at top level.
|
|
20760
22412
|
*
|
|
20761
22413
|
* The cloud relay object-spreads `output_data` and adds `viaNodaroCloud: true`;
|
|
20762
22414
|
* that key (and any other bookkeeping) is stripped here. The unwrap lives HERE —
|
|
@@ -20867,6 +22519,23 @@ declare function resolveEditPlanOutput(plan: unknown, editedEdl: unknown): Resol
|
|
|
20867
22519
|
* `{json}`, plus `listResults` (one JSON string per clip) for a clip set.
|
|
20868
22520
|
*/
|
|
20869
22521
|
declare function editPlanSavedOutput(data: Readonly<Record<string, unknown>>): EditPlanSavedOutput | undefined;
|
|
22522
|
+
/**
|
|
22523
|
+
* What a result writer writes when a plan lands on an Edit Plan node: the plan
|
|
22524
|
+
* itself, and `editedEdl: undefined` ONLY when the plan is not the one the
|
|
22525
|
+
* person's review was made on (its `editPlanBasis` differs from
|
|
22526
|
+
* `editedEdl.basis`; an edit that names no plan counts as different). The same
|
|
22527
|
+
* plan landing again, for example a reopen while the run is still live after
|
|
22528
|
+
* the plan finished, keeps the review (decided 2026-10-05). On a keep the patch
|
|
22529
|
+
* does not name `editedEdl` at all, so a merging write leaves the review as it
|
|
22530
|
+
* is. Pass the review the node holds now.
|
|
22531
|
+
*
|
|
22532
|
+
* The one place a review is cleared: `frontend/src/lib/__tests__/
|
|
22533
|
+
* edit-plan-saved-output-sites.test.ts` fails on a clearing write anywhere else.
|
|
22534
|
+
*/
|
|
22535
|
+
declare function editPlanResultPatch(plan: unknown, editedEdl: unknown): {
|
|
22536
|
+
readonly generatedJson: unknown;
|
|
22537
|
+
readonly editedEdl?: undefined;
|
|
22538
|
+
};
|
|
20870
22539
|
/**
|
|
20871
22540
|
* Check a review edit before it is saved. The envelope (version, kind), the
|
|
20872
22541
|
* basis, then the plan's shape and one decision per clip, and, for a Tighten edit,
|
|
@@ -20891,4 +22560,191 @@ declare function validateEditedEdl(editedEdl: unknown, plan: unknown): EdlValida
|
|
|
20891
22560
|
declare const VIDEO_DURATION_AUTO = -1;
|
|
20892
22561
|
declare function isAutoVideoDuration(duration: unknown): boolean;
|
|
20893
22562
|
|
|
20894
|
-
export { ACCESS_LEVELS, ACTION_CARD_KINDS, ACTIVE_SCENE_HELPERS, ADVANCED_MODE_UNAVAILABLE_REASON, ADVICE_FAMILIES, AGGREGATEABLE_TYPES, AGGREGATE_LANE_SOURCE_TYPES, AI_AVATAR_DURATION_BUCKETS, AI_AVATAR_MAX_AUDIO_SEC, AI_AVATAR_MAX_DURATION_SEC, AI_AVATAR_RESERVE_IDS, AI_WRITER_PROVIDERS, ALA_CARTE_BOARDS, ALL_CAPTION_STYLES, ANIMALS, ANIMAL_SUBCATEGORY_LABELS, ANIMAL_SUBCATEGORY_ORDER, ANIMATE_SUB_GATES, ASPECT_RATIO_DIMENSIONS, AUDIO_ADDON_PROVIDERS, AUDIO_CROSSFADE_CURVES, AUDIO_CROSSFADE_CURVE_IDS, AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, AUDIO_PRODUCER_TYPES, AUDIO_SYNC_MIN_CONFIDENCE, type AccessLevel, type ActionCard, type ActionCardKind, type ActionCardPriority, type AdCreativeAnalysis, type AddBRollResult, AddBRollResultSchema, type AdviceFamily, type AdviceRecord, type AggregateableType, type AggregationBuckets, type AiAvatarDurationBucket, type AiAvatarEngine, type AiAvatarResolution, type AiWriterProvider, type AlaCarteBoard, type AnalyzedScene, type AnchorSceneStyleResult, AnchorSceneStyleResultSchema, type Animal, type AnimalSubcategory, type AnimateSubGate, AnimateSubGateSchema, type AssetRef, AssetRefSchema, type AudioCrossfadeCurve, type AudioFxPreset, type AudioLayer, type AudioSyncOffsetIssue, type AudioSyncOffsetSource, type AudioSyncOffsetsResult, type AuditImagesResult, AuditImagesResultSchema, type AuditImagesShotEntry, AuditImagesShotEntrySchema, AuditPromptIssueSchema, type AuditPromptResult, AuditPromptResultSchema, AvatarPayloadError, BOARD_TO_ASSET_TYPE, BOARD_TO_COLUMN, BOARD_VARIANTS, BRAND_LESSON_KINDS, type BoardEntityKind, type BoardPromptContext, type BoardTemplate, type BrandLesson, type BrandLessonKind, type BrandLessons, type BrandPlatformLessons, BridgeToNextSceneInputSchema, type BridgeToNextSceneResult, BridgeToNextSceneResultSchema, type BrowseCommunityParams, type BrowseCommunityResult, CAMERA_SWITCH_BOUNDS, CAMERA_SWITCH_CREDIT_ID, CAMERA_SWITCH_DEFAULTS, CAMERA_SWITCH_NAME_MAX, CAPTION_LEVER_BOUNDS, CAPTION_LOOKS, CAPTION_LOOK_IDS, CAPTION_MAX_WORDS_PER_LINE_MAX, CAPTION_MAX_WORDS_PER_LINE_MIN, CARD_OUTCOME_STATES, CATEGORY_DURATION_DEFAULTS, CHARACTER_ASPECT_DEFAULTS, CHARACTER_ASPECT_OPTIONS, CHARACTER_ASSET_TYPES, CHARACTER_ASSET_VARIANTS, CHARACTER_ATTACH_COLUMNS, CHARACTER_FACETS, CHARACTER_FACET_IDS, CHARACTER_LORA_TRAINING_JOB_TYPE, CHARACTER_MOTION_PROVIDERS, CHARACTER_PICKER_DISPLAY_ORDER, CHARACTER_REFERENCE_PHOTO_KINDS, CHARACTER_STYLES, CHARACTER_VARIANT_ASSET_BUCKETS, CHAT_ENABLED_STAGES, CHAT_STAGES, CHAT_TURN_CAPS, CHAT_WIRED_STAGES, CINEMATIC_DEFAULT_DURATION_SEC, CINEMATIC_DEFAULT_RESOLUTION, CINEMATIC_MAX_DURATION_SEC, CINEMATIC_MAX_LOOKS, CINEMATIC_MAX_REFERENCE_IMAGES, CINEMATIC_MAX_REFERENCE_VIDEOS, CINEMATIC_MIN_DURATION_SEC, CINEMATIC_MIN_LOOKS, CINEMATIC_PROMPT_MAX, CINEMATIC_RESERVE_IDS, COLLABORATOR_ROLES, COLLECT_IN_HANDLE, COMBINE_TRANSITIONS, COMBINE_TRANSITION_GROUP_LABELS, COMBINE_TRANSITION_GROUP_ORDER, COMBINE_TRANSITION_IDS, COMPETITORS_MAX, COMPETITOR_ABOUT_PLATFORMS, COMPETITOR_ACCOUNT_KEYS, COMPETITOR_DEFAULT_ABOUT_PLATFORMS, COMPETITOR_SCAN_CREDIT_COSTS, COMPETITOR_SCAN_MAX_SEARCHES, COMPETITOR_SCAN_NODE_TYPE, COMPETITOR_SCHEDULES, COMPOSER_PLAN_FIELDS, COMPOSER_PLAN_MAP, CONTENT_IDEAS_BRAND_MAX, CONTENT_IDEAS_DEFAULT_COUNT, CONTENT_IDEAS_LANGUAGE_MAX, CONTENT_IDEAS_MAX_COUNT, CONTENT_IDEAS_MAX_RECIPE_INPUTS, CONTENT_IDEAS_PER_CHARGE, CONTENT_RECIPE_IDEAS_CREDIT_IDS, CONTENT_RECIPE_SOURCE_MAX, CONTENT_TYPES_BY_PLATFORM, CREATURE_ATTACH_COLUMNS, CREDIT_BASE_USD, CREDIT_ROUNDING_RESOLUTION, type CameraSwitchNodeSettings, type CameraSwitchNumericSetting, type CaptionLookId, type CaptionLookLevers, type CaptionPlan, type CaptionStyle, type CaptionWordTiming, type CardAction, type CardActionResult, type CardOutcome, type CardOutcomeState, type CardSnapshot, type CardVerdict, type CastCoverageCriticVerdict, CastCoverageCriticVerdictSchema, type ChapterSet, type CharacterAspectRatio, type CharacterAssetType, type CharacterAssetTypeForAspect, type CharacterAttachColumn, type CharacterDef, type CharacterFacet, type CharacterImageCriticVerdict, CharacterImageCriticVerdictSchema, type CharacterLoraFields, type CharacterMentionTokenInfo, CharacterMetadataSchema, type CharacterMotionMetadata, type CharacterMotionProvider, type CharacterReferencePhoto, type CharacterReferencePhotoKind, type CharacterVariantAssetBucket, type CharacterVariantAssetItem, type CharacterVoiceSpec, type ChatEnabledStage, type ChatTurnResponse, ChatTurnResponseSchema, type CinematicResolution, type ClipLook, type CloneListingResult, type CollaboratorRole, type CombineTransition, type CombineTransitionGroup, type CombineVideosEstimatorInput, type CommunityCard, type CommunityEntityType, type CommunityFullDetail, type CommunityReportReason, type CommunitySort, type CompetitorAboutPlatform, type CompetitorAccountKey, type CompetitorAccounts, type CompetitorActionsResult, type CompetitorBrandTally, type CompetitorCardsResult, type CompetitorDetail, type CompetitorDiscovery, type CompetitorLessonsResult, type CompetitorPlatformTally, type CompetitorPost, type CompetitorScan, type CompetitorScanCounts, type CompetitorScanSummary, type CompetitorSchedule, type CompetitorSearch, type CompetitorSearchKind, type ComponentHandle, type ComponentMetadata, type ConnectedReference, type CreateCompetitorInput, type CreatureAttachColumn, CriticIssueSchema, type CustomEntry, DEFAULT_AUDIO_CROSSFADE_CURVE_ID, DEFAULT_CAPTION_LOOK, DEFAULT_CARRIED_FRACTION, DEFAULT_CHARACTER_ANGLE_COUNT, DEFAULT_CHARACTER_EXPRESSION_COUNT, DEFAULT_CHARACTER_FACET, DEFAULT_FRAME_DELIVERY, DEFAULT_FRAME_FIT, DEFAULT_LABEL_BY_SOURCE, DEFAULT_LOCATION_USAGE_MODE, DEFAULT_MUSIC_PROVIDER, DEFAULT_OVERLAY_QR, DEFAULT_OVERLAY_SHAPE, DEFAULT_OVERLAY_TEXT, DEFAULT_PANEL_COUNT, DEFAULT_REF_IMAGE_MAX, DEFAULT_SECTIONS, DEFAULT_SUBTITLE_LOOK, DEFAULT_SUNO_MODEL, DEFAULT_TEMPLATE_CATEGORY, DEFAULT_TEXT_TO_AUDIO_PROVIDER, DEFAULT_TRANSCRIBE_NODE_PROVIDER, DEFAULT_TRANSCRIBE_PROVIDER, DEFAULT_USAGE_MODE, DEFAULT_VIDEO_ANALYSIS_MODEL, DEFAULT_VIDEO_ANALYSIS_TIER, DEFAULT_VIDEO_CLIP_COST, DEFAULT_VIDEO_DURATION_SEC, DEFAULT_VIDEO_OVERLAY_LAYER, DEFAULT_VIDEO_PROVIDER, DEFAULT_VOICE_CHANGER_MODEL, DEFAULT_VOICE_DESIGN_MODEL, DETAIL_VARIANTS, DURATION_PRICED_PROVIDERS, DYNAMIC_PRODUCER_TYPES, type DescribedReference, type DetectionResult, DetectionResultSchema, type DialogueLine, EDITED_EDL_VERSION, EDIT_PLAN_BASE_CREDIT_ID, EDIT_PLAN_BUCKET_MINUTES, EDIT_PLAN_DEFAULT_CLIP_COUNT, EDIT_PLAN_MAX_CLIP_COUNT, EDIT_PLAN_MAX_MINUTES, EDIT_PLAN_MODES, EDIT_PLAN_TIERS, EDL_FULL_FRAME, EDL_SOURCE_ROLES, EDL_TARGET_ASPECTS, EDL_VERSION, EFFORT_TIER_BUMP, EMOTIONAL_BEAT, ENTITY_ASPECT_DEFAULTS, ENTITY_BUCKET_FIELDS, ENTITY_DB_ID_FIELD, ENTITY_IMAGE_HANDLE_TYPES, ENTITY_KIND_SCALAR_FIELDS, ENTITY_NAME_FIELD, ENTITY_NODE_KINDS, ENTITY_SCALAR_FIELDS, ENTITY_SECTIONS, ENTITY_STATUSES, ENTITY_TABLE, ENTITY_TOOL_RETRY_CAP, ENTITY_TYPES, EXECUTION_DATA_KEYS, EXECUTION_GRAPH_COMPOSED_PARAMETER_TYPES, EXTEND_VIDEO_PROVIDERS, type EditPlanEditStatus, type EditPlanMode, type EditPlanSavedOutput, type EditPlanSourceIssue, type EditPlanTier, type EditedClipDecision, type EditedClipSet, type EditedEdl, type EditedEdlCut, type Edl, type EdlClipSet, type EdlDropped, type EdlLayout, type EdlRegion, type EdlResolvedSlot, type EdlSegment, type EdlSource, type EdlSourceRole, type EdlTargetAspect, type EdlValidation, type EntityKind, type EntityMentionTokenInfo, type EntityMetadata, EntityMetadataSchema, type EntityNodeKind, type EntityReferenceInput, type EntityRejectInput, EntityRejectInputSchema, type EntitySlot, type EntitySlotOwner, type EntityStaleEvent, EntityStaleEventSchema, type EntityStateChangeEvent, EntityStateChangeEventSchema, type EntityStatus, type EntityStudioKind, type EntityStyle, type EntityType, type EvaluateConditionOptions, type ExpandedVideoOverlayRequest, type ExportedPreset, type ExposableField, type ExposableOutput, type ExposedSetting, type ExtendVideoProvider, type ExtraRefCharacterContext, type ExtraRefInput, FACE_SWAP_PROVIDERS, FAL_LIP_SYNC_PROVIDERS, FAN_IN_TARGETS, FAN_OUT_EACH_HANDLES, FAN_OUT_EACH_TYPES, FEATURED_ENTITIES, FILM_BASE_CREDITS, FLEXIBLE_INPUT_LIP_SYNC_PROVIDERS, FLUX2_RES_MP, FLUX_LORA_CHARACTER_MODEL_ID, FRAME_DELIVERIES, FRAME_DELIVERY_BY_PROVIDER, FRAME_FITS, FRAME_FIT_STRETCH_TOLERANCE, FRAME_MODE_ADAPTIVE_ONLY_ASPECT, FRAME_TARGET_HANDLES, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_READY, FREECUT_REQUEST_IMPORT, FURNITURE, FURNITURE_SUBCATEGORY_LABELS, FURNITURE_SUBCATEGORY_ORDER, type FaceSwapProvider, type FanOutCandidate, type FanOutPlan, type FavoriteListingResult, type FeaturedEntity, type FeaturedInstagramOutputs, type FeaturedMetaAdOutputs, type FeedEdge, type FeedMaps, type FeedNode, type FieldEdgeSource, type FilmCreditEstimate, type FilterListCondition, type FilterListOperator, type FilterOperator, type FixContinuityInput, FixContinuityInputSchema, type FixContinuityResult, FixContinuityResultSchema, type Flux2Model, type FrameDelivery, type FrameFit, type FrameFitPlan, type FreecutExportCompletePayload, type FreecutExportProgressPayload, type FreecutImportFile, type FreecutRequestImportPayload, type FullSelectorMode, type Furniture, type FurnitureSubcategory, GEMINI_OMNI_PROVIDERS, GENERATE_TEXT_DELIMITER, GLOBAL_MAX_DURATION_SECONDS, GRANTED_ACCESS, GROUP_HANDLE_PREFIX, GUIDANCE_SCALE_SUPPORT, GVP_ANCHOR_CHOICES, GVP_DEFAULT_PROVIDER, GVP_END_FRAME_PROVIDERS, GVP_EXTEND_PROVIDERS, GVP_SUPPORTED_PROVIDERS, GenerateMotionInputSchema, type GenerateMotionResult, GenerateMotionResultSchema, type GenericEdge, type GenericNode, type GrantedAccess, type GvpAnchorChoice, type GvpAnchorWireMode, HANDLE_PORT_SEPARATOR, HELPERS_SHIPPED_IN_1B3, HIGH_QUALITY_PROVIDERS, HINT_EXEMPT_PARAMETER_TYPES, type HintEdgeLike, type HintGraphContext, type HintNodeLike, type I18nCatalogId, I2I_MASK_SUPPORT, I2I_STRENGTH_SUPPORT, IDEOGRAM_PROVIDERS, IMAGE_ASPECT_RATIO_VALUES, IMAGE_CRITIC_LEAF_MODES, IMAGE_CRITIC_MAX_RETRIES, IMAGE_CRITIC_METADATA_KEYS, IMAGE_CRITIC_MIN_ADHERENCE_SCORE, IMAGE_CRITIC_MODES, IMAGE_CRITIC_UNRESOLVABLE, IMAGE_EDIT_PROVIDERS, IMAGE_GEN_PROVIDERS, IMAGE_I2I_PROVIDERS, IMAGE_MASK_MODE, IMAGE_OVERLAY_BASE_CREDITS, IMAGE_OVERLAY_VARIANT_CREDITS, IMAGE_PROMPT_MAX, IMAGE_REF_TYPES, IMAGE_TO_VIDEO_PROVIDERS, INPUT_FIELD_MAP, INPUT_NODE_TYPES, INSTAGRAM_ANALYSIS_CREDIT_ID, INSTAGRAM_CAROUSEL_MAX_ITEMS, INSTAGRAM_CAROUSEL_MIN_ITEMS, INSTAGRAM_HOSTS, INSTAGRAM_SCRAPE_CREDIT_COSTS, INSTAGRAM_SCRAPE_DEFAULT_COUNT, INSTAGRAM_SCRAPE_FALLBACK_CREDIT_ID, INSTAGRAM_SCRAPE_MAX_COUNT, INSTAGRAM_SCRAPE_MAX_SOURCES, INSTAGRAM_SCRAPE_MAX_TARGET_LENGTH, INSTAGRAM_SCRAPE_MODES, INSTAGRAM_SCRAPE_NODE_TYPE, INSTAGRAM_SCRAPE_PERIODS, INSTAGRAM_SCRAPE_TIERS, ITER_CLONE_PATTERN, type IdentityFidelity, type IdentityMeta, type ImageAspectRatio, type ImageCriticIssue, ImageCriticIssueSchema, type ImageCriticLeafMode, type ImageCriticMetadataKey, type ImageCriticMode, type ImageCriticNodeIssue, type ImageCriticResult, ImageCriticResultSchema, type ImageCriticVerdict, ImageCriticVerdictSchema, type ImageEditProvider, type ImageGenProvider, type ImageI2IProvider, type ImageMaskMode, type ImageMentionTokenInfo, type ImageToVideoProvider, type ImprovePromptInput, ImprovePromptInputSchema, type ImprovePromptResult, ImprovePromptResultSchema, type InputFieldSchema, type InstagramFormat, type InstagramNodeQuoteFields, type InstagramScrapeMode, type InstagramScrapePeriod, type InstagramScrapeTier, type InvitationDelivery, type InvitationPreview, type InvitationState, type InvitationView, type JoinCodeView, type JsonEvalResult, type JsonFilter, type JsonPatch, KEYFRAME_CREDITS_PER_SHOT, KINETIC_CAPTION_STYLES, KINETIC_ONLY_CAPTION_LEVER_KEYS, type KieApiFormat, type KineticCaptionStyle, type KineticOnlyCaptionLeverKey, LANGUAGES, LEGACY_EXPOSED_FIELD_KEYS, LEGACY_LOTTIE_HOST_REMAP, LEGACY_TEMPLATE_CATEGORIES, LIP_SYNC_DURATION_BUCKETS, LIP_SYNC_MAX_AUDIO_SECONDS, LIP_SYNC_PROVIDERS, LLM_FEATURE_DEFAULTS, LLM_MODALITY_CAPS, LLM_MODELS, LLM_MODEL_IDS, LLM_REASONING_EFFORTS, LLM_ROUTE_DEFAULTS, LLM_TEXT_INPUT_MAX, LLM_VENDOR_LABELS, LLM_VENDOR_ORDER, LOCATION_ASSET_TYPES, LOCATION_ASSET_VARIANTS, LOCATION_ATMOSPHERE_PROVIDERS, LOCATION_ATTACH_COLUMNS, LOCATION_BUCKET_TO_CATALOG_ID, LOCATION_PRESET_TO_CATALOG, LOCATION_REFERENCE_PHOTO_KINDS, LOCATION_REFERENCE_PHOTO_KIND_LABELS, LOCATION_USAGE_MODES, LOTTIE_OVERLAY_CATALOG, LOTTIE_SLOT_FIELD_PREFIX, LTX_EXTEND_DURATION, LTX_EXTEND_PER_SECOND_CREDIT_ID, LTX_RETAKE_MIN_DURATION_SEC, LTX_RETAKE_PER_SECOND_CREDIT_ID, type LabeledOption, type LipSyncDurationBucket, type LipSyncProvider, type ListFanOut, type ListSavedPostsParams, type ListSavedPostsResult, type LlmFeature, type LlmModelDef, type LlmModelGroup, type LlmReasoningEffort, type LlmRouteDefaults, type LlmTier, type LlmVendor, type LocalTime, type LocaleCatalogMap, type LocaleDirection, type LocaleId, type LocationAssetType, type LocationAtmosphereProvider, type LocationAttachColumn, type LocationCatalogRef, type LocationImageCriticVerdict, LocationImageCriticVerdictSchema, type LocationMentionTokenInfo, LocationMetadataSchema, type LocationReferencePhotoKind, type LocationUsageMode, LocationsCoverageCriticIssueSchema, type LocationsCoverageCriticVerdict, LocationsCoverageCriticVerdictSchema, type LoopTrimEstimatorInput, type LoopVideoEstimatorInput, type LoraEligibleRef, type LoraRouting, type LottieOverlayCatalogEntry, type LottieSlotField, MATCH_CUT_BREAK_GATE, MAX_CUSTOM_ENTRIES_PER_BOARD, MAX_IMAGE_PROMPT_CHARS_BY_PROVIDER, MAX_LOCATION_VARIANTS, MAX_NEGATIVE_PROMPT_CHARS_BY_PROVIDER, MAX_PANELS_PER_SHEET, MAX_TTS_CHARS_BY_PROVIDER, MAX_VIDEO_PROMPT_CHARS_BY_PROVIDER, MEMBER_STATUSES, META_ADS_ADVERTISER_MAX_RESULTS, META_ADS_ANALYSIS_CREDITS_PER_AD, META_ADS_ANALYSIS_CREDIT_ID, META_ADS_ANALYSIS_FOCUS_MAX, META_ADS_ANALYSIS_TIERS, META_ADS_FORMATS, META_ADS_NODE_MODES, META_ADS_PLATFORMS, META_ADS_SCRAPE_COUNT_OPTIONS, META_ADS_SCRAPE_CREDIT_COSTS, META_ADS_SCRAPE_DEFAULT_COUNT, META_ADS_SCRAPE_DEFAULT_COUNTRY, META_ADS_SCRAPE_FALLBACK_CREDIT_ID, META_ADS_SCRAPE_MAX_COUNT, META_ADS_SCRAPE_MAX_QUERY_LENGTH, META_ADS_SCRAPE_MAX_SOURCES, META_ADS_SCRAPE_MODES, META_ADS_SCRAPE_NODE_TYPE, META_ADS_SCRAPE_PERIODS, META_ADS_SCRAPE_STATUSES, META_ADS_SCRAPE_TIERS, MINIMAX_H3_DEFAULT_RESOLUTION, MINIMAX_H3_PROVIDERS, MODELS_WITH_REFERENCE_IMAGE_SUPPORT, MODEL_CATALOG, MODEL_KINDS, MODEL_PARAM_NODE_TYPES, MODEL_RECOMMENDATIONS, MODIFY_IMAGE_PROVIDERS, MOTION_COLUMN, MOTION_TRANSFER_PROVIDERS, MUSIC_CREDIT_ID, MUSIC_PROVIDERS, MUSIC_PROVIDER_LABELS, type MarkCardInput, type MaskRegionDescriptor, type MatchCutVerdict, MatchCutVerdictSchema, type MeOrganizations, type Member, type MemberStatus, type MetaAdsAdvertiser, type MetaAdsAnalysisTier, type MetaAdsCreativeFormat, type MetaAdsFormat, type MetaAdsNodeMode, type MetaAdsNodeQuoteFields, type MetaAdsNodeSourceFields, type MetaAdsPlatform, type MetaAdsScrapeMode, type MetaAdsScrapePeriod, type MetaAdsScrapeStatus, type MetaAdsScrapeTier, type MetaAdsWireSources, type MinimalEdge, type MinimalNode, type ModelCatalogEntry, type ModelInputAdjustment, type ModelKind, type ModelMenuOption, type ModelMode, type ModelNodeTarget, type ModelPromptingStyle, type ModelRecommendation, type ModelTreeLine, type ModelTreeVariant, type ModelValidationIssue, type ModifyImageProvider, type MotionTransferProviderType, type MusicProvider, NATIVE_ADAPTIVE_ASPECT, NATIVE_NEGATIVE_PROMPT_MODELS, NATIVE_NEGATIVE_VIDEO_PROVIDERS, NEGATIVE_PROMPT_MAX, NODARO_IMPORT_FILES, NODARO_LOAD_TIMELINE, NODARO_LOAD_VIDEO, NODARO_RESET_PROJECT, NODE_DEFAULT_TYPES, NODE_MAPPABLE_FIELDS, NODE_PRESET_EXPORT_KIND, NODE_REF_PATTERN, NON_EN_LOCALE_IDS, NON_PROMPT_TEXT_LANES, NO_SPLIT_DELIMITER, type NodaroLoadTimelinePayload, type NodaroLoadVideoPayload, type NodeDefaultType, type NodeExecutionStateWire, type NodeExecutionStatus, type NodeParamAdjustment, type NodePresetExport, type NormalizedImageGen, type NormalizedModelInput, type NormalizedNodes, type NormalizedVideoRequest, OAUTH_SCOPES, type OAuthScope, OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OBJECT_ASSET_TYPES, OBJECT_ASSET_VARIANTS, OBJECT_ATTACH_COLUMNS, OBJECT_MOTION_PROVIDERS, OBJECT_PICKER_NODE_TYPES, ORG_ERROR_CODES, ORG_KINDS, ORG_ROLES, ORG_STATUSES, OUTPUT_BEARING_NODE_STATUSES, OUTPUT_FIELD_MAP, OUTPUT_FORMATS, OVERLAY_ANCHORS, OVERLAY_FONTS, OVERLAY_FONT_IDS, OVERLAY_IMAGE_MASKS, OVERLAY_LAYER_KINDS, OVERLAY_MAX_VARIANTS, OVERLAY_PLATFORMS, OVERLAY_PLATFORM_IDS, OVERLAY_SHAPES, OVERLAY_TEXT_ALIGNS, OVERLAY_VARIANT_HANDLE_PREFIX, OWN_LIST_NODE_TYPES, type ObjectAspectRatio, type ObjectAssetType, type ObjectAssetTypeForAspect, type ObjectAttachColumn, ObjectMetadataSchema, type ObjectMotionProvider, type ObjectsValidationIssue, type ObjectsValidationResult, OptimizeForModelInputSchema, type OptimizeForModelResult, OptimizeForModelResultSchema, type OrgAuditEntry, type OrgErrorCode, type OrgKind, type OrgMemberView, type OrgPage, type OrgRole, type OrgSettings, OrgSettingsSchema, type OrgStatus, type OrganizationSummary, type OrganizationView, type OutputFormat, type OutputMode, type OutputType, type OverlayAnchor, type OverlayFontId, type OverlayImageEffects, type OverlayImageMask, type OverlayLayerKind, type OverlayPlatformId, type OverlayPlatformPreset, type OverlayPlatformZone, type OverlayQrStyle, type OverlayShape, type OverlayShapeElement, type OverlayShapeStyle, type OverlayTextAlign, type OverlayTextStyle, PARAMETER_NODE_TYPES, PASSTHROUGH_TYPES, PAYG_RETENTION_DAYS, PER_FORMAT_DURATION_BOUNDS, PICKER_TO_COMBINE_TRANSITION, PIPELINE_ACTIVATION_MODES, PIPELINE_FORMATS, PIPELINE_HARD_TIMEOUT_MS, PIPELINE_MODEL_STAGES, PIPELINE_MODES, PIPELINE_OUTPUT_RESOLUTIONS, PIPELINE_PINNABLE_IMAGE_MODELS, PIPELINE_PINNABLE_SCRIPT_LLMS, PIPELINE_PINNABLE_VIDEO_MODELS, PIPELINE_STAGE_NAMES, PIPELINE_STAGE_TIMEOUT_MS, PIPELINE_TYPES, PLACEHOLDER_CHARACTER_NAME, PLATFORM_LABELS, PLATFORM_SPECS, PRESET_APPLY_CLEAR_KEYS, PRESET_EXCLUDED_KEYS, PRESET_LABELS, PRESET_LEVER_GROUPS, PRESET_SETTING_KEYS, PRICING_DEFAULT_DURATION_SEC, PRICING_DEFAULT_RESOLUTION, PRO3D_RENDER_ASPECT_RATIOS, PRO3D_RENDER_CREDIT_ID, PRO3D_RENDER_DEFAULT_ENGINE, PRO3D_RENDER_DEFAULT_QUALITY, PRO3D_RENDER_DEFAULT_REPAIR_PASSES, PRO3D_RENDER_DEFAULT_STYLE, PRO3D_RENDER_ENGINES, PRO3D_RENDER_LABEL, PRO3D_RENDER_LIMITS, PRO3D_RENDER_MAX_REPAIR_PASSES, PRO3D_RENDER_MIN_REPAIR_PASSES, PRO3D_RENDER_NODE_TYPE, PRO3D_RENDER_PROMPT_MAX, PRO3D_RENDER_QUALITY_PROFILES, PRO3D_RENDER_SOURCE_KINDS, PRO3D_RENDER_STYLES, PROJECTED_TRIGGER_NODE_TYPES, PROMPT_HARD_CEILING, PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY, PROVIDER_DIRECTIVE_DEFAULTS, PROVIDER_PLACEHOLDER_PREFIX, type PanelGenRequest, type PanelRequest, type PanelSource, type PipelineActivationMode, type PipelineCompletedEvent, PipelineCompletedEventSchema, type PipelineConfig, PipelineConfigSchema, type PipelineDriftSummary, PipelineDriftSummarySchema, type PipelineEditorDecisionsReadyEvent, PipelineEditorDecisionsReadyEventSchema, type PipelineEvent, type PipelineForkedEvent, PipelineForkedEventSchema, type PipelineFormat, type PipelineInput, PipelineInputSchema, type PipelineLifecycleEvent, type PipelineMode, type PipelineModelStage, type PipelineMusicReadyEvent, PipelineMusicReadyEventSchema, type PipelineOutputResolution, type PipelinePinnableImageModel, type PipelinePinnableScriptLlm, type PipelinePinnableVideoModel, type PipelineStageName, PipelineStageNameSchema, type PipelineStageStatus, PipelineStageStatusSchema, type PipelineState, PipelineStateSchema, type PipelineStatus, PipelineStatusSchema, type PipelineType, type PixelBox, type PreflightGraphEdge, type PreflightGraphNode, type PresentationItem, type PresetEntry, type PresetSettingKey, type PresetSettings, PresetSettingsSchema, type PriceVariant, type PricedVideoSelection, type Pro3DRenderAspectRatio, type Pro3DRenderCapabilities, type Pro3DRenderEngine, type Pro3DRenderJobOutput, type Pro3DRenderLocalExportSource, type Pro3DRenderPromptSource, type Pro3DRenderQuality, type Pro3DRenderQuote, type Pro3DRenderQuoteLine, type Pro3DRenderResultMetadata, type Pro3DRenderSceneSource, type Pro3DRenderShotStill, type Pro3DRenderSource, type Pro3DRenderSourceInput, type Pro3DRenderSourceKind, type Pro3DRenderSourceResult, type Pro3DRenderStyle, type Pro3DRenderValidationWarning, type ProgressSegment, type ProjectedCatalog, type ProjectedCatalogDimension, type ProjectedCatalogOption, type ProjectedCatalogSection, type PromptAffixFields, type PromptAffixes, type ProposedChange, type PublishListingParams, type PublishListingResult, QA_CHECK_PROVIDERS, type QaCheckProvider, type QualityLevel, REASONING_OUTPUT_FLOOR, RECAST_SEGMENT_PACKS, REDUCE_STRATEGIES, REDUCE_STRATEGY_IDS, REFERENCE_BOARD_PROVIDERS, REFERENCE_BOARD_TEMPLATES, REFERENCE_HANDLE_MAP, REFERENCE_ROLE_PRESETS, REF_HANDLE_CATEGORY, REF_IMAGE_MAX_LIMITS, REF_TOKEN_NAMESPACE_PREFIXES, RENDERING_SPEED_SUPPORT, RENDER_VIDEO_CREDIT_ID, REPEATABLE_NODE_TYPES, REPEAT_PLACEHOLDER, REPLICATE_LIP_SYNC_PROVIDERS, RESERVED_TEMPLATE_VARS, type RecastSegmentPack, type ReduceMeta, type ReduceStrategy, type ReduceStrategyId, type RefCandidate, type RefModalityEdge, type RefTokenKind, type RefVideoDurationLimit, type ReferenceBoardProvider, type ReferenceModality, type ReferenceSheet, type ReferenceSource, type ReportListingResult, type ResolveCharacterAspectOptions, type ResolveEdlSlotsOptions, type ResolveObjectAspectOptions, type ResolveSeparatorOptions, type ResolvedDialogueVoiceLine, type ResolvedEditPlanOutput, type RouterConditionGroup, SAVED_POSTS_LOOKUP_MAX, SAVED_POSTS_PAGE_MAX, SAVED_POST_MAX_TAGS, SAVED_POST_NOTE_MAX, SAVED_POST_SOURCES, SAVED_POST_TAG_MAX, SCENE3D_ASSERTION_RESTORED_CODE, SCENE3D_ASSET_KINDS, SCENE3D_ASSET_ROLES, SCENE3D_ASSET_ROLE_KINDS, SCENE3D_AUTHORING_ASSUMPTION_CODE, SCENE3D_AUTHORING_ENGINES, SCENE3D_BASIC_ENGINE, SCENE3D_BASIC_SCHEMA_VERSION, SCENE3D_CAMERA_TRACK_FORMAT, SCENE3D_CAMERA_TRACK_LIMITS, SCENE3D_CAMERA_TRACK_VERSION, SCENE3D_CLAY_LIGHTING_PRESETS, SCENE3D_DEFAULT_ADVANCED_ENGINE, SCENE3D_DEFAULT_DURATION_SECONDS, SCENE3D_DEFAULT_ENTITY_CAPABILITIES, SCENE3D_DEFAULT_FPS, SCENE3D_EDIT_NODE_TYPE, SCENE3D_ENTITY_CAPABILITIES, SCENE3D_ENTITY_ROLES, SCENE3D_GENERATE_NODE_TYPE, SCENE3D_GLB_EXTRAS_ALLOWLIST, SCENE3D_GLB_EXTRAS_ENTITY_ID, SCENE3D_GLB_EXTRAS_MATERIAL_ROLE, SCENE3D_GLB_EXTRAS_SUBPART_ID, SCENE3D_LIMITS, SCENE3D_PLAN_FIELD, SCENE3D_PLAN_TYPE, SCENE3D_PRIMITIVES, SCENE3D_PRIMITIVE_MATERIAL_ROLE, SCENE3D_REMEDY_AUTO_APPLIED_CODE, SCENE3D_RENDERER_ASSET_KINDS, SCENE3D_RENDER_BASE_MAX_PX, SCENE3D_RENDER_TIERS, SCENE3D_RENDER_TIER_MULTIPLIERS, SCENE3D_RENDER_XLARGE_MIN_AREA_PX, SCENE3D_REVIEW_REFUSED_CODE, SCENE3D_REVIEW_UNAVAILABLE_CODE, SCENE3D_REVIEW_UNAVAILABLE_REASONS, SCENE3D_SCHEMA_VERSION, SCENE3D_SCHEMA_VERSION_V2, SCENE3D_SUPPORTED_SCHEMA_VERSIONS, SCENE3D_V2_CONTENT_HASH_EXCLUDED, SCENE3D_V2_ENGINES, SCENE3D_V2_LIMITS, SCENE3D_V2_OVERRIDE_OPERATION_VERSION, SCENE3D_V2_PRIMITIVES, SCENE_HELPER_NAMES, SCHEDULE_EVERY_LIMITS, SCHEDULE_RULE_KINDS, SCHEDULE_TRIGGER_NODE_TYPE, SCRAPER_ACTOR_LABELS, SCRAPER_CREDIT_COSTS, SCRAPER_OUTPUT_FIELDS, SCRIPT_PROVIDERS, SCRIPT_SCENE_COUNT_DEFAULT, SCRIPT_SCENE_COUNT_RANGE, SCRIPT_STYLE_GUIDE_MAX_LENGTH, SCRIPT_TARGET_DURATION_DEFAULT, SCRIPT_TARGET_DURATION_RANGE, SCRIPT_TONE_MAX_LENGTH, SEASONS, SECTION_BOARD, SECTION_KINDS, SEEDANCE_2_5_REF_LIMITS, SEEDANCE_2_CONTINUATION_REF_SEC, SEEDANCE_2_EXTEND_STITCH, SEEDANCE_2_PROVIDERS, SEEDANCE_2_R2V_MAX_AUDIO_SEC_BY_PROVIDER, SEEDANCE_2_R2V_MIN_REF_VIDEO_SEC, SEEDANCE_2_REF_LIMITS, SEEDANCE_LIP_SYNC_PROVIDERS, SEEDANCE_VIDEO_EDIT_PROVIDERS, SEEDANCE_VIDEO_EDIT_SHAPE, SEED_SUPPORT, SEPARATOR_DISPLAY, SEPARATOR_PRESETS, SETTINGS_HINT_SOURCES, SETTINGS_INPUT_CONSUMERS, SETTINGS_INPUT_HANDLE, SETTINGS_SOURCE_FIELDS, SETTINGS_SOURCE_TYPES, SHEET_ASPECTS, SHEET_BACKGROUNDS, SHEET_PRESETS, SHEET_SKINS, SHEET_TYPES, SHORT_FILM_ANGLE_COUNT, SHORT_FILM_EXPRESSION_COUNT, SHORT_FILM_VARIANT_THRESHOLD_SEC, SLOT_TOKEN_RE, SMART_CUT_WINDOW_DEFAULT, SMART_CUT_WINDOW_MAX, SMART_CUT_WINDOW_MIN, SOCIAL_PLATFORMS, SOCIAL_POST_NODE_TYPES, SOCIAL_POST_VIDEO_LINK_MARGIN_MS, SOCIAL_SEARCH_COUNTS, SOCIAL_SEARCH_CREDITS_PER_PAGE, SOCIAL_SEARCH_CREDIT_COSTS, SOCIAL_SEARCH_DEFAULT_PICK_TOP, SOCIAL_SEARCH_MAX_QUERY_LENGTH, SOCIAL_SEARCH_MODES, SOCIAL_SEARCH_NODE_TYPE, SOCIAL_SEARCH_PAGED_MODES, SOCIAL_SEARCH_PERIODS, SOCIAL_SEARCH_PLATFORM_MODES, SOCIAL_SEARCH_SORTS, SOCIAL_SEARCH_VIDEO_KINDS, SOCIAL_VIDEO_HOSTS, SPEAKER_EMPHASIS_STYLES, SPEAKER_LAYOUTS, SPEAKER_LAYOUT_IDS, SPEAKER_SWITCHES, SPEAKER_SWITCH_IDS, STAGE_PATCH_SCHEMA, STATIC_CAPTION_STYLES, STRUCTURAL_SECTIONS, STRUCTURED_VISION_MODELS, STUDIO_DEPENDENT_FRAMES_CAPABILITY, STUDIO_KEYFRAME_ACCEPTANCE_PRIVATE_KEYS, STUDIO_KEYFRAME_NODE_TRANSIENT_KEYS, STUDIO_KEYFRAME_REVIEW_KEYS, STUDIO_KEYFRAME_TRANSIENT_KEYS, STUDIO_PREVIZ_RUN_STATE_KEYS, STUDIO_SEQUENCE_PLANNING_KEYS, STUDIO_SEQUENCE_POLICY_KEYS, STUDIO_SEQUENCE_UNIT_MANIFEST_KEYS, STUDIO_SEQUENCE_UNIT_REVIEW_KEYS, STUDIO_SHOT_DRAFT_KEYS, STUDIO_SHOT_TRANSIENT_KEYS, STUDIO_TAKE_SEQUENCE_KEYS, STUDIO_TAKE_VOICE_KEYS, STUDIO_TRANSIENT_KEYS, SUBMISSION_STATUSES, SUNO_ACTIVE_MODELS, SUNO_ADD_TRACK_MODELS, SUNO_DURATION_MODELS, SUNO_FIELD_HANDLE_FIELDS, SUNO_HARD_CEILING, SUNO_LEGACY_MODELS, SUNO_MODELS, SUNO_SELECT_OPERATIONS, SUNO_TEXT_MAX, SUNO_TITLE_MAX, SUNO_TRACK_SOURCE_TYPES, SUNO_VERSION_CREDIT_KEYS, SUNO_VERSION_PRICED_OPERATIONS, SUPPORTED_FONT_NAMES, SURROUND_DIRECTIONS, SWITCHX_BLOCK_FRAMES, SWITCHX_FRAME_TIERS, type SafetyRetryPolicy, type SavePostInput, type SavedPost, type SavedPostSource, type SavedPostsLookupResult, type Scene3DAnchor, type Scene3DAssetAnimation, type Scene3DAssetKind, type Scene3DAssetRef, type Scene3DAssetRole, type Scene3DAuthoringDelivery, type Scene3DAuthoringDeliveryMetadata, type Scene3DAuthoringEngine, type Scene3DAuthoringValidation, type Scene3DCamera, type Scene3DCameraChanges, type Scene3DCameraKeyframe, type Scene3DCameraSample, type Scene3DCameraTrackV1, type Scene3DClayLighting, type Scene3DClayLightingPreset, type Scene3DDeliveryWarning, type Scene3DEasing, type Scene3DEditErrorCode, type Scene3DEditOperation, type Scene3DEditOptions, type Scene3DEditResult, type Scene3DEngineChoice, type Scene3DEngineChoiceInput, type Scene3DEngineChoiceRefusalCode, type Scene3DEngineRequestFields, type Scene3DEntityCapability, type Scene3DEntityRole, type Scene3DEntityV2, type Scene3DEntityVisual, type Scene3DInputAsset, type Scene3DJobOutput, type Scene3DJobOutputAny, type Scene3DJobOutputV2, type Scene3DKnownEngine, type Scene3DLighting, type Scene3DLightingChanges, type Scene3DMaterialBinding, type Scene3DNormalizedAssetStats, type Scene3DObject, type Scene3DObjectChanges, type Scene3DObjectKeyframe, type Scene3DOverride, type Scene3DOverrideSpace, type Scene3DParseResult, type Scene3DPlan, type Scene3DPlanV1, type Scene3DPlanV2, type Scene3DPrimitive, type Scene3DProvenance, type Scene3DReference, type Scene3DReferenceKind, type Scene3DReferenceRole, type Scene3DRenderTier, type Scene3DRestoredAssertion, type Scene3DReviewFindings, type Scene3DReviewObjection, type Scene3DReviewRefused, type Scene3DReviewUnavailable, type Scene3DReviewUnavailableReason, type Scene3DReviewVerdict, type Scene3DSemanticIssue, type Scene3DShot, type Scene3DSupportedSchemaVersion, type Scene3DV2EditOperation, type Scene3DV2EditOptions, type Scene3DV2EditResult, type Scene3DV2OverrideInput, type Scene3DV2Primitive, type Scene3DV2ResourceUsage, type SceneData, type SceneHelperName, SceneHelperNameSchema, type SceneInputMode, SceneInputModeSchema, type SceneMetadata, SceneMetadataSchema, type SceneNodeData, SceneNodeDataSchema, SceneSpecSchema, type ScheduleRule, type ScheduleRuleKind, type ScheduleSpec, type ScraperActorId, type ScriptCriticVerdict, ScriptCriticVerdictSchema, type ScriptProvider, type ScriptSettings, type Season, type SectionKind, type SeedanceVideoEditProvider, type SelectorConfig, type SelectorFields, type SelectorMode, type SelectorPredicateOp, type SelectorResult, type SemanticAspectRatio, type SeparatorPreset, SequenceExecutionRequiredError, type SettingsField, type SettingsFieldSourceType, type SettingsHintSourceType, type SettingsInputProblem, type SettingsSourceType, type SharedListing, type SharedVoice, type SheetAspect, type SheetBackground, type SheetCostEstimate, type SheetEntry, type SheetFlavour, type SheetGenerationPlan, type SheetPreset, type SheetPresetId, type SheetSection, type SheetSkin, type SheetTextData, type SheetType, type ShotElement, type ShotImageElement, type ShotShapeElement, type ShotSpec, ShotSpecSchema, type ShotTextElement, type ShowrunnerPlan, ShowrunnerPlanSchema, type SidecarLoader, type SlotControlDescriptor, type SlotControlKind, type SlotVariation, type SocialMediaContentType, type SocialMediaPlatform, type SocialMediaSpec, type SocialPlatform, type SocialPost, type SocialPostAuthor, type SocialPostMedia, type SocialPostMetrics, type SocialSearchCount, type SocialSearchMode, type SocialSearchParams, type SocialSearchPeriod, type SocialSearchPostVideo, type SocialSearchSort, type SocialSearchVideoKind, type SortDirection, type SortListOptions, type SortType, type SpeakerEmphasisStyle, type SpeakerLayoutSheet, type SpeakerSwitchSheet, type StageAwaitingSubGateEvent, StageAwaitingSubGateEventSchema, type StaticCaptionStyle, type StoryboardCohesionCriticVerdict, StoryboardCohesionCriticVerdictSchema, type StyleDirectives, StyleDirectivesSchema, type SubGateName, SubGateNameSchema, type SubmissionStatus, type SunoAddTrackModel, type SunoModel, type SupportedFontName, type SurroundDirection, type Swatch, T2I_TO_I2I_VARIANT, TASK_CHAINED_EDIT_PROVIDERS, TELEGRAM_ACCOUNT_SEND_NODE_TYPE, TELEGRAM_ACCOUNT_TRIGGER_MESSAGE_FIELDS, TELEGRAM_ACCOUNT_TRIGGER_MESSAGE_HANDLE, TELEGRAM_ACCOUNT_TRIGGER_NODE_TYPE, TELEGRAM_ACCOUNT_TRIGGER_OUTPUT_HANDLES, TELEGRAM_ACCOUNT_TRIGGER_POST_FIELDS, TELEGRAM_SEND_AS, TELEGRAM_SEND_DESTINATIONS, TELEGRAM_TRIGGER_NODE_TYPE, TEMPLATE_CATEGORIES, TEXT_TO_AUDIO_PRICING, TEXT_TO_AUDIO_PROVIDERS, TEXT_TO_AUDIO_SFX_CREDIT_IDS, TEXT_TO_VIDEO_PROVIDERS, TIER_MAX_PIPELINE_COST_CREDITS, TIER_PIPELINE_PARALLELISM, TILT_CARRIED_FRACTION, TOPAZ_DEFAULT_UPSCALE_FACTOR, TOPAZ_UPSCALE_FACTORS, TRANSCRIBE_LANES, TRANSCRIBE_PROVIDERS, TRANSCRIBE_PROVIDER_CAPABILITIES, TRANSIENT_RUNTIME_KEYS, TTS_FALLBACK_PROVIDER, TTS_PROVIDERS, TTS_PROVIDER_ALIASES, TTS_TEXT_MAX, TWO_K_RESOLUTION_PROVIDERS, type TelegramAccountTriggerPostField, type TelegramSendAs, type TelegramSendDestination, type TemplateCategory, type TextToAudioProvider, type TextToVideoProvider, type TopazUpscaleAdjustment, type TopazUpscaleFactor, type TopazUpscaleResolution, type TrackedCompetitor, type TranscribeLane, type TranscribeProvider, type Transcript, type TransitionType, TransitionTypeSchema, type TrimVideoEstimatorInput, type TtsCapabilities, type TtsProvider, type TtsSettingLever, UPSCALE_IMAGE_PROVIDERS, USAGE_GROUP_BYS, USAGE_MODES, type UpdateCardActionInput, type UpdateCompetitorInput, type UpdateSavedPostInput, type UpscaleImageProvider, type UsageGroupBy, type UsageLogEntry, type UsageMode, type UsageQuery, type UsageReport, type UsageReportRow, type UsageReportTotals, type UsageVarianceRow, VARIABLES_HANDLE_ID, VARIABLE_PRICING_MODELS, VEHICLES, VEHICLE_SUBCATEGORY_LABELS, VEHICLE_SUBCATEGORY_ORDER, VEO_PROVIDERS, VIDEO_ANALYSIS_AUDIO_MODES, VIDEO_ANALYSIS_BUCKET_CREDITS, VIDEO_ANALYSIS_BUCKET_GRACE_SEC, VIDEO_ANALYSIS_CLIP_TRANSITIONS_IN, VIDEO_ANALYSIS_DEFAULT_VARIATION, VIDEO_ANALYSIS_DURATION_BUCKETS, VIDEO_ANALYSIS_DURATION_TOLERANCE_SEC, VIDEO_ANALYSIS_ENTITY_SOURCES, VIDEO_ANALYSIS_FACELESS_ANGLES, VIDEO_ANALYSIS_LEGACY_MODELS, VIDEO_ANALYSIS_LLM_MODELS, VIDEO_ANALYSIS_MAX_DURATION_SEC, VIDEO_ANALYSIS_MAX_SCENE_SEC, VIDEO_ANALYSIS_MAX_VARIATIONS, VIDEO_ANALYSIS_MIXED_TIERS, VIDEO_ANALYSIS_SHOT_ANGLES, VIDEO_ANALYSIS_SPEED_EFFECTS, VIDEO_ANALYSIS_STORY_JUMPS, VIDEO_ANALYSIS_TEXT_KINDS, VIDEO_ANALYSIS_TIERS, VIDEO_ANALYSIS_TIER_LABELS, VIDEO_ANALYSIS_TIER_ORDER, VIDEO_ANALYSIS_TIMES_OF_DAY, VIDEO_ANALYSIS_TRANSITIONS, VIDEO_ANALYSIS_VARIATION_SLUGS, VIDEO_ANALYSIS_VISUAL_EFFECTS, VIDEO_ANALYSIS_WINDOW, VIDEO_AUDIO_CAPABILITY, VIDEO_AUDIT_BUCKET_CREDITS, VIDEO_CLIP_CREDITS, VIDEO_CRITIC_CREDITS_PER_SHOT, VIDEO_CRITIC_FRAME_MODES, VIDEO_CRITIC_MAX_RETRIES, VIDEO_CRITIC_METADATA_KEYS, VIDEO_CRITIC_MIN_ADHERENCE_SCORE, VIDEO_CRITIC_RESERVED_CREDITS_PER_SHOT, VIDEO_DURATION_AUTO, VIDEO_DURATION_TIERS, VIDEO_GEN_COLLAPSED_T2V_IDS, VIDEO_GEN_PROVIDERS, VIDEO_INPUT_LIP_SYNC_PROVIDERS, VIDEO_LINK_TOLERANT_CONSUMER_TYPES, VIDEO_MODEL_CAPS, VIDEO_MODE_ALIASES, VIDEO_ONLY_PARAMETER_NODE_TYPES, VIDEO_OUTPUT_CANVAS, VIDEO_OVERLAY_ANIMATION_MIN_SCALE, VIDEO_OVERLAY_ANIMATION_SEC, VIDEO_OVERLAY_BADGE_INSET, VIDEO_OVERLAY_BADGE_WIDTH, VIDEO_OVERLAY_BOUNDS, VIDEO_OVERLAY_BOX_FIELDS, VIDEO_OVERLAY_CORNERS, VIDEO_OVERLAY_DEFAULT_BACKGROUND, VIDEO_OVERLAY_ERROR_CODES, VIDEO_OVERLAY_FITS, VIDEO_OVERLAY_HANDLE_IDS, VIDEO_OVERLAY_LAYER_PLAN_HANDLE, VIDEO_OVERLAY_MAX_COMPOSITION_KEY_LENGTH, VIDEO_OVERLAY_MAX_LAYERS, VIDEO_OVERLAY_MAX_TIME_SEC, VIDEO_OVERLAY_MAX_TOTAL_LAYER_BYTES, VIDEO_OVERLAY_OUTPUT_ASPECTS, VIDEO_OVERLAY_PRESETS, VIDEO_OVERLAY_PRESET_IDS, VIDEO_OVERLAY_WARNING_CODES, VIDEO_PRODUCER_TYPES, VIDEO_PROMPT_MAX, VIDEO_PROVIDERS_REQUIRING_IMAGE, VIDEO_PROVIDERS_WITHOUT_DISPATCH, VIDEO_REF_LIMITS_BY_PROVIDER, VIDEO_REF_VIDEO_DURATION_LIMITS, VIDEO_SFX_PRICING, VIDEO_TO_VIDEO_NODE_PROVIDERS, VIDEO_TO_VIDEO_PROVIDERS, VIDEO_UPSCALE_PROVIDERS, VIDEO_UTIL_PRICING, VIDEO_VARIABLE_PRICING, VOICE_CHANGER_MODELS, VOICE_CHANGER_MODEL_IDS, VOICE_DESIGN_MODELS, type ValidateMatchCutInput, ValidateMatchCutInputSchema, type ValidateMatchCutResult, ValidateMatchCutResultSchema, type ValidationField, type Vec3, type Vehicle, type VehicleSubcategory, type VideoAnalysisAudioMode, type VideoAnalysisClipTransitionIn, type VideoAnalysisEntitySource, type VideoAnalysisMixedTier, type VideoAnalysisModelTier, type VideoAnalysisResult, type VideoAnalysisShotAngle, type VideoAnalysisSpeedEffect, type VideoAnalysisTextKind, type VideoAnalysisTier, type VideoAnalysisTransition, type VideoAnalysisVisualEffect, type VideoAudioCapability, type VideoAudioMode, type VideoClipCost, type VideoCriticFrameMode, type VideoCriticMetadataKey, type VideoCriticShotFields, type VideoCriticVerdict, VideoCriticVerdictSchema, type VideoGenProvider, type VideoLinkNodeFields, type VideoLinkPlatform, type VideoModeAlias, type VideoModelCapabilities, type VideoOutputCanvas, type VideoOverlayBox, type VideoOverlayCanvas, type VideoOverlayComposition, type VideoOverlayCorner, type VideoOverlayErrorCode, type VideoOverlayFit, type VideoOverlayGeometry, type VideoOverlayIssue, type VideoOverlayLayer, type VideoOverlayLayerInput, type VideoOverlayLayerSpec, type VideoOverlayNodeFields, type VideoOverlayOrderable, type VideoOverlayOutputAspect, type VideoOverlayPresetId, type VideoOverlayRect, type VideoOverlayRequest, type VideoOverlayValidation, type VideoOverlayValidationInput, type VideoOverlayWarning, type VideoOverlayWarningCode, type VideoToVideoNodeProvider, type VideoToVideoProvider, type VideoUpscaleProvider, type Voice, type VoiceChangerModel, type VoiceClone, type VoiceDesignModel, type VoiceLibraryParams, type VoiceLibraryResponse, type VoiceMatch, VoiceMatchSchema, type VoiceType, WAN_3_DEFAULT_RESOLUTION, WAN_3_PROVIDERS, WARDROBE_VARIANTS, WEAPONS, WEAPON_SUBCATEGORY_LABELS, WEAPON_SUBCATEGORY_ORDER, WEBHOOK_TRIGGER_NODE_TYPE, WORKFLOW_VISIBILITIES, WORKSPACE_HEADER, WORKSPACE_HEADER_LOWER, WORKSPACE_ROLES, type Weapon, type WeaponSubcategory, type WindowAnalysis, type WindowScene, type WiredSetting, type WordlessTranscriptFeed, type WorkflowAssetKind, type WorkflowExport, type WorkflowExportCharacter, type WorkflowExportCreature, type WorkflowExportLocation, type WorkflowExportObject, type WorkflowImportReport, type WorkflowImportSkippedAsset, type WorkflowMediaRef, type WorkflowPortability, type WorkflowVisibility, type WorkspaceMemberView, type WorkspaceRole, type WorkspaceSettings, WorkspaceSettingsSchema, type WorkspaceSummary, type WorkspaceView, YOUTUBE_HOSTS, adCreativeAnalysisFrom, adviceFamilyOf, aggregateByType, aiAvatarReserveCreditId, alignedFieldList, analyzedSceneSchema, applyAudioSyncOffsets, applyDefaultVideoSelection, applyEdlCreditId, applyHandleInputOverride, applyRange, applyRangeIndices, applyScene3DEditOperations, applyScene3DV2EditOperations, applySettingsInput, applySlots, applyVideoAudioToggle, applyVideoNegativePrompt, applyVideoOverlayPreset, asEditPlanMode, asEditPlanTier, aspectRatioFromDims, aspectRatioOptionsByKind, aspectRatioToNumber, assembleNarratedVideoCredits, assembleVideoOverlayRequest, assertCanvasExecutionAllowed, autoStrokeWidth, availableReasoningEfforts, bucketSecondsFromAuditCreditId, bucketSecondsFromCreditId, buildBoardPrompt, buildChildrenByParent, buildConditionVariables, buildCreditModelIdentifier, buildEditPlanCreditId, buildExpressionFromVisual, buildFeedMaps, buildInstagramScrapeCreditId, buildLipSyncCreditId, buildLlmCreditIdentifier, buildMetaAdsScrapeCreditId, buildModelMenu, buildModelTree, buildMotionCreditModelIdentifier, buildNodePresetExport, buildPanelPrompt, buildPro3DRenderSource, buildProgressSegments, buildRangeLabel, buildScraperCreditId, buildVideoAnalysisCreditId, buildVideoAuditCreditId, buildVideoCreditModelIdentifier, calculateCombinedProgress, calculateMonetizationMarkup, calculateMonetizedCost, calculateProgress, cameraSwitchCameras, cameraSwitchEdlProblem, cameraSwitchSettingsPayload, canonicalExposedFieldKey, canonicalScene3DPlanV2Json, canonicalTtsProvider, canonicalVarName, canonicalizeOverrideKeys, captionRoutesToRemotion, centreCropToAspect, characterBoardItems, characterBucketDisplayRank, characterMentionSlug, characterMentionableAssetArrays, characterSheetRefItems, characterVariantAssetArrays, checkRefVideoDurations, cinematicCreditId, clampCameraSwitchSetting, clampCinematicDuration, clampContentIdeasCount, clampEditPlanClipCount, clampInstagramFeaturedIndex, clampMetaAdsFeaturedIndex, clampSmartCutWindow, classifyCreativeFormat, classifyRefToken, cleanOrphanedItems, cleanSpeakerNames, clearImageCriticMetadata, clearVideoCriticMetadata, clearWiredVideoOverlayImageUrls, clipLookSchema, collectAncestorRefs, combineSameLabelRefs, compactWithRows, competitorScanCreditId, competitorScanCredits, competitorScanSearches, computeAggregateLanes, computeFrameFitPlan, computeScene3DPlanV2ContentHash, connectedSettingsSources, contentIdeasCreditFeature, contentIdeasCreditId, contentRecipeCreditId, countRefModalityEdges, creditRangesAll, creditsToUsd, decodeProviderItem, defaultCarriedFraction, defaultEdgeOutputMode, defaultResolutionFor, defaultRoleForSource, defaultSpeakerMap, defaultVideoAspectRatio, deriveLinkedFields, deriveLottieSlotFields, deriveSlotRefs, describeAudioSyncOffsetIssue, describeEdgeBehavior, describeMaskRegion, describeNodeAdjustments, describeSlotControl, detectVideoLinkPlatform, dropUnknownBindings, dropUnknownSpeakers, durationsByMode, editPlanBasis, editPlanBucketMinutes, editPlanSavedOutput, editPlanSourceDurationSec, editPlanTranscriptOrigin, edlDurationMs, effectiveContentModel, effectiveReasoningEffort, encodeProviderItem, ensureLocaleCatalogLoaded, entityHydrationColumns, entityMentionSlug, entityMentionSlugForRef, entityScalarFields, entitySlotSchema, entryMatchesQuery, estimateCombineVideosCredits, estimateFilmCredits, estimateLoopTrimAddonCredits, estimateLoopVideoCredits, estimateScriptDurationSec, estimateSheetCost, estimateTrimVideoCredits, evaluateCondition, evaluateConditionGroup, evaluateJsonExpression, evaluateJsonPath, expandExtraRefsToConnectedReferences, expandItemsWithRepeat, expandVideoOverlayLayer, expandVideoOverlayPresets, extractAllGeneratedResults, extractCharacterLoraFields, extractGeneratedJsonAsList, extractPresetData, extractReferencedLabels, extractVideoDurationFromNode, fanOutTextFeedsPrompt, featuredInstagramOutputs, featuredMetaAdOutputs, fieldKeyFromHandle, filterCloneNodes, findCharacterMentionTokens, findEntityMentionTokens, findImageMentionTokens, findLocationMentionTokens, findSeedance2AudioOverLimit, findWordlessTranscriptFeeds, firstSightExtraRole, fitAspectRatioToModel, flattenItems, formatVideoOverlayError, getAnimal, getAnimalLabel, getAnimalPromptHint, getAnimalTerm, getAspectRatioOptions, getAudioCrossfadeCurve, getCharacterFacet, getCombineTransition, getCreditRange, getDurationsForModel, getEffectiveRepeatCount, getFeaturedEntities, getFurniture, getFurnitureLabel, getInputFieldSchema, getInputNodes, getItemSortId, getLipSyncMaxAudioSeconds, getLlmModalityCaps, getLlmModel, getLlmTier, getLocaleDirection, getMaxImagePromptChars, getMaxNegativePromptChars, getMaxSunoPromptChars, getMaxSunoStyleChars, getMaxTtsChars, getMaxVideoPromptChars, getModel, getNodeLabel, getNodeResult, getOutputNodes, getOutputType, getParameterValue, getQualityOptions, getResolutionOptions, getRouteReachableNodeIds, getSpeakerLayout, getSpeakerSwitch, getStrategy, getTargetField, getTtsCapabilities, getValidValues, getVehicle, getVehicleLabel, getVideoAudioCapability, getWeapon, getWeaponLabel, groupByFamily, groupByKindAndFamily, groupHandleId, groupLlmModelsByVendor, hasContiguousSegmentDurations, hasDrawableVideoOverlayBox, hasFeature, hasUrlParserHazard, hexToRgbaArray, hostnameMatchesAllowlist, humanizeSlotSid, imageMentionSlug, imageMentionSlugForRef, imageOverlayBillableVariants, imageOverlayCredits, imageReferenceLimit, inferMusicVideo, instagramAnalysisCreditId, instagramAnalysisTierFrom, instagramPostLink, instagramRequestedCount, instagramScrapeCreditIdFromNode, instagramScrapeMode, instagramScrapeSources, instagramScrapeTier, isAggregateableType, isAutoVideoDuration, isCharacterAspectRatio, isCollectInEdge, isCompetitorAboutPlatform, isCronExpression, isDefaultSelectorConfig, isEdlTargetAspect, isExpandedClone, isFacebookPageUrl, isFanInEdge, isFanInNodeType, isFanOutUrlItem, isFlux2Model, isGeminiOmniProvider, isGvpSupportedProvider, isHandleInputWired, isInstagramScrapeCount, isInstagramScrapeMode, isKineticCaptionStyle, isKnownScene3DEngine, isKnownSpeakerEmphasisStyle, isLegacySunoModel, isLocationUsageMode, isMeasurableCard, isMetaAdsFormat, isMetaAdsPlatform, isMetaAdsScrapeCount, isMetaAdsScrapeMode, isMetaCdnImageUrl, isMinimaxH3Provider, isObjectAspectRatio, isOversizedScene, isPaygRetentionActive, isPerSecondLipSyncProvider, isPro3DRenderJobOutput, isPro3DRenderQuote, isPro3DRenderRenderOnly, isProjectedTriggerNodeType, isRtlText, isScene3DAuthoringEngine, isScene3DCameraTrack, isScene3DHttpUrl, isScene3DPlan, isScene3DPlanV1, isScene3DPlanV2, isScene3DReviewUnavailableReason, isScene3DSchemaVersionSupported, isScraperActor, isSeedance2Provider, isSeedanceVideoEditProvider, isSettingsHintEdge, isSettingsHintSource, isSettingsSourceType, isSocialPost, isSocialSearchPickFrozen, isSocialVideoUrl, isTelegramAccountTriggerNamedHandle, isTemplateCategory, isTiltDirection, isUsageMode, isValidTimezone, isVeoProvider, isVideoAnalysisMixedTier, isVideoAnalysisTier, isVideoOverlayCorner, isVideoOverlayOutputAspect, isVideoOverlayPresetId, isWan3Provider, jsonResultToList, knownEntitySlugsFromRefs, knownImageSlugsFromRefs, legacyScheduleToRules, listBoardTemplates, listModels, listResultsServeHandle, listSlotSids, liveRowColumn, llmRouteDefaults, localMinuteKey, localTimeIn, locationMentionSlug, locationReferencePhotoKindLabel, locationUsageModeLabel, ltxExtendDurationSec, ltxRetakeDurationSec, mapAspectRatio, mapQuality, mapShotIntentToProviderDirectives, matchVariant, matchesCron, matchesCronField, maxSegmentSecFor, maxSegmentsFor, maxVideoDurationSec, measuredCanvasCombinations, mergeClipLook, mergeEdlSourceOffsets, mergeExposedSettings, mergeNodeInputOverrides, metaAdsAdvertisersFrom, metaAdsAnalysisCreditId, metaAdsAnalysisTier, metaAdsAnalysisTierFrom, metaAdsNodeMode, metaAdsScrapeCreditIdFromNode, metaAdsScrapeSources, metaAdsScrapeTier, metaAdsScrapeWireSources, migrateEdgeOutputMode, migrateToItems, minSegmentSecFor, minimalRatioDimensions, modelIdsByKindMode, modelToNodeTarget, modelsForInputMode, modelsWithFeature, motionGraphicsFeature, newScene3DRevisionId, nextScheduleRuns, nodeFeedsAnything, nodeStateMayCarryOutput, normalizeCaptionNumericLevers, normalizeEdl, normalizeLottieLayers, normalizeMinimaxH3Resolution, normalizeModelInput, normalizeNodeModelParams, normalizePinterestUrl, normalizeRoleSlug, normalizeSavedPostTags, normalizeScheduleRule, normalizeScheduleRules, normalizeTemplateCategory, normalizeTranscript, normalizeVideoOverlayNodes, normalizeVideoRequestParams, normalizeWan3Resolution, orderedLlmModels, overlayFontById, overlayImageEffectsSchema, overlayPlatformById, overlayQrStyleSchema, overlayShapeElement, overlayShapeStyleSchema, overlayStrokeSchema, overlayTextStyleSchema, overlayVariantHandle, overlayVariantIdFromHandle, ownsItsList, parseAspectToken, parseAttributedDialogue, parseCharacterMentionToken, parseEntityMentionToken, parseGroupHandle, parseHandleId, parseImageMentionToken, parseListExpression, parseLocationMentionToken, parseNodePresetExport, parseNodeRef, parseScene3DCameraTrackJson, parseScene3DPlanV2Json, parseSpeakerEmphasisStyle, pickAiAvatarBucket, pickIds, pickLipSyncBucket, pickSocialPosts, pickSwitchXFrameTier, pickVideoAnalysisBucket, planFanOut, planSheetGeneration, planSheetPanels, preferredInputModeForModel, presentTypes, presetApplyClearKeys, presetDataMatches, presetEntries, presetLeverClearKeys, previewHorizonMs, pricedOutputDurationSec, pricedVideoSelection, pro3DRenderCoreOutputSchema, pro3DRenderFrameUnit, pro3DRenderJobOutputSchema, pro3DRenderProducedSchemaVersion, pro3DRenderQuoteSchema, pro3DRenderReviewVerdictSchema, pro3DRenderShotStillSchema, pro3DRenderShotStills, pro3DRenderTimingOverrides, qualityOptionsByKind, readPromptAffixes, readScriptSettings, reasoningOutputFloor, refHandleCategory, referenceModalityForHandle, referenceSheetCreditId, registerCatalogSidecars, registerSidecarLoaders, remapMsThroughEdl, remapTranscriptThroughEdl, renderAnalyzedScene, renderVideoCreditId, requiresSequenceExecution, resetCatalogSidecars, resolutionOptionsByKind, resolveAiAvatarCreditId, resolveAudioCrossfadeCurve, resolveCaptionLevers, resolveCaptionLook, resolveCharacterAspectRatio, resolveCinematicCreditId, resolveConditionValue, resolveDefaultRole, resolveDescription, resolveDialogueVoices, resolveEditPlanOutput, resolveEditPlanSources, resolveEdlSegmentSlots, resolveEffectiveSourceType, resolveEffectiveTier, resolveEntityAspect, resolveFieldMappings, resolveFrameDelivery, resolveFrameFitAspect, resolveGvpAnchorWire, resolveImageGenCreditIdentifier, resolveIndex, resolveInstagramScrapeCreditId, resolveLabel, resolveListExpression, resolveListFanOut, resolveLlmCreditId, resolveLocationFields, resolveLocationPresetCatalog, resolveLottieOverlaySrc, resolveMetaAdsScrapeCreditId, resolveMusicProvider, resolveNodeRefs, resolveNormalizedImageGen, resolveObjectAspectRatio, resolveOutputCanvas, resolvePipelineModel, resolveRelativeWindowToken, resolveScene3DAuthoringEngine, resolveScraperCreditId, resolveSelectorRefs, resolveSeparator, resolveSheetSections, resolveSlideshowTransition, resolveSourceThroughConnectedList, resolveStoredTier, resolveSwitchXCreditId, resolveTemplateCategory, resolveTopazUpscale, resolveVideoAnalysisModel, resolveVideoLinkOutput, resolveVideoModeForInputs, resolveVideoOverlayGeometry, resolveVideoProviderForMode, resolveWiredSettings, resolveXfadeName, rewriteSceneBindings, rewriteSlotTokens, rewriteSpeakerSlots, rgbaArrayToHex, roleToPhrase, rotationVec3Schema, ruleMatches, runSelector, safetyRetryPolicy, sanitizeRole, scaleVec3Schema, scene3DAcceptedSchemaVersionsSchema, scene3DAnchorNameSchema, scene3DAnchorSchema, scene3DAnyPlanSchema, scene3DAssetAnimationSchema, scene3DAssetIdSchema, scene3DAssetRefSchema, scene3DCameraChangesSchema, scene3DCameraKeyframeSchema, scene3DCameraSampleSchema, scene3DCameraSchema, scene3DCameraTrackIssues, scene3DCameraTrackObjectSchema, scene3DCameraTrackPlanIssues, scene3DCameraTrackSchema, scene3DClayLightingSchema, scene3DColorSchema, scene3DDeepEqual, scene3DEasingSchema, scene3DEditOperationSchema, scene3DEditOperationsSchema, scene3DEngineIdSchema, scene3DEntityAcceptsOverlay, scene3DEntityCapabilitySchema, scene3DEntityV2Schema, scene3DEntityVisualSchema, scene3DIdSchema, scene3DInputAssetSchema, scene3DInputAssetsForEngine, scene3DInputAssetsSchema, scene3DJsonByteLength, scene3DLightingChangesSchema, scene3DLightingSchema, scene3DMaterialBindingSchema, scene3DMaterialNameSchema, scene3DMaterialRoleSchema, scene3DNodeIdSchema, scene3DNodeNameSchema, scene3DObjectChangesSchema, scene3DObjectKeyframeSchema, scene3DObjectSchema, scene3DOverrideSchema, scene3DPlanIssues, scene3DPlanSchema, scene3DPlanSchemaVersion, scene3DPlanV1Issues, scene3DPlanV1ObjectSchema, scene3DPlanV1Schema, scene3DPlanV2Issues, scene3DPlanV2ObjectSchema, scene3DPlanV2Schema, scene3DPrimitiveSchema, scene3DProjectionIssues, scene3DProvenanceSchema, scene3DReferenceSchema, scene3DRenderTier, scene3DRenderTierCredits, scene3DReviewNote, scene3DReviewVerdictOf, scene3DSampleForFrame, scene3DSha256Schema, scene3DShotForFrame, scene3DShotIndexForFrame, scene3DShotSchema, scene3DUrlSchema, scene3DV2AdmissionIssues, scene3DV2EditOperationSchema, scene3DV2EditOperationsSchema, scene3DV2HierarchyDepth, scene3DV2NormalizationIssues, scene3DV2OverrideInputSchema, scene3DV2ResourceUsage, scene3DVersionTokenSchema, scene3DZodIssues, scheduleMatchesAt, scheduleOccurrences, searchModelVariants, seedance2AudioLimitSec, seedanceVideoEditCreditId, segmentDurationsFor, selectByModulo, selectByNamedKey, selectByPredicate, selectListItems, selectLoraRoutingForMentions, selectRandom, setRegisteredPersonPackFields, settingsInputAccepts, settingsInputFields, settingsProviderModels, settingsSourceForField, settingsSourceForType, settledWithLimit, signedLinkExpiresAt, sizeVec3Schema, slotVariationSchema, snapToModelDuration, socialPostDigestLine, socialPostsDigest, socialPostsFrom, socialPostsLongestVideoSec, socialSearchCount, socialSearchCountry, socialSearchCreditId, socialSearchCreditIdFromNode, socialSearchEffectiveCount, socialSearchMaxCount, socialSearchMode, socialSearchPages, socialSearchPickTop, socialSearchPlatform, socialSearchPostLink, socialSearchPostVideo, socialSearchRegion, socialSearchRequestFromNode, sortCharacterEntriesForDisplay, sortListItems, sourceRefKey, speakerLayoutAllows, speakerPresentationWarnings, speakerSwitchOverlaps, speakerTurns, speedRampCreditId, spliceDelimitedRows, splitByLoopDelimiter, splitGeneratedItems, splitInstagramTargets, splitMetaAdsAdvertiserNames, splitMetaAdsPageUrls, spreadJsonArrayIfSingleton, stringifyPathResults, stripDerivedAnalysisFields, stripExportContent, stripStudioDraftSettings, stripStudioDraftWorkflow, stripStudioTakeVoiceRecords, stripStudioTransientSettings, stripTransientRuntimeData, stripUnownedRefs, summarizeScene3DOperations, sunoCreditType, sunoModelHonoursDuration, supportedDefaultDimensions, supportsAdvancedMode, supportsAutoVideoDuration, supportsEndAnchor, supportsExtendRender, telegramAccountListeningSignature, telegramAccountTriggerOutputs, telegramSendAsOf, telegramSendDestinationOf, templateCategoryStoredValues, textToAudioBilledSeconds, textToAudioCreditId, timezoneOffsetMinutes, toConnectedReference, toConnectedReferences, toCustomVideoOverlayLayer, togglePick, transcribeLaneSupportsWordTimestamps, transcribeProvidersWithWordTimestamps, transcribeWordTimestampsRefusal, transcriptDurationSec, transcriptSpeakerLabels, tryParseJson, ttsHasLever, ttsLanguageCodes, ttsSupportsAudioTags, ttsSupportsSsmlBreaks, uiAspectRatioFill, uiDurationFill, uiResolutionFill, unresolvedRefTokens, unwrapEditPlanOutput, unwrapUnresolvedTokens, usageModeDirective, usageModeIncludesName, usageModeLabel, usdToCredits, validateAiAvatarPayload, validateCinematicAvatarPayload, validateDurationForFormat, validateEditedEdl, validateEdl, validateEdlClipSet, validateModeActivation, validateModelInput, validateNoNestedGroups, validateObjects, validateProviderForNodeType, validateSubWorkflowRoutes, validateVideoOverlayRequest, variantJobId, vec3Schema, verifyScene3DPlanV2ContentHash, videoAnalysisCreditSegment, videoAnalysisNumWindows, videoAnalysisResultSchema, videoAuditCreditsForBucket, videoLinkDownloadedFile, videoLinkNeedsDownload, videoLinkPageUrl, videoModelCanSpeakDialogue, videoModelSupportsAudio, videoNegativeSuffix, videoOverlayCanvas, videoOverlayCompositionKey, videoOverlayLayerLabel, videoOverlayPresetBox, videoOverlayRenderOrder, videoOverlaySlotOfHandle, videoOverlaySlotSources, videoProviderFoldsLoneEndFrame, videoProviderRequiresImage, videoSfxCreditId, windowAnalysisSchema, withWiredSettings, zipMergeLists };
|
|
22563
|
+
/** Legacy SOURCE handle id → canonical id, per node type. */
|
|
22564
|
+
declare const LEGACY_SOURCE_HANDLE_ALIASES: Readonly<Record<string, Readonly<Record<string, string>>>>;
|
|
22565
|
+
/** Legacy TARGET handle id → canonical id, per node type. */
|
|
22566
|
+
declare const LEGACY_TARGET_HANDLE_ALIASES: Readonly<Record<string, Readonly<Record<string, string>>>>;
|
|
22567
|
+
/**
|
|
22568
|
+
* Node types whose handles are created at run time — a column per list field,
|
|
22569
|
+
* a lane per Router route, a slot per overlay layer, a sub-workflow's ports —
|
|
22570
|
+
* so an edge into them cannot be checked against the declared handle list.
|
|
22571
|
+
*/
|
|
22572
|
+
declare const DYNAMIC_HANDLE_NODE_TYPES: ReadonlySet<string>;
|
|
22573
|
+
/** The canonical source handle id for a legacy spelling on this node type, or the spelling itself. */
|
|
22574
|
+
declare function canonicalSourceHandle(nodeType: string | undefined, handle: string): string;
|
|
22575
|
+
/** The canonical target handle id for a legacy spelling on this node type, or the spelling itself. */
|
|
22576
|
+
declare function canonicalTargetHandle(nodeType: string | undefined, handle: string): string;
|
|
22577
|
+
/**
|
|
22578
|
+
* The target handle an edge lands on AFTER the alias table, decided by the
|
|
22579
|
+
* source node's type. `handle` is the id after the table; `sentHandle` the id
|
|
22580
|
+
* as written, for the rule that only reinterprets a legacy `in`. Returns the
|
|
22581
|
+
* handle unchanged when no rule applies — a no-op for every typed wire.
|
|
22582
|
+
*/
|
|
22583
|
+
declare function classifyLegacyTargetHandle(targetType: string | undefined, handle: string | null | undefined, sourceType: string | undefined, sentHandle?: string | null | undefined): string | null | undefined;
|
|
22584
|
+
/**
|
|
22585
|
+
* Source pips a component renders that its NODE_DEFINITIONS entry does not
|
|
22586
|
+
* declare, or declares under another name — the burn-down list of issue
|
|
22587
|
+
* #1877, pinned to the rendered JSX by the frontend guard
|
|
22588
|
+
* (node-output-handles-completeness.test.ts). The server treats these as the
|
|
22589
|
+
* node's real outputs: an edge on one draws; an edge on the declared-only id
|
|
22590
|
+
* does not, so the write-time pass moves it onto the one pip that draws. An
|
|
22591
|
+
* entry leaves this table the day its definition is fixed.
|
|
22592
|
+
*/
|
|
22593
|
+
declare const RENDERED_OUTPUT_HANDLES: Readonly<Record<string, readonly string[]>>;
|
|
22594
|
+
/**
|
|
22595
|
+
* The pip that draws for a source handle a node DECLARES but does not render
|
|
22596
|
+
* (a `RENDERED_OUTPUT_HANDLES` node): `<handle>-out` when that is a rendered
|
|
22597
|
+
* pip (the ffmpeg family), else the node's single rendered pip; null when the
|
|
22598
|
+
* handle is not such a case, or several pips could be meant (never guessed).
|
|
22599
|
+
* `declaredOutputs` is the node's definition list — `NODE_HANDLES[type].outputs`
|
|
22600
|
+
* on the server, `NODE_DEF_MAP.get(type).outputs` in the editor. The editor
|
|
22601
|
+
* applies it when it LOADS a graph, the server when it WRITES one: the same
|
|
22602
|
+
* move, from one place.
|
|
22603
|
+
*/
|
|
22604
|
+
declare function renderedSourceHandle(nodeType: string | undefined, handle: string | null | undefined, declaredOutputs: ReadonlyArray<string> | undefined): string | null;
|
|
22605
|
+
|
|
22606
|
+
/**
|
|
22607
|
+
* Telegram Channel Feed — the post shape the node emits on its `json` handle,
|
|
22608
|
+
* the digest its `text` handle carries, and the ONE cursor rule (where the
|
|
22609
|
+
* feed's position goes after a run). Structural vocabulary and a pure rule;
|
|
22610
|
+
* the fetching lives in the backend (`services/social/telegram-channel.ts`).
|
|
22611
|
+
*
|
|
22612
|
+
* Media links (`cdn*.telesco.pe/...`) carry a `?token=` and expire within days:
|
|
22613
|
+
* a consumer that needs the picture later copies it (an upload node, a
|
|
22614
|
+
* collection), never stores the link alone.
|
|
22615
|
+
*/
|
|
22616
|
+
interface TelegramChannelPostMedia {
|
|
22617
|
+
readonly type: "photo" | "video";
|
|
22618
|
+
/** The file — a photo's, or a video's when the preview page embeds the file ("Watch in Telegram" players have none). */
|
|
22619
|
+
readonly url?: string;
|
|
22620
|
+
/** A video's poster frame. */
|
|
22621
|
+
readonly posterUrl?: string;
|
|
22622
|
+
}
|
|
22623
|
+
interface TelegramChannelPost {
|
|
22624
|
+
/** Sequential per-channel message id. */
|
|
22625
|
+
readonly id: number;
|
|
22626
|
+
/** The channel's bare id (no `@`). */
|
|
22627
|
+
readonly channel: string;
|
|
22628
|
+
/** Canonical link to the post. */
|
|
22629
|
+
readonly postUrl: string;
|
|
22630
|
+
/** Plain text (HTML stripped, entities decoded); a reply's quoted text is not part of it. */
|
|
22631
|
+
readonly text: string;
|
|
22632
|
+
/** ISO timestamp of the post. */
|
|
22633
|
+
readonly date?: string;
|
|
22634
|
+
/** The channel or person the post was forwarded from. */
|
|
22635
|
+
readonly forwardedFrom?: {
|
|
22636
|
+
readonly name: string;
|
|
22637
|
+
readonly url?: string;
|
|
22638
|
+
};
|
|
22639
|
+
/** Every photo and video of the post, in page order (an album is several). */
|
|
22640
|
+
readonly media: readonly TelegramChannelPostMedia[];
|
|
22641
|
+
/** The first picture — the first photo, else the first video's poster — for a consumer that takes one image. */
|
|
22642
|
+
readonly imageUrl?: string;
|
|
22643
|
+
/** The view counter as the page shows it ("1.52M"). */
|
|
22644
|
+
readonly views?: string;
|
|
22645
|
+
}
|
|
22646
|
+
/** The most posts a poll emits per run — two preview pages at most. */
|
|
22647
|
+
declare const TELEGRAM_FEED_LIMIT_MAX = 30;
|
|
22648
|
+
/** The most posts a peek ("re-fetch the last N") can show — one preview page. */
|
|
22649
|
+
declare const TELEGRAM_FEED_PEEK_MAX = 20;
|
|
22650
|
+
/** What one preview page (`t.me/s/<channel>[?after=<id>]`) renders. */
|
|
22651
|
+
declare const TELEGRAM_FEED_PAGE_SIZE = 20;
|
|
22652
|
+
/** The default posts per run. */
|
|
22653
|
+
declare const TELEGRAM_FEED_DEFAULT_LIMIT = 5;
|
|
22654
|
+
declare const TELEGRAM_FEED_DIGEST_SEPARATOR = "\n\n---\n\n";
|
|
22655
|
+
/** The `text` handle: the posts' text, oldest first, joined by a rule. Posts with no text (a bare picture) add nothing. */
|
|
22656
|
+
declare function telegramFeedDigest(posts: ReadonlyArray<Pick<TelegramChannelPost, "text">>): string;
|
|
22657
|
+
/**
|
|
22658
|
+
* The posts held in a saved `generatedJson` / a run's `output.json`, normalized:
|
|
22659
|
+
* anything that is not a post with a numeric id and a text is left out, and a
|
|
22660
|
+
* post saved before a field existed reads with that field at its default.
|
|
22661
|
+
*/
|
|
22662
|
+
declare function telegramPostsFrom(value: unknown): TelegramChannelPost[];
|
|
22663
|
+
interface FeedEmissionPlan<P extends {
|
|
22664
|
+
readonly id: number;
|
|
22665
|
+
}> {
|
|
22666
|
+
/** The posts this run emits, oldest first. */
|
|
22667
|
+
readonly emitted: P[];
|
|
22668
|
+
/** The feed's position after this run (the cursor to store), or undefined when there is nothing to stand on. */
|
|
22669
|
+
readonly latestId: number | undefined;
|
|
22670
|
+
}
|
|
22671
|
+
/**
|
|
22672
|
+
* Where the feed stands after a run — the ONE rule both the route and the
|
|
22673
|
+
* tests read (decided 2026-10-05):
|
|
22674
|
+
*
|
|
22675
|
+
* - no position yet (first run, after Reset): the NEWEST `limit` posts, and
|
|
22676
|
+
* the position jumps to the newest post — the person asked for what is new
|
|
22677
|
+
* from now on; older posts are never revisited;
|
|
22678
|
+
* - a stored position: the OLDEST `limit` posts above it, and the position
|
|
22679
|
+
* becomes the highest post EMITTED — a backlog drains `limit` per run and
|
|
22680
|
+
* nothing is lost (the old rule jumped to the newest post even when `limit`
|
|
22681
|
+
* cut the fetch short, and the posts in between were gone for good).
|
|
22682
|
+
*
|
|
22683
|
+
* `posts` may come in any order and repeat (a pinned post renders twice).
|
|
22684
|
+
*/
|
|
22685
|
+
declare function planFeedEmission<P extends {
|
|
22686
|
+
readonly id: number;
|
|
22687
|
+
}>(posts: ReadonlyArray<P>, since: number | undefined, limit: number,
|
|
22688
|
+
/**
|
|
22689
|
+
* The highest message id the fetched page(s) rendered above `since`, posts
|
|
22690
|
+
* with nothing to read included. When nothing readable lies above the
|
|
22691
|
+
* position but the page went further, the position moves past the unreadable
|
|
22692
|
+
* posts — else the feed reads the same page every tick for ever.
|
|
22693
|
+
*/
|
|
22694
|
+
pageMaxId?: number): FeedEmissionPlan<P>;
|
|
22695
|
+
|
|
22696
|
+
/** The five UGC node types (Cloud only; served by a private plugin). */
|
|
22697
|
+
declare const UGC_NODE_TYPES: ReadonlySet<string>;
|
|
22698
|
+
/**
|
|
22699
|
+
* Per UGC type, the node-data keys that are a RUN's state, never a choice. A
|
|
22700
|
+
* published app's snapshot is readable by every runner, so publishing strips
|
|
22701
|
+
* them (the last plan, the clip tickets, the publisher's kept creator).
|
|
22702
|
+
*/
|
|
22703
|
+
declare const UGC_NODE_RUN_STATE_KEYS: Readonly<Record<string, readonly string[]>>;
|
|
22704
|
+
/**
|
|
22705
|
+
* The ONLY UGC keys a run request's `inputOverrides` may set — an allow-list,
|
|
22706
|
+
* so a run-state field added later is locked without anyone listing it.
|
|
22707
|
+
*
|
|
22708
|
+
* No UGC type may gain a `LEGACY_EXPOSED_FIELD_KEYS` row: the lock reads the
|
|
22709
|
+
* stored key, before that table renames it.
|
|
22710
|
+
*/
|
|
22711
|
+
declare const UGC_OVERRIDABLE_FIELDS: Readonly<Record<string, readonly string[]>>;
|
|
22712
|
+
/** A copy of `nodes` with every UGC node's run state removed (and `keepResult: false`). Other nodes are returned as they are. */
|
|
22713
|
+
declare function stripUgcRunState<T extends {
|
|
22714
|
+
type?: unknown;
|
|
22715
|
+
data?: unknown;
|
|
22716
|
+
}>(nodes: readonly T[]): T[];
|
|
22717
|
+
/** Every override entry that would set a non-overridable key on a UGC node, in node then key order. Pure. */
|
|
22718
|
+
declare function findUgcLockedFields(nodes: ReadonlyArray<{
|
|
22719
|
+
id: string;
|
|
22720
|
+
type?: string;
|
|
22721
|
+
}> | null | undefined, inputOverrides: Record<string, Record<string, unknown>> | null | undefined): Array<{
|
|
22722
|
+
nodeId: string;
|
|
22723
|
+
nodeType: string;
|
|
22724
|
+
field: string;
|
|
22725
|
+
}>;
|
|
22726
|
+
|
|
22727
|
+
/**
|
|
22728
|
+
* A UGC builder call `{ tool, args }` (MCP argument names) → the REST body of
|
|
22729
|
+
* the public route that tool dispatches to. The builder sets every price lever;
|
|
22730
|
+
* this adds none — its one addition is the image of a call that needs the
|
|
22731
|
+
* previous step's image (`imageArg`, or the photo of `image_to_text`). A tool
|
|
22732
|
+
* it does not know → undefined, so an app older than the builder fails plainly
|
|
22733
|
+
* instead of guessing. Kept equal to the MCP verbs by ugc-call-body-parity.test.ts.
|
|
22734
|
+
*/
|
|
22735
|
+
interface UgcToolCall {
|
|
22736
|
+
readonly tool: string;
|
|
22737
|
+
readonly args: Readonly<Record<string, unknown>>;
|
|
22738
|
+
readonly imageArg?: string;
|
|
22739
|
+
}
|
|
22740
|
+
type UgcRouteBody = {
|
|
22741
|
+
readonly path: "/v1/generate-image" | "/v1/image-to-image" | "/v1/image-to-text/describe";
|
|
22742
|
+
readonly body: Record<string, unknown>;
|
|
22743
|
+
};
|
|
22744
|
+
declare function ugcCallToRouteBody(call: UgcToolCall, opts?: {
|
|
22745
|
+
readonly image?: string;
|
|
22746
|
+
}): UgcRouteBody | {
|
|
22747
|
+
readonly error: string;
|
|
22748
|
+
} | undefined;
|
|
22749
|
+
|
|
22750
|
+
export { ACCESS_LEVELS, ACTION_CARD_KINDS, ACTIVE_SCENE_HELPERS, ADVANCED_MODE_UNAVAILABLE_REASON, ADVICE_FAMILIES, AGGREGATEABLE_TYPES, AGGREGATE_LANE_SOURCE_TYPES, AI_AVATAR_DURATION_BUCKETS, AI_AVATAR_MAX_AUDIO_SEC, AI_AVATAR_MAX_DURATION_SEC, AI_AVATAR_RESERVE_IDS, AI_WRITER_PROVIDERS, ALA_CARTE_BOARDS, ALL_CAPTION_STYLES, ANIMALS, ANIMAL_SUBCATEGORY_LABELS, ANIMAL_SUBCATEGORY_ORDER, ANIMATE_SUB_GATES, ASPECT_RATIO_DIMENSIONS, AUDIO_ADDON_PROVIDERS, AUDIO_CROSSFADE_CURVES, AUDIO_CROSSFADE_CURVE_IDS, AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, AUDIO_PRODUCER_TYPES, AUDIO_SYNC_MIN_CONFIDENCE, type AccessLevel, type ActionCard, type ActionCardKind, type ActionCardPriority, type AdCreativeAnalysis, type AddBRollResult, AddBRollResultSchema, type AddCollectionRecordInput, type AddCollectionRecordResult, type AdviceFamily, type AdviceRecord, type AggregateableType, type AggregationBuckets, type AiAvatarDurationBucket, type AiAvatarEngine, type AiAvatarResolution, type AiWriterProvider, type AlaCarteBoard, type AnalyzedScene, type AnchorSceneStyleResult, AnchorSceneStyleResultSchema, type Animal, type AnimalSubcategory, type AnimateSubGate, AnimateSubGateSchema, type AssetRef, AssetRefSchema, type AudioCrossfadeCurve, type AudioFxPreset, type AudioLayer, type AudioSyncOffsetIssue, type AudioSyncOffsetSource, type AudioSyncOffsetsResult, type AuditImagesResult, AuditImagesResultSchema, type AuditImagesShotEntry, AuditImagesShotEntrySchema, AuditPromptIssueSchema, type AuditPromptResult, AuditPromptResultSchema, AvatarPayloadError, BOARD_TO_ASSET_TYPE, BOARD_TO_COLUMN, BOARD_VARIANTS, BRAND_LESSON_KINDS, type BoardEntityKind, type BoardPromptContext, type BoardTemplate, type BrandLesson, type BrandLessonKind, type BrandLessons, type BrandPlatformLessons, BridgeToNextSceneInputSchema, type BridgeToNextSceneResult, BridgeToNextSceneResultSchema, type BrowseCommunityParams, type BrowseCommunityResult, CAMERA_SWITCH_BOUNDS, CAMERA_SWITCH_CREDIT_ID, CAMERA_SWITCH_DEFAULTS, CAMERA_SWITCH_NAME_MAX, CAPTION_LEVER_BOUNDS, CAPTION_LOOKS, CAPTION_LOOK_IDS, CAPTION_MAX_WORDS_PER_LINE_MAX, CAPTION_MAX_WORDS_PER_LINE_MIN, CAPTION_SEGMENT_SCHEMA_KEYS, CARD_OUTCOME_STATES, CATEGORY_DURATION_DEFAULTS, CHARACTER_ASPECT_DEFAULTS, CHARACTER_ASPECT_OPTIONS, CHARACTER_ASSET_TYPES, CHARACTER_ASSET_VARIANTS, CHARACTER_ATTACH_COLUMNS, CHARACTER_FACETS, CHARACTER_FACET_IDS, CHARACTER_LORA_TRAINING_JOB_TYPE, CHARACTER_MOTION_PROVIDERS, CHARACTER_PICKER_DISPLAY_ORDER, CHARACTER_REFERENCE_PHOTO_KINDS, CHARACTER_STYLES, CHARACTER_VARIANT_ASSET_BUCKETS, CHAT_ENABLED_STAGES, CHAT_STAGES, CHAT_TURN_CAPS, CHAT_WIRED_STAGES, CINEMATIC_DEFAULT_DURATION_SEC, CINEMATIC_DEFAULT_RESOLUTION, CINEMATIC_MAX_DURATION_SEC, CINEMATIC_MAX_LOOKS, CINEMATIC_MAX_REFERENCE_IMAGES, CINEMATIC_MAX_REFERENCE_VIDEOS, CINEMATIC_MIN_DURATION_SEC, CINEMATIC_MIN_LOOKS, CINEMATIC_PROMPT_MAX, CINEMATIC_RESERVE_IDS, COLLABORATOR_ROLES, COLLECTIONS_PAGE_DEFAULT, COLLECTIONS_PAGE_MAX, COLLECTION_DEDUPE_KEY_MAX, COLLECTION_DESCRIPTION_MAX, COLLECTION_DIGEST_SEPARATOR, COLLECTION_EVICT_MAX_PER_WRITE, COLLECTION_HEADLINE_MAX, COLLECTION_IDEMPOTENCY_KEY_MAX, COLLECTION_MEDIA_TYPES, COLLECTION_NAME_MAX, COLLECTION_READ_LIMIT_MAX, COLLECTION_READ_WINDOW_HOURS_MAX, COLLECTION_RECORD_FIELDS_BYTES_MAX, COLLECTION_RECORD_FIELDS_MAX, COLLECTION_RECORD_MEDIA_MAX, COLLECTION_RECORD_TEXT_MAX, COLLECTION_RECORD_TITLE_MAX, COLLECTION_RECORD_URL_MAX, COLLECTION_TIER_CAPS, COLLECT_IN_HANDLE, COMBINE_TRANSITIONS, COMBINE_TRANSITION_GROUP_LABELS, COMBINE_TRANSITION_GROUP_ORDER, COMBINE_TRANSITION_IDS, COMPETITORS_MAX, COMPETITOR_ABOUT_PLATFORMS, COMPETITOR_ACCOUNT_KEYS, COMPETITOR_DEFAULT_ABOUT_PLATFORMS, COMPETITOR_SCAN_CREDIT_COSTS, COMPETITOR_SCAN_MAX_SEARCHES, COMPETITOR_SCAN_NODE_TYPE, COMPETITOR_SCHEDULES, COMPOSER_PLAN_FIELDS, COMPOSER_PLAN_MAP, CONTENT_IDEAS_BRAND_MAX, CONTENT_IDEAS_DEFAULT_COUNT, CONTENT_IDEAS_LANGUAGE_MAX, CONTENT_IDEAS_MAX_COUNT, CONTENT_IDEAS_MAX_RECIPE_INPUTS, CONTENT_IDEAS_PER_CHARGE, CONTENT_RECIPE_IDEAS_CREDIT_IDS, CONTENT_RECIPE_SOURCE_MAX, CONTENT_TYPES_BY_PLATFORM, CONTINUATION_NOT_COMPLETED, CONTINUATION_NOT_FOUND, CONTINUATION_SUBSET_REQUIRED, CONTINUATION_VERSION_MISMATCH, CONTINUATION_WORKFLOW_MISMATCH, CREATURE_ATTACH_COLUMNS, CREDIT_BASE_USD, CREDIT_ROUNDING_RESOLUTION, type CameraSwitchNodeSettings, type CameraSwitchNumericSetting, type CaptionLookId, type CaptionLookLevers, type CaptionPlan, type CaptionPlanStyler, type CaptionSegmentInput, type CaptionStyle, type CaptionWordTiming, type CardAction, type CardActionResult, type CardOutcome, type CardOutcomeState, type CardSnapshot, type CardVerdict, type CastCoverageCriticVerdict, CastCoverageCriticVerdictSchema, type ChapterSet, type CharacterAspectRatio, type CharacterAssetType, type CharacterAssetTypeForAspect, type CharacterAttachColumn, type CharacterDef, type CharacterFacet, type CharacterImageCriticVerdict, CharacterImageCriticVerdictSchema, type CharacterLoraFields, type CharacterMentionTokenInfo, CharacterMetadataSchema, type CharacterMotionMetadata, type CharacterMotionProvider, type CharacterReferencePhoto, type CharacterReferencePhotoKind, type CharacterVariantAssetBucket, type CharacterVariantAssetItem, type CharacterVoiceSpec, type ChatEnabledStage, type ChatTurnResponse, ChatTurnResponseSchema, type CinematicResolution, type ClipLook, type ClipNote, type CloneListingResult, type CollaboratorRole, type Collection, type CollectionCaps, type CollectionDigestFormat, type CollectionExportFormat, type CollectionFieldValue, type CollectionLimits, type CollectionMedia, type CollectionMediaType, type CollectionReadOrder, type CollectionReadWindowUnit, type CollectionRecord, type CollectionRecordSource, type CollectionWriteOutcome, type CombineTransition, type CombineTransitionGroup, type CombineVideosEstimatorInput, type CommunityCard, type CommunityEntityType, type CommunityFullDetail, type CommunityReportReason, type CommunitySort, type CompetitorAboutPlatform, type CompetitorAccountKey, type CompetitorAccounts, type CompetitorActionsResult, type CompetitorBrandTally, type CompetitorCardsResult, type CompetitorCompareInput, type CompetitorCompareResult, type CompetitorDetail, type CompetitorDiscovery, type CompetitorHistory, type CompetitorHistoryPlatform, type CompetitorHistoryPoint, type CompetitorLessonsResult, type CompetitorListResult, type CompetitorPeriod, type CompetitorPeriodFollowers, type CompetitorPeriodPlatform, type CompetitorPlatformTally, type CompetitorPost, type CompetitorScan, type CompetitorScanCounts, type CompetitorScanSummary, type CompetitorSchedule, type CompetitorSearch, type CompetitorSearchKind, type ComponentHandle, type ComponentMetadata, type ConnectedReference, type CreateCollectionInput, type CreateCompetitorInput, type CreatureAttachColumn, CriticIssueSchema, type CustomEntry, DEFAULT_AUDIO_CROSSFADE_CURVE_ID, DEFAULT_CAPTION_LOOK, DEFAULT_CARRIED_FRACTION, DEFAULT_CHARACTER_ANGLE_COUNT, DEFAULT_CHARACTER_EXPRESSION_COUNT, DEFAULT_CHARACTER_FACET, DEFAULT_DIALOGUE_PROVIDER, DEFAULT_FRAME_DELIVERY, DEFAULT_FRAME_FIT, DEFAULT_LABEL_BY_SOURCE, DEFAULT_LOCATION_USAGE_MODE, DEFAULT_MUSIC_PROVIDER, DEFAULT_OVERLAY_QR, DEFAULT_OVERLAY_SHAPE, DEFAULT_OVERLAY_TEXT, DEFAULT_PANEL_COUNT, DEFAULT_REF_IMAGE_MAX, DEFAULT_SECTIONS, DEFAULT_SUBTITLE_LOOK, DEFAULT_SUNO_MODEL, DEFAULT_TEMPLATE_CATEGORY, DEFAULT_TEXT_TO_AUDIO_PROVIDER, DEFAULT_TRANSCRIBE_NODE_PROVIDER, DEFAULT_TRANSCRIBE_PROVIDER, DEFAULT_TTS_PROVIDER, DEFAULT_USAGE_MODE, DEFAULT_VIDEO_ANALYSIS_MODEL, DEFAULT_VIDEO_ANALYSIS_TIER, DEFAULT_VIDEO_CLIP_COST, DEFAULT_VIDEO_DURATION_SEC, DEFAULT_VIDEO_OVERLAY_LAYER, DEFAULT_VIDEO_PROVIDER, DEFAULT_VOICE_CHANGER_MODEL, DEFAULT_VOICE_DESIGN_MODEL, DETAIL_VARIANTS, DIALOGUE_PROVIDERS, DURATION_PRICED_PROVIDERS, DYNAMIC_HANDLE_NODE_TYPES, DYNAMIC_PRODUCER_TYPES, type DescribedReference, type DetectionResult, DetectionResultSchema, type DialogueLine, type DialogueProvider, EDITED_EDL_VERSION, EDIT_PLAN_BASE_CREDIT_ID, EDIT_PLAN_BUCKET_MINUTES, EDIT_PLAN_DEFAULT_CLIP_COUNT, EDIT_PLAN_MAX_CLIP_COUNT, EDIT_PLAN_MAX_MINUTES, EDIT_PLAN_MODES, EDIT_PLAN_TIERS, EDL_FULL_FRAME, EDL_SOURCE_ROLES, EDL_TARGET_ASPECTS, EDL_VERSION, EFFORT_TIER_BUMP, EMOTIONAL_BEAT, ENTITY_ASPECT_DEFAULTS, ENTITY_BUCKET_FIELDS, ENTITY_DB_ID_FIELD, ENTITY_IMAGE_HANDLE_TYPES, ENTITY_KIND_SCALAR_FIELDS, ENTITY_NAME_FIELD, ENTITY_NODE_KINDS, ENTITY_SCALAR_FIELDS, ENTITY_SECTIONS, ENTITY_STATUSES, ENTITY_TABLE, ENTITY_TOOL_RETRY_CAP, ENTITY_TYPES, EXECUTION_DATA_KEYS, EXECUTION_GRAPH_COMPOSED_PARAMETER_TYPES, EXTEND_VIDEO_PROVIDERS, type EditPlanEditStatus, type EditPlanMode, type EditPlanSavedOutput, type EditPlanSourceIssue, type EditPlanTier, type EditedClipDecision, type EditedClipSet, type EditedEdl, type EditedEdlCut, type Edl, type EdlClipSet, type EdlDropped, type EdlLayout, type EdlRegion, type EdlResolvedSlot, type EdlSegment, type EdlSource, type EdlSourceRole, type EdlTargetAspect, type EdlValidation, type EntityKind, type EntityMentionTokenInfo, type EntityMetadata, EntityMetadataSchema, type EntityNodeKind, type EntityReferenceInput, type EntityRejectInput, EntityRejectInputSchema, type EntitySlot, type EntitySlotOwner, type EntityStaleEvent, EntityStaleEventSchema, type EntityStateChangeEvent, EntityStateChangeEventSchema, type EntityStatus, type EntityStudioKind, type EntityStyle, type EntityType, type EvaluateConditionOptions, type ExecutionOutcome, type ExpandedVideoOverlayRequest, type ExportedPreset, type ExposableField, type ExposableOutput, type ExposedSetting, type ExtendVideoProvider, type ExtraRefCharacterContext, type ExtraRefInput, FACE_SWAP_PROVIDERS, FAL_LIP_SYNC_PROVIDERS, FAN_IN_TARGETS, FAN_OUT_ALL_OR_NOTHING_TYPES, FAN_OUT_EACH_HANDLES, FAN_OUT_EACH_TYPES, FEATURED_ENTITIES, FILM_BASE_CREDITS, FLEXIBLE_INPUT_LIP_SYNC_PROVIDERS, FLUX2_RES_MP, FLUX_LORA_CHARACTER_MODEL_ID, FRAME_DELIVERIES, FRAME_DELIVERY_BY_PROVIDER, FRAME_FITS, FRAME_FIT_STRETCH_TOLERANCE, FRAME_MODE_ADAPTIVE_ONLY_ASPECT, FRAME_TARGET_HANDLES, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_READY, FREECUT_REQUEST_IMPORT, FURNITURE, FURNITURE_SUBCATEGORY_LABELS, FURNITURE_SUBCATEGORY_ORDER, type FaceSwapProvider, type FanOutCandidate, type FanOutItemMeta, type FanOutPlan, type FavoriteListingResult, type FeaturedEntity, type FeaturedInstagramOutputs, type FeaturedMetaAdOutputs, type FeedEdge, type FeedEmissionPlan, type FeedMaps, type FeedNode, type FieldEdgeSource, type FilmCreditEstimate, type FilterListCondition, type FilterListOperator, type FilterOperator, type FixContinuityInput, FixContinuityInputSchema, type FixContinuityResult, FixContinuityResultSchema, type Flux2Model, type FrameDelivery, type FrameFit, type FrameFitPlan, type FreecutExportCompletePayload, type FreecutExportProgressPayload, type FreecutImportFile, type FreecutRequestImportPayload, type FullSelectorMode, type Furniture, type FurnitureSubcategory, GEMINI_OMNI_PROVIDERS, GEMINI_OMNI_VOICE_PRESETS, GEMINI_OMNI_VOICE_PRESET_IDS, GENERATE_TEXT_DELIMITER, GLOBAL_MAX_DURATION_SECONDS, GRANTED_ACCESS, GROUP_HANDLE_PREFIX, GUIDANCE_SCALE_SUPPORT, GVP_ANCHOR_CHOICES, GVP_DEFAULT_PROVIDER, GVP_END_FRAME_PROVIDERS, GVP_EXTEND_PROVIDERS, GVP_SUPPORTED_PROVIDERS, type GeminiOmniVoicePreset, type GeminiOmniVoicePresetId, GenerateMotionInputSchema, type GenerateMotionResult, GenerateMotionResultSchema, type GenericEdge, type GenericNode, type GrantedAccess, type GvpAnchorChoice, type GvpAnchorWireMode, HANDLE_PORT_SEPARATOR, HELPERS_SHIPPED_IN_1B3, HIGH_QUALITY_PROVIDERS, HINT_EXEMPT_PARAMETER_TYPES, type HeldRowPick, type HintEdgeLike, type HintGraphContext, type HintNodeLike, type I18nCatalogId, I2I_MASK_SUPPORT, I2I_STRENGTH_SUPPORT, IDEOGRAM_PROVIDERS, IMAGE_ASPECT_RATIO_VALUES, IMAGE_CRITIC_LEAF_MODES, IMAGE_CRITIC_MAX_RETRIES, IMAGE_CRITIC_METADATA_KEYS, IMAGE_CRITIC_MIN_ADHERENCE_SCORE, IMAGE_CRITIC_MODES, IMAGE_CRITIC_UNRESOLVABLE, IMAGE_EDIT_PROVIDERS, IMAGE_GEN_PROVIDERS, IMAGE_I2I_PROVIDERS, IMAGE_MASK_MODE, IMAGE_OVERLAY_BASE_CREDITS, IMAGE_OVERLAY_VARIANT_CREDITS, IMAGE_PRODUCER_TYPES, IMAGE_PROMPT_MAX, IMAGE_REF_TYPES, IMAGE_TO_VIDEO_PROVIDERS, INPUT_FIELD_EXTRA_KEYS, INPUT_FIELD_MAP, INPUT_NODE_TYPES, INSTAGRAM_ANALYSIS_CREDIT_ID, INSTAGRAM_CAROUSEL_MAX_ITEMS, INSTAGRAM_CAROUSEL_MIN_ITEMS, INSTAGRAM_HOSTS, INSTAGRAM_SCRAPE_CREDIT_COSTS, INSTAGRAM_SCRAPE_DEFAULT_COUNT, INSTAGRAM_SCRAPE_FALLBACK_CREDIT_ID, INSTAGRAM_SCRAPE_MAX_COUNT, INSTAGRAM_SCRAPE_MAX_SOURCES, INSTAGRAM_SCRAPE_MAX_TARGET_LENGTH, INSTAGRAM_SCRAPE_MODES, INSTAGRAM_SCRAPE_NODE_TYPE, INSTAGRAM_SCRAPE_PERIODS, INSTAGRAM_SCRAPE_TIERS, ITER_CLONE_PATTERN, type IdentityFidelity, type IdentityMeta, type ImageAspectRatio, type ImageCriticIssue, ImageCriticIssueSchema, type ImageCriticLeafMode, type ImageCriticMetadataKey, type ImageCriticMode, type ImageCriticNodeIssue, type ImageCriticResult, ImageCriticResultSchema, type ImageCriticVerdict, ImageCriticVerdictSchema, type ImageEditProvider, type ImageGenProvider, type ImageI2IProvider, type ImageMaskMode, type ImageMentionTokenInfo, type ImageToVideoProvider, type ImprovePromptInput, ImprovePromptInputSchema, type ImprovePromptResult, ImprovePromptResultSchema, type IngestedRecord, type InputFieldSchema, type InstagramFormat, type InstagramNodeQuoteFields, type InstagramScrapeMode, type InstagramScrapePeriod, type InstagramScrapeTier, type InvitationDelivery, type InvitationPreview, type InvitationState, type InvitationView, type JoinCodeView, type JsonEvalResult, type JsonFilter, type JsonPatch, KEYFRAME_CREDITS_PER_SHOT, KINETIC_CAPTION_STYLES, KINETIC_ONLY_CAPTION_LEVER_KEYS, type KieApiFormat, type KineticCaptionStyle, type KineticOnlyCaptionLeverKey, LANGUAGES, LEGACY_EXPOSED_FIELD_KEYS, LEGACY_LOTTIE_HOST_REMAP, LEGACY_SOURCE_HANDLE_ALIASES, LEGACY_TARGET_HANDLE_ALIASES, LEGACY_TEMPLATE_CATEGORIES, LIP_SYNC_DURATION_BUCKETS, LIP_SYNC_MAX_AUDIO_SECONDS, LIP_SYNC_PROVIDERS, LLM_FEATURE_DEFAULTS, LLM_MODALITY_CAPS, LLM_MODELS, LLM_MODEL_IDS, LLM_REASONING_EFFORTS, LLM_ROUTE_DEFAULTS, LLM_TEXT_INPUT_MAX, LLM_VENDOR_LABELS, LLM_VENDOR_ORDER, LOCATION_ASSET_TYPES, LOCATION_ASSET_VARIANTS, LOCATION_ATMOSPHERE_PROVIDERS, LOCATION_ATTACH_COLUMNS, LOCATION_BUCKET_TO_CATALOG_ID, LOCATION_PRESET_TO_CATALOG, LOCATION_REFERENCE_PHOTO_KINDS, LOCATION_REFERENCE_PHOTO_KIND_LABELS, LOCATION_USAGE_MODES, LOTTIE_OVERLAY_CATALOG, LOTTIE_SLOT_FIELD_PREFIX, LTX_EXTEND_DURATION, LTX_EXTEND_PER_SECOND_CREDIT_ID, LTX_RETAKE_MIN_DURATION_SEC, LTX_RETAKE_PER_SECOND_CREDIT_ID, type LabeledOption, type LipSyncDurationBucket, type LipSyncProvider, type ListCollectionRecordsParams, type ListCollectionRecordsResult, type ListCollectionsResult, type ListFanOut, type ListSavedPostsParams, type ListSavedPostsResult, type LlmFeature, type LlmModelDef, type LlmModelGroup, type LlmReasoningEffort, type LlmRouteDefaults, type LlmTier, type LlmVendor, type LocalTime, type LocaleCatalogMap, type LocaleDirection, type LocaleId, type LocationAssetType, type LocationAtmosphereProvider, type LocationAttachColumn, type LocationCatalogRef, type LocationImageCriticVerdict, LocationImageCriticVerdictSchema, type LocationMentionTokenInfo, LocationMetadataSchema, type LocationReferencePhotoKind, type LocationUsageMode, LocationsCoverageCriticIssueSchema, type LocationsCoverageCriticVerdict, LocationsCoverageCriticVerdictSchema, type LoopTrimEstimatorInput, type LoopVideoEstimatorInput, type LoraEligibleRef, type LoraRouting, type LottieOverlayCatalogEntry, type LottieSlotField, MATCH_CUT_BREAK_GATE, MAX_CUSTOM_ENTRIES_PER_BOARD, MAX_IMAGE_PROMPT_CHARS_BY_PROVIDER, MAX_LOCATION_VARIANTS, MAX_NEGATIVE_PROMPT_CHARS_BY_PROVIDER, MAX_PANELS_PER_SHEET, MAX_TTS_CHARS_BY_PROVIDER, MAX_VIDEO_PROMPT_CHARS_BY_PROVIDER, MEMBER_STATUSES, META_ADS_ADVERTISER_MAX_RESULTS, META_ADS_ANALYSIS_CREDITS_PER_AD, META_ADS_ANALYSIS_CREDIT_ID, META_ADS_ANALYSIS_FOCUS_MAX, META_ADS_ANALYSIS_TIERS, META_ADS_FORMATS, META_ADS_NODE_MODES, META_ADS_PLATFORMS, META_ADS_SCRAPE_COUNT_OPTIONS, META_ADS_SCRAPE_CREDIT_COSTS, META_ADS_SCRAPE_DEFAULT_COUNT, META_ADS_SCRAPE_DEFAULT_COUNTRY, META_ADS_SCRAPE_FALLBACK_CREDIT_ID, META_ADS_SCRAPE_MAX_COUNT, META_ADS_SCRAPE_MAX_QUERY_LENGTH, META_ADS_SCRAPE_MAX_SOURCES, META_ADS_SCRAPE_MODES, META_ADS_SCRAPE_NODE_TYPE, META_ADS_SCRAPE_PERIODS, META_ADS_SCRAPE_STATUSES, META_ADS_SCRAPE_TIERS, MINIMAX_H3_DEFAULT_RESOLUTION, MINIMAX_H3_PROVIDERS, MODELS_WITH_REFERENCE_IMAGE_SUPPORT, MODEL_CATALOG, MODEL_KINDS, MODEL_PARAM_NODE_TYPES, MODEL_RECOMMENDATIONS, MODIFY_IMAGE_PROVIDERS, MOTION_COLUMN, MOTION_TRANSFER_PROVIDERS, MUSIC_CREDIT_ID, MUSIC_PROVIDERS, MUSIC_PROVIDER_LABELS, type MarkCardInput, type MaskRegionDescriptor, type MatchCutVerdict, MatchCutVerdictSchema, type MeOrganizations, type Member, type MemberStatus, type MetaAdsAdvertiser, type MetaAdsAnalysisTier, type MetaAdsCreativeFormat, type MetaAdsFormat, type MetaAdsNodeMode, type MetaAdsNodeQuoteFields, type MetaAdsNodeSourceFields, type MetaAdsPlatform, type MetaAdsScrapeMode, type MetaAdsScrapePeriod, type MetaAdsScrapeStatus, type MetaAdsScrapeTier, type MetaAdsWireSources, type MinimalEdge, type MinimalNode, type ModelCatalogEntry, type ModelInputAdjustment, type ModelKind, type ModelMenuOption, type ModelMode, type ModelNodeTarget, type ModelPromptingStyle, type ModelRecommendation, type ModelTreeLine, type ModelTreeVariant, type ModelValidationIssue, type ModifyImageProvider, type MotionTransferProviderType, type MusicProvider, NATIVE_ADAPTIVE_ASPECT, NATIVE_NEGATIVE_PROMPT_MODELS, NATIVE_NEGATIVE_VIDEO_PROVIDERS, NEGATIVE_PROMPT_MAX, NODARO_IMPORT_FILES, NODARO_LOAD_TIMELINE, NODARO_LOAD_VIDEO, NODARO_RESET_PROJECT, NODE_DEFAULT_TYPES, NODE_MAPPABLE_FIELDS, NODE_PRESET_EXPORT_KIND, NODE_REF_PATTERN, NON_EN_LOCALE_IDS, NON_PROMPT_TEXT_LANES, NO_SAVED_RENDER_STAMPS, NO_SPLIT_DELIMITER, type NodaroLoadTimelinePayload, type NodaroLoadVideoPayload, type NodeDefaultType, type NodeExecutionStateWire, type NodeExecutionStatus, type NodeParamAdjustment, type NodePresetExport, type NodeSkipReason, type NormalizedImageGen, type NormalizedModelInput, type NormalizedNodes, type NormalizedVideoRequest, OAUTH_SCOPES, type OAuthScope, OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OBJECT_ASSET_TYPES, OBJECT_ASSET_VARIANTS, OBJECT_ATTACH_COLUMNS, OBJECT_MOTION_PROVIDERS, OBJECT_PICKER_NODE_TYPES, ORG_ERROR_CODES, ORG_KINDS, ORG_ROLES, ORG_STATUSES, OUTPUT_BEARING_NODE_STATUSES, OUTPUT_FIELD_MAP, OUTPUT_FORMATS, OVERLAY_ANCHORS, OVERLAY_FONTS, OVERLAY_FONT_IDS, OVERLAY_IMAGE_MASKS, OVERLAY_LAYER_KINDS, OVERLAY_MAX_VARIANTS, OVERLAY_PLATFORMS, OVERLAY_PLATFORM_IDS, OVERLAY_SHAPES, OVERLAY_TEXT_ALIGNS, OVERLAY_VARIANT_HANDLE_PREFIX, OWNER_ONLY_LISTING_RENDER_TYPES, OWN_LIST_NODE_TYPES, type ObjectAspectRatio, type ObjectAssetType, type ObjectAssetTypeForAspect, type ObjectAttachColumn, ObjectMetadataSchema, type ObjectMotionProvider, type ObjectsValidationIssue, type ObjectsValidationResult, OptimizeForModelInputSchema, type OptimizeForModelResult, OptimizeForModelResultSchema, type OrgAuditEntry, type OrgErrorCode, type OrgKind, type OrgMemberView, type OrgPage, type OrgRole, type OrgSettings, OrgSettingsSchema, type OrgStatus, type OrganizationSummary, type OrganizationView, type OutputFormat, type OutputMode, type OutputType, type OverlayAnchor, type OverlayFontId, type OverlayImageEffects, type OverlayImageMask, type OverlayLayerKind, type OverlayPlatformId, type OverlayPlatformPreset, type OverlayPlatformZone, type OverlayQrStyle, type OverlayShape, type OverlayShapeElement, type OverlayShapeStyle, type OverlayTextAlign, type OverlayTextStyle, PARAMETER_NODE_TYPES, PASSTHROUGH_TYPES, PAYG_RETENTION_DAYS, PER_FORMAT_DURATION_BOUNDS, PICKER_TO_COMBINE_TRANSITION, PIPELINE_ACTIVATION_MODES, PIPELINE_FORMATS, PIPELINE_HARD_TIMEOUT_MS, PIPELINE_MODEL_STAGES, PIPELINE_MODES, PIPELINE_OUTPUT_RESOLUTIONS, PIPELINE_PINNABLE_IMAGE_MODELS, PIPELINE_PINNABLE_SCRIPT_LLMS, PIPELINE_PINNABLE_VIDEO_MODELS, PIPELINE_STAGE_NAMES, PIPELINE_STAGE_TIMEOUT_MS, PIPELINE_TYPES, PLACEHOLDER_CHARACTER_NAME, PLATFORM_LABELS, PLATFORM_SPECS, PRESET_APPLY_CLEAR_KEYS, PRESET_EXCLUDED_KEYS, PRESET_LABELS, PRESET_LEVER_GROUPS, PRESET_SETTING_KEYS, PREVIEW_RENDER_NESTED, PREVIEW_RENDER_NODE_TYPES, PREVIEW_REVIEW_REQUIRED, PRICING_DEFAULT_DURATION_SEC, PRICING_DEFAULT_RESOLUTION, PRO3D_RENDER_ASPECT_RATIOS, PRO3D_RENDER_CREDIT_ID, PRO3D_RENDER_DEFAULT_ENGINE, PRO3D_RENDER_DEFAULT_QUALITY, PRO3D_RENDER_DEFAULT_REPAIR_PASSES, PRO3D_RENDER_DEFAULT_STYLE, PRO3D_RENDER_ENGINES, PRO3D_RENDER_LABEL, PRO3D_RENDER_LIMITS, PRO3D_RENDER_MAX_REPAIR_PASSES, PRO3D_RENDER_MIN_REPAIR_PASSES, PRO3D_RENDER_NODE_TYPE, PRO3D_RENDER_PROMPT_MAX, PRO3D_RENDER_QUALITY_PROFILES, PRO3D_RENDER_SOURCE_KINDS, PRO3D_RENDER_STYLES, PROJECTED_TRIGGER_NODE_TYPES, PROMPT_HARD_CEILING, PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY, PROVIDER_DIRECTIVE_DEFAULTS, PROVIDER_PLACEHOLDER_PREFIX, type PanelGenRequest, type PanelRequest, type PanelSource, type PassThrough, type PassThroughWarning, type PickerCardRestrictions, type PipelineActivationMode, type PipelineCompletedEvent, PipelineCompletedEventSchema, type PipelineConfig, PipelineConfigSchema, type PipelineDriftSummary, PipelineDriftSummarySchema, type PipelineEditorDecisionsReadyEvent, PipelineEditorDecisionsReadyEventSchema, type PipelineEvent, type PipelineForkedEvent, PipelineForkedEventSchema, type PipelineFormat, type PipelineInput, PipelineInputSchema, type PipelineLifecycleEvent, type PipelineMode, type PipelineModelStage, type PipelineMusicReadyEvent, PipelineMusicReadyEventSchema, type PipelineOutputResolution, type PipelinePinnableImageModel, type PipelinePinnableScriptLlm, type PipelinePinnableVideoModel, type PipelineStageName, PipelineStageNameSchema, type PipelineStageStatus, PipelineStageStatusSchema, type PipelineState, PipelineStateSchema, type PipelineStatus, PipelineStatusSchema, type PipelineType, type PixelBox, type PreflightGraphEdge, type PreflightGraphNode, type PresentationItem, type PresetEntry, type PresetSettingKey, type PresetSettings, PresetSettingsSchema, type PreviewGateEdge, type PreviewGateNode, type PreviewGateRun, type PreviewStops, type PriceVariant, type PricedVideoSelection, type Pro3DRenderAspectRatio, type Pro3DRenderCapabilities, type Pro3DRenderEngine, type Pro3DRenderJobOutput, type Pro3DRenderLocalExportSource, type Pro3DRenderPromptSource, type Pro3DRenderQuality, type Pro3DRenderQuote, type Pro3DRenderQuoteLine, type Pro3DRenderResultMetadata, type Pro3DRenderSceneSource, type Pro3DRenderShotStill, type Pro3DRenderSource, type Pro3DRenderSourceInput, type Pro3DRenderSourceKind, type Pro3DRenderSourceResult, type Pro3DRenderStyle, type Pro3DRenderValidationWarning, type ProgressSegment, type ProjectedCatalog, type ProjectedCatalogDimension, type ProjectedCatalogOption, type ProjectedCatalogSection, type PromptAffixFields, type PromptAffixes, type ProposedChange, type PublishListingParams, type PublishListingResult, QA_CHECK_PROVIDERS, type QaCheckProvider, type QualityLevel, REASONING_OUTPUT_FLOOR, RECAST_SEGMENT_PACKS, REDUCE_STRATEGIES, REDUCE_STRATEGY_IDS, REFERENCE_BOARD_PROVIDERS, REFERENCE_BOARD_TEMPLATES, REFERENCE_HANDLE_MAP, REFERENCE_ROLE_PRESETS, REF_HANDLE_CATEGORY, REF_IMAGE_MAX_LIMITS, REF_TOKEN_NAMESPACE_PREFIXES, RENDERED_OUTPUT_HANDLES, RENDERING_SPEED_SUPPORT, RENDER_FINAL_CODES, RENDER_FINAL_NODE_NOT_FOUND, RENDER_FINAL_NOT_A_RENDER, RENDER_NODE_TYPES, RENDER_NODE_TYPE_IDS, RENDER_VIDEO_CREDIT_ID, REPEATABLE_NODE_TYPES, REPEAT_PLACEHOLDER, REPLICATE_LIP_SYNC_PROVIDERS, RESERVED_TEMPLATE_VARS, RUN_CONTINUATION_CODES, RUN_OVERRIDE_CLEARED_FIELDS, type RecastSegmentPack, type ReduceMeta, type ReduceStrategy, type ReduceStrategyId, type RefCandidate, type RefModalityEdge, type RefTokenKind, type RefVideoDurationLimit, type ReferenceBoardProvider, type ReferenceModality, type ReferenceSheet, type ReferenceSource, type RenderClockSource, type RenderFinalCode, type RenderGraphEdge, type RenderGraphNode, type RenderJsonKind, type RenderMedium, type RenderNodeDescriptor, type RenderPlanHop, type RenderPlanPath, type RenderQuality, type RenderResultStamp, type RenderSettingsInput, type ReportListingResult, type ResolveCharacterAspectOptions, type ResolveEdlSlotsOptions, type ResolveObjectAspectOptions, type ResolveSeparatorOptions, type ResolvedDialogueVoiceLine, type ResolvedEditPlanOutput, type RouterConditionGroup, type RunContinuationCode, type RunResultRowStamp, SAVED_POSTS_LOOKUP_MAX, SAVED_POSTS_PAGE_MAX, SAVED_POST_MAX_TAGS, SAVED_POST_NOTE_MAX, SAVED_POST_SOURCES, SAVED_POST_TAG_MAX, SAVED_RENDER_STAMPS, SCENE3D_ASSERTION_RESTORED_CODE, SCENE3D_ASSET_KINDS, SCENE3D_ASSET_ROLES, SCENE3D_ASSET_ROLE_KINDS, SCENE3D_AUTHORING_ASSUMPTION_CODE, SCENE3D_AUTHORING_ENGINES, SCENE3D_BASIC_ENGINE, SCENE3D_BASIC_SCHEMA_VERSION, SCENE3D_CAMERA_TRACK_FORMAT, SCENE3D_CAMERA_TRACK_LIMITS, SCENE3D_CAMERA_TRACK_VERSION, SCENE3D_CLAY_LIGHTING_PRESETS, SCENE3D_DEFAULT_ADVANCED_ENGINE, SCENE3D_DEFAULT_DURATION_SECONDS, SCENE3D_DEFAULT_ENTITY_CAPABILITIES, SCENE3D_DEFAULT_FPS, SCENE3D_EDIT_NODE_TYPE, SCENE3D_ENTITY_CAPABILITIES, SCENE3D_ENTITY_ROLES, SCENE3D_GENERATE_NODE_TYPE, SCENE3D_GLB_EXTRAS_ALLOWLIST, SCENE3D_GLB_EXTRAS_ENTITY_ID, SCENE3D_GLB_EXTRAS_MATERIAL_ROLE, SCENE3D_GLB_EXTRAS_SUBPART_ID, SCENE3D_LIMITS, SCENE3D_PLAN_FIELD, SCENE3D_PLAN_TYPE, SCENE3D_PRIMITIVES, SCENE3D_PRIMITIVE_MATERIAL_ROLE, SCENE3D_REMEDY_AUTO_APPLIED_CODE, SCENE3D_RENDERER_ASSET_KINDS, SCENE3D_RENDER_BASE_MAX_PX, SCENE3D_RENDER_TIERS, SCENE3D_RENDER_TIER_MULTIPLIERS, SCENE3D_RENDER_XLARGE_MIN_AREA_PX, SCENE3D_REVIEW_REFUSED_CODE, SCENE3D_REVIEW_UNAVAILABLE_CODE, SCENE3D_REVIEW_UNAVAILABLE_REASONS, SCENE3D_SCHEMA_VERSION, SCENE3D_SCHEMA_VERSION_V2, SCENE3D_SUPPORTED_SCHEMA_VERSIONS, SCENE3D_V2_CONTENT_HASH_EXCLUDED, SCENE3D_V2_ENGINES, SCENE3D_V2_LIMITS, SCENE3D_V2_OVERRIDE_OPERATION_VERSION, SCENE3D_V2_PRIMITIVES, SCENE_HELPER_NAMES, SCHEDULE_EVERY_LIMITS, SCHEDULE_RULE_KINDS, SCHEDULE_TRIGGER_NODE_TYPE, SCRAPER_ACTOR_LABELS, SCRAPER_CREDIT_COSTS, SCRAPER_OUTPUT_FIELDS, SCRIPT_PROVIDERS, SCRIPT_SCENE_COUNT_DEFAULT, SCRIPT_SCENE_COUNT_RANGE, SCRIPT_STYLE_GUIDE_MAX_LENGTH, SCRIPT_TARGET_DURATION_DEFAULT, SCRIPT_TARGET_DURATION_RANGE, SCRIPT_TONE_MAX_LENGTH, SEASONS, SECTION_BOARD, SECTION_KINDS, SEEDANCE_2_5_REF_LIMITS, SEEDANCE_2_CONTINUATION_REF_SEC, SEEDANCE_2_EXTEND_STITCH, SEEDANCE_2_PROVIDERS, SEEDANCE_2_R2V_MAX_AUDIO_SEC_BY_PROVIDER, SEEDANCE_2_R2V_MIN_REF_VIDEO_SEC, SEEDANCE_2_REF_LIMITS, SEEDANCE_LIP_SYNC_PROVIDERS, SEEDANCE_VIDEO_EDIT_PROVIDERS, SEEDANCE_VIDEO_EDIT_SHAPE, SEED_SUPPORT, SEPARATOR_DISPLAY, SEPARATOR_PRESETS, SETTINGS_HINT_SOURCES, SETTINGS_INPUT_CONSUMERS, SETTINGS_INPUT_HANDLE, SETTINGS_SOURCE_FIELDS, SETTINGS_SOURCE_TYPES, SHEET_ASPECTS, SHEET_BACKGROUNDS, SHEET_PRESETS, SHEET_SKINS, SHEET_TYPES, SHORT_FILM_ANGLE_COUNT, SHORT_FILM_EXPRESSION_COUNT, SHORT_FILM_VARIANT_THRESHOLD_SEC, SLOT_TOKEN_RE, SMART_CUT_WINDOW_DEFAULT, SMART_CUT_WINDOW_MAX, SMART_CUT_WINDOW_MIN, SOCIAL_PLATFORMS, SOCIAL_POST_NODE_TYPES, SOCIAL_POST_VIDEO_LINK_MARGIN_MS, SOCIAL_SEARCH_COUNTS, SOCIAL_SEARCH_CREDITS_PER_PAGE, SOCIAL_SEARCH_CREDIT_COSTS, SOCIAL_SEARCH_DEFAULT_PICK_TOP, SOCIAL_SEARCH_MAX_QUERY_LENGTH, SOCIAL_SEARCH_MODES, SOCIAL_SEARCH_NODE_TYPE, SOCIAL_SEARCH_PAGED_MODES, SOCIAL_SEARCH_PERIODS, SOCIAL_SEARCH_PLATFORM_MODES, SOCIAL_SEARCH_SORTS, SOCIAL_SEARCH_VIDEO_KINDS, SOCIAL_VIDEO_HOSTS, SPEAKER_EMPHASIS_STYLES, SPEAKER_LAYOUTS, SPEAKER_LAYOUT_IDS, SPEAKER_SWITCHES, SPEAKER_SWITCH_IDS, SPEAKER_TRACKS_MAX_BOXES_PER_SOURCE, SPEAKER_TRACKS_MAX_BYTES, SPEAKER_TRACKS_VERSION, SPEAKER_TRACK_ATTRIBUTION_METHODS, SPEECH_FLOOR_UNITS, SPEECH_PRICE_UNIT_CHARS, SPEECH_UNIT_CREDIT_SUFFIX, SPEECH_UNIT_PRICE_NOTE, STAGE_PATCH_SCHEMA, STATIC_CAPTION_STYLES, STRUCTURAL_SECTIONS, STRUCTURED_VISION_MODELS, STUDIO_DEPENDENT_FRAMES_CAPABILITY, STUDIO_KEYFRAME_ACCEPTANCE_PRIVATE_KEYS, STUDIO_KEYFRAME_NODE_TRANSIENT_KEYS, STUDIO_KEYFRAME_REVIEW_KEYS, STUDIO_KEYFRAME_TRANSIENT_KEYS, STUDIO_PREVIZ_RUN_STATE_KEYS, STUDIO_SEQUENCE_PLANNING_KEYS, STUDIO_SEQUENCE_POLICY_KEYS, STUDIO_SEQUENCE_UNIT_MANIFEST_KEYS, STUDIO_SEQUENCE_UNIT_REVIEW_KEYS, STUDIO_SHOT_DRAFT_KEYS, STUDIO_SHOT_TRANSIENT_KEYS, STUDIO_TAKE_SEQUENCE_KEYS, STUDIO_TAKE_VOICE_KEYS, STUDIO_TRANSIENT_KEYS, SUBMISSION_STATUSES, SUNO_ACTIVE_MODELS, SUNO_ADD_TRACK_MODELS, SUNO_DURATION_MODELS, SUNO_FIELD_HANDLE_FIELDS, SUNO_HARD_CEILING, SUNO_LEGACY_MODELS, SUNO_MODELS, SUNO_SELECT_OPERATIONS, SUNO_TEXT_MAX, SUNO_TITLE_MAX, SUNO_TRACK_SOURCE_TYPES, SUNO_VERSION_CREDIT_KEYS, SUNO_VERSION_PRICED_OPERATIONS, SUPPORTED_FONT_NAMES, SURROUND_DIRECTIONS, SWITCHX_BLOCK_FRAMES, SWITCHX_FRAME_TIERS, type SafetyRetryPolicy, type SavePostInput, type SavedPost, type SavedPostSource, type SavedPostsLookupResult, type SavedRenderItem, type SavedRenderQualityStamp, type SavedRenderStampReader, type Scene3DAnchor, type Scene3DAssetAnimation, type Scene3DAssetKind, type Scene3DAssetRef, type Scene3DAssetRole, type Scene3DAuthoringDelivery, type Scene3DAuthoringDeliveryMetadata, type Scene3DAuthoringEngine, type Scene3DAuthoringValidation, type Scene3DCamera, type Scene3DCameraChanges, type Scene3DCameraKeyframe, type Scene3DCameraSample, type Scene3DCameraTrackV1, type Scene3DClayLighting, type Scene3DClayLightingPreset, type Scene3DDeliveryWarning, type Scene3DEasing, type Scene3DEditErrorCode, type Scene3DEditOperation, type Scene3DEditOptions, type Scene3DEditResult, type Scene3DEngineChoice, type Scene3DEngineChoiceInput, type Scene3DEngineChoiceRefusalCode, type Scene3DEngineRequestFields, type Scene3DEntityCapability, type Scene3DEntityRole, type Scene3DEntityV2, type Scene3DEntityVisual, type Scene3DInputAsset, type Scene3DJobOutput, type Scene3DJobOutputAny, type Scene3DJobOutputV2, type Scene3DKnownEngine, type Scene3DLighting, type Scene3DLightingChanges, type Scene3DMaterialBinding, type Scene3DNormalizedAssetStats, type Scene3DObject, type Scene3DObjectChanges, type Scene3DObjectKeyframe, type Scene3DOverride, type Scene3DOverrideSpace, type Scene3DParseResult, type Scene3DPlan, type Scene3DPlanV1, type Scene3DPlanV2, type Scene3DPrimitive, type Scene3DProvenance, type Scene3DReference, type Scene3DReferenceKind, type Scene3DReferenceRole, type Scene3DRenderTier, type Scene3DRestoredAssertion, type Scene3DReviewFindings, type Scene3DReviewObjection, type Scene3DReviewRefused, type Scene3DReviewUnavailable, type Scene3DReviewUnavailableReason, type Scene3DReviewVerdict, type Scene3DSemanticIssue, type Scene3DShot, type Scene3DSupportedSchemaVersion, type Scene3DV2EditOperation, type Scene3DV2EditOptions, type Scene3DV2EditResult, type Scene3DV2OverrideInput, type Scene3DV2Primitive, type Scene3DV2ResourceUsage, type SceneData, type SceneHelperName, SceneHelperNameSchema, type SceneInputMode, SceneInputModeSchema, type SceneMetadata, SceneMetadataSchema, type SceneNodeData, SceneNodeDataSchema, SceneSpecSchema, type ScheduleRule, type ScheduleRuleKind, type ScheduleSpec, type ScraperActorId, type ScriptCriticVerdict, ScriptCriticVerdictSchema, type ScriptProvider, type ScriptSettings, type Season, type SectionKind, type SeedanceVideoEditProvider, type SelectorConfig, type SelectorFields, type SelectorMode, type SelectorPredicateOp, type SelectorResult, type SemanticAspectRatio, type SeparatorPreset, SequenceExecutionRequiredError, type SettingsField, type SettingsFieldSourceType, type SettingsHintSourceType, type SettingsInputProblem, type SettingsSourceType, type SharedListing, type SharedVoice, type SheetAspect, type SheetBackground, type SheetCostEstimate, type SheetEntry, type SheetFlavour, type SheetGenerationPlan, type SheetPreset, type SheetPresetId, type SheetSection, type SheetSkin, type SheetTextData, type SheetType, type ShotElement, type ShotImageElement, type ShotShapeElement, type ShotSpec, ShotSpecSchema, type ShotTextElement, type ShowrunnerPlan, ShowrunnerPlanSchema, type SidecarLoader, type SlotControlDescriptor, type SlotControlKind, type SlotVariation, type SocialMediaContentType, type SocialMediaPlatform, type SocialMediaSpec, type SocialPlatform, type SocialPost, type SocialPostAuthor, type SocialPostMedia, type SocialPostMetrics, type SocialSearchCount, type SocialSearchMode, type SocialSearchParams, type SocialSearchPeriod, type SocialSearchPostVideo, type SocialSearchSort, type SocialSearchVideoKind, type SortDirection, type SortListOptions, type SortType, type SpeakerEmphasisStyle, type SpeakerLayoutSheet, type SpeakerSwitchSheet, type SpeakerTrack, type SpeakerTrackAttribution, type SpeakerTrackAttributionMethod, type SpeakerTrackBox, type SpeakerTrackHeader, type SpeakerTrackSet, type SpeakerTrackSetDescriptor, type SpeakerTrackSource, type SpeakerTrackSourceSummary, type SpeakerTrackSpan, type SpeakerTrackSummary, type SpeakerTracksValidateOptions, type StageAwaitingSubGateEvent, StageAwaitingSubGateEventSchema, type StaticCaptionStyle, type StoryboardCohesionCriticVerdict, StoryboardCohesionCriticVerdictSchema, type StyleDirectives, StyleDirectivesSchema, type SubGateName, SubGateNameSchema, type SubmissionStatus, type SunoAddTrackModel, type SunoModel, type SupportedFontName, type SurroundDirection, type Swatch, T2I_TO_I2I_VARIANT, TASK_CHAINED_EDIT_PROVIDERS, TELEGRAM_ACCOUNT_SEND_NODE_TYPE, TELEGRAM_ACCOUNT_TRIGGER_MESSAGE_FIELDS, TELEGRAM_ACCOUNT_TRIGGER_MESSAGE_HANDLE, TELEGRAM_ACCOUNT_TRIGGER_NODE_TYPE, TELEGRAM_ACCOUNT_TRIGGER_OUTPUT_HANDLES, TELEGRAM_ACCOUNT_TRIGGER_POST_FIELDS, TELEGRAM_FEED_DEFAULT_LIMIT, TELEGRAM_FEED_DIGEST_SEPARATOR, TELEGRAM_FEED_LIMIT_MAX, TELEGRAM_FEED_PAGE_SIZE, TELEGRAM_FEED_PEEK_MAX, TELEGRAM_SEND_AS, TELEGRAM_SEND_DESTINATIONS, TELEGRAM_TRIGGER_NODE_TYPE, TEMPLATE_CATEGORIES, TEXT_TO_AUDIO_PRICING, TEXT_TO_AUDIO_PROVIDERS, TEXT_TO_AUDIO_SFX_CREDIT_IDS, TEXT_TO_VIDEO_PROVIDERS, TIER_MAX_PIPELINE_COST_CREDITS, TIER_PIPELINE_PARALLELISM, TILT_CARRIED_FRACTION, TOPAZ_DEFAULT_UPSCALE_FACTOR, TOPAZ_UPSCALE_FACTORS, TRANSCRIBE_LANES, TRANSCRIBE_PROVIDERS, TRANSCRIBE_PROVIDER_CAPABILITIES, TRANSIENT_RUNTIME_KEYS, TTS_FALLBACK_PROVIDER, TTS_NEIGHBOUR_TEXT_MAX_CHARS, TTS_PROVIDERS, TTS_PROVIDER_ALIASES, TTS_TEXT_MAX, TWO_K_RESOLUTION_PROVIDERS, type TelegramAccountTriggerPostField, type TelegramChannelPost, type TelegramChannelPostMedia, type TelegramSendAs, type TelegramSendDestination, type TemplateCategory, type TextToAudioProvider, type TextToVideoProvider, type TopazUpscaleAdjustment, type TopazUpscaleFactor, type TopazUpscaleResolution, type TrackedCompetitor, type TranscribeLane, type TranscribeProvider, type Transcript, type TransitionType, TransitionTypeSchema, type TrimVideoEstimatorInput, type TtsCapabilities, type TtsNeighbourText, type TtsProvider, type TtsSettingLever, UGC_NODE_RUN_STATE_KEYS, UGC_NODE_TYPES, UGC_OVERRIDABLE_FIELDS, UPSCALE_IMAGE_PROVIDERS, USAGE_GROUP_BYS, USAGE_MODES, type UgcRouteBody, type UgcToolCall, type UpdateCardActionInput, type UpdateCollectionInput, type UpdateCompetitorInput, type UpdateSavedPostInput, type UpscaleImageProvider, type UsageGroupBy, type UsageLogEntry, type UsageMode, type UsageQuery, type UsageReport, type UsageReportRow, type UsageReportTotals, type UsageVarianceRow, VARIABLES_HANDLE_ID, VARIABLE_PRICING_MODELS, VEHICLES, VEHICLE_SUBCATEGORY_LABELS, VEHICLE_SUBCATEGORY_ORDER, VEO_PROVIDERS, VIDEO_ANALYSIS_AUDIO_MODES, VIDEO_ANALYSIS_BUCKET_CREDITS, VIDEO_ANALYSIS_BUCKET_GRACE_SEC, VIDEO_ANALYSIS_CLIP_TRANSITIONS_IN, VIDEO_ANALYSIS_DEFAULT_VARIATION, VIDEO_ANALYSIS_DURATION_BUCKETS, VIDEO_ANALYSIS_DURATION_TOLERANCE_SEC, VIDEO_ANALYSIS_ENTITY_SOURCES, VIDEO_ANALYSIS_FACELESS_ANGLES, VIDEO_ANALYSIS_LEGACY_MODELS, VIDEO_ANALYSIS_LLM_MODELS, VIDEO_ANALYSIS_MAX_DURATION_SEC, VIDEO_ANALYSIS_MAX_SCENE_SEC, VIDEO_ANALYSIS_MAX_VARIATIONS, VIDEO_ANALYSIS_MIXED_TIERS, VIDEO_ANALYSIS_SHOT_ANGLES, VIDEO_ANALYSIS_SPEED_EFFECTS, VIDEO_ANALYSIS_STORY_JUMPS, VIDEO_ANALYSIS_TEXT_KINDS, VIDEO_ANALYSIS_TIERS, VIDEO_ANALYSIS_TIER_LABELS, VIDEO_ANALYSIS_TIER_ORDER, VIDEO_ANALYSIS_TIMES_OF_DAY, VIDEO_ANALYSIS_TRANSITIONS, VIDEO_ANALYSIS_VARIATION_SLUGS, VIDEO_ANALYSIS_VISUAL_EFFECTS, VIDEO_ANALYSIS_WINDOW, VIDEO_AUDIO_CAPABILITY, VIDEO_AUDIT_BUCKET_CREDITS, VIDEO_CHARACTER_DESCRIPTION_MAX, VIDEO_CHARACTER_NAME_MAX, VIDEO_CHARACTER_REFS_WIRE_MAX, VIDEO_CHARACTER_VOICE_DESCRIPTION_MAX, VIDEO_CHARACTER_VOICE_EXAMPLE_MAX, VIDEO_CLIP_CREDITS, VIDEO_CRITIC_CREDITS_PER_SHOT, VIDEO_CRITIC_FRAME_MODES, VIDEO_CRITIC_MAX_RETRIES, VIDEO_CRITIC_METADATA_KEYS, VIDEO_CRITIC_MIN_ADHERENCE_SCORE, VIDEO_CRITIC_RESERVED_CREDITS_PER_SHOT, VIDEO_DURATION_AUTO, VIDEO_DURATION_TIERS, VIDEO_GEN_COLLAPSED_T2V_IDS, VIDEO_GEN_PROVIDERS, VIDEO_INPUT_LIP_SYNC_PROVIDERS, VIDEO_LINK_TOLERANT_CONSUMER_TYPES, VIDEO_MODEL_CAPS, VIDEO_MODE_ALIASES, VIDEO_ONLY_PARAMETER_NODE_TYPES, VIDEO_OUTPUT_CANVAS, VIDEO_OVERLAY_ANIMATION_MIN_SCALE, VIDEO_OVERLAY_ANIMATION_SEC, VIDEO_OVERLAY_BADGE_INSET, VIDEO_OVERLAY_BADGE_WIDTH, VIDEO_OVERLAY_BOUNDS, VIDEO_OVERLAY_BOX_FIELDS, VIDEO_OVERLAY_CORNERS, VIDEO_OVERLAY_DEFAULT_BACKGROUND, VIDEO_OVERLAY_ERROR_CODES, VIDEO_OVERLAY_FITS, VIDEO_OVERLAY_HANDLE_IDS, VIDEO_OVERLAY_LAYER_PLAN_HANDLE, VIDEO_OVERLAY_MAX_COMPOSITION_KEY_LENGTH, VIDEO_OVERLAY_MAX_LAYERS, VIDEO_OVERLAY_MAX_TIME_SEC, VIDEO_OVERLAY_MAX_TOTAL_LAYER_BYTES, VIDEO_OVERLAY_OUTPUT_ASPECTS, VIDEO_OVERLAY_PRESETS, VIDEO_OVERLAY_PRESET_IDS, VIDEO_OVERLAY_WARNING_CODES, VIDEO_PRODUCER_TYPES, VIDEO_PROMPT_MAX, VIDEO_PROVIDERS_REQUIRING_IMAGE, VIDEO_PROVIDERS_WITHOUT_DISPATCH, VIDEO_REF_LIMITS_BY_PROVIDER, VIDEO_REF_VIDEO_DURATION_LIMITS, VIDEO_SFX_PRICING, VIDEO_TO_VIDEO_NODE_PROVIDERS, VIDEO_TO_VIDEO_PROVIDERS, VIDEO_UPSCALE_PROVIDERS, VIDEO_UTIL_PRICING, VIDEO_VARIABLE_PRICING, VOICE_CHANGER_MODELS, VOICE_CHANGER_MODEL_IDS, VOICE_DESIGN_MODELS, type ValidateMatchCutInput, ValidateMatchCutInputSchema, type ValidateMatchCutResult, ValidateMatchCutResultSchema, type ValidationField, type Vec3, type Vehicle, type VehicleSubcategory, type VideoAnalysisAudioMode, type VideoAnalysisClipTransitionIn, type VideoAnalysisEntitySource, type VideoAnalysisMixedTier, type VideoAnalysisModelTier, type VideoAnalysisResult, type VideoAnalysisShotAngle, type VideoAnalysisSpeedEffect, type VideoAnalysisTextKind, type VideoAnalysisTier, type VideoAnalysisTransition, type VideoAnalysisVisualEffect, type VideoAudioCapability, type VideoAudioMode, type VideoCharacterRefProblem, type VideoCharacterReference, type VideoCharacterVoice, type VideoClipCost, type VideoCriticFrameMode, type VideoCriticMetadataKey, type VideoCriticShotFields, type VideoCriticVerdict, VideoCriticVerdictSchema, type VideoGenProvider, type VideoLinkNodeFields, type VideoLinkPlatform, type VideoModeAlias, type VideoModelCapabilities, type VideoOutputCanvas, type VideoOverlayBox, type VideoOverlayCanvas, type VideoOverlayComposition, type VideoOverlayCorner, type VideoOverlayErrorCode, type VideoOverlayFit, type VideoOverlayGeometry, type VideoOverlayIssue, type VideoOverlayLayer, type VideoOverlayLayerInput, type VideoOverlayLayerSpec, type VideoOverlayNodeFields, type VideoOverlayOrderable, type VideoOverlayOutputAspect, type VideoOverlayPresetId, type VideoOverlayRect, type VideoOverlayRequest, type VideoOverlayValidation, type VideoOverlayValidationInput, type VideoOverlayWarning, type VideoOverlayWarningCode, type VideoToVideoNodeProvider, type VideoToVideoProvider, type VideoUpscaleProvider, type Voice, type VoiceChangerModel, type VoiceClone, type VoiceDesignModel, type VoiceLibraryParams, type VoiceLibraryResponse, type VoiceMatch, VoiceMatchSchema, type VoiceType, WAN_3_DEFAULT_RESOLUTION, WAN_3_PROVIDERS, WARDROBE_VARIANTS, WEAPONS, WEAPON_SUBCATEGORY_LABELS, WEAPON_SUBCATEGORY_ORDER, WEBHOOK_TRIGGER_NODE_TYPE, WORKFLOW_VISIBILITIES, WORKSPACE_HEADER, WORKSPACE_HEADER_LOWER, WORKSPACE_ROLES, type Weapon, type WeaponSubcategory, type WindowAnalysis, type WindowScene, type WiredSetting, type WordlessTranscriptFeed, type WorkflowAssetKind, type WorkflowExport, type WorkflowExportCharacter, type WorkflowExportCreature, type WorkflowExportLocation, type WorkflowExportObject, type WorkflowImportReport, type WorkflowImportSkippedAsset, type WorkflowMediaRef, type WorkflowPortability, type WorkflowVisibility, type WorkspaceMemberView, type WorkspaceRole, type WorkspaceSettings, WorkspaceSettingsSchema, type WorkspaceSummary, type WorkspaceView, YOUTUBE_HOSTS, adCreativeAnalysisFrom, adviceFamilyOf, aggregateByType, aiAvatarReserveCreditId, alignedFieldList, analyzedSceneSchema, applyAudioSyncOffsets, applyDefaultVideoSelection, applyEdlCreditId, applyHandleInputOverride, applyRange, applyRangeIndices, applyScene3DEditOperations, applyScene3DV2EditOperations, applySettingsInput, applySlots, applyVideoAudioToggle, applyVideoNegativePrompt, applyVideoOverlayPreset, asEditPlanMode, asEditPlanTier, aspectRatioFromDims, aspectRatioOptionsByKind, aspectRatioToNumber, assembleNarratedVideoCredits, assembleVideoOverlayRequest, assertCanvasExecutionAllowed, autoStrokeWidth, availableReasoningEfforts, bucketSecondsFromAuditCreditId, bucketSecondsFromCreditId, buildBoardPrompt, buildChildrenByParent, buildConditionVariables, buildCreditModelIdentifier, buildEditPlanCreditId, buildExpressionFromVisual, buildFeedMaps, buildInstagramScrapeCreditId, buildLipSyncCreditId, buildLlmCreditIdentifier, buildMetaAdsScrapeCreditId, buildModelMenu, buildModelTree, buildMotionCreditModelIdentifier, buildNodePresetExport, buildPanelPrompt, buildPro3DRenderSource, buildProgressSegments, buildRangeLabel, buildScraperCreditId, buildVideoAnalysisCreditId, buildVideoAuditCreditId, buildVideoCreditModelIdentifier, calculateCombinedProgress, calculateMonetizationMarkup, calculateMonetizedCost, calculateProgress, cameraSwitchCameras, cameraSwitchEdlProblem, cameraSwitchSettingsPayload, canonicalExposedFieldKey, canonicalScene3DPlanV2Json, canonicalSourceHandle, canonicalTargetHandle, canonicalTtsProvider, canonicalVarName, canonicalizeOverrideKeys, captionFontWeightSchema, captionInputSchema, captionPlanBodyLevers, captionPlanPassThrough, captionRoutesToRemotion, captionSegmentInputSchema, centreCropToAspect, characterBoardItems, characterBucketDisplayRank, characterMentionSlug, characterMentionableAssetArrays, characterSheetRefItems, characterVariantAssetArrays, checkRefVideoDurations, cinematicCreditId, clampCameraSwitchSetting, clampChars, clampCinematicDuration, clampContentIdeasCount, clampEditPlanClipCount, clampInstagramFeaturedIndex, clampMetaAdsFeaturedIndex, clampSmartCutWindow, classifyCreativeFormat, classifyLegacyTargetHandle, classifyRefToken, cleanOrphanedItems, cleanSpeakerNames, clearImageCriticMetadata, clearVideoCriticMetadata, clearWiredVideoOverlayImageUrls, clipLookSchema, clipNotesFrom, collectAncestorRefs, collectionCapsForTier, collectionReadSince, collectionRecordHeadline, collectionRecordsDigest, combineSameLabelRefs, combineVideosPassThrough, compactWithRows, competitorScanCreditId, competitorScanCredits, competitorScanSearches, computeAggregateLanes, computeFrameFitPlan, computeScene3DPlanV2ContentHash, connectedSettingsSources, contentIdeasCreditFeature, contentIdeasCreditId, contentRecipeCreditId, countEmptyInputSkips, countRefModalityEdges, creditRangesAll, creditsToUsd, decodeProviderItem, defaultCarriedFraction, defaultEdgeOutputMode, defaultResolutionFor, defaultRoleForSource, defaultSpeakerMap, defaultVideoAspectRatio, deriveLinkedFields, deriveLottieSlotFields, deriveSlotRefs, describeAudioSyncOffsetIssue, describeEdgeBehavior, describeMaskRegion, describeNodeAdjustments, describeSlotControl, describeSpeakerTracks, detectVideoLinkPlatform, dialogueHasLever, dialogueProviderOf, dialogueStabilityAccepted, dialogueSupportsTimestamps, dropUnknownBindings, dropUnknownSpeakers, durationsByMode, editPlanBasis, editPlanBucketMinutes, editPlanResultPatch, editPlanSavedOutput, editPlanSourceDurationSec, editPlanTranscriptOrigin, edlDurationMs, edlSegmentOutputStarts, edlSpanKey, edlSpeakerSpace, effectiveContentModel, effectiveReasoningEffort, encodeProviderItem, ensureLocaleCatalogLoaded, entityHydrationColumns, entityMentionSlug, entityMentionSlugForRef, entityScalarFields, entitySlotSchema, entryMatchesQuery, estimateCombineVideosCredits, estimateFilmCredits, estimateLoopTrimAddonCredits, estimateLoopVideoCredits, estimateScriptDurationSec, estimateSheetCost, estimateTrimVideoCredits, evaluateCondition, evaluateConditionGroup, evaluateJsonExpression, evaluateJsonPath, executionOutcome, expandExtraRefsToConnectedReferences, expandItemsWithRepeat, expandVideoOverlayLayer, expandVideoOverlayPresets, extractAllGeneratedResults, extractCharacterLoraFields, extractGeneratedJsonAsList, extractPresetData, extractReferencedLabels, extractVideoDurationFromNode, fanOutItemMeta, fanOutTextFeedsPrompt, fanOutUrlItemIsText, featuredInstagramOutputs, featuredMetaAdOutputs, fieldKeyFromHandle, filterCloneNodes, findCharacterMentionTokens, findDialogueCapabilities, findEntityMentionTokens, findImageMentionTokens, findLocationMentionTokens, findRestrictedPickerValue, findSeedance2AudioOverLimit, findSegmentOverlap, findUgcLockedFields, findWordlessTranscriptFeeds, firstSightExtraRole, fitAspectRatioToModel, flattenItems, formatVideoOverlayError, getAnimal, getAnimalLabel, getAnimalPromptHint, getAnimalTerm, getAspectRatioOptions, getAudioCrossfadeCurve, getCharacterFacet, getCombineTransition, getCreditRange, getDialogueCapabilities, getDurationsForModel, getEffectiveRepeatCount, getFeaturedEntities, getFurniture, getFurnitureLabel, getInputFieldExtraKeys, getInputFieldSchema, getInputNodes, getItemSortId, getLipSyncMaxAudioSeconds, getLlmModalityCaps, getLlmModel, getLlmTier, getLocaleDirection, getMaxImagePromptChars, getMaxNegativePromptChars, getMaxSunoPromptChars, getMaxSunoStyleChars, getMaxTtsChars, getMaxVideoPromptChars, getModel, getNodeLabel, getNodeResult, getOutputNodes, getOutputType, getParameterValue, getQualityOptions, getResolutionOptions, getRouteReachableNodeIds, getSpeakerLayout, getSpeakerSwitch, getStrategy, getTargetField, getTtsCapabilities, getValidValues, getVehicle, getVehicleLabel, getVideoAudioCapability, getWeapon, getWeaponLabel, groupByFamily, groupByKindAndFamily, groupHandleId, groupLlmModelsByVendor, hasContiguousSegmentDurations, hasDrawableVideoOverlayBox, hasFeature, hasUrlParserHazard, hexToRgbaArray, holdsPreviewRender, hostnameMatchesAllowlist, humanizeSlotSid, imageMentionSlug, imageMentionSlugForRef, imageOverlayBillableVariants, imageOverlayCredits, imageReferenceLimit, inferMusicVideo, ingestRecordFromJson, instagramAnalysisCreditId, instagramAnalysisTierFrom, instagramPostLink, instagramRequestedCount, instagramScrapeCreditIdFromNode, instagramScrapeMode, instagramScrapeSources, instagramScrapeTier, isAggregateableType, isAutoVideoDuration, isCharacterAspectRatio, isCollectInEdge, isCollectionMedia, isCollectionUrl, isCompetitorAboutPlatform, isCronExpression, isDefaultSelectorConfig, isEdlTargetAspect, isExpandedClone, isFacebookPageUrl, isFanInEdge, isFanInNodeType, isFanOutUrlItem, isFlux2Model, isGeminiOmniProvider, isGvpSupportedProvider, isHandleInputWired, isInstagramScrapeCount, isInstagramScrapeMode, isKineticCaptionStyle, isKnownScene3DEngine, isKnownSpeakerEmphasisStyle, isLegacySunoModel, isLocationUsageMode, isMeasurableCard, isMetaAdsFormat, isMetaAdsPlatform, isMetaAdsScrapeCount, isMetaAdsScrapeMode, isMetaCdnImageUrl, isMinimaxH3Provider, isObjectAspectRatio, isOversizedScene, isPaygRetentionActive, isPerSecondLipSyncProvider, isPro3DRenderJobOutput, isPro3DRenderQuote, isPro3DRenderRenderOnly, isProjectedTriggerNodeType, isRenderNodeType, isRtlText, isScene3DAuthoringEngine, isScene3DCameraTrack, isScene3DHttpUrl, isScene3DPlan, isScene3DPlanV1, isScene3DPlanV2, isScene3DReviewUnavailableReason, isScene3DSchemaVersionSupported, isScraperActor, isSeedance2Provider, isSeedanceVideoEditProvider, isSettingsHintEdge, isSettingsHintSource, isSettingsSourceType, isSocialPost, isSocialSearchPickFrozen, isSocialVideoUrl, isTelegramAccountTriggerNamedHandle, isTemplateCategory, isTiltDirection, isUsageMode, isValidTimezone, isVeoProvider, isVideoAnalysisMixedTier, isVideoAnalysisTier, isVideoOverlayCorner, isVideoOverlayOutputAspect, isVideoOverlayPresetId, isWan3Provider, jsonResultToList, knownEntitySlugsFromRefs, knownImageSlugsFromRefs, legacyScheduleToRules, listBoardTemplates, listModels, listResultsServeHandle, listSlotSids, liveRowColumn, llmRouteDefaults, localMinuteKey, localTimeIn, locationMentionSlug, locationReferencePhotoKindLabel, locationUsageModeLabel, ltxExtendDurationSec, ltxRetakeDurationSec, mapAspectRatio, mapQuality, mapShotIntentToProviderDirectives, matchVariant, matchesCron, matchesCronField, maxSegmentSecFor, maxSegmentsFor, maxVideoDurationSec, measuredCanvasCombinations, mergeClipLook, mergeEdlSourceOffsets, mergeExposedSettings, mergeNodeInputOverrides, metaAdsAdvertisersFrom, metaAdsAnalysisCreditId, metaAdsAnalysisTier, metaAdsAnalysisTierFrom, metaAdsNodeMode, metaAdsScrapeCreditIdFromNode, metaAdsScrapeSources, metaAdsScrapeTier, metaAdsScrapeWireSources, migrateEdgeOutputMode, migrateToItems, minSegmentSecFor, minimalRatioDimensions, modelIdsByKindMode, modelToNodeTarget, modelsForInputMode, modelsWithFeature, motionGraphicsFeature, newScene3DRevisionId, nextScheduleRuns, nodeFeedsAnything, nodeStateMayCarryOutput, nonBlankCaptionText, normalizeCaptionNumericLevers, normalizeCollectionFields, normalizeCollectionMedia, normalizeDedupeKey, normalizeEdl, normalizeLottieLayers, normalizeMinimaxH3Resolution, normalizeModelInput, normalizeNodeModelParams, normalizePinterestUrl, normalizeRoleSlug, normalizeSavedPostTags, normalizeScheduleRule, normalizeScheduleRules, normalizeSpeakerTrackSetDescriptor, normalizeSpeakerTracks, normalizeTemplateCategory, normalizeTranscript, normalizeTtsNeighbourText, normalizeVideoOverlayNodes, normalizeVideoRequestParams, normalizeWan3Resolution, orderedLlmModels, outputMsToMasterMs, overlayFontById, overlayImageEffectsSchema, overlayPlatformById, overlayQrStyleSchema, overlayShapeElement, overlayShapeStyleSchema, overlayStrokeSchema, overlayTextStyleSchema, overlayVariantHandle, overlayVariantIdFromHandle, ownsItsList, parseAspectToken, parseAttributedDialogue, parseCaptionPlan, parseCharacterMentionToken, parseEditPlanMode, parseEntityMentionToken, parseGroupHandle, parseHandleId, parseImageMentionToken, parseListExpression, parseLocationMentionToken, parseNodePresetExport, parseNodeRef, parseScene3DCameraTrackJson, parseScene3DPlanV2Json, parseSpeakerEmphasisStyle, parseVideoOverlayLayerPlan, pickAiAvatarBucket, pickHeldRow, pickIds, pickLipSyncBucket, pickSocialPosts, pickSwitchXFrameTier, pickVideoAnalysisBucket, planClipKeyAt, planFanOut, planFeedEmission, planSheetGeneration, planSheetPanels, preferredInputModeForModel, presentTypes, presetApplyClearKeys, presetDataMatches, presetEntries, presetLeverClearKeys, previewGatedNodeIds, previewHorizonMs, previewStops, pricedOutputDurationSec, pricedVideoSelection, pro3DRenderCoreOutputSchema, pro3DRenderFrameUnit, pro3DRenderJobOutputSchema, pro3DRenderProducedSchemaVersion, pro3DRenderQuoteSchema, pro3DRenderReviewVerdictSchema, pro3DRenderShotStillSchema, pro3DRenderShotStills, pro3DRenderTimingOverrides, qualityOptionsByKind, readPromptAffixes, readScriptSettings, reasoningOutputFloor, refHandleCategory, referenceModalityForHandle, referenceSheetCreditId, registerCatalogSidecars, registerSidecarLoaders, remapMsThroughEdl, remapTranscriptThroughEdl, renderAnalyzedScene, renderClipKey, renderNodeOf, renderPlanBasis, renderPlanClipKey, renderPlanNodeId, renderPlanPath, renderPlanRowClipKeys, renderPlanValue, renderReadBasis, renderResultStamp, renderRunQuality, renderSentRowStamps, renderSettingsBasis, renderVideoCreditId, renderedSourceHandle, rendersAsPreview, rendersLatestBatch, rendersTranscriptJson, requiresSequenceExecution, resetCatalogSidecars, resolutionOptionsByKind, resolveAiAvatarCreditId, resolveAudioCrossfadeCurve, resolveCaptionLevers, resolveCaptionLook, resolveCharacterAspectRatio, resolveCinematicCreditId, resolveConditionValue, resolveDefaultRole, resolveDescription, resolveDialogueVoices, resolveEditPlanOutput, resolveEditPlanSources, resolveEdlSegmentSlots, resolveEffectiveSourceType, resolveEffectiveTier, resolveEntityAspect, resolveFieldMappings, resolveFrameDelivery, resolveFrameFitAspect, resolveGvpAnchorWire, resolveImageGenCreditIdentifier, resolveIndex, resolveInstagramScrapeCreditId, resolveLabel, resolveListExpression, resolveListFanOut, resolveLlmCreditId, resolveLocationFields, resolveLocationPresetCatalog, resolveLottieOverlaySrc, resolveMetaAdsScrapeCreditId, resolveMusicProvider, resolveNodeRefs, resolveNormalizedImageGen, resolveObjectAspectRatio, resolveOutputCanvas, resolvePipelineModel, resolveRelativeWindowToken, resolveScene3DAuthoringEngine, resolveScraperCreditId, resolveSelectorRefs, resolveSeparator, resolveSheetSections, resolveSlideshowTransition, resolveSourceThroughConnectedList, resolveStoredTier, resolveSwitchXCreditId, resolveTemplateCategory, resolveTopazUpscale, resolveVideoAnalysisModel, resolveVideoLinkOutput, resolveVideoModeForInputs, resolveVideoOverlayGeometry, resolveVideoProviderForMode, resolveWiredSettings, resolveXfadeName, rewriteSceneBindings, rewriteSlotTokens, rewriteSpeakerSlots, rgbaArrayToHex, roleToPhrase, rotationVec3Schema, ruleMatches, runSelector, safetyRetryPolicy, sanitizeRole, savedRenderBatch, savedRenderBatchUrls, savedRenderOutput, scaleVec3Schema, scene3DAcceptedSchemaVersionsSchema, scene3DAnchorNameSchema, scene3DAnchorSchema, scene3DAnyPlanSchema, scene3DAssetAnimationSchema, scene3DAssetIdSchema, scene3DAssetRefSchema, scene3DCameraChangesSchema, scene3DCameraKeyframeSchema, scene3DCameraSampleSchema, scene3DCameraSchema, scene3DCameraTrackIssues, scene3DCameraTrackObjectSchema, scene3DCameraTrackPlanIssues, scene3DCameraTrackSchema, scene3DClayLightingSchema, scene3DColorSchema, scene3DDeepEqual, scene3DEasingSchema, scene3DEditOperationSchema, scene3DEditOperationsSchema, scene3DEngineIdSchema, scene3DEntityAcceptsOverlay, scene3DEntityCapabilitySchema, scene3DEntityV2Schema, scene3DEntityVisualSchema, scene3DIdSchema, scene3DInputAssetSchema, scene3DInputAssetsForEngine, scene3DInputAssetsSchema, scene3DJsonByteLength, scene3DLightingChangesSchema, scene3DLightingSchema, scene3DMaterialBindingSchema, scene3DMaterialNameSchema, scene3DMaterialRoleSchema, scene3DNodeIdSchema, scene3DNodeNameSchema, scene3DObjectChangesSchema, scene3DObjectKeyframeSchema, scene3DObjectSchema, scene3DOverrideSchema, scene3DPlanIssues, scene3DPlanSchema, scene3DPlanSchemaVersion, scene3DPlanV1Issues, scene3DPlanV1ObjectSchema, scene3DPlanV1Schema, scene3DPlanV2Issues, scene3DPlanV2ObjectSchema, scene3DPlanV2Schema, scene3DPrimitiveSchema, scene3DProjectionIssues, scene3DProvenanceSchema, scene3DReferenceSchema, scene3DRenderTier, scene3DRenderTierCredits, scene3DReviewNote, scene3DReviewVerdictOf, scene3DSampleForFrame, scene3DSha256Schema, scene3DShotForFrame, scene3DShotIndexForFrame, scene3DShotSchema, scene3DUrlSchema, scene3DV2AdmissionIssues, scene3DV2EditOperationSchema, scene3DV2EditOperationsSchema, scene3DV2HierarchyDepth, scene3DV2NormalizationIssues, scene3DV2OverrideInputSchema, scene3DV2ResourceUsage, scene3DVersionTokenSchema, scene3DZodIssues, scheduleMatchesAt, scheduleOccurrences, searchModelVariants, seedance2AudioLimitSec, seedanceVideoEditCreditId, segmentDurationsFor, selectByModulo, selectByNamedKey, selectByPredicate, selectListItems, selectLoraRoutingForMentions, selectRandom, setRegisteredPersonPackFields, settingsInputAccepts, settingsInputFields, settingsProviderModels, settingsSourceForField, settingsSourceForType, settledWithLimit, signedLinkExpiresAt, sizeVec3Schema, slotVariationSchema, snapToModelDuration, socialPostDigestLine, socialPostsDigest, socialPostsFrom, socialPostsLongestVideoSec, socialSearchCount, socialSearchCountry, socialSearchCreditId, socialSearchCreditIdFromNode, socialSearchEffectiveCount, socialSearchMaxCount, socialSearchMode, socialSearchPages, socialSearchPickTop, socialSearchPlatform, socialSearchPostLink, socialSearchPostVideo, socialSearchRegion, socialSearchRequestFromNode, sortCharacterEntriesForDisplay, sortListItems, sourceRefKey, speakerLayoutAllows, speakerPresentationWarnings, speakerSwitchOverlaps, speakerTurns, speechCredits, speechPriceUnits, speechUnitCreditId, speedRampCreditId, spliceDelimitedRows, splitByLoopDelimiter, splitGeneratedItems, splitInstagramTargets, splitMetaAdsAdvertiserNames, splitMetaAdsPageUrls, spreadJsonArrayIfSingleton, stringifyPathResults, stripDerivedAnalysisFields, stripExportContent, stripStudioDraftSettings, stripStudioDraftWorkflow, stripStudioTakeVoiceRecords, stripStudioTransientSettings, stripTransientRuntimeData, stripUgcRunState, stripUnownedRefs, styleCaptionPlan, summarizeScene3DOperations, sunoCreditType, sunoModelHonoursDuration, supportedDefaultDimensions, supportsAdvancedMode, supportsAutoVideoDuration, supportsEndAnchor, supportsExtendRender, telegramAccountListeningSignature, telegramAccountTriggerOutputs, telegramFeedDigest, telegramPostsFrom, telegramSendAsOf, telegramSendDestinationOf, templateCategoryStoredValues, textToAudioBilledSeconds, textToAudioCreditId, timezoneOffsetMinutes, toConnectedReference, toConnectedReferences, toCustomVideoOverlayLayer, togglePick, transcribeLaneSupportsWordTimestamps, transcribeProvidersWithWordTimestamps, transcribeWordTimestampsRefusal, transcriptDurationSec, transcriptSpeakerLabels, tryParseJson, ttsHasLever, ttsLanguageCodes, ttsSupportsAudioTags, ttsSupportsSsmlBreaks, ttsSupportsStitching, ttsSupportsTimestamps, ugcCallToRouteBody, uiAspectRatioFill, uiDurationFill, uiResolutionFill, unresolvedRefTokens, unwrapEditPlanOutput, unwrapUnresolvedTokens, usageModeDirective, usageModeIncludesName, usageModeLabel, usdToCredits, validateAiAvatarPayload, validateCinematicAvatarPayload, validateDurationForFormat, validateEditedEdl, validateEdl, validateEdlClipSet, validateModeActivation, validateModelInput, validateNoNestedGroups, validateObjects, validateProviderForNodeType, validateSpeakerTrackSetDescriptor, validateSpeakerTracks, validateSubWorkflowRoutes, validateVideoOverlayRequest, variantJobId, vec3Schema, verifyScene3DPlanV2ContentHash, videoAnalysisCreditSegment, videoAnalysisNumWindows, videoAnalysisResultSchema, videoAuditCreditsForBucket, videoCharacterDistinctVoices, videoCharacterRefCap, videoCharacterRefProblem, videoCharacterRefProviders, videoCharacterRefUnits, videoCharacterVoiceCap, videoCharacterVoiceKey, videoCharacterVoiceProblem, videoLinkDownloadedFile, videoLinkNeedsDownload, videoLinkPageUrl, videoModelCanSpeakDialogue, videoModelSupportsAudio, videoNegativeSuffix, videoOverlayCanvas, videoOverlayCompositionKey, videoOverlayLayerLabel, videoOverlayPassThrough, videoOverlayPresetBox, videoOverlayRenderOrder, videoOverlaySlotOfHandle, videoOverlaySlotSources, videoProviderFoldsLoneEndFrame, videoProviderRequiresImage, videoSfxCreditId, windowAnalysisSchema, withRunOverrides, withWiredSettings, zipMergeLists };
|