@nativestudio/sdk 0.3.0-rc.2 → 0.3.0-rc.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/COMPATIBILITY.json +4 -4
- package/LICENSE +201 -21
- package/dist/_chunks/chunk-2QDPFLIO.js +1 -0
- package/dist/_chunks/chunk-7DXSLHXW.js +1 -0
- package/dist/_chunks/chunk-AFUVP2DC.js +1 -0
- package/dist/_chunks/chunk-ASUZJSEP.js +1 -0
- package/dist/_chunks/chunk-K3TIFCD3.js +1 -0
- package/dist/_chunks/chunk-NNDKZ5H5.js +1 -0
- package/dist/_chunks/chunk-Q53Q74OP.js +1 -0
- package/dist/_chunks/chunk-QVP4AMRJ.js +1 -0
- package/dist/_chunks/chunk-TT7IA5HB.js +1 -0
- package/dist/_chunks/chunk-UKPD77FB.js +1 -0
- package/dist/_chunks/chunk-V636KA7B.js +1 -0
- package/dist/_chunks/chunk-VXBIT7XN.js +1 -0
- package/dist/_chunks/chunk-WNXKJRZ6.js +1 -0
- package/dist/_types/contracts/agent-execution-lifecycle.d.ts +55 -43
- package/dist/_types/contracts/agent-execution-oauth.d.ts +2 -2
- package/dist/_types/contracts/agent-execution-registration.d.ts +59 -15
- package/dist/_types/contracts/agent-execution-selection.d.ts +7 -7
- package/dist/_types/contracts/agent-host-contract.d.ts +189 -0
- package/dist/_types/contracts/agent-host-execution.d.ts +92 -61
- package/dist/_types/contracts/agent-host-generic-transport.d.ts +4 -4
- package/dist/_types/contracts/agent-host-legacy-release.d.ts +31 -0
- package/dist/_types/contracts/agent-host-protocol.d.ts +71 -0
- package/dist/_types/contracts/agent-host-wire.d.ts +263 -0
- package/dist/_types/contracts/agent-host.d.ts +126 -65
- package/dist/_types/contracts/artifact-discovery.d.ts +143 -11
- package/dist/_types/contracts/audio.d.ts +166 -0
- package/dist/_types/contracts/component-status.d.ts +241 -0
- package/dist/_types/contracts/composition-authoring.d.ts +8 -8
- package/dist/_types/contracts/composition-frame-render.d.ts +4 -4
- package/dist/_types/contracts/composition-observation.d.ts +1 -1
- package/dist/_types/contracts/composition-render-base.d.ts +5 -4
- package/dist/_types/contracts/composition-render.d.ts +8 -8
- package/dist/_types/contracts/composition-repair.d.ts +10 -10
- package/dist/_types/contracts/composition-source-review.d.ts +13 -13
- package/dist/_types/contracts/consistency-profile.d.ts +102 -6
- package/dist/_types/contracts/continuity-evaluation.d.ts +1 -1
- package/dist/_types/contracts/delivery-completion.d.ts +1 -1
- package/dist/_types/contracts/delivery-manifest.d.ts +25 -11729
- package/dist/_types/contracts/delivery-operations.d.ts +207 -3915
- package/dist/_types/contracts/delivery-summary.d.ts +4 -4
- package/dist/_types/contracts/delivery-validation.d.ts +25 -2
- package/dist/_types/contracts/device-onboarding.d.ts +35 -0
- package/dist/_types/contracts/device-render.d.ts +113 -0
- package/dist/_types/contracts/editor-intelligence.d.ts +392 -2531
- package/dist/_types/contracts/enterprise-brand.d.ts +302 -0
- package/dist/_types/contracts/exploration-recommendation.d.ts +263 -11607
- package/dist/_types/contracts/external-agent-access.d.ts +4 -6
- package/dist/_types/contracts/federation-event-link-receiver.d.ts +200 -0
- package/dist/_types/contracts/federation-event-link.d.ts +485 -0
- package/dist/_types/contracts/federation-result.d.ts +239 -0
- package/dist/_types/contracts/final-ready.d.ts +24 -24
- package/dist/_types/contracts/final-render.d.ts +1742 -6949
- package/dist/_types/contracts/human-identity.d.ts +13 -0
- package/dist/_types/contracts/human-links.d.ts +58 -0
- package/dist/_types/contracts/index.d.ts +26 -0
- package/dist/_types/contracts/interface/common.d.ts +18 -0
- package/dist/_types/contracts/interface/execution-output.d.ts +9 -6
- package/dist/_types/contracts/interface/media-output.d.ts +118 -0
- package/dist/_types/contracts/interface/operation.d.ts +89 -0
- package/dist/_types/contracts/interface/production-snapshot.d.ts +106 -199
- package/dist/_types/contracts/interface/query.d.ts +85 -0
- package/dist/_types/contracts/keyframe-generation.d.ts +31 -2
- package/dist/_types/contracts/keyframe-review.d.ts +7 -7
- package/dist/_types/contracts/lifecycle-event-projections.d.ts +19 -4
- package/dist/_types/contracts/lifecycle-events.d.ts +54 -2
- package/dist/_types/contracts/local-execution/agent-component-status.d.ts +109 -0
- package/dist/_types/contracts/local-execution/agent-context.d.ts +385 -0
- package/dist/_types/contracts/local-execution/agent-evidence.d.ts +79 -0
- package/dist/_types/contracts/local-execution/agent-grant.d.ts +31 -0
- package/dist/_types/contracts/local-execution/agent-review.d.ts +529 -71
- package/dist/_types/contracts/local-execution/audio-profile.d.ts +6 -0
- package/dist/_types/contracts/local-execution/common.d.ts +12 -11
- package/dist/_types/contracts/local-execution/completion.d.ts +41 -45
- package/dist/_types/contracts/local-execution/components.d.ts +45 -0
- package/dist/_types/contracts/local-execution/cpu-preparation.d.ts +46 -0
- package/dist/_types/contracts/local-execution/cpu-resources.d.ts +55 -0
- package/dist/_types/contracts/local-execution/cpu-speech-job.d.ts +70 -0
- package/dist/_types/contracts/local-execution/cpu-speech.d.ts +161 -0
- package/dist/_types/contracts/local-execution/descriptor.d.ts +38 -0
- package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
- package/dist/_types/contracts/local-execution/device-inventory.d.ts +108 -0
- package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
- package/dist/_types/contracts/local-execution/device.d.ts +24 -55
- package/dist/_types/contracts/local-execution/enrollment-credential.d.ts +141 -0
- package/dist/_types/contracts/local-execution/enrollment-handoff.d.ts +44 -0
- package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
- package/dist/_types/contracts/local-execution/index.d.ts +36 -0
- package/dist/_types/contracts/local-execution/ipc.d.ts +2809 -231
- package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
- package/dist/_types/contracts/local-execution/library-result.d.ts +428 -0
- package/dist/_types/contracts/local-execution/library.d.ts +873 -0
- package/dist/_types/contracts/local-execution/lifecycle.d.ts +262 -48
- package/dist/_types/contracts/local-execution/local-navigation.d.ts +304 -67
- package/dist/_types/contracts/local-execution/management.d.ts +407 -0
- package/dist/_types/contracts/local-execution/media-recipe.d.ts +207 -0
- package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
- package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
- package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
- package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
- package/dist/_types/contracts/local-execution/preview.d.ts +177 -3561
- package/dist/_types/contracts/local-execution/processor-capability.d.ts +49 -0
- package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
- package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1194 -0
- package/dist/_types/contracts/local-execution/processor-toolchain.d.ts +47 -0
- package/dist/_types/contracts/local-execution/processor.d.ts +6424 -0
- package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
- package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
- package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
- package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
- package/dist/_types/contracts/local-execution/tool-selection.d.ts +71 -5
- package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
- package/dist/_types/contracts/local-execution/work.d.ts +124 -3402
- package/dist/_types/contracts/local-execution/workspace.d.ts +141 -0
- package/dist/_types/contracts/mcp-capabilities.d.ts +16 -0
- package/dist/_types/contracts/media-category.d.ts +11 -0
- package/dist/_types/contracts/media-observation.d.ts +930 -9
- package/dist/_types/contracts/native-speech-model.d.ts +53 -0
- package/dist/_types/contracts/native-speech-options.d.ts +25 -0
- package/dist/_types/contracts/native-tool-authority.d.ts +25 -21
- package/dist/_types/contracts/native-tool-execution.d.ts +60 -39
- package/dist/_types/contracts/navigation-context.d.ts +76 -8
- package/dist/_types/contracts/navigation-groups.d.ts +2 -2
- package/dist/_types/contracts/navigation.d.ts +79 -26
- package/dist/_types/contracts/observation-profile.d.ts +3 -3
- package/dist/_types/contracts/production-creation.d.ts +30 -0
- package/dist/_types/contracts/production-feedback.d.ts +452 -0
- package/dist/_types/contracts/production.d.ts +30 -0
- package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
- package/dist/_types/contracts/programmatic-exploration.d.ts +362 -5999
- package/dist/_types/contracts/programmatic-video-review.d.ts +5 -5
- package/dist/_types/contracts/project-library.d.ts +30 -0
- package/dist/_types/contracts/project.d.ts +30 -0
- package/dist/_types/contracts/provider-catalog.d.ts +3 -3
- package/dist/_types/contracts/provider-models.d.ts +209 -8
- package/dist/_types/contracts/provider.d.ts +66 -1
- package/dist/_types/contracts/reference-preview.d.ts +20 -0
- package/dist/_types/contracts/render-readiness.d.ts +175 -0
- package/dist/_types/contracts/repair-lifecycle.d.ts +64 -396
- package/dist/_types/contracts/repair-plan.d.ts +18 -100
- package/dist/_types/contracts/repair-strategy.d.ts +163 -4478
- package/dist/_types/contracts/review-intelligence-final-output.d.ts +418 -8150
- package/dist/_types/contracts/review-intelligence.d.ts +455 -11423
- package/dist/_types/contracts/review1-repair-source.d.ts +6 -6
- package/dist/_types/contracts/review1-repair-strategy.d.ts +4 -4
- package/dist/_types/contracts/rough-cut-manifest.d.ts +27 -7
- package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
- package/dist/_types/contracts/rough-cut-review.d.ts +144 -12495
- package/dist/_types/contracts/rough-cut.d.ts +1170 -5673
- package/dist/_types/contracts/series-canon.d.ts +97 -0
- package/dist/_types/contracts/series-character.d.ts +23 -0
- package/dist/_types/contracts/series-improvement.d.ts +1639 -0
- package/dist/_types/contracts/series-standard.d.ts +1641 -0
- package/dist/_types/contracts/shares.d.ts +135 -0
- package/dist/_types/contracts/shot-preparation-basis.d.ts +2 -2
- package/dist/_types/contracts/shot-preparation.d.ts +4 -4
- package/dist/_types/contracts/sound-making-plan.d.ts +210 -2
- package/dist/_types/contracts/speech-cost.d.ts +96 -0
- package/dist/_types/contracts/speech-parameters.d.ts +39 -0
- package/dist/_types/contracts/speech.d.ts +603 -23
- package/dist/_types/contracts/temporal-evidence-operation.d.ts +2 -1
- package/dist/_types/contracts/timeline-audio.d.ts +20 -4
- package/dist/_types/contracts/timeline-manifest.d.ts +40 -8
- package/dist/_types/contracts/timeline-source-sound.d.ts +42 -4
- package/dist/_types/contracts/timeline-v2.d.ts +124 -16
- package/dist/_types/contracts/timeline-version-reader.d.ts +288 -40
- package/dist/_types/contracts/timeline-visual-layers.d.ts +124 -16
- package/dist/_types/contracts/timeline.d.ts +50 -4850
- package/dist/_types/contracts/transcription.d.ts +1 -1
- package/dist/_types/contracts/video-generation.d.ts +35 -2
- package/dist/_types/contracts/video-review.d.ts +7 -7
- package/dist/_types/contracts/visual-exploration.d.ts +3 -3
- package/dist/_types/contracts/visual-layer-render.d.ts +298 -47
- package/dist/_types/contracts/visual-sequence.d.ts +22 -0
- package/dist/_types/contracts/voice-consistency.d.ts +183 -0
- package/dist/_types/contracts/voice-profile/contracts.d.ts +821 -0
- package/dist/_types/contracts/voice-profile/identity.d.ts +27 -0
- package/dist/_types/contracts/voice-profile/interface.d.ts +89 -0
- package/dist/_types/contracts/voice-profile/reference.d.ts +106 -0
- package/dist/_types/contracts/voice-review.d.ts +1194 -0
- package/dist/_types/contracts/workspace.d.ts +83 -0
- package/dist/_types/sdk/account.d.ts +13 -0
- package/dist/_types/sdk/auxiliary-media.d.ts +1 -0
- package/dist/_types/sdk/catalog/agent-host-execution.d.ts +324 -112
- package/dist/_types/sdk/catalog/agent-host.d.ts +222 -70
- package/dist/_types/sdk/catalog/assembly.d.ts +26 -37628
- package/dist/_types/sdk/catalog/audio-caption.d.ts +126 -22
- package/dist/_types/sdk/catalog/canonical-repair.d.ts +132 -132
- package/dist/_types/sdk/catalog/carriers.d.ts +59 -0
- package/dist/_types/sdk/catalog/composition-source.d.ts +14 -14
- package/dist/_types/sdk/catalog/composition.d.ts +17 -2813
- package/dist/_types/sdk/catalog/core.d.ts +636 -18
- package/dist/_types/sdk/catalog/delivery.d.ts +12 -14167
- package/dist/_types/sdk/catalog/device-library.d.ts +1024 -0
- package/dist/_types/sdk/catalog/device-management.d.ts +921 -0
- package/dist/_types/sdk/catalog/discovery.d.ts +38 -4
- package/dist/_types/sdk/catalog/editor.d.ts +23 -6538
- package/dist/_types/sdk/catalog/enterprise-brand.d.ts +462 -0
- package/dist/_types/sdk/catalog/federation.d.ts +4164 -0
- package/dist/_types/sdk/catalog/generation.d.ts +284 -8
- package/dist/_types/sdk/catalog/imported-visual.d.ts +246 -816
- package/dist/_types/sdk/catalog/keyframe-review.d.ts +10 -10
- package/dist/_types/sdk/catalog/lifecycle-events.d.ts +442 -16
- package/dist/_types/sdk/catalog/mcp.d.ts +115 -7
- package/dist/_types/sdk/catalog/media-descriptors.d.ts +214 -11
- package/dist/_types/sdk/catalog/media-observation.d.ts +1031 -14
- package/dist/_types/sdk/catalog/native-tool-authority.d.ts +54 -24
- package/dist/_types/sdk/catalog/navigation.d.ts +379 -28
- package/dist/_types/sdk/catalog/planning-intelligence.d.ts +136 -8
- package/dist/_types/sdk/catalog/programmatic-exploration.d.ts +327 -9853
- package/dist/_types/sdk/catalog/programmatic-review.d.ts +8 -8
- package/dist/_types/sdk/catalog/provider.d.ts +394 -20
- package/dist/_types/sdk/catalog/reference-preview.d.ts +94 -30
- package/dist/_types/sdk/catalog/repair-strategy.d.ts +180 -8914
- package/dist/_types/sdk/catalog/reviewer.d.ts +276 -23131
- package/dist/_types/sdk/catalog/series-standard.d.ts +5402 -0
- package/dist/_types/sdk/catalog/shares.d.ts +305 -0
- package/dist/_types/sdk/catalog/shot-preparation.d.ts +51 -2972
- package/dist/_types/sdk/catalog/sound-making-plan.d.ts +6 -1776
- package/dist/_types/sdk/catalog/source-sync.d.ts +8 -498
- package/dist/_types/sdk/catalog/spec.d.ts +10 -2
- package/dist/_types/sdk/catalog/speech.d.ts +856 -4
- package/dist/_types/sdk/catalog/temporal-evidence.d.ts +4 -2
- package/dist/_types/sdk/catalog/video-review.d.ts +10 -10
- package/dist/_types/sdk/catalog/visual-exploration.d.ts +556 -440
- package/dist/_types/sdk/catalog/voice-profile.d.ts +1547 -0
- package/dist/_types/sdk/catalog/voice-review.d.ts +1125 -0
- package/dist/_types/sdk/client.d.ts +30 -3
- package/dist/_types/sdk/desktop-previews.d.ts +3 -3
- package/dist/_types/sdk/desktop-releases.d.ts +2 -2
- package/dist/_types/sdk/device-enrollment-handoff.d.ts +249 -0
- package/dist/_types/sdk/device-renders.d.ts +3751 -0
- package/dist/_types/sdk/direct-source.d.ts +147 -0
- package/dist/_types/sdk/errors.d.ts +9 -3
- package/dist/_types/sdk/federation-notice-result.d.ts +22 -0
- package/dist/_types/sdk/feedback-observer.d.ts +10 -0
- package/dist/_types/sdk/host-protocol.d.ts +8 -0
- package/dist/_types/sdk/image-media.d.ts +2 -2
- package/dist/_types/sdk/immutable-media.d.ts +24 -0
- package/dist/_types/sdk/index.d.ts +16 -1
- package/dist/_types/sdk/local-runtime/components.d.ts +2 -0
- package/dist/_types/sdk/local-runtime/device-client.d.ts +181 -19
- package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
- package/dist/_types/sdk/local-runtime/workspace.d.ts +186 -0
- package/dist/_types/sdk/local-runtime-client.d.ts +1934 -96
- package/dist/_types/sdk/mcp-client.d.ts +13 -5
- package/dist/_types/sdk/mcp-discovery.d.ts +14 -0
- package/dist/_types/sdk/mcp-image.d.ts +4 -4
- package/dist/_types/sdk/mcp-port.d.ts +73 -0
- package/dist/_types/sdk/media.d.ts +11 -9
- package/dist/_types/sdk/navigation-client.d.ts +56 -122
- package/dist/_types/sdk/navigation-facade.d.ts +191 -17
- package/dist/_types/sdk/observe.d.ts +31 -0
- package/dist/_types/sdk/runtime-authority.d.ts +18 -8
- package/dist/_types/sdk/transport/http.d.ts +2 -0
- package/dist/_types/sdk/webhook-receiver.d.ts +38 -0
- package/dist/account.js +1 -1
- package/dist/errors.js +1 -1
- package/dist/host-protocol.d.ts +1 -0
- package/dist/host-protocol.js +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/local-runtime.js +1 -1
- package/dist/mcp-discovery.d.ts +1 -0
- package/dist/mcp-discovery.js +1 -0
- package/dist/native/helper.exe +0 -0
- package/dist/native/helper.json +1 -0
- package/dist/runtime-authority.js +1 -1
- package/package.json +10 -8
- package/README.md +0 -75
- package/dist/_chunks/chunk-34KSWLCI.js +0 -1
- package/dist/_chunks/chunk-4IOFVNFG.js +0 -1
- package/dist/_chunks/chunk-4M3AGNTZ.js +0 -1
- package/dist/_chunks/chunk-6NVIN2NI.js +0 -1
- package/dist/_chunks/chunk-7YCEMDNZ.js +0 -1
- package/dist/native/Bootstrap.ps1 +0 -90
- package/dist/native/JobNative.cs +0 -127
- package/dist/native/JobRunner.cs +0 -360
- package/dist/native/NativeMain.cs +0 -146
- package/dist/native/PipeBridge.cs +0 -260
- package/dist/native/PrivateAccess.cs +0 -152
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const ShareCreateSchema: z.ZodObject<{
|
|
3
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
4
|
+
projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
|
|
5
|
+
artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
|
|
6
|
+
representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
|
|
7
|
+
shareId: z.ZodUUID;
|
|
8
|
+
idempotencyKey: z.ZodString;
|
|
9
|
+
title: z.ZodDefault<z.ZodString>;
|
|
10
|
+
expiresAt: z.ZodOptional<z.ZodISODateTime>;
|
|
11
|
+
}, z.core.$strict>;
|
|
12
|
+
export declare const ShareGetSchema: z.ZodObject<{
|
|
13
|
+
tenantId: z.ZodUUID;
|
|
14
|
+
shareId: z.ZodUUID;
|
|
15
|
+
}, z.core.$strict>;
|
|
16
|
+
export declare const ShareRevokeSchema: z.ZodObject<{
|
|
17
|
+
tenantId: z.ZodUUID;
|
|
18
|
+
shareId: z.ZodUUID;
|
|
19
|
+
expectedRevision: z.ZodInt;
|
|
20
|
+
idempotencyKey: z.ZodString;
|
|
21
|
+
}, z.core.$strict>;
|
|
22
|
+
export declare const ShareListSchema: z.ZodObject<{
|
|
23
|
+
tenantId: z.ZodUUID;
|
|
24
|
+
projectId: z.ZodOptional<z.ZodUUID>;
|
|
25
|
+
artifactId: z.ZodOptional<z.ZodUUID>;
|
|
26
|
+
after: z.ZodOptional<z.ZodUUID>;
|
|
27
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
28
|
+
}, z.core.$strict>;
|
|
29
|
+
export declare const ShareViewSchema: z.ZodObject<{
|
|
30
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
31
|
+
projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
|
|
32
|
+
artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
|
|
33
|
+
representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
|
|
34
|
+
shareId: z.ZodUUID;
|
|
35
|
+
productionId: z.ZodNullable<z.ZodUUID>;
|
|
36
|
+
createdByPrincipalId: z.ZodUUID;
|
|
37
|
+
title: z.ZodString;
|
|
38
|
+
purpose: z.ZodEnum<{
|
|
39
|
+
ROUGH_CUT: "ROUGH_CUT";
|
|
40
|
+
PREVIEW: "PREVIEW";
|
|
41
|
+
FINAL_RENDER: "FINAL_RENDER";
|
|
42
|
+
}>;
|
|
43
|
+
contentType: z.ZodLiteral<"video/mp4">;
|
|
44
|
+
checksumSha256: z.ZodString;
|
|
45
|
+
byteSize: z.ZodInt;
|
|
46
|
+
revision: z.ZodInt;
|
|
47
|
+
state: z.ZodEnum<{
|
|
48
|
+
REVOKED: "REVOKED";
|
|
49
|
+
ACTIVE: "ACTIVE";
|
|
50
|
+
EXPIRED: "EXPIRED";
|
|
51
|
+
PREPARING: "PREPARING";
|
|
52
|
+
AUTHORITY_REVOKED: "AUTHORITY_REVOKED";
|
|
53
|
+
}>;
|
|
54
|
+
createdAt: z.ZodISODateTime;
|
|
55
|
+
expiresAt: z.ZodISODateTime;
|
|
56
|
+
}, z.core.$strict>;
|
|
57
|
+
/** 分享URL有意交给收件人,不能复用拒绝fragment的私有humanLinks合同。 */
|
|
58
|
+
export declare const ShareUrlSchema: z.ZodURL;
|
|
59
|
+
export declare const ShareLinkResultSchema: z.ZodObject<{
|
|
60
|
+
share: z.ZodObject<{
|
|
61
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
62
|
+
projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
|
|
63
|
+
artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
|
|
64
|
+
representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
|
|
65
|
+
shareId: z.ZodUUID;
|
|
66
|
+
productionId: z.ZodNullable<z.ZodUUID>;
|
|
67
|
+
createdByPrincipalId: z.ZodUUID;
|
|
68
|
+
title: z.ZodString;
|
|
69
|
+
purpose: z.ZodEnum<{
|
|
70
|
+
ROUGH_CUT: "ROUGH_CUT";
|
|
71
|
+
PREVIEW: "PREVIEW";
|
|
72
|
+
FINAL_RENDER: "FINAL_RENDER";
|
|
73
|
+
}>;
|
|
74
|
+
contentType: z.ZodLiteral<"video/mp4">;
|
|
75
|
+
checksumSha256: z.ZodString;
|
|
76
|
+
byteSize: z.ZodInt;
|
|
77
|
+
revision: z.ZodInt;
|
|
78
|
+
state: z.ZodEnum<{
|
|
79
|
+
REVOKED: "REVOKED";
|
|
80
|
+
ACTIVE: "ACTIVE";
|
|
81
|
+
EXPIRED: "EXPIRED";
|
|
82
|
+
PREPARING: "PREPARING";
|
|
83
|
+
AUTHORITY_REVOKED: "AUTHORITY_REVOKED";
|
|
84
|
+
}>;
|
|
85
|
+
createdAt: z.ZodISODateTime;
|
|
86
|
+
expiresAt: z.ZodISODateTime;
|
|
87
|
+
}, z.core.$strict>;
|
|
88
|
+
url: z.ZodNullable<z.ZodURL>;
|
|
89
|
+
linkState: z.ZodEnum<{
|
|
90
|
+
UNAVAILABLE: "UNAVAILABLE";
|
|
91
|
+
AVAILABLE: "AVAILABLE";
|
|
92
|
+
UNCONFIGURED: "UNCONFIGURED";
|
|
93
|
+
NOT_ACTIVE: "NOT_ACTIVE";
|
|
94
|
+
}>;
|
|
95
|
+
}, z.core.$strict>;
|
|
96
|
+
export declare const SharePageSchema: z.ZodObject<{
|
|
97
|
+
items: z.ZodArray<z.ZodObject<{
|
|
98
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
99
|
+
projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
|
|
100
|
+
artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
|
|
101
|
+
representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
|
|
102
|
+
shareId: z.ZodUUID;
|
|
103
|
+
productionId: z.ZodNullable<z.ZodUUID>;
|
|
104
|
+
createdByPrincipalId: z.ZodUUID;
|
|
105
|
+
title: z.ZodString;
|
|
106
|
+
purpose: z.ZodEnum<{
|
|
107
|
+
ROUGH_CUT: "ROUGH_CUT";
|
|
108
|
+
PREVIEW: "PREVIEW";
|
|
109
|
+
FINAL_RENDER: "FINAL_RENDER";
|
|
110
|
+
}>;
|
|
111
|
+
contentType: z.ZodLiteral<"video/mp4">;
|
|
112
|
+
checksumSha256: z.ZodString;
|
|
113
|
+
byteSize: z.ZodInt;
|
|
114
|
+
revision: z.ZodInt;
|
|
115
|
+
state: z.ZodEnum<{
|
|
116
|
+
REVOKED: "REVOKED";
|
|
117
|
+
ACTIVE: "ACTIVE";
|
|
118
|
+
EXPIRED: "EXPIRED";
|
|
119
|
+
PREPARING: "PREPARING";
|
|
120
|
+
AUTHORITY_REVOKED: "AUTHORITY_REVOKED";
|
|
121
|
+
}>;
|
|
122
|
+
createdAt: z.ZodISODateTime;
|
|
123
|
+
expiresAt: z.ZodISODateTime;
|
|
124
|
+
}, z.core.$strict>>;
|
|
125
|
+
next: z.ZodNullable<z.ZodUUID>;
|
|
126
|
+
}, z.core.$strict>;
|
|
127
|
+
export declare const SharePublicInputSchema: z.ZodObject<{
|
|
128
|
+
shareId: z.ZodUUID;
|
|
129
|
+
secret: z.ZodString;
|
|
130
|
+
}, z.core.$strict>;
|
|
131
|
+
export type ShareCreate = z.infer<typeof ShareCreateSchema>;
|
|
132
|
+
export type ShareView = z.infer<typeof ShareViewSchema>;
|
|
133
|
+
export type ShareGet = z.infer<typeof ShareGetSchema>;
|
|
134
|
+
export type ShareRevoke = z.infer<typeof ShareRevokeSchema>;
|
|
135
|
+
export type ShareList = z.infer<typeof ShareListSchema>;
|
|
@@ -156,9 +156,9 @@ export declare const ResolvedConstraintSchema: z.ZodObject<{
|
|
|
156
156
|
}, z.core.$strict>>>;
|
|
157
157
|
}, z.core.$strict>], "kind">>;
|
|
158
158
|
reviewScales: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
159
|
+
PRODUCTION: "PRODUCTION";
|
|
159
160
|
INTRA_SHOT: "INTRA_SHOT";
|
|
160
161
|
INTER_SHOT: "INTER_SHOT";
|
|
161
|
-
PRODUCTION: "PRODUCTION";
|
|
162
162
|
}>>>;
|
|
163
163
|
key: z.ZodString;
|
|
164
164
|
family: z.ZodEnum<{
|
|
@@ -244,9 +244,9 @@ export declare const ConstraintSetSchema: z.ZodObject<{
|
|
|
244
244
|
}, z.core.$strict>>>;
|
|
245
245
|
}, z.core.$strict>], "kind">>;
|
|
246
246
|
reviewScales: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
247
|
+
PRODUCTION: "PRODUCTION";
|
|
247
248
|
INTRA_SHOT: "INTRA_SHOT";
|
|
248
249
|
INTER_SHOT: "INTER_SHOT";
|
|
249
|
-
PRODUCTION: "PRODUCTION";
|
|
250
250
|
}>>>;
|
|
251
251
|
key: z.ZodString;
|
|
252
252
|
family: z.ZodEnum<{
|
|
@@ -114,9 +114,9 @@ export declare const PreparationVersionSchema: z.ZodObject<{
|
|
|
114
114
|
}, z.core.$strict>>>;
|
|
115
115
|
}, z.core.$strict>], "kind">>;
|
|
116
116
|
reviewScales: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
117
|
+
PRODUCTION: "PRODUCTION";
|
|
117
118
|
INTRA_SHOT: "INTRA_SHOT";
|
|
118
119
|
INTER_SHOT: "INTER_SHOT";
|
|
119
|
-
PRODUCTION: "PRODUCTION";
|
|
120
120
|
}>>>;
|
|
121
121
|
key: z.ZodString;
|
|
122
122
|
family: z.ZodEnum<{
|
|
@@ -648,9 +648,9 @@ export declare const PrepareShotResultSchema: z.ZodObject<{
|
|
|
648
648
|
}, z.core.$strict>>>;
|
|
649
649
|
}, z.core.$strict>], "kind">>;
|
|
650
650
|
reviewScales: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
651
|
+
PRODUCTION: "PRODUCTION";
|
|
651
652
|
INTRA_SHOT: "INTRA_SHOT";
|
|
652
653
|
INTER_SHOT: "INTER_SHOT";
|
|
653
|
-
PRODUCTION: "PRODUCTION";
|
|
654
654
|
}>>>;
|
|
655
655
|
key: z.ZodString;
|
|
656
656
|
family: z.ZodEnum<{
|
|
@@ -1183,9 +1183,9 @@ export declare const PreparationViewSchema: z.ZodObject<{
|
|
|
1183
1183
|
}, z.core.$strict>>>;
|
|
1184
1184
|
}, z.core.$strict>], "kind">>;
|
|
1185
1185
|
reviewScales: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1186
|
+
PRODUCTION: "PRODUCTION";
|
|
1186
1187
|
INTRA_SHOT: "INTRA_SHOT";
|
|
1187
1188
|
INTER_SHOT: "INTER_SHOT";
|
|
1188
|
-
PRODUCTION: "PRODUCTION";
|
|
1189
1189
|
}>>>;
|
|
1190
1190
|
key: z.ZodString;
|
|
1191
1191
|
family: z.ZodEnum<{
|
|
@@ -1758,9 +1758,9 @@ export declare const PreparationQueryPageSchema: z.ZodObject<{
|
|
|
1758
1758
|
}, z.core.$strict>>>;
|
|
1759
1759
|
}, z.core.$strict>], "kind">>;
|
|
1760
1760
|
reviewScales: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1761
|
+
PRODUCTION: "PRODUCTION";
|
|
1761
1762
|
INTRA_SHOT: "INTRA_SHOT";
|
|
1762
1763
|
INTER_SHOT: "INTER_SHOT";
|
|
1763
|
-
PRODUCTION: "PRODUCTION";
|
|
1764
1764
|
}>>>;
|
|
1765
1765
|
key: z.ZodString;
|
|
1766
1766
|
family: z.ZodEnum<{
|
|
@@ -16,6 +16,16 @@ export declare const SoundPlanModelSchema: z.ZodObject<{
|
|
|
16
16
|
modelProfileVersion: z.ZodInt;
|
|
17
17
|
connectionId: z.ZodUUID;
|
|
18
18
|
}, z.core.$strict>;
|
|
19
|
+
export declare const SoundPlanNativeSpeechSchema: z.ZodObject<{
|
|
20
|
+
modelProfileId: z.ZodString;
|
|
21
|
+
modelProfileVersion: z.ZodInt;
|
|
22
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
23
|
+
execution: z.ZodObject<{
|
|
24
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
25
|
+
profileId: z.ZodLiteral<"KOKORO_INT8_ZH_EN_V1">;
|
|
26
|
+
modelDigest: z.ZodLiteral<"ebd0959580940e20dbb10a55775ec94e47229c7c503f65932403fe0764667126">;
|
|
27
|
+
}, z.core.$strict>;
|
|
28
|
+
}, z.core.$strict>;
|
|
19
29
|
export { SourceSoundTreatmentSchema } from "./source-sound-policy.js";
|
|
20
30
|
export declare const SoundMakingPlanContentSchema: z.ZodObject<{
|
|
21
31
|
visuals: z.ZodArray<z.ZodObject<{
|
|
@@ -62,11 +72,33 @@ export declare const SoundMakingPlanContentSchema: z.ZodObject<{
|
|
|
62
72
|
endMs: z.ZodInt;
|
|
63
73
|
text: z.ZodOptional<z.ZodString>;
|
|
64
74
|
voice: z.ZodOptional<z.ZodString>;
|
|
75
|
+
voiceProfile: z.ZodOptional<z.ZodObject<{
|
|
76
|
+
ref: z.ZodObject<{
|
|
77
|
+
ownerSystem: z.ZodString;
|
|
78
|
+
ownerTenantRef: z.ZodString;
|
|
79
|
+
voiceProfileRef: z.ZodString;
|
|
80
|
+
version: z.ZodInt;
|
|
81
|
+
digest: z.ZodString;
|
|
82
|
+
}, z.core.$strict>;
|
|
83
|
+
bindingKey: z.ZodString;
|
|
84
|
+
language: z.ZodString;
|
|
85
|
+
usage: z.ZodLiteral<"PRODUCTION">;
|
|
86
|
+
}, z.core.$strict>>;
|
|
65
87
|
model: z.ZodOptional<z.ZodObject<{
|
|
66
88
|
modelProfileId: z.ZodString;
|
|
67
89
|
modelProfileVersion: z.ZodInt;
|
|
68
90
|
connectionId: z.ZodUUID;
|
|
69
91
|
}, z.core.$strict>>;
|
|
92
|
+
nativeModel: z.ZodOptional<z.ZodObject<{
|
|
93
|
+
modelProfileId: z.ZodString;
|
|
94
|
+
modelProfileVersion: z.ZodInt;
|
|
95
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
96
|
+
execution: z.ZodObject<{
|
|
97
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
98
|
+
profileId: z.ZodLiteral<"KOKORO_INT8_ZH_EN_V1">;
|
|
99
|
+
modelDigest: z.ZodLiteral<"ebd0959580940e20dbb10a55775ec94e47229c7c503f65932403fe0764667126">;
|
|
100
|
+
}, z.core.$strict>;
|
|
101
|
+
}, z.core.$strict>>;
|
|
70
102
|
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
|
71
103
|
audio: z.ZodOptional<z.ZodObject<{
|
|
72
104
|
purpose: z.ZodEnum<{
|
|
@@ -143,11 +175,33 @@ export declare const SoundPlanVersionSchema: z.ZodObject<{
|
|
|
143
175
|
endMs: z.ZodInt;
|
|
144
176
|
text: z.ZodOptional<z.ZodString>;
|
|
145
177
|
voice: z.ZodOptional<z.ZodString>;
|
|
178
|
+
voiceProfile: z.ZodOptional<z.ZodObject<{
|
|
179
|
+
ref: z.ZodObject<{
|
|
180
|
+
ownerSystem: z.ZodString;
|
|
181
|
+
ownerTenantRef: z.ZodString;
|
|
182
|
+
voiceProfileRef: z.ZodString;
|
|
183
|
+
version: z.ZodInt;
|
|
184
|
+
digest: z.ZodString;
|
|
185
|
+
}, z.core.$strict>;
|
|
186
|
+
bindingKey: z.ZodString;
|
|
187
|
+
language: z.ZodString;
|
|
188
|
+
usage: z.ZodLiteral<"PRODUCTION">;
|
|
189
|
+
}, z.core.$strict>>;
|
|
146
190
|
model: z.ZodOptional<z.ZodObject<{
|
|
147
191
|
modelProfileId: z.ZodString;
|
|
148
192
|
modelProfileVersion: z.ZodInt;
|
|
149
193
|
connectionId: z.ZodUUID;
|
|
150
194
|
}, z.core.$strict>>;
|
|
195
|
+
nativeModel: z.ZodOptional<z.ZodObject<{
|
|
196
|
+
modelProfileId: z.ZodString;
|
|
197
|
+
modelProfileVersion: z.ZodInt;
|
|
198
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
199
|
+
execution: z.ZodObject<{
|
|
200
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
201
|
+
profileId: z.ZodLiteral<"KOKORO_INT8_ZH_EN_V1">;
|
|
202
|
+
modelDigest: z.ZodLiteral<"ebd0959580940e20dbb10a55775ec94e47229c7c503f65932403fe0764667126">;
|
|
203
|
+
}, z.core.$strict>;
|
|
204
|
+
}, z.core.$strict>>;
|
|
151
205
|
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
|
152
206
|
audio: z.ZodOptional<z.ZodObject<{
|
|
153
207
|
purpose: z.ZodEnum<{
|
|
@@ -224,11 +278,33 @@ export declare const SoundPlanValidateSchema: z.ZodObject<{
|
|
|
224
278
|
endMs: z.ZodInt;
|
|
225
279
|
text: z.ZodOptional<z.ZodString>;
|
|
226
280
|
voice: z.ZodOptional<z.ZodString>;
|
|
281
|
+
voiceProfile: z.ZodOptional<z.ZodObject<{
|
|
282
|
+
ref: z.ZodObject<{
|
|
283
|
+
ownerSystem: z.ZodString;
|
|
284
|
+
ownerTenantRef: z.ZodString;
|
|
285
|
+
voiceProfileRef: z.ZodString;
|
|
286
|
+
version: z.ZodInt;
|
|
287
|
+
digest: z.ZodString;
|
|
288
|
+
}, z.core.$strict>;
|
|
289
|
+
bindingKey: z.ZodString;
|
|
290
|
+
language: z.ZodString;
|
|
291
|
+
usage: z.ZodLiteral<"PRODUCTION">;
|
|
292
|
+
}, z.core.$strict>>;
|
|
227
293
|
model: z.ZodOptional<z.ZodObject<{
|
|
228
294
|
modelProfileId: z.ZodString;
|
|
229
295
|
modelProfileVersion: z.ZodInt;
|
|
230
296
|
connectionId: z.ZodUUID;
|
|
231
297
|
}, z.core.$strict>>;
|
|
298
|
+
nativeModel: z.ZodOptional<z.ZodObject<{
|
|
299
|
+
modelProfileId: z.ZodString;
|
|
300
|
+
modelProfileVersion: z.ZodInt;
|
|
301
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
302
|
+
execution: z.ZodObject<{
|
|
303
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
304
|
+
profileId: z.ZodLiteral<"KOKORO_INT8_ZH_EN_V1">;
|
|
305
|
+
modelDigest: z.ZodLiteral<"ebd0959580940e20dbb10a55775ec94e47229c7c503f65932403fe0764667126">;
|
|
306
|
+
}, z.core.$strict>;
|
|
307
|
+
}, z.core.$strict>>;
|
|
232
308
|
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
|
233
309
|
audio: z.ZodOptional<z.ZodObject<{
|
|
234
310
|
purpose: z.ZodEnum<{
|
|
@@ -303,11 +379,33 @@ export declare const SoundPlanAcceptSchema: z.ZodObject<{
|
|
|
303
379
|
endMs: z.ZodInt;
|
|
304
380
|
text: z.ZodOptional<z.ZodString>;
|
|
305
381
|
voice: z.ZodOptional<z.ZodString>;
|
|
382
|
+
voiceProfile: z.ZodOptional<z.ZodObject<{
|
|
383
|
+
ref: z.ZodObject<{
|
|
384
|
+
ownerSystem: z.ZodString;
|
|
385
|
+
ownerTenantRef: z.ZodString;
|
|
386
|
+
voiceProfileRef: z.ZodString;
|
|
387
|
+
version: z.ZodInt;
|
|
388
|
+
digest: z.ZodString;
|
|
389
|
+
}, z.core.$strict>;
|
|
390
|
+
bindingKey: z.ZodString;
|
|
391
|
+
language: z.ZodString;
|
|
392
|
+
usage: z.ZodLiteral<"PRODUCTION">;
|
|
393
|
+
}, z.core.$strict>>;
|
|
306
394
|
model: z.ZodOptional<z.ZodObject<{
|
|
307
395
|
modelProfileId: z.ZodString;
|
|
308
396
|
modelProfileVersion: z.ZodInt;
|
|
309
397
|
connectionId: z.ZodUUID;
|
|
310
398
|
}, z.core.$strict>>;
|
|
399
|
+
nativeModel: z.ZodOptional<z.ZodObject<{
|
|
400
|
+
modelProfileId: z.ZodString;
|
|
401
|
+
modelProfileVersion: z.ZodInt;
|
|
402
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
403
|
+
execution: z.ZodObject<{
|
|
404
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
405
|
+
profileId: z.ZodLiteral<"KOKORO_INT8_ZH_EN_V1">;
|
|
406
|
+
modelDigest: z.ZodLiteral<"ebd0959580940e20dbb10a55775ec94e47229c7c503f65932403fe0764667126">;
|
|
407
|
+
}, z.core.$strict>;
|
|
408
|
+
}, z.core.$strict>>;
|
|
311
409
|
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
|
312
410
|
audio: z.ZodOptional<z.ZodObject<{
|
|
313
411
|
purpose: z.ZodEnum<{
|
|
@@ -417,11 +515,33 @@ export declare const SoundPlanViewSchema: z.ZodObject<{
|
|
|
417
515
|
endMs: z.ZodInt;
|
|
418
516
|
text: z.ZodOptional<z.ZodString>;
|
|
419
517
|
voice: z.ZodOptional<z.ZodString>;
|
|
518
|
+
voiceProfile: z.ZodOptional<z.ZodObject<{
|
|
519
|
+
ref: z.ZodObject<{
|
|
520
|
+
ownerSystem: z.ZodString;
|
|
521
|
+
ownerTenantRef: z.ZodString;
|
|
522
|
+
voiceProfileRef: z.ZodString;
|
|
523
|
+
version: z.ZodInt;
|
|
524
|
+
digest: z.ZodString;
|
|
525
|
+
}, z.core.$strict>;
|
|
526
|
+
bindingKey: z.ZodString;
|
|
527
|
+
language: z.ZodString;
|
|
528
|
+
usage: z.ZodLiteral<"PRODUCTION">;
|
|
529
|
+
}, z.core.$strict>>;
|
|
420
530
|
model: z.ZodOptional<z.ZodObject<{
|
|
421
531
|
modelProfileId: z.ZodString;
|
|
422
532
|
modelProfileVersion: z.ZodInt;
|
|
423
533
|
connectionId: z.ZodUUID;
|
|
424
534
|
}, z.core.$strict>>;
|
|
535
|
+
nativeModel: z.ZodOptional<z.ZodObject<{
|
|
536
|
+
modelProfileId: z.ZodString;
|
|
537
|
+
modelProfileVersion: z.ZodInt;
|
|
538
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
539
|
+
execution: z.ZodObject<{
|
|
540
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
541
|
+
profileId: z.ZodLiteral<"KOKORO_INT8_ZH_EN_V1">;
|
|
542
|
+
modelDigest: z.ZodLiteral<"ebd0959580940e20dbb10a55775ec94e47229c7c503f65932403fe0764667126">;
|
|
543
|
+
}, z.core.$strict>;
|
|
544
|
+
}, z.core.$strict>>;
|
|
425
545
|
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
|
426
546
|
audio: z.ZodOptional<z.ZodObject<{
|
|
427
547
|
purpose: z.ZodEnum<{
|
|
@@ -509,11 +629,33 @@ export declare const SoundPlanReceiptSchema: z.ZodObject<{
|
|
|
509
629
|
endMs: z.ZodInt;
|
|
510
630
|
text: z.ZodOptional<z.ZodString>;
|
|
511
631
|
voice: z.ZodOptional<z.ZodString>;
|
|
632
|
+
voiceProfile: z.ZodOptional<z.ZodObject<{
|
|
633
|
+
ref: z.ZodObject<{
|
|
634
|
+
ownerSystem: z.ZodString;
|
|
635
|
+
ownerTenantRef: z.ZodString;
|
|
636
|
+
voiceProfileRef: z.ZodString;
|
|
637
|
+
version: z.ZodInt;
|
|
638
|
+
digest: z.ZodString;
|
|
639
|
+
}, z.core.$strict>;
|
|
640
|
+
bindingKey: z.ZodString;
|
|
641
|
+
language: z.ZodString;
|
|
642
|
+
usage: z.ZodLiteral<"PRODUCTION">;
|
|
643
|
+
}, z.core.$strict>>;
|
|
512
644
|
model: z.ZodOptional<z.ZodObject<{
|
|
513
645
|
modelProfileId: z.ZodString;
|
|
514
646
|
modelProfileVersion: z.ZodInt;
|
|
515
647
|
connectionId: z.ZodUUID;
|
|
516
648
|
}, z.core.$strict>>;
|
|
649
|
+
nativeModel: z.ZodOptional<z.ZodObject<{
|
|
650
|
+
modelProfileId: z.ZodString;
|
|
651
|
+
modelProfileVersion: z.ZodInt;
|
|
652
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
653
|
+
execution: z.ZodObject<{
|
|
654
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
655
|
+
profileId: z.ZodLiteral<"KOKORO_INT8_ZH_EN_V1">;
|
|
656
|
+
modelDigest: z.ZodLiteral<"ebd0959580940e20dbb10a55775ec94e47229c7c503f65932403fe0764667126">;
|
|
657
|
+
}, z.core.$strict>;
|
|
658
|
+
}, z.core.$strict>>;
|
|
517
659
|
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
|
518
660
|
audio: z.ZodOptional<z.ZodObject<{
|
|
519
661
|
purpose: z.ZodEnum<{
|
|
@@ -572,6 +714,54 @@ export declare const SoundPlanContextSchema: z.ZodObject<{
|
|
|
572
714
|
version: z.ZodInt;
|
|
573
715
|
enabled: z.ZodBoolean;
|
|
574
716
|
definition: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
717
|
+
family: z.ZodLiteral<"NATIVE_SPEECH">;
|
|
718
|
+
profile: z.ZodObject<{
|
|
719
|
+
id: z.ZodString;
|
|
720
|
+
version: z.ZodInt;
|
|
721
|
+
label: z.ZodString;
|
|
722
|
+
protocol: z.ZodLiteral<"KOKORO_ONNX_CPU_V1">;
|
|
723
|
+
execution: z.ZodObject<{
|
|
724
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
725
|
+
profileId: z.ZodLiteral<"KOKORO_INT8_ZH_EN_V1">;
|
|
726
|
+
modelDigest: z.ZodLiteral<"ebd0959580940e20dbb10a55775ec94e47229c7c503f65932403fe0764667126">;
|
|
727
|
+
}, z.core.$strict>;
|
|
728
|
+
textMaxCharacters: z.ZodInt;
|
|
729
|
+
languages: z.ZodArray<z.ZodEnum<{
|
|
730
|
+
zh: "zh";
|
|
731
|
+
en: "en";
|
|
732
|
+
}>>;
|
|
733
|
+
voices: z.ZodArray<z.ZodObject<{
|
|
734
|
+
label: z.ZodString;
|
|
735
|
+
parameterDefaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
|
736
|
+
parameterOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
737
|
+
unsupportedParameters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
738
|
+
id: z.ZodString;
|
|
739
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
740
|
+
zh: "zh";
|
|
741
|
+
en: "en";
|
|
742
|
+
}>>>;
|
|
743
|
+
}, z.core.$strict>>;
|
|
744
|
+
parameters: z.ZodObject<{
|
|
745
|
+
speed: z.ZodObject<{
|
|
746
|
+
label: z.ZodString;
|
|
747
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
748
|
+
maxLength: z.ZodOptional<z.ZodInt>;
|
|
749
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
750
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
751
|
+
description: z.ZodOptional<z.ZodString>;
|
|
752
|
+
maxItems: z.ZodOptional<z.ZodInt>;
|
|
753
|
+
maxKeyLength: z.ZodOptional<z.ZodInt>;
|
|
754
|
+
type: z.ZodLiteral<"NUMBER">;
|
|
755
|
+
min: z.ZodNumber;
|
|
756
|
+
max: z.ZodNumber;
|
|
757
|
+
default: z.ZodDefault<z.ZodNumber>;
|
|
758
|
+
}, z.core.$strict>;
|
|
759
|
+
}, z.core.$strict>;
|
|
760
|
+
sourceUrl: z.ZodLiteral<"https://k2-fsa.github.io/sherpa/onnx/tts/pretrained_models/kokoro.html">;
|
|
761
|
+
output: z.ZodLiteral<"PCM_S16LE_48000_V1">;
|
|
762
|
+
normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
|
|
763
|
+
}, z.core.$strict>;
|
|
764
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
575
765
|
costPolicy: z.ZodOptional<z.ZodObject<{
|
|
576
766
|
currency: z.ZodLiteral<"USD">;
|
|
577
767
|
sourceUrl: z.ZodURL;
|
|
@@ -1218,8 +1408,8 @@ export declare const SoundPlanContextSchema: z.ZodObject<{
|
|
|
1218
1408
|
QIANWEN_VIDEO_V1: "QIANWEN_VIDEO_V1";
|
|
1219
1409
|
}>;
|
|
1220
1410
|
modes: z.ZodArray<z.ZodEnum<{
|
|
1221
|
-
AUDIO: "AUDIO";
|
|
1222
1411
|
VIDEO: "VIDEO";
|
|
1412
|
+
AUDIO: "AUDIO";
|
|
1223
1413
|
AUDIOVISUAL: "AUDIOVISUAL";
|
|
1224
1414
|
VIDEO_ALL_FRAMES: "VIDEO_ALL_FRAMES";
|
|
1225
1415
|
}>>;
|
|
@@ -1259,8 +1449,8 @@ export declare const SoundPlanContextSchema: z.ZodObject<{
|
|
|
1259
1449
|
}>;
|
|
1260
1450
|
modes: z.ZodTuple<[z.ZodLiteral<"TRANSCRIPTION">], null>;
|
|
1261
1451
|
inputKinds: z.ZodArray<z.ZodEnum<{
|
|
1262
|
-
AUDIO: "AUDIO";
|
|
1263
1452
|
VIDEO: "VIDEO";
|
|
1453
|
+
AUDIO: "AUDIO";
|
|
1264
1454
|
}>>;
|
|
1265
1455
|
requestTimeoutMs: z.ZodInt;
|
|
1266
1456
|
maxBytes: z.ZodInt;
|
|
@@ -1525,6 +1715,7 @@ export declare const SoundPlanContextSchema: z.ZodObject<{
|
|
|
1525
1715
|
}, z.core.$strict>;
|
|
1526
1716
|
connectionLabel: z.ZodString;
|
|
1527
1717
|
connectionVersion: z.ZodInt;
|
|
1718
|
+
executionTarget: z.ZodOptional<z.ZodLiteral<"TENANT_DEVICE">>;
|
|
1528
1719
|
}, z.core.$strict>>;
|
|
1529
1720
|
audio: z.ZodArray<z.ZodObject<{
|
|
1530
1721
|
version: z.ZodObject<{
|
|
@@ -1533,6 +1724,7 @@ export declare const SoundPlanContextSchema: z.ZodObject<{
|
|
|
1533
1724
|
purpose: z.ZodEnum<{
|
|
1534
1725
|
VOICEOVER: "VOICEOVER";
|
|
1535
1726
|
MUSIC: "MUSIC";
|
|
1727
|
+
VOICE_SAMPLE: "VOICE_SAMPLE";
|
|
1536
1728
|
}>;
|
|
1537
1729
|
id: z.ZodUUID;
|
|
1538
1730
|
audioId: z.ZodUUID;
|
|
@@ -1558,10 +1750,26 @@ export declare const SoundPlanContextSchema: z.ZodObject<{
|
|
|
1558
1750
|
createdAt: z.ZodISODateTime;
|
|
1559
1751
|
generation: z.ZodOptional<z.ZodObject<{
|
|
1560
1752
|
generationId: z.ZodUUID;
|
|
1753
|
+
voiceProfile: z.ZodOptional<z.ZodObject<{
|
|
1754
|
+
ref: z.ZodObject<{
|
|
1755
|
+
ownerSystem: z.ZodString;
|
|
1756
|
+
ownerTenantRef: z.ZodString;
|
|
1757
|
+
voiceProfileRef: z.ZodString;
|
|
1758
|
+
version: z.ZodInt;
|
|
1759
|
+
digest: z.ZodString;
|
|
1760
|
+
}, z.core.$strict>;
|
|
1761
|
+
bindingKey: z.ZodString;
|
|
1762
|
+
language: z.ZodString;
|
|
1763
|
+
usage: z.ZodEnum<{
|
|
1764
|
+
AUDITION: "AUDITION";
|
|
1765
|
+
PRODUCTION: "PRODUCTION";
|
|
1766
|
+
}>;
|
|
1767
|
+
}, z.core.$strict>>;
|
|
1561
1768
|
executionClass: z.ZodEnum<{
|
|
1562
1769
|
LIVE: "LIVE";
|
|
1563
1770
|
TEST_ONLY: "TEST_ONLY";
|
|
1564
1771
|
}>;
|
|
1772
|
+
executionTarget: z.ZodOptional<z.ZodLiteral<"TENANT_DEVICE">>;
|
|
1565
1773
|
sourceArtifactId: z.ZodUUID;
|
|
1566
1774
|
sourceRepresentationId: z.ZodUUID;
|
|
1567
1775
|
sourceChecksumSha256: z.ZodString;
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** 费率以百万输入字符为单位,预留金额按微美元向上取整。 */
|
|
3
|
+
export declare function speechCostUpperBoundMicros(characters: number, microsPerMillion: number): number;
|
|
4
|
+
/** 模型版本维护输入字符计费的美元上界规则,业务调用方只批准重算结果。 */
|
|
5
|
+
export declare const SpeechCostPolicySchema: z.ZodObject<{
|
|
6
|
+
currency: z.ZodLiteral<"USD">;
|
|
7
|
+
unit: z.ZodLiteral<"INPUT_CHARACTER">;
|
|
8
|
+
ruleId: z.ZodString;
|
|
9
|
+
upperBoundMicrosPerMillionCharacters: z.ZodInt;
|
|
10
|
+
sourceUrl: z.ZodURL;
|
|
11
|
+
validUntil: z.ZodISODateTime;
|
|
12
|
+
}, z.core.$strict>;
|
|
13
|
+
/** 语音报价冻结精确原请求和执行版本,字符上界与供应商实际用量分开。 */
|
|
14
|
+
export declare const SpeechCostQuoteSchema: z.ZodObject<{
|
|
15
|
+
workload: z.ZodLiteral<"SPEECH_SYNTHESIS">;
|
|
16
|
+
currency: z.ZodLiteral<"USD">;
|
|
17
|
+
projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
|
|
18
|
+
selection: z.ZodObject<{
|
|
19
|
+
connectionId: z.core.$ZodBranded<z.ZodUUID, "ProviderConnectionId", "out">;
|
|
20
|
+
modelProfileId: z.ZodString;
|
|
21
|
+
}, z.core.$strict>;
|
|
22
|
+
expectedExecution: z.ZodObject<{
|
|
23
|
+
connectionVersion: z.ZodInt;
|
|
24
|
+
modelProfileVersion: z.ZodInt;
|
|
25
|
+
quoteValidUntil: z.ZodISODateTime;
|
|
26
|
+
credentialVersion: z.ZodInt;
|
|
27
|
+
}, z.core.$strict>;
|
|
28
|
+
intentFingerprint: z.ZodString;
|
|
29
|
+
textCharacters: z.ZodInt;
|
|
30
|
+
billableCharactersUpperBound: z.ZodInt;
|
|
31
|
+
upperBoundMicros: z.ZodInt;
|
|
32
|
+
upperBoundMicrosPerMillionCharacters: z.ZodInt;
|
|
33
|
+
ruleId: z.ZodString;
|
|
34
|
+
sourceUrl: z.ZodURL;
|
|
35
|
+
}, z.core.$strict>;
|
|
36
|
+
export type SpeechCostPolicy = z.infer<typeof SpeechCostPolicySchema>;
|
|
37
|
+
export type SpeechCostQuote = z.infer<typeof SpeechCostQuoteSchema>;
|
|
38
|
+
/** 设备只承接经过明确报价批准的原生语音请求。 */
|
|
39
|
+
export declare const SpeechDeviceStartSchema: z.ZodObject<{
|
|
40
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
41
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
42
|
+
voiceProfile: z.ZodOptional<z.ZodObject<{
|
|
43
|
+
ref: z.ZodObject<{
|
|
44
|
+
ownerSystem: z.ZodString;
|
|
45
|
+
ownerTenantRef: z.ZodString;
|
|
46
|
+
voiceProfileRef: z.ZodString;
|
|
47
|
+
version: z.ZodInt;
|
|
48
|
+
digest: z.ZodString;
|
|
49
|
+
}, z.core.$strict>;
|
|
50
|
+
bindingKey: z.ZodString;
|
|
51
|
+
language: z.ZodString;
|
|
52
|
+
usage: z.ZodEnum<{
|
|
53
|
+
AUDITION: "AUDITION";
|
|
54
|
+
PRODUCTION: "PRODUCTION";
|
|
55
|
+
}>;
|
|
56
|
+
}, z.core.$strict>>;
|
|
57
|
+
soundCue: z.ZodOptional<z.ZodObject<{
|
|
58
|
+
soundPlanVersionId: z.ZodUUID;
|
|
59
|
+
cueId: z.ZodString;
|
|
60
|
+
}, z.core.$strict>>;
|
|
61
|
+
expectedProductionRevision: z.ZodInt;
|
|
62
|
+
expectedAudioVersion: z.ZodInt;
|
|
63
|
+
expectedModelProfileVersion: z.ZodInt;
|
|
64
|
+
idempotencyKey: z.ZodString;
|
|
65
|
+
selection: z.ZodObject<{
|
|
66
|
+
connectionId: z.core.$ZodBranded<z.ZodUUID, "ProviderConnectionId", "out">;
|
|
67
|
+
modelProfileId: z.ZodString;
|
|
68
|
+
}, z.core.$strict>;
|
|
69
|
+
text: z.ZodString;
|
|
70
|
+
voice: z.ZodString;
|
|
71
|
+
parameters: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
|
72
|
+
deviceId: z.ZodOptional<z.ZodUUID>;
|
|
73
|
+
approvedQuote: z.ZodObject<{
|
|
74
|
+
workload: z.ZodLiteral<"SPEECH_SYNTHESIS">;
|
|
75
|
+
currency: z.ZodLiteral<"USD">;
|
|
76
|
+
projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
|
|
77
|
+
selection: z.ZodObject<{
|
|
78
|
+
connectionId: z.core.$ZodBranded<z.ZodUUID, "ProviderConnectionId", "out">;
|
|
79
|
+
modelProfileId: z.ZodString;
|
|
80
|
+
}, z.core.$strict>;
|
|
81
|
+
expectedExecution: z.ZodObject<{
|
|
82
|
+
connectionVersion: z.ZodInt;
|
|
83
|
+
modelProfileVersion: z.ZodInt;
|
|
84
|
+
quoteValidUntil: z.ZodISODateTime;
|
|
85
|
+
credentialVersion: z.ZodInt;
|
|
86
|
+
}, z.core.$strict>;
|
|
87
|
+
intentFingerprint: z.ZodString;
|
|
88
|
+
textCharacters: z.ZodInt;
|
|
89
|
+
billableCharactersUpperBound: z.ZodInt;
|
|
90
|
+
upperBoundMicros: z.ZodInt;
|
|
91
|
+
upperBoundMicrosPerMillionCharacters: z.ZodInt;
|
|
92
|
+
ruleId: z.ZodString;
|
|
93
|
+
sourceUrl: z.ZodURL;
|
|
94
|
+
}, z.core.$strict>;
|
|
95
|
+
}, z.core.$strict>;
|
|
96
|
+
export type SpeechDeviceStart = z.infer<typeof SpeechDeviceStartSchema>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const SpeechParameterRuleSchema: z.ZodObject<{
|
|
3
|
+
label: z.ZodString;
|
|
4
|
+
type: z.ZodEnum<{
|
|
5
|
+
STRING: "STRING";
|
|
6
|
+
NUMBER: "NUMBER";
|
|
7
|
+
BOOLEAN: "BOOLEAN";
|
|
8
|
+
INTEGER: "INTEGER";
|
|
9
|
+
STRING_ARRAY: "STRING_ARRAY";
|
|
10
|
+
STRING_MAP: "STRING_MAP";
|
|
11
|
+
}>;
|
|
12
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
13
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
maxLength: z.ZodOptional<z.ZodInt>;
|
|
16
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17
|
+
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
18
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
19
|
+
description: z.ZodOptional<z.ZodString>;
|
|
20
|
+
maxItems: z.ZodOptional<z.ZodInt>;
|
|
21
|
+
maxKeyLength: z.ZodOptional<z.ZodInt>;
|
|
22
|
+
}, z.core.$strict>;
|
|
23
|
+
export declare const SpeechParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
24
|
+
export declare const SpeechVoiceSchema: z.ZodObject<{
|
|
25
|
+
id: z.ZodString;
|
|
26
|
+
label: z.ZodString;
|
|
27
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
28
|
+
parameterDefaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
|
29
|
+
parameterOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
30
|
+
unsupportedParameters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
31
|
+
}, z.core.$strict>;
|
|
32
|
+
export type SpeechVoiceModel = {
|
|
33
|
+
id: string;
|
|
34
|
+
version: number;
|
|
35
|
+
textMaxCharacters: number;
|
|
36
|
+
voices: z.infer<typeof SpeechVoiceSchema>[];
|
|
37
|
+
languages: string[];
|
|
38
|
+
parameters: Record<string, z.infer<typeof SpeechParameterRuleSchema>>;
|
|
39
|
+
};
|