@nativestudio/cli 0.3.0-rc.1 → 0.3.0-rc.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/COMPATIBILITY.json +33 -8
- package/LICENSE +201 -21
- package/components/runtime.json +29 -4
- package/components/runtime.tgz +0 -0
- package/dist/_chunks/chunk-37PAJCKA.js +1 -0
- package/dist/_chunks/{chunk-G42IS5JF.js → chunk-3AVC742O.js} +1 -1
- package/dist/_chunks/chunk-4U4Y2K73.js +1 -0
- package/dist/_chunks/chunk-65FQPXKC.js +1 -0
- package/dist/_chunks/chunk-6DVZBKNV.js +1 -0
- package/dist/_chunks/{chunk-25EDDZQA.js → chunk-6LU6GJKW.js} +1 -1
- package/dist/_chunks/chunk-6N433ZWR.js +1 -0
- package/dist/_chunks/chunk-EGUJ2YRX.js +1 -0
- package/dist/_chunks/{chunk-MSOMVWKN.js → chunk-FU3524Z6.js} +1 -1
- package/dist/_chunks/chunk-GZBWA4YN.js +1 -0
- package/dist/_chunks/chunk-HR34UMPP.js +1 -0
- package/dist/_chunks/chunk-HTUTYIRU.js +1 -0
- package/dist/_chunks/chunk-KB2GVAN7.js +1 -0
- package/dist/_chunks/chunk-L543FEDK.js +1 -0
- package/dist/_chunks/chunk-LISB5W7B.js +1 -0
- package/dist/_chunks/chunk-LUAH3KAS.js +1 -0
- package/dist/_chunks/chunk-M2KVQQ4X.js +1 -0
- package/dist/_chunks/chunk-ODGPV7MM.js +1 -0
- package/dist/_chunks/chunk-PUBMDP4E.js +1 -0
- package/dist/_chunks/chunk-Q57YFNK5.js +1 -0
- package/dist/_chunks/chunk-QAJH4RJQ.js +1 -0
- package/dist/_chunks/chunk-WFRRNWO5.js +1 -0
- package/dist/_chunks/connect-5YMO6MAR.js +1 -0
- package/dist/_chunks/device-management-2OTGEBJQ.js +1 -0
- package/dist/_chunks/device-preflight-XPHFZGLO.js +1 -0
- package/dist/_chunks/devices-inventory-VWNTU5TE.js +1 -0
- package/dist/_chunks/devices-main-VQ4APRVS.js +1 -0
- package/dist/_chunks/{files-TBJVDQWU.js → files-TTIQ7LYJ.js} +1 -1
- package/dist/_chunks/host-main-H7DPLV7B.js +1 -0
- package/dist/_chunks/http-profile-MNJX6OXO.js +1 -0
- package/dist/_chunks/library-main-SAC3V2ML.js +1 -0
- package/dist/_chunks/local-main-D6B3APK6.js +1 -0
- package/dist/_chunks/local-mcp-ONCANLPH.js +1 -0
- package/dist/_chunks/main-PW6HB3NC.js +2 -0
- package/dist/_chunks/mcp-ZIGBYFUW.js +1 -0
- package/dist/_chunks/oauth-HC6TI7HB.js +1 -0
- package/dist/_chunks/render-main-GYWKP72O.js +1 -0
- package/dist/_chunks/source-import-BC5GNCUZ.js +1 -0
- package/dist/_chunks/src-R6DNU336.js +1 -0
- package/dist/_chunks/{stdio-main-JEADWO7U.js → stdio-main-RIJS5REB.js} +1 -1
- package/dist/_chunks/workspace-main-GNSKHKBG.js +1 -0
- package/dist/_types/cli/local/desktop-contract.d.ts +1969 -1
- package/dist/_types/cli/local/desktop-device-contract.d.ts +779 -0
- package/dist/_types/cli/local/desktop-device-navigation.d.ts +3 -0
- package/dist/_types/cli/local/desktop-device-owner.d.ts +244 -0
- package/dist/_types/cli/local/desktop-device-state.d.ts +397 -0
- package/dist/_types/cli/local/desktop-library.d.ts +853 -0
- package/dist/_types/cli/local/desktop-owner.d.ts +735 -1
- package/dist/_types/cli/local/ledger.d.ts +64 -10
- package/dist/_types/cli/local/manager.d.ts +1146 -43
- package/dist/_types/cli/local/mcp-tools.d.ts +287 -46
- package/dist/_types/cli/local/releases.d.ts +28 -5
- package/dist/_types/cli/local-management.d.ts +5 -0
- package/dist/_types/cli/local-navigation.d.ts +1 -0
- package/dist/_types/contracts/artifact-discovery.d.ts +76 -4
- package/dist/_types/contracts/audio.d.ts +4 -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-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 +12 -12
- package/dist/_types/contracts/delivery-manifest.d.ts +25 -11729
- package/dist/_types/contracts/delivery-operations.d.ts +51 -3909
- package/dist/_types/contracts/delivery-summary.d.ts +2 -2
- package/dist/_types/contracts/delivery-validation.d.ts +23 -0
- package/dist/_types/contracts/device-render.d.ts +77 -0
- package/dist/_types/contracts/editor-intelligence.d.ts +114 -2491
- 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/final-ready.d.ts +22 -22
- package/dist/_types/contracts/final-render.d.ts +1569 -6940
- package/dist/_types/contracts/human-identity.d.ts +13 -0
- package/dist/_types/contracts/index.d.ts +4 -0
- package/dist/_types/contracts/interface/media-output.d.ts +28 -0
- package/dist/_types/contracts/interface/production-snapshot.d.ts +15 -193
- package/dist/_types/contracts/keyframe-generation.d.ts +29 -0
- package/dist/_types/contracts/local-execution/agent-context.d.ts +365 -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 +496 -64
- 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/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 +76 -0
- package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
- package/dist/_types/contracts/local-execution/device.d.ts +19 -51
- package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
- package/dist/_types/contracts/local-execution/index.d.ts +26 -0
- package/dist/_types/contracts/local-execution/ipc.d.ts +2756 -228
- package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
- package/dist/_types/contracts/local-execution/library-result.d.ts +408 -0
- package/dist/_types/contracts/local-execution/library.d.ts +873 -0
- package/dist/_types/contracts/local-execution/lifecycle.d.ts +242 -42
- package/dist/_types/contracts/local-execution/local-navigation.d.ts +275 -56
- package/dist/_types/contracts/local-execution/management.d.ts +400 -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 +144 -3564
- package/dist/_types/contracts/local-execution/processor-capability.d.ts +39 -0
- package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
- package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1122 -0
- package/dist/_types/contracts/local-execution/processor.d.ts +6173 -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 +45 -5
- package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
- package/dist/_types/contracts/local-execution/work.d.ts +111 -3403
- package/dist/_types/contracts/local-execution/workspace.d.ts +141 -0
- package/dist/_types/contracts/media-category.d.ts +11 -0
- package/dist/_types/contracts/media-observation.d.ts +929 -8
- package/dist/_types/contracts/navigation.d.ts +25 -15
- package/dist/_types/contracts/observation-profile.d.ts +3 -3
- package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
- package/dist/_types/contracts/programmatic-exploration.d.ts +348 -5985
- package/dist/_types/contracts/provider-catalog.d.ts +3 -3
- package/dist/_types/contracts/provider-models.d.ts +16 -8
- package/dist/_types/contracts/provider.d.ts +66 -1
- package/dist/_types/contracts/reference-preview.d.ts +19 -0
- package/dist/_types/contracts/repair-lifecycle.d.ts +52 -384
- package/dist/_types/contracts/repair-plan.d.ts +16 -98
- package/dist/_types/contracts/repair-strategy.d.ts +162 -4481
- package/dist/_types/contracts/review-intelligence-final-output.d.ts +317 -8139
- package/dist/_types/contracts/review-intelligence.d.ts +450 -11420
- package/dist/_types/contracts/rough-cut-manifest.d.ts +8 -3
- package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
- package/dist/_types/contracts/rough-cut-review.d.ts +134 -12494
- package/dist/_types/contracts/rough-cut.d.ts +1073 -5675
- package/dist/_types/contracts/sound-making-plan.d.ts +3 -2
- package/dist/_types/contracts/speech-cost.d.ts +81 -0
- package/dist/_types/contracts/speech.d.ts +149 -0
- package/dist/_types/contracts/temporal-evidence-operation.d.ts +1 -0
- package/dist/_types/contracts/timeline-audio.d.ts +1 -0
- package/dist/_types/contracts/timeline-manifest.d.ts +2 -0
- package/dist/_types/contracts/timeline-source-sound.d.ts +1 -0
- package/dist/_types/contracts/timeline-v2.d.ts +4 -0
- package/dist/_types/contracts/timeline-version-reader.d.ts +10 -0
- package/dist/_types/contracts/timeline-visual-layers.d.ts +4 -0
- 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 +33 -0
- package/dist/_types/contracts/visual-layer-render.d.ts +58 -15
- package/dist/_types/contracts/visual-sequence.d.ts +22 -0
- package/dist/_types/contracts/workspace.d.ts +32 -0
- package/dist/_types/sdk/errors.d.ts +8 -3
- package/dist/_types/sdk/local-runtime/components.d.ts +2 -0
- package/dist/_types/sdk/local-runtime/device-client.d.ts +127 -17
- 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 +1773 -89
- package/dist/entry.js +1 -1
- package/dist/local-management.js +1 -1
- package/dist/local-navigation.js +1 -1
- package/dist/native/JobNative.cs +10 -0
- package/dist/native/JobRunner.cs +24 -3
- package/dist/native/NativeMain.cs +15 -0
- package/package.json +2 -8
- package/README.md +0 -78
- package/dist/_chunks/chunk-6NVIN2NI.js +0 -1
- package/dist/_chunks/chunk-E57YVMQ4.js +0 -1
- package/dist/_chunks/chunk-EAZKDCLD.js +0 -1
- package/dist/_chunks/chunk-GIEYSDCG.js +0 -1
- package/dist/_chunks/chunk-GJ7BZJLW.js +0 -1
- package/dist/_chunks/chunk-HLKERZIE.js +0 -1
- package/dist/_chunks/chunk-QC7RLTGU.js +0 -1
- package/dist/_chunks/chunk-RUMDDTON.js +0 -1
- package/dist/_chunks/chunk-U2UKGYGF.js +0 -1
- package/dist/_chunks/local-main-SOERK22D.js +0 -1
- package/dist/_chunks/local-mcp-JLPXXIDW.js +0 -1
- package/dist/_chunks/main-4SNF5EKE.js +0 -2
- package/dist/_chunks/mcp-EIMXNRH3.js +0 -1
- package/dist/_chunks/oauth-257CEUQH.js +0 -1
- package/dist/_chunks/project-connect-6MH2QG6G.js +0 -1
- package/dist/_chunks/src-7F6ZEU3U.js +0 -1
|
@@ -20,8 +20,8 @@ export declare const AsrProfileSchema: z.ZodObject<{
|
|
|
20
20
|
}>;
|
|
21
21
|
modes: z.ZodTuple<[z.ZodLiteral<"TRANSCRIPTION">], null>;
|
|
22
22
|
inputKinds: z.ZodArray<z.ZodEnum<{
|
|
23
|
-
AUDIO: "AUDIO";
|
|
24
23
|
VIDEO: "VIDEO";
|
|
24
|
+
AUDIO: "AUDIO";
|
|
25
25
|
}>>;
|
|
26
26
|
requestTimeoutMs: z.ZodInt;
|
|
27
27
|
maxBytes: z.ZodInt;
|
|
@@ -43,6 +43,10 @@ export declare const VideoProviderProfileSchema: z.ZodObject<{
|
|
|
43
43
|
nativeAudioChannels: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
44
44
|
correlationStrategy: z.ZodLiteral<"PROVIDER_TASK_ID">;
|
|
45
45
|
}, z.core.$strict>;
|
|
46
|
+
/** 允许模型列表属于 tenant 连接,不要求先选择 Production。 */
|
|
47
|
+
export declare const VideoOptionsInputSchema: z.ZodObject<{
|
|
48
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
49
|
+
}, z.core.$strict>;
|
|
46
50
|
export declare const VideoStartInputSchema: z.ZodObject<{
|
|
47
51
|
expectedExecution: z.ZodOptional<z.ZodObject<{
|
|
48
52
|
connectionVersion: z.ZodInt;
|
|
@@ -62,6 +66,35 @@ export declare const VideoStartInputSchema: z.ZodObject<{
|
|
|
62
66
|
}, z.core.$strict>;
|
|
63
67
|
idempotencyKey: z.ZodString;
|
|
64
68
|
}, z.core.$strict>;
|
|
69
|
+
/** 异步外部视频同样冻结获准设备和整单报价,仍由原视频 Owner 受理。 */
|
|
70
|
+
export declare const VideoDeviceStartInputSchema: z.ZodObject<{
|
|
71
|
+
shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
|
|
72
|
+
preparationId: z.core.$ZodBranded<z.ZodUUID, "PreparationId", "out">;
|
|
73
|
+
contractId: z.core.$ZodBranded<z.ZodUUID, "GenerationContractId", "out">;
|
|
74
|
+
contractFingerprint: z.ZodString;
|
|
75
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
76
|
+
projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
|
|
77
|
+
idempotencyKey: z.ZodString;
|
|
78
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
79
|
+
deviceId: z.ZodUUID;
|
|
80
|
+
approvedQuote: z.ZodObject<{
|
|
81
|
+
currency: z.ZodLiteral<"USD">;
|
|
82
|
+
upperBoundMicros: z.ZodInt;
|
|
83
|
+
selection: z.ZodObject<{
|
|
84
|
+
connectionId: z.core.$ZodBranded<z.ZodUUID, "ProviderConnectionId", "out">;
|
|
85
|
+
modelProfileId: z.ZodString;
|
|
86
|
+
}, z.core.$strict>;
|
|
87
|
+
expectedExecution: z.ZodObject<{
|
|
88
|
+
connectionVersion: z.ZodInt;
|
|
89
|
+
modelProfileVersion: z.ZodInt;
|
|
90
|
+
quoteValidUntil: z.ZodISODateTime;
|
|
91
|
+
}, z.core.$strict>;
|
|
92
|
+
sourceUrl: z.ZodURL;
|
|
93
|
+
ruleIds: z.ZodArray<z.ZodString>;
|
|
94
|
+
preparationId: z.ZodUUID;
|
|
95
|
+
contractFingerprint: z.ZodString;
|
|
96
|
+
}, z.core.$strict>;
|
|
97
|
+
}, z.core.$strict>;
|
|
65
98
|
export declare const VideoGetInputSchema: z.ZodObject<{
|
|
66
99
|
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
67
100
|
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
export declare const VisualLayerPolicySchema: z.ZodEnum<{
|
|
3
|
+
STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1: "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1";
|
|
4
|
+
STRAIGHT_ALPHA_FRAME_OVERLAY_30_V2: "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V2";
|
|
5
|
+
}>;
|
|
6
|
+
export type VisualLayerPolicy = z.infer<typeof VisualLayerPolicySchema>;
|
|
2
7
|
export declare const VisualLayerPreviewProfileSchema: z.ZodObject<{
|
|
3
8
|
captionPolicy: z.ZodOptional<z.ZodLiteral<"BURN_IN">>;
|
|
4
9
|
captionStyle: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -11,14 +16,18 @@ export declare const VisualLayerPreviewProfileSchema: z.ZodObject<{
|
|
|
11
16
|
framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
|
|
12
17
|
}, z.core.$strict>], "id">>;
|
|
13
18
|
graphicsPolicy: z.ZodOptional<z.ZodLiteral<"OVERLAY_V1">>;
|
|
14
|
-
id: z.
|
|
19
|
+
id: z.ZodEnum<{
|
|
20
|
+
PREVIEW_H264_480P_V1: "PREVIEW_H264_480P_V1";
|
|
21
|
+
PREVIEW_H264_720P_V1: "PREVIEW_H264_720P_V1";
|
|
22
|
+
PREVIEW_H264_1080P_V1: "PREVIEW_H264_1080P_V1";
|
|
23
|
+
}>;
|
|
15
24
|
algorithm: z.ZodEnum<{
|
|
16
25
|
ORDERED_TRIM_CUT_V1: "ORDERED_TRIM_CUT_V1";
|
|
17
26
|
ORDERED_COMPOSE_V2: "ORDERED_COMPOSE_V2";
|
|
18
27
|
}>;
|
|
19
28
|
picturePolicy: z.ZodOptional<z.ZodLiteral<"CROP_PAD_V1">>;
|
|
20
|
-
width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
|
|
21
|
-
height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
|
|
29
|
+
width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
|
|
30
|
+
height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
|
|
22
31
|
frameRate: z.ZodLiteral<30>;
|
|
23
32
|
codec: z.ZodLiteral<"h264">;
|
|
24
33
|
pixelFormat: z.ZodLiteral<"yuv420p">;
|
|
@@ -34,7 +43,10 @@ export declare const VisualLayerPreviewProfileSchema: z.ZodObject<{
|
|
|
34
43
|
duckingMusicPermille: z.ZodInt;
|
|
35
44
|
}, z.core.$strict>>;
|
|
36
45
|
framePolicy: z.ZodLiteral<"CUMULATIVE_NEAREST_FRAME">;
|
|
37
|
-
visualLayerPolicy: z.
|
|
46
|
+
visualLayerPolicy: z.ZodEnum<{
|
|
47
|
+
STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1: "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1";
|
|
48
|
+
STRAIGHT_ALPHA_FRAME_OVERLAY_30_V2: "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V2";
|
|
49
|
+
}>;
|
|
38
50
|
}, z.core.$strict>;
|
|
39
51
|
export declare const VisualLayerFinalProfileSchema: z.ZodObject<{
|
|
40
52
|
id: z.ZodEnum<{
|
|
@@ -88,7 +100,10 @@ export declare const VisualLayerFinalProfileSchema: z.ZodObject<{
|
|
|
88
100
|
framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
|
|
89
101
|
}, z.core.$strict>], "id">>;
|
|
90
102
|
graphicsPolicy: z.ZodOptional<z.ZodLiteral<"OVERLAY_V1">>;
|
|
91
|
-
visualLayerPolicy: z.
|
|
103
|
+
visualLayerPolicy: z.ZodEnum<{
|
|
104
|
+
STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1: "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1";
|
|
105
|
+
STRAIGHT_ALPHA_FRAME_OVERLAY_30_V2: "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V2";
|
|
106
|
+
}>;
|
|
92
107
|
visualLayerSourceQualityPolicy: z.ZodLiteral<"NO_UPSCALE_V1">;
|
|
93
108
|
}, z.core.$strict>;
|
|
94
109
|
export declare const VisualLayerPreviewManifestSchema: z.ZodObject<{
|
|
@@ -111,14 +126,18 @@ export declare const VisualLayerPreviewManifestSchema: z.ZodObject<{
|
|
|
111
126
|
framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
|
|
112
127
|
}, z.core.$strict>], "id">>;
|
|
113
128
|
graphicsPolicy: z.ZodOptional<z.ZodLiteral<"OVERLAY_V1">>;
|
|
114
|
-
id: z.
|
|
129
|
+
id: z.ZodEnum<{
|
|
130
|
+
PREVIEW_H264_480P_V1: "PREVIEW_H264_480P_V1";
|
|
131
|
+
PREVIEW_H264_720P_V1: "PREVIEW_H264_720P_V1";
|
|
132
|
+
PREVIEW_H264_1080P_V1: "PREVIEW_H264_1080P_V1";
|
|
133
|
+
}>;
|
|
115
134
|
algorithm: z.ZodEnum<{
|
|
116
135
|
ORDERED_TRIM_CUT_V1: "ORDERED_TRIM_CUT_V1";
|
|
117
136
|
ORDERED_COMPOSE_V2: "ORDERED_COMPOSE_V2";
|
|
118
137
|
}>;
|
|
119
138
|
picturePolicy: z.ZodOptional<z.ZodLiteral<"CROP_PAD_V1">>;
|
|
120
|
-
width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
|
|
121
|
-
height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
|
|
139
|
+
width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
|
|
140
|
+
height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
|
|
122
141
|
frameRate: z.ZodLiteral<30>;
|
|
123
142
|
codec: z.ZodLiteral<"h264">;
|
|
124
143
|
pixelFormat: z.ZodLiteral<"yuv420p">;
|
|
@@ -134,7 +153,10 @@ export declare const VisualLayerPreviewManifestSchema: z.ZodObject<{
|
|
|
134
153
|
duckingMusicPermille: z.ZodInt;
|
|
135
154
|
}, z.core.$strict>>;
|
|
136
155
|
framePolicy: z.ZodLiteral<"CUMULATIVE_NEAREST_FRAME">;
|
|
137
|
-
visualLayerPolicy: z.
|
|
156
|
+
visualLayerPolicy: z.ZodEnum<{
|
|
157
|
+
STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1: "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1";
|
|
158
|
+
STRAIGHT_ALPHA_FRAME_OVERLAY_30_V2: "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V2";
|
|
159
|
+
}>;
|
|
138
160
|
}, z.core.$strict>;
|
|
139
161
|
schemaVersion: z.ZodLiteral<3>;
|
|
140
162
|
timeline: z.ZodObject<{
|
|
@@ -263,6 +285,7 @@ export declare const VisualLayerPreviewManifestSchema: z.ZodObject<{
|
|
|
263
285
|
LIVE: "LIVE";
|
|
264
286
|
TEST_ONLY: "TEST_ONLY";
|
|
265
287
|
}>;
|
|
288
|
+
executionTarget: z.ZodOptional<z.ZodLiteral<"TENANT_DEVICE">>;
|
|
266
289
|
sourceArtifactId: z.ZodUUID;
|
|
267
290
|
sourceRepresentationId: z.ZodUUID;
|
|
268
291
|
sourceChecksumSha256: z.ZodString;
|
|
@@ -678,6 +701,7 @@ export declare const VisualLayerPreviewManifestSchema: z.ZodObject<{
|
|
|
678
701
|
LIVE: "LIVE";
|
|
679
702
|
TEST_ONLY: "TEST_ONLY";
|
|
680
703
|
}>;
|
|
704
|
+
executionTarget: z.ZodOptional<z.ZodLiteral<"TENANT_DEVICE">>;
|
|
681
705
|
sourceArtifactId: z.ZodUUID;
|
|
682
706
|
sourceRepresentationId: z.ZodUUID;
|
|
683
707
|
sourceChecksumSha256: z.ZodString;
|
|
@@ -813,7 +837,10 @@ export declare const VisualLayerFinalManifestSchema: z.ZodObject<{
|
|
|
813
837
|
framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
|
|
814
838
|
}, z.core.$strict>], "id">>;
|
|
815
839
|
graphicsPolicy: z.ZodOptional<z.ZodLiteral<"OVERLAY_V1">>;
|
|
816
|
-
visualLayerPolicy: z.
|
|
840
|
+
visualLayerPolicy: z.ZodEnum<{
|
|
841
|
+
STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1: "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1";
|
|
842
|
+
STRAIGHT_ALPHA_FRAME_OVERLAY_30_V2: "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V2";
|
|
843
|
+
}>;
|
|
817
844
|
visualLayerSourceQualityPolicy: z.ZodLiteral<"NO_UPSCALE_V1">;
|
|
818
845
|
}, z.core.$strict>;
|
|
819
846
|
schemaVersion: z.ZodLiteral<3>;
|
|
@@ -943,6 +970,7 @@ export declare const VisualLayerFinalManifestSchema: z.ZodObject<{
|
|
|
943
970
|
LIVE: "LIVE";
|
|
944
971
|
TEST_ONLY: "TEST_ONLY";
|
|
945
972
|
}>;
|
|
973
|
+
executionTarget: z.ZodOptional<z.ZodLiteral<"TENANT_DEVICE">>;
|
|
946
974
|
sourceArtifactId: z.ZodUUID;
|
|
947
975
|
sourceRepresentationId: z.ZodUUID;
|
|
948
976
|
sourceChecksumSha256: z.ZodString;
|
|
@@ -1358,6 +1386,7 @@ export declare const VisualLayerFinalManifestSchema: z.ZodObject<{
|
|
|
1358
1386
|
LIVE: "LIVE";
|
|
1359
1387
|
TEST_ONLY: "TEST_ONLY";
|
|
1360
1388
|
}>;
|
|
1389
|
+
executionTarget: z.ZodOptional<z.ZodLiteral<"TENANT_DEVICE">>;
|
|
1361
1390
|
sourceArtifactId: z.ZodUUID;
|
|
1362
1391
|
sourceRepresentationId: z.ZodUUID;
|
|
1363
1392
|
sourceChecksumSha256: z.ZodString;
|
|
@@ -1453,14 +1482,18 @@ export declare const VisualLayerRenderManifestSchema: z.ZodUnion<readonly [z.Zod
|
|
|
1453
1482
|
framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
|
|
1454
1483
|
}, z.core.$strict>], "id">>;
|
|
1455
1484
|
graphicsPolicy: z.ZodOptional<z.ZodLiteral<"OVERLAY_V1">>;
|
|
1456
|
-
id: z.
|
|
1485
|
+
id: z.ZodEnum<{
|
|
1486
|
+
PREVIEW_H264_480P_V1: "PREVIEW_H264_480P_V1";
|
|
1487
|
+
PREVIEW_H264_720P_V1: "PREVIEW_H264_720P_V1";
|
|
1488
|
+
PREVIEW_H264_1080P_V1: "PREVIEW_H264_1080P_V1";
|
|
1489
|
+
}>;
|
|
1457
1490
|
algorithm: z.ZodEnum<{
|
|
1458
1491
|
ORDERED_TRIM_CUT_V1: "ORDERED_TRIM_CUT_V1";
|
|
1459
1492
|
ORDERED_COMPOSE_V2: "ORDERED_COMPOSE_V2";
|
|
1460
1493
|
}>;
|
|
1461
1494
|
picturePolicy: z.ZodOptional<z.ZodLiteral<"CROP_PAD_V1">>;
|
|
1462
|
-
width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
|
|
1463
|
-
height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
|
|
1495
|
+
width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
|
|
1496
|
+
height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
|
|
1464
1497
|
frameRate: z.ZodLiteral<30>;
|
|
1465
1498
|
codec: z.ZodLiteral<"h264">;
|
|
1466
1499
|
pixelFormat: z.ZodLiteral<"yuv420p">;
|
|
@@ -1476,7 +1509,10 @@ export declare const VisualLayerRenderManifestSchema: z.ZodUnion<readonly [z.Zod
|
|
|
1476
1509
|
duckingMusicPermille: z.ZodInt;
|
|
1477
1510
|
}, z.core.$strict>>;
|
|
1478
1511
|
framePolicy: z.ZodLiteral<"CUMULATIVE_NEAREST_FRAME">;
|
|
1479
|
-
visualLayerPolicy: z.
|
|
1512
|
+
visualLayerPolicy: z.ZodEnum<{
|
|
1513
|
+
STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1: "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1";
|
|
1514
|
+
STRAIGHT_ALPHA_FRAME_OVERLAY_30_V2: "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V2";
|
|
1515
|
+
}>;
|
|
1480
1516
|
}, z.core.$strict>;
|
|
1481
1517
|
schemaVersion: z.ZodLiteral<3>;
|
|
1482
1518
|
timeline: z.ZodObject<{
|
|
@@ -1605,6 +1641,7 @@ export declare const VisualLayerRenderManifestSchema: z.ZodUnion<readonly [z.Zod
|
|
|
1605
1641
|
LIVE: "LIVE";
|
|
1606
1642
|
TEST_ONLY: "TEST_ONLY";
|
|
1607
1643
|
}>;
|
|
1644
|
+
executionTarget: z.ZodOptional<z.ZodLiteral<"TENANT_DEVICE">>;
|
|
1608
1645
|
sourceArtifactId: z.ZodUUID;
|
|
1609
1646
|
sourceRepresentationId: z.ZodUUID;
|
|
1610
1647
|
sourceChecksumSha256: z.ZodString;
|
|
@@ -2020,6 +2057,7 @@ export declare const VisualLayerRenderManifestSchema: z.ZodUnion<readonly [z.Zod
|
|
|
2020
2057
|
LIVE: "LIVE";
|
|
2021
2058
|
TEST_ONLY: "TEST_ONLY";
|
|
2022
2059
|
}>;
|
|
2060
|
+
executionTarget: z.ZodOptional<z.ZodLiteral<"TENANT_DEVICE">>;
|
|
2023
2061
|
sourceArtifactId: z.ZodUUID;
|
|
2024
2062
|
sourceRepresentationId: z.ZodUUID;
|
|
2025
2063
|
sourceChecksumSha256: z.ZodString;
|
|
@@ -2154,7 +2192,10 @@ export declare const VisualLayerRenderManifestSchema: z.ZodUnion<readonly [z.Zod
|
|
|
2154
2192
|
framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
|
|
2155
2193
|
}, z.core.$strict>], "id">>;
|
|
2156
2194
|
graphicsPolicy: z.ZodOptional<z.ZodLiteral<"OVERLAY_V1">>;
|
|
2157
|
-
visualLayerPolicy: z.
|
|
2195
|
+
visualLayerPolicy: z.ZodEnum<{
|
|
2196
|
+
STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1: "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1";
|
|
2197
|
+
STRAIGHT_ALPHA_FRAME_OVERLAY_30_V2: "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V2";
|
|
2198
|
+
}>;
|
|
2158
2199
|
visualLayerSourceQualityPolicy: z.ZodLiteral<"NO_UPSCALE_V1">;
|
|
2159
2200
|
}, z.core.$strict>;
|
|
2160
2201
|
schemaVersion: z.ZodLiteral<3>;
|
|
@@ -2284,6 +2325,7 @@ export declare const VisualLayerRenderManifestSchema: z.ZodUnion<readonly [z.Zod
|
|
|
2284
2325
|
LIVE: "LIVE";
|
|
2285
2326
|
TEST_ONLY: "TEST_ONLY";
|
|
2286
2327
|
}>;
|
|
2328
|
+
executionTarget: z.ZodOptional<z.ZodLiteral<"TENANT_DEVICE">>;
|
|
2287
2329
|
sourceArtifactId: z.ZodUUID;
|
|
2288
2330
|
sourceRepresentationId: z.ZodUUID;
|
|
2289
2331
|
sourceChecksumSha256: z.ZodString;
|
|
@@ -2699,6 +2741,7 @@ export declare const VisualLayerRenderManifestSchema: z.ZodUnion<readonly [z.Zod
|
|
|
2699
2741
|
LIVE: "LIVE";
|
|
2700
2742
|
TEST_ONLY: "TEST_ONLY";
|
|
2701
2743
|
}>;
|
|
2744
|
+
executionTarget: z.ZodOptional<z.ZodLiteral<"TENANT_DEVICE">>;
|
|
2702
2745
|
sourceArtifactId: z.ZodUUID;
|
|
2703
2746
|
sourceRepresentationId: z.ZodUUID;
|
|
2704
2747
|
sourceChecksumSha256: z.ZodString;
|
|
@@ -6,6 +6,7 @@ export declare const VisualSequenceScopeSchema: z.ZodObject<{
|
|
|
6
6
|
export declare const RegisterVisualSequenceSchema: z.ZodObject<{
|
|
7
7
|
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
8
8
|
projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
|
|
9
|
+
deviceId: z.ZodOptional<z.ZodUUID>;
|
|
9
10
|
productionId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
|
|
10
11
|
idempotencyKey: z.ZodString;
|
|
11
12
|
width: z.ZodInt;
|
|
@@ -17,6 +18,26 @@ export declare const VisualSequenceGetSchema: z.ZodObject<{
|
|
|
17
18
|
projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
|
|
18
19
|
artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
|
|
19
20
|
}, z.core.$strict>;
|
|
21
|
+
/** 原同步注册不接受设备选择;设备目标由独立的原生登记任务消费。 */
|
|
22
|
+
export declare const LegacyVisualSequenceRegistrationSchema: z.ZodObject<{
|
|
23
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
24
|
+
projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
|
|
25
|
+
idempotencyKey: z.ZodString;
|
|
26
|
+
width: z.ZodInt;
|
|
27
|
+
height: z.ZodInt;
|
|
28
|
+
productionId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
|
|
29
|
+
frameArtifactIds: z.ZodArray<z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">>;
|
|
30
|
+
}, z.core.$strict>;
|
|
31
|
+
/** 设备受理冻结最终原生身份,真正可用仍以序列 Owner 的登记结果为准。 */
|
|
32
|
+
export declare const VisualSequenceRegistrationAdmissionSchema: z.ZodObject<{
|
|
33
|
+
semanticStatus: z.ZodLiteral<"ACCEPTED">;
|
|
34
|
+
requestId: z.ZodUUID;
|
|
35
|
+
runtimeJobId: z.ZodUUID;
|
|
36
|
+
runtimeProductionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
37
|
+
operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
|
|
38
|
+
artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
|
|
39
|
+
representationId: z.ZodUUID;
|
|
40
|
+
}, z.core.$strict>;
|
|
20
41
|
export declare const VisualSequenceViewSchema: z.ZodObject<{
|
|
21
42
|
sequence: z.ZodObject<{
|
|
22
43
|
schemaVersion: z.ZodLiteral<1>;
|
|
@@ -117,5 +138,6 @@ export declare const VisualSequenceManifestSchema: z.ZodObject<{
|
|
|
117
138
|
}, z.core.$strict>>;
|
|
118
139
|
}, z.core.$strict>;
|
|
119
140
|
export type RegisterVisualSequence = z.infer<typeof RegisterVisualSequenceSchema>;
|
|
141
|
+
export type VisualSequenceRegistrationAdmission = z.infer<typeof VisualSequenceRegistrationAdmissionSchema>;
|
|
120
142
|
export type VisualSequenceView = z.infer<typeof VisualSequenceViewSchema>;
|
|
121
143
|
export type VisualSequenceGet = z.infer<typeof VisualSequenceGetSchema>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** Workspace 是 tenant 的公开导航投影,不能成为第二套租户或权限模型。 */
|
|
3
|
+
export declare const WorkspaceScopeSchema: z.ZodObject<{
|
|
4
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
5
|
+
}, z.core.$strict>;
|
|
6
|
+
export declare const WorkspaceViewSchema: z.ZodObject<{
|
|
7
|
+
id: z.ZodUUID;
|
|
8
|
+
displayName: z.ZodString;
|
|
9
|
+
}, z.core.$strict>;
|
|
10
|
+
/** 当前授权的最小调用者投影;固定服务来源用于复用本机 Owner,不返回任何令牌。 */
|
|
11
|
+
export declare const WorkspaceCallerSchema: z.ZodObject<{
|
|
12
|
+
tenantId: z.ZodUUID;
|
|
13
|
+
principalId: z.ZodUUID;
|
|
14
|
+
serverOrigin: z.ZodURL;
|
|
15
|
+
skill: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
16
|
+
status: z.ZodLiteral<"AVAILABLE">;
|
|
17
|
+
url: z.ZodURL;
|
|
18
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
19
|
+
status: z.ZodEnum<{
|
|
20
|
+
UNAVAILABLE: "UNAVAILABLE";
|
|
21
|
+
UNCONFIGURED: "UNCONFIGURED";
|
|
22
|
+
}>;
|
|
23
|
+
url: z.ZodNull;
|
|
24
|
+
}, z.core.$strict>], "status">;
|
|
25
|
+
}, z.core.$strict>;
|
|
26
|
+
export declare const WorkspacePageSchema: z.ZodObject<{
|
|
27
|
+
items: z.ZodArray<z.ZodObject<{
|
|
28
|
+
id: z.ZodUUID;
|
|
29
|
+
displayName: z.ZodString;
|
|
30
|
+
}, z.core.$strict>>;
|
|
31
|
+
possiblyTruncated: z.ZodBoolean;
|
|
32
|
+
}, z.core.$strict>;
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
import type { InterfaceSemanticStatus } from "../contracts/
|
|
1
|
+
import type { 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
|
+
constructor(code: string, semanticStatus: InterfaceSemanticStatus, outcome: "NO_WRITE" | "UNKNOWN" | "REJECTED", status?: number | null, issues?: readonly SdkInputIssue[]);
|
|
8
13
|
}
|
|
9
|
-
export declare function sdkInputError(): never;
|
|
14
|
+
export declare function sdkInputError(issues?: readonly SdkInputIssue[]): never;
|
|
@@ -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;
|
|
@@ -31,25 +31,96 @@ 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
|
+
label: string;
|
|
45
|
+
platform: {
|
|
46
|
+
os: "darwin" | "linux" | "win32";
|
|
47
|
+
architecture: "x64" | "arm64";
|
|
48
|
+
};
|
|
49
|
+
runtimeVersion: string;
|
|
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
|
+
deviceExecution?: {
|
|
80
|
+
mode: "tenant-device-only";
|
|
81
|
+
deviceId: string;
|
|
82
|
+
runtimeJobId: string;
|
|
83
|
+
validationMode?: "TENANT_TRUSTED_VALIDATOR" | undefined;
|
|
84
|
+
} | undefined;
|
|
85
|
+
} | {
|
|
86
|
+
semanticStatus: "ACCEPTED";
|
|
87
|
+
renderId: string;
|
|
88
|
+
operationId: string & z.core.$brand<"OperationId">;
|
|
89
|
+
productionId: string;
|
|
90
|
+
timelineVersionId: string;
|
|
91
|
+
timelineFingerprint: string;
|
|
92
|
+
executionClass: "LIVE" | "TEST_ONLY";
|
|
93
|
+
manifestFingerprint: string;
|
|
94
|
+
productionRevision: number;
|
|
95
|
+
selectionId: string;
|
|
96
|
+
selectionVersion: number;
|
|
97
|
+
profileId: "FINAL_H264_1080P_V1" | "FINAL_H264_720P_V1" | "FINAL_H264_480P_V1";
|
|
98
|
+
placement: {
|
|
99
|
+
target: "DEVICE" | "SERVER";
|
|
100
|
+
reason: "OFFLINE" | "UNQUALIFIED" | "BUSY" | "LOCAL_AVAILABLE" | "CLOUD_ONLY" | "LEASE_RECOVERY";
|
|
101
|
+
policy: {
|
|
102
|
+
mode: "local-only";
|
|
103
|
+
deviceId: string;
|
|
104
|
+
} | {
|
|
105
|
+
mode: "local-preferred";
|
|
106
|
+
deviceId: string;
|
|
107
|
+
} | {
|
|
108
|
+
mode: "cloud-only";
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
deviceExecution?: {
|
|
112
|
+
mode: "tenant-device-only";
|
|
113
|
+
deviceId: string;
|
|
114
|
+
runtimeJobId: string;
|
|
115
|
+
validationMode?: "TENANT_TRUSTED_VALIDATOR" | undefined;
|
|
116
|
+
} | undefined;
|
|
117
|
+
} | {
|
|
118
|
+
semanticStatus: "SUCCESS";
|
|
119
|
+
} | null;
|
|
46
120
|
}>;
|
|
47
121
|
revokeDevice(input: z.infer<typeof RevokeLocalDeviceSchema>, signal?: AbortSignal): Promise<{
|
|
48
122
|
semanticStatus: "SUCCESS";
|
|
49
123
|
}>;
|
|
50
|
-
revokeGrant(input: z.infer<typeof RevokeLocalDeviceGrantSchema>, signal?: AbortSignal): Promise<{
|
|
51
|
-
semanticStatus: "SUCCESS";
|
|
52
|
-
}>;
|
|
53
124
|
startPreview(input: z.infer<typeof StartLocalPreviewSchema>, signal?: AbortSignal): Promise<{
|
|
54
125
|
semanticStatus: "ACCEPTED";
|
|
55
126
|
renderId: string;
|
|
@@ -73,5 +144,44 @@ export declare class NativeStudioLocalDeviceClient {
|
|
|
73
144
|
mode: "cloud-only";
|
|
74
145
|
};
|
|
75
146
|
};
|
|
147
|
+
deviceExecution?: {
|
|
148
|
+
mode: "tenant-device-only";
|
|
149
|
+
deviceId: string;
|
|
150
|
+
runtimeJobId: string;
|
|
151
|
+
validationMode?: "TENANT_TRUSTED_VALIDATOR" | undefined;
|
|
152
|
+
} | undefined;
|
|
153
|
+
}>;
|
|
154
|
+
startFinal(input: z.infer<typeof StartLocalFinalRenderSchema>, signal?: AbortSignal): Promise<{
|
|
155
|
+
semanticStatus: "ACCEPTED";
|
|
156
|
+
renderId: string;
|
|
157
|
+
operationId: string & z.core.$brand<"OperationId">;
|
|
158
|
+
productionId: string;
|
|
159
|
+
timelineVersionId: string;
|
|
160
|
+
timelineFingerprint: string;
|
|
161
|
+
executionClass: "LIVE" | "TEST_ONLY";
|
|
162
|
+
manifestFingerprint: string;
|
|
163
|
+
productionRevision: number;
|
|
164
|
+
selectionId: string;
|
|
165
|
+
selectionVersion: number;
|
|
166
|
+
profileId: "FINAL_H264_1080P_V1" | "FINAL_H264_720P_V1" | "FINAL_H264_480P_V1";
|
|
167
|
+
placement: {
|
|
168
|
+
target: "DEVICE" | "SERVER";
|
|
169
|
+
reason: "OFFLINE" | "UNQUALIFIED" | "BUSY" | "LOCAL_AVAILABLE" | "CLOUD_ONLY" | "LEASE_RECOVERY";
|
|
170
|
+
policy: {
|
|
171
|
+
mode: "local-only";
|
|
172
|
+
deviceId: string;
|
|
173
|
+
} | {
|
|
174
|
+
mode: "local-preferred";
|
|
175
|
+
deviceId: string;
|
|
176
|
+
} | {
|
|
177
|
+
mode: "cloud-only";
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
deviceExecution?: {
|
|
181
|
+
mode: "tenant-device-only";
|
|
182
|
+
deviceId: string;
|
|
183
|
+
runtimeJobId: string;
|
|
184
|
+
validationMode?: "TENANT_TRUSTED_VALIDATOR" | undefined;
|
|
185
|
+
} | undefined;
|
|
76
186
|
}>;
|
|
77
187
|
}
|