@nativestudio/cli 0.3.0-rc.6 → 0.3.0-rc.7

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 (162) hide show
  1. package/COMPATIBILITY.json +7 -7
  2. package/LICENSE +201 -21
  3. package/components/runtime.json +3 -3
  4. package/components/runtime.tgz +0 -0
  5. package/dist/_chunks/{chunk-CA54SKBO.js → chunk-6SYHA2B4.js} +1 -1
  6. package/dist/_chunks/{chunk-GJ7BZJLW.js → chunk-A7EUJNCL.js} +1 -1
  7. package/dist/_chunks/chunk-AJ7S73M4.js +1 -0
  8. package/dist/_chunks/chunk-DRHPICBU.js +1 -0
  9. package/dist/_chunks/chunk-FCHO4AVP.js +1 -0
  10. package/dist/_chunks/chunk-JH5QP6PC.js +1 -0
  11. package/dist/_chunks/chunk-LF442QV6.js +1 -0
  12. package/dist/_chunks/chunk-LUBHPAPW.js +1 -0
  13. package/dist/_chunks/chunk-OZ5KZSTM.js +1 -0
  14. package/dist/_chunks/chunk-RJ4QQF7E.js +1 -0
  15. package/dist/_chunks/chunk-RT5PFKYS.js +1 -0
  16. package/dist/_chunks/chunk-SIJPJIBO.js +1 -0
  17. package/dist/_chunks/{chunk-KNFUMWDY.js → chunk-TCZJLYSR.js} +1 -1
  18. package/dist/_chunks/chunk-TTFDNLQE.js +1 -0
  19. package/dist/_chunks/chunk-URKX77KR.js +1 -0
  20. package/dist/_chunks/chunk-XRYARPEL.js +1 -0
  21. package/dist/_chunks/device-management-4XIITODX.js +1 -0
  22. package/dist/_chunks/device-preflight-SDA7Q3LH.js +1 -0
  23. package/dist/_chunks/devices-inventory-RVHGI2YW.js +1 -0
  24. package/dist/_chunks/devices-main-WOILNAGY.js +1 -0
  25. package/dist/_chunks/http-profile-XCHTSJV4.js +1 -0
  26. package/dist/_chunks/library-main-ZQKJQNHE.js +1 -0
  27. package/dist/_chunks/local-main-DX47PKHX.js +1 -0
  28. package/dist/_chunks/local-mcp-HMS5ODZN.js +1 -0
  29. package/dist/_chunks/main-HQGVZ2O2.js +2 -0
  30. package/dist/_chunks/mcp-6Q4ALHN6.js +1 -0
  31. package/dist/_chunks/project-connect-U2IHGC5W.js +1 -0
  32. package/dist/_chunks/render-main-A2AABFAG.js +1 -0
  33. package/dist/_chunks/source-import-5N4KZMTC.js +1 -0
  34. package/dist/_chunks/src-NIMTPR5W.js +1 -0
  35. package/dist/_chunks/{stdio-main-4Z2JVCMO.js → stdio-main-JJCNIY4H.js} +1 -1
  36. package/dist/_chunks/workspace-main-ZIZO4WRI.js +1 -0
  37. package/dist/_types/cli/local/desktop-contract.d.ts +1077 -564
  38. package/dist/_types/cli/local/desktop-device-contract.d.ts +170 -556
  39. package/dist/_types/cli/local/desktop-device-owner.d.ts +16 -50
  40. package/dist/_types/cli/local/desktop-device-state.d.ts +198 -31
  41. package/dist/_types/cli/local/desktop-library.d.ts +853 -0
  42. package/dist/_types/cli/local/desktop-owner.d.ts +220 -39
  43. package/dist/_types/cli/local/ledger.d.ts +2 -0
  44. package/dist/_types/cli/local/manager.d.ts +352 -22
  45. package/dist/_types/cli/local/mcp-tools.d.ts +218 -39
  46. package/dist/_types/cli/local/project-render-tools.d.ts +8742 -77
  47. package/dist/_types/cli/local-management.d.ts +2 -1
  48. package/dist/_types/contracts/artifact-discovery.d.ts +76 -4
  49. package/dist/_types/contracts/audio.d.ts +4 -0
  50. package/dist/_types/contracts/composition-authoring.d.ts +8 -8
  51. package/dist/_types/contracts/composition-frame-render.d.ts +4 -4
  52. package/dist/_types/contracts/composition-render-base.d.ts +5 -4
  53. package/dist/_types/contracts/composition-render.d.ts +8 -8
  54. package/dist/_types/contracts/composition-repair.d.ts +10 -10
  55. package/dist/_types/contracts/composition-source-review.d.ts +12 -12
  56. package/dist/_types/contracts/delivery-manifest.d.ts +25 -11765
  57. package/dist/_types/contracts/delivery-operations.d.ts +51 -3921
  58. package/dist/_types/contracts/delivery-summary.d.ts +2 -2
  59. package/dist/_types/contracts/delivery-validation.d.ts +23 -0
  60. package/dist/_types/contracts/device-render.d.ts +67 -0
  61. package/dist/_types/contracts/editor-intelligence.d.ts +114 -2491
  62. package/dist/_types/contracts/exploration-recommendation.d.ts +263 -11655
  63. package/dist/_types/contracts/external-agent-access.d.ts +9 -3
  64. package/dist/_types/contracts/final-ready.d.ts +22 -22
  65. package/dist/_types/contracts/final-render.d.ts +1569 -6949
  66. package/dist/_types/contracts/human-identity.d.ts +13 -0
  67. package/dist/_types/contracts/index.d.ts +3 -0
  68. package/dist/_types/contracts/interface/media-output.d.ts +28 -0
  69. package/dist/_types/contracts/interface/production-snapshot.d.ts +15 -193
  70. package/dist/_types/contracts/keyframe-generation.d.ts +29 -0
  71. package/dist/_types/contracts/local-execution/agent-evidence.d.ts +2 -2
  72. package/dist/_types/contracts/local-execution/agent-grant.d.ts +2 -2
  73. package/dist/_types/contracts/local-execution/agent-review.d.ts +30 -285
  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/device-authority.d.ts +31 -0
  77. package/dist/_types/contracts/local-execution/device-inventory.d.ts +76 -0
  78. package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
  79. package/dist/_types/contracts/local-execution/device.d.ts +19 -59
  80. package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
  81. package/dist/_types/contracts/local-execution/index.d.ts +19 -0
  82. package/dist/_types/contracts/local-execution/ipc.d.ts +1517 -711
  83. package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
  84. package/dist/_types/contracts/local-execution/library-result.d.ts +408 -0
  85. package/dist/_types/contracts/local-execution/library.d.ts +873 -0
  86. package/dist/_types/contracts/local-execution/lifecycle.d.ts +21 -5
  87. package/dist/_types/contracts/local-execution/local-navigation.d.ts +161 -44
  88. package/dist/_types/contracts/local-execution/management.d.ts +214 -208
  89. package/dist/_types/contracts/local-execution/media-recipe.d.ts +5 -1
  90. package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
  91. package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
  92. package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
  93. package/dist/_types/contracts/local-execution/preview.d.ts +120 -10988
  94. package/dist/_types/contracts/local-execution/processor-capability.d.ts +39 -0
  95. package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
  96. package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1122 -0
  97. package/dist/_types/contracts/local-execution/processor.d.ts +6173 -0
  98. package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
  99. package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
  100. package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
  101. package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
  102. package/dist/_types/contracts/local-execution/tool-selection.d.ts +45 -5
  103. package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
  104. package/dist/_types/contracts/local-execution/work.d.ts +69 -10741
  105. package/dist/_types/contracts/local-execution/workspace.d.ts +5 -0
  106. package/dist/_types/contracts/media-category.d.ts +11 -0
  107. package/dist/_types/contracts/media-observation.d.ts +929 -8
  108. package/dist/_types/contracts/observation-profile.d.ts +3 -3
  109. package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
  110. package/dist/_types/contracts/programmatic-exploration.d.ts +348 -6009
  111. package/dist/_types/contracts/provider-catalog.d.ts +3 -3
  112. package/dist/_types/contracts/provider-models.d.ts +16 -8
  113. package/dist/_types/contracts/provider.d.ts +66 -1
  114. package/dist/_types/contracts/reference-preview.d.ts +19 -0
  115. package/dist/_types/contracts/repair-lifecycle.d.ts +52 -384
  116. package/dist/_types/contracts/repair-plan.d.ts +16 -98
  117. package/dist/_types/contracts/repair-strategy.d.ts +162 -4505
  118. package/dist/_types/contracts/review-intelligence-final-output.d.ts +317 -8163
  119. package/dist/_types/contracts/review-intelligence.d.ts +450 -11468
  120. package/dist/_types/contracts/rough-cut-manifest.d.ts +1 -0
  121. package/dist/_types/contracts/rough-cut-review.d.ts +134 -12566
  122. package/dist/_types/contracts/rough-cut.d.ts +1076 -5731
  123. package/dist/_types/contracts/sound-making-plan.d.ts +3 -2
  124. package/dist/_types/contracts/speech-cost.d.ts +81 -0
  125. package/dist/_types/contracts/speech.d.ts +149 -0
  126. package/dist/_types/contracts/temporal-evidence-operation.d.ts +1 -0
  127. package/dist/_types/contracts/timeline-audio.d.ts +1 -0
  128. package/dist/_types/contracts/timeline-manifest.d.ts +2 -0
  129. package/dist/_types/contracts/timeline-source-sound.d.ts +1 -0
  130. package/dist/_types/contracts/timeline-v2.d.ts +4 -0
  131. package/dist/_types/contracts/timeline-version-reader.d.ts +10 -0
  132. package/dist/_types/contracts/timeline-visual-layers.d.ts +4 -0
  133. package/dist/_types/contracts/timeline.d.ts +50 -4850
  134. package/dist/_types/contracts/transcription.d.ts +1 -1
  135. package/dist/_types/contracts/video-generation.d.ts +33 -0
  136. package/dist/_types/contracts/visual-layer-render.d.ts +37 -6
  137. package/dist/_types/contracts/visual-sequence.d.ts +22 -0
  138. package/dist/_types/contracts/workspace.d.ts +22 -0
  139. package/dist/_types/sdk/errors.d.ts +1 -1
  140. package/dist/_types/sdk/local-runtime/device-client.d.ts +7 -33
  141. package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
  142. package/dist/_types/sdk/local-runtime/workspace.d.ts +9 -4
  143. package/dist/_types/sdk/local-runtime-client.d.ts +477 -32
  144. package/dist/entry.js +1 -1
  145. package/dist/local-management.js +1 -1
  146. package/dist/local-navigation.js +1 -1
  147. package/package.json +2 -8
  148. package/README.md +0 -119
  149. package/dist/_chunks/chunk-D533YC7J.js +0 -1
  150. package/dist/_chunks/chunk-HKD6F6M6.js +0 -1
  151. package/dist/_chunks/chunk-INLSOHAK.js +0 -1
  152. package/dist/_chunks/chunk-N6S6HCWE.js +0 -1
  153. package/dist/_chunks/chunk-PBEHCYR7.js +0 -1
  154. package/dist/_chunks/chunk-RVGDXRPK.js +0 -1
  155. package/dist/_chunks/chunk-YKOJPJZR.js +0 -1
  156. package/dist/_chunks/local-main-J2G7OU5E.js +0 -1
  157. package/dist/_chunks/local-mcp-LCHXL2IE.js +0 -1
  158. package/dist/_chunks/main-PPA76ARV.js +0 -2
  159. package/dist/_chunks/mcp-P7W623FE.js +0 -1
  160. package/dist/_chunks/project-connect-7L2HRJUN.js +0 -1
  161. package/dist/_chunks/render-main-ZW6UJHGN.js +0 -1
  162. package/dist/_chunks/src-BXLFLNRG.js +0 -1
@@ -0,0 +1,39 @@
1
+ import { z } from "zod";
2
+ /** 处理器用原生 Job kind 路由,授权时仍须明确每个用途。 */
3
+ export declare const processorFamilies: {
4
+ readonly IMPORTED_VISUAL_NORMALIZE: "ARTIFACT_INGEST";
5
+ readonly SOURCE_SYNC_AUDIO: "ARTIFACT_INGEST";
6
+ readonly TEMPORAL_SAMPLE: "TEMPORAL_SAMPLE";
7
+ readonly DELIVERY_VALIDATE: "DELIVERY_VALIDATE";
8
+ readonly COMPOSITION_RENDER: "COMPOSITION_RENDER";
9
+ readonly IMPORT_ORIGINAL: "ARTIFACT_INGEST";
10
+ readonly LOCAL_MEDIA_INSPECT: "OBSERVE";
11
+ readonly LOCAL_MEDIA_PUBLISH: "ARTIFACT_INGEST";
12
+ readonly IMPORT_PROJECT_SOURCE: "ARTIFACT_INGEST";
13
+ readonly REGISTER_VISUAL_SEQUENCE: "ARTIFACT_INGEST";
14
+ readonly SPEECH_SYNTHESIZE: "AUDIO_GENERATE";
15
+ readonly SPEECH_EXTERNAL_QWEN: "AUDIO_GENERATE";
16
+ readonly TRANSCRIBE_AUDIO: "OBSERVE";
17
+ readonly TRANSCRIBE_EXTERNAL_QWEN: "OBSERVE";
18
+ readonly KEYFRAME_GENERATE: "KEYFRAME_GENERATE";
19
+ readonly VIDEO_GENERATE: "VIDEO_GENERATE";
20
+ };
21
+ export declare const TenantProcessorKindSchema: z.ZodEnum<{
22
+ KEYFRAME_GENERATE: "KEYFRAME_GENERATE";
23
+ VIDEO_GENERATE: "VIDEO_GENERATE";
24
+ SPEECH_SYNTHESIZE: "SPEECH_SYNTHESIZE";
25
+ SPEECH_EXTERNAL_QWEN: "SPEECH_EXTERNAL_QWEN";
26
+ TEMPORAL_SAMPLE: "TEMPORAL_SAMPLE";
27
+ DELIVERY_VALIDATE: "DELIVERY_VALIDATE";
28
+ COMPOSITION_RENDER: "COMPOSITION_RENDER";
29
+ IMPORTED_VISUAL_NORMALIZE: "IMPORTED_VISUAL_NORMALIZE";
30
+ SOURCE_SYNC_AUDIO: "SOURCE_SYNC_AUDIO";
31
+ IMPORT_ORIGINAL: "IMPORT_ORIGINAL";
32
+ LOCAL_MEDIA_INSPECT: "LOCAL_MEDIA_INSPECT";
33
+ LOCAL_MEDIA_PUBLISH: "LOCAL_MEDIA_PUBLISH";
34
+ IMPORT_PROJECT_SOURCE: "IMPORT_PROJECT_SOURCE";
35
+ REGISTER_VISUAL_SEQUENCE: "REGISTER_VISUAL_SEQUENCE";
36
+ TRANSCRIBE_AUDIO: "TRANSCRIBE_AUDIO";
37
+ TRANSCRIBE_EXTERNAL_QWEN: "TRANSCRIBE_EXTERNAL_QWEN";
38
+ }>;
39
+ export type TenantProcessorKind = z.infer<typeof TenantProcessorKindSchema>;
@@ -0,0 +1,290 @@
1
+ import { z } from "zod";
2
+ /** 旧同步原片指令的业务字段保持原合同,新入口只增加上传与接纳的阶段。 */
3
+ export declare const DirectOriginalCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4
+ operation: z.ZodLiteral<"REGISTER">;
5
+ input: z.ZodObject<{
6
+ deviceId: z.ZodOptional<z.ZodUUID>;
7
+ projectSourceArtifactId: z.ZodOptional<z.ZodUUID>;
8
+ tenantId: z.ZodUUID;
9
+ projectId: z.ZodUUID;
10
+ productionId: z.ZodUUID;
11
+ shotId: z.ZodUUID;
12
+ expectedProductionRevision: z.ZodInt;
13
+ source: z.ZodObject<{
14
+ contentType: z.ZodLiteral<"video/mp4">;
15
+ checksumSha256: z.ZodString;
16
+ byteSize: z.ZodInt;
17
+ executionClass: z.ZodEnum<{
18
+ LIVE: "LIVE";
19
+ TEST_ONLY: "TEST_ONLY";
20
+ }>;
21
+ }, z.core.$strict>;
22
+ declaredProvenance: z.ZodObject<{
23
+ originalName: z.ZodOptional<z.ZodString>;
24
+ authorship: z.ZodOptional<z.ZodString>;
25
+ license: z.ZodOptional<z.ZodString>;
26
+ }, z.core.$strict>;
27
+ idempotencyKey: z.ZodString;
28
+ }, z.core.$strict>;
29
+ }, z.core.$strict>, z.ZodObject<{
30
+ operation: z.ZodLiteral<"REVISE">;
31
+ input: z.ZodObject<{
32
+ deviceId: z.ZodOptional<z.ZodUUID>;
33
+ projectSourceArtifactId: z.ZodOptional<z.ZodUUID>;
34
+ tenantId: z.ZodUUID;
35
+ projectId: z.ZodUUID;
36
+ productionId: z.ZodUUID;
37
+ shotId: z.ZodUUID;
38
+ expectedProductionRevision: z.ZodInt;
39
+ source: z.ZodObject<{
40
+ contentType: z.ZodLiteral<"video/mp4">;
41
+ checksumSha256: z.ZodString;
42
+ byteSize: z.ZodInt;
43
+ executionClass: z.ZodEnum<{
44
+ LIVE: "LIVE";
45
+ TEST_ONLY: "TEST_ONLY";
46
+ }>;
47
+ }, z.core.$strict>;
48
+ declaredProvenance: z.ZodObject<{
49
+ originalName: z.ZodOptional<z.ZodString>;
50
+ authorship: z.ZodOptional<z.ZodString>;
51
+ license: z.ZodOptional<z.ZodString>;
52
+ }, z.core.$strict>;
53
+ idempotencyKey: z.ZodString;
54
+ sourceId: z.ZodUUID;
55
+ expectedVersion: z.ZodInt;
56
+ }, z.core.$strict>;
57
+ }, z.core.$strict>], "operation">;
58
+ export type DirectOriginalCommand = z.infer<typeof DirectOriginalCommandSchema>;
59
+ export declare const DirectOriginalKeySchema: z.ZodObject<{
60
+ tenantId: z.ZodUUID;
61
+ projectId: z.ZodUUID;
62
+ productionId: z.ZodUUID;
63
+ intakeId: z.ZodUUID;
64
+ }, z.core.$strict>;
65
+ export declare const DirectOriginalAdmissionSchema: z.ZodObject<{
66
+ state: z.ZodLiteral<"SUBMITTED">;
67
+ tenantId: z.ZodUUID;
68
+ projectId: z.ZodUUID;
69
+ productionId: z.ZodUUID;
70
+ intakeId: z.ZodUUID;
71
+ runtimeJobId: z.ZodUUID;
72
+ operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
73
+ }, z.core.$strict>;
74
+ export declare const DirectOriginalStageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
75
+ state: z.ZodLiteral<"ACCEPTED">;
76
+ original: z.ZodObject<{
77
+ sourceId: z.ZodUUID;
78
+ versionId: z.ZodUUID;
79
+ version: z.ZodInt;
80
+ tenantId: z.ZodUUID;
81
+ projectId: z.ZodUUID;
82
+ productionId: z.ZodUUID;
83
+ shotId: z.ZodUUID;
84
+ artifactId: z.ZodUUID;
85
+ representationId: z.ZodUUID;
86
+ metadata: z.ZodObject<{
87
+ geometry: z.ZodObject<{
88
+ width: z.ZodInt;
89
+ height: z.ZodInt;
90
+ }, z.core.$strict>;
91
+ videoCodec: z.ZodLiteral<"h264">;
92
+ pixelFormat: z.ZodLiteral<"yuv420p">;
93
+ sampleAspectRatio: z.ZodLiteral<"1:1">;
94
+ rotationDegrees: z.ZodLiteral<0>;
95
+ startPts: z.ZodLiteral<0>;
96
+ timeBase: z.ZodObject<{
97
+ numerator: z.ZodInt;
98
+ denominator: z.ZodInt;
99
+ }, z.core.$strict>;
100
+ frameRate: z.ZodObject<{
101
+ numerator: z.ZodInt;
102
+ denominator: z.ZodInt;
103
+ }, z.core.$strict>;
104
+ frameCount: z.ZodInt;
105
+ durationTicks: z.ZodInt;
106
+ availableCfr30Frames: z.ZodInt;
107
+ color: z.ZodObject<{
108
+ range: z.ZodEnum<{
109
+ unknown: "unknown";
110
+ tv: "tv";
111
+ }>;
112
+ space: z.ZodEnum<{
113
+ unknown: "unknown";
114
+ bt709: "bt709";
115
+ }>;
116
+ transfer: z.ZodEnum<{
117
+ unknown: "unknown";
118
+ bt709: "bt709";
119
+ }>;
120
+ primaries: z.ZodEnum<{
121
+ unknown: "unknown";
122
+ bt709: "bt709";
123
+ }>;
124
+ }, z.core.$strict>;
125
+ audio: z.ZodNullable<z.ZodObject<{
126
+ codec: z.ZodLiteral<"aac">;
127
+ sampleRateHz: z.ZodUnion<readonly [z.ZodLiteral<44100>, z.ZodLiteral<48000>]>;
128
+ channels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
129
+ startPts: z.ZodInt;
130
+ timeBase: z.ZodObject<{
131
+ numerator: z.ZodInt;
132
+ denominator: z.ZodInt;
133
+ }, z.core.$strict>;
134
+ durationTicks: z.ZodInt;
135
+ }, z.core.$strict>>;
136
+ fullDecode: z.ZodLiteral<true>;
137
+ cfrTimestampsVerified: z.ZodLiteral<true>;
138
+ contentType: z.ZodLiteral<"video/mp4">;
139
+ checksumSha256: z.ZodString;
140
+ byteSize: z.ZodInt;
141
+ executionClass: z.ZodEnum<{
142
+ LIVE: "LIVE";
143
+ TEST_ONLY: "TEST_ONLY";
144
+ }>;
145
+ }, z.core.$strict>;
146
+ declaredProvenance: z.ZodOptional<z.ZodObject<{
147
+ originalName: z.ZodOptional<z.ZodString>;
148
+ authorship: z.ZodOptional<z.ZodString>;
149
+ license: z.ZodOptional<z.ZodString>;
150
+ }, z.core.$strict>>;
151
+ executionClass: z.ZodEnum<{
152
+ LIVE: "LIVE";
153
+ TEST_ONLY: "TEST_ONLY";
154
+ }>;
155
+ current: z.ZodBoolean;
156
+ createdAt: z.ZodISODateTime;
157
+ }, z.core.$strict>;
158
+ }, z.core.$strict>, z.ZodObject<{
159
+ state: z.ZodLiteral<"SUBMITTED">;
160
+ tenantId: z.ZodUUID;
161
+ projectId: z.ZodUUID;
162
+ productionId: z.ZodUUID;
163
+ intakeId: z.ZodUUID;
164
+ runtimeJobId: z.ZodUUID;
165
+ operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
166
+ }, z.core.$strict>, z.ZodObject<{
167
+ tenantId: z.ZodUUID;
168
+ projectId: z.ZodUUID;
169
+ productionId: z.ZodUUID;
170
+ intakeId: z.ZodUUID;
171
+ state: z.ZodLiteral<"UPLOAD">;
172
+ ticket: z.ZodObject<{
173
+ endpoint: z.ZodURL;
174
+ credential: z.ZodString;
175
+ method: z.ZodEnum<{
176
+ GET: "GET";
177
+ PUT: "PUT";
178
+ }>;
179
+ object: z.ZodObject<{
180
+ tenantId: z.ZodUUID;
181
+ projectId: z.ZodUUID;
182
+ versionId: z.ZodUUID;
183
+ role: z.ZodEnum<{
184
+ VIDEO: "VIDEO";
185
+ AUDIO: "AUDIO";
186
+ SOURCE: "SOURCE";
187
+ POSTER: "POSTER";
188
+ FRAME: "FRAME";
189
+ SHEET: "SHEET";
190
+ MANIFEST: "MANIFEST";
191
+ }>;
192
+ byteSize: z.ZodInt;
193
+ checksumSha256: z.ZodString;
194
+ }, z.core.$strict>;
195
+ }, z.core.$strict>;
196
+ uploaded: z.ZodBoolean;
197
+ }, z.core.$strict>], "state">;
198
+ export declare const DirectOriginalSubmitSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
199
+ state: z.ZodLiteral<"ACCEPTED">;
200
+ original: z.ZodObject<{
201
+ sourceId: z.ZodUUID;
202
+ versionId: z.ZodUUID;
203
+ version: z.ZodInt;
204
+ tenantId: z.ZodUUID;
205
+ projectId: z.ZodUUID;
206
+ productionId: z.ZodUUID;
207
+ shotId: z.ZodUUID;
208
+ artifactId: z.ZodUUID;
209
+ representationId: z.ZodUUID;
210
+ metadata: z.ZodObject<{
211
+ geometry: z.ZodObject<{
212
+ width: z.ZodInt;
213
+ height: z.ZodInt;
214
+ }, z.core.$strict>;
215
+ videoCodec: z.ZodLiteral<"h264">;
216
+ pixelFormat: z.ZodLiteral<"yuv420p">;
217
+ sampleAspectRatio: z.ZodLiteral<"1:1">;
218
+ rotationDegrees: z.ZodLiteral<0>;
219
+ startPts: z.ZodLiteral<0>;
220
+ timeBase: z.ZodObject<{
221
+ numerator: z.ZodInt;
222
+ denominator: z.ZodInt;
223
+ }, z.core.$strict>;
224
+ frameRate: z.ZodObject<{
225
+ numerator: z.ZodInt;
226
+ denominator: z.ZodInt;
227
+ }, z.core.$strict>;
228
+ frameCount: z.ZodInt;
229
+ durationTicks: z.ZodInt;
230
+ availableCfr30Frames: z.ZodInt;
231
+ color: z.ZodObject<{
232
+ range: z.ZodEnum<{
233
+ unknown: "unknown";
234
+ tv: "tv";
235
+ }>;
236
+ space: z.ZodEnum<{
237
+ unknown: "unknown";
238
+ bt709: "bt709";
239
+ }>;
240
+ transfer: z.ZodEnum<{
241
+ unknown: "unknown";
242
+ bt709: "bt709";
243
+ }>;
244
+ primaries: z.ZodEnum<{
245
+ unknown: "unknown";
246
+ bt709: "bt709";
247
+ }>;
248
+ }, z.core.$strict>;
249
+ audio: z.ZodNullable<z.ZodObject<{
250
+ codec: z.ZodLiteral<"aac">;
251
+ sampleRateHz: z.ZodUnion<readonly [z.ZodLiteral<44100>, z.ZodLiteral<48000>]>;
252
+ channels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
253
+ startPts: z.ZodInt;
254
+ timeBase: z.ZodObject<{
255
+ numerator: z.ZodInt;
256
+ denominator: z.ZodInt;
257
+ }, z.core.$strict>;
258
+ durationTicks: z.ZodInt;
259
+ }, z.core.$strict>>;
260
+ fullDecode: z.ZodLiteral<true>;
261
+ cfrTimestampsVerified: z.ZodLiteral<true>;
262
+ contentType: z.ZodLiteral<"video/mp4">;
263
+ checksumSha256: z.ZodString;
264
+ byteSize: z.ZodInt;
265
+ executionClass: z.ZodEnum<{
266
+ LIVE: "LIVE";
267
+ TEST_ONLY: "TEST_ONLY";
268
+ }>;
269
+ }, z.core.$strict>;
270
+ declaredProvenance: z.ZodOptional<z.ZodObject<{
271
+ originalName: z.ZodOptional<z.ZodString>;
272
+ authorship: z.ZodOptional<z.ZodString>;
273
+ license: z.ZodOptional<z.ZodString>;
274
+ }, z.core.$strict>>;
275
+ executionClass: z.ZodEnum<{
276
+ LIVE: "LIVE";
277
+ TEST_ONLY: "TEST_ONLY";
278
+ }>;
279
+ current: z.ZodBoolean;
280
+ createdAt: z.ZodISODateTime;
281
+ }, z.core.$strict>;
282
+ }, z.core.$strict>, z.ZodObject<{
283
+ state: z.ZodLiteral<"SUBMITTED">;
284
+ tenantId: z.ZodUUID;
285
+ projectId: z.ZodUUID;
286
+ productionId: z.ZodUUID;
287
+ intakeId: z.ZodUUID;
288
+ runtimeJobId: z.ZodUUID;
289
+ operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
290
+ }, z.core.$strict>], "state">;