telnyx 6.64.0 → 6.65.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 (149) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/client.d.mts +10 -11
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +10 -11
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/ai/ai.d.mts +116 -114
  10. package/resources/ai/ai.d.mts.map +1 -1
  11. package/resources/ai/ai.d.ts +116 -114
  12. package/resources/ai/ai.d.ts.map +1 -1
  13. package/resources/ai/ai.js.map +1 -1
  14. package/resources/ai/ai.mjs.map +1 -1
  15. package/resources/ai/assistants/assistants.d.mts +332 -112
  16. package/resources/ai/assistants/assistants.d.mts.map +1 -1
  17. package/resources/ai/assistants/assistants.d.ts +332 -112
  18. package/resources/ai/assistants/assistants.d.ts.map +1 -1
  19. package/resources/ai/assistants/assistants.js.map +1 -1
  20. package/resources/ai/assistants/assistants.mjs.map +1 -1
  21. package/resources/ai/assistants/canary-deploys.d.mts +241 -70
  22. package/resources/ai/assistants/canary-deploys.d.mts.map +1 -1
  23. package/resources/ai/assistants/canary-deploys.d.ts +241 -70
  24. package/resources/ai/assistants/canary-deploys.d.ts.map +1 -1
  25. package/resources/ai/assistants/index.d.mts +2 -2
  26. package/resources/ai/assistants/index.d.mts.map +1 -1
  27. package/resources/ai/assistants/index.d.ts +2 -2
  28. package/resources/ai/assistants/index.d.ts.map +1 -1
  29. package/resources/ai/assistants/index.js.map +1 -1
  30. package/resources/ai/assistants/index.mjs.map +1 -1
  31. package/resources/ai/assistants/versions.d.mts +220 -6
  32. package/resources/ai/assistants/versions.d.mts.map +1 -1
  33. package/resources/ai/assistants/versions.d.ts +220 -6
  34. package/resources/ai/assistants/versions.d.ts.map +1 -1
  35. package/resources/ai/index.d.mts +2 -2
  36. package/resources/ai/index.d.mts.map +1 -1
  37. package/resources/ai/index.d.ts +2 -2
  38. package/resources/ai/index.d.ts.map +1 -1
  39. package/resources/ai/index.js.map +1 -1
  40. package/resources/ai/index.mjs.map +1 -1
  41. package/resources/ai/openai/openai.d.mts +113 -2
  42. package/resources/ai/openai/openai.d.mts.map +1 -1
  43. package/resources/ai/openai/openai.d.ts +113 -2
  44. package/resources/ai/openai/openai.d.ts.map +1 -1
  45. package/resources/ai/openai/openai.js.map +1 -1
  46. package/resources/ai/openai/openai.mjs.map +1 -1
  47. package/resources/calls/actions.d.mts +398 -41
  48. package/resources/calls/actions.d.mts.map +1 -1
  49. package/resources/calls/actions.d.ts +398 -41
  50. package/resources/calls/actions.d.ts.map +1 -1
  51. package/resources/calls/actions.js +46 -0
  52. package/resources/calls/actions.js.map +1 -1
  53. package/resources/calls/actions.mjs +46 -0
  54. package/resources/calls/actions.mjs.map +1 -1
  55. package/resources/calls/calls.d.mts +2 -2
  56. package/resources/calls/calls.d.mts.map +1 -1
  57. package/resources/calls/calls.d.ts +2 -2
  58. package/resources/calls/calls.d.ts.map +1 -1
  59. package/resources/calls/calls.js.map +1 -1
  60. package/resources/calls/calls.mjs.map +1 -1
  61. package/resources/calls/index.d.mts +1 -1
  62. package/resources/calls/index.d.mts.map +1 -1
  63. package/resources/calls/index.d.ts +1 -1
  64. package/resources/calls/index.d.ts.map +1 -1
  65. package/resources/calls/index.js.map +1 -1
  66. package/resources/calls/index.mjs.map +1 -1
  67. package/resources/conferences/actions.d.mts +11 -1
  68. package/resources/conferences/actions.d.mts.map +1 -1
  69. package/resources/conferences/actions.d.ts +11 -1
  70. package/resources/conferences/actions.d.ts.map +1 -1
  71. package/resources/index.d.mts +5 -5
  72. package/resources/index.d.mts.map +1 -1
  73. package/resources/index.d.ts +5 -5
  74. package/resources/index.d.ts.map +1 -1
  75. package/resources/index.js.map +1 -1
  76. package/resources/index.mjs.map +1 -1
  77. package/resources/networks/networks.d.mts +2 -25
  78. package/resources/networks/networks.d.mts.map +1 -1
  79. package/resources/networks/networks.d.ts +2 -25
  80. package/resources/networks/networks.d.ts.map +1 -1
  81. package/resources/networks/networks.js.map +1 -1
  82. package/resources/networks/networks.mjs.map +1 -1
  83. package/resources/public-internet-gateways.d.mts +50 -40
  84. package/resources/public-internet-gateways.d.mts.map +1 -1
  85. package/resources/public-internet-gateways.d.ts +50 -40
  86. package/resources/public-internet-gateways.d.ts.map +1 -1
  87. package/resources/public-internet-gateways.js +1 -1
  88. package/resources/public-internet-gateways.js.map +1 -1
  89. package/resources/public-internet-gateways.mjs +1 -1
  90. package/resources/public-internet-gateways.mjs.map +1 -1
  91. package/resources/shared.d.mts +0 -10
  92. package/resources/shared.d.mts.map +1 -1
  93. package/resources/shared.d.ts +0 -10
  94. package/resources/shared.d.ts.map +1 -1
  95. package/resources/uac-connections/index.d.mts +1 -1
  96. package/resources/uac-connections/index.d.mts.map +1 -1
  97. package/resources/uac-connections/index.d.ts +1 -1
  98. package/resources/uac-connections/index.d.ts.map +1 -1
  99. package/resources/uac-connections/index.js.map +1 -1
  100. package/resources/uac-connections/index.mjs.map +1 -1
  101. package/resources/uac-connections/uac-connections.d.mts +1861 -211
  102. package/resources/uac-connections/uac-connections.d.mts.map +1 -1
  103. package/resources/uac-connections/uac-connections.d.ts +1861 -211
  104. package/resources/uac-connections/uac-connections.d.ts.map +1 -1
  105. package/resources/uac-connections/uac-connections.js +1 -1
  106. package/resources/uac-connections/uac-connections.js.map +1 -1
  107. package/resources/uac-connections/uac-connections.mjs +1 -1
  108. package/resources/uac-connections/uac-connections.mjs.map +1 -1
  109. package/resources/virtual-cross-connects.d.mts +504 -48
  110. package/resources/virtual-cross-connects.d.mts.map +1 -1
  111. package/resources/virtual-cross-connects.d.ts +504 -48
  112. package/resources/virtual-cross-connects.d.ts.map +1 -1
  113. package/resources/virtual-cross-connects.js +1 -1
  114. package/resources/virtual-cross-connects.js.map +1 -1
  115. package/resources/virtual-cross-connects.mjs +1 -1
  116. package/resources/virtual-cross-connects.mjs.map +1 -1
  117. package/resources/wireguard-interfaces.d.mts +127 -43
  118. package/resources/wireguard-interfaces.d.mts.map +1 -1
  119. package/resources/wireguard-interfaces.d.ts +127 -43
  120. package/resources/wireguard-interfaces.d.ts.map +1 -1
  121. package/resources/wireguard-interfaces.js +2 -5
  122. package/resources/wireguard-interfaces.js.map +1 -1
  123. package/resources/wireguard-interfaces.mjs +2 -5
  124. package/resources/wireguard-interfaces.mjs.map +1 -1
  125. package/src/client.ts +16 -27
  126. package/src/resources/ai/ai.ts +130 -139
  127. package/src/resources/ai/assistants/assistants.ts +362 -133
  128. package/src/resources/ai/assistants/canary-deploys.ts +266 -75
  129. package/src/resources/ai/assistants/index.ts +0 -10
  130. package/src/resources/ai/assistants/versions.ts +244 -6
  131. package/src/resources/ai/index.ts +0 -6
  132. package/src/resources/ai/openai/openai.ts +131 -2
  133. package/src/resources/calls/actions.ts +543 -76
  134. package/src/resources/calls/calls.ts +8 -4
  135. package/src/resources/calls/index.ts +4 -2
  136. package/src/resources/conferences/actions.ts +13 -1
  137. package/src/resources/index.ts +8 -13
  138. package/src/resources/networks/networks.ts +4 -31
  139. package/src/resources/public-internet-gateways.ts +55 -46
  140. package/src/resources/shared.ts +0 -12
  141. package/src/resources/uac-connections/index.ts +2 -6
  142. package/src/resources/uac-connections/uac-connections.ts +2377 -378
  143. package/src/resources/virtual-cross-connects.ts +595 -54
  144. package/src/resources/wireguard-interfaces.ts +158 -53
  145. package/src/version.ts +1 -1
  146. package/version.d.mts +1 -1
  147. package/version.d.ts +1 -1
  148. package/version.js +1 -1
  149. package/version.mjs +1 -1
@@ -356,6 +356,30 @@ export declare class Actions extends APIResource {
356
356
  * ```
357
357
  */
358
358
  startAIAssistant(callControlID: string, body: ActionStartAIAssistantParams, options?: RequestOptions): APIPromise<ActionStartAIAssistantResponse>;
359
+ /**
360
+ * Start a Conversation Relay session on an active call. Conversation Relay
361
+ * connects the call audio to your WebSocket so your application can exchange
362
+ * realtime messages with the caller while Telnyx handles speech recognition and
363
+ * text-to-speech. Only one AI Assistant or Conversation Relay session can be
364
+ * active on a call at a time.
365
+ *
366
+ * **Expected Webhooks:**
367
+ *
368
+ * - `conversation_relay.disconnected`
369
+ *
370
+ * @example
371
+ * ```ts
372
+ * const response =
373
+ * await client.calls.actions.startConversationRelay(
374
+ * 'call_control_id',
375
+ * {
376
+ * conversation_relay_url:
377
+ * 'wss://example.com/conversation-relay',
378
+ * },
379
+ * );
380
+ * ```
381
+ */
382
+ startConversationRelay(callControlID: string, body: ActionStartConversationRelayParams, options?: RequestOptions): APIPromise<ActionStartConversationRelayResponse>;
359
383
  /**
360
384
  * Call forking allows you to stream the media from a call to a specific target in
361
385
  * realtime. This stream can be used to enable realtime audio analysis to support a
@@ -491,6 +515,18 @@ export declare class Actions extends APIResource {
491
515
  * ```
492
516
  */
493
517
  stopAIAssistant(callControlID: string, body: ActionStopAIAssistantParams, options?: RequestOptions): APIPromise<ActionStopAIAssistantResponse>;
518
+ /**
519
+ * Stop the active Conversation Relay session on a call.
520
+ *
521
+ * @example
522
+ * ```ts
523
+ * const response =
524
+ * await client.calls.actions.stopConversationRelay(
525
+ * 'call_control_id',
526
+ * );
527
+ * ```
528
+ */
529
+ stopConversationRelay(callControlID: string, body: ActionStopConversationRelayParams, options?: RequestOptions): APIPromise<ActionStopConversationRelayResponse>;
494
530
  /**
495
531
  * Stop forking a call.
496
532
  *
@@ -883,21 +919,6 @@ export declare namespace TranscriptionEngineAConfig {
883
919
  phrases?: Array<string>;
884
920
  }
885
921
  }
886
- export interface TranscriptionEngineAssemblyaiConfig {
887
- /**
888
- * Whether to send also interim results. If set to false, only final results will
889
- * be sent.
890
- */
891
- interim_results?: boolean;
892
- /**
893
- * Engine identifier for AssemblyAI transcription service
894
- */
895
- transcription_engine?: 'AssemblyAI';
896
- /**
897
- * The model to use for transcription.
898
- */
899
- transcription_model?: 'assemblyai/universal-streaming';
900
- }
901
922
  export interface TranscriptionEngineAzureConfig {
902
923
  /**
903
924
  * Azure region to use for speech recognition
@@ -1004,25 +1025,6 @@ export interface TranscriptionEngineTelnyxConfig {
1004
1025
  */
1005
1026
  transcription_model?: 'openai/whisper-tiny' | 'openai/whisper-large-v3-turbo';
1006
1027
  }
1007
- export interface TranscriptionEngineXaiConfig {
1008
- /**
1009
- * Whether to send also interim results. If set to false, only final results will
1010
- * be sent.
1011
- */
1012
- interim_results?: boolean;
1013
- /**
1014
- * Language to use for speech recognition
1015
- */
1016
- language?: 'ar' | 'cs' | 'da' | 'de' | 'en' | 'es' | 'fa' | 'fil' | 'fr' | 'hi' | 'id' | 'it' | 'ja' | 'ko' | 'mk' | 'ms' | 'nl' | 'pl' | 'pt' | 'ro' | 'ru' | 'sv' | 'th' | 'tr' | 'vi';
1017
- /**
1018
- * Engine identifier for xAI transcription service
1019
- */
1020
- transcription_engine?: 'xAI';
1021
- /**
1022
- * The model to use for transcription.
1023
- */
1024
- transcription_model?: 'xai/grok-stt';
1025
- }
1026
1028
  export interface TranscriptionStartRequest {
1027
1029
  /**
1028
1030
  * Use this field to add state to every subsequent webhook. It must be a valid
@@ -1039,7 +1041,7 @@ export interface TranscriptionStartRequest {
1039
1041
  * `Telnyx` are supported for backward compatibility.
1040
1042
  */
1041
1043
  transcription_engine?: 'Google' | 'Telnyx' | 'Deepgram' | 'Azure' | 'xAI' | 'AssemblyAI' | 'A' | 'B';
1042
- transcription_engine_config?: TranscriptionEngineGoogleConfig | TranscriptionEngineTelnyxConfig | TranscriptionEngineAzureConfig | TranscriptionEngineXaiConfig | TranscriptionEngineAssemblyaiConfig | TranscriptionEngineAConfig | TranscriptionEngineBConfig | DeepgramNova2Config | DeepgramNova3Config;
1044
+ transcription_engine_config?: TranscriptionEngineGoogleConfig | TranscriptionEngineTelnyxConfig | TranscriptionEngineAzureConfig | TranscriptionStartRequest.TranscriptionEngineXaiConfig | TranscriptionStartRequest.TranscriptionEngineAssemblyaiConfig | TranscriptionEngineAConfig | TranscriptionEngineBConfig | DeepgramNova2Config | DeepgramNova3Config;
1043
1045
  /**
1044
1046
  * Indicates which leg of the call will be transcribed. Use `inbound` for the leg
1045
1047
  * that requested the transcription, `outbound` for the other leg, and `both` for
@@ -1047,6 +1049,42 @@ export interface TranscriptionStartRequest {
1047
1049
  */
1048
1050
  transcription_tracks?: string;
1049
1051
  }
1052
+ export declare namespace TranscriptionStartRequest {
1053
+ interface TranscriptionEngineXaiConfig {
1054
+ /**
1055
+ * Whether to send also interim results. If set to false, only final results will
1056
+ * be sent.
1057
+ */
1058
+ interim_results?: boolean;
1059
+ /**
1060
+ * Language to use for speech recognition
1061
+ */
1062
+ language?: 'ar' | 'cs' | 'da' | 'de' | 'en' | 'es' | 'fa' | 'fil' | 'fr' | 'hi' | 'id' | 'it' | 'ja' | 'ko' | 'mk' | 'ms' | 'nl' | 'pl' | 'pt' | 'ro' | 'ru' | 'sv' | 'th' | 'tr' | 'vi';
1063
+ /**
1064
+ * Engine identifier for xAI transcription service
1065
+ */
1066
+ transcription_engine?: 'xAI';
1067
+ /**
1068
+ * The model to use for transcription.
1069
+ */
1070
+ transcription_model?: 'xai/grok-stt';
1071
+ }
1072
+ interface TranscriptionEngineAssemblyaiConfig {
1073
+ /**
1074
+ * Whether to send also interim results. If set to false, only final results will
1075
+ * be sent.
1076
+ */
1077
+ interim_results?: boolean;
1078
+ /**
1079
+ * Engine identifier for AssemblyAI transcription service
1080
+ */
1081
+ transcription_engine?: 'AssemblyAI';
1082
+ /**
1083
+ * The model to use for transcription.
1084
+ */
1085
+ transcription_model?: 'assemblyai/universal-streaming';
1086
+ }
1087
+ }
1050
1088
  export interface ActionAddAIAssistantMessagesResponse {
1051
1089
  data?: CallControlCommandResult;
1052
1090
  }
@@ -1114,6 +1152,18 @@ export interface ActionSpeakResponse {
1114
1152
  export interface ActionStartAIAssistantResponse {
1115
1153
  data?: CallControlCommandResultWithConversationID;
1116
1154
  }
1155
+ export interface ActionStartConversationRelayResponse {
1156
+ data?: ActionStartConversationRelayResponse.Data;
1157
+ }
1158
+ export declare namespace ActionStartConversationRelayResponse {
1159
+ interface Data {
1160
+ /**
1161
+ * The ID of the Conversation Relay session created by the command.
1162
+ */
1163
+ conversation_relay_id?: string;
1164
+ result?: string;
1165
+ }
1166
+ }
1117
1167
  export interface ActionStartForkingResponse {
1118
1168
  data?: CallControlCommandResult;
1119
1169
  }
@@ -1138,6 +1188,9 @@ export interface ActionStartTranscriptionResponse {
1138
1188
  export interface ActionStopAIAssistantResponse {
1139
1189
  data?: CallControlCommandResult;
1140
1190
  }
1191
+ export interface ActionStopConversationRelayResponse {
1192
+ data?: CallControlCommandResult;
1193
+ }
1141
1194
  export interface ActionStopForkingResponse {
1142
1195
  data?: CallControlCommandResult;
1143
1196
  }
@@ -1801,7 +1854,7 @@ export interface ActionGatherUsingAIParams {
1801
1854
  /**
1802
1855
  * The settings associated with the voice selected
1803
1856
  */
1804
- voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.AzureVoiceSettings | Shared.RimeVoiceSettings | Shared.ResembleVoiceSettings | Shared.XaiVoiceSettings;
1857
+ voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.AzureVoiceSettings | Shared.RimeVoiceSettings | Shared.ResembleVoiceSettings | ActionGatherUsingAIParams.XaiVoiceSettings;
1805
1858
  }
1806
1859
  export declare namespace ActionGatherUsingAIParams {
1807
1860
  interface MessageHistory {
@@ -1814,6 +1867,16 @@ export declare namespace ActionGatherUsingAIParams {
1814
1867
  */
1815
1868
  role?: 'assistant' | 'user';
1816
1869
  }
1870
+ interface XaiVoiceSettings {
1871
+ /**
1872
+ * Voice settings provider type
1873
+ */
1874
+ type: 'xai';
1875
+ /**
1876
+ * Language code, or `auto` to detect automatically.
1877
+ */
1878
+ language?: string;
1879
+ }
1817
1880
  }
1818
1881
  export interface ActionGatherUsingAudioParams {
1819
1882
  /**
@@ -2004,7 +2067,7 @@ export interface ActionGatherUsingSpeakParams {
2004
2067
  /**
2005
2068
  * The settings associated with the voice selected
2006
2069
  */
2007
- voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.MinimaxVoiceSettings | Shared.AzureVoiceSettings | Shared.RimeVoiceSettings | Shared.ResembleVoiceSettings | ActionGatherUsingSpeakParams.InworldVoiceSettings | Shared.XaiVoiceSettings;
2070
+ voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.MinimaxVoiceSettings | Shared.AzureVoiceSettings | Shared.RimeVoiceSettings | Shared.ResembleVoiceSettings | ActionGatherUsingSpeakParams.InworldVoiceSettings | ActionGatherUsingSpeakParams.XaiVoiceSettings;
2008
2071
  }
2009
2072
  export declare namespace ActionGatherUsingSpeakParams {
2010
2073
  interface InworldVoiceSettings {
@@ -2013,6 +2076,16 @@ export declare namespace ActionGatherUsingSpeakParams {
2013
2076
  */
2014
2077
  type: 'inworld';
2015
2078
  }
2079
+ interface XaiVoiceSettings {
2080
+ /**
2081
+ * Voice settings provider type
2082
+ */
2083
+ type: 'xai';
2084
+ /**
2085
+ * Language code, or `auto` to detect automatically.
2086
+ */
2087
+ language?: string;
2088
+ }
2016
2089
  }
2017
2090
  export interface ActionHangupParams {
2018
2091
  /**
@@ -2300,7 +2373,7 @@ export interface ActionSpeakParams {
2300
2373
  /**
2301
2374
  * The settings associated with the voice selected
2302
2375
  */
2303
- voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.MinimaxVoiceSettings | Shared.AzureVoiceSettings | Shared.RimeVoiceSettings | Shared.ResembleVoiceSettings | ActionSpeakParams.InworldVoiceSettings | Shared.XaiVoiceSettings;
2376
+ voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.MinimaxVoiceSettings | Shared.AzureVoiceSettings | Shared.RimeVoiceSettings | Shared.ResembleVoiceSettings | ActionSpeakParams.InworldVoiceSettings | ActionSpeakParams.XaiVoiceSettings;
2304
2377
  }
2305
2378
  export declare namespace ActionSpeakParams {
2306
2379
  interface InworldVoiceSettings {
@@ -2309,6 +2382,16 @@ export declare namespace ActionSpeakParams {
2309
2382
  */
2310
2383
  type: 'inworld';
2311
2384
  }
2385
+ interface XaiVoiceSettings {
2386
+ /**
2387
+ * Voice settings provider type
2388
+ */
2389
+ type: 'xai';
2390
+ /**
2391
+ * Language code, or `auto` to detect automatically.
2392
+ */
2393
+ language?: string;
2394
+ }
2312
2395
  }
2313
2396
  export interface ActionStartAIAssistantParams {
2314
2397
  /**
@@ -2390,7 +2473,7 @@ export interface ActionStartAIAssistantParams {
2390
2473
  /**
2391
2474
  * The settings associated with the voice selected
2392
2475
  */
2393
- voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.AzureVoiceSettings | Shared.RimeVoiceSettings | Shared.ResembleVoiceSettings | Shared.XaiVoiceSettings;
2476
+ voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.AzureVoiceSettings | Shared.RimeVoiceSettings | Shared.ResembleVoiceSettings | ActionStartAIAssistantParams.XaiVoiceSettings;
2394
2477
  }
2395
2478
  export declare namespace ActionStartAIAssistantParams {
2396
2479
  /**
@@ -2543,6 +2626,232 @@ export declare namespace ActionStartAIAssistantParams {
2543
2626
  */
2544
2627
  on_hangup?: 'continue_conversation' | 'end_conversation';
2545
2628
  }
2629
+ interface XaiVoiceSettings {
2630
+ /**
2631
+ * Voice settings provider type
2632
+ */
2633
+ type: 'xai';
2634
+ /**
2635
+ * Language code, or `auto` to detect automatically.
2636
+ */
2637
+ language?: string;
2638
+ }
2639
+ }
2640
+ export interface ActionStartConversationRelayParams {
2641
+ /**
2642
+ * WebSocket URL for your Conversation Relay server. Must start with `ws://` or
2643
+ * `wss://`.
2644
+ */
2645
+ conversation_relay_url: string;
2646
+ /**
2647
+ * Custom parameters for the Conversation Relay session. Pass key-value data as
2648
+ * `assistant.dynamic_variables` to make it available to the relay session.
2649
+ */
2650
+ assistant?: ActionStartConversationRelayParams.Assistant;
2651
+ /**
2652
+ * Use this field to add state to subsequent webhooks. It must be a valid Base-64
2653
+ * encoded string.
2654
+ */
2655
+ client_state?: string;
2656
+ /**
2657
+ * Use this field to avoid duplicate commands. Telnyx will ignore any command with
2658
+ * the same `command_id` for the same `call_control_id`.
2659
+ */
2660
+ command_id?: string;
2661
+ /**
2662
+ * Enable DTMF detection for the relay session.
2663
+ */
2664
+ conversation_relay_dtmf_detection?: boolean;
2665
+ /**
2666
+ * Text played when the relay session starts.
2667
+ */
2668
+ greeting?: string;
2669
+ /**
2670
+ * Settings for handling caller interruptions during Conversation Relay speech.
2671
+ */
2672
+ interruption_settings?: ActionStartConversationRelayParams.InterruptionSettings;
2673
+ /**
2674
+ * Default language for the relay session. This value is used for both
2675
+ * text-to-speech and speech recognition unless `tts_language` or
2676
+ * `transcription_language` are provided.
2677
+ */
2678
+ language?: string;
2679
+ /**
2680
+ * Language-specific TTS and transcription settings. Use this when the relay
2681
+ * session needs per-language provider, voice, or speech model configuration.
2682
+ */
2683
+ languages?: Array<ActionStartConversationRelayParams.Language>;
2684
+ /**
2685
+ * Participants to add to the conversation.
2686
+ */
2687
+ participants?: Array<ActionStartConversationRelayParams.Participant>;
2688
+ /**
2689
+ * When true, sends message history update webhooks.
2690
+ */
2691
+ send_message_history_updates?: boolean;
2692
+ /**
2693
+ * Speech-to-text settings for Conversation Relay.
2694
+ */
2695
+ transcription?: ActionStartConversationRelayParams.Transcription;
2696
+ /**
2697
+ * Language to use for speech recognition. Overrides `language` for transcription
2698
+ * when provided.
2699
+ */
2700
+ transcription_language?: string;
2701
+ /**
2702
+ * Language to use for text-to-speech. Overrides `language` for TTS when provided.
2703
+ */
2704
+ tts_language?: string;
2705
+ /**
2706
+ * Time in milliseconds to wait for caller input before timing out.
2707
+ */
2708
+ user_response_timeout_ms?: number;
2709
+ /**
2710
+ * The voice to be used by the voice assistant. Currently we support ElevenLabs,
2711
+ * Telnyx and AWS voices.
2712
+ *
2713
+ * **Supported Providers:**
2714
+ *
2715
+ * - **AWS:** Use `AWS.Polly.<VoiceId>` (e.g., `AWS.Polly.Joanna`). For neural
2716
+ * voices, which provide more realistic, human-like speech, append `-Neural` to
2717
+ * the `VoiceId` (e.g., `AWS.Polly.Joanna-Neural`). Check the
2718
+ * [available voices](https://docs.aws.amazon.com/polly/latest/dg/available-voices.html)
2719
+ * for compatibility.
2720
+ * - **Azure:** Use `Azure.<VoiceId>. (e.g. Azure.en-CA-ClaraNeural,
2721
+ * Azure.en-CA-LiamNeural, Azure.en-US-BrianMultilingualNeural,
2722
+ * Azure.en-US-Ava:DragonHDLatestNeural. For a complete list of voices, go to
2723
+ * [Azure Voice Gallery](https://speech.microsoft.com/portal/voicegallery).)
2724
+ * - **ElevenLabs:** Use `ElevenLabs.<ModelId>.<VoiceId>` (e.g.,
2725
+ * `ElevenLabs.BaseModel.John`). The `ModelId` part is optional. To use
2726
+ * ElevenLabs, you must provide your ElevenLabs API key as an integration secret
2727
+ * under `"voice_settings": {"api_key_ref": "<secret_id>"}`. See
2728
+ * [integration secrets documentation](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
2729
+ * for details. Check
2730
+ * [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
2731
+ * - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
2732
+ * - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
2733
+ * `Inworld.Max.Oliver`). Supported models: `Mini`, `Max`.
2734
+ * - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
2735
+ * `ara`, `rex`, `sal`, `leo`.
2736
+ */
2737
+ voice?: string;
2738
+ /**
2739
+ * The settings associated with the voice selected
2740
+ */
2741
+ voice_settings?: ElevenLabsVoiceSettings | TelnyxVoiceSettings | AwsVoiceSettings | Shared.AzureVoiceSettings | Shared.RimeVoiceSettings | Shared.ResembleVoiceSettings | ActionStartConversationRelayParams.XaiVoiceSettings;
2742
+ }
2743
+ export declare namespace ActionStartConversationRelayParams {
2744
+ /**
2745
+ * Custom parameters for the Conversation Relay session. Pass key-value data as
2746
+ * `assistant.dynamic_variables` to make it available to the relay session.
2747
+ */
2748
+ interface Assistant {
2749
+ /**
2750
+ * Custom key-value parameters forwarded to the Conversation Relay session.
2751
+ */
2752
+ dynamic_variables?: {
2753
+ [key: string]: string;
2754
+ };
2755
+ [k: string]: unknown;
2756
+ }
2757
+ /**
2758
+ * Settings for handling caller interruptions during Conversation Relay speech.
2759
+ */
2760
+ interface InterruptionSettings {
2761
+ /**
2762
+ * Legacy boolean form. `true` is equivalent to `interruptible=any`; `false` is
2763
+ * equivalent to `interruptible=none`.
2764
+ */
2765
+ enable?: boolean;
2766
+ /**
2767
+ * Controls when caller input can interrupt assistant speech. `any` allows speech
2768
+ * or DTMF interruptions; `none` disables interruptions; `speech` allows speech
2769
+ * only; `dtmf` allows DTMF only.
2770
+ */
2771
+ interruptible?: 'none' | 'any' | 'speech' | 'dtmf';
2772
+ /**
2773
+ * Controls when caller input can interrupt assistant speech. `any` allows speech
2774
+ * or DTMF interruptions; `none` disables interruptions; `speech` allows speech
2775
+ * only; `dtmf` allows DTMF only.
2776
+ */
2777
+ interruptible_greeting?: 'none' | 'any' | 'speech' | 'dtmf';
2778
+ /**
2779
+ * Controls when caller input can interrupt assistant speech. `any` allows speech
2780
+ * or DTMF interruptions; `none` disables interruptions; `speech` allows speech
2781
+ * only; `dtmf` allows DTMF only.
2782
+ */
2783
+ welcome_greeting_interruptible?: 'none' | 'any' | 'speech' | 'dtmf';
2784
+ }
2785
+ /**
2786
+ * Language-specific speech and transcription settings for Conversation Relay.
2787
+ */
2788
+ interface Language {
2789
+ /**
2790
+ * BCP 47 language code.
2791
+ */
2792
+ code?: string;
2793
+ /**
2794
+ * Speech recognition model for this language.
2795
+ */
2796
+ speech_model?: string;
2797
+ /**
2798
+ * Speech-to-text provider for this language.
2799
+ */
2800
+ transcription_provider?: string;
2801
+ /**
2802
+ * Text-to-speech provider for this language.
2803
+ */
2804
+ tts_provider?: string;
2805
+ /**
2806
+ * Voice identifier for this language.
2807
+ */
2808
+ voice?: string;
2809
+ }
2810
+ interface Participant {
2811
+ /**
2812
+ * The call_control_id of the participant to add to the conversation.
2813
+ */
2814
+ id: string;
2815
+ /**
2816
+ * The role of the participant in the conversation.
2817
+ */
2818
+ role: 'user';
2819
+ /**
2820
+ * Display name for the participant.
2821
+ */
2822
+ name?: string;
2823
+ /**
2824
+ * Determines what happens to the conversation when this participant hangs up.
2825
+ */
2826
+ on_hangup?: 'continue_conversation' | 'end_conversation';
2827
+ }
2828
+ /**
2829
+ * Speech-to-text settings for Conversation Relay.
2830
+ */
2831
+ interface Transcription {
2832
+ /**
2833
+ * Transcription language.
2834
+ */
2835
+ language?: string;
2836
+ /**
2837
+ * Transcription model to use.
2838
+ */
2839
+ model?: string;
2840
+ /**
2841
+ * Transcription provider to use.
2842
+ */
2843
+ provider?: string;
2844
+ }
2845
+ interface XaiVoiceSettings {
2846
+ /**
2847
+ * Voice settings provider type
2848
+ */
2849
+ type: 'xai';
2850
+ /**
2851
+ * Language code, or `auto` to detect automatically.
2852
+ */
2853
+ language?: string;
2854
+ }
2546
2855
  }
2547
2856
  export interface ActionStartForkingParams {
2548
2857
  /**
@@ -2914,7 +3223,7 @@ export interface ActionStartTranscriptionParams {
2914
3223
  * `Telnyx` are supported for backward compatibility.
2915
3224
  */
2916
3225
  transcription_engine?: 'Google' | 'Telnyx' | 'Deepgram' | 'Azure' | 'xAI' | 'AssemblyAI' | 'A' | 'B';
2917
- transcription_engine_config?: TranscriptionEngineGoogleConfig | TranscriptionEngineTelnyxConfig | TranscriptionEngineAzureConfig | TranscriptionEngineXaiConfig | TranscriptionEngineAssemblyaiConfig | TranscriptionEngineAConfig | TranscriptionEngineBConfig | DeepgramNova2Config | DeepgramNova3Config;
3226
+ transcription_engine_config?: TranscriptionEngineGoogleConfig | TranscriptionEngineTelnyxConfig | TranscriptionEngineAzureConfig | ActionStartTranscriptionParams.TranscriptionEngineXaiConfig | ActionStartTranscriptionParams.TranscriptionEngineAssemblyaiConfig | TranscriptionEngineAConfig | TranscriptionEngineBConfig | DeepgramNova2Config | DeepgramNova3Config;
2918
3227
  /**
2919
3228
  * Indicates which leg of the call will be transcribed. Use `inbound` for the leg
2920
3229
  * that requested the transcription, `outbound` for the other leg, and `both` for
@@ -2922,6 +3231,42 @@ export interface ActionStartTranscriptionParams {
2922
3231
  */
2923
3232
  transcription_tracks?: string;
2924
3233
  }
3234
+ export declare namespace ActionStartTranscriptionParams {
3235
+ interface TranscriptionEngineXaiConfig {
3236
+ /**
3237
+ * Whether to send also interim results. If set to false, only final results will
3238
+ * be sent.
3239
+ */
3240
+ interim_results?: boolean;
3241
+ /**
3242
+ * Language to use for speech recognition
3243
+ */
3244
+ language?: 'ar' | 'cs' | 'da' | 'de' | 'en' | 'es' | 'fa' | 'fil' | 'fr' | 'hi' | 'id' | 'it' | 'ja' | 'ko' | 'mk' | 'ms' | 'nl' | 'pl' | 'pt' | 'ro' | 'ru' | 'sv' | 'th' | 'tr' | 'vi';
3245
+ /**
3246
+ * Engine identifier for xAI transcription service
3247
+ */
3248
+ transcription_engine?: 'xAI';
3249
+ /**
3250
+ * The model to use for transcription.
3251
+ */
3252
+ transcription_model?: 'xai/grok-stt';
3253
+ }
3254
+ interface TranscriptionEngineAssemblyaiConfig {
3255
+ /**
3256
+ * Whether to send also interim results. If set to false, only final results will
3257
+ * be sent.
3258
+ */
3259
+ interim_results?: boolean;
3260
+ /**
3261
+ * Engine identifier for AssemblyAI transcription service
3262
+ */
3263
+ transcription_engine?: 'AssemblyAI';
3264
+ /**
3265
+ * The model to use for transcription.
3266
+ */
3267
+ transcription_model?: 'assemblyai/universal-streaming';
3268
+ }
3269
+ }
2925
3270
  export interface ActionStopAIAssistantParams {
2926
3271
  /**
2927
3272
  * Use this field to add state to every subsequent webhook. It must be a valid
@@ -2934,6 +3279,18 @@ export interface ActionStopAIAssistantParams {
2934
3279
  */
2935
3280
  command_id?: string;
2936
3281
  }
3282
+ export interface ActionStopConversationRelayParams {
3283
+ /**
3284
+ * Use this field to add state to subsequent webhooks. It must be a valid Base-64
3285
+ * encoded string.
3286
+ */
3287
+ client_state?: string;
3288
+ /**
3289
+ * Use this field to avoid duplicate commands. Telnyx will ignore any command with
3290
+ * the same `command_id` for the same `call_control_id`.
3291
+ */
3292
+ command_id?: string;
3293
+ }
2937
3294
  export interface ActionStopForkingParams {
2938
3295
  /**
2939
3296
  * Use this field to add state to every subsequent webhook. It must be a valid
@@ -3351,6 +3708,6 @@ export interface ActionUpdateClientStateParams {
3351
3708
  client_state: string;
3352
3709
  }
3353
3710
  export declare namespace Actions {
3354
- 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 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 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 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 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, };
3711
+ 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 TranscriptionEngineAzureConfig as TranscriptionEngineAzureConfig, type TranscriptionEngineBConfig as TranscriptionEngineBConfig, type TranscriptionEngineDeepgramConfig as TranscriptionEngineDeepgramConfig, type TranscriptionEngineGoogleConfig as TranscriptionEngineGoogleConfig, type TranscriptionEngineTelnyxConfig as TranscriptionEngineTelnyxConfig, 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, };
3355
3712
  }
3356
3713
  //# sourceMappingURL=actions.d.mts.map