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

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 +319 -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,958 @@
1
+ import { z } from "zod";
2
+ export declare const observationOperations: {
3
+ readonly "production-guidance.context": import("./spec.js").HttpOperationSpec<{
4
+ tenantId: string;
5
+ productionId: string;
6
+ }, {
7
+ tenantId: string;
8
+ productionId: string;
9
+ }, {
10
+ tenantId: string;
11
+ productionId: string;
12
+ projectId: string;
13
+ revision: number;
14
+ guidance: {
15
+ version: "NVS_PRODUCTION_GUIDANCE_V1" | "NVS_PRODUCTION_GUIDANCE_V2";
16
+ instructions: string;
17
+ };
18
+ }, {
19
+ tenantId: string;
20
+ productionId: string;
21
+ projectId: string;
22
+ revision: number;
23
+ guidance: {
24
+ version: "NVS_PRODUCTION_GUIDANCE_V1" | "NVS_PRODUCTION_GUIDANCE_V2";
25
+ instructions: string;
26
+ };
27
+ }>;
28
+ readonly "media-observation.options": import("./spec.js").HttpOperationSpec<{
29
+ tenantId: string;
30
+ productionId: string;
31
+ }, {
32
+ tenantId: string;
33
+ productionId: string;
34
+ }, {
35
+ tenantId: string;
36
+ productionId: string;
37
+ options: {
38
+ selection: {
39
+ connectionId: string & z.core.$brand<"ProviderConnectionId">;
40
+ modelProfileId: string;
41
+ };
42
+ profile: {
43
+ id: string;
44
+ version: number;
45
+ providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
46
+ sourceUrl: string;
47
+ verifiedAt: string;
48
+ modelId: string;
49
+ label: string;
50
+ protocol: "OPENAI_TRANSCRIPTION_V1" | "OPENAI_WHISPER_TRANSCRIPTION_V1" | "QWEN_ASR_V1";
51
+ modes: ["TRANSCRIPTION"];
52
+ inputKinds: ("AUDIO" | "VIDEO")[];
53
+ requestTimeoutMs: number;
54
+ maxBytes: number;
55
+ maxDurationMs: number;
56
+ parameters: Record<string, {
57
+ label: string;
58
+ type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
59
+ required: boolean;
60
+ min?: number | undefined;
61
+ max?: number | undefined;
62
+ maxLength?: number | undefined;
63
+ options?: string[] | undefined;
64
+ default?: string | number | boolean | string[] | Record<string, string> | undefined;
65
+ unit?: string | undefined;
66
+ description?: string | undefined;
67
+ maxItems?: number | undefined;
68
+ maxKeyLength?: number | undefined;
69
+ numberOptions?: number[] | undefined;
70
+ }>;
71
+ } | {
72
+ id: string;
73
+ version: number;
74
+ providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
75
+ sourceUrl: string;
76
+ modelId: string;
77
+ label: string;
78
+ protocol: "GEMINI_INTERACTIONS_V1" | "QIANWEN_VIDEO_V1";
79
+ modes: ("AUDIO" | "VIDEO" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES")[];
80
+ requestTimeoutMs: number;
81
+ maxBytes: number;
82
+ maxDurationMs: number;
83
+ parameters: Record<string, {
84
+ type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER";
85
+ default: string | number | boolean;
86
+ min?: number | undefined;
87
+ max?: number | undefined;
88
+ options?: string[] | undefined;
89
+ }>;
90
+ };
91
+ connectionLabel: string;
92
+ connectionVersion: number;
93
+ matrix?: {
94
+ schemaVersion: 1;
95
+ service: string;
96
+ lifecycle: "ACTIVE" | "DEPRECATED" | "RETIRED";
97
+ sources: {
98
+ url: string;
99
+ checkedAt: string;
100
+ }[];
101
+ modes: string[];
102
+ claims: {
103
+ capability: "SYNCHRONIZED_AUDIO" | "SPEECH_GENERATION" | "SPEECH_RECOGNITION" | "TRANSCRIPT_TIMESTAMPS" | "VOICE_REFERENCE" | "AUDIO_REFERENCE" | "AUDIO_DRIVEN_VIDEO" | "LIP_SYNCHRONIZATION" | "AUDIO_EDITING" | "SEPARATE_STEMS";
104
+ modes: string[];
105
+ support: "UNKNOWN" | "SUPPORTED" | "UNSUPPORTED";
106
+ control: "NONE" | "PARAMETER" | "PROMPT" | "ALWAYS_ON" | "MEDIA_INPUT";
107
+ access: "PUBLIC" | "QUALIFIED_ACCOUNT";
108
+ parameterPath?: string | undefined;
109
+ description?: string | undefined;
110
+ }[];
111
+ parameters: Record<string, {
112
+ label: string;
113
+ type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
114
+ required: boolean;
115
+ min?: number | undefined;
116
+ max?: number | undefined;
117
+ maxLength?: number | undefined;
118
+ options?: string[] | undefined;
119
+ default?: string | number | boolean | string[] | Record<string, string> | undefined;
120
+ unit?: string | undefined;
121
+ description?: string | undefined;
122
+ maxItems?: number | undefined;
123
+ maxKeyLength?: number | undefined;
124
+ numberOptions?: number[] | undefined;
125
+ }>;
126
+ constraints: {
127
+ modes: string[];
128
+ require: string[];
129
+ forbid: string[];
130
+ requireValues: Record<string, string | number | boolean>;
131
+ reason: string;
132
+ when?: {
133
+ parameter: string;
134
+ equals: string | number | boolean;
135
+ } | undefined;
136
+ }[];
137
+ references: {
138
+ kind: "AUDIO_REFERENCE" | "VOICE_ID" | "DRIVING_AUDIO";
139
+ modes: string[];
140
+ parameterPath: string;
141
+ maxItems: number;
142
+ formats: ("WAV" | "MP3")[];
143
+ requiresVisual: boolean;
144
+ access: "PUBLIC" | "QUALIFIED_ACCOUNT";
145
+ minDurationMs?: number | undefined;
146
+ maxDurationMs?: number | undefined;
147
+ maxTotalDurationMs?: number | undefined;
148
+ maxBytes?: number | undefined;
149
+ }[];
150
+ outputAudioChannels?: 2 | 1 | undefined;
151
+ } | undefined;
152
+ }[];
153
+ possiblyTruncated: boolean;
154
+ }, {
155
+ tenantId: string;
156
+ productionId: string;
157
+ options: {
158
+ selection: {
159
+ connectionId: string;
160
+ modelProfileId: string;
161
+ };
162
+ profile: {
163
+ id: string;
164
+ version: number;
165
+ providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
166
+ sourceUrl: string;
167
+ verifiedAt: string;
168
+ modelId: string;
169
+ label: string;
170
+ protocol: "OPENAI_TRANSCRIPTION_V1" | "OPENAI_WHISPER_TRANSCRIPTION_V1" | "QWEN_ASR_V1";
171
+ modes: ["TRANSCRIPTION"];
172
+ inputKinds: ("AUDIO" | "VIDEO")[];
173
+ requestTimeoutMs: number;
174
+ maxBytes: number;
175
+ maxDurationMs: number;
176
+ parameters: Record<string, {
177
+ label: string;
178
+ type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
179
+ required?: boolean | undefined;
180
+ min?: number | undefined;
181
+ max?: number | undefined;
182
+ maxLength?: number | undefined;
183
+ options?: string[] | undefined;
184
+ default?: string | number | boolean | string[] | Record<string, string> | undefined;
185
+ unit?: string | undefined;
186
+ description?: string | undefined;
187
+ maxItems?: number | undefined;
188
+ maxKeyLength?: number | undefined;
189
+ numberOptions?: number[] | undefined;
190
+ }>;
191
+ } | {
192
+ id: string;
193
+ version: number;
194
+ providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
195
+ sourceUrl: string;
196
+ modelId: string;
197
+ label: string;
198
+ protocol: "GEMINI_INTERACTIONS_V1" | "QIANWEN_VIDEO_V1";
199
+ modes: ("AUDIO" | "VIDEO" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES")[];
200
+ requestTimeoutMs: number;
201
+ maxBytes: number;
202
+ maxDurationMs: number;
203
+ parameters: Record<string, {
204
+ type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER";
205
+ default: string | number | boolean;
206
+ min?: number | undefined;
207
+ max?: number | undefined;
208
+ options?: string[] | undefined;
209
+ }>;
210
+ };
211
+ connectionLabel: string;
212
+ connectionVersion: number;
213
+ matrix?: {
214
+ schemaVersion: 1;
215
+ service: string;
216
+ lifecycle: "ACTIVE" | "DEPRECATED" | "RETIRED";
217
+ sources: {
218
+ url: string;
219
+ checkedAt: string;
220
+ }[];
221
+ modes: string[];
222
+ claims: {
223
+ capability: "SYNCHRONIZED_AUDIO" | "SPEECH_GENERATION" | "SPEECH_RECOGNITION" | "TRANSCRIPT_TIMESTAMPS" | "VOICE_REFERENCE" | "AUDIO_REFERENCE" | "AUDIO_DRIVEN_VIDEO" | "LIP_SYNCHRONIZATION" | "AUDIO_EDITING" | "SEPARATE_STEMS";
224
+ modes: string[];
225
+ support: "UNKNOWN" | "SUPPORTED" | "UNSUPPORTED";
226
+ control: "NONE" | "PARAMETER" | "PROMPT" | "ALWAYS_ON" | "MEDIA_INPUT";
227
+ parameterPath?: string | undefined;
228
+ access?: "PUBLIC" | "QUALIFIED_ACCOUNT" | undefined;
229
+ description?: string | undefined;
230
+ }[];
231
+ parameters: Record<string, {
232
+ label: string;
233
+ type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
234
+ required?: boolean | undefined;
235
+ min?: number | undefined;
236
+ max?: number | undefined;
237
+ maxLength?: number | undefined;
238
+ options?: string[] | undefined;
239
+ default?: string | number | boolean | string[] | Record<string, string> | undefined;
240
+ unit?: string | undefined;
241
+ description?: string | undefined;
242
+ maxItems?: number | undefined;
243
+ maxKeyLength?: number | undefined;
244
+ numberOptions?: number[] | undefined;
245
+ }>;
246
+ constraints: {
247
+ modes: string[];
248
+ reason: string;
249
+ when?: {
250
+ parameter: string;
251
+ equals: string | number | boolean;
252
+ } | undefined;
253
+ require?: string[] | undefined;
254
+ forbid?: string[] | undefined;
255
+ requireValues?: Record<string, string | number | boolean> | undefined;
256
+ }[];
257
+ references: {
258
+ kind: "AUDIO_REFERENCE" | "VOICE_ID" | "DRIVING_AUDIO";
259
+ modes: string[];
260
+ parameterPath: string;
261
+ maxItems: number;
262
+ formats: ("WAV" | "MP3")[];
263
+ requiresVisual: boolean;
264
+ access: "PUBLIC" | "QUALIFIED_ACCOUNT";
265
+ minDurationMs?: number | undefined;
266
+ maxDurationMs?: number | undefined;
267
+ maxTotalDurationMs?: number | undefined;
268
+ maxBytes?: number | undefined;
269
+ }[];
270
+ outputAudioChannels?: 2 | 1 | undefined;
271
+ } | undefined;
272
+ }[];
273
+ possiblyTruncated: boolean;
274
+ }>;
275
+ readonly "media-observation.start": import("./spec.js").HttpOperationSpec<{
276
+ tenantId: string;
277
+ productionId: string;
278
+ expectedProductionRevision: number;
279
+ idempotencyKey: string;
280
+ source: {
281
+ kind: "AUDIO";
282
+ media: {
283
+ artifactId: string;
284
+ representationId: string;
285
+ checksumSha256: string;
286
+ };
287
+ versionId: string;
288
+ purpose: "VOICEOVER" | "MUSIC";
289
+ } | {
290
+ kind: "VIDEO";
291
+ media: {
292
+ artifactId: string;
293
+ representationId: string;
294
+ checksumSha256: string;
295
+ };
296
+ };
297
+ mode: "AUDIO" | "VIDEO" | "TRANSCRIPTION" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES";
298
+ selection: {
299
+ connectionId: string;
300
+ modelProfileId: string;
301
+ };
302
+ expectedModelProfileVersion: number;
303
+ parameters?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
304
+ }, {
305
+ tenantId: string;
306
+ productionId: string;
307
+ expectedProductionRevision: number;
308
+ idempotencyKey: string;
309
+ source: {
310
+ kind: "AUDIO";
311
+ media: {
312
+ artifactId: string;
313
+ representationId: string;
314
+ checksumSha256: string;
315
+ };
316
+ versionId: string;
317
+ purpose: "VOICEOVER" | "MUSIC";
318
+ } | {
319
+ kind: "VIDEO";
320
+ media: {
321
+ artifactId: string;
322
+ representationId: string;
323
+ checksumSha256: string;
324
+ };
325
+ };
326
+ mode: "AUDIO" | "VIDEO" | "TRANSCRIPTION" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES";
327
+ selection: {
328
+ connectionId: string & z.core.$brand<"ProviderConnectionId">;
329
+ modelProfileId: string;
330
+ };
331
+ expectedModelProfileVersion: number;
332
+ parameters: Record<string, string | number | boolean | string[] | Record<string, string>>;
333
+ }, {
334
+ semanticStatus: "ACCEPTED";
335
+ observationId: string;
336
+ runtimeJobId: string;
337
+ productionRevision: number;
338
+ executionClass: "LIVE" | "TEST_ONLY";
339
+ }, {
340
+ semanticStatus: "ACCEPTED";
341
+ observationId: string;
342
+ runtimeJobId: string;
343
+ productionRevision: number;
344
+ executionClass: "LIVE" | "TEST_ONLY";
345
+ }>;
346
+ readonly "media-observation.get": import("./spec.js").HttpOperationSpec<{
347
+ tenantId: string;
348
+ productionId: string;
349
+ observationId: string;
350
+ }, {
351
+ tenantId: string;
352
+ productionId: string;
353
+ observationId: string;
354
+ }, {
355
+ tenantId: string;
356
+ productionId: string;
357
+ observationId: string;
358
+ runtimeJobId: string;
359
+ request: {
360
+ tenantId: string;
361
+ productionId: string;
362
+ expectedProductionRevision: number;
363
+ idempotencyKey: string;
364
+ source: {
365
+ kind: "AUDIO";
366
+ media: {
367
+ artifactId: string;
368
+ representationId: string;
369
+ checksumSha256: string;
370
+ };
371
+ versionId: string;
372
+ purpose: "VOICEOVER" | "MUSIC";
373
+ } | {
374
+ kind: "VIDEO";
375
+ media: {
376
+ artifactId: string;
377
+ representationId: string;
378
+ checksumSha256: string;
379
+ };
380
+ };
381
+ mode: "AUDIO" | "VIDEO" | "TRANSCRIPTION" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES";
382
+ selection: {
383
+ connectionId: string & z.core.$brand<"ProviderConnectionId">;
384
+ modelProfileId: string;
385
+ };
386
+ expectedModelProfileVersion: number;
387
+ parameters: Record<string, string | number | boolean | string[] | Record<string, string>>;
388
+ };
389
+ profile: {
390
+ id: string;
391
+ version: number;
392
+ providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
393
+ sourceUrl: string;
394
+ verifiedAt: string;
395
+ modelId: string;
396
+ label: string;
397
+ protocol: "OPENAI_TRANSCRIPTION_V1" | "OPENAI_WHISPER_TRANSCRIPTION_V1" | "QWEN_ASR_V1";
398
+ modes: ["TRANSCRIPTION"];
399
+ inputKinds: ("AUDIO" | "VIDEO")[];
400
+ requestTimeoutMs: number;
401
+ maxBytes: number;
402
+ maxDurationMs: number;
403
+ parameters: Record<string, {
404
+ label: string;
405
+ type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
406
+ required: boolean;
407
+ min?: number | undefined;
408
+ max?: number | undefined;
409
+ maxLength?: number | undefined;
410
+ options?: string[] | undefined;
411
+ default?: string | number | boolean | string[] | Record<string, string> | undefined;
412
+ unit?: string | undefined;
413
+ description?: string | undefined;
414
+ maxItems?: number | undefined;
415
+ maxKeyLength?: number | undefined;
416
+ numberOptions?: number[] | undefined;
417
+ }>;
418
+ } | {
419
+ id: string;
420
+ version: number;
421
+ providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
422
+ sourceUrl: string;
423
+ modelId: string;
424
+ label: string;
425
+ protocol: "GEMINI_INTERACTIONS_V1" | "QIANWEN_VIDEO_V1";
426
+ modes: ("AUDIO" | "VIDEO" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES")[];
427
+ requestTimeoutMs: number;
428
+ maxBytes: number;
429
+ maxDurationMs: number;
430
+ parameters: Record<string, {
431
+ type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER";
432
+ default: string | number | boolean;
433
+ min?: number | undefined;
434
+ max?: number | undefined;
435
+ options?: string[] | undefined;
436
+ }>;
437
+ };
438
+ parameters: Record<string, string | number | boolean | string[] | Record<string, string>>;
439
+ executionClass: "LIVE" | "TEST_ONLY";
440
+ runtimeStatus: "FAILED" | "CANCELLED" | "RUNNING" | "SUPERSEDED" | "READY" | "PENDING" | "WAITING" | "SUCCEEDED";
441
+ providerStatus: "REJECTED" | "UNKNOWN" | "SUCCEEDED" | "NOT_SUBMITTED" | "SUBMITTING";
442
+ cancellationRequested: boolean;
443
+ failure: {
444
+ classification: string;
445
+ summary: string;
446
+ } | null;
447
+ result: {
448
+ schemaVersion: number;
449
+ advisory: true;
450
+ source: {
451
+ artifactId: string;
452
+ representationId: string;
453
+ checksumSha256: string;
454
+ tenantId: string;
455
+ projectId: string;
456
+ productionId: string;
457
+ byteSize: number;
458
+ durationMs: number;
459
+ executionClass: "LIVE" | "TEST_ONLY";
460
+ frameRate?: number | undefined;
461
+ };
462
+ input: Record<string, unknown>;
463
+ provider: Record<string, unknown>;
464
+ observedAt: string;
465
+ report: Record<string, unknown>;
466
+ limitations: string[];
467
+ producer?: "VLM" | "ASR" | undefined;
468
+ transcript?: {
469
+ timing: "PROVIDER_REPORTED";
470
+ timeBase: "ORIGINAL_MEDIA_MS";
471
+ granularities: ("word" | "segment")[];
472
+ words: {
473
+ text: string;
474
+ startMs: number;
475
+ endMs: number;
476
+ }[];
477
+ segments: {
478
+ text: string;
479
+ startMs: number;
480
+ endMs: number;
481
+ }[];
482
+ schemaVersion: 1;
483
+ text: string;
484
+ languages: string[];
485
+ } | {
486
+ timing: "UNAVAILABLE";
487
+ schemaVersion: 1;
488
+ text: string;
489
+ languages: string[];
490
+ } | undefined;
491
+ evidence?: {
492
+ kind: "METADATA";
493
+ id: string;
494
+ label: string;
495
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
496
+ media: {
497
+ artifactId: string;
498
+ representationId: string;
499
+ checksumSha256: string;
500
+ };
501
+ } | {
502
+ kind: "IMAGE_PIXELS";
503
+ id: string;
504
+ label: string;
505
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
506
+ media: {
507
+ artifactId: string;
508
+ representationId: string;
509
+ checksumSha256: string;
510
+ };
511
+ } | {
512
+ kind: "REGISTERED_TEMPORAL_FRAMES";
513
+ reference: {
514
+ evidenceId: string;
515
+ frameSetArtifactId: string;
516
+ contactSheetArtifactId: string;
517
+ manifestRepresentationId: string;
518
+ sheetRepresentationId: string;
519
+ planFingerprint: string;
520
+ sourceArtifactId: string;
521
+ sourceRepresentationId: string;
522
+ sourceChecksumSha256: string;
523
+ timestampsMs: number[];
524
+ executionClass: "LIVE" | "TEST_ONLY";
525
+ };
526
+ id: string;
527
+ label: string;
528
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
529
+ media: {
530
+ artifactId: string;
531
+ representationId: string;
532
+ checksumSha256: string;
533
+ };
534
+ } | {
535
+ kind: "VIDEO_PLAYBACK";
536
+ coverage: {
537
+ startMs: number;
538
+ endMs: number;
539
+ }[];
540
+ id: string;
541
+ label: string;
542
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
543
+ media: {
544
+ artifactId: string;
545
+ representationId: string;
546
+ checksumSha256: string;
547
+ };
548
+ } | {
549
+ kind: "AUDIO_LISTENING";
550
+ coverage: {
551
+ startMs: number;
552
+ endMs: number;
553
+ }[];
554
+ id: string;
555
+ label: string;
556
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
557
+ media: {
558
+ artifactId: string;
559
+ representationId: string;
560
+ checksumSha256: string;
561
+ };
562
+ } | {
563
+ kind: "VIDEO_WITH_AUDIO_PLAYBACK";
564
+ coverage: {
565
+ startMs: number;
566
+ endMs: number;
567
+ }[];
568
+ id: string;
569
+ label: string;
570
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
571
+ media: {
572
+ artifactId: string;
573
+ representationId: string;
574
+ checksumSha256: string;
575
+ };
576
+ } | {
577
+ kind: "VIDEO_FRAMES";
578
+ timestampsMs: number[];
579
+ id: string;
580
+ label: string;
581
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
582
+ media: {
583
+ artifactId: string;
584
+ representationId: string;
585
+ checksumSha256: string;
586
+ };
587
+ } | undefined;
588
+ } | null;
589
+ createdAt: string;
590
+ matrix?: {
591
+ schemaVersion: 1;
592
+ service: string;
593
+ lifecycle: "ACTIVE" | "DEPRECATED" | "RETIRED";
594
+ sources: {
595
+ url: string;
596
+ checkedAt: string;
597
+ }[];
598
+ modes: string[];
599
+ claims: {
600
+ capability: "SYNCHRONIZED_AUDIO" | "SPEECH_GENERATION" | "SPEECH_RECOGNITION" | "TRANSCRIPT_TIMESTAMPS" | "VOICE_REFERENCE" | "AUDIO_REFERENCE" | "AUDIO_DRIVEN_VIDEO" | "LIP_SYNCHRONIZATION" | "AUDIO_EDITING" | "SEPARATE_STEMS";
601
+ modes: string[];
602
+ support: "UNKNOWN" | "SUPPORTED" | "UNSUPPORTED";
603
+ control: "NONE" | "PARAMETER" | "PROMPT" | "ALWAYS_ON" | "MEDIA_INPUT";
604
+ access: "PUBLIC" | "QUALIFIED_ACCOUNT";
605
+ parameterPath?: string | undefined;
606
+ description?: string | undefined;
607
+ }[];
608
+ parameters: Record<string, {
609
+ label: string;
610
+ type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
611
+ required: boolean;
612
+ min?: number | undefined;
613
+ max?: number | undefined;
614
+ maxLength?: number | undefined;
615
+ options?: string[] | undefined;
616
+ default?: string | number | boolean | string[] | Record<string, string> | undefined;
617
+ unit?: string | undefined;
618
+ description?: string | undefined;
619
+ maxItems?: number | undefined;
620
+ maxKeyLength?: number | undefined;
621
+ numberOptions?: number[] | undefined;
622
+ }>;
623
+ constraints: {
624
+ modes: string[];
625
+ require: string[];
626
+ forbid: string[];
627
+ requireValues: Record<string, string | number | boolean>;
628
+ reason: string;
629
+ when?: {
630
+ parameter: string;
631
+ equals: string | number | boolean;
632
+ } | undefined;
633
+ }[];
634
+ references: {
635
+ kind: "AUDIO_REFERENCE" | "VOICE_ID" | "DRIVING_AUDIO";
636
+ modes: string[];
637
+ parameterPath: string;
638
+ maxItems: number;
639
+ formats: ("WAV" | "MP3")[];
640
+ requiresVisual: boolean;
641
+ access: "PUBLIC" | "QUALIFIED_ACCOUNT";
642
+ minDurationMs?: number | undefined;
643
+ maxDurationMs?: number | undefined;
644
+ maxTotalDurationMs?: number | undefined;
645
+ maxBytes?: number | undefined;
646
+ }[];
647
+ outputAudioChannels?: 2 | 1 | undefined;
648
+ } | undefined;
649
+ }, {
650
+ tenantId: string;
651
+ productionId: string;
652
+ observationId: string;
653
+ runtimeJobId: string;
654
+ request: {
655
+ tenantId: string;
656
+ productionId: string;
657
+ expectedProductionRevision: number;
658
+ idempotencyKey: string;
659
+ source: {
660
+ kind: "AUDIO";
661
+ media: {
662
+ artifactId: string;
663
+ representationId: string;
664
+ checksumSha256: string;
665
+ };
666
+ versionId: string;
667
+ purpose: "VOICEOVER" | "MUSIC";
668
+ } | {
669
+ kind: "VIDEO";
670
+ media: {
671
+ artifactId: string;
672
+ representationId: string;
673
+ checksumSha256: string;
674
+ };
675
+ };
676
+ mode: "AUDIO" | "VIDEO" | "TRANSCRIPTION" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES";
677
+ selection: {
678
+ connectionId: string;
679
+ modelProfileId: string;
680
+ };
681
+ expectedModelProfileVersion: number;
682
+ parameters?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
683
+ };
684
+ profile: {
685
+ id: string;
686
+ version: number;
687
+ providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
688
+ sourceUrl: string;
689
+ verifiedAt: string;
690
+ modelId: string;
691
+ label: string;
692
+ protocol: "OPENAI_TRANSCRIPTION_V1" | "OPENAI_WHISPER_TRANSCRIPTION_V1" | "QWEN_ASR_V1";
693
+ modes: ["TRANSCRIPTION"];
694
+ inputKinds: ("AUDIO" | "VIDEO")[];
695
+ requestTimeoutMs: number;
696
+ maxBytes: number;
697
+ maxDurationMs: number;
698
+ parameters: Record<string, {
699
+ label: string;
700
+ type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
701
+ required?: boolean | undefined;
702
+ min?: number | undefined;
703
+ max?: number | undefined;
704
+ maxLength?: number | undefined;
705
+ options?: string[] | undefined;
706
+ default?: string | number | boolean | string[] | Record<string, string> | undefined;
707
+ unit?: string | undefined;
708
+ description?: string | undefined;
709
+ maxItems?: number | undefined;
710
+ maxKeyLength?: number | undefined;
711
+ numberOptions?: number[] | undefined;
712
+ }>;
713
+ } | {
714
+ id: string;
715
+ version: number;
716
+ providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
717
+ sourceUrl: string;
718
+ modelId: string;
719
+ label: string;
720
+ protocol: "GEMINI_INTERACTIONS_V1" | "QIANWEN_VIDEO_V1";
721
+ modes: ("AUDIO" | "VIDEO" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES")[];
722
+ requestTimeoutMs: number;
723
+ maxBytes: number;
724
+ maxDurationMs: number;
725
+ parameters: Record<string, {
726
+ type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER";
727
+ default: string | number | boolean;
728
+ min?: number | undefined;
729
+ max?: number | undefined;
730
+ options?: string[] | undefined;
731
+ }>;
732
+ };
733
+ parameters: Record<string, string | number | boolean | string[] | Record<string, string>>;
734
+ executionClass: "LIVE" | "TEST_ONLY";
735
+ runtimeStatus: "FAILED" | "CANCELLED" | "RUNNING" | "SUPERSEDED" | "READY" | "PENDING" | "WAITING" | "SUCCEEDED";
736
+ providerStatus: "REJECTED" | "UNKNOWN" | "SUCCEEDED" | "NOT_SUBMITTED" | "SUBMITTING";
737
+ cancellationRequested: boolean;
738
+ failure: {
739
+ classification: string;
740
+ summary: string;
741
+ } | null;
742
+ result: {
743
+ schemaVersion: number;
744
+ advisory: true;
745
+ source: {
746
+ artifactId: string;
747
+ representationId: string;
748
+ checksumSha256: string;
749
+ tenantId: string;
750
+ projectId: string;
751
+ productionId: string;
752
+ byteSize: number;
753
+ durationMs: number;
754
+ executionClass: "LIVE" | "TEST_ONLY";
755
+ frameRate?: number | undefined;
756
+ };
757
+ input: Record<string, unknown>;
758
+ provider: Record<string, unknown>;
759
+ observedAt: string;
760
+ report: Record<string, unknown>;
761
+ limitations: string[];
762
+ producer?: "VLM" | "ASR" | undefined;
763
+ transcript?: {
764
+ timing: "UNAVAILABLE";
765
+ schemaVersion: 1;
766
+ text: string;
767
+ languages: string[];
768
+ } | {
769
+ timing: "PROVIDER_REPORTED";
770
+ timeBase: "ORIGINAL_MEDIA_MS";
771
+ granularities: ("word" | "segment")[];
772
+ words: {
773
+ text: string;
774
+ startMs: number;
775
+ endMs: number;
776
+ }[];
777
+ segments: {
778
+ text: string;
779
+ startMs: number;
780
+ endMs: number;
781
+ }[];
782
+ schemaVersion: 1;
783
+ text: string;
784
+ languages: string[];
785
+ } | undefined;
786
+ evidence?: {
787
+ kind: "METADATA";
788
+ id: string;
789
+ label: string;
790
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
791
+ media: {
792
+ artifactId: string;
793
+ representationId: string;
794
+ checksumSha256: string;
795
+ };
796
+ } | {
797
+ kind: "IMAGE_PIXELS";
798
+ id: string;
799
+ label: string;
800
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
801
+ media: {
802
+ artifactId: string;
803
+ representationId: string;
804
+ checksumSha256: string;
805
+ };
806
+ } | {
807
+ kind: "REGISTERED_TEMPORAL_FRAMES";
808
+ reference: {
809
+ evidenceId: string;
810
+ frameSetArtifactId: string;
811
+ contactSheetArtifactId: string;
812
+ manifestRepresentationId: string;
813
+ sheetRepresentationId: string;
814
+ planFingerprint: string;
815
+ sourceArtifactId: string;
816
+ sourceRepresentationId: string;
817
+ sourceChecksumSha256: string;
818
+ timestampsMs: number[];
819
+ executionClass: "LIVE" | "TEST_ONLY";
820
+ };
821
+ id: string;
822
+ label: string;
823
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
824
+ media: {
825
+ artifactId: string;
826
+ representationId: string;
827
+ checksumSha256: string;
828
+ };
829
+ } | {
830
+ kind: "VIDEO_PLAYBACK";
831
+ coverage: {
832
+ startMs: number;
833
+ endMs: number;
834
+ }[];
835
+ id: string;
836
+ label: string;
837
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
838
+ media: {
839
+ artifactId: string;
840
+ representationId: string;
841
+ checksumSha256: string;
842
+ };
843
+ } | {
844
+ kind: "AUDIO_LISTENING";
845
+ coverage: {
846
+ startMs: number;
847
+ endMs: number;
848
+ }[];
849
+ id: string;
850
+ label: string;
851
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
852
+ media: {
853
+ artifactId: string;
854
+ representationId: string;
855
+ checksumSha256: string;
856
+ };
857
+ } | {
858
+ kind: "VIDEO_WITH_AUDIO_PLAYBACK";
859
+ coverage: {
860
+ startMs: number;
861
+ endMs: number;
862
+ }[];
863
+ id: string;
864
+ label: string;
865
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
866
+ media: {
867
+ artifactId: string;
868
+ representationId: string;
869
+ checksumSha256: string;
870
+ };
871
+ } | {
872
+ kind: "VIDEO_FRAMES";
873
+ timestampsMs: number[];
874
+ id: string;
875
+ label: string;
876
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
877
+ media: {
878
+ artifactId: string;
879
+ representationId: string;
880
+ checksumSha256: string;
881
+ };
882
+ } | undefined;
883
+ } | null;
884
+ createdAt: string;
885
+ matrix?: {
886
+ schemaVersion: 1;
887
+ service: string;
888
+ lifecycle: "ACTIVE" | "DEPRECATED" | "RETIRED";
889
+ sources: {
890
+ url: string;
891
+ checkedAt: string;
892
+ }[];
893
+ modes: string[];
894
+ claims: {
895
+ capability: "SYNCHRONIZED_AUDIO" | "SPEECH_GENERATION" | "SPEECH_RECOGNITION" | "TRANSCRIPT_TIMESTAMPS" | "VOICE_REFERENCE" | "AUDIO_REFERENCE" | "AUDIO_DRIVEN_VIDEO" | "LIP_SYNCHRONIZATION" | "AUDIO_EDITING" | "SEPARATE_STEMS";
896
+ modes: string[];
897
+ support: "UNKNOWN" | "SUPPORTED" | "UNSUPPORTED";
898
+ control: "NONE" | "PARAMETER" | "PROMPT" | "ALWAYS_ON" | "MEDIA_INPUT";
899
+ parameterPath?: string | undefined;
900
+ access?: "PUBLIC" | "QUALIFIED_ACCOUNT" | undefined;
901
+ description?: string | undefined;
902
+ }[];
903
+ parameters: Record<string, {
904
+ label: string;
905
+ type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
906
+ required?: boolean | undefined;
907
+ min?: number | undefined;
908
+ max?: number | undefined;
909
+ maxLength?: number | undefined;
910
+ options?: string[] | undefined;
911
+ default?: string | number | boolean | string[] | Record<string, string> | undefined;
912
+ unit?: string | undefined;
913
+ description?: string | undefined;
914
+ maxItems?: number | undefined;
915
+ maxKeyLength?: number | undefined;
916
+ numberOptions?: number[] | undefined;
917
+ }>;
918
+ constraints: {
919
+ modes: string[];
920
+ reason: string;
921
+ when?: {
922
+ parameter: string;
923
+ equals: string | number | boolean;
924
+ } | undefined;
925
+ require?: string[] | undefined;
926
+ forbid?: string[] | undefined;
927
+ requireValues?: Record<string, string | number | boolean> | undefined;
928
+ }[];
929
+ references: {
930
+ kind: "AUDIO_REFERENCE" | "VOICE_ID" | "DRIVING_AUDIO";
931
+ modes: string[];
932
+ parameterPath: string;
933
+ maxItems: number;
934
+ formats: ("WAV" | "MP3")[];
935
+ requiresVisual: boolean;
936
+ access: "PUBLIC" | "QUALIFIED_ACCOUNT";
937
+ minDurationMs?: number | undefined;
938
+ maxDurationMs?: number | undefined;
939
+ maxTotalDurationMs?: number | undefined;
940
+ maxBytes?: number | undefined;
941
+ }[];
942
+ outputAudioChannels?: 2 | 1 | undefined;
943
+ } | undefined;
944
+ }>;
945
+ readonly "media-observation.cancel": import("./spec.js").HttpOperationSpec<{
946
+ tenantId: string;
947
+ productionId: string;
948
+ observationId: string;
949
+ }, {
950
+ tenantId: string;
951
+ productionId: string;
952
+ observationId: string;
953
+ }, {
954
+ cancellationRequested: boolean;
955
+ }, {
956
+ cancellationRequested: boolean;
957
+ }>;
958
+ };