@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,147 @@
|
|
|
1
|
+
import type { z } from "zod";
|
|
2
|
+
import { DirectOriginalCommandSchema, DirectProjectSourceCommandSchema } from "../contracts/local-execution/index.js";
|
|
3
|
+
import type { NativeStudioHttpTransport, SdkRequestOptions } from "./transport/http.js";
|
|
4
|
+
type ProjectIntent = Omit<z.input<typeof DirectProjectSourceCommandSchema>, "byteSize" | "checksumSha256" | "metadata"> & {
|
|
5
|
+
metadata: Omit<z.input<typeof DirectProjectSourceCommandSchema>["metadata"], "tenantId">;
|
|
6
|
+
};
|
|
7
|
+
/** 上传票据只在 SDK 的存储请求内使用,返回值始终是原生受理或登记回执。 */
|
|
8
|
+
export declare class NativeStudioDirectSources {
|
|
9
|
+
private readonly tenantId;
|
|
10
|
+
private readonly transport;
|
|
11
|
+
constructor(tenantId: string, transport: NativeStudioHttpTransport);
|
|
12
|
+
importProjectSource(intent: ProjectIntent, input: Uint8Array, options?: SdkRequestOptions): Promise<{
|
|
13
|
+
tenantId: string;
|
|
14
|
+
projectId: string;
|
|
15
|
+
intakeId: string;
|
|
16
|
+
state: "SUBMITTED";
|
|
17
|
+
productionId: string;
|
|
18
|
+
runtimeJobId: string;
|
|
19
|
+
operationId: string & z.core.$brand<"OperationId">;
|
|
20
|
+
} | {
|
|
21
|
+
state: "ACCEPTED";
|
|
22
|
+
registration: {
|
|
23
|
+
artifact: {
|
|
24
|
+
id: string & z.core.$brand<"ArtifactId">;
|
|
25
|
+
tenantId: string & z.core.$brand<"TenantId">;
|
|
26
|
+
projectId: string & z.core.$brand<"ProjectId">;
|
|
27
|
+
productionId: (string & z.core.$brand<"ProductionId">) | null;
|
|
28
|
+
family: string;
|
|
29
|
+
origin: string;
|
|
30
|
+
lifecycle: "ARCHIVED" | "READY" | "CREATING" | "PROCESSING" | "INVALID";
|
|
31
|
+
createdByPrincipalId: string & z.core.$brand<"PrincipalId">;
|
|
32
|
+
checksumSha256: string | null;
|
|
33
|
+
contentType: string | null;
|
|
34
|
+
primaryRepresentationId: (string & z.core.$brand<"ArtifactRepresentationId">) | null;
|
|
35
|
+
mediaMetadata: Record<string, unknown>;
|
|
36
|
+
createdAt: string;
|
|
37
|
+
readyAt: string | null;
|
|
38
|
+
};
|
|
39
|
+
primaryRepresentation: {
|
|
40
|
+
id: string & z.core.$brand<"ArtifactRepresentationId">;
|
|
41
|
+
tenantId: string & z.core.$brand<"TenantId">;
|
|
42
|
+
artifactId: string & z.core.$brand<"ArtifactId">;
|
|
43
|
+
role: string;
|
|
44
|
+
storageDriver: string;
|
|
45
|
+
storageLocator: Record<string, unknown>;
|
|
46
|
+
checksumSha256: string;
|
|
47
|
+
contentType: string;
|
|
48
|
+
byteSize: string;
|
|
49
|
+
width: number | null;
|
|
50
|
+
height: number | null;
|
|
51
|
+
durationMs: string | null;
|
|
52
|
+
frameRate: string | null;
|
|
53
|
+
videoCodec: string | null;
|
|
54
|
+
audioCodec: string | null;
|
|
55
|
+
hasAudio: boolean | null;
|
|
56
|
+
sampleRateHz: number | null;
|
|
57
|
+
audioChannels: number | null;
|
|
58
|
+
createdAt: string;
|
|
59
|
+
};
|
|
60
|
+
relations: {
|
|
61
|
+
id: string & z.core.$brand<"ArtifactRelationId">;
|
|
62
|
+
tenantId: string & z.core.$brand<"TenantId">;
|
|
63
|
+
sourceArtifactId: string & z.core.$brand<"ArtifactId">;
|
|
64
|
+
targetArtifactId: string & z.core.$brand<"ArtifactId">;
|
|
65
|
+
relationType: string;
|
|
66
|
+
createdByPrincipalId: string & z.core.$brand<"PrincipalId">;
|
|
67
|
+
createdAt: string;
|
|
68
|
+
}[];
|
|
69
|
+
};
|
|
70
|
+
}>;
|
|
71
|
+
importOriginal(raw: z.input<typeof DirectOriginalCommandSchema>, input: Uint8Array, options?: SdkRequestOptions): Promise<{
|
|
72
|
+
state: "SUBMITTED";
|
|
73
|
+
tenantId: string;
|
|
74
|
+
projectId: string;
|
|
75
|
+
productionId: string;
|
|
76
|
+
intakeId: string;
|
|
77
|
+
runtimeJobId: string;
|
|
78
|
+
operationId: string & z.core.$brand<"OperationId">;
|
|
79
|
+
} | {
|
|
80
|
+
state: "ACCEPTED";
|
|
81
|
+
original: {
|
|
82
|
+
sourceId: string;
|
|
83
|
+
versionId: string;
|
|
84
|
+
version: number;
|
|
85
|
+
tenantId: string;
|
|
86
|
+
projectId: string;
|
|
87
|
+
productionId: string;
|
|
88
|
+
shotId: string;
|
|
89
|
+
artifactId: string;
|
|
90
|
+
representationId: string;
|
|
91
|
+
metadata: {
|
|
92
|
+
geometry: {
|
|
93
|
+
width: number;
|
|
94
|
+
height: number;
|
|
95
|
+
};
|
|
96
|
+
videoCodec: "h264";
|
|
97
|
+
pixelFormat: "yuv420p";
|
|
98
|
+
sampleAspectRatio: "1:1";
|
|
99
|
+
rotationDegrees: 0;
|
|
100
|
+
startPts: 0;
|
|
101
|
+
timeBase: {
|
|
102
|
+
numerator: number;
|
|
103
|
+
denominator: number;
|
|
104
|
+
};
|
|
105
|
+
frameRate: {
|
|
106
|
+
numerator: number;
|
|
107
|
+
denominator: number;
|
|
108
|
+
};
|
|
109
|
+
frameCount: number;
|
|
110
|
+
durationTicks: number;
|
|
111
|
+
availableCfr30Frames: number;
|
|
112
|
+
color: {
|
|
113
|
+
range: "unknown" | "tv";
|
|
114
|
+
space: "unknown" | "bt709";
|
|
115
|
+
transfer: "unknown" | "bt709";
|
|
116
|
+
primaries: "unknown" | "bt709";
|
|
117
|
+
};
|
|
118
|
+
audio: {
|
|
119
|
+
codec: "aac";
|
|
120
|
+
sampleRateHz: 48000 | 44100;
|
|
121
|
+
channels: 2 | 1;
|
|
122
|
+
startPts: number;
|
|
123
|
+
timeBase: {
|
|
124
|
+
numerator: number;
|
|
125
|
+
denominator: number;
|
|
126
|
+
};
|
|
127
|
+
durationTicks: number;
|
|
128
|
+
} | null;
|
|
129
|
+
fullDecode: true;
|
|
130
|
+
cfrTimestampsVerified: true;
|
|
131
|
+
contentType: "video/mp4";
|
|
132
|
+
checksumSha256: string;
|
|
133
|
+
byteSize: number;
|
|
134
|
+
executionClass: "LIVE" | "TEST_ONLY";
|
|
135
|
+
};
|
|
136
|
+
executionClass: "LIVE" | "TEST_ONLY";
|
|
137
|
+
current: boolean;
|
|
138
|
+
createdAt: string;
|
|
139
|
+
declaredProvenance?: {
|
|
140
|
+
originalName?: string | undefined;
|
|
141
|
+
authorship?: string | undefined;
|
|
142
|
+
license?: string | undefined;
|
|
143
|
+
} | undefined;
|
|
144
|
+
};
|
|
145
|
+
}>;
|
|
146
|
+
}
|
|
147
|
+
export {};
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
import type { InterfaceSemanticStatus } from "../contracts/
|
|
1
|
+
import type { CapabilityVersionMismatch, InterfaceSemanticStatus } from "../contracts/interface/common.js";
|
|
2
|
+
export interface SdkInputIssue {
|
|
3
|
+
field: string;
|
|
4
|
+
code: string;
|
|
5
|
+
}
|
|
2
6
|
export declare class NativeStudioSdkError extends Error {
|
|
3
7
|
readonly code: string;
|
|
4
8
|
readonly semanticStatus: InterfaceSemanticStatus;
|
|
5
9
|
readonly outcome: "NO_WRITE" | "UNKNOWN" | "REJECTED";
|
|
6
10
|
readonly status: number | null;
|
|
7
|
-
|
|
11
|
+
readonly issues: readonly SdkInputIssue[];
|
|
12
|
+
readonly capabilityMismatch?: CapabilityVersionMismatch | undefined;
|
|
13
|
+
constructor(code: string, semanticStatus: InterfaceSemanticStatus, outcome: "NO_WRITE" | "UNKNOWN" | "REJECTED", status?: number | null, issues?: readonly SdkInputIssue[], capabilityMismatch?: CapabilityVersionMismatch | undefined);
|
|
8
14
|
}
|
|
9
|
-
export declare function sdkInputError(): never;
|
|
15
|
+
export declare function sdkInputError(issues?: readonly SdkInputIssue[]): never;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type FederationResultLocator, type FederationResultRead, type FederationResultSnapshot, type FederationResultValue } from "../contracts/federation-result.js";
|
|
2
|
+
import type { SdkRequestOptions } from "./transport/http.js";
|
|
3
|
+
/** Authenticated public read port; both Native SDK transports satisfy it without adapters. */
|
|
4
|
+
export interface FederationNoticeResultReader {
|
|
5
|
+
call(operation: "federation.result.reference" | "federation.result.read", input: FederationResultLocator | FederationResultRead, options?: SdkRequestOptions): Promise<unknown>;
|
|
6
|
+
}
|
|
7
|
+
export interface FederationLifecycleNoticeInput {
|
|
8
|
+
tenantId: string;
|
|
9
|
+
productionId: string;
|
|
10
|
+
source: string;
|
|
11
|
+
event: unknown;
|
|
12
|
+
}
|
|
13
|
+
export type FederationLifecycleResult = FederationResultSnapshot & {
|
|
14
|
+
value: Extract<FederationResultValue, {
|
|
15
|
+
resourceType: "nvs.lifecycle-event";
|
|
16
|
+
}>;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Caller independently verifies the wire signature, expected source/Grant and domain decoding.
|
|
20
|
+
* This composes two current-authorized reads, binds the original fact, and makes no adoption claim.
|
|
21
|
+
*/
|
|
22
|
+
export declare function readFederationLifecycleResult(client: FederationNoticeResultReader, raw: FederationLifecycleNoticeInput, options?: SdkRequestOptions): Promise<FederationLifecycleResult>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { NativeStudioAgentClient, SdkInput, SdkOutput } from "./client.js";
|
|
2
|
+
export interface FeedbackObservationOptions {
|
|
3
|
+
signal?: AbortSignal;
|
|
4
|
+
maxPolls?: number;
|
|
5
|
+
timeoutMs?: number;
|
|
6
|
+
maxEvents?: number;
|
|
7
|
+
maxBytes?: number;
|
|
8
|
+
}
|
|
9
|
+
/** 有界补读只产生查询;消费方持久化该页后再保存nextCursor,退出不取消制作。 */
|
|
10
|
+
export declare function observeProduction(client: Pick<NativeStudioAgentClient, "call">, input: SdkInput<"production.events.read">, options?: FeedbackObservationOptions): AsyncGenerator<SdkOutput<"production.events.read">>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { HOST_PROTOCOL, HostProtocolDocument, HostProtocolDigest, HostDelegationDocument, HostDelegationDigest, HostScopeSchema, HostChoiceSchema, CurrentHostSelectionSchema, CurrentAgentExecutionProfileSchema, HostInstallationIdentitySchema, HostInstallationSchema, HostTaskRequestSchema, HostTaskResponseSchema, HostTaskCancelSchema, ReleaseLegacyHostExecutionSchema, LegacyHostExecutionReleaseSchema, AgentHostContractInputSchema, AgentHostContractSchema, AgentHostContractDocumentSchema, createAgentHostContractDocument, canonicalHostContractJson, } from "../contracts/index.js";
|
|
2
|
+
export type { ReleaseLegacyHostExecution, LegacyHostExecutionRelease, AgentHostContract, AgentHostContractDocument, AgentHostContractInput, } from "../contracts/index.js";
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
import { HostTaskRequestSchema, HostTaskResponseSchema, HostTaskCancelSchema, HostInstallationSchema } from "../contracts/index.js";
|
|
5
|
+
export type HostTaskRequest = z.infer<typeof HostTaskRequestSchema>;
|
|
6
|
+
export type HostTaskResponse = z.infer<typeof HostTaskResponseSchema>;
|
|
7
|
+
export type HostTaskCancel = z.infer<typeof HostTaskCancelSchema>;
|
|
8
|
+
export type HostInstallation = z.infer<typeof HostInstallationSchema>;
|
|
@@ -13,8 +13,8 @@ declare const Input: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13
13
|
generationId: z.core.$ZodBranded<z.ZodUUID, "VideoGenerationId", "out">;
|
|
14
14
|
kind: z.ZodLiteral<"VIDEO_POSTER">;
|
|
15
15
|
}, z.core.$strict>, z.ZodObject<{
|
|
16
|
-
tenantId:
|
|
17
|
-
productionId:
|
|
16
|
+
tenantId: typeof import("../contracts/index.js").TenantIdSchema;
|
|
17
|
+
productionId: typeof import("../contracts/index.js").ProductionIdSchema;
|
|
18
18
|
renderId: z.ZodUUID;
|
|
19
19
|
kind: z.ZodEnum<{
|
|
20
20
|
ROUGH_CUT_POSTER: "ROUGH_CUT_POSTER";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { z } from "zod";
|
|
2
|
+
import type { NativeStudioHttpTransport, SdkRequestOptions } from "./transport/http.js";
|
|
3
|
+
declare const identity: z.ZodObject<{
|
|
4
|
+
tenantId: z.ZodUUID;
|
|
5
|
+
projectId: z.ZodUUID;
|
|
6
|
+
representationId: z.ZodUUID;
|
|
7
|
+
checksumSha256: z.ZodString;
|
|
8
|
+
byteSize: z.ZodInt;
|
|
9
|
+
}, z.core.$strict>;
|
|
10
|
+
export type SdkImmutableMediaIdentity = Omit<z.input<typeof identity>, "tenantId">;
|
|
11
|
+
/** 只对调用方冻结的正式表示换取读票,按原摘要和大小读取存储且不退回中心下载。 */
|
|
12
|
+
export declare function readImmutableMedia(transport: NativeStudioHttpTransport, tenantId: string, raw: SdkImmutableMediaIdentity, options?: SdkRequestOptions): Promise<{
|
|
13
|
+
representationId: string;
|
|
14
|
+
bytes: Uint8Array<ArrayBufferLike>;
|
|
15
|
+
object: {
|
|
16
|
+
tenantId: string;
|
|
17
|
+
projectId: string;
|
|
18
|
+
versionId: string;
|
|
19
|
+
role: "VIDEO" | "AUDIO" | "SOURCE" | "POSTER" | "FRAME" | "SHEET" | "MANIFEST";
|
|
20
|
+
byteSize: number;
|
|
21
|
+
checksumSha256: string;
|
|
22
|
+
};
|
|
23
|
+
}>;
|
|
24
|
+
export {};
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
export * from "./device-renders.js";
|
|
2
|
+
export * from "./device-enrollment-handoff.js";
|
|
3
|
+
export { CapabilityVersionSchema, CapabilityVersionMismatchSchema, InterfaceSemanticStatusSchema, type CapabilityVersionMismatch, } from "../contracts/interface/common.js";
|
|
4
|
+
export { WorkspaceStatusSchema, DeviceStatusInputSchema, DeviceStatusSchema, type DeviceStatusInput, type DeviceStatus, } from "../contracts/index.js";
|
|
5
|
+
export { WorkspaceDeviceListInputSchema, WorkspaceDeviceListSchema, type WorkspaceDeviceListInput, type WorkspaceDeviceList, } from "../contracts/local-execution/index.js";
|
|
6
|
+
export { LocalLibraryProjectionQuerySchema, LocalLibraryProjectionPageSchema, LocalLibraryCommandSchema, LocalLibraryAdmissionSchema, LocalLibraryCommandQuerySchema, LocalLibraryCommandStatusSchema, LocalLibraryReferenceSchema, } from "../contracts/local-execution/index.js";
|
|
7
|
+
export type { NativeStudioDirectSources } from "./direct-source.js";
|
|
1
8
|
export * from "./client.js";
|
|
2
9
|
export * from "./mcp-client.js";
|
|
3
10
|
export * from "./navigation-client.js";
|
|
@@ -6,11 +13,19 @@ export type { SdkEvidenceImageInput } from "./evidence-image.js";
|
|
|
6
13
|
export type { SdkAuxiliaryMediaInput } from "./auxiliary-media.js";
|
|
7
14
|
export type { SdkMcpImageInput } from "./mcp-image.js";
|
|
8
15
|
export { sdkMcpTools } from "./catalog/mcp.js";
|
|
16
|
+
export { sdkCarrierDifferences, assertCarrierCoverage } from "./catalog/carriers.js";
|
|
9
17
|
export * from "./runtime-authority.js";
|
|
10
18
|
export * from "./errors.js";
|
|
11
19
|
export * from "./observe.js";
|
|
12
20
|
export type { NativeStudioHttpOptions, SdkRequestOptions, SdkBinary } from "./transport/http.js";
|
|
13
21
|
export type { SdkMediaInput, SdkMediaIdentity } from "./media.js";
|
|
22
|
+
export type { SdkImmutableMediaIdentity } from "./immutable-media.js";
|
|
14
23
|
export type { SdkImageMediaInput } from "./image-media.js";
|
|
15
24
|
export { sdkImageMediaTools } from "./image-media.js";
|
|
16
|
-
export { NavigationProfile, NavigationProfileKey, NavigationToolNames, CapabilityDescribeSchema, CapabilityGroupsSchema, NavigationGroups, NavigationGroupIdSchema, navigationGroup, type NavigationGroupId, } from "../contracts/index.js";
|
|
25
|
+
export { NavigationProfile, NavigationProfileKey, NavigationToolNames, McpEntryToolNames, CapabilityInvocationInputSchema, CapabilityInvocationOutputSchema, type CapabilityInvocationInput, CapabilityDescribeSchema, CapabilityGroupsSchema, NavigationGroups, NavigationGroupIdSchema, navigationGroup, type NavigationGroupId, } from "../contracts/index.js";
|
|
26
|
+
export { RoughCutViewSchema, FinalRenderViewSchema, ProjectDeviceListSchema, type ProjectDeviceList, } from "../contracts/index.js";
|
|
27
|
+
export { renderDeviceSelection } from "../contracts/index.js";
|
|
28
|
+
export { TenantRenderMediaTicketSchema } from "../contracts/local-execution/index.js";
|
|
29
|
+
export * from "./feedback-observer.js";
|
|
30
|
+
export * from "./webhook-receiver.js";
|
|
31
|
+
export * from "./federation-notice-result.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { EnrollLocalDeviceSchema,
|
|
3
|
-
/**
|
|
2
|
+
import { EnrollLocalDeviceSchema, RevokeLocalDeviceSchema, StartLocalPreviewSchema, StartLocalFinalRenderSchema, LocalDeviceManagementCommandSchema } from "../../contracts/local-execution/index.js";
|
|
3
|
+
/** 成员设备管理沿当前 tenant;设备会话和本机执行连接不构成成员权限。 */
|
|
4
4
|
export declare class NativeStudioLocalDeviceClient {
|
|
5
5
|
private readonly options;
|
|
6
6
|
private readonly origin;
|
|
@@ -18,12 +18,12 @@ export declare class NativeStudioLocalDeviceClient {
|
|
|
18
18
|
x: string;
|
|
19
19
|
y: string;
|
|
20
20
|
};
|
|
21
|
+
runtimeVersion: string;
|
|
21
22
|
label: string;
|
|
22
23
|
platform: {
|
|
23
24
|
os: "darwin" | "linux" | "win32";
|
|
24
|
-
architecture: "
|
|
25
|
+
architecture: "arm64" | "x64";
|
|
25
26
|
};
|
|
26
|
-
runtimeVersion: string;
|
|
27
27
|
deviceId: string;
|
|
28
28
|
revision: number;
|
|
29
29
|
enrolledByPrincipalId: string;
|
|
@@ -31,25 +31,122 @@ export declare class NativeStudioLocalDeviceClient {
|
|
|
31
31
|
verifiedAt: string | null;
|
|
32
32
|
revokedAt: string | null;
|
|
33
33
|
}>;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
34
|
+
managementReceipt(input: z.infer<typeof LocalDeviceManagementCommandSchema>, signal?: AbortSignal): Promise<{
|
|
35
|
+
fingerprint: string;
|
|
36
|
+
result: {
|
|
37
|
+
tenantId: string;
|
|
38
|
+
publicKey: {
|
|
39
|
+
kty: "EC";
|
|
40
|
+
crv: "P-256";
|
|
41
|
+
x: string;
|
|
42
|
+
y: string;
|
|
43
|
+
};
|
|
44
|
+
runtimeVersion: string;
|
|
45
|
+
label: string;
|
|
46
|
+
platform: {
|
|
47
|
+
os: "darwin" | "linux" | "win32";
|
|
48
|
+
architecture: "arm64" | "x64";
|
|
49
|
+
};
|
|
50
|
+
deviceId: string;
|
|
51
|
+
revision: number;
|
|
52
|
+
enrolledByPrincipalId: string;
|
|
53
|
+
createdAt: string;
|
|
54
|
+
verifiedAt: string | null;
|
|
55
|
+
revokedAt: string | null;
|
|
56
|
+
} | {
|
|
57
|
+
semanticStatus: "ACCEPTED";
|
|
58
|
+
renderId: string;
|
|
59
|
+
operationId: string & z.core.$brand<"OperationId">;
|
|
60
|
+
productionId: string;
|
|
61
|
+
timelineVersionId: string;
|
|
62
|
+
timelineFingerprint: string;
|
|
63
|
+
executionClass: "LIVE" | "TEST_ONLY";
|
|
64
|
+
manifestFingerprint: string;
|
|
65
|
+
productionRevision: number;
|
|
66
|
+
placement: {
|
|
67
|
+
target: "DEVICE" | "SERVER";
|
|
68
|
+
reason: "OFFLINE" | "UNQUALIFIED" | "BUSY" | "LOCAL_AVAILABLE" | "CLOUD_ONLY" | "LEASE_RECOVERY";
|
|
69
|
+
policy: {
|
|
70
|
+
mode: "local-only";
|
|
71
|
+
deviceId: string;
|
|
72
|
+
} | {
|
|
73
|
+
mode: "local-preferred";
|
|
74
|
+
deviceId: string;
|
|
75
|
+
} | {
|
|
76
|
+
mode: "cloud-only";
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
humanLinks?: {
|
|
80
|
+
status: "AVAILABLE";
|
|
81
|
+
items: {
|
|
82
|
+
rel: "delivery" | "workspace" | "project" | "production" | "artifact" | "voice_profile";
|
|
83
|
+
href: string;
|
|
84
|
+
}[];
|
|
85
|
+
} | {
|
|
86
|
+
status: "UNAVAILABLE" | "UNCONFIGURED";
|
|
87
|
+
items: {
|
|
88
|
+
rel: "delivery" | "workspace" | "project" | "production" | "artifact" | "voice_profile";
|
|
89
|
+
href: string;
|
|
90
|
+
}[];
|
|
91
|
+
} | undefined;
|
|
92
|
+
deviceExecution?: {
|
|
93
|
+
mode: "tenant-device-only";
|
|
94
|
+
deviceId: string;
|
|
95
|
+
runtimeJobId: string;
|
|
96
|
+
validationMode?: "TENANT_TRUSTED_VALIDATOR" | undefined;
|
|
97
|
+
} | undefined;
|
|
98
|
+
} | {
|
|
99
|
+
semanticStatus: "ACCEPTED";
|
|
100
|
+
renderId: string;
|
|
101
|
+
operationId: string & z.core.$brand<"OperationId">;
|
|
102
|
+
productionId: string;
|
|
103
|
+
timelineVersionId: string;
|
|
104
|
+
timelineFingerprint: string;
|
|
105
|
+
executionClass: "LIVE" | "TEST_ONLY";
|
|
106
|
+
manifestFingerprint: string;
|
|
107
|
+
productionRevision: number;
|
|
108
|
+
selectionId: string;
|
|
109
|
+
selectionVersion: number;
|
|
110
|
+
profileId: "FINAL_H264_1080P_V1" | "FINAL_H264_720P_V1" | "FINAL_H264_480P_V1";
|
|
111
|
+
placement: {
|
|
112
|
+
target: "DEVICE" | "SERVER";
|
|
113
|
+
reason: "OFFLINE" | "UNQUALIFIED" | "BUSY" | "LOCAL_AVAILABLE" | "CLOUD_ONLY" | "LEASE_RECOVERY";
|
|
114
|
+
policy: {
|
|
115
|
+
mode: "local-only";
|
|
116
|
+
deviceId: string;
|
|
117
|
+
} | {
|
|
118
|
+
mode: "local-preferred";
|
|
119
|
+
deviceId: string;
|
|
120
|
+
} | {
|
|
121
|
+
mode: "cloud-only";
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
humanLinks?: {
|
|
125
|
+
status: "AVAILABLE";
|
|
126
|
+
items: {
|
|
127
|
+
rel: "delivery" | "workspace" | "project" | "production" | "artifact" | "voice_profile";
|
|
128
|
+
href: string;
|
|
129
|
+
}[];
|
|
130
|
+
} | {
|
|
131
|
+
status: "UNAVAILABLE" | "UNCONFIGURED";
|
|
132
|
+
items: {
|
|
133
|
+
rel: "delivery" | "workspace" | "project" | "production" | "artifact" | "voice_profile";
|
|
134
|
+
href: string;
|
|
135
|
+
}[];
|
|
136
|
+
} | undefined;
|
|
137
|
+
deviceExecution?: {
|
|
138
|
+
mode: "tenant-device-only";
|
|
139
|
+
deviceId: string;
|
|
140
|
+
runtimeJobId: string;
|
|
141
|
+
validationMode?: "TENANT_TRUSTED_VALIDATOR" | undefined;
|
|
142
|
+
} | undefined;
|
|
143
|
+
} | {
|
|
144
|
+
semanticStatus: "SUCCESS";
|
|
145
|
+
} | null;
|
|
46
146
|
}>;
|
|
47
147
|
revokeDevice(input: z.infer<typeof RevokeLocalDeviceSchema>, signal?: AbortSignal): Promise<{
|
|
48
148
|
semanticStatus: "SUCCESS";
|
|
49
149
|
}>;
|
|
50
|
-
revokeGrant(input: z.infer<typeof RevokeLocalDeviceGrantSchema>, signal?: AbortSignal): Promise<{
|
|
51
|
-
semanticStatus: "SUCCESS";
|
|
52
|
-
}>;
|
|
53
150
|
startPreview(input: z.infer<typeof StartLocalPreviewSchema>, signal?: AbortSignal): Promise<{
|
|
54
151
|
semanticStatus: "ACCEPTED";
|
|
55
152
|
renderId: string;
|
|
@@ -73,5 +170,70 @@ export declare class NativeStudioLocalDeviceClient {
|
|
|
73
170
|
mode: "cloud-only";
|
|
74
171
|
};
|
|
75
172
|
};
|
|
173
|
+
humanLinks?: {
|
|
174
|
+
status: "AVAILABLE";
|
|
175
|
+
items: {
|
|
176
|
+
rel: "delivery" | "workspace" | "project" | "production" | "artifact" | "voice_profile";
|
|
177
|
+
href: string;
|
|
178
|
+
}[];
|
|
179
|
+
} | {
|
|
180
|
+
status: "UNAVAILABLE" | "UNCONFIGURED";
|
|
181
|
+
items: {
|
|
182
|
+
rel: "delivery" | "workspace" | "project" | "production" | "artifact" | "voice_profile";
|
|
183
|
+
href: string;
|
|
184
|
+
}[];
|
|
185
|
+
} | undefined;
|
|
186
|
+
deviceExecution?: {
|
|
187
|
+
mode: "tenant-device-only";
|
|
188
|
+
deviceId: string;
|
|
189
|
+
runtimeJobId: string;
|
|
190
|
+
validationMode?: "TENANT_TRUSTED_VALIDATOR" | undefined;
|
|
191
|
+
} | undefined;
|
|
192
|
+
}>;
|
|
193
|
+
startFinal(input: z.infer<typeof StartLocalFinalRenderSchema>, signal?: AbortSignal): Promise<{
|
|
194
|
+
semanticStatus: "ACCEPTED";
|
|
195
|
+
renderId: string;
|
|
196
|
+
operationId: string & z.core.$brand<"OperationId">;
|
|
197
|
+
productionId: string;
|
|
198
|
+
timelineVersionId: string;
|
|
199
|
+
timelineFingerprint: string;
|
|
200
|
+
executionClass: "LIVE" | "TEST_ONLY";
|
|
201
|
+
manifestFingerprint: string;
|
|
202
|
+
productionRevision: number;
|
|
203
|
+
selectionId: string;
|
|
204
|
+
selectionVersion: number;
|
|
205
|
+
profileId: "FINAL_H264_1080P_V1" | "FINAL_H264_720P_V1" | "FINAL_H264_480P_V1";
|
|
206
|
+
placement: {
|
|
207
|
+
target: "DEVICE" | "SERVER";
|
|
208
|
+
reason: "OFFLINE" | "UNQUALIFIED" | "BUSY" | "LOCAL_AVAILABLE" | "CLOUD_ONLY" | "LEASE_RECOVERY";
|
|
209
|
+
policy: {
|
|
210
|
+
mode: "local-only";
|
|
211
|
+
deviceId: string;
|
|
212
|
+
} | {
|
|
213
|
+
mode: "local-preferred";
|
|
214
|
+
deviceId: string;
|
|
215
|
+
} | {
|
|
216
|
+
mode: "cloud-only";
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
humanLinks?: {
|
|
220
|
+
status: "AVAILABLE";
|
|
221
|
+
items: {
|
|
222
|
+
rel: "delivery" | "workspace" | "project" | "production" | "artifact" | "voice_profile";
|
|
223
|
+
href: string;
|
|
224
|
+
}[];
|
|
225
|
+
} | {
|
|
226
|
+
status: "UNAVAILABLE" | "UNCONFIGURED";
|
|
227
|
+
items: {
|
|
228
|
+
rel: "delivery" | "workspace" | "project" | "production" | "artifact" | "voice_profile";
|
|
229
|
+
href: string;
|
|
230
|
+
}[];
|
|
231
|
+
} | undefined;
|
|
232
|
+
deviceExecution?: {
|
|
233
|
+
mode: "tenant-device-only";
|
|
234
|
+
deviceId: string;
|
|
235
|
+
runtimeJobId: string;
|
|
236
|
+
validationMode?: "TENANT_TRUSTED_VALIDATOR" | undefined;
|
|
237
|
+
} | undefined;
|
|
76
238
|
}>;
|
|
77
239
|
}
|