telnyx 5.112.0 → 5.113.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 (261) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +17 -0
  3. data/README.md +1 -1
  4. data/lib/telnyx/models/ai/assistant_create_params.rb +9 -178
  5. data/lib/telnyx/models/ai/assistant_integration.rb +38 -0
  6. data/lib/telnyx/models/ai/assistant_mcp_server.rb +35 -0
  7. data/lib/telnyx/models/ai/assistant_tool.rb +14 -14
  8. data/lib/telnyx/models/ai/assistant_update_params.rb +9 -178
  9. data/lib/telnyx/models/ai/assistants/canary_deploy.rb +3 -123
  10. data/lib/telnyx/models/ai/assistants/canary_deploy_response.rb +3 -125
  11. data/lib/telnyx/models/ai/assistants/clause.rb +54 -0
  12. data/lib/telnyx/models/ai/assistants/rollout_slot.rb +27 -0
  13. data/lib/telnyx/models/ai/assistants/rule_input.rb +40 -0
  14. data/lib/telnyx/models/ai/assistants/rule_output.rb +40 -0
  15. data/lib/telnyx/models/ai/assistants/serve.rb +33 -0
  16. data/lib/telnyx/models/ai/assistants/update_assistant.rb +9 -179
  17. data/lib/telnyx/models/ai/inference_embedding.rb +9 -177
  18. data/lib/telnyx/models/ai/inference_embedding_interruption_settings.rb +47 -0
  19. data/lib/telnyx/models/ai/openai_create_response_params.rb +3 -3
  20. data/lib/telnyx/models/ai/openai_list_models_response.rb +3 -210
  21. data/lib/telnyx/models/ai/start_speaking_plan.rb +37 -0
  22. data/lib/telnyx/models/ai/transcription_endpointing_plan.rb +39 -0
  23. data/lib/telnyx/models/ai/transfer_tool.rb +7 -9
  24. data/lib/telnyx/models/ai_create_response_params.rb +4 -4
  25. data/lib/telnyx/models/ai_retrieve_models_response.rb +3 -210
  26. data/lib/telnyx/models/call_conversation_ended.rb +13 -1
  27. data/lib/telnyx/models/calls/action_gather_using_ai_params.rb +4 -23
  28. data/lib/telnyx/models/calls/action_gather_using_speak_params.rb +4 -23
  29. data/lib/telnyx/models/calls/action_speak_params.rb +4 -23
  30. data/lib/telnyx/models/calls/action_start_ai_assistant_params.rb +4 -23
  31. data/lib/telnyx/models/calls/action_start_conversation_relay_params.rb +169 -118
  32. data/lib/telnyx/models/calls/transcription_engine_assemblyai_config.rb +64 -0
  33. data/lib/telnyx/models/calls/transcription_engine_speechmatics_config.rb +100 -0
  34. data/lib/telnyx/models/calls/transcription_engine_xai_config.rb +108 -0
  35. data/lib/telnyx/models/calls/transcription_start_request.rb +8 -167
  36. data/lib/telnyx/models/conferences/action_speak_params.rb +4 -23
  37. data/lib/telnyx/models/fax.rb +7 -5
  38. data/lib/telnyx/models/fax_create_params.rb +7 -5
  39. data/lib/telnyx/models/fax_delivered.rb +3 -2
  40. data/lib/telnyx/models/fax_failed.rb +3 -2
  41. data/lib/telnyx/models/fax_media_processed.rb +3 -2
  42. data/lib/telnyx/models/fax_queued.rb +3 -2
  43. data/lib/telnyx/models/fax_sending_started.rb +3 -2
  44. data/lib/telnyx/models/model_metadata.rb +212 -0
  45. data/lib/telnyx/models/network_list_interfaces_response.rb +112 -2
  46. data/lib/telnyx/models/public_internet_gateway_create_response.rb +3 -8
  47. data/lib/telnyx/models/public_internet_gateway_delete_response.rb +3 -8
  48. data/lib/telnyx/models/public_internet_gateway_read.rb +83 -0
  49. data/lib/telnyx/models/public_internet_gateway_retrieve_response.rb +3 -8
  50. data/lib/telnyx/models/texml/accounts/call_calls_params.rb +62 -12
  51. data/lib/telnyx/models/texml_initiate_ai_call_params.rb +18 -4
  52. data/lib/telnyx/models/text_to_speech_generate_params.rb +6 -6
  53. data/lib/telnyx/models/uac_connection.rb +412 -0
  54. data/lib/telnyx/models/uac_connection_create_params.rb +9 -255
  55. data/lib/telnyx/models/uac_connection_create_response.rb +3 -878
  56. data/lib/telnyx/models/uac_connection_delete_response.rb +3 -878
  57. data/lib/telnyx/models/uac_connection_retrieve_response.rb +3 -879
  58. data/lib/telnyx/models/uac_connection_update_params.rb +9 -255
  59. data/lib/telnyx/models/uac_connection_update_response.rb +3 -878
  60. data/lib/telnyx/models/uac_external_settings.rb +101 -0
  61. data/lib/telnyx/models/uac_inbound.rb +210 -0
  62. data/lib/telnyx/models/uac_internal_settings.rb +25 -0
  63. data/lib/telnyx/models/uac_outbound.rb +131 -0
  64. data/lib/telnyx/models/virtual_cross_connect_combined.rb +212 -0
  65. data/lib/telnyx/models/virtual_cross_connect_create_response.rb +3 -8
  66. data/lib/telnyx/models/virtual_cross_connect_delete_response.rb +3 -8
  67. data/lib/telnyx/models/virtual_cross_connect_retrieve_response.rb +3 -8
  68. data/lib/telnyx/models/virtual_cross_connect_update_response.rb +3 -8
  69. data/lib/telnyx/models/wireguard_interface_create_response.rb +3 -8
  70. data/lib/telnyx/models/wireguard_interface_delete_response.rb +3 -8
  71. data/lib/telnyx/models/wireguard_interface_read.rb +136 -0
  72. data/lib/telnyx/models/wireguard_interface_retrieve_response.rb +3 -8
  73. data/lib/telnyx/models/xai_voice_settings.rb +36 -0
  74. data/lib/telnyx/models.rb +20 -0
  75. data/lib/telnyx/resources/ai/assistants/canary_deploys.rb +2 -2
  76. data/lib/telnyx/resources/ai/assistants/versions.rb +3 -3
  77. data/lib/telnyx/resources/ai/assistants.rb +6 -6
  78. data/lib/telnyx/resources/ai/openai.rb +1 -1
  79. data/lib/telnyx/resources/ai.rb +3 -3
  80. data/lib/telnyx/resources/calls/actions.rb +15 -17
  81. data/lib/telnyx/resources/conferences/actions.rb +1 -1
  82. data/lib/telnyx/resources/faxes.rb +13 -1
  83. data/lib/telnyx/resources/public_internet_gateways.rb +2 -2
  84. data/lib/telnyx/resources/texml.rb +4 -2
  85. data/lib/telnyx/resources/uac_connections.rb +8 -8
  86. data/lib/telnyx/resources/virtual_cross_connects.rb +2 -2
  87. data/lib/telnyx/resources/wireguard_interfaces.rb +2 -2
  88. data/lib/telnyx/version.rb +1 -1
  89. data/lib/telnyx.rb +23 -4
  90. data/rbi/telnyx/models/ai/assistant_create_params.rbi +12 -352
  91. data/rbi/telnyx/models/ai/assistant_integration.rbi +60 -0
  92. data/rbi/telnyx/models/ai/assistant_mcp_server.rbi +51 -0
  93. data/rbi/telnyx/models/ai/assistant_tool.rbi +10 -10
  94. data/rbi/telnyx/models/ai/assistant_update_params.rbi +12 -352
  95. data/rbi/telnyx/models/ai/assistants/canary_deploy.rbi +4 -290
  96. data/rbi/telnyx/models/ai/assistants/canary_deploy_response.rbi +3 -301
  97. data/rbi/telnyx/models/ai/assistants/clause.rbi +91 -0
  98. data/rbi/telnyx/models/ai/assistants/rollout_slot.rbi +36 -0
  99. data/rbi/telnyx/models/ai/assistants/rule_input.rbi +73 -0
  100. data/rbi/telnyx/models/ai/assistants/rule_output.rbi +73 -0
  101. data/rbi/telnyx/models/ai/assistants/serve.rbi +61 -0
  102. data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +12 -366
  103. data/rbi/telnyx/models/ai/inference_embedding.rbi +12 -351
  104. data/rbi/telnyx/models/ai/inference_embedding_interruption_settings.rbi +83 -0
  105. data/rbi/telnyx/models/ai/openai_create_response_params.rbi +4 -4
  106. data/rbi/telnyx/models/ai/openai_list_models_response.rbi +3 -315
  107. data/rbi/telnyx/models/ai/start_speaking_plan.rbi +70 -0
  108. data/rbi/telnyx/models/ai/transcription_endpointing_plan.rbi +71 -0
  109. data/rbi/telnyx/models/ai/transfer_tool.rbi +5 -5
  110. data/rbi/telnyx/models/ai_create_response_params.rbi +4 -4
  111. data/rbi/telnyx/models/ai_retrieve_models_response.rbi +3 -310
  112. data/rbi/telnyx/models/call_conversation_ended.rbi +10 -0
  113. data/rbi/telnyx/models/calls/action_gather_using_ai_params.rbi +5 -41
  114. data/rbi/telnyx/models/calls/action_gather_using_speak_params.rbi +5 -41
  115. data/rbi/telnyx/models/calls/action_speak_params.rbi +5 -41
  116. data/rbi/telnyx/models/calls/action_start_ai_assistant_params.rbi +5 -41
  117. data/rbi/telnyx/models/calls/action_start_conversation_relay_params.rbi +371 -254
  118. data/rbi/telnyx/models/calls/transcription_engine_assemblyai_config.rbi +155 -0
  119. data/rbi/telnyx/models/calls/transcription_engine_speechmatics_config.rbi +289 -0
  120. data/rbi/telnyx/models/calls/transcription_engine_xai_config.rbi +329 -0
  121. data/rbi/telnyx/models/calls/transcription_start_request.rbi +20 -480
  122. data/rbi/telnyx/models/conferences/action_speak_params.rbi +5 -41
  123. data/rbi/telnyx/models/fax.rbi +12 -8
  124. data/rbi/telnyx/models/fax_create_params.rbi +12 -8
  125. data/rbi/telnyx/models/fax_delivered.rbi +6 -4
  126. data/rbi/telnyx/models/fax_failed.rbi +6 -4
  127. data/rbi/telnyx/models/fax_media_processed.rbi +6 -4
  128. data/rbi/telnyx/models/fax_queued.rbi +6 -4
  129. data/rbi/telnyx/models/fax_sending_started.rbi +6 -4
  130. data/rbi/telnyx/models/model_metadata.rbi +272 -0
  131. data/rbi/telnyx/models/network_list_interfaces_response.rbi +181 -4
  132. data/rbi/telnyx/models/public_internet_gateway_create_response.rbi +6 -38
  133. data/rbi/telnyx/models/public_internet_gateway_delete_response.rbi +6 -38
  134. data/rbi/telnyx/models/public_internet_gateway_read.rbi +128 -0
  135. data/rbi/telnyx/models/public_internet_gateway_retrieve_response.rbi +6 -38
  136. data/rbi/telnyx/models/texml/accounts/call_calls_params.rbi +81 -9
  137. data/rbi/telnyx/models/texml_initiate_ai_call_params.rbi +27 -3
  138. data/rbi/telnyx/models/text_to_speech_generate_params.rbi +6 -6
  139. data/rbi/telnyx/models/uac_connection.rbi +684 -0
  140. data/rbi/telnyx/models/uac_connection_create_params.rbi +12 -516
  141. data/rbi/telnyx/models/uac_connection_create_response.rbi +4 -1756
  142. data/rbi/telnyx/models/uac_connection_delete_response.rbi +4 -1756
  143. data/rbi/telnyx/models/uac_connection_retrieve_response.rbi +4 -1756
  144. data/rbi/telnyx/models/uac_connection_update_params.rbi +12 -516
  145. data/rbi/telnyx/models/uac_connection_update_response.rbi +4 -1756
  146. data/rbi/telnyx/models/uac_external_settings.rbi +146 -0
  147. data/rbi/telnyx/models/uac_inbound.rbi +410 -0
  148. data/rbi/telnyx/models/uac_internal_settings.rbi +39 -0
  149. data/rbi/telnyx/models/uac_outbound.rbi +224 -0
  150. data/rbi/telnyx/models/virtual_cross_connect_combined.rbi +345 -0
  151. data/rbi/telnyx/models/virtual_cross_connect_create_response.rbi +6 -36
  152. data/rbi/telnyx/models/virtual_cross_connect_delete_response.rbi +6 -36
  153. data/rbi/telnyx/models/virtual_cross_connect_retrieve_response.rbi +6 -38
  154. data/rbi/telnyx/models/virtual_cross_connect_update_response.rbi +6 -36
  155. data/rbi/telnyx/models/wireguard_interface_create_response.rbi +6 -36
  156. data/rbi/telnyx/models/wireguard_interface_delete_response.rbi +6 -36
  157. data/rbi/telnyx/models/wireguard_interface_read.rbi +213 -0
  158. data/rbi/telnyx/models/wireguard_interface_retrieve_response.rbi +6 -36
  159. data/rbi/telnyx/models/xai_voice_settings.rbi +64 -0
  160. data/rbi/telnyx/models.rbi +20 -0
  161. data/rbi/telnyx/resources/ai/assistants/canary_deploys.rbi +2 -4
  162. data/rbi/telnyx/resources/ai/assistants/versions.rbi +3 -9
  163. data/rbi/telnyx/resources/ai/assistants.rbi +6 -10
  164. data/rbi/telnyx/resources/ai/openai.rbi +1 -1
  165. data/rbi/telnyx/resources/ai.rbi +2 -2
  166. data/rbi/telnyx/resources/calls/actions.rbi +24 -24
  167. data/rbi/telnyx/resources/conferences/actions.rbi +1 -1
  168. data/rbi/telnyx/resources/faxes.rbi +18 -4
  169. data/rbi/telnyx/resources/public_internet_gateways.rbi +1 -1
  170. data/rbi/telnyx/resources/texml.rbi +7 -1
  171. data/rbi/telnyx/resources/uac_connections.rbi +7 -13
  172. data/rbi/telnyx/resources/virtual_cross_connects.rbi +1 -1
  173. data/rbi/telnyx/resources/wireguard_interfaces.rbi +1 -1
  174. data/sig/telnyx/models/ai/assistant_create_params.rbs +18 -149
  175. data/sig/telnyx/models/ai/assistant_integration.rbs +26 -0
  176. data/sig/telnyx/models/ai/assistant_mcp_server.rbs +19 -0
  177. data/sig/telnyx/models/ai/assistant_tool.rbs +8 -8
  178. data/sig/telnyx/models/ai/assistant_update_params.rbs +18 -149
  179. data/sig/telnyx/models/ai/assistants/canary_deploy.rbs +6 -113
  180. data/sig/telnyx/models/ai/assistants/canary_deploy_response.rbs +4 -109
  181. data/sig/telnyx/models/ai/assistants/clause.rbs +46 -0
  182. data/sig/telnyx/models/ai/assistants/rollout_slot.rbs +19 -0
  183. data/sig/telnyx/models/ai/assistants/rule_input.rbs +33 -0
  184. data/sig/telnyx/models/ai/assistants/rule_output.rbs +33 -0
  185. data/sig/telnyx/models/ai/assistants/serve.rbs +35 -0
  186. data/sig/telnyx/models/ai/assistants/update_assistant.rbs +18 -152
  187. data/sig/telnyx/models/ai/inference_embedding.rbs +18 -149
  188. data/sig/telnyx/models/ai/inference_embedding_interruption_settings.rbs +40 -0
  189. data/sig/telnyx/models/ai/openai_create_response_params.rbs +5 -5
  190. data/sig/telnyx/models/ai/openai_list_models_response.rbs +4 -149
  191. data/sig/telnyx/models/ai/start_speaking_plan.rbs +33 -0
  192. data/sig/telnyx/models/ai/transcription_endpointing_plan.rbs +38 -0
  193. data/sig/telnyx/models/ai/transfer_tool.rbs +4 -4
  194. data/sig/telnyx/models/ai_create_response_params.rbs +5 -4
  195. data/sig/telnyx/models/ai_retrieve_models_response.rbs +4 -149
  196. data/sig/telnyx/models/call_conversation_ended.rbs +5 -0
  197. data/sig/telnyx/models/calls/action_gather_using_ai_params.rbs +1 -15
  198. data/sig/telnyx/models/calls/action_gather_using_speak_params.rbs +1 -15
  199. data/sig/telnyx/models/calls/action_speak_params.rbs +1 -15
  200. data/sig/telnyx/models/calls/action_start_ai_assistant_params.rbs +1 -15
  201. data/sig/telnyx/models/calls/action_start_conversation_relay_params.rbs +141 -102
  202. data/sig/telnyx/models/calls/transcription_engine_assemblyai_config.rbs +62 -0
  203. data/sig/telnyx/models/calls/transcription_engine_speechmatics_config.rbs +114 -0
  204. data/sig/telnyx/models/calls/transcription_engine_xai_config.rbs +130 -0
  205. data/sig/telnyx/models/calls/transcription_start_request.rbs +13 -185
  206. data/sig/telnyx/models/conferences/action_speak_params.rbs +1 -15
  207. data/sig/telnyx/models/model_metadata.rbs +142 -0
  208. data/sig/telnyx/models/network_list_interfaces_response.rbs +106 -4
  209. data/sig/telnyx/models/public_internet_gateway_create_response.rbs +6 -18
  210. data/sig/telnyx/models/public_internet_gateway_delete_response.rbs +6 -18
  211. data/sig/telnyx/models/public_internet_gateway_read.rbs +80 -0
  212. data/sig/telnyx/models/public_internet_gateway_retrieve_response.rbs +6 -18
  213. data/sig/telnyx/models/texml/accounts/call_calls_params.rbs +27 -3
  214. data/sig/telnyx/models/texml_initiate_ai_call_params.rbs +9 -1
  215. data/sig/telnyx/models/text_to_speech_generate_params.rbs +6 -6
  216. data/sig/telnyx/models/uac_connection.rbs +338 -0
  217. data/sig/telnyx/models/uac_connection_create_params.rbs +17 -211
  218. data/sig/telnyx/models/uac_connection_create_response.rbs +5 -731
  219. data/sig/telnyx/models/uac_connection_delete_response.rbs +5 -731
  220. data/sig/telnyx/models/uac_connection_retrieve_response.rbs +5 -731
  221. data/sig/telnyx/models/uac_connection_update_params.rbs +17 -211
  222. data/sig/telnyx/models/uac_connection_update_response.rbs +5 -731
  223. data/sig/telnyx/models/uac_external_settings.rbs +73 -0
  224. data/sig/telnyx/models/uac_inbound.rbs +190 -0
  225. data/sig/telnyx/models/uac_internal_settings.rbs +15 -0
  226. data/sig/telnyx/models/uac_outbound.rbs +113 -0
  227. data/sig/telnyx/models/virtual_cross_connect_combined.rbs +190 -0
  228. data/sig/telnyx/models/virtual_cross_connect_create_response.rbs +6 -18
  229. data/sig/telnyx/models/virtual_cross_connect_delete_response.rbs +6 -18
  230. data/sig/telnyx/models/virtual_cross_connect_retrieve_response.rbs +6 -18
  231. data/sig/telnyx/models/virtual_cross_connect_update_response.rbs +6 -18
  232. data/sig/telnyx/models/wireguard_interface_create_response.rbs +6 -18
  233. data/sig/telnyx/models/wireguard_interface_delete_response.rbs +6 -18
  234. data/sig/telnyx/models/wireguard_interface_read.rbs +127 -0
  235. data/sig/telnyx/models/wireguard_interface_retrieve_response.rbs +6 -18
  236. data/sig/telnyx/models/xai_voice_settings.rbs +34 -0
  237. data/sig/telnyx/models.rbs +20 -0
  238. data/sig/telnyx/resources/ai/assistants/canary_deploys.rbs +2 -2
  239. data/sig/telnyx/resources/ai/assistants/versions.rbs +3 -3
  240. data/sig/telnyx/resources/ai/assistants.rbs +6 -6
  241. data/sig/telnyx/resources/ai/openai.rbs +1 -1
  242. data/sig/telnyx/resources/ai.rbs +1 -1
  243. data/sig/telnyx/resources/calls/actions.rbs +2 -4
  244. data/sig/telnyx/resources/public_internet_gateways.rbs +1 -1
  245. data/sig/telnyx/resources/texml.rbs +1 -0
  246. data/sig/telnyx/resources/uac_connections.rbs +7 -7
  247. data/sig/telnyx/resources/virtual_cross_connects.rbs +1 -1
  248. data/sig/telnyx/resources/wireguard_interfaces.rbs +1 -1
  249. metadata +71 -14
  250. data/lib/telnyx/models/public_internet_gateway_list_response.rb +0 -10
  251. data/lib/telnyx/models/uac_connection_list_response.rb +0 -876
  252. data/lib/telnyx/models/virtual_cross_connect_list_response.rb +0 -10
  253. data/lib/telnyx/models/wireguard_interface_list_response.rb +0 -10
  254. data/rbi/telnyx/models/public_internet_gateway_list_response.rbi +0 -23
  255. data/rbi/telnyx/models/uac_connection_list_response.rbi +0 -1727
  256. data/rbi/telnyx/models/virtual_cross_connect_list_response.rbi +0 -23
  257. data/rbi/telnyx/models/wireguard_interface_list_response.rbi +0 -23
  258. data/sig/telnyx/models/public_internet_gateway_list_response.rbs +0 -11
  259. data/sig/telnyx/models/uac_connection_list_response.rbs +0 -722
  260. data/sig/telnyx/models/virtual_cross_connect_list_response.rbs +0 -11
  261. data/sig/telnyx/models/wireguard_interface_list_response.rbs +0 -11
@@ -11,55 +11,23 @@ module Telnyx
11
11
  )
12
12
  end
13
13
 
14
- sig do
15
- returns(
16
- T.nilable(Telnyx::Models::PublicInternetGatewayCreateResponse::Data)
17
- )
18
- end
14
+ sig { returns(T.nilable(Telnyx::PublicInternetGatewayRead)) }
19
15
  attr_reader :data
20
16
 
21
- sig do
22
- params(
23
- data:
24
- Telnyx::Models::PublicInternetGatewayCreateResponse::Data::OrHash
25
- ).void
26
- end
17
+ sig { params(data: Telnyx::PublicInternetGatewayRead::OrHash).void }
27
18
  attr_writer :data
28
19
 
29
20
  sig do
30
- params(
31
- data:
32
- Telnyx::Models::PublicInternetGatewayCreateResponse::Data::OrHash
33
- ).returns(T.attached_class)
21
+ params(data: Telnyx::PublicInternetGatewayRead::OrHash).returns(
22
+ T.attached_class
23
+ )
34
24
  end
35
25
  def self.new(data: nil)
36
26
  end
37
27
 
38
- sig do
39
- override.returns(
40
- { data: Telnyx::Models::PublicInternetGatewayCreateResponse::Data }
41
- )
42
- end
28
+ sig { override.returns({ data: Telnyx::PublicInternetGatewayRead }) }
43
29
  def to_hash
44
30
  end
45
-
46
- class Data < Telnyx::Models::Record
47
- OrHash =
48
- T.type_alias do
49
- T.any(
50
- Telnyx::Models::PublicInternetGatewayCreateResponse::Data,
51
- Telnyx::Internal::AnyHash
52
- )
53
- end
54
-
55
- sig { returns(T.attached_class) }
56
- def self.new
57
- end
58
-
59
- sig { override.returns({}) }
60
- def to_hash
61
- end
62
- end
63
31
  end
64
32
  end
65
33
  end
@@ -11,55 +11,23 @@ module Telnyx
11
11
  )
12
12
  end
13
13
 
14
- sig do
15
- returns(
16
- T.nilable(Telnyx::Models::PublicInternetGatewayDeleteResponse::Data)
17
- )
18
- end
14
+ sig { returns(T.nilable(Telnyx::PublicInternetGatewayRead)) }
19
15
  attr_reader :data
20
16
 
21
- sig do
22
- params(
23
- data:
24
- Telnyx::Models::PublicInternetGatewayDeleteResponse::Data::OrHash
25
- ).void
26
- end
17
+ sig { params(data: Telnyx::PublicInternetGatewayRead::OrHash).void }
27
18
  attr_writer :data
28
19
 
29
20
  sig do
30
- params(
31
- data:
32
- Telnyx::Models::PublicInternetGatewayDeleteResponse::Data::OrHash
33
- ).returns(T.attached_class)
21
+ params(data: Telnyx::PublicInternetGatewayRead::OrHash).returns(
22
+ T.attached_class
23
+ )
34
24
  end
35
25
  def self.new(data: nil)
36
26
  end
37
27
 
38
- sig do
39
- override.returns(
40
- { data: Telnyx::Models::PublicInternetGatewayDeleteResponse::Data }
41
- )
42
- end
28
+ sig { override.returns({ data: Telnyx::PublicInternetGatewayRead }) }
43
29
  def to_hash
44
30
  end
45
-
46
- class Data < Telnyx::Models::Record
47
- OrHash =
48
- T.type_alias do
49
- T.any(
50
- Telnyx::Models::PublicInternetGatewayDeleteResponse::Data,
51
- Telnyx::Internal::AnyHash
52
- )
53
- end
54
-
55
- sig { returns(T.attached_class) }
56
- def self.new
57
- end
58
-
59
- sig { override.returns({}) }
60
- def to_hash
61
- end
62
- end
63
31
  end
64
32
  end
65
33
  end
@@ -0,0 +1,128 @@
1
+ # typed: strong
2
+
3
+ module Telnyx
4
+ module Models
5
+ class PublicInternetGatewayRead < Telnyx::Internal::Type::BaseModel
6
+ OrHash =
7
+ T.type_alias do
8
+ T.any(Telnyx::PublicInternetGatewayRead, Telnyx::Internal::AnyHash)
9
+ end
10
+
11
+ # A user specified name for the interface.
12
+ sig { returns(T.nilable(String)) }
13
+ attr_reader :name
14
+
15
+ sig { params(name: String).void }
16
+ attr_writer :name
17
+
18
+ # The id of the network associated with the interface.
19
+ sig { returns(T.nilable(String)) }
20
+ attr_reader :network_id
21
+
22
+ sig { params(network_id: String).void }
23
+ attr_writer :network_id
24
+
25
+ # The region interface is deployed to.
26
+ sig { returns(T.nilable(String)) }
27
+ attr_reader :region_code
28
+
29
+ sig { params(region_code: String).void }
30
+ attr_writer :region_code
31
+
32
+ # Identifies the resource.
33
+ sig { returns(T.nilable(String)) }
34
+ attr_reader :id
35
+
36
+ sig { params(id: String).void }
37
+ attr_writer :id
38
+
39
+ # ISO 8601 formatted date-time indicating when the resource was created.
40
+ sig { returns(T.nilable(String)) }
41
+ attr_reader :created_at
42
+
43
+ sig { params(created_at: String).void }
44
+ attr_writer :created_at
45
+
46
+ # The publically accessible ip for this interface.
47
+ sig { returns(T.nilable(String)) }
48
+ attr_reader :public_ip
49
+
50
+ sig { params(public_ip: String).void }
51
+ attr_writer :public_ip
52
+
53
+ # Identifies the type of the resource.
54
+ sig { returns(T.nilable(String)) }
55
+ attr_reader :record_type
56
+
57
+ sig { params(record_type: String).void }
58
+ attr_writer :record_type
59
+
60
+ # The current status of the interface deployment.
61
+ sig { returns(T.nilable(Telnyx::InterfaceStatus::TaggedSymbol)) }
62
+ attr_reader :status
63
+
64
+ sig { params(status: Telnyx::InterfaceStatus::OrSymbol).void }
65
+ attr_writer :status
66
+
67
+ # ISO 8601 formatted date-time indicating when the resource was updated.
68
+ sig { returns(T.nilable(String)) }
69
+ attr_reader :updated_at
70
+
71
+ sig { params(updated_at: String).void }
72
+ attr_writer :updated_at
73
+
74
+ sig do
75
+ params(
76
+ id: String,
77
+ created_at: String,
78
+ name: String,
79
+ network_id: String,
80
+ public_ip: String,
81
+ record_type: String,
82
+ region_code: String,
83
+ status: Telnyx::InterfaceStatus::OrSymbol,
84
+ updated_at: String
85
+ ).returns(T.attached_class)
86
+ end
87
+ def self.new(
88
+ # Identifies the resource.
89
+ id: nil,
90
+ # ISO 8601 formatted date-time indicating when the resource was created.
91
+ created_at: nil,
92
+ # A user specified name for the interface.
93
+ name: nil,
94
+ # The id of the network associated with the interface.
95
+ network_id: nil,
96
+ # The publically accessible ip for this interface.
97
+ public_ip: nil,
98
+ # Identifies the type of the resource.
99
+ record_type: nil,
100
+ # The region interface is deployed to.
101
+ region_code: nil,
102
+ # The current status of the interface deployment.
103
+ status: nil,
104
+ # ISO 8601 formatted date-time indicating when the resource was updated.
105
+ updated_at: nil
106
+ )
107
+ end
108
+
109
+ sig do
110
+ override.returns(
111
+ {
112
+ id: String,
113
+ created_at: String,
114
+ name: String,
115
+ network_id: String,
116
+ public_ip: String,
117
+ record_type: String,
118
+ region_code: String,
119
+ status: Telnyx::InterfaceStatus::TaggedSymbol,
120
+ updated_at: String
121
+ }
122
+ )
123
+ end
124
+ def to_hash
125
+ end
126
+ end
127
+ end
128
+ end
@@ -11,55 +11,23 @@ module Telnyx
11
11
  )
12
12
  end
13
13
 
14
- sig do
15
- returns(
16
- T.nilable(Telnyx::Models::PublicInternetGatewayRetrieveResponse::Data)
17
- )
18
- end
14
+ sig { returns(T.nilable(Telnyx::PublicInternetGatewayRead)) }
19
15
  attr_reader :data
20
16
 
21
- sig do
22
- params(
23
- data:
24
- Telnyx::Models::PublicInternetGatewayRetrieveResponse::Data::OrHash
25
- ).void
26
- end
17
+ sig { params(data: Telnyx::PublicInternetGatewayRead::OrHash).void }
27
18
  attr_writer :data
28
19
 
29
20
  sig do
30
- params(
31
- data:
32
- Telnyx::Models::PublicInternetGatewayRetrieveResponse::Data::OrHash
33
- ).returns(T.attached_class)
21
+ params(data: Telnyx::PublicInternetGatewayRead::OrHash).returns(
22
+ T.attached_class
23
+ )
34
24
  end
35
25
  def self.new(data: nil)
36
26
  end
37
27
 
38
- sig do
39
- override.returns(
40
- { data: Telnyx::Models::PublicInternetGatewayRetrieveResponse::Data }
41
- )
42
- end
28
+ sig { override.returns({ data: Telnyx::PublicInternetGatewayRead }) }
43
29
  def to_hash
44
30
  end
45
-
46
- class Data < Telnyx::Models::Record
47
- OrHash =
48
- T.type_alias do
49
- T.any(
50
- Telnyx::Models::PublicInternetGatewayRetrieveResponse::Data,
51
- Telnyx::Internal::AnyHash
52
- )
53
- end
54
-
55
- sig { returns(T.attached_class) }
56
- def self.new
57
- end
58
-
59
- sig { override.returns({}) }
60
- def to_hash
61
- end
62
- end
63
31
  end
64
32
  end
65
33
  end
@@ -226,7 +226,9 @@ module Telnyx
226
226
  sig { params(deepfake_detection_callback_url: String).void }
227
227
  attr_writer :deepfake_detection_callback_url
228
228
 
229
- # Allows you to chose between Premium and Standard detections.
229
+ # Allows you to choose between Regular, Premium, and PremiumCallScreening
230
+ # detections. See
231
+ # https://developers.telnyx.com/docs/voice/programmable-voice/answering-machine-detection
230
232
  sig do
231
233
  returns(
232
234
  T.nilable(
@@ -278,6 +280,14 @@ module Telnyx
278
280
  end
279
281
  attr_writer :machine_detection
280
282
 
283
+ # Silence duration threshold after a call screening prompt before ending prompt
284
+ # detection, in milliseconds. Used when `DetectionMode` is `PremiumCallScreening`.
285
+ sig { returns(T.nilable(Integer)) }
286
+ attr_reader :machine_detection_prompt_end_timeout
287
+
288
+ sig { params(machine_detection_prompt_end_timeout: Integer).void }
289
+ attr_writer :machine_detection_prompt_end_timeout
290
+
281
291
  # If initial silence duration is greater than this value, consider it a machine.
282
292
  # Ignored when `premium` detection is used.
283
293
  sig { returns(T.nilable(Integer)) }
@@ -630,6 +640,7 @@ module Telnyx
630
640
  from: String,
631
641
  machine_detection:
632
642
  Telnyx::Texml::Accounts::CallCallsParams::Params::WithURL::MachineDetection::OrSymbol,
643
+ machine_detection_prompt_end_timeout: Integer,
633
644
  machine_detection_silence_timeout: Integer,
634
645
  machine_detection_speech_end_threshold: Integer,
635
646
  machine_detection_speech_threshold: Integer,
@@ -705,7 +716,9 @@ module Telnyx
705
716
  # URL destination for Telnyx to send deepfake detection callback events to for the
706
717
  # call.
707
718
  deepfake_detection_callback_url: nil,
708
- # Allows you to chose between Premium and Standard detections.
719
+ # Allows you to choose between Regular, Premium, and PremiumCallScreening
720
+ # detections. See
721
+ # https://developers.telnyx.com/docs/voice/programmable-voice/answering-machine-detection
709
722
  detection_mode: nil,
710
723
  # A failover URL for which Telnyx will retrieve the TeXML call instructions if the
711
724
  # `Url` is not responding.
@@ -715,6 +728,9 @@ module Telnyx
715
728
  from: nil,
716
729
  # Enables Answering Machine Detection.
717
730
  machine_detection: nil,
731
+ # Silence duration threshold after a call screening prompt before ending prompt
732
+ # detection, in milliseconds. Used when `DetectionMode` is `PremiumCallScreening`.
733
+ machine_detection_prompt_end_timeout: nil,
718
734
  # If initial silence duration is greater than this value, consider it a machine.
719
735
  # Ignored when `premium` detection is used.
720
736
  machine_detection_silence_timeout: nil,
@@ -822,6 +838,7 @@ module Telnyx
822
838
  from: String,
823
839
  machine_detection:
824
840
  Telnyx::Texml::Accounts::CallCallsParams::Params::WithURL::MachineDetection::OrSymbol,
841
+ machine_detection_prompt_end_timeout: Integer,
825
842
  machine_detection_silence_timeout: Integer,
826
843
  machine_detection_speech_end_threshold: Integer,
827
844
  machine_detection_speech_threshold: Integer,
@@ -1002,7 +1019,9 @@ module Telnyx
1002
1019
  end
1003
1020
  end
1004
1021
 
1005
- # Allows you to chose between Premium and Standard detections.
1022
+ # Allows you to choose between Regular, Premium, and PremiumCallScreening
1023
+ # detections. See
1024
+ # https://developers.telnyx.com/docs/voice/programmable-voice/answering-machine-detection
1006
1025
  module DetectionMode
1007
1026
  extend Telnyx::Internal::Type::Enum
1008
1027
 
@@ -1025,6 +1044,11 @@ module Telnyx
1025
1044
  :Regular,
1026
1045
  Telnyx::Texml::Accounts::CallCallsParams::Params::WithURL::DetectionMode::TaggedSymbol
1027
1046
  )
1047
+ PREMIUM_CALL_SCREENING =
1048
+ T.let(
1049
+ :PremiumCallScreening,
1050
+ Telnyx::Texml::Accounts::CallCallsParams::Params::WithURL::DetectionMode::TaggedSymbol
1051
+ )
1028
1052
 
1029
1053
  sig do
1030
1054
  override.returns(
@@ -1629,7 +1653,9 @@ module Telnyx
1629
1653
  sig { params(deepfake_detection_callback_url: String).void }
1630
1654
  attr_writer :deepfake_detection_callback_url
1631
1655
 
1632
- # Allows you to chose between Premium and Standard detections.
1656
+ # Allows you to choose between Regular, Premium, and PremiumCallScreening
1657
+ # detections. See
1658
+ # https://developers.telnyx.com/docs/voice/programmable-voice/answering-machine-detection
1633
1659
  sig do
1634
1660
  returns(
1635
1661
  T.nilable(
@@ -1681,6 +1707,14 @@ module Telnyx
1681
1707
  end
1682
1708
  attr_writer :machine_detection
1683
1709
 
1710
+ # Silence duration threshold after a call screening prompt before ending prompt
1711
+ # detection, in milliseconds. Used when `DetectionMode` is `PremiumCallScreening`.
1712
+ sig { returns(T.nilable(Integer)) }
1713
+ attr_reader :machine_detection_prompt_end_timeout
1714
+
1715
+ sig { params(machine_detection_prompt_end_timeout: Integer).void }
1716
+ attr_writer :machine_detection_prompt_end_timeout
1717
+
1684
1718
  # If initial silence duration is greater than this value, consider it a machine.
1685
1719
  # Ignored when `premium` detection is used.
1686
1720
  sig { returns(T.nilable(Integer)) }
@@ -2033,6 +2067,7 @@ module Telnyx
2033
2067
  from: String,
2034
2068
  machine_detection:
2035
2069
  Telnyx::Texml::Accounts::CallCallsParams::Params::WithTeXml::MachineDetection::OrSymbol,
2070
+ machine_detection_prompt_end_timeout: Integer,
2036
2071
  machine_detection_silence_timeout: Integer,
2037
2072
  machine_detection_speech_end_threshold: Integer,
2038
2073
  machine_detection_speech_threshold: Integer,
@@ -2109,7 +2144,9 @@ module Telnyx
2109
2144
  # URL destination for Telnyx to send deepfake detection callback events to for the
2110
2145
  # call.
2111
2146
  deepfake_detection_callback_url: nil,
2112
- # Allows you to chose between Premium and Standard detections.
2147
+ # Allows you to choose between Regular, Premium, and PremiumCallScreening
2148
+ # detections. See
2149
+ # https://developers.telnyx.com/docs/voice/programmable-voice/answering-machine-detection
2113
2150
  detection_mode: nil,
2114
2151
  # A failover URL for which Telnyx will retrieve the TeXML call instructions if the
2115
2152
  # `Url` is not responding.
@@ -2119,6 +2156,9 @@ module Telnyx
2119
2156
  from: nil,
2120
2157
  # Enables Answering Machine Detection.
2121
2158
  machine_detection: nil,
2159
+ # Silence duration threshold after a call screening prompt before ending prompt
2160
+ # detection, in milliseconds. Used when `DetectionMode` is `PremiumCallScreening`.
2161
+ machine_detection_prompt_end_timeout: nil,
2122
2162
  # If initial silence duration is greater than this value, consider it a machine.
2123
2163
  # Ignored when `premium` detection is used.
2124
2164
  machine_detection_silence_timeout: nil,
@@ -2226,6 +2266,7 @@ module Telnyx
2226
2266
  from: String,
2227
2267
  machine_detection:
2228
2268
  Telnyx::Texml::Accounts::CallCallsParams::Params::WithTeXml::MachineDetection::OrSymbol,
2269
+ machine_detection_prompt_end_timeout: Integer,
2229
2270
  machine_detection_silence_timeout: Integer,
2230
2271
  machine_detection_speech_end_threshold: Integer,
2231
2272
  machine_detection_speech_threshold: Integer,
@@ -2406,7 +2447,9 @@ module Telnyx
2406
2447
  end
2407
2448
  end
2408
2449
 
2409
- # Allows you to chose between Premium and Standard detections.
2450
+ # Allows you to choose between Regular, Premium, and PremiumCallScreening
2451
+ # detections. See
2452
+ # https://developers.telnyx.com/docs/voice/programmable-voice/answering-machine-detection
2410
2453
  module DetectionMode
2411
2454
  extend Telnyx::Internal::Type::Enum
2412
2455
 
@@ -2429,6 +2472,11 @@ module Telnyx
2429
2472
  :Regular,
2430
2473
  Telnyx::Texml::Accounts::CallCallsParams::Params::WithTeXml::DetectionMode::TaggedSymbol
2431
2474
  )
2475
+ PREMIUM_CALL_SCREENING =
2476
+ T.let(
2477
+ :PremiumCallScreening,
2478
+ Telnyx::Texml::Accounts::CallCallsParams::Params::WithTeXml::DetectionMode::TaggedSymbol
2479
+ )
2432
2480
 
2433
2481
  sig do
2434
2482
  override.returns(
@@ -3028,7 +3076,9 @@ module Telnyx
3028
3076
  sig { params(deepfake_detection_callback_url: String).void }
3029
3077
  attr_writer :deepfake_detection_callback_url
3030
3078
 
3031
- # Allows you to chose between Premium and Standard detections.
3079
+ # Allows you to choose between Regular, Premium, and PremiumCallScreening
3080
+ # detections. See
3081
+ # https://developers.telnyx.com/docs/voice/programmable-voice/answering-machine-detection
3032
3082
  sig do
3033
3083
  returns(
3034
3084
  T.nilable(
@@ -3080,6 +3130,14 @@ module Telnyx
3080
3130
  end
3081
3131
  attr_writer :machine_detection
3082
3132
 
3133
+ # Silence duration threshold after a call screening prompt before ending prompt
3134
+ # detection, in milliseconds. Used when `DetectionMode` is `PremiumCallScreening`.
3135
+ sig { returns(T.nilable(Integer)) }
3136
+ attr_reader :machine_detection_prompt_end_timeout
3137
+
3138
+ sig { params(machine_detection_prompt_end_timeout: Integer).void }
3139
+ attr_writer :machine_detection_prompt_end_timeout
3140
+
3083
3141
  # If initial silence duration is greater than this value, consider it a machine.
3084
3142
  # Ignored when `premium` detection is used.
3085
3143
  sig { returns(T.nilable(Integer)) }
@@ -3434,6 +3492,7 @@ module Telnyx
3434
3492
  from: String,
3435
3493
  machine_detection:
3436
3494
  Telnyx::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::MachineDetection::OrSymbol,
3495
+ machine_detection_prompt_end_timeout: Integer,
3437
3496
  machine_detection_silence_timeout: Integer,
3438
3497
  machine_detection_speech_end_threshold: Integer,
3439
3498
  machine_detection_speech_threshold: Integer,
@@ -3508,7 +3567,9 @@ module Telnyx
3508
3567
  # URL destination for Telnyx to send deepfake detection callback events to for the
3509
3568
  # call.
3510
3569
  deepfake_detection_callback_url: nil,
3511
- # Allows you to chose between Premium and Standard detections.
3570
+ # Allows you to choose between Regular, Premium, and PremiumCallScreening
3571
+ # detections. See
3572
+ # https://developers.telnyx.com/docs/voice/programmable-voice/answering-machine-detection
3512
3573
  detection_mode: nil,
3513
3574
  # A failover URL for which Telnyx will retrieve the TeXML call instructions if the
3514
3575
  # `Url` is not responding.
@@ -3518,6 +3579,9 @@ module Telnyx
3518
3579
  from: nil,
3519
3580
  # Enables Answering Machine Detection.
3520
3581
  machine_detection: nil,
3582
+ # Silence duration threshold after a call screening prompt before ending prompt
3583
+ # detection, in milliseconds. Used when `DetectionMode` is `PremiumCallScreening`.
3584
+ machine_detection_prompt_end_timeout: nil,
3521
3585
  # If initial silence duration is greater than this value, consider it a machine.
3522
3586
  # Ignored when `premium` detection is used.
3523
3587
  machine_detection_silence_timeout: nil,
@@ -3625,6 +3689,7 @@ module Telnyx
3625
3689
  from: String,
3626
3690
  machine_detection:
3627
3691
  Telnyx::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::MachineDetection::OrSymbol,
3692
+ machine_detection_prompt_end_timeout: Integer,
3628
3693
  machine_detection_silence_timeout: Integer,
3629
3694
  machine_detection_speech_end_threshold: Integer,
3630
3695
  machine_detection_speech_threshold: Integer,
@@ -3806,7 +3871,9 @@ module Telnyx
3806
3871
  end
3807
3872
  end
3808
3873
 
3809
- # Allows you to chose between Premium and Standard detections.
3874
+ # Allows you to choose between Regular, Premium, and PremiumCallScreening
3875
+ # detections. See
3876
+ # https://developers.telnyx.com/docs/voice/programmable-voice/answering-machine-detection
3810
3877
  module DetectionMode
3811
3878
  extend Telnyx::Internal::Type::Enum
3812
3879
 
@@ -3829,6 +3896,11 @@ module Telnyx
3829
3896
  :Regular,
3830
3897
  Telnyx::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::DetectionMode::TaggedSymbol
3831
3898
  )
3899
+ PREMIUM_CALL_SCREENING =
3900
+ T.let(
3901
+ :PremiumCallScreening,
3902
+ Telnyx::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::DetectionMode::TaggedSymbol
3903
+ )
3832
3904
 
3833
3905
  sig do
3834
3906
  override.returns(
@@ -138,7 +138,9 @@ module Telnyx
138
138
  end
139
139
  attr_writer :custom_headers
140
140
 
141
- # Allows you to choose between Premium and Standard detections.
141
+ # Allows you to choose between Regular, Premium, and PremiumCallScreening
142
+ # detections. See
143
+ # https://developers.telnyx.com/docs/voice/programmable-voice/answering-machine-detection
142
144
  sig do
143
145
  returns(
144
146
  T.nilable(Telnyx::TexmlInitiateAICallParams::DetectionMode::OrSymbol)
@@ -172,6 +174,14 @@ module Telnyx
172
174
  end
173
175
  attr_writer :machine_detection
174
176
 
177
+ # Silence duration threshold after a call screening prompt before ending prompt
178
+ # detection, in milliseconds. Used when `DetectionMode` is `PremiumCallScreening`.
179
+ sig { returns(T.nilable(Integer)) }
180
+ attr_reader :machine_detection_prompt_end_timeout
181
+
182
+ sig { params(machine_detection_prompt_end_timeout: Integer).void }
183
+ attr_writer :machine_detection_prompt_end_timeout
184
+
175
185
  # If initial silence duration is greater than this value, consider it a machine.
176
186
  # Ignored when `premium` detection is used.
177
187
  sig { returns(T.nilable(Integer)) }
@@ -438,6 +448,7 @@ module Telnyx
438
448
  Telnyx::TexmlInitiateAICallParams::DetectionMode::OrSymbol,
439
449
  machine_detection:
440
450
  Telnyx::TexmlInitiateAICallParams::MachineDetection::OrSymbol,
451
+ machine_detection_prompt_end_timeout: Integer,
441
452
  machine_detection_silence_timeout: Integer,
442
453
  machine_detection_speech_end_threshold: Integer,
443
454
  machine_detection_speech_threshold: Integer,
@@ -506,10 +517,15 @@ module Telnyx
506
517
  # Custom HTTP headers to be sent with the call. Each header should be an object
507
518
  # with 'name' and 'value' properties.
508
519
  custom_headers: nil,
509
- # Allows you to choose between Premium and Standard detections.
520
+ # Allows you to choose between Regular, Premium, and PremiumCallScreening
521
+ # detections. See
522
+ # https://developers.telnyx.com/docs/voice/programmable-voice/answering-machine-detection
510
523
  detection_mode: nil,
511
524
  # Enables Answering Machine Detection.
512
525
  machine_detection: nil,
526
+ # Silence duration threshold after a call screening prompt before ending prompt
527
+ # detection, in milliseconds. Used when `DetectionMode` is `PremiumCallScreening`.
528
+ machine_detection_prompt_end_timeout: nil,
513
529
  # If initial silence duration is greater than this value, consider it a machine.
514
530
  # Ignored when `premium` detection is used.
515
531
  machine_detection_silence_timeout: nil,
@@ -607,6 +623,7 @@ module Telnyx
607
623
  Telnyx::TexmlInitiateAICallParams::DetectionMode::OrSymbol,
608
624
  machine_detection:
609
625
  Telnyx::TexmlInitiateAICallParams::MachineDetection::OrSymbol,
626
+ machine_detection_prompt_end_timeout: Integer,
610
627
  machine_detection_silence_timeout: Integer,
611
628
  machine_detection_speech_end_threshold: Integer,
612
629
  machine_detection_speech_threshold: Integer,
@@ -743,7 +760,9 @@ module Telnyx
743
760
  end
744
761
  end
745
762
 
746
- # Allows you to choose between Premium and Standard detections.
763
+ # Allows you to choose between Regular, Premium, and PremiumCallScreening
764
+ # detections. See
765
+ # https://developers.telnyx.com/docs/voice/programmable-voice/answering-machine-detection
747
766
  module DetectionMode
748
767
  extend Telnyx::Internal::Type::Enum
749
768
 
@@ -763,6 +782,11 @@ module Telnyx
763
782
  :Regular,
764
783
  Telnyx::TexmlInitiateAICallParams::DetectionMode::TaggedSymbol
765
784
  )
785
+ PREMIUM_CALL_SCREENING =
786
+ T.let(
787
+ :PremiumCallScreening,
788
+ Telnyx::TexmlInitiateAICallParams::DetectionMode::TaggedSymbol
789
+ )
766
790
 
767
791
  sig do
768
792
  override.returns(
@@ -1357,32 +1357,32 @@ module Telnyx
1357
1357
  end
1358
1358
  OrInteger = T.type_alias { Integer }
1359
1359
 
1360
- SAMPLE_RATE_8000 =
1360
+ RATE_8000 =
1361
1361
  T.let(
1362
1362
  8000,
1363
1363
  ::Telnyx::TextToSpeechGenerateParams::Xai::SampleRate::TaggedInteger
1364
1364
  )
1365
- SAMPLE_RATE_16000 =
1365
+ RATE_16000 =
1366
1366
  T.let(
1367
1367
  16_000,
1368
1368
  ::Telnyx::TextToSpeechGenerateParams::Xai::SampleRate::TaggedInteger
1369
1369
  )
1370
- SAMPLE_RATE_22050 =
1370
+ RATE_22050 =
1371
1371
  T.let(
1372
1372
  22_050,
1373
1373
  ::Telnyx::TextToSpeechGenerateParams::Xai::SampleRate::TaggedInteger
1374
1374
  )
1375
- SAMPLE_RATE_24000 =
1375
+ RATE_24000 =
1376
1376
  T.let(
1377
1377
  24_000,
1378
1378
  ::Telnyx::TextToSpeechGenerateParams::Xai::SampleRate::TaggedInteger
1379
1379
  )
1380
- SAMPLE_RATE_44100 =
1380
+ RATE_44100 =
1381
1381
  T.let(
1382
1382
  44_100,
1383
1383
  ::Telnyx::TextToSpeechGenerateParams::Xai::SampleRate::TaggedInteger
1384
1384
  )
1385
- SAMPLE_RATE_48000 =
1385
+ RATE_48000 =
1386
1386
  T.let(
1387
1387
  48_000,
1388
1388
  ::Telnyx::TextToSpeechGenerateParams::Xai::SampleRate::TaggedInteger