@nativestudio/cli 0.3.0-rc.11 → 0.3.0-rc.15

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 (177) hide show
  1. package/COMPATIBILITY.json +14 -10
  2. package/components/runtime.json +10 -6
  3. package/components/runtime.tgz +0 -0
  4. package/dist/_chunks/chunk-5UJEP7FY.js +1 -0
  5. package/dist/_chunks/chunk-6UYY5KHI.js +1 -0
  6. package/dist/_chunks/chunk-AAGFHT2D.js +1 -0
  7. package/dist/_chunks/{chunk-M2KVQQ4X.js → chunk-BBTZJB2G.js} +1 -1
  8. package/dist/_chunks/chunk-BX2SNMA4.js +1 -0
  9. package/dist/_chunks/chunk-CFZNDURD.js +1 -0
  10. package/dist/_chunks/{chunk-3AVC742O.js → chunk-FX5UVDTH.js} +1 -1
  11. package/dist/_chunks/{chunk-HR34UMPP.js → chunk-H6EZKOYR.js} +1 -1
  12. package/dist/_chunks/chunk-I5KYSPUJ.js +1 -0
  13. package/dist/_chunks/chunk-KOCUZ3AE.js +1 -0
  14. package/dist/_chunks/{chunk-L543FEDK.js → chunk-NPDLPC5B.js} +1 -1
  15. package/dist/_chunks/{chunk-LISB5W7B.js → chunk-NQVUVPW5.js} +1 -1
  16. package/dist/_chunks/{chunk-EGUJ2YRX.js → chunk-O47YYPL7.js} +1 -1
  17. package/dist/_chunks/{chunk-65FQPXKC.js → chunk-OVIR77ET.js} +1 -1
  18. package/dist/_chunks/{chunk-VDNNFVTZ.js → chunk-OW6R4MAQ.js} +1 -1
  19. package/dist/_chunks/{chunk-ODGPV7MM.js → chunk-PB2HLRXG.js} +1 -1
  20. package/dist/_chunks/chunk-PDQYFIQQ.js +1 -0
  21. package/dist/_chunks/chunk-RUPH3HZ2.js +1 -0
  22. package/dist/_chunks/chunk-SAPEOZ2V.js +1 -0
  23. package/dist/_chunks/chunk-SKAVQ4UW.js +1 -0
  24. package/dist/_chunks/{chunk-4U4Y2K73.js → chunk-TTB7CYC5.js} +1 -1
  25. package/dist/_chunks/chunk-U5FT4VBR.js +1 -0
  26. package/dist/_chunks/chunk-VOGKKZQH.js +1 -0
  27. package/dist/_chunks/chunk-YV447AB5.js +1 -0
  28. package/dist/_chunks/{chunk-LUAH3KAS.js → chunk-ZADAXKKY.js} +1 -1
  29. package/dist/_chunks/{chunk-QAJH4RJQ.js → chunk-ZOODOQBH.js} +1 -1
  30. package/dist/_chunks/{connect-5YMO6MAR.js → connect-RIODOO3C.js} +1 -1
  31. package/dist/_chunks/{device-management-2OTGEBJQ.js → device-management-VECG3RA4.js} +1 -1
  32. package/dist/_chunks/{device-preflight-XPHFZGLO.js → device-preflight-73KVSHZG.js} +1 -1
  33. package/dist/_chunks/{devices-inventory-VWNTU5TE.js → devices-inventory-E6TE4H7T.js} +1 -1
  34. package/dist/_chunks/{devices-main-VQ4APRVS.js → devices-main-7JHMJNGV.js} +1 -1
  35. package/dist/_chunks/{files-TTIQ7LYJ.js → files-72BEXD7E.js} +1 -1
  36. package/dist/_chunks/{host-main-H7DPLV7B.js → host-main-KDORT44Q.js} +1 -1
  37. package/dist/_chunks/http-profile-QINBH2FP.js +1 -0
  38. package/dist/_chunks/{library-main-SAC3V2ML.js → library-main-AWUEMZFQ.js} +1 -1
  39. package/dist/_chunks/local-main-BNFNAPRG.js +1 -0
  40. package/dist/_chunks/{local-mcp-ONCANLPH.js → local-mcp-HU6MII3G.js} +1 -1
  41. package/dist/_chunks/main-BSMCHALI.js +2 -0
  42. package/dist/_chunks/mcp-3VZZFXNG.js +1 -0
  43. package/dist/_chunks/oauth-QBJ62PIA.js +1 -0
  44. package/dist/_chunks/observe-entry-D7F6OQ7Y.js +1 -0
  45. package/dist/_chunks/remote-client-XIJ6RQLU.js +1 -0
  46. package/dist/_chunks/{render-main-GYWKP72O.js → render-main-O3IN6EFV.js} +1 -1
  47. package/dist/_chunks/{source-import-BC5GNCUZ.js → source-import-Y2Z3BVWY.js} +1 -1
  48. package/dist/_chunks/src-3S6CAUSJ.js +1 -0
  49. package/dist/_chunks/{stdio-main-RIJS5REB.js → stdio-main-T4WMBNKB.js} +1 -1
  50. package/dist/_chunks/workspace-main-KWFTVTZG.js +1 -0
  51. package/dist/_types/cli/local/desktop-contract.d.ts +64 -6
  52. package/dist/_types/cli/local/desktop-device-contract.d.ts +25 -12
  53. package/dist/_types/cli/local/desktop-device-owner.d.ts +34 -8
  54. package/dist/_types/cli/local/desktop-device-state.d.ts +64 -12
  55. package/dist/_types/cli/local/desktop-owner.d.ts +58 -9
  56. package/dist/_types/cli/local/ledger.d.ts +10 -10
  57. package/dist/_types/cli/local/manager.d.ts +121 -18
  58. package/dist/_types/cli/local/mcp-tools.d.ts +14 -13
  59. package/dist/_types/cli/local/releases.d.ts +2 -2
  60. package/dist/_types/cli/local-management.d.ts +3 -0
  61. package/dist/_types/contracts/artifact-discovery.d.ts +60 -0
  62. package/dist/_types/contracts/audio.d.ts +162 -0
  63. package/dist/_types/contracts/consistency-profile.d.ts +102 -6
  64. package/dist/_types/contracts/continuity-evaluation.d.ts +1 -1
  65. package/dist/_types/contracts/delivery-operations.d.ts +150 -0
  66. package/dist/_types/contracts/device-render.d.ts +2 -0
  67. package/dist/_types/contracts/editor-intelligence.d.ts +280 -42
  68. package/dist/_types/contracts/final-render.d.ts +188 -24
  69. package/dist/_types/contracts/human-links.d.ts +58 -0
  70. package/dist/_types/contracts/index.d.ts +8 -0
  71. package/dist/_types/contracts/interface/media-output.d.ts +90 -0
  72. package/dist/_types/contracts/interface/operation.d.ts +30 -0
  73. package/dist/_types/contracts/interface/production-snapshot.d.ts +60 -0
  74. package/dist/_types/contracts/interface/query.d.ts +60 -0
  75. package/dist/_types/contracts/keyframe-generation.d.ts +1 -1
  76. package/dist/_types/contracts/lifecycle-event-projections.d.ts +15 -0
  77. package/dist/_types/contracts/lifecycle-events.d.ts +53 -1
  78. package/dist/_types/contracts/local-execution/agent-context.d.ts +23 -3
  79. package/dist/_types/contracts/local-execution/agent-review.d.ts +29 -3
  80. package/dist/_types/contracts/local-execution/audio-profile.d.ts +6 -0
  81. package/dist/_types/contracts/local-execution/cpu-preparation.d.ts +46 -0
  82. package/dist/_types/contracts/local-execution/cpu-resources.d.ts +55 -0
  83. package/dist/_types/contracts/local-execution/cpu-speech-job.d.ts +70 -0
  84. package/dist/_types/contracts/local-execution/cpu-speech.d.ts +161 -0
  85. package/dist/_types/contracts/local-execution/descriptor.d.ts +1 -1
  86. package/dist/_types/contracts/local-execution/device-inventory.d.ts +2 -2
  87. package/dist/_types/contracts/local-execution/device.d.ts +3 -3
  88. package/dist/_types/contracts/local-execution/index.d.ts +6 -0
  89. package/dist/_types/contracts/local-execution/ipc.d.ts +18 -2
  90. package/dist/_types/contracts/local-execution/library-result.d.ts +16 -0
  91. package/dist/_types/contracts/local-execution/lifecycle.d.ts +49 -7
  92. package/dist/_types/contracts/local-execution/local-navigation.d.ts +15 -14
  93. package/dist/_types/contracts/local-execution/management.d.ts +15 -11
  94. package/dist/_types/contracts/local-execution/preview.d.ts +38 -3
  95. package/dist/_types/contracts/local-execution/processor-capability.d.ts +2 -0
  96. package/dist/_types/contracts/local-execution/processor-recipes.d.ts +43 -0
  97. package/dist/_types/contracts/local-execution/processor-toolchain.d.ts +47 -0
  98. package/dist/_types/contracts/local-execution/processor.d.ts +184 -3
  99. package/dist/_types/contracts/local-execution/speech.d.ts +1 -1
  100. package/dist/_types/contracts/local-execution/tool-selection.d.ts +26 -0
  101. package/dist/_types/contracts/local-execution/work.d.ts +16 -2
  102. package/dist/_types/contracts/native-speech-model.d.ts +53 -0
  103. package/dist/_types/contracts/native-speech-options.d.ts +25 -0
  104. package/dist/_types/contracts/navigation-context.d.ts +2 -2
  105. package/dist/_types/contracts/navigation-groups.d.ts +1 -1
  106. package/dist/_types/contracts/navigation.d.ts +35 -5
  107. package/dist/_types/contracts/production-creation.d.ts +30 -0
  108. package/dist/_types/contracts/production-feedback.d.ts +452 -0
  109. package/dist/_types/contracts/production.d.ts +30 -0
  110. package/dist/_types/contracts/project-library.d.ts +30 -0
  111. package/dist/_types/contracts/project.d.ts +30 -0
  112. package/dist/_types/contracts/provider-models.d.ts +193 -0
  113. package/dist/_types/contracts/repair-lifecycle.d.ts +4 -4
  114. package/dist/_types/contracts/repair-plan.d.ts +1 -1
  115. package/dist/_types/contracts/repair-strategy.d.ts +9 -5
  116. package/dist/_types/contracts/review-intelligence-final-output.d.ts +90 -0
  117. package/dist/_types/contracts/review-intelligence.d.ts +3 -1
  118. package/dist/_types/contracts/rough-cut-manifest.d.ts +19 -4
  119. package/dist/_types/contracts/rough-cut-review.d.ts +10 -1
  120. package/dist/_types/contracts/rough-cut.d.ts +111 -12
  121. package/dist/_types/contracts/shares.d.ts +135 -0
  122. package/dist/_types/contracts/shot-preparation-basis.d.ts +2 -2
  123. package/dist/_types/contracts/shot-preparation.d.ts +4 -4
  124. package/dist/_types/contracts/sound-making-plan.d.ts +207 -0
  125. package/dist/_types/contracts/speech-cost.d.ts +15 -0
  126. package/dist/_types/contracts/speech-parameters.d.ts +39 -0
  127. package/dist/_types/contracts/speech.d.ts +470 -39
  128. package/dist/_types/contracts/timeline-audio.d.ts +19 -4
  129. package/dist/_types/contracts/timeline-manifest.d.ts +38 -8
  130. package/dist/_types/contracts/timeline-source-sound.d.ts +41 -4
  131. package/dist/_types/contracts/timeline-v2.d.ts +120 -16
  132. package/dist/_types/contracts/timeline-version-reader.d.ts +278 -40
  133. package/dist/_types/contracts/timeline-visual-layers.d.ts +120 -16
  134. package/dist/_types/contracts/video-generation.d.ts +1 -1
  135. package/dist/_types/contracts/visual-exploration.d.ts +1 -1
  136. package/dist/_types/contracts/visual-layer-render.d.ts +240 -32
  137. package/dist/_types/contracts/visual-sequence.d.ts +1 -1
  138. package/dist/_types/contracts/voice-consistency.d.ts +183 -0
  139. package/dist/_types/contracts/voice-profile/contracts.d.ts +821 -0
  140. package/dist/_types/contracts/voice-profile/identity.d.ts +27 -0
  141. package/dist/_types/contracts/voice-profile/interface.d.ts +89 -0
  142. package/dist/_types/contracts/voice-profile/reference.d.ts +106 -0
  143. package/dist/_types/contracts/voice-review.d.ts +1194 -0
  144. package/dist/_types/contracts/workspace.d.ts +51 -0
  145. package/dist/_types/sdk/local-runtime/device-client.d.ts +54 -2
  146. package/dist/_types/sdk/local-runtime-client.d.ts +169 -28
  147. package/dist/entry.js +1 -1
  148. package/dist/local-management.js +1 -1
  149. package/dist/local-navigation.js +1 -1
  150. package/dist/native/helper.exe +0 -0
  151. package/dist/native/helper.json +1 -0
  152. package/package.json +1 -1
  153. package/dist/_chunks/chunk-37PAJCKA.js +0 -1
  154. package/dist/_chunks/chunk-6DVZBKNV.js +0 -1
  155. package/dist/_chunks/chunk-6LU6GJKW.js +0 -1
  156. package/dist/_chunks/chunk-6N433ZWR.js +0 -1
  157. package/dist/_chunks/chunk-FU3524Z6.js +0 -1
  158. package/dist/_chunks/chunk-GZBWA4YN.js +0 -1
  159. package/dist/_chunks/chunk-KB2GVAN7.js +0 -1
  160. package/dist/_chunks/chunk-PUBMDP4E.js +0 -1
  161. package/dist/_chunks/chunk-PUNG4ND7.js +0 -1
  162. package/dist/_chunks/chunk-Q57YFNK5.js +0 -1
  163. package/dist/_chunks/chunk-VPYAXWXY.js +0 -1
  164. package/dist/_chunks/chunk-WFRRNWO5.js +0 -1
  165. package/dist/_chunks/http-profile-MNJX6OXO.js +0 -1
  166. package/dist/_chunks/local-main-D6B3APK6.js +0 -1
  167. package/dist/_chunks/main-PW6HB3NC.js +0 -2
  168. package/dist/_chunks/mcp-ZIGBYFUW.js +0 -1
  169. package/dist/_chunks/oauth-HC6TI7HB.js +0 -1
  170. package/dist/_chunks/src-R6DNU336.js +0 -1
  171. package/dist/_chunks/workspace-main-GNSKHKBG.js +0 -1
  172. package/dist/native/Bootstrap.ps1 +0 -90
  173. package/dist/native/JobNative.cs +0 -137
  174. package/dist/native/JobRunner.cs +0 -381
  175. package/dist/native/NativeMain.cs +0 -161
  176. package/dist/native/PipeBridge.cs +0 -260
  177. package/dist/native/PrivateAccess.cs +0 -152
@@ -1,3 +1,4 @@
1
+ import { HumanLinksSchema } from "./human-links.js";
1
2
  import { RoughCutManifestSchema } from "./rough-cut-manifest.js";
2
3
  export { RoughCutManifestSchema } from "./rough-cut-manifest.js";
3
4
  import { RoughCutProfileIdSchema } from "./rough-cut-profile.js";
@@ -61,6 +62,7 @@ export declare const RoughCutArtifactSchema: z.ZodObject<z.core.util.Extend<type
61
62
  }>;
62
63
  }>, typeof RoughCutTechnicalSchema._zod.config>;
63
64
  export declare const RoughCutAdmissionSchema: z.ZodObject<{
65
+ humanLinks: z.ZodOptional<typeof HumanLinksSchema>;
64
66
  deviceExecution: z.ZodOptional<typeof DeviceRenderReceiptSchema>;
65
67
  semanticStatus: z.ZodLiteral<"ACCEPTED">;
66
68
  renderId: z.ZodUUID;
@@ -78,6 +80,36 @@ export declare const RoughCutAdmissionSchema: z.ZodObject<{
78
80
  export declare const RoughCutViewSchema: z.ZodObject<{
79
81
  tenantId: typeof import("./ids.js").TenantIdSchema;
80
82
  productionId: typeof import("./ids.js").ProductionIdSchema;
83
+ humanLinks: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
84
+ status: z.ZodLiteral<"AVAILABLE">;
85
+ items: z.ZodArray<z.ZodObject<{
86
+ rel: z.ZodEnum<{
87
+ delivery: "delivery";
88
+ workspace: "workspace";
89
+ project: "project";
90
+ production: "production";
91
+ artifact: "artifact";
92
+ voice_profile: "voice_profile";
93
+ }>;
94
+ href: z.ZodURL;
95
+ }, z.core.$strict>>;
96
+ }, z.core.$strict>, z.ZodObject<{
97
+ status: z.ZodEnum<{
98
+ UNAVAILABLE: "UNAVAILABLE";
99
+ UNCONFIGURED: "UNCONFIGURED";
100
+ }>;
101
+ items: z.ZodArray<z.ZodObject<{
102
+ rel: z.ZodEnum<{
103
+ delivery: "delivery";
104
+ workspace: "workspace";
105
+ project: "project";
106
+ production: "production";
107
+ artifact: "artifact";
108
+ voice_profile: "voice_profile";
109
+ }>;
110
+ href: z.ZodURL;
111
+ }, z.core.$strict>>;
112
+ }, z.core.$strict>], "status">>;
81
113
  renderId: z.ZodUUID;
82
114
  projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
83
115
  runtimeJobId: z.ZodUUID;
@@ -179,10 +211,6 @@ export declare const RoughCutViewSchema: z.ZodObject<{
179
211
  source: z.ZodObject<{
180
212
  tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
181
213
  productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
182
- purpose: z.ZodEnum<{
183
- VOICEOVER: "VOICEOVER";
184
- MUSIC: "MUSIC";
185
- }>;
186
214
  id: z.ZodUUID;
187
215
  audioId: z.ZodUUID;
188
216
  projectId: z.ZodUUID;
@@ -207,6 +235,21 @@ export declare const RoughCutViewSchema: z.ZodObject<{
207
235
  createdAt: z.ZodISODateTime;
208
236
  generation: z.ZodOptional<z.ZodObject<{
209
237
  generationId: z.ZodUUID;
238
+ voiceProfile: z.ZodOptional<z.ZodObject<{
239
+ ref: z.ZodObject<{
240
+ ownerSystem: z.ZodString;
241
+ ownerTenantRef: z.ZodString;
242
+ voiceProfileRef: z.ZodString;
243
+ version: z.ZodInt;
244
+ digest: z.ZodString;
245
+ }, z.core.$strict>;
246
+ bindingKey: z.ZodString;
247
+ language: z.ZodString;
248
+ usage: z.ZodEnum<{
249
+ AUDITION: "AUDITION";
250
+ PRODUCTION: "PRODUCTION";
251
+ }>;
252
+ }, z.core.$strict>>;
210
253
  executionClass: z.ZodEnum<{
211
254
  LIVE: "LIVE";
212
255
  TEST_ONLY: "TEST_ONLY";
@@ -224,6 +267,10 @@ export declare const RoughCutViewSchema: z.ZodObject<{
224
267
  normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
225
268
  padSamples: z.ZodInt;
226
269
  }, z.core.$strict>>;
270
+ purpose: z.ZodEnum<{
271
+ VOICEOVER: "VOICEOVER";
272
+ MUSIC: "MUSIC";
273
+ }>;
227
274
  }, z.core.$strict>;
228
275
  }, z.core.$strict>>;
229
276
  }, z.core.$strict>>;
@@ -629,10 +676,6 @@ export declare const RoughCutViewSchema: z.ZodObject<{
629
676
  source: z.ZodObject<{
630
677
  tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
631
678
  productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
632
- purpose: z.ZodEnum<{
633
- VOICEOVER: "VOICEOVER";
634
- MUSIC: "MUSIC";
635
- }>;
636
679
  id: z.ZodUUID;
637
680
  audioId: z.ZodUUID;
638
681
  projectId: z.ZodUUID;
@@ -657,6 +700,21 @@ export declare const RoughCutViewSchema: z.ZodObject<{
657
700
  createdAt: z.ZodISODateTime;
658
701
  generation: z.ZodOptional<z.ZodObject<{
659
702
  generationId: z.ZodUUID;
703
+ voiceProfile: z.ZodOptional<z.ZodObject<{
704
+ ref: z.ZodObject<{
705
+ ownerSystem: z.ZodString;
706
+ ownerTenantRef: z.ZodString;
707
+ voiceProfileRef: z.ZodString;
708
+ version: z.ZodInt;
709
+ digest: z.ZodString;
710
+ }, z.core.$strict>;
711
+ bindingKey: z.ZodString;
712
+ language: z.ZodString;
713
+ usage: z.ZodEnum<{
714
+ AUDITION: "AUDITION";
715
+ PRODUCTION: "PRODUCTION";
716
+ }>;
717
+ }, z.core.$strict>>;
660
718
  executionClass: z.ZodEnum<{
661
719
  LIVE: "LIVE";
662
720
  TEST_ONLY: "TEST_ONLY";
@@ -674,6 +732,10 @@ export declare const RoughCutViewSchema: z.ZodObject<{
674
732
  normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
675
733
  padSamples: z.ZodInt;
676
734
  }, z.core.$strict>>;
735
+ purpose: z.ZodEnum<{
736
+ VOICEOVER: "VOICEOVER";
737
+ MUSIC: "MUSIC";
738
+ }>;
677
739
  }, z.core.$strict>;
678
740
  }, z.core.$strict>>;
679
741
  }, z.core.$strict>>;
@@ -894,11 +956,33 @@ export declare const RoughCutViewSchema: z.ZodObject<{
894
956
  endMs: z.ZodInt;
895
957
  text: z.ZodOptional<z.ZodString>;
896
958
  voice: z.ZodOptional<z.ZodString>;
959
+ voiceProfile: z.ZodOptional<z.ZodObject<{
960
+ ref: z.ZodObject<{
961
+ ownerSystem: z.ZodString;
962
+ ownerTenantRef: z.ZodString;
963
+ voiceProfileRef: z.ZodString;
964
+ version: z.ZodInt;
965
+ digest: z.ZodString;
966
+ }, z.core.$strict>;
967
+ bindingKey: z.ZodString;
968
+ language: z.ZodString;
969
+ usage: z.ZodLiteral<"PRODUCTION">;
970
+ }, z.core.$strict>>;
897
971
  model: z.ZodOptional<z.ZodObject<{
898
972
  modelProfileId: z.ZodString;
899
973
  modelProfileVersion: z.ZodInt;
900
974
  connectionId: z.ZodUUID;
901
975
  }, z.core.$strict>>;
976
+ nativeModel: z.ZodOptional<z.ZodObject<{
977
+ modelProfileId: z.ZodString;
978
+ modelProfileVersion: z.ZodInt;
979
+ schemaVersion: z.ZodLiteral<1>;
980
+ execution: z.ZodObject<{
981
+ schemaVersion: z.ZodLiteral<1>;
982
+ profileId: z.ZodLiteral<"KOKORO_INT8_ZH_EN_V1">;
983
+ modelDigest: z.ZodLiteral<"ebd0959580940e20dbb10a55775ec94e47229c7c503f65932403fe0764667126">;
984
+ }, z.core.$strict>;
985
+ }, z.core.$strict>>;
902
986
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
903
987
  audio: z.ZodOptional<z.ZodObject<{
904
988
  purpose: z.ZodEnum<{
@@ -1045,10 +1129,6 @@ export declare const RoughCutViewSchema: z.ZodObject<{
1045
1129
  source: z.ZodObject<{
1046
1130
  tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
1047
1131
  productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
1048
- purpose: z.ZodEnum<{
1049
- VOICEOVER: "VOICEOVER";
1050
- MUSIC: "MUSIC";
1051
- }>;
1052
1132
  id: z.ZodUUID;
1053
1133
  audioId: z.ZodUUID;
1054
1134
  projectId: z.ZodUUID;
@@ -1073,6 +1153,21 @@ export declare const RoughCutViewSchema: z.ZodObject<{
1073
1153
  createdAt: z.ZodISODateTime;
1074
1154
  generation: z.ZodOptional<z.ZodObject<{
1075
1155
  generationId: z.ZodUUID;
1156
+ voiceProfile: z.ZodOptional<z.ZodObject<{
1157
+ ref: z.ZodObject<{
1158
+ ownerSystem: z.ZodString;
1159
+ ownerTenantRef: z.ZodString;
1160
+ voiceProfileRef: z.ZodString;
1161
+ version: z.ZodInt;
1162
+ digest: z.ZodString;
1163
+ }, z.core.$strict>;
1164
+ bindingKey: z.ZodString;
1165
+ language: z.ZodString;
1166
+ usage: z.ZodEnum<{
1167
+ AUDITION: "AUDITION";
1168
+ PRODUCTION: "PRODUCTION";
1169
+ }>;
1170
+ }, z.core.$strict>>;
1076
1171
  executionClass: z.ZodEnum<{
1077
1172
  LIVE: "LIVE";
1078
1173
  TEST_ONLY: "TEST_ONLY";
@@ -1090,6 +1185,10 @@ export declare const RoughCutViewSchema: z.ZodObject<{
1090
1185
  normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
1091
1186
  padSamples: z.ZodInt;
1092
1187
  }, z.core.$strict>>;
1188
+ purpose: z.ZodEnum<{
1189
+ VOICEOVER: "VOICEOVER";
1190
+ MUSIC: "MUSIC";
1191
+ }>;
1093
1192
  }, z.core.$strict>;
1094
1193
  sourceInMs: z.ZodLiteral<0>;
1095
1194
  sourceOutMs: z.ZodInt;
@@ -0,0 +1,135 @@
1
+ import { z } from "zod";
2
+ export declare const ShareCreateSchema: z.ZodObject<{
3
+ tenantId: z.ZodPipe<z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">, z.ZodTransform<string & z.core.$brand<"TenantId">, string & z.core.$brand<"TenantId">>>;
4
+ projectId: z.ZodPipe<z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">, z.ZodTransform<string & z.core.$brand<"ProjectId">, string & z.core.$brand<"ProjectId">>>;
5
+ artifactId: z.ZodPipe<z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">, z.ZodTransform<string & z.core.$brand<"ArtifactId">, string & z.core.$brand<"ArtifactId">>>;
6
+ representationId: z.ZodPipe<z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">, z.ZodTransform<string & z.core.$brand<"ArtifactRepresentationId">, string & z.core.$brand<"ArtifactRepresentationId">>>;
7
+ shareId: z.ZodUUID;
8
+ idempotencyKey: z.ZodString;
9
+ title: z.ZodDefault<z.ZodString>;
10
+ expiresAt: z.ZodOptional<z.ZodISODateTime>;
11
+ }, z.core.$strict>;
12
+ export declare const ShareGetSchema: z.ZodObject<{
13
+ tenantId: z.ZodUUID;
14
+ shareId: z.ZodUUID;
15
+ }, z.core.$strict>;
16
+ export declare const ShareRevokeSchema: z.ZodObject<{
17
+ tenantId: z.ZodUUID;
18
+ shareId: z.ZodUUID;
19
+ expectedRevision: z.ZodInt;
20
+ idempotencyKey: z.ZodString;
21
+ }, z.core.$strict>;
22
+ export declare const ShareListSchema: z.ZodObject<{
23
+ tenantId: z.ZodUUID;
24
+ projectId: z.ZodOptional<z.ZodUUID>;
25
+ artifactId: z.ZodOptional<z.ZodUUID>;
26
+ after: z.ZodOptional<z.ZodUUID>;
27
+ limit: z.ZodDefault<z.ZodInt>;
28
+ }, z.core.$strict>;
29
+ export declare const ShareViewSchema: z.ZodObject<{
30
+ tenantId: z.ZodPipe<z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">, z.ZodTransform<string & z.core.$brand<"TenantId">, string & z.core.$brand<"TenantId">>>;
31
+ projectId: z.ZodPipe<z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">, z.ZodTransform<string & z.core.$brand<"ProjectId">, string & z.core.$brand<"ProjectId">>>;
32
+ artifactId: z.ZodPipe<z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">, z.ZodTransform<string & z.core.$brand<"ArtifactId">, string & z.core.$brand<"ArtifactId">>>;
33
+ representationId: z.ZodPipe<z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">, z.ZodTransform<string & z.core.$brand<"ArtifactRepresentationId">, string & z.core.$brand<"ArtifactRepresentationId">>>;
34
+ shareId: z.ZodUUID;
35
+ productionId: z.ZodNullable<z.ZodUUID>;
36
+ createdByPrincipalId: z.ZodUUID;
37
+ title: z.ZodString;
38
+ purpose: z.ZodEnum<{
39
+ ROUGH_CUT: "ROUGH_CUT";
40
+ PREVIEW: "PREVIEW";
41
+ FINAL_RENDER: "FINAL_RENDER";
42
+ }>;
43
+ contentType: z.ZodLiteral<"video/mp4">;
44
+ checksumSha256: z.ZodString;
45
+ byteSize: z.ZodInt;
46
+ revision: z.ZodInt;
47
+ state: z.ZodEnum<{
48
+ REVOKED: "REVOKED";
49
+ ACTIVE: "ACTIVE";
50
+ PREPARING: "PREPARING";
51
+ EXPIRED: "EXPIRED";
52
+ AUTHORITY_REVOKED: "AUTHORITY_REVOKED";
53
+ }>;
54
+ createdAt: z.ZodISODateTime;
55
+ expiresAt: z.ZodISODateTime;
56
+ }, z.core.$strict>;
57
+ /** 分享URL有意交给收件人,不能复用拒绝fragment的私有humanLinks合同。 */
58
+ export declare const ShareUrlSchema: z.ZodURL;
59
+ export declare const ShareLinkResultSchema: z.ZodObject<{
60
+ share: z.ZodObject<{
61
+ tenantId: z.ZodPipe<z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">, z.ZodTransform<string & z.core.$brand<"TenantId">, string & z.core.$brand<"TenantId">>>;
62
+ projectId: z.ZodPipe<z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">, z.ZodTransform<string & z.core.$brand<"ProjectId">, string & z.core.$brand<"ProjectId">>>;
63
+ artifactId: z.ZodPipe<z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">, z.ZodTransform<string & z.core.$brand<"ArtifactId">, string & z.core.$brand<"ArtifactId">>>;
64
+ representationId: z.ZodPipe<z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">, z.ZodTransform<string & z.core.$brand<"ArtifactRepresentationId">, string & z.core.$brand<"ArtifactRepresentationId">>>;
65
+ shareId: z.ZodUUID;
66
+ productionId: z.ZodNullable<z.ZodUUID>;
67
+ createdByPrincipalId: z.ZodUUID;
68
+ title: z.ZodString;
69
+ purpose: z.ZodEnum<{
70
+ ROUGH_CUT: "ROUGH_CUT";
71
+ PREVIEW: "PREVIEW";
72
+ FINAL_RENDER: "FINAL_RENDER";
73
+ }>;
74
+ contentType: z.ZodLiteral<"video/mp4">;
75
+ checksumSha256: z.ZodString;
76
+ byteSize: z.ZodInt;
77
+ revision: z.ZodInt;
78
+ state: z.ZodEnum<{
79
+ REVOKED: "REVOKED";
80
+ ACTIVE: "ACTIVE";
81
+ PREPARING: "PREPARING";
82
+ EXPIRED: "EXPIRED";
83
+ AUTHORITY_REVOKED: "AUTHORITY_REVOKED";
84
+ }>;
85
+ createdAt: z.ZodISODateTime;
86
+ expiresAt: z.ZodISODateTime;
87
+ }, z.core.$strict>;
88
+ url: z.ZodNullable<z.ZodURL>;
89
+ linkState: z.ZodEnum<{
90
+ UNAVAILABLE: "UNAVAILABLE";
91
+ AVAILABLE: "AVAILABLE";
92
+ UNCONFIGURED: "UNCONFIGURED";
93
+ NOT_ACTIVE: "NOT_ACTIVE";
94
+ }>;
95
+ }, z.core.$strict>;
96
+ export declare const SharePageSchema: z.ZodObject<{
97
+ items: z.ZodArray<z.ZodObject<{
98
+ tenantId: z.ZodPipe<z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">, z.ZodTransform<string & z.core.$brand<"TenantId">, string & z.core.$brand<"TenantId">>>;
99
+ projectId: z.ZodPipe<z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">, z.ZodTransform<string & z.core.$brand<"ProjectId">, string & z.core.$brand<"ProjectId">>>;
100
+ artifactId: z.ZodPipe<z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">, z.ZodTransform<string & z.core.$brand<"ArtifactId">, string & z.core.$brand<"ArtifactId">>>;
101
+ representationId: z.ZodPipe<z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">, z.ZodTransform<string & z.core.$brand<"ArtifactRepresentationId">, string & z.core.$brand<"ArtifactRepresentationId">>>;
102
+ shareId: z.ZodUUID;
103
+ productionId: z.ZodNullable<z.ZodUUID>;
104
+ createdByPrincipalId: z.ZodUUID;
105
+ title: z.ZodString;
106
+ purpose: z.ZodEnum<{
107
+ ROUGH_CUT: "ROUGH_CUT";
108
+ PREVIEW: "PREVIEW";
109
+ FINAL_RENDER: "FINAL_RENDER";
110
+ }>;
111
+ contentType: z.ZodLiteral<"video/mp4">;
112
+ checksumSha256: z.ZodString;
113
+ byteSize: z.ZodInt;
114
+ revision: z.ZodInt;
115
+ state: z.ZodEnum<{
116
+ REVOKED: "REVOKED";
117
+ ACTIVE: "ACTIVE";
118
+ PREPARING: "PREPARING";
119
+ EXPIRED: "EXPIRED";
120
+ AUTHORITY_REVOKED: "AUTHORITY_REVOKED";
121
+ }>;
122
+ createdAt: z.ZodISODateTime;
123
+ expiresAt: z.ZodISODateTime;
124
+ }, z.core.$strict>>;
125
+ next: z.ZodNullable<z.ZodUUID>;
126
+ }, z.core.$strict>;
127
+ export declare const SharePublicInputSchema: z.ZodObject<{
128
+ shareId: z.ZodUUID;
129
+ secret: z.ZodString;
130
+ }, z.core.$strict>;
131
+ export type ShareCreate = z.infer<typeof ShareCreateSchema>;
132
+ export type ShareView = z.infer<typeof ShareViewSchema>;
133
+ export type ShareGet = z.infer<typeof ShareGetSchema>;
134
+ export type ShareRevoke = z.infer<typeof ShareRevokeSchema>;
135
+ export type ShareList = z.infer<typeof ShareListSchema>;
@@ -156,9 +156,9 @@ export declare const ResolvedConstraintSchema: z.ZodObject<{
156
156
  }, z.core.$strict>>>;
157
157
  }, z.core.$strict>], "kind">>;
158
158
  reviewScales: z.ZodOptional<z.ZodArray<z.ZodEnum<{
159
+ PRODUCTION: "PRODUCTION";
159
160
  INTRA_SHOT: "INTRA_SHOT";
160
161
  INTER_SHOT: "INTER_SHOT";
161
- PRODUCTION: "PRODUCTION";
162
162
  }>>>;
163
163
  key: z.ZodString;
164
164
  family: z.ZodEnum<{
@@ -244,9 +244,9 @@ export declare const ConstraintSetSchema: z.ZodObject<{
244
244
  }, z.core.$strict>>>;
245
245
  }, z.core.$strict>], "kind">>;
246
246
  reviewScales: z.ZodOptional<z.ZodArray<z.ZodEnum<{
247
+ PRODUCTION: "PRODUCTION";
247
248
  INTRA_SHOT: "INTRA_SHOT";
248
249
  INTER_SHOT: "INTER_SHOT";
249
- PRODUCTION: "PRODUCTION";
250
250
  }>>>;
251
251
  key: z.ZodString;
252
252
  family: z.ZodEnum<{
@@ -114,9 +114,9 @@ export declare const PreparationVersionSchema: z.ZodObject<{
114
114
  }, z.core.$strict>>>;
115
115
  }, z.core.$strict>], "kind">>;
116
116
  reviewScales: z.ZodOptional<z.ZodArray<z.ZodEnum<{
117
+ PRODUCTION: "PRODUCTION";
117
118
  INTRA_SHOT: "INTRA_SHOT";
118
119
  INTER_SHOT: "INTER_SHOT";
119
- PRODUCTION: "PRODUCTION";
120
120
  }>>>;
121
121
  key: z.ZodString;
122
122
  family: z.ZodEnum<{
@@ -648,9 +648,9 @@ export declare const PrepareShotResultSchema: z.ZodObject<{
648
648
  }, z.core.$strict>>>;
649
649
  }, z.core.$strict>], "kind">>;
650
650
  reviewScales: z.ZodOptional<z.ZodArray<z.ZodEnum<{
651
+ PRODUCTION: "PRODUCTION";
651
652
  INTRA_SHOT: "INTRA_SHOT";
652
653
  INTER_SHOT: "INTER_SHOT";
653
- PRODUCTION: "PRODUCTION";
654
654
  }>>>;
655
655
  key: z.ZodString;
656
656
  family: z.ZodEnum<{
@@ -1183,9 +1183,9 @@ export declare const PreparationViewSchema: z.ZodObject<{
1183
1183
  }, z.core.$strict>>>;
1184
1184
  }, z.core.$strict>], "kind">>;
1185
1185
  reviewScales: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1186
+ PRODUCTION: "PRODUCTION";
1186
1187
  INTRA_SHOT: "INTRA_SHOT";
1187
1188
  INTER_SHOT: "INTER_SHOT";
1188
- PRODUCTION: "PRODUCTION";
1189
1189
  }>>>;
1190
1190
  key: z.ZodString;
1191
1191
  family: z.ZodEnum<{
@@ -1758,9 +1758,9 @@ export declare const PreparationQueryPageSchema: z.ZodObject<{
1758
1758
  }, z.core.$strict>>>;
1759
1759
  }, z.core.$strict>], "kind">>;
1760
1760
  reviewScales: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1761
+ PRODUCTION: "PRODUCTION";
1761
1762
  INTRA_SHOT: "INTRA_SHOT";
1762
1763
  INTER_SHOT: "INTER_SHOT";
1763
- PRODUCTION: "PRODUCTION";
1764
1764
  }>>>;
1765
1765
  key: z.ZodString;
1766
1766
  family: z.ZodEnum<{