@nativestudio/sdk 0.3.0-rc.21 → 0.3.0-rc.27
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/dist/_chunks/chunk-65Q3RST6.js +1 -0
- package/dist/_chunks/{chunk-K3TIFCD3.js → chunk-7VBZYNHE.js} +1 -1
- package/dist/_chunks/chunk-B5QT3BVS.js +1 -0
- package/dist/_chunks/chunk-KONHIJPZ.js +1 -0
- package/dist/_chunks/{chunk-WNXKJRZ6.js → chunk-RUWGYN4N.js} +1 -1
- package/dist/_chunks/{chunk-QVP4AMRJ.js → chunk-SCY6PJRK.js} +1 -1
- package/dist/_chunks/chunk-XPDAOUQ7.js +1 -0
- package/dist/_types/contracts/artifact.d.ts +2 -0
- package/dist/_types/contracts/component-status.d.ts +9 -0
- package/dist/_types/contracts/device-openai-asr.d.ts +479 -0
- package/dist/_types/contracts/device-render.d.ts +6 -0
- package/dist/_types/contracts/external-agent-access.d.ts +7 -0
- package/dist/_types/contracts/index.d.ts +3 -0
- package/dist/_types/contracts/interface/media-output.d.ts +4 -1
- package/dist/_types/contracts/interface/operation.d.ts +44 -0
- package/dist/_types/contracts/interface/production-snapshot.d.ts +39 -0
- package/dist/_types/contracts/interface/query.d.ts +38 -0
- package/dist/_types/contracts/local-execution/backup-retirement.d.ts +162 -0
- package/dist/_types/contracts/local-execution/claim-resolution.d.ts +1470 -0
- package/dist/_types/contracts/local-execution/components.d.ts +1 -1
- package/dist/_types/contracts/local-execution/cpu-preparation.d.ts +23 -0
- package/dist/_types/contracts/local-execution/credential-request.d.ts +20 -0
- package/dist/_types/contracts/local-execution/external-generation.d.ts +59 -2
- package/dist/_types/contracts/local-execution/index.d.ts +12 -0
- package/dist/_types/contracts/local-execution/ipc.d.ts +27 -0
- package/dist/_types/contracts/local-execution/library-command.d.ts +303 -5
- package/dist/_types/contracts/local-execution/library-result.d.ts +217 -3
- package/dist/_types/contracts/local-execution/lifecycle.d.ts +35 -0
- package/dist/_types/contracts/local-execution/local-navigation.d.ts +3 -0
- package/dist/_types/contracts/local-execution/management.d.ts +12 -12
- package/dist/_types/contracts/local-execution/model-cleanup.d.ts +60 -0
- package/dist/_types/contracts/local-execution/model-inspection.d.ts +365 -0
- package/dist/_types/contracts/local-execution/openai-asr.d.ts +105 -0
- package/dist/_types/contracts/local-execution/openai-realtime-speech.d.ts +151 -0
- package/dist/_types/contracts/local-execution/preview.d.ts +15 -4
- package/dist/_types/contracts/local-execution/processor-capability.d.ts +6 -0
- package/dist/_types/contracts/local-execution/processor-direct.d.ts +140 -4
- package/dist/_types/contracts/local-execution/processor-outcomes.d.ts +145 -0
- package/dist/_types/contracts/local-execution/processor-recipes.d.ts +163 -3
- package/dist/_types/contracts/local-execution/processor.d.ts +2422 -322
- package/dist/_types/contracts/local-execution/project-source-direct.d.ts +1 -0
- package/dist/_types/contracts/local-execution/provider-inspection.d.ts +58 -0
- package/dist/_types/contracts/local-execution/provider-release.d.ts +53 -0
- package/dist/_types/contracts/local-execution/provider-selection.d.ts +58 -0
- package/dist/_types/contracts/local-execution/recognition.d.ts +30 -0
- package/dist/_types/contracts/local-execution/speech.d.ts +1 -1
- package/dist/_types/contracts/local-execution/versions.d.ts +2 -0
- package/dist/_types/contracts/media-observation.d.ts +56 -0
- package/dist/_types/contracts/native-speech-http.d.ts +15 -0
- package/dist/_types/contracts/navigation-context.d.ts +144 -0
- package/dist/_types/contracts/navigation-groups.d.ts +1 -1
- package/dist/_types/contracts/navigation.d.ts +2 -0
- package/dist/_types/contracts/observation-profile.d.ts +12 -0
- package/dist/_types/contracts/openai-asr.d.ts +55 -0
- package/dist/_types/contracts/provider-catalog.d.ts +44 -0
- package/dist/_types/contracts/provider-models.d.ts +115 -3
- package/dist/_types/contracts/provider.d.ts +93 -7
- package/dist/_types/contracts/render-readiness.d.ts +74 -1
- package/dist/_types/contracts/repair-strategy.d.ts +1 -1
- package/dist/_types/contracts/resourcesdk.d.ts +231 -0
- package/dist/_types/contracts/sound-making-plan.d.ts +41 -0
- package/dist/_types/contracts/source-workspace.d.ts +2 -0
- package/dist/_types/contracts/speech-cost.d.ts +129 -0
- package/dist/_types/contracts/speech.d.ts +50 -0
- package/dist/_types/contracts/transcription.d.ts +11 -0
- package/dist/_types/sdk/catalog/carriers.d.ts +40 -0
- package/dist/_types/sdk/catalog/core.d.ts +164 -4
- package/dist/_types/sdk/catalog/device-library.d.ts +360 -4
- package/dist/_types/sdk/catalog/device-management.d.ts +16 -6
- package/dist/_types/sdk/catalog/imported-visual.d.ts +990 -22
- package/dist/_types/sdk/catalog/mcp.d.ts +12 -0
- package/dist/_types/sdk/catalog/media-observation.d.ts +630 -18
- package/dist/_types/sdk/catalog/navigation.d.ts +241 -4
- package/dist/_types/sdk/catalog/provider.d.ts +272 -98
- package/dist/_types/sdk/catalog/reference-preview.d.ts +52 -0
- package/dist/_types/sdk/catalog/resourcesdk.d.ts +573 -0
- package/dist/_types/sdk/catalog/speech.d.ts +98 -8
- package/dist/_types/sdk/client.d.ts +28 -1
- package/dist/_types/sdk/device-renders.d.ts +4 -1
- package/dist/_types/sdk/direct-source.d.ts +47 -1
- package/dist/_types/sdk/index.d.ts +2 -0
- package/dist/_types/sdk/local-runtime/components.d.ts +6 -0
- package/dist/_types/sdk/local-runtime-client.d.ts +35 -23
- package/dist/_types/sdk/navigation-client.d.ts +2 -0
- package/dist/_types/sdk/navigation-facade.d.ts +113 -0
- package/dist/_types/sdk/observe.d.ts +26 -0
- package/dist/_types/sdk/resource-data-plane.d.ts +108 -0
- package/dist/_types/sdk/resource-ingress.d.ts +18 -0
- package/dist/_types/sdk/transport/http.d.ts +1 -0
- package/dist/account.js +1 -1
- package/dist/host-protocol.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/local-runtime.js +1 -1
- package/dist/mcp-discovery.js +1 -1
- package/dist/runtime-authority.js +1 -1
- package/package.json +3 -2
- package/dist/_chunks/chunk-2QDPFLIO.js +0 -1
- package/dist/_chunks/chunk-7DXSLHXW.js +0 -1
- package/dist/_chunks/chunk-ASUZJSEP.js +0 -1
- package/dist/_chunks/chunk-Q53Q74OP.js +0 -1
- package/dist/_chunks/chunk-UKPD77FB.js +0 -1
|
@@ -1,12 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import type { LocalLibraryReference } from "./library.js";
|
|
3
|
-
/**
|
|
3
|
+
/** 发布交给原片、项目素材或生产音轨的既有 Owner。 */
|
|
4
4
|
export declare const LocalLibraryDestinationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5
|
+
kind: z.ZodLiteral<"AUDIO">;
|
|
6
|
+
command: z.ZodObject<{
|
|
7
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
8
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
9
|
+
purpose: z.ZodEnum<{
|
|
10
|
+
VOICEOVER: "VOICEOVER";
|
|
11
|
+
MUSIC: "MUSIC";
|
|
12
|
+
}>;
|
|
13
|
+
expectedProductionRevision: z.ZodInt;
|
|
14
|
+
expectedAudioVersion: z.ZodInt;
|
|
15
|
+
idempotencyKey: z.ZodString;
|
|
16
|
+
contentType: z.ZodLiteral<"audio/wav">;
|
|
17
|
+
originalName: z.ZodOptional<z.ZodString>;
|
|
18
|
+
}, z.core.$strict>;
|
|
19
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5
20
|
kind: z.ZodLiteral<"ORIGINAL">;
|
|
6
21
|
command: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7
22
|
operation: z.ZodLiteral<"REGISTER">;
|
|
8
23
|
input: z.ZodObject<{
|
|
9
24
|
deviceId: z.ZodOptional<z.ZodUUID>;
|
|
25
|
+
geometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
|
|
10
26
|
projectSourceArtifactId: z.ZodOptional<z.ZodUUID>;
|
|
11
27
|
tenantId: z.ZodUUID;
|
|
12
28
|
projectId: z.ZodUUID;
|
|
@@ -33,6 +49,7 @@ export declare const LocalLibraryDestinationSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
33
49
|
operation: z.ZodLiteral<"REVISE">;
|
|
34
50
|
input: z.ZodObject<{
|
|
35
51
|
deviceId: z.ZodOptional<z.ZodUUID>;
|
|
52
|
+
geometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
|
|
36
53
|
projectSourceArtifactId: z.ZodOptional<z.ZodUUID>;
|
|
37
54
|
tenantId: z.ZodUUID;
|
|
38
55
|
projectId: z.ZodUUID;
|
|
@@ -68,6 +85,7 @@ export declare const LocalLibraryDestinationSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
68
85
|
REFERENCE_VIDEO: "REFERENCE_VIDEO";
|
|
69
86
|
PRODUCT_INFORMATION: "PRODUCT_INFORMATION";
|
|
70
87
|
}>;
|
|
88
|
+
videoGeometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
|
|
71
89
|
contentType: z.ZodEnum<{
|
|
72
90
|
"application/json": "application/json";
|
|
73
91
|
"text/plain": "text/plain";
|
|
@@ -114,6 +132,7 @@ export declare const LocalLibraryCommandSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
114
132
|
}, z.core.$strict>;
|
|
115
133
|
accessRevision: z.ZodInt;
|
|
116
134
|
action: z.ZodLiteral<"INSPECT">;
|
|
135
|
+
geometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
|
|
117
136
|
}, z.core.$strict>, z.ZodObject<{
|
|
118
137
|
tenantId: z.ZodUUID;
|
|
119
138
|
projectId: z.ZodUUID;
|
|
@@ -142,11 +161,27 @@ export declare const LocalLibraryCommandSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
142
161
|
accessRevision: z.ZodInt;
|
|
143
162
|
action: z.ZodLiteral<"PUBLISH">;
|
|
144
163
|
destination: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
164
|
+
kind: z.ZodLiteral<"AUDIO">;
|
|
165
|
+
command: z.ZodObject<{
|
|
166
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
167
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
168
|
+
purpose: z.ZodEnum<{
|
|
169
|
+
VOICEOVER: "VOICEOVER";
|
|
170
|
+
MUSIC: "MUSIC";
|
|
171
|
+
}>;
|
|
172
|
+
expectedProductionRevision: z.ZodInt;
|
|
173
|
+
expectedAudioVersion: z.ZodInt;
|
|
174
|
+
idempotencyKey: z.ZodString;
|
|
175
|
+
contentType: z.ZodLiteral<"audio/wav">;
|
|
176
|
+
originalName: z.ZodOptional<z.ZodString>;
|
|
177
|
+
}, z.core.$strict>;
|
|
178
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
145
179
|
kind: z.ZodLiteral<"ORIGINAL">;
|
|
146
180
|
command: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
147
181
|
operation: z.ZodLiteral<"REGISTER">;
|
|
148
182
|
input: z.ZodObject<{
|
|
149
183
|
deviceId: z.ZodOptional<z.ZodUUID>;
|
|
184
|
+
geometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
|
|
150
185
|
projectSourceArtifactId: z.ZodOptional<z.ZodUUID>;
|
|
151
186
|
tenantId: z.ZodUUID;
|
|
152
187
|
projectId: z.ZodUUID;
|
|
@@ -173,6 +208,7 @@ export declare const LocalLibraryCommandSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
173
208
|
operation: z.ZodLiteral<"REVISE">;
|
|
174
209
|
input: z.ZodObject<{
|
|
175
210
|
deviceId: z.ZodOptional<z.ZodUUID>;
|
|
211
|
+
geometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
|
|
176
212
|
projectSourceArtifactId: z.ZodOptional<z.ZodUUID>;
|
|
177
213
|
tenantId: z.ZodUUID;
|
|
178
214
|
projectId: z.ZodUUID;
|
|
@@ -208,6 +244,7 @@ export declare const LocalLibraryCommandSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
208
244
|
REFERENCE_VIDEO: "REFERENCE_VIDEO";
|
|
209
245
|
PRODUCT_INFORMATION: "PRODUCT_INFORMATION";
|
|
210
246
|
}>;
|
|
247
|
+
videoGeometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
|
|
211
248
|
contentType: z.ZodEnum<{
|
|
212
249
|
"application/json": "application/json";
|
|
213
250
|
"text/plain": "text/plain";
|
|
@@ -265,7 +302,7 @@ export declare const LocalLibraryAdmissionSchema: z.ZodObject<{
|
|
|
265
302
|
}, z.core.$strict>;
|
|
266
303
|
export declare const LocalLibraryInspectionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
267
304
|
kind: z.ZodLiteral<"VIDEO">;
|
|
268
|
-
metadata: z.ZodObject<{
|
|
305
|
+
metadata: z.ZodUnion<readonly [z.ZodObject<{
|
|
269
306
|
geometry: z.ZodObject<{
|
|
270
307
|
width: z.ZodInt;
|
|
271
308
|
height: z.ZodInt;
|
|
@@ -324,6 +361,85 @@ export declare const LocalLibraryInspectionSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
324
361
|
LIVE: "LIVE";
|
|
325
362
|
TEST_ONLY: "TEST_ONLY";
|
|
326
363
|
}>;
|
|
364
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
365
|
+
geometryProfile: z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">;
|
|
366
|
+
geometry: z.ZodObject<{
|
|
367
|
+
width: z.ZodInt;
|
|
368
|
+
height: z.ZodInt;
|
|
369
|
+
}, z.core.$strict>;
|
|
370
|
+
sampleAspectRatio: z.ZodEnum<{
|
|
371
|
+
"1:1": "1:1";
|
|
372
|
+
UNSPECIFIED: "UNSPECIFIED";
|
|
373
|
+
}>;
|
|
374
|
+
fieldOrder: z.ZodEnum<{
|
|
375
|
+
UNSPECIFIED: "UNSPECIFIED";
|
|
376
|
+
PROGRESSIVE: "PROGRESSIVE";
|
|
377
|
+
}>;
|
|
378
|
+
videoCodec: z.ZodLiteral<"h264">;
|
|
379
|
+
pixelFormat: z.ZodLiteral<"yuv420p">;
|
|
380
|
+
rotationDegrees: z.ZodLiteral<0>;
|
|
381
|
+
startPts: z.ZodLiteral<0>;
|
|
382
|
+
timeBase: z.ZodObject<{
|
|
383
|
+
numerator: z.ZodInt;
|
|
384
|
+
denominator: z.ZodInt;
|
|
385
|
+
}, z.core.$strict>;
|
|
386
|
+
frameRate: z.ZodObject<{
|
|
387
|
+
numerator: z.ZodInt;
|
|
388
|
+
denominator: z.ZodInt;
|
|
389
|
+
}, z.core.$strict>;
|
|
390
|
+
frameCount: z.ZodInt;
|
|
391
|
+
durationTicks: z.ZodInt;
|
|
392
|
+
availableCfr30Frames: z.ZodInt;
|
|
393
|
+
color: z.ZodObject<{
|
|
394
|
+
range: z.ZodEnum<{
|
|
395
|
+
unknown: "unknown";
|
|
396
|
+
tv: "tv";
|
|
397
|
+
}>;
|
|
398
|
+
space: z.ZodEnum<{
|
|
399
|
+
unknown: "unknown";
|
|
400
|
+
bt709: "bt709";
|
|
401
|
+
}>;
|
|
402
|
+
transfer: z.ZodEnum<{
|
|
403
|
+
unknown: "unknown";
|
|
404
|
+
bt709: "bt709";
|
|
405
|
+
}>;
|
|
406
|
+
primaries: z.ZodEnum<{
|
|
407
|
+
unknown: "unknown";
|
|
408
|
+
bt709: "bt709";
|
|
409
|
+
}>;
|
|
410
|
+
}, z.core.$strict>;
|
|
411
|
+
audio: z.ZodNullable<z.ZodObject<{
|
|
412
|
+
codec: z.ZodLiteral<"aac">;
|
|
413
|
+
sampleRateHz: z.ZodUnion<readonly [z.ZodLiteral<44100>, z.ZodLiteral<48000>]>;
|
|
414
|
+
channels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
415
|
+
startPts: z.ZodInt;
|
|
416
|
+
timeBase: z.ZodObject<{
|
|
417
|
+
numerator: z.ZodInt;
|
|
418
|
+
denominator: z.ZodInt;
|
|
419
|
+
}, z.core.$strict>;
|
|
420
|
+
durationTicks: z.ZodInt;
|
|
421
|
+
}, z.core.$strict>>;
|
|
422
|
+
fullDecode: z.ZodLiteral<true>;
|
|
423
|
+
cfrTimestampsVerified: z.ZodLiteral<true>;
|
|
424
|
+
contentType: z.ZodLiteral<"video/mp4">;
|
|
425
|
+
checksumSha256: z.ZodString;
|
|
426
|
+
byteSize: z.ZodInt;
|
|
427
|
+
executionClass: z.ZodEnum<{
|
|
428
|
+
LIVE: "LIVE";
|
|
429
|
+
TEST_ONLY: "TEST_ONLY";
|
|
430
|
+
}>;
|
|
431
|
+
}, z.core.$strict>]>;
|
|
432
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
433
|
+
kind: z.ZodLiteral<"AUDIO">;
|
|
434
|
+
checksumSha256: z.ZodString;
|
|
435
|
+
byteSize: z.ZodInt;
|
|
436
|
+
media: z.ZodObject<{
|
|
437
|
+
profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
|
|
438
|
+
audioCodec: z.ZodLiteral<"pcm_s16le">;
|
|
439
|
+
sampleRateHz: z.ZodLiteral<48000>;
|
|
440
|
+
audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
441
|
+
sampleCount: z.ZodInt;
|
|
442
|
+
durationMs: z.ZodInt;
|
|
327
443
|
}, z.core.$strict>;
|
|
328
444
|
}, z.core.$strict>, z.ZodObject<{
|
|
329
445
|
kind: z.ZodLiteral<"IMAGE">;
|
|
@@ -356,6 +472,7 @@ export declare const LocalLibraryInspectRecipeSchema: z.ZodObject<{
|
|
|
356
472
|
}, z.core.$strict>;
|
|
357
473
|
accessRevision: z.ZodInt;
|
|
358
474
|
libraryProfileDigest: z.ZodString;
|
|
475
|
+
geometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
|
|
359
476
|
}, z.core.$strict>;
|
|
360
477
|
export declare const LocalLibraryPublishRecipeSchema: z.ZodObject<{
|
|
361
478
|
processor: z.ZodLiteral<"LOCAL_MEDIA_PUBLISH">;
|
|
@@ -382,11 +499,27 @@ export declare const LocalLibraryPublishRecipeSchema: z.ZodObject<{
|
|
|
382
499
|
accessRevision: z.ZodInt;
|
|
383
500
|
libraryProfileDigest: z.ZodString;
|
|
384
501
|
destination: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
502
|
+
kind: z.ZodLiteral<"AUDIO">;
|
|
503
|
+
command: z.ZodObject<{
|
|
504
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
505
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
506
|
+
purpose: z.ZodEnum<{
|
|
507
|
+
VOICEOVER: "VOICEOVER";
|
|
508
|
+
MUSIC: "MUSIC";
|
|
509
|
+
}>;
|
|
510
|
+
expectedProductionRevision: z.ZodInt;
|
|
511
|
+
expectedAudioVersion: z.ZodInt;
|
|
512
|
+
idempotencyKey: z.ZodString;
|
|
513
|
+
contentType: z.ZodLiteral<"audio/wav">;
|
|
514
|
+
originalName: z.ZodOptional<z.ZodString>;
|
|
515
|
+
}, z.core.$strict>;
|
|
516
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
385
517
|
kind: z.ZodLiteral<"ORIGINAL">;
|
|
386
518
|
command: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
387
519
|
operation: z.ZodLiteral<"REGISTER">;
|
|
388
520
|
input: z.ZodObject<{
|
|
389
521
|
deviceId: z.ZodOptional<z.ZodUUID>;
|
|
522
|
+
geometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
|
|
390
523
|
projectSourceArtifactId: z.ZodOptional<z.ZodUUID>;
|
|
391
524
|
tenantId: z.ZodUUID;
|
|
392
525
|
projectId: z.ZodUUID;
|
|
@@ -413,6 +546,7 @@ export declare const LocalLibraryPublishRecipeSchema: z.ZodObject<{
|
|
|
413
546
|
operation: z.ZodLiteral<"REVISE">;
|
|
414
547
|
input: z.ZodObject<{
|
|
415
548
|
deviceId: z.ZodOptional<z.ZodUUID>;
|
|
549
|
+
geometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
|
|
416
550
|
projectSourceArtifactId: z.ZodOptional<z.ZodUUID>;
|
|
417
551
|
tenantId: z.ZodUUID;
|
|
418
552
|
projectId: z.ZodUUID;
|
|
@@ -448,6 +582,7 @@ export declare const LocalLibraryPublishRecipeSchema: z.ZodObject<{
|
|
|
448
582
|
REFERENCE_VIDEO: "REFERENCE_VIDEO";
|
|
449
583
|
PRODUCT_INFORMATION: "PRODUCT_INFORMATION";
|
|
450
584
|
}>;
|
|
585
|
+
videoGeometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
|
|
451
586
|
contentType: z.ZodEnum<{
|
|
452
587
|
"application/json": "application/json";
|
|
453
588
|
"text/plain": "text/plain";
|
|
@@ -471,14 +606,17 @@ export declare const LocalLibraryPublishRecipeSchema: z.ZodObject<{
|
|
|
471
606
|
versionId: z.ZodUUID;
|
|
472
607
|
byteSize: z.ZodInt;
|
|
473
608
|
checksumSha256: z.ZodString;
|
|
474
|
-
role: z.
|
|
609
|
+
role: z.ZodEnum<{
|
|
610
|
+
AUDIO: "AUDIO";
|
|
611
|
+
SOURCE: "SOURCE";
|
|
612
|
+
}>;
|
|
475
613
|
}, z.core.$strict>;
|
|
476
614
|
}, z.core.$strict>;
|
|
477
615
|
export declare const LocalLibraryInspectEvidenceSchema: z.ZodObject<{
|
|
478
616
|
processor: z.ZodLiteral<"LOCAL_MEDIA_INSPECT">;
|
|
479
617
|
inspection: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
480
618
|
kind: z.ZodLiteral<"VIDEO">;
|
|
481
|
-
metadata: z.ZodObject<{
|
|
619
|
+
metadata: z.ZodUnion<readonly [z.ZodObject<{
|
|
482
620
|
geometry: z.ZodObject<{
|
|
483
621
|
width: z.ZodInt;
|
|
484
622
|
height: z.ZodInt;
|
|
@@ -537,6 +675,85 @@ export declare const LocalLibraryInspectEvidenceSchema: z.ZodObject<{
|
|
|
537
675
|
LIVE: "LIVE";
|
|
538
676
|
TEST_ONLY: "TEST_ONLY";
|
|
539
677
|
}>;
|
|
678
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
679
|
+
geometryProfile: z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">;
|
|
680
|
+
geometry: z.ZodObject<{
|
|
681
|
+
width: z.ZodInt;
|
|
682
|
+
height: z.ZodInt;
|
|
683
|
+
}, z.core.$strict>;
|
|
684
|
+
sampleAspectRatio: z.ZodEnum<{
|
|
685
|
+
"1:1": "1:1";
|
|
686
|
+
UNSPECIFIED: "UNSPECIFIED";
|
|
687
|
+
}>;
|
|
688
|
+
fieldOrder: z.ZodEnum<{
|
|
689
|
+
UNSPECIFIED: "UNSPECIFIED";
|
|
690
|
+
PROGRESSIVE: "PROGRESSIVE";
|
|
691
|
+
}>;
|
|
692
|
+
videoCodec: z.ZodLiteral<"h264">;
|
|
693
|
+
pixelFormat: z.ZodLiteral<"yuv420p">;
|
|
694
|
+
rotationDegrees: z.ZodLiteral<0>;
|
|
695
|
+
startPts: z.ZodLiteral<0>;
|
|
696
|
+
timeBase: z.ZodObject<{
|
|
697
|
+
numerator: z.ZodInt;
|
|
698
|
+
denominator: z.ZodInt;
|
|
699
|
+
}, z.core.$strict>;
|
|
700
|
+
frameRate: z.ZodObject<{
|
|
701
|
+
numerator: z.ZodInt;
|
|
702
|
+
denominator: z.ZodInt;
|
|
703
|
+
}, z.core.$strict>;
|
|
704
|
+
frameCount: z.ZodInt;
|
|
705
|
+
durationTicks: z.ZodInt;
|
|
706
|
+
availableCfr30Frames: z.ZodInt;
|
|
707
|
+
color: z.ZodObject<{
|
|
708
|
+
range: z.ZodEnum<{
|
|
709
|
+
unknown: "unknown";
|
|
710
|
+
tv: "tv";
|
|
711
|
+
}>;
|
|
712
|
+
space: z.ZodEnum<{
|
|
713
|
+
unknown: "unknown";
|
|
714
|
+
bt709: "bt709";
|
|
715
|
+
}>;
|
|
716
|
+
transfer: z.ZodEnum<{
|
|
717
|
+
unknown: "unknown";
|
|
718
|
+
bt709: "bt709";
|
|
719
|
+
}>;
|
|
720
|
+
primaries: z.ZodEnum<{
|
|
721
|
+
unknown: "unknown";
|
|
722
|
+
bt709: "bt709";
|
|
723
|
+
}>;
|
|
724
|
+
}, z.core.$strict>;
|
|
725
|
+
audio: z.ZodNullable<z.ZodObject<{
|
|
726
|
+
codec: z.ZodLiteral<"aac">;
|
|
727
|
+
sampleRateHz: z.ZodUnion<readonly [z.ZodLiteral<44100>, z.ZodLiteral<48000>]>;
|
|
728
|
+
channels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
729
|
+
startPts: z.ZodInt;
|
|
730
|
+
timeBase: z.ZodObject<{
|
|
731
|
+
numerator: z.ZodInt;
|
|
732
|
+
denominator: z.ZodInt;
|
|
733
|
+
}, z.core.$strict>;
|
|
734
|
+
durationTicks: z.ZodInt;
|
|
735
|
+
}, z.core.$strict>>;
|
|
736
|
+
fullDecode: z.ZodLiteral<true>;
|
|
737
|
+
cfrTimestampsVerified: z.ZodLiteral<true>;
|
|
738
|
+
contentType: z.ZodLiteral<"video/mp4">;
|
|
739
|
+
checksumSha256: z.ZodString;
|
|
740
|
+
byteSize: z.ZodInt;
|
|
741
|
+
executionClass: z.ZodEnum<{
|
|
742
|
+
LIVE: "LIVE";
|
|
743
|
+
TEST_ONLY: "TEST_ONLY";
|
|
744
|
+
}>;
|
|
745
|
+
}, z.core.$strict>]>;
|
|
746
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
747
|
+
kind: z.ZodLiteral<"AUDIO">;
|
|
748
|
+
checksumSha256: z.ZodString;
|
|
749
|
+
byteSize: z.ZodInt;
|
|
750
|
+
media: z.ZodObject<{
|
|
751
|
+
profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
|
|
752
|
+
audioCodec: z.ZodLiteral<"pcm_s16le">;
|
|
753
|
+
sampleRateHz: z.ZodLiteral<48000>;
|
|
754
|
+
audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
755
|
+
sampleCount: z.ZodInt;
|
|
756
|
+
durationMs: z.ZodInt;
|
|
540
757
|
}, z.core.$strict>;
|
|
541
758
|
}, z.core.$strict>, z.ZodObject<{
|
|
542
759
|
kind: z.ZodLiteral<"IMAGE">;
|
|
@@ -550,7 +767,7 @@ export declare const LocalLibraryPublishEvidenceSchema: z.ZodObject<{
|
|
|
550
767
|
processor: z.ZodLiteral<"LOCAL_MEDIA_PUBLISH">;
|
|
551
768
|
inspection: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
552
769
|
kind: z.ZodLiteral<"VIDEO">;
|
|
553
|
-
metadata: z.ZodObject<{
|
|
770
|
+
metadata: z.ZodUnion<readonly [z.ZodObject<{
|
|
554
771
|
geometry: z.ZodObject<{
|
|
555
772
|
width: z.ZodInt;
|
|
556
773
|
height: z.ZodInt;
|
|
@@ -609,6 +826,85 @@ export declare const LocalLibraryPublishEvidenceSchema: z.ZodObject<{
|
|
|
609
826
|
LIVE: "LIVE";
|
|
610
827
|
TEST_ONLY: "TEST_ONLY";
|
|
611
828
|
}>;
|
|
829
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
830
|
+
geometryProfile: z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">;
|
|
831
|
+
geometry: z.ZodObject<{
|
|
832
|
+
width: z.ZodInt;
|
|
833
|
+
height: z.ZodInt;
|
|
834
|
+
}, z.core.$strict>;
|
|
835
|
+
sampleAspectRatio: z.ZodEnum<{
|
|
836
|
+
"1:1": "1:1";
|
|
837
|
+
UNSPECIFIED: "UNSPECIFIED";
|
|
838
|
+
}>;
|
|
839
|
+
fieldOrder: z.ZodEnum<{
|
|
840
|
+
UNSPECIFIED: "UNSPECIFIED";
|
|
841
|
+
PROGRESSIVE: "PROGRESSIVE";
|
|
842
|
+
}>;
|
|
843
|
+
videoCodec: z.ZodLiteral<"h264">;
|
|
844
|
+
pixelFormat: z.ZodLiteral<"yuv420p">;
|
|
845
|
+
rotationDegrees: z.ZodLiteral<0>;
|
|
846
|
+
startPts: z.ZodLiteral<0>;
|
|
847
|
+
timeBase: z.ZodObject<{
|
|
848
|
+
numerator: z.ZodInt;
|
|
849
|
+
denominator: z.ZodInt;
|
|
850
|
+
}, z.core.$strict>;
|
|
851
|
+
frameRate: z.ZodObject<{
|
|
852
|
+
numerator: z.ZodInt;
|
|
853
|
+
denominator: z.ZodInt;
|
|
854
|
+
}, z.core.$strict>;
|
|
855
|
+
frameCount: z.ZodInt;
|
|
856
|
+
durationTicks: z.ZodInt;
|
|
857
|
+
availableCfr30Frames: z.ZodInt;
|
|
858
|
+
color: z.ZodObject<{
|
|
859
|
+
range: z.ZodEnum<{
|
|
860
|
+
unknown: "unknown";
|
|
861
|
+
tv: "tv";
|
|
862
|
+
}>;
|
|
863
|
+
space: z.ZodEnum<{
|
|
864
|
+
unknown: "unknown";
|
|
865
|
+
bt709: "bt709";
|
|
866
|
+
}>;
|
|
867
|
+
transfer: z.ZodEnum<{
|
|
868
|
+
unknown: "unknown";
|
|
869
|
+
bt709: "bt709";
|
|
870
|
+
}>;
|
|
871
|
+
primaries: z.ZodEnum<{
|
|
872
|
+
unknown: "unknown";
|
|
873
|
+
bt709: "bt709";
|
|
874
|
+
}>;
|
|
875
|
+
}, z.core.$strict>;
|
|
876
|
+
audio: z.ZodNullable<z.ZodObject<{
|
|
877
|
+
codec: z.ZodLiteral<"aac">;
|
|
878
|
+
sampleRateHz: z.ZodUnion<readonly [z.ZodLiteral<44100>, z.ZodLiteral<48000>]>;
|
|
879
|
+
channels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
880
|
+
startPts: z.ZodInt;
|
|
881
|
+
timeBase: z.ZodObject<{
|
|
882
|
+
numerator: z.ZodInt;
|
|
883
|
+
denominator: z.ZodInt;
|
|
884
|
+
}, z.core.$strict>;
|
|
885
|
+
durationTicks: z.ZodInt;
|
|
886
|
+
}, z.core.$strict>>;
|
|
887
|
+
fullDecode: z.ZodLiteral<true>;
|
|
888
|
+
cfrTimestampsVerified: z.ZodLiteral<true>;
|
|
889
|
+
contentType: z.ZodLiteral<"video/mp4">;
|
|
890
|
+
checksumSha256: z.ZodString;
|
|
891
|
+
byteSize: z.ZodInt;
|
|
892
|
+
executionClass: z.ZodEnum<{
|
|
893
|
+
LIVE: "LIVE";
|
|
894
|
+
TEST_ONLY: "TEST_ONLY";
|
|
895
|
+
}>;
|
|
896
|
+
}, z.core.$strict>]>;
|
|
897
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
898
|
+
kind: z.ZodLiteral<"AUDIO">;
|
|
899
|
+
checksumSha256: z.ZodString;
|
|
900
|
+
byteSize: z.ZodInt;
|
|
901
|
+
media: z.ZodObject<{
|
|
902
|
+
profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
|
|
903
|
+
audioCodec: z.ZodLiteral<"pcm_s16le">;
|
|
904
|
+
sampleRateHz: z.ZodLiteral<48000>;
|
|
905
|
+
audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
906
|
+
sampleCount: z.ZodInt;
|
|
907
|
+
durationMs: z.ZodInt;
|
|
612
908
|
}, z.core.$strict>;
|
|
613
909
|
}, z.core.$strict>, z.ZodObject<{
|
|
614
910
|
kind: z.ZodLiteral<"IMAGE">;
|
|
@@ -618,3 +914,5 @@ export declare const LocalLibraryPublishEvidenceSchema: z.ZodObject<{
|
|
|
618
914
|
height: z.ZodInt;
|
|
619
915
|
}, z.core.$strict>], "kind">;
|
|
620
916
|
}, z.core.$strict>;
|
|
917
|
+
/** 检查或发布都从原请求读取几何档,发布时只继承准确目标,不能自行猜测。 */
|
|
918
|
+
export declare function localLibraryVideoGeometry(recipe: Pick<z.infer<typeof LocalLibraryInspectRecipeSchema>, "processor" | "geometryProfile"> | Pick<z.infer<typeof LocalLibraryPublishRecipeSchema>, "processor" | "destination">): "IMPORTED_H264_SDR_CFR30_PRESERVE_V2" | undefined;
|