@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,702 @@
1
+ import { z } from "zod";
2
+ export declare const TimelineDurationSchema: z.ZodObject<{
3
+ totalMs: z.ZodInt;
4
+ targetMs: z.ZodInt;
5
+ minMs: z.ZodLiteral<30000>;
6
+ maxMs: z.ZodLiteral<60000>;
7
+ deltaTargetMs: z.ZodInt;
8
+ classification: z.ZodEnum<{
9
+ TOO_SHORT: "TOO_SHORT";
10
+ WITHIN_TARGET: "WITHIN_TARGET";
11
+ TOO_LONG: "TOO_LONG";
12
+ }>;
13
+ }, z.core.$strict>;
14
+ export declare const TimelineClipSchema: z.ZodObject<{
15
+ ordinal: z.ZodInt;
16
+ source: z.ZodObject<{
17
+ acceptanceId: z.ZodUUID;
18
+ reviewId: z.ZodUUID;
19
+ generationId: z.ZodUUID;
20
+ candidateId: z.ZodUUID;
21
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
22
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
23
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
24
+ checksumSha256: z.ZodString;
25
+ artifactChecksumSha256: z.ZodString;
26
+ preparationId: z.ZodUUID;
27
+ contractId: z.ZodUUID;
28
+ contractFingerprint: z.ZodString;
29
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
30
+ planVersion: z.ZodInt;
31
+ shotPlanningRevision: z.ZodInt;
32
+ executionClass: z.ZodEnum<{
33
+ LIVE: "LIVE";
34
+ TEST_ONLY: "TEST_ONLY";
35
+ }>;
36
+ reviewResult: z.ZodEnum<{
37
+ PASS: "PASS";
38
+ WARNING: "WARNING";
39
+ }>;
40
+ }, z.core.$strict>;
41
+ technical: z.ZodObject<{
42
+ contentType: z.ZodLiteral<"video/mp4">;
43
+ checksumSha256: z.ZodString;
44
+ byteSize: z.ZodInt;
45
+ width: z.ZodInt;
46
+ height: z.ZodInt;
47
+ durationMs: z.ZodInt;
48
+ frameRate: z.ZodNumber;
49
+ videoCodec: z.ZodEnum<{
50
+ h264: "h264";
51
+ hevc: "hevc";
52
+ }>;
53
+ pixelFormat: z.ZodOptional<z.ZodLiteral<"yuv420p10le">>;
54
+ hasAudio: z.ZodBoolean;
55
+ nativeAudio: z.ZodOptional<z.ZodObject<{
56
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
57
+ sourceCodec: z.ZodLiteral<"aac">;
58
+ sourceSampleRateHz: z.ZodInt;
59
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
60
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
61
+ sourceFrameCount: z.ZodInt;
62
+ sourceStartOffsetMs: z.ZodNumber;
63
+ sourceDeclaredDurationMs: z.ZodNumber;
64
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
65
+ media: z.ZodObject<{
66
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
67
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
68
+ sampleRateHz: z.ZodLiteral<48000>;
69
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
70
+ sampleCount: z.ZodInt;
71
+ durationMs: z.ZodNumber;
72
+ }, z.core.$strict>;
73
+ checksumSha256: z.ZodString;
74
+ }, z.core.$strict>>;
75
+ }, z.core.$strict>;
76
+ sourceInMs: z.ZodInt;
77
+ sourceOutMs: z.ZodInt;
78
+ startMs: z.ZodInt;
79
+ durationMs: z.ZodInt;
80
+ transition: z.ZodUnion<readonly [z.ZodLiteral<"CUT">, z.ZodObject<{
81
+ kind: z.ZodLiteral<"CROSS_DISSOLVE_V1">;
82
+ durationFrames: z.ZodInt;
83
+ }, z.core.$strict>]>;
84
+ framing: z.ZodOptional<z.ZodObject<{
85
+ algorithm: z.ZodLiteral<"CROP_PAD_V1">;
86
+ crop: z.ZodObject<{
87
+ x: z.ZodInt;
88
+ y: z.ZodInt;
89
+ width: z.ZodInt;
90
+ height: z.ZodInt;
91
+ }, z.core.$strict>;
92
+ anchorXPermille: z.ZodInt;
93
+ anchorYPermille: z.ZodInt;
94
+ }, z.core.$strict>>;
95
+ }, z.core.$strict>;
96
+ export declare const TimelineManifestSchema: z.ZodObject<{
97
+ schemaVersion: z.ZodLiteral<1>;
98
+ caption: z.ZodOptional<z.ZodObject<{
99
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
100
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
101
+ transcriptProvenance: z.ZodOptional<z.ZodObject<{
102
+ schemaVersion: z.ZodLiteral<1>;
103
+ advisory: z.ZodLiteral<true>;
104
+ timing: z.ZodLiteral<"PROVIDER_REPORTED">;
105
+ timelineVersionId: z.ZodUUID;
106
+ timingFingerprint: z.ZodString;
107
+ sources: z.ZodArray<z.ZodObject<{
108
+ observationId: z.ZodUUID;
109
+ artifactId: z.ZodUUID;
110
+ representationId: z.ZodUUID;
111
+ checksumSha256: z.ZodString;
112
+ placement: z.ZodDiscriminatedUnion<[z.ZodObject<{
113
+ kind: z.ZodLiteral<"AUDIO_TRACK">;
114
+ purpose: z.ZodEnum<{
115
+ VOICEOVER: "VOICEOVER";
116
+ MUSIC: "MUSIC";
117
+ }>;
118
+ }, z.core.$strict>, z.ZodObject<{
119
+ kind: z.ZodLiteral<"SPEECH_CUE">;
120
+ cueId: z.ZodString;
121
+ }, z.core.$strict>, z.ZodObject<{
122
+ kind: z.ZodLiteral<"TIMELINE_OUTPUT">;
123
+ }, z.core.$strict>], "kind">;
124
+ granularity: z.ZodEnum<{
125
+ word: "word";
126
+ segment: "segment";
127
+ }>;
128
+ sourceInMs: z.ZodInt;
129
+ sourceOutMs: z.ZodInt;
130
+ startMs: z.ZodInt;
131
+ spanIndices: z.ZodArray<z.ZodInt>;
132
+ excludedSpans: z.ZodInt;
133
+ }, z.core.$strict>>;
134
+ }, z.core.$strict>>;
135
+ id: z.ZodUUID;
136
+ captionId: z.ZodUUID;
137
+ projectId: z.ZodUUID;
138
+ version: z.ZodInt;
139
+ artifactId: z.ZodUUID;
140
+ content: z.ZodObject<{
141
+ language: z.ZodString;
142
+ durationMs: z.ZodInt;
143
+ cues: z.ZodArray<z.ZodObject<{
144
+ startMs: z.ZodInt;
145
+ endMs: z.ZodInt;
146
+ text: z.ZodString;
147
+ }, z.core.$strict>>;
148
+ }, z.core.$strict>;
149
+ fingerprint: z.ZodString;
150
+ original: z.ZodObject<{
151
+ id: z.ZodUUID;
152
+ checksumSha256: z.ZodString;
153
+ byteSize: z.ZodInt;
154
+ }, z.core.$strict>;
155
+ subtitle: z.ZodObject<{
156
+ id: z.ZodUUID;
157
+ checksumSha256: z.ZodString;
158
+ byteSize: z.ZodInt;
159
+ }, z.core.$strict>;
160
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
161
+ createdByPrincipalId: z.ZodUUID;
162
+ createdAt: z.ZodISODateTime;
163
+ }, z.core.$strict>>;
164
+ captionStyle: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
165
+ id: z.ZodLiteral<"PLAIN_TEXT_NOTO_SANS_SC_V1">;
166
+ fontSha256: z.ZodLiteral<"a3041811a78c361b1de50f953c805e0244951c21c5bd412f7232ef0d899af0da">;
167
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
168
+ }, z.core.$strict>, z.ZodObject<{
169
+ id: z.ZodLiteral<"PLAIN_TEXT_NATIVE_SC_REGULAR_V2">;
170
+ fontSha256: z.ZodLiteral<"e5a51f41fc1b827da651afee3975e07a182ff4f8e04d9dfc0a3cecd6177a52b6">;
171
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
172
+ }, z.core.$strict>], "id">>;
173
+ audio: z.ZodOptional<z.ZodObject<{
174
+ mix: z.ZodObject<{
175
+ id: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
176
+ sampleRateHz: z.ZodLiteral<48000>;
177
+ audioChannels: z.ZodLiteral<2>;
178
+ audioCodec: z.ZodLiteral<"aac">;
179
+ bitrate: z.ZodLiteral<192000>;
180
+ peakPermille: z.ZodLiteral<950>;
181
+ duckingMusicPermille: z.ZodInt;
182
+ }, z.core.$strict>;
183
+ tracks: z.ZodArray<z.ZodObject<{
184
+ sourceInMs: z.ZodInt;
185
+ sourceOutMs: z.ZodInt;
186
+ startMs: z.ZodInt;
187
+ gainPermille: z.ZodInt;
188
+ source: z.ZodObject<{
189
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
190
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
191
+ purpose: z.ZodEnum<{
192
+ VOICEOVER: "VOICEOVER";
193
+ MUSIC: "MUSIC";
194
+ }>;
195
+ id: z.ZodUUID;
196
+ audioId: z.ZodUUID;
197
+ projectId: z.ZodUUID;
198
+ version: z.ZodInt;
199
+ artifactId: z.ZodUUID;
200
+ original: z.ZodObject<{
201
+ id: z.ZodUUID;
202
+ checksumSha256: z.ZodString;
203
+ byteSize: z.ZodInt;
204
+ }, z.core.$strict>;
205
+ media: z.ZodObject<{
206
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
207
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
208
+ sampleRateHz: z.ZodLiteral<48000>;
209
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
210
+ sampleCount: z.ZodInt;
211
+ durationMs: z.ZodInt;
212
+ }, z.core.$strict>;
213
+ originalName: z.ZodNullable<z.ZodString>;
214
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
215
+ createdByPrincipalId: z.ZodUUID;
216
+ createdAt: z.ZodISODateTime;
217
+ generation: z.ZodOptional<z.ZodObject<{
218
+ generationId: z.ZodUUID;
219
+ executionClass: z.ZodEnum<{
220
+ LIVE: "LIVE";
221
+ TEST_ONLY: "TEST_ONLY";
222
+ }>;
223
+ sourceArtifactId: z.ZodUUID;
224
+ sourceRepresentationId: z.ZodUUID;
225
+ sourceChecksumSha256: z.ZodString;
226
+ sourceByteSize: z.ZodInt;
227
+ sourceMedia: z.ZodObject<{
228
+ sampleRateHz: z.ZodInt;
229
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
230
+ sampleCount: z.ZodInt;
231
+ }, z.core.$strict>;
232
+ normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
233
+ padSamples: z.ZodInt;
234
+ }, z.core.$strict>>;
235
+ }, z.core.$strict>;
236
+ }, z.core.$strict>>;
237
+ }, z.core.$strict>>;
238
+ graphics: z.ZodOptional<z.ZodArray<z.ZodObject<{
239
+ source: z.ZodObject<{
240
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
241
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
242
+ productionId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
243
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
244
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
245
+ checksumSha256: z.ZodString;
246
+ contentType: z.ZodEnum<{
247
+ "image/png": "image/png";
248
+ "image/webp": "image/webp";
249
+ }>;
250
+ byteSize: z.ZodInt;
251
+ width: z.ZodInt;
252
+ height: z.ZodInt;
253
+ }, z.core.$strict>;
254
+ placement: z.ZodObject<{
255
+ startFrame: z.ZodInt;
256
+ endFrame: z.ZodInt;
257
+ anchor: z.ZodEnum<{
258
+ TOP_LEFT: "TOP_LEFT";
259
+ TOP_RIGHT: "TOP_RIGHT";
260
+ BOTTOM_LEFT: "BOTTOM_LEFT";
261
+ BOTTOM_RIGHT: "BOTTOM_RIGHT";
262
+ }>;
263
+ widthPermille: z.ZodInt;
264
+ marginXPermille: z.ZodInt;
265
+ marginYPermille: z.ZodInt;
266
+ opacityPermille: z.ZodInt;
267
+ }, z.core.$strict>;
268
+ }, z.core.$strict>>>;
269
+ basis: z.ZodObject<{
270
+ briefVersionId: z.core.$ZodBranded<z.ZodUUID, "BriefVersionId", "out">;
271
+ briefVersion: z.ZodInt;
272
+ storyVersion: z.ZodInt;
273
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
274
+ planVersion: z.ZodInt;
275
+ }, z.core.$strict>;
276
+ output: z.ZodObject<{
277
+ aspectRatio: z.ZodEnum<{
278
+ "16:9": "16:9";
279
+ "9:16": "9:16";
280
+ }>;
281
+ profile: z.ZodEnum<{
282
+ MP4_H264_1080P: "MP4_H264_1080P";
283
+ MP4_H264_720P: "MP4_H264_720P";
284
+ MP4_H264_480P: "MP4_H264_480P";
285
+ }>;
286
+ }, z.core.$strict>;
287
+ clips: z.ZodArray<z.ZodObject<{
288
+ ordinal: z.ZodInt;
289
+ source: z.ZodObject<{
290
+ acceptanceId: z.ZodUUID;
291
+ reviewId: z.ZodUUID;
292
+ generationId: z.ZodUUID;
293
+ candidateId: z.ZodUUID;
294
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
295
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
296
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
297
+ checksumSha256: z.ZodString;
298
+ artifactChecksumSha256: z.ZodString;
299
+ preparationId: z.ZodUUID;
300
+ contractId: z.ZodUUID;
301
+ contractFingerprint: z.ZodString;
302
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
303
+ planVersion: z.ZodInt;
304
+ shotPlanningRevision: z.ZodInt;
305
+ executionClass: z.ZodEnum<{
306
+ LIVE: "LIVE";
307
+ TEST_ONLY: "TEST_ONLY";
308
+ }>;
309
+ reviewResult: z.ZodEnum<{
310
+ PASS: "PASS";
311
+ WARNING: "WARNING";
312
+ }>;
313
+ }, z.core.$strict>;
314
+ technical: z.ZodObject<{
315
+ contentType: z.ZodLiteral<"video/mp4">;
316
+ checksumSha256: z.ZodString;
317
+ byteSize: z.ZodInt;
318
+ width: z.ZodInt;
319
+ height: z.ZodInt;
320
+ durationMs: z.ZodInt;
321
+ frameRate: z.ZodNumber;
322
+ videoCodec: z.ZodEnum<{
323
+ h264: "h264";
324
+ hevc: "hevc";
325
+ }>;
326
+ pixelFormat: z.ZodOptional<z.ZodLiteral<"yuv420p10le">>;
327
+ hasAudio: z.ZodBoolean;
328
+ nativeAudio: z.ZodOptional<z.ZodObject<{
329
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
330
+ sourceCodec: z.ZodLiteral<"aac">;
331
+ sourceSampleRateHz: z.ZodInt;
332
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
333
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
334
+ sourceFrameCount: z.ZodInt;
335
+ sourceStartOffsetMs: z.ZodNumber;
336
+ sourceDeclaredDurationMs: z.ZodNumber;
337
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
338
+ media: z.ZodObject<{
339
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
340
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
341
+ sampleRateHz: z.ZodLiteral<48000>;
342
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
343
+ sampleCount: z.ZodInt;
344
+ durationMs: z.ZodNumber;
345
+ }, z.core.$strict>;
346
+ checksumSha256: z.ZodString;
347
+ }, z.core.$strict>>;
348
+ }, z.core.$strict>;
349
+ sourceInMs: z.ZodInt;
350
+ sourceOutMs: z.ZodInt;
351
+ startMs: z.ZodInt;
352
+ durationMs: z.ZodInt;
353
+ transition: z.ZodUnion<readonly [z.ZodLiteral<"CUT">, z.ZodObject<{
354
+ kind: z.ZodLiteral<"CROSS_DISSOLVE_V1">;
355
+ durationFrames: z.ZodInt;
356
+ }, z.core.$strict>]>;
357
+ framing: z.ZodOptional<z.ZodObject<{
358
+ algorithm: z.ZodLiteral<"CROP_PAD_V1">;
359
+ crop: z.ZodObject<{
360
+ x: z.ZodInt;
361
+ y: z.ZodInt;
362
+ width: z.ZodInt;
363
+ height: z.ZodInt;
364
+ }, z.core.$strict>;
365
+ anchorXPermille: z.ZodInt;
366
+ anchorYPermille: z.ZodInt;
367
+ }, z.core.$strict>>;
368
+ }, z.core.$strict>>;
369
+ duration: z.ZodObject<{
370
+ totalMs: z.ZodInt;
371
+ targetMs: z.ZodInt;
372
+ minMs: z.ZodLiteral<30000>;
373
+ maxMs: z.ZodLiteral<60000>;
374
+ deltaTargetMs: z.ZodInt;
375
+ classification: z.ZodEnum<{
376
+ TOO_SHORT: "TOO_SHORT";
377
+ WITHIN_TARGET: "WITHIN_TARGET";
378
+ TOO_LONG: "TOO_LONG";
379
+ }>;
380
+ }, z.core.$strict>;
381
+ missingPlannedShotIds: z.ZodArray<z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">>;
382
+ executionClass: z.ZodEnum<{
383
+ LIVE: "LIVE";
384
+ TEST_ONLY: "TEST_ONLY";
385
+ }>;
386
+ }, z.core.$strict>;
387
+ export declare const TimelineVersionIdentityShape: {
388
+ id: z.ZodUUID;
389
+ timelineId: z.ZodUUID;
390
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
391
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
392
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
393
+ version: z.ZodInt;
394
+ fingerprint: z.ZodString;
395
+ createdByPrincipalId: z.core.$ZodBranded<z.ZodUUID, "PrincipalId", "out">;
396
+ createdAt: z.ZodISODateTime;
397
+ };
398
+ export declare function validateTimelineAttachments(timeline: Pick<z.infer<typeof TimelineManifestSchema>, "audio" | "caption" | "captionStyle" | "duration"> & {
399
+ tenantId: string;
400
+ projectId: string;
401
+ productionId: string;
402
+ }, context: z.RefinementCtx): void;
403
+ export declare const TimelineVersionSchema: z.ZodObject<{
404
+ schemaVersion: z.ZodLiteral<1>;
405
+ caption: z.ZodOptional<z.ZodObject<{
406
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
407
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
408
+ transcriptProvenance: z.ZodOptional<z.ZodObject<{
409
+ schemaVersion: z.ZodLiteral<1>;
410
+ advisory: z.ZodLiteral<true>;
411
+ timing: z.ZodLiteral<"PROVIDER_REPORTED">;
412
+ timelineVersionId: z.ZodUUID;
413
+ timingFingerprint: z.ZodString;
414
+ sources: z.ZodArray<z.ZodObject<{
415
+ observationId: z.ZodUUID;
416
+ artifactId: z.ZodUUID;
417
+ representationId: z.ZodUUID;
418
+ checksumSha256: z.ZodString;
419
+ placement: z.ZodDiscriminatedUnion<[z.ZodObject<{
420
+ kind: z.ZodLiteral<"AUDIO_TRACK">;
421
+ purpose: z.ZodEnum<{
422
+ VOICEOVER: "VOICEOVER";
423
+ MUSIC: "MUSIC";
424
+ }>;
425
+ }, z.core.$strict>, z.ZodObject<{
426
+ kind: z.ZodLiteral<"SPEECH_CUE">;
427
+ cueId: z.ZodString;
428
+ }, z.core.$strict>, z.ZodObject<{
429
+ kind: z.ZodLiteral<"TIMELINE_OUTPUT">;
430
+ }, z.core.$strict>], "kind">;
431
+ granularity: z.ZodEnum<{
432
+ word: "word";
433
+ segment: "segment";
434
+ }>;
435
+ sourceInMs: z.ZodInt;
436
+ sourceOutMs: z.ZodInt;
437
+ startMs: z.ZodInt;
438
+ spanIndices: z.ZodArray<z.ZodInt>;
439
+ excludedSpans: z.ZodInt;
440
+ }, z.core.$strict>>;
441
+ }, z.core.$strict>>;
442
+ id: z.ZodUUID;
443
+ captionId: z.ZodUUID;
444
+ projectId: z.ZodUUID;
445
+ version: z.ZodInt;
446
+ artifactId: z.ZodUUID;
447
+ content: z.ZodObject<{
448
+ language: z.ZodString;
449
+ durationMs: z.ZodInt;
450
+ cues: z.ZodArray<z.ZodObject<{
451
+ startMs: z.ZodInt;
452
+ endMs: z.ZodInt;
453
+ text: z.ZodString;
454
+ }, z.core.$strict>>;
455
+ }, z.core.$strict>;
456
+ fingerprint: z.ZodString;
457
+ original: z.ZodObject<{
458
+ id: z.ZodUUID;
459
+ checksumSha256: z.ZodString;
460
+ byteSize: z.ZodInt;
461
+ }, z.core.$strict>;
462
+ subtitle: z.ZodObject<{
463
+ id: z.ZodUUID;
464
+ checksumSha256: z.ZodString;
465
+ byteSize: z.ZodInt;
466
+ }, z.core.$strict>;
467
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
468
+ createdByPrincipalId: z.ZodUUID;
469
+ createdAt: z.ZodISODateTime;
470
+ }, z.core.$strict>>;
471
+ captionStyle: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
472
+ id: z.ZodLiteral<"PLAIN_TEXT_NOTO_SANS_SC_V1">;
473
+ fontSha256: z.ZodLiteral<"a3041811a78c361b1de50f953c805e0244951c21c5bd412f7232ef0d899af0da">;
474
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
475
+ }, z.core.$strict>, z.ZodObject<{
476
+ id: z.ZodLiteral<"PLAIN_TEXT_NATIVE_SC_REGULAR_V2">;
477
+ fontSha256: z.ZodLiteral<"e5a51f41fc1b827da651afee3975e07a182ff4f8e04d9dfc0a3cecd6177a52b6">;
478
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
479
+ }, z.core.$strict>], "id">>;
480
+ audio: z.ZodOptional<z.ZodObject<{
481
+ mix: z.ZodObject<{
482
+ id: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
483
+ sampleRateHz: z.ZodLiteral<48000>;
484
+ audioChannels: z.ZodLiteral<2>;
485
+ audioCodec: z.ZodLiteral<"aac">;
486
+ bitrate: z.ZodLiteral<192000>;
487
+ peakPermille: z.ZodLiteral<950>;
488
+ duckingMusicPermille: z.ZodInt;
489
+ }, z.core.$strict>;
490
+ tracks: z.ZodArray<z.ZodObject<{
491
+ sourceInMs: z.ZodInt;
492
+ sourceOutMs: z.ZodInt;
493
+ startMs: z.ZodInt;
494
+ gainPermille: z.ZodInt;
495
+ source: z.ZodObject<{
496
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
497
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
498
+ purpose: z.ZodEnum<{
499
+ VOICEOVER: "VOICEOVER";
500
+ MUSIC: "MUSIC";
501
+ }>;
502
+ id: z.ZodUUID;
503
+ audioId: z.ZodUUID;
504
+ projectId: z.ZodUUID;
505
+ version: z.ZodInt;
506
+ artifactId: z.ZodUUID;
507
+ original: z.ZodObject<{
508
+ id: z.ZodUUID;
509
+ checksumSha256: z.ZodString;
510
+ byteSize: z.ZodInt;
511
+ }, z.core.$strict>;
512
+ media: z.ZodObject<{
513
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
514
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
515
+ sampleRateHz: z.ZodLiteral<48000>;
516
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
517
+ sampleCount: z.ZodInt;
518
+ durationMs: z.ZodInt;
519
+ }, z.core.$strict>;
520
+ originalName: z.ZodNullable<z.ZodString>;
521
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
522
+ createdByPrincipalId: z.ZodUUID;
523
+ createdAt: z.ZodISODateTime;
524
+ generation: z.ZodOptional<z.ZodObject<{
525
+ generationId: z.ZodUUID;
526
+ executionClass: z.ZodEnum<{
527
+ LIVE: "LIVE";
528
+ TEST_ONLY: "TEST_ONLY";
529
+ }>;
530
+ sourceArtifactId: z.ZodUUID;
531
+ sourceRepresentationId: z.ZodUUID;
532
+ sourceChecksumSha256: z.ZodString;
533
+ sourceByteSize: z.ZodInt;
534
+ sourceMedia: z.ZodObject<{
535
+ sampleRateHz: z.ZodInt;
536
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
537
+ sampleCount: z.ZodInt;
538
+ }, z.core.$strict>;
539
+ normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
540
+ padSamples: z.ZodInt;
541
+ }, z.core.$strict>>;
542
+ }, z.core.$strict>;
543
+ }, z.core.$strict>>;
544
+ }, z.core.$strict>>;
545
+ graphics: z.ZodOptional<z.ZodArray<z.ZodObject<{
546
+ source: z.ZodObject<{
547
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
548
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
549
+ productionId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
550
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
551
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
552
+ checksumSha256: z.ZodString;
553
+ contentType: z.ZodEnum<{
554
+ "image/png": "image/png";
555
+ "image/webp": "image/webp";
556
+ }>;
557
+ byteSize: z.ZodInt;
558
+ width: z.ZodInt;
559
+ height: z.ZodInt;
560
+ }, z.core.$strict>;
561
+ placement: z.ZodObject<{
562
+ startFrame: z.ZodInt;
563
+ endFrame: z.ZodInt;
564
+ anchor: z.ZodEnum<{
565
+ TOP_LEFT: "TOP_LEFT";
566
+ TOP_RIGHT: "TOP_RIGHT";
567
+ BOTTOM_LEFT: "BOTTOM_LEFT";
568
+ BOTTOM_RIGHT: "BOTTOM_RIGHT";
569
+ }>;
570
+ widthPermille: z.ZodInt;
571
+ marginXPermille: z.ZodInt;
572
+ marginYPermille: z.ZodInt;
573
+ opacityPermille: z.ZodInt;
574
+ }, z.core.$strict>;
575
+ }, z.core.$strict>>>;
576
+ basis: z.ZodObject<{
577
+ briefVersionId: z.core.$ZodBranded<z.ZodUUID, "BriefVersionId", "out">;
578
+ briefVersion: z.ZodInt;
579
+ storyVersion: z.ZodInt;
580
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
581
+ planVersion: z.ZodInt;
582
+ }, z.core.$strict>;
583
+ output: z.ZodObject<{
584
+ aspectRatio: z.ZodEnum<{
585
+ "16:9": "16:9";
586
+ "9:16": "9:16";
587
+ }>;
588
+ profile: z.ZodEnum<{
589
+ MP4_H264_1080P: "MP4_H264_1080P";
590
+ MP4_H264_720P: "MP4_H264_720P";
591
+ MP4_H264_480P: "MP4_H264_480P";
592
+ }>;
593
+ }, z.core.$strict>;
594
+ clips: z.ZodArray<z.ZodObject<{
595
+ ordinal: z.ZodInt;
596
+ source: z.ZodObject<{
597
+ acceptanceId: z.ZodUUID;
598
+ reviewId: z.ZodUUID;
599
+ generationId: z.ZodUUID;
600
+ candidateId: z.ZodUUID;
601
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
602
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
603
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
604
+ checksumSha256: z.ZodString;
605
+ artifactChecksumSha256: z.ZodString;
606
+ preparationId: z.ZodUUID;
607
+ contractId: z.ZodUUID;
608
+ contractFingerprint: z.ZodString;
609
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
610
+ planVersion: z.ZodInt;
611
+ shotPlanningRevision: z.ZodInt;
612
+ executionClass: z.ZodEnum<{
613
+ LIVE: "LIVE";
614
+ TEST_ONLY: "TEST_ONLY";
615
+ }>;
616
+ reviewResult: z.ZodEnum<{
617
+ PASS: "PASS";
618
+ WARNING: "WARNING";
619
+ }>;
620
+ }, z.core.$strict>;
621
+ technical: z.ZodObject<{
622
+ contentType: z.ZodLiteral<"video/mp4">;
623
+ checksumSha256: z.ZodString;
624
+ byteSize: z.ZodInt;
625
+ width: z.ZodInt;
626
+ height: z.ZodInt;
627
+ durationMs: z.ZodInt;
628
+ frameRate: z.ZodNumber;
629
+ videoCodec: z.ZodEnum<{
630
+ h264: "h264";
631
+ hevc: "hevc";
632
+ }>;
633
+ pixelFormat: z.ZodOptional<z.ZodLiteral<"yuv420p10le">>;
634
+ hasAudio: z.ZodBoolean;
635
+ nativeAudio: z.ZodOptional<z.ZodObject<{
636
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
637
+ sourceCodec: z.ZodLiteral<"aac">;
638
+ sourceSampleRateHz: z.ZodInt;
639
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
640
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
641
+ sourceFrameCount: z.ZodInt;
642
+ sourceStartOffsetMs: z.ZodNumber;
643
+ sourceDeclaredDurationMs: z.ZodNumber;
644
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
645
+ media: z.ZodObject<{
646
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
647
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
648
+ sampleRateHz: z.ZodLiteral<48000>;
649
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
650
+ sampleCount: z.ZodInt;
651
+ durationMs: z.ZodNumber;
652
+ }, z.core.$strict>;
653
+ checksumSha256: z.ZodString;
654
+ }, z.core.$strict>>;
655
+ }, z.core.$strict>;
656
+ sourceInMs: z.ZodInt;
657
+ sourceOutMs: z.ZodInt;
658
+ startMs: z.ZodInt;
659
+ durationMs: z.ZodInt;
660
+ transition: z.ZodUnion<readonly [z.ZodLiteral<"CUT">, z.ZodObject<{
661
+ kind: z.ZodLiteral<"CROSS_DISSOLVE_V1">;
662
+ durationFrames: z.ZodInt;
663
+ }, z.core.$strict>]>;
664
+ framing: z.ZodOptional<z.ZodObject<{
665
+ algorithm: z.ZodLiteral<"CROP_PAD_V1">;
666
+ crop: z.ZodObject<{
667
+ x: z.ZodInt;
668
+ y: z.ZodInt;
669
+ width: z.ZodInt;
670
+ height: z.ZodInt;
671
+ }, z.core.$strict>;
672
+ anchorXPermille: z.ZodInt;
673
+ anchorYPermille: z.ZodInt;
674
+ }, z.core.$strict>>;
675
+ }, z.core.$strict>>;
676
+ duration: z.ZodObject<{
677
+ totalMs: z.ZodInt;
678
+ targetMs: z.ZodInt;
679
+ minMs: z.ZodLiteral<30000>;
680
+ maxMs: z.ZodLiteral<60000>;
681
+ deltaTargetMs: z.ZodInt;
682
+ classification: z.ZodEnum<{
683
+ TOO_SHORT: "TOO_SHORT";
684
+ WITHIN_TARGET: "WITHIN_TARGET";
685
+ TOO_LONG: "TOO_LONG";
686
+ }>;
687
+ }, z.core.$strict>;
688
+ missingPlannedShotIds: z.ZodArray<z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">>;
689
+ executionClass: z.ZodEnum<{
690
+ LIVE: "LIVE";
691
+ TEST_ONLY: "TEST_ONLY";
692
+ }>;
693
+ id: z.ZodUUID;
694
+ timelineId: z.ZodUUID;
695
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
696
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
697
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
698
+ version: z.ZodInt;
699
+ fingerprint: z.ZodString;
700
+ createdByPrincipalId: z.core.$ZodBranded<z.ZodUUID, "PrincipalId", "out">;
701
+ createdAt: z.ZodISODateTime;
702
+ }, z.core.$strict>;