@nativestudio/sdk 0.0.0-stage → 0.3.0-rc.2

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