telnyx 4.5.0__py3-none-any.whl

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 (2118) hide show
  1. telnyx/__init__.py +94 -0
  2. telnyx/_base_client.py +2124 -0
  3. telnyx/_client.py +6465 -0
  4. telnyx/_compat.py +219 -0
  5. telnyx/_constants.py +14 -0
  6. telnyx/_exceptions.py +112 -0
  7. telnyx/_files.py +123 -0
  8. telnyx/_models.py +872 -0
  9. telnyx/_oauth2.py +118 -0
  10. telnyx/_qs.py +150 -0
  11. telnyx/_resource.py +43 -0
  12. telnyx/_response.py +830 -0
  13. telnyx/_streaming.py +333 -0
  14. telnyx/_types.py +270 -0
  15. telnyx/_utils/__init__.py +64 -0
  16. telnyx/_utils/_compat.py +45 -0
  17. telnyx/_utils/_datetime_parse.py +136 -0
  18. telnyx/_utils/_logs.py +25 -0
  19. telnyx/_utils/_proxy.py +65 -0
  20. telnyx/_utils/_reflection.py +42 -0
  21. telnyx/_utils/_resources_proxy.py +24 -0
  22. telnyx/_utils/_streams.py +12 -0
  23. telnyx/_utils/_sync.py +58 -0
  24. telnyx/_utils/_transform.py +457 -0
  25. telnyx/_utils/_typing.py +156 -0
  26. telnyx/_utils/_utils.py +421 -0
  27. telnyx/_version.py +4 -0
  28. telnyx/lib/.keep +4 -0
  29. telnyx/pagination.py +478 -0
  30. telnyx/py.typed +0 -0
  31. telnyx/resources/__init__.py +2095 -0
  32. telnyx/resources/access_ip_address.py +452 -0
  33. telnyx/resources/access_ip_ranges.py +370 -0
  34. telnyx/resources/actions/__init__.py +47 -0
  35. telnyx/resources/actions/actions.py +134 -0
  36. telnyx/resources/actions/purchase.py +231 -0
  37. telnyx/resources/actions/register.py +207 -0
  38. telnyx/resources/addresses/__init__.py +33 -0
  39. telnyx/resources/addresses/actions.py +314 -0
  40. telnyx/resources/addresses/addresses.py +659 -0
  41. telnyx/resources/advanced_orders.py +463 -0
  42. telnyx/resources/ai/__init__.py +145 -0
  43. telnyx/resources/ai/ai.py +564 -0
  44. telnyx/resources/ai/assistants/__init__.py +89 -0
  45. telnyx/resources/ai/assistants/assistants.py +1469 -0
  46. telnyx/resources/ai/assistants/canary_deploys.py +448 -0
  47. telnyx/resources/ai/assistants/scheduled_events.py +541 -0
  48. telnyx/resources/ai/assistants/tests/__init__.py +47 -0
  49. telnyx/resources/ai/assistants/tests/runs.py +380 -0
  50. telnyx/resources/ai/assistants/tests/test_suites/__init__.py +33 -0
  51. telnyx/resources/ai/assistants/tests/test_suites/runs.py +305 -0
  52. telnyx/resources/ai/assistants/tests/test_suites/test_suites.py +173 -0
  53. telnyx/resources/ai/assistants/tests/tests.py +761 -0
  54. telnyx/resources/ai/assistants/tools.py +199 -0
  55. telnyx/resources/ai/assistants/versions.py +678 -0
  56. telnyx/resources/ai/audio.py +248 -0
  57. telnyx/resources/ai/chat.py +404 -0
  58. telnyx/resources/ai/clusters.py +618 -0
  59. telnyx/resources/ai/conversations/__init__.py +61 -0
  60. telnyx/resources/ai/conversations/conversations.py +949 -0
  61. telnyx/resources/ai/conversations/insight_groups/__init__.py +33 -0
  62. telnyx/resources/ai/conversations/insight_groups/insight_groups.py +587 -0
  63. telnyx/resources/ai/conversations/insight_groups/insights.py +272 -0
  64. telnyx/resources/ai/conversations/insights.py +565 -0
  65. telnyx/resources/ai/conversations/messages.py +165 -0
  66. telnyx/resources/ai/embeddings/__init__.py +33 -0
  67. telnyx/resources/ai/embeddings/buckets.py +298 -0
  68. telnyx/resources/ai/embeddings/embeddings.py +709 -0
  69. telnyx/resources/ai/fine_tuning/__init__.py +33 -0
  70. telnyx/resources/ai/fine_tuning/fine_tuning.py +102 -0
  71. telnyx/resources/ai/fine_tuning/jobs.py +408 -0
  72. telnyx/resources/ai/integrations/__init__.py +33 -0
  73. telnyx/resources/ai/integrations/connections.py +294 -0
  74. telnyx/resources/ai/integrations/integrations.py +246 -0
  75. telnyx/resources/ai/mcp_servers.py +576 -0
  76. telnyx/resources/audit_events.py +212 -0
  77. telnyx/resources/authentication_providers.py +667 -0
  78. telnyx/resources/available_phone_number_blocks.py +181 -0
  79. telnyx/resources/available_phone_numbers.py +187 -0
  80. telnyx/resources/balance.py +135 -0
  81. telnyx/resources/billing_groups.py +512 -0
  82. telnyx/resources/bulk_sim_card_actions.py +291 -0
  83. telnyx/resources/bundle_pricing/__init__.py +47 -0
  84. telnyx/resources/bundle_pricing/billing_bundles.py +297 -0
  85. telnyx/resources/bundle_pricing/bundle_pricing.py +134 -0
  86. telnyx/resources/bundle_pricing/user_bundles.py +687 -0
  87. telnyx/resources/call_control_applications.py +873 -0
  88. telnyx/resources/call_events.py +214 -0
  89. telnyx/resources/calls/__init__.py +33 -0
  90. telnyx/resources/calls/actions.py +7093 -0
  91. telnyx/resources/calls/calls.py +888 -0
  92. telnyx/resources/channel_zones.py +293 -0
  93. telnyx/resources/charges_breakdown.py +211 -0
  94. telnyx/resources/charges_summary.py +202 -0
  95. telnyx/resources/comments.py +432 -0
  96. telnyx/resources/conferences/__init__.py +33 -0
  97. telnyx/resources/conferences/actions.py +2184 -0
  98. telnyx/resources/conferences/conferences.py +716 -0
  99. telnyx/resources/connections.py +432 -0
  100. telnyx/resources/country_coverage.py +214 -0
  101. telnyx/resources/credential_connections/__init__.py +33 -0
  102. telnyx/resources/credential_connections/actions.py +169 -0
  103. telnyx/resources/credential_connections/credential_connections.py +1068 -0
  104. telnyx/resources/custom_storage_credentials.py +441 -0
  105. telnyx/resources/customer_service_records.py +487 -0
  106. telnyx/resources/detail_records.py +212 -0
  107. telnyx/resources/dialogflow_connections.py +514 -0
  108. telnyx/resources/document_links.py +198 -0
  109. telnyx/resources/documents.py +811 -0
  110. telnyx/resources/dynamic_emergency_addresses.py +483 -0
  111. telnyx/resources/dynamic_emergency_endpoints.py +453 -0
  112. telnyx/resources/external_connections/__init__.py +89 -0
  113. telnyx/resources/external_connections/civic_addresses.py +268 -0
  114. telnyx/resources/external_connections/external_connections.py +929 -0
  115. telnyx/resources/external_connections/log_messages.py +356 -0
  116. telnyx/resources/external_connections/phone_numbers.py +388 -0
  117. telnyx/resources/external_connections/releases.py +293 -0
  118. telnyx/resources/external_connections/uploads.py +670 -0
  119. telnyx/resources/fax_applications.py +745 -0
  120. telnyx/resources/faxes/__init__.py +33 -0
  121. telnyx/resources/faxes/actions.py +244 -0
  122. telnyx/resources/faxes/faxes.py +659 -0
  123. telnyx/resources/fqdn_connections.py +994 -0
  124. telnyx/resources/fqdns.py +606 -0
  125. telnyx/resources/global_ip_allowed_ports.py +135 -0
  126. telnyx/resources/global_ip_assignment_health.py +183 -0
  127. telnyx/resources/global_ip_assignments.py +486 -0
  128. telnyx/resources/global_ip_assignments_usage.py +183 -0
  129. telnyx/resources/global_ip_health_check_types.py +135 -0
  130. telnyx/resources/global_ip_health_checks.py +453 -0
  131. telnyx/resources/global_ip_latency.py +181 -0
  132. telnyx/resources/global_ip_protocols.py +135 -0
  133. telnyx/resources/global_ip_usage.py +179 -0
  134. telnyx/resources/global_ips.py +453 -0
  135. telnyx/resources/inbound_channels.py +240 -0
  136. telnyx/resources/inexplicit_number_orders.py +408 -0
  137. telnyx/resources/integration_secrets.py +401 -0
  138. telnyx/resources/inventory_coverage.py +185 -0
  139. telnyx/resources/invoices.py +289 -0
  140. telnyx/resources/ip_connections.py +972 -0
  141. telnyx/resources/ips.py +576 -0
  142. telnyx/resources/ledger_billing_group_reports.py +264 -0
  143. telnyx/resources/legacy/__init__.py +33 -0
  144. telnyx/resources/legacy/legacy.py +102 -0
  145. telnyx/resources/legacy/reporting/__init__.py +47 -0
  146. telnyx/resources/legacy/reporting/batch_detail_records/__init__.py +61 -0
  147. telnyx/resources/legacy/reporting/batch_detail_records/batch_detail_records.py +166 -0
  148. telnyx/resources/legacy/reporting/batch_detail_records/messaging.py +482 -0
  149. telnyx/resources/legacy/reporting/batch_detail_records/speech_to_text.py +399 -0
  150. telnyx/resources/legacy/reporting/batch_detail_records/voice.py +539 -0
  151. telnyx/resources/legacy/reporting/reporting.py +134 -0
  152. telnyx/resources/legacy/reporting/usage_reports/__init__.py +61 -0
  153. telnyx/resources/legacy/reporting/usage_reports/messaging.py +474 -0
  154. telnyx/resources/legacy/reporting/usage_reports/number_lookup.py +415 -0
  155. telnyx/resources/legacy/reporting/usage_reports/usage_reports.py +288 -0
  156. telnyx/resources/legacy/reporting/usage_reports/voice.py +496 -0
  157. telnyx/resources/list.py +214 -0
  158. telnyx/resources/managed_accounts/__init__.py +33 -0
  159. telnyx/resources/managed_accounts/actions.py +266 -0
  160. telnyx/resources/managed_accounts/managed_accounts.py +774 -0
  161. telnyx/resources/media.py +678 -0
  162. telnyx/resources/messages/__init__.py +33 -0
  163. telnyx/resources/messages/messages.py +1545 -0
  164. telnyx/resources/messages/rcs.py +337 -0
  165. telnyx/resources/messaging/__init__.py +33 -0
  166. telnyx/resources/messaging/messaging.py +102 -0
  167. telnyx/resources/messaging/rcs/__init__.py +33 -0
  168. telnyx/resources/messaging/rcs/agents.py +379 -0
  169. telnyx/resources/messaging/rcs/rcs.py +387 -0
  170. telnyx/resources/messaging_10dlc/__init__.py +103 -0
  171. telnyx/resources/messaging_10dlc/brand/__init__.py +33 -0
  172. telnyx/resources/messaging_10dlc/brand/brand.py +1691 -0
  173. telnyx/resources/messaging_10dlc/brand/external_vetting.py +391 -0
  174. telnyx/resources/messaging_10dlc/campaign/__init__.py +47 -0
  175. telnyx/resources/messaging_10dlc/campaign/campaign.py +1069 -0
  176. telnyx/resources/messaging_10dlc/campaign/osr.py +163 -0
  177. telnyx/resources/messaging_10dlc/campaign/usecase.py +169 -0
  178. telnyx/resources/messaging_10dlc/campaign_builder/__init__.py +33 -0
  179. telnyx/resources/messaging_10dlc/campaign_builder/brand.py +171 -0
  180. telnyx/resources/messaging_10dlc/campaign_builder/campaign_builder.py +513 -0
  181. telnyx/resources/messaging_10dlc/messaging_10dlc.py +410 -0
  182. telnyx/resources/messaging_10dlc/partner_campaigns.py +638 -0
  183. telnyx/resources/messaging_10dlc/phone_number_assignment_by_profile.py +514 -0
  184. telnyx/resources/messaging_10dlc/phone_number_campaigns.py +582 -0
  185. telnyx/resources/messaging_hosted_number_orders/__init__.py +33 -0
  186. telnyx/resources/messaging_hosted_number_orders/actions.py +207 -0
  187. telnyx/resources/messaging_hosted_number_orders/messaging_hosted_number_orders.py +773 -0
  188. telnyx/resources/messaging_hosted_numbers.py +163 -0
  189. telnyx/resources/messaging_numbers_bulk_updates.py +276 -0
  190. telnyx/resources/messaging_optouts.py +218 -0
  191. telnyx/resources/messaging_profiles/__init__.py +33 -0
  192. telnyx/resources/messaging_profiles/autoresp_configs.py +598 -0
  193. telnyx/resources/messaging_profiles/messaging_profiles.py +1121 -0
  194. telnyx/resources/messaging_tollfree/__init__.py +33 -0
  195. telnyx/resources/messaging_tollfree/messaging_tollfree.py +102 -0
  196. telnyx/resources/messaging_tollfree/verification/__init__.py +33 -0
  197. telnyx/resources/messaging_tollfree/verification/requests.py +1154 -0
  198. telnyx/resources/messaging_tollfree/verification/verification.py +102 -0
  199. telnyx/resources/messaging_url_domains.py +186 -0
  200. telnyx/resources/mobile_network_operators.py +210 -0
  201. telnyx/resources/mobile_phone_numbers/__init__.py +33 -0
  202. telnyx/resources/mobile_phone_numbers/messaging.py +265 -0
  203. telnyx/resources/mobile_phone_numbers/mobile_phone_numbers.py +441 -0
  204. telnyx/resources/mobile_push_credentials.py +437 -0
  205. telnyx/resources/mobile_voice_connections.py +621 -0
  206. telnyx/resources/network_coverage.py +212 -0
  207. telnyx/resources/networks/__init__.py +33 -0
  208. telnyx/resources/networks/default_gateway.py +335 -0
  209. telnyx/resources/networks/networks.py +667 -0
  210. telnyx/resources/notification_channels.py +590 -0
  211. telnyx/resources/notification_event_conditions.py +204 -0
  212. telnyx/resources/notification_events.py +186 -0
  213. telnyx/resources/notification_profiles.py +524 -0
  214. telnyx/resources/notification_settings.py +473 -0
  215. telnyx/resources/number_block_orders.py +402 -0
  216. telnyx/resources/number_lookup.py +183 -0
  217. telnyx/resources/number_order_phone_numbers.py +461 -0
  218. telnyx/resources/number_orders.py +500 -0
  219. telnyx/resources/number_reservations/__init__.py +33 -0
  220. telnyx/resources/number_reservations/actions.py +167 -0
  221. telnyx/resources/number_reservations/number_reservations.py +411 -0
  222. telnyx/resources/numbers_features.py +167 -0
  223. telnyx/resources/oauth.py +855 -0
  224. telnyx/resources/oauth_clients.py +714 -0
  225. telnyx/resources/oauth_grants.py +352 -0
  226. telnyx/resources/operator_connect/__init__.py +33 -0
  227. telnyx/resources/operator_connect/actions.py +147 -0
  228. telnyx/resources/operator_connect/operator_connect.py +102 -0
  229. telnyx/resources/organizations/__init__.py +33 -0
  230. telnyx/resources/organizations/organizations.py +102 -0
  231. telnyx/resources/organizations/users/__init__.py +33 -0
  232. telnyx/resources/organizations/users/actions.py +163 -0
  233. telnyx/resources/organizations/users/users.py +444 -0
  234. telnyx/resources/ota_updates.py +277 -0
  235. telnyx/resources/outbound_voice_profiles.py +842 -0
  236. telnyx/resources/payment/__init__.py +33 -0
  237. telnyx/resources/payment/auto_recharge_prefs.py +260 -0
  238. telnyx/resources/payment/payment.py +102 -0
  239. telnyx/resources/phone_number_blocks/__init__.py +33 -0
  240. telnyx/resources/phone_number_blocks/jobs.py +378 -0
  241. telnyx/resources/phone_number_blocks/phone_number_blocks.py +102 -0
  242. telnyx/resources/phone_numbers/__init__.py +103 -0
  243. telnyx/resources/phone_numbers/actions.py +383 -0
  244. telnyx/resources/phone_numbers/csv_downloads.py +384 -0
  245. telnyx/resources/phone_numbers/jobs.py +699 -0
  246. telnyx/resources/phone_numbers/messaging.py +390 -0
  247. telnyx/resources/phone_numbers/phone_numbers.py +872 -0
  248. telnyx/resources/phone_numbers/voice.py +469 -0
  249. telnyx/resources/phone_numbers/voicemail.py +375 -0
  250. telnyx/resources/phone_numbers_regulatory_requirements.py +185 -0
  251. telnyx/resources/portability_checks.py +171 -0
  252. telnyx/resources/porting/__init__.py +61 -0
  253. telnyx/resources/porting/events.py +357 -0
  254. telnyx/resources/porting/loa_configurations.py +824 -0
  255. telnyx/resources/porting/porting.py +231 -0
  256. telnyx/resources/porting/reports.py +379 -0
  257. telnyx/resources/porting_orders/__init__.py +159 -0
  258. telnyx/resources/porting_orders/action_requirements.py +309 -0
  259. telnyx/resources/porting_orders/actions.py +438 -0
  260. telnyx/resources/porting_orders/activation_jobs.py +377 -0
  261. telnyx/resources/porting_orders/additional_documents.py +393 -0
  262. telnyx/resources/porting_orders/associated_phone_numbers.py +412 -0
  263. telnyx/resources/porting_orders/comments.py +275 -0
  264. telnyx/resources/porting_orders/phone_number_blocks.py +406 -0
  265. telnyx/resources/porting_orders/phone_number_configurations.py +297 -0
  266. telnyx/resources/porting_orders/phone_number_extensions.py +414 -0
  267. telnyx/resources/porting_orders/porting_orders.py +1459 -0
  268. telnyx/resources/porting_orders/verification_codes.py +400 -0
  269. telnyx/resources/porting_phone_numbers.py +198 -0
  270. telnyx/resources/portouts/__init__.py +75 -0
  271. telnyx/resources/portouts/comments.py +252 -0
  272. telnyx/resources/portouts/events.py +359 -0
  273. telnyx/resources/portouts/portouts.py +625 -0
  274. telnyx/resources/portouts/reports.py +379 -0
  275. telnyx/resources/portouts/supporting_documents.py +258 -0
  276. telnyx/resources/private_wireless_gateways.py +505 -0
  277. telnyx/resources/public_internet_gateways.py +461 -0
  278. telnyx/resources/queues/__init__.py +33 -0
  279. telnyx/resources/queues/calls.py +463 -0
  280. telnyx/resources/queues/queues.py +195 -0
  281. telnyx/resources/recording_transcriptions.py +301 -0
  282. telnyx/resources/recordings/__init__.py +33 -0
  283. telnyx/resources/recordings/actions.py +168 -0
  284. telnyx/resources/recordings/recordings.py +392 -0
  285. telnyx/resources/regions.py +135 -0
  286. telnyx/resources/regulatory_requirements.py +183 -0
  287. telnyx/resources/reports/__init__.py +47 -0
  288. telnyx/resources/reports/cdr_usage_reports.py +205 -0
  289. telnyx/resources/reports/mdr_usage_reports.py +570 -0
  290. telnyx/resources/reports/reports.py +505 -0
  291. telnyx/resources/requirement_groups.py +625 -0
  292. telnyx/resources/requirement_types.py +277 -0
  293. telnyx/resources/requirements.py +316 -0
  294. telnyx/resources/room_compositions.py +517 -0
  295. telnyx/resources/room_participants.py +289 -0
  296. telnyx/resources/room_recordings.py +482 -0
  297. telnyx/resources/rooms/__init__.py +47 -0
  298. telnyx/resources/rooms/actions.py +310 -0
  299. telnyx/resources/rooms/rooms.py +735 -0
  300. telnyx/resources/rooms/sessions/__init__.py +33 -0
  301. telnyx/resources/rooms/sessions/actions.py +489 -0
  302. telnyx/resources/rooms/sessions/sessions.py +605 -0
  303. telnyx/resources/seti.py +179 -0
  304. telnyx/resources/short_codes.py +384 -0
  305. telnyx/resources/sim_card_data_usage_notifications.py +576 -0
  306. telnyx/resources/sim_card_groups/__init__.py +33 -0
  307. telnyx/resources/sim_card_groups/actions.py +693 -0
  308. telnyx/resources/sim_card_groups/sim_card_groups.py +635 -0
  309. telnyx/resources/sim_card_order_preview.py +187 -0
  310. telnyx/resources/sim_card_orders.py +382 -0
  311. telnyx/resources/sim_cards/__init__.py +33 -0
  312. telnyx/resources/sim_cards/actions.py +933 -0
  313. telnyx/resources/sim_cards/sim_cards.py +978 -0
  314. telnyx/resources/siprec_connectors.py +481 -0
  315. telnyx/resources/speech_to_text.py +248 -0
  316. telnyx/resources/storage/__init__.py +61 -0
  317. telnyx/resources/storage/buckets/__init__.py +47 -0
  318. telnyx/resources/storage/buckets/buckets.py +255 -0
  319. telnyx/resources/storage/buckets/ssl_certificate.py +365 -0
  320. telnyx/resources/storage/buckets/usage.py +266 -0
  321. telnyx/resources/storage/migration_sources.py +412 -0
  322. telnyx/resources/storage/migrations/__init__.py +33 -0
  323. telnyx/resources/storage/migrations/actions.py +163 -0
  324. telnyx/resources/storage/migrations/migrations.py +371 -0
  325. telnyx/resources/storage/storage.py +231 -0
  326. telnyx/resources/sub_number_orders.py +561 -0
  327. telnyx/resources/sub_number_orders_report.py +388 -0
  328. telnyx/resources/telephony_credentials.py +666 -0
  329. telnyx/resources/texml/__init__.py +47 -0
  330. telnyx/resources/texml/accounts/__init__.py +89 -0
  331. telnyx/resources/texml/accounts/accounts.py +485 -0
  332. telnyx/resources/texml/accounts/calls/__init__.py +75 -0
  333. telnyx/resources/texml/accounts/calls/calls.py +1455 -0
  334. telnyx/resources/texml/accounts/calls/recordings.py +187 -0
  335. telnyx/resources/texml/accounts/calls/recordings_json.py +334 -0
  336. telnyx/resources/texml/accounts/calls/siprec.py +191 -0
  337. telnyx/resources/texml/accounts/calls/streams.py +189 -0
  338. telnyx/resources/texml/accounts/conferences/__init__.py +33 -0
  339. telnyx/resources/texml/accounts/conferences/conferences.py +659 -0
  340. telnyx/resources/texml/accounts/conferences/participants.py +1117 -0
  341. telnyx/resources/texml/accounts/queues.py +599 -0
  342. telnyx/resources/texml/accounts/recordings/__init__.py +33 -0
  343. telnyx/resources/texml/accounts/recordings/json.py +255 -0
  344. telnyx/resources/texml/accounts/recordings/recordings.py +102 -0
  345. telnyx/resources/texml/accounts/transcriptions/__init__.py +33 -0
  346. telnyx/resources/texml/accounts/transcriptions/json.py +265 -0
  347. telnyx/resources/texml/accounts/transcriptions/transcriptions.py +102 -0
  348. telnyx/resources/texml/calls.py +632 -0
  349. telnyx/resources/texml/texml.py +259 -0
  350. telnyx/resources/texml_applications.py +824 -0
  351. telnyx/resources/text_to_speech.py +327 -0
  352. telnyx/resources/usage_reports.py +389 -0
  353. telnyx/resources/user_addresses.py +540 -0
  354. telnyx/resources/user_tags.py +177 -0
  355. telnyx/resources/verifications/__init__.py +47 -0
  356. telnyx/resources/verifications/actions.py +195 -0
  357. telnyx/resources/verifications/by_phone_number/__init__.py +33 -0
  358. telnyx/resources/verifications/by_phone_number/actions.py +195 -0
  359. telnyx/resources/verifications/by_phone_number/by_phone_number.py +199 -0
  360. telnyx/resources/verifications/verifications.py +580 -0
  361. telnyx/resources/verified_numbers/__init__.py +33 -0
  362. telnyx/resources/verified_numbers/actions.py +179 -0
  363. telnyx/resources/verified_numbers/verified_numbers.py +500 -0
  364. telnyx/resources/verify_profiles.py +809 -0
  365. telnyx/resources/virtual_cross_connects.py +774 -0
  366. telnyx/resources/virtual_cross_connects_coverage.py +218 -0
  367. telnyx/resources/webhook_deliveries.py +283 -0
  368. telnyx/resources/webhooks.py +170 -0
  369. telnyx/resources/well_known.py +198 -0
  370. telnyx/resources/wireguard_interfaces.py +471 -0
  371. telnyx/resources/wireguard_peers.py +632 -0
  372. telnyx/resources/wireless/__init__.py +33 -0
  373. telnyx/resources/wireless/detail_records_reports.py +450 -0
  374. telnyx/resources/wireless/wireless.py +211 -0
  375. telnyx/resources/wireless_blocklist_values.py +181 -0
  376. telnyx/resources/wireless_blocklists.py +592 -0
  377. telnyx/types/__init__.py +1297 -0
  378. telnyx/types/access_ip_address_create_params.py +13 -0
  379. telnyx/types/access_ip_address_list_params.py +62 -0
  380. telnyx/types/access_ip_address_response.py +28 -0
  381. telnyx/types/access_ip_range.py +26 -0
  382. telnyx/types/access_ip_range_create_params.py +13 -0
  383. telnyx/types/access_ip_range_list_params.py +83 -0
  384. telnyx/types/actions/__init__.py +8 -0
  385. telnyx/types/actions/purchase_create_params.py +37 -0
  386. telnyx/types/actions/purchase_create_response.py +35 -0
  387. telnyx/types/actions/register_create_params.py +26 -0
  388. telnyx/types/actions/register_create_response.py +35 -0
  389. telnyx/types/address.py +102 -0
  390. telnyx/types/address_create_params.py +90 -0
  391. telnyx/types/address_create_response.py +12 -0
  392. telnyx/types/address_delete_response.py +12 -0
  393. telnyx/types/address_list_params.py +102 -0
  394. telnyx/types/address_retrieve_response.py +12 -0
  395. telnyx/types/addresses/__init__.py +8 -0
  396. telnyx/types/addresses/action_accept_suggestions_params.py +12 -0
  397. telnyx/types/addresses/action_accept_suggestions_response.py +22 -0
  398. telnyx/types/addresses/action_validate_params.py +36 -0
  399. telnyx/types/addresses/action_validate_response.py +71 -0
  400. telnyx/types/advanced_order_create_params.py +27 -0
  401. telnyx/types/advanced_order_create_response.py +35 -0
  402. telnyx/types/advanced_order_list_response.py +39 -0
  403. telnyx/types/advanced_order_retrieve_response.py +35 -0
  404. telnyx/types/advanced_order_update_requirement_group_params.py +27 -0
  405. telnyx/types/advanced_order_update_requirement_group_response.py +35 -0
  406. telnyx/types/ai/__init__.py +100 -0
  407. telnyx/types/ai/assistant_chat_params.py +18 -0
  408. telnyx/types/ai/assistant_chat_response.py +10 -0
  409. telnyx/types/ai/assistant_create_params.py +133 -0
  410. telnyx/types/ai/assistant_delete_response.py +18 -0
  411. telnyx/types/ai/assistant_get_texml_response.py +7 -0
  412. telnyx/types/ai/assistant_imports_params.py +27 -0
  413. telnyx/types/ai/assistant_param.py +112 -0
  414. telnyx/types/ai/assistant_retrieve_params.py +19 -0
  415. telnyx/types/ai/assistant_send_sms_params.py +22 -0
  416. telnyx/types/ai/assistant_send_sms_response.py +11 -0
  417. telnyx/types/ai/assistant_tool.py +139 -0
  418. telnyx/types/ai/assistant_tool_param.py +138 -0
  419. telnyx/types/ai/assistant_update_params.py +139 -0
  420. telnyx/types/ai/assistants/__init__.py +26 -0
  421. telnyx/types/ai/assistants/assistant_test.py +59 -0
  422. telnyx/types/ai/assistants/canary_deploy_create_params.py +15 -0
  423. telnyx/types/ai/assistants/canary_deploy_response.py +21 -0
  424. telnyx/types/ai/assistants/canary_deploy_update_params.py +15 -0
  425. telnyx/types/ai/assistants/conversation_channel_type.py +7 -0
  426. telnyx/types/ai/assistants/event_status.py +7 -0
  427. telnyx/types/ai/assistants/scheduled_event_create_params.py +35 -0
  428. telnyx/types/ai/assistants/scheduled_event_list_params.py +24 -0
  429. telnyx/types/ai/assistants/scheduled_event_list_response.py +15 -0
  430. telnyx/types/ai/assistants/scheduled_event_response.py +15 -0
  431. telnyx/types/ai/assistants/scheduled_phone_call_event_response.py +38 -0
  432. telnyx/types/ai/assistants/scheduled_sms_event_response.py +38 -0
  433. telnyx/types/ai/assistants/telnyx_conversation_channel.py +7 -0
  434. telnyx/types/ai/assistants/test_create_params.py +72 -0
  435. telnyx/types/ai/assistants/test_list_params.py +24 -0
  436. telnyx/types/ai/assistants/test_update_params.py +47 -0
  437. telnyx/types/ai/assistants/tests/__init__.py +9 -0
  438. telnyx/types/ai/assistants/tests/run_list_params.py +18 -0
  439. telnyx/types/ai/assistants/tests/run_trigger_params.py +16 -0
  440. telnyx/types/ai/assistants/tests/test_run_response.py +81 -0
  441. telnyx/types/ai/assistants/tests/test_status.py +7 -0
  442. telnyx/types/ai/assistants/tests/test_suite_list_response.py +18 -0
  443. telnyx/types/ai/assistants/tests/test_suites/__init__.py +9 -0
  444. telnyx/types/ai/assistants/tests/test_suites/meta.py +15 -0
  445. telnyx/types/ai/assistants/tests/test_suites/paginated_test_run_list.py +23 -0
  446. telnyx/types/ai/assistants/tests/test_suites/run_list_params.py +21 -0
  447. telnyx/types/ai/assistants/tests/test_suites/run_trigger_params.py +16 -0
  448. telnyx/types/ai/assistants/tests/test_suites/run_trigger_response.py +10 -0
  449. telnyx/types/ai/assistants/tool_test_params.py +18 -0
  450. telnyx/types/ai/assistants/tool_test_response.py +28 -0
  451. telnyx/types/ai/assistants/version_config.py +15 -0
  452. telnyx/types/ai/assistants/version_config_param.py +17 -0
  453. telnyx/types/ai/assistants/version_retrieve_params.py +13 -0
  454. telnyx/types/ai/assistants/version_update_params.py +135 -0
  455. telnyx/types/ai/assistants_list.py +12 -0
  456. telnyx/types/ai/audio_transcribe_params.py +46 -0
  457. telnyx/types/ai/audio_transcribe_response.py +38 -0
  458. telnyx/types/ai/background_task_status.py +7 -0
  459. telnyx/types/ai/chat_create_completion_params.py +184 -0
  460. telnyx/types/ai/chat_create_completion_response.py +8 -0
  461. telnyx/types/ai/cluster_compute_params.py +38 -0
  462. telnyx/types/ai/cluster_compute_response.py +13 -0
  463. telnyx/types/ai/cluster_fetch_graph_params.py +11 -0
  464. telnyx/types/ai/cluster_list_params.py +15 -0
  465. telnyx/types/ai/cluster_list_response.py +24 -0
  466. telnyx/types/ai/cluster_retrieve_params.py +18 -0
  467. telnyx/types/ai/cluster_retrieve_response.py +25 -0
  468. telnyx/types/ai/conversation.py +27 -0
  469. telnyx/types/ai/conversation_add_message_params.py +30 -0
  470. telnyx/types/ai/conversation_create_params.py +15 -0
  471. telnyx/types/ai/conversation_list_params.py +62 -0
  472. telnyx/types/ai/conversation_list_response.py +12 -0
  473. telnyx/types/ai/conversation_retrieve_conversations_insights_response.py +41 -0
  474. telnyx/types/ai/conversation_retrieve_response.py +12 -0
  475. telnyx/types/ai/conversation_update_params.py +13 -0
  476. telnyx/types/ai/conversation_update_response.py +12 -0
  477. telnyx/types/ai/conversations/__init__.py +17 -0
  478. telnyx/types/ai/conversations/insight_create_params.py +19 -0
  479. telnyx/types/ai/conversations/insight_group_insight_groups_params.py +15 -0
  480. telnyx/types/ai/conversations/insight_group_retrieve_insight_groups_params.py +15 -0
  481. telnyx/types/ai/conversations/insight_group_update_params.py +15 -0
  482. telnyx/types/ai/conversations/insight_groups/__init__.py +3 -0
  483. telnyx/types/ai/conversations/insight_list_params.py +15 -0
  484. telnyx/types/ai/conversations/insight_template.py +26 -0
  485. telnyx/types/ai/conversations/insight_template_detail.py +10 -0
  486. telnyx/types/ai/conversations/insight_template_group.py +23 -0
  487. telnyx/types/ai/conversations/insight_template_group_detail.py +10 -0
  488. telnyx/types/ai/conversations/insight_update_params.py +18 -0
  489. telnyx/types/ai/conversations/message_list_response.py +56 -0
  490. telnyx/types/ai/embedding_create_params.py +21 -0
  491. telnyx/types/ai/embedding_list_params.py +14 -0
  492. telnyx/types/ai/embedding_list_response.py +30 -0
  493. telnyx/types/ai/embedding_response.py +25 -0
  494. telnyx/types/ai/embedding_retrieve_response.py +25 -0
  495. telnyx/types/ai/embedding_similarity_search_params.py +15 -0
  496. telnyx/types/ai/embedding_similarity_search_response.py +49 -0
  497. telnyx/types/ai/embedding_url_params.py +15 -0
  498. telnyx/types/ai/embeddings/__init__.py +6 -0
  499. telnyx/types/ai/embeddings/bucket_list_response.py +15 -0
  500. telnyx/types/ai/embeddings/bucket_retrieve_response.py +26 -0
  501. telnyx/types/ai/enabled_features.py +7 -0
  502. telnyx/types/ai/fine_tuning/__init__.py +7 -0
  503. telnyx/types/ai/fine_tuning/fine_tuning_job.py +57 -0
  504. telnyx/types/ai/fine_tuning/job_create_params.py +33 -0
  505. telnyx/types/ai/fine_tuning/job_list_response.py +12 -0
  506. telnyx/types/ai/hangup_tool.py +14 -0
  507. telnyx/types/ai/hangup_tool_param.py +15 -0
  508. telnyx/types/ai/hangup_tool_params.py +12 -0
  509. telnyx/types/ai/hangup_tool_params_param.py +12 -0
  510. telnyx/types/ai/import_metadata.py +16 -0
  511. telnyx/types/ai/inference_embedding.py +140 -0
  512. telnyx/types/ai/inference_embedding_bucket_ids.py +19 -0
  513. telnyx/types/ai/inference_embedding_bucket_ids_param.py +21 -0
  514. telnyx/types/ai/inference_embedding_transfer_tool_params.py +49 -0
  515. telnyx/types/ai/inference_embedding_transfer_tool_params_param.py +56 -0
  516. telnyx/types/ai/inference_embedding_webhook_tool_params.py +116 -0
  517. telnyx/types/ai/inference_embedding_webhook_tool_params_param.py +118 -0
  518. telnyx/types/ai/insight_settings.py +16 -0
  519. telnyx/types/ai/insight_settings_param.py +16 -0
  520. telnyx/types/ai/integration_list_response.py +28 -0
  521. telnyx/types/ai/integration_retrieve_response.py +24 -0
  522. telnyx/types/ai/integrations/__init__.py +6 -0
  523. telnyx/types/ai/integrations/connection_list_response.py +19 -0
  524. telnyx/types/ai/integrations/connection_retrieve_response.py +19 -0
  525. telnyx/types/ai/mcp_server_create_params.py +22 -0
  526. telnyx/types/ai/mcp_server_create_response.py +24 -0
  527. telnyx/types/ai/mcp_server_list_params.py +19 -0
  528. telnyx/types/ai/mcp_server_list_response.py +24 -0
  529. telnyx/types/ai/mcp_server_retrieve_response.py +24 -0
  530. telnyx/types/ai/mcp_server_update_params.py +28 -0
  531. telnyx/types/ai/mcp_server_update_response.py +24 -0
  532. telnyx/types/ai/messaging_settings.py +21 -0
  533. telnyx/types/ai/messaging_settings_param.py +21 -0
  534. telnyx/types/ai/privacy_settings.py +19 -0
  535. telnyx/types/ai/privacy_settings_param.py +19 -0
  536. telnyx/types/ai/recursive_cluster.py +34 -0
  537. telnyx/types/ai/retrieval_tool.py +14 -0
  538. telnyx/types/ai/retrieval_tool_param.py +15 -0
  539. telnyx/types/ai/telephony_settings.py +56 -0
  540. telnyx/types/ai/telephony_settings_param.py +55 -0
  541. telnyx/types/ai/transcription_settings.py +45 -0
  542. telnyx/types/ai/transcription_settings_config.py +35 -0
  543. telnyx/types/ai/transcription_settings_config_param.py +35 -0
  544. telnyx/types/ai/transcription_settings_param.py +43 -0
  545. telnyx/types/ai/transfer_tool.py +14 -0
  546. telnyx/types/ai/transfer_tool_param.py +15 -0
  547. telnyx/types/ai/voice_settings.py +119 -0
  548. telnyx/types/ai/voice_settings_param.py +115 -0
  549. telnyx/types/ai/webhook_tool.py +14 -0
  550. telnyx/types/ai/webhook_tool_param.py +15 -0
  551. telnyx/types/ai_retrieve_models_response.py +23 -0
  552. telnyx/types/ai_summarize_params.py +18 -0
  553. telnyx/types/ai_summarize_response.py +13 -0
  554. telnyx/types/anchorsite_override.py +18 -0
  555. telnyx/types/audit_event_list_params.py +39 -0
  556. telnyx/types/audit_event_list_response.py +70 -0
  557. telnyx/types/authentication_provider.py +73 -0
  558. telnyx/types/authentication_provider_create_params.py +32 -0
  559. telnyx/types/authentication_provider_create_response.py +12 -0
  560. telnyx/types/authentication_provider_delete_response.py +12 -0
  561. telnyx/types/authentication_provider_list_params.py +43 -0
  562. telnyx/types/authentication_provider_retrieve_response.py +12 -0
  563. telnyx/types/authentication_provider_update_params.py +32 -0
  564. telnyx/types/authentication_provider_update_response.py +12 -0
  565. telnyx/types/available_phone_number_block_list_params.py +35 -0
  566. telnyx/types/available_phone_number_block_list_response.py +54 -0
  567. telnyx/types/available_phone_number_list_params.py +99 -0
  568. telnyx/types/available_phone_number_list_response.py +65 -0
  569. telnyx/types/available_service.py +7 -0
  570. telnyx/types/azure_configuration_data.py +22 -0
  571. telnyx/types/azure_configuration_data_param.py +21 -0
  572. telnyx/types/balance_retrieve_response.py +32 -0
  573. telnyx/types/billing_group.py +32 -0
  574. telnyx/types/billing_group_create_params.py +12 -0
  575. telnyx/types/billing_group_create_response.py +12 -0
  576. telnyx/types/billing_group_delete_response.py +12 -0
  577. telnyx/types/billing_group_list_params.py +15 -0
  578. telnyx/types/billing_group_retrieve_response.py +12 -0
  579. telnyx/types/billing_group_update_params.py +12 -0
  580. telnyx/types/billing_group_update_response.py +12 -0
  581. telnyx/types/bulk_sim_card_action_list_params.py +20 -0
  582. telnyx/types/bulk_sim_card_action_list_response.py +40 -0
  583. telnyx/types/bulk_sim_card_action_retrieve_response.py +44 -0
  584. telnyx/types/bundle_pricing/__init__.py +18 -0
  585. telnyx/types/bundle_pricing/billing_bundle_list_params.py +39 -0
  586. telnyx/types/bundle_pricing/billing_bundle_retrieve_response.py +68 -0
  587. telnyx/types/bundle_pricing/billing_bundle_summary.py +36 -0
  588. telnyx/types/bundle_pricing/pagination_response.py +19 -0
  589. telnyx/types/bundle_pricing/user_bundle.py +31 -0
  590. telnyx/types/bundle_pricing/user_bundle_create_params.py +29 -0
  591. telnyx/types/bundle_pricing/user_bundle_create_response.py +12 -0
  592. telnyx/types/bundle_pricing/user_bundle_deactivate_response.py +10 -0
  593. telnyx/types/bundle_pricing/user_bundle_list_params.py +39 -0
  594. telnyx/types/bundle_pricing/user_bundle_list_resources_response.py +12 -0
  595. telnyx/types/bundle_pricing/user_bundle_list_unused_params.py +34 -0
  596. telnyx/types/bundle_pricing/user_bundle_list_unused_response.py +19 -0
  597. telnyx/types/bundle_pricing/user_bundle_resource.py +25 -0
  598. telnyx/types/bundle_pricing/user_bundle_retrieve_response.py +10 -0
  599. telnyx/types/call_ai_gather_ended_webhook_event.py +78 -0
  600. telnyx/types/call_ai_gather_ended_webhook_event1.py +78 -0
  601. telnyx/types/call_ai_gather_message_history_updated_webhook_event.py +69 -0
  602. telnyx/types/call_ai_gather_message_history_updated_webhook_event1.py +69 -0
  603. telnyx/types/call_ai_gather_partial_results_webhook_event.py +75 -0
  604. telnyx/types/call_ai_gather_partial_results_webhook_event1.py +75 -0
  605. telnyx/types/call_answered_webhook_event.py +75 -0
  606. telnyx/types/call_answered_webhook_event1.py +75 -0
  607. telnyx/types/call_bridged_webhook_event.py +58 -0
  608. telnyx/types/call_bridged_webhook_event1.py +58 -0
  609. telnyx/types/call_control_application.py +99 -0
  610. telnyx/types/call_control_application_create_params.py +86 -0
  611. telnyx/types/call_control_application_create_response.py +12 -0
  612. telnyx/types/call_control_application_delete_response.py +12 -0
  613. telnyx/types/call_control_application_inbound.py +39 -0
  614. telnyx/types/call_control_application_inbound_param.py +38 -0
  615. telnyx/types/call_control_application_list_params.py +131 -0
  616. telnyx/types/call_control_application_outbound.py +18 -0
  617. telnyx/types/call_control_application_outbound_param.py +18 -0
  618. telnyx/types/call_control_application_retrieve_response.py +12 -0
  619. telnyx/types/call_control_application_update_params.py +90 -0
  620. telnyx/types/call_control_application_update_response.py +12 -0
  621. telnyx/types/call_conversation_ended_webhook_event.py +84 -0
  622. telnyx/types/call_conversation_ended_webhook_event1.py +84 -0
  623. telnyx/types/call_conversation_insights_generated_webhook_event.py +67 -0
  624. telnyx/types/call_conversation_insights_generated_webhook_event1.py +67 -0
  625. telnyx/types/call_dial_params.py +453 -0
  626. telnyx/types/call_dial_response.py +56 -0
  627. telnyx/types/call_dtmf_received_webhook_event.py +61 -0
  628. telnyx/types/call_dtmf_received_webhook_event1.py +61 -0
  629. telnyx/types/call_enqueued_webhook_event.py +59 -0
  630. telnyx/types/call_enqueued_webhook_event1.py +59 -0
  631. telnyx/types/call_event_list_params.py +113 -0
  632. telnyx/types/call_event_list_response.py +36 -0
  633. telnyx/types/call_fork_started_webhook_event.py +53 -0
  634. telnyx/types/call_fork_started_webhook_event1.py +53 -0
  635. telnyx/types/call_fork_stopped_webhook_event.py +53 -0
  636. telnyx/types/call_fork_stopped_webhook_event1.py +53 -0
  637. telnyx/types/call_gather_ended_webhook_event.py +64 -0
  638. telnyx/types/call_gather_ended_webhook_event1.py +64 -0
  639. telnyx/types/call_hangup_webhook_event.py +160 -0
  640. telnyx/types/call_hangup_webhook_event1.py +160 -0
  641. telnyx/types/call_initiated_webhook_event.py +96 -0
  642. telnyx/types/call_initiated_webhook_event1.py +96 -0
  643. telnyx/types/call_left_queue_webhook_event.py +62 -0
  644. telnyx/types/call_left_queue_webhook_event1.py +62 -0
  645. telnyx/types/call_machine_detection_ended_webhook_event.py +61 -0
  646. telnyx/types/call_machine_detection_ended_webhook_event1.py +61 -0
  647. telnyx/types/call_machine_greeting_ended_webhook_event.py +61 -0
  648. telnyx/types/call_machine_greeting_ended_webhook_event1.py +61 -0
  649. telnyx/types/call_machine_premium_detection_ended_webhook_event.py +63 -0
  650. telnyx/types/call_machine_premium_detection_ended_webhook_event1.py +63 -0
  651. telnyx/types/call_machine_premium_greeting_ended_webhook_event.py +61 -0
  652. telnyx/types/call_machine_premium_greeting_ended_webhook_event1.py +61 -0
  653. telnyx/types/call_playback_ended_webhook_event.py +70 -0
  654. telnyx/types/call_playback_ended_webhook_event1.py +70 -0
  655. telnyx/types/call_playback_started_webhook_event.py +62 -0
  656. telnyx/types/call_playback_started_webhook_event1.py +62 -0
  657. telnyx/types/call_recording_error_webhook_event.py +60 -0
  658. telnyx/types/call_recording_error_webhook_event1.py +60 -0
  659. telnyx/types/call_recording_saved_webhook_event.py +104 -0
  660. telnyx/types/call_recording_saved_webhook_event1.py +104 -0
  661. telnyx/types/call_recording_transcription_saved_webhook_event.py +71 -0
  662. telnyx/types/call_recording_transcription_saved_webhook_event1.py +71 -0
  663. telnyx/types/call_refer_completed_webhook_event.py +61 -0
  664. telnyx/types/call_refer_completed_webhook_event1.py +61 -0
  665. telnyx/types/call_refer_failed_webhook_event.py +61 -0
  666. telnyx/types/call_refer_failed_webhook_event1.py +61 -0
  667. telnyx/types/call_refer_started_webhook_event.py +61 -0
  668. telnyx/types/call_refer_started_webhook_event1.py +61 -0
  669. telnyx/types/call_retrieve_status_response.py +50 -0
  670. telnyx/types/call_siprec_failed_webhook_event.py +53 -0
  671. telnyx/types/call_siprec_failed_webhook_event1.py +53 -0
  672. telnyx/types/call_siprec_started_webhook_event.py +50 -0
  673. telnyx/types/call_siprec_started_webhook_event1.py +50 -0
  674. telnyx/types/call_siprec_stopped_webhook_event.py +53 -0
  675. telnyx/types/call_siprec_stopped_webhook_event1.py +53 -0
  676. telnyx/types/call_speak_ended_webhook_event.py +53 -0
  677. telnyx/types/call_speak_ended_webhook_event1.py +53 -0
  678. telnyx/types/call_speak_started_webhook_event.py +50 -0
  679. telnyx/types/call_speak_started_webhook_event1.py +50 -0
  680. telnyx/types/call_streaming_failed.py +68 -0
  681. telnyx/types/call_streaming_failed_webhook_event.py +12 -0
  682. telnyx/types/call_streaming_failed_webhook_event1.py +12 -0
  683. telnyx/types/call_streaming_started.py +49 -0
  684. telnyx/types/call_streaming_started_webhook_event.py +12 -0
  685. telnyx/types/call_streaming_started_webhook_event1.py +12 -0
  686. telnyx/types/call_streaming_stopped.py +49 -0
  687. telnyx/types/call_streaming_stopped_webhook_event.py +12 -0
  688. telnyx/types/call_streaming_stopped_webhook_event1.py +12 -0
  689. telnyx/types/calls/__init__.py +105 -0
  690. telnyx/types/calls/action_answer_params.py +148 -0
  691. telnyx/types/calls/action_answer_response.py +21 -0
  692. telnyx/types/calls/action_bridge_params.py +170 -0
  693. telnyx/types/calls/action_bridge_response.py +12 -0
  694. telnyx/types/calls/action_enqueue_params.py +44 -0
  695. telnyx/types/calls/action_enqueue_response.py +12 -0
  696. telnyx/types/calls/action_gather_params.py +55 -0
  697. telnyx/types/calls/action_gather_response.py +12 -0
  698. telnyx/types/calls/action_gather_using_ai_params.py +135 -0
  699. telnyx/types/calls/action_gather_using_ai_response.py +18 -0
  700. telnyx/types/calls/action_gather_using_audio_params.py +87 -0
  701. telnyx/types/calls/action_gather_using_audio_response.py +12 -0
  702. telnyx/types/calls/action_gather_using_speak_params.py +157 -0
  703. telnyx/types/calls/action_gather_using_speak_response.py +12 -0
  704. telnyx/types/calls/action_hangup_params.py +22 -0
  705. telnyx/types/calls/action_hangup_response.py +12 -0
  706. telnyx/types/calls/action_leave_queue_params.py +22 -0
  707. telnyx/types/calls/action_leave_queue_response.py +12 -0
  708. telnyx/types/calls/action_pause_recording_params.py +25 -0
  709. telnyx/types/calls/action_pause_recording_response.py +12 -0
  710. telnyx/types/calls/action_refer_params.py +44 -0
  711. telnyx/types/calls/action_refer_response.py +12 -0
  712. telnyx/types/calls/action_reject_params.py +25 -0
  713. telnyx/types/calls/action_reject_response.py +12 -0
  714. telnyx/types/calls/action_resume_recording_params.py +25 -0
  715. telnyx/types/calls/action_resume_recording_response.py +12 -0
  716. telnyx/types/calls/action_send_dtmf_params.py +35 -0
  717. telnyx/types/calls/action_send_dtmf_response.py +12 -0
  718. telnyx/types/calls/action_send_sip_info_params.py +31 -0
  719. telnyx/types/calls/action_send_sip_info_response.py +12 -0
  720. telnyx/types/calls/action_speak_params.py +125 -0
  721. telnyx/types/calls/action_speak_response.py +12 -0
  722. telnyx/types/calls/action_start_ai_assistant_params.py +99 -0
  723. telnyx/types/calls/action_start_ai_assistant_response.py +18 -0
  724. telnyx/types/calls/action_start_forking_params.py +41 -0
  725. telnyx/types/calls/action_start_forking_response.py +12 -0
  726. telnyx/types/calls/action_start_noise_suppression_params.py +44 -0
  727. telnyx/types/calls/action_start_noise_suppression_response.py +12 -0
  728. telnyx/types/calls/action_start_playback_params.py +83 -0
  729. telnyx/types/calls/action_start_playback_response.py +12 -0
  730. telnyx/types/calls/action_start_recording_params.py +245 -0
  731. telnyx/types/calls/action_start_recording_response.py +12 -0
  732. telnyx/types/calls/action_start_siprec_params.py +44 -0
  733. telnyx/types/calls/action_start_siprec_response.py +12 -0
  734. telnyx/types/calls/action_start_streaming_params.py +62 -0
  735. telnyx/types/calls/action_start_streaming_response.py +12 -0
  736. telnyx/types/calls/action_start_transcription_params.py +169 -0
  737. telnyx/types/calls/action_start_transcription_response.py +12 -0
  738. telnyx/types/calls/action_stop_ai_assistant_params.py +22 -0
  739. telnyx/types/calls/action_stop_ai_assistant_response.py +12 -0
  740. telnyx/types/calls/action_stop_forking_params.py +29 -0
  741. telnyx/types/calls/action_stop_forking_response.py +12 -0
  742. telnyx/types/calls/action_stop_gather_params.py +22 -0
  743. telnyx/types/calls/action_stop_gather_response.py +12 -0
  744. telnyx/types/calls/action_stop_noise_suppression_params.py +22 -0
  745. telnyx/types/calls/action_stop_noise_suppression_response.py +12 -0
  746. telnyx/types/calls/action_stop_playback_params.py +32 -0
  747. telnyx/types/calls/action_stop_playback_response.py +12 -0
  748. telnyx/types/calls/action_stop_recording_params.py +25 -0
  749. telnyx/types/calls/action_stop_recording_response.py +12 -0
  750. telnyx/types/calls/action_stop_siprec_params.py +22 -0
  751. telnyx/types/calls/action_stop_siprec_response.py +12 -0
  752. telnyx/types/calls/action_stop_streaming_params.py +29 -0
  753. telnyx/types/calls/action_stop_streaming_response.py +12 -0
  754. telnyx/types/calls/action_stop_transcription_params.py +22 -0
  755. telnyx/types/calls/action_stop_transcription_response.py +12 -0
  756. telnyx/types/calls/action_switch_supervisor_role_params.py +16 -0
  757. telnyx/types/calls/action_switch_supervisor_role_response.py +12 -0
  758. telnyx/types/calls/action_transfer_params.py +256 -0
  759. telnyx/types/calls/action_transfer_response.py +12 -0
  760. telnyx/types/calls/action_update_client_state_params.py +15 -0
  761. telnyx/types/calls/action_update_client_state_response.py +12 -0
  762. telnyx/types/calls/aws_voice_settings_param.py +16 -0
  763. telnyx/types/calls/call_control_command_result.py +11 -0
  764. telnyx/types/calls/eleven_labs_voice_settings_param.py +20 -0
  765. telnyx/types/calls/google_transcription_language.py +88 -0
  766. telnyx/types/calls/interruption_settings_param.py +14 -0
  767. telnyx/types/calls/loopcount_param.py +10 -0
  768. telnyx/types/calls/telnyx_transcription_language.py +108 -0
  769. telnyx/types/calls/telnyx_voice_settings_param.py +18 -0
  770. telnyx/types/calls/transcription_config_param.py +24 -0
  771. telnyx/types/calls/transcription_engine_a_config_param.py +65 -0
  772. telnyx/types/calls/transcription_engine_azure_config_param.py +103 -0
  773. telnyx/types/calls/transcription_engine_b_config_param.py +20 -0
  774. telnyx/types/calls/transcription_engine_google_config_param.py +65 -0
  775. telnyx/types/calls/transcription_engine_telnyx_config_param.py +20 -0
  776. telnyx/types/calls/transcription_start_request_param.py +169 -0
  777. telnyx/types/campaign_status_update_webhook_event.py +46 -0
  778. telnyx/types/campaign_status_update_webhook_event1.py +46 -0
  779. telnyx/types/channel_zone_list_params.py +15 -0
  780. telnyx/types/channel_zone_list_response.py +30 -0
  781. telnyx/types/channel_zone_update_params.py +12 -0
  782. telnyx/types/channel_zone_update_response.py +30 -0
  783. telnyx/types/charges_breakdown_retrieve_params.py +27 -0
  784. telnyx/types/charges_breakdown_retrieve_response.py +60 -0
  785. telnyx/types/charges_summary_retrieve_params.py +23 -0
  786. telnyx/types/charges_summary_retrieve_response.py +122 -0
  787. telnyx/types/cloudflare_sync_status.py +7 -0
  788. telnyx/types/comment_create_params.py +15 -0
  789. telnyx/types/comment_create_response.py +36 -0
  790. telnyx/types/comment_list_params.py +28 -0
  791. telnyx/types/comment_list_response.py +39 -0
  792. telnyx/types/comment_mark_as_read_response.py +36 -0
  793. telnyx/types/comment_retrieve_response.py +36 -0
  794. telnyx/types/conference.py +58 -0
  795. telnyx/types/conference_create_params.py +78 -0
  796. telnyx/types/conference_create_response.py +12 -0
  797. telnyx/types/conference_created_webhook_event.py +53 -0
  798. telnyx/types/conference_created_webhook_event1.py +53 -0
  799. telnyx/types/conference_ended_webhook_event.py +56 -0
  800. telnyx/types/conference_ended_webhook_event1.py +56 -0
  801. telnyx/types/conference_floor_changed_webhook_event.py +45 -0
  802. telnyx/types/conference_floor_changed_webhook_event1.py +45 -0
  803. telnyx/types/conference_list_params.py +116 -0
  804. telnyx/types/conference_list_participants_params.py +42 -0
  805. telnyx/types/conference_list_participants_response.py +64 -0
  806. telnyx/types/conference_participant_joined_webhook_event.py +53 -0
  807. telnyx/types/conference_participant_joined_webhook_event1.py +53 -0
  808. telnyx/types/conference_participant_left_webhook_event.py +53 -0
  809. telnyx/types/conference_participant_left_webhook_event1.py +53 -0
  810. telnyx/types/conference_participant_playback_ended_webhook_event.py +65 -0
  811. telnyx/types/conference_participant_playback_ended_webhook_event1.py +65 -0
  812. telnyx/types/conference_participant_playback_started_webhook_event.py +65 -0
  813. telnyx/types/conference_participant_playback_started_webhook_event1.py +65 -0
  814. telnyx/types/conference_participant_speak_ended_webhook_event.py +56 -0
  815. telnyx/types/conference_participant_speak_ended_webhook_event1.py +56 -0
  816. telnyx/types/conference_participant_speak_started_webhook_event.py +56 -0
  817. telnyx/types/conference_participant_speak_started_webhook_event1.py +56 -0
  818. telnyx/types/conference_playback_ended_webhook_event.py +49 -0
  819. telnyx/types/conference_playback_ended_webhook_event1.py +49 -0
  820. telnyx/types/conference_playback_started_webhook_event.py +49 -0
  821. telnyx/types/conference_playback_started_webhook_event1.py +49 -0
  822. telnyx/types/conference_recording_saved_webhook_event.py +113 -0
  823. telnyx/types/conference_recording_saved_webhook_event1.py +113 -0
  824. telnyx/types/conference_retrieve_params.py +12 -0
  825. telnyx/types/conference_retrieve_response.py +12 -0
  826. telnyx/types/conference_speak_ended_webhook_event.py +40 -0
  827. telnyx/types/conference_speak_ended_webhook_event1.py +40 -0
  828. telnyx/types/conference_speak_started_webhook_event.py +40 -0
  829. telnyx/types/conference_speak_started_webhook_event1.py +40 -0
  830. telnyx/types/conferences/__init__.py +33 -0
  831. telnyx/types/conferences/action_hold_params.py +37 -0
  832. telnyx/types/conferences/action_hold_response.py +12 -0
  833. telnyx/types/conferences/action_join_params.py +107 -0
  834. telnyx/types/conferences/action_join_response.py +12 -0
  835. telnyx/types/conferences/action_leave_params.py +32 -0
  836. telnyx/types/conferences/action_leave_response.py +12 -0
  837. telnyx/types/conferences/action_mute_params.py +23 -0
  838. telnyx/types/conferences/action_mute_response.py +12 -0
  839. telnyx/types/conferences/action_play_params.py +45 -0
  840. telnyx/types/conferences/action_play_response.py +12 -0
  841. telnyx/types/conferences/action_record_pause_params.py +25 -0
  842. telnyx/types/conferences/action_record_pause_response.py +12 -0
  843. telnyx/types/conferences/action_record_resume_params.py +25 -0
  844. telnyx/types/conferences/action_record_resume_response.py +12 -0
  845. telnyx/types/conferences/action_record_start_params.py +43 -0
  846. telnyx/types/conferences/action_record_start_response.py +12 -0
  847. telnyx/types/conferences/action_record_stop_params.py +31 -0
  848. telnyx/types/conferences/action_record_stop_response.py +12 -0
  849. telnyx/types/conferences/action_speak_params.py +117 -0
  850. telnyx/types/conferences/action_speak_response.py +12 -0
  851. telnyx/types/conferences/action_stop_params.py +23 -0
  852. telnyx/types/conferences/action_stop_response.py +12 -0
  853. telnyx/types/conferences/action_unhold_params.py +23 -0
  854. telnyx/types/conferences/action_unhold_response.py +12 -0
  855. telnyx/types/conferences/action_unmute_params.py +24 -0
  856. telnyx/types/conferences/action_unmute_response.py +12 -0
  857. telnyx/types/conferences/action_update_params.py +44 -0
  858. telnyx/types/conferences/action_update_response.py +12 -0
  859. telnyx/types/conferences/conference_command_result.py +9 -0
  860. telnyx/types/connection_list_active_calls_params.py +15 -0
  861. telnyx/types/connection_list_active_calls_response.py +30 -0
  862. telnyx/types/connection_list_params.py +70 -0
  863. telnyx/types/connection_list_response.py +53 -0
  864. telnyx/types/connection_retrieve_response.py +57 -0
  865. telnyx/types/connection_rtcp_settings.py +25 -0
  866. telnyx/types/connection_rtcp_settings_param.py +24 -0
  867. telnyx/types/consumed_data.py +15 -0
  868. telnyx/types/country_coverage_retrieve_country_response.py +78 -0
  869. telnyx/types/country_coverage_retrieve_response.py +78 -0
  870. telnyx/types/create_verification_response.py +10 -0
  871. telnyx/types/credential_connection.py +176 -0
  872. telnyx/types/credential_connection_create_params.py +175 -0
  873. telnyx/types/credential_connection_create_response.py +12 -0
  874. telnyx/types/credential_connection_delete_response.py +12 -0
  875. telnyx/types/credential_connection_list_params.py +70 -0
  876. telnyx/types/credential_connection_retrieve_response.py +12 -0
  877. telnyx/types/credential_connection_update_params.py +171 -0
  878. telnyx/types/credential_connection_update_response.py +12 -0
  879. telnyx/types/credential_connections/__init__.py +7 -0
  880. telnyx/types/credential_connections/action_check_registration_status_response.py +40 -0
  881. telnyx/types/credential_inbound.py +63 -0
  882. telnyx/types/credential_inbound_param.py +64 -0
  883. telnyx/types/credential_outbound.py +66 -0
  884. telnyx/types/credential_outbound_param.py +64 -0
  885. telnyx/types/custom_sip_header.py +13 -0
  886. telnyx/types/custom_sip_header_param.py +15 -0
  887. telnyx/types/custom_storage_configuration.py +22 -0
  888. telnyx/types/custom_storage_credential_create_params.py +21 -0
  889. telnyx/types/custom_storage_credential_create_response.py +21 -0
  890. telnyx/types/custom_storage_credential_retrieve_response.py +21 -0
  891. telnyx/types/custom_storage_credential_update_params.py +21 -0
  892. telnyx/types/custom_storage_credential_update_response.py +21 -0
  893. telnyx/types/customer_service_record.py +95 -0
  894. telnyx/types/customer_service_record_create_params.py +49 -0
  895. telnyx/types/customer_service_record_create_response.py +12 -0
  896. telnyx/types/customer_service_record_list_params.py +88 -0
  897. telnyx/types/customer_service_record_retrieve_response.py +12 -0
  898. telnyx/types/customer_service_record_verify_phone_number_coverage_params.py +14 -0
  899. telnyx/types/customer_service_record_verify_phone_number_coverage_response.py +50 -0
  900. telnyx/types/delivery_update_webhook_event.py +40 -0
  901. telnyx/types/delivery_update_webhook_event1.py +40 -0
  902. telnyx/types/detail_record_list_params.py +81 -0
  903. telnyx/types/detail_record_list_response.py +475 -0
  904. telnyx/types/dialogflow_config_param.py +15 -0
  905. telnyx/types/dialogflow_connection_create_params.py +28 -0
  906. telnyx/types/dialogflow_connection_create_response.py +30 -0
  907. telnyx/types/dialogflow_connection_retrieve_response.py +30 -0
  908. telnyx/types/dialogflow_connection_update_params.py +28 -0
  909. telnyx/types/dialogflow_connection_update_response.py +30 -0
  910. telnyx/types/doc_service_document.py +53 -0
  911. telnyx/types/document_delete_response.py +12 -0
  912. telnyx/types/document_generate_download_link_response.py +14 -0
  913. telnyx/types/document_link_list_params.py +34 -0
  914. telnyx/types/document_link_list_response.py +30 -0
  915. telnyx/types/document_list_params.py +71 -0
  916. telnyx/types/document_retrieve_response.py +12 -0
  917. telnyx/types/document_update_params.py +15 -0
  918. telnyx/types/document_update_response.py +12 -0
  919. telnyx/types/document_upload_json_params.py +39 -0
  920. telnyx/types/document_upload_json_response.py +12 -0
  921. telnyx/types/document_upload_params.py +39 -0
  922. telnyx/types/document_upload_response.py +12 -0
  923. telnyx/types/dtmf_type.py +7 -0
  924. telnyx/types/dynamic_emergency_address.py +52 -0
  925. telnyx/types/dynamic_emergency_address_create_params.py +31 -0
  926. telnyx/types/dynamic_emergency_address_create_response.py +12 -0
  927. telnyx/types/dynamic_emergency_address_delete_response.py +12 -0
  928. telnyx/types/dynamic_emergency_address_list_params.py +34 -0
  929. telnyx/types/dynamic_emergency_address_retrieve_response.py +12 -0
  930. telnyx/types/dynamic_emergency_endpoint.py +33 -0
  931. telnyx/types/dynamic_emergency_endpoint_create_params.py +16 -0
  932. telnyx/types/dynamic_emergency_endpoint_create_response.py +12 -0
  933. telnyx/types/dynamic_emergency_endpoint_delete_response.py +12 -0
  934. telnyx/types/dynamic_emergency_endpoint_list_params.py +34 -0
  935. telnyx/types/dynamic_emergency_endpoint_retrieve_response.py +12 -0
  936. telnyx/types/encrypted_media.py +8 -0
  937. telnyx/types/external_connection.py +75 -0
  938. telnyx/types/external_connection_create_params.py +62 -0
  939. telnyx/types/external_connection_create_response.py +12 -0
  940. telnyx/types/external_connection_delete_response.py +12 -0
  941. telnyx/types/external_connection_list_params.py +78 -0
  942. telnyx/types/external_connection_retrieve_response.py +12 -0
  943. telnyx/types/external_connection_update_location_params.py +14 -0
  944. telnyx/types/external_connection_update_location_response.py +19 -0
  945. telnyx/types/external_connection_update_params.py +56 -0
  946. telnyx/types/external_connection_update_response.py +12 -0
  947. telnyx/types/external_connections/__init__.py +28 -0
  948. telnyx/types/external_connections/civic_address_list_params.py +27 -0
  949. telnyx/types/external_connections/civic_address_list_response.py +60 -0
  950. telnyx/types/external_connections/civic_address_retrieve_response.py +60 -0
  951. telnyx/types/external_connections/external_connection_phone_number.py +35 -0
  952. telnyx/types/external_connections/log_message_dismiss_response.py +12 -0
  953. telnyx/types/external_connections/log_message_list_params.py +57 -0
  954. telnyx/types/external_connections/log_message_list_response.py +35 -0
  955. telnyx/types/external_connections/log_message_retrieve_response.py +39 -0
  956. telnyx/types/external_connections/phone_number_list_params.py +53 -0
  957. telnyx/types/external_connections/phone_number_retrieve_response.py +12 -0
  958. telnyx/types/external_connections/phone_number_update_params.py +14 -0
  959. telnyx/types/external_connections/phone_number_update_response.py +12 -0
  960. telnyx/types/external_connections/release_list_params.py +77 -0
  961. telnyx/types/external_connections/release_list_response.py +36 -0
  962. telnyx/types/external_connections/release_retrieve_response.py +40 -0
  963. telnyx/types/external_connections/tn_upload_entry.py +58 -0
  964. telnyx/types/external_connections/upload.py +33 -0
  965. telnyx/types/external_connections/upload_create_params.py +28 -0
  966. telnyx/types/external_connections/upload_create_response.py +15 -0
  967. telnyx/types/external_connections/upload_list_params.py +68 -0
  968. telnyx/types/external_connections/upload_pending_count_response.py +22 -0
  969. telnyx/types/external_connections/upload_refresh_status_response.py +12 -0
  970. telnyx/types/external_connections/upload_retrieve_response.py +12 -0
  971. telnyx/types/external_connections/upload_retry_response.py +12 -0
  972. telnyx/types/external_voice_integrations_pagination_meta.py +17 -0
  973. telnyx/types/fax.py +108 -0
  974. telnyx/types/fax_application.py +94 -0
  975. telnyx/types/fax_application_create_params.py +84 -0
  976. telnyx/types/fax_application_create_response.py +12 -0
  977. telnyx/types/fax_application_delete_response.py +12 -0
  978. telnyx/types/fax_application_list_params.py +64 -0
  979. telnyx/types/fax_application_retrieve_response.py +12 -0
  980. telnyx/types/fax_application_update_params.py +90 -0
  981. telnyx/types/fax_application_update_response.py +12 -0
  982. telnyx/types/fax_create_params.py +87 -0
  983. telnyx/types/fax_create_response.py +12 -0
  984. telnyx/types/fax_delivered_webhook_event.py +69 -0
  985. telnyx/types/fax_delivered_webhook_event1.py +69 -0
  986. telnyx/types/fax_failed_webhook_event.py +66 -0
  987. telnyx/types/fax_failed_webhook_event1.py +66 -0
  988. telnyx/types/fax_list_params.py +87 -0
  989. telnyx/types/fax_media_processed_webhook_event.py +63 -0
  990. telnyx/types/fax_media_processed_webhook_event1.py +63 -0
  991. telnyx/types/fax_queued_webhook_event.py +63 -0
  992. telnyx/types/fax_queued_webhook_event1.py +63 -0
  993. telnyx/types/fax_retrieve_response.py +12 -0
  994. telnyx/types/fax_sending_started_webhook_event.py +63 -0
  995. telnyx/types/fax_sending_started_webhook_event1.py +63 -0
  996. telnyx/types/faxes/__init__.py +6 -0
  997. telnyx/types/faxes/action_cancel_response.py +11 -0
  998. telnyx/types/faxes/action_refresh_response.py +11 -0
  999. telnyx/types/fqdn.py +38 -0
  1000. telnyx/types/fqdn_connection.py +202 -0
  1001. telnyx/types/fqdn_connection_create_params.py +163 -0
  1002. telnyx/types/fqdn_connection_create_response.py +12 -0
  1003. telnyx/types/fqdn_connection_delete_response.py +12 -0
  1004. telnyx/types/fqdn_connection_list_params.py +70 -0
  1005. telnyx/types/fqdn_connection_retrieve_response.py +12 -0
  1006. telnyx/types/fqdn_connection_update_params.py +157 -0
  1007. telnyx/types/fqdn_connection_update_response.py +12 -0
  1008. telnyx/types/fqdn_create_params.py +27 -0
  1009. telnyx/types/fqdn_create_response.py +12 -0
  1010. telnyx/types/fqdn_delete_response.py +12 -0
  1011. telnyx/types/fqdn_list_params.py +41 -0
  1012. telnyx/types/fqdn_retrieve_response.py +12 -0
  1013. telnyx/types/fqdn_update_params.py +27 -0
  1014. telnyx/types/fqdn_update_response.py +12 -0
  1015. telnyx/types/gcs_configuration_data.py +22 -0
  1016. telnyx/types/gcs_configuration_data_param.py +21 -0
  1017. telnyx/types/global_ip_allowed_port_list_response.py +31 -0
  1018. telnyx/types/global_ip_assignment.py +21 -0
  1019. telnyx/types/global_ip_assignment_create_response.py +12 -0
  1020. telnyx/types/global_ip_assignment_delete_response.py +12 -0
  1021. telnyx/types/global_ip_assignment_health_retrieve_params.py +71 -0
  1022. telnyx/types/global_ip_assignment_health_retrieve_response.py +66 -0
  1023. telnyx/types/global_ip_assignment_list_params.py +15 -0
  1024. telnyx/types/global_ip_assignment_param.py +11 -0
  1025. telnyx/types/global_ip_assignment_retrieve_response.py +12 -0
  1026. telnyx/types/global_ip_assignment_update_params.py +20 -0
  1027. telnyx/types/global_ip_assignment_update_response.py +12 -0
  1028. telnyx/types/global_ip_assignments_usage_retrieve_params.py +71 -0
  1029. telnyx/types/global_ip_assignments_usage_retrieve_response.py +75 -0
  1030. telnyx/types/global_ip_create_params.py +19 -0
  1031. telnyx/types/global_ip_create_response.py +26 -0
  1032. telnyx/types/global_ip_delete_response.py +26 -0
  1033. telnyx/types/global_ip_health_check_create_params.py +19 -0
  1034. telnyx/types/global_ip_health_check_create_response.py +23 -0
  1035. telnyx/types/global_ip_health_check_delete_response.py +23 -0
  1036. telnyx/types/global_ip_health_check_list_params.py +15 -0
  1037. telnyx/types/global_ip_health_check_list_response.py +18 -0
  1038. telnyx/types/global_ip_health_check_retrieve_response.py +23 -0
  1039. telnyx/types/global_ip_health_check_type_list_response.py +22 -0
  1040. telnyx/types/global_ip_latency_retrieve_params.py +44 -0
  1041. telnyx/types/global_ip_latency_retrieve_response.py +143 -0
  1042. telnyx/types/global_ip_list_params.py +15 -0
  1043. telnyx/types/global_ip_list_response.py +21 -0
  1044. telnyx/types/global_ip_protocol_list_response.py +22 -0
  1045. telnyx/types/global_ip_retrieve_response.py +26 -0
  1046. telnyx/types/global_ip_usage_retrieve_params.py +44 -0
  1047. telnyx/types/global_ip_usage_retrieve_response.py +47 -0
  1048. telnyx/types/inbound_channel_list_response.py +19 -0
  1049. telnyx/types/inbound_channel_update_params.py +12 -0
  1050. telnyx/types/inbound_channel_update_response.py +19 -0
  1051. telnyx/types/inbound_fqdn.py +111 -0
  1052. telnyx/types/inbound_fqdn_param.py +113 -0
  1053. telnyx/types/inbound_ip.py +111 -0
  1054. telnyx/types/inbound_ip_param.py +112 -0
  1055. telnyx/types/inbound_message_webhook_event.py +30 -0
  1056. telnyx/types/inbound_message_webhook_event1.py +30 -0
  1057. telnyx/types/inexplicit_number_order_create_params.py +97 -0
  1058. telnyx/types/inexplicit_number_order_create_response.py +12 -0
  1059. telnyx/types/inexplicit_number_order_list_params.py +15 -0
  1060. telnyx/types/inexplicit_number_order_response.py +103 -0
  1061. telnyx/types/inexplicit_number_order_retrieve_response.py +12 -0
  1062. telnyx/types/integration_secret.py +20 -0
  1063. telnyx/types/integration_secret_create_params.py +30 -0
  1064. telnyx/types/integration_secret_create_response.py +10 -0
  1065. telnyx/types/integration_secret_list_params.py +24 -0
  1066. telnyx/types/interface_status.py +7 -0
  1067. telnyx/types/inventory_coverage_list_params.py +91 -0
  1068. telnyx/types/inventory_coverage_list_response.py +41 -0
  1069. telnyx/types/invoice_list_params.py +18 -0
  1070. telnyx/types/invoice_list_response.py +22 -0
  1071. telnyx/types/invoice_retrieve_params.py +12 -0
  1072. telnyx/types/invoice_retrieve_response.py +29 -0
  1073. telnyx/types/ip.py +30 -0
  1074. telnyx/types/ip_connection.py +160 -0
  1075. telnyx/types/ip_connection_create_params.py +235 -0
  1076. telnyx/types/ip_connection_create_response.py +12 -0
  1077. telnyx/types/ip_connection_delete_response.py +12 -0
  1078. telnyx/types/ip_connection_list_params.py +70 -0
  1079. telnyx/types/ip_connection_retrieve_response.py +12 -0
  1080. telnyx/types/ip_connection_update_params.py +154 -0
  1081. telnyx/types/ip_connection_update_response.py +12 -0
  1082. telnyx/types/ip_create_params.py +18 -0
  1083. telnyx/types/ip_create_response.py +12 -0
  1084. telnyx/types/ip_delete_response.py +12 -0
  1085. telnyx/types/ip_list_params.py +37 -0
  1086. telnyx/types/ip_retrieve_response.py +12 -0
  1087. telnyx/types/ip_update_params.py +18 -0
  1088. telnyx/types/ip_update_response.py +12 -0
  1089. telnyx/types/ledger_billing_group_report.py +32 -0
  1090. telnyx/types/ledger_billing_group_report_create_params.py +15 -0
  1091. telnyx/types/ledger_billing_group_report_create_response.py +12 -0
  1092. telnyx/types/ledger_billing_group_report_retrieve_response.py +12 -0
  1093. telnyx/types/legacy/__init__.py +3 -0
  1094. telnyx/types/legacy/reporting/__init__.py +12 -0
  1095. telnyx/types/legacy/reporting/batch_detail_records/__init__.py +24 -0
  1096. telnyx/types/legacy/reporting/batch_detail_records/batch_csv_pagination_meta.py +17 -0
  1097. telnyx/types/legacy/reporting/batch_detail_records/cdr_detailed_req_response.py +65 -0
  1098. telnyx/types/legacy/reporting/batch_detail_records/mdr_detail_report_response.py +42 -0
  1099. telnyx/types/legacy/reporting/batch_detail_records/messaging_create_params.py +55 -0
  1100. telnyx/types/legacy/reporting/batch_detail_records/messaging_create_response.py +12 -0
  1101. telnyx/types/legacy/reporting/batch_detail_records/messaging_delete_response.py +12 -0
  1102. telnyx/types/legacy/reporting/batch_detail_records/messaging_list_response.py +15 -0
  1103. telnyx/types/legacy/reporting/batch_detail_records/messaging_retrieve_response.py +12 -0
  1104. telnyx/types/legacy/reporting/batch_detail_records/speech_to_text_create_params.py +19 -0
  1105. telnyx/types/legacy/reporting/batch_detail_records/speech_to_text_create_response.py +12 -0
  1106. telnyx/types/legacy/reporting/batch_detail_records/speech_to_text_delete_response.py +12 -0
  1107. telnyx/types/legacy/reporting/batch_detail_records/speech_to_text_list_response.py +12 -0
  1108. telnyx/types/legacy/reporting/batch_detail_records/speech_to_text_retrieve_response.py +12 -0
  1109. telnyx/types/legacy/reporting/batch_detail_records/stt_detail_report_response.py +27 -0
  1110. telnyx/types/legacy/reporting/batch_detail_records/voice_create_params.py +57 -0
  1111. telnyx/types/legacy/reporting/batch_detail_records/voice_create_response.py +13 -0
  1112. telnyx/types/legacy/reporting/batch_detail_records/voice_delete_response.py +13 -0
  1113. telnyx/types/legacy/reporting/batch_detail_records/voice_list_response.py +15 -0
  1114. telnyx/types/legacy/reporting/batch_detail_records/voice_retrieve_fields_response.py +25 -0
  1115. telnyx/types/legacy/reporting/batch_detail_records/voice_retrieve_response.py +13 -0
  1116. telnyx/types/legacy/reporting/filter.py +36 -0
  1117. telnyx/types/legacy/reporting/filter_param.py +35 -0
  1118. telnyx/types/legacy/reporting/usage_report_retrieve_speech_to_text_params.py +17 -0
  1119. telnyx/types/legacy/reporting/usage_report_retrieve_speech_to_text_response.py +11 -0
  1120. telnyx/types/legacy/reporting/usage_reports/__init__.py +24 -0
  1121. telnyx/types/legacy/reporting/usage_reports/cdr_usage_report_response_legacy.py +45 -0
  1122. telnyx/types/legacy/reporting/usage_reports/mdr_usage_report_response_legacy.py +40 -0
  1123. telnyx/types/legacy/reporting/usage_reports/messaging_create_params.py +29 -0
  1124. telnyx/types/legacy/reporting/usage_reports/messaging_create_response.py +13 -0
  1125. telnyx/types/legacy/reporting/usage_reports/messaging_delete_response.py +13 -0
  1126. telnyx/types/legacy/reporting/usage_reports/messaging_list_params.py +15 -0
  1127. telnyx/types/legacy/reporting/usage_reports/messaging_retrieve_response.py +13 -0
  1128. telnyx/types/legacy/reporting/usage_reports/number_lookup_create_params.py +26 -0
  1129. telnyx/types/legacy/reporting/usage_reports/number_lookup_create_response.py +13 -0
  1130. telnyx/types/legacy/reporting/usage_reports/number_lookup_list_response.py +15 -0
  1131. telnyx/types/legacy/reporting/usage_reports/number_lookup_retrieve_response.py +13 -0
  1132. telnyx/types/legacy/reporting/usage_reports/standard_pagination_meta.py +17 -0
  1133. telnyx/types/legacy/reporting/usage_reports/telco_data_aggregation.py +21 -0
  1134. telnyx/types/legacy/reporting/usage_reports/telco_data_usage_record.py +19 -0
  1135. telnyx/types/legacy/reporting/usage_reports/telco_data_usage_report_response.py +46 -0
  1136. telnyx/types/legacy/reporting/usage_reports/voice_create_params.py +40 -0
  1137. telnyx/types/legacy/reporting/usage_reports/voice_create_response.py +13 -0
  1138. telnyx/types/legacy/reporting/usage_reports/voice_delete_response.py +13 -0
  1139. telnyx/types/legacy/reporting/usage_reports/voice_list_params.py +15 -0
  1140. telnyx/types/legacy/reporting/usage_reports/voice_retrieve_response.py +13 -0
  1141. telnyx/types/list_retrieve_all_response.py +30 -0
  1142. telnyx/types/list_retrieve_by_zone_response.py +30 -0
  1143. telnyx/types/managed_account.py +61 -0
  1144. telnyx/types/managed_account_balance.py +25 -0
  1145. telnyx/types/managed_account_create_params.py +48 -0
  1146. telnyx/types/managed_account_create_response.py +12 -0
  1147. telnyx/types/managed_account_get_allocatable_global_outbound_channels_response.py +39 -0
  1148. telnyx/types/managed_account_list_params.py +83 -0
  1149. telnyx/types/managed_account_list_response.py +52 -0
  1150. telnyx/types/managed_account_retrieve_response.py +12 -0
  1151. telnyx/types/managed_account_update_global_channel_limit_params.py +17 -0
  1152. telnyx/types/managed_account_update_global_channel_limit_response.py +32 -0
  1153. telnyx/types/managed_account_update_params.py +17 -0
  1154. telnyx/types/managed_account_update_response.py +12 -0
  1155. telnyx/types/managed_accounts/__init__.py +7 -0
  1156. telnyx/types/managed_accounts/action_disable_response.py +12 -0
  1157. telnyx/types/managed_accounts/action_enable_params.py +16 -0
  1158. telnyx/types/managed_accounts/action_enable_response.py +12 -0
  1159. telnyx/types/media_list_params.py +27 -0
  1160. telnyx/types/media_list_response.py +15 -0
  1161. telnyx/types/media_resource.py +24 -0
  1162. telnyx/types/media_retrieve_response.py +12 -0
  1163. telnyx/types/media_update_params.py +21 -0
  1164. telnyx/types/media_update_response.py +12 -0
  1165. telnyx/types/media_upload_params.py +24 -0
  1166. telnyx/types/media_upload_response.py +12 -0
  1167. telnyx/types/message_cancel_scheduled_response.py +230 -0
  1168. telnyx/types/message_retrieve_response.py +19 -0
  1169. telnyx/types/message_schedule_params.py +78 -0
  1170. telnyx/types/message_schedule_response.py +12 -0
  1171. telnyx/types/message_send_group_mms_params.py +43 -0
  1172. telnyx/types/message_send_group_mms_response.py +12 -0
  1173. telnyx/types/message_send_long_code_params.py +58 -0
  1174. telnyx/types/message_send_long_code_response.py +12 -0
  1175. telnyx/types/message_send_number_pool_params.py +57 -0
  1176. telnyx/types/message_send_number_pool_response.py +12 -0
  1177. telnyx/types/message_send_params.py +78 -0
  1178. telnyx/types/message_send_response.py +12 -0
  1179. telnyx/types/message_send_short_code_params.py +58 -0
  1180. telnyx/types/message_send_short_code_response.py +12 -0
  1181. telnyx/types/message_send_whatsapp_params.py +291 -0
  1182. telnyx/types/message_send_whatsapp_response.py +345 -0
  1183. telnyx/types/message_template.py +12 -0
  1184. telnyx/types/messages/__init__.py +8 -0
  1185. telnyx/types/messages/rc_generate_deeplink_params.py +15 -0
  1186. telnyx/types/messages/rc_generate_deeplink_response.py +14 -0
  1187. telnyx/types/messages/rc_send_params.py +67 -0
  1188. telnyx/types/messages/rc_send_response.py +59 -0
  1189. telnyx/types/messaging/__init__.py +9 -0
  1190. telnyx/types/messaging/rc_invite_test_number_response.py +26 -0
  1191. telnyx/types/messaging/rc_list_bulk_capabilities_params.py +17 -0
  1192. telnyx/types/messaging/rc_list_bulk_capabilities_response.py +12 -0
  1193. telnyx/types/messaging/rc_retrieve_capabilities_response.py +12 -0
  1194. telnyx/types/messaging/rcs/__init__.py +6 -0
  1195. telnyx/types/messaging/rcs/agent_list_params.py +15 -0
  1196. telnyx/types/messaging/rcs/agent_update_params.py +19 -0
  1197. telnyx/types/messaging/rcs_capabilities.py +25 -0
  1198. telnyx/types/messaging_10dlc/__init__.py +75 -0
  1199. telnyx/types/messaging_10dlc/alt_business_id_type.py +7 -0
  1200. telnyx/types/messaging_10dlc/brand/__init__.py +9 -0
  1201. telnyx/types/messaging_10dlc/brand/external_vetting_imports_params.py +23 -0
  1202. telnyx/types/messaging_10dlc/brand/external_vetting_imports_response.py +43 -0
  1203. telnyx/types/messaging_10dlc/brand/external_vetting_list_response.py +47 -0
  1204. telnyx/types/messaging_10dlc/brand/external_vetting_order_params.py +17 -0
  1205. telnyx/types/messaging_10dlc/brand/external_vetting_order_response.py +43 -0
  1206. telnyx/types/messaging_10dlc/brand_create_params.py +92 -0
  1207. telnyx/types/messaging_10dlc/brand_get_feedback_response.py +31 -0
  1208. telnyx/types/messaging_10dlc/brand_identity_status.py +7 -0
  1209. telnyx/types/messaging_10dlc/brand_list_params.py +51 -0
  1210. telnyx/types/messaging_10dlc/brand_list_response.py +53 -0
  1211. telnyx/types/messaging_10dlc/brand_retrieve_response.py +16 -0
  1212. telnyx/types/messaging_10dlc/brand_retrieve_sms_otp_status_response.py +43 -0
  1213. telnyx/types/messaging_10dlc/brand_trigger_sms_otp_params.py +20 -0
  1214. telnyx/types/messaging_10dlc/brand_trigger_sms_otp_response.py +17 -0
  1215. telnyx/types/messaging_10dlc/brand_update_params.py +97 -0
  1216. telnyx/types/messaging_10dlc/brand_verify_sms_otp_params.py +14 -0
  1217. telnyx/types/messaging_10dlc/campaign/__init__.py +7 -0
  1218. telnyx/types/messaging_10dlc/campaign/osr_get_attributes_response.py +8 -0
  1219. telnyx/types/messaging_10dlc/campaign/usecase_get_cost_params.py +11 -0
  1220. telnyx/types/messaging_10dlc/campaign/usecase_get_cost_response.py +17 -0
  1221. telnyx/types/messaging_10dlc/campaign_accept_sharing_response.py +8 -0
  1222. telnyx/types/messaging_10dlc/campaign_builder/__init__.py +5 -0
  1223. telnyx/types/messaging_10dlc/campaign_builder/brand_qualify_by_usecase_response.py +36 -0
  1224. telnyx/types/messaging_10dlc/campaign_builder_submit_params.py +146 -0
  1225. telnyx/types/messaging_10dlc/campaign_deactivate_response.py +15 -0
  1226. telnyx/types/messaging_10dlc/campaign_get_mno_metadata_response.py +47 -0
  1227. telnyx/types/messaging_10dlc/campaign_get_operation_status_response.py +8 -0
  1228. telnyx/types/messaging_10dlc/campaign_get_sharing_status_response.py +16 -0
  1229. telnyx/types/messaging_10dlc/campaign_list_params.py +39 -0
  1230. telnyx/types/messaging_10dlc/campaign_list_response.py +217 -0
  1231. telnyx/types/messaging_10dlc/campaign_sharing_status.py +21 -0
  1232. telnyx/types/messaging_10dlc/campaign_submit_appeal_params.py +15 -0
  1233. telnyx/types/messaging_10dlc/campaign_submit_appeal_response.py +13 -0
  1234. telnyx/types/messaging_10dlc/campaign_update_params.py +47 -0
  1235. telnyx/types/messaging_10dlc/entity_type.py +7 -0
  1236. telnyx/types/messaging_10dlc/partner_campaign_list_params.py +39 -0
  1237. telnyx/types/messaging_10dlc/partner_campaign_list_shared_by_me_params.py +20 -0
  1238. telnyx/types/messaging_10dlc/partner_campaign_list_shared_by_me_response.py +41 -0
  1239. telnyx/types/messaging_10dlc/partner_campaign_retrieve_sharing_status_response.py +10 -0
  1240. telnyx/types/messaging_10dlc/partner_campaign_update_params.py +17 -0
  1241. telnyx/types/messaging_10dlc/phone_number_assignment_by_profile_assign_params.py +29 -0
  1242. telnyx/types/messaging_10dlc/phone_number_assignment_by_profile_assign_response.py +32 -0
  1243. telnyx/types/messaging_10dlc/phone_number_assignment_by_profile_list_phone_number_status_params.py +15 -0
  1244. telnyx/types/messaging_10dlc/phone_number_assignment_by_profile_list_phone_number_status_response.py +24 -0
  1245. telnyx/types/messaging_10dlc/phone_number_assignment_by_profile_retrieve_phone_number_status_params.py +15 -0
  1246. telnyx/types/messaging_10dlc/phone_number_assignment_by_profile_retrieve_phone_number_status_response.py +24 -0
  1247. telnyx/types/messaging_10dlc/phone_number_assignment_by_profile_retrieve_status_response.py +22 -0
  1248. telnyx/types/messaging_10dlc/phone_number_campaign.py +48 -0
  1249. telnyx/types/messaging_10dlc/phone_number_campaign_create_params.py +17 -0
  1250. telnyx/types/messaging_10dlc/phone_number_campaign_list_params.py +47 -0
  1251. telnyx/types/messaging_10dlc/phone_number_campaign_update_params.py +17 -0
  1252. telnyx/types/messaging_10dlc/stock_exchange.py +33 -0
  1253. telnyx/types/messaging_10dlc/task_status.py +7 -0
  1254. telnyx/types/messaging_10dlc/telnyx_brand.py +144 -0
  1255. telnyx/types/messaging_10dlc/telnyx_campaign_csp.py +218 -0
  1256. telnyx/types/messaging_10dlc/telnyx_downstream_campaign.py +158 -0
  1257. telnyx/types/messaging_10dlc/vertical.py +25 -0
  1258. telnyx/types/messaging_10dlc_get_enum_response.py +23 -0
  1259. telnyx/types/messaging_error.py +27 -0
  1260. telnyx/types/messaging_hosted_number_delete_response.py +12 -0
  1261. telnyx/types/messaging_hosted_number_order_check_eligibility_params.py +14 -0
  1262. telnyx/types/messaging_hosted_number_order_check_eligibility_response.py +42 -0
  1263. telnyx/types/messaging_hosted_number_order_create_params.py +20 -0
  1264. telnyx/types/messaging_hosted_number_order_create_response.py +12 -0
  1265. telnyx/types/messaging_hosted_number_order_create_verification_codes_params.py +15 -0
  1266. telnyx/types/messaging_hosted_number_order_create_verification_codes_response.py +28 -0
  1267. telnyx/types/messaging_hosted_number_order_delete_response.py +12 -0
  1268. telnyx/types/messaging_hosted_number_order_list_params.py +15 -0
  1269. telnyx/types/messaging_hosted_number_order_retrieve_response.py +12 -0
  1270. telnyx/types/messaging_hosted_number_order_validate_codes_params.py +18 -0
  1271. telnyx/types/messaging_hosted_number_order_validate_codes_response.py +24 -0
  1272. telnyx/types/messaging_hosted_number_orders/__init__.py +6 -0
  1273. telnyx/types/messaging_hosted_number_orders/action_upload_file_params.py +20 -0
  1274. telnyx/types/messaging_hosted_number_orders/action_upload_file_response.py +12 -0
  1275. telnyx/types/messaging_numbers_bulk_update_create_params.py +23 -0
  1276. telnyx/types/messaging_numbers_bulk_update_create_response.py +29 -0
  1277. telnyx/types/messaging_numbers_bulk_update_retrieve_response.py +29 -0
  1278. telnyx/types/messaging_optout_list_params.py +64 -0
  1279. telnyx/types/messaging_optout_list_response.py +30 -0
  1280. telnyx/types/messaging_profile.py +120 -0
  1281. telnyx/types/messaging_profile_create_params.py +94 -0
  1282. telnyx/types/messaging_profile_create_response.py +12 -0
  1283. telnyx/types/messaging_profile_delete_response.py +12 -0
  1284. telnyx/types/messaging_profile_list_params.py +25 -0
  1285. telnyx/types/messaging_profile_list_phone_numbers_params.py +15 -0
  1286. telnyx/types/messaging_profile_list_short_codes_params.py +15 -0
  1287. telnyx/types/messaging_profile_retrieve_response.py +12 -0
  1288. telnyx/types/messaging_profile_update_params.py +99 -0
  1289. telnyx/types/messaging_profile_update_response.py +12 -0
  1290. telnyx/types/messaging_profiles/__init__.py +11 -0
  1291. telnyx/types/messaging_profiles/auto_resp_config.py +25 -0
  1292. telnyx/types/messaging_profiles/auto_resp_config_response.py +10 -0
  1293. telnyx/types/messaging_profiles/autoresp_config_create_params.py +19 -0
  1294. telnyx/types/messaging_profiles/autoresp_config_delete_response.py +7 -0
  1295. telnyx/types/messaging_profiles/autoresp_config_list_params.py +45 -0
  1296. telnyx/types/messaging_profiles/autoresp_config_list_response.py +17 -0
  1297. telnyx/types/messaging_profiles/autoresp_config_update_params.py +21 -0
  1298. telnyx/types/messaging_tollfree/__init__.py +3 -0
  1299. telnyx/types/messaging_tollfree/verification/__init__.py +17 -0
  1300. telnyx/types/messaging_tollfree/verification/request_create_params.py +150 -0
  1301. telnyx/types/messaging_tollfree/verification/request_list_params.py +31 -0
  1302. telnyx/types/messaging_tollfree/verification/request_update_params.py +150 -0
  1303. telnyx/types/messaging_tollfree/verification/tf_phone_number.py +13 -0
  1304. telnyx/types/messaging_tollfree/verification/tf_phone_number_param.py +15 -0
  1305. telnyx/types/messaging_tollfree/verification/tf_verification_status.py +9 -0
  1306. telnyx/types/messaging_tollfree/verification/toll_free_verification_entity_type.py +9 -0
  1307. telnyx/types/messaging_tollfree/verification/url.py +9 -0
  1308. telnyx/types/messaging_tollfree/verification/url_param.py +11 -0
  1309. telnyx/types/messaging_tollfree/verification/use_case_categories.py +51 -0
  1310. telnyx/types/messaging_tollfree/verification/verification_request_egress.py +101 -0
  1311. telnyx/types/messaging_tollfree/verification/verification_request_status.py +106 -0
  1312. telnyx/types/messaging_tollfree/verification/volume.py +9 -0
  1313. telnyx/types/messaging_url_domain_list_params.py +15 -0
  1314. telnyx/types/messaging_url_domain_list_response.py +17 -0
  1315. telnyx/types/mobile_network_operator_list_params.py +61 -0
  1316. telnyx/types/mobile_network_operator_list_response.py +50 -0
  1317. telnyx/types/mobile_phone_number.py +110 -0
  1318. telnyx/types/mobile_phone_number_list_params.py +17 -0
  1319. telnyx/types/mobile_phone_number_retrieve_response.py +12 -0
  1320. telnyx/types/mobile_phone_number_update_params.py +72 -0
  1321. telnyx/types/mobile_phone_number_update_response.py +12 -0
  1322. telnyx/types/mobile_phone_numbers/__init__.py +7 -0
  1323. telnyx/types/mobile_phone_numbers/messaging_list_params.py +15 -0
  1324. telnyx/types/mobile_phone_numbers/messaging_list_response.py +53 -0
  1325. telnyx/types/mobile_phone_numbers/messaging_retrieve_response.py +57 -0
  1326. telnyx/types/mobile_push_credential_create_params.py +51 -0
  1327. telnyx/types/mobile_push_credential_list_params.py +34 -0
  1328. telnyx/types/mobile_voice_connection.py +56 -0
  1329. telnyx/types/mobile_voice_connection_create_params.py +40 -0
  1330. telnyx/types/mobile_voice_connection_create_response.py +12 -0
  1331. telnyx/types/mobile_voice_connection_delete_response.py +12 -0
  1332. telnyx/types/mobile_voice_connection_list_params.py +26 -0
  1333. telnyx/types/mobile_voice_connection_retrieve_response.py +12 -0
  1334. telnyx/types/mobile_voice_connection_update_params.py +40 -0
  1335. telnyx/types/mobile_voice_connection_update_response.py +12 -0
  1336. telnyx/types/month_detail.py +18 -0
  1337. telnyx/types/network_coverage_list_params.py +75 -0
  1338. telnyx/types/network_coverage_list_response.py +35 -0
  1339. telnyx/types/network_create_params.py +12 -0
  1340. telnyx/types/network_create_response.py +17 -0
  1341. telnyx/types/network_delete_response.py +17 -0
  1342. telnyx/types/network_interface.py +19 -0
  1343. telnyx/types/network_interface_region.py +12 -0
  1344. telnyx/types/network_list_interfaces_params.py +34 -0
  1345. telnyx/types/network_list_interfaces_response.py +33 -0
  1346. telnyx/types/network_list_params.py +25 -0
  1347. telnyx/types/network_list_response.py +12 -0
  1348. telnyx/types/network_retrieve_response.py +17 -0
  1349. telnyx/types/network_update_params.py +12 -0
  1350. telnyx/types/network_update_response.py +17 -0
  1351. telnyx/types/networks/__init__.py +8 -0
  1352. telnyx/types/networks/default_gateway_create_params.py +12 -0
  1353. telnyx/types/networks/default_gateway_create_response.py +27 -0
  1354. telnyx/types/networks/default_gateway_delete_response.py +27 -0
  1355. telnyx/types/networks/default_gateway_retrieve_response.py +27 -0
  1356. telnyx/types/notification_channel.py +31 -0
  1357. telnyx/types/notification_channel_create_params.py +18 -0
  1358. telnyx/types/notification_channel_create_response.py +13 -0
  1359. telnyx/types/notification_channel_delete_response.py +13 -0
  1360. telnyx/types/notification_channel_list_params.py +90 -0
  1361. telnyx/types/notification_channel_retrieve_response.py +13 -0
  1362. telnyx/types/notification_channel_update_params.py +18 -0
  1363. telnyx/types/notification_channel_update_response.py +13 -0
  1364. telnyx/types/notification_event_condition_list_params.py +90 -0
  1365. telnyx/types/notification_event_condition_list_response.py +52 -0
  1366. telnyx/types/notification_event_list_params.py +15 -0
  1367. telnyx/types/notification_event_list_response.py +28 -0
  1368. telnyx/types/notification_profile.py +24 -0
  1369. telnyx/types/notification_profile_create_params.py +12 -0
  1370. telnyx/types/notification_profile_create_response.py +13 -0
  1371. telnyx/types/notification_profile_delete_response.py +13 -0
  1372. telnyx/types/notification_profile_list_params.py +15 -0
  1373. telnyx/types/notification_profile_retrieve_response.py +13 -0
  1374. telnyx/types/notification_profile_update_params.py +12 -0
  1375. telnyx/types/notification_profile_update_response.py +13 -0
  1376. telnyx/types/notification_setting.py +55 -0
  1377. telnyx/types/notification_setting_create_params.py +27 -0
  1378. telnyx/types/notification_setting_create_response.py +12 -0
  1379. telnyx/types/notification_setting_delete_response.py +12 -0
  1380. telnyx/types/notification_setting_list_params.py +90 -0
  1381. telnyx/types/notification_setting_retrieve_response.py +12 -0
  1382. telnyx/types/number_block_order.py +48 -0
  1383. telnyx/types/number_block_order_create_params.py +24 -0
  1384. telnyx/types/number_block_order_create_response.py +12 -0
  1385. telnyx/types/number_block_order_list_params.py +48 -0
  1386. telnyx/types/number_block_order_retrieve_response.py +12 -0
  1387. telnyx/types/number_lookup_retrieve_params.py +12 -0
  1388. telnyx/types/number_lookup_retrieve_response.py +145 -0
  1389. telnyx/types/number_order_create_params.py +35 -0
  1390. telnyx/types/number_order_create_response.py +12 -0
  1391. telnyx/types/number_order_list_params.py +54 -0
  1392. telnyx/types/number_order_list_response.py +56 -0
  1393. telnyx/types/number_order_phone_number.py +55 -0
  1394. telnyx/types/number_order_phone_number_list_params.py +25 -0
  1395. telnyx/types/number_order_phone_number_list_response.py +15 -0
  1396. telnyx/types/number_order_phone_number_retrieve_response.py +12 -0
  1397. telnyx/types/number_order_phone_number_update_requirement_group_params.py +12 -0
  1398. telnyx/types/number_order_phone_number_update_requirement_group_response.py +54 -0
  1399. telnyx/types/number_order_phone_number_update_requirements_params.py +14 -0
  1400. telnyx/types/number_order_phone_number_update_requirements_response.py +12 -0
  1401. telnyx/types/number_order_retrieve_response.py +12 -0
  1402. telnyx/types/number_order_status_update_webhook_event.py +38 -0
  1403. telnyx/types/number_order_status_update_webhook_event1.py +38 -0
  1404. telnyx/types/number_order_update_params.py +17 -0
  1405. telnyx/types/number_order_update_response.py +12 -0
  1406. telnyx/types/number_order_with_phone_numbers.py +47 -0
  1407. telnyx/types/number_pool_settings.py +59 -0
  1408. telnyx/types/number_pool_settings_param.py +59 -0
  1409. telnyx/types/number_reservation.py +30 -0
  1410. telnyx/types/number_reservation_create_params.py +17 -0
  1411. telnyx/types/number_reservation_create_response.py +12 -0
  1412. telnyx/types/number_reservation_list_params.py +51 -0
  1413. telnyx/types/number_reservation_retrieve_response.py +12 -0
  1414. telnyx/types/number_reservations/__init__.py +5 -0
  1415. telnyx/types/number_reservations/action_extend_response.py +12 -0
  1416. telnyx/types/numbers_feature_create_params.py +13 -0
  1417. telnyx/types/numbers_feature_create_response.py +17 -0
  1418. telnyx/types/oauth_client.py +59 -0
  1419. telnyx/types/oauth_client_create_params.py +39 -0
  1420. telnyx/types/oauth_client_create_response.py +12 -0
  1421. telnyx/types/oauth_client_list_params.py +38 -0
  1422. telnyx/types/oauth_client_retrieve_response.py +12 -0
  1423. telnyx/types/oauth_client_update_params.py +36 -0
  1424. telnyx/types/oauth_client_update_response.py +12 -0
  1425. telnyx/types/oauth_grant.py +29 -0
  1426. telnyx/types/oauth_grant_delete_response.py +12 -0
  1427. telnyx/types/oauth_grant_list_params.py +17 -0
  1428. telnyx/types/oauth_grant_retrieve_response.py +12 -0
  1429. telnyx/types/oauth_grants_params.py +15 -0
  1430. telnyx/types/oauth_grants_response.py +10 -0
  1431. telnyx/types/oauth_introspect_params.py +12 -0
  1432. telnyx/types/oauth_introspect_response.py +30 -0
  1433. telnyx/types/oauth_register_params.py +39 -0
  1434. telnyx/types/oauth_register_response.py +45 -0
  1435. telnyx/types/oauth_retrieve_authorize_params.py +30 -0
  1436. telnyx/types/oauth_retrieve_jwks_response.py +25 -0
  1437. telnyx/types/oauth_retrieve_response.py +47 -0
  1438. telnyx/types/oauth_token_params.py +33 -0
  1439. telnyx/types/oauth_token_response.py +25 -0
  1440. telnyx/types/operator_connect/__init__.py +5 -0
  1441. telnyx/types/operator_connect/action_refresh_response.py +15 -0
  1442. telnyx/types/organizations/__init__.py +9 -0
  1443. telnyx/types/organizations/user_get_groups_report_response.py +60 -0
  1444. telnyx/types/organizations/user_list_params.py +30 -0
  1445. telnyx/types/organizations/user_list_response.py +57 -0
  1446. telnyx/types/organizations/user_retrieve_params.py +16 -0
  1447. telnyx/types/organizations/user_retrieve_response.py +61 -0
  1448. telnyx/types/organizations/users/__init__.py +5 -0
  1449. telnyx/types/organizations/users/action_remove_response.py +61 -0
  1450. telnyx/types/ota_update_list_params.py +37 -0
  1451. telnyx/types/ota_update_list_response.py +37 -0
  1452. telnyx/types/ota_update_retrieve_response.py +81 -0
  1453. telnyx/types/outbound_call_recording.py +28 -0
  1454. telnyx/types/outbound_call_recording_param.py +29 -0
  1455. telnyx/types/outbound_fqdn.py +86 -0
  1456. telnyx/types/outbound_fqdn_param.py +85 -0
  1457. telnyx/types/outbound_ip.py +73 -0
  1458. telnyx/types/outbound_ip_param.py +71 -0
  1459. telnyx/types/outbound_message_payload.py +216 -0
  1460. telnyx/types/outbound_voice_profile.py +114 -0
  1461. telnyx/types/outbound_voice_profile_create_params.py +102 -0
  1462. telnyx/types/outbound_voice_profile_create_response.py +12 -0
  1463. telnyx/types/outbound_voice_profile_delete_response.py +12 -0
  1464. telnyx/types/outbound_voice_profile_list_params.py +69 -0
  1465. telnyx/types/outbound_voice_profile_retrieve_response.py +12 -0
  1466. telnyx/types/outbound_voice_profile_update_params.py +102 -0
  1467. telnyx/types/outbound_voice_profile_update_response.py +12 -0
  1468. telnyx/types/pagination_meta.py +17 -0
  1469. telnyx/types/pagination_meta_cloudflare_ip_list_sync.py +15 -0
  1470. telnyx/types/pagination_meta_oauth.py +21 -0
  1471. telnyx/types/payment/__init__.py +7 -0
  1472. telnyx/types/payment/auto_recharge_pref_list_response.py +37 -0
  1473. telnyx/types/payment/auto_recharge_pref_update_params.py +26 -0
  1474. telnyx/types/payment/auto_recharge_pref_update_response.py +37 -0
  1475. telnyx/types/phone_number.py +49 -0
  1476. telnyx/types/phone_number_blocks/__init__.py +12 -0
  1477. telnyx/types/phone_number_blocks/job.py +60 -0
  1478. telnyx/types/phone_number_blocks/job_delete_phone_number_block_params.py +11 -0
  1479. telnyx/types/phone_number_blocks/job_delete_phone_number_block_response.py +12 -0
  1480. telnyx/types/phone_number_blocks/job_error.py +32 -0
  1481. telnyx/types/phone_number_blocks/job_list_params.py +40 -0
  1482. telnyx/types/phone_number_blocks/job_retrieve_response.py +12 -0
  1483. telnyx/types/phone_number_delete_response.py +120 -0
  1484. telnyx/types/phone_number_detailed.py +143 -0
  1485. telnyx/types/phone_number_list_params.py +146 -0
  1486. telnyx/types/phone_number_retrieve_response.py +12 -0
  1487. telnyx/types/phone_number_slim_list_params.py +150 -0
  1488. telnyx/types/phone_number_slim_list_response.py +118 -0
  1489. telnyx/types/phone_number_update_params.py +34 -0
  1490. telnyx/types/phone_number_update_response.py +12 -0
  1491. telnyx/types/phone_numbers/__init__.py +52 -0
  1492. telnyx/types/phone_numbers/action_change_bundle_status_params.py +18 -0
  1493. telnyx/types/phone_numbers/action_change_bundle_status_response.py +12 -0
  1494. telnyx/types/phone_numbers/action_enable_emergency_params.py +15 -0
  1495. telnyx/types/phone_numbers/action_enable_emergency_response.py +12 -0
  1496. telnyx/types/phone_numbers/action_verify_ownership_params.py +14 -0
  1497. telnyx/types/phone_numbers/action_verify_ownership_response.py +30 -0
  1498. telnyx/types/phone_numbers/call_forwarding.py +29 -0
  1499. telnyx/types/phone_numbers/call_forwarding_param.py +28 -0
  1500. telnyx/types/phone_numbers/call_recording.py +24 -0
  1501. telnyx/types/phone_numbers/call_recording_param.py +23 -0
  1502. telnyx/types/phone_numbers/cnam_listing.py +24 -0
  1503. telnyx/types/phone_numbers/cnam_listing_param.py +24 -0
  1504. telnyx/types/phone_numbers/csv_download.py +25 -0
  1505. telnyx/types/phone_numbers/csv_download_create_params.py +103 -0
  1506. telnyx/types/phone_numbers/csv_download_create_response.py +12 -0
  1507. telnyx/types/phone_numbers/csv_download_list_params.py +15 -0
  1508. telnyx/types/phone_numbers/csv_download_retrieve_response.py +12 -0
  1509. telnyx/types/phone_numbers/job_delete_batch_params.py +13 -0
  1510. telnyx/types/phone_numbers/job_delete_batch_response.py +12 -0
  1511. telnyx/types/phone_numbers/job_list_params.py +31 -0
  1512. telnyx/types/phone_numbers/job_retrieve_response.py +12 -0
  1513. telnyx/types/phone_numbers/job_update_batch_params.py +144 -0
  1514. telnyx/types/phone_numbers/job_update_batch_response.py +12 -0
  1515. telnyx/types/phone_numbers/job_update_emergency_settings_batch_params.py +24 -0
  1516. telnyx/types/phone_numbers/job_update_emergency_settings_batch_response.py +12 -0
  1517. telnyx/types/phone_numbers/media_features.py +30 -0
  1518. telnyx/types/phone_numbers/media_features_param.py +30 -0
  1519. telnyx/types/phone_numbers/messaging_list_params.py +15 -0
  1520. telnyx/types/phone_numbers/messaging_retrieve_response.py +12 -0
  1521. telnyx/types/phone_numbers/messaging_update_params.py +25 -0
  1522. telnyx/types/phone_numbers/messaging_update_response.py +12 -0
  1523. telnyx/types/phone_numbers/phone_number_with_voice_settings.py +86 -0
  1524. telnyx/types/phone_numbers/phone_numbers_job.py +87 -0
  1525. telnyx/types/phone_numbers/update_voice_settings_param.py +52 -0
  1526. telnyx/types/phone_numbers/voice_list_params.py +60 -0
  1527. telnyx/types/phone_numbers/voice_retrieve_response.py +12 -0
  1528. telnyx/types/phone_numbers/voice_update_params.py +52 -0
  1529. telnyx/types/phone_numbers/voice_update_response.py +12 -0
  1530. telnyx/types/phone_numbers/voicemail_create_params.py +15 -0
  1531. telnyx/types/phone_numbers/voicemail_create_response.py +12 -0
  1532. telnyx/types/phone_numbers/voicemail_pref_response.py +15 -0
  1533. telnyx/types/phone_numbers/voicemail_retrieve_response.py +12 -0
  1534. telnyx/types/phone_numbers/voicemail_update_params.py +15 -0
  1535. telnyx/types/phone_numbers/voicemail_update_response.py +12 -0
  1536. telnyx/types/phone_numbers_regulatory_requirement_retrieve_params.py +25 -0
  1537. telnyx/types/phone_numbers_regulatory_requirement_retrieve_response.py +62 -0
  1538. telnyx/types/portability_check_run_params.py +14 -0
  1539. telnyx/types/portability_check_run_response.py +31 -0
  1540. telnyx/types/porting/__init__.py +24 -0
  1541. telnyx/types/porting/event_list_params.py +58 -0
  1542. telnyx/types/porting/event_list_response.py +407 -0
  1543. telnyx/types/porting/event_retrieve_response.py +412 -0
  1544. telnyx/types/porting/export_porting_orders_csv_report.py +47 -0
  1545. telnyx/types/porting/export_porting_orders_csv_report_param.py +49 -0
  1546. telnyx/types/porting/loa_configuration_create_params.py +63 -0
  1547. telnyx/types/porting/loa_configuration_create_response.py +12 -0
  1548. telnyx/types/porting/loa_configuration_list_params.py +15 -0
  1549. telnyx/types/porting/loa_configuration_preview_0_params.py +63 -0
  1550. telnyx/types/porting/loa_configuration_retrieve_response.py +12 -0
  1551. telnyx/types/porting/loa_configuration_update_params.py +63 -0
  1552. telnyx/types/porting/loa_configuration_update_response.py +12 -0
  1553. telnyx/types/porting/porting_loa_configuration.py +83 -0
  1554. telnyx/types/porting/porting_report.py +39 -0
  1555. telnyx/types/porting/report_create_params.py +17 -0
  1556. telnyx/types/porting/report_create_response.py +12 -0
  1557. telnyx/types/porting/report_list_params.py +34 -0
  1558. telnyx/types/porting/report_retrieve_response.py +12 -0
  1559. telnyx/types/porting_list_uk_carriers_response.py +38 -0
  1560. telnyx/types/porting_order.py +101 -0
  1561. telnyx/types/porting_order_activation_settings.py +39 -0
  1562. telnyx/types/porting_order_create_params.py +21 -0
  1563. telnyx/types/porting_order_create_response.py +12 -0
  1564. telnyx/types/porting_order_documents.py +17 -0
  1565. telnyx/types/porting_order_documents_param.py +18 -0
  1566. telnyx/types/porting_order_end_user.py +15 -0
  1567. telnyx/types/porting_order_end_user_admin.py +33 -0
  1568. telnyx/types/porting_order_end_user_admin_param.py +34 -0
  1569. telnyx/types/porting_order_end_user_location.py +27 -0
  1570. telnyx/types/porting_order_end_user_location_param.py +28 -0
  1571. telnyx/types/porting_order_end_user_param.py +16 -0
  1572. telnyx/types/porting_order_list_params.py +138 -0
  1573. telnyx/types/porting_order_messaging.py +30 -0
  1574. telnyx/types/porting_order_misc.py +32 -0
  1575. telnyx/types/porting_order_misc_param.py +33 -0
  1576. telnyx/types/porting_order_phone_number_configuration.py +23 -0
  1577. telnyx/types/porting_order_phone_number_configuration_param.py +26 -0
  1578. telnyx/types/porting_order_requirement.py +22 -0
  1579. telnyx/types/porting_order_retrieve_allowed_foc_windows_response.py +26 -0
  1580. telnyx/types/porting_order_retrieve_exception_types_response.py +12 -0
  1581. telnyx/types/porting_order_retrieve_loa_template_params.py +15 -0
  1582. telnyx/types/porting_order_retrieve_params.py +12 -0
  1583. telnyx/types/porting_order_retrieve_requirements_params.py +15 -0
  1584. telnyx/types/porting_order_retrieve_requirements_response.py +47 -0
  1585. telnyx/types/porting_order_retrieve_response.py +19 -0
  1586. telnyx/types/porting_order_retrieve_sub_request_response.py +19 -0
  1587. telnyx/types/porting_order_type.py +7 -0
  1588. telnyx/types/porting_order_update_params.py +78 -0
  1589. telnyx/types/porting_order_update_response.py +19 -0
  1590. telnyx/types/porting_order_user_feedback.py +18 -0
  1591. telnyx/types/porting_order_user_feedback_param.py +19 -0
  1592. telnyx/types/porting_orders/__init__.py +67 -0
  1593. telnyx/types/porting_orders/action_activate_response.py +12 -0
  1594. telnyx/types/porting_orders/action_cancel_response.py +19 -0
  1595. telnyx/types/porting_orders/action_confirm_response.py +19 -0
  1596. telnyx/types/porting_orders/action_requirement_initiate_params.py +29 -0
  1597. telnyx/types/porting_orders/action_requirement_initiate_response.py +45 -0
  1598. telnyx/types/porting_orders/action_requirement_list_params.py +55 -0
  1599. telnyx/types/porting_orders/action_requirement_list_response.py +41 -0
  1600. telnyx/types/porting_orders/action_share_params.py +15 -0
  1601. telnyx/types/porting_orders/action_share_response.py +39 -0
  1602. telnyx/types/porting_orders/activation_job_list_params.py +15 -0
  1603. telnyx/types/porting_orders/activation_job_retrieve_response.py +12 -0
  1604. telnyx/types/porting_orders/activation_job_update_params.py +21 -0
  1605. telnyx/types/porting_orders/activation_job_update_response.py +12 -0
  1606. telnyx/types/porting_orders/additional_document_create_params.py +20 -0
  1607. telnyx/types/porting_orders/additional_document_create_response.py +42 -0
  1608. telnyx/types/porting_orders/additional_document_list_params.py +45 -0
  1609. telnyx/types/porting_orders/additional_document_list_response.py +38 -0
  1610. telnyx/types/porting_orders/associated_phone_number_create_params.py +22 -0
  1611. telnyx/types/porting_orders/associated_phone_number_create_response.py +12 -0
  1612. telnyx/types/porting_orders/associated_phone_number_delete_response.py +12 -0
  1613. telnyx/types/porting_orders/associated_phone_number_list_params.py +47 -0
  1614. telnyx/types/porting_orders/comment_create_params.py +11 -0
  1615. telnyx/types/porting_orders/comment_create_response.py +31 -0
  1616. telnyx/types/porting_orders/comment_list_params.py +15 -0
  1617. telnyx/types/porting_orders/comment_list_response.py +27 -0
  1618. telnyx/types/porting_orders/phone_number_block_create_params.py +46 -0
  1619. telnyx/types/porting_orders/phone_number_block_create_response.py +12 -0
  1620. telnyx/types/porting_orders/phone_number_block_delete_response.py +12 -0
  1621. telnyx/types/porting_orders/phone_number_block_list_params.py +105 -0
  1622. telnyx/types/porting_orders/phone_number_configuration_create_params.py +20 -0
  1623. telnyx/types/porting_orders/phone_number_configuration_create_response.py +32 -0
  1624. telnyx/types/porting_orders/phone_number_configuration_list_params.py +69 -0
  1625. telnyx/types/porting_orders/phone_number_configuration_list_response.py +28 -0
  1626. telnyx/types/porting_orders/phone_number_extension_create_params.py +53 -0
  1627. telnyx/types/porting_orders/phone_number_extension_create_response.py +12 -0
  1628. telnyx/types/porting_orders/phone_number_extension_delete_response.py +12 -0
  1629. telnyx/types/porting_orders/phone_number_extension_list_params.py +44 -0
  1630. telnyx/types/porting_orders/porting_associated_phone_number.py +51 -0
  1631. telnyx/types/porting_orders/porting_phone_number_block.py +71 -0
  1632. telnyx/types/porting_orders/porting_phone_number_extension.py +68 -0
  1633. telnyx/types/porting_orders/verification_code_list_params.py +38 -0
  1634. telnyx/types/porting_orders/verification_code_list_response.py +31 -0
  1635. telnyx/types/porting_orders/verification_code_send_params.py +15 -0
  1636. telnyx/types/porting_orders/verification_code_verify_params.py +18 -0
  1637. telnyx/types/porting_orders/verification_code_verify_response.py +35 -0
  1638. telnyx/types/porting_orders_activation_job.py +46 -0
  1639. telnyx/types/porting_phone_number_list_params.py +33 -0
  1640. telnyx/types/porting_phone_number_list_response.py +69 -0
  1641. telnyx/types/portout_details.py +98 -0
  1642. telnyx/types/portout_list_params.py +93 -0
  1643. telnyx/types/portout_list_rejection_codes_params.py +26 -0
  1644. telnyx/types/portout_list_rejection_codes_response.py +19 -0
  1645. telnyx/types/portout_retrieve_response.py +12 -0
  1646. telnyx/types/portout_update_status_params.py +20 -0
  1647. telnyx/types/portout_update_status_response.py +12 -0
  1648. telnyx/types/portouts/__init__.py +20 -0
  1649. telnyx/types/portouts/comment_create_params.py +12 -0
  1650. telnyx/types/portouts/comment_create_response.py +33 -0
  1651. telnyx/types/portouts/comment_list_response.py +36 -0
  1652. telnyx/types/portouts/event_list_params.py +49 -0
  1653. telnyx/types/portouts/event_list_response.py +172 -0
  1654. telnyx/types/portouts/event_retrieve_response.py +175 -0
  1655. telnyx/types/portouts/export_portouts_csv_report.py +42 -0
  1656. telnyx/types/portouts/export_portouts_csv_report_param.py +44 -0
  1657. telnyx/types/portouts/portout_report.py +39 -0
  1658. telnyx/types/portouts/report_create_params.py +17 -0
  1659. telnyx/types/portouts/report_create_response.py +12 -0
  1660. telnyx/types/portouts/report_list_params.py +34 -0
  1661. telnyx/types/portouts/report_retrieve_response.py +12 -0
  1662. telnyx/types/portouts/supporting_document_create_params.py +21 -0
  1663. telnyx/types/portouts/supporting_document_create_response.py +34 -0
  1664. telnyx/types/portouts/supporting_document_list_response.py +34 -0
  1665. telnyx/types/private_wireless_gateway.py +42 -0
  1666. telnyx/types/private_wireless_gateway_create_params.py +21 -0
  1667. telnyx/types/private_wireless_gateway_create_response.py +12 -0
  1668. telnyx/types/private_wireless_gateway_delete_response.py +12 -0
  1669. telnyx/types/private_wireless_gateway_list_params.py +32 -0
  1670. telnyx/types/private_wireless_gateway_retrieve_response.py +12 -0
  1671. telnyx/types/private_wireless_gateway_status.py +32 -0
  1672. telnyx/types/public_internet_gateway_create_params.py +18 -0
  1673. telnyx/types/public_internet_gateway_create_response.py +21 -0
  1674. telnyx/types/public_internet_gateway_delete_response.py +21 -0
  1675. telnyx/types/public_internet_gateway_list_params.py +31 -0
  1676. telnyx/types/public_internet_gateway_list_response.py +16 -0
  1677. telnyx/types/public_internet_gateway_retrieve_response.py +21 -0
  1678. telnyx/types/push_credential.py +39 -0
  1679. telnyx/types/push_credential_response.py +14 -0
  1680. telnyx/types/pwg_assigned_resources_summary.py +19 -0
  1681. telnyx/types/queue_retrieve_response.py +40 -0
  1682. telnyx/types/queues/__init__.py +8 -0
  1683. telnyx/types/queues/call_list_params.py +15 -0
  1684. telnyx/types/queues/call_list_response.py +51 -0
  1685. telnyx/types/queues/call_retrieve_response.py +55 -0
  1686. telnyx/types/queues/call_update_params.py +14 -0
  1687. telnyx/types/rcs_agent.py +37 -0
  1688. telnyx/types/rcs_agent_message.py +83 -0
  1689. telnyx/types/rcs_agent_message_param.py +85 -0
  1690. telnyx/types/rcs_agent_response.py +12 -0
  1691. telnyx/types/rcs_card_content.py +37 -0
  1692. telnyx/types/rcs_card_content_param.py +38 -0
  1693. telnyx/types/rcs_content_info.py +18 -0
  1694. telnyx/types/rcs_content_info_param.py +18 -0
  1695. telnyx/types/rcs_suggestion.py +138 -0
  1696. telnyx/types/rcs_suggestion_param.py +140 -0
  1697. telnyx/types/record.py +21 -0
  1698. telnyx/types/recording_delete_response.py +12 -0
  1699. telnyx/types/recording_list_params.py +79 -0
  1700. telnyx/types/recording_response_data.py +74 -0
  1701. telnyx/types/recording_retrieve_response.py +12 -0
  1702. telnyx/types/recording_transcription.py +36 -0
  1703. telnyx/types/recording_transcription_delete_response.py +12 -0
  1704. telnyx/types/recording_transcription_list_response.py +32 -0
  1705. telnyx/types/recording_transcription_retrieve_response.py +12 -0
  1706. telnyx/types/recordings/__init__.py +5 -0
  1707. telnyx/types/recordings/action_delete_params.py +14 -0
  1708. telnyx/types/region_list_response.py +31 -0
  1709. telnyx/types/regulatory_requirement_retrieve_params.py +38 -0
  1710. telnyx/types/regulatory_requirement_retrieve_response.py +58 -0
  1711. telnyx/types/replaced_link_click_webhook_event.py +32 -0
  1712. telnyx/types/replaced_link_click_webhook_event1.py +32 -0
  1713. telnyx/types/report_list_mdrs_params.py +36 -0
  1714. telnyx/types/report_list_mdrs_response.py +65 -0
  1715. telnyx/types/report_list_wdrs_params.py +52 -0
  1716. telnyx/types/report_list_wdrs_response.py +83 -0
  1717. telnyx/types/reports/__init__.py +15 -0
  1718. telnyx/types/reports/cdr_usage_report_fetch_sync_params.py +23 -0
  1719. telnyx/types/reports/cdr_usage_report_fetch_sync_response.py +42 -0
  1720. telnyx/types/reports/mdr_usage_report.py +66 -0
  1721. telnyx/types/reports/mdr_usage_report_create_params.py +21 -0
  1722. telnyx/types/reports/mdr_usage_report_create_response.py +12 -0
  1723. telnyx/types/reports/mdr_usage_report_delete_response.py +12 -0
  1724. telnyx/types/reports/mdr_usage_report_fetch_sync_params.py +22 -0
  1725. telnyx/types/reports/mdr_usage_report_fetch_sync_response.py +12 -0
  1726. telnyx/types/reports/mdr_usage_report_list_params.py +15 -0
  1727. telnyx/types/reports/mdr_usage_report_retrieve_response.py +12 -0
  1728. telnyx/types/reports/pagination_meta_reporting.py +17 -0
  1729. telnyx/types/requirement_group.py +47 -0
  1730. telnyx/types/requirement_group_create_params.py +27 -0
  1731. telnyx/types/requirement_group_list_params.py +38 -0
  1732. telnyx/types/requirement_group_list_response.py +10 -0
  1733. telnyx/types/requirement_group_update_params.py +23 -0
  1734. telnyx/types/requirement_list_params.py +58 -0
  1735. telnyx/types/requirement_list_response.py +46 -0
  1736. telnyx/types/requirement_retrieve_response.py +50 -0
  1737. telnyx/types/requirement_type_list_params.py +36 -0
  1738. telnyx/types/requirement_type_list_response.py +15 -0
  1739. telnyx/types/requirement_type_retrieve_response.py +12 -0
  1740. telnyx/types/reserved_phone_number.py +38 -0
  1741. telnyx/types/reserved_phone_number_param.py +11 -0
  1742. telnyx/types/room.py +51 -0
  1743. telnyx/types/room_composition.py +77 -0
  1744. telnyx/types/room_composition_create_params.py +43 -0
  1745. telnyx/types/room_composition_create_response.py +12 -0
  1746. telnyx/types/room_composition_list_params.py +50 -0
  1747. telnyx/types/room_composition_retrieve_response.py +12 -0
  1748. telnyx/types/room_create_params.py +37 -0
  1749. telnyx/types/room_create_response.py +12 -0
  1750. telnyx/types/room_list_params.py +64 -0
  1751. telnyx/types/room_participant_list_params.py +84 -0
  1752. telnyx/types/room_participant_retrieve_response.py +12 -0
  1753. telnyx/types/room_recording_delete_bulk_params.py +78 -0
  1754. telnyx/types/room_recording_delete_bulk_response.py +16 -0
  1755. telnyx/types/room_recording_list_params.py +78 -0
  1756. telnyx/types/room_recording_list_response.py +58 -0
  1757. telnyx/types/room_recording_retrieve_response.py +62 -0
  1758. telnyx/types/room_retrieve_params.py +12 -0
  1759. telnyx/types/room_retrieve_response.py +12 -0
  1760. telnyx/types/room_session.py +33 -0
  1761. telnyx/types/room_update_params.py +37 -0
  1762. telnyx/types/room_update_response.py +12 -0
  1763. telnyx/types/rooms/__init__.py +17 -0
  1764. telnyx/types/rooms/action_generate_join_client_token_params.py +21 -0
  1765. telnyx/types/rooms/action_generate_join_client_token_response.py +24 -0
  1766. telnyx/types/rooms/action_refresh_client_token_params.py +17 -0
  1767. telnyx/types/rooms/action_refresh_client_token_response.py +19 -0
  1768. telnyx/types/rooms/session_list_0_params.py +82 -0
  1769. telnyx/types/rooms/session_list_1_params.py +79 -0
  1770. telnyx/types/rooms/session_retrieve_params.py +12 -0
  1771. telnyx/types/rooms/session_retrieve_participants_params.py +87 -0
  1772. telnyx/types/rooms/session_retrieve_response.py +12 -0
  1773. telnyx/types/rooms/sessions/__init__.py +11 -0
  1774. telnyx/types/rooms/sessions/action_end_response.py +15 -0
  1775. telnyx/types/rooms/sessions/action_kick_params.py +21 -0
  1776. telnyx/types/rooms/sessions/action_kick_response.py +15 -0
  1777. telnyx/types/rooms/sessions/action_mute_params.py +21 -0
  1778. telnyx/types/rooms/sessions/action_mute_response.py +15 -0
  1779. telnyx/types/rooms/sessions/action_unmute_params.py +21 -0
  1780. telnyx/types/rooms/sessions/action_unmute_response.py +15 -0
  1781. telnyx/types/s3_configuration_data.py +25 -0
  1782. telnyx/types/s3_configuration_data_param.py +24 -0
  1783. telnyx/types/service_plan.py +7 -0
  1784. telnyx/types/seti_retrieve_black_box_test_results_params.py +19 -0
  1785. telnyx/types/seti_retrieve_black_box_test_results_response.py +30 -0
  1786. telnyx/types/settings_param.py +26 -0
  1787. telnyx/types/shared/__init__.py +23 -0
  1788. telnyx/types/shared/api_error.py +27 -0
  1789. telnyx/types/shared/available_phone_numbers_metadata.py +13 -0
  1790. telnyx/types/shared/connections_pagination_meta.py +17 -0
  1791. telnyx/types/shared/doc_reqs_requirement_type.py +62 -0
  1792. telnyx/types/shared/hosted_number.py +35 -0
  1793. telnyx/types/shared/inbound_message_payload.py +213 -0
  1794. telnyx/types/shared/messaging_feature_set.py +23 -0
  1795. telnyx/types/shared/messaging_hosted_number_order.py +42 -0
  1796. telnyx/types/shared/messaging_pagination_meta.py +15 -0
  1797. telnyx/types/shared/metadata.py +24 -0
  1798. telnyx/types/shared/number_health_metrics.py +23 -0
  1799. telnyx/types/shared/phone_number_with_messaging_settings.py +67 -0
  1800. telnyx/types/shared/porting_order_status.py +30 -0
  1801. telnyx/types/shared/porting_orders_exception_type.py +40 -0
  1802. telnyx/types/shared/room_participant.py +30 -0
  1803. telnyx/types/shared/short_code.py +34 -0
  1804. telnyx/types/shared/sim_card_status.py +40 -0
  1805. telnyx/types/shared/simple_sim_card.py +104 -0
  1806. telnyx/types/shared/sub_number_order_regulatory_requirement_with_value.py +23 -0
  1807. telnyx/types/shared_params/__init__.py +3 -0
  1808. telnyx/types/shared_params/sim_card_status.py +11 -0
  1809. telnyx/types/short_code_list_params.py +36 -0
  1810. telnyx/types/short_code_retrieve_response.py +12 -0
  1811. telnyx/types/short_code_update_params.py +16 -0
  1812. telnyx/types/short_code_update_response.py +12 -0
  1813. telnyx/types/sim_card.py +203 -0
  1814. telnyx/types/sim_card_data_usage_notification.py +37 -0
  1815. telnyx/types/sim_card_data_usage_notification_create_params.py +23 -0
  1816. telnyx/types/sim_card_data_usage_notification_create_response.py +13 -0
  1817. telnyx/types/sim_card_data_usage_notification_delete_response.py +13 -0
  1818. telnyx/types/sim_card_data_usage_notification_list_params.py +20 -0
  1819. telnyx/types/sim_card_data_usage_notification_retrieve_response.py +13 -0
  1820. telnyx/types/sim_card_data_usage_notification_update_params.py +23 -0
  1821. telnyx/types/sim_card_data_usage_notification_update_response.py +13 -0
  1822. telnyx/types/sim_card_delete_params.py +15 -0
  1823. telnyx/types/sim_card_delete_response.py +12 -0
  1824. telnyx/types/sim_card_get_activation_code_response.py +18 -0
  1825. telnyx/types/sim_card_get_device_details_response.py +32 -0
  1826. telnyx/types/sim_card_get_public_ip_response.py +35 -0
  1827. telnyx/types/sim_card_group.py +51 -0
  1828. telnyx/types/sim_card_group_create_params.py +23 -0
  1829. telnyx/types/sim_card_group_create_response.py +12 -0
  1830. telnyx/types/sim_card_group_delete_response.py +12 -0
  1831. telnyx/types/sim_card_group_list_params.py +26 -0
  1832. telnyx/types/sim_card_group_list_response.py +54 -0
  1833. telnyx/types/sim_card_group_retrieve_params.py +12 -0
  1834. telnyx/types/sim_card_group_retrieve_response.py +12 -0
  1835. telnyx/types/sim_card_group_update_params.py +23 -0
  1836. telnyx/types/sim_card_group_update_response.py +12 -0
  1837. telnyx/types/sim_card_groups/__init__.py +23 -0
  1838. telnyx/types/sim_card_groups/action_list_params.py +34 -0
  1839. telnyx/types/sim_card_groups/action_remove_private_wireless_gateway_response.py +17 -0
  1840. telnyx/types/sim_card_groups/action_remove_wireless_blocklist_response.py +17 -0
  1841. telnyx/types/sim_card_groups/action_retrieve_response.py +17 -0
  1842. telnyx/types/sim_card_groups/action_set_private_wireless_gateway_params.py +12 -0
  1843. telnyx/types/sim_card_groups/action_set_private_wireless_gateway_response.py +17 -0
  1844. telnyx/types/sim_card_groups/action_set_wireless_blocklist_params.py +12 -0
  1845. telnyx/types/sim_card_groups/action_set_wireless_blocklist_response.py +17 -0
  1846. telnyx/types/sim_card_groups/sim_card_group_action.py +51 -0
  1847. telnyx/types/sim_card_list_params.py +61 -0
  1848. telnyx/types/sim_card_list_wireless_connectivity_logs_params.py +17 -0
  1849. telnyx/types/sim_card_list_wireless_connectivity_logs_response.py +103 -0
  1850. telnyx/types/sim_card_order.py +95 -0
  1851. telnyx/types/sim_card_order_create_params.py +15 -0
  1852. telnyx/types/sim_card_order_create_response.py +12 -0
  1853. telnyx/types/sim_card_order_list_params.py +82 -0
  1854. telnyx/types/sim_card_order_preview_preview_params.py +18 -0
  1855. telnyx/types/sim_card_order_preview_preview_response.py +49 -0
  1856. telnyx/types/sim_card_order_retrieve_response.py +12 -0
  1857. telnyx/types/sim_card_retrieve_params.py +19 -0
  1858. telnyx/types/sim_card_retrieve_response.py +12 -0
  1859. telnyx/types/sim_card_update_params.py +39 -0
  1860. telnyx/types/sim_card_update_response.py +12 -0
  1861. telnyx/types/sim_cards/__init__.py +21 -0
  1862. telnyx/types/sim_cards/action_bulk_set_public_ips_params.py +13 -0
  1863. telnyx/types/sim_cards/action_bulk_set_public_ips_response.py +46 -0
  1864. telnyx/types/sim_cards/action_disable_response.py +16 -0
  1865. telnyx/types/sim_cards/action_enable_response.py +16 -0
  1866. telnyx/types/sim_cards/action_list_params.py +43 -0
  1867. telnyx/types/sim_cards/action_remove_public_ip_response.py +16 -0
  1868. telnyx/types/sim_cards/action_retrieve_response.py +16 -0
  1869. telnyx/types/sim_cards/action_set_public_ip_params.py +15 -0
  1870. telnyx/types/sim_cards/action_set_public_ip_response.py +16 -0
  1871. telnyx/types/sim_cards/action_set_standby_response.py +16 -0
  1872. telnyx/types/sim_cards/action_validate_registration_codes_params.py +13 -0
  1873. telnyx/types/sim_cards/action_validate_registration_codes_response.py +24 -0
  1874. telnyx/types/sim_cards/sim_card_action.py +58 -0
  1875. telnyx/types/sip_header.py +15 -0
  1876. telnyx/types/sip_header_param.py +15 -0
  1877. telnyx/types/siprec_connector_create_params.py +23 -0
  1878. telnyx/types/siprec_connector_create_response.py +33 -0
  1879. telnyx/types/siprec_connector_retrieve_response.py +33 -0
  1880. telnyx/types/siprec_connector_update_params.py +23 -0
  1881. telnyx/types/siprec_connector_update_response.py +33 -0
  1882. telnyx/types/sound_modifications_param.py +26 -0
  1883. telnyx/types/speech_to_text_transcribe_params.py +38 -0
  1884. telnyx/types/storage/__init__.py +17 -0
  1885. telnyx/types/storage/bucket_create_presigned_url_params.py +16 -0
  1886. telnyx/types/storage/bucket_create_presigned_url_response.py +23 -0
  1887. telnyx/types/storage/buckets/__init__.py +13 -0
  1888. telnyx/types/storage/buckets/pagination_meta_simple.py +17 -0
  1889. telnyx/types/storage/buckets/ssl_certificate.py +48 -0
  1890. telnyx/types/storage/buckets/ssl_certificate_create_params.py +17 -0
  1891. telnyx/types/storage/buckets/ssl_certificate_create_response.py +12 -0
  1892. telnyx/types/storage/buckets/ssl_certificate_delete_response.py +12 -0
  1893. telnyx/types/storage/buckets/ssl_certificate_retrieve_response.py +12 -0
  1894. telnyx/types/storage/buckets/usage_get_api_usage_params.py +32 -0
  1895. telnyx/types/storage/buckets/usage_get_api_usage_response.py +66 -0
  1896. telnyx/types/storage/buckets/usage_get_bucket_usage_response.py +29 -0
  1897. telnyx/types/storage/migration_create_params.py +27 -0
  1898. telnyx/types/storage/migration_create_response.py +12 -0
  1899. telnyx/types/storage/migration_list_response.py +15 -0
  1900. telnyx/types/storage/migration_params.py +53 -0
  1901. telnyx/types/storage/migration_retrieve_response.py +12 -0
  1902. telnyx/types/storage/migration_source_create_params.py +37 -0
  1903. telnyx/types/storage/migration_source_create_response.py +12 -0
  1904. telnyx/types/storage/migration_source_delete_response.py +12 -0
  1905. telnyx/types/storage/migration_source_list_response.py +15 -0
  1906. telnyx/types/storage/migration_source_params.py +41 -0
  1907. telnyx/types/storage/migration_source_retrieve_response.py +12 -0
  1908. telnyx/types/storage/migrations/__init__.py +5 -0
  1909. telnyx/types/storage/migrations/action_stop_response.py +12 -0
  1910. telnyx/types/storage_list_migration_source_coverage_response.py +23 -0
  1911. telnyx/types/stream_bidirectional_codec.py +7 -0
  1912. telnyx/types/stream_bidirectional_mode.py +7 -0
  1913. telnyx/types/stream_bidirectional_sampling_rate.py +7 -0
  1914. telnyx/types/stream_bidirectional_target_legs.py +7 -0
  1915. telnyx/types/stream_codec.py +7 -0
  1916. telnyx/types/sub_number_order.py +47 -0
  1917. telnyx/types/sub_number_order_cancel_response.py +12 -0
  1918. telnyx/types/sub_number_order_list_params.py +38 -0
  1919. telnyx/types/sub_number_order_list_response.py +15 -0
  1920. telnyx/types/sub_number_order_regulatory_requirement.py +17 -0
  1921. telnyx/types/sub_number_order_retrieve_params.py +25 -0
  1922. telnyx/types/sub_number_order_retrieve_response.py +12 -0
  1923. telnyx/types/sub_number_order_update_params.py +14 -0
  1924. telnyx/types/sub_number_order_update_requirement_group_params.py +12 -0
  1925. telnyx/types/sub_number_order_update_requirement_group_response.py +88 -0
  1926. telnyx/types/sub_number_order_update_response.py +12 -0
  1927. telnyx/types/sub_number_orders_report_create_params.py +31 -0
  1928. telnyx/types/sub_number_orders_report_create_response.py +55 -0
  1929. telnyx/types/sub_number_orders_report_download_response.py +7 -0
  1930. telnyx/types/sub_number_orders_report_retrieve_response.py +55 -0
  1931. telnyx/types/telephony_credential.py +38 -0
  1932. telnyx/types/telephony_credential_create_params.py +20 -0
  1933. telnyx/types/telephony_credential_create_response.py +12 -0
  1934. telnyx/types/telephony_credential_create_token_response.py +7 -0
  1935. telnyx/types/telephony_credential_delete_response.py +12 -0
  1936. telnyx/types/telephony_credential_list_params.py +44 -0
  1937. telnyx/types/telephony_credential_retrieve_response.py +12 -0
  1938. telnyx/types/telephony_credential_update_params.py +20 -0
  1939. telnyx/types/telephony_credential_update_response.py +12 -0
  1940. telnyx/types/texml/__init__.py +24 -0
  1941. telnyx/types/texml/account_retrieve_recordings_json_params.py +30 -0
  1942. telnyx/types/texml/account_retrieve_recordings_json_response.py +36 -0
  1943. telnyx/types/texml/account_retrieve_transcriptions_json_params.py +17 -0
  1944. telnyx/types/texml/account_retrieve_transcriptions_json_response.py +71 -0
  1945. telnyx/types/texml/accounts/__init__.py +37 -0
  1946. telnyx/types/texml/accounts/call_calls_params.py +204 -0
  1947. telnyx/types/texml/accounts/call_calls_response.py +17 -0
  1948. telnyx/types/texml/accounts/call_retrieve_calls_params.py +50 -0
  1949. telnyx/types/texml/accounts/call_retrieve_calls_response.py +101 -0
  1950. telnyx/types/texml/accounts/call_retrieve_response.py +72 -0
  1951. telnyx/types/texml/accounts/call_siprec_json_params.py +61 -0
  1952. telnyx/types/texml/accounts/call_siprec_json_response.py +40 -0
  1953. telnyx/types/texml/accounts/call_streams_json_params.py +37 -0
  1954. telnyx/types/texml/accounts/call_streams_json_response.py +29 -0
  1955. telnyx/types/texml/accounts/call_update_params.py +46 -0
  1956. telnyx/types/texml/accounts/call_update_response.py +72 -0
  1957. telnyx/types/texml/accounts/calls/__init__.py +21 -0
  1958. telnyx/types/texml/accounts/calls/recording_recording_sid_json_params.py +17 -0
  1959. telnyx/types/texml/accounts/calls/recording_recording_sid_json_response.py +58 -0
  1960. telnyx/types/texml/accounts/calls/recordings_json_recordings_json_params.py +43 -0
  1961. telnyx/types/texml/accounts/calls/recordings_json_recordings_json_response.py +58 -0
  1962. telnyx/types/texml/accounts/calls/recordings_json_retrieve_recordings_json_response.py +36 -0
  1963. telnyx/types/texml/accounts/calls/siprec_siprec_sid_json_params.py +21 -0
  1964. telnyx/types/texml/accounts/calls/siprec_siprec_sid_json_response.py +31 -0
  1965. telnyx/types/texml/accounts/calls/stream_streaming_sid_json_params.py +18 -0
  1966. telnyx/types/texml/accounts/calls/stream_streaming_sid_json_response.py +26 -0
  1967. telnyx/types/texml/accounts/conference_retrieve_conferences_params.py +43 -0
  1968. telnyx/types/texml/accounts/conference_retrieve_conferences_response.py +85 -0
  1969. telnyx/types/texml/accounts/conference_retrieve_recordings_json_response.py +36 -0
  1970. telnyx/types/texml/accounts/conference_retrieve_recordings_response.py +94 -0
  1971. telnyx/types/texml/accounts/conference_retrieve_response.py +56 -0
  1972. telnyx/types/texml/accounts/conference_update_params.py +29 -0
  1973. telnyx/types/texml/accounts/conference_update_response.py +56 -0
  1974. telnyx/types/texml/accounts/conferences/__init__.py +12 -0
  1975. telnyx/types/texml/accounts/conferences/participant_participants_params.py +266 -0
  1976. telnyx/types/texml/accounts/conferences/participant_participants_response.py +37 -0
  1977. telnyx/types/texml/accounts/conferences/participant_retrieve_participants_response.py +81 -0
  1978. telnyx/types/texml/accounts/conferences/participant_retrieve_response.py +52 -0
  1979. telnyx/types/texml/accounts/conferences/participant_update_params.py +69 -0
  1980. telnyx/types/texml/accounts/conferences/participant_update_response.py +52 -0
  1981. telnyx/types/texml/accounts/queue_create_params.py +17 -0
  1982. telnyx/types/texml/accounts/queue_create_response.py +36 -0
  1983. telnyx/types/texml/accounts/queue_list_params.py +37 -0
  1984. telnyx/types/texml/accounts/queue_list_response.py +36 -0
  1985. telnyx/types/texml/accounts/queue_retrieve_response.py +36 -0
  1986. telnyx/types/texml/accounts/queue_update_params.py +16 -0
  1987. telnyx/types/texml/accounts/queue_update_response.py +36 -0
  1988. telnyx/types/texml/accounts/recordings/__init__.py +3 -0
  1989. telnyx/types/texml/accounts/transcriptions/__init__.py +7 -0
  1990. telnyx/types/texml/accounts/transcriptions/json_retrieve_recording_transcription_sid_json_response.py +43 -0
  1991. telnyx/types/texml/call_initiate_params.py +163 -0
  1992. telnyx/types/texml/call_initiate_response.py +21 -0
  1993. telnyx/types/texml/call_update_params.py +44 -0
  1994. telnyx/types/texml/call_update_response.py +17 -0
  1995. telnyx/types/texml/texml_get_call_recording_response_body.py +57 -0
  1996. telnyx/types/texml/texml_recording_subresources_uris.py +13 -0
  1997. telnyx/types/texml_application.py +128 -0
  1998. telnyx/types/texml_application_create_params.py +117 -0
  1999. telnyx/types/texml_application_create_response.py +12 -0
  2000. telnyx/types/texml_application_delete_response.py +12 -0
  2001. telnyx/types/texml_application_list_params.py +56 -0
  2002. telnyx/types/texml_application_retrieve_response.py +12 -0
  2003. telnyx/types/texml_application_update_params.py +117 -0
  2004. telnyx/types/texml_application_update_response.py +12 -0
  2005. telnyx/types/texml_secrets_params.py +18 -0
  2006. telnyx/types/texml_secrets_response.py +18 -0
  2007. telnyx/types/text_to_speech_generate_speech_params.py +26 -0
  2008. telnyx/types/text_to_speech_list_voices_params.py +15 -0
  2009. telnyx/types/text_to_speech_list_voices_response.py +29 -0
  2010. telnyx/types/traffic_type.py +7 -0
  2011. telnyx/types/transcription_webhook_event.py +72 -0
  2012. telnyx/types/transcription_webhook_event1.py +72 -0
  2013. telnyx/types/transport_protocol.py +7 -0
  2014. telnyx/types/unsafe_unwrap_webhook_event.py +130 -0
  2015. telnyx/types/unwrap_webhook_event.py +130 -0
  2016. telnyx/types/update_regulatory_requirement_param.py +19 -0
  2017. telnyx/types/url_shortener_settings.py +40 -0
  2018. telnyx/types/url_shortener_settings_param.py +40 -0
  2019. telnyx/types/usage_payment_method.py +7 -0
  2020. telnyx/types/usage_report_get_options_params.py +18 -0
  2021. telnyx/types/usage_report_get_options_response.py +49 -0
  2022. telnyx/types/usage_report_list_params.py +64 -0
  2023. telnyx/types/usage_report_list_response.py +8 -0
  2024. telnyx/types/user_address.py +77 -0
  2025. telnyx/types/user_address_create_params.py +80 -0
  2026. telnyx/types/user_address_create_response.py +12 -0
  2027. telnyx/types/user_address_list_params.py +93 -0
  2028. telnyx/types/user_address_retrieve_response.py +12 -0
  2029. telnyx/types/user_tag_list_params.py +25 -0
  2030. telnyx/types/user_tag_list_response.py +31 -0
  2031. telnyx/types/verification.py +42 -0
  2032. telnyx/types/verification_retrieve_response.py +10 -0
  2033. telnyx/types/verification_trigger_call_params.py +29 -0
  2034. telnyx/types/verification_trigger_flashcall_params.py +18 -0
  2035. telnyx/types/verification_trigger_sms_params.py +22 -0
  2036. telnyx/types/verifications/__init__.py +7 -0
  2037. telnyx/types/verifications/action_verify_params.py +18 -0
  2038. telnyx/types/verifications/by_phone_number/__init__.py +6 -0
  2039. telnyx/types/verifications/by_phone_number/action_verify_params.py +15 -0
  2040. telnyx/types/verifications/by_phone_number/verify_verification_code_response.py +19 -0
  2041. telnyx/types/verifications/by_phone_number_list_response.py +15 -0
  2042. telnyx/types/verifications/verify_meta.py +15 -0
  2043. telnyx/types/verified_number.py +17 -0
  2044. telnyx/types/verified_number_create_params.py +23 -0
  2045. telnyx/types/verified_number_create_response.py +13 -0
  2046. telnyx/types/verified_number_data_wrapper.py +12 -0
  2047. telnyx/types/verified_number_list_params.py +15 -0
  2048. telnyx/types/verified_numbers/__init__.py +7 -0
  2049. telnyx/types/verified_numbers/action_submit_verification_code_params.py +11 -0
  2050. telnyx/types/verify_profile.py +145 -0
  2051. telnyx/types/verify_profile_create_params.py +116 -0
  2052. telnyx/types/verify_profile_create_template_params.py +12 -0
  2053. telnyx/types/verify_profile_data.py +12 -0
  2054. telnyx/types/verify_profile_list_params.py +25 -0
  2055. telnyx/types/verify_profile_message_template_response.py +13 -0
  2056. telnyx/types/verify_profile_retrieve_templates_response.py +14 -0
  2057. telnyx/types/verify_profile_update_params.py +116 -0
  2058. telnyx/types/verify_profile_update_template_params.py +12 -0
  2059. telnyx/types/video_region.py +53 -0
  2060. telnyx/types/video_region_param.py +55 -0
  2061. telnyx/types/virtual_cross_connect_create_params.py +95 -0
  2062. telnyx/types/virtual_cross_connect_create_response.py +126 -0
  2063. telnyx/types/virtual_cross_connect_delete_response.py +126 -0
  2064. telnyx/types/virtual_cross_connect_list_params.py +31 -0
  2065. telnyx/types/virtual_cross_connect_list_response.py +122 -0
  2066. telnyx/types/virtual_cross_connect_retrieve_response.py +126 -0
  2067. telnyx/types/virtual_cross_connect_update_params.py +41 -0
  2068. telnyx/types/virtual_cross_connect_update_response.py +126 -0
  2069. telnyx/types/virtual_cross_connects_coverage_list_params.py +81 -0
  2070. telnyx/types/virtual_cross_connects_coverage_list_response.py +51 -0
  2071. telnyx/types/webhook_api_version.py +7 -0
  2072. telnyx/types/webhook_delivery_list_params.py +102 -0
  2073. telnyx/types/webhook_delivery_list_response.py +114 -0
  2074. telnyx/types/webhook_delivery_retrieve_response.py +120 -0
  2075. telnyx/types/well_known_retrieve_authorization_server_metadata_response.py +42 -0
  2076. telnyx/types/well_known_retrieve_protected_resource_metadata_response.py +15 -0
  2077. telnyx/types/whatsapp_media.py +21 -0
  2078. telnyx/types/whatsapp_media_param.py +21 -0
  2079. telnyx/types/wireguard_interface_create_params.py +21 -0
  2080. telnyx/types/wireguard_interface_create_response.py +40 -0
  2081. telnyx/types/wireguard_interface_delete_response.py +40 -0
  2082. telnyx/types/wireguard_interface_list_params.py +31 -0
  2083. telnyx/types/wireguard_interface_list_response.py +36 -0
  2084. telnyx/types/wireguard_interface_retrieve_response.py +40 -0
  2085. telnyx/types/wireguard_peer_create_params.py +18 -0
  2086. telnyx/types/wireguard_peer_create_response.py +30 -0
  2087. telnyx/types/wireguard_peer_delete_response.py +30 -0
  2088. telnyx/types/wireguard_peer_list_params.py +31 -0
  2089. telnyx/types/wireguard_peer_list_response.py +25 -0
  2090. telnyx/types/wireguard_peer_patch.py +15 -0
  2091. telnyx/types/wireguard_peer_retrieve_config_response.py +7 -0
  2092. telnyx/types/wireguard_peer_retrieve_response.py +30 -0
  2093. telnyx/types/wireguard_peer_update_params.py +15 -0
  2094. telnyx/types/wireguard_peer_update_response.py +30 -0
  2095. telnyx/types/wireless/__init__.py +17 -0
  2096. telnyx/types/wireless/detail_records_report_create_params.py +15 -0
  2097. telnyx/types/wireless/detail_records_report_create_response.py +12 -0
  2098. telnyx/types/wireless/detail_records_report_delete_response.py +12 -0
  2099. telnyx/types/wireless/detail_records_report_list_params.py +17 -0
  2100. telnyx/types/wireless/detail_records_report_list_response.py +12 -0
  2101. telnyx/types/wireless/detail_records_report_retrieve_response.py +12 -0
  2102. telnyx/types/wireless/wdr_report.py +33 -0
  2103. telnyx/types/wireless_blocklist.py +30 -0
  2104. telnyx/types/wireless_blocklist_create_params.py +20 -0
  2105. telnyx/types/wireless_blocklist_create_response.py +12 -0
  2106. telnyx/types/wireless_blocklist_delete_response.py +12 -0
  2107. telnyx/types/wireless_blocklist_list_params.py +26 -0
  2108. telnyx/types/wireless_blocklist_retrieve_response.py +12 -0
  2109. telnyx/types/wireless_blocklist_update_params.py +20 -0
  2110. telnyx/types/wireless_blocklist_update_response.py +12 -0
  2111. telnyx/types/wireless_blocklist_value_list_params.py +15 -0
  2112. telnyx/types/wireless_blocklist_value_list_response.py +38 -0
  2113. telnyx/types/wireless_retrieve_regions_params.py +15 -0
  2114. telnyx/types/wireless_retrieve_regions_response.py +26 -0
  2115. telnyx-4.5.0.dist-info/METADATA +561 -0
  2116. telnyx-4.5.0.dist-info/RECORD +2118 -0
  2117. telnyx-4.5.0.dist-info/WHEEL +4 -0
  2118. telnyx-4.5.0.dist-info/licenses/LICENSE +7 -0
@@ -0,0 +1,2184 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing_extensions import Literal
6
+
7
+ import httpx
8
+
9
+ from ..._types import Body, Omit, Query, Headers, NotGiven, SequenceNotStr, omit, not_given
10
+ from ..._utils import maybe_transform, async_maybe_transform
11
+ from ..._compat import cached_property
12
+ from ..._resource import SyncAPIResource, AsyncAPIResource
13
+ from ..._response import (
14
+ to_raw_response_wrapper,
15
+ to_streamed_response_wrapper,
16
+ async_to_raw_response_wrapper,
17
+ async_to_streamed_response_wrapper,
18
+ )
19
+ from ..._base_client import make_request_options
20
+ from ...types.conferences import (
21
+ action_hold_params,
22
+ action_join_params,
23
+ action_mute_params,
24
+ action_play_params,
25
+ action_stop_params,
26
+ action_leave_params,
27
+ action_speak_params,
28
+ action_unhold_params,
29
+ action_unmute_params,
30
+ action_update_params,
31
+ action_record_stop_params,
32
+ action_record_pause_params,
33
+ action_record_start_params,
34
+ action_record_resume_params,
35
+ )
36
+ from ...types.calls.loopcount_param import LoopcountParam
37
+ from ...types.conferences.action_hold_response import ActionHoldResponse
38
+ from ...types.conferences.action_join_response import ActionJoinResponse
39
+ from ...types.conferences.action_mute_response import ActionMuteResponse
40
+ from ...types.conferences.action_play_response import ActionPlayResponse
41
+ from ...types.conferences.action_stop_response import ActionStopResponse
42
+ from ...types.conferences.action_leave_response import ActionLeaveResponse
43
+ from ...types.conferences.action_speak_response import ActionSpeakResponse
44
+ from ...types.conferences.action_unhold_response import ActionUnholdResponse
45
+ from ...types.conferences.action_unmute_response import ActionUnmuteResponse
46
+ from ...types.conferences.action_update_response import ActionUpdateResponse
47
+ from ...types.conferences.action_record_stop_response import ActionRecordStopResponse
48
+ from ...types.conferences.action_record_pause_response import ActionRecordPauseResponse
49
+ from ...types.conferences.action_record_start_response import ActionRecordStartResponse
50
+ from ...types.conferences.action_record_resume_response import ActionRecordResumeResponse
51
+
52
+ __all__ = ["ActionsResource", "AsyncActionsResource"]
53
+
54
+
55
+ class ActionsResource(SyncAPIResource):
56
+ @cached_property
57
+ def with_raw_response(self) -> ActionsResourceWithRawResponse:
58
+ """
59
+ This property can be used as a prefix for any HTTP method call to return
60
+ the raw response object instead of the parsed content.
61
+
62
+ For more information, see https://www.github.com/team-telnyx/telnyx-python#accessing-raw-response-data-eg-headers
63
+ """
64
+ return ActionsResourceWithRawResponse(self)
65
+
66
+ @cached_property
67
+ def with_streaming_response(self) -> ActionsResourceWithStreamingResponse:
68
+ """
69
+ An alternative to `.with_raw_response` that doesn't eagerly read the response body.
70
+
71
+ For more information, see https://www.github.com/team-telnyx/telnyx-python#with_streaming_response
72
+ """
73
+ return ActionsResourceWithStreamingResponse(self)
74
+
75
+ def update(
76
+ self,
77
+ id: str,
78
+ *,
79
+ call_control_id: str,
80
+ supervisor_role: Literal["barge", "monitor", "none", "whisper"],
81
+ command_id: str | Omit = omit,
82
+ region: Literal["Australia", "Europe", "Middle East", "US"] | Omit = omit,
83
+ whisper_call_control_ids: SequenceNotStr[str] | Omit = omit,
84
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
85
+ # The extra values given here take precedence over values defined on the client or passed to this method.
86
+ extra_headers: Headers | None = None,
87
+ extra_query: Query | None = None,
88
+ extra_body: Body | None = None,
89
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
90
+ ) -> ActionUpdateResponse:
91
+ """
92
+ Update conference participant supervisor_role
93
+
94
+ Args:
95
+ call_control_id: Unique identifier and token for controlling the call
96
+
97
+ supervisor_role: Sets the participant as a supervisor for the conference. A conference can have
98
+ multiple supervisors. "barge" means the supervisor enters the conference as a
99
+ normal participant. This is the same as "none". "monitor" means the supervisor
100
+ is muted but can hear all participants. "whisper" means that only the specified
101
+ "whisper_call_control_ids" can hear the supervisor. Defaults to "none".
102
+
103
+ command_id: Use this field to avoid execution of duplicate commands. Telnyx will ignore
104
+ subsequent commands with the same `command_id` as one that has already been
105
+ executed.
106
+
107
+ region: Region where the conference data is located. Defaults to the region defined in
108
+ user's data locality settings (Europe or US).
109
+
110
+ whisper_call_control_ids: Array of unique call_control_ids the supervisor can whisper to. If none
111
+ provided, the supervisor will join the conference as a monitoring participant
112
+ only.
113
+
114
+ extra_headers: Send extra headers
115
+
116
+ extra_query: Add additional query parameters to the request
117
+
118
+ extra_body: Add additional JSON properties to the request
119
+
120
+ timeout: Override the client-level default timeout for this request, in seconds
121
+ """
122
+ if not id:
123
+ raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
124
+ return self._post(
125
+ f"/conferences/{id}/actions/update",
126
+ body=maybe_transform(
127
+ {
128
+ "call_control_id": call_control_id,
129
+ "supervisor_role": supervisor_role,
130
+ "command_id": command_id,
131
+ "region": region,
132
+ "whisper_call_control_ids": whisper_call_control_ids,
133
+ },
134
+ action_update_params.ActionUpdateParams,
135
+ ),
136
+ options=make_request_options(
137
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
138
+ ),
139
+ cast_to=ActionUpdateResponse,
140
+ )
141
+
142
+ def hold(
143
+ self,
144
+ id: str,
145
+ *,
146
+ audio_url: str | Omit = omit,
147
+ call_control_ids: SequenceNotStr[str] | Omit = omit,
148
+ media_name: str | Omit = omit,
149
+ region: Literal["Australia", "Europe", "Middle East", "US"] | Omit = omit,
150
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
151
+ # The extra values given here take precedence over values defined on the client or passed to this method.
152
+ extra_headers: Headers | None = None,
153
+ extra_query: Query | None = None,
154
+ extra_body: Body | None = None,
155
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
156
+ ) -> ActionHoldResponse:
157
+ """
158
+ Hold a list of participants in a conference call
159
+
160
+ Args:
161
+ audio_url: The URL of a file to be played to the participants when they are put on hold.
162
+ media_name and audio_url cannot be used together in one request.
163
+
164
+ call_control_ids: List of unique identifiers and tokens for controlling the call. When empty all
165
+ participants will be placed on hold.
166
+
167
+ media_name: The media_name of a file to be played to the participants when they are put on
168
+ hold. The media_name must point to a file previously uploaded to
169
+ api.telnyx.com/v2/media by the same user/organization. The file must either be a
170
+ WAV or MP3 file.
171
+
172
+ region: Region where the conference data is located. Defaults to the region defined in
173
+ user's data locality settings (Europe or US).
174
+
175
+ extra_headers: Send extra headers
176
+
177
+ extra_query: Add additional query parameters to the request
178
+
179
+ extra_body: Add additional JSON properties to the request
180
+
181
+ timeout: Override the client-level default timeout for this request, in seconds
182
+ """
183
+ if not id:
184
+ raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
185
+ return self._post(
186
+ f"/conferences/{id}/actions/hold",
187
+ body=maybe_transform(
188
+ {
189
+ "audio_url": audio_url,
190
+ "call_control_ids": call_control_ids,
191
+ "media_name": media_name,
192
+ "region": region,
193
+ },
194
+ action_hold_params.ActionHoldParams,
195
+ ),
196
+ options=make_request_options(
197
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
198
+ ),
199
+ cast_to=ActionHoldResponse,
200
+ )
201
+
202
+ def join(
203
+ self,
204
+ id: str,
205
+ *,
206
+ call_control_id: str,
207
+ beep_enabled: Literal["always", "never", "on_enter", "on_exit"] | Omit = omit,
208
+ client_state: str | Omit = omit,
209
+ command_id: str | Omit = omit,
210
+ end_conference_on_exit: bool | Omit = omit,
211
+ hold: bool | Omit = omit,
212
+ hold_audio_url: str | Omit = omit,
213
+ hold_media_name: str | Omit = omit,
214
+ mute: bool | Omit = omit,
215
+ region: Literal["Australia", "Europe", "Middle East", "US"] | Omit = omit,
216
+ soft_end_conference_on_exit: bool | Omit = omit,
217
+ start_conference_on_enter: bool | Omit = omit,
218
+ supervisor_role: Literal["barge", "monitor", "none", "whisper"] | Omit = omit,
219
+ whisper_call_control_ids: SequenceNotStr[str] | Omit = omit,
220
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
221
+ # The extra values given here take precedence over values defined on the client or passed to this method.
222
+ extra_headers: Headers | None = None,
223
+ extra_query: Query | None = None,
224
+ extra_body: Body | None = None,
225
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
226
+ ) -> ActionJoinResponse:
227
+ """Join an existing call leg to a conference.
228
+
229
+ Issue the Join Conference command
230
+ with the conference ID in the path and the `call_control_id` of the leg you wish
231
+ to join to the conference as an attribute. The conference can have up to a
232
+ certain amount of active participants, as set by the `max_participants`
233
+ parameter in conference creation request.
234
+
235
+ **Expected Webhooks:**
236
+
237
+ - `conference.participant.joined`
238
+ - `conference.participant.left`
239
+
240
+ Args:
241
+ call_control_id: Unique identifier and token for controlling the call
242
+
243
+ beep_enabled: Whether a beep sound should be played when the participant joins and/or leaves
244
+ the conference. Can be used to override the conference-level setting.
245
+
246
+ client_state: Use this field to add state to every subsequent webhook. It must be a valid
247
+ Base-64 encoded string. Please note that the client_state will be updated for
248
+ the participient call leg and the change will not affect conferencing webhooks
249
+ unless the participient is the owner of the conference.
250
+
251
+ command_id: Use this field to avoid execution of duplicate commands. Telnyx will ignore
252
+ subsequent commands with the same `command_id` as one that has already been
253
+ executed.
254
+
255
+ end_conference_on_exit: Whether the conference should end and all remaining participants be hung up
256
+ after the participant leaves the conference. Defaults to "false".
257
+
258
+ hold: Whether the participant should be put on hold immediately after joining the
259
+ conference. Defaults to "false".
260
+
261
+ hold_audio_url: The URL of a file to be played to the participant when they are put on hold
262
+ after joining the conference. hold_media_name and hold_audio_url cannot be used
263
+ together in one request. Takes effect only when "start_conference_on_create" is
264
+ set to "false". This property takes effect only if "hold" is set to "true".
265
+
266
+ hold_media_name: The media_name of a file to be played to the participant when they are put on
267
+ hold after joining the conference. The media_name must point to a file
268
+ previously uploaded to api.telnyx.com/v2/media by the same user/organization.
269
+ The file must either be a WAV or MP3 file. Takes effect only when
270
+ "start_conference_on_create" is set to "false". This property takes effect only
271
+ if "hold" is set to "true".
272
+
273
+ mute: Whether the participant should be muted immediately after joining the
274
+ conference. Defaults to "false".
275
+
276
+ region: Region where the conference data is located. Defaults to the region defined in
277
+ user's data locality settings (Europe or US).
278
+
279
+ soft_end_conference_on_exit: Whether the conference should end after the participant leaves the conference.
280
+ NOTE this doesn't hang up the other participants. Defaults to "false".
281
+
282
+ start_conference_on_enter: Whether the conference should be started after the participant joins the
283
+ conference. Defaults to "false".
284
+
285
+ supervisor_role: Sets the joining participant as a supervisor for the conference. A conference
286
+ can have multiple supervisors. "barge" means the supervisor enters the
287
+ conference as a normal participant. This is the same as "none". "monitor" means
288
+ the supervisor is muted but can hear all participants. "whisper" means that only
289
+ the specified "whisper_call_control_ids" can hear the supervisor. Defaults to
290
+ "none".
291
+
292
+ whisper_call_control_ids: Array of unique call_control_ids the joining supervisor can whisper to. If none
293
+ provided, the supervisor will join the conference as a monitoring participant
294
+ only.
295
+
296
+ extra_headers: Send extra headers
297
+
298
+ extra_query: Add additional query parameters to the request
299
+
300
+ extra_body: Add additional JSON properties to the request
301
+
302
+ timeout: Override the client-level default timeout for this request, in seconds
303
+ """
304
+ if not id:
305
+ raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
306
+ return self._post(
307
+ f"/conferences/{id}/actions/join",
308
+ body=maybe_transform(
309
+ {
310
+ "call_control_id": call_control_id,
311
+ "beep_enabled": beep_enabled,
312
+ "client_state": client_state,
313
+ "command_id": command_id,
314
+ "end_conference_on_exit": end_conference_on_exit,
315
+ "hold": hold,
316
+ "hold_audio_url": hold_audio_url,
317
+ "hold_media_name": hold_media_name,
318
+ "mute": mute,
319
+ "region": region,
320
+ "soft_end_conference_on_exit": soft_end_conference_on_exit,
321
+ "start_conference_on_enter": start_conference_on_enter,
322
+ "supervisor_role": supervisor_role,
323
+ "whisper_call_control_ids": whisper_call_control_ids,
324
+ },
325
+ action_join_params.ActionJoinParams,
326
+ ),
327
+ options=make_request_options(
328
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
329
+ ),
330
+ cast_to=ActionJoinResponse,
331
+ )
332
+
333
+ def leave(
334
+ self,
335
+ id: str,
336
+ *,
337
+ call_control_id: str,
338
+ beep_enabled: Literal["always", "never", "on_enter", "on_exit"] | Omit = omit,
339
+ command_id: str | Omit = omit,
340
+ region: Literal["Australia", "Europe", "Middle East", "US"] | Omit = omit,
341
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
342
+ # The extra values given here take precedence over values defined on the client or passed to this method.
343
+ extra_headers: Headers | None = None,
344
+ extra_query: Query | None = None,
345
+ extra_body: Body | None = None,
346
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
347
+ ) -> ActionLeaveResponse:
348
+ """
349
+ Removes a call leg from a conference and moves it back to parked state.
350
+
351
+ **Expected Webhooks:**
352
+
353
+ - `conference.participant.left`
354
+
355
+ Args:
356
+ call_control_id: Unique identifier and token for controlling the call
357
+
358
+ beep_enabled: Whether a beep sound should be played when the participant leaves the
359
+ conference. Can be used to override the conference-level setting.
360
+
361
+ command_id: Use this field to avoid execution of duplicate commands. Telnyx will ignore
362
+ subsequent commands with the same `command_id` as one that has already been
363
+ executed.
364
+
365
+ region: Region where the conference data is located. Defaults to the region defined in
366
+ user's data locality settings (Europe or US).
367
+
368
+ extra_headers: Send extra headers
369
+
370
+ extra_query: Add additional query parameters to the request
371
+
372
+ extra_body: Add additional JSON properties to the request
373
+
374
+ timeout: Override the client-level default timeout for this request, in seconds
375
+ """
376
+ if not id:
377
+ raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
378
+ return self._post(
379
+ f"/conferences/{id}/actions/leave",
380
+ body=maybe_transform(
381
+ {
382
+ "call_control_id": call_control_id,
383
+ "beep_enabled": beep_enabled,
384
+ "command_id": command_id,
385
+ "region": region,
386
+ },
387
+ action_leave_params.ActionLeaveParams,
388
+ ),
389
+ options=make_request_options(
390
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
391
+ ),
392
+ cast_to=ActionLeaveResponse,
393
+ )
394
+
395
+ def mute(
396
+ self,
397
+ id: str,
398
+ *,
399
+ call_control_ids: SequenceNotStr[str] | Omit = omit,
400
+ region: Literal["Australia", "Europe", "Middle East", "US"] | Omit = omit,
401
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
402
+ # The extra values given here take precedence over values defined on the client or passed to this method.
403
+ extra_headers: Headers | None = None,
404
+ extra_query: Query | None = None,
405
+ extra_body: Body | None = None,
406
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
407
+ ) -> ActionMuteResponse:
408
+ """
409
+ Mute a list of participants in a conference call
410
+
411
+ Args:
412
+ call_control_ids: Array of unique identifiers and tokens for controlling the call. When empty all
413
+ participants will be muted.
414
+
415
+ region: Region where the conference data is located. Defaults to the region defined in
416
+ user's data locality settings (Europe or US).
417
+
418
+ extra_headers: Send extra headers
419
+
420
+ extra_query: Add additional query parameters to the request
421
+
422
+ extra_body: Add additional JSON properties to the request
423
+
424
+ timeout: Override the client-level default timeout for this request, in seconds
425
+ """
426
+ if not id:
427
+ raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
428
+ return self._post(
429
+ f"/conferences/{id}/actions/mute",
430
+ body=maybe_transform(
431
+ {
432
+ "call_control_ids": call_control_ids,
433
+ "region": region,
434
+ },
435
+ action_mute_params.ActionMuteParams,
436
+ ),
437
+ options=make_request_options(
438
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
439
+ ),
440
+ cast_to=ActionMuteResponse,
441
+ )
442
+
443
+ def play(
444
+ self,
445
+ id: str,
446
+ *,
447
+ audio_url: str | Omit = omit,
448
+ call_control_ids: SequenceNotStr[str] | Omit = omit,
449
+ loop: LoopcountParam | Omit = omit,
450
+ media_name: str | Omit = omit,
451
+ region: Literal["Australia", "Europe", "Middle East", "US"] | Omit = omit,
452
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
453
+ # The extra values given here take precedence over values defined on the client or passed to this method.
454
+ extra_headers: Headers | None = None,
455
+ extra_query: Query | None = None,
456
+ extra_body: Body | None = None,
457
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
458
+ ) -> ActionPlayResponse:
459
+ """
460
+ Play audio to all or some participants on a conference call.
461
+
462
+ Args:
463
+ audio_url: The URL of a file to be played back in the conference. media_name and audio_url
464
+ cannot be used together in one request.
465
+
466
+ call_control_ids: List of call control ids identifying participants the audio file should be
467
+ played to. If not given, the audio file will be played to the entire conference.
468
+
469
+ loop: The number of times the audio file should be played. If supplied, the value must
470
+ be an integer between 1 and 100, or the special string `infinity` for an endless
471
+ loop.
472
+
473
+ media_name: The media_name of a file to be played back in the conference. The media_name
474
+ must point to a file previously uploaded to api.telnyx.com/v2/media by the same
475
+ user/organization. The file must either be a WAV or MP3 file.
476
+
477
+ region: Region where the conference data is located. Defaults to the region defined in
478
+ user's data locality settings (Europe or US).
479
+
480
+ extra_headers: Send extra headers
481
+
482
+ extra_query: Add additional query parameters to the request
483
+
484
+ extra_body: Add additional JSON properties to the request
485
+
486
+ timeout: Override the client-level default timeout for this request, in seconds
487
+ """
488
+ if not id:
489
+ raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
490
+ return self._post(
491
+ f"/conferences/{id}/actions/play",
492
+ body=maybe_transform(
493
+ {
494
+ "audio_url": audio_url,
495
+ "call_control_ids": call_control_ids,
496
+ "loop": loop,
497
+ "media_name": media_name,
498
+ "region": region,
499
+ },
500
+ action_play_params.ActionPlayParams,
501
+ ),
502
+ options=make_request_options(
503
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
504
+ ),
505
+ cast_to=ActionPlayResponse,
506
+ )
507
+
508
+ def record_pause(
509
+ self,
510
+ id: str,
511
+ *,
512
+ command_id: str | Omit = omit,
513
+ recording_id: str | Omit = omit,
514
+ region: Literal["Australia", "Europe", "Middle East", "US"] | Omit = omit,
515
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
516
+ # The extra values given here take precedence over values defined on the client or passed to this method.
517
+ extra_headers: Headers | None = None,
518
+ extra_query: Query | None = None,
519
+ extra_body: Body | None = None,
520
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
521
+ ) -> ActionRecordPauseResponse:
522
+ """
523
+ Pause conference recording.
524
+
525
+ Args:
526
+ command_id: Use this field to avoid duplicate commands. Telnyx will ignore any command with
527
+ the same `command_id` for the same `call_control_id`.
528
+
529
+ recording_id: Use this field to pause specific recording.
530
+
531
+ region: Region where the conference data is located. Defaults to the region defined in
532
+ user's data locality settings (Europe or US).
533
+
534
+ extra_headers: Send extra headers
535
+
536
+ extra_query: Add additional query parameters to the request
537
+
538
+ extra_body: Add additional JSON properties to the request
539
+
540
+ timeout: Override the client-level default timeout for this request, in seconds
541
+ """
542
+ if not id:
543
+ raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
544
+ return self._post(
545
+ f"/conferences/{id}/actions/record_pause",
546
+ body=maybe_transform(
547
+ {
548
+ "command_id": command_id,
549
+ "recording_id": recording_id,
550
+ "region": region,
551
+ },
552
+ action_record_pause_params.ActionRecordPauseParams,
553
+ ),
554
+ options=make_request_options(
555
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
556
+ ),
557
+ cast_to=ActionRecordPauseResponse,
558
+ )
559
+
560
+ def record_resume(
561
+ self,
562
+ id: str,
563
+ *,
564
+ command_id: str | Omit = omit,
565
+ recording_id: str | Omit = omit,
566
+ region: Literal["Australia", "Europe", "Middle East", "US"] | Omit = omit,
567
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
568
+ # The extra values given here take precedence over values defined on the client or passed to this method.
569
+ extra_headers: Headers | None = None,
570
+ extra_query: Query | None = None,
571
+ extra_body: Body | None = None,
572
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
573
+ ) -> ActionRecordResumeResponse:
574
+ """
575
+ Resume conference recording.
576
+
577
+ Args:
578
+ command_id: Use this field to avoid duplicate commands. Telnyx will ignore any command with
579
+ the same `command_id` for the same `call_control_id`.
580
+
581
+ recording_id: Use this field to resume specific recording.
582
+
583
+ region: Region where the conference data is located. Defaults to the region defined in
584
+ user's data locality settings (Europe or US).
585
+
586
+ extra_headers: Send extra headers
587
+
588
+ extra_query: Add additional query parameters to the request
589
+
590
+ extra_body: Add additional JSON properties to the request
591
+
592
+ timeout: Override the client-level default timeout for this request, in seconds
593
+ """
594
+ if not id:
595
+ raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
596
+ return self._post(
597
+ f"/conferences/{id}/actions/record_resume",
598
+ body=maybe_transform(
599
+ {
600
+ "command_id": command_id,
601
+ "recording_id": recording_id,
602
+ "region": region,
603
+ },
604
+ action_record_resume_params.ActionRecordResumeParams,
605
+ ),
606
+ options=make_request_options(
607
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
608
+ ),
609
+ cast_to=ActionRecordResumeResponse,
610
+ )
611
+
612
+ def record_start(
613
+ self,
614
+ id: str,
615
+ *,
616
+ format: Literal["wav", "mp3"],
617
+ command_id: str | Omit = omit,
618
+ custom_file_name: str | Omit = omit,
619
+ play_beep: bool | Omit = omit,
620
+ region: Literal["Australia", "Europe", "Middle East", "US"] | Omit = omit,
621
+ trim: Literal["trim-silence"] | Omit = omit,
622
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
623
+ # The extra values given here take precedence over values defined on the client or passed to this method.
624
+ extra_headers: Headers | None = None,
625
+ extra_query: Query | None = None,
626
+ extra_body: Body | None = None,
627
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
628
+ ) -> ActionRecordStartResponse:
629
+ """Start recording the conference.
630
+
631
+ Recording will stop on conference end, or via
632
+ the Stop Recording command.
633
+
634
+ **Expected Webhooks:**
635
+
636
+ - `conference.recording.saved`
637
+
638
+ Args:
639
+ format: The audio file format used when storing the conference recording. Can be either
640
+ `mp3` or `wav`.
641
+
642
+ command_id: Use this field to avoid duplicate commands. Telnyx will ignore any command with
643
+ the same `command_id` for the same `conference_id`.
644
+
645
+ custom_file_name: The custom recording file name to be used instead of the default `call_leg_id`.
646
+ Telnyx will still add a Unix timestamp suffix.
647
+
648
+ play_beep: If enabled, a beep sound will be played at the start of a recording.
649
+
650
+ region: Region where the conference data is located. Defaults to the region defined in
651
+ user's data locality settings (Europe or US).
652
+
653
+ trim: When set to `trim-silence`, silence will be removed from the beginning and end
654
+ of the recording.
655
+
656
+ extra_headers: Send extra headers
657
+
658
+ extra_query: Add additional query parameters to the request
659
+
660
+ extra_body: Add additional JSON properties to the request
661
+
662
+ timeout: Override the client-level default timeout for this request, in seconds
663
+ """
664
+ if not id:
665
+ raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
666
+ return self._post(
667
+ f"/conferences/{id}/actions/record_start",
668
+ body=maybe_transform(
669
+ {
670
+ "format": format,
671
+ "command_id": command_id,
672
+ "custom_file_name": custom_file_name,
673
+ "play_beep": play_beep,
674
+ "region": region,
675
+ "trim": trim,
676
+ },
677
+ action_record_start_params.ActionRecordStartParams,
678
+ ),
679
+ options=make_request_options(
680
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
681
+ ),
682
+ cast_to=ActionRecordStartResponse,
683
+ )
684
+
685
+ def record_stop(
686
+ self,
687
+ id: str,
688
+ *,
689
+ client_state: str | Omit = omit,
690
+ command_id: str | Omit = omit,
691
+ recording_id: str | Omit = omit,
692
+ region: Literal["Australia", "Europe", "Middle East", "US"] | Omit = omit,
693
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
694
+ # The extra values given here take precedence over values defined on the client or passed to this method.
695
+ extra_headers: Headers | None = None,
696
+ extra_query: Query | None = None,
697
+ extra_body: Body | None = None,
698
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
699
+ ) -> ActionRecordStopResponse:
700
+ """
701
+ Stop recording the conference.
702
+
703
+ **Expected Webhooks:**
704
+
705
+ - `conference.recording.saved`
706
+
707
+ Args:
708
+ client_state: Use this field to add state to every subsequent webhook. It must be a valid
709
+ Base-64 encoded string.
710
+
711
+ command_id: Use this field to avoid duplicate commands. Telnyx will ignore any command with
712
+ the same `command_id` for the same `call_control_id`.
713
+
714
+ recording_id: Uniquely identifies the resource.
715
+
716
+ region: Region where the conference data is located. Defaults to the region defined in
717
+ user's data locality settings (Europe or US).
718
+
719
+ extra_headers: Send extra headers
720
+
721
+ extra_query: Add additional query parameters to the request
722
+
723
+ extra_body: Add additional JSON properties to the request
724
+
725
+ timeout: Override the client-level default timeout for this request, in seconds
726
+ """
727
+ if not id:
728
+ raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
729
+ return self._post(
730
+ f"/conferences/{id}/actions/record_stop",
731
+ body=maybe_transform(
732
+ {
733
+ "client_state": client_state,
734
+ "command_id": command_id,
735
+ "recording_id": recording_id,
736
+ "region": region,
737
+ },
738
+ action_record_stop_params.ActionRecordStopParams,
739
+ ),
740
+ options=make_request_options(
741
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
742
+ ),
743
+ cast_to=ActionRecordStopResponse,
744
+ )
745
+
746
+ def speak(
747
+ self,
748
+ id: str,
749
+ *,
750
+ payload: str,
751
+ voice: str,
752
+ call_control_ids: SequenceNotStr[str] | Omit = omit,
753
+ command_id: str | Omit = omit,
754
+ language: Literal[
755
+ "arb",
756
+ "cmn-CN",
757
+ "cy-GB",
758
+ "da-DK",
759
+ "de-DE",
760
+ "en-AU",
761
+ "en-GB",
762
+ "en-GB-WLS",
763
+ "en-IN",
764
+ "en-US",
765
+ "es-ES",
766
+ "es-MX",
767
+ "es-US",
768
+ "fr-CA",
769
+ "fr-FR",
770
+ "hi-IN",
771
+ "is-IS",
772
+ "it-IT",
773
+ "ja-JP",
774
+ "ko-KR",
775
+ "nb-NO",
776
+ "nl-NL",
777
+ "pl-PL",
778
+ "pt-BR",
779
+ "pt-PT",
780
+ "ro-RO",
781
+ "ru-RU",
782
+ "sv-SE",
783
+ "tr-TR",
784
+ ]
785
+ | Omit = omit,
786
+ payload_type: Literal["text", "ssml"] | Omit = omit,
787
+ region: Literal["Australia", "Europe", "Middle East", "US"] | Omit = omit,
788
+ voice_settings: action_speak_params.VoiceSettings | Omit = omit,
789
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
790
+ # The extra values given here take precedence over values defined on the client or passed to this method.
791
+ extra_headers: Headers | None = None,
792
+ extra_query: Query | None = None,
793
+ extra_body: Body | None = None,
794
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
795
+ ) -> ActionSpeakResponse:
796
+ """
797
+ Convert text to speech and play it to all or some participants.
798
+
799
+ Args:
800
+ payload: The text or SSML to be converted into speech. There is a 3,000 character limit.
801
+
802
+ voice: Specifies the voice used in speech synthesis.
803
+
804
+ - Define voices using the format `<Provider>.<Model>.<VoiceId>`. Specifying only
805
+ the provider will give default values for voice_id and model_id.
806
+
807
+ **Supported Providers:**
808
+
809
+ - **AWS:** Use `AWS.Polly.<VoiceId>` (e.g., `AWS.Polly.Joanna`). For neural
810
+ voices, which provide more realistic, human-like speech, append `-Neural` to
811
+ the `VoiceId` (e.g., `AWS.Polly.Joanna-Neural`). Check the
812
+ [available voices](https://docs.aws.amazon.com/polly/latest/dg/available-voices.html)
813
+ for compatibility.
814
+ - **Azure:** Use `Azure.<VoiceId>. (e.g. Azure.en-CA-ClaraNeural,
815
+ Azure.en-CA-LiamNeural, Azure.en-US-BrianMultilingualNeural,
816
+ Azure.en-US-Ava:DragonHDLatestNeural. For a complete list of voices, go to
817
+ [Azure Voice Gallery](https://speech.microsoft.com/portal/voicegallery).)
818
+ - **ElevenLabs:** Use `ElevenLabs.<ModelId>.<VoiceId>` (e.g.,
819
+ `ElevenLabs.eleven_multilingual_v2.21m00Tcm4TlvDq8ikWAM`). The `ModelId` part
820
+ is optional. To use ElevenLabs, you must provide your ElevenLabs API key as an
821
+ integration identifier secret in
822
+ `"voice_settings": {"api_key_ref": "<secret_identifier>"}`. See
823
+ [integration secrets documentation](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
824
+ for details. Check
825
+ [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
826
+ - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
827
+
828
+ For service_level basic, you may define the gender of the speaker (male or
829
+ female).
830
+
831
+ call_control_ids: Call Control IDs of participants who will hear the spoken text. When empty all
832
+ participants will hear the spoken text.
833
+
834
+ command_id: Use this field to avoid execution of duplicate commands. Telnyx will ignore
835
+ subsequent commands with the same `command_id` as one that has already been
836
+ executed.
837
+
838
+ language: The language you want spoken. This parameter is ignored when a `Polly.*` voice
839
+ is specified.
840
+
841
+ payload_type: The type of the provided payload. The payload can either be plain text, or
842
+ Speech Synthesis Markup Language (SSML).
843
+
844
+ region: Region where the conference data is located. Defaults to the region defined in
845
+ user's data locality settings (Europe or US).
846
+
847
+ voice_settings: The settings associated with the voice selected
848
+
849
+ extra_headers: Send extra headers
850
+
851
+ extra_query: Add additional query parameters to the request
852
+
853
+ extra_body: Add additional JSON properties to the request
854
+
855
+ timeout: Override the client-level default timeout for this request, in seconds
856
+ """
857
+ if not id:
858
+ raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
859
+ return self._post(
860
+ f"/conferences/{id}/actions/speak",
861
+ body=maybe_transform(
862
+ {
863
+ "payload": payload,
864
+ "voice": voice,
865
+ "call_control_ids": call_control_ids,
866
+ "command_id": command_id,
867
+ "language": language,
868
+ "payload_type": payload_type,
869
+ "region": region,
870
+ "voice_settings": voice_settings,
871
+ },
872
+ action_speak_params.ActionSpeakParams,
873
+ ),
874
+ options=make_request_options(
875
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
876
+ ),
877
+ cast_to=ActionSpeakResponse,
878
+ )
879
+
880
+ def stop(
881
+ self,
882
+ id: str,
883
+ *,
884
+ call_control_ids: SequenceNotStr[str] | Omit = omit,
885
+ region: Literal["Australia", "Europe", "Middle East", "US"] | Omit = omit,
886
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
887
+ # The extra values given here take precedence over values defined on the client or passed to this method.
888
+ extra_headers: Headers | None = None,
889
+ extra_query: Query | None = None,
890
+ extra_body: Body | None = None,
891
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
892
+ ) -> ActionStopResponse:
893
+ """
894
+ Stop audio being played to all or some participants on a conference call.
895
+
896
+ Args:
897
+ call_control_ids: List of call control ids identifying participants the audio file should stop be
898
+ played to. If not given, the audio will be stoped to the entire conference.
899
+
900
+ region: Region where the conference data is located. Defaults to the region defined in
901
+ user's data locality settings (Europe or US).
902
+
903
+ extra_headers: Send extra headers
904
+
905
+ extra_query: Add additional query parameters to the request
906
+
907
+ extra_body: Add additional JSON properties to the request
908
+
909
+ timeout: Override the client-level default timeout for this request, in seconds
910
+ """
911
+ if not id:
912
+ raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
913
+ return self._post(
914
+ f"/conferences/{id}/actions/stop",
915
+ body=maybe_transform(
916
+ {
917
+ "call_control_ids": call_control_ids,
918
+ "region": region,
919
+ },
920
+ action_stop_params.ActionStopParams,
921
+ ),
922
+ options=make_request_options(
923
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
924
+ ),
925
+ cast_to=ActionStopResponse,
926
+ )
927
+
928
+ def unhold(
929
+ self,
930
+ id: str,
931
+ *,
932
+ call_control_ids: SequenceNotStr[str],
933
+ region: Literal["Australia", "Europe", "Middle East", "US"] | Omit = omit,
934
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
935
+ # The extra values given here take precedence over values defined on the client or passed to this method.
936
+ extra_headers: Headers | None = None,
937
+ extra_query: Query | None = None,
938
+ extra_body: Body | None = None,
939
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
940
+ ) -> ActionUnholdResponse:
941
+ """
942
+ Unhold a list of participants in a conference call
943
+
944
+ Args:
945
+ call_control_ids: List of unique identifiers and tokens for controlling the call. Enter each call
946
+ control ID to be unheld.
947
+
948
+ region: Region where the conference data is located. Defaults to the region defined in
949
+ user's data locality settings (Europe or US).
950
+
951
+ extra_headers: Send extra headers
952
+
953
+ extra_query: Add additional query parameters to the request
954
+
955
+ extra_body: Add additional JSON properties to the request
956
+
957
+ timeout: Override the client-level default timeout for this request, in seconds
958
+ """
959
+ if not id:
960
+ raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
961
+ return self._post(
962
+ f"/conferences/{id}/actions/unhold",
963
+ body=maybe_transform(
964
+ {
965
+ "call_control_ids": call_control_ids,
966
+ "region": region,
967
+ },
968
+ action_unhold_params.ActionUnholdParams,
969
+ ),
970
+ options=make_request_options(
971
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
972
+ ),
973
+ cast_to=ActionUnholdResponse,
974
+ )
975
+
976
+ def unmute(
977
+ self,
978
+ id: str,
979
+ *,
980
+ call_control_ids: SequenceNotStr[str] | Omit = omit,
981
+ region: Literal["Australia", "Europe", "Middle East", "US"] | Omit = omit,
982
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
983
+ # The extra values given here take precedence over values defined on the client or passed to this method.
984
+ extra_headers: Headers | None = None,
985
+ extra_query: Query | None = None,
986
+ extra_body: Body | None = None,
987
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
988
+ ) -> ActionUnmuteResponse:
989
+ """
990
+ Unmute a list of participants in a conference call
991
+
992
+ Args:
993
+ call_control_ids: List of unique identifiers and tokens for controlling the call. Enter each call
994
+ control ID to be unmuted. When empty all participants will be unmuted.
995
+
996
+ region: Region where the conference data is located. Defaults to the region defined in
997
+ user's data locality settings (Europe or US).
998
+
999
+ extra_headers: Send extra headers
1000
+
1001
+ extra_query: Add additional query parameters to the request
1002
+
1003
+ extra_body: Add additional JSON properties to the request
1004
+
1005
+ timeout: Override the client-level default timeout for this request, in seconds
1006
+ """
1007
+ if not id:
1008
+ raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
1009
+ return self._post(
1010
+ f"/conferences/{id}/actions/unmute",
1011
+ body=maybe_transform(
1012
+ {
1013
+ "call_control_ids": call_control_ids,
1014
+ "region": region,
1015
+ },
1016
+ action_unmute_params.ActionUnmuteParams,
1017
+ ),
1018
+ options=make_request_options(
1019
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1020
+ ),
1021
+ cast_to=ActionUnmuteResponse,
1022
+ )
1023
+
1024
+
1025
+ class AsyncActionsResource(AsyncAPIResource):
1026
+ @cached_property
1027
+ def with_raw_response(self) -> AsyncActionsResourceWithRawResponse:
1028
+ """
1029
+ This property can be used as a prefix for any HTTP method call to return
1030
+ the raw response object instead of the parsed content.
1031
+
1032
+ For more information, see https://www.github.com/team-telnyx/telnyx-python#accessing-raw-response-data-eg-headers
1033
+ """
1034
+ return AsyncActionsResourceWithRawResponse(self)
1035
+
1036
+ @cached_property
1037
+ def with_streaming_response(self) -> AsyncActionsResourceWithStreamingResponse:
1038
+ """
1039
+ An alternative to `.with_raw_response` that doesn't eagerly read the response body.
1040
+
1041
+ For more information, see https://www.github.com/team-telnyx/telnyx-python#with_streaming_response
1042
+ """
1043
+ return AsyncActionsResourceWithStreamingResponse(self)
1044
+
1045
+ async def update(
1046
+ self,
1047
+ id: str,
1048
+ *,
1049
+ call_control_id: str,
1050
+ supervisor_role: Literal["barge", "monitor", "none", "whisper"],
1051
+ command_id: str | Omit = omit,
1052
+ region: Literal["Australia", "Europe", "Middle East", "US"] | Omit = omit,
1053
+ whisper_call_control_ids: SequenceNotStr[str] | Omit = omit,
1054
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1055
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1056
+ extra_headers: Headers | None = None,
1057
+ extra_query: Query | None = None,
1058
+ extra_body: Body | None = None,
1059
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1060
+ ) -> ActionUpdateResponse:
1061
+ """
1062
+ Update conference participant supervisor_role
1063
+
1064
+ Args:
1065
+ call_control_id: Unique identifier and token for controlling the call
1066
+
1067
+ supervisor_role: Sets the participant as a supervisor for the conference. A conference can have
1068
+ multiple supervisors. "barge" means the supervisor enters the conference as a
1069
+ normal participant. This is the same as "none". "monitor" means the supervisor
1070
+ is muted but can hear all participants. "whisper" means that only the specified
1071
+ "whisper_call_control_ids" can hear the supervisor. Defaults to "none".
1072
+
1073
+ command_id: Use this field to avoid execution of duplicate commands. Telnyx will ignore
1074
+ subsequent commands with the same `command_id` as one that has already been
1075
+ executed.
1076
+
1077
+ region: Region where the conference data is located. Defaults to the region defined in
1078
+ user's data locality settings (Europe or US).
1079
+
1080
+ whisper_call_control_ids: Array of unique call_control_ids the supervisor can whisper to. If none
1081
+ provided, the supervisor will join the conference as a monitoring participant
1082
+ only.
1083
+
1084
+ extra_headers: Send extra headers
1085
+
1086
+ extra_query: Add additional query parameters to the request
1087
+
1088
+ extra_body: Add additional JSON properties to the request
1089
+
1090
+ timeout: Override the client-level default timeout for this request, in seconds
1091
+ """
1092
+ if not id:
1093
+ raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
1094
+ return await self._post(
1095
+ f"/conferences/{id}/actions/update",
1096
+ body=await async_maybe_transform(
1097
+ {
1098
+ "call_control_id": call_control_id,
1099
+ "supervisor_role": supervisor_role,
1100
+ "command_id": command_id,
1101
+ "region": region,
1102
+ "whisper_call_control_ids": whisper_call_control_ids,
1103
+ },
1104
+ action_update_params.ActionUpdateParams,
1105
+ ),
1106
+ options=make_request_options(
1107
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1108
+ ),
1109
+ cast_to=ActionUpdateResponse,
1110
+ )
1111
+
1112
+ async def hold(
1113
+ self,
1114
+ id: str,
1115
+ *,
1116
+ audio_url: str | Omit = omit,
1117
+ call_control_ids: SequenceNotStr[str] | Omit = omit,
1118
+ media_name: str | Omit = omit,
1119
+ region: Literal["Australia", "Europe", "Middle East", "US"] | Omit = omit,
1120
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1121
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1122
+ extra_headers: Headers | None = None,
1123
+ extra_query: Query | None = None,
1124
+ extra_body: Body | None = None,
1125
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1126
+ ) -> ActionHoldResponse:
1127
+ """
1128
+ Hold a list of participants in a conference call
1129
+
1130
+ Args:
1131
+ audio_url: The URL of a file to be played to the participants when they are put on hold.
1132
+ media_name and audio_url cannot be used together in one request.
1133
+
1134
+ call_control_ids: List of unique identifiers and tokens for controlling the call. When empty all
1135
+ participants will be placed on hold.
1136
+
1137
+ media_name: The media_name of a file to be played to the participants when they are put on
1138
+ hold. The media_name must point to a file previously uploaded to
1139
+ api.telnyx.com/v2/media by the same user/organization. The file must either be a
1140
+ WAV or MP3 file.
1141
+
1142
+ region: Region where the conference data is located. Defaults to the region defined in
1143
+ user's data locality settings (Europe or US).
1144
+
1145
+ extra_headers: Send extra headers
1146
+
1147
+ extra_query: Add additional query parameters to the request
1148
+
1149
+ extra_body: Add additional JSON properties to the request
1150
+
1151
+ timeout: Override the client-level default timeout for this request, in seconds
1152
+ """
1153
+ if not id:
1154
+ raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
1155
+ return await self._post(
1156
+ f"/conferences/{id}/actions/hold",
1157
+ body=await async_maybe_transform(
1158
+ {
1159
+ "audio_url": audio_url,
1160
+ "call_control_ids": call_control_ids,
1161
+ "media_name": media_name,
1162
+ "region": region,
1163
+ },
1164
+ action_hold_params.ActionHoldParams,
1165
+ ),
1166
+ options=make_request_options(
1167
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1168
+ ),
1169
+ cast_to=ActionHoldResponse,
1170
+ )
1171
+
1172
+ async def join(
1173
+ self,
1174
+ id: str,
1175
+ *,
1176
+ call_control_id: str,
1177
+ beep_enabled: Literal["always", "never", "on_enter", "on_exit"] | Omit = omit,
1178
+ client_state: str | Omit = omit,
1179
+ command_id: str | Omit = omit,
1180
+ end_conference_on_exit: bool | Omit = omit,
1181
+ hold: bool | Omit = omit,
1182
+ hold_audio_url: str | Omit = omit,
1183
+ hold_media_name: str | Omit = omit,
1184
+ mute: bool | Omit = omit,
1185
+ region: Literal["Australia", "Europe", "Middle East", "US"] | Omit = omit,
1186
+ soft_end_conference_on_exit: bool | Omit = omit,
1187
+ start_conference_on_enter: bool | Omit = omit,
1188
+ supervisor_role: Literal["barge", "monitor", "none", "whisper"] | Omit = omit,
1189
+ whisper_call_control_ids: SequenceNotStr[str] | Omit = omit,
1190
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1191
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1192
+ extra_headers: Headers | None = None,
1193
+ extra_query: Query | None = None,
1194
+ extra_body: Body | None = None,
1195
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1196
+ ) -> ActionJoinResponse:
1197
+ """Join an existing call leg to a conference.
1198
+
1199
+ Issue the Join Conference command
1200
+ with the conference ID in the path and the `call_control_id` of the leg you wish
1201
+ to join to the conference as an attribute. The conference can have up to a
1202
+ certain amount of active participants, as set by the `max_participants`
1203
+ parameter in conference creation request.
1204
+
1205
+ **Expected Webhooks:**
1206
+
1207
+ - `conference.participant.joined`
1208
+ - `conference.participant.left`
1209
+
1210
+ Args:
1211
+ call_control_id: Unique identifier and token for controlling the call
1212
+
1213
+ beep_enabled: Whether a beep sound should be played when the participant joins and/or leaves
1214
+ the conference. Can be used to override the conference-level setting.
1215
+
1216
+ client_state: Use this field to add state to every subsequent webhook. It must be a valid
1217
+ Base-64 encoded string. Please note that the client_state will be updated for
1218
+ the participient call leg and the change will not affect conferencing webhooks
1219
+ unless the participient is the owner of the conference.
1220
+
1221
+ command_id: Use this field to avoid execution of duplicate commands. Telnyx will ignore
1222
+ subsequent commands with the same `command_id` as one that has already been
1223
+ executed.
1224
+
1225
+ end_conference_on_exit: Whether the conference should end and all remaining participants be hung up
1226
+ after the participant leaves the conference. Defaults to "false".
1227
+
1228
+ hold: Whether the participant should be put on hold immediately after joining the
1229
+ conference. Defaults to "false".
1230
+
1231
+ hold_audio_url: The URL of a file to be played to the participant when they are put on hold
1232
+ after joining the conference. hold_media_name and hold_audio_url cannot be used
1233
+ together in one request. Takes effect only when "start_conference_on_create" is
1234
+ set to "false". This property takes effect only if "hold" is set to "true".
1235
+
1236
+ hold_media_name: The media_name of a file to be played to the participant when they are put on
1237
+ hold after joining the conference. The media_name must point to a file
1238
+ previously uploaded to api.telnyx.com/v2/media by the same user/organization.
1239
+ The file must either be a WAV or MP3 file. Takes effect only when
1240
+ "start_conference_on_create" is set to "false". This property takes effect only
1241
+ if "hold" is set to "true".
1242
+
1243
+ mute: Whether the participant should be muted immediately after joining the
1244
+ conference. Defaults to "false".
1245
+
1246
+ region: Region where the conference data is located. Defaults to the region defined in
1247
+ user's data locality settings (Europe or US).
1248
+
1249
+ soft_end_conference_on_exit: Whether the conference should end after the participant leaves the conference.
1250
+ NOTE this doesn't hang up the other participants. Defaults to "false".
1251
+
1252
+ start_conference_on_enter: Whether the conference should be started after the participant joins the
1253
+ conference. Defaults to "false".
1254
+
1255
+ supervisor_role: Sets the joining participant as a supervisor for the conference. A conference
1256
+ can have multiple supervisors. "barge" means the supervisor enters the
1257
+ conference as a normal participant. This is the same as "none". "monitor" means
1258
+ the supervisor is muted but can hear all participants. "whisper" means that only
1259
+ the specified "whisper_call_control_ids" can hear the supervisor. Defaults to
1260
+ "none".
1261
+
1262
+ whisper_call_control_ids: Array of unique call_control_ids the joining supervisor can whisper to. If none
1263
+ provided, the supervisor will join the conference as a monitoring participant
1264
+ only.
1265
+
1266
+ extra_headers: Send extra headers
1267
+
1268
+ extra_query: Add additional query parameters to the request
1269
+
1270
+ extra_body: Add additional JSON properties to the request
1271
+
1272
+ timeout: Override the client-level default timeout for this request, in seconds
1273
+ """
1274
+ if not id:
1275
+ raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
1276
+ return await self._post(
1277
+ f"/conferences/{id}/actions/join",
1278
+ body=await async_maybe_transform(
1279
+ {
1280
+ "call_control_id": call_control_id,
1281
+ "beep_enabled": beep_enabled,
1282
+ "client_state": client_state,
1283
+ "command_id": command_id,
1284
+ "end_conference_on_exit": end_conference_on_exit,
1285
+ "hold": hold,
1286
+ "hold_audio_url": hold_audio_url,
1287
+ "hold_media_name": hold_media_name,
1288
+ "mute": mute,
1289
+ "region": region,
1290
+ "soft_end_conference_on_exit": soft_end_conference_on_exit,
1291
+ "start_conference_on_enter": start_conference_on_enter,
1292
+ "supervisor_role": supervisor_role,
1293
+ "whisper_call_control_ids": whisper_call_control_ids,
1294
+ },
1295
+ action_join_params.ActionJoinParams,
1296
+ ),
1297
+ options=make_request_options(
1298
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1299
+ ),
1300
+ cast_to=ActionJoinResponse,
1301
+ )
1302
+
1303
+ async def leave(
1304
+ self,
1305
+ id: str,
1306
+ *,
1307
+ call_control_id: str,
1308
+ beep_enabled: Literal["always", "never", "on_enter", "on_exit"] | Omit = omit,
1309
+ command_id: str | Omit = omit,
1310
+ region: Literal["Australia", "Europe", "Middle East", "US"] | Omit = omit,
1311
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1312
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1313
+ extra_headers: Headers | None = None,
1314
+ extra_query: Query | None = None,
1315
+ extra_body: Body | None = None,
1316
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1317
+ ) -> ActionLeaveResponse:
1318
+ """
1319
+ Removes a call leg from a conference and moves it back to parked state.
1320
+
1321
+ **Expected Webhooks:**
1322
+
1323
+ - `conference.participant.left`
1324
+
1325
+ Args:
1326
+ call_control_id: Unique identifier and token for controlling the call
1327
+
1328
+ beep_enabled: Whether a beep sound should be played when the participant leaves the
1329
+ conference. Can be used to override the conference-level setting.
1330
+
1331
+ command_id: Use this field to avoid execution of duplicate commands. Telnyx will ignore
1332
+ subsequent commands with the same `command_id` as one that has already been
1333
+ executed.
1334
+
1335
+ region: Region where the conference data is located. Defaults to the region defined in
1336
+ user's data locality settings (Europe or US).
1337
+
1338
+ extra_headers: Send extra headers
1339
+
1340
+ extra_query: Add additional query parameters to the request
1341
+
1342
+ extra_body: Add additional JSON properties to the request
1343
+
1344
+ timeout: Override the client-level default timeout for this request, in seconds
1345
+ """
1346
+ if not id:
1347
+ raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
1348
+ return await self._post(
1349
+ f"/conferences/{id}/actions/leave",
1350
+ body=await async_maybe_transform(
1351
+ {
1352
+ "call_control_id": call_control_id,
1353
+ "beep_enabled": beep_enabled,
1354
+ "command_id": command_id,
1355
+ "region": region,
1356
+ },
1357
+ action_leave_params.ActionLeaveParams,
1358
+ ),
1359
+ options=make_request_options(
1360
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1361
+ ),
1362
+ cast_to=ActionLeaveResponse,
1363
+ )
1364
+
1365
+ async def mute(
1366
+ self,
1367
+ id: str,
1368
+ *,
1369
+ call_control_ids: SequenceNotStr[str] | Omit = omit,
1370
+ region: Literal["Australia", "Europe", "Middle East", "US"] | Omit = omit,
1371
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1372
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1373
+ extra_headers: Headers | None = None,
1374
+ extra_query: Query | None = None,
1375
+ extra_body: Body | None = None,
1376
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1377
+ ) -> ActionMuteResponse:
1378
+ """
1379
+ Mute a list of participants in a conference call
1380
+
1381
+ Args:
1382
+ call_control_ids: Array of unique identifiers and tokens for controlling the call. When empty all
1383
+ participants will be muted.
1384
+
1385
+ region: Region where the conference data is located. Defaults to the region defined in
1386
+ user's data locality settings (Europe or US).
1387
+
1388
+ extra_headers: Send extra headers
1389
+
1390
+ extra_query: Add additional query parameters to the request
1391
+
1392
+ extra_body: Add additional JSON properties to the request
1393
+
1394
+ timeout: Override the client-level default timeout for this request, in seconds
1395
+ """
1396
+ if not id:
1397
+ raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
1398
+ return await self._post(
1399
+ f"/conferences/{id}/actions/mute",
1400
+ body=await async_maybe_transform(
1401
+ {
1402
+ "call_control_ids": call_control_ids,
1403
+ "region": region,
1404
+ },
1405
+ action_mute_params.ActionMuteParams,
1406
+ ),
1407
+ options=make_request_options(
1408
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1409
+ ),
1410
+ cast_to=ActionMuteResponse,
1411
+ )
1412
+
1413
+ async def play(
1414
+ self,
1415
+ id: str,
1416
+ *,
1417
+ audio_url: str | Omit = omit,
1418
+ call_control_ids: SequenceNotStr[str] | Omit = omit,
1419
+ loop: LoopcountParam | Omit = omit,
1420
+ media_name: str | Omit = omit,
1421
+ region: Literal["Australia", "Europe", "Middle East", "US"] | Omit = omit,
1422
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1423
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1424
+ extra_headers: Headers | None = None,
1425
+ extra_query: Query | None = None,
1426
+ extra_body: Body | None = None,
1427
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1428
+ ) -> ActionPlayResponse:
1429
+ """
1430
+ Play audio to all or some participants on a conference call.
1431
+
1432
+ Args:
1433
+ audio_url: The URL of a file to be played back in the conference. media_name and audio_url
1434
+ cannot be used together in one request.
1435
+
1436
+ call_control_ids: List of call control ids identifying participants the audio file should be
1437
+ played to. If not given, the audio file will be played to the entire conference.
1438
+
1439
+ loop: The number of times the audio file should be played. If supplied, the value must
1440
+ be an integer between 1 and 100, or the special string `infinity` for an endless
1441
+ loop.
1442
+
1443
+ media_name: The media_name of a file to be played back in the conference. The media_name
1444
+ must point to a file previously uploaded to api.telnyx.com/v2/media by the same
1445
+ user/organization. The file must either be a WAV or MP3 file.
1446
+
1447
+ region: Region where the conference data is located. Defaults to the region defined in
1448
+ user's data locality settings (Europe or US).
1449
+
1450
+ extra_headers: Send extra headers
1451
+
1452
+ extra_query: Add additional query parameters to the request
1453
+
1454
+ extra_body: Add additional JSON properties to the request
1455
+
1456
+ timeout: Override the client-level default timeout for this request, in seconds
1457
+ """
1458
+ if not id:
1459
+ raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
1460
+ return await self._post(
1461
+ f"/conferences/{id}/actions/play",
1462
+ body=await async_maybe_transform(
1463
+ {
1464
+ "audio_url": audio_url,
1465
+ "call_control_ids": call_control_ids,
1466
+ "loop": loop,
1467
+ "media_name": media_name,
1468
+ "region": region,
1469
+ },
1470
+ action_play_params.ActionPlayParams,
1471
+ ),
1472
+ options=make_request_options(
1473
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1474
+ ),
1475
+ cast_to=ActionPlayResponse,
1476
+ )
1477
+
1478
+ async def record_pause(
1479
+ self,
1480
+ id: str,
1481
+ *,
1482
+ command_id: str | Omit = omit,
1483
+ recording_id: str | Omit = omit,
1484
+ region: Literal["Australia", "Europe", "Middle East", "US"] | Omit = omit,
1485
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1486
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1487
+ extra_headers: Headers | None = None,
1488
+ extra_query: Query | None = None,
1489
+ extra_body: Body | None = None,
1490
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1491
+ ) -> ActionRecordPauseResponse:
1492
+ """
1493
+ Pause conference recording.
1494
+
1495
+ Args:
1496
+ command_id: Use this field to avoid duplicate commands. Telnyx will ignore any command with
1497
+ the same `command_id` for the same `call_control_id`.
1498
+
1499
+ recording_id: Use this field to pause specific recording.
1500
+
1501
+ region: Region where the conference data is located. Defaults to the region defined in
1502
+ user's data locality settings (Europe or US).
1503
+
1504
+ extra_headers: Send extra headers
1505
+
1506
+ extra_query: Add additional query parameters to the request
1507
+
1508
+ extra_body: Add additional JSON properties to the request
1509
+
1510
+ timeout: Override the client-level default timeout for this request, in seconds
1511
+ """
1512
+ if not id:
1513
+ raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
1514
+ return await self._post(
1515
+ f"/conferences/{id}/actions/record_pause",
1516
+ body=await async_maybe_transform(
1517
+ {
1518
+ "command_id": command_id,
1519
+ "recording_id": recording_id,
1520
+ "region": region,
1521
+ },
1522
+ action_record_pause_params.ActionRecordPauseParams,
1523
+ ),
1524
+ options=make_request_options(
1525
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1526
+ ),
1527
+ cast_to=ActionRecordPauseResponse,
1528
+ )
1529
+
1530
+ async def record_resume(
1531
+ self,
1532
+ id: str,
1533
+ *,
1534
+ command_id: str | Omit = omit,
1535
+ recording_id: str | Omit = omit,
1536
+ region: Literal["Australia", "Europe", "Middle East", "US"] | Omit = omit,
1537
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1538
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1539
+ extra_headers: Headers | None = None,
1540
+ extra_query: Query | None = None,
1541
+ extra_body: Body | None = None,
1542
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1543
+ ) -> ActionRecordResumeResponse:
1544
+ """
1545
+ Resume conference recording.
1546
+
1547
+ Args:
1548
+ command_id: Use this field to avoid duplicate commands. Telnyx will ignore any command with
1549
+ the same `command_id` for the same `call_control_id`.
1550
+
1551
+ recording_id: Use this field to resume specific recording.
1552
+
1553
+ region: Region where the conference data is located. Defaults to the region defined in
1554
+ user's data locality settings (Europe or US).
1555
+
1556
+ extra_headers: Send extra headers
1557
+
1558
+ extra_query: Add additional query parameters to the request
1559
+
1560
+ extra_body: Add additional JSON properties to the request
1561
+
1562
+ timeout: Override the client-level default timeout for this request, in seconds
1563
+ """
1564
+ if not id:
1565
+ raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
1566
+ return await self._post(
1567
+ f"/conferences/{id}/actions/record_resume",
1568
+ body=await async_maybe_transform(
1569
+ {
1570
+ "command_id": command_id,
1571
+ "recording_id": recording_id,
1572
+ "region": region,
1573
+ },
1574
+ action_record_resume_params.ActionRecordResumeParams,
1575
+ ),
1576
+ options=make_request_options(
1577
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1578
+ ),
1579
+ cast_to=ActionRecordResumeResponse,
1580
+ )
1581
+
1582
+ async def record_start(
1583
+ self,
1584
+ id: str,
1585
+ *,
1586
+ format: Literal["wav", "mp3"],
1587
+ command_id: str | Omit = omit,
1588
+ custom_file_name: str | Omit = omit,
1589
+ play_beep: bool | Omit = omit,
1590
+ region: Literal["Australia", "Europe", "Middle East", "US"] | Omit = omit,
1591
+ trim: Literal["trim-silence"] | Omit = omit,
1592
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1593
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1594
+ extra_headers: Headers | None = None,
1595
+ extra_query: Query | None = None,
1596
+ extra_body: Body | None = None,
1597
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1598
+ ) -> ActionRecordStartResponse:
1599
+ """Start recording the conference.
1600
+
1601
+ Recording will stop on conference end, or via
1602
+ the Stop Recording command.
1603
+
1604
+ **Expected Webhooks:**
1605
+
1606
+ - `conference.recording.saved`
1607
+
1608
+ Args:
1609
+ format: The audio file format used when storing the conference recording. Can be either
1610
+ `mp3` or `wav`.
1611
+
1612
+ command_id: Use this field to avoid duplicate commands. Telnyx will ignore any command with
1613
+ the same `command_id` for the same `conference_id`.
1614
+
1615
+ custom_file_name: The custom recording file name to be used instead of the default `call_leg_id`.
1616
+ Telnyx will still add a Unix timestamp suffix.
1617
+
1618
+ play_beep: If enabled, a beep sound will be played at the start of a recording.
1619
+
1620
+ region: Region where the conference data is located. Defaults to the region defined in
1621
+ user's data locality settings (Europe or US).
1622
+
1623
+ trim: When set to `trim-silence`, silence will be removed from the beginning and end
1624
+ of the recording.
1625
+
1626
+ extra_headers: Send extra headers
1627
+
1628
+ extra_query: Add additional query parameters to the request
1629
+
1630
+ extra_body: Add additional JSON properties to the request
1631
+
1632
+ timeout: Override the client-level default timeout for this request, in seconds
1633
+ """
1634
+ if not id:
1635
+ raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
1636
+ return await self._post(
1637
+ f"/conferences/{id}/actions/record_start",
1638
+ body=await async_maybe_transform(
1639
+ {
1640
+ "format": format,
1641
+ "command_id": command_id,
1642
+ "custom_file_name": custom_file_name,
1643
+ "play_beep": play_beep,
1644
+ "region": region,
1645
+ "trim": trim,
1646
+ },
1647
+ action_record_start_params.ActionRecordStartParams,
1648
+ ),
1649
+ options=make_request_options(
1650
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1651
+ ),
1652
+ cast_to=ActionRecordStartResponse,
1653
+ )
1654
+
1655
+ async def record_stop(
1656
+ self,
1657
+ id: str,
1658
+ *,
1659
+ client_state: str | Omit = omit,
1660
+ command_id: str | Omit = omit,
1661
+ recording_id: str | Omit = omit,
1662
+ region: Literal["Australia", "Europe", "Middle East", "US"] | Omit = omit,
1663
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1664
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1665
+ extra_headers: Headers | None = None,
1666
+ extra_query: Query | None = None,
1667
+ extra_body: Body | None = None,
1668
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1669
+ ) -> ActionRecordStopResponse:
1670
+ """
1671
+ Stop recording the conference.
1672
+
1673
+ **Expected Webhooks:**
1674
+
1675
+ - `conference.recording.saved`
1676
+
1677
+ Args:
1678
+ client_state: Use this field to add state to every subsequent webhook. It must be a valid
1679
+ Base-64 encoded string.
1680
+
1681
+ command_id: Use this field to avoid duplicate commands. Telnyx will ignore any command with
1682
+ the same `command_id` for the same `call_control_id`.
1683
+
1684
+ recording_id: Uniquely identifies the resource.
1685
+
1686
+ region: Region where the conference data is located. Defaults to the region defined in
1687
+ user's data locality settings (Europe or US).
1688
+
1689
+ extra_headers: Send extra headers
1690
+
1691
+ extra_query: Add additional query parameters to the request
1692
+
1693
+ extra_body: Add additional JSON properties to the request
1694
+
1695
+ timeout: Override the client-level default timeout for this request, in seconds
1696
+ """
1697
+ if not id:
1698
+ raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
1699
+ return await self._post(
1700
+ f"/conferences/{id}/actions/record_stop",
1701
+ body=await async_maybe_transform(
1702
+ {
1703
+ "client_state": client_state,
1704
+ "command_id": command_id,
1705
+ "recording_id": recording_id,
1706
+ "region": region,
1707
+ },
1708
+ action_record_stop_params.ActionRecordStopParams,
1709
+ ),
1710
+ options=make_request_options(
1711
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1712
+ ),
1713
+ cast_to=ActionRecordStopResponse,
1714
+ )
1715
+
1716
+ async def speak(
1717
+ self,
1718
+ id: str,
1719
+ *,
1720
+ payload: str,
1721
+ voice: str,
1722
+ call_control_ids: SequenceNotStr[str] | Omit = omit,
1723
+ command_id: str | Omit = omit,
1724
+ language: Literal[
1725
+ "arb",
1726
+ "cmn-CN",
1727
+ "cy-GB",
1728
+ "da-DK",
1729
+ "de-DE",
1730
+ "en-AU",
1731
+ "en-GB",
1732
+ "en-GB-WLS",
1733
+ "en-IN",
1734
+ "en-US",
1735
+ "es-ES",
1736
+ "es-MX",
1737
+ "es-US",
1738
+ "fr-CA",
1739
+ "fr-FR",
1740
+ "hi-IN",
1741
+ "is-IS",
1742
+ "it-IT",
1743
+ "ja-JP",
1744
+ "ko-KR",
1745
+ "nb-NO",
1746
+ "nl-NL",
1747
+ "pl-PL",
1748
+ "pt-BR",
1749
+ "pt-PT",
1750
+ "ro-RO",
1751
+ "ru-RU",
1752
+ "sv-SE",
1753
+ "tr-TR",
1754
+ ]
1755
+ | Omit = omit,
1756
+ payload_type: Literal["text", "ssml"] | Omit = omit,
1757
+ region: Literal["Australia", "Europe", "Middle East", "US"] | Omit = omit,
1758
+ voice_settings: action_speak_params.VoiceSettings | Omit = omit,
1759
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1760
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1761
+ extra_headers: Headers | None = None,
1762
+ extra_query: Query | None = None,
1763
+ extra_body: Body | None = None,
1764
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1765
+ ) -> ActionSpeakResponse:
1766
+ """
1767
+ Convert text to speech and play it to all or some participants.
1768
+
1769
+ Args:
1770
+ payload: The text or SSML to be converted into speech. There is a 3,000 character limit.
1771
+
1772
+ voice: Specifies the voice used in speech synthesis.
1773
+
1774
+ - Define voices using the format `<Provider>.<Model>.<VoiceId>`. Specifying only
1775
+ the provider will give default values for voice_id and model_id.
1776
+
1777
+ **Supported Providers:**
1778
+
1779
+ - **AWS:** Use `AWS.Polly.<VoiceId>` (e.g., `AWS.Polly.Joanna`). For neural
1780
+ voices, which provide more realistic, human-like speech, append `-Neural` to
1781
+ the `VoiceId` (e.g., `AWS.Polly.Joanna-Neural`). Check the
1782
+ [available voices](https://docs.aws.amazon.com/polly/latest/dg/available-voices.html)
1783
+ for compatibility.
1784
+ - **Azure:** Use `Azure.<VoiceId>. (e.g. Azure.en-CA-ClaraNeural,
1785
+ Azure.en-CA-LiamNeural, Azure.en-US-BrianMultilingualNeural,
1786
+ Azure.en-US-Ava:DragonHDLatestNeural. For a complete list of voices, go to
1787
+ [Azure Voice Gallery](https://speech.microsoft.com/portal/voicegallery).)
1788
+ - **ElevenLabs:** Use `ElevenLabs.<ModelId>.<VoiceId>` (e.g.,
1789
+ `ElevenLabs.eleven_multilingual_v2.21m00Tcm4TlvDq8ikWAM`). The `ModelId` part
1790
+ is optional. To use ElevenLabs, you must provide your ElevenLabs API key as an
1791
+ integration identifier secret in
1792
+ `"voice_settings": {"api_key_ref": "<secret_identifier>"}`. See
1793
+ [integration secrets documentation](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
1794
+ for details. Check
1795
+ [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
1796
+ - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
1797
+
1798
+ For service_level basic, you may define the gender of the speaker (male or
1799
+ female).
1800
+
1801
+ call_control_ids: Call Control IDs of participants who will hear the spoken text. When empty all
1802
+ participants will hear the spoken text.
1803
+
1804
+ command_id: Use this field to avoid execution of duplicate commands. Telnyx will ignore
1805
+ subsequent commands with the same `command_id` as one that has already been
1806
+ executed.
1807
+
1808
+ language: The language you want spoken. This parameter is ignored when a `Polly.*` voice
1809
+ is specified.
1810
+
1811
+ payload_type: The type of the provided payload. The payload can either be plain text, or
1812
+ Speech Synthesis Markup Language (SSML).
1813
+
1814
+ region: Region where the conference data is located. Defaults to the region defined in
1815
+ user's data locality settings (Europe or US).
1816
+
1817
+ voice_settings: The settings associated with the voice selected
1818
+
1819
+ extra_headers: Send extra headers
1820
+
1821
+ extra_query: Add additional query parameters to the request
1822
+
1823
+ extra_body: Add additional JSON properties to the request
1824
+
1825
+ timeout: Override the client-level default timeout for this request, in seconds
1826
+ """
1827
+ if not id:
1828
+ raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
1829
+ return await self._post(
1830
+ f"/conferences/{id}/actions/speak",
1831
+ body=await async_maybe_transform(
1832
+ {
1833
+ "payload": payload,
1834
+ "voice": voice,
1835
+ "call_control_ids": call_control_ids,
1836
+ "command_id": command_id,
1837
+ "language": language,
1838
+ "payload_type": payload_type,
1839
+ "region": region,
1840
+ "voice_settings": voice_settings,
1841
+ },
1842
+ action_speak_params.ActionSpeakParams,
1843
+ ),
1844
+ options=make_request_options(
1845
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1846
+ ),
1847
+ cast_to=ActionSpeakResponse,
1848
+ )
1849
+
1850
+ async def stop(
1851
+ self,
1852
+ id: str,
1853
+ *,
1854
+ call_control_ids: SequenceNotStr[str] | Omit = omit,
1855
+ region: Literal["Australia", "Europe", "Middle East", "US"] | Omit = omit,
1856
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1857
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1858
+ extra_headers: Headers | None = None,
1859
+ extra_query: Query | None = None,
1860
+ extra_body: Body | None = None,
1861
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1862
+ ) -> ActionStopResponse:
1863
+ """
1864
+ Stop audio being played to all or some participants on a conference call.
1865
+
1866
+ Args:
1867
+ call_control_ids: List of call control ids identifying participants the audio file should stop be
1868
+ played to. If not given, the audio will be stoped to the entire conference.
1869
+
1870
+ region: Region where the conference data is located. Defaults to the region defined in
1871
+ user's data locality settings (Europe or US).
1872
+
1873
+ extra_headers: Send extra headers
1874
+
1875
+ extra_query: Add additional query parameters to the request
1876
+
1877
+ extra_body: Add additional JSON properties to the request
1878
+
1879
+ timeout: Override the client-level default timeout for this request, in seconds
1880
+ """
1881
+ if not id:
1882
+ raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
1883
+ return await self._post(
1884
+ f"/conferences/{id}/actions/stop",
1885
+ body=await async_maybe_transform(
1886
+ {
1887
+ "call_control_ids": call_control_ids,
1888
+ "region": region,
1889
+ },
1890
+ action_stop_params.ActionStopParams,
1891
+ ),
1892
+ options=make_request_options(
1893
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1894
+ ),
1895
+ cast_to=ActionStopResponse,
1896
+ )
1897
+
1898
+ async def unhold(
1899
+ self,
1900
+ id: str,
1901
+ *,
1902
+ call_control_ids: SequenceNotStr[str],
1903
+ region: Literal["Australia", "Europe", "Middle East", "US"] | Omit = omit,
1904
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1905
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1906
+ extra_headers: Headers | None = None,
1907
+ extra_query: Query | None = None,
1908
+ extra_body: Body | None = None,
1909
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1910
+ ) -> ActionUnholdResponse:
1911
+ """
1912
+ Unhold a list of participants in a conference call
1913
+
1914
+ Args:
1915
+ call_control_ids: List of unique identifiers and tokens for controlling the call. Enter each call
1916
+ control ID to be unheld.
1917
+
1918
+ region: Region where the conference data is located. Defaults to the region defined in
1919
+ user's data locality settings (Europe or US).
1920
+
1921
+ extra_headers: Send extra headers
1922
+
1923
+ extra_query: Add additional query parameters to the request
1924
+
1925
+ extra_body: Add additional JSON properties to the request
1926
+
1927
+ timeout: Override the client-level default timeout for this request, in seconds
1928
+ """
1929
+ if not id:
1930
+ raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
1931
+ return await self._post(
1932
+ f"/conferences/{id}/actions/unhold",
1933
+ body=await async_maybe_transform(
1934
+ {
1935
+ "call_control_ids": call_control_ids,
1936
+ "region": region,
1937
+ },
1938
+ action_unhold_params.ActionUnholdParams,
1939
+ ),
1940
+ options=make_request_options(
1941
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1942
+ ),
1943
+ cast_to=ActionUnholdResponse,
1944
+ )
1945
+
1946
+ async def unmute(
1947
+ self,
1948
+ id: str,
1949
+ *,
1950
+ call_control_ids: SequenceNotStr[str] | Omit = omit,
1951
+ region: Literal["Australia", "Europe", "Middle East", "US"] | Omit = omit,
1952
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1953
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1954
+ extra_headers: Headers | None = None,
1955
+ extra_query: Query | None = None,
1956
+ extra_body: Body | None = None,
1957
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1958
+ ) -> ActionUnmuteResponse:
1959
+ """
1960
+ Unmute a list of participants in a conference call
1961
+
1962
+ Args:
1963
+ call_control_ids: List of unique identifiers and tokens for controlling the call. Enter each call
1964
+ control ID to be unmuted. When empty all participants will be unmuted.
1965
+
1966
+ region: Region where the conference data is located. Defaults to the region defined in
1967
+ user's data locality settings (Europe or US).
1968
+
1969
+ extra_headers: Send extra headers
1970
+
1971
+ extra_query: Add additional query parameters to the request
1972
+
1973
+ extra_body: Add additional JSON properties to the request
1974
+
1975
+ timeout: Override the client-level default timeout for this request, in seconds
1976
+ """
1977
+ if not id:
1978
+ raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
1979
+ return await self._post(
1980
+ f"/conferences/{id}/actions/unmute",
1981
+ body=await async_maybe_transform(
1982
+ {
1983
+ "call_control_ids": call_control_ids,
1984
+ "region": region,
1985
+ },
1986
+ action_unmute_params.ActionUnmuteParams,
1987
+ ),
1988
+ options=make_request_options(
1989
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1990
+ ),
1991
+ cast_to=ActionUnmuteResponse,
1992
+ )
1993
+
1994
+
1995
+ class ActionsResourceWithRawResponse:
1996
+ def __init__(self, actions: ActionsResource) -> None:
1997
+ self._actions = actions
1998
+
1999
+ self.update = to_raw_response_wrapper(
2000
+ actions.update,
2001
+ )
2002
+ self.hold = to_raw_response_wrapper(
2003
+ actions.hold,
2004
+ )
2005
+ self.join = to_raw_response_wrapper(
2006
+ actions.join,
2007
+ )
2008
+ self.leave = to_raw_response_wrapper(
2009
+ actions.leave,
2010
+ )
2011
+ self.mute = to_raw_response_wrapper(
2012
+ actions.mute,
2013
+ )
2014
+ self.play = to_raw_response_wrapper(
2015
+ actions.play,
2016
+ )
2017
+ self.record_pause = to_raw_response_wrapper(
2018
+ actions.record_pause,
2019
+ )
2020
+ self.record_resume = to_raw_response_wrapper(
2021
+ actions.record_resume,
2022
+ )
2023
+ self.record_start = to_raw_response_wrapper(
2024
+ actions.record_start,
2025
+ )
2026
+ self.record_stop = to_raw_response_wrapper(
2027
+ actions.record_stop,
2028
+ )
2029
+ self.speak = to_raw_response_wrapper(
2030
+ actions.speak,
2031
+ )
2032
+ self.stop = to_raw_response_wrapper(
2033
+ actions.stop,
2034
+ )
2035
+ self.unhold = to_raw_response_wrapper(
2036
+ actions.unhold,
2037
+ )
2038
+ self.unmute = to_raw_response_wrapper(
2039
+ actions.unmute,
2040
+ )
2041
+
2042
+
2043
+ class AsyncActionsResourceWithRawResponse:
2044
+ def __init__(self, actions: AsyncActionsResource) -> None:
2045
+ self._actions = actions
2046
+
2047
+ self.update = async_to_raw_response_wrapper(
2048
+ actions.update,
2049
+ )
2050
+ self.hold = async_to_raw_response_wrapper(
2051
+ actions.hold,
2052
+ )
2053
+ self.join = async_to_raw_response_wrapper(
2054
+ actions.join,
2055
+ )
2056
+ self.leave = async_to_raw_response_wrapper(
2057
+ actions.leave,
2058
+ )
2059
+ self.mute = async_to_raw_response_wrapper(
2060
+ actions.mute,
2061
+ )
2062
+ self.play = async_to_raw_response_wrapper(
2063
+ actions.play,
2064
+ )
2065
+ self.record_pause = async_to_raw_response_wrapper(
2066
+ actions.record_pause,
2067
+ )
2068
+ self.record_resume = async_to_raw_response_wrapper(
2069
+ actions.record_resume,
2070
+ )
2071
+ self.record_start = async_to_raw_response_wrapper(
2072
+ actions.record_start,
2073
+ )
2074
+ self.record_stop = async_to_raw_response_wrapper(
2075
+ actions.record_stop,
2076
+ )
2077
+ self.speak = async_to_raw_response_wrapper(
2078
+ actions.speak,
2079
+ )
2080
+ self.stop = async_to_raw_response_wrapper(
2081
+ actions.stop,
2082
+ )
2083
+ self.unhold = async_to_raw_response_wrapper(
2084
+ actions.unhold,
2085
+ )
2086
+ self.unmute = async_to_raw_response_wrapper(
2087
+ actions.unmute,
2088
+ )
2089
+
2090
+
2091
+ class ActionsResourceWithStreamingResponse:
2092
+ def __init__(self, actions: ActionsResource) -> None:
2093
+ self._actions = actions
2094
+
2095
+ self.update = to_streamed_response_wrapper(
2096
+ actions.update,
2097
+ )
2098
+ self.hold = to_streamed_response_wrapper(
2099
+ actions.hold,
2100
+ )
2101
+ self.join = to_streamed_response_wrapper(
2102
+ actions.join,
2103
+ )
2104
+ self.leave = to_streamed_response_wrapper(
2105
+ actions.leave,
2106
+ )
2107
+ self.mute = to_streamed_response_wrapper(
2108
+ actions.mute,
2109
+ )
2110
+ self.play = to_streamed_response_wrapper(
2111
+ actions.play,
2112
+ )
2113
+ self.record_pause = to_streamed_response_wrapper(
2114
+ actions.record_pause,
2115
+ )
2116
+ self.record_resume = to_streamed_response_wrapper(
2117
+ actions.record_resume,
2118
+ )
2119
+ self.record_start = to_streamed_response_wrapper(
2120
+ actions.record_start,
2121
+ )
2122
+ self.record_stop = to_streamed_response_wrapper(
2123
+ actions.record_stop,
2124
+ )
2125
+ self.speak = to_streamed_response_wrapper(
2126
+ actions.speak,
2127
+ )
2128
+ self.stop = to_streamed_response_wrapper(
2129
+ actions.stop,
2130
+ )
2131
+ self.unhold = to_streamed_response_wrapper(
2132
+ actions.unhold,
2133
+ )
2134
+ self.unmute = to_streamed_response_wrapper(
2135
+ actions.unmute,
2136
+ )
2137
+
2138
+
2139
+ class AsyncActionsResourceWithStreamingResponse:
2140
+ def __init__(self, actions: AsyncActionsResource) -> None:
2141
+ self._actions = actions
2142
+
2143
+ self.update = async_to_streamed_response_wrapper(
2144
+ actions.update,
2145
+ )
2146
+ self.hold = async_to_streamed_response_wrapper(
2147
+ actions.hold,
2148
+ )
2149
+ self.join = async_to_streamed_response_wrapper(
2150
+ actions.join,
2151
+ )
2152
+ self.leave = async_to_streamed_response_wrapper(
2153
+ actions.leave,
2154
+ )
2155
+ self.mute = async_to_streamed_response_wrapper(
2156
+ actions.mute,
2157
+ )
2158
+ self.play = async_to_streamed_response_wrapper(
2159
+ actions.play,
2160
+ )
2161
+ self.record_pause = async_to_streamed_response_wrapper(
2162
+ actions.record_pause,
2163
+ )
2164
+ self.record_resume = async_to_streamed_response_wrapper(
2165
+ actions.record_resume,
2166
+ )
2167
+ self.record_start = async_to_streamed_response_wrapper(
2168
+ actions.record_start,
2169
+ )
2170
+ self.record_stop = async_to_streamed_response_wrapper(
2171
+ actions.record_stop,
2172
+ )
2173
+ self.speak = async_to_streamed_response_wrapper(
2174
+ actions.speak,
2175
+ )
2176
+ self.stop = async_to_streamed_response_wrapper(
2177
+ actions.stop,
2178
+ )
2179
+ self.unhold = async_to_streamed_response_wrapper(
2180
+ actions.unhold,
2181
+ )
2182
+ self.unmute = async_to_streamed_response_wrapper(
2183
+ actions.unmute,
2184
+ )