@nativestudio/sdk 0.0.0-stage → 0.3.0-rc.2

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.
Files changed (235) hide show
  1. package/COMPATIBILITY.json +14 -0
  2. package/LICENSE +21 -0
  3. package/README.md +74 -2
  4. package/dist/BUNDLED_DEPENDENCIES.json +1 -0
  5. package/dist/_chunks/chunk-34KSWLCI.js +1 -0
  6. package/dist/_chunks/chunk-4IOFVNFG.js +1 -0
  7. package/dist/_chunks/chunk-4M3AGNTZ.js +1 -0
  8. package/dist/_chunks/chunk-6NVIN2NI.js +1 -0
  9. package/dist/_chunks/chunk-7YCEMDNZ.js +1 -0
  10. package/dist/_chunks/chunk-RK3YLCZP.js +1 -0
  11. package/dist/_types/contracts/accepted-shot.d.ts +27 -0
  12. package/dist/_types/contracts/accepted-visual-source.d.ts +120 -0
  13. package/dist/_types/contracts/agent-execution-lifecycle.d.ts +749 -0
  14. package/dist/_types/contracts/agent-execution-oauth.d.ts +71 -0
  15. package/dist/_types/contracts/agent-execution-registration.d.ts +240 -0
  16. package/dist/_types/contracts/agent-execution-selection.d.ts +107 -0
  17. package/dist/_types/contracts/agent-host-execution.d.ts +706 -0
  18. package/dist/_types/contracts/agent-host-generic-transport.d.ts +12 -0
  19. package/dist/_types/contracts/agent-host.d.ts +226 -0
  20. package/dist/_types/contracts/artifact-discovery.d.ts +170 -0
  21. package/dist/_types/contracts/artifact.d.ts +188 -0
  22. package/dist/_types/contracts/audio.d.ts +331 -0
  23. package/dist/_types/contracts/brief.d.ts +178 -0
  24. package/dist/_types/contracts/caption-render.d.ts +20 -0
  25. package/dist/_types/contracts/caption-transcript.d.ts +102 -0
  26. package/dist/_types/contracts/captions.d.ts +420 -0
  27. package/dist/_types/contracts/clip-framing.d.ts +14 -0
  28. package/dist/_types/contracts/clip-transition.d.ts +6 -0
  29. package/dist/_types/contracts/composition-authoring-guide.d.ts +160 -0
  30. package/dist/_types/contracts/composition-authoring.d.ts +744 -0
  31. package/dist/_types/contracts/composition-finding-locality.d.ts +24 -0
  32. package/dist/_types/contracts/composition-frame-render.d.ts +226 -0
  33. package/dist/_types/contracts/composition-making.d.ts +390 -0
  34. package/dist/_types/contracts/composition-observation.d.ts +239 -0
  35. package/dist/_types/contracts/composition-render-base.d.ts +292 -0
  36. package/dist/_types/contracts/composition-render-observation.d.ts +278 -0
  37. package/dist/_types/contracts/composition-render.d.ts +406 -0
  38. package/dist/_types/contracts/composition-repair.d.ts +451 -0
  39. package/dist/_types/contracts/composition-source-review.d.ts +1042 -0
  40. package/dist/_types/contracts/consistency-profile.d.ts +845 -0
  41. package/dist/_types/contracts/continuity-evaluation.d.ts +48 -0
  42. package/dist/_types/contracts/delivery-completion.d.ts +210 -0
  43. package/dist/_types/contracts/delivery-manifest.d.ts +11776 -0
  44. package/dist/_types/contracts/delivery-operations.d.ts +5009 -0
  45. package/dist/_types/contracts/delivery-output-profile.d.ts +12 -0
  46. package/dist/_types/contracts/delivery-summary.d.ts +220 -0
  47. package/dist/_types/contracts/delivery-validation.d.ts +183 -0
  48. package/dist/_types/contracts/director-proposal.d.ts +1067 -0
  49. package/dist/_types/contracts/editor-intelligence.d.ts +5751 -0
  50. package/dist/_types/contracts/exploration-recommendation.d.ts +11863 -0
  51. package/dist/_types/contracts/external-agent-access.d.ts +95 -0
  52. package/dist/_types/contracts/final-ready.d.ts +301 -0
  53. package/dist/_types/contracts/final-render-profile.d.ts +59 -0
  54. package/dist/_types/contracts/final-render.d.ts +8181 -0
  55. package/dist/_types/contracts/foundation.d.ts +1 -0
  56. package/dist/_types/contracts/generation-contract.d.ts +268 -0
  57. package/dist/_types/contracts/generation-cost.d.ts +70 -0
  58. package/dist/_types/contracts/health.d.ts +6 -0
  59. package/dist/_types/contracts/human-identity.d.ts +149 -0
  60. package/dist/_types/contracts/hyperframe-profile.d.ts +5 -0
  61. package/dist/_types/contracts/ids.d.ts +41 -0
  62. package/dist/_types/contracts/index.d.ts +122 -0
  63. package/dist/_types/contracts/interface/common.d.ts +56 -0
  64. package/dist/_types/contracts/interface/execution-output.d.ts +99 -0
  65. package/dist/_types/contracts/interface/index.d.ts +7 -0
  66. package/dist/_types/contracts/interface/media-output.d.ts +62 -0
  67. package/dist/_types/contracts/interface/operation.d.ts +61 -0
  68. package/dist/_types/contracts/interface/output.d.ts +15 -0
  69. package/dist/_types/contracts/interface/production-snapshot.d.ts +832 -0
  70. package/dist/_types/contracts/interface/query.d.ts +315 -0
  71. package/dist/_types/contracts/keyframe-generation.d.ts +349 -0
  72. package/dist/_types/contracts/keyframe-reference.d.ts +31 -0
  73. package/dist/_types/contracts/keyframe-review.d.ts +753 -0
  74. package/dist/_types/contracts/lifecycle-event-projections.d.ts +191 -0
  75. package/dist/_types/contracts/lifecycle-events.d.ts +156 -0
  76. package/dist/_types/contracts/listening-evidence.d.ts +37 -0
  77. package/dist/_types/contracts/local-execution/agent-review.d.ts +560 -0
  78. package/dist/_types/contracts/local-execution/canonical.d.ts +2 -0
  79. package/dist/_types/contracts/local-execution/common.d.ts +48 -0
  80. package/dist/_types/contracts/local-execution/completion.d.ts +128 -0
  81. package/dist/_types/contracts/local-execution/device.d.ts +134 -0
  82. package/dist/_types/contracts/local-execution/index.d.ts +11 -0
  83. package/dist/_types/contracts/local-execution/ipc.d.ts +1202 -0
  84. package/dist/_types/contracts/local-execution/lifecycle.d.ts +347 -0
  85. package/dist/_types/contracts/local-execution/local-navigation.d.ts +710 -0
  86. package/dist/_types/contracts/local-execution/preview.d.ts +3663 -0
  87. package/dist/_types/contracts/local-execution/tool-selection.d.ts +15 -0
  88. package/dist/_types/contracts/local-execution/work.d.ts +3441 -0
  89. package/dist/_types/contracts/matrix-parameter-rule.d.ts +23 -0
  90. package/dist/_types/contracts/media-export.d.ts +23 -0
  91. package/dist/_types/contracts/media-observation.d.ts +1159 -0
  92. package/dist/_types/contracts/model-capability-matrix.d.ts +118 -0
  93. package/dist/_types/contracts/native-tool-authority-failure.d.ts +38 -0
  94. package/dist/_types/contracts/native-tool-authority.d.ts +110 -0
  95. package/dist/_types/contracts/native-tool-execution.d.ts +287 -0
  96. package/dist/_types/contracts/native-tool-gateway.d.ts +41 -0
  97. package/dist/_types/contracts/native-video-audio.d.ts +62 -0
  98. package/dist/_types/contracts/navigation-context.d.ts +253 -0
  99. package/dist/_types/contracts/navigation-groups.d.ts +51 -0
  100. package/dist/_types/contracts/navigation.d.ts +238 -0
  101. package/dist/_types/contracts/observation-profile.d.ts +99 -0
  102. package/dist/_types/contracts/planning-input.d.ts +177 -0
  103. package/dist/_types/contracts/principal.d.ts +26 -0
  104. package/dist/_types/contracts/production-creation.d.ts +66 -0
  105. package/dist/_types/contracts/production-termination.d.ts +51 -0
  106. package/dist/_types/contracts/production.d.ts +111 -0
  107. package/dist/_types/contracts/programmatic-composition.d.ts +762 -0
  108. package/dist/_types/contracts/programmatic-exploration.d.ts +7459 -0
  109. package/dist/_types/contracts/programmatic-video-review.d.ts +894 -0
  110. package/dist/_types/contracts/project-library.d.ts +173 -0
  111. package/dist/_types/contracts/project.d.ts +93 -0
  112. package/dist/_types/contracts/provider-catalog.d.ts +421 -0
  113. package/dist/_types/contracts/provider-models.d.ts +3380 -0
  114. package/dist/_types/contracts/provider.d.ts +142 -0
  115. package/dist/_types/contracts/reference-preview.d.ts +36 -0
  116. package/dist/_types/contracts/repair-lifecycle.d.ts +2896 -0
  117. package/dist/_types/contracts/repair-plan.d.ts +728 -0
  118. package/dist/_types/contracts/repair-strategy.d.ts +5751 -0
  119. package/dist/_types/contracts/review-intelligence-evidence.d.ts +136 -0
  120. package/dist/_types/contracts/review-intelligence-final-output.d.ts +8705 -0
  121. package/dist/_types/contracts/review-intelligence.d.ts +11543 -0
  122. package/dist/_types/contracts/review1-repair-source.d.ts +452 -0
  123. package/dist/_types/contracts/review1-repair-strategy.d.ts +491 -0
  124. package/dist/_types/contracts/review1-repair.d.ts +36 -0
  125. package/dist/_types/contracts/rough-cut-manifest.d.ts +347 -0
  126. package/dist/_types/contracts/rough-cut-profile.d.ts +37 -0
  127. package/dist/_types/contracts/rough-cut-review.d.ts +12819 -0
  128. package/dist/_types/contracts/rough-cut.d.ts +5862 -0
  129. package/dist/_types/contracts/scene-shot-plan.d.ts +882 -0
  130. package/dist/_types/contracts/sdk-discovery.d.ts +66 -0
  131. package/dist/_types/contracts/shot-direction.d.ts +113 -0
  132. package/dist/_types/contracts/shot-preparation-basis.d.ts +356 -0
  133. package/dist/_types/contracts/shot-preparation.d.ts +2285 -0
  134. package/dist/_types/contracts/shot-sound-instruction.d.ts +58 -0
  135. package/dist/_types/contracts/sound-making-plan.d.ts +1585 -0
  136. package/dist/_types/contracts/source-sound-policy.d.ts +10 -0
  137. package/dist/_types/contracts/source-workspace.d.ts +62 -0
  138. package/dist/_types/contracts/speech.d.ts +424 -0
  139. package/dist/_types/contracts/story.d.ts +98 -0
  140. package/dist/_types/contracts/temporal-evidence-operation.d.ts +379 -0
  141. package/dist/_types/contracts/temporal-evidence-reference.d.ts +18 -0
  142. package/dist/_types/contracts/temporal-evidence.d.ts +248 -0
  143. package/dist/_types/contracts/tenant.d.ts +7 -0
  144. package/dist/_types/contracts/timeline-audio.d.ts +97 -0
  145. package/dist/_types/contracts/timeline-graphics.d.ts +80 -0
  146. package/dist/_types/contracts/timeline-manifest.d.ts +702 -0
  147. package/dist/_types/contracts/timeline-source-sound.d.ts +352 -0
  148. package/dist/_types/contracts/timeline-v2.d.ts +1263 -0
  149. package/dist/_types/contracts/timeline-version-reader.d.ts +2945 -0
  150. package/dist/_types/contracts/timeline-visual-layers.d.ts +1245 -0
  151. package/dist/_types/contracts/timeline.d.ts +4942 -0
  152. package/dist/_types/contracts/transcription.d.ts +80 -0
  153. package/dist/_types/contracts/video-generation.d.ts +643 -0
  154. package/dist/_types/contracts/video-review.d.ts +1871 -0
  155. package/dist/_types/contracts/visual-exploration.d.ts +1586 -0
  156. package/dist/_types/contracts/visual-layer-render.d.ts +2777 -0
  157. package/dist/_types/contracts/visual-layer.d.ts +112 -0
  158. package/dist/_types/contracts/visual-sequence.d.ts +121 -0
  159. package/dist/_types/contracts/writer-proposal.d.ts +268 -0
  160. package/dist/_types/sdk/account.d.ts +109 -0
  161. package/dist/_types/sdk/auxiliary-media.d.ts +43 -0
  162. package/dist/_types/sdk/catalog/agent-host-execution.d.ts +1551 -0
  163. package/dist/_types/sdk/catalog/agent-host.d.ts +344 -0
  164. package/dist/_types/sdk/catalog/assembly.d.ts +37634 -0
  165. package/dist/_types/sdk/catalog/audio-caption.d.ts +1374 -0
  166. package/dist/_types/sdk/catalog/canonical-repair.d.ts +4584 -0
  167. package/dist/_types/sdk/catalog/composition-source.d.ts +1556 -0
  168. package/dist/_types/sdk/catalog/composition.d.ts +2815 -0
  169. package/dist/_types/sdk/catalog/core.d.ts +3049 -0
  170. package/dist/_types/sdk/catalog/delivery.d.ts +14169 -0
  171. package/dist/_types/sdk/catalog/discovery.d.ts +75 -0
  172. package/dist/_types/sdk/catalog/editor.d.ts +6540 -0
  173. package/dist/_types/sdk/catalog/generation.d.ts +942 -0
  174. package/dist/_types/sdk/catalog/imported-visual.d.ts +3111 -0
  175. package/dist/_types/sdk/catalog/keyframe-review.d.ts +859 -0
  176. package/dist/_types/sdk/catalog/lifecycle-events.d.ts +329 -0
  177. package/dist/_types/sdk/catalog/mcp.d.ts +245 -0
  178. package/dist/_types/sdk/catalog/media-descriptors.d.ts +139 -0
  179. package/dist/_types/sdk/catalog/media-observation.d.ts +958 -0
  180. package/dist/_types/sdk/catalog/native-tool-authority.d.ts +281 -0
  181. package/dist/_types/sdk/catalog/navigation.d.ts +559 -0
  182. package/dist/_types/sdk/catalog/planning-intelligence.d.ts +2031 -0
  183. package/dist/_types/sdk/catalog/programmatic-exploration.d.ts +9855 -0
  184. package/dist/_types/sdk/catalog/programmatic-review.d.ts +1106 -0
  185. package/dist/_types/sdk/catalog/provider.d.ts +4439 -0
  186. package/dist/_types/sdk/catalog/reference-preview.d.ts +180 -0
  187. package/dist/_types/sdk/catalog/repair-strategy.d.ts +8916 -0
  188. package/dist/_types/sdk/catalog/reviewer.d.ts +23133 -0
  189. package/dist/_types/sdk/catalog/shot-preparation.d.ts +2974 -0
  190. package/dist/_types/sdk/catalog/sound-making-plan.d.ts +1778 -0
  191. package/dist/_types/sdk/catalog/source-sync.d.ts +1313 -0
  192. package/dist/_types/sdk/catalog/spec.d.ts +37 -0
  193. package/dist/_types/sdk/catalog/speech.d.ts +397 -0
  194. package/dist/_types/sdk/catalog/temporal-evidence.d.ts +391 -0
  195. package/dist/_types/sdk/catalog/video-review.d.ts +2149 -0
  196. package/dist/_types/sdk/catalog/visual-exploration.d.ts +10838 -0
  197. package/dist/_types/sdk/client.d.ts +75 -0
  198. package/dist/_types/sdk/desktop-catalogue.d.ts +25 -0
  199. package/dist/_types/sdk/desktop-previews.d.ts +118 -0
  200. package/dist/_types/sdk/desktop-releases.d.ts +75 -0
  201. package/dist/_types/sdk/errors.d.ts +9 -0
  202. package/dist/_types/sdk/evidence-image.d.ts +22 -0
  203. package/dist/_types/sdk/image-media.d.ts +43 -0
  204. package/dist/_types/sdk/index.d.ts +16 -0
  205. package/dist/_types/sdk/local-runtime/device-client.d.ts +77 -0
  206. package/dist/_types/sdk/local-runtime-client.d.ts +932 -0
  207. package/dist/_types/sdk/mcp-client.d.ts +55 -0
  208. package/dist/_types/sdk/mcp-image.d.ts +52 -0
  209. package/dist/_types/sdk/media.d.ts +104 -0
  210. package/dist/_types/sdk/navigation-client.d.ts +141 -0
  211. package/dist/_types/sdk/navigation-facade.d.ts +458 -0
  212. package/dist/_types/sdk/observe.d.ts +51 -0
  213. package/dist/_types/sdk/runtime-authority.d.ts +103 -0
  214. package/dist/_types/sdk/transport/http.d.ts +39 -0
  215. package/dist/account.d.ts +1 -0
  216. package/dist/account.js +1 -0
  217. package/dist/desktop-previews.d.ts +1 -0
  218. package/dist/desktop-previews.js +1 -0
  219. package/dist/desktop-releases.d.ts +1 -0
  220. package/dist/desktop-releases.js +1 -0
  221. package/dist/errors.d.ts +1 -0
  222. package/dist/errors.js +1 -0
  223. package/dist/index.d.ts +2 -0
  224. package/dist/index.js +1 -0
  225. package/dist/local-runtime.d.ts +1 -0
  226. package/dist/local-runtime.js +1 -0
  227. package/dist/native/Bootstrap.ps1 +90 -0
  228. package/dist/native/JobNative.cs +127 -0
  229. package/dist/native/JobRunner.cs +360 -0
  230. package/dist/native/NativeMain.cs +146 -0
  231. package/dist/native/PipeBridge.cs +260 -0
  232. package/dist/native/PrivateAccess.cs +152 -0
  233. package/dist/runtime-authority.d.ts +1 -0
  234. package/dist/runtime-authority.js +1 -0
  235. package/package.json +50 -3
@@ -0,0 +1,37 @@
1
+ import type { z } from "zod";
2
+ import type { HttpRequest } from "../transport/http.js";
3
+ export interface OperationSpec<Input, ParsedInput, Output, RawOutput> {
4
+ readonly input: z.ZodType<ParsedInput, Input>;
5
+ readonly output: z.ZodType<Output, RawOutput>;
6
+ readonly request: ((value: ParsedInput) => HttpRequest) | null;
7
+ readonly identity: readonly (readonly [string, string, "SUCCESS"?])[];
8
+ readonly readOnly: boolean | undefined;
9
+ readonly expectedPath: ((value: ParsedInput) => string) | undefined;
10
+ readonly identityWhenPresent: readonly (readonly [string, string])[];
11
+ }
12
+ export interface HttpOperationSpec<Input, ParsedInput, Output, RawOutput> extends OperationSpec<Input, ParsedInput, Output, RawOutput> {
13
+ readonly request: (value: ParsedInput) => HttpRequest;
14
+ readonly expectedPath: undefined;
15
+ }
16
+ export interface McpOperationSpec<Input, ParsedInput, Output, RawOutput> extends OperationSpec<Input, ParsedInput, Output, RawOutput> {
17
+ readonly request: null;
18
+ readonly readOnly: boolean;
19
+ }
20
+ export declare function operation<I extends z.ZodType, O extends z.ZodType>(input: I, output: O, request: (value: z.output<I>) => HttpRequest, identity?: readonly (readonly [
21
+ inputField: string,
22
+ outputPath: string,
23
+ whenStatus?: "SUCCESS"
24
+ ])[], options?: {
25
+ readOnly?: boolean;
26
+ identityWhenPresent?: readonly (readonly [string, string])[];
27
+ }): HttpOperationSpec<z.input<I>, z.output<I>, z.output<O>, z.input<O>>;
28
+ export declare function path(...parts: string[]): string;
29
+ export declare function pageQuery(input: {
30
+ limit?: number | undefined;
31
+ next?: string | undefined;
32
+ }): {
33
+ limit: number | undefined;
34
+ next: string | undefined;
35
+ };
36
+ /** Explicit native MCP-only owner surface; HTTP clients reject before any network request. */
37
+ export declare function mcpOperation<I extends z.ZodType, O extends z.ZodType>(input: I, output: O, readOnly: boolean, identity?: readonly (readonly [string, string, "SUCCESS"?])[], expectedPath?: (input: z.output<I>) => string): McpOperationSpec<z.input<I>, z.output<I>, z.output<O>, z.input<O>>;
@@ -0,0 +1,397 @@
1
+ import { z } from "zod";
2
+ export declare const speechOperations: {
3
+ readonly "speech.options": import("./spec.js").HttpOperationSpec<{
4
+ tenantId: string;
5
+ productionId: string;
6
+ }, {
7
+ tenantId: string & z.core.$brand<"TenantId">;
8
+ productionId: string & z.core.$brand<"ProductionId">;
9
+ }, {
10
+ tenantId: string & z.core.$brand<"TenantId">;
11
+ productionId: string & z.core.$brand<"ProductionId">;
12
+ options: {
13
+ selection: {
14
+ connectionId: string & z.core.$brand<"ProviderConnectionId">;
15
+ modelProfileId: string;
16
+ };
17
+ profile: {
18
+ id: string;
19
+ version: number;
20
+ providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
21
+ modelId: string | null;
22
+ protocol: "QWEN_TTS" | "QWEN_AUDIO_TTS" | "OPENAI_TTS" | "XAI_TTS" | "GEMINI_INTERACTIONS_TTS" | "VOLCENGINE_TTS";
23
+ label: string;
24
+ textMaxCharacters: number;
25
+ requestTimeoutMs: number;
26
+ workspaceRequired: boolean;
27
+ voices: {
28
+ id: string;
29
+ label: string;
30
+ languages?: string[] | undefined;
31
+ parameterDefaults?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
32
+ parameterOptions?: Record<string, string[]> | undefined;
33
+ unsupportedParameters?: string[] | undefined;
34
+ }[];
35
+ languages: string[];
36
+ parameters: Record<string, {
37
+ label: string;
38
+ type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
39
+ required: boolean;
40
+ min?: number | undefined;
41
+ max?: number | undefined;
42
+ maxLength?: number | undefined;
43
+ options?: string[] | undefined;
44
+ default?: string | number | boolean | string[] | Record<string, string> | undefined;
45
+ unit?: string | undefined;
46
+ description?: string | undefined;
47
+ maxItems?: number | undefined;
48
+ maxKeyLength?: number | undefined;
49
+ }>;
50
+ sourceUrl: string;
51
+ verifiedAt: string;
52
+ providerTextMaxCharacters: number | null;
53
+ resourceId: string | null;
54
+ output: "PCM_S16LE_48000_V1";
55
+ normalizationVersion: "SPEECH_PCM_V1";
56
+ };
57
+ connectionLabel: string;
58
+ connectionVersion: number;
59
+ }[];
60
+ possiblyTruncated: boolean;
61
+ }, {
62
+ tenantId: string;
63
+ productionId: string;
64
+ options: {
65
+ selection: {
66
+ connectionId: string;
67
+ modelProfileId: string;
68
+ };
69
+ profile: {
70
+ id: string;
71
+ version: number;
72
+ providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
73
+ modelId: string | null;
74
+ protocol: "QWEN_TTS" | "QWEN_AUDIO_TTS" | "OPENAI_TTS" | "XAI_TTS" | "GEMINI_INTERACTIONS_TTS" | "VOLCENGINE_TTS";
75
+ label: string;
76
+ textMaxCharacters: number;
77
+ requestTimeoutMs: number;
78
+ workspaceRequired: boolean;
79
+ voices: {
80
+ id: string;
81
+ label: string;
82
+ languages?: string[] | undefined;
83
+ parameterDefaults?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
84
+ parameterOptions?: Record<string, string[]> | undefined;
85
+ unsupportedParameters?: string[] | undefined;
86
+ }[];
87
+ languages: string[];
88
+ parameters: Record<string, {
89
+ label: string;
90
+ type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
91
+ required?: boolean | undefined;
92
+ min?: number | undefined;
93
+ max?: number | undefined;
94
+ maxLength?: number | undefined;
95
+ options?: string[] | undefined;
96
+ default?: string | number | boolean | string[] | Record<string, string> | undefined;
97
+ unit?: string | undefined;
98
+ description?: string | undefined;
99
+ maxItems?: number | undefined;
100
+ maxKeyLength?: number | undefined;
101
+ }>;
102
+ sourceUrl: string;
103
+ verifiedAt: string;
104
+ providerTextMaxCharacters: number | null;
105
+ resourceId: string | null;
106
+ output: "PCM_S16LE_48000_V1";
107
+ normalizationVersion: "SPEECH_PCM_V1";
108
+ };
109
+ connectionLabel: string;
110
+ connectionVersion: number;
111
+ }[];
112
+ possiblyTruncated: boolean;
113
+ }>;
114
+ readonly "speech.start": import("./spec.js").HttpOperationSpec<{
115
+ tenantId: string;
116
+ productionId: string;
117
+ expectedProductionRevision: number;
118
+ expectedAudioVersion: number;
119
+ expectedModelProfileVersion: number;
120
+ idempotencyKey: string;
121
+ selection: {
122
+ connectionId: string;
123
+ modelProfileId: string;
124
+ };
125
+ text: string;
126
+ voice: string;
127
+ soundCue?: {
128
+ soundPlanVersionId: string;
129
+ cueId: string;
130
+ } | undefined;
131
+ parameters?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
132
+ }, {
133
+ tenantId: string & z.core.$brand<"TenantId">;
134
+ productionId: string & z.core.$brand<"ProductionId">;
135
+ expectedProductionRevision: number;
136
+ expectedAudioVersion: number;
137
+ expectedModelProfileVersion: number;
138
+ idempotencyKey: string;
139
+ selection: {
140
+ connectionId: string & z.core.$brand<"ProviderConnectionId">;
141
+ modelProfileId: string;
142
+ };
143
+ text: string;
144
+ voice: string;
145
+ parameters: Record<string, string | number | boolean | string[] | Record<string, string>>;
146
+ soundCue?: {
147
+ soundPlanVersionId: string;
148
+ cueId: string;
149
+ } | undefined;
150
+ }, {
151
+ semanticStatus: "ACCEPTED";
152
+ generationId: string;
153
+ runtimeJobId: string;
154
+ productionRevision: number;
155
+ executionClass: "LIVE" | "TEST_ONLY";
156
+ }, {
157
+ semanticStatus: "ACCEPTED";
158
+ generationId: string;
159
+ runtimeJobId: string;
160
+ productionRevision: number;
161
+ executionClass: "LIVE" | "TEST_ONLY";
162
+ }>;
163
+ readonly "speech.get": import("./spec.js").HttpOperationSpec<{
164
+ tenantId: string;
165
+ productionId: string;
166
+ generationId: string;
167
+ }, {
168
+ tenantId: string & z.core.$brand<"TenantId">;
169
+ productionId: string & z.core.$brand<"ProductionId">;
170
+ generationId: string;
171
+ }, {
172
+ generationId: string;
173
+ executionClass: "LIVE" | "TEST_ONLY";
174
+ productionRevision: number;
175
+ runtimeJobId: string;
176
+ tenantId: string & z.core.$brand<"TenantId">;
177
+ productionId: string & z.core.$brand<"ProductionId">;
178
+ text: string;
179
+ voice: string;
180
+ parameters: Record<string, string | number | boolean | string[] | Record<string, string>>;
181
+ profile: {
182
+ id: string;
183
+ version: number;
184
+ providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
185
+ modelId: string | null;
186
+ protocol: "QWEN_TTS" | "QWEN_AUDIO_TTS" | "OPENAI_TTS" | "XAI_TTS" | "GEMINI_INTERACTIONS_TTS" | "VOLCENGINE_TTS";
187
+ label: string;
188
+ textMaxCharacters: number;
189
+ requestTimeoutMs: number;
190
+ workspaceRequired: boolean;
191
+ voices: {
192
+ id: string;
193
+ label: string;
194
+ languages?: string[] | undefined;
195
+ parameterDefaults?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
196
+ parameterOptions?: Record<string, string[]> | undefined;
197
+ unsupportedParameters?: string[] | undefined;
198
+ }[];
199
+ languages: string[];
200
+ parameters: Record<string, {
201
+ label: string;
202
+ type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
203
+ required: boolean;
204
+ min?: number | undefined;
205
+ max?: number | undefined;
206
+ maxLength?: number | undefined;
207
+ options?: string[] | undefined;
208
+ default?: string | number | boolean | string[] | Record<string, string> | undefined;
209
+ unit?: string | undefined;
210
+ description?: string | undefined;
211
+ maxItems?: number | undefined;
212
+ maxKeyLength?: number | undefined;
213
+ }>;
214
+ sourceUrl: string;
215
+ verifiedAt: string;
216
+ providerTextMaxCharacters: number | null;
217
+ resourceId: string | null;
218
+ output: "PCM_S16LE_48000_V1";
219
+ normalizationVersion: "SPEECH_PCM_V1";
220
+ };
221
+ connectionId: string;
222
+ connectionVersion: number;
223
+ runtimeStatus: "FAILED" | "CANCELLED" | "RUNNING" | "SUPERSEDED" | "READY" | "PENDING" | "WAITING" | "SUCCEEDED";
224
+ providerStatus: "REJECTED" | "UNKNOWN" | "SUCCEEDED" | "NOT_SUBMITTED" | "SUBMITTING";
225
+ cancellationRequested: boolean;
226
+ result: {
227
+ semanticStatus: "SUCCESS";
228
+ version: {
229
+ tenantId: string & z.core.$brand<"TenantId">;
230
+ productionId: string & z.core.$brand<"ProductionId">;
231
+ purpose: "VOICEOVER" | "MUSIC";
232
+ id: string;
233
+ audioId: string;
234
+ projectId: string;
235
+ version: number;
236
+ artifactId: string;
237
+ original: {
238
+ id: string;
239
+ checksumSha256: string;
240
+ byteSize: number;
241
+ };
242
+ media: {
243
+ profile: "PCM_S16LE_48000_V1";
244
+ audioCodec: "pcm_s16le";
245
+ sampleRateHz: 48000;
246
+ audioChannels: 2 | 1;
247
+ sampleCount: number;
248
+ durationMs: number;
249
+ };
250
+ originalName: string | null;
251
+ previousVersionId: string | null;
252
+ createdByPrincipalId: string;
253
+ createdAt: string;
254
+ generation?: {
255
+ generationId: string;
256
+ executionClass: "LIVE" | "TEST_ONLY";
257
+ sourceArtifactId: string;
258
+ sourceRepresentationId: string;
259
+ sourceChecksumSha256: string;
260
+ sourceByteSize: number;
261
+ sourceMedia: {
262
+ sampleRateHz: number;
263
+ audioChannels: 2 | 1;
264
+ sampleCount: number;
265
+ };
266
+ normalizationVersion: "SPEECH_PCM_V1";
267
+ padSamples: number;
268
+ } | undefined;
269
+ };
270
+ productionRevision: number;
271
+ } | null;
272
+ createdAt: string;
273
+ soundCue?: {
274
+ soundPlanVersionId: string;
275
+ cueId: string;
276
+ } | undefined;
277
+ }, {
278
+ generationId: string;
279
+ executionClass: "LIVE" | "TEST_ONLY";
280
+ productionRevision: number;
281
+ runtimeJobId: string;
282
+ tenantId: string;
283
+ productionId: string;
284
+ text: string;
285
+ voice: string;
286
+ parameters: Record<string, string | number | boolean | string[] | Record<string, string>>;
287
+ profile: {
288
+ id: string;
289
+ version: number;
290
+ providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
291
+ modelId: string | null;
292
+ protocol: "QWEN_TTS" | "QWEN_AUDIO_TTS" | "OPENAI_TTS" | "XAI_TTS" | "GEMINI_INTERACTIONS_TTS" | "VOLCENGINE_TTS";
293
+ label: string;
294
+ textMaxCharacters: number;
295
+ requestTimeoutMs: number;
296
+ workspaceRequired: boolean;
297
+ voices: {
298
+ id: string;
299
+ label: string;
300
+ languages?: string[] | undefined;
301
+ parameterDefaults?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
302
+ parameterOptions?: Record<string, string[]> | undefined;
303
+ unsupportedParameters?: string[] | undefined;
304
+ }[];
305
+ languages: string[];
306
+ parameters: Record<string, {
307
+ label: string;
308
+ type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
309
+ required?: boolean | undefined;
310
+ min?: number | undefined;
311
+ max?: number | undefined;
312
+ maxLength?: number | undefined;
313
+ options?: string[] | undefined;
314
+ default?: string | number | boolean | string[] | Record<string, string> | undefined;
315
+ unit?: string | undefined;
316
+ description?: string | undefined;
317
+ maxItems?: number | undefined;
318
+ maxKeyLength?: number | undefined;
319
+ }>;
320
+ sourceUrl: string;
321
+ verifiedAt: string;
322
+ providerTextMaxCharacters: number | null;
323
+ resourceId: string | null;
324
+ output: "PCM_S16LE_48000_V1";
325
+ normalizationVersion: "SPEECH_PCM_V1";
326
+ };
327
+ connectionId: string;
328
+ connectionVersion: number;
329
+ runtimeStatus: "FAILED" | "CANCELLED" | "RUNNING" | "SUPERSEDED" | "READY" | "PENDING" | "WAITING" | "SUCCEEDED";
330
+ providerStatus: "REJECTED" | "UNKNOWN" | "SUCCEEDED" | "NOT_SUBMITTED" | "SUBMITTING";
331
+ cancellationRequested: boolean;
332
+ result: {
333
+ semanticStatus: "SUCCESS";
334
+ version: {
335
+ tenantId: string;
336
+ productionId: string;
337
+ purpose: "VOICEOVER" | "MUSIC";
338
+ id: string;
339
+ audioId: string;
340
+ projectId: string;
341
+ version: number;
342
+ artifactId: string;
343
+ original: {
344
+ id: string;
345
+ checksumSha256: string;
346
+ byteSize: number;
347
+ };
348
+ media: {
349
+ profile: "PCM_S16LE_48000_V1";
350
+ audioCodec: "pcm_s16le";
351
+ sampleRateHz: 48000;
352
+ audioChannels: 2 | 1;
353
+ sampleCount: number;
354
+ durationMs: number;
355
+ };
356
+ originalName: string | null;
357
+ previousVersionId: string | null;
358
+ createdByPrincipalId: string;
359
+ createdAt: string;
360
+ generation?: {
361
+ generationId: string;
362
+ executionClass: "LIVE" | "TEST_ONLY";
363
+ sourceArtifactId: string;
364
+ sourceRepresentationId: string;
365
+ sourceChecksumSha256: string;
366
+ sourceByteSize: number;
367
+ sourceMedia: {
368
+ sampleRateHz: number;
369
+ audioChannels: 2 | 1;
370
+ sampleCount: number;
371
+ };
372
+ normalizationVersion: "SPEECH_PCM_V1";
373
+ padSamples: number;
374
+ } | undefined;
375
+ };
376
+ productionRevision: number;
377
+ } | null;
378
+ createdAt: string;
379
+ soundCue?: {
380
+ soundPlanVersionId: string;
381
+ cueId: string;
382
+ } | undefined;
383
+ }>;
384
+ readonly "speech.cancel": import("./spec.js").HttpOperationSpec<{
385
+ tenantId: string;
386
+ productionId: string;
387
+ generationId: string;
388
+ }, {
389
+ tenantId: string & z.core.$brand<"TenantId">;
390
+ productionId: string & z.core.$brand<"ProductionId">;
391
+ generationId: string;
392
+ }, {
393
+ cancellationRequested: boolean;
394
+ }, {
395
+ cancellationRequested: boolean;
396
+ }>;
397
+ };