voice-router-dev 0.8.2 → 0.8.3
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 +211 -0
- package/dist/constants.d.mts +33 -3
- package/dist/constants.d.ts +33 -3
- package/dist/constants.js +14 -1
- package/dist/constants.mjs +13 -1
- package/dist/{field-configs-DN2_WrYr.d.mts → field-configs-t_lVCkE5.d.mts} +1194 -1194
- package/dist/{field-configs-DN2_WrYr.d.ts → field-configs-t_lVCkE5.d.ts} +1194 -1194
- package/dist/field-configs.d.mts +1 -1
- package/dist/field-configs.d.ts +1 -1
- package/dist/field-configs.js +8 -8
- package/dist/field-configs.mjs +8 -8
- package/dist/index.d.mts +651 -1628
- package/dist/index.d.ts +651 -1628
- package/dist/index.js +203 -51
- package/dist/index.mjs +200 -51
- package/dist/{provider-metadata-BnkedpXm.d.mts → provider-metadata-MDUUEuqF.d.mts} +4 -4
- package/dist/{provider-metadata-DbsSGAO7.d.ts → provider-metadata-_gUWlRXS.d.ts} +4 -4
- package/dist/provider-metadata.d.mts +1 -1
- package/dist/provider-metadata.d.ts +1 -1
- package/dist/{speechToTextChunkResponseModel-DExUFZT3.d.ts → speechToTextChunkResponseModel-DjL2ncnf.d.ts} +1147 -10
- package/dist/{speechToTextChunkResponseModel-3IUnJXKx.d.mts → speechToTextChunkResponseModel-DvIT4xai.d.mts} +1147 -10
- package/dist/webhooks.d.mts +234 -215
- package/dist/webhooks.d.ts +234 -215
- package/package.json +1 -1
package/dist/field-configs.d.mts
CHANGED
|
@@ -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-
|
|
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-t_lVCkE5.mjs';
|
package/dist/field-configs.d.ts
CHANGED
|
@@ -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-
|
|
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-t_lVCkE5.js';
|
package/dist/field-configs.js
CHANGED
|
@@ -20660,7 +20660,7 @@ var createRealtimeClientSecretBody = import_zod6.z.object({
|
|
|
20660
20660
|
format: import_zod6.z.discriminatedUnion("type", [
|
|
20661
20661
|
import_zod6.z.object({
|
|
20662
20662
|
type: import_zod6.z.enum(["audio/pcm"]).describe("The audio format. Always `audio/pcm`."),
|
|
20663
|
-
rate: import_zod6.z.literal(24e3).
|
|
20663
|
+
rate: import_zod6.z.literal(24e3).describe("The sample rate of the audio. Always `24000`.")
|
|
20664
20664
|
}).describe("The PCM audio format. Only a 24kHz sample rate is supported."),
|
|
20665
20665
|
import_zod6.z.object({
|
|
20666
20666
|
type: import_zod6.z.enum(["audio/pcmu"]).describe("The audio format. Always `audio/pcmu`.")
|
|
@@ -20759,7 +20759,7 @@ var createRealtimeClientSecretBody = import_zod6.z.object({
|
|
|
20759
20759
|
format: import_zod6.z.discriminatedUnion("type", [
|
|
20760
20760
|
import_zod6.z.object({
|
|
20761
20761
|
type: import_zod6.z.enum(["audio/pcm"]).describe("The audio format. Always `audio/pcm`."),
|
|
20762
|
-
rate: import_zod6.z.literal(24e3).
|
|
20762
|
+
rate: import_zod6.z.literal(24e3).describe("The sample rate of the audio. Always `24000`.")
|
|
20763
20763
|
}).describe("The PCM audio format. Only a 24kHz sample rate is supported."),
|
|
20764
20764
|
import_zod6.z.object({
|
|
20765
20765
|
type: import_zod6.z.enum(["audio/pcmu"]).describe("The audio format. Always `audio/pcmu`.")
|
|
@@ -20969,7 +20969,7 @@ var createRealtimeClientSecretBody = import_zod6.z.object({
|
|
|
20969
20969
|
format: import_zod6.z.discriminatedUnion("type", [
|
|
20970
20970
|
import_zod6.z.object({
|
|
20971
20971
|
type: import_zod6.z.enum(["audio/pcm"]).describe("The audio format. Always `audio/pcm`."),
|
|
20972
|
-
rate: import_zod6.z.literal(24e3).
|
|
20972
|
+
rate: import_zod6.z.literal(24e3).describe("The sample rate of the audio. Always `24000`.")
|
|
20973
20973
|
}).describe("The PCM audio format. Only a 24kHz sample rate is supported."),
|
|
20974
20974
|
import_zod6.z.object({
|
|
20975
20975
|
type: import_zod6.z.enum(["audio/pcmu"]).describe("The audio format. Always `audio/pcmu`.")
|
|
@@ -21133,7 +21133,7 @@ var createRealtimeClientSecretResponse = import_zod6.z.object({
|
|
|
21133
21133
|
format: import_zod6.z.discriminatedUnion("type", [
|
|
21134
21134
|
import_zod6.z.object({
|
|
21135
21135
|
type: import_zod6.z.enum(["audio/pcm"]).describe("The audio format. Always `audio/pcm`."),
|
|
21136
|
-
rate: import_zod6.z.literal(24e3).
|
|
21136
|
+
rate: import_zod6.z.literal(24e3).describe("The sample rate of the audio. Always `24000`.")
|
|
21137
21137
|
}).describe("The PCM audio format. Only a 24kHz sample rate is supported."),
|
|
21138
21138
|
import_zod6.z.object({
|
|
21139
21139
|
type: import_zod6.z.enum(["audio/pcmu"]).describe("The audio format. Always `audio/pcmu`.")
|
|
@@ -21232,7 +21232,7 @@ var createRealtimeClientSecretResponse = import_zod6.z.object({
|
|
|
21232
21232
|
format: import_zod6.z.discriminatedUnion("type", [
|
|
21233
21233
|
import_zod6.z.object({
|
|
21234
21234
|
type: import_zod6.z.enum(["audio/pcm"]).describe("The audio format. Always `audio/pcm`."),
|
|
21235
|
-
rate: import_zod6.z.literal(24e3).
|
|
21235
|
+
rate: import_zod6.z.literal(24e3).describe("The sample rate of the audio. Always `24000`.")
|
|
21236
21236
|
}).describe("The PCM audio format. Only a 24kHz sample rate is supported."),
|
|
21237
21237
|
import_zod6.z.object({
|
|
21238
21238
|
type: import_zod6.z.enum(["audio/pcmu"]).describe("The audio format. Always `audio/pcmu`.")
|
|
@@ -21451,7 +21451,7 @@ var createRealtimeClientSecretResponse = import_zod6.z.object({
|
|
|
21451
21451
|
format: import_zod6.z.discriminatedUnion("type", [
|
|
21452
21452
|
import_zod6.z.object({
|
|
21453
21453
|
type: import_zod6.z.enum(["audio/pcm"]).describe("The audio format. Always `audio/pcm`."),
|
|
21454
|
-
rate: import_zod6.z.literal(24e3).
|
|
21454
|
+
rate: import_zod6.z.literal(24e3).describe("The sample rate of the audio. Always `24000`.")
|
|
21455
21455
|
}).describe("The PCM audio format. Only a 24kHz sample rate is supported."),
|
|
21456
21456
|
import_zod6.z.object({
|
|
21457
21457
|
type: import_zod6.z.enum(["audio/pcmu"]).describe("The audio format. Always `audio/pcmu`.")
|
|
@@ -21675,7 +21675,7 @@ var createRealtimeSessionResponse = import_zod6.z.object({
|
|
|
21675
21675
|
format: import_zod6.z.discriminatedUnion("type", [
|
|
21676
21676
|
import_zod6.z.object({
|
|
21677
21677
|
type: import_zod6.z.enum(["audio/pcm"]).describe("The audio format. Always `audio/pcm`."),
|
|
21678
|
-
rate: import_zod6.z.literal(24e3).
|
|
21678
|
+
rate: import_zod6.z.literal(24e3).describe("The sample rate of the audio. Always `24000`.")
|
|
21679
21679
|
}).describe("The PCM audio format. Only a 24kHz sample rate is supported."),
|
|
21680
21680
|
import_zod6.z.object({
|
|
21681
21681
|
type: import_zod6.z.enum(["audio/pcmu"]).describe("The audio format. Always `audio/pcmu`.")
|
|
@@ -21719,7 +21719,7 @@ var createRealtimeSessionResponse = import_zod6.z.object({
|
|
|
21719
21719
|
format: import_zod6.z.discriminatedUnion("type", [
|
|
21720
21720
|
import_zod6.z.object({
|
|
21721
21721
|
type: import_zod6.z.enum(["audio/pcm"]).describe("The audio format. Always `audio/pcm`."),
|
|
21722
|
-
rate: import_zod6.z.literal(24e3).
|
|
21722
|
+
rate: import_zod6.z.literal(24e3).describe("The sample rate of the audio. Always `24000`.")
|
|
21723
21723
|
}).describe("The PCM audio format. Only a 24kHz sample rate is supported."),
|
|
21724
21724
|
import_zod6.z.object({
|
|
21725
21725
|
type: import_zod6.z.enum(["audio/pcmu"]).describe("The audio format. Always `audio/pcmu`.")
|
package/dist/field-configs.mjs
CHANGED
|
@@ -20585,7 +20585,7 @@ var createRealtimeClientSecretBody = zod6.object({
|
|
|
20585
20585
|
format: zod6.discriminatedUnion("type", [
|
|
20586
20586
|
zod6.object({
|
|
20587
20587
|
type: zod6.enum(["audio/pcm"]).describe("The audio format. Always `audio/pcm`."),
|
|
20588
|
-
rate: zod6.literal(24e3).
|
|
20588
|
+
rate: zod6.literal(24e3).describe("The sample rate of the audio. Always `24000`.")
|
|
20589
20589
|
}).describe("The PCM audio format. Only a 24kHz sample rate is supported."),
|
|
20590
20590
|
zod6.object({
|
|
20591
20591
|
type: zod6.enum(["audio/pcmu"]).describe("The audio format. Always `audio/pcmu`.")
|
|
@@ -20684,7 +20684,7 @@ var createRealtimeClientSecretBody = zod6.object({
|
|
|
20684
20684
|
format: zod6.discriminatedUnion("type", [
|
|
20685
20685
|
zod6.object({
|
|
20686
20686
|
type: zod6.enum(["audio/pcm"]).describe("The audio format. Always `audio/pcm`."),
|
|
20687
|
-
rate: zod6.literal(24e3).
|
|
20687
|
+
rate: zod6.literal(24e3).describe("The sample rate of the audio. Always `24000`.")
|
|
20688
20688
|
}).describe("The PCM audio format. Only a 24kHz sample rate is supported."),
|
|
20689
20689
|
zod6.object({
|
|
20690
20690
|
type: zod6.enum(["audio/pcmu"]).describe("The audio format. Always `audio/pcmu`.")
|
|
@@ -20894,7 +20894,7 @@ var createRealtimeClientSecretBody = zod6.object({
|
|
|
20894
20894
|
format: zod6.discriminatedUnion("type", [
|
|
20895
20895
|
zod6.object({
|
|
20896
20896
|
type: zod6.enum(["audio/pcm"]).describe("The audio format. Always `audio/pcm`."),
|
|
20897
|
-
rate: zod6.literal(24e3).
|
|
20897
|
+
rate: zod6.literal(24e3).describe("The sample rate of the audio. Always `24000`.")
|
|
20898
20898
|
}).describe("The PCM audio format. Only a 24kHz sample rate is supported."),
|
|
20899
20899
|
zod6.object({
|
|
20900
20900
|
type: zod6.enum(["audio/pcmu"]).describe("The audio format. Always `audio/pcmu`.")
|
|
@@ -21058,7 +21058,7 @@ var createRealtimeClientSecretResponse = zod6.object({
|
|
|
21058
21058
|
format: zod6.discriminatedUnion("type", [
|
|
21059
21059
|
zod6.object({
|
|
21060
21060
|
type: zod6.enum(["audio/pcm"]).describe("The audio format. Always `audio/pcm`."),
|
|
21061
|
-
rate: zod6.literal(24e3).
|
|
21061
|
+
rate: zod6.literal(24e3).describe("The sample rate of the audio. Always `24000`.")
|
|
21062
21062
|
}).describe("The PCM audio format. Only a 24kHz sample rate is supported."),
|
|
21063
21063
|
zod6.object({
|
|
21064
21064
|
type: zod6.enum(["audio/pcmu"]).describe("The audio format. Always `audio/pcmu`.")
|
|
@@ -21157,7 +21157,7 @@ var createRealtimeClientSecretResponse = zod6.object({
|
|
|
21157
21157
|
format: zod6.discriminatedUnion("type", [
|
|
21158
21158
|
zod6.object({
|
|
21159
21159
|
type: zod6.enum(["audio/pcm"]).describe("The audio format. Always `audio/pcm`."),
|
|
21160
|
-
rate: zod6.literal(24e3).
|
|
21160
|
+
rate: zod6.literal(24e3).describe("The sample rate of the audio. Always `24000`.")
|
|
21161
21161
|
}).describe("The PCM audio format. Only a 24kHz sample rate is supported."),
|
|
21162
21162
|
zod6.object({
|
|
21163
21163
|
type: zod6.enum(["audio/pcmu"]).describe("The audio format. Always `audio/pcmu`.")
|
|
@@ -21376,7 +21376,7 @@ var createRealtimeClientSecretResponse = zod6.object({
|
|
|
21376
21376
|
format: zod6.discriminatedUnion("type", [
|
|
21377
21377
|
zod6.object({
|
|
21378
21378
|
type: zod6.enum(["audio/pcm"]).describe("The audio format. Always `audio/pcm`."),
|
|
21379
|
-
rate: zod6.literal(24e3).
|
|
21379
|
+
rate: zod6.literal(24e3).describe("The sample rate of the audio. Always `24000`.")
|
|
21380
21380
|
}).describe("The PCM audio format. Only a 24kHz sample rate is supported."),
|
|
21381
21381
|
zod6.object({
|
|
21382
21382
|
type: zod6.enum(["audio/pcmu"]).describe("The audio format. Always `audio/pcmu`.")
|
|
@@ -21600,7 +21600,7 @@ var createRealtimeSessionResponse = zod6.object({
|
|
|
21600
21600
|
format: zod6.discriminatedUnion("type", [
|
|
21601
21601
|
zod6.object({
|
|
21602
21602
|
type: zod6.enum(["audio/pcm"]).describe("The audio format. Always `audio/pcm`."),
|
|
21603
|
-
rate: zod6.literal(24e3).
|
|
21603
|
+
rate: zod6.literal(24e3).describe("The sample rate of the audio. Always `24000`.")
|
|
21604
21604
|
}).describe("The PCM audio format. Only a 24kHz sample rate is supported."),
|
|
21605
21605
|
zod6.object({
|
|
21606
21606
|
type: zod6.enum(["audio/pcmu"]).describe("The audio format. Always `audio/pcmu`.")
|
|
@@ -21644,7 +21644,7 @@ var createRealtimeSessionResponse = zod6.object({
|
|
|
21644
21644
|
format: zod6.discriminatedUnion("type", [
|
|
21645
21645
|
zod6.object({
|
|
21646
21646
|
type: zod6.enum(["audio/pcm"]).describe("The audio format. Always `audio/pcm`."),
|
|
21647
|
-
rate: zod6.literal(24e3).
|
|
21647
|
+
rate: zod6.literal(24e3).describe("The sample rate of the audio. Always `24000`.")
|
|
21648
21648
|
}).describe("The PCM audio format. Only a 24kHz sample rate is supported."),
|
|
21649
21649
|
zod6.object({
|
|
21650
21650
|
type: zod6.enum(["audio/pcmu"]).describe("The audio format. Always `audio/pcmu`.")
|