telnyx 5.159.0 → 5.160.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 (709) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/README.md +1 -1
  4. data/lib/telnyx/client.rb +3 -4
  5. data/lib/telnyx/models/actions/purchase_create_response.rb +3 -3
  6. data/lib/telnyx/models/actions/register_create_response.rb +3 -3
  7. data/lib/telnyx/models/actions/wireless_error_c5290d5308.rb +61 -0
  8. data/lib/telnyx/models/ai/assistant_create_params.rb +2 -2
  9. data/lib/telnyx/models/ai/assistant_tool.rb +28 -1
  10. data/lib/telnyx/models/ai/assistant_update_params.rb +2 -2
  11. data/lib/telnyx/models/ai/assistants/update_assistant.rb +2 -2
  12. data/lib/telnyx/models/ai/collection.rb +82 -0
  13. data/lib/telnyx/models/ai/collection_create_params.rb +56 -0
  14. data/lib/telnyx/models/ai/collection_delete_params.rb +22 -0
  15. data/lib/telnyx/models/ai/collection_envelope.rb +18 -0
  16. data/lib/telnyx/models/ai/collection_list_params.rb +32 -0
  17. data/lib/telnyx/models/ai/collection_retrieve_by_id_params.rb +22 -0
  18. data/lib/telnyx/models/ai/collection_retrieve_documents_params.rb +104 -0
  19. data/lib/telnyx/models/ai/collection_retrieve_documents_response.rb +180 -0
  20. data/lib/telnyx/models/ai/collection_retrieve_params.rb +22 -0
  21. data/lib/telnyx/models/ai/collection_update_params.rb +34 -0
  22. data/lib/telnyx/models/ai/collections/retrieval_settings.rb +49 -0
  23. data/lib/telnyx/models/ai/collections/retrieval_settings_wrapper.rb +30 -0
  24. data/lib/telnyx/models/ai/collections/setting_create_params.rb +24 -0
  25. data/lib/telnyx/models/ai/collections/setting_list_params.rb +24 -0
  26. data/lib/telnyx/models/ai/collections/setting_patch_all_params.rb +24 -0
  27. data/lib/telnyx/models/ai/collections/settings_envelope.rb +20 -0
  28. data/lib/telnyx/models/ai/collections/settings_request.rb +20 -0
  29. data/lib/telnyx/models/ai/collections/source.rb +62 -0
  30. data/lib/telnyx/models/ai/collections/source_create_params.rb +24 -0
  31. data/lib/telnyx/models/ai/collections/source_create_response.rb +22 -0
  32. data/lib/telnyx/models/ai/collections/source_delete_params.rb +30 -0
  33. data/lib/telnyx/models/ai/collections/source_list_params.rb +24 -0
  34. data/lib/telnyx/models/ai/collections/source_list_response.rb +20 -0
  35. data/lib/telnyx/models/ai/collections/source_replace_params.rb +30 -0
  36. data/lib/telnyx/models/ai/collections/source_replace_response.rb +58 -0
  37. data/lib/telnyx/models/ai/collections/source_request.rb +34 -0
  38. data/lib/telnyx/models/ai/collections/source_type.rb +24 -0
  39. data/lib/telnyx/models/ai/inference_embedding.rb +6 -6
  40. data/lib/telnyx/models/ai/telephony_settings.rb +11 -1
  41. data/lib/telnyx/models/ai/tool_create_params.rb +19 -1
  42. data/lib/telnyx/models/ai/tool_update_params.rb +20 -1
  43. data/lib/telnyx/models/ai/update_dynamic_variables_tool_params.rb +78 -0
  44. data/lib/telnyx/models/credential_connection.rb +11 -1
  45. data/lib/telnyx/models/credential_connection_update_params.rb +11 -1
  46. data/lib/telnyx/models/fqdn_connection.rb +11 -1
  47. data/lib/telnyx/models/fqdn_connection_update_params.rb +11 -1
  48. data/lib/telnyx/models/fqdn_connections/fqdn_authentication.rb +142 -0
  49. data/lib/telnyx/models/fqdn_connections/fqdn_authentication_list_params.rb +22 -0
  50. data/lib/telnyx/models/fqdn_connections/fqdn_authentication_list_response.rb +18 -0
  51. data/lib/telnyx/models/fqdn_connections/fqdn_authentication_patch_all_params.rb +119 -0
  52. data/lib/telnyx/models/fqdn_connections/fqdn_authentication_patch_all_response.rb +18 -0
  53. data/lib/telnyx/models/inbound_message_webhook_event.rb +594 -3
  54. data/lib/telnyx/models/ip_connection.rb +11 -1
  55. data/lib/telnyx/models/ip_connection_update_params.rb +11 -1
  56. data/lib/telnyx/models/legacy/reporting/batch_detail_records/batch_csv_pagination_meta_705dfa7312.rb +39 -0
  57. data/lib/telnyx/models/legacy/reporting/batch_detail_records/messaging_list_response.rb +3 -3
  58. data/lib/telnyx/models/legacy/reporting/batch_detail_records/voice_list_response.rb +3 -3
  59. data/lib/telnyx/models/legacy/reporting/usage_reports/standard_pagination_meta_ffba4faa88.rb +39 -0
  60. data/lib/telnyx/models/message_cancel_scheduled_response.rb +3 -3
  61. data/lib/telnyx/models/message_retrieve_group_messages_response.rb +3 -3
  62. data/lib/telnyx/models/message_retrieve_response.rb +595 -5
  63. data/lib/telnyx/models/message_schedule_response.rb +3 -3
  64. data/lib/telnyx/models/message_send_group_mms_response.rb +3 -3
  65. data/lib/telnyx/models/message_send_long_code_response.rb +3 -3
  66. data/lib/telnyx/models/message_send_number_pool_response.rb +3 -3
  67. data/lib/telnyx/models/message_send_response.rb +3 -3
  68. data/lib/telnyx/models/message_send_short_code_response.rb +3 -3
  69. data/lib/telnyx/models/message_whatsapp_params.rb +71 -0
  70. data/lib/telnyx/models/message_whatsapp_response.rb +178 -0
  71. data/lib/telnyx/models/messaging_error_0b38e7044b.rb +59 -0
  72. data/lib/telnyx/models/messaging_outbound_message_payload.rb +597 -0
  73. data/lib/telnyx/models/messaging_pagination_meta_0b38e7044b.rb +33 -0
  74. data/lib/telnyx/models/messaging_profile_metric_list_response.rb +3 -3
  75. data/lib/telnyx/models/messaging_profiles/autoresp_config_list_response.rb +3 -3
  76. data/lib/telnyx/models/messaging_tollfree/verification/messaging_toll_free_verification_entity_type.rb +23 -0
  77. data/lib/telnyx/models/messaging_tollfree/verification/messaging_toll_free_verification_tf_verification_request.rb +312 -0
  78. data/lib/telnyx/models/messaging_tollfree/verification/messaging_toll_free_verification_verification_request_egress.rb +296 -0
  79. data/lib/telnyx/models/messaging_tollfree/verification/request_create_params.rb +1 -1
  80. data/lib/telnyx/models/messaging_tollfree/verification/request_retrieve_response.rb +310 -0
  81. data/lib/telnyx/models/messaging_tollfree/verification/request_update_params.rb +1 -1
  82. data/lib/telnyx/models/messaging_tollfree/verification/verification_request_egress.rb +0 -1
  83. data/lib/telnyx/models/messaging_tollfree/verification/verification_request_status.rb +1 -1
  84. data/lib/telnyx/models/netapps_location_17904fcfbc.rb +48 -0
  85. data/lib/telnyx/models/network_coverage_list_response.rb +3 -3
  86. data/lib/telnyx/models/number_order_status_update_webhook_event.rb +405 -0
  87. data/lib/telnyx/models/numbers_phone_number_detailed.rb +369 -0
  88. data/lib/telnyx/models/oauth_oauth_pagination_meta.rb +40 -0
  89. data/lib/telnyx/models/phone_number_detailed.rb +0 -1
  90. data/lib/telnyx/models/phone_number_retrieve_response.rb +3 -3
  91. data/lib/telnyx/models/phone_number_update_response.rb +3 -3
  92. data/lib/telnyx/models/pricing/product_retrieve_params.rb +8 -1
  93. data/lib/telnyx/models/rcs/agent_campaign_configuration.rb +47 -0
  94. data/lib/telnyx/models/rcs/agent_configuration.rb +227 -0
  95. data/lib/telnyx/models/rcs/agent_consent_configuration.rb +110 -0
  96. data/lib/telnyx/models/rcs/agent_create_params.rb +70 -0
  97. data/lib/telnyx/models/rcs/agent_email_contact.rb +23 -0
  98. data/lib/telnyx/models/rcs/agent_interaction.rb +41 -0
  99. data/lib/telnyx/models/rcs/agent_launch_params.rb +62 -0
  100. data/lib/telnyx/models/rcs/agent_list_params.rb +24 -0
  101. data/lib/telnyx/models/rcs/agent_list_response.rb +10 -0
  102. data/lib/telnyx/models/rcs/agent_phone_contact.rb +23 -0
  103. data/lib/telnyx/models/rcs/agent_response.rb +131 -0
  104. data/lib/telnyx/models/rcs/agent_retrieve_carrier_approvals_params.rb +22 -0
  105. data/lib/telnyx/models/rcs/agent_retrieve_carrier_approvals_response.rb +11 -0
  106. data/lib/telnyx/models/rcs/agent_retrieve_params.rb +22 -0
  107. data/lib/telnyx/models/rcs/agent_submission_status.rb +18 -0
  108. data/lib/telnyx/models/rcs/agent_submit_params.rb +22 -0
  109. data/lib/telnyx/models/rcs/agent_testing_configuration.rb +32 -0
  110. data/lib/telnyx/models/rcs/agent_update_params.rb +52 -0
  111. data/lib/telnyx/models/rcs/agent_use_case.rb +19 -0
  112. data/lib/telnyx/models/rcs/agent_website_contact.rb +23 -0
  113. data/lib/telnyx/models/rcs/agents/test_device_create_params.rb +30 -0
  114. data/lib/telnyx/models/rcs/agents/test_device_delete_params.rb +30 -0
  115. data/lib/telnyx/models/rcs/agents/test_device_list_params.rb +24 -0
  116. data/lib/telnyx/models/rcs/agents/test_device_list_response.rb +14 -0
  117. data/lib/telnyx/models/rcs/agents/test_device_response.rb +44 -0
  118. data/lib/telnyx/models/rcs/brand_contact.rb +63 -0
  119. data/lib/telnyx/models/rcs/brand_create_params.rb +184 -0
  120. data/lib/telnyx/models/rcs/brand_legal_entity_type.rb +20 -0
  121. data/lib/telnyx/models/rcs/brand_list_params.rb +16 -0
  122. data/lib/telnyx/models/rcs/brand_list_response.rb +10 -0
  123. data/lib/telnyx/models/rcs/brand_organization_type.rb +20 -0
  124. data/lib/telnyx/models/rcs/brand_response.rb +159 -0
  125. data/lib/telnyx/models/rcs/brand_retrieve_params.rb +22 -0
  126. data/lib/telnyx/models/rcs/brand_submit_params.rb +22 -0
  127. data/lib/telnyx/models/rcs/brand_update_params.rb +189 -0
  128. data/lib/telnyx/models/rcs/capabilities_response.rb +65 -0
  129. data/lib/telnyx/models/rcs/carrier_approval_response.rb +78 -0
  130. data/lib/telnyx/models/rcs/ein_brand_identifier.rb +25 -0
  131. data/lib/telnyx/models/rcs/rcs_agent.rb +84 -0
  132. data/lib/telnyx/models/rcs/rcs_agent_response.rb +19 -0
  133. data/lib/telnyx/models/rcs/stock_symbol_brand_identifier.rb +25 -0
  134. data/lib/telnyx/models/report_list_mdrs_response.rb +3 -3
  135. data/lib/telnyx/models/reports/reporting_pagination_meta_77109e5d17.rb +37 -0
  136. data/lib/telnyx/models/sim_cards/action_disable_response.rb +3 -3
  137. data/lib/telnyx/models/sim_cards/action_enable_response.rb +3 -3
  138. data/lib/telnyx/models/sim_cards/action_remove_public_ip_response.rb +3 -3
  139. data/lib/telnyx/models/sim_cards/action_retrieve_response.rb +3 -3
  140. data/lib/telnyx/models/sim_cards/action_set_public_ip_response.rb +3 -3
  141. data/lib/telnyx/models/sim_cards/action_set_standby_response.rb +3 -3
  142. data/lib/telnyx/models/sim_cards/sim_card_action.rb +0 -1
  143. data/lib/telnyx/models/sim_cards/wireless_sim_card_action.rb +153 -0
  144. data/lib/telnyx/models/sip_registration_status_retrieve_params.rb +8 -5
  145. data/lib/telnyx/models/sip_registration_status_retrieve_response.rb +39 -31
  146. data/lib/telnyx/models/speech_to_text_list_providers_response.rb +10 -1
  147. data/lib/telnyx/models/text_to_speech_list_voices_response.rb +13 -1
  148. data/lib/telnyx/models/unsafe_unwrap_webhook_event.rb +2 -2
  149. data/lib/telnyx/models/unwrap_webhook_event.rb +2 -2
  150. data/lib/telnyx/models/user_address.rb +0 -1
  151. data/lib/telnyx/models/user_address_create_response.rb +3 -3
  152. data/lib/telnyx/models/user_address_retrieve_response.rb +3 -3
  153. data/lib/telnyx/models/user_addresses_user_address.rb +153 -0
  154. data/lib/telnyx/models/virtual_cross_connects_coverage_list_response.rb +3 -3
  155. data/lib/telnyx/models/whatsapp/phone_number_get_params.rb +28 -0
  156. data/lib/telnyx/models/whatsapp/phone_number_get_response.rb +110 -0
  157. data/lib/telnyx/models.rb +21 -3
  158. data/lib/telnyx/resources/access_ip_address.rb +4 -4
  159. data/lib/telnyx/resources/access_ip_ranges.rb +3 -3
  160. data/lib/telnyx/resources/addresses/actions.rb +3 -2
  161. data/lib/telnyx/resources/advanced_orders.rb +8 -4
  162. data/lib/telnyx/resources/ai/assistants/tags.rb +3 -3
  163. data/lib/telnyx/resources/ai/assistants/tools.rb +2 -2
  164. data/lib/telnyx/resources/ai/assistants/versions.rb +1 -1
  165. data/lib/telnyx/resources/ai/assistants.rb +2 -2
  166. data/lib/telnyx/resources/ai/clusters.rb +4 -4
  167. data/lib/telnyx/resources/ai/collections/settings.rb +88 -0
  168. data/lib/telnyx/resources/ai/collections/sources.rb +121 -0
  169. data/lib/telnyx/resources/ai/collections.rb +244 -0
  170. data/lib/telnyx/resources/ai/tools.rb +21 -7
  171. data/lib/telnyx/resources/ai.rb +11 -7
  172. data/lib/telnyx/resources/available_phone_number_blocks.rb +3 -1
  173. data/lib/telnyx/resources/available_phone_numbers.rb +4 -1
  174. data/lib/telnyx/resources/balance.rb +2 -1
  175. data/lib/telnyx/resources/billing_groups.rb +6 -5
  176. data/lib/telnyx/resources/calls/actions.rb +4 -2
  177. data/lib/telnyx/resources/comments.rb +8 -4
  178. data/lib/telnyx/resources/credential_connections.rb +3 -1
  179. data/lib/telnyx/resources/email_blocks.rb +2 -1
  180. data/lib/telnyx/resources/email_domains/webhooks.rb +6 -3
  181. data/lib/telnyx/resources/email_domains.rb +11 -5
  182. data/lib/telnyx/resources/email_templates.rb +4 -2
  183. data/lib/telnyx/resources/email_unsubscribe_groups.rb +3 -2
  184. data/lib/telnyx/resources/external_connections.rb +2 -1
  185. data/lib/telnyx/resources/faxes.rb +3 -3
  186. data/lib/telnyx/resources/fqdn_connections/fqdn_authentication.rb +78 -0
  187. data/lib/telnyx/resources/fqdn_connections.rb +8 -1
  188. data/lib/telnyx/resources/global_ip_assignment_health.rb +1 -1
  189. data/lib/telnyx/resources/global_ip_assignments_usage.rb +1 -1
  190. data/lib/telnyx/resources/global_ip_latency.rb +1 -1
  191. data/lib/telnyx/resources/global_ip_usage.rb +1 -1
  192. data/lib/telnyx/resources/ip_connections.rb +3 -1
  193. data/lib/telnyx/resources/ledger_billing_group_reports.rb +4 -2
  194. data/lib/telnyx/resources/messages/rcs.rb +2 -1
  195. data/lib/telnyx/resources/messages.rb +43 -5
  196. data/lib/telnyx/resources/messaging/rcs/agents.rb +9 -9
  197. data/lib/telnyx/resources/messaging/rcs.rb +3 -2
  198. data/lib/telnyx/resources/messaging_10dlc/brand.rb +3 -1
  199. data/lib/telnyx/resources/messaging_10dlc/campaign/osr.rb +3 -1
  200. data/lib/telnyx/resources/messaging_10dlc/campaign/usecase.rb +2 -1
  201. data/lib/telnyx/resources/messaging_10dlc/campaign.rb +2 -1
  202. data/lib/telnyx/resources/messaging_10dlc/partner_campaigns.rb +1 -1
  203. data/lib/telnyx/resources/messaging_10dlc/phone_number_campaigns.rb +5 -3
  204. data/lib/telnyx/resources/messaging_10dlc.rb +2 -1
  205. data/lib/telnyx/resources/messaging_hosted_number_orders/actions.rb +1 -1
  206. data/lib/telnyx/resources/messaging_hosted_number_orders.rb +8 -4
  207. data/lib/telnyx/resources/messaging_hosted_numbers.rb +1 -1
  208. data/lib/telnyx/resources/messaging_numbers_bulk_updates.rb +4 -2
  209. data/lib/telnyx/resources/messaging_profiles/autoresp_configs.rb +7 -5
  210. data/lib/telnyx/resources/messaging_profiles.rb +14 -7
  211. data/lib/telnyx/resources/messaging_tollfree/verification/requests.rb +8 -8
  212. data/lib/telnyx/resources/messaging_url_domains.rb +2 -1
  213. data/lib/telnyx/resources/mobile_phone_numbers/messaging.rb +2 -2
  214. data/lib/telnyx/resources/mobile_phone_numbers.rb +3 -3
  215. data/lib/telnyx/resources/mobile_voice_connections.rb +5 -5
  216. data/lib/telnyx/resources/number_order_phone_numbers.rb +2 -1
  217. data/lib/telnyx/resources/ota_updates.rb +2 -1
  218. data/lib/telnyx/resources/payment.rb +1 -1
  219. data/lib/telnyx/resources/phone_number_blocks/jobs.rb +5 -2
  220. data/lib/telnyx/resources/phone_numbers/actions.rb +6 -3
  221. data/lib/telnyx/resources/phone_numbers/csv_downloads.rb +7 -3
  222. data/lib/telnyx/resources/phone_numbers/jobs.rb +4 -2
  223. data/lib/telnyx/resources/phone_numbers/messaging.rb +6 -3
  224. data/lib/telnyx/resources/phone_numbers/voice.rb +7 -3
  225. data/lib/telnyx/resources/phone_numbers.rb +11 -6
  226. data/lib/telnyx/resources/phone_numbers_regulatory_requirements.rb +3 -1
  227. data/lib/telnyx/resources/pricing/products.rb +11 -5
  228. data/lib/telnyx/resources/rcs/agents/test_devices.rb +92 -0
  229. data/lib/telnyx/resources/rcs/agents.rb +213 -0
  230. data/lib/telnyx/resources/rcs/brands.rb +163 -0
  231. data/lib/telnyx/resources/rcs.rb +24 -0
  232. data/lib/telnyx/resources/regulatory_requirements.rb +3 -1
  233. data/lib/telnyx/resources/requirement_groups.rb +13 -6
  234. data/lib/telnyx/resources/room_compositions.rb +5 -2
  235. data/lib/telnyx/resources/room_participants.rb +4 -2
  236. data/lib/telnyx/resources/room_recordings.rb +8 -3
  237. data/lib/telnyx/resources/rooms/sessions/actions.rb +9 -3
  238. data/lib/telnyx/resources/rooms/sessions.rb +11 -4
  239. data/lib/telnyx/resources/rooms.rb +5 -2
  240. data/lib/telnyx/resources/short_codes.rb +4 -2
  241. data/lib/telnyx/resources/sim_cards/actions.rb +2 -2
  242. data/lib/telnyx/resources/sip_registration_status.rb +16 -4
  243. data/lib/telnyx/resources/storage/migration_sources.rb +5 -3
  244. data/lib/telnyx/resources/storage/migrations/actions.rb +1 -1
  245. data/lib/telnyx/resources/storage/migrations.rb +2 -2
  246. data/lib/telnyx/resources/storage.rb +1 -1
  247. data/lib/telnyx/resources/sub_number_orders.rb +3 -1
  248. data/lib/telnyx/resources/user_addresses.rb +2 -2
  249. data/lib/telnyx/resources/verifications/actions.rb +3 -1
  250. data/lib/telnyx/resources/verifications/by_phone_number/actions.rb +2 -1
  251. data/lib/telnyx/resources/verifications/by_phone_number.rb +2 -1
  252. data/lib/telnyx/resources/verifications.rb +13 -5
  253. data/lib/telnyx/resources/verified_numbers/actions.rb +2 -1
  254. data/lib/telnyx/resources/verified_numbers.rb +2 -2
  255. data/lib/telnyx/resources/verify_profiles.rb +3 -2
  256. data/lib/telnyx/resources/webhooks.rb +2 -2
  257. data/lib/telnyx/resources/whatsapp/business_accounts/phone_numbers.rb +3 -2
  258. data/lib/telnyx/resources/whatsapp/business_accounts/settings.rb +3 -2
  259. data/lib/telnyx/resources/whatsapp/business_accounts.rb +4 -3
  260. data/lib/telnyx/resources/whatsapp/phone_numbers/calling_settings.rb +2 -2
  261. data/lib/telnyx/resources/whatsapp/phone_numbers/conversational_components.rb +4 -2
  262. data/lib/telnyx/resources/whatsapp/phone_numbers/profile/photo.rb +5 -3
  263. data/lib/telnyx/resources/whatsapp/phone_numbers/profile.rb +3 -2
  264. data/lib/telnyx/resources/whatsapp/phone_numbers.rb +27 -4
  265. data/lib/telnyx/resources/whatsapp/templates.rb +4 -2
  266. data/lib/telnyx/resources/whatsapp/user_data.rb +4 -2
  267. data/lib/telnyx/resources/whatsapp_message_templates.rb +4 -3
  268. data/lib/telnyx/version.rb +1 -1
  269. data/lib/telnyx.rb +104 -4
  270. data/rbi/telnyx/client.rbi +2 -3
  271. data/rbi/telnyx/models/actions/purchase_create_response.rbi +10 -4
  272. data/rbi/telnyx/models/actions/register_create_response.rbi +10 -4
  273. data/rbi/telnyx/models/actions/wireless_error_c5290d5308.rbi +112 -0
  274. data/rbi/telnyx/models/ai/assistant_create_params.rbi +8 -4
  275. data/rbi/telnyx/models/ai/assistant_tool.rbi +58 -1
  276. data/rbi/telnyx/models/ai/assistant_update_params.rbi +8 -4
  277. data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +8 -4
  278. data/rbi/telnyx/models/ai/collection.rbi +133 -0
  279. data/rbi/telnyx/models/ai/collection_create_params.rbi +101 -0
  280. data/rbi/telnyx/models/ai/collection_delete_params.rbi +37 -0
  281. data/rbi/telnyx/models/ai/collection_envelope.rbi +30 -0
  282. data/rbi/telnyx/models/ai/collection_list_params.rbi +59 -0
  283. data/rbi/telnyx/models/ai/collection_retrieve_by_id_params.rbi +40 -0
  284. data/rbi/telnyx/models/ai/collection_retrieve_documents_params.rbi +195 -0
  285. data/rbi/telnyx/models/ai/collection_retrieve_documents_response.rbi +334 -0
  286. data/rbi/telnyx/models/ai/collection_retrieve_params.rbi +40 -0
  287. data/rbi/telnyx/models/ai/collection_update_params.rbi +56 -0
  288. data/rbi/telnyx/models/ai/collections/retrieval_settings.rbi +115 -0
  289. data/rbi/telnyx/models/ai/collections/retrieval_settings_wrapper.rbi +62 -0
  290. data/rbi/telnyx/models/ai/collections/setting_create_params.rbi +42 -0
  291. data/rbi/telnyx/models/ai/collections/setting_list_params.rbi +42 -0
  292. data/rbi/telnyx/models/ai/collections/setting_patch_all_params.rbi +42 -0
  293. data/rbi/telnyx/models/ai/collections/settings_envelope.rbi +49 -0
  294. data/rbi/telnyx/models/ai/collections/settings_request.rbi +49 -0
  295. data/rbi/telnyx/models/ai/collections/source.rbi +105 -0
  296. data/rbi/telnyx/models/ai/collections/source_create_params.rbi +42 -0
  297. data/rbi/telnyx/models/ai/collections/source_create_response.rbi +38 -0
  298. data/rbi/telnyx/models/ai/collections/source_delete_params.rbi +50 -0
  299. data/rbi/telnyx/models/ai/collections/source_list_params.rbi +42 -0
  300. data/rbi/telnyx/models/ai/collections/source_list_response.rbi +43 -0
  301. data/rbi/telnyx/models/ai/collections/source_replace_params.rbi +50 -0
  302. data/rbi/telnyx/models/ai/collections/source_replace_response.rbi +125 -0
  303. data/rbi/telnyx/models/ai/collections/source_request.rbi +61 -0
  304. data/rbi/telnyx/models/ai/collections/source_type.rbi +40 -0
  305. data/rbi/telnyx/models/ai/inference_embedding.rbi +12 -6
  306. data/rbi/telnyx/models/ai/telephony_settings.rbi +15 -0
  307. data/rbi/telnyx/models/ai/tool_create_params.rbi +18 -0
  308. data/rbi/telnyx/models/ai/tool_update_params.rbi +18 -0
  309. data/rbi/telnyx/models/ai/update_dynamic_variables_tool_params.rbi +136 -0
  310. data/rbi/telnyx/models/credential_connection.rbi +15 -0
  311. data/rbi/telnyx/models/credential_connection_update_params.rbi +15 -0
  312. data/rbi/telnyx/models/fqdn_connection.rbi +15 -0
  313. data/rbi/telnyx/models/fqdn_connection_update_params.rbi +15 -0
  314. data/rbi/telnyx/models/fqdn_connections/fqdn_authentication.rbi +273 -0
  315. data/rbi/telnyx/models/fqdn_connections/fqdn_authentication_list_params.rbi +43 -0
  316. data/rbi/telnyx/models/fqdn_connections/fqdn_authentication_list_response.rbi +51 -0
  317. data/rbi/telnyx/models/fqdn_connections/fqdn_authentication_patch_all_params.rbi +241 -0
  318. data/rbi/telnyx/models/fqdn_connections/fqdn_authentication_patch_all_response.rbi +51 -0
  319. data/rbi/telnyx/models/inbound_message_payload.rbi +18 -29
  320. data/rbi/telnyx/models/inbound_message_webhook_event.rbi +1435 -4
  321. data/rbi/telnyx/models/ip_connection.rbi +15 -0
  322. data/rbi/telnyx/models/ip_connection_update_params.rbi +15 -0
  323. data/rbi/telnyx/models/legacy/reporting/batch_detail_records/batch_csv_pagination_meta_705dfa7312.rbi +74 -0
  324. data/rbi/telnyx/models/legacy/reporting/batch_detail_records/messaging_list_response.rbi +4 -4
  325. data/rbi/telnyx/models/legacy/reporting/batch_detail_records/voice_list_response.rbi +4 -4
  326. data/rbi/telnyx/models/legacy/reporting/usage_reports/standard_pagination_meta_ffba4faa88.rbi +74 -0
  327. data/rbi/telnyx/models/message_cancel_scheduled_response.rbi +6 -4
  328. data/rbi/telnyx/models/message_retrieve_group_messages_response.rbi +12 -6
  329. data/rbi/telnyx/models/message_retrieve_response.rbi +1442 -5
  330. data/rbi/telnyx/models/message_schedule_response.rbi +6 -4
  331. data/rbi/telnyx/models/message_send_group_mms_response.rbi +6 -4
  332. data/rbi/telnyx/models/message_send_long_code_response.rbi +6 -4
  333. data/rbi/telnyx/models/message_send_number_pool_response.rbi +6 -4
  334. data/rbi/telnyx/models/message_send_response.rbi +6 -4
  335. data/rbi/telnyx/models/message_send_short_code_response.rbi +6 -4
  336. data/rbi/telnyx/models/message_whatsapp_params.rbi +115 -0
  337. data/rbi/telnyx/models/message_whatsapp_response.rbi +373 -0
  338. data/rbi/telnyx/models/messaging_error_0b38e7044b.rbi +103 -0
  339. data/rbi/telnyx/models/messaging_outbound_message_payload.rbi +1317 -0
  340. data/rbi/telnyx/models/messaging_pagination_meta_0b38e7044b.rbi +51 -0
  341. data/rbi/telnyx/models/messaging_profile_metric_list_response.rbi +6 -4
  342. data/rbi/telnyx/models/messaging_profiles/autoresp_config_list_response.rbi +6 -4
  343. data/rbi/telnyx/models/messaging_tollfree/verification/messaging_toll_free_verification_entity_type.rbi +59 -0
  344. data/rbi/telnyx/models/messaging_tollfree/verification/messaging_toll_free_verification_tf_verification_request.rbi +370 -0
  345. data/rbi/telnyx/models/messaging_tollfree/verification/messaging_toll_free_verification_verification_request_egress.rbi +362 -0
  346. data/rbi/telnyx/models/messaging_tollfree/verification/request_create_params.rbi +1 -1
  347. data/rbi/telnyx/models/messaging_tollfree/verification/request_retrieve_response.rbi +373 -0
  348. data/rbi/telnyx/models/messaging_tollfree/verification/request_update_params.rbi +1 -1
  349. data/rbi/telnyx/models/messaging_tollfree/verification/verification_request_egress.rbi +8 -10
  350. data/rbi/telnyx/models/netapps_location_17904fcfbc.rbi +84 -0
  351. data/rbi/telnyx/models/network_coverage_list_response.rbi +4 -4
  352. data/rbi/telnyx/models/number_order_status_update_webhook_event.rbi +885 -0
  353. data/rbi/telnyx/models/numbers_phone_number_detailed.rbi +659 -0
  354. data/rbi/telnyx/models/oauth_oauth_pagination_meta.rbi +73 -0
  355. data/rbi/telnyx/models/phone_number_detailed.rbi +10 -16
  356. data/rbi/telnyx/models/phone_number_retrieve_response.rbi +4 -4
  357. data/rbi/telnyx/models/phone_number_update_response.rbi +4 -4
  358. data/rbi/telnyx/models/pricing/product_retrieve_params.rbi +6 -0
  359. data/rbi/telnyx/models/rcs/agent_campaign_configuration.rbi +90 -0
  360. data/rbi/telnyx/models/rcs/agent_configuration.rbi +461 -0
  361. data/rbi/telnyx/models/rcs/agent_consent_configuration.rbi +201 -0
  362. data/rbi/telnyx/models/rcs/agent_create_params.rbi +88 -0
  363. data/rbi/telnyx/models/rcs/agent_email_contact.rbi +28 -0
  364. data/rbi/telnyx/models/rcs/agent_interaction.rbi +105 -0
  365. data/rbi/telnyx/models/rcs/agent_launch_params.rbi +120 -0
  366. data/rbi/telnyx/models/rcs/agent_list_params.rbi +45 -0
  367. data/rbi/telnyx/models/rcs/agent_list_response.rbi +13 -0
  368. data/rbi/telnyx/models/rcs/agent_phone_contact.rbi +28 -0
  369. data/rbi/telnyx/models/rcs/agent_response.rbi +218 -0
  370. data/rbi/telnyx/models/rcs/agent_retrieve_carrier_approvals_params.rbi +40 -0
  371. data/rbi/telnyx/models/rcs/agent_retrieve_carrier_approvals_response.rbi +13 -0
  372. data/rbi/telnyx/models/rcs/agent_retrieve_params.rbi +37 -0
  373. data/rbi/telnyx/models/rcs/agent_submission_status.rbi +30 -0
  374. data/rbi/telnyx/models/rcs/agent_submit_params.rbi +37 -0
  375. data/rbi/telnyx/models/rcs/agent_testing_configuration.rbi +54 -0
  376. data/rbi/telnyx/models/rcs/agent_update_params.rbi +90 -0
  377. data/rbi/telnyx/models/rcs/agent_use_case.rbi +27 -0
  378. data/rbi/telnyx/models/rcs/agent_website_contact.rbi +28 -0
  379. data/rbi/telnyx/models/rcs/agents/test_device_create_params.rbi +50 -0
  380. data/rbi/telnyx/models/rcs/agents/test_device_delete_params.rbi +50 -0
  381. data/rbi/telnyx/models/rcs/agents/test_device_list_params.rbi +42 -0
  382. data/rbi/telnyx/models/rcs/agents/test_device_list_response.rbi +17 -0
  383. data/rbi/telnyx/models/rcs/agents/test_device_response.rbi +95 -0
  384. data/rbi/telnyx/models/rcs/brand_contact.rbi +115 -0
  385. data/rbi/telnyx/models/rcs/brand_create_params.rbi +345 -0
  386. data/rbi/telnyx/models/rcs/brand_legal_entity_type.rbi +40 -0
  387. data/rbi/telnyx/models/rcs/brand_list_params.rbi +29 -0
  388. data/rbi/telnyx/models/rcs/brand_list_response.rbi +13 -0
  389. data/rbi/telnyx/models/rcs/brand_organization_type.rbi +40 -0
  390. data/rbi/telnyx/models/rcs/brand_response.rbi +242 -0
  391. data/rbi/telnyx/models/rcs/brand_retrieve_params.rbi +37 -0
  392. data/rbi/telnyx/models/rcs/brand_submit_params.rbi +37 -0
  393. data/rbi/telnyx/models/rcs/brand_update_params.rbi +383 -0
  394. data/rbi/telnyx/models/rcs/capabilities_response.rbi +85 -0
  395. data/rbi/telnyx/models/rcs/carrier_approval_response.rbi +160 -0
  396. data/rbi/telnyx/models/rcs/ein_brand_identifier.rbi +37 -0
  397. data/rbi/telnyx/models/rcs/rcs_agent.rbi +123 -0
  398. data/rbi/telnyx/models/rcs/rcs_agent_response.rbi +32 -0
  399. data/rbi/telnyx/models/rcs/stock_symbol_brand_identifier.rbi +40 -0
  400. data/rbi/telnyx/models/report_list_mdrs_response.rbi +8 -4
  401. data/rbi/telnyx/models/reports/reporting_pagination_meta_77109e5d17.rbi +73 -0
  402. data/rbi/telnyx/models/sim_cards/action_disable_response.rbi +8 -4
  403. data/rbi/telnyx/models/sim_cards/action_enable_response.rbi +8 -4
  404. data/rbi/telnyx/models/sim_cards/action_remove_public_ip_response.rbi +8 -4
  405. data/rbi/telnyx/models/sim_cards/action_retrieve_response.rbi +8 -4
  406. data/rbi/telnyx/models/sim_cards/action_set_public_ip_response.rbi +8 -4
  407. data/rbi/telnyx/models/sim_cards/action_set_standby_response.rbi +8 -4
  408. data/rbi/telnyx/models/sim_cards/sim_card_action.rbi +4 -5
  409. data/rbi/telnyx/models/sim_cards/wireless_sim_card_action.rbi +312 -0
  410. data/rbi/telnyx/models/sip_registration_status_retrieve_params.rbi +15 -7
  411. data/rbi/telnyx/models/sip_registration_status_retrieve_response.rbi +48 -38
  412. data/rbi/telnyx/models/speech_to_text_list_providers_response.rbi +10 -0
  413. data/rbi/telnyx/models/text_to_speech_list_voices_response.rbi +13 -0
  414. data/rbi/telnyx/models/unsafe_unwrap_webhook_event.rbi +1 -1
  415. data/rbi/telnyx/models/unwrap_webhook_event.rbi +1 -1
  416. data/rbi/telnyx/models/user_address_create_response.rbi +6 -4
  417. data/rbi/telnyx/models/user_address_retrieve_response.rbi +6 -4
  418. data/rbi/telnyx/models/user_addresses_user_address.rbi +226 -0
  419. data/rbi/telnyx/models/virtual_cross_connects_coverage_list_response.rbi +4 -4
  420. data/rbi/telnyx/models/whatsapp/phone_number_get_params.rbi +54 -0
  421. data/rbi/telnyx/models/whatsapp/phone_number_get_response.rbi +204 -0
  422. data/rbi/telnyx/models.rbi +24 -3
  423. data/rbi/telnyx/resources/access_ip_address.rbi +4 -4
  424. data/rbi/telnyx/resources/access_ip_ranges.rbi +3 -3
  425. data/rbi/telnyx/resources/addresses/actions.rbi +3 -2
  426. data/rbi/telnyx/resources/advanced_orders.rbi +8 -4
  427. data/rbi/telnyx/resources/ai/assistants/tags.rbi +3 -3
  428. data/rbi/telnyx/resources/ai/assistants/tools.rbi +2 -2
  429. data/rbi/telnyx/resources/ai/assistants/versions.rbi +2 -1
  430. data/rbi/telnyx/resources/ai/assistants.rbi +4 -2
  431. data/rbi/telnyx/resources/ai/clusters.rbi +4 -4
  432. data/rbi/telnyx/resources/ai/collections/settings.rbi +66 -0
  433. data/rbi/telnyx/resources/ai/collections/sources.rbi +89 -0
  434. data/rbi/telnyx/resources/ai/collections.rbi +208 -0
  435. data/rbi/telnyx/resources/ai/tools.rbi +13 -5
  436. data/rbi/telnyx/resources/ai.rbi +10 -7
  437. data/rbi/telnyx/resources/available_phone_number_blocks.rbi +3 -1
  438. data/rbi/telnyx/resources/available_phone_numbers.rbi +4 -1
  439. data/rbi/telnyx/resources/balance.rbi +2 -1
  440. data/rbi/telnyx/resources/billing_groups.rbi +6 -5
  441. data/rbi/telnyx/resources/calls/actions.rbi +4 -2
  442. data/rbi/telnyx/resources/comments.rbi +8 -4
  443. data/rbi/telnyx/resources/credential_connections.rbi +5 -0
  444. data/rbi/telnyx/resources/email_blocks.rbi +2 -1
  445. data/rbi/telnyx/resources/email_domains/webhooks.rbi +6 -3
  446. data/rbi/telnyx/resources/email_domains.rbi +11 -5
  447. data/rbi/telnyx/resources/email_templates.rbi +4 -2
  448. data/rbi/telnyx/resources/email_unsubscribe_groups.rbi +3 -2
  449. data/rbi/telnyx/resources/external_connections.rbi +2 -1
  450. data/rbi/telnyx/resources/faxes.rbi +3 -3
  451. data/rbi/telnyx/resources/fqdn_connections/fqdn_authentication.rbi +77 -0
  452. data/rbi/telnyx/resources/fqdn_connections.rbi +9 -0
  453. data/rbi/telnyx/resources/global_ip_assignment_health.rbi +1 -1
  454. data/rbi/telnyx/resources/global_ip_assignments_usage.rbi +1 -1
  455. data/rbi/telnyx/resources/global_ip_latency.rbi +1 -1
  456. data/rbi/telnyx/resources/global_ip_usage.rbi +1 -1
  457. data/rbi/telnyx/resources/ip_connections.rbi +5 -0
  458. data/rbi/telnyx/resources/ledger_billing_group_reports.rbi +4 -2
  459. data/rbi/telnyx/resources/messages/rcs.rbi +2 -1
  460. data/rbi/telnyx/resources/messages.rbi +39 -5
  461. data/rbi/telnyx/resources/messaging/rcs/agents.rbi +8 -6
  462. data/rbi/telnyx/resources/messaging/rcs.rbi +3 -2
  463. data/rbi/telnyx/resources/messaging_10dlc/brand.rbi +3 -1
  464. data/rbi/telnyx/resources/messaging_10dlc/campaign/osr.rbi +3 -1
  465. data/rbi/telnyx/resources/messaging_10dlc/campaign/usecase.rbi +2 -1
  466. data/rbi/telnyx/resources/messaging_10dlc/campaign.rbi +2 -1
  467. data/rbi/telnyx/resources/messaging_10dlc/partner_campaigns.rbi +1 -1
  468. data/rbi/telnyx/resources/messaging_10dlc/phone_number_campaigns.rbi +5 -3
  469. data/rbi/telnyx/resources/messaging_10dlc.rbi +2 -1
  470. data/rbi/telnyx/resources/messaging_hosted_number_orders/actions.rbi +1 -1
  471. data/rbi/telnyx/resources/messaging_hosted_number_orders.rbi +8 -4
  472. data/rbi/telnyx/resources/messaging_hosted_numbers.rbi +1 -1
  473. data/rbi/telnyx/resources/messaging_numbers_bulk_updates.rbi +4 -2
  474. data/rbi/telnyx/resources/messaging_profiles/autoresp_configs.rbi +7 -5
  475. data/rbi/telnyx/resources/messaging_profiles.rbi +14 -7
  476. data/rbi/telnyx/resources/messaging_tollfree/verification/requests.rbi +5 -5
  477. data/rbi/telnyx/resources/messaging_url_domains.rbi +2 -1
  478. data/rbi/telnyx/resources/mobile_phone_numbers/messaging.rbi +2 -2
  479. data/rbi/telnyx/resources/mobile_phone_numbers.rbi +3 -3
  480. data/rbi/telnyx/resources/mobile_voice_connections.rbi +5 -5
  481. data/rbi/telnyx/resources/number_order_phone_numbers.rbi +2 -1
  482. data/rbi/telnyx/resources/ota_updates.rbi +2 -1
  483. data/rbi/telnyx/resources/payment.rbi +1 -1
  484. data/rbi/telnyx/resources/phone_number_blocks/jobs.rbi +5 -2
  485. data/rbi/telnyx/resources/phone_numbers/actions.rbi +6 -3
  486. data/rbi/telnyx/resources/phone_numbers/csv_downloads.rbi +7 -3
  487. data/rbi/telnyx/resources/phone_numbers/jobs.rbi +4 -2
  488. data/rbi/telnyx/resources/phone_numbers/messaging.rbi +6 -3
  489. data/rbi/telnyx/resources/phone_numbers/voice.rbi +7 -3
  490. data/rbi/telnyx/resources/phone_numbers.rbi +12 -5
  491. data/rbi/telnyx/resources/phone_numbers_regulatory_requirements.rbi +3 -1
  492. data/rbi/telnyx/resources/pricing/products.rbi +3 -1
  493. data/rbi/telnyx/resources/rcs/agents/test_devices.rbi +66 -0
  494. data/rbi/telnyx/resources/rcs/agents.rbi +163 -0
  495. data/rbi/telnyx/resources/rcs/brands.rbi +127 -0
  496. data/rbi/telnyx/resources/rcs.rbi +20 -0
  497. data/rbi/telnyx/resources/regulatory_requirements.rbi +3 -1
  498. data/rbi/telnyx/resources/requirement_groups.rbi +13 -6
  499. data/rbi/telnyx/resources/room_compositions.rbi +5 -2
  500. data/rbi/telnyx/resources/room_participants.rbi +4 -2
  501. data/rbi/telnyx/resources/room_recordings.rbi +8 -3
  502. data/rbi/telnyx/resources/rooms/sessions/actions.rbi +9 -3
  503. data/rbi/telnyx/resources/rooms/sessions.rbi +11 -4
  504. data/rbi/telnyx/resources/rooms.rbi +5 -2
  505. data/rbi/telnyx/resources/short_codes.rbi +4 -2
  506. data/rbi/telnyx/resources/sim_cards/actions.rbi +1 -1
  507. data/rbi/telnyx/resources/sip_registration_status.rbi +19 -6
  508. data/rbi/telnyx/resources/storage/migration_sources.rbi +5 -3
  509. data/rbi/telnyx/resources/storage/migrations/actions.rbi +1 -1
  510. data/rbi/telnyx/resources/storage/migrations.rbi +2 -2
  511. data/rbi/telnyx/resources/storage.rbi +1 -1
  512. data/rbi/telnyx/resources/sub_number_orders.rbi +3 -1
  513. data/rbi/telnyx/resources/user_addresses.rbi +5 -1
  514. data/rbi/telnyx/resources/verifications/actions.rbi +3 -1
  515. data/rbi/telnyx/resources/verifications/by_phone_number/actions.rbi +2 -1
  516. data/rbi/telnyx/resources/verifications/by_phone_number.rbi +2 -1
  517. data/rbi/telnyx/resources/verifications.rbi +13 -5
  518. data/rbi/telnyx/resources/verified_numbers/actions.rbi +2 -1
  519. data/rbi/telnyx/resources/verified_numbers.rbi +2 -2
  520. data/rbi/telnyx/resources/verify_profiles.rbi +3 -2
  521. data/rbi/telnyx/resources/webhooks.rbi +2 -2
  522. data/rbi/telnyx/resources/whatsapp/business_accounts/phone_numbers.rbi +3 -2
  523. data/rbi/telnyx/resources/whatsapp/business_accounts/settings.rbi +3 -2
  524. data/rbi/telnyx/resources/whatsapp/business_accounts.rbi +4 -3
  525. data/rbi/telnyx/resources/whatsapp/phone_numbers/calling_settings.rbi +2 -2
  526. data/rbi/telnyx/resources/whatsapp/phone_numbers/conversational_components.rbi +4 -2
  527. data/rbi/telnyx/resources/whatsapp/phone_numbers/profile/photo.rbi +5 -3
  528. data/rbi/telnyx/resources/whatsapp/phone_numbers/profile.rbi +3 -2
  529. data/rbi/telnyx/resources/whatsapp/phone_numbers.rbi +15 -4
  530. data/rbi/telnyx/resources/whatsapp/templates.rbi +4 -2
  531. data/rbi/telnyx/resources/whatsapp/user_data.rbi +4 -2
  532. data/rbi/telnyx/resources/whatsapp_message_templates.rbi +4 -3
  533. data/sig/telnyx/client.rbs +1 -1
  534. data/sig/telnyx/models/actions/purchase_create_response.rbs +6 -6
  535. data/sig/telnyx/models/actions/register_create_response.rbs +6 -6
  536. data/sig/telnyx/models/actions/wireless_error_c5290d5308.rbs +66 -0
  537. data/sig/telnyx/models/ai/assistant_tool.rbs +23 -0
  538. data/sig/telnyx/models/ai/collection.rbs +91 -0
  539. data/sig/telnyx/models/ai/collection_create_params.rbs +60 -0
  540. data/sig/telnyx/models/ai/collection_delete_params.rbs +25 -0
  541. data/sig/telnyx/models/ai/collection_envelope.rbs +17 -0
  542. data/sig/telnyx/models/ai/collection_list_params.rbs +34 -0
  543. data/sig/telnyx/models/ai/collection_retrieve_by_id_params.rbs +25 -0
  544. data/sig/telnyx/models/ai/collection_retrieve_documents_params.rbs +91 -0
  545. data/sig/telnyx/models/ai/collection_retrieve_documents_response.rbs +206 -0
  546. data/sig/telnyx/models/ai/collection_retrieve_params.rbs +25 -0
  547. data/sig/telnyx/models/ai/collection_update_params.rbs +38 -0
  548. data/sig/telnyx/models/ai/collections/retrieval_settings.rbs +47 -0
  549. data/sig/telnyx/models/ai/collections/retrieval_settings_wrapper.rbs +35 -0
  550. data/sig/telnyx/models/ai/collections/setting_create_params.rbs +29 -0
  551. data/sig/telnyx/models/ai/collections/setting_list_params.rbs +27 -0
  552. data/sig/telnyx/models/ai/collections/setting_patch_all_params.rbs +29 -0
  553. data/sig/telnyx/models/ai/collections/settings_envelope.rbs +26 -0
  554. data/sig/telnyx/models/ai/collections/settings_request.rbs +26 -0
  555. data/sig/telnyx/models/ai/collections/source.rbs +63 -0
  556. data/sig/telnyx/models/ai/collections/source_create_params.rbs +29 -0
  557. data/sig/telnyx/models/ai/collections/source_create_response.rbs +21 -0
  558. data/sig/telnyx/models/ai/collections/source_delete_params.rbs +32 -0
  559. data/sig/telnyx/models/ai/collections/source_list_params.rbs +27 -0
  560. data/sig/telnyx/models/ai/collections/source_list_response.rbs +24 -0
  561. data/sig/telnyx/models/ai/collections/source_replace_params.rbs +35 -0
  562. data/sig/telnyx/models/ai/collections/source_replace_response.rbs +70 -0
  563. data/sig/telnyx/models/ai/collections/source_request.rbs +31 -0
  564. data/sig/telnyx/models/ai/collections/source_type.rbs +20 -0
  565. data/sig/telnyx/models/ai/telephony_settings.rbs +7 -0
  566. data/sig/telnyx/models/ai/tool_create_params.rbs +9 -0
  567. data/sig/telnyx/models/ai/tool_update_params.rbs +9 -0
  568. data/sig/telnyx/models/ai/update_dynamic_variables_tool_params.rbs +55 -0
  569. data/sig/telnyx/models/credential_connection.rbs +7 -0
  570. data/sig/telnyx/models/credential_connection_update_params.rbs +7 -0
  571. data/sig/telnyx/models/fqdn_connection.rbs +7 -0
  572. data/sig/telnyx/models/fqdn_connection_update_params.rbs +7 -0
  573. data/sig/telnyx/models/fqdn_connections/fqdn_authentication.rbs +135 -0
  574. data/sig/telnyx/models/fqdn_connections/fqdn_authentication_list_params.rbs +26 -0
  575. data/sig/telnyx/models/fqdn_connections/fqdn_authentication_list_response.rbs +24 -0
  576. data/sig/telnyx/models/fqdn_connections/fqdn_authentication_patch_all_params.rbs +118 -0
  577. data/sig/telnyx/models/fqdn_connections/fqdn_authentication_patch_all_response.rbs +24 -0
  578. data/sig/telnyx/models/inbound_message_webhook_event.rbs +613 -6
  579. data/sig/telnyx/models/ip_connection.rbs +7 -0
  580. data/sig/telnyx/models/ip_connection_update_params.rbs +7 -0
  581. data/sig/telnyx/models/legacy/reporting/batch_detail_records/batch_csv_pagination_meta_705dfa7312.rbs +49 -0
  582. data/sig/telnyx/models/legacy/reporting/batch_detail_records/messaging_list_response.rbs +6 -6
  583. data/sig/telnyx/models/legacy/reporting/batch_detail_records/voice_list_response.rbs +6 -6
  584. data/sig/telnyx/models/legacy/reporting/usage_reports/standard_pagination_meta_ffba4faa88.rbs +49 -0
  585. data/sig/telnyx/models/message_cancel_scheduled_response.rbs +6 -6
  586. data/sig/telnyx/models/message_retrieve_group_messages_response.rbs +8 -6
  587. data/sig/telnyx/models/message_retrieve_response.rbs +610 -1
  588. data/sig/telnyx/models/message_schedule_response.rbs +7 -6
  589. data/sig/telnyx/models/message_send_group_mms_response.rbs +6 -6
  590. data/sig/telnyx/models/message_send_long_code_response.rbs +6 -6
  591. data/sig/telnyx/models/message_send_number_pool_response.rbs +6 -6
  592. data/sig/telnyx/models/message_send_response.rbs +7 -6
  593. data/sig/telnyx/models/message_send_short_code_response.rbs +6 -6
  594. data/sig/telnyx/models/message_whatsapp_params.rbs +69 -0
  595. data/sig/telnyx/models/message_whatsapp_response.rbs +189 -0
  596. data/sig/telnyx/models/messaging_error_0b38e7044b.rbs +64 -0
  597. data/sig/telnyx/models/messaging_outbound_message_payload.rbs +581 -0
  598. data/sig/telnyx/models/messaging_pagination_meta_0b38e7044b.rbs +35 -0
  599. data/sig/telnyx/models/messaging_profile_metric_list_response.rbs +6 -6
  600. data/sig/telnyx/models/messaging_profiles/autoresp_config_list_response.rbs +4 -4
  601. data/sig/telnyx/models/messaging_tollfree/verification/messaging_toll_free_verification_entity_type.rbs +26 -0
  602. data/sig/telnyx/models/messaging_tollfree/verification/messaging_toll_free_verification_tf_verification_request.rbs +190 -0
  603. data/sig/telnyx/models/messaging_tollfree/verification/messaging_toll_free_verification_verification_request_egress.rbs +233 -0
  604. data/sig/telnyx/models/messaging_tollfree/verification/request_create_params.rbs +1 -1
  605. data/sig/telnyx/models/messaging_tollfree/verification/request_retrieve_response.rbs +245 -0
  606. data/sig/telnyx/models/messaging_tollfree/verification/request_update_params.rbs +1 -1
  607. data/sig/telnyx/models/netapps_location_17904fcfbc.rbs +44 -0
  608. data/sig/telnyx/models/network_coverage_list_response.rbs +7 -5
  609. data/sig/telnyx/models/number_order_status_update_webhook_event.rbs +395 -0
  610. data/sig/telnyx/models/numbers_phone_number_detailed.rbs +293 -0
  611. data/sig/telnyx/models/oauth_oauth_pagination_meta.rbs +43 -0
  612. data/sig/telnyx/models/phone_number_retrieve_response.rbs +8 -5
  613. data/sig/telnyx/models/phone_number_update_response.rbs +8 -5
  614. data/sig/telnyx/models/pricing/product_retrieve_params.rbs +10 -1
  615. data/sig/telnyx/models/rcs/agent_campaign_configuration.rbs +53 -0
  616. data/sig/telnyx/models/rcs/agent_configuration.rbs +250 -0
  617. data/sig/telnyx/models/rcs/agent_consent_configuration.rbs +100 -0
  618. data/sig/telnyx/models/rcs/agent_create_params.rbs +58 -0
  619. data/sig/telnyx/models/rcs/agent_email_contact.rbs +17 -0
  620. data/sig/telnyx/models/rcs/agent_interaction.rbs +50 -0
  621. data/sig/telnyx/models/rcs/agent_launch_params.rbs +82 -0
  622. data/sig/telnyx/models/rcs/agent_list_params.rbs +27 -0
  623. data/sig/telnyx/models/rcs/agent_list_response.rbs +9 -0
  624. data/sig/telnyx/models/rcs/agent_phone_contact.rbs +17 -0
  625. data/sig/telnyx/models/rcs/agent_response.rbs +130 -0
  626. data/sig/telnyx/models/rcs/agent_retrieve_carrier_approvals_params.rbs +22 -0
  627. data/sig/telnyx/models/rcs/agent_retrieve_carrier_approvals_response.rbs +10 -0
  628. data/sig/telnyx/models/rcs/agent_retrieve_params.rbs +22 -0
  629. data/sig/telnyx/models/rcs/agent_submission_status.rbs +17 -0
  630. data/sig/telnyx/models/rcs/agent_submit_params.rbs +22 -0
  631. data/sig/telnyx/models/rcs/agent_testing_configuration.rbs +32 -0
  632. data/sig/telnyx/models/rcs/agent_update_params.rbs +67 -0
  633. data/sig/telnyx/models/rcs/agent_use_case.rbs +18 -0
  634. data/sig/telnyx/models/rcs/agent_website_contact.rbs +17 -0
  635. data/sig/telnyx/models/rcs/agents/test_device_create_params.rbs +32 -0
  636. data/sig/telnyx/models/rcs/agents/test_device_delete_params.rbs +32 -0
  637. data/sig/telnyx/models/rcs/agents/test_device_list_params.rbs +27 -0
  638. data/sig/telnyx/models/rcs/agents/test_device_list_response.rbs +12 -0
  639. data/sig/telnyx/models/rcs/agents/test_device_response.rbs +46 -0
  640. data/sig/telnyx/models/rcs/brand_contact.rbs +70 -0
  641. data/sig/telnyx/models/rcs/brand_create_params.rbs +182 -0
  642. data/sig/telnyx/models/rcs/brand_legal_entity_type.rbs +24 -0
  643. data/sig/telnyx/models/rcs/brand_list_params.rbs +16 -0
  644. data/sig/telnyx/models/rcs/brand_list_response.rbs +9 -0
  645. data/sig/telnyx/models/rcs/brand_organization_type.rbs +20 -0
  646. data/sig/telnyx/models/rcs/brand_response.rbs +154 -0
  647. data/sig/telnyx/models/rcs/brand_retrieve_params.rbs +22 -0
  648. data/sig/telnyx/models/rcs/brand_submit_params.rbs +22 -0
  649. data/sig/telnyx/models/rcs/brand_update_params.rbs +215 -0
  650. data/sig/telnyx/models/rcs/capabilities_response.rbs +62 -0
  651. data/sig/telnyx/models/rcs/carrier_approval_response.rbs +77 -0
  652. data/sig/telnyx/models/rcs/ein_brand_identifier.rbs +17 -0
  653. data/sig/telnyx/models/rcs/rcs_agent.rbs +76 -0
  654. data/sig/telnyx/models/rcs/rcs_agent_response.rbs +19 -0
  655. data/sig/telnyx/models/rcs/stock_symbol_brand_identifier.rbs +18 -0
  656. data/sig/telnyx/models/report_list_mdrs_response.rbs +6 -6
  657. data/sig/telnyx/models/reports/reporting_pagination_meta_77109e5d17.rbs +47 -0
  658. data/sig/telnyx/models/sim_cards/action_disable_response.rbs +7 -6
  659. data/sig/telnyx/models/sim_cards/action_enable_response.rbs +7 -6
  660. data/sig/telnyx/models/sim_cards/action_remove_public_ip_response.rbs +6 -6
  661. data/sig/telnyx/models/sim_cards/action_retrieve_response.rbs +7 -6
  662. data/sig/telnyx/models/sim_cards/action_set_public_ip_response.rbs +6 -6
  663. data/sig/telnyx/models/sim_cards/action_set_standby_response.rbs +6 -6
  664. data/sig/telnyx/models/sim_cards/wireless_sim_card_action.rbs +130 -0
  665. data/sig/telnyx/models/sip_registration_status_retrieve_params.rbs +5 -1
  666. data/sig/telnyx/models/sip_registration_status_retrieve_response.rbs +9 -14
  667. data/sig/telnyx/models/speech_to_text_list_providers_response.rbs +5 -0
  668. data/sig/telnyx/models/text_to_speech_list_voices_response.rbs +7 -0
  669. data/sig/telnyx/models/unsafe_unwrap_webhook_event.rbs +1 -1
  670. data/sig/telnyx/models/unwrap_webhook_event.rbs +1 -1
  671. data/sig/telnyx/models/user_address_create_response.rbs +8 -5
  672. data/sig/telnyx/models/user_address_retrieve_response.rbs +8 -5
  673. data/sig/telnyx/models/user_addresses_user_address.rbs +134 -0
  674. data/sig/telnyx/models/virtual_cross_connects_coverage_list_response.rbs +7 -5
  675. data/sig/telnyx/models/whatsapp/phone_number_get_params.rbs +34 -0
  676. data/sig/telnyx/models/whatsapp/phone_number_get_response.rbs +124 -0
  677. data/sig/telnyx/models.rbs +21 -3
  678. data/sig/telnyx/resources/ai/collections/settings.rbs +28 -0
  679. data/sig/telnyx/resources/ai/collections/sources.rbs +35 -0
  680. data/sig/telnyx/resources/ai/collections.rbs +59 -0
  681. data/sig/telnyx/resources/ai/tools.rbs +2 -0
  682. data/sig/telnyx/resources/ai.rbs +2 -0
  683. data/sig/telnyx/resources/credential_connections.rbs +1 -0
  684. data/sig/telnyx/resources/fqdn_connections/fqdn_authentication.rbs +28 -0
  685. data/sig/telnyx/resources/fqdn_connections.rbs +3 -0
  686. data/sig/telnyx/resources/ip_connections.rbs +1 -0
  687. data/sig/telnyx/resources/messages.rbs +10 -0
  688. data/sig/telnyx/resources/messaging/rcs/agents.rbs +3 -3
  689. data/sig/telnyx/resources/messaging_tollfree/verification/requests.rbs +5 -5
  690. data/sig/telnyx/resources/phone_numbers.rbs +1 -1
  691. data/sig/telnyx/resources/pricing/products.rbs +2 -1
  692. data/sig/telnyx/resources/rcs/agents/test_devices.rbs +28 -0
  693. data/sig/telnyx/resources/rcs/agents.rbs +59 -0
  694. data/sig/telnyx/resources/rcs/brands.rbs +50 -0
  695. data/sig/telnyx/resources/rcs.rbs +11 -0
  696. data/sig/telnyx/resources/sim_cards/actions.rbs +1 -1
  697. data/sig/telnyx/resources/user_addresses.rbs +1 -1
  698. data/sig/telnyx/resources/webhooks.rbs +2 -2
  699. data/sig/telnyx/resources/whatsapp/phone_numbers.rbs +6 -0
  700. metadata +311 -11
  701. data/lib/telnyx/models/rcs_agent.rb +0 -80
  702. data/lib/telnyx/models/rcs_agent_response.rb +0 -15
  703. data/lib/telnyx/resources/rcs_agents.rb +0 -14
  704. data/rbi/telnyx/models/rcs_agent.rbi +0 -117
  705. data/rbi/telnyx/models/rcs_agent_response.rbi +0 -26
  706. data/rbi/telnyx/resources/rcs_agents.rbi +0 -12
  707. data/sig/telnyx/models/rcs_agent.rbs +0 -72
  708. data/sig/telnyx/models/rcs_agent_response.rbs +0 -15
  709. data/sig/telnyx/resources/rcs_agents.rbs +0 -7
@@ -83,7 +83,7 @@ module Telnyx
83
83
  )
84
84
  end
85
85
 
86
- # View a fax
86
+ # Retrieve the details of a single fax.
87
87
  #
88
88
  # @overload retrieve(id, request_options: {})
89
89
  #
@@ -106,7 +106,7 @@ module Telnyx
106
106
  # Some parameter documentations has been truncated, see
107
107
  # {Telnyx::Models::FaxListParams} for more details.
108
108
  #
109
- # View a list of faxes
109
+ # Retrieve a paginated list of faxes sent or received on your account.
110
110
  #
111
111
  # @overload list(filter: nil, page_number: nil, page_size: nil, request_options: {})
112
112
  #
@@ -134,7 +134,7 @@ module Telnyx
134
134
  )
135
135
  end
136
136
 
137
- # Delete a fax
137
+ # Delete a fax resource from your account.
138
138
  #
139
139
  # @overload delete(id, request_options: {})
140
140
  #
@@ -0,0 +1,78 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Telnyx
4
+ module Resources
5
+ class FqdnConnections
6
+ # FQDN connection operations
7
+ class FqdnAuthentication
8
+ # Retrieves the details of an existing FQDN authentication strategy for a specific
9
+ # FQDN connection.
10
+ #
11
+ # @overload list(fqdn_connection_id, request_options: {})
12
+ #
13
+ # @param fqdn_connection_id [String] The ID of the FQDN connection.
14
+ #
15
+ # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
16
+ #
17
+ # @return [Telnyx::Models::FqdnConnections::FqdnAuthenticationListResponse]
18
+ #
19
+ # @see Telnyx::Models::FqdnConnections::FqdnAuthenticationListParams
20
+ def list(fqdn_connection_id, params = {})
21
+ @client.request(
22
+ method: :get,
23
+ path: ["fqdn_connections/%1$s/fqdn_authentication", fqdn_connection_id],
24
+ model: Telnyx::Models::FqdnConnections::FqdnAuthenticationListResponse,
25
+ options: params[:request_options]
26
+ )
27
+ end
28
+
29
+ # Updates the FQDN authentication strategy for a specific FQDN connection.
30
+ #
31
+ # @overload patch_all(fqdn_connection_id, failover_url: nil, fqdn_outbound_authentication: nil, ip_authentication_method: nil, password: nil, txt_name: nil, txt_ttl: nil, txt_value: nil, user_name: nil, webhook_url: nil, request_options: {})
32
+ #
33
+ # @param fqdn_connection_id [String] The ID of the FQDN connection.
34
+ #
35
+ # @param failover_url [String] The failover webhook URL.
36
+ #
37
+ # @param fqdn_outbound_authentication [Symbol, Telnyx::Models::FqdnConnections::FqdnAuthenticationPatchAllParams::FqdnOutboundAuthentication] The outbound authentication type.
38
+ #
39
+ # @param ip_authentication_method [Symbol, Telnyx::Models::FqdnConnections::FqdnAuthenticationPatchAllParams::IPAuthenticationMethod] The IP authentication method.
40
+ #
41
+ # @param password [String] The password for authentication.
42
+ #
43
+ # @param txt_name [String] The TXT record name for Microsoft Teams SBC DNS verification.
44
+ #
45
+ # @param txt_ttl [Integer] The TTL for the TXT record.
46
+ #
47
+ # @param txt_value [String] The TXT record value for Microsoft Teams SBC DNS verification.
48
+ #
49
+ # @param user_name [String] The username for authentication.
50
+ #
51
+ # @param webhook_url [String] The webhook URL for authentication events.
52
+ #
53
+ # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
54
+ #
55
+ # @return [Telnyx::Models::FqdnConnections::FqdnAuthenticationPatchAllResponse]
56
+ #
57
+ # @see Telnyx::Models::FqdnConnections::FqdnAuthenticationPatchAllParams
58
+ def patch_all(fqdn_connection_id, params = {})
59
+ parsed, options = Telnyx::FqdnConnections::FqdnAuthenticationPatchAllParams.dump_request(params)
60
+ @client.request(
61
+ method: :patch,
62
+ path: ["fqdn_connections/%1$s/fqdn_authentication", fqdn_connection_id],
63
+ body: parsed,
64
+ model: Telnyx::Models::FqdnConnections::FqdnAuthenticationPatchAllResponse,
65
+ options: options
66
+ )
67
+ end
68
+
69
+ # @api private
70
+ #
71
+ # @param client [Telnyx::Client]
72
+ def initialize(client:)
73
+ @client = client
74
+ end
75
+ end
76
+ end
77
+ end
78
+ end
@@ -4,6 +4,10 @@ module Telnyx
4
4
  module Resources
5
5
  # FQDN connection operations
6
6
  class FqdnConnections
7
+ # FQDN connection operations
8
+ # @return [Telnyx::Resources::FqdnConnections::FqdnAuthentication]
9
+ attr_reader :fqdn_authentication
10
+
7
11
  # Some parameter documentations has been truncated, see
8
12
  # {Telnyx::Models::FqdnConnectionCreateParams} for more details.
9
13
  #
@@ -100,7 +104,7 @@ module Telnyx
100
104
  #
101
105
  # Updates settings of an existing FQDN connection.
102
106
  #
103
- # @overload update(id, active: nil, anchorsite_override: nil, android_push_credential_id: nil, call_cost_in_webhooks: nil, connection_name: nil, default_on_hold_comfort_noise_enabled: nil, dtmf_type: nil, encode_contact_header_enabled: nil, encrypted_media: nil, inbound: nil, ios_push_credential_id: nil, jitter_buffer: nil, noise_suppression: nil, noise_suppression_details: nil, onnet_t38_passthrough_enabled: nil, outbound: nil, rtcp_settings: nil, tags: nil, transport_protocol: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil, request_options: {})
107
+ # @overload update(id, active: nil, anchorsite_override: nil, android_push_credential_id: nil, call_cost_in_webhooks: nil, connection_name: nil, conversation_persistence: nil, default_on_hold_comfort_noise_enabled: nil, dtmf_type: nil, encode_contact_header_enabled: nil, encrypted_media: nil, inbound: nil, ios_push_credential_id: nil, jitter_buffer: nil, noise_suppression: nil, noise_suppression_details: nil, onnet_t38_passthrough_enabled: nil, outbound: nil, rtcp_settings: nil, tags: nil, transport_protocol: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil, request_options: {})
104
108
  #
105
109
  # @param id [String] Identifies the resource.
106
110
  #
@@ -114,6 +118,8 @@ module Telnyx
114
118
  #
115
119
  # @param connection_name [String] A user-assigned name to help manage the connection.
116
120
  #
121
+ # @param conversation_persistence [Boolean] Whether conversation persistence is enabled for this connection. When enabled, c
122
+ #
117
123
  # @param default_on_hold_comfort_noise_enabled [Boolean] When enabled, Telnyx will generate comfort noise when you place the call on hold
118
124
  #
119
125
  # @param dtmf_type [Symbol, Telnyx::Models::DtmfType] Sets the type of DTMF digits sent from Telnyx to this Connection. Note that DTMF
@@ -225,6 +231,7 @@ module Telnyx
225
231
  # @param client [Telnyx::Client]
226
232
  def initialize(client:)
227
233
  @client = client
234
+ @fqdn_authentication = Telnyx::Resources::FqdnConnections::FqdnAuthentication.new(client: client)
228
235
  end
229
236
  end
230
237
  end
@@ -7,7 +7,7 @@ module Telnyx
7
7
  # Some parameter documentations has been truncated, see
8
8
  # {Telnyx::Models::GlobalIPAssignmentHealthRetrieveParams} for more details.
9
9
  #
10
- # Global IP Assignment Health Check Metrics
10
+ # Retrieve health check metrics for your Global IP assignments.
11
11
  #
12
12
  # @overload retrieve(filter: nil, request_options: {})
13
13
  #
@@ -7,7 +7,7 @@ module Telnyx
7
7
  # Some parameter documentations has been truncated, see
8
8
  # {Telnyx::Models::GlobalIPAssignmentsUsageRetrieveParams} for more details.
9
9
  #
10
- # Global IP Assignment Usage Metrics
10
+ # Retrieve usage metrics for your Global IP assignments.
11
11
  #
12
12
  # @overload retrieve(filter: nil, request_options: {})
13
13
  #
@@ -7,7 +7,7 @@ module Telnyx
7
7
  # Some parameter documentations has been truncated, see
8
8
  # {Telnyx::Models::GlobalIPLatencyRetrieveParams} for more details.
9
9
  #
10
- # Global IP Latency Metrics
10
+ # Retrieve latency metrics measured for your Global IPs.
11
11
  #
12
12
  # @overload retrieve(filter: nil, request_options: {})
13
13
  #
@@ -7,7 +7,7 @@ module Telnyx
7
7
  # Some parameter documentations has been truncated, see
8
8
  # {Telnyx::Models::GlobalIPUsageRetrieveParams} for more details.
9
9
  #
10
- # Global IP Usage Metrics
10
+ # Retrieve usage metrics for your Global IPs.
11
11
  #
12
12
  # @overload retrieve(filter: nil, request_options: {})
13
13
  #
@@ -98,7 +98,7 @@ module Telnyx
98
98
  #
99
99
  # Updates settings of an existing IP connection.
100
100
  #
101
- # @overload update(id, active: nil, anchorsite_override: nil, android_push_credential_id: nil, call_cost_in_webhooks: nil, connection_name: nil, default_on_hold_comfort_noise_enabled: nil, dtmf_type: nil, encode_contact_header_enabled: nil, encrypted_media: nil, inbound: nil, ios_push_credential_id: nil, jitter_buffer: nil, noise_suppression: nil, noise_suppression_details: nil, onnet_t38_passthrough_enabled: nil, outbound: nil, rtcp_settings: nil, tags: nil, transport_protocol: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil, request_options: {})
101
+ # @overload update(id, active: nil, anchorsite_override: nil, android_push_credential_id: nil, call_cost_in_webhooks: nil, connection_name: nil, conversation_persistence: nil, default_on_hold_comfort_noise_enabled: nil, dtmf_type: nil, encode_contact_header_enabled: nil, encrypted_media: nil, inbound: nil, ios_push_credential_id: nil, jitter_buffer: nil, noise_suppression: nil, noise_suppression_details: nil, onnet_t38_passthrough_enabled: nil, outbound: nil, rtcp_settings: nil, tags: nil, transport_protocol: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil, request_options: {})
102
102
  #
103
103
  # @param id [String] Identifies the type of resource.
104
104
  #
@@ -112,6 +112,8 @@ module Telnyx
112
112
  #
113
113
  # @param connection_name [String]
114
114
  #
115
+ # @param conversation_persistence [Boolean] Whether conversation persistence is enabled for this connection. When enabled, c
116
+ #
115
117
  # @param default_on_hold_comfort_noise_enabled [Boolean] When enabled, Telnyx will generate comfort noise when you place the call on hold
116
118
  #
117
119
  # @param dtmf_type [Symbol, Telnyx::Models::DtmfType] Sets the type of DTMF digits sent from Telnyx to this Connection. Note that DTMF
@@ -4,7 +4,8 @@ module Telnyx
4
4
  module Resources
5
5
  # Ledger billing reports
6
6
  class LedgerBillingGroupReports
7
- # Create a ledger billing group report
7
+ # Create a ledger billing group report, which aggregates ledger activity by
8
+ # billing group.
8
9
  #
9
10
  # @overload create(month: nil, year: nil, request_options: {})
10
11
  #
@@ -28,7 +29,8 @@ module Telnyx
28
29
  )
29
30
  end
30
31
 
31
- # Get a ledger billing group report
32
+ # Retrieve the details and status of a previously created ledger billing group
33
+ # report.
32
34
  #
33
35
  # @overload retrieve(id, request_options: {})
34
36
  #
@@ -33,7 +33,8 @@ module Telnyx
33
33
  )
34
34
  end
35
35
 
36
- # Send an RCS message
36
+ # Queues an outbound RCS message through the selected RCS agent. Check recipient
37
+ # capabilities before sending features that require RCS support.
37
38
  #
38
39
  # @overload send_(agent_id:, agent_message:, messaging_profile_id:, to:, mms_fallback: nil, sms_fallback: nil, type: nil, webhook_url: nil, request_options: {})
39
40
  #
@@ -2,7 +2,6 @@
2
2
 
3
3
  module Telnyx
4
4
  module Resources
5
- # Messages
6
5
  class Messages
7
6
  # Send RCS messages
8
7
  # @return [Telnyx::Resources::Messages::Rcs]
@@ -181,7 +180,8 @@ module Telnyx
181
180
  # Some parameter documentations has been truncated, see
182
181
  # {Telnyx::Models::MessageSendGroupMmsParams} for more details.
183
182
  #
184
- # Send a group MMS message
183
+ # Queues an MMS addressed to multiple recipients as a group conversation. Delivery
184
+ # events are reported asynchronously through messaging webhooks.
185
185
  #
186
186
  # @overload send_group_mms(from:, to:, media_urls: nil, subject: nil, text: nil, use_profile_webhooks: nil, webhook_failover_url: nil, webhook_url: nil, request_options: {})
187
187
  #
@@ -220,7 +220,8 @@ module Telnyx
220
220
  # Some parameter documentations has been truncated, see
221
221
  # {Telnyx::Models::MessageSendLongCodeParams} for more details.
222
222
  #
223
- # Send a long code message
223
+ # Queues an outbound SMS or MMS using a long-code sender. Delivery progress and
224
+ # final disposition are reported asynchronously through messaging webhooks.
224
225
  #
225
226
  # @overload send_long_code(from:, to:, auto_detect: nil, encoding: nil, media_urls: nil, subject: nil, text: nil, type: nil, use_profile_webhooks: nil, webhook_failover_url: nil, webhook_url: nil, request_options: {})
226
227
  #
@@ -265,7 +266,8 @@ module Telnyx
265
266
  # Some parameter documentations has been truncated, see
266
267
  # {Telnyx::Models::MessageSendNumberPoolParams} for more details.
267
268
  #
268
- # Send a message using number pool
269
+ # Queues an outbound message using a number pool. Telnyx selects an eligible
270
+ # sender from the pool according to its messaging profile configuration.
269
271
  #
270
272
  # @overload send_number_pool(messaging_profile_id:, to:, auto_detect: nil, encoding: nil, media_urls: nil, subject: nil, text: nil, type: nil, use_profile_webhooks: nil, webhook_failover_url: nil, webhook_url: nil, request_options: {})
271
273
  #
@@ -310,7 +312,8 @@ module Telnyx
310
312
  # Some parameter documentations has been truncated, see
311
313
  # {Telnyx::Models::MessageSendShortCodeParams} for more details.
312
314
  #
313
- # Send a short code message
315
+ # Queues an outbound SMS or MMS using a short-code sender. Delivery progress and
316
+ # final disposition are reported asynchronously through messaging webhooks.
314
317
  #
315
318
  # @overload send_short_code(from:, to:, auto_detect: nil, encoding: nil, media_urls: nil, subject: nil, text: nil, type: nil, use_profile_webhooks: nil, webhook_failover_url: nil, webhook_url: nil, request_options: {})
316
319
  #
@@ -386,6 +389,41 @@ module Telnyx
386
389
  )
387
390
  end
388
391
 
392
+ # Sends a WhatsApp message using a Telnyx WhatsApp-enabled number. The message
393
+ # body, interactive elements, media, location, and reaction content are specified
394
+ # in the `whatsapp_message` field. Delivery progress and final disposition are
395
+ # reported asynchronously through messaging webhooks.
396
+ #
397
+ # @overload whatsapp(from:, to:, whatsapp_message:, messaging_profile_id: nil, type: nil, webhook_url: nil, request_options: {})
398
+ #
399
+ # @param from [String] Phone number in +E.164 format associated with Whatsapp account
400
+ #
401
+ # @param to [String] Phone number in +E.164 format
402
+ #
403
+ # @param whatsapp_message [Telnyx::Models::WhatsappMessageContent]
404
+ #
405
+ # @param messaging_profile_id [String] Messaging profile ID - required if the 'from' number is not SMS-enabled
406
+ #
407
+ # @param type [Symbol, Telnyx::Models::MessageWhatsappParams::Type] Message type - must be set to "WHATSAPP"
408
+ #
409
+ # @param webhook_url [String] The URL where webhooks related to this message will be sent.
410
+ #
411
+ # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
412
+ #
413
+ # @return [Telnyx::Models::MessageWhatsappResponse]
414
+ #
415
+ # @see Telnyx::Models::MessageWhatsappParams
416
+ def whatsapp(params)
417
+ parsed, options = Telnyx::MessageWhatsappParams.dump_request(params)
418
+ @client.request(
419
+ method: :post,
420
+ path: "messages/whatsapp",
421
+ body: parsed,
422
+ model: Telnyx::Models::MessageWhatsappResponse,
423
+ options: options
424
+ )
425
+ end
426
+
389
427
  # @api private
390
428
  #
391
429
  # @param client [Telnyx::Client]
@@ -6,7 +6,7 @@ module Telnyx
6
6
  class Rcs
7
7
  # Send RCS messages
8
8
  class Agents
9
- # Retrieve an RCS agent
9
+ # Returns the configuration and current state of the specified RCS agent.
10
10
  #
11
11
  # @overload retrieve(id, request_options: {})
12
12
  #
@@ -14,19 +14,19 @@ module Telnyx
14
14
  #
15
15
  # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
16
16
  #
17
- # @return [Telnyx::Models::RcsAgentResponse]
17
+ # @return [Telnyx::Models::Rcs::RcsAgentResponse]
18
18
  #
19
19
  # @see Telnyx::Models::Messaging::Rcs::AgentRetrieveParams
20
20
  def retrieve(id, params = {})
21
21
  @client.request(
22
22
  method: :get,
23
23
  path: ["messaging/rcs/agents/%1$s", id],
24
- model: Telnyx::RcsAgentResponse,
24
+ model: Telnyx::Rcs::RcsAgentResponse,
25
25
  options: params[:request_options]
26
26
  )
27
27
  end
28
28
 
29
- # Modify an RCS agent
29
+ # Updates the supplied configuration fields on the specified RCS agent.
30
30
  #
31
31
  # @overload update(id, profile_id: nil, webhook_failover_url: nil, webhook_url: nil, request_options: {})
32
32
  #
@@ -40,7 +40,7 @@ module Telnyx
40
40
  #
41
41
  # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
42
42
  #
43
- # @return [Telnyx::Models::RcsAgentResponse]
43
+ # @return [Telnyx::Models::Rcs::RcsAgentResponse]
44
44
  #
45
45
  # @see Telnyx::Models::Messaging::Rcs::AgentUpdateParams
46
46
  def update(id, params = {})
@@ -49,12 +49,12 @@ module Telnyx
49
49
  method: :patch,
50
50
  path: ["messaging/rcs/agents/%1$s", id],
51
51
  body: parsed,
52
- model: Telnyx::RcsAgentResponse,
52
+ model: Telnyx::Rcs::RcsAgentResponse,
53
53
  options: options
54
54
  )
55
55
  end
56
56
 
57
- # List all RCS agents
57
+ # Returns RCS agents available to the authenticated account.
58
58
  #
59
59
  # @overload list(page_number: nil, page_size: nil, request_options: {})
60
60
  #
@@ -62,7 +62,7 @@ module Telnyx
62
62
  # @param page_size [Integer]
63
63
  # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
64
64
  #
65
- # @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::RcsAgent>]
65
+ # @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::Rcs::RcsAgent>]
66
66
  #
67
67
  # @see Telnyx::Models::Messaging::Rcs::AgentListParams
68
68
  def list(params = {})
@@ -73,7 +73,7 @@ module Telnyx
73
73
  path: "messaging/rcs/agents",
74
74
  query: query.transform_keys(page_number: "page[number]", page_size: "page[size]"),
75
75
  page: Telnyx::Internal::DefaultFlatPagination,
76
- model: Telnyx::RcsAgent,
76
+ model: Telnyx::Rcs::RcsAgent,
77
77
  options: options
78
78
  )
79
79
  end
@@ -36,7 +36,7 @@ module Telnyx
36
36
  )
37
37
  end
38
38
 
39
- # Check RCS capabilities (batch)
39
+ # Returns RCS capability information for multiple recipients in one request.
40
40
  #
41
41
  # @overload list_bulk_capabilities(agent_id:, phone_numbers:, request_options: {})
42
42
  #
@@ -60,7 +60,8 @@ module Telnyx
60
60
  )
61
61
  end
62
62
 
63
- # Check RCS capabilities
63
+ # Returns the RCS features supported by the specified recipient for the selected
64
+ # agent.
64
65
  #
65
66
  # @overload retrieve_capabilities(phone_number, agent_id:, request_options: {})
66
67
  #
@@ -317,7 +317,9 @@ module Telnyx
317
317
  )
318
318
  end
319
319
 
320
- # Resend brand 2FA email
320
+ # Requests a new two-factor authentication email for the specified 10DLC brand.
321
+ # Complete verification through the link delivered to the brand contact before
322
+ # continuing registration.
321
323
  #
322
324
  # @overload resend_2fa_email(brand_id, request_options: {})
323
325
  #
@@ -6,7 +6,9 @@ module Telnyx
6
6
  class Campaign
7
7
  # Campaign operations
8
8
  class Osr
9
- # Get OSR campaign attributes
9
+ # Returns the optional shared-responsibility attributes recorded for the campaign.
10
+ # Use these values to inspect the campaign configuration submitted to the
11
+ # registry.
10
12
  #
11
13
  # @overload get_attributes(campaign_id, request_options: {})
12
14
  #
@@ -6,7 +6,8 @@ module Telnyx
6
6
  class Campaign
7
7
  # Campaign operations
8
8
  class Usecase
9
- # Get Campaign Cost
9
+ # Returns the upfront and monthly cost associated with the selected 10DLC campaign
10
+ # use case.
10
11
  #
11
12
  # @overload get_cost(usecase:, request_options: {})
12
13
  #
@@ -194,7 +194,8 @@ module Telnyx
194
194
  )
195
195
  end
196
196
 
197
- # Get Sharing Status
197
+ # Returns whether the campaign is configured for partner sharing and the current
198
+ # sharing state.
198
199
  #
199
200
  # @overload get_sharing_status(campaign_id, request_options: {})
200
201
  #
@@ -120,7 +120,7 @@ module Telnyx
120
120
  )
121
121
  end
122
122
 
123
- # Get Sharing Status
123
+ # Returns the partner-sharing state for the specified campaign.
124
124
  #
125
125
  # @overload retrieve_sharing_status(campaign_id, request_options: {})
126
126
  #
@@ -5,7 +5,8 @@ module Telnyx
5
5
  class Messaging10dlc
6
6
  # Phone number campaign assignment
7
7
  class PhoneNumberCampaigns
8
- # Create New Phone Number Campaign
8
+ # Assigns a phone number to a 10DLC campaign. The assignment controls which
9
+ # registered campaign is used for traffic from that number.
9
10
  #
10
11
  # @overload create(campaign_id:, phone_number:, request_options: {})
11
12
  #
@@ -49,7 +50,7 @@ module Telnyx
49
50
  )
50
51
  end
51
52
 
52
- # Create New Phone Number Campaign
53
+ # Replaces the 10DLC campaign assignment for the specified phone number.
53
54
  #
54
55
  # @overload update(campaign_phone_number, campaign_id:, phone_number:, request_options: {})
55
56
  #
@@ -79,7 +80,8 @@ module Telnyx
79
80
  # {Telnyx::Models::Messaging10dlc::PhoneNumberCampaignListParams} for more
80
81
  # details.
81
82
  #
82
- # List phone number campaigns
83
+ # Returns phone-number-to-campaign assignments for the authenticated account.
84
+ # Apply the documented filters and pagination parameters to narrow the result set.
83
85
  #
84
86
  # @overload list(filter: nil, page: nil, records_per_page: nil, sort: nil, request_options: {})
85
87
  #
@@ -26,7 +26,8 @@ module Telnyx
26
26
  # @return [Telnyx::Resources::Messaging10dlc::PhoneNumberAssignmentByProfile]
27
27
  attr_reader :phone_number_assignment_by_profile
28
28
 
29
- # Get Enum
29
+ # Returns the accepted values for the selected 10DLC enumeration endpoint. Use
30
+ # these values when constructing brand and campaign requests.
30
31
  #
31
32
  # @overload get_enum(endpoint, request_options: {})
32
33
  #
@@ -9,7 +9,7 @@ module Telnyx
9
9
  # {Telnyx::Models::MessagingHostedNumberOrders::ActionUploadFileParams} for more
10
10
  # details.
11
11
  #
12
- # Upload hosted number document
12
+ # Uploads a supporting document to the specified hosted-messaging order.
13
13
  #
14
14
  # @overload upload_file(id, bill: nil, loa: nil, request_options: {})
15
15
  #
@@ -11,7 +11,8 @@ module Telnyx
11
11
  # Some parameter documentations has been truncated, see
12
12
  # {Telnyx::Models::MessagingHostedNumberOrderCreateParams} for more details.
13
13
  #
14
- # Create a messaging hosted number order
14
+ # Creates an order to enable Telnyx messaging on phone numbers whose voice service
15
+ # remains with another carrier.
15
16
  #
16
17
  # @overload create(messaging_profile_id: nil, phone_numbers: nil, request_options: {})
17
18
  #
@@ -35,7 +36,8 @@ module Telnyx
35
36
  )
36
37
  end
37
38
 
38
- # Retrieve a messaging hosted number order
39
+ # Returns the current state, phone numbers, and required actions for the specified
40
+ # hosted-messaging order.
39
41
  #
40
42
  # @overload retrieve(id, request_options: {})
41
43
  #
@@ -55,7 +57,8 @@ module Telnyx
55
57
  )
56
58
  end
57
59
 
58
- # List messaging hosted number orders
60
+ # Returns hosted-messaging orders for the authenticated account. Apply the
61
+ # documented filters and pagination parameters to narrow the result set.
59
62
  #
60
63
  # @overload list(page_number: nil, page_size: nil, request_options: {})
61
64
  #
@@ -99,7 +102,8 @@ module Telnyx
99
102
  )
100
103
  end
101
104
 
102
- # Check hosted messaging eligibility
105
+ # Checks whether the supplied phone numbers are eligible for hosted messaging
106
+ # before an order is created.
103
107
  #
104
108
  # @overload check_eligibility(phone_numbers:, request_options: {})
105
109
  #
@@ -95,7 +95,7 @@ module Telnyx
95
95
  )
96
96
  end
97
97
 
98
- # Delete a messaging hosted number
98
+ # Removes the specified hosted number from Telnyx messaging management.
99
99
  #
100
100
  # @overload delete(id, request_options: {})
101
101
  #
@@ -7,7 +7,8 @@ module Telnyx
7
7
  # Some parameter documentations has been truncated, see
8
8
  # {Telnyx::Models::MessagingNumbersBulkUpdateCreateParams} for more details.
9
9
  #
10
- # Bulk update phone number profiles
10
+ # Starts a bulk update of messaging-profile assignments for the supplied phone
11
+ # numbers. The response identifies the order used to monitor processing.
11
12
  #
12
13
  # @overload create(messaging_profile_id:, numbers:, assign_only: nil, request_options: {})
13
14
  #
@@ -33,7 +34,8 @@ module Telnyx
33
34
  )
34
35
  end
35
36
 
36
- # Retrieve bulk update status
37
+ # Returns processing status and results for a bulk messaging-settings update
38
+ # order.
37
39
  #
38
40
  # @overload retrieve(order_id, request_options: {})
39
41
  #
@@ -5,7 +5,8 @@ module Telnyx
5
5
  class MessagingProfiles
6
6
  # Opt-Out Management
7
7
  class AutorespConfigs
8
- # Create auto-response setting
8
+ # Creates an auto-response rule on the specified messaging profile. Matching
9
+ # inbound messages trigger the configured response.
9
10
  #
10
11
  # @overload create(profile_id, country_code:, keywords:, op:, resp_text: nil, request_options: {})
11
12
  #
@@ -35,7 +36,8 @@ module Telnyx
35
36
  )
36
37
  end
37
38
 
38
- # Get Auto-Response Setting
39
+ # Returns the matching criteria and response content for the specified
40
+ # auto-response rule.
39
41
  #
40
42
  # @overload retrieve(autoresp_cfg_id, profile_id:, request_options: {})
41
43
  #
@@ -62,7 +64,7 @@ module Telnyx
62
64
  )
63
65
  end
64
66
 
65
- # Update Auto-Response Setting
67
+ # Replaces the configuration of the specified auto-response rule.
66
68
  #
67
69
  # @overload update(autoresp_cfg_id, profile_id:, country_code:, keywords:, op:, resp_text: nil, request_options: {})
68
70
  #
@@ -101,7 +103,7 @@ module Telnyx
101
103
  # Some parameter documentations has been truncated, see
102
104
  # {Telnyx::Models::MessagingProfiles::AutorespConfigListParams} for more details.
103
105
  #
104
- # List Auto-Response Settings
106
+ # Returns the auto-response rules configured for the specified messaging profile.
105
107
  #
106
108
  # @overload list(profile_id, country_code: nil, created_at: nil, updated_at: nil, request_options: {})
107
109
  #
@@ -130,7 +132,7 @@ module Telnyx
130
132
  )
131
133
  end
132
134
 
133
- # Delete Auto-Response Setting
135
+ # Deletes the specified auto-response rule from the messaging profile.
134
136
  #
135
137
  # @overload delete(autoresp_cfg_id, profile_id:, request_options: {})
136
138
  #