telnyx 3.0.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.

Potentially problematic release.


This version of telnyx might be problematic. Click here for more details.

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