@nativestudio/sdk 0.3.0-rc.2 → 0.3.0-rc.20

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 (282) hide show
  1. package/COMPATIBILITY.json +4 -4
  2. package/LICENSE +201 -21
  3. package/dist/_chunks/chunk-3Q24IPBK.js +1 -0
  4. package/dist/_chunks/chunk-AFUVP2DC.js +1 -0
  5. package/dist/_chunks/chunk-D3KLEDOI.js +1 -0
  6. package/dist/_chunks/chunk-GJULDJSV.js +1 -0
  7. package/dist/_chunks/chunk-O6YL4JVI.js +1 -0
  8. package/dist/_chunks/chunk-OHONXDFL.js +1 -0
  9. package/dist/_chunks/chunk-QVP4AMRJ.js +1 -0
  10. package/dist/_chunks/chunk-S64F3WZK.js +1 -0
  11. package/dist/_chunks/chunk-SXZY76XB.js +1 -0
  12. package/dist/_chunks/chunk-TT7IA5HB.js +1 -0
  13. package/dist/_chunks/chunk-V636KA7B.js +1 -0
  14. package/dist/_chunks/chunk-VI7HPZJC.js +1 -0
  15. package/dist/_chunks/chunk-XNROPEWC.js +1 -0
  16. package/dist/_types/contracts/agent-execution-lifecycle.d.ts +55 -43
  17. package/dist/_types/contracts/agent-execution-oauth.d.ts +2 -2
  18. package/dist/_types/contracts/agent-execution-registration.d.ts +59 -15
  19. package/dist/_types/contracts/agent-execution-selection.d.ts +7 -7
  20. package/dist/_types/contracts/agent-host-contract.d.ts +189 -0
  21. package/dist/_types/contracts/agent-host-execution.d.ts +92 -61
  22. package/dist/_types/contracts/agent-host-generic-transport.d.ts +4 -4
  23. package/dist/_types/contracts/agent-host-legacy-release.d.ts +31 -0
  24. package/dist/_types/contracts/agent-host-protocol.d.ts +71 -0
  25. package/dist/_types/contracts/agent-host-wire.d.ts +263 -0
  26. package/dist/_types/contracts/agent-host.d.ts +126 -65
  27. package/dist/_types/contracts/artifact-discovery.d.ts +143 -11
  28. package/dist/_types/contracts/audio.d.ts +166 -0
  29. package/dist/_types/contracts/component-status.d.ts +241 -0
  30. package/dist/_types/contracts/composition-authoring.d.ts +8 -8
  31. package/dist/_types/contracts/composition-frame-render.d.ts +4 -4
  32. package/dist/_types/contracts/composition-observation.d.ts +1 -1
  33. package/dist/_types/contracts/composition-render-base.d.ts +5 -4
  34. package/dist/_types/contracts/composition-render.d.ts +8 -8
  35. package/dist/_types/contracts/composition-repair.d.ts +10 -10
  36. package/dist/_types/contracts/composition-source-review.d.ts +13 -13
  37. package/dist/_types/contracts/consistency-profile.d.ts +102 -6
  38. package/dist/_types/contracts/continuity-evaluation.d.ts +1 -1
  39. package/dist/_types/contracts/delivery-completion.d.ts +1 -1
  40. package/dist/_types/contracts/delivery-manifest.d.ts +25 -11729
  41. package/dist/_types/contracts/delivery-operations.d.ts +207 -3915
  42. package/dist/_types/contracts/delivery-summary.d.ts +4 -4
  43. package/dist/_types/contracts/delivery-validation.d.ts +25 -2
  44. package/dist/_types/contracts/device-onboarding.d.ts +35 -0
  45. package/dist/_types/contracts/device-render.d.ts +113 -0
  46. package/dist/_types/contracts/editor-intelligence.d.ts +392 -2531
  47. package/dist/_types/contracts/enterprise-brand.d.ts +302 -0
  48. package/dist/_types/contracts/exploration-recommendation.d.ts +263 -11607
  49. package/dist/_types/contracts/external-agent-access.d.ts +4 -6
  50. package/dist/_types/contracts/federation-event-link-receiver.d.ts +200 -0
  51. package/dist/_types/contracts/federation-event-link.d.ts +485 -0
  52. package/dist/_types/contracts/federation-result.d.ts +239 -0
  53. package/dist/_types/contracts/final-ready.d.ts +24 -24
  54. package/dist/_types/contracts/final-render.d.ts +1742 -6949
  55. package/dist/_types/contracts/human-identity.d.ts +13 -0
  56. package/dist/_types/contracts/human-links.d.ts +58 -0
  57. package/dist/_types/contracts/index.d.ts +26 -0
  58. package/dist/_types/contracts/interface/common.d.ts +18 -0
  59. package/dist/_types/contracts/interface/execution-output.d.ts +9 -6
  60. package/dist/_types/contracts/interface/media-output.d.ts +118 -0
  61. package/dist/_types/contracts/interface/operation.d.ts +30 -0
  62. package/dist/_types/contracts/interface/production-snapshot.d.ts +81 -199
  63. package/dist/_types/contracts/interface/query.d.ts +60 -0
  64. package/dist/_types/contracts/keyframe-generation.d.ts +31 -2
  65. package/dist/_types/contracts/keyframe-review.d.ts +7 -7
  66. package/dist/_types/contracts/lifecycle-event-projections.d.ts +17 -2
  67. package/dist/_types/contracts/lifecycle-events.d.ts +54 -2
  68. package/dist/_types/contracts/local-execution/agent-component-status.d.ts +109 -0
  69. package/dist/_types/contracts/local-execution/agent-context.d.ts +385 -0
  70. package/dist/_types/contracts/local-execution/agent-evidence.d.ts +79 -0
  71. package/dist/_types/contracts/local-execution/agent-grant.d.ts +31 -0
  72. package/dist/_types/contracts/local-execution/agent-review.d.ts +529 -71
  73. package/dist/_types/contracts/local-execution/audio-profile.d.ts +6 -0
  74. package/dist/_types/contracts/local-execution/common.d.ts +12 -11
  75. package/dist/_types/contracts/local-execution/completion.d.ts +41 -45
  76. package/dist/_types/contracts/local-execution/components.d.ts +45 -0
  77. package/dist/_types/contracts/local-execution/cpu-preparation.d.ts +46 -0
  78. package/dist/_types/contracts/local-execution/cpu-resources.d.ts +55 -0
  79. package/dist/_types/contracts/local-execution/cpu-speech-job.d.ts +70 -0
  80. package/dist/_types/contracts/local-execution/cpu-speech.d.ts +161 -0
  81. package/dist/_types/contracts/local-execution/descriptor.d.ts +38 -0
  82. package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
  83. package/dist/_types/contracts/local-execution/device-inventory.d.ts +108 -0
  84. package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
  85. package/dist/_types/contracts/local-execution/device.d.ts +24 -55
  86. package/dist/_types/contracts/local-execution/enrollment-credential.d.ts +141 -0
  87. package/dist/_types/contracts/local-execution/enrollment-handoff.d.ts +44 -0
  88. package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
  89. package/dist/_types/contracts/local-execution/index.d.ts +36 -0
  90. package/dist/_types/contracts/local-execution/ipc.d.ts +2809 -231
  91. package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
  92. package/dist/_types/contracts/local-execution/library-result.d.ts +428 -0
  93. package/dist/_types/contracts/local-execution/library.d.ts +873 -0
  94. package/dist/_types/contracts/local-execution/lifecycle.d.ts +262 -48
  95. package/dist/_types/contracts/local-execution/local-navigation.d.ts +304 -67
  96. package/dist/_types/contracts/local-execution/management.d.ts +407 -0
  97. package/dist/_types/contracts/local-execution/media-recipe.d.ts +207 -0
  98. package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
  99. package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
  100. package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
  101. package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
  102. package/dist/_types/contracts/local-execution/preview.d.ts +177 -3561
  103. package/dist/_types/contracts/local-execution/processor-capability.d.ts +49 -0
  104. package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
  105. package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1194 -0
  106. package/dist/_types/contracts/local-execution/processor-toolchain.d.ts +47 -0
  107. package/dist/_types/contracts/local-execution/processor.d.ts +6424 -0
  108. package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
  109. package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
  110. package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
  111. package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
  112. package/dist/_types/contracts/local-execution/tool-selection.d.ts +71 -5
  113. package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
  114. package/dist/_types/contracts/local-execution/work.d.ts +124 -3402
  115. package/dist/_types/contracts/local-execution/workspace.d.ts +141 -0
  116. package/dist/_types/contracts/mcp-capabilities.d.ts +16 -0
  117. package/dist/_types/contracts/media-category.d.ts +11 -0
  118. package/dist/_types/contracts/media-observation.d.ts +930 -9
  119. package/dist/_types/contracts/native-speech-model.d.ts +53 -0
  120. package/dist/_types/contracts/native-speech-options.d.ts +25 -0
  121. package/dist/_types/contracts/native-tool-authority.d.ts +25 -21
  122. package/dist/_types/contracts/native-tool-execution.d.ts +60 -39
  123. package/dist/_types/contracts/navigation-context.d.ts +28 -8
  124. package/dist/_types/contracts/navigation-groups.d.ts +2 -2
  125. package/dist/_types/contracts/navigation.d.ts +78 -25
  126. package/dist/_types/contracts/observation-profile.d.ts +3 -3
  127. package/dist/_types/contracts/production-creation.d.ts +30 -0
  128. package/dist/_types/contracts/production-feedback.d.ts +452 -0
  129. package/dist/_types/contracts/production.d.ts +30 -0
  130. package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
  131. package/dist/_types/contracts/programmatic-exploration.d.ts +362 -5999
  132. package/dist/_types/contracts/programmatic-video-review.d.ts +5 -5
  133. package/dist/_types/contracts/project-library.d.ts +30 -0
  134. package/dist/_types/contracts/project.d.ts +30 -0
  135. package/dist/_types/contracts/provider-catalog.d.ts +3 -3
  136. package/dist/_types/contracts/provider-models.d.ts +209 -8
  137. package/dist/_types/contracts/provider.d.ts +66 -1
  138. package/dist/_types/contracts/reference-preview.d.ts +20 -0
  139. package/dist/_types/contracts/render-readiness.d.ts +175 -0
  140. package/dist/_types/contracts/repair-lifecycle.d.ts +64 -396
  141. package/dist/_types/contracts/repair-plan.d.ts +18 -100
  142. package/dist/_types/contracts/repair-strategy.d.ts +163 -4478
  143. package/dist/_types/contracts/review-intelligence-final-output.d.ts +418 -8150
  144. package/dist/_types/contracts/review-intelligence.d.ts +455 -11423
  145. package/dist/_types/contracts/review1-repair-source.d.ts +6 -6
  146. package/dist/_types/contracts/review1-repair-strategy.d.ts +4 -4
  147. package/dist/_types/contracts/rough-cut-manifest.d.ts +27 -7
  148. package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
  149. package/dist/_types/contracts/rough-cut-review.d.ts +144 -12495
  150. package/dist/_types/contracts/rough-cut.d.ts +1170 -5673
  151. package/dist/_types/contracts/series-canon.d.ts +97 -0
  152. package/dist/_types/contracts/series-character.d.ts +23 -0
  153. package/dist/_types/contracts/series-improvement.d.ts +1639 -0
  154. package/dist/_types/contracts/series-standard.d.ts +1641 -0
  155. package/dist/_types/contracts/shares.d.ts +135 -0
  156. package/dist/_types/contracts/shot-preparation-basis.d.ts +2 -2
  157. package/dist/_types/contracts/shot-preparation.d.ts +4 -4
  158. package/dist/_types/contracts/sound-making-plan.d.ts +210 -2
  159. package/dist/_types/contracts/speech-cost.d.ts +96 -0
  160. package/dist/_types/contracts/speech-parameters.d.ts +39 -0
  161. package/dist/_types/contracts/speech.d.ts +603 -23
  162. package/dist/_types/contracts/temporal-evidence-operation.d.ts +2 -1
  163. package/dist/_types/contracts/timeline-audio.d.ts +20 -4
  164. package/dist/_types/contracts/timeline-manifest.d.ts +40 -8
  165. package/dist/_types/contracts/timeline-source-sound.d.ts +42 -4
  166. package/dist/_types/contracts/timeline-v2.d.ts +124 -16
  167. package/dist/_types/contracts/timeline-version-reader.d.ts +288 -40
  168. package/dist/_types/contracts/timeline-visual-layers.d.ts +124 -16
  169. package/dist/_types/contracts/timeline.d.ts +50 -4850
  170. package/dist/_types/contracts/transcription.d.ts +1 -1
  171. package/dist/_types/contracts/video-generation.d.ts +35 -2
  172. package/dist/_types/contracts/video-review.d.ts +7 -7
  173. package/dist/_types/contracts/visual-exploration.d.ts +3 -3
  174. package/dist/_types/contracts/visual-layer-render.d.ts +298 -47
  175. package/dist/_types/contracts/visual-sequence.d.ts +22 -0
  176. package/dist/_types/contracts/voice-consistency.d.ts +183 -0
  177. package/dist/_types/contracts/voice-profile/contracts.d.ts +821 -0
  178. package/dist/_types/contracts/voice-profile/identity.d.ts +27 -0
  179. package/dist/_types/contracts/voice-profile/interface.d.ts +89 -0
  180. package/dist/_types/contracts/voice-profile/reference.d.ts +106 -0
  181. package/dist/_types/contracts/voice-review.d.ts +1194 -0
  182. package/dist/_types/contracts/workspace.d.ts +83 -0
  183. package/dist/_types/sdk/account.d.ts +13 -0
  184. package/dist/_types/sdk/auxiliary-media.d.ts +1 -0
  185. package/dist/_types/sdk/catalog/agent-host-execution.d.ts +324 -112
  186. package/dist/_types/sdk/catalog/agent-host.d.ts +222 -70
  187. package/dist/_types/sdk/catalog/assembly.d.ts +26 -37628
  188. package/dist/_types/sdk/catalog/audio-caption.d.ts +126 -22
  189. package/dist/_types/sdk/catalog/canonical-repair.d.ts +132 -132
  190. package/dist/_types/sdk/catalog/carriers.d.ts +59 -0
  191. package/dist/_types/sdk/catalog/composition-source.d.ts +14 -14
  192. package/dist/_types/sdk/catalog/composition.d.ts +17 -2813
  193. package/dist/_types/sdk/catalog/core.d.ts +528 -18
  194. package/dist/_types/sdk/catalog/delivery.d.ts +12 -14167
  195. package/dist/_types/sdk/catalog/device-library.d.ts +1024 -0
  196. package/dist/_types/sdk/catalog/device-management.d.ts +921 -0
  197. package/dist/_types/sdk/catalog/discovery.d.ts +38 -4
  198. package/dist/_types/sdk/catalog/editor.d.ts +23 -6538
  199. package/dist/_types/sdk/catalog/enterprise-brand.d.ts +462 -0
  200. package/dist/_types/sdk/catalog/federation.d.ts +3981 -0
  201. package/dist/_types/sdk/catalog/generation.d.ts +284 -8
  202. package/dist/_types/sdk/catalog/imported-visual.d.ts +246 -816
  203. package/dist/_types/sdk/catalog/keyframe-review.d.ts +10 -10
  204. package/dist/_types/sdk/catalog/lifecycle-events.d.ts +440 -14
  205. package/dist/_types/sdk/catalog/mcp.d.ts +112 -7
  206. package/dist/_types/sdk/catalog/media-descriptors.d.ts +214 -11
  207. package/dist/_types/sdk/catalog/media-observation.d.ts +1031 -14
  208. package/dist/_types/sdk/catalog/native-tool-authority.d.ts +54 -24
  209. package/dist/_types/sdk/catalog/navigation.d.ts +293 -24
  210. package/dist/_types/sdk/catalog/planning-intelligence.d.ts +136 -8
  211. package/dist/_types/sdk/catalog/programmatic-exploration.d.ts +327 -9853
  212. package/dist/_types/sdk/catalog/programmatic-review.d.ts +8 -8
  213. package/dist/_types/sdk/catalog/provider.d.ts +394 -20
  214. package/dist/_types/sdk/catalog/reference-preview.d.ts +58 -30
  215. package/dist/_types/sdk/catalog/repair-strategy.d.ts +180 -8914
  216. package/dist/_types/sdk/catalog/reviewer.d.ts +276 -23131
  217. package/dist/_types/sdk/catalog/series-standard.d.ts +5402 -0
  218. package/dist/_types/sdk/catalog/shares.d.ts +305 -0
  219. package/dist/_types/sdk/catalog/shot-preparation.d.ts +51 -2972
  220. package/dist/_types/sdk/catalog/sound-making-plan.d.ts +6 -1776
  221. package/dist/_types/sdk/catalog/source-sync.d.ts +8 -498
  222. package/dist/_types/sdk/catalog/spec.d.ts +10 -2
  223. package/dist/_types/sdk/catalog/speech.d.ts +856 -4
  224. package/dist/_types/sdk/catalog/temporal-evidence.d.ts +4 -2
  225. package/dist/_types/sdk/catalog/video-review.d.ts +10 -10
  226. package/dist/_types/sdk/catalog/visual-exploration.d.ts +556 -440
  227. package/dist/_types/sdk/catalog/voice-profile.d.ts +1547 -0
  228. package/dist/_types/sdk/catalog/voice-review.d.ts +1125 -0
  229. package/dist/_types/sdk/client.d.ts +30 -3
  230. package/dist/_types/sdk/desktop-previews.d.ts +3 -3
  231. package/dist/_types/sdk/desktop-releases.d.ts +2 -2
  232. package/dist/_types/sdk/device-enrollment-handoff.d.ts +249 -0
  233. package/dist/_types/sdk/device-renders.d.ts +3751 -0
  234. package/dist/_types/sdk/direct-source.d.ts +147 -0
  235. package/dist/_types/sdk/errors.d.ts +9 -3
  236. package/dist/_types/sdk/federation-notice-result.d.ts +22 -0
  237. package/dist/_types/sdk/feedback-observer.d.ts +10 -0
  238. package/dist/_types/sdk/host-protocol.d.ts +8 -0
  239. package/dist/_types/sdk/image-media.d.ts +2 -2
  240. package/dist/_types/sdk/immutable-media.d.ts +24 -0
  241. package/dist/_types/sdk/index.d.ts +16 -1
  242. package/dist/_types/sdk/local-runtime/components.d.ts +2 -0
  243. package/dist/_types/sdk/local-runtime/device-client.d.ts +181 -19
  244. package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
  245. package/dist/_types/sdk/local-runtime/workspace.d.ts +186 -0
  246. package/dist/_types/sdk/local-runtime-client.d.ts +1934 -96
  247. package/dist/_types/sdk/mcp-client.d.ts +13 -5
  248. package/dist/_types/sdk/mcp-discovery.d.ts +14 -0
  249. package/dist/_types/sdk/mcp-image.d.ts +4 -4
  250. package/dist/_types/sdk/mcp-port.d.ts +73 -0
  251. package/dist/_types/sdk/media.d.ts +11 -9
  252. package/dist/_types/sdk/navigation-client.d.ts +56 -122
  253. package/dist/_types/sdk/navigation-facade.d.ts +88 -14
  254. package/dist/_types/sdk/observe.d.ts +13 -0
  255. package/dist/_types/sdk/runtime-authority.d.ts +18 -8
  256. package/dist/_types/sdk/transport/http.d.ts +2 -0
  257. package/dist/_types/sdk/webhook-receiver.d.ts +38 -0
  258. package/dist/account.js +1 -1
  259. package/dist/errors.js +1 -1
  260. package/dist/host-protocol.d.ts +1 -0
  261. package/dist/host-protocol.js +1 -0
  262. package/dist/index.d.ts +2 -2
  263. package/dist/index.js +1 -1
  264. package/dist/local-runtime.js +1 -1
  265. package/dist/mcp-discovery.d.ts +1 -0
  266. package/dist/mcp-discovery.js +1 -0
  267. package/dist/native/helper.exe +0 -0
  268. package/dist/native/helper.json +1 -0
  269. package/dist/runtime-authority.js +1 -1
  270. package/package.json +10 -8
  271. package/README.md +0 -75
  272. package/dist/_chunks/chunk-34KSWLCI.js +0 -1
  273. package/dist/_chunks/chunk-4IOFVNFG.js +0 -1
  274. package/dist/_chunks/chunk-4M3AGNTZ.js +0 -1
  275. package/dist/_chunks/chunk-6NVIN2NI.js +0 -1
  276. package/dist/_chunks/chunk-7YCEMDNZ.js +0 -1
  277. package/dist/native/Bootstrap.ps1 +0 -90
  278. package/dist/native/JobNative.cs +0 -127
  279. package/dist/native/JobRunner.cs +0 -360
  280. package/dist/native/NativeMain.cs +0 -146
  281. package/dist/native/PipeBridge.cs +0 -260
  282. package/dist/native/PrivateAccess.cs +0 -152
@@ -0,0 +1,1024 @@
1
+ /** 投影查询、原生受理和原回执始终校对同一个不可变文件引用。 */
2
+ export declare const deviceLibraryOperations: {
3
+ readonly "device-library.query": import("./spec.js").HttpOperationSpec<{
4
+ tenantId: string;
5
+ deviceId: string;
6
+ projectId: string;
7
+ search?: string | undefined;
8
+ limit?: number | undefined;
9
+ after?: string | null | undefined;
10
+ mediaCategory?: "IMAGE" | "VIDEO" | "AUDIO" | "DOCUMENT" | undefined;
11
+ }, {
12
+ tenantId: string;
13
+ limit: number;
14
+ after: string | null;
15
+ deviceId: string;
16
+ projectId: string;
17
+ search?: string | undefined;
18
+ mediaCategory?: "IMAGE" | "VIDEO" | "AUDIO" | "DOCUMENT" | undefined;
19
+ }, {
20
+ items: {
21
+ reference: {
22
+ tenantId: string;
23
+ projectId: string;
24
+ fileId: string;
25
+ versionId: string;
26
+ checksumSha256: string;
27
+ byteSize: number;
28
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
29
+ deviceId: string;
30
+ };
31
+ metadata: {
32
+ label: string;
33
+ } | null;
34
+ accessRevision: number;
35
+ allowInspect: boolean;
36
+ allowPublish: boolean;
37
+ expiresAt: string;
38
+ }[];
39
+ nextCursor: string | null;
40
+ }, {
41
+ items: {
42
+ reference: {
43
+ tenantId: string;
44
+ projectId: string;
45
+ fileId: string;
46
+ versionId: string;
47
+ checksumSha256: string;
48
+ byteSize: number;
49
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
50
+ deviceId: string;
51
+ };
52
+ metadata: {
53
+ label: string;
54
+ } | null;
55
+ accessRevision: number;
56
+ allowInspect: boolean;
57
+ allowPublish: boolean;
58
+ expiresAt: string;
59
+ }[];
60
+ nextCursor: string | null;
61
+ }>;
62
+ readonly "device-library.admit": import("./spec.js").HttpOperationSpec<{
63
+ tenantId: string;
64
+ projectId: string;
65
+ productionId: string;
66
+ requestId: string;
67
+ reference: {
68
+ tenantId: string;
69
+ projectId: string;
70
+ fileId: string;
71
+ versionId: string;
72
+ checksumSha256: string;
73
+ byteSize: number;
74
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
75
+ deviceId: string;
76
+ };
77
+ accessRevision: number;
78
+ action: "INSPECT";
79
+ } | {
80
+ tenantId: string;
81
+ projectId: string;
82
+ productionId: string;
83
+ requestId: string;
84
+ reference: {
85
+ tenantId: string;
86
+ projectId: string;
87
+ fileId: string;
88
+ versionId: string;
89
+ checksumSha256: string;
90
+ byteSize: number;
91
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
92
+ deviceId: string;
93
+ };
94
+ accessRevision: number;
95
+ action: "PUBLISH";
96
+ destination: {
97
+ kind: "ORIGINAL";
98
+ command: {
99
+ operation: "REGISTER";
100
+ input: {
101
+ tenantId: string;
102
+ projectId: string;
103
+ productionId: string;
104
+ shotId: string;
105
+ expectedProductionRevision: number;
106
+ source: {
107
+ contentType: "video/mp4";
108
+ checksumSha256: string;
109
+ byteSize: number;
110
+ executionClass: "LIVE" | "TEST_ONLY";
111
+ };
112
+ declaredProvenance: {
113
+ originalName?: string | undefined;
114
+ authorship?: string | undefined;
115
+ license?: string | undefined;
116
+ };
117
+ idempotencyKey: string;
118
+ deviceId?: string | undefined;
119
+ projectSourceArtifactId?: string | undefined;
120
+ };
121
+ } | {
122
+ operation: "REVISE";
123
+ input: {
124
+ tenantId: string;
125
+ projectId: string;
126
+ productionId: string;
127
+ shotId: string;
128
+ expectedProductionRevision: number;
129
+ source: {
130
+ contentType: "video/mp4";
131
+ checksumSha256: string;
132
+ byteSize: number;
133
+ executionClass: "LIVE" | "TEST_ONLY";
134
+ };
135
+ declaredProvenance: {
136
+ originalName?: string | undefined;
137
+ authorship?: string | undefined;
138
+ license?: string | undefined;
139
+ };
140
+ idempotencyKey: string;
141
+ sourceId: string;
142
+ expectedVersion: number;
143
+ deviceId?: string | undefined;
144
+ projectSourceArtifactId?: string | undefined;
145
+ };
146
+ };
147
+ } | {
148
+ kind: "PROJECT_SOURCE";
149
+ command: {
150
+ projectId: string;
151
+ metadata: {
152
+ kind: "REFERENCE_IMAGE" | "REFERENCE_VIDEO" | "PRODUCT_INFORMATION";
153
+ contentType: "application/json" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "video/mp4";
154
+ tenantId: string;
155
+ idempotencyKey: string;
156
+ originalName?: string | undefined;
157
+ };
158
+ checksumSha256: string;
159
+ byteSize: number;
160
+ requestedDeviceId?: string | undefined;
161
+ };
162
+ };
163
+ }, {
164
+ tenantId: string;
165
+ projectId: string;
166
+ productionId: string;
167
+ requestId: string;
168
+ reference: {
169
+ tenantId: string;
170
+ projectId: string;
171
+ fileId: string;
172
+ versionId: string;
173
+ checksumSha256: string;
174
+ byteSize: number;
175
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
176
+ deviceId: string;
177
+ };
178
+ accessRevision: number;
179
+ action: "INSPECT";
180
+ } | {
181
+ tenantId: string;
182
+ projectId: string;
183
+ productionId: string;
184
+ requestId: string;
185
+ reference: {
186
+ tenantId: string;
187
+ projectId: string;
188
+ fileId: string;
189
+ versionId: string;
190
+ checksumSha256: string;
191
+ byteSize: number;
192
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
193
+ deviceId: string;
194
+ };
195
+ accessRevision: number;
196
+ action: "PUBLISH";
197
+ destination: {
198
+ kind: "ORIGINAL";
199
+ command: {
200
+ operation: "REGISTER";
201
+ input: {
202
+ tenantId: string;
203
+ projectId: string;
204
+ productionId: string;
205
+ shotId: string;
206
+ expectedProductionRevision: number;
207
+ source: {
208
+ contentType: "video/mp4";
209
+ checksumSha256: string;
210
+ byteSize: number;
211
+ executionClass: "LIVE" | "TEST_ONLY";
212
+ };
213
+ declaredProvenance: {
214
+ originalName?: string | undefined;
215
+ authorship?: string | undefined;
216
+ license?: string | undefined;
217
+ };
218
+ idempotencyKey: string;
219
+ deviceId?: string | undefined;
220
+ projectSourceArtifactId?: string | undefined;
221
+ };
222
+ } | {
223
+ operation: "REVISE";
224
+ input: {
225
+ tenantId: string;
226
+ projectId: string;
227
+ productionId: string;
228
+ shotId: string;
229
+ expectedProductionRevision: number;
230
+ source: {
231
+ contentType: "video/mp4";
232
+ checksumSha256: string;
233
+ byteSize: number;
234
+ executionClass: "LIVE" | "TEST_ONLY";
235
+ };
236
+ declaredProvenance: {
237
+ originalName?: string | undefined;
238
+ authorship?: string | undefined;
239
+ license?: string | undefined;
240
+ };
241
+ idempotencyKey: string;
242
+ sourceId: string;
243
+ expectedVersion: number;
244
+ deviceId?: string | undefined;
245
+ projectSourceArtifactId?: string | undefined;
246
+ };
247
+ };
248
+ } | {
249
+ kind: "PROJECT_SOURCE";
250
+ command: {
251
+ projectId: string;
252
+ metadata: {
253
+ kind: "REFERENCE_IMAGE" | "REFERENCE_VIDEO" | "PRODUCT_INFORMATION";
254
+ contentType: "application/json" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "video/mp4";
255
+ tenantId: string & import("zod").$brand<"TenantId">;
256
+ idempotencyKey: string;
257
+ originalName?: string | undefined;
258
+ };
259
+ checksumSha256: string;
260
+ byteSize: number;
261
+ requestedDeviceId?: string | undefined;
262
+ };
263
+ };
264
+ }, {
265
+ tenantId: string;
266
+ projectId: string;
267
+ productionId: string;
268
+ runtimeJobId: string;
269
+ state: "SUBMITTED";
270
+ requestId: string;
271
+ operationId: string & import("zod").$brand<"OperationId">;
272
+ reference: {
273
+ tenantId: string;
274
+ projectId: string;
275
+ fileId: string;
276
+ versionId: string;
277
+ checksumSha256: string;
278
+ byteSize: number;
279
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
280
+ deviceId: string;
281
+ };
282
+ accessRevision: number;
283
+ }, {
284
+ tenantId: string;
285
+ projectId: string;
286
+ productionId: string;
287
+ runtimeJobId: string;
288
+ state: "SUBMITTED";
289
+ requestId: string;
290
+ operationId: string;
291
+ reference: {
292
+ tenantId: string;
293
+ projectId: string;
294
+ fileId: string;
295
+ versionId: string;
296
+ checksumSha256: string;
297
+ byteSize: number;
298
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
299
+ deviceId: string;
300
+ };
301
+ accessRevision: number;
302
+ }>;
303
+ readonly "device-library.receipt": import("./spec.js").HttpOperationSpec<{
304
+ tenantId: string;
305
+ projectId: string;
306
+ productionId: string;
307
+ requestId: string;
308
+ }, {
309
+ tenantId: string;
310
+ projectId: string;
311
+ productionId: string;
312
+ requestId: string;
313
+ }, {
314
+ admission: {
315
+ tenantId: string;
316
+ projectId: string;
317
+ productionId: string;
318
+ runtimeJobId: string;
319
+ state: "SUBMITTED";
320
+ requestId: string;
321
+ operationId: string & import("zod").$brand<"OperationId">;
322
+ reference: {
323
+ tenantId: string;
324
+ projectId: string;
325
+ fileId: string;
326
+ versionId: string;
327
+ checksumSha256: string;
328
+ byteSize: number;
329
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
330
+ deviceId: string;
331
+ };
332
+ accessRevision: number;
333
+ };
334
+ lifecycle: "FAILED" | "CANCELLED" | "RUNNING" | "SUPERSEDED" | "READY" | "WAITING" | "SUCCEEDED";
335
+ receipt: {
336
+ tenantId: string;
337
+ projectId: string;
338
+ productionId: string;
339
+ runtimeJobId: string;
340
+ attemptId: string;
341
+ assignmentRevision: number;
342
+ workerId: string;
343
+ workFingerprint: string;
344
+ toolchainFingerprint: string;
345
+ requestId: string;
346
+ operationId: string & import("zod").$brand<"OperationId">;
347
+ reportFingerprint: string;
348
+ result: {
349
+ artifact: {
350
+ id: string & import("zod").$brand<"ArtifactId">;
351
+ tenantId: string & import("zod").$brand<"TenantId">;
352
+ projectId: string & import("zod").$brand<"ProjectId">;
353
+ productionId: (string & import("zod").$brand<"ProductionId">) | null;
354
+ family: string;
355
+ origin: string;
356
+ lifecycle: "ARCHIVED" | "READY" | "CREATING" | "PROCESSING" | "INVALID";
357
+ createdByPrincipalId: string & import("zod").$brand<"PrincipalId">;
358
+ checksumSha256: string | null;
359
+ contentType: string | null;
360
+ primaryRepresentationId: (string & import("zod").$brand<"ArtifactRepresentationId">) | null;
361
+ mediaMetadata: Record<string, unknown>;
362
+ createdAt: string;
363
+ readyAt: string | null;
364
+ };
365
+ primaryRepresentation: {
366
+ id: string & import("zod").$brand<"ArtifactRepresentationId">;
367
+ tenantId: string & import("zod").$brand<"TenantId">;
368
+ artifactId: string & import("zod").$brand<"ArtifactId">;
369
+ role: string;
370
+ storageDriver: string;
371
+ storageLocator: Record<string, unknown>;
372
+ checksumSha256: string;
373
+ contentType: string;
374
+ byteSize: string;
375
+ width: number | null;
376
+ height: number | null;
377
+ durationMs: string | null;
378
+ frameRate: string | null;
379
+ videoCodec: string | null;
380
+ audioCodec: string | null;
381
+ hasAudio: boolean | null;
382
+ sampleRateHz: number | null;
383
+ audioChannels: number | null;
384
+ createdAt: string;
385
+ };
386
+ relations: {
387
+ id: string & import("zod").$brand<"ArtifactRelationId">;
388
+ tenantId: string & import("zod").$brand<"TenantId">;
389
+ sourceArtifactId: string & import("zod").$brand<"ArtifactId">;
390
+ targetArtifactId: string & import("zod").$brand<"ArtifactId">;
391
+ relationType: string;
392
+ createdByPrincipalId: string & import("zod").$brand<"PrincipalId">;
393
+ createdAt: string;
394
+ }[];
395
+ } | {
396
+ semanticStatus: "SUCCESS";
397
+ version: {
398
+ schemaVersion: 1;
399
+ purpose: "SOURCE_SYNC";
400
+ id: string;
401
+ audioId: string;
402
+ version: number;
403
+ tenantId: string;
404
+ projectId: string;
405
+ productionId: string;
406
+ shotId: string;
407
+ normalizationId: string;
408
+ artifactId: string;
409
+ representationId: string;
410
+ provenance: {
411
+ schemaVersion: 1;
412
+ purpose: "SOURCE_SYNC";
413
+ tenantId: string;
414
+ projectId: string;
415
+ productionId: string;
416
+ shotId: string;
417
+ sourceId: string;
418
+ sourceVersionId: string;
419
+ normalizationId: string;
420
+ originalArtifactId: string;
421
+ originalRepresentationId: string;
422
+ originalChecksumSha256: string;
423
+ sourceRange: {
424
+ clock: "SOURCE_ZERO_BASED_CFR30";
425
+ startFrame: number;
426
+ endFrame: number;
427
+ };
428
+ destinationStartSample: number;
429
+ media: {
430
+ profile: "PCM_S16LE_48000_V1";
431
+ audioCodec: "pcm_s16le";
432
+ sampleRateHz: 48000;
433
+ audioChannels: 2 | 1;
434
+ sampleCount: number;
435
+ durationMs: number;
436
+ } | {
437
+ profile: "PCM_S16LE_48000_SOURCE_SYNC_V1";
438
+ audioCodec: "pcm_s16le";
439
+ sampleRateHz: 48000;
440
+ audioChannels: 2 | 1;
441
+ sampleCount: number;
442
+ durationMs: number;
443
+ };
444
+ wavChecksumSha256: string;
445
+ wavByteSize: number;
446
+ };
447
+ previousVersionId: string | null;
448
+ executionClass: "LIVE" | "TEST_ONLY";
449
+ createdByPrincipalId: string;
450
+ createdAt: string;
451
+ };
452
+ productionRevision: number;
453
+ } | {
454
+ sourceId: string;
455
+ versionId: string;
456
+ version: number;
457
+ tenantId: string;
458
+ projectId: string;
459
+ productionId: string;
460
+ shotId: string;
461
+ artifactId: string;
462
+ representationId: string;
463
+ metadata: {
464
+ geometry: {
465
+ width: number;
466
+ height: number;
467
+ };
468
+ videoCodec: "h264";
469
+ pixelFormat: "yuv420p";
470
+ sampleAspectRatio: "1:1";
471
+ rotationDegrees: 0;
472
+ startPts: 0;
473
+ timeBase: {
474
+ numerator: number;
475
+ denominator: number;
476
+ };
477
+ frameRate: {
478
+ numerator: number;
479
+ denominator: number;
480
+ };
481
+ frameCount: number;
482
+ durationTicks: number;
483
+ availableCfr30Frames: number;
484
+ color: {
485
+ range: "unknown" | "tv";
486
+ space: "unknown" | "bt709";
487
+ transfer: "unknown" | "bt709";
488
+ primaries: "unknown" | "bt709";
489
+ };
490
+ audio: {
491
+ codec: "aac";
492
+ sampleRateHz: 48000 | 44100;
493
+ channels: 2 | 1;
494
+ startPts: number;
495
+ timeBase: {
496
+ numerator: number;
497
+ denominator: number;
498
+ };
499
+ durationTicks: number;
500
+ } | null;
501
+ fullDecode: true;
502
+ cfrTimestampsVerified: true;
503
+ contentType: "video/mp4";
504
+ checksumSha256: string;
505
+ byteSize: number;
506
+ executionClass: "LIVE" | "TEST_ONLY";
507
+ };
508
+ executionClass: "LIVE" | "TEST_ONLY";
509
+ current: boolean;
510
+ createdAt: string;
511
+ declaredProvenance?: {
512
+ originalName?: string | undefined;
513
+ authorship?: string | undefined;
514
+ license?: string | undefined;
515
+ } | undefined;
516
+ } | {
517
+ sourceArtifactId: string;
518
+ representationId: string;
519
+ reusedExisting: boolean;
520
+ } | {
521
+ localMediaInspectionId: string;
522
+ } | {
523
+ normalizationId: string;
524
+ artifactId: string;
525
+ representationId: string;
526
+ posterArtifactId: string;
527
+ posterRepresentationId: string;
528
+ } | {
529
+ generationId: string;
530
+ audio: {
531
+ semanticStatus: "SUCCESS";
532
+ version: {
533
+ tenantId: string & import("zod").$brand<"TenantId">;
534
+ productionId: string & import("zod").$brand<"ProductionId">;
535
+ purpose: "VOICEOVER" | "MUSIC" | "VOICE_SAMPLE";
536
+ id: string;
537
+ audioId: string;
538
+ projectId: string;
539
+ version: number;
540
+ artifactId: string;
541
+ original: {
542
+ id: string;
543
+ checksumSha256: string;
544
+ byteSize: number;
545
+ };
546
+ media: {
547
+ profile: "PCM_S16LE_48000_V1";
548
+ audioCodec: "pcm_s16le";
549
+ sampleRateHz: 48000;
550
+ audioChannels: 2 | 1;
551
+ sampleCount: number;
552
+ durationMs: number;
553
+ };
554
+ originalName: string | null;
555
+ previousVersionId: string | null;
556
+ createdByPrincipalId: string;
557
+ createdAt: string;
558
+ generation?: {
559
+ generationId: string;
560
+ executionClass: "LIVE" | "TEST_ONLY";
561
+ sourceArtifactId: string;
562
+ sourceRepresentationId: string;
563
+ sourceChecksumSha256: string;
564
+ sourceByteSize: number;
565
+ sourceMedia: {
566
+ sampleRateHz: number;
567
+ audioChannels: 2 | 1;
568
+ sampleCount: number;
569
+ };
570
+ normalizationVersion: "SPEECH_PCM_V1";
571
+ padSamples: number;
572
+ voiceProfile?: {
573
+ ref: {
574
+ ownerSystem: string;
575
+ ownerTenantRef: string;
576
+ voiceProfileRef: string;
577
+ version: number;
578
+ digest: string;
579
+ };
580
+ bindingKey: string;
581
+ language: string;
582
+ usage: "AUDITION" | "PRODUCTION";
583
+ } | undefined;
584
+ executionTarget?: "TENANT_DEVICE" | undefined;
585
+ } | undefined;
586
+ };
587
+ productionRevision: number;
588
+ };
589
+ } | {
590
+ observationId: string;
591
+ } | {
592
+ generationId: string;
593
+ candidateId: string;
594
+ artifactId: string;
595
+ representationId: string;
596
+ } | {
597
+ evidenceId: string;
598
+ frameSetArtifactId: string;
599
+ contactSheetArtifactId: string;
600
+ } | {
601
+ deliveryValidationId: string;
602
+ reviewId: string;
603
+ } | {
604
+ renderId: string;
605
+ artifactId: string;
606
+ representationId: string;
607
+ } | {
608
+ requestId: string;
609
+ artifactId: string;
610
+ representationId: string;
611
+ };
612
+ } | null;
613
+ inspection: {
614
+ kind: "VIDEO";
615
+ metadata: {
616
+ geometry: {
617
+ width: number;
618
+ height: number;
619
+ };
620
+ videoCodec: "h264";
621
+ pixelFormat: "yuv420p";
622
+ sampleAspectRatio: "1:1";
623
+ rotationDegrees: 0;
624
+ startPts: 0;
625
+ timeBase: {
626
+ numerator: number;
627
+ denominator: number;
628
+ };
629
+ frameRate: {
630
+ numerator: number;
631
+ denominator: number;
632
+ };
633
+ frameCount: number;
634
+ durationTicks: number;
635
+ availableCfr30Frames: number;
636
+ color: {
637
+ range: "unknown" | "tv";
638
+ space: "unknown" | "bt709";
639
+ transfer: "unknown" | "bt709";
640
+ primaries: "unknown" | "bt709";
641
+ };
642
+ audio: {
643
+ codec: "aac";
644
+ sampleRateHz: 48000 | 44100;
645
+ channels: 2 | 1;
646
+ startPts: number;
647
+ timeBase: {
648
+ numerator: number;
649
+ denominator: number;
650
+ };
651
+ durationTicks: number;
652
+ } | null;
653
+ fullDecode: true;
654
+ cfrTimestampsVerified: true;
655
+ contentType: "video/mp4";
656
+ checksumSha256: string;
657
+ byteSize: number;
658
+ executionClass: "LIVE" | "TEST_ONLY";
659
+ };
660
+ } | {
661
+ kind: "IMAGE";
662
+ checksumSha256: string;
663
+ byteSize: number;
664
+ width: number;
665
+ height: number;
666
+ } | null;
667
+ failureSummary: string | null;
668
+ } | null, {
669
+ admission: {
670
+ tenantId: string;
671
+ projectId: string;
672
+ productionId: string;
673
+ runtimeJobId: string;
674
+ state: "SUBMITTED";
675
+ requestId: string;
676
+ operationId: string;
677
+ reference: {
678
+ tenantId: string;
679
+ projectId: string;
680
+ fileId: string;
681
+ versionId: string;
682
+ checksumSha256: string;
683
+ byteSize: number;
684
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
685
+ deviceId: string;
686
+ };
687
+ accessRevision: number;
688
+ };
689
+ lifecycle: "FAILED" | "CANCELLED" | "RUNNING" | "SUPERSEDED" | "READY" | "WAITING" | "SUCCEEDED";
690
+ receipt: {
691
+ tenantId: string;
692
+ projectId: string;
693
+ productionId: string;
694
+ runtimeJobId: string;
695
+ attemptId: string;
696
+ assignmentRevision: number;
697
+ workerId: string;
698
+ workFingerprint: string;
699
+ toolchainFingerprint: string;
700
+ requestId: string;
701
+ operationId: string;
702
+ reportFingerprint: string;
703
+ result: {
704
+ semanticStatus: "SUCCESS";
705
+ version: {
706
+ schemaVersion: 1;
707
+ purpose: "SOURCE_SYNC";
708
+ id: string;
709
+ audioId: string;
710
+ version: number;
711
+ tenantId: string;
712
+ projectId: string;
713
+ productionId: string;
714
+ shotId: string;
715
+ normalizationId: string;
716
+ artifactId: string;
717
+ representationId: string;
718
+ provenance: {
719
+ schemaVersion: 1;
720
+ purpose: "SOURCE_SYNC";
721
+ tenantId: string;
722
+ projectId: string;
723
+ productionId: string;
724
+ shotId: string;
725
+ sourceId: string;
726
+ sourceVersionId: string;
727
+ normalizationId: string;
728
+ originalArtifactId: string;
729
+ originalRepresentationId: string;
730
+ originalChecksumSha256: string;
731
+ sourceRange: {
732
+ clock: "SOURCE_ZERO_BASED_CFR30";
733
+ startFrame: number;
734
+ endFrame: number;
735
+ };
736
+ destinationStartSample: number;
737
+ media: {
738
+ profile: "PCM_S16LE_48000_V1";
739
+ audioCodec: "pcm_s16le";
740
+ sampleRateHz: 48000;
741
+ audioChannels: 2 | 1;
742
+ sampleCount: number;
743
+ durationMs: number;
744
+ } | {
745
+ profile: "PCM_S16LE_48000_SOURCE_SYNC_V1";
746
+ audioCodec: "pcm_s16le";
747
+ sampleRateHz: 48000;
748
+ audioChannels: 2 | 1;
749
+ sampleCount: number;
750
+ durationMs: number;
751
+ };
752
+ wavChecksumSha256: string;
753
+ wavByteSize: number;
754
+ };
755
+ previousVersionId: string | null;
756
+ executionClass: "LIVE" | "TEST_ONLY";
757
+ createdByPrincipalId: string;
758
+ createdAt: string;
759
+ };
760
+ productionRevision: number;
761
+ } | {
762
+ artifact: {
763
+ id: string;
764
+ tenantId: string;
765
+ projectId: string;
766
+ productionId: string | null;
767
+ family: string;
768
+ origin: string;
769
+ lifecycle: "ARCHIVED" | "READY" | "CREATING" | "PROCESSING" | "INVALID";
770
+ createdByPrincipalId: string;
771
+ checksumSha256: string | null;
772
+ contentType: string | null;
773
+ primaryRepresentationId: string | null;
774
+ mediaMetadata: Record<string, unknown>;
775
+ createdAt: string;
776
+ readyAt: string | null;
777
+ };
778
+ primaryRepresentation: {
779
+ id: string;
780
+ tenantId: string;
781
+ artifactId: string;
782
+ role: string;
783
+ storageDriver: string;
784
+ storageLocator: Record<string, unknown>;
785
+ checksumSha256: string;
786
+ contentType: string;
787
+ byteSize: string;
788
+ width: number | null;
789
+ height: number | null;
790
+ durationMs: string | null;
791
+ frameRate: string | null;
792
+ videoCodec: string | null;
793
+ audioCodec: string | null;
794
+ hasAudio: boolean | null;
795
+ sampleRateHz: number | null;
796
+ audioChannels: number | null;
797
+ createdAt: string;
798
+ };
799
+ relations: {
800
+ id: string;
801
+ tenantId: string;
802
+ sourceArtifactId: string;
803
+ targetArtifactId: string;
804
+ relationType: string;
805
+ createdByPrincipalId: string;
806
+ createdAt: string;
807
+ }[];
808
+ } | {
809
+ sourceId: string;
810
+ versionId: string;
811
+ version: number;
812
+ tenantId: string;
813
+ projectId: string;
814
+ productionId: string;
815
+ shotId: string;
816
+ artifactId: string;
817
+ representationId: string;
818
+ metadata: {
819
+ geometry: {
820
+ width: number;
821
+ height: number;
822
+ };
823
+ videoCodec: "h264";
824
+ pixelFormat: "yuv420p";
825
+ sampleAspectRatio: "1:1";
826
+ rotationDegrees: 0;
827
+ startPts: 0;
828
+ timeBase: {
829
+ numerator: number;
830
+ denominator: number;
831
+ };
832
+ frameRate: {
833
+ numerator: number;
834
+ denominator: number;
835
+ };
836
+ frameCount: number;
837
+ durationTicks: number;
838
+ availableCfr30Frames: number;
839
+ color: {
840
+ range: "unknown" | "tv";
841
+ space: "unknown" | "bt709";
842
+ transfer: "unknown" | "bt709";
843
+ primaries: "unknown" | "bt709";
844
+ };
845
+ audio: {
846
+ codec: "aac";
847
+ sampleRateHz: 48000 | 44100;
848
+ channels: 2 | 1;
849
+ startPts: number;
850
+ timeBase: {
851
+ numerator: number;
852
+ denominator: number;
853
+ };
854
+ durationTicks: number;
855
+ } | null;
856
+ fullDecode: true;
857
+ cfrTimestampsVerified: true;
858
+ contentType: "video/mp4";
859
+ checksumSha256: string;
860
+ byteSize: number;
861
+ executionClass: "LIVE" | "TEST_ONLY";
862
+ };
863
+ executionClass: "LIVE" | "TEST_ONLY";
864
+ current: boolean;
865
+ createdAt: string;
866
+ declaredProvenance?: {
867
+ originalName?: string | undefined;
868
+ authorship?: string | undefined;
869
+ license?: string | undefined;
870
+ } | undefined;
871
+ } | {
872
+ sourceArtifactId: string;
873
+ representationId: string;
874
+ reusedExisting: boolean;
875
+ } | {
876
+ localMediaInspectionId: string;
877
+ } | {
878
+ normalizationId: string;
879
+ artifactId: string;
880
+ representationId: string;
881
+ posterArtifactId: string;
882
+ posterRepresentationId: string;
883
+ } | {
884
+ generationId: string;
885
+ audio: {
886
+ semanticStatus: "SUCCESS";
887
+ version: {
888
+ tenantId: string;
889
+ productionId: string;
890
+ purpose: "VOICEOVER" | "MUSIC" | "VOICE_SAMPLE";
891
+ id: string;
892
+ audioId: string;
893
+ projectId: string;
894
+ version: number;
895
+ artifactId: string;
896
+ original: {
897
+ id: string;
898
+ checksumSha256: string;
899
+ byteSize: number;
900
+ };
901
+ media: {
902
+ profile: "PCM_S16LE_48000_V1";
903
+ audioCodec: "pcm_s16le";
904
+ sampleRateHz: 48000;
905
+ audioChannels: 2 | 1;
906
+ sampleCount: number;
907
+ durationMs: number;
908
+ };
909
+ originalName: string | null;
910
+ previousVersionId: string | null;
911
+ createdByPrincipalId: string;
912
+ createdAt: string;
913
+ generation?: {
914
+ generationId: string;
915
+ executionClass: "LIVE" | "TEST_ONLY";
916
+ sourceArtifactId: string;
917
+ sourceRepresentationId: string;
918
+ sourceChecksumSha256: string;
919
+ sourceByteSize: number;
920
+ sourceMedia: {
921
+ sampleRateHz: number;
922
+ audioChannels: 2 | 1;
923
+ sampleCount: number;
924
+ };
925
+ normalizationVersion: "SPEECH_PCM_V1";
926
+ padSamples: number;
927
+ voiceProfile?: {
928
+ ref: {
929
+ ownerSystem: string;
930
+ ownerTenantRef: string;
931
+ voiceProfileRef: string;
932
+ version: number;
933
+ digest: string;
934
+ };
935
+ bindingKey: string;
936
+ language: string;
937
+ usage: "AUDITION" | "PRODUCTION";
938
+ } | undefined;
939
+ executionTarget?: "TENANT_DEVICE" | undefined;
940
+ } | undefined;
941
+ };
942
+ productionRevision: number;
943
+ };
944
+ } | {
945
+ observationId: string;
946
+ } | {
947
+ generationId: string;
948
+ candidateId: string;
949
+ artifactId: string;
950
+ representationId: string;
951
+ } | {
952
+ evidenceId: string;
953
+ frameSetArtifactId: string;
954
+ contactSheetArtifactId: string;
955
+ } | {
956
+ deliveryValidationId: string;
957
+ reviewId: string;
958
+ } | {
959
+ renderId: string;
960
+ artifactId: string;
961
+ representationId: string;
962
+ } | {
963
+ requestId: string;
964
+ artifactId: string;
965
+ representationId: string;
966
+ };
967
+ } | null;
968
+ inspection: {
969
+ kind: "VIDEO";
970
+ metadata: {
971
+ geometry: {
972
+ width: number;
973
+ height: number;
974
+ };
975
+ videoCodec: "h264";
976
+ pixelFormat: "yuv420p";
977
+ sampleAspectRatio: "1:1";
978
+ rotationDegrees: 0;
979
+ startPts: 0;
980
+ timeBase: {
981
+ numerator: number;
982
+ denominator: number;
983
+ };
984
+ frameRate: {
985
+ numerator: number;
986
+ denominator: number;
987
+ };
988
+ frameCount: number;
989
+ durationTicks: number;
990
+ availableCfr30Frames: number;
991
+ color: {
992
+ range: "unknown" | "tv";
993
+ space: "unknown" | "bt709";
994
+ transfer: "unknown" | "bt709";
995
+ primaries: "unknown" | "bt709";
996
+ };
997
+ audio: {
998
+ codec: "aac";
999
+ sampleRateHz: 48000 | 44100;
1000
+ channels: 2 | 1;
1001
+ startPts: number;
1002
+ timeBase: {
1003
+ numerator: number;
1004
+ denominator: number;
1005
+ };
1006
+ durationTicks: number;
1007
+ } | null;
1008
+ fullDecode: true;
1009
+ cfrTimestampsVerified: true;
1010
+ contentType: "video/mp4";
1011
+ checksumSha256: string;
1012
+ byteSize: number;
1013
+ executionClass: "LIVE" | "TEST_ONLY";
1014
+ };
1015
+ } | {
1016
+ kind: "IMAGE";
1017
+ checksumSha256: string;
1018
+ byteSize: number;
1019
+ width: number;
1020
+ height: number;
1021
+ } | null;
1022
+ failureSummary: string | null;
1023
+ } | null>;
1024
+ };