@nativestudio/cli 0.0.0-stage → 0.3.0-rc.11

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.
Files changed (266) hide show
  1. package/COMPATIBILITY.json +45 -0
  2. package/LICENSE +201 -0
  3. package/components/runtime.json +31 -0
  4. package/components/runtime.tgz +0 -0
  5. package/dist/BUNDLED_DEPENDENCIES.json +1 -0
  6. package/dist/_chunks/chunk-2UYKJ6YN.js +1 -0
  7. package/dist/_chunks/chunk-37PAJCKA.js +1 -0
  8. package/dist/_chunks/chunk-3AVC742O.js +1 -0
  9. package/dist/_chunks/chunk-4U4Y2K73.js +1 -0
  10. package/dist/_chunks/chunk-65FQPXKC.js +1 -0
  11. package/dist/_chunks/chunk-6DVZBKNV.js +1 -0
  12. package/dist/_chunks/chunk-6LU6GJKW.js +1 -0
  13. package/dist/_chunks/chunk-6N433ZWR.js +1 -0
  14. package/dist/_chunks/chunk-EGUJ2YRX.js +1 -0
  15. package/dist/_chunks/chunk-FU3524Z6.js +1 -0
  16. package/dist/_chunks/chunk-GZBWA4YN.js +1 -0
  17. package/dist/_chunks/chunk-HR34UMPP.js +1 -0
  18. package/dist/_chunks/chunk-HTUTYIRU.js +1 -0
  19. package/dist/_chunks/chunk-JFC6ZIGA.js +1 -0
  20. package/dist/_chunks/chunk-KB2GVAN7.js +1 -0
  21. package/dist/_chunks/chunk-L543FEDK.js +1 -0
  22. package/dist/_chunks/chunk-LISB5W7B.js +1 -0
  23. package/dist/_chunks/chunk-LUAH3KAS.js +1 -0
  24. package/dist/_chunks/chunk-M2KVQQ4X.js +1 -0
  25. package/dist/_chunks/chunk-ODGPV7MM.js +1 -0
  26. package/dist/_chunks/chunk-PUBMDP4E.js +1 -0
  27. package/dist/_chunks/chunk-PUNG4ND7.js +1 -0
  28. package/dist/_chunks/chunk-Q57YFNK5.js +1 -0
  29. package/dist/_chunks/chunk-QAJH4RJQ.js +1 -0
  30. package/dist/_chunks/chunk-VDNNFVTZ.js +3 -0
  31. package/dist/_chunks/chunk-VPYAXWXY.js +1 -0
  32. package/dist/_chunks/chunk-WFRRNWO5.js +1 -0
  33. package/dist/_chunks/connect-5YMO6MAR.js +1 -0
  34. package/dist/_chunks/device-management-2OTGEBJQ.js +1 -0
  35. package/dist/_chunks/device-preflight-XPHFZGLO.js +1 -0
  36. package/dist/_chunks/devices-inventory-VWNTU5TE.js +1 -0
  37. package/dist/_chunks/devices-main-VQ4APRVS.js +1 -0
  38. package/dist/_chunks/files-TTIQ7LYJ.js +1 -0
  39. package/dist/_chunks/host-main-H7DPLV7B.js +1 -0
  40. package/dist/_chunks/http-profile-MNJX6OXO.js +1 -0
  41. package/dist/_chunks/library-main-SAC3V2ML.js +1 -0
  42. package/dist/_chunks/local-main-D6B3APK6.js +1 -0
  43. package/dist/_chunks/local-mcp-ONCANLPH.js +1 -0
  44. package/dist/_chunks/main-PW6HB3NC.js +2 -0
  45. package/dist/_chunks/mcp-ZIGBYFUW.js +1 -0
  46. package/dist/_chunks/oauth-HC6TI7HB.js +1 -0
  47. package/dist/_chunks/render-main-GYWKP72O.js +1 -0
  48. package/dist/_chunks/source-import-BC5GNCUZ.js +1 -0
  49. package/dist/_chunks/src-R6DNU336.js +1 -0
  50. package/dist/_chunks/stdio-main-RIJS5REB.js +1 -0
  51. package/dist/_chunks/workspace-main-GNSKHKBG.js +1 -0
  52. package/dist/_types/cli/local/desktop-channel.d.ts +18 -0
  53. package/dist/_types/cli/local/desktop-contract.d.ts +2176 -0
  54. package/dist/_types/cli/local/desktop-device-contract.d.ts +779 -0
  55. package/dist/_types/cli/local/desktop-device-navigation.d.ts +3 -0
  56. package/dist/_types/cli/local/desktop-device-owner.d.ts +244 -0
  57. package/dist/_types/cli/local/desktop-device-state.d.ts +397 -0
  58. package/dist/_types/cli/local/desktop-library.d.ts +853 -0
  59. package/dist/_types/cli/local/desktop-node.d.ts +1 -0
  60. package/dist/_types/cli/local/desktop-owner.d.ts +766 -0
  61. package/dist/_types/cli/local/ledger.d.ts +363 -0
  62. package/dist/_types/cli/local/manager.d.ts +1695 -0
  63. package/dist/_types/cli/local/mcp-tools.d.ts +660 -0
  64. package/dist/_types/cli/local/releases.d.ts +123 -0
  65. package/dist/_types/cli/local-management.d.ts +16 -0
  66. package/dist/_types/cli/local-navigation.d.ts +4 -0
  67. package/dist/_types/contracts/accepted-shot.d.ts +27 -0
  68. package/dist/_types/contracts/accepted-visual-source.d.ts +120 -0
  69. package/dist/_types/contracts/agent-execution-lifecycle.d.ts +749 -0
  70. package/dist/_types/contracts/agent-execution-oauth.d.ts +71 -0
  71. package/dist/_types/contracts/agent-execution-registration.d.ts +240 -0
  72. package/dist/_types/contracts/agent-execution-selection.d.ts +107 -0
  73. package/dist/_types/contracts/agent-host-execution.d.ts +706 -0
  74. package/dist/_types/contracts/agent-host-generic-transport.d.ts +12 -0
  75. package/dist/_types/contracts/agent-host.d.ts +226 -0
  76. package/dist/_types/contracts/artifact-discovery.d.ts +242 -0
  77. package/dist/_types/contracts/artifact.d.ts +188 -0
  78. package/dist/_types/contracts/audio.d.ts +335 -0
  79. package/dist/_types/contracts/brief.d.ts +178 -0
  80. package/dist/_types/contracts/caption-render.d.ts +20 -0
  81. package/dist/_types/contracts/caption-transcript.d.ts +102 -0
  82. package/dist/_types/contracts/captions.d.ts +420 -0
  83. package/dist/_types/contracts/clip-framing.d.ts +14 -0
  84. package/dist/_types/contracts/clip-transition.d.ts +6 -0
  85. package/dist/_types/contracts/composition-authoring-guide.d.ts +160 -0
  86. package/dist/_types/contracts/composition-authoring.d.ts +744 -0
  87. package/dist/_types/contracts/composition-finding-locality.d.ts +24 -0
  88. package/dist/_types/contracts/composition-frame-render.d.ts +226 -0
  89. package/dist/_types/contracts/composition-making.d.ts +390 -0
  90. package/dist/_types/contracts/composition-observation.d.ts +239 -0
  91. package/dist/_types/contracts/composition-render-base.d.ts +293 -0
  92. package/dist/_types/contracts/composition-render-observation.d.ts +278 -0
  93. package/dist/_types/contracts/composition-render.d.ts +406 -0
  94. package/dist/_types/contracts/composition-repair.d.ts +451 -0
  95. package/dist/_types/contracts/composition-source-review.d.ts +1042 -0
  96. package/dist/_types/contracts/consistency-profile.d.ts +845 -0
  97. package/dist/_types/contracts/continuity-evaluation.d.ts +48 -0
  98. package/dist/_types/contracts/delivery-completion.d.ts +210 -0
  99. package/dist/_types/contracts/delivery-manifest.d.ts +72 -0
  100. package/dist/_types/contracts/delivery-operations.d.ts +1151 -0
  101. package/dist/_types/contracts/delivery-output-profile.d.ts +12 -0
  102. package/dist/_types/contracts/delivery-summary.d.ts +220 -0
  103. package/dist/_types/contracts/delivery-validation.d.ts +206 -0
  104. package/dist/_types/contracts/device-render.d.ts +77 -0
  105. package/dist/_types/contracts/director-proposal.d.ts +1067 -0
  106. package/dist/_types/contracts/editor-intelligence.d.ts +3374 -0
  107. package/dist/_types/contracts/exploration-recommendation.d.ts +519 -0
  108. package/dist/_types/contracts/external-agent-access.d.ts +93 -0
  109. package/dist/_types/contracts/final-ready.d.ts +301 -0
  110. package/dist/_types/contracts/final-render-profile.d.ts +59 -0
  111. package/dist/_types/contracts/final-render.d.ts +2810 -0
  112. package/dist/_types/contracts/foundation.d.ts +1 -0
  113. package/dist/_types/contracts/generation-contract.d.ts +268 -0
  114. package/dist/_types/contracts/generation-cost.d.ts +70 -0
  115. package/dist/_types/contracts/health.d.ts +6 -0
  116. package/dist/_types/contracts/human-identity.d.ts +162 -0
  117. package/dist/_types/contracts/hyperframe-profile.d.ts +5 -0
  118. package/dist/_types/contracts/ids.d.ts +41 -0
  119. package/dist/_types/contracts/index.d.ts +126 -0
  120. package/dist/_types/contracts/interface/common.d.ts +56 -0
  121. package/dist/_types/contracts/interface/execution-output.d.ts +99 -0
  122. package/dist/_types/contracts/interface/index.d.ts +7 -0
  123. package/dist/_types/contracts/interface/media-output.d.ts +90 -0
  124. package/dist/_types/contracts/interface/operation.d.ts +61 -0
  125. package/dist/_types/contracts/interface/output.d.ts +15 -0
  126. package/dist/_types/contracts/interface/production-snapshot.d.ts +654 -0
  127. package/dist/_types/contracts/interface/query.d.ts +315 -0
  128. package/dist/_types/contracts/keyframe-generation.d.ts +378 -0
  129. package/dist/_types/contracts/keyframe-reference.d.ts +31 -0
  130. package/dist/_types/contracts/keyframe-review.d.ts +753 -0
  131. package/dist/_types/contracts/lifecycle-event-projections.d.ts +191 -0
  132. package/dist/_types/contracts/lifecycle-events.d.ts +156 -0
  133. package/dist/_types/contracts/listening-evidence.d.ts +37 -0
  134. package/dist/_types/contracts/local-execution/agent-context.d.ts +365 -0
  135. package/dist/_types/contracts/local-execution/agent-evidence.d.ts +79 -0
  136. package/dist/_types/contracts/local-execution/agent-grant.d.ts +31 -0
  137. package/dist/_types/contracts/local-execution/agent-review.d.ts +992 -0
  138. package/dist/_types/contracts/local-execution/canonical.d.ts +2 -0
  139. package/dist/_types/contracts/local-execution/common.d.ts +49 -0
  140. package/dist/_types/contracts/local-execution/completion.d.ts +124 -0
  141. package/dist/_types/contracts/local-execution/components.d.ts +45 -0
  142. package/dist/_types/contracts/local-execution/descriptor.d.ts +38 -0
  143. package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
  144. package/dist/_types/contracts/local-execution/device-inventory.d.ts +76 -0
  145. package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
  146. package/dist/_types/contracts/local-execution/device.d.ts +102 -0
  147. package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
  148. package/dist/_types/contracts/local-execution/index.d.ts +37 -0
  149. package/dist/_types/contracts/local-execution/ipc.d.ts +3730 -0
  150. package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
  151. package/dist/_types/contracts/local-execution/library-result.d.ts +408 -0
  152. package/dist/_types/contracts/local-execution/library.d.ts +873 -0
  153. package/dist/_types/contracts/local-execution/lifecycle.d.ts +519 -0
  154. package/dist/_types/contracts/local-execution/local-navigation.d.ts +929 -0
  155. package/dist/_types/contracts/local-execution/management.d.ts +400 -0
  156. package/dist/_types/contracts/local-execution/media-recipe.d.ts +207 -0
  157. package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
  158. package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
  159. package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
  160. package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
  161. package/dist/_types/contracts/local-execution/preview.d.ts +243 -0
  162. package/dist/_types/contracts/local-execution/processor-capability.d.ts +39 -0
  163. package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
  164. package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1122 -0
  165. package/dist/_types/contracts/local-execution/processor.d.ts +6173 -0
  166. package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
  167. package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
  168. package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
  169. package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
  170. package/dist/_types/contracts/local-execution/tool-selection.d.ts +55 -0
  171. package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
  172. package/dist/_types/contracts/local-execution/work.d.ts +149 -0
  173. package/dist/_types/contracts/local-execution/workspace.d.ts +141 -0
  174. package/dist/_types/contracts/matrix-parameter-rule.d.ts +23 -0
  175. package/dist/_types/contracts/media-category.d.ts +11 -0
  176. package/dist/_types/contracts/media-export.d.ts +23 -0
  177. package/dist/_types/contracts/media-observation.d.ts +2080 -0
  178. package/dist/_types/contracts/model-capability-matrix.d.ts +118 -0
  179. package/dist/_types/contracts/native-tool-authority-failure.d.ts +38 -0
  180. package/dist/_types/contracts/native-tool-authority.d.ts +110 -0
  181. package/dist/_types/contracts/native-tool-execution.d.ts +287 -0
  182. package/dist/_types/contracts/native-tool-gateway.d.ts +41 -0
  183. package/dist/_types/contracts/native-video-audio.d.ts +62 -0
  184. package/dist/_types/contracts/navigation-context.d.ts +253 -0
  185. package/dist/_types/contracts/navigation-groups.d.ts +51 -0
  186. package/dist/_types/contracts/navigation.d.ts +248 -0
  187. package/dist/_types/contracts/observation-profile.d.ts +99 -0
  188. package/dist/_types/contracts/planning-input.d.ts +177 -0
  189. package/dist/_types/contracts/principal.d.ts +26 -0
  190. package/dist/_types/contracts/production-creation.d.ts +66 -0
  191. package/dist/_types/contracts/production-termination.d.ts +51 -0
  192. package/dist/_types/contracts/production.d.ts +111 -0
  193. package/dist/_types/contracts/programmatic-composition.d.ts +762 -0
  194. package/dist/_types/contracts/programmatic-exploration.d.ts +1822 -0
  195. package/dist/_types/contracts/programmatic-video-review.d.ts +894 -0
  196. package/dist/_types/contracts/project-library.d.ts +173 -0
  197. package/dist/_types/contracts/project.d.ts +93 -0
  198. package/dist/_types/contracts/provider-catalog.d.ts +421 -0
  199. package/dist/_types/contracts/provider-models.d.ts +3388 -0
  200. package/dist/_types/contracts/provider.d.ts +207 -0
  201. package/dist/_types/contracts/reference-preview.d.ts +55 -0
  202. package/dist/_types/contracts/repair-lifecycle.d.ts +2564 -0
  203. package/dist/_types/contracts/repair-plan.d.ts +646 -0
  204. package/dist/_types/contracts/repair-strategy.d.ts +1432 -0
  205. package/dist/_types/contracts/review-intelligence-evidence.d.ts +136 -0
  206. package/dist/_types/contracts/review-intelligence-final-output.d.ts +883 -0
  207. package/dist/_types/contracts/review-intelligence.d.ts +573 -0
  208. package/dist/_types/contracts/review1-repair-source.d.ts +452 -0
  209. package/dist/_types/contracts/review1-repair-strategy.d.ts +491 -0
  210. package/dist/_types/contracts/review1-repair.d.ts +36 -0
  211. package/dist/_types/contracts/rough-cut-manifest.d.ts +352 -0
  212. package/dist/_types/contracts/rough-cut-profile.d.ts +46 -0
  213. package/dist/_types/contracts/rough-cut-review.d.ts +459 -0
  214. package/dist/_types/contracts/rough-cut.d.ts +1260 -0
  215. package/dist/_types/contracts/scene-shot-plan.d.ts +882 -0
  216. package/dist/_types/contracts/sdk-discovery.d.ts +66 -0
  217. package/dist/_types/contracts/shot-direction.d.ts +113 -0
  218. package/dist/_types/contracts/shot-preparation-basis.d.ts +356 -0
  219. package/dist/_types/contracts/shot-preparation.d.ts +2285 -0
  220. package/dist/_types/contracts/shot-sound-instruction.d.ts +58 -0
  221. package/dist/_types/contracts/sound-making-plan.d.ts +1586 -0
  222. package/dist/_types/contracts/source-sound-policy.d.ts +10 -0
  223. package/dist/_types/contracts/source-workspace.d.ts +62 -0
  224. package/dist/_types/contracts/speech-cost.d.ts +81 -0
  225. package/dist/_types/contracts/speech.d.ts +573 -0
  226. package/dist/_types/contracts/story.d.ts +98 -0
  227. package/dist/_types/contracts/temporal-evidence-operation.d.ts +380 -0
  228. package/dist/_types/contracts/temporal-evidence-reference.d.ts +18 -0
  229. package/dist/_types/contracts/temporal-evidence.d.ts +248 -0
  230. package/dist/_types/contracts/tenant.d.ts +7 -0
  231. package/dist/_types/contracts/timeline-audio.d.ts +98 -0
  232. package/dist/_types/contracts/timeline-graphics.d.ts +80 -0
  233. package/dist/_types/contracts/timeline-manifest.d.ts +704 -0
  234. package/dist/_types/contracts/timeline-source-sound.d.ts +353 -0
  235. package/dist/_types/contracts/timeline-v2.d.ts +1267 -0
  236. package/dist/_types/contracts/timeline-version-reader.d.ts +2955 -0
  237. package/dist/_types/contracts/timeline-visual-layers.d.ts +1249 -0
  238. package/dist/_types/contracts/timeline.d.ts +142 -0
  239. package/dist/_types/contracts/transcription.d.ts +80 -0
  240. package/dist/_types/contracts/video-generation.d.ts +676 -0
  241. package/dist/_types/contracts/video-review.d.ts +1871 -0
  242. package/dist/_types/contracts/visual-exploration.d.ts +1586 -0
  243. package/dist/_types/contracts/visual-layer-render.d.ts +2820 -0
  244. package/dist/_types/contracts/visual-layer.d.ts +112 -0
  245. package/dist/_types/contracts/visual-sequence.d.ts +143 -0
  246. package/dist/_types/contracts/workspace.d.ts +32 -0
  247. package/dist/_types/contracts/writer-proposal.d.ts +268 -0
  248. package/dist/_types/sdk/errors.d.ts +14 -0
  249. package/dist/_types/sdk/local-runtime/components.d.ts +2 -0
  250. package/dist/_types/sdk/local-runtime/device-client.d.ts +187 -0
  251. package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
  252. package/dist/_types/sdk/local-runtime/workspace.d.ts +186 -0
  253. package/dist/_types/sdk/local-runtime-client.d.ts +2616 -0
  254. package/dist/entry.js +2 -0
  255. package/dist/local-management.d.ts +1 -0
  256. package/dist/local-management.js +1 -0
  257. package/dist/local-navigation.d.ts +1 -0
  258. package/dist/local-navigation.js +1 -0
  259. package/dist/native/Bootstrap.ps1 +90 -0
  260. package/dist/native/JobNative.cs +137 -0
  261. package/dist/native/JobRunner.cs +381 -0
  262. package/dist/native/NativeMain.cs +161 -0
  263. package/dist/native/PipeBridge.cs +260 -0
  264. package/dist/native/PrivateAccess.cs +152 -0
  265. package/package.json +27 -3
  266. package/README.md +0 -3
@@ -0,0 +1,2810 @@
1
+ import { FinalRenderProfileSchema, FinalRenderProfileIdSchema } from "./final-render-profile.js";
2
+ export { FinalRenderProfileSchema, FinalRenderProfileIdSchema } from "./final-render-profile.js";
3
+ import { VisualLayerFinalProfileSchema } from "./visual-layer-render.js";
4
+ import { z } from "zod";
5
+ import { DeviceRenderTargetSchema } from "./device-render.js";
6
+ import { TimelineScopeSchema } from "./timeline.js";
7
+ import { FinalReadyViewSchema } from "./final-ready.js";
8
+ import { RoughCutAdmissionSchema, RoughCutViewSchema, RoughCutArtifactSchema } from "./rough-cut.js";
9
+ import { QueryPageInfoSchema } from "./interface/common.js";
10
+ declare const sha: z.ZodString;
11
+ export declare const FinalRenderStartSchema: z.ZodObject<z.core.util.Extend<typeof TimelineScopeSchema.shape, {
12
+ deviceExecution: z.ZodOptional<typeof DeviceRenderTargetSchema>;
13
+ selectionId: z.ZodUUID;
14
+ expectedFinalReadyVersion: z.ZodInt;
15
+ timelineVersionId: z.ZodUUID;
16
+ timelineFingerprint: typeof sha;
17
+ expectedProductionRevision: z.ZodInt;
18
+ profileId: typeof FinalRenderProfileIdSchema;
19
+ audioPolicy: z.ZodEnum<{
20
+ SILENT: "SILENT";
21
+ MIXED: "MIXED";
22
+ }>;
23
+ captionPolicy: z.ZodEnum<{
24
+ NONE: "NONE";
25
+ BURN_IN: "BURN_IN";
26
+ }>;
27
+ idempotencyKey: z.ZodString;
28
+ }>, typeof TimelineScopeSchema._zod.config>;
29
+ export declare const FinalRenderGetSchema: z.ZodObject<{
30
+ tenantId: typeof import("./ids.js").TenantIdSchema;
31
+ productionId: typeof import("./ids.js").ProductionIdSchema;
32
+ renderId: z.ZodUUID;
33
+ }, z.core.$strict>;
34
+ export declare const FinalRenderQuerySchema: z.ZodObject<{
35
+ tenantId: typeof import("./ids.js").TenantIdSchema;
36
+ productionId: typeof import("./ids.js").ProductionIdSchema;
37
+ limit: typeof import("./interface/common.js").QueryLimitSchema;
38
+ next: z.ZodOptional<typeof import("./interface/common.js").ContinuationSchema>;
39
+ }, z.core.$strict>;
40
+ export declare const FinalRenderManifestSchema: z.ZodObject<{
41
+ schemaVersion: z.ZodLiteral<1>;
42
+ timeline: z.ZodObject<{
43
+ schemaVersion: z.ZodLiteral<1>;
44
+ caption: z.ZodOptional<z.ZodObject<{
45
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
46
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
47
+ transcriptProvenance: z.ZodOptional<z.ZodObject<{
48
+ schemaVersion: z.ZodLiteral<1>;
49
+ advisory: z.ZodLiteral<true>;
50
+ timing: z.ZodLiteral<"PROVIDER_REPORTED">;
51
+ timelineVersionId: z.ZodUUID;
52
+ timingFingerprint: z.ZodString;
53
+ sources: z.ZodArray<z.ZodObject<{
54
+ observationId: z.ZodUUID;
55
+ artifactId: z.ZodUUID;
56
+ representationId: z.ZodUUID;
57
+ checksumSha256: z.ZodString;
58
+ placement: z.ZodDiscriminatedUnion<[z.ZodObject<{
59
+ kind: z.ZodLiteral<"AUDIO_TRACK">;
60
+ purpose: z.ZodEnum<{
61
+ VOICEOVER: "VOICEOVER";
62
+ MUSIC: "MUSIC";
63
+ }>;
64
+ }, z.core.$strict>, z.ZodObject<{
65
+ kind: z.ZodLiteral<"SPEECH_CUE">;
66
+ cueId: z.ZodString;
67
+ }, z.core.$strict>, z.ZodObject<{
68
+ kind: z.ZodLiteral<"TIMELINE_OUTPUT">;
69
+ }, z.core.$strict>], "kind">;
70
+ granularity: z.ZodEnum<{
71
+ word: "word";
72
+ segment: "segment";
73
+ }>;
74
+ sourceInMs: z.ZodInt;
75
+ sourceOutMs: z.ZodInt;
76
+ startMs: z.ZodInt;
77
+ spanIndices: z.ZodArray<z.ZodInt>;
78
+ excludedSpans: z.ZodInt;
79
+ }, z.core.$strict>>;
80
+ }, z.core.$strict>>;
81
+ id: z.ZodUUID;
82
+ captionId: z.ZodUUID;
83
+ projectId: z.ZodUUID;
84
+ version: z.ZodInt;
85
+ artifactId: z.ZodUUID;
86
+ content: z.ZodObject<{
87
+ language: z.ZodString;
88
+ durationMs: z.ZodInt;
89
+ cues: z.ZodArray<z.ZodObject<{
90
+ startMs: z.ZodInt;
91
+ endMs: z.ZodInt;
92
+ text: z.ZodString;
93
+ }, z.core.$strict>>;
94
+ }, z.core.$strict>;
95
+ fingerprint: z.ZodString;
96
+ original: z.ZodObject<{
97
+ id: z.ZodUUID;
98
+ checksumSha256: z.ZodString;
99
+ byteSize: z.ZodInt;
100
+ }, z.core.$strict>;
101
+ subtitle: z.ZodObject<{
102
+ id: z.ZodUUID;
103
+ checksumSha256: z.ZodString;
104
+ byteSize: z.ZodInt;
105
+ }, z.core.$strict>;
106
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
107
+ createdByPrincipalId: z.ZodUUID;
108
+ createdAt: z.ZodISODateTime;
109
+ }, z.core.$strict>>;
110
+ captionStyle: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
111
+ id: z.ZodLiteral<"PLAIN_TEXT_NOTO_SANS_SC_V1">;
112
+ fontSha256: z.ZodLiteral<"a3041811a78c361b1de50f953c805e0244951c21c5bd412f7232ef0d899af0da">;
113
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
114
+ }, z.core.$strict>, z.ZodObject<{
115
+ id: z.ZodLiteral<"PLAIN_TEXT_NATIVE_SC_REGULAR_V2">;
116
+ fontSha256: z.ZodLiteral<"e5a51f41fc1b827da651afee3975e07a182ff4f8e04d9dfc0a3cecd6177a52b6">;
117
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
118
+ }, z.core.$strict>], "id">>;
119
+ audio: z.ZodOptional<z.ZodObject<{
120
+ mix: z.ZodObject<{
121
+ id: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
122
+ sampleRateHz: z.ZodLiteral<48000>;
123
+ audioChannels: z.ZodLiteral<2>;
124
+ audioCodec: z.ZodLiteral<"aac">;
125
+ bitrate: z.ZodLiteral<192000>;
126
+ peakPermille: z.ZodLiteral<950>;
127
+ duckingMusicPermille: z.ZodInt;
128
+ }, z.core.$strict>;
129
+ tracks: z.ZodArray<z.ZodObject<{
130
+ sourceInMs: z.ZodInt;
131
+ sourceOutMs: z.ZodInt;
132
+ startMs: z.ZodInt;
133
+ gainPermille: z.ZodInt;
134
+ source: z.ZodObject<{
135
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
136
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
137
+ purpose: z.ZodEnum<{
138
+ VOICEOVER: "VOICEOVER";
139
+ MUSIC: "MUSIC";
140
+ }>;
141
+ id: z.ZodUUID;
142
+ audioId: z.ZodUUID;
143
+ projectId: z.ZodUUID;
144
+ version: z.ZodInt;
145
+ artifactId: z.ZodUUID;
146
+ original: z.ZodObject<{
147
+ id: z.ZodUUID;
148
+ checksumSha256: z.ZodString;
149
+ byteSize: z.ZodInt;
150
+ }, z.core.$strict>;
151
+ media: z.ZodObject<{
152
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
153
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
154
+ sampleRateHz: z.ZodLiteral<48000>;
155
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
156
+ sampleCount: z.ZodInt;
157
+ durationMs: z.ZodInt;
158
+ }, z.core.$strict>;
159
+ originalName: z.ZodNullable<z.ZodString>;
160
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
161
+ createdByPrincipalId: z.ZodUUID;
162
+ createdAt: z.ZodISODateTime;
163
+ generation: z.ZodOptional<z.ZodObject<{
164
+ generationId: z.ZodUUID;
165
+ executionClass: z.ZodEnum<{
166
+ LIVE: "LIVE";
167
+ TEST_ONLY: "TEST_ONLY";
168
+ }>;
169
+ executionTarget: z.ZodOptional<z.ZodLiteral<"TENANT_DEVICE">>;
170
+ sourceArtifactId: z.ZodUUID;
171
+ sourceRepresentationId: z.ZodUUID;
172
+ sourceChecksumSha256: z.ZodString;
173
+ sourceByteSize: z.ZodInt;
174
+ sourceMedia: z.ZodObject<{
175
+ sampleRateHz: z.ZodInt;
176
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
177
+ sampleCount: z.ZodInt;
178
+ }, z.core.$strict>;
179
+ normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
180
+ padSamples: z.ZodInt;
181
+ }, z.core.$strict>>;
182
+ }, z.core.$strict>;
183
+ }, z.core.$strict>>;
184
+ }, z.core.$strict>>;
185
+ graphics: z.ZodOptional<z.ZodArray<z.ZodObject<{
186
+ source: z.ZodObject<{
187
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
188
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
189
+ productionId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
190
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
191
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
192
+ checksumSha256: z.ZodString;
193
+ contentType: z.ZodEnum<{
194
+ "image/png": "image/png";
195
+ "image/webp": "image/webp";
196
+ }>;
197
+ byteSize: z.ZodInt;
198
+ width: z.ZodInt;
199
+ height: z.ZodInt;
200
+ }, z.core.$strict>;
201
+ placement: z.ZodObject<{
202
+ startFrame: z.ZodInt;
203
+ endFrame: z.ZodInt;
204
+ anchor: z.ZodEnum<{
205
+ TOP_LEFT: "TOP_LEFT";
206
+ TOP_RIGHT: "TOP_RIGHT";
207
+ BOTTOM_LEFT: "BOTTOM_LEFT";
208
+ BOTTOM_RIGHT: "BOTTOM_RIGHT";
209
+ }>;
210
+ widthPermille: z.ZodInt;
211
+ marginXPermille: z.ZodInt;
212
+ marginYPermille: z.ZodInt;
213
+ opacityPermille: z.ZodInt;
214
+ }, z.core.$strict>;
215
+ }, z.core.$strict>>>;
216
+ basis: z.ZodObject<{
217
+ briefVersionId: z.core.$ZodBranded<z.ZodUUID, "BriefVersionId", "out">;
218
+ briefVersion: z.ZodInt;
219
+ storyVersion: z.ZodInt;
220
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
221
+ planVersion: z.ZodInt;
222
+ }, z.core.$strict>;
223
+ output: z.ZodObject<{
224
+ aspectRatio: z.ZodEnum<{
225
+ "16:9": "16:9";
226
+ "9:16": "9:16";
227
+ }>;
228
+ profile: z.ZodEnum<{
229
+ MP4_H264_1080P: "MP4_H264_1080P";
230
+ MP4_H264_720P: "MP4_H264_720P";
231
+ MP4_H264_480P: "MP4_H264_480P";
232
+ }>;
233
+ }, z.core.$strict>;
234
+ clips: z.ZodArray<z.ZodObject<{
235
+ ordinal: z.ZodInt;
236
+ source: z.ZodObject<{
237
+ acceptanceId: z.ZodUUID;
238
+ reviewId: z.ZodUUID;
239
+ generationId: z.ZodUUID;
240
+ candidateId: z.ZodUUID;
241
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
242
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
243
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
244
+ checksumSha256: z.ZodString;
245
+ artifactChecksumSha256: z.ZodString;
246
+ preparationId: z.ZodUUID;
247
+ contractId: z.ZodUUID;
248
+ contractFingerprint: z.ZodString;
249
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
250
+ planVersion: z.ZodInt;
251
+ shotPlanningRevision: z.ZodInt;
252
+ executionClass: z.ZodEnum<{
253
+ LIVE: "LIVE";
254
+ TEST_ONLY: "TEST_ONLY";
255
+ }>;
256
+ reviewResult: z.ZodEnum<{
257
+ PASS: "PASS";
258
+ WARNING: "WARNING";
259
+ }>;
260
+ }, z.core.$strict>;
261
+ technical: z.ZodObject<{
262
+ contentType: z.ZodLiteral<"video/mp4">;
263
+ checksumSha256: z.ZodString;
264
+ byteSize: z.ZodInt;
265
+ width: z.ZodInt;
266
+ height: z.ZodInt;
267
+ durationMs: z.ZodInt;
268
+ frameRate: z.ZodNumber;
269
+ videoCodec: z.ZodEnum<{
270
+ h264: "h264";
271
+ hevc: "hevc";
272
+ }>;
273
+ pixelFormat: z.ZodOptional<z.ZodLiteral<"yuv420p10le">>;
274
+ hasAudio: z.ZodBoolean;
275
+ nativeAudio: z.ZodOptional<z.ZodObject<{
276
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
277
+ sourceCodec: z.ZodLiteral<"aac">;
278
+ sourceSampleRateHz: z.ZodInt;
279
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
280
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
281
+ sourceFrameCount: z.ZodInt;
282
+ sourceStartOffsetMs: z.ZodNumber;
283
+ sourceDeclaredDurationMs: z.ZodNumber;
284
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
285
+ media: z.ZodObject<{
286
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
287
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
288
+ sampleRateHz: z.ZodLiteral<48000>;
289
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
290
+ sampleCount: z.ZodInt;
291
+ durationMs: z.ZodNumber;
292
+ }, z.core.$strict>;
293
+ checksumSha256: z.ZodString;
294
+ }, z.core.$strict>>;
295
+ }, z.core.$strict>;
296
+ sourceInMs: z.ZodInt;
297
+ sourceOutMs: z.ZodInt;
298
+ startMs: z.ZodInt;
299
+ durationMs: z.ZodInt;
300
+ transition: z.ZodUnion<readonly [z.ZodLiteral<"CUT">, z.ZodObject<{
301
+ kind: z.ZodLiteral<"CROSS_DISSOLVE_V1">;
302
+ durationFrames: z.ZodInt;
303
+ }, z.core.$strict>]>;
304
+ framing: z.ZodOptional<z.ZodObject<{
305
+ algorithm: z.ZodLiteral<"CROP_PAD_V1">;
306
+ crop: z.ZodObject<{
307
+ x: z.ZodInt;
308
+ y: z.ZodInt;
309
+ width: z.ZodInt;
310
+ height: z.ZodInt;
311
+ }, z.core.$strict>;
312
+ anchorXPermille: z.ZodInt;
313
+ anchorYPermille: z.ZodInt;
314
+ }, z.core.$strict>>;
315
+ }, z.core.$strict>>;
316
+ duration: z.ZodObject<{
317
+ totalMs: z.ZodInt;
318
+ targetMs: z.ZodInt;
319
+ minMs: z.ZodLiteral<30000>;
320
+ maxMs: z.ZodLiteral<60000>;
321
+ deltaTargetMs: z.ZodInt;
322
+ classification: z.ZodEnum<{
323
+ TOO_SHORT: "TOO_SHORT";
324
+ WITHIN_TARGET: "WITHIN_TARGET";
325
+ TOO_LONG: "TOO_LONG";
326
+ }>;
327
+ }, z.core.$strict>;
328
+ missingPlannedShotIds: z.ZodArray<z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">>;
329
+ executionClass: z.ZodEnum<{
330
+ LIVE: "LIVE";
331
+ TEST_ONLY: "TEST_ONLY";
332
+ }>;
333
+ id: z.ZodUUID;
334
+ timelineId: z.ZodUUID;
335
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
336
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
337
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
338
+ version: z.ZodInt;
339
+ fingerprint: z.ZodString;
340
+ createdByPrincipalId: z.core.$ZodBranded<z.ZodUUID, "PrincipalId", "out">;
341
+ createdAt: z.ZodISODateTime;
342
+ }, z.core.$strict>;
343
+ frames: z.ZodArray<z.ZodObject<{
344
+ ordinal: z.ZodInt;
345
+ startFrame: z.ZodInt;
346
+ frameCount: z.ZodInt;
347
+ overlapFrames: z.ZodDefault<z.ZodInt>;
348
+ }, z.core.$strict>>;
349
+ totalFrames: z.ZodInt;
350
+ selection: z.ZodObject<{
351
+ tenantId: typeof import("./ids.js").TenantIdSchema;
352
+ productionId: typeof import("./ids.js").ProductionIdSchema;
353
+ id: z.ZodUUID;
354
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
355
+ version: z.ZodInt;
356
+ action: z.ZodEnum<{
357
+ REJECT: "REJECT";
358
+ REVOKE: "REVOKE";
359
+ SELECT: "SELECT";
360
+ }>;
361
+ renderId: z.ZodUUID;
362
+ reviewId: z.ZodUUID;
363
+ basisFingerprint: z.ZodString;
364
+ timelineVersionId: z.ZodUUID;
365
+ timelineFingerprint: z.ZodString;
366
+ artifactId: z.ZodUUID;
367
+ representationId: z.ZodUUID;
368
+ checksumSha256: z.ZodString;
369
+ outputProfile: z.ZodEnum<{
370
+ MP4_H264_1080P: "MP4_H264_1080P";
371
+ MP4_H264_720P: "MP4_H264_720P";
372
+ MP4_H264_480P: "MP4_H264_480P";
373
+ }>;
374
+ executionClass: z.ZodEnum<{
375
+ LIVE: "LIVE";
376
+ TEST_ONLY: "TEST_ONLY";
377
+ }>;
378
+ previousSelectionId: z.ZodNullable<z.ZodUUID>;
379
+ acknowledgeWarnings: z.ZodBoolean;
380
+ warningKeys: z.ZodArray<z.ZodString>;
381
+ reason: z.ZodString;
382
+ createdByPrincipalId: z.core.$ZodBranded<z.ZodUUID, "PrincipalId", "out">;
383
+ createdAt: z.ZodISODateTime;
384
+ }, z.core.$strict>;
385
+ selectionVersion: z.ZodInt;
386
+ profile: z.ZodObject<{
387
+ id: z.ZodEnum<{
388
+ FINAL_H264_1080P_V1: "FINAL_H264_1080P_V1";
389
+ FINAL_H264_720P_V1: "FINAL_H264_720P_V1";
390
+ FINAL_H264_480P_V1: "FINAL_H264_480P_V1";
391
+ }>;
392
+ algorithm: z.ZodEnum<{
393
+ ORDERED_TRIM_CUT_V1: "ORDERED_TRIM_CUT_V1";
394
+ ORDERED_COMPOSE_V2: "ORDERED_COMPOSE_V2";
395
+ }>;
396
+ picturePolicy: z.ZodOptional<z.ZodLiteral<"CROP_PAD_V1">>;
397
+ width: z.ZodUnion<readonly [z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>, z.ZodLiteral<854>, z.ZodLiteral<480>]>;
398
+ height: z.ZodUnion<readonly [z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>, z.ZodLiteral<854>, z.ZodLiteral<480>]>;
399
+ frameRate: z.ZodLiteral<30>;
400
+ codec: z.ZodLiteral<"h264">;
401
+ pixelFormat: z.ZodLiteral<"yuv420p">;
402
+ fit: z.ZodLiteral<"PAD">;
403
+ hasAudio: z.ZodBoolean;
404
+ audioMix: z.ZodOptional<z.ZodObject<{
405
+ id: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
406
+ sampleRateHz: z.ZodLiteral<48000>;
407
+ audioChannels: z.ZodLiteral<2>;
408
+ audioCodec: z.ZodLiteral<"aac">;
409
+ bitrate: z.ZodLiteral<192000>;
410
+ peakPermille: z.ZodLiteral<950>;
411
+ duckingMusicPermille: z.ZodInt;
412
+ }, z.core.$strict>>;
413
+ framePolicy: z.ZodLiteral<"CUMULATIVE_NEAREST_FRAME">;
414
+ encoder: z.ZodLiteral<"libx264">;
415
+ crf: z.ZodLiteral<18>;
416
+ preset: z.ZodLiteral<"veryfast">;
417
+ gopFrames: z.ZodLiteral<30>;
418
+ bFrames: z.ZodLiteral<0>;
419
+ audioPolicy: z.ZodEnum<{
420
+ SILENT: "SILENT";
421
+ MIXED: "MIXED";
422
+ }>;
423
+ captionPolicy: z.ZodEnum<{
424
+ NONE: "NONE";
425
+ BURN_IN: "BURN_IN";
426
+ }>;
427
+ sourceQualityPolicy: z.ZodLiteral<"NO_UPSCALE_V1">;
428
+ captionStyle: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
429
+ id: z.ZodLiteral<"PLAIN_TEXT_NOTO_SANS_SC_V1">;
430
+ fontSha256: z.ZodLiteral<"a3041811a78c361b1de50f953c805e0244951c21c5bd412f7232ef0d899af0da">;
431
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
432
+ }, z.core.$strict>, z.ZodObject<{
433
+ id: z.ZodLiteral<"PLAIN_TEXT_NATIVE_SC_REGULAR_V2">;
434
+ fontSha256: z.ZodLiteral<"e5a51f41fc1b827da651afee3975e07a182ff4f8e04d9dfc0a3cecd6177a52b6">;
435
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
436
+ }, z.core.$strict>], "id">>;
437
+ graphicsPolicy: z.ZodOptional<z.ZodLiteral<"OVERLAY_V1">>;
438
+ }, z.core.$strict>;
439
+ }, z.core.$strict>;
440
+ export declare const FinalRenderV2ManifestSchema: z.ZodObject<{
441
+ frames: z.ZodArray<z.ZodObject<{
442
+ ordinal: z.ZodInt;
443
+ startFrame: z.ZodInt;
444
+ frameCount: z.ZodInt;
445
+ overlapFrames: z.ZodDefault<z.ZodInt>;
446
+ }, z.core.$strict>>;
447
+ totalFrames: z.ZodInt;
448
+ schemaVersion: z.ZodLiteral<2>;
449
+ timeline: typeof import("./timeline-v2.js").TimelineV2VersionSchema;
450
+ selection: z.ZodObject<{
451
+ tenantId: typeof import("./ids.js").TenantIdSchema;
452
+ productionId: typeof import("./ids.js").ProductionIdSchema;
453
+ id: z.ZodUUID;
454
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
455
+ version: z.ZodInt;
456
+ action: z.ZodEnum<{
457
+ REJECT: "REJECT";
458
+ REVOKE: "REVOKE";
459
+ SELECT: "SELECT";
460
+ }>;
461
+ renderId: z.ZodUUID;
462
+ reviewId: z.ZodUUID;
463
+ basisFingerprint: z.ZodString;
464
+ timelineVersionId: z.ZodUUID;
465
+ timelineFingerprint: z.ZodString;
466
+ artifactId: z.ZodUUID;
467
+ representationId: z.ZodUUID;
468
+ checksumSha256: z.ZodString;
469
+ outputProfile: z.ZodEnum<{
470
+ MP4_H264_1080P: "MP4_H264_1080P";
471
+ MP4_H264_720P: "MP4_H264_720P";
472
+ MP4_H264_480P: "MP4_H264_480P";
473
+ }>;
474
+ executionClass: z.ZodEnum<{
475
+ LIVE: "LIVE";
476
+ TEST_ONLY: "TEST_ONLY";
477
+ }>;
478
+ previousSelectionId: z.ZodNullable<z.ZodUUID>;
479
+ acknowledgeWarnings: z.ZodBoolean;
480
+ warningKeys: z.ZodArray<z.ZodString>;
481
+ reason: z.ZodString;
482
+ createdByPrincipalId: z.core.$ZodBranded<z.ZodUUID, "PrincipalId", "out">;
483
+ createdAt: z.ZodISODateTime;
484
+ }, z.core.$strict>;
485
+ selectionVersion: z.ZodInt;
486
+ profile: z.ZodObject<{
487
+ id: z.ZodEnum<{
488
+ FINAL_H264_1080P_V1: "FINAL_H264_1080P_V1";
489
+ FINAL_H264_720P_V1: "FINAL_H264_720P_V1";
490
+ FINAL_H264_480P_V1: "FINAL_H264_480P_V1";
491
+ }>;
492
+ algorithm: z.ZodEnum<{
493
+ ORDERED_TRIM_CUT_V1: "ORDERED_TRIM_CUT_V1";
494
+ ORDERED_COMPOSE_V2: "ORDERED_COMPOSE_V2";
495
+ }>;
496
+ picturePolicy: z.ZodOptional<z.ZodLiteral<"CROP_PAD_V1">>;
497
+ width: z.ZodUnion<readonly [z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>, z.ZodLiteral<854>, z.ZodLiteral<480>]>;
498
+ height: z.ZodUnion<readonly [z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>, z.ZodLiteral<854>, z.ZodLiteral<480>]>;
499
+ frameRate: z.ZodLiteral<30>;
500
+ codec: z.ZodLiteral<"h264">;
501
+ pixelFormat: z.ZodLiteral<"yuv420p">;
502
+ fit: z.ZodLiteral<"PAD">;
503
+ hasAudio: z.ZodBoolean;
504
+ audioMix: z.ZodOptional<z.ZodObject<{
505
+ id: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
506
+ sampleRateHz: z.ZodLiteral<48000>;
507
+ audioChannels: z.ZodLiteral<2>;
508
+ audioCodec: z.ZodLiteral<"aac">;
509
+ bitrate: z.ZodLiteral<192000>;
510
+ peakPermille: z.ZodLiteral<950>;
511
+ duckingMusicPermille: z.ZodInt;
512
+ }, z.core.$strict>>;
513
+ framePolicy: z.ZodLiteral<"CUMULATIVE_NEAREST_FRAME">;
514
+ encoder: z.ZodLiteral<"libx264">;
515
+ crf: z.ZodLiteral<18>;
516
+ preset: z.ZodLiteral<"veryfast">;
517
+ gopFrames: z.ZodLiteral<30>;
518
+ bFrames: z.ZodLiteral<0>;
519
+ audioPolicy: z.ZodEnum<{
520
+ SILENT: "SILENT";
521
+ MIXED: "MIXED";
522
+ }>;
523
+ captionPolicy: z.ZodEnum<{
524
+ NONE: "NONE";
525
+ BURN_IN: "BURN_IN";
526
+ }>;
527
+ sourceQualityPolicy: z.ZodLiteral<"NO_UPSCALE_V1">;
528
+ captionStyle: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
529
+ id: z.ZodLiteral<"PLAIN_TEXT_NOTO_SANS_SC_V1">;
530
+ fontSha256: z.ZodLiteral<"a3041811a78c361b1de50f953c805e0244951c21c5bd412f7232ef0d899af0da">;
531
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
532
+ }, z.core.$strict>, z.ZodObject<{
533
+ id: z.ZodLiteral<"PLAIN_TEXT_NATIVE_SC_REGULAR_V2">;
534
+ fontSha256: z.ZodLiteral<"e5a51f41fc1b827da651afee3975e07a182ff4f8e04d9dfc0a3cecd6177a52b6">;
535
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
536
+ }, z.core.$strict>], "id">>;
537
+ graphicsPolicy: z.ZodOptional<z.ZodLiteral<"OVERLAY_V1">>;
538
+ }, z.core.$strict>;
539
+ }, z.core.$strict>;
540
+ export declare const FinalRenderV3ManifestSchema: z.ZodObject<{
541
+ frames: z.ZodArray<z.ZodObject<{
542
+ ordinal: z.ZodInt;
543
+ startFrame: z.ZodInt;
544
+ frameCount: z.ZodInt;
545
+ overlapFrames: z.ZodDefault<z.ZodInt>;
546
+ }, z.core.$strict>>;
547
+ totalFrames: z.ZodInt;
548
+ schemaVersion: z.ZodLiteral<3>;
549
+ timeline: z.ZodObject<{
550
+ caption: z.ZodOptional<z.ZodObject<{
551
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
552
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
553
+ transcriptProvenance: z.ZodOptional<z.ZodObject<{
554
+ schemaVersion: z.ZodLiteral<1>;
555
+ advisory: z.ZodLiteral<true>;
556
+ timing: z.ZodLiteral<"PROVIDER_REPORTED">;
557
+ timelineVersionId: z.ZodUUID;
558
+ timingFingerprint: z.ZodString;
559
+ sources: z.ZodArray<z.ZodObject<{
560
+ observationId: z.ZodUUID;
561
+ artifactId: z.ZodUUID;
562
+ representationId: z.ZodUUID;
563
+ checksumSha256: z.ZodString;
564
+ placement: z.ZodDiscriminatedUnion<[z.ZodObject<{
565
+ kind: z.ZodLiteral<"AUDIO_TRACK">;
566
+ purpose: z.ZodEnum<{
567
+ VOICEOVER: "VOICEOVER";
568
+ MUSIC: "MUSIC";
569
+ }>;
570
+ }, z.core.$strict>, z.ZodObject<{
571
+ kind: z.ZodLiteral<"SPEECH_CUE">;
572
+ cueId: z.ZodString;
573
+ }, z.core.$strict>, z.ZodObject<{
574
+ kind: z.ZodLiteral<"TIMELINE_OUTPUT">;
575
+ }, z.core.$strict>], "kind">;
576
+ granularity: z.ZodEnum<{
577
+ word: "word";
578
+ segment: "segment";
579
+ }>;
580
+ sourceInMs: z.ZodInt;
581
+ sourceOutMs: z.ZodInt;
582
+ startMs: z.ZodInt;
583
+ spanIndices: z.ZodArray<z.ZodInt>;
584
+ excludedSpans: z.ZodInt;
585
+ }, z.core.$strict>>;
586
+ }, z.core.$strict>>;
587
+ id: z.ZodUUID;
588
+ captionId: z.ZodUUID;
589
+ projectId: z.ZodUUID;
590
+ version: z.ZodInt;
591
+ artifactId: z.ZodUUID;
592
+ content: z.ZodObject<{
593
+ language: z.ZodString;
594
+ durationMs: z.ZodInt;
595
+ cues: z.ZodArray<z.ZodObject<{
596
+ startMs: z.ZodInt;
597
+ endMs: z.ZodInt;
598
+ text: z.ZodString;
599
+ }, z.core.$strict>>;
600
+ }, z.core.$strict>;
601
+ fingerprint: z.ZodString;
602
+ original: z.ZodObject<{
603
+ id: z.ZodUUID;
604
+ checksumSha256: z.ZodString;
605
+ byteSize: z.ZodInt;
606
+ }, z.core.$strict>;
607
+ subtitle: z.ZodObject<{
608
+ id: z.ZodUUID;
609
+ checksumSha256: z.ZodString;
610
+ byteSize: z.ZodInt;
611
+ }, z.core.$strict>;
612
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
613
+ createdByPrincipalId: z.ZodUUID;
614
+ createdAt: z.ZodISODateTime;
615
+ }, z.core.$strict>>;
616
+ captionStyle: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
617
+ id: z.ZodLiteral<"PLAIN_TEXT_NOTO_SANS_SC_V1">;
618
+ fontSha256: z.ZodLiteral<"a3041811a78c361b1de50f953c805e0244951c21c5bd412f7232ef0d899af0da">;
619
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
620
+ }, z.core.$strict>, z.ZodObject<{
621
+ id: z.ZodLiteral<"PLAIN_TEXT_NATIVE_SC_REGULAR_V2">;
622
+ fontSha256: z.ZodLiteral<"e5a51f41fc1b827da651afee3975e07a182ff4f8e04d9dfc0a3cecd6177a52b6">;
623
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
624
+ }, z.core.$strict>], "id">>;
625
+ audio: z.ZodOptional<z.ZodObject<{
626
+ mix: z.ZodObject<{
627
+ id: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
628
+ sampleRateHz: z.ZodLiteral<48000>;
629
+ audioChannels: z.ZodLiteral<2>;
630
+ audioCodec: z.ZodLiteral<"aac">;
631
+ bitrate: z.ZodLiteral<192000>;
632
+ peakPermille: z.ZodLiteral<950>;
633
+ duckingMusicPermille: z.ZodInt;
634
+ }, z.core.$strict>;
635
+ tracks: z.ZodArray<z.ZodObject<{
636
+ sourceInMs: z.ZodInt;
637
+ sourceOutMs: z.ZodInt;
638
+ startMs: z.ZodInt;
639
+ gainPermille: z.ZodInt;
640
+ source: z.ZodObject<{
641
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
642
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
643
+ purpose: z.ZodEnum<{
644
+ VOICEOVER: "VOICEOVER";
645
+ MUSIC: "MUSIC";
646
+ }>;
647
+ id: z.ZodUUID;
648
+ audioId: z.ZodUUID;
649
+ projectId: z.ZodUUID;
650
+ version: z.ZodInt;
651
+ artifactId: z.ZodUUID;
652
+ original: z.ZodObject<{
653
+ id: z.ZodUUID;
654
+ checksumSha256: z.ZodString;
655
+ byteSize: z.ZodInt;
656
+ }, z.core.$strict>;
657
+ media: z.ZodObject<{
658
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
659
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
660
+ sampleRateHz: z.ZodLiteral<48000>;
661
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
662
+ sampleCount: z.ZodInt;
663
+ durationMs: z.ZodInt;
664
+ }, z.core.$strict>;
665
+ originalName: z.ZodNullable<z.ZodString>;
666
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
667
+ createdByPrincipalId: z.ZodUUID;
668
+ createdAt: z.ZodISODateTime;
669
+ generation: z.ZodOptional<z.ZodObject<{
670
+ generationId: z.ZodUUID;
671
+ executionClass: z.ZodEnum<{
672
+ LIVE: "LIVE";
673
+ TEST_ONLY: "TEST_ONLY";
674
+ }>;
675
+ executionTarget: z.ZodOptional<z.ZodLiteral<"TENANT_DEVICE">>;
676
+ sourceArtifactId: z.ZodUUID;
677
+ sourceRepresentationId: z.ZodUUID;
678
+ sourceChecksumSha256: z.ZodString;
679
+ sourceByteSize: z.ZodInt;
680
+ sourceMedia: z.ZodObject<{
681
+ sampleRateHz: z.ZodInt;
682
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
683
+ sampleCount: z.ZodInt;
684
+ }, z.core.$strict>;
685
+ normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
686
+ padSamples: z.ZodInt;
687
+ }, z.core.$strict>>;
688
+ }, z.core.$strict>;
689
+ }, z.core.$strict>>;
690
+ }, z.core.$strict>>;
691
+ graphics: z.ZodOptional<z.ZodArray<z.ZodObject<{
692
+ source: z.ZodObject<{
693
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
694
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
695
+ productionId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
696
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
697
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
698
+ checksumSha256: z.ZodString;
699
+ contentType: z.ZodEnum<{
700
+ "image/png": "image/png";
701
+ "image/webp": "image/webp";
702
+ }>;
703
+ byteSize: z.ZodInt;
704
+ width: z.ZodInt;
705
+ height: z.ZodInt;
706
+ }, z.core.$strict>;
707
+ placement: z.ZodObject<{
708
+ startFrame: z.ZodInt;
709
+ endFrame: z.ZodInt;
710
+ anchor: z.ZodEnum<{
711
+ TOP_LEFT: "TOP_LEFT";
712
+ TOP_RIGHT: "TOP_RIGHT";
713
+ BOTTOM_LEFT: "BOTTOM_LEFT";
714
+ BOTTOM_RIGHT: "BOTTOM_RIGHT";
715
+ }>;
716
+ widthPermille: z.ZodInt;
717
+ marginXPermille: z.ZodInt;
718
+ marginYPermille: z.ZodInt;
719
+ opacityPermille: z.ZodInt;
720
+ }, z.core.$strict>;
721
+ }, z.core.$strict>>>;
722
+ basis: z.ZodObject<{
723
+ briefVersionId: z.core.$ZodBranded<z.ZodUUID, "BriefVersionId", "out">;
724
+ briefVersion: z.ZodInt;
725
+ storyVersion: z.ZodInt;
726
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
727
+ planVersion: z.ZodInt;
728
+ }, z.core.$strict>;
729
+ output: z.ZodObject<{
730
+ aspectRatio: z.ZodEnum<{
731
+ "16:9": "16:9";
732
+ "9:16": "9:16";
733
+ }>;
734
+ profile: z.ZodEnum<{
735
+ MP4_H264_1080P: "MP4_H264_1080P";
736
+ MP4_H264_720P: "MP4_H264_720P";
737
+ MP4_H264_480P: "MP4_H264_480P";
738
+ }>;
739
+ }, z.core.$strict>;
740
+ duration: z.ZodObject<{
741
+ totalMs: z.ZodInt;
742
+ targetMs: z.ZodInt;
743
+ minMs: z.ZodLiteral<30000>;
744
+ maxMs: z.ZodLiteral<60000>;
745
+ deltaTargetMs: z.ZodInt;
746
+ classification: z.ZodEnum<{
747
+ TOO_SHORT: "TOO_SHORT";
748
+ WITHIN_TARGET: "WITHIN_TARGET";
749
+ TOO_LONG: "TOO_LONG";
750
+ }>;
751
+ }, z.core.$strict>;
752
+ missingPlannedShotIds: z.ZodArray<z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">>;
753
+ executionClass: z.ZodEnum<{
754
+ LIVE: "LIVE";
755
+ TEST_ONLY: "TEST_ONLY";
756
+ }>;
757
+ clips: z.ZodArray<z.ZodObject<{
758
+ ordinal: z.ZodInt;
759
+ technical: z.ZodObject<{
760
+ contentType: z.ZodLiteral<"video/mp4">;
761
+ checksumSha256: z.ZodString;
762
+ byteSize: z.ZodInt;
763
+ width: z.ZodInt;
764
+ height: z.ZodInt;
765
+ durationMs: z.ZodInt;
766
+ frameRate: z.ZodNumber;
767
+ videoCodec: z.ZodEnum<{
768
+ h264: "h264";
769
+ hevc: "hevc";
770
+ }>;
771
+ pixelFormat: z.ZodOptional<z.ZodLiteral<"yuv420p10le">>;
772
+ hasAudio: z.ZodBoolean;
773
+ nativeAudio: z.ZodOptional<z.ZodObject<{
774
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
775
+ sourceCodec: z.ZodLiteral<"aac">;
776
+ sourceSampleRateHz: z.ZodInt;
777
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
778
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
779
+ sourceFrameCount: z.ZodInt;
780
+ sourceStartOffsetMs: z.ZodNumber;
781
+ sourceDeclaredDurationMs: z.ZodNumber;
782
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
783
+ media: z.ZodObject<{
784
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
785
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
786
+ sampleRateHz: z.ZodLiteral<48000>;
787
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
788
+ sampleCount: z.ZodInt;
789
+ durationMs: z.ZodNumber;
790
+ }, z.core.$strict>;
791
+ checksumSha256: z.ZodString;
792
+ }, z.core.$strict>>;
793
+ }, z.core.$strict>;
794
+ sourceInMs: z.ZodInt;
795
+ sourceOutMs: z.ZodInt;
796
+ startMs: z.ZodInt;
797
+ durationMs: z.ZodInt;
798
+ transition: z.ZodUnion<readonly [z.ZodLiteral<"CUT">, z.ZodObject<{
799
+ kind: z.ZodLiteral<"CROSS_DISSOLVE_V1">;
800
+ durationFrames: z.ZodInt;
801
+ }, z.core.$strict>]>;
802
+ framing: z.ZodOptional<z.ZodObject<{
803
+ algorithm: z.ZodLiteral<"CROP_PAD_V1">;
804
+ crop: z.ZodObject<{
805
+ x: z.ZodInt;
806
+ y: z.ZodInt;
807
+ width: z.ZodInt;
808
+ height: z.ZodInt;
809
+ }, z.core.$strict>;
810
+ anchorXPermille: z.ZodInt;
811
+ anchorYPermille: z.ZodInt;
812
+ }, z.core.$strict>>;
813
+ source: z.ZodUnion<readonly [z.ZodObject<{
814
+ acceptanceId: z.ZodUUID;
815
+ reviewId: z.ZodUUID;
816
+ generationId: z.ZodUUID;
817
+ candidateId: z.ZodUUID;
818
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
819
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
820
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
821
+ checksumSha256: z.ZodString;
822
+ artifactChecksumSha256: z.ZodString;
823
+ preparationId: z.ZodUUID;
824
+ contractId: z.ZodUUID;
825
+ contractFingerprint: z.ZodString;
826
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
827
+ planVersion: z.ZodInt;
828
+ shotPlanningRevision: z.ZodInt;
829
+ executionClass: z.ZodEnum<{
830
+ LIVE: "LIVE";
831
+ TEST_ONLY: "TEST_ONLY";
832
+ }>;
833
+ reviewResult: z.ZodEnum<{
834
+ PASS: "PASS";
835
+ WARNING: "WARNING";
836
+ }>;
837
+ }, z.core.$strict>, z.ZodObject<{
838
+ sourceKind: z.ZodLiteral<"PROGRAMMATIC">;
839
+ acceptanceId: z.ZodUUID;
840
+ reviewId: z.ZodUUID;
841
+ renderId: z.ZodUUID;
842
+ compositionId: z.ZodUUID;
843
+ compositionVersionId: z.ZodUUID;
844
+ compositionVersion: z.ZodInt;
845
+ compositionFingerprint: z.ZodString;
846
+ renderManifestFingerprint: z.ZodString;
847
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
848
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
849
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
850
+ checksumSha256: z.ZodString;
851
+ artifactChecksumSha256: z.ZodString;
852
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
853
+ planVersion: z.ZodInt;
854
+ shotPlanningRevision: z.ZodInt;
855
+ executionClass: z.ZodEnum<{
856
+ LIVE: "LIVE";
857
+ TEST_ONLY: "TEST_ONLY";
858
+ }>;
859
+ reviewResult: z.ZodEnum<{
860
+ PASS: "PASS";
861
+ WARNING: "WARNING";
862
+ }>;
863
+ }, z.core.$strict>, z.ZodObject<{
864
+ sourceKind: z.ZodLiteral<"IMPORTED">;
865
+ acceptanceId: z.ZodUUID;
866
+ reviewId: z.ZodUUID;
867
+ normalizationId: z.ZodUUID;
868
+ sourceId: z.ZodUUID;
869
+ sourceVersionId: z.ZodUUID;
870
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
871
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
872
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
873
+ checksumSha256: z.ZodString;
874
+ executionClass: z.ZodEnum<{
875
+ LIVE: "LIVE";
876
+ TEST_ONLY: "TEST_ONLY";
877
+ }>;
878
+ reviewResult: z.ZodEnum<{
879
+ PASS: "PASS";
880
+ WARNING: "WARNING";
881
+ }>;
882
+ }, z.core.$strict>]>;
883
+ }, z.core.$strict>>;
884
+ sourceSound: z.ZodOptional<z.ZodObject<{
885
+ schemaVersion: z.ZodLiteral<1>;
886
+ soundPlanVersionId: z.ZodUUID;
887
+ soundPlanFingerprint: z.ZodString;
888
+ plannedCues: z.ZodArray<z.ZodObject<{
889
+ id: z.ZodString;
890
+ role: z.ZodEnum<{
891
+ MUSIC: "MUSIC";
892
+ NARRATION: "NARRATION";
893
+ DIALOGUE: "DIALOGUE";
894
+ AMBIENCE: "AMBIENCE";
895
+ SOUND_EFFECT: "SOUND_EFFECT";
896
+ }>;
897
+ source: z.ZodEnum<{
898
+ TTS: "TTS";
899
+ NATIVE_VIDEO: "NATIVE_VIDEO";
900
+ IMPORTED_AUDIO: "IMPORTED_AUDIO";
901
+ EXISTING_AUDIO: "EXISTING_AUDIO";
902
+ }>;
903
+ shotIds: z.ZodArray<z.ZodUUID>;
904
+ startMs: z.ZodInt;
905
+ endMs: z.ZodInt;
906
+ text: z.ZodOptional<z.ZodString>;
907
+ voice: z.ZodOptional<z.ZodString>;
908
+ model: z.ZodOptional<z.ZodObject<{
909
+ modelProfileId: z.ZodString;
910
+ modelProfileVersion: z.ZodInt;
911
+ connectionId: z.ZodUUID;
912
+ }, z.core.$strict>>;
913
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
914
+ audio: z.ZodOptional<z.ZodObject<{
915
+ purpose: z.ZodEnum<{
916
+ VOICEOVER: "VOICEOVER";
917
+ MUSIC: "MUSIC";
918
+ }>;
919
+ versionId: z.ZodUUID;
920
+ }, z.core.$strict>>;
921
+ lipSync: z.ZodEnum<{
922
+ NONE: "NONE";
923
+ REQUIRED: "REQUIRED";
924
+ }>;
925
+ exactSpeech: z.ZodBoolean;
926
+ }, z.core.$strict>>;
927
+ mix: z.ZodObject<{
928
+ id: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
929
+ sampleRateHz: z.ZodLiteral<48000>;
930
+ audioChannels: z.ZodLiteral<2>;
931
+ audioCodec: z.ZodLiteral<"aac">;
932
+ bitrate: z.ZodLiteral<192000>;
933
+ peakPermille: z.ZodLiteral<950>;
934
+ duckingMusicPermille: z.ZodInt;
935
+ }, z.core.$strict>;
936
+ clips: z.ZodArray<z.ZodObject<{
937
+ ordinal: z.ZodInt;
938
+ treatment: z.ZodObject<{
939
+ policy: z.ZodEnum<{
940
+ KEEP: "KEEP";
941
+ MUTE: "MUTE";
942
+ DUCK: "DUCK";
943
+ }>;
944
+ gainPermille: z.ZodInt;
945
+ duckingPermille: z.ZodInt;
946
+ }, z.core.$strict>;
947
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
948
+ kind: z.ZodLiteral<"NATIVE_GENERATED">;
949
+ version: z.ZodObject<{
950
+ id: z.ZodUUID;
951
+ tenantId: z.ZodUUID;
952
+ projectId: z.ZodUUID;
953
+ productionId: z.ZodUUID;
954
+ shotId: z.ZodUUID;
955
+ generationId: z.ZodUUID;
956
+ videoArtifactId: z.ZodUUID;
957
+ videoRepresentationId: z.ZodUUID;
958
+ videoChecksumSha256: z.ZodString;
959
+ artifactId: z.ZodUUID;
960
+ representationId: z.ZodUUID;
961
+ checksumSha256: z.ZodString;
962
+ byteSize: z.ZodInt;
963
+ metadata: z.ZodObject<{
964
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
965
+ sourceCodec: z.ZodLiteral<"aac">;
966
+ sourceSampleRateHz: z.ZodInt;
967
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
968
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
969
+ sourceFrameCount: z.ZodInt;
970
+ sourceStartOffsetMs: z.ZodNumber;
971
+ sourceDeclaredDurationMs: z.ZodNumber;
972
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
973
+ media: z.ZodObject<{
974
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
975
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
976
+ sampleRateHz: z.ZodLiteral<48000>;
977
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
978
+ sampleCount: z.ZodInt;
979
+ durationMs: z.ZodNumber;
980
+ }, z.core.$strict>;
981
+ checksumSha256: z.ZodString;
982
+ }, z.core.$strict>;
983
+ executionClass: z.ZodEnum<{
984
+ LIVE: "LIVE";
985
+ TEST_ONLY: "TEST_ONLY";
986
+ }>;
987
+ }, z.core.$strict>;
988
+ }, z.core.$strict>, z.ZodObject<{
989
+ kind: z.ZodLiteral<"IMPORTED_SYNC">;
990
+ version: z.ZodObject<{
991
+ schemaVersion: z.ZodLiteral<1>;
992
+ purpose: z.ZodLiteral<"SOURCE_SYNC">;
993
+ id: z.ZodUUID;
994
+ audioId: z.ZodUUID;
995
+ version: z.ZodInt;
996
+ tenantId: z.ZodUUID;
997
+ projectId: z.ZodUUID;
998
+ productionId: z.ZodUUID;
999
+ shotId: z.ZodUUID;
1000
+ normalizationId: z.ZodUUID;
1001
+ artifactId: z.ZodUUID;
1002
+ representationId: z.ZodUUID;
1003
+ provenance: z.ZodObject<{
1004
+ schemaVersion: z.ZodLiteral<1>;
1005
+ purpose: z.ZodLiteral<"SOURCE_SYNC">;
1006
+ tenantId: z.ZodUUID;
1007
+ projectId: z.ZodUUID;
1008
+ productionId: z.ZodUUID;
1009
+ shotId: z.ZodUUID;
1010
+ sourceId: z.ZodUUID;
1011
+ sourceVersionId: z.ZodUUID;
1012
+ normalizationId: z.ZodUUID;
1013
+ originalArtifactId: z.ZodUUID;
1014
+ originalRepresentationId: z.ZodUUID;
1015
+ originalChecksumSha256: z.ZodString;
1016
+ sourceRange: z.ZodObject<{
1017
+ clock: z.ZodLiteral<"SOURCE_ZERO_BASED_CFR30">;
1018
+ startFrame: z.ZodInt;
1019
+ endFrame: z.ZodInt;
1020
+ }, z.core.$strict>;
1021
+ destinationStartSample: z.ZodInt;
1022
+ media: z.ZodUnion<readonly [z.ZodObject<{
1023
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
1024
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
1025
+ sampleRateHz: z.ZodLiteral<48000>;
1026
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1027
+ sampleCount: z.ZodInt;
1028
+ durationMs: z.ZodInt;
1029
+ }, z.core.$strict>, z.ZodObject<{
1030
+ profile: z.ZodLiteral<"PCM_S16LE_48000_SOURCE_SYNC_V1">;
1031
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
1032
+ sampleRateHz: z.ZodLiteral<48000>;
1033
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1034
+ sampleCount: z.ZodInt;
1035
+ durationMs: z.ZodNumber;
1036
+ }, z.core.$strict>]>;
1037
+ wavChecksumSha256: z.ZodString;
1038
+ wavByteSize: z.ZodInt;
1039
+ }, z.core.$strict>;
1040
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
1041
+ executionClass: z.ZodEnum<{
1042
+ LIVE: "LIVE";
1043
+ TEST_ONLY: "TEST_ONLY";
1044
+ }>;
1045
+ createdByPrincipalId: z.ZodUUID;
1046
+ createdAt: z.ZodISODateTime;
1047
+ }, z.core.$strict>;
1048
+ }, z.core.$strict>], "kind">>;
1049
+ sourceInSample: z.ZodInt;
1050
+ sourceOutSample: z.ZodInt;
1051
+ startSample: z.ZodInt;
1052
+ outputSampleCount: z.ZodInt;
1053
+ }, z.core.$strict>>;
1054
+ speechCues: z.ZodArray<z.ZodObject<{
1055
+ cueId: z.ZodString;
1056
+ source: z.ZodObject<{
1057
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
1058
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
1059
+ purpose: z.ZodEnum<{
1060
+ VOICEOVER: "VOICEOVER";
1061
+ MUSIC: "MUSIC";
1062
+ }>;
1063
+ id: z.ZodUUID;
1064
+ audioId: z.ZodUUID;
1065
+ projectId: z.ZodUUID;
1066
+ version: z.ZodInt;
1067
+ artifactId: z.ZodUUID;
1068
+ original: z.ZodObject<{
1069
+ id: z.ZodUUID;
1070
+ checksumSha256: z.ZodString;
1071
+ byteSize: z.ZodInt;
1072
+ }, z.core.$strict>;
1073
+ media: z.ZodObject<{
1074
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
1075
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
1076
+ sampleRateHz: z.ZodLiteral<48000>;
1077
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1078
+ sampleCount: z.ZodInt;
1079
+ durationMs: z.ZodInt;
1080
+ }, z.core.$strict>;
1081
+ originalName: z.ZodNullable<z.ZodString>;
1082
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
1083
+ createdByPrincipalId: z.ZodUUID;
1084
+ createdAt: z.ZodISODateTime;
1085
+ generation: z.ZodOptional<z.ZodObject<{
1086
+ generationId: z.ZodUUID;
1087
+ executionClass: z.ZodEnum<{
1088
+ LIVE: "LIVE";
1089
+ TEST_ONLY: "TEST_ONLY";
1090
+ }>;
1091
+ executionTarget: z.ZodOptional<z.ZodLiteral<"TENANT_DEVICE">>;
1092
+ sourceArtifactId: z.ZodUUID;
1093
+ sourceRepresentationId: z.ZodUUID;
1094
+ sourceChecksumSha256: z.ZodString;
1095
+ sourceByteSize: z.ZodInt;
1096
+ sourceMedia: z.ZodObject<{
1097
+ sampleRateHz: z.ZodInt;
1098
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1099
+ sampleCount: z.ZodInt;
1100
+ }, z.core.$strict>;
1101
+ normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
1102
+ padSamples: z.ZodInt;
1103
+ }, z.core.$strict>>;
1104
+ }, z.core.$strict>;
1105
+ sourceInMs: z.ZodLiteral<0>;
1106
+ sourceOutMs: z.ZodInt;
1107
+ startMs: z.ZodInt;
1108
+ gainPermille: z.ZodLiteral<1000>;
1109
+ }, z.core.$strict>>;
1110
+ }, z.core.$strict>>;
1111
+ schemaVersion: z.ZodLiteral<3>;
1112
+ visualLayers: z.ZodObject<{
1113
+ schemaVersion: z.ZodLiteral<1>;
1114
+ profileId: z.ZodLiteral<"STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1">;
1115
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
1116
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
1117
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
1118
+ totalFrames: z.ZodInt;
1119
+ layers: z.ZodArray<z.ZodObject<{
1120
+ id: z.ZodUUID;
1121
+ source: z.ZodObject<{
1122
+ schemaVersion: z.ZodLiteral<1>;
1123
+ profileId: z.ZodLiteral<"RGBA_PNG_SEQUENCE_30_V1">;
1124
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
1125
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
1126
+ productionId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
1127
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
1128
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
1129
+ checksumSha256: z.ZodString;
1130
+ width: z.ZodInt;
1131
+ height: z.ZodInt;
1132
+ frameRate: z.ZodLiteral<30>;
1133
+ frameCount: z.ZodInt;
1134
+ alpha: z.ZodLiteral<"STRAIGHT_RGBA">;
1135
+ frames: z.ZodArray<z.ZodObject<{
1136
+ ordinal: z.ZodInt;
1137
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
1138
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
1139
+ checksumSha256: z.ZodString;
1140
+ byteSize: z.ZodInt;
1141
+ }, z.core.$strict>>;
1142
+ }, z.core.$strict>;
1143
+ sourceInFrame: z.ZodInt;
1144
+ sourceOutFrame: z.ZodInt;
1145
+ startFrame: z.ZodInt;
1146
+ zIndex: z.ZodInt;
1147
+ opacityPermille: z.ZodInt;
1148
+ placement: z.ZodObject<{
1149
+ xPermille: z.ZodInt;
1150
+ yPermille: z.ZodInt;
1151
+ widthPermille: z.ZodInt;
1152
+ heightPermille: z.ZodInt;
1153
+ }, z.core.$strict>;
1154
+ }, z.core.$strict>>;
1155
+ }, z.core.$strict>;
1156
+ id: z.ZodUUID;
1157
+ timelineId: z.ZodUUID;
1158
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
1159
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
1160
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
1161
+ version: z.ZodInt;
1162
+ fingerprint: z.ZodString;
1163
+ createdByPrincipalId: z.core.$ZodBranded<z.ZodUUID, "PrincipalId", "out">;
1164
+ createdAt: z.ZodISODateTime;
1165
+ }, z.core.$strict>;
1166
+ profile: z.ZodObject<{
1167
+ id: z.ZodEnum<{
1168
+ FINAL_H264_1080P_V1: "FINAL_H264_1080P_V1";
1169
+ FINAL_H264_720P_V1: "FINAL_H264_720P_V1";
1170
+ FINAL_H264_480P_V1: "FINAL_H264_480P_V1";
1171
+ }>;
1172
+ algorithm: z.ZodEnum<{
1173
+ ORDERED_TRIM_CUT_V1: "ORDERED_TRIM_CUT_V1";
1174
+ ORDERED_COMPOSE_V2: "ORDERED_COMPOSE_V2";
1175
+ }>;
1176
+ picturePolicy: z.ZodOptional<z.ZodLiteral<"CROP_PAD_V1">>;
1177
+ width: z.ZodUnion<readonly [z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>, z.ZodLiteral<854>, z.ZodLiteral<480>]>;
1178
+ height: z.ZodUnion<readonly [z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>, z.ZodLiteral<854>, z.ZodLiteral<480>]>;
1179
+ frameRate: z.ZodLiteral<30>;
1180
+ codec: z.ZodLiteral<"h264">;
1181
+ pixelFormat: z.ZodLiteral<"yuv420p">;
1182
+ fit: z.ZodLiteral<"PAD">;
1183
+ hasAudio: z.ZodBoolean;
1184
+ audioMix: z.ZodOptional<z.ZodObject<{
1185
+ id: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
1186
+ sampleRateHz: z.ZodLiteral<48000>;
1187
+ audioChannels: z.ZodLiteral<2>;
1188
+ audioCodec: z.ZodLiteral<"aac">;
1189
+ bitrate: z.ZodLiteral<192000>;
1190
+ peakPermille: z.ZodLiteral<950>;
1191
+ duckingMusicPermille: z.ZodInt;
1192
+ }, z.core.$strict>>;
1193
+ framePolicy: z.ZodLiteral<"CUMULATIVE_NEAREST_FRAME">;
1194
+ encoder: z.ZodLiteral<"libx264">;
1195
+ crf: z.ZodLiteral<18>;
1196
+ preset: z.ZodLiteral<"veryfast">;
1197
+ gopFrames: z.ZodLiteral<30>;
1198
+ bFrames: z.ZodLiteral<0>;
1199
+ audioPolicy: z.ZodEnum<{
1200
+ SILENT: "SILENT";
1201
+ MIXED: "MIXED";
1202
+ }>;
1203
+ captionPolicy: z.ZodEnum<{
1204
+ NONE: "NONE";
1205
+ BURN_IN: "BURN_IN";
1206
+ }>;
1207
+ sourceQualityPolicy: z.ZodLiteral<"NO_UPSCALE_V1">;
1208
+ captionStyle: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1209
+ id: z.ZodLiteral<"PLAIN_TEXT_NOTO_SANS_SC_V1">;
1210
+ fontSha256: z.ZodLiteral<"a3041811a78c361b1de50f953c805e0244951c21c5bd412f7232ef0d899af0da">;
1211
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
1212
+ }, z.core.$strict>, z.ZodObject<{
1213
+ id: z.ZodLiteral<"PLAIN_TEXT_NATIVE_SC_REGULAR_V2">;
1214
+ fontSha256: z.ZodLiteral<"e5a51f41fc1b827da651afee3975e07a182ff4f8e04d9dfc0a3cecd6177a52b6">;
1215
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
1216
+ }, z.core.$strict>], "id">>;
1217
+ graphicsPolicy: z.ZodOptional<z.ZodLiteral<"OVERLAY_V1">>;
1218
+ visualLayerPolicy: z.ZodEnum<{
1219
+ STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1: "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1";
1220
+ STRAIGHT_ALPHA_FRAME_OVERLAY_30_V2: "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V2";
1221
+ }>;
1222
+ visualLayerSourceQualityPolicy: z.ZodLiteral<"NO_UPSCALE_V1">;
1223
+ }, z.core.$strict>;
1224
+ selection: z.ZodObject<{
1225
+ tenantId: typeof import("./ids.js").TenantIdSchema;
1226
+ productionId: typeof import("./ids.js").ProductionIdSchema;
1227
+ id: z.ZodUUID;
1228
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
1229
+ version: z.ZodInt;
1230
+ action: z.ZodEnum<{
1231
+ REJECT: "REJECT";
1232
+ REVOKE: "REVOKE";
1233
+ SELECT: "SELECT";
1234
+ }>;
1235
+ renderId: z.ZodUUID;
1236
+ reviewId: z.ZodUUID;
1237
+ basisFingerprint: z.ZodString;
1238
+ timelineVersionId: z.ZodUUID;
1239
+ timelineFingerprint: z.ZodString;
1240
+ artifactId: z.ZodUUID;
1241
+ representationId: z.ZodUUID;
1242
+ checksumSha256: z.ZodString;
1243
+ outputProfile: z.ZodEnum<{
1244
+ MP4_H264_1080P: "MP4_H264_1080P";
1245
+ MP4_H264_720P: "MP4_H264_720P";
1246
+ MP4_H264_480P: "MP4_H264_480P";
1247
+ }>;
1248
+ executionClass: z.ZodEnum<{
1249
+ LIVE: "LIVE";
1250
+ TEST_ONLY: "TEST_ONLY";
1251
+ }>;
1252
+ previousSelectionId: z.ZodNullable<z.ZodUUID>;
1253
+ acknowledgeWarnings: z.ZodBoolean;
1254
+ warningKeys: z.ZodArray<z.ZodString>;
1255
+ reason: z.ZodString;
1256
+ createdByPrincipalId: z.core.$ZodBranded<z.ZodUUID, "PrincipalId", "out">;
1257
+ createdAt: z.ZodISODateTime;
1258
+ }, z.core.$strict>;
1259
+ selectionVersion: z.ZodInt;
1260
+ }, z.core.$strict>;
1261
+ export declare const FinalRenderManifestReaderSchema: z.ZodDiscriminatedUnion<[
1262
+ typeof FinalRenderManifestSchema,
1263
+ typeof FinalRenderV2ManifestSchema,
1264
+ typeof FinalRenderV3ManifestSchema
1265
+ ], "schemaVersion">;
1266
+ export declare const FinalRenderTechnicalSchema: z.ZodObject<{
1267
+ contentType: z.ZodLiteral<"video/mp4">;
1268
+ checksumSha256: z.ZodString;
1269
+ byteSize: z.ZodInt;
1270
+ width: z.ZodInt;
1271
+ height: z.ZodInt;
1272
+ videoCodec: z.ZodEnum<{
1273
+ h264: "h264";
1274
+ hevc: "hevc";
1275
+ }>;
1276
+ pixelFormat: z.ZodOptional<z.ZodLiteral<"yuv420p10le">>;
1277
+ nativeAudio: z.ZodOptional<z.ZodObject<{
1278
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
1279
+ sourceCodec: z.ZodLiteral<"aac">;
1280
+ sourceSampleRateHz: z.ZodInt;
1281
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1282
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
1283
+ sourceFrameCount: z.ZodInt;
1284
+ sourceStartOffsetMs: z.ZodNumber;
1285
+ sourceDeclaredDurationMs: z.ZodNumber;
1286
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
1287
+ media: z.ZodObject<{
1288
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
1289
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
1290
+ sampleRateHz: z.ZodLiteral<48000>;
1291
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1292
+ sampleCount: z.ZodInt;
1293
+ durationMs: z.ZodNumber;
1294
+ }, z.core.$strict>;
1295
+ checksumSha256: z.ZodString;
1296
+ }, z.core.$strict>>;
1297
+ hasAudio: z.ZodBoolean;
1298
+ audio: z.ZodOptional<typeof import("./timeline-audio.js").RenderedAudioSchema>;
1299
+ durationMs: z.ZodInt;
1300
+ frameRate: z.ZodLiteral<30>;
1301
+ frameCount: z.ZodInt;
1302
+ engineVersion: z.ZodString;
1303
+ }, z.core.$strict>;
1304
+ export declare const FinalRenderArtifactSchema: z.ZodObject<z.core.util.Extend<typeof RoughCutArtifactSchema.shape, {
1305
+ reviewState: z.ZodLiteral<"UNREVIEWED">;
1306
+ deliveryRole: z.ZodLiteral<"NONE">;
1307
+ }>, typeof RoughCutArtifactSchema._zod.config>;
1308
+ export declare const FinalRenderAdmissionSchema: z.ZodObject<z.core.util.Extend<typeof RoughCutAdmissionSchema.shape, {
1309
+ selectionId: z.ZodUUID;
1310
+ selectionVersion: z.ZodInt;
1311
+ profileId: typeof FinalRenderProfileIdSchema;
1312
+ }>, typeof RoughCutAdmissionSchema._zod.config>;
1313
+ export declare const FinalRenderViewSchema: z.ZodObject<{
1314
+ executionClass: z.ZodEnum<{
1315
+ LIVE: "LIVE";
1316
+ TEST_ONLY: "TEST_ONLY";
1317
+ }>;
1318
+ renderId: z.ZodUUID;
1319
+ tenantId: typeof import("./ids.js").TenantIdSchema;
1320
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
1321
+ createdByPrincipalId: z.core.$ZodBranded<z.ZodUUID, "PrincipalId", "out">;
1322
+ createdAt: z.ZodISODateTime;
1323
+ productionId: typeof import("./ids.js").ProductionIdSchema;
1324
+ runtimeJobId: z.ZodUUID;
1325
+ manifestFingerprint: z.ZodString;
1326
+ cancellationRequested: z.ZodBoolean;
1327
+ operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
1328
+ freshness: z.ZodEnum<{
1329
+ STALE_BASIS: "STALE_BASIS";
1330
+ CURRENT_BASIS: "CURRENT_BASIS";
1331
+ }>;
1332
+ runtimeStatus: z.ZodEnum<{
1333
+ FAILED: "FAILED";
1334
+ CANCELLED: "CANCELLED";
1335
+ RUNNING: "RUNNING";
1336
+ SUPERSEDED: "SUPERSEDED";
1337
+ READY: "READY";
1338
+ PENDING: "PENDING";
1339
+ WAITING: "WAITING";
1340
+ SUCCEEDED: "SUCCEEDED";
1341
+ }>;
1342
+ isCurrentTimeline: z.ZodBoolean;
1343
+ manifest: z.ZodDiscriminatedUnion<[z.ZodObject<{
1344
+ schemaVersion: z.ZodLiteral<1>;
1345
+ timeline: z.ZodObject<{
1346
+ schemaVersion: z.ZodLiteral<1>;
1347
+ caption: z.ZodOptional<z.ZodObject<{
1348
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
1349
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
1350
+ transcriptProvenance: z.ZodOptional<z.ZodObject<{
1351
+ schemaVersion: z.ZodLiteral<1>;
1352
+ advisory: z.ZodLiteral<true>;
1353
+ timing: z.ZodLiteral<"PROVIDER_REPORTED">;
1354
+ timelineVersionId: z.ZodUUID;
1355
+ timingFingerprint: z.ZodString;
1356
+ sources: z.ZodArray<z.ZodObject<{
1357
+ observationId: z.ZodUUID;
1358
+ artifactId: z.ZodUUID;
1359
+ representationId: z.ZodUUID;
1360
+ checksumSha256: z.ZodString;
1361
+ placement: z.ZodDiscriminatedUnion<[z.ZodObject<{
1362
+ kind: z.ZodLiteral<"AUDIO_TRACK">;
1363
+ purpose: z.ZodEnum<{
1364
+ VOICEOVER: "VOICEOVER";
1365
+ MUSIC: "MUSIC";
1366
+ }>;
1367
+ }, z.core.$strict>, z.ZodObject<{
1368
+ kind: z.ZodLiteral<"SPEECH_CUE">;
1369
+ cueId: z.ZodString;
1370
+ }, z.core.$strict>, z.ZodObject<{
1371
+ kind: z.ZodLiteral<"TIMELINE_OUTPUT">;
1372
+ }, z.core.$strict>], "kind">;
1373
+ granularity: z.ZodEnum<{
1374
+ word: "word";
1375
+ segment: "segment";
1376
+ }>;
1377
+ sourceInMs: z.ZodInt;
1378
+ sourceOutMs: z.ZodInt;
1379
+ startMs: z.ZodInt;
1380
+ spanIndices: z.ZodArray<z.ZodInt>;
1381
+ excludedSpans: z.ZodInt;
1382
+ }, z.core.$strict>>;
1383
+ }, z.core.$strict>>;
1384
+ id: z.ZodUUID;
1385
+ captionId: z.ZodUUID;
1386
+ projectId: z.ZodUUID;
1387
+ version: z.ZodInt;
1388
+ artifactId: z.ZodUUID;
1389
+ content: z.ZodObject<{
1390
+ language: z.ZodString;
1391
+ durationMs: z.ZodInt;
1392
+ cues: z.ZodArray<z.ZodObject<{
1393
+ startMs: z.ZodInt;
1394
+ endMs: z.ZodInt;
1395
+ text: z.ZodString;
1396
+ }, z.core.$strict>>;
1397
+ }, z.core.$strict>;
1398
+ fingerprint: z.ZodString;
1399
+ original: z.ZodObject<{
1400
+ id: z.ZodUUID;
1401
+ checksumSha256: z.ZodString;
1402
+ byteSize: z.ZodInt;
1403
+ }, z.core.$strict>;
1404
+ subtitle: z.ZodObject<{
1405
+ id: z.ZodUUID;
1406
+ checksumSha256: z.ZodString;
1407
+ byteSize: z.ZodInt;
1408
+ }, z.core.$strict>;
1409
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
1410
+ createdByPrincipalId: z.ZodUUID;
1411
+ createdAt: z.ZodISODateTime;
1412
+ }, z.core.$strict>>;
1413
+ captionStyle: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1414
+ id: z.ZodLiteral<"PLAIN_TEXT_NOTO_SANS_SC_V1">;
1415
+ fontSha256: z.ZodLiteral<"a3041811a78c361b1de50f953c805e0244951c21c5bd412f7232ef0d899af0da">;
1416
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
1417
+ }, z.core.$strict>, z.ZodObject<{
1418
+ id: z.ZodLiteral<"PLAIN_TEXT_NATIVE_SC_REGULAR_V2">;
1419
+ fontSha256: z.ZodLiteral<"e5a51f41fc1b827da651afee3975e07a182ff4f8e04d9dfc0a3cecd6177a52b6">;
1420
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
1421
+ }, z.core.$strict>], "id">>;
1422
+ audio: z.ZodOptional<z.ZodObject<{
1423
+ mix: z.ZodObject<{
1424
+ id: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
1425
+ sampleRateHz: z.ZodLiteral<48000>;
1426
+ audioChannels: z.ZodLiteral<2>;
1427
+ audioCodec: z.ZodLiteral<"aac">;
1428
+ bitrate: z.ZodLiteral<192000>;
1429
+ peakPermille: z.ZodLiteral<950>;
1430
+ duckingMusicPermille: z.ZodInt;
1431
+ }, z.core.$strict>;
1432
+ tracks: z.ZodArray<z.ZodObject<{
1433
+ sourceInMs: z.ZodInt;
1434
+ sourceOutMs: z.ZodInt;
1435
+ startMs: z.ZodInt;
1436
+ gainPermille: z.ZodInt;
1437
+ source: z.ZodObject<{
1438
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
1439
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
1440
+ purpose: z.ZodEnum<{
1441
+ VOICEOVER: "VOICEOVER";
1442
+ MUSIC: "MUSIC";
1443
+ }>;
1444
+ id: z.ZodUUID;
1445
+ audioId: z.ZodUUID;
1446
+ projectId: z.ZodUUID;
1447
+ version: z.ZodInt;
1448
+ artifactId: z.ZodUUID;
1449
+ original: z.ZodObject<{
1450
+ id: z.ZodUUID;
1451
+ checksumSha256: z.ZodString;
1452
+ byteSize: z.ZodInt;
1453
+ }, z.core.$strict>;
1454
+ media: z.ZodObject<{
1455
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
1456
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
1457
+ sampleRateHz: z.ZodLiteral<48000>;
1458
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1459
+ sampleCount: z.ZodInt;
1460
+ durationMs: z.ZodInt;
1461
+ }, z.core.$strict>;
1462
+ originalName: z.ZodNullable<z.ZodString>;
1463
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
1464
+ createdByPrincipalId: z.ZodUUID;
1465
+ createdAt: z.ZodISODateTime;
1466
+ generation: z.ZodOptional<z.ZodObject<{
1467
+ generationId: z.ZodUUID;
1468
+ executionClass: z.ZodEnum<{
1469
+ LIVE: "LIVE";
1470
+ TEST_ONLY: "TEST_ONLY";
1471
+ }>;
1472
+ executionTarget: z.ZodOptional<z.ZodLiteral<"TENANT_DEVICE">>;
1473
+ sourceArtifactId: z.ZodUUID;
1474
+ sourceRepresentationId: z.ZodUUID;
1475
+ sourceChecksumSha256: z.ZodString;
1476
+ sourceByteSize: z.ZodInt;
1477
+ sourceMedia: z.ZodObject<{
1478
+ sampleRateHz: z.ZodInt;
1479
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1480
+ sampleCount: z.ZodInt;
1481
+ }, z.core.$strict>;
1482
+ normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
1483
+ padSamples: z.ZodInt;
1484
+ }, z.core.$strict>>;
1485
+ }, z.core.$strict>;
1486
+ }, z.core.$strict>>;
1487
+ }, z.core.$strict>>;
1488
+ graphics: z.ZodOptional<z.ZodArray<z.ZodObject<{
1489
+ source: z.ZodObject<{
1490
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
1491
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
1492
+ productionId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
1493
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
1494
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
1495
+ checksumSha256: z.ZodString;
1496
+ contentType: z.ZodEnum<{
1497
+ "image/png": "image/png";
1498
+ "image/webp": "image/webp";
1499
+ }>;
1500
+ byteSize: z.ZodInt;
1501
+ width: z.ZodInt;
1502
+ height: z.ZodInt;
1503
+ }, z.core.$strict>;
1504
+ placement: z.ZodObject<{
1505
+ startFrame: z.ZodInt;
1506
+ endFrame: z.ZodInt;
1507
+ anchor: z.ZodEnum<{
1508
+ TOP_LEFT: "TOP_LEFT";
1509
+ TOP_RIGHT: "TOP_RIGHT";
1510
+ BOTTOM_LEFT: "BOTTOM_LEFT";
1511
+ BOTTOM_RIGHT: "BOTTOM_RIGHT";
1512
+ }>;
1513
+ widthPermille: z.ZodInt;
1514
+ marginXPermille: z.ZodInt;
1515
+ marginYPermille: z.ZodInt;
1516
+ opacityPermille: z.ZodInt;
1517
+ }, z.core.$strict>;
1518
+ }, z.core.$strict>>>;
1519
+ basis: z.ZodObject<{
1520
+ briefVersionId: z.core.$ZodBranded<z.ZodUUID, "BriefVersionId", "out">;
1521
+ briefVersion: z.ZodInt;
1522
+ storyVersion: z.ZodInt;
1523
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
1524
+ planVersion: z.ZodInt;
1525
+ }, z.core.$strict>;
1526
+ output: z.ZodObject<{
1527
+ aspectRatio: z.ZodEnum<{
1528
+ "16:9": "16:9";
1529
+ "9:16": "9:16";
1530
+ }>;
1531
+ profile: z.ZodEnum<{
1532
+ MP4_H264_1080P: "MP4_H264_1080P";
1533
+ MP4_H264_720P: "MP4_H264_720P";
1534
+ MP4_H264_480P: "MP4_H264_480P";
1535
+ }>;
1536
+ }, z.core.$strict>;
1537
+ clips: z.ZodArray<z.ZodObject<{
1538
+ ordinal: z.ZodInt;
1539
+ source: z.ZodObject<{
1540
+ acceptanceId: z.ZodUUID;
1541
+ reviewId: z.ZodUUID;
1542
+ generationId: z.ZodUUID;
1543
+ candidateId: z.ZodUUID;
1544
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
1545
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
1546
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
1547
+ checksumSha256: z.ZodString;
1548
+ artifactChecksumSha256: z.ZodString;
1549
+ preparationId: z.ZodUUID;
1550
+ contractId: z.ZodUUID;
1551
+ contractFingerprint: z.ZodString;
1552
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
1553
+ planVersion: z.ZodInt;
1554
+ shotPlanningRevision: z.ZodInt;
1555
+ executionClass: z.ZodEnum<{
1556
+ LIVE: "LIVE";
1557
+ TEST_ONLY: "TEST_ONLY";
1558
+ }>;
1559
+ reviewResult: z.ZodEnum<{
1560
+ PASS: "PASS";
1561
+ WARNING: "WARNING";
1562
+ }>;
1563
+ }, z.core.$strict>;
1564
+ technical: z.ZodObject<{
1565
+ contentType: z.ZodLiteral<"video/mp4">;
1566
+ checksumSha256: z.ZodString;
1567
+ byteSize: z.ZodInt;
1568
+ width: z.ZodInt;
1569
+ height: z.ZodInt;
1570
+ durationMs: z.ZodInt;
1571
+ frameRate: z.ZodNumber;
1572
+ videoCodec: z.ZodEnum<{
1573
+ h264: "h264";
1574
+ hevc: "hevc";
1575
+ }>;
1576
+ pixelFormat: z.ZodOptional<z.ZodLiteral<"yuv420p10le">>;
1577
+ hasAudio: z.ZodBoolean;
1578
+ nativeAudio: z.ZodOptional<z.ZodObject<{
1579
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
1580
+ sourceCodec: z.ZodLiteral<"aac">;
1581
+ sourceSampleRateHz: z.ZodInt;
1582
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1583
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
1584
+ sourceFrameCount: z.ZodInt;
1585
+ sourceStartOffsetMs: z.ZodNumber;
1586
+ sourceDeclaredDurationMs: z.ZodNumber;
1587
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
1588
+ media: z.ZodObject<{
1589
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
1590
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
1591
+ sampleRateHz: z.ZodLiteral<48000>;
1592
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1593
+ sampleCount: z.ZodInt;
1594
+ durationMs: z.ZodNumber;
1595
+ }, z.core.$strict>;
1596
+ checksumSha256: z.ZodString;
1597
+ }, z.core.$strict>>;
1598
+ }, z.core.$strict>;
1599
+ sourceInMs: z.ZodInt;
1600
+ sourceOutMs: z.ZodInt;
1601
+ startMs: z.ZodInt;
1602
+ durationMs: z.ZodInt;
1603
+ transition: z.ZodUnion<readonly [z.ZodLiteral<"CUT">, z.ZodObject<{
1604
+ kind: z.ZodLiteral<"CROSS_DISSOLVE_V1">;
1605
+ durationFrames: z.ZodInt;
1606
+ }, z.core.$strict>]>;
1607
+ framing: z.ZodOptional<z.ZodObject<{
1608
+ algorithm: z.ZodLiteral<"CROP_PAD_V1">;
1609
+ crop: z.ZodObject<{
1610
+ x: z.ZodInt;
1611
+ y: z.ZodInt;
1612
+ width: z.ZodInt;
1613
+ height: z.ZodInt;
1614
+ }, z.core.$strict>;
1615
+ anchorXPermille: z.ZodInt;
1616
+ anchorYPermille: z.ZodInt;
1617
+ }, z.core.$strict>>;
1618
+ }, z.core.$strict>>;
1619
+ duration: z.ZodObject<{
1620
+ totalMs: z.ZodInt;
1621
+ targetMs: z.ZodInt;
1622
+ minMs: z.ZodLiteral<30000>;
1623
+ maxMs: z.ZodLiteral<60000>;
1624
+ deltaTargetMs: z.ZodInt;
1625
+ classification: z.ZodEnum<{
1626
+ TOO_SHORT: "TOO_SHORT";
1627
+ WITHIN_TARGET: "WITHIN_TARGET";
1628
+ TOO_LONG: "TOO_LONG";
1629
+ }>;
1630
+ }, z.core.$strict>;
1631
+ missingPlannedShotIds: z.ZodArray<z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">>;
1632
+ executionClass: z.ZodEnum<{
1633
+ LIVE: "LIVE";
1634
+ TEST_ONLY: "TEST_ONLY";
1635
+ }>;
1636
+ id: z.ZodUUID;
1637
+ timelineId: z.ZodUUID;
1638
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
1639
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
1640
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
1641
+ version: z.ZodInt;
1642
+ fingerprint: z.ZodString;
1643
+ createdByPrincipalId: z.core.$ZodBranded<z.ZodUUID, "PrincipalId", "out">;
1644
+ createdAt: z.ZodISODateTime;
1645
+ }, z.core.$strict>;
1646
+ frames: z.ZodArray<z.ZodObject<{
1647
+ ordinal: z.ZodInt;
1648
+ startFrame: z.ZodInt;
1649
+ frameCount: z.ZodInt;
1650
+ overlapFrames: z.ZodDefault<z.ZodInt>;
1651
+ }, z.core.$strict>>;
1652
+ totalFrames: z.ZodInt;
1653
+ selection: z.ZodObject<{
1654
+ tenantId: typeof import("./ids.js").TenantIdSchema;
1655
+ productionId: typeof import("./ids.js").ProductionIdSchema;
1656
+ id: z.ZodUUID;
1657
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
1658
+ version: z.ZodInt;
1659
+ action: z.ZodEnum<{
1660
+ REJECT: "REJECT";
1661
+ REVOKE: "REVOKE";
1662
+ SELECT: "SELECT";
1663
+ }>;
1664
+ renderId: z.ZodUUID;
1665
+ reviewId: z.ZodUUID;
1666
+ basisFingerprint: z.ZodString;
1667
+ timelineVersionId: z.ZodUUID;
1668
+ timelineFingerprint: z.ZodString;
1669
+ artifactId: z.ZodUUID;
1670
+ representationId: z.ZodUUID;
1671
+ checksumSha256: z.ZodString;
1672
+ outputProfile: z.ZodEnum<{
1673
+ MP4_H264_1080P: "MP4_H264_1080P";
1674
+ MP4_H264_720P: "MP4_H264_720P";
1675
+ MP4_H264_480P: "MP4_H264_480P";
1676
+ }>;
1677
+ executionClass: z.ZodEnum<{
1678
+ LIVE: "LIVE";
1679
+ TEST_ONLY: "TEST_ONLY";
1680
+ }>;
1681
+ previousSelectionId: z.ZodNullable<z.ZodUUID>;
1682
+ acknowledgeWarnings: z.ZodBoolean;
1683
+ warningKeys: z.ZodArray<z.ZodString>;
1684
+ reason: z.ZodString;
1685
+ createdByPrincipalId: z.core.$ZodBranded<z.ZodUUID, "PrincipalId", "out">;
1686
+ createdAt: z.ZodISODateTime;
1687
+ }, z.core.$strict>;
1688
+ selectionVersion: z.ZodInt;
1689
+ profile: z.ZodObject<{
1690
+ id: z.ZodEnum<{
1691
+ FINAL_H264_1080P_V1: "FINAL_H264_1080P_V1";
1692
+ FINAL_H264_720P_V1: "FINAL_H264_720P_V1";
1693
+ FINAL_H264_480P_V1: "FINAL_H264_480P_V1";
1694
+ }>;
1695
+ algorithm: z.ZodEnum<{
1696
+ ORDERED_TRIM_CUT_V1: "ORDERED_TRIM_CUT_V1";
1697
+ ORDERED_COMPOSE_V2: "ORDERED_COMPOSE_V2";
1698
+ }>;
1699
+ picturePolicy: z.ZodOptional<z.ZodLiteral<"CROP_PAD_V1">>;
1700
+ width: z.ZodUnion<readonly [z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>, z.ZodLiteral<854>, z.ZodLiteral<480>]>;
1701
+ height: z.ZodUnion<readonly [z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>, z.ZodLiteral<854>, z.ZodLiteral<480>]>;
1702
+ frameRate: z.ZodLiteral<30>;
1703
+ codec: z.ZodLiteral<"h264">;
1704
+ pixelFormat: z.ZodLiteral<"yuv420p">;
1705
+ fit: z.ZodLiteral<"PAD">;
1706
+ hasAudio: z.ZodBoolean;
1707
+ audioMix: z.ZodOptional<z.ZodObject<{
1708
+ id: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
1709
+ sampleRateHz: z.ZodLiteral<48000>;
1710
+ audioChannels: z.ZodLiteral<2>;
1711
+ audioCodec: z.ZodLiteral<"aac">;
1712
+ bitrate: z.ZodLiteral<192000>;
1713
+ peakPermille: z.ZodLiteral<950>;
1714
+ duckingMusicPermille: z.ZodInt;
1715
+ }, z.core.$strict>>;
1716
+ framePolicy: z.ZodLiteral<"CUMULATIVE_NEAREST_FRAME">;
1717
+ encoder: z.ZodLiteral<"libx264">;
1718
+ crf: z.ZodLiteral<18>;
1719
+ preset: z.ZodLiteral<"veryfast">;
1720
+ gopFrames: z.ZodLiteral<30>;
1721
+ bFrames: z.ZodLiteral<0>;
1722
+ audioPolicy: z.ZodEnum<{
1723
+ SILENT: "SILENT";
1724
+ MIXED: "MIXED";
1725
+ }>;
1726
+ captionPolicy: z.ZodEnum<{
1727
+ NONE: "NONE";
1728
+ BURN_IN: "BURN_IN";
1729
+ }>;
1730
+ sourceQualityPolicy: z.ZodLiteral<"NO_UPSCALE_V1">;
1731
+ captionStyle: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1732
+ id: z.ZodLiteral<"PLAIN_TEXT_NOTO_SANS_SC_V1">;
1733
+ fontSha256: z.ZodLiteral<"a3041811a78c361b1de50f953c805e0244951c21c5bd412f7232ef0d899af0da">;
1734
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
1735
+ }, z.core.$strict>, z.ZodObject<{
1736
+ id: z.ZodLiteral<"PLAIN_TEXT_NATIVE_SC_REGULAR_V2">;
1737
+ fontSha256: z.ZodLiteral<"e5a51f41fc1b827da651afee3975e07a182ff4f8e04d9dfc0a3cecd6177a52b6">;
1738
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
1739
+ }, z.core.$strict>], "id">>;
1740
+ graphicsPolicy: z.ZodOptional<z.ZodLiteral<"OVERLAY_V1">>;
1741
+ }, z.core.$strict>;
1742
+ }, z.core.$strict>, z.ZodObject<{
1743
+ frames: z.ZodArray<z.ZodObject<{
1744
+ ordinal: z.ZodInt;
1745
+ startFrame: z.ZodInt;
1746
+ frameCount: z.ZodInt;
1747
+ overlapFrames: z.ZodDefault<z.ZodInt>;
1748
+ }, z.core.$strict>>;
1749
+ totalFrames: z.ZodInt;
1750
+ schemaVersion: z.ZodLiteral<2>;
1751
+ timeline: typeof import("./timeline-v2.js").TimelineV2VersionSchema;
1752
+ selection: z.ZodObject<{
1753
+ tenantId: typeof import("./ids.js").TenantIdSchema;
1754
+ productionId: typeof import("./ids.js").ProductionIdSchema;
1755
+ id: z.ZodUUID;
1756
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
1757
+ version: z.ZodInt;
1758
+ action: z.ZodEnum<{
1759
+ REJECT: "REJECT";
1760
+ REVOKE: "REVOKE";
1761
+ SELECT: "SELECT";
1762
+ }>;
1763
+ renderId: z.ZodUUID;
1764
+ reviewId: z.ZodUUID;
1765
+ basisFingerprint: z.ZodString;
1766
+ timelineVersionId: z.ZodUUID;
1767
+ timelineFingerprint: z.ZodString;
1768
+ artifactId: z.ZodUUID;
1769
+ representationId: z.ZodUUID;
1770
+ checksumSha256: z.ZodString;
1771
+ outputProfile: z.ZodEnum<{
1772
+ MP4_H264_1080P: "MP4_H264_1080P";
1773
+ MP4_H264_720P: "MP4_H264_720P";
1774
+ MP4_H264_480P: "MP4_H264_480P";
1775
+ }>;
1776
+ executionClass: z.ZodEnum<{
1777
+ LIVE: "LIVE";
1778
+ TEST_ONLY: "TEST_ONLY";
1779
+ }>;
1780
+ previousSelectionId: z.ZodNullable<z.ZodUUID>;
1781
+ acknowledgeWarnings: z.ZodBoolean;
1782
+ warningKeys: z.ZodArray<z.ZodString>;
1783
+ reason: z.ZodString;
1784
+ createdByPrincipalId: z.core.$ZodBranded<z.ZodUUID, "PrincipalId", "out">;
1785
+ createdAt: z.ZodISODateTime;
1786
+ }, z.core.$strict>;
1787
+ selectionVersion: z.ZodInt;
1788
+ profile: z.ZodObject<{
1789
+ id: z.ZodEnum<{
1790
+ FINAL_H264_1080P_V1: "FINAL_H264_1080P_V1";
1791
+ FINAL_H264_720P_V1: "FINAL_H264_720P_V1";
1792
+ FINAL_H264_480P_V1: "FINAL_H264_480P_V1";
1793
+ }>;
1794
+ algorithm: z.ZodEnum<{
1795
+ ORDERED_TRIM_CUT_V1: "ORDERED_TRIM_CUT_V1";
1796
+ ORDERED_COMPOSE_V2: "ORDERED_COMPOSE_V2";
1797
+ }>;
1798
+ picturePolicy: z.ZodOptional<z.ZodLiteral<"CROP_PAD_V1">>;
1799
+ width: z.ZodUnion<readonly [z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>, z.ZodLiteral<854>, z.ZodLiteral<480>]>;
1800
+ height: z.ZodUnion<readonly [z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>, z.ZodLiteral<854>, z.ZodLiteral<480>]>;
1801
+ frameRate: z.ZodLiteral<30>;
1802
+ codec: z.ZodLiteral<"h264">;
1803
+ pixelFormat: z.ZodLiteral<"yuv420p">;
1804
+ fit: z.ZodLiteral<"PAD">;
1805
+ hasAudio: z.ZodBoolean;
1806
+ audioMix: z.ZodOptional<z.ZodObject<{
1807
+ id: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
1808
+ sampleRateHz: z.ZodLiteral<48000>;
1809
+ audioChannels: z.ZodLiteral<2>;
1810
+ audioCodec: z.ZodLiteral<"aac">;
1811
+ bitrate: z.ZodLiteral<192000>;
1812
+ peakPermille: z.ZodLiteral<950>;
1813
+ duckingMusicPermille: z.ZodInt;
1814
+ }, z.core.$strict>>;
1815
+ framePolicy: z.ZodLiteral<"CUMULATIVE_NEAREST_FRAME">;
1816
+ encoder: z.ZodLiteral<"libx264">;
1817
+ crf: z.ZodLiteral<18>;
1818
+ preset: z.ZodLiteral<"veryfast">;
1819
+ gopFrames: z.ZodLiteral<30>;
1820
+ bFrames: z.ZodLiteral<0>;
1821
+ audioPolicy: z.ZodEnum<{
1822
+ SILENT: "SILENT";
1823
+ MIXED: "MIXED";
1824
+ }>;
1825
+ captionPolicy: z.ZodEnum<{
1826
+ NONE: "NONE";
1827
+ BURN_IN: "BURN_IN";
1828
+ }>;
1829
+ sourceQualityPolicy: z.ZodLiteral<"NO_UPSCALE_V1">;
1830
+ captionStyle: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1831
+ id: z.ZodLiteral<"PLAIN_TEXT_NOTO_SANS_SC_V1">;
1832
+ fontSha256: z.ZodLiteral<"a3041811a78c361b1de50f953c805e0244951c21c5bd412f7232ef0d899af0da">;
1833
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
1834
+ }, z.core.$strict>, z.ZodObject<{
1835
+ id: z.ZodLiteral<"PLAIN_TEXT_NATIVE_SC_REGULAR_V2">;
1836
+ fontSha256: z.ZodLiteral<"e5a51f41fc1b827da651afee3975e07a182ff4f8e04d9dfc0a3cecd6177a52b6">;
1837
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
1838
+ }, z.core.$strict>], "id">>;
1839
+ graphicsPolicy: z.ZodOptional<z.ZodLiteral<"OVERLAY_V1">>;
1840
+ }, z.core.$strict>;
1841
+ }, z.core.$strict>, z.ZodObject<{
1842
+ frames: z.ZodArray<z.ZodObject<{
1843
+ ordinal: z.ZodInt;
1844
+ startFrame: z.ZodInt;
1845
+ frameCount: z.ZodInt;
1846
+ overlapFrames: z.ZodDefault<z.ZodInt>;
1847
+ }, z.core.$strict>>;
1848
+ totalFrames: z.ZodInt;
1849
+ schemaVersion: z.ZodLiteral<3>;
1850
+ timeline: z.ZodObject<{
1851
+ caption: z.ZodOptional<z.ZodObject<{
1852
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
1853
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
1854
+ transcriptProvenance: z.ZodOptional<z.ZodObject<{
1855
+ schemaVersion: z.ZodLiteral<1>;
1856
+ advisory: z.ZodLiteral<true>;
1857
+ timing: z.ZodLiteral<"PROVIDER_REPORTED">;
1858
+ timelineVersionId: z.ZodUUID;
1859
+ timingFingerprint: z.ZodString;
1860
+ sources: z.ZodArray<z.ZodObject<{
1861
+ observationId: z.ZodUUID;
1862
+ artifactId: z.ZodUUID;
1863
+ representationId: z.ZodUUID;
1864
+ checksumSha256: z.ZodString;
1865
+ placement: z.ZodDiscriminatedUnion<[z.ZodObject<{
1866
+ kind: z.ZodLiteral<"AUDIO_TRACK">;
1867
+ purpose: z.ZodEnum<{
1868
+ VOICEOVER: "VOICEOVER";
1869
+ MUSIC: "MUSIC";
1870
+ }>;
1871
+ }, z.core.$strict>, z.ZodObject<{
1872
+ kind: z.ZodLiteral<"SPEECH_CUE">;
1873
+ cueId: z.ZodString;
1874
+ }, z.core.$strict>, z.ZodObject<{
1875
+ kind: z.ZodLiteral<"TIMELINE_OUTPUT">;
1876
+ }, z.core.$strict>], "kind">;
1877
+ granularity: z.ZodEnum<{
1878
+ word: "word";
1879
+ segment: "segment";
1880
+ }>;
1881
+ sourceInMs: z.ZodInt;
1882
+ sourceOutMs: z.ZodInt;
1883
+ startMs: z.ZodInt;
1884
+ spanIndices: z.ZodArray<z.ZodInt>;
1885
+ excludedSpans: z.ZodInt;
1886
+ }, z.core.$strict>>;
1887
+ }, z.core.$strict>>;
1888
+ id: z.ZodUUID;
1889
+ captionId: z.ZodUUID;
1890
+ projectId: z.ZodUUID;
1891
+ version: z.ZodInt;
1892
+ artifactId: z.ZodUUID;
1893
+ content: z.ZodObject<{
1894
+ language: z.ZodString;
1895
+ durationMs: z.ZodInt;
1896
+ cues: z.ZodArray<z.ZodObject<{
1897
+ startMs: z.ZodInt;
1898
+ endMs: z.ZodInt;
1899
+ text: z.ZodString;
1900
+ }, z.core.$strict>>;
1901
+ }, z.core.$strict>;
1902
+ fingerprint: z.ZodString;
1903
+ original: z.ZodObject<{
1904
+ id: z.ZodUUID;
1905
+ checksumSha256: z.ZodString;
1906
+ byteSize: z.ZodInt;
1907
+ }, z.core.$strict>;
1908
+ subtitle: z.ZodObject<{
1909
+ id: z.ZodUUID;
1910
+ checksumSha256: z.ZodString;
1911
+ byteSize: z.ZodInt;
1912
+ }, z.core.$strict>;
1913
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
1914
+ createdByPrincipalId: z.ZodUUID;
1915
+ createdAt: z.ZodISODateTime;
1916
+ }, z.core.$strict>>;
1917
+ captionStyle: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1918
+ id: z.ZodLiteral<"PLAIN_TEXT_NOTO_SANS_SC_V1">;
1919
+ fontSha256: z.ZodLiteral<"a3041811a78c361b1de50f953c805e0244951c21c5bd412f7232ef0d899af0da">;
1920
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
1921
+ }, z.core.$strict>, z.ZodObject<{
1922
+ id: z.ZodLiteral<"PLAIN_TEXT_NATIVE_SC_REGULAR_V2">;
1923
+ fontSha256: z.ZodLiteral<"e5a51f41fc1b827da651afee3975e07a182ff4f8e04d9dfc0a3cecd6177a52b6">;
1924
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
1925
+ }, z.core.$strict>], "id">>;
1926
+ audio: z.ZodOptional<z.ZodObject<{
1927
+ mix: z.ZodObject<{
1928
+ id: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
1929
+ sampleRateHz: z.ZodLiteral<48000>;
1930
+ audioChannels: z.ZodLiteral<2>;
1931
+ audioCodec: z.ZodLiteral<"aac">;
1932
+ bitrate: z.ZodLiteral<192000>;
1933
+ peakPermille: z.ZodLiteral<950>;
1934
+ duckingMusicPermille: z.ZodInt;
1935
+ }, z.core.$strict>;
1936
+ tracks: z.ZodArray<z.ZodObject<{
1937
+ sourceInMs: z.ZodInt;
1938
+ sourceOutMs: z.ZodInt;
1939
+ startMs: z.ZodInt;
1940
+ gainPermille: z.ZodInt;
1941
+ source: z.ZodObject<{
1942
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
1943
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
1944
+ purpose: z.ZodEnum<{
1945
+ VOICEOVER: "VOICEOVER";
1946
+ MUSIC: "MUSIC";
1947
+ }>;
1948
+ id: z.ZodUUID;
1949
+ audioId: z.ZodUUID;
1950
+ projectId: z.ZodUUID;
1951
+ version: z.ZodInt;
1952
+ artifactId: z.ZodUUID;
1953
+ original: z.ZodObject<{
1954
+ id: z.ZodUUID;
1955
+ checksumSha256: z.ZodString;
1956
+ byteSize: z.ZodInt;
1957
+ }, z.core.$strict>;
1958
+ media: z.ZodObject<{
1959
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
1960
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
1961
+ sampleRateHz: z.ZodLiteral<48000>;
1962
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1963
+ sampleCount: z.ZodInt;
1964
+ durationMs: z.ZodInt;
1965
+ }, z.core.$strict>;
1966
+ originalName: z.ZodNullable<z.ZodString>;
1967
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
1968
+ createdByPrincipalId: z.ZodUUID;
1969
+ createdAt: z.ZodISODateTime;
1970
+ generation: z.ZodOptional<z.ZodObject<{
1971
+ generationId: z.ZodUUID;
1972
+ executionClass: z.ZodEnum<{
1973
+ LIVE: "LIVE";
1974
+ TEST_ONLY: "TEST_ONLY";
1975
+ }>;
1976
+ executionTarget: z.ZodOptional<z.ZodLiteral<"TENANT_DEVICE">>;
1977
+ sourceArtifactId: z.ZodUUID;
1978
+ sourceRepresentationId: z.ZodUUID;
1979
+ sourceChecksumSha256: z.ZodString;
1980
+ sourceByteSize: z.ZodInt;
1981
+ sourceMedia: z.ZodObject<{
1982
+ sampleRateHz: z.ZodInt;
1983
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1984
+ sampleCount: z.ZodInt;
1985
+ }, z.core.$strict>;
1986
+ normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
1987
+ padSamples: z.ZodInt;
1988
+ }, z.core.$strict>>;
1989
+ }, z.core.$strict>;
1990
+ }, z.core.$strict>>;
1991
+ }, z.core.$strict>>;
1992
+ graphics: z.ZodOptional<z.ZodArray<z.ZodObject<{
1993
+ source: z.ZodObject<{
1994
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
1995
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
1996
+ productionId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
1997
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
1998
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
1999
+ checksumSha256: z.ZodString;
2000
+ contentType: z.ZodEnum<{
2001
+ "image/png": "image/png";
2002
+ "image/webp": "image/webp";
2003
+ }>;
2004
+ byteSize: z.ZodInt;
2005
+ width: z.ZodInt;
2006
+ height: z.ZodInt;
2007
+ }, z.core.$strict>;
2008
+ placement: z.ZodObject<{
2009
+ startFrame: z.ZodInt;
2010
+ endFrame: z.ZodInt;
2011
+ anchor: z.ZodEnum<{
2012
+ TOP_LEFT: "TOP_LEFT";
2013
+ TOP_RIGHT: "TOP_RIGHT";
2014
+ BOTTOM_LEFT: "BOTTOM_LEFT";
2015
+ BOTTOM_RIGHT: "BOTTOM_RIGHT";
2016
+ }>;
2017
+ widthPermille: z.ZodInt;
2018
+ marginXPermille: z.ZodInt;
2019
+ marginYPermille: z.ZodInt;
2020
+ opacityPermille: z.ZodInt;
2021
+ }, z.core.$strict>;
2022
+ }, z.core.$strict>>>;
2023
+ basis: z.ZodObject<{
2024
+ briefVersionId: z.core.$ZodBranded<z.ZodUUID, "BriefVersionId", "out">;
2025
+ briefVersion: z.ZodInt;
2026
+ storyVersion: z.ZodInt;
2027
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
2028
+ planVersion: z.ZodInt;
2029
+ }, z.core.$strict>;
2030
+ output: z.ZodObject<{
2031
+ aspectRatio: z.ZodEnum<{
2032
+ "16:9": "16:9";
2033
+ "9:16": "9:16";
2034
+ }>;
2035
+ profile: z.ZodEnum<{
2036
+ MP4_H264_1080P: "MP4_H264_1080P";
2037
+ MP4_H264_720P: "MP4_H264_720P";
2038
+ MP4_H264_480P: "MP4_H264_480P";
2039
+ }>;
2040
+ }, z.core.$strict>;
2041
+ duration: z.ZodObject<{
2042
+ totalMs: z.ZodInt;
2043
+ targetMs: z.ZodInt;
2044
+ minMs: z.ZodLiteral<30000>;
2045
+ maxMs: z.ZodLiteral<60000>;
2046
+ deltaTargetMs: z.ZodInt;
2047
+ classification: z.ZodEnum<{
2048
+ TOO_SHORT: "TOO_SHORT";
2049
+ WITHIN_TARGET: "WITHIN_TARGET";
2050
+ TOO_LONG: "TOO_LONG";
2051
+ }>;
2052
+ }, z.core.$strict>;
2053
+ missingPlannedShotIds: z.ZodArray<z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">>;
2054
+ executionClass: z.ZodEnum<{
2055
+ LIVE: "LIVE";
2056
+ TEST_ONLY: "TEST_ONLY";
2057
+ }>;
2058
+ clips: z.ZodArray<z.ZodObject<{
2059
+ ordinal: z.ZodInt;
2060
+ technical: z.ZodObject<{
2061
+ contentType: z.ZodLiteral<"video/mp4">;
2062
+ checksumSha256: z.ZodString;
2063
+ byteSize: z.ZodInt;
2064
+ width: z.ZodInt;
2065
+ height: z.ZodInt;
2066
+ durationMs: z.ZodInt;
2067
+ frameRate: z.ZodNumber;
2068
+ videoCodec: z.ZodEnum<{
2069
+ h264: "h264";
2070
+ hevc: "hevc";
2071
+ }>;
2072
+ pixelFormat: z.ZodOptional<z.ZodLiteral<"yuv420p10le">>;
2073
+ hasAudio: z.ZodBoolean;
2074
+ nativeAudio: z.ZodOptional<z.ZodObject<{
2075
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
2076
+ sourceCodec: z.ZodLiteral<"aac">;
2077
+ sourceSampleRateHz: z.ZodInt;
2078
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
2079
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
2080
+ sourceFrameCount: z.ZodInt;
2081
+ sourceStartOffsetMs: z.ZodNumber;
2082
+ sourceDeclaredDurationMs: z.ZodNumber;
2083
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
2084
+ media: z.ZodObject<{
2085
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
2086
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
2087
+ sampleRateHz: z.ZodLiteral<48000>;
2088
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
2089
+ sampleCount: z.ZodInt;
2090
+ durationMs: z.ZodNumber;
2091
+ }, z.core.$strict>;
2092
+ checksumSha256: z.ZodString;
2093
+ }, z.core.$strict>>;
2094
+ }, z.core.$strict>;
2095
+ sourceInMs: z.ZodInt;
2096
+ sourceOutMs: z.ZodInt;
2097
+ startMs: z.ZodInt;
2098
+ durationMs: z.ZodInt;
2099
+ transition: z.ZodUnion<readonly [z.ZodLiteral<"CUT">, z.ZodObject<{
2100
+ kind: z.ZodLiteral<"CROSS_DISSOLVE_V1">;
2101
+ durationFrames: z.ZodInt;
2102
+ }, z.core.$strict>]>;
2103
+ framing: z.ZodOptional<z.ZodObject<{
2104
+ algorithm: z.ZodLiteral<"CROP_PAD_V1">;
2105
+ crop: z.ZodObject<{
2106
+ x: z.ZodInt;
2107
+ y: z.ZodInt;
2108
+ width: z.ZodInt;
2109
+ height: z.ZodInt;
2110
+ }, z.core.$strict>;
2111
+ anchorXPermille: z.ZodInt;
2112
+ anchorYPermille: z.ZodInt;
2113
+ }, z.core.$strict>>;
2114
+ source: z.ZodUnion<readonly [z.ZodObject<{
2115
+ acceptanceId: z.ZodUUID;
2116
+ reviewId: z.ZodUUID;
2117
+ generationId: z.ZodUUID;
2118
+ candidateId: z.ZodUUID;
2119
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
2120
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
2121
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
2122
+ checksumSha256: z.ZodString;
2123
+ artifactChecksumSha256: z.ZodString;
2124
+ preparationId: z.ZodUUID;
2125
+ contractId: z.ZodUUID;
2126
+ contractFingerprint: z.ZodString;
2127
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
2128
+ planVersion: z.ZodInt;
2129
+ shotPlanningRevision: z.ZodInt;
2130
+ executionClass: z.ZodEnum<{
2131
+ LIVE: "LIVE";
2132
+ TEST_ONLY: "TEST_ONLY";
2133
+ }>;
2134
+ reviewResult: z.ZodEnum<{
2135
+ PASS: "PASS";
2136
+ WARNING: "WARNING";
2137
+ }>;
2138
+ }, z.core.$strict>, z.ZodObject<{
2139
+ sourceKind: z.ZodLiteral<"PROGRAMMATIC">;
2140
+ acceptanceId: z.ZodUUID;
2141
+ reviewId: z.ZodUUID;
2142
+ renderId: z.ZodUUID;
2143
+ compositionId: z.ZodUUID;
2144
+ compositionVersionId: z.ZodUUID;
2145
+ compositionVersion: z.ZodInt;
2146
+ compositionFingerprint: z.ZodString;
2147
+ renderManifestFingerprint: z.ZodString;
2148
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
2149
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
2150
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
2151
+ checksumSha256: z.ZodString;
2152
+ artifactChecksumSha256: z.ZodString;
2153
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
2154
+ planVersion: z.ZodInt;
2155
+ shotPlanningRevision: z.ZodInt;
2156
+ executionClass: z.ZodEnum<{
2157
+ LIVE: "LIVE";
2158
+ TEST_ONLY: "TEST_ONLY";
2159
+ }>;
2160
+ reviewResult: z.ZodEnum<{
2161
+ PASS: "PASS";
2162
+ WARNING: "WARNING";
2163
+ }>;
2164
+ }, z.core.$strict>, z.ZodObject<{
2165
+ sourceKind: z.ZodLiteral<"IMPORTED">;
2166
+ acceptanceId: z.ZodUUID;
2167
+ reviewId: z.ZodUUID;
2168
+ normalizationId: z.ZodUUID;
2169
+ sourceId: z.ZodUUID;
2170
+ sourceVersionId: z.ZodUUID;
2171
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
2172
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
2173
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
2174
+ checksumSha256: z.ZodString;
2175
+ executionClass: z.ZodEnum<{
2176
+ LIVE: "LIVE";
2177
+ TEST_ONLY: "TEST_ONLY";
2178
+ }>;
2179
+ reviewResult: z.ZodEnum<{
2180
+ PASS: "PASS";
2181
+ WARNING: "WARNING";
2182
+ }>;
2183
+ }, z.core.$strict>]>;
2184
+ }, z.core.$strict>>;
2185
+ sourceSound: z.ZodOptional<z.ZodObject<{
2186
+ schemaVersion: z.ZodLiteral<1>;
2187
+ soundPlanVersionId: z.ZodUUID;
2188
+ soundPlanFingerprint: z.ZodString;
2189
+ plannedCues: z.ZodArray<z.ZodObject<{
2190
+ id: z.ZodString;
2191
+ role: z.ZodEnum<{
2192
+ MUSIC: "MUSIC";
2193
+ NARRATION: "NARRATION";
2194
+ DIALOGUE: "DIALOGUE";
2195
+ AMBIENCE: "AMBIENCE";
2196
+ SOUND_EFFECT: "SOUND_EFFECT";
2197
+ }>;
2198
+ source: z.ZodEnum<{
2199
+ TTS: "TTS";
2200
+ NATIVE_VIDEO: "NATIVE_VIDEO";
2201
+ IMPORTED_AUDIO: "IMPORTED_AUDIO";
2202
+ EXISTING_AUDIO: "EXISTING_AUDIO";
2203
+ }>;
2204
+ shotIds: z.ZodArray<z.ZodUUID>;
2205
+ startMs: z.ZodInt;
2206
+ endMs: z.ZodInt;
2207
+ text: z.ZodOptional<z.ZodString>;
2208
+ voice: z.ZodOptional<z.ZodString>;
2209
+ model: z.ZodOptional<z.ZodObject<{
2210
+ modelProfileId: z.ZodString;
2211
+ modelProfileVersion: z.ZodInt;
2212
+ connectionId: z.ZodUUID;
2213
+ }, z.core.$strict>>;
2214
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
2215
+ audio: z.ZodOptional<z.ZodObject<{
2216
+ purpose: z.ZodEnum<{
2217
+ VOICEOVER: "VOICEOVER";
2218
+ MUSIC: "MUSIC";
2219
+ }>;
2220
+ versionId: z.ZodUUID;
2221
+ }, z.core.$strict>>;
2222
+ lipSync: z.ZodEnum<{
2223
+ NONE: "NONE";
2224
+ REQUIRED: "REQUIRED";
2225
+ }>;
2226
+ exactSpeech: z.ZodBoolean;
2227
+ }, z.core.$strict>>;
2228
+ mix: z.ZodObject<{
2229
+ id: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
2230
+ sampleRateHz: z.ZodLiteral<48000>;
2231
+ audioChannels: z.ZodLiteral<2>;
2232
+ audioCodec: z.ZodLiteral<"aac">;
2233
+ bitrate: z.ZodLiteral<192000>;
2234
+ peakPermille: z.ZodLiteral<950>;
2235
+ duckingMusicPermille: z.ZodInt;
2236
+ }, z.core.$strict>;
2237
+ clips: z.ZodArray<z.ZodObject<{
2238
+ ordinal: z.ZodInt;
2239
+ treatment: z.ZodObject<{
2240
+ policy: z.ZodEnum<{
2241
+ KEEP: "KEEP";
2242
+ MUTE: "MUTE";
2243
+ DUCK: "DUCK";
2244
+ }>;
2245
+ gainPermille: z.ZodInt;
2246
+ duckingPermille: z.ZodInt;
2247
+ }, z.core.$strict>;
2248
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2249
+ kind: z.ZodLiteral<"NATIVE_GENERATED">;
2250
+ version: z.ZodObject<{
2251
+ id: z.ZodUUID;
2252
+ tenantId: z.ZodUUID;
2253
+ projectId: z.ZodUUID;
2254
+ productionId: z.ZodUUID;
2255
+ shotId: z.ZodUUID;
2256
+ generationId: z.ZodUUID;
2257
+ videoArtifactId: z.ZodUUID;
2258
+ videoRepresentationId: z.ZodUUID;
2259
+ videoChecksumSha256: z.ZodString;
2260
+ artifactId: z.ZodUUID;
2261
+ representationId: z.ZodUUID;
2262
+ checksumSha256: z.ZodString;
2263
+ byteSize: z.ZodInt;
2264
+ metadata: z.ZodObject<{
2265
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
2266
+ sourceCodec: z.ZodLiteral<"aac">;
2267
+ sourceSampleRateHz: z.ZodInt;
2268
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
2269
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
2270
+ sourceFrameCount: z.ZodInt;
2271
+ sourceStartOffsetMs: z.ZodNumber;
2272
+ sourceDeclaredDurationMs: z.ZodNumber;
2273
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
2274
+ media: z.ZodObject<{
2275
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
2276
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
2277
+ sampleRateHz: z.ZodLiteral<48000>;
2278
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
2279
+ sampleCount: z.ZodInt;
2280
+ durationMs: z.ZodNumber;
2281
+ }, z.core.$strict>;
2282
+ checksumSha256: z.ZodString;
2283
+ }, z.core.$strict>;
2284
+ executionClass: z.ZodEnum<{
2285
+ LIVE: "LIVE";
2286
+ TEST_ONLY: "TEST_ONLY";
2287
+ }>;
2288
+ }, z.core.$strict>;
2289
+ }, z.core.$strict>, z.ZodObject<{
2290
+ kind: z.ZodLiteral<"IMPORTED_SYNC">;
2291
+ version: z.ZodObject<{
2292
+ schemaVersion: z.ZodLiteral<1>;
2293
+ purpose: z.ZodLiteral<"SOURCE_SYNC">;
2294
+ id: z.ZodUUID;
2295
+ audioId: z.ZodUUID;
2296
+ version: z.ZodInt;
2297
+ tenantId: z.ZodUUID;
2298
+ projectId: z.ZodUUID;
2299
+ productionId: z.ZodUUID;
2300
+ shotId: z.ZodUUID;
2301
+ normalizationId: z.ZodUUID;
2302
+ artifactId: z.ZodUUID;
2303
+ representationId: z.ZodUUID;
2304
+ provenance: z.ZodObject<{
2305
+ schemaVersion: z.ZodLiteral<1>;
2306
+ purpose: z.ZodLiteral<"SOURCE_SYNC">;
2307
+ tenantId: z.ZodUUID;
2308
+ projectId: z.ZodUUID;
2309
+ productionId: z.ZodUUID;
2310
+ shotId: z.ZodUUID;
2311
+ sourceId: z.ZodUUID;
2312
+ sourceVersionId: z.ZodUUID;
2313
+ normalizationId: z.ZodUUID;
2314
+ originalArtifactId: z.ZodUUID;
2315
+ originalRepresentationId: z.ZodUUID;
2316
+ originalChecksumSha256: z.ZodString;
2317
+ sourceRange: z.ZodObject<{
2318
+ clock: z.ZodLiteral<"SOURCE_ZERO_BASED_CFR30">;
2319
+ startFrame: z.ZodInt;
2320
+ endFrame: z.ZodInt;
2321
+ }, z.core.$strict>;
2322
+ destinationStartSample: z.ZodInt;
2323
+ media: z.ZodUnion<readonly [z.ZodObject<{
2324
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
2325
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
2326
+ sampleRateHz: z.ZodLiteral<48000>;
2327
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
2328
+ sampleCount: z.ZodInt;
2329
+ durationMs: z.ZodInt;
2330
+ }, z.core.$strict>, z.ZodObject<{
2331
+ profile: z.ZodLiteral<"PCM_S16LE_48000_SOURCE_SYNC_V1">;
2332
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
2333
+ sampleRateHz: z.ZodLiteral<48000>;
2334
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
2335
+ sampleCount: z.ZodInt;
2336
+ durationMs: z.ZodNumber;
2337
+ }, z.core.$strict>]>;
2338
+ wavChecksumSha256: z.ZodString;
2339
+ wavByteSize: z.ZodInt;
2340
+ }, z.core.$strict>;
2341
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
2342
+ executionClass: z.ZodEnum<{
2343
+ LIVE: "LIVE";
2344
+ TEST_ONLY: "TEST_ONLY";
2345
+ }>;
2346
+ createdByPrincipalId: z.ZodUUID;
2347
+ createdAt: z.ZodISODateTime;
2348
+ }, z.core.$strict>;
2349
+ }, z.core.$strict>], "kind">>;
2350
+ sourceInSample: z.ZodInt;
2351
+ sourceOutSample: z.ZodInt;
2352
+ startSample: z.ZodInt;
2353
+ outputSampleCount: z.ZodInt;
2354
+ }, z.core.$strict>>;
2355
+ speechCues: z.ZodArray<z.ZodObject<{
2356
+ cueId: z.ZodString;
2357
+ source: z.ZodObject<{
2358
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
2359
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
2360
+ purpose: z.ZodEnum<{
2361
+ VOICEOVER: "VOICEOVER";
2362
+ MUSIC: "MUSIC";
2363
+ }>;
2364
+ id: z.ZodUUID;
2365
+ audioId: z.ZodUUID;
2366
+ projectId: z.ZodUUID;
2367
+ version: z.ZodInt;
2368
+ artifactId: z.ZodUUID;
2369
+ original: z.ZodObject<{
2370
+ id: z.ZodUUID;
2371
+ checksumSha256: z.ZodString;
2372
+ byteSize: z.ZodInt;
2373
+ }, z.core.$strict>;
2374
+ media: z.ZodObject<{
2375
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
2376
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
2377
+ sampleRateHz: z.ZodLiteral<48000>;
2378
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
2379
+ sampleCount: z.ZodInt;
2380
+ durationMs: z.ZodInt;
2381
+ }, z.core.$strict>;
2382
+ originalName: z.ZodNullable<z.ZodString>;
2383
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
2384
+ createdByPrincipalId: z.ZodUUID;
2385
+ createdAt: z.ZodISODateTime;
2386
+ generation: z.ZodOptional<z.ZodObject<{
2387
+ generationId: z.ZodUUID;
2388
+ executionClass: z.ZodEnum<{
2389
+ LIVE: "LIVE";
2390
+ TEST_ONLY: "TEST_ONLY";
2391
+ }>;
2392
+ executionTarget: z.ZodOptional<z.ZodLiteral<"TENANT_DEVICE">>;
2393
+ sourceArtifactId: z.ZodUUID;
2394
+ sourceRepresentationId: z.ZodUUID;
2395
+ sourceChecksumSha256: z.ZodString;
2396
+ sourceByteSize: z.ZodInt;
2397
+ sourceMedia: z.ZodObject<{
2398
+ sampleRateHz: z.ZodInt;
2399
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
2400
+ sampleCount: z.ZodInt;
2401
+ }, z.core.$strict>;
2402
+ normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
2403
+ padSamples: z.ZodInt;
2404
+ }, z.core.$strict>>;
2405
+ }, z.core.$strict>;
2406
+ sourceInMs: z.ZodLiteral<0>;
2407
+ sourceOutMs: z.ZodInt;
2408
+ startMs: z.ZodInt;
2409
+ gainPermille: z.ZodLiteral<1000>;
2410
+ }, z.core.$strict>>;
2411
+ }, z.core.$strict>>;
2412
+ schemaVersion: z.ZodLiteral<3>;
2413
+ visualLayers: z.ZodObject<{
2414
+ schemaVersion: z.ZodLiteral<1>;
2415
+ profileId: z.ZodLiteral<"STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1">;
2416
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
2417
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
2418
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
2419
+ totalFrames: z.ZodInt;
2420
+ layers: z.ZodArray<z.ZodObject<{
2421
+ id: z.ZodUUID;
2422
+ source: z.ZodObject<{
2423
+ schemaVersion: z.ZodLiteral<1>;
2424
+ profileId: z.ZodLiteral<"RGBA_PNG_SEQUENCE_30_V1">;
2425
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
2426
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
2427
+ productionId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
2428
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
2429
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
2430
+ checksumSha256: z.ZodString;
2431
+ width: z.ZodInt;
2432
+ height: z.ZodInt;
2433
+ frameRate: z.ZodLiteral<30>;
2434
+ frameCount: z.ZodInt;
2435
+ alpha: z.ZodLiteral<"STRAIGHT_RGBA">;
2436
+ frames: z.ZodArray<z.ZodObject<{
2437
+ ordinal: z.ZodInt;
2438
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
2439
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
2440
+ checksumSha256: z.ZodString;
2441
+ byteSize: z.ZodInt;
2442
+ }, z.core.$strict>>;
2443
+ }, z.core.$strict>;
2444
+ sourceInFrame: z.ZodInt;
2445
+ sourceOutFrame: z.ZodInt;
2446
+ startFrame: z.ZodInt;
2447
+ zIndex: z.ZodInt;
2448
+ opacityPermille: z.ZodInt;
2449
+ placement: z.ZodObject<{
2450
+ xPermille: z.ZodInt;
2451
+ yPermille: z.ZodInt;
2452
+ widthPermille: z.ZodInt;
2453
+ heightPermille: z.ZodInt;
2454
+ }, z.core.$strict>;
2455
+ }, z.core.$strict>>;
2456
+ }, z.core.$strict>;
2457
+ id: z.ZodUUID;
2458
+ timelineId: z.ZodUUID;
2459
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
2460
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
2461
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
2462
+ version: z.ZodInt;
2463
+ fingerprint: z.ZodString;
2464
+ createdByPrincipalId: z.core.$ZodBranded<z.ZodUUID, "PrincipalId", "out">;
2465
+ createdAt: z.ZodISODateTime;
2466
+ }, z.core.$strict>;
2467
+ profile: z.ZodObject<{
2468
+ id: z.ZodEnum<{
2469
+ FINAL_H264_1080P_V1: "FINAL_H264_1080P_V1";
2470
+ FINAL_H264_720P_V1: "FINAL_H264_720P_V1";
2471
+ FINAL_H264_480P_V1: "FINAL_H264_480P_V1";
2472
+ }>;
2473
+ algorithm: z.ZodEnum<{
2474
+ ORDERED_TRIM_CUT_V1: "ORDERED_TRIM_CUT_V1";
2475
+ ORDERED_COMPOSE_V2: "ORDERED_COMPOSE_V2";
2476
+ }>;
2477
+ picturePolicy: z.ZodOptional<z.ZodLiteral<"CROP_PAD_V1">>;
2478
+ width: z.ZodUnion<readonly [z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>, z.ZodLiteral<854>, z.ZodLiteral<480>]>;
2479
+ height: z.ZodUnion<readonly [z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>, z.ZodLiteral<854>, z.ZodLiteral<480>]>;
2480
+ frameRate: z.ZodLiteral<30>;
2481
+ codec: z.ZodLiteral<"h264">;
2482
+ pixelFormat: z.ZodLiteral<"yuv420p">;
2483
+ fit: z.ZodLiteral<"PAD">;
2484
+ hasAudio: z.ZodBoolean;
2485
+ audioMix: z.ZodOptional<z.ZodObject<{
2486
+ id: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
2487
+ sampleRateHz: z.ZodLiteral<48000>;
2488
+ audioChannels: z.ZodLiteral<2>;
2489
+ audioCodec: z.ZodLiteral<"aac">;
2490
+ bitrate: z.ZodLiteral<192000>;
2491
+ peakPermille: z.ZodLiteral<950>;
2492
+ duckingMusicPermille: z.ZodInt;
2493
+ }, z.core.$strict>>;
2494
+ framePolicy: z.ZodLiteral<"CUMULATIVE_NEAREST_FRAME">;
2495
+ encoder: z.ZodLiteral<"libx264">;
2496
+ crf: z.ZodLiteral<18>;
2497
+ preset: z.ZodLiteral<"veryfast">;
2498
+ gopFrames: z.ZodLiteral<30>;
2499
+ bFrames: z.ZodLiteral<0>;
2500
+ audioPolicy: z.ZodEnum<{
2501
+ SILENT: "SILENT";
2502
+ MIXED: "MIXED";
2503
+ }>;
2504
+ captionPolicy: z.ZodEnum<{
2505
+ NONE: "NONE";
2506
+ BURN_IN: "BURN_IN";
2507
+ }>;
2508
+ sourceQualityPolicy: z.ZodLiteral<"NO_UPSCALE_V1">;
2509
+ captionStyle: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2510
+ id: z.ZodLiteral<"PLAIN_TEXT_NOTO_SANS_SC_V1">;
2511
+ fontSha256: z.ZodLiteral<"a3041811a78c361b1de50f953c805e0244951c21c5bd412f7232ef0d899af0da">;
2512
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
2513
+ }, z.core.$strict>, z.ZodObject<{
2514
+ id: z.ZodLiteral<"PLAIN_TEXT_NATIVE_SC_REGULAR_V2">;
2515
+ fontSha256: z.ZodLiteral<"e5a51f41fc1b827da651afee3975e07a182ff4f8e04d9dfc0a3cecd6177a52b6">;
2516
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
2517
+ }, z.core.$strict>], "id">>;
2518
+ graphicsPolicy: z.ZodOptional<z.ZodLiteral<"OVERLAY_V1">>;
2519
+ visualLayerPolicy: z.ZodEnum<{
2520
+ STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1: "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1";
2521
+ STRAIGHT_ALPHA_FRAME_OVERLAY_30_V2: "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V2";
2522
+ }>;
2523
+ visualLayerSourceQualityPolicy: z.ZodLiteral<"NO_UPSCALE_V1">;
2524
+ }, z.core.$strict>;
2525
+ selection: z.ZodObject<{
2526
+ tenantId: typeof import("./ids.js").TenantIdSchema;
2527
+ productionId: typeof import("./ids.js").ProductionIdSchema;
2528
+ id: z.ZodUUID;
2529
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
2530
+ version: z.ZodInt;
2531
+ action: z.ZodEnum<{
2532
+ REJECT: "REJECT";
2533
+ REVOKE: "REVOKE";
2534
+ SELECT: "SELECT";
2535
+ }>;
2536
+ renderId: z.ZodUUID;
2537
+ reviewId: z.ZodUUID;
2538
+ basisFingerprint: z.ZodString;
2539
+ timelineVersionId: z.ZodUUID;
2540
+ timelineFingerprint: z.ZodString;
2541
+ artifactId: z.ZodUUID;
2542
+ representationId: z.ZodUUID;
2543
+ checksumSha256: z.ZodString;
2544
+ outputProfile: z.ZodEnum<{
2545
+ MP4_H264_1080P: "MP4_H264_1080P";
2546
+ MP4_H264_720P: "MP4_H264_720P";
2547
+ MP4_H264_480P: "MP4_H264_480P";
2548
+ }>;
2549
+ executionClass: z.ZodEnum<{
2550
+ LIVE: "LIVE";
2551
+ TEST_ONLY: "TEST_ONLY";
2552
+ }>;
2553
+ previousSelectionId: z.ZodNullable<z.ZodUUID>;
2554
+ acknowledgeWarnings: z.ZodBoolean;
2555
+ warningKeys: z.ZodArray<z.ZodString>;
2556
+ reason: z.ZodString;
2557
+ createdByPrincipalId: z.core.$ZodBranded<z.ZodUUID, "PrincipalId", "out">;
2558
+ createdAt: z.ZodISODateTime;
2559
+ }, z.core.$strict>;
2560
+ selectionVersion: z.ZodInt;
2561
+ }, z.core.$strict>], "schemaVersion">;
2562
+ finalOutput: z.ZodNullable<z.ZodObject<{
2563
+ contentType: z.ZodLiteral<"video/mp4">;
2564
+ checksumSha256: z.ZodString;
2565
+ byteSize: z.ZodInt;
2566
+ width: z.ZodInt;
2567
+ height: z.ZodInt;
2568
+ videoCodec: z.ZodEnum<{
2569
+ h264: "h264";
2570
+ hevc: "hevc";
2571
+ }>;
2572
+ pixelFormat: z.ZodOptional<z.ZodLiteral<"yuv420p10le">>;
2573
+ nativeAudio: z.ZodOptional<z.ZodObject<{
2574
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
2575
+ sourceCodec: z.ZodLiteral<"aac">;
2576
+ sourceSampleRateHz: z.ZodInt;
2577
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
2578
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
2579
+ sourceFrameCount: z.ZodInt;
2580
+ sourceStartOffsetMs: z.ZodNumber;
2581
+ sourceDeclaredDurationMs: z.ZodNumber;
2582
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
2583
+ media: z.ZodObject<{
2584
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
2585
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
2586
+ sampleRateHz: z.ZodLiteral<48000>;
2587
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
2588
+ sampleCount: z.ZodInt;
2589
+ durationMs: z.ZodNumber;
2590
+ }, z.core.$strict>;
2591
+ checksumSha256: z.ZodString;
2592
+ }, z.core.$strict>>;
2593
+ hasAudio: z.ZodBoolean;
2594
+ audio: z.ZodOptional<typeof import("./timeline-audio.js").RenderedAudioSchema>;
2595
+ durationMs: z.ZodInt;
2596
+ frameRate: z.ZodLiteral<30>;
2597
+ frameCount: z.ZodInt;
2598
+ engineVersion: z.ZodString;
2599
+ artifactId: z.ZodUUID;
2600
+ representationId: z.ZodUUID;
2601
+ version: z.ZodInt;
2602
+ poster: typeof import("./video-generation.js").VideoPosterSchema;
2603
+ availability: z.ZodEnum<{
2604
+ AVAILABLE: "AVAILABLE";
2605
+ INVALID: "INVALID";
2606
+ }>;
2607
+ reviewState: z.ZodLiteral<"UNREVIEWED">;
2608
+ deliveryRole: z.ZodLiteral<"NONE">;
2609
+ }, z.core.$strict>>;
2610
+ finalDelivery: z.ZodDefault<z.ZodNullable<z.ZodObject<{
2611
+ id: z.ZodUUID;
2612
+ deliveryRole: z.ZodLiteral<"FINAL_ARTIFACT">;
2613
+ review: z.ZodObject<{
2614
+ id: z.ZodUUID;
2615
+ target: z.ZodObject<{
2616
+ tenantId: z.ZodUUID;
2617
+ projectId: z.ZodUUID;
2618
+ productionId: z.ZodUUID;
2619
+ renderId: z.ZodUUID;
2620
+ timelineVersionId: z.ZodUUID;
2621
+ timelineFingerprint: z.ZodString;
2622
+ selectionId: z.ZodUUID;
2623
+ selectionVersion: z.ZodInt;
2624
+ renderManifestFingerprint: z.ZodString;
2625
+ artifactId: z.ZodUUID;
2626
+ representationId: z.ZodUUID;
2627
+ checksumSha256: z.ZodString;
2628
+ byteSize: z.ZodInt;
2629
+ executionClass: z.ZodEnum<{
2630
+ LIVE: "LIVE";
2631
+ TEST_ONLY: "TEST_ONLY";
2632
+ }>;
2633
+ }, z.core.$strict>;
2634
+ policy: z.ZodObject<{
2635
+ schemaVersion: z.ZodLiteral<1>;
2636
+ requiredAudio: z.ZodBoolean;
2637
+ requiredCaptions: z.ZodBoolean;
2638
+ requiredGraphics: z.ZodBoolean;
2639
+ finalApproval: z.ZodEnum<{
2640
+ HUMAN: "HUMAN";
2641
+ AUTOMATIC: "AUTOMATIC";
2642
+ }>;
2643
+ }, z.core.$strict>;
2644
+ policyFingerprint: z.ZodString;
2645
+ composition: z.ZodObject<{
2646
+ hasAudio: z.ZodBoolean;
2647
+ hasCaptions: z.ZodBoolean;
2648
+ hasGraphics: z.ZodBoolean;
2649
+ }, z.core.$strict>;
2650
+ checks: z.ZodArray<z.ZodObject<{
2651
+ key: z.ZodEnum<{
2652
+ FILE_READABLE: "FILE_READABLE";
2653
+ CHECKSUM: "CHECKSUM";
2654
+ CONTAINER_PROFILE: "CONTAINER_PROFILE";
2655
+ DURATION: "DURATION";
2656
+ VIDEO_DECODE: "VIDEO_DECODE";
2657
+ AUDIO_DECODE: "AUDIO_DECODE";
2658
+ REQUIRED_AUDIO: "REQUIRED_AUDIO";
2659
+ REQUIRED_CAPTIONS: "REQUIRED_CAPTIONS";
2660
+ REQUIRED_GRAPHICS: "REQUIRED_GRAPHICS";
2661
+ MISSING_MEDIA: "MISSING_MEDIA";
2662
+ BLACK_FRAMES: "BLACK_FRAMES";
2663
+ ARTIFACT_REGISTRATION: "ARTIFACT_REGISTRATION";
2664
+ PROVENANCE: "PROVENANCE";
2665
+ MANIFEST_INTEGRITY: "MANIFEST_INTEGRITY";
2666
+ EXACT_BASIS: "EXACT_BASIS";
2667
+ BLOCKING_FINDINGS: "BLOCKING_FINDINGS";
2668
+ }>;
2669
+ status: z.ZodEnum<{
2670
+ PASS: "PASS";
2671
+ UNVERIFIED: "UNVERIFIED";
2672
+ FAIL: "FAIL";
2673
+ NOT_APPLICABLE: "NOT_APPLICABLE";
2674
+ }>;
2675
+ detail: z.ZodString;
2676
+ }, z.core.$strict>>;
2677
+ result: z.ZodEnum<{
2678
+ PASS: "PASS";
2679
+ FAIL: "FAIL";
2680
+ }>;
2681
+ blockingChecks: z.ZodArray<z.ZodEnum<{
2682
+ FILE_READABLE: "FILE_READABLE";
2683
+ CHECKSUM: "CHECKSUM";
2684
+ CONTAINER_PROFILE: "CONTAINER_PROFILE";
2685
+ DURATION: "DURATION";
2686
+ VIDEO_DECODE: "VIDEO_DECODE";
2687
+ AUDIO_DECODE: "AUDIO_DECODE";
2688
+ REQUIRED_AUDIO: "REQUIRED_AUDIO";
2689
+ REQUIRED_CAPTIONS: "REQUIRED_CAPTIONS";
2690
+ REQUIRED_GRAPHICS: "REQUIRED_GRAPHICS";
2691
+ MISSING_MEDIA: "MISSING_MEDIA";
2692
+ BLACK_FRAMES: "BLACK_FRAMES";
2693
+ ARTIFACT_REGISTRATION: "ARTIFACT_REGISTRATION";
2694
+ PROVENANCE: "PROVENANCE";
2695
+ MANIFEST_INTEGRITY: "MANIFEST_INTEGRITY";
2696
+ EXACT_BASIS: "EXACT_BASIS";
2697
+ BLOCKING_FINDINGS: "BLOCKING_FINDINGS";
2698
+ }>>;
2699
+ createdAt: z.ZodISODateTime;
2700
+ }, z.core.$strict>;
2701
+ manifest: z.ZodObject<{
2702
+ id: z.ZodUUID;
2703
+ checksumSha256: z.ZodString;
2704
+ target: z.ZodObject<{
2705
+ tenantId: z.ZodUUID;
2706
+ projectId: z.ZodUUID;
2707
+ productionId: z.ZodUUID;
2708
+ renderId: z.ZodUUID;
2709
+ timelineVersionId: z.ZodUUID;
2710
+ timelineFingerprint: z.ZodString;
2711
+ selectionId: z.ZodUUID;
2712
+ selectionVersion: z.ZodInt;
2713
+ renderManifestFingerprint: z.ZodString;
2714
+ artifactId: z.ZodUUID;
2715
+ representationId: z.ZodUUID;
2716
+ checksumSha256: z.ZodString;
2717
+ byteSize: z.ZodInt;
2718
+ executionClass: z.ZodEnum<{
2719
+ LIVE: "LIVE";
2720
+ TEST_ONLY: "TEST_ONLY";
2721
+ }>;
2722
+ }, z.core.$strict>;
2723
+ policyFingerprint: z.ZodString;
2724
+ reviewId: z.ZodUUID;
2725
+ }, z.core.$strict>;
2726
+ approval: z.ZodNullable<z.ZodObject<{
2727
+ id: z.ZodUUID;
2728
+ reviewId: z.ZodUUID;
2729
+ target: z.ZodObject<{
2730
+ tenantId: z.ZodUUID;
2731
+ projectId: z.ZodUUID;
2732
+ productionId: z.ZodUUID;
2733
+ renderId: z.ZodUUID;
2734
+ timelineVersionId: z.ZodUUID;
2735
+ timelineFingerprint: z.ZodString;
2736
+ selectionId: z.ZodUUID;
2737
+ selectionVersion: z.ZodInt;
2738
+ renderManifestFingerprint: z.ZodString;
2739
+ artifactId: z.ZodUUID;
2740
+ representationId: z.ZodUUID;
2741
+ checksumSha256: z.ZodString;
2742
+ byteSize: z.ZodInt;
2743
+ executionClass: z.ZodEnum<{
2744
+ LIVE: "LIVE";
2745
+ TEST_ONLY: "TEST_ONLY";
2746
+ }>;
2747
+ }, z.core.$strict>;
2748
+ policyFingerprint: z.ZodString;
2749
+ authority: z.ZodLiteral<"HUMAN">;
2750
+ action: z.ZodEnum<{
2751
+ REJECT: "REJECT";
2752
+ APPROVE: "APPROVE";
2753
+ }>;
2754
+ principalId: z.ZodUUID;
2755
+ createdAt: z.ZodISODateTime;
2756
+ }, z.core.$strict>>;
2757
+ productionRevision: z.ZodInt;
2758
+ completedAt: z.ZodISODateTime;
2759
+ }, z.core.$strict>>>;
2760
+ staleReasons: z.ZodArray<z.ZodString>;
2761
+ }, z.core.$strict>;
2762
+ export declare const FinalRenderPageSchema: z.ZodObject<{
2763
+ items: z.ZodArray<typeof FinalRenderViewSchema>;
2764
+ page: typeof QueryPageInfoSchema;
2765
+ }, z.core.$strict>;
2766
+ export declare const FinalRenderSourceBlockerSchema: z.ZodObject<{
2767
+ code: z.ZodEnum<{
2768
+ SOURCE_RESOLUTION_INSUFFICIENT: "SOURCE_RESOLUTION_INSUFFICIENT";
2769
+ SOURCE_MEDIA_UNSUPPORTED: "SOURCE_MEDIA_UNSUPPORTED";
2770
+ }>;
2771
+ shotId: z.ZodUUID;
2772
+ ordinal: z.ZodInt;
2773
+ actualWidth: z.ZodInt;
2774
+ actualHeight: z.ZodInt;
2775
+ requiredWidth: z.ZodInt;
2776
+ requiredHeight: z.ZodInt;
2777
+ }, z.core.$strict>;
2778
+ export declare const FinalRenderEligibilitySchema: z.ZodObject<z.core.util.Extend<typeof TimelineScopeSchema.shape, {
2779
+ productionRevision: z.ZodInt;
2780
+ finalReady: typeof FinalReadyViewSchema;
2781
+ profile: z.ZodNullable<z.ZodUnion<readonly [typeof FinalRenderProfileSchema, typeof VisualLayerFinalProfileSchema]>>;
2782
+ renderable: z.ZodBoolean;
2783
+ blockers: z.ZodArray<z.ZodString>;
2784
+ sourceBlockers: z.ZodArray<typeof FinalRenderSourceBlockerSchema>;
2785
+ supportedAudioPolicy: z.ZodEnum<{
2786
+ SILENT: "SILENT";
2787
+ MIXED: "MIXED";
2788
+ }>;
2789
+ supportedCaptionPolicy: z.ZodEnum<{
2790
+ NONE: "NONE";
2791
+ BURN_IN: "BURN_IN";
2792
+ }>;
2793
+ }>, typeof TimelineScopeSchema._zod.config>;
2794
+ export declare const FinalRenderSnapshotSchema: z.ZodObject<{
2795
+ latestRenderId: z.ZodNullable<z.ZodUUID>;
2796
+ runtimeStatus: z.ZodNullable<typeof RoughCutViewSchema.shape.runtimeStatus>;
2797
+ currentRenderId: z.ZodNullable<z.ZodUUID>;
2798
+ currentArtifactId: z.ZodNullable<z.ZodUUID>;
2799
+ stale: z.ZodBoolean;
2800
+ eligibility: typeof FinalRenderEligibilitySchema;
2801
+ }, z.core.$strict>;
2802
+ export type FinalRenderStart = z.infer<typeof FinalRenderStartSchema>;
2803
+ export type FinalRenderGet = z.infer<typeof FinalRenderGetSchema>;
2804
+ export type FinalRenderV1Manifest = z.infer<typeof FinalRenderManifestSchema>;
2805
+ export type FinalRenderManifest = z.infer<typeof FinalRenderManifestReaderSchema>;
2806
+ export type FinalRenderAdmission = z.infer<typeof FinalRenderAdmissionSchema>;
2807
+ export type FinalRenderView = z.infer<typeof FinalRenderViewSchema>;
2808
+ export type FinalRenderEligibility = z.infer<typeof FinalRenderEligibilitySchema>;
2809
+ export type FinalRenderSnapshot = z.infer<typeof FinalRenderSnapshotSchema>;
2810
+ export type FinalRenderTechnical = z.infer<typeof FinalRenderTechnicalSchema>;