voice-router-dev 0.8.4 → 0.8.5

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/CHANGELOG.md CHANGED
@@ -5,6 +5,71 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.8.5] - 2026-04-07
9
+
10
+ ### Changed
11
+
12
+ #### AssemblyAI: Migrate to Live Docs Spec (100% OpenAPI Pipeline)
13
+
14
+ AssemblyAI deleted their `assemblyai-api-spec` GitHub repo, breaking `pnpm openapi:sync` with 404 errors. The spec source is now the live Fern-generated docs spec at `https://www.assemblyai.com/docs/openapi.json`.
15
+
16
+ **New pipeline** (follows the same pattern as ElevenLabs/OpenAI):
17
+
18
+ ```
19
+ assemblyai.com/docs/openapi.json → fix-assemblyai-spec.js → Orval → adapter
20
+ ```
21
+
22
+ **`fix-assemblyai-spec.js`** normalizes the docs spec before Orval generation:
23
+ 1. Filters paths to `/v2/*` STT endpoints (drops `/chat/completions`, `/understanding`, `/v3/token`)
24
+ 2. Maps operationIds back to descriptive names (`submit` → `createTranscript`, `get` → `getTranscript`, etc.)
25
+ 3. Strips inline `Authorization` header parameters (Orval handles auth via security schemes)
26
+ 4. Collects `$ref` references, resolves transitive deps, removes unreferenced schemas
27
+ 5. Fixes malformed array schemas and missing path parameters
28
+ 6. Strips deprecated `speech_model` from `TranscriptParams` (see fix below)
29
+
30
+ **Schema changes from new spec:**
31
+
32
+ | Aspect | Old (v1.3.4, dead repo) | New (docs, live) |
33
+ |--------|------------------------|-------------------|
34
+ | `TranscriptParams` | Split: `TranscriptParams` + `TranscriptOptionalParams` | Single merged `TranscriptParams` |
35
+ | `language_code` | `string` | `TranscriptParamsLanguageCode` (proper enum) |
36
+ | `ListTranscriptParams` | Separate schema + 5 scalar types | Inline query params on `GET /v2/transcript` |
37
+ | LeMUR schemas | 7 schemas | Dropped (not STT) |
38
+ | Webhook notification schemas | 3 schemas | Dropped (handler uses local types) |
39
+
40
+ **Deleted:** `scripts/fix-assemblyai-missing-schemas.js` — the 5 scalar types (`AfterId`, `BeforeId`, `CreatedOn`, `Limit`, `ThrottledOnly`) are now inline query parameters in the new spec.
41
+
42
+ **No breaking changes for consumers.** API function names (`createTranscript`, `getTranscript`, etc.) are preserved via operationId mapping. The `assemblyai` passthrough options type changed from `Partial<TranscriptOptionalParams>` to `Partial<TranscriptParams>` — all fields from the old type exist in the new one.
43
+
44
+ ### Fixed
45
+
46
+ #### AssemblyAI: Strip Deprecated `speech_model` from Request Schema
47
+
48
+ The docs spec includes both `speech_model` (singular, deprecated) and `speech_models` (plural, required array) on `TranscriptParams`. The API rejects requests containing both fields with HTTP 400:
49
+
50
+ ```
51
+ "speech_model and speech_models cannot be used in the same request"
52
+ ```
53
+
54
+ **Two-level fix:**
55
+
56
+ 1. **Spec level:** `fix-assemblyai-spec.js` strips `speech_model` from `TranscriptParams` before Orval generates types. This prevents it from appearing in generated Zod schemas and DynamicFieldForm UI.
57
+
58
+ 2. **Adapter level:** If users pass `speech_model` via passthrough options (e.g., from older code), the adapter gracefully migrates it to `speech_models: [value]` instead of sending both fields.
59
+
60
+ ```typescript
61
+ // This still works — adapter migrates automatically
62
+ { assemblyai: { speech_model: "universal-3-pro" } }
63
+ // → sent as: { speech_models: ["universal-3-pro"] }
64
+
65
+ // Preferred: use the new field directly
66
+ { assemblyai: { speech_models: ["universal-3-pro", "universal-2"] } }
67
+ ```
68
+
69
+ **Note:** `speech_model` is preserved in the `Transcript` response schema (read-only — tells you which model was used).
70
+
71
+ ---
72
+
8
73
  ## [0.8.4] - 2026-04-06
9
74
 
10
75
  ### Fixed
@@ -3080,8 +3080,8 @@ declare const manageV1ProjectsRequestsListQueryParams: z.ZodObject<{
3080
3080
  }, {
3081
3081
  request_id?: string | undefined;
3082
3082
  status?: "succeeded" | "failed" | undefined;
3083
- limit?: number | undefined;
3084
3083
  method?: "async" | "streaming" | "sync" | undefined;
3084
+ limit?: number | undefined;
3085
3085
  start?: string | undefined;
3086
3086
  end?: string | undefined;
3087
3087
  page?: number | undefined;
@@ -3571,12 +3571,12 @@ declare const manageV1ProjectsUsageGetQueryParams: z.ZodObject<{
3571
3571
  redact?: boolean | undefined;
3572
3572
  extra?: boolean | undefined;
3573
3573
  tag?: string | undefined;
3574
+ method?: "async" | "streaming" | "sync" | undefined;
3574
3575
  replace?: boolean | undefined;
3575
3576
  search?: boolean | undefined;
3576
3577
  detect_language?: boolean | undefined;
3577
3578
  utterances?: boolean | undefined;
3578
3579
  multichannel?: boolean | undefined;
3579
- method?: "async" | "streaming" | "sync" | undefined;
3580
3580
  callback_method?: boolean | undefined;
3581
3581
  custom_topic?: boolean | undefined;
3582
3582
  custom_topic_mode?: boolean | undefined;
@@ -3616,12 +3616,12 @@ declare const manageV1ProjectsUsageGetQueryParams: z.ZodObject<{
3616
3616
  redact?: boolean | undefined;
3617
3617
  extra?: boolean | undefined;
3618
3618
  tag?: string | undefined;
3619
+ method?: "async" | "streaming" | "sync" | undefined;
3619
3620
  replace?: boolean | undefined;
3620
3621
  search?: boolean | undefined;
3621
3622
  detect_language?: boolean | undefined;
3622
3623
  utterances?: boolean | undefined;
3623
3624
  multichannel?: boolean | undefined;
3624
- method?: "async" | "streaming" | "sync" | undefined;
3625
3625
  callback_method?: boolean | undefined;
3626
3626
  custom_topic?: boolean | undefined;
3627
3627
  custom_topic_mode?: boolean | undefined;
@@ -3740,12 +3740,12 @@ declare const manageV1ProjectsUsageBreakdownGetQueryParams: z.ZodObject<{
3740
3740
  redact?: boolean | undefined;
3741
3741
  extra?: boolean | undefined;
3742
3742
  tag?: string | undefined;
3743
+ method?: "async" | "streaming" | "sync" | undefined;
3743
3744
  replace?: boolean | undefined;
3744
3745
  search?: boolean | undefined;
3745
3746
  detect_language?: boolean | undefined;
3746
3747
  utterances?: boolean | undefined;
3747
3748
  multichannel?: boolean | undefined;
3748
- method?: "async" | "streaming" | "sync" | undefined;
3749
3749
  callback_method?: boolean | undefined;
3750
3750
  custom_topic?: boolean | undefined;
3751
3751
  custom_topic_mode?: boolean | undefined;
@@ -3786,12 +3786,12 @@ declare const manageV1ProjectsUsageBreakdownGetQueryParams: z.ZodObject<{
3786
3786
  redact?: boolean | undefined;
3787
3787
  extra?: boolean | undefined;
3788
3788
  tag?: string | undefined;
3789
+ method?: "async" | "streaming" | "sync" | undefined;
3789
3790
  replace?: boolean | undefined;
3790
3791
  search?: boolean | undefined;
3791
3792
  detect_language?: boolean | undefined;
3792
3793
  utterances?: boolean | undefined;
3793
3794
  multichannel?: boolean | undefined;
3794
- method?: "async" | "streaming" | "sync" | undefined;
3795
3795
  callback_method?: boolean | undefined;
3796
3796
  custom_topic?: boolean | undefined;
3797
3797
  custom_topic_mode?: boolean | undefined;
@@ -5331,7 +5331,6 @@ declare const createTranscriptBody: z.ZodObject<{
5331
5331
  webhook_auth_header_value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5332
5332
  webhook_url: z.ZodOptional<z.ZodString>;
5333
5333
  custom_topics: z.ZodOptional<z.ZodBoolean>;
5334
- speech_model: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
5335
5334
  topics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5336
5335
  audio_url: z.ZodString;
5337
5336
  }, "strip", z.ZodTypeAny, {
@@ -5414,7 +5413,6 @@ declare const createTranscriptBody: z.ZodObject<{
5414
5413
  remove_audio_tags?: "all" | null | undefined;
5415
5414
  webhook_auth_header_name?: string | null | undefined;
5416
5415
  custom_topics?: boolean | undefined;
5417
- speech_model?: string | null | undefined;
5418
5416
  speaker_options?: {
5419
5417
  min_speakers_expected: number;
5420
5418
  max_speakers_expected?: number | undefined;
@@ -5499,7 +5497,6 @@ declare const createTranscriptBody: z.ZodObject<{
5499
5497
  remove_audio_tags?: "all" | null | undefined;
5500
5498
  webhook_auth_header_name?: string | null | undefined;
5501
5499
  custom_topics?: boolean | undefined;
5502
- speech_model?: string | null | undefined;
5503
5500
  content_safety_confidence?: number | undefined;
5504
5501
  speaker_options?: {
5505
5502
  min_speakers_expected?: number | undefined;
@@ -45693,8 +45690,8 @@ declare const DeepgramListFilterSchema: z.ZodObject<{
45693
45690
  }, {
45694
45691
  request_id?: string | undefined;
45695
45692
  status?: "succeeded" | "failed" | undefined;
45696
- limit?: number | undefined;
45697
45693
  method?: "async" | "streaming" | "sync" | undefined;
45694
+ limit?: number | undefined;
45698
45695
  start?: string | undefined;
45699
45696
  end?: string | undefined;
45700
45697
  page?: number | undefined;
@@ -45960,7 +45957,6 @@ declare const AssemblyAITranscriptionSchema: z.ZodObject<{
45960
45957
  webhook_auth_header_value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45961
45958
  webhook_url: z.ZodOptional<z.ZodString>;
45962
45959
  custom_topics: z.ZodOptional<z.ZodBoolean>;
45963
- speech_model: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
45964
45960
  topics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
45965
45961
  audio_url: z.ZodString;
45966
45962
  }, "strip", z.ZodTypeAny, {
@@ -46043,7 +46039,6 @@ declare const AssemblyAITranscriptionSchema: z.ZodObject<{
46043
46039
  remove_audio_tags?: "all" | null | undefined;
46044
46040
  webhook_auth_header_name?: string | null | undefined;
46045
46041
  custom_topics?: boolean | undefined;
46046
- speech_model?: string | null | undefined;
46047
46042
  speaker_options?: {
46048
46043
  min_speakers_expected: number;
46049
46044
  max_speakers_expected?: number | undefined;
@@ -46128,7 +46123,6 @@ declare const AssemblyAITranscriptionSchema: z.ZodObject<{
46128
46123
  remove_audio_tags?: "all" | null | undefined;
46129
46124
  webhook_auth_header_name?: string | null | undefined;
46130
46125
  custom_topics?: boolean | undefined;
46131
- speech_model?: string | null | undefined;
46132
46126
  content_safety_confidence?: number | undefined;
46133
46127
  speaker_options?: {
46134
46128
  min_speakers_expected?: number | undefined;
@@ -3080,8 +3080,8 @@ declare const manageV1ProjectsRequestsListQueryParams: z.ZodObject<{
3080
3080
  }, {
3081
3081
  request_id?: string | undefined;
3082
3082
  status?: "succeeded" | "failed" | undefined;
3083
- limit?: number | undefined;
3084
3083
  method?: "async" | "streaming" | "sync" | undefined;
3084
+ limit?: number | undefined;
3085
3085
  start?: string | undefined;
3086
3086
  end?: string | undefined;
3087
3087
  page?: number | undefined;
@@ -3571,12 +3571,12 @@ declare const manageV1ProjectsUsageGetQueryParams: z.ZodObject<{
3571
3571
  redact?: boolean | undefined;
3572
3572
  extra?: boolean | undefined;
3573
3573
  tag?: string | undefined;
3574
+ method?: "async" | "streaming" | "sync" | undefined;
3574
3575
  replace?: boolean | undefined;
3575
3576
  search?: boolean | undefined;
3576
3577
  detect_language?: boolean | undefined;
3577
3578
  utterances?: boolean | undefined;
3578
3579
  multichannel?: boolean | undefined;
3579
- method?: "async" | "streaming" | "sync" | undefined;
3580
3580
  callback_method?: boolean | undefined;
3581
3581
  custom_topic?: boolean | undefined;
3582
3582
  custom_topic_mode?: boolean | undefined;
@@ -3616,12 +3616,12 @@ declare const manageV1ProjectsUsageGetQueryParams: z.ZodObject<{
3616
3616
  redact?: boolean | undefined;
3617
3617
  extra?: boolean | undefined;
3618
3618
  tag?: string | undefined;
3619
+ method?: "async" | "streaming" | "sync" | undefined;
3619
3620
  replace?: boolean | undefined;
3620
3621
  search?: boolean | undefined;
3621
3622
  detect_language?: boolean | undefined;
3622
3623
  utterances?: boolean | undefined;
3623
3624
  multichannel?: boolean | undefined;
3624
- method?: "async" | "streaming" | "sync" | undefined;
3625
3625
  callback_method?: boolean | undefined;
3626
3626
  custom_topic?: boolean | undefined;
3627
3627
  custom_topic_mode?: boolean | undefined;
@@ -3740,12 +3740,12 @@ declare const manageV1ProjectsUsageBreakdownGetQueryParams: z.ZodObject<{
3740
3740
  redact?: boolean | undefined;
3741
3741
  extra?: boolean | undefined;
3742
3742
  tag?: string | undefined;
3743
+ method?: "async" | "streaming" | "sync" | undefined;
3743
3744
  replace?: boolean | undefined;
3744
3745
  search?: boolean | undefined;
3745
3746
  detect_language?: boolean | undefined;
3746
3747
  utterances?: boolean | undefined;
3747
3748
  multichannel?: boolean | undefined;
3748
- method?: "async" | "streaming" | "sync" | undefined;
3749
3749
  callback_method?: boolean | undefined;
3750
3750
  custom_topic?: boolean | undefined;
3751
3751
  custom_topic_mode?: boolean | undefined;
@@ -3786,12 +3786,12 @@ declare const manageV1ProjectsUsageBreakdownGetQueryParams: z.ZodObject<{
3786
3786
  redact?: boolean | undefined;
3787
3787
  extra?: boolean | undefined;
3788
3788
  tag?: string | undefined;
3789
+ method?: "async" | "streaming" | "sync" | undefined;
3789
3790
  replace?: boolean | undefined;
3790
3791
  search?: boolean | undefined;
3791
3792
  detect_language?: boolean | undefined;
3792
3793
  utterances?: boolean | undefined;
3793
3794
  multichannel?: boolean | undefined;
3794
- method?: "async" | "streaming" | "sync" | undefined;
3795
3795
  callback_method?: boolean | undefined;
3796
3796
  custom_topic?: boolean | undefined;
3797
3797
  custom_topic_mode?: boolean | undefined;
@@ -5331,7 +5331,6 @@ declare const createTranscriptBody: z.ZodObject<{
5331
5331
  webhook_auth_header_value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5332
5332
  webhook_url: z.ZodOptional<z.ZodString>;
5333
5333
  custom_topics: z.ZodOptional<z.ZodBoolean>;
5334
- speech_model: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
5335
5334
  topics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5336
5335
  audio_url: z.ZodString;
5337
5336
  }, "strip", z.ZodTypeAny, {
@@ -5414,7 +5413,6 @@ declare const createTranscriptBody: z.ZodObject<{
5414
5413
  remove_audio_tags?: "all" | null | undefined;
5415
5414
  webhook_auth_header_name?: string | null | undefined;
5416
5415
  custom_topics?: boolean | undefined;
5417
- speech_model?: string | null | undefined;
5418
5416
  speaker_options?: {
5419
5417
  min_speakers_expected: number;
5420
5418
  max_speakers_expected?: number | undefined;
@@ -5499,7 +5497,6 @@ declare const createTranscriptBody: z.ZodObject<{
5499
5497
  remove_audio_tags?: "all" | null | undefined;
5500
5498
  webhook_auth_header_name?: string | null | undefined;
5501
5499
  custom_topics?: boolean | undefined;
5502
- speech_model?: string | null | undefined;
5503
5500
  content_safety_confidence?: number | undefined;
5504
5501
  speaker_options?: {
5505
5502
  min_speakers_expected?: number | undefined;
@@ -45693,8 +45690,8 @@ declare const DeepgramListFilterSchema: z.ZodObject<{
45693
45690
  }, {
45694
45691
  request_id?: string | undefined;
45695
45692
  status?: "succeeded" | "failed" | undefined;
45696
- limit?: number | undefined;
45697
45693
  method?: "async" | "streaming" | "sync" | undefined;
45694
+ limit?: number | undefined;
45698
45695
  start?: string | undefined;
45699
45696
  end?: string | undefined;
45700
45697
  page?: number | undefined;
@@ -45960,7 +45957,6 @@ declare const AssemblyAITranscriptionSchema: z.ZodObject<{
45960
45957
  webhook_auth_header_value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45961
45958
  webhook_url: z.ZodOptional<z.ZodString>;
45962
45959
  custom_topics: z.ZodOptional<z.ZodBoolean>;
45963
- speech_model: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
45964
45960
  topics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
45965
45961
  audio_url: z.ZodString;
45966
45962
  }, "strip", z.ZodTypeAny, {
@@ -46043,7 +46039,6 @@ declare const AssemblyAITranscriptionSchema: z.ZodObject<{
46043
46039
  remove_audio_tags?: "all" | null | undefined;
46044
46040
  webhook_auth_header_name?: string | null | undefined;
46045
46041
  custom_topics?: boolean | undefined;
46046
- speech_model?: string | null | undefined;
46047
46042
  speaker_options?: {
46048
46043
  min_speakers_expected: number;
46049
46044
  max_speakers_expected?: number | undefined;
@@ -46128,7 +46123,6 @@ declare const AssemblyAITranscriptionSchema: z.ZodObject<{
46128
46123
  remove_audio_tags?: "all" | null | undefined;
46129
46124
  webhook_auth_header_name?: string | null | undefined;
46130
46125
  custom_topics?: boolean | undefined;
46131
- speech_model?: string | null | undefined;
46132
46126
  content_safety_confidence?: number | undefined;
46133
46127
  speaker_options?: {
46134
46128
  min_speakers_expected?: number | undefined;
@@ -1,2 +1,2 @@
1
1
  import 'zod';
2
- export { B as AssemblyAIListFilterFieldName, L as AssemblyAIListFilterSchema, E as AssemblyAIStreamingConfig, x as AssemblyAIStreamingFieldName, J as AssemblyAIStreamingSchema, H as AssemblyAIStreamingUpdateConfig, y as AssemblyAIStreamingUpdateFieldName, K as AssemblyAIStreamingUpdateSchema, C as AssemblyAITranscriptionConfig, A as AssemblyAITranscriptionFieldName, I as AssemblyAITranscriptionSchema, R as AzureListFilterFieldName, U as AzureListFilterSchema, S as AzureTranscriptionConfig, Q as AzureTranscriptionFieldName, T as AzureTranscriptionSchema, q as DeepgramListFilterFieldName, w as DeepgramListFilterSchema, p as DeepgramStreamingFieldName, t as DeepgramStreamingOnlyConfig, v as DeepgramStreamingOnlySchema, r as DeepgramTranscriptionConfig, D as DeepgramTranscriptionFieldName, u as DeepgramTranscriptionSchema, Z as FieldConfig, aK as FieldConfigProvider, c as FieldOverrides, F as FieldType, i as GladiaListFilterFieldName, n as GladiaListFilterSchema, k as GladiaStreamingConfig, h as GladiaStreamingFieldName, m as GladiaStreamingSchema, j as GladiaTranscriptionConfig, G as GladiaTranscriptionFieldName, l as GladiaTranscriptionSchema, M as OpenAITranscriptionConfig, O as OpenAITranscriptionFieldName, N as OpenAITranscriptionSchema, P as ProviderFieldConfigs, a8 as SonioxListFilterFieldName, af as SonioxListFilterSchema, aa as SonioxStreamingConfig, a6 as SonioxStreamingFieldName, ad as SonioxStreamingSchema, ab as SonioxStreamingUpdateConfig, a7 as SonioxStreamingUpdateFieldName, ae as SonioxStreamingUpdateSchema, a9 as SonioxTranscriptionConfig, a5 as SonioxTranscriptionFieldName, ac as SonioxTranscriptionSchema, Y as SpeechmaticsListFilterFieldName, a4 as SpeechmaticsListFilterSchema, $ as SpeechmaticsStreamingConfig, W as SpeechmaticsStreamingFieldName, a2 as SpeechmaticsStreamingSchema, a0 as SpeechmaticsStreamingUpdateConfig, X as SpeechmaticsStreamingUpdateFieldName, a3 as SpeechmaticsStreamingUpdateSchema, _ as SpeechmaticsTranscriptionConfig, V as SpeechmaticsTranscriptionFieldName, a1 as SpeechmaticsTranscriptionSchema, ah as StreamingFieldName, ag as TranscriptionFieldName, aM as getAllFieldConfigs, au as getAssemblyAIFieldConfigs, ar as getAssemblyAIListFilterFields, as as getAssemblyAIStreamingFields, at as getAssemblyAIStreamingUpdateFields, aq as getAssemblyAITranscriptionFields, az as getAzureFieldConfigs, ay as getAzureListFilterFields, ax as getAzureTranscriptionFields, ap as getDeepgramFieldConfigs, an as getDeepgramListFilterFields, ao as getDeepgramStreamingFields, am as getDeepgramTranscriptionFields, al as getGladiaFieldConfigs, aj as getGladiaListFilterFields, ak as getGladiaStreamingFields, ai as getGladiaTranscriptionFields, aw as getOpenAIFieldConfigs, av as getOpenAITranscriptionFields, aL as getProviderFieldConfigs, aJ as getSonioxFieldConfigs, aG as getSonioxListFilterFields, aH as getSonioxStreamingFields, aI as getSonioxStreamingUpdateFields, aF as getSonioxTranscriptionFields, aE as getSpeechmaticsFieldConfigs, aB as getSpeechmaticsListFilterFields, aC as getSpeechmaticsStreamingFields, aD as getSpeechmaticsStreamingUpdateFields, aA as getSpeechmaticsTranscriptionFields } from './field-configs-DLbrsYTk.mjs';
2
+ export { B as AssemblyAIListFilterFieldName, L as AssemblyAIListFilterSchema, E as AssemblyAIStreamingConfig, x as AssemblyAIStreamingFieldName, J as AssemblyAIStreamingSchema, H as AssemblyAIStreamingUpdateConfig, y as AssemblyAIStreamingUpdateFieldName, K as AssemblyAIStreamingUpdateSchema, C as AssemblyAITranscriptionConfig, A as AssemblyAITranscriptionFieldName, I as AssemblyAITranscriptionSchema, R as AzureListFilterFieldName, U as AzureListFilterSchema, S as AzureTranscriptionConfig, Q as AzureTranscriptionFieldName, T as AzureTranscriptionSchema, q as DeepgramListFilterFieldName, w as DeepgramListFilterSchema, p as DeepgramStreamingFieldName, t as DeepgramStreamingOnlyConfig, v as DeepgramStreamingOnlySchema, r as DeepgramTranscriptionConfig, D as DeepgramTranscriptionFieldName, u as DeepgramTranscriptionSchema, Z as FieldConfig, aK as FieldConfigProvider, c as FieldOverrides, F as FieldType, i as GladiaListFilterFieldName, n as GladiaListFilterSchema, k as GladiaStreamingConfig, h as GladiaStreamingFieldName, m as GladiaStreamingSchema, j as GladiaTranscriptionConfig, G as GladiaTranscriptionFieldName, l as GladiaTranscriptionSchema, M as OpenAITranscriptionConfig, O as OpenAITranscriptionFieldName, N as OpenAITranscriptionSchema, P as ProviderFieldConfigs, a8 as SonioxListFilterFieldName, af as SonioxListFilterSchema, aa as SonioxStreamingConfig, a6 as SonioxStreamingFieldName, ad as SonioxStreamingSchema, ab as SonioxStreamingUpdateConfig, a7 as SonioxStreamingUpdateFieldName, ae as SonioxStreamingUpdateSchema, a9 as SonioxTranscriptionConfig, a5 as SonioxTranscriptionFieldName, ac as SonioxTranscriptionSchema, Y as SpeechmaticsListFilterFieldName, a4 as SpeechmaticsListFilterSchema, $ as SpeechmaticsStreamingConfig, W as SpeechmaticsStreamingFieldName, a2 as SpeechmaticsStreamingSchema, a0 as SpeechmaticsStreamingUpdateConfig, X as SpeechmaticsStreamingUpdateFieldName, a3 as SpeechmaticsStreamingUpdateSchema, _ as SpeechmaticsTranscriptionConfig, V as SpeechmaticsTranscriptionFieldName, a1 as SpeechmaticsTranscriptionSchema, ah as StreamingFieldName, ag as TranscriptionFieldName, aM as getAllFieldConfigs, au as getAssemblyAIFieldConfigs, ar as getAssemblyAIListFilterFields, as as getAssemblyAIStreamingFields, at as getAssemblyAIStreamingUpdateFields, aq as getAssemblyAITranscriptionFields, az as getAzureFieldConfigs, ay as getAzureListFilterFields, ax as getAzureTranscriptionFields, ap as getDeepgramFieldConfigs, an as getDeepgramListFilterFields, ao as getDeepgramStreamingFields, am as getDeepgramTranscriptionFields, al as getGladiaFieldConfigs, aj as getGladiaListFilterFields, ak as getGladiaStreamingFields, ai as getGladiaTranscriptionFields, aw as getOpenAIFieldConfigs, av as getOpenAITranscriptionFields, aL as getProviderFieldConfigs, aJ as getSonioxFieldConfigs, aG as getSonioxListFilterFields, aH as getSonioxStreamingFields, aI as getSonioxStreamingUpdateFields, aF as getSonioxTranscriptionFields, aE as getSpeechmaticsFieldConfigs, aB as getSpeechmaticsListFilterFields, aC as getSpeechmaticsStreamingFields, aD as getSpeechmaticsStreamingUpdateFields, aA as getSpeechmaticsTranscriptionFields } from './field-configs-DXAGTUfv.mjs';
@@ -1,2 +1,2 @@
1
1
  import 'zod';
2
- export { B as AssemblyAIListFilterFieldName, L as AssemblyAIListFilterSchema, E as AssemblyAIStreamingConfig, x as AssemblyAIStreamingFieldName, J as AssemblyAIStreamingSchema, H as AssemblyAIStreamingUpdateConfig, y as AssemblyAIStreamingUpdateFieldName, K as AssemblyAIStreamingUpdateSchema, C as AssemblyAITranscriptionConfig, A as AssemblyAITranscriptionFieldName, I as AssemblyAITranscriptionSchema, R as AzureListFilterFieldName, U as AzureListFilterSchema, S as AzureTranscriptionConfig, Q as AzureTranscriptionFieldName, T as AzureTranscriptionSchema, q as DeepgramListFilterFieldName, w as DeepgramListFilterSchema, p as DeepgramStreamingFieldName, t as DeepgramStreamingOnlyConfig, v as DeepgramStreamingOnlySchema, r as DeepgramTranscriptionConfig, D as DeepgramTranscriptionFieldName, u as DeepgramTranscriptionSchema, Z as FieldConfig, aK as FieldConfigProvider, c as FieldOverrides, F as FieldType, i as GladiaListFilterFieldName, n as GladiaListFilterSchema, k as GladiaStreamingConfig, h as GladiaStreamingFieldName, m as GladiaStreamingSchema, j as GladiaTranscriptionConfig, G as GladiaTranscriptionFieldName, l as GladiaTranscriptionSchema, M as OpenAITranscriptionConfig, O as OpenAITranscriptionFieldName, N as OpenAITranscriptionSchema, P as ProviderFieldConfigs, a8 as SonioxListFilterFieldName, af as SonioxListFilterSchema, aa as SonioxStreamingConfig, a6 as SonioxStreamingFieldName, ad as SonioxStreamingSchema, ab as SonioxStreamingUpdateConfig, a7 as SonioxStreamingUpdateFieldName, ae as SonioxStreamingUpdateSchema, a9 as SonioxTranscriptionConfig, a5 as SonioxTranscriptionFieldName, ac as SonioxTranscriptionSchema, Y as SpeechmaticsListFilterFieldName, a4 as SpeechmaticsListFilterSchema, $ as SpeechmaticsStreamingConfig, W as SpeechmaticsStreamingFieldName, a2 as SpeechmaticsStreamingSchema, a0 as SpeechmaticsStreamingUpdateConfig, X as SpeechmaticsStreamingUpdateFieldName, a3 as SpeechmaticsStreamingUpdateSchema, _ as SpeechmaticsTranscriptionConfig, V as SpeechmaticsTranscriptionFieldName, a1 as SpeechmaticsTranscriptionSchema, ah as StreamingFieldName, ag as TranscriptionFieldName, aM as getAllFieldConfigs, au as getAssemblyAIFieldConfigs, ar as getAssemblyAIListFilterFields, as as getAssemblyAIStreamingFields, at as getAssemblyAIStreamingUpdateFields, aq as getAssemblyAITranscriptionFields, az as getAzureFieldConfigs, ay as getAzureListFilterFields, ax as getAzureTranscriptionFields, ap as getDeepgramFieldConfigs, an as getDeepgramListFilterFields, ao as getDeepgramStreamingFields, am as getDeepgramTranscriptionFields, al as getGladiaFieldConfigs, aj as getGladiaListFilterFields, ak as getGladiaStreamingFields, ai as getGladiaTranscriptionFields, aw as getOpenAIFieldConfigs, av as getOpenAITranscriptionFields, aL as getProviderFieldConfigs, aJ as getSonioxFieldConfigs, aG as getSonioxListFilterFields, aH as getSonioxStreamingFields, aI as getSonioxStreamingUpdateFields, aF as getSonioxTranscriptionFields, aE as getSpeechmaticsFieldConfigs, aB as getSpeechmaticsListFilterFields, aC as getSpeechmaticsStreamingFields, aD as getSpeechmaticsStreamingUpdateFields, aA as getSpeechmaticsTranscriptionFields } from './field-configs-DLbrsYTk.js';
2
+ export { B as AssemblyAIListFilterFieldName, L as AssemblyAIListFilterSchema, E as AssemblyAIStreamingConfig, x as AssemblyAIStreamingFieldName, J as AssemblyAIStreamingSchema, H as AssemblyAIStreamingUpdateConfig, y as AssemblyAIStreamingUpdateFieldName, K as AssemblyAIStreamingUpdateSchema, C as AssemblyAITranscriptionConfig, A as AssemblyAITranscriptionFieldName, I as AssemblyAITranscriptionSchema, R as AzureListFilterFieldName, U as AzureListFilterSchema, S as AzureTranscriptionConfig, Q as AzureTranscriptionFieldName, T as AzureTranscriptionSchema, q as DeepgramListFilterFieldName, w as DeepgramListFilterSchema, p as DeepgramStreamingFieldName, t as DeepgramStreamingOnlyConfig, v as DeepgramStreamingOnlySchema, r as DeepgramTranscriptionConfig, D as DeepgramTranscriptionFieldName, u as DeepgramTranscriptionSchema, Z as FieldConfig, aK as FieldConfigProvider, c as FieldOverrides, F as FieldType, i as GladiaListFilterFieldName, n as GladiaListFilterSchema, k as GladiaStreamingConfig, h as GladiaStreamingFieldName, m as GladiaStreamingSchema, j as GladiaTranscriptionConfig, G as GladiaTranscriptionFieldName, l as GladiaTranscriptionSchema, M as OpenAITranscriptionConfig, O as OpenAITranscriptionFieldName, N as OpenAITranscriptionSchema, P as ProviderFieldConfigs, a8 as SonioxListFilterFieldName, af as SonioxListFilterSchema, aa as SonioxStreamingConfig, a6 as SonioxStreamingFieldName, ad as SonioxStreamingSchema, ab as SonioxStreamingUpdateConfig, a7 as SonioxStreamingUpdateFieldName, ae as SonioxStreamingUpdateSchema, a9 as SonioxTranscriptionConfig, a5 as SonioxTranscriptionFieldName, ac as SonioxTranscriptionSchema, Y as SpeechmaticsListFilterFieldName, a4 as SpeechmaticsListFilterSchema, $ as SpeechmaticsStreamingConfig, W as SpeechmaticsStreamingFieldName, a2 as SpeechmaticsStreamingSchema, a0 as SpeechmaticsStreamingUpdateConfig, X as SpeechmaticsStreamingUpdateFieldName, a3 as SpeechmaticsStreamingUpdateSchema, _ as SpeechmaticsTranscriptionConfig, V as SpeechmaticsTranscriptionFieldName, a1 as SpeechmaticsTranscriptionSchema, ah as StreamingFieldName, ag as TranscriptionFieldName, aM as getAllFieldConfigs, au as getAssemblyAIFieldConfigs, ar as getAssemblyAIListFilterFields, as as getAssemblyAIStreamingFields, at as getAssemblyAIStreamingUpdateFields, aq as getAssemblyAITranscriptionFields, az as getAzureFieldConfigs, ay as getAzureListFilterFields, ax as getAzureTranscriptionFields, ap as getDeepgramFieldConfigs, an as getDeepgramListFilterFields, ao as getDeepgramStreamingFields, am as getDeepgramTranscriptionFields, al as getGladiaFieldConfigs, aj as getGladiaListFilterFields, ak as getGladiaStreamingFields, ai as getGladiaTranscriptionFields, aw as getOpenAIFieldConfigs, av as getOpenAITranscriptionFields, aL as getProviderFieldConfigs, aJ as getSonioxFieldConfigs, aG as getSonioxListFilterFields, aH as getSonioxStreamingFields, aI as getSonioxStreamingUpdateFields, aF as getSonioxTranscriptionFields, aE as getSpeechmaticsFieldConfigs, aB as getSpeechmaticsListFilterFields, aC as getSpeechmaticsStreamingFields, aD as getSpeechmaticsStreamingUpdateFields, aA as getSpeechmaticsTranscriptionFields } from './field-configs-DXAGTUfv.js';
@@ -1968,11 +1968,6 @@ var createTranscriptBody = import_zod3.z.object({
1968
1968
  "The URL to which we send [webhook](https://www.assemblyai.com/docs/deployment/webhooks-for-pre-recorded-audio) requests.\n"
1969
1969
  ),
1970
1970
  custom_topics: import_zod3.z.boolean().optional().describe("This parameter does not currently have any functionality attached to it."),
1971
- speech_model: import_zod3.z.string().describe(
1972
- "The speech model to use for the transcription. See [Model Selection](https://www.assemblyai.com/docs/pre-recorded-audio/select-the-speech-model) for available models."
1973
- ).or(import_zod3.z.null()).optional().describe(
1974
- "This parameter has been replaced with the `speech_models` parameter, learn more about the `speech_models` parameter [here](https://www.assemblyai.com/docs/pre-recorded-audio/select-the-speech-model).\n"
1975
- ),
1976
1971
  topics: import_zod3.z.array(import_zod3.z.string()).optional().describe("This parameter does not currently have any functionality attached to it."),
1977
1972
  audio_url: import_zod3.z.string().describe("The URL of the audio or video file to transcribe.")
1978
1973
  }).describe("The parameters for creating a transcript");
@@ -1893,11 +1893,6 @@ var createTranscriptBody = zod3.object({
1893
1893
  "The URL to which we send [webhook](https://www.assemblyai.com/docs/deployment/webhooks-for-pre-recorded-audio) requests.\n"
1894
1894
  ),
1895
1895
  custom_topics: zod3.boolean().optional().describe("This parameter does not currently have any functionality attached to it."),
1896
- speech_model: zod3.string().describe(
1897
- "The speech model to use for the transcription. See [Model Selection](https://www.assemblyai.com/docs/pre-recorded-audio/select-the-speech-model) for available models."
1898
- ).or(zod3.null()).optional().describe(
1899
- "This parameter has been replaced with the `speech_models` parameter, learn more about the `speech_models` parameter [here](https://www.assemblyai.com/docs/pre-recorded-audio/select-the-speech-model).\n"
1900
- ),
1901
1896
  topics: zod3.array(zod3.string()).optional().describe("This parameter does not currently have any functionality attached to it."),
1902
1897
  audio_url: zod3.string().describe("The URL of the audio or video file to transcribe.")
1903
1898
  }).describe("The parameters for creating a transcript");