@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,3374 @@
1
+ import { z } from "zod";
2
+ import { DirectorScopeSchema, DirectorContextResultSchema } from "./director-proposal.js";
3
+ import { BuildTimelineSchema, TimelineBasisSchema, TimelineViewSchema } from "./timeline.js";
4
+ import { TimelineVisualLayerInputSchema } from "./timeline-visual-layers.js";
5
+ import { TimelineGraphicInputSchema } from "./timeline-graphics.js";
6
+ import { TimelineAudioInputSchema } from "./timeline-audio.js";
7
+ import { CaptionContentSchema } from "./captions.js";
8
+ import { FinalReadyViewSchema } from "./final-ready.js";
9
+ declare const text: z.ZodString;
10
+ declare const key: z.ZodString;
11
+ export declare const EditorContextInputSchema: z.ZodObject<{
12
+ scope: typeof DirectorScopeSchema;
13
+ timelineVersionId: z.ZodUUID;
14
+ }, z.core.$strict>;
15
+ export declare const EditorBasisSchema: z.ZodObject<z.core.util.Extend<typeof EditorContextInputSchema.shape, {
16
+ contextFingerprint: z.ZodString;
17
+ }>, typeof EditorContextInputSchema._zod.config>;
18
+ export declare const EditorAlternativeSchema: z.ZodObject<{
19
+ id: typeof key;
20
+ rationale: typeof text;
21
+ pacingIntent: typeof text;
22
+ action: z.ZodDiscriminatedUnion<[
23
+ z.ZodObject<{
24
+ kind: z.ZodLiteral<"BUILD_TIMELINE">;
25
+ clips: typeof BuildTimelineSchema.shape.clips;
26
+ }, z.core.$strict>,
27
+ z.ZodObject<{
28
+ kind: z.ZodLiteral<"EDIT_GRAPHICS">;
29
+ graphics: z.ZodArray<typeof TimelineGraphicInputSchema>;
30
+ }, z.core.$strict>,
31
+ z.ZodObject<{
32
+ kind: z.ZodLiteral<"EDIT_VISUAL_LAYERS">;
33
+ visualLayers: z.ZodArray<typeof TimelineVisualLayerInputSchema>;
34
+ }, z.core.$strict>,
35
+ z.ZodObject<{
36
+ kind: z.ZodLiteral<"EDIT_AUDIO_COMPOSITION">;
37
+ audio: typeof TimelineAudioInputSchema;
38
+ }, z.core.$strict>,
39
+ z.ZodObject<{
40
+ kind: z.ZodLiteral<"REVISE_CAPTIONS">;
41
+ content: typeof CaptionContentSchema;
42
+ }, z.core.$strict>,
43
+ z.ZodObject<{
44
+ kind: z.ZodLiteral<"REQUEST_COMPOSITION_CAPABILITY">;
45
+ concern: z.ZodEnum<{
46
+ TRANSITION: "TRANSITION";
47
+ AUDIO_VISUAL_ALIGNMENT: "AUDIO_VISUAL_ALIGNMENT";
48
+ VOICE_TIMING: "VOICE_TIMING";
49
+ CAPTION_RETIMING: "CAPTION_RETIMING";
50
+ }>;
51
+ requestedChange: typeof text;
52
+ }, z.core.$strict>,
53
+ z.ZodObject<{
54
+ kind: z.ZodLiteral<"REQUEST_HUMAN_INPUT">;
55
+ question: typeof text;
56
+ }, z.core.$strict>
57
+ ], "kind">;
58
+ }, z.core.$strict>;
59
+ export declare const ValidateEditorProposalSchema: z.ZodObject<{
60
+ basis: typeof EditorBasisSchema;
61
+ proposal: z.ZodObject<{
62
+ origin: z.ZodObject<{
63
+ kind: z.ZodLiteral<"EXTERNAL_AGENT_HOST">;
64
+ label: z.ZodString;
65
+ }, z.core.$strict>;
66
+ summary: typeof text;
67
+ alternatives: z.ZodArray<typeof EditorAlternativeSchema>;
68
+ selectedAlternativeId: typeof key;
69
+ }, z.core.$strict>;
70
+ }, z.core.$strict>;
71
+ export declare const EditorContextResultSchema: z.ZodObject<{
72
+ semanticStatus: z.ZodLiteral<"SUCCESS">;
73
+ advisory: z.ZodLiteral<true>;
74
+ basis: typeof EditorBasisSchema;
75
+ ownerContext: typeof DirectorContextResultSchema;
76
+ timeline: typeof TimelineViewSchema;
77
+ timelineBasis: typeof TimelineBasisSchema;
78
+ finalReady: typeof FinalReadyViewSchema;
79
+ eligibility: z.ZodObject<{
80
+ ready: z.ZodBoolean;
81
+ reasons: z.ZodArray<z.ZodEnum<{
82
+ TIMELINE_NOT_CURRENT: "TIMELINE_NOT_CURRENT";
83
+ TIMELINE_STALE: "TIMELINE_STALE";
84
+ PRODUCTION_UNAVAILABLE: "PRODUCTION_UNAVAILABLE";
85
+ PLANNING_NOT_READY: "PLANNING_NOT_READY";
86
+ CREATIVE_BASIS_CHANGED: "CREATIVE_BASIS_CHANGED";
87
+ NO_CURRENT_ACCEPTED_MEDIA: "NO_CURRENT_ACCEPTED_MEDIA";
88
+ COMPOSITION_VERSION_UNSUPPORTED: "COMPOSITION_VERSION_UNSUPPORTED";
89
+ }>>;
90
+ }, z.core.$strict>;
91
+ }, z.core.$strict>;
92
+ export declare const EditorHandoffSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
93
+ kind: z.ZodLiteral<"TIMELINE_BUILD">;
94
+ input: z.ZodObject<{
95
+ tenantId: typeof import("./ids.js").TenantIdSchema;
96
+ schemaVersion: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
97
+ productionId: typeof import("./ids.js").ProductionIdSchema;
98
+ expectedProductionRevision: z.ZodInt;
99
+ audio: z.ZodOptional<typeof TimelineAudioInputSchema>;
100
+ graphics: z.ZodOptional<z.ZodArray<typeof TimelineGraphicInputSchema>>;
101
+ clips: z.ZodArray<typeof import("./timeline.js").TimelineClipInputSchema>;
102
+ sourceSound: z.ZodOptional<typeof import("./timeline-source-sound.js").TimelineSourceSoundInputSchema>;
103
+ visualLayers: z.ZodOptional<z.ZodArray<typeof TimelineVisualLayerInputSchema>>;
104
+ expectedTimelineVersion: z.ZodInt;
105
+ captionVersionId: z.ZodOptional<z.ZodUUID>;
106
+ }, z.core.$strict>;
107
+ preview: z.ZodDiscriminatedUnion<[z.ZodObject<{
108
+ schemaVersion: z.ZodLiteral<1>;
109
+ caption: z.ZodOptional<z.ZodObject<{
110
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
111
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
112
+ transcriptProvenance: z.ZodOptional<z.ZodObject<{
113
+ schemaVersion: z.ZodLiteral<1>;
114
+ advisory: z.ZodLiteral<true>;
115
+ timing: z.ZodLiteral<"PROVIDER_REPORTED">;
116
+ timelineVersionId: z.ZodUUID;
117
+ timingFingerprint: z.ZodString;
118
+ sources: z.ZodArray<z.ZodObject<{
119
+ observationId: z.ZodUUID;
120
+ artifactId: z.ZodUUID;
121
+ representationId: z.ZodUUID;
122
+ checksumSha256: z.ZodString;
123
+ placement: z.ZodDiscriminatedUnion<[z.ZodObject<{
124
+ kind: z.ZodLiteral<"AUDIO_TRACK">;
125
+ purpose: z.ZodEnum<{
126
+ VOICEOVER: "VOICEOVER";
127
+ MUSIC: "MUSIC";
128
+ }>;
129
+ }, z.core.$strict>, z.ZodObject<{
130
+ kind: z.ZodLiteral<"SPEECH_CUE">;
131
+ cueId: z.ZodString;
132
+ }, z.core.$strict>, z.ZodObject<{
133
+ kind: z.ZodLiteral<"TIMELINE_OUTPUT">;
134
+ }, z.core.$strict>], "kind">;
135
+ granularity: z.ZodEnum<{
136
+ word: "word";
137
+ segment: "segment";
138
+ }>;
139
+ sourceInMs: z.ZodInt;
140
+ sourceOutMs: z.ZodInt;
141
+ startMs: z.ZodInt;
142
+ spanIndices: z.ZodArray<z.ZodInt>;
143
+ excludedSpans: z.ZodInt;
144
+ }, z.core.$strict>>;
145
+ }, z.core.$strict>>;
146
+ id: z.ZodUUID;
147
+ captionId: z.ZodUUID;
148
+ projectId: z.ZodUUID;
149
+ version: z.ZodInt;
150
+ artifactId: z.ZodUUID;
151
+ content: z.ZodObject<{
152
+ language: z.ZodString;
153
+ durationMs: z.ZodInt;
154
+ cues: z.ZodArray<z.ZodObject<{
155
+ startMs: z.ZodInt;
156
+ endMs: z.ZodInt;
157
+ text: z.ZodString;
158
+ }, z.core.$strict>>;
159
+ }, z.core.$strict>;
160
+ fingerprint: z.ZodString;
161
+ original: z.ZodObject<{
162
+ id: z.ZodUUID;
163
+ checksumSha256: z.ZodString;
164
+ byteSize: z.ZodInt;
165
+ }, z.core.$strict>;
166
+ subtitle: z.ZodObject<{
167
+ id: z.ZodUUID;
168
+ checksumSha256: z.ZodString;
169
+ byteSize: z.ZodInt;
170
+ }, z.core.$strict>;
171
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
172
+ createdByPrincipalId: z.ZodUUID;
173
+ createdAt: z.ZodISODateTime;
174
+ }, z.core.$strict>>;
175
+ captionStyle: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
176
+ id: z.ZodLiteral<"PLAIN_TEXT_NOTO_SANS_SC_V1">;
177
+ fontSha256: z.ZodLiteral<"a3041811a78c361b1de50f953c805e0244951c21c5bd412f7232ef0d899af0da">;
178
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
179
+ }, z.core.$strict>, z.ZodObject<{
180
+ id: z.ZodLiteral<"PLAIN_TEXT_NATIVE_SC_REGULAR_V2">;
181
+ fontSha256: z.ZodLiteral<"e5a51f41fc1b827da651afee3975e07a182ff4f8e04d9dfc0a3cecd6177a52b6">;
182
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
183
+ }, z.core.$strict>], "id">>;
184
+ audio: z.ZodOptional<z.ZodObject<{
185
+ mix: z.ZodObject<{
186
+ id: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
187
+ sampleRateHz: z.ZodLiteral<48000>;
188
+ audioChannels: z.ZodLiteral<2>;
189
+ audioCodec: z.ZodLiteral<"aac">;
190
+ bitrate: z.ZodLiteral<192000>;
191
+ peakPermille: z.ZodLiteral<950>;
192
+ duckingMusicPermille: z.ZodInt;
193
+ }, z.core.$strict>;
194
+ tracks: z.ZodArray<z.ZodObject<{
195
+ sourceInMs: z.ZodInt;
196
+ sourceOutMs: z.ZodInt;
197
+ startMs: z.ZodInt;
198
+ gainPermille: z.ZodInt;
199
+ source: z.ZodObject<{
200
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
201
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
202
+ purpose: z.ZodEnum<{
203
+ VOICEOVER: "VOICEOVER";
204
+ MUSIC: "MUSIC";
205
+ }>;
206
+ id: z.ZodUUID;
207
+ audioId: z.ZodUUID;
208
+ projectId: z.ZodUUID;
209
+ version: z.ZodInt;
210
+ artifactId: z.ZodUUID;
211
+ original: z.ZodObject<{
212
+ id: z.ZodUUID;
213
+ checksumSha256: z.ZodString;
214
+ byteSize: z.ZodInt;
215
+ }, z.core.$strict>;
216
+ media: z.ZodObject<{
217
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
218
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
219
+ sampleRateHz: z.ZodLiteral<48000>;
220
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
221
+ sampleCount: z.ZodInt;
222
+ durationMs: z.ZodInt;
223
+ }, z.core.$strict>;
224
+ originalName: z.ZodNullable<z.ZodString>;
225
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
226
+ createdByPrincipalId: z.ZodUUID;
227
+ createdAt: z.ZodISODateTime;
228
+ generation: z.ZodOptional<z.ZodObject<{
229
+ generationId: z.ZodUUID;
230
+ executionClass: z.ZodEnum<{
231
+ LIVE: "LIVE";
232
+ TEST_ONLY: "TEST_ONLY";
233
+ }>;
234
+ executionTarget: z.ZodOptional<z.ZodLiteral<"TENANT_DEVICE">>;
235
+ sourceArtifactId: z.ZodUUID;
236
+ sourceRepresentationId: z.ZodUUID;
237
+ sourceChecksumSha256: z.ZodString;
238
+ sourceByteSize: z.ZodInt;
239
+ sourceMedia: z.ZodObject<{
240
+ sampleRateHz: z.ZodInt;
241
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
242
+ sampleCount: z.ZodInt;
243
+ }, z.core.$strict>;
244
+ normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
245
+ padSamples: z.ZodInt;
246
+ }, z.core.$strict>>;
247
+ }, z.core.$strict>;
248
+ }, z.core.$strict>>;
249
+ }, z.core.$strict>>;
250
+ graphics: z.ZodOptional<z.ZodArray<z.ZodObject<{
251
+ source: z.ZodObject<{
252
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
253
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
254
+ productionId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
255
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
256
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
257
+ checksumSha256: z.ZodString;
258
+ contentType: z.ZodEnum<{
259
+ "image/png": "image/png";
260
+ "image/webp": "image/webp";
261
+ }>;
262
+ byteSize: z.ZodInt;
263
+ width: z.ZodInt;
264
+ height: z.ZodInt;
265
+ }, z.core.$strict>;
266
+ placement: z.ZodObject<{
267
+ startFrame: z.ZodInt;
268
+ endFrame: z.ZodInt;
269
+ anchor: z.ZodEnum<{
270
+ TOP_LEFT: "TOP_LEFT";
271
+ TOP_RIGHT: "TOP_RIGHT";
272
+ BOTTOM_LEFT: "BOTTOM_LEFT";
273
+ BOTTOM_RIGHT: "BOTTOM_RIGHT";
274
+ }>;
275
+ widthPermille: z.ZodInt;
276
+ marginXPermille: z.ZodInt;
277
+ marginYPermille: z.ZodInt;
278
+ opacityPermille: z.ZodInt;
279
+ }, z.core.$strict>;
280
+ }, z.core.$strict>>>;
281
+ basis: z.ZodObject<{
282
+ briefVersionId: z.core.$ZodBranded<z.ZodUUID, "BriefVersionId", "out">;
283
+ briefVersion: z.ZodInt;
284
+ storyVersion: z.ZodInt;
285
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
286
+ planVersion: z.ZodInt;
287
+ }, z.core.$strict>;
288
+ output: z.ZodObject<{
289
+ aspectRatio: z.ZodEnum<{
290
+ "16:9": "16:9";
291
+ "9:16": "9:16";
292
+ }>;
293
+ profile: z.ZodEnum<{
294
+ MP4_H264_1080P: "MP4_H264_1080P";
295
+ MP4_H264_720P: "MP4_H264_720P";
296
+ MP4_H264_480P: "MP4_H264_480P";
297
+ }>;
298
+ }, z.core.$strict>;
299
+ clips: z.ZodArray<z.ZodObject<{
300
+ ordinal: z.ZodInt;
301
+ source: z.ZodObject<{
302
+ acceptanceId: z.ZodUUID;
303
+ reviewId: z.ZodUUID;
304
+ generationId: z.ZodUUID;
305
+ candidateId: z.ZodUUID;
306
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
307
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
308
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
309
+ checksumSha256: z.ZodString;
310
+ artifactChecksumSha256: z.ZodString;
311
+ preparationId: z.ZodUUID;
312
+ contractId: z.ZodUUID;
313
+ contractFingerprint: z.ZodString;
314
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
315
+ planVersion: z.ZodInt;
316
+ shotPlanningRevision: z.ZodInt;
317
+ executionClass: z.ZodEnum<{
318
+ LIVE: "LIVE";
319
+ TEST_ONLY: "TEST_ONLY";
320
+ }>;
321
+ reviewResult: z.ZodEnum<{
322
+ PASS: "PASS";
323
+ WARNING: "WARNING";
324
+ }>;
325
+ }, z.core.$strict>;
326
+ technical: z.ZodObject<{
327
+ contentType: z.ZodLiteral<"video/mp4">;
328
+ checksumSha256: z.ZodString;
329
+ byteSize: z.ZodInt;
330
+ width: z.ZodInt;
331
+ height: z.ZodInt;
332
+ durationMs: z.ZodInt;
333
+ frameRate: z.ZodNumber;
334
+ videoCodec: z.ZodEnum<{
335
+ h264: "h264";
336
+ hevc: "hevc";
337
+ }>;
338
+ pixelFormat: z.ZodOptional<z.ZodLiteral<"yuv420p10le">>;
339
+ hasAudio: z.ZodBoolean;
340
+ nativeAudio: z.ZodOptional<z.ZodObject<{
341
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
342
+ sourceCodec: z.ZodLiteral<"aac">;
343
+ sourceSampleRateHz: z.ZodInt;
344
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
345
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
346
+ sourceFrameCount: z.ZodInt;
347
+ sourceStartOffsetMs: z.ZodNumber;
348
+ sourceDeclaredDurationMs: z.ZodNumber;
349
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
350
+ media: z.ZodObject<{
351
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
352
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
353
+ sampleRateHz: z.ZodLiteral<48000>;
354
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
355
+ sampleCount: z.ZodInt;
356
+ durationMs: z.ZodNumber;
357
+ }, z.core.$strict>;
358
+ checksumSha256: z.ZodString;
359
+ }, z.core.$strict>>;
360
+ }, z.core.$strict>;
361
+ sourceInMs: z.ZodInt;
362
+ sourceOutMs: z.ZodInt;
363
+ startMs: z.ZodInt;
364
+ durationMs: z.ZodInt;
365
+ transition: z.ZodUnion<readonly [z.ZodLiteral<"CUT">, z.ZodObject<{
366
+ kind: z.ZodLiteral<"CROSS_DISSOLVE_V1">;
367
+ durationFrames: z.ZodInt;
368
+ }, z.core.$strict>]>;
369
+ framing: z.ZodOptional<z.ZodObject<{
370
+ algorithm: z.ZodLiteral<"CROP_PAD_V1">;
371
+ crop: z.ZodObject<{
372
+ x: z.ZodInt;
373
+ y: z.ZodInt;
374
+ width: z.ZodInt;
375
+ height: z.ZodInt;
376
+ }, z.core.$strict>;
377
+ anchorXPermille: z.ZodInt;
378
+ anchorYPermille: z.ZodInt;
379
+ }, z.core.$strict>>;
380
+ }, z.core.$strict>>;
381
+ duration: z.ZodObject<{
382
+ totalMs: z.ZodInt;
383
+ targetMs: z.ZodInt;
384
+ minMs: z.ZodLiteral<30000>;
385
+ maxMs: z.ZodLiteral<60000>;
386
+ deltaTargetMs: z.ZodInt;
387
+ classification: z.ZodEnum<{
388
+ TOO_SHORT: "TOO_SHORT";
389
+ WITHIN_TARGET: "WITHIN_TARGET";
390
+ TOO_LONG: "TOO_LONG";
391
+ }>;
392
+ }, z.core.$strict>;
393
+ missingPlannedShotIds: z.ZodArray<z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">>;
394
+ executionClass: z.ZodEnum<{
395
+ LIVE: "LIVE";
396
+ TEST_ONLY: "TEST_ONLY";
397
+ }>;
398
+ }, z.core.$strict>, z.ZodObject<{
399
+ caption: z.ZodOptional<z.ZodObject<{
400
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
401
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
402
+ transcriptProvenance: z.ZodOptional<z.ZodObject<{
403
+ schemaVersion: z.ZodLiteral<1>;
404
+ advisory: z.ZodLiteral<true>;
405
+ timing: z.ZodLiteral<"PROVIDER_REPORTED">;
406
+ timelineVersionId: z.ZodUUID;
407
+ timingFingerprint: z.ZodString;
408
+ sources: z.ZodArray<z.ZodObject<{
409
+ observationId: z.ZodUUID;
410
+ artifactId: z.ZodUUID;
411
+ representationId: z.ZodUUID;
412
+ checksumSha256: z.ZodString;
413
+ placement: z.ZodDiscriminatedUnion<[z.ZodObject<{
414
+ kind: z.ZodLiteral<"AUDIO_TRACK">;
415
+ purpose: z.ZodEnum<{
416
+ VOICEOVER: "VOICEOVER";
417
+ MUSIC: "MUSIC";
418
+ }>;
419
+ }, z.core.$strict>, z.ZodObject<{
420
+ kind: z.ZodLiteral<"SPEECH_CUE">;
421
+ cueId: z.ZodString;
422
+ }, z.core.$strict>, z.ZodObject<{
423
+ kind: z.ZodLiteral<"TIMELINE_OUTPUT">;
424
+ }, z.core.$strict>], "kind">;
425
+ granularity: z.ZodEnum<{
426
+ word: "word";
427
+ segment: "segment";
428
+ }>;
429
+ sourceInMs: z.ZodInt;
430
+ sourceOutMs: z.ZodInt;
431
+ startMs: z.ZodInt;
432
+ spanIndices: z.ZodArray<z.ZodInt>;
433
+ excludedSpans: z.ZodInt;
434
+ }, z.core.$strict>>;
435
+ }, z.core.$strict>>;
436
+ id: z.ZodUUID;
437
+ captionId: z.ZodUUID;
438
+ projectId: z.ZodUUID;
439
+ version: z.ZodInt;
440
+ artifactId: z.ZodUUID;
441
+ content: z.ZodObject<{
442
+ language: z.ZodString;
443
+ durationMs: z.ZodInt;
444
+ cues: z.ZodArray<z.ZodObject<{
445
+ startMs: z.ZodInt;
446
+ endMs: z.ZodInt;
447
+ text: z.ZodString;
448
+ }, z.core.$strict>>;
449
+ }, z.core.$strict>;
450
+ fingerprint: z.ZodString;
451
+ original: z.ZodObject<{
452
+ id: z.ZodUUID;
453
+ checksumSha256: z.ZodString;
454
+ byteSize: z.ZodInt;
455
+ }, z.core.$strict>;
456
+ subtitle: z.ZodObject<{
457
+ id: z.ZodUUID;
458
+ checksumSha256: z.ZodString;
459
+ byteSize: z.ZodInt;
460
+ }, z.core.$strict>;
461
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
462
+ createdByPrincipalId: z.ZodUUID;
463
+ createdAt: z.ZodISODateTime;
464
+ }, z.core.$strict>>;
465
+ captionStyle: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
466
+ id: z.ZodLiteral<"PLAIN_TEXT_NOTO_SANS_SC_V1">;
467
+ fontSha256: z.ZodLiteral<"a3041811a78c361b1de50f953c805e0244951c21c5bd412f7232ef0d899af0da">;
468
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
469
+ }, z.core.$strict>, z.ZodObject<{
470
+ id: z.ZodLiteral<"PLAIN_TEXT_NATIVE_SC_REGULAR_V2">;
471
+ fontSha256: z.ZodLiteral<"e5a51f41fc1b827da651afee3975e07a182ff4f8e04d9dfc0a3cecd6177a52b6">;
472
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
473
+ }, z.core.$strict>], "id">>;
474
+ audio: z.ZodOptional<z.ZodObject<{
475
+ mix: z.ZodObject<{
476
+ id: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
477
+ sampleRateHz: z.ZodLiteral<48000>;
478
+ audioChannels: z.ZodLiteral<2>;
479
+ audioCodec: z.ZodLiteral<"aac">;
480
+ bitrate: z.ZodLiteral<192000>;
481
+ peakPermille: z.ZodLiteral<950>;
482
+ duckingMusicPermille: z.ZodInt;
483
+ }, z.core.$strict>;
484
+ tracks: z.ZodArray<z.ZodObject<{
485
+ sourceInMs: z.ZodInt;
486
+ sourceOutMs: z.ZodInt;
487
+ startMs: z.ZodInt;
488
+ gainPermille: z.ZodInt;
489
+ source: z.ZodObject<{
490
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
491
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
492
+ purpose: z.ZodEnum<{
493
+ VOICEOVER: "VOICEOVER";
494
+ MUSIC: "MUSIC";
495
+ }>;
496
+ id: z.ZodUUID;
497
+ audioId: z.ZodUUID;
498
+ projectId: z.ZodUUID;
499
+ version: z.ZodInt;
500
+ artifactId: z.ZodUUID;
501
+ original: z.ZodObject<{
502
+ id: z.ZodUUID;
503
+ checksumSha256: z.ZodString;
504
+ byteSize: z.ZodInt;
505
+ }, z.core.$strict>;
506
+ media: z.ZodObject<{
507
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
508
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
509
+ sampleRateHz: z.ZodLiteral<48000>;
510
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
511
+ sampleCount: z.ZodInt;
512
+ durationMs: z.ZodInt;
513
+ }, z.core.$strict>;
514
+ originalName: z.ZodNullable<z.ZodString>;
515
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
516
+ createdByPrincipalId: z.ZodUUID;
517
+ createdAt: z.ZodISODateTime;
518
+ generation: z.ZodOptional<z.ZodObject<{
519
+ generationId: z.ZodUUID;
520
+ executionClass: z.ZodEnum<{
521
+ LIVE: "LIVE";
522
+ TEST_ONLY: "TEST_ONLY";
523
+ }>;
524
+ executionTarget: z.ZodOptional<z.ZodLiteral<"TENANT_DEVICE">>;
525
+ sourceArtifactId: z.ZodUUID;
526
+ sourceRepresentationId: z.ZodUUID;
527
+ sourceChecksumSha256: z.ZodString;
528
+ sourceByteSize: z.ZodInt;
529
+ sourceMedia: z.ZodObject<{
530
+ sampleRateHz: z.ZodInt;
531
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
532
+ sampleCount: z.ZodInt;
533
+ }, z.core.$strict>;
534
+ normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
535
+ padSamples: z.ZodInt;
536
+ }, z.core.$strict>>;
537
+ }, z.core.$strict>;
538
+ }, z.core.$strict>>;
539
+ }, z.core.$strict>>;
540
+ graphics: z.ZodOptional<z.ZodArray<z.ZodObject<{
541
+ source: z.ZodObject<{
542
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
543
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
544
+ productionId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
545
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
546
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
547
+ checksumSha256: z.ZodString;
548
+ contentType: z.ZodEnum<{
549
+ "image/png": "image/png";
550
+ "image/webp": "image/webp";
551
+ }>;
552
+ byteSize: z.ZodInt;
553
+ width: z.ZodInt;
554
+ height: z.ZodInt;
555
+ }, z.core.$strict>;
556
+ placement: z.ZodObject<{
557
+ startFrame: z.ZodInt;
558
+ endFrame: z.ZodInt;
559
+ anchor: z.ZodEnum<{
560
+ TOP_LEFT: "TOP_LEFT";
561
+ TOP_RIGHT: "TOP_RIGHT";
562
+ BOTTOM_LEFT: "BOTTOM_LEFT";
563
+ BOTTOM_RIGHT: "BOTTOM_RIGHT";
564
+ }>;
565
+ widthPermille: z.ZodInt;
566
+ marginXPermille: z.ZodInt;
567
+ marginYPermille: z.ZodInt;
568
+ opacityPermille: z.ZodInt;
569
+ }, z.core.$strict>;
570
+ }, z.core.$strict>>>;
571
+ basis: z.ZodObject<{
572
+ briefVersionId: z.core.$ZodBranded<z.ZodUUID, "BriefVersionId", "out">;
573
+ briefVersion: z.ZodInt;
574
+ storyVersion: z.ZodInt;
575
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
576
+ planVersion: z.ZodInt;
577
+ }, z.core.$strict>;
578
+ output: z.ZodObject<{
579
+ aspectRatio: z.ZodEnum<{
580
+ "16:9": "16:9";
581
+ "9:16": "9:16";
582
+ }>;
583
+ profile: z.ZodEnum<{
584
+ MP4_H264_1080P: "MP4_H264_1080P";
585
+ MP4_H264_720P: "MP4_H264_720P";
586
+ MP4_H264_480P: "MP4_H264_480P";
587
+ }>;
588
+ }, z.core.$strict>;
589
+ duration: z.ZodObject<{
590
+ totalMs: z.ZodInt;
591
+ targetMs: z.ZodInt;
592
+ minMs: z.ZodLiteral<30000>;
593
+ maxMs: z.ZodLiteral<60000>;
594
+ deltaTargetMs: z.ZodInt;
595
+ classification: z.ZodEnum<{
596
+ TOO_SHORT: "TOO_SHORT";
597
+ WITHIN_TARGET: "WITHIN_TARGET";
598
+ TOO_LONG: "TOO_LONG";
599
+ }>;
600
+ }, z.core.$strict>;
601
+ missingPlannedShotIds: z.ZodArray<z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">>;
602
+ executionClass: z.ZodEnum<{
603
+ LIVE: "LIVE";
604
+ TEST_ONLY: "TEST_ONLY";
605
+ }>;
606
+ schemaVersion: z.ZodLiteral<2>;
607
+ clips: z.ZodArray<z.ZodObject<{
608
+ ordinal: z.ZodInt;
609
+ technical: z.ZodObject<{
610
+ contentType: z.ZodLiteral<"video/mp4">;
611
+ checksumSha256: z.ZodString;
612
+ byteSize: z.ZodInt;
613
+ width: z.ZodInt;
614
+ height: z.ZodInt;
615
+ durationMs: z.ZodInt;
616
+ frameRate: z.ZodNumber;
617
+ videoCodec: z.ZodEnum<{
618
+ h264: "h264";
619
+ hevc: "hevc";
620
+ }>;
621
+ pixelFormat: z.ZodOptional<z.ZodLiteral<"yuv420p10le">>;
622
+ hasAudio: z.ZodBoolean;
623
+ nativeAudio: z.ZodOptional<z.ZodObject<{
624
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
625
+ sourceCodec: z.ZodLiteral<"aac">;
626
+ sourceSampleRateHz: z.ZodInt;
627
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
628
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
629
+ sourceFrameCount: z.ZodInt;
630
+ sourceStartOffsetMs: z.ZodNumber;
631
+ sourceDeclaredDurationMs: z.ZodNumber;
632
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
633
+ media: z.ZodObject<{
634
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
635
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
636
+ sampleRateHz: z.ZodLiteral<48000>;
637
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
638
+ sampleCount: z.ZodInt;
639
+ durationMs: z.ZodNumber;
640
+ }, z.core.$strict>;
641
+ checksumSha256: z.ZodString;
642
+ }, z.core.$strict>>;
643
+ }, z.core.$strict>;
644
+ sourceInMs: z.ZodInt;
645
+ sourceOutMs: z.ZodInt;
646
+ startMs: z.ZodInt;
647
+ durationMs: z.ZodInt;
648
+ transition: z.ZodUnion<readonly [z.ZodLiteral<"CUT">, z.ZodObject<{
649
+ kind: z.ZodLiteral<"CROSS_DISSOLVE_V1">;
650
+ durationFrames: z.ZodInt;
651
+ }, z.core.$strict>]>;
652
+ framing: z.ZodOptional<z.ZodObject<{
653
+ algorithm: z.ZodLiteral<"CROP_PAD_V1">;
654
+ crop: z.ZodObject<{
655
+ x: z.ZodInt;
656
+ y: z.ZodInt;
657
+ width: z.ZodInt;
658
+ height: z.ZodInt;
659
+ }, z.core.$strict>;
660
+ anchorXPermille: z.ZodInt;
661
+ anchorYPermille: z.ZodInt;
662
+ }, z.core.$strict>>;
663
+ source: z.ZodUnion<readonly [z.ZodObject<{
664
+ acceptanceId: z.ZodUUID;
665
+ reviewId: z.ZodUUID;
666
+ generationId: z.ZodUUID;
667
+ candidateId: z.ZodUUID;
668
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
669
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
670
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
671
+ checksumSha256: z.ZodString;
672
+ artifactChecksumSha256: z.ZodString;
673
+ preparationId: z.ZodUUID;
674
+ contractId: z.ZodUUID;
675
+ contractFingerprint: z.ZodString;
676
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
677
+ planVersion: z.ZodInt;
678
+ shotPlanningRevision: z.ZodInt;
679
+ executionClass: z.ZodEnum<{
680
+ LIVE: "LIVE";
681
+ TEST_ONLY: "TEST_ONLY";
682
+ }>;
683
+ reviewResult: z.ZodEnum<{
684
+ PASS: "PASS";
685
+ WARNING: "WARNING";
686
+ }>;
687
+ }, z.core.$strict>, z.ZodObject<{
688
+ sourceKind: z.ZodLiteral<"PROGRAMMATIC">;
689
+ acceptanceId: z.ZodUUID;
690
+ reviewId: z.ZodUUID;
691
+ renderId: z.ZodUUID;
692
+ compositionId: z.ZodUUID;
693
+ compositionVersionId: z.ZodUUID;
694
+ compositionVersion: z.ZodInt;
695
+ compositionFingerprint: z.ZodString;
696
+ renderManifestFingerprint: z.ZodString;
697
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
698
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
699
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
700
+ checksumSha256: z.ZodString;
701
+ artifactChecksumSha256: z.ZodString;
702
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
703
+ planVersion: z.ZodInt;
704
+ shotPlanningRevision: z.ZodInt;
705
+ executionClass: z.ZodEnum<{
706
+ LIVE: "LIVE";
707
+ TEST_ONLY: "TEST_ONLY";
708
+ }>;
709
+ reviewResult: z.ZodEnum<{
710
+ PASS: "PASS";
711
+ WARNING: "WARNING";
712
+ }>;
713
+ }, z.core.$strict>, z.ZodObject<{
714
+ sourceKind: z.ZodLiteral<"IMPORTED">;
715
+ acceptanceId: z.ZodUUID;
716
+ reviewId: z.ZodUUID;
717
+ normalizationId: z.ZodUUID;
718
+ sourceId: z.ZodUUID;
719
+ sourceVersionId: z.ZodUUID;
720
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
721
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
722
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
723
+ checksumSha256: z.ZodString;
724
+ executionClass: z.ZodEnum<{
725
+ LIVE: "LIVE";
726
+ TEST_ONLY: "TEST_ONLY";
727
+ }>;
728
+ reviewResult: z.ZodEnum<{
729
+ PASS: "PASS";
730
+ WARNING: "WARNING";
731
+ }>;
732
+ }, z.core.$strict>]>;
733
+ }, z.core.$strict>>;
734
+ sourceSound: z.ZodOptional<z.ZodObject<{
735
+ schemaVersion: z.ZodLiteral<1>;
736
+ soundPlanVersionId: z.ZodUUID;
737
+ soundPlanFingerprint: z.ZodString;
738
+ plannedCues: z.ZodArray<z.ZodObject<{
739
+ id: z.ZodString;
740
+ role: z.ZodEnum<{
741
+ MUSIC: "MUSIC";
742
+ NARRATION: "NARRATION";
743
+ DIALOGUE: "DIALOGUE";
744
+ AMBIENCE: "AMBIENCE";
745
+ SOUND_EFFECT: "SOUND_EFFECT";
746
+ }>;
747
+ source: z.ZodEnum<{
748
+ TTS: "TTS";
749
+ NATIVE_VIDEO: "NATIVE_VIDEO";
750
+ IMPORTED_AUDIO: "IMPORTED_AUDIO";
751
+ EXISTING_AUDIO: "EXISTING_AUDIO";
752
+ }>;
753
+ shotIds: z.ZodArray<z.ZodUUID>;
754
+ startMs: z.ZodInt;
755
+ endMs: z.ZodInt;
756
+ text: z.ZodOptional<z.ZodString>;
757
+ voice: z.ZodOptional<z.ZodString>;
758
+ model: z.ZodOptional<z.ZodObject<{
759
+ modelProfileId: z.ZodString;
760
+ modelProfileVersion: z.ZodInt;
761
+ connectionId: z.ZodUUID;
762
+ }, z.core.$strict>>;
763
+ 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>]>>>;
764
+ audio: z.ZodOptional<z.ZodObject<{
765
+ purpose: z.ZodEnum<{
766
+ VOICEOVER: "VOICEOVER";
767
+ MUSIC: "MUSIC";
768
+ }>;
769
+ versionId: z.ZodUUID;
770
+ }, z.core.$strict>>;
771
+ lipSync: z.ZodEnum<{
772
+ NONE: "NONE";
773
+ REQUIRED: "REQUIRED";
774
+ }>;
775
+ exactSpeech: z.ZodBoolean;
776
+ }, z.core.$strict>>;
777
+ mix: z.ZodObject<{
778
+ id: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
779
+ sampleRateHz: z.ZodLiteral<48000>;
780
+ audioChannels: z.ZodLiteral<2>;
781
+ audioCodec: z.ZodLiteral<"aac">;
782
+ bitrate: z.ZodLiteral<192000>;
783
+ peakPermille: z.ZodLiteral<950>;
784
+ duckingMusicPermille: z.ZodInt;
785
+ }, z.core.$strict>;
786
+ clips: z.ZodArray<z.ZodObject<{
787
+ ordinal: z.ZodInt;
788
+ treatment: z.ZodObject<{
789
+ policy: z.ZodEnum<{
790
+ KEEP: "KEEP";
791
+ MUTE: "MUTE";
792
+ DUCK: "DUCK";
793
+ }>;
794
+ gainPermille: z.ZodInt;
795
+ duckingPermille: z.ZodInt;
796
+ }, z.core.$strict>;
797
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
798
+ kind: z.ZodLiteral<"NATIVE_GENERATED">;
799
+ version: z.ZodObject<{
800
+ id: z.ZodUUID;
801
+ tenantId: z.ZodUUID;
802
+ projectId: z.ZodUUID;
803
+ productionId: z.ZodUUID;
804
+ shotId: z.ZodUUID;
805
+ generationId: z.ZodUUID;
806
+ videoArtifactId: z.ZodUUID;
807
+ videoRepresentationId: z.ZodUUID;
808
+ videoChecksumSha256: z.ZodString;
809
+ artifactId: z.ZodUUID;
810
+ representationId: z.ZodUUID;
811
+ checksumSha256: z.ZodString;
812
+ byteSize: z.ZodInt;
813
+ metadata: z.ZodObject<{
814
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
815
+ sourceCodec: z.ZodLiteral<"aac">;
816
+ sourceSampleRateHz: z.ZodInt;
817
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
818
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
819
+ sourceFrameCount: z.ZodInt;
820
+ sourceStartOffsetMs: z.ZodNumber;
821
+ sourceDeclaredDurationMs: z.ZodNumber;
822
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
823
+ media: z.ZodObject<{
824
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
825
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
826
+ sampleRateHz: z.ZodLiteral<48000>;
827
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
828
+ sampleCount: z.ZodInt;
829
+ durationMs: z.ZodNumber;
830
+ }, z.core.$strict>;
831
+ checksumSha256: z.ZodString;
832
+ }, z.core.$strict>;
833
+ executionClass: z.ZodEnum<{
834
+ LIVE: "LIVE";
835
+ TEST_ONLY: "TEST_ONLY";
836
+ }>;
837
+ }, z.core.$strict>;
838
+ }, z.core.$strict>, z.ZodObject<{
839
+ kind: z.ZodLiteral<"IMPORTED_SYNC">;
840
+ version: z.ZodObject<{
841
+ schemaVersion: z.ZodLiteral<1>;
842
+ purpose: z.ZodLiteral<"SOURCE_SYNC">;
843
+ id: z.ZodUUID;
844
+ audioId: z.ZodUUID;
845
+ version: z.ZodInt;
846
+ tenantId: z.ZodUUID;
847
+ projectId: z.ZodUUID;
848
+ productionId: z.ZodUUID;
849
+ shotId: z.ZodUUID;
850
+ normalizationId: z.ZodUUID;
851
+ artifactId: z.ZodUUID;
852
+ representationId: z.ZodUUID;
853
+ provenance: z.ZodObject<{
854
+ schemaVersion: z.ZodLiteral<1>;
855
+ purpose: z.ZodLiteral<"SOURCE_SYNC">;
856
+ tenantId: z.ZodUUID;
857
+ projectId: z.ZodUUID;
858
+ productionId: z.ZodUUID;
859
+ shotId: z.ZodUUID;
860
+ sourceId: z.ZodUUID;
861
+ sourceVersionId: z.ZodUUID;
862
+ normalizationId: z.ZodUUID;
863
+ originalArtifactId: z.ZodUUID;
864
+ originalRepresentationId: z.ZodUUID;
865
+ originalChecksumSha256: z.ZodString;
866
+ sourceRange: z.ZodObject<{
867
+ clock: z.ZodLiteral<"SOURCE_ZERO_BASED_CFR30">;
868
+ startFrame: z.ZodInt;
869
+ endFrame: z.ZodInt;
870
+ }, z.core.$strict>;
871
+ destinationStartSample: z.ZodInt;
872
+ media: z.ZodUnion<readonly [z.ZodObject<{
873
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
874
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
875
+ sampleRateHz: z.ZodLiteral<48000>;
876
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
877
+ sampleCount: z.ZodInt;
878
+ durationMs: z.ZodInt;
879
+ }, z.core.$strict>, z.ZodObject<{
880
+ profile: z.ZodLiteral<"PCM_S16LE_48000_SOURCE_SYNC_V1">;
881
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
882
+ sampleRateHz: z.ZodLiteral<48000>;
883
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
884
+ sampleCount: z.ZodInt;
885
+ durationMs: z.ZodNumber;
886
+ }, z.core.$strict>]>;
887
+ wavChecksumSha256: z.ZodString;
888
+ wavByteSize: z.ZodInt;
889
+ }, z.core.$strict>;
890
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
891
+ executionClass: z.ZodEnum<{
892
+ LIVE: "LIVE";
893
+ TEST_ONLY: "TEST_ONLY";
894
+ }>;
895
+ createdByPrincipalId: z.ZodUUID;
896
+ createdAt: z.ZodISODateTime;
897
+ }, z.core.$strict>;
898
+ }, z.core.$strict>], "kind">>;
899
+ sourceInSample: z.ZodInt;
900
+ sourceOutSample: z.ZodInt;
901
+ startSample: z.ZodInt;
902
+ outputSampleCount: z.ZodInt;
903
+ }, z.core.$strict>>;
904
+ speechCues: z.ZodArray<z.ZodObject<{
905
+ cueId: z.ZodString;
906
+ source: z.ZodObject<{
907
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
908
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
909
+ purpose: z.ZodEnum<{
910
+ VOICEOVER: "VOICEOVER";
911
+ MUSIC: "MUSIC";
912
+ }>;
913
+ id: z.ZodUUID;
914
+ audioId: z.ZodUUID;
915
+ projectId: z.ZodUUID;
916
+ version: z.ZodInt;
917
+ artifactId: z.ZodUUID;
918
+ original: z.ZodObject<{
919
+ id: z.ZodUUID;
920
+ checksumSha256: z.ZodString;
921
+ byteSize: z.ZodInt;
922
+ }, z.core.$strict>;
923
+ media: z.ZodObject<{
924
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
925
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
926
+ sampleRateHz: z.ZodLiteral<48000>;
927
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
928
+ sampleCount: z.ZodInt;
929
+ durationMs: z.ZodInt;
930
+ }, z.core.$strict>;
931
+ originalName: z.ZodNullable<z.ZodString>;
932
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
933
+ createdByPrincipalId: z.ZodUUID;
934
+ createdAt: z.ZodISODateTime;
935
+ generation: z.ZodOptional<z.ZodObject<{
936
+ generationId: z.ZodUUID;
937
+ executionClass: z.ZodEnum<{
938
+ LIVE: "LIVE";
939
+ TEST_ONLY: "TEST_ONLY";
940
+ }>;
941
+ executionTarget: z.ZodOptional<z.ZodLiteral<"TENANT_DEVICE">>;
942
+ sourceArtifactId: z.ZodUUID;
943
+ sourceRepresentationId: z.ZodUUID;
944
+ sourceChecksumSha256: z.ZodString;
945
+ sourceByteSize: z.ZodInt;
946
+ sourceMedia: z.ZodObject<{
947
+ sampleRateHz: z.ZodInt;
948
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
949
+ sampleCount: z.ZodInt;
950
+ }, z.core.$strict>;
951
+ normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
952
+ padSamples: z.ZodInt;
953
+ }, z.core.$strict>>;
954
+ }, z.core.$strict>;
955
+ sourceInMs: z.ZodLiteral<0>;
956
+ sourceOutMs: z.ZodInt;
957
+ startMs: z.ZodInt;
958
+ gainPermille: z.ZodLiteral<1000>;
959
+ }, z.core.$strict>>;
960
+ }, z.core.$strict>>;
961
+ }, z.core.$strict>, z.ZodObject<{
962
+ caption: z.ZodOptional<z.ZodObject<{
963
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
964
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
965
+ transcriptProvenance: z.ZodOptional<z.ZodObject<{
966
+ schemaVersion: z.ZodLiteral<1>;
967
+ advisory: z.ZodLiteral<true>;
968
+ timing: z.ZodLiteral<"PROVIDER_REPORTED">;
969
+ timelineVersionId: z.ZodUUID;
970
+ timingFingerprint: z.ZodString;
971
+ sources: z.ZodArray<z.ZodObject<{
972
+ observationId: z.ZodUUID;
973
+ artifactId: z.ZodUUID;
974
+ representationId: z.ZodUUID;
975
+ checksumSha256: z.ZodString;
976
+ placement: z.ZodDiscriminatedUnion<[z.ZodObject<{
977
+ kind: z.ZodLiteral<"AUDIO_TRACK">;
978
+ purpose: z.ZodEnum<{
979
+ VOICEOVER: "VOICEOVER";
980
+ MUSIC: "MUSIC";
981
+ }>;
982
+ }, z.core.$strict>, z.ZodObject<{
983
+ kind: z.ZodLiteral<"SPEECH_CUE">;
984
+ cueId: z.ZodString;
985
+ }, z.core.$strict>, z.ZodObject<{
986
+ kind: z.ZodLiteral<"TIMELINE_OUTPUT">;
987
+ }, z.core.$strict>], "kind">;
988
+ granularity: z.ZodEnum<{
989
+ word: "word";
990
+ segment: "segment";
991
+ }>;
992
+ sourceInMs: z.ZodInt;
993
+ sourceOutMs: z.ZodInt;
994
+ startMs: z.ZodInt;
995
+ spanIndices: z.ZodArray<z.ZodInt>;
996
+ excludedSpans: z.ZodInt;
997
+ }, z.core.$strict>>;
998
+ }, z.core.$strict>>;
999
+ id: z.ZodUUID;
1000
+ captionId: z.ZodUUID;
1001
+ projectId: z.ZodUUID;
1002
+ version: z.ZodInt;
1003
+ artifactId: z.ZodUUID;
1004
+ content: z.ZodObject<{
1005
+ language: z.ZodString;
1006
+ durationMs: z.ZodInt;
1007
+ cues: z.ZodArray<z.ZodObject<{
1008
+ startMs: z.ZodInt;
1009
+ endMs: z.ZodInt;
1010
+ text: z.ZodString;
1011
+ }, z.core.$strict>>;
1012
+ }, z.core.$strict>;
1013
+ fingerprint: z.ZodString;
1014
+ original: z.ZodObject<{
1015
+ id: z.ZodUUID;
1016
+ checksumSha256: z.ZodString;
1017
+ byteSize: z.ZodInt;
1018
+ }, z.core.$strict>;
1019
+ subtitle: z.ZodObject<{
1020
+ id: z.ZodUUID;
1021
+ checksumSha256: z.ZodString;
1022
+ byteSize: z.ZodInt;
1023
+ }, z.core.$strict>;
1024
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
1025
+ createdByPrincipalId: z.ZodUUID;
1026
+ createdAt: z.ZodISODateTime;
1027
+ }, z.core.$strict>>;
1028
+ captionStyle: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1029
+ id: z.ZodLiteral<"PLAIN_TEXT_NOTO_SANS_SC_V1">;
1030
+ fontSha256: z.ZodLiteral<"a3041811a78c361b1de50f953c805e0244951c21c5bd412f7232ef0d899af0da">;
1031
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
1032
+ }, z.core.$strict>, z.ZodObject<{
1033
+ id: z.ZodLiteral<"PLAIN_TEXT_NATIVE_SC_REGULAR_V2">;
1034
+ fontSha256: z.ZodLiteral<"e5a51f41fc1b827da651afee3975e07a182ff4f8e04d9dfc0a3cecd6177a52b6">;
1035
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
1036
+ }, z.core.$strict>], "id">>;
1037
+ audio: z.ZodOptional<z.ZodObject<{
1038
+ mix: z.ZodObject<{
1039
+ id: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
1040
+ sampleRateHz: z.ZodLiteral<48000>;
1041
+ audioChannels: z.ZodLiteral<2>;
1042
+ audioCodec: z.ZodLiteral<"aac">;
1043
+ bitrate: z.ZodLiteral<192000>;
1044
+ peakPermille: z.ZodLiteral<950>;
1045
+ duckingMusicPermille: z.ZodInt;
1046
+ }, z.core.$strict>;
1047
+ tracks: z.ZodArray<z.ZodObject<{
1048
+ sourceInMs: z.ZodInt;
1049
+ sourceOutMs: z.ZodInt;
1050
+ startMs: z.ZodInt;
1051
+ gainPermille: z.ZodInt;
1052
+ source: z.ZodObject<{
1053
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
1054
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
1055
+ purpose: z.ZodEnum<{
1056
+ VOICEOVER: "VOICEOVER";
1057
+ MUSIC: "MUSIC";
1058
+ }>;
1059
+ id: z.ZodUUID;
1060
+ audioId: z.ZodUUID;
1061
+ projectId: z.ZodUUID;
1062
+ version: z.ZodInt;
1063
+ artifactId: z.ZodUUID;
1064
+ original: z.ZodObject<{
1065
+ id: z.ZodUUID;
1066
+ checksumSha256: z.ZodString;
1067
+ byteSize: z.ZodInt;
1068
+ }, z.core.$strict>;
1069
+ media: z.ZodObject<{
1070
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
1071
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
1072
+ sampleRateHz: z.ZodLiteral<48000>;
1073
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1074
+ sampleCount: z.ZodInt;
1075
+ durationMs: z.ZodInt;
1076
+ }, z.core.$strict>;
1077
+ originalName: z.ZodNullable<z.ZodString>;
1078
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
1079
+ createdByPrincipalId: z.ZodUUID;
1080
+ createdAt: z.ZodISODateTime;
1081
+ generation: z.ZodOptional<z.ZodObject<{
1082
+ generationId: z.ZodUUID;
1083
+ executionClass: z.ZodEnum<{
1084
+ LIVE: "LIVE";
1085
+ TEST_ONLY: "TEST_ONLY";
1086
+ }>;
1087
+ executionTarget: z.ZodOptional<z.ZodLiteral<"TENANT_DEVICE">>;
1088
+ sourceArtifactId: z.ZodUUID;
1089
+ sourceRepresentationId: z.ZodUUID;
1090
+ sourceChecksumSha256: z.ZodString;
1091
+ sourceByteSize: z.ZodInt;
1092
+ sourceMedia: z.ZodObject<{
1093
+ sampleRateHz: z.ZodInt;
1094
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1095
+ sampleCount: z.ZodInt;
1096
+ }, z.core.$strict>;
1097
+ normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
1098
+ padSamples: z.ZodInt;
1099
+ }, z.core.$strict>>;
1100
+ }, z.core.$strict>;
1101
+ }, z.core.$strict>>;
1102
+ }, z.core.$strict>>;
1103
+ graphics: z.ZodOptional<z.ZodArray<z.ZodObject<{
1104
+ source: z.ZodObject<{
1105
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
1106
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
1107
+ productionId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
1108
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
1109
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
1110
+ checksumSha256: z.ZodString;
1111
+ contentType: z.ZodEnum<{
1112
+ "image/png": "image/png";
1113
+ "image/webp": "image/webp";
1114
+ }>;
1115
+ byteSize: z.ZodInt;
1116
+ width: z.ZodInt;
1117
+ height: z.ZodInt;
1118
+ }, z.core.$strict>;
1119
+ placement: z.ZodObject<{
1120
+ startFrame: z.ZodInt;
1121
+ endFrame: z.ZodInt;
1122
+ anchor: z.ZodEnum<{
1123
+ TOP_LEFT: "TOP_LEFT";
1124
+ TOP_RIGHT: "TOP_RIGHT";
1125
+ BOTTOM_LEFT: "BOTTOM_LEFT";
1126
+ BOTTOM_RIGHT: "BOTTOM_RIGHT";
1127
+ }>;
1128
+ widthPermille: z.ZodInt;
1129
+ marginXPermille: z.ZodInt;
1130
+ marginYPermille: z.ZodInt;
1131
+ opacityPermille: z.ZodInt;
1132
+ }, z.core.$strict>;
1133
+ }, z.core.$strict>>>;
1134
+ basis: z.ZodObject<{
1135
+ briefVersionId: z.core.$ZodBranded<z.ZodUUID, "BriefVersionId", "out">;
1136
+ briefVersion: z.ZodInt;
1137
+ storyVersion: z.ZodInt;
1138
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
1139
+ planVersion: z.ZodInt;
1140
+ }, z.core.$strict>;
1141
+ output: z.ZodObject<{
1142
+ aspectRatio: z.ZodEnum<{
1143
+ "16:9": "16:9";
1144
+ "9:16": "9:16";
1145
+ }>;
1146
+ profile: z.ZodEnum<{
1147
+ MP4_H264_1080P: "MP4_H264_1080P";
1148
+ MP4_H264_720P: "MP4_H264_720P";
1149
+ MP4_H264_480P: "MP4_H264_480P";
1150
+ }>;
1151
+ }, z.core.$strict>;
1152
+ duration: z.ZodObject<{
1153
+ totalMs: z.ZodInt;
1154
+ targetMs: z.ZodInt;
1155
+ minMs: z.ZodLiteral<30000>;
1156
+ maxMs: z.ZodLiteral<60000>;
1157
+ deltaTargetMs: z.ZodInt;
1158
+ classification: z.ZodEnum<{
1159
+ TOO_SHORT: "TOO_SHORT";
1160
+ WITHIN_TARGET: "WITHIN_TARGET";
1161
+ TOO_LONG: "TOO_LONG";
1162
+ }>;
1163
+ }, z.core.$strict>;
1164
+ missingPlannedShotIds: z.ZodArray<z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">>;
1165
+ executionClass: z.ZodEnum<{
1166
+ LIVE: "LIVE";
1167
+ TEST_ONLY: "TEST_ONLY";
1168
+ }>;
1169
+ clips: z.ZodArray<z.ZodObject<{
1170
+ ordinal: z.ZodInt;
1171
+ technical: z.ZodObject<{
1172
+ contentType: z.ZodLiteral<"video/mp4">;
1173
+ checksumSha256: z.ZodString;
1174
+ byteSize: z.ZodInt;
1175
+ width: z.ZodInt;
1176
+ height: z.ZodInt;
1177
+ durationMs: z.ZodInt;
1178
+ frameRate: z.ZodNumber;
1179
+ videoCodec: z.ZodEnum<{
1180
+ h264: "h264";
1181
+ hevc: "hevc";
1182
+ }>;
1183
+ pixelFormat: z.ZodOptional<z.ZodLiteral<"yuv420p10le">>;
1184
+ hasAudio: z.ZodBoolean;
1185
+ nativeAudio: z.ZodOptional<z.ZodObject<{
1186
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
1187
+ sourceCodec: z.ZodLiteral<"aac">;
1188
+ sourceSampleRateHz: z.ZodInt;
1189
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1190
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
1191
+ sourceFrameCount: z.ZodInt;
1192
+ sourceStartOffsetMs: z.ZodNumber;
1193
+ sourceDeclaredDurationMs: z.ZodNumber;
1194
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
1195
+ media: z.ZodObject<{
1196
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
1197
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
1198
+ sampleRateHz: z.ZodLiteral<48000>;
1199
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1200
+ sampleCount: z.ZodInt;
1201
+ durationMs: z.ZodNumber;
1202
+ }, z.core.$strict>;
1203
+ checksumSha256: z.ZodString;
1204
+ }, z.core.$strict>>;
1205
+ }, z.core.$strict>;
1206
+ sourceInMs: z.ZodInt;
1207
+ sourceOutMs: z.ZodInt;
1208
+ startMs: z.ZodInt;
1209
+ durationMs: z.ZodInt;
1210
+ transition: z.ZodUnion<readonly [z.ZodLiteral<"CUT">, z.ZodObject<{
1211
+ kind: z.ZodLiteral<"CROSS_DISSOLVE_V1">;
1212
+ durationFrames: z.ZodInt;
1213
+ }, z.core.$strict>]>;
1214
+ framing: z.ZodOptional<z.ZodObject<{
1215
+ algorithm: z.ZodLiteral<"CROP_PAD_V1">;
1216
+ crop: z.ZodObject<{
1217
+ x: z.ZodInt;
1218
+ y: z.ZodInt;
1219
+ width: z.ZodInt;
1220
+ height: z.ZodInt;
1221
+ }, z.core.$strict>;
1222
+ anchorXPermille: z.ZodInt;
1223
+ anchorYPermille: z.ZodInt;
1224
+ }, z.core.$strict>>;
1225
+ source: z.ZodUnion<readonly [z.ZodObject<{
1226
+ acceptanceId: z.ZodUUID;
1227
+ reviewId: z.ZodUUID;
1228
+ generationId: z.ZodUUID;
1229
+ candidateId: z.ZodUUID;
1230
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
1231
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
1232
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
1233
+ checksumSha256: z.ZodString;
1234
+ artifactChecksumSha256: z.ZodString;
1235
+ preparationId: z.ZodUUID;
1236
+ contractId: z.ZodUUID;
1237
+ contractFingerprint: z.ZodString;
1238
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
1239
+ planVersion: z.ZodInt;
1240
+ shotPlanningRevision: z.ZodInt;
1241
+ executionClass: z.ZodEnum<{
1242
+ LIVE: "LIVE";
1243
+ TEST_ONLY: "TEST_ONLY";
1244
+ }>;
1245
+ reviewResult: z.ZodEnum<{
1246
+ PASS: "PASS";
1247
+ WARNING: "WARNING";
1248
+ }>;
1249
+ }, z.core.$strict>, z.ZodObject<{
1250
+ sourceKind: z.ZodLiteral<"PROGRAMMATIC">;
1251
+ acceptanceId: z.ZodUUID;
1252
+ reviewId: z.ZodUUID;
1253
+ renderId: z.ZodUUID;
1254
+ compositionId: z.ZodUUID;
1255
+ compositionVersionId: z.ZodUUID;
1256
+ compositionVersion: z.ZodInt;
1257
+ compositionFingerprint: z.ZodString;
1258
+ renderManifestFingerprint: z.ZodString;
1259
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
1260
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
1261
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
1262
+ checksumSha256: z.ZodString;
1263
+ artifactChecksumSha256: z.ZodString;
1264
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
1265
+ planVersion: z.ZodInt;
1266
+ shotPlanningRevision: z.ZodInt;
1267
+ executionClass: z.ZodEnum<{
1268
+ LIVE: "LIVE";
1269
+ TEST_ONLY: "TEST_ONLY";
1270
+ }>;
1271
+ reviewResult: z.ZodEnum<{
1272
+ PASS: "PASS";
1273
+ WARNING: "WARNING";
1274
+ }>;
1275
+ }, z.core.$strict>, z.ZodObject<{
1276
+ sourceKind: z.ZodLiteral<"IMPORTED">;
1277
+ acceptanceId: z.ZodUUID;
1278
+ reviewId: z.ZodUUID;
1279
+ normalizationId: z.ZodUUID;
1280
+ sourceId: z.ZodUUID;
1281
+ sourceVersionId: z.ZodUUID;
1282
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
1283
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
1284
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
1285
+ checksumSha256: z.ZodString;
1286
+ executionClass: z.ZodEnum<{
1287
+ LIVE: "LIVE";
1288
+ TEST_ONLY: "TEST_ONLY";
1289
+ }>;
1290
+ reviewResult: z.ZodEnum<{
1291
+ PASS: "PASS";
1292
+ WARNING: "WARNING";
1293
+ }>;
1294
+ }, z.core.$strict>]>;
1295
+ }, z.core.$strict>>;
1296
+ sourceSound: z.ZodOptional<z.ZodObject<{
1297
+ schemaVersion: z.ZodLiteral<1>;
1298
+ soundPlanVersionId: z.ZodUUID;
1299
+ soundPlanFingerprint: z.ZodString;
1300
+ plannedCues: z.ZodArray<z.ZodObject<{
1301
+ id: z.ZodString;
1302
+ role: z.ZodEnum<{
1303
+ MUSIC: "MUSIC";
1304
+ NARRATION: "NARRATION";
1305
+ DIALOGUE: "DIALOGUE";
1306
+ AMBIENCE: "AMBIENCE";
1307
+ SOUND_EFFECT: "SOUND_EFFECT";
1308
+ }>;
1309
+ source: z.ZodEnum<{
1310
+ TTS: "TTS";
1311
+ NATIVE_VIDEO: "NATIVE_VIDEO";
1312
+ IMPORTED_AUDIO: "IMPORTED_AUDIO";
1313
+ EXISTING_AUDIO: "EXISTING_AUDIO";
1314
+ }>;
1315
+ shotIds: z.ZodArray<z.ZodUUID>;
1316
+ startMs: z.ZodInt;
1317
+ endMs: z.ZodInt;
1318
+ text: z.ZodOptional<z.ZodString>;
1319
+ voice: z.ZodOptional<z.ZodString>;
1320
+ model: z.ZodOptional<z.ZodObject<{
1321
+ modelProfileId: z.ZodString;
1322
+ modelProfileVersion: z.ZodInt;
1323
+ connectionId: z.ZodUUID;
1324
+ }, z.core.$strict>>;
1325
+ 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>]>>>;
1326
+ audio: z.ZodOptional<z.ZodObject<{
1327
+ purpose: z.ZodEnum<{
1328
+ VOICEOVER: "VOICEOVER";
1329
+ MUSIC: "MUSIC";
1330
+ }>;
1331
+ versionId: z.ZodUUID;
1332
+ }, z.core.$strict>>;
1333
+ lipSync: z.ZodEnum<{
1334
+ NONE: "NONE";
1335
+ REQUIRED: "REQUIRED";
1336
+ }>;
1337
+ exactSpeech: z.ZodBoolean;
1338
+ }, z.core.$strict>>;
1339
+ mix: z.ZodObject<{
1340
+ id: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
1341
+ sampleRateHz: z.ZodLiteral<48000>;
1342
+ audioChannels: z.ZodLiteral<2>;
1343
+ audioCodec: z.ZodLiteral<"aac">;
1344
+ bitrate: z.ZodLiteral<192000>;
1345
+ peakPermille: z.ZodLiteral<950>;
1346
+ duckingMusicPermille: z.ZodInt;
1347
+ }, z.core.$strict>;
1348
+ clips: z.ZodArray<z.ZodObject<{
1349
+ ordinal: z.ZodInt;
1350
+ treatment: z.ZodObject<{
1351
+ policy: z.ZodEnum<{
1352
+ KEEP: "KEEP";
1353
+ MUTE: "MUTE";
1354
+ DUCK: "DUCK";
1355
+ }>;
1356
+ gainPermille: z.ZodInt;
1357
+ duckingPermille: z.ZodInt;
1358
+ }, z.core.$strict>;
1359
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1360
+ kind: z.ZodLiteral<"NATIVE_GENERATED">;
1361
+ version: z.ZodObject<{
1362
+ id: z.ZodUUID;
1363
+ tenantId: z.ZodUUID;
1364
+ projectId: z.ZodUUID;
1365
+ productionId: z.ZodUUID;
1366
+ shotId: z.ZodUUID;
1367
+ generationId: z.ZodUUID;
1368
+ videoArtifactId: z.ZodUUID;
1369
+ videoRepresentationId: z.ZodUUID;
1370
+ videoChecksumSha256: z.ZodString;
1371
+ artifactId: z.ZodUUID;
1372
+ representationId: z.ZodUUID;
1373
+ checksumSha256: z.ZodString;
1374
+ byteSize: z.ZodInt;
1375
+ metadata: z.ZodObject<{
1376
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
1377
+ sourceCodec: z.ZodLiteral<"aac">;
1378
+ sourceSampleRateHz: z.ZodInt;
1379
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1380
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
1381
+ sourceFrameCount: z.ZodInt;
1382
+ sourceStartOffsetMs: z.ZodNumber;
1383
+ sourceDeclaredDurationMs: z.ZodNumber;
1384
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
1385
+ media: z.ZodObject<{
1386
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
1387
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
1388
+ sampleRateHz: z.ZodLiteral<48000>;
1389
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1390
+ sampleCount: z.ZodInt;
1391
+ durationMs: z.ZodNumber;
1392
+ }, z.core.$strict>;
1393
+ checksumSha256: z.ZodString;
1394
+ }, z.core.$strict>;
1395
+ executionClass: z.ZodEnum<{
1396
+ LIVE: "LIVE";
1397
+ TEST_ONLY: "TEST_ONLY";
1398
+ }>;
1399
+ }, z.core.$strict>;
1400
+ }, z.core.$strict>, z.ZodObject<{
1401
+ kind: z.ZodLiteral<"IMPORTED_SYNC">;
1402
+ version: z.ZodObject<{
1403
+ schemaVersion: z.ZodLiteral<1>;
1404
+ purpose: z.ZodLiteral<"SOURCE_SYNC">;
1405
+ id: z.ZodUUID;
1406
+ audioId: z.ZodUUID;
1407
+ version: z.ZodInt;
1408
+ tenantId: z.ZodUUID;
1409
+ projectId: z.ZodUUID;
1410
+ productionId: z.ZodUUID;
1411
+ shotId: z.ZodUUID;
1412
+ normalizationId: z.ZodUUID;
1413
+ artifactId: z.ZodUUID;
1414
+ representationId: z.ZodUUID;
1415
+ provenance: z.ZodObject<{
1416
+ schemaVersion: z.ZodLiteral<1>;
1417
+ purpose: z.ZodLiteral<"SOURCE_SYNC">;
1418
+ tenantId: z.ZodUUID;
1419
+ projectId: z.ZodUUID;
1420
+ productionId: z.ZodUUID;
1421
+ shotId: z.ZodUUID;
1422
+ sourceId: z.ZodUUID;
1423
+ sourceVersionId: z.ZodUUID;
1424
+ normalizationId: z.ZodUUID;
1425
+ originalArtifactId: z.ZodUUID;
1426
+ originalRepresentationId: z.ZodUUID;
1427
+ originalChecksumSha256: z.ZodString;
1428
+ sourceRange: z.ZodObject<{
1429
+ clock: z.ZodLiteral<"SOURCE_ZERO_BASED_CFR30">;
1430
+ startFrame: z.ZodInt;
1431
+ endFrame: z.ZodInt;
1432
+ }, z.core.$strict>;
1433
+ destinationStartSample: z.ZodInt;
1434
+ media: z.ZodUnion<readonly [z.ZodObject<{
1435
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
1436
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
1437
+ sampleRateHz: z.ZodLiteral<48000>;
1438
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1439
+ sampleCount: z.ZodInt;
1440
+ durationMs: z.ZodInt;
1441
+ }, z.core.$strict>, z.ZodObject<{
1442
+ profile: z.ZodLiteral<"PCM_S16LE_48000_SOURCE_SYNC_V1">;
1443
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
1444
+ sampleRateHz: z.ZodLiteral<48000>;
1445
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1446
+ sampleCount: z.ZodInt;
1447
+ durationMs: z.ZodNumber;
1448
+ }, z.core.$strict>]>;
1449
+ wavChecksumSha256: z.ZodString;
1450
+ wavByteSize: z.ZodInt;
1451
+ }, z.core.$strict>;
1452
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
1453
+ executionClass: z.ZodEnum<{
1454
+ LIVE: "LIVE";
1455
+ TEST_ONLY: "TEST_ONLY";
1456
+ }>;
1457
+ createdByPrincipalId: z.ZodUUID;
1458
+ createdAt: z.ZodISODateTime;
1459
+ }, z.core.$strict>;
1460
+ }, z.core.$strict>], "kind">>;
1461
+ sourceInSample: z.ZodInt;
1462
+ sourceOutSample: z.ZodInt;
1463
+ startSample: z.ZodInt;
1464
+ outputSampleCount: z.ZodInt;
1465
+ }, z.core.$strict>>;
1466
+ speechCues: z.ZodArray<z.ZodObject<{
1467
+ cueId: z.ZodString;
1468
+ source: z.ZodObject<{
1469
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
1470
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
1471
+ purpose: z.ZodEnum<{
1472
+ VOICEOVER: "VOICEOVER";
1473
+ MUSIC: "MUSIC";
1474
+ }>;
1475
+ id: z.ZodUUID;
1476
+ audioId: z.ZodUUID;
1477
+ projectId: z.ZodUUID;
1478
+ version: z.ZodInt;
1479
+ artifactId: z.ZodUUID;
1480
+ original: z.ZodObject<{
1481
+ id: z.ZodUUID;
1482
+ checksumSha256: z.ZodString;
1483
+ byteSize: z.ZodInt;
1484
+ }, z.core.$strict>;
1485
+ media: z.ZodObject<{
1486
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
1487
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
1488
+ sampleRateHz: z.ZodLiteral<48000>;
1489
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1490
+ sampleCount: z.ZodInt;
1491
+ durationMs: z.ZodInt;
1492
+ }, z.core.$strict>;
1493
+ originalName: z.ZodNullable<z.ZodString>;
1494
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
1495
+ createdByPrincipalId: z.ZodUUID;
1496
+ createdAt: z.ZodISODateTime;
1497
+ generation: z.ZodOptional<z.ZodObject<{
1498
+ generationId: z.ZodUUID;
1499
+ executionClass: z.ZodEnum<{
1500
+ LIVE: "LIVE";
1501
+ TEST_ONLY: "TEST_ONLY";
1502
+ }>;
1503
+ executionTarget: z.ZodOptional<z.ZodLiteral<"TENANT_DEVICE">>;
1504
+ sourceArtifactId: z.ZodUUID;
1505
+ sourceRepresentationId: z.ZodUUID;
1506
+ sourceChecksumSha256: z.ZodString;
1507
+ sourceByteSize: z.ZodInt;
1508
+ sourceMedia: z.ZodObject<{
1509
+ sampleRateHz: z.ZodInt;
1510
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1511
+ sampleCount: z.ZodInt;
1512
+ }, z.core.$strict>;
1513
+ normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
1514
+ padSamples: z.ZodInt;
1515
+ }, z.core.$strict>>;
1516
+ }, z.core.$strict>;
1517
+ sourceInMs: z.ZodLiteral<0>;
1518
+ sourceOutMs: z.ZodInt;
1519
+ startMs: z.ZodInt;
1520
+ gainPermille: z.ZodLiteral<1000>;
1521
+ }, z.core.$strict>>;
1522
+ }, z.core.$strict>>;
1523
+ schemaVersion: z.ZodLiteral<3>;
1524
+ visualLayers: z.ZodObject<{
1525
+ schemaVersion: z.ZodLiteral<1>;
1526
+ profileId: z.ZodLiteral<"STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1">;
1527
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
1528
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
1529
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
1530
+ totalFrames: z.ZodInt;
1531
+ layers: z.ZodArray<z.ZodObject<{
1532
+ id: z.ZodUUID;
1533
+ source: z.ZodObject<{
1534
+ schemaVersion: z.ZodLiteral<1>;
1535
+ profileId: z.ZodLiteral<"RGBA_PNG_SEQUENCE_30_V1">;
1536
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
1537
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
1538
+ productionId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
1539
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
1540
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
1541
+ checksumSha256: z.ZodString;
1542
+ width: z.ZodInt;
1543
+ height: z.ZodInt;
1544
+ frameRate: z.ZodLiteral<30>;
1545
+ frameCount: z.ZodInt;
1546
+ alpha: z.ZodLiteral<"STRAIGHT_RGBA">;
1547
+ frames: z.ZodArray<z.ZodObject<{
1548
+ ordinal: z.ZodInt;
1549
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
1550
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
1551
+ checksumSha256: z.ZodString;
1552
+ byteSize: z.ZodInt;
1553
+ }, z.core.$strict>>;
1554
+ }, z.core.$strict>;
1555
+ sourceInFrame: z.ZodInt;
1556
+ sourceOutFrame: z.ZodInt;
1557
+ startFrame: z.ZodInt;
1558
+ zIndex: z.ZodInt;
1559
+ opacityPermille: z.ZodInt;
1560
+ placement: z.ZodObject<{
1561
+ xPermille: z.ZodInt;
1562
+ yPermille: z.ZodInt;
1563
+ widthPermille: z.ZodInt;
1564
+ heightPermille: z.ZodInt;
1565
+ }, z.core.$strict>;
1566
+ }, z.core.$strict>>;
1567
+ }, z.core.$strict>;
1568
+ }, z.core.$strict>], "schemaVersion">;
1569
+ assemblyStatus: z.ZodEnum<{
1570
+ DRAFT: "DRAFT";
1571
+ ASSEMBLY_READY: "ASSEMBLY_READY";
1572
+ }>;
1573
+ changedOrdinals: z.ZodArray<z.ZodInt>;
1574
+ changedGraphicArtifactIds: z.ZodArray<z.ZodUUID>;
1575
+ changedAudioPurposes: z.ZodArray<z.ZodEnum<{
1576
+ VOICEOVER: "VOICEOVER";
1577
+ MUSIC: "MUSIC";
1578
+ }>>;
1579
+ preservedAcceptanceIds: z.ZodArray<z.ZodUUID>;
1580
+ reviewScope: z.ZodObject<{
1581
+ kind: z.ZodLiteral<"PRODUCTION">;
1582
+ interval: z.ZodObject<{
1583
+ startMs: z.ZodLiteral<0>;
1584
+ endMs: z.ZodInt;
1585
+ }, z.core.$strict>;
1586
+ shotIds: z.ZodArray<z.ZodUUID>;
1587
+ dimensions: z.ZodArray<z.ZodEnum<{
1588
+ PACING: "PACING";
1589
+ ORDERING: "ORDERING";
1590
+ CUT_CONTINUITY: "CUT_CONTINUITY";
1591
+ PRODUCT_PRESENTATION: "PRODUCT_PRESENTATION";
1592
+ CAPTION_TIMING_VISIBILITY: "CAPTION_TIMING_VISIBILITY";
1593
+ AUDIO_VISUAL_ALIGNMENT: "AUDIO_VISUAL_ALIGNMENT";
1594
+ BASIC_MIX: "BASIC_MIX";
1595
+ }>>;
1596
+ requirement: z.ZodLiteral<"COMPLETE_NEW_OUTPUT_INSPECTION">;
1597
+ }, z.core.$strict>;
1598
+ followUp: z.ZodArray<z.ZodEnum<{
1599
+ NATIVE_TIMELINE_BUILD: "NATIVE_TIMELINE_BUILD";
1600
+ COMPLETE_TIMELINE: "COMPLETE_TIMELINE";
1601
+ ROUGH_CUT_RENDER: "ROUGH_CUT_RENDER";
1602
+ REVIEW_2: "REVIEW_2";
1603
+ FINAL_READY_DECISION: "FINAL_READY_DECISION";
1604
+ }>>;
1605
+ }, z.core.$strict>, z.ZodObject<{
1606
+ kind: z.ZodLiteral<"CAPTION_AUTHOR">;
1607
+ input: z.ZodObject<{
1608
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
1609
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
1610
+ expectedProductionRevision: z.ZodInt;
1611
+ content: z.ZodObject<{
1612
+ language: z.ZodString;
1613
+ durationMs: z.ZodInt;
1614
+ cues: z.ZodArray<z.ZodObject<{
1615
+ startMs: z.ZodInt;
1616
+ endMs: z.ZodInt;
1617
+ text: z.ZodString;
1618
+ }, z.core.$strict>>;
1619
+ }, z.core.$strict>;
1620
+ expectedCaptionVersion: z.ZodInt;
1621
+ }, z.core.$strict>;
1622
+ attachment: z.ZodObject<{
1623
+ expectedTimelineVersion: z.ZodInt;
1624
+ preserveCurrentComposition: z.ZodLiteral<true>;
1625
+ composition: z.ZodObject<{
1626
+ schemaVersion: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
1627
+ clips: z.ZodArray<z.ZodObject<{
1628
+ shotId: typeof import("./ids.js").ShotIdSchema;
1629
+ acceptanceId: z.ZodUUID;
1630
+ framing: z.ZodOptional<typeof import("./clip-framing.js").ClipFramingSchema>;
1631
+ transition: z.ZodOptional<typeof import("./clip-transition.js").ClipTransitionSchema>;
1632
+ sourceInMs: z.ZodInt;
1633
+ sourceOutMs: z.ZodInt;
1634
+ }, z.core.$strict>>;
1635
+ audio: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1636
+ tracks: z.ZodArray<z.ZodObject<{
1637
+ sourceInMs: z.ZodInt;
1638
+ sourceOutMs: z.ZodInt;
1639
+ startMs: z.ZodInt;
1640
+ gainPermille: z.ZodInt;
1641
+ purpose: z.ZodEnum<{
1642
+ VOICEOVER: "VOICEOVER";
1643
+ MUSIC: "MUSIC";
1644
+ }>;
1645
+ versionId: z.ZodUUID;
1646
+ }, z.core.$strict>>;
1647
+ duckingMusicPermille: z.ZodDefault<z.ZodInt>;
1648
+ }, z.core.$strict>>>;
1649
+ sourceSound: z.ZodOptional<z.ZodObject<{
1650
+ duckingMusicPermille: z.ZodOptional<z.ZodInt>;
1651
+ soundPlanVersionId: z.ZodUUID;
1652
+ clips: z.ZodArray<z.ZodObject<{
1653
+ ordinal: z.ZodInt;
1654
+ treatment: z.ZodObject<{
1655
+ policy: z.ZodEnum<{
1656
+ KEEP: "KEEP";
1657
+ MUTE: "MUTE";
1658
+ DUCK: "DUCK";
1659
+ }>;
1660
+ gainPermille: z.ZodInt;
1661
+ duckingPermille: z.ZodInt;
1662
+ }, z.core.$strict>;
1663
+ importedAudioVersionId: z.ZodOptional<z.ZodUUID>;
1664
+ }, z.core.$strict>>;
1665
+ speechCues: z.ZodArray<z.ZodObject<{
1666
+ cueId: z.ZodString;
1667
+ audioVersionId: z.ZodUUID;
1668
+ }, z.core.$strict>>;
1669
+ }, z.core.$strict>>;
1670
+ graphics: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
1671
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
1672
+ placement: z.ZodObject<{
1673
+ startFrame: z.ZodInt;
1674
+ endFrame: z.ZodInt;
1675
+ anchor: z.ZodEnum<{
1676
+ TOP_LEFT: "TOP_LEFT";
1677
+ TOP_RIGHT: "TOP_RIGHT";
1678
+ BOTTOM_LEFT: "BOTTOM_LEFT";
1679
+ BOTTOM_RIGHT: "BOTTOM_RIGHT";
1680
+ }>;
1681
+ widthPermille: z.ZodInt;
1682
+ marginXPermille: z.ZodInt;
1683
+ marginYPermille: z.ZodInt;
1684
+ opacityPermille: z.ZodInt;
1685
+ }, z.core.$strict>;
1686
+ }, z.core.$strict>>>>;
1687
+ visualLayers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1688
+ id: z.ZodUUID;
1689
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
1690
+ sourceInFrame: z.ZodInt;
1691
+ sourceOutFrame: z.ZodInt;
1692
+ startFrame: z.ZodInt;
1693
+ zIndex: z.ZodInt;
1694
+ opacityPermille: z.ZodInt;
1695
+ placement: z.ZodObject<{
1696
+ xPermille: z.ZodInt;
1697
+ yPermille: z.ZodInt;
1698
+ widthPermille: z.ZodInt;
1699
+ heightPermille: z.ZodInt;
1700
+ }, z.core.$strict>;
1701
+ }, z.core.$strict>>>;
1702
+ }, z.core.$strict>;
1703
+ }, z.core.$strict>;
1704
+ followUp: z.ZodTuple<[z.ZodLiteral<"NATIVE_CAPTION_AUTHOR">, z.ZodLiteral<"ATTACH_NEW_CAPTION_TO_TIMELINE">, z.ZodLiteral<"ROUGH_CUT_RENDER">, z.ZodLiteral<"REVIEW_2">, z.ZodLiteral<"FINAL_READY_DECISION">], null>;
1705
+ }, z.core.$strict>, z.ZodObject<{
1706
+ kind: z.ZodLiteral<"COMPOSITION_CAPABILITY_INTENT">;
1707
+ concern: z.ZodEnum<{
1708
+ TRANSITION: "TRANSITION";
1709
+ AUDIO_VISUAL_ALIGNMENT: "AUDIO_VISUAL_ALIGNMENT";
1710
+ VOICE_TIMING: "VOICE_TIMING";
1711
+ CAPTION_RETIMING: "CAPTION_RETIMING";
1712
+ }>;
1713
+ requestedChange: z.ZodString;
1714
+ admission: z.ZodLiteral<"EXPLICIT_CANONICAL_CAPABILITY_REQUIRED">;
1715
+ }, z.core.$strict>, z.ZodObject<{
1716
+ kind: z.ZodLiteral<"HUMAN_INPUT_INTENT">;
1717
+ question: z.ZodString;
1718
+ }, z.core.$strict>], "kind">;
1719
+ export declare const EditorValidationResultSchema: z.ZodObject<{
1720
+ semanticStatus: z.ZodLiteral<"SUCCESS">;
1721
+ advisory: z.ZodLiteral<true>;
1722
+ basis: z.ZodObject<{
1723
+ scope: typeof DirectorScopeSchema;
1724
+ timelineVersionId: z.ZodUUID;
1725
+ contextFingerprint: z.ZodString;
1726
+ }, z.core.$strict>;
1727
+ proposal: z.ZodObject<{
1728
+ origin: z.ZodObject<{
1729
+ kind: z.ZodLiteral<"EXTERNAL_AGENT_HOST">;
1730
+ label: z.ZodString;
1731
+ }, z.core.$strict>;
1732
+ summary: typeof text;
1733
+ alternatives: z.ZodArray<typeof EditorAlternativeSchema>;
1734
+ selectedAlternativeId: typeof key;
1735
+ }, z.core.$strict>;
1736
+ alternatives: z.ZodArray<z.ZodObject<{
1737
+ alternativeId: z.ZodString;
1738
+ handoff: z.ZodDiscriminatedUnion<[z.ZodObject<{
1739
+ kind: z.ZodLiteral<"TIMELINE_BUILD">;
1740
+ input: z.ZodObject<{
1741
+ tenantId: typeof import("./ids.js").TenantIdSchema;
1742
+ schemaVersion: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
1743
+ productionId: typeof import("./ids.js").ProductionIdSchema;
1744
+ expectedProductionRevision: z.ZodInt;
1745
+ audio: z.ZodOptional<typeof TimelineAudioInputSchema>;
1746
+ graphics: z.ZodOptional<z.ZodArray<typeof TimelineGraphicInputSchema>>;
1747
+ clips: z.ZodArray<typeof import("./timeline.js").TimelineClipInputSchema>;
1748
+ sourceSound: z.ZodOptional<typeof import("./timeline-source-sound.js").TimelineSourceSoundInputSchema>;
1749
+ visualLayers: z.ZodOptional<z.ZodArray<typeof TimelineVisualLayerInputSchema>>;
1750
+ expectedTimelineVersion: z.ZodInt;
1751
+ captionVersionId: z.ZodOptional<z.ZodUUID>;
1752
+ }, z.core.$strict>;
1753
+ preview: z.ZodDiscriminatedUnion<[z.ZodObject<{
1754
+ schemaVersion: z.ZodLiteral<1>;
1755
+ caption: z.ZodOptional<z.ZodObject<{
1756
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
1757
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
1758
+ transcriptProvenance: z.ZodOptional<z.ZodObject<{
1759
+ schemaVersion: z.ZodLiteral<1>;
1760
+ advisory: z.ZodLiteral<true>;
1761
+ timing: z.ZodLiteral<"PROVIDER_REPORTED">;
1762
+ timelineVersionId: z.ZodUUID;
1763
+ timingFingerprint: z.ZodString;
1764
+ sources: z.ZodArray<z.ZodObject<{
1765
+ observationId: z.ZodUUID;
1766
+ artifactId: z.ZodUUID;
1767
+ representationId: z.ZodUUID;
1768
+ checksumSha256: z.ZodString;
1769
+ placement: z.ZodDiscriminatedUnion<[z.ZodObject<{
1770
+ kind: z.ZodLiteral<"AUDIO_TRACK">;
1771
+ purpose: z.ZodEnum<{
1772
+ VOICEOVER: "VOICEOVER";
1773
+ MUSIC: "MUSIC";
1774
+ }>;
1775
+ }, z.core.$strict>, z.ZodObject<{
1776
+ kind: z.ZodLiteral<"SPEECH_CUE">;
1777
+ cueId: z.ZodString;
1778
+ }, z.core.$strict>, z.ZodObject<{
1779
+ kind: z.ZodLiteral<"TIMELINE_OUTPUT">;
1780
+ }, z.core.$strict>], "kind">;
1781
+ granularity: z.ZodEnum<{
1782
+ word: "word";
1783
+ segment: "segment";
1784
+ }>;
1785
+ sourceInMs: z.ZodInt;
1786
+ sourceOutMs: z.ZodInt;
1787
+ startMs: z.ZodInt;
1788
+ spanIndices: z.ZodArray<z.ZodInt>;
1789
+ excludedSpans: z.ZodInt;
1790
+ }, z.core.$strict>>;
1791
+ }, z.core.$strict>>;
1792
+ id: z.ZodUUID;
1793
+ captionId: z.ZodUUID;
1794
+ projectId: z.ZodUUID;
1795
+ version: z.ZodInt;
1796
+ artifactId: z.ZodUUID;
1797
+ content: z.ZodObject<{
1798
+ language: z.ZodString;
1799
+ durationMs: z.ZodInt;
1800
+ cues: z.ZodArray<z.ZodObject<{
1801
+ startMs: z.ZodInt;
1802
+ endMs: z.ZodInt;
1803
+ text: z.ZodString;
1804
+ }, z.core.$strict>>;
1805
+ }, z.core.$strict>;
1806
+ fingerprint: z.ZodString;
1807
+ original: z.ZodObject<{
1808
+ id: z.ZodUUID;
1809
+ checksumSha256: z.ZodString;
1810
+ byteSize: z.ZodInt;
1811
+ }, z.core.$strict>;
1812
+ subtitle: z.ZodObject<{
1813
+ id: z.ZodUUID;
1814
+ checksumSha256: z.ZodString;
1815
+ byteSize: z.ZodInt;
1816
+ }, z.core.$strict>;
1817
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
1818
+ createdByPrincipalId: z.ZodUUID;
1819
+ createdAt: z.ZodISODateTime;
1820
+ }, z.core.$strict>>;
1821
+ captionStyle: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1822
+ id: z.ZodLiteral<"PLAIN_TEXT_NOTO_SANS_SC_V1">;
1823
+ fontSha256: z.ZodLiteral<"a3041811a78c361b1de50f953c805e0244951c21c5bd412f7232ef0d899af0da">;
1824
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
1825
+ }, z.core.$strict>, z.ZodObject<{
1826
+ id: z.ZodLiteral<"PLAIN_TEXT_NATIVE_SC_REGULAR_V2">;
1827
+ fontSha256: z.ZodLiteral<"e5a51f41fc1b827da651afee3975e07a182ff4f8e04d9dfc0a3cecd6177a52b6">;
1828
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
1829
+ }, z.core.$strict>], "id">>;
1830
+ audio: z.ZodOptional<z.ZodObject<{
1831
+ mix: z.ZodObject<{
1832
+ id: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
1833
+ sampleRateHz: z.ZodLiteral<48000>;
1834
+ audioChannels: z.ZodLiteral<2>;
1835
+ audioCodec: z.ZodLiteral<"aac">;
1836
+ bitrate: z.ZodLiteral<192000>;
1837
+ peakPermille: z.ZodLiteral<950>;
1838
+ duckingMusicPermille: z.ZodInt;
1839
+ }, z.core.$strict>;
1840
+ tracks: z.ZodArray<z.ZodObject<{
1841
+ sourceInMs: z.ZodInt;
1842
+ sourceOutMs: z.ZodInt;
1843
+ startMs: z.ZodInt;
1844
+ gainPermille: z.ZodInt;
1845
+ source: z.ZodObject<{
1846
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
1847
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
1848
+ purpose: z.ZodEnum<{
1849
+ VOICEOVER: "VOICEOVER";
1850
+ MUSIC: "MUSIC";
1851
+ }>;
1852
+ id: z.ZodUUID;
1853
+ audioId: z.ZodUUID;
1854
+ projectId: z.ZodUUID;
1855
+ version: z.ZodInt;
1856
+ artifactId: z.ZodUUID;
1857
+ original: z.ZodObject<{
1858
+ id: z.ZodUUID;
1859
+ checksumSha256: z.ZodString;
1860
+ byteSize: z.ZodInt;
1861
+ }, z.core.$strict>;
1862
+ media: z.ZodObject<{
1863
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
1864
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
1865
+ sampleRateHz: z.ZodLiteral<48000>;
1866
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1867
+ sampleCount: z.ZodInt;
1868
+ durationMs: z.ZodInt;
1869
+ }, z.core.$strict>;
1870
+ originalName: z.ZodNullable<z.ZodString>;
1871
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
1872
+ createdByPrincipalId: z.ZodUUID;
1873
+ createdAt: z.ZodISODateTime;
1874
+ generation: z.ZodOptional<z.ZodObject<{
1875
+ generationId: z.ZodUUID;
1876
+ executionClass: z.ZodEnum<{
1877
+ LIVE: "LIVE";
1878
+ TEST_ONLY: "TEST_ONLY";
1879
+ }>;
1880
+ executionTarget: z.ZodOptional<z.ZodLiteral<"TENANT_DEVICE">>;
1881
+ sourceArtifactId: z.ZodUUID;
1882
+ sourceRepresentationId: z.ZodUUID;
1883
+ sourceChecksumSha256: z.ZodString;
1884
+ sourceByteSize: z.ZodInt;
1885
+ sourceMedia: z.ZodObject<{
1886
+ sampleRateHz: z.ZodInt;
1887
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1888
+ sampleCount: z.ZodInt;
1889
+ }, z.core.$strict>;
1890
+ normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
1891
+ padSamples: z.ZodInt;
1892
+ }, z.core.$strict>>;
1893
+ }, z.core.$strict>;
1894
+ }, z.core.$strict>>;
1895
+ }, z.core.$strict>>;
1896
+ graphics: z.ZodOptional<z.ZodArray<z.ZodObject<{
1897
+ source: z.ZodObject<{
1898
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
1899
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
1900
+ productionId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
1901
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
1902
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
1903
+ checksumSha256: z.ZodString;
1904
+ contentType: z.ZodEnum<{
1905
+ "image/png": "image/png";
1906
+ "image/webp": "image/webp";
1907
+ }>;
1908
+ byteSize: z.ZodInt;
1909
+ width: z.ZodInt;
1910
+ height: z.ZodInt;
1911
+ }, z.core.$strict>;
1912
+ placement: z.ZodObject<{
1913
+ startFrame: z.ZodInt;
1914
+ endFrame: z.ZodInt;
1915
+ anchor: z.ZodEnum<{
1916
+ TOP_LEFT: "TOP_LEFT";
1917
+ TOP_RIGHT: "TOP_RIGHT";
1918
+ BOTTOM_LEFT: "BOTTOM_LEFT";
1919
+ BOTTOM_RIGHT: "BOTTOM_RIGHT";
1920
+ }>;
1921
+ widthPermille: z.ZodInt;
1922
+ marginXPermille: z.ZodInt;
1923
+ marginYPermille: z.ZodInt;
1924
+ opacityPermille: z.ZodInt;
1925
+ }, z.core.$strict>;
1926
+ }, z.core.$strict>>>;
1927
+ basis: z.ZodObject<{
1928
+ briefVersionId: z.core.$ZodBranded<z.ZodUUID, "BriefVersionId", "out">;
1929
+ briefVersion: z.ZodInt;
1930
+ storyVersion: z.ZodInt;
1931
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
1932
+ planVersion: z.ZodInt;
1933
+ }, z.core.$strict>;
1934
+ output: z.ZodObject<{
1935
+ aspectRatio: z.ZodEnum<{
1936
+ "16:9": "16:9";
1937
+ "9:16": "9:16";
1938
+ }>;
1939
+ profile: z.ZodEnum<{
1940
+ MP4_H264_1080P: "MP4_H264_1080P";
1941
+ MP4_H264_720P: "MP4_H264_720P";
1942
+ MP4_H264_480P: "MP4_H264_480P";
1943
+ }>;
1944
+ }, z.core.$strict>;
1945
+ clips: z.ZodArray<z.ZodObject<{
1946
+ ordinal: z.ZodInt;
1947
+ source: z.ZodObject<{
1948
+ acceptanceId: z.ZodUUID;
1949
+ reviewId: z.ZodUUID;
1950
+ generationId: z.ZodUUID;
1951
+ candidateId: z.ZodUUID;
1952
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
1953
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
1954
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
1955
+ checksumSha256: z.ZodString;
1956
+ artifactChecksumSha256: z.ZodString;
1957
+ preparationId: z.ZodUUID;
1958
+ contractId: z.ZodUUID;
1959
+ contractFingerprint: z.ZodString;
1960
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
1961
+ planVersion: z.ZodInt;
1962
+ shotPlanningRevision: z.ZodInt;
1963
+ executionClass: z.ZodEnum<{
1964
+ LIVE: "LIVE";
1965
+ TEST_ONLY: "TEST_ONLY";
1966
+ }>;
1967
+ reviewResult: z.ZodEnum<{
1968
+ PASS: "PASS";
1969
+ WARNING: "WARNING";
1970
+ }>;
1971
+ }, z.core.$strict>;
1972
+ technical: z.ZodObject<{
1973
+ contentType: z.ZodLiteral<"video/mp4">;
1974
+ checksumSha256: z.ZodString;
1975
+ byteSize: z.ZodInt;
1976
+ width: z.ZodInt;
1977
+ height: z.ZodInt;
1978
+ durationMs: z.ZodInt;
1979
+ frameRate: z.ZodNumber;
1980
+ videoCodec: z.ZodEnum<{
1981
+ h264: "h264";
1982
+ hevc: "hevc";
1983
+ }>;
1984
+ pixelFormat: z.ZodOptional<z.ZodLiteral<"yuv420p10le">>;
1985
+ hasAudio: z.ZodBoolean;
1986
+ nativeAudio: z.ZodOptional<z.ZodObject<{
1987
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
1988
+ sourceCodec: z.ZodLiteral<"aac">;
1989
+ sourceSampleRateHz: z.ZodInt;
1990
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1991
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
1992
+ sourceFrameCount: z.ZodInt;
1993
+ sourceStartOffsetMs: z.ZodNumber;
1994
+ sourceDeclaredDurationMs: z.ZodNumber;
1995
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
1996
+ media: z.ZodObject<{
1997
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
1998
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
1999
+ sampleRateHz: z.ZodLiteral<48000>;
2000
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
2001
+ sampleCount: z.ZodInt;
2002
+ durationMs: z.ZodNumber;
2003
+ }, z.core.$strict>;
2004
+ checksumSha256: z.ZodString;
2005
+ }, z.core.$strict>>;
2006
+ }, z.core.$strict>;
2007
+ sourceInMs: z.ZodInt;
2008
+ sourceOutMs: z.ZodInt;
2009
+ startMs: z.ZodInt;
2010
+ durationMs: z.ZodInt;
2011
+ transition: z.ZodUnion<readonly [z.ZodLiteral<"CUT">, z.ZodObject<{
2012
+ kind: z.ZodLiteral<"CROSS_DISSOLVE_V1">;
2013
+ durationFrames: z.ZodInt;
2014
+ }, z.core.$strict>]>;
2015
+ framing: z.ZodOptional<z.ZodObject<{
2016
+ algorithm: z.ZodLiteral<"CROP_PAD_V1">;
2017
+ crop: z.ZodObject<{
2018
+ x: z.ZodInt;
2019
+ y: z.ZodInt;
2020
+ width: z.ZodInt;
2021
+ height: z.ZodInt;
2022
+ }, z.core.$strict>;
2023
+ anchorXPermille: z.ZodInt;
2024
+ anchorYPermille: z.ZodInt;
2025
+ }, z.core.$strict>>;
2026
+ }, z.core.$strict>>;
2027
+ duration: z.ZodObject<{
2028
+ totalMs: z.ZodInt;
2029
+ targetMs: z.ZodInt;
2030
+ minMs: z.ZodLiteral<30000>;
2031
+ maxMs: z.ZodLiteral<60000>;
2032
+ deltaTargetMs: z.ZodInt;
2033
+ classification: z.ZodEnum<{
2034
+ TOO_SHORT: "TOO_SHORT";
2035
+ WITHIN_TARGET: "WITHIN_TARGET";
2036
+ TOO_LONG: "TOO_LONG";
2037
+ }>;
2038
+ }, z.core.$strict>;
2039
+ missingPlannedShotIds: z.ZodArray<z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">>;
2040
+ executionClass: z.ZodEnum<{
2041
+ LIVE: "LIVE";
2042
+ TEST_ONLY: "TEST_ONLY";
2043
+ }>;
2044
+ }, z.core.$strict>, z.ZodObject<{
2045
+ caption: z.ZodOptional<z.ZodObject<{
2046
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
2047
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
2048
+ transcriptProvenance: z.ZodOptional<z.ZodObject<{
2049
+ schemaVersion: z.ZodLiteral<1>;
2050
+ advisory: z.ZodLiteral<true>;
2051
+ timing: z.ZodLiteral<"PROVIDER_REPORTED">;
2052
+ timelineVersionId: z.ZodUUID;
2053
+ timingFingerprint: z.ZodString;
2054
+ sources: z.ZodArray<z.ZodObject<{
2055
+ observationId: z.ZodUUID;
2056
+ artifactId: z.ZodUUID;
2057
+ representationId: z.ZodUUID;
2058
+ checksumSha256: z.ZodString;
2059
+ placement: z.ZodDiscriminatedUnion<[z.ZodObject<{
2060
+ kind: z.ZodLiteral<"AUDIO_TRACK">;
2061
+ purpose: z.ZodEnum<{
2062
+ VOICEOVER: "VOICEOVER";
2063
+ MUSIC: "MUSIC";
2064
+ }>;
2065
+ }, z.core.$strict>, z.ZodObject<{
2066
+ kind: z.ZodLiteral<"SPEECH_CUE">;
2067
+ cueId: z.ZodString;
2068
+ }, z.core.$strict>, z.ZodObject<{
2069
+ kind: z.ZodLiteral<"TIMELINE_OUTPUT">;
2070
+ }, z.core.$strict>], "kind">;
2071
+ granularity: z.ZodEnum<{
2072
+ word: "word";
2073
+ segment: "segment";
2074
+ }>;
2075
+ sourceInMs: z.ZodInt;
2076
+ sourceOutMs: z.ZodInt;
2077
+ startMs: z.ZodInt;
2078
+ spanIndices: z.ZodArray<z.ZodInt>;
2079
+ excludedSpans: z.ZodInt;
2080
+ }, z.core.$strict>>;
2081
+ }, z.core.$strict>>;
2082
+ id: z.ZodUUID;
2083
+ captionId: z.ZodUUID;
2084
+ projectId: z.ZodUUID;
2085
+ version: z.ZodInt;
2086
+ artifactId: z.ZodUUID;
2087
+ content: z.ZodObject<{
2088
+ language: z.ZodString;
2089
+ durationMs: z.ZodInt;
2090
+ cues: z.ZodArray<z.ZodObject<{
2091
+ startMs: z.ZodInt;
2092
+ endMs: z.ZodInt;
2093
+ text: z.ZodString;
2094
+ }, z.core.$strict>>;
2095
+ }, z.core.$strict>;
2096
+ fingerprint: z.ZodString;
2097
+ original: z.ZodObject<{
2098
+ id: z.ZodUUID;
2099
+ checksumSha256: z.ZodString;
2100
+ byteSize: z.ZodInt;
2101
+ }, z.core.$strict>;
2102
+ subtitle: z.ZodObject<{
2103
+ id: z.ZodUUID;
2104
+ checksumSha256: z.ZodString;
2105
+ byteSize: z.ZodInt;
2106
+ }, z.core.$strict>;
2107
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
2108
+ createdByPrincipalId: z.ZodUUID;
2109
+ createdAt: z.ZodISODateTime;
2110
+ }, z.core.$strict>>;
2111
+ captionStyle: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2112
+ id: z.ZodLiteral<"PLAIN_TEXT_NOTO_SANS_SC_V1">;
2113
+ fontSha256: z.ZodLiteral<"a3041811a78c361b1de50f953c805e0244951c21c5bd412f7232ef0d899af0da">;
2114
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
2115
+ }, z.core.$strict>, z.ZodObject<{
2116
+ id: z.ZodLiteral<"PLAIN_TEXT_NATIVE_SC_REGULAR_V2">;
2117
+ fontSha256: z.ZodLiteral<"e5a51f41fc1b827da651afee3975e07a182ff4f8e04d9dfc0a3cecd6177a52b6">;
2118
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
2119
+ }, z.core.$strict>], "id">>;
2120
+ audio: z.ZodOptional<z.ZodObject<{
2121
+ mix: z.ZodObject<{
2122
+ id: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
2123
+ sampleRateHz: z.ZodLiteral<48000>;
2124
+ audioChannels: z.ZodLiteral<2>;
2125
+ audioCodec: z.ZodLiteral<"aac">;
2126
+ bitrate: z.ZodLiteral<192000>;
2127
+ peakPermille: z.ZodLiteral<950>;
2128
+ duckingMusicPermille: z.ZodInt;
2129
+ }, z.core.$strict>;
2130
+ tracks: z.ZodArray<z.ZodObject<{
2131
+ sourceInMs: z.ZodInt;
2132
+ sourceOutMs: z.ZodInt;
2133
+ startMs: z.ZodInt;
2134
+ gainPermille: z.ZodInt;
2135
+ source: z.ZodObject<{
2136
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
2137
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
2138
+ purpose: z.ZodEnum<{
2139
+ VOICEOVER: "VOICEOVER";
2140
+ MUSIC: "MUSIC";
2141
+ }>;
2142
+ id: z.ZodUUID;
2143
+ audioId: z.ZodUUID;
2144
+ projectId: z.ZodUUID;
2145
+ version: z.ZodInt;
2146
+ artifactId: z.ZodUUID;
2147
+ original: z.ZodObject<{
2148
+ id: z.ZodUUID;
2149
+ checksumSha256: z.ZodString;
2150
+ byteSize: z.ZodInt;
2151
+ }, z.core.$strict>;
2152
+ media: z.ZodObject<{
2153
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
2154
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
2155
+ sampleRateHz: z.ZodLiteral<48000>;
2156
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
2157
+ sampleCount: z.ZodInt;
2158
+ durationMs: z.ZodInt;
2159
+ }, z.core.$strict>;
2160
+ originalName: z.ZodNullable<z.ZodString>;
2161
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
2162
+ createdByPrincipalId: z.ZodUUID;
2163
+ createdAt: z.ZodISODateTime;
2164
+ generation: z.ZodOptional<z.ZodObject<{
2165
+ generationId: z.ZodUUID;
2166
+ executionClass: z.ZodEnum<{
2167
+ LIVE: "LIVE";
2168
+ TEST_ONLY: "TEST_ONLY";
2169
+ }>;
2170
+ executionTarget: z.ZodOptional<z.ZodLiteral<"TENANT_DEVICE">>;
2171
+ sourceArtifactId: z.ZodUUID;
2172
+ sourceRepresentationId: z.ZodUUID;
2173
+ sourceChecksumSha256: z.ZodString;
2174
+ sourceByteSize: z.ZodInt;
2175
+ sourceMedia: z.ZodObject<{
2176
+ sampleRateHz: z.ZodInt;
2177
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
2178
+ sampleCount: z.ZodInt;
2179
+ }, z.core.$strict>;
2180
+ normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
2181
+ padSamples: z.ZodInt;
2182
+ }, z.core.$strict>>;
2183
+ }, z.core.$strict>;
2184
+ }, z.core.$strict>>;
2185
+ }, z.core.$strict>>;
2186
+ graphics: z.ZodOptional<z.ZodArray<z.ZodObject<{
2187
+ source: z.ZodObject<{
2188
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
2189
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
2190
+ productionId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
2191
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
2192
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
2193
+ checksumSha256: z.ZodString;
2194
+ contentType: z.ZodEnum<{
2195
+ "image/png": "image/png";
2196
+ "image/webp": "image/webp";
2197
+ }>;
2198
+ byteSize: z.ZodInt;
2199
+ width: z.ZodInt;
2200
+ height: z.ZodInt;
2201
+ }, z.core.$strict>;
2202
+ placement: z.ZodObject<{
2203
+ startFrame: z.ZodInt;
2204
+ endFrame: z.ZodInt;
2205
+ anchor: z.ZodEnum<{
2206
+ TOP_LEFT: "TOP_LEFT";
2207
+ TOP_RIGHT: "TOP_RIGHT";
2208
+ BOTTOM_LEFT: "BOTTOM_LEFT";
2209
+ BOTTOM_RIGHT: "BOTTOM_RIGHT";
2210
+ }>;
2211
+ widthPermille: z.ZodInt;
2212
+ marginXPermille: z.ZodInt;
2213
+ marginYPermille: z.ZodInt;
2214
+ opacityPermille: z.ZodInt;
2215
+ }, z.core.$strict>;
2216
+ }, z.core.$strict>>>;
2217
+ basis: z.ZodObject<{
2218
+ briefVersionId: z.core.$ZodBranded<z.ZodUUID, "BriefVersionId", "out">;
2219
+ briefVersion: z.ZodInt;
2220
+ storyVersion: z.ZodInt;
2221
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
2222
+ planVersion: z.ZodInt;
2223
+ }, z.core.$strict>;
2224
+ output: z.ZodObject<{
2225
+ aspectRatio: z.ZodEnum<{
2226
+ "16:9": "16:9";
2227
+ "9:16": "9:16";
2228
+ }>;
2229
+ profile: z.ZodEnum<{
2230
+ MP4_H264_1080P: "MP4_H264_1080P";
2231
+ MP4_H264_720P: "MP4_H264_720P";
2232
+ MP4_H264_480P: "MP4_H264_480P";
2233
+ }>;
2234
+ }, z.core.$strict>;
2235
+ duration: z.ZodObject<{
2236
+ totalMs: z.ZodInt;
2237
+ targetMs: z.ZodInt;
2238
+ minMs: z.ZodLiteral<30000>;
2239
+ maxMs: z.ZodLiteral<60000>;
2240
+ deltaTargetMs: z.ZodInt;
2241
+ classification: z.ZodEnum<{
2242
+ TOO_SHORT: "TOO_SHORT";
2243
+ WITHIN_TARGET: "WITHIN_TARGET";
2244
+ TOO_LONG: "TOO_LONG";
2245
+ }>;
2246
+ }, z.core.$strict>;
2247
+ missingPlannedShotIds: z.ZodArray<z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">>;
2248
+ executionClass: z.ZodEnum<{
2249
+ LIVE: "LIVE";
2250
+ TEST_ONLY: "TEST_ONLY";
2251
+ }>;
2252
+ schemaVersion: z.ZodLiteral<2>;
2253
+ clips: z.ZodArray<z.ZodObject<{
2254
+ ordinal: z.ZodInt;
2255
+ technical: z.ZodObject<{
2256
+ contentType: z.ZodLiteral<"video/mp4">;
2257
+ checksumSha256: z.ZodString;
2258
+ byteSize: z.ZodInt;
2259
+ width: z.ZodInt;
2260
+ height: z.ZodInt;
2261
+ durationMs: z.ZodInt;
2262
+ frameRate: z.ZodNumber;
2263
+ videoCodec: z.ZodEnum<{
2264
+ h264: "h264";
2265
+ hevc: "hevc";
2266
+ }>;
2267
+ pixelFormat: z.ZodOptional<z.ZodLiteral<"yuv420p10le">>;
2268
+ hasAudio: z.ZodBoolean;
2269
+ nativeAudio: z.ZodOptional<z.ZodObject<{
2270
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
2271
+ sourceCodec: z.ZodLiteral<"aac">;
2272
+ sourceSampleRateHz: z.ZodInt;
2273
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
2274
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
2275
+ sourceFrameCount: z.ZodInt;
2276
+ sourceStartOffsetMs: z.ZodNumber;
2277
+ sourceDeclaredDurationMs: z.ZodNumber;
2278
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
2279
+ media: z.ZodObject<{
2280
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
2281
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
2282
+ sampleRateHz: z.ZodLiteral<48000>;
2283
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
2284
+ sampleCount: z.ZodInt;
2285
+ durationMs: z.ZodNumber;
2286
+ }, z.core.$strict>;
2287
+ checksumSha256: z.ZodString;
2288
+ }, z.core.$strict>>;
2289
+ }, z.core.$strict>;
2290
+ sourceInMs: z.ZodInt;
2291
+ sourceOutMs: z.ZodInt;
2292
+ startMs: z.ZodInt;
2293
+ durationMs: z.ZodInt;
2294
+ transition: z.ZodUnion<readonly [z.ZodLiteral<"CUT">, z.ZodObject<{
2295
+ kind: z.ZodLiteral<"CROSS_DISSOLVE_V1">;
2296
+ durationFrames: z.ZodInt;
2297
+ }, z.core.$strict>]>;
2298
+ framing: z.ZodOptional<z.ZodObject<{
2299
+ algorithm: z.ZodLiteral<"CROP_PAD_V1">;
2300
+ crop: z.ZodObject<{
2301
+ x: z.ZodInt;
2302
+ y: z.ZodInt;
2303
+ width: z.ZodInt;
2304
+ height: z.ZodInt;
2305
+ }, z.core.$strict>;
2306
+ anchorXPermille: z.ZodInt;
2307
+ anchorYPermille: z.ZodInt;
2308
+ }, z.core.$strict>>;
2309
+ source: z.ZodUnion<readonly [z.ZodObject<{
2310
+ acceptanceId: z.ZodUUID;
2311
+ reviewId: z.ZodUUID;
2312
+ generationId: z.ZodUUID;
2313
+ candidateId: z.ZodUUID;
2314
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
2315
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
2316
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
2317
+ checksumSha256: z.ZodString;
2318
+ artifactChecksumSha256: z.ZodString;
2319
+ preparationId: z.ZodUUID;
2320
+ contractId: z.ZodUUID;
2321
+ contractFingerprint: z.ZodString;
2322
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
2323
+ planVersion: z.ZodInt;
2324
+ shotPlanningRevision: z.ZodInt;
2325
+ executionClass: z.ZodEnum<{
2326
+ LIVE: "LIVE";
2327
+ TEST_ONLY: "TEST_ONLY";
2328
+ }>;
2329
+ reviewResult: z.ZodEnum<{
2330
+ PASS: "PASS";
2331
+ WARNING: "WARNING";
2332
+ }>;
2333
+ }, z.core.$strict>, z.ZodObject<{
2334
+ sourceKind: z.ZodLiteral<"PROGRAMMATIC">;
2335
+ acceptanceId: z.ZodUUID;
2336
+ reviewId: z.ZodUUID;
2337
+ renderId: z.ZodUUID;
2338
+ compositionId: z.ZodUUID;
2339
+ compositionVersionId: z.ZodUUID;
2340
+ compositionVersion: z.ZodInt;
2341
+ compositionFingerprint: z.ZodString;
2342
+ renderManifestFingerprint: z.ZodString;
2343
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
2344
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
2345
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
2346
+ checksumSha256: z.ZodString;
2347
+ artifactChecksumSha256: z.ZodString;
2348
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
2349
+ planVersion: z.ZodInt;
2350
+ shotPlanningRevision: z.ZodInt;
2351
+ executionClass: z.ZodEnum<{
2352
+ LIVE: "LIVE";
2353
+ TEST_ONLY: "TEST_ONLY";
2354
+ }>;
2355
+ reviewResult: z.ZodEnum<{
2356
+ PASS: "PASS";
2357
+ WARNING: "WARNING";
2358
+ }>;
2359
+ }, z.core.$strict>, z.ZodObject<{
2360
+ sourceKind: z.ZodLiteral<"IMPORTED">;
2361
+ acceptanceId: z.ZodUUID;
2362
+ reviewId: z.ZodUUID;
2363
+ normalizationId: z.ZodUUID;
2364
+ sourceId: z.ZodUUID;
2365
+ sourceVersionId: z.ZodUUID;
2366
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
2367
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
2368
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
2369
+ checksumSha256: z.ZodString;
2370
+ executionClass: z.ZodEnum<{
2371
+ LIVE: "LIVE";
2372
+ TEST_ONLY: "TEST_ONLY";
2373
+ }>;
2374
+ reviewResult: z.ZodEnum<{
2375
+ PASS: "PASS";
2376
+ WARNING: "WARNING";
2377
+ }>;
2378
+ }, z.core.$strict>]>;
2379
+ }, z.core.$strict>>;
2380
+ sourceSound: z.ZodOptional<z.ZodObject<{
2381
+ schemaVersion: z.ZodLiteral<1>;
2382
+ soundPlanVersionId: z.ZodUUID;
2383
+ soundPlanFingerprint: z.ZodString;
2384
+ plannedCues: z.ZodArray<z.ZodObject<{
2385
+ id: z.ZodString;
2386
+ role: z.ZodEnum<{
2387
+ MUSIC: "MUSIC";
2388
+ NARRATION: "NARRATION";
2389
+ DIALOGUE: "DIALOGUE";
2390
+ AMBIENCE: "AMBIENCE";
2391
+ SOUND_EFFECT: "SOUND_EFFECT";
2392
+ }>;
2393
+ source: z.ZodEnum<{
2394
+ TTS: "TTS";
2395
+ NATIVE_VIDEO: "NATIVE_VIDEO";
2396
+ IMPORTED_AUDIO: "IMPORTED_AUDIO";
2397
+ EXISTING_AUDIO: "EXISTING_AUDIO";
2398
+ }>;
2399
+ shotIds: z.ZodArray<z.ZodUUID>;
2400
+ startMs: z.ZodInt;
2401
+ endMs: z.ZodInt;
2402
+ text: z.ZodOptional<z.ZodString>;
2403
+ voice: z.ZodOptional<z.ZodString>;
2404
+ model: z.ZodOptional<z.ZodObject<{
2405
+ modelProfileId: z.ZodString;
2406
+ modelProfileVersion: z.ZodInt;
2407
+ connectionId: z.ZodUUID;
2408
+ }, z.core.$strict>>;
2409
+ 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>]>>>;
2410
+ audio: z.ZodOptional<z.ZodObject<{
2411
+ purpose: z.ZodEnum<{
2412
+ VOICEOVER: "VOICEOVER";
2413
+ MUSIC: "MUSIC";
2414
+ }>;
2415
+ versionId: z.ZodUUID;
2416
+ }, z.core.$strict>>;
2417
+ lipSync: z.ZodEnum<{
2418
+ NONE: "NONE";
2419
+ REQUIRED: "REQUIRED";
2420
+ }>;
2421
+ exactSpeech: z.ZodBoolean;
2422
+ }, z.core.$strict>>;
2423
+ mix: z.ZodObject<{
2424
+ id: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
2425
+ sampleRateHz: z.ZodLiteral<48000>;
2426
+ audioChannels: z.ZodLiteral<2>;
2427
+ audioCodec: z.ZodLiteral<"aac">;
2428
+ bitrate: z.ZodLiteral<192000>;
2429
+ peakPermille: z.ZodLiteral<950>;
2430
+ duckingMusicPermille: z.ZodInt;
2431
+ }, z.core.$strict>;
2432
+ clips: z.ZodArray<z.ZodObject<{
2433
+ ordinal: z.ZodInt;
2434
+ treatment: z.ZodObject<{
2435
+ policy: z.ZodEnum<{
2436
+ KEEP: "KEEP";
2437
+ MUTE: "MUTE";
2438
+ DUCK: "DUCK";
2439
+ }>;
2440
+ gainPermille: z.ZodInt;
2441
+ duckingPermille: z.ZodInt;
2442
+ }, z.core.$strict>;
2443
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2444
+ kind: z.ZodLiteral<"NATIVE_GENERATED">;
2445
+ version: z.ZodObject<{
2446
+ id: z.ZodUUID;
2447
+ tenantId: z.ZodUUID;
2448
+ projectId: z.ZodUUID;
2449
+ productionId: z.ZodUUID;
2450
+ shotId: z.ZodUUID;
2451
+ generationId: z.ZodUUID;
2452
+ videoArtifactId: z.ZodUUID;
2453
+ videoRepresentationId: z.ZodUUID;
2454
+ videoChecksumSha256: z.ZodString;
2455
+ artifactId: z.ZodUUID;
2456
+ representationId: z.ZodUUID;
2457
+ checksumSha256: z.ZodString;
2458
+ byteSize: z.ZodInt;
2459
+ metadata: z.ZodObject<{
2460
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
2461
+ sourceCodec: z.ZodLiteral<"aac">;
2462
+ sourceSampleRateHz: z.ZodInt;
2463
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
2464
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
2465
+ sourceFrameCount: z.ZodInt;
2466
+ sourceStartOffsetMs: z.ZodNumber;
2467
+ sourceDeclaredDurationMs: z.ZodNumber;
2468
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
2469
+ media: z.ZodObject<{
2470
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
2471
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
2472
+ sampleRateHz: z.ZodLiteral<48000>;
2473
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
2474
+ sampleCount: z.ZodInt;
2475
+ durationMs: z.ZodNumber;
2476
+ }, z.core.$strict>;
2477
+ checksumSha256: z.ZodString;
2478
+ }, z.core.$strict>;
2479
+ executionClass: z.ZodEnum<{
2480
+ LIVE: "LIVE";
2481
+ TEST_ONLY: "TEST_ONLY";
2482
+ }>;
2483
+ }, z.core.$strict>;
2484
+ }, z.core.$strict>, z.ZodObject<{
2485
+ kind: z.ZodLiteral<"IMPORTED_SYNC">;
2486
+ version: z.ZodObject<{
2487
+ schemaVersion: z.ZodLiteral<1>;
2488
+ purpose: z.ZodLiteral<"SOURCE_SYNC">;
2489
+ id: z.ZodUUID;
2490
+ audioId: z.ZodUUID;
2491
+ version: z.ZodInt;
2492
+ tenantId: z.ZodUUID;
2493
+ projectId: z.ZodUUID;
2494
+ productionId: z.ZodUUID;
2495
+ shotId: z.ZodUUID;
2496
+ normalizationId: z.ZodUUID;
2497
+ artifactId: z.ZodUUID;
2498
+ representationId: z.ZodUUID;
2499
+ provenance: z.ZodObject<{
2500
+ schemaVersion: z.ZodLiteral<1>;
2501
+ purpose: z.ZodLiteral<"SOURCE_SYNC">;
2502
+ tenantId: z.ZodUUID;
2503
+ projectId: z.ZodUUID;
2504
+ productionId: z.ZodUUID;
2505
+ shotId: z.ZodUUID;
2506
+ sourceId: z.ZodUUID;
2507
+ sourceVersionId: z.ZodUUID;
2508
+ normalizationId: z.ZodUUID;
2509
+ originalArtifactId: z.ZodUUID;
2510
+ originalRepresentationId: z.ZodUUID;
2511
+ originalChecksumSha256: z.ZodString;
2512
+ sourceRange: z.ZodObject<{
2513
+ clock: z.ZodLiteral<"SOURCE_ZERO_BASED_CFR30">;
2514
+ startFrame: z.ZodInt;
2515
+ endFrame: z.ZodInt;
2516
+ }, z.core.$strict>;
2517
+ destinationStartSample: z.ZodInt;
2518
+ media: z.ZodUnion<readonly [z.ZodObject<{
2519
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
2520
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
2521
+ sampleRateHz: z.ZodLiteral<48000>;
2522
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
2523
+ sampleCount: z.ZodInt;
2524
+ durationMs: z.ZodInt;
2525
+ }, z.core.$strict>, z.ZodObject<{
2526
+ profile: z.ZodLiteral<"PCM_S16LE_48000_SOURCE_SYNC_V1">;
2527
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
2528
+ sampleRateHz: z.ZodLiteral<48000>;
2529
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
2530
+ sampleCount: z.ZodInt;
2531
+ durationMs: z.ZodNumber;
2532
+ }, z.core.$strict>]>;
2533
+ wavChecksumSha256: z.ZodString;
2534
+ wavByteSize: z.ZodInt;
2535
+ }, z.core.$strict>;
2536
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
2537
+ executionClass: z.ZodEnum<{
2538
+ LIVE: "LIVE";
2539
+ TEST_ONLY: "TEST_ONLY";
2540
+ }>;
2541
+ createdByPrincipalId: z.ZodUUID;
2542
+ createdAt: z.ZodISODateTime;
2543
+ }, z.core.$strict>;
2544
+ }, z.core.$strict>], "kind">>;
2545
+ sourceInSample: z.ZodInt;
2546
+ sourceOutSample: z.ZodInt;
2547
+ startSample: z.ZodInt;
2548
+ outputSampleCount: z.ZodInt;
2549
+ }, z.core.$strict>>;
2550
+ speechCues: z.ZodArray<z.ZodObject<{
2551
+ cueId: z.ZodString;
2552
+ source: z.ZodObject<{
2553
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
2554
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
2555
+ purpose: z.ZodEnum<{
2556
+ VOICEOVER: "VOICEOVER";
2557
+ MUSIC: "MUSIC";
2558
+ }>;
2559
+ id: z.ZodUUID;
2560
+ audioId: z.ZodUUID;
2561
+ projectId: z.ZodUUID;
2562
+ version: z.ZodInt;
2563
+ artifactId: z.ZodUUID;
2564
+ original: z.ZodObject<{
2565
+ id: z.ZodUUID;
2566
+ checksumSha256: z.ZodString;
2567
+ byteSize: z.ZodInt;
2568
+ }, z.core.$strict>;
2569
+ media: z.ZodObject<{
2570
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
2571
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
2572
+ sampleRateHz: z.ZodLiteral<48000>;
2573
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
2574
+ sampleCount: z.ZodInt;
2575
+ durationMs: z.ZodInt;
2576
+ }, z.core.$strict>;
2577
+ originalName: z.ZodNullable<z.ZodString>;
2578
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
2579
+ createdByPrincipalId: z.ZodUUID;
2580
+ createdAt: z.ZodISODateTime;
2581
+ generation: z.ZodOptional<z.ZodObject<{
2582
+ generationId: z.ZodUUID;
2583
+ executionClass: z.ZodEnum<{
2584
+ LIVE: "LIVE";
2585
+ TEST_ONLY: "TEST_ONLY";
2586
+ }>;
2587
+ executionTarget: z.ZodOptional<z.ZodLiteral<"TENANT_DEVICE">>;
2588
+ sourceArtifactId: z.ZodUUID;
2589
+ sourceRepresentationId: z.ZodUUID;
2590
+ sourceChecksumSha256: z.ZodString;
2591
+ sourceByteSize: z.ZodInt;
2592
+ sourceMedia: z.ZodObject<{
2593
+ sampleRateHz: z.ZodInt;
2594
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
2595
+ sampleCount: z.ZodInt;
2596
+ }, z.core.$strict>;
2597
+ normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
2598
+ padSamples: z.ZodInt;
2599
+ }, z.core.$strict>>;
2600
+ }, z.core.$strict>;
2601
+ sourceInMs: z.ZodLiteral<0>;
2602
+ sourceOutMs: z.ZodInt;
2603
+ startMs: z.ZodInt;
2604
+ gainPermille: z.ZodLiteral<1000>;
2605
+ }, z.core.$strict>>;
2606
+ }, z.core.$strict>>;
2607
+ }, z.core.$strict>, z.ZodObject<{
2608
+ caption: z.ZodOptional<z.ZodObject<{
2609
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
2610
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
2611
+ transcriptProvenance: z.ZodOptional<z.ZodObject<{
2612
+ schemaVersion: z.ZodLiteral<1>;
2613
+ advisory: z.ZodLiteral<true>;
2614
+ timing: z.ZodLiteral<"PROVIDER_REPORTED">;
2615
+ timelineVersionId: z.ZodUUID;
2616
+ timingFingerprint: z.ZodString;
2617
+ sources: z.ZodArray<z.ZodObject<{
2618
+ observationId: z.ZodUUID;
2619
+ artifactId: z.ZodUUID;
2620
+ representationId: z.ZodUUID;
2621
+ checksumSha256: z.ZodString;
2622
+ placement: z.ZodDiscriminatedUnion<[z.ZodObject<{
2623
+ kind: z.ZodLiteral<"AUDIO_TRACK">;
2624
+ purpose: z.ZodEnum<{
2625
+ VOICEOVER: "VOICEOVER";
2626
+ MUSIC: "MUSIC";
2627
+ }>;
2628
+ }, z.core.$strict>, z.ZodObject<{
2629
+ kind: z.ZodLiteral<"SPEECH_CUE">;
2630
+ cueId: z.ZodString;
2631
+ }, z.core.$strict>, z.ZodObject<{
2632
+ kind: z.ZodLiteral<"TIMELINE_OUTPUT">;
2633
+ }, z.core.$strict>], "kind">;
2634
+ granularity: z.ZodEnum<{
2635
+ word: "word";
2636
+ segment: "segment";
2637
+ }>;
2638
+ sourceInMs: z.ZodInt;
2639
+ sourceOutMs: z.ZodInt;
2640
+ startMs: z.ZodInt;
2641
+ spanIndices: z.ZodArray<z.ZodInt>;
2642
+ excludedSpans: z.ZodInt;
2643
+ }, z.core.$strict>>;
2644
+ }, z.core.$strict>>;
2645
+ id: z.ZodUUID;
2646
+ captionId: z.ZodUUID;
2647
+ projectId: z.ZodUUID;
2648
+ version: z.ZodInt;
2649
+ artifactId: z.ZodUUID;
2650
+ content: z.ZodObject<{
2651
+ language: z.ZodString;
2652
+ durationMs: z.ZodInt;
2653
+ cues: z.ZodArray<z.ZodObject<{
2654
+ startMs: z.ZodInt;
2655
+ endMs: z.ZodInt;
2656
+ text: z.ZodString;
2657
+ }, z.core.$strict>>;
2658
+ }, z.core.$strict>;
2659
+ fingerprint: z.ZodString;
2660
+ original: z.ZodObject<{
2661
+ id: z.ZodUUID;
2662
+ checksumSha256: z.ZodString;
2663
+ byteSize: z.ZodInt;
2664
+ }, z.core.$strict>;
2665
+ subtitle: z.ZodObject<{
2666
+ id: z.ZodUUID;
2667
+ checksumSha256: z.ZodString;
2668
+ byteSize: z.ZodInt;
2669
+ }, z.core.$strict>;
2670
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
2671
+ createdByPrincipalId: z.ZodUUID;
2672
+ createdAt: z.ZodISODateTime;
2673
+ }, z.core.$strict>>;
2674
+ captionStyle: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2675
+ id: z.ZodLiteral<"PLAIN_TEXT_NOTO_SANS_SC_V1">;
2676
+ fontSha256: z.ZodLiteral<"a3041811a78c361b1de50f953c805e0244951c21c5bd412f7232ef0d899af0da">;
2677
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
2678
+ }, z.core.$strict>, z.ZodObject<{
2679
+ id: z.ZodLiteral<"PLAIN_TEXT_NATIVE_SC_REGULAR_V2">;
2680
+ fontSha256: z.ZodLiteral<"e5a51f41fc1b827da651afee3975e07a182ff4f8e04d9dfc0a3cecd6177a52b6">;
2681
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
2682
+ }, z.core.$strict>], "id">>;
2683
+ audio: z.ZodOptional<z.ZodObject<{
2684
+ mix: z.ZodObject<{
2685
+ id: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
2686
+ sampleRateHz: z.ZodLiteral<48000>;
2687
+ audioChannels: z.ZodLiteral<2>;
2688
+ audioCodec: z.ZodLiteral<"aac">;
2689
+ bitrate: z.ZodLiteral<192000>;
2690
+ peakPermille: z.ZodLiteral<950>;
2691
+ duckingMusicPermille: z.ZodInt;
2692
+ }, z.core.$strict>;
2693
+ tracks: z.ZodArray<z.ZodObject<{
2694
+ sourceInMs: z.ZodInt;
2695
+ sourceOutMs: z.ZodInt;
2696
+ startMs: z.ZodInt;
2697
+ gainPermille: z.ZodInt;
2698
+ source: z.ZodObject<{
2699
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
2700
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
2701
+ purpose: z.ZodEnum<{
2702
+ VOICEOVER: "VOICEOVER";
2703
+ MUSIC: "MUSIC";
2704
+ }>;
2705
+ id: z.ZodUUID;
2706
+ audioId: z.ZodUUID;
2707
+ projectId: z.ZodUUID;
2708
+ version: z.ZodInt;
2709
+ artifactId: z.ZodUUID;
2710
+ original: z.ZodObject<{
2711
+ id: z.ZodUUID;
2712
+ checksumSha256: z.ZodString;
2713
+ byteSize: z.ZodInt;
2714
+ }, z.core.$strict>;
2715
+ media: z.ZodObject<{
2716
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
2717
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
2718
+ sampleRateHz: z.ZodLiteral<48000>;
2719
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
2720
+ sampleCount: z.ZodInt;
2721
+ durationMs: z.ZodInt;
2722
+ }, z.core.$strict>;
2723
+ originalName: z.ZodNullable<z.ZodString>;
2724
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
2725
+ createdByPrincipalId: z.ZodUUID;
2726
+ createdAt: z.ZodISODateTime;
2727
+ generation: z.ZodOptional<z.ZodObject<{
2728
+ generationId: z.ZodUUID;
2729
+ executionClass: z.ZodEnum<{
2730
+ LIVE: "LIVE";
2731
+ TEST_ONLY: "TEST_ONLY";
2732
+ }>;
2733
+ executionTarget: z.ZodOptional<z.ZodLiteral<"TENANT_DEVICE">>;
2734
+ sourceArtifactId: z.ZodUUID;
2735
+ sourceRepresentationId: z.ZodUUID;
2736
+ sourceChecksumSha256: z.ZodString;
2737
+ sourceByteSize: z.ZodInt;
2738
+ sourceMedia: z.ZodObject<{
2739
+ sampleRateHz: z.ZodInt;
2740
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
2741
+ sampleCount: z.ZodInt;
2742
+ }, z.core.$strict>;
2743
+ normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
2744
+ padSamples: z.ZodInt;
2745
+ }, z.core.$strict>>;
2746
+ }, z.core.$strict>;
2747
+ }, z.core.$strict>>;
2748
+ }, z.core.$strict>>;
2749
+ graphics: z.ZodOptional<z.ZodArray<z.ZodObject<{
2750
+ source: z.ZodObject<{
2751
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
2752
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
2753
+ productionId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
2754
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
2755
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
2756
+ checksumSha256: z.ZodString;
2757
+ contentType: z.ZodEnum<{
2758
+ "image/png": "image/png";
2759
+ "image/webp": "image/webp";
2760
+ }>;
2761
+ byteSize: z.ZodInt;
2762
+ width: z.ZodInt;
2763
+ height: z.ZodInt;
2764
+ }, z.core.$strict>;
2765
+ placement: z.ZodObject<{
2766
+ startFrame: z.ZodInt;
2767
+ endFrame: z.ZodInt;
2768
+ anchor: z.ZodEnum<{
2769
+ TOP_LEFT: "TOP_LEFT";
2770
+ TOP_RIGHT: "TOP_RIGHT";
2771
+ BOTTOM_LEFT: "BOTTOM_LEFT";
2772
+ BOTTOM_RIGHT: "BOTTOM_RIGHT";
2773
+ }>;
2774
+ widthPermille: z.ZodInt;
2775
+ marginXPermille: z.ZodInt;
2776
+ marginYPermille: z.ZodInt;
2777
+ opacityPermille: z.ZodInt;
2778
+ }, z.core.$strict>;
2779
+ }, z.core.$strict>>>;
2780
+ basis: z.ZodObject<{
2781
+ briefVersionId: z.core.$ZodBranded<z.ZodUUID, "BriefVersionId", "out">;
2782
+ briefVersion: z.ZodInt;
2783
+ storyVersion: z.ZodInt;
2784
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
2785
+ planVersion: z.ZodInt;
2786
+ }, z.core.$strict>;
2787
+ output: z.ZodObject<{
2788
+ aspectRatio: z.ZodEnum<{
2789
+ "16:9": "16:9";
2790
+ "9:16": "9:16";
2791
+ }>;
2792
+ profile: z.ZodEnum<{
2793
+ MP4_H264_1080P: "MP4_H264_1080P";
2794
+ MP4_H264_720P: "MP4_H264_720P";
2795
+ MP4_H264_480P: "MP4_H264_480P";
2796
+ }>;
2797
+ }, z.core.$strict>;
2798
+ duration: z.ZodObject<{
2799
+ totalMs: z.ZodInt;
2800
+ targetMs: z.ZodInt;
2801
+ minMs: z.ZodLiteral<30000>;
2802
+ maxMs: z.ZodLiteral<60000>;
2803
+ deltaTargetMs: z.ZodInt;
2804
+ classification: z.ZodEnum<{
2805
+ TOO_SHORT: "TOO_SHORT";
2806
+ WITHIN_TARGET: "WITHIN_TARGET";
2807
+ TOO_LONG: "TOO_LONG";
2808
+ }>;
2809
+ }, z.core.$strict>;
2810
+ missingPlannedShotIds: z.ZodArray<z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">>;
2811
+ executionClass: z.ZodEnum<{
2812
+ LIVE: "LIVE";
2813
+ TEST_ONLY: "TEST_ONLY";
2814
+ }>;
2815
+ clips: z.ZodArray<z.ZodObject<{
2816
+ ordinal: z.ZodInt;
2817
+ technical: z.ZodObject<{
2818
+ contentType: z.ZodLiteral<"video/mp4">;
2819
+ checksumSha256: z.ZodString;
2820
+ byteSize: z.ZodInt;
2821
+ width: z.ZodInt;
2822
+ height: z.ZodInt;
2823
+ durationMs: z.ZodInt;
2824
+ frameRate: z.ZodNumber;
2825
+ videoCodec: z.ZodEnum<{
2826
+ h264: "h264";
2827
+ hevc: "hevc";
2828
+ }>;
2829
+ pixelFormat: z.ZodOptional<z.ZodLiteral<"yuv420p10le">>;
2830
+ hasAudio: z.ZodBoolean;
2831
+ nativeAudio: z.ZodOptional<z.ZodObject<{
2832
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
2833
+ sourceCodec: z.ZodLiteral<"aac">;
2834
+ sourceSampleRateHz: z.ZodInt;
2835
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
2836
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
2837
+ sourceFrameCount: z.ZodInt;
2838
+ sourceStartOffsetMs: z.ZodNumber;
2839
+ sourceDeclaredDurationMs: z.ZodNumber;
2840
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
2841
+ media: z.ZodObject<{
2842
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
2843
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
2844
+ sampleRateHz: z.ZodLiteral<48000>;
2845
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
2846
+ sampleCount: z.ZodInt;
2847
+ durationMs: z.ZodNumber;
2848
+ }, z.core.$strict>;
2849
+ checksumSha256: z.ZodString;
2850
+ }, z.core.$strict>>;
2851
+ }, z.core.$strict>;
2852
+ sourceInMs: z.ZodInt;
2853
+ sourceOutMs: z.ZodInt;
2854
+ startMs: z.ZodInt;
2855
+ durationMs: z.ZodInt;
2856
+ transition: z.ZodUnion<readonly [z.ZodLiteral<"CUT">, z.ZodObject<{
2857
+ kind: z.ZodLiteral<"CROSS_DISSOLVE_V1">;
2858
+ durationFrames: z.ZodInt;
2859
+ }, z.core.$strict>]>;
2860
+ framing: z.ZodOptional<z.ZodObject<{
2861
+ algorithm: z.ZodLiteral<"CROP_PAD_V1">;
2862
+ crop: z.ZodObject<{
2863
+ x: z.ZodInt;
2864
+ y: z.ZodInt;
2865
+ width: z.ZodInt;
2866
+ height: z.ZodInt;
2867
+ }, z.core.$strict>;
2868
+ anchorXPermille: z.ZodInt;
2869
+ anchorYPermille: z.ZodInt;
2870
+ }, z.core.$strict>>;
2871
+ source: z.ZodUnion<readonly [z.ZodObject<{
2872
+ acceptanceId: z.ZodUUID;
2873
+ reviewId: z.ZodUUID;
2874
+ generationId: z.ZodUUID;
2875
+ candidateId: z.ZodUUID;
2876
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
2877
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
2878
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
2879
+ checksumSha256: z.ZodString;
2880
+ artifactChecksumSha256: z.ZodString;
2881
+ preparationId: z.ZodUUID;
2882
+ contractId: z.ZodUUID;
2883
+ contractFingerprint: z.ZodString;
2884
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
2885
+ planVersion: z.ZodInt;
2886
+ shotPlanningRevision: z.ZodInt;
2887
+ executionClass: z.ZodEnum<{
2888
+ LIVE: "LIVE";
2889
+ TEST_ONLY: "TEST_ONLY";
2890
+ }>;
2891
+ reviewResult: z.ZodEnum<{
2892
+ PASS: "PASS";
2893
+ WARNING: "WARNING";
2894
+ }>;
2895
+ }, z.core.$strict>, z.ZodObject<{
2896
+ sourceKind: z.ZodLiteral<"PROGRAMMATIC">;
2897
+ acceptanceId: z.ZodUUID;
2898
+ reviewId: z.ZodUUID;
2899
+ renderId: z.ZodUUID;
2900
+ compositionId: z.ZodUUID;
2901
+ compositionVersionId: z.ZodUUID;
2902
+ compositionVersion: z.ZodInt;
2903
+ compositionFingerprint: z.ZodString;
2904
+ renderManifestFingerprint: z.ZodString;
2905
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
2906
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
2907
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
2908
+ checksumSha256: z.ZodString;
2909
+ artifactChecksumSha256: z.ZodString;
2910
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
2911
+ planVersion: z.ZodInt;
2912
+ shotPlanningRevision: z.ZodInt;
2913
+ executionClass: z.ZodEnum<{
2914
+ LIVE: "LIVE";
2915
+ TEST_ONLY: "TEST_ONLY";
2916
+ }>;
2917
+ reviewResult: z.ZodEnum<{
2918
+ PASS: "PASS";
2919
+ WARNING: "WARNING";
2920
+ }>;
2921
+ }, z.core.$strict>, z.ZodObject<{
2922
+ sourceKind: z.ZodLiteral<"IMPORTED">;
2923
+ acceptanceId: z.ZodUUID;
2924
+ reviewId: z.ZodUUID;
2925
+ normalizationId: z.ZodUUID;
2926
+ sourceId: z.ZodUUID;
2927
+ sourceVersionId: z.ZodUUID;
2928
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
2929
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
2930
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
2931
+ checksumSha256: z.ZodString;
2932
+ executionClass: z.ZodEnum<{
2933
+ LIVE: "LIVE";
2934
+ TEST_ONLY: "TEST_ONLY";
2935
+ }>;
2936
+ reviewResult: z.ZodEnum<{
2937
+ PASS: "PASS";
2938
+ WARNING: "WARNING";
2939
+ }>;
2940
+ }, z.core.$strict>]>;
2941
+ }, z.core.$strict>>;
2942
+ sourceSound: z.ZodOptional<z.ZodObject<{
2943
+ schemaVersion: z.ZodLiteral<1>;
2944
+ soundPlanVersionId: z.ZodUUID;
2945
+ soundPlanFingerprint: z.ZodString;
2946
+ plannedCues: z.ZodArray<z.ZodObject<{
2947
+ id: z.ZodString;
2948
+ role: z.ZodEnum<{
2949
+ MUSIC: "MUSIC";
2950
+ NARRATION: "NARRATION";
2951
+ DIALOGUE: "DIALOGUE";
2952
+ AMBIENCE: "AMBIENCE";
2953
+ SOUND_EFFECT: "SOUND_EFFECT";
2954
+ }>;
2955
+ source: z.ZodEnum<{
2956
+ TTS: "TTS";
2957
+ NATIVE_VIDEO: "NATIVE_VIDEO";
2958
+ IMPORTED_AUDIO: "IMPORTED_AUDIO";
2959
+ EXISTING_AUDIO: "EXISTING_AUDIO";
2960
+ }>;
2961
+ shotIds: z.ZodArray<z.ZodUUID>;
2962
+ startMs: z.ZodInt;
2963
+ endMs: z.ZodInt;
2964
+ text: z.ZodOptional<z.ZodString>;
2965
+ voice: z.ZodOptional<z.ZodString>;
2966
+ model: z.ZodOptional<z.ZodObject<{
2967
+ modelProfileId: z.ZodString;
2968
+ modelProfileVersion: z.ZodInt;
2969
+ connectionId: z.ZodUUID;
2970
+ }, z.core.$strict>>;
2971
+ 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>]>>>;
2972
+ audio: z.ZodOptional<z.ZodObject<{
2973
+ purpose: z.ZodEnum<{
2974
+ VOICEOVER: "VOICEOVER";
2975
+ MUSIC: "MUSIC";
2976
+ }>;
2977
+ versionId: z.ZodUUID;
2978
+ }, z.core.$strict>>;
2979
+ lipSync: z.ZodEnum<{
2980
+ NONE: "NONE";
2981
+ REQUIRED: "REQUIRED";
2982
+ }>;
2983
+ exactSpeech: z.ZodBoolean;
2984
+ }, z.core.$strict>>;
2985
+ mix: z.ZodObject<{
2986
+ id: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
2987
+ sampleRateHz: z.ZodLiteral<48000>;
2988
+ audioChannels: z.ZodLiteral<2>;
2989
+ audioCodec: z.ZodLiteral<"aac">;
2990
+ bitrate: z.ZodLiteral<192000>;
2991
+ peakPermille: z.ZodLiteral<950>;
2992
+ duckingMusicPermille: z.ZodInt;
2993
+ }, z.core.$strict>;
2994
+ clips: z.ZodArray<z.ZodObject<{
2995
+ ordinal: z.ZodInt;
2996
+ treatment: z.ZodObject<{
2997
+ policy: z.ZodEnum<{
2998
+ KEEP: "KEEP";
2999
+ MUTE: "MUTE";
3000
+ DUCK: "DUCK";
3001
+ }>;
3002
+ gainPermille: z.ZodInt;
3003
+ duckingPermille: z.ZodInt;
3004
+ }, z.core.$strict>;
3005
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
3006
+ kind: z.ZodLiteral<"NATIVE_GENERATED">;
3007
+ version: z.ZodObject<{
3008
+ id: z.ZodUUID;
3009
+ tenantId: z.ZodUUID;
3010
+ projectId: z.ZodUUID;
3011
+ productionId: z.ZodUUID;
3012
+ shotId: z.ZodUUID;
3013
+ generationId: z.ZodUUID;
3014
+ videoArtifactId: z.ZodUUID;
3015
+ videoRepresentationId: z.ZodUUID;
3016
+ videoChecksumSha256: z.ZodString;
3017
+ artifactId: z.ZodUUID;
3018
+ representationId: z.ZodUUID;
3019
+ checksumSha256: z.ZodString;
3020
+ byteSize: z.ZodInt;
3021
+ metadata: z.ZodObject<{
3022
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
3023
+ sourceCodec: z.ZodLiteral<"aac">;
3024
+ sourceSampleRateHz: z.ZodInt;
3025
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
3026
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
3027
+ sourceFrameCount: z.ZodInt;
3028
+ sourceStartOffsetMs: z.ZodNumber;
3029
+ sourceDeclaredDurationMs: z.ZodNumber;
3030
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
3031
+ media: z.ZodObject<{
3032
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
3033
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
3034
+ sampleRateHz: z.ZodLiteral<48000>;
3035
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
3036
+ sampleCount: z.ZodInt;
3037
+ durationMs: z.ZodNumber;
3038
+ }, z.core.$strict>;
3039
+ checksumSha256: z.ZodString;
3040
+ }, z.core.$strict>;
3041
+ executionClass: z.ZodEnum<{
3042
+ LIVE: "LIVE";
3043
+ TEST_ONLY: "TEST_ONLY";
3044
+ }>;
3045
+ }, z.core.$strict>;
3046
+ }, z.core.$strict>, z.ZodObject<{
3047
+ kind: z.ZodLiteral<"IMPORTED_SYNC">;
3048
+ version: z.ZodObject<{
3049
+ schemaVersion: z.ZodLiteral<1>;
3050
+ purpose: z.ZodLiteral<"SOURCE_SYNC">;
3051
+ id: z.ZodUUID;
3052
+ audioId: z.ZodUUID;
3053
+ version: z.ZodInt;
3054
+ tenantId: z.ZodUUID;
3055
+ projectId: z.ZodUUID;
3056
+ productionId: z.ZodUUID;
3057
+ shotId: z.ZodUUID;
3058
+ normalizationId: z.ZodUUID;
3059
+ artifactId: z.ZodUUID;
3060
+ representationId: z.ZodUUID;
3061
+ provenance: z.ZodObject<{
3062
+ schemaVersion: z.ZodLiteral<1>;
3063
+ purpose: z.ZodLiteral<"SOURCE_SYNC">;
3064
+ tenantId: z.ZodUUID;
3065
+ projectId: z.ZodUUID;
3066
+ productionId: z.ZodUUID;
3067
+ shotId: z.ZodUUID;
3068
+ sourceId: z.ZodUUID;
3069
+ sourceVersionId: z.ZodUUID;
3070
+ normalizationId: z.ZodUUID;
3071
+ originalArtifactId: z.ZodUUID;
3072
+ originalRepresentationId: z.ZodUUID;
3073
+ originalChecksumSha256: z.ZodString;
3074
+ sourceRange: z.ZodObject<{
3075
+ clock: z.ZodLiteral<"SOURCE_ZERO_BASED_CFR30">;
3076
+ startFrame: z.ZodInt;
3077
+ endFrame: z.ZodInt;
3078
+ }, z.core.$strict>;
3079
+ destinationStartSample: z.ZodInt;
3080
+ media: z.ZodUnion<readonly [z.ZodObject<{
3081
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
3082
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
3083
+ sampleRateHz: z.ZodLiteral<48000>;
3084
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
3085
+ sampleCount: z.ZodInt;
3086
+ durationMs: z.ZodInt;
3087
+ }, z.core.$strict>, z.ZodObject<{
3088
+ profile: z.ZodLiteral<"PCM_S16LE_48000_SOURCE_SYNC_V1">;
3089
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
3090
+ sampleRateHz: z.ZodLiteral<48000>;
3091
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
3092
+ sampleCount: z.ZodInt;
3093
+ durationMs: z.ZodNumber;
3094
+ }, z.core.$strict>]>;
3095
+ wavChecksumSha256: z.ZodString;
3096
+ wavByteSize: z.ZodInt;
3097
+ }, z.core.$strict>;
3098
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
3099
+ executionClass: z.ZodEnum<{
3100
+ LIVE: "LIVE";
3101
+ TEST_ONLY: "TEST_ONLY";
3102
+ }>;
3103
+ createdByPrincipalId: z.ZodUUID;
3104
+ createdAt: z.ZodISODateTime;
3105
+ }, z.core.$strict>;
3106
+ }, z.core.$strict>], "kind">>;
3107
+ sourceInSample: z.ZodInt;
3108
+ sourceOutSample: z.ZodInt;
3109
+ startSample: z.ZodInt;
3110
+ outputSampleCount: z.ZodInt;
3111
+ }, z.core.$strict>>;
3112
+ speechCues: z.ZodArray<z.ZodObject<{
3113
+ cueId: z.ZodString;
3114
+ source: z.ZodObject<{
3115
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
3116
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
3117
+ purpose: z.ZodEnum<{
3118
+ VOICEOVER: "VOICEOVER";
3119
+ MUSIC: "MUSIC";
3120
+ }>;
3121
+ id: z.ZodUUID;
3122
+ audioId: z.ZodUUID;
3123
+ projectId: z.ZodUUID;
3124
+ version: z.ZodInt;
3125
+ artifactId: z.ZodUUID;
3126
+ original: z.ZodObject<{
3127
+ id: z.ZodUUID;
3128
+ checksumSha256: z.ZodString;
3129
+ byteSize: z.ZodInt;
3130
+ }, z.core.$strict>;
3131
+ media: z.ZodObject<{
3132
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
3133
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
3134
+ sampleRateHz: z.ZodLiteral<48000>;
3135
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
3136
+ sampleCount: z.ZodInt;
3137
+ durationMs: z.ZodInt;
3138
+ }, z.core.$strict>;
3139
+ originalName: z.ZodNullable<z.ZodString>;
3140
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
3141
+ createdByPrincipalId: z.ZodUUID;
3142
+ createdAt: z.ZodISODateTime;
3143
+ generation: z.ZodOptional<z.ZodObject<{
3144
+ generationId: z.ZodUUID;
3145
+ executionClass: z.ZodEnum<{
3146
+ LIVE: "LIVE";
3147
+ TEST_ONLY: "TEST_ONLY";
3148
+ }>;
3149
+ executionTarget: z.ZodOptional<z.ZodLiteral<"TENANT_DEVICE">>;
3150
+ sourceArtifactId: z.ZodUUID;
3151
+ sourceRepresentationId: z.ZodUUID;
3152
+ sourceChecksumSha256: z.ZodString;
3153
+ sourceByteSize: z.ZodInt;
3154
+ sourceMedia: z.ZodObject<{
3155
+ sampleRateHz: z.ZodInt;
3156
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
3157
+ sampleCount: z.ZodInt;
3158
+ }, z.core.$strict>;
3159
+ normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
3160
+ padSamples: z.ZodInt;
3161
+ }, z.core.$strict>>;
3162
+ }, z.core.$strict>;
3163
+ sourceInMs: z.ZodLiteral<0>;
3164
+ sourceOutMs: z.ZodInt;
3165
+ startMs: z.ZodInt;
3166
+ gainPermille: z.ZodLiteral<1000>;
3167
+ }, z.core.$strict>>;
3168
+ }, z.core.$strict>>;
3169
+ schemaVersion: z.ZodLiteral<3>;
3170
+ visualLayers: z.ZodObject<{
3171
+ schemaVersion: z.ZodLiteral<1>;
3172
+ profileId: z.ZodLiteral<"STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1">;
3173
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
3174
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
3175
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
3176
+ totalFrames: z.ZodInt;
3177
+ layers: z.ZodArray<z.ZodObject<{
3178
+ id: z.ZodUUID;
3179
+ source: z.ZodObject<{
3180
+ schemaVersion: z.ZodLiteral<1>;
3181
+ profileId: z.ZodLiteral<"RGBA_PNG_SEQUENCE_30_V1">;
3182
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
3183
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
3184
+ productionId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
3185
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
3186
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
3187
+ checksumSha256: z.ZodString;
3188
+ width: z.ZodInt;
3189
+ height: z.ZodInt;
3190
+ frameRate: z.ZodLiteral<30>;
3191
+ frameCount: z.ZodInt;
3192
+ alpha: z.ZodLiteral<"STRAIGHT_RGBA">;
3193
+ frames: z.ZodArray<z.ZodObject<{
3194
+ ordinal: z.ZodInt;
3195
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
3196
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
3197
+ checksumSha256: z.ZodString;
3198
+ byteSize: z.ZodInt;
3199
+ }, z.core.$strict>>;
3200
+ }, z.core.$strict>;
3201
+ sourceInFrame: z.ZodInt;
3202
+ sourceOutFrame: z.ZodInt;
3203
+ startFrame: z.ZodInt;
3204
+ zIndex: z.ZodInt;
3205
+ opacityPermille: z.ZodInt;
3206
+ placement: z.ZodObject<{
3207
+ xPermille: z.ZodInt;
3208
+ yPermille: z.ZodInt;
3209
+ widthPermille: z.ZodInt;
3210
+ heightPermille: z.ZodInt;
3211
+ }, z.core.$strict>;
3212
+ }, z.core.$strict>>;
3213
+ }, z.core.$strict>;
3214
+ }, z.core.$strict>], "schemaVersion">;
3215
+ assemblyStatus: z.ZodEnum<{
3216
+ DRAFT: "DRAFT";
3217
+ ASSEMBLY_READY: "ASSEMBLY_READY";
3218
+ }>;
3219
+ changedOrdinals: z.ZodArray<z.ZodInt>;
3220
+ changedGraphicArtifactIds: z.ZodArray<z.ZodUUID>;
3221
+ changedAudioPurposes: z.ZodArray<z.ZodEnum<{
3222
+ VOICEOVER: "VOICEOVER";
3223
+ MUSIC: "MUSIC";
3224
+ }>>;
3225
+ preservedAcceptanceIds: z.ZodArray<z.ZodUUID>;
3226
+ reviewScope: z.ZodObject<{
3227
+ kind: z.ZodLiteral<"PRODUCTION">;
3228
+ interval: z.ZodObject<{
3229
+ startMs: z.ZodLiteral<0>;
3230
+ endMs: z.ZodInt;
3231
+ }, z.core.$strict>;
3232
+ shotIds: z.ZodArray<z.ZodUUID>;
3233
+ dimensions: z.ZodArray<z.ZodEnum<{
3234
+ PACING: "PACING";
3235
+ ORDERING: "ORDERING";
3236
+ CUT_CONTINUITY: "CUT_CONTINUITY";
3237
+ PRODUCT_PRESENTATION: "PRODUCT_PRESENTATION";
3238
+ CAPTION_TIMING_VISIBILITY: "CAPTION_TIMING_VISIBILITY";
3239
+ AUDIO_VISUAL_ALIGNMENT: "AUDIO_VISUAL_ALIGNMENT";
3240
+ BASIC_MIX: "BASIC_MIX";
3241
+ }>>;
3242
+ requirement: z.ZodLiteral<"COMPLETE_NEW_OUTPUT_INSPECTION">;
3243
+ }, z.core.$strict>;
3244
+ followUp: z.ZodArray<z.ZodEnum<{
3245
+ NATIVE_TIMELINE_BUILD: "NATIVE_TIMELINE_BUILD";
3246
+ COMPLETE_TIMELINE: "COMPLETE_TIMELINE";
3247
+ ROUGH_CUT_RENDER: "ROUGH_CUT_RENDER";
3248
+ REVIEW_2: "REVIEW_2";
3249
+ FINAL_READY_DECISION: "FINAL_READY_DECISION";
3250
+ }>>;
3251
+ }, z.core.$strict>, z.ZodObject<{
3252
+ kind: z.ZodLiteral<"CAPTION_AUTHOR">;
3253
+ input: z.ZodObject<{
3254
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
3255
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
3256
+ expectedProductionRevision: z.ZodInt;
3257
+ content: z.ZodObject<{
3258
+ language: z.ZodString;
3259
+ durationMs: z.ZodInt;
3260
+ cues: z.ZodArray<z.ZodObject<{
3261
+ startMs: z.ZodInt;
3262
+ endMs: z.ZodInt;
3263
+ text: z.ZodString;
3264
+ }, z.core.$strict>>;
3265
+ }, z.core.$strict>;
3266
+ expectedCaptionVersion: z.ZodInt;
3267
+ }, z.core.$strict>;
3268
+ attachment: z.ZodObject<{
3269
+ expectedTimelineVersion: z.ZodInt;
3270
+ preserveCurrentComposition: z.ZodLiteral<true>;
3271
+ composition: z.ZodObject<{
3272
+ schemaVersion: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
3273
+ clips: z.ZodArray<z.ZodObject<{
3274
+ shotId: typeof import("./ids.js").ShotIdSchema;
3275
+ acceptanceId: z.ZodUUID;
3276
+ framing: z.ZodOptional<typeof import("./clip-framing.js").ClipFramingSchema>;
3277
+ transition: z.ZodOptional<typeof import("./clip-transition.js").ClipTransitionSchema>;
3278
+ sourceInMs: z.ZodInt;
3279
+ sourceOutMs: z.ZodInt;
3280
+ }, z.core.$strict>>;
3281
+ audio: z.ZodOptional<z.ZodOptional<z.ZodObject<{
3282
+ tracks: z.ZodArray<z.ZodObject<{
3283
+ sourceInMs: z.ZodInt;
3284
+ sourceOutMs: z.ZodInt;
3285
+ startMs: z.ZodInt;
3286
+ gainPermille: z.ZodInt;
3287
+ purpose: z.ZodEnum<{
3288
+ VOICEOVER: "VOICEOVER";
3289
+ MUSIC: "MUSIC";
3290
+ }>;
3291
+ versionId: z.ZodUUID;
3292
+ }, z.core.$strict>>;
3293
+ duckingMusicPermille: z.ZodDefault<z.ZodInt>;
3294
+ }, z.core.$strict>>>;
3295
+ sourceSound: z.ZodOptional<z.ZodObject<{
3296
+ duckingMusicPermille: z.ZodOptional<z.ZodInt>;
3297
+ soundPlanVersionId: z.ZodUUID;
3298
+ clips: z.ZodArray<z.ZodObject<{
3299
+ ordinal: z.ZodInt;
3300
+ treatment: z.ZodObject<{
3301
+ policy: z.ZodEnum<{
3302
+ KEEP: "KEEP";
3303
+ MUTE: "MUTE";
3304
+ DUCK: "DUCK";
3305
+ }>;
3306
+ gainPermille: z.ZodInt;
3307
+ duckingPermille: z.ZodInt;
3308
+ }, z.core.$strict>;
3309
+ importedAudioVersionId: z.ZodOptional<z.ZodUUID>;
3310
+ }, z.core.$strict>>;
3311
+ speechCues: z.ZodArray<z.ZodObject<{
3312
+ cueId: z.ZodString;
3313
+ audioVersionId: z.ZodUUID;
3314
+ }, z.core.$strict>>;
3315
+ }, z.core.$strict>>;
3316
+ graphics: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
3317
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
3318
+ placement: z.ZodObject<{
3319
+ startFrame: z.ZodInt;
3320
+ endFrame: z.ZodInt;
3321
+ anchor: z.ZodEnum<{
3322
+ TOP_LEFT: "TOP_LEFT";
3323
+ TOP_RIGHT: "TOP_RIGHT";
3324
+ BOTTOM_LEFT: "BOTTOM_LEFT";
3325
+ BOTTOM_RIGHT: "BOTTOM_RIGHT";
3326
+ }>;
3327
+ widthPermille: z.ZodInt;
3328
+ marginXPermille: z.ZodInt;
3329
+ marginYPermille: z.ZodInt;
3330
+ opacityPermille: z.ZodInt;
3331
+ }, z.core.$strict>;
3332
+ }, z.core.$strict>>>>;
3333
+ visualLayers: z.ZodOptional<z.ZodArray<z.ZodObject<{
3334
+ id: z.ZodUUID;
3335
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
3336
+ sourceInFrame: z.ZodInt;
3337
+ sourceOutFrame: z.ZodInt;
3338
+ startFrame: z.ZodInt;
3339
+ zIndex: z.ZodInt;
3340
+ opacityPermille: z.ZodInt;
3341
+ placement: z.ZodObject<{
3342
+ xPermille: z.ZodInt;
3343
+ yPermille: z.ZodInt;
3344
+ widthPermille: z.ZodInt;
3345
+ heightPermille: z.ZodInt;
3346
+ }, z.core.$strict>;
3347
+ }, z.core.$strict>>>;
3348
+ }, z.core.$strict>;
3349
+ }, z.core.$strict>;
3350
+ followUp: z.ZodTuple<[z.ZodLiteral<"NATIVE_CAPTION_AUTHOR">, z.ZodLiteral<"ATTACH_NEW_CAPTION_TO_TIMELINE">, z.ZodLiteral<"ROUGH_CUT_RENDER">, z.ZodLiteral<"REVIEW_2">, z.ZodLiteral<"FINAL_READY_DECISION">], null>;
3351
+ }, z.core.$strict>, z.ZodObject<{
3352
+ kind: z.ZodLiteral<"COMPOSITION_CAPABILITY_INTENT">;
3353
+ concern: z.ZodEnum<{
3354
+ TRANSITION: "TRANSITION";
3355
+ AUDIO_VISUAL_ALIGNMENT: "AUDIO_VISUAL_ALIGNMENT";
3356
+ VOICE_TIMING: "VOICE_TIMING";
3357
+ CAPTION_RETIMING: "CAPTION_RETIMING";
3358
+ }>;
3359
+ requestedChange: z.ZodString;
3360
+ admission: z.ZodLiteral<"EXPLICIT_CANONICAL_CAPABILITY_REQUIRED">;
3361
+ }, z.core.$strict>, z.ZodObject<{
3362
+ kind: z.ZodLiteral<"HUMAN_INPUT_INTENT">;
3363
+ question: z.ZodString;
3364
+ }, z.core.$strict>], "kind">;
3365
+ }, z.core.$strict>>;
3366
+ selectedAlternativeId: z.ZodString;
3367
+ limitations: z.ZodTuple<[z.ZodLiteral<"NO_TIMELINE_WRITE_RENDER_OR_PROVIDER_CALL">, z.ZodLiteral<"READS_ARE_NOT_ATOMIC_OR_RESERVED">, z.ZodLiteral<"CREATIVE_RATIONALE_IS_NOT_VERIFIED">, z.ZodLiteral<"OWNER_RECHECKS_CAS_IDEMPOTENCY_AND_EXECUTION_CLASS">, z.ZodLiteral<"EDIT_REQUIRES_NEW_OUTPUT_INSPECTION_AND_REVIEW">], null>;
3368
+ }, z.core.$strict>;
3369
+ export type EditorContextInput = z.input<typeof EditorContextInputSchema>;
3370
+ export type EditorContextResult = z.infer<typeof EditorContextResultSchema>;
3371
+ export type EditorAlternative = z.input<typeof EditorAlternativeSchema>;
3372
+ export type ValidateEditorProposal = z.input<typeof ValidateEditorProposalSchema>;
3373
+ export type EditorValidationResult = z.infer<typeof EditorValidationResultSchema>;
3374
+ export {};