@nativestudio/cli 0.3.0-rc.11 → 0.3.0-rc.15
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 +14 -10
- package/components/runtime.json +10 -6
- package/components/runtime.tgz +0 -0
- package/dist/_chunks/chunk-5UJEP7FY.js +1 -0
- package/dist/_chunks/chunk-6UYY5KHI.js +1 -0
- package/dist/_chunks/chunk-AAGFHT2D.js +1 -0
- package/dist/_chunks/{chunk-M2KVQQ4X.js → chunk-BBTZJB2G.js} +1 -1
- package/dist/_chunks/chunk-BX2SNMA4.js +1 -0
- package/dist/_chunks/chunk-CFZNDURD.js +1 -0
- package/dist/_chunks/{chunk-3AVC742O.js → chunk-FX5UVDTH.js} +1 -1
- package/dist/_chunks/{chunk-HR34UMPP.js → chunk-H6EZKOYR.js} +1 -1
- package/dist/_chunks/chunk-I5KYSPUJ.js +1 -0
- package/dist/_chunks/chunk-KOCUZ3AE.js +1 -0
- package/dist/_chunks/{chunk-L543FEDK.js → chunk-NPDLPC5B.js} +1 -1
- package/dist/_chunks/{chunk-LISB5W7B.js → chunk-NQVUVPW5.js} +1 -1
- package/dist/_chunks/{chunk-EGUJ2YRX.js → chunk-O47YYPL7.js} +1 -1
- package/dist/_chunks/{chunk-65FQPXKC.js → chunk-OVIR77ET.js} +1 -1
- package/dist/_chunks/{chunk-VDNNFVTZ.js → chunk-OW6R4MAQ.js} +1 -1
- package/dist/_chunks/{chunk-ODGPV7MM.js → chunk-PB2HLRXG.js} +1 -1
- package/dist/_chunks/chunk-PDQYFIQQ.js +1 -0
- package/dist/_chunks/chunk-RUPH3HZ2.js +1 -0
- package/dist/_chunks/chunk-SAPEOZ2V.js +1 -0
- package/dist/_chunks/chunk-SKAVQ4UW.js +1 -0
- package/dist/_chunks/{chunk-4U4Y2K73.js → chunk-TTB7CYC5.js} +1 -1
- package/dist/_chunks/chunk-U5FT4VBR.js +1 -0
- package/dist/_chunks/chunk-VOGKKZQH.js +1 -0
- package/dist/_chunks/chunk-YV447AB5.js +1 -0
- package/dist/_chunks/{chunk-LUAH3KAS.js → chunk-ZADAXKKY.js} +1 -1
- package/dist/_chunks/{chunk-QAJH4RJQ.js → chunk-ZOODOQBH.js} +1 -1
- package/dist/_chunks/{connect-5YMO6MAR.js → connect-RIODOO3C.js} +1 -1
- package/dist/_chunks/{device-management-2OTGEBJQ.js → device-management-VECG3RA4.js} +1 -1
- package/dist/_chunks/{device-preflight-XPHFZGLO.js → device-preflight-73KVSHZG.js} +1 -1
- package/dist/_chunks/{devices-inventory-VWNTU5TE.js → devices-inventory-E6TE4H7T.js} +1 -1
- package/dist/_chunks/{devices-main-VQ4APRVS.js → devices-main-7JHMJNGV.js} +1 -1
- package/dist/_chunks/{files-TTIQ7LYJ.js → files-72BEXD7E.js} +1 -1
- package/dist/_chunks/{host-main-H7DPLV7B.js → host-main-KDORT44Q.js} +1 -1
- package/dist/_chunks/http-profile-QINBH2FP.js +1 -0
- package/dist/_chunks/{library-main-SAC3V2ML.js → library-main-AWUEMZFQ.js} +1 -1
- package/dist/_chunks/local-main-BNFNAPRG.js +1 -0
- package/dist/_chunks/{local-mcp-ONCANLPH.js → local-mcp-HU6MII3G.js} +1 -1
- package/dist/_chunks/main-BSMCHALI.js +2 -0
- package/dist/_chunks/mcp-3VZZFXNG.js +1 -0
- package/dist/_chunks/oauth-QBJ62PIA.js +1 -0
- package/dist/_chunks/observe-entry-D7F6OQ7Y.js +1 -0
- package/dist/_chunks/remote-client-XIJ6RQLU.js +1 -0
- package/dist/_chunks/{render-main-GYWKP72O.js → render-main-O3IN6EFV.js} +1 -1
- package/dist/_chunks/{source-import-BC5GNCUZ.js → source-import-Y2Z3BVWY.js} +1 -1
- package/dist/_chunks/src-3S6CAUSJ.js +1 -0
- package/dist/_chunks/{stdio-main-RIJS5REB.js → stdio-main-T4WMBNKB.js} +1 -1
- package/dist/_chunks/workspace-main-KWFTVTZG.js +1 -0
- package/dist/_types/cli/local/desktop-contract.d.ts +64 -6
- package/dist/_types/cli/local/desktop-device-contract.d.ts +25 -12
- package/dist/_types/cli/local/desktop-device-owner.d.ts +34 -8
- package/dist/_types/cli/local/desktop-device-state.d.ts +64 -12
- package/dist/_types/cli/local/desktop-owner.d.ts +58 -9
- package/dist/_types/cli/local/ledger.d.ts +10 -10
- package/dist/_types/cli/local/manager.d.ts +121 -18
- package/dist/_types/cli/local/mcp-tools.d.ts +14 -13
- package/dist/_types/cli/local/releases.d.ts +2 -2
- package/dist/_types/cli/local-management.d.ts +3 -0
- package/dist/_types/contracts/artifact-discovery.d.ts +60 -0
- package/dist/_types/contracts/audio.d.ts +162 -0
- 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-operations.d.ts +150 -0
- package/dist/_types/contracts/device-render.d.ts +2 -0
- package/dist/_types/contracts/editor-intelligence.d.ts +280 -42
- package/dist/_types/contracts/final-render.d.ts +188 -24
- package/dist/_types/contracts/human-links.d.ts +58 -0
- package/dist/_types/contracts/index.d.ts +8 -0
- package/dist/_types/contracts/interface/media-output.d.ts +90 -0
- package/dist/_types/contracts/interface/operation.d.ts +30 -0
- package/dist/_types/contracts/interface/production-snapshot.d.ts +60 -0
- package/dist/_types/contracts/interface/query.d.ts +60 -0
- package/dist/_types/contracts/keyframe-generation.d.ts +1 -1
- package/dist/_types/contracts/lifecycle-event-projections.d.ts +15 -0
- package/dist/_types/contracts/lifecycle-events.d.ts +53 -1
- package/dist/_types/contracts/local-execution/agent-context.d.ts +23 -3
- package/dist/_types/contracts/local-execution/agent-review.d.ts +29 -3
- package/dist/_types/contracts/local-execution/audio-profile.d.ts +6 -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 +1 -1
- package/dist/_types/contracts/local-execution/device-inventory.d.ts +2 -2
- package/dist/_types/contracts/local-execution/device.d.ts +3 -3
- package/dist/_types/contracts/local-execution/index.d.ts +6 -0
- package/dist/_types/contracts/local-execution/ipc.d.ts +18 -2
- package/dist/_types/contracts/local-execution/library-result.d.ts +16 -0
- package/dist/_types/contracts/local-execution/lifecycle.d.ts +49 -7
- package/dist/_types/contracts/local-execution/local-navigation.d.ts +15 -14
- package/dist/_types/contracts/local-execution/management.d.ts +15 -11
- package/dist/_types/contracts/local-execution/preview.d.ts +38 -3
- package/dist/_types/contracts/local-execution/processor-capability.d.ts +2 -0
- package/dist/_types/contracts/local-execution/processor-recipes.d.ts +43 -0
- package/dist/_types/contracts/local-execution/processor-toolchain.d.ts +47 -0
- package/dist/_types/contracts/local-execution/processor.d.ts +184 -3
- package/dist/_types/contracts/local-execution/speech.d.ts +1 -1
- package/dist/_types/contracts/local-execution/tool-selection.d.ts +26 -0
- package/dist/_types/contracts/local-execution/work.d.ts +16 -2
- 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/navigation-context.d.ts +2 -2
- package/dist/_types/contracts/navigation-groups.d.ts +1 -1
- package/dist/_types/contracts/navigation.d.ts +35 -5
- 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/project-library.d.ts +30 -0
- package/dist/_types/contracts/project.d.ts +30 -0
- package/dist/_types/contracts/provider-models.d.ts +193 -0
- package/dist/_types/contracts/repair-lifecycle.d.ts +4 -4
- package/dist/_types/contracts/repair-plan.d.ts +1 -1
- package/dist/_types/contracts/repair-strategy.d.ts +9 -5
- package/dist/_types/contracts/review-intelligence-final-output.d.ts +90 -0
- package/dist/_types/contracts/review-intelligence.d.ts +3 -1
- package/dist/_types/contracts/rough-cut-manifest.d.ts +19 -4
- package/dist/_types/contracts/rough-cut-review.d.ts +10 -1
- package/dist/_types/contracts/rough-cut.d.ts +111 -12
- 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 +207 -0
- package/dist/_types/contracts/speech-cost.d.ts +15 -0
- package/dist/_types/contracts/speech-parameters.d.ts +39 -0
- package/dist/_types/contracts/speech.d.ts +470 -39
- package/dist/_types/contracts/timeline-audio.d.ts +19 -4
- package/dist/_types/contracts/timeline-manifest.d.ts +38 -8
- package/dist/_types/contracts/timeline-source-sound.d.ts +41 -4
- package/dist/_types/contracts/timeline-v2.d.ts +120 -16
- package/dist/_types/contracts/timeline-version-reader.d.ts +278 -40
- package/dist/_types/contracts/timeline-visual-layers.d.ts +120 -16
- package/dist/_types/contracts/video-generation.d.ts +1 -1
- package/dist/_types/contracts/visual-exploration.d.ts +1 -1
- package/dist/_types/contracts/visual-layer-render.d.ts +240 -32
- package/dist/_types/contracts/visual-sequence.d.ts +1 -1
- 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 +51 -0
- package/dist/_types/sdk/local-runtime/device-client.d.ts +54 -2
- package/dist/_types/sdk/local-runtime-client.d.ts +169 -28
- 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 +1 -1
- package/dist/_chunks/chunk-37PAJCKA.js +0 -1
- package/dist/_chunks/chunk-6DVZBKNV.js +0 -1
- package/dist/_chunks/chunk-6LU6GJKW.js +0 -1
- package/dist/_chunks/chunk-6N433ZWR.js +0 -1
- package/dist/_chunks/chunk-FU3524Z6.js +0 -1
- package/dist/_chunks/chunk-GZBWA4YN.js +0 -1
- package/dist/_chunks/chunk-KB2GVAN7.js +0 -1
- package/dist/_chunks/chunk-PUBMDP4E.js +0 -1
- package/dist/_chunks/chunk-PUNG4ND7.js +0 -1
- package/dist/_chunks/chunk-Q57YFNK5.js +0 -1
- package/dist/_chunks/chunk-VPYAXWXY.js +0 -1
- package/dist/_chunks/chunk-WFRRNWO5.js +0 -1
- package/dist/_chunks/http-profile-MNJX6OXO.js +0 -1
- package/dist/_chunks/local-main-D6B3APK6.js +0 -1
- package/dist/_chunks/main-PW6HB3NC.js +0 -2
- package/dist/_chunks/mcp-ZIGBYFUW.js +0 -1
- package/dist/_chunks/oauth-HC6TI7HB.js +0 -1
- package/dist/_chunks/src-R6DNU336.js +0 -1
- package/dist/_chunks/workspace-main-GNSKHKBG.js +0 -1
- package/dist/native/Bootstrap.ps1 +0 -90
- package/dist/native/JobNative.cs +0 -137
- package/dist/native/JobRunner.cs +0 -381
- package/dist/native/NativeMain.cs +0 -161
- 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>]>>;
|
|
@@ -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,6 +392,21 @@ 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";
|
|
@@ -345,24 +432,134 @@ export declare const SpeechGenerationViewSchema: z.ZodObject<{
|
|
|
345
432
|
export type SpeechModelProfile = z.infer<typeof SpeechModelProfileSchema>;
|
|
346
433
|
export type SpeechParameters = z.infer<typeof SpeechParametersSchema>;
|
|
347
434
|
export type SpeechStart = z.infer<typeof SpeechStartSchema>;
|
|
348
|
-
|
|
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>;
|
|
349
464
|
export declare const LocalSpeechStartSchema: z.ZodObject<{
|
|
350
465
|
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
351
|
-
idempotencyKey: z.ZodString;
|
|
352
466
|
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
353
467
|
expectedProductionRevision: z.ZodInt;
|
|
354
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>>;
|
|
355
491
|
deviceExecution: z.ZodObject<{
|
|
356
492
|
deviceId: z.ZodOptional<z.ZodUUID>;
|
|
357
493
|
}, z.core.$strict>;
|
|
358
|
-
|
|
359
|
-
|
|
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>;
|
|
360
557
|
}, z.core.$strict>;
|
|
361
558
|
export declare const LocalSpeechBindingSchema: z.ZodObject<{
|
|
362
559
|
target: z.ZodLiteral<"TENANT_DEVICE">;
|
|
363
560
|
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
364
561
|
deviceId: z.ZodUUID;
|
|
365
|
-
identity: z.ZodObject<{
|
|
562
|
+
identity: z.ZodUnion<readonly [z.ZodObject<{
|
|
366
563
|
adapter: z.ZodLiteral<"MACOS_SAY_V1">;
|
|
367
564
|
voiceId: z.ZodLiteral<"com.apple.speech.synthesis.voice.Albert">;
|
|
368
565
|
locale: z.ZodLiteral<"en-US">;
|
|
@@ -372,10 +569,108 @@ export declare const LocalSpeechBindingSchema: z.ZodObject<{
|
|
|
372
569
|
synthesizerSha256: z.ZodString;
|
|
373
570
|
voiceCatalogSha256: z.ZodString;
|
|
374
571
|
voiceProbeSha256: z.ZodString;
|
|
375
|
-
}, z.core.$strict
|
|
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>>;
|
|
376
641
|
executionClass: z.ZodLiteral<"LIVE">;
|
|
377
642
|
}, z.core.$strict>;
|
|
378
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">>;
|
|
379
674
|
semanticStatus: z.ZodLiteral<"ACCEPTED">;
|
|
380
675
|
generationId: z.ZodUUID;
|
|
381
676
|
runtimeJobId: z.ZodUUID;
|
|
@@ -383,7 +678,8 @@ export declare const LocalSpeechAdmissionSchema: z.ZodObject<{
|
|
|
383
678
|
executionClass: z.ZodLiteral<"LIVE">;
|
|
384
679
|
deviceExecution: z.ZodObject<{
|
|
385
680
|
target: z.ZodLiteral<"TENANT_DEVICE">;
|
|
386
|
-
|
|
681
|
+
deviceId: z.ZodUUID;
|
|
682
|
+
identity: z.ZodUnion<readonly [z.ZodObject<{
|
|
387
683
|
adapter: z.ZodLiteral<"MACOS_SAY_V1">;
|
|
388
684
|
voiceId: z.ZodLiteral<"com.apple.speech.synthesis.voice.Albert">;
|
|
389
685
|
locale: z.ZodLiteral<"en-US">;
|
|
@@ -393,19 +689,62 @@ export declare const LocalSpeechAdmissionSchema: z.ZodObject<{
|
|
|
393
689
|
synthesizerSha256: z.ZodString;
|
|
394
690
|
voiceCatalogSha256: z.ZodString;
|
|
395
691
|
voiceProbeSha256: z.ZodString;
|
|
396
|
-
}, z.core.$strict
|
|
397
|
-
|
|
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>]>;
|
|
398
711
|
}, z.core.$strict>;
|
|
399
712
|
}, z.core.$strict>;
|
|
400
713
|
export declare const LocalSpeechGenerationViewSchema: z.ZodObject<{
|
|
401
714
|
generationId: z.ZodUUID;
|
|
402
|
-
executionClass: z.ZodEnum<{
|
|
403
|
-
LIVE: "LIVE";
|
|
404
|
-
TEST_ONLY: "TEST_ONLY";
|
|
405
|
-
}>;
|
|
406
715
|
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
407
716
|
createdAt: z.ZodISODateTime;
|
|
408
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">>;
|
|
409
748
|
productionRevision: z.ZodInt;
|
|
410
749
|
runtimeJobId: z.ZodUUID;
|
|
411
750
|
text: z.ZodString;
|
|
@@ -418,6 +757,7 @@ export declare const LocalSpeechGenerationViewSchema: z.ZodObject<{
|
|
|
418
757
|
purpose: z.ZodEnum<{
|
|
419
758
|
VOICEOVER: "VOICEOVER";
|
|
420
759
|
MUSIC: "MUSIC";
|
|
760
|
+
VOICE_SAMPLE: "VOICE_SAMPLE";
|
|
421
761
|
}>;
|
|
422
762
|
id: z.ZodUUID;
|
|
423
763
|
audioId: z.ZodUUID;
|
|
@@ -443,6 +783,21 @@ export declare const LocalSpeechGenerationViewSchema: z.ZodObject<{
|
|
|
443
783
|
createdAt: z.ZodISODateTime;
|
|
444
784
|
generation: z.ZodOptional<z.ZodObject<{
|
|
445
785
|
generationId: z.ZodUUID;
|
|
786
|
+
voiceProfile: z.ZodOptional<z.ZodObject<{
|
|
787
|
+
ref: z.ZodObject<{
|
|
788
|
+
ownerSystem: z.ZodString;
|
|
789
|
+
ownerTenantRef: z.ZodString;
|
|
790
|
+
voiceProfileRef: z.ZodString;
|
|
791
|
+
version: z.ZodInt;
|
|
792
|
+
digest: z.ZodString;
|
|
793
|
+
}, z.core.$strict>;
|
|
794
|
+
bindingKey: z.ZodString;
|
|
795
|
+
language: z.ZodString;
|
|
796
|
+
usage: z.ZodEnum<{
|
|
797
|
+
AUDITION: "AUDITION";
|
|
798
|
+
PRODUCTION: "PRODUCTION";
|
|
799
|
+
}>;
|
|
800
|
+
}, z.core.$strict>>;
|
|
446
801
|
executionClass: z.ZodEnum<{
|
|
447
802
|
LIVE: "LIVE";
|
|
448
803
|
TEST_ONLY: "TEST_ONLY";
|
|
@@ -473,9 +828,11 @@ export declare const LocalSpeechGenerationViewSchema: z.ZodObject<{
|
|
|
473
828
|
WAITING: "WAITING";
|
|
474
829
|
SUCCEEDED: "SUCCEEDED";
|
|
475
830
|
}>;
|
|
831
|
+
executionClass: z.ZodLiteral<"LIVE">;
|
|
476
832
|
deviceExecution: z.ZodObject<{
|
|
477
833
|
target: z.ZodLiteral<"TENANT_DEVICE">;
|
|
478
|
-
|
|
834
|
+
deviceId: z.ZodUUID;
|
|
835
|
+
identity: z.ZodUnion<readonly [z.ZodObject<{
|
|
479
836
|
adapter: z.ZodLiteral<"MACOS_SAY_V1">;
|
|
480
837
|
voiceId: z.ZodLiteral<"com.apple.speech.synthesis.voice.Albert">;
|
|
481
838
|
locale: z.ZodLiteral<"en-US">;
|
|
@@ -485,10 +842,59 @@ export declare const LocalSpeechGenerationViewSchema: z.ZodObject<{
|
|
|
485
842
|
synthesizerSha256: z.ZodString;
|
|
486
843
|
voiceCatalogSha256: z.ZodString;
|
|
487
844
|
voiceProbeSha256: z.ZodString;
|
|
488
|
-
}, z.core.$strict
|
|
489
|
-
|
|
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>]>;
|
|
490
864
|
}, z.core.$strict>;
|
|
491
|
-
rateWordsPerMinute: z.ZodInt
|
|
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>>;
|
|
492
898
|
}, z.core.$strict>;
|
|
493
899
|
export type LocalSpeechStart = z.infer<typeof LocalSpeechStartSchema>;
|
|
494
900
|
export type LocalSpeechAdmission = z.infer<typeof LocalSpeechAdmissionSchema>;
|
|
@@ -500,6 +906,29 @@ export type SpeechGenerationView = z.infer<typeof SpeechGenerationViewSchema>;
|
|
|
500
906
|
export declare const SpeechOptionsSchema: z.ZodObject<{
|
|
501
907
|
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
502
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>>;
|
|
503
932
|
options: z.ZodArray<z.ZodObject<{
|
|
504
933
|
selection: z.ZodObject<{
|
|
505
934
|
connectionId: z.core.$ZodBranded<z.ZodUUID, "ProviderConnectionId", "out">;
|
|
@@ -567,7 +996,9 @@ export declare const SpeechOptionsSchema: z.ZodObject<{
|
|
|
567
996
|
}, z.core.$strict>;
|
|
568
997
|
connectionLabel: z.ZodString;
|
|
569
998
|
connectionVersion: z.ZodInt;
|
|
999
|
+
executionTarget: z.ZodOptional<z.ZodLiteral<"TENANT_DEVICE">>;
|
|
570
1000
|
}, z.core.$strict>>;
|
|
571
1001
|
possiblyTruncated: z.ZodBoolean;
|
|
572
1002
|
}, z.core.$strict>;
|
|
573
1003
|
export type SpeechOptions = z.infer<typeof SpeechOptionsSchema>;
|
|
1004
|
+
export * from "./native-speech-options.js";
|