@nativestudio/sdk 0.3.0-rc.2 → 0.3.0-rc.21
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.
- package/COMPATIBILITY.json +4 -4
- package/LICENSE +201 -21
- package/dist/_chunks/chunk-2QDPFLIO.js +1 -0
- package/dist/_chunks/chunk-7DXSLHXW.js +1 -0
- package/dist/_chunks/chunk-AFUVP2DC.js +1 -0
- package/dist/_chunks/chunk-ASUZJSEP.js +1 -0
- package/dist/_chunks/chunk-K3TIFCD3.js +1 -0
- package/dist/_chunks/chunk-NNDKZ5H5.js +1 -0
- package/dist/_chunks/chunk-Q53Q74OP.js +1 -0
- package/dist/_chunks/chunk-QVP4AMRJ.js +1 -0
- package/dist/_chunks/chunk-TT7IA5HB.js +1 -0
- package/dist/_chunks/chunk-UKPD77FB.js +1 -0
- package/dist/_chunks/chunk-V636KA7B.js +1 -0
- package/dist/_chunks/chunk-VXBIT7XN.js +1 -0
- package/dist/_chunks/chunk-WNXKJRZ6.js +1 -0
- package/dist/_types/contracts/agent-execution-lifecycle.d.ts +55 -43
- package/dist/_types/contracts/agent-execution-oauth.d.ts +2 -2
- package/dist/_types/contracts/agent-execution-registration.d.ts +59 -15
- package/dist/_types/contracts/agent-execution-selection.d.ts +7 -7
- package/dist/_types/contracts/agent-host-contract.d.ts +189 -0
- package/dist/_types/contracts/agent-host-execution.d.ts +92 -61
- package/dist/_types/contracts/agent-host-generic-transport.d.ts +4 -4
- package/dist/_types/contracts/agent-host-legacy-release.d.ts +31 -0
- package/dist/_types/contracts/agent-host-protocol.d.ts +71 -0
- package/dist/_types/contracts/agent-host-wire.d.ts +263 -0
- package/dist/_types/contracts/agent-host.d.ts +126 -65
- package/dist/_types/contracts/artifact-discovery.d.ts +143 -11
- package/dist/_types/contracts/audio.d.ts +166 -0
- package/dist/_types/contracts/component-status.d.ts +241 -0
- package/dist/_types/contracts/composition-authoring.d.ts +8 -8
- package/dist/_types/contracts/composition-frame-render.d.ts +4 -4
- package/dist/_types/contracts/composition-observation.d.ts +1 -1
- package/dist/_types/contracts/composition-render-base.d.ts +5 -4
- package/dist/_types/contracts/composition-render.d.ts +8 -8
- package/dist/_types/contracts/composition-repair.d.ts +10 -10
- package/dist/_types/contracts/composition-source-review.d.ts +13 -13
- package/dist/_types/contracts/consistency-profile.d.ts +102 -6
- package/dist/_types/contracts/continuity-evaluation.d.ts +1 -1
- package/dist/_types/contracts/delivery-completion.d.ts +1 -1
- package/dist/_types/contracts/delivery-manifest.d.ts +25 -11729
- package/dist/_types/contracts/delivery-operations.d.ts +207 -3915
- package/dist/_types/contracts/delivery-summary.d.ts +4 -4
- package/dist/_types/contracts/delivery-validation.d.ts +25 -2
- package/dist/_types/contracts/device-onboarding.d.ts +35 -0
- package/dist/_types/contracts/device-render.d.ts +113 -0
- package/dist/_types/contracts/editor-intelligence.d.ts +392 -2531
- package/dist/_types/contracts/enterprise-brand.d.ts +302 -0
- package/dist/_types/contracts/exploration-recommendation.d.ts +263 -11607
- package/dist/_types/contracts/external-agent-access.d.ts +4 -6
- package/dist/_types/contracts/federation-event-link-receiver.d.ts +200 -0
- package/dist/_types/contracts/federation-event-link.d.ts +485 -0
- package/dist/_types/contracts/federation-result.d.ts +239 -0
- package/dist/_types/contracts/final-ready.d.ts +24 -24
- package/dist/_types/contracts/final-render.d.ts +1742 -6949
- package/dist/_types/contracts/human-identity.d.ts +13 -0
- package/dist/_types/contracts/human-links.d.ts +58 -0
- package/dist/_types/contracts/index.d.ts +26 -0
- package/dist/_types/contracts/interface/common.d.ts +18 -0
- package/dist/_types/contracts/interface/execution-output.d.ts +9 -6
- package/dist/_types/contracts/interface/media-output.d.ts +118 -0
- package/dist/_types/contracts/interface/operation.d.ts +89 -0
- package/dist/_types/contracts/interface/production-snapshot.d.ts +106 -199
- package/dist/_types/contracts/interface/query.d.ts +85 -0
- package/dist/_types/contracts/keyframe-generation.d.ts +31 -2
- package/dist/_types/contracts/keyframe-review.d.ts +7 -7
- package/dist/_types/contracts/lifecycle-event-projections.d.ts +19 -4
- package/dist/_types/contracts/lifecycle-events.d.ts +54 -2
- package/dist/_types/contracts/local-execution/agent-component-status.d.ts +109 -0
- package/dist/_types/contracts/local-execution/agent-context.d.ts +385 -0
- package/dist/_types/contracts/local-execution/agent-evidence.d.ts +79 -0
- package/dist/_types/contracts/local-execution/agent-grant.d.ts +31 -0
- package/dist/_types/contracts/local-execution/agent-review.d.ts +529 -71
- package/dist/_types/contracts/local-execution/audio-profile.d.ts +6 -0
- package/dist/_types/contracts/local-execution/common.d.ts +12 -11
- package/dist/_types/contracts/local-execution/completion.d.ts +41 -45
- package/dist/_types/contracts/local-execution/components.d.ts +45 -0
- package/dist/_types/contracts/local-execution/cpu-preparation.d.ts +46 -0
- package/dist/_types/contracts/local-execution/cpu-resources.d.ts +55 -0
- package/dist/_types/contracts/local-execution/cpu-speech-job.d.ts +70 -0
- package/dist/_types/contracts/local-execution/cpu-speech.d.ts +161 -0
- package/dist/_types/contracts/local-execution/descriptor.d.ts +38 -0
- package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
- package/dist/_types/contracts/local-execution/device-inventory.d.ts +108 -0
- package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
- package/dist/_types/contracts/local-execution/device.d.ts +24 -55
- package/dist/_types/contracts/local-execution/enrollment-credential.d.ts +141 -0
- package/dist/_types/contracts/local-execution/enrollment-handoff.d.ts +44 -0
- package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
- package/dist/_types/contracts/local-execution/index.d.ts +36 -0
- package/dist/_types/contracts/local-execution/ipc.d.ts +2809 -231
- package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
- package/dist/_types/contracts/local-execution/library-result.d.ts +428 -0
- package/dist/_types/contracts/local-execution/library.d.ts +873 -0
- package/dist/_types/contracts/local-execution/lifecycle.d.ts +262 -48
- package/dist/_types/contracts/local-execution/local-navigation.d.ts +304 -67
- package/dist/_types/contracts/local-execution/management.d.ts +407 -0
- package/dist/_types/contracts/local-execution/media-recipe.d.ts +207 -0
- package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
- package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
- package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
- package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
- package/dist/_types/contracts/local-execution/preview.d.ts +177 -3561
- package/dist/_types/contracts/local-execution/processor-capability.d.ts +49 -0
- package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
- package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1194 -0
- package/dist/_types/contracts/local-execution/processor-toolchain.d.ts +47 -0
- package/dist/_types/contracts/local-execution/processor.d.ts +6424 -0
- package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
- package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
- package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
- package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
- package/dist/_types/contracts/local-execution/tool-selection.d.ts +71 -5
- package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
- package/dist/_types/contracts/local-execution/work.d.ts +124 -3402
- package/dist/_types/contracts/local-execution/workspace.d.ts +141 -0
- package/dist/_types/contracts/mcp-capabilities.d.ts +16 -0
- package/dist/_types/contracts/media-category.d.ts +11 -0
- package/dist/_types/contracts/media-observation.d.ts +930 -9
- package/dist/_types/contracts/native-speech-model.d.ts +53 -0
- package/dist/_types/contracts/native-speech-options.d.ts +25 -0
- package/dist/_types/contracts/native-tool-authority.d.ts +25 -21
- package/dist/_types/contracts/native-tool-execution.d.ts +60 -39
- package/dist/_types/contracts/navigation-context.d.ts +76 -8
- package/dist/_types/contracts/navigation-groups.d.ts +2 -2
- package/dist/_types/contracts/navigation.d.ts +79 -26
- package/dist/_types/contracts/observation-profile.d.ts +3 -3
- package/dist/_types/contracts/production-creation.d.ts +30 -0
- package/dist/_types/contracts/production-feedback.d.ts +452 -0
- package/dist/_types/contracts/production.d.ts +30 -0
- package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
- package/dist/_types/contracts/programmatic-exploration.d.ts +362 -5999
- package/dist/_types/contracts/programmatic-video-review.d.ts +5 -5
- package/dist/_types/contracts/project-library.d.ts +30 -0
- package/dist/_types/contracts/project.d.ts +30 -0
- package/dist/_types/contracts/provider-catalog.d.ts +3 -3
- package/dist/_types/contracts/provider-models.d.ts +209 -8
- package/dist/_types/contracts/provider.d.ts +66 -1
- package/dist/_types/contracts/reference-preview.d.ts +20 -0
- package/dist/_types/contracts/render-readiness.d.ts +175 -0
- package/dist/_types/contracts/repair-lifecycle.d.ts +64 -396
- package/dist/_types/contracts/repair-plan.d.ts +18 -100
- package/dist/_types/contracts/repair-strategy.d.ts +163 -4478
- package/dist/_types/contracts/review-intelligence-final-output.d.ts +418 -8150
- package/dist/_types/contracts/review-intelligence.d.ts +455 -11423
- package/dist/_types/contracts/review1-repair-source.d.ts +6 -6
- package/dist/_types/contracts/review1-repair-strategy.d.ts +4 -4
- package/dist/_types/contracts/rough-cut-manifest.d.ts +27 -7
- package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
- package/dist/_types/contracts/rough-cut-review.d.ts +144 -12495
- package/dist/_types/contracts/rough-cut.d.ts +1170 -5673
- package/dist/_types/contracts/series-canon.d.ts +97 -0
- package/dist/_types/contracts/series-character.d.ts +23 -0
- package/dist/_types/contracts/series-improvement.d.ts +1639 -0
- package/dist/_types/contracts/series-standard.d.ts +1641 -0
- package/dist/_types/contracts/shares.d.ts +135 -0
- package/dist/_types/contracts/shot-preparation-basis.d.ts +2 -2
- package/dist/_types/contracts/shot-preparation.d.ts +4 -4
- package/dist/_types/contracts/sound-making-plan.d.ts +210 -2
- package/dist/_types/contracts/speech-cost.d.ts +96 -0
- package/dist/_types/contracts/speech-parameters.d.ts +39 -0
- package/dist/_types/contracts/speech.d.ts +603 -23
- package/dist/_types/contracts/temporal-evidence-operation.d.ts +2 -1
- package/dist/_types/contracts/timeline-audio.d.ts +20 -4
- package/dist/_types/contracts/timeline-manifest.d.ts +40 -8
- package/dist/_types/contracts/timeline-source-sound.d.ts +42 -4
- package/dist/_types/contracts/timeline-v2.d.ts +124 -16
- package/dist/_types/contracts/timeline-version-reader.d.ts +288 -40
- package/dist/_types/contracts/timeline-visual-layers.d.ts +124 -16
- package/dist/_types/contracts/timeline.d.ts +50 -4850
- package/dist/_types/contracts/transcription.d.ts +1 -1
- package/dist/_types/contracts/video-generation.d.ts +35 -2
- package/dist/_types/contracts/video-review.d.ts +7 -7
- package/dist/_types/contracts/visual-exploration.d.ts +3 -3
- package/dist/_types/contracts/visual-layer-render.d.ts +298 -47
- package/dist/_types/contracts/visual-sequence.d.ts +22 -0
- package/dist/_types/contracts/voice-consistency.d.ts +183 -0
- package/dist/_types/contracts/voice-profile/contracts.d.ts +821 -0
- package/dist/_types/contracts/voice-profile/identity.d.ts +27 -0
- package/dist/_types/contracts/voice-profile/interface.d.ts +89 -0
- package/dist/_types/contracts/voice-profile/reference.d.ts +106 -0
- package/dist/_types/contracts/voice-review.d.ts +1194 -0
- package/dist/_types/contracts/workspace.d.ts +83 -0
- package/dist/_types/sdk/account.d.ts +13 -0
- package/dist/_types/sdk/auxiliary-media.d.ts +1 -0
- package/dist/_types/sdk/catalog/agent-host-execution.d.ts +324 -112
- package/dist/_types/sdk/catalog/agent-host.d.ts +222 -70
- package/dist/_types/sdk/catalog/assembly.d.ts +26 -37628
- package/dist/_types/sdk/catalog/audio-caption.d.ts +126 -22
- package/dist/_types/sdk/catalog/canonical-repair.d.ts +132 -132
- package/dist/_types/sdk/catalog/carriers.d.ts +59 -0
- package/dist/_types/sdk/catalog/composition-source.d.ts +14 -14
- package/dist/_types/sdk/catalog/composition.d.ts +17 -2813
- package/dist/_types/sdk/catalog/core.d.ts +636 -18
- package/dist/_types/sdk/catalog/delivery.d.ts +12 -14167
- package/dist/_types/sdk/catalog/device-library.d.ts +1024 -0
- package/dist/_types/sdk/catalog/device-management.d.ts +921 -0
- package/dist/_types/sdk/catalog/discovery.d.ts +38 -4
- package/dist/_types/sdk/catalog/editor.d.ts +23 -6538
- package/dist/_types/sdk/catalog/enterprise-brand.d.ts +462 -0
- package/dist/_types/sdk/catalog/federation.d.ts +4164 -0
- package/dist/_types/sdk/catalog/generation.d.ts +284 -8
- package/dist/_types/sdk/catalog/imported-visual.d.ts +246 -816
- package/dist/_types/sdk/catalog/keyframe-review.d.ts +10 -10
- package/dist/_types/sdk/catalog/lifecycle-events.d.ts +442 -16
- package/dist/_types/sdk/catalog/mcp.d.ts +115 -7
- package/dist/_types/sdk/catalog/media-descriptors.d.ts +214 -11
- package/dist/_types/sdk/catalog/media-observation.d.ts +1031 -14
- package/dist/_types/sdk/catalog/native-tool-authority.d.ts +54 -24
- package/dist/_types/sdk/catalog/navigation.d.ts +379 -28
- package/dist/_types/sdk/catalog/planning-intelligence.d.ts +136 -8
- package/dist/_types/sdk/catalog/programmatic-exploration.d.ts +327 -9853
- package/dist/_types/sdk/catalog/programmatic-review.d.ts +8 -8
- package/dist/_types/sdk/catalog/provider.d.ts +394 -20
- package/dist/_types/sdk/catalog/reference-preview.d.ts +94 -30
- package/dist/_types/sdk/catalog/repair-strategy.d.ts +180 -8914
- package/dist/_types/sdk/catalog/reviewer.d.ts +276 -23131
- package/dist/_types/sdk/catalog/series-standard.d.ts +5402 -0
- package/dist/_types/sdk/catalog/shares.d.ts +305 -0
- package/dist/_types/sdk/catalog/shot-preparation.d.ts +51 -2972
- package/dist/_types/sdk/catalog/sound-making-plan.d.ts +6 -1776
- package/dist/_types/sdk/catalog/source-sync.d.ts +8 -498
- package/dist/_types/sdk/catalog/spec.d.ts +10 -2
- package/dist/_types/sdk/catalog/speech.d.ts +856 -4
- package/dist/_types/sdk/catalog/temporal-evidence.d.ts +4 -2
- package/dist/_types/sdk/catalog/video-review.d.ts +10 -10
- package/dist/_types/sdk/catalog/visual-exploration.d.ts +556 -440
- package/dist/_types/sdk/catalog/voice-profile.d.ts +1547 -0
- package/dist/_types/sdk/catalog/voice-review.d.ts +1125 -0
- package/dist/_types/sdk/client.d.ts +30 -3
- package/dist/_types/sdk/desktop-previews.d.ts +3 -3
- package/dist/_types/sdk/desktop-releases.d.ts +2 -2
- package/dist/_types/sdk/device-enrollment-handoff.d.ts +249 -0
- package/dist/_types/sdk/device-renders.d.ts +3751 -0
- package/dist/_types/sdk/direct-source.d.ts +147 -0
- package/dist/_types/sdk/errors.d.ts +9 -3
- package/dist/_types/sdk/federation-notice-result.d.ts +22 -0
- package/dist/_types/sdk/feedback-observer.d.ts +10 -0
- package/dist/_types/sdk/host-protocol.d.ts +8 -0
- package/dist/_types/sdk/image-media.d.ts +2 -2
- package/dist/_types/sdk/immutable-media.d.ts +24 -0
- package/dist/_types/sdk/index.d.ts +16 -1
- package/dist/_types/sdk/local-runtime/components.d.ts +2 -0
- package/dist/_types/sdk/local-runtime/device-client.d.ts +181 -19
- package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
- package/dist/_types/sdk/local-runtime/workspace.d.ts +186 -0
- package/dist/_types/sdk/local-runtime-client.d.ts +1934 -96
- package/dist/_types/sdk/mcp-client.d.ts +13 -5
- package/dist/_types/sdk/mcp-discovery.d.ts +14 -0
- package/dist/_types/sdk/mcp-image.d.ts +4 -4
- package/dist/_types/sdk/mcp-port.d.ts +73 -0
- package/dist/_types/sdk/media.d.ts +11 -9
- package/dist/_types/sdk/navigation-client.d.ts +56 -122
- package/dist/_types/sdk/navigation-facade.d.ts +191 -17
- package/dist/_types/sdk/observe.d.ts +31 -0
- package/dist/_types/sdk/runtime-authority.d.ts +18 -8
- package/dist/_types/sdk/transport/http.d.ts +2 -0
- package/dist/_types/sdk/webhook-receiver.d.ts +38 -0
- package/dist/account.js +1 -1
- package/dist/errors.js +1 -1
- package/dist/host-protocol.d.ts +1 -0
- package/dist/host-protocol.js +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/local-runtime.js +1 -1
- package/dist/mcp-discovery.d.ts +1 -0
- package/dist/mcp-discovery.js +1 -0
- package/dist/native/helper.exe +0 -0
- package/dist/native/helper.json +1 -0
- package/dist/runtime-authority.js +1 -1
- package/package.json +10 -8
- package/README.md +0 -75
- package/dist/_chunks/chunk-34KSWLCI.js +0 -1
- package/dist/_chunks/chunk-4IOFVNFG.js +0 -1
- package/dist/_chunks/chunk-4M3AGNTZ.js +0 -1
- package/dist/_chunks/chunk-6NVIN2NI.js +0 -1
- package/dist/_chunks/chunk-7YCEMDNZ.js +0 -1
- package/dist/native/Bootstrap.ps1 +0 -90
- package/dist/native/JobNative.cs +0 -127
- package/dist/native/JobRunner.cs +0 -360
- package/dist/native/NativeMain.cs +0 -146
- package/dist/native/PipeBridge.cs +0 -260
- package/dist/native/PrivateAccess.cs +0 -152
|
@@ -0,0 +1,49 @@
|
|
|
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 REFERENCE_PREVIEW: "PLANNING_MATERIALIZE";
|
|
15
|
+
readonly SPEECH_SYNTHESIZE: "AUDIO_GENERATE";
|
|
16
|
+
readonly SPEECH_SYNTHESIZE_CPU: "AUDIO_GENERATE";
|
|
17
|
+
readonly SPEECH_EXTERNAL_QWEN: "AUDIO_GENERATE";
|
|
18
|
+
readonly TRANSCRIBE_AUDIO: "OBSERVE";
|
|
19
|
+
readonly TRANSCRIBE_EXTERNAL_QWEN: "OBSERVE";
|
|
20
|
+
readonly KEYFRAME_GENERATE: "KEYFRAME_GENERATE";
|
|
21
|
+
readonly VIDEO_GENERATE: "VIDEO_GENERATE";
|
|
22
|
+
};
|
|
23
|
+
export declare const TenantProcessorKindSchema: z.ZodEnum<{
|
|
24
|
+
KEYFRAME_GENERATE: "KEYFRAME_GENERATE";
|
|
25
|
+
VIDEO_GENERATE: "VIDEO_GENERATE";
|
|
26
|
+
SPEECH_SYNTHESIZE: "SPEECH_SYNTHESIZE";
|
|
27
|
+
SPEECH_EXTERNAL_QWEN: "SPEECH_EXTERNAL_QWEN";
|
|
28
|
+
TEMPORAL_SAMPLE: "TEMPORAL_SAMPLE";
|
|
29
|
+
DELIVERY_VALIDATE: "DELIVERY_VALIDATE";
|
|
30
|
+
COMPOSITION_RENDER: "COMPOSITION_RENDER";
|
|
31
|
+
IMPORTED_VISUAL_NORMALIZE: "IMPORTED_VISUAL_NORMALIZE";
|
|
32
|
+
SOURCE_SYNC_AUDIO: "SOURCE_SYNC_AUDIO";
|
|
33
|
+
IMPORT_ORIGINAL: "IMPORT_ORIGINAL";
|
|
34
|
+
LOCAL_MEDIA_INSPECT: "LOCAL_MEDIA_INSPECT";
|
|
35
|
+
LOCAL_MEDIA_PUBLISH: "LOCAL_MEDIA_PUBLISH";
|
|
36
|
+
IMPORT_PROJECT_SOURCE: "IMPORT_PROJECT_SOURCE";
|
|
37
|
+
REGISTER_VISUAL_SEQUENCE: "REGISTER_VISUAL_SEQUENCE";
|
|
38
|
+
REFERENCE_PREVIEW: "REFERENCE_PREVIEW";
|
|
39
|
+
SPEECH_SYNTHESIZE_CPU: "SPEECH_SYNTHESIZE_CPU";
|
|
40
|
+
TRANSCRIBE_AUDIO: "TRANSCRIBE_AUDIO";
|
|
41
|
+
TRANSCRIBE_EXTERNAL_QWEN: "TRANSCRIBE_EXTERNAL_QWEN";
|
|
42
|
+
}>;
|
|
43
|
+
export type TenantProcessorKind = z.infer<typeof TenantProcessorKindSchema>;
|
|
44
|
+
export declare const referenceThumbnailProfile: {
|
|
45
|
+
readonly processor: "REFERENCE_PREVIEW";
|
|
46
|
+
readonly format: "PNG_480_INSIDE_V1";
|
|
47
|
+
readonly maxDimension: 480;
|
|
48
|
+
readonly maxBytes: number;
|
|
49
|
+
};
|
|
@@ -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">;
|