@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
|
@@ -177,10 +177,10 @@ export declare const ProgrammaticVideoReviewRecordSchema: z.ZodObject<{
|
|
|
177
177
|
temporalEvidenceIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
178
178
|
key: z.ZodString;
|
|
179
179
|
status: z.ZodEnum<{
|
|
180
|
+
NOT_APPLICABLE: "NOT_APPLICABLE";
|
|
180
181
|
SATISFIED: "SATISFIED";
|
|
181
182
|
VIOLATED: "VIOLATED";
|
|
182
183
|
NOT_OBSERVABLE: "NOT_OBSERVABLE";
|
|
183
|
-
NOT_APPLICABLE: "NOT_APPLICABLE";
|
|
184
184
|
}>;
|
|
185
185
|
confidence: z.ZodEnum<{
|
|
186
186
|
CLEAR: "CLEAR";
|
|
@@ -473,10 +473,10 @@ export declare const ProgrammaticVideoReviewTargetSchema: z.ZodObject<{
|
|
|
473
473
|
temporalEvidenceIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
474
474
|
key: z.ZodString;
|
|
475
475
|
status: z.ZodEnum<{
|
|
476
|
+
NOT_APPLICABLE: "NOT_APPLICABLE";
|
|
476
477
|
SATISFIED: "SATISFIED";
|
|
477
478
|
VIOLATED: "VIOLATED";
|
|
478
479
|
NOT_OBSERVABLE: "NOT_OBSERVABLE";
|
|
479
|
-
NOT_APPLICABLE: "NOT_APPLICABLE";
|
|
480
480
|
}>;
|
|
481
481
|
confidence: z.ZodEnum<{
|
|
482
482
|
CLEAR: "CLEAR";
|
|
@@ -521,10 +521,10 @@ export declare const RecordProgrammaticVideoReviewSchema: z.ZodObject<{
|
|
|
521
521
|
temporalEvidenceIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
522
522
|
key: z.ZodString;
|
|
523
523
|
status: z.ZodEnum<{
|
|
524
|
+
NOT_APPLICABLE: "NOT_APPLICABLE";
|
|
524
525
|
SATISFIED: "SATISFIED";
|
|
525
526
|
VIOLATED: "VIOLATED";
|
|
526
527
|
NOT_OBSERVABLE: "NOT_OBSERVABLE";
|
|
527
|
-
NOT_APPLICABLE: "NOT_APPLICABLE";
|
|
528
528
|
}>;
|
|
529
529
|
confidence: z.ZodEnum<{
|
|
530
530
|
CLEAR: "CLEAR";
|
|
@@ -692,10 +692,10 @@ export declare const ProgrammaticVideoReviewPageSchema: z.ZodObject<{
|
|
|
692
692
|
temporalEvidenceIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
693
693
|
key: z.ZodString;
|
|
694
694
|
status: z.ZodEnum<{
|
|
695
|
+
NOT_APPLICABLE: "NOT_APPLICABLE";
|
|
695
696
|
SATISFIED: "SATISFIED";
|
|
696
697
|
VIOLATED: "VIOLATED";
|
|
697
698
|
NOT_OBSERVABLE: "NOT_OBSERVABLE";
|
|
698
|
-
NOT_APPLICABLE: "NOT_APPLICABLE";
|
|
699
699
|
}>;
|
|
700
700
|
confidence: z.ZodEnum<{
|
|
701
701
|
CLEAR: "CLEAR";
|
|
@@ -857,10 +857,10 @@ export declare const ProgrammaticVideoReviewReceiptSchema: z.ZodObject<{
|
|
|
857
857
|
temporalEvidenceIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
858
858
|
key: z.ZodString;
|
|
859
859
|
status: z.ZodEnum<{
|
|
860
|
+
NOT_APPLICABLE: "NOT_APPLICABLE";
|
|
860
861
|
SATISFIED: "SATISFIED";
|
|
861
862
|
VIOLATED: "VIOLATED";
|
|
862
863
|
NOT_OBSERVABLE: "NOT_OBSERVABLE";
|
|
863
|
-
NOT_APPLICABLE: "NOT_APPLICABLE";
|
|
864
864
|
}>;
|
|
865
865
|
confidence: z.ZodEnum<{
|
|
866
866
|
CLEAR: "CLEAR";
|
|
@@ -44,6 +44,36 @@ export declare const ProjectWorkspaceSchema: z.ZodObject<{
|
|
|
44
44
|
updatedAt: z.ZodISODateTime;
|
|
45
45
|
}, z.core.$strip>;
|
|
46
46
|
productions: z.ZodArray<z.ZodObject<{
|
|
47
|
+
humanLinks: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
48
|
+
status: z.ZodLiteral<"AVAILABLE">;
|
|
49
|
+
items: z.ZodArray<z.ZodObject<{
|
|
50
|
+
rel: z.ZodEnum<{
|
|
51
|
+
delivery: "delivery";
|
|
52
|
+
workspace: "workspace";
|
|
53
|
+
project: "project";
|
|
54
|
+
production: "production";
|
|
55
|
+
artifact: "artifact";
|
|
56
|
+
voice_profile: "voice_profile";
|
|
57
|
+
}>;
|
|
58
|
+
href: z.ZodURL;
|
|
59
|
+
}, z.core.$strict>>;
|
|
60
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
61
|
+
status: z.ZodEnum<{
|
|
62
|
+
UNAVAILABLE: "UNAVAILABLE";
|
|
63
|
+
UNCONFIGURED: "UNCONFIGURED";
|
|
64
|
+
}>;
|
|
65
|
+
items: z.ZodArray<z.ZodObject<{
|
|
66
|
+
rel: z.ZodEnum<{
|
|
67
|
+
delivery: "delivery";
|
|
68
|
+
workspace: "workspace";
|
|
69
|
+
project: "project";
|
|
70
|
+
production: "production";
|
|
71
|
+
artifact: "artifact";
|
|
72
|
+
voice_profile: "voice_profile";
|
|
73
|
+
}>;
|
|
74
|
+
href: z.ZodURL;
|
|
75
|
+
}, z.core.$strict>>;
|
|
76
|
+
}, z.core.$strict>], "status">>;
|
|
47
77
|
id: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
48
78
|
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
49
79
|
projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
|
|
@@ -44,6 +44,36 @@ export declare const CreatedProjectResultSchema: z.ZodObject<{
|
|
|
44
44
|
updatedAt: z.ZodISODateTime;
|
|
45
45
|
}, z.core.$strip>;
|
|
46
46
|
production: z.ZodObject<{
|
|
47
|
+
humanLinks: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
48
|
+
status: z.ZodLiteral<"AVAILABLE">;
|
|
49
|
+
items: z.ZodArray<z.ZodObject<{
|
|
50
|
+
rel: z.ZodEnum<{
|
|
51
|
+
delivery: "delivery";
|
|
52
|
+
workspace: "workspace";
|
|
53
|
+
project: "project";
|
|
54
|
+
production: "production";
|
|
55
|
+
artifact: "artifact";
|
|
56
|
+
voice_profile: "voice_profile";
|
|
57
|
+
}>;
|
|
58
|
+
href: z.ZodURL;
|
|
59
|
+
}, z.core.$strict>>;
|
|
60
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
61
|
+
status: z.ZodEnum<{
|
|
62
|
+
UNAVAILABLE: "UNAVAILABLE";
|
|
63
|
+
UNCONFIGURED: "UNCONFIGURED";
|
|
64
|
+
}>;
|
|
65
|
+
items: z.ZodArray<z.ZodObject<{
|
|
66
|
+
rel: z.ZodEnum<{
|
|
67
|
+
delivery: "delivery";
|
|
68
|
+
workspace: "workspace";
|
|
69
|
+
project: "project";
|
|
70
|
+
production: "production";
|
|
71
|
+
artifact: "artifact";
|
|
72
|
+
voice_profile: "voice_profile";
|
|
73
|
+
}>;
|
|
74
|
+
href: z.ZodURL;
|
|
75
|
+
}, z.core.$strict>>;
|
|
76
|
+
}, z.core.$strict>], "status">>;
|
|
47
77
|
id: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
48
78
|
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
49
79
|
projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
|
|
@@ -129,7 +129,7 @@ export declare const ProviderConnectionPageSchema: z.ZodObject<{
|
|
|
129
129
|
STRICT: "STRICT";
|
|
130
130
|
PAD_TO_ASPECT: "PAD_TO_ASPECT";
|
|
131
131
|
}>>;
|
|
132
|
-
}, z.core.$
|
|
132
|
+
}, z.core.$strip>;
|
|
133
133
|
createdByPrincipalId: z.core.$ZodBranded<z.ZodUUID, "PrincipalId", "out">;
|
|
134
134
|
updatedAt: z.ZodISODateTime;
|
|
135
135
|
}, z.core.$strict>>;
|
|
@@ -304,8 +304,8 @@ export declare const ProviderModelsViewSchema: z.ZodObject<{
|
|
|
304
304
|
QIANWEN_VIDEO_V1: "QIANWEN_VIDEO_V1";
|
|
305
305
|
}>;
|
|
306
306
|
modes: z.ZodArray<z.ZodEnum<{
|
|
307
|
-
AUDIO: "AUDIO";
|
|
308
307
|
VIDEO: "VIDEO";
|
|
308
|
+
AUDIO: "AUDIO";
|
|
309
309
|
AUDIOVISUAL: "AUDIOVISUAL";
|
|
310
310
|
VIDEO_ALL_FRAMES: "VIDEO_ALL_FRAMES";
|
|
311
311
|
}>>;
|
|
@@ -345,8 +345,8 @@ export declare const ProviderModelsViewSchema: z.ZodObject<{
|
|
|
345
345
|
}>;
|
|
346
346
|
modes: z.ZodTuple<[z.ZodLiteral<"TRANSCRIPTION">], null>;
|
|
347
347
|
inputKinds: z.ZodArray<z.ZodEnum<{
|
|
348
|
-
AUDIO: "AUDIO";
|
|
349
348
|
VIDEO: "VIDEO";
|
|
349
|
+
AUDIO: "AUDIO";
|
|
350
350
|
}>>;
|
|
351
351
|
requestTimeoutMs: z.ZodInt;
|
|
352
352
|
maxBytes: z.ZodInt;
|
|
@@ -1,5 +1,53 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const ProviderModelDefinitionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3
|
+
family: z.ZodLiteral<"NATIVE_SPEECH">;
|
|
4
|
+
profile: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
version: z.ZodInt;
|
|
7
|
+
label: z.ZodString;
|
|
8
|
+
protocol: z.ZodLiteral<"KOKORO_ONNX_CPU_V1">;
|
|
9
|
+
execution: z.ZodObject<{
|
|
10
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
11
|
+
profileId: z.ZodLiteral<"KOKORO_INT8_ZH_EN_V1">;
|
|
12
|
+
modelDigest: z.ZodLiteral<"ebd0959580940e20dbb10a55775ec94e47229c7c503f65932403fe0764667126">;
|
|
13
|
+
}, z.core.$strict>;
|
|
14
|
+
textMaxCharacters: z.ZodInt;
|
|
15
|
+
languages: z.ZodArray<z.ZodEnum<{
|
|
16
|
+
zh: "zh";
|
|
17
|
+
en: "en";
|
|
18
|
+
}>>;
|
|
19
|
+
voices: z.ZodArray<z.ZodObject<{
|
|
20
|
+
label: z.ZodString;
|
|
21
|
+
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>]>>>;
|
|
22
|
+
parameterOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
23
|
+
unsupportedParameters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24
|
+
id: z.ZodString;
|
|
25
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
26
|
+
zh: "zh";
|
|
27
|
+
en: "en";
|
|
28
|
+
}>>>;
|
|
29
|
+
}, z.core.$strict>>;
|
|
30
|
+
parameters: z.ZodObject<{
|
|
31
|
+
speed: z.ZodObject<{
|
|
32
|
+
label: z.ZodString;
|
|
33
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
34
|
+
maxLength: z.ZodOptional<z.ZodInt>;
|
|
35
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
36
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
37
|
+
description: z.ZodOptional<z.ZodString>;
|
|
38
|
+
maxItems: z.ZodOptional<z.ZodInt>;
|
|
39
|
+
maxKeyLength: z.ZodOptional<z.ZodInt>;
|
|
40
|
+
type: z.ZodLiteral<"NUMBER">;
|
|
41
|
+
min: z.ZodNumber;
|
|
42
|
+
max: z.ZodNumber;
|
|
43
|
+
default: z.ZodDefault<z.ZodNumber>;
|
|
44
|
+
}, z.core.$strict>;
|
|
45
|
+
}, z.core.$strict>;
|
|
46
|
+
sourceUrl: z.ZodLiteral<"https://k2-fsa.github.io/sherpa/onnx/tts/pretrained_models/kokoro.html">;
|
|
47
|
+
output: z.ZodLiteral<"PCM_S16LE_48000_V1">;
|
|
48
|
+
normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
|
|
49
|
+
}, z.core.$strict>;
|
|
50
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3
51
|
costPolicy: z.ZodOptional<z.ZodObject<{
|
|
4
52
|
currency: z.ZodLiteral<"USD">;
|
|
5
53
|
sourceUrl: z.ZodURL;
|
|
@@ -646,8 +694,8 @@ export declare const ProviderModelDefinitionSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
646
694
|
QIANWEN_VIDEO_V1: "QIANWEN_VIDEO_V1";
|
|
647
695
|
}>;
|
|
648
696
|
modes: z.ZodArray<z.ZodEnum<{
|
|
649
|
-
AUDIO: "AUDIO";
|
|
650
697
|
VIDEO: "VIDEO";
|
|
698
|
+
AUDIO: "AUDIO";
|
|
651
699
|
AUDIOVISUAL: "AUDIOVISUAL";
|
|
652
700
|
VIDEO_ALL_FRAMES: "VIDEO_ALL_FRAMES";
|
|
653
701
|
}>>;
|
|
@@ -687,8 +735,8 @@ export declare const ProviderModelDefinitionSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
687
735
|
}>;
|
|
688
736
|
modes: z.ZodTuple<[z.ZodLiteral<"TRANSCRIPTION">], null>;
|
|
689
737
|
inputKinds: z.ZodArray<z.ZodEnum<{
|
|
690
|
-
AUDIO: "AUDIO";
|
|
691
738
|
VIDEO: "VIDEO";
|
|
739
|
+
AUDIO: "AUDIO";
|
|
692
740
|
}>>;
|
|
693
741
|
requestTimeoutMs: z.ZodInt;
|
|
694
742
|
maxBytes: z.ZodInt;
|
|
@@ -842,6 +890,54 @@ export declare const ProviderModelViewSchema: z.ZodObject<{
|
|
|
842
890
|
version: z.ZodInt;
|
|
843
891
|
enabled: z.ZodBoolean;
|
|
844
892
|
definition: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
893
|
+
family: z.ZodLiteral<"NATIVE_SPEECH">;
|
|
894
|
+
profile: z.ZodObject<{
|
|
895
|
+
id: z.ZodString;
|
|
896
|
+
version: z.ZodInt;
|
|
897
|
+
label: z.ZodString;
|
|
898
|
+
protocol: z.ZodLiteral<"KOKORO_ONNX_CPU_V1">;
|
|
899
|
+
execution: z.ZodObject<{
|
|
900
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
901
|
+
profileId: z.ZodLiteral<"KOKORO_INT8_ZH_EN_V1">;
|
|
902
|
+
modelDigest: z.ZodLiteral<"ebd0959580940e20dbb10a55775ec94e47229c7c503f65932403fe0764667126">;
|
|
903
|
+
}, z.core.$strict>;
|
|
904
|
+
textMaxCharacters: z.ZodInt;
|
|
905
|
+
languages: z.ZodArray<z.ZodEnum<{
|
|
906
|
+
zh: "zh";
|
|
907
|
+
en: "en";
|
|
908
|
+
}>>;
|
|
909
|
+
voices: z.ZodArray<z.ZodObject<{
|
|
910
|
+
label: z.ZodString;
|
|
911
|
+
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>]>>>;
|
|
912
|
+
parameterOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
913
|
+
unsupportedParameters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
914
|
+
id: z.ZodString;
|
|
915
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
916
|
+
zh: "zh";
|
|
917
|
+
en: "en";
|
|
918
|
+
}>>>;
|
|
919
|
+
}, z.core.$strict>>;
|
|
920
|
+
parameters: z.ZodObject<{
|
|
921
|
+
speed: z.ZodObject<{
|
|
922
|
+
label: z.ZodString;
|
|
923
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
924
|
+
maxLength: z.ZodOptional<z.ZodInt>;
|
|
925
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
926
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
927
|
+
description: z.ZodOptional<z.ZodString>;
|
|
928
|
+
maxItems: z.ZodOptional<z.ZodInt>;
|
|
929
|
+
maxKeyLength: z.ZodOptional<z.ZodInt>;
|
|
930
|
+
type: z.ZodLiteral<"NUMBER">;
|
|
931
|
+
min: z.ZodNumber;
|
|
932
|
+
max: z.ZodNumber;
|
|
933
|
+
default: z.ZodDefault<z.ZodNumber>;
|
|
934
|
+
}, z.core.$strict>;
|
|
935
|
+
}, z.core.$strict>;
|
|
936
|
+
sourceUrl: z.ZodLiteral<"https://k2-fsa.github.io/sherpa/onnx/tts/pretrained_models/kokoro.html">;
|
|
937
|
+
output: z.ZodLiteral<"PCM_S16LE_48000_V1">;
|
|
938
|
+
normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
|
|
939
|
+
}, z.core.$strict>;
|
|
940
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
845
941
|
costPolicy: z.ZodOptional<z.ZodObject<{
|
|
846
942
|
currency: z.ZodLiteral<"USD">;
|
|
847
943
|
sourceUrl: z.ZodURL;
|
|
@@ -1488,8 +1584,8 @@ export declare const ProviderModelViewSchema: z.ZodObject<{
|
|
|
1488
1584
|
QIANWEN_VIDEO_V1: "QIANWEN_VIDEO_V1";
|
|
1489
1585
|
}>;
|
|
1490
1586
|
modes: z.ZodArray<z.ZodEnum<{
|
|
1491
|
-
AUDIO: "AUDIO";
|
|
1492
1587
|
VIDEO: "VIDEO";
|
|
1588
|
+
AUDIO: "AUDIO";
|
|
1493
1589
|
AUDIOVISUAL: "AUDIOVISUAL";
|
|
1494
1590
|
VIDEO_ALL_FRAMES: "VIDEO_ALL_FRAMES";
|
|
1495
1591
|
}>>;
|
|
@@ -1529,8 +1625,8 @@ export declare const ProviderModelViewSchema: z.ZodObject<{
|
|
|
1529
1625
|
}>;
|
|
1530
1626
|
modes: z.ZodTuple<[z.ZodLiteral<"TRANSCRIPTION">], null>;
|
|
1531
1627
|
inputKinds: z.ZodArray<z.ZodEnum<{
|
|
1532
|
-
AUDIO: "AUDIO";
|
|
1533
1628
|
VIDEO: "VIDEO";
|
|
1629
|
+
AUDIO: "AUDIO";
|
|
1534
1630
|
}>>;
|
|
1535
1631
|
requestTimeoutMs: z.ZodInt;
|
|
1536
1632
|
maxBytes: z.ZodInt;
|
|
@@ -1683,6 +1779,54 @@ export declare const ConfigureProviderModelSchema: z.ZodObject<{
|
|
|
1683
1779
|
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
1684
1780
|
expectedVersion: z.ZodInt;
|
|
1685
1781
|
definition: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1782
|
+
family: z.ZodLiteral<"NATIVE_SPEECH">;
|
|
1783
|
+
profile: z.ZodObject<{
|
|
1784
|
+
id: z.ZodString;
|
|
1785
|
+
version: z.ZodInt;
|
|
1786
|
+
label: z.ZodString;
|
|
1787
|
+
protocol: z.ZodLiteral<"KOKORO_ONNX_CPU_V1">;
|
|
1788
|
+
execution: z.ZodObject<{
|
|
1789
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
1790
|
+
profileId: z.ZodLiteral<"KOKORO_INT8_ZH_EN_V1">;
|
|
1791
|
+
modelDigest: z.ZodLiteral<"ebd0959580940e20dbb10a55775ec94e47229c7c503f65932403fe0764667126">;
|
|
1792
|
+
}, z.core.$strict>;
|
|
1793
|
+
textMaxCharacters: z.ZodInt;
|
|
1794
|
+
languages: z.ZodArray<z.ZodEnum<{
|
|
1795
|
+
zh: "zh";
|
|
1796
|
+
en: "en";
|
|
1797
|
+
}>>;
|
|
1798
|
+
voices: z.ZodArray<z.ZodObject<{
|
|
1799
|
+
label: z.ZodString;
|
|
1800
|
+
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>]>>>;
|
|
1801
|
+
parameterOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
1802
|
+
unsupportedParameters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1803
|
+
id: z.ZodString;
|
|
1804
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1805
|
+
zh: "zh";
|
|
1806
|
+
en: "en";
|
|
1807
|
+
}>>>;
|
|
1808
|
+
}, z.core.$strict>>;
|
|
1809
|
+
parameters: z.ZodObject<{
|
|
1810
|
+
speed: z.ZodObject<{
|
|
1811
|
+
label: z.ZodString;
|
|
1812
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1813
|
+
maxLength: z.ZodOptional<z.ZodInt>;
|
|
1814
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1815
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
1816
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1817
|
+
maxItems: z.ZodOptional<z.ZodInt>;
|
|
1818
|
+
maxKeyLength: z.ZodOptional<z.ZodInt>;
|
|
1819
|
+
type: z.ZodLiteral<"NUMBER">;
|
|
1820
|
+
min: z.ZodNumber;
|
|
1821
|
+
max: z.ZodNumber;
|
|
1822
|
+
default: z.ZodDefault<z.ZodNumber>;
|
|
1823
|
+
}, z.core.$strict>;
|
|
1824
|
+
}, z.core.$strict>;
|
|
1825
|
+
sourceUrl: z.ZodLiteral<"https://k2-fsa.github.io/sherpa/onnx/tts/pretrained_models/kokoro.html">;
|
|
1826
|
+
output: z.ZodLiteral<"PCM_S16LE_48000_V1">;
|
|
1827
|
+
normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
|
|
1828
|
+
}, z.core.$strict>;
|
|
1829
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1686
1830
|
costPolicy: z.ZodOptional<z.ZodObject<{
|
|
1687
1831
|
currency: z.ZodLiteral<"USD">;
|
|
1688
1832
|
sourceUrl: z.ZodURL;
|
|
@@ -2329,8 +2473,8 @@ export declare const ConfigureProviderModelSchema: z.ZodObject<{
|
|
|
2329
2473
|
QIANWEN_VIDEO_V1: "QIANWEN_VIDEO_V1";
|
|
2330
2474
|
}>;
|
|
2331
2475
|
modes: z.ZodArray<z.ZodEnum<{
|
|
2332
|
-
AUDIO: "AUDIO";
|
|
2333
2476
|
VIDEO: "VIDEO";
|
|
2477
|
+
AUDIO: "AUDIO";
|
|
2334
2478
|
AUDIOVISUAL: "AUDIOVISUAL";
|
|
2335
2479
|
VIDEO_ALL_FRAMES: "VIDEO_ALL_FRAMES";
|
|
2336
2480
|
}>>;
|
|
@@ -2370,8 +2514,8 @@ export declare const ConfigureProviderModelSchema: z.ZodObject<{
|
|
|
2370
2514
|
}>;
|
|
2371
2515
|
modes: z.ZodTuple<[z.ZodLiteral<"TRANSCRIPTION">], null>;
|
|
2372
2516
|
inputKinds: z.ZodArray<z.ZodEnum<{
|
|
2373
|
-
AUDIO: "AUDIO";
|
|
2374
2517
|
VIDEO: "VIDEO";
|
|
2518
|
+
AUDIO: "AUDIO";
|
|
2375
2519
|
}>>;
|
|
2376
2520
|
requestTimeoutMs: z.ZodInt;
|
|
2377
2521
|
maxBytes: z.ZodInt;
|
|
@@ -2519,6 +2663,14 @@ export declare const ConfigureProviderModelSchema: z.ZodObject<{
|
|
|
2519
2663
|
outputAudioChannels: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
2520
2664
|
}, z.core.$strict>;
|
|
2521
2665
|
}, z.core.$strict>], "family">;
|
|
2666
|
+
speechCostPolicy: z.ZodOptional<z.ZodObject<{
|
|
2667
|
+
currency: z.ZodLiteral<"USD">;
|
|
2668
|
+
unit: z.ZodLiteral<"INPUT_CHARACTER">;
|
|
2669
|
+
ruleId: z.ZodString;
|
|
2670
|
+
upperBoundMicrosPerMillionCharacters: z.ZodInt;
|
|
2671
|
+
sourceUrl: z.ZodURL;
|
|
2672
|
+
validUntil: z.ZodISODateTime;
|
|
2673
|
+
}, z.core.$strict>>;
|
|
2522
2674
|
}, z.core.$strict>;
|
|
2523
2675
|
export declare const DisableProviderModelSchema: z.ZodObject<{
|
|
2524
2676
|
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
@@ -2532,6 +2684,54 @@ export declare const ProviderModelPageSchema: z.ZodObject<{
|
|
|
2532
2684
|
version: z.ZodInt;
|
|
2533
2685
|
enabled: z.ZodBoolean;
|
|
2534
2686
|
definition: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2687
|
+
family: z.ZodLiteral<"NATIVE_SPEECH">;
|
|
2688
|
+
profile: z.ZodObject<{
|
|
2689
|
+
id: z.ZodString;
|
|
2690
|
+
version: z.ZodInt;
|
|
2691
|
+
label: z.ZodString;
|
|
2692
|
+
protocol: z.ZodLiteral<"KOKORO_ONNX_CPU_V1">;
|
|
2693
|
+
execution: z.ZodObject<{
|
|
2694
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
2695
|
+
profileId: z.ZodLiteral<"KOKORO_INT8_ZH_EN_V1">;
|
|
2696
|
+
modelDigest: z.ZodLiteral<"ebd0959580940e20dbb10a55775ec94e47229c7c503f65932403fe0764667126">;
|
|
2697
|
+
}, z.core.$strict>;
|
|
2698
|
+
textMaxCharacters: z.ZodInt;
|
|
2699
|
+
languages: z.ZodArray<z.ZodEnum<{
|
|
2700
|
+
zh: "zh";
|
|
2701
|
+
en: "en";
|
|
2702
|
+
}>>;
|
|
2703
|
+
voices: z.ZodArray<z.ZodObject<{
|
|
2704
|
+
label: z.ZodString;
|
|
2705
|
+
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>]>>>;
|
|
2706
|
+
parameterOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
2707
|
+
unsupportedParameters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2708
|
+
id: z.ZodString;
|
|
2709
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2710
|
+
zh: "zh";
|
|
2711
|
+
en: "en";
|
|
2712
|
+
}>>>;
|
|
2713
|
+
}, z.core.$strict>>;
|
|
2714
|
+
parameters: z.ZodObject<{
|
|
2715
|
+
speed: z.ZodObject<{
|
|
2716
|
+
label: z.ZodString;
|
|
2717
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
2718
|
+
maxLength: z.ZodOptional<z.ZodInt>;
|
|
2719
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2720
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
2721
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2722
|
+
maxItems: z.ZodOptional<z.ZodInt>;
|
|
2723
|
+
maxKeyLength: z.ZodOptional<z.ZodInt>;
|
|
2724
|
+
type: z.ZodLiteral<"NUMBER">;
|
|
2725
|
+
min: z.ZodNumber;
|
|
2726
|
+
max: z.ZodNumber;
|
|
2727
|
+
default: z.ZodDefault<z.ZodNumber>;
|
|
2728
|
+
}, z.core.$strict>;
|
|
2729
|
+
}, z.core.$strict>;
|
|
2730
|
+
sourceUrl: z.ZodLiteral<"https://k2-fsa.github.io/sherpa/onnx/tts/pretrained_models/kokoro.html">;
|
|
2731
|
+
output: z.ZodLiteral<"PCM_S16LE_48000_V1">;
|
|
2732
|
+
normalizationVersion: z.ZodLiteral<"SPEECH_PCM_V1">;
|
|
2733
|
+
}, z.core.$strict>;
|
|
2734
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2535
2735
|
costPolicy: z.ZodOptional<z.ZodObject<{
|
|
2536
2736
|
currency: z.ZodLiteral<"USD">;
|
|
2537
2737
|
sourceUrl: z.ZodURL;
|
|
@@ -3178,8 +3378,8 @@ export declare const ProviderModelPageSchema: z.ZodObject<{
|
|
|
3178
3378
|
QIANWEN_VIDEO_V1: "QIANWEN_VIDEO_V1";
|
|
3179
3379
|
}>;
|
|
3180
3380
|
modes: z.ZodArray<z.ZodEnum<{
|
|
3181
|
-
AUDIO: "AUDIO";
|
|
3182
3381
|
VIDEO: "VIDEO";
|
|
3382
|
+
AUDIO: "AUDIO";
|
|
3183
3383
|
AUDIOVISUAL: "AUDIOVISUAL";
|
|
3184
3384
|
VIDEO_ALL_FRAMES: "VIDEO_ALL_FRAMES";
|
|
3185
3385
|
}>>;
|
|
@@ -3219,8 +3419,8 @@ export declare const ProviderModelPageSchema: z.ZodObject<{
|
|
|
3219
3419
|
}>;
|
|
3220
3420
|
modes: z.ZodTuple<[z.ZodLiteral<"TRANSCRIPTION">], null>;
|
|
3221
3421
|
inputKinds: z.ZodArray<z.ZodEnum<{
|
|
3222
|
-
AUDIO: "AUDIO";
|
|
3223
3422
|
VIDEO: "VIDEO";
|
|
3423
|
+
AUDIO: "AUDIO";
|
|
3224
3424
|
}>>;
|
|
3225
3425
|
requestTimeoutMs: z.ZodInt;
|
|
3226
3426
|
maxBytes: z.ZodInt;
|
|
@@ -3372,6 +3572,7 @@ export declare const ProviderModelPageSchema: z.ZodObject<{
|
|
|
3372
3572
|
possiblyTruncated: z.ZodBoolean;
|
|
3373
3573
|
}, z.core.$strict>;
|
|
3374
3574
|
export type ProviderModelDefinition = z.infer<typeof ProviderModelDefinitionSchema>;
|
|
3575
|
+
export declare function modelProvider(definition: ProviderModelDefinition): "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI" | null;
|
|
3375
3576
|
export declare const ProviderModelGetSchema: z.ZodObject<{
|
|
3376
3577
|
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
3377
3578
|
id: z.ZodString;
|
|
@@ -16,7 +16,51 @@ export declare const ProviderSelectionSchema: z.ZodObject<{
|
|
|
16
16
|
connectionId: z.core.$ZodBranded<z.ZodUUID, "ProviderConnectionId", "out">;
|
|
17
17
|
modelProfileId: z.ZodString;
|
|
18
18
|
}, z.core.$strict>;
|
|
19
|
+
/** 租户明确授予单项目、模型和处理用途的外部执行额度。连接版本即授权修订。 */
|
|
20
|
+
export declare const TenantProviderExecutionGrantSchema: z.ZodObject<{
|
|
21
|
+
projectId: z.ZodUUID;
|
|
22
|
+
modelProfileId: z.ZodString;
|
|
23
|
+
modelProfileVersion: z.ZodInt;
|
|
24
|
+
workload: z.ZodEnum<{
|
|
25
|
+
KEYFRAME_GENERATE: "KEYFRAME_GENERATE";
|
|
26
|
+
VIDEO_GENERATE: "VIDEO_GENERATE";
|
|
27
|
+
SPEECH_SYNTHESIS: "SPEECH_SYNTHESIS";
|
|
28
|
+
TRANSCRIPTION: "TRANSCRIPTION";
|
|
29
|
+
AUDIO_OBSERVATION: "AUDIO_OBSERVATION";
|
|
30
|
+
VIDEO_OBSERVATION: "VIDEO_OBSERVATION";
|
|
31
|
+
}>;
|
|
32
|
+
disclosure: z.ZodEnum<{
|
|
33
|
+
TEXT_ONLY: "TEXT_ONLY";
|
|
34
|
+
IMMUTABLE_PROJECT_INPUTS: "IMMUTABLE_PROJECT_INPUTS";
|
|
35
|
+
}>;
|
|
36
|
+
expiresAt: z.ZodISODateTime;
|
|
37
|
+
maxPerRequestMicros: z.ZodInt;
|
|
38
|
+
maxTotalMicros: z.ZodInt;
|
|
39
|
+
maxSubmissions: z.ZodInt;
|
|
40
|
+
}, z.core.$strict>;
|
|
41
|
+
export type TenantProviderExecutionGrant = z.infer<typeof TenantProviderExecutionGrantSchema>;
|
|
19
42
|
export declare const ProviderConfigurationSchema: z.ZodObject<{
|
|
43
|
+
tenantExecution: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
44
|
+
projectId: z.ZodUUID;
|
|
45
|
+
modelProfileId: z.ZodString;
|
|
46
|
+
modelProfileVersion: z.ZodInt;
|
|
47
|
+
workload: z.ZodEnum<{
|
|
48
|
+
KEYFRAME_GENERATE: "KEYFRAME_GENERATE";
|
|
49
|
+
VIDEO_GENERATE: "VIDEO_GENERATE";
|
|
50
|
+
SPEECH_SYNTHESIS: "SPEECH_SYNTHESIS";
|
|
51
|
+
TRANSCRIPTION: "TRANSCRIPTION";
|
|
52
|
+
AUDIO_OBSERVATION: "AUDIO_OBSERVATION";
|
|
53
|
+
VIDEO_OBSERVATION: "VIDEO_OBSERVATION";
|
|
54
|
+
}>;
|
|
55
|
+
disclosure: z.ZodEnum<{
|
|
56
|
+
TEXT_ONLY: "TEXT_ONLY";
|
|
57
|
+
IMMUTABLE_PROJECT_INPUTS: "IMMUTABLE_PROJECT_INPUTS";
|
|
58
|
+
}>;
|
|
59
|
+
expiresAt: z.ZodISODateTime;
|
|
60
|
+
maxPerRequestMicros: z.ZodInt;
|
|
61
|
+
maxTotalMicros: z.ZodInt;
|
|
62
|
+
maxSubmissions: z.ZodInt;
|
|
63
|
+
}, z.core.$strict>>>;
|
|
20
64
|
providerId: z.ZodEnum<{
|
|
21
65
|
QWEN_CN: "QWEN_CN";
|
|
22
66
|
VOLCENGINE_CN: "VOLCENGINE_CN";
|
|
@@ -42,6 +86,27 @@ export declare const ConfigureProviderInputSchema: z.ZodObject<{
|
|
|
42
86
|
connectionId: z.core.$ZodBranded<z.ZodUUID, "ProviderConnectionId", "out">;
|
|
43
87
|
expectedVersion: z.ZodInt;
|
|
44
88
|
configuration: z.ZodObject<{
|
|
89
|
+
tenantExecution: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
90
|
+
projectId: z.ZodUUID;
|
|
91
|
+
modelProfileId: z.ZodString;
|
|
92
|
+
modelProfileVersion: z.ZodInt;
|
|
93
|
+
workload: z.ZodEnum<{
|
|
94
|
+
KEYFRAME_GENERATE: "KEYFRAME_GENERATE";
|
|
95
|
+
VIDEO_GENERATE: "VIDEO_GENERATE";
|
|
96
|
+
SPEECH_SYNTHESIS: "SPEECH_SYNTHESIS";
|
|
97
|
+
TRANSCRIPTION: "TRANSCRIPTION";
|
|
98
|
+
AUDIO_OBSERVATION: "AUDIO_OBSERVATION";
|
|
99
|
+
VIDEO_OBSERVATION: "VIDEO_OBSERVATION";
|
|
100
|
+
}>;
|
|
101
|
+
disclosure: z.ZodEnum<{
|
|
102
|
+
TEXT_ONLY: "TEXT_ONLY";
|
|
103
|
+
IMMUTABLE_PROJECT_INPUTS: "IMMUTABLE_PROJECT_INPUTS";
|
|
104
|
+
}>;
|
|
105
|
+
expiresAt: z.ZodISODateTime;
|
|
106
|
+
maxPerRequestMicros: z.ZodInt;
|
|
107
|
+
maxTotalMicros: z.ZodInt;
|
|
108
|
+
maxSubmissions: z.ZodInt;
|
|
109
|
+
}, z.core.$strict>>>;
|
|
45
110
|
providerId: z.ZodEnum<{
|
|
46
111
|
QWEN_CN: "QWEN_CN";
|
|
47
112
|
VOLCENGINE_CN: "VOLCENGINE_CN";
|
|
@@ -90,7 +155,7 @@ export declare const ProviderConnectionViewSchema: z.ZodObject<{
|
|
|
90
155
|
STRICT: "STRICT";
|
|
91
156
|
PAD_TO_ASPECT: "PAD_TO_ASPECT";
|
|
92
157
|
}>>;
|
|
93
|
-
}, z.core.$
|
|
158
|
+
}, z.core.$strip>;
|
|
94
159
|
createdByPrincipalId: z.core.$ZodBranded<z.ZodUUID, "PrincipalId", "out">;
|
|
95
160
|
updatedAt: z.ZodISODateTime;
|
|
96
161
|
}, z.core.$strict>;
|
|
@@ -6,6 +6,7 @@ export declare const StartReferencePreviewSchema: z.ZodObject<{
|
|
|
6
6
|
sourceArtifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
|
|
7
7
|
expectedBriefVersion: z.ZodInt;
|
|
8
8
|
idempotencyKey: z.ZodString;
|
|
9
|
+
deviceId: z.ZodOptional<z.ZodUUID>;
|
|
9
10
|
}, z.core.$strict>;
|
|
10
11
|
export declare const ReferencePreviewAdmissionSchema: z.ZodObject<{
|
|
11
12
|
semanticStatus: z.ZodLiteral<"ACCEPTED">;
|
|
@@ -34,3 +35,22 @@ export declare const ReferencePreviewOperationInputSchema: z.ZodObject<{
|
|
|
34
35
|
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
35
36
|
operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
|
|
36
37
|
}, z.core.$strict>;
|
|
38
|
+
/** 预览载体共用原 pending/结果和 cooperative cancel 语义。 */
|
|
39
|
+
export declare const ReferencePreviewReadResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
40
|
+
semanticStatus: z.ZodLiteral<"SUCCESS">;
|
|
41
|
+
sourceArtifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
|
|
42
|
+
representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
|
|
43
|
+
contentType: z.ZodLiteral<"image/png">;
|
|
44
|
+
checksumSha256: z.ZodString;
|
|
45
|
+
width: z.ZodInt;
|
|
46
|
+
height: z.ZodInt;
|
|
47
|
+
byteSize: z.ZodInt;
|
|
48
|
+
contentBase64: z.ZodString;
|
|
49
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
50
|
+
semanticStatus: z.ZodLiteral<"ACCEPTED">;
|
|
51
|
+
}, z.core.$strict>]>;
|
|
52
|
+
export declare const ReferencePreviewCancelResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
53
|
+
semanticStatus: z.ZodLiteral<"ACCEPTED">;
|
|
54
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
55
|
+
semanticStatus: z.ZodLiteral<"NOT_FOUND">;
|
|
56
|
+
}, z.core.$strict>]>;
|