@nativestudio/cli 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 +37 -8
- package/LICENSE +201 -21
- package/components/runtime.json +33 -4
- package/components/runtime.tgz +0 -0
- package/dist/_chunks/chunk-27KI24GK.js +1 -0
- package/dist/_chunks/chunk-2S7FI3HF.js +1 -0
- package/dist/_chunks/chunk-3RNDOAQI.js +1 -0
- package/dist/_chunks/{chunk-C33A2DW4.js → chunk-3TOXIJ7K.js} +1 -1
- package/dist/_chunks/chunk-4AD4PNUX.js +1 -0
- package/dist/_chunks/chunk-5Y7J2OYL.js +45 -0
- package/dist/_chunks/chunk-76E5R3OC.js +1 -0
- package/dist/_chunks/chunk-7I7ARCY7.js +1 -0
- package/dist/_chunks/chunk-7IVAYDU3.js +1 -0
- package/dist/_chunks/chunk-7P2NA6TH.js +1 -0
- package/dist/_chunks/chunk-DLW42PJ6.js +1 -0
- package/dist/_chunks/chunk-DMA53YVU.js +1 -0
- package/dist/_chunks/chunk-ETK7GYCB.js +1 -0
- package/dist/_chunks/chunk-FFXSXE3G.js +1 -0
- package/dist/_chunks/chunk-H4FH6STZ.js +1 -0
- package/dist/_chunks/chunk-KOCUZ3AE.js +1 -0
- package/dist/_chunks/chunk-LDBXGRCQ.js +1 -0
- package/dist/_chunks/chunk-LTNJ45JP.js +1 -0
- package/dist/_chunks/chunk-MZWEFYHE.js +1 -0
- package/dist/_chunks/{chunk-VDNNFVTZ.js → chunk-OW6R4MAQ.js} +1 -1
- package/dist/_chunks/chunk-PQCA4X5H.js +1 -0
- package/dist/_chunks/chunk-QGK6G6YS.js +1 -0
- package/dist/_chunks/chunk-SM2I7TJ3.js +1 -0
- package/dist/_chunks/chunk-TT7IA5HB.js +1 -0
- package/dist/_chunks/chunk-VXYZCCCQ.js +1 -0
- package/dist/_chunks/chunk-VYCNG6TR.js +1 -0
- package/dist/_chunks/chunk-WLQMICJN.js +1 -0
- package/dist/_chunks/chunk-WTJVS2VS.js +1 -0
- package/dist/_chunks/chunk-X5MVC46N.js +1 -0
- package/dist/_chunks/chunk-X5PBZTKX.js +1 -0
- package/dist/_chunks/chunk-ZMJYBUS3.js +1 -0
- package/dist/_chunks/chunk-ZYXHPTT2.js +1 -0
- package/dist/_chunks/component-contract-2JHTRTOB.js +1 -0
- package/dist/_chunks/component-preflight-6OWDQAZT.js +1 -0
- package/dist/_chunks/connect-7TJDWXV4.js +1 -0
- package/dist/_chunks/device-management-JPS4HG34.js +1 -0
- package/dist/_chunks/device-preflight-GTQ67H7C.js +1 -0
- package/dist/_chunks/devices-inventory-E6ZLXCVR.js +1 -0
- package/dist/_chunks/devices-main-2BMCANKU.js +1 -0
- package/dist/_chunks/files-JJ6YOULB.js +1 -0
- package/dist/_chunks/host-component-ZYQ5ETVL.js +1 -0
- package/dist/_chunks/host-help-VNLA3YOV.js +1 -0
- package/dist/_chunks/host-main-KLWW7R47.js +1 -0
- package/dist/_chunks/http-profile-3VVSWYA5.js +1 -0
- package/dist/_chunks/library-main-3WWH7UYV.js +1 -0
- package/dist/_chunks/local-main-5BW63USP.js +1 -0
- package/dist/_chunks/local-mcp-AARKBDU5.js +1 -0
- package/dist/_chunks/main-LGYJ3ZCN.js +2 -0
- package/dist/_chunks/mcp-BLSK636Q.js +1 -0
- package/dist/_chunks/oauth-RPME2XYB.js +1 -0
- package/dist/_chunks/observe-entry-JVZAMB7N.js +1 -0
- package/dist/_chunks/remote-client-25Z65VJU.js +1 -0
- package/dist/_chunks/render-main-6Z3DKCWL.js +1 -0
- package/dist/_chunks/series-main-FBERVYWG.js +1 -0
- package/dist/_chunks/source-import-PNMCMTK7.js +1 -0
- package/dist/_chunks/src-7HSJFRVQ.js +1 -0
- package/dist/_chunks/stdio-main-HNLJCG45.js +1 -0
- package/dist/_chunks/workspace-main-QX5JGEMR.js +1 -0
- package/dist/_types/cli/local/desktop-contract.d.ts +1981 -22
- package/dist/_types/cli/local/desktop-device-contract.d.ts +807 -0
- package/dist/_types/cli/local/desktop-device-navigation.d.ts +3 -0
- package/dist/_types/cli/local/desktop-device-owner.d.ts +273 -0
- package/dist/_types/cli/local/desktop-device-state.d.ts +455 -0
- package/dist/_types/cli/local/desktop-library.d.ts +853 -0
- package/dist/_types/cli/local/desktop-owner.d.ts +787 -4
- package/dist/_types/cli/local/ledger.d.ts +76 -20
- package/dist/_types/cli/local/manager.d.ts +1233 -49
- package/dist/_types/cli/local/mcp-tools.d.ts +313 -54
- package/dist/_types/cli/local/releases.d.ts +30 -7
- package/dist/_types/cli/local-management.d.ts +9 -2
- package/dist/_types/cli/local-navigation.d.ts +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/errors.d.ts +9 -3
- 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/entry.js +1 -1
- package/dist/local-management.js +1 -1
- package/dist/local-navigation.js +1 -1
- package/dist/native/helper.exe +0 -0
- package/dist/native/helper.json +1 -0
- package/package.json +2 -8
- package/README.md +0 -95
- package/dist/_chunks/chunk-66CUOZVI.js +0 -1
- package/dist/_chunks/chunk-6NVIN2NI.js +0 -1
- package/dist/_chunks/chunk-7S3DJ2QE.js +0 -1
- package/dist/_chunks/chunk-BVSTJQJI.js +0 -1
- package/dist/_chunks/chunk-C753RRRA.js +0 -1
- package/dist/_chunks/chunk-E57YVMQ4.js +0 -1
- package/dist/_chunks/chunk-GJ7BZJLW.js +0 -1
- package/dist/_chunks/chunk-HLKERZIE.js +0 -1
- package/dist/_chunks/chunk-K6LVS2IN.js +0 -1
- package/dist/_chunks/chunk-KHKUJXQX.js +0 -1
- package/dist/_chunks/chunk-PUNG4ND7.js +0 -1
- package/dist/_chunks/chunk-VC3ODN3M.js +0 -1
- package/dist/_chunks/chunk-VPYAXWXY.js +0 -1
- package/dist/_chunks/files-FZEK2ZZJ.js +0 -1
- package/dist/_chunks/local-main-NLFS74Q4.js +0 -1
- package/dist/_chunks/local-mcp-OLHBBVNN.js +0 -1
- package/dist/_chunks/main-VRIQTI6R.js +0 -2
- package/dist/_chunks/mcp-EIMXNRH3.js +0 -1
- package/dist/_chunks/oauth-F7EZGVME.js +0 -1
- package/dist/_chunks/project-connect-MXM7IY55.js +0 -1
- package/dist/_chunks/src-7F6ZEU3U.js +0 -1
- package/dist/_chunks/stdio-main-KOGQ5OWF.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
|
@@ -1,26 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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>]>>;
|
|
2
|
+
import { SpeechParametersSchema } from "./speech-parameters.js";
|
|
3
|
+
export { SpeechParametersSchema, SpeechParameterRuleSchema, SpeechVoiceSchema, } from "./speech-parameters.js";
|
|
4
|
+
export type { SpeechVoiceModel } from "./speech-parameters.js";
|
|
24
5
|
export declare const SpeechModelProfileSchema: z.ZodObject<{
|
|
25
6
|
id: z.ZodString;
|
|
26
7
|
version: z.ZodInt;
|
|
@@ -159,6 +140,21 @@ export declare const SpeechExecutionBindingSchema: z.ZodObject<{
|
|
|
159
140
|
export declare const SpeechStartSchema: z.ZodObject<{
|
|
160
141
|
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
161
142
|
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
143
|
+
voiceProfile: z.ZodOptional<z.ZodObject<{
|
|
144
|
+
ref: z.ZodObject<{
|
|
145
|
+
ownerSystem: z.ZodString;
|
|
146
|
+
ownerTenantRef: z.ZodString;
|
|
147
|
+
voiceProfileRef: z.ZodString;
|
|
148
|
+
version: z.ZodInt;
|
|
149
|
+
digest: z.ZodString;
|
|
150
|
+
}, z.core.$strict>;
|
|
151
|
+
bindingKey: z.ZodString;
|
|
152
|
+
language: z.ZodString;
|
|
153
|
+
usage: z.ZodEnum<{
|
|
154
|
+
AUDITION: "AUDITION";
|
|
155
|
+
PRODUCTION: "PRODUCTION";
|
|
156
|
+
}>;
|
|
157
|
+
}, z.core.$strict>>;
|
|
162
158
|
soundCue: z.ZodOptional<z.ZodObject<{
|
|
163
159
|
soundPlanVersionId: z.ZodUUID;
|
|
164
160
|
cueId: z.ZodString;
|
|
@@ -181,6 +177,36 @@ export declare const SpeechGetSchema: z.ZodObject<{
|
|
|
181
177
|
generationId: z.ZodUUID;
|
|
182
178
|
}, z.core.$strict>;
|
|
183
179
|
export declare const SpeechAdmissionSchema: z.ZodObject<{
|
|
180
|
+
humanLinks: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
181
|
+
status: z.ZodLiteral<"AVAILABLE">;
|
|
182
|
+
items: z.ZodArray<z.ZodObject<{
|
|
183
|
+
rel: z.ZodEnum<{
|
|
184
|
+
delivery: "delivery";
|
|
185
|
+
workspace: "workspace";
|
|
186
|
+
project: "project";
|
|
187
|
+
production: "production";
|
|
188
|
+
artifact: "artifact";
|
|
189
|
+
voice_profile: "voice_profile";
|
|
190
|
+
}>;
|
|
191
|
+
href: z.ZodURL;
|
|
192
|
+
}, z.core.$strict>>;
|
|
193
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
194
|
+
status: z.ZodEnum<{
|
|
195
|
+
UNAVAILABLE: "UNAVAILABLE";
|
|
196
|
+
UNCONFIGURED: "UNCONFIGURED";
|
|
197
|
+
}>;
|
|
198
|
+
items: z.ZodArray<z.ZodObject<{
|
|
199
|
+
rel: z.ZodEnum<{
|
|
200
|
+
delivery: "delivery";
|
|
201
|
+
workspace: "workspace";
|
|
202
|
+
project: "project";
|
|
203
|
+
production: "production";
|
|
204
|
+
artifact: "artifact";
|
|
205
|
+
voice_profile: "voice_profile";
|
|
206
|
+
}>;
|
|
207
|
+
href: z.ZodURL;
|
|
208
|
+
}, z.core.$strict>>;
|
|
209
|
+
}, z.core.$strict>], "status">>;
|
|
184
210
|
semanticStatus: z.ZodLiteral<"ACCEPTED">;
|
|
185
211
|
generationId: z.ZodUUID;
|
|
186
212
|
runtimeJobId: z.ZodUUID;
|
|
@@ -196,6 +222,36 @@ export declare const SpeechGenerationViewSchema: z.ZodObject<{
|
|
|
196
222
|
LIVE: "LIVE";
|
|
197
223
|
TEST_ONLY: "TEST_ONLY";
|
|
198
224
|
}>;
|
|
225
|
+
humanLinks: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
226
|
+
status: z.ZodLiteral<"AVAILABLE">;
|
|
227
|
+
items: z.ZodArray<z.ZodObject<{
|
|
228
|
+
rel: z.ZodEnum<{
|
|
229
|
+
delivery: "delivery";
|
|
230
|
+
workspace: "workspace";
|
|
231
|
+
project: "project";
|
|
232
|
+
production: "production";
|
|
233
|
+
artifact: "artifact";
|
|
234
|
+
voice_profile: "voice_profile";
|
|
235
|
+
}>;
|
|
236
|
+
href: z.ZodURL;
|
|
237
|
+
}, z.core.$strict>>;
|
|
238
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
239
|
+
status: z.ZodEnum<{
|
|
240
|
+
UNAVAILABLE: "UNAVAILABLE";
|
|
241
|
+
UNCONFIGURED: "UNCONFIGURED";
|
|
242
|
+
}>;
|
|
243
|
+
items: z.ZodArray<z.ZodObject<{
|
|
244
|
+
rel: z.ZodEnum<{
|
|
245
|
+
delivery: "delivery";
|
|
246
|
+
workspace: "workspace";
|
|
247
|
+
project: "project";
|
|
248
|
+
production: "production";
|
|
249
|
+
artifact: "artifact";
|
|
250
|
+
voice_profile: "voice_profile";
|
|
251
|
+
}>;
|
|
252
|
+
href: z.ZodURL;
|
|
253
|
+
}, z.core.$strict>>;
|
|
254
|
+
}, z.core.$strict>], "status">>;
|
|
199
255
|
productionRevision: z.ZodInt;
|
|
200
256
|
runtimeJobId: z.ZodUUID;
|
|
201
257
|
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
@@ -204,6 +260,21 @@ export declare const SpeechGenerationViewSchema: z.ZodObject<{
|
|
|
204
260
|
soundPlanVersionId: z.ZodUUID;
|
|
205
261
|
cueId: z.ZodString;
|
|
206
262
|
}, z.core.$strict>>;
|
|
263
|
+
voiceProfile: z.ZodOptional<z.ZodObject<{
|
|
264
|
+
ref: z.ZodObject<{
|
|
265
|
+
ownerSystem: z.ZodString;
|
|
266
|
+
ownerTenantRef: z.ZodString;
|
|
267
|
+
voiceProfileRef: z.ZodString;
|
|
268
|
+
version: z.ZodInt;
|
|
269
|
+
digest: z.ZodString;
|
|
270
|
+
}, z.core.$strict>;
|
|
271
|
+
bindingKey: z.ZodString;
|
|
272
|
+
language: z.ZodString;
|
|
273
|
+
usage: z.ZodEnum<{
|
|
274
|
+
AUDITION: "AUDITION";
|
|
275
|
+
PRODUCTION: "PRODUCTION";
|
|
276
|
+
}>;
|
|
277
|
+
}, z.core.$strict>>;
|
|
207
278
|
text: z.ZodString;
|
|
208
279
|
voice: z.ZodString;
|
|
209
280
|
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
@@ -274,8 +345,8 @@ export declare const SpeechGenerationViewSchema: z.ZodObject<{
|
|
|
274
345
|
CANCELLED: "CANCELLED";
|
|
275
346
|
RUNNING: "RUNNING";
|
|
276
347
|
SUPERSEDED: "SUPERSEDED";
|
|
277
|
-
READY: "READY";
|
|
278
348
|
PENDING: "PENDING";
|
|
349
|
+
READY: "READY";
|
|
279
350
|
WAITING: "WAITING";
|
|
280
351
|
SUCCEEDED: "SUCCEEDED";
|
|
281
352
|
}>;
|
|
@@ -295,6 +366,7 @@ export declare const SpeechGenerationViewSchema: z.ZodObject<{
|
|
|
295
366
|
purpose: z.ZodEnum<{
|
|
296
367
|
VOICEOVER: "VOICEOVER";
|
|
297
368
|
MUSIC: "MUSIC";
|
|
369
|
+
VOICE_SAMPLE: "VOICE_SAMPLE";
|
|
298
370
|
}>;
|
|
299
371
|
id: z.ZodUUID;
|
|
300
372
|
audioId: z.ZodUUID;
|
|
@@ -320,10 +392,26 @@ export declare const SpeechGenerationViewSchema: z.ZodObject<{
|
|
|
320
392
|
createdAt: z.ZodISODateTime;
|
|
321
393
|
generation: z.ZodOptional<z.ZodObject<{
|
|
322
394
|
generationId: z.ZodUUID;
|
|
395
|
+
voiceProfile: z.ZodOptional<z.ZodObject<{
|
|
396
|
+
ref: z.ZodObject<{
|
|
397
|
+
ownerSystem: z.ZodString;
|
|
398
|
+
ownerTenantRef: z.ZodString;
|
|
399
|
+
voiceProfileRef: z.ZodString;
|
|
400
|
+
version: z.ZodInt;
|
|
401
|
+
digest: z.ZodString;
|
|
402
|
+
}, z.core.$strict>;
|
|
403
|
+
bindingKey: z.ZodString;
|
|
404
|
+
language: z.ZodString;
|
|
405
|
+
usage: z.ZodEnum<{
|
|
406
|
+
AUDITION: "AUDITION";
|
|
407
|
+
PRODUCTION: "PRODUCTION";
|
|
408
|
+
}>;
|
|
409
|
+
}, z.core.$strict>>;
|
|
323
410
|
executionClass: z.ZodEnum<{
|
|
324
411
|
LIVE: "LIVE";
|
|
325
412
|
TEST_ONLY: "TEST_ONLY";
|
|
326
413
|
}>;
|
|
414
|
+
executionTarget: z.ZodOptional<z.ZodLiteral<"TENANT_DEVICE">>;
|
|
327
415
|
sourceArtifactId: z.ZodUUID;
|
|
328
416
|
sourceRepresentationId: z.ZodUUID;
|
|
329
417
|
sourceChecksumSha256: z.ZodString;
|
|
@@ -344,6 +432,473 @@ export declare const SpeechGenerationViewSchema: z.ZodObject<{
|
|
|
344
432
|
export type SpeechModelProfile = z.infer<typeof SpeechModelProfileSchema>;
|
|
345
433
|
export type SpeechParameters = z.infer<typeof SpeechParametersSchema>;
|
|
346
434
|
export type SpeechStart = z.infer<typeof SpeechStartSchema>;
|
|
435
|
+
export declare const LocalSpeechBodySchema: z.ZodObject<{
|
|
436
|
+
expectedProductionRevision: z.ZodInt;
|
|
437
|
+
expectedAudioVersion: z.ZodInt;
|
|
438
|
+
idempotencyKey: z.ZodString;
|
|
439
|
+
text: z.ZodString;
|
|
440
|
+
rateWordsPerMinute: z.ZodOptional<z.ZodInt>;
|
|
441
|
+
voiceProfile: z.ZodOptional<z.ZodObject<{
|
|
442
|
+
ref: z.ZodObject<{
|
|
443
|
+
ownerSystem: z.ZodString;
|
|
444
|
+
ownerTenantRef: z.ZodString;
|
|
445
|
+
voiceProfileRef: z.ZodString;
|
|
446
|
+
version: z.ZodInt;
|
|
447
|
+
digest: z.ZodString;
|
|
448
|
+
}, z.core.$strict>;
|
|
449
|
+
bindingKey: z.ZodString;
|
|
450
|
+
language: z.ZodString;
|
|
451
|
+
usage: z.ZodEnum<{
|
|
452
|
+
AUDITION: "AUDITION";
|
|
453
|
+
PRODUCTION: "PRODUCTION";
|
|
454
|
+
}>;
|
|
455
|
+
}, z.core.$strict>>;
|
|
456
|
+
soundCue: z.ZodOptional<z.ZodObject<{
|
|
457
|
+
soundPlanVersionId: z.ZodUUID;
|
|
458
|
+
cueId: z.ZodString;
|
|
459
|
+
}, z.core.$strict>>;
|
|
460
|
+
deviceExecution: z.ZodObject<{
|
|
461
|
+
deviceId: z.ZodOptional<z.ZodUUID>;
|
|
462
|
+
}, z.core.$strict>;
|
|
463
|
+
}, z.core.$strict>;
|
|
464
|
+
export declare const LocalSpeechStartSchema: z.ZodObject<{
|
|
465
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
466
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
467
|
+
expectedProductionRevision: z.ZodInt;
|
|
468
|
+
expectedAudioVersion: z.ZodInt;
|
|
469
|
+
idempotencyKey: z.ZodString;
|
|
470
|
+
text: z.ZodString;
|
|
471
|
+
rateWordsPerMinute: z.ZodOptional<z.ZodInt>;
|
|
472
|
+
voiceProfile: z.ZodOptional<z.ZodObject<{
|
|
473
|
+
ref: z.ZodObject<{
|
|
474
|
+
ownerSystem: z.ZodString;
|
|
475
|
+
ownerTenantRef: z.ZodString;
|
|
476
|
+
voiceProfileRef: z.ZodString;
|
|
477
|
+
version: z.ZodInt;
|
|
478
|
+
digest: z.ZodString;
|
|
479
|
+
}, z.core.$strict>;
|
|
480
|
+
bindingKey: z.ZodString;
|
|
481
|
+
language: z.ZodString;
|
|
482
|
+
usage: z.ZodEnum<{
|
|
483
|
+
AUDITION: "AUDITION";
|
|
484
|
+
PRODUCTION: "PRODUCTION";
|
|
485
|
+
}>;
|
|
486
|
+
}, z.core.$strict>>;
|
|
487
|
+
soundCue: z.ZodOptional<z.ZodObject<{
|
|
488
|
+
soundPlanVersionId: z.ZodUUID;
|
|
489
|
+
cueId: z.ZodString;
|
|
490
|
+
}, z.core.$strict>>;
|
|
491
|
+
deviceExecution: z.ZodObject<{
|
|
492
|
+
deviceId: z.ZodOptional<z.ZodUUID>;
|
|
493
|
+
}, z.core.$strict>;
|
|
494
|
+
}, z.core.$strict>;
|
|
495
|
+
export declare const NativeSpeechBindingSchema: z.ZodObject<{
|
|
496
|
+
profile: z.ZodObject<{
|
|
497
|
+
id: z.ZodString;
|
|
498
|
+
version: z.ZodInt;
|
|
499
|
+
label: z.ZodString;
|
|
500
|
+
protocol: z.ZodLiteral<"KOKORO_ONNX_CPU_V1">;
|
|
501
|
+
execution: z.ZodObject<{
|
|
502
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
503
|
+
profileId: z.ZodLiteral<"KOKORO_INT8_ZH_EN_V1">;
|
|
504
|
+
modelDigest: z.ZodLiteral<"ebd0959580940e20dbb10a55775ec94e47229c7c503f65932403fe0764667126">;
|
|
505
|
+
}, z.core.$strict>;
|
|
506
|
+
textMaxCharacters: z.ZodInt;
|
|
507
|
+
languages: z.ZodArray<z.ZodEnum<{
|
|
508
|
+
zh: "zh";
|
|
509
|
+
en: "en";
|
|
510
|
+
}>>;
|
|
511
|
+
voices: z.ZodArray<z.ZodObject<{
|
|
512
|
+
label: z.ZodString;
|
|
513
|
+
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>]>>>;
|
|
514
|
+
parameterOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
515
|
+
unsupportedParameters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
516
|
+
id: z.ZodString;
|
|
517
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
518
|
+
zh: "zh";
|
|
519
|
+
en: "en";
|
|
520
|
+
}>>>;
|
|
521
|
+
}, z.core.$strict>>;
|
|
522
|
+
parameters: z.ZodObject<{
|
|
523
|
+
speed: z.ZodObject<{
|
|
524
|
+
label: z.ZodString;
|
|
525
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
526
|
+
maxLength: z.ZodOptional<z.ZodInt>;
|
|
527
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
528
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
529
|
+
description: z.ZodOptional<z.ZodString>;
|
|
530
|
+
maxItems: z.ZodOptional<z.ZodInt>;
|
|
531
|
+
maxKeyLength: z.ZodOptional<z.ZodInt>;
|
|
532
|
+
type: z.ZodLiteral<"NUMBER">;
|
|
533
|
+
min: z.ZodNumber;
|
|
534
|
+
max: z.ZodNumber;
|
|
535
|
+
default: z.ZodDefault<z.ZodNumber>;
|
|
536
|
+
}, z.core.$strict>;
|
|
537
|
+
}, z.core.$strict>;
|
|
538
|
+
sourceUrl: z.ZodLiteral<"https://k2-fsa.github.io/sherpa/onnx/tts/pretrained_models/kokoro.html">;
|
|
539
|
+
output: z.ZodLiteral<"PCM_S16LE_48000_V1">;
|
|
540
|
+
normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
|
|
541
|
+
}, z.core.$strict>;
|
|
542
|
+
voice: z.ZodString;
|
|
543
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
544
|
+
}, z.core.$strict>;
|
|
545
|
+
export declare const NativeSpeechBasisSchema: z.ZodObject<{
|
|
546
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
547
|
+
modelProfileId: z.ZodString;
|
|
548
|
+
modelProfileVersion: z.ZodInt;
|
|
549
|
+
label: z.ZodString;
|
|
550
|
+
voice: z.ZodString;
|
|
551
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
552
|
+
execution: z.ZodObject<{
|
|
553
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
554
|
+
profileId: z.ZodLiteral<"KOKORO_INT8_ZH_EN_V1">;
|
|
555
|
+
modelDigest: z.ZodLiteral<"ebd0959580940e20dbb10a55775ec94e47229c7c503f65932403fe0764667126">;
|
|
556
|
+
}, z.core.$strict>;
|
|
557
|
+
}, z.core.$strict>;
|
|
558
|
+
export declare const LocalSpeechBindingSchema: z.ZodObject<{
|
|
559
|
+
target: z.ZodLiteral<"TENANT_DEVICE">;
|
|
560
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
561
|
+
deviceId: z.ZodUUID;
|
|
562
|
+
identity: z.ZodUnion<readonly [z.ZodObject<{
|
|
563
|
+
adapter: z.ZodLiteral<"MACOS_SAY_V1">;
|
|
564
|
+
voiceId: z.ZodLiteral<"com.apple.speech.synthesis.voice.Albert">;
|
|
565
|
+
locale: z.ZodLiteral<"en-US">;
|
|
566
|
+
systemBuild: z.ZodString;
|
|
567
|
+
saySha256: z.ZodString;
|
|
568
|
+
sandboxSha256: z.ZodString;
|
|
569
|
+
synthesizerSha256: z.ZodString;
|
|
570
|
+
voiceCatalogSha256: z.ZodString;
|
|
571
|
+
voiceProbeSha256: z.ZodString;
|
|
572
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
573
|
+
profileId: z.ZodLiteral<"KOKORO_INT8_ZH_EN_V1">;
|
|
574
|
+
adapter: z.ZodLiteral<"KOKORO_ONNX_CPU_V1">;
|
|
575
|
+
platform: z.ZodObject<{
|
|
576
|
+
os: z.ZodEnum<{
|
|
577
|
+
darwin: "darwin";
|
|
578
|
+
linux: "linux";
|
|
579
|
+
}>;
|
|
580
|
+
architecture: z.ZodEnum<{
|
|
581
|
+
arm64: "arm64";
|
|
582
|
+
x64: "x64";
|
|
583
|
+
}>;
|
|
584
|
+
}, z.core.$strict>;
|
|
585
|
+
engineVersion: z.ZodLiteral<"1.12.33">;
|
|
586
|
+
engineDigest: z.ZodString;
|
|
587
|
+
modelDigest: z.ZodLiteral<"ebd0959580940e20dbb10a55775ec94e47229c7c503f65932403fe0764667126">;
|
|
588
|
+
bridgeSha256: z.ZodString;
|
|
589
|
+
nodeSha256: z.ZodString;
|
|
590
|
+
}, z.core.$strict>]>;
|
|
591
|
+
native: z.ZodOptional<z.ZodObject<{
|
|
592
|
+
profile: z.ZodObject<{
|
|
593
|
+
id: z.ZodString;
|
|
594
|
+
version: z.ZodInt;
|
|
595
|
+
label: z.ZodString;
|
|
596
|
+
protocol: z.ZodLiteral<"KOKORO_ONNX_CPU_V1">;
|
|
597
|
+
execution: z.ZodObject<{
|
|
598
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
599
|
+
profileId: z.ZodLiteral<"KOKORO_INT8_ZH_EN_V1">;
|
|
600
|
+
modelDigest: z.ZodLiteral<"ebd0959580940e20dbb10a55775ec94e47229c7c503f65932403fe0764667126">;
|
|
601
|
+
}, z.core.$strict>;
|
|
602
|
+
textMaxCharacters: z.ZodInt;
|
|
603
|
+
languages: z.ZodArray<z.ZodEnum<{
|
|
604
|
+
zh: "zh";
|
|
605
|
+
en: "en";
|
|
606
|
+
}>>;
|
|
607
|
+
voices: z.ZodArray<z.ZodObject<{
|
|
608
|
+
label: z.ZodString;
|
|
609
|
+
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>]>>>;
|
|
610
|
+
parameterOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
611
|
+
unsupportedParameters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
612
|
+
id: z.ZodString;
|
|
613
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
614
|
+
zh: "zh";
|
|
615
|
+
en: "en";
|
|
616
|
+
}>>>;
|
|
617
|
+
}, z.core.$strict>>;
|
|
618
|
+
parameters: z.ZodObject<{
|
|
619
|
+
speed: z.ZodObject<{
|
|
620
|
+
label: z.ZodString;
|
|
621
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
622
|
+
maxLength: z.ZodOptional<z.ZodInt>;
|
|
623
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
624
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
625
|
+
description: z.ZodOptional<z.ZodString>;
|
|
626
|
+
maxItems: z.ZodOptional<z.ZodInt>;
|
|
627
|
+
maxKeyLength: z.ZodOptional<z.ZodInt>;
|
|
628
|
+
type: z.ZodLiteral<"NUMBER">;
|
|
629
|
+
min: z.ZodNumber;
|
|
630
|
+
max: z.ZodNumber;
|
|
631
|
+
default: z.ZodDefault<z.ZodNumber>;
|
|
632
|
+
}, z.core.$strict>;
|
|
633
|
+
}, z.core.$strict>;
|
|
634
|
+
sourceUrl: z.ZodLiteral<"https://k2-fsa.github.io/sherpa/onnx/tts/pretrained_models/kokoro.html">;
|
|
635
|
+
output: z.ZodLiteral<"PCM_S16LE_48000_V1">;
|
|
636
|
+
normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
|
|
637
|
+
}, z.core.$strict>;
|
|
638
|
+
voice: z.ZodString;
|
|
639
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
640
|
+
}, z.core.$strict>>;
|
|
641
|
+
executionClass: z.ZodLiteral<"LIVE">;
|
|
642
|
+
}, z.core.$strict>;
|
|
643
|
+
export declare const LocalSpeechAdmissionSchema: z.ZodObject<{
|
|
644
|
+
humanLinks: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
645
|
+
status: z.ZodLiteral<"AVAILABLE">;
|
|
646
|
+
items: z.ZodArray<z.ZodObject<{
|
|
647
|
+
rel: z.ZodEnum<{
|
|
648
|
+
delivery: "delivery";
|
|
649
|
+
workspace: "workspace";
|
|
650
|
+
project: "project";
|
|
651
|
+
production: "production";
|
|
652
|
+
artifact: "artifact";
|
|
653
|
+
voice_profile: "voice_profile";
|
|
654
|
+
}>;
|
|
655
|
+
href: z.ZodURL;
|
|
656
|
+
}, z.core.$strict>>;
|
|
657
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
658
|
+
status: z.ZodEnum<{
|
|
659
|
+
UNAVAILABLE: "UNAVAILABLE";
|
|
660
|
+
UNCONFIGURED: "UNCONFIGURED";
|
|
661
|
+
}>;
|
|
662
|
+
items: z.ZodArray<z.ZodObject<{
|
|
663
|
+
rel: z.ZodEnum<{
|
|
664
|
+
delivery: "delivery";
|
|
665
|
+
workspace: "workspace";
|
|
666
|
+
project: "project";
|
|
667
|
+
production: "production";
|
|
668
|
+
artifact: "artifact";
|
|
669
|
+
voice_profile: "voice_profile";
|
|
670
|
+
}>;
|
|
671
|
+
href: z.ZodURL;
|
|
672
|
+
}, z.core.$strict>>;
|
|
673
|
+
}, z.core.$strict>], "status">>;
|
|
674
|
+
semanticStatus: z.ZodLiteral<"ACCEPTED">;
|
|
675
|
+
generationId: z.ZodUUID;
|
|
676
|
+
runtimeJobId: z.ZodUUID;
|
|
677
|
+
productionRevision: z.ZodInt;
|
|
678
|
+
executionClass: z.ZodLiteral<"LIVE">;
|
|
679
|
+
deviceExecution: z.ZodObject<{
|
|
680
|
+
target: z.ZodLiteral<"TENANT_DEVICE">;
|
|
681
|
+
deviceId: z.ZodUUID;
|
|
682
|
+
identity: z.ZodUnion<readonly [z.ZodObject<{
|
|
683
|
+
adapter: z.ZodLiteral<"MACOS_SAY_V1">;
|
|
684
|
+
voiceId: z.ZodLiteral<"com.apple.speech.synthesis.voice.Albert">;
|
|
685
|
+
locale: z.ZodLiteral<"en-US">;
|
|
686
|
+
systemBuild: z.ZodString;
|
|
687
|
+
saySha256: z.ZodString;
|
|
688
|
+
sandboxSha256: z.ZodString;
|
|
689
|
+
synthesizerSha256: z.ZodString;
|
|
690
|
+
voiceCatalogSha256: z.ZodString;
|
|
691
|
+
voiceProbeSha256: z.ZodString;
|
|
692
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
693
|
+
profileId: z.ZodLiteral<"KOKORO_INT8_ZH_EN_V1">;
|
|
694
|
+
adapter: z.ZodLiteral<"KOKORO_ONNX_CPU_V1">;
|
|
695
|
+
platform: z.ZodObject<{
|
|
696
|
+
os: z.ZodEnum<{
|
|
697
|
+
darwin: "darwin";
|
|
698
|
+
linux: "linux";
|
|
699
|
+
}>;
|
|
700
|
+
architecture: z.ZodEnum<{
|
|
701
|
+
arm64: "arm64";
|
|
702
|
+
x64: "x64";
|
|
703
|
+
}>;
|
|
704
|
+
}, z.core.$strict>;
|
|
705
|
+
engineVersion: z.ZodLiteral<"1.12.33">;
|
|
706
|
+
engineDigest: z.ZodString;
|
|
707
|
+
modelDigest: z.ZodLiteral<"ebd0959580940e20dbb10a55775ec94e47229c7c503f65932403fe0764667126">;
|
|
708
|
+
bridgeSha256: z.ZodString;
|
|
709
|
+
nodeSha256: z.ZodString;
|
|
710
|
+
}, z.core.$strict>]>;
|
|
711
|
+
}, z.core.$strict>;
|
|
712
|
+
}, z.core.$strict>;
|
|
713
|
+
export declare const LocalSpeechGenerationViewSchema: z.ZodObject<{
|
|
714
|
+
generationId: z.ZodUUID;
|
|
715
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
716
|
+
createdAt: z.ZodISODateTime;
|
|
717
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
718
|
+
humanLinks: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
719
|
+
status: z.ZodLiteral<"AVAILABLE">;
|
|
720
|
+
items: z.ZodArray<z.ZodObject<{
|
|
721
|
+
rel: z.ZodEnum<{
|
|
722
|
+
delivery: "delivery";
|
|
723
|
+
workspace: "workspace";
|
|
724
|
+
project: "project";
|
|
725
|
+
production: "production";
|
|
726
|
+
artifact: "artifact";
|
|
727
|
+
voice_profile: "voice_profile";
|
|
728
|
+
}>;
|
|
729
|
+
href: z.ZodURL;
|
|
730
|
+
}, z.core.$strict>>;
|
|
731
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
732
|
+
status: z.ZodEnum<{
|
|
733
|
+
UNAVAILABLE: "UNAVAILABLE";
|
|
734
|
+
UNCONFIGURED: "UNCONFIGURED";
|
|
735
|
+
}>;
|
|
736
|
+
items: z.ZodArray<z.ZodObject<{
|
|
737
|
+
rel: z.ZodEnum<{
|
|
738
|
+
delivery: "delivery";
|
|
739
|
+
workspace: "workspace";
|
|
740
|
+
project: "project";
|
|
741
|
+
production: "production";
|
|
742
|
+
artifact: "artifact";
|
|
743
|
+
voice_profile: "voice_profile";
|
|
744
|
+
}>;
|
|
745
|
+
href: z.ZodURL;
|
|
746
|
+
}, z.core.$strict>>;
|
|
747
|
+
}, z.core.$strict>], "status">>;
|
|
748
|
+
productionRevision: z.ZodInt;
|
|
749
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
750
|
+
semanticStatus: z.ZodLiteral<"SUCCESS">;
|
|
751
|
+
version: z.ZodObject<{
|
|
752
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
753
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
754
|
+
purpose: z.ZodEnum<{
|
|
755
|
+
VOICEOVER: "VOICEOVER";
|
|
756
|
+
MUSIC: "MUSIC";
|
|
757
|
+
VOICE_SAMPLE: "VOICE_SAMPLE";
|
|
758
|
+
}>;
|
|
759
|
+
id: z.ZodUUID;
|
|
760
|
+
audioId: z.ZodUUID;
|
|
761
|
+
projectId: z.ZodUUID;
|
|
762
|
+
version: z.ZodInt;
|
|
763
|
+
artifactId: z.ZodUUID;
|
|
764
|
+
original: z.ZodObject<{
|
|
765
|
+
id: z.ZodUUID;
|
|
766
|
+
checksumSha256: z.ZodString;
|
|
767
|
+
byteSize: z.ZodInt;
|
|
768
|
+
}, z.core.$strict>;
|
|
769
|
+
media: z.ZodObject<{
|
|
770
|
+
profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
|
|
771
|
+
audioCodec: z.ZodLiteral<"pcm_s16le">;
|
|
772
|
+
sampleRateHz: z.ZodLiteral<48000>;
|
|
773
|
+
audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
774
|
+
sampleCount: z.ZodInt;
|
|
775
|
+
durationMs: z.ZodInt;
|
|
776
|
+
}, z.core.$strict>;
|
|
777
|
+
originalName: z.ZodNullable<z.ZodString>;
|
|
778
|
+
previousVersionId: z.ZodNullable<z.ZodUUID>;
|
|
779
|
+
createdByPrincipalId: z.ZodUUID;
|
|
780
|
+
createdAt: z.ZodISODateTime;
|
|
781
|
+
generation: z.ZodOptional<z.ZodObject<{
|
|
782
|
+
generationId: z.ZodUUID;
|
|
783
|
+
voiceProfile: z.ZodOptional<z.ZodObject<{
|
|
784
|
+
ref: z.ZodObject<{
|
|
785
|
+
ownerSystem: z.ZodString;
|
|
786
|
+
ownerTenantRef: z.ZodString;
|
|
787
|
+
voiceProfileRef: z.ZodString;
|
|
788
|
+
version: z.ZodInt;
|
|
789
|
+
digest: z.ZodString;
|
|
790
|
+
}, z.core.$strict>;
|
|
791
|
+
bindingKey: z.ZodString;
|
|
792
|
+
language: z.ZodString;
|
|
793
|
+
usage: z.ZodEnum<{
|
|
794
|
+
AUDITION: "AUDITION";
|
|
795
|
+
PRODUCTION: "PRODUCTION";
|
|
796
|
+
}>;
|
|
797
|
+
}, z.core.$strict>>;
|
|
798
|
+
executionClass: z.ZodEnum<{
|
|
799
|
+
LIVE: "LIVE";
|
|
800
|
+
TEST_ONLY: "TEST_ONLY";
|
|
801
|
+
}>;
|
|
802
|
+
executionTarget: z.ZodOptional<z.ZodLiteral<"TENANT_DEVICE">>;
|
|
803
|
+
sourceArtifactId: z.ZodUUID;
|
|
804
|
+
sourceRepresentationId: z.ZodUUID;
|
|
805
|
+
sourceChecksumSha256: z.ZodString;
|
|
806
|
+
sourceByteSize: z.ZodInt;
|
|
807
|
+
sourceMedia: z.ZodObject<{
|
|
808
|
+
sampleRateHz: z.ZodInt;
|
|
809
|
+
audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
810
|
+
sampleCount: z.ZodInt;
|
|
811
|
+
}, z.core.$strict>;
|
|
812
|
+
normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
|
|
813
|
+
padSamples: z.ZodInt;
|
|
814
|
+
}, z.core.$strict>>;
|
|
815
|
+
}, z.core.$strict>;
|
|
816
|
+
productionRevision: z.ZodInt;
|
|
817
|
+
}, z.core.$strict>>;
|
|
818
|
+
runtimeJobId: z.ZodUUID;
|
|
819
|
+
text: z.ZodString;
|
|
820
|
+
cancellationRequested: z.ZodBoolean;
|
|
821
|
+
runtimeStatus: z.ZodEnum<{
|
|
822
|
+
FAILED: "FAILED";
|
|
823
|
+
CANCELLED: "CANCELLED";
|
|
824
|
+
RUNNING: "RUNNING";
|
|
825
|
+
SUPERSEDED: "SUPERSEDED";
|
|
826
|
+
PENDING: "PENDING";
|
|
827
|
+
READY: "READY";
|
|
828
|
+
WAITING: "WAITING";
|
|
829
|
+
SUCCEEDED: "SUCCEEDED";
|
|
830
|
+
}>;
|
|
831
|
+
executionClass: z.ZodLiteral<"LIVE">;
|
|
832
|
+
deviceExecution: z.ZodObject<{
|
|
833
|
+
target: z.ZodLiteral<"TENANT_DEVICE">;
|
|
834
|
+
deviceId: z.ZodUUID;
|
|
835
|
+
identity: z.ZodUnion<readonly [z.ZodObject<{
|
|
836
|
+
adapter: z.ZodLiteral<"MACOS_SAY_V1">;
|
|
837
|
+
voiceId: z.ZodLiteral<"com.apple.speech.synthesis.voice.Albert">;
|
|
838
|
+
locale: z.ZodLiteral<"en-US">;
|
|
839
|
+
systemBuild: z.ZodString;
|
|
840
|
+
saySha256: z.ZodString;
|
|
841
|
+
sandboxSha256: z.ZodString;
|
|
842
|
+
synthesizerSha256: z.ZodString;
|
|
843
|
+
voiceCatalogSha256: z.ZodString;
|
|
844
|
+
voiceProbeSha256: z.ZodString;
|
|
845
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
846
|
+
profileId: z.ZodLiteral<"KOKORO_INT8_ZH_EN_V1">;
|
|
847
|
+
adapter: z.ZodLiteral<"KOKORO_ONNX_CPU_V1">;
|
|
848
|
+
platform: z.ZodObject<{
|
|
849
|
+
os: z.ZodEnum<{
|
|
850
|
+
darwin: "darwin";
|
|
851
|
+
linux: "linux";
|
|
852
|
+
}>;
|
|
853
|
+
architecture: z.ZodEnum<{
|
|
854
|
+
arm64: "arm64";
|
|
855
|
+
x64: "x64";
|
|
856
|
+
}>;
|
|
857
|
+
}, z.core.$strict>;
|
|
858
|
+
engineVersion: z.ZodLiteral<"1.12.33">;
|
|
859
|
+
engineDigest: z.ZodString;
|
|
860
|
+
modelDigest: z.ZodLiteral<"ebd0959580940e20dbb10a55775ec94e47229c7c503f65932403fe0764667126">;
|
|
861
|
+
bridgeSha256: z.ZodString;
|
|
862
|
+
nodeSha256: z.ZodString;
|
|
863
|
+
}, z.core.$strict>]>;
|
|
864
|
+
}, z.core.$strict>;
|
|
865
|
+
rateWordsPerMinute: z.ZodOptional<z.ZodInt>;
|
|
866
|
+
voiceProfile: z.ZodOptional<z.ZodObject<{
|
|
867
|
+
ref: z.ZodObject<{
|
|
868
|
+
ownerSystem: z.ZodString;
|
|
869
|
+
ownerTenantRef: z.ZodString;
|
|
870
|
+
voiceProfileRef: z.ZodString;
|
|
871
|
+
version: z.ZodInt;
|
|
872
|
+
digest: z.ZodString;
|
|
873
|
+
}, z.core.$strict>;
|
|
874
|
+
bindingKey: z.ZodString;
|
|
875
|
+
language: z.ZodString;
|
|
876
|
+
usage: z.ZodEnum<{
|
|
877
|
+
AUDITION: "AUDITION";
|
|
878
|
+
PRODUCTION: "PRODUCTION";
|
|
879
|
+
}>;
|
|
880
|
+
}, z.core.$strict>>;
|
|
881
|
+
soundCue: z.ZodOptional<z.ZodObject<{
|
|
882
|
+
soundPlanVersionId: z.ZodUUID;
|
|
883
|
+
cueId: z.ZodString;
|
|
884
|
+
}, z.core.$strict>>;
|
|
885
|
+
nativeBasis: z.ZodOptional<z.ZodObject<{
|
|
886
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
887
|
+
modelProfileId: z.ZodString;
|
|
888
|
+
modelProfileVersion: z.ZodInt;
|
|
889
|
+
label: z.ZodString;
|
|
890
|
+
voice: z.ZodString;
|
|
891
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
892
|
+
execution: z.ZodObject<{
|
|
893
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
894
|
+
profileId: z.ZodLiteral<"KOKORO_INT8_ZH_EN_V1">;
|
|
895
|
+
modelDigest: z.ZodLiteral<"ebd0959580940e20dbb10a55775ec94e47229c7c503f65932403fe0764667126">;
|
|
896
|
+
}, z.core.$strict>;
|
|
897
|
+
}, z.core.$strict>>;
|
|
898
|
+
}, z.core.$strict>;
|
|
899
|
+
export type LocalSpeechStart = z.infer<typeof LocalSpeechStartSchema>;
|
|
900
|
+
export type LocalSpeechAdmission = z.infer<typeof LocalSpeechAdmissionSchema>;
|
|
901
|
+
export type LocalSpeechGenerationView = z.infer<typeof LocalSpeechGenerationViewSchema>;
|
|
347
902
|
export type SpeechScope = z.infer<typeof SpeechScopeSchema>;
|
|
348
903
|
export type SpeechGet = z.infer<typeof SpeechGetSchema>;
|
|
349
904
|
export type SpeechAdmission = z.infer<typeof SpeechAdmissionSchema>;
|
|
@@ -351,6 +906,29 @@ export type SpeechGenerationView = z.infer<typeof SpeechGenerationViewSchema>;
|
|
|
351
906
|
export declare const SpeechOptionsSchema: z.ZodObject<{
|
|
352
907
|
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
353
908
|
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
909
|
+
native: z.ZodOptional<z.ZodObject<{
|
|
910
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
911
|
+
models: z.ZodArray<z.ZodObject<{
|
|
912
|
+
modelProfileId: z.ZodString;
|
|
913
|
+
modelProfileVersion: z.ZodInt;
|
|
914
|
+
label: z.ZodString;
|
|
915
|
+
profileId: z.ZodLiteral<"KOKORO_INT8_ZH_EN_V1">;
|
|
916
|
+
textMaxCharacters: z.ZodInt;
|
|
917
|
+
}, z.core.$strict>>;
|
|
918
|
+
devices: z.ZodArray<z.ZodObject<{
|
|
919
|
+
deviceId: z.ZodUUID;
|
|
920
|
+
label: z.ZodString;
|
|
921
|
+
profileId: z.ZodLiteral<"KOKORO_INT8_ZH_EN_V1">;
|
|
922
|
+
voices: z.ZodArray<z.ZodObject<{
|
|
923
|
+
voiceId: z.ZodInt;
|
|
924
|
+
languages: z.ZodArray<z.ZodEnum<{
|
|
925
|
+
zh: "zh";
|
|
926
|
+
en: "en";
|
|
927
|
+
}>>;
|
|
928
|
+
}, z.core.$strict>>;
|
|
929
|
+
}, z.core.$strict>>;
|
|
930
|
+
possiblyTruncated: z.ZodBoolean;
|
|
931
|
+
}, z.core.$strict>>;
|
|
354
932
|
options: z.ZodArray<z.ZodObject<{
|
|
355
933
|
selection: z.ZodObject<{
|
|
356
934
|
connectionId: z.core.$ZodBranded<z.ZodUUID, "ProviderConnectionId", "out">;
|
|
@@ -418,7 +996,9 @@ export declare const SpeechOptionsSchema: z.ZodObject<{
|
|
|
418
996
|
}, z.core.$strict>;
|
|
419
997
|
connectionLabel: z.ZodString;
|
|
420
998
|
connectionVersion: z.ZodInt;
|
|
999
|
+
executionTarget: z.ZodOptional<z.ZodLiteral<"TENANT_DEVICE">>;
|
|
421
1000
|
}, z.core.$strict>>;
|
|
422
1001
|
possiblyTruncated: z.ZodBoolean;
|
|
423
1002
|
}, z.core.$strict>;
|
|
424
1003
|
export type SpeechOptions = z.infer<typeof SpeechOptionsSchema>;
|
|
1004
|
+
export * from "./native-speech-options.js";
|