telnyx 5.111.0 → 5.112.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 (227) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/README.md +1 -1
  4. data/lib/telnyx/models/ai/assistant_create_params.rb +178 -9
  5. data/lib/telnyx/models/ai/assistant_tool.rb +14 -14
  6. data/lib/telnyx/models/ai/assistant_update_params.rb +178 -9
  7. data/lib/telnyx/models/ai/assistants/canary_deploy.rb +123 -3
  8. data/lib/telnyx/models/ai/assistants/canary_deploy_response.rb +125 -3
  9. data/lib/telnyx/models/ai/assistants/update_assistant.rb +179 -9
  10. data/lib/telnyx/models/ai/inference_embedding.rb +177 -9
  11. data/lib/telnyx/models/ai/openai_list_models_response.rb +210 -3
  12. data/lib/telnyx/models/ai/transfer_tool.rb +9 -7
  13. data/lib/telnyx/models/ai_retrieve_models_response.rb +210 -3
  14. data/lib/telnyx/models/calls/action_gather_using_ai_params.rb +23 -4
  15. data/lib/telnyx/models/calls/action_gather_using_speak_params.rb +23 -4
  16. data/lib/telnyx/models/calls/action_speak_params.rb +23 -4
  17. data/lib/telnyx/models/calls/action_start_ai_assistant_params.rb +23 -4
  18. data/lib/telnyx/models/calls/action_start_conversation_relay_params.rb +491 -0
  19. data/lib/telnyx/models/calls/action_start_conversation_relay_response.rb +37 -0
  20. data/lib/telnyx/models/calls/action_stop_conversation_relay_params.rb +44 -0
  21. data/lib/telnyx/models/calls/action_stop_conversation_relay_response.rb +18 -0
  22. data/lib/telnyx/models/calls/transcription_start_request.rb +167 -5
  23. data/lib/telnyx/models/conferences/action_speak_params.rb +23 -4
  24. data/lib/telnyx/models/network_list_interfaces_response.rb +2 -112
  25. data/lib/telnyx/models/public_internet_gateway_create_response.rb +8 -3
  26. data/lib/telnyx/models/public_internet_gateway_delete_response.rb +8 -3
  27. data/lib/telnyx/models/public_internet_gateway_list_response.rb +10 -0
  28. data/lib/telnyx/models/public_internet_gateway_retrieve_response.rb +8 -3
  29. data/lib/telnyx/models/text_to_speech_generate_params.rb +6 -6
  30. data/lib/telnyx/models/uac_connection_create_params.rb +255 -9
  31. data/lib/telnyx/models/uac_connection_create_response.rb +878 -3
  32. data/lib/telnyx/models/uac_connection_delete_response.rb +878 -3
  33. data/lib/telnyx/models/uac_connection_list_response.rb +876 -0
  34. data/lib/telnyx/models/uac_connection_retrieve_response.rb +879 -3
  35. data/lib/telnyx/models/uac_connection_update_params.rb +255 -9
  36. data/lib/telnyx/models/uac_connection_update_response.rb +878 -3
  37. data/lib/telnyx/models/virtual_cross_connect_create_response.rb +8 -3
  38. data/lib/telnyx/models/virtual_cross_connect_delete_response.rb +8 -3
  39. data/lib/telnyx/models/virtual_cross_connect_list_response.rb +10 -0
  40. data/lib/telnyx/models/virtual_cross_connect_retrieve_response.rb +8 -3
  41. data/lib/telnyx/models/virtual_cross_connect_update_response.rb +8 -3
  42. data/lib/telnyx/models/wireguard_interface_create_response.rb +8 -3
  43. data/lib/telnyx/models/wireguard_interface_delete_response.rb +8 -3
  44. data/lib/telnyx/models/wireguard_interface_list_response.rb +10 -0
  45. data/lib/telnyx/models/wireguard_interface_retrieve_response.rb +8 -3
  46. data/lib/telnyx/models.rb +0 -20
  47. data/lib/telnyx/resources/ai/assistants/canary_deploys.rb +2 -2
  48. data/lib/telnyx/resources/ai/assistants/versions.rb +3 -3
  49. data/lib/telnyx/resources/ai/assistants.rb +6 -6
  50. data/lib/telnyx/resources/calls/actions.rb +101 -5
  51. data/lib/telnyx/resources/conferences/actions.rb +1 -1
  52. data/lib/telnyx/resources/public_internet_gateways.rb +2 -2
  53. data/lib/telnyx/resources/uac_connections.rb +8 -8
  54. data/lib/telnyx/resources/virtual_cross_connects.rb +2 -2
  55. data/lib/telnyx/resources/wireguard_interfaces.rb +2 -2
  56. data/lib/telnyx/version.rb +1 -1
  57. data/lib/telnyx.rb +8 -22
  58. data/rbi/telnyx/models/ai/assistant_create_params.rbi +352 -12
  59. data/rbi/telnyx/models/ai/assistant_tool.rbi +10 -10
  60. data/rbi/telnyx/models/ai/assistant_update_params.rbi +352 -12
  61. data/rbi/telnyx/models/ai/assistants/canary_deploy.rbi +290 -4
  62. data/rbi/telnyx/models/ai/assistants/canary_deploy_response.rbi +301 -3
  63. data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +366 -12
  64. data/rbi/telnyx/models/ai/inference_embedding.rbi +351 -12
  65. data/rbi/telnyx/models/ai/openai_list_models_response.rbi +315 -3
  66. data/rbi/telnyx/models/ai/transfer_tool.rbi +5 -5
  67. data/rbi/telnyx/models/ai_retrieve_models_response.rbi +310 -3
  68. data/rbi/telnyx/models/calls/action_gather_using_ai_params.rbi +41 -5
  69. data/rbi/telnyx/models/calls/action_gather_using_speak_params.rbi +41 -5
  70. data/rbi/telnyx/models/calls/action_speak_params.rbi +41 -5
  71. data/rbi/telnyx/models/calls/action_start_ai_assistant_params.rbi +41 -5
  72. data/rbi/telnyx/models/calls/action_start_conversation_relay_params.rbi +1075 -0
  73. data/rbi/telnyx/models/calls/action_start_conversation_relay_response.rbi +95 -0
  74. data/rbi/telnyx/models/calls/action_stop_conversation_relay_params.rbi +72 -0
  75. data/rbi/telnyx/models/calls/action_stop_conversation_relay_response.rbi +39 -0
  76. data/rbi/telnyx/models/calls/transcription_start_request.rbi +480 -10
  77. data/rbi/telnyx/models/conferences/action_speak_params.rbi +41 -5
  78. data/rbi/telnyx/models/network_list_interfaces_response.rbi +4 -181
  79. data/rbi/telnyx/models/public_internet_gateway_create_response.rbi +38 -6
  80. data/rbi/telnyx/models/public_internet_gateway_delete_response.rbi +38 -6
  81. data/rbi/telnyx/models/public_internet_gateway_list_response.rbi +23 -0
  82. data/rbi/telnyx/models/public_internet_gateway_retrieve_response.rbi +38 -6
  83. data/rbi/telnyx/models/text_to_speech_generate_params.rbi +6 -6
  84. data/rbi/telnyx/models/uac_connection_create_params.rbi +516 -12
  85. data/rbi/telnyx/models/uac_connection_create_response.rbi +1756 -4
  86. data/rbi/telnyx/models/uac_connection_delete_response.rbi +1756 -4
  87. data/rbi/telnyx/models/uac_connection_list_response.rbi +1727 -0
  88. data/rbi/telnyx/models/uac_connection_retrieve_response.rbi +1756 -4
  89. data/rbi/telnyx/models/uac_connection_update_params.rbi +516 -12
  90. data/rbi/telnyx/models/uac_connection_update_response.rbi +1756 -4
  91. data/rbi/telnyx/models/virtual_cross_connect_create_response.rbi +36 -6
  92. data/rbi/telnyx/models/virtual_cross_connect_delete_response.rbi +36 -6
  93. data/rbi/telnyx/models/virtual_cross_connect_list_response.rbi +23 -0
  94. data/rbi/telnyx/models/virtual_cross_connect_retrieve_response.rbi +38 -6
  95. data/rbi/telnyx/models/virtual_cross_connect_update_response.rbi +36 -6
  96. data/rbi/telnyx/models/wireguard_interface_create_response.rbi +36 -6
  97. data/rbi/telnyx/models/wireguard_interface_delete_response.rbi +36 -6
  98. data/rbi/telnyx/models/wireguard_interface_list_response.rbi +23 -0
  99. data/rbi/telnyx/models/wireguard_interface_retrieve_response.rbi +36 -6
  100. data/rbi/telnyx/models.rbi +0 -20
  101. data/rbi/telnyx/resources/ai/assistants/canary_deploys.rbi +4 -2
  102. data/rbi/telnyx/resources/ai/assistants/versions.rbi +9 -3
  103. data/rbi/telnyx/resources/ai/assistants.rbi +10 -6
  104. data/rbi/telnyx/resources/calls/actions.rbi +152 -6
  105. data/rbi/telnyx/resources/conferences/actions.rbi +1 -1
  106. data/rbi/telnyx/resources/public_internet_gateways.rbi +1 -1
  107. data/rbi/telnyx/resources/uac_connections.rbi +13 -7
  108. data/rbi/telnyx/resources/virtual_cross_connects.rbi +1 -1
  109. data/rbi/telnyx/resources/wireguard_interfaces.rbi +1 -1
  110. data/sig/telnyx/models/ai/assistant_create_params.rbs +149 -18
  111. data/sig/telnyx/models/ai/assistant_tool.rbs +8 -8
  112. data/sig/telnyx/models/ai/assistant_update_params.rbs +149 -18
  113. data/sig/telnyx/models/ai/assistants/canary_deploy.rbs +113 -6
  114. data/sig/telnyx/models/ai/assistants/canary_deploy_response.rbs +109 -4
  115. data/sig/telnyx/models/ai/assistants/update_assistant.rbs +152 -18
  116. data/sig/telnyx/models/ai/inference_embedding.rbs +149 -18
  117. data/sig/telnyx/models/ai/openai_list_models_response.rbs +149 -4
  118. data/sig/telnyx/models/ai/transfer_tool.rbs +4 -4
  119. data/sig/telnyx/models/ai_retrieve_models_response.rbs +149 -4
  120. data/sig/telnyx/models/calls/action_gather_using_ai_params.rbs +15 -1
  121. data/sig/telnyx/models/calls/action_gather_using_speak_params.rbs +15 -1
  122. data/sig/telnyx/models/calls/action_speak_params.rbs +15 -1
  123. data/sig/telnyx/models/calls/action_start_ai_assistant_params.rbs +15 -1
  124. data/sig/telnyx/models/calls/action_start_conversation_relay_params.rbs +416 -0
  125. data/sig/telnyx/models/calls/action_start_conversation_relay_response.rbs +45 -0
  126. data/sig/telnyx/models/calls/action_stop_conversation_relay_params.rbs +38 -0
  127. data/sig/telnyx/models/calls/action_stop_conversation_relay_response.rbs +20 -0
  128. data/sig/telnyx/models/calls/transcription_start_request.rbs +184 -2
  129. data/sig/telnyx/models/conferences/action_speak_params.rbs +15 -1
  130. data/sig/telnyx/models/network_list_interfaces_response.rbs +4 -106
  131. data/sig/telnyx/models/public_internet_gateway_create_response.rbs +18 -6
  132. data/sig/telnyx/models/public_internet_gateway_delete_response.rbs +18 -6
  133. data/sig/telnyx/models/public_internet_gateway_list_response.rbs +11 -0
  134. data/sig/telnyx/models/public_internet_gateway_retrieve_response.rbs +18 -6
  135. data/sig/telnyx/models/text_to_speech_generate_params.rbs +6 -6
  136. data/sig/telnyx/models/uac_connection_create_params.rbs +211 -17
  137. data/sig/telnyx/models/uac_connection_create_response.rbs +731 -5
  138. data/sig/telnyx/models/uac_connection_delete_response.rbs +731 -5
  139. data/sig/telnyx/models/uac_connection_list_response.rbs +722 -0
  140. data/sig/telnyx/models/uac_connection_retrieve_response.rbs +731 -5
  141. data/sig/telnyx/models/uac_connection_update_params.rbs +211 -17
  142. data/sig/telnyx/models/uac_connection_update_response.rbs +731 -5
  143. data/sig/telnyx/models/virtual_cross_connect_create_response.rbs +18 -6
  144. data/sig/telnyx/models/virtual_cross_connect_delete_response.rbs +18 -6
  145. data/sig/telnyx/models/virtual_cross_connect_list_response.rbs +11 -0
  146. data/sig/telnyx/models/virtual_cross_connect_retrieve_response.rbs +18 -6
  147. data/sig/telnyx/models/virtual_cross_connect_update_response.rbs +18 -6
  148. data/sig/telnyx/models/wireguard_interface_create_response.rbs +18 -6
  149. data/sig/telnyx/models/wireguard_interface_delete_response.rbs +18 -6
  150. data/sig/telnyx/models/wireguard_interface_list_response.rbs +11 -0
  151. data/sig/telnyx/models/wireguard_interface_retrieve_response.rbs +18 -6
  152. data/sig/telnyx/models.rbs +0 -20
  153. data/sig/telnyx/resources/ai/assistants/canary_deploys.rbs +2 -2
  154. data/sig/telnyx/resources/ai/assistants/versions.rbs +3 -3
  155. data/sig/telnyx/resources/ai/assistants.rbs +6 -6
  156. data/sig/telnyx/resources/calls/actions.rbs +29 -0
  157. data/sig/telnyx/resources/public_internet_gateways.rbs +1 -1
  158. data/sig/telnyx/resources/uac_connections.rbs +7 -7
  159. data/sig/telnyx/resources/virtual_cross_connects.rbs +1 -1
  160. data/sig/telnyx/resources/wireguard_interfaces.rbs +1 -1
  161. metadata +26 -68
  162. data/lib/telnyx/models/ai/assistant_integration.rb +0 -38
  163. data/lib/telnyx/models/ai/assistant_mcp_server.rb +0 -35
  164. data/lib/telnyx/models/ai/assistants/clause.rb +0 -54
  165. data/lib/telnyx/models/ai/assistants/rollout_slot.rb +0 -27
  166. data/lib/telnyx/models/ai/assistants/rule_input.rb +0 -40
  167. data/lib/telnyx/models/ai/assistants/rule_output.rb +0 -40
  168. data/lib/telnyx/models/ai/assistants/serve.rb +0 -33
  169. data/lib/telnyx/models/ai/inference_embedding_interruption_settings.rb +0 -47
  170. data/lib/telnyx/models/ai/start_speaking_plan.rb +0 -37
  171. data/lib/telnyx/models/ai/transcription_endpointing_plan.rb +0 -39
  172. data/lib/telnyx/models/calls/transcription_engine_assemblyai_config.rb +0 -64
  173. data/lib/telnyx/models/calls/transcription_engine_xai_config.rb +0 -108
  174. data/lib/telnyx/models/model_metadata.rb +0 -212
  175. data/lib/telnyx/models/public_internet_gateway_read.rb +0 -83
  176. data/lib/telnyx/models/uac_connection.rb +0 -412
  177. data/lib/telnyx/models/uac_external_settings.rb +0 -101
  178. data/lib/telnyx/models/uac_inbound.rb +0 -210
  179. data/lib/telnyx/models/uac_internal_settings.rb +0 -25
  180. data/lib/telnyx/models/uac_outbound.rb +0 -131
  181. data/lib/telnyx/models/virtual_cross_connect_combined.rb +0 -212
  182. data/lib/telnyx/models/wireguard_interface_read.rb +0 -136
  183. data/lib/telnyx/models/xai_voice_settings.rb +0 -36
  184. data/rbi/telnyx/models/ai/assistant_integration.rbi +0 -60
  185. data/rbi/telnyx/models/ai/assistant_mcp_server.rbi +0 -51
  186. data/rbi/telnyx/models/ai/assistants/clause.rbi +0 -91
  187. data/rbi/telnyx/models/ai/assistants/rollout_slot.rbi +0 -36
  188. data/rbi/telnyx/models/ai/assistants/rule_input.rbi +0 -73
  189. data/rbi/telnyx/models/ai/assistants/rule_output.rbi +0 -73
  190. data/rbi/telnyx/models/ai/assistants/serve.rbi +0 -61
  191. data/rbi/telnyx/models/ai/inference_embedding_interruption_settings.rbi +0 -83
  192. data/rbi/telnyx/models/ai/start_speaking_plan.rbi +0 -70
  193. data/rbi/telnyx/models/ai/transcription_endpointing_plan.rbi +0 -71
  194. data/rbi/telnyx/models/calls/transcription_engine_assemblyai_config.rbi +0 -155
  195. data/rbi/telnyx/models/calls/transcription_engine_xai_config.rbi +0 -329
  196. data/rbi/telnyx/models/model_metadata.rbi +0 -272
  197. data/rbi/telnyx/models/public_internet_gateway_read.rbi +0 -128
  198. data/rbi/telnyx/models/uac_connection.rbi +0 -684
  199. data/rbi/telnyx/models/uac_external_settings.rbi +0 -146
  200. data/rbi/telnyx/models/uac_inbound.rbi +0 -410
  201. data/rbi/telnyx/models/uac_internal_settings.rbi +0 -39
  202. data/rbi/telnyx/models/uac_outbound.rbi +0 -224
  203. data/rbi/telnyx/models/virtual_cross_connect_combined.rbi +0 -345
  204. data/rbi/telnyx/models/wireguard_interface_read.rbi +0 -213
  205. data/rbi/telnyx/models/xai_voice_settings.rbi +0 -64
  206. data/sig/telnyx/models/ai/assistant_integration.rbs +0 -26
  207. data/sig/telnyx/models/ai/assistant_mcp_server.rbs +0 -19
  208. data/sig/telnyx/models/ai/assistants/clause.rbs +0 -46
  209. data/sig/telnyx/models/ai/assistants/rollout_slot.rbs +0 -19
  210. data/sig/telnyx/models/ai/assistants/rule_input.rbs +0 -33
  211. data/sig/telnyx/models/ai/assistants/rule_output.rbs +0 -33
  212. data/sig/telnyx/models/ai/assistants/serve.rbs +0 -35
  213. data/sig/telnyx/models/ai/inference_embedding_interruption_settings.rbs +0 -40
  214. data/sig/telnyx/models/ai/start_speaking_plan.rbs +0 -33
  215. data/sig/telnyx/models/ai/transcription_endpointing_plan.rbs +0 -38
  216. data/sig/telnyx/models/calls/transcription_engine_assemblyai_config.rbs +0 -62
  217. data/sig/telnyx/models/calls/transcription_engine_xai_config.rbs +0 -130
  218. data/sig/telnyx/models/model_metadata.rbs +0 -142
  219. data/sig/telnyx/models/public_internet_gateway_read.rbs +0 -80
  220. data/sig/telnyx/models/uac_connection.rbs +0 -338
  221. data/sig/telnyx/models/uac_external_settings.rbs +0 -73
  222. data/sig/telnyx/models/uac_inbound.rbs +0 -190
  223. data/sig/telnyx/models/uac_internal_settings.rbs +0 -15
  224. data/sig/telnyx/models/uac_outbound.rbs +0 -113
  225. data/sig/telnyx/models/virtual_cross_connect_combined.rbs +0 -190
  226. data/sig/telnyx/models/wireguard_interface_read.rbs +0 -127
  227. data/sig/telnyx/models/xai_voice_settings.rbs +0 -34
@@ -6,11 +6,16 @@ module Telnyx
6
6
  class VirtualCrossConnectCreateResponse < Telnyx::Internal::Type::BaseModel
7
7
  # @!attribute data
8
8
  #
9
- # @return [Telnyx::Models::VirtualCrossConnectCombined, nil]
10
- optional :data, -> { Telnyx::VirtualCrossConnectCombined }
9
+ # @return [Telnyx::Models::VirtualCrossConnectCreateResponse::Data, nil]
10
+ optional :data, -> { Telnyx::Models::VirtualCrossConnectCreateResponse::Data }
11
11
 
12
12
  # @!method initialize(data: nil)
13
- # @param data [Telnyx::Models::VirtualCrossConnectCombined]
13
+ # @param data [Telnyx::Models::VirtualCrossConnectCreateResponse::Data]
14
+
15
+ # @see Telnyx::Models::VirtualCrossConnectCreateResponse#data
16
+ class Data < Telnyx::Models::Record
17
+ # @!method initialize
18
+ end
14
19
  end
15
20
  end
16
21
  end
@@ -6,11 +6,16 @@ module Telnyx
6
6
  class VirtualCrossConnectDeleteResponse < Telnyx::Internal::Type::BaseModel
7
7
  # @!attribute data
8
8
  #
9
- # @return [Telnyx::Models::VirtualCrossConnectCombined, nil]
10
- optional :data, -> { Telnyx::VirtualCrossConnectCombined }
9
+ # @return [Telnyx::Models::VirtualCrossConnectDeleteResponse::Data, nil]
10
+ optional :data, -> { Telnyx::Models::VirtualCrossConnectDeleteResponse::Data }
11
11
 
12
12
  # @!method initialize(data: nil)
13
- # @param data [Telnyx::Models::VirtualCrossConnectCombined]
13
+ # @param data [Telnyx::Models::VirtualCrossConnectDeleteResponse::Data]
14
+
15
+ # @see Telnyx::Models::VirtualCrossConnectDeleteResponse#data
16
+ class Data < Telnyx::Models::Record
17
+ # @!method initialize
18
+ end
14
19
  end
15
20
  end
16
21
  end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Telnyx
4
+ module Models
5
+ # @see Telnyx::Resources::VirtualCrossConnects#list
6
+ class VirtualCrossConnectListResponse < Telnyx::Models::Record
7
+ # @!method initialize
8
+ end
9
+ end
10
+ end
@@ -6,11 +6,16 @@ module Telnyx
6
6
  class VirtualCrossConnectRetrieveResponse < Telnyx::Internal::Type::BaseModel
7
7
  # @!attribute data
8
8
  #
9
- # @return [Telnyx::Models::VirtualCrossConnectCombined, nil]
10
- optional :data, -> { Telnyx::VirtualCrossConnectCombined }
9
+ # @return [Telnyx::Models::VirtualCrossConnectRetrieveResponse::Data, nil]
10
+ optional :data, -> { Telnyx::Models::VirtualCrossConnectRetrieveResponse::Data }
11
11
 
12
12
  # @!method initialize(data: nil)
13
- # @param data [Telnyx::Models::VirtualCrossConnectCombined]
13
+ # @param data [Telnyx::Models::VirtualCrossConnectRetrieveResponse::Data]
14
+
15
+ # @see Telnyx::Models::VirtualCrossConnectRetrieveResponse#data
16
+ class Data < Telnyx::Models::Record
17
+ # @!method initialize
18
+ end
14
19
  end
15
20
  end
16
21
  end
@@ -6,11 +6,16 @@ module Telnyx
6
6
  class VirtualCrossConnectUpdateResponse < Telnyx::Internal::Type::BaseModel
7
7
  # @!attribute data
8
8
  #
9
- # @return [Telnyx::Models::VirtualCrossConnectCombined, nil]
10
- optional :data, -> { Telnyx::VirtualCrossConnectCombined }
9
+ # @return [Telnyx::Models::VirtualCrossConnectUpdateResponse::Data, nil]
10
+ optional :data, -> { Telnyx::Models::VirtualCrossConnectUpdateResponse::Data }
11
11
 
12
12
  # @!method initialize(data: nil)
13
- # @param data [Telnyx::Models::VirtualCrossConnectCombined]
13
+ # @param data [Telnyx::Models::VirtualCrossConnectUpdateResponse::Data]
14
+
15
+ # @see Telnyx::Models::VirtualCrossConnectUpdateResponse#data
16
+ class Data < Telnyx::Models::Record
17
+ # @!method initialize
18
+ end
14
19
  end
15
20
  end
16
21
  end
@@ -6,11 +6,16 @@ module Telnyx
6
6
  class WireguardInterfaceCreateResponse < Telnyx::Internal::Type::BaseModel
7
7
  # @!attribute data
8
8
  #
9
- # @return [Telnyx::Models::WireguardInterfaceRead, nil]
10
- optional :data, -> { Telnyx::WireguardInterfaceRead }
9
+ # @return [Telnyx::Models::WireguardInterfaceCreateResponse::Data, nil]
10
+ optional :data, -> { Telnyx::Models::WireguardInterfaceCreateResponse::Data }
11
11
 
12
12
  # @!method initialize(data: nil)
13
- # @param data [Telnyx::Models::WireguardInterfaceRead]
13
+ # @param data [Telnyx::Models::WireguardInterfaceCreateResponse::Data]
14
+
15
+ # @see Telnyx::Models::WireguardInterfaceCreateResponse#data
16
+ class Data < Telnyx::Models::Record
17
+ # @!method initialize
18
+ end
14
19
  end
15
20
  end
16
21
  end
@@ -6,11 +6,16 @@ module Telnyx
6
6
  class WireguardInterfaceDeleteResponse < Telnyx::Internal::Type::BaseModel
7
7
  # @!attribute data
8
8
  #
9
- # @return [Telnyx::Models::WireguardInterfaceRead, nil]
10
- optional :data, -> { Telnyx::WireguardInterfaceRead }
9
+ # @return [Telnyx::Models::WireguardInterfaceDeleteResponse::Data, nil]
10
+ optional :data, -> { Telnyx::Models::WireguardInterfaceDeleteResponse::Data }
11
11
 
12
12
  # @!method initialize(data: nil)
13
- # @param data [Telnyx::Models::WireguardInterfaceRead]
13
+ # @param data [Telnyx::Models::WireguardInterfaceDeleteResponse::Data]
14
+
15
+ # @see Telnyx::Models::WireguardInterfaceDeleteResponse#data
16
+ class Data < Telnyx::Models::Record
17
+ # @!method initialize
18
+ end
14
19
  end
15
20
  end
16
21
  end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Telnyx
4
+ module Models
5
+ # @see Telnyx::Resources::WireguardInterfaces#list
6
+ class WireguardInterfaceListResponse < Telnyx::Models::Record
7
+ # @!method initialize
8
+ end
9
+ end
10
+ end
@@ -6,11 +6,16 @@ module Telnyx
6
6
  class WireguardInterfaceRetrieveResponse < Telnyx::Internal::Type::BaseModel
7
7
  # @!attribute data
8
8
  #
9
- # @return [Telnyx::Models::WireguardInterfaceRead, nil]
10
- optional :data, -> { Telnyx::WireguardInterfaceRead }
9
+ # @return [Telnyx::Models::WireguardInterfaceRetrieveResponse::Data, nil]
10
+ optional :data, -> { Telnyx::Models::WireguardInterfaceRetrieveResponse::Data }
11
11
 
12
12
  # @!method initialize(data: nil)
13
- # @param data [Telnyx::Models::WireguardInterfaceRead]
13
+ # @param data [Telnyx::Models::WireguardInterfaceRetrieveResponse::Data]
14
+
15
+ # @see Telnyx::Models::WireguardInterfaceRetrieveResponse#data
16
+ class Data < Telnyx::Models::Record
17
+ # @!method initialize
18
+ end
14
19
  end
15
20
  end
16
21
  end
data/lib/telnyx/models.rb CHANGED
@@ -966,8 +966,6 @@ module Telnyx
966
966
 
967
967
  MobileVoiceConnectionUpdateParams = Telnyx::Models::MobileVoiceConnectionUpdateParams
968
968
 
969
- ModelMetadata = Telnyx::Models::ModelMetadata
970
-
971
969
  MonthDetail = Telnyx::Models::MonthDetail
972
970
 
973
971
  NetappsLocation = Telnyx::Models::NetappsLocation
@@ -1289,8 +1287,6 @@ module Telnyx
1289
1287
 
1290
1288
  PublicInternetGatewayListParams = Telnyx::Models::PublicInternetGatewayListParams
1291
1289
 
1292
- PublicInternetGatewayRead = Telnyx::Models::PublicInternetGatewayRead
1293
-
1294
1290
  PublicInternetGatewayRetrieveParams = Telnyx::Models::PublicInternetGatewayRetrieveParams
1295
1291
 
1296
1292
  PushCredential = Telnyx::Models::PushCredential
@@ -1632,8 +1628,6 @@ module Telnyx
1632
1628
 
1633
1629
  TransportProtocol = Telnyx::Models::TransportProtocol
1634
1630
 
1635
- UacConnection = Telnyx::Models::UacConnection
1636
-
1637
1631
  UacConnectionCreateParams = Telnyx::Models::UacConnectionCreateParams
1638
1632
 
1639
1633
  UacConnectionDeleteParams = Telnyx::Models::UacConnectionDeleteParams
@@ -1646,14 +1640,6 @@ module Telnyx
1646
1640
 
1647
1641
  UacConnectionUpdateParams = Telnyx::Models::UacConnectionUpdateParams
1648
1642
 
1649
- UacExternalSettings = Telnyx::Models::UacExternalSettings
1650
-
1651
- UacInbound = Telnyx::Models::UacInbound
1652
-
1653
- UacInternalSettings = Telnyx::Models::UacInternalSettings
1654
-
1655
- UacOutbound = Telnyx::Models::UacOutbound
1656
-
1657
1643
  UnsafeUnwrapWebhookEvent = Telnyx::Models::UnsafeUnwrapWebhookEvent
1658
1644
 
1659
1645
  UnwrapWebhookEvent = Telnyx::Models::UnwrapWebhookEvent
@@ -1733,8 +1719,6 @@ module Telnyx
1733
1719
 
1734
1720
  VideoRegion = Telnyx::Models::VideoRegion
1735
1721
 
1736
- VirtualCrossConnectCombined = Telnyx::Models::VirtualCrossConnectCombined
1737
-
1738
1722
  VirtualCrossConnectCreateParams = Telnyx::Models::VirtualCrossConnectCreateParams
1739
1723
 
1740
1724
  VirtualCrossConnectDeleteParams = Telnyx::Models::VirtualCrossConnectDeleteParams
@@ -1821,8 +1805,6 @@ module Telnyx
1821
1805
 
1822
1806
  WireguardInterfaceListParams = Telnyx::Models::WireguardInterfaceListParams
1823
1807
 
1824
- WireguardInterfaceRead = Telnyx::Models::WireguardInterfaceRead
1825
-
1826
1808
  WireguardInterfaceRetrieveParams = Telnyx::Models::WireguardInterfaceRetrieveParams
1827
1809
 
1828
1810
  WireguardPeerCreateParams = Telnyx::Models::WireguardPeerCreateParams
@@ -1860,6 +1842,4 @@ module Telnyx
1860
1842
  WirelessRetrieveRegionsParams = Telnyx::Models::WirelessRetrieveRegionsParams
1861
1843
 
1862
1844
  X402 = Telnyx::Models::X402
1863
-
1864
- XaiVoiceSettings = Telnyx::Models::XaiVoiceSettings
1865
1845
  end
@@ -14,7 +14,7 @@ module Telnyx
14
14
  # @overload create(assistant_id, rules: nil, request_options: {})
15
15
  #
16
16
  # @param assistant_id [String]
17
- # @param rules [Array<Telnyx::Models::AI::Assistants::RuleInput>]
17
+ # @param rules [Array<Telnyx::Models::AI::Assistants::CanaryDeploy::Rule>]
18
18
  # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
19
19
  #
20
20
  # @return [Telnyx::Models::AI::Assistants::CanaryDeployResponse]
@@ -62,7 +62,7 @@ module Telnyx
62
62
  # @overload update(assistant_id, rules: nil, request_options: {})
63
63
  #
64
64
  # @param assistant_id [String]
65
- # @param rules [Array<Telnyx::Models::AI::Assistants::RuleInput>]
65
+ # @param rules [Array<Telnyx::Models::AI::Assistants::CanaryDeploy::Rule>]
66
66
  # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
67
67
  #
68
68
  # @return [Telnyx::Models::AI::Assistants::CanaryDeployResponse]
@@ -69,13 +69,13 @@ module Telnyx
69
69
  #
70
70
  # @param instructions [String] Body param: System instructions for the assistant. These may be templated with [
71
71
  #
72
- # @param integrations [Array<Telnyx::Models::AI::AssistantIntegration>] Body param: Connected integrations attached to the assistant. The catalog of ava
72
+ # @param integrations [Array<Telnyx::Models::AI::Assistants::UpdateAssistant::Integration>] Body param: Connected integrations attached to the assistant. The catalog of ava
73
73
  #
74
- # @param interruption_settings [Telnyx::Models::AI::InferenceEmbeddingInterruptionSettings] Body param: Settings for interruptions and how the assistant decides the user ha
74
+ # @param interruption_settings [Telnyx::Models::AI::Assistants::UpdateAssistant::InterruptionSettings] Body param: Settings for interruptions and how the assistant decides the user ha
75
75
  #
76
76
  # @param llm_api_key_ref [String] Body param: This is only needed when using third-party inference providers selec
77
77
  #
78
- # @param mcp_servers [Array<Telnyx::Models::AI::AssistantMcpServer>] Body param: MCP servers attached to the assistant. Create MCP servers with `/ai/
78
+ # @param mcp_servers [Array<Telnyx::Models::AI::Assistants::UpdateAssistant::McpServer>] Body param: MCP servers attached to the assistant. Create MCP servers with `/ai/
79
79
  #
80
80
  # @param messaging_settings [Telnyx::Models::AI::MessagingSettings] Body param
81
81
  #
@@ -58,13 +58,13 @@ module Telnyx
58
58
  #
59
59
  # @param insight_settings [Telnyx::Models::AI::InsightSettings]
60
60
  #
61
- # @param integrations [Array<Telnyx::Models::AI::AssistantIntegration>] Connected integrations attached to the assistant. The catalog of available integ
61
+ # @param integrations [Array<Telnyx::Models::AI::AssistantCreateParams::Integration>] Connected integrations attached to the assistant. The catalog of available integ
62
62
  #
63
- # @param interruption_settings [Telnyx::Models::AI::InferenceEmbeddingInterruptionSettings] Settings for interruptions and how the assistant decides the user has finished s
63
+ # @param interruption_settings [Telnyx::Models::AI::AssistantCreateParams::InterruptionSettings] Settings for interruptions and how the assistant decides the user has finished s
64
64
  #
65
65
  # @param llm_api_key_ref [String] This is only needed when using third-party inference providers selected by `mode
66
66
  #
67
- # @param mcp_servers [Array<Telnyx::Models::AI::AssistantMcpServer>] MCP servers attached to the assistant. Create MCP servers with `/ai/mcp_servers`
67
+ # @param mcp_servers [Array<Telnyx::Models::AI::AssistantCreateParams::McpServer>] MCP servers attached to the assistant. Create MCP servers with `/ai/mcp_servers`
68
68
  #
69
69
  # @param messaging_settings [Telnyx::Models::AI::MessagingSettings]
70
70
  #
@@ -161,13 +161,13 @@ module Telnyx
161
161
  #
162
162
  # @param instructions [String] System instructions for the assistant. These may be templated with [dynamic vari
163
163
  #
164
- # @param integrations [Array<Telnyx::Models::AI::AssistantIntegration>] Connected integrations attached to the assistant. The catalog of available integ
164
+ # @param integrations [Array<Telnyx::Models::AI::AssistantUpdateParams::Integration>] Connected integrations attached to the assistant. The catalog of available integ
165
165
  #
166
- # @param interruption_settings [Telnyx::Models::AI::InferenceEmbeddingInterruptionSettings] Settings for interruptions and how the assistant decides the user has finished s
166
+ # @param interruption_settings [Telnyx::Models::AI::AssistantUpdateParams::InterruptionSettings] Settings for interruptions and how the assistant decides the user has finished s
167
167
  #
168
168
  # @param llm_api_key_ref [String] This is only needed when using third-party inference providers selected by `mode
169
169
  #
170
- # @param mcp_servers [Array<Telnyx::Models::AI::AssistantMcpServer>] MCP servers attached to the assistant. Create MCP servers with `/ai/mcp_servers`
170
+ # @param mcp_servers [Array<Telnyx::Models::AI::AssistantUpdateParams::McpServer>] MCP servers attached to the assistant. Create MCP servers with `/ai/mcp_servers`
171
171
  #
172
172
  # @param messaging_settings [Telnyx::Models::AI::MessagingSettings]
173
173
  #
@@ -347,7 +347,7 @@ module Telnyx
347
347
  #
348
348
  # @param voice [String] The voice to be used by the voice assistant. Currently we support ElevenLabs, Te
349
349
  #
350
- # @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::XaiVoiceSettings] The settings associated with the voice selected
350
+ # @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionGatherUsingAIParams::VoiceSettings::Xai] The settings associated with the voice selected
351
351
  #
352
352
  # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
353
353
  #
@@ -480,7 +480,7 @@ module Telnyx
480
480
  #
481
481
  # @param valid_digits [String] A list of all digits accepted as valid.
482
482
  #
483
- # @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld, Telnyx::Models::XaiVoiceSettings] The settings associated with the voice selected
483
+ # @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld, Telnyx::Models::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Xai] The settings associated with the voice selected
484
484
  #
485
485
  # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
486
486
  #
@@ -860,7 +860,7 @@ module Telnyx
860
860
  #
861
861
  # @param target_legs [Symbol, Telnyx::Models::Calls::ActionSpeakParams::TargetLegs] Specifies which legs of the call should receive the spoken audio.
862
862
  #
863
- # @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Inworld, Telnyx::Models::XaiVoiceSettings] The settings associated with the voice selected
863
+ # @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Inworld, Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Xai] The settings associated with the voice selected
864
864
  #
865
865
  # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
866
866
  #
@@ -912,7 +912,7 @@ module Telnyx
912
912
  #
913
913
  # @param voice [String] The voice to be used by the voice assistant. Currently we support ElevenLabs, Te
914
914
  #
915
- # @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::XaiVoiceSettings] The settings associated with the voice selected
915
+ # @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionStartAIAssistantParams::VoiceSettings::Xai] The settings associated with the voice selected
916
916
  #
917
917
  # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
918
918
  #
@@ -930,6 +930,73 @@ module Telnyx
930
930
  )
931
931
  end
932
932
 
933
+ # Some parameter documentations has been truncated, see
934
+ # {Telnyx::Models::Calls::ActionStartConversationRelayParams} for more details.
935
+ #
936
+ # Start a Conversation Relay session on an active call. Conversation Relay
937
+ # connects the call audio to your WebSocket so your application can exchange
938
+ # realtime messages with the caller while Telnyx handles speech recognition and
939
+ # text-to-speech. Only one AI Assistant or Conversation Relay session can be
940
+ # active on a call at a time.
941
+ #
942
+ # **Expected Webhooks:**
943
+ #
944
+ # - `conversation_relay.disconnected`
945
+ #
946
+ # @overload start_conversation_relay(call_control_id, conversation_relay_url:, assistant: nil, client_state: nil, command_id: nil, conversation_relay_dtmf_detection: nil, greeting: nil, interruption_settings: nil, language: nil, languages: nil, participants: nil, send_message_history_updates: nil, transcription: nil, transcription_language: nil, tts_language: nil, user_response_timeout_ms: nil, voice: nil, voice_settings: nil, request_options: {})
947
+ #
948
+ # @param call_control_id [String] Unique identifier and token for controlling the call
949
+ #
950
+ # @param conversation_relay_url [String] WebSocket URL for your Conversation Relay server. Must start with `ws://` or `ws
951
+ #
952
+ # @param assistant [Telnyx::Models::Calls::ActionStartConversationRelayParams::Assistant] Custom parameters for the Conversation Relay session. Pass key-value data as `as
953
+ #
954
+ # @param client_state [String] Use this field to add state to subsequent webhooks. It must be a valid Base-64 e
955
+ #
956
+ # @param command_id [String] Use this field to avoid duplicate commands. Telnyx will ignore any command with
957
+ #
958
+ # @param conversation_relay_dtmf_detection [Boolean] Enable DTMF detection for the relay session.
959
+ #
960
+ # @param greeting [String] Text played when the relay session starts.
961
+ #
962
+ # @param interruption_settings [Telnyx::Models::Calls::ActionStartConversationRelayParams::InterruptionSettings] Settings for handling caller interruptions during Conversation Relay speech.
963
+ #
964
+ # @param language [String] Default language for the relay session. This value is used for both text-to-spee
965
+ #
966
+ # @param languages [Array<Telnyx::Models::Calls::ActionStartConversationRelayParams::Language>] Language-specific TTS and transcription settings. Use this when the relay sessio
967
+ #
968
+ # @param participants [Array<Telnyx::Models::Calls::ActionStartConversationRelayParams::Participant>] Participants to add to the conversation.
969
+ #
970
+ # @param send_message_history_updates [Boolean] When true, sends message history update webhooks.
971
+ #
972
+ # @param transcription [Telnyx::Models::Calls::ActionStartConversationRelayParams::Transcription] Speech-to-text settings for Conversation Relay.
973
+ #
974
+ # @param transcription_language [String] Language to use for speech recognition. Overrides `language` for transcription w
975
+ #
976
+ # @param tts_language [String] Language to use for text-to-speech. Overrides `language` for TTS when provided.
977
+ #
978
+ # @param user_response_timeout_ms [Integer] Time in milliseconds to wait for caller input before timing out.
979
+ #
980
+ # @param voice [String] The voice to be used by the voice assistant. Currently we support ElevenLabs, Te
981
+ #
982
+ # @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionStartConversationRelayParams::VoiceSettings::Xai] The settings associated with the voice selected
983
+ #
984
+ # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
985
+ #
986
+ # @return [Telnyx::Models::Calls::ActionStartConversationRelayResponse]
987
+ #
988
+ # @see Telnyx::Models::Calls::ActionStartConversationRelayParams
989
+ def start_conversation_relay(call_control_id, params)
990
+ parsed, options = Telnyx::Calls::ActionStartConversationRelayParams.dump_request(params)
991
+ @client.request(
992
+ method: :post,
993
+ path: ["calls/%1$s/actions/conversation_relay_start", call_control_id],
994
+ body: parsed,
995
+ model: Telnyx::Models::Calls::ActionStartConversationRelayResponse,
996
+ options: options
997
+ )
998
+ end
999
+
933
1000
  # Some parameter documentations has been truncated, see
934
1001
  # {Telnyx::Models::Calls::ActionStartForkingParams} for more details.
935
1002
  #
@@ -1256,7 +1323,7 @@ module Telnyx
1256
1323
  #
1257
1324
  # @param transcription_engine [Symbol, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngine] Engine to use for speech recognition. Legacy values `A` - `Google`, `B` - `Telny
1258
1325
  #
1259
- # @param transcription_engine_config [Telnyx::Models::Calls::TranscriptionEngineGoogleConfig, Telnyx::Models::Calls::TranscriptionEngineTelnyxConfig, Telnyx::Models::Calls::TranscriptionEngineAzureConfig, Telnyx::Models::Calls::TranscriptionEngineXaiConfig, Telnyx::Models::Calls::TranscriptionEngineAssemblyaiConfig, Telnyx::Models::Calls::TranscriptionEngineAConfig, Telnyx::Models::Calls::TranscriptionEngineBConfig, Telnyx::Models::Calls::DeepgramNova2Config, Telnyx::Models::Calls::DeepgramNova3Config]
1326
+ # @param transcription_engine_config [Telnyx::Models::Calls::TranscriptionEngineGoogleConfig, Telnyx::Models::Calls::TranscriptionEngineTelnyxConfig, Telnyx::Models::Calls::TranscriptionEngineAzureConfig, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::XAI, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::AssemblyAI, Telnyx::Models::Calls::TranscriptionEngineAConfig, Telnyx::Models::Calls::TranscriptionEngineBConfig, Telnyx::Models::Calls::DeepgramNova2Config, Telnyx::Models::Calls::DeepgramNova3Config]
1260
1327
  #
1261
1328
  # @param transcription_tracks [String] Indicates which leg of the call will be transcribed. Use `inbound` for the leg t
1262
1329
  #
@@ -1305,6 +1372,35 @@ module Telnyx
1305
1372
  )
1306
1373
  end
1307
1374
 
1375
+ # Some parameter documentations has been truncated, see
1376
+ # {Telnyx::Models::Calls::ActionStopConversationRelayParams} for more details.
1377
+ #
1378
+ # Stop the active Conversation Relay session on a call.
1379
+ #
1380
+ # @overload stop_conversation_relay(call_control_id, client_state: nil, command_id: nil, request_options: {})
1381
+ #
1382
+ # @param call_control_id [String] Unique identifier and token for controlling the call
1383
+ #
1384
+ # @param client_state [String] Use this field to add state to subsequent webhooks. It must be a valid Base-64 e
1385
+ #
1386
+ # @param command_id [String] Use this field to avoid duplicate commands. Telnyx will ignore any command with
1387
+ #
1388
+ # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
1389
+ #
1390
+ # @return [Telnyx::Models::Calls::ActionStopConversationRelayResponse]
1391
+ #
1392
+ # @see Telnyx::Models::Calls::ActionStopConversationRelayParams
1393
+ def stop_conversation_relay(call_control_id, params = {})
1394
+ parsed, options = Telnyx::Calls::ActionStopConversationRelayParams.dump_request(params)
1395
+ @client.request(
1396
+ method: :post,
1397
+ path: ["calls/%1$s/actions/conversation_relay_stop", call_control_id],
1398
+ body: parsed,
1399
+ model: Telnyx::Models::Calls::ActionStopConversationRelayResponse,
1400
+ options: options
1401
+ )
1402
+ end
1403
+
1308
1404
  # Some parameter documentations has been truncated, see
1309
1405
  # {Telnyx::Models::Calls::ActionStopForkingParams} for more details.
1310
1406
  #
@@ -520,7 +520,7 @@ module Telnyx
520
520
  #
521
521
  # @param region [Symbol, Telnyx::Models::Conferences::ActionSpeakParams::Region] Region where the conference data is located. Defaults to the region defined in u
522
522
  #
523
- # @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Inworld, Telnyx::Models::XaiVoiceSettings] The settings associated with the voice selected
523
+ # @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Inworld, Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Xai] The settings associated with the voice selected
524
524
  #
525
525
  # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
526
526
  #
@@ -65,7 +65,7 @@ module Telnyx
65
65
  #
66
66
  # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
67
67
  #
68
- # @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::PublicInternetGatewayRead>]
68
+ # @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::PublicInternetGatewayListResponse>]
69
69
  #
70
70
  # @see Telnyx::Models::PublicInternetGatewayListParams
71
71
  def list(params = {})
@@ -76,7 +76,7 @@ module Telnyx
76
76
  path: "public_internet_gateways",
77
77
  query: query.transform_keys(page_number: "page[number]", page_size: "page[size]"),
78
78
  page: Telnyx::Internal::DefaultFlatPagination,
79
- model: Telnyx::PublicInternetGatewayRead,
79
+ model: Telnyx::Models::PublicInternetGatewayListResponse,
80
80
  options: options
81
81
  )
82
82
  end
@@ -36,11 +36,11 @@ module Telnyx
36
36
  #
37
37
  # @param encrypted_media [Symbol, Telnyx::Models::EncryptedMedia, nil] Enable use of SRTP for encryption. Cannot be set if the transport_portocol is TL
38
38
  #
39
- # @param external_uac_settings [Telnyx::Models::UacExternalSettings] External SIP peer settings used by Telnyx when registering to your PBX and routi
39
+ # @param external_uac_settings [Telnyx::Models::UacConnectionCreateParams::ExternalUacSettings] External SIP peer settings used by Telnyx when registering to your PBX and routi
40
40
  #
41
41
  # @param inbound [Telnyx::Models::UacConnectionCreateParams::Inbound] Inbound settings that can be supplied when creating or updating a UAC connection
42
42
  #
43
- # @param internal_uac_settings [Telnyx::Models::UacInternalSettings] Internal Telnyx-side settings for a UAC connection.
43
+ # @param internal_uac_settings [Telnyx::Models::UacConnectionCreateParams::InternalUacSettings] Internal Telnyx-side settings for a UAC connection.
44
44
  #
45
45
  # @param ios_push_credential_id [String, nil] The uuid of the push credential for Ios
46
46
  #
@@ -52,7 +52,7 @@ module Telnyx
52
52
  #
53
53
  # @param onnet_t38_passthrough_enabled [Boolean] Enable on-net T38 if you prefer the sender and receiver negotiating T38 directly
54
54
  #
55
- # @param outbound [Telnyx::Models::UacOutbound]
55
+ # @param outbound [Telnyx::Models::UacConnectionCreateParams::Outbound]
56
56
  #
57
57
  # @param password [String] The password to be used as part of the credentials. Must be 8 to 128 characters
58
58
  #
@@ -135,11 +135,11 @@ module Telnyx
135
135
  #
136
136
  # @param encrypted_media [Symbol, Telnyx::Models::EncryptedMedia, nil] Enable use of SRTP for encryption. Cannot be set if the transport_portocol is TL
137
137
  #
138
- # @param external_uac_settings [Telnyx::Models::UacExternalSettings] External SIP peer settings used by Telnyx when registering to your PBX and routi
138
+ # @param external_uac_settings [Telnyx::Models::UacConnectionUpdateParams::ExternalUacSettings] External SIP peer settings used by Telnyx when registering to your PBX and routi
139
139
  #
140
140
  # @param inbound [Telnyx::Models::UacConnectionUpdateParams::Inbound] Inbound settings that can be supplied when creating or updating a UAC connection
141
141
  #
142
- # @param internal_uac_settings [Telnyx::Models::UacInternalSettings] Internal Telnyx-side settings for a UAC connection.
142
+ # @param internal_uac_settings [Telnyx::Models::UacConnectionUpdateParams::InternalUacSettings] Internal Telnyx-side settings for a UAC connection.
143
143
  #
144
144
  # @param ios_push_credential_id [String, nil] The uuid of the push credential for Ios
145
145
  #
@@ -151,7 +151,7 @@ module Telnyx
151
151
  #
152
152
  # @param onnet_t38_passthrough_enabled [Boolean] Enable on-net T38 if you prefer the sender and receiver negotiating T38 directly
153
153
  #
154
- # @param outbound [Telnyx::Models::UacOutbound]
154
+ # @param outbound [Telnyx::Models::UacConnectionUpdateParams::Outbound]
155
155
  #
156
156
  # @param password [String] The password to be used as part of the credentials. Must be 8 to 128 characters
157
157
  #
@@ -208,7 +208,7 @@ module Telnyx
208
208
  #
209
209
  # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
210
210
  #
211
- # @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::UacConnection>]
211
+ # @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::UacConnectionListResponse>]
212
212
  #
213
213
  # @see Telnyx::Models::UacConnectionListParams
214
214
  def list(params = {})
@@ -219,7 +219,7 @@ module Telnyx
219
219
  path: "uac_connections",
220
220
  query: query.transform_keys(page_number: "page[number]", page_size: "page[size]"),
221
221
  page: Telnyx::Internal::DefaultFlatPagination,
222
- model: Telnyx::UacConnection,
222
+ model: Telnyx::Models::UacConnectionListResponse,
223
223
  options: options
224
224
  )
225
225
  end
@@ -140,7 +140,7 @@ module Telnyx
140
140
  #
141
141
  # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
142
142
  #
143
- # @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::VirtualCrossConnectCombined>]
143
+ # @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::VirtualCrossConnectListResponse>]
144
144
  #
145
145
  # @see Telnyx::Models::VirtualCrossConnectListParams
146
146
  def list(params = {})
@@ -151,7 +151,7 @@ module Telnyx
151
151
  path: "virtual_cross_connects",
152
152
  query: query.transform_keys(page_number: "page[number]", page_size: "page[size]"),
153
153
  page: Telnyx::Internal::DefaultFlatPagination,
154
- model: Telnyx::VirtualCrossConnectCombined,
154
+ model: Telnyx::Models::VirtualCrossConnectListResponse,
155
155
  options: options
156
156
  )
157
157
  end
@@ -68,7 +68,7 @@ module Telnyx
68
68
  #
69
69
  # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
70
70
  #
71
- # @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::WireguardInterfaceRead>]
71
+ # @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::WireguardInterfaceListResponse>]
72
72
  #
73
73
  # @see Telnyx::Models::WireguardInterfaceListParams
74
74
  def list(params = {})
@@ -79,7 +79,7 @@ module Telnyx
79
79
  path: "wireguard_interfaces",
80
80
  query: query.transform_keys(page_number: "page[number]", page_size: "page[size]"),
81
81
  page: Telnyx::Internal::DefaultFlatPagination,
82
- model: Telnyx::WireguardInterfaceRead,
82
+ model: Telnyx::Models::WireguardInterfaceListResponse,
83
83
  options: options
84
84
  )
85
85
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Telnyx
4
- VERSION = "5.111.0"
4
+ VERSION = "5.112.0"
5
5
  end