@nativestudio/sdk 0.3.0-rc.2 → 0.3.0-rc.20

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 (282) hide show
  1. package/COMPATIBILITY.json +4 -4
  2. package/LICENSE +201 -21
  3. package/dist/_chunks/chunk-3Q24IPBK.js +1 -0
  4. package/dist/_chunks/chunk-AFUVP2DC.js +1 -0
  5. package/dist/_chunks/chunk-D3KLEDOI.js +1 -0
  6. package/dist/_chunks/chunk-GJULDJSV.js +1 -0
  7. package/dist/_chunks/chunk-O6YL4JVI.js +1 -0
  8. package/dist/_chunks/chunk-OHONXDFL.js +1 -0
  9. package/dist/_chunks/chunk-QVP4AMRJ.js +1 -0
  10. package/dist/_chunks/chunk-S64F3WZK.js +1 -0
  11. package/dist/_chunks/chunk-SXZY76XB.js +1 -0
  12. package/dist/_chunks/chunk-TT7IA5HB.js +1 -0
  13. package/dist/_chunks/chunk-V636KA7B.js +1 -0
  14. package/dist/_chunks/chunk-VI7HPZJC.js +1 -0
  15. package/dist/_chunks/chunk-XNROPEWC.js +1 -0
  16. package/dist/_types/contracts/agent-execution-lifecycle.d.ts +55 -43
  17. package/dist/_types/contracts/agent-execution-oauth.d.ts +2 -2
  18. package/dist/_types/contracts/agent-execution-registration.d.ts +59 -15
  19. package/dist/_types/contracts/agent-execution-selection.d.ts +7 -7
  20. package/dist/_types/contracts/agent-host-contract.d.ts +189 -0
  21. package/dist/_types/contracts/agent-host-execution.d.ts +92 -61
  22. package/dist/_types/contracts/agent-host-generic-transport.d.ts +4 -4
  23. package/dist/_types/contracts/agent-host-legacy-release.d.ts +31 -0
  24. package/dist/_types/contracts/agent-host-protocol.d.ts +71 -0
  25. package/dist/_types/contracts/agent-host-wire.d.ts +263 -0
  26. package/dist/_types/contracts/agent-host.d.ts +126 -65
  27. package/dist/_types/contracts/artifact-discovery.d.ts +143 -11
  28. package/dist/_types/contracts/audio.d.ts +166 -0
  29. package/dist/_types/contracts/component-status.d.ts +241 -0
  30. package/dist/_types/contracts/composition-authoring.d.ts +8 -8
  31. package/dist/_types/contracts/composition-frame-render.d.ts +4 -4
  32. package/dist/_types/contracts/composition-observation.d.ts +1 -1
  33. package/dist/_types/contracts/composition-render-base.d.ts +5 -4
  34. package/dist/_types/contracts/composition-render.d.ts +8 -8
  35. package/dist/_types/contracts/composition-repair.d.ts +10 -10
  36. package/dist/_types/contracts/composition-source-review.d.ts +13 -13
  37. package/dist/_types/contracts/consistency-profile.d.ts +102 -6
  38. package/dist/_types/contracts/continuity-evaluation.d.ts +1 -1
  39. package/dist/_types/contracts/delivery-completion.d.ts +1 -1
  40. package/dist/_types/contracts/delivery-manifest.d.ts +25 -11729
  41. package/dist/_types/contracts/delivery-operations.d.ts +207 -3915
  42. package/dist/_types/contracts/delivery-summary.d.ts +4 -4
  43. package/dist/_types/contracts/delivery-validation.d.ts +25 -2
  44. package/dist/_types/contracts/device-onboarding.d.ts +35 -0
  45. package/dist/_types/contracts/device-render.d.ts +113 -0
  46. package/dist/_types/contracts/editor-intelligence.d.ts +392 -2531
  47. package/dist/_types/contracts/enterprise-brand.d.ts +302 -0
  48. package/dist/_types/contracts/exploration-recommendation.d.ts +263 -11607
  49. package/dist/_types/contracts/external-agent-access.d.ts +4 -6
  50. package/dist/_types/contracts/federation-event-link-receiver.d.ts +200 -0
  51. package/dist/_types/contracts/federation-event-link.d.ts +485 -0
  52. package/dist/_types/contracts/federation-result.d.ts +239 -0
  53. package/dist/_types/contracts/final-ready.d.ts +24 -24
  54. package/dist/_types/contracts/final-render.d.ts +1742 -6949
  55. package/dist/_types/contracts/human-identity.d.ts +13 -0
  56. package/dist/_types/contracts/human-links.d.ts +58 -0
  57. package/dist/_types/contracts/index.d.ts +26 -0
  58. package/dist/_types/contracts/interface/common.d.ts +18 -0
  59. package/dist/_types/contracts/interface/execution-output.d.ts +9 -6
  60. package/dist/_types/contracts/interface/media-output.d.ts +118 -0
  61. package/dist/_types/contracts/interface/operation.d.ts +30 -0
  62. package/dist/_types/contracts/interface/production-snapshot.d.ts +81 -199
  63. package/dist/_types/contracts/interface/query.d.ts +60 -0
  64. package/dist/_types/contracts/keyframe-generation.d.ts +31 -2
  65. package/dist/_types/contracts/keyframe-review.d.ts +7 -7
  66. package/dist/_types/contracts/lifecycle-event-projections.d.ts +17 -2
  67. package/dist/_types/contracts/lifecycle-events.d.ts +54 -2
  68. package/dist/_types/contracts/local-execution/agent-component-status.d.ts +109 -0
  69. package/dist/_types/contracts/local-execution/agent-context.d.ts +385 -0
  70. package/dist/_types/contracts/local-execution/agent-evidence.d.ts +79 -0
  71. package/dist/_types/contracts/local-execution/agent-grant.d.ts +31 -0
  72. package/dist/_types/contracts/local-execution/agent-review.d.ts +529 -71
  73. package/dist/_types/contracts/local-execution/audio-profile.d.ts +6 -0
  74. package/dist/_types/contracts/local-execution/common.d.ts +12 -11
  75. package/dist/_types/contracts/local-execution/completion.d.ts +41 -45
  76. package/dist/_types/contracts/local-execution/components.d.ts +45 -0
  77. package/dist/_types/contracts/local-execution/cpu-preparation.d.ts +46 -0
  78. package/dist/_types/contracts/local-execution/cpu-resources.d.ts +55 -0
  79. package/dist/_types/contracts/local-execution/cpu-speech-job.d.ts +70 -0
  80. package/dist/_types/contracts/local-execution/cpu-speech.d.ts +161 -0
  81. package/dist/_types/contracts/local-execution/descriptor.d.ts +38 -0
  82. package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
  83. package/dist/_types/contracts/local-execution/device-inventory.d.ts +108 -0
  84. package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
  85. package/dist/_types/contracts/local-execution/device.d.ts +24 -55
  86. package/dist/_types/contracts/local-execution/enrollment-credential.d.ts +141 -0
  87. package/dist/_types/contracts/local-execution/enrollment-handoff.d.ts +44 -0
  88. package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
  89. package/dist/_types/contracts/local-execution/index.d.ts +36 -0
  90. package/dist/_types/contracts/local-execution/ipc.d.ts +2809 -231
  91. package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
  92. package/dist/_types/contracts/local-execution/library-result.d.ts +428 -0
  93. package/dist/_types/contracts/local-execution/library.d.ts +873 -0
  94. package/dist/_types/contracts/local-execution/lifecycle.d.ts +262 -48
  95. package/dist/_types/contracts/local-execution/local-navigation.d.ts +304 -67
  96. package/dist/_types/contracts/local-execution/management.d.ts +407 -0
  97. package/dist/_types/contracts/local-execution/media-recipe.d.ts +207 -0
  98. package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
  99. package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
  100. package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
  101. package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
  102. package/dist/_types/contracts/local-execution/preview.d.ts +177 -3561
  103. package/dist/_types/contracts/local-execution/processor-capability.d.ts +49 -0
  104. package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
  105. package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1194 -0
  106. package/dist/_types/contracts/local-execution/processor-toolchain.d.ts +47 -0
  107. package/dist/_types/contracts/local-execution/processor.d.ts +6424 -0
  108. package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
  109. package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
  110. package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
  111. package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
  112. package/dist/_types/contracts/local-execution/tool-selection.d.ts +71 -5
  113. package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
  114. package/dist/_types/contracts/local-execution/work.d.ts +124 -3402
  115. package/dist/_types/contracts/local-execution/workspace.d.ts +141 -0
  116. package/dist/_types/contracts/mcp-capabilities.d.ts +16 -0
  117. package/dist/_types/contracts/media-category.d.ts +11 -0
  118. package/dist/_types/contracts/media-observation.d.ts +930 -9
  119. package/dist/_types/contracts/native-speech-model.d.ts +53 -0
  120. package/dist/_types/contracts/native-speech-options.d.ts +25 -0
  121. package/dist/_types/contracts/native-tool-authority.d.ts +25 -21
  122. package/dist/_types/contracts/native-tool-execution.d.ts +60 -39
  123. package/dist/_types/contracts/navigation-context.d.ts +28 -8
  124. package/dist/_types/contracts/navigation-groups.d.ts +2 -2
  125. package/dist/_types/contracts/navigation.d.ts +78 -25
  126. package/dist/_types/contracts/observation-profile.d.ts +3 -3
  127. package/dist/_types/contracts/production-creation.d.ts +30 -0
  128. package/dist/_types/contracts/production-feedback.d.ts +452 -0
  129. package/dist/_types/contracts/production.d.ts +30 -0
  130. package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
  131. package/dist/_types/contracts/programmatic-exploration.d.ts +362 -5999
  132. package/dist/_types/contracts/programmatic-video-review.d.ts +5 -5
  133. package/dist/_types/contracts/project-library.d.ts +30 -0
  134. package/dist/_types/contracts/project.d.ts +30 -0
  135. package/dist/_types/contracts/provider-catalog.d.ts +3 -3
  136. package/dist/_types/contracts/provider-models.d.ts +209 -8
  137. package/dist/_types/contracts/provider.d.ts +66 -1
  138. package/dist/_types/contracts/reference-preview.d.ts +20 -0
  139. package/dist/_types/contracts/render-readiness.d.ts +175 -0
  140. package/dist/_types/contracts/repair-lifecycle.d.ts +64 -396
  141. package/dist/_types/contracts/repair-plan.d.ts +18 -100
  142. package/dist/_types/contracts/repair-strategy.d.ts +163 -4478
  143. package/dist/_types/contracts/review-intelligence-final-output.d.ts +418 -8150
  144. package/dist/_types/contracts/review-intelligence.d.ts +455 -11423
  145. package/dist/_types/contracts/review1-repair-source.d.ts +6 -6
  146. package/dist/_types/contracts/review1-repair-strategy.d.ts +4 -4
  147. package/dist/_types/contracts/rough-cut-manifest.d.ts +27 -7
  148. package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
  149. package/dist/_types/contracts/rough-cut-review.d.ts +144 -12495
  150. package/dist/_types/contracts/rough-cut.d.ts +1170 -5673
  151. package/dist/_types/contracts/series-canon.d.ts +97 -0
  152. package/dist/_types/contracts/series-character.d.ts +23 -0
  153. package/dist/_types/contracts/series-improvement.d.ts +1639 -0
  154. package/dist/_types/contracts/series-standard.d.ts +1641 -0
  155. package/dist/_types/contracts/shares.d.ts +135 -0
  156. package/dist/_types/contracts/shot-preparation-basis.d.ts +2 -2
  157. package/dist/_types/contracts/shot-preparation.d.ts +4 -4
  158. package/dist/_types/contracts/sound-making-plan.d.ts +210 -2
  159. package/dist/_types/contracts/speech-cost.d.ts +96 -0
  160. package/dist/_types/contracts/speech-parameters.d.ts +39 -0
  161. package/dist/_types/contracts/speech.d.ts +603 -23
  162. package/dist/_types/contracts/temporal-evidence-operation.d.ts +2 -1
  163. package/dist/_types/contracts/timeline-audio.d.ts +20 -4
  164. package/dist/_types/contracts/timeline-manifest.d.ts +40 -8
  165. package/dist/_types/contracts/timeline-source-sound.d.ts +42 -4
  166. package/dist/_types/contracts/timeline-v2.d.ts +124 -16
  167. package/dist/_types/contracts/timeline-version-reader.d.ts +288 -40
  168. package/dist/_types/contracts/timeline-visual-layers.d.ts +124 -16
  169. package/dist/_types/contracts/timeline.d.ts +50 -4850
  170. package/dist/_types/contracts/transcription.d.ts +1 -1
  171. package/dist/_types/contracts/video-generation.d.ts +35 -2
  172. package/dist/_types/contracts/video-review.d.ts +7 -7
  173. package/dist/_types/contracts/visual-exploration.d.ts +3 -3
  174. package/dist/_types/contracts/visual-layer-render.d.ts +298 -47
  175. package/dist/_types/contracts/visual-sequence.d.ts +22 -0
  176. package/dist/_types/contracts/voice-consistency.d.ts +183 -0
  177. package/dist/_types/contracts/voice-profile/contracts.d.ts +821 -0
  178. package/dist/_types/contracts/voice-profile/identity.d.ts +27 -0
  179. package/dist/_types/contracts/voice-profile/interface.d.ts +89 -0
  180. package/dist/_types/contracts/voice-profile/reference.d.ts +106 -0
  181. package/dist/_types/contracts/voice-review.d.ts +1194 -0
  182. package/dist/_types/contracts/workspace.d.ts +83 -0
  183. package/dist/_types/sdk/account.d.ts +13 -0
  184. package/dist/_types/sdk/auxiliary-media.d.ts +1 -0
  185. package/dist/_types/sdk/catalog/agent-host-execution.d.ts +324 -112
  186. package/dist/_types/sdk/catalog/agent-host.d.ts +222 -70
  187. package/dist/_types/sdk/catalog/assembly.d.ts +26 -37628
  188. package/dist/_types/sdk/catalog/audio-caption.d.ts +126 -22
  189. package/dist/_types/sdk/catalog/canonical-repair.d.ts +132 -132
  190. package/dist/_types/sdk/catalog/carriers.d.ts +59 -0
  191. package/dist/_types/sdk/catalog/composition-source.d.ts +14 -14
  192. package/dist/_types/sdk/catalog/composition.d.ts +17 -2813
  193. package/dist/_types/sdk/catalog/core.d.ts +528 -18
  194. package/dist/_types/sdk/catalog/delivery.d.ts +12 -14167
  195. package/dist/_types/sdk/catalog/device-library.d.ts +1024 -0
  196. package/dist/_types/sdk/catalog/device-management.d.ts +921 -0
  197. package/dist/_types/sdk/catalog/discovery.d.ts +38 -4
  198. package/dist/_types/sdk/catalog/editor.d.ts +23 -6538
  199. package/dist/_types/sdk/catalog/enterprise-brand.d.ts +462 -0
  200. package/dist/_types/sdk/catalog/federation.d.ts +3981 -0
  201. package/dist/_types/sdk/catalog/generation.d.ts +284 -8
  202. package/dist/_types/sdk/catalog/imported-visual.d.ts +246 -816
  203. package/dist/_types/sdk/catalog/keyframe-review.d.ts +10 -10
  204. package/dist/_types/sdk/catalog/lifecycle-events.d.ts +440 -14
  205. package/dist/_types/sdk/catalog/mcp.d.ts +112 -7
  206. package/dist/_types/sdk/catalog/media-descriptors.d.ts +214 -11
  207. package/dist/_types/sdk/catalog/media-observation.d.ts +1031 -14
  208. package/dist/_types/sdk/catalog/native-tool-authority.d.ts +54 -24
  209. package/dist/_types/sdk/catalog/navigation.d.ts +293 -24
  210. package/dist/_types/sdk/catalog/planning-intelligence.d.ts +136 -8
  211. package/dist/_types/sdk/catalog/programmatic-exploration.d.ts +327 -9853
  212. package/dist/_types/sdk/catalog/programmatic-review.d.ts +8 -8
  213. package/dist/_types/sdk/catalog/provider.d.ts +394 -20
  214. package/dist/_types/sdk/catalog/reference-preview.d.ts +58 -30
  215. package/dist/_types/sdk/catalog/repair-strategy.d.ts +180 -8914
  216. package/dist/_types/sdk/catalog/reviewer.d.ts +276 -23131
  217. package/dist/_types/sdk/catalog/series-standard.d.ts +5402 -0
  218. package/dist/_types/sdk/catalog/shares.d.ts +305 -0
  219. package/dist/_types/sdk/catalog/shot-preparation.d.ts +51 -2972
  220. package/dist/_types/sdk/catalog/sound-making-plan.d.ts +6 -1776
  221. package/dist/_types/sdk/catalog/source-sync.d.ts +8 -498
  222. package/dist/_types/sdk/catalog/spec.d.ts +10 -2
  223. package/dist/_types/sdk/catalog/speech.d.ts +856 -4
  224. package/dist/_types/sdk/catalog/temporal-evidence.d.ts +4 -2
  225. package/dist/_types/sdk/catalog/video-review.d.ts +10 -10
  226. package/dist/_types/sdk/catalog/visual-exploration.d.ts +556 -440
  227. package/dist/_types/sdk/catalog/voice-profile.d.ts +1547 -0
  228. package/dist/_types/sdk/catalog/voice-review.d.ts +1125 -0
  229. package/dist/_types/sdk/client.d.ts +30 -3
  230. package/dist/_types/sdk/desktop-previews.d.ts +3 -3
  231. package/dist/_types/sdk/desktop-releases.d.ts +2 -2
  232. package/dist/_types/sdk/device-enrollment-handoff.d.ts +249 -0
  233. package/dist/_types/sdk/device-renders.d.ts +3751 -0
  234. package/dist/_types/sdk/direct-source.d.ts +147 -0
  235. package/dist/_types/sdk/errors.d.ts +9 -3
  236. package/dist/_types/sdk/federation-notice-result.d.ts +22 -0
  237. package/dist/_types/sdk/feedback-observer.d.ts +10 -0
  238. package/dist/_types/sdk/host-protocol.d.ts +8 -0
  239. package/dist/_types/sdk/image-media.d.ts +2 -2
  240. package/dist/_types/sdk/immutable-media.d.ts +24 -0
  241. package/dist/_types/sdk/index.d.ts +16 -1
  242. package/dist/_types/sdk/local-runtime/components.d.ts +2 -0
  243. package/dist/_types/sdk/local-runtime/device-client.d.ts +181 -19
  244. package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
  245. package/dist/_types/sdk/local-runtime/workspace.d.ts +186 -0
  246. package/dist/_types/sdk/local-runtime-client.d.ts +1934 -96
  247. package/dist/_types/sdk/mcp-client.d.ts +13 -5
  248. package/dist/_types/sdk/mcp-discovery.d.ts +14 -0
  249. package/dist/_types/sdk/mcp-image.d.ts +4 -4
  250. package/dist/_types/sdk/mcp-port.d.ts +73 -0
  251. package/dist/_types/sdk/media.d.ts +11 -9
  252. package/dist/_types/sdk/navigation-client.d.ts +56 -122
  253. package/dist/_types/sdk/navigation-facade.d.ts +88 -14
  254. package/dist/_types/sdk/observe.d.ts +13 -0
  255. package/dist/_types/sdk/runtime-authority.d.ts +18 -8
  256. package/dist/_types/sdk/transport/http.d.ts +2 -0
  257. package/dist/_types/sdk/webhook-receiver.d.ts +38 -0
  258. package/dist/account.js +1 -1
  259. package/dist/errors.js +1 -1
  260. package/dist/host-protocol.d.ts +1 -0
  261. package/dist/host-protocol.js +1 -0
  262. package/dist/index.d.ts +2 -2
  263. package/dist/index.js +1 -1
  264. package/dist/local-runtime.js +1 -1
  265. package/dist/mcp-discovery.d.ts +1 -0
  266. package/dist/mcp-discovery.js +1 -0
  267. package/dist/native/helper.exe +0 -0
  268. package/dist/native/helper.json +1 -0
  269. package/dist/runtime-authority.js +1 -1
  270. package/package.json +10 -8
  271. package/README.md +0 -75
  272. package/dist/_chunks/chunk-34KSWLCI.js +0 -1
  273. package/dist/_chunks/chunk-4IOFVNFG.js +0 -1
  274. package/dist/_chunks/chunk-4M3AGNTZ.js +0 -1
  275. package/dist/_chunks/chunk-6NVIN2NI.js +0 -1
  276. package/dist/_chunks/chunk-7YCEMDNZ.js +0 -1
  277. package/dist/native/Bootstrap.ps1 +0 -90
  278. package/dist/native/JobNative.cs +0 -127
  279. package/dist/native/JobRunner.cs +0 -360
  280. package/dist/native/NativeMain.cs +0 -146
  281. package/dist/native/PipeBridge.cs +0 -260
  282. package/dist/native/PrivateAccess.cs +0 -152
@@ -1,5 +1,1022 @@
1
1
  import { z } from "zod";
2
2
  export declare const observationOperations: {
3
+ readonly "media-observation.device.quote": import("./spec.js").HttpOperationSpec<{
4
+ tenantId: string;
5
+ productionId: string;
6
+ expectedProductionRevision: number;
7
+ idempotencyKey: string;
8
+ source: {
9
+ kind: "AUDIO";
10
+ media: {
11
+ artifactId: string;
12
+ representationId: string;
13
+ checksumSha256: string;
14
+ };
15
+ versionId: string;
16
+ purpose: "VOICEOVER" | "MUSIC";
17
+ };
18
+ mode: "TRANSCRIPTION";
19
+ selection: {
20
+ connectionId: string;
21
+ modelProfileId: "qwen3-asr-flash-2026-02-10";
22
+ };
23
+ expectedModelProfileVersion: 1;
24
+ deviceId: string;
25
+ parameters?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
26
+ }, {
27
+ tenantId: string;
28
+ productionId: string;
29
+ expectedProductionRevision: number;
30
+ idempotencyKey: string;
31
+ source: {
32
+ kind: "AUDIO";
33
+ media: {
34
+ artifactId: string;
35
+ representationId: string;
36
+ checksumSha256: string;
37
+ };
38
+ versionId: string;
39
+ purpose: "VOICEOVER" | "MUSIC";
40
+ };
41
+ mode: "TRANSCRIPTION";
42
+ selection: {
43
+ connectionId: string & z.core.$brand<"ProviderConnectionId">;
44
+ modelProfileId: "qwen3-asr-flash-2026-02-10";
45
+ };
46
+ expectedModelProfileVersion: 1;
47
+ parameters: Record<string, string | number | boolean | string[] | Record<string, string>>;
48
+ deviceId: string;
49
+ }, {
50
+ protocol: "NVS_QWEN_ASR_COST_QUOTE_V1";
51
+ currency: "USD";
52
+ ruleId: string;
53
+ sourceUrl: string;
54
+ selection: {
55
+ connectionId: string & z.core.$brand<"ProviderConnectionId">;
56
+ modelProfileId: "qwen3-asr-flash-2026-02-10";
57
+ };
58
+ connectionVersion: number;
59
+ modelProfileVersion: 1;
60
+ deviceId: string;
61
+ intentFingerprint: string;
62
+ inputDurationMs: number;
63
+ reservedSeconds: number;
64
+ upperBoundMicrosPerSecond: number;
65
+ upperBoundMicros: number;
66
+ validUntil: string;
67
+ }, {
68
+ protocol: "NVS_QWEN_ASR_COST_QUOTE_V1";
69
+ currency: "USD";
70
+ ruleId: string;
71
+ sourceUrl: string;
72
+ selection: {
73
+ connectionId: string;
74
+ modelProfileId: "qwen3-asr-flash-2026-02-10";
75
+ };
76
+ connectionVersion: number;
77
+ modelProfileVersion: 1;
78
+ deviceId: string;
79
+ intentFingerprint: string;
80
+ inputDurationMs: number;
81
+ reservedSeconds: number;
82
+ upperBoundMicrosPerSecond: number;
83
+ upperBoundMicros: number;
84
+ validUntil: string;
85
+ }>;
86
+ readonly "media-observation.device.start": import("./spec.js").HttpOperationSpec<{
87
+ tenantId: string;
88
+ productionId: string;
89
+ expectedProductionRevision: number;
90
+ idempotencyKey: string;
91
+ source: {
92
+ kind: "AUDIO";
93
+ media: {
94
+ artifactId: string;
95
+ representationId: string;
96
+ checksumSha256: string;
97
+ };
98
+ versionId: string;
99
+ purpose: "VOICEOVER" | "MUSIC";
100
+ };
101
+ mode: "TRANSCRIPTION";
102
+ selection: {
103
+ connectionId: string;
104
+ modelProfileId: "qwen3-asr-flash-2026-02-10";
105
+ };
106
+ expectedModelProfileVersion: 1;
107
+ deviceId: string;
108
+ approvedQuote: {
109
+ protocol: "NVS_QWEN_ASR_COST_QUOTE_V1";
110
+ currency: "USD";
111
+ ruleId: string;
112
+ sourceUrl: string;
113
+ selection: {
114
+ connectionId: string;
115
+ modelProfileId: "qwen3-asr-flash-2026-02-10";
116
+ };
117
+ connectionVersion: number;
118
+ modelProfileVersion: 1;
119
+ deviceId: string;
120
+ intentFingerprint: string;
121
+ inputDurationMs: number;
122
+ reservedSeconds: number;
123
+ upperBoundMicrosPerSecond: number;
124
+ upperBoundMicros: number;
125
+ validUntil: string;
126
+ };
127
+ parameters?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
128
+ }, {
129
+ tenantId: string;
130
+ productionId: string;
131
+ expectedProductionRevision: number;
132
+ idempotencyKey: string;
133
+ source: {
134
+ kind: "AUDIO";
135
+ media: {
136
+ artifactId: string;
137
+ representationId: string;
138
+ checksumSha256: string;
139
+ };
140
+ versionId: string;
141
+ purpose: "VOICEOVER" | "MUSIC";
142
+ };
143
+ mode: "TRANSCRIPTION";
144
+ selection: {
145
+ connectionId: string & z.core.$brand<"ProviderConnectionId">;
146
+ modelProfileId: "qwen3-asr-flash-2026-02-10";
147
+ };
148
+ expectedModelProfileVersion: 1;
149
+ parameters: Record<string, string | number | boolean | string[] | Record<string, string>>;
150
+ deviceId: string;
151
+ approvedQuote: {
152
+ protocol: "NVS_QWEN_ASR_COST_QUOTE_V1";
153
+ currency: "USD";
154
+ ruleId: string;
155
+ sourceUrl: string;
156
+ selection: {
157
+ connectionId: string & z.core.$brand<"ProviderConnectionId">;
158
+ modelProfileId: "qwen3-asr-flash-2026-02-10";
159
+ };
160
+ connectionVersion: number;
161
+ modelProfileVersion: 1;
162
+ deviceId: string;
163
+ intentFingerprint: string;
164
+ inputDurationMs: number;
165
+ reservedSeconds: number;
166
+ upperBoundMicrosPerSecond: number;
167
+ upperBoundMicros: number;
168
+ validUntil: string;
169
+ };
170
+ }, {
171
+ semanticStatus: "ACCEPTED";
172
+ observationId: string;
173
+ runtimeJobId: string;
174
+ productionRevision: number;
175
+ executionClass: "LIVE";
176
+ deviceExecution: {
177
+ target: "TENANT_EXTERNAL_PROVIDER";
178
+ deviceId: string;
179
+ };
180
+ }, {
181
+ semanticStatus: "ACCEPTED";
182
+ observationId: string;
183
+ runtimeJobId: string;
184
+ productionRevision: number;
185
+ executionClass: "LIVE";
186
+ deviceExecution: {
187
+ target: "TENANT_EXTERNAL_PROVIDER";
188
+ deviceId: string;
189
+ };
190
+ }>;
191
+ readonly "media-observation.device.get": import("./spec.js").HttpOperationSpec<{
192
+ tenantId: string;
193
+ productionId: string;
194
+ observationId: string;
195
+ }, {
196
+ tenantId: string;
197
+ productionId: string;
198
+ observationId: string;
199
+ }, {
200
+ tenantId: string;
201
+ productionId: string;
202
+ observationId: string;
203
+ runtimeJobId: string;
204
+ profile: {
205
+ id: string;
206
+ version: number;
207
+ providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
208
+ sourceUrl: string;
209
+ verifiedAt: string;
210
+ modelId: string;
211
+ label: string;
212
+ protocol: "OPENAI_TRANSCRIPTION_V1" | "OPENAI_WHISPER_TRANSCRIPTION_V1" | "QWEN_ASR_V1";
213
+ modes: ["TRANSCRIPTION"];
214
+ inputKinds: ("VIDEO" | "AUDIO")[];
215
+ requestTimeoutMs: number;
216
+ maxBytes: number;
217
+ maxDurationMs: number;
218
+ parameters: Record<string, {
219
+ label: string;
220
+ type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
221
+ required: boolean;
222
+ min?: number | undefined;
223
+ max?: number | undefined;
224
+ maxLength?: number | undefined;
225
+ options?: string[] | undefined;
226
+ default?: string | number | boolean | string[] | Record<string, string> | undefined;
227
+ unit?: string | undefined;
228
+ description?: string | undefined;
229
+ maxItems?: number | undefined;
230
+ maxKeyLength?: number | undefined;
231
+ numberOptions?: number[] | undefined;
232
+ }>;
233
+ } | {
234
+ id: string;
235
+ version: number;
236
+ providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
237
+ sourceUrl: string;
238
+ modelId: string;
239
+ label: string;
240
+ protocol: "GEMINI_INTERACTIONS_V1" | "QIANWEN_VIDEO_V1";
241
+ modes: ("VIDEO" | "AUDIO" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES")[];
242
+ requestTimeoutMs: number;
243
+ maxBytes: number;
244
+ maxDurationMs: number;
245
+ parameters: Record<string, {
246
+ type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER";
247
+ default: string | number | boolean;
248
+ min?: number | undefined;
249
+ max?: number | undefined;
250
+ options?: string[] | undefined;
251
+ }>;
252
+ };
253
+ parameters: Record<string, string | number | boolean | string[] | Record<string, string>>;
254
+ runtimeStatus: "FAILED" | "CANCELLED" | "RUNNING" | "SUPERSEDED" | "PENDING" | "READY" | "WAITING" | "SUCCEEDED";
255
+ providerStatus: "REJECTED" | "UNKNOWN" | "SUCCEEDED" | "NOT_SUBMITTED" | "SUBMITTING";
256
+ cancellationRequested: boolean;
257
+ failure: {
258
+ classification: string;
259
+ summary: string;
260
+ } | null;
261
+ createdAt: string;
262
+ request: {
263
+ tenantId: string;
264
+ productionId: string;
265
+ expectedProductionRevision: number;
266
+ idempotencyKey: string;
267
+ source: {
268
+ kind: "AUDIO";
269
+ media: {
270
+ artifactId: string;
271
+ representationId: string;
272
+ checksumSha256: string;
273
+ };
274
+ versionId: string;
275
+ purpose: "VOICEOVER" | "MUSIC";
276
+ };
277
+ mode: "TRANSCRIPTION";
278
+ selection: {
279
+ connectionId: string & z.core.$brand<"ProviderConnectionId">;
280
+ modelProfileId: "qwen3-asr-flash-2026-02-10";
281
+ };
282
+ expectedModelProfileVersion: 1;
283
+ parameters: Record<string, string | number | boolean | string[] | Record<string, string>>;
284
+ deviceId: string;
285
+ };
286
+ executionClass: "LIVE";
287
+ deviceExecution: {
288
+ target: "TENANT_EXTERNAL_PROVIDER";
289
+ deviceId: string;
290
+ };
291
+ result: {
292
+ schemaVersion: number;
293
+ advisory: true;
294
+ source: {
295
+ artifactId: string;
296
+ representationId: string;
297
+ checksumSha256: string;
298
+ tenantId: string;
299
+ projectId: string;
300
+ productionId: string;
301
+ byteSize: number;
302
+ durationMs: number;
303
+ executionClass: "LIVE" | "TEST_ONLY";
304
+ frameRate?: number | undefined;
305
+ };
306
+ observedAt: string;
307
+ limitations: string[];
308
+ producer: "ASR";
309
+ transcript: {
310
+ timing: "UNAVAILABLE";
311
+ schemaVersion: 1;
312
+ text: string;
313
+ languages: string[];
314
+ };
315
+ input: {
316
+ kind: "ORIGINAL_PCM_WAV_TRANSCRIPTION";
317
+ checksumSha256: string;
318
+ byteSize: number;
319
+ timeScaleFactor: 1;
320
+ };
321
+ provider: {
322
+ protocol: "QWEN_ASR_V1";
323
+ requestedModel: "qwen3-asr-flash-2026-02-10";
324
+ model: "qwen3-asr-flash-2026-02-10";
325
+ requestId: string;
326
+ usage: {
327
+ seconds?: number | undefined;
328
+ prompt_tokens?: number | undefined;
329
+ completion_tokens?: number | undefined;
330
+ total_tokens?: number | undefined;
331
+ };
332
+ };
333
+ report: {
334
+ task: "SPEECH_RECOGNITION";
335
+ };
336
+ evidence?: {
337
+ kind: "METADATA";
338
+ id: string;
339
+ label: string;
340
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
341
+ media: {
342
+ artifactId: string;
343
+ representationId: string;
344
+ checksumSha256: string;
345
+ };
346
+ } | {
347
+ kind: "IMAGE_PIXELS";
348
+ id: string;
349
+ label: string;
350
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
351
+ media: {
352
+ artifactId: string;
353
+ representationId: string;
354
+ checksumSha256: string;
355
+ };
356
+ } | {
357
+ kind: "REGISTERED_TEMPORAL_FRAMES";
358
+ reference: {
359
+ evidenceId: string;
360
+ frameSetArtifactId: string;
361
+ contactSheetArtifactId: string;
362
+ manifestRepresentationId: string;
363
+ sheetRepresentationId: string;
364
+ planFingerprint: string;
365
+ sourceArtifactId: string;
366
+ sourceRepresentationId: string;
367
+ sourceChecksumSha256: string;
368
+ timestampsMs: number[];
369
+ executionClass: "LIVE" | "TEST_ONLY";
370
+ };
371
+ id: string;
372
+ label: string;
373
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
374
+ media: {
375
+ artifactId: string;
376
+ representationId: string;
377
+ checksumSha256: string;
378
+ };
379
+ } | {
380
+ kind: "VIDEO_PLAYBACK";
381
+ coverage: {
382
+ startMs: number;
383
+ endMs: number;
384
+ }[];
385
+ id: string;
386
+ label: string;
387
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
388
+ media: {
389
+ artifactId: string;
390
+ representationId: string;
391
+ checksumSha256: string;
392
+ };
393
+ } | {
394
+ kind: "AUDIO_LISTENING";
395
+ coverage: {
396
+ startMs: number;
397
+ endMs: number;
398
+ }[];
399
+ id: string;
400
+ label: string;
401
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
402
+ media: {
403
+ artifactId: string;
404
+ representationId: string;
405
+ checksumSha256: string;
406
+ };
407
+ } | {
408
+ kind: "VIDEO_WITH_AUDIO_PLAYBACK";
409
+ coverage: {
410
+ startMs: number;
411
+ endMs: number;
412
+ }[];
413
+ id: string;
414
+ label: string;
415
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
416
+ media: {
417
+ artifactId: string;
418
+ representationId: string;
419
+ checksumSha256: string;
420
+ };
421
+ } | {
422
+ kind: "VIDEO_FRAMES";
423
+ timestampsMs: number[];
424
+ id: string;
425
+ label: string;
426
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
427
+ media: {
428
+ artifactId: string;
429
+ representationId: string;
430
+ checksumSha256: string;
431
+ };
432
+ } | undefined;
433
+ } | null;
434
+ matrix?: {
435
+ schemaVersion: 1;
436
+ service: string;
437
+ lifecycle: "ACTIVE" | "DEPRECATED" | "RETIRED";
438
+ sources: {
439
+ url: string;
440
+ checkedAt: string;
441
+ }[];
442
+ modes: string[];
443
+ claims: {
444
+ capability: "SYNCHRONIZED_AUDIO" | "SPEECH_GENERATION" | "SPEECH_RECOGNITION" | "TRANSCRIPT_TIMESTAMPS" | "VOICE_REFERENCE" | "AUDIO_REFERENCE" | "AUDIO_DRIVEN_VIDEO" | "LIP_SYNCHRONIZATION" | "AUDIO_EDITING" | "SEPARATE_STEMS";
445
+ modes: string[];
446
+ support: "UNKNOWN" | "SUPPORTED" | "UNSUPPORTED";
447
+ control: "NONE" | "PARAMETER" | "PROMPT" | "ALWAYS_ON" | "MEDIA_INPUT";
448
+ access: "PUBLIC" | "QUALIFIED_ACCOUNT";
449
+ parameterPath?: string | undefined;
450
+ description?: string | undefined;
451
+ }[];
452
+ parameters: Record<string, {
453
+ label: string;
454
+ type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
455
+ required: boolean;
456
+ min?: number | undefined;
457
+ max?: number | undefined;
458
+ maxLength?: number | undefined;
459
+ options?: string[] | undefined;
460
+ default?: string | number | boolean | string[] | Record<string, string> | undefined;
461
+ unit?: string | undefined;
462
+ description?: string | undefined;
463
+ maxItems?: number | undefined;
464
+ maxKeyLength?: number | undefined;
465
+ numberOptions?: number[] | undefined;
466
+ }>;
467
+ constraints: {
468
+ modes: string[];
469
+ require: string[];
470
+ forbid: string[];
471
+ requireValues: Record<string, string | number | boolean>;
472
+ reason: string;
473
+ when?: {
474
+ parameter: string;
475
+ equals: string | number | boolean;
476
+ } | undefined;
477
+ }[];
478
+ references: {
479
+ kind: "AUDIO_REFERENCE" | "VOICE_ID" | "DRIVING_AUDIO";
480
+ modes: string[];
481
+ parameterPath: string;
482
+ maxItems: number;
483
+ formats: ("WAV" | "MP3")[];
484
+ requiresVisual: boolean;
485
+ access: "PUBLIC" | "QUALIFIED_ACCOUNT";
486
+ minDurationMs?: number | undefined;
487
+ maxDurationMs?: number | undefined;
488
+ maxTotalDurationMs?: number | undefined;
489
+ maxBytes?: number | undefined;
490
+ }[];
491
+ outputAudioChannels?: 2 | 1 | undefined;
492
+ } | undefined;
493
+ }, {
494
+ tenantId: string;
495
+ productionId: string;
496
+ observationId: string;
497
+ runtimeJobId: string;
498
+ profile: {
499
+ id: string;
500
+ version: number;
501
+ providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
502
+ sourceUrl: string;
503
+ verifiedAt: string;
504
+ modelId: string;
505
+ label: string;
506
+ protocol: "OPENAI_TRANSCRIPTION_V1" | "OPENAI_WHISPER_TRANSCRIPTION_V1" | "QWEN_ASR_V1";
507
+ modes: ["TRANSCRIPTION"];
508
+ inputKinds: ("VIDEO" | "AUDIO")[];
509
+ requestTimeoutMs: number;
510
+ maxBytes: number;
511
+ maxDurationMs: number;
512
+ parameters: Record<string, {
513
+ label: string;
514
+ type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
515
+ required?: boolean | undefined;
516
+ min?: number | undefined;
517
+ max?: number | undefined;
518
+ maxLength?: number | undefined;
519
+ options?: string[] | undefined;
520
+ default?: string | number | boolean | string[] | Record<string, string> | undefined;
521
+ unit?: string | undefined;
522
+ description?: string | undefined;
523
+ maxItems?: number | undefined;
524
+ maxKeyLength?: number | undefined;
525
+ numberOptions?: number[] | undefined;
526
+ }>;
527
+ } | {
528
+ id: string;
529
+ version: number;
530
+ providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
531
+ sourceUrl: string;
532
+ modelId: string;
533
+ label: string;
534
+ protocol: "GEMINI_INTERACTIONS_V1" | "QIANWEN_VIDEO_V1";
535
+ modes: ("VIDEO" | "AUDIO" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES")[];
536
+ requestTimeoutMs: number;
537
+ maxBytes: number;
538
+ maxDurationMs: number;
539
+ parameters: Record<string, {
540
+ type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER";
541
+ default: string | number | boolean;
542
+ min?: number | undefined;
543
+ max?: number | undefined;
544
+ options?: string[] | undefined;
545
+ }>;
546
+ };
547
+ parameters: Record<string, string | number | boolean | string[] | Record<string, string>>;
548
+ runtimeStatus: "FAILED" | "CANCELLED" | "RUNNING" | "SUPERSEDED" | "PENDING" | "READY" | "WAITING" | "SUCCEEDED";
549
+ providerStatus: "REJECTED" | "UNKNOWN" | "SUCCEEDED" | "NOT_SUBMITTED" | "SUBMITTING";
550
+ cancellationRequested: boolean;
551
+ failure: {
552
+ classification: string;
553
+ summary: string;
554
+ } | null;
555
+ createdAt: string;
556
+ request: {
557
+ tenantId: string;
558
+ productionId: string;
559
+ expectedProductionRevision: number;
560
+ idempotencyKey: string;
561
+ source: {
562
+ kind: "AUDIO";
563
+ media: {
564
+ artifactId: string;
565
+ representationId: string;
566
+ checksumSha256: string;
567
+ };
568
+ versionId: string;
569
+ purpose: "VOICEOVER" | "MUSIC";
570
+ };
571
+ mode: "TRANSCRIPTION";
572
+ selection: {
573
+ connectionId: string;
574
+ modelProfileId: "qwen3-asr-flash-2026-02-10";
575
+ };
576
+ expectedModelProfileVersion: 1;
577
+ deviceId: string;
578
+ parameters?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
579
+ };
580
+ executionClass: "LIVE";
581
+ deviceExecution: {
582
+ target: "TENANT_EXTERNAL_PROVIDER";
583
+ deviceId: string;
584
+ };
585
+ result: {
586
+ schemaVersion: number;
587
+ advisory: true;
588
+ source: {
589
+ artifactId: string;
590
+ representationId: string;
591
+ checksumSha256: string;
592
+ tenantId: string;
593
+ projectId: string;
594
+ productionId: string;
595
+ byteSize: number;
596
+ durationMs: number;
597
+ executionClass: "LIVE" | "TEST_ONLY";
598
+ frameRate?: number | undefined;
599
+ };
600
+ observedAt: string;
601
+ limitations: string[];
602
+ producer: "ASR";
603
+ transcript: {
604
+ timing: "UNAVAILABLE";
605
+ schemaVersion: 1;
606
+ text: string;
607
+ languages: string[];
608
+ };
609
+ input: {
610
+ kind: "ORIGINAL_PCM_WAV_TRANSCRIPTION";
611
+ checksumSha256: string;
612
+ byteSize: number;
613
+ timeScaleFactor: 1;
614
+ };
615
+ provider: {
616
+ protocol: "QWEN_ASR_V1";
617
+ requestedModel: "qwen3-asr-flash-2026-02-10";
618
+ model: "qwen3-asr-flash-2026-02-10";
619
+ requestId: string;
620
+ usage: {
621
+ seconds?: number | undefined;
622
+ prompt_tokens?: number | undefined;
623
+ completion_tokens?: number | undefined;
624
+ total_tokens?: number | undefined;
625
+ };
626
+ };
627
+ report: {
628
+ task: "SPEECH_RECOGNITION";
629
+ };
630
+ evidence?: {
631
+ kind: "METADATA";
632
+ id: string;
633
+ label: string;
634
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
635
+ media: {
636
+ artifactId: string;
637
+ representationId: string;
638
+ checksumSha256: string;
639
+ };
640
+ } | {
641
+ kind: "IMAGE_PIXELS";
642
+ id: string;
643
+ label: string;
644
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
645
+ media: {
646
+ artifactId: string;
647
+ representationId: string;
648
+ checksumSha256: string;
649
+ };
650
+ } | {
651
+ kind: "REGISTERED_TEMPORAL_FRAMES";
652
+ reference: {
653
+ evidenceId: string;
654
+ frameSetArtifactId: string;
655
+ contactSheetArtifactId: string;
656
+ manifestRepresentationId: string;
657
+ sheetRepresentationId: string;
658
+ planFingerprint: string;
659
+ sourceArtifactId: string;
660
+ sourceRepresentationId: string;
661
+ sourceChecksumSha256: string;
662
+ timestampsMs: number[];
663
+ executionClass: "LIVE" | "TEST_ONLY";
664
+ };
665
+ id: string;
666
+ label: string;
667
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
668
+ media: {
669
+ artifactId: string;
670
+ representationId: string;
671
+ checksumSha256: string;
672
+ };
673
+ } | {
674
+ kind: "VIDEO_PLAYBACK";
675
+ coverage: {
676
+ startMs: number;
677
+ endMs: number;
678
+ }[];
679
+ id: string;
680
+ label: string;
681
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
682
+ media: {
683
+ artifactId: string;
684
+ representationId: string;
685
+ checksumSha256: string;
686
+ };
687
+ } | {
688
+ kind: "AUDIO_LISTENING";
689
+ coverage: {
690
+ startMs: number;
691
+ endMs: number;
692
+ }[];
693
+ id: string;
694
+ label: string;
695
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
696
+ media: {
697
+ artifactId: string;
698
+ representationId: string;
699
+ checksumSha256: string;
700
+ };
701
+ } | {
702
+ kind: "VIDEO_WITH_AUDIO_PLAYBACK";
703
+ coverage: {
704
+ startMs: number;
705
+ endMs: number;
706
+ }[];
707
+ id: string;
708
+ label: string;
709
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
710
+ media: {
711
+ artifactId: string;
712
+ representationId: string;
713
+ checksumSha256: string;
714
+ };
715
+ } | {
716
+ kind: "VIDEO_FRAMES";
717
+ timestampsMs: number[];
718
+ id: string;
719
+ label: string;
720
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
721
+ media: {
722
+ artifactId: string;
723
+ representationId: string;
724
+ checksumSha256: string;
725
+ };
726
+ } | undefined;
727
+ } | null;
728
+ matrix?: {
729
+ schemaVersion: 1;
730
+ service: string;
731
+ lifecycle: "ACTIVE" | "DEPRECATED" | "RETIRED";
732
+ sources: {
733
+ url: string;
734
+ checkedAt: string;
735
+ }[];
736
+ modes: string[];
737
+ claims: {
738
+ capability: "SYNCHRONIZED_AUDIO" | "SPEECH_GENERATION" | "SPEECH_RECOGNITION" | "TRANSCRIPT_TIMESTAMPS" | "VOICE_REFERENCE" | "AUDIO_REFERENCE" | "AUDIO_DRIVEN_VIDEO" | "LIP_SYNCHRONIZATION" | "AUDIO_EDITING" | "SEPARATE_STEMS";
739
+ modes: string[];
740
+ support: "UNKNOWN" | "SUPPORTED" | "UNSUPPORTED";
741
+ control: "NONE" | "PARAMETER" | "PROMPT" | "ALWAYS_ON" | "MEDIA_INPUT";
742
+ parameterPath?: string | undefined;
743
+ access?: "PUBLIC" | "QUALIFIED_ACCOUNT" | undefined;
744
+ description?: string | undefined;
745
+ }[];
746
+ parameters: Record<string, {
747
+ label: string;
748
+ type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
749
+ required?: boolean | undefined;
750
+ min?: number | undefined;
751
+ max?: number | undefined;
752
+ maxLength?: number | undefined;
753
+ options?: string[] | undefined;
754
+ default?: string | number | boolean | string[] | Record<string, string> | undefined;
755
+ unit?: string | undefined;
756
+ description?: string | undefined;
757
+ maxItems?: number | undefined;
758
+ maxKeyLength?: number | undefined;
759
+ numberOptions?: number[] | undefined;
760
+ }>;
761
+ constraints: {
762
+ modes: string[];
763
+ reason: string;
764
+ when?: {
765
+ parameter: string;
766
+ equals: string | number | boolean;
767
+ } | undefined;
768
+ require?: string[] | undefined;
769
+ forbid?: string[] | undefined;
770
+ requireValues?: Record<string, string | number | boolean> | undefined;
771
+ }[];
772
+ references: {
773
+ kind: "AUDIO_REFERENCE" | "VOICE_ID" | "DRIVING_AUDIO";
774
+ modes: string[];
775
+ parameterPath: string;
776
+ maxItems: number;
777
+ formats: ("WAV" | "MP3")[];
778
+ requiresVisual: boolean;
779
+ access: "PUBLIC" | "QUALIFIED_ACCOUNT";
780
+ minDurationMs?: number | undefined;
781
+ maxDurationMs?: number | undefined;
782
+ maxTotalDurationMs?: number | undefined;
783
+ maxBytes?: number | undefined;
784
+ }[];
785
+ outputAudioChannels?: 2 | 1 | undefined;
786
+ } | undefined;
787
+ }>;
788
+ readonly "media-observation.start-local": import("./spec.js").HttpOperationSpec<{
789
+ tenantId: string;
790
+ productionId: string;
791
+ expectedProductionRevision: number;
792
+ idempotencyKey: string;
793
+ source: {
794
+ kind: "AUDIO";
795
+ media: {
796
+ artifactId: string;
797
+ representationId: string;
798
+ checksumSha256: string;
799
+ };
800
+ versionId: string;
801
+ purpose: "VOICEOVER" | "MUSIC";
802
+ };
803
+ mode: "TRANSCRIPTION";
804
+ deviceExecution: {
805
+ deviceId?: string | undefined;
806
+ };
807
+ }, {
808
+ tenantId: string;
809
+ productionId: string;
810
+ expectedProductionRevision: number;
811
+ idempotencyKey: string;
812
+ source: {
813
+ kind: "AUDIO";
814
+ media: {
815
+ artifactId: string;
816
+ representationId: string;
817
+ checksumSha256: string;
818
+ };
819
+ versionId: string;
820
+ purpose: "VOICEOVER" | "MUSIC";
821
+ };
822
+ mode: "TRANSCRIPTION";
823
+ deviceExecution: {
824
+ deviceId?: string | undefined;
825
+ };
826
+ }, {
827
+ semanticStatus: "ACCEPTED";
828
+ observationId: string;
829
+ runtimeJobId: string;
830
+ productionRevision: number;
831
+ executionClass: "LIVE";
832
+ deviceExecution: {
833
+ target: "TENANT_DEVICE";
834
+ deviceId: string;
835
+ identity: {
836
+ profileId: "WHISPER_CPP_TINY_EN_Q5_1_PCM16K_V1";
837
+ binarySha256: string;
838
+ modelSha256: "c77c5766f1cef09b6b7d47f21b546cbddd4157886b3b5d6d4f709e91e66c7c2b";
839
+ };
840
+ };
841
+ }, {
842
+ semanticStatus: "ACCEPTED";
843
+ observationId: string;
844
+ runtimeJobId: string;
845
+ productionRevision: number;
846
+ executionClass: "LIVE";
847
+ deviceExecution: {
848
+ target: "TENANT_DEVICE";
849
+ deviceId: string;
850
+ identity: {
851
+ profileId: "WHISPER_CPP_TINY_EN_Q5_1_PCM16K_V1";
852
+ binarySha256: string;
853
+ modelSha256: "c77c5766f1cef09b6b7d47f21b546cbddd4157886b3b5d6d4f709e91e66c7c2b";
854
+ };
855
+ };
856
+ }>;
857
+ readonly "media-observation.get-local": import("./spec.js").HttpOperationSpec<{
858
+ tenantId: string;
859
+ productionId: string;
860
+ observationId: string;
861
+ }, {
862
+ tenantId: string;
863
+ productionId: string;
864
+ observationId: string;
865
+ }, {
866
+ tenantId: string;
867
+ createdAt: string;
868
+ productionId: string;
869
+ runtimeJobId: string;
870
+ observationId: string;
871
+ cancellationRequested: boolean;
872
+ runtimeStatus: "FAILED" | "CANCELLED" | "RUNNING" | "SUPERSEDED" | "PENDING" | "READY" | "WAITING" | "SUCCEEDED";
873
+ failure: {
874
+ classification: string;
875
+ summary: string;
876
+ } | null;
877
+ request: {
878
+ tenantId: string;
879
+ productionId: string;
880
+ expectedProductionRevision: number;
881
+ idempotencyKey: string;
882
+ source: {
883
+ kind: "AUDIO";
884
+ media: {
885
+ artifactId: string;
886
+ representationId: string;
887
+ checksumSha256: string;
888
+ };
889
+ versionId: string;
890
+ purpose: "VOICEOVER" | "MUSIC";
891
+ };
892
+ mode: "TRANSCRIPTION";
893
+ deviceExecution: {
894
+ deviceId?: string | undefined;
895
+ };
896
+ };
897
+ executionClass: "LIVE";
898
+ deviceExecution: {
899
+ target: "TENANT_DEVICE";
900
+ deviceId: string;
901
+ identity: {
902
+ profileId: "WHISPER_CPP_TINY_EN_Q5_1_PCM16K_V1";
903
+ binarySha256: string;
904
+ modelSha256: "c77c5766f1cef09b6b7d47f21b546cbddd4157886b3b5d6d4f709e91e66c7c2b";
905
+ };
906
+ };
907
+ result: {
908
+ schemaVersion: 1;
909
+ advisory: true;
910
+ producer: "ASR";
911
+ source: {
912
+ artifactId: string;
913
+ representationId: string;
914
+ checksumSha256: string;
915
+ tenantId: string;
916
+ projectId: string;
917
+ productionId: string;
918
+ byteSize: number;
919
+ durationMs: number;
920
+ executionClass: "LIVE" | "TEST_ONLY";
921
+ frameRate?: number | undefined;
922
+ };
923
+ deviceExecution: {
924
+ target: "TENANT_DEVICE";
925
+ deviceId: string;
926
+ identity: {
927
+ profileId: "WHISPER_CPP_TINY_EN_Q5_1_PCM16K_V1";
928
+ binarySha256: string;
929
+ modelSha256: "c77c5766f1cef09b6b7d47f21b546cbddd4157886b3b5d6d4f709e91e66c7c2b";
930
+ };
931
+ };
932
+ observedAt: string;
933
+ transcript: {
934
+ timing: "UNAVAILABLE";
935
+ schemaVersion: 1;
936
+ text: string;
937
+ languages: string[];
938
+ };
939
+ inputPcmSha256: string;
940
+ inputPcmByteSize: number;
941
+ } | null;
942
+ }, {
943
+ tenantId: string;
944
+ createdAt: string;
945
+ productionId: string;
946
+ runtimeJobId: string;
947
+ observationId: string;
948
+ cancellationRequested: boolean;
949
+ runtimeStatus: "FAILED" | "CANCELLED" | "RUNNING" | "SUPERSEDED" | "PENDING" | "READY" | "WAITING" | "SUCCEEDED";
950
+ failure: {
951
+ classification: string;
952
+ summary: string;
953
+ } | null;
954
+ request: {
955
+ tenantId: string;
956
+ productionId: string;
957
+ expectedProductionRevision: number;
958
+ idempotencyKey: string;
959
+ source: {
960
+ kind: "AUDIO";
961
+ media: {
962
+ artifactId: string;
963
+ representationId: string;
964
+ checksumSha256: string;
965
+ };
966
+ versionId: string;
967
+ purpose: "VOICEOVER" | "MUSIC";
968
+ };
969
+ mode: "TRANSCRIPTION";
970
+ deviceExecution: {
971
+ deviceId?: string | undefined;
972
+ };
973
+ };
974
+ executionClass: "LIVE";
975
+ deviceExecution: {
976
+ target: "TENANT_DEVICE";
977
+ deviceId: string;
978
+ identity: {
979
+ profileId: "WHISPER_CPP_TINY_EN_Q5_1_PCM16K_V1";
980
+ binarySha256: string;
981
+ modelSha256: "c77c5766f1cef09b6b7d47f21b546cbddd4157886b3b5d6d4f709e91e66c7c2b";
982
+ };
983
+ };
984
+ result: {
985
+ schemaVersion: 1;
986
+ advisory: true;
987
+ producer: "ASR";
988
+ source: {
989
+ artifactId: string;
990
+ representationId: string;
991
+ checksumSha256: string;
992
+ tenantId: string;
993
+ projectId: string;
994
+ productionId: string;
995
+ byteSize: number;
996
+ durationMs: number;
997
+ executionClass: "LIVE" | "TEST_ONLY";
998
+ frameRate?: number | undefined;
999
+ };
1000
+ deviceExecution: {
1001
+ target: "TENANT_DEVICE";
1002
+ deviceId: string;
1003
+ identity: {
1004
+ profileId: "WHISPER_CPP_TINY_EN_Q5_1_PCM16K_V1";
1005
+ binarySha256: string;
1006
+ modelSha256: "c77c5766f1cef09b6b7d47f21b546cbddd4157886b3b5d6d4f709e91e66c7c2b";
1007
+ };
1008
+ };
1009
+ observedAt: string;
1010
+ transcript: {
1011
+ timing: "UNAVAILABLE";
1012
+ schemaVersion: 1;
1013
+ text: string;
1014
+ languages: string[];
1015
+ };
1016
+ inputPcmSha256: string;
1017
+ inputPcmByteSize: number;
1018
+ } | null;
1019
+ }>;
3
1020
  readonly "production-guidance.context": import("./spec.js").HttpOperationSpec<{
4
1021
  tenantId: string;
5
1022
  productionId: string;
@@ -49,7 +1066,7 @@ export declare const observationOperations: {
49
1066
  label: string;
50
1067
  protocol: "OPENAI_TRANSCRIPTION_V1" | "OPENAI_WHISPER_TRANSCRIPTION_V1" | "QWEN_ASR_V1";
51
1068
  modes: ["TRANSCRIPTION"];
52
- inputKinds: ("AUDIO" | "VIDEO")[];
1069
+ inputKinds: ("VIDEO" | "AUDIO")[];
53
1070
  requestTimeoutMs: number;
54
1071
  maxBytes: number;
55
1072
  maxDurationMs: number;
@@ -76,7 +1093,7 @@ export declare const observationOperations: {
76
1093
  modelId: string;
77
1094
  label: string;
78
1095
  protocol: "GEMINI_INTERACTIONS_V1" | "QIANWEN_VIDEO_V1";
79
- modes: ("AUDIO" | "VIDEO" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES")[];
1096
+ modes: ("VIDEO" | "AUDIO" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES")[];
80
1097
  requestTimeoutMs: number;
81
1098
  maxBytes: number;
82
1099
  maxDurationMs: number;
@@ -169,7 +1186,7 @@ export declare const observationOperations: {
169
1186
  label: string;
170
1187
  protocol: "OPENAI_TRANSCRIPTION_V1" | "OPENAI_WHISPER_TRANSCRIPTION_V1" | "QWEN_ASR_V1";
171
1188
  modes: ["TRANSCRIPTION"];
172
- inputKinds: ("AUDIO" | "VIDEO")[];
1189
+ inputKinds: ("VIDEO" | "AUDIO")[];
173
1190
  requestTimeoutMs: number;
174
1191
  maxBytes: number;
175
1192
  maxDurationMs: number;
@@ -196,7 +1213,7 @@ export declare const observationOperations: {
196
1213
  modelId: string;
197
1214
  label: string;
198
1215
  protocol: "GEMINI_INTERACTIONS_V1" | "QIANWEN_VIDEO_V1";
199
- modes: ("AUDIO" | "VIDEO" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES")[];
1216
+ modes: ("VIDEO" | "AUDIO" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES")[];
200
1217
  requestTimeoutMs: number;
201
1218
  maxBytes: number;
202
1219
  maxDurationMs: number;
@@ -294,7 +1311,7 @@ export declare const observationOperations: {
294
1311
  checksumSha256: string;
295
1312
  };
296
1313
  };
297
- mode: "AUDIO" | "VIDEO" | "TRANSCRIPTION" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES";
1314
+ mode: "VIDEO" | "AUDIO" | "TRANSCRIPTION" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES";
298
1315
  selection: {
299
1316
  connectionId: string;
300
1317
  modelProfileId: string;
@@ -323,7 +1340,7 @@ export declare const observationOperations: {
323
1340
  checksumSha256: string;
324
1341
  };
325
1342
  };
326
- mode: "AUDIO" | "VIDEO" | "TRANSCRIPTION" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES";
1343
+ mode: "VIDEO" | "AUDIO" | "TRANSCRIPTION" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES";
327
1344
  selection: {
328
1345
  connectionId: string & z.core.$brand<"ProviderConnectionId">;
329
1346
  modelProfileId: string;
@@ -378,7 +1395,7 @@ export declare const observationOperations: {
378
1395
  checksumSha256: string;
379
1396
  };
380
1397
  };
381
- mode: "AUDIO" | "VIDEO" | "TRANSCRIPTION" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES";
1398
+ mode: "VIDEO" | "AUDIO" | "TRANSCRIPTION" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES";
382
1399
  selection: {
383
1400
  connectionId: string & z.core.$brand<"ProviderConnectionId">;
384
1401
  modelProfileId: string;
@@ -396,7 +1413,7 @@ export declare const observationOperations: {
396
1413
  label: string;
397
1414
  protocol: "OPENAI_TRANSCRIPTION_V1" | "OPENAI_WHISPER_TRANSCRIPTION_V1" | "QWEN_ASR_V1";
398
1415
  modes: ["TRANSCRIPTION"];
399
- inputKinds: ("AUDIO" | "VIDEO")[];
1416
+ inputKinds: ("VIDEO" | "AUDIO")[];
400
1417
  requestTimeoutMs: number;
401
1418
  maxBytes: number;
402
1419
  maxDurationMs: number;
@@ -423,7 +1440,7 @@ export declare const observationOperations: {
423
1440
  modelId: string;
424
1441
  label: string;
425
1442
  protocol: "GEMINI_INTERACTIONS_V1" | "QIANWEN_VIDEO_V1";
426
- modes: ("AUDIO" | "VIDEO" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES")[];
1443
+ modes: ("VIDEO" | "AUDIO" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES")[];
427
1444
  requestTimeoutMs: number;
428
1445
  maxBytes: number;
429
1446
  maxDurationMs: number;
@@ -437,7 +1454,7 @@ export declare const observationOperations: {
437
1454
  };
438
1455
  parameters: Record<string, string | number | boolean | string[] | Record<string, string>>;
439
1456
  executionClass: "LIVE" | "TEST_ONLY";
440
- runtimeStatus: "FAILED" | "CANCELLED" | "RUNNING" | "SUPERSEDED" | "READY" | "PENDING" | "WAITING" | "SUCCEEDED";
1457
+ runtimeStatus: "FAILED" | "CANCELLED" | "RUNNING" | "SUPERSEDED" | "PENDING" | "READY" | "WAITING" | "SUCCEEDED";
441
1458
  providerStatus: "REJECTED" | "UNKNOWN" | "SUCCEEDED" | "NOT_SUBMITTED" | "SUBMITTING";
442
1459
  cancellationRequested: boolean;
443
1460
  failure: {
@@ -673,7 +1690,7 @@ export declare const observationOperations: {
673
1690
  checksumSha256: string;
674
1691
  };
675
1692
  };
676
- mode: "AUDIO" | "VIDEO" | "TRANSCRIPTION" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES";
1693
+ mode: "VIDEO" | "AUDIO" | "TRANSCRIPTION" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES";
677
1694
  selection: {
678
1695
  connectionId: string;
679
1696
  modelProfileId: string;
@@ -691,7 +1708,7 @@ export declare const observationOperations: {
691
1708
  label: string;
692
1709
  protocol: "OPENAI_TRANSCRIPTION_V1" | "OPENAI_WHISPER_TRANSCRIPTION_V1" | "QWEN_ASR_V1";
693
1710
  modes: ["TRANSCRIPTION"];
694
- inputKinds: ("AUDIO" | "VIDEO")[];
1711
+ inputKinds: ("VIDEO" | "AUDIO")[];
695
1712
  requestTimeoutMs: number;
696
1713
  maxBytes: number;
697
1714
  maxDurationMs: number;
@@ -718,7 +1735,7 @@ export declare const observationOperations: {
718
1735
  modelId: string;
719
1736
  label: string;
720
1737
  protocol: "GEMINI_INTERACTIONS_V1" | "QIANWEN_VIDEO_V1";
721
- modes: ("AUDIO" | "VIDEO" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES")[];
1738
+ modes: ("VIDEO" | "AUDIO" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES")[];
722
1739
  requestTimeoutMs: number;
723
1740
  maxBytes: number;
724
1741
  maxDurationMs: number;
@@ -732,7 +1749,7 @@ export declare const observationOperations: {
732
1749
  };
733
1750
  parameters: Record<string, string | number | boolean | string[] | Record<string, string>>;
734
1751
  executionClass: "LIVE" | "TEST_ONLY";
735
- runtimeStatus: "FAILED" | "CANCELLED" | "RUNNING" | "SUPERSEDED" | "READY" | "PENDING" | "WAITING" | "SUCCEEDED";
1752
+ runtimeStatus: "FAILED" | "CANCELLED" | "RUNNING" | "SUPERSEDED" | "PENDING" | "READY" | "WAITING" | "SUCCEEDED";
736
1753
  providerStatus: "REJECTED" | "UNKNOWN" | "SUCCEEDED" | "NOT_SUBMITTED" | "SUBMITTING";
737
1754
  cancellationRequested: boolean;
738
1755
  failure: {