telnyx 5.167.0 → 5.169.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 (396) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +14 -0
  3. data/README.md +1 -1
  4. data/lib/telnyx/client.rb +44 -0
  5. data/lib/telnyx/internal/type/union.rb +6 -6
  6. data/lib/telnyx/models/ai/assistant_a2_a_agent.rb +195 -0
  7. data/lib/telnyx/models/ai/assistant_create_params.rb +22 -7
  8. data/lib/telnyx/models/ai/assistant_tool.rb +285 -12
  9. data/lib/telnyx/models/ai/assistant_update_params.rb +37 -10
  10. data/lib/telnyx/models/ai/assistants/update_assistant.rb +37 -10
  11. data/lib/telnyx/models/ai/audio_transcribe_params.rb +33 -13
  12. data/lib/telnyx/models/ai/audio_transcribe_response.rb +34 -56
  13. data/lib/telnyx/models/ai/audio_transcription_response_word.rb +74 -0
  14. data/lib/telnyx/models/ai/chat_completion_request.rb +128 -74
  15. data/lib/telnyx/models/ai/flow_node.rb +2 -2
  16. data/lib/telnyx/models/ai/inference_embedding.rb +29 -11
  17. data/lib/telnyx/models/ai/inference_embedding_interruption_settings.rb +10 -1
  18. data/lib/telnyx/models/ai/inference_embedding_webhook_tool_params.rb +21 -1
  19. data/lib/telnyx/models/ai/openai/function_definition.rb +31 -0
  20. data/lib/telnyx/models/ai/post_conversation_settings.rb +4 -4
  21. data/lib/telnyx/models/ai/post_conversation_settings_req.rb +4 -4
  22. data/lib/telnyx/models/ai/privacy_settings.rb +20 -1
  23. data/lib/telnyx/models/ai/retrieval_tool.rb +21 -1
  24. data/lib/telnyx/models/ai/telephony_settings.rb +101 -17
  25. data/lib/telnyx/models/ai/tool_node.rb +2 -2
  26. data/lib/telnyx/models/ai/transcription_settings.rb +12 -4
  27. data/lib/telnyx/models/ai/transcription_settings_config.rb +12 -11
  28. data/lib/telnyx/models/ai/typesafe/v1_systemone_params.rb +268 -0
  29. data/lib/telnyx/models/ai/typesafe/v1_systemone_response.rb +222 -0
  30. data/lib/telnyx/models/bot_challenge_create_params.rb +38 -0
  31. data/lib/telnyx/models/bot_challenge_create_response.rb +87 -0
  32. data/lib/telnyx/models/bot_session_list_params.rb +34 -0
  33. data/lib/telnyx/models/bot_session_list_response.rb +32 -0
  34. data/lib/telnyx/models/bot_signup_create_params.rb +103 -0
  35. data/lib/telnyx/models/bot_signup_resend_magic_link_params.rb +22 -0
  36. data/lib/telnyx/models/call_dial_params.rb +75 -7
  37. data/lib/telnyx/models/calls/action_transfer_params.rb +75 -7
  38. data/lib/telnyx/models/calls/transcription_config.rb +14 -3
  39. data/lib/telnyx/models/calls/transcription_engine_assemblyai_config.rb +6 -3
  40. data/lib/telnyx/models/calls/transcription_engine_parakeet_config.rb +1 -0
  41. data/lib/telnyx/models/compute/func_retrieve_logs_params.rb +66 -0
  42. data/lib/telnyx/models/compute/func_retrieve_logs_response.rb +161 -0
  43. data/lib/telnyx/models/compute/func_retrieve_metric_aggregates_params.rb +69 -0
  44. data/lib/telnyx/models/compute/func_retrieve_metric_aggregates_response.rb +137 -0
  45. data/lib/telnyx/models/compute/func_retrieve_revisions_params.rb +34 -0
  46. data/lib/telnyx/models/compute/func_retrieve_revisions_response.rb +101 -0
  47. data/lib/telnyx/models/compute/func_retrieve_ship_inspection_params.rb +22 -0
  48. data/lib/telnyx/models/compute/func_retrieve_ship_inspection_response.rb +94 -0
  49. data/lib/telnyx/models/compute/funcs/export_create_params.rb +62 -0
  50. data/lib/telnyx/models/compute/funcs/export_delete_all_params.rb +24 -0
  51. data/lib/telnyx/models/compute/funcs/export_list_params.rb +24 -0
  52. data/lib/telnyx/models/compute/funcs/func_log_export_config_response.rb +113 -0
  53. data/lib/telnyx/models/compute/functions_observability_pagination_meta.rb +35 -0
  54. data/lib/telnyx/models/compute/logs_meta.rb +23 -0
  55. data/lib/telnyx/models/connection_retrieve_count_params.rb +14 -0
  56. data/lib/telnyx/models/connection_retrieve_count_response.rb +215 -0
  57. data/lib/telnyx/models/credential_connection.rb +4 -1
  58. data/lib/telnyx/models/detail_record_list_params.rb +19 -2
  59. data/lib/telnyx/models/email_inboxes/email_message.rb +12 -1
  60. data/lib/telnyx/models/email_message_batch_params.rb +4 -1
  61. data/lib/telnyx/models/email_message_batch_response.rb +1 -0
  62. data/lib/telnyx/models/fqdn_connection.rb +5 -2
  63. data/lib/telnyx/models/fqdn_connections/fqdn_authentication.rb +9 -2
  64. data/lib/telnyx/models/inbound_message_webhook_event.rb +3 -70
  65. data/lib/telnyx/models/machine_payment_account_credit_params.rb +29 -0
  66. data/lib/telnyx/models/machine_payment_account_credit_response.rb +223 -0
  67. data/lib/telnyx/models/message_retrieve_group_messages_response.rb +3 -3
  68. data/lib/telnyx/models/message_retrieve_response.rb +4 -4
  69. data/lib/telnyx/models/message_schedule_response.rb +3 -3
  70. data/lib/telnyx/models/message_send_group_mms_response.rb +3 -3
  71. data/lib/telnyx/models/message_send_long_code_response.rb +3 -3
  72. data/lib/telnyx/models/message_send_number_pool_response.rb +3 -3
  73. data/lib/telnyx/models/message_send_response.rb +3 -3
  74. data/lib/telnyx/models/message_send_short_code_response.rb +3 -3
  75. data/lib/telnyx/models/messaging_inbound_message.rb +71 -0
  76. data/lib/telnyx/models/messaging_inbound_message_payload.rb +412 -66
  77. data/lib/telnyx/models/messaging_messaging_profile.rb +11 -1
  78. data/lib/telnyx/models/messaging_outbound_message_payload.rb +42 -2
  79. data/lib/telnyx/models/messaging_profile_create_params.rb +11 -1
  80. data/lib/telnyx/models/messaging_profile_features.rb +26 -0
  81. data/lib/telnyx/models/messaging_profile_update_params.rb +11 -1
  82. data/lib/telnyx/models/noise_suppression_engine_list_params.rb +14 -0
  83. data/lib/telnyx/models/noise_suppression_engine_list_response.rb +50 -0
  84. data/lib/telnyx/models/number_order_status_update.rb +15 -3
  85. data/lib/telnyx/models/number_order_status_update_webhook_event.rb +15 -3
  86. data/lib/telnyx/models/outbound_message.rb +1 -0
  87. data/lib/telnyx/models/outbound_message_payload.rb +45 -5
  88. data/lib/telnyx/models/speech_to_text_retrieve_transcription_params.rb +1 -0
  89. data/lib/telnyx/models/success_response.rb +27 -0
  90. data/lib/telnyx/models/texml/accounts/call_calls_params.rb +246 -3
  91. data/lib/telnyx/models/texml/accounts/conferences/participant_participants_params.rb +82 -1
  92. data/lib/telnyx/models/texml/call_create_params.rb +78 -0
  93. data/lib/telnyx/models/texml/call_create_response.rb +55 -0
  94. data/lib/telnyx/models/texml_initiate_ai_call_params.rb +76 -1
  95. data/lib/telnyx/models/uac_connection.rb +4 -1
  96. data/lib/telnyx/models/uac_external_settings.rb +6 -2
  97. data/lib/telnyx/models/unsafe_unwrap_webhook_event.rb +5 -1
  98. data/lib/telnyx/models/unwrap_webhook_event.rb +5 -1
  99. data/lib/telnyx/models/voice_clone_create_from_upload_params.rb +2 -2
  100. data/lib/telnyx/models/whatsapp/business_accounts/phone_number_list_response.rb +104 -1
  101. data/lib/telnyx/models/whatsapp/phone_number_get_response.rb +103 -1
  102. data/lib/telnyx/models/whatsapp/phone_number_list_response.rb +103 -1
  103. data/lib/telnyx/models/whatsapp/phone_number_retrieve_phone_number_params.rb +22 -0
  104. data/lib/telnyx/models/whatsapp/phone_number_retrieve_phone_number_response.rb +207 -0
  105. data/lib/telnyx/models/whatsapp_account_update.rb +112 -0
  106. data/lib/telnyx/models/whatsapp_message_echo.rb +340 -0
  107. data/lib/telnyx/models/x402/credit_account/payment_list_params.rb +34 -0
  108. data/lib/telnyx/models/x402/credit_account/payment_retrieve_params.rb +24 -0
  109. data/lib/telnyx/models/x402/credit_account/payment_retrieve_response.rb +21 -0
  110. data/lib/telnyx/models/x402/credit_account/x402_transaction_record.rb +113 -0
  111. data/lib/telnyx/models.rb +26 -0
  112. data/lib/telnyx/resources/ai/assistants/versions.rb +4 -2
  113. data/lib/telnyx/resources/ai/assistants.rb +8 -4
  114. data/lib/telnyx/resources/ai/audio.rb +2 -2
  115. data/lib/telnyx/resources/ai/openai/chat.rb +2 -8
  116. data/lib/telnyx/resources/ai/typesafe/v1.rb +62 -0
  117. data/lib/telnyx/resources/ai/typesafe.rb +22 -0
  118. data/lib/telnyx/resources/ai.rb +4 -0
  119. data/lib/telnyx/resources/bot_challenge.rb +53 -0
  120. data/lib/telnyx/resources/bot_sessions.rb +57 -0
  121. data/lib/telnyx/resources/bot_signup.rb +97 -0
  122. data/lib/telnyx/resources/calls/actions.rb +1 -1
  123. data/lib/telnyx/resources/calls.rb +1 -1
  124. data/lib/telnyx/resources/compute/funcs/export.rb +105 -0
  125. data/lib/telnyx/resources/compute/funcs.rb +145 -0
  126. data/lib/telnyx/resources/compute.rb +18 -0
  127. data/lib/telnyx/resources/connections.rb +20 -0
  128. data/lib/telnyx/resources/detail_records.rb +1 -1
  129. data/lib/telnyx/resources/email_messages.rb +6 -2
  130. data/lib/telnyx/resources/machine_payments.rb +73 -0
  131. data/lib/telnyx/resources/messaging_profiles.rb +6 -2
  132. data/lib/telnyx/resources/noise_suppression_engines.rb +37 -0
  133. data/lib/telnyx/resources/texml/accounts/conferences/participants.rb +15 -1
  134. data/lib/telnyx/resources/texml/calls.rb +57 -0
  135. data/lib/telnyx/resources/texml.rb +20 -1
  136. data/lib/telnyx/resources/voice_clones.rb +4 -2
  137. data/lib/telnyx/resources/webhooks.rb +2 -2
  138. data/lib/telnyx/resources/whatsapp/phone_numbers.rb +22 -0
  139. data/lib/telnyx/resources/x402/credit_account/payments.rb +71 -0
  140. data/lib/telnyx/resources/x402/credit_account.rb +8 -2
  141. data/lib/telnyx/version.rb +1 -1
  142. data/lib/telnyx.rb +56 -0
  143. data/rbi/telnyx/client.rbi +38 -0
  144. data/rbi/telnyx/models/ai/assistant_a2_a_agent.rbi +345 -0
  145. data/rbi/telnyx/models/ai/assistant_create_params.rbi +45 -12
  146. data/rbi/telnyx/models/ai/assistant_tool.rbi +423 -20
  147. data/rbi/telnyx/models/ai/assistant_update_params.rbi +73 -16
  148. data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +73 -16
  149. data/rbi/telnyx/models/ai/audio_transcribe_params.rbi +71 -20
  150. data/rbi/telnyx/models/ai/audio_transcribe_response.rbi +63 -97
  151. data/rbi/telnyx/models/ai/audio_transcription_response_word.rbi +108 -0
  152. data/rbi/telnyx/models/ai/chat_completion_request.rbi +228 -150
  153. data/rbi/telnyx/models/ai/flow_node.rbi +4 -2
  154. data/rbi/telnyx/models/ai/inference_embedding.rbi +53 -16
  155. data/rbi/telnyx/models/ai/inference_embedding_interruption_settings.rbi +10 -0
  156. data/rbi/telnyx/models/ai/inference_embedding_webhook_tool_params.rbi +29 -3
  157. data/rbi/telnyx/models/ai/openai/function_definition.rbi +56 -0
  158. data/rbi/telnyx/models/ai/post_conversation_settings.rbi +4 -4
  159. data/rbi/telnyx/models/ai/post_conversation_settings_req.rbi +4 -4
  160. data/rbi/telnyx/models/ai/privacy_settings.rbi +43 -3
  161. data/rbi/telnyx/models/ai/retrieval_tool.rbi +29 -3
  162. data/rbi/telnyx/models/ai/telephony_settings.rbi +197 -20
  163. data/rbi/telnyx/models/ai/tool_node.rbi +4 -2
  164. data/rbi/telnyx/models/ai/transcription_settings.rbi +25 -6
  165. data/rbi/telnyx/models/ai/transcription_settings_config.rbi +18 -16
  166. data/rbi/telnyx/models/ai/typesafe/v1_systemone_params.rbi +504 -0
  167. data/rbi/telnyx/models/ai/typesafe/v1_systemone_response.rbi +348 -0
  168. data/rbi/telnyx/models/bot_challenge_create_params.rbi +68 -0
  169. data/rbi/telnyx/models/bot_challenge_create_response.rbi +169 -0
  170. data/rbi/telnyx/models/bot_session_list_params.rbi +53 -0
  171. data/rbi/telnyx/models/bot_session_list_response.rbi +64 -0
  172. data/rbi/telnyx/models/bot_signup_create_params.rbi +179 -0
  173. data/rbi/telnyx/models/bot_signup_resend_magic_link_params.rbi +43 -0
  174. data/rbi/telnyx/models/call_dial_params.rbi +111 -10
  175. data/rbi/telnyx/models/calls/action_transfer_params.rbi +111 -10
  176. data/rbi/telnyx/models/calls/transcription_config.rbi +29 -5
  177. data/rbi/telnyx/models/calls/transcription_engine_assemblyai_config.rbi +11 -3
  178. data/rbi/telnyx/models/calls/transcription_engine_parakeet_config.rbi +5 -0
  179. data/rbi/telnyx/models/compute/func_retrieve_logs_params.rbi +130 -0
  180. data/rbi/telnyx/models/compute/func_retrieve_logs_response.rbi +410 -0
  181. data/rbi/telnyx/models/compute/func_retrieve_metric_aggregates_params.rbi +102 -0
  182. data/rbi/telnyx/models/compute/func_retrieve_metric_aggregates_response.rbi +231 -0
  183. data/rbi/telnyx/models/compute/func_retrieve_revisions_params.rbi +59 -0
  184. data/rbi/telnyx/models/compute/func_retrieve_revisions_response.rbi +213 -0
  185. data/rbi/telnyx/models/compute/func_retrieve_ship_inspection_params.rbi +40 -0
  186. data/rbi/telnyx/models/compute/func_retrieve_ship_inspection_response.rbi +252 -0
  187. data/rbi/telnyx/models/compute/funcs/export_create_params.rbi +84 -0
  188. data/rbi/telnyx/models/compute/funcs/export_delete_all_params.rbi +42 -0
  189. data/rbi/telnyx/models/compute/funcs/export_list_params.rbi +42 -0
  190. data/rbi/telnyx/models/compute/funcs/func_log_export_config_response.rbi +227 -0
  191. data/rbi/telnyx/models/compute/functions_observability_pagination_meta.rbi +70 -0
  192. data/rbi/telnyx/models/compute/logs_meta.rbi +38 -0
  193. data/rbi/telnyx/models/connection_retrieve_count_params.rbi +30 -0
  194. data/rbi/telnyx/models/connection_retrieve_count_response.rbi +353 -0
  195. data/rbi/telnyx/models/credential_connection.rbi +8 -2
  196. data/rbi/telnyx/models/detail_record_list_params.rbi +30 -2
  197. data/rbi/telnyx/models/email_inboxes/email_message.rbi +22 -3
  198. data/rbi/telnyx/models/email_message_batch_params.rbi +6 -0
  199. data/rbi/telnyx/models/email_message_batch_response.rbi +5 -0
  200. data/rbi/telnyx/models/fqdn_connection.rbi +8 -2
  201. data/rbi/telnyx/models/fqdn_connections/fqdn_authentication.rbi +8 -2
  202. data/rbi/telnyx/models/inbound_message_webhook_event.rbi +4 -173
  203. data/rbi/telnyx/models/machine_payment_account_credit_params.rbi +51 -0
  204. data/rbi/telnyx/models/machine_payment_account_credit_response.rbi +446 -0
  205. data/rbi/telnyx/models/message_retrieve_group_messages_response.rbi +6 -12
  206. data/rbi/telnyx/models/message_retrieve_response.rbi +3 -3
  207. data/rbi/telnyx/models/message_schedule_response.rbi +4 -6
  208. data/rbi/telnyx/models/message_send_group_mms_response.rbi +4 -6
  209. data/rbi/telnyx/models/message_send_long_code_response.rbi +4 -6
  210. data/rbi/telnyx/models/message_send_number_pool_response.rbi +4 -6
  211. data/rbi/telnyx/models/message_send_response.rbi +4 -6
  212. data/rbi/telnyx/models/message_send_short_code_response.rbi +4 -6
  213. data/rbi/telnyx/models/messaging_inbound_message.rbi +152 -0
  214. data/rbi/telnyx/models/messaging_inbound_message_payload.rbi +911 -192
  215. data/rbi/telnyx/models/messaging_messaging_profile.rbi +19 -0
  216. data/rbi/telnyx/models/messaging_outbound_message_payload.rbi +90 -16
  217. data/rbi/telnyx/models/messaging_profile_create_params.rbi +19 -0
  218. data/rbi/telnyx/models/messaging_profile_features.rbi +43 -0
  219. data/rbi/telnyx/models/messaging_profile_update_params.rbi +19 -0
  220. data/rbi/telnyx/models/noise_suppression_engine_list_params.rbi +30 -0
  221. data/rbi/telnyx/models/noise_suppression_engine_list_response.rbi +94 -0
  222. data/rbi/telnyx/models/number_order_status_update.rbi +34 -3
  223. data/rbi/telnyx/models/number_order_status_update_webhook_event.rbi +39 -3
  224. data/rbi/telnyx/models/outbound_message.rbi +5 -0
  225. data/rbi/telnyx/models/outbound_message_payload.rbi +74 -4
  226. data/rbi/telnyx/models/speech_to_text_retrieve_transcription_params.rbi +5 -0
  227. data/rbi/telnyx/models/success_response.rbi +36 -0
  228. data/rbi/telnyx/models/texml/accounts/call_calls_params.rbi +339 -0
  229. data/rbi/telnyx/models/texml/accounts/conferences/participant_participants_params.rbi +111 -0
  230. data/rbi/telnyx/models/texml/call_create_params.rbi +124 -0
  231. data/rbi/telnyx/models/texml/call_create_response.rbi +98 -0
  232. data/rbi/telnyx/models/texml_initiate_ai_call_params.rbi +103 -0
  233. data/rbi/telnyx/models/uac_connection.rbi +8 -2
  234. data/rbi/telnyx/models/uac_external_settings.rbi +10 -2
  235. data/rbi/telnyx/models/unsafe_unwrap_webhook_event.rbi +3 -1
  236. data/rbi/telnyx/models/unwrap_webhook_event.rbi +3 -1
  237. data/rbi/telnyx/models/voice_clone_create_from_upload_params.rbi +4 -4
  238. data/rbi/telnyx/models/whatsapp/business_accounts/phone_number_list_response.rbi +213 -0
  239. data/rbi/telnyx/models/whatsapp/phone_number_get_response.rbi +213 -0
  240. data/rbi/telnyx/models/whatsapp/phone_number_list_response.rbi +213 -0
  241. data/rbi/telnyx/models/whatsapp/phone_number_retrieve_phone_number_params.rbi +40 -0
  242. data/rbi/telnyx/models/whatsapp/phone_number_retrieve_phone_number_response.rbi +401 -0
  243. data/rbi/telnyx/models/whatsapp_account_update.rbi +236 -0
  244. data/rbi/telnyx/models/whatsapp_message_echo.rbi +611 -0
  245. data/rbi/telnyx/models/x402/credit_account/payment_list_params.rbi +64 -0
  246. data/rbi/telnyx/models/x402/credit_account/payment_retrieve_params.rbi +42 -0
  247. data/rbi/telnyx/models/x402/credit_account/payment_retrieve_response.rbi +53 -0
  248. data/rbi/telnyx/models/x402/credit_account/x402_transaction_record.rbi +219 -0
  249. data/rbi/telnyx/models.rbi +29 -0
  250. data/rbi/telnyx/resources/ai/assistants/versions.rbi +31 -7
  251. data/rbi/telnyx/resources/ai/assistants.rbi +46 -12
  252. data/rbi/telnyx/resources/ai/audio.rbi +20 -9
  253. data/rbi/telnyx/resources/ai/openai/chat.rbi +9 -13
  254. data/rbi/telnyx/resources/ai/typesafe/v1.rbi +61 -0
  255. data/rbi/telnyx/resources/ai/typesafe.rbi +19 -0
  256. data/rbi/telnyx/resources/ai.rbi +3 -0
  257. data/rbi/telnyx/resources/bot_challenge.rbi +45 -0
  258. data/rbi/telnyx/resources/bot_sessions.rbi +45 -0
  259. data/rbi/telnyx/resources/bot_signup.rbi +87 -0
  260. data/rbi/telnyx/resources/calls/actions.rbi +6 -5
  261. data/rbi/telnyx/resources/calls.rbi +6 -5
  262. data/rbi/telnyx/resources/compute/funcs/export.rbi +86 -0
  263. data/rbi/telnyx/resources/compute/funcs.rbi +114 -0
  264. data/rbi/telnyx/resources/compute.rbi +15 -0
  265. data/rbi/telnyx/resources/connections.rbi +11 -0
  266. data/rbi/telnyx/resources/detail_records.rbi +12 -1
  267. data/rbi/telnyx/resources/email_messages.rbi +8 -2
  268. data/rbi/telnyx/resources/machine_payments.rbi +64 -0
  269. data/rbi/telnyx/resources/messaging_profiles.rbi +10 -0
  270. data/rbi/telnyx/resources/noise_suppression_engines.rbi +26 -0
  271. data/rbi/telnyx/resources/texml/accounts/conferences/participants.rbi +32 -0
  272. data/rbi/telnyx/resources/texml/calls.rbi +50 -0
  273. data/rbi/telnyx/resources/texml.rbi +36 -0
  274. data/rbi/telnyx/resources/voice_clones.rbi +4 -2
  275. data/rbi/telnyx/resources/webhooks.rbi +6 -2
  276. data/rbi/telnyx/resources/whatsapp/phone_numbers.rbi +18 -0
  277. data/rbi/telnyx/resources/x402/credit_account/payments.rbi +60 -0
  278. data/rbi/telnyx/resources/x402/credit_account.rbi +5 -0
  279. data/sig/telnyx/client.rbs +12 -0
  280. data/sig/telnyx/models/ai/assistant_a2_a_agent.rbs +140 -0
  281. data/sig/telnyx/models/ai/assistant_create_params.rbs +9 -0
  282. data/sig/telnyx/models/ai/assistant_tool.rbs +162 -23
  283. data/sig/telnyx/models/ai/assistant_update_params.rbs +9 -0
  284. data/sig/telnyx/models/ai/assistants/update_assistant.rbs +9 -0
  285. data/sig/telnyx/models/ai/audio_transcribe_params.rbs +10 -0
  286. data/sig/telnyx/models/ai/audio_transcribe_response.rbs +29 -43
  287. data/sig/telnyx/models/ai/audio_transcription_response_word.rbs +60 -0
  288. data/sig/telnyx/models/ai/chat_completion_request.rbs +90 -79
  289. data/sig/telnyx/models/ai/inference_embedding.rbs +9 -0
  290. data/sig/telnyx/models/ai/inference_embedding_interruption_settings.rbs +5 -0
  291. data/sig/telnyx/models/ai/inference_embedding_webhook_tool_params.rbs +10 -3
  292. data/sig/telnyx/models/ai/openai/function_definition.rbs +34 -0
  293. data/sig/telnyx/models/ai/privacy_settings.rbs +11 -3
  294. data/sig/telnyx/models/ai/retrieval_tool.rbs +10 -3
  295. data/sig/telnyx/models/ai/telephony_settings.rbs +59 -4
  296. data/sig/telnyx/models/ai/transcription_settings.rbs +4 -0
  297. data/sig/telnyx/models/ai/typesafe/v1_systemone_params.rbs +195 -0
  298. data/sig/telnyx/models/ai/typesafe/v1_systemone_response.rbs +141 -0
  299. data/sig/telnyx/models/bot_challenge_create_params.rbs +42 -0
  300. data/sig/telnyx/models/bot_challenge_create_response.rbs +72 -0
  301. data/sig/telnyx/models/bot_session_list_params.rbs +28 -0
  302. data/sig/telnyx/models/bot_session_list_response.rbs +26 -0
  303. data/sig/telnyx/models/bot_signup_create_params.rbs +89 -0
  304. data/sig/telnyx/models/bot_signup_resend_magic_link_params.rbs +20 -0
  305. data/sig/telnyx/models/call_dial_params.rbs +49 -0
  306. data/sig/telnyx/models/calls/action_transfer_params.rbs +49 -0
  307. data/sig/telnyx/models/calls/transcription_config.rbs +4 -0
  308. data/sig/telnyx/models/calls/transcription_engine_assemblyai_config.rbs +3 -1
  309. data/sig/telnyx/models/calls/transcription_engine_parakeet_config.rbs +3 -1
  310. data/sig/telnyx/models/compute/func_retrieve_logs_params.rbs +69 -0
  311. data/sig/telnyx/models/compute/func_retrieve_logs_response.rbs +210 -0
  312. data/sig/telnyx/models/compute/func_retrieve_metric_aggregates_params.rbs +66 -0
  313. data/sig/telnyx/models/compute/func_retrieve_metric_aggregates_response.rbs +149 -0
  314. data/sig/telnyx/models/compute/func_retrieve_revisions_params.rbs +38 -0
  315. data/sig/telnyx/models/compute/func_retrieve_revisions_response.rbs +131 -0
  316. data/sig/telnyx/models/compute/func_retrieve_ship_inspection_params.rbs +22 -0
  317. data/sig/telnyx/models/compute/func_retrieve_ship_inspection_response.rbs +117 -0
  318. data/sig/telnyx/models/compute/funcs/export_create_params.rbs +50 -0
  319. data/sig/telnyx/models/compute/funcs/export_delete_all_params.rbs +27 -0
  320. data/sig/telnyx/models/compute/funcs/export_list_params.rbs +27 -0
  321. data/sig/telnyx/models/compute/funcs/func_log_export_config_response.rbs +115 -0
  322. data/sig/telnyx/models/compute/functions_observability_pagination_meta.rbs +45 -0
  323. data/sig/telnyx/models/compute/logs_meta.rbs +21 -0
  324. data/sig/telnyx/models/connection_retrieve_count_params.rbs +15 -0
  325. data/sig/telnyx/models/connection_retrieve_count_response.rbs +169 -0
  326. data/sig/telnyx/models/email_inboxes/email_message.rbs +12 -3
  327. data/sig/telnyx/models/email_message_batch_response.rbs +2 -0
  328. data/sig/telnyx/models/inbound_message_webhook_event.rbs +6 -79
  329. data/sig/telnyx/models/machine_payment_account_credit_params.rbs +23 -0
  330. data/sig/telnyx/models/machine_payment_account_credit_response.rbs +164 -0
  331. data/sig/telnyx/models/message_retrieve_group_messages_response.rbs +6 -8
  332. data/sig/telnyx/models/message_retrieve_response.rbs +1 -2
  333. data/sig/telnyx/models/message_schedule_response.rbs +6 -7
  334. data/sig/telnyx/models/message_send_group_mms_response.rbs +6 -6
  335. data/sig/telnyx/models/message_send_long_code_response.rbs +6 -6
  336. data/sig/telnyx/models/message_send_number_pool_response.rbs +6 -6
  337. data/sig/telnyx/models/message_send_response.rbs +6 -7
  338. data/sig/telnyx/models/message_send_short_code_response.rbs +6 -6
  339. data/sig/telnyx/models/messaging_inbound_message.rbs +76 -0
  340. data/sig/telnyx/models/messaging_inbound_message_payload.rbs +438 -97
  341. data/sig/telnyx/models/messaging_messaging_profile.rbs +5 -0
  342. data/sig/telnyx/models/messaging_outbound_message_payload.rbs +39 -1
  343. data/sig/telnyx/models/messaging_profile_create_params.rbs +5 -0
  344. data/sig/telnyx/models/messaging_profile_features.rbs +15 -0
  345. data/sig/telnyx/models/messaging_profile_update_params.rbs +5 -0
  346. data/sig/telnyx/models/noise_suppression_engine_list_params.rbs +15 -0
  347. data/sig/telnyx/models/noise_suppression_engine_list_response.rbs +43 -0
  348. data/sig/telnyx/models/number_order_status_update.rbs +14 -4
  349. data/sig/telnyx/models/number_order_status_update_webhook_event.rbs +14 -4
  350. data/sig/telnyx/models/outbound_message.rbs +2 -1
  351. data/sig/telnyx/models/outbound_message_payload.rbs +45 -7
  352. data/sig/telnyx/models/speech_to_text_retrieve_transcription_params.rbs +2 -0
  353. data/sig/telnyx/models/success_response.rbs +15 -0
  354. data/sig/telnyx/models/texml/accounts/call_calls_params.rbs +159 -0
  355. data/sig/telnyx/models/texml/accounts/conferences/participant_participants_params.rbs +49 -0
  356. data/sig/telnyx/models/texml/call_create_params.rbs +72 -0
  357. data/sig/telnyx/models/texml/call_create_response.rbs +47 -0
  358. data/sig/telnyx/models/texml_initiate_ai_call_params.rbs +49 -0
  359. data/sig/telnyx/models/unsafe_unwrap_webhook_event.rbs +2 -0
  360. data/sig/telnyx/models/unwrap_webhook_event.rbs +2 -0
  361. data/sig/telnyx/models/whatsapp/business_accounts/phone_number_list_response.rbs +90 -0
  362. data/sig/telnyx/models/whatsapp/phone_number_get_response.rbs +90 -0
  363. data/sig/telnyx/models/whatsapp/phone_number_list_response.rbs +90 -0
  364. data/sig/telnyx/models/whatsapp/phone_number_retrieve_phone_number_params.rbs +25 -0
  365. data/sig/telnyx/models/whatsapp/phone_number_retrieve_phone_number_response.rbs +201 -0
  366. data/sig/telnyx/models/whatsapp_account_update.rbs +107 -0
  367. data/sig/telnyx/models/whatsapp_message_echo.rbs +291 -0
  368. data/sig/telnyx/models/x402/credit_account/payment_list_params.rbs +36 -0
  369. data/sig/telnyx/models/x402/credit_account/payment_retrieve_params.rbs +27 -0
  370. data/sig/telnyx/models/x402/credit_account/payment_retrieve_response.rbs +26 -0
  371. data/sig/telnyx/models/x402/credit_account/x402_transaction_record.rbs +104 -0
  372. data/sig/telnyx/models.rbs +26 -0
  373. data/sig/telnyx/resources/ai/assistants/versions.rbs +1 -0
  374. data/sig/telnyx/resources/ai/assistants.rbs +2 -0
  375. data/sig/telnyx/resources/ai/openai/chat.rbs +1 -4
  376. data/sig/telnyx/resources/ai/typesafe/v1.rbs +17 -0
  377. data/sig/telnyx/resources/ai/typesafe.rbs +11 -0
  378. data/sig/telnyx/resources/ai.rbs +2 -0
  379. data/sig/telnyx/resources/bot_challenge.rbs +14 -0
  380. data/sig/telnyx/resources/bot_sessions.rbs +13 -0
  381. data/sig/telnyx/resources/bot_signup.rbs +24 -0
  382. data/sig/telnyx/resources/compute/funcs/export.rbs +30 -0
  383. data/sig/telnyx/resources/compute/funcs.rbs +43 -0
  384. data/sig/telnyx/resources/compute.rbs +9 -0
  385. data/sig/telnyx/resources/connections.rbs +4 -0
  386. data/sig/telnyx/resources/machine_payments.rbs +12 -0
  387. data/sig/telnyx/resources/messaging_profiles.rbs +2 -0
  388. data/sig/telnyx/resources/noise_suppression_engines.rbs +11 -0
  389. data/sig/telnyx/resources/texml/accounts/conferences/participants.rbs +7 -0
  390. data/sig/telnyx/resources/texml/calls.rbs +19 -0
  391. data/sig/telnyx/resources/texml.rbs +9 -0
  392. data/sig/telnyx/resources/webhooks.rbs +6 -2
  393. data/sig/telnyx/resources/whatsapp/phone_numbers.rbs +5 -0
  394. data/sig/telnyx/resources/x402/credit_account/payments.rbs +22 -0
  395. data/sig/telnyx/resources/x402/credit_account.rbs +2 -0
  396. metadata +170 -2
@@ -55,7 +55,14 @@ module Telnyx
55
55
  fallback_url: String,
56
56
  from: String,
57
57
  machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection,
58
+ machine_detection_beep_max_frequency: Integer,
59
+ machine_detection_beep_min_frequency: Integer,
60
+ machine_detection_beep_min_tone_duration: Integer,
58
61
  machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection_beep_profile,
62
+ machine_detection_beep_spectral_confirmation: bool,
63
+ machine_detection_beep_spectral_min_purity: Float,
64
+ machine_detection_beep_spectral_reject_fax_cng: bool,
65
+ machine_detection_beep_spectral_window: Integer,
59
66
  machine_detection_prompt_end_timeout: Integer,
60
67
  machine_detection_silence_timeout: Integer,
61
68
  machine_detection_speech_end_threshold: Integer,
@@ -162,12 +169,44 @@ module Telnyx
162
169
  Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection
163
170
  ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection
164
171
 
172
+ attr_reader machine_detection_beep_max_frequency: Integer?
173
+
174
+ def machine_detection_beep_max_frequency=: (Integer) -> Integer
175
+
176
+ attr_reader machine_detection_beep_min_frequency: Integer?
177
+
178
+ def machine_detection_beep_min_frequency=: (Integer) -> Integer
179
+
180
+ attr_reader machine_detection_beep_min_tone_duration: Integer?
181
+
182
+ def machine_detection_beep_min_tone_duration=: (
183
+ Integer
184
+ ) -> Integer
185
+
165
186
  attr_reader machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection_beep_profile?
166
187
 
167
188
  def machine_detection_beep_profile=: (
168
189
  Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection_beep_profile
169
190
  ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection_beep_profile
170
191
 
192
+ attr_reader machine_detection_beep_spectral_confirmation: bool?
193
+
194
+ def machine_detection_beep_spectral_confirmation=: (bool) -> bool
195
+
196
+ attr_reader machine_detection_beep_spectral_min_purity: Float?
197
+
198
+ def machine_detection_beep_spectral_min_purity=: (Float) -> Float
199
+
200
+ attr_reader machine_detection_beep_spectral_reject_fax_cng: bool?
201
+
202
+ def machine_detection_beep_spectral_reject_fax_cng=: (
203
+ bool
204
+ ) -> bool
205
+
206
+ attr_reader machine_detection_beep_spectral_window: Integer?
207
+
208
+ def machine_detection_beep_spectral_window=: (Integer) -> Integer
209
+
171
210
  attr_reader machine_detection_prompt_end_timeout: Integer?
172
211
 
173
212
  def machine_detection_prompt_end_timeout=: (Integer) -> Integer
@@ -317,7 +356,14 @@ module Telnyx
317
356
  ?fallback_url: String,
318
357
  ?from: String,
319
358
  ?machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection,
359
+ ?machine_detection_beep_max_frequency: Integer,
360
+ ?machine_detection_beep_min_frequency: Integer,
361
+ ?machine_detection_beep_min_tone_duration: Integer,
320
362
  ?machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection_beep_profile,
363
+ ?machine_detection_beep_spectral_confirmation: bool,
364
+ ?machine_detection_beep_spectral_min_purity: Float,
365
+ ?machine_detection_beep_spectral_reject_fax_cng: bool,
366
+ ?machine_detection_beep_spectral_window: Integer,
321
367
  ?machine_detection_prompt_end_timeout: Integer,
322
368
  ?machine_detection_silence_timeout: Integer,
323
369
  ?machine_detection_speech_end_threshold: Integer,
@@ -366,7 +412,14 @@ module Telnyx
366
412
  fallback_url: String,
367
413
  from: String,
368
414
  machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection,
415
+ machine_detection_beep_max_frequency: Integer,
416
+ machine_detection_beep_min_frequency: Integer,
417
+ machine_detection_beep_min_tone_duration: Integer,
369
418
  machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection_beep_profile,
419
+ machine_detection_beep_spectral_confirmation: bool,
420
+ machine_detection_beep_spectral_min_purity: Float,
421
+ machine_detection_beep_spectral_reject_fax_cng: bool,
422
+ machine_detection_beep_spectral_window: Integer,
370
423
  machine_detection_prompt_end_timeout: Integer,
371
424
  machine_detection_silence_timeout: Integer,
372
425
  machine_detection_speech_end_threshold: Integer,
@@ -602,7 +655,14 @@ module Telnyx
602
655
  fallback_url: String,
603
656
  from: String,
604
657
  machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection,
658
+ machine_detection_beep_max_frequency: Integer,
659
+ machine_detection_beep_min_frequency: Integer,
660
+ machine_detection_beep_min_tone_duration: Integer,
605
661
  machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection_beep_profile,
662
+ machine_detection_beep_spectral_confirmation: bool,
663
+ machine_detection_beep_spectral_min_purity: Float,
664
+ machine_detection_beep_spectral_reject_fax_cng: bool,
665
+ machine_detection_beep_spectral_window: Integer,
606
666
  machine_detection_prompt_end_timeout: Integer,
607
667
  machine_detection_silence_timeout: Integer,
608
668
  machine_detection_speech_end_threshold: Integer,
@@ -709,12 +769,44 @@ module Telnyx
709
769
  Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection
710
770
  ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection
711
771
 
772
+ attr_reader machine_detection_beep_max_frequency: Integer?
773
+
774
+ def machine_detection_beep_max_frequency=: (Integer) -> Integer
775
+
776
+ attr_reader machine_detection_beep_min_frequency: Integer?
777
+
778
+ def machine_detection_beep_min_frequency=: (Integer) -> Integer
779
+
780
+ attr_reader machine_detection_beep_min_tone_duration: Integer?
781
+
782
+ def machine_detection_beep_min_tone_duration=: (
783
+ Integer
784
+ ) -> Integer
785
+
712
786
  attr_reader machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection_beep_profile?
713
787
 
714
788
  def machine_detection_beep_profile=: (
715
789
  Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection_beep_profile
716
790
  ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection_beep_profile
717
791
 
792
+ attr_reader machine_detection_beep_spectral_confirmation: bool?
793
+
794
+ def machine_detection_beep_spectral_confirmation=: (bool) -> bool
795
+
796
+ attr_reader machine_detection_beep_spectral_min_purity: Float?
797
+
798
+ def machine_detection_beep_spectral_min_purity=: (Float) -> Float
799
+
800
+ attr_reader machine_detection_beep_spectral_reject_fax_cng: bool?
801
+
802
+ def machine_detection_beep_spectral_reject_fax_cng=: (
803
+ bool
804
+ ) -> bool
805
+
806
+ attr_reader machine_detection_beep_spectral_window: Integer?
807
+
808
+ def machine_detection_beep_spectral_window=: (Integer) -> Integer
809
+
718
810
  attr_reader machine_detection_prompt_end_timeout: Integer?
719
811
 
720
812
  def machine_detection_prompt_end_timeout=: (Integer) -> Integer
@@ -864,7 +956,14 @@ module Telnyx
864
956
  ?fallback_url: String,
865
957
  ?from: String,
866
958
  ?machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection,
959
+ ?machine_detection_beep_max_frequency: Integer,
960
+ ?machine_detection_beep_min_frequency: Integer,
961
+ ?machine_detection_beep_min_tone_duration: Integer,
867
962
  ?machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection_beep_profile,
963
+ ?machine_detection_beep_spectral_confirmation: bool,
964
+ ?machine_detection_beep_spectral_min_purity: Float,
965
+ ?machine_detection_beep_spectral_reject_fax_cng: bool,
966
+ ?machine_detection_beep_spectral_window: Integer,
868
967
  ?machine_detection_prompt_end_timeout: Integer,
869
968
  ?machine_detection_silence_timeout: Integer,
870
969
  ?machine_detection_speech_end_threshold: Integer,
@@ -913,7 +1012,14 @@ module Telnyx
913
1012
  fallback_url: String,
914
1013
  from: String,
915
1014
  machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection,
1015
+ machine_detection_beep_max_frequency: Integer,
1016
+ machine_detection_beep_min_frequency: Integer,
1017
+ machine_detection_beep_min_tone_duration: Integer,
916
1018
  machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection_beep_profile,
1019
+ machine_detection_beep_spectral_confirmation: bool,
1020
+ machine_detection_beep_spectral_min_purity: Float,
1021
+ machine_detection_beep_spectral_reject_fax_cng: bool,
1022
+ machine_detection_beep_spectral_window: Integer,
917
1023
  machine_detection_prompt_end_timeout: Integer,
918
1024
  machine_detection_silence_timeout: Integer,
919
1025
  machine_detection_speech_end_threshold: Integer,
@@ -1148,7 +1254,14 @@ module Telnyx
1148
1254
  fallback_url: String,
1149
1255
  from: String,
1150
1256
  machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection,
1257
+ machine_detection_beep_max_frequency: Integer,
1258
+ machine_detection_beep_min_frequency: Integer,
1259
+ machine_detection_beep_min_tone_duration: Integer,
1151
1260
  machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection_beep_profile,
1261
+ machine_detection_beep_spectral_confirmation: bool,
1262
+ machine_detection_beep_spectral_min_purity: Float,
1263
+ machine_detection_beep_spectral_reject_fax_cng: bool,
1264
+ machine_detection_beep_spectral_window: Integer,
1152
1265
  machine_detection_prompt_end_timeout: Integer,
1153
1266
  machine_detection_silence_timeout: Integer,
1154
1267
  machine_detection_speech_end_threshold: Integer,
@@ -1254,12 +1367,44 @@ module Telnyx
1254
1367
  Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection
1255
1368
  ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection
1256
1369
 
1370
+ attr_reader machine_detection_beep_max_frequency: Integer?
1371
+
1372
+ def machine_detection_beep_max_frequency=: (Integer) -> Integer
1373
+
1374
+ attr_reader machine_detection_beep_min_frequency: Integer?
1375
+
1376
+ def machine_detection_beep_min_frequency=: (Integer) -> Integer
1377
+
1378
+ attr_reader machine_detection_beep_min_tone_duration: Integer?
1379
+
1380
+ def machine_detection_beep_min_tone_duration=: (
1381
+ Integer
1382
+ ) -> Integer
1383
+
1257
1384
  attr_reader machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection_beep_profile?
1258
1385
 
1259
1386
  def machine_detection_beep_profile=: (
1260
1387
  Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection_beep_profile
1261
1388
  ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection_beep_profile
1262
1389
 
1390
+ attr_reader machine_detection_beep_spectral_confirmation: bool?
1391
+
1392
+ def machine_detection_beep_spectral_confirmation=: (bool) -> bool
1393
+
1394
+ attr_reader machine_detection_beep_spectral_min_purity: Float?
1395
+
1396
+ def machine_detection_beep_spectral_min_purity=: (Float) -> Float
1397
+
1398
+ attr_reader machine_detection_beep_spectral_reject_fax_cng: bool?
1399
+
1400
+ def machine_detection_beep_spectral_reject_fax_cng=: (
1401
+ bool
1402
+ ) -> bool
1403
+
1404
+ attr_reader machine_detection_beep_spectral_window: Integer?
1405
+
1406
+ def machine_detection_beep_spectral_window=: (Integer) -> Integer
1407
+
1263
1408
  attr_reader machine_detection_prompt_end_timeout: Integer?
1264
1409
 
1265
1410
  def machine_detection_prompt_end_timeout=: (Integer) -> Integer
@@ -1410,7 +1555,14 @@ module Telnyx
1410
1555
  ?fallback_url: String,
1411
1556
  ?from: String,
1412
1557
  ?machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection,
1558
+ ?machine_detection_beep_max_frequency: Integer,
1559
+ ?machine_detection_beep_min_frequency: Integer,
1560
+ ?machine_detection_beep_min_tone_duration: Integer,
1413
1561
  ?machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection_beep_profile,
1562
+ ?machine_detection_beep_spectral_confirmation: bool,
1563
+ ?machine_detection_beep_spectral_min_purity: Float,
1564
+ ?machine_detection_beep_spectral_reject_fax_cng: bool,
1565
+ ?machine_detection_beep_spectral_window: Integer,
1414
1566
  ?machine_detection_prompt_end_timeout: Integer,
1415
1567
  ?machine_detection_silence_timeout: Integer,
1416
1568
  ?machine_detection_speech_end_threshold: Integer,
@@ -1459,7 +1611,14 @@ module Telnyx
1459
1611
  fallback_url: String,
1460
1612
  from: String,
1461
1613
  machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection,
1614
+ machine_detection_beep_max_frequency: Integer,
1615
+ machine_detection_beep_min_frequency: Integer,
1616
+ machine_detection_beep_min_tone_duration: Integer,
1462
1617
  machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection_beep_profile,
1618
+ machine_detection_beep_spectral_confirmation: bool,
1619
+ machine_detection_beep_spectral_min_purity: Float,
1620
+ machine_detection_beep_spectral_reject_fax_cng: bool,
1621
+ machine_detection_beep_spectral_window: Integer,
1463
1622
  machine_detection_prompt_end_timeout: Integer,
1464
1623
  machine_detection_silence_timeout: Integer,
1465
1624
  machine_detection_speech_end_threshold: Integer,
@@ -31,7 +31,14 @@ module Telnyx
31
31
  from: String,
32
32
  label: String,
33
33
  machine_detection: Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection,
34
+ machine_detection_beep_max_frequency: Integer,
35
+ machine_detection_beep_min_frequency: Integer,
36
+ machine_detection_beep_min_tone_duration: Integer,
34
37
  machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection_beep_profile,
38
+ machine_detection_beep_spectral_confirmation: bool,
39
+ machine_detection_beep_spectral_min_purity: Float,
40
+ machine_detection_beep_spectral_reject_fax_cng: bool,
41
+ machine_detection_beep_spectral_window: Integer,
35
42
  machine_detection_silence_timeout: Integer,
36
43
  machine_detection_speech_end_threshold: Integer,
37
44
  machine_detection_speech_threshold: Integer,
@@ -179,12 +186,40 @@ module Telnyx
179
186
  Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection
180
187
  ) -> Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection
181
188
 
189
+ attr_reader machine_detection_beep_max_frequency: Integer?
190
+
191
+ def machine_detection_beep_max_frequency=: (Integer) -> Integer
192
+
193
+ attr_reader machine_detection_beep_min_frequency: Integer?
194
+
195
+ def machine_detection_beep_min_frequency=: (Integer) -> Integer
196
+
197
+ attr_reader machine_detection_beep_min_tone_duration: Integer?
198
+
199
+ def machine_detection_beep_min_tone_duration=: (Integer) -> Integer
200
+
182
201
  attr_reader machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection_beep_profile?
183
202
 
184
203
  def machine_detection_beep_profile=: (
185
204
  Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection_beep_profile
186
205
  ) -> Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection_beep_profile
187
206
 
207
+ attr_reader machine_detection_beep_spectral_confirmation: bool?
208
+
209
+ def machine_detection_beep_spectral_confirmation=: (bool) -> bool
210
+
211
+ attr_reader machine_detection_beep_spectral_min_purity: Float?
212
+
213
+ def machine_detection_beep_spectral_min_purity=: (Float) -> Float
214
+
215
+ attr_reader machine_detection_beep_spectral_reject_fax_cng: bool?
216
+
217
+ def machine_detection_beep_spectral_reject_fax_cng=: (bool) -> bool
218
+
219
+ attr_reader machine_detection_beep_spectral_window: Integer?
220
+
221
+ def machine_detection_beep_spectral_window=: (Integer) -> Integer
222
+
188
223
  attr_reader machine_detection_silence_timeout: Integer?
189
224
 
190
225
  def machine_detection_silence_timeout=: (Integer) -> Integer
@@ -318,7 +353,14 @@ module Telnyx
318
353
  ?from: String,
319
354
  ?label: String,
320
355
  ?machine_detection: Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection,
356
+ ?machine_detection_beep_max_frequency: Integer,
357
+ ?machine_detection_beep_min_frequency: Integer,
358
+ ?machine_detection_beep_min_tone_duration: Integer,
321
359
  ?machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection_beep_profile,
360
+ ?machine_detection_beep_spectral_confirmation: bool,
361
+ ?machine_detection_beep_spectral_min_purity: Float,
362
+ ?machine_detection_beep_spectral_reject_fax_cng: bool,
363
+ ?machine_detection_beep_spectral_window: Integer,
322
364
  ?machine_detection_silence_timeout: Integer,
323
365
  ?machine_detection_speech_end_threshold: Integer,
324
366
  ?machine_detection_speech_threshold: Integer,
@@ -373,7 +415,14 @@ module Telnyx
373
415
  from: String,
374
416
  label: String,
375
417
  machine_detection: Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection,
418
+ machine_detection_beep_max_frequency: Integer,
419
+ machine_detection_beep_min_frequency: Integer,
420
+ machine_detection_beep_min_tone_duration: Integer,
376
421
  machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection_beep_profile,
422
+ machine_detection_beep_spectral_confirmation: bool,
423
+ machine_detection_beep_spectral_min_purity: Float,
424
+ machine_detection_beep_spectral_reject_fax_cng: bool,
425
+ machine_detection_beep_spectral_window: Integer,
377
426
  machine_detection_silence_timeout: Integer,
378
427
  machine_detection_speech_end_threshold: Integer,
379
428
  machine_detection_speech_threshold: Integer,
@@ -0,0 +1,72 @@
1
+ module Telnyx
2
+ module Models
3
+ module Texml
4
+ type call_create_params =
5
+ {
6
+ connection_id: String,
7
+ from: String,
8
+ to: String,
9
+ method_: Telnyx::Models::Texml::CallCreateParams::method_,
10
+ texml: String,
11
+ url: String
12
+ }
13
+ & Telnyx::Internal::Type::request_parameters
14
+
15
+ class CallCreateParams < Telnyx::Internal::Type::BaseModel
16
+ extend Telnyx::Internal::Type::RequestParameters::Converter
17
+ include Telnyx::Internal::Type::RequestParameters
18
+
19
+ attr_accessor connection_id: String
20
+
21
+ attr_accessor from: String
22
+
23
+ attr_accessor to: String
24
+
25
+ attr_reader method_: Telnyx::Models::Texml::CallCreateParams::method_?
26
+
27
+ def method_=: (
28
+ Telnyx::Models::Texml::CallCreateParams::method_
29
+ ) -> Telnyx::Models::Texml::CallCreateParams::method_
30
+
31
+ attr_reader texml: String?
32
+
33
+ def texml=: (String) -> String
34
+
35
+ attr_reader url: String?
36
+
37
+ def url=: (String) -> String
38
+
39
+ def initialize: (
40
+ connection_id: String,
41
+ from: String,
42
+ to: String,
43
+ ?method_: Telnyx::Models::Texml::CallCreateParams::method_,
44
+ ?texml: String,
45
+ ?url: String,
46
+ ?request_options: Telnyx::request_opts
47
+ ) -> void
48
+
49
+ def to_hash: -> {
50
+ connection_id: String,
51
+ from: String,
52
+ to: String,
53
+ method_: Telnyx::Models::Texml::CallCreateParams::method_,
54
+ texml: String,
55
+ url: String,
56
+ request_options: Telnyx::RequestOptions
57
+ }
58
+
59
+ type method_ = :GET | :POST
60
+
61
+ module Method
62
+ extend Telnyx::Internal::Type::Enum
63
+
64
+ GET: :GET
65
+ POST: :POST
66
+
67
+ def self?.values: -> ::Array[Telnyx::Models::Texml::CallCreateParams::method_]
68
+ end
69
+ end
70
+ end
71
+ end
72
+ end
@@ -0,0 +1,47 @@
1
+ module Telnyx
2
+ module Models
3
+ module Texml
4
+ type call_create_response =
5
+ {
6
+ call_sid: String,
7
+ from: String,
8
+ status: Telnyx::Models::Texml::CallCreateResponse::status,
9
+ to: String
10
+ }
11
+
12
+ class CallCreateResponse < Telnyx::Internal::Type::BaseModel
13
+ attr_accessor call_sid: String
14
+
15
+ attr_accessor from: String
16
+
17
+ attr_accessor status: Telnyx::Models::Texml::CallCreateResponse::status
18
+
19
+ attr_accessor to: String
20
+
21
+ def initialize: (
22
+ call_sid: String,
23
+ from: String,
24
+ status: Telnyx::Models::Texml::CallCreateResponse::status,
25
+ to: String
26
+ ) -> void
27
+
28
+ def to_hash: -> {
29
+ call_sid: String,
30
+ from: String,
31
+ status: Telnyx::Models::Texml::CallCreateResponse::status,
32
+ to: String
33
+ }
34
+
35
+ type status = :queued
36
+
37
+ module Status
38
+ extend Telnyx::Internal::Type::Enum
39
+
40
+ QUEUED: :queued
41
+
42
+ def self?.values: -> ::Array[Telnyx::Models::Texml::CallCreateResponse::status]
43
+ end
44
+ end
45
+ end
46
+ end
47
+ end
@@ -18,7 +18,14 @@ module Telnyx
18
18
  custom_headers: ::Array[Telnyx::TexmlInitiateAICallParams::CustomHeader],
19
19
  detection_mode: Telnyx::Models::TexmlInitiateAICallParams::detection_mode,
20
20
  machine_detection: Telnyx::Models::TexmlInitiateAICallParams::machine_detection,
21
+ machine_detection_beep_max_frequency: Integer,
22
+ machine_detection_beep_min_frequency: Integer,
23
+ machine_detection_beep_min_tone_duration: Integer,
21
24
  machine_detection_beep_profile: Telnyx::Models::TexmlInitiateAICallParams::machine_detection_beep_profile,
25
+ machine_detection_beep_spectral_confirmation: bool,
26
+ machine_detection_beep_spectral_min_purity: Float,
27
+ machine_detection_beep_spectral_reject_fax_cng: bool,
28
+ machine_detection_beep_spectral_window: Integer,
22
29
  machine_detection_prompt_end_timeout: Integer,
23
30
  machine_detection_silence_timeout: Integer,
24
31
  machine_detection_speech_end_threshold: Integer,
@@ -119,12 +126,40 @@ module Telnyx
119
126
  Telnyx::Models::TexmlInitiateAICallParams::machine_detection
120
127
  ) -> Telnyx::Models::TexmlInitiateAICallParams::machine_detection
121
128
 
129
+ attr_reader machine_detection_beep_max_frequency: Integer?
130
+
131
+ def machine_detection_beep_max_frequency=: (Integer) -> Integer
132
+
133
+ attr_reader machine_detection_beep_min_frequency: Integer?
134
+
135
+ def machine_detection_beep_min_frequency=: (Integer) -> Integer
136
+
137
+ attr_reader machine_detection_beep_min_tone_duration: Integer?
138
+
139
+ def machine_detection_beep_min_tone_duration=: (Integer) -> Integer
140
+
122
141
  attr_reader machine_detection_beep_profile: Telnyx::Models::TexmlInitiateAICallParams::machine_detection_beep_profile?
123
142
 
124
143
  def machine_detection_beep_profile=: (
125
144
  Telnyx::Models::TexmlInitiateAICallParams::machine_detection_beep_profile
126
145
  ) -> Telnyx::Models::TexmlInitiateAICallParams::machine_detection_beep_profile
127
146
 
147
+ attr_reader machine_detection_beep_spectral_confirmation: bool?
148
+
149
+ def machine_detection_beep_spectral_confirmation=: (bool) -> bool
150
+
151
+ attr_reader machine_detection_beep_spectral_min_purity: Float?
152
+
153
+ def machine_detection_beep_spectral_min_purity=: (Float) -> Float
154
+
155
+ attr_reader machine_detection_beep_spectral_reject_fax_cng: bool?
156
+
157
+ def machine_detection_beep_spectral_reject_fax_cng=: (bool) -> bool
158
+
159
+ attr_reader machine_detection_beep_spectral_window: Integer?
160
+
161
+ def machine_detection_beep_spectral_window=: (Integer) -> Integer
162
+
128
163
  attr_reader machine_detection_prompt_end_timeout: Integer?
129
164
 
130
165
  def machine_detection_prompt_end_timeout=: (Integer) -> Integer
@@ -254,7 +289,14 @@ module Telnyx
254
289
  ?custom_headers: ::Array[Telnyx::TexmlInitiateAICallParams::CustomHeader],
255
290
  ?detection_mode: Telnyx::Models::TexmlInitiateAICallParams::detection_mode,
256
291
  ?machine_detection: Telnyx::Models::TexmlInitiateAICallParams::machine_detection,
292
+ ?machine_detection_beep_max_frequency: Integer,
293
+ ?machine_detection_beep_min_frequency: Integer,
294
+ ?machine_detection_beep_min_tone_duration: Integer,
257
295
  ?machine_detection_beep_profile: Telnyx::Models::TexmlInitiateAICallParams::machine_detection_beep_profile,
296
+ ?machine_detection_beep_spectral_confirmation: bool,
297
+ ?machine_detection_beep_spectral_min_purity: Float,
298
+ ?machine_detection_beep_spectral_reject_fax_cng: bool,
299
+ ?machine_detection_beep_spectral_window: Integer,
258
300
  ?machine_detection_prompt_end_timeout: Integer,
259
301
  ?machine_detection_silence_timeout: Integer,
260
302
  ?machine_detection_speech_end_threshold: Integer,
@@ -300,7 +342,14 @@ module Telnyx
300
342
  custom_headers: ::Array[Telnyx::TexmlInitiateAICallParams::CustomHeader],
301
343
  detection_mode: Telnyx::Models::TexmlInitiateAICallParams::detection_mode,
302
344
  machine_detection: Telnyx::Models::TexmlInitiateAICallParams::machine_detection,
345
+ machine_detection_beep_max_frequency: Integer,
346
+ machine_detection_beep_min_frequency: Integer,
347
+ machine_detection_beep_min_tone_duration: Integer,
303
348
  machine_detection_beep_profile: Telnyx::Models::TexmlInitiateAICallParams::machine_detection_beep_profile,
349
+ machine_detection_beep_spectral_confirmation: bool,
350
+ machine_detection_beep_spectral_min_purity: Float,
351
+ machine_detection_beep_spectral_reject_fax_cng: bool,
352
+ machine_detection_beep_spectral_window: Integer,
304
353
  machine_detection_prompt_end_timeout: Integer,
305
354
  machine_detection_silence_timeout: Integer,
306
355
  machine_detection_speech_end_threshold: Integer,
@@ -74,6 +74,8 @@ module Telnyx
74
74
  | Telnyx::SessionStatusChangedWebhookEvent
75
75
  | Telnyx::TranscriptCompletedWebhookEvent
76
76
  | Telnyx::TranscriptionWebhookEvent
77
+ | Telnyx::WhatsappAccountUpdate
78
+ | Telnyx::WhatsappMessageEcho
77
79
 
78
80
  module UnsafeUnwrapWebhookEvent
79
81
  extend Telnyx::Internal::Type::Union
@@ -74,6 +74,8 @@ module Telnyx
74
74
  | Telnyx::SessionStatusChangedWebhookEvent
75
75
  | Telnyx::TranscriptCompletedWebhookEvent
76
76
  | Telnyx::TranscriptionWebhookEvent
77
+ | Telnyx::WhatsappAccountUpdate
78
+ | Telnyx::WhatsappMessageEcho
77
79
 
78
80
  module UnwrapWebhookEvent
79
81
  extend Telnyx::Internal::Type::Union