@nativestudio/cli 0.3.0-rc.1 → 0.3.0-rc.4
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 +7 -7
- package/README.md +45 -4
- package/components/runtime.json +3 -3
- package/components/runtime.tgz +0 -0
- package/dist/_chunks/{chunk-25EDDZQA.js → chunk-6LU6GJKW.js} +1 -1
- package/dist/_chunks/chunk-CA54SKBO.js +1 -0
- package/dist/_chunks/chunk-D533YC7J.js +1 -0
- package/dist/_chunks/{chunk-G42IS5JF.js → chunk-DXJQWTLG.js} +1 -1
- package/dist/_chunks/{chunk-MSOMVWKN.js → chunk-FU3524Z6.js} +1 -1
- package/dist/_chunks/chunk-JLOHTDP6.js +1 -0
- package/dist/_chunks/chunk-KB2GVAN7.js +1 -0
- package/dist/_chunks/{chunk-RUMDDTON.js → chunk-KNFUMWDY.js} +1 -1
- package/dist/_chunks/chunk-PBEHCYR7.js +1 -0
- package/dist/_chunks/chunk-RNOIRNC3.js +1 -0
- package/dist/_chunks/chunk-VDQOSVZY.js +1 -0
- package/dist/_chunks/chunk-XZP6RNGC.js +1 -0
- package/dist/_chunks/chunk-YKOJPJZR.js +1 -0
- package/dist/_chunks/{files-TBJVDQWU.js → files-TTIQ7LYJ.js} +1 -1
- package/dist/_chunks/local-main-GSL2FQOG.js +1 -0
- package/dist/_chunks/local-mcp-VYHO4ZE3.js +1 -0
- package/dist/_chunks/{main-4SNF5EKE.js → main-KLXOK7QK.js} +2 -2
- package/dist/_chunks/mcp-P7W623FE.js +1 -0
- package/dist/_chunks/oauth-WJ36KWAC.js +1 -0
- package/dist/_chunks/project-connect-W7V3OALV.js +1 -0
- package/dist/_chunks/render-main-ZW6UJHGN.js +1 -0
- package/dist/_chunks/src-BXLFLNRG.js +1 -0
- package/dist/_chunks/{stdio-main-JEADWO7U.js → stdio-main-4Z2JVCMO.js} +1 -1
- package/dist/_types/cli/local/desktop-contract.d.ts +1455 -0
- package/dist/_types/cli/local/desktop-device-contract.d.ts +1165 -0
- package/dist/_types/cli/local/desktop-device-navigation.d.ts +3 -0
- package/dist/_types/cli/local/desktop-device-owner.d.ts +275 -0
- package/dist/_types/cli/local/desktop-device-state.d.ts +230 -0
- package/dist/_types/cli/local/desktop-owner.d.ts +554 -1
- package/dist/_types/cli/local/ledger.d.ts +62 -10
- package/dist/_types/cli/local/manager.d.ts +515 -22
- package/dist/_types/cli/local/mcp-tools.d.ts +77 -14
- package/dist/_types/cli/local/project-render-tools.d.ts +522 -0
- package/dist/_types/cli/local/releases.d.ts +11 -2
- package/dist/_types/cli/local-management.d.ts +4 -0
- package/dist/_types/cli/local-navigation.d.ts +1 -0
- package/dist/_types/contracts/delivery-manifest.d.ts +63 -27
- package/dist/_types/contracts/delivery-operations.d.ts +21 -9
- package/dist/_types/contracts/device-render.d.ts +10 -0
- package/dist/_types/contracts/exploration-recommendation.d.ts +84 -36
- package/dist/_types/contracts/final-render.d.ts +9 -0
- package/dist/_types/contracts/index.d.ts +1 -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 +733 -46
- package/dist/_types/contracts/local-execution/device.d.ts +10 -2
- package/dist/_types/contracts/local-execution/index.d.ts +6 -0
- package/dist/_types/contracts/local-execution/ipc.d.ts +1762 -40
- package/dist/_types/contracts/local-execution/lifecycle.d.ts +76 -6
- package/dist/_types/contracts/local-execution/local-navigation.d.ts +115 -13
- package/dist/_types/contracts/local-execution/management.d.ts +394 -0
- package/dist/_types/contracts/local-execution/media-recipe.d.ts +203 -0
- package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
- package/dist/_types/contracts/local-execution/preview.d.ts +7607 -159
- package/dist/_types/contracts/local-execution/work.d.ts +7674 -294
- package/dist/_types/contracts/local-execution/workspace.d.ts +136 -0
- package/dist/_types/contracts/programmatic-exploration.d.ts +42 -18
- package/dist/_types/contracts/repair-strategy.d.ts +42 -18
- package/dist/_types/contracts/review-intelligence-final-output.d.ts +42 -18
- package/dist/_types/contracts/review-intelligence.d.ts +84 -36
- package/dist/_types/contracts/rough-cut-manifest.d.ts +7 -3
- package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
- package/dist/_types/contracts/rough-cut-review.d.ts +126 -54
- package/dist/_types/contracts/rough-cut.d.ts +85 -32
- package/dist/_types/contracts/visual-layer-render.d.ts +21 -9
- package/dist/_types/sdk/local-runtime/device-client.d.ts +138 -2
- package/dist/_types/sdk/local-runtime/workspace.d.ts +181 -0
- package/dist/_types/sdk/local-runtime-client.d.ts +1298 -60
- 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 +1 -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-HLKERZIE.js +0 -1
- package/dist/_chunks/chunk-QC7RLTGU.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/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
|
@@ -0,0 +1,394 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** Exact saved member commands; receipt lookup never dispatches them. */
|
|
3
|
+
export declare const LocalManagementCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4
|
+
kind: z.ZodLiteral<"ENROLL">;
|
|
5
|
+
input: z.ZodObject<{
|
|
6
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
7
|
+
requestId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
8
|
+
label: z.ZodString;
|
|
9
|
+
platform: z.ZodObject<{
|
|
10
|
+
os: z.ZodEnum<{
|
|
11
|
+
darwin: "darwin";
|
|
12
|
+
linux: "linux";
|
|
13
|
+
win32: "win32";
|
|
14
|
+
}>;
|
|
15
|
+
architecture: z.ZodEnum<{
|
|
16
|
+
x64: "x64";
|
|
17
|
+
arm64: "arm64";
|
|
18
|
+
}>;
|
|
19
|
+
}, z.core.$strict>;
|
|
20
|
+
runtimeVersion: z.ZodString;
|
|
21
|
+
publicKey: z.ZodObject<{
|
|
22
|
+
kty: z.ZodLiteral<"EC">;
|
|
23
|
+
crv: z.ZodLiteral<"P-256">;
|
|
24
|
+
x: z.ZodString;
|
|
25
|
+
y: z.ZodString;
|
|
26
|
+
}, z.core.$strict>;
|
|
27
|
+
}, z.core.$strict>;
|
|
28
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
29
|
+
kind: z.ZodLiteral<"GRANT">;
|
|
30
|
+
input: z.ZodObject<{
|
|
31
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
32
|
+
projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
33
|
+
requestId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
34
|
+
executionPolicy: z.ZodOptional<z.ZodLiteral<"DEVICE_ONLY">>;
|
|
35
|
+
deviceId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
36
|
+
deviceRevision: z.ZodInt;
|
|
37
|
+
expectedRevision: z.ZodInt;
|
|
38
|
+
expiresAt: z.ZodISODateTime;
|
|
39
|
+
capability: z.ZodEnum<{
|
|
40
|
+
ROUGH_CUT_PREVIEW_V1: "ROUGH_CUT_PREVIEW_V1";
|
|
41
|
+
STUDIO_MEDIA_V2: "STUDIO_MEDIA_V2";
|
|
42
|
+
}>;
|
|
43
|
+
}, z.core.$strict>;
|
|
44
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
45
|
+
kind: z.ZodLiteral<"REVOKE_GRANT">;
|
|
46
|
+
input: z.ZodObject<{
|
|
47
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
48
|
+
projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
49
|
+
grantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
50
|
+
requestId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
51
|
+
expectedRevision: z.ZodInt;
|
|
52
|
+
}, z.core.$strict>;
|
|
53
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
54
|
+
kind: z.ZodLiteral<"PREVIEW">;
|
|
55
|
+
input: z.ZodObject<{
|
|
56
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
57
|
+
idempotencyKey: z.ZodString;
|
|
58
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
59
|
+
expectedProductionRevision: z.ZodInt;
|
|
60
|
+
timelineVersionId: z.ZodUUID;
|
|
61
|
+
profileId: z.ZodEnum<{
|
|
62
|
+
PREVIEW_H264_480P_V1: "PREVIEW_H264_480P_V1";
|
|
63
|
+
PREVIEW_H264_720P_V1: "PREVIEW_H264_720P_V1";
|
|
64
|
+
PREVIEW_H264_1080P_V1: "PREVIEW_H264_1080P_V1";
|
|
65
|
+
}>;
|
|
66
|
+
timelineFingerprint: z.ZodString;
|
|
67
|
+
placement: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
68
|
+
mode: z.ZodLiteral<"local-only">;
|
|
69
|
+
deviceId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
70
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
71
|
+
mode: z.ZodLiteral<"local-preferred">;
|
|
72
|
+
deviceId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
73
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
74
|
+
mode: z.ZodLiteral<"cloud-only">;
|
|
75
|
+
}, z.core.$strict>], "mode">;
|
|
76
|
+
localProfile: z.ZodOptional<z.ZodLiteral<"STUDIO_MEDIA_V2">>;
|
|
77
|
+
}, z.core.$strict>;
|
|
78
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
79
|
+
kind: z.ZodLiteral<"FINAL_RENDER">;
|
|
80
|
+
input: z.ZodObject<{
|
|
81
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
82
|
+
idempotencyKey: z.ZodString;
|
|
83
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
84
|
+
expectedProductionRevision: z.ZodInt;
|
|
85
|
+
timelineVersionId: z.ZodUUID;
|
|
86
|
+
profileId: z.ZodEnum<{
|
|
87
|
+
FINAL_H264_1080P_V1: "FINAL_H264_1080P_V1";
|
|
88
|
+
FINAL_H264_720P_V1: "FINAL_H264_720P_V1";
|
|
89
|
+
FINAL_H264_480P_V1: "FINAL_H264_480P_V1";
|
|
90
|
+
}>;
|
|
91
|
+
timelineFingerprint: z.ZodString;
|
|
92
|
+
selectionId: z.ZodUUID;
|
|
93
|
+
audioPolicy: z.ZodEnum<{
|
|
94
|
+
SILENT: "SILENT";
|
|
95
|
+
MIXED: "MIXED";
|
|
96
|
+
}>;
|
|
97
|
+
captionPolicy: z.ZodEnum<{
|
|
98
|
+
NONE: "NONE";
|
|
99
|
+
BURN_IN: "BURN_IN";
|
|
100
|
+
}>;
|
|
101
|
+
expectedFinalReadyVersion: z.ZodInt;
|
|
102
|
+
placement: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
103
|
+
mode: z.ZodLiteral<"local-only">;
|
|
104
|
+
deviceId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
105
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
106
|
+
mode: z.ZodLiteral<"local-preferred">;
|
|
107
|
+
deviceId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
108
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
109
|
+
mode: z.ZodLiteral<"cloud-only">;
|
|
110
|
+
}, z.core.$strict>], "mode">;
|
|
111
|
+
}, z.core.$strict>;
|
|
112
|
+
}, z.core.$strict>], "kind">;
|
|
113
|
+
export declare const LocalManagementResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
114
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
115
|
+
publicKey: z.ZodObject<{
|
|
116
|
+
kty: z.ZodLiteral<"EC">;
|
|
117
|
+
crv: z.ZodLiteral<"P-256">;
|
|
118
|
+
x: z.ZodString;
|
|
119
|
+
y: z.ZodString;
|
|
120
|
+
}, z.core.$strict>;
|
|
121
|
+
label: z.ZodString;
|
|
122
|
+
platform: z.ZodObject<{
|
|
123
|
+
os: z.ZodEnum<{
|
|
124
|
+
darwin: "darwin";
|
|
125
|
+
linux: "linux";
|
|
126
|
+
win32: "win32";
|
|
127
|
+
}>;
|
|
128
|
+
architecture: z.ZodEnum<{
|
|
129
|
+
x64: "x64";
|
|
130
|
+
arm64: "arm64";
|
|
131
|
+
}>;
|
|
132
|
+
}, z.core.$strict>;
|
|
133
|
+
runtimeVersion: z.ZodString;
|
|
134
|
+
deviceId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
135
|
+
revision: z.ZodInt;
|
|
136
|
+
enrolledByPrincipalId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
137
|
+
createdAt: z.ZodISODateTime;
|
|
138
|
+
verifiedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
139
|
+
revokedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
140
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
141
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
142
|
+
projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
143
|
+
capability: z.ZodEnum<{
|
|
144
|
+
ROUGH_CUT_PREVIEW_V1: "ROUGH_CUT_PREVIEW_V1";
|
|
145
|
+
STUDIO_MEDIA_V2: "STUDIO_MEDIA_V2";
|
|
146
|
+
}>;
|
|
147
|
+
expiresAt: z.ZodISODateTime;
|
|
148
|
+
deviceId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
149
|
+
deviceRevision: z.ZodInt;
|
|
150
|
+
executionPolicy: z.ZodOptional<z.ZodLiteral<"DEVICE_ONLY">>;
|
|
151
|
+
grantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
152
|
+
revision: z.ZodInt;
|
|
153
|
+
approvedByPrincipalId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
154
|
+
createdAt: z.ZodISODateTime;
|
|
155
|
+
revokedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
156
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
157
|
+
deviceExecution: z.ZodOptional<z.ZodObject<{
|
|
158
|
+
mode: z.ZodLiteral<"tenant-device-only">;
|
|
159
|
+
deviceId: z.ZodUUID;
|
|
160
|
+
runtimeJobId: z.ZodUUID;
|
|
161
|
+
}, z.core.$strict>>;
|
|
162
|
+
semanticStatus: z.ZodLiteral<"ACCEPTED">;
|
|
163
|
+
renderId: z.ZodUUID;
|
|
164
|
+
operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
|
|
165
|
+
productionId: z.ZodUUID;
|
|
166
|
+
timelineVersionId: z.ZodUUID;
|
|
167
|
+
timelineFingerprint: z.ZodString;
|
|
168
|
+
executionClass: z.ZodEnum<{
|
|
169
|
+
LIVE: "LIVE";
|
|
170
|
+
TEST_ONLY: "TEST_ONLY";
|
|
171
|
+
}>;
|
|
172
|
+
manifestFingerprint: z.ZodString;
|
|
173
|
+
productionRevision: z.ZodInt;
|
|
174
|
+
placement: z.ZodObject<{
|
|
175
|
+
target: z.ZodEnum<{
|
|
176
|
+
DEVICE: "DEVICE";
|
|
177
|
+
SERVER: "SERVER";
|
|
178
|
+
}>;
|
|
179
|
+
reason: z.ZodEnum<{
|
|
180
|
+
OFFLINE: "OFFLINE";
|
|
181
|
+
UNQUALIFIED: "UNQUALIFIED";
|
|
182
|
+
BUSY: "BUSY";
|
|
183
|
+
LOCAL_AVAILABLE: "LOCAL_AVAILABLE";
|
|
184
|
+
CLOUD_ONLY: "CLOUD_ONLY";
|
|
185
|
+
LEASE_RECOVERY: "LEASE_RECOVERY";
|
|
186
|
+
}>;
|
|
187
|
+
policy: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
188
|
+
mode: z.ZodLiteral<"local-only">;
|
|
189
|
+
deviceId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
190
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
191
|
+
mode: z.ZodLiteral<"local-preferred">;
|
|
192
|
+
deviceId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
193
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
194
|
+
mode: z.ZodLiteral<"cloud-only">;
|
|
195
|
+
}, z.core.$strict>], "mode">;
|
|
196
|
+
}, z.core.$strict>;
|
|
197
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
198
|
+
deviceExecution: z.ZodOptional<z.ZodObject<{
|
|
199
|
+
mode: z.ZodLiteral<"tenant-device-only">;
|
|
200
|
+
deviceId: z.ZodUUID;
|
|
201
|
+
runtimeJobId: z.ZodUUID;
|
|
202
|
+
}, z.core.$strict>>;
|
|
203
|
+
semanticStatus: z.ZodLiteral<"ACCEPTED">;
|
|
204
|
+
renderId: z.ZodUUID;
|
|
205
|
+
operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
|
|
206
|
+
productionId: z.ZodUUID;
|
|
207
|
+
timelineVersionId: z.ZodUUID;
|
|
208
|
+
timelineFingerprint: z.ZodString;
|
|
209
|
+
executionClass: z.ZodEnum<{
|
|
210
|
+
LIVE: "LIVE";
|
|
211
|
+
TEST_ONLY: "TEST_ONLY";
|
|
212
|
+
}>;
|
|
213
|
+
manifestFingerprint: z.ZodString;
|
|
214
|
+
productionRevision: z.ZodInt;
|
|
215
|
+
selectionId: z.ZodUUID;
|
|
216
|
+
selectionVersion: z.ZodInt;
|
|
217
|
+
profileId: z.ZodEnum<{
|
|
218
|
+
FINAL_H264_1080P_V1: "FINAL_H264_1080P_V1";
|
|
219
|
+
FINAL_H264_720P_V1: "FINAL_H264_720P_V1";
|
|
220
|
+
FINAL_H264_480P_V1: "FINAL_H264_480P_V1";
|
|
221
|
+
}>;
|
|
222
|
+
placement: z.ZodObject<{
|
|
223
|
+
target: z.ZodEnum<{
|
|
224
|
+
DEVICE: "DEVICE";
|
|
225
|
+
SERVER: "SERVER";
|
|
226
|
+
}>;
|
|
227
|
+
reason: z.ZodEnum<{
|
|
228
|
+
OFFLINE: "OFFLINE";
|
|
229
|
+
UNQUALIFIED: "UNQUALIFIED";
|
|
230
|
+
BUSY: "BUSY";
|
|
231
|
+
LOCAL_AVAILABLE: "LOCAL_AVAILABLE";
|
|
232
|
+
CLOUD_ONLY: "CLOUD_ONLY";
|
|
233
|
+
LEASE_RECOVERY: "LEASE_RECOVERY";
|
|
234
|
+
}>;
|
|
235
|
+
policy: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
236
|
+
mode: z.ZodLiteral<"local-only">;
|
|
237
|
+
deviceId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
238
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
239
|
+
mode: z.ZodLiteral<"local-preferred">;
|
|
240
|
+
deviceId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
241
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
242
|
+
mode: z.ZodLiteral<"cloud-only">;
|
|
243
|
+
}, z.core.$strict>], "mode">;
|
|
244
|
+
}, z.core.$strict>;
|
|
245
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
246
|
+
semanticStatus: z.ZodLiteral<"SUCCESS">;
|
|
247
|
+
}, z.core.$strict>]>;
|
|
248
|
+
export declare const LocalManagementReceiptSchema: z.ZodObject<{
|
|
249
|
+
fingerprint: z.ZodString;
|
|
250
|
+
result: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
251
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
252
|
+
publicKey: z.ZodObject<{
|
|
253
|
+
kty: z.ZodLiteral<"EC">;
|
|
254
|
+
crv: z.ZodLiteral<"P-256">;
|
|
255
|
+
x: z.ZodString;
|
|
256
|
+
y: z.ZodString;
|
|
257
|
+
}, z.core.$strict>;
|
|
258
|
+
label: z.ZodString;
|
|
259
|
+
platform: z.ZodObject<{
|
|
260
|
+
os: z.ZodEnum<{
|
|
261
|
+
darwin: "darwin";
|
|
262
|
+
linux: "linux";
|
|
263
|
+
win32: "win32";
|
|
264
|
+
}>;
|
|
265
|
+
architecture: z.ZodEnum<{
|
|
266
|
+
x64: "x64";
|
|
267
|
+
arm64: "arm64";
|
|
268
|
+
}>;
|
|
269
|
+
}, z.core.$strict>;
|
|
270
|
+
runtimeVersion: z.ZodString;
|
|
271
|
+
deviceId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
272
|
+
revision: z.ZodInt;
|
|
273
|
+
enrolledByPrincipalId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
274
|
+
createdAt: z.ZodISODateTime;
|
|
275
|
+
verifiedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
276
|
+
revokedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
277
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
278
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
279
|
+
projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
280
|
+
capability: z.ZodEnum<{
|
|
281
|
+
ROUGH_CUT_PREVIEW_V1: "ROUGH_CUT_PREVIEW_V1";
|
|
282
|
+
STUDIO_MEDIA_V2: "STUDIO_MEDIA_V2";
|
|
283
|
+
}>;
|
|
284
|
+
expiresAt: z.ZodISODateTime;
|
|
285
|
+
deviceId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
286
|
+
deviceRevision: z.ZodInt;
|
|
287
|
+
executionPolicy: z.ZodOptional<z.ZodLiteral<"DEVICE_ONLY">>;
|
|
288
|
+
grantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
289
|
+
revision: z.ZodInt;
|
|
290
|
+
approvedByPrincipalId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
291
|
+
createdAt: z.ZodISODateTime;
|
|
292
|
+
revokedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
293
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
294
|
+
deviceExecution: z.ZodOptional<z.ZodObject<{
|
|
295
|
+
mode: z.ZodLiteral<"tenant-device-only">;
|
|
296
|
+
deviceId: z.ZodUUID;
|
|
297
|
+
runtimeJobId: z.ZodUUID;
|
|
298
|
+
}, z.core.$strict>>;
|
|
299
|
+
semanticStatus: z.ZodLiteral<"ACCEPTED">;
|
|
300
|
+
renderId: z.ZodUUID;
|
|
301
|
+
operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
|
|
302
|
+
productionId: z.ZodUUID;
|
|
303
|
+
timelineVersionId: z.ZodUUID;
|
|
304
|
+
timelineFingerprint: z.ZodString;
|
|
305
|
+
executionClass: z.ZodEnum<{
|
|
306
|
+
LIVE: "LIVE";
|
|
307
|
+
TEST_ONLY: "TEST_ONLY";
|
|
308
|
+
}>;
|
|
309
|
+
manifestFingerprint: z.ZodString;
|
|
310
|
+
productionRevision: z.ZodInt;
|
|
311
|
+
placement: z.ZodObject<{
|
|
312
|
+
target: z.ZodEnum<{
|
|
313
|
+
DEVICE: "DEVICE";
|
|
314
|
+
SERVER: "SERVER";
|
|
315
|
+
}>;
|
|
316
|
+
reason: z.ZodEnum<{
|
|
317
|
+
OFFLINE: "OFFLINE";
|
|
318
|
+
UNQUALIFIED: "UNQUALIFIED";
|
|
319
|
+
BUSY: "BUSY";
|
|
320
|
+
LOCAL_AVAILABLE: "LOCAL_AVAILABLE";
|
|
321
|
+
CLOUD_ONLY: "CLOUD_ONLY";
|
|
322
|
+
LEASE_RECOVERY: "LEASE_RECOVERY";
|
|
323
|
+
}>;
|
|
324
|
+
policy: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
325
|
+
mode: z.ZodLiteral<"local-only">;
|
|
326
|
+
deviceId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
327
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
328
|
+
mode: z.ZodLiteral<"local-preferred">;
|
|
329
|
+
deviceId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
330
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
331
|
+
mode: z.ZodLiteral<"cloud-only">;
|
|
332
|
+
}, z.core.$strict>], "mode">;
|
|
333
|
+
}, z.core.$strict>;
|
|
334
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
335
|
+
deviceExecution: z.ZodOptional<z.ZodObject<{
|
|
336
|
+
mode: z.ZodLiteral<"tenant-device-only">;
|
|
337
|
+
deviceId: z.ZodUUID;
|
|
338
|
+
runtimeJobId: z.ZodUUID;
|
|
339
|
+
}, z.core.$strict>>;
|
|
340
|
+
semanticStatus: z.ZodLiteral<"ACCEPTED">;
|
|
341
|
+
renderId: z.ZodUUID;
|
|
342
|
+
operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
|
|
343
|
+
productionId: z.ZodUUID;
|
|
344
|
+
timelineVersionId: z.ZodUUID;
|
|
345
|
+
timelineFingerprint: z.ZodString;
|
|
346
|
+
executionClass: z.ZodEnum<{
|
|
347
|
+
LIVE: "LIVE";
|
|
348
|
+
TEST_ONLY: "TEST_ONLY";
|
|
349
|
+
}>;
|
|
350
|
+
manifestFingerprint: z.ZodString;
|
|
351
|
+
productionRevision: z.ZodInt;
|
|
352
|
+
selectionId: z.ZodUUID;
|
|
353
|
+
selectionVersion: z.ZodInt;
|
|
354
|
+
profileId: z.ZodEnum<{
|
|
355
|
+
FINAL_H264_1080P_V1: "FINAL_H264_1080P_V1";
|
|
356
|
+
FINAL_H264_720P_V1: "FINAL_H264_720P_V1";
|
|
357
|
+
FINAL_H264_480P_V1: "FINAL_H264_480P_V1";
|
|
358
|
+
}>;
|
|
359
|
+
placement: z.ZodObject<{
|
|
360
|
+
target: z.ZodEnum<{
|
|
361
|
+
DEVICE: "DEVICE";
|
|
362
|
+
SERVER: "SERVER";
|
|
363
|
+
}>;
|
|
364
|
+
reason: z.ZodEnum<{
|
|
365
|
+
OFFLINE: "OFFLINE";
|
|
366
|
+
UNQUALIFIED: "UNQUALIFIED";
|
|
367
|
+
BUSY: "BUSY";
|
|
368
|
+
LOCAL_AVAILABLE: "LOCAL_AVAILABLE";
|
|
369
|
+
CLOUD_ONLY: "CLOUD_ONLY";
|
|
370
|
+
LEASE_RECOVERY: "LEASE_RECOVERY";
|
|
371
|
+
}>;
|
|
372
|
+
policy: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
373
|
+
mode: z.ZodLiteral<"local-only">;
|
|
374
|
+
deviceId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
375
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
376
|
+
mode: z.ZodLiteral<"local-preferred">;
|
|
377
|
+
deviceId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
378
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
379
|
+
mode: z.ZodLiteral<"cloud-only">;
|
|
380
|
+
}, z.core.$strict>], "mode">;
|
|
381
|
+
}, z.core.$strict>;
|
|
382
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
383
|
+
semanticStatus: z.ZodLiteral<"SUCCESS">;
|
|
384
|
+
}, z.core.$strict>]>>;
|
|
385
|
+
}, z.core.$strict>;
|
|
386
|
+
export type LocalManagementCommand = z.infer<typeof LocalManagementCommandSchema>;
|
|
387
|
+
export type LocalManagementReceipt = z.infer<typeof LocalManagementReceiptSchema>;
|
|
388
|
+
export declare const localManagementRoutes: {
|
|
389
|
+
readonly ENROLL: "devices/enroll";
|
|
390
|
+
readonly GRANT: "devices/grant";
|
|
391
|
+
readonly REVOKE_GRANT: "devices/revoke-grant";
|
|
392
|
+
readonly PREVIEW: "previews";
|
|
393
|
+
readonly FINAL_RENDER: "final-renders";
|
|
394
|
+
};
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const LocalMediaRecipeSchema: z.ZodObject<{
|
|
3
|
+
protocol: z.ZodLiteral<"NVS_RESOLVED_MEDIA_RECIPE_V2">;
|
|
4
|
+
family: z.ZodEnum<{
|
|
5
|
+
ROUGH_CUT_RENDER: "ROUGH_CUT_RENDER";
|
|
6
|
+
FINAL_RENDER: "FINAL_RENDER";
|
|
7
|
+
}>;
|
|
8
|
+
width: z.ZodInt;
|
|
9
|
+
height: z.ZodInt;
|
|
10
|
+
totalFrames: z.ZodInt;
|
|
11
|
+
crf: z.ZodUnion<readonly [z.ZodLiteral<18>, z.ZodLiteral<23>]>;
|
|
12
|
+
algorithm: z.ZodEnum<{
|
|
13
|
+
ORDERED_TRIM_CUT_V1: "ORDERED_TRIM_CUT_V1";
|
|
14
|
+
ORDERED_COMPOSE_V2: "ORDERED_COMPOSE_V2";
|
|
15
|
+
}>;
|
|
16
|
+
clips: z.ZodArray<z.ZodObject<{
|
|
17
|
+
representationId: z.ZodUUID;
|
|
18
|
+
technical: z.ZodObject<{
|
|
19
|
+
contentType: z.ZodLiteral<"video/mp4">;
|
|
20
|
+
checksumSha256: z.ZodString;
|
|
21
|
+
byteSize: z.ZodInt;
|
|
22
|
+
width: z.ZodInt;
|
|
23
|
+
height: z.ZodInt;
|
|
24
|
+
durationMs: z.ZodInt;
|
|
25
|
+
frameRate: z.ZodNumber;
|
|
26
|
+
videoCodec: z.ZodEnum<{
|
|
27
|
+
h264: "h264";
|
|
28
|
+
hevc: "hevc";
|
|
29
|
+
}>;
|
|
30
|
+
pixelFormat: z.ZodOptional<z.ZodLiteral<"yuv420p10le">>;
|
|
31
|
+
hasAudio: z.ZodBoolean;
|
|
32
|
+
nativeAudio: z.ZodOptional<z.ZodObject<{
|
|
33
|
+
normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
|
|
34
|
+
sourceCodec: z.ZodLiteral<"aac">;
|
|
35
|
+
sourceSampleRateHz: z.ZodInt;
|
|
36
|
+
sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
37
|
+
sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
|
|
38
|
+
sourceFrameCount: z.ZodInt;
|
|
39
|
+
sourceStartOffsetMs: z.ZodNumber;
|
|
40
|
+
sourceDeclaredDurationMs: z.ZodNumber;
|
|
41
|
+
alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
|
|
42
|
+
media: z.ZodObject<{
|
|
43
|
+
profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
|
|
44
|
+
audioCodec: z.ZodLiteral<"pcm_s16le">;
|
|
45
|
+
sampleRateHz: z.ZodLiteral<48000>;
|
|
46
|
+
audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
47
|
+
sampleCount: z.ZodInt;
|
|
48
|
+
durationMs: z.ZodNumber;
|
|
49
|
+
}, z.core.$strict>;
|
|
50
|
+
checksumSha256: z.ZodString;
|
|
51
|
+
}, z.core.$strict>>;
|
|
52
|
+
}, z.core.$strict>;
|
|
53
|
+
sourceInMs: z.ZodInt;
|
|
54
|
+
sourceOutMs: z.ZodInt;
|
|
55
|
+
startFrame: z.ZodInt;
|
|
56
|
+
frameCount: z.ZodInt;
|
|
57
|
+
overlapFrames: z.ZodInt;
|
|
58
|
+
crop: z.ZodNullable<z.ZodObject<{
|
|
59
|
+
x: z.ZodInt;
|
|
60
|
+
y: z.ZodInt;
|
|
61
|
+
width: z.ZodInt;
|
|
62
|
+
height: z.ZodInt;
|
|
63
|
+
}, z.core.$strict>>;
|
|
64
|
+
viewport: z.ZodObject<{
|
|
65
|
+
x: z.ZodInt;
|
|
66
|
+
y: z.ZodInt;
|
|
67
|
+
width: z.ZodInt;
|
|
68
|
+
height: z.ZodInt;
|
|
69
|
+
}, z.core.$strict>;
|
|
70
|
+
}, z.core.$strict>>;
|
|
71
|
+
caption: z.ZodNullable<z.ZodObject<{
|
|
72
|
+
style: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
73
|
+
id: z.ZodLiteral<"PLAIN_TEXT_NOTO_SANS_SC_V1">;
|
|
74
|
+
fontSha256: z.ZodLiteral<"a3041811a78c361b1de50f953c805e0244951c21c5bd412f7232ef0d899af0da">;
|
|
75
|
+
framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
|
|
76
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
77
|
+
id: z.ZodLiteral<"PLAIN_TEXT_NATIVE_SC_REGULAR_V2">;
|
|
78
|
+
fontSha256: z.ZodLiteral<"e5a51f41fc1b827da651afee3975e07a182ff4f8e04d9dfc0a3cecd6177a52b6">;
|
|
79
|
+
framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
|
|
80
|
+
}, z.core.$strict>], "id">;
|
|
81
|
+
references: z.ZodArray<z.ZodObject<{
|
|
82
|
+
representationId: z.ZodUUID;
|
|
83
|
+
expectedUtf8: z.ZodString;
|
|
84
|
+
}, z.core.$strict>>;
|
|
85
|
+
cues: z.ZodArray<z.ZodObject<{
|
|
86
|
+
ordinal: z.ZodInt;
|
|
87
|
+
startFrame: z.ZodInt;
|
|
88
|
+
endFrame: z.ZodInt;
|
|
89
|
+
fontSize: z.ZodInt;
|
|
90
|
+
margin: z.ZodInt;
|
|
91
|
+
text: z.ZodString;
|
|
92
|
+
}, z.core.$strict>>;
|
|
93
|
+
}, z.core.$strict>>;
|
|
94
|
+
audio: z.ZodNullable<z.ZodObject<{
|
|
95
|
+
algorithm: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
|
|
96
|
+
tracks: z.ZodArray<z.ZodObject<{
|
|
97
|
+
representationId: z.ZodUUID;
|
|
98
|
+
checksum: z.ZodString;
|
|
99
|
+
byteSize: z.ZodInt;
|
|
100
|
+
channels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
101
|
+
sampleCount: z.ZodInt;
|
|
102
|
+
sourceIn: z.ZodInt;
|
|
103
|
+
sourceOut: z.ZodInt;
|
|
104
|
+
start: z.ZodInt;
|
|
105
|
+
count: z.ZodInt;
|
|
106
|
+
gain: z.ZodInt;
|
|
107
|
+
duck: z.ZodInt;
|
|
108
|
+
duckWindows: z.ZodArray<z.ZodObject<{
|
|
109
|
+
start: z.ZodInt;
|
|
110
|
+
count: z.ZodInt;
|
|
111
|
+
}, z.core.$strict>>;
|
|
112
|
+
}, z.core.$strict>>;
|
|
113
|
+
}, z.core.$strict>>;
|
|
114
|
+
graphics: z.ZodArray<z.ZodObject<{
|
|
115
|
+
representationId: z.ZodUUID;
|
|
116
|
+
checksum: z.ZodString;
|
|
117
|
+
byteSize: z.ZodInt;
|
|
118
|
+
contentType: z.ZodEnum<{
|
|
119
|
+
"image/png": "image/png";
|
|
120
|
+
"image/webp": "image/webp";
|
|
121
|
+
}>;
|
|
122
|
+
sourceWidth: z.ZodInt;
|
|
123
|
+
sourceHeight: z.ZodInt;
|
|
124
|
+
width: z.ZodInt;
|
|
125
|
+
height: z.ZodInt;
|
|
126
|
+
x: z.ZodInt;
|
|
127
|
+
y: z.ZodInt;
|
|
128
|
+
startFrame: z.ZodInt;
|
|
129
|
+
endFrame: z.ZodInt;
|
|
130
|
+
opacity: z.ZodNumber;
|
|
131
|
+
}, z.core.$strict>>;
|
|
132
|
+
visual: z.ZodNullable<z.ZodObject<{
|
|
133
|
+
composition: z.ZodObject<{
|
|
134
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
135
|
+
profileId: z.ZodLiteral<"STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1">;
|
|
136
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
137
|
+
projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
|
|
138
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
139
|
+
totalFrames: z.ZodInt;
|
|
140
|
+
layers: z.ZodArray<z.ZodObject<{
|
|
141
|
+
id: z.ZodUUID;
|
|
142
|
+
source: z.ZodObject<{
|
|
143
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
144
|
+
profileId: z.ZodLiteral<"RGBA_PNG_SEQUENCE_30_V1">;
|
|
145
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
146
|
+
projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
|
|
147
|
+
productionId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
|
|
148
|
+
artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
|
|
149
|
+
representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
|
|
150
|
+
checksumSha256: z.ZodString;
|
|
151
|
+
width: z.ZodInt;
|
|
152
|
+
height: z.ZodInt;
|
|
153
|
+
frameRate: z.ZodLiteral<30>;
|
|
154
|
+
frameCount: z.ZodInt;
|
|
155
|
+
alpha: z.ZodLiteral<"STRAIGHT_RGBA">;
|
|
156
|
+
frames: z.ZodArray<z.ZodObject<{
|
|
157
|
+
ordinal: z.ZodInt;
|
|
158
|
+
artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
|
|
159
|
+
representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
|
|
160
|
+
checksumSha256: z.ZodString;
|
|
161
|
+
byteSize: z.ZodInt;
|
|
162
|
+
}, z.core.$strict>>;
|
|
163
|
+
}, z.core.$strict>;
|
|
164
|
+
sourceInFrame: z.ZodInt;
|
|
165
|
+
sourceOutFrame: z.ZodInt;
|
|
166
|
+
startFrame: z.ZodInt;
|
|
167
|
+
zIndex: z.ZodInt;
|
|
168
|
+
opacityPermille: z.ZodInt;
|
|
169
|
+
placement: z.ZodObject<{
|
|
170
|
+
xPermille: z.ZodInt;
|
|
171
|
+
yPermille: z.ZodInt;
|
|
172
|
+
widthPermille: z.ZodInt;
|
|
173
|
+
heightPermille: z.ZodInt;
|
|
174
|
+
}, z.core.$strict>;
|
|
175
|
+
}, z.core.$strict>>;
|
|
176
|
+
}, z.core.$strict>;
|
|
177
|
+
plans: z.ZodArray<z.ZodObject<{
|
|
178
|
+
id: z.ZodUUID;
|
|
179
|
+
startFrame: z.ZodInt;
|
|
180
|
+
endFrame: z.ZodInt;
|
|
181
|
+
width: z.ZodInt;
|
|
182
|
+
height: z.ZodInt;
|
|
183
|
+
x: z.ZodInt;
|
|
184
|
+
y: z.ZodInt;
|
|
185
|
+
opacityPermille: z.ZodInt;
|
|
186
|
+
}, z.core.$strict>>;
|
|
187
|
+
}, z.core.$strict>>;
|
|
188
|
+
}, z.core.$strict>;
|
|
189
|
+
export type LocalMediaRecipe = z.infer<typeof LocalMediaRecipeSchema>;
|
|
190
|
+
export declare const LOCAL_STUDIO_PROFILE_SPEC: {
|
|
191
|
+
readonly protocol: "NVS_LOCAL_STUDIO_MEDIA_V2";
|
|
192
|
+
readonly algorithm: "RESOLVED_RECIPE_V2";
|
|
193
|
+
readonly profiles: readonly ["PREVIEW_H264_480P_V1", "PREVIEW_H264_720P_V1", "PREVIEW_H264_1080P_V1", "FINAL_H264_480P_V1", "FINAL_H264_720P_V1", "FINAL_H264_1080P_V1"];
|
|
194
|
+
readonly audio: "PCM_WINDOW_MIX_AAC_V1";
|
|
195
|
+
readonly captions: "PINNED_PLAIN_TEXT";
|
|
196
|
+
readonly framing: "CROP_PAD_V1";
|
|
197
|
+
readonly transitions: "CROSS_DISSOLVE_V1";
|
|
198
|
+
readonly graphics: "OVERLAY_V1";
|
|
199
|
+
readonly visual: "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1";
|
|
200
|
+
readonly maxSourceBytesTotal: 268435456;
|
|
201
|
+
readonly maxOutputBytes: 134217728;
|
|
202
|
+
readonly maxClips: 32;
|
|
203
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const LocalOfflineSnapshotSchema: z.ZodObject<{
|
|
3
|
+
projectId: z.ZodUUID;
|
|
4
|
+
title: z.ZodString;
|
|
5
|
+
savedAt: z.ZodISODateTime;
|
|
6
|
+
expiresAt: z.ZodISODateTime;
|
|
7
|
+
productions: z.ZodArray<z.ZodObject<{
|
|
8
|
+
id: z.ZodUUID;
|
|
9
|
+
title: z.ZodString;
|
|
10
|
+
}, z.core.$strict>>;
|
|
11
|
+
possiblyTruncated: z.ZodBoolean;
|
|
12
|
+
}, z.core.$strict>;
|
|
13
|
+
export declare const LocalOfflineCallSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14
|
+
action: z.ZodEnum<{
|
|
15
|
+
list: "list";
|
|
16
|
+
forget: "forget";
|
|
17
|
+
}>;
|
|
18
|
+
key: z.ZodString;
|
|
19
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20
|
+
action: z.ZodLiteral<"retain">;
|
|
21
|
+
key: z.ZodString;
|
|
22
|
+
snapshot: z.ZodObject<{
|
|
23
|
+
projectId: z.ZodUUID;
|
|
24
|
+
title: z.ZodString;
|
|
25
|
+
savedAt: z.ZodISODateTime;
|
|
26
|
+
expiresAt: z.ZodISODateTime;
|
|
27
|
+
productions: z.ZodArray<z.ZodObject<{
|
|
28
|
+
id: z.ZodUUID;
|
|
29
|
+
title: z.ZodString;
|
|
30
|
+
}, z.core.$strict>>;
|
|
31
|
+
possiblyTruncated: z.ZodBoolean;
|
|
32
|
+
}, z.core.$strict>;
|
|
33
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
34
|
+
action: z.ZodLiteral<"draft">;
|
|
35
|
+
key: z.ZodString;
|
|
36
|
+
projectId: z.ZodUUID;
|
|
37
|
+
text: z.ZodString;
|
|
38
|
+
expectedRevision: z.ZodInt;
|
|
39
|
+
}, z.core.$strict>], "action">;
|
|
40
|
+
export declare const LocalOfflinePageSchema: z.ZodObject<{
|
|
41
|
+
historical: z.ZodLiteral<true>;
|
|
42
|
+
items: z.ZodArray<z.ZodObject<{
|
|
43
|
+
snapshot: z.ZodObject<{
|
|
44
|
+
projectId: z.ZodUUID;
|
|
45
|
+
title: z.ZodString;
|
|
46
|
+
savedAt: z.ZodISODateTime;
|
|
47
|
+
expiresAt: z.ZodISODateTime;
|
|
48
|
+
productions: z.ZodArray<z.ZodObject<{
|
|
49
|
+
id: z.ZodUUID;
|
|
50
|
+
title: z.ZodString;
|
|
51
|
+
}, z.core.$strict>>;
|
|
52
|
+
possiblyTruncated: z.ZodBoolean;
|
|
53
|
+
}, z.core.$strict>;
|
|
54
|
+
draft: z.ZodObject<{
|
|
55
|
+
text: z.ZodString;
|
|
56
|
+
revision: z.ZodInt;
|
|
57
|
+
}, z.core.$strict>;
|
|
58
|
+
}, z.core.$strict>>;
|
|
59
|
+
}, z.core.$strict>;
|