@audialize/sdk 0.1.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -159,6 +159,38 @@ Returns all supported transcription/translation languages.
159
159
 
160
160
  ---
161
161
 
162
+ ### `client.dubbing`
163
+
164
+ Dubbing runs are created automatically when a job is processed with dubbing enabled. Use these methods to retrieve them.
165
+
166
+ #### `client.dubbing.list(options?)` → `Promise<DubbingRunListResponse>`
167
+
168
+ List all dubbing runs, with optional `jobId`, `limit`, and `pageToken` filters.
169
+
170
+ ```typescript
171
+ const { dubbingRuns } = await client.dubbing.list({ jobId });
172
+ ```
173
+
174
+ #### `client.dubbing.get(runId)` → `Promise<DubbingRun>`
175
+
176
+ Fetch a specific dubbing run by its ID.
177
+
178
+ ```typescript
179
+ const run = await client.dubbing.get(runId);
180
+ ```
181
+
182
+ #### `client.dubbing.getForJob(jobId)` → `Promise<DubbingRun>`
183
+
184
+ Fetch the dubbing run associated with a specific job.
185
+
186
+ ```typescript
187
+ const run = await client.dubbing.getForJob(jobId);
188
+ console.log(run.status); // 'completed'
189
+ console.log(run.outputUrl); // URL to the dubbed audio/video
190
+ ```
191
+
192
+ ---
193
+
162
194
  ## Error Handling
163
195
 
164
196
  All SDK errors extend `AudiolizeError`. Import them for typed `catch` blocks: