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