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

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 (206) hide show
  1. package/COMPATIBILITY.json +20 -0
  2. package/LICENSE +21 -0
  3. package/README.md +77 -2
  4. package/components/runtime.json +6 -0
  5. package/components/runtime.tgz +0 -0
  6. package/dist/BUNDLED_DEPENDENCIES.json +1 -0
  7. package/dist/_chunks/chunk-25EDDZQA.js +1 -0
  8. package/dist/_chunks/chunk-2UYKJ6YN.js +1 -0
  9. package/dist/_chunks/chunk-6NVIN2NI.js +1 -0
  10. package/dist/_chunks/chunk-E57YVMQ4.js +1 -0
  11. package/dist/_chunks/chunk-EAZKDCLD.js +1 -0
  12. package/dist/_chunks/chunk-G42IS5JF.js +1 -0
  13. package/dist/_chunks/chunk-GIEYSDCG.js +1 -0
  14. package/dist/_chunks/chunk-GJ7BZJLW.js +1 -0
  15. package/dist/_chunks/chunk-HLKERZIE.js +1 -0
  16. package/dist/_chunks/chunk-JFC6ZIGA.js +1 -0
  17. package/dist/_chunks/chunk-MSOMVWKN.js +1 -0
  18. package/dist/_chunks/chunk-PUNG4ND7.js +1 -0
  19. package/dist/_chunks/chunk-QC7RLTGU.js +1 -0
  20. package/dist/_chunks/chunk-RUMDDTON.js +1 -0
  21. package/dist/_chunks/chunk-U2UKGYGF.js +1 -0
  22. package/dist/_chunks/chunk-VDNNFVTZ.js +3 -0
  23. package/dist/_chunks/chunk-VPYAXWXY.js +1 -0
  24. package/dist/_chunks/files-TBJVDQWU.js +1 -0
  25. package/dist/_chunks/local-main-SOERK22D.js +1 -0
  26. package/dist/_chunks/local-mcp-JLPXXIDW.js +1 -0
  27. package/dist/_chunks/main-4SNF5EKE.js +2 -0
  28. package/dist/_chunks/mcp-EIMXNRH3.js +1 -0
  29. package/dist/_chunks/oauth-257CEUQH.js +1 -0
  30. package/dist/_chunks/project-connect-6MH2QG6G.js +1 -0
  31. package/dist/_chunks/src-7F6ZEU3U.js +1 -0
  32. package/dist/_chunks/stdio-main-JEADWO7U.js +1 -0
  33. package/dist/_types/cli/local/desktop-channel.d.ts +18 -0
  34. package/dist/_types/cli/local/desktop-contract.d.ts +208 -0
  35. package/dist/_types/cli/local/desktop-node.d.ts +1 -0
  36. package/dist/_types/cli/local/desktop-owner.d.ts +32 -0
  37. package/dist/_types/cli/local/ledger.d.ts +309 -0
  38. package/dist/_types/cli/local/manager.d.ts +592 -0
  39. package/dist/_types/cli/local/mcp-tools.d.ts +419 -0
  40. package/dist/_types/cli/local/releases.d.ts +100 -0
  41. package/dist/_types/cli/local-management.d.ts +11 -0
  42. package/dist/_types/cli/local-navigation.d.ts +3 -0
  43. package/dist/_types/contracts/accepted-shot.d.ts +27 -0
  44. package/dist/_types/contracts/accepted-visual-source.d.ts +120 -0
  45. package/dist/_types/contracts/agent-execution-lifecycle.d.ts +749 -0
  46. package/dist/_types/contracts/agent-execution-oauth.d.ts +71 -0
  47. package/dist/_types/contracts/agent-execution-registration.d.ts +240 -0
  48. package/dist/_types/contracts/agent-execution-selection.d.ts +107 -0
  49. package/dist/_types/contracts/agent-host-execution.d.ts +706 -0
  50. package/dist/_types/contracts/agent-host-generic-transport.d.ts +12 -0
  51. package/dist/_types/contracts/agent-host.d.ts +226 -0
  52. package/dist/_types/contracts/artifact-discovery.d.ts +170 -0
  53. package/dist/_types/contracts/artifact.d.ts +188 -0
  54. package/dist/_types/contracts/audio.d.ts +331 -0
  55. package/dist/_types/contracts/brief.d.ts +178 -0
  56. package/dist/_types/contracts/caption-render.d.ts +20 -0
  57. package/dist/_types/contracts/caption-transcript.d.ts +102 -0
  58. package/dist/_types/contracts/captions.d.ts +420 -0
  59. package/dist/_types/contracts/clip-framing.d.ts +14 -0
  60. package/dist/_types/contracts/clip-transition.d.ts +6 -0
  61. package/dist/_types/contracts/composition-authoring-guide.d.ts +160 -0
  62. package/dist/_types/contracts/composition-authoring.d.ts +744 -0
  63. package/dist/_types/contracts/composition-finding-locality.d.ts +24 -0
  64. package/dist/_types/contracts/composition-frame-render.d.ts +226 -0
  65. package/dist/_types/contracts/composition-making.d.ts +390 -0
  66. package/dist/_types/contracts/composition-observation.d.ts +239 -0
  67. package/dist/_types/contracts/composition-render-base.d.ts +292 -0
  68. package/dist/_types/contracts/composition-render-observation.d.ts +278 -0
  69. package/dist/_types/contracts/composition-render.d.ts +406 -0
  70. package/dist/_types/contracts/composition-repair.d.ts +451 -0
  71. package/dist/_types/contracts/composition-source-review.d.ts +1042 -0
  72. package/dist/_types/contracts/consistency-profile.d.ts +845 -0
  73. package/dist/_types/contracts/continuity-evaluation.d.ts +48 -0
  74. package/dist/_types/contracts/delivery-completion.d.ts +210 -0
  75. package/dist/_types/contracts/delivery-manifest.d.ts +11776 -0
  76. package/dist/_types/contracts/delivery-operations.d.ts +5009 -0
  77. package/dist/_types/contracts/delivery-output-profile.d.ts +12 -0
  78. package/dist/_types/contracts/delivery-summary.d.ts +220 -0
  79. package/dist/_types/contracts/delivery-validation.d.ts +183 -0
  80. package/dist/_types/contracts/director-proposal.d.ts +1067 -0
  81. package/dist/_types/contracts/editor-intelligence.d.ts +5751 -0
  82. package/dist/_types/contracts/exploration-recommendation.d.ts +11863 -0
  83. package/dist/_types/contracts/external-agent-access.d.ts +95 -0
  84. package/dist/_types/contracts/final-ready.d.ts +301 -0
  85. package/dist/_types/contracts/final-render-profile.d.ts +59 -0
  86. package/dist/_types/contracts/final-render.d.ts +8181 -0
  87. package/dist/_types/contracts/foundation.d.ts +1 -0
  88. package/dist/_types/contracts/generation-contract.d.ts +268 -0
  89. package/dist/_types/contracts/generation-cost.d.ts +70 -0
  90. package/dist/_types/contracts/health.d.ts +6 -0
  91. package/dist/_types/contracts/human-identity.d.ts +149 -0
  92. package/dist/_types/contracts/hyperframe-profile.d.ts +5 -0
  93. package/dist/_types/contracts/ids.d.ts +41 -0
  94. package/dist/_types/contracts/index.d.ts +122 -0
  95. package/dist/_types/contracts/interface/common.d.ts +56 -0
  96. package/dist/_types/contracts/interface/execution-output.d.ts +99 -0
  97. package/dist/_types/contracts/interface/index.d.ts +7 -0
  98. package/dist/_types/contracts/interface/media-output.d.ts +62 -0
  99. package/dist/_types/contracts/interface/operation.d.ts +61 -0
  100. package/dist/_types/contracts/interface/output.d.ts +15 -0
  101. package/dist/_types/contracts/interface/production-snapshot.d.ts +832 -0
  102. package/dist/_types/contracts/interface/query.d.ts +315 -0
  103. package/dist/_types/contracts/keyframe-generation.d.ts +349 -0
  104. package/dist/_types/contracts/keyframe-reference.d.ts +31 -0
  105. package/dist/_types/contracts/keyframe-review.d.ts +753 -0
  106. package/dist/_types/contracts/lifecycle-event-projections.d.ts +191 -0
  107. package/dist/_types/contracts/lifecycle-events.d.ts +156 -0
  108. package/dist/_types/contracts/listening-evidence.d.ts +37 -0
  109. package/dist/_types/contracts/local-execution/agent-review.d.ts +560 -0
  110. package/dist/_types/contracts/local-execution/canonical.d.ts +2 -0
  111. package/dist/_types/contracts/local-execution/common.d.ts +48 -0
  112. package/dist/_types/contracts/local-execution/completion.d.ts +128 -0
  113. package/dist/_types/contracts/local-execution/device.d.ts +134 -0
  114. package/dist/_types/contracts/local-execution/index.d.ts +11 -0
  115. package/dist/_types/contracts/local-execution/ipc.d.ts +1202 -0
  116. package/dist/_types/contracts/local-execution/lifecycle.d.ts +319 -0
  117. package/dist/_types/contracts/local-execution/local-navigation.d.ts +710 -0
  118. package/dist/_types/contracts/local-execution/preview.d.ts +3663 -0
  119. package/dist/_types/contracts/local-execution/tool-selection.d.ts +15 -0
  120. package/dist/_types/contracts/local-execution/work.d.ts +3441 -0
  121. package/dist/_types/contracts/matrix-parameter-rule.d.ts +23 -0
  122. package/dist/_types/contracts/media-export.d.ts +23 -0
  123. package/dist/_types/contracts/media-observation.d.ts +1159 -0
  124. package/dist/_types/contracts/model-capability-matrix.d.ts +118 -0
  125. package/dist/_types/contracts/native-tool-authority-failure.d.ts +38 -0
  126. package/dist/_types/contracts/native-tool-authority.d.ts +110 -0
  127. package/dist/_types/contracts/native-tool-execution.d.ts +287 -0
  128. package/dist/_types/contracts/native-tool-gateway.d.ts +41 -0
  129. package/dist/_types/contracts/native-video-audio.d.ts +62 -0
  130. package/dist/_types/contracts/navigation-context.d.ts +253 -0
  131. package/dist/_types/contracts/navigation-groups.d.ts +51 -0
  132. package/dist/_types/contracts/navigation.d.ts +238 -0
  133. package/dist/_types/contracts/observation-profile.d.ts +99 -0
  134. package/dist/_types/contracts/planning-input.d.ts +177 -0
  135. package/dist/_types/contracts/principal.d.ts +26 -0
  136. package/dist/_types/contracts/production-creation.d.ts +66 -0
  137. package/dist/_types/contracts/production-termination.d.ts +51 -0
  138. package/dist/_types/contracts/production.d.ts +111 -0
  139. package/dist/_types/contracts/programmatic-composition.d.ts +762 -0
  140. package/dist/_types/contracts/programmatic-exploration.d.ts +7459 -0
  141. package/dist/_types/contracts/programmatic-video-review.d.ts +894 -0
  142. package/dist/_types/contracts/project-library.d.ts +173 -0
  143. package/dist/_types/contracts/project.d.ts +93 -0
  144. package/dist/_types/contracts/provider-catalog.d.ts +421 -0
  145. package/dist/_types/contracts/provider-models.d.ts +3380 -0
  146. package/dist/_types/contracts/provider.d.ts +142 -0
  147. package/dist/_types/contracts/reference-preview.d.ts +36 -0
  148. package/dist/_types/contracts/repair-lifecycle.d.ts +2896 -0
  149. package/dist/_types/contracts/repair-plan.d.ts +728 -0
  150. package/dist/_types/contracts/repair-strategy.d.ts +5751 -0
  151. package/dist/_types/contracts/review-intelligence-evidence.d.ts +136 -0
  152. package/dist/_types/contracts/review-intelligence-final-output.d.ts +8705 -0
  153. package/dist/_types/contracts/review-intelligence.d.ts +11543 -0
  154. package/dist/_types/contracts/review1-repair-source.d.ts +452 -0
  155. package/dist/_types/contracts/review1-repair-strategy.d.ts +491 -0
  156. package/dist/_types/contracts/review1-repair.d.ts +36 -0
  157. package/dist/_types/contracts/rough-cut-manifest.d.ts +347 -0
  158. package/dist/_types/contracts/rough-cut-profile.d.ts +37 -0
  159. package/dist/_types/contracts/rough-cut-review.d.ts +12819 -0
  160. package/dist/_types/contracts/rough-cut.d.ts +5862 -0
  161. package/dist/_types/contracts/scene-shot-plan.d.ts +882 -0
  162. package/dist/_types/contracts/sdk-discovery.d.ts +66 -0
  163. package/dist/_types/contracts/shot-direction.d.ts +113 -0
  164. package/dist/_types/contracts/shot-preparation-basis.d.ts +356 -0
  165. package/dist/_types/contracts/shot-preparation.d.ts +2285 -0
  166. package/dist/_types/contracts/shot-sound-instruction.d.ts +58 -0
  167. package/dist/_types/contracts/sound-making-plan.d.ts +1585 -0
  168. package/dist/_types/contracts/source-sound-policy.d.ts +10 -0
  169. package/dist/_types/contracts/source-workspace.d.ts +62 -0
  170. package/dist/_types/contracts/speech.d.ts +424 -0
  171. package/dist/_types/contracts/story.d.ts +98 -0
  172. package/dist/_types/contracts/temporal-evidence-operation.d.ts +379 -0
  173. package/dist/_types/contracts/temporal-evidence-reference.d.ts +18 -0
  174. package/dist/_types/contracts/temporal-evidence.d.ts +248 -0
  175. package/dist/_types/contracts/tenant.d.ts +7 -0
  176. package/dist/_types/contracts/timeline-audio.d.ts +97 -0
  177. package/dist/_types/contracts/timeline-graphics.d.ts +80 -0
  178. package/dist/_types/contracts/timeline-manifest.d.ts +702 -0
  179. package/dist/_types/contracts/timeline-source-sound.d.ts +352 -0
  180. package/dist/_types/contracts/timeline-v2.d.ts +1263 -0
  181. package/dist/_types/contracts/timeline-version-reader.d.ts +2945 -0
  182. package/dist/_types/contracts/timeline-visual-layers.d.ts +1245 -0
  183. package/dist/_types/contracts/timeline.d.ts +4942 -0
  184. package/dist/_types/contracts/transcription.d.ts +80 -0
  185. package/dist/_types/contracts/video-generation.d.ts +643 -0
  186. package/dist/_types/contracts/video-review.d.ts +1871 -0
  187. package/dist/_types/contracts/visual-exploration.d.ts +1586 -0
  188. package/dist/_types/contracts/visual-layer-render.d.ts +2777 -0
  189. package/dist/_types/contracts/visual-layer.d.ts +112 -0
  190. package/dist/_types/contracts/visual-sequence.d.ts +121 -0
  191. package/dist/_types/contracts/writer-proposal.d.ts +268 -0
  192. package/dist/_types/sdk/errors.d.ts +9 -0
  193. package/dist/_types/sdk/local-runtime/device-client.d.ts +77 -0
  194. package/dist/_types/sdk/local-runtime-client.d.ts +932 -0
  195. package/dist/entry.js +2 -0
  196. package/dist/local-management.d.ts +1 -0
  197. package/dist/local-management.js +1 -0
  198. package/dist/local-navigation.d.ts +1 -0
  199. package/dist/local-navigation.js +1 -0
  200. package/dist/native/Bootstrap.ps1 +90 -0
  201. package/dist/native/JobNative.cs +127 -0
  202. package/dist/native/JobRunner.cs +360 -0
  203. package/dist/native/NativeMain.cs +146 -0
  204. package/dist/native/PipeBridge.cs +260 -0
  205. package/dist/native/PrivateAccess.cs +152 -0
  206. package/package.json +33 -3
@@ -0,0 +1,1263 @@
1
+ import { z } from "zod";
2
+ export declare const TimelineV2ClipSchema: z.ZodObject<{
3
+ ordinal: z.ZodInt;
4
+ technical: z.ZodObject<{
5
+ contentType: z.ZodLiteral<"video/mp4">;
6
+ checksumSha256: z.ZodString;
7
+ byteSize: z.ZodInt;
8
+ width: z.ZodInt;
9
+ height: z.ZodInt;
10
+ durationMs: z.ZodInt;
11
+ frameRate: z.ZodNumber;
12
+ videoCodec: z.ZodEnum<{
13
+ h264: "h264";
14
+ hevc: "hevc";
15
+ }>;
16
+ pixelFormat: z.ZodOptional<z.ZodLiteral<"yuv420p10le">>;
17
+ hasAudio: z.ZodBoolean;
18
+ nativeAudio: z.ZodOptional<z.ZodObject<{
19
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
20
+ sourceCodec: z.ZodLiteral<"aac">;
21
+ sourceSampleRateHz: z.ZodInt;
22
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
23
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
24
+ sourceFrameCount: z.ZodInt;
25
+ sourceStartOffsetMs: z.ZodNumber;
26
+ sourceDeclaredDurationMs: z.ZodNumber;
27
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
28
+ media: z.ZodObject<{
29
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
30
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
31
+ sampleRateHz: z.ZodLiteral<48000>;
32
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
33
+ sampleCount: z.ZodInt;
34
+ durationMs: z.ZodNumber;
35
+ }, z.core.$strict>;
36
+ checksumSha256: z.ZodString;
37
+ }, z.core.$strict>>;
38
+ }, z.core.$strict>;
39
+ sourceInMs: z.ZodInt;
40
+ sourceOutMs: z.ZodInt;
41
+ startMs: z.ZodInt;
42
+ durationMs: z.ZodInt;
43
+ transition: z.ZodUnion<readonly [z.ZodLiteral<"CUT">, z.ZodObject<{
44
+ kind: z.ZodLiteral<"CROSS_DISSOLVE_V1">;
45
+ durationFrames: z.ZodInt;
46
+ }, z.core.$strict>]>;
47
+ framing: z.ZodOptional<z.ZodObject<{
48
+ algorithm: z.ZodLiteral<"CROP_PAD_V1">;
49
+ crop: z.ZodObject<{
50
+ x: z.ZodInt;
51
+ y: z.ZodInt;
52
+ width: z.ZodInt;
53
+ height: z.ZodInt;
54
+ }, z.core.$strict>;
55
+ anchorXPermille: z.ZodInt;
56
+ anchorYPermille: z.ZodInt;
57
+ }, z.core.$strict>>;
58
+ source: z.ZodUnion<readonly [z.ZodObject<{
59
+ acceptanceId: z.ZodUUID;
60
+ reviewId: z.ZodUUID;
61
+ generationId: z.ZodUUID;
62
+ candidateId: z.ZodUUID;
63
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
64
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
65
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
66
+ checksumSha256: z.ZodString;
67
+ artifactChecksumSha256: z.ZodString;
68
+ preparationId: z.ZodUUID;
69
+ contractId: z.ZodUUID;
70
+ contractFingerprint: z.ZodString;
71
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
72
+ planVersion: z.ZodInt;
73
+ shotPlanningRevision: z.ZodInt;
74
+ executionClass: z.ZodEnum<{
75
+ LIVE: "LIVE";
76
+ TEST_ONLY: "TEST_ONLY";
77
+ }>;
78
+ reviewResult: z.ZodEnum<{
79
+ PASS: "PASS";
80
+ WARNING: "WARNING";
81
+ }>;
82
+ }, z.core.$strict>, z.ZodObject<{
83
+ sourceKind: z.ZodLiteral<"PROGRAMMATIC">;
84
+ acceptanceId: z.ZodUUID;
85
+ reviewId: z.ZodUUID;
86
+ renderId: z.ZodUUID;
87
+ compositionId: z.ZodUUID;
88
+ compositionVersionId: z.ZodUUID;
89
+ compositionVersion: z.ZodInt;
90
+ compositionFingerprint: z.ZodString;
91
+ renderManifestFingerprint: z.ZodString;
92
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
93
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
94
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
95
+ checksumSha256: z.ZodString;
96
+ artifactChecksumSha256: z.ZodString;
97
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
98
+ planVersion: z.ZodInt;
99
+ shotPlanningRevision: z.ZodInt;
100
+ executionClass: z.ZodEnum<{
101
+ LIVE: "LIVE";
102
+ TEST_ONLY: "TEST_ONLY";
103
+ }>;
104
+ reviewResult: z.ZodEnum<{
105
+ PASS: "PASS";
106
+ WARNING: "WARNING";
107
+ }>;
108
+ }, z.core.$strict>, z.ZodObject<{
109
+ sourceKind: z.ZodLiteral<"IMPORTED">;
110
+ acceptanceId: z.ZodUUID;
111
+ reviewId: z.ZodUUID;
112
+ normalizationId: z.ZodUUID;
113
+ sourceId: z.ZodUUID;
114
+ sourceVersionId: z.ZodUUID;
115
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
116
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
117
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
118
+ checksumSha256: z.ZodString;
119
+ executionClass: z.ZodEnum<{
120
+ LIVE: "LIVE";
121
+ TEST_ONLY: "TEST_ONLY";
122
+ }>;
123
+ reviewResult: z.ZodEnum<{
124
+ PASS: "PASS";
125
+ WARNING: "WARNING";
126
+ }>;
127
+ }, z.core.$strict>]>;
128
+ }, z.core.$strict>;
129
+ export declare const TimelineV2ManifestSchema: z.ZodObject<{
130
+ caption: z.ZodOptional<z.ZodObject<{
131
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
132
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
133
+ transcriptProvenance: z.ZodOptional<z.ZodObject<{
134
+ schemaVersion: z.ZodLiteral<1>;
135
+ advisory: z.ZodLiteral<true>;
136
+ timing: z.ZodLiteral<"PROVIDER_REPORTED">;
137
+ timelineVersionId: z.ZodUUID;
138
+ timingFingerprint: z.ZodString;
139
+ sources: z.ZodArray<z.ZodObject<{
140
+ observationId: z.ZodUUID;
141
+ artifactId: z.ZodUUID;
142
+ representationId: z.ZodUUID;
143
+ checksumSha256: z.ZodString;
144
+ placement: z.ZodDiscriminatedUnion<[z.ZodObject<{
145
+ kind: z.ZodLiteral<"AUDIO_TRACK">;
146
+ purpose: z.ZodEnum<{
147
+ VOICEOVER: "VOICEOVER";
148
+ MUSIC: "MUSIC";
149
+ }>;
150
+ }, z.core.$strict>, z.ZodObject<{
151
+ kind: z.ZodLiteral<"SPEECH_CUE">;
152
+ cueId: z.ZodString;
153
+ }, z.core.$strict>, z.ZodObject<{
154
+ kind: z.ZodLiteral<"TIMELINE_OUTPUT">;
155
+ }, z.core.$strict>], "kind">;
156
+ granularity: z.ZodEnum<{
157
+ word: "word";
158
+ segment: "segment";
159
+ }>;
160
+ sourceInMs: z.ZodInt;
161
+ sourceOutMs: z.ZodInt;
162
+ startMs: z.ZodInt;
163
+ spanIndices: z.ZodArray<z.ZodInt>;
164
+ excludedSpans: z.ZodInt;
165
+ }, z.core.$strict>>;
166
+ }, z.core.$strict>>;
167
+ id: z.ZodUUID;
168
+ captionId: z.ZodUUID;
169
+ projectId: z.ZodUUID;
170
+ version: z.ZodInt;
171
+ artifactId: z.ZodUUID;
172
+ content: z.ZodObject<{
173
+ language: z.ZodString;
174
+ durationMs: z.ZodInt;
175
+ cues: z.ZodArray<z.ZodObject<{
176
+ startMs: z.ZodInt;
177
+ endMs: z.ZodInt;
178
+ text: z.ZodString;
179
+ }, z.core.$strict>>;
180
+ }, z.core.$strict>;
181
+ fingerprint: z.ZodString;
182
+ original: z.ZodObject<{
183
+ id: z.ZodUUID;
184
+ checksumSha256: z.ZodString;
185
+ byteSize: z.ZodInt;
186
+ }, z.core.$strict>;
187
+ subtitle: z.ZodObject<{
188
+ id: z.ZodUUID;
189
+ checksumSha256: z.ZodString;
190
+ byteSize: z.ZodInt;
191
+ }, z.core.$strict>;
192
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
193
+ createdByPrincipalId: z.ZodUUID;
194
+ createdAt: z.ZodISODateTime;
195
+ }, z.core.$strict>>;
196
+ captionStyle: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
197
+ id: z.ZodLiteral<"PLAIN_TEXT_NOTO_SANS_SC_V1">;
198
+ fontSha256: z.ZodLiteral<"a3041811a78c361b1de50f953c805e0244951c21c5bd412f7232ef0d899af0da">;
199
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
200
+ }, z.core.$strict>, z.ZodObject<{
201
+ id: z.ZodLiteral<"PLAIN_TEXT_NATIVE_SC_REGULAR_V2">;
202
+ fontSha256: z.ZodLiteral<"e5a51f41fc1b827da651afee3975e07a182ff4f8e04d9dfc0a3cecd6177a52b6">;
203
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
204
+ }, z.core.$strict>], "id">>;
205
+ audio: z.ZodOptional<z.ZodObject<{
206
+ mix: z.ZodObject<{
207
+ id: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
208
+ sampleRateHz: z.ZodLiteral<48000>;
209
+ audioChannels: z.ZodLiteral<2>;
210
+ audioCodec: z.ZodLiteral<"aac">;
211
+ bitrate: z.ZodLiteral<192000>;
212
+ peakPermille: z.ZodLiteral<950>;
213
+ duckingMusicPermille: z.ZodInt;
214
+ }, z.core.$strict>;
215
+ tracks: z.ZodArray<z.ZodObject<{
216
+ sourceInMs: z.ZodInt;
217
+ sourceOutMs: z.ZodInt;
218
+ startMs: z.ZodInt;
219
+ gainPermille: z.ZodInt;
220
+ source: z.ZodObject<{
221
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
222
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
223
+ purpose: z.ZodEnum<{
224
+ VOICEOVER: "VOICEOVER";
225
+ MUSIC: "MUSIC";
226
+ }>;
227
+ id: z.ZodUUID;
228
+ audioId: z.ZodUUID;
229
+ projectId: z.ZodUUID;
230
+ version: z.ZodInt;
231
+ artifactId: z.ZodUUID;
232
+ original: z.ZodObject<{
233
+ id: z.ZodUUID;
234
+ checksumSha256: z.ZodString;
235
+ byteSize: z.ZodInt;
236
+ }, z.core.$strict>;
237
+ media: z.ZodObject<{
238
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
239
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
240
+ sampleRateHz: z.ZodLiteral<48000>;
241
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
242
+ sampleCount: z.ZodInt;
243
+ durationMs: z.ZodInt;
244
+ }, z.core.$strict>;
245
+ originalName: z.ZodNullable<z.ZodString>;
246
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
247
+ createdByPrincipalId: z.ZodUUID;
248
+ createdAt: z.ZodISODateTime;
249
+ generation: z.ZodOptional<z.ZodObject<{
250
+ generationId: z.ZodUUID;
251
+ executionClass: z.ZodEnum<{
252
+ LIVE: "LIVE";
253
+ TEST_ONLY: "TEST_ONLY";
254
+ }>;
255
+ sourceArtifactId: z.ZodUUID;
256
+ sourceRepresentationId: z.ZodUUID;
257
+ sourceChecksumSha256: z.ZodString;
258
+ sourceByteSize: z.ZodInt;
259
+ sourceMedia: z.ZodObject<{
260
+ sampleRateHz: z.ZodInt;
261
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
262
+ sampleCount: z.ZodInt;
263
+ }, z.core.$strict>;
264
+ normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
265
+ padSamples: z.ZodInt;
266
+ }, z.core.$strict>>;
267
+ }, z.core.$strict>;
268
+ }, z.core.$strict>>;
269
+ }, z.core.$strict>>;
270
+ graphics: z.ZodOptional<z.ZodArray<z.ZodObject<{
271
+ source: z.ZodObject<{
272
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
273
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
274
+ productionId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
275
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
276
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
277
+ checksumSha256: z.ZodString;
278
+ contentType: z.ZodEnum<{
279
+ "image/png": "image/png";
280
+ "image/webp": "image/webp";
281
+ }>;
282
+ byteSize: z.ZodInt;
283
+ width: z.ZodInt;
284
+ height: z.ZodInt;
285
+ }, z.core.$strict>;
286
+ placement: z.ZodObject<{
287
+ startFrame: z.ZodInt;
288
+ endFrame: z.ZodInt;
289
+ anchor: z.ZodEnum<{
290
+ TOP_LEFT: "TOP_LEFT";
291
+ TOP_RIGHT: "TOP_RIGHT";
292
+ BOTTOM_LEFT: "BOTTOM_LEFT";
293
+ BOTTOM_RIGHT: "BOTTOM_RIGHT";
294
+ }>;
295
+ widthPermille: z.ZodInt;
296
+ marginXPermille: z.ZodInt;
297
+ marginYPermille: z.ZodInt;
298
+ opacityPermille: z.ZodInt;
299
+ }, z.core.$strict>;
300
+ }, z.core.$strict>>>;
301
+ basis: z.ZodObject<{
302
+ briefVersionId: z.core.$ZodBranded<z.ZodUUID, "BriefVersionId", "out">;
303
+ briefVersion: z.ZodInt;
304
+ storyVersion: z.ZodInt;
305
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
306
+ planVersion: z.ZodInt;
307
+ }, z.core.$strict>;
308
+ output: z.ZodObject<{
309
+ aspectRatio: z.ZodEnum<{
310
+ "16:9": "16:9";
311
+ "9:16": "9:16";
312
+ }>;
313
+ profile: z.ZodEnum<{
314
+ MP4_H264_1080P: "MP4_H264_1080P";
315
+ MP4_H264_720P: "MP4_H264_720P";
316
+ MP4_H264_480P: "MP4_H264_480P";
317
+ }>;
318
+ }, z.core.$strict>;
319
+ duration: z.ZodObject<{
320
+ totalMs: z.ZodInt;
321
+ targetMs: z.ZodInt;
322
+ minMs: z.ZodLiteral<30000>;
323
+ maxMs: z.ZodLiteral<60000>;
324
+ deltaTargetMs: z.ZodInt;
325
+ classification: z.ZodEnum<{
326
+ TOO_SHORT: "TOO_SHORT";
327
+ WITHIN_TARGET: "WITHIN_TARGET";
328
+ TOO_LONG: "TOO_LONG";
329
+ }>;
330
+ }, z.core.$strict>;
331
+ missingPlannedShotIds: z.ZodArray<z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">>;
332
+ executionClass: z.ZodEnum<{
333
+ LIVE: "LIVE";
334
+ TEST_ONLY: "TEST_ONLY";
335
+ }>;
336
+ schemaVersion: z.ZodLiteral<2>;
337
+ clips: z.ZodArray<z.ZodObject<{
338
+ ordinal: z.ZodInt;
339
+ technical: z.ZodObject<{
340
+ contentType: z.ZodLiteral<"video/mp4">;
341
+ checksumSha256: z.ZodString;
342
+ byteSize: z.ZodInt;
343
+ width: z.ZodInt;
344
+ height: z.ZodInt;
345
+ durationMs: z.ZodInt;
346
+ frameRate: z.ZodNumber;
347
+ videoCodec: z.ZodEnum<{
348
+ h264: "h264";
349
+ hevc: "hevc";
350
+ }>;
351
+ pixelFormat: z.ZodOptional<z.ZodLiteral<"yuv420p10le">>;
352
+ hasAudio: z.ZodBoolean;
353
+ nativeAudio: z.ZodOptional<z.ZodObject<{
354
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
355
+ sourceCodec: z.ZodLiteral<"aac">;
356
+ sourceSampleRateHz: z.ZodInt;
357
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
358
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
359
+ sourceFrameCount: z.ZodInt;
360
+ sourceStartOffsetMs: z.ZodNumber;
361
+ sourceDeclaredDurationMs: z.ZodNumber;
362
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
363
+ media: z.ZodObject<{
364
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
365
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
366
+ sampleRateHz: z.ZodLiteral<48000>;
367
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
368
+ sampleCount: z.ZodInt;
369
+ durationMs: z.ZodNumber;
370
+ }, z.core.$strict>;
371
+ checksumSha256: z.ZodString;
372
+ }, z.core.$strict>>;
373
+ }, z.core.$strict>;
374
+ sourceInMs: z.ZodInt;
375
+ sourceOutMs: z.ZodInt;
376
+ startMs: z.ZodInt;
377
+ durationMs: z.ZodInt;
378
+ transition: z.ZodUnion<readonly [z.ZodLiteral<"CUT">, z.ZodObject<{
379
+ kind: z.ZodLiteral<"CROSS_DISSOLVE_V1">;
380
+ durationFrames: z.ZodInt;
381
+ }, z.core.$strict>]>;
382
+ framing: z.ZodOptional<z.ZodObject<{
383
+ algorithm: z.ZodLiteral<"CROP_PAD_V1">;
384
+ crop: z.ZodObject<{
385
+ x: z.ZodInt;
386
+ y: z.ZodInt;
387
+ width: z.ZodInt;
388
+ height: z.ZodInt;
389
+ }, z.core.$strict>;
390
+ anchorXPermille: z.ZodInt;
391
+ anchorYPermille: z.ZodInt;
392
+ }, z.core.$strict>>;
393
+ source: z.ZodUnion<readonly [z.ZodObject<{
394
+ acceptanceId: z.ZodUUID;
395
+ reviewId: z.ZodUUID;
396
+ generationId: z.ZodUUID;
397
+ candidateId: z.ZodUUID;
398
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
399
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
400
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
401
+ checksumSha256: z.ZodString;
402
+ artifactChecksumSha256: z.ZodString;
403
+ preparationId: z.ZodUUID;
404
+ contractId: z.ZodUUID;
405
+ contractFingerprint: z.ZodString;
406
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
407
+ planVersion: z.ZodInt;
408
+ shotPlanningRevision: z.ZodInt;
409
+ executionClass: z.ZodEnum<{
410
+ LIVE: "LIVE";
411
+ TEST_ONLY: "TEST_ONLY";
412
+ }>;
413
+ reviewResult: z.ZodEnum<{
414
+ PASS: "PASS";
415
+ WARNING: "WARNING";
416
+ }>;
417
+ }, z.core.$strict>, z.ZodObject<{
418
+ sourceKind: z.ZodLiteral<"PROGRAMMATIC">;
419
+ acceptanceId: z.ZodUUID;
420
+ reviewId: z.ZodUUID;
421
+ renderId: z.ZodUUID;
422
+ compositionId: z.ZodUUID;
423
+ compositionVersionId: z.ZodUUID;
424
+ compositionVersion: z.ZodInt;
425
+ compositionFingerprint: z.ZodString;
426
+ renderManifestFingerprint: z.ZodString;
427
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
428
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
429
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
430
+ checksumSha256: z.ZodString;
431
+ artifactChecksumSha256: z.ZodString;
432
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
433
+ planVersion: z.ZodInt;
434
+ shotPlanningRevision: z.ZodInt;
435
+ executionClass: z.ZodEnum<{
436
+ LIVE: "LIVE";
437
+ TEST_ONLY: "TEST_ONLY";
438
+ }>;
439
+ reviewResult: z.ZodEnum<{
440
+ PASS: "PASS";
441
+ WARNING: "WARNING";
442
+ }>;
443
+ }, z.core.$strict>, z.ZodObject<{
444
+ sourceKind: z.ZodLiteral<"IMPORTED">;
445
+ acceptanceId: z.ZodUUID;
446
+ reviewId: z.ZodUUID;
447
+ normalizationId: z.ZodUUID;
448
+ sourceId: z.ZodUUID;
449
+ sourceVersionId: z.ZodUUID;
450
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
451
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
452
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
453
+ checksumSha256: z.ZodString;
454
+ executionClass: z.ZodEnum<{
455
+ LIVE: "LIVE";
456
+ TEST_ONLY: "TEST_ONLY";
457
+ }>;
458
+ reviewResult: z.ZodEnum<{
459
+ PASS: "PASS";
460
+ WARNING: "WARNING";
461
+ }>;
462
+ }, z.core.$strict>]>;
463
+ }, z.core.$strict>>;
464
+ sourceSound: z.ZodOptional<z.ZodObject<{
465
+ schemaVersion: z.ZodLiteral<1>;
466
+ soundPlanVersionId: z.ZodUUID;
467
+ soundPlanFingerprint: z.ZodString;
468
+ plannedCues: z.ZodArray<z.ZodObject<{
469
+ id: z.ZodString;
470
+ role: z.ZodEnum<{
471
+ MUSIC: "MUSIC";
472
+ NARRATION: "NARRATION";
473
+ DIALOGUE: "DIALOGUE";
474
+ AMBIENCE: "AMBIENCE";
475
+ SOUND_EFFECT: "SOUND_EFFECT";
476
+ }>;
477
+ source: z.ZodEnum<{
478
+ TTS: "TTS";
479
+ NATIVE_VIDEO: "NATIVE_VIDEO";
480
+ IMPORTED_AUDIO: "IMPORTED_AUDIO";
481
+ EXISTING_AUDIO: "EXISTING_AUDIO";
482
+ }>;
483
+ shotIds: z.ZodArray<z.ZodUUID>;
484
+ startMs: z.ZodInt;
485
+ endMs: z.ZodInt;
486
+ text: z.ZodOptional<z.ZodString>;
487
+ voice: z.ZodOptional<z.ZodString>;
488
+ model: z.ZodOptional<z.ZodObject<{
489
+ modelProfileId: z.ZodString;
490
+ modelProfileVersion: z.ZodInt;
491
+ connectionId: z.ZodUUID;
492
+ }, z.core.$strict>>;
493
+ 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>]>>>;
494
+ audio: z.ZodOptional<z.ZodObject<{
495
+ purpose: z.ZodEnum<{
496
+ VOICEOVER: "VOICEOVER";
497
+ MUSIC: "MUSIC";
498
+ }>;
499
+ versionId: z.ZodUUID;
500
+ }, z.core.$strict>>;
501
+ lipSync: z.ZodEnum<{
502
+ NONE: "NONE";
503
+ REQUIRED: "REQUIRED";
504
+ }>;
505
+ exactSpeech: z.ZodBoolean;
506
+ }, z.core.$strict>>;
507
+ mix: z.ZodObject<{
508
+ id: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
509
+ sampleRateHz: z.ZodLiteral<48000>;
510
+ audioChannels: z.ZodLiteral<2>;
511
+ audioCodec: z.ZodLiteral<"aac">;
512
+ bitrate: z.ZodLiteral<192000>;
513
+ peakPermille: z.ZodLiteral<950>;
514
+ duckingMusicPermille: z.ZodInt;
515
+ }, z.core.$strict>;
516
+ clips: z.ZodArray<z.ZodObject<{
517
+ ordinal: z.ZodInt;
518
+ treatment: z.ZodObject<{
519
+ policy: z.ZodEnum<{
520
+ KEEP: "KEEP";
521
+ MUTE: "MUTE";
522
+ DUCK: "DUCK";
523
+ }>;
524
+ gainPermille: z.ZodInt;
525
+ duckingPermille: z.ZodInt;
526
+ }, z.core.$strict>;
527
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
528
+ kind: z.ZodLiteral<"NATIVE_GENERATED">;
529
+ version: z.ZodObject<{
530
+ id: z.ZodUUID;
531
+ tenantId: z.ZodUUID;
532
+ projectId: z.ZodUUID;
533
+ productionId: z.ZodUUID;
534
+ shotId: z.ZodUUID;
535
+ generationId: z.ZodUUID;
536
+ videoArtifactId: z.ZodUUID;
537
+ videoRepresentationId: z.ZodUUID;
538
+ videoChecksumSha256: z.ZodString;
539
+ artifactId: z.ZodUUID;
540
+ representationId: z.ZodUUID;
541
+ checksumSha256: z.ZodString;
542
+ byteSize: z.ZodInt;
543
+ metadata: z.ZodObject<{
544
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
545
+ sourceCodec: z.ZodLiteral<"aac">;
546
+ sourceSampleRateHz: z.ZodInt;
547
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
548
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
549
+ sourceFrameCount: z.ZodInt;
550
+ sourceStartOffsetMs: z.ZodNumber;
551
+ sourceDeclaredDurationMs: z.ZodNumber;
552
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
553
+ media: z.ZodObject<{
554
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
555
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
556
+ sampleRateHz: z.ZodLiteral<48000>;
557
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
558
+ sampleCount: z.ZodInt;
559
+ durationMs: z.ZodNumber;
560
+ }, z.core.$strict>;
561
+ checksumSha256: z.ZodString;
562
+ }, z.core.$strict>;
563
+ executionClass: z.ZodEnum<{
564
+ LIVE: "LIVE";
565
+ TEST_ONLY: "TEST_ONLY";
566
+ }>;
567
+ }, z.core.$strict>;
568
+ }, z.core.$strict>, z.ZodObject<{
569
+ kind: z.ZodLiteral<"IMPORTED_SYNC">;
570
+ version: z.ZodObject<{
571
+ schemaVersion: z.ZodLiteral<1>;
572
+ purpose: z.ZodLiteral<"SOURCE_SYNC">;
573
+ id: z.ZodUUID;
574
+ audioId: z.ZodUUID;
575
+ version: z.ZodInt;
576
+ tenantId: z.ZodUUID;
577
+ projectId: z.ZodUUID;
578
+ productionId: z.ZodUUID;
579
+ shotId: z.ZodUUID;
580
+ normalizationId: z.ZodUUID;
581
+ artifactId: z.ZodUUID;
582
+ representationId: z.ZodUUID;
583
+ provenance: z.ZodObject<{
584
+ schemaVersion: z.ZodLiteral<1>;
585
+ purpose: z.ZodLiteral<"SOURCE_SYNC">;
586
+ tenantId: z.ZodUUID;
587
+ projectId: z.ZodUUID;
588
+ productionId: z.ZodUUID;
589
+ shotId: z.ZodUUID;
590
+ sourceId: z.ZodUUID;
591
+ sourceVersionId: z.ZodUUID;
592
+ normalizationId: z.ZodUUID;
593
+ originalArtifactId: z.ZodUUID;
594
+ originalRepresentationId: z.ZodUUID;
595
+ originalChecksumSha256: z.ZodString;
596
+ sourceRange: z.ZodObject<{
597
+ clock: z.ZodLiteral<"SOURCE_ZERO_BASED_CFR30">;
598
+ startFrame: z.ZodInt;
599
+ endFrame: z.ZodInt;
600
+ }, z.core.$strict>;
601
+ destinationStartSample: z.ZodInt;
602
+ media: z.ZodUnion<readonly [z.ZodObject<{
603
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
604
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
605
+ sampleRateHz: z.ZodLiteral<48000>;
606
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
607
+ sampleCount: z.ZodInt;
608
+ durationMs: z.ZodInt;
609
+ }, z.core.$strict>, z.ZodObject<{
610
+ profile: z.ZodLiteral<"PCM_S16LE_48000_SOURCE_SYNC_V1">;
611
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
612
+ sampleRateHz: z.ZodLiteral<48000>;
613
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
614
+ sampleCount: z.ZodInt;
615
+ durationMs: z.ZodNumber;
616
+ }, z.core.$strict>]>;
617
+ wavChecksumSha256: z.ZodString;
618
+ wavByteSize: z.ZodInt;
619
+ }, z.core.$strict>;
620
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
621
+ executionClass: z.ZodEnum<{
622
+ LIVE: "LIVE";
623
+ TEST_ONLY: "TEST_ONLY";
624
+ }>;
625
+ createdByPrincipalId: z.ZodUUID;
626
+ createdAt: z.ZodISODateTime;
627
+ }, z.core.$strict>;
628
+ }, z.core.$strict>], "kind">>;
629
+ sourceInSample: z.ZodInt;
630
+ sourceOutSample: z.ZodInt;
631
+ startSample: z.ZodInt;
632
+ outputSampleCount: z.ZodInt;
633
+ }, z.core.$strict>>;
634
+ speechCues: z.ZodArray<z.ZodObject<{
635
+ cueId: z.ZodString;
636
+ source: z.ZodObject<{
637
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
638
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
639
+ purpose: z.ZodEnum<{
640
+ VOICEOVER: "VOICEOVER";
641
+ MUSIC: "MUSIC";
642
+ }>;
643
+ id: z.ZodUUID;
644
+ audioId: z.ZodUUID;
645
+ projectId: z.ZodUUID;
646
+ version: z.ZodInt;
647
+ artifactId: z.ZodUUID;
648
+ original: z.ZodObject<{
649
+ id: z.ZodUUID;
650
+ checksumSha256: z.ZodString;
651
+ byteSize: z.ZodInt;
652
+ }, z.core.$strict>;
653
+ media: z.ZodObject<{
654
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
655
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
656
+ sampleRateHz: z.ZodLiteral<48000>;
657
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
658
+ sampleCount: z.ZodInt;
659
+ durationMs: z.ZodInt;
660
+ }, z.core.$strict>;
661
+ originalName: z.ZodNullable<z.ZodString>;
662
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
663
+ createdByPrincipalId: z.ZodUUID;
664
+ createdAt: z.ZodISODateTime;
665
+ generation: z.ZodOptional<z.ZodObject<{
666
+ generationId: z.ZodUUID;
667
+ executionClass: z.ZodEnum<{
668
+ LIVE: "LIVE";
669
+ TEST_ONLY: "TEST_ONLY";
670
+ }>;
671
+ sourceArtifactId: z.ZodUUID;
672
+ sourceRepresentationId: z.ZodUUID;
673
+ sourceChecksumSha256: z.ZodString;
674
+ sourceByteSize: z.ZodInt;
675
+ sourceMedia: z.ZodObject<{
676
+ sampleRateHz: z.ZodInt;
677
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
678
+ sampleCount: z.ZodInt;
679
+ }, z.core.$strict>;
680
+ normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
681
+ padSamples: z.ZodInt;
682
+ }, z.core.$strict>>;
683
+ }, z.core.$strict>;
684
+ sourceInMs: z.ZodLiteral<0>;
685
+ sourceOutMs: z.ZodInt;
686
+ startMs: z.ZodInt;
687
+ gainPermille: z.ZodLiteral<1000>;
688
+ }, z.core.$strict>>;
689
+ }, z.core.$strict>>;
690
+ }, z.core.$strict>;
691
+ export declare const TimelineV2VersionSchema: z.ZodObject<{
692
+ caption: z.ZodOptional<z.ZodObject<{
693
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
694
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
695
+ transcriptProvenance: z.ZodOptional<z.ZodObject<{
696
+ schemaVersion: z.ZodLiteral<1>;
697
+ advisory: z.ZodLiteral<true>;
698
+ timing: z.ZodLiteral<"PROVIDER_REPORTED">;
699
+ timelineVersionId: z.ZodUUID;
700
+ timingFingerprint: z.ZodString;
701
+ sources: z.ZodArray<z.ZodObject<{
702
+ observationId: z.ZodUUID;
703
+ artifactId: z.ZodUUID;
704
+ representationId: z.ZodUUID;
705
+ checksumSha256: z.ZodString;
706
+ placement: z.ZodDiscriminatedUnion<[z.ZodObject<{
707
+ kind: z.ZodLiteral<"AUDIO_TRACK">;
708
+ purpose: z.ZodEnum<{
709
+ VOICEOVER: "VOICEOVER";
710
+ MUSIC: "MUSIC";
711
+ }>;
712
+ }, z.core.$strict>, z.ZodObject<{
713
+ kind: z.ZodLiteral<"SPEECH_CUE">;
714
+ cueId: z.ZodString;
715
+ }, z.core.$strict>, z.ZodObject<{
716
+ kind: z.ZodLiteral<"TIMELINE_OUTPUT">;
717
+ }, z.core.$strict>], "kind">;
718
+ granularity: z.ZodEnum<{
719
+ word: "word";
720
+ segment: "segment";
721
+ }>;
722
+ sourceInMs: z.ZodInt;
723
+ sourceOutMs: z.ZodInt;
724
+ startMs: z.ZodInt;
725
+ spanIndices: z.ZodArray<z.ZodInt>;
726
+ excludedSpans: z.ZodInt;
727
+ }, z.core.$strict>>;
728
+ }, z.core.$strict>>;
729
+ id: z.ZodUUID;
730
+ captionId: z.ZodUUID;
731
+ projectId: z.ZodUUID;
732
+ version: z.ZodInt;
733
+ artifactId: z.ZodUUID;
734
+ content: z.ZodObject<{
735
+ language: z.ZodString;
736
+ durationMs: z.ZodInt;
737
+ cues: z.ZodArray<z.ZodObject<{
738
+ startMs: z.ZodInt;
739
+ endMs: z.ZodInt;
740
+ text: z.ZodString;
741
+ }, z.core.$strict>>;
742
+ }, z.core.$strict>;
743
+ fingerprint: z.ZodString;
744
+ original: z.ZodObject<{
745
+ id: z.ZodUUID;
746
+ checksumSha256: z.ZodString;
747
+ byteSize: z.ZodInt;
748
+ }, z.core.$strict>;
749
+ subtitle: z.ZodObject<{
750
+ id: z.ZodUUID;
751
+ checksumSha256: z.ZodString;
752
+ byteSize: z.ZodInt;
753
+ }, z.core.$strict>;
754
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
755
+ createdByPrincipalId: z.ZodUUID;
756
+ createdAt: z.ZodISODateTime;
757
+ }, z.core.$strict>>;
758
+ captionStyle: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
759
+ id: z.ZodLiteral<"PLAIN_TEXT_NOTO_SANS_SC_V1">;
760
+ fontSha256: z.ZodLiteral<"a3041811a78c361b1de50f953c805e0244951c21c5bd412f7232ef0d899af0da">;
761
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
762
+ }, z.core.$strict>, z.ZodObject<{
763
+ id: z.ZodLiteral<"PLAIN_TEXT_NATIVE_SC_REGULAR_V2">;
764
+ fontSha256: z.ZodLiteral<"e5a51f41fc1b827da651afee3975e07a182ff4f8e04d9dfc0a3cecd6177a52b6">;
765
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
766
+ }, z.core.$strict>], "id">>;
767
+ audio: z.ZodOptional<z.ZodObject<{
768
+ mix: z.ZodObject<{
769
+ id: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
770
+ sampleRateHz: z.ZodLiteral<48000>;
771
+ audioChannels: z.ZodLiteral<2>;
772
+ audioCodec: z.ZodLiteral<"aac">;
773
+ bitrate: z.ZodLiteral<192000>;
774
+ peakPermille: z.ZodLiteral<950>;
775
+ duckingMusicPermille: z.ZodInt;
776
+ }, z.core.$strict>;
777
+ tracks: z.ZodArray<z.ZodObject<{
778
+ sourceInMs: z.ZodInt;
779
+ sourceOutMs: z.ZodInt;
780
+ startMs: z.ZodInt;
781
+ gainPermille: z.ZodInt;
782
+ source: z.ZodObject<{
783
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
784
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
785
+ purpose: z.ZodEnum<{
786
+ VOICEOVER: "VOICEOVER";
787
+ MUSIC: "MUSIC";
788
+ }>;
789
+ id: z.ZodUUID;
790
+ audioId: z.ZodUUID;
791
+ projectId: z.ZodUUID;
792
+ version: z.ZodInt;
793
+ artifactId: z.ZodUUID;
794
+ original: z.ZodObject<{
795
+ id: z.ZodUUID;
796
+ checksumSha256: z.ZodString;
797
+ byteSize: z.ZodInt;
798
+ }, z.core.$strict>;
799
+ media: z.ZodObject<{
800
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
801
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
802
+ sampleRateHz: z.ZodLiteral<48000>;
803
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
804
+ sampleCount: z.ZodInt;
805
+ durationMs: z.ZodInt;
806
+ }, z.core.$strict>;
807
+ originalName: z.ZodNullable<z.ZodString>;
808
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
809
+ createdByPrincipalId: z.ZodUUID;
810
+ createdAt: z.ZodISODateTime;
811
+ generation: z.ZodOptional<z.ZodObject<{
812
+ generationId: z.ZodUUID;
813
+ executionClass: z.ZodEnum<{
814
+ LIVE: "LIVE";
815
+ TEST_ONLY: "TEST_ONLY";
816
+ }>;
817
+ sourceArtifactId: z.ZodUUID;
818
+ sourceRepresentationId: z.ZodUUID;
819
+ sourceChecksumSha256: z.ZodString;
820
+ sourceByteSize: z.ZodInt;
821
+ sourceMedia: z.ZodObject<{
822
+ sampleRateHz: z.ZodInt;
823
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
824
+ sampleCount: z.ZodInt;
825
+ }, z.core.$strict>;
826
+ normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
827
+ padSamples: z.ZodInt;
828
+ }, z.core.$strict>>;
829
+ }, z.core.$strict>;
830
+ }, z.core.$strict>>;
831
+ }, z.core.$strict>>;
832
+ graphics: z.ZodOptional<z.ZodArray<z.ZodObject<{
833
+ source: z.ZodObject<{
834
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
835
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
836
+ productionId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
837
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
838
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
839
+ checksumSha256: z.ZodString;
840
+ contentType: z.ZodEnum<{
841
+ "image/png": "image/png";
842
+ "image/webp": "image/webp";
843
+ }>;
844
+ byteSize: z.ZodInt;
845
+ width: z.ZodInt;
846
+ height: z.ZodInt;
847
+ }, z.core.$strict>;
848
+ placement: z.ZodObject<{
849
+ startFrame: z.ZodInt;
850
+ endFrame: z.ZodInt;
851
+ anchor: z.ZodEnum<{
852
+ TOP_LEFT: "TOP_LEFT";
853
+ TOP_RIGHT: "TOP_RIGHT";
854
+ BOTTOM_LEFT: "BOTTOM_LEFT";
855
+ BOTTOM_RIGHT: "BOTTOM_RIGHT";
856
+ }>;
857
+ widthPermille: z.ZodInt;
858
+ marginXPermille: z.ZodInt;
859
+ marginYPermille: z.ZodInt;
860
+ opacityPermille: z.ZodInt;
861
+ }, z.core.$strict>;
862
+ }, z.core.$strict>>>;
863
+ basis: z.ZodObject<{
864
+ briefVersionId: z.core.$ZodBranded<z.ZodUUID, "BriefVersionId", "out">;
865
+ briefVersion: z.ZodInt;
866
+ storyVersion: z.ZodInt;
867
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
868
+ planVersion: z.ZodInt;
869
+ }, z.core.$strict>;
870
+ output: z.ZodObject<{
871
+ aspectRatio: z.ZodEnum<{
872
+ "16:9": "16:9";
873
+ "9:16": "9:16";
874
+ }>;
875
+ profile: z.ZodEnum<{
876
+ MP4_H264_1080P: "MP4_H264_1080P";
877
+ MP4_H264_720P: "MP4_H264_720P";
878
+ MP4_H264_480P: "MP4_H264_480P";
879
+ }>;
880
+ }, z.core.$strict>;
881
+ duration: z.ZodObject<{
882
+ totalMs: z.ZodInt;
883
+ targetMs: z.ZodInt;
884
+ minMs: z.ZodLiteral<30000>;
885
+ maxMs: z.ZodLiteral<60000>;
886
+ deltaTargetMs: z.ZodInt;
887
+ classification: z.ZodEnum<{
888
+ TOO_SHORT: "TOO_SHORT";
889
+ WITHIN_TARGET: "WITHIN_TARGET";
890
+ TOO_LONG: "TOO_LONG";
891
+ }>;
892
+ }, z.core.$strict>;
893
+ missingPlannedShotIds: z.ZodArray<z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">>;
894
+ executionClass: z.ZodEnum<{
895
+ LIVE: "LIVE";
896
+ TEST_ONLY: "TEST_ONLY";
897
+ }>;
898
+ schemaVersion: z.ZodLiteral<2>;
899
+ clips: z.ZodArray<z.ZodObject<{
900
+ ordinal: z.ZodInt;
901
+ technical: z.ZodObject<{
902
+ contentType: z.ZodLiteral<"video/mp4">;
903
+ checksumSha256: z.ZodString;
904
+ byteSize: z.ZodInt;
905
+ width: z.ZodInt;
906
+ height: z.ZodInt;
907
+ durationMs: z.ZodInt;
908
+ frameRate: z.ZodNumber;
909
+ videoCodec: z.ZodEnum<{
910
+ h264: "h264";
911
+ hevc: "hevc";
912
+ }>;
913
+ pixelFormat: z.ZodOptional<z.ZodLiteral<"yuv420p10le">>;
914
+ hasAudio: z.ZodBoolean;
915
+ nativeAudio: z.ZodOptional<z.ZodObject<{
916
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
917
+ sourceCodec: z.ZodLiteral<"aac">;
918
+ sourceSampleRateHz: z.ZodInt;
919
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
920
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
921
+ sourceFrameCount: z.ZodInt;
922
+ sourceStartOffsetMs: z.ZodNumber;
923
+ sourceDeclaredDurationMs: z.ZodNumber;
924
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
925
+ media: z.ZodObject<{
926
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
927
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
928
+ sampleRateHz: z.ZodLiteral<48000>;
929
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
930
+ sampleCount: z.ZodInt;
931
+ durationMs: z.ZodNumber;
932
+ }, z.core.$strict>;
933
+ checksumSha256: z.ZodString;
934
+ }, z.core.$strict>>;
935
+ }, z.core.$strict>;
936
+ sourceInMs: z.ZodInt;
937
+ sourceOutMs: z.ZodInt;
938
+ startMs: z.ZodInt;
939
+ durationMs: z.ZodInt;
940
+ transition: z.ZodUnion<readonly [z.ZodLiteral<"CUT">, z.ZodObject<{
941
+ kind: z.ZodLiteral<"CROSS_DISSOLVE_V1">;
942
+ durationFrames: z.ZodInt;
943
+ }, z.core.$strict>]>;
944
+ framing: z.ZodOptional<z.ZodObject<{
945
+ algorithm: z.ZodLiteral<"CROP_PAD_V1">;
946
+ crop: z.ZodObject<{
947
+ x: z.ZodInt;
948
+ y: z.ZodInt;
949
+ width: z.ZodInt;
950
+ height: z.ZodInt;
951
+ }, z.core.$strict>;
952
+ anchorXPermille: z.ZodInt;
953
+ anchorYPermille: z.ZodInt;
954
+ }, z.core.$strict>>;
955
+ source: z.ZodUnion<readonly [z.ZodObject<{
956
+ acceptanceId: z.ZodUUID;
957
+ reviewId: z.ZodUUID;
958
+ generationId: z.ZodUUID;
959
+ candidateId: z.ZodUUID;
960
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
961
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
962
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
963
+ checksumSha256: z.ZodString;
964
+ artifactChecksumSha256: z.ZodString;
965
+ preparationId: z.ZodUUID;
966
+ contractId: z.ZodUUID;
967
+ contractFingerprint: z.ZodString;
968
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
969
+ planVersion: z.ZodInt;
970
+ shotPlanningRevision: z.ZodInt;
971
+ executionClass: z.ZodEnum<{
972
+ LIVE: "LIVE";
973
+ TEST_ONLY: "TEST_ONLY";
974
+ }>;
975
+ reviewResult: z.ZodEnum<{
976
+ PASS: "PASS";
977
+ WARNING: "WARNING";
978
+ }>;
979
+ }, z.core.$strict>, z.ZodObject<{
980
+ sourceKind: z.ZodLiteral<"PROGRAMMATIC">;
981
+ acceptanceId: z.ZodUUID;
982
+ reviewId: z.ZodUUID;
983
+ renderId: z.ZodUUID;
984
+ compositionId: z.ZodUUID;
985
+ compositionVersionId: z.ZodUUID;
986
+ compositionVersion: z.ZodInt;
987
+ compositionFingerprint: z.ZodString;
988
+ renderManifestFingerprint: z.ZodString;
989
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
990
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
991
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
992
+ checksumSha256: z.ZodString;
993
+ artifactChecksumSha256: z.ZodString;
994
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
995
+ planVersion: z.ZodInt;
996
+ shotPlanningRevision: z.ZodInt;
997
+ executionClass: z.ZodEnum<{
998
+ LIVE: "LIVE";
999
+ TEST_ONLY: "TEST_ONLY";
1000
+ }>;
1001
+ reviewResult: z.ZodEnum<{
1002
+ PASS: "PASS";
1003
+ WARNING: "WARNING";
1004
+ }>;
1005
+ }, z.core.$strict>, z.ZodObject<{
1006
+ sourceKind: z.ZodLiteral<"IMPORTED">;
1007
+ acceptanceId: z.ZodUUID;
1008
+ reviewId: z.ZodUUID;
1009
+ normalizationId: z.ZodUUID;
1010
+ sourceId: z.ZodUUID;
1011
+ sourceVersionId: z.ZodUUID;
1012
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
1013
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
1014
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
1015
+ checksumSha256: z.ZodString;
1016
+ executionClass: z.ZodEnum<{
1017
+ LIVE: "LIVE";
1018
+ TEST_ONLY: "TEST_ONLY";
1019
+ }>;
1020
+ reviewResult: z.ZodEnum<{
1021
+ PASS: "PASS";
1022
+ WARNING: "WARNING";
1023
+ }>;
1024
+ }, z.core.$strict>]>;
1025
+ }, z.core.$strict>>;
1026
+ sourceSound: z.ZodOptional<z.ZodObject<{
1027
+ schemaVersion: z.ZodLiteral<1>;
1028
+ soundPlanVersionId: z.ZodUUID;
1029
+ soundPlanFingerprint: z.ZodString;
1030
+ plannedCues: z.ZodArray<z.ZodObject<{
1031
+ id: z.ZodString;
1032
+ role: z.ZodEnum<{
1033
+ MUSIC: "MUSIC";
1034
+ NARRATION: "NARRATION";
1035
+ DIALOGUE: "DIALOGUE";
1036
+ AMBIENCE: "AMBIENCE";
1037
+ SOUND_EFFECT: "SOUND_EFFECT";
1038
+ }>;
1039
+ source: z.ZodEnum<{
1040
+ TTS: "TTS";
1041
+ NATIVE_VIDEO: "NATIVE_VIDEO";
1042
+ IMPORTED_AUDIO: "IMPORTED_AUDIO";
1043
+ EXISTING_AUDIO: "EXISTING_AUDIO";
1044
+ }>;
1045
+ shotIds: z.ZodArray<z.ZodUUID>;
1046
+ startMs: z.ZodInt;
1047
+ endMs: z.ZodInt;
1048
+ text: z.ZodOptional<z.ZodString>;
1049
+ voice: z.ZodOptional<z.ZodString>;
1050
+ model: z.ZodOptional<z.ZodObject<{
1051
+ modelProfileId: z.ZodString;
1052
+ modelProfileVersion: z.ZodInt;
1053
+ connectionId: z.ZodUUID;
1054
+ }, z.core.$strict>>;
1055
+ 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>]>>>;
1056
+ audio: z.ZodOptional<z.ZodObject<{
1057
+ purpose: z.ZodEnum<{
1058
+ VOICEOVER: "VOICEOVER";
1059
+ MUSIC: "MUSIC";
1060
+ }>;
1061
+ versionId: z.ZodUUID;
1062
+ }, z.core.$strict>>;
1063
+ lipSync: z.ZodEnum<{
1064
+ NONE: "NONE";
1065
+ REQUIRED: "REQUIRED";
1066
+ }>;
1067
+ exactSpeech: z.ZodBoolean;
1068
+ }, z.core.$strict>>;
1069
+ mix: z.ZodObject<{
1070
+ id: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
1071
+ sampleRateHz: z.ZodLiteral<48000>;
1072
+ audioChannels: z.ZodLiteral<2>;
1073
+ audioCodec: z.ZodLiteral<"aac">;
1074
+ bitrate: z.ZodLiteral<192000>;
1075
+ peakPermille: z.ZodLiteral<950>;
1076
+ duckingMusicPermille: z.ZodInt;
1077
+ }, z.core.$strict>;
1078
+ clips: z.ZodArray<z.ZodObject<{
1079
+ ordinal: z.ZodInt;
1080
+ treatment: z.ZodObject<{
1081
+ policy: z.ZodEnum<{
1082
+ KEEP: "KEEP";
1083
+ MUTE: "MUTE";
1084
+ DUCK: "DUCK";
1085
+ }>;
1086
+ gainPermille: z.ZodInt;
1087
+ duckingPermille: z.ZodInt;
1088
+ }, z.core.$strict>;
1089
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1090
+ kind: z.ZodLiteral<"NATIVE_GENERATED">;
1091
+ version: z.ZodObject<{
1092
+ id: z.ZodUUID;
1093
+ tenantId: z.ZodUUID;
1094
+ projectId: z.ZodUUID;
1095
+ productionId: z.ZodUUID;
1096
+ shotId: z.ZodUUID;
1097
+ generationId: z.ZodUUID;
1098
+ videoArtifactId: z.ZodUUID;
1099
+ videoRepresentationId: z.ZodUUID;
1100
+ videoChecksumSha256: z.ZodString;
1101
+ artifactId: z.ZodUUID;
1102
+ representationId: z.ZodUUID;
1103
+ checksumSha256: z.ZodString;
1104
+ byteSize: z.ZodInt;
1105
+ metadata: z.ZodObject<{
1106
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
1107
+ sourceCodec: z.ZodLiteral<"aac">;
1108
+ sourceSampleRateHz: z.ZodInt;
1109
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1110
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
1111
+ sourceFrameCount: z.ZodInt;
1112
+ sourceStartOffsetMs: z.ZodNumber;
1113
+ sourceDeclaredDurationMs: z.ZodNumber;
1114
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
1115
+ media: z.ZodObject<{
1116
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
1117
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
1118
+ sampleRateHz: z.ZodLiteral<48000>;
1119
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1120
+ sampleCount: z.ZodInt;
1121
+ durationMs: z.ZodNumber;
1122
+ }, z.core.$strict>;
1123
+ checksumSha256: z.ZodString;
1124
+ }, z.core.$strict>;
1125
+ executionClass: z.ZodEnum<{
1126
+ LIVE: "LIVE";
1127
+ TEST_ONLY: "TEST_ONLY";
1128
+ }>;
1129
+ }, z.core.$strict>;
1130
+ }, z.core.$strict>, z.ZodObject<{
1131
+ kind: z.ZodLiteral<"IMPORTED_SYNC">;
1132
+ version: z.ZodObject<{
1133
+ schemaVersion: z.ZodLiteral<1>;
1134
+ purpose: z.ZodLiteral<"SOURCE_SYNC">;
1135
+ id: z.ZodUUID;
1136
+ audioId: z.ZodUUID;
1137
+ version: z.ZodInt;
1138
+ tenantId: z.ZodUUID;
1139
+ projectId: z.ZodUUID;
1140
+ productionId: z.ZodUUID;
1141
+ shotId: z.ZodUUID;
1142
+ normalizationId: z.ZodUUID;
1143
+ artifactId: z.ZodUUID;
1144
+ representationId: z.ZodUUID;
1145
+ provenance: z.ZodObject<{
1146
+ schemaVersion: z.ZodLiteral<1>;
1147
+ purpose: z.ZodLiteral<"SOURCE_SYNC">;
1148
+ tenantId: z.ZodUUID;
1149
+ projectId: z.ZodUUID;
1150
+ productionId: z.ZodUUID;
1151
+ shotId: z.ZodUUID;
1152
+ sourceId: z.ZodUUID;
1153
+ sourceVersionId: z.ZodUUID;
1154
+ normalizationId: z.ZodUUID;
1155
+ originalArtifactId: z.ZodUUID;
1156
+ originalRepresentationId: z.ZodUUID;
1157
+ originalChecksumSha256: z.ZodString;
1158
+ sourceRange: z.ZodObject<{
1159
+ clock: z.ZodLiteral<"SOURCE_ZERO_BASED_CFR30">;
1160
+ startFrame: z.ZodInt;
1161
+ endFrame: z.ZodInt;
1162
+ }, z.core.$strict>;
1163
+ destinationStartSample: z.ZodInt;
1164
+ media: z.ZodUnion<readonly [z.ZodObject<{
1165
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
1166
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
1167
+ sampleRateHz: z.ZodLiteral<48000>;
1168
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1169
+ sampleCount: z.ZodInt;
1170
+ durationMs: z.ZodInt;
1171
+ }, z.core.$strict>, z.ZodObject<{
1172
+ profile: z.ZodLiteral<"PCM_S16LE_48000_SOURCE_SYNC_V1">;
1173
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
1174
+ sampleRateHz: z.ZodLiteral<48000>;
1175
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1176
+ sampleCount: z.ZodInt;
1177
+ durationMs: z.ZodNumber;
1178
+ }, z.core.$strict>]>;
1179
+ wavChecksumSha256: z.ZodString;
1180
+ wavByteSize: z.ZodInt;
1181
+ }, z.core.$strict>;
1182
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
1183
+ executionClass: z.ZodEnum<{
1184
+ LIVE: "LIVE";
1185
+ TEST_ONLY: "TEST_ONLY";
1186
+ }>;
1187
+ createdByPrincipalId: z.ZodUUID;
1188
+ createdAt: z.ZodISODateTime;
1189
+ }, z.core.$strict>;
1190
+ }, z.core.$strict>], "kind">>;
1191
+ sourceInSample: z.ZodInt;
1192
+ sourceOutSample: z.ZodInt;
1193
+ startSample: z.ZodInt;
1194
+ outputSampleCount: z.ZodInt;
1195
+ }, z.core.$strict>>;
1196
+ speechCues: z.ZodArray<z.ZodObject<{
1197
+ cueId: z.ZodString;
1198
+ source: z.ZodObject<{
1199
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
1200
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
1201
+ purpose: z.ZodEnum<{
1202
+ VOICEOVER: "VOICEOVER";
1203
+ MUSIC: "MUSIC";
1204
+ }>;
1205
+ id: z.ZodUUID;
1206
+ audioId: z.ZodUUID;
1207
+ projectId: z.ZodUUID;
1208
+ version: z.ZodInt;
1209
+ artifactId: z.ZodUUID;
1210
+ original: z.ZodObject<{
1211
+ id: z.ZodUUID;
1212
+ checksumSha256: z.ZodString;
1213
+ byteSize: z.ZodInt;
1214
+ }, z.core.$strict>;
1215
+ media: z.ZodObject<{
1216
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
1217
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
1218
+ sampleRateHz: z.ZodLiteral<48000>;
1219
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1220
+ sampleCount: z.ZodInt;
1221
+ durationMs: z.ZodInt;
1222
+ }, z.core.$strict>;
1223
+ originalName: z.ZodNullable<z.ZodString>;
1224
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
1225
+ createdByPrincipalId: z.ZodUUID;
1226
+ createdAt: z.ZodISODateTime;
1227
+ generation: z.ZodOptional<z.ZodObject<{
1228
+ generationId: z.ZodUUID;
1229
+ executionClass: z.ZodEnum<{
1230
+ LIVE: "LIVE";
1231
+ TEST_ONLY: "TEST_ONLY";
1232
+ }>;
1233
+ sourceArtifactId: z.ZodUUID;
1234
+ sourceRepresentationId: z.ZodUUID;
1235
+ sourceChecksumSha256: z.ZodString;
1236
+ sourceByteSize: z.ZodInt;
1237
+ sourceMedia: z.ZodObject<{
1238
+ sampleRateHz: z.ZodInt;
1239
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1240
+ sampleCount: z.ZodInt;
1241
+ }, z.core.$strict>;
1242
+ normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
1243
+ padSamples: z.ZodInt;
1244
+ }, z.core.$strict>>;
1245
+ }, z.core.$strict>;
1246
+ sourceInMs: z.ZodLiteral<0>;
1247
+ sourceOutMs: z.ZodInt;
1248
+ startMs: z.ZodInt;
1249
+ gainPermille: z.ZodLiteral<1000>;
1250
+ }, z.core.$strict>>;
1251
+ }, z.core.$strict>>;
1252
+ id: z.ZodUUID;
1253
+ timelineId: z.ZodUUID;
1254
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
1255
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
1256
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
1257
+ version: z.ZodInt;
1258
+ fingerprint: z.ZodString;
1259
+ createdByPrincipalId: z.core.$ZodBranded<z.ZodUUID, "PrincipalId", "out">;
1260
+ createdAt: z.ZodISODateTime;
1261
+ }, z.core.$strict>;
1262
+ export type TimelineV2Manifest = z.infer<typeof TimelineV2ManifestSchema>;
1263
+ export type TimelineV2Version = z.infer<typeof TimelineV2VersionSchema>;