@cueframe/kernel 0.2.32 → 0.2.34
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/_members/errors/registry.d.ts +4 -0
- package/dist/_members/render-harness/assetRefs.d.ts +26 -0
- package/dist/_members/render-harness/assetRefs.d.ts.map +1 -0
- package/dist/_members/render-harness/cardAssetAdmission.d.ts.map +1 -1
- package/dist/_members/render-harness/cardFonts.d.ts +13 -0
- package/dist/_members/render-harness/cardFonts.d.ts.map +1 -0
- package/dist/_members/render-harness/cardRender.d.ts +1 -0
- package/dist/_members/render-harness/cardRender.d.ts.map +1 -1
- package/dist/_members/render-harness/css-tree-subpaths.d.ts +5 -0
- package/dist/_members/render-harness/renderInputAssets.d.ts.map +1 -1
- package/dist/authoring.js +2 -2
- package/dist/{chunk-LLC6TCH5.js → chunk-3GNTA646.js} +1 -1
- package/dist/{chunk-LEJ5QXHP.js → chunk-4RREA7VA.js} +7 -6
- package/dist/{chunk-3OOMVQ6I.js → chunk-5YO4LAB7.js} +2 -2
- package/dist/{chunk-WYKUWRQG.js → chunk-A3MXR6JI.js} +33 -1
- package/dist/{chunk-F5B6OM73.js → chunk-ANNB4VC6.js} +1283 -1271
- package/dist/{chunk-T4XTC35J.js → chunk-DLKCGEKP.js} +1 -1
- package/dist/{chunk-Q244EHRI.js → chunk-GMVUJYPM.js} +1 -1
- package/dist/{chunk-MN6D3U5N.js → chunk-KSRFYFUZ.js} +8 -1
- package/dist/{chunk-JGXJEY77.js → chunk-NJOWIGUL.js} +3 -3
- package/dist/chunk-OSMXQV5V.js +18 -0
- package/dist/chunk-RAPDICTC.js +82 -0
- package/dist/{chunk-NSXFYDBP.js → chunk-TCYULWNP.js} +1 -1
- package/dist/{chunk-AZSTZE64.js → chunk-W44ASS4N.js} +6 -6
- package/dist/{chunk-JTVHOHT6.js → chunk-YOE5Y2SJ.js} +1 -1
- package/dist/compose.js +20 -20
- package/dist/composition/projection.js +2 -2
- package/dist/composition-ops.js +5 -5
- package/dist/composition.js +2 -2
- package/dist/core/render.js +3 -3
- package/dist/core/select.js +2 -2
- package/dist/core.js +3 -3
- package/dist/director/ai-sdk.js +3 -3
- package/dist/director/domain.js +2 -2
- package/dist/director.js +3 -3
- package/dist/errors.js +3 -1
- package/dist/mcp/adapter.js +3 -3
- package/dist/mcp/core.js +1 -1
- package/dist/mcp/curation.js +1 -1
- package/dist/mcp/server.js +4 -4
- package/dist/mcp.js +4 -4
- package/dist/primitives/hero-text.js +2 -2
- package/dist/primitives/lib/index.js +6 -6
- package/dist/primitives/lib.js +6 -6
- package/dist/primitives/scenes.js +2 -2
- package/dist/primitives/text.js +3 -3
- package/dist/primitives.js +18 -18
- package/dist/render-harness/cardAssetAdmission.js +3 -2
- package/dist/render-harness/cardFonts.d.ts +1 -0
- package/dist/render-harness/cardFonts.js +13 -0
- package/dist/render-harness/renderInputAssets.js +2 -1
- package/dist/render-harness.js +28 -7
- package/package.json +17 -13
- package/dist/{chunk-ZDL7XEXW.js → chunk-RBWS5XHE.js} +7 -7
- package/dist/{chunk-7SQOXIWR.js → chunk-RL5SO653.js} +3 -3
- package/dist/{chunk-IAQHWJUO.js → chunk-TE3PNQG6.js} +4 -4
|
@@ -160,7 +160,8 @@ __export(zod_exports, {
|
|
|
160
160
|
GetComposeJobResponse: () => GetComposeJobResponse,
|
|
161
161
|
GetComposeSessionCompositionParams: () => GetComposeSessionCompositionParams,
|
|
162
162
|
GetComposeSessionCompositionResponse: () => GetComposeSessionCompositionResponse,
|
|
163
|
-
GetCompositionParams: () =>
|
|
163
|
+
GetCompositionParams: () => GetCompositionParams2,
|
|
164
|
+
GetCompositionQueryParams: () => GetCompositionQueryParams,
|
|
164
165
|
GetCompositionResponse: () => GetCompositionResponse,
|
|
165
166
|
GetExportParams: () => GetExportParams,
|
|
166
167
|
GetExportResponse: () => GetExportResponse,
|
|
@@ -429,7 +430,8 @@ __export(zod_exports, {
|
|
|
429
430
|
getComposeJobResponse: () => GetComposeJobResponse,
|
|
430
431
|
getComposeSessionCompositionParams: () => GetComposeSessionCompositionParams,
|
|
431
432
|
getComposeSessionCompositionResponse: () => GetComposeSessionCompositionResponse,
|
|
432
|
-
getCompositionParams: () =>
|
|
433
|
+
getCompositionParams: () => GetCompositionParams2,
|
|
434
|
+
getCompositionQueryParams: () => GetCompositionQueryParams,
|
|
433
435
|
getCompositionResponse: () => GetCompositionResponse,
|
|
434
436
|
getExportParams: () => GetExportParams,
|
|
435
437
|
getExportResponse: () => GetExportResponse,
|
|
@@ -1417,7 +1419,7 @@ var BriefCreateRequest = zod19.strictObject({
|
|
|
1417
1419
|
"zPlane": zod19.enum(["front", "behind-subject"]).optional()
|
|
1418
1420
|
}), zod19.strictObject({
|
|
1419
1421
|
"kind": zod19.literal("card"),
|
|
1420
|
-
"html": zod19.string().min(1).describe("Your card's HTML \u2014 rendered VERBATIM as the graphic (shell motion via applyMotionPreset in a FOLLOWING call). CANVAS CONTRACT: the card renders in a viewport equal to the composition format's pixel frame (1080\xD71920 at 9:16 fhd); the root is NOT auto-pinned \u2014 declare explicit width/height matching the frame (box-sizing:border-box) and anchor content with flex/grid; position:absolute;inset:0 on the root does NOT fill the frame; for edge-to-edge backgrounds add an inner absolutely-positioned layer with generous negative inset. Overlay compositing applies a ~92% safe-area inset \u2014 keep critical copy away from the extreme edges.
|
|
1422
|
+
"html": zod19.string().min(1).describe("Your card's HTML \u2014 rendered VERBATIM as the graphic (shell motion via applyMotionPreset in a FOLLOWING call). CANVAS CONTRACT: the card renders in a viewport equal to the composition format's pixel frame (1080\xD71920 at 9:16 fhd); the root is NOT auto-pinned \u2014 declare explicit width/height matching the frame (box-sizing:border-box) and anchor content with flex/grid; position:absolute;inset:0 on the root does NOT fill the frame; for edge-to-edge backgrounds add an inner absolutely-positioned layer with generous negative inset. Overlay compositing applies a ~92% safe-area inset \u2014 keep critical copy away from the extreme edges. FONTS: name a family from GET /v1/fonts (list_render_fonts) \u2014 the renderer loads those faces for the card and waits for them, so `font-family: Inter` draws Inter. `@import` and remote font files are REFUSED: the card renders with no network. A family that is not on that list has no bytes behind it and the browser falls back, so end any stack with a generic (`Inter, sans-serif`) rather than relying on a system face being present."),
|
|
1421
1423
|
"tokens": zod19.record(zod19.string(), zod19.string()).optional(),
|
|
1422
1424
|
"zPlane": zod19.literal("front").optional()
|
|
1423
1425
|
})]),
|
|
@@ -1674,7 +1676,7 @@ var BriefResponse = zod21.strictObject({
|
|
|
1674
1676
|
"zPlane": zod21.enum(["front", "behind-subject"]).optional()
|
|
1675
1677
|
}), zod21.strictObject({
|
|
1676
1678
|
"kind": zod21.literal("card"),
|
|
1677
|
-
"html": zod21.string().min(1).describe("Your card's HTML \u2014 rendered VERBATIM as the graphic (shell motion via applyMotionPreset in a FOLLOWING call). CANVAS CONTRACT: the card renders in a viewport equal to the composition format's pixel frame (1080\xD71920 at 9:16 fhd); the root is NOT auto-pinned \u2014 declare explicit width/height matching the frame (box-sizing:border-box) and anchor content with flex/grid; position:absolute;inset:0 on the root does NOT fill the frame; for edge-to-edge backgrounds add an inner absolutely-positioned layer with generous negative inset. Overlay compositing applies a ~92% safe-area inset \u2014 keep critical copy away from the extreme edges.
|
|
1679
|
+
"html": zod21.string().min(1).describe("Your card's HTML \u2014 rendered VERBATIM as the graphic (shell motion via applyMotionPreset in a FOLLOWING call). CANVAS CONTRACT: the card renders in a viewport equal to the composition format's pixel frame (1080\xD71920 at 9:16 fhd); the root is NOT auto-pinned \u2014 declare explicit width/height matching the frame (box-sizing:border-box) and anchor content with flex/grid; position:absolute;inset:0 on the root does NOT fill the frame; for edge-to-edge backgrounds add an inner absolutely-positioned layer with generous negative inset. Overlay compositing applies a ~92% safe-area inset \u2014 keep critical copy away from the extreme edges. FONTS: name a family from GET /v1/fonts (list_render_fonts) \u2014 the renderer loads those faces for the card and waits for them, so `font-family: Inter` draws Inter. `@import` and remote font files are REFUSED: the card renders with no network. A family that is not on that list has no bytes behind it and the browser falls back, so end any stack with a generic (`Inter, sans-serif`) rather than relying on a system face being present."),
|
|
1678
1680
|
"tokens": zod21.record(zod21.string(), zod21.string()).optional(),
|
|
1679
1681
|
"zPlane": zod21.literal("front").optional()
|
|
1680
1682
|
})]),
|
|
@@ -1920,7 +1922,7 @@ var BriefPatchRequest = zod23.strictObject({
|
|
|
1920
1922
|
"zPlane": zod23.enum(["front", "behind-subject"]).optional()
|
|
1921
1923
|
}), zod23.strictObject({
|
|
1922
1924
|
"kind": zod23.literal("card"),
|
|
1923
|
-
"html": zod23.string().min(1).describe("Your card's HTML \u2014 rendered VERBATIM as the graphic (shell motion via applyMotionPreset in a FOLLOWING call). CANVAS CONTRACT: the card renders in a viewport equal to the composition format's pixel frame (1080\xD71920 at 9:16 fhd); the root is NOT auto-pinned \u2014 declare explicit width/height matching the frame (box-sizing:border-box) and anchor content with flex/grid; position:absolute;inset:0 on the root does NOT fill the frame; for edge-to-edge backgrounds add an inner absolutely-positioned layer with generous negative inset. Overlay compositing applies a ~92% safe-area inset \u2014 keep critical copy away from the extreme edges.
|
|
1925
|
+
"html": zod23.string().min(1).describe("Your card's HTML \u2014 rendered VERBATIM as the graphic (shell motion via applyMotionPreset in a FOLLOWING call). CANVAS CONTRACT: the card renders in a viewport equal to the composition format's pixel frame (1080\xD71920 at 9:16 fhd); the root is NOT auto-pinned \u2014 declare explicit width/height matching the frame (box-sizing:border-box) and anchor content with flex/grid; position:absolute;inset:0 on the root does NOT fill the frame; for edge-to-edge backgrounds add an inner absolutely-positioned layer with generous negative inset. Overlay compositing applies a ~92% safe-area inset \u2014 keep critical copy away from the extreme edges. FONTS: name a family from GET /v1/fonts (list_render_fonts) \u2014 the renderer loads those faces for the card and waits for them, so `font-family: Inter` draws Inter. `@import` and remote font files are REFUSED: the card renders with no network. A family that is not on that list has no bytes behind it and the browser falls back, so end any stack with a generic (`Inter, sans-serif`) rather than relying on a system face being present."),
|
|
1924
1926
|
"tokens": zod23.record(zod23.string(), zod23.string()).optional(),
|
|
1925
1927
|
"zPlane": zod23.literal("front").optional()
|
|
1926
1928
|
})]),
|
|
@@ -2666,7 +2668,7 @@ var Composition = zod57.strictObject({
|
|
|
2666
2668
|
"zPlane": zod57.enum(["front", "behind-subject"]).optional()
|
|
2667
2669
|
}), zod57.strictObject({
|
|
2668
2670
|
"kind": zod57.literal("card"),
|
|
2669
|
-
"html": zod57.string().min(1).describe("Your card's HTML \u2014 rendered VERBATIM as the graphic (shell motion via applyMotionPreset in a FOLLOWING call). CANVAS CONTRACT: the card renders in a viewport equal to the composition format's pixel frame (1080\xD71920 at 9:16 fhd); the root is NOT auto-pinned \u2014 declare explicit width/height matching the frame (box-sizing:border-box) and anchor content with flex/grid; position:absolute;inset:0 on the root does NOT fill the frame; for edge-to-edge backgrounds add an inner absolutely-positioned layer with generous negative inset. Overlay compositing applies a ~92% safe-area inset \u2014 keep critical copy away from the extreme edges.
|
|
2671
|
+
"html": zod57.string().min(1).describe("Your card's HTML \u2014 rendered VERBATIM as the graphic (shell motion via applyMotionPreset in a FOLLOWING call). CANVAS CONTRACT: the card renders in a viewport equal to the composition format's pixel frame (1080\xD71920 at 9:16 fhd); the root is NOT auto-pinned \u2014 declare explicit width/height matching the frame (box-sizing:border-box) and anchor content with flex/grid; position:absolute;inset:0 on the root does NOT fill the frame; for edge-to-edge backgrounds add an inner absolutely-positioned layer with generous negative inset. Overlay compositing applies a ~92% safe-area inset \u2014 keep critical copy away from the extreme edges. FONTS: name a family from GET /v1/fonts (list_render_fonts) \u2014 the renderer loads those faces for the card and waits for them, so `font-family: Inter` draws Inter. `@import` and remote font files are REFUSED: the card renders with no network. A family that is not on that list has no bytes behind it and the browser falls back, so end any stack with a generic (`Inter, sans-serif`) rather than relying on a system face being present."),
|
|
2670
2672
|
"tokens": zod57.record(zod57.string(), zod57.string()).optional(),
|
|
2671
2673
|
"zPlane": zod57.literal("front").optional()
|
|
2672
2674
|
})]),
|
|
@@ -6153,7 +6155,7 @@ var CompositionOp = zod66.union([zod66.strictObject({
|
|
|
6153
6155
|
"zPlane": zod66.enum(["front", "behind-subject"]).optional()
|
|
6154
6156
|
}), zod66.strictObject({
|
|
6155
6157
|
"kind": zod66.literal("card"),
|
|
6156
|
-
"html": zod66.string().min(1).describe("Your card's HTML \u2014 rendered VERBATIM as the graphic (shell motion via applyMotionPreset in a FOLLOWING call). CANVAS CONTRACT: the card renders in a viewport equal to the composition format's pixel frame (1080\xD71920 at 9:16 fhd); the root is NOT auto-pinned \u2014 declare explicit width/height matching the frame (box-sizing:border-box) and anchor content with flex/grid; position:absolute;inset:0 on the root does NOT fill the frame; for edge-to-edge backgrounds add an inner absolutely-positioned layer with generous negative inset. Overlay compositing applies a ~92% safe-area inset \u2014 keep critical copy away from the extreme edges.
|
|
6158
|
+
"html": zod66.string().min(1).describe("Your card's HTML \u2014 rendered VERBATIM as the graphic (shell motion via applyMotionPreset in a FOLLOWING call). CANVAS CONTRACT: the card renders in a viewport equal to the composition format's pixel frame (1080\xD71920 at 9:16 fhd); the root is NOT auto-pinned \u2014 declare explicit width/height matching the frame (box-sizing:border-box) and anchor content with flex/grid; position:absolute;inset:0 on the root does NOT fill the frame; for edge-to-edge backgrounds add an inner absolutely-positioned layer with generous negative inset. Overlay compositing applies a ~92% safe-area inset \u2014 keep critical copy away from the extreme edges. FONTS: name a family from GET /v1/fonts (list_render_fonts) \u2014 the renderer loads those faces for the card and waits for them, so `font-family: Inter` draws Inter. `@import` and remote font files are REFUSED: the card renders with no network. A family that is not on that list has no bytes behind it and the browser falls back, so end any stack with a generic (`Inter, sans-serif`) rather than relying on a system face being present."),
|
|
6157
6159
|
"tokens": zod66.record(zod66.string(), zod66.string()).optional(),
|
|
6158
6160
|
"zPlane": zod66.literal("front").optional()
|
|
6159
6161
|
})]),
|
|
@@ -6302,7 +6304,7 @@ var CompositionOp = zod66.union([zod66.strictObject({
|
|
|
6302
6304
|
"zPlane": zod66.enum(["front", "behind-subject"]).optional()
|
|
6303
6305
|
}), zod66.strictObject({
|
|
6304
6306
|
"kind": zod66.literal("card"),
|
|
6305
|
-
"html": zod66.string().min(1).describe("Your card's HTML \u2014 rendered VERBATIM as the graphic (shell motion via applyMotionPreset in a FOLLOWING call). CANVAS CONTRACT: the card renders in a viewport equal to the composition format's pixel frame (1080\xD71920 at 9:16 fhd); the root is NOT auto-pinned \u2014 declare explicit width/height matching the frame (box-sizing:border-box) and anchor content with flex/grid; position:absolute;inset:0 on the root does NOT fill the frame; for edge-to-edge backgrounds add an inner absolutely-positioned layer with generous negative inset. Overlay compositing applies a ~92% safe-area inset \u2014 keep critical copy away from the extreme edges.
|
|
6307
|
+
"html": zod66.string().min(1).describe("Your card's HTML \u2014 rendered VERBATIM as the graphic (shell motion via applyMotionPreset in a FOLLOWING call). CANVAS CONTRACT: the card renders in a viewport equal to the composition format's pixel frame (1080\xD71920 at 9:16 fhd); the root is NOT auto-pinned \u2014 declare explicit width/height matching the frame (box-sizing:border-box) and anchor content with flex/grid; position:absolute;inset:0 on the root does NOT fill the frame; for edge-to-edge backgrounds add an inner absolutely-positioned layer with generous negative inset. Overlay compositing applies a ~92% safe-area inset \u2014 keep critical copy away from the extreme edges. FONTS: name a family from GET /v1/fonts (list_render_fonts) \u2014 the renderer loads those faces for the card and waits for them, so `font-family: Inter` draws Inter. `@import` and remote font files are REFUSED: the card renders with no network. A family that is not on that list has no bytes behind it and the browser falls back, so end any stack with a generic (`Inter, sans-serif`) rather than relying on a system face being present."),
|
|
6306
6308
|
"tokens": zod66.record(zod66.string(), zod66.string()).optional(),
|
|
6307
6309
|
"zPlane": zod66.literal("front").optional()
|
|
6308
6310
|
})]).optional(),
|
|
@@ -6447,7 +6449,7 @@ var CompositionOp = zod66.union([zod66.strictObject({
|
|
|
6447
6449
|
"zPlane": zod66.enum(["front", "behind-subject"]).optional()
|
|
6448
6450
|
}), zod66.strictObject({
|
|
6449
6451
|
"kind": zod66.literal("card"),
|
|
6450
|
-
"html": zod66.string().min(1).describe("Your card's HTML \u2014 rendered VERBATIM as the graphic (shell motion via applyMotionPreset in a FOLLOWING call). CANVAS CONTRACT: the card renders in a viewport equal to the composition format's pixel frame (1080\xD71920 at 9:16 fhd); the root is NOT auto-pinned \u2014 declare explicit width/height matching the frame (box-sizing:border-box) and anchor content with flex/grid; position:absolute;inset:0 on the root does NOT fill the frame; for edge-to-edge backgrounds add an inner absolutely-positioned layer with generous negative inset. Overlay compositing applies a ~92% safe-area inset \u2014 keep critical copy away from the extreme edges.
|
|
6452
|
+
"html": zod66.string().min(1).describe("Your card's HTML \u2014 rendered VERBATIM as the graphic (shell motion via applyMotionPreset in a FOLLOWING call). CANVAS CONTRACT: the card renders in a viewport equal to the composition format's pixel frame (1080\xD71920 at 9:16 fhd); the root is NOT auto-pinned \u2014 declare explicit width/height matching the frame (box-sizing:border-box) and anchor content with flex/grid; position:absolute;inset:0 on the root does NOT fill the frame; for edge-to-edge backgrounds add an inner absolutely-positioned layer with generous negative inset. Overlay compositing applies a ~92% safe-area inset \u2014 keep critical copy away from the extreme edges. FONTS: name a family from GET /v1/fonts (list_render_fonts) \u2014 the renderer loads those faces for the card and waits for them, so `font-family: Inter` draws Inter. `@import` and remote font files are REFUSED: the card renders with no network. A family that is not on that list has no bytes behind it and the browser falls back, so end any stack with a generic (`Inter, sans-serif`) rather than relying on a system face being present."),
|
|
6451
6453
|
"tokens": zod66.record(zod66.string(), zod66.string()).optional(),
|
|
6452
6454
|
"zPlane": zod66.literal("front").optional()
|
|
6453
6455
|
})]),
|
|
@@ -6666,7 +6668,7 @@ var CompositionOp = zod66.union([zod66.strictObject({
|
|
|
6666
6668
|
"kind": zod66.enum(["video", "audio", "image", "overlay", "effect"]),
|
|
6667
6669
|
"name": zod66.string().optional(),
|
|
6668
6670
|
"id": zod66.string().optional()
|
|
6669
|
-
}).describe("Add an EMPTY track of a given family (video|audio|image|overlay|effect). Optional pinned `id`."), zod66.strictObject({
|
|
6671
|
+
}).describe("Add an EMPTY track of a given family (video|audio|image|overlay|effect). Optional pinned `id`. The new track is appended, so it starts at the BACK: index 0 is the top layer and higher indices are further back (see `reorderTracks`). Track order only ranks clips on the same plane \u2014 every overlay draws above the video lane unless its `zPlane` is `behind-subject`, whatever its track index."), zod66.strictObject({
|
|
6670
6672
|
"type": zod66.literal("removeTrack"),
|
|
6671
6673
|
"trackId": zod66.string()
|
|
6672
6674
|
}).describe("Remove a track AND all its clips by id."), zod66.strictObject({
|
|
@@ -6680,7 +6682,7 @@ var CompositionOp = zod66.union([zod66.strictObject({
|
|
|
6680
6682
|
"type": zod66.literal("reorderTracks"),
|
|
6681
6683
|
"fromIndex": zod66.number(),
|
|
6682
6684
|
"toIndex": zod66.number()
|
|
6683
|
-
}).describe(
|
|
6685
|
+
}).describe('Move a track from one index to another. ORDER: index 0 is the TOP layer, not the bottom \u2014 moving a backdrop to index 0 puts it in FRONT of everything and hides the composition. Higher index = further back. PRECEDENCE: track order decides compositing only among clips on the same plane. Overlays are composited in a lane ABOVE the video lane whatever their track index; the one exception is `zPlane:"behind-subject"`, which moves the overlay inside its host clip, behind the segmented foreground. So if reordering tracks does not change what you see, the plane split already decided it.'), zod66.strictObject({
|
|
6684
6686
|
"type": zod66.literal("moveClipToTrack"),
|
|
6685
6687
|
"clipId": zod66.string(),
|
|
6686
6688
|
"targetTrackId": zod66.string(),
|
|
@@ -6714,6 +6716,7 @@ var CompositionApplyRequest = zod67.strictObject({
|
|
|
6714
6716
|
"ops": zod67.array(CompositionOp).min(1),
|
|
6715
6717
|
"if_match": zod67.string().optional().describe('Optional OCC precondition \u2014 the strong etag (`"<hex>"`) the caller last saw. On mismatch the batch is rejected (409 stale_etag) before any op applies.'),
|
|
6716
6718
|
"dry_run": zod67.boolean().optional().describe("When true, validate the batch (apply + projection accept/reject guards) WITHOUT persisting. Returns `{ valid, errors }` instead of applying."),
|
|
6719
|
+
"composition_id": zod67.string().optional().describe("Target a SPECIFIC composition instead of the project's active one. Omit it and the project's active composition is edited, which is the default and the common case. `preview_frame` and `create_render` already accept a compositionId; this closes the gap so a second composition minted with `new_composition` can actually be authored into \u2014 build variant A, mint B, edit B, preview both. Mutually exclusive with `session_id`, which targets the session's scratch."),
|
|
6717
6720
|
"session_id": zod67.string().optional().describe("Optional compose-session id. When present, the ops target the session's SCRATCH composition (a derived sibling) instead of the project's active composition \u2014 the server never mutates active until commit.")
|
|
6718
6721
|
}).describe("POST /projects/:id/composition/apply body \u2014 a batch of CompositionOps.");
|
|
6719
6722
|
|
|
@@ -7048,533 +7051,539 @@ var GetComposeSessionComposition200 = zod99.strictObject({
|
|
|
7048
7051
|
"composition": zod99.unknown()
|
|
7049
7052
|
});
|
|
7050
7053
|
|
|
7051
|
-
// ../sdk/src/generated/zod/models/
|
|
7054
|
+
// ../sdk/src/generated/zod/models/getCompositionParams.zod.ts
|
|
7052
7055
|
import * as zod100 from "zod";
|
|
7056
|
+
var GetCompositionParams = zod100.strictObject({
|
|
7057
|
+
"compositionId": zod100.string().optional()
|
|
7058
|
+
});
|
|
7059
|
+
|
|
7060
|
+
// ../sdk/src/generated/zod/models/getMediaTranscriptParams.zod.ts
|
|
7061
|
+
import * as zod101 from "zod";
|
|
7053
7062
|
var getMediaTranscriptParamsAfterMin = 0;
|
|
7054
7063
|
var getMediaTranscriptParamsBeforeMin = 0;
|
|
7055
7064
|
var getMediaTranscriptParamsLimitDefault = 20;
|
|
7056
7065
|
var getMediaTranscriptParamsLimitMax = 100;
|
|
7057
|
-
var GetMediaTranscriptParams =
|
|
7058
|
-
"after":
|
|
7059
|
-
"before":
|
|
7060
|
-
"limit":
|
|
7066
|
+
var GetMediaTranscriptParams = zod101.strictObject({
|
|
7067
|
+
"after": zod101.int().min(getMediaTranscriptParamsAfterMin).optional(),
|
|
7068
|
+
"before": zod101.int().min(getMediaTranscriptParamsBeforeMin).optional(),
|
|
7069
|
+
"limit": zod101.int().min(1).max(getMediaTranscriptParamsLimitMax).default(getMediaTranscriptParamsLimitDefault)
|
|
7061
7070
|
});
|
|
7062
7071
|
|
|
7063
7072
|
// ../sdk/src/generated/zod/models/getOpenAPISpec200.zod.ts
|
|
7064
|
-
import * as
|
|
7065
|
-
var GetOpenAPISpec200 =
|
|
7073
|
+
import * as zod102 from "zod";
|
|
7074
|
+
var GetOpenAPISpec200 = zod102.looseObject({});
|
|
7066
7075
|
|
|
7067
7076
|
// ../sdk/src/generated/zod/models/getUsageParams.zod.ts
|
|
7068
|
-
import * as
|
|
7077
|
+
import * as zod103 from "zod";
|
|
7069
7078
|
var getUsageParamsLimitMax = 100;
|
|
7070
7079
|
var getUsageParamsFromMin = -9007199254740991;
|
|
7071
7080
|
var getUsageParamsFromMax = 9007199254740991;
|
|
7072
7081
|
var getUsageParamsToMin = -9007199254740991;
|
|
7073
7082
|
var getUsageParamsToMax = 9007199254740991;
|
|
7074
|
-
var GetUsageParams =
|
|
7075
|
-
"limit":
|
|
7076
|
-
"after":
|
|
7077
|
-
"projectId":
|
|
7078
|
-
"jobId":
|
|
7079
|
-
"from":
|
|
7080
|
-
"to":
|
|
7083
|
+
var GetUsageParams = zod103.strictObject({
|
|
7084
|
+
"limit": zod103.int().min(1).max(getUsageParamsLimitMax).optional(),
|
|
7085
|
+
"after": zod103.string().optional(),
|
|
7086
|
+
"projectId": zod103.string().optional(),
|
|
7087
|
+
"jobId": zod103.string().optional(),
|
|
7088
|
+
"from": zod103.int().min(getUsageParamsFromMin).max(getUsageParamsFromMax).optional(),
|
|
7089
|
+
"to": zod103.int().min(getUsageParamsToMin).max(getUsageParamsToMax).optional()
|
|
7081
7090
|
});
|
|
7082
7091
|
|
|
7083
7092
|
// ../sdk/src/generated/zod/models/healthParams.zod.ts
|
|
7084
|
-
import * as
|
|
7085
|
-
var HealthParams =
|
|
7086
|
-
"deep":
|
|
7093
|
+
import * as zod104 from "zod";
|
|
7094
|
+
var HealthParams = zod104.strictObject({
|
|
7095
|
+
"deep": zod104.literal("1").optional()
|
|
7087
7096
|
});
|
|
7088
7097
|
|
|
7089
7098
|
// ../sdk/src/generated/zod/models/healthResponse.zod.ts
|
|
7090
|
-
import * as
|
|
7091
|
-
var HealthResponse =
|
|
7092
|
-
"status":
|
|
7093
|
-
"version":
|
|
7094
|
-
"checks":
|
|
7095
|
-
"ok":
|
|
7096
|
-
"detail":
|
|
7099
|
+
import * as zod105 from "zod";
|
|
7100
|
+
var HealthResponse = zod105.strictObject({
|
|
7101
|
+
"status": zod105.enum(["ok", "degraded"]),
|
|
7102
|
+
"version": zod105.string(),
|
|
7103
|
+
"checks": zod105.record(zod105.string(), zod105.strictObject({
|
|
7104
|
+
"ok": zod105.boolean(),
|
|
7105
|
+
"detail": zod105.string().optional()
|
|
7097
7106
|
})).optional()
|
|
7098
7107
|
}).describe("Health probe response.");
|
|
7099
7108
|
|
|
7100
7109
|
// ../sdk/src/generated/zod/models/jobEnqueueResponse.zod.ts
|
|
7101
|
-
import * as
|
|
7102
|
-
var JobEnqueueResponse =
|
|
7103
|
-
"jobId":
|
|
7104
|
-
"jobKey":
|
|
7105
|
-
"kind":
|
|
7106
|
-
"status":
|
|
7110
|
+
import * as zod106 from "zod";
|
|
7111
|
+
var JobEnqueueResponse = zod106.strictObject({
|
|
7112
|
+
"jobId": zod106.string().describe("Poll GET /v1/jobs/{jobId} / wait_job until terminal."),
|
|
7113
|
+
"jobKey": zod106.string().describe("Deterministic identity of the work (content hash of every input the result depends on). Re-enqueueing the same key returns the same job while it runs; a failed key revives as a fresh attempt."),
|
|
7114
|
+
"kind": zod106.string().describe("Job family, e.g. `verify` | `preview` | `brand_kit_extract`."),
|
|
7115
|
+
"status": zod106.enum(["running", "succeeded", "cancelled"]).describe("running on a fresh/deduped enqueue; succeeded when an identical request already completed. Cancelled is part of the shared status vocabulary; identical cancelled work revives to running.")
|
|
7107
7116
|
});
|
|
7108
7117
|
|
|
7109
7118
|
// ../sdk/src/generated/zod/models/jobResponse.zod.ts
|
|
7110
|
-
import * as
|
|
7119
|
+
import * as zod109 from "zod";
|
|
7111
7120
|
|
|
7112
7121
|
// ../sdk/src/generated/zod/models/previewFrameJobResult.zod.ts
|
|
7113
|
-
import * as
|
|
7122
|
+
import * as zod107 from "zod";
|
|
7114
7123
|
var previewFrameJobResultArtifactsItemBytesExclusiveMin = 0;
|
|
7115
7124
|
var previewFrameJobResultArtifactsItemBytesMax = 9007199254740991;
|
|
7116
7125
|
var previewFrameJobResultArtifactsItemLayersOverlaysMin = 0;
|
|
7117
7126
|
var previewFrameJobResultArtifactsItemLayersOverlaysMax = 9007199254740991;
|
|
7118
|
-
var PreviewFrameJobResult =
|
|
7119
|
-
"geometry":
|
|
7120
|
-
"scale":
|
|
7121
|
-
"compositionWidth":
|
|
7122
|
-
"compositionHeight":
|
|
7123
|
-
"width":
|
|
7124
|
-
"height":
|
|
7127
|
+
var PreviewFrameJobResult = zod107.strictObject({
|
|
7128
|
+
"geometry": zod107.strictObject({
|
|
7129
|
+
"scale": zod107.number(),
|
|
7130
|
+
"compositionWidth": zod107.number().optional(),
|
|
7131
|
+
"compositionHeight": zod107.number().optional(),
|
|
7132
|
+
"width": zod107.number().optional(),
|
|
7133
|
+
"height": zod107.number().optional()
|
|
7125
7134
|
}),
|
|
7126
|
-
"warnings":
|
|
7127
|
-
"previewed":
|
|
7128
|
-
"source":
|
|
7129
|
-
"compositionId":
|
|
7130
|
-
"etag":
|
|
7135
|
+
"warnings": zod107.array(zod107.record(zod107.string(), zod107.unknown())).optional(),
|
|
7136
|
+
"previewed": zod107.strictObject({
|
|
7137
|
+
"source": zod107.enum(["inline", "scratch", "persisted"]),
|
|
7138
|
+
"compositionId": zod107.string().optional(),
|
|
7139
|
+
"etag": zod107.string().optional()
|
|
7131
7140
|
}),
|
|
7132
|
-
"listUsd":
|
|
7133
|
-
"artifacts":
|
|
7134
|
-
"id":
|
|
7135
|
-
"beatSec":
|
|
7136
|
-
"bytes":
|
|
7137
|
-
"contentType":
|
|
7138
|
-
"layers":
|
|
7139
|
-
"video":
|
|
7140
|
-
"overlays":
|
|
7141
|
+
"listUsd": zod107.number().optional().describe("List price charged for this delivered capture."),
|
|
7142
|
+
"artifacts": zod107.array(zod107.strictObject({
|
|
7143
|
+
"id": zod107.string(),
|
|
7144
|
+
"beatSec": zod107.number(),
|
|
7145
|
+
"bytes": zod107.int().gt(previewFrameJobResultArtifactsItemBytesExclusiveMin).max(previewFrameJobResultArtifactsItemBytesMax),
|
|
7146
|
+
"contentType": zod107.enum(["image/png", "image/jpeg"]),
|
|
7147
|
+
"layers": zod107.strictObject({
|
|
7148
|
+
"video": zod107.string().nullable(),
|
|
7149
|
+
"overlays": zod107.int().min(previewFrameJobResultArtifactsItemLayersOverlaysMin).max(previewFrameJobResultArtifactsItemLayersOverlaysMax)
|
|
7141
7150
|
}),
|
|
7142
|
-
"url":
|
|
7143
|
-
"urlExpiresAt":
|
|
7151
|
+
"url": zod107.url(),
|
|
7152
|
+
"urlExpiresAt": zod107.string()
|
|
7144
7153
|
}))
|
|
7145
7154
|
});
|
|
7146
7155
|
|
|
7147
7156
|
// ../sdk/src/generated/zod/models/verifyJobResult.zod.ts
|
|
7148
|
-
import * as
|
|
7149
|
-
var VerifyJobResult =
|
|
7150
|
-
"perCriterion":
|
|
7151
|
-
"composite":
|
|
7152
|
-
"critique":
|
|
7153
|
-
"checkpointId":
|
|
7154
|
-
"beats":
|
|
7155
|
-
"clientScores":
|
|
7156
|
-
"listUsd":
|
|
7157
|
+
import * as zod108 from "zod";
|
|
7158
|
+
var VerifyJobResult = zod108.strictObject({
|
|
7159
|
+
"perCriterion": zod108.unknown(),
|
|
7160
|
+
"composite": zod108.number(),
|
|
7161
|
+
"critique": zod108.string(),
|
|
7162
|
+
"checkpointId": zod108.string(),
|
|
7163
|
+
"beats": zod108.unknown().optional(),
|
|
7164
|
+
"clientScores": zod108.array(zod108.unknown()).optional(),
|
|
7165
|
+
"listUsd": zod108.number().optional().describe("List price charged for this delivered evaluation.")
|
|
7157
7166
|
});
|
|
7158
7167
|
|
|
7159
7168
|
// ../sdk/src/generated/zod/models/jobResponse.zod.ts
|
|
7160
|
-
var JobResponse =
|
|
7161
|
-
"id":
|
|
7162
|
-
"jobKey":
|
|
7163
|
-
"kind":
|
|
7164
|
-
"status":
|
|
7165
|
-
"progress":
|
|
7166
|
-
"phase":
|
|
7167
|
-
"percent":
|
|
7168
|
-
"message":
|
|
7169
|
-
}),
|
|
7170
|
-
"result":
|
|
7171
|
-
"error":
|
|
7172
|
-
"code":
|
|
7173
|
-
"message":
|
|
7174
|
-
}),
|
|
7175
|
-
"createdAt":
|
|
7176
|
-
"updatedAt":
|
|
7177
|
-
"completedAt":
|
|
7169
|
+
var JobResponse = zod109.strictObject({
|
|
7170
|
+
"id": zod109.string().describe("Job id \u2014 pass to GET /v1/jobs/{id} / wait_job."),
|
|
7171
|
+
"jobKey": zod109.string().describe("Deterministic identity of the work (idempotency key, e.g. `verify-<sessionId>-<contentHash>` \u2014 the hash covers the composition AND grading inputs). Re-enqueueing the same key returns the same job while it runs."),
|
|
7172
|
+
"kind": zod109.string().describe("Job family, e.g. `verify`."),
|
|
7173
|
+
"status": zod109.enum(["running", "succeeded", "failed", "cancelled"]).describe("Poll until terminal (`succeeded` | `failed` | `cancelled`)."),
|
|
7174
|
+
"progress": zod109.union([zod109.strictObject({
|
|
7175
|
+
"phase": zod109.string(),
|
|
7176
|
+
"percent": zod109.number().optional(),
|
|
7177
|
+
"message": zod109.string().optional()
|
|
7178
|
+
}), zod109.null()]).describe("Executor heartbeat while running; null when none reported."),
|
|
7179
|
+
"result": zod109.union([zod109.union([PreviewFrameJobResult, ComponentPreviewJobResult, VerifyJobResult, ExtractBrandKitResponse]), zod109.null()]).describe("Kind-specific payload when status is `succeeded`; null otherwise."),
|
|
7180
|
+
"error": zod109.union([zod109.strictObject({
|
|
7181
|
+
"code": zod109.string(),
|
|
7182
|
+
"message": zod109.string()
|
|
7183
|
+
}), zod109.null()]).describe("Stable failure code + human message when status is `failed`; null otherwise. `job_timeout` = the executor died mid-run and the stall sweep reaped the job \u2014 re-enqueue to retry."),
|
|
7184
|
+
"createdAt": zod109.string(),
|
|
7185
|
+
"updatedAt": zod109.string(),
|
|
7186
|
+
"completedAt": zod109.string().nullable()
|
|
7178
7187
|
});
|
|
7179
7188
|
|
|
7180
7189
|
// ../sdk/src/generated/zod/models/librarySearchResponse.zod.ts
|
|
7181
|
-
import * as
|
|
7190
|
+
import * as zod111 from "zod";
|
|
7182
7191
|
|
|
7183
7192
|
// ../sdk/src/generated/zod/models/librarySearchResult.zod.ts
|
|
7184
|
-
import * as
|
|
7185
|
-
var LibrarySearchResult =
|
|
7186
|
-
"mediaId":
|
|
7187
|
-
"name":
|
|
7188
|
-
"score":
|
|
7189
|
-
"startSec":
|
|
7190
|
-
"endSec":
|
|
7191
|
-
"thumbUrl":
|
|
7193
|
+
import * as zod110 from "zod";
|
|
7194
|
+
var LibrarySearchResult = zod110.strictObject({
|
|
7195
|
+
"mediaId": zod110.string().describe("The media item this moment belongs to \u2014 feed it to apply_composition as a clip source, or GET /v1/media/{id}/context for its faces/beat/word grids."),
|
|
7196
|
+
"name": zod110.string().describe("The media item's name, so a result is readable without a second call."),
|
|
7197
|
+
"score": zod110.number().describe("Cosine similarity between the query text and the chunk's frame, in [-1, 1]. Higher is closer. Compare scores WITHIN one response; absolute values are not calibrated across queries."),
|
|
7198
|
+
"startSec": zod110.number().describe("Moment start, SECONDS from the media item's start."),
|
|
7199
|
+
"endSec": zod110.number().describe("Moment end, SECONDS from the media item's start."),
|
|
7200
|
+
"thumbUrl": zod110.string().nullable().describe("Presigned URL for the media item's thumbnail, or null when it has none. This is the ITEM's thumbnail, not a still of this moment \u2014 render a still of the exact range with preview_frame.")
|
|
7192
7201
|
});
|
|
7193
7202
|
|
|
7194
7203
|
// ../sdk/src/generated/zod/models/librarySearchResponse.zod.ts
|
|
7195
|
-
var LibrarySearchResponse =
|
|
7196
|
-
"results":
|
|
7197
|
-
"indexing":
|
|
7204
|
+
var LibrarySearchResponse = zod111.strictObject({
|
|
7205
|
+
"results": zod111.array(LibrarySearchResult).describe("Matching moments, best first. Empty means nothing matched (when `indexing` is false) \u2014 the library was searched and came back empty-handed."),
|
|
7206
|
+
"indexing": zod111.boolean().describe('TRUE when some of the org\'s footage is NOT in the visual index yet \u2014 media that predates it, or is still processing. This is COVERAGE, not emptiness: it can be true ALONGSIDE results, and then it means "these are the best moments among what we have looked at so far", not "these are the best moments". An empty `results` with `indexing: true` means "not looked at yet", NOT "no match" \u2014 re-run the media through processing (reprocess) to index it, then search again. FALSE with empty `results` is a real miss: the library was searched and nothing matched.')
|
|
7198
7207
|
}).describe(`Semantic search over the org's OWN footage. The query is embedded with the same CLIP model that embedded every indexed frame, so a description of what you want to SEE ("wide shot of the speaker at a whiteboard") finds the moment even when nobody says those words.`);
|
|
7199
7208
|
|
|
7200
7209
|
// ../sdk/src/generated/zod/models/listBrandKitsParams.zod.ts
|
|
7201
|
-
import * as
|
|
7210
|
+
import * as zod112 from "zod";
|
|
7202
7211
|
var listBrandKitsParamsLimitMax = 100;
|
|
7203
|
-
var ListBrandKitsParams =
|
|
7204
|
-
"limit":
|
|
7205
|
-
"after":
|
|
7212
|
+
var ListBrandKitsParams = zod112.strictObject({
|
|
7213
|
+
"limit": zod112.int().min(1).max(listBrandKitsParamsLimitMax).optional(),
|
|
7214
|
+
"after": zod112.string().optional()
|
|
7206
7215
|
});
|
|
7207
7216
|
|
|
7208
7217
|
// ../sdk/src/generated/zod/models/listBriefsParams.zod.ts
|
|
7209
|
-
import * as
|
|
7218
|
+
import * as zod113 from "zod";
|
|
7210
7219
|
var listBriefsParamsLimitMax = 100;
|
|
7211
|
-
var ListBriefsParams =
|
|
7212
|
-
"limit":
|
|
7213
|
-
"after":
|
|
7214
|
-
"projectId":
|
|
7215
|
-
"kind":
|
|
7220
|
+
var ListBriefsParams = zod113.strictObject({
|
|
7221
|
+
"limit": zod113.int().min(1).max(listBriefsParamsLimitMax).optional(),
|
|
7222
|
+
"after": zod113.string().optional(),
|
|
7223
|
+
"projectId": zod113.string().optional(),
|
|
7224
|
+
"kind": zod113.enum(["authored", "clip", "all"]).optional()
|
|
7216
7225
|
});
|
|
7217
7226
|
|
|
7218
7227
|
// ../sdk/src/generated/zod/models/listCatalogParams.zod.ts
|
|
7219
|
-
import * as
|
|
7228
|
+
import * as zod114 from "zod";
|
|
7220
7229
|
var listCatalogParamsLimitMax = 100;
|
|
7221
|
-
var ListCatalogParams =
|
|
7222
|
-
"category":
|
|
7223
|
-
"kind":
|
|
7224
|
-
"tier":
|
|
7225
|
-
"useCase":
|
|
7226
|
-
"mood":
|
|
7227
|
-
"q":
|
|
7228
|
-
"intent":
|
|
7229
|
-
"limit":
|
|
7230
|
-
"after":
|
|
7230
|
+
var ListCatalogParams = zod114.strictObject({
|
|
7231
|
+
"category": zod114.enum(["text", "effects", "transitions", "layouts", "backgrounds", "ui-blocks", "scenes"]).optional(),
|
|
7232
|
+
"kind": zod114.enum(["component", "transition", "scene"]).optional(),
|
|
7233
|
+
"tier": zod114.enum(["recommended", "standard", "niche"]).optional(),
|
|
7234
|
+
"useCase": zod114.enum(["intro", "outro", "full-scene", "title-over-footage", "transition", "background", "grade", "emphasis", "explainer", "social-cut"]).optional(),
|
|
7235
|
+
"mood": zod114.string().optional(),
|
|
7236
|
+
"q": zod114.string().optional(),
|
|
7237
|
+
"intent": zod114.string().optional(),
|
|
7238
|
+
"limit": zod114.int().min(1).max(listCatalogParamsLimitMax).optional(),
|
|
7239
|
+
"after": zod114.string().optional()
|
|
7231
7240
|
});
|
|
7232
7241
|
|
|
7233
7242
|
// ../sdk/src/generated/zod/models/listCheckpointsParams.zod.ts
|
|
7234
|
-
import * as
|
|
7243
|
+
import * as zod115 from "zod";
|
|
7235
7244
|
var listCheckpointsParamsLimitMax = 100;
|
|
7236
|
-
var ListCheckpointsParams =
|
|
7237
|
-
"limit":
|
|
7238
|
-
"after":
|
|
7239
|
-
"composeJobId":
|
|
7240
|
-
"projectId":
|
|
7245
|
+
var ListCheckpointsParams = zod115.strictObject({
|
|
7246
|
+
"limit": zod115.int().min(1).max(listCheckpointsParamsLimitMax).optional(),
|
|
7247
|
+
"after": zod115.string().optional(),
|
|
7248
|
+
"composeJobId": zod115.string().optional(),
|
|
7249
|
+
"projectId": zod115.string().optional()
|
|
7241
7250
|
});
|
|
7242
7251
|
|
|
7243
7252
|
// ../sdk/src/generated/zod/models/listMediaFactsParams.zod.ts
|
|
7244
|
-
import * as
|
|
7245
|
-
var ListMediaFactsParams =
|
|
7246
|
-
"kind":
|
|
7247
|
-
"startSec":
|
|
7248
|
-
"endSec":
|
|
7253
|
+
import * as zod116 from "zod";
|
|
7254
|
+
var ListMediaFactsParams = zod116.strictObject({
|
|
7255
|
+
"kind": zod116.enum(["subjectTrack", "matte"]).optional(),
|
|
7256
|
+
"startSec": zod116.number().optional(),
|
|
7257
|
+
"endSec": zod116.number().optional()
|
|
7249
7258
|
});
|
|
7250
7259
|
|
|
7251
7260
|
// ../sdk/src/generated/zod/models/listMediaParams.zod.ts
|
|
7252
|
-
import * as
|
|
7261
|
+
import * as zod117 from "zod";
|
|
7253
7262
|
var listMediaParamsLimitMax = 100;
|
|
7254
|
-
var ListMediaParams =
|
|
7255
|
-
"limit":
|
|
7256
|
-
"after":
|
|
7257
|
-
"kind":
|
|
7258
|
-
"source":
|
|
7259
|
-
"tag":
|
|
7263
|
+
var ListMediaParams = zod117.strictObject({
|
|
7264
|
+
"limit": zod117.int().min(1).max(listMediaParamsLimitMax).optional(),
|
|
7265
|
+
"after": zod117.string().optional(),
|
|
7266
|
+
"kind": zod117.enum(["video", "audio", "image", "gif", "asset", "source", "stock"]).optional(),
|
|
7267
|
+
"source": zod117.enum(["upload", "generated", "import-url", "stock"]).optional(),
|
|
7268
|
+
"tag": zod117.string().optional()
|
|
7260
7269
|
});
|
|
7261
7270
|
|
|
7262
7271
|
// ../sdk/src/generated/zod/models/listMediaSuggestionsParams.zod.ts
|
|
7263
|
-
import * as
|
|
7272
|
+
import * as zod118 from "zod";
|
|
7264
7273
|
var listMediaSuggestionsParamsLimitMax = 100;
|
|
7265
|
-
var ListMediaSuggestionsParams =
|
|
7266
|
-
"limit":
|
|
7267
|
-
"after":
|
|
7268
|
-
"platform":
|
|
7269
|
-
"format":
|
|
7270
|
-
"topic":
|
|
7274
|
+
var ListMediaSuggestionsParams = zod118.strictObject({
|
|
7275
|
+
"limit": zod118.int().min(1).max(listMediaSuggestionsParamsLimitMax).optional(),
|
|
7276
|
+
"after": zod118.string().optional(),
|
|
7277
|
+
"platform": zod118.string().optional(),
|
|
7278
|
+
"format": zod118.string().optional(),
|
|
7279
|
+
"topic": zod118.string().optional()
|
|
7271
7280
|
});
|
|
7272
7281
|
|
|
7273
7282
|
// ../sdk/src/generated/zod/models/listProjectRendersParams.zod.ts
|
|
7274
|
-
import * as
|
|
7283
|
+
import * as zod119 from "zod";
|
|
7275
7284
|
var listProjectRendersParamsLimitMax = 100;
|
|
7276
|
-
var ListProjectRendersParams =
|
|
7277
|
-
"limit":
|
|
7278
|
-
"after":
|
|
7279
|
-
"status":
|
|
7285
|
+
var ListProjectRendersParams = zod119.strictObject({
|
|
7286
|
+
"limit": zod119.int().min(1).max(listProjectRendersParamsLimitMax).optional(),
|
|
7287
|
+
"after": zod119.string().optional(),
|
|
7288
|
+
"status": zod119.string().optional()
|
|
7280
7289
|
});
|
|
7281
7290
|
|
|
7282
7291
|
// ../sdk/src/generated/zod/models/listProjectsParams.zod.ts
|
|
7283
|
-
import * as
|
|
7292
|
+
import * as zod120 from "zod";
|
|
7284
7293
|
var listProjectsParamsLimitMax = 100;
|
|
7285
|
-
var ListProjectsParams =
|
|
7286
|
-
"limit":
|
|
7287
|
-
"after":
|
|
7294
|
+
var ListProjectsParams = zod120.strictObject({
|
|
7295
|
+
"limit": zod120.int().min(1).max(listProjectsParamsLimitMax).optional(),
|
|
7296
|
+
"after": zod120.string().optional()
|
|
7288
7297
|
});
|
|
7289
7298
|
|
|
7290
7299
|
// ../sdk/src/generated/zod/models/listSelectorCandidatesParams.zod.ts
|
|
7291
|
-
import * as
|
|
7292
|
-
var ListSelectorCandidatesParams =
|
|
7293
|
-
"groupId":
|
|
7300
|
+
import * as zod121 from "zod";
|
|
7301
|
+
var ListSelectorCandidatesParams = zod121.strictObject({
|
|
7302
|
+
"groupId": zod121.string().min(1)
|
|
7294
7303
|
});
|
|
7295
7304
|
|
|
7296
7305
|
// ../sdk/src/generated/zod/models/listSessionsParams.zod.ts
|
|
7297
|
-
import * as
|
|
7306
|
+
import * as zod122 from "zod";
|
|
7298
7307
|
var listSessionsParamsLimitMax = 100;
|
|
7299
|
-
var ListSessionsParams =
|
|
7300
|
-
"limit":
|
|
7301
|
-
"after":
|
|
7308
|
+
var ListSessionsParams = zod122.strictObject({
|
|
7309
|
+
"limit": zod122.int().min(1).max(listSessionsParamsLimitMax).optional(),
|
|
7310
|
+
"after": zod122.string().optional()
|
|
7302
7311
|
});
|
|
7303
7312
|
|
|
7304
7313
|
// ../sdk/src/generated/zod/models/listWebhooksParams.zod.ts
|
|
7305
|
-
import * as
|
|
7314
|
+
import * as zod123 from "zod";
|
|
7306
7315
|
var listWebhooksParamsLimitMax = 100;
|
|
7307
|
-
var ListWebhooksParams =
|
|
7308
|
-
"limit":
|
|
7309
|
-
"after":
|
|
7316
|
+
var ListWebhooksParams = zod123.strictObject({
|
|
7317
|
+
"limit": zod123.int().min(1).max(listWebhooksParamsLimitMax).optional(),
|
|
7318
|
+
"after": zod123.string().optional()
|
|
7310
7319
|
});
|
|
7311
7320
|
|
|
7312
7321
|
// ../sdk/src/generated/zod/models/matteBakeRequest.zod.ts
|
|
7313
|
-
import * as
|
|
7322
|
+
import * as zod124 from "zod";
|
|
7314
7323
|
var matteBakeRequestStartSecMin = 0;
|
|
7315
7324
|
var matteBakeRequestEndSecExclusiveMin = 0;
|
|
7316
|
-
var MatteBakeRequest =
|
|
7317
|
-
"startSec":
|
|
7318
|
-
"endSec":
|
|
7325
|
+
var MatteBakeRequest = zod124.strictObject({
|
|
7326
|
+
"startSec": zod124.number().min(matteBakeRequestStartSecMin).describe("Source-in of the window to matte, in seconds into the underlying source."),
|
|
7327
|
+
"endSec": zod124.number().gt(matteBakeRequestEndSecExclusiveMin).describe("Source-out of the window to matte, in seconds into the underlying source.")
|
|
7319
7328
|
}).describe("POST /media/:id/matte body. The window is REQUIRED and is the clip's SOURCE trim, not timeline time: a matte's cost scales with its duration, so there is no whole-source default to fall back on.");
|
|
7320
7329
|
|
|
7321
7330
|
// ../sdk/src/generated/zod/models/matteBakeTriggerResponse.zod.ts
|
|
7322
|
-
import * as
|
|
7323
|
-
var MatteBakeTriggerResponse =
|
|
7324
|
-
"factId":
|
|
7325
|
-
"status":
|
|
7326
|
-
"quotedUsd":
|
|
7327
|
-
"alreadyExisted":
|
|
7331
|
+
import * as zod125 from "zod";
|
|
7332
|
+
var MatteBakeTriggerResponse = zod125.strictObject({
|
|
7333
|
+
"factId": zod125.string(),
|
|
7334
|
+
"status": zod125.enum(["pending", "ready", "failed"]),
|
|
7335
|
+
"quotedUsd": zod125.number().describe("The server's price for this matte, in USD, quoted from the window duration."),
|
|
7336
|
+
"alreadyExisted": zod125.boolean().describe("True when a matte for this exact window was already pending or ready. Nothing was dispatched and nothing will be charged.")
|
|
7328
7337
|
}).describe("POST /media/:id/matte response \u2014 the claimed matte fact.");
|
|
7329
7338
|
|
|
7330
7339
|
// ../sdk/src/generated/zod/models/mediaContextResponse.zod.ts
|
|
7331
|
-
import * as
|
|
7340
|
+
import * as zod127 from "zod";
|
|
7332
7341
|
|
|
7333
7342
|
// ../sdk/src/generated/zod/models/transcriptResponse.zod.ts
|
|
7334
|
-
import * as
|
|
7335
|
-
var TranscriptResponse =
|
|
7336
|
-
"mediaItemId":
|
|
7337
|
-
"language":
|
|
7338
|
-
"fullText":
|
|
7339
|
-
"utterances":
|
|
7340
|
-
"data":
|
|
7343
|
+
import * as zod126 from "zod";
|
|
7344
|
+
var TranscriptResponse = zod126.strictObject({
|
|
7345
|
+
"mediaItemId": zod126.string(),
|
|
7346
|
+
"language": zod126.string().nullable(),
|
|
7347
|
+
"fullText": zod126.string(),
|
|
7348
|
+
"utterances": zod126.array(zod126.record(zod126.string(), zod126.unknown())),
|
|
7349
|
+
"data": zod126.array(zod126.record(zod126.string(), zod126.unknown())).optional(),
|
|
7341
7350
|
"pagination": PaginationMeta.optional()
|
|
7342
7351
|
}).describe("Transcript response.");
|
|
7343
7352
|
|
|
7344
7353
|
// ../sdk/src/generated/zod/models/mediaContextResponse.zod.ts
|
|
7345
|
-
var MediaContextResponse =
|
|
7346
|
-
"mediaId":
|
|
7347
|
-
"durationSec":
|
|
7348
|
-
"width":
|
|
7349
|
-
"height":
|
|
7350
|
-
"thumbnail":
|
|
7351
|
-
"url":
|
|
7352
|
-
}),
|
|
7353
|
-
"faces":
|
|
7354
|
-
"status":
|
|
7355
|
-
"windows":
|
|
7354
|
+
var MediaContextResponse = zod127.strictObject({
|
|
7355
|
+
"mediaId": zod127.string(),
|
|
7356
|
+
"durationSec": zod127.number().nullable(),
|
|
7357
|
+
"width": zod127.number().nullable(),
|
|
7358
|
+
"height": zod127.number().nullable(),
|
|
7359
|
+
"thumbnail": zod127.union([zod127.strictObject({
|
|
7360
|
+
"url": zod127.string()
|
|
7361
|
+
}), zod127.null()]).describe("Presigned processing thumbnail (~1 week) \u2014 the footage at a glance. For stills at chosen timestamps, use preview_frame with a one-clip composition over this media."),
|
|
7362
|
+
"faces": zod127.strictObject({
|
|
7363
|
+
"status": zod127.enum(["ready", "not_detected"]),
|
|
7364
|
+
"windows": zod127.array(ContextSubjectWindow)
|
|
7356
7365
|
}),
|
|
7357
|
-
"transcript":
|
|
7358
|
-
"status":
|
|
7359
|
-
"data":
|
|
7366
|
+
"transcript": zod127.strictObject({
|
|
7367
|
+
"status": zod127.enum(["ready", "not_transcribed", "unavailable"]),
|
|
7368
|
+
"data": zod127.union([TranscriptResponse, zod127.null()])
|
|
7360
7369
|
}),
|
|
7361
|
-
"beatGrid":
|
|
7362
|
-
"bpm":
|
|
7363
|
-
"beatTimesMs":
|
|
7364
|
-
"confidence":
|
|
7365
|
-
"method":
|
|
7366
|
-
}),
|
|
7367
|
-
"wordGrid":
|
|
7368
|
-
"wordTimesMs":
|
|
7369
|
-
}),
|
|
7370
|
-
"audioRole":
|
|
7371
|
-
"envelope":
|
|
7372
|
-
"envelopeClass":
|
|
7373
|
-
"attackMs":
|
|
7374
|
-
"spectralCentroidHz":
|
|
7375
|
-
"meanVolumeDb":
|
|
7376
|
-
"maxVolumeDb":
|
|
7377
|
-
}),
|
|
7378
|
-
"facts":
|
|
7379
|
-
"offers":
|
|
7370
|
+
"beatGrid": zod127.union([zod127.strictObject({
|
|
7371
|
+
"bpm": zod127.number(),
|
|
7372
|
+
"beatTimesMs": zod127.array(zod127.number()).describe("Beat onset times in MILLISECONDS \u2014 divide by 1000 for timeline startTime (composition timeline fields are seconds)."),
|
|
7373
|
+
"confidence": zod127.number().describe("Rhythmic-periodicity strength (0\u20131). Trust the grid for cutting when high; a beatless bed reports low."),
|
|
7374
|
+
"method": zod127.enum(["requested-anchored", "detected"]).describe("`requested-anchored` = phase-locked to a requested BPM (a generated bed whose prompt named a tempo); `detected` = full beat tracking (import/upload).")
|
|
7375
|
+
}), zod127.null()]).describe("The MUSIC-role rhythm grid (audio-substrate MVP). Present only for a music bed that carries a computed beat grid; null otherwise. For a music-driven film, cut on these beats (transition midpoints on beats, risers resolving on downbeats)."),
|
|
7376
|
+
"wordGrid": zod127.union([zod127.strictObject({
|
|
7377
|
+
"wordTimesMs": zod127.array(zod127.number()).describe("Word onset times in MILLISECONDS, in order \u2014 divide by 1000 for timeline startTime (composition timeline fields are seconds).")
|
|
7378
|
+
}), zod127.null()]).describe("The VO-role rhythm grid: word onsets surfaced from the transcript (pure exposure). Present only when a transcript exists; null otherwise. For a VO-driven (narration) film, cut every beat boundary to the voice \u2014 the film-spine rule."),
|
|
7379
|
+
"audioRole": zod127.union([zod127.enum(["vo", "music", "sfx", "ambience"]), zod127.null()]).describe("DECLARED audio role of this asset (audio-substrate P0): 'vo' (narration), 'music' (bed that ducks under speech), 'sfx' (one-shot hit), 'ambience' (a bed that HOLDS under VO \u2014 never ducks). Author the clip source's `audioRole` from this. Null for footage/images or an undeclared audio asset."),
|
|
7380
|
+
"envelope": zod127.union([zod127.strictObject({
|
|
7381
|
+
"envelopeClass": zod127.enum(["transient", "sweep", "ambient"]).describe("Coarse temporal shape: 'transient' (a sharp one-shot), 'sweep' (a bounded rise/fall over ~0.5\u20132s), 'ambient' (an unbounded bed)."),
|
|
7382
|
+
"attackMs": zod127.number().optional(),
|
|
7383
|
+
"spectralCentroidHz": zod127.number().optional(),
|
|
7384
|
+
"meanVolumeDb": zod127.number().optional(),
|
|
7385
|
+
"maxVolumeDb": zod127.number().optional()
|
|
7386
|
+
}), zod127.null()]).describe("Envelope evidence (audio-substrate P0). `envelopeClass` is always present when an envelope exists (the SFX pack carries it); the numeric probe stats are present only when an audio probe has run. Null when no envelope is stored."),
|
|
7387
|
+
"facts": zod127.array(MediaFact).describe("Derived facts about this source (subject tracks, mattes): what has been computed, its status, and what it was billed. Same shape as GET /media/{id}/facts."),
|
|
7388
|
+
"offers": zod127.array(MediaFactOffer).describe("Enhancements this source does not have yet, with a server quote. Same shape as GET /media/{id}/facts. Mattes are quoted per-window via POST /media/{id}/matte, never here.")
|
|
7380
7389
|
}).describe("Read-only authoring context for a source media item: detected face roster + transcript + the temporal grids (beat / word) an agent cuts to, the DECLARED audioRole + envelope of an audio asset, and the paid-enhancement block (facts already computed + offers for what is missing).");
|
|
7381
7390
|
|
|
7382
7391
|
// ../sdk/src/generated/zod/models/mediaDirectUploadResponse.zod.ts
|
|
7383
|
-
import * as
|
|
7384
|
-
var MediaDirectUploadResponse =
|
|
7385
|
-
"id":
|
|
7386
|
-
"uploadUrl":
|
|
7387
|
-
"expiresAt":
|
|
7392
|
+
import * as zod128 from "zod";
|
|
7393
|
+
var MediaDirectUploadResponse = zod128.strictObject({
|
|
7394
|
+
"id": zod128.string(),
|
|
7395
|
+
"uploadUrl": zod128.url(),
|
|
7396
|
+
"expiresAt": zod128.string()
|
|
7388
7397
|
}).describe("POST /media response: reserved media id + a presigned PUT URL. PUT the raw bytes to uploadUrl (\u2264 ~5 GiB), then POST /media/:id/finalize.");
|
|
7389
7398
|
|
|
7390
7399
|
// ../sdk/src/generated/zod/models/mediaFactPurchaseRequest.zod.ts
|
|
7391
|
-
import * as
|
|
7400
|
+
import * as zod129 from "zod";
|
|
7392
7401
|
var mediaFactPurchaseRequestIntentStartSecMin = 0;
|
|
7393
7402
|
var mediaFactPurchaseRequestIntentEndSecExclusiveMin = 0;
|
|
7394
|
-
var MediaFactPurchaseRequest =
|
|
7395
|
-
"kind":
|
|
7396
|
-
"intent":
|
|
7397
|
-
"startSec":
|
|
7398
|
-
"endSec":
|
|
7403
|
+
var MediaFactPurchaseRequest = zod129.strictObject({
|
|
7404
|
+
"kind": zod129.enum(["subjectTrack", "matte"]).describe("Which enhancement to buy. `transcript` is NOT purchasable here \u2014 it is delivered by the transcription pipeline."),
|
|
7405
|
+
"intent": zod129.strictObject({
|
|
7406
|
+
"startSec": zod129.number().min(mediaFactPurchaseRequestIntentStartSecMin),
|
|
7407
|
+
"endSec": zod129.number().gt(mediaFactPurchaseRequestIntentEndSecExclusiveMin)
|
|
7399
7408
|
}).optional().describe("The SOURCE window. REQUIRED for `matte` (its cost scales with duration). OPTIONAL for `subjectTrack`: give a clip's source window to buy the track the render looks up for THAT clip, and pay only for its duration; omit it to detect the whole source.")
|
|
7400
7409
|
}).describe("POST /media/:id/facts body.");
|
|
7401
7410
|
|
|
7402
7411
|
// ../sdk/src/generated/zod/models/mediaFactPurchaseResponse.zod.ts
|
|
7403
|
-
import * as
|
|
7404
|
-
var MediaFactPurchaseResponse =
|
|
7405
|
-
"factId":
|
|
7406
|
-
"status":
|
|
7407
|
-
"quotedUsd":
|
|
7408
|
-
"alreadyExisted":
|
|
7412
|
+
import * as zod130 from "zod";
|
|
7413
|
+
var MediaFactPurchaseResponse = zod130.strictObject({
|
|
7414
|
+
"factId": zod130.string(),
|
|
7415
|
+
"status": zod130.enum(["pending", "ready", "failed"]),
|
|
7416
|
+
"quotedUsd": zod130.number(),
|
|
7417
|
+
"alreadyExisted": zod130.boolean().describe("True when this exact fact was already pending or ready. Nothing was dispatched and nothing will be charged.")
|
|
7409
7418
|
}).describe("POST /media/:id/facts response.");
|
|
7410
7419
|
|
|
7411
7420
|
// ../sdk/src/generated/zod/models/mediaFactsResponse.zod.ts
|
|
7412
|
-
import * as
|
|
7413
|
-
var MediaFactsResponse =
|
|
7414
|
-
"facts":
|
|
7415
|
-
"offers":
|
|
7421
|
+
import * as zod131 from "zod";
|
|
7422
|
+
var MediaFactsResponse = zod131.strictObject({
|
|
7423
|
+
"facts": zod131.array(MediaFact),
|
|
7424
|
+
"offers": zod131.array(MediaFactOffer).describe("What is NOT yet present and could be bought. A `matte` offer appears ONLY when the request carried `startSec`+`endSec` (the clip's SOURCE window) \u2014 a matte's price is a function of its duration, so there is no honest whole-source matte quote. `transcript` is never offered: it is produced by the ingest pipeline, not bought here."),
|
|
7416
7425
|
"exact": ExactMediaFactResolution.optional()
|
|
7417
7426
|
}).describe("Facts and offers for a media item, plus an exact-window resolution when requested.");
|
|
7418
7427
|
|
|
7419
7428
|
// ../sdk/src/generated/zod/models/mediaFinalizeRequest.zod.ts
|
|
7420
|
-
import * as
|
|
7421
|
-
var MediaFinalizeRequest =
|
|
7422
|
-
"audioRole":
|
|
7429
|
+
import * as zod132 from "zod";
|
|
7430
|
+
var MediaFinalizeRequest = zod132.strictObject({
|
|
7431
|
+
"audioRole": zod132.enum(["vo", "music", "sfx", "ambience"]).optional().describe("Declared audio role: 'vo' (narration), 'music' (bed that ducks under speech), 'sfx' (one-shot hit), 'ambience' (a bed that HOLDS under VO \u2014 never ducks).")
|
|
7423
7432
|
}).describe("POST /media/:id/finalize body \u2014 optional declared audioRole.");
|
|
7424
7433
|
|
|
7425
7434
|
// ../sdk/src/generated/zod/models/mediaFinalizeResponse.zod.ts
|
|
7426
|
-
import * as
|
|
7427
|
-
var MediaFinalizeResponse =
|
|
7428
|
-
"id":
|
|
7429
|
-
"status":
|
|
7430
|
-
"processingPhase":
|
|
7435
|
+
import * as zod133 from "zod";
|
|
7436
|
+
var MediaFinalizeResponse = zod133.strictObject({
|
|
7437
|
+
"id": zod133.string(),
|
|
7438
|
+
"status": zod133.enum(["processing", "complete"]),
|
|
7439
|
+
"processingPhase": zod133.string()
|
|
7431
7440
|
}).describe("POST /media/:id/finalize response: ingest triggered (audio/video \u2192 processing) or the item is immediately ready (image/asset \u2192 complete).");
|
|
7432
7441
|
|
|
7433
7442
|
// ../sdk/src/generated/zod/models/mediaGenerateRequest.zod.ts
|
|
7434
|
-
import * as
|
|
7443
|
+
import * as zod134 from "zod";
|
|
7435
7444
|
var mediaGenerateRequestPromptMax = 1e4;
|
|
7436
|
-
var MediaGenerateRequest =
|
|
7437
|
-
"generator":
|
|
7438
|
-
"prompt":
|
|
7439
|
-
"style":
|
|
7440
|
-
"refs":
|
|
7441
|
-
"firstFrameMediaId":
|
|
7442
|
-
"lastFrameMediaId":
|
|
7443
|
-
"imageMediaIds":
|
|
7445
|
+
var MediaGenerateRequest = zod134.strictObject({
|
|
7446
|
+
"generator": zod134.enum(["text-to-video", "text-to-image", "image-to-video", "text-to-music", "text-to-speech", "text-to-sfx", "auto"]),
|
|
7447
|
+
"prompt": zod134.string().min(1).max(mediaGenerateRequestPromptMax),
|
|
7448
|
+
"style": zod134.record(zod134.string(), zod134.unknown()).optional().describe("Free-form generation parameters, read per generator. All generators honor `aspect` (string) + `durationSec` (number) where applicable. text-to-speech honors `voice` (string; default voice when omitted), `speed` (number 0.7-1.2), `stability` (number 0-1), and `styleExaggeration` (number 0-1 \u2192 the endpoint's style exaggeration). Provider and model selection are server-owned and cannot be overridden."),
|
|
7449
|
+
"refs": zod134.strictObject({
|
|
7450
|
+
"firstFrameMediaId": zod134.string().optional(),
|
|
7451
|
+
"lastFrameMediaId": zod134.string().optional(),
|
|
7452
|
+
"imageMediaIds": zod134.array(zod134.string()).optional()
|
|
7444
7453
|
}).optional()
|
|
7445
7454
|
}).describe("POST /media/generate body.");
|
|
7446
7455
|
|
|
7447
7456
|
// ../sdk/src/generated/zod/models/mediaGenerateResponse.zod.ts
|
|
7448
|
-
import * as
|
|
7449
|
-
var MediaGenerateResponse =
|
|
7450
|
-
"id":
|
|
7451
|
-
"status":
|
|
7452
|
-
"estimateUsd":
|
|
7457
|
+
import * as zod135 from "zod";
|
|
7458
|
+
var MediaGenerateResponse = zod135.strictObject({
|
|
7459
|
+
"id": zod135.string(),
|
|
7460
|
+
"status": zod135.literal("generating"),
|
|
7461
|
+
"estimateUsd": zod135.number().optional()
|
|
7453
7462
|
}).describe("POST /media/generate response.");
|
|
7454
7463
|
|
|
7455
7464
|
// ../sdk/src/generated/zod/models/mediaImportRequest.zod.ts
|
|
7456
|
-
import * as
|
|
7465
|
+
import * as zod136 from "zod";
|
|
7457
7466
|
var mediaImportRequestUrlMax = 2048;
|
|
7458
7467
|
var mediaImportRequestFilenameMax = 500;
|
|
7459
7468
|
var mediaImportRequestSizeExclusiveMin = 0;
|
|
7460
7469
|
var mediaImportRequestSizeMax = 10737418240;
|
|
7461
|
-
var MediaImportRequest =
|
|
7462
|
-
"url":
|
|
7463
|
-
"filename":
|
|
7464
|
-
"contentType":
|
|
7465
|
-
"size":
|
|
7466
|
-
"audioRole":
|
|
7470
|
+
var MediaImportRequest = zod136.strictObject({
|
|
7471
|
+
"url": zod136.url().max(mediaImportRequestUrlMax),
|
|
7472
|
+
"filename": zod136.string().min(1).max(mediaImportRequestFilenameMax),
|
|
7473
|
+
"contentType": zod136.enum(["video/mp4", "video/quicktime", "video/x-matroska", "video/webm", "audio/mpeg", "audio/wav", "audio/x-wav", "audio/mp4", "audio/aac", "image/png", "image/jpeg", "image/webp", "image/gif", "image/svg+xml", "application/json", "font/ttf", "font/otf", "font/woff", "font/woff2"]),
|
|
7474
|
+
"size": zod136.int().gt(mediaImportRequestSizeExclusiveMin).max(mediaImportRequestSizeMax).optional(),
|
|
7475
|
+
"audioRole": zod136.enum(["vo", "music", "sfx", "ambience"]).optional().describe("Declared audio role: 'vo' (narration), 'music' (bed that ducks under speech), 'sfx' (one-shot hit), 'ambience' (a bed that HOLDS under VO \u2014 never ducks).")
|
|
7467
7476
|
}).describe("POST /media/import body.");
|
|
7468
7477
|
|
|
7469
7478
|
// ../sdk/src/generated/zod/models/mediaImportResponse.zod.ts
|
|
7470
|
-
import * as
|
|
7471
|
-
var MediaImportResponse =
|
|
7472
|
-
"id":
|
|
7473
|
-
"status":
|
|
7479
|
+
import * as zod137 from "zod";
|
|
7480
|
+
var MediaImportResponse = zod137.strictObject({
|
|
7481
|
+
"id": zod137.string(),
|
|
7482
|
+
"status": zod137.literal("importing")
|
|
7474
7483
|
}).describe("POST /media/import response.");
|
|
7475
7484
|
|
|
7476
7485
|
// ../sdk/src/generated/zod/models/mediaListResponse.zod.ts
|
|
7477
|
-
import * as
|
|
7486
|
+
import * as zod140 from "zod";
|
|
7478
7487
|
|
|
7479
7488
|
// ../sdk/src/generated/zod/models/mediaResponse.zod.ts
|
|
7480
|
-
import * as
|
|
7489
|
+
import * as zod139 from "zod";
|
|
7481
7490
|
|
|
7482
7491
|
// ../sdk/src/generated/zod/models/mediaProcessingStatus.zod.ts
|
|
7483
|
-
import * as
|
|
7484
|
-
var MediaProcessingStatus =
|
|
7485
|
-
"phase":
|
|
7486
|
-
"percent":
|
|
7487
|
-
"message":
|
|
7488
|
-
"error":
|
|
7492
|
+
import * as zod138 from "zod";
|
|
7493
|
+
var MediaProcessingStatus = zod138.strictObject({
|
|
7494
|
+
"phase": zod138.enum(["idle", "pending_import", "pending_upload", "uploading", "extracting", "loading_model", "transcribing", "proxy", "embedding", "analyzing", "indexing", "generating", "rendering", "processing", "complete", "error", "cancelled"]),
|
|
7495
|
+
"percent": zod138.number().nullish(),
|
|
7496
|
+
"message": zod138.string().nullish(),
|
|
7497
|
+
"error": zod138.string().nullish()
|
|
7489
7498
|
}).describe("Processing status stored on mediaItems rows.");
|
|
7490
7499
|
|
|
7491
7500
|
// ../sdk/src/generated/zod/models/mediaResponse.zod.ts
|
|
7492
|
-
var MediaResponse =
|
|
7493
|
-
"id":
|
|
7494
|
-
"status":
|
|
7495
|
-
"source":
|
|
7496
|
-
"name":
|
|
7497
|
-
"mimeType":
|
|
7498
|
-
"fileSize":
|
|
7499
|
-
"duration":
|
|
7500
|
-
"width":
|
|
7501
|
-
"height":
|
|
7502
|
-
"frameRate":
|
|
7503
|
-
"progress":
|
|
7504
|
-
"phase":
|
|
7505
|
-
"percent":
|
|
7506
|
-
}),
|
|
7507
|
-
"analysis":
|
|
7508
|
-
"listUsd":
|
|
7509
|
-
"thumbnailUrl":
|
|
7510
|
-
"kind":
|
|
7511
|
-
"tags":
|
|
7512
|
-
"attribution":
|
|
7513
|
-
"provider":
|
|
7514
|
-
"externalId":
|
|
7515
|
-
"assetUrl":
|
|
7516
|
-
"license":
|
|
7517
|
-
}),
|
|
7518
|
-
"processingStatus":
|
|
7519
|
-
"createdAt":
|
|
7520
|
-
"updatedAt":
|
|
7501
|
+
var MediaResponse = zod139.strictObject({
|
|
7502
|
+
"id": zod139.string(),
|
|
7503
|
+
"status": zod139.string(),
|
|
7504
|
+
"source": zod139.enum(["upload", "generated", "stock"]),
|
|
7505
|
+
"name": zod139.string(),
|
|
7506
|
+
"mimeType": zod139.string(),
|
|
7507
|
+
"fileSize": zod139.number(),
|
|
7508
|
+
"duration": zod139.number().nullable(),
|
|
7509
|
+
"width": zod139.number().nullable(),
|
|
7510
|
+
"height": zod139.number().nullable(),
|
|
7511
|
+
"frameRate": zod139.number().nullable(),
|
|
7512
|
+
"progress": zod139.union([zod139.strictObject({
|
|
7513
|
+
"phase": zod139.string(),
|
|
7514
|
+
"percent": zod139.number().nullable()
|
|
7515
|
+
}), zod139.null()]),
|
|
7516
|
+
"analysis": zod139.union([zod139.record(zod139.string(), zod139.unknown()), zod139.null()]),
|
|
7517
|
+
"listUsd": zod139.number().optional().describe("A2 money stamp \u2014 GENERATED media only: the generate meter's LIST price (USD) at the success terminal. A plan allowance may zero the invoice line. Absent for uploads/imports, failures, x402 (on-chain receipts)."),
|
|
7518
|
+
"thumbnailUrl": zod139.string().nullable().describe("Presigned GET URL for the item's thumbnail (an uploaded image is its own thumbnail), valid ~7 days \u2014 fetch it directly, no auth header. null when no thumbnail exists yet (still processing, stock imports, audio)."),
|
|
7519
|
+
"kind": zod139.string().nullable(),
|
|
7520
|
+
"tags": zod139.union([zod139.array(zod139.string()), zod139.null()]),
|
|
7521
|
+
"attribution": zod139.union([zod139.strictObject({
|
|
7522
|
+
"provider": zod139.enum(["pexels", "pixabay", "freesound", "klipy"]),
|
|
7523
|
+
"externalId": zod139.string().nullable(),
|
|
7524
|
+
"assetUrl": zod139.string().nullable(),
|
|
7525
|
+
"license": zod139.string().nullable()
|
|
7526
|
+
}), zod139.null()]),
|
|
7527
|
+
"processingStatus": zod139.union([MediaProcessingStatus, zod139.null()]),
|
|
7528
|
+
"createdAt": zod139.string(),
|
|
7529
|
+
"updatedAt": zod139.string()
|
|
7521
7530
|
}).describe("Media item response per \xA7Media.");
|
|
7522
7531
|
|
|
7523
7532
|
// ../sdk/src/generated/zod/models/mediaListResponse.zod.ts
|
|
7524
|
-
var MediaListResponse =
|
|
7525
|
-
"data":
|
|
7533
|
+
var MediaListResponse = zod140.strictObject({
|
|
7534
|
+
"data": zod140.array(MediaResponse),
|
|
7526
7535
|
"pagination": PaginationMeta
|
|
7527
7536
|
});
|
|
7528
7537
|
|
|
7529
7538
|
// ../sdk/src/generated/zod/models/mediaUploadRequest.zod.ts
|
|
7530
|
-
import * as
|
|
7539
|
+
import * as zod141 from "zod";
|
|
7531
7540
|
var mediaUploadRequestFilenameMax = 500;
|
|
7532
7541
|
var mediaUploadRequestSizeExclusiveMin = 0;
|
|
7533
7542
|
var mediaUploadRequestSizeMax = 10737418240;
|
|
7534
|
-
var MediaUploadRequest =
|
|
7535
|
-
"filename":
|
|
7536
|
-
"contentType":
|
|
7537
|
-
"size":
|
|
7538
|
-
"projectId":
|
|
7543
|
+
var MediaUploadRequest = zod141.strictObject({
|
|
7544
|
+
"filename": zod141.string().min(1).max(mediaUploadRequestFilenameMax),
|
|
7545
|
+
"contentType": zod141.enum(["video/mp4", "video/quicktime", "video/x-matroska", "video/webm", "audio/mpeg", "audio/wav", "audio/x-wav", "audio/mp4", "audio/aac", "image/png", "image/jpeg", "image/webp", "image/gif", "image/svg+xml", "application/json", "font/ttf", "font/otf", "font/woff", "font/woff2"]),
|
|
7546
|
+
"size": zod141.int().gt(mediaUploadRequestSizeExclusiveMin).max(mediaUploadRequestSizeMax),
|
|
7547
|
+
"projectId": zod141.string().min(1).optional()
|
|
7539
7548
|
}).describe("POST /media upload initiation body.");
|
|
7540
7549
|
|
|
7541
7550
|
// ../sdk/src/generated/zod/models/muxJobResponse.zod.ts
|
|
7542
|
-
import * as
|
|
7543
|
-
var MuxJobResponse =
|
|
7544
|
-
"jobId":
|
|
7545
|
-
"status":
|
|
7546
|
-
"muxedItems":
|
|
7547
|
-
"error":
|
|
7548
|
-
"startedAt":
|
|
7549
|
-
"completedAt":
|
|
7551
|
+
import * as zod142 from "zod";
|
|
7552
|
+
var MuxJobResponse = zod142.strictObject({
|
|
7553
|
+
"jobId": zod142.string(),
|
|
7554
|
+
"status": zod142.string(),
|
|
7555
|
+
"muxedItems": zod142.union([zod142.record(zod142.string(), zod142.string()), zod142.null()]).optional(),
|
|
7556
|
+
"error": zod142.string().nullish(),
|
|
7557
|
+
"startedAt": zod142.string().nullish(),
|
|
7558
|
+
"completedAt": zod142.string().nullish()
|
|
7550
7559
|
}).describe("Mux job response.");
|
|
7551
7560
|
|
|
7552
7561
|
// ../sdk/src/generated/zod/models/openComposeSession200.zod.ts
|
|
7553
|
-
import * as
|
|
7554
|
-
var OpenComposeSession200 =
|
|
7555
|
-
"sessionId":
|
|
7562
|
+
import * as zod143 from "zod";
|
|
7563
|
+
var OpenComposeSession200 = zod143.strictObject({
|
|
7564
|
+
"sessionId": zod143.string()
|
|
7556
7565
|
});
|
|
7557
7566
|
|
|
7558
7567
|
// ../sdk/src/generated/zod/models/openComposeSessionBody.zod.ts
|
|
7559
|
-
import * as
|
|
7568
|
+
import * as zod144 from "zod";
|
|
7560
7569
|
var openComposeSessionBodyLeaseJobIdMax = 64;
|
|
7561
|
-
var OpenComposeSessionBody =
|
|
7562
|
-
"seedComposition":
|
|
7563
|
-
"leaseJobId":
|
|
7570
|
+
var OpenComposeSessionBody = zod144.strictObject({
|
|
7571
|
+
"seedComposition": zod144.unknown().optional(),
|
|
7572
|
+
"leaseJobId": zod144.string().min(1).max(openComposeSessionBodyLeaseJobIdMax).optional()
|
|
7564
7573
|
});
|
|
7565
7574
|
|
|
7566
7575
|
// ../sdk/src/generated/zod/models/previewClipRequest.zod.ts
|
|
7567
|
-
import * as
|
|
7576
|
+
import * as zod145 from "zod";
|
|
7568
7577
|
var previewClipRequestFromSecMin = 0;
|
|
7569
7578
|
var previewClipRequestToSecExclusiveMin = 0;
|
|
7570
|
-
var PreviewClipRequest =
|
|
7571
|
-
"fromSec":
|
|
7572
|
-
"toSec":
|
|
7573
|
-
"compositionId":
|
|
7579
|
+
var PreviewClipRequest = zod145.strictObject({
|
|
7580
|
+
"fromSec": zod145.number().min(previewClipRequestFromSecMin).describe("Window start, seconds into the composition."),
|
|
7581
|
+
"toSec": zod145.number().gt(previewClipRequestToSecExclusiveMin).describe("Window end (exclusive), seconds."),
|
|
7582
|
+
"compositionId": zod145.string().min(1).optional().describe("Target a specific composition; defaults to the project's active composition.")
|
|
7574
7583
|
}).describe("POST /projects/:id/preview-clip body.");
|
|
7575
7584
|
|
|
7576
7585
|
// ../sdk/src/generated/zod/models/previewComponentBody.zod.ts
|
|
7577
|
-
import * as
|
|
7586
|
+
import * as zod146 from "zod";
|
|
7578
7587
|
var previewComponentBodyWidthExclusiveMin = 0;
|
|
7579
7588
|
var previewComponentBodyWidthMax = 9007199254740991;
|
|
7580
7589
|
var previewComponentBodyHeightExclusiveMin = 0;
|
|
@@ -7582,325 +7591,325 @@ var previewComponentBodyHeightMax = 9007199254740991;
|
|
|
7582
7591
|
var previewComponentBodyFpsExclusiveMin = 0;
|
|
7583
7592
|
var previewComponentBodyFpsMax = 120;
|
|
7584
7593
|
var previewComponentBodyDurationInFramesMax = 3600;
|
|
7585
|
-
var PreviewComponentBody =
|
|
7586
|
-
"componentId":
|
|
7587
|
-
"params":
|
|
7588
|
-
"assets":
|
|
7589
|
-
"width":
|
|
7590
|
-
"height":
|
|
7591
|
-
"fps":
|
|
7592
|
-
"durationInFrames":
|
|
7594
|
+
var PreviewComponentBody = zod146.strictObject({
|
|
7595
|
+
"componentId": zod146.string().min(1),
|
|
7596
|
+
"params": zod146.record(zod146.string(), zod146.unknown()).optional(),
|
|
7597
|
+
"assets": zod146.record(zod146.string(), zod146.string().min(1)).optional().describe("Component asset-slot name to org mediaId. Every required manifest slot must be bound."),
|
|
7598
|
+
"width": zod146.int().gt(previewComponentBodyWidthExclusiveMin).max(previewComponentBodyWidthMax).optional(),
|
|
7599
|
+
"height": zod146.int().gt(previewComponentBodyHeightExclusiveMin).max(previewComponentBodyHeightMax).optional(),
|
|
7600
|
+
"fps": zod146.number().gt(previewComponentBodyFpsExclusiveMin).max(previewComponentBodyFpsMax).optional().describe("Preview frame rate. When omitted, uses the project's format."),
|
|
7601
|
+
"durationInFrames": zod146.int().min(1).max(previewComponentBodyDurationInFramesMax).optional().describe("Preview frame count. When omitted, uses the component's declared duration; required if the component has none.")
|
|
7593
7602
|
});
|
|
7594
7603
|
|
|
7595
7604
|
// ../sdk/src/generated/zod/models/previewFrameJobBody.zod.ts
|
|
7596
|
-
import * as
|
|
7605
|
+
import * as zod147 from "zod";
|
|
7597
7606
|
var previewFrameJobBodyScaleMin = 0.1;
|
|
7598
7607
|
var previewFrameJobBodyScaleMax = 1;
|
|
7599
7608
|
var previewFrameJobBodyJpegQualityMax = 100;
|
|
7600
|
-
var PreviewFrameJobBody =
|
|
7601
|
-
"composition":
|
|
7602
|
-
"compositionId":
|
|
7603
|
-
"session_id":
|
|
7604
|
-
"timestamps":
|
|
7605
|
-
"imageFormat":
|
|
7606
|
-
"scale":
|
|
7607
|
-
"jpegQuality":
|
|
7609
|
+
var PreviewFrameJobBody = zod147.strictObject({
|
|
7610
|
+
"composition": zod147.unknown().optional().describe("The composition to render. Absent \u21D2 the project's ACTIVE composition \u2014 what create_render will encode. The response's `previewed.source` names what was rendered."),
|
|
7611
|
+
"compositionId": zod147.string().optional().describe("Preview a SPECIFIC persisted composition of this project (create_render parity). Absent \u21D2 the active one. A stale/foreign id is a 404 \u2014 never a silent fall-through."),
|
|
7612
|
+
"session_id": zod147.string().optional().describe("Compose-session id: render that session's SCRATCH composition (what the session has been editing) instead of the active row. Ignored when `composition` is passed."),
|
|
7613
|
+
"timestamps": zod147.array(zod147.number()).min(1),
|
|
7614
|
+
"imageFormat": zod147.enum(["png", "jpeg"]).optional().describe("Still format. Default jpeg \u2014 these pixels go to a vision model, where jpeg is equivalent and png costs multiples in bytes to store and move. Pass png only when you need full fidelity."),
|
|
7615
|
+
"scale": zod147.number().min(previewFrameJobBodyScaleMin).max(previewFrameJobBodyScaleMax).optional().describe("Render scale 0.1\u20131. Default 0.5, which is what this schema has always recommended for vision-bound looks. Pass 1 when judging fine detail \u2014 it costs ~4x the vision tokens."),
|
|
7616
|
+
"jpegQuality": zod147.int().min(1).max(previewFrameJobBodyJpegQualityMax).optional().describe("JPEG quality (jpeg only). Default 70 \u2014 the quality the eval panel grades at.")
|
|
7608
7617
|
});
|
|
7609
7618
|
|
|
7610
7619
|
// ../sdk/src/generated/zod/models/profileResponse.zod.ts
|
|
7611
|
-
import * as
|
|
7620
|
+
import * as zod148 from "zod";
|
|
7612
7621
|
var profileResponseBrandKitsItemAudioMusicMoodMax = 300;
|
|
7613
7622
|
var profileResponseBrandKitsItemAudioSonicLogoOffsetMsMin = 0;
|
|
7614
7623
|
var profileResponseBrandKitsItemAudioSonicLogoOffsetMsMax = 1e4;
|
|
7615
7624
|
var profileResponseBrandKitsItemAudioBedStyleGenreMax = 120;
|
|
7616
|
-
var ProfileResponse =
|
|
7617
|
-
"brandKits":
|
|
7618
|
-
"id":
|
|
7619
|
-
"name":
|
|
7620
|
-
"audio":
|
|
7621
|
-
"sfxIntensity":
|
|
7622
|
-
"musicEnabled":
|
|
7623
|
-
"musicMood":
|
|
7624
|
-
"sonicLogo":
|
|
7625
|
-
"ref":
|
|
7626
|
-
"placement":
|
|
7627
|
-
"offsetMs":
|
|
7625
|
+
var ProfileResponse = zod148.strictObject({
|
|
7626
|
+
"brandKits": zod148.array(zod148.strictObject({
|
|
7627
|
+
"id": zod148.string(),
|
|
7628
|
+
"name": zod148.string(),
|
|
7629
|
+
"audio": zod148.strictObject({
|
|
7630
|
+
"sfxIntensity": zod148.enum(["off", "light", "standard", "dense"]).optional(),
|
|
7631
|
+
"musicEnabled": zod148.boolean().optional(),
|
|
7632
|
+
"musicMood": zod148.string().max(profileResponseBrandKitsItemAudioMusicMoodMax).optional(),
|
|
7633
|
+
"sonicLogo": zod148.strictObject({
|
|
7634
|
+
"ref": zod148.string().min(1),
|
|
7635
|
+
"placement": zod148.enum(["intro", "outro", "both"]),
|
|
7636
|
+
"offsetMs": zod148.int().min(profileResponseBrandKitsItemAudioSonicLogoOffsetMsMin).max(profileResponseBrandKitsItemAudioSonicLogoOffsetMsMax).optional()
|
|
7628
7637
|
}).optional().describe("A brand sound signature bound to the intro/outro bookend. `ref` = a palette reference; bound only when the kit carries the matching bumper (intro/outro), else a non-blocking advisory."),
|
|
7629
|
-
"uiSoundSet":
|
|
7630
|
-
"tick":
|
|
7631
|
-
"pop":
|
|
7632
|
-
"impact":
|
|
7633
|
-
"confirm":
|
|
7634
|
-
"error":
|
|
7635
|
-
"whoosh":
|
|
7636
|
-
"riser":
|
|
7638
|
+
"uiSoundSet": zod148.strictObject({
|
|
7639
|
+
"tick": zod148.string().min(1).optional(),
|
|
7640
|
+
"pop": zod148.string().min(1).optional(),
|
|
7641
|
+
"impact": zod148.string().min(1).optional(),
|
|
7642
|
+
"confirm": zod148.string().min(1).optional(),
|
|
7643
|
+
"error": zod148.string().min(1).optional(),
|
|
7644
|
+
"whoosh": zod148.string().min(1).optional(),
|
|
7645
|
+
"riser": zod148.string().min(1).optional()
|
|
7637
7646
|
}).optional().describe("Per-family SFX overrides (the brand's own tick/pop/\u2026). Highest-priority tier over the org palette + pack default in the compose SFX draw."),
|
|
7638
|
-
"bedStyle":
|
|
7639
|
-
"bedId":
|
|
7640
|
-
"genre":
|
|
7641
|
-
"bpmRange":
|
|
7642
|
-
"min":
|
|
7643
|
-
"max":
|
|
7647
|
+
"bedStyle": zod148.strictObject({
|
|
7648
|
+
"bedId": zod148.string().min(1).optional(),
|
|
7649
|
+
"genre": zod148.string().max(profileResponseBrandKitsItemAudioBedStyleGenreMax).optional(),
|
|
7650
|
+
"bpmRange": zod148.strictObject({
|
|
7651
|
+
"min": zod148.number(),
|
|
7652
|
+
"max": zod148.number()
|
|
7644
7653
|
}).optional()
|
|
7645
7654
|
}).optional().describe("Preferred music bed (`bedId`) or a style hint (`genre` / `bpmRange`). Surfaced for driving agents; compose does not auto-select a pack bed."),
|
|
7646
|
-
"ambiencePreference":
|
|
7647
|
-
"ref":
|
|
7648
|
-
}),
|
|
7655
|
+
"ambiencePreference": zod148.union([zod148.strictObject({
|
|
7656
|
+
"ref": zod148.string().min(1)
|
|
7657
|
+
}), zod148.null()]).optional().describe("Preferred ambience bed (`{ref}`) or explicit null (opt-out). Surfaced for driving agents; compose has no ambience auto-placement.")
|
|
7649
7658
|
}).optional()
|
|
7650
7659
|
})).describe("The org's brand kits (bind one to a project via update_project). `audio` carries the brand sound kit when set."),
|
|
7651
|
-
"critics":
|
|
7652
|
-
"references":
|
|
7653
|
-
"mediaId":
|
|
7654
|
-
"name":
|
|
7655
|
-
"thumbnailUrl":
|
|
7660
|
+
"critics": zod148.array(CriticSummary).describe("Registered critics \u2014 run in the Director's gates AND score_composition."),
|
|
7661
|
+
"references": zod148.array(zod148.strictObject({
|
|
7662
|
+
"mediaId": zod148.string(),
|
|
7663
|
+
"name": zod148.string().optional(),
|
|
7664
|
+
"thumbnailUrl": zod148.string().optional().describe("Presigned reference thumbnail (~1 week).")
|
|
7656
7665
|
})).describe("The union of critic reference media \u2014 the org's visual standard, with provenance."),
|
|
7657
|
-
"recentDecisions":
|
|
7658
|
-
"checkpointId":
|
|
7659
|
-
"projectId":
|
|
7660
|
-
"kind":
|
|
7661
|
-
"stage":
|
|
7662
|
-
"decision":
|
|
7663
|
-
"decidedAt":
|
|
7666
|
+
"recentDecisions": zod148.array(zod148.strictObject({
|
|
7667
|
+
"checkpointId": zod148.string(),
|
|
7668
|
+
"projectId": zod148.string(),
|
|
7669
|
+
"kind": zod148.enum(["gate", "score"]),
|
|
7670
|
+
"stage": zod148.enum(["content", "layout", "motion"]).optional(),
|
|
7671
|
+
"decision": zod148.string(),
|
|
7672
|
+
"decidedAt": zod148.number()
|
|
7664
7673
|
})).describe("The last recorded checkpoint decisions \u2014 the raw taste log phase 2 will distill.")
|
|
7665
7674
|
}).describe("The org's legible taste: brand + critics + references + decision log.");
|
|
7666
7675
|
|
|
7667
7676
|
// ../sdk/src/generated/zod/models/projectCompositionSummary.zod.ts
|
|
7668
|
-
import * as
|
|
7677
|
+
import * as zod149 from "zod";
|
|
7669
7678
|
var projectCompositionSummarySceneCountMin = 0;
|
|
7670
7679
|
var projectCompositionSummarySceneCountMax = 9007199254740991;
|
|
7671
|
-
var ProjectCompositionSummary =
|
|
7672
|
-
"hasComposition":
|
|
7673
|
-
"sceneCount":
|
|
7674
|
-
"duration":
|
|
7675
|
-
"updatedAt":
|
|
7680
|
+
var ProjectCompositionSummary = zod149.strictObject({
|
|
7681
|
+
"hasComposition": zod149.boolean(),
|
|
7682
|
+
"sceneCount": zod149.int().min(projectCompositionSummarySceneCountMin).max(projectCompositionSummarySceneCountMax),
|
|
7683
|
+
"duration": zod149.number().nullable(),
|
|
7684
|
+
"updatedAt": zod149.string().nullable()
|
|
7676
7685
|
}).describe("Summary of a project's stored composition.");
|
|
7677
7686
|
|
|
7678
7687
|
// ../sdk/src/generated/zod/models/projectContextMedia.zod.ts
|
|
7679
|
-
import * as
|
|
7680
|
-
var ProjectContextMedia =
|
|
7681
|
-
"id":
|
|
7682
|
-
"name":
|
|
7683
|
-
"kind":
|
|
7684
|
-
"durationSec":
|
|
7685
|
-
"hasTranscript":
|
|
7688
|
+
import * as zod150 from "zod";
|
|
7689
|
+
var ProjectContextMedia = zod150.strictObject({
|
|
7690
|
+
"id": zod150.string(),
|
|
7691
|
+
"name": zod150.string(),
|
|
7692
|
+
"kind": zod150.string().nullable(),
|
|
7693
|
+
"durationSec": zod150.number().nullable().describe("Seconds. Uses the media duration when known; audio without one falls back to its transcript's measured duration (same rule as get_media_context)."),
|
|
7694
|
+
"hasTranscript": zod150.boolean().describe("A cached transcript EXISTS for this item. The bodies are never inlined here \u2014 fetch one with GET /v1/media/{id}/transcript (or get_media_context for faces + grids too).")
|
|
7686
7695
|
}).describe("One media item as the project context lists it: identity + duration + whether a transcript exists.");
|
|
7687
7696
|
|
|
7688
7697
|
// ../sdk/src/generated/zod/models/projectContextResponse.zod.ts
|
|
7689
|
-
import * as
|
|
7698
|
+
import * as zod152 from "zod";
|
|
7690
7699
|
|
|
7691
7700
|
// ../sdk/src/generated/zod/models/projectContextTranscript.zod.ts
|
|
7692
|
-
import * as
|
|
7693
|
-
var ProjectContextTranscript =
|
|
7694
|
-
"status":
|
|
7695
|
-
"mediaId":
|
|
7696
|
-
"words":
|
|
7697
|
-
"text":
|
|
7698
|
-
"start":
|
|
7699
|
-
"end":
|
|
7701
|
+
import * as zod151 from "zod";
|
|
7702
|
+
var ProjectContextTranscript = zod151.union([zod151.strictObject({
|
|
7703
|
+
"status": zod151.literal("ready"),
|
|
7704
|
+
"mediaId": zod151.string(),
|
|
7705
|
+
"words": zod151.array(zod151.strictObject({
|
|
7706
|
+
"text": zod151.string(),
|
|
7707
|
+
"start": zod151.number().describe("Word onset (SECONDS from source start)."),
|
|
7708
|
+
"end": zod151.number().describe("Word end (SECONDS from source start).")
|
|
7700
7709
|
}))
|
|
7701
|
-
}),
|
|
7702
|
-
"status":
|
|
7703
|
-
"mediaId":
|
|
7710
|
+
}), zod151.strictObject({
|
|
7711
|
+
"status": zod151.literal("unavailable"),
|
|
7712
|
+
"mediaId": zod151.string()
|
|
7704
7713
|
})]);
|
|
7705
7714
|
|
|
7706
7715
|
// ../sdk/src/generated/zod/models/projectContextResponse.zod.ts
|
|
7707
7716
|
var projectContextResponseMarkersItemStartTimeMin = 0;
|
|
7708
7717
|
var projectContextResponseMarkersItemEndTimeMin = 0;
|
|
7709
|
-
var ProjectContextResponse =
|
|
7710
|
-
"composition":
|
|
7711
|
-
"format":
|
|
7712
|
-
"aspectRatio":
|
|
7713
|
-
"fps":
|
|
7714
|
-
"resolution":
|
|
7715
|
-
"platform":
|
|
7716
|
-
}),
|
|
7717
|
-
"media":
|
|
7718
|
-
"transcript":
|
|
7719
|
-
"brandKit":
|
|
7720
|
-
"markers":
|
|
7721
|
-
"id":
|
|
7722
|
-
"startTime":
|
|
7723
|
-
"endTime":
|
|
7724
|
-
"kind":
|
|
7725
|
-
"name":
|
|
7726
|
-
"metadata":
|
|
7718
|
+
var ProjectContextResponse = zod152.strictObject({
|
|
7719
|
+
"composition": zod152.union([Composition, zod152.null()]).describe("The project's ACTIVE composition wire shape \u2014 identical to GET /v1/projects/{id}/composition. NULL when the project has no composition yet (a freshly created project): mint one with new_composition, or let the first apply_composition create it."),
|
|
7720
|
+
"format": zod152.union([zod152.strictObject({
|
|
7721
|
+
"aspectRatio": zod152.enum(["16:9", "9:16", "1:1", "4:5"]),
|
|
7722
|
+
"fps": zod152.union([zod152.literal(24), zod152.literal(25), zod152.literal(30), zod152.literal(60)]).optional(),
|
|
7723
|
+
"resolution": zod152.enum(["hd", "fhd", "4k"]).optional(),
|
|
7724
|
+
"platform": zod152.string().optional()
|
|
7725
|
+
}), zod152.null()]).describe("The composition's format, hoisted \u2014 the pixel frame every card/graphic must be authored against. Null whenever `composition` is null."),
|
|
7726
|
+
"media": zod152.array(ProjectContextMedia).describe("The org's media library (most recent first, capped) \u2014 the pool this project can draw clips from."),
|
|
7727
|
+
"transcript": zod152.union([ProjectContextTranscript, zod152.null()]).describe('The FIRST transcribed media item\'s word-timed transcript, flattened \u2014 the spine a VO-driven film cuts to. `status:"ready"` carries the words; `status:"unavailable"` means the transcript exists but its body could not be fetched (retry); null means nothing in `media` is transcribed. For any OTHER transcribed item (see each entry\'s `hasTranscript`), read GET /v1/media/{id}/transcript.'),
|
|
7728
|
+
"brandKit": zod152.union([BrandKitResponse, zod152.null()]).describe("The kit BOUND to this project (`projects.brandKitId` is the brand SSOT \u2014 bind one via update_project). Null when the project has no kit bound; enumerate the org's kits with GET /v1/brand-kits."),
|
|
7729
|
+
"markers": zod152.array(zod152.strictObject({
|
|
7730
|
+
"id": zod152.string().min(1),
|
|
7731
|
+
"startTime": zod152.number().min(projectContextResponseMarkersItemStartTimeMin),
|
|
7732
|
+
"endTime": zod152.number().min(projectContextResponseMarkersItemEndTimeMin).optional(),
|
|
7733
|
+
"kind": zod152.string().min(1),
|
|
7734
|
+
"name": zod152.string().optional(),
|
|
7735
|
+
"metadata": zod152.record(zod152.string(), zod152.unknown()).optional()
|
|
7727
7736
|
})).describe("The composition's markers \u2014 hoisted alongside `format`. Empty when the composition carries none AND when there is no composition yet.")
|
|
7728
7737
|
}).describe("One-call agent context for a project: composition + format + media pool + the lead transcript + the bound brand kit + markers. Replaces get_composition + get_media_context + get_profile at the start of an authoring session. A 404 means the project doesn't exist for your org \u2014 never that it is empty.");
|
|
7729
7738
|
|
|
7730
7739
|
// ../sdk/src/generated/zod/models/projectCreateRequest.zod.ts
|
|
7731
|
-
import * as
|
|
7740
|
+
import * as zod153 from "zod";
|
|
7732
7741
|
var projectCreateRequestNameMax = 200;
|
|
7733
7742
|
var projectCreateRequestWidthExclusiveMin = 0;
|
|
7734
7743
|
var projectCreateRequestHeightExclusiveMin = 0;
|
|
7735
|
-
var ProjectCreateRequest =
|
|
7736
|
-
"name":
|
|
7737
|
-
"description":
|
|
7744
|
+
var ProjectCreateRequest = zod153.strictObject({
|
|
7745
|
+
"name": zod153.string().min(1).max(projectCreateRequestNameMax),
|
|
7746
|
+
"description": zod153.string().optional(),
|
|
7738
7747
|
"format": FormatSpec.optional(),
|
|
7739
|
-
"brandKitId":
|
|
7740
|
-
"width":
|
|
7741
|
-
"height":
|
|
7748
|
+
"brandKitId": zod153.string().min(1).optional(),
|
|
7749
|
+
"width": zod153.number().gt(projectCreateRequestWidthExclusiveMin).optional(),
|
|
7750
|
+
"height": zod153.number().gt(projectCreateRequestHeightExclusiveMin).optional()
|
|
7742
7751
|
}).describe("POST /projects body.");
|
|
7743
7752
|
|
|
7744
7753
|
// ../sdk/src/generated/zod/models/projectLastRender.zod.ts
|
|
7745
|
-
import * as
|
|
7746
|
-
var ProjectLastRender =
|
|
7747
|
-
"id":
|
|
7748
|
-
"status":
|
|
7749
|
-
"createdAt":
|
|
7750
|
-
"outputUrl":
|
|
7751
|
-
"outputExpiresAt":
|
|
7752
|
-
}),
|
|
7754
|
+
import * as zod154 from "zod";
|
|
7755
|
+
var ProjectLastRender = zod154.union([zod154.strictObject({
|
|
7756
|
+
"id": zod154.string(),
|
|
7757
|
+
"status": zod154.string(),
|
|
7758
|
+
"createdAt": zod154.string(),
|
|
7759
|
+
"outputUrl": zod154.string().nullable(),
|
|
7760
|
+
"outputExpiresAt": zod154.string().nullable()
|
|
7761
|
+
}), zod154.null()]).describe("Most recent render for a project, if any.");
|
|
7753
7762
|
|
|
7754
7763
|
// ../sdk/src/generated/zod/models/projectListResponse.zod.ts
|
|
7755
|
-
import * as
|
|
7764
|
+
import * as zod156 from "zod";
|
|
7756
7765
|
|
|
7757
7766
|
// ../sdk/src/generated/zod/models/projectResponse.zod.ts
|
|
7758
|
-
import * as
|
|
7759
|
-
var ProjectResponse =
|
|
7760
|
-
"id":
|
|
7761
|
-
"name":
|
|
7762
|
-
"description":
|
|
7763
|
-
"format":
|
|
7764
|
-
"brandKitId":
|
|
7765
|
-
"activeCompositionId":
|
|
7767
|
+
import * as zod155 from "zod";
|
|
7768
|
+
var ProjectResponse = zod155.strictObject({
|
|
7769
|
+
"id": zod155.string(),
|
|
7770
|
+
"name": zod155.string(),
|
|
7771
|
+
"description": zod155.string().nullable(),
|
|
7772
|
+
"format": zod155.union([FormatSpec, zod155.null()]),
|
|
7773
|
+
"brandKitId": zod155.string().nullable(),
|
|
7774
|
+
"activeCompositionId": zod155.string().nullable(),
|
|
7766
7775
|
"composition": ProjectCompositionSummary,
|
|
7767
7776
|
"lastRender": ProjectLastRender,
|
|
7768
|
-
"webUrl":
|
|
7769
|
-
"createdAt":
|
|
7777
|
+
"webUrl": zod155.string().nullable().describe("A browser URL that opens THIS project, or null when CueFrame exposes no web view for a project. Null today: the console serves account surfaces (keys, usage, billing) and has no per-project page, so there is no link to give. Do NOT synthesise one \u2014 a guessed console path 404s. Show the user rendered output (create_render \u2192 outputUrl) or a preview still instead. This field becoming non-null is the signal that a real project view exists."),
|
|
7778
|
+
"createdAt": zod155.string()
|
|
7770
7779
|
}).describe("Project response per \xA7Projects.");
|
|
7771
7780
|
|
|
7772
7781
|
// ../sdk/src/generated/zod/models/projectListResponse.zod.ts
|
|
7773
|
-
var ProjectListResponse =
|
|
7774
|
-
"data":
|
|
7782
|
+
var ProjectListResponse = zod156.strictObject({
|
|
7783
|
+
"data": zod156.array(ProjectResponse),
|
|
7775
7784
|
"pagination": PaginationMeta
|
|
7776
7785
|
});
|
|
7777
7786
|
|
|
7778
7787
|
// ../sdk/src/generated/zod/models/projectPatchRequest.zod.ts
|
|
7779
|
-
import * as
|
|
7788
|
+
import * as zod157 from "zod";
|
|
7780
7789
|
var projectPatchRequestNameMax = 200;
|
|
7781
|
-
var ProjectPatchRequest =
|
|
7782
|
-
"name":
|
|
7783
|
-
"description":
|
|
7790
|
+
var ProjectPatchRequest = zod157.strictObject({
|
|
7791
|
+
"name": zod157.string().min(1).max(projectPatchRequestNameMax).optional(),
|
|
7792
|
+
"description": zod157.string().optional(),
|
|
7784
7793
|
"format": FormatSpec.optional(),
|
|
7785
|
-
"brandKitId":
|
|
7794
|
+
"brandKitId": zod157.string().min(1).optional()
|
|
7786
7795
|
}).describe("PATCH /projects/:id body.");
|
|
7787
7796
|
|
|
7788
7797
|
// ../sdk/src/generated/zod/models/renderCreateRequest.zod.ts
|
|
7789
|
-
import * as
|
|
7790
|
-
var RenderCreateRequest =
|
|
7791
|
-
"clipSuggestionId":
|
|
7792
|
-
"compositionId":
|
|
7798
|
+
import * as zod158 from "zod";
|
|
7799
|
+
var RenderCreateRequest = zod158.strictObject({
|
|
7800
|
+
"clipSuggestionId": zod158.string().min(1).optional(),
|
|
7801
|
+
"compositionId": zod158.string().min(1).optional().describe("Target a specific composition in the project; defaults to the project's active composition."),
|
|
7793
7802
|
"format": FormatSpec.optional(),
|
|
7794
|
-
"priority":
|
|
7795
|
-
"intent":
|
|
7796
|
-
"brandKitId":
|
|
7803
|
+
"priority": zod158.enum(["interactive", "standard", "background"]).optional(),
|
|
7804
|
+
"intent": zod158.enum(["preview", "final"]).optional(),
|
|
7805
|
+
"brandKitId": zod158.union([zod158.string().min(1), zod158.null()]).optional()
|
|
7797
7806
|
}).describe("POST /projects/:id/renders body.");
|
|
7798
7807
|
|
|
7799
7808
|
// ../sdk/src/generated/zod/models/renderFontsResponse.zod.ts
|
|
7800
|
-
import * as
|
|
7801
|
-
var RenderFontsResponse =
|
|
7802
|
-
"manifestVersion":
|
|
7803
|
-
"families":
|
|
7804
|
-
"family":
|
|
7805
|
-
"weights":
|
|
7806
|
-
"min":
|
|
7807
|
-
"max":
|
|
7809
|
+
import * as zod159 from "zod";
|
|
7810
|
+
var RenderFontsResponse = zod159.strictObject({
|
|
7811
|
+
"manifestVersion": zod159.string().describe("Identifies this exact face table. Derived from the table's own content, so it moves when and only when the admitted set moves. Record it beside a composition to state which face table a font choice was validated against."),
|
|
7812
|
+
"families": zod159.array(zod159.strictObject({
|
|
7813
|
+
"family": zod159.string().describe("The family name authoring accepts VERBATIM \u2014 card, caption and scene text alike."),
|
|
7814
|
+
"weights": zod159.array(zod159.strictObject({
|
|
7815
|
+
"min": zod159.number(),
|
|
7816
|
+
"max": zod159.number()
|
|
7808
7817
|
})).describe("The weights a shipped file declares. A static face has min === max; a variable face gives its declared wght axis range. Any weight inside a range renders; anything outside every range is REFUSED, never synthesised."),
|
|
7809
|
-
"styles":
|
|
7810
|
-
"captionDefaults":
|
|
7811
|
-
"base":
|
|
7812
|
-
"emphasis":
|
|
7818
|
+
"styles": zod159.array(zod159.enum(["normal"])).describe("The styles bytes exist for. Always ['normal']: no bundled or aliased family ships an italic file, so fontStyle:'italic' over one is refused rather than slanted. Real italics come only from a brand-kit font asset."),
|
|
7819
|
+
"captionDefaults": zod159.strictObject({
|
|
7820
|
+
"base": zod159.number(),
|
|
7821
|
+
"emphasis": zod159.number()
|
|
7813
7822
|
}).describe("The weights a caption is drawn at when the style names none."),
|
|
7814
|
-
"origin":
|
|
7823
|
+
"origin": zod159.enum(["bundled", "aliased"]).describe("'bundled' = bytes ship in the render bundle. 'aliased' = a metric-compatible binary stands in for the named family.")
|
|
7815
7824
|
}))
|
|
7816
7825
|
}).describe("GET /fonts response \u2014 the renderer's admitted font set. Derived from the same table the font gate refuses by, so any family/weight/style here passes validation by construction. Covers the BUNDLED set only: a brand kit's sealed faces are per-org and per-render.");
|
|
7817
7826
|
|
|
7818
7827
|
// ../sdk/src/generated/zod/models/renderListResponse.zod.ts
|
|
7819
|
-
import * as
|
|
7828
|
+
import * as zod162 from "zod";
|
|
7820
7829
|
|
|
7821
7830
|
// ../sdk/src/generated/zod/models/renderResponse.zod.ts
|
|
7822
|
-
import * as
|
|
7831
|
+
import * as zod161 from "zod";
|
|
7823
7832
|
|
|
7824
7833
|
// ../sdk/src/generated/zod/models/renderProgress.zod.ts
|
|
7825
|
-
import * as
|
|
7834
|
+
import * as zod160 from "zod";
|
|
7826
7835
|
var renderProgressScenesCompletedMin = 0;
|
|
7827
7836
|
var renderProgressScenesCompletedMax = 9007199254740991;
|
|
7828
7837
|
var renderProgressScenesTotalMin = 0;
|
|
7829
7838
|
var renderProgressScenesTotalMax = 9007199254740991;
|
|
7830
|
-
var RenderProgress =
|
|
7831
|
-
"phase":
|
|
7832
|
-
"percent":
|
|
7833
|
-
"scenesCompleted":
|
|
7834
|
-
"scenesTotal":
|
|
7839
|
+
var RenderProgress = zod160.strictObject({
|
|
7840
|
+
"phase": zod160.enum(["queued", "validating", "presigning", "collecting-artifacts", "resolving", "detecting", "baking-matte", "translating", "spawning", "encoding", "uploading"]),
|
|
7841
|
+
"percent": zod160.number(),
|
|
7842
|
+
"scenesCompleted": zod160.int().min(renderProgressScenesCompletedMin).max(renderProgressScenesCompletedMax).optional(),
|
|
7843
|
+
"scenesTotal": zod160.int().min(renderProgressScenesTotalMin).max(renderProgressScenesTotalMax).optional()
|
|
7835
7844
|
}).describe("Non-terminal render progress; phase is one of the worker's emitted stages.");
|
|
7836
7845
|
|
|
7837
7846
|
// ../sdk/src/generated/zod/models/renderResponse.zod.ts
|
|
7838
|
-
var RenderResponse =
|
|
7839
|
-
"id":
|
|
7840
|
-
"status":
|
|
7847
|
+
var RenderResponse = zod161.strictObject({
|
|
7848
|
+
"id": zod161.string(),
|
|
7849
|
+
"status": zod161.enum(["queued", "pending", "rendering", "complete", "error", "cancelled"]),
|
|
7841
7850
|
"progress": RenderProgress.optional(),
|
|
7842
|
-
"outputUrl":
|
|
7843
|
-
"outputExpiresAt":
|
|
7844
|
-
"error":
|
|
7845
|
-
"errorCode":
|
|
7846
|
-
"errorDetails":
|
|
7847
|
-
"category":
|
|
7848
|
-
"retryable":
|
|
7849
|
-
"createdAt":
|
|
7850
|
-
"updatedAt":
|
|
7851
|
-
"listUsd":
|
|
7852
|
-
"warnings":
|
|
7851
|
+
"outputUrl": zod161.string().nullable(),
|
|
7852
|
+
"outputExpiresAt": zod161.string().nullable(),
|
|
7853
|
+
"error": zod161.string().nullable().describe("Human-readable failure message. Pair with `errorCode` for a stable, machine-readable code an agent runner can branch on."),
|
|
7854
|
+
"errorCode": zod161.string().nullable().describe("Stable, machine-readable error code (e.g. `render_pipeline_unavailable`, `render_route_missing`, `render_pipeline_failed`). Null when status is not `error` or unavailable for an older render."),
|
|
7855
|
+
"errorDetails": zod161.union([zod161.record(zod161.string(), zod161.unknown()), zod161.null()]).describe("Structured failure context \u2014 `{ targetUrl?, upstreamStatus?, upstreamCode?, attemptedAt? }`. Surfaced so agent runners can distinguish operator-config issues from upstream-down vs route-missing without parsing `error`."),
|
|
7856
|
+
"category": zod161.union([zod161.enum(["authoring", "transient", "internal"]), zod161.null()]).describe("Failure taxonomy when status is `error`; null otherwise. `authoring` = deterministic defect in YOUR composition/request \u2014 fix it, retrying is futile; `transient` = temporary pipeline/infra failure \u2014 safe to retry_render; `internal` = unexpected server fault \u2014 retry once then escalate. Mirrors the render.failed webhook's `category`."),
|
|
7857
|
+
"retryable": zod161.boolean().nullable().describe("Whether re-attempting the SAME render can succeed (status `error`); null otherwise. true \u2192 call retry_render. false \u2192 deterministic (category authoring/internal); fix the composition first \u2014 retry_render alone reproduces it. Mirrors the render.failed webhook's `retryable`."),
|
|
7858
|
+
"createdAt": zod161.string(),
|
|
7859
|
+
"updatedAt": zod161.string().describe("ISO-8601 timestamp of the render's most recent progress update. Compute staleness = now \u2212 updatedAt to distinguish a wedged render from a slow one and decide whether to wait, cancel, or retry."),
|
|
7860
|
+
"listUsd": zod161.number().optional().describe("A2 money stamp: the metered event's LIST price (USD), stamped at the success terminal (exports for deliverable renders, compose_capture for A8 previews). A plan allowance may zero the actual invoice line \u2014 this is the list price, never a Stripe charge. Absent while running, on failure, and for x402 orgs (on-chain receipts). Mirrors the get_usage ledger."),
|
|
7861
|
+
"warnings": zod161.array(zod161.string()).optional().describe("Non-fatal advisories surfaced at render-CREATE (omitted when none, and on GET \u2014 create-time only).")
|
|
7853
7862
|
}).describe("Render job response per \xA7Renders.");
|
|
7854
7863
|
|
|
7855
7864
|
// ../sdk/src/generated/zod/models/renderListResponse.zod.ts
|
|
7856
|
-
var RenderListResponse =
|
|
7857
|
-
"data":
|
|
7865
|
+
var RenderListResponse = zod162.strictObject({
|
|
7866
|
+
"data": zod162.array(RenderResponse),
|
|
7858
7867
|
"pagination": PaginationMeta
|
|
7859
7868
|
});
|
|
7860
7869
|
|
|
7861
7870
|
// ../sdk/src/generated/zod/models/renderRefreshUrlResponse.zod.ts
|
|
7862
|
-
import * as
|
|
7863
|
-
var RenderRefreshUrlResponse =
|
|
7864
|
-
"outputUrl":
|
|
7865
|
-
"outputExpiresAt":
|
|
7871
|
+
import * as zod163 from "zod";
|
|
7872
|
+
var RenderRefreshUrlResponse = zod163.strictObject({
|
|
7873
|
+
"outputUrl": zod163.string(),
|
|
7874
|
+
"outputExpiresAt": zod163.string()
|
|
7866
7875
|
}).describe("POST /refresh-url response.");
|
|
7867
7876
|
|
|
7868
7877
|
// ../sdk/src/generated/zod/models/resourceCandidate.zod.ts
|
|
7869
|
-
import * as
|
|
7870
|
-
var ResourceCandidate =
|
|
7871
|
-
"candidateId":
|
|
7872
|
-
"provider":
|
|
7873
|
-
"kind":
|
|
7874
|
-
"thumbnail":
|
|
7875
|
-
"previewUrl":
|
|
7876
|
-
"downloadUrl":
|
|
7877
|
-
"duration":
|
|
7878
|
-
"width":
|
|
7879
|
-
"height":
|
|
7880
|
-
"author":
|
|
7881
|
-
"authorUrl":
|
|
7882
|
-
"assetUrl":
|
|
7883
|
-
"license":
|
|
7878
|
+
import * as zod164 from "zod";
|
|
7879
|
+
var ResourceCandidate = zod164.strictObject({
|
|
7880
|
+
"candidateId": zod164.string(),
|
|
7881
|
+
"provider": zod164.enum(["pexels", "pixabay", "freesound", "klipy"]),
|
|
7882
|
+
"kind": zod164.enum(["video", "photo", "sfx", "gif"]),
|
|
7883
|
+
"thumbnail": zod164.string(),
|
|
7884
|
+
"previewUrl": zod164.string(),
|
|
7885
|
+
"downloadUrl": zod164.string().optional(),
|
|
7886
|
+
"duration": zod164.number().optional(),
|
|
7887
|
+
"width": zod164.number().optional(),
|
|
7888
|
+
"height": zod164.number().optional(),
|
|
7889
|
+
"author": zod164.string(),
|
|
7890
|
+
"authorUrl": zod164.string().optional(),
|
|
7891
|
+
"assetUrl": zod164.string().optional(),
|
|
7892
|
+
"license": zod164.string().optional()
|
|
7884
7893
|
}).describe("A stock resource search candidate.");
|
|
7885
7894
|
|
|
7886
7895
|
// ../sdk/src/generated/zod/models/resourceImportRequest.zod.ts
|
|
7887
|
-
import * as
|
|
7888
|
-
var ResourceImportRequest =
|
|
7889
|
-
"kind":
|
|
7890
|
-
"id":
|
|
7891
|
-
"projectId":
|
|
7892
|
-
"candidateId":
|
|
7896
|
+
import * as zod165 from "zod";
|
|
7897
|
+
var ResourceImportRequest = zod165.strictObject({
|
|
7898
|
+
"kind": zod165.enum(["sfx-pack", "music-pack"]).optional(),
|
|
7899
|
+
"id": zod165.string().min(1).optional(),
|
|
7900
|
+
"projectId": zod165.string().min(1).optional(),
|
|
7901
|
+
"candidateId": zod165.string().min(1).optional()
|
|
7893
7902
|
}).describe('POST /resources/import body \u2014 stock candidate lane { projectId, candidateId } OR curated pack lane { kind:"sfx-pack"|"music-pack", id }.');
|
|
7894
7903
|
|
|
7895
7904
|
// ../sdk/src/generated/zod/models/resourceImportResponse.zod.ts
|
|
7896
|
-
import * as
|
|
7897
|
-
var ResourceImportResponse =
|
|
7898
|
-
"id":
|
|
7899
|
-
"status":
|
|
7905
|
+
import * as zod166 from "zod";
|
|
7906
|
+
var ResourceImportResponse = zod166.strictObject({
|
|
7907
|
+
"id": zod166.string(),
|
|
7908
|
+
"status": zod166.enum(["importing", "ready"])
|
|
7900
7909
|
}).describe("POST /resources/import response.");
|
|
7901
7910
|
|
|
7902
7911
|
// ../sdk/src/generated/zod/models/resourceSearchRequest.zod.ts
|
|
7903
|
-
import * as
|
|
7912
|
+
import * as zod167 from "zod";
|
|
7904
7913
|
var resourceSearchRequestQueryMax = 200;
|
|
7905
7914
|
var resourceSearchRequestQueriesItemMax = 200;
|
|
7906
7915
|
var resourceSearchRequestQueriesMax = 10;
|
|
@@ -7912,342 +7921,342 @@ var resourceSearchRequestMinHeightExclusiveMin = 0;
|
|
|
7912
7921
|
var resourceSearchRequestMinHeightMax = 9007199254740991;
|
|
7913
7922
|
var resourceSearchRequestDurationSecMinMin = 0;
|
|
7914
7923
|
var resourceSearchRequestDurationSecMaxExclusiveMin = 0;
|
|
7915
|
-
var ResourceSearchRequest =
|
|
7916
|
-
"query":
|
|
7917
|
-
"queries":
|
|
7918
|
-
"kind":
|
|
7919
|
-
"provider":
|
|
7920
|
-
"limit":
|
|
7921
|
-
"minWidth":
|
|
7922
|
-
"minHeight":
|
|
7923
|
-
"durationSec":
|
|
7924
|
-
"min":
|
|
7925
|
-
"max":
|
|
7924
|
+
var ResourceSearchRequest = zod167.strictObject({
|
|
7925
|
+
"query": zod167.string().min(1).max(resourceSearchRequestQueryMax).optional(),
|
|
7926
|
+
"queries": zod167.array(zod167.string().min(1).max(resourceSearchRequestQueriesItemMax)).min(1).max(resourceSearchRequestQueriesMax).optional(),
|
|
7927
|
+
"kind": zod167.enum(["video", "photo", "sfx", "gif"]).optional(),
|
|
7928
|
+
"provider": zod167.enum(["pexels", "pixabay", "freesound", "klipy"]).optional(),
|
|
7929
|
+
"limit": zod167.int().gt(resourceSearchRequestLimitExclusiveMin).max(resourceSearchRequestLimitMax).optional(),
|
|
7930
|
+
"minWidth": zod167.int().gt(resourceSearchRequestMinWidthExclusiveMin).max(resourceSearchRequestMinWidthMax).optional().describe("Video-only minimum selected-rendition width in pixels; smaller results are excluded."),
|
|
7931
|
+
"minHeight": zod167.int().gt(resourceSearchRequestMinHeightExclusiveMin).max(resourceSearchRequestMinHeightMax).optional().describe("Video-only minimum selected-rendition height in pixels; smaller results are excluded."),
|
|
7932
|
+
"durationSec": zod167.strictObject({
|
|
7933
|
+
"min": zod167.number().min(resourceSearchRequestDurationSecMinMin).optional(),
|
|
7934
|
+
"max": zod167.number().gt(resourceSearchRequestDurationSecMaxExclusiveMin).optional()
|
|
7926
7935
|
}).optional().describe("sfx-only clip-length bound in seconds \u2192 Freesound native filter.")
|
|
7927
7936
|
}).describe("POST /resources/search body \u2014 one `query`, or a batch of `queries[]`.");
|
|
7928
7937
|
|
|
7929
7938
|
// ../sdk/src/generated/zod/models/resourceSearchResponse.zod.ts
|
|
7930
|
-
import * as
|
|
7939
|
+
import * as zod169 from "zod";
|
|
7931
7940
|
|
|
7932
7941
|
// ../sdk/src/generated/zod/models/resourceSearchResult.zod.ts
|
|
7933
|
-
import * as
|
|
7934
|
-
var ResourceSearchResult =
|
|
7935
|
-
"query":
|
|
7936
|
-
"provider":
|
|
7937
|
-
"kind":
|
|
7938
|
-
"candidates":
|
|
7939
|
-
"error":
|
|
7942
|
+
import * as zod168 from "zod";
|
|
7943
|
+
var ResourceSearchResult = zod168.strictObject({
|
|
7944
|
+
"query": zod168.string(),
|
|
7945
|
+
"provider": zod168.enum(["pexels", "pixabay", "freesound", "klipy"]).optional(),
|
|
7946
|
+
"kind": zod168.enum(["video", "photo", "sfx", "gif"]).optional(),
|
|
7947
|
+
"candidates": zod168.array(ResourceCandidate),
|
|
7948
|
+
"error": zod168.string().optional()
|
|
7940
7949
|
}).describe("One query's candidates within a batch search.");
|
|
7941
7950
|
|
|
7942
7951
|
// ../sdk/src/generated/zod/models/resourceSearchResponse.zod.ts
|
|
7943
|
-
var ResourceSearchResponse =
|
|
7944
|
-
"provider":
|
|
7945
|
-
"kind":
|
|
7946
|
-
"candidates":
|
|
7947
|
-
"results":
|
|
7952
|
+
var ResourceSearchResponse = zod169.strictObject({
|
|
7953
|
+
"provider": zod169.enum(["pexels", "pixabay", "freesound", "klipy"]).optional(),
|
|
7954
|
+
"kind": zod169.enum(["video", "photo", "sfx", "gif"]).optional(),
|
|
7955
|
+
"candidates": zod169.array(ResourceCandidate).optional(),
|
|
7956
|
+
"results": zod169.array(ResourceSearchResult).optional()
|
|
7948
7957
|
}).describe("POST /resources/search response \u2014 `candidates` for one query, `results[]` for a batch.");
|
|
7949
7958
|
|
|
7950
7959
|
// ../sdk/src/generated/zod/models/reviewDecisionResponse.zod.ts
|
|
7951
|
-
import * as
|
|
7960
|
+
import * as zod170 from "zod";
|
|
7952
7961
|
var reviewDecisionResponseVersionMin = -9007199254740991;
|
|
7953
7962
|
var reviewDecisionResponseVersionMax = 9007199254740991;
|
|
7954
|
-
var ReviewDecisionResponse =
|
|
7955
|
-
"ok":
|
|
7956
|
-
"stage":
|
|
7957
|
-
"version":
|
|
7958
|
-
"composeJobId":
|
|
7963
|
+
var ReviewDecisionResponse = zod170.strictObject({
|
|
7964
|
+
"ok": zod170.literal(true),
|
|
7965
|
+
"stage": zod170.enum(["content", "layout", "motion"]).optional(),
|
|
7966
|
+
"version": zod170.int().min(reviewDecisionResponseVersionMin).max(reviewDecisionResponseVersionMax).optional(),
|
|
7967
|
+
"composeJobId": zod170.string().optional()
|
|
7959
7968
|
}).describe("Decision recorded; the run resumes (the SAME rail as POST /checkpoints/{id}/resume).");
|
|
7960
7969
|
|
|
7961
7970
|
// ../sdk/src/generated/zod/models/reviewPacketResponse.zod.ts
|
|
7962
|
-
import * as
|
|
7971
|
+
import * as zod171 from "zod";
|
|
7963
7972
|
var reviewPacketResponseVersionMin = -9007199254740991;
|
|
7964
7973
|
var reviewPacketResponseVersionMax = 9007199254740991;
|
|
7965
7974
|
var reviewPacketResponseRevisionCycleMin = -9007199254740991;
|
|
7966
7975
|
var reviewPacketResponseRevisionCycleMax = 9007199254740991;
|
|
7967
7976
|
var reviewPacketResponseVersionStackItemVersionMin = -9007199254740991;
|
|
7968
7977
|
var reviewPacketResponseVersionStackItemVersionMax = 9007199254740991;
|
|
7969
|
-
var ReviewPacketResponse =
|
|
7970
|
-
"id":
|
|
7971
|
-
"projectId":
|
|
7972
|
-
"composeJobId":
|
|
7973
|
-
"briefId":
|
|
7974
|
-
"kind":
|
|
7978
|
+
var ReviewPacketResponse = zod171.strictObject({
|
|
7979
|
+
"id": zod171.string(),
|
|
7980
|
+
"projectId": zod171.string(),
|
|
7981
|
+
"composeJobId": zod171.string().optional(),
|
|
7982
|
+
"briefId": zod171.string().optional(),
|
|
7983
|
+
"kind": zod171.enum(["gate", "score"]),
|
|
7975
7984
|
"stage": CheckpointStage.optional(),
|
|
7976
|
-
"version":
|
|
7977
|
-
"status":
|
|
7978
|
-
"artifact":
|
|
7979
|
-
"stillUrls":
|
|
7980
|
-
"criticVerdicts":
|
|
7985
|
+
"version": zod171.int().min(reviewPacketResponseVersionMin).max(reviewPacketResponseVersionMax),
|
|
7986
|
+
"status": zod171.enum(["awaiting", "approved", "revised", "abandoned", "expired", "superseded"]),
|
|
7987
|
+
"artifact": zod171.unknown().describe("The stage artifact under review: the locked ComposePlan at content; the composition wire shape at layout/motion; the judged composition snapshot on kind:'score'."),
|
|
7988
|
+
"stillUrls": zod171.array(zod171.string()).optional().describe("Presigned storyboard/eval stills \u2014 the packet's visual evidence (may be GC'd by the retention sweep after the job goes terminal; the decision record is immortal)."),
|
|
7989
|
+
"criticVerdicts": zod171.unknown().optional().describe("Per-criterion scores + critique from the design loop / judge, incl. lock_violation entries."),
|
|
7981
7990
|
"quote": CheckpointQuote.optional(),
|
|
7982
|
-
"revisionCycle":
|
|
7983
|
-
"decision":
|
|
7984
|
-
"reviewMode":
|
|
7985
|
-
"createdAt":
|
|
7986
|
-
"updatedAt":
|
|
7987
|
-
"versionStack":
|
|
7988
|
-
"id":
|
|
7989
|
-
"version":
|
|
7990
|
-
"stage":
|
|
7991
|
-
"status":
|
|
7992
|
-
"decision":
|
|
7993
|
-
"createdAt":
|
|
7991
|
+
"revisionCycle": zod171.int().min(reviewPacketResponseRevisionCycleMin).max(reviewPacketResponseRevisionCycleMax).describe("Revise cycles this gate has consumed. The brief quote states the included count (revisionCyclesIncluded); beyond it, resume(revise) is refused with a typed error."),
|
|
7992
|
+
"decision": zod171.unknown().optional().describe("The recorded decision {decision, comments?, globalNote?, decidedAt} once resolved."),
|
|
7993
|
+
"reviewMode": zod171.enum(["agent", "hosted"]).optional().describe("How this packet is decided (from the Brief's gates). 'hosted' = the review PAGE captures the decision; absent/'agent' = the decision flows back through the driving agent."),
|
|
7994
|
+
"createdAt": zod171.number(),
|
|
7995
|
+
"updatedAt": zod171.number(),
|
|
7996
|
+
"versionStack": zod171.array(zod171.strictObject({
|
|
7997
|
+
"id": zod171.string(),
|
|
7998
|
+
"version": zod171.int().min(reviewPacketResponseVersionStackItemVersionMin).max(reviewPacketResponseVersionStackItemVersionMax),
|
|
7999
|
+
"stage": zod171.enum(["content", "layout", "motion"]).optional(),
|
|
8000
|
+
"status": zod171.string(),
|
|
8001
|
+
"decision": zod171.string().optional(),
|
|
8002
|
+
"createdAt": zod171.number()
|
|
7994
8003
|
})).describe("The run's v1\u2192vN gate history \u2014 per-version status + decision summaries.")
|
|
7995
8004
|
});
|
|
7996
8005
|
|
|
7997
8006
|
// ../sdk/src/generated/zod/models/scoreCompositionBody.zod.ts
|
|
7998
|
-
import * as
|
|
7999
|
-
var ScoreCompositionBody =
|
|
8000
|
-
"composition":
|
|
8001
|
-
"compositionId":
|
|
8002
|
-
"session_id":
|
|
8003
|
-
"editorialIntent":
|
|
8004
|
-
"brandContext":
|
|
8007
|
+
import * as zod172 from "zod";
|
|
8008
|
+
var ScoreCompositionBody = zod172.strictObject({
|
|
8009
|
+
"composition": zod172.unknown().optional().describe("The composition to judge. Absent \u21D2 the project's ACTIVE composition."),
|
|
8010
|
+
"compositionId": zod172.string().optional().describe("Judge a SPECIFIC persisted composition of this project (create_render parity). Absent \u21D2 the active one. A stale/foreign id is a 404 \u2014 never a silent fall-through."),
|
|
8011
|
+
"session_id": zod172.string().optional().describe("Compose-session id: judge that session's SCRATCH composition (what the session has been editing) instead of the active row. Ignored when `composition` is passed."),
|
|
8012
|
+
"editorialIntent": zod172.string().optional(),
|
|
8013
|
+
"brandContext": zod172.string().optional()
|
|
8005
8014
|
});
|
|
8006
8015
|
|
|
8007
8016
|
// ../sdk/src/generated/zod/models/searchLibraryParams.zod.ts
|
|
8008
|
-
import * as
|
|
8017
|
+
import * as zod173 from "zod";
|
|
8009
8018
|
var searchLibraryParamsLimitDefault = 10;
|
|
8010
8019
|
var searchLibraryParamsLimitMax = 25;
|
|
8011
|
-
var SearchLibraryParams =
|
|
8012
|
-
"q":
|
|
8013
|
-
"limit":
|
|
8020
|
+
var SearchLibraryParams = zod173.strictObject({
|
|
8021
|
+
"q": zod173.string().min(1),
|
|
8022
|
+
"limit": zod173.int().min(1).max(searchLibraryParamsLimitMax).default(searchLibraryParamsLimitDefault)
|
|
8014
8023
|
});
|
|
8015
8024
|
|
|
8016
8025
|
// ../sdk/src/generated/zod/models/selectorAudioSpan.zod.ts
|
|
8017
|
-
import * as
|
|
8018
|
-
var SelectorAudioSpan =
|
|
8019
|
-
"startSec":
|
|
8020
|
-
"endSec":
|
|
8021
|
-
"candidateId":
|
|
8022
|
-
"reasons":
|
|
8026
|
+
import * as zod174 from "zod";
|
|
8027
|
+
var SelectorAudioSpan = zod174.strictObject({
|
|
8028
|
+
"startSec": zod174.number(),
|
|
8029
|
+
"endSec": zod174.number(),
|
|
8030
|
+
"candidateId": zod174.string().describe("The chosen audio source (the clearest mic) for this span \u2192 programAudioSourceId."),
|
|
8031
|
+
"reasons": zod174.array(zod174.string())
|
|
8023
8032
|
});
|
|
8024
8033
|
|
|
8025
8034
|
// ../sdk/src/generated/zod/models/selectorCandidatesResponse.zod.ts
|
|
8026
|
-
import * as
|
|
8035
|
+
import * as zod178 from "zod";
|
|
8027
8036
|
|
|
8028
8037
|
// ../sdk/src/generated/zod/models/selectorCutSpan.zod.ts
|
|
8029
|
-
import * as
|
|
8030
|
-
var SelectorCutSpan =
|
|
8031
|
-
"startSec":
|
|
8032
|
-
"endSec":
|
|
8033
|
-
"candidateId":
|
|
8034
|
-
"sourceInSec":
|
|
8035
|
-
"sourceOutSec":
|
|
8036
|
-
"reasons":
|
|
8038
|
+
import * as zod175 from "zod";
|
|
8039
|
+
var SelectorCutSpan = zod175.strictObject({
|
|
8040
|
+
"startSec": zod175.number(),
|
|
8041
|
+
"endSec": zod175.number(),
|
|
8042
|
+
"candidateId": zod175.string(),
|
|
8043
|
+
"sourceInSec": zod175.number().describe("Chosen source window start (declared-offset resolved)."),
|
|
8044
|
+
"sourceOutSec": zod175.number(),
|
|
8045
|
+
"reasons": zod175.array(zod175.string())
|
|
8037
8046
|
});
|
|
8038
8047
|
|
|
8039
8048
|
// ../sdk/src/generated/zod/models/selectorMomentGroup.zod.ts
|
|
8040
|
-
import * as
|
|
8049
|
+
import * as zod177 from "zod";
|
|
8041
8050
|
|
|
8042
8051
|
// ../sdk/src/generated/zod/models/selectorScoredCandidate.zod.ts
|
|
8043
|
-
import * as
|
|
8044
|
-
var SelectorScoredCandidate =
|
|
8045
|
-
"candidateId":
|
|
8046
|
-
"role":
|
|
8047
|
-
"score":
|
|
8048
|
-
"contributions":
|
|
8049
|
-
"reasons":
|
|
8052
|
+
import * as zod176 from "zod";
|
|
8053
|
+
var SelectorScoredCandidate = zod176.strictObject({
|
|
8054
|
+
"candidateId": zod176.string().describe("Stable angle/source id. An unknown id is rejected, never remapped."),
|
|
8055
|
+
"role": zod176.string().nullish().describe('Agent-declared semantic tag (e.g. "wide", "webcam").'),
|
|
8056
|
+
"score": zod176.number().describe("The weighted prominence score (\u03A3 weights\xB7signal)."),
|
|
8057
|
+
"contributions": zod176.record(zod176.string(), zod176.number()).describe("signalKey \u2192 weighted contribution (the agent reweights from this)."),
|
|
8058
|
+
"reasons": zod176.array(zod176.string())
|
|
8050
8059
|
});
|
|
8051
8060
|
|
|
8052
8061
|
// ../sdk/src/generated/zod/models/selectorMomentGroup.zod.ts
|
|
8053
|
-
var SelectorMomentGroup =
|
|
8054
|
-
"startSec":
|
|
8055
|
-
"endSec":
|
|
8056
|
-
"chosen":
|
|
8057
|
-
"pacingNote":
|
|
8058
|
-
"candidates":
|
|
8062
|
+
var SelectorMomentGroup = zod177.strictObject({
|
|
8063
|
+
"startSec": zod177.number().describe("Span start (output seconds)."),
|
|
8064
|
+
"endSec": zod177.number().describe("Span end (output seconds)."),
|
|
8065
|
+
"chosen": zod177.string().describe('The recommended candidateId, or "__hold__" (abstain).'),
|
|
8066
|
+
"pacingNote": zod177.string().nullish().describe("Which mechanism produced the pick (argmax / hysteresis / override / hold \u2026)."),
|
|
8067
|
+
"candidates": zod177.array(SelectorScoredCandidate)
|
|
8059
8068
|
});
|
|
8060
8069
|
|
|
8061
8070
|
// ../sdk/src/generated/zod/models/selectorCandidatesResponse.zod.ts
|
|
8062
|
-
var SelectorCandidatesResponse =
|
|
8063
|
-
"projectId":
|
|
8064
|
-
"groupId":
|
|
8065
|
-
"selectorVersion":
|
|
8066
|
-
"signalVersions":
|
|
8067
|
-
"moments":
|
|
8068
|
-
"recommendation":
|
|
8069
|
-
"cutSchedule":
|
|
8070
|
-
"audioBed":
|
|
8071
|
-
"suppressedSwitches":
|
|
8072
|
-
"atSec":
|
|
8073
|
-
"wouldHaveBeenCandidateId":
|
|
8074
|
-
"byScore":
|
|
8075
|
-
"blockedBy":
|
|
8076
|
-
"releaseAtSec":
|
|
8071
|
+
var SelectorCandidatesResponse = zod178.strictObject({
|
|
8072
|
+
"projectId": zod178.string(),
|
|
8073
|
+
"groupId": zod178.string(),
|
|
8074
|
+
"selectorVersion": zod178.string(),
|
|
8075
|
+
"signalVersions": zod178.record(zod178.string(), zod178.string()),
|
|
8076
|
+
"moments": zod178.array(SelectorMomentGroup),
|
|
8077
|
+
"recommendation": zod178.strictObject({
|
|
8078
|
+
"cutSchedule": zod178.array(SelectorCutSpan),
|
|
8079
|
+
"audioBed": zod178.array(SelectorAudioSpan).describe("Best-audio bed (instance #3): the clearest mic per span."),
|
|
8080
|
+
"suppressedSwitches": zod178.array(zod178.strictObject({
|
|
8081
|
+
"atSec": zod178.number(),
|
|
8082
|
+
"wouldHaveBeenCandidateId": zod178.string(),
|
|
8083
|
+
"byScore": zod178.number(),
|
|
8084
|
+
"blockedBy": zod178.string(),
|
|
8085
|
+
"releaseAtSec": zod178.number().nullable()
|
|
8077
8086
|
})).describe("Switches the stabilizer suppressed (the anti-ping-pong audit).")
|
|
8078
8087
|
}),
|
|
8079
|
-
"divergesFromComposition":
|
|
8088
|
+
"divergesFromComposition": zod178.boolean().optional()
|
|
8080
8089
|
}).describe("Selector (switch) candidates + recommendation for a synced-angle group. Every candidate carries score + contributions + reasons so the agent reweights from evidence; the recommendation is the lowered cut schedule + best-audio bed.");
|
|
8081
8090
|
|
|
8082
8091
|
// ../sdk/src/generated/zod/models/selectorPreviewRequest.zod.ts
|
|
8083
|
-
import * as
|
|
8092
|
+
import * as zod179 from "zod";
|
|
8084
8093
|
var selectorPreviewRequestMinHoldSecExclusiveMin = 0;
|
|
8085
8094
|
var selectorPreviewRequestEnterSecMin = 0;
|
|
8086
8095
|
var selectorPreviewRequestSwitchMarginMin = 0;
|
|
8087
8096
|
var selectorPreviewRequestCooldownSecMin = 0;
|
|
8088
8097
|
var selectorPreviewRequestMaxHoldSecExclusiveMin = 0;
|
|
8089
|
-
var SelectorPreviewRequest =
|
|
8090
|
-
"groupId":
|
|
8091
|
-
"weights":
|
|
8092
|
-
"minHoldSec":
|
|
8093
|
-
"enterSec":
|
|
8094
|
-
"switchMargin":
|
|
8095
|
-
"cooldownSec":
|
|
8096
|
-
"maxHoldSec":
|
|
8097
|
-
"lockSourceId":
|
|
8098
|
-
"overrides":
|
|
8099
|
-
"startSec":
|
|
8100
|
-
"endSec":
|
|
8101
|
-
"candidateId":
|
|
8098
|
+
var SelectorPreviewRequest = zod179.strictObject({
|
|
8099
|
+
"groupId": zod179.string().min(1),
|
|
8100
|
+
"weights": zod179.record(zod179.string(), zod179.number()).optional().describe("Sparse prominence weights (the taste knob, non-negative). Default = DOMINANCE_WEIGHTS."),
|
|
8101
|
+
"minHoldSec": zod179.number().gt(selectorPreviewRequestMinHoldSecExclusiveMin).optional(),
|
|
8102
|
+
"enterSec": zod179.number().min(selectorPreviewRequestEnterSecMin).optional(),
|
|
8103
|
+
"switchMargin": zod179.number().min(selectorPreviewRequestSwitchMarginMin).optional(),
|
|
8104
|
+
"cooldownSec": zod179.number().min(selectorPreviewRequestCooldownSecMin).optional(),
|
|
8105
|
+
"maxHoldSec": zod179.number().gt(selectorPreviewRequestMaxHoldSecExclusiveMin).optional(),
|
|
8106
|
+
"lockSourceId": zod179.string().optional().describe("Pin a camera/angle for the whole timeline."),
|
|
8107
|
+
"overrides": zod179.array(zod179.strictObject({
|
|
8108
|
+
"startSec": zod179.number(),
|
|
8109
|
+
"endSec": zod179.number(),
|
|
8110
|
+
"candidateId": zod179.string()
|
|
8102
8111
|
})).optional()
|
|
8103
8112
|
});
|
|
8104
8113
|
|
|
8105
8114
|
// ../sdk/src/generated/zod/models/sessionCreateRequest.zod.ts
|
|
8106
|
-
import * as
|
|
8115
|
+
import * as zod180 from "zod";
|
|
8107
8116
|
var sessionCreateRequestNameMax = 200;
|
|
8108
8117
|
var sessionCreateRequestFilesItemRoleMax = 50;
|
|
8109
8118
|
var sessionCreateRequestFilesMax = 20;
|
|
8110
|
-
var SessionCreateRequest =
|
|
8111
|
-
"name":
|
|
8112
|
-
"files":
|
|
8113
|
-
"mediaId":
|
|
8114
|
-
"role":
|
|
8119
|
+
var SessionCreateRequest = zod180.strictObject({
|
|
8120
|
+
"name": zod180.string().min(1).max(sessionCreateRequestNameMax),
|
|
8121
|
+
"files": zod180.array(zod180.strictObject({
|
|
8122
|
+
"mediaId": zod180.string().min(1),
|
|
8123
|
+
"role": zod180.string().min(1).max(sessionCreateRequestFilesItemRoleMax)
|
|
8115
8124
|
})).min(1).max(sessionCreateRequestFilesMax)
|
|
8116
8125
|
}).describe("POST /sessions body.");
|
|
8117
8126
|
|
|
8118
8127
|
// ../sdk/src/generated/zod/models/sessionFileEntry.zod.ts
|
|
8119
|
-
import * as
|
|
8120
|
-
var SessionFileEntry =
|
|
8121
|
-
"mediaId":
|
|
8122
|
-
"role":
|
|
8123
|
-
"status":
|
|
8128
|
+
import * as zod181 from "zod";
|
|
8129
|
+
var SessionFileEntry = zod181.strictObject({
|
|
8130
|
+
"mediaId": zod181.string(),
|
|
8131
|
+
"role": zod181.string(),
|
|
8132
|
+
"status": zod181.string().nullable()
|
|
8124
8133
|
}).describe("One file member of a session, with optional role + status.");
|
|
8125
8134
|
|
|
8126
8135
|
// ../sdk/src/generated/zod/models/sessionListResponse.zod.ts
|
|
8127
|
-
import * as
|
|
8136
|
+
import * as zod183 from "zod";
|
|
8128
8137
|
|
|
8129
8138
|
// ../sdk/src/generated/zod/models/sessionSummary.zod.ts
|
|
8130
|
-
import * as
|
|
8139
|
+
import * as zod182 from "zod";
|
|
8131
8140
|
var sessionSummaryFileCountMin = 0;
|
|
8132
8141
|
var sessionSummaryFileCountMax = 9007199254740991;
|
|
8133
|
-
var SessionSummary =
|
|
8134
|
-
"id":
|
|
8135
|
-
"name":
|
|
8136
|
-
"fileCount":
|
|
8137
|
-
"muxStatus":
|
|
8138
|
-
"createdAt":
|
|
8142
|
+
var SessionSummary = zod182.strictObject({
|
|
8143
|
+
"id": zod182.string(),
|
|
8144
|
+
"name": zod182.string(),
|
|
8145
|
+
"fileCount": zod182.int().min(sessionSummaryFileCountMin).max(sessionSummaryFileCountMax),
|
|
8146
|
+
"muxStatus": zod182.string().nullable(),
|
|
8147
|
+
"createdAt": zod182.string()
|
|
8139
8148
|
}).describe("Session list summary (per list endpoint).");
|
|
8140
8149
|
|
|
8141
8150
|
// ../sdk/src/generated/zod/models/sessionListResponse.zod.ts
|
|
8142
|
-
var SessionListResponse =
|
|
8143
|
-
"data":
|
|
8151
|
+
var SessionListResponse = zod183.strictObject({
|
|
8152
|
+
"data": zod183.array(SessionSummary),
|
|
8144
8153
|
"pagination": PaginationMeta
|
|
8145
8154
|
});
|
|
8146
8155
|
|
|
8147
8156
|
// ../sdk/src/generated/zod/models/sessionResponse.zod.ts
|
|
8148
|
-
import * as
|
|
8149
|
-
var SessionResponse =
|
|
8150
|
-
"id":
|
|
8151
|
-
"name":
|
|
8152
|
-
"files":
|
|
8153
|
-
"mux":
|
|
8154
|
-
"status":
|
|
8155
|
-
"jobId":
|
|
8156
|
-
"muxedItems":
|
|
8157
|
-
"error":
|
|
8158
|
-
"startedAt":
|
|
8159
|
-
"completedAt":
|
|
8157
|
+
import * as zod184 from "zod";
|
|
8158
|
+
var SessionResponse = zod184.strictObject({
|
|
8159
|
+
"id": zod184.string(),
|
|
8160
|
+
"name": zod184.string(),
|
|
8161
|
+
"files": zod184.array(SessionFileEntry),
|
|
8162
|
+
"mux": zod184.strictObject({
|
|
8163
|
+
"status": zod184.string().nullable(),
|
|
8164
|
+
"jobId": zod184.string().nullable(),
|
|
8165
|
+
"muxedItems": zod184.union([zod184.record(zod184.string(), zod184.string()), zod184.null()]),
|
|
8166
|
+
"error": zod184.string().nullable(),
|
|
8167
|
+
"startedAt": zod184.string().nullable(),
|
|
8168
|
+
"completedAt": zod184.string().nullable()
|
|
8160
8169
|
}),
|
|
8161
|
-
"createdAt":
|
|
8170
|
+
"createdAt": zod184.string()
|
|
8162
8171
|
}).describe("Session response per \xA7Sessions.");
|
|
8163
8172
|
|
|
8164
8173
|
// ../sdk/src/generated/zod/models/skillListResponse.zod.ts
|
|
8165
|
-
import * as
|
|
8174
|
+
import * as zod186 from "zod";
|
|
8166
8175
|
|
|
8167
8176
|
// ../sdk/src/generated/zod/models/skillSummary.zod.ts
|
|
8168
|
-
import * as
|
|
8169
|
-
var SkillSummary =
|
|
8170
|
-
"name":
|
|
8171
|
-
"title":
|
|
8172
|
-
"description":
|
|
8177
|
+
import * as zod185 from "zod";
|
|
8178
|
+
var SkillSummary = zod185.strictObject({
|
|
8179
|
+
"name": zod185.string(),
|
|
8180
|
+
"title": zod185.string(),
|
|
8181
|
+
"description": zod185.string()
|
|
8173
8182
|
}).describe("A CueFrame agent skill (metadata).");
|
|
8174
8183
|
|
|
8175
8184
|
// ../sdk/src/generated/zod/models/skillListResponse.zod.ts
|
|
8176
|
-
var SkillListResponse =
|
|
8177
|
-
"skills":
|
|
8185
|
+
var SkillListResponse = zod186.strictObject({
|
|
8186
|
+
"skills": zod186.array(SkillSummary)
|
|
8178
8187
|
}).describe("GET /skills response \u2014 the available agent skills.");
|
|
8179
8188
|
|
|
8180
8189
|
// ../sdk/src/generated/zod/models/subjectDetectionTriggerResponse.zod.ts
|
|
8181
|
-
import * as
|
|
8182
|
-
var SubjectDetectionTriggerResponse =
|
|
8183
|
-
"factId":
|
|
8184
|
-
"status":
|
|
8185
|
-
"quotedUsd":
|
|
8186
|
-
"alreadyExisted":
|
|
8190
|
+
import * as zod187 from "zod";
|
|
8191
|
+
var SubjectDetectionTriggerResponse = zod187.strictObject({
|
|
8192
|
+
"factId": zod187.string().describe("Opaque identifier for the derived fact."),
|
|
8193
|
+
"status": zod187.enum(["pending", "ready", "failed"]).describe("State of the fact right now. `ready` with `alreadyExisted` means the detection was already computed and is available immediately."),
|
|
8194
|
+
"quotedUsd": zod187.number().describe("The server's price for this detection, in USD, quoted from the source duration. Zero is charged when `alreadyExisted` is true."),
|
|
8195
|
+
"alreadyExisted": zod187.boolean().describe("True when this exact detection was already pending or ready. Nothing was dispatched and nothing will be charged \u2014 the same fact is served twice for one price.")
|
|
8187
8196
|
}).describe("POST /media/:id/detect-subjects response \u2014 the claimed perception fact.");
|
|
8188
8197
|
|
|
8189
8198
|
// ../sdk/src/generated/zod/models/suggestion.zod.ts
|
|
8190
|
-
import * as
|
|
8199
|
+
import * as zod188 from "zod";
|
|
8191
8200
|
var suggestionRankExclusiveMin = 0;
|
|
8192
8201
|
var suggestionRankMax = 9007199254740991;
|
|
8193
|
-
var Suggestion =
|
|
8194
|
-
"id":
|
|
8195
|
-
"briefId":
|
|
8196
|
-
"rank":
|
|
8197
|
-
"trim":
|
|
8198
|
-
"start":
|
|
8199
|
-
"end":
|
|
8202
|
+
var Suggestion = zod188.strictObject({
|
|
8203
|
+
"id": zod188.string(),
|
|
8204
|
+
"briefId": zod188.string().nullable(),
|
|
8205
|
+
"rank": zod188.int().gt(suggestionRankExclusiveMin).max(suggestionRankMax),
|
|
8206
|
+
"trim": zod188.strictObject({
|
|
8207
|
+
"start": zod188.number(),
|
|
8208
|
+
"end": zod188.number()
|
|
8200
8209
|
}),
|
|
8201
|
-
"score":
|
|
8202
|
-
"title":
|
|
8203
|
-
"reason":
|
|
8204
|
-
"topic":
|
|
8205
|
-
"hook":
|
|
8206
|
-
"platforms":
|
|
8207
|
-
"format":
|
|
8208
|
-
"caption":
|
|
8209
|
-
"hashtags":
|
|
8210
|
-
"textOverlays":
|
|
8211
|
-
"editingNotes":
|
|
8212
|
-
"motionStyle":
|
|
8213
|
-
"textAnimation":
|
|
8214
|
-
"transitions":
|
|
8215
|
-
"colorMood":
|
|
8216
|
-
"captionStyle":
|
|
8210
|
+
"score": zod188.number(),
|
|
8211
|
+
"title": zod188.string(),
|
|
8212
|
+
"reason": zod188.string(),
|
|
8213
|
+
"topic": zod188.string(),
|
|
8214
|
+
"hook": zod188.string(),
|
|
8215
|
+
"platforms": zod188.array(zod188.string()),
|
|
8216
|
+
"format": zod188.string(),
|
|
8217
|
+
"caption": zod188.string(),
|
|
8218
|
+
"hashtags": zod188.array(zod188.string()),
|
|
8219
|
+
"textOverlays": zod188.array(zod188.string()),
|
|
8220
|
+
"editingNotes": zod188.string(),
|
|
8221
|
+
"motionStyle": zod188.strictObject({
|
|
8222
|
+
"textAnimation": zod188.string(),
|
|
8223
|
+
"transitions": zod188.string(),
|
|
8224
|
+
"colorMood": zod188.string(),
|
|
8225
|
+
"captionStyle": zod188.string()
|
|
8217
8226
|
}),
|
|
8218
|
-
"visualTreatment":
|
|
8219
|
-
"time":
|
|
8220
|
-
"visual":
|
|
8227
|
+
"visualTreatment": zod188.array(zod188.strictObject({
|
|
8228
|
+
"time": zod188.union([zod188.number(), zod188.string()]),
|
|
8229
|
+
"visual": zod188.string()
|
|
8221
8230
|
})),
|
|
8222
|
-
"brollSuggestions":
|
|
8223
|
-
"moment":
|
|
8224
|
-
"searchTerms":
|
|
8225
|
-
"rationale":
|
|
8231
|
+
"brollSuggestions": zod188.array(zod188.strictObject({
|
|
8232
|
+
"moment": zod188.string(),
|
|
8233
|
+
"searchTerms": zod188.array(zod188.string()),
|
|
8234
|
+
"rationale": zod188.string()
|
|
8226
8235
|
})),
|
|
8227
|
-
"thumbnailConcept":
|
|
8236
|
+
"thumbnailConcept": zod188.string()
|
|
8228
8237
|
}).describe("Single ranked clip suggestion.");
|
|
8229
8238
|
|
|
8230
8239
|
// ../sdk/src/generated/zod/models/suggestionsEnvelope.zod.ts
|
|
8231
|
-
import * as
|
|
8232
|
-
var SuggestionsEnvelope =
|
|
8233
|
-
"status":
|
|
8234
|
-
"createdAt":
|
|
8235
|
-
"analyzedAt":
|
|
8236
|
-
"jobId":
|
|
8237
|
-
"topics":
|
|
8238
|
-
"suggestions":
|
|
8240
|
+
import * as zod189 from "zod";
|
|
8241
|
+
var SuggestionsEnvelope = zod189.strictObject({
|
|
8242
|
+
"status": zod189.enum(["idle", "generating", "completed", "failed"]),
|
|
8243
|
+
"createdAt": zod189.string().nullable(),
|
|
8244
|
+
"analyzedAt": zod189.string().nullable(),
|
|
8245
|
+
"jobId": zod189.string().nullable(),
|
|
8246
|
+
"topics": zod189.array(zod189.string()),
|
|
8247
|
+
"suggestions": zod189.array(Suggestion),
|
|
8239
8248
|
"pagination": PaginationMeta
|
|
8240
8249
|
}).describe("GET /media/:id/suggestions envelope.");
|
|
8241
8250
|
|
|
8242
8251
|
// ../sdk/src/generated/zod/models/suggestionsTriggerResponse.zod.ts
|
|
8243
|
-
import * as
|
|
8244
|
-
var SuggestionsTriggerResponse =
|
|
8245
|
-
"status":
|
|
8246
|
-
"alreadyRunning":
|
|
8252
|
+
import * as zod190 from "zod";
|
|
8253
|
+
var SuggestionsTriggerResponse = zod190.strictObject({
|
|
8254
|
+
"status": zod190.enum(["queued", "running", "complete", "failed"]),
|
|
8255
|
+
"alreadyRunning": zod190.boolean().optional()
|
|
8247
8256
|
}).describe("POST /media/:id/suggestions response.");
|
|
8248
8257
|
|
|
8249
8258
|
// ../sdk/src/generated/zod/models/timelineAnalysisRequest.zod.ts
|
|
8250
|
-
import * as
|
|
8259
|
+
import * as zod191 from "zod";
|
|
8251
8260
|
var timelineAnalysisRequestWordsItemTextMax = 1e3;
|
|
8252
8261
|
var timelineAnalysisRequestWordsItemTimelineStartMin = 0;
|
|
8253
8262
|
var timelineAnalysisRequestWordsItemTimelineEndMin = 0;
|
|
@@ -8257,258 +8266,258 @@ var timelineAnalysisRequestWordsItemSourceStartMin = 0;
|
|
|
8257
8266
|
var timelineAnalysisRequestWordsItemSourceEndMin = 0;
|
|
8258
8267
|
var timelineAnalysisRequestWordsItemSpeakerIdOneMax = 256;
|
|
8259
8268
|
var timelineAnalysisRequestWordsMax = 12e3;
|
|
8260
|
-
var TimelineAnalysisRequest =
|
|
8261
|
-
"words":
|
|
8262
|
-
"text":
|
|
8263
|
-
"timelineStart":
|
|
8264
|
-
"timelineEnd":
|
|
8265
|
-
"clipId":
|
|
8266
|
-
"poolItemId":
|
|
8267
|
-
"sourceStart":
|
|
8268
|
-
"sourceEnd":
|
|
8269
|
-
"speakerId":
|
|
8269
|
+
var TimelineAnalysisRequest = zod191.strictObject({
|
|
8270
|
+
"words": zod191.array(zod191.strictObject({
|
|
8271
|
+
"text": zod191.string().min(1).max(timelineAnalysisRequestWordsItemTextMax),
|
|
8272
|
+
"timelineStart": zod191.number().min(timelineAnalysisRequestWordsItemTimelineStartMin),
|
|
8273
|
+
"timelineEnd": zod191.number().min(timelineAnalysisRequestWordsItemTimelineEndMin),
|
|
8274
|
+
"clipId": zod191.string().min(1).max(timelineAnalysisRequestWordsItemClipIdMax),
|
|
8275
|
+
"poolItemId": zod191.string().min(1).max(timelineAnalysisRequestWordsItemPoolItemIdMax),
|
|
8276
|
+
"sourceStart": zod191.number().min(timelineAnalysisRequestWordsItemSourceStartMin),
|
|
8277
|
+
"sourceEnd": zod191.number().min(timelineAnalysisRequestWordsItemSourceEndMin),
|
|
8278
|
+
"speakerId": zod191.union([zod191.string().max(timelineAnalysisRequestWordsItemSpeakerIdOneMax), zod191.null()])
|
|
8270
8279
|
})).min(1).max(timelineAnalysisRequestWordsMax)
|
|
8271
8280
|
}).describe("A bounded merged timeline transcript for CueFrame edit analysis. The server selects the model; clients cannot provide a provider, API key, or model override.");
|
|
8272
8281
|
|
|
8273
8282
|
// ../sdk/src/generated/zod/models/timelineAnalysisResponse.zod.ts
|
|
8274
|
-
import * as
|
|
8283
|
+
import * as zod192 from "zod";
|
|
8275
8284
|
var timelineAnalysisResponseFillersItemMin = 0;
|
|
8276
8285
|
var timelineAnalysisResponseFillersItemMax = 9007199254740991;
|
|
8277
8286
|
var timelineAnalysisResponseSilenceGapsItemMin = 0;
|
|
8278
8287
|
var timelineAnalysisResponseSilenceGapsItemMax = 9007199254740991;
|
|
8279
8288
|
var timelineAnalysisResponseEmphasisItemMin = 0;
|
|
8280
8289
|
var timelineAnalysisResponseEmphasisItemMax = 9007199254740991;
|
|
8281
|
-
var TimelineAnalysisResponse =
|
|
8282
|
-
"fillers":
|
|
8283
|
-
"silenceGaps":
|
|
8284
|
-
"emphasis":
|
|
8290
|
+
var TimelineAnalysisResponse = zod192.strictObject({
|
|
8291
|
+
"fillers": zod192.array(zod192.int().min(timelineAnalysisResponseFillersItemMin).max(timelineAnalysisResponseFillersItemMax)),
|
|
8292
|
+
"silenceGaps": zod192.array(zod192.int().min(timelineAnalysisResponseSilenceGapsItemMin).max(timelineAnalysisResponseSilenceGapsItemMax)),
|
|
8293
|
+
"emphasis": zod192.array(zod192.int().min(timelineAnalysisResponseEmphasisItemMin).max(timelineAnalysisResponseEmphasisItemMax))
|
|
8285
8294
|
}).describe("CueFrame-model analysis of timeline word indices. Every returned index refers to the request's words array.");
|
|
8286
8295
|
|
|
8287
8296
|
// ../sdk/src/generated/zod/models/traceScoresRequest.zod.ts
|
|
8288
|
-
import * as
|
|
8297
|
+
import * as zod193 from "zod";
|
|
8289
8298
|
var traceScoresRequestScoresItemNameMax = 64;
|
|
8290
8299
|
var traceScoresRequestScoresItemNameRegExp = new RegExp("^[a-z][a-z0-9_]*$");
|
|
8291
8300
|
var traceScoresRequestScoresItemValueMin = 0;
|
|
8292
8301
|
var traceScoresRequestScoresItemValueMax = 1;
|
|
8293
8302
|
var traceScoresRequestScoresItemCommentMax = 500;
|
|
8294
8303
|
var traceScoresRequestScoresMax = 10;
|
|
8295
|
-
var TraceScoresRequest =
|
|
8296
|
-
"scores":
|
|
8297
|
-
"name":
|
|
8298
|
-
"value":
|
|
8299
|
-
"comment":
|
|
8304
|
+
var TraceScoresRequest = zod193.strictObject({
|
|
8305
|
+
"scores": zod193.array(zod193.strictObject({
|
|
8306
|
+
"name": zod193.string().min(1).max(traceScoresRequestScoresItemNameMax).regex(traceScoresRequestScoresItemNameRegExp),
|
|
8307
|
+
"value": zod193.number().min(traceScoresRequestScoresItemValueMin).max(traceScoresRequestScoresItemValueMax),
|
|
8308
|
+
"comment": zod193.string().max(traceScoresRequestScoresItemCommentMax).optional()
|
|
8300
8309
|
})).min(1).max(traceScoresRequestScoresMax)
|
|
8301
8310
|
}).describe("POST /traces/:traceId/scores body.");
|
|
8302
8311
|
|
|
8303
8312
|
// ../sdk/src/generated/zod/models/traceScoresResponse.zod.ts
|
|
8304
|
-
import * as
|
|
8313
|
+
import * as zod194 from "zod";
|
|
8305
8314
|
var traceScoresResponseAcceptedMin = -9007199254740991;
|
|
8306
8315
|
var traceScoresResponseAcceptedMax = 9007199254740991;
|
|
8307
|
-
var TraceScoresResponse =
|
|
8308
|
-
"accepted":
|
|
8316
|
+
var TraceScoresResponse = zod194.strictObject({
|
|
8317
|
+
"accepted": zod194.int().min(traceScoresResponseAcceptedMin).max(traceScoresResponseAcceptedMax)
|
|
8309
8318
|
}).describe("POST /traces/:traceId/scores response.");
|
|
8310
8319
|
|
|
8311
8320
|
// ../sdk/src/generated/zod/models/transcriptAnalyzeRequest.zod.ts
|
|
8312
|
-
import * as
|
|
8321
|
+
import * as zod195 from "zod";
|
|
8313
8322
|
var transcriptAnalyzeRequestWindowStartSecMin = 0;
|
|
8314
8323
|
var transcriptAnalyzeRequestWindowEndSecMin = 0;
|
|
8315
|
-
var TranscriptAnalyzeRequest =
|
|
8316
|
-
"task":
|
|
8317
|
-
"window":
|
|
8318
|
-
"startSec":
|
|
8319
|
-
"endSec":
|
|
8324
|
+
var TranscriptAnalyzeRequest = zod195.strictObject({
|
|
8325
|
+
"task": zod195.enum(["summary", "chapters", "highlights"]).describe("What to ask of the transcript. `summary` \u2014 prose: the argument plus the concrete takeaways as bullets. `chapters` \u2014 one line per subject change, `[h:mm:ss] Title \u2014 description`. `highlights` \u2014 up to 8 standalone moments, strongest first, one line each as `[h:mm:ss]-[h:mm:ss] Title \u2014 why it lands` plus the line that carries it. Every timestamp is ABSOLUTE seconds from the start of the media, including when you pass a `window`, and every one is verified against the transcript before you see it \u2014 but they are LINE-START markers about 15s apart, so treat a span as APPROXIMATE (up to 15s early) and refine it against the word timings from GET /v1/media/{id}/context before you cut."),
|
|
8326
|
+
"window": zod195.strictObject({
|
|
8327
|
+
"startSec": zod195.number().min(transcriptAnalyzeRequestWindowStartSecMin).describe("Window start, SECONDS from the start of the media."),
|
|
8328
|
+
"endSec": zod195.number().min(transcriptAnalyzeRequestWindowEndSecMin).describe("Window end, SECONDS from the start of the media.")
|
|
8320
8329
|
}).optional().describe("Analyse only this slice of the transcript. Omit to analyse all of it. Words are windowed exactly as captions.fromTranscript windows them (a word straddling an edge is clamped, a word wholly outside is dropped). Use this when a long recording is rejected with `transcript_too_long`, and to chapter a single segment of a podcast without paying for the whole thing.")
|
|
8321
8330
|
}).describe("One editorial question about a media item's transcript.");
|
|
8322
8331
|
|
|
8323
8332
|
// ../sdk/src/generated/zod/models/transcriptAnalyzeResponse.zod.ts
|
|
8324
|
-
import * as
|
|
8325
|
-
var TranscriptAnalyzeResponse =
|
|
8326
|
-
"task":
|
|
8327
|
-
"result":
|
|
8333
|
+
import * as zod196 from "zod";
|
|
8334
|
+
var TranscriptAnalyzeResponse = zod196.strictObject({
|
|
8335
|
+
"task": zod196.enum(["summary", "chapters", "highlights"]).describe("Echo of the requested task \u2014 so a batched caller can pair answers to asks."),
|
|
8336
|
+
"result": zod196.string().describe("The answer, as text. `summary` is prose; `chapters` and `highlights` are one record per LINE in the shape documented on the request's `task` field \u2014 split on newlines to parse them. Timestamps are absolute seconds from the start of the media and every one is CHECKED against the transcript before the response is returned (a fabricated timestamp fails the call rather than shipping), but they are line-start markers about 15s apart \u2014 a boundary can sit up to 15s BEFORE the moment you want. Use them to locate, not to cut: refine against the word timings in GET /v1/media/{id}/context.")
|
|
8328
8337
|
}).describe("The analysis of one media item's transcript. Metered: this is a real LLM call, billed on measured token spend, so it is not a read to poll.");
|
|
8329
8338
|
|
|
8330
8339
|
// ../sdk/src/generated/zod/models/triggerSubjectDetectionParams.zod.ts
|
|
8331
|
-
import * as
|
|
8332
|
-
var TriggerSubjectDetectionParams =
|
|
8333
|
-
"detector":
|
|
8340
|
+
import * as zod197 from "zod";
|
|
8341
|
+
var TriggerSubjectDetectionParams = zod197.strictObject({
|
|
8342
|
+
"detector": zod197.enum(["face", "person"]).optional()
|
|
8334
8343
|
});
|
|
8335
8344
|
|
|
8336
8345
|
// ../sdk/src/generated/zod/models/uploadTokenResponse.zod.ts
|
|
8337
|
-
import * as
|
|
8346
|
+
import * as zod198 from "zod";
|
|
8338
8347
|
var uploadTokenResponseExpiresAtMin = -9007199254740991;
|
|
8339
8348
|
var uploadTokenResponseExpiresAtMax = 9007199254740991;
|
|
8340
|
-
var UploadTokenResponse =
|
|
8341
|
-
"token":
|
|
8342
|
-
"expiresAt":
|
|
8349
|
+
var UploadTokenResponse = zod198.strictObject({
|
|
8350
|
+
"token": zod198.string(),
|
|
8351
|
+
"expiresAt": zod198.int().min(uploadTokenResponseExpiresAtMin).max(uploadTokenResponseExpiresAtMax).describe("Expiry, ms since epoch (~30 min TTL).")
|
|
8343
8352
|
}).describe("POST /uploads/token response: a short-lived token for the signed upload lane (the upload-signing worker's `uppy-auth-token` header). The org is derived from the session server-side and stamped into the token.");
|
|
8344
8353
|
|
|
8345
8354
|
// ../sdk/src/generated/zod/models/usageEventResponse.zod.ts
|
|
8346
|
-
import * as
|
|
8347
|
-
var UsageEventResponse =
|
|
8348
|
-
"featureId":
|
|
8349
|
-
"value":
|
|
8350
|
-
"projectId":
|
|
8351
|
-
"jobId":
|
|
8352
|
-
"jobKind":
|
|
8353
|
-
"mediaItemId":
|
|
8354
|
-
"listUsd":
|
|
8355
|
-
"createdAt":
|
|
8355
|
+
import * as zod199 from "zod";
|
|
8356
|
+
var UsageEventResponse = zod199.strictObject({
|
|
8357
|
+
"featureId": zod199.string().describe("The metered plan feature (exports, compose, compose_verify, \u2026)."),
|
|
8358
|
+
"value": zod199.number().optional().describe("Metered amount, in the feature's own unit (exports = render-minutes, storage = GB). Absent for a discrete single use, AND deliberately absent on the cost-plus lines (compose, generate, ai_tokens, compose_verify) whose internal metered unit is not a quantity \u2014 read `listUsd` for what those events cost you."),
|
|
8359
|
+
"projectId": zod199.string().optional(),
|
|
8360
|
+
"jobId": zod199.string().optional().describe("The job that produced the meter: a render/compose/preview job id, a media id (transcription, generate), or a clip-suggestion run id (jobKind `suggestions` \u2014 see `mediaItemId` for the media it analyzed)."),
|
|
8361
|
+
"jobKind": zod199.string().optional().describe("render | compose | consult_* | verify | preview | generate | suggestions | session_uptime | \u2026"),
|
|
8362
|
+
"mediaItemId": zod199.string().optional().describe("The media item the job ran over, when it ran over one (suggestions, transcription). Resolve it with GET /v1/media/{id}."),
|
|
8363
|
+
"listUsd": zod199.number().optional().describe("LIST price of this metered event, USD. Honest naming: the invoice may zero it inside a plan allowance \u2014 this is the event's list price, not a Stripe line item."),
|
|
8364
|
+
"createdAt": zod199.number().describe("Epoch-ms when the meter landed.")
|
|
8356
8365
|
});
|
|
8357
8366
|
|
|
8358
8367
|
// ../sdk/src/generated/zod/models/usageListResponse.zod.ts
|
|
8359
|
-
import * as
|
|
8360
|
-
var UsageListResponse =
|
|
8361
|
-
"data":
|
|
8368
|
+
import * as zod200 from "zod";
|
|
8369
|
+
var UsageListResponse = zod200.strictObject({
|
|
8370
|
+
"data": zod200.array(UsageEventResponse),
|
|
8362
8371
|
"pagination": PaginationMeta
|
|
8363
8372
|
});
|
|
8364
8373
|
|
|
8365
8374
|
// ../sdk/src/generated/zod/models/validateComposition200.zod.ts
|
|
8366
|
-
import * as
|
|
8367
|
-
var ValidateComposition200 =
|
|
8368
|
-
"valid":
|
|
8369
|
-
"errors":
|
|
8370
|
-
"code":
|
|
8371
|
-
"stage":
|
|
8372
|
-
"category":
|
|
8373
|
-
"retryable":
|
|
8374
|
-
"message":
|
|
8375
|
-
"fix":
|
|
8375
|
+
import * as zod201 from "zod";
|
|
8376
|
+
var ValidateComposition200 = zod201.strictObject({
|
|
8377
|
+
"valid": zod201.boolean(),
|
|
8378
|
+
"errors": zod201.array(zod201.strictObject({
|
|
8379
|
+
"code": zod201.string(),
|
|
8380
|
+
"stage": zod201.string(),
|
|
8381
|
+
"category": zod201.string(),
|
|
8382
|
+
"retryable": zod201.boolean(),
|
|
8383
|
+
"message": zod201.string(),
|
|
8384
|
+
"fix": zod201.record(zod201.string(), zod201.unknown()).optional()
|
|
8376
8385
|
})),
|
|
8377
|
-
"advisories":
|
|
8378
|
-
"rule":
|
|
8379
|
-
"criterion":
|
|
8380
|
-
"clipId":
|
|
8381
|
-
"detail":
|
|
8382
|
-
"fix":
|
|
8386
|
+
"advisories": zod201.array(zod201.strictObject({
|
|
8387
|
+
"rule": zod201.string(),
|
|
8388
|
+
"criterion": zod201.string(),
|
|
8389
|
+
"clipId": zod201.string().optional(),
|
|
8390
|
+
"detail": zod201.string(),
|
|
8391
|
+
"fix": zod201.string()
|
|
8383
8392
|
})).describe("Deterministic, render-free QUALITY floors (the SAME named defects the Director's in-loop verify and score_composition surface: static-hold, caption-spine, sfx-density, sfx-speech-collision, bed-coverage, audio-role). NON-blocking \u2014 they never flip `valid` (an editorially-weak composition still renders); fix them for quality, not to save. Empty when the composition is clean or the wire shape failed (they need a parsed composition)."),
|
|
8384
|
-
"warnings":
|
|
8385
|
-
"quote":
|
|
8386
|
-
"thisStepUsd":
|
|
8387
|
-
"jobSpendSoFarUsd":
|
|
8388
|
-
"estimatedJourneyTotalUsd":
|
|
8393
|
+
"warnings": zod201.array(zod201.string()).optional().describe("Non-blocking render-fidelity warnings detected before enqueue, including unavailable font families."),
|
|
8394
|
+
"quote": zod201.strictObject({
|
|
8395
|
+
"thisStepUsd": zod201.number(),
|
|
8396
|
+
"jobSpendSoFarUsd": zod201.number(),
|
|
8397
|
+
"estimatedJourneyTotalUsd": zod201.number()
|
|
8389
8398
|
}).describe("The A2 money triple for the commodity lane: validate is free; estimatedJourneyTotalUsd is the render price to finish from a valid composition \u2014 relay it BEFORE create_render.")
|
|
8390
8399
|
});
|
|
8391
8400
|
|
|
8392
8401
|
// ../sdk/src/generated/zod/models/webhookCreateRequest.zod.ts
|
|
8393
|
-
import * as
|
|
8402
|
+
import * as zod203 from "zod";
|
|
8394
8403
|
|
|
8395
8404
|
// ../sdk/src/generated/zod/models/webhookEvent.zod.ts
|
|
8396
|
-
import * as
|
|
8397
|
-
var WebhookEvent =
|
|
8405
|
+
import * as zod202 from "zod";
|
|
8406
|
+
var WebhookEvent = zod202.enum(["media.transcribed", "media.completed", "suggest.completed", "session.mux.complete", "session.mux.failed", "render.completed", "compose.completed", "checkpoint.ready", "project.updated", "composition.updated", "webhook.test"]);
|
|
8398
8407
|
|
|
8399
8408
|
// ../sdk/src/generated/zod/models/webhookCreateRequest.zod.ts
|
|
8400
8409
|
var webhookCreateRequestSettleMsMin = 0;
|
|
8401
8410
|
var webhookCreateRequestSettleMsMax = 6e4;
|
|
8402
|
-
var WebhookCreateRequest =
|
|
8403
|
-
"url":
|
|
8404
|
-
"events":
|
|
8405
|
-
"settleMs":
|
|
8411
|
+
var WebhookCreateRequest = zod203.strictObject({
|
|
8412
|
+
"url": zod203.string().min(1),
|
|
8413
|
+
"events": zod203.array(WebhookEvent).min(1),
|
|
8414
|
+
"settleMs": zod203.int().min(webhookCreateRequestSettleMsMin).max(webhookCreateRequestSettleMsMax).optional()
|
|
8406
8415
|
}).describe("POST /webhooks body.");
|
|
8407
8416
|
|
|
8408
8417
|
// ../sdk/src/generated/zod/models/webhookCreateResponse.zod.ts
|
|
8409
|
-
import * as
|
|
8418
|
+
import * as zod204 from "zod";
|
|
8410
8419
|
var webhookCreateResponseSettleMsMin = 0;
|
|
8411
8420
|
var webhookCreateResponseSettleMsMax = 9007199254740991;
|
|
8412
|
-
var WebhookCreateResponse =
|
|
8413
|
-
"id":
|
|
8414
|
-
"url":
|
|
8415
|
-
"events":
|
|
8416
|
-
"settleMs":
|
|
8417
|
-
"enabled":
|
|
8418
|
-
"status":
|
|
8419
|
-
"secret":
|
|
8420
|
-
"verification":
|
|
8421
|
-
"status":
|
|
8422
|
-
"reason":
|
|
8421
|
+
var WebhookCreateResponse = zod204.strictObject({
|
|
8422
|
+
"id": zod204.string(),
|
|
8423
|
+
"url": zod204.url(),
|
|
8424
|
+
"events": zod204.array(WebhookEvent),
|
|
8425
|
+
"settleMs": zod204.int().min(webhookCreateResponseSettleMsMin).max(webhookCreateResponseSettleMsMax),
|
|
8426
|
+
"enabled": zod204.boolean(),
|
|
8427
|
+
"status": zod204.enum(["active", "pending"]).describe("active = ownership verified + receiving events; pending = challenge not echoed, inactive."),
|
|
8428
|
+
"secret": zod204.string().describe("Standard Webhooks signing secret, format `whsec_<base64>`. Returned ONCE at create; rotate = delete + recreate. Every delivery carries `webhook-id`, `webhook-timestamp` (unix seconds), and `webhook-signature: v1,<base64>` (HMAC-SHA256 over `{id}.{timestamp}.{rawBody}`). Verify with any Standard-Webhooks library (`standardwebhooks` / `svix`): `new Webhook(secret).verify(rawBody, headers)`."),
|
|
8429
|
+
"verification": zod204.strictObject({
|
|
8430
|
+
"status": zod204.literal("pending"),
|
|
8431
|
+
"reason": zod204.string()
|
|
8423
8432
|
}).optional().describe('Present ONLY when ownership verification did not complete (status:"pending"). CueFrame POSTs a signed `webhook.verify` challenge whose `data.token` your endpoint must echo in a 2xx to activate; `reason` is one of token_not_echoed | non_2xx_<code> | unreachable | ssrf_blocked. A pending webhook receives no events \u2014 fix the receiver and POST /webhooks/:id/verify (no delete/recreate needed). See GET /webhooks/events for the full contract.')
|
|
8424
8433
|
}).describe("POST /webhooks response (secret present exactly once).");
|
|
8425
8434
|
|
|
8426
8435
|
// ../sdk/src/generated/zod/models/webhookEventCatalogResponse.zod.ts
|
|
8427
|
-
import * as
|
|
8428
|
-
var WebhookEventCatalogResponse =
|
|
8429
|
-
"delivery":
|
|
8430
|
-
"signing":
|
|
8431
|
-
"ownershipVerification":
|
|
8432
|
-
"events":
|
|
8436
|
+
import * as zod205 from "zod";
|
|
8437
|
+
var WebhookEventCatalogResponse = zod205.strictObject({
|
|
8438
|
+
"delivery": zod205.record(zod205.string(), zod205.unknown()).describe("The shared HTTP envelope + headers + retry semantics."),
|
|
8439
|
+
"signing": zod205.record(zod205.string(), zod205.unknown()).describe("Standard Webhooks signing: secret format, signed content, how to verify."),
|
|
8440
|
+
"ownershipVerification": zod205.record(zod205.string(), zod205.unknown()).describe("The synchronous echo-the-token activation handshake + recovery."),
|
|
8441
|
+
"events": zod205.array(zod205.strictObject({
|
|
8433
8442
|
"event": WebhookEvent,
|
|
8434
|
-
"when":
|
|
8435
|
-
"data":
|
|
8443
|
+
"when": zod205.string(),
|
|
8444
|
+
"data": zod205.record(zod205.string(), zod205.string())
|
|
8436
8445
|
})).describe("Every subscribable event with its exact delivery `data` fields."),
|
|
8437
|
-
"sample":
|
|
8446
|
+
"sample": zod205.record(zod205.string(), zod205.unknown()).describe("A fully-worked example delivery (headers + body).")
|
|
8438
8447
|
}).describe("The webhook delivery/signing/verification contract, as data. Read this before building a receiver.");
|
|
8439
8448
|
|
|
8440
8449
|
// ../sdk/src/generated/zod/models/webhookListResponse.zod.ts
|
|
8441
|
-
import * as
|
|
8450
|
+
import * as zod207 from "zod";
|
|
8442
8451
|
|
|
8443
8452
|
// ../sdk/src/generated/zod/models/webhookResponse.zod.ts
|
|
8444
|
-
import * as
|
|
8453
|
+
import * as zod206 from "zod";
|
|
8445
8454
|
var webhookResponseSettleMsMin = 0;
|
|
8446
8455
|
var webhookResponseSettleMsMax = 9007199254740991;
|
|
8447
8456
|
var webhookResponseConsecutiveFailuresMin = 0;
|
|
8448
8457
|
var webhookResponseConsecutiveFailuresMax = 9007199254740991;
|
|
8449
|
-
var WebhookResponse =
|
|
8450
|
-
"id":
|
|
8451
|
-
"url":
|
|
8452
|
-
"events":
|
|
8453
|
-
"settleMs":
|
|
8454
|
-
"enabled":
|
|
8455
|
-
"verificationStatus":
|
|
8456
|
-
"createdAt":
|
|
8457
|
-
"lastDeliveredAt":
|
|
8458
|
-
"lastFailedAt":
|
|
8459
|
-
"consecutiveFailures":
|
|
8458
|
+
var WebhookResponse = zod206.strictObject({
|
|
8459
|
+
"id": zod206.string(),
|
|
8460
|
+
"url": zod206.url(),
|
|
8461
|
+
"events": zod206.array(WebhookEvent),
|
|
8462
|
+
"settleMs": zod206.int().min(webhookResponseSettleMsMin).max(webhookResponseSettleMsMax),
|
|
8463
|
+
"enabled": zod206.boolean(),
|
|
8464
|
+
"verificationStatus": zod206.enum(["pending", "verified"]).describe("pending = callback URL has not echoed the ownership challenge (receives no events); verified = ownership proven."),
|
|
8465
|
+
"createdAt": zod206.string(),
|
|
8466
|
+
"lastDeliveredAt": zod206.string().nullable(),
|
|
8467
|
+
"lastFailedAt": zod206.string().nullable(),
|
|
8468
|
+
"consecutiveFailures": zod206.int().min(webhookResponseConsecutiveFailuresMin).max(webhookResponseConsecutiveFailuresMax)
|
|
8460
8469
|
}).describe("Webhook endpoint record (secret omitted after create).");
|
|
8461
8470
|
|
|
8462
8471
|
// ../sdk/src/generated/zod/models/webhookListResponse.zod.ts
|
|
8463
|
-
var WebhookListResponse =
|
|
8464
|
-
"data":
|
|
8472
|
+
var WebhookListResponse = zod207.strictObject({
|
|
8473
|
+
"data": zod207.array(WebhookResponse),
|
|
8465
8474
|
"pagination": PaginationMeta
|
|
8466
8475
|
});
|
|
8467
8476
|
|
|
8468
8477
|
// ../sdk/src/generated/zod/models/webhookPatchRequest.zod.ts
|
|
8469
|
-
import * as
|
|
8478
|
+
import * as zod208 from "zod";
|
|
8470
8479
|
var webhookPatchRequestSettleMsMin = 0;
|
|
8471
8480
|
var webhookPatchRequestSettleMsMax = 6e4;
|
|
8472
|
-
var WebhookPatchRequest =
|
|
8473
|
-
"url":
|
|
8474
|
-
"events":
|
|
8475
|
-
"settleMs":
|
|
8476
|
-
"enabled":
|
|
8481
|
+
var WebhookPatchRequest = zod208.strictObject({
|
|
8482
|
+
"url": zod208.string().min(1).optional(),
|
|
8483
|
+
"events": zod208.array(WebhookEvent).min(1).optional(),
|
|
8484
|
+
"settleMs": zod208.int().min(webhookPatchRequestSettleMsMin).max(webhookPatchRequestSettleMsMax).optional(),
|
|
8485
|
+
"enabled": zod208.boolean().optional()
|
|
8477
8486
|
}).describe("PATCH /webhooks/:id body.");
|
|
8478
8487
|
|
|
8479
8488
|
// ../sdk/src/generated/zod/models/webhookTestResponse.zod.ts
|
|
8480
|
-
import * as
|
|
8481
|
-
var WebhookTestResponse =
|
|
8482
|
-
"deliveryId":
|
|
8483
|
-
"status":
|
|
8489
|
+
import * as zod209 from "zod";
|
|
8490
|
+
var WebhookTestResponse = zod209.strictObject({
|
|
8491
|
+
"deliveryId": zod209.string(),
|
|
8492
|
+
"status": zod209.literal("queued")
|
|
8484
8493
|
}).describe("POST /webhooks/:id/test response.");
|
|
8485
8494
|
|
|
8486
8495
|
// ../sdk/src/generated/zod/models/webhookVerifyResponse.zod.ts
|
|
8487
|
-
import * as
|
|
8488
|
-
var WebhookVerifyResponse =
|
|
8489
|
-
"id":
|
|
8490
|
-
"status":
|
|
8491
|
-
"verification":
|
|
8492
|
-
"status":
|
|
8493
|
-
"reason":
|
|
8496
|
+
import * as zod210 from "zod";
|
|
8497
|
+
var WebhookVerifyResponse = zod210.strictObject({
|
|
8498
|
+
"id": zod210.string(),
|
|
8499
|
+
"status": zod210.enum(["active", "pending"]).describe("active = ownership verified + receiving events; pending = challenge not echoed."),
|
|
8500
|
+
"verification": zod210.strictObject({
|
|
8501
|
+
"status": zod210.literal("pending"),
|
|
8502
|
+
"reason": zod210.string()
|
|
8494
8503
|
}).optional().describe("Present only when the re-challenge did not verify; `reason` names why (see WebhookCreateResponse.verification).")
|
|
8495
8504
|
}).describe("POST /webhooks/:id/verify response.");
|
|
8496
8505
|
|
|
8497
8506
|
// ../sdk/src/generated/zod/models/whoamiResponse.zod.ts
|
|
8498
|
-
import * as
|
|
8499
|
-
var WhoamiResponse =
|
|
8500
|
-
"orgId":
|
|
8501
|
-
"permissions":
|
|
8502
|
-
"keyId":
|
|
8503
|
-
"keyName":
|
|
8507
|
+
import * as zod211 from "zod";
|
|
8508
|
+
var WhoamiResponse = zod211.strictObject({
|
|
8509
|
+
"orgId": zod211.string(),
|
|
8510
|
+
"permissions": zod211.record(zod211.string(), zod211.array(zod211.string())),
|
|
8511
|
+
"keyId": zod211.string(),
|
|
8512
|
+
"keyName": zod211.string()
|
|
8504
8513
|
}).describe("Whoami response.");
|
|
8505
8514
|
|
|
8506
8515
|
// ../sdk/src/generated/zod/models/x402PaymentRequired.zod.ts
|
|
8507
|
-
import * as
|
|
8508
|
-
var X402PaymentRequired =
|
|
8509
|
-
"x402Version":
|
|
8510
|
-
"accepts":
|
|
8511
|
-
"error":
|
|
8516
|
+
import * as zod212 from "zod";
|
|
8517
|
+
var X402PaymentRequired = zod212.strictObject({
|
|
8518
|
+
"x402Version": zod212.literal(2),
|
|
8519
|
+
"accepts": zod212.array(zod212.looseObject({})).describe("Accepted payment requirements. Read `accepts[0]` for scheme (`exact` for a fixed price, `upto` for a measured one), network (CAIP-2), asset, amount and payTo."),
|
|
8520
|
+
"error": zod212.string().optional().describe("Human-readable reason.")
|
|
8512
8521
|
}).describe("x402 v2 PaymentRequired challenge \u2014 the body of a 402 on a priced operation.");
|
|
8513
8522
|
|
|
8514
8523
|
// ../sdk/src/generated/zod/account/account.ts
|
|
@@ -8520,19 +8529,19 @@ var CreateApiKeyBody = ApiKeyCreateRequest;
|
|
|
8520
8529
|
var CreateApiKeyResponse = ApiKeyResponse;
|
|
8521
8530
|
|
|
8522
8531
|
// ../sdk/src/generated/zod/billing/billing.ts
|
|
8523
|
-
import * as
|
|
8532
|
+
import * as zod213 from "zod";
|
|
8524
8533
|
var getUsageQueryLimitMax = 100;
|
|
8525
8534
|
var getUsageQueryFromMin = -9007199254740991;
|
|
8526
8535
|
var getUsageQueryFromMax = 9007199254740991;
|
|
8527
8536
|
var getUsageQueryToMin = -9007199254740991;
|
|
8528
8537
|
var getUsageQueryToMax = 9007199254740991;
|
|
8529
|
-
var GetUsageQueryParams =
|
|
8530
|
-
"limit":
|
|
8531
|
-
"after":
|
|
8532
|
-
"projectId":
|
|
8533
|
-
"jobId":
|
|
8534
|
-
"from":
|
|
8535
|
-
"to":
|
|
8538
|
+
var GetUsageQueryParams = zod213.object({
|
|
8539
|
+
"limit": zod213.int().min(1).max(getUsageQueryLimitMax).optional().describe("Page size (1..100), default 20. Out-of-range or unparseable clamps into the range."),
|
|
8540
|
+
"after": zod213.string().optional().describe("Opaque cursor from the previous page's `pagination.nextCursor`. Forward-only."),
|
|
8541
|
+
"projectId": zod213.string().optional().describe("Only events attributed to this project."),
|
|
8542
|
+
"jobId": zod213.string().optional().describe('Only events produced by this job \u2014 how to answer "did my failed render post a charge?" for one run.'),
|
|
8543
|
+
"from": zod213.int().min(getUsageQueryFromMin).max(getUsageQueryFromMax).optional().describe("Period start, epoch milliseconds, INCLUSIVE."),
|
|
8544
|
+
"to": zod213.int().min(getUsageQueryToMin).max(getUsageQueryToMax).optional().describe("Period end, epoch milliseconds, EXCLUSIVE.")
|
|
8536
8545
|
});
|
|
8537
8546
|
var GetUsageResponse = UsageListResponse;
|
|
8538
8547
|
var GetBillingPlansResponse = BillingPlansResponse;
|
|
@@ -8540,23 +8549,23 @@ var CreateCheckoutBody = CheckoutRequest;
|
|
|
8540
8549
|
var CreateCheckoutResponse = CheckoutResponse;
|
|
8541
8550
|
|
|
8542
8551
|
// ../sdk/src/generated/zod/brand-kits/brand-kits.ts
|
|
8543
|
-
import * as
|
|
8552
|
+
import * as zod214 from "zod";
|
|
8544
8553
|
var listBrandKitsQueryLimitMax = 100;
|
|
8545
|
-
var ListBrandKitsQueryParams =
|
|
8546
|
-
"limit":
|
|
8547
|
-
"after":
|
|
8554
|
+
var ListBrandKitsQueryParams = zod214.object({
|
|
8555
|
+
"limit": zod214.int().min(1).max(listBrandKitsQueryLimitMax).optional().describe("Page size (1..100), default 20. Out-of-range or unparseable clamps into the range."),
|
|
8556
|
+
"after": zod214.string().optional().describe("Opaque cursor from the previous page's `pagination.nextCursor`. Forward-only.")
|
|
8548
8557
|
});
|
|
8549
8558
|
var ListBrandKitsResponse = BrandKitListResponse;
|
|
8550
8559
|
var CreateBrandKitBody = BrandKitCreateRequest;
|
|
8551
8560
|
var CreateBrandKitResponse = BrandKitResponse;
|
|
8552
8561
|
var ExtractBrandKitBody = ExtractBrandKitRequest;
|
|
8553
8562
|
var ExtractBrandKitResponse2 = JobEnqueueResponse;
|
|
8554
|
-
var GetBrandKitParams =
|
|
8555
|
-
"id":
|
|
8563
|
+
var GetBrandKitParams = zod214.object({
|
|
8564
|
+
"id": zod214.string()
|
|
8556
8565
|
});
|
|
8557
8566
|
var GetBrandKitResponse = BrandKitResponse;
|
|
8558
|
-
var GetBrandKitExemplarsParams =
|
|
8559
|
-
"id":
|
|
8567
|
+
var GetBrandKitExemplarsParams = zod214.object({
|
|
8568
|
+
"id": zod214.string()
|
|
8560
8569
|
});
|
|
8561
8570
|
var GetBrandKitExemplarsBody = BrandKitExemplarsRequest;
|
|
8562
8571
|
var GetBrandKitExemplarsResponse = BrandKitExemplarsResponse;
|
|
@@ -8564,309 +8573,312 @@ var CreateExemplarUploadsBody = ExemplarUploadsRequest;
|
|
|
8564
8573
|
var CreateExemplarUploadsResponse = ExemplarUploadsResponse;
|
|
8565
8574
|
|
|
8566
8575
|
// ../sdk/src/generated/zod/briefs/briefs.ts
|
|
8567
|
-
import * as
|
|
8576
|
+
import * as zod215 from "zod";
|
|
8568
8577
|
var CreateBriefBody = BriefCreateRequest;
|
|
8569
8578
|
var CreateBriefResponse = BriefResponse;
|
|
8570
8579
|
var listBriefsQueryLimitMax = 100;
|
|
8571
|
-
var ListBriefsQueryParams =
|
|
8572
|
-
"limit":
|
|
8573
|
-
"after":
|
|
8574
|
-
"projectId":
|
|
8575
|
-
"kind":
|
|
8580
|
+
var ListBriefsQueryParams = zod215.object({
|
|
8581
|
+
"limit": zod215.int().min(1).max(listBriefsQueryLimitMax).optional().describe("Page size (1..100), default 20. Out-of-range or unparseable clamps into the range."),
|
|
8582
|
+
"after": zod215.string().optional().describe("Opaque cursor from the previous page's `pagination.nextCursor`. Forward-only."),
|
|
8583
|
+
"projectId": zod215.string().optional().describe("Scope to one project. Omit for every brief in the org."),
|
|
8584
|
+
"kind": zod215.enum(["authored", "clip", "all"]).optional().describe("Which briefs to list. `authored` (default) = human-authored only; `clip` = the machine-minted clip briefs from suggest_briefs; `all` = both.")
|
|
8576
8585
|
});
|
|
8577
8586
|
var ListBriefsResponse = BriefListResponse;
|
|
8578
|
-
var GetBriefParams =
|
|
8579
|
-
"id":
|
|
8587
|
+
var GetBriefParams = zod215.object({
|
|
8588
|
+
"id": zod215.string()
|
|
8580
8589
|
});
|
|
8581
8590
|
var GetBriefResponse = BriefResponse;
|
|
8582
|
-
var UpdateBriefParams =
|
|
8583
|
-
"id":
|
|
8591
|
+
var UpdateBriefParams = zod215.object({
|
|
8592
|
+
"id": zod215.string()
|
|
8584
8593
|
});
|
|
8585
8594
|
var UpdateBriefBody = BriefPatchRequest;
|
|
8586
8595
|
var UpdateBriefResponse = BriefResponse;
|
|
8587
|
-
var DeleteBriefParams =
|
|
8588
|
-
"id":
|
|
8596
|
+
var DeleteBriefParams = zod215.object({
|
|
8597
|
+
"id": zod215.string()
|
|
8589
8598
|
});
|
|
8590
|
-
var DeleteBriefResponse =
|
|
8599
|
+
var DeleteBriefResponse = zod215.void();
|
|
8591
8600
|
|
|
8592
8601
|
// ../sdk/src/generated/zod/checkpoints/checkpoints.ts
|
|
8593
|
-
import * as
|
|
8594
|
-
var GetReviewPacketParams =
|
|
8595
|
-
"id":
|
|
8602
|
+
import * as zod216 from "zod";
|
|
8603
|
+
var GetReviewPacketParams = zod216.object({
|
|
8604
|
+
"id": zod216.string()
|
|
8596
8605
|
});
|
|
8597
8606
|
var GetReviewPacketResponse = ReviewPacketResponse;
|
|
8598
|
-
var RecordReviewDecisionParams =
|
|
8599
|
-
"id":
|
|
8607
|
+
var RecordReviewDecisionParams = zod216.object({
|
|
8608
|
+
"id": zod216.string()
|
|
8600
8609
|
});
|
|
8601
8610
|
var RecordReviewDecisionResponse = ReviewDecisionResponse;
|
|
8602
8611
|
var listCheckpointsQueryLimitMax = 100;
|
|
8603
|
-
var ListCheckpointsQueryParams =
|
|
8604
|
-
"limit":
|
|
8605
|
-
"after":
|
|
8606
|
-
"composeJobId":
|
|
8607
|
-
"projectId":
|
|
8612
|
+
var ListCheckpointsQueryParams = zod216.object({
|
|
8613
|
+
"limit": zod216.int().min(1).max(listCheckpointsQueryLimitMax).optional().describe("Page size (1..100), default 20. Out-of-range or unparseable clamps into the range."),
|
|
8614
|
+
"after": zod216.string().optional().describe("Opaque cursor from the previous page's `pagination.nextCursor`. Forward-only."),
|
|
8615
|
+
"composeJobId": zod216.string().optional().describe("Scope to ONE compose run \u2014 its v1\u2192vN gate history with per-version status and decisions."),
|
|
8616
|
+
"projectId": zod216.string().optional().describe("Scope to everything reviewable in one project.")
|
|
8608
8617
|
});
|
|
8609
8618
|
var ListCheckpointsResponse = CheckpointListResponse;
|
|
8610
|
-
var GetCheckpointParams =
|
|
8611
|
-
"id":
|
|
8619
|
+
var GetCheckpointParams = zod216.object({
|
|
8620
|
+
"id": zod216.string()
|
|
8612
8621
|
});
|
|
8613
8622
|
var GetCheckpointResponse = CheckpointResponse;
|
|
8614
|
-
var ResumeCheckpointParams =
|
|
8615
|
-
"id":
|
|
8623
|
+
var ResumeCheckpointParams = zod216.object({
|
|
8624
|
+
"id": zod216.string()
|
|
8616
8625
|
});
|
|
8617
8626
|
var ResumeCheckpointBody = CheckpointResumeRequest;
|
|
8618
8627
|
var ResumeCheckpointResponse = CheckpointResumeResponse;
|
|
8619
8628
|
|
|
8620
8629
|
// ../sdk/src/generated/zod/clips/clips.ts
|
|
8621
|
-
import * as
|
|
8622
|
-
var ComposeFromSuggestionParams =
|
|
8623
|
-
"id":
|
|
8630
|
+
import * as zod217 from "zod";
|
|
8631
|
+
var ComposeFromSuggestionParams = zod217.object({
|
|
8632
|
+
"id": zod217.string()
|
|
8624
8633
|
});
|
|
8625
|
-
var ComposeFromSuggestionBody2 =
|
|
8626
|
-
"suggestionId":
|
|
8627
|
-
"format":
|
|
8628
|
-
"aspectRatio":
|
|
8629
|
-
"fps":
|
|
8630
|
-
"resolution":
|
|
8631
|
-
"platform":
|
|
8634
|
+
var ComposeFromSuggestionBody2 = zod217.strictObject({
|
|
8635
|
+
"suggestionId": zod217.string().min(1),
|
|
8636
|
+
"format": zod217.strictObject({
|
|
8637
|
+
"aspectRatio": zod217.enum(["16:9", "9:16", "1:1", "4:5"]),
|
|
8638
|
+
"fps": zod217.union([zod217.literal(24), zod217.literal(25), zod217.literal(30), zod217.literal(60)]).optional(),
|
|
8639
|
+
"resolution": zod217.enum(["hd", "fhd", "4k"]).optional(),
|
|
8640
|
+
"platform": zod217.string().optional()
|
|
8632
8641
|
}).optional()
|
|
8633
8642
|
});
|
|
8634
|
-
var ComposeFromSuggestionResponse =
|
|
8635
|
-
var ListMediaSuggestionsParams2 =
|
|
8636
|
-
"id":
|
|
8643
|
+
var ComposeFromSuggestionResponse = zod217.unknown();
|
|
8644
|
+
var ListMediaSuggestionsParams2 = zod217.object({
|
|
8645
|
+
"id": zod217.string()
|
|
8637
8646
|
});
|
|
8638
8647
|
var listMediaSuggestionsQueryLimitMax = 100;
|
|
8639
|
-
var ListMediaSuggestionsQueryParams =
|
|
8640
|
-
"limit":
|
|
8641
|
-
"after":
|
|
8642
|
-
"platform":
|
|
8643
|
-
"format":
|
|
8644
|
-
"topic":
|
|
8648
|
+
var ListMediaSuggestionsQueryParams = zod217.object({
|
|
8649
|
+
"limit": zod217.int().min(1).max(listMediaSuggestionsQueryLimitMax).optional().describe("Page size (1..100), default 20. Out-of-range or unparseable clamps into the range."),
|
|
8650
|
+
"after": zod217.string().optional().describe("Opaque cursor from the previous page's `pagination.nextCursor`. Forward-only."),
|
|
8651
|
+
"platform": zod217.string().optional().describe("Only suggestions cut for this delivery platform."),
|
|
8652
|
+
"format": zod217.string().optional().describe("Only suggestions in this output format."),
|
|
8653
|
+
"topic": zod217.string().optional().describe("Only suggestions matching this topic label.")
|
|
8645
8654
|
});
|
|
8646
8655
|
var ListMediaSuggestionsResponse = SuggestionsEnvelope;
|
|
8647
|
-
var SuggestBriefsParams =
|
|
8648
|
-
"id":
|
|
8656
|
+
var SuggestBriefsParams = zod217.object({
|
|
8657
|
+
"id": zod217.string()
|
|
8649
8658
|
});
|
|
8650
8659
|
var SuggestBriefsResponse = SuggestionsTriggerResponse;
|
|
8651
|
-
var ResetMediaSuggestionsParams =
|
|
8652
|
-
"id":
|
|
8660
|
+
var ResetMediaSuggestionsParams = zod217.object({
|
|
8661
|
+
"id": zod217.string()
|
|
8653
8662
|
});
|
|
8654
|
-
var ResetMediaSuggestionsResponse =
|
|
8663
|
+
var ResetMediaSuggestionsResponse = zod217.unknown();
|
|
8655
8664
|
|
|
8656
8665
|
// ../sdk/src/generated/zod/components/components.ts
|
|
8657
|
-
import * as
|
|
8666
|
+
import * as zod218 from "zod";
|
|
8658
8667
|
var listCatalogQueryLimitMax = 100;
|
|
8659
|
-
var ListCatalogQueryParams =
|
|
8660
|
-
"category":
|
|
8661
|
-
"kind":
|
|
8662
|
-
"tier":
|
|
8663
|
-
"useCase":
|
|
8664
|
-
"mood":
|
|
8665
|
-
"q":
|
|
8666
|
-
"intent":
|
|
8667
|
-
"limit":
|
|
8668
|
-
"after":
|
|
8668
|
+
var ListCatalogQueryParams = zod218.object({
|
|
8669
|
+
"category": zod218.enum(["text", "effects", "transitions", "layouts", "backgrounds", "ui-blocks", "scenes"]).optional().describe("Filter to one category bucket (text|effects|transitions|layouts|backgrounds|ui-blocks|scenes)."),
|
|
8670
|
+
"kind": zod218.enum(["component", "transition", "scene"]).optional().describe("Filter by render kind (component|transition|scene)."),
|
|
8671
|
+
"tier": zod218.enum(["recommended", "standard", "niche"]).optional().describe("Filter by curation tier (recommended|standard|niche)."),
|
|
8672
|
+
"useCase": zod218.enum(["intro", "outro", "full-scene", "title-over-footage", "transition", "background", "grade", "emphasis", "explainer", "social-cut"]).optional().describe("Filter to entries whose useCase includes this edit role (e.g. intro, title-over-footage, grade)."),
|
|
8673
|
+
"mood": zod218.string().optional().describe("Filter to entries whose mood tags include this value (e.g. cinematic, minimal)."),
|
|
8674
|
+
"q": zod218.string().optional().describe("Free-text match across id/name/description/intent/useWhen/tags/mood. Recommend-orders results."),
|
|
8675
|
+
"intent": zod218.string().optional().describe("Alias of `q` framed as recommend-by-intent (e.g. intent=intro). Recommend-orders results."),
|
|
8676
|
+
"limit": zod218.int().min(1).max(listCatalogQueryLimitMax).optional().describe("Page size (1..100). Omit to return the whole filtered catalog in one page."),
|
|
8677
|
+
"after": zod218.string().optional().describe("Opaque cursor from a previous page's nextCursor (forward-only).")
|
|
8669
8678
|
});
|
|
8670
8679
|
var ListCatalogResponse = ComponentListResponse;
|
|
8671
8680
|
var CreateComponentBody = ComponentCreateRequest;
|
|
8672
8681
|
var CreateComponentResponse = ComponentResponse;
|
|
8673
|
-
var UpdateComponentParams =
|
|
8674
|
-
"id":
|
|
8682
|
+
var UpdateComponentParams = zod218.object({
|
|
8683
|
+
"id": zod218.string()
|
|
8675
8684
|
});
|
|
8676
8685
|
var UpdateComponentBody = ComponentUpdateRequest;
|
|
8677
8686
|
var UpdateComponentResponse = ComponentResponse;
|
|
8678
|
-
var GetComponentParams =
|
|
8679
|
-
"id":
|
|
8687
|
+
var GetComponentParams = zod218.object({
|
|
8688
|
+
"id": zod218.string()
|
|
8680
8689
|
});
|
|
8681
8690
|
var GetComponentResponse = ComponentResponse;
|
|
8682
|
-
var GetComponentSourceParams =
|
|
8683
|
-
"id":
|
|
8691
|
+
var GetComponentSourceParams = zod218.object({
|
|
8692
|
+
"id": zod218.string()
|
|
8684
8693
|
});
|
|
8685
8694
|
var GetComponentSourceResponse = ComponentSourceResponse;
|
|
8686
8695
|
|
|
8687
8696
|
// ../sdk/src/generated/zod/compose/compose.ts
|
|
8688
|
-
import * as
|
|
8689
|
-
var ComposeParams =
|
|
8690
|
-
"id":
|
|
8697
|
+
import * as zod219 from "zod";
|
|
8698
|
+
var ComposeParams = zod219.object({
|
|
8699
|
+
"id": zod219.string()
|
|
8691
8700
|
});
|
|
8692
8701
|
var ComposeBody = ComposeCreateRequest;
|
|
8693
8702
|
var ComposeResponse = ComposeCreateResponse;
|
|
8694
|
-
var StreamComposeParams =
|
|
8695
|
-
"id":
|
|
8696
|
-
"composeJobId":
|
|
8703
|
+
var StreamComposeParams = zod219.object({
|
|
8704
|
+
"id": zod219.string(),
|
|
8705
|
+
"composeJobId": zod219.string()
|
|
8697
8706
|
});
|
|
8698
|
-
var StreamComposeResponse =
|
|
8699
|
-
var SelectComposeCandidateParams =
|
|
8700
|
-
"id":
|
|
8701
|
-
"composeJobId":
|
|
8707
|
+
var StreamComposeResponse = zod219.unknown();
|
|
8708
|
+
var SelectComposeCandidateParams = zod219.object({
|
|
8709
|
+
"id": zod219.string(),
|
|
8710
|
+
"composeJobId": zod219.string()
|
|
8702
8711
|
});
|
|
8703
8712
|
var SelectComposeCandidateBody = ComposeSelectRequest;
|
|
8704
8713
|
var SelectComposeCandidateResponse = ComposeSelectResponse;
|
|
8705
|
-
var CancelComposeParams =
|
|
8706
|
-
"id":
|
|
8707
|
-
"composeJobId":
|
|
8714
|
+
var CancelComposeParams = zod219.object({
|
|
8715
|
+
"id": zod219.string(),
|
|
8716
|
+
"composeJobId": zod219.string()
|
|
8708
8717
|
});
|
|
8709
8718
|
var CancelComposeResponse = ComposeJobDetailResponse;
|
|
8710
|
-
var ListComposeJobsParams =
|
|
8711
|
-
"id":
|
|
8719
|
+
var ListComposeJobsParams = zod219.object({
|
|
8720
|
+
"id": zod219.string()
|
|
8712
8721
|
});
|
|
8713
8722
|
var ListComposeJobsResponse = ComposeJobListResponse;
|
|
8714
|
-
var GetComposeJobParams =
|
|
8715
|
-
"id":
|
|
8716
|
-
"composeJobId":
|
|
8723
|
+
var GetComposeJobParams = zod219.object({
|
|
8724
|
+
"id": zod219.string(),
|
|
8725
|
+
"composeJobId": zod219.string()
|
|
8717
8726
|
});
|
|
8718
8727
|
var GetComposeJobResponse = ComposeJobDetailResponse;
|
|
8719
8728
|
|
|
8720
8729
|
// ../sdk/src/generated/zod/compose-session/compose-session.ts
|
|
8721
|
-
import * as
|
|
8722
|
-
var OpenComposeSessionParams =
|
|
8723
|
-
"id":
|
|
8730
|
+
import * as zod220 from "zod";
|
|
8731
|
+
var OpenComposeSessionParams = zod220.object({
|
|
8732
|
+
"id": zod220.string()
|
|
8724
8733
|
});
|
|
8725
8734
|
var openComposeSessionBodyLeaseJobIdMax2 = 64;
|
|
8726
|
-
var OpenComposeSessionBody2 =
|
|
8727
|
-
"seedComposition":
|
|
8728
|
-
"leaseJobId":
|
|
8735
|
+
var OpenComposeSessionBody2 = zod220.strictObject({
|
|
8736
|
+
"seedComposition": zod220.unknown().optional(),
|
|
8737
|
+
"leaseJobId": zod220.string().min(1).max(openComposeSessionBodyLeaseJobIdMax2).optional()
|
|
8729
8738
|
});
|
|
8730
|
-
var OpenComposeSessionResponse =
|
|
8731
|
-
"sessionId":
|
|
8739
|
+
var OpenComposeSessionResponse = zod220.object({
|
|
8740
|
+
"sessionId": zod220.string()
|
|
8732
8741
|
});
|
|
8733
|
-
var GetComposeSessionCompositionParams =
|
|
8734
|
-
"id":
|
|
8735
|
-
"sessionId":
|
|
8742
|
+
var GetComposeSessionCompositionParams = zod220.object({
|
|
8743
|
+
"id": zod220.string(),
|
|
8744
|
+
"sessionId": zod220.string()
|
|
8736
8745
|
});
|
|
8737
|
-
var GetComposeSessionCompositionResponse =
|
|
8738
|
-
"composition":
|
|
8746
|
+
var GetComposeSessionCompositionResponse = zod220.object({
|
|
8747
|
+
"composition": zod220.unknown()
|
|
8739
8748
|
});
|
|
8740
|
-
var CloseComposeSessionParams =
|
|
8741
|
-
"id":
|
|
8742
|
-
"sessionId":
|
|
8749
|
+
var CloseComposeSessionParams = zod220.object({
|
|
8750
|
+
"id": zod220.string(),
|
|
8751
|
+
"sessionId": zod220.string()
|
|
8743
8752
|
});
|
|
8744
|
-
var CloseComposeSessionResponse =
|
|
8745
|
-
"ok":
|
|
8753
|
+
var CloseComposeSessionResponse = zod220.object({
|
|
8754
|
+
"ok": zod220.boolean()
|
|
8746
8755
|
});
|
|
8747
|
-
var CommitComposeSessionParams =
|
|
8748
|
-
"id":
|
|
8749
|
-
"sessionId":
|
|
8756
|
+
var CommitComposeSessionParams = zod220.object({
|
|
8757
|
+
"id": zod220.string(),
|
|
8758
|
+
"sessionId": zod220.string()
|
|
8750
8759
|
});
|
|
8751
|
-
var CommitComposeSessionResponse =
|
|
8752
|
-
"etag":
|
|
8760
|
+
var CommitComposeSessionResponse = zod220.object({
|
|
8761
|
+
"etag": zod220.string()
|
|
8753
8762
|
});
|
|
8754
8763
|
|
|
8755
8764
|
// ../sdk/src/generated/zod/compositions/compositions.ts
|
|
8756
|
-
import * as
|
|
8757
|
-
var
|
|
8758
|
-
"id":
|
|
8765
|
+
import * as zod221 from "zod";
|
|
8766
|
+
var GetCompositionParams2 = zod221.object({
|
|
8767
|
+
"id": zod221.string()
|
|
8768
|
+
});
|
|
8769
|
+
var GetCompositionQueryParams = zod221.object({
|
|
8770
|
+
"compositionId": zod221.string().optional().describe("Read a SPECIFIC composition instead of the project's active one. Omit it and the active composition is returned. Pairs with `composition_id` on the apply op: an edit you can make to a second composition is one you can read back.")
|
|
8759
8771
|
});
|
|
8760
8772
|
var GetCompositionResponse = Composition;
|
|
8761
|
-
var PutCompositionParams =
|
|
8762
|
-
"id":
|
|
8773
|
+
var PutCompositionParams = zod221.object({
|
|
8774
|
+
"id": zod221.string()
|
|
8763
8775
|
});
|
|
8764
8776
|
var PutCompositionBody = Composition;
|
|
8765
|
-
var PutCompositionResponse =
|
|
8766
|
-
var NewCompositionParams =
|
|
8767
|
-
"id":
|
|
8777
|
+
var PutCompositionResponse = zod221.unknown();
|
|
8778
|
+
var NewCompositionParams = zod221.object({
|
|
8779
|
+
"id": zod221.string()
|
|
8768
8780
|
});
|
|
8769
8781
|
var NewCompositionBody = CompositionCreateRequest;
|
|
8770
|
-
var NewCompositionResponse =
|
|
8771
|
-
var ListCompositionsParams =
|
|
8772
|
-
"id":
|
|
8782
|
+
var NewCompositionResponse = zod221.void();
|
|
8783
|
+
var ListCompositionsParams = zod221.object({
|
|
8784
|
+
"id": zod221.string()
|
|
8773
8785
|
});
|
|
8774
8786
|
var ListCompositionsResponse = CompositionListResponse;
|
|
8775
|
-
var ApplyCompositionOpParams =
|
|
8776
|
-
"id":
|
|
8787
|
+
var ApplyCompositionOpParams = zod221.object({
|
|
8788
|
+
"id": zod221.string()
|
|
8777
8789
|
});
|
|
8778
8790
|
var ApplyCompositionOpBody = CompositionOp;
|
|
8779
|
-
var ApplyCompositionOpResponse =
|
|
8780
|
-
var ApplyCompositionParams =
|
|
8781
|
-
"id":
|
|
8791
|
+
var ApplyCompositionOpResponse = zod221.unknown();
|
|
8792
|
+
var ApplyCompositionParams = zod221.object({
|
|
8793
|
+
"id": zod221.string()
|
|
8782
8794
|
});
|
|
8783
8795
|
var ApplyCompositionBody = CompositionApplyRequest;
|
|
8784
|
-
var ApplyCompositionResponse =
|
|
8785
|
-
var DeriveCompositionParams =
|
|
8786
|
-
"id":
|
|
8796
|
+
var ApplyCompositionResponse = zod221.unknown();
|
|
8797
|
+
var DeriveCompositionParams = zod221.object({
|
|
8798
|
+
"id": zod221.string()
|
|
8787
8799
|
});
|
|
8788
8800
|
var DeriveCompositionBody = DeriveCompositionRequest;
|
|
8789
8801
|
var DeriveCompositionResponseSchema = DeriveCompositionResponse;
|
|
8790
8802
|
var ValidateCompositionBody = Composition;
|
|
8791
|
-
var ValidateCompositionResponse =
|
|
8792
|
-
"valid":
|
|
8793
|
-
"errors":
|
|
8794
|
-
"code":
|
|
8795
|
-
"stage":
|
|
8796
|
-
"category":
|
|
8797
|
-
"retryable":
|
|
8798
|
-
"message":
|
|
8799
|
-
"fix":
|
|
8803
|
+
var ValidateCompositionResponse = zod221.object({
|
|
8804
|
+
"valid": zod221.boolean(),
|
|
8805
|
+
"errors": zod221.array(zod221.object({
|
|
8806
|
+
"code": zod221.string(),
|
|
8807
|
+
"stage": zod221.string(),
|
|
8808
|
+
"category": zod221.string(),
|
|
8809
|
+
"retryable": zod221.boolean(),
|
|
8810
|
+
"message": zod221.string(),
|
|
8811
|
+
"fix": zod221.record(zod221.string(), zod221.unknown()).optional()
|
|
8800
8812
|
})),
|
|
8801
|
-
"advisories":
|
|
8802
|
-
"rule":
|
|
8803
|
-
"criterion":
|
|
8804
|
-
"clipId":
|
|
8805
|
-
"detail":
|
|
8806
|
-
"fix":
|
|
8813
|
+
"advisories": zod221.array(zod221.object({
|
|
8814
|
+
"rule": zod221.string(),
|
|
8815
|
+
"criterion": zod221.string(),
|
|
8816
|
+
"clipId": zod221.string().optional(),
|
|
8817
|
+
"detail": zod221.string(),
|
|
8818
|
+
"fix": zod221.string()
|
|
8807
8819
|
})).describe("Deterministic, render-free QUALITY floors (the SAME named defects the Director's in-loop verify and score_composition surface: static-hold, caption-spine, sfx-density, sfx-speech-collision, bed-coverage, audio-role). NON-blocking \u2014 they never flip `valid` (an editorially-weak composition still renders); fix them for quality, not to save. Empty when the composition is clean or the wire shape failed (they need a parsed composition)."),
|
|
8808
|
-
"warnings":
|
|
8809
|
-
"quote":
|
|
8810
|
-
"thisStepUsd":
|
|
8811
|
-
"jobSpendSoFarUsd":
|
|
8812
|
-
"estimatedJourneyTotalUsd":
|
|
8820
|
+
"warnings": zod221.array(zod221.string()).optional().describe("Non-blocking render-fidelity warnings detected before enqueue, including unavailable font families."),
|
|
8821
|
+
"quote": zod221.object({
|
|
8822
|
+
"thisStepUsd": zod221.number(),
|
|
8823
|
+
"jobSpendSoFarUsd": zod221.number(),
|
|
8824
|
+
"estimatedJourneyTotalUsd": zod221.number()
|
|
8813
8825
|
}).describe("The A2 money triple for the commodity lane: validate is free; estimatedJourneyTotalUsd is the render price to finish from a valid composition \u2014 relay it BEFORE create_render.")
|
|
8814
8826
|
});
|
|
8815
|
-
var DeleteCompositionParams =
|
|
8816
|
-
"id":
|
|
8817
|
-
"compositionId":
|
|
8827
|
+
var DeleteCompositionParams = zod221.object({
|
|
8828
|
+
"id": zod221.string(),
|
|
8829
|
+
"compositionId": zod221.string()
|
|
8818
8830
|
});
|
|
8819
|
-
var DeleteCompositionResponse =
|
|
8831
|
+
var DeleteCompositionResponse = zod221.void();
|
|
8820
8832
|
|
|
8821
8833
|
// ../sdk/src/generated/zod/consult/consult.ts
|
|
8822
|
-
import * as
|
|
8823
|
-
var ConsultParams =
|
|
8824
|
-
"id":
|
|
8834
|
+
import * as zod222 from "zod";
|
|
8835
|
+
var ConsultParams = zod222.object({
|
|
8836
|
+
"id": zod222.string()
|
|
8825
8837
|
});
|
|
8826
8838
|
var ConsultBody = ConsultRequest;
|
|
8827
8839
|
var ConsultResponseSchema = ConsultResponse;
|
|
8828
8840
|
|
|
8829
8841
|
// ../sdk/src/generated/zod/critics/critics.ts
|
|
8830
|
-
import * as
|
|
8842
|
+
import * as zod223 from "zod";
|
|
8831
8843
|
var CreateCriticBody = CriticCreateRequest;
|
|
8832
8844
|
var CreateCriticResponse = CriticResponse;
|
|
8833
8845
|
var ListCriticsResponse = CriticListResponse;
|
|
8834
|
-
var DeleteCriticParams =
|
|
8835
|
-
"criticId":
|
|
8846
|
+
var DeleteCriticParams = zod223.object({
|
|
8847
|
+
"criticId": zod223.string()
|
|
8836
8848
|
});
|
|
8837
|
-
var DeleteCriticResponse =
|
|
8849
|
+
var DeleteCriticResponse = zod223.void();
|
|
8838
8850
|
|
|
8839
8851
|
// ../sdk/src/generated/zod/evidence/evidence.ts
|
|
8840
|
-
import * as
|
|
8841
|
-
var ScoreCompositionParams =
|
|
8842
|
-
"id":
|
|
8852
|
+
import * as zod224 from "zod";
|
|
8853
|
+
var ScoreCompositionParams = zod224.object({
|
|
8854
|
+
"id": zod224.string()
|
|
8843
8855
|
});
|
|
8844
|
-
var ScoreCompositionBody2 =
|
|
8845
|
-
"composition":
|
|
8846
|
-
"compositionId":
|
|
8847
|
-
"session_id":
|
|
8848
|
-
"editorialIntent":
|
|
8849
|
-
"brandContext":
|
|
8856
|
+
var ScoreCompositionBody2 = zod224.strictObject({
|
|
8857
|
+
"composition": zod224.unknown().optional().describe("The composition to judge. Absent \u21D2 the project's ACTIVE composition."),
|
|
8858
|
+
"compositionId": zod224.string().optional().describe("Judge a SPECIFIC persisted composition of this project (create_render parity). Absent \u21D2 the active one. A stale/foreign id is a 404 \u2014 never a silent fall-through."),
|
|
8859
|
+
"session_id": zod224.string().optional().describe("Compose-session id: judge that session's SCRATCH composition (what the session has been editing) instead of the active row. Ignored when `composition` is passed."),
|
|
8860
|
+
"editorialIntent": zod224.string().optional(),
|
|
8861
|
+
"brandContext": zod224.string().optional()
|
|
8850
8862
|
});
|
|
8851
8863
|
var ScoreCompositionResponse = JobEnqueueResponse;
|
|
8852
|
-
var PreviewFrameJobParams =
|
|
8853
|
-
"id":
|
|
8864
|
+
var PreviewFrameJobParams = zod224.object({
|
|
8865
|
+
"id": zod224.string()
|
|
8854
8866
|
});
|
|
8855
8867
|
var previewFrameJobBodyScaleMin2 = 0.1;
|
|
8856
8868
|
var previewFrameJobBodyScaleMax2 = 1;
|
|
8857
8869
|
var previewFrameJobBodyJpegQualityMax2 = 100;
|
|
8858
|
-
var PreviewFrameJobBody2 =
|
|
8859
|
-
"composition":
|
|
8860
|
-
"compositionId":
|
|
8861
|
-
"session_id":
|
|
8862
|
-
"timestamps":
|
|
8863
|
-
"imageFormat":
|
|
8864
|
-
"scale":
|
|
8865
|
-
"jpegQuality":
|
|
8870
|
+
var PreviewFrameJobBody2 = zod224.strictObject({
|
|
8871
|
+
"composition": zod224.unknown().optional().describe("The composition to render. Absent \u21D2 the project's ACTIVE composition \u2014 what create_render will encode. The response's `previewed.source` names what was rendered."),
|
|
8872
|
+
"compositionId": zod224.string().optional().describe("Preview a SPECIFIC persisted composition of this project (create_render parity). Absent \u21D2 the active one. A stale/foreign id is a 404 \u2014 never a silent fall-through."),
|
|
8873
|
+
"session_id": zod224.string().optional().describe("Compose-session id: render that session's SCRATCH composition (what the session has been editing) instead of the active row. Ignored when `composition` is passed."),
|
|
8874
|
+
"timestamps": zod224.array(zod224.number()).min(1),
|
|
8875
|
+
"imageFormat": zod224.enum(["png", "jpeg"]).optional().describe("Still format. Default jpeg \u2014 these pixels go to a vision model, where jpeg is equivalent and png costs multiples in bytes to store and move. Pass png only when you need full fidelity."),
|
|
8876
|
+
"scale": zod224.number().min(previewFrameJobBodyScaleMin2).max(previewFrameJobBodyScaleMax2).optional().describe("Render scale 0.1\u20131. Default 0.5, which is what this schema has always recommended for vision-bound looks. Pass 1 when judging fine detail \u2014 it costs ~4x the vision tokens."),
|
|
8877
|
+
"jpegQuality": zod224.int().min(1).max(previewFrameJobBodyJpegQualityMax2).optional().describe("JPEG quality (jpeg only). Default 70 \u2014 the quality the eval panel grades at.")
|
|
8866
8878
|
});
|
|
8867
8879
|
var PreviewFrameJobResponse = JobEnqueueResponse;
|
|
8868
|
-
var PreviewComponentParams =
|
|
8869
|
-
"id":
|
|
8880
|
+
var PreviewComponentParams = zod224.object({
|
|
8881
|
+
"id": zod224.string()
|
|
8870
8882
|
});
|
|
8871
8883
|
var previewComponentBodyWidthExclusiveMin2 = 0;
|
|
8872
8884
|
var previewComponentBodyWidthMax2 = 9007199254740991;
|
|
@@ -8875,37 +8887,37 @@ var previewComponentBodyHeightMax2 = 9007199254740991;
|
|
|
8875
8887
|
var previewComponentBodyFpsExclusiveMin2 = 0;
|
|
8876
8888
|
var previewComponentBodyFpsMax2 = 120;
|
|
8877
8889
|
var previewComponentBodyDurationInFramesMax2 = 3600;
|
|
8878
|
-
var PreviewComponentBody2 =
|
|
8879
|
-
"componentId":
|
|
8880
|
-
"params":
|
|
8881
|
-
"assets":
|
|
8882
|
-
"width":
|
|
8883
|
-
"height":
|
|
8884
|
-
"fps":
|
|
8885
|
-
"durationInFrames":
|
|
8890
|
+
var PreviewComponentBody2 = zod224.strictObject({
|
|
8891
|
+
"componentId": zod224.string().min(1),
|
|
8892
|
+
"params": zod224.record(zod224.string(), zod224.unknown()).optional(),
|
|
8893
|
+
"assets": zod224.record(zod224.string(), zod224.string().min(1)).optional().describe("Component asset-slot name to org mediaId. Every required manifest slot must be bound."),
|
|
8894
|
+
"width": zod224.int().gt(previewComponentBodyWidthExclusiveMin2).max(previewComponentBodyWidthMax2).optional(),
|
|
8895
|
+
"height": zod224.int().gt(previewComponentBodyHeightExclusiveMin2).max(previewComponentBodyHeightMax2).optional(),
|
|
8896
|
+
"fps": zod224.number().gt(previewComponentBodyFpsExclusiveMin2).max(previewComponentBodyFpsMax2).optional().describe("Preview frame rate. When omitted, uses the project's format."),
|
|
8897
|
+
"durationInFrames": zod224.int().min(1).max(previewComponentBodyDurationInFramesMax2).optional().describe("Preview frame count. When omitted, uses the component's declared duration; required if the component has none.")
|
|
8886
8898
|
});
|
|
8887
8899
|
var PreviewComponentResponse = JobEnqueueResponse;
|
|
8888
8900
|
|
|
8889
8901
|
// ../sdk/src/generated/zod/exports/exports.ts
|
|
8890
|
-
import * as
|
|
8891
|
-
var CreateFcpxmlExportParams =
|
|
8892
|
-
"id":
|
|
8902
|
+
import * as zod225 from "zod";
|
|
8903
|
+
var CreateFcpxmlExportParams = zod225.object({
|
|
8904
|
+
"id": zod225.string()
|
|
8893
8905
|
});
|
|
8894
8906
|
var CreateFcpxmlExportBody = ExportCreateRequest;
|
|
8895
8907
|
var CreateFcpxmlExportResponse = ExportResponse;
|
|
8896
|
-
var CreatePremiereExportParams =
|
|
8897
|
-
"id":
|
|
8908
|
+
var CreatePremiereExportParams = zod225.object({
|
|
8909
|
+
"id": zod225.string()
|
|
8898
8910
|
});
|
|
8899
8911
|
var CreatePremiereExportBody = ExportCreateRequest;
|
|
8900
8912
|
var CreatePremiereExportResponse = ExportResponse;
|
|
8901
|
-
var GetExportParams =
|
|
8902
|
-
"id":
|
|
8903
|
-
"exportId":
|
|
8913
|
+
var GetExportParams = zod225.object({
|
|
8914
|
+
"id": zod225.string(),
|
|
8915
|
+
"exportId": zod225.string()
|
|
8904
8916
|
});
|
|
8905
8917
|
var GetExportResponse = ExportResponse;
|
|
8906
|
-
var CancelExportParams =
|
|
8907
|
-
"id":
|
|
8908
|
-
"exportId":
|
|
8918
|
+
var CancelExportParams = zod225.object({
|
|
8919
|
+
"id": zod225.string(),
|
|
8920
|
+
"exportId": zod225.string()
|
|
8909
8921
|
});
|
|
8910
8922
|
var CancelExportResponse = ExportResponse;
|
|
8911
8923
|
|
|
@@ -8915,51 +8927,51 @@ var SearchFontsResponse = FontSearchResponse;
|
|
|
8915
8927
|
var ListRenderFontsResponse = RenderFontsResponse;
|
|
8916
8928
|
|
|
8917
8929
|
// ../sdk/src/generated/zod/health/health.ts
|
|
8918
|
-
import * as
|
|
8919
|
-
var HealthQueryParams =
|
|
8920
|
-
"deep":
|
|
8930
|
+
import * as zod226 from "zod";
|
|
8931
|
+
var HealthQueryParams = zod226.object({
|
|
8932
|
+
"deep": zod226.literal("1").optional().describe("Pass `1` to run the deep dependency checks instead of the shallow liveness probe.")
|
|
8921
8933
|
});
|
|
8922
8934
|
var HealthResponseSchema = HealthResponse;
|
|
8923
8935
|
var WhoamiResponseSchema = WhoamiResponse;
|
|
8924
|
-
var GetOpenAPISpecResponse =
|
|
8936
|
+
var GetOpenAPISpecResponse = zod226.looseObject({});
|
|
8925
8937
|
|
|
8926
8938
|
// ../sdk/src/generated/zod/jobs/jobs.ts
|
|
8927
|
-
import * as
|
|
8928
|
-
var GetJobParams =
|
|
8929
|
-
"jobId":
|
|
8939
|
+
import * as zod227 from "zod";
|
|
8940
|
+
var GetJobParams = zod227.object({
|
|
8941
|
+
"jobId": zod227.string()
|
|
8930
8942
|
});
|
|
8931
8943
|
var GetJobResponse = JobResponse;
|
|
8932
|
-
var CancelJobParams =
|
|
8933
|
-
"jobId":
|
|
8944
|
+
var CancelJobParams = zod227.object({
|
|
8945
|
+
"jobId": zod227.string()
|
|
8934
8946
|
});
|
|
8935
8947
|
var CancelJobResponse = JobResponse;
|
|
8936
8948
|
|
|
8937
8949
|
// ../sdk/src/generated/zod/media/media.ts
|
|
8938
|
-
import * as
|
|
8950
|
+
import * as zod228 from "zod";
|
|
8939
8951
|
var searchLibraryQueryLimitDefault = 10;
|
|
8940
8952
|
var searchLibraryQueryLimitMax = 25;
|
|
8941
|
-
var SearchLibraryQueryParams =
|
|
8942
|
-
"q":
|
|
8943
|
-
"limit":
|
|
8953
|
+
var SearchLibraryQueryParams = zod228.object({
|
|
8954
|
+
"q": zod228.string().min(1).describe("What the moment should look like, in plain language. Describe the IMAGE, not the words spoken."),
|
|
8955
|
+
"limit": zod228.int().min(1).max(searchLibraryQueryLimitMax).default(searchLibraryQueryLimitDefault).describe("Maximum moments to return. Default 10, maximum 25.")
|
|
8944
8956
|
});
|
|
8945
8957
|
var SearchLibraryResponse = LibrarySearchResponse;
|
|
8946
|
-
var CreateUploadTokenBody2 =
|
|
8947
|
-
"projectId":
|
|
8958
|
+
var CreateUploadTokenBody2 = zod228.strictObject({
|
|
8959
|
+
"projectId": zod228.string().optional().describe("Optional project to scope the token to; omitted = org library.")
|
|
8948
8960
|
});
|
|
8949
8961
|
var CreateUploadTokenResponse = UploadTokenResponse;
|
|
8950
8962
|
var CreateMediaUploadBody = MediaUploadRequest;
|
|
8951
8963
|
var CreateMediaUploadResponse = MediaDirectUploadResponse;
|
|
8952
8964
|
var listMediaQueryLimitMax = 100;
|
|
8953
|
-
var ListMediaQueryParams =
|
|
8954
|
-
"limit":
|
|
8955
|
-
"after":
|
|
8956
|
-
"kind":
|
|
8957
|
-
"source":
|
|
8958
|
-
"tag":
|
|
8965
|
+
var ListMediaQueryParams = zod228.object({
|
|
8966
|
+
"limit": zod228.int().min(1).max(listMediaQueryLimitMax).optional().describe("Page size (1..100), default 20. Out-of-range or unparseable clamps into the range."),
|
|
8967
|
+
"after": zod228.string().optional().describe("Opaque cursor from the previous page's `pagination.nextCursor`. Forward-only."),
|
|
8968
|
+
"kind": zod228.enum(["video", "audio", "image", "gif", "asset", "source", "stock"]).optional().describe("Filter to one media kind."),
|
|
8969
|
+
"source": zod228.enum(["upload", "generated", "import-url", "stock"]).optional().describe("Filter by how the item entered the library."),
|
|
8970
|
+
"tag": zod228.string().optional().describe("Filter to items carrying this EXACT tag (not a prefix or substring match).")
|
|
8959
8971
|
});
|
|
8960
8972
|
var ListMediaResponse = MediaListResponse;
|
|
8961
|
-
var FinalizeMediaParams =
|
|
8962
|
-
"id":
|
|
8973
|
+
var FinalizeMediaParams = zod228.object({
|
|
8974
|
+
"id": zod228.string()
|
|
8963
8975
|
});
|
|
8964
8976
|
var FinalizeMediaBody = MediaFinalizeRequest;
|
|
8965
8977
|
var FinalizeMediaResponse = MediaFinalizeResponse;
|
|
@@ -8967,59 +8979,59 @@ var GenerateMediaBody = MediaGenerateRequest;
|
|
|
8967
8979
|
var GenerateMediaResponse = MediaGenerateResponse;
|
|
8968
8980
|
var ImportMediaBody = MediaImportRequest;
|
|
8969
8981
|
var ImportMediaResponse = MediaImportResponse;
|
|
8970
|
-
var DeleteMediaParams =
|
|
8971
|
-
"id":
|
|
8982
|
+
var DeleteMediaParams = zod228.object({
|
|
8983
|
+
"id": zod228.string()
|
|
8972
8984
|
});
|
|
8973
|
-
var DeleteMediaResponse =
|
|
8974
|
-
var GetMediaParams =
|
|
8975
|
-
"id":
|
|
8985
|
+
var DeleteMediaResponse = zod228.void();
|
|
8986
|
+
var GetMediaParams = zod228.object({
|
|
8987
|
+
"id": zod228.string()
|
|
8976
8988
|
});
|
|
8977
8989
|
var GetMediaResponse = MediaResponse;
|
|
8978
|
-
var GetMediaTranscriptParams2 =
|
|
8979
|
-
"id":
|
|
8990
|
+
var GetMediaTranscriptParams2 = zod228.object({
|
|
8991
|
+
"id": zod228.string()
|
|
8980
8992
|
});
|
|
8981
8993
|
var getMediaTranscriptQueryAfterMin = 0;
|
|
8982
8994
|
var getMediaTranscriptQueryBeforeMin = 0;
|
|
8983
8995
|
var getMediaTranscriptQueryLimitDefault = 20;
|
|
8984
8996
|
var getMediaTranscriptQueryLimitMax = 100;
|
|
8985
|
-
var GetMediaTranscriptQueryParams =
|
|
8986
|
-
"after":
|
|
8987
|
-
"before":
|
|
8988
|
-
"limit":
|
|
8997
|
+
var GetMediaTranscriptQueryParams = zod228.object({
|
|
8998
|
+
"after": zod228.int().min(getMediaTranscriptQueryAfterMin).optional().describe("Zero-based utterance cursor returned as pagination.nextCursor."),
|
|
8999
|
+
"before": zod228.int().min(getMediaTranscriptQueryBeforeMin).optional().describe("Zero-based utterance cursor for a backward page. Do not combine with after."),
|
|
9000
|
+
"limit": zod228.int().min(1).max(getMediaTranscriptQueryLimitMax).default(getMediaTranscriptQueryLimitDefault).describe("Utterances per page.")
|
|
8989
9001
|
});
|
|
8990
9002
|
var GetMediaTranscriptResponse = TranscriptResponse;
|
|
8991
|
-
var GetMediaContextParams =
|
|
8992
|
-
"id":
|
|
9003
|
+
var GetMediaContextParams = zod228.object({
|
|
9004
|
+
"id": zod228.string()
|
|
8993
9005
|
});
|
|
8994
9006
|
var GetMediaContextResponse = MediaContextResponse;
|
|
8995
|
-
var TriggerSubjectDetectionParams2 =
|
|
8996
|
-
"id":
|
|
9007
|
+
var TriggerSubjectDetectionParams2 = zod228.object({
|
|
9008
|
+
"id": zod228.string()
|
|
8997
9009
|
});
|
|
8998
|
-
var TriggerSubjectDetectionQueryParams =
|
|
8999
|
-
"detector":
|
|
9010
|
+
var TriggerSubjectDetectionQueryParams = zod228.object({
|
|
9011
|
+
"detector": zod228.enum(["face", "person"]).optional().describe("Which detector to run. Defaults to `face`; an unknown value is refused, never defaulted.")
|
|
9000
9012
|
});
|
|
9001
9013
|
var TriggerSubjectDetectionResponse = SubjectDetectionTriggerResponse;
|
|
9002
|
-
var TriggerMatteBakeParams =
|
|
9003
|
-
"id":
|
|
9014
|
+
var TriggerMatteBakeParams = zod228.object({
|
|
9015
|
+
"id": zod228.string()
|
|
9004
9016
|
});
|
|
9005
9017
|
var TriggerMatteBakeBody = MatteBakeRequest;
|
|
9006
9018
|
var TriggerMatteBakeResponse = MatteBakeTriggerResponse;
|
|
9007
|
-
var ListMediaFactsParams2 =
|
|
9008
|
-
"id":
|
|
9019
|
+
var ListMediaFactsParams2 = zod228.object({
|
|
9020
|
+
"id": zod228.string()
|
|
9009
9021
|
});
|
|
9010
|
-
var ListMediaFactsQueryParams =
|
|
9011
|
-
"kind":
|
|
9012
|
-
"startSec":
|
|
9013
|
-
"endSec":
|
|
9022
|
+
var ListMediaFactsQueryParams = zod228.object({
|
|
9023
|
+
"kind": zod228.enum(["subjectTrack", "matte"]).optional().describe("Resolve one exact editor prerequisite. Requires startSec and endSec; the response includes the server-selected `exact` result."),
|
|
9024
|
+
"startSec": zod228.number().optional().describe("Source-in of the clip's trim, in seconds. Must be sent WITH endSec \u2014 one without the other is a 400, never a silent whole-source default."),
|
|
9025
|
+
"endSec": zod228.number().optional().describe("Source-out of the clip's trim, in seconds. Must be sent WITH startSec.")
|
|
9014
9026
|
});
|
|
9015
9027
|
var ListMediaFactsResponse = MediaFactsResponse;
|
|
9016
|
-
var PurchaseMediaFactParams =
|
|
9017
|
-
"id":
|
|
9028
|
+
var PurchaseMediaFactParams = zod228.object({
|
|
9029
|
+
"id": zod228.string()
|
|
9018
9030
|
});
|
|
9019
9031
|
var PurchaseMediaFactBody = MediaFactPurchaseRequest;
|
|
9020
9032
|
var PurchaseMediaFactResponse = MediaFactPurchaseResponse;
|
|
9021
|
-
var AnalyzeTranscriptParams =
|
|
9022
|
-
"id":
|
|
9033
|
+
var AnalyzeTranscriptParams = zod228.object({
|
|
9034
|
+
"id": zod228.string()
|
|
9023
9035
|
});
|
|
9024
9036
|
var AnalyzeTranscriptBody = TranscriptAnalyzeRequest;
|
|
9025
9037
|
var AnalyzeTranscriptResponse = TranscriptAnalyzeResponse;
|
|
@@ -9027,80 +9039,80 @@ var AnalyzeTimelineBody = TimelineAnalysisRequest;
|
|
|
9027
9039
|
var AnalyzeTimelineResponse = TimelineAnalysisResponse;
|
|
9028
9040
|
|
|
9029
9041
|
// ../sdk/src/generated/zod/projects/projects.ts
|
|
9030
|
-
import * as
|
|
9042
|
+
import * as zod229 from "zod";
|
|
9031
9043
|
var listProjectsQueryLimitMax = 100;
|
|
9032
|
-
var ListProjectsQueryParams =
|
|
9033
|
-
"limit":
|
|
9034
|
-
"after":
|
|
9044
|
+
var ListProjectsQueryParams = zod229.object({
|
|
9045
|
+
"limit": zod229.int().min(1).max(listProjectsQueryLimitMax).optional().describe("Page size (1..100), default 20. Out-of-range or unparseable clamps into the range."),
|
|
9046
|
+
"after": zod229.string().optional().describe("Opaque cursor from the previous page's `pagination.nextCursor`. Forward-only.")
|
|
9035
9047
|
});
|
|
9036
9048
|
var ListProjectsResponse = ProjectListResponse;
|
|
9037
9049
|
var CreateProjectBody = ProjectCreateRequest;
|
|
9038
9050
|
var CreateProjectResponse = ProjectResponse;
|
|
9039
|
-
var GetProjectParams =
|
|
9040
|
-
"id":
|
|
9051
|
+
var GetProjectParams = zod229.object({
|
|
9052
|
+
"id": zod229.string()
|
|
9041
9053
|
});
|
|
9042
9054
|
var GetProjectResponse = ProjectResponse;
|
|
9043
|
-
var PatchProjectParams =
|
|
9044
|
-
"id":
|
|
9055
|
+
var PatchProjectParams = zod229.object({
|
|
9056
|
+
"id": zod229.string()
|
|
9045
9057
|
});
|
|
9046
9058
|
var PatchProjectBody = ProjectPatchRequest;
|
|
9047
9059
|
var PatchProjectResponse = ProjectResponse;
|
|
9048
|
-
var DeleteProjectParams =
|
|
9049
|
-
"id":
|
|
9060
|
+
var DeleteProjectParams = zod229.object({
|
|
9061
|
+
"id": zod229.string()
|
|
9050
9062
|
});
|
|
9051
|
-
var DeleteProjectResponse =
|
|
9052
|
-
var GetProjectContextParams =
|
|
9053
|
-
"id":
|
|
9063
|
+
var DeleteProjectResponse = zod229.void();
|
|
9064
|
+
var GetProjectContextParams = zod229.object({
|
|
9065
|
+
"id": zod229.string()
|
|
9054
9066
|
});
|
|
9055
9067
|
var GetProjectContextResponse = ProjectContextResponse;
|
|
9056
9068
|
|
|
9057
9069
|
// ../sdk/src/generated/zod/renders/renders.ts
|
|
9058
|
-
import * as
|
|
9059
|
-
var CreateRenderParams =
|
|
9060
|
-
"id":
|
|
9070
|
+
import * as zod230 from "zod";
|
|
9071
|
+
var CreateRenderParams = zod230.object({
|
|
9072
|
+
"id": zod230.string()
|
|
9061
9073
|
});
|
|
9062
9074
|
var CreateRenderBody = RenderCreateRequest;
|
|
9063
9075
|
var CreateRenderResponse = RenderResponse;
|
|
9064
|
-
var ListProjectRendersParams2 =
|
|
9065
|
-
"id":
|
|
9076
|
+
var ListProjectRendersParams2 = zod230.object({
|
|
9077
|
+
"id": zod230.string()
|
|
9066
9078
|
});
|
|
9067
9079
|
var listProjectRendersQueryLimitMax = 100;
|
|
9068
|
-
var ListProjectRendersQueryParams =
|
|
9069
|
-
"limit":
|
|
9070
|
-
"after":
|
|
9071
|
-
"status":
|
|
9080
|
+
var ListProjectRendersQueryParams = zod230.object({
|
|
9081
|
+
"limit": zod230.int().min(1).max(listProjectRendersQueryLimitMax).optional().describe("Page size (1..100), default 20. Out-of-range or unparseable clamps into the range."),
|
|
9082
|
+
"after": zod230.string().optional().describe("Opaque cursor from the previous page's `pagination.nextCursor`. Forward-only."),
|
|
9083
|
+
"status": zod230.string().optional().describe("Comma-separated render statuses to include (e.g. `error,cancelled`). Omit for every status.")
|
|
9072
9084
|
});
|
|
9073
9085
|
var ListProjectRendersResponse = RenderListResponse;
|
|
9074
|
-
var PreviewClipParams =
|
|
9075
|
-
"id":
|
|
9086
|
+
var PreviewClipParams = zod230.object({
|
|
9087
|
+
"id": zod230.string()
|
|
9076
9088
|
});
|
|
9077
9089
|
var PreviewClipBody = PreviewClipRequest;
|
|
9078
9090
|
var PreviewClipResponse = RenderResponse;
|
|
9079
|
-
var GetRenderParams =
|
|
9080
|
-
"id":
|
|
9081
|
-
"renderId":
|
|
9091
|
+
var GetRenderParams = zod230.object({
|
|
9092
|
+
"id": zod230.string(),
|
|
9093
|
+
"renderId": zod230.string()
|
|
9082
9094
|
});
|
|
9083
9095
|
var GetRenderResponse = RenderResponse;
|
|
9084
|
-
var CancelRenderParams =
|
|
9085
|
-
"id":
|
|
9086
|
-
"renderId":
|
|
9096
|
+
var CancelRenderParams = zod230.object({
|
|
9097
|
+
"id": zod230.string(),
|
|
9098
|
+
"renderId": zod230.string()
|
|
9087
9099
|
});
|
|
9088
9100
|
var CancelRenderResponse = RenderResponse;
|
|
9089
|
-
var RetryRenderParams =
|
|
9090
|
-
"id":
|
|
9091
|
-
"renderId":
|
|
9101
|
+
var RetryRenderParams = zod230.object({
|
|
9102
|
+
"id": zod230.string(),
|
|
9103
|
+
"renderId": zod230.string()
|
|
9092
9104
|
});
|
|
9093
9105
|
var RetryRenderResponse = RenderResponse;
|
|
9094
|
-
var RefreshRenderUrlParams =
|
|
9095
|
-
"id":
|
|
9096
|
-
"renderId":
|
|
9106
|
+
var RefreshRenderUrlParams = zod230.object({
|
|
9107
|
+
"id": zod230.string(),
|
|
9108
|
+
"renderId": zod230.string()
|
|
9097
9109
|
});
|
|
9098
9110
|
var RefreshRenderUrlResponse = RenderRefreshUrlResponse;
|
|
9099
|
-
var StreamRenderParams =
|
|
9100
|
-
"id":
|
|
9101
|
-
"renderId":
|
|
9111
|
+
var StreamRenderParams = zod230.object({
|
|
9112
|
+
"id": zod230.string(),
|
|
9113
|
+
"renderId": zod230.string()
|
|
9102
9114
|
});
|
|
9103
|
-
var StreamRenderResponse =
|
|
9115
|
+
var StreamRenderResponse = zod230.unknown();
|
|
9104
9116
|
|
|
9105
9117
|
// ../sdk/src/generated/zod/resources/resources.ts
|
|
9106
9118
|
var SearchResourcesBody = ResourceSearchRequest;
|
|
@@ -9109,106 +9121,106 @@ var ImportResourceBody = ResourceImportRequest;
|
|
|
9109
9121
|
var ImportResourceResponse = ResourceImportResponse;
|
|
9110
9122
|
|
|
9111
9123
|
// ../sdk/src/generated/zod/selector/selector.ts
|
|
9112
|
-
import * as
|
|
9113
|
-
var ListSelectorCandidatesParams2 =
|
|
9114
|
-
"id":
|
|
9124
|
+
import * as zod231 from "zod";
|
|
9125
|
+
var ListSelectorCandidatesParams2 = zod231.object({
|
|
9126
|
+
"id": zod231.string()
|
|
9115
9127
|
});
|
|
9116
|
-
var ListSelectorCandidatesQueryParams =
|
|
9117
|
-
"groupId":
|
|
9128
|
+
var ListSelectorCandidatesQueryParams = zod231.object({
|
|
9129
|
+
"groupId": zod231.string().min(1).describe("The synced-angle group to score.")
|
|
9118
9130
|
});
|
|
9119
9131
|
var ListSelectorCandidatesResponse = SelectorCandidatesResponse;
|
|
9120
|
-
var PreviewSelectorParams =
|
|
9121
|
-
"id":
|
|
9132
|
+
var PreviewSelectorParams = zod231.object({
|
|
9133
|
+
"id": zod231.string()
|
|
9122
9134
|
});
|
|
9123
9135
|
var PreviewSelectorBody = SelectorPreviewRequest;
|
|
9124
9136
|
var PreviewSelectorResponse = SelectorCandidatesResponse;
|
|
9125
9137
|
|
|
9126
9138
|
// ../sdk/src/generated/zod/sessions/sessions.ts
|
|
9127
|
-
import * as
|
|
9139
|
+
import * as zod232 from "zod";
|
|
9128
9140
|
var listSessionsQueryLimitMax = 100;
|
|
9129
|
-
var ListSessionsQueryParams =
|
|
9130
|
-
"limit":
|
|
9131
|
-
"after":
|
|
9141
|
+
var ListSessionsQueryParams = zod232.object({
|
|
9142
|
+
"limit": zod232.int().min(1).max(listSessionsQueryLimitMax).optional().describe("Page size (1..100), default 20. Out-of-range or unparseable clamps into the range."),
|
|
9143
|
+
"after": zod232.string().optional().describe("Opaque cursor from the previous page's `pagination.nextCursor`. Forward-only.")
|
|
9132
9144
|
});
|
|
9133
9145
|
var ListSessionsResponse = SessionListResponse;
|
|
9134
9146
|
var CreateSessionBody = SessionCreateRequest;
|
|
9135
9147
|
var CreateSessionResponse = SessionResponse;
|
|
9136
|
-
var GetSessionParams =
|
|
9137
|
-
"id":
|
|
9148
|
+
var GetSessionParams = zod232.object({
|
|
9149
|
+
"id": zod232.string()
|
|
9138
9150
|
});
|
|
9139
9151
|
var GetSessionResponse = SessionResponse;
|
|
9140
|
-
var DeleteSessionParams =
|
|
9141
|
-
"id":
|
|
9152
|
+
var DeleteSessionParams = zod232.object({
|
|
9153
|
+
"id": zod232.string()
|
|
9142
9154
|
});
|
|
9143
|
-
var DeleteSessionResponse =
|
|
9144
|
-
var TriggerMuxJobParams =
|
|
9145
|
-
"id":
|
|
9155
|
+
var DeleteSessionResponse = zod232.void();
|
|
9156
|
+
var TriggerMuxJobParams = zod232.object({
|
|
9157
|
+
"id": zod232.string()
|
|
9146
9158
|
});
|
|
9147
9159
|
var TriggerMuxJobResponse = MuxJobResponse;
|
|
9148
|
-
var GetMuxJobParams =
|
|
9149
|
-
"id":
|
|
9160
|
+
var GetMuxJobParams = zod232.object({
|
|
9161
|
+
"id": zod232.string()
|
|
9150
9162
|
});
|
|
9151
9163
|
var GetMuxJobResponse = MuxJobResponse;
|
|
9152
9164
|
|
|
9153
9165
|
// ../sdk/src/generated/zod/skills/skills.ts
|
|
9154
|
-
import * as
|
|
9166
|
+
import * as zod233 from "zod";
|
|
9155
9167
|
var ListSkillsResponse = SkillListResponse;
|
|
9156
|
-
var GetSkillParams =
|
|
9157
|
-
"name":
|
|
9168
|
+
var GetSkillParams = zod233.object({
|
|
9169
|
+
"name": zod233.string()
|
|
9158
9170
|
});
|
|
9159
|
-
var GetSkillResponse =
|
|
9171
|
+
var GetSkillResponse = zod233.unknown();
|
|
9160
9172
|
|
|
9161
9173
|
// ../sdk/src/generated/zod/traces/traces.ts
|
|
9162
|
-
import * as
|
|
9163
|
-
var ScoreTraceParams =
|
|
9164
|
-
"traceId":
|
|
9174
|
+
import * as zod234 from "zod";
|
|
9175
|
+
var ScoreTraceParams = zod234.object({
|
|
9176
|
+
"traceId": zod234.string()
|
|
9165
9177
|
});
|
|
9166
9178
|
var ScoreTraceBody = TraceScoresRequest;
|
|
9167
9179
|
var ScoreTraceResponse = TraceScoresResponse;
|
|
9168
9180
|
|
|
9169
9181
|
// ../sdk/src/generated/zod/webhooks/webhooks.ts
|
|
9170
|
-
import * as
|
|
9182
|
+
import * as zod235 from "zod";
|
|
9171
9183
|
var listWebhooksQueryLimitMax = 100;
|
|
9172
|
-
var ListWebhooksQueryParams =
|
|
9173
|
-
"limit":
|
|
9174
|
-
"after":
|
|
9184
|
+
var ListWebhooksQueryParams = zod235.object({
|
|
9185
|
+
"limit": zod235.int().min(1).max(listWebhooksQueryLimitMax).optional().describe("Page size (1..100), default 20. Out-of-range or unparseable clamps into the range."),
|
|
9186
|
+
"after": zod235.string().optional().describe("Opaque cursor from the previous page's `pagination.nextCursor`. Forward-only.")
|
|
9175
9187
|
});
|
|
9176
9188
|
var ListWebhooksResponse = WebhookListResponse;
|
|
9177
9189
|
var CreateWebhookBody = WebhookCreateRequest;
|
|
9178
9190
|
var CreateWebhookResponse = WebhookCreateResponse;
|
|
9179
9191
|
var GetWebhookEventsResponse = WebhookEventCatalogResponse;
|
|
9180
|
-
var GetWebhookParams =
|
|
9181
|
-
"id":
|
|
9192
|
+
var GetWebhookParams = zod235.object({
|
|
9193
|
+
"id": zod235.string()
|
|
9182
9194
|
});
|
|
9183
9195
|
var GetWebhookResponse = WebhookResponse;
|
|
9184
|
-
var PatchWebhookParams =
|
|
9185
|
-
"id":
|
|
9196
|
+
var PatchWebhookParams = zod235.object({
|
|
9197
|
+
"id": zod235.string()
|
|
9186
9198
|
});
|
|
9187
9199
|
var PatchWebhookBody = WebhookPatchRequest;
|
|
9188
9200
|
var PatchWebhookResponse = WebhookResponse;
|
|
9189
|
-
var DeleteWebhookParams =
|
|
9190
|
-
"id":
|
|
9201
|
+
var DeleteWebhookParams = zod235.object({
|
|
9202
|
+
"id": zod235.string()
|
|
9191
9203
|
});
|
|
9192
|
-
var DeleteWebhookResponse =
|
|
9193
|
-
var TestWebhookParams =
|
|
9194
|
-
"id":
|
|
9204
|
+
var DeleteWebhookResponse = zod235.void();
|
|
9205
|
+
var TestWebhookParams = zod235.object({
|
|
9206
|
+
"id": zod235.string()
|
|
9195
9207
|
});
|
|
9196
9208
|
var TestWebhookResponse = WebhookTestResponse;
|
|
9197
|
-
var VerifyWebhookParams =
|
|
9198
|
-
"id":
|
|
9209
|
+
var VerifyWebhookParams = zod235.object({
|
|
9210
|
+
"id": zod235.string()
|
|
9199
9211
|
});
|
|
9200
9212
|
var VerifyWebhookResponse = WebhookVerifyResponse;
|
|
9201
9213
|
|
|
9202
9214
|
// ../sdk/src/generated/zod/workspace/workspace.ts
|
|
9203
|
-
import * as
|
|
9215
|
+
import * as zod236 from "zod";
|
|
9204
9216
|
var createWorkspaceBodyVideoUrlMax2 = 2048;
|
|
9205
|
-
var CreateWorkspaceBody2 =
|
|
9206
|
-
"videoUrl":
|
|
9217
|
+
var CreateWorkspaceBody2 = zod236.strictObject({
|
|
9218
|
+
"videoUrl": zod236.url().max(createWorkspaceBodyVideoUrlMax2),
|
|
9207
9219
|
"format": FormatSpec.optional()
|
|
9208
9220
|
});
|
|
9209
|
-
var CreateWorkspaceResponse =
|
|
9210
|
-
"projectId":
|
|
9211
|
-
"mediaId":
|
|
9221
|
+
var CreateWorkspaceResponse = zod236.object({
|
|
9222
|
+
"projectId": zod236.string(),
|
|
9223
|
+
"mediaId": zod236.string()
|
|
9212
9224
|
});
|
|
9213
9225
|
|
|
9214
9226
|
// ../mcp/src/generated/operations.ts
|
|
@@ -9263,7 +9275,7 @@ var GENERATED_OPERATIONS = [
|
|
|
9263
9275
|
{ operationId: "getComponentSource", toolName: "cueframe_api_getComponentSource", title: "Get Component Source", method: "GET", pathTemplate: "/v1/components/{id}/source", pathParams: ["id"], queryParams: [], bodyKey: null, description: "Get a component's source \u2014 Required permission: projects:read \u2014 Advanced (expert layer) \u2014 prefer the curated high-level tools (compose, apply_composition, create_render, wait_job, get_media_context) when they fit your task.", annotations: { "readOnlyHint": true, "openWorldHint": false }, outputSchema: { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "description": { "type": "string" }, "source": { "type": "string", "enum": ["default", "installed"] }, "tsxSource": { "type": "string" }, "propSchema": { "type": "object" }, "origin": { "type": "string", "enum": ["customer-owned", "server-native"] }, "ejectedFrom": { "type": "string" }, "tokens": { "type": "object" }, "examples": { "type": "array" }, "durationInFrames": { "type": "number" }, "manifest": { "type": "object" } }, "additionalProperties": true } },
|
|
9264
9276
|
{ operationId: "getComposeJob", toolName: "cueframe_api_getComposeJob", title: "Get Compose Job", method: "GET", pathTemplate: "/v1/projects/{id}/compose/jobs/{composeJobId}", pathParams: ["id", "composeJobId"], queryParams: [], bodyKey: null, description: "Fetch a compose job's full ensemble state \u2014 Required permission: projects:read \u2014 Advanced (expert layer) \u2014 prefer the curated high-level tools (compose, apply_composition, create_render, wait_job, get_media_context) when they fit your task.", annotations: { "readOnlyHint": true, "openWorldHint": false }, outputSchema: { "type": "object", "properties": { "composeJobId": { "type": "string" }, "projectId": { "type": "string" }, "status": { "type": "string", "enum": ["queued", "running", "awaiting_input", "complete", "failed", "cancelled"] }, "error": { "type": ["string", "null"] }, "request": { "type": "object" }, "candidates": { "type": "array" }, "winner": {}, "listUsd": { "type": "number" }, "startedAt": { "type": "number" }, "completedAt": { "type": ["number", "null"] }, "advisoryResult": { "type": "object", "description": "The advisory envelope returned by a completed consult job (on ComposeJobDetailResponse.advisoryResult)." }, "checkpoint": { "type": "object" } }, "additionalProperties": true } },
|
|
9265
9277
|
{ operationId: "getComposeSessionComposition", toolName: "cueframe_api_getComposeSessionComposition", title: "Get Compose Session Composition", method: "GET", pathTemplate: "/v1/projects/{id}/compose-session/{sessionId}/composition", pathParams: ["id", "sessionId"], queryParams: [], bodyKey: null, description: "Read the session's scratch composition \u2014 Pure read: returns the composition currently held in the session's SCRATCH (what the author LLM has been editing over this session), NOT the project's active composition. The Director ensemble reads this back per candidate and returns it as the authored composition \u2014 the winner is saved downstream, so a candidate never commits its scratch to active. 404 when the session is unknown/foreign or has never written a scratch. \u2014 Advanced (expert layer) \u2014 prefer the curated high-level tools (compose, apply_composition, create_render, wait_job, get_media_context) when they fit your task.", annotations: { "readOnlyHint": true, "openWorldHint": false }, outputSchema: { "type": "object", "properties": { "composition": {} }, "additionalProperties": true } },
|
|
9266
|
-
{ operationId: "getComposition", toolName: "cueframe_api_getComposition", title: "Get Composition", method: "GET", pathTemplate: "/v1/projects/{id}/composition", pathParams: ["id"], queryParams: [], bodyKey: null, description: "Get a project's composition \u2014 Required permission: projects:read \u2014 Advanced (expert layer) \u2014 prefer the curated high-level tools (compose, apply_composition, create_render, wait_job, get_media_context) when they fit your task.", annotations: { "readOnlyHint": true, "openWorldHint": false }, outputSchema: { "type": "object", "properties": { "v": { "type": "number" }, "format": { "type": "object" }, "tracks": { "type": "array" }, "markers": { "type": "array" }, "captions": { "type": "object" }, "license": { "type": "object" }, "accessibility": { "type": "object" } }, "additionalProperties": true } },
|
|
9278
|
+
{ operationId: "getComposition", toolName: "cueframe_api_getComposition", title: "Get Composition", method: "GET", pathTemplate: "/v1/projects/{id}/composition", pathParams: ["id"], queryParams: [{ "name": "compositionId", "required": false, "description": "Read a SPECIFIC composition instead of the project's active one. Omit it and the active composition is returned. Pairs with `composition_id` on the apply op: an edit you can make to a second composition is one you can read back.", "style": "form", "explode": true, "allowReserved": false, "schema": { "type": "string" } }], bodyKey: null, description: "Get a project's composition \u2014 Required permission: projects:read \u2014 Advanced (expert layer) \u2014 prefer the curated high-level tools (compose, apply_composition, create_render, wait_job, get_media_context) when they fit your task.", annotations: { "readOnlyHint": true, "openWorldHint": false }, outputSchema: { "type": "object", "properties": { "v": { "type": "number" }, "format": { "type": "object" }, "tracks": { "type": "array" }, "markers": { "type": "array" }, "captions": { "type": "object" }, "license": { "type": "object" }, "accessibility": { "type": "object" } }, "additionalProperties": true } },
|
|
9267
9279
|
{ operationId: "getExport", toolName: "cueframe_api_getExport", title: "Get Export", method: "GET", pathTemplate: "/v1/projects/{id}/exports/{exportId}", pathParams: ["id", "exportId"], queryParams: [], bodyKey: null, description: "Get an export job \u2014 Required permission: renders:read \u2014 Advanced (expert layer) \u2014 prefer the curated high-level tools (compose, apply_composition, create_render, wait_job, get_media_context) when they fit your task.", annotations: { "readOnlyHint": true, "openWorldHint": false }, outputSchema: { "type": "object", "properties": { "id": { "type": "string" }, "format": { "type": "string", "enum": ["fcpxml", "premiere"] }, "status": { "type": "string", "enum": ["queued", "trimming", "building", "uploading", "complete", "error", "cancelled"] }, "progress": { "type": "number", "description": "Fractional progress 0..1 across the trim/build/upload pipeline. Reaches 1 only on `complete`." }, "outputUrl": { "type": ["string", "null"] }, "outputExpiresAt": { "type": ["string", "null"] }, "outputSizeBytes": { "type": ["number", "null"] }, "outputDurationSec": { "type": ["number", "null"] }, "error": { "description": "Set when status is `error`; null otherwise. The phase field localizes the failure to trim / build / upload / trigger." }, "trimCacheHit": { "type": ["boolean", "null"] }, "clipSuggestionId": { "type": ["string", "null"] }, "createdAt": { "type": "string" }, "updatedAt": { "type": "string" } }, "additionalProperties": true } },
|
|
9268
9280
|
{ operationId: "getJob", toolName: "cueframe_api_getJob", title: "Get Job", method: "GET", pathTemplate: "/v1/jobs/{jobId}", pathParams: ["jobId"], queryParams: [], bodyKey: null, description: "Get an async job's status and result \u2014 Read one async job \u2014 the uniform status/result resource behind every long-running operation. Poll until `status` is terminal (`succeeded` | `failed` | `cancelled`), then read `result` (kind-specific payload) or `error` (stable code + message). `job_timeout` means the executor died mid-run and the stall sweep reaped the job \u2014 re-enqueue the operation to retry. \u2014 Advanced (expert layer) \u2014 prefer the curated high-level tools (compose, apply_composition, create_render, wait_job, get_media_context) when they fit your task.", annotations: { "readOnlyHint": true, "openWorldHint": false }, outputSchema: { "type": "object", "properties": { "id": { "type": "string", "description": "Job id \u2014 pass to GET /v1/jobs/{id} / wait_job." }, "jobKey": { "type": "string", "description": "Deterministic identity of the work (idempotency key, e.g. `verify-<sessionId>-<contentHash>` \u2014 the hash covers the composition AND grading inputs). Re-enqueueing the same key returns the same job while it runs." }, "kind": { "type": "string", "description": "Job family, e.g. `verify`." }, "status": { "type": "string", "description": "Poll until terminal (`succeeded` | `failed` | `cancelled`).", "enum": ["running", "succeeded", "failed", "cancelled"] }, "progress": { "description": "Executor heartbeat while running; null when none reported." }, "result": { "description": "Kind-specific payload when status is `succeeded`; null otherwise." }, "error": { "description": "Stable failure code + human message when status is `failed`; null otherwise. `job_timeout` = the executor died mid-run and the stall sweep reaped the job \u2014 re-enqueue to retry." }, "createdAt": { "type": "string" }, "updatedAt": { "type": "string" }, "completedAt": { "type": ["string", "null"] } }, "additionalProperties": true } },
|
|
9269
9281
|
{ operationId: "getMedia", toolName: "cueframe_api_getMedia", title: "Get Media", method: "GET", pathTemplate: "/v1/media/{id}", pathParams: ["id"], queryParams: [], bodyKey: null, description: "Get a media item by id \u2014 Required permission: media:read \u2014 Advanced (expert layer) \u2014 prefer the curated high-level tools (compose, apply_composition, create_render, wait_job, get_media_context) when they fit your task.", annotations: { "readOnlyHint": true, "openWorldHint": false }, outputSchema: { "type": "object", "properties": { "id": { "type": "string" }, "status": { "type": "string" }, "source": { "type": "string", "enum": ["upload", "generated", "stock"] }, "name": { "type": "string" }, "mimeType": { "type": "string" }, "fileSize": { "type": "number" }, "duration": { "type": ["number", "null"] }, "width": { "type": ["number", "null"] }, "height": { "type": ["number", "null"] }, "frameRate": { "type": ["number", "null"] }, "progress": {}, "analysis": {}, "listUsd": { "type": "number", "description": "A2 money stamp \u2014 GENERATED media only: the generate meter's LIST price (USD) at the success terminal. A plan allowance may zero the invoice line. Absent for uploads/imports, failures, x402 (on-chain receipts)." }, "thumbnailUrl": { "type": ["string", "null"], "description": "Presigned GET URL for the item's thumbnail (an uploaded image is its own thumbnail), valid ~7 days \u2014 fetch it directly, no auth header. null when no thumbnail exists yet (still processing, stock imports, audio)." }, "kind": { "type": ["string", "null"] }, "tags": {}, "attribution": {}, "processingStatus": {}, "createdAt": { "type": "string" }, "updatedAt": { "type": "string" } }, "additionalProperties": true } },
|