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
@@ -0,0 +1,65 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Telnyx
4
+ module Models
5
+ module Rcs
6
+ class CapabilitiesResponse < Telnyx::Internal::Type::BaseModel
7
+ # @!attribute brand_entity
8
+ #
9
+ # @return [Boolean]
10
+ required :brand_entity, Telnyx::Internal::Type::Boolean
11
+
12
+ # @!attribute brand_verification
13
+ #
14
+ # @return [Boolean]
15
+ required :brand_verification, Telnyx::Internal::Type::Boolean
16
+
17
+ # @!attribute campaigns
18
+ #
19
+ # @return [Boolean]
20
+ required :campaigns, Telnyx::Internal::Type::Boolean
21
+
22
+ # @!attribute distinct_launch_phase
23
+ #
24
+ # @return [Boolean]
25
+ required :distinct_launch_phase, Telnyx::Internal::Type::Boolean
26
+
27
+ # @!attribute invite_test_devices
28
+ #
29
+ # @return [Boolean]
30
+ required :invite_test_devices, Telnyx::Internal::Type::Boolean
31
+
32
+ # @!attribute per_carrier_approval
33
+ #
34
+ # @return [Boolean]
35
+ required :per_carrier_approval, Telnyx::Internal::Type::Boolean
36
+
37
+ # @!attribute submission_sections
38
+ #
39
+ # @return [Boolean]
40
+ required :submission_sections, Telnyx::Internal::Type::Boolean
41
+
42
+ # @!attribute templates
43
+ #
44
+ # @return [Boolean]
45
+ required :templates, Telnyx::Internal::Type::Boolean
46
+
47
+ # @!attribute vendor_webhooks
48
+ #
49
+ # @return [Boolean]
50
+ required :vendor_webhooks, Telnyx::Internal::Type::Boolean
51
+
52
+ # @!method initialize(brand_entity:, brand_verification:, campaigns:, distinct_launch_phase:, invite_test_devices:, per_carrier_approval:, submission_sections:, templates:, vendor_webhooks:)
53
+ # @param brand_entity [Boolean]
54
+ # @param brand_verification [Boolean]
55
+ # @param campaigns [Boolean]
56
+ # @param distinct_launch_phase [Boolean]
57
+ # @param invite_test_devices [Boolean]
58
+ # @param per_carrier_approval [Boolean]
59
+ # @param submission_sections [Boolean]
60
+ # @param templates [Boolean]
61
+ # @param vendor_webhooks [Boolean]
62
+ end
63
+ end
64
+ end
65
+ end
@@ -0,0 +1,78 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Telnyx
4
+ module Models
5
+ module Rcs
6
+ class CarrierApprovalResponse < Telnyx::Internal::Type::BaseModel
7
+ # @!attribute approval_id
8
+ #
9
+ # @return [String]
10
+ required :approval_id, String
11
+
12
+ # @!attribute approved_at
13
+ #
14
+ # @return [Time, nil]
15
+ required :approved_at, Time, nil?: true
16
+
17
+ # @!attribute carrier
18
+ #
19
+ # @return [String, nil]
20
+ required :carrier, String, nil?: true
21
+
22
+ # @!attribute rejected_reason
23
+ #
24
+ # @return [String, nil]
25
+ required :rejected_reason, String, nil?: true
26
+
27
+ # @!attribute scope_type
28
+ #
29
+ # @return [Symbol, Telnyx::Models::Rcs::CarrierApprovalResponse::ScopeType]
30
+ required :scope_type, enum: -> { Telnyx::Rcs::CarrierApprovalResponse::ScopeType }
31
+
32
+ # @!attribute status
33
+ #
34
+ # @return [Symbol, Telnyx::Models::Rcs::CarrierApprovalResponse::Status]
35
+ required :status, enum: -> { Telnyx::Rcs::CarrierApprovalResponse::Status }
36
+
37
+ # @!attribute submitted_at
38
+ #
39
+ # @return [Time, nil]
40
+ required :submitted_at, Time, nil?: true
41
+
42
+ # @!method initialize(approval_id:, approved_at:, carrier:, rejected_reason:, scope_type:, status:, submitted_at:)
43
+ # @param approval_id [String]
44
+ # @param approved_at [Time, nil]
45
+ # @param carrier [String, nil]
46
+ # @param rejected_reason [String, nil]
47
+ # @param scope_type [Symbol, Telnyx::Models::Rcs::CarrierApprovalResponse::ScopeType]
48
+ # @param status [Symbol, Telnyx::Models::Rcs::CarrierApprovalResponse::Status]
49
+ # @param submitted_at [Time, nil]
50
+
51
+ # @see Telnyx::Models::Rcs::CarrierApprovalResponse#scope_type
52
+ module ScopeType
53
+ extend Telnyx::Internal::Type::Enum
54
+
55
+ CARRIER = :carrier
56
+ HUB = :hub
57
+ BOT = :bot
58
+
59
+ # @!method self.values
60
+ # @return [Array<Symbol>]
61
+ end
62
+
63
+ # @see Telnyx::Models::Rcs::CarrierApprovalResponse#status
64
+ module Status
65
+ extend Telnyx::Internal::Type::Enum
66
+
67
+ PENDING = :PENDING
68
+ SUBMITTED = :SUBMITTED
69
+ APPROVED = :APPROVED
70
+ REJECTED = :REJECTED
71
+
72
+ # @!method self.values
73
+ # @return [Array<Symbol>]
74
+ end
75
+ end
76
+ end
77
+ end
78
+ end
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Telnyx
4
+ module Models
5
+ module Rcs
6
+ class EinBrandIdentifier < Telnyx::Internal::Type::BaseModel
7
+ # @!attribute identifier_type
8
+ #
9
+ # @return [Symbol, :EIN]
10
+ required :identifier_type, const: :EIN
11
+
12
+ # @!attribute value
13
+ # Nine digits, optionally formatted as NN-NNNNNNN.
14
+ #
15
+ # @return [String]
16
+ required :value, String
17
+
18
+ # @!method initialize(value:, identifier_type: :EIN)
19
+ # @param value [String] Nine digits, optionally formatted as NN-NNNNNNN.
20
+ #
21
+ # @param identifier_type [Symbol, :EIN]
22
+ end
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,84 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Telnyx
4
+ module Models
5
+ module Rcs
6
+ class RcsAgent < Telnyx::Internal::Type::BaseModel
7
+ # @!attribute agent_id
8
+ # RCS Agent ID
9
+ #
10
+ # @return [String, nil]
11
+ optional :agent_id, String
12
+
13
+ # @!attribute agent_name
14
+ # Human readable agent name
15
+ #
16
+ # @return [String, nil]
17
+ optional :agent_name, String
18
+
19
+ # @!attribute created_at
20
+ # Date and time when the resource was created
21
+ #
22
+ # @return [Time, nil]
23
+ optional :created_at, Time
24
+
25
+ # @!attribute enabled
26
+ # Specifies whether the agent is enabled
27
+ #
28
+ # @return [Boolean, nil]
29
+ optional :enabled, Telnyx::Internal::Type::Boolean
30
+
31
+ # @!attribute profile_id
32
+ # Messaging profile ID associated with the RCS Agent
33
+ #
34
+ # @return [String, nil]
35
+ optional :profile_id, String, nil?: true
36
+
37
+ # @!attribute updated_at
38
+ # Date and time when the resource was updated
39
+ #
40
+ # @return [Time, nil]
41
+ optional :updated_at, Time
42
+
43
+ # @!attribute user_id
44
+ # User ID associated with the RCS Agent
45
+ #
46
+ # @return [String, nil]
47
+ optional :user_id, String
48
+
49
+ # @!attribute webhook_failover_url
50
+ # Failover URL to receive RCS events
51
+ #
52
+ # @return [String, nil]
53
+ optional :webhook_failover_url, String, nil?: true
54
+
55
+ # @!attribute webhook_url
56
+ # URL to receive RCS events
57
+ #
58
+ # @return [String, nil]
59
+ optional :webhook_url, String, nil?: true
60
+
61
+ # @!method initialize(agent_id: nil, agent_name: nil, created_at: nil, enabled: nil, profile_id: nil, updated_at: nil, user_id: nil, webhook_failover_url: nil, webhook_url: nil)
62
+ # @param agent_id [String] RCS Agent ID
63
+ #
64
+ # @param agent_name [String] Human readable agent name
65
+ #
66
+ # @param created_at [Time] Date and time when the resource was created
67
+ #
68
+ # @param enabled [Boolean] Specifies whether the agent is enabled
69
+ #
70
+ # @param profile_id [String, nil] Messaging profile ID associated with the RCS Agent
71
+ #
72
+ # @param updated_at [Time] Date and time when the resource was updated
73
+ #
74
+ # @param user_id [String] User ID associated with the RCS Agent
75
+ #
76
+ # @param webhook_failover_url [String, nil] Failover URL to receive RCS events
77
+ #
78
+ # @param webhook_url [String, nil] URL to receive RCS events
79
+ end
80
+ end
81
+
82
+ RcsAgent = Rcs::RcsAgent
83
+ end
84
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Telnyx
4
+ module Models
5
+ module Rcs
6
+ class RcsAgentResponse < Telnyx::Internal::Type::BaseModel
7
+ # @!attribute data
8
+ #
9
+ # @return [Telnyx::Models::Rcs::RcsAgent, nil]
10
+ optional :data, -> { Telnyx::Rcs::RcsAgent }
11
+
12
+ # @!method initialize(data: nil)
13
+ # @param data [Telnyx::Models::Rcs::RcsAgent]
14
+ end
15
+ end
16
+
17
+ RcsAgentResponse = Rcs::RcsAgentResponse
18
+ end
19
+ end
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Telnyx
4
+ module Models
5
+ module Rcs
6
+ class StockSymbolBrandIdentifier < Telnyx::Internal::Type::BaseModel
7
+ # @!attribute identifier_type
8
+ #
9
+ # @return [Symbol, :STOCK_SYMBOL]
10
+ required :identifier_type, const: :STOCK_SYMBOL
11
+
12
+ # @!attribute value
13
+ # A stock symbol using EXCHANGE:SYMBOL.
14
+ #
15
+ # @return [String]
16
+ required :value, String
17
+
18
+ # @!method initialize(value:, identifier_type: :STOCK_SYMBOL)
19
+ # @param value [String] A stock symbol using EXCHANGE:SYMBOL.
20
+ #
21
+ # @param identifier_type [Symbol, :STOCK_SYMBOL]
22
+ end
23
+ end
24
+ end
25
+ end
@@ -11,12 +11,12 @@ module Telnyx
11
11
 
12
12
  # @!attribute meta
13
13
  #
14
- # @return [Telnyx::Models::Reports::PaginationMetaReporting, nil]
15
- optional :meta, -> { Telnyx::Reports::PaginationMetaReporting }
14
+ # @return [Telnyx::Models::Reports::ReportingPaginationMeta77109e5d17, nil]
15
+ optional :meta, -> { Telnyx::Reports::ReportingPaginationMeta77109e5d17 }
16
16
 
17
17
  # @!method initialize(data: nil, meta: nil)
18
18
  # @param data [Array<Telnyx::Models::ReportListMdrsResponse::Data>]
19
- # @param meta [Telnyx::Models::Reports::PaginationMetaReporting]
19
+ # @param meta [Telnyx::Models::Reports::ReportingPaginationMeta77109e5d17]
20
20
 
21
21
  class Data < Telnyx::Internal::Type::BaseModel
22
22
  # @!attribute id
@@ -0,0 +1,37 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Telnyx
4
+ module Models
5
+ module Reports
6
+ class ReportingPaginationMeta77109e5d17 < Telnyx::Internal::Type::BaseModel
7
+ # @!attribute page_number
8
+ #
9
+ # @return [Integer, nil]
10
+ optional :page_number, Integer
11
+
12
+ # @!attribute page_size
13
+ #
14
+ # @return [Integer, nil]
15
+ optional :page_size, Integer
16
+
17
+ # @!attribute total_pages
18
+ #
19
+ # @return [Integer, nil]
20
+ optional :total_pages, Integer
21
+
22
+ # @!attribute total_results
23
+ #
24
+ # @return [Integer, nil]
25
+ optional :total_results, Integer
26
+
27
+ # @!method initialize(page_number: nil, page_size: nil, total_pages: nil, total_results: nil)
28
+ # @param page_number [Integer]
29
+ # @param page_size [Integer]
30
+ # @param total_pages [Integer]
31
+ # @param total_results [Integer]
32
+ end
33
+ end
34
+
35
+ ReportingPaginationMeta77109e5d17 = Reports::ReportingPaginationMeta77109e5d17
36
+ end
37
+ end
@@ -9,14 +9,14 @@ module Telnyx
9
9
  # This object represents a SIM card action. It allows tracking the current status
10
10
  # of an operation that impacts the SIM card.
11
11
  #
12
- # @return [Telnyx::Models::SimCards::SimCardAction, nil]
13
- optional :data, -> { Telnyx::SimCards::SimCardAction }
12
+ # @return [Telnyx::Models::SimCards::WirelessSimCardAction, nil]
13
+ optional :data, -> { Telnyx::SimCards::WirelessSimCardAction }
14
14
 
15
15
  # @!method initialize(data: nil)
16
16
  # Some parameter documentations has been truncated, see
17
17
  # {Telnyx::Models::SimCards::ActionDisableResponse} for more details.
18
18
  #
19
- # @param data [Telnyx::Models::SimCards::SimCardAction] This object represents a SIM card action. It allows tracking the current status
19
+ # @param data [Telnyx::Models::SimCards::WirelessSimCardAction] This object represents a SIM card action. It allows tracking the current status
20
20
  end
21
21
  end
22
22
  end
@@ -9,14 +9,14 @@ module Telnyx
9
9
  # This object represents a SIM card action. It allows tracking the current status
10
10
  # of an operation that impacts the SIM card.
11
11
  #
12
- # @return [Telnyx::Models::SimCards::SimCardAction, nil]
13
- optional :data, -> { Telnyx::SimCards::SimCardAction }
12
+ # @return [Telnyx::Models::SimCards::WirelessSimCardAction, nil]
13
+ optional :data, -> { Telnyx::SimCards::WirelessSimCardAction }
14
14
 
15
15
  # @!method initialize(data: nil)
16
16
  # Some parameter documentations has been truncated, see
17
17
  # {Telnyx::Models::SimCards::ActionEnableResponse} for more details.
18
18
  #
19
- # @param data [Telnyx::Models::SimCards::SimCardAction] This object represents a SIM card action. It allows tracking the current status
19
+ # @param data [Telnyx::Models::SimCards::WirelessSimCardAction] This object represents a SIM card action. It allows tracking the current status
20
20
  end
21
21
  end
22
22
  end
@@ -9,14 +9,14 @@ module Telnyx
9
9
  # This object represents a SIM card action. It allows tracking the current status
10
10
  # of an operation that impacts the SIM card.
11
11
  #
12
- # @return [Telnyx::Models::SimCards::SimCardAction, nil]
13
- optional :data, -> { Telnyx::SimCards::SimCardAction }
12
+ # @return [Telnyx::Models::SimCards::WirelessSimCardAction, nil]
13
+ optional :data, -> { Telnyx::SimCards::WirelessSimCardAction }
14
14
 
15
15
  # @!method initialize(data: nil)
16
16
  # Some parameter documentations has been truncated, see
17
17
  # {Telnyx::Models::SimCards::ActionRemovePublicIPResponse} for more details.
18
18
  #
19
- # @param data [Telnyx::Models::SimCards::SimCardAction] This object represents a SIM card action. It allows tracking the current status
19
+ # @param data [Telnyx::Models::SimCards::WirelessSimCardAction] This object represents a SIM card action. It allows tracking the current status
20
20
  end
21
21
  end
22
22
  end
@@ -9,14 +9,14 @@ module Telnyx
9
9
  # This object represents a SIM card action. It allows tracking the current status
10
10
  # of an operation that impacts the SIM card.
11
11
  #
12
- # @return [Telnyx::Models::SimCards::SimCardAction, nil]
13
- optional :data, -> { Telnyx::SimCards::SimCardAction }
12
+ # @return [Telnyx::Models::SimCards::WirelessSimCardAction, nil]
13
+ optional :data, -> { Telnyx::SimCards::WirelessSimCardAction }
14
14
 
15
15
  # @!method initialize(data: nil)
16
16
  # Some parameter documentations has been truncated, see
17
17
  # {Telnyx::Models::SimCards::ActionRetrieveResponse} for more details.
18
18
  #
19
- # @param data [Telnyx::Models::SimCards::SimCardAction] This object represents a SIM card action. It allows tracking the current status
19
+ # @param data [Telnyx::Models::SimCards::WirelessSimCardAction] This object represents a SIM card action. It allows tracking the current status
20
20
  end
21
21
  end
22
22
  end
@@ -9,14 +9,14 @@ module Telnyx
9
9
  # This object represents a SIM card action. It allows tracking the current status
10
10
  # of an operation that impacts the SIM card.
11
11
  #
12
- # @return [Telnyx::Models::SimCards::SimCardAction, nil]
13
- optional :data, -> { Telnyx::SimCards::SimCardAction }
12
+ # @return [Telnyx::Models::SimCards::WirelessSimCardAction, nil]
13
+ optional :data, -> { Telnyx::SimCards::WirelessSimCardAction }
14
14
 
15
15
  # @!method initialize(data: nil)
16
16
  # Some parameter documentations has been truncated, see
17
17
  # {Telnyx::Models::SimCards::ActionSetPublicIPResponse} for more details.
18
18
  #
19
- # @param data [Telnyx::Models::SimCards::SimCardAction] This object represents a SIM card action. It allows tracking the current status
19
+ # @param data [Telnyx::Models::SimCards::WirelessSimCardAction] This object represents a SIM card action. It allows tracking the current status
20
20
  end
21
21
  end
22
22
  end
@@ -9,14 +9,14 @@ module Telnyx
9
9
  # This object represents a SIM card action. It allows tracking the current status
10
10
  # of an operation that impacts the SIM card.
11
11
  #
12
- # @return [Telnyx::Models::SimCards::SimCardAction, nil]
13
- optional :data, -> { Telnyx::SimCards::SimCardAction }
12
+ # @return [Telnyx::Models::SimCards::WirelessSimCardAction, nil]
13
+ optional :data, -> { Telnyx::SimCards::WirelessSimCardAction }
14
14
 
15
15
  # @!method initialize(data: nil)
16
16
  # Some parameter documentations has been truncated, see
17
17
  # {Telnyx::Models::SimCards::ActionSetStandbyResponse} for more details.
18
18
  #
19
- # @param data [Telnyx::Models::SimCards::SimCardAction] This object represents a SIM card action. It allows tracking the current status
19
+ # @param data [Telnyx::Models::SimCards::WirelessSimCardAction] This object represents a SIM card action. It allows tracking the current status
20
20
  end
21
21
  end
22
22
  end
@@ -3,7 +3,6 @@
3
3
  module Telnyx
4
4
  module Models
5
5
  module SimCards
6
- # @see Telnyx::Resources::SimCards::Actions#list
7
6
  class SimCardAction < Telnyx::Internal::Type::BaseModel
8
7
  # @!attribute status
9
8
  #
@@ -0,0 +1,153 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Telnyx
4
+ module Models
5
+ module SimCards
6
+ # @see Telnyx::Resources::SimCards::Actions#list
7
+ class WirelessSimCardAction < Telnyx::Internal::Type::BaseModel
8
+ # @!attribute status
9
+ #
10
+ # @return [Telnyx::Models::SimCards::WirelessSimCardAction::Status, nil]
11
+ optional :status, -> { Telnyx::SimCards::WirelessSimCardAction::Status }
12
+
13
+ response_only do
14
+ # @!attribute id
15
+ # Identifies the resource.
16
+ #
17
+ # @return [String, nil]
18
+ optional :id, String
19
+
20
+ # @!attribute action_type
21
+ # The operation type. It can be one of the following: <br/>
22
+ #
23
+ # <ul>
24
+ # <li><code>enable</code> - move the SIM card to the <code>enabled</code> status</li>
25
+ # <li><code>enable_standby_sim_card</code> - move a SIM card previously on the <code>standby</code> status to the <code>enabled</code> status after it consumes data.</li>
26
+ # <li><code>disable</code> - move the SIM card to the <code>disabled</code> status</li>
27
+ # <li><code>set_standby</code> - move the SIM card to the <code>standby</code> status</li>
28
+ # </ul>
29
+ #
30
+ # @return [Symbol, Telnyx::Models::SimCards::WirelessSimCardAction::ActionType, nil]
31
+ optional :action_type, enum: -> { Telnyx::SimCards::WirelessSimCardAction::ActionType }
32
+
33
+ # @!attribute created_at
34
+ # ISO 8601 formatted date-time indicating when the resource was created.
35
+ #
36
+ # @return [String, nil]
37
+ optional :created_at, String
38
+
39
+ # @!attribute record_type
40
+ #
41
+ # @return [String, nil]
42
+ optional :record_type, String
43
+
44
+ # @!attribute settings
45
+ # A JSON object representation of the action params.
46
+ #
47
+ # @return [Hash{Symbol=>Object}, nil]
48
+ optional :settings, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown], nil?: true
49
+
50
+ # @!attribute sim_card_id
51
+ # The related SIM card identifier.
52
+ #
53
+ # @return [String, nil]
54
+ optional :sim_card_id, String
55
+
56
+ # @!attribute updated_at
57
+ # ISO 8601 formatted date-time indicating when the resource was updated.
58
+ #
59
+ # @return [String, nil]
60
+ optional :updated_at, String
61
+ end
62
+
63
+ # @!method initialize(id: nil, action_type: nil, created_at: nil, record_type: nil, settings: nil, sim_card_id: nil, status: nil, updated_at: nil)
64
+ # Some parameter documentations has been truncated, see
65
+ # {Telnyx::Models::SimCards::WirelessSimCardAction} for more details.
66
+ #
67
+ # This object represents a SIM card action. It allows tracking the current status
68
+ # of an operation that impacts the SIM card.
69
+ #
70
+ # @param id [String] Identifies the resource.
71
+ #
72
+ # @param action_type [Symbol, Telnyx::Models::SimCards::WirelessSimCardAction::ActionType] The operation type. It can be one of the following: <br/>
73
+ #
74
+ # @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
75
+ #
76
+ # @param record_type [String]
77
+ #
78
+ # @param settings [Hash{Symbol=>Object}, nil] A JSON object representation of the action params.
79
+ #
80
+ # @param sim_card_id [String] The related SIM card identifier.
81
+ #
82
+ # @param status [Telnyx::Models::SimCards::WirelessSimCardAction::Status]
83
+ #
84
+ # @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
85
+
86
+ # The operation type. It can be one of the following: <br/>
87
+ #
88
+ # <ul>
89
+ # <li><code>enable</code> - move the SIM card to the <code>enabled</code> status</li>
90
+ # <li><code>enable_standby_sim_card</code> - move a SIM card previously on the <code>standby</code> status to the <code>enabled</code> status after it consumes data.</li>
91
+ # <li><code>disable</code> - move the SIM card to the <code>disabled</code> status</li>
92
+ # <li><code>set_standby</code> - move the SIM card to the <code>standby</code> status</li>
93
+ # </ul>
94
+ #
95
+ # @see Telnyx::Models::SimCards::WirelessSimCardAction#action_type
96
+ module ActionType
97
+ extend Telnyx::Internal::Type::Enum
98
+
99
+ ENABLE = :enable
100
+ ENABLE_STANDBY_SIM_CARD = :enable_standby_sim_card
101
+ DISABLE = :disable
102
+ SET_STANDBY = :set_standby
103
+
104
+ # @!method self.values
105
+ # @return [Array<Symbol>]
106
+ end
107
+
108
+ # @see Telnyx::Models::SimCards::WirelessSimCardAction#status
109
+ class Status < Telnyx::Internal::Type::BaseModel
110
+ response_only do
111
+ # @!attribute reason
112
+ # It describes why the SIM card action is in the current status. This will be
113
+ # <code>null</code> for self-explanatory statuses, such as
114
+ # <code>in-progress</code> and <code>completed</code> but will include further
115
+ # information on statuses like <code>interrupted</code> and <code>failed</code>.
116
+ #
117
+ # @return [String, nil]
118
+ optional :reason, String
119
+
120
+ # @!attribute value
121
+ # The current status of the SIM card action.
122
+ #
123
+ # @return [Symbol, Telnyx::Models::SimCards::WirelessSimCardAction::Status::Value, nil]
124
+ optional :value, enum: -> { Telnyx::SimCards::WirelessSimCardAction::Status::Value }
125
+ end
126
+
127
+ # @!method initialize(reason: nil, value: nil)
128
+ # Some parameter documentations has been truncated, see
129
+ # {Telnyx::Models::SimCards::WirelessSimCardAction::Status} for more details.
130
+ #
131
+ # @param reason [String] It describes why the SIM card action is in the current status. This will be <cod
132
+ #
133
+ # @param value [Symbol, Telnyx::Models::SimCards::WirelessSimCardAction::Status::Value] The current status of the SIM card action.
134
+
135
+ # The current status of the SIM card action.
136
+ #
137
+ # @see Telnyx::Models::SimCards::WirelessSimCardAction::Status#value
138
+ module Value
139
+ extend Telnyx::Internal::Type::Enum
140
+
141
+ IN_PROGRESS = :"in-progress"
142
+ COMPLETED = :completed
143
+ FAILED = :failed
144
+ INTERRUPTED = :interrupted
145
+
146
+ # @!method self.values
147
+ # @return [Array<Symbol>]
148
+ end
149
+ end
150
+ end
151
+ end
152
+ end
153
+ end
@@ -9,7 +9,8 @@ module Telnyx
9
9
 
10
10
  # @!attribute credential_type
11
11
  # The kind of credential to look up. `uac_external_credential` is keyed by
12
- # `connection_id`; `telephony_credential` is keyed by `username`.
12
+ # `connection_id`; `telephony_credential` and `sip_credential_connection` are
13
+ # keyed by `username`.
13
14
  #
14
15
  # @return [Symbol, Telnyx::Models::SipRegistrationStatusRetrieveParams::CredentialType]
15
16
  required :credential_type, enum: -> { Telnyx::SipRegistrationStatusRetrieveParams::CredentialType }
@@ -22,8 +23,8 @@ module Telnyx
22
23
  optional :connection_id, String
23
24
 
24
25
  # @!attribute username
25
- # SIP username of the telephony credential to look up. Required when
26
- # `credential_type` is `telephony_credential`.
26
+ # SIP username to look up. Required when `credential_type` is
27
+ # `telephony_credential` or `sip_credential_connection`.
27
28
  #
28
29
  # @return [String, nil]
29
30
  optional :username, String
@@ -36,17 +37,19 @@ module Telnyx
36
37
  #
37
38
  # @param connection_id [String] Identifier of the UAC connection to look up. Required when `credential_type` is
38
39
  #
39
- # @param username [String] SIP username of the telephony credential to look up. Required when `credential_t
40
+ # @param username [String] SIP username to look up. Required when `credential_type` is `telephony_credentia
40
41
  #
41
42
  # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
42
43
 
43
44
  # The kind of credential to look up. `uac_external_credential` is keyed by
44
- # `connection_id`; `telephony_credential` is keyed by `username`.
45
+ # `connection_id`; `telephony_credential` and `sip_credential_connection` are
46
+ # keyed by `username`.
45
47
  module CredentialType
46
48
  extend Telnyx::Internal::Type::Enum
47
49
 
48
50
  UAC_EXTERNAL_CREDENTIAL = :uac_external_credential
49
51
  TELEPHONY_CREDENTIAL = :telephony_credential
52
+ SIP_CREDENTIAL_CONNECTION = :sip_credential_connection
50
53
 
51
54
  # @!method self.values
52
55
  # @return [Array<Symbol>]