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