telnyx 6.69.0 → 6.71.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.
Files changed (93) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/client.d.mts +15 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +15 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js +12 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +12 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/calls/actions.d.mts +264 -251
  12. package/resources/calls/actions.d.mts.map +1 -1
  13. package/resources/calls/actions.d.ts +264 -251
  14. package/resources/calls/actions.d.ts.map +1 -1
  15. package/resources/calls/actions.js.map +1 -1
  16. package/resources/calls/actions.mjs.map +1 -1
  17. package/resources/calls/calls.d.mts +210 -3
  18. package/resources/calls/calls.d.mts.map +1 -1
  19. package/resources/calls/calls.d.ts +210 -3
  20. package/resources/calls/calls.d.ts.map +1 -1
  21. package/resources/calls/calls.js.map +1 -1
  22. package/resources/calls/calls.mjs.map +1 -1
  23. package/resources/calls/index.d.mts +2 -2
  24. package/resources/calls/index.d.mts.map +1 -1
  25. package/resources/calls/index.d.ts +2 -2
  26. package/resources/calls/index.d.ts.map +1 -1
  27. package/resources/calls/index.js.map +1 -1
  28. package/resources/calls/index.mjs.map +1 -1
  29. package/resources/conferences/actions.d.mts +3 -11
  30. package/resources/conferences/actions.d.mts.map +1 -1
  31. package/resources/conferences/actions.d.ts +3 -11
  32. package/resources/conferences/actions.d.ts.map +1 -1
  33. package/resources/index.d.mts +3 -1
  34. package/resources/index.d.mts.map +1 -1
  35. package/resources/index.d.ts +3 -1
  36. package/resources/index.d.ts.map +1 -1
  37. package/resources/index.js +6 -2
  38. package/resources/index.js.map +1 -1
  39. package/resources/index.mjs +2 -0
  40. package/resources/index.mjs.map +1 -1
  41. package/resources/shared.d.mts +6 -0
  42. package/resources/shared.d.mts.map +1 -1
  43. package/resources/shared.d.ts +6 -0
  44. package/resources/shared.d.ts.map +1 -1
  45. package/resources/speech-to-text.d.mts +81 -0
  46. package/resources/speech-to-text.d.mts.map +1 -0
  47. package/resources/speech-to-text.d.ts +81 -0
  48. package/resources/speech-to-text.d.ts.map +1 -0
  49. package/resources/speech-to-text.js +36 -0
  50. package/resources/speech-to-text.js.map +1 -0
  51. package/resources/speech-to-text.mjs +32 -0
  52. package/resources/speech-to-text.mjs.map +1 -0
  53. package/resources/voice-sdk-call-reports.d.mts +363 -0
  54. package/resources/voice-sdk-call-reports.d.mts.map +1 -0
  55. package/resources/voice-sdk-call-reports.d.ts +363 -0
  56. package/resources/voice-sdk-call-reports.d.ts.map +1 -0
  57. package/resources/voice-sdk-call-reports.js +30 -0
  58. package/resources/voice-sdk-call-reports.js.map +1 -0
  59. package/resources/voice-sdk-call-reports.mjs +26 -0
  60. package/resources/voice-sdk-call-reports.mjs.map +1 -0
  61. package/resources/whatsapp/index.d.mts +1 -1
  62. package/resources/whatsapp/index.d.mts.map +1 -1
  63. package/resources/whatsapp/index.d.ts +1 -1
  64. package/resources/whatsapp/index.d.ts.map +1 -1
  65. package/resources/whatsapp/index.js.map +1 -1
  66. package/resources/whatsapp/index.mjs.map +1 -1
  67. package/resources/whatsapp/user-data.d.mts +16 -33
  68. package/resources/whatsapp/user-data.d.mts.map +1 -1
  69. package/resources/whatsapp/user-data.d.ts +16 -33
  70. package/resources/whatsapp/user-data.d.ts.map +1 -1
  71. package/resources/whatsapp/whatsapp.d.mts +2 -2
  72. package/resources/whatsapp/whatsapp.d.mts.map +1 -1
  73. package/resources/whatsapp/whatsapp.d.ts +2 -2
  74. package/resources/whatsapp/whatsapp.d.ts.map +1 -1
  75. package/resources/whatsapp/whatsapp.js.map +1 -1
  76. package/resources/whatsapp/whatsapp.mjs.map +1 -1
  77. package/src/client.ts +43 -0
  78. package/src/resources/calls/actions.ts +335 -324
  79. package/src/resources/calls/calls.ts +272 -0
  80. package/src/resources/calls/index.ts +4 -0
  81. package/src/resources/conferences/actions.ts +3 -12
  82. package/src/resources/index.ts +15 -0
  83. package/src/resources/shared.ts +7 -0
  84. package/src/resources/speech-to-text.ts +114 -0
  85. package/src/resources/voice-sdk-call-reports.ts +415 -0
  86. package/src/resources/whatsapp/index.ts +1 -0
  87. package/src/resources/whatsapp/user-data.ts +17 -38
  88. package/src/resources/whatsapp/whatsapp.ts +2 -0
  89. package/src/version.ts +1 -1
  90. package/version.d.mts +1 -1
  91. package/version.d.ts +1 -1
  92. package/version.js +1 -1
  93. package/version.mjs +1 -1
@@ -1,4 +1,5 @@
1
1
  import { APIResource } from "../../core/resource.mjs";
2
+ import * as ActionsAPI from "./actions.mjs";
2
3
  import * as Shared from "../shared.mjs";
3
4
  import * as CallsAPI from "./calls.mjs";
4
5
  import * as AssistantsAPI from "../ai/assistants/assistants.mjs";
@@ -1028,6 +1029,55 @@ export declare namespace TranscriptionEngineGoogleConfig {
1028
1029
  phrases?: Array<string>;
1029
1030
  }
1030
1031
  }
1032
+ export interface TranscriptionEngineSonioxConfig {
1033
+ /**
1034
+ * Engine identifier for Soniox transcription service
1035
+ */
1036
+ transcription_engine: 'Soniox';
1037
+ /**
1038
+ * When true, Soniox emits end-of-utterance events at the cadence configured by
1039
+ * `max_endpoint_delay_ms`.
1040
+ */
1041
+ enable_endpoint_detection?: boolean;
1042
+ /**
1043
+ * Whether to send also interim results. If set to false, only final results will
1044
+ * be sent.
1045
+ */
1046
+ interim_results?: boolean;
1047
+ /**
1048
+ * ISO 639-1 language hint (e.g. `en`, `es`), or `auto` to omit the hint and let
1049
+ * Soniox auto-detect supported languages multilingually.
1050
+ */
1051
+ language?: string;
1052
+ /**
1053
+ * Maximum silence (in milliseconds) before Soniox emits an end-of-utterance event.
1054
+ * Only honored when `enable_endpoint_detection` is true. Range: 500-3000 ms.
1055
+ */
1056
+ max_endpoint_delay_ms?: number;
1057
+ /**
1058
+ * The model to use for transcription.
1059
+ */
1060
+ transcription_model?: 'soniox/stt-rt-v4';
1061
+ }
1062
+ export interface TranscriptionEngineSpeechmaticsConfig {
1063
+ /**
1064
+ * Whether to send also interim results. If set to false, only final results will
1065
+ * be sent.
1066
+ */
1067
+ interim_results?: boolean;
1068
+ /**
1069
+ * Language to use for speech recognition
1070
+ */
1071
+ language?: 'en' | 'ba' | 'eu' | 'gl' | 'ga' | 'mt' | 'mn' | 'sw' | 'ug' | 'cy' | 'ar_en' | 'cmn_en' | 'en_ms' | 'en_ta' | 'tl' | 'es-bilingual-en' | 'cmn_en_ms_ta';
1072
+ /**
1073
+ * Engine identifier for Speechmatics transcription service
1074
+ */
1075
+ transcription_engine?: 'Speechmatics';
1076
+ /**
1077
+ * The model to use for transcription.
1078
+ */
1079
+ transcription_model?: 'speechmatics/standard';
1080
+ }
1031
1081
  export interface TranscriptionEngineTelnyxConfig {
1032
1082
  /**
1033
1083
  * Language to use for speech recognition
@@ -1077,7 +1127,7 @@ export interface TranscriptionStartRequest {
1077
1127
  * `Telnyx` are supported for backward compatibility.
1078
1128
  */
1079
1129
  transcription_engine?: 'Google' | 'Telnyx' | 'Deepgram' | 'Azure' | 'xAI' | 'AssemblyAI' | 'Speechmatics' | 'Soniox' | 'A' | 'B';
1080
- transcription_engine_config?: TranscriptionEngineGoogleConfig | TranscriptionEngineTelnyxConfig | TranscriptionEngineAzureConfig | TranscriptionEngineXaiConfig | TranscriptionEngineAssemblyaiConfig | TranscriptionStartRequest.TranscriptionEngineSpeechmaticsConfig | TranscriptionStartRequest.TranscriptionEngineSonioxConfig | TranscriptionEngineAConfig | TranscriptionEngineBConfig | DeepgramNova2Config | DeepgramNova3Config;
1130
+ transcription_engine_config?: TranscriptionEngineGoogleConfig | TranscriptionEngineTelnyxConfig | TranscriptionEngineAzureConfig | TranscriptionEngineXaiConfig | TranscriptionEngineAssemblyaiConfig | TranscriptionEngineSpeechmaticsConfig | TranscriptionEngineSonioxConfig | TranscriptionEngineAConfig | TranscriptionEngineBConfig | DeepgramNova2Config | DeepgramNova3Config;
1081
1131
  /**
1082
1132
  * Indicates which leg of the call will be transcribed. Use `inbound` for the leg
1083
1133
  * that requested the transcription, `outbound` for the other leg, and `both` for
@@ -1085,57 +1135,6 @@ export interface TranscriptionStartRequest {
1085
1135
  */
1086
1136
  transcription_tracks?: string;
1087
1137
  }
1088
- export declare namespace TranscriptionStartRequest {
1089
- interface TranscriptionEngineSpeechmaticsConfig {
1090
- /**
1091
- * Whether to send also interim results. If set to false, only final results will
1092
- * be sent.
1093
- */
1094
- interim_results?: boolean;
1095
- /**
1096
- * Language to use for speech recognition
1097
- */
1098
- language?: 'en' | 'ba' | 'eu' | 'gl' | 'ga' | 'mt' | 'mn' | 'sw' | 'ug' | 'cy' | 'ar_en' | 'cmn_en' | 'en_ms' | 'en_ta' | 'tl' | 'es-bilingual-en' | 'cmn_en_ms_ta';
1099
- /**
1100
- * Engine identifier for Speechmatics transcription service
1101
- */
1102
- transcription_engine?: 'Speechmatics';
1103
- /**
1104
- * The model to use for transcription.
1105
- */
1106
- transcription_model?: 'speechmatics/standard';
1107
- }
1108
- interface TranscriptionEngineSonioxConfig {
1109
- /**
1110
- * Engine identifier for Soniox transcription service
1111
- */
1112
- transcription_engine: 'Soniox';
1113
- /**
1114
- * When true, Soniox emits end-of-utterance events at the cadence configured by
1115
- * `max_endpoint_delay_ms`.
1116
- */
1117
- enable_endpoint_detection?: boolean;
1118
- /**
1119
- * Whether to send also interim results. If set to false, only final results will
1120
- * be sent.
1121
- */
1122
- interim_results?: boolean;
1123
- /**
1124
- * ISO 639-1 language hint (e.g. `en`, `es`), or `auto` to omit the hint and let
1125
- * Soniox auto-detect supported languages multilingually.
1126
- */
1127
- language?: string;
1128
- /**
1129
- * Maximum silence (in milliseconds) before Soniox emits an end-of-utterance event.
1130
- * Only honored when `enable_endpoint_detection` is true. Range: 500-3000 ms.
1131
- */
1132
- max_endpoint_delay_ms?: number;
1133
- /**
1134
- * The model to use for transcription.
1135
- */
1136
- transcription_model?: 'soniox/stt-rt-v4';
1137
- }
1138
- }
1139
1138
  export interface ActionAddAIAssistantMessagesResponse {
1140
1139
  data?: CallControlCommandResult;
1141
1140
  }
@@ -1447,6 +1446,15 @@ export interface ActionAnswerParams {
1447
1446
  * the same `command_id` for the same `call_control_id`.
1448
1447
  */
1449
1448
  command_id?: string;
1449
+ /**
1450
+ * Starts a Conversation Relay session automatically when the answered/dialed call
1451
+ * is answered. This embedded shape is supported on `answer` and `dial`. It uses
1452
+ * public field names (`url`, `dtmf_detection`, `greeting`, `voice`, `language`,
1453
+ * etc.) and maps them to the underlying Conversation Relay action. `client_state`,
1454
+ * `tts_language`, and `transcription_language` inside this object are ignored; use
1455
+ * the parent command's `client_state` and `command_id` fields instead.
1456
+ */
1457
+ conversation_relay_config?: ActionAnswerParams.ConversationRelayConfig;
1450
1458
  /**
1451
1459
  * Custom headers to be added to the SIP INVITE response.
1452
1460
  */
@@ -1581,6 +1589,126 @@ export interface ActionAnswerParams {
1581
1589
  webhook_urls_method?: 'POST' | 'GET';
1582
1590
  }
1583
1591
  export declare namespace ActionAnswerParams {
1592
+ /**
1593
+ * Starts a Conversation Relay session automatically when the answered/dialed call
1594
+ * is answered. This embedded shape is supported on `answer` and `dial`. It uses
1595
+ * public field names (`url`, `dtmf_detection`, `greeting`, `voice`, `language`,
1596
+ * etc.) and maps them to the underlying Conversation Relay action. `client_state`,
1597
+ * `tts_language`, and `transcription_language` inside this object are ignored; use
1598
+ * the parent command's `client_state` and `command_id` fields instead.
1599
+ */
1600
+ interface ConversationRelayConfig {
1601
+ /**
1602
+ * WebSocket URL for your Conversation Relay server. Must start with `ws://` or
1603
+ * `wss://`.
1604
+ */
1605
+ url: string;
1606
+ /**
1607
+ * Custom key-value parameters forwarded to the relay session as assistant dynamic
1608
+ * variables.
1609
+ */
1610
+ custom_parameters?: {
1611
+ [key: string]: unknown;
1612
+ };
1613
+ /**
1614
+ * Enable DTMF detection for the relay session.
1615
+ */
1616
+ dtmf_detection?: boolean;
1617
+ /**
1618
+ * Text played when the relay session starts.
1619
+ */
1620
+ greeting?: string;
1621
+ /**
1622
+ * Controls when caller input can interrupt assistant speech. `any` allows speech
1623
+ * or DTMF interruptions; `none` disables interruptions; `speech` allows speech
1624
+ * only; `dtmf` allows DTMF only.
1625
+ */
1626
+ interruptible?: 'none' | 'any' | 'speech' | 'dtmf';
1627
+ /**
1628
+ * Controls when caller input can interrupt assistant speech. `any` allows speech
1629
+ * or DTMF interruptions; `none` disables interruptions; `speech` allows speech
1630
+ * only; `dtmf` allows DTMF only.
1631
+ */
1632
+ interruptible_greeting?: 'none' | 'any' | 'speech' | 'dtmf';
1633
+ /**
1634
+ * Settings for handling caller interruptions during Conversation Relay speech.
1635
+ */
1636
+ interruption_settings?: CallsAPI.ConversationRelayInterruptionSettings;
1637
+ /**
1638
+ * Default language for both text-to-speech and speech recognition.
1639
+ */
1640
+ language?: string;
1641
+ /**
1642
+ * Per-language TTS and transcription settings.
1643
+ */
1644
+ languages?: Array<CallsAPI.ConversationRelayLanguage>;
1645
+ /**
1646
+ * Structured voice provider. Must be supplied together with `structured_provider`.
1647
+ */
1648
+ provider?: string;
1649
+ /**
1650
+ * Provider-specific structured voice settings. Must be supplied together with
1651
+ * `provider`; Telnyx sends the value as the nested provider configuration for
1652
+ * Conversation Relay.
1653
+ */
1654
+ structured_provider?: {
1655
+ [key: string]: unknown;
1656
+ };
1657
+ /**
1658
+ * Engine to use for speech recognition. Legacy values `A` - `Google`, `B` -
1659
+ * `Telnyx` are supported for backward compatibility. For Conversation Relay, use
1660
+ * this field with `transcription_engine_config`; the `transcription` object is not
1661
+ * supported.
1662
+ */
1663
+ transcription_engine?: 'Google' | 'Telnyx' | 'Deepgram' | 'Azure' | 'xAI' | 'AssemblyAI' | 'Speechmatics' | 'Soniox' | 'A' | 'B';
1664
+ /**
1665
+ * Engine-specific transcription settings for Conversation Relay. This accepts the
1666
+ * same provider-specific options used by the Call Transcription Start command,
1667
+ * such as `transcription_model`, without requiring the engine discriminator to be
1668
+ * repeated inside this object.
1669
+ */
1670
+ transcription_engine_config?: {
1671
+ [key: string]: unknown;
1672
+ };
1673
+ /**
1674
+ * Text-to-speech provider. If omitted, Telnyx derives it from `voice` or
1675
+ * `provider`.
1676
+ */
1677
+ tts_provider?: string;
1678
+ /**
1679
+ * The voice to be used by the voice assistant. Currently we support ElevenLabs,
1680
+ * Telnyx and AWS voices.
1681
+ *
1682
+ * **Supported Providers:**
1683
+ *
1684
+ * - **AWS:** Use `AWS.Polly.<VoiceId>` (e.g., `AWS.Polly.Joanna`). For neural
1685
+ * voices, which provide more realistic, human-like speech, append `-Neural` to
1686
+ * the `VoiceId` (e.g., `AWS.Polly.Joanna-Neural`). Check the
1687
+ * [available voices](https://docs.aws.amazon.com/polly/latest/dg/available-voices.html)
1688
+ * for compatibility.
1689
+ * - **Azure:** Use `Azure.<VoiceId>. (e.g. Azure.en-CA-ClaraNeural,
1690
+ * Azure.en-CA-LiamNeural, Azure.en-US-BrianMultilingualNeural,
1691
+ * Azure.en-US-Ava:DragonHDLatestNeural. For a complete list of voices, go to
1692
+ * [Azure Voice Gallery](https://speech.microsoft.com/portal/voicegallery).)
1693
+ * - **ElevenLabs:** Use `ElevenLabs.<ModelId>.<VoiceId>` (e.g.,
1694
+ * `ElevenLabs.BaseModel.John`). The `ModelId` part is optional. To use
1695
+ * ElevenLabs, you must provide your ElevenLabs API key as an integration secret
1696
+ * under `"voice_settings": {"api_key_ref": "<secret_id>"}`. See
1697
+ * [integration secrets documentation](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
1698
+ * for details. Check
1699
+ * [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
1700
+ * - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
1701
+ * - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
1702
+ * `Inworld.Max.Oliver`). Supported models: `Mini`, `Max`.
1703
+ * - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
1704
+ * `ara`, `rex`, `sal`, `leo`.
1705
+ */
1706
+ voice?: string;
1707
+ /**
1708
+ * The settings associated with the voice selected
1709
+ */
1710
+ voice_settings?: ActionsAPI.ElevenLabsVoiceSettings | ActionsAPI.TelnyxVoiceSettings | ActionsAPI.AwsVoiceSettings | Shared.MinimaxVoiceSettings | Shared.AzureVoiceSettings | Shared.RimeVoiceSettings | Shared.ResembleVoiceSettings | Shared.InworldVoiceSettings | Shared.XaiVoiceSettings;
1711
+ }
1584
1712
  /**
1585
1713
  * Enables deepfake detection on the call. When enabled, audio from the remote
1586
1714
  * party is streamed to a detection service that analyzes whether the voice is
@@ -2028,8 +2156,8 @@ export interface ActionGatherUsingSpeakParams {
2028
2156
  * `speech-02-hd`, `speech-2.6-turbo`, `speech-2.8-turbo`. Use `voice_settings`
2029
2157
  * to configure speed, volume, pitch, and language_boost.
2030
2158
  * - **Rime:** Use `Rime.<model_id>.<voice_id>` (e.g., `Rime.Arcana.cove`).
2031
- * Supported model_ids: `Arcana`, `Mist`. Use `voice_settings` to configure
2032
- * voice_speed.
2159
+ * Supported model_ids: `Arcana`, `Mist`, `ArcanaV3`, `Coda`. Use
2160
+ * `voice_settings` to configure voice_speed.
2033
2161
  * - **Resemble:** Use `Resemble.Turbo.<voice_id>` (e.g.,
2034
2162
  * `Resemble.Turbo.my_voice`). Only `Turbo` model is supported. Use
2035
2163
  * `voice_settings` to configure precision, sample_rate, and format.
@@ -2108,15 +2236,7 @@ export interface ActionGatherUsingSpeakParams {
2108
2236
  /**
2109
2237
  * The settings associated with the voice selected
2110
2238
  */
2111
- voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.MinimaxVoiceSettings | Shared.AzureVoiceSettings | Shared.RimeVoiceSettings | Shared.ResembleVoiceSettings | ActionGatherUsingSpeakParams.InworldVoiceSettings | Shared.XaiVoiceSettings;
2112
- }
2113
- export declare namespace ActionGatherUsingSpeakParams {
2114
- interface InworldVoiceSettings {
2115
- /**
2116
- * Voice settings provider type
2117
- */
2118
- type: 'inworld';
2119
- }
2239
+ voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.MinimaxVoiceSettings | Shared.AzureVoiceSettings | Shared.RimeVoiceSettings | Shared.ResembleVoiceSettings | Shared.InworldVoiceSettings | Shared.XaiVoiceSettings;
2120
2240
  }
2121
2241
  export interface ActionHangupParams {
2122
2242
  /**
@@ -2346,8 +2466,8 @@ export interface ActionSpeakParams {
2346
2466
  * `speech-02-hd`, `speech-2.6-turbo`, `speech-2.8-turbo`. Use `voice_settings`
2347
2467
  * to configure speed, volume, pitch, and language_boost.
2348
2468
  * - **Rime:** Use `Rime.<model_id>.<voice_id>` (e.g., `Rime.Arcana.cove`).
2349
- * Supported model_ids: `Arcana`, `Mist`. Use `voice_settings` to configure
2350
- * voice_speed.
2469
+ * Supported model_ids: `Arcana`, `Mist`, `ArcanaV3`, `Coda`. Use
2470
+ * `voice_settings` to configure voice_speed.
2351
2471
  * - **Resemble:** Use `Resemble.Turbo.<voice_id>` (e.g.,
2352
2472
  * `Resemble.Turbo.my_voice`). Only `Turbo` model is supported. Use
2353
2473
  * `voice_settings` to configure precision, sample_rate, and format.
@@ -2404,15 +2524,7 @@ export interface ActionSpeakParams {
2404
2524
  /**
2405
2525
  * The settings associated with the voice selected
2406
2526
  */
2407
- voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.MinimaxVoiceSettings | Shared.AzureVoiceSettings | Shared.RimeVoiceSettings | Shared.ResembleVoiceSettings | ActionSpeakParams.InworldVoiceSettings | Shared.XaiVoiceSettings;
2408
- }
2409
- export declare namespace ActionSpeakParams {
2410
- interface InworldVoiceSettings {
2411
- /**
2412
- * Voice settings provider type
2413
- */
2414
- type: 'inworld';
2415
- }
2527
+ voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.MinimaxVoiceSettings | Shared.AzureVoiceSettings | Shared.RimeVoiceSettings | Shared.ResembleVoiceSettings | Shared.InworldVoiceSettings | Shared.XaiVoiceSettings;
2416
2528
  }
2417
2529
  export interface ActionStartAIAssistantParams {
2418
2530
  /**
@@ -2669,12 +2781,9 @@ export interface ActionStartConversationRelayParams {
2669
2781
  */
2670
2782
  conversation_relay_dtmf_detection?: boolean;
2671
2783
  /**
2672
- * Conversation Relay connection settings. This object is used by TeXML Call
2673
- * Scripting's `<ConversationRelay>` verb. The `interruptible` and
2674
- * `interruptible_greeting` fields are shorthand for
2675
- * `interruption_settings.interruptible` and
2676
- * `interruption_settings.interruptible_greeting`; use top-level
2677
- * `interruption_settings` for the full interruption settings shape.
2784
+ * Conversation Relay connection settings. This object can provide `url`,
2785
+ * `dtmf_detection`, `interruptible`, `interruptible_greeting`, and `languages`.
2786
+ * Top-level aliases override nested values when both are present.
2678
2787
  */
2679
2788
  conversation_relay_settings?: ActionStartConversationRelayParams.ConversationRelaySettings;
2680
2789
  /**
@@ -2682,38 +2791,93 @@ export interface ActionStartConversationRelayParams {
2682
2791
  * `wss://`.
2683
2792
  */
2684
2793
  conversation_relay_url?: string;
2794
+ /**
2795
+ * Custom key-value parameters forwarded to the relay session as
2796
+ * `assistant.dynamic_variables`. If `assistant.dynamic_variables` is also present,
2797
+ * these values are merged in.
2798
+ */
2799
+ custom_parameters?: {
2800
+ [key: string]: unknown;
2801
+ };
2802
+ /**
2803
+ * Public alias for `conversation_relay_dtmf_detection`. If both are present, this
2804
+ * value wins.
2805
+ */
2806
+ dtmf_detection?: boolean;
2685
2807
  /**
2686
2808
  * Text played when the relay session starts.
2687
2809
  */
2688
2810
  greeting?: string;
2811
+ /**
2812
+ * Controls when caller input can interrupt assistant speech. `any` allows speech
2813
+ * or DTMF interruptions; `none` disables interruptions; `speech` allows speech
2814
+ * only; `dtmf` allows DTMF only.
2815
+ */
2816
+ interruptible?: 'none' | 'any' | 'speech' | 'dtmf';
2817
+ /**
2818
+ * Controls when caller input can interrupt assistant speech. `any` allows speech
2819
+ * or DTMF interruptions; `none` disables interruptions; `speech` allows speech
2820
+ * only; `dtmf` allows DTMF only.
2821
+ */
2822
+ interruptible_greeting?: 'none' | 'any' | 'speech' | 'dtmf';
2689
2823
  /**
2690
2824
  * Settings for handling caller interruptions during Conversation Relay speech.
2691
2825
  */
2692
- interruption_settings?: ActionStartConversationRelayParams.InterruptionSettings;
2826
+ interruption_settings?: CallsAPI.ConversationRelayInterruptionSettings;
2693
2827
  /**
2694
2828
  * Default language for the relay session. This value is used for both
2695
- * text-to-speech and speech recognition unless `tts_language` or
2696
- * `transcription_language` are provided.
2829
+ * text-to-speech and speech recognition.
2697
2830
  */
2698
2831
  language?: string;
2699
2832
  /**
2700
- * Language-specific TTS and transcription settings. Use this when the relay
2701
- * session needs per-language provider, voice, or speech model configuration.
2833
+ * Per-language TTS and transcription settings.
2834
+ */
2835
+ languages?: Array<CallsAPI.ConversationRelayLanguage>;
2836
+ /**
2837
+ * Structured voice provider. Must be supplied together with `structured_provider`.
2838
+ */
2839
+ provider?: string;
2840
+ /**
2841
+ * Provider-specific structured voice settings. Must be supplied together with
2842
+ * `provider`; Telnyx sends the value as the nested provider configuration for
2843
+ * Conversation Relay.
2702
2844
  */
2703
- languages?: Array<ActionStartConversationRelayParams.Language>;
2845
+ structured_provider?: {
2846
+ [key: string]: unknown;
2847
+ };
2704
2848
  /**
2705
- * Speech-to-text settings for Conversation Relay.
2849
+ * @deprecated Not supported for Conversation Relay start requests. Use
2850
+ * `transcription_engine` and `transcription_engine_config` instead.
2706
2851
  */
2707
- transcription?: ActionStartConversationRelayParams.Transcription;
2852
+ transcription?: {
2853
+ [key: string]: unknown;
2854
+ };
2855
+ /**
2856
+ * Engine to use for speech recognition. Legacy values `A` - `Google`, `B` -
2857
+ * `Telnyx` are supported for backward compatibility. For Conversation Relay, use
2858
+ * this field with `transcription_engine_config`; the `transcription` object is not
2859
+ * supported.
2860
+ */
2861
+ transcription_engine?: 'Google' | 'Telnyx' | 'Deepgram' | 'Azure' | 'xAI' | 'AssemblyAI' | 'Speechmatics' | 'Soniox' | 'A' | 'B';
2862
+ /**
2863
+ * Engine-specific transcription settings for Conversation Relay. This accepts the
2864
+ * same provider-specific options used by the Call Transcription Start command,
2865
+ * such as `transcription_model`, without requiring the engine discriminator to be
2866
+ * repeated inside this object.
2867
+ */
2868
+ transcription_engine_config?: {
2869
+ [key: string]: unknown;
2870
+ };
2708
2871
  /**
2709
- * Language to use for speech recognition. Overrides `language` for transcription
2710
- * when provided.
2872
+ * Text-to-speech provider. If omitted, Telnyx derives it from `voice` or
2873
+ * `provider`.
2711
2874
  */
2712
- transcription_language?: string;
2875
+ tts_provider?: string;
2713
2876
  /**
2714
- * Language to use for text-to-speech. Overrides `language` for TTS when provided.
2877
+ * Public alias for `conversation_relay_url`. Must start with `ws://` or `wss://`.
2878
+ * If both are present, this value wins.
2715
2879
  */
2716
- tts_language?: string;
2880
+ url?: string;
2717
2881
  /**
2718
2882
  * The voice to be used by the voice assistant. Currently we support ElevenLabs,
2719
2883
  * Telnyx and AWS voices.
@@ -2746,7 +2910,7 @@ export interface ActionStartConversationRelayParams {
2746
2910
  /**
2747
2911
  * The settings associated with the voice selected
2748
2912
  */
2749
- voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.AzureVoiceSettings | Shared.RimeVoiceSettings | Shared.ResembleVoiceSettings | Shared.XaiVoiceSettings;
2913
+ voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.MinimaxVoiceSettings | Shared.AzureVoiceSettings | Shared.RimeVoiceSettings | Shared.ResembleVoiceSettings | Shared.InworldVoiceSettings | Shared.XaiVoiceSettings;
2750
2914
  }
2751
2915
  export declare namespace ActionStartConversationRelayParams {
2752
2916
  /**
@@ -2763,12 +2927,9 @@ export declare namespace ActionStartConversationRelayParams {
2763
2927
  [k: string]: unknown;
2764
2928
  }
2765
2929
  /**
2766
- * Conversation Relay connection settings. This object is used by TeXML Call
2767
- * Scripting's `<ConversationRelay>` verb. The `interruptible` and
2768
- * `interruptible_greeting` fields are shorthand for
2769
- * `interruption_settings.interruptible` and
2770
- * `interruption_settings.interruptible_greeting`; use top-level
2771
- * `interruption_settings` for the full interruption settings shape.
2930
+ * Conversation Relay connection settings. This object can provide `url`,
2931
+ * `dtmf_detection`, `interruptible`, `interruptible_greeting`, and `languages`.
2932
+ * Top-level aliases override nested values when both are present.
2772
2933
  */
2773
2934
  interface ConversationRelaySettings {
2774
2935
  /**
@@ -2795,104 +2956,7 @@ export declare namespace ActionStartConversationRelayParams {
2795
2956
  /**
2796
2957
  * Language-specific TTS and transcription settings.
2797
2958
  */
2798
- languages?: Array<ConversationRelaySettings.Language>;
2799
- }
2800
- namespace ConversationRelaySettings {
2801
- /**
2802
- * Language-specific speech and transcription settings for Conversation Relay.
2803
- */
2804
- interface Language {
2805
- /**
2806
- * BCP 47 language code.
2807
- */
2808
- code?: string;
2809
- /**
2810
- * Speech recognition model for this language.
2811
- */
2812
- speech_model?: string;
2813
- /**
2814
- * Speech-to-text provider for this language.
2815
- */
2816
- transcription_provider?: string;
2817
- /**
2818
- * Text-to-speech provider for this language.
2819
- */
2820
- tts_provider?: string;
2821
- /**
2822
- * Voice identifier for this language.
2823
- */
2824
- voice?: string;
2825
- }
2826
- }
2827
- /**
2828
- * Settings for handling caller interruptions during Conversation Relay speech.
2829
- */
2830
- interface InterruptionSettings {
2831
- /**
2832
- * Legacy boolean form. `true` is equivalent to `interruptible=any`; `false` is
2833
- * equivalent to `interruptible=none`.
2834
- */
2835
- enable?: boolean;
2836
- /**
2837
- * Controls when caller input can interrupt assistant speech. `any` allows speech
2838
- * or DTMF interruptions; `none` disables interruptions; `speech` allows speech
2839
- * only; `dtmf` allows DTMF only.
2840
- */
2841
- interruptible?: 'none' | 'any' | 'speech' | 'dtmf';
2842
- /**
2843
- * Controls when caller input can interrupt assistant speech. `any` allows speech
2844
- * or DTMF interruptions; `none` disables interruptions; `speech` allows speech
2845
- * only; `dtmf` allows DTMF only.
2846
- */
2847
- interruptible_greeting?: 'none' | 'any' | 'speech' | 'dtmf';
2848
- /**
2849
- * Controls when caller input can interrupt assistant speech. `any` allows speech
2850
- * or DTMF interruptions; `none` disables interruptions; `speech` allows speech
2851
- * only; `dtmf` allows DTMF only.
2852
- */
2853
- welcome_greeting_interruptible?: 'none' | 'any' | 'speech' | 'dtmf';
2854
- }
2855
- /**
2856
- * Language-specific speech and transcription settings for Conversation Relay.
2857
- */
2858
- interface Language {
2859
- /**
2860
- * BCP 47 language code.
2861
- */
2862
- code?: string;
2863
- /**
2864
- * Speech recognition model for this language.
2865
- */
2866
- speech_model?: string;
2867
- /**
2868
- * Speech-to-text provider for this language.
2869
- */
2870
- transcription_provider?: string;
2871
- /**
2872
- * Text-to-speech provider for this language.
2873
- */
2874
- tts_provider?: string;
2875
- /**
2876
- * Voice identifier for this language.
2877
- */
2878
- voice?: string;
2879
- }
2880
- /**
2881
- * Speech-to-text settings for Conversation Relay.
2882
- */
2883
- interface Transcription {
2884
- /**
2885
- * Transcription language.
2886
- */
2887
- language?: string;
2888
- /**
2889
- * Transcription model to use.
2890
- */
2891
- model?: string;
2892
- /**
2893
- * Transcription provider to use.
2894
- */
2895
- provider?: string;
2959
+ languages?: Array<CallsAPI.ConversationRelayLanguage>;
2896
2960
  }
2897
2961
  }
2898
2962
  export interface ActionStartForkingParams {
@@ -3265,7 +3329,7 @@ export interface ActionStartTranscriptionParams {
3265
3329
  * `Telnyx` are supported for backward compatibility.
3266
3330
  */
3267
3331
  transcription_engine?: 'Google' | 'Telnyx' | 'Deepgram' | 'Azure' | 'xAI' | 'AssemblyAI' | 'Speechmatics' | 'Soniox' | 'A' | 'B';
3268
- transcription_engine_config?: TranscriptionEngineGoogleConfig | TranscriptionEngineTelnyxConfig | TranscriptionEngineAzureConfig | TranscriptionEngineXaiConfig | TranscriptionEngineAssemblyaiConfig | ActionStartTranscriptionParams.TranscriptionEngineSpeechmaticsConfig | ActionStartTranscriptionParams.TranscriptionEngineSonioxConfig | TranscriptionEngineAConfig | TranscriptionEngineBConfig | DeepgramNova2Config | DeepgramNova3Config;
3332
+ transcription_engine_config?: TranscriptionEngineGoogleConfig | TranscriptionEngineTelnyxConfig | TranscriptionEngineAzureConfig | TranscriptionEngineXaiConfig | TranscriptionEngineAssemblyaiConfig | TranscriptionEngineSpeechmaticsConfig | TranscriptionEngineSonioxConfig | TranscriptionEngineAConfig | TranscriptionEngineBConfig | DeepgramNova2Config | DeepgramNova3Config;
3269
3333
  /**
3270
3334
  * Indicates which leg of the call will be transcribed. Use `inbound` for the leg
3271
3335
  * that requested the transcription, `outbound` for the other leg, and `both` for
@@ -3273,57 +3337,6 @@ export interface ActionStartTranscriptionParams {
3273
3337
  */
3274
3338
  transcription_tracks?: string;
3275
3339
  }
3276
- export declare namespace ActionStartTranscriptionParams {
3277
- interface TranscriptionEngineSpeechmaticsConfig {
3278
- /**
3279
- * Whether to send also interim results. If set to false, only final results will
3280
- * be sent.
3281
- */
3282
- interim_results?: boolean;
3283
- /**
3284
- * Language to use for speech recognition
3285
- */
3286
- language?: 'en' | 'ba' | 'eu' | 'gl' | 'ga' | 'mt' | 'mn' | 'sw' | 'ug' | 'cy' | 'ar_en' | 'cmn_en' | 'en_ms' | 'en_ta' | 'tl' | 'es-bilingual-en' | 'cmn_en_ms_ta';
3287
- /**
3288
- * Engine identifier for Speechmatics transcription service
3289
- */
3290
- transcription_engine?: 'Speechmatics';
3291
- /**
3292
- * The model to use for transcription.
3293
- */
3294
- transcription_model?: 'speechmatics/standard';
3295
- }
3296
- interface TranscriptionEngineSonioxConfig {
3297
- /**
3298
- * Engine identifier for Soniox transcription service
3299
- */
3300
- transcription_engine: 'Soniox';
3301
- /**
3302
- * When true, Soniox emits end-of-utterance events at the cadence configured by
3303
- * `max_endpoint_delay_ms`.
3304
- */
3305
- enable_endpoint_detection?: boolean;
3306
- /**
3307
- * Whether to send also interim results. If set to false, only final results will
3308
- * be sent.
3309
- */
3310
- interim_results?: boolean;
3311
- /**
3312
- * ISO 639-1 language hint (e.g. `en`, `es`), or `auto` to omit the hint and let
3313
- * Soniox auto-detect supported languages multilingually.
3314
- */
3315
- language?: string;
3316
- /**
3317
- * Maximum silence (in milliseconds) before Soniox emits an end-of-utterance event.
3318
- * Only honored when `enable_endpoint_detection` is true. Range: 500-3000 ms.
3319
- */
3320
- max_endpoint_delay_ms?: number;
3321
- /**
3322
- * The model to use for transcription.
3323
- */
3324
- transcription_model?: 'soniox/stt-rt-v4';
3325
- }
3326
- }
3327
3340
  export interface ActionStopAIAssistantParams {
3328
3341
  /**
3329
3342
  * Use this field to add state to every subsequent webhook. It must be a valid
@@ -3779,6 +3792,6 @@ export interface ActionUpdateClientStateParams {
3779
3792
  client_state: string;
3780
3793
  }
3781
3794
  export declare namespace Actions {
3782
- export { type AwsVoiceSettings as AwsVoiceSettings, type CallControlCommandResult as CallControlCommandResult, type CallControlCommandResultWithConversationID as CallControlCommandResultWithConversationID, type DeepgramNova2Config as DeepgramNova2Config, type DeepgramNova3Config as DeepgramNova3Config, type ElevenLabsVoiceSettings as ElevenLabsVoiceSettings, type GoogleTranscriptionLanguage as GoogleTranscriptionLanguage, type InterruptionSettings as InterruptionSettings, type Loopcount as Loopcount, type StopRecordingRequest as StopRecordingRequest, type TelnyxTranscriptionLanguage as TelnyxTranscriptionLanguage, type TelnyxVoiceSettings as TelnyxVoiceSettings, type TranscriptionConfig as TranscriptionConfig, type TranscriptionEngineAConfig as TranscriptionEngineAConfig, type TranscriptionEngineAssemblyaiConfig as TranscriptionEngineAssemblyaiConfig, type TranscriptionEngineAzureConfig as TranscriptionEngineAzureConfig, type TranscriptionEngineBConfig as TranscriptionEngineBConfig, type TranscriptionEngineDeepgramConfig as TranscriptionEngineDeepgramConfig, type TranscriptionEngineGoogleConfig as TranscriptionEngineGoogleConfig, type TranscriptionEngineTelnyxConfig as TranscriptionEngineTelnyxConfig, type TranscriptionEngineXaiConfig as TranscriptionEngineXaiConfig, type TranscriptionStartRequest as TranscriptionStartRequest, type ActionAddAIAssistantMessagesResponse as ActionAddAIAssistantMessagesResponse, type ActionAnswerResponse as ActionAnswerResponse, type ActionBridgeResponse as ActionBridgeResponse, type ActionEnqueueResponse as ActionEnqueueResponse, type ActionGatherResponse as ActionGatherResponse, type ActionGatherUsingAIResponse as ActionGatherUsingAIResponse, type ActionGatherUsingAudioResponse as ActionGatherUsingAudioResponse, type ActionGatherUsingSpeakResponse as ActionGatherUsingSpeakResponse, type ActionHangupResponse as ActionHangupResponse, type ActionJoinAIAssistantResponse as ActionJoinAIAssistantResponse, type ActionLeaveQueueResponse as ActionLeaveQueueResponse, type ActionPauseRecordingResponse as ActionPauseRecordingResponse, type ActionReferResponse as ActionReferResponse, type ActionRejectResponse as ActionRejectResponse, type ActionResumeRecordingResponse as ActionResumeRecordingResponse, type ActionSendDtmfResponse as ActionSendDtmfResponse, type ActionSendSipInfoResponse as ActionSendSipInfoResponse, type ActionSpeakResponse as ActionSpeakResponse, type ActionStartAIAssistantResponse as ActionStartAIAssistantResponse, type ActionStartConversationRelayResponse as ActionStartConversationRelayResponse, type ActionStartForkingResponse as ActionStartForkingResponse, type ActionStartNoiseSuppressionResponse as ActionStartNoiseSuppressionResponse, type ActionStartPlaybackResponse as ActionStartPlaybackResponse, type ActionStartRecordingResponse as ActionStartRecordingResponse, type ActionStartSiprecResponse as ActionStartSiprecResponse, type ActionStartStreamingResponse as ActionStartStreamingResponse, type ActionStartTranscriptionResponse as ActionStartTranscriptionResponse, type ActionStopAIAssistantResponse as ActionStopAIAssistantResponse, type ActionStopConversationRelayResponse as ActionStopConversationRelayResponse, type ActionStopForkingResponse as ActionStopForkingResponse, type ActionStopGatherResponse as ActionStopGatherResponse, type ActionStopNoiseSuppressionResponse as ActionStopNoiseSuppressionResponse, type ActionStopPlaybackResponse as ActionStopPlaybackResponse, type ActionStopRecordingResponse as ActionStopRecordingResponse, type ActionStopSiprecResponse as ActionStopSiprecResponse, type ActionStopStreamingResponse as ActionStopStreamingResponse, type ActionStopTranscriptionResponse as ActionStopTranscriptionResponse, type ActionSwitchSupervisorRoleResponse as ActionSwitchSupervisorRoleResponse, type ActionTransferResponse as ActionTransferResponse, type ActionUpdateClientStateResponse as ActionUpdateClientStateResponse, type ActionAddAIAssistantMessagesParams as ActionAddAIAssistantMessagesParams, type ActionAnswerParams as ActionAnswerParams, type ActionBridgeParams as ActionBridgeParams, type ActionEnqueueParams as ActionEnqueueParams, type ActionGatherParams as ActionGatherParams, type ActionGatherUsingAIParams as ActionGatherUsingAIParams, type ActionGatherUsingAudioParams as ActionGatherUsingAudioParams, type ActionGatherUsingSpeakParams as ActionGatherUsingSpeakParams, type ActionHangupParams as ActionHangupParams, type ActionJoinAIAssistantParams as ActionJoinAIAssistantParams, type ActionLeaveQueueParams as ActionLeaveQueueParams, type ActionPauseRecordingParams as ActionPauseRecordingParams, type ActionReferParams as ActionReferParams, type ActionRejectParams as ActionRejectParams, type ActionResumeRecordingParams as ActionResumeRecordingParams, type ActionSendDtmfParams as ActionSendDtmfParams, type ActionSendSipInfoParams as ActionSendSipInfoParams, type ActionSpeakParams as ActionSpeakParams, type ActionStartAIAssistantParams as ActionStartAIAssistantParams, type ActionStartConversationRelayParams as ActionStartConversationRelayParams, type ActionStartForkingParams as ActionStartForkingParams, type ActionStartNoiseSuppressionParams as ActionStartNoiseSuppressionParams, type ActionStartPlaybackParams as ActionStartPlaybackParams, type ActionStartRecordingParams as ActionStartRecordingParams, type ActionStartSiprecParams as ActionStartSiprecParams, type ActionStartStreamingParams as ActionStartStreamingParams, type ActionStartTranscriptionParams as ActionStartTranscriptionParams, type ActionStopAIAssistantParams as ActionStopAIAssistantParams, type ActionStopConversationRelayParams as ActionStopConversationRelayParams, type ActionStopForkingParams as ActionStopForkingParams, type ActionStopGatherParams as ActionStopGatherParams, type ActionStopNoiseSuppressionParams as ActionStopNoiseSuppressionParams, type ActionStopPlaybackParams as ActionStopPlaybackParams, type ActionStopRecordingParams as ActionStopRecordingParams, type ActionStopSiprecParams as ActionStopSiprecParams, type ActionStopStreamingParams as ActionStopStreamingParams, type ActionStopTranscriptionParams as ActionStopTranscriptionParams, type ActionSwitchSupervisorRoleParams as ActionSwitchSupervisorRoleParams, type ActionTransferParams as ActionTransferParams, type ActionUpdateClientStateParams as ActionUpdateClientStateParams, };
3795
+ export { type AwsVoiceSettings as AwsVoiceSettings, type CallControlCommandResult as CallControlCommandResult, type CallControlCommandResultWithConversationID as CallControlCommandResultWithConversationID, type DeepgramNova2Config as DeepgramNova2Config, type DeepgramNova3Config as DeepgramNova3Config, type ElevenLabsVoiceSettings as ElevenLabsVoiceSettings, type GoogleTranscriptionLanguage as GoogleTranscriptionLanguage, type InterruptionSettings as InterruptionSettings, type Loopcount as Loopcount, type StopRecordingRequest as StopRecordingRequest, type TelnyxTranscriptionLanguage as TelnyxTranscriptionLanguage, type TelnyxVoiceSettings as TelnyxVoiceSettings, type TranscriptionConfig as TranscriptionConfig, type TranscriptionEngineAConfig as TranscriptionEngineAConfig, type TranscriptionEngineAssemblyaiConfig as TranscriptionEngineAssemblyaiConfig, type TranscriptionEngineAzureConfig as TranscriptionEngineAzureConfig, type TranscriptionEngineBConfig as TranscriptionEngineBConfig, type TranscriptionEngineDeepgramConfig as TranscriptionEngineDeepgramConfig, type TranscriptionEngineGoogleConfig as TranscriptionEngineGoogleConfig, type TranscriptionEngineSonioxConfig as TranscriptionEngineSonioxConfig, type TranscriptionEngineSpeechmaticsConfig as TranscriptionEngineSpeechmaticsConfig, type TranscriptionEngineTelnyxConfig as TranscriptionEngineTelnyxConfig, type TranscriptionEngineXaiConfig as TranscriptionEngineXaiConfig, type TranscriptionStartRequest as TranscriptionStartRequest, type ActionAddAIAssistantMessagesResponse as ActionAddAIAssistantMessagesResponse, type ActionAnswerResponse as ActionAnswerResponse, type ActionBridgeResponse as ActionBridgeResponse, type ActionEnqueueResponse as ActionEnqueueResponse, type ActionGatherResponse as ActionGatherResponse, type ActionGatherUsingAIResponse as ActionGatherUsingAIResponse, type ActionGatherUsingAudioResponse as ActionGatherUsingAudioResponse, type ActionGatherUsingSpeakResponse as ActionGatherUsingSpeakResponse, type ActionHangupResponse as ActionHangupResponse, type ActionJoinAIAssistantResponse as ActionJoinAIAssistantResponse, type ActionLeaveQueueResponse as ActionLeaveQueueResponse, type ActionPauseRecordingResponse as ActionPauseRecordingResponse, type ActionReferResponse as ActionReferResponse, type ActionRejectResponse as ActionRejectResponse, type ActionResumeRecordingResponse as ActionResumeRecordingResponse, type ActionSendDtmfResponse as ActionSendDtmfResponse, type ActionSendSipInfoResponse as ActionSendSipInfoResponse, type ActionSpeakResponse as ActionSpeakResponse, type ActionStartAIAssistantResponse as ActionStartAIAssistantResponse, type ActionStartConversationRelayResponse as ActionStartConversationRelayResponse, type ActionStartForkingResponse as ActionStartForkingResponse, type ActionStartNoiseSuppressionResponse as ActionStartNoiseSuppressionResponse, type ActionStartPlaybackResponse as ActionStartPlaybackResponse, type ActionStartRecordingResponse as ActionStartRecordingResponse, type ActionStartSiprecResponse as ActionStartSiprecResponse, type ActionStartStreamingResponse as ActionStartStreamingResponse, type ActionStartTranscriptionResponse as ActionStartTranscriptionResponse, type ActionStopAIAssistantResponse as ActionStopAIAssistantResponse, type ActionStopConversationRelayResponse as ActionStopConversationRelayResponse, type ActionStopForkingResponse as ActionStopForkingResponse, type ActionStopGatherResponse as ActionStopGatherResponse, type ActionStopNoiseSuppressionResponse as ActionStopNoiseSuppressionResponse, type ActionStopPlaybackResponse as ActionStopPlaybackResponse, type ActionStopRecordingResponse as ActionStopRecordingResponse, type ActionStopSiprecResponse as ActionStopSiprecResponse, type ActionStopStreamingResponse as ActionStopStreamingResponse, type ActionStopTranscriptionResponse as ActionStopTranscriptionResponse, type ActionSwitchSupervisorRoleResponse as ActionSwitchSupervisorRoleResponse, type ActionTransferResponse as ActionTransferResponse, type ActionUpdateClientStateResponse as ActionUpdateClientStateResponse, type ActionAddAIAssistantMessagesParams as ActionAddAIAssistantMessagesParams, type ActionAnswerParams as ActionAnswerParams, type ActionBridgeParams as ActionBridgeParams, type ActionEnqueueParams as ActionEnqueueParams, type ActionGatherParams as ActionGatherParams, type ActionGatherUsingAIParams as ActionGatherUsingAIParams, type ActionGatherUsingAudioParams as ActionGatherUsingAudioParams, type ActionGatherUsingSpeakParams as ActionGatherUsingSpeakParams, type ActionHangupParams as ActionHangupParams, type ActionJoinAIAssistantParams as ActionJoinAIAssistantParams, type ActionLeaveQueueParams as ActionLeaveQueueParams, type ActionPauseRecordingParams as ActionPauseRecordingParams, type ActionReferParams as ActionReferParams, type ActionRejectParams as ActionRejectParams, type ActionResumeRecordingParams as ActionResumeRecordingParams, type ActionSendDtmfParams as ActionSendDtmfParams, type ActionSendSipInfoParams as ActionSendSipInfoParams, type ActionSpeakParams as ActionSpeakParams, type ActionStartAIAssistantParams as ActionStartAIAssistantParams, type ActionStartConversationRelayParams as ActionStartConversationRelayParams, type ActionStartForkingParams as ActionStartForkingParams, type ActionStartNoiseSuppressionParams as ActionStartNoiseSuppressionParams, type ActionStartPlaybackParams as ActionStartPlaybackParams, type ActionStartRecordingParams as ActionStartRecordingParams, type ActionStartSiprecParams as ActionStartSiprecParams, type ActionStartStreamingParams as ActionStartStreamingParams, type ActionStartTranscriptionParams as ActionStartTranscriptionParams, type ActionStopAIAssistantParams as ActionStopAIAssistantParams, type ActionStopConversationRelayParams as ActionStopConversationRelayParams, type ActionStopForkingParams as ActionStopForkingParams, type ActionStopGatherParams as ActionStopGatherParams, type ActionStopNoiseSuppressionParams as ActionStopNoiseSuppressionParams, type ActionStopPlaybackParams as ActionStopPlaybackParams, type ActionStopRecordingParams as ActionStopRecordingParams, type ActionStopSiprecParams as ActionStopSiprecParams, type ActionStopStreamingParams as ActionStopStreamingParams, type ActionStopTranscriptionParams as ActionStopTranscriptionParams, type ActionSwitchSupervisorRoleParams as ActionSwitchSupervisorRoleParams, type ActionTransferParams as ActionTransferParams, type ActionUpdateClientStateParams as ActionUpdateClientStateParams, };
3783
3796
  }
3784
3797
  //# sourceMappingURL=actions.d.mts.map