telnyx 5.0.0 → 5.2.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 (289) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +46 -0
  3. data/README.md +1 -1
  4. data/lib/telnyx/client.rb +4 -0
  5. data/lib/telnyx/internal/type/union.rb +1 -1
  6. data/lib/telnyx/models/ai/assistant.rb +39 -4
  7. data/lib/telnyx/models/ai/assistant_create_params.rb +17 -6
  8. data/lib/telnyx/models/ai/assistant_imports_params.rb +10 -1
  9. data/lib/telnyx/models/ai/assistant_tool.rb +400 -3
  10. data/lib/telnyx/models/ai/assistant_update_params.rb +17 -6
  11. data/lib/telnyx/models/ai/assistants/update_assistant.rb +17 -6
  12. data/lib/telnyx/models/ai/audio_visualizer_config.rb +43 -0
  13. data/lib/telnyx/models/ai/bucket_ids.rb +7 -1
  14. data/lib/telnyx/models/ai/chat_create_completion_params.rb +4 -4
  15. data/lib/telnyx/models/ai/inference_embedding.rb +17 -6
  16. data/lib/telnyx/models/ai/messaging_settings.rb +10 -1
  17. data/lib/telnyx/models/ai/retrieval_tool.rb +3 -3
  18. data/lib/telnyx/models/ai/telephony_settings.rb +142 -1
  19. data/lib/telnyx/models/ai/transfer_tool.rb +46 -3
  20. data/lib/telnyx/models/ai/voice_settings.rb +1 -1
  21. data/lib/telnyx/models/ai/webhook_tool.rb +256 -3
  22. data/lib/telnyx/models/ai/widget_settings.rb +138 -0
  23. data/lib/telnyx/models/call_control_application_list_params.rb +16 -18
  24. data/lib/telnyx/models/call_event_list_params.rb +16 -18
  25. data/lib/telnyx/models/calls/action_add_ai_assistant_messages_params.rb +289 -0
  26. data/lib/telnyx/models/calls/action_add_ai_assistant_messages_response.rb +18 -0
  27. data/lib/telnyx/models/calls/action_start_noise_suppression_params.rb +7 -4
  28. data/lib/telnyx/models/conference_list_params.rb +16 -18
  29. data/lib/telnyx/models/conference_list_participants_params.rb +16 -18
  30. data/lib/telnyx/models/connection_list_active_calls_params.rb +16 -18
  31. data/lib/telnyx/models/connection_noise_suppression_details.rb +61 -0
  32. data/lib/telnyx/models/credential_connection.rb +3 -61
  33. data/lib/telnyx/models/credential_connection_create_params.rb +3 -61
  34. data/lib/telnyx/models/credential_connection_update_params.rb +3 -61
  35. data/lib/telnyx/models/fax_create_params.rb +10 -1
  36. data/lib/telnyx/models/fqdn_connection.rb +3 -60
  37. data/lib/telnyx/models/fqdn_connection_create_params.rb +3 -60
  38. data/lib/telnyx/models/fqdn_connection_update_params.rb +3 -60
  39. data/lib/telnyx/models/ip_connection.rb +3 -60
  40. data/lib/telnyx/models/ip_connection_create_params.rb +3 -60
  41. data/lib/telnyx/models/ip_connection_update_params.rb +3 -60
  42. data/lib/telnyx/models/messaging_10dlc/brand_retrieve_sms_otp_status_params.rb +1 -9
  43. data/lib/telnyx/models/messaging_profile.rb +11 -1
  44. data/lib/telnyx/models/messaging_profile_create_params.rb +11 -1
  45. data/lib/telnyx/models/messaging_profile_update_params.rb +11 -1
  46. data/lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb +14 -1
  47. data/lib/telnyx/models/messaging_tollfree/verification/verification_request_egress.rb +17 -1
  48. data/lib/telnyx/models/messaging_tollfree/verification/verification_request_status.rb +17 -1
  49. data/lib/telnyx/models/organizations/user_get_groups_report_params.rb +32 -0
  50. data/lib/telnyx/models/organizations/user_get_groups_report_response.rb +110 -0
  51. data/lib/telnyx/models/organizations/user_group_reference.rb +28 -0
  52. data/lib/telnyx/models/organizations/user_list_params.rb +73 -0
  53. data/lib/telnyx/models/organizations/user_list_response.rb +96 -0
  54. data/lib/telnyx/models/organizations/user_retrieve_params.rb +29 -0
  55. data/lib/telnyx/models/organizations/user_retrieve_response.rb +107 -0
  56. data/lib/telnyx/models/organizations/users/action_remove_params.rb +18 -0
  57. data/lib/telnyx/models/organizations/users/action_remove_response.rb +111 -0
  58. data/lib/telnyx/models/private_wireless_gateway_status.rb +3 -2
  59. data/lib/telnyx/models/queues/call_list_params.rb +16 -18
  60. data/lib/telnyx/models/sim_card_list_params.rb +11 -3
  61. data/lib/telnyx/models/texml/accounts/queue_list_params.rb +64 -0
  62. data/lib/telnyx/models/texml/accounts/queue_list_response.rb +155 -0
  63. data/lib/telnyx/models/unsafe_unwrap_webhook_event.rb +1 -7
  64. data/lib/telnyx/models/unwrap_webhook_event.rb +1 -7
  65. data/lib/telnyx/models.rb +4 -6
  66. data/lib/telnyx/resources/ai/assistants/tools.rb +2 -2
  67. data/lib/telnyx/resources/ai/assistants/versions.rb +18 -16
  68. data/lib/telnyx/resources/ai/assistants.rb +15 -9
  69. data/lib/telnyx/resources/ai/clusters.rb +1 -1
  70. data/lib/telnyx/resources/ai/embeddings.rb +1 -1
  71. data/lib/telnyx/resources/bundle_pricing/user_bundles.rb +1 -1
  72. data/lib/telnyx/resources/call_control_applications.rb +8 -4
  73. data/lib/telnyx/resources/call_events.rb +8 -4
  74. data/lib/telnyx/resources/calls/actions.rb +31 -0
  75. data/lib/telnyx/resources/conferences.rb +16 -8
  76. data/lib/telnyx/resources/connections.rb +8 -4
  77. data/lib/telnyx/resources/credential_connections.rb +2 -2
  78. data/lib/telnyx/resources/faxes.rb +3 -1
  79. data/lib/telnyx/resources/fqdn_connections.rb +2 -2
  80. data/lib/telnyx/resources/ip_connections.rb +2 -2
  81. data/lib/telnyx/resources/messages.rb +1 -1
  82. data/lib/telnyx/resources/messaging_10dlc/brand.rb +10 -14
  83. data/lib/telnyx/resources/messaging_profiles/autoresp_configs.rb +6 -6
  84. data/lib/telnyx/resources/messaging_profiles.rb +6 -2
  85. data/lib/telnyx/resources/messaging_tollfree/verification/requests.rb +6 -2
  86. data/lib/telnyx/resources/operator_connect/actions.rb +1 -1
  87. data/lib/telnyx/resources/organizations/users/actions.rb +38 -0
  88. data/lib/telnyx/resources/organizations/users.rb +114 -0
  89. data/lib/telnyx/resources/organizations.rb +18 -0
  90. data/lib/telnyx/resources/phone_numbers/jobs.rb +1 -1
  91. data/lib/telnyx/resources/queues/calls.rb +8 -4
  92. data/lib/telnyx/resources/sim_cards/actions.rb +6 -6
  93. data/lib/telnyx/resources/texml/accounts/calls/recordings.rb +1 -1
  94. data/lib/telnyx/resources/texml/accounts/queues.rb +41 -0
  95. data/lib/telnyx/resources/usage_reports.rb +2 -2
  96. data/lib/telnyx/resources/webhooks.rb +2 -2
  97. data/lib/telnyx/version.rb +1 -1
  98. data/lib/telnyx.rb +19 -69
  99. data/rbi/telnyx/client.rbi +3 -0
  100. data/rbi/telnyx/models/ai/assistant.rbi +91 -5
  101. data/rbi/telnyx/models/ai/assistant_create_params.rbi +31 -14
  102. data/rbi/telnyx/models/ai/assistant_imports_params.rbi +13 -0
  103. data/rbi/telnyx/models/ai/assistant_tool.rbi +910 -2
  104. data/rbi/telnyx/models/ai/assistant_update_params.rbi +31 -14
  105. data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +36 -17
  106. data/rbi/telnyx/models/ai/audio_visualizer_config.rbi +107 -0
  107. data/rbi/telnyx/models/ai/bucket_ids.rbi +6 -0
  108. data/rbi/telnyx/models/ai/chat_create_completion_params.rbi +6 -13
  109. data/rbi/telnyx/models/ai/inference_embedding.rbi +30 -13
  110. data/rbi/telnyx/models/ai/messaging_settings.rbi +13 -0
  111. data/rbi/telnyx/models/ai/retrieval_tool.rbi +4 -8
  112. data/rbi/telnyx/models/ai/telephony_settings.rbi +347 -3
  113. data/rbi/telnyx/models/ai/transfer_tool.rbi +87 -6
  114. data/rbi/telnyx/models/ai/voice_settings.rbi +2 -2
  115. data/rbi/telnyx/models/ai/webhook_tool.rbi +584 -8
  116. data/rbi/telnyx/models/ai/widget_settings.rbi +225 -0
  117. data/rbi/telnyx/models/call_control_application_list_params.rbi +23 -35
  118. data/rbi/telnyx/models/call_event_list_params.rbi +23 -35
  119. data/rbi/telnyx/models/calls/action_add_ai_assistant_messages_params.rbi +583 -0
  120. data/rbi/telnyx/models/calls/action_add_ai_assistant_messages_response.rbi +39 -0
  121. data/rbi/telnyx/models/calls/action_start_noise_suppression_params.rbi +14 -6
  122. data/rbi/telnyx/models/conference_list_params.rbi +23 -35
  123. data/rbi/telnyx/models/conference_list_participants_params.rbi +23 -35
  124. data/rbi/telnyx/models/connection_list_active_calls_params.rbi +23 -35
  125. data/rbi/telnyx/models/connection_noise_suppression_details.rbi +141 -0
  126. data/rbi/telnyx/models/credential_connection.rbi +4 -152
  127. data/rbi/telnyx/models/credential_connection_create_params.rbi +4 -154
  128. data/rbi/telnyx/models/credential_connection_update_params.rbi +4 -154
  129. data/rbi/telnyx/models/fax_create_params.rbi +13 -0
  130. data/rbi/telnyx/models/fqdn_connection.rbi +4 -150
  131. data/rbi/telnyx/models/fqdn_connection_create_params.rbi +4 -152
  132. data/rbi/telnyx/models/fqdn_connection_update_params.rbi +4 -152
  133. data/rbi/telnyx/models/ip_connection.rbi +4 -148
  134. data/rbi/telnyx/models/ip_connection_create_params.rbi +4 -152
  135. data/rbi/telnyx/models/ip_connection_update_params.rbi +4 -152
  136. data/rbi/telnyx/models/messaging_10dlc/brand_retrieve_sms_otp_status_params.rbi +5 -21
  137. data/rbi/telnyx/models/messaging_profile.rbi +15 -0
  138. data/rbi/telnyx/models/messaging_profile_create_params.rbi +15 -0
  139. data/rbi/telnyx/models/messaging_profile_update_params.rbi +15 -0
  140. data/rbi/telnyx/models/messaging_tollfree/verification/tf_verification_request.rbi +12 -0
  141. data/rbi/telnyx/models/messaging_tollfree/verification/verification_request_egress.rbi +10 -0
  142. data/rbi/telnyx/models/messaging_tollfree/verification/verification_request_status.rbi +10 -0
  143. data/rbi/telnyx/models/organizations/user_get_groups_report_params.rbi +93 -0
  144. data/rbi/telnyx/models/organizations/user_get_groups_report_response.rbi +210 -0
  145. data/rbi/telnyx/models/organizations/user_group_reference.rbi +39 -0
  146. data/rbi/telnyx/models/organizations/user_list_params.rbi +152 -0
  147. data/rbi/telnyx/models/organizations/user_list_response.rbi +188 -0
  148. data/rbi/telnyx/models/organizations/user_retrieve_params.rbi +55 -0
  149. data/rbi/telnyx/models/organizations/user_retrieve_response.rbi +232 -0
  150. data/rbi/telnyx/models/organizations/users/action_remove_params.rbi +34 -0
  151. data/rbi/telnyx/models/organizations/users/action_remove_response.rbi +239 -0
  152. data/rbi/telnyx/models/private_wireless_gateway_status.rbi +4 -2
  153. data/rbi/telnyx/models/queues/call_list_params.rbi +23 -35
  154. data/rbi/telnyx/models/sim_card_list_params.rbi +14 -3
  155. data/rbi/telnyx/models/texml/accounts/queue_list_params.rbi +103 -0
  156. data/rbi/telnyx/models/texml/accounts/queue_list_response.rbi +269 -0
  157. data/rbi/telnyx/models/unsafe_unwrap_webhook_event.rbi +0 -3
  158. data/rbi/telnyx/models/unwrap_webhook_event.rbi +0 -3
  159. data/rbi/telnyx/models.rbi +5 -6
  160. data/rbi/telnyx/resources/ai/assistants/tools.rbi +2 -2
  161. data/rbi/telnyx/resources/ai/assistants/versions.rbi +25 -19
  162. data/rbi/telnyx/resources/ai/assistants.rbi +30 -14
  163. data/rbi/telnyx/resources/ai/chat.rbi +1 -1
  164. data/rbi/telnyx/resources/ai/clusters.rbi +1 -1
  165. data/rbi/telnyx/resources/ai/embeddings.rbi +1 -1
  166. data/rbi/telnyx/resources/bundle_pricing/user_bundles.rbi +1 -1
  167. data/rbi/telnyx/resources/call_control_applications.rbi +7 -1
  168. data/rbi/telnyx/resources/call_events.rbi +5 -1
  169. data/rbi/telnyx/resources/calls/actions.rbi +37 -2
  170. data/rbi/telnyx/resources/conferences.rbi +10 -2
  171. data/rbi/telnyx/resources/connections.rbi +5 -1
  172. data/rbi/telnyx/resources/credential_connections.rbi +2 -2
  173. data/rbi/telnyx/resources/faxes.rbi +4 -0
  174. data/rbi/telnyx/resources/fqdn_connections.rbi +2 -2
  175. data/rbi/telnyx/resources/ip_connections.rbi +2 -2
  176. data/rbi/telnyx/resources/messages.rbi +1 -1
  177. data/rbi/telnyx/resources/messaging_10dlc/brand.rbi +8 -11
  178. data/rbi/telnyx/resources/messaging_profiles/autoresp_configs.rbi +6 -6
  179. data/rbi/telnyx/resources/messaging_profiles.rbi +10 -0
  180. data/rbi/telnyx/resources/messaging_tollfree/verification/requests.rbi +10 -0
  181. data/rbi/telnyx/resources/operator_connect/actions.rbi +1 -1
  182. data/rbi/telnyx/resources/organizations/users/actions.rbi +32 -0
  183. data/rbi/telnyx/resources/organizations/users.rbi +88 -0
  184. data/rbi/telnyx/resources/organizations.rbi +15 -0
  185. data/rbi/telnyx/resources/phone_numbers/jobs.rbi +1 -1
  186. data/rbi/telnyx/resources/queues/calls.rbi +5 -1
  187. data/rbi/telnyx/resources/sim_cards/actions.rbi +6 -6
  188. data/rbi/telnyx/resources/sim_cards.rbi +1 -1
  189. data/rbi/telnyx/resources/texml/accounts/calls/recordings.rbi +1 -1
  190. data/rbi/telnyx/resources/texml/accounts/queues.rbi +32 -0
  191. data/rbi/telnyx/resources/usage_reports.rbi +2 -2
  192. data/rbi/telnyx/resources/webhooks.rbi +0 -6
  193. data/sig/telnyx/client.rbs +2 -0
  194. data/sig/telnyx/models/ai/assistant.rbs +44 -1
  195. data/sig/telnyx/models/ai/assistant_create_params.rbs +10 -1
  196. data/sig/telnyx/models/ai/assistant_imports_params.rbs +8 -1
  197. data/sig/telnyx/models/ai/assistant_tool.rbs +367 -2
  198. data/sig/telnyx/models/ai/assistant_update_params.rbs +10 -1
  199. data/sig/telnyx/models/ai/assistants/update_assistant.rbs +12 -3
  200. data/sig/telnyx/models/ai/audio_visualizer_config.rbs +48 -0
  201. data/sig/telnyx/models/ai/chat_create_completion_params.rbs +4 -7
  202. data/sig/telnyx/models/ai/inference_embedding.rbs +12 -3
  203. data/sig/telnyx/models/ai/messaging_settings.rbs +7 -0
  204. data/sig/telnyx/models/ai/retrieval_tool.rbs +4 -4
  205. data/sig/telnyx/models/ai/telephony_settings.rbs +133 -4
  206. data/sig/telnyx/models/ai/transfer_tool.rbs +42 -4
  207. data/sig/telnyx/models/ai/webhook_tool.rbs +241 -4
  208. data/sig/telnyx/models/ai/widget_settings.rbs +127 -0
  209. data/sig/telnyx/models/call_control_application_list_params.rbs +17 -26
  210. data/sig/telnyx/models/call_event_list_params.rbs +18 -27
  211. data/sig/telnyx/models/calls/action_add_ai_assistant_messages_params.rbs +240 -0
  212. data/sig/telnyx/models/calls/action_add_ai_assistant_messages_response.rbs +20 -0
  213. data/sig/telnyx/models/calls/action_start_noise_suppression_params.rbs +2 -1
  214. data/sig/telnyx/models/conference_list_params.rbs +17 -26
  215. data/sig/telnyx/models/conference_list_participants_params.rbs +17 -26
  216. data/sig/telnyx/models/connection_list_active_calls_params.rbs +20 -27
  217. data/sig/telnyx/models/connection_noise_suppression_details.rbs +54 -0
  218. data/sig/telnyx/models/credential_connection.rbs +6 -57
  219. data/sig/telnyx/models/credential_connection_create_params.rbs +6 -57
  220. data/sig/telnyx/models/credential_connection_update_params.rbs +6 -57
  221. data/sig/telnyx/models/fax_create_params.rbs +7 -0
  222. data/sig/telnyx/models/fqdn_connection.rbs +6 -57
  223. data/sig/telnyx/models/fqdn_connection_create_params.rbs +6 -57
  224. data/sig/telnyx/models/fqdn_connection_update_params.rbs +6 -57
  225. data/sig/telnyx/models/ip_connection.rbs +6 -57
  226. data/sig/telnyx/models/ip_connection_create_params.rbs +6 -57
  227. data/sig/telnyx/models/ip_connection_update_params.rbs +6 -57
  228. data/sig/telnyx/models/messaging_10dlc/brand_retrieve_sms_otp_status_params.rbs +3 -13
  229. data/sig/telnyx/models/messaging_profile.rbs +7 -0
  230. data/sig/telnyx/models/messaging_profile_create_params.rbs +7 -0
  231. data/sig/telnyx/models/messaging_profile_update_params.rbs +7 -0
  232. data/sig/telnyx/models/messaging_tollfree/verification/tf_verification_request.rbs +5 -0
  233. data/sig/telnyx/models/messaging_tollfree/verification/verification_request_egress.rbs +5 -0
  234. data/sig/telnyx/models/messaging_tollfree/verification/verification_request_status.rbs +5 -0
  235. data/sig/telnyx/models/organizations/user_get_groups_report_params.rbs +43 -0
  236. data/sig/telnyx/models/organizations/user_get_groups_report_response.rbs +92 -0
  237. data/sig/telnyx/models/organizations/user_group_reference.rbs +17 -0
  238. data/sig/telnyx/models/organizations/user_list_params.rbs +72 -0
  239. data/sig/telnyx/models/organizations/user_list_response.rbs +87 -0
  240. data/sig/telnyx/models/organizations/user_retrieve_params.rbs +27 -0
  241. data/sig/telnyx/models/organizations/user_retrieve_response.rbs +106 -0
  242. data/sig/telnyx/models/organizations/users/action_remove_params.rbs +19 -0
  243. data/sig/telnyx/models/organizations/users/action_remove_response.rbs +110 -0
  244. data/sig/telnyx/models/queues/call_list_params.rbs +20 -27
  245. data/sig/telnyx/models/sim_card_list_params.rbs +7 -0
  246. data/sig/telnyx/models/texml/accounts/queue_list_params.rbs +60 -0
  247. data/sig/telnyx/models/texml/accounts/queue_list_response.rbs +152 -0
  248. data/sig/telnyx/models/unsafe_unwrap_webhook_event.rbs +0 -3
  249. data/sig/telnyx/models/unwrap_webhook_event.rbs +0 -3
  250. data/sig/telnyx/models.rbs +4 -6
  251. data/sig/telnyx/resources/ai/assistants/versions.rbs +1 -0
  252. data/sig/telnyx/resources/ai/assistants.rbs +3 -0
  253. data/sig/telnyx/resources/call_control_applications.rbs +3 -1
  254. data/sig/telnyx/resources/call_events.rbs +3 -1
  255. data/sig/telnyx/resources/calls/actions.rbs +8 -0
  256. data/sig/telnyx/resources/conferences.rbs +6 -2
  257. data/sig/telnyx/resources/connections.rbs +3 -1
  258. data/sig/telnyx/resources/credential_connections.rbs +2 -2
  259. data/sig/telnyx/resources/faxes.rbs +1 -0
  260. data/sig/telnyx/resources/fqdn_connections.rbs +2 -2
  261. data/sig/telnyx/resources/ip_connections.rbs +2 -2
  262. data/sig/telnyx/resources/messaging_10dlc/brand.rbs +1 -2
  263. data/sig/telnyx/resources/messaging_profiles.rbs +2 -0
  264. data/sig/telnyx/resources/messaging_tollfree/verification/requests.rbs +2 -0
  265. data/sig/telnyx/resources/organizations/users/actions.rbs +16 -0
  266. data/sig/telnyx/resources/organizations/users.rbs +31 -0
  267. data/sig/telnyx/resources/organizations.rbs +9 -0
  268. data/sig/telnyx/resources/queues/calls.rbs +3 -1
  269. data/sig/telnyx/resources/texml/accounts/queues.rbs +10 -0
  270. data/sig/telnyx/resources/webhooks.rbs +0 -6
  271. metadata +59 -20
  272. data/lib/telnyx/models/ai/inference_embedding_bucket_ids.rb +0 -31
  273. data/lib/telnyx/models/ai/inference_embedding_transfer_tool_params.rb +0 -93
  274. data/lib/telnyx/models/ai/inference_embedding_webhook_tool_params.rb +0 -265
  275. data/lib/telnyx/models/streaming_failed_webhook_event.rb +0 -15
  276. data/lib/telnyx/models/streaming_started_webhook_event.rb +0 -15
  277. data/lib/telnyx/models/streaming_stopped_webhook_event.rb +0 -15
  278. data/rbi/telnyx/models/ai/inference_embedding_bucket_ids.rbi +0 -54
  279. data/rbi/telnyx/models/ai/inference_embedding_transfer_tool_params.rbi +0 -185
  280. data/rbi/telnyx/models/ai/inference_embedding_webhook_tool_params.rbi +0 -621
  281. data/rbi/telnyx/models/streaming_failed_webhook_event.rbi +0 -30
  282. data/rbi/telnyx/models/streaming_started_webhook_event.rbi +0 -30
  283. data/rbi/telnyx/models/streaming_stopped_webhook_event.rbi +0 -30
  284. data/sig/telnyx/models/ai/inference_embedding_bucket_ids.rbs +0 -26
  285. data/sig/telnyx/models/ai/inference_embedding_transfer_tool_params.rbs +0 -75
  286. data/sig/telnyx/models/ai/inference_embedding_webhook_tool_params.rbs +0 -242
  287. data/sig/telnyx/models/streaming_failed_webhook_event.rbs +0 -15
  288. data/sig/telnyx/models/streaming_started_webhook_event.rbs +0 -16
  289. data/sig/telnyx/models/streaming_stopped_webhook_event.rbs +0 -16
@@ -94,8 +94,8 @@ module Telnyx
94
94
  # noise_suppression is not 'disabled'. If you disable noise suppression and later
95
95
  # re-enable it, the previously configured settings will be used.
96
96
  #
97
- # @return [Telnyx::Models::FqdnConnectionUpdateParams::NoiseSuppressionDetails, nil]
98
- optional :noise_suppression_details, -> { Telnyx::FqdnConnectionUpdateParams::NoiseSuppressionDetails }
97
+ # @return [Telnyx::Models::ConnectionNoiseSuppressionDetails, nil]
98
+ optional :noise_suppression_details, -> { Telnyx::ConnectionNoiseSuppressionDetails }
99
99
 
100
100
  # @!attribute onnet_t38_passthrough_enabled
101
101
  # Enable on-net T38 if you prefer that the sender and receiver negotiate T38
@@ -182,7 +182,7 @@ module Telnyx
182
182
  #
183
183
  # @param noise_suppression [Symbol, Telnyx::Models::FqdnConnectionUpdateParams::NoiseSuppression] Controls when noise suppression is applied to calls. When set to 'inbound', nois
184
184
  #
185
- # @param noise_suppression_details [Telnyx::Models::FqdnConnectionUpdateParams::NoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
185
+ # @param noise_suppression_details [Telnyx::Models::ConnectionNoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
186
186
  #
187
187
  # @param onnet_t38_passthrough_enabled [Boolean] Enable on-net T38 if you prefer that the sender and receiver negotiate T38 direc
188
188
  #
@@ -219,63 +219,6 @@ module Telnyx
219
219
  # @!method self.values
220
220
  # @return [Array<Symbol>]
221
221
  end
222
-
223
- class NoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
224
- # @!attribute attenuation_limit
225
- # The attenuation limit value for the selected engine. Default values vary by
226
- # engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
227
- # all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
228
- # 'krisp_viva_promodel', 'krisp_viva_ss').
229
- #
230
- # @return [Integer, nil]
231
- optional :attenuation_limit, Integer
232
-
233
- # @!attribute engine
234
- # The noise suppression engine to use. 'denoiser' is the default engine.
235
- # 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
236
- # different performance characteristics. Krisp engines ('krisp_viva_tel',
237
- # 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
238
- # noise suppression capabilities.
239
- #
240
- # @return [Symbol, Telnyx::Models::FqdnConnectionUpdateParams::NoiseSuppressionDetails::Engine, nil]
241
- optional :engine, enum: -> { Telnyx::FqdnConnectionUpdateParams::NoiseSuppressionDetails::Engine }
242
-
243
- # @!method initialize(attenuation_limit: nil, engine: nil)
244
- # Some parameter documentations has been truncated, see
245
- # {Telnyx::Models::FqdnConnectionUpdateParams::NoiseSuppressionDetails} for more
246
- # details.
247
- #
248
- # Configuration options for noise suppression. These settings are stored
249
- # regardless of the noise_suppression value, but only take effect when
250
- # noise_suppression is not 'disabled'. If you disable noise suppression and later
251
- # re-enable it, the previously configured settings will be used.
252
- #
253
- # @param attenuation_limit [Integer] The attenuation limit value for the selected engine. Default values vary by engi
254
- #
255
- # @param engine [Symbol, Telnyx::Models::FqdnConnectionUpdateParams::NoiseSuppressionDetails::Engine] The noise suppression engine to use. 'denoiser' is the default engine. 'deep_fil
256
-
257
- # The noise suppression engine to use. 'denoiser' is the default engine.
258
- # 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
259
- # different performance characteristics. Krisp engines ('krisp_viva_tel',
260
- # 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
261
- # noise suppression capabilities.
262
- #
263
- # @see Telnyx::Models::FqdnConnectionUpdateParams::NoiseSuppressionDetails#engine
264
- module Engine
265
- extend Telnyx::Internal::Type::Enum
266
-
267
- DENOISER = :denoiser
268
- DEEP_FILTER_NET = :deep_filter_net
269
- DEEP_FILTER_NET_LARGE = :deep_filter_net_large
270
- KRISP_VIVA_TEL = :krisp_viva_tel
271
- KRISP_VIVA_TEL_LITE = :krisp_viva_tel_lite
272
- KRISP_VIVA_PROMODEL = :krisp_viva_promodel
273
- KRISP_VIVA_SS = :krisp_viva_ss
274
-
275
- # @!method self.values
276
- # @return [Array<Symbol>]
277
- end
278
- end
279
222
  end
280
223
  end
281
224
  end
@@ -90,8 +90,8 @@ module Telnyx
90
90
  # noise_suppression is not 'disabled'. If you disable noise suppression and later
91
91
  # re-enable it, the previously configured settings will be used.
92
92
  #
93
- # @return [Telnyx::Models::IPConnection::NoiseSuppressionDetails, nil]
94
- optional :noise_suppression_details, -> { Telnyx::IPConnection::NoiseSuppressionDetails }
93
+ # @return [Telnyx::Models::ConnectionNoiseSuppressionDetails, nil]
94
+ optional :noise_suppression_details, -> { Telnyx::ConnectionNoiseSuppressionDetails }
95
95
 
96
96
  # @!attribute onnet_t38_passthrough_enabled
97
97
  # Enable on-net T38 if you prefer the sender and receiver negotiating T38 directly
@@ -190,7 +190,7 @@ module Telnyx
190
190
  #
191
191
  # @param noise_suppression [Symbol, Telnyx::Models::IPConnection::NoiseSuppression] Controls when noise suppression is applied to calls. When set to 'inbound', nois
192
192
  #
193
- # @param noise_suppression_details [Telnyx::Models::IPConnection::NoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
193
+ # @param noise_suppression_details [Telnyx::Models::ConnectionNoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
194
194
  #
195
195
  # @param onnet_t38_passthrough_enabled [Boolean] Enable on-net T38 if you prefer the sender and receiver negotiating T38 directly
196
196
  #
@@ -232,63 +232,6 @@ module Telnyx
232
232
  # @return [Array<Symbol>]
233
233
  end
234
234
 
235
- # @see Telnyx::Models::IPConnection#noise_suppression_details
236
- class NoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
237
- # @!attribute attenuation_limit
238
- # The attenuation limit value for the selected engine. Default values vary by
239
- # engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
240
- # all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
241
- # 'krisp_viva_promodel', 'krisp_viva_ss').
242
- #
243
- # @return [Integer, nil]
244
- optional :attenuation_limit, Integer
245
-
246
- # @!attribute engine
247
- # The noise suppression engine to use. 'denoiser' is the default engine.
248
- # 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
249
- # different performance characteristics. Krisp engines ('krisp_viva_tel',
250
- # 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
251
- # noise suppression capabilities.
252
- #
253
- # @return [Symbol, Telnyx::Models::IPConnection::NoiseSuppressionDetails::Engine, nil]
254
- optional :engine, enum: -> { Telnyx::IPConnection::NoiseSuppressionDetails::Engine }
255
-
256
- # @!method initialize(attenuation_limit: nil, engine: nil)
257
- # Some parameter documentations has been truncated, see
258
- # {Telnyx::Models::IPConnection::NoiseSuppressionDetails} for more details.
259
- #
260
- # Configuration options for noise suppression. These settings are stored
261
- # regardless of the noise_suppression value, but only take effect when
262
- # noise_suppression is not 'disabled'. If you disable noise suppression and later
263
- # re-enable it, the previously configured settings will be used.
264
- #
265
- # @param attenuation_limit [Integer] The attenuation limit value for the selected engine. Default values vary by engi
266
- #
267
- # @param engine [Symbol, Telnyx::Models::IPConnection::NoiseSuppressionDetails::Engine] The noise suppression engine to use. 'denoiser' is the default engine. 'deep_fil
268
-
269
- # The noise suppression engine to use. 'denoiser' is the default engine.
270
- # 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
271
- # different performance characteristics. Krisp engines ('krisp_viva_tel',
272
- # 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
273
- # noise suppression capabilities.
274
- #
275
- # @see Telnyx::Models::IPConnection::NoiseSuppressionDetails#engine
276
- module Engine
277
- extend Telnyx::Internal::Type::Enum
278
-
279
- DENOISER = :denoiser
280
- DEEP_FILTER_NET = :deep_filter_net
281
- DEEP_FILTER_NET_LARGE = :deep_filter_net_large
282
- KRISP_VIVA_TEL = :krisp_viva_tel
283
- KRISP_VIVA_TEL_LITE = :krisp_viva_tel_lite
284
- KRISP_VIVA_PROMODEL = :krisp_viva_promodel
285
- KRISP_VIVA_SS = :krisp_viva_ss
286
-
287
- # @!method self.values
288
- # @return [Array<Symbol>]
289
- end
290
- end
291
-
292
235
  # One of UDP, TLS, or TCP. Applies only to connections with IP authentication or
293
236
  # FQDN authentication.
294
237
  #
@@ -93,8 +93,8 @@ module Telnyx
93
93
  # noise_suppression is not 'disabled'. If you disable noise suppression and later
94
94
  # re-enable it, the previously configured settings will be used.
95
95
  #
96
- # @return [Telnyx::Models::IPConnectionCreateParams::NoiseSuppressionDetails, nil]
97
- optional :noise_suppression_details, -> { Telnyx::IPConnectionCreateParams::NoiseSuppressionDetails }
96
+ # @return [Telnyx::Models::ConnectionNoiseSuppressionDetails, nil]
97
+ optional :noise_suppression_details, -> { Telnyx::ConnectionNoiseSuppressionDetails }
98
98
 
99
99
  # @!attribute onnet_t38_passthrough_enabled
100
100
  # Enable on-net T38 if you prefer the sender and receiver negotiating T38 directly
@@ -181,7 +181,7 @@ module Telnyx
181
181
  #
182
182
  # @param noise_suppression [Symbol, Telnyx::Models::IPConnectionCreateParams::NoiseSuppression] Controls when noise suppression is applied to calls. When set to 'inbound', nois
183
183
  #
184
- # @param noise_suppression_details [Telnyx::Models::IPConnectionCreateParams::NoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
184
+ # @param noise_suppression_details [Telnyx::Models::ConnectionNoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
185
185
  #
186
186
  # @param onnet_t38_passthrough_enabled [Boolean] Enable on-net T38 if you prefer the sender and receiver negotiating T38 directly
187
187
  #
@@ -438,63 +438,6 @@ module Telnyx
438
438
  # @return [Array<Symbol>]
439
439
  end
440
440
 
441
- class NoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
442
- # @!attribute attenuation_limit
443
- # The attenuation limit value for the selected engine. Default values vary by
444
- # engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
445
- # all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
446
- # 'krisp_viva_promodel', 'krisp_viva_ss').
447
- #
448
- # @return [Integer, nil]
449
- optional :attenuation_limit, Integer
450
-
451
- # @!attribute engine
452
- # The noise suppression engine to use. 'denoiser' is the default engine.
453
- # 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
454
- # different performance characteristics. Krisp engines ('krisp_viva_tel',
455
- # 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
456
- # noise suppression capabilities.
457
- #
458
- # @return [Symbol, Telnyx::Models::IPConnectionCreateParams::NoiseSuppressionDetails::Engine, nil]
459
- optional :engine, enum: -> { Telnyx::IPConnectionCreateParams::NoiseSuppressionDetails::Engine }
460
-
461
- # @!method initialize(attenuation_limit: nil, engine: nil)
462
- # Some parameter documentations has been truncated, see
463
- # {Telnyx::Models::IPConnectionCreateParams::NoiseSuppressionDetails} for more
464
- # details.
465
- #
466
- # Configuration options for noise suppression. These settings are stored
467
- # regardless of the noise_suppression value, but only take effect when
468
- # noise_suppression is not 'disabled'. If you disable noise suppression and later
469
- # re-enable it, the previously configured settings will be used.
470
- #
471
- # @param attenuation_limit [Integer] The attenuation limit value for the selected engine. Default values vary by engi
472
- #
473
- # @param engine [Symbol, Telnyx::Models::IPConnectionCreateParams::NoiseSuppressionDetails::Engine] The noise suppression engine to use. 'denoiser' is the default engine. 'deep_fil
474
-
475
- # The noise suppression engine to use. 'denoiser' is the default engine.
476
- # 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
477
- # different performance characteristics. Krisp engines ('krisp_viva_tel',
478
- # 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
479
- # noise suppression capabilities.
480
- #
481
- # @see Telnyx::Models::IPConnectionCreateParams::NoiseSuppressionDetails#engine
482
- module Engine
483
- extend Telnyx::Internal::Type::Enum
484
-
485
- DENOISER = :denoiser
486
- DEEP_FILTER_NET = :deep_filter_net
487
- DEEP_FILTER_NET_LARGE = :deep_filter_net_large
488
- KRISP_VIVA_TEL = :krisp_viva_tel
489
- KRISP_VIVA_TEL_LITE = :krisp_viva_tel_lite
490
- KRISP_VIVA_PROMODEL = :krisp_viva_promodel
491
- KRISP_VIVA_SS = :krisp_viva_ss
492
-
493
- # @!method self.values
494
- # @return [Array<Symbol>]
495
- end
496
- end
497
-
498
441
  # One of UDP, TLS, or TCP. Applies only to connections with IP authentication or
499
442
  # FQDN authentication.
500
443
  module TransportProtocol
@@ -93,8 +93,8 @@ module Telnyx
93
93
  # noise_suppression is not 'disabled'. If you disable noise suppression and later
94
94
  # re-enable it, the previously configured settings will be used.
95
95
  #
96
- # @return [Telnyx::Models::IPConnectionUpdateParams::NoiseSuppressionDetails, nil]
97
- optional :noise_suppression_details, -> { Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails }
96
+ # @return [Telnyx::Models::ConnectionNoiseSuppressionDetails, nil]
97
+ optional :noise_suppression_details, -> { Telnyx::ConnectionNoiseSuppressionDetails }
98
98
 
99
99
  # @!attribute onnet_t38_passthrough_enabled
100
100
  # Enable on-net T38 if you prefer the sender and receiver negotiating T38 directly
@@ -181,7 +181,7 @@ module Telnyx
181
181
  #
182
182
  # @param noise_suppression [Symbol, Telnyx::Models::IPConnectionUpdateParams::NoiseSuppression] Controls when noise suppression is applied to calls. When set to 'inbound', nois
183
183
  #
184
- # @param noise_suppression_details [Telnyx::Models::IPConnectionUpdateParams::NoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
184
+ # @param noise_suppression_details [Telnyx::Models::ConnectionNoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
185
185
  #
186
186
  # @param onnet_t38_passthrough_enabled [Boolean] Enable on-net T38 if you prefer the sender and receiver negotiating T38 directly
187
187
  #
@@ -219,63 +219,6 @@ module Telnyx
219
219
  # @return [Array<Symbol>]
220
220
  end
221
221
 
222
- class NoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
223
- # @!attribute attenuation_limit
224
- # The attenuation limit value for the selected engine. Default values vary by
225
- # engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
226
- # all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
227
- # 'krisp_viva_promodel', 'krisp_viva_ss').
228
- #
229
- # @return [Integer, nil]
230
- optional :attenuation_limit, Integer
231
-
232
- # @!attribute engine
233
- # The noise suppression engine to use. 'denoiser' is the default engine.
234
- # 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
235
- # different performance characteristics. Krisp engines ('krisp_viva_tel',
236
- # 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
237
- # noise suppression capabilities.
238
- #
239
- # @return [Symbol, Telnyx::Models::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine, nil]
240
- optional :engine, enum: -> { Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine }
241
-
242
- # @!method initialize(attenuation_limit: nil, engine: nil)
243
- # Some parameter documentations has been truncated, see
244
- # {Telnyx::Models::IPConnectionUpdateParams::NoiseSuppressionDetails} for more
245
- # details.
246
- #
247
- # Configuration options for noise suppression. These settings are stored
248
- # regardless of the noise_suppression value, but only take effect when
249
- # noise_suppression is not 'disabled'. If you disable noise suppression and later
250
- # re-enable it, the previously configured settings will be used.
251
- #
252
- # @param attenuation_limit [Integer] The attenuation limit value for the selected engine. Default values vary by engi
253
- #
254
- # @param engine [Symbol, Telnyx::Models::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine] The noise suppression engine to use. 'denoiser' is the default engine. 'deep_fil
255
-
256
- # The noise suppression engine to use. 'denoiser' is the default engine.
257
- # 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
258
- # different performance characteristics. Krisp engines ('krisp_viva_tel',
259
- # 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
260
- # noise suppression capabilities.
261
- #
262
- # @see Telnyx::Models::IPConnectionUpdateParams::NoiseSuppressionDetails#engine
263
- module Engine
264
- extend Telnyx::Internal::Type::Enum
265
-
266
- DENOISER = :denoiser
267
- DEEP_FILTER_NET = :deep_filter_net
268
- DEEP_FILTER_NET_LARGE = :deep_filter_net_large
269
- KRISP_VIVA_TEL = :krisp_viva_tel
270
- KRISP_VIVA_TEL_LITE = :krisp_viva_tel_lite
271
- KRISP_VIVA_PROMODEL = :krisp_viva_promodel
272
- KRISP_VIVA_SS = :krisp_viva_ss
273
-
274
- # @!method self.values
275
- # @return [Array<Symbol>]
276
- end
277
- end
278
-
279
222
  # One of UDP, TLS, or TCP. Applies only to connections with IP authentication or
280
223
  # FQDN authentication.
281
224
  module TransportProtocol
@@ -8,15 +8,7 @@ module Telnyx
8
8
  extend Telnyx::Internal::Type::RequestParameters::Converter
9
9
  include Telnyx::Internal::Type::RequestParameters
10
10
 
11
- # @!attribute brand_id
12
- # Filter by Brand ID for easier lookup in portal applications
13
- #
14
- # @return [String, nil]
15
- optional :brand_id, String
16
-
17
- # @!method initialize(brand_id: nil, request_options: {})
18
- # @param brand_id [String] Filter by Brand ID for easier lookup in portal applications
19
- #
11
+ # @!method initialize(request_options: {})
20
12
  # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
21
13
  end
22
14
  end
@@ -83,6 +83,14 @@ module Telnyx
83
83
  # @return [Integer, nil]
84
84
  optional :redaction_level, Integer
85
85
 
86
+ # @!attribute smart_encoding
87
+ # Enables automatic character encoding optimization for SMS messages. When
88
+ # enabled, the system automatically selects the most efficient encoding (GSM-7 or
89
+ # UCS-2) based on message content to maximize character limits and minimize costs.
90
+ #
91
+ # @return [Boolean, nil]
92
+ optional :smart_encoding, Telnyx::Internal::Type::Boolean
93
+
86
94
  # @!attribute url_shortener_settings
87
95
  # The URL shortener feature allows automatic replacement of URLs that were
88
96
  # generated using a public URL shortener service. Some examples include bit.do,
@@ -155,7 +163,7 @@ module Telnyx
155
163
  optional :updated_at, Time
156
164
  end
157
165
 
158
- # @!method initialize(id: nil, alpha_sender: nil, created_at: nil, daily_spend_limit: nil, daily_spend_limit_enabled: nil, enabled: nil, health_webhook_url: nil, mms_fall_back_to_sms: nil, mms_transcoding: nil, mobile_only: nil, name: nil, number_pool_settings: nil, record_type: nil, redaction_enabled: nil, redaction_level: nil, updated_at: nil, url_shortener_settings: nil, v1_secret: nil, webhook_api_version: nil, webhook_failover_url: nil, webhook_url: nil, whitelisted_destinations: nil)
166
+ # @!method initialize(id: nil, alpha_sender: nil, created_at: nil, daily_spend_limit: nil, daily_spend_limit_enabled: nil, enabled: nil, health_webhook_url: nil, mms_fall_back_to_sms: nil, mms_transcoding: nil, mobile_only: nil, name: nil, number_pool_settings: nil, record_type: nil, redaction_enabled: nil, redaction_level: nil, smart_encoding: nil, updated_at: nil, url_shortener_settings: nil, v1_secret: nil, webhook_api_version: nil, webhook_failover_url: nil, webhook_url: nil, whitelisted_destinations: nil)
159
167
  # Some parameter documentations has been truncated, see
160
168
  # {Telnyx::Models::MessagingProfile} for more details.
161
169
  #
@@ -189,6 +197,8 @@ module Telnyx
189
197
  #
190
198
  # @param redaction_level [Integer] Determines how much information is redacted in messages for privacy or complianc
191
199
  #
200
+ # @param smart_encoding [Boolean] Enables automatic character encoding optimization for SMS messages. When enabled
201
+ #
192
202
  # @param updated_at [Time] ISO 8601 formatted date indicating when the resource was updated.
193
203
  #
194
204
  # @param url_shortener_settings [Telnyx::Models::URLShortenerSettings, nil] The URL shortener feature allows automatic replacement of URLs that were generat
@@ -75,6 +75,14 @@ module Telnyx
75
75
  # @return [Telnyx::Models::NumberPoolSettings, nil]
76
76
  optional :number_pool_settings, -> { Telnyx::NumberPoolSettings }, nil?: true
77
77
 
78
+ # @!attribute smart_encoding
79
+ # Enables automatic character encoding optimization for SMS messages. When
80
+ # enabled, the system automatically selects the most efficient encoding (GSM-7 or
81
+ # UCS-2) based on message content to maximize character limits and minimize costs.
82
+ #
83
+ # @return [Boolean, nil]
84
+ optional :smart_encoding, Telnyx::Internal::Type::Boolean
85
+
78
86
  # @!attribute url_shortener_settings
79
87
  # The URL shortener feature allows automatic replacement of URLs that were
80
88
  # generated using a public URL shortener service. Some examples include bit.do,
@@ -107,7 +115,7 @@ module Telnyx
107
115
  # @return [String, nil]
108
116
  optional :webhook_url, String, nil?: true
109
117
 
110
- # @!method initialize(name:, whitelisted_destinations:, alpha_sender: nil, daily_spend_limit: nil, daily_spend_limit_enabled: nil, enabled: nil, mms_fall_back_to_sms: nil, mms_transcoding: nil, mobile_only: nil, number_pool_settings: nil, url_shortener_settings: nil, webhook_api_version: nil, webhook_failover_url: nil, webhook_url: nil, request_options: {})
118
+ # @!method initialize(name:, whitelisted_destinations:, alpha_sender: nil, daily_spend_limit: nil, daily_spend_limit_enabled: nil, enabled: nil, mms_fall_back_to_sms: nil, mms_transcoding: nil, mobile_only: nil, number_pool_settings: nil, smart_encoding: nil, url_shortener_settings: nil, webhook_api_version: nil, webhook_failover_url: nil, webhook_url: nil, request_options: {})
111
119
  # Some parameter documentations has been truncated, see
112
120
  # {Telnyx::Models::MessagingProfileCreateParams} for more details.
113
121
  #
@@ -131,6 +139,8 @@ module Telnyx
131
139
  #
132
140
  # @param number_pool_settings [Telnyx::Models::NumberPoolSettings, nil] Number Pool allows you to send messages from a pool of numbers of different type
133
141
  #
142
+ # @param smart_encoding [Boolean] Enables automatic character encoding optimization for SMS messages. When enabled
143
+ #
134
144
  # @param url_shortener_settings [Telnyx::Models::URLShortenerSettings, nil] The URL shortener feature allows automatic replacement of URLs that were generat
135
145
  #
136
146
  # @param webhook_api_version [Symbol, Telnyx::Models::MessagingProfileCreateParams::WebhookAPIVersion] Determines which webhook format will be used, Telnyx API v1, v2, or a legacy 201
@@ -67,6 +67,14 @@ module Telnyx
67
67
  # @return [Telnyx::Models::NumberPoolSettings, nil]
68
68
  optional :number_pool_settings, -> { Telnyx::NumberPoolSettings }, nil?: true
69
69
 
70
+ # @!attribute smart_encoding
71
+ # Enables automatic character encoding optimization for SMS messages. When
72
+ # enabled, the system automatically selects the most efficient encoding (GSM-7 or
73
+ # UCS-2) based on message content to maximize character limits and minimize costs.
74
+ #
75
+ # @return [Boolean, nil]
76
+ optional :smart_encoding, Telnyx::Internal::Type::Boolean
77
+
70
78
  # @!attribute url_shortener_settings
71
79
  # The URL shortener feature allows automatic replacement of URLs that were
72
80
  # generated using a public URL shortener service. Some examples include bit.do,
@@ -115,7 +123,7 @@ module Telnyx
115
123
  # @return [Array<String>, nil]
116
124
  optional :whitelisted_destinations, Telnyx::Internal::Type::ArrayOf[String]
117
125
 
118
- # @!method initialize(alpha_sender: nil, daily_spend_limit: nil, daily_spend_limit_enabled: nil, enabled: nil, mms_fall_back_to_sms: nil, mms_transcoding: nil, mobile_only: nil, name: nil, number_pool_settings: nil, url_shortener_settings: nil, v1_secret: nil, webhook_api_version: nil, webhook_failover_url: nil, webhook_url: nil, whitelisted_destinations: nil, request_options: {})
126
+ # @!method initialize(alpha_sender: nil, daily_spend_limit: nil, daily_spend_limit_enabled: nil, enabled: nil, mms_fall_back_to_sms: nil, mms_transcoding: nil, mobile_only: nil, name: nil, number_pool_settings: nil, smart_encoding: nil, url_shortener_settings: nil, v1_secret: nil, webhook_api_version: nil, webhook_failover_url: nil, webhook_url: nil, whitelisted_destinations: nil, request_options: {})
119
127
  # Some parameter documentations has been truncated, see
120
128
  # {Telnyx::Models::MessagingProfileUpdateParams} for more details.
121
129
  #
@@ -137,6 +145,8 @@ module Telnyx
137
145
  #
138
146
  # @param number_pool_settings [Telnyx::Models::NumberPoolSettings, nil] Number Pool allows you to send messages from a pool of numbers of different type
139
147
  #
148
+ # @param smart_encoding [Boolean] Enables automatic character encoding optimization for SMS messages. When enabled
149
+ #
140
150
  # @param url_shortener_settings [Telnyx::Models::URLShortenerSettings, nil] The URL shortener feature allows automatic replacement of URLs that were generat
141
151
  #
142
152
  # @param v1_secret [String] Secret used to authenticate with v1 endpoints.
@@ -167,6 +167,17 @@ module Telnyx
167
167
  # @return [String, nil]
168
168
  optional :business_registration_type, String, api_name: :businessRegistrationType, nil?: true
169
169
 
170
+ # @!attribute campaign_verify_authorization_token
171
+ # Campaign Verify Authorization Token required for Political use case submissions
172
+ # starting February 17, 2026. This token is validated by Zipwhip and must be
173
+ # provided for all Political use case verifications after the deadline.
174
+ #
175
+ # @return [String, nil]
176
+ optional :campaign_verify_authorization_token,
177
+ String,
178
+ api_name: :campaignVerifyAuthorizationToken,
179
+ nil?: true
180
+
170
181
  # @!attribute doing_business_as
171
182
  # Doing Business As (DBA) name if different from legal name
172
183
  #
@@ -220,7 +231,7 @@ module Telnyx
220
231
  # @return [String, nil]
221
232
  optional :webhook_url, String, api_name: :webhookUrl
222
233
 
223
- # @!method initialize(additional_information:, business_addr1:, business_city:, business_contact_email:, business_contact_first_name:, business_contact_last_name:, business_contact_phone:, business_name:, business_state:, business_zip:, corporate_website:, isv_reseller:, message_volume:, opt_in_workflow:, opt_in_workflow_image_urls:, phone_numbers:, production_message_content:, use_case:, use_case_summary:, age_gated_content: nil, business_addr2: nil, business_registration_country: nil, business_registration_number: nil, business_registration_type: nil, doing_business_as: nil, entity_type: nil, help_message_response: nil, opt_in_confirmation_response: nil, opt_in_keywords: nil, privacy_policy_url: nil, terms_and_condition_url: nil, webhook_url: nil)
234
+ # @!method initialize(additional_information:, business_addr1:, business_city:, business_contact_email:, business_contact_first_name:, business_contact_last_name:, business_contact_phone:, business_name:, business_state:, business_zip:, corporate_website:, isv_reseller:, message_volume:, opt_in_workflow:, opt_in_workflow_image_urls:, phone_numbers:, production_message_content:, use_case:, use_case_summary:, age_gated_content: nil, business_addr2: nil, business_registration_country: nil, business_registration_number: nil, business_registration_type: nil, campaign_verify_authorization_token: nil, doing_business_as: nil, entity_type: nil, help_message_response: nil, opt_in_confirmation_response: nil, opt_in_keywords: nil, privacy_policy_url: nil, terms_and_condition_url: nil, webhook_url: nil)
224
235
  # Some parameter documentations has been truncated, see
225
236
  # {Telnyx::Models::MessagingTollfree::Verification::TfVerificationRequest} for
226
237
  # more details.
@@ -275,6 +286,8 @@ module Telnyx
275
286
  #
276
287
  # @param business_registration_type [String, nil] Type of business registration being provided. Required from January 2026.
277
288
  #
289
+ # @param campaign_verify_authorization_token [String, nil] Campaign Verify Authorization Token required for Political use case submissions
290
+ #
278
291
  # @param doing_business_as [String, nil] Doing Business As (DBA) name if different from legal name
279
292
  #
280
293
  # @param entity_type [Symbol, Telnyx::Models::MessagingTollfree::Verification::TollFreeVerificationEntityType, nil] Business entity classification
@@ -148,6 +148,16 @@ module Telnyx
148
148
  # @return [String, nil]
149
149
  optional :business_registration_type, String, api_name: :businessRegistrationType
150
150
 
151
+ # @!attribute campaign_verify_authorization_token
152
+ # Campaign Verify Authorization Token required for Political use case submissions
153
+ # starting February 17, 2026
154
+ #
155
+ # @return [String, nil]
156
+ optional :campaign_verify_authorization_token,
157
+ String,
158
+ api_name: :campaignVerifyAuthorizationToken,
159
+ nil?: true
160
+
151
161
  # @!attribute doing_business_as
152
162
  #
153
163
  # @return [String, nil]
@@ -199,7 +209,11 @@ module Telnyx
199
209
  # @return [String, nil]
200
210
  optional :webhook_url, String, api_name: :webhookUrl
201
211
 
202
- # @!method initialize(id:, additional_information:, business_addr1:, business_city:, business_contact_email:, business_contact_first_name:, business_contact_last_name:, business_contact_phone:, business_name:, business_state:, business_zip:, corporate_website:, isv_reseller:, message_volume:, opt_in_workflow:, opt_in_workflow_image_urls:, phone_numbers:, production_message_content:, use_case:, use_case_summary:, verification_request_id:, age_gated_content: nil, business_addr2: nil, business_registration_country: nil, business_registration_number: nil, business_registration_type: nil, doing_business_as: nil, entity_type: nil, help_message_response: nil, opt_in_confirmation_response: nil, opt_in_keywords: nil, privacy_policy_url: nil, terms_and_condition_url: nil, verification_status: nil, webhook_url: nil)
212
+ # @!method initialize(id:, additional_information:, business_addr1:, business_city:, business_contact_email:, business_contact_first_name:, business_contact_last_name:, business_contact_phone:, business_name:, business_state:, business_zip:, corporate_website:, isv_reseller:, message_volume:, opt_in_workflow:, opt_in_workflow_image_urls:, phone_numbers:, production_message_content:, use_case:, use_case_summary:, verification_request_id:, age_gated_content: nil, business_addr2: nil, business_registration_country: nil, business_registration_number: nil, business_registration_type: nil, campaign_verify_authorization_token: nil, doing_business_as: nil, entity_type: nil, help_message_response: nil, opt_in_confirmation_response: nil, opt_in_keywords: nil, privacy_policy_url: nil, terms_and_condition_url: nil, verification_status: nil, webhook_url: nil)
213
+ # Some parameter documentations has been truncated, see
214
+ # {Telnyx::Models::MessagingTollfree::Verification::VerificationRequestEgress} for
215
+ # more details.
216
+ #
203
217
  # A verification request as it comes out of the database
204
218
  #
205
219
  # @param id [String]
@@ -254,6 +268,8 @@ module Telnyx
254
268
  #
255
269
  # @param business_registration_type [String]
256
270
  #
271
+ # @param campaign_verify_authorization_token [String, nil] Campaign Verify Authorization Token required for Political use case submissions
272
+ #
257
273
  # @param doing_business_as [String]
258
274
  #
259
275
  # @param entity_type [Symbol, Telnyx::Models::MessagingTollfree::Verification::TollFreeVerificationEntityType] Business entity classification
@@ -151,6 +151,16 @@ module Telnyx
151
151
  # @return [String, nil]
152
152
  optional :business_registration_type, String, api_name: :businessRegistrationType
153
153
 
154
+ # @!attribute campaign_verify_authorization_token
155
+ # Campaign Verify Authorization Token required for Political use case submissions
156
+ # starting February 17, 2026
157
+ #
158
+ # @return [String, nil]
159
+ optional :campaign_verify_authorization_token,
160
+ String,
161
+ api_name: :campaignVerifyAuthorizationToken,
162
+ nil?: true
163
+
154
164
  # @!attribute created_at
155
165
  #
156
166
  # @return [Time, nil]
@@ -209,7 +219,11 @@ module Telnyx
209
219
  # @return [String, nil]
210
220
  optional :webhook_url, String, api_name: :webhookUrl
211
221
 
212
- # @!method initialize(id:, additional_information:, business_addr1:, business_city:, business_contact_email:, business_contact_first_name:, business_contact_last_name:, business_contact_phone:, business_name:, business_state:, business_zip:, corporate_website:, isv_reseller:, message_volume:, opt_in_workflow:, opt_in_workflow_image_urls:, phone_numbers:, production_message_content:, use_case:, use_case_summary:, verification_status:, age_gated_content: nil, business_addr2: nil, business_registration_country: nil, business_registration_number: nil, business_registration_type: nil, created_at: nil, doing_business_as: nil, entity_type: nil, help_message_response: nil, opt_in_confirmation_response: nil, opt_in_keywords: nil, privacy_policy_url: nil, reason: nil, terms_and_condition_url: nil, updated_at: nil, webhook_url: nil)
222
+ # @!method initialize(id:, additional_information:, business_addr1:, business_city:, business_contact_email:, business_contact_first_name:, business_contact_last_name:, business_contact_phone:, business_name:, business_state:, business_zip:, corporate_website:, isv_reseller:, message_volume:, opt_in_workflow:, opt_in_workflow_image_urls:, phone_numbers:, production_message_content:, use_case:, use_case_summary:, verification_status:, age_gated_content: nil, business_addr2: nil, business_registration_country: nil, business_registration_number: nil, business_registration_type: nil, campaign_verify_authorization_token: nil, created_at: nil, doing_business_as: nil, entity_type: nil, help_message_response: nil, opt_in_confirmation_response: nil, opt_in_keywords: nil, privacy_policy_url: nil, reason: nil, terms_and_condition_url: nil, updated_at: nil, webhook_url: nil)
223
+ # Some parameter documentations has been truncated, see
224
+ # {Telnyx::Models::MessagingTollfree::Verification::VerificationRequestStatus} for
225
+ # more details.
226
+ #
213
227
  # A verification request and its status, suitable for returning to users
214
228
  #
215
229
  # @param id [String]
@@ -264,6 +278,8 @@ module Telnyx
264
278
  #
265
279
  # @param business_registration_type [String]
266
280
  #
281
+ # @param campaign_verify_authorization_token [String, nil] Campaign Verify Authorization Token required for Political use case submissions
282
+ #
267
283
  # @param created_at [Time]
268
284
  #
269
285
  # @param doing_business_as [String]
@@ -0,0 +1,32 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Telnyx
4
+ module Models
5
+ module Organizations
6
+ # @see Telnyx::Resources::Organizations::Users#get_groups_report
7
+ class UserGetGroupsReportParams < Telnyx::Internal::Type::BaseModel
8
+ extend Telnyx::Internal::Type::RequestParameters::Converter
9
+ include Telnyx::Internal::Type::RequestParameters
10
+
11
+ # @!attribute accept
12
+ #
13
+ # @return [Symbol, Telnyx::Models::Organizations::UserGetGroupsReportParams::Accept, nil]
14
+ optional :accept, enum: -> { Telnyx::Organizations::UserGetGroupsReportParams::Accept }
15
+
16
+ # @!method initialize(accept: nil, request_options: {})
17
+ # @param accept [Symbol, Telnyx::Models::Organizations::UserGetGroupsReportParams::Accept]
18
+ # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
19
+
20
+ module Accept
21
+ extend Telnyx::Internal::Type::Enum
22
+
23
+ APPLICATION_JSON = :"application/json"
24
+ TEXT_CSV = :"text/csv"
25
+
26
+ # @!method self.values
27
+ # @return [Array<Symbol>]
28
+ end
29
+ end
30
+ end
31
+ end
32
+ end