@cueframe/kernel 0.2.33 → 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.
@@ -160,7 +160,8 @@ __export(zod_exports, {
160
160
  GetComposeJobResponse: () => GetComposeJobResponse,
161
161
  GetComposeSessionCompositionParams: () => GetComposeSessionCompositionParams,
162
162
  GetComposeSessionCompositionResponse: () => GetComposeSessionCompositionResponse,
163
- GetCompositionParams: () => 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: () => 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. Web fonts: @import inside the HTML works (the render box has network); bare font-family names fall back silently."),
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. Web fonts: @import inside the HTML works (the render box has network); bare font-family names fall back silently."),
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. Web fonts: @import inside the HTML works (the render box has network); bare font-family names fall back silently."),
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. Web fonts: @import inside the HTML works (the render box has network); bare font-family names fall back silently."),
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. Web fonts: @import inside the HTML works (the render box has network); bare font-family names fall back silently."),
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. Web fonts: @import inside the HTML works (the render box has network); bare font-family names fall back silently."),
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. Web fonts: @import inside the HTML works (the render box has network); bare font-family names fall back silently."),
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("Move a track from one index to another (changes layer/compositing order)."), zod66.strictObject({
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/getMediaTranscriptParams.zod.ts
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 = zod100.strictObject({
7058
- "after": zod100.int().min(getMediaTranscriptParamsAfterMin).optional(),
7059
- "before": zod100.int().min(getMediaTranscriptParamsBeforeMin).optional(),
7060
- "limit": zod100.int().min(1).max(getMediaTranscriptParamsLimitMax).default(getMediaTranscriptParamsLimitDefault)
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 zod101 from "zod";
7065
- var GetOpenAPISpec200 = zod101.looseObject({});
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 zod102 from "zod";
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 = zod102.strictObject({
7075
- "limit": zod102.int().min(1).max(getUsageParamsLimitMax).optional(),
7076
- "after": zod102.string().optional(),
7077
- "projectId": zod102.string().optional(),
7078
- "jobId": zod102.string().optional(),
7079
- "from": zod102.int().min(getUsageParamsFromMin).max(getUsageParamsFromMax).optional(),
7080
- "to": zod102.int().min(getUsageParamsToMin).max(getUsageParamsToMax).optional()
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 zod103 from "zod";
7085
- var HealthParams = zod103.strictObject({
7086
- "deep": zod103.literal("1").optional()
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 zod104 from "zod";
7091
- var HealthResponse = zod104.strictObject({
7092
- "status": zod104.enum(["ok", "degraded"]),
7093
- "version": zod104.string(),
7094
- "checks": zod104.record(zod104.string(), zod104.strictObject({
7095
- "ok": zod104.boolean(),
7096
- "detail": zod104.string().optional()
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 zod105 from "zod";
7102
- var JobEnqueueResponse = zod105.strictObject({
7103
- "jobId": zod105.string().describe("Poll GET /v1/jobs/{jobId} / wait_job until terminal."),
7104
- "jobKey": zod105.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."),
7105
- "kind": zod105.string().describe("Job family, e.g. `verify` | `preview` | `brand_kit_extract`."),
7106
- "status": zod105.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.")
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 zod108 from "zod";
7119
+ import * as zod109 from "zod";
7111
7120
 
7112
7121
  // ../sdk/src/generated/zod/models/previewFrameJobResult.zod.ts
7113
- import * as zod106 from "zod";
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 = zod106.strictObject({
7119
- "geometry": zod106.strictObject({
7120
- "scale": zod106.number(),
7121
- "compositionWidth": zod106.number().optional(),
7122
- "compositionHeight": zod106.number().optional(),
7123
- "width": zod106.number().optional(),
7124
- "height": zod106.number().optional()
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": zod106.array(zod106.record(zod106.string(), zod106.unknown())).optional(),
7127
- "previewed": zod106.strictObject({
7128
- "source": zod106.enum(["inline", "scratch", "persisted"]),
7129
- "compositionId": zod106.string().optional(),
7130
- "etag": zod106.string().optional()
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": zod106.number().optional().describe("List price charged for this delivered capture."),
7133
- "artifacts": zod106.array(zod106.strictObject({
7134
- "id": zod106.string(),
7135
- "beatSec": zod106.number(),
7136
- "bytes": zod106.int().gt(previewFrameJobResultArtifactsItemBytesExclusiveMin).max(previewFrameJobResultArtifactsItemBytesMax),
7137
- "contentType": zod106.enum(["image/png", "image/jpeg"]),
7138
- "layers": zod106.strictObject({
7139
- "video": zod106.string().nullable(),
7140
- "overlays": zod106.int().min(previewFrameJobResultArtifactsItemLayersOverlaysMin).max(previewFrameJobResultArtifactsItemLayersOverlaysMax)
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": zod106.url(),
7143
- "urlExpiresAt": zod106.string()
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 zod107 from "zod";
7149
- var VerifyJobResult = zod107.strictObject({
7150
- "perCriterion": zod107.unknown(),
7151
- "composite": zod107.number(),
7152
- "critique": zod107.string(),
7153
- "checkpointId": zod107.string(),
7154
- "beats": zod107.unknown().optional(),
7155
- "clientScores": zod107.array(zod107.unknown()).optional(),
7156
- "listUsd": zod107.number().optional().describe("List price charged for this delivered evaluation.")
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 = zod108.strictObject({
7161
- "id": zod108.string().describe("Job id \u2014 pass to GET /v1/jobs/{id} / wait_job."),
7162
- "jobKey": zod108.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."),
7163
- "kind": zod108.string().describe("Job family, e.g. `verify`."),
7164
- "status": zod108.enum(["running", "succeeded", "failed", "cancelled"]).describe("Poll until terminal (`succeeded` | `failed` | `cancelled`)."),
7165
- "progress": zod108.union([zod108.strictObject({
7166
- "phase": zod108.string(),
7167
- "percent": zod108.number().optional(),
7168
- "message": zod108.string().optional()
7169
- }), zod108.null()]).describe("Executor heartbeat while running; null when none reported."),
7170
- "result": zod108.union([zod108.union([PreviewFrameJobResult, ComponentPreviewJobResult, VerifyJobResult, ExtractBrandKitResponse]), zod108.null()]).describe("Kind-specific payload when status is `succeeded`; null otherwise."),
7171
- "error": zod108.union([zod108.strictObject({
7172
- "code": zod108.string(),
7173
- "message": zod108.string()
7174
- }), zod108.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."),
7175
- "createdAt": zod108.string(),
7176
- "updatedAt": zod108.string(),
7177
- "completedAt": zod108.string().nullable()
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 zod110 from "zod";
7190
+ import * as zod111 from "zod";
7182
7191
 
7183
7192
  // ../sdk/src/generated/zod/models/librarySearchResult.zod.ts
7184
- import * as zod109 from "zod";
7185
- var LibrarySearchResult = zod109.strictObject({
7186
- "mediaId": zod109.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."),
7187
- "name": zod109.string().describe("The media item's name, so a result is readable without a second call."),
7188
- "score": zod109.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."),
7189
- "startSec": zod109.number().describe("Moment start, SECONDS from the media item's start."),
7190
- "endSec": zod109.number().describe("Moment end, SECONDS from the media item's start."),
7191
- "thumbUrl": zod109.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.")
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 = zod110.strictObject({
7196
- "results": zod110.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."),
7197
- "indexing": zod110.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.')
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 zod111 from "zod";
7210
+ import * as zod112 from "zod";
7202
7211
  var listBrandKitsParamsLimitMax = 100;
7203
- var ListBrandKitsParams = zod111.strictObject({
7204
- "limit": zod111.int().min(1).max(listBrandKitsParamsLimitMax).optional(),
7205
- "after": zod111.string().optional()
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 zod112 from "zod";
7218
+ import * as zod113 from "zod";
7210
7219
  var listBriefsParamsLimitMax = 100;
7211
- var ListBriefsParams = zod112.strictObject({
7212
- "limit": zod112.int().min(1).max(listBriefsParamsLimitMax).optional(),
7213
- "after": zod112.string().optional(),
7214
- "projectId": zod112.string().optional(),
7215
- "kind": zod112.enum(["authored", "clip", "all"]).optional()
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 zod113 from "zod";
7228
+ import * as zod114 from "zod";
7220
7229
  var listCatalogParamsLimitMax = 100;
7221
- var ListCatalogParams = zod113.strictObject({
7222
- "category": zod113.enum(["text", "effects", "transitions", "layouts", "backgrounds", "ui-blocks", "scenes"]).optional(),
7223
- "kind": zod113.enum(["component", "transition", "scene"]).optional(),
7224
- "tier": zod113.enum(["recommended", "standard", "niche"]).optional(),
7225
- "useCase": zod113.enum(["intro", "outro", "full-scene", "title-over-footage", "transition", "background", "grade", "emphasis", "explainer", "social-cut"]).optional(),
7226
- "mood": zod113.string().optional(),
7227
- "q": zod113.string().optional(),
7228
- "intent": zod113.string().optional(),
7229
- "limit": zod113.int().min(1).max(listCatalogParamsLimitMax).optional(),
7230
- "after": zod113.string().optional()
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 zod114 from "zod";
7243
+ import * as zod115 from "zod";
7235
7244
  var listCheckpointsParamsLimitMax = 100;
7236
- var ListCheckpointsParams = zod114.strictObject({
7237
- "limit": zod114.int().min(1).max(listCheckpointsParamsLimitMax).optional(),
7238
- "after": zod114.string().optional(),
7239
- "composeJobId": zod114.string().optional(),
7240
- "projectId": zod114.string().optional()
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 zod115 from "zod";
7245
- var ListMediaFactsParams = zod115.strictObject({
7246
- "kind": zod115.enum(["subjectTrack", "matte"]).optional(),
7247
- "startSec": zod115.number().optional(),
7248
- "endSec": zod115.number().optional()
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 zod116 from "zod";
7261
+ import * as zod117 from "zod";
7253
7262
  var listMediaParamsLimitMax = 100;
7254
- var ListMediaParams = zod116.strictObject({
7255
- "limit": zod116.int().min(1).max(listMediaParamsLimitMax).optional(),
7256
- "after": zod116.string().optional(),
7257
- "kind": zod116.enum(["video", "audio", "image", "gif", "asset", "source", "stock"]).optional(),
7258
- "source": zod116.enum(["upload", "generated", "import-url", "stock"]).optional(),
7259
- "tag": zod116.string().optional()
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 zod117 from "zod";
7272
+ import * as zod118 from "zod";
7264
7273
  var listMediaSuggestionsParamsLimitMax = 100;
7265
- var ListMediaSuggestionsParams = zod117.strictObject({
7266
- "limit": zod117.int().min(1).max(listMediaSuggestionsParamsLimitMax).optional(),
7267
- "after": zod117.string().optional(),
7268
- "platform": zod117.string().optional(),
7269
- "format": zod117.string().optional(),
7270
- "topic": zod117.string().optional()
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 zod118 from "zod";
7283
+ import * as zod119 from "zod";
7275
7284
  var listProjectRendersParamsLimitMax = 100;
7276
- var ListProjectRendersParams = zod118.strictObject({
7277
- "limit": zod118.int().min(1).max(listProjectRendersParamsLimitMax).optional(),
7278
- "after": zod118.string().optional(),
7279
- "status": zod118.string().optional()
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 zod119 from "zod";
7292
+ import * as zod120 from "zod";
7284
7293
  var listProjectsParamsLimitMax = 100;
7285
- var ListProjectsParams = zod119.strictObject({
7286
- "limit": zod119.int().min(1).max(listProjectsParamsLimitMax).optional(),
7287
- "after": zod119.string().optional()
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 zod120 from "zod";
7292
- var ListSelectorCandidatesParams = zod120.strictObject({
7293
- "groupId": zod120.string().min(1)
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 zod121 from "zod";
7306
+ import * as zod122 from "zod";
7298
7307
  var listSessionsParamsLimitMax = 100;
7299
- var ListSessionsParams = zod121.strictObject({
7300
- "limit": zod121.int().min(1).max(listSessionsParamsLimitMax).optional(),
7301
- "after": zod121.string().optional()
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 zod122 from "zod";
7314
+ import * as zod123 from "zod";
7306
7315
  var listWebhooksParamsLimitMax = 100;
7307
- var ListWebhooksParams = zod122.strictObject({
7308
- "limit": zod122.int().min(1).max(listWebhooksParamsLimitMax).optional(),
7309
- "after": zod122.string().optional()
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 zod123 from "zod";
7322
+ import * as zod124 from "zod";
7314
7323
  var matteBakeRequestStartSecMin = 0;
7315
7324
  var matteBakeRequestEndSecExclusiveMin = 0;
7316
- var MatteBakeRequest = zod123.strictObject({
7317
- "startSec": zod123.number().min(matteBakeRequestStartSecMin).describe("Source-in of the window to matte, in seconds into the underlying source."),
7318
- "endSec": zod123.number().gt(matteBakeRequestEndSecExclusiveMin).describe("Source-out of the window to matte, in seconds into the underlying source.")
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 zod124 from "zod";
7323
- var MatteBakeTriggerResponse = zod124.strictObject({
7324
- "factId": zod124.string(),
7325
- "status": zod124.enum(["pending", "ready", "failed"]),
7326
- "quotedUsd": zod124.number().describe("The server's price for this matte, in USD, quoted from the window duration."),
7327
- "alreadyExisted": zod124.boolean().describe("True when a matte for this exact window was already pending or ready. Nothing was dispatched and nothing will be charged.")
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 zod126 from "zod";
7340
+ import * as zod127 from "zod";
7332
7341
 
7333
7342
  // ../sdk/src/generated/zod/models/transcriptResponse.zod.ts
7334
- import * as zod125 from "zod";
7335
- var TranscriptResponse = zod125.strictObject({
7336
- "mediaItemId": zod125.string(),
7337
- "language": zod125.string().nullable(),
7338
- "fullText": zod125.string(),
7339
- "utterances": zod125.array(zod125.record(zod125.string(), zod125.unknown())),
7340
- "data": zod125.array(zod125.record(zod125.string(), zod125.unknown())).optional(),
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 = zod126.strictObject({
7346
- "mediaId": zod126.string(),
7347
- "durationSec": zod126.number().nullable(),
7348
- "width": zod126.number().nullable(),
7349
- "height": zod126.number().nullable(),
7350
- "thumbnail": zod126.union([zod126.strictObject({
7351
- "url": zod126.string()
7352
- }), zod126.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."),
7353
- "faces": zod126.strictObject({
7354
- "status": zod126.enum(["ready", "not_detected"]),
7355
- "windows": zod126.array(ContextSubjectWindow)
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": zod126.strictObject({
7358
- "status": zod126.enum(["ready", "not_transcribed", "unavailable"]),
7359
- "data": zod126.union([TranscriptResponse, zod126.null()])
7366
+ "transcript": zod127.strictObject({
7367
+ "status": zod127.enum(["ready", "not_transcribed", "unavailable"]),
7368
+ "data": zod127.union([TranscriptResponse, zod127.null()])
7360
7369
  }),
7361
- "beatGrid": zod126.union([zod126.strictObject({
7362
- "bpm": zod126.number(),
7363
- "beatTimesMs": zod126.array(zod126.number()).describe("Beat onset times in MILLISECONDS \u2014 divide by 1000 for timeline startTime (composition timeline fields are seconds)."),
7364
- "confidence": zod126.number().describe("Rhythmic-periodicity strength (0\u20131). Trust the grid for cutting when high; a beatless bed reports low."),
7365
- "method": zod126.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).")
7366
- }), zod126.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)."),
7367
- "wordGrid": zod126.union([zod126.strictObject({
7368
- "wordTimesMs": zod126.array(zod126.number()).describe("Word onset times in MILLISECONDS, in order \u2014 divide by 1000 for timeline startTime (composition timeline fields are seconds).")
7369
- }), zod126.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."),
7370
- "audioRole": zod126.union([zod126.enum(["vo", "music", "sfx", "ambience"]), zod126.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."),
7371
- "envelope": zod126.union([zod126.strictObject({
7372
- "envelopeClass": zod126.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)."),
7373
- "attackMs": zod126.number().optional(),
7374
- "spectralCentroidHz": zod126.number().optional(),
7375
- "meanVolumeDb": zod126.number().optional(),
7376
- "maxVolumeDb": zod126.number().optional()
7377
- }), zod126.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."),
7378
- "facts": zod126.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."),
7379
- "offers": zod126.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.")
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 zod127 from "zod";
7384
- var MediaDirectUploadResponse = zod127.strictObject({
7385
- "id": zod127.string(),
7386
- "uploadUrl": zod127.url(),
7387
- "expiresAt": zod127.string()
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 zod128 from "zod";
7400
+ import * as zod129 from "zod";
7392
7401
  var mediaFactPurchaseRequestIntentStartSecMin = 0;
7393
7402
  var mediaFactPurchaseRequestIntentEndSecExclusiveMin = 0;
7394
- var MediaFactPurchaseRequest = zod128.strictObject({
7395
- "kind": zod128.enum(["subjectTrack", "matte"]).describe("Which enhancement to buy. `transcript` is NOT purchasable here \u2014 it is delivered by the transcription pipeline."),
7396
- "intent": zod128.strictObject({
7397
- "startSec": zod128.number().min(mediaFactPurchaseRequestIntentStartSecMin),
7398
- "endSec": zod128.number().gt(mediaFactPurchaseRequestIntentEndSecExclusiveMin)
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 zod129 from "zod";
7404
- var MediaFactPurchaseResponse = zod129.strictObject({
7405
- "factId": zod129.string(),
7406
- "status": zod129.enum(["pending", "ready", "failed"]),
7407
- "quotedUsd": zod129.number(),
7408
- "alreadyExisted": zod129.boolean().describe("True when this exact fact was already pending or ready. Nothing was dispatched and nothing will be charged.")
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 zod130 from "zod";
7413
- var MediaFactsResponse = zod130.strictObject({
7414
- "facts": zod130.array(MediaFact),
7415
- "offers": zod130.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."),
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 zod131 from "zod";
7421
- var MediaFinalizeRequest = zod131.strictObject({
7422
- "audioRole": zod131.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).")
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 zod132 from "zod";
7427
- var MediaFinalizeResponse = zod132.strictObject({
7428
- "id": zod132.string(),
7429
- "status": zod132.enum(["processing", "complete"]),
7430
- "processingPhase": zod132.string()
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 zod133 from "zod";
7443
+ import * as zod134 from "zod";
7435
7444
  var mediaGenerateRequestPromptMax = 1e4;
7436
- var MediaGenerateRequest = zod133.strictObject({
7437
- "generator": zod133.enum(["text-to-video", "text-to-image", "image-to-video", "text-to-music", "text-to-speech", "text-to-sfx", "auto"]),
7438
- "prompt": zod133.string().min(1).max(mediaGenerateRequestPromptMax),
7439
- "style": zod133.record(zod133.string(), zod133.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."),
7440
- "refs": zod133.strictObject({
7441
- "firstFrameMediaId": zod133.string().optional(),
7442
- "lastFrameMediaId": zod133.string().optional(),
7443
- "imageMediaIds": zod133.array(zod133.string()).optional()
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 zod134 from "zod";
7449
- var MediaGenerateResponse = zod134.strictObject({
7450
- "id": zod134.string(),
7451
- "status": zod134.literal("generating"),
7452
- "estimateUsd": zod134.number().optional()
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 zod135 from "zod";
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 = zod135.strictObject({
7462
- "url": zod135.url().max(mediaImportRequestUrlMax),
7463
- "filename": zod135.string().min(1).max(mediaImportRequestFilenameMax),
7464
- "contentType": zod135.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"]),
7465
- "size": zod135.int().gt(mediaImportRequestSizeExclusiveMin).max(mediaImportRequestSizeMax).optional(),
7466
- "audioRole": zod135.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).")
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 zod136 from "zod";
7471
- var MediaImportResponse = zod136.strictObject({
7472
- "id": zod136.string(),
7473
- "status": zod136.literal("importing")
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 zod139 from "zod";
7486
+ import * as zod140 from "zod";
7478
7487
 
7479
7488
  // ../sdk/src/generated/zod/models/mediaResponse.zod.ts
7480
- import * as zod138 from "zod";
7489
+ import * as zod139 from "zod";
7481
7490
 
7482
7491
  // ../sdk/src/generated/zod/models/mediaProcessingStatus.zod.ts
7483
- import * as zod137 from "zod";
7484
- var MediaProcessingStatus = zod137.strictObject({
7485
- "phase": zod137.enum(["idle", "pending_import", "pending_upload", "uploading", "extracting", "loading_model", "transcribing", "proxy", "embedding", "analyzing", "indexing", "generating", "rendering", "processing", "complete", "error", "cancelled"]),
7486
- "percent": zod137.number().nullish(),
7487
- "message": zod137.string().nullish(),
7488
- "error": zod137.string().nullish()
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 = zod138.strictObject({
7493
- "id": zod138.string(),
7494
- "status": zod138.string(),
7495
- "source": zod138.enum(["upload", "generated", "stock"]),
7496
- "name": zod138.string(),
7497
- "mimeType": zod138.string(),
7498
- "fileSize": zod138.number(),
7499
- "duration": zod138.number().nullable(),
7500
- "width": zod138.number().nullable(),
7501
- "height": zod138.number().nullable(),
7502
- "frameRate": zod138.number().nullable(),
7503
- "progress": zod138.union([zod138.strictObject({
7504
- "phase": zod138.string(),
7505
- "percent": zod138.number().nullable()
7506
- }), zod138.null()]),
7507
- "analysis": zod138.union([zod138.record(zod138.string(), zod138.unknown()), zod138.null()]),
7508
- "listUsd": zod138.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)."),
7509
- "thumbnailUrl": zod138.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)."),
7510
- "kind": zod138.string().nullable(),
7511
- "tags": zod138.union([zod138.array(zod138.string()), zod138.null()]),
7512
- "attribution": zod138.union([zod138.strictObject({
7513
- "provider": zod138.enum(["pexels", "pixabay", "freesound", "klipy"]),
7514
- "externalId": zod138.string().nullable(),
7515
- "assetUrl": zod138.string().nullable(),
7516
- "license": zod138.string().nullable()
7517
- }), zod138.null()]),
7518
- "processingStatus": zod138.union([MediaProcessingStatus, zod138.null()]),
7519
- "createdAt": zod138.string(),
7520
- "updatedAt": zod138.string()
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 = zod139.strictObject({
7525
- "data": zod139.array(MediaResponse),
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 zod140 from "zod";
7539
+ import * as zod141 from "zod";
7531
7540
  var mediaUploadRequestFilenameMax = 500;
7532
7541
  var mediaUploadRequestSizeExclusiveMin = 0;
7533
7542
  var mediaUploadRequestSizeMax = 10737418240;
7534
- var MediaUploadRequest = zod140.strictObject({
7535
- "filename": zod140.string().min(1).max(mediaUploadRequestFilenameMax),
7536
- "contentType": zod140.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"]),
7537
- "size": zod140.int().gt(mediaUploadRequestSizeExclusiveMin).max(mediaUploadRequestSizeMax),
7538
- "projectId": zod140.string().min(1).optional()
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 zod141 from "zod";
7543
- var MuxJobResponse = zod141.strictObject({
7544
- "jobId": zod141.string(),
7545
- "status": zod141.string(),
7546
- "muxedItems": zod141.union([zod141.record(zod141.string(), zod141.string()), zod141.null()]).optional(),
7547
- "error": zod141.string().nullish(),
7548
- "startedAt": zod141.string().nullish(),
7549
- "completedAt": zod141.string().nullish()
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 zod142 from "zod";
7554
- var OpenComposeSession200 = zod142.strictObject({
7555
- "sessionId": zod142.string()
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 zod143 from "zod";
7568
+ import * as zod144 from "zod";
7560
7569
  var openComposeSessionBodyLeaseJobIdMax = 64;
7561
- var OpenComposeSessionBody = zod143.strictObject({
7562
- "seedComposition": zod143.unknown().optional(),
7563
- "leaseJobId": zod143.string().min(1).max(openComposeSessionBodyLeaseJobIdMax).optional()
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 zod144 from "zod";
7576
+ import * as zod145 from "zod";
7568
7577
  var previewClipRequestFromSecMin = 0;
7569
7578
  var previewClipRequestToSecExclusiveMin = 0;
7570
- var PreviewClipRequest = zod144.strictObject({
7571
- "fromSec": zod144.number().min(previewClipRequestFromSecMin).describe("Window start, seconds into the composition."),
7572
- "toSec": zod144.number().gt(previewClipRequestToSecExclusiveMin).describe("Window end (exclusive), seconds."),
7573
- "compositionId": zod144.string().min(1).optional().describe("Target a specific composition; defaults to the project's active composition.")
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 zod145 from "zod";
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 = zod145.strictObject({
7586
- "componentId": zod145.string().min(1),
7587
- "params": zod145.record(zod145.string(), zod145.unknown()).optional(),
7588
- "assets": zod145.record(zod145.string(), zod145.string().min(1)).optional().describe("Component asset-slot name to org mediaId. Every required manifest slot must be bound."),
7589
- "width": zod145.int().gt(previewComponentBodyWidthExclusiveMin).max(previewComponentBodyWidthMax).optional(),
7590
- "height": zod145.int().gt(previewComponentBodyHeightExclusiveMin).max(previewComponentBodyHeightMax).optional(),
7591
- "fps": zod145.number().gt(previewComponentBodyFpsExclusiveMin).max(previewComponentBodyFpsMax).optional().describe("Preview frame rate. When omitted, uses the project's format."),
7592
- "durationInFrames": zod145.int().min(1).max(previewComponentBodyDurationInFramesMax).optional().describe("Preview frame count. When omitted, uses the component's declared duration; required if the component has none.")
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 zod146 from "zod";
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 = zod146.strictObject({
7601
- "composition": zod146.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."),
7602
- "compositionId": zod146.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."),
7603
- "session_id": zod146.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."),
7604
- "timestamps": zod146.array(zod146.number()).min(1),
7605
- "imageFormat": zod146.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."),
7606
- "scale": zod146.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."),
7607
- "jpegQuality": zod146.int().min(1).max(previewFrameJobBodyJpegQualityMax).optional().describe("JPEG quality (jpeg only). Default 70 \u2014 the quality the eval panel grades at.")
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 zod147 from "zod";
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 = zod147.strictObject({
7617
- "brandKits": zod147.array(zod147.strictObject({
7618
- "id": zod147.string(),
7619
- "name": zod147.string(),
7620
- "audio": zod147.strictObject({
7621
- "sfxIntensity": zod147.enum(["off", "light", "standard", "dense"]).optional(),
7622
- "musicEnabled": zod147.boolean().optional(),
7623
- "musicMood": zod147.string().max(profileResponseBrandKitsItemAudioMusicMoodMax).optional(),
7624
- "sonicLogo": zod147.strictObject({
7625
- "ref": zod147.string().min(1),
7626
- "placement": zod147.enum(["intro", "outro", "both"]),
7627
- "offsetMs": zod147.int().min(profileResponseBrandKitsItemAudioSonicLogoOffsetMsMin).max(profileResponseBrandKitsItemAudioSonicLogoOffsetMsMax).optional()
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": zod147.strictObject({
7630
- "tick": zod147.string().min(1).optional(),
7631
- "pop": zod147.string().min(1).optional(),
7632
- "impact": zod147.string().min(1).optional(),
7633
- "confirm": zod147.string().min(1).optional(),
7634
- "error": zod147.string().min(1).optional(),
7635
- "whoosh": zod147.string().min(1).optional(),
7636
- "riser": zod147.string().min(1).optional()
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": zod147.strictObject({
7639
- "bedId": zod147.string().min(1).optional(),
7640
- "genre": zod147.string().max(profileResponseBrandKitsItemAudioBedStyleGenreMax).optional(),
7641
- "bpmRange": zod147.strictObject({
7642
- "min": zod147.number(),
7643
- "max": zod147.number()
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": zod147.union([zod147.strictObject({
7647
- "ref": zod147.string().min(1)
7648
- }), zod147.null()]).optional().describe("Preferred ambience bed (`{ref}`) or explicit null (opt-out). Surfaced for driving agents; compose has no ambience auto-placement.")
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": zod147.array(CriticSummary).describe("Registered critics \u2014 run in the Director's gates AND score_composition."),
7652
- "references": zod147.array(zod147.strictObject({
7653
- "mediaId": zod147.string(),
7654
- "name": zod147.string().optional(),
7655
- "thumbnailUrl": zod147.string().optional().describe("Presigned reference thumbnail (~1 week).")
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": zod147.array(zod147.strictObject({
7658
- "checkpointId": zod147.string(),
7659
- "projectId": zod147.string(),
7660
- "kind": zod147.enum(["gate", "score"]),
7661
- "stage": zod147.enum(["content", "layout", "motion"]).optional(),
7662
- "decision": zod147.string(),
7663
- "decidedAt": zod147.number()
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 zod148 from "zod";
7677
+ import * as zod149 from "zod";
7669
7678
  var projectCompositionSummarySceneCountMin = 0;
7670
7679
  var projectCompositionSummarySceneCountMax = 9007199254740991;
7671
- var ProjectCompositionSummary = zod148.strictObject({
7672
- "hasComposition": zod148.boolean(),
7673
- "sceneCount": zod148.int().min(projectCompositionSummarySceneCountMin).max(projectCompositionSummarySceneCountMax),
7674
- "duration": zod148.number().nullable(),
7675
- "updatedAt": zod148.string().nullable()
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 zod149 from "zod";
7680
- var ProjectContextMedia = zod149.strictObject({
7681
- "id": zod149.string(),
7682
- "name": zod149.string(),
7683
- "kind": zod149.string().nullable(),
7684
- "durationSec": zod149.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)."),
7685
- "hasTranscript": zod149.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).")
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 zod151 from "zod";
7698
+ import * as zod152 from "zod";
7690
7699
 
7691
7700
  // ../sdk/src/generated/zod/models/projectContextTranscript.zod.ts
7692
- import * as zod150 from "zod";
7693
- var ProjectContextTranscript = zod150.union([zod150.strictObject({
7694
- "status": zod150.literal("ready"),
7695
- "mediaId": zod150.string(),
7696
- "words": zod150.array(zod150.strictObject({
7697
- "text": zod150.string(),
7698
- "start": zod150.number().describe("Word onset (SECONDS from source start)."),
7699
- "end": zod150.number().describe("Word end (SECONDS from source start).")
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
- }), zod150.strictObject({
7702
- "status": zod150.literal("unavailable"),
7703
- "mediaId": zod150.string()
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 = zod151.strictObject({
7710
- "composition": zod151.union([Composition, zod151.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."),
7711
- "format": zod151.union([zod151.strictObject({
7712
- "aspectRatio": zod151.enum(["16:9", "9:16", "1:1", "4:5"]),
7713
- "fps": zod151.union([zod151.literal(24), zod151.literal(25), zod151.literal(30), zod151.literal(60)]).optional(),
7714
- "resolution": zod151.enum(["hd", "fhd", "4k"]).optional(),
7715
- "platform": zod151.string().optional()
7716
- }), zod151.null()]).describe("The composition's format, hoisted \u2014 the pixel frame every card/graphic must be authored against. Null whenever `composition` is null."),
7717
- "media": zod151.array(ProjectContextMedia).describe("The org's media library (most recent first, capped) \u2014 the pool this project can draw clips from."),
7718
- "transcript": zod151.union([ProjectContextTranscript, zod151.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.'),
7719
- "brandKit": zod151.union([BrandKitResponse, zod151.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."),
7720
- "markers": zod151.array(zod151.strictObject({
7721
- "id": zod151.string().min(1),
7722
- "startTime": zod151.number().min(projectContextResponseMarkersItemStartTimeMin),
7723
- "endTime": zod151.number().min(projectContextResponseMarkersItemEndTimeMin).optional(),
7724
- "kind": zod151.string().min(1),
7725
- "name": zod151.string().optional(),
7726
- "metadata": zod151.record(zod151.string(), zod151.unknown()).optional()
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 zod152 from "zod";
7740
+ import * as zod153 from "zod";
7732
7741
  var projectCreateRequestNameMax = 200;
7733
7742
  var projectCreateRequestWidthExclusiveMin = 0;
7734
7743
  var projectCreateRequestHeightExclusiveMin = 0;
7735
- var ProjectCreateRequest = zod152.strictObject({
7736
- "name": zod152.string().min(1).max(projectCreateRequestNameMax),
7737
- "description": zod152.string().optional(),
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": zod152.string().min(1).optional(),
7740
- "width": zod152.number().gt(projectCreateRequestWidthExclusiveMin).optional(),
7741
- "height": zod152.number().gt(projectCreateRequestHeightExclusiveMin).optional()
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 zod153 from "zod";
7746
- var ProjectLastRender = zod153.union([zod153.strictObject({
7747
- "id": zod153.string(),
7748
- "status": zod153.string(),
7749
- "createdAt": zod153.string(),
7750
- "outputUrl": zod153.string().nullable(),
7751
- "outputExpiresAt": zod153.string().nullable()
7752
- }), zod153.null()]).describe("Most recent render for a project, if any.");
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 zod155 from "zod";
7764
+ import * as zod156 from "zod";
7756
7765
 
7757
7766
  // ../sdk/src/generated/zod/models/projectResponse.zod.ts
7758
- import * as zod154 from "zod";
7759
- var ProjectResponse = zod154.strictObject({
7760
- "id": zod154.string(),
7761
- "name": zod154.string(),
7762
- "description": zod154.string().nullable(),
7763
- "format": zod154.union([FormatSpec, zod154.null()]),
7764
- "brandKitId": zod154.string().nullable(),
7765
- "activeCompositionId": zod154.string().nullable(),
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": zod154.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."),
7769
- "createdAt": zod154.string()
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 = zod155.strictObject({
7774
- "data": zod155.array(ProjectResponse),
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 zod156 from "zod";
7788
+ import * as zod157 from "zod";
7780
7789
  var projectPatchRequestNameMax = 200;
7781
- var ProjectPatchRequest = zod156.strictObject({
7782
- "name": zod156.string().min(1).max(projectPatchRequestNameMax).optional(),
7783
- "description": zod156.string().optional(),
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": zod156.string().min(1).optional()
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 zod157 from "zod";
7790
- var RenderCreateRequest = zod157.strictObject({
7791
- "clipSuggestionId": zod157.string().min(1).optional(),
7792
- "compositionId": zod157.string().min(1).optional().describe("Target a specific composition in the project; defaults to the project's active composition."),
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": zod157.enum(["interactive", "standard", "background"]).optional(),
7795
- "intent": zod157.enum(["preview", "final"]).optional(),
7796
- "brandKitId": zod157.union([zod157.string().min(1), zod157.null()]).optional()
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 zod158 from "zod";
7801
- var RenderFontsResponse = zod158.strictObject({
7802
- "manifestVersion": zod158.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."),
7803
- "families": zod158.array(zod158.strictObject({
7804
- "family": zod158.string().describe("The family name authoring accepts VERBATIM \u2014 card, caption and scene text alike."),
7805
- "weights": zod158.array(zod158.strictObject({
7806
- "min": zod158.number(),
7807
- "max": zod158.number()
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": zod158.array(zod158.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."),
7810
- "captionDefaults": zod158.strictObject({
7811
- "base": zod158.number(),
7812
- "emphasis": zod158.number()
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": zod158.enum(["bundled", "aliased"]).describe("'bundled' = bytes ship in the render bundle. 'aliased' = a metric-compatible binary stands in for the named family.")
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 zod161 from "zod";
7828
+ import * as zod162 from "zod";
7820
7829
 
7821
7830
  // ../sdk/src/generated/zod/models/renderResponse.zod.ts
7822
- import * as zod160 from "zod";
7831
+ import * as zod161 from "zod";
7823
7832
 
7824
7833
  // ../sdk/src/generated/zod/models/renderProgress.zod.ts
7825
- import * as zod159 from "zod";
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 = zod159.strictObject({
7831
- "phase": zod159.enum(["queued", "validating", "presigning", "collecting-artifacts", "resolving", "detecting", "baking-matte", "translating", "spawning", "encoding", "uploading"]),
7832
- "percent": zod159.number(),
7833
- "scenesCompleted": zod159.int().min(renderProgressScenesCompletedMin).max(renderProgressScenesCompletedMax).optional(),
7834
- "scenesTotal": zod159.int().min(renderProgressScenesTotalMin).max(renderProgressScenesTotalMax).optional()
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 = zod160.strictObject({
7839
- "id": zod160.string(),
7840
- "status": zod160.enum(["queued", "pending", "rendering", "complete", "error", "cancelled"]),
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": zod160.string().nullable(),
7843
- "outputExpiresAt": zod160.string().nullable(),
7844
- "error": zod160.string().nullable().describe("Human-readable failure message. Pair with `errorCode` for a stable, machine-readable code an agent runner can branch on."),
7845
- "errorCode": zod160.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."),
7846
- "errorDetails": zod160.union([zod160.record(zod160.string(), zod160.unknown()), zod160.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`."),
7847
- "category": zod160.union([zod160.enum(["authoring", "transient", "internal"]), zod160.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`."),
7848
- "retryable": zod160.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`."),
7849
- "createdAt": zod160.string(),
7850
- "updatedAt": zod160.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."),
7851
- "listUsd": zod160.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."),
7852
- "warnings": zod160.array(zod160.string()).optional().describe("Non-fatal advisories surfaced at render-CREATE (omitted when none, and on GET \u2014 create-time only).")
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 = zod161.strictObject({
7857
- "data": zod161.array(RenderResponse),
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 zod162 from "zod";
7863
- var RenderRefreshUrlResponse = zod162.strictObject({
7864
- "outputUrl": zod162.string(),
7865
- "outputExpiresAt": zod162.string()
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 zod163 from "zod";
7870
- var ResourceCandidate = zod163.strictObject({
7871
- "candidateId": zod163.string(),
7872
- "provider": zod163.enum(["pexels", "pixabay", "freesound", "klipy"]),
7873
- "kind": zod163.enum(["video", "photo", "sfx", "gif"]),
7874
- "thumbnail": zod163.string(),
7875
- "previewUrl": zod163.string(),
7876
- "downloadUrl": zod163.string().optional(),
7877
- "duration": zod163.number().optional(),
7878
- "width": zod163.number().optional(),
7879
- "height": zod163.number().optional(),
7880
- "author": zod163.string(),
7881
- "authorUrl": zod163.string().optional(),
7882
- "assetUrl": zod163.string().optional(),
7883
- "license": zod163.string().optional()
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 zod164 from "zod";
7888
- var ResourceImportRequest = zod164.strictObject({
7889
- "kind": zod164.enum(["sfx-pack", "music-pack"]).optional(),
7890
- "id": zod164.string().min(1).optional(),
7891
- "projectId": zod164.string().min(1).optional(),
7892
- "candidateId": zod164.string().min(1).optional()
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 zod165 from "zod";
7897
- var ResourceImportResponse = zod165.strictObject({
7898
- "id": zod165.string(),
7899
- "status": zod165.enum(["importing", "ready"])
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 zod166 from "zod";
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 = zod166.strictObject({
7916
- "query": zod166.string().min(1).max(resourceSearchRequestQueryMax).optional(),
7917
- "queries": zod166.array(zod166.string().min(1).max(resourceSearchRequestQueriesItemMax)).min(1).max(resourceSearchRequestQueriesMax).optional(),
7918
- "kind": zod166.enum(["video", "photo", "sfx", "gif"]).optional(),
7919
- "provider": zod166.enum(["pexels", "pixabay", "freesound", "klipy"]).optional(),
7920
- "limit": zod166.int().gt(resourceSearchRequestLimitExclusiveMin).max(resourceSearchRequestLimitMax).optional(),
7921
- "minWidth": zod166.int().gt(resourceSearchRequestMinWidthExclusiveMin).max(resourceSearchRequestMinWidthMax).optional().describe("Video-only minimum selected-rendition width in pixels; smaller results are excluded."),
7922
- "minHeight": zod166.int().gt(resourceSearchRequestMinHeightExclusiveMin).max(resourceSearchRequestMinHeightMax).optional().describe("Video-only minimum selected-rendition height in pixels; smaller results are excluded."),
7923
- "durationSec": zod166.strictObject({
7924
- "min": zod166.number().min(resourceSearchRequestDurationSecMinMin).optional(),
7925
- "max": zod166.number().gt(resourceSearchRequestDurationSecMaxExclusiveMin).optional()
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 zod168 from "zod";
7939
+ import * as zod169 from "zod";
7931
7940
 
7932
7941
  // ../sdk/src/generated/zod/models/resourceSearchResult.zod.ts
7933
- import * as zod167 from "zod";
7934
- var ResourceSearchResult = zod167.strictObject({
7935
- "query": zod167.string(),
7936
- "provider": zod167.enum(["pexels", "pixabay", "freesound", "klipy"]).optional(),
7937
- "kind": zod167.enum(["video", "photo", "sfx", "gif"]).optional(),
7938
- "candidates": zod167.array(ResourceCandidate),
7939
- "error": zod167.string().optional()
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 = zod168.strictObject({
7944
- "provider": zod168.enum(["pexels", "pixabay", "freesound", "klipy"]).optional(),
7945
- "kind": zod168.enum(["video", "photo", "sfx", "gif"]).optional(),
7946
- "candidates": zod168.array(ResourceCandidate).optional(),
7947
- "results": zod168.array(ResourceSearchResult).optional()
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 zod169 from "zod";
7960
+ import * as zod170 from "zod";
7952
7961
  var reviewDecisionResponseVersionMin = -9007199254740991;
7953
7962
  var reviewDecisionResponseVersionMax = 9007199254740991;
7954
- var ReviewDecisionResponse = zod169.strictObject({
7955
- "ok": zod169.literal(true),
7956
- "stage": zod169.enum(["content", "layout", "motion"]).optional(),
7957
- "version": zod169.int().min(reviewDecisionResponseVersionMin).max(reviewDecisionResponseVersionMax).optional(),
7958
- "composeJobId": zod169.string().optional()
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 zod170 from "zod";
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 = zod170.strictObject({
7970
- "id": zod170.string(),
7971
- "projectId": zod170.string(),
7972
- "composeJobId": zod170.string().optional(),
7973
- "briefId": zod170.string().optional(),
7974
- "kind": zod170.enum(["gate", "score"]),
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": zod170.int().min(reviewPacketResponseVersionMin).max(reviewPacketResponseVersionMax),
7977
- "status": zod170.enum(["awaiting", "approved", "revised", "abandoned", "expired", "superseded"]),
7978
- "artifact": zod170.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'."),
7979
- "stillUrls": zod170.array(zod170.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)."),
7980
- "criticVerdicts": zod170.unknown().optional().describe("Per-criterion scores + critique from the design loop / judge, incl. lock_violation entries."),
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": zod170.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."),
7983
- "decision": zod170.unknown().optional().describe("The recorded decision {decision, comments?, globalNote?, decidedAt} once resolved."),
7984
- "reviewMode": zod170.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."),
7985
- "createdAt": zod170.number(),
7986
- "updatedAt": zod170.number(),
7987
- "versionStack": zod170.array(zod170.strictObject({
7988
- "id": zod170.string(),
7989
- "version": zod170.int().min(reviewPacketResponseVersionStackItemVersionMin).max(reviewPacketResponseVersionStackItemVersionMax),
7990
- "stage": zod170.enum(["content", "layout", "motion"]).optional(),
7991
- "status": zod170.string(),
7992
- "decision": zod170.string().optional(),
7993
- "createdAt": zod170.number()
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 zod171 from "zod";
7999
- var ScoreCompositionBody = zod171.strictObject({
8000
- "composition": zod171.unknown().optional().describe("The composition to judge. Absent \u21D2 the project's ACTIVE composition."),
8001
- "compositionId": zod171.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."),
8002
- "session_id": zod171.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."),
8003
- "editorialIntent": zod171.string().optional(),
8004
- "brandContext": zod171.string().optional()
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 zod172 from "zod";
8017
+ import * as zod173 from "zod";
8009
8018
  var searchLibraryParamsLimitDefault = 10;
8010
8019
  var searchLibraryParamsLimitMax = 25;
8011
- var SearchLibraryParams = zod172.strictObject({
8012
- "q": zod172.string().min(1),
8013
- "limit": zod172.int().min(1).max(searchLibraryParamsLimitMax).default(searchLibraryParamsLimitDefault)
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 zod173 from "zod";
8018
- var SelectorAudioSpan = zod173.strictObject({
8019
- "startSec": zod173.number(),
8020
- "endSec": zod173.number(),
8021
- "candidateId": zod173.string().describe("The chosen audio source (the clearest mic) for this span \u2192 programAudioSourceId."),
8022
- "reasons": zod173.array(zod173.string())
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 zod177 from "zod";
8035
+ import * as zod178 from "zod";
8027
8036
 
8028
8037
  // ../sdk/src/generated/zod/models/selectorCutSpan.zod.ts
8029
- import * as zod174 from "zod";
8030
- var SelectorCutSpan = zod174.strictObject({
8031
- "startSec": zod174.number(),
8032
- "endSec": zod174.number(),
8033
- "candidateId": zod174.string(),
8034
- "sourceInSec": zod174.number().describe("Chosen source window start (declared-offset resolved)."),
8035
- "sourceOutSec": zod174.number(),
8036
- "reasons": zod174.array(zod174.string())
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 zod176 from "zod";
8049
+ import * as zod177 from "zod";
8041
8050
 
8042
8051
  // ../sdk/src/generated/zod/models/selectorScoredCandidate.zod.ts
8043
- import * as zod175 from "zod";
8044
- var SelectorScoredCandidate = zod175.strictObject({
8045
- "candidateId": zod175.string().describe("Stable angle/source id. An unknown id is rejected, never remapped."),
8046
- "role": zod175.string().nullish().describe('Agent-declared semantic tag (e.g. "wide", "webcam").'),
8047
- "score": zod175.number().describe("The weighted prominence score (\u03A3 weights\xB7signal)."),
8048
- "contributions": zod175.record(zod175.string(), zod175.number()).describe("signalKey \u2192 weighted contribution (the agent reweights from this)."),
8049
- "reasons": zod175.array(zod175.string())
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 = zod176.strictObject({
8054
- "startSec": zod176.number().describe("Span start (output seconds)."),
8055
- "endSec": zod176.number().describe("Span end (output seconds)."),
8056
- "chosen": zod176.string().describe('The recommended candidateId, or "__hold__" (abstain).'),
8057
- "pacingNote": zod176.string().nullish().describe("Which mechanism produced the pick (argmax / hysteresis / override / hold \u2026)."),
8058
- "candidates": zod176.array(SelectorScoredCandidate)
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 = zod177.strictObject({
8063
- "projectId": zod177.string(),
8064
- "groupId": zod177.string(),
8065
- "selectorVersion": zod177.string(),
8066
- "signalVersions": zod177.record(zod177.string(), zod177.string()),
8067
- "moments": zod177.array(SelectorMomentGroup),
8068
- "recommendation": zod177.strictObject({
8069
- "cutSchedule": zod177.array(SelectorCutSpan),
8070
- "audioBed": zod177.array(SelectorAudioSpan).describe("Best-audio bed (instance #3): the clearest mic per span."),
8071
- "suppressedSwitches": zod177.array(zod177.strictObject({
8072
- "atSec": zod177.number(),
8073
- "wouldHaveBeenCandidateId": zod177.string(),
8074
- "byScore": zod177.number(),
8075
- "blockedBy": zod177.string(),
8076
- "releaseAtSec": zod177.number().nullable()
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": zod177.boolean().optional()
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 zod178 from "zod";
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 = zod178.strictObject({
8090
- "groupId": zod178.string().min(1),
8091
- "weights": zod178.record(zod178.string(), zod178.number()).optional().describe("Sparse prominence weights (the taste knob, non-negative). Default = DOMINANCE_WEIGHTS."),
8092
- "minHoldSec": zod178.number().gt(selectorPreviewRequestMinHoldSecExclusiveMin).optional(),
8093
- "enterSec": zod178.number().min(selectorPreviewRequestEnterSecMin).optional(),
8094
- "switchMargin": zod178.number().min(selectorPreviewRequestSwitchMarginMin).optional(),
8095
- "cooldownSec": zod178.number().min(selectorPreviewRequestCooldownSecMin).optional(),
8096
- "maxHoldSec": zod178.number().gt(selectorPreviewRequestMaxHoldSecExclusiveMin).optional(),
8097
- "lockSourceId": zod178.string().optional().describe("Pin a camera/angle for the whole timeline."),
8098
- "overrides": zod178.array(zod178.strictObject({
8099
- "startSec": zod178.number(),
8100
- "endSec": zod178.number(),
8101
- "candidateId": zod178.string()
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 zod179 from "zod";
8115
+ import * as zod180 from "zod";
8107
8116
  var sessionCreateRequestNameMax = 200;
8108
8117
  var sessionCreateRequestFilesItemRoleMax = 50;
8109
8118
  var sessionCreateRequestFilesMax = 20;
8110
- var SessionCreateRequest = zod179.strictObject({
8111
- "name": zod179.string().min(1).max(sessionCreateRequestNameMax),
8112
- "files": zod179.array(zod179.strictObject({
8113
- "mediaId": zod179.string().min(1),
8114
- "role": zod179.string().min(1).max(sessionCreateRequestFilesItemRoleMax)
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 zod180 from "zod";
8120
- var SessionFileEntry = zod180.strictObject({
8121
- "mediaId": zod180.string(),
8122
- "role": zod180.string(),
8123
- "status": zod180.string().nullable()
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 zod182 from "zod";
8136
+ import * as zod183 from "zod";
8128
8137
 
8129
8138
  // ../sdk/src/generated/zod/models/sessionSummary.zod.ts
8130
- import * as zod181 from "zod";
8139
+ import * as zod182 from "zod";
8131
8140
  var sessionSummaryFileCountMin = 0;
8132
8141
  var sessionSummaryFileCountMax = 9007199254740991;
8133
- var SessionSummary = zod181.strictObject({
8134
- "id": zod181.string(),
8135
- "name": zod181.string(),
8136
- "fileCount": zod181.int().min(sessionSummaryFileCountMin).max(sessionSummaryFileCountMax),
8137
- "muxStatus": zod181.string().nullable(),
8138
- "createdAt": zod181.string()
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 = zod182.strictObject({
8143
- "data": zod182.array(SessionSummary),
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 zod183 from "zod";
8149
- var SessionResponse = zod183.strictObject({
8150
- "id": zod183.string(),
8151
- "name": zod183.string(),
8152
- "files": zod183.array(SessionFileEntry),
8153
- "mux": zod183.strictObject({
8154
- "status": zod183.string().nullable(),
8155
- "jobId": zod183.string().nullable(),
8156
- "muxedItems": zod183.union([zod183.record(zod183.string(), zod183.string()), zod183.null()]),
8157
- "error": zod183.string().nullable(),
8158
- "startedAt": zod183.string().nullable(),
8159
- "completedAt": zod183.string().nullable()
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": zod183.string()
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 zod185 from "zod";
8174
+ import * as zod186 from "zod";
8166
8175
 
8167
8176
  // ../sdk/src/generated/zod/models/skillSummary.zod.ts
8168
- import * as zod184 from "zod";
8169
- var SkillSummary = zod184.strictObject({
8170
- "name": zod184.string(),
8171
- "title": zod184.string(),
8172
- "description": zod184.string()
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 = zod185.strictObject({
8177
- "skills": zod185.array(SkillSummary)
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 zod186 from "zod";
8182
- var SubjectDetectionTriggerResponse = zod186.strictObject({
8183
- "factId": zod186.string().describe("Opaque identifier for the derived fact."),
8184
- "status": zod186.enum(["pending", "ready", "failed"]).describe("State of the fact right now. `ready` with `alreadyExisted` means the detection was already computed and is available immediately."),
8185
- "quotedUsd": zod186.number().describe("The server's price for this detection, in USD, quoted from the source duration. Zero is charged when `alreadyExisted` is true."),
8186
- "alreadyExisted": zod186.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.")
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 zod187 from "zod";
8199
+ import * as zod188 from "zod";
8191
8200
  var suggestionRankExclusiveMin = 0;
8192
8201
  var suggestionRankMax = 9007199254740991;
8193
- var Suggestion = zod187.strictObject({
8194
- "id": zod187.string(),
8195
- "briefId": zod187.string().nullable(),
8196
- "rank": zod187.int().gt(suggestionRankExclusiveMin).max(suggestionRankMax),
8197
- "trim": zod187.strictObject({
8198
- "start": zod187.number(),
8199
- "end": zod187.number()
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": zod187.number(),
8202
- "title": zod187.string(),
8203
- "reason": zod187.string(),
8204
- "topic": zod187.string(),
8205
- "hook": zod187.string(),
8206
- "platforms": zod187.array(zod187.string()),
8207
- "format": zod187.string(),
8208
- "caption": zod187.string(),
8209
- "hashtags": zod187.array(zod187.string()),
8210
- "textOverlays": zod187.array(zod187.string()),
8211
- "editingNotes": zod187.string(),
8212
- "motionStyle": zod187.strictObject({
8213
- "textAnimation": zod187.string(),
8214
- "transitions": zod187.string(),
8215
- "colorMood": zod187.string(),
8216
- "captionStyle": zod187.string()
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": zod187.array(zod187.strictObject({
8219
- "time": zod187.union([zod187.number(), zod187.string()]),
8220
- "visual": zod187.string()
8227
+ "visualTreatment": zod188.array(zod188.strictObject({
8228
+ "time": zod188.union([zod188.number(), zod188.string()]),
8229
+ "visual": zod188.string()
8221
8230
  })),
8222
- "brollSuggestions": zod187.array(zod187.strictObject({
8223
- "moment": zod187.string(),
8224
- "searchTerms": zod187.array(zod187.string()),
8225
- "rationale": zod187.string()
8231
+ "brollSuggestions": zod188.array(zod188.strictObject({
8232
+ "moment": zod188.string(),
8233
+ "searchTerms": zod188.array(zod188.string()),
8234
+ "rationale": zod188.string()
8226
8235
  })),
8227
- "thumbnailConcept": zod187.string()
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 zod188 from "zod";
8232
- var SuggestionsEnvelope = zod188.strictObject({
8233
- "status": zod188.enum(["idle", "generating", "completed", "failed"]),
8234
- "createdAt": zod188.string().nullable(),
8235
- "analyzedAt": zod188.string().nullable(),
8236
- "jobId": zod188.string().nullable(),
8237
- "topics": zod188.array(zod188.string()),
8238
- "suggestions": zod188.array(Suggestion),
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 zod189 from "zod";
8244
- var SuggestionsTriggerResponse = zod189.strictObject({
8245
- "status": zod189.enum(["queued", "running", "complete", "failed"]),
8246
- "alreadyRunning": zod189.boolean().optional()
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 zod190 from "zod";
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 = zod190.strictObject({
8261
- "words": zod190.array(zod190.strictObject({
8262
- "text": zod190.string().min(1).max(timelineAnalysisRequestWordsItemTextMax),
8263
- "timelineStart": zod190.number().min(timelineAnalysisRequestWordsItemTimelineStartMin),
8264
- "timelineEnd": zod190.number().min(timelineAnalysisRequestWordsItemTimelineEndMin),
8265
- "clipId": zod190.string().min(1).max(timelineAnalysisRequestWordsItemClipIdMax),
8266
- "poolItemId": zod190.string().min(1).max(timelineAnalysisRequestWordsItemPoolItemIdMax),
8267
- "sourceStart": zod190.number().min(timelineAnalysisRequestWordsItemSourceStartMin),
8268
- "sourceEnd": zod190.number().min(timelineAnalysisRequestWordsItemSourceEndMin),
8269
- "speakerId": zod190.union([zod190.string().max(timelineAnalysisRequestWordsItemSpeakerIdOneMax), zod190.null()])
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 zod191 from "zod";
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 = zod191.strictObject({
8282
- "fillers": zod191.array(zod191.int().min(timelineAnalysisResponseFillersItemMin).max(timelineAnalysisResponseFillersItemMax)),
8283
- "silenceGaps": zod191.array(zod191.int().min(timelineAnalysisResponseSilenceGapsItemMin).max(timelineAnalysisResponseSilenceGapsItemMax)),
8284
- "emphasis": zod191.array(zod191.int().min(timelineAnalysisResponseEmphasisItemMin).max(timelineAnalysisResponseEmphasisItemMax))
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 zod192 from "zod";
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 = zod192.strictObject({
8296
- "scores": zod192.array(zod192.strictObject({
8297
- "name": zod192.string().min(1).max(traceScoresRequestScoresItemNameMax).regex(traceScoresRequestScoresItemNameRegExp),
8298
- "value": zod192.number().min(traceScoresRequestScoresItemValueMin).max(traceScoresRequestScoresItemValueMax),
8299
- "comment": zod192.string().max(traceScoresRequestScoresItemCommentMax).optional()
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 zod193 from "zod";
8313
+ import * as zod194 from "zod";
8305
8314
  var traceScoresResponseAcceptedMin = -9007199254740991;
8306
8315
  var traceScoresResponseAcceptedMax = 9007199254740991;
8307
- var TraceScoresResponse = zod193.strictObject({
8308
- "accepted": zod193.int().min(traceScoresResponseAcceptedMin).max(traceScoresResponseAcceptedMax)
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 zod194 from "zod";
8321
+ import * as zod195 from "zod";
8313
8322
  var transcriptAnalyzeRequestWindowStartSecMin = 0;
8314
8323
  var transcriptAnalyzeRequestWindowEndSecMin = 0;
8315
- var TranscriptAnalyzeRequest = zod194.strictObject({
8316
- "task": zod194.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."),
8317
- "window": zod194.strictObject({
8318
- "startSec": zod194.number().min(transcriptAnalyzeRequestWindowStartSecMin).describe("Window start, SECONDS from the start of the media."),
8319
- "endSec": zod194.number().min(transcriptAnalyzeRequestWindowEndSecMin).describe("Window end, SECONDS from the start of the media.")
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 zod195 from "zod";
8325
- var TranscriptAnalyzeResponse = zod195.strictObject({
8326
- "task": zod195.enum(["summary", "chapters", "highlights"]).describe("Echo of the requested task \u2014 so a batched caller can pair answers to asks."),
8327
- "result": zod195.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.")
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 zod196 from "zod";
8332
- var TriggerSubjectDetectionParams = zod196.strictObject({
8333
- "detector": zod196.enum(["face", "person"]).optional()
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 zod197 from "zod";
8346
+ import * as zod198 from "zod";
8338
8347
  var uploadTokenResponseExpiresAtMin = -9007199254740991;
8339
8348
  var uploadTokenResponseExpiresAtMax = 9007199254740991;
8340
- var UploadTokenResponse = zod197.strictObject({
8341
- "token": zod197.string(),
8342
- "expiresAt": zod197.int().min(uploadTokenResponseExpiresAtMin).max(uploadTokenResponseExpiresAtMax).describe("Expiry, ms since epoch (~30 min TTL).")
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 zod198 from "zod";
8347
- var UsageEventResponse = zod198.strictObject({
8348
- "featureId": zod198.string().describe("The metered plan feature (exports, compose, compose_verify, \u2026)."),
8349
- "value": zod198.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."),
8350
- "projectId": zod198.string().optional(),
8351
- "jobId": zod198.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)."),
8352
- "jobKind": zod198.string().optional().describe("render | compose | consult_* | verify | preview | generate | suggestions | session_uptime | \u2026"),
8353
- "mediaItemId": zod198.string().optional().describe("The media item the job ran over, when it ran over one (suggestions, transcription). Resolve it with GET /v1/media/{id}."),
8354
- "listUsd": zod198.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."),
8355
- "createdAt": zod198.number().describe("Epoch-ms when the meter landed.")
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 zod199 from "zod";
8360
- var UsageListResponse = zod199.strictObject({
8361
- "data": zod199.array(UsageEventResponse),
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 zod200 from "zod";
8367
- var ValidateComposition200 = zod200.strictObject({
8368
- "valid": zod200.boolean(),
8369
- "errors": zod200.array(zod200.strictObject({
8370
- "code": zod200.string(),
8371
- "stage": zod200.string(),
8372
- "category": zod200.string(),
8373
- "retryable": zod200.boolean(),
8374
- "message": zod200.string(),
8375
- "fix": zod200.record(zod200.string(), zod200.unknown()).optional()
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": zod200.array(zod200.strictObject({
8378
- "rule": zod200.string(),
8379
- "criterion": zod200.string(),
8380
- "clipId": zod200.string().optional(),
8381
- "detail": zod200.string(),
8382
- "fix": zod200.string()
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": zod200.array(zod200.string()).optional().describe("Non-blocking render-fidelity warnings detected before enqueue, including unavailable font families."),
8385
- "quote": zod200.strictObject({
8386
- "thisStepUsd": zod200.number(),
8387
- "jobSpendSoFarUsd": zod200.number(),
8388
- "estimatedJourneyTotalUsd": zod200.number()
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 zod202 from "zod";
8402
+ import * as zod203 from "zod";
8394
8403
 
8395
8404
  // ../sdk/src/generated/zod/models/webhookEvent.zod.ts
8396
- import * as zod201 from "zod";
8397
- var WebhookEvent = zod201.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"]);
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 = zod202.strictObject({
8403
- "url": zod202.string().min(1),
8404
- "events": zod202.array(WebhookEvent).min(1),
8405
- "settleMs": zod202.int().min(webhookCreateRequestSettleMsMin).max(webhookCreateRequestSettleMsMax).optional()
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 zod203 from "zod";
8418
+ import * as zod204 from "zod";
8410
8419
  var webhookCreateResponseSettleMsMin = 0;
8411
8420
  var webhookCreateResponseSettleMsMax = 9007199254740991;
8412
- var WebhookCreateResponse = zod203.strictObject({
8413
- "id": zod203.string(),
8414
- "url": zod203.url(),
8415
- "events": zod203.array(WebhookEvent),
8416
- "settleMs": zod203.int().min(webhookCreateResponseSettleMsMin).max(webhookCreateResponseSettleMsMax),
8417
- "enabled": zod203.boolean(),
8418
- "status": zod203.enum(["active", "pending"]).describe("active = ownership verified + receiving events; pending = challenge not echoed, inactive."),
8419
- "secret": zod203.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)`."),
8420
- "verification": zod203.strictObject({
8421
- "status": zod203.literal("pending"),
8422
- "reason": zod203.string()
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 zod204 from "zod";
8428
- var WebhookEventCatalogResponse = zod204.strictObject({
8429
- "delivery": zod204.record(zod204.string(), zod204.unknown()).describe("The shared HTTP envelope + headers + retry semantics."),
8430
- "signing": zod204.record(zod204.string(), zod204.unknown()).describe("Standard Webhooks signing: secret format, signed content, how to verify."),
8431
- "ownershipVerification": zod204.record(zod204.string(), zod204.unknown()).describe("The synchronous echo-the-token activation handshake + recovery."),
8432
- "events": zod204.array(zod204.strictObject({
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": zod204.string(),
8435
- "data": zod204.record(zod204.string(), zod204.string())
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": zod204.record(zod204.string(), zod204.unknown()).describe("A fully-worked example delivery (headers + body).")
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 zod206 from "zod";
8450
+ import * as zod207 from "zod";
8442
8451
 
8443
8452
  // ../sdk/src/generated/zod/models/webhookResponse.zod.ts
8444
- import * as zod205 from "zod";
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 = zod205.strictObject({
8450
- "id": zod205.string(),
8451
- "url": zod205.url(),
8452
- "events": zod205.array(WebhookEvent),
8453
- "settleMs": zod205.int().min(webhookResponseSettleMsMin).max(webhookResponseSettleMsMax),
8454
- "enabled": zod205.boolean(),
8455
- "verificationStatus": zod205.enum(["pending", "verified"]).describe("pending = callback URL has not echoed the ownership challenge (receives no events); verified = ownership proven."),
8456
- "createdAt": zod205.string(),
8457
- "lastDeliveredAt": zod205.string().nullable(),
8458
- "lastFailedAt": zod205.string().nullable(),
8459
- "consecutiveFailures": zod205.int().min(webhookResponseConsecutiveFailuresMin).max(webhookResponseConsecutiveFailuresMax)
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 = zod206.strictObject({
8464
- "data": zod206.array(WebhookResponse),
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 zod207 from "zod";
8478
+ import * as zod208 from "zod";
8470
8479
  var webhookPatchRequestSettleMsMin = 0;
8471
8480
  var webhookPatchRequestSettleMsMax = 6e4;
8472
- var WebhookPatchRequest = zod207.strictObject({
8473
- "url": zod207.string().min(1).optional(),
8474
- "events": zod207.array(WebhookEvent).min(1).optional(),
8475
- "settleMs": zod207.int().min(webhookPatchRequestSettleMsMin).max(webhookPatchRequestSettleMsMax).optional(),
8476
- "enabled": zod207.boolean().optional()
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 zod208 from "zod";
8481
- var WebhookTestResponse = zod208.strictObject({
8482
- "deliveryId": zod208.string(),
8483
- "status": zod208.literal("queued")
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 zod209 from "zod";
8488
- var WebhookVerifyResponse = zod209.strictObject({
8489
- "id": zod209.string(),
8490
- "status": zod209.enum(["active", "pending"]).describe("active = ownership verified + receiving events; pending = challenge not echoed."),
8491
- "verification": zod209.strictObject({
8492
- "status": zod209.literal("pending"),
8493
- "reason": zod209.string()
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 zod210 from "zod";
8499
- var WhoamiResponse = zod210.strictObject({
8500
- "orgId": zod210.string(),
8501
- "permissions": zod210.record(zod210.string(), zod210.array(zod210.string())),
8502
- "keyId": zod210.string(),
8503
- "keyName": zod210.string()
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 zod211 from "zod";
8508
- var X402PaymentRequired = zod211.strictObject({
8509
- "x402Version": zod211.literal(2),
8510
- "accepts": zod211.array(zod211.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."),
8511
- "error": zod211.string().optional().describe("Human-readable reason.")
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 zod212 from "zod";
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 = zod212.object({
8530
- "limit": zod212.int().min(1).max(getUsageQueryLimitMax).optional().describe("Page size (1..100), default 20. Out-of-range or unparseable clamps into the range."),
8531
- "after": zod212.string().optional().describe("Opaque cursor from the previous page's `pagination.nextCursor`. Forward-only."),
8532
- "projectId": zod212.string().optional().describe("Only events attributed to this project."),
8533
- "jobId": zod212.string().optional().describe('Only events produced by this job \u2014 how to answer "did my failed render post a charge?" for one run.'),
8534
- "from": zod212.int().min(getUsageQueryFromMin).max(getUsageQueryFromMax).optional().describe("Period start, epoch milliseconds, INCLUSIVE."),
8535
- "to": zod212.int().min(getUsageQueryToMin).max(getUsageQueryToMax).optional().describe("Period end, epoch milliseconds, EXCLUSIVE.")
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 zod213 from "zod";
8552
+ import * as zod214 from "zod";
8544
8553
  var listBrandKitsQueryLimitMax = 100;
8545
- var ListBrandKitsQueryParams = zod213.object({
8546
- "limit": zod213.int().min(1).max(listBrandKitsQueryLimitMax).optional().describe("Page size (1..100), default 20. Out-of-range or unparseable clamps into the range."),
8547
- "after": zod213.string().optional().describe("Opaque cursor from the previous page's `pagination.nextCursor`. Forward-only.")
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 = zod213.object({
8555
- "id": zod213.string()
8563
+ var GetBrandKitParams = zod214.object({
8564
+ "id": zod214.string()
8556
8565
  });
8557
8566
  var GetBrandKitResponse = BrandKitResponse;
8558
- var GetBrandKitExemplarsParams = zod213.object({
8559
- "id": zod213.string()
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 zod214 from "zod";
8576
+ import * as zod215 from "zod";
8568
8577
  var CreateBriefBody = BriefCreateRequest;
8569
8578
  var CreateBriefResponse = BriefResponse;
8570
8579
  var listBriefsQueryLimitMax = 100;
8571
- var ListBriefsQueryParams = zod214.object({
8572
- "limit": zod214.int().min(1).max(listBriefsQueryLimitMax).optional().describe("Page size (1..100), default 20. Out-of-range or unparseable clamps into the range."),
8573
- "after": zod214.string().optional().describe("Opaque cursor from the previous page's `pagination.nextCursor`. Forward-only."),
8574
- "projectId": zod214.string().optional().describe("Scope to one project. Omit for every brief in the org."),
8575
- "kind": zod214.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.")
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 = zod214.object({
8579
- "id": zod214.string()
8587
+ var GetBriefParams = zod215.object({
8588
+ "id": zod215.string()
8580
8589
  });
8581
8590
  var GetBriefResponse = BriefResponse;
8582
- var UpdateBriefParams = zod214.object({
8583
- "id": zod214.string()
8591
+ var UpdateBriefParams = zod215.object({
8592
+ "id": zod215.string()
8584
8593
  });
8585
8594
  var UpdateBriefBody = BriefPatchRequest;
8586
8595
  var UpdateBriefResponse = BriefResponse;
8587
- var DeleteBriefParams = zod214.object({
8588
- "id": zod214.string()
8596
+ var DeleteBriefParams = zod215.object({
8597
+ "id": zod215.string()
8589
8598
  });
8590
- var DeleteBriefResponse = zod214.void();
8599
+ var DeleteBriefResponse = zod215.void();
8591
8600
 
8592
8601
  // ../sdk/src/generated/zod/checkpoints/checkpoints.ts
8593
- import * as zod215 from "zod";
8594
- var GetReviewPacketParams = zod215.object({
8595
- "id": zod215.string()
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 = zod215.object({
8599
- "id": zod215.string()
8607
+ var RecordReviewDecisionParams = zod216.object({
8608
+ "id": zod216.string()
8600
8609
  });
8601
8610
  var RecordReviewDecisionResponse = ReviewDecisionResponse;
8602
8611
  var listCheckpointsQueryLimitMax = 100;
8603
- var ListCheckpointsQueryParams = zod215.object({
8604
- "limit": zod215.int().min(1).max(listCheckpointsQueryLimitMax).optional().describe("Page size (1..100), default 20. Out-of-range or unparseable clamps into the range."),
8605
- "after": zod215.string().optional().describe("Opaque cursor from the previous page's `pagination.nextCursor`. Forward-only."),
8606
- "composeJobId": zod215.string().optional().describe("Scope to ONE compose run \u2014 its v1\u2192vN gate history with per-version status and decisions."),
8607
- "projectId": zod215.string().optional().describe("Scope to everything reviewable in one project.")
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 = zod215.object({
8611
- "id": zod215.string()
8619
+ var GetCheckpointParams = zod216.object({
8620
+ "id": zod216.string()
8612
8621
  });
8613
8622
  var GetCheckpointResponse = CheckpointResponse;
8614
- var ResumeCheckpointParams = zod215.object({
8615
- "id": zod215.string()
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 zod216 from "zod";
8622
- var ComposeFromSuggestionParams = zod216.object({
8623
- "id": zod216.string()
8630
+ import * as zod217 from "zod";
8631
+ var ComposeFromSuggestionParams = zod217.object({
8632
+ "id": zod217.string()
8624
8633
  });
8625
- var ComposeFromSuggestionBody2 = zod216.strictObject({
8626
- "suggestionId": zod216.string().min(1),
8627
- "format": zod216.strictObject({
8628
- "aspectRatio": zod216.enum(["16:9", "9:16", "1:1", "4:5"]),
8629
- "fps": zod216.union([zod216.literal(24), zod216.literal(25), zod216.literal(30), zod216.literal(60)]).optional(),
8630
- "resolution": zod216.enum(["hd", "fhd", "4k"]).optional(),
8631
- "platform": zod216.string().optional()
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 = zod216.unknown();
8635
- var ListMediaSuggestionsParams2 = zod216.object({
8636
- "id": zod216.string()
8643
+ var ComposeFromSuggestionResponse = zod217.unknown();
8644
+ var ListMediaSuggestionsParams2 = zod217.object({
8645
+ "id": zod217.string()
8637
8646
  });
8638
8647
  var listMediaSuggestionsQueryLimitMax = 100;
8639
- var ListMediaSuggestionsQueryParams = zod216.object({
8640
- "limit": zod216.int().min(1).max(listMediaSuggestionsQueryLimitMax).optional().describe("Page size (1..100), default 20. Out-of-range or unparseable clamps into the range."),
8641
- "after": zod216.string().optional().describe("Opaque cursor from the previous page's `pagination.nextCursor`. Forward-only."),
8642
- "platform": zod216.string().optional().describe("Only suggestions cut for this delivery platform."),
8643
- "format": zod216.string().optional().describe("Only suggestions in this output format."),
8644
- "topic": zod216.string().optional().describe("Only suggestions matching this topic label.")
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 = zod216.object({
8648
- "id": zod216.string()
8656
+ var SuggestBriefsParams = zod217.object({
8657
+ "id": zod217.string()
8649
8658
  });
8650
8659
  var SuggestBriefsResponse = SuggestionsTriggerResponse;
8651
- var ResetMediaSuggestionsParams = zod216.object({
8652
- "id": zod216.string()
8660
+ var ResetMediaSuggestionsParams = zod217.object({
8661
+ "id": zod217.string()
8653
8662
  });
8654
- var ResetMediaSuggestionsResponse = zod216.unknown();
8663
+ var ResetMediaSuggestionsResponse = zod217.unknown();
8655
8664
 
8656
8665
  // ../sdk/src/generated/zod/components/components.ts
8657
- import * as zod217 from "zod";
8666
+ import * as zod218 from "zod";
8658
8667
  var listCatalogQueryLimitMax = 100;
8659
- var ListCatalogQueryParams = zod217.object({
8660
- "category": zod217.enum(["text", "effects", "transitions", "layouts", "backgrounds", "ui-blocks", "scenes"]).optional().describe("Filter to one category bucket (text|effects|transitions|layouts|backgrounds|ui-blocks|scenes)."),
8661
- "kind": zod217.enum(["component", "transition", "scene"]).optional().describe("Filter by render kind (component|transition|scene)."),
8662
- "tier": zod217.enum(["recommended", "standard", "niche"]).optional().describe("Filter by curation tier (recommended|standard|niche)."),
8663
- "useCase": zod217.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)."),
8664
- "mood": zod217.string().optional().describe("Filter to entries whose mood tags include this value (e.g. cinematic, minimal)."),
8665
- "q": zod217.string().optional().describe("Free-text match across id/name/description/intent/useWhen/tags/mood. Recommend-orders results."),
8666
- "intent": zod217.string().optional().describe("Alias of `q` framed as recommend-by-intent (e.g. intent=intro). Recommend-orders results."),
8667
- "limit": zod217.int().min(1).max(listCatalogQueryLimitMax).optional().describe("Page size (1..100). Omit to return the whole filtered catalog in one page."),
8668
- "after": zod217.string().optional().describe("Opaque cursor from a previous page's nextCursor (forward-only).")
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 = zod217.object({
8674
- "id": zod217.string()
8682
+ var UpdateComponentParams = zod218.object({
8683
+ "id": zod218.string()
8675
8684
  });
8676
8685
  var UpdateComponentBody = ComponentUpdateRequest;
8677
8686
  var UpdateComponentResponse = ComponentResponse;
8678
- var GetComponentParams = zod217.object({
8679
- "id": zod217.string()
8687
+ var GetComponentParams = zod218.object({
8688
+ "id": zod218.string()
8680
8689
  });
8681
8690
  var GetComponentResponse = ComponentResponse;
8682
- var GetComponentSourceParams = zod217.object({
8683
- "id": zod217.string()
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 zod218 from "zod";
8689
- var ComposeParams = zod218.object({
8690
- "id": zod218.string()
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 = zod218.object({
8695
- "id": zod218.string(),
8696
- "composeJobId": zod218.string()
8703
+ var StreamComposeParams = zod219.object({
8704
+ "id": zod219.string(),
8705
+ "composeJobId": zod219.string()
8697
8706
  });
8698
- var StreamComposeResponse = zod218.unknown();
8699
- var SelectComposeCandidateParams = zod218.object({
8700
- "id": zod218.string(),
8701
- "composeJobId": zod218.string()
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 = zod218.object({
8706
- "id": zod218.string(),
8707
- "composeJobId": zod218.string()
8714
+ var CancelComposeParams = zod219.object({
8715
+ "id": zod219.string(),
8716
+ "composeJobId": zod219.string()
8708
8717
  });
8709
8718
  var CancelComposeResponse = ComposeJobDetailResponse;
8710
- var ListComposeJobsParams = zod218.object({
8711
- "id": zod218.string()
8719
+ var ListComposeJobsParams = zod219.object({
8720
+ "id": zod219.string()
8712
8721
  });
8713
8722
  var ListComposeJobsResponse = ComposeJobListResponse;
8714
- var GetComposeJobParams = zod218.object({
8715
- "id": zod218.string(),
8716
- "composeJobId": zod218.string()
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 zod219 from "zod";
8722
- var OpenComposeSessionParams = zod219.object({
8723
- "id": zod219.string()
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 = zod219.strictObject({
8727
- "seedComposition": zod219.unknown().optional(),
8728
- "leaseJobId": zod219.string().min(1).max(openComposeSessionBodyLeaseJobIdMax2).optional()
8735
+ var OpenComposeSessionBody2 = zod220.strictObject({
8736
+ "seedComposition": zod220.unknown().optional(),
8737
+ "leaseJobId": zod220.string().min(1).max(openComposeSessionBodyLeaseJobIdMax2).optional()
8729
8738
  });
8730
- var OpenComposeSessionResponse = zod219.object({
8731
- "sessionId": zod219.string()
8739
+ var OpenComposeSessionResponse = zod220.object({
8740
+ "sessionId": zod220.string()
8732
8741
  });
8733
- var GetComposeSessionCompositionParams = zod219.object({
8734
- "id": zod219.string(),
8735
- "sessionId": zod219.string()
8742
+ var GetComposeSessionCompositionParams = zod220.object({
8743
+ "id": zod220.string(),
8744
+ "sessionId": zod220.string()
8736
8745
  });
8737
- var GetComposeSessionCompositionResponse = zod219.object({
8738
- "composition": zod219.unknown()
8746
+ var GetComposeSessionCompositionResponse = zod220.object({
8747
+ "composition": zod220.unknown()
8739
8748
  });
8740
- var CloseComposeSessionParams = zod219.object({
8741
- "id": zod219.string(),
8742
- "sessionId": zod219.string()
8749
+ var CloseComposeSessionParams = zod220.object({
8750
+ "id": zod220.string(),
8751
+ "sessionId": zod220.string()
8743
8752
  });
8744
- var CloseComposeSessionResponse = zod219.object({
8745
- "ok": zod219.boolean()
8753
+ var CloseComposeSessionResponse = zod220.object({
8754
+ "ok": zod220.boolean()
8746
8755
  });
8747
- var CommitComposeSessionParams = zod219.object({
8748
- "id": zod219.string(),
8749
- "sessionId": zod219.string()
8756
+ var CommitComposeSessionParams = zod220.object({
8757
+ "id": zod220.string(),
8758
+ "sessionId": zod220.string()
8750
8759
  });
8751
- var CommitComposeSessionResponse = zod219.object({
8752
- "etag": zod219.string()
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 zod220 from "zod";
8757
- var GetCompositionParams = zod220.object({
8758
- "id": zod220.string()
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 = zod220.object({
8762
- "id": zod220.string()
8773
+ var PutCompositionParams = zod221.object({
8774
+ "id": zod221.string()
8763
8775
  });
8764
8776
  var PutCompositionBody = Composition;
8765
- var PutCompositionResponse = zod220.unknown();
8766
- var NewCompositionParams = zod220.object({
8767
- "id": zod220.string()
8777
+ var PutCompositionResponse = zod221.unknown();
8778
+ var NewCompositionParams = zod221.object({
8779
+ "id": zod221.string()
8768
8780
  });
8769
8781
  var NewCompositionBody = CompositionCreateRequest;
8770
- var NewCompositionResponse = zod220.void();
8771
- var ListCompositionsParams = zod220.object({
8772
- "id": zod220.string()
8782
+ var NewCompositionResponse = zod221.void();
8783
+ var ListCompositionsParams = zod221.object({
8784
+ "id": zod221.string()
8773
8785
  });
8774
8786
  var ListCompositionsResponse = CompositionListResponse;
8775
- var ApplyCompositionOpParams = zod220.object({
8776
- "id": zod220.string()
8787
+ var ApplyCompositionOpParams = zod221.object({
8788
+ "id": zod221.string()
8777
8789
  });
8778
8790
  var ApplyCompositionOpBody = CompositionOp;
8779
- var ApplyCompositionOpResponse = zod220.unknown();
8780
- var ApplyCompositionParams = zod220.object({
8781
- "id": zod220.string()
8791
+ var ApplyCompositionOpResponse = zod221.unknown();
8792
+ var ApplyCompositionParams = zod221.object({
8793
+ "id": zod221.string()
8782
8794
  });
8783
8795
  var ApplyCompositionBody = CompositionApplyRequest;
8784
- var ApplyCompositionResponse = zod220.unknown();
8785
- var DeriveCompositionParams = zod220.object({
8786
- "id": zod220.string()
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 = zod220.object({
8792
- "valid": zod220.boolean(),
8793
- "errors": zod220.array(zod220.object({
8794
- "code": zod220.string(),
8795
- "stage": zod220.string(),
8796
- "category": zod220.string(),
8797
- "retryable": zod220.boolean(),
8798
- "message": zod220.string(),
8799
- "fix": zod220.record(zod220.string(), zod220.unknown()).optional()
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": zod220.array(zod220.object({
8802
- "rule": zod220.string(),
8803
- "criterion": zod220.string(),
8804
- "clipId": zod220.string().optional(),
8805
- "detail": zod220.string(),
8806
- "fix": zod220.string()
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": zod220.array(zod220.string()).optional().describe("Non-blocking render-fidelity warnings detected before enqueue, including unavailable font families."),
8809
- "quote": zod220.object({
8810
- "thisStepUsd": zod220.number(),
8811
- "jobSpendSoFarUsd": zod220.number(),
8812
- "estimatedJourneyTotalUsd": zod220.number()
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 = zod220.object({
8816
- "id": zod220.string(),
8817
- "compositionId": zod220.string()
8827
+ var DeleteCompositionParams = zod221.object({
8828
+ "id": zod221.string(),
8829
+ "compositionId": zod221.string()
8818
8830
  });
8819
- var DeleteCompositionResponse = zod220.void();
8831
+ var DeleteCompositionResponse = zod221.void();
8820
8832
 
8821
8833
  // ../sdk/src/generated/zod/consult/consult.ts
8822
- import * as zod221 from "zod";
8823
- var ConsultParams = zod221.object({
8824
- "id": zod221.string()
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 zod222 from "zod";
8842
+ import * as zod223 from "zod";
8831
8843
  var CreateCriticBody = CriticCreateRequest;
8832
8844
  var CreateCriticResponse = CriticResponse;
8833
8845
  var ListCriticsResponse = CriticListResponse;
8834
- var DeleteCriticParams = zod222.object({
8835
- "criticId": zod222.string()
8846
+ var DeleteCriticParams = zod223.object({
8847
+ "criticId": zod223.string()
8836
8848
  });
8837
- var DeleteCriticResponse = zod222.void();
8849
+ var DeleteCriticResponse = zod223.void();
8838
8850
 
8839
8851
  // ../sdk/src/generated/zod/evidence/evidence.ts
8840
- import * as zod223 from "zod";
8841
- var ScoreCompositionParams = zod223.object({
8842
- "id": zod223.string()
8852
+ import * as zod224 from "zod";
8853
+ var ScoreCompositionParams = zod224.object({
8854
+ "id": zod224.string()
8843
8855
  });
8844
- var ScoreCompositionBody2 = zod223.strictObject({
8845
- "composition": zod223.unknown().optional().describe("The composition to judge. Absent \u21D2 the project's ACTIVE composition."),
8846
- "compositionId": zod223.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."),
8847
- "session_id": zod223.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."),
8848
- "editorialIntent": zod223.string().optional(),
8849
- "brandContext": zod223.string().optional()
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 = zod223.object({
8853
- "id": zod223.string()
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 = zod223.strictObject({
8859
- "composition": zod223.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."),
8860
- "compositionId": zod223.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."),
8861
- "session_id": zod223.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."),
8862
- "timestamps": zod223.array(zod223.number()).min(1),
8863
- "imageFormat": zod223.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."),
8864
- "scale": zod223.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."),
8865
- "jpegQuality": zod223.int().min(1).max(previewFrameJobBodyJpegQualityMax2).optional().describe("JPEG quality (jpeg only). Default 70 \u2014 the quality the eval panel grades at.")
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 = zod223.object({
8869
- "id": zod223.string()
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 = zod223.strictObject({
8879
- "componentId": zod223.string().min(1),
8880
- "params": zod223.record(zod223.string(), zod223.unknown()).optional(),
8881
- "assets": zod223.record(zod223.string(), zod223.string().min(1)).optional().describe("Component asset-slot name to org mediaId. Every required manifest slot must be bound."),
8882
- "width": zod223.int().gt(previewComponentBodyWidthExclusiveMin2).max(previewComponentBodyWidthMax2).optional(),
8883
- "height": zod223.int().gt(previewComponentBodyHeightExclusiveMin2).max(previewComponentBodyHeightMax2).optional(),
8884
- "fps": zod223.number().gt(previewComponentBodyFpsExclusiveMin2).max(previewComponentBodyFpsMax2).optional().describe("Preview frame rate. When omitted, uses the project's format."),
8885
- "durationInFrames": zod223.int().min(1).max(previewComponentBodyDurationInFramesMax2).optional().describe("Preview frame count. When omitted, uses the component's declared duration; required if the component has none.")
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 zod224 from "zod";
8891
- var CreateFcpxmlExportParams = zod224.object({
8892
- "id": zod224.string()
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 = zod224.object({
8897
- "id": zod224.string()
8908
+ var CreatePremiereExportParams = zod225.object({
8909
+ "id": zod225.string()
8898
8910
  });
8899
8911
  var CreatePremiereExportBody = ExportCreateRequest;
8900
8912
  var CreatePremiereExportResponse = ExportResponse;
8901
- var GetExportParams = zod224.object({
8902
- "id": zod224.string(),
8903
- "exportId": zod224.string()
8913
+ var GetExportParams = zod225.object({
8914
+ "id": zod225.string(),
8915
+ "exportId": zod225.string()
8904
8916
  });
8905
8917
  var GetExportResponse = ExportResponse;
8906
- var CancelExportParams = zod224.object({
8907
- "id": zod224.string(),
8908
- "exportId": zod224.string()
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 zod225 from "zod";
8919
- var HealthQueryParams = zod225.object({
8920
- "deep": zod225.literal("1").optional().describe("Pass `1` to run the deep dependency checks instead of the shallow liveness probe.")
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 = zod225.looseObject({});
8936
+ var GetOpenAPISpecResponse = zod226.looseObject({});
8925
8937
 
8926
8938
  // ../sdk/src/generated/zod/jobs/jobs.ts
8927
- import * as zod226 from "zod";
8928
- var GetJobParams = zod226.object({
8929
- "jobId": zod226.string()
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 = zod226.object({
8933
- "jobId": zod226.string()
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 zod227 from "zod";
8950
+ import * as zod228 from "zod";
8939
8951
  var searchLibraryQueryLimitDefault = 10;
8940
8952
  var searchLibraryQueryLimitMax = 25;
8941
- var SearchLibraryQueryParams = zod227.object({
8942
- "q": zod227.string().min(1).describe("What the moment should look like, in plain language. Describe the IMAGE, not the words spoken."),
8943
- "limit": zod227.int().min(1).max(searchLibraryQueryLimitMax).default(searchLibraryQueryLimitDefault).describe("Maximum moments to return. Default 10, maximum 25.")
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 = zod227.strictObject({
8947
- "projectId": zod227.string().optional().describe("Optional project to scope the token to; omitted = org library.")
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 = zod227.object({
8954
- "limit": zod227.int().min(1).max(listMediaQueryLimitMax).optional().describe("Page size (1..100), default 20. Out-of-range or unparseable clamps into the range."),
8955
- "after": zod227.string().optional().describe("Opaque cursor from the previous page's `pagination.nextCursor`. Forward-only."),
8956
- "kind": zod227.enum(["video", "audio", "image", "gif", "asset", "source", "stock"]).optional().describe("Filter to one media kind."),
8957
- "source": zod227.enum(["upload", "generated", "import-url", "stock"]).optional().describe("Filter by how the item entered the library."),
8958
- "tag": zod227.string().optional().describe("Filter to items carrying this EXACT tag (not a prefix or substring match).")
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 = zod227.object({
8962
- "id": zod227.string()
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 = zod227.object({
8971
- "id": zod227.string()
8982
+ var DeleteMediaParams = zod228.object({
8983
+ "id": zod228.string()
8972
8984
  });
8973
- var DeleteMediaResponse = zod227.void();
8974
- var GetMediaParams = zod227.object({
8975
- "id": zod227.string()
8985
+ var DeleteMediaResponse = zod228.void();
8986
+ var GetMediaParams = zod228.object({
8987
+ "id": zod228.string()
8976
8988
  });
8977
8989
  var GetMediaResponse = MediaResponse;
8978
- var GetMediaTranscriptParams2 = zod227.object({
8979
- "id": zod227.string()
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 = zod227.object({
8986
- "after": zod227.int().min(getMediaTranscriptQueryAfterMin).optional().describe("Zero-based utterance cursor returned as pagination.nextCursor."),
8987
- "before": zod227.int().min(getMediaTranscriptQueryBeforeMin).optional().describe("Zero-based utterance cursor for a backward page. Do not combine with after."),
8988
- "limit": zod227.int().min(1).max(getMediaTranscriptQueryLimitMax).default(getMediaTranscriptQueryLimitDefault).describe("Utterances per page.")
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 = zod227.object({
8992
- "id": zod227.string()
9003
+ var GetMediaContextParams = zod228.object({
9004
+ "id": zod228.string()
8993
9005
  });
8994
9006
  var GetMediaContextResponse = MediaContextResponse;
8995
- var TriggerSubjectDetectionParams2 = zod227.object({
8996
- "id": zod227.string()
9007
+ var TriggerSubjectDetectionParams2 = zod228.object({
9008
+ "id": zod228.string()
8997
9009
  });
8998
- var TriggerSubjectDetectionQueryParams = zod227.object({
8999
- "detector": zod227.enum(["face", "person"]).optional().describe("Which detector to run. Defaults to `face`; an unknown value is refused, never defaulted.")
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 = zod227.object({
9003
- "id": zod227.string()
9014
+ var TriggerMatteBakeParams = zod228.object({
9015
+ "id": zod228.string()
9004
9016
  });
9005
9017
  var TriggerMatteBakeBody = MatteBakeRequest;
9006
9018
  var TriggerMatteBakeResponse = MatteBakeTriggerResponse;
9007
- var ListMediaFactsParams2 = zod227.object({
9008
- "id": zod227.string()
9019
+ var ListMediaFactsParams2 = zod228.object({
9020
+ "id": zod228.string()
9009
9021
  });
9010
- var ListMediaFactsQueryParams = zod227.object({
9011
- "kind": zod227.enum(["subjectTrack", "matte"]).optional().describe("Resolve one exact editor prerequisite. Requires startSec and endSec; the response includes the server-selected `exact` result."),
9012
- "startSec": zod227.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."),
9013
- "endSec": zod227.number().optional().describe("Source-out of the clip's trim, in seconds. Must be sent WITH startSec.")
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 = zod227.object({
9017
- "id": zod227.string()
9028
+ var PurchaseMediaFactParams = zod228.object({
9029
+ "id": zod228.string()
9018
9030
  });
9019
9031
  var PurchaseMediaFactBody = MediaFactPurchaseRequest;
9020
9032
  var PurchaseMediaFactResponse = MediaFactPurchaseResponse;
9021
- var AnalyzeTranscriptParams = zod227.object({
9022
- "id": zod227.string()
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 zod228 from "zod";
9042
+ import * as zod229 from "zod";
9031
9043
  var listProjectsQueryLimitMax = 100;
9032
- var ListProjectsQueryParams = zod228.object({
9033
- "limit": zod228.int().min(1).max(listProjectsQueryLimitMax).optional().describe("Page size (1..100), default 20. Out-of-range or unparseable clamps into the range."),
9034
- "after": zod228.string().optional().describe("Opaque cursor from the previous page's `pagination.nextCursor`. Forward-only.")
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 = zod228.object({
9040
- "id": zod228.string()
9051
+ var GetProjectParams = zod229.object({
9052
+ "id": zod229.string()
9041
9053
  });
9042
9054
  var GetProjectResponse = ProjectResponse;
9043
- var PatchProjectParams = zod228.object({
9044
- "id": zod228.string()
9055
+ var PatchProjectParams = zod229.object({
9056
+ "id": zod229.string()
9045
9057
  });
9046
9058
  var PatchProjectBody = ProjectPatchRequest;
9047
9059
  var PatchProjectResponse = ProjectResponse;
9048
- var DeleteProjectParams = zod228.object({
9049
- "id": zod228.string()
9060
+ var DeleteProjectParams = zod229.object({
9061
+ "id": zod229.string()
9050
9062
  });
9051
- var DeleteProjectResponse = zod228.void();
9052
- var GetProjectContextParams = zod228.object({
9053
- "id": zod228.string()
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 zod229 from "zod";
9059
- var CreateRenderParams = zod229.object({
9060
- "id": zod229.string()
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 = zod229.object({
9065
- "id": zod229.string()
9076
+ var ListProjectRendersParams2 = zod230.object({
9077
+ "id": zod230.string()
9066
9078
  });
9067
9079
  var listProjectRendersQueryLimitMax = 100;
9068
- var ListProjectRendersQueryParams = zod229.object({
9069
- "limit": zod229.int().min(1).max(listProjectRendersQueryLimitMax).optional().describe("Page size (1..100), default 20. Out-of-range or unparseable clamps into the range."),
9070
- "after": zod229.string().optional().describe("Opaque cursor from the previous page's `pagination.nextCursor`. Forward-only."),
9071
- "status": zod229.string().optional().describe("Comma-separated render statuses to include (e.g. `error,cancelled`). Omit for every 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 = zod229.object({
9075
- "id": zod229.string()
9086
+ var PreviewClipParams = zod230.object({
9087
+ "id": zod230.string()
9076
9088
  });
9077
9089
  var PreviewClipBody = PreviewClipRequest;
9078
9090
  var PreviewClipResponse = RenderResponse;
9079
- var GetRenderParams = zod229.object({
9080
- "id": zod229.string(),
9081
- "renderId": zod229.string()
9091
+ var GetRenderParams = zod230.object({
9092
+ "id": zod230.string(),
9093
+ "renderId": zod230.string()
9082
9094
  });
9083
9095
  var GetRenderResponse = RenderResponse;
9084
- var CancelRenderParams = zod229.object({
9085
- "id": zod229.string(),
9086
- "renderId": zod229.string()
9096
+ var CancelRenderParams = zod230.object({
9097
+ "id": zod230.string(),
9098
+ "renderId": zod230.string()
9087
9099
  });
9088
9100
  var CancelRenderResponse = RenderResponse;
9089
- var RetryRenderParams = zod229.object({
9090
- "id": zod229.string(),
9091
- "renderId": zod229.string()
9101
+ var RetryRenderParams = zod230.object({
9102
+ "id": zod230.string(),
9103
+ "renderId": zod230.string()
9092
9104
  });
9093
9105
  var RetryRenderResponse = RenderResponse;
9094
- var RefreshRenderUrlParams = zod229.object({
9095
- "id": zod229.string(),
9096
- "renderId": zod229.string()
9106
+ var RefreshRenderUrlParams = zod230.object({
9107
+ "id": zod230.string(),
9108
+ "renderId": zod230.string()
9097
9109
  });
9098
9110
  var RefreshRenderUrlResponse = RenderRefreshUrlResponse;
9099
- var StreamRenderParams = zod229.object({
9100
- "id": zod229.string(),
9101
- "renderId": zod229.string()
9111
+ var StreamRenderParams = zod230.object({
9112
+ "id": zod230.string(),
9113
+ "renderId": zod230.string()
9102
9114
  });
9103
- var StreamRenderResponse = zod229.unknown();
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 zod230 from "zod";
9113
- var ListSelectorCandidatesParams2 = zod230.object({
9114
- "id": zod230.string()
9124
+ import * as zod231 from "zod";
9125
+ var ListSelectorCandidatesParams2 = zod231.object({
9126
+ "id": zod231.string()
9115
9127
  });
9116
- var ListSelectorCandidatesQueryParams = zod230.object({
9117
- "groupId": zod230.string().min(1).describe("The synced-angle group to score.")
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 = zod230.object({
9121
- "id": zod230.string()
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 zod231 from "zod";
9139
+ import * as zod232 from "zod";
9128
9140
  var listSessionsQueryLimitMax = 100;
9129
- var ListSessionsQueryParams = zod231.object({
9130
- "limit": zod231.int().min(1).max(listSessionsQueryLimitMax).optional().describe("Page size (1..100), default 20. Out-of-range or unparseable clamps into the range."),
9131
- "after": zod231.string().optional().describe("Opaque cursor from the previous page's `pagination.nextCursor`. Forward-only.")
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 = zod231.object({
9137
- "id": zod231.string()
9148
+ var GetSessionParams = zod232.object({
9149
+ "id": zod232.string()
9138
9150
  });
9139
9151
  var GetSessionResponse = SessionResponse;
9140
- var DeleteSessionParams = zod231.object({
9141
- "id": zod231.string()
9152
+ var DeleteSessionParams = zod232.object({
9153
+ "id": zod232.string()
9142
9154
  });
9143
- var DeleteSessionResponse = zod231.void();
9144
- var TriggerMuxJobParams = zod231.object({
9145
- "id": zod231.string()
9155
+ var DeleteSessionResponse = zod232.void();
9156
+ var TriggerMuxJobParams = zod232.object({
9157
+ "id": zod232.string()
9146
9158
  });
9147
9159
  var TriggerMuxJobResponse = MuxJobResponse;
9148
- var GetMuxJobParams = zod231.object({
9149
- "id": zod231.string()
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 zod232 from "zod";
9166
+ import * as zod233 from "zod";
9155
9167
  var ListSkillsResponse = SkillListResponse;
9156
- var GetSkillParams = zod232.object({
9157
- "name": zod232.string()
9168
+ var GetSkillParams = zod233.object({
9169
+ "name": zod233.string()
9158
9170
  });
9159
- var GetSkillResponse = zod232.unknown();
9171
+ var GetSkillResponse = zod233.unknown();
9160
9172
 
9161
9173
  // ../sdk/src/generated/zod/traces/traces.ts
9162
- import * as zod233 from "zod";
9163
- var ScoreTraceParams = zod233.object({
9164
- "traceId": zod233.string()
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 zod234 from "zod";
9182
+ import * as zod235 from "zod";
9171
9183
  var listWebhooksQueryLimitMax = 100;
9172
- var ListWebhooksQueryParams = zod234.object({
9173
- "limit": zod234.int().min(1).max(listWebhooksQueryLimitMax).optional().describe("Page size (1..100), default 20. Out-of-range or unparseable clamps into the range."),
9174
- "after": zod234.string().optional().describe("Opaque cursor from the previous page's `pagination.nextCursor`. Forward-only.")
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 = zod234.object({
9181
- "id": zod234.string()
9192
+ var GetWebhookParams = zod235.object({
9193
+ "id": zod235.string()
9182
9194
  });
9183
9195
  var GetWebhookResponse = WebhookResponse;
9184
- var PatchWebhookParams = zod234.object({
9185
- "id": zod234.string()
9196
+ var PatchWebhookParams = zod235.object({
9197
+ "id": zod235.string()
9186
9198
  });
9187
9199
  var PatchWebhookBody = WebhookPatchRequest;
9188
9200
  var PatchWebhookResponse = WebhookResponse;
9189
- var DeleteWebhookParams = zod234.object({
9190
- "id": zod234.string()
9201
+ var DeleteWebhookParams = zod235.object({
9202
+ "id": zod235.string()
9191
9203
  });
9192
- var DeleteWebhookResponse = zod234.void();
9193
- var TestWebhookParams = zod234.object({
9194
- "id": zod234.string()
9204
+ var DeleteWebhookResponse = zod235.void();
9205
+ var TestWebhookParams = zod235.object({
9206
+ "id": zod235.string()
9195
9207
  });
9196
9208
  var TestWebhookResponse = WebhookTestResponse;
9197
- var VerifyWebhookParams = zod234.object({
9198
- "id": zod234.string()
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 zod235 from "zod";
9215
+ import * as zod236 from "zod";
9204
9216
  var createWorkspaceBodyVideoUrlMax2 = 2048;
9205
- var CreateWorkspaceBody2 = zod235.strictObject({
9206
- "videoUrl": zod235.url().max(createWorkspaceBodyVideoUrlMax2),
9217
+ var CreateWorkspaceBody2 = zod236.strictObject({
9218
+ "videoUrl": zod236.url().max(createWorkspaceBodyVideoUrlMax2),
9207
9219
  "format": FormatSpec.optional()
9208
9220
  });
9209
- var CreateWorkspaceResponse = zod235.object({
9210
- "projectId": zod235.string(),
9211
- "mediaId": zod235.string()
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 } },