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

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 (266) hide show
  1. package/COMPATIBILITY.json +45 -0
  2. package/LICENSE +201 -0
  3. package/components/runtime.json +31 -0
  4. package/components/runtime.tgz +0 -0
  5. package/dist/BUNDLED_DEPENDENCIES.json +1 -0
  6. package/dist/_chunks/chunk-2UYKJ6YN.js +1 -0
  7. package/dist/_chunks/chunk-37PAJCKA.js +1 -0
  8. package/dist/_chunks/chunk-3AVC742O.js +1 -0
  9. package/dist/_chunks/chunk-4U4Y2K73.js +1 -0
  10. package/dist/_chunks/chunk-65FQPXKC.js +1 -0
  11. package/dist/_chunks/chunk-6DVZBKNV.js +1 -0
  12. package/dist/_chunks/chunk-6LU6GJKW.js +1 -0
  13. package/dist/_chunks/chunk-6N433ZWR.js +1 -0
  14. package/dist/_chunks/chunk-EGUJ2YRX.js +1 -0
  15. package/dist/_chunks/chunk-FU3524Z6.js +1 -0
  16. package/dist/_chunks/chunk-GZBWA4YN.js +1 -0
  17. package/dist/_chunks/chunk-HR34UMPP.js +1 -0
  18. package/dist/_chunks/chunk-HTUTYIRU.js +1 -0
  19. package/dist/_chunks/chunk-JFC6ZIGA.js +1 -0
  20. package/dist/_chunks/chunk-KB2GVAN7.js +1 -0
  21. package/dist/_chunks/chunk-L543FEDK.js +1 -0
  22. package/dist/_chunks/chunk-LISB5W7B.js +1 -0
  23. package/dist/_chunks/chunk-LUAH3KAS.js +1 -0
  24. package/dist/_chunks/chunk-M2KVQQ4X.js +1 -0
  25. package/dist/_chunks/chunk-ODGPV7MM.js +1 -0
  26. package/dist/_chunks/chunk-PUBMDP4E.js +1 -0
  27. package/dist/_chunks/chunk-PUNG4ND7.js +1 -0
  28. package/dist/_chunks/chunk-Q57YFNK5.js +1 -0
  29. package/dist/_chunks/chunk-QAJH4RJQ.js +1 -0
  30. package/dist/_chunks/chunk-VDNNFVTZ.js +3 -0
  31. package/dist/_chunks/chunk-VPYAXWXY.js +1 -0
  32. package/dist/_chunks/chunk-WFRRNWO5.js +1 -0
  33. package/dist/_chunks/connect-5YMO6MAR.js +1 -0
  34. package/dist/_chunks/device-management-2OTGEBJQ.js +1 -0
  35. package/dist/_chunks/device-preflight-XPHFZGLO.js +1 -0
  36. package/dist/_chunks/devices-inventory-VWNTU5TE.js +1 -0
  37. package/dist/_chunks/devices-main-VQ4APRVS.js +1 -0
  38. package/dist/_chunks/files-TTIQ7LYJ.js +1 -0
  39. package/dist/_chunks/host-main-H7DPLV7B.js +1 -0
  40. package/dist/_chunks/http-profile-MNJX6OXO.js +1 -0
  41. package/dist/_chunks/library-main-SAC3V2ML.js +1 -0
  42. package/dist/_chunks/local-main-D6B3APK6.js +1 -0
  43. package/dist/_chunks/local-mcp-ONCANLPH.js +1 -0
  44. package/dist/_chunks/main-PW6HB3NC.js +2 -0
  45. package/dist/_chunks/mcp-ZIGBYFUW.js +1 -0
  46. package/dist/_chunks/oauth-HC6TI7HB.js +1 -0
  47. package/dist/_chunks/render-main-GYWKP72O.js +1 -0
  48. package/dist/_chunks/source-import-BC5GNCUZ.js +1 -0
  49. package/dist/_chunks/src-R6DNU336.js +1 -0
  50. package/dist/_chunks/stdio-main-RIJS5REB.js +1 -0
  51. package/dist/_chunks/workspace-main-GNSKHKBG.js +1 -0
  52. package/dist/_types/cli/local/desktop-channel.d.ts +18 -0
  53. package/dist/_types/cli/local/desktop-contract.d.ts +2176 -0
  54. package/dist/_types/cli/local/desktop-device-contract.d.ts +779 -0
  55. package/dist/_types/cli/local/desktop-device-navigation.d.ts +3 -0
  56. package/dist/_types/cli/local/desktop-device-owner.d.ts +244 -0
  57. package/dist/_types/cli/local/desktop-device-state.d.ts +397 -0
  58. package/dist/_types/cli/local/desktop-library.d.ts +853 -0
  59. package/dist/_types/cli/local/desktop-node.d.ts +1 -0
  60. package/dist/_types/cli/local/desktop-owner.d.ts +766 -0
  61. package/dist/_types/cli/local/ledger.d.ts +363 -0
  62. package/dist/_types/cli/local/manager.d.ts +1695 -0
  63. package/dist/_types/cli/local/mcp-tools.d.ts +660 -0
  64. package/dist/_types/cli/local/releases.d.ts +123 -0
  65. package/dist/_types/cli/local-management.d.ts +16 -0
  66. package/dist/_types/cli/local-navigation.d.ts +4 -0
  67. package/dist/_types/contracts/accepted-shot.d.ts +27 -0
  68. package/dist/_types/contracts/accepted-visual-source.d.ts +120 -0
  69. package/dist/_types/contracts/agent-execution-lifecycle.d.ts +749 -0
  70. package/dist/_types/contracts/agent-execution-oauth.d.ts +71 -0
  71. package/dist/_types/contracts/agent-execution-registration.d.ts +240 -0
  72. package/dist/_types/contracts/agent-execution-selection.d.ts +107 -0
  73. package/dist/_types/contracts/agent-host-execution.d.ts +706 -0
  74. package/dist/_types/contracts/agent-host-generic-transport.d.ts +12 -0
  75. package/dist/_types/contracts/agent-host.d.ts +226 -0
  76. package/dist/_types/contracts/artifact-discovery.d.ts +242 -0
  77. package/dist/_types/contracts/artifact.d.ts +188 -0
  78. package/dist/_types/contracts/audio.d.ts +335 -0
  79. package/dist/_types/contracts/brief.d.ts +178 -0
  80. package/dist/_types/contracts/caption-render.d.ts +20 -0
  81. package/dist/_types/contracts/caption-transcript.d.ts +102 -0
  82. package/dist/_types/contracts/captions.d.ts +420 -0
  83. package/dist/_types/contracts/clip-framing.d.ts +14 -0
  84. package/dist/_types/contracts/clip-transition.d.ts +6 -0
  85. package/dist/_types/contracts/composition-authoring-guide.d.ts +160 -0
  86. package/dist/_types/contracts/composition-authoring.d.ts +744 -0
  87. package/dist/_types/contracts/composition-finding-locality.d.ts +24 -0
  88. package/dist/_types/contracts/composition-frame-render.d.ts +226 -0
  89. package/dist/_types/contracts/composition-making.d.ts +390 -0
  90. package/dist/_types/contracts/composition-observation.d.ts +239 -0
  91. package/dist/_types/contracts/composition-render-base.d.ts +293 -0
  92. package/dist/_types/contracts/composition-render-observation.d.ts +278 -0
  93. package/dist/_types/contracts/composition-render.d.ts +406 -0
  94. package/dist/_types/contracts/composition-repair.d.ts +451 -0
  95. package/dist/_types/contracts/composition-source-review.d.ts +1042 -0
  96. package/dist/_types/contracts/consistency-profile.d.ts +845 -0
  97. package/dist/_types/contracts/continuity-evaluation.d.ts +48 -0
  98. package/dist/_types/contracts/delivery-completion.d.ts +210 -0
  99. package/dist/_types/contracts/delivery-manifest.d.ts +72 -0
  100. package/dist/_types/contracts/delivery-operations.d.ts +1151 -0
  101. package/dist/_types/contracts/delivery-output-profile.d.ts +12 -0
  102. package/dist/_types/contracts/delivery-summary.d.ts +220 -0
  103. package/dist/_types/contracts/delivery-validation.d.ts +206 -0
  104. package/dist/_types/contracts/device-render.d.ts +77 -0
  105. package/dist/_types/contracts/director-proposal.d.ts +1067 -0
  106. package/dist/_types/contracts/editor-intelligence.d.ts +3374 -0
  107. package/dist/_types/contracts/exploration-recommendation.d.ts +519 -0
  108. package/dist/_types/contracts/external-agent-access.d.ts +93 -0
  109. package/dist/_types/contracts/final-ready.d.ts +301 -0
  110. package/dist/_types/contracts/final-render-profile.d.ts +59 -0
  111. package/dist/_types/contracts/final-render.d.ts +2810 -0
  112. package/dist/_types/contracts/foundation.d.ts +1 -0
  113. package/dist/_types/contracts/generation-contract.d.ts +268 -0
  114. package/dist/_types/contracts/generation-cost.d.ts +70 -0
  115. package/dist/_types/contracts/health.d.ts +6 -0
  116. package/dist/_types/contracts/human-identity.d.ts +162 -0
  117. package/dist/_types/contracts/hyperframe-profile.d.ts +5 -0
  118. package/dist/_types/contracts/ids.d.ts +41 -0
  119. package/dist/_types/contracts/index.d.ts +126 -0
  120. package/dist/_types/contracts/interface/common.d.ts +56 -0
  121. package/dist/_types/contracts/interface/execution-output.d.ts +99 -0
  122. package/dist/_types/contracts/interface/index.d.ts +7 -0
  123. package/dist/_types/contracts/interface/media-output.d.ts +90 -0
  124. package/dist/_types/contracts/interface/operation.d.ts +61 -0
  125. package/dist/_types/contracts/interface/output.d.ts +15 -0
  126. package/dist/_types/contracts/interface/production-snapshot.d.ts +654 -0
  127. package/dist/_types/contracts/interface/query.d.ts +315 -0
  128. package/dist/_types/contracts/keyframe-generation.d.ts +378 -0
  129. package/dist/_types/contracts/keyframe-reference.d.ts +31 -0
  130. package/dist/_types/contracts/keyframe-review.d.ts +753 -0
  131. package/dist/_types/contracts/lifecycle-event-projections.d.ts +191 -0
  132. package/dist/_types/contracts/lifecycle-events.d.ts +156 -0
  133. package/dist/_types/contracts/listening-evidence.d.ts +37 -0
  134. package/dist/_types/contracts/local-execution/agent-context.d.ts +365 -0
  135. package/dist/_types/contracts/local-execution/agent-evidence.d.ts +79 -0
  136. package/dist/_types/contracts/local-execution/agent-grant.d.ts +31 -0
  137. package/dist/_types/contracts/local-execution/agent-review.d.ts +992 -0
  138. package/dist/_types/contracts/local-execution/canonical.d.ts +2 -0
  139. package/dist/_types/contracts/local-execution/common.d.ts +49 -0
  140. package/dist/_types/contracts/local-execution/completion.d.ts +124 -0
  141. package/dist/_types/contracts/local-execution/components.d.ts +45 -0
  142. package/dist/_types/contracts/local-execution/descriptor.d.ts +38 -0
  143. package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
  144. package/dist/_types/contracts/local-execution/device-inventory.d.ts +76 -0
  145. package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
  146. package/dist/_types/contracts/local-execution/device.d.ts +102 -0
  147. package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
  148. package/dist/_types/contracts/local-execution/index.d.ts +37 -0
  149. package/dist/_types/contracts/local-execution/ipc.d.ts +3730 -0
  150. package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
  151. package/dist/_types/contracts/local-execution/library-result.d.ts +408 -0
  152. package/dist/_types/contracts/local-execution/library.d.ts +873 -0
  153. package/dist/_types/contracts/local-execution/lifecycle.d.ts +519 -0
  154. package/dist/_types/contracts/local-execution/local-navigation.d.ts +929 -0
  155. package/dist/_types/contracts/local-execution/management.d.ts +400 -0
  156. package/dist/_types/contracts/local-execution/media-recipe.d.ts +207 -0
  157. package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
  158. package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
  159. package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
  160. package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
  161. package/dist/_types/contracts/local-execution/preview.d.ts +243 -0
  162. package/dist/_types/contracts/local-execution/processor-capability.d.ts +39 -0
  163. package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
  164. package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1122 -0
  165. package/dist/_types/contracts/local-execution/processor.d.ts +6173 -0
  166. package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
  167. package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
  168. package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
  169. package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
  170. package/dist/_types/contracts/local-execution/tool-selection.d.ts +55 -0
  171. package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
  172. package/dist/_types/contracts/local-execution/work.d.ts +149 -0
  173. package/dist/_types/contracts/local-execution/workspace.d.ts +141 -0
  174. package/dist/_types/contracts/matrix-parameter-rule.d.ts +23 -0
  175. package/dist/_types/contracts/media-category.d.ts +11 -0
  176. package/dist/_types/contracts/media-export.d.ts +23 -0
  177. package/dist/_types/contracts/media-observation.d.ts +2080 -0
  178. package/dist/_types/contracts/model-capability-matrix.d.ts +118 -0
  179. package/dist/_types/contracts/native-tool-authority-failure.d.ts +38 -0
  180. package/dist/_types/contracts/native-tool-authority.d.ts +110 -0
  181. package/dist/_types/contracts/native-tool-execution.d.ts +287 -0
  182. package/dist/_types/contracts/native-tool-gateway.d.ts +41 -0
  183. package/dist/_types/contracts/native-video-audio.d.ts +62 -0
  184. package/dist/_types/contracts/navigation-context.d.ts +253 -0
  185. package/dist/_types/contracts/navigation-groups.d.ts +51 -0
  186. package/dist/_types/contracts/navigation.d.ts +248 -0
  187. package/dist/_types/contracts/observation-profile.d.ts +99 -0
  188. package/dist/_types/contracts/planning-input.d.ts +177 -0
  189. package/dist/_types/contracts/principal.d.ts +26 -0
  190. package/dist/_types/contracts/production-creation.d.ts +66 -0
  191. package/dist/_types/contracts/production-termination.d.ts +51 -0
  192. package/dist/_types/contracts/production.d.ts +111 -0
  193. package/dist/_types/contracts/programmatic-composition.d.ts +762 -0
  194. package/dist/_types/contracts/programmatic-exploration.d.ts +1822 -0
  195. package/dist/_types/contracts/programmatic-video-review.d.ts +894 -0
  196. package/dist/_types/contracts/project-library.d.ts +173 -0
  197. package/dist/_types/contracts/project.d.ts +93 -0
  198. package/dist/_types/contracts/provider-catalog.d.ts +421 -0
  199. package/dist/_types/contracts/provider-models.d.ts +3388 -0
  200. package/dist/_types/contracts/provider.d.ts +207 -0
  201. package/dist/_types/contracts/reference-preview.d.ts +55 -0
  202. package/dist/_types/contracts/repair-lifecycle.d.ts +2564 -0
  203. package/dist/_types/contracts/repair-plan.d.ts +646 -0
  204. package/dist/_types/contracts/repair-strategy.d.ts +1432 -0
  205. package/dist/_types/contracts/review-intelligence-evidence.d.ts +136 -0
  206. package/dist/_types/contracts/review-intelligence-final-output.d.ts +883 -0
  207. package/dist/_types/contracts/review-intelligence.d.ts +573 -0
  208. package/dist/_types/contracts/review1-repair-source.d.ts +452 -0
  209. package/dist/_types/contracts/review1-repair-strategy.d.ts +491 -0
  210. package/dist/_types/contracts/review1-repair.d.ts +36 -0
  211. package/dist/_types/contracts/rough-cut-manifest.d.ts +352 -0
  212. package/dist/_types/contracts/rough-cut-profile.d.ts +46 -0
  213. package/dist/_types/contracts/rough-cut-review.d.ts +459 -0
  214. package/dist/_types/contracts/rough-cut.d.ts +1260 -0
  215. package/dist/_types/contracts/scene-shot-plan.d.ts +882 -0
  216. package/dist/_types/contracts/sdk-discovery.d.ts +66 -0
  217. package/dist/_types/contracts/shot-direction.d.ts +113 -0
  218. package/dist/_types/contracts/shot-preparation-basis.d.ts +356 -0
  219. package/dist/_types/contracts/shot-preparation.d.ts +2285 -0
  220. package/dist/_types/contracts/shot-sound-instruction.d.ts +58 -0
  221. package/dist/_types/contracts/sound-making-plan.d.ts +1586 -0
  222. package/dist/_types/contracts/source-sound-policy.d.ts +10 -0
  223. package/dist/_types/contracts/source-workspace.d.ts +62 -0
  224. package/dist/_types/contracts/speech-cost.d.ts +81 -0
  225. package/dist/_types/contracts/speech.d.ts +573 -0
  226. package/dist/_types/contracts/story.d.ts +98 -0
  227. package/dist/_types/contracts/temporal-evidence-operation.d.ts +380 -0
  228. package/dist/_types/contracts/temporal-evidence-reference.d.ts +18 -0
  229. package/dist/_types/contracts/temporal-evidence.d.ts +248 -0
  230. package/dist/_types/contracts/tenant.d.ts +7 -0
  231. package/dist/_types/contracts/timeline-audio.d.ts +98 -0
  232. package/dist/_types/contracts/timeline-graphics.d.ts +80 -0
  233. package/dist/_types/contracts/timeline-manifest.d.ts +704 -0
  234. package/dist/_types/contracts/timeline-source-sound.d.ts +353 -0
  235. package/dist/_types/contracts/timeline-v2.d.ts +1267 -0
  236. package/dist/_types/contracts/timeline-version-reader.d.ts +2955 -0
  237. package/dist/_types/contracts/timeline-visual-layers.d.ts +1249 -0
  238. package/dist/_types/contracts/timeline.d.ts +142 -0
  239. package/dist/_types/contracts/transcription.d.ts +80 -0
  240. package/dist/_types/contracts/video-generation.d.ts +676 -0
  241. package/dist/_types/contracts/video-review.d.ts +1871 -0
  242. package/dist/_types/contracts/visual-exploration.d.ts +1586 -0
  243. package/dist/_types/contracts/visual-layer-render.d.ts +2820 -0
  244. package/dist/_types/contracts/visual-layer.d.ts +112 -0
  245. package/dist/_types/contracts/visual-sequence.d.ts +143 -0
  246. package/dist/_types/contracts/workspace.d.ts +32 -0
  247. package/dist/_types/contracts/writer-proposal.d.ts +268 -0
  248. package/dist/_types/sdk/errors.d.ts +14 -0
  249. package/dist/_types/sdk/local-runtime/components.d.ts +2 -0
  250. package/dist/_types/sdk/local-runtime/device-client.d.ts +187 -0
  251. package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
  252. package/dist/_types/sdk/local-runtime/workspace.d.ts +186 -0
  253. package/dist/_types/sdk/local-runtime-client.d.ts +2616 -0
  254. package/dist/entry.js +2 -0
  255. package/dist/local-management.d.ts +1 -0
  256. package/dist/local-management.js +1 -0
  257. package/dist/local-navigation.d.ts +1 -0
  258. package/dist/local-navigation.js +1 -0
  259. package/dist/native/Bootstrap.ps1 +90 -0
  260. package/dist/native/JobNative.cs +137 -0
  261. package/dist/native/JobRunner.cs +381 -0
  262. package/dist/native/NativeMain.cs +161 -0
  263. package/dist/native/PipeBridge.cs +260 -0
  264. package/dist/native/PrivateAccess.cs +152 -0
  265. package/package.json +27 -3
  266. package/README.md +0 -3
@@ -0,0 +1,676 @@
1
+ import { z } from "zod";
2
+ export declare const VideoGenerationIdSchema: z.core.$ZodBranded<z.ZodUUID, "VideoGenerationId", "out">;
3
+ export declare const VideoProviderProfileSchema: z.ZodObject<{
4
+ id: z.ZodString;
5
+ adapterVersion: z.ZodString;
6
+ model: z.ZodString;
7
+ executionClass: z.ZodEnum<{
8
+ LIVE: "LIVE";
9
+ TEST_ONLY: "TEST_ONLY";
10
+ }>;
11
+ mediaType: z.ZodLiteral<"VIDEO">;
12
+ modes: z.ZodArray<z.ZodEnum<{
13
+ REFERENCE_TO_VIDEO: "REFERENCE_TO_VIDEO";
14
+ FIRST_FRAME_TO_VIDEO: "FIRST_FRAME_TO_VIDEO";
15
+ FIRST_LAST_FRAME_TO_VIDEO: "FIRST_LAST_FRAME_TO_VIDEO";
16
+ }>>;
17
+ referenceRoles: z.ZodArray<z.ZodEnum<{
18
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
19
+ PRODUCT_PACKSHOT: "PRODUCT_PACKSHOT";
20
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
21
+ WARDROBE: "WARDROBE";
22
+ LOCATION: "LOCATION";
23
+ STYLE: "STYLE";
24
+ START_FRAME_ANCHOR: "START_FRAME_ANCHOR";
25
+ END_FRAME_ANCHOR: "END_FRAME_ANCHOR";
26
+ }>>;
27
+ aspectRatios: z.ZodArray<z.ZodEnum<{
28
+ "16:9": "16:9";
29
+ "9:16": "9:16";
30
+ }>>;
31
+ minDurationSeconds: z.ZodInt;
32
+ maxDurationSeconds: z.ZodInt;
33
+ maxReferences: z.ZodInt;
34
+ combineAnchorsAndReferences: z.ZodBoolean;
35
+ workingWidth: z.ZodInt;
36
+ workingHeight: z.ZodInt;
37
+ frameRate: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
38
+ sourceFormat: z.ZodOptional<z.ZodObject<{
39
+ videoCodec: z.ZodLiteral<"hevc">;
40
+ pixelFormat: z.ZodLiteral<"yuv420p10le">;
41
+ }, z.core.$strict>>;
42
+ hasAudio: z.ZodBoolean;
43
+ nativeAudioChannels: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
44
+ correlationStrategy: z.ZodLiteral<"PROVIDER_TASK_ID">;
45
+ }, z.core.$strict>;
46
+ /** 允许模型列表属于 tenant 连接,不要求先选择 Production。 */
47
+ export declare const VideoOptionsInputSchema: z.ZodObject<{
48
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
49
+ }, z.core.$strict>;
50
+ export declare const VideoStartInputSchema: z.ZodObject<{
51
+ expectedExecution: z.ZodOptional<z.ZodObject<{
52
+ connectionVersion: z.ZodInt;
53
+ modelProfileVersion: z.ZodInt;
54
+ quoteValidUntil: z.ZodISODateTime;
55
+ }, z.core.$strict>>;
56
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
57
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
58
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
59
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
60
+ preparationId: z.core.$ZodBranded<z.ZodUUID, "PreparationId", "out">;
61
+ contractId: z.core.$ZodBranded<z.ZodUUID, "GenerationContractId", "out">;
62
+ contractFingerprint: z.ZodString;
63
+ selection: z.ZodObject<{
64
+ connectionId: z.core.$ZodBranded<z.ZodUUID, "ProviderConnectionId", "out">;
65
+ modelProfileId: z.ZodString;
66
+ }, z.core.$strict>;
67
+ idempotencyKey: z.ZodString;
68
+ }, z.core.$strict>;
69
+ /** 异步外部视频同样冻结获准设备和整单报价,仍由原视频 Owner 受理。 */
70
+ export declare const VideoDeviceStartInputSchema: z.ZodObject<{
71
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
72
+ preparationId: z.core.$ZodBranded<z.ZodUUID, "PreparationId", "out">;
73
+ contractId: z.core.$ZodBranded<z.ZodUUID, "GenerationContractId", "out">;
74
+ contractFingerprint: z.ZodString;
75
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
76
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
77
+ idempotencyKey: z.ZodString;
78
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
79
+ deviceId: z.ZodUUID;
80
+ approvedQuote: z.ZodObject<{
81
+ currency: z.ZodLiteral<"USD">;
82
+ upperBoundMicros: z.ZodInt;
83
+ selection: z.ZodObject<{
84
+ connectionId: z.core.$ZodBranded<z.ZodUUID, "ProviderConnectionId", "out">;
85
+ modelProfileId: z.ZodString;
86
+ }, z.core.$strict>;
87
+ expectedExecution: z.ZodObject<{
88
+ connectionVersion: z.ZodInt;
89
+ modelProfileVersion: z.ZodInt;
90
+ quoteValidUntil: z.ZodISODateTime;
91
+ }, z.core.$strict>;
92
+ sourceUrl: z.ZodURL;
93
+ ruleIds: z.ZodArray<z.ZodString>;
94
+ preparationId: z.ZodUUID;
95
+ contractFingerprint: z.ZodString;
96
+ }, z.core.$strict>;
97
+ }, z.core.$strict>;
98
+ export declare const VideoGetInputSchema: z.ZodObject<{
99
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
100
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
101
+ generationId: z.core.$ZodBranded<z.ZodUUID, "VideoGenerationId", "out">;
102
+ }, z.core.$strict>;
103
+ export declare const VideoQueryInputSchema: z.ZodObject<{
104
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
105
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
106
+ shotId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">>;
107
+ limit: z.ZodDefault<z.ZodInt>;
108
+ next: z.ZodOptional<z.ZodString>;
109
+ }, z.core.$strict>;
110
+ export declare const VideoAdmissionSchema: z.ZodObject<{
111
+ semanticStatus: z.ZodLiteral<"ACCEPTED">;
112
+ generationId: z.core.$ZodBranded<z.ZodUUID, "VideoGenerationId", "out">;
113
+ operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
114
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
115
+ contractId: z.core.$ZodBranded<z.ZodUUID, "GenerationContractId", "out">;
116
+ executionClass: z.ZodEnum<{
117
+ LIVE: "LIVE";
118
+ TEST_ONLY: "TEST_ONLY";
119
+ }>;
120
+ }, z.core.$strict>;
121
+ export declare const VideoTechnicalMetadataSchema: z.ZodObject<{
122
+ contentType: z.ZodLiteral<"video/mp4">;
123
+ checksumSha256: z.ZodString;
124
+ byteSize: z.ZodInt;
125
+ width: z.ZodInt;
126
+ height: z.ZodInt;
127
+ durationMs: z.ZodInt;
128
+ frameRate: z.ZodNumber;
129
+ videoCodec: z.ZodEnum<{
130
+ h264: "h264";
131
+ hevc: "hevc";
132
+ }>;
133
+ pixelFormat: z.ZodOptional<z.ZodLiteral<"yuv420p10le">>;
134
+ hasAudio: z.ZodBoolean;
135
+ nativeAudio: z.ZodOptional<z.ZodObject<{
136
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
137
+ sourceCodec: z.ZodLiteral<"aac">;
138
+ sourceSampleRateHz: z.ZodInt;
139
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
140
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
141
+ sourceFrameCount: z.ZodInt;
142
+ sourceStartOffsetMs: z.ZodNumber;
143
+ sourceDeclaredDurationMs: z.ZodNumber;
144
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
145
+ media: z.ZodObject<{
146
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
147
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
148
+ sampleRateHz: z.ZodLiteral<48000>;
149
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
150
+ sampleCount: z.ZodInt;
151
+ durationMs: z.ZodNumber;
152
+ }, z.core.$strict>;
153
+ checksumSha256: z.ZodString;
154
+ }, z.core.$strict>>;
155
+ }, z.core.$strict>;
156
+ export declare const VideoPosterSchema: z.ZodObject<{
157
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
158
+ contentType: z.ZodLiteral<"image/png">;
159
+ checksumSha256: z.ZodString;
160
+ byteSize: z.ZodInt;
161
+ width: z.ZodInt;
162
+ height: z.ZodInt;
163
+ }, z.core.$strict>;
164
+ export declare const VideoCandidateSchema: z.ZodObject<{
165
+ contentType: z.ZodLiteral<"video/mp4">;
166
+ checksumSha256: z.ZodString;
167
+ byteSize: z.ZodInt;
168
+ width: z.ZodInt;
169
+ height: z.ZodInt;
170
+ durationMs: z.ZodInt;
171
+ frameRate: z.ZodNumber;
172
+ videoCodec: z.ZodEnum<{
173
+ h264: "h264";
174
+ hevc: "hevc";
175
+ }>;
176
+ pixelFormat: z.ZodOptional<z.ZodLiteral<"yuv420p10le">>;
177
+ hasAudio: z.ZodBoolean;
178
+ nativeAudio: z.ZodOptional<z.ZodObject<{
179
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
180
+ sourceCodec: z.ZodLiteral<"aac">;
181
+ sourceSampleRateHz: z.ZodInt;
182
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
183
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
184
+ sourceFrameCount: z.ZodInt;
185
+ sourceStartOffsetMs: z.ZodNumber;
186
+ sourceDeclaredDurationMs: z.ZodNumber;
187
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
188
+ media: z.ZodObject<{
189
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
190
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
191
+ sampleRateHz: z.ZodLiteral<48000>;
192
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
193
+ sampleCount: z.ZodInt;
194
+ durationMs: z.ZodNumber;
195
+ }, z.core.$strict>;
196
+ checksumSha256: z.ZodString;
197
+ }, z.core.$strict>>;
198
+ nativeSound: z.ZodOptional<z.ZodObject<{
199
+ id: z.ZodUUID;
200
+ tenantId: z.ZodUUID;
201
+ projectId: z.ZodUUID;
202
+ productionId: z.ZodUUID;
203
+ shotId: z.ZodUUID;
204
+ generationId: z.ZodUUID;
205
+ videoArtifactId: z.ZodUUID;
206
+ videoRepresentationId: z.ZodUUID;
207
+ videoChecksumSha256: z.ZodString;
208
+ artifactId: z.ZodUUID;
209
+ representationId: z.ZodUUID;
210
+ checksumSha256: z.ZodString;
211
+ byteSize: z.ZodInt;
212
+ metadata: z.ZodObject<{
213
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
214
+ sourceCodec: z.ZodLiteral<"aac">;
215
+ sourceSampleRateHz: z.ZodInt;
216
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
217
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
218
+ sourceFrameCount: z.ZodInt;
219
+ sourceStartOffsetMs: z.ZodNumber;
220
+ sourceDeclaredDurationMs: z.ZodNumber;
221
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
222
+ media: z.ZodObject<{
223
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
224
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
225
+ sampleRateHz: z.ZodLiteral<48000>;
226
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
227
+ sampleCount: z.ZodInt;
228
+ durationMs: z.ZodNumber;
229
+ }, z.core.$strict>;
230
+ checksumSha256: z.ZodString;
231
+ }, z.core.$strict>;
232
+ executionClass: z.ZodEnum<{
233
+ LIVE: "LIVE";
234
+ TEST_ONLY: "TEST_ONLY";
235
+ }>;
236
+ }, z.core.$strict>>;
237
+ id: z.ZodUUID;
238
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
239
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
240
+ poster: z.ZodObject<{
241
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
242
+ contentType: z.ZodLiteral<"image/png">;
243
+ checksumSha256: z.ZodString;
244
+ byteSize: z.ZodInt;
245
+ width: z.ZodInt;
246
+ height: z.ZodInt;
247
+ }, z.core.$strict>;
248
+ availability: z.ZodEnum<{
249
+ AVAILABLE: "AVAILABLE";
250
+ INVALID: "INVALID";
251
+ }>;
252
+ observation: z.ZodEnum<{
253
+ NOT_OBSERVED: "NOT_OBSERVED";
254
+ OBSERVED: "OBSERVED";
255
+ }>;
256
+ evaluation: z.ZodEnum<{
257
+ PASS: "PASS";
258
+ WARNING: "WARNING";
259
+ UNREVIEWED: "UNREVIEWED";
260
+ FAIL: "FAIL";
261
+ }>;
262
+ accepted: z.ZodBoolean;
263
+ reviewId: z.ZodOptional<z.ZodUUID>;
264
+ reviewVersion: z.ZodOptional<z.ZodInt>;
265
+ acceptanceDecisionId: z.ZodOptional<z.ZodUUID>;
266
+ freshness: z.ZodEnum<{
267
+ STALE_BASIS: "STALE_BASIS";
268
+ CURRENT_BASIS: "CURRENT_BASIS";
269
+ }>;
270
+ }, z.core.$strict>;
271
+ export declare const VideoGenerationViewSchema: z.ZodObject<{
272
+ generationId: z.core.$ZodBranded<z.ZodUUID, "VideoGenerationId", "out">;
273
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
274
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
275
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
276
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
277
+ preparationId: z.core.$ZodBranded<z.ZodUUID, "PreparationId", "out">;
278
+ contractId: z.core.$ZodBranded<z.ZodUUID, "GenerationContractId", "out">;
279
+ contractFingerprint: z.ZodString;
280
+ connection: z.ZodObject<{
281
+ connectionId: z.ZodUUID;
282
+ connectionVersion: z.ZodInt;
283
+ modelProfileId: z.ZodString;
284
+ modelProfileVersion: z.ZodInt;
285
+ }, z.core.$strict>;
286
+ operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
287
+ provider: z.ZodObject<{
288
+ id: z.ZodString;
289
+ adapterVersion: z.ZodString;
290
+ model: z.ZodString;
291
+ executionClass: z.ZodEnum<{
292
+ LIVE: "LIVE";
293
+ TEST_ONLY: "TEST_ONLY";
294
+ }>;
295
+ mediaType: z.ZodLiteral<"VIDEO">;
296
+ modes: z.ZodArray<z.ZodEnum<{
297
+ REFERENCE_TO_VIDEO: "REFERENCE_TO_VIDEO";
298
+ FIRST_FRAME_TO_VIDEO: "FIRST_FRAME_TO_VIDEO";
299
+ FIRST_LAST_FRAME_TO_VIDEO: "FIRST_LAST_FRAME_TO_VIDEO";
300
+ }>>;
301
+ referenceRoles: z.ZodArray<z.ZodEnum<{
302
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
303
+ PRODUCT_PACKSHOT: "PRODUCT_PACKSHOT";
304
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
305
+ WARDROBE: "WARDROBE";
306
+ LOCATION: "LOCATION";
307
+ STYLE: "STYLE";
308
+ START_FRAME_ANCHOR: "START_FRAME_ANCHOR";
309
+ END_FRAME_ANCHOR: "END_FRAME_ANCHOR";
310
+ }>>;
311
+ aspectRatios: z.ZodArray<z.ZodEnum<{
312
+ "16:9": "16:9";
313
+ "9:16": "9:16";
314
+ }>>;
315
+ minDurationSeconds: z.ZodInt;
316
+ maxDurationSeconds: z.ZodInt;
317
+ maxReferences: z.ZodInt;
318
+ combineAnchorsAndReferences: z.ZodBoolean;
319
+ workingWidth: z.ZodInt;
320
+ workingHeight: z.ZodInt;
321
+ frameRate: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
322
+ sourceFormat: z.ZodOptional<z.ZodObject<{
323
+ videoCodec: z.ZodLiteral<"hevc">;
324
+ pixelFormat: z.ZodLiteral<"yuv420p10le">;
325
+ }, z.core.$strict>>;
326
+ hasAudio: z.ZodBoolean;
327
+ nativeAudioChannels: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
328
+ correlationStrategy: z.ZodLiteral<"PROVIDER_TASK_ID">;
329
+ }, z.core.$strict>;
330
+ runtimeStatus: z.ZodEnum<{
331
+ FAILED: "FAILED";
332
+ CANCELLED: "CANCELLED";
333
+ RUNNING: "RUNNING";
334
+ SUPERSEDED: "SUPERSEDED";
335
+ READY: "READY";
336
+ PENDING: "PENDING";
337
+ WAITING: "WAITING";
338
+ SUCCEEDED: "SUCCEEDED";
339
+ }>;
340
+ providerStatus: z.ZodEnum<{
341
+ FAILED: "FAILED";
342
+ UNKNOWN: "UNKNOWN";
343
+ PENDING: "PENDING";
344
+ SUCCEEDED: "SUCCEEDED";
345
+ NOT_SUBMITTED: "NOT_SUBMITTED";
346
+ SUBMITTING: "SUBMITTING";
347
+ }>;
348
+ freshness: z.ZodEnum<{
349
+ STALE_BASIS: "STALE_BASIS";
350
+ CURRENT_BASIS: "CURRENT_BASIS";
351
+ }>;
352
+ cancellationRequested: z.ZodBoolean;
353
+ candidate: z.ZodNullable<z.ZodObject<{
354
+ contentType: z.ZodLiteral<"video/mp4">;
355
+ checksumSha256: z.ZodString;
356
+ byteSize: z.ZodInt;
357
+ width: z.ZodInt;
358
+ height: z.ZodInt;
359
+ durationMs: z.ZodInt;
360
+ frameRate: z.ZodNumber;
361
+ videoCodec: z.ZodEnum<{
362
+ h264: "h264";
363
+ hevc: "hevc";
364
+ }>;
365
+ pixelFormat: z.ZodOptional<z.ZodLiteral<"yuv420p10le">>;
366
+ hasAudio: z.ZodBoolean;
367
+ nativeAudio: z.ZodOptional<z.ZodObject<{
368
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
369
+ sourceCodec: z.ZodLiteral<"aac">;
370
+ sourceSampleRateHz: z.ZodInt;
371
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
372
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
373
+ sourceFrameCount: z.ZodInt;
374
+ sourceStartOffsetMs: z.ZodNumber;
375
+ sourceDeclaredDurationMs: z.ZodNumber;
376
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
377
+ media: z.ZodObject<{
378
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
379
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
380
+ sampleRateHz: z.ZodLiteral<48000>;
381
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
382
+ sampleCount: z.ZodInt;
383
+ durationMs: z.ZodNumber;
384
+ }, z.core.$strict>;
385
+ checksumSha256: z.ZodString;
386
+ }, z.core.$strict>>;
387
+ nativeSound: z.ZodOptional<z.ZodObject<{
388
+ id: z.ZodUUID;
389
+ tenantId: z.ZodUUID;
390
+ projectId: z.ZodUUID;
391
+ productionId: z.ZodUUID;
392
+ shotId: z.ZodUUID;
393
+ generationId: z.ZodUUID;
394
+ videoArtifactId: z.ZodUUID;
395
+ videoRepresentationId: z.ZodUUID;
396
+ videoChecksumSha256: z.ZodString;
397
+ artifactId: z.ZodUUID;
398
+ representationId: z.ZodUUID;
399
+ checksumSha256: z.ZodString;
400
+ byteSize: z.ZodInt;
401
+ metadata: z.ZodObject<{
402
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
403
+ sourceCodec: z.ZodLiteral<"aac">;
404
+ sourceSampleRateHz: z.ZodInt;
405
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
406
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
407
+ sourceFrameCount: z.ZodInt;
408
+ sourceStartOffsetMs: z.ZodNumber;
409
+ sourceDeclaredDurationMs: z.ZodNumber;
410
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
411
+ media: z.ZodObject<{
412
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
413
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
414
+ sampleRateHz: z.ZodLiteral<48000>;
415
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
416
+ sampleCount: z.ZodInt;
417
+ durationMs: z.ZodNumber;
418
+ }, z.core.$strict>;
419
+ checksumSha256: z.ZodString;
420
+ }, z.core.$strict>;
421
+ executionClass: z.ZodEnum<{
422
+ LIVE: "LIVE";
423
+ TEST_ONLY: "TEST_ONLY";
424
+ }>;
425
+ }, z.core.$strict>>;
426
+ id: z.ZodUUID;
427
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
428
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
429
+ poster: z.ZodObject<{
430
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
431
+ contentType: z.ZodLiteral<"image/png">;
432
+ checksumSha256: z.ZodString;
433
+ byteSize: z.ZodInt;
434
+ width: z.ZodInt;
435
+ height: z.ZodInt;
436
+ }, z.core.$strict>;
437
+ availability: z.ZodEnum<{
438
+ AVAILABLE: "AVAILABLE";
439
+ INVALID: "INVALID";
440
+ }>;
441
+ observation: z.ZodEnum<{
442
+ NOT_OBSERVED: "NOT_OBSERVED";
443
+ OBSERVED: "OBSERVED";
444
+ }>;
445
+ evaluation: z.ZodEnum<{
446
+ PASS: "PASS";
447
+ WARNING: "WARNING";
448
+ UNREVIEWED: "UNREVIEWED";
449
+ FAIL: "FAIL";
450
+ }>;
451
+ accepted: z.ZodBoolean;
452
+ reviewId: z.ZodOptional<z.ZodUUID>;
453
+ reviewVersion: z.ZodOptional<z.ZodInt>;
454
+ acceptanceDecisionId: z.ZodOptional<z.ZodUUID>;
455
+ freshness: z.ZodEnum<{
456
+ STALE_BASIS: "STALE_BASIS";
457
+ CURRENT_BASIS: "CURRENT_BASIS";
458
+ }>;
459
+ }, z.core.$strict>>;
460
+ createdByPrincipalId: z.core.$ZodBranded<z.ZodUUID, "PrincipalId", "out">;
461
+ createdAt: z.ZodISODateTime;
462
+ }, z.core.$strict>;
463
+ export declare const VideoQueryPageSchema: z.ZodObject<{
464
+ items: z.ZodArray<z.ZodObject<{
465
+ generationId: z.core.$ZodBranded<z.ZodUUID, "VideoGenerationId", "out">;
466
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
467
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
468
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
469
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
470
+ preparationId: z.core.$ZodBranded<z.ZodUUID, "PreparationId", "out">;
471
+ contractId: z.core.$ZodBranded<z.ZodUUID, "GenerationContractId", "out">;
472
+ contractFingerprint: z.ZodString;
473
+ connection: z.ZodObject<{
474
+ connectionId: z.ZodUUID;
475
+ connectionVersion: z.ZodInt;
476
+ modelProfileId: z.ZodString;
477
+ modelProfileVersion: z.ZodInt;
478
+ }, z.core.$strict>;
479
+ operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
480
+ provider: z.ZodObject<{
481
+ id: z.ZodString;
482
+ adapterVersion: z.ZodString;
483
+ model: z.ZodString;
484
+ executionClass: z.ZodEnum<{
485
+ LIVE: "LIVE";
486
+ TEST_ONLY: "TEST_ONLY";
487
+ }>;
488
+ mediaType: z.ZodLiteral<"VIDEO">;
489
+ modes: z.ZodArray<z.ZodEnum<{
490
+ REFERENCE_TO_VIDEO: "REFERENCE_TO_VIDEO";
491
+ FIRST_FRAME_TO_VIDEO: "FIRST_FRAME_TO_VIDEO";
492
+ FIRST_LAST_FRAME_TO_VIDEO: "FIRST_LAST_FRAME_TO_VIDEO";
493
+ }>>;
494
+ referenceRoles: z.ZodArray<z.ZodEnum<{
495
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
496
+ PRODUCT_PACKSHOT: "PRODUCT_PACKSHOT";
497
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
498
+ WARDROBE: "WARDROBE";
499
+ LOCATION: "LOCATION";
500
+ STYLE: "STYLE";
501
+ START_FRAME_ANCHOR: "START_FRAME_ANCHOR";
502
+ END_FRAME_ANCHOR: "END_FRAME_ANCHOR";
503
+ }>>;
504
+ aspectRatios: z.ZodArray<z.ZodEnum<{
505
+ "16:9": "16:9";
506
+ "9:16": "9:16";
507
+ }>>;
508
+ minDurationSeconds: z.ZodInt;
509
+ maxDurationSeconds: z.ZodInt;
510
+ maxReferences: z.ZodInt;
511
+ combineAnchorsAndReferences: z.ZodBoolean;
512
+ workingWidth: z.ZodInt;
513
+ workingHeight: z.ZodInt;
514
+ frameRate: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
515
+ sourceFormat: z.ZodOptional<z.ZodObject<{
516
+ videoCodec: z.ZodLiteral<"hevc">;
517
+ pixelFormat: z.ZodLiteral<"yuv420p10le">;
518
+ }, z.core.$strict>>;
519
+ hasAudio: z.ZodBoolean;
520
+ nativeAudioChannels: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
521
+ correlationStrategy: z.ZodLiteral<"PROVIDER_TASK_ID">;
522
+ }, z.core.$strict>;
523
+ runtimeStatus: z.ZodEnum<{
524
+ FAILED: "FAILED";
525
+ CANCELLED: "CANCELLED";
526
+ RUNNING: "RUNNING";
527
+ SUPERSEDED: "SUPERSEDED";
528
+ READY: "READY";
529
+ PENDING: "PENDING";
530
+ WAITING: "WAITING";
531
+ SUCCEEDED: "SUCCEEDED";
532
+ }>;
533
+ providerStatus: z.ZodEnum<{
534
+ FAILED: "FAILED";
535
+ UNKNOWN: "UNKNOWN";
536
+ PENDING: "PENDING";
537
+ SUCCEEDED: "SUCCEEDED";
538
+ NOT_SUBMITTED: "NOT_SUBMITTED";
539
+ SUBMITTING: "SUBMITTING";
540
+ }>;
541
+ freshness: z.ZodEnum<{
542
+ STALE_BASIS: "STALE_BASIS";
543
+ CURRENT_BASIS: "CURRENT_BASIS";
544
+ }>;
545
+ cancellationRequested: z.ZodBoolean;
546
+ candidate: z.ZodNullable<z.ZodObject<{
547
+ contentType: z.ZodLiteral<"video/mp4">;
548
+ checksumSha256: z.ZodString;
549
+ byteSize: z.ZodInt;
550
+ width: z.ZodInt;
551
+ height: z.ZodInt;
552
+ durationMs: z.ZodInt;
553
+ frameRate: z.ZodNumber;
554
+ videoCodec: z.ZodEnum<{
555
+ h264: "h264";
556
+ hevc: "hevc";
557
+ }>;
558
+ pixelFormat: z.ZodOptional<z.ZodLiteral<"yuv420p10le">>;
559
+ hasAudio: z.ZodBoolean;
560
+ nativeAudio: z.ZodOptional<z.ZodObject<{
561
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
562
+ sourceCodec: z.ZodLiteral<"aac">;
563
+ sourceSampleRateHz: z.ZodInt;
564
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
565
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
566
+ sourceFrameCount: z.ZodInt;
567
+ sourceStartOffsetMs: z.ZodNumber;
568
+ sourceDeclaredDurationMs: z.ZodNumber;
569
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
570
+ media: z.ZodObject<{
571
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
572
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
573
+ sampleRateHz: z.ZodLiteral<48000>;
574
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
575
+ sampleCount: z.ZodInt;
576
+ durationMs: z.ZodNumber;
577
+ }, z.core.$strict>;
578
+ checksumSha256: z.ZodString;
579
+ }, z.core.$strict>>;
580
+ nativeSound: z.ZodOptional<z.ZodObject<{
581
+ id: z.ZodUUID;
582
+ tenantId: z.ZodUUID;
583
+ projectId: z.ZodUUID;
584
+ productionId: z.ZodUUID;
585
+ shotId: z.ZodUUID;
586
+ generationId: z.ZodUUID;
587
+ videoArtifactId: z.ZodUUID;
588
+ videoRepresentationId: z.ZodUUID;
589
+ videoChecksumSha256: z.ZodString;
590
+ artifactId: z.ZodUUID;
591
+ representationId: z.ZodUUID;
592
+ checksumSha256: z.ZodString;
593
+ byteSize: z.ZodInt;
594
+ metadata: z.ZodObject<{
595
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
596
+ sourceCodec: z.ZodLiteral<"aac">;
597
+ sourceSampleRateHz: z.ZodInt;
598
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
599
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
600
+ sourceFrameCount: z.ZodInt;
601
+ sourceStartOffsetMs: z.ZodNumber;
602
+ sourceDeclaredDurationMs: z.ZodNumber;
603
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
604
+ media: z.ZodObject<{
605
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
606
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
607
+ sampleRateHz: z.ZodLiteral<48000>;
608
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
609
+ sampleCount: z.ZodInt;
610
+ durationMs: z.ZodNumber;
611
+ }, z.core.$strict>;
612
+ checksumSha256: z.ZodString;
613
+ }, z.core.$strict>;
614
+ executionClass: z.ZodEnum<{
615
+ LIVE: "LIVE";
616
+ TEST_ONLY: "TEST_ONLY";
617
+ }>;
618
+ }, z.core.$strict>>;
619
+ id: z.ZodUUID;
620
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
621
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
622
+ poster: z.ZodObject<{
623
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
624
+ contentType: z.ZodLiteral<"image/png">;
625
+ checksumSha256: z.ZodString;
626
+ byteSize: z.ZodInt;
627
+ width: z.ZodInt;
628
+ height: z.ZodInt;
629
+ }, z.core.$strict>;
630
+ availability: z.ZodEnum<{
631
+ AVAILABLE: "AVAILABLE";
632
+ INVALID: "INVALID";
633
+ }>;
634
+ observation: z.ZodEnum<{
635
+ NOT_OBSERVED: "NOT_OBSERVED";
636
+ OBSERVED: "OBSERVED";
637
+ }>;
638
+ evaluation: z.ZodEnum<{
639
+ PASS: "PASS";
640
+ WARNING: "WARNING";
641
+ UNREVIEWED: "UNREVIEWED";
642
+ FAIL: "FAIL";
643
+ }>;
644
+ accepted: z.ZodBoolean;
645
+ reviewId: z.ZodOptional<z.ZodUUID>;
646
+ reviewVersion: z.ZodOptional<z.ZodInt>;
647
+ acceptanceDecisionId: z.ZodOptional<z.ZodUUID>;
648
+ freshness: z.ZodEnum<{
649
+ STALE_BASIS: "STALE_BASIS";
650
+ CURRENT_BASIS: "CURRENT_BASIS";
651
+ }>;
652
+ }, z.core.$strict>>;
653
+ createdByPrincipalId: z.core.$ZodBranded<z.ZodUUID, "PrincipalId", "out">;
654
+ createdAt: z.ZodISODateTime;
655
+ }, z.core.$strict>>;
656
+ page: z.ZodObject<{
657
+ hasMore: z.ZodBoolean;
658
+ next: z.ZodNullable<z.ZodString>;
659
+ }, z.core.$strip>;
660
+ }, z.core.$strict>;
661
+ export declare const VideoSummarySchema: z.ZodObject<{
662
+ generations: z.ZodInt;
663
+ running: z.ZodInt;
664
+ waiting: z.ZodInt;
665
+ registeredCandidates: z.ZodInt;
666
+ testCandidates: z.ZodInt;
667
+ liveCandidates: z.ZodInt;
668
+ }, z.core.$strict>;
669
+ export type VideoProviderProfile = z.infer<typeof VideoProviderProfileSchema>;
670
+ export type VideoStartInput = z.infer<typeof VideoStartInputSchema>;
671
+ export type VideoGetInput = z.infer<typeof VideoGetInputSchema>;
672
+ export type VideoQueryInput = z.input<typeof VideoQueryInputSchema>;
673
+ export type VideoAdmission = z.infer<typeof VideoAdmissionSchema>;
674
+ export type VideoGenerationView = z.infer<typeof VideoGenerationViewSchema>;
675
+ export type VideoTechnicalMetadata = z.infer<typeof VideoTechnicalMetadataSchema>;
676
+ export type VideoSummary = z.infer<typeof VideoSummarySchema>;