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
telnyx/_client.py ADDED
@@ -0,0 +1,3220 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ import os
6
+ from typing import Any, Mapping, Iterable
7
+ from typing_extensions import Self, Literal, override
8
+
9
+ import httpx
10
+
11
+ from . import _exceptions
12
+ from ._qs import Querystring
13
+ from .types import (
14
+ client_get_object_params,
15
+ client_put_object_params,
16
+ client_list_objects_params,
17
+ client_create_bucket_params,
18
+ client_delete_objects_params,
19
+ )
20
+ from ._types import (
21
+ Body,
22
+ Omit,
23
+ Query,
24
+ Headers,
25
+ Timeout,
26
+ NoneType,
27
+ NotGiven,
28
+ FileTypes,
29
+ Transport,
30
+ ProxiesTypes,
31
+ RequestOptions,
32
+ omit,
33
+ not_given,
34
+ )
35
+ from ._utils import (
36
+ is_given,
37
+ maybe_transform,
38
+ get_async_library,
39
+ async_maybe_transform,
40
+ )
41
+ from ._version import __version__
42
+ from ._response import (
43
+ BinaryAPIResponse,
44
+ AsyncBinaryAPIResponse,
45
+ StreamedBinaryAPIResponse,
46
+ AsyncStreamedBinaryAPIResponse,
47
+ to_raw_response_wrapper,
48
+ to_streamed_response_wrapper,
49
+ async_to_raw_response_wrapper,
50
+ to_custom_raw_response_wrapper,
51
+ async_to_streamed_response_wrapper,
52
+ to_custom_streamed_response_wrapper,
53
+ async_to_custom_raw_response_wrapper,
54
+ async_to_custom_streamed_response_wrapper,
55
+ )
56
+ from .resources import (
57
+ ips,
58
+ enum,
59
+ list,
60
+ seti,
61
+ fqdns,
62
+ media,
63
+ oauth,
64
+ balance,
65
+ regions,
66
+ comments,
67
+ invoices,
68
+ webhooks,
69
+ documents,
70
+ messsages,
71
+ user_tags,
72
+ global_ips,
73
+ well_known,
74
+ call_events,
75
+ connections,
76
+ ota_updates,
77
+ short_codes,
78
+ audit_events,
79
+ oauth_grants,
80
+ requirements,
81
+ channel_zones,
82
+ number_lookup,
83
+ number_orders,
84
+ oauth_clients,
85
+ usage_reports,
86
+ billing_groups,
87
+ detail_records,
88
+ document_links,
89
+ ip_connections,
90
+ text_to_speech,
91
+ user_addresses,
92
+ advanced_orders,
93
+ charges_summary,
94
+ global_ip_usage,
95
+ room_recordings,
96
+ sim_card_orders,
97
+ verify_profiles,
98
+ wireguard_peers,
99
+ access_ip_ranges,
100
+ country_coverage,
101
+ fax_applications,
102
+ fqdn_connections,
103
+ inbound_channels,
104
+ network_coverage,
105
+ numbers_features,
106
+ access_ip_address,
107
+ charges_breakdown,
108
+ global_ip_latency,
109
+ messaging_optouts,
110
+ partner_campaigns,
111
+ requirement_types,
112
+ room_compositions,
113
+ room_participants,
114
+ siprec_connectors,
115
+ sub_number_orders,
116
+ inventory_coverage,
117
+ portability_checks,
118
+ requirement_groups,
119
+ texml_applications,
120
+ webhook_deliveries,
121
+ global_ip_protocols,
122
+ integration_secrets,
123
+ notification_events,
124
+ number_block_orders,
125
+ wireless_blocklists,
126
+ wireguard_interfaces,
127
+ bulk_sim_card_actions,
128
+ global_ip_assignments,
129
+ messaging_url_domains,
130
+ notification_channels,
131
+ notification_profiles,
132
+ notification_settings,
133
+ porting_phone_numbers,
134
+ telephony_credentials,
135
+ dialogflow_connections,
136
+ phone_number_campaigns,
137
+ sim_card_order_preview,
138
+ virtual_cross_connects,
139
+ available_phone_numbers,
140
+ global_ip_allowed_ports,
141
+ global_ip_health_checks,
142
+ mobile_push_credentials,
143
+ outbound_voice_profiles,
144
+ regulatory_requirements,
145
+ authentication_providers,
146
+ customer_service_records,
147
+ messaging_hosted_numbers,
148
+ mobile_network_operators,
149
+ public_internet_gateways,
150
+ recording_transcriptions,
151
+ sub_number_orders_report,
152
+ call_control_applications,
153
+ private_wireless_gateways,
154
+ wireless_blocklist_values,
155
+ custom_storage_credentials,
156
+ number_order_phone_numbers,
157
+ dynamic_emergency_addresses,
158
+ dynamic_emergency_endpoints,
159
+ global_ip_assignment_health,
160
+ global_ip_assignments_usage,
161
+ global_ip_health_check_types,
162
+ ledger_billing_group_reports,
163
+ available_phone_number_blocks,
164
+ notification_event_conditions,
165
+ messaging_numbers_bulk_updates,
166
+ virtual_cross_connects_coverage,
167
+ sim_card_data_usage_notifications,
168
+ phone_number_assignment_by_profile,
169
+ phone_numbers_regulatory_requirements,
170
+ )
171
+ from ._streaming import Stream as Stream, AsyncStream as AsyncStream
172
+ from ._exceptions import TelnyxError, APIStatusError
173
+ from ._base_client import (
174
+ DEFAULT_MAX_RETRIES,
175
+ SyncAPIClient,
176
+ AsyncAPIClient,
177
+ make_request_options,
178
+ )
179
+ from .resources.ai import ai
180
+ from .resources.brand import brand
181
+ from .resources.calls import calls
182
+ from .resources.faxes import faxes
183
+ from .resources.rooms import rooms
184
+ from .resources.texml import texml
185
+ from .resources.legacy import legacy
186
+ from .resources.queues import queues
187
+ from .resources.actions import actions
188
+ from .resources.payment import payment
189
+ from .resources.porting import porting
190
+ from .resources.reports import reports
191
+ from .resources.storage import storage
192
+ from .resources.campaign import campaign
193
+ from .resources.messages import messages
194
+ from .resources.networks import networks
195
+ from .resources.portouts import portouts
196
+ from .resources.wireless import wireless
197
+ from .resources.addresses import addresses
198
+ from .resources.messaging import messaging
199
+ from .resources.sim_cards import sim_cards
200
+ from .resources.recordings import recordings
201
+ from .resources.conferences import conferences
202
+ from .resources.phone_numbers import phone_numbers
203
+ from .resources.verifications import verifications
204
+ from .resources.bundle_pricing import bundle_pricing
205
+ from .resources.porting_orders import porting_orders
206
+ from .resources.sim_card_groups import sim_card_groups
207
+ from .resources.campaign_builder import campaign_builder
208
+ from .resources.managed_accounts import managed_accounts
209
+ from .resources.operator_connect import operator_connect
210
+ from .resources.verified_numbers import verified_numbers
211
+ from .types.list_buckets_response import ListBucketsResponse
212
+ from .types.list_objects_response import ListObjectsResponse
213
+ from .resources.messaging_profiles import messaging_profiles
214
+ from .resources.messaging_tollfree import messaging_tollfree
215
+ from .resources.number_reservations import number_reservations
216
+ from .resources.phone_number_blocks import phone_number_blocks
217
+ from .resources.external_connections import external_connections
218
+ from .resources.credential_connections import credential_connections
219
+ from .resources.messaging_hosted_number_orders import messaging_hosted_number_orders
220
+
221
+ __all__ = ["Timeout", "Transport", "ProxiesTypes", "RequestOptions", "Telnyx", "AsyncTelnyx", "Client", "AsyncClient"]
222
+
223
+
224
+ class Telnyx(SyncAPIClient):
225
+ legacy: legacy.LegacyResource
226
+ oauth: oauth.OAuthResource
227
+ oauth_clients: oauth_clients.OAuthClientsResource
228
+ oauth_grants: oauth_grants.OAuthGrantsResource
229
+ webhooks: webhooks.WebhooksResource
230
+ access_ip_address: access_ip_address.AccessIPAddressResource
231
+ access_ip_ranges: access_ip_ranges.AccessIPRangesResource
232
+ actions: actions.ActionsResource
233
+ addresses: addresses.AddressesResource
234
+ advanced_orders: advanced_orders.AdvancedOrdersResource
235
+ ai: ai.AIResource
236
+ audit_events: audit_events.AuditEventsResource
237
+ authentication_providers: authentication_providers.AuthenticationProvidersResource
238
+ available_phone_number_blocks: available_phone_number_blocks.AvailablePhoneNumberBlocksResource
239
+ available_phone_numbers: available_phone_numbers.AvailablePhoneNumbersResource
240
+ balance: balance.BalanceResource
241
+ billing_groups: billing_groups.BillingGroupsResource
242
+ brand: brand.BrandResource
243
+ bulk_sim_card_actions: bulk_sim_card_actions.BulkSimCardActionsResource
244
+ bundle_pricing: bundle_pricing.BundlePricingResource
245
+ call_control_applications: call_control_applications.CallControlApplicationsResource
246
+ call_events: call_events.CallEventsResource
247
+ calls: calls.CallsResource
248
+ campaign: campaign.CampaignResource
249
+ campaign_builder: campaign_builder.CampaignBuilderResource
250
+ channel_zones: channel_zones.ChannelZonesResource
251
+ charges_breakdown: charges_breakdown.ChargesBreakdownResource
252
+ charges_summary: charges_summary.ChargesSummaryResource
253
+ comments: comments.CommentsResource
254
+ conferences: conferences.ConferencesResource
255
+ connections: connections.ConnectionsResource
256
+ country_coverage: country_coverage.CountryCoverageResource
257
+ credential_connections: credential_connections.CredentialConnectionsResource
258
+ custom_storage_credentials: custom_storage_credentials.CustomStorageCredentialsResource
259
+ customer_service_records: customer_service_records.CustomerServiceRecordsResource
260
+ detail_records: detail_records.DetailRecordsResource
261
+ dialogflow_connections: dialogflow_connections.DialogflowConnectionsResource
262
+ document_links: document_links.DocumentLinksResource
263
+ documents: documents.DocumentsResource
264
+ dynamic_emergency_addresses: dynamic_emergency_addresses.DynamicEmergencyAddressesResource
265
+ dynamic_emergency_endpoints: dynamic_emergency_endpoints.DynamicEmergencyEndpointsResource
266
+ enum: enum.EnumResource
267
+ external_connections: external_connections.ExternalConnectionsResource
268
+ fax_applications: fax_applications.FaxApplicationsResource
269
+ faxes: faxes.FaxesResource
270
+ fqdn_connections: fqdn_connections.FqdnConnectionsResource
271
+ fqdns: fqdns.FqdnsResource
272
+ global_ip_allowed_ports: global_ip_allowed_ports.GlobalIPAllowedPortsResource
273
+ global_ip_assignment_health: global_ip_assignment_health.GlobalIPAssignmentHealthResource
274
+ global_ip_assignments: global_ip_assignments.GlobalIPAssignmentsResource
275
+ global_ip_assignments_usage: global_ip_assignments_usage.GlobalIPAssignmentsUsageResource
276
+ global_ip_health_check_types: global_ip_health_check_types.GlobalIPHealthCheckTypesResource
277
+ global_ip_health_checks: global_ip_health_checks.GlobalIPHealthChecksResource
278
+ global_ip_latency: global_ip_latency.GlobalIPLatencyResource
279
+ global_ip_protocols: global_ip_protocols.GlobalIPProtocolsResource
280
+ global_ip_usage: global_ip_usage.GlobalIPUsageResource
281
+ global_ips: global_ips.GlobalIPsResource
282
+ inbound_channels: inbound_channels.InboundChannelsResource
283
+ integration_secrets: integration_secrets.IntegrationSecretsResource
284
+ inventory_coverage: inventory_coverage.InventoryCoverageResource
285
+ invoices: invoices.InvoicesResource
286
+ ip_connections: ip_connections.IPConnectionsResource
287
+ ips: ips.IPsResource
288
+ ledger_billing_group_reports: ledger_billing_group_reports.LedgerBillingGroupReportsResource
289
+ list: list.ListResource
290
+ managed_accounts: managed_accounts.ManagedAccountsResource
291
+ media: media.MediaResource
292
+ messages: messages.MessagesResource
293
+ messaging: messaging.MessagingResource
294
+ messaging_hosted_number_orders: messaging_hosted_number_orders.MessagingHostedNumberOrdersResource
295
+ messaging_hosted_numbers: messaging_hosted_numbers.MessagingHostedNumbersResource
296
+ messaging_numbers_bulk_updates: messaging_numbers_bulk_updates.MessagingNumbersBulkUpdatesResource
297
+ messaging_optouts: messaging_optouts.MessagingOptoutsResource
298
+ messaging_profiles: messaging_profiles.MessagingProfilesResource
299
+ messaging_tollfree: messaging_tollfree.MessagingTollfreeResource
300
+ messaging_url_domains: messaging_url_domains.MessagingURLDomainsResource
301
+ messsages: messsages.MesssagesResource
302
+ mobile_network_operators: mobile_network_operators.MobileNetworkOperatorsResource
303
+ mobile_push_credentials: mobile_push_credentials.MobilePushCredentialsResource
304
+ network_coverage: network_coverage.NetworkCoverageResource
305
+ networks: networks.NetworksResource
306
+ notification_channels: notification_channels.NotificationChannelsResource
307
+ notification_event_conditions: notification_event_conditions.NotificationEventConditionsResource
308
+ notification_events: notification_events.NotificationEventsResource
309
+ notification_profiles: notification_profiles.NotificationProfilesResource
310
+ notification_settings: notification_settings.NotificationSettingsResource
311
+ number_block_orders: number_block_orders.NumberBlockOrdersResource
312
+ number_lookup: number_lookup.NumberLookupResource
313
+ number_order_phone_numbers: number_order_phone_numbers.NumberOrderPhoneNumbersResource
314
+ number_orders: number_orders.NumberOrdersResource
315
+ number_reservations: number_reservations.NumberReservationsResource
316
+ numbers_features: numbers_features.NumbersFeaturesResource
317
+ operator_connect: operator_connect.OperatorConnectResource
318
+ ota_updates: ota_updates.OtaUpdatesResource
319
+ outbound_voice_profiles: outbound_voice_profiles.OutboundVoiceProfilesResource
320
+ payment: payment.PaymentResource
321
+ phone_number_assignment_by_profile: phone_number_assignment_by_profile.PhoneNumberAssignmentByProfileResource
322
+ phone_number_blocks: phone_number_blocks.PhoneNumberBlocksResource
323
+ phone_number_campaigns: phone_number_campaigns.PhoneNumberCampaignsResource
324
+ phone_numbers: phone_numbers.PhoneNumbersResource
325
+ phone_numbers_regulatory_requirements: (
326
+ phone_numbers_regulatory_requirements.PhoneNumbersRegulatoryRequirementsResource
327
+ )
328
+ portability_checks: portability_checks.PortabilityChecksResource
329
+ porting: porting.PortingResource
330
+ porting_orders: porting_orders.PortingOrdersResource
331
+ porting_phone_numbers: porting_phone_numbers.PortingPhoneNumbersResource
332
+ portouts: portouts.PortoutsResource
333
+ private_wireless_gateways: private_wireless_gateways.PrivateWirelessGatewaysResource
334
+ public_internet_gateways: public_internet_gateways.PublicInternetGatewaysResource
335
+ queues: queues.QueuesResource
336
+ recording_transcriptions: recording_transcriptions.RecordingTranscriptionsResource
337
+ recordings: recordings.RecordingsResource
338
+ regions: regions.RegionsResource
339
+ regulatory_requirements: regulatory_requirements.RegulatoryRequirementsResource
340
+ reports: reports.ReportsResource
341
+ requirement_groups: requirement_groups.RequirementGroupsResource
342
+ requirement_types: requirement_types.RequirementTypesResource
343
+ requirements: requirements.RequirementsResource
344
+ room_compositions: room_compositions.RoomCompositionsResource
345
+ room_participants: room_participants.RoomParticipantsResource
346
+ room_recordings: room_recordings.RoomRecordingsResource
347
+ rooms: rooms.RoomsResource
348
+ seti: seti.SetiResource
349
+ short_codes: short_codes.ShortCodesResource
350
+ sim_card_data_usage_notifications: sim_card_data_usage_notifications.SimCardDataUsageNotificationsResource
351
+ sim_card_groups: sim_card_groups.SimCardGroupsResource
352
+ sim_card_order_preview: sim_card_order_preview.SimCardOrderPreviewResource
353
+ sim_card_orders: sim_card_orders.SimCardOrdersResource
354
+ sim_cards: sim_cards.SimCardsResource
355
+ siprec_connectors: siprec_connectors.SiprecConnectorsResource
356
+ storage: storage.StorageResource
357
+ sub_number_orders: sub_number_orders.SubNumberOrdersResource
358
+ sub_number_orders_report: sub_number_orders_report.SubNumberOrdersReportResource
359
+ telephony_credentials: telephony_credentials.TelephonyCredentialsResource
360
+ texml: texml.TexmlResource
361
+ texml_applications: texml_applications.TexmlApplicationsResource
362
+ text_to_speech: text_to_speech.TextToSpeechResource
363
+ usage_reports: usage_reports.UsageReportsResource
364
+ user_addresses: user_addresses.UserAddressesResource
365
+ user_tags: user_tags.UserTagsResource
366
+ verifications: verifications.VerificationsResource
367
+ verified_numbers: verified_numbers.VerifiedNumbersResource
368
+ verify_profiles: verify_profiles.VerifyProfilesResource
369
+ virtual_cross_connects: virtual_cross_connects.VirtualCrossConnectsResource
370
+ virtual_cross_connects_coverage: virtual_cross_connects_coverage.VirtualCrossConnectsCoverageResource
371
+ webhook_deliveries: webhook_deliveries.WebhookDeliveriesResource
372
+ wireguard_interfaces: wireguard_interfaces.WireguardInterfacesResource
373
+ wireguard_peers: wireguard_peers.WireguardPeersResource
374
+ wireless: wireless.WirelessResource
375
+ wireless_blocklist_values: wireless_blocklist_values.WirelessBlocklistValuesResource
376
+ wireless_blocklists: wireless_blocklists.WirelessBlocklistsResource
377
+ partner_campaigns: partner_campaigns.PartnerCampaignsResource
378
+ well_known: well_known.WellKnownResource
379
+ with_raw_response: TelnyxWithRawResponse
380
+ with_streaming_response: TelnyxWithStreamedResponse
381
+
382
+ # client options
383
+ api_key: str
384
+
385
+ def __init__(
386
+ self,
387
+ *,
388
+ api_key: str | None = None,
389
+ base_url: str | httpx.URL | None = None,
390
+ timeout: float | Timeout | None | NotGiven = not_given,
391
+ max_retries: int = DEFAULT_MAX_RETRIES,
392
+ default_headers: Mapping[str, str] | None = None,
393
+ default_query: Mapping[str, object] | None = None,
394
+ # Configure a custom httpx client.
395
+ # We provide a `DefaultHttpxClient` class that you can pass to retain the default values we use for `limits`, `timeout` & `follow_redirects`.
396
+ # See the [httpx documentation](https://www.python-httpx.org/api/#client) for more details.
397
+ http_client: httpx.Client | None = None,
398
+ # Enable or disable schema validation for data returned by the API.
399
+ # When enabled an error APIResponseValidationError is raised
400
+ # if the API responds with invalid data for the expected schema.
401
+ #
402
+ # This parameter may be removed or changed in the future.
403
+ # If you rely on this feature, please open a GitHub issue
404
+ # outlining your use-case to help us decide if it should be
405
+ # part of our public interface in the future.
406
+ _strict_response_validation: bool = False,
407
+ ) -> None:
408
+ """Construct a new synchronous Telnyx client instance.
409
+
410
+ This automatically infers the `api_key` argument from the `TELNYX_API_KEY` environment variable if it is not provided.
411
+ """
412
+ if api_key is None:
413
+ api_key = os.environ.get("TELNYX_API_KEY")
414
+ if api_key is None:
415
+ raise TelnyxError(
416
+ "The api_key client option must be set either by passing api_key to the client or by setting the TELNYX_API_KEY environment variable"
417
+ )
418
+ self.api_key = api_key
419
+
420
+ if base_url is None:
421
+ base_url = os.environ.get("TELNYX_BASE_URL")
422
+ self._base_url_overridden = base_url is not None
423
+ if base_url is None:
424
+ base_url = f"https://api.telnyx.com/v2"
425
+
426
+ super().__init__(
427
+ version=__version__,
428
+ base_url=base_url,
429
+ max_retries=max_retries,
430
+ timeout=timeout,
431
+ http_client=http_client,
432
+ custom_headers=default_headers,
433
+ custom_query=default_query,
434
+ _strict_response_validation=_strict_response_validation,
435
+ )
436
+
437
+ self.legacy = legacy.LegacyResource(self)
438
+ self.oauth = oauth.OAuthResource(self)
439
+ self.oauth_clients = oauth_clients.OAuthClientsResource(self)
440
+ self.oauth_grants = oauth_grants.OAuthGrantsResource(self)
441
+ self.webhooks = webhooks.WebhooksResource(self)
442
+ self.access_ip_address = access_ip_address.AccessIPAddressResource(self)
443
+ self.access_ip_ranges = access_ip_ranges.AccessIPRangesResource(self)
444
+ self.actions = actions.ActionsResource(self)
445
+ self.addresses = addresses.AddressesResource(self)
446
+ self.advanced_orders = advanced_orders.AdvancedOrdersResource(self)
447
+ self.ai = ai.AIResource(self)
448
+ self.audit_events = audit_events.AuditEventsResource(self)
449
+ self.authentication_providers = authentication_providers.AuthenticationProvidersResource(self)
450
+ self.available_phone_number_blocks = available_phone_number_blocks.AvailablePhoneNumberBlocksResource(self)
451
+ self.available_phone_numbers = available_phone_numbers.AvailablePhoneNumbersResource(self)
452
+ self.balance = balance.BalanceResource(self)
453
+ self.billing_groups = billing_groups.BillingGroupsResource(self)
454
+ self.brand = brand.BrandResource(self)
455
+ self.bulk_sim_card_actions = bulk_sim_card_actions.BulkSimCardActionsResource(self)
456
+ self.bundle_pricing = bundle_pricing.BundlePricingResource(self)
457
+ self.call_control_applications = call_control_applications.CallControlApplicationsResource(self)
458
+ self.call_events = call_events.CallEventsResource(self)
459
+ self.calls = calls.CallsResource(self)
460
+ self.campaign = campaign.CampaignResource(self)
461
+ self.campaign_builder = campaign_builder.CampaignBuilderResource(self)
462
+ self.channel_zones = channel_zones.ChannelZonesResource(self)
463
+ self.charges_breakdown = charges_breakdown.ChargesBreakdownResource(self)
464
+ self.charges_summary = charges_summary.ChargesSummaryResource(self)
465
+ self.comments = comments.CommentsResource(self)
466
+ self.conferences = conferences.ConferencesResource(self)
467
+ self.connections = connections.ConnectionsResource(self)
468
+ self.country_coverage = country_coverage.CountryCoverageResource(self)
469
+ self.credential_connections = credential_connections.CredentialConnectionsResource(self)
470
+ self.custom_storage_credentials = custom_storage_credentials.CustomStorageCredentialsResource(self)
471
+ self.customer_service_records = customer_service_records.CustomerServiceRecordsResource(self)
472
+ self.detail_records = detail_records.DetailRecordsResource(self)
473
+ self.dialogflow_connections = dialogflow_connections.DialogflowConnectionsResource(self)
474
+ self.document_links = document_links.DocumentLinksResource(self)
475
+ self.documents = documents.DocumentsResource(self)
476
+ self.dynamic_emergency_addresses = dynamic_emergency_addresses.DynamicEmergencyAddressesResource(self)
477
+ self.dynamic_emergency_endpoints = dynamic_emergency_endpoints.DynamicEmergencyEndpointsResource(self)
478
+ self.enum = enum.EnumResource(self)
479
+ self.external_connections = external_connections.ExternalConnectionsResource(self)
480
+ self.fax_applications = fax_applications.FaxApplicationsResource(self)
481
+ self.faxes = faxes.FaxesResource(self)
482
+ self.fqdn_connections = fqdn_connections.FqdnConnectionsResource(self)
483
+ self.fqdns = fqdns.FqdnsResource(self)
484
+ self.global_ip_allowed_ports = global_ip_allowed_ports.GlobalIPAllowedPortsResource(self)
485
+ self.global_ip_assignment_health = global_ip_assignment_health.GlobalIPAssignmentHealthResource(self)
486
+ self.global_ip_assignments = global_ip_assignments.GlobalIPAssignmentsResource(self)
487
+ self.global_ip_assignments_usage = global_ip_assignments_usage.GlobalIPAssignmentsUsageResource(self)
488
+ self.global_ip_health_check_types = global_ip_health_check_types.GlobalIPHealthCheckTypesResource(self)
489
+ self.global_ip_health_checks = global_ip_health_checks.GlobalIPHealthChecksResource(self)
490
+ self.global_ip_latency = global_ip_latency.GlobalIPLatencyResource(self)
491
+ self.global_ip_protocols = global_ip_protocols.GlobalIPProtocolsResource(self)
492
+ self.global_ip_usage = global_ip_usage.GlobalIPUsageResource(self)
493
+ self.global_ips = global_ips.GlobalIPsResource(self)
494
+ self.inbound_channels = inbound_channels.InboundChannelsResource(self)
495
+ self.integration_secrets = integration_secrets.IntegrationSecretsResource(self)
496
+ self.inventory_coverage = inventory_coverage.InventoryCoverageResource(self)
497
+ self.invoices = invoices.InvoicesResource(self)
498
+ self.ip_connections = ip_connections.IPConnectionsResource(self)
499
+ self.ips = ips.IPsResource(self)
500
+ self.ledger_billing_group_reports = ledger_billing_group_reports.LedgerBillingGroupReportsResource(self)
501
+ self.list = list.ListResource(self)
502
+ self.managed_accounts = managed_accounts.ManagedAccountsResource(self)
503
+ self.media = media.MediaResource(self)
504
+ self.messages = messages.MessagesResource(self)
505
+ self.messaging = messaging.MessagingResource(self)
506
+ self.messaging_hosted_number_orders = messaging_hosted_number_orders.MessagingHostedNumberOrdersResource(self)
507
+ self.messaging_hosted_numbers = messaging_hosted_numbers.MessagingHostedNumbersResource(self)
508
+ self.messaging_numbers_bulk_updates = messaging_numbers_bulk_updates.MessagingNumbersBulkUpdatesResource(self)
509
+ self.messaging_optouts = messaging_optouts.MessagingOptoutsResource(self)
510
+ self.messaging_profiles = messaging_profiles.MessagingProfilesResource(self)
511
+ self.messaging_tollfree = messaging_tollfree.MessagingTollfreeResource(self)
512
+ self.messaging_url_domains = messaging_url_domains.MessagingURLDomainsResource(self)
513
+ self.messsages = messsages.MesssagesResource(self)
514
+ self.mobile_network_operators = mobile_network_operators.MobileNetworkOperatorsResource(self)
515
+ self.mobile_push_credentials = mobile_push_credentials.MobilePushCredentialsResource(self)
516
+ self.network_coverage = network_coverage.NetworkCoverageResource(self)
517
+ self.networks = networks.NetworksResource(self)
518
+ self.notification_channels = notification_channels.NotificationChannelsResource(self)
519
+ self.notification_event_conditions = notification_event_conditions.NotificationEventConditionsResource(self)
520
+ self.notification_events = notification_events.NotificationEventsResource(self)
521
+ self.notification_profiles = notification_profiles.NotificationProfilesResource(self)
522
+ self.notification_settings = notification_settings.NotificationSettingsResource(self)
523
+ self.number_block_orders = number_block_orders.NumberBlockOrdersResource(self)
524
+ self.number_lookup = number_lookup.NumberLookupResource(self)
525
+ self.number_order_phone_numbers = number_order_phone_numbers.NumberOrderPhoneNumbersResource(self)
526
+ self.number_orders = number_orders.NumberOrdersResource(self)
527
+ self.number_reservations = number_reservations.NumberReservationsResource(self)
528
+ self.numbers_features = numbers_features.NumbersFeaturesResource(self)
529
+ self.operator_connect = operator_connect.OperatorConnectResource(self)
530
+ self.ota_updates = ota_updates.OtaUpdatesResource(self)
531
+ self.outbound_voice_profiles = outbound_voice_profiles.OutboundVoiceProfilesResource(self)
532
+ self.payment = payment.PaymentResource(self)
533
+ self.phone_number_assignment_by_profile = (
534
+ phone_number_assignment_by_profile.PhoneNumberAssignmentByProfileResource(self)
535
+ )
536
+ self.phone_number_blocks = phone_number_blocks.PhoneNumberBlocksResource(self)
537
+ self.phone_number_campaigns = phone_number_campaigns.PhoneNumberCampaignsResource(self)
538
+ self.phone_numbers = phone_numbers.PhoneNumbersResource(self)
539
+ self.phone_numbers_regulatory_requirements = (
540
+ phone_numbers_regulatory_requirements.PhoneNumbersRegulatoryRequirementsResource(self)
541
+ )
542
+ self.portability_checks = portability_checks.PortabilityChecksResource(self)
543
+ self.porting = porting.PortingResource(self)
544
+ self.porting_orders = porting_orders.PortingOrdersResource(self)
545
+ self.porting_phone_numbers = porting_phone_numbers.PortingPhoneNumbersResource(self)
546
+ self.portouts = portouts.PortoutsResource(self)
547
+ self.private_wireless_gateways = private_wireless_gateways.PrivateWirelessGatewaysResource(self)
548
+ self.public_internet_gateways = public_internet_gateways.PublicInternetGatewaysResource(self)
549
+ self.queues = queues.QueuesResource(self)
550
+ self.recording_transcriptions = recording_transcriptions.RecordingTranscriptionsResource(self)
551
+ self.recordings = recordings.RecordingsResource(self)
552
+ self.regions = regions.RegionsResource(self)
553
+ self.regulatory_requirements = regulatory_requirements.RegulatoryRequirementsResource(self)
554
+ self.reports = reports.ReportsResource(self)
555
+ self.requirement_groups = requirement_groups.RequirementGroupsResource(self)
556
+ self.requirement_types = requirement_types.RequirementTypesResource(self)
557
+ self.requirements = requirements.RequirementsResource(self)
558
+ self.room_compositions = room_compositions.RoomCompositionsResource(self)
559
+ self.room_participants = room_participants.RoomParticipantsResource(self)
560
+ self.room_recordings = room_recordings.RoomRecordingsResource(self)
561
+ self.rooms = rooms.RoomsResource(self)
562
+ self.seti = seti.SetiResource(self)
563
+ self.short_codes = short_codes.ShortCodesResource(self)
564
+ self.sim_card_data_usage_notifications = (
565
+ sim_card_data_usage_notifications.SimCardDataUsageNotificationsResource(self)
566
+ )
567
+ self.sim_card_groups = sim_card_groups.SimCardGroupsResource(self)
568
+ self.sim_card_order_preview = sim_card_order_preview.SimCardOrderPreviewResource(self)
569
+ self.sim_card_orders = sim_card_orders.SimCardOrdersResource(self)
570
+ self.sim_cards = sim_cards.SimCardsResource(self)
571
+ self.siprec_connectors = siprec_connectors.SiprecConnectorsResource(self)
572
+ self.storage = storage.StorageResource(self)
573
+ self.sub_number_orders = sub_number_orders.SubNumberOrdersResource(self)
574
+ self.sub_number_orders_report = sub_number_orders_report.SubNumberOrdersReportResource(self)
575
+ self.telephony_credentials = telephony_credentials.TelephonyCredentialsResource(self)
576
+ self.texml = texml.TexmlResource(self)
577
+ self.texml_applications = texml_applications.TexmlApplicationsResource(self)
578
+ self.text_to_speech = text_to_speech.TextToSpeechResource(self)
579
+ self.usage_reports = usage_reports.UsageReportsResource(self)
580
+ self.user_addresses = user_addresses.UserAddressesResource(self)
581
+ self.user_tags = user_tags.UserTagsResource(self)
582
+ self.verifications = verifications.VerificationsResource(self)
583
+ self.verified_numbers = verified_numbers.VerifiedNumbersResource(self)
584
+ self.verify_profiles = verify_profiles.VerifyProfilesResource(self)
585
+ self.virtual_cross_connects = virtual_cross_connects.VirtualCrossConnectsResource(self)
586
+ self.virtual_cross_connects_coverage = virtual_cross_connects_coverage.VirtualCrossConnectsCoverageResource(
587
+ self
588
+ )
589
+ self.webhook_deliveries = webhook_deliveries.WebhookDeliveriesResource(self)
590
+ self.wireguard_interfaces = wireguard_interfaces.WireguardInterfacesResource(self)
591
+ self.wireguard_peers = wireguard_peers.WireguardPeersResource(self)
592
+ self.wireless = wireless.WirelessResource(self)
593
+ self.wireless_blocklist_values = wireless_blocklist_values.WirelessBlocklistValuesResource(self)
594
+ self.wireless_blocklists = wireless_blocklists.WirelessBlocklistsResource(self)
595
+ self.partner_campaigns = partner_campaigns.PartnerCampaignsResource(self)
596
+ self.well_known = well_known.WellKnownResource(self)
597
+ self.with_raw_response = TelnyxWithRawResponse(self)
598
+ self.with_streaming_response = TelnyxWithStreamedResponse(self)
599
+
600
+ @property
601
+ @override
602
+ def qs(self) -> Querystring:
603
+ return Querystring(array_format="comma")
604
+
605
+ @property
606
+ @override
607
+ def auth_headers(self) -> dict[str, str]:
608
+ api_key = self.api_key
609
+ return {"Authorization": f"Bearer {api_key}"}
610
+
611
+ @property
612
+ @override
613
+ def default_headers(self) -> dict[str, str | Omit]:
614
+ return {
615
+ **super().default_headers,
616
+ "X-Stainless-Async": "false",
617
+ **self._custom_headers,
618
+ }
619
+
620
+ def copy(
621
+ self,
622
+ *,
623
+ api_key: str | None = None,
624
+ base_url: str | httpx.URL | None = None,
625
+ timeout: float | Timeout | None | NotGiven = not_given,
626
+ http_client: httpx.Client | None = None,
627
+ max_retries: int | NotGiven = not_given,
628
+ default_headers: Mapping[str, str] | None = None,
629
+ set_default_headers: Mapping[str, str] | None = None,
630
+ default_query: Mapping[str, object] | None = None,
631
+ set_default_query: Mapping[str, object] | None = None,
632
+ _extra_kwargs: Mapping[str, Any] = {},
633
+ ) -> Self:
634
+ """
635
+ Create a new client instance re-using the same options given to the current client with optional overriding.
636
+ """
637
+ if default_headers is not None and set_default_headers is not None:
638
+ raise ValueError("The `default_headers` and `set_default_headers` arguments are mutually exclusive")
639
+
640
+ if default_query is not None and set_default_query is not None:
641
+ raise ValueError("The `default_query` and `set_default_query` arguments are mutually exclusive")
642
+
643
+ headers = self._custom_headers
644
+ if default_headers is not None:
645
+ headers = {**headers, **default_headers}
646
+ elif set_default_headers is not None:
647
+ headers = set_default_headers
648
+
649
+ params = self._custom_query
650
+ if default_query is not None:
651
+ params = {**params, **default_query}
652
+ elif set_default_query is not None:
653
+ params = set_default_query
654
+
655
+ http_client = http_client or self._client
656
+ client = self.__class__(
657
+ api_key=api_key or self.api_key,
658
+ base_url=base_url or self.base_url,
659
+ timeout=self.timeout if isinstance(timeout, NotGiven) else timeout,
660
+ http_client=http_client,
661
+ max_retries=max_retries if is_given(max_retries) else self.max_retries,
662
+ default_headers=headers,
663
+ default_query=params,
664
+ **_extra_kwargs,
665
+ )
666
+ client._base_url_overridden = self._base_url_overridden or base_url is not None
667
+ return client
668
+
669
+ # Alias for `copy` for nicer inline usage, e.g.
670
+ # client.with_options(timeout=10).foo.create(...)
671
+ with_options = copy
672
+
673
+ def create_bucket(
674
+ self,
675
+ bucket_name: str,
676
+ *,
677
+ location_constraint: str | Omit = omit,
678
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
679
+ # The extra values given here take precedence over values defined on the client or passed to this method.
680
+ extra_headers: Headers | None = None,
681
+ extra_query: Query | None = None,
682
+ extra_body: Body | None = None,
683
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
684
+ ) -> None:
685
+ """
686
+ Create a bucket.
687
+
688
+ Args:
689
+ extra_headers: Send extra headers
690
+
691
+ extra_query: Add additional query parameters to the request
692
+
693
+ extra_body: Add additional JSON properties to the request
694
+
695
+ timeout: Override the client-level default timeout for this request, in seconds
696
+ """
697
+ if not bucket_name:
698
+ raise ValueError(f"Expected a non-empty value for `bucket_name` but received {bucket_name!r}")
699
+ extra_headers = {"Accept": "*/*", **(extra_headers or {})}
700
+ return self.put(
701
+ f"/{bucket_name}",
702
+ body=maybe_transform(
703
+ {"location_constraint": location_constraint}, client_create_bucket_params.ClientCreateBucketParams
704
+ ),
705
+ options=make_request_options(
706
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
707
+ ),
708
+ cast_to=NoneType,
709
+ )
710
+
711
+ def delete_bucket(
712
+ self,
713
+ bucket_name: str,
714
+ *,
715
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
716
+ # The extra values given here take precedence over values defined on the client or passed to this method.
717
+ extra_headers: Headers | None = None,
718
+ extra_query: Query | None = None,
719
+ extra_body: Body | None = None,
720
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
721
+ ) -> None:
722
+ """Deletes a bucket.
723
+
724
+ The bucket must be empty for it to be deleted.
725
+
726
+ Args:
727
+ extra_headers: Send extra headers
728
+
729
+ extra_query: Add additional query parameters to the request
730
+
731
+ extra_body: Add additional JSON properties to the request
732
+
733
+ timeout: Override the client-level default timeout for this request, in seconds
734
+ """
735
+ if not bucket_name:
736
+ raise ValueError(f"Expected a non-empty value for `bucket_name` but received {bucket_name!r}")
737
+ extra_headers = {"Accept": "*/*", **(extra_headers or {})}
738
+ return self.delete(
739
+ f"/{bucket_name}",
740
+ options=make_request_options(
741
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
742
+ ),
743
+ cast_to=NoneType,
744
+ )
745
+
746
+ def delete_object(
747
+ self,
748
+ object_name: str,
749
+ *,
750
+ bucket_name: str,
751
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
752
+ # The extra values given here take precedence over values defined on the client or passed to this method.
753
+ extra_headers: Headers | None = None,
754
+ extra_query: Query | None = None,
755
+ extra_body: Body | None = None,
756
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
757
+ ) -> None:
758
+ """
759
+ Delete an object from a given bucket.
760
+
761
+ Args:
762
+ extra_headers: Send extra headers
763
+
764
+ extra_query: Add additional query parameters to the request
765
+
766
+ extra_body: Add additional JSON properties to the request
767
+
768
+ timeout: Override the client-level default timeout for this request, in seconds
769
+ """
770
+ if not bucket_name:
771
+ raise ValueError(f"Expected a non-empty value for `bucket_name` but received {bucket_name!r}")
772
+ if not object_name:
773
+ raise ValueError(f"Expected a non-empty value for `object_name` but received {object_name!r}")
774
+ extra_headers = {"Accept": "*/*", **(extra_headers or {})}
775
+ return self.delete(
776
+ f"/{bucket_name}/{object_name}",
777
+ options=make_request_options(
778
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
779
+ ),
780
+ cast_to=NoneType,
781
+ )
782
+
783
+ def delete_objects(
784
+ self,
785
+ bucket_name: str,
786
+ *,
787
+ delete: Literal[True],
788
+ body: Iterable[client_delete_objects_params.Body],
789
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
790
+ # The extra values given here take precedence over values defined on the client or passed to this method.
791
+ extra_headers: Headers | None = None,
792
+ extra_query: Query | None = None,
793
+ extra_body: Body | None = None,
794
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
795
+ ) -> object:
796
+ """
797
+ Deletes one or multiple objects from a given bucket.
798
+
799
+ Args:
800
+ extra_headers: Send extra headers
801
+
802
+ extra_query: Add additional query parameters to the request
803
+
804
+ extra_body: Add additional JSON properties to the request
805
+
806
+ timeout: Override the client-level default timeout for this request, in seconds
807
+ """
808
+ if not bucket_name:
809
+ raise ValueError(f"Expected a non-empty value for `bucket_name` but received {bucket_name!r}")
810
+ extra_headers = {"Accept": "application/xml", **(extra_headers or {})}
811
+ return self.post(
812
+ f"/{bucket_name}",
813
+ body=maybe_transform(body, Iterable[client_delete_objects_params.Body]),
814
+ options=make_request_options(
815
+ extra_headers=extra_headers,
816
+ extra_query=extra_query,
817
+ extra_body=extra_body,
818
+ timeout=timeout,
819
+ query=maybe_transform({"delete": delete}, client_delete_objects_params.ClientDeleteObjectsParams),
820
+ ),
821
+ cast_to=object,
822
+ )
823
+
824
+ def get_object(
825
+ self,
826
+ object_name: str,
827
+ *,
828
+ bucket_name: str,
829
+ upload_id: str | Omit = omit,
830
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
831
+ # The extra values given here take precedence over values defined on the client or passed to this method.
832
+ extra_headers: Headers | None = None,
833
+ extra_query: Query | None = None,
834
+ extra_body: Body | None = None,
835
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
836
+ ) -> BinaryAPIResponse:
837
+ """
838
+ Retrieves an object from a given bucket.
839
+
840
+ Args:
841
+ extra_headers: Send extra headers
842
+
843
+ extra_query: Add additional query parameters to the request
844
+
845
+ extra_body: Add additional JSON properties to the request
846
+
847
+ timeout: Override the client-level default timeout for this request, in seconds
848
+ """
849
+ if not bucket_name:
850
+ raise ValueError(f"Expected a non-empty value for `bucket_name` but received {bucket_name!r}")
851
+ if not object_name:
852
+ raise ValueError(f"Expected a non-empty value for `object_name` but received {object_name!r}")
853
+ extra_headers = {"Accept": "application/octet-stream", **(extra_headers or {})}
854
+ return self.get(
855
+ f"/{bucket_name}/{object_name}",
856
+ options=make_request_options(
857
+ extra_headers=extra_headers,
858
+ extra_query=extra_query,
859
+ extra_body=extra_body,
860
+ timeout=timeout,
861
+ query=maybe_transform({"upload_id": upload_id}, client_get_object_params.ClientGetObjectParams),
862
+ ),
863
+ cast_to=BinaryAPIResponse,
864
+ )
865
+
866
+ def list_buckets(
867
+ self,
868
+ *,
869
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
870
+ # The extra values given here take precedence over values defined on the client or passed to this method.
871
+ extra_headers: Headers | None = None,
872
+ extra_query: Query | None = None,
873
+ extra_body: Body | None = None,
874
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
875
+ ) -> ListBucketsResponse:
876
+ """List all Buckets."""
877
+ extra_headers = {"Accept": "application/xml", **(extra_headers or {})}
878
+ return self.get(
879
+ "/",
880
+ options=make_request_options(
881
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
882
+ ),
883
+ cast_to=ListBucketsResponse,
884
+ )
885
+
886
+ def list_objects(
887
+ self,
888
+ bucket_name: str,
889
+ *,
890
+ list_type: Literal[2] | Omit = omit,
891
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
892
+ # The extra values given here take precedence over values defined on the client or passed to this method.
893
+ extra_headers: Headers | None = None,
894
+ extra_query: Query | None = None,
895
+ extra_body: Body | None = None,
896
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
897
+ ) -> ListObjectsResponse:
898
+ """
899
+ List all objects contained in a given bucket.
900
+
901
+ Args:
902
+ extra_headers: Send extra headers
903
+
904
+ extra_query: Add additional query parameters to the request
905
+
906
+ extra_body: Add additional JSON properties to the request
907
+
908
+ timeout: Override the client-level default timeout for this request, in seconds
909
+ """
910
+ if not bucket_name:
911
+ raise ValueError(f"Expected a non-empty value for `bucket_name` but received {bucket_name!r}")
912
+ extra_headers = {"Accept": "application/xml", **(extra_headers or {})}
913
+ return self.get(
914
+ f"/{bucket_name}",
915
+ options=make_request_options(
916
+ extra_headers=extra_headers,
917
+ extra_query=extra_query,
918
+ extra_body=extra_body,
919
+ timeout=timeout,
920
+ query=maybe_transform({"list_type": list_type}, client_list_objects_params.ClientListObjectsParams),
921
+ ),
922
+ cast_to=ListObjectsResponse,
923
+ )
924
+
925
+ def put_object(
926
+ self,
927
+ object_name: str,
928
+ *,
929
+ bucket_name: str,
930
+ body: FileTypes,
931
+ part_number: str | Omit = omit,
932
+ upload_id: str | Omit = omit,
933
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
934
+ # The extra values given here take precedence over values defined on the client or passed to this method.
935
+ extra_headers: Headers | None = None,
936
+ extra_query: Query | None = None,
937
+ extra_body: Body | None = None,
938
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
939
+ ) -> None:
940
+ """
941
+ Add an object to a bucket.
942
+
943
+ Args:
944
+ extra_headers: Send extra headers
945
+
946
+ extra_query: Add additional query parameters to the request
947
+
948
+ extra_body: Add additional JSON properties to the request
949
+
950
+ timeout: Override the client-level default timeout for this request, in seconds
951
+ """
952
+ if not bucket_name:
953
+ raise ValueError(f"Expected a non-empty value for `bucket_name` but received {bucket_name!r}")
954
+ if not object_name:
955
+ raise ValueError(f"Expected a non-empty value for `object_name` but received {object_name!r}")
956
+ extra_headers = {"Accept": "*/*", **(extra_headers or {})}
957
+ return self.put(
958
+ f"/{bucket_name}/{object_name}",
959
+ body=maybe_transform(body, client_put_object_params.ClientPutObjectParams),
960
+ options=make_request_options(
961
+ extra_headers=extra_headers,
962
+ extra_query=extra_query,
963
+ extra_body=extra_body,
964
+ timeout=timeout,
965
+ query=maybe_transform(
966
+ {
967
+ "part_number": part_number,
968
+ "upload_id": upload_id,
969
+ },
970
+ client_put_object_params.ClientPutObjectParams,
971
+ ),
972
+ ),
973
+ cast_to=NoneType,
974
+ )
975
+
976
+ @override
977
+ def _make_status_error(
978
+ self,
979
+ err_msg: str,
980
+ *,
981
+ body: object,
982
+ response: httpx.Response,
983
+ ) -> APIStatusError:
984
+ if response.status_code == 400:
985
+ return _exceptions.BadRequestError(err_msg, response=response, body=body)
986
+
987
+ if response.status_code == 401:
988
+ return _exceptions.AuthenticationError(err_msg, response=response, body=body)
989
+
990
+ if response.status_code == 403:
991
+ return _exceptions.PermissionDeniedError(err_msg, response=response, body=body)
992
+
993
+ if response.status_code == 404:
994
+ return _exceptions.NotFoundError(err_msg, response=response, body=body)
995
+
996
+ if response.status_code == 409:
997
+ return _exceptions.ConflictError(err_msg, response=response, body=body)
998
+
999
+ if response.status_code == 422:
1000
+ return _exceptions.UnprocessableEntityError(err_msg, response=response, body=body)
1001
+
1002
+ if response.status_code == 429:
1003
+ return _exceptions.RateLimitError(err_msg, response=response, body=body)
1004
+
1005
+ if response.status_code >= 500:
1006
+ return _exceptions.InternalServerError(err_msg, response=response, body=body)
1007
+ return APIStatusError(err_msg, response=response, body=body)
1008
+
1009
+
1010
+ class AsyncTelnyx(AsyncAPIClient):
1011
+ legacy: legacy.AsyncLegacyResource
1012
+ oauth: oauth.AsyncOAuthResource
1013
+ oauth_clients: oauth_clients.AsyncOAuthClientsResource
1014
+ oauth_grants: oauth_grants.AsyncOAuthGrantsResource
1015
+ webhooks: webhooks.AsyncWebhooksResource
1016
+ access_ip_address: access_ip_address.AsyncAccessIPAddressResource
1017
+ access_ip_ranges: access_ip_ranges.AsyncAccessIPRangesResource
1018
+ actions: actions.AsyncActionsResource
1019
+ addresses: addresses.AsyncAddressesResource
1020
+ advanced_orders: advanced_orders.AsyncAdvancedOrdersResource
1021
+ ai: ai.AsyncAIResource
1022
+ audit_events: audit_events.AsyncAuditEventsResource
1023
+ authentication_providers: authentication_providers.AsyncAuthenticationProvidersResource
1024
+ available_phone_number_blocks: available_phone_number_blocks.AsyncAvailablePhoneNumberBlocksResource
1025
+ available_phone_numbers: available_phone_numbers.AsyncAvailablePhoneNumbersResource
1026
+ balance: balance.AsyncBalanceResource
1027
+ billing_groups: billing_groups.AsyncBillingGroupsResource
1028
+ brand: brand.AsyncBrandResource
1029
+ bulk_sim_card_actions: bulk_sim_card_actions.AsyncBulkSimCardActionsResource
1030
+ bundle_pricing: bundle_pricing.AsyncBundlePricingResource
1031
+ call_control_applications: call_control_applications.AsyncCallControlApplicationsResource
1032
+ call_events: call_events.AsyncCallEventsResource
1033
+ calls: calls.AsyncCallsResource
1034
+ campaign: campaign.AsyncCampaignResource
1035
+ campaign_builder: campaign_builder.AsyncCampaignBuilderResource
1036
+ channel_zones: channel_zones.AsyncChannelZonesResource
1037
+ charges_breakdown: charges_breakdown.AsyncChargesBreakdownResource
1038
+ charges_summary: charges_summary.AsyncChargesSummaryResource
1039
+ comments: comments.AsyncCommentsResource
1040
+ conferences: conferences.AsyncConferencesResource
1041
+ connections: connections.AsyncConnectionsResource
1042
+ country_coverage: country_coverage.AsyncCountryCoverageResource
1043
+ credential_connections: credential_connections.AsyncCredentialConnectionsResource
1044
+ custom_storage_credentials: custom_storage_credentials.AsyncCustomStorageCredentialsResource
1045
+ customer_service_records: customer_service_records.AsyncCustomerServiceRecordsResource
1046
+ detail_records: detail_records.AsyncDetailRecordsResource
1047
+ dialogflow_connections: dialogflow_connections.AsyncDialogflowConnectionsResource
1048
+ document_links: document_links.AsyncDocumentLinksResource
1049
+ documents: documents.AsyncDocumentsResource
1050
+ dynamic_emergency_addresses: dynamic_emergency_addresses.AsyncDynamicEmergencyAddressesResource
1051
+ dynamic_emergency_endpoints: dynamic_emergency_endpoints.AsyncDynamicEmergencyEndpointsResource
1052
+ enum: enum.AsyncEnumResource
1053
+ external_connections: external_connections.AsyncExternalConnectionsResource
1054
+ fax_applications: fax_applications.AsyncFaxApplicationsResource
1055
+ faxes: faxes.AsyncFaxesResource
1056
+ fqdn_connections: fqdn_connections.AsyncFqdnConnectionsResource
1057
+ fqdns: fqdns.AsyncFqdnsResource
1058
+ global_ip_allowed_ports: global_ip_allowed_ports.AsyncGlobalIPAllowedPortsResource
1059
+ global_ip_assignment_health: global_ip_assignment_health.AsyncGlobalIPAssignmentHealthResource
1060
+ global_ip_assignments: global_ip_assignments.AsyncGlobalIPAssignmentsResource
1061
+ global_ip_assignments_usage: global_ip_assignments_usage.AsyncGlobalIPAssignmentsUsageResource
1062
+ global_ip_health_check_types: global_ip_health_check_types.AsyncGlobalIPHealthCheckTypesResource
1063
+ global_ip_health_checks: global_ip_health_checks.AsyncGlobalIPHealthChecksResource
1064
+ global_ip_latency: global_ip_latency.AsyncGlobalIPLatencyResource
1065
+ global_ip_protocols: global_ip_protocols.AsyncGlobalIPProtocolsResource
1066
+ global_ip_usage: global_ip_usage.AsyncGlobalIPUsageResource
1067
+ global_ips: global_ips.AsyncGlobalIPsResource
1068
+ inbound_channels: inbound_channels.AsyncInboundChannelsResource
1069
+ integration_secrets: integration_secrets.AsyncIntegrationSecretsResource
1070
+ inventory_coverage: inventory_coverage.AsyncInventoryCoverageResource
1071
+ invoices: invoices.AsyncInvoicesResource
1072
+ ip_connections: ip_connections.AsyncIPConnectionsResource
1073
+ ips: ips.AsyncIPsResource
1074
+ ledger_billing_group_reports: ledger_billing_group_reports.AsyncLedgerBillingGroupReportsResource
1075
+ list: list.AsyncListResource
1076
+ managed_accounts: managed_accounts.AsyncManagedAccountsResource
1077
+ media: media.AsyncMediaResource
1078
+ messages: messages.AsyncMessagesResource
1079
+ messaging: messaging.AsyncMessagingResource
1080
+ messaging_hosted_number_orders: messaging_hosted_number_orders.AsyncMessagingHostedNumberOrdersResource
1081
+ messaging_hosted_numbers: messaging_hosted_numbers.AsyncMessagingHostedNumbersResource
1082
+ messaging_numbers_bulk_updates: messaging_numbers_bulk_updates.AsyncMessagingNumbersBulkUpdatesResource
1083
+ messaging_optouts: messaging_optouts.AsyncMessagingOptoutsResource
1084
+ messaging_profiles: messaging_profiles.AsyncMessagingProfilesResource
1085
+ messaging_tollfree: messaging_tollfree.AsyncMessagingTollfreeResource
1086
+ messaging_url_domains: messaging_url_domains.AsyncMessagingURLDomainsResource
1087
+ messsages: messsages.AsyncMesssagesResource
1088
+ mobile_network_operators: mobile_network_operators.AsyncMobileNetworkOperatorsResource
1089
+ mobile_push_credentials: mobile_push_credentials.AsyncMobilePushCredentialsResource
1090
+ network_coverage: network_coverage.AsyncNetworkCoverageResource
1091
+ networks: networks.AsyncNetworksResource
1092
+ notification_channels: notification_channels.AsyncNotificationChannelsResource
1093
+ notification_event_conditions: notification_event_conditions.AsyncNotificationEventConditionsResource
1094
+ notification_events: notification_events.AsyncNotificationEventsResource
1095
+ notification_profiles: notification_profiles.AsyncNotificationProfilesResource
1096
+ notification_settings: notification_settings.AsyncNotificationSettingsResource
1097
+ number_block_orders: number_block_orders.AsyncNumberBlockOrdersResource
1098
+ number_lookup: number_lookup.AsyncNumberLookupResource
1099
+ number_order_phone_numbers: number_order_phone_numbers.AsyncNumberOrderPhoneNumbersResource
1100
+ number_orders: number_orders.AsyncNumberOrdersResource
1101
+ number_reservations: number_reservations.AsyncNumberReservationsResource
1102
+ numbers_features: numbers_features.AsyncNumbersFeaturesResource
1103
+ operator_connect: operator_connect.AsyncOperatorConnectResource
1104
+ ota_updates: ota_updates.AsyncOtaUpdatesResource
1105
+ outbound_voice_profiles: outbound_voice_profiles.AsyncOutboundVoiceProfilesResource
1106
+ payment: payment.AsyncPaymentResource
1107
+ phone_number_assignment_by_profile: phone_number_assignment_by_profile.AsyncPhoneNumberAssignmentByProfileResource
1108
+ phone_number_blocks: phone_number_blocks.AsyncPhoneNumberBlocksResource
1109
+ phone_number_campaigns: phone_number_campaigns.AsyncPhoneNumberCampaignsResource
1110
+ phone_numbers: phone_numbers.AsyncPhoneNumbersResource
1111
+ phone_numbers_regulatory_requirements: (
1112
+ phone_numbers_regulatory_requirements.AsyncPhoneNumbersRegulatoryRequirementsResource
1113
+ )
1114
+ portability_checks: portability_checks.AsyncPortabilityChecksResource
1115
+ porting: porting.AsyncPortingResource
1116
+ porting_orders: porting_orders.AsyncPortingOrdersResource
1117
+ porting_phone_numbers: porting_phone_numbers.AsyncPortingPhoneNumbersResource
1118
+ portouts: portouts.AsyncPortoutsResource
1119
+ private_wireless_gateways: private_wireless_gateways.AsyncPrivateWirelessGatewaysResource
1120
+ public_internet_gateways: public_internet_gateways.AsyncPublicInternetGatewaysResource
1121
+ queues: queues.AsyncQueuesResource
1122
+ recording_transcriptions: recording_transcriptions.AsyncRecordingTranscriptionsResource
1123
+ recordings: recordings.AsyncRecordingsResource
1124
+ regions: regions.AsyncRegionsResource
1125
+ regulatory_requirements: regulatory_requirements.AsyncRegulatoryRequirementsResource
1126
+ reports: reports.AsyncReportsResource
1127
+ requirement_groups: requirement_groups.AsyncRequirementGroupsResource
1128
+ requirement_types: requirement_types.AsyncRequirementTypesResource
1129
+ requirements: requirements.AsyncRequirementsResource
1130
+ room_compositions: room_compositions.AsyncRoomCompositionsResource
1131
+ room_participants: room_participants.AsyncRoomParticipantsResource
1132
+ room_recordings: room_recordings.AsyncRoomRecordingsResource
1133
+ rooms: rooms.AsyncRoomsResource
1134
+ seti: seti.AsyncSetiResource
1135
+ short_codes: short_codes.AsyncShortCodesResource
1136
+ sim_card_data_usage_notifications: sim_card_data_usage_notifications.AsyncSimCardDataUsageNotificationsResource
1137
+ sim_card_groups: sim_card_groups.AsyncSimCardGroupsResource
1138
+ sim_card_order_preview: sim_card_order_preview.AsyncSimCardOrderPreviewResource
1139
+ sim_card_orders: sim_card_orders.AsyncSimCardOrdersResource
1140
+ sim_cards: sim_cards.AsyncSimCardsResource
1141
+ siprec_connectors: siprec_connectors.AsyncSiprecConnectorsResource
1142
+ storage: storage.AsyncStorageResource
1143
+ sub_number_orders: sub_number_orders.AsyncSubNumberOrdersResource
1144
+ sub_number_orders_report: sub_number_orders_report.AsyncSubNumberOrdersReportResource
1145
+ telephony_credentials: telephony_credentials.AsyncTelephonyCredentialsResource
1146
+ texml: texml.AsyncTexmlResource
1147
+ texml_applications: texml_applications.AsyncTexmlApplicationsResource
1148
+ text_to_speech: text_to_speech.AsyncTextToSpeechResource
1149
+ usage_reports: usage_reports.AsyncUsageReportsResource
1150
+ user_addresses: user_addresses.AsyncUserAddressesResource
1151
+ user_tags: user_tags.AsyncUserTagsResource
1152
+ verifications: verifications.AsyncVerificationsResource
1153
+ verified_numbers: verified_numbers.AsyncVerifiedNumbersResource
1154
+ verify_profiles: verify_profiles.AsyncVerifyProfilesResource
1155
+ virtual_cross_connects: virtual_cross_connects.AsyncVirtualCrossConnectsResource
1156
+ virtual_cross_connects_coverage: virtual_cross_connects_coverage.AsyncVirtualCrossConnectsCoverageResource
1157
+ webhook_deliveries: webhook_deliveries.AsyncWebhookDeliveriesResource
1158
+ wireguard_interfaces: wireguard_interfaces.AsyncWireguardInterfacesResource
1159
+ wireguard_peers: wireguard_peers.AsyncWireguardPeersResource
1160
+ wireless: wireless.AsyncWirelessResource
1161
+ wireless_blocklist_values: wireless_blocklist_values.AsyncWirelessBlocklistValuesResource
1162
+ wireless_blocklists: wireless_blocklists.AsyncWirelessBlocklistsResource
1163
+ partner_campaigns: partner_campaigns.AsyncPartnerCampaignsResource
1164
+ well_known: well_known.AsyncWellKnownResource
1165
+ with_raw_response: AsyncTelnyxWithRawResponse
1166
+ with_streaming_response: AsyncTelnyxWithStreamedResponse
1167
+
1168
+ # client options
1169
+ api_key: str
1170
+
1171
+ def __init__(
1172
+ self,
1173
+ *,
1174
+ api_key: str | None = None,
1175
+ base_url: str | httpx.URL | None = None,
1176
+ timeout: float | Timeout | None | NotGiven = not_given,
1177
+ max_retries: int = DEFAULT_MAX_RETRIES,
1178
+ default_headers: Mapping[str, str] | None = None,
1179
+ default_query: Mapping[str, object] | None = None,
1180
+ # Configure a custom httpx client.
1181
+ # We provide a `DefaultAsyncHttpxClient` class that you can pass to retain the default values we use for `limits`, `timeout` & `follow_redirects`.
1182
+ # See the [httpx documentation](https://www.python-httpx.org/api/#asyncclient) for more details.
1183
+ http_client: httpx.AsyncClient | None = None,
1184
+ # Enable or disable schema validation for data returned by the API.
1185
+ # When enabled an error APIResponseValidationError is raised
1186
+ # if the API responds with invalid data for the expected schema.
1187
+ #
1188
+ # This parameter may be removed or changed in the future.
1189
+ # If you rely on this feature, please open a GitHub issue
1190
+ # outlining your use-case to help us decide if it should be
1191
+ # part of our public interface in the future.
1192
+ _strict_response_validation: bool = False,
1193
+ ) -> None:
1194
+ """Construct a new async AsyncTelnyx client instance.
1195
+
1196
+ This automatically infers the `api_key` argument from the `TELNYX_API_KEY` environment variable if it is not provided.
1197
+ """
1198
+ if api_key is None:
1199
+ api_key = os.environ.get("TELNYX_API_KEY")
1200
+ if api_key is None:
1201
+ raise TelnyxError(
1202
+ "The api_key client option must be set either by passing api_key to the client or by setting the TELNYX_API_KEY environment variable"
1203
+ )
1204
+ self.api_key = api_key
1205
+
1206
+ if base_url is None:
1207
+ base_url = os.environ.get("TELNYX_BASE_URL")
1208
+ self._base_url_overridden = base_url is not None
1209
+ if base_url is None:
1210
+ base_url = f"https://api.telnyx.com/v2"
1211
+
1212
+ super().__init__(
1213
+ version=__version__,
1214
+ base_url=base_url,
1215
+ max_retries=max_retries,
1216
+ timeout=timeout,
1217
+ http_client=http_client,
1218
+ custom_headers=default_headers,
1219
+ custom_query=default_query,
1220
+ _strict_response_validation=_strict_response_validation,
1221
+ )
1222
+
1223
+ self.legacy = legacy.AsyncLegacyResource(self)
1224
+ self.oauth = oauth.AsyncOAuthResource(self)
1225
+ self.oauth_clients = oauth_clients.AsyncOAuthClientsResource(self)
1226
+ self.oauth_grants = oauth_grants.AsyncOAuthGrantsResource(self)
1227
+ self.webhooks = webhooks.AsyncWebhooksResource(self)
1228
+ self.access_ip_address = access_ip_address.AsyncAccessIPAddressResource(self)
1229
+ self.access_ip_ranges = access_ip_ranges.AsyncAccessIPRangesResource(self)
1230
+ self.actions = actions.AsyncActionsResource(self)
1231
+ self.addresses = addresses.AsyncAddressesResource(self)
1232
+ self.advanced_orders = advanced_orders.AsyncAdvancedOrdersResource(self)
1233
+ self.ai = ai.AsyncAIResource(self)
1234
+ self.audit_events = audit_events.AsyncAuditEventsResource(self)
1235
+ self.authentication_providers = authentication_providers.AsyncAuthenticationProvidersResource(self)
1236
+ self.available_phone_number_blocks = available_phone_number_blocks.AsyncAvailablePhoneNumberBlocksResource(self)
1237
+ self.available_phone_numbers = available_phone_numbers.AsyncAvailablePhoneNumbersResource(self)
1238
+ self.balance = balance.AsyncBalanceResource(self)
1239
+ self.billing_groups = billing_groups.AsyncBillingGroupsResource(self)
1240
+ self.brand = brand.AsyncBrandResource(self)
1241
+ self.bulk_sim_card_actions = bulk_sim_card_actions.AsyncBulkSimCardActionsResource(self)
1242
+ self.bundle_pricing = bundle_pricing.AsyncBundlePricingResource(self)
1243
+ self.call_control_applications = call_control_applications.AsyncCallControlApplicationsResource(self)
1244
+ self.call_events = call_events.AsyncCallEventsResource(self)
1245
+ self.calls = calls.AsyncCallsResource(self)
1246
+ self.campaign = campaign.AsyncCampaignResource(self)
1247
+ self.campaign_builder = campaign_builder.AsyncCampaignBuilderResource(self)
1248
+ self.channel_zones = channel_zones.AsyncChannelZonesResource(self)
1249
+ self.charges_breakdown = charges_breakdown.AsyncChargesBreakdownResource(self)
1250
+ self.charges_summary = charges_summary.AsyncChargesSummaryResource(self)
1251
+ self.comments = comments.AsyncCommentsResource(self)
1252
+ self.conferences = conferences.AsyncConferencesResource(self)
1253
+ self.connections = connections.AsyncConnectionsResource(self)
1254
+ self.country_coverage = country_coverage.AsyncCountryCoverageResource(self)
1255
+ self.credential_connections = credential_connections.AsyncCredentialConnectionsResource(self)
1256
+ self.custom_storage_credentials = custom_storage_credentials.AsyncCustomStorageCredentialsResource(self)
1257
+ self.customer_service_records = customer_service_records.AsyncCustomerServiceRecordsResource(self)
1258
+ self.detail_records = detail_records.AsyncDetailRecordsResource(self)
1259
+ self.dialogflow_connections = dialogflow_connections.AsyncDialogflowConnectionsResource(self)
1260
+ self.document_links = document_links.AsyncDocumentLinksResource(self)
1261
+ self.documents = documents.AsyncDocumentsResource(self)
1262
+ self.dynamic_emergency_addresses = dynamic_emergency_addresses.AsyncDynamicEmergencyAddressesResource(self)
1263
+ self.dynamic_emergency_endpoints = dynamic_emergency_endpoints.AsyncDynamicEmergencyEndpointsResource(self)
1264
+ self.enum = enum.AsyncEnumResource(self)
1265
+ self.external_connections = external_connections.AsyncExternalConnectionsResource(self)
1266
+ self.fax_applications = fax_applications.AsyncFaxApplicationsResource(self)
1267
+ self.faxes = faxes.AsyncFaxesResource(self)
1268
+ self.fqdn_connections = fqdn_connections.AsyncFqdnConnectionsResource(self)
1269
+ self.fqdns = fqdns.AsyncFqdnsResource(self)
1270
+ self.global_ip_allowed_ports = global_ip_allowed_ports.AsyncGlobalIPAllowedPortsResource(self)
1271
+ self.global_ip_assignment_health = global_ip_assignment_health.AsyncGlobalIPAssignmentHealthResource(self)
1272
+ self.global_ip_assignments = global_ip_assignments.AsyncGlobalIPAssignmentsResource(self)
1273
+ self.global_ip_assignments_usage = global_ip_assignments_usage.AsyncGlobalIPAssignmentsUsageResource(self)
1274
+ self.global_ip_health_check_types = global_ip_health_check_types.AsyncGlobalIPHealthCheckTypesResource(self)
1275
+ self.global_ip_health_checks = global_ip_health_checks.AsyncGlobalIPHealthChecksResource(self)
1276
+ self.global_ip_latency = global_ip_latency.AsyncGlobalIPLatencyResource(self)
1277
+ self.global_ip_protocols = global_ip_protocols.AsyncGlobalIPProtocolsResource(self)
1278
+ self.global_ip_usage = global_ip_usage.AsyncGlobalIPUsageResource(self)
1279
+ self.global_ips = global_ips.AsyncGlobalIPsResource(self)
1280
+ self.inbound_channels = inbound_channels.AsyncInboundChannelsResource(self)
1281
+ self.integration_secrets = integration_secrets.AsyncIntegrationSecretsResource(self)
1282
+ self.inventory_coverage = inventory_coverage.AsyncInventoryCoverageResource(self)
1283
+ self.invoices = invoices.AsyncInvoicesResource(self)
1284
+ self.ip_connections = ip_connections.AsyncIPConnectionsResource(self)
1285
+ self.ips = ips.AsyncIPsResource(self)
1286
+ self.ledger_billing_group_reports = ledger_billing_group_reports.AsyncLedgerBillingGroupReportsResource(self)
1287
+ self.list = list.AsyncListResource(self)
1288
+ self.managed_accounts = managed_accounts.AsyncManagedAccountsResource(self)
1289
+ self.media = media.AsyncMediaResource(self)
1290
+ self.messages = messages.AsyncMessagesResource(self)
1291
+ self.messaging = messaging.AsyncMessagingResource(self)
1292
+ self.messaging_hosted_number_orders = messaging_hosted_number_orders.AsyncMessagingHostedNumberOrdersResource(
1293
+ self
1294
+ )
1295
+ self.messaging_hosted_numbers = messaging_hosted_numbers.AsyncMessagingHostedNumbersResource(self)
1296
+ self.messaging_numbers_bulk_updates = messaging_numbers_bulk_updates.AsyncMessagingNumbersBulkUpdatesResource(
1297
+ self
1298
+ )
1299
+ self.messaging_optouts = messaging_optouts.AsyncMessagingOptoutsResource(self)
1300
+ self.messaging_profiles = messaging_profiles.AsyncMessagingProfilesResource(self)
1301
+ self.messaging_tollfree = messaging_tollfree.AsyncMessagingTollfreeResource(self)
1302
+ self.messaging_url_domains = messaging_url_domains.AsyncMessagingURLDomainsResource(self)
1303
+ self.messsages = messsages.AsyncMesssagesResource(self)
1304
+ self.mobile_network_operators = mobile_network_operators.AsyncMobileNetworkOperatorsResource(self)
1305
+ self.mobile_push_credentials = mobile_push_credentials.AsyncMobilePushCredentialsResource(self)
1306
+ self.network_coverage = network_coverage.AsyncNetworkCoverageResource(self)
1307
+ self.networks = networks.AsyncNetworksResource(self)
1308
+ self.notification_channels = notification_channels.AsyncNotificationChannelsResource(self)
1309
+ self.notification_event_conditions = notification_event_conditions.AsyncNotificationEventConditionsResource(
1310
+ self
1311
+ )
1312
+ self.notification_events = notification_events.AsyncNotificationEventsResource(self)
1313
+ self.notification_profiles = notification_profiles.AsyncNotificationProfilesResource(self)
1314
+ self.notification_settings = notification_settings.AsyncNotificationSettingsResource(self)
1315
+ self.number_block_orders = number_block_orders.AsyncNumberBlockOrdersResource(self)
1316
+ self.number_lookup = number_lookup.AsyncNumberLookupResource(self)
1317
+ self.number_order_phone_numbers = number_order_phone_numbers.AsyncNumberOrderPhoneNumbersResource(self)
1318
+ self.number_orders = number_orders.AsyncNumberOrdersResource(self)
1319
+ self.number_reservations = number_reservations.AsyncNumberReservationsResource(self)
1320
+ self.numbers_features = numbers_features.AsyncNumbersFeaturesResource(self)
1321
+ self.operator_connect = operator_connect.AsyncOperatorConnectResource(self)
1322
+ self.ota_updates = ota_updates.AsyncOtaUpdatesResource(self)
1323
+ self.outbound_voice_profiles = outbound_voice_profiles.AsyncOutboundVoiceProfilesResource(self)
1324
+ self.payment = payment.AsyncPaymentResource(self)
1325
+ self.phone_number_assignment_by_profile = (
1326
+ phone_number_assignment_by_profile.AsyncPhoneNumberAssignmentByProfileResource(self)
1327
+ )
1328
+ self.phone_number_blocks = phone_number_blocks.AsyncPhoneNumberBlocksResource(self)
1329
+ self.phone_number_campaigns = phone_number_campaigns.AsyncPhoneNumberCampaignsResource(self)
1330
+ self.phone_numbers = phone_numbers.AsyncPhoneNumbersResource(self)
1331
+ self.phone_numbers_regulatory_requirements = (
1332
+ phone_numbers_regulatory_requirements.AsyncPhoneNumbersRegulatoryRequirementsResource(self)
1333
+ )
1334
+ self.portability_checks = portability_checks.AsyncPortabilityChecksResource(self)
1335
+ self.porting = porting.AsyncPortingResource(self)
1336
+ self.porting_orders = porting_orders.AsyncPortingOrdersResource(self)
1337
+ self.porting_phone_numbers = porting_phone_numbers.AsyncPortingPhoneNumbersResource(self)
1338
+ self.portouts = portouts.AsyncPortoutsResource(self)
1339
+ self.private_wireless_gateways = private_wireless_gateways.AsyncPrivateWirelessGatewaysResource(self)
1340
+ self.public_internet_gateways = public_internet_gateways.AsyncPublicInternetGatewaysResource(self)
1341
+ self.queues = queues.AsyncQueuesResource(self)
1342
+ self.recording_transcriptions = recording_transcriptions.AsyncRecordingTranscriptionsResource(self)
1343
+ self.recordings = recordings.AsyncRecordingsResource(self)
1344
+ self.regions = regions.AsyncRegionsResource(self)
1345
+ self.regulatory_requirements = regulatory_requirements.AsyncRegulatoryRequirementsResource(self)
1346
+ self.reports = reports.AsyncReportsResource(self)
1347
+ self.requirement_groups = requirement_groups.AsyncRequirementGroupsResource(self)
1348
+ self.requirement_types = requirement_types.AsyncRequirementTypesResource(self)
1349
+ self.requirements = requirements.AsyncRequirementsResource(self)
1350
+ self.room_compositions = room_compositions.AsyncRoomCompositionsResource(self)
1351
+ self.room_participants = room_participants.AsyncRoomParticipantsResource(self)
1352
+ self.room_recordings = room_recordings.AsyncRoomRecordingsResource(self)
1353
+ self.rooms = rooms.AsyncRoomsResource(self)
1354
+ self.seti = seti.AsyncSetiResource(self)
1355
+ self.short_codes = short_codes.AsyncShortCodesResource(self)
1356
+ self.sim_card_data_usage_notifications = (
1357
+ sim_card_data_usage_notifications.AsyncSimCardDataUsageNotificationsResource(self)
1358
+ )
1359
+ self.sim_card_groups = sim_card_groups.AsyncSimCardGroupsResource(self)
1360
+ self.sim_card_order_preview = sim_card_order_preview.AsyncSimCardOrderPreviewResource(self)
1361
+ self.sim_card_orders = sim_card_orders.AsyncSimCardOrdersResource(self)
1362
+ self.sim_cards = sim_cards.AsyncSimCardsResource(self)
1363
+ self.siprec_connectors = siprec_connectors.AsyncSiprecConnectorsResource(self)
1364
+ self.storage = storage.AsyncStorageResource(self)
1365
+ self.sub_number_orders = sub_number_orders.AsyncSubNumberOrdersResource(self)
1366
+ self.sub_number_orders_report = sub_number_orders_report.AsyncSubNumberOrdersReportResource(self)
1367
+ self.telephony_credentials = telephony_credentials.AsyncTelephonyCredentialsResource(self)
1368
+ self.texml = texml.AsyncTexmlResource(self)
1369
+ self.texml_applications = texml_applications.AsyncTexmlApplicationsResource(self)
1370
+ self.text_to_speech = text_to_speech.AsyncTextToSpeechResource(self)
1371
+ self.usage_reports = usage_reports.AsyncUsageReportsResource(self)
1372
+ self.user_addresses = user_addresses.AsyncUserAddressesResource(self)
1373
+ self.user_tags = user_tags.AsyncUserTagsResource(self)
1374
+ self.verifications = verifications.AsyncVerificationsResource(self)
1375
+ self.verified_numbers = verified_numbers.AsyncVerifiedNumbersResource(self)
1376
+ self.verify_profiles = verify_profiles.AsyncVerifyProfilesResource(self)
1377
+ self.virtual_cross_connects = virtual_cross_connects.AsyncVirtualCrossConnectsResource(self)
1378
+ self.virtual_cross_connects_coverage = (
1379
+ virtual_cross_connects_coverage.AsyncVirtualCrossConnectsCoverageResource(self)
1380
+ )
1381
+ self.webhook_deliveries = webhook_deliveries.AsyncWebhookDeliveriesResource(self)
1382
+ self.wireguard_interfaces = wireguard_interfaces.AsyncWireguardInterfacesResource(self)
1383
+ self.wireguard_peers = wireguard_peers.AsyncWireguardPeersResource(self)
1384
+ self.wireless = wireless.AsyncWirelessResource(self)
1385
+ self.wireless_blocklist_values = wireless_blocklist_values.AsyncWirelessBlocklistValuesResource(self)
1386
+ self.wireless_blocklists = wireless_blocklists.AsyncWirelessBlocklistsResource(self)
1387
+ self.partner_campaigns = partner_campaigns.AsyncPartnerCampaignsResource(self)
1388
+ self.well_known = well_known.AsyncWellKnownResource(self)
1389
+ self.with_raw_response = AsyncTelnyxWithRawResponse(self)
1390
+ self.with_streaming_response = AsyncTelnyxWithStreamedResponse(self)
1391
+
1392
+ @property
1393
+ @override
1394
+ def qs(self) -> Querystring:
1395
+ return Querystring(array_format="comma")
1396
+
1397
+ @property
1398
+ @override
1399
+ def auth_headers(self) -> dict[str, str]:
1400
+ api_key = self.api_key
1401
+ return {"Authorization": f"Bearer {api_key}"}
1402
+
1403
+ @property
1404
+ @override
1405
+ def default_headers(self) -> dict[str, str | Omit]:
1406
+ return {
1407
+ **super().default_headers,
1408
+ "X-Stainless-Async": f"async:{get_async_library()}",
1409
+ **self._custom_headers,
1410
+ }
1411
+
1412
+ def copy(
1413
+ self,
1414
+ *,
1415
+ api_key: str | None = None,
1416
+ base_url: str | httpx.URL | None = None,
1417
+ timeout: float | Timeout | None | NotGiven = not_given,
1418
+ http_client: httpx.AsyncClient | None = None,
1419
+ max_retries: int | NotGiven = not_given,
1420
+ default_headers: Mapping[str, str] | None = None,
1421
+ set_default_headers: Mapping[str, str] | None = None,
1422
+ default_query: Mapping[str, object] | None = None,
1423
+ set_default_query: Mapping[str, object] | None = None,
1424
+ _extra_kwargs: Mapping[str, Any] = {},
1425
+ ) -> Self:
1426
+ """
1427
+ Create a new client instance re-using the same options given to the current client with optional overriding.
1428
+ """
1429
+ if default_headers is not None and set_default_headers is not None:
1430
+ raise ValueError("The `default_headers` and `set_default_headers` arguments are mutually exclusive")
1431
+
1432
+ if default_query is not None and set_default_query is not None:
1433
+ raise ValueError("The `default_query` and `set_default_query` arguments are mutually exclusive")
1434
+
1435
+ headers = self._custom_headers
1436
+ if default_headers is not None:
1437
+ headers = {**headers, **default_headers}
1438
+ elif set_default_headers is not None:
1439
+ headers = set_default_headers
1440
+
1441
+ params = self._custom_query
1442
+ if default_query is not None:
1443
+ params = {**params, **default_query}
1444
+ elif set_default_query is not None:
1445
+ params = set_default_query
1446
+
1447
+ http_client = http_client or self._client
1448
+ client = self.__class__(
1449
+ api_key=api_key or self.api_key,
1450
+ base_url=base_url or self.base_url,
1451
+ timeout=self.timeout if isinstance(timeout, NotGiven) else timeout,
1452
+ http_client=http_client,
1453
+ max_retries=max_retries if is_given(max_retries) else self.max_retries,
1454
+ default_headers=headers,
1455
+ default_query=params,
1456
+ **_extra_kwargs,
1457
+ )
1458
+ client._base_url_overridden = self._base_url_overridden or base_url is not None
1459
+ return client
1460
+
1461
+ # Alias for `copy` for nicer inline usage, e.g.
1462
+ # client.with_options(timeout=10).foo.create(...)
1463
+ with_options = copy
1464
+
1465
+ async def create_bucket(
1466
+ self,
1467
+ bucket_name: str,
1468
+ *,
1469
+ location_constraint: str | Omit = omit,
1470
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1471
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1472
+ extra_headers: Headers | None = None,
1473
+ extra_query: Query | None = None,
1474
+ extra_body: Body | None = None,
1475
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1476
+ ) -> None:
1477
+ """
1478
+ Create a bucket.
1479
+
1480
+ Args:
1481
+ extra_headers: Send extra headers
1482
+
1483
+ extra_query: Add additional query parameters to the request
1484
+
1485
+ extra_body: Add additional JSON properties to the request
1486
+
1487
+ timeout: Override the client-level default timeout for this request, in seconds
1488
+ """
1489
+ if not bucket_name:
1490
+ raise ValueError(f"Expected a non-empty value for `bucket_name` but received {bucket_name!r}")
1491
+ extra_headers = {"Accept": "*/*", **(extra_headers or {})}
1492
+ return await self.put(
1493
+ f"/{bucket_name}",
1494
+ body=await async_maybe_transform(
1495
+ {"location_constraint": location_constraint}, client_create_bucket_params.ClientCreateBucketParams
1496
+ ),
1497
+ options=make_request_options(
1498
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1499
+ ),
1500
+ cast_to=NoneType,
1501
+ )
1502
+
1503
+ async def delete_bucket(
1504
+ self,
1505
+ bucket_name: str,
1506
+ *,
1507
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1508
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1509
+ extra_headers: Headers | None = None,
1510
+ extra_query: Query | None = None,
1511
+ extra_body: Body | None = None,
1512
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1513
+ ) -> None:
1514
+ """Deletes a bucket.
1515
+
1516
+ The bucket must be empty for it to be deleted.
1517
+
1518
+ Args:
1519
+ extra_headers: Send extra headers
1520
+
1521
+ extra_query: Add additional query parameters to the request
1522
+
1523
+ extra_body: Add additional JSON properties to the request
1524
+
1525
+ timeout: Override the client-level default timeout for this request, in seconds
1526
+ """
1527
+ if not bucket_name:
1528
+ raise ValueError(f"Expected a non-empty value for `bucket_name` but received {bucket_name!r}")
1529
+ extra_headers = {"Accept": "*/*", **(extra_headers or {})}
1530
+ return await self.delete(
1531
+ f"/{bucket_name}",
1532
+ options=make_request_options(
1533
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1534
+ ),
1535
+ cast_to=NoneType,
1536
+ )
1537
+
1538
+ async def delete_object(
1539
+ self,
1540
+ object_name: str,
1541
+ *,
1542
+ bucket_name: str,
1543
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1544
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1545
+ extra_headers: Headers | None = None,
1546
+ extra_query: Query | None = None,
1547
+ extra_body: Body | None = None,
1548
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1549
+ ) -> None:
1550
+ """
1551
+ Delete an object from a given bucket.
1552
+
1553
+ Args:
1554
+ extra_headers: Send extra headers
1555
+
1556
+ extra_query: Add additional query parameters to the request
1557
+
1558
+ extra_body: Add additional JSON properties to the request
1559
+
1560
+ timeout: Override the client-level default timeout for this request, in seconds
1561
+ """
1562
+ if not bucket_name:
1563
+ raise ValueError(f"Expected a non-empty value for `bucket_name` but received {bucket_name!r}")
1564
+ if not object_name:
1565
+ raise ValueError(f"Expected a non-empty value for `object_name` but received {object_name!r}")
1566
+ extra_headers = {"Accept": "*/*", **(extra_headers or {})}
1567
+ return await self.delete(
1568
+ f"/{bucket_name}/{object_name}",
1569
+ options=make_request_options(
1570
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1571
+ ),
1572
+ cast_to=NoneType,
1573
+ )
1574
+
1575
+ async def delete_objects(
1576
+ self,
1577
+ bucket_name: str,
1578
+ *,
1579
+ delete: Literal[True],
1580
+ body: Iterable[client_delete_objects_params.Body],
1581
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1582
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1583
+ extra_headers: Headers | None = None,
1584
+ extra_query: Query | None = None,
1585
+ extra_body: Body | None = None,
1586
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1587
+ ) -> object:
1588
+ """
1589
+ Deletes one or multiple objects from a given bucket.
1590
+
1591
+ Args:
1592
+ extra_headers: Send extra headers
1593
+
1594
+ extra_query: Add additional query parameters to the request
1595
+
1596
+ extra_body: Add additional JSON properties to the request
1597
+
1598
+ timeout: Override the client-level default timeout for this request, in seconds
1599
+ """
1600
+ if not bucket_name:
1601
+ raise ValueError(f"Expected a non-empty value for `bucket_name` but received {bucket_name!r}")
1602
+ extra_headers = {"Accept": "application/xml", **(extra_headers or {})}
1603
+ return await self.post(
1604
+ f"/{bucket_name}",
1605
+ body=await async_maybe_transform(body, Iterable[client_delete_objects_params.Body]),
1606
+ options=make_request_options(
1607
+ extra_headers=extra_headers,
1608
+ extra_query=extra_query,
1609
+ extra_body=extra_body,
1610
+ timeout=timeout,
1611
+ query=await async_maybe_transform(
1612
+ {"delete": delete}, client_delete_objects_params.ClientDeleteObjectsParams
1613
+ ),
1614
+ ),
1615
+ cast_to=object,
1616
+ )
1617
+
1618
+ async def get_object(
1619
+ self,
1620
+ object_name: str,
1621
+ *,
1622
+ bucket_name: str,
1623
+ upload_id: str | Omit = omit,
1624
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1625
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1626
+ extra_headers: Headers | None = None,
1627
+ extra_query: Query | None = None,
1628
+ extra_body: Body | None = None,
1629
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1630
+ ) -> AsyncBinaryAPIResponse:
1631
+ """
1632
+ Retrieves an object from a given bucket.
1633
+
1634
+ Args:
1635
+ extra_headers: Send extra headers
1636
+
1637
+ extra_query: Add additional query parameters to the request
1638
+
1639
+ extra_body: Add additional JSON properties to the request
1640
+
1641
+ timeout: Override the client-level default timeout for this request, in seconds
1642
+ """
1643
+ if not bucket_name:
1644
+ raise ValueError(f"Expected a non-empty value for `bucket_name` but received {bucket_name!r}")
1645
+ if not object_name:
1646
+ raise ValueError(f"Expected a non-empty value for `object_name` but received {object_name!r}")
1647
+ extra_headers = {"Accept": "application/octet-stream", **(extra_headers or {})}
1648
+ return await self.get(
1649
+ f"/{bucket_name}/{object_name}",
1650
+ options=make_request_options(
1651
+ extra_headers=extra_headers,
1652
+ extra_query=extra_query,
1653
+ extra_body=extra_body,
1654
+ timeout=timeout,
1655
+ query=await async_maybe_transform(
1656
+ {"upload_id": upload_id}, client_get_object_params.ClientGetObjectParams
1657
+ ),
1658
+ ),
1659
+ cast_to=AsyncBinaryAPIResponse,
1660
+ )
1661
+
1662
+ async def list_buckets(
1663
+ self,
1664
+ *,
1665
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1666
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1667
+ extra_headers: Headers | None = None,
1668
+ extra_query: Query | None = None,
1669
+ extra_body: Body | None = None,
1670
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1671
+ ) -> ListBucketsResponse:
1672
+ """List all Buckets."""
1673
+ extra_headers = {"Accept": "application/xml", **(extra_headers or {})}
1674
+ return await self.get(
1675
+ "/",
1676
+ options=make_request_options(
1677
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1678
+ ),
1679
+ cast_to=ListBucketsResponse,
1680
+ )
1681
+
1682
+ async def list_objects(
1683
+ self,
1684
+ bucket_name: str,
1685
+ *,
1686
+ list_type: Literal[2] | Omit = omit,
1687
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1688
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1689
+ extra_headers: Headers | None = None,
1690
+ extra_query: Query | None = None,
1691
+ extra_body: Body | None = None,
1692
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1693
+ ) -> ListObjectsResponse:
1694
+ """
1695
+ List all objects contained in a given bucket.
1696
+
1697
+ Args:
1698
+ extra_headers: Send extra headers
1699
+
1700
+ extra_query: Add additional query parameters to the request
1701
+
1702
+ extra_body: Add additional JSON properties to the request
1703
+
1704
+ timeout: Override the client-level default timeout for this request, in seconds
1705
+ """
1706
+ if not bucket_name:
1707
+ raise ValueError(f"Expected a non-empty value for `bucket_name` but received {bucket_name!r}")
1708
+ extra_headers = {"Accept": "application/xml", **(extra_headers or {})}
1709
+ return await self.get(
1710
+ f"/{bucket_name}",
1711
+ options=make_request_options(
1712
+ extra_headers=extra_headers,
1713
+ extra_query=extra_query,
1714
+ extra_body=extra_body,
1715
+ timeout=timeout,
1716
+ query=await async_maybe_transform(
1717
+ {"list_type": list_type}, client_list_objects_params.ClientListObjectsParams
1718
+ ),
1719
+ ),
1720
+ cast_to=ListObjectsResponse,
1721
+ )
1722
+
1723
+ async def put_object(
1724
+ self,
1725
+ object_name: str,
1726
+ *,
1727
+ bucket_name: str,
1728
+ body: FileTypes,
1729
+ part_number: str | Omit = omit,
1730
+ upload_id: str | Omit = omit,
1731
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1732
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1733
+ extra_headers: Headers | None = None,
1734
+ extra_query: Query | None = None,
1735
+ extra_body: Body | None = None,
1736
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1737
+ ) -> None:
1738
+ """
1739
+ Add an object to a bucket.
1740
+
1741
+ Args:
1742
+ extra_headers: Send extra headers
1743
+
1744
+ extra_query: Add additional query parameters to the request
1745
+
1746
+ extra_body: Add additional JSON properties to the request
1747
+
1748
+ timeout: Override the client-level default timeout for this request, in seconds
1749
+ """
1750
+ if not bucket_name:
1751
+ raise ValueError(f"Expected a non-empty value for `bucket_name` but received {bucket_name!r}")
1752
+ if not object_name:
1753
+ raise ValueError(f"Expected a non-empty value for `object_name` but received {object_name!r}")
1754
+ extra_headers = {"Accept": "*/*", **(extra_headers or {})}
1755
+ return await self.put(
1756
+ f"/{bucket_name}/{object_name}",
1757
+ body=await async_maybe_transform(body, client_put_object_params.ClientPutObjectParams),
1758
+ options=make_request_options(
1759
+ extra_headers=extra_headers,
1760
+ extra_query=extra_query,
1761
+ extra_body=extra_body,
1762
+ timeout=timeout,
1763
+ query=await async_maybe_transform(
1764
+ {
1765
+ "part_number": part_number,
1766
+ "upload_id": upload_id,
1767
+ },
1768
+ client_put_object_params.ClientPutObjectParams,
1769
+ ),
1770
+ ),
1771
+ cast_to=NoneType,
1772
+ )
1773
+
1774
+ @override
1775
+ def _make_status_error(
1776
+ self,
1777
+ err_msg: str,
1778
+ *,
1779
+ body: object,
1780
+ response: httpx.Response,
1781
+ ) -> APIStatusError:
1782
+ if response.status_code == 400:
1783
+ return _exceptions.BadRequestError(err_msg, response=response, body=body)
1784
+
1785
+ if response.status_code == 401:
1786
+ return _exceptions.AuthenticationError(err_msg, response=response, body=body)
1787
+
1788
+ if response.status_code == 403:
1789
+ return _exceptions.PermissionDeniedError(err_msg, response=response, body=body)
1790
+
1791
+ if response.status_code == 404:
1792
+ return _exceptions.NotFoundError(err_msg, response=response, body=body)
1793
+
1794
+ if response.status_code == 409:
1795
+ return _exceptions.ConflictError(err_msg, response=response, body=body)
1796
+
1797
+ if response.status_code == 422:
1798
+ return _exceptions.UnprocessableEntityError(err_msg, response=response, body=body)
1799
+
1800
+ if response.status_code == 429:
1801
+ return _exceptions.RateLimitError(err_msg, response=response, body=body)
1802
+
1803
+ if response.status_code >= 500:
1804
+ return _exceptions.InternalServerError(err_msg, response=response, body=body)
1805
+ return APIStatusError(err_msg, response=response, body=body)
1806
+
1807
+
1808
+ class TelnyxWithRawResponse:
1809
+ def __init__(self, client: Telnyx) -> None:
1810
+ self.legacy = legacy.LegacyResourceWithRawResponse(client.legacy)
1811
+ self.oauth = oauth.OAuthResourceWithRawResponse(client.oauth)
1812
+ self.oauth_clients = oauth_clients.OAuthClientsResourceWithRawResponse(client.oauth_clients)
1813
+ self.oauth_grants = oauth_grants.OAuthGrantsResourceWithRawResponse(client.oauth_grants)
1814
+ self.access_ip_address = access_ip_address.AccessIPAddressResourceWithRawResponse(client.access_ip_address)
1815
+ self.access_ip_ranges = access_ip_ranges.AccessIPRangesResourceWithRawResponse(client.access_ip_ranges)
1816
+ self.actions = actions.ActionsResourceWithRawResponse(client.actions)
1817
+ self.addresses = addresses.AddressesResourceWithRawResponse(client.addresses)
1818
+ self.advanced_orders = advanced_orders.AdvancedOrdersResourceWithRawResponse(client.advanced_orders)
1819
+ self.ai = ai.AIResourceWithRawResponse(client.ai)
1820
+ self.audit_events = audit_events.AuditEventsResourceWithRawResponse(client.audit_events)
1821
+ self.authentication_providers = authentication_providers.AuthenticationProvidersResourceWithRawResponse(
1822
+ client.authentication_providers
1823
+ )
1824
+ self.available_phone_number_blocks = (
1825
+ available_phone_number_blocks.AvailablePhoneNumberBlocksResourceWithRawResponse(
1826
+ client.available_phone_number_blocks
1827
+ )
1828
+ )
1829
+ self.available_phone_numbers = available_phone_numbers.AvailablePhoneNumbersResourceWithRawResponse(
1830
+ client.available_phone_numbers
1831
+ )
1832
+ self.balance = balance.BalanceResourceWithRawResponse(client.balance)
1833
+ self.billing_groups = billing_groups.BillingGroupsResourceWithRawResponse(client.billing_groups)
1834
+ self.brand = brand.BrandResourceWithRawResponse(client.brand)
1835
+ self.bulk_sim_card_actions = bulk_sim_card_actions.BulkSimCardActionsResourceWithRawResponse(
1836
+ client.bulk_sim_card_actions
1837
+ )
1838
+ self.bundle_pricing = bundle_pricing.BundlePricingResourceWithRawResponse(client.bundle_pricing)
1839
+ self.call_control_applications = call_control_applications.CallControlApplicationsResourceWithRawResponse(
1840
+ client.call_control_applications
1841
+ )
1842
+ self.call_events = call_events.CallEventsResourceWithRawResponse(client.call_events)
1843
+ self.calls = calls.CallsResourceWithRawResponse(client.calls)
1844
+ self.campaign = campaign.CampaignResourceWithRawResponse(client.campaign)
1845
+ self.campaign_builder = campaign_builder.CampaignBuilderResourceWithRawResponse(client.campaign_builder)
1846
+ self.channel_zones = channel_zones.ChannelZonesResourceWithRawResponse(client.channel_zones)
1847
+ self.charges_breakdown = charges_breakdown.ChargesBreakdownResourceWithRawResponse(client.charges_breakdown)
1848
+ self.charges_summary = charges_summary.ChargesSummaryResourceWithRawResponse(client.charges_summary)
1849
+ self.comments = comments.CommentsResourceWithRawResponse(client.comments)
1850
+ self.conferences = conferences.ConferencesResourceWithRawResponse(client.conferences)
1851
+ self.connections = connections.ConnectionsResourceWithRawResponse(client.connections)
1852
+ self.country_coverage = country_coverage.CountryCoverageResourceWithRawResponse(client.country_coverage)
1853
+ self.credential_connections = credential_connections.CredentialConnectionsResourceWithRawResponse(
1854
+ client.credential_connections
1855
+ )
1856
+ self.custom_storage_credentials = custom_storage_credentials.CustomStorageCredentialsResourceWithRawResponse(
1857
+ client.custom_storage_credentials
1858
+ )
1859
+ self.customer_service_records = customer_service_records.CustomerServiceRecordsResourceWithRawResponse(
1860
+ client.customer_service_records
1861
+ )
1862
+ self.detail_records = detail_records.DetailRecordsResourceWithRawResponse(client.detail_records)
1863
+ self.dialogflow_connections = dialogflow_connections.DialogflowConnectionsResourceWithRawResponse(
1864
+ client.dialogflow_connections
1865
+ )
1866
+ self.document_links = document_links.DocumentLinksResourceWithRawResponse(client.document_links)
1867
+ self.documents = documents.DocumentsResourceWithRawResponse(client.documents)
1868
+ self.dynamic_emergency_addresses = dynamic_emergency_addresses.DynamicEmergencyAddressesResourceWithRawResponse(
1869
+ client.dynamic_emergency_addresses
1870
+ )
1871
+ self.dynamic_emergency_endpoints = dynamic_emergency_endpoints.DynamicEmergencyEndpointsResourceWithRawResponse(
1872
+ client.dynamic_emergency_endpoints
1873
+ )
1874
+ self.enum = enum.EnumResourceWithRawResponse(client.enum)
1875
+ self.external_connections = external_connections.ExternalConnectionsResourceWithRawResponse(
1876
+ client.external_connections
1877
+ )
1878
+ self.fax_applications = fax_applications.FaxApplicationsResourceWithRawResponse(client.fax_applications)
1879
+ self.faxes = faxes.FaxesResourceWithRawResponse(client.faxes)
1880
+ self.fqdn_connections = fqdn_connections.FqdnConnectionsResourceWithRawResponse(client.fqdn_connections)
1881
+ self.fqdns = fqdns.FqdnsResourceWithRawResponse(client.fqdns)
1882
+ self.global_ip_allowed_ports = global_ip_allowed_ports.GlobalIPAllowedPortsResourceWithRawResponse(
1883
+ client.global_ip_allowed_ports
1884
+ )
1885
+ self.global_ip_assignment_health = global_ip_assignment_health.GlobalIPAssignmentHealthResourceWithRawResponse(
1886
+ client.global_ip_assignment_health
1887
+ )
1888
+ self.global_ip_assignments = global_ip_assignments.GlobalIPAssignmentsResourceWithRawResponse(
1889
+ client.global_ip_assignments
1890
+ )
1891
+ self.global_ip_assignments_usage = global_ip_assignments_usage.GlobalIPAssignmentsUsageResourceWithRawResponse(
1892
+ client.global_ip_assignments_usage
1893
+ )
1894
+ self.global_ip_health_check_types = (
1895
+ global_ip_health_check_types.GlobalIPHealthCheckTypesResourceWithRawResponse(
1896
+ client.global_ip_health_check_types
1897
+ )
1898
+ )
1899
+ self.global_ip_health_checks = global_ip_health_checks.GlobalIPHealthChecksResourceWithRawResponse(
1900
+ client.global_ip_health_checks
1901
+ )
1902
+ self.global_ip_latency = global_ip_latency.GlobalIPLatencyResourceWithRawResponse(client.global_ip_latency)
1903
+ self.global_ip_protocols = global_ip_protocols.GlobalIPProtocolsResourceWithRawResponse(
1904
+ client.global_ip_protocols
1905
+ )
1906
+ self.global_ip_usage = global_ip_usage.GlobalIPUsageResourceWithRawResponse(client.global_ip_usage)
1907
+ self.global_ips = global_ips.GlobalIPsResourceWithRawResponse(client.global_ips)
1908
+ self.inbound_channels = inbound_channels.InboundChannelsResourceWithRawResponse(client.inbound_channels)
1909
+ self.integration_secrets = integration_secrets.IntegrationSecretsResourceWithRawResponse(
1910
+ client.integration_secrets
1911
+ )
1912
+ self.inventory_coverage = inventory_coverage.InventoryCoverageResourceWithRawResponse(client.inventory_coverage)
1913
+ self.invoices = invoices.InvoicesResourceWithRawResponse(client.invoices)
1914
+ self.ip_connections = ip_connections.IPConnectionsResourceWithRawResponse(client.ip_connections)
1915
+ self.ips = ips.IPsResourceWithRawResponse(client.ips)
1916
+ self.ledger_billing_group_reports = (
1917
+ ledger_billing_group_reports.LedgerBillingGroupReportsResourceWithRawResponse(
1918
+ client.ledger_billing_group_reports
1919
+ )
1920
+ )
1921
+ self.list = list.ListResourceWithRawResponse(client.list)
1922
+ self.managed_accounts = managed_accounts.ManagedAccountsResourceWithRawResponse(client.managed_accounts)
1923
+ self.media = media.MediaResourceWithRawResponse(client.media)
1924
+ self.messages = messages.MessagesResourceWithRawResponse(client.messages)
1925
+ self.messaging = messaging.MessagingResourceWithRawResponse(client.messaging)
1926
+ self.messaging_hosted_number_orders = (
1927
+ messaging_hosted_number_orders.MessagingHostedNumberOrdersResourceWithRawResponse(
1928
+ client.messaging_hosted_number_orders
1929
+ )
1930
+ )
1931
+ self.messaging_hosted_numbers = messaging_hosted_numbers.MessagingHostedNumbersResourceWithRawResponse(
1932
+ client.messaging_hosted_numbers
1933
+ )
1934
+ self.messaging_numbers_bulk_updates = (
1935
+ messaging_numbers_bulk_updates.MessagingNumbersBulkUpdatesResourceWithRawResponse(
1936
+ client.messaging_numbers_bulk_updates
1937
+ )
1938
+ )
1939
+ self.messaging_optouts = messaging_optouts.MessagingOptoutsResourceWithRawResponse(client.messaging_optouts)
1940
+ self.messaging_profiles = messaging_profiles.MessagingProfilesResourceWithRawResponse(client.messaging_profiles)
1941
+ self.messaging_tollfree = messaging_tollfree.MessagingTollfreeResourceWithRawResponse(client.messaging_tollfree)
1942
+ self.messaging_url_domains = messaging_url_domains.MessagingURLDomainsResourceWithRawResponse(
1943
+ client.messaging_url_domains
1944
+ )
1945
+ self.messsages = messsages.MesssagesResourceWithRawResponse(client.messsages)
1946
+ self.mobile_network_operators = mobile_network_operators.MobileNetworkOperatorsResourceWithRawResponse(
1947
+ client.mobile_network_operators
1948
+ )
1949
+ self.mobile_push_credentials = mobile_push_credentials.MobilePushCredentialsResourceWithRawResponse(
1950
+ client.mobile_push_credentials
1951
+ )
1952
+ self.network_coverage = network_coverage.NetworkCoverageResourceWithRawResponse(client.network_coverage)
1953
+ self.networks = networks.NetworksResourceWithRawResponse(client.networks)
1954
+ self.notification_channels = notification_channels.NotificationChannelsResourceWithRawResponse(
1955
+ client.notification_channels
1956
+ )
1957
+ self.notification_event_conditions = (
1958
+ notification_event_conditions.NotificationEventConditionsResourceWithRawResponse(
1959
+ client.notification_event_conditions
1960
+ )
1961
+ )
1962
+ self.notification_events = notification_events.NotificationEventsResourceWithRawResponse(
1963
+ client.notification_events
1964
+ )
1965
+ self.notification_profiles = notification_profiles.NotificationProfilesResourceWithRawResponse(
1966
+ client.notification_profiles
1967
+ )
1968
+ self.notification_settings = notification_settings.NotificationSettingsResourceWithRawResponse(
1969
+ client.notification_settings
1970
+ )
1971
+ self.number_block_orders = number_block_orders.NumberBlockOrdersResourceWithRawResponse(
1972
+ client.number_block_orders
1973
+ )
1974
+ self.number_lookup = number_lookup.NumberLookupResourceWithRawResponse(client.number_lookup)
1975
+ self.number_order_phone_numbers = number_order_phone_numbers.NumberOrderPhoneNumbersResourceWithRawResponse(
1976
+ client.number_order_phone_numbers
1977
+ )
1978
+ self.number_orders = number_orders.NumberOrdersResourceWithRawResponse(client.number_orders)
1979
+ self.number_reservations = number_reservations.NumberReservationsResourceWithRawResponse(
1980
+ client.number_reservations
1981
+ )
1982
+ self.numbers_features = numbers_features.NumbersFeaturesResourceWithRawResponse(client.numbers_features)
1983
+ self.operator_connect = operator_connect.OperatorConnectResourceWithRawResponse(client.operator_connect)
1984
+ self.ota_updates = ota_updates.OtaUpdatesResourceWithRawResponse(client.ota_updates)
1985
+ self.outbound_voice_profiles = outbound_voice_profiles.OutboundVoiceProfilesResourceWithRawResponse(
1986
+ client.outbound_voice_profiles
1987
+ )
1988
+ self.payment = payment.PaymentResourceWithRawResponse(client.payment)
1989
+ self.phone_number_assignment_by_profile = (
1990
+ phone_number_assignment_by_profile.PhoneNumberAssignmentByProfileResourceWithRawResponse(
1991
+ client.phone_number_assignment_by_profile
1992
+ )
1993
+ )
1994
+ self.phone_number_blocks = phone_number_blocks.PhoneNumberBlocksResourceWithRawResponse(
1995
+ client.phone_number_blocks
1996
+ )
1997
+ self.phone_number_campaigns = phone_number_campaigns.PhoneNumberCampaignsResourceWithRawResponse(
1998
+ client.phone_number_campaigns
1999
+ )
2000
+ self.phone_numbers = phone_numbers.PhoneNumbersResourceWithRawResponse(client.phone_numbers)
2001
+ self.phone_numbers_regulatory_requirements = (
2002
+ phone_numbers_regulatory_requirements.PhoneNumbersRegulatoryRequirementsResourceWithRawResponse(
2003
+ client.phone_numbers_regulatory_requirements
2004
+ )
2005
+ )
2006
+ self.portability_checks = portability_checks.PortabilityChecksResourceWithRawResponse(client.portability_checks)
2007
+ self.porting = porting.PortingResourceWithRawResponse(client.porting)
2008
+ self.porting_orders = porting_orders.PortingOrdersResourceWithRawResponse(client.porting_orders)
2009
+ self.porting_phone_numbers = porting_phone_numbers.PortingPhoneNumbersResourceWithRawResponse(
2010
+ client.porting_phone_numbers
2011
+ )
2012
+ self.portouts = portouts.PortoutsResourceWithRawResponse(client.portouts)
2013
+ self.private_wireless_gateways = private_wireless_gateways.PrivateWirelessGatewaysResourceWithRawResponse(
2014
+ client.private_wireless_gateways
2015
+ )
2016
+ self.public_internet_gateways = public_internet_gateways.PublicInternetGatewaysResourceWithRawResponse(
2017
+ client.public_internet_gateways
2018
+ )
2019
+ self.queues = queues.QueuesResourceWithRawResponse(client.queues)
2020
+ self.recording_transcriptions = recording_transcriptions.RecordingTranscriptionsResourceWithRawResponse(
2021
+ client.recording_transcriptions
2022
+ )
2023
+ self.recordings = recordings.RecordingsResourceWithRawResponse(client.recordings)
2024
+ self.regions = regions.RegionsResourceWithRawResponse(client.regions)
2025
+ self.regulatory_requirements = regulatory_requirements.RegulatoryRequirementsResourceWithRawResponse(
2026
+ client.regulatory_requirements
2027
+ )
2028
+ self.reports = reports.ReportsResourceWithRawResponse(client.reports)
2029
+ self.requirement_groups = requirement_groups.RequirementGroupsResourceWithRawResponse(client.requirement_groups)
2030
+ self.requirement_types = requirement_types.RequirementTypesResourceWithRawResponse(client.requirement_types)
2031
+ self.requirements = requirements.RequirementsResourceWithRawResponse(client.requirements)
2032
+ self.room_compositions = room_compositions.RoomCompositionsResourceWithRawResponse(client.room_compositions)
2033
+ self.room_participants = room_participants.RoomParticipantsResourceWithRawResponse(client.room_participants)
2034
+ self.room_recordings = room_recordings.RoomRecordingsResourceWithRawResponse(client.room_recordings)
2035
+ self.rooms = rooms.RoomsResourceWithRawResponse(client.rooms)
2036
+ self.seti = seti.SetiResourceWithRawResponse(client.seti)
2037
+ self.short_codes = short_codes.ShortCodesResourceWithRawResponse(client.short_codes)
2038
+ self.sim_card_data_usage_notifications = (
2039
+ sim_card_data_usage_notifications.SimCardDataUsageNotificationsResourceWithRawResponse(
2040
+ client.sim_card_data_usage_notifications
2041
+ )
2042
+ )
2043
+ self.sim_card_groups = sim_card_groups.SimCardGroupsResourceWithRawResponse(client.sim_card_groups)
2044
+ self.sim_card_order_preview = sim_card_order_preview.SimCardOrderPreviewResourceWithRawResponse(
2045
+ client.sim_card_order_preview
2046
+ )
2047
+ self.sim_card_orders = sim_card_orders.SimCardOrdersResourceWithRawResponse(client.sim_card_orders)
2048
+ self.sim_cards = sim_cards.SimCardsResourceWithRawResponse(client.sim_cards)
2049
+ self.siprec_connectors = siprec_connectors.SiprecConnectorsResourceWithRawResponse(client.siprec_connectors)
2050
+ self.storage = storage.StorageResourceWithRawResponse(client.storage)
2051
+ self.sub_number_orders = sub_number_orders.SubNumberOrdersResourceWithRawResponse(client.sub_number_orders)
2052
+ self.sub_number_orders_report = sub_number_orders_report.SubNumberOrdersReportResourceWithRawResponse(
2053
+ client.sub_number_orders_report
2054
+ )
2055
+ self.telephony_credentials = telephony_credentials.TelephonyCredentialsResourceWithRawResponse(
2056
+ client.telephony_credentials
2057
+ )
2058
+ self.texml = texml.TexmlResourceWithRawResponse(client.texml)
2059
+ self.texml_applications = texml_applications.TexmlApplicationsResourceWithRawResponse(client.texml_applications)
2060
+ self.text_to_speech = text_to_speech.TextToSpeechResourceWithRawResponse(client.text_to_speech)
2061
+ self.usage_reports = usage_reports.UsageReportsResourceWithRawResponse(client.usage_reports)
2062
+ self.user_addresses = user_addresses.UserAddressesResourceWithRawResponse(client.user_addresses)
2063
+ self.user_tags = user_tags.UserTagsResourceWithRawResponse(client.user_tags)
2064
+ self.verifications = verifications.VerificationsResourceWithRawResponse(client.verifications)
2065
+ self.verified_numbers = verified_numbers.VerifiedNumbersResourceWithRawResponse(client.verified_numbers)
2066
+ self.verify_profiles = verify_profiles.VerifyProfilesResourceWithRawResponse(client.verify_profiles)
2067
+ self.virtual_cross_connects = virtual_cross_connects.VirtualCrossConnectsResourceWithRawResponse(
2068
+ client.virtual_cross_connects
2069
+ )
2070
+ self.virtual_cross_connects_coverage = (
2071
+ virtual_cross_connects_coverage.VirtualCrossConnectsCoverageResourceWithRawResponse(
2072
+ client.virtual_cross_connects_coverage
2073
+ )
2074
+ )
2075
+ self.webhook_deliveries = webhook_deliveries.WebhookDeliveriesResourceWithRawResponse(client.webhook_deliveries)
2076
+ self.wireguard_interfaces = wireguard_interfaces.WireguardInterfacesResourceWithRawResponse(
2077
+ client.wireguard_interfaces
2078
+ )
2079
+ self.wireguard_peers = wireguard_peers.WireguardPeersResourceWithRawResponse(client.wireguard_peers)
2080
+ self.wireless = wireless.WirelessResourceWithRawResponse(client.wireless)
2081
+ self.wireless_blocklist_values = wireless_blocklist_values.WirelessBlocklistValuesResourceWithRawResponse(
2082
+ client.wireless_blocklist_values
2083
+ )
2084
+ self.wireless_blocklists = wireless_blocklists.WirelessBlocklistsResourceWithRawResponse(
2085
+ client.wireless_blocklists
2086
+ )
2087
+ self.partner_campaigns = partner_campaigns.PartnerCampaignsResourceWithRawResponse(client.partner_campaigns)
2088
+ self.well_known = well_known.WellKnownResourceWithRawResponse(client.well_known)
2089
+
2090
+ self.create_bucket = to_raw_response_wrapper(
2091
+ client.create_bucket,
2092
+ )
2093
+ self.delete_bucket = to_raw_response_wrapper(
2094
+ client.delete_bucket,
2095
+ )
2096
+ self.delete_object = to_raw_response_wrapper(
2097
+ client.delete_object,
2098
+ )
2099
+ self.delete_objects = to_raw_response_wrapper(
2100
+ client.delete_objects,
2101
+ )
2102
+ self.get_object = to_custom_raw_response_wrapper(
2103
+ client.get_object,
2104
+ BinaryAPIResponse,
2105
+ )
2106
+ self.list_buckets = to_raw_response_wrapper(
2107
+ client.list_buckets,
2108
+ )
2109
+ self.list_objects = to_raw_response_wrapper(
2110
+ client.list_objects,
2111
+ )
2112
+ self.put_object = to_raw_response_wrapper(
2113
+ client.put_object,
2114
+ )
2115
+
2116
+
2117
+ class AsyncTelnyxWithRawResponse:
2118
+ def __init__(self, client: AsyncTelnyx) -> None:
2119
+ self.legacy = legacy.AsyncLegacyResourceWithRawResponse(client.legacy)
2120
+ self.oauth = oauth.AsyncOAuthResourceWithRawResponse(client.oauth)
2121
+ self.oauth_clients = oauth_clients.AsyncOAuthClientsResourceWithRawResponse(client.oauth_clients)
2122
+ self.oauth_grants = oauth_grants.AsyncOAuthGrantsResourceWithRawResponse(client.oauth_grants)
2123
+ self.access_ip_address = access_ip_address.AsyncAccessIPAddressResourceWithRawResponse(client.access_ip_address)
2124
+ self.access_ip_ranges = access_ip_ranges.AsyncAccessIPRangesResourceWithRawResponse(client.access_ip_ranges)
2125
+ self.actions = actions.AsyncActionsResourceWithRawResponse(client.actions)
2126
+ self.addresses = addresses.AsyncAddressesResourceWithRawResponse(client.addresses)
2127
+ self.advanced_orders = advanced_orders.AsyncAdvancedOrdersResourceWithRawResponse(client.advanced_orders)
2128
+ self.ai = ai.AsyncAIResourceWithRawResponse(client.ai)
2129
+ self.audit_events = audit_events.AsyncAuditEventsResourceWithRawResponse(client.audit_events)
2130
+ self.authentication_providers = authentication_providers.AsyncAuthenticationProvidersResourceWithRawResponse(
2131
+ client.authentication_providers
2132
+ )
2133
+ self.available_phone_number_blocks = (
2134
+ available_phone_number_blocks.AsyncAvailablePhoneNumberBlocksResourceWithRawResponse(
2135
+ client.available_phone_number_blocks
2136
+ )
2137
+ )
2138
+ self.available_phone_numbers = available_phone_numbers.AsyncAvailablePhoneNumbersResourceWithRawResponse(
2139
+ client.available_phone_numbers
2140
+ )
2141
+ self.balance = balance.AsyncBalanceResourceWithRawResponse(client.balance)
2142
+ self.billing_groups = billing_groups.AsyncBillingGroupsResourceWithRawResponse(client.billing_groups)
2143
+ self.brand = brand.AsyncBrandResourceWithRawResponse(client.brand)
2144
+ self.bulk_sim_card_actions = bulk_sim_card_actions.AsyncBulkSimCardActionsResourceWithRawResponse(
2145
+ client.bulk_sim_card_actions
2146
+ )
2147
+ self.bundle_pricing = bundle_pricing.AsyncBundlePricingResourceWithRawResponse(client.bundle_pricing)
2148
+ self.call_control_applications = call_control_applications.AsyncCallControlApplicationsResourceWithRawResponse(
2149
+ client.call_control_applications
2150
+ )
2151
+ self.call_events = call_events.AsyncCallEventsResourceWithRawResponse(client.call_events)
2152
+ self.calls = calls.AsyncCallsResourceWithRawResponse(client.calls)
2153
+ self.campaign = campaign.AsyncCampaignResourceWithRawResponse(client.campaign)
2154
+ self.campaign_builder = campaign_builder.AsyncCampaignBuilderResourceWithRawResponse(client.campaign_builder)
2155
+ self.channel_zones = channel_zones.AsyncChannelZonesResourceWithRawResponse(client.channel_zones)
2156
+ self.charges_breakdown = charges_breakdown.AsyncChargesBreakdownResourceWithRawResponse(
2157
+ client.charges_breakdown
2158
+ )
2159
+ self.charges_summary = charges_summary.AsyncChargesSummaryResourceWithRawResponse(client.charges_summary)
2160
+ self.comments = comments.AsyncCommentsResourceWithRawResponse(client.comments)
2161
+ self.conferences = conferences.AsyncConferencesResourceWithRawResponse(client.conferences)
2162
+ self.connections = connections.AsyncConnectionsResourceWithRawResponse(client.connections)
2163
+ self.country_coverage = country_coverage.AsyncCountryCoverageResourceWithRawResponse(client.country_coverage)
2164
+ self.credential_connections = credential_connections.AsyncCredentialConnectionsResourceWithRawResponse(
2165
+ client.credential_connections
2166
+ )
2167
+ self.custom_storage_credentials = (
2168
+ custom_storage_credentials.AsyncCustomStorageCredentialsResourceWithRawResponse(
2169
+ client.custom_storage_credentials
2170
+ )
2171
+ )
2172
+ self.customer_service_records = customer_service_records.AsyncCustomerServiceRecordsResourceWithRawResponse(
2173
+ client.customer_service_records
2174
+ )
2175
+ self.detail_records = detail_records.AsyncDetailRecordsResourceWithRawResponse(client.detail_records)
2176
+ self.dialogflow_connections = dialogflow_connections.AsyncDialogflowConnectionsResourceWithRawResponse(
2177
+ client.dialogflow_connections
2178
+ )
2179
+ self.document_links = document_links.AsyncDocumentLinksResourceWithRawResponse(client.document_links)
2180
+ self.documents = documents.AsyncDocumentsResourceWithRawResponse(client.documents)
2181
+ self.dynamic_emergency_addresses = (
2182
+ dynamic_emergency_addresses.AsyncDynamicEmergencyAddressesResourceWithRawResponse(
2183
+ client.dynamic_emergency_addresses
2184
+ )
2185
+ )
2186
+ self.dynamic_emergency_endpoints = (
2187
+ dynamic_emergency_endpoints.AsyncDynamicEmergencyEndpointsResourceWithRawResponse(
2188
+ client.dynamic_emergency_endpoints
2189
+ )
2190
+ )
2191
+ self.enum = enum.AsyncEnumResourceWithRawResponse(client.enum)
2192
+ self.external_connections = external_connections.AsyncExternalConnectionsResourceWithRawResponse(
2193
+ client.external_connections
2194
+ )
2195
+ self.fax_applications = fax_applications.AsyncFaxApplicationsResourceWithRawResponse(client.fax_applications)
2196
+ self.faxes = faxes.AsyncFaxesResourceWithRawResponse(client.faxes)
2197
+ self.fqdn_connections = fqdn_connections.AsyncFqdnConnectionsResourceWithRawResponse(client.fqdn_connections)
2198
+ self.fqdns = fqdns.AsyncFqdnsResourceWithRawResponse(client.fqdns)
2199
+ self.global_ip_allowed_ports = global_ip_allowed_ports.AsyncGlobalIPAllowedPortsResourceWithRawResponse(
2200
+ client.global_ip_allowed_ports
2201
+ )
2202
+ self.global_ip_assignment_health = (
2203
+ global_ip_assignment_health.AsyncGlobalIPAssignmentHealthResourceWithRawResponse(
2204
+ client.global_ip_assignment_health
2205
+ )
2206
+ )
2207
+ self.global_ip_assignments = global_ip_assignments.AsyncGlobalIPAssignmentsResourceWithRawResponse(
2208
+ client.global_ip_assignments
2209
+ )
2210
+ self.global_ip_assignments_usage = (
2211
+ global_ip_assignments_usage.AsyncGlobalIPAssignmentsUsageResourceWithRawResponse(
2212
+ client.global_ip_assignments_usage
2213
+ )
2214
+ )
2215
+ self.global_ip_health_check_types = (
2216
+ global_ip_health_check_types.AsyncGlobalIPHealthCheckTypesResourceWithRawResponse(
2217
+ client.global_ip_health_check_types
2218
+ )
2219
+ )
2220
+ self.global_ip_health_checks = global_ip_health_checks.AsyncGlobalIPHealthChecksResourceWithRawResponse(
2221
+ client.global_ip_health_checks
2222
+ )
2223
+ self.global_ip_latency = global_ip_latency.AsyncGlobalIPLatencyResourceWithRawResponse(client.global_ip_latency)
2224
+ self.global_ip_protocols = global_ip_protocols.AsyncGlobalIPProtocolsResourceWithRawResponse(
2225
+ client.global_ip_protocols
2226
+ )
2227
+ self.global_ip_usage = global_ip_usage.AsyncGlobalIPUsageResourceWithRawResponse(client.global_ip_usage)
2228
+ self.global_ips = global_ips.AsyncGlobalIPsResourceWithRawResponse(client.global_ips)
2229
+ self.inbound_channels = inbound_channels.AsyncInboundChannelsResourceWithRawResponse(client.inbound_channels)
2230
+ self.integration_secrets = integration_secrets.AsyncIntegrationSecretsResourceWithRawResponse(
2231
+ client.integration_secrets
2232
+ )
2233
+ self.inventory_coverage = inventory_coverage.AsyncInventoryCoverageResourceWithRawResponse(
2234
+ client.inventory_coverage
2235
+ )
2236
+ self.invoices = invoices.AsyncInvoicesResourceWithRawResponse(client.invoices)
2237
+ self.ip_connections = ip_connections.AsyncIPConnectionsResourceWithRawResponse(client.ip_connections)
2238
+ self.ips = ips.AsyncIPsResourceWithRawResponse(client.ips)
2239
+ self.ledger_billing_group_reports = (
2240
+ ledger_billing_group_reports.AsyncLedgerBillingGroupReportsResourceWithRawResponse(
2241
+ client.ledger_billing_group_reports
2242
+ )
2243
+ )
2244
+ self.list = list.AsyncListResourceWithRawResponse(client.list)
2245
+ self.managed_accounts = managed_accounts.AsyncManagedAccountsResourceWithRawResponse(client.managed_accounts)
2246
+ self.media = media.AsyncMediaResourceWithRawResponse(client.media)
2247
+ self.messages = messages.AsyncMessagesResourceWithRawResponse(client.messages)
2248
+ self.messaging = messaging.AsyncMessagingResourceWithRawResponse(client.messaging)
2249
+ self.messaging_hosted_number_orders = (
2250
+ messaging_hosted_number_orders.AsyncMessagingHostedNumberOrdersResourceWithRawResponse(
2251
+ client.messaging_hosted_number_orders
2252
+ )
2253
+ )
2254
+ self.messaging_hosted_numbers = messaging_hosted_numbers.AsyncMessagingHostedNumbersResourceWithRawResponse(
2255
+ client.messaging_hosted_numbers
2256
+ )
2257
+ self.messaging_numbers_bulk_updates = (
2258
+ messaging_numbers_bulk_updates.AsyncMessagingNumbersBulkUpdatesResourceWithRawResponse(
2259
+ client.messaging_numbers_bulk_updates
2260
+ )
2261
+ )
2262
+ self.messaging_optouts = messaging_optouts.AsyncMessagingOptoutsResourceWithRawResponse(
2263
+ client.messaging_optouts
2264
+ )
2265
+ self.messaging_profiles = messaging_profiles.AsyncMessagingProfilesResourceWithRawResponse(
2266
+ client.messaging_profiles
2267
+ )
2268
+ self.messaging_tollfree = messaging_tollfree.AsyncMessagingTollfreeResourceWithRawResponse(
2269
+ client.messaging_tollfree
2270
+ )
2271
+ self.messaging_url_domains = messaging_url_domains.AsyncMessagingURLDomainsResourceWithRawResponse(
2272
+ client.messaging_url_domains
2273
+ )
2274
+ self.messsages = messsages.AsyncMesssagesResourceWithRawResponse(client.messsages)
2275
+ self.mobile_network_operators = mobile_network_operators.AsyncMobileNetworkOperatorsResourceWithRawResponse(
2276
+ client.mobile_network_operators
2277
+ )
2278
+ self.mobile_push_credentials = mobile_push_credentials.AsyncMobilePushCredentialsResourceWithRawResponse(
2279
+ client.mobile_push_credentials
2280
+ )
2281
+ self.network_coverage = network_coverage.AsyncNetworkCoverageResourceWithRawResponse(client.network_coverage)
2282
+ self.networks = networks.AsyncNetworksResourceWithRawResponse(client.networks)
2283
+ self.notification_channels = notification_channels.AsyncNotificationChannelsResourceWithRawResponse(
2284
+ client.notification_channels
2285
+ )
2286
+ self.notification_event_conditions = (
2287
+ notification_event_conditions.AsyncNotificationEventConditionsResourceWithRawResponse(
2288
+ client.notification_event_conditions
2289
+ )
2290
+ )
2291
+ self.notification_events = notification_events.AsyncNotificationEventsResourceWithRawResponse(
2292
+ client.notification_events
2293
+ )
2294
+ self.notification_profiles = notification_profiles.AsyncNotificationProfilesResourceWithRawResponse(
2295
+ client.notification_profiles
2296
+ )
2297
+ self.notification_settings = notification_settings.AsyncNotificationSettingsResourceWithRawResponse(
2298
+ client.notification_settings
2299
+ )
2300
+ self.number_block_orders = number_block_orders.AsyncNumberBlockOrdersResourceWithRawResponse(
2301
+ client.number_block_orders
2302
+ )
2303
+ self.number_lookup = number_lookup.AsyncNumberLookupResourceWithRawResponse(client.number_lookup)
2304
+ self.number_order_phone_numbers = (
2305
+ number_order_phone_numbers.AsyncNumberOrderPhoneNumbersResourceWithRawResponse(
2306
+ client.number_order_phone_numbers
2307
+ )
2308
+ )
2309
+ self.number_orders = number_orders.AsyncNumberOrdersResourceWithRawResponse(client.number_orders)
2310
+ self.number_reservations = number_reservations.AsyncNumberReservationsResourceWithRawResponse(
2311
+ client.number_reservations
2312
+ )
2313
+ self.numbers_features = numbers_features.AsyncNumbersFeaturesResourceWithRawResponse(client.numbers_features)
2314
+ self.operator_connect = operator_connect.AsyncOperatorConnectResourceWithRawResponse(client.operator_connect)
2315
+ self.ota_updates = ota_updates.AsyncOtaUpdatesResourceWithRawResponse(client.ota_updates)
2316
+ self.outbound_voice_profiles = outbound_voice_profiles.AsyncOutboundVoiceProfilesResourceWithRawResponse(
2317
+ client.outbound_voice_profiles
2318
+ )
2319
+ self.payment = payment.AsyncPaymentResourceWithRawResponse(client.payment)
2320
+ self.phone_number_assignment_by_profile = (
2321
+ phone_number_assignment_by_profile.AsyncPhoneNumberAssignmentByProfileResourceWithRawResponse(
2322
+ client.phone_number_assignment_by_profile
2323
+ )
2324
+ )
2325
+ self.phone_number_blocks = phone_number_blocks.AsyncPhoneNumberBlocksResourceWithRawResponse(
2326
+ client.phone_number_blocks
2327
+ )
2328
+ self.phone_number_campaigns = phone_number_campaigns.AsyncPhoneNumberCampaignsResourceWithRawResponse(
2329
+ client.phone_number_campaigns
2330
+ )
2331
+ self.phone_numbers = phone_numbers.AsyncPhoneNumbersResourceWithRawResponse(client.phone_numbers)
2332
+ self.phone_numbers_regulatory_requirements = (
2333
+ phone_numbers_regulatory_requirements.AsyncPhoneNumbersRegulatoryRequirementsResourceWithRawResponse(
2334
+ client.phone_numbers_regulatory_requirements
2335
+ )
2336
+ )
2337
+ self.portability_checks = portability_checks.AsyncPortabilityChecksResourceWithRawResponse(
2338
+ client.portability_checks
2339
+ )
2340
+ self.porting = porting.AsyncPortingResourceWithRawResponse(client.porting)
2341
+ self.porting_orders = porting_orders.AsyncPortingOrdersResourceWithRawResponse(client.porting_orders)
2342
+ self.porting_phone_numbers = porting_phone_numbers.AsyncPortingPhoneNumbersResourceWithRawResponse(
2343
+ client.porting_phone_numbers
2344
+ )
2345
+ self.portouts = portouts.AsyncPortoutsResourceWithRawResponse(client.portouts)
2346
+ self.private_wireless_gateways = private_wireless_gateways.AsyncPrivateWirelessGatewaysResourceWithRawResponse(
2347
+ client.private_wireless_gateways
2348
+ )
2349
+ self.public_internet_gateways = public_internet_gateways.AsyncPublicInternetGatewaysResourceWithRawResponse(
2350
+ client.public_internet_gateways
2351
+ )
2352
+ self.queues = queues.AsyncQueuesResourceWithRawResponse(client.queues)
2353
+ self.recording_transcriptions = recording_transcriptions.AsyncRecordingTranscriptionsResourceWithRawResponse(
2354
+ client.recording_transcriptions
2355
+ )
2356
+ self.recordings = recordings.AsyncRecordingsResourceWithRawResponse(client.recordings)
2357
+ self.regions = regions.AsyncRegionsResourceWithRawResponse(client.regions)
2358
+ self.regulatory_requirements = regulatory_requirements.AsyncRegulatoryRequirementsResourceWithRawResponse(
2359
+ client.regulatory_requirements
2360
+ )
2361
+ self.reports = reports.AsyncReportsResourceWithRawResponse(client.reports)
2362
+ self.requirement_groups = requirement_groups.AsyncRequirementGroupsResourceWithRawResponse(
2363
+ client.requirement_groups
2364
+ )
2365
+ self.requirement_types = requirement_types.AsyncRequirementTypesResourceWithRawResponse(
2366
+ client.requirement_types
2367
+ )
2368
+ self.requirements = requirements.AsyncRequirementsResourceWithRawResponse(client.requirements)
2369
+ self.room_compositions = room_compositions.AsyncRoomCompositionsResourceWithRawResponse(
2370
+ client.room_compositions
2371
+ )
2372
+ self.room_participants = room_participants.AsyncRoomParticipantsResourceWithRawResponse(
2373
+ client.room_participants
2374
+ )
2375
+ self.room_recordings = room_recordings.AsyncRoomRecordingsResourceWithRawResponse(client.room_recordings)
2376
+ self.rooms = rooms.AsyncRoomsResourceWithRawResponse(client.rooms)
2377
+ self.seti = seti.AsyncSetiResourceWithRawResponse(client.seti)
2378
+ self.short_codes = short_codes.AsyncShortCodesResourceWithRawResponse(client.short_codes)
2379
+ self.sim_card_data_usage_notifications = (
2380
+ sim_card_data_usage_notifications.AsyncSimCardDataUsageNotificationsResourceWithRawResponse(
2381
+ client.sim_card_data_usage_notifications
2382
+ )
2383
+ )
2384
+ self.sim_card_groups = sim_card_groups.AsyncSimCardGroupsResourceWithRawResponse(client.sim_card_groups)
2385
+ self.sim_card_order_preview = sim_card_order_preview.AsyncSimCardOrderPreviewResourceWithRawResponse(
2386
+ client.sim_card_order_preview
2387
+ )
2388
+ self.sim_card_orders = sim_card_orders.AsyncSimCardOrdersResourceWithRawResponse(client.sim_card_orders)
2389
+ self.sim_cards = sim_cards.AsyncSimCardsResourceWithRawResponse(client.sim_cards)
2390
+ self.siprec_connectors = siprec_connectors.AsyncSiprecConnectorsResourceWithRawResponse(
2391
+ client.siprec_connectors
2392
+ )
2393
+ self.storage = storage.AsyncStorageResourceWithRawResponse(client.storage)
2394
+ self.sub_number_orders = sub_number_orders.AsyncSubNumberOrdersResourceWithRawResponse(client.sub_number_orders)
2395
+ self.sub_number_orders_report = sub_number_orders_report.AsyncSubNumberOrdersReportResourceWithRawResponse(
2396
+ client.sub_number_orders_report
2397
+ )
2398
+ self.telephony_credentials = telephony_credentials.AsyncTelephonyCredentialsResourceWithRawResponse(
2399
+ client.telephony_credentials
2400
+ )
2401
+ self.texml = texml.AsyncTexmlResourceWithRawResponse(client.texml)
2402
+ self.texml_applications = texml_applications.AsyncTexmlApplicationsResourceWithRawResponse(
2403
+ client.texml_applications
2404
+ )
2405
+ self.text_to_speech = text_to_speech.AsyncTextToSpeechResourceWithRawResponse(client.text_to_speech)
2406
+ self.usage_reports = usage_reports.AsyncUsageReportsResourceWithRawResponse(client.usage_reports)
2407
+ self.user_addresses = user_addresses.AsyncUserAddressesResourceWithRawResponse(client.user_addresses)
2408
+ self.user_tags = user_tags.AsyncUserTagsResourceWithRawResponse(client.user_tags)
2409
+ self.verifications = verifications.AsyncVerificationsResourceWithRawResponse(client.verifications)
2410
+ self.verified_numbers = verified_numbers.AsyncVerifiedNumbersResourceWithRawResponse(client.verified_numbers)
2411
+ self.verify_profiles = verify_profiles.AsyncVerifyProfilesResourceWithRawResponse(client.verify_profiles)
2412
+ self.virtual_cross_connects = virtual_cross_connects.AsyncVirtualCrossConnectsResourceWithRawResponse(
2413
+ client.virtual_cross_connects
2414
+ )
2415
+ self.virtual_cross_connects_coverage = (
2416
+ virtual_cross_connects_coverage.AsyncVirtualCrossConnectsCoverageResourceWithRawResponse(
2417
+ client.virtual_cross_connects_coverage
2418
+ )
2419
+ )
2420
+ self.webhook_deliveries = webhook_deliveries.AsyncWebhookDeliveriesResourceWithRawResponse(
2421
+ client.webhook_deliveries
2422
+ )
2423
+ self.wireguard_interfaces = wireguard_interfaces.AsyncWireguardInterfacesResourceWithRawResponse(
2424
+ client.wireguard_interfaces
2425
+ )
2426
+ self.wireguard_peers = wireguard_peers.AsyncWireguardPeersResourceWithRawResponse(client.wireguard_peers)
2427
+ self.wireless = wireless.AsyncWirelessResourceWithRawResponse(client.wireless)
2428
+ self.wireless_blocklist_values = wireless_blocklist_values.AsyncWirelessBlocklistValuesResourceWithRawResponse(
2429
+ client.wireless_blocklist_values
2430
+ )
2431
+ self.wireless_blocklists = wireless_blocklists.AsyncWirelessBlocklistsResourceWithRawResponse(
2432
+ client.wireless_blocklists
2433
+ )
2434
+ self.partner_campaigns = partner_campaigns.AsyncPartnerCampaignsResourceWithRawResponse(
2435
+ client.partner_campaigns
2436
+ )
2437
+ self.well_known = well_known.AsyncWellKnownResourceWithRawResponse(client.well_known)
2438
+
2439
+ self.create_bucket = async_to_raw_response_wrapper(
2440
+ client.create_bucket,
2441
+ )
2442
+ self.delete_bucket = async_to_raw_response_wrapper(
2443
+ client.delete_bucket,
2444
+ )
2445
+ self.delete_object = async_to_raw_response_wrapper(
2446
+ client.delete_object,
2447
+ )
2448
+ self.delete_objects = async_to_raw_response_wrapper(
2449
+ client.delete_objects,
2450
+ )
2451
+ self.get_object = async_to_custom_raw_response_wrapper(
2452
+ client.get_object,
2453
+ AsyncBinaryAPIResponse,
2454
+ )
2455
+ self.list_buckets = async_to_raw_response_wrapper(
2456
+ client.list_buckets,
2457
+ )
2458
+ self.list_objects = async_to_raw_response_wrapper(
2459
+ client.list_objects,
2460
+ )
2461
+ self.put_object = async_to_raw_response_wrapper(
2462
+ client.put_object,
2463
+ )
2464
+
2465
+
2466
+ class TelnyxWithStreamedResponse:
2467
+ def __init__(self, client: Telnyx) -> None:
2468
+ self.legacy = legacy.LegacyResourceWithStreamingResponse(client.legacy)
2469
+ self.oauth = oauth.OAuthResourceWithStreamingResponse(client.oauth)
2470
+ self.oauth_clients = oauth_clients.OAuthClientsResourceWithStreamingResponse(client.oauth_clients)
2471
+ self.oauth_grants = oauth_grants.OAuthGrantsResourceWithStreamingResponse(client.oauth_grants)
2472
+ self.access_ip_address = access_ip_address.AccessIPAddressResourceWithStreamingResponse(
2473
+ client.access_ip_address
2474
+ )
2475
+ self.access_ip_ranges = access_ip_ranges.AccessIPRangesResourceWithStreamingResponse(client.access_ip_ranges)
2476
+ self.actions = actions.ActionsResourceWithStreamingResponse(client.actions)
2477
+ self.addresses = addresses.AddressesResourceWithStreamingResponse(client.addresses)
2478
+ self.advanced_orders = advanced_orders.AdvancedOrdersResourceWithStreamingResponse(client.advanced_orders)
2479
+ self.ai = ai.AIResourceWithStreamingResponse(client.ai)
2480
+ self.audit_events = audit_events.AuditEventsResourceWithStreamingResponse(client.audit_events)
2481
+ self.authentication_providers = authentication_providers.AuthenticationProvidersResourceWithStreamingResponse(
2482
+ client.authentication_providers
2483
+ )
2484
+ self.available_phone_number_blocks = (
2485
+ available_phone_number_blocks.AvailablePhoneNumberBlocksResourceWithStreamingResponse(
2486
+ client.available_phone_number_blocks
2487
+ )
2488
+ )
2489
+ self.available_phone_numbers = available_phone_numbers.AvailablePhoneNumbersResourceWithStreamingResponse(
2490
+ client.available_phone_numbers
2491
+ )
2492
+ self.balance = balance.BalanceResourceWithStreamingResponse(client.balance)
2493
+ self.billing_groups = billing_groups.BillingGroupsResourceWithStreamingResponse(client.billing_groups)
2494
+ self.brand = brand.BrandResourceWithStreamingResponse(client.brand)
2495
+ self.bulk_sim_card_actions = bulk_sim_card_actions.BulkSimCardActionsResourceWithStreamingResponse(
2496
+ client.bulk_sim_card_actions
2497
+ )
2498
+ self.bundle_pricing = bundle_pricing.BundlePricingResourceWithStreamingResponse(client.bundle_pricing)
2499
+ self.call_control_applications = call_control_applications.CallControlApplicationsResourceWithStreamingResponse(
2500
+ client.call_control_applications
2501
+ )
2502
+ self.call_events = call_events.CallEventsResourceWithStreamingResponse(client.call_events)
2503
+ self.calls = calls.CallsResourceWithStreamingResponse(client.calls)
2504
+ self.campaign = campaign.CampaignResourceWithStreamingResponse(client.campaign)
2505
+ self.campaign_builder = campaign_builder.CampaignBuilderResourceWithStreamingResponse(client.campaign_builder)
2506
+ self.channel_zones = channel_zones.ChannelZonesResourceWithStreamingResponse(client.channel_zones)
2507
+ self.charges_breakdown = charges_breakdown.ChargesBreakdownResourceWithStreamingResponse(
2508
+ client.charges_breakdown
2509
+ )
2510
+ self.charges_summary = charges_summary.ChargesSummaryResourceWithStreamingResponse(client.charges_summary)
2511
+ self.comments = comments.CommentsResourceWithStreamingResponse(client.comments)
2512
+ self.conferences = conferences.ConferencesResourceWithStreamingResponse(client.conferences)
2513
+ self.connections = connections.ConnectionsResourceWithStreamingResponse(client.connections)
2514
+ self.country_coverage = country_coverage.CountryCoverageResourceWithStreamingResponse(client.country_coverage)
2515
+ self.credential_connections = credential_connections.CredentialConnectionsResourceWithStreamingResponse(
2516
+ client.credential_connections
2517
+ )
2518
+ self.custom_storage_credentials = (
2519
+ custom_storage_credentials.CustomStorageCredentialsResourceWithStreamingResponse(
2520
+ client.custom_storage_credentials
2521
+ )
2522
+ )
2523
+ self.customer_service_records = customer_service_records.CustomerServiceRecordsResourceWithStreamingResponse(
2524
+ client.customer_service_records
2525
+ )
2526
+ self.detail_records = detail_records.DetailRecordsResourceWithStreamingResponse(client.detail_records)
2527
+ self.dialogflow_connections = dialogflow_connections.DialogflowConnectionsResourceWithStreamingResponse(
2528
+ client.dialogflow_connections
2529
+ )
2530
+ self.document_links = document_links.DocumentLinksResourceWithStreamingResponse(client.document_links)
2531
+ self.documents = documents.DocumentsResourceWithStreamingResponse(client.documents)
2532
+ self.dynamic_emergency_addresses = (
2533
+ dynamic_emergency_addresses.DynamicEmergencyAddressesResourceWithStreamingResponse(
2534
+ client.dynamic_emergency_addresses
2535
+ )
2536
+ )
2537
+ self.dynamic_emergency_endpoints = (
2538
+ dynamic_emergency_endpoints.DynamicEmergencyEndpointsResourceWithStreamingResponse(
2539
+ client.dynamic_emergency_endpoints
2540
+ )
2541
+ )
2542
+ self.enum = enum.EnumResourceWithStreamingResponse(client.enum)
2543
+ self.external_connections = external_connections.ExternalConnectionsResourceWithStreamingResponse(
2544
+ client.external_connections
2545
+ )
2546
+ self.fax_applications = fax_applications.FaxApplicationsResourceWithStreamingResponse(client.fax_applications)
2547
+ self.faxes = faxes.FaxesResourceWithStreamingResponse(client.faxes)
2548
+ self.fqdn_connections = fqdn_connections.FqdnConnectionsResourceWithStreamingResponse(client.fqdn_connections)
2549
+ self.fqdns = fqdns.FqdnsResourceWithStreamingResponse(client.fqdns)
2550
+ self.global_ip_allowed_ports = global_ip_allowed_ports.GlobalIPAllowedPortsResourceWithStreamingResponse(
2551
+ client.global_ip_allowed_ports
2552
+ )
2553
+ self.global_ip_assignment_health = (
2554
+ global_ip_assignment_health.GlobalIPAssignmentHealthResourceWithStreamingResponse(
2555
+ client.global_ip_assignment_health
2556
+ )
2557
+ )
2558
+ self.global_ip_assignments = global_ip_assignments.GlobalIPAssignmentsResourceWithStreamingResponse(
2559
+ client.global_ip_assignments
2560
+ )
2561
+ self.global_ip_assignments_usage = (
2562
+ global_ip_assignments_usage.GlobalIPAssignmentsUsageResourceWithStreamingResponse(
2563
+ client.global_ip_assignments_usage
2564
+ )
2565
+ )
2566
+ self.global_ip_health_check_types = (
2567
+ global_ip_health_check_types.GlobalIPHealthCheckTypesResourceWithStreamingResponse(
2568
+ client.global_ip_health_check_types
2569
+ )
2570
+ )
2571
+ self.global_ip_health_checks = global_ip_health_checks.GlobalIPHealthChecksResourceWithStreamingResponse(
2572
+ client.global_ip_health_checks
2573
+ )
2574
+ self.global_ip_latency = global_ip_latency.GlobalIPLatencyResourceWithStreamingResponse(
2575
+ client.global_ip_latency
2576
+ )
2577
+ self.global_ip_protocols = global_ip_protocols.GlobalIPProtocolsResourceWithStreamingResponse(
2578
+ client.global_ip_protocols
2579
+ )
2580
+ self.global_ip_usage = global_ip_usage.GlobalIPUsageResourceWithStreamingResponse(client.global_ip_usage)
2581
+ self.global_ips = global_ips.GlobalIPsResourceWithStreamingResponse(client.global_ips)
2582
+ self.inbound_channels = inbound_channels.InboundChannelsResourceWithStreamingResponse(client.inbound_channels)
2583
+ self.integration_secrets = integration_secrets.IntegrationSecretsResourceWithStreamingResponse(
2584
+ client.integration_secrets
2585
+ )
2586
+ self.inventory_coverage = inventory_coverage.InventoryCoverageResourceWithStreamingResponse(
2587
+ client.inventory_coverage
2588
+ )
2589
+ self.invoices = invoices.InvoicesResourceWithStreamingResponse(client.invoices)
2590
+ self.ip_connections = ip_connections.IPConnectionsResourceWithStreamingResponse(client.ip_connections)
2591
+ self.ips = ips.IPsResourceWithStreamingResponse(client.ips)
2592
+ self.ledger_billing_group_reports = (
2593
+ ledger_billing_group_reports.LedgerBillingGroupReportsResourceWithStreamingResponse(
2594
+ client.ledger_billing_group_reports
2595
+ )
2596
+ )
2597
+ self.list = list.ListResourceWithStreamingResponse(client.list)
2598
+ self.managed_accounts = managed_accounts.ManagedAccountsResourceWithStreamingResponse(client.managed_accounts)
2599
+ self.media = media.MediaResourceWithStreamingResponse(client.media)
2600
+ self.messages = messages.MessagesResourceWithStreamingResponse(client.messages)
2601
+ self.messaging = messaging.MessagingResourceWithStreamingResponse(client.messaging)
2602
+ self.messaging_hosted_number_orders = (
2603
+ messaging_hosted_number_orders.MessagingHostedNumberOrdersResourceWithStreamingResponse(
2604
+ client.messaging_hosted_number_orders
2605
+ )
2606
+ )
2607
+ self.messaging_hosted_numbers = messaging_hosted_numbers.MessagingHostedNumbersResourceWithStreamingResponse(
2608
+ client.messaging_hosted_numbers
2609
+ )
2610
+ self.messaging_numbers_bulk_updates = (
2611
+ messaging_numbers_bulk_updates.MessagingNumbersBulkUpdatesResourceWithStreamingResponse(
2612
+ client.messaging_numbers_bulk_updates
2613
+ )
2614
+ )
2615
+ self.messaging_optouts = messaging_optouts.MessagingOptoutsResourceWithStreamingResponse(
2616
+ client.messaging_optouts
2617
+ )
2618
+ self.messaging_profiles = messaging_profiles.MessagingProfilesResourceWithStreamingResponse(
2619
+ client.messaging_profiles
2620
+ )
2621
+ self.messaging_tollfree = messaging_tollfree.MessagingTollfreeResourceWithStreamingResponse(
2622
+ client.messaging_tollfree
2623
+ )
2624
+ self.messaging_url_domains = messaging_url_domains.MessagingURLDomainsResourceWithStreamingResponse(
2625
+ client.messaging_url_domains
2626
+ )
2627
+ self.messsages = messsages.MesssagesResourceWithStreamingResponse(client.messsages)
2628
+ self.mobile_network_operators = mobile_network_operators.MobileNetworkOperatorsResourceWithStreamingResponse(
2629
+ client.mobile_network_operators
2630
+ )
2631
+ self.mobile_push_credentials = mobile_push_credentials.MobilePushCredentialsResourceWithStreamingResponse(
2632
+ client.mobile_push_credentials
2633
+ )
2634
+ self.network_coverage = network_coverage.NetworkCoverageResourceWithStreamingResponse(client.network_coverage)
2635
+ self.networks = networks.NetworksResourceWithStreamingResponse(client.networks)
2636
+ self.notification_channels = notification_channels.NotificationChannelsResourceWithStreamingResponse(
2637
+ client.notification_channels
2638
+ )
2639
+ self.notification_event_conditions = (
2640
+ notification_event_conditions.NotificationEventConditionsResourceWithStreamingResponse(
2641
+ client.notification_event_conditions
2642
+ )
2643
+ )
2644
+ self.notification_events = notification_events.NotificationEventsResourceWithStreamingResponse(
2645
+ client.notification_events
2646
+ )
2647
+ self.notification_profiles = notification_profiles.NotificationProfilesResourceWithStreamingResponse(
2648
+ client.notification_profiles
2649
+ )
2650
+ self.notification_settings = notification_settings.NotificationSettingsResourceWithStreamingResponse(
2651
+ client.notification_settings
2652
+ )
2653
+ self.number_block_orders = number_block_orders.NumberBlockOrdersResourceWithStreamingResponse(
2654
+ client.number_block_orders
2655
+ )
2656
+ self.number_lookup = number_lookup.NumberLookupResourceWithStreamingResponse(client.number_lookup)
2657
+ self.number_order_phone_numbers = (
2658
+ number_order_phone_numbers.NumberOrderPhoneNumbersResourceWithStreamingResponse(
2659
+ client.number_order_phone_numbers
2660
+ )
2661
+ )
2662
+ self.number_orders = number_orders.NumberOrdersResourceWithStreamingResponse(client.number_orders)
2663
+ self.number_reservations = number_reservations.NumberReservationsResourceWithStreamingResponse(
2664
+ client.number_reservations
2665
+ )
2666
+ self.numbers_features = numbers_features.NumbersFeaturesResourceWithStreamingResponse(client.numbers_features)
2667
+ self.operator_connect = operator_connect.OperatorConnectResourceWithStreamingResponse(client.operator_connect)
2668
+ self.ota_updates = ota_updates.OtaUpdatesResourceWithStreamingResponse(client.ota_updates)
2669
+ self.outbound_voice_profiles = outbound_voice_profiles.OutboundVoiceProfilesResourceWithStreamingResponse(
2670
+ client.outbound_voice_profiles
2671
+ )
2672
+ self.payment = payment.PaymentResourceWithStreamingResponse(client.payment)
2673
+ self.phone_number_assignment_by_profile = (
2674
+ phone_number_assignment_by_profile.PhoneNumberAssignmentByProfileResourceWithStreamingResponse(
2675
+ client.phone_number_assignment_by_profile
2676
+ )
2677
+ )
2678
+ self.phone_number_blocks = phone_number_blocks.PhoneNumberBlocksResourceWithStreamingResponse(
2679
+ client.phone_number_blocks
2680
+ )
2681
+ self.phone_number_campaigns = phone_number_campaigns.PhoneNumberCampaignsResourceWithStreamingResponse(
2682
+ client.phone_number_campaigns
2683
+ )
2684
+ self.phone_numbers = phone_numbers.PhoneNumbersResourceWithStreamingResponse(client.phone_numbers)
2685
+ self.phone_numbers_regulatory_requirements = (
2686
+ phone_numbers_regulatory_requirements.PhoneNumbersRegulatoryRequirementsResourceWithStreamingResponse(
2687
+ client.phone_numbers_regulatory_requirements
2688
+ )
2689
+ )
2690
+ self.portability_checks = portability_checks.PortabilityChecksResourceWithStreamingResponse(
2691
+ client.portability_checks
2692
+ )
2693
+ self.porting = porting.PortingResourceWithStreamingResponse(client.porting)
2694
+ self.porting_orders = porting_orders.PortingOrdersResourceWithStreamingResponse(client.porting_orders)
2695
+ self.porting_phone_numbers = porting_phone_numbers.PortingPhoneNumbersResourceWithStreamingResponse(
2696
+ client.porting_phone_numbers
2697
+ )
2698
+ self.portouts = portouts.PortoutsResourceWithStreamingResponse(client.portouts)
2699
+ self.private_wireless_gateways = private_wireless_gateways.PrivateWirelessGatewaysResourceWithStreamingResponse(
2700
+ client.private_wireless_gateways
2701
+ )
2702
+ self.public_internet_gateways = public_internet_gateways.PublicInternetGatewaysResourceWithStreamingResponse(
2703
+ client.public_internet_gateways
2704
+ )
2705
+ self.queues = queues.QueuesResourceWithStreamingResponse(client.queues)
2706
+ self.recording_transcriptions = recording_transcriptions.RecordingTranscriptionsResourceWithStreamingResponse(
2707
+ client.recording_transcriptions
2708
+ )
2709
+ self.recordings = recordings.RecordingsResourceWithStreamingResponse(client.recordings)
2710
+ self.regions = regions.RegionsResourceWithStreamingResponse(client.regions)
2711
+ self.regulatory_requirements = regulatory_requirements.RegulatoryRequirementsResourceWithStreamingResponse(
2712
+ client.regulatory_requirements
2713
+ )
2714
+ self.reports = reports.ReportsResourceWithStreamingResponse(client.reports)
2715
+ self.requirement_groups = requirement_groups.RequirementGroupsResourceWithStreamingResponse(
2716
+ client.requirement_groups
2717
+ )
2718
+ self.requirement_types = requirement_types.RequirementTypesResourceWithStreamingResponse(
2719
+ client.requirement_types
2720
+ )
2721
+ self.requirements = requirements.RequirementsResourceWithStreamingResponse(client.requirements)
2722
+ self.room_compositions = room_compositions.RoomCompositionsResourceWithStreamingResponse(
2723
+ client.room_compositions
2724
+ )
2725
+ self.room_participants = room_participants.RoomParticipantsResourceWithStreamingResponse(
2726
+ client.room_participants
2727
+ )
2728
+ self.room_recordings = room_recordings.RoomRecordingsResourceWithStreamingResponse(client.room_recordings)
2729
+ self.rooms = rooms.RoomsResourceWithStreamingResponse(client.rooms)
2730
+ self.seti = seti.SetiResourceWithStreamingResponse(client.seti)
2731
+ self.short_codes = short_codes.ShortCodesResourceWithStreamingResponse(client.short_codes)
2732
+ self.sim_card_data_usage_notifications = (
2733
+ sim_card_data_usage_notifications.SimCardDataUsageNotificationsResourceWithStreamingResponse(
2734
+ client.sim_card_data_usage_notifications
2735
+ )
2736
+ )
2737
+ self.sim_card_groups = sim_card_groups.SimCardGroupsResourceWithStreamingResponse(client.sim_card_groups)
2738
+ self.sim_card_order_preview = sim_card_order_preview.SimCardOrderPreviewResourceWithStreamingResponse(
2739
+ client.sim_card_order_preview
2740
+ )
2741
+ self.sim_card_orders = sim_card_orders.SimCardOrdersResourceWithStreamingResponse(client.sim_card_orders)
2742
+ self.sim_cards = sim_cards.SimCardsResourceWithStreamingResponse(client.sim_cards)
2743
+ self.siprec_connectors = siprec_connectors.SiprecConnectorsResourceWithStreamingResponse(
2744
+ client.siprec_connectors
2745
+ )
2746
+ self.storage = storage.StorageResourceWithStreamingResponse(client.storage)
2747
+ self.sub_number_orders = sub_number_orders.SubNumberOrdersResourceWithStreamingResponse(
2748
+ client.sub_number_orders
2749
+ )
2750
+ self.sub_number_orders_report = sub_number_orders_report.SubNumberOrdersReportResourceWithStreamingResponse(
2751
+ client.sub_number_orders_report
2752
+ )
2753
+ self.telephony_credentials = telephony_credentials.TelephonyCredentialsResourceWithStreamingResponse(
2754
+ client.telephony_credentials
2755
+ )
2756
+ self.texml = texml.TexmlResourceWithStreamingResponse(client.texml)
2757
+ self.texml_applications = texml_applications.TexmlApplicationsResourceWithStreamingResponse(
2758
+ client.texml_applications
2759
+ )
2760
+ self.text_to_speech = text_to_speech.TextToSpeechResourceWithStreamingResponse(client.text_to_speech)
2761
+ self.usage_reports = usage_reports.UsageReportsResourceWithStreamingResponse(client.usage_reports)
2762
+ self.user_addresses = user_addresses.UserAddressesResourceWithStreamingResponse(client.user_addresses)
2763
+ self.user_tags = user_tags.UserTagsResourceWithStreamingResponse(client.user_tags)
2764
+ self.verifications = verifications.VerificationsResourceWithStreamingResponse(client.verifications)
2765
+ self.verified_numbers = verified_numbers.VerifiedNumbersResourceWithStreamingResponse(client.verified_numbers)
2766
+ self.verify_profiles = verify_profiles.VerifyProfilesResourceWithStreamingResponse(client.verify_profiles)
2767
+ self.virtual_cross_connects = virtual_cross_connects.VirtualCrossConnectsResourceWithStreamingResponse(
2768
+ client.virtual_cross_connects
2769
+ )
2770
+ self.virtual_cross_connects_coverage = (
2771
+ virtual_cross_connects_coverage.VirtualCrossConnectsCoverageResourceWithStreamingResponse(
2772
+ client.virtual_cross_connects_coverage
2773
+ )
2774
+ )
2775
+ self.webhook_deliveries = webhook_deliveries.WebhookDeliveriesResourceWithStreamingResponse(
2776
+ client.webhook_deliveries
2777
+ )
2778
+ self.wireguard_interfaces = wireguard_interfaces.WireguardInterfacesResourceWithStreamingResponse(
2779
+ client.wireguard_interfaces
2780
+ )
2781
+ self.wireguard_peers = wireguard_peers.WireguardPeersResourceWithStreamingResponse(client.wireguard_peers)
2782
+ self.wireless = wireless.WirelessResourceWithStreamingResponse(client.wireless)
2783
+ self.wireless_blocklist_values = wireless_blocklist_values.WirelessBlocklistValuesResourceWithStreamingResponse(
2784
+ client.wireless_blocklist_values
2785
+ )
2786
+ self.wireless_blocklists = wireless_blocklists.WirelessBlocklistsResourceWithStreamingResponse(
2787
+ client.wireless_blocklists
2788
+ )
2789
+ self.partner_campaigns = partner_campaigns.PartnerCampaignsResourceWithStreamingResponse(
2790
+ client.partner_campaigns
2791
+ )
2792
+ self.well_known = well_known.WellKnownResourceWithStreamingResponse(client.well_known)
2793
+
2794
+ self.create_bucket = to_streamed_response_wrapper(
2795
+ client.create_bucket,
2796
+ )
2797
+ self.delete_bucket = to_streamed_response_wrapper(
2798
+ client.delete_bucket,
2799
+ )
2800
+ self.delete_object = to_streamed_response_wrapper(
2801
+ client.delete_object,
2802
+ )
2803
+ self.delete_objects = to_streamed_response_wrapper(
2804
+ client.delete_objects,
2805
+ )
2806
+ self.get_object = to_custom_streamed_response_wrapper(
2807
+ client.get_object,
2808
+ StreamedBinaryAPIResponse,
2809
+ )
2810
+ self.list_buckets = to_streamed_response_wrapper(
2811
+ client.list_buckets,
2812
+ )
2813
+ self.list_objects = to_streamed_response_wrapper(
2814
+ client.list_objects,
2815
+ )
2816
+ self.put_object = to_streamed_response_wrapper(
2817
+ client.put_object,
2818
+ )
2819
+
2820
+
2821
+ class AsyncTelnyxWithStreamedResponse:
2822
+ def __init__(self, client: AsyncTelnyx) -> None:
2823
+ self.legacy = legacy.AsyncLegacyResourceWithStreamingResponse(client.legacy)
2824
+ self.oauth = oauth.AsyncOAuthResourceWithStreamingResponse(client.oauth)
2825
+ self.oauth_clients = oauth_clients.AsyncOAuthClientsResourceWithStreamingResponse(client.oauth_clients)
2826
+ self.oauth_grants = oauth_grants.AsyncOAuthGrantsResourceWithStreamingResponse(client.oauth_grants)
2827
+ self.access_ip_address = access_ip_address.AsyncAccessIPAddressResourceWithStreamingResponse(
2828
+ client.access_ip_address
2829
+ )
2830
+ self.access_ip_ranges = access_ip_ranges.AsyncAccessIPRangesResourceWithStreamingResponse(
2831
+ client.access_ip_ranges
2832
+ )
2833
+ self.actions = actions.AsyncActionsResourceWithStreamingResponse(client.actions)
2834
+ self.addresses = addresses.AsyncAddressesResourceWithStreamingResponse(client.addresses)
2835
+ self.advanced_orders = advanced_orders.AsyncAdvancedOrdersResourceWithStreamingResponse(client.advanced_orders)
2836
+ self.ai = ai.AsyncAIResourceWithStreamingResponse(client.ai)
2837
+ self.audit_events = audit_events.AsyncAuditEventsResourceWithStreamingResponse(client.audit_events)
2838
+ self.authentication_providers = (
2839
+ authentication_providers.AsyncAuthenticationProvidersResourceWithStreamingResponse(
2840
+ client.authentication_providers
2841
+ )
2842
+ )
2843
+ self.available_phone_number_blocks = (
2844
+ available_phone_number_blocks.AsyncAvailablePhoneNumberBlocksResourceWithStreamingResponse(
2845
+ client.available_phone_number_blocks
2846
+ )
2847
+ )
2848
+ self.available_phone_numbers = available_phone_numbers.AsyncAvailablePhoneNumbersResourceWithStreamingResponse(
2849
+ client.available_phone_numbers
2850
+ )
2851
+ self.balance = balance.AsyncBalanceResourceWithStreamingResponse(client.balance)
2852
+ self.billing_groups = billing_groups.AsyncBillingGroupsResourceWithStreamingResponse(client.billing_groups)
2853
+ self.brand = brand.AsyncBrandResourceWithStreamingResponse(client.brand)
2854
+ self.bulk_sim_card_actions = bulk_sim_card_actions.AsyncBulkSimCardActionsResourceWithStreamingResponse(
2855
+ client.bulk_sim_card_actions
2856
+ )
2857
+ self.bundle_pricing = bundle_pricing.AsyncBundlePricingResourceWithStreamingResponse(client.bundle_pricing)
2858
+ self.call_control_applications = (
2859
+ call_control_applications.AsyncCallControlApplicationsResourceWithStreamingResponse(
2860
+ client.call_control_applications
2861
+ )
2862
+ )
2863
+ self.call_events = call_events.AsyncCallEventsResourceWithStreamingResponse(client.call_events)
2864
+ self.calls = calls.AsyncCallsResourceWithStreamingResponse(client.calls)
2865
+ self.campaign = campaign.AsyncCampaignResourceWithStreamingResponse(client.campaign)
2866
+ self.campaign_builder = campaign_builder.AsyncCampaignBuilderResourceWithStreamingResponse(
2867
+ client.campaign_builder
2868
+ )
2869
+ self.channel_zones = channel_zones.AsyncChannelZonesResourceWithStreamingResponse(client.channel_zones)
2870
+ self.charges_breakdown = charges_breakdown.AsyncChargesBreakdownResourceWithStreamingResponse(
2871
+ client.charges_breakdown
2872
+ )
2873
+ self.charges_summary = charges_summary.AsyncChargesSummaryResourceWithStreamingResponse(client.charges_summary)
2874
+ self.comments = comments.AsyncCommentsResourceWithStreamingResponse(client.comments)
2875
+ self.conferences = conferences.AsyncConferencesResourceWithStreamingResponse(client.conferences)
2876
+ self.connections = connections.AsyncConnectionsResourceWithStreamingResponse(client.connections)
2877
+ self.country_coverage = country_coverage.AsyncCountryCoverageResourceWithStreamingResponse(
2878
+ client.country_coverage
2879
+ )
2880
+ self.credential_connections = credential_connections.AsyncCredentialConnectionsResourceWithStreamingResponse(
2881
+ client.credential_connections
2882
+ )
2883
+ self.custom_storage_credentials = (
2884
+ custom_storage_credentials.AsyncCustomStorageCredentialsResourceWithStreamingResponse(
2885
+ client.custom_storage_credentials
2886
+ )
2887
+ )
2888
+ self.customer_service_records = (
2889
+ customer_service_records.AsyncCustomerServiceRecordsResourceWithStreamingResponse(
2890
+ client.customer_service_records
2891
+ )
2892
+ )
2893
+ self.detail_records = detail_records.AsyncDetailRecordsResourceWithStreamingResponse(client.detail_records)
2894
+ self.dialogflow_connections = dialogflow_connections.AsyncDialogflowConnectionsResourceWithStreamingResponse(
2895
+ client.dialogflow_connections
2896
+ )
2897
+ self.document_links = document_links.AsyncDocumentLinksResourceWithStreamingResponse(client.document_links)
2898
+ self.documents = documents.AsyncDocumentsResourceWithStreamingResponse(client.documents)
2899
+ self.dynamic_emergency_addresses = (
2900
+ dynamic_emergency_addresses.AsyncDynamicEmergencyAddressesResourceWithStreamingResponse(
2901
+ client.dynamic_emergency_addresses
2902
+ )
2903
+ )
2904
+ self.dynamic_emergency_endpoints = (
2905
+ dynamic_emergency_endpoints.AsyncDynamicEmergencyEndpointsResourceWithStreamingResponse(
2906
+ client.dynamic_emergency_endpoints
2907
+ )
2908
+ )
2909
+ self.enum = enum.AsyncEnumResourceWithStreamingResponse(client.enum)
2910
+ self.external_connections = external_connections.AsyncExternalConnectionsResourceWithStreamingResponse(
2911
+ client.external_connections
2912
+ )
2913
+ self.fax_applications = fax_applications.AsyncFaxApplicationsResourceWithStreamingResponse(
2914
+ client.fax_applications
2915
+ )
2916
+ self.faxes = faxes.AsyncFaxesResourceWithStreamingResponse(client.faxes)
2917
+ self.fqdn_connections = fqdn_connections.AsyncFqdnConnectionsResourceWithStreamingResponse(
2918
+ client.fqdn_connections
2919
+ )
2920
+ self.fqdns = fqdns.AsyncFqdnsResourceWithStreamingResponse(client.fqdns)
2921
+ self.global_ip_allowed_ports = global_ip_allowed_ports.AsyncGlobalIPAllowedPortsResourceWithStreamingResponse(
2922
+ client.global_ip_allowed_ports
2923
+ )
2924
+ self.global_ip_assignment_health = (
2925
+ global_ip_assignment_health.AsyncGlobalIPAssignmentHealthResourceWithStreamingResponse(
2926
+ client.global_ip_assignment_health
2927
+ )
2928
+ )
2929
+ self.global_ip_assignments = global_ip_assignments.AsyncGlobalIPAssignmentsResourceWithStreamingResponse(
2930
+ client.global_ip_assignments
2931
+ )
2932
+ self.global_ip_assignments_usage = (
2933
+ global_ip_assignments_usage.AsyncGlobalIPAssignmentsUsageResourceWithStreamingResponse(
2934
+ client.global_ip_assignments_usage
2935
+ )
2936
+ )
2937
+ self.global_ip_health_check_types = (
2938
+ global_ip_health_check_types.AsyncGlobalIPHealthCheckTypesResourceWithStreamingResponse(
2939
+ client.global_ip_health_check_types
2940
+ )
2941
+ )
2942
+ self.global_ip_health_checks = global_ip_health_checks.AsyncGlobalIPHealthChecksResourceWithStreamingResponse(
2943
+ client.global_ip_health_checks
2944
+ )
2945
+ self.global_ip_latency = global_ip_latency.AsyncGlobalIPLatencyResourceWithStreamingResponse(
2946
+ client.global_ip_latency
2947
+ )
2948
+ self.global_ip_protocols = global_ip_protocols.AsyncGlobalIPProtocolsResourceWithStreamingResponse(
2949
+ client.global_ip_protocols
2950
+ )
2951
+ self.global_ip_usage = global_ip_usage.AsyncGlobalIPUsageResourceWithStreamingResponse(client.global_ip_usage)
2952
+ self.global_ips = global_ips.AsyncGlobalIPsResourceWithStreamingResponse(client.global_ips)
2953
+ self.inbound_channels = inbound_channels.AsyncInboundChannelsResourceWithStreamingResponse(
2954
+ client.inbound_channels
2955
+ )
2956
+ self.integration_secrets = integration_secrets.AsyncIntegrationSecretsResourceWithStreamingResponse(
2957
+ client.integration_secrets
2958
+ )
2959
+ self.inventory_coverage = inventory_coverage.AsyncInventoryCoverageResourceWithStreamingResponse(
2960
+ client.inventory_coverage
2961
+ )
2962
+ self.invoices = invoices.AsyncInvoicesResourceWithStreamingResponse(client.invoices)
2963
+ self.ip_connections = ip_connections.AsyncIPConnectionsResourceWithStreamingResponse(client.ip_connections)
2964
+ self.ips = ips.AsyncIPsResourceWithStreamingResponse(client.ips)
2965
+ self.ledger_billing_group_reports = (
2966
+ ledger_billing_group_reports.AsyncLedgerBillingGroupReportsResourceWithStreamingResponse(
2967
+ client.ledger_billing_group_reports
2968
+ )
2969
+ )
2970
+ self.list = list.AsyncListResourceWithStreamingResponse(client.list)
2971
+ self.managed_accounts = managed_accounts.AsyncManagedAccountsResourceWithStreamingResponse(
2972
+ client.managed_accounts
2973
+ )
2974
+ self.media = media.AsyncMediaResourceWithStreamingResponse(client.media)
2975
+ self.messages = messages.AsyncMessagesResourceWithStreamingResponse(client.messages)
2976
+ self.messaging = messaging.AsyncMessagingResourceWithStreamingResponse(client.messaging)
2977
+ self.messaging_hosted_number_orders = (
2978
+ messaging_hosted_number_orders.AsyncMessagingHostedNumberOrdersResourceWithStreamingResponse(
2979
+ client.messaging_hosted_number_orders
2980
+ )
2981
+ )
2982
+ self.messaging_hosted_numbers = (
2983
+ messaging_hosted_numbers.AsyncMessagingHostedNumbersResourceWithStreamingResponse(
2984
+ client.messaging_hosted_numbers
2985
+ )
2986
+ )
2987
+ self.messaging_numbers_bulk_updates = (
2988
+ messaging_numbers_bulk_updates.AsyncMessagingNumbersBulkUpdatesResourceWithStreamingResponse(
2989
+ client.messaging_numbers_bulk_updates
2990
+ )
2991
+ )
2992
+ self.messaging_optouts = messaging_optouts.AsyncMessagingOptoutsResourceWithStreamingResponse(
2993
+ client.messaging_optouts
2994
+ )
2995
+ self.messaging_profiles = messaging_profiles.AsyncMessagingProfilesResourceWithStreamingResponse(
2996
+ client.messaging_profiles
2997
+ )
2998
+ self.messaging_tollfree = messaging_tollfree.AsyncMessagingTollfreeResourceWithStreamingResponse(
2999
+ client.messaging_tollfree
3000
+ )
3001
+ self.messaging_url_domains = messaging_url_domains.AsyncMessagingURLDomainsResourceWithStreamingResponse(
3002
+ client.messaging_url_domains
3003
+ )
3004
+ self.messsages = messsages.AsyncMesssagesResourceWithStreamingResponse(client.messsages)
3005
+ self.mobile_network_operators = (
3006
+ mobile_network_operators.AsyncMobileNetworkOperatorsResourceWithStreamingResponse(
3007
+ client.mobile_network_operators
3008
+ )
3009
+ )
3010
+ self.mobile_push_credentials = mobile_push_credentials.AsyncMobilePushCredentialsResourceWithStreamingResponse(
3011
+ client.mobile_push_credentials
3012
+ )
3013
+ self.network_coverage = network_coverage.AsyncNetworkCoverageResourceWithStreamingResponse(
3014
+ client.network_coverage
3015
+ )
3016
+ self.networks = networks.AsyncNetworksResourceWithStreamingResponse(client.networks)
3017
+ self.notification_channels = notification_channels.AsyncNotificationChannelsResourceWithStreamingResponse(
3018
+ client.notification_channels
3019
+ )
3020
+ self.notification_event_conditions = (
3021
+ notification_event_conditions.AsyncNotificationEventConditionsResourceWithStreamingResponse(
3022
+ client.notification_event_conditions
3023
+ )
3024
+ )
3025
+ self.notification_events = notification_events.AsyncNotificationEventsResourceWithStreamingResponse(
3026
+ client.notification_events
3027
+ )
3028
+ self.notification_profiles = notification_profiles.AsyncNotificationProfilesResourceWithStreamingResponse(
3029
+ client.notification_profiles
3030
+ )
3031
+ self.notification_settings = notification_settings.AsyncNotificationSettingsResourceWithStreamingResponse(
3032
+ client.notification_settings
3033
+ )
3034
+ self.number_block_orders = number_block_orders.AsyncNumberBlockOrdersResourceWithStreamingResponse(
3035
+ client.number_block_orders
3036
+ )
3037
+ self.number_lookup = number_lookup.AsyncNumberLookupResourceWithStreamingResponse(client.number_lookup)
3038
+ self.number_order_phone_numbers = (
3039
+ number_order_phone_numbers.AsyncNumberOrderPhoneNumbersResourceWithStreamingResponse(
3040
+ client.number_order_phone_numbers
3041
+ )
3042
+ )
3043
+ self.number_orders = number_orders.AsyncNumberOrdersResourceWithStreamingResponse(client.number_orders)
3044
+ self.number_reservations = number_reservations.AsyncNumberReservationsResourceWithStreamingResponse(
3045
+ client.number_reservations
3046
+ )
3047
+ self.numbers_features = numbers_features.AsyncNumbersFeaturesResourceWithStreamingResponse(
3048
+ client.numbers_features
3049
+ )
3050
+ self.operator_connect = operator_connect.AsyncOperatorConnectResourceWithStreamingResponse(
3051
+ client.operator_connect
3052
+ )
3053
+ self.ota_updates = ota_updates.AsyncOtaUpdatesResourceWithStreamingResponse(client.ota_updates)
3054
+ self.outbound_voice_profiles = outbound_voice_profiles.AsyncOutboundVoiceProfilesResourceWithStreamingResponse(
3055
+ client.outbound_voice_profiles
3056
+ )
3057
+ self.payment = payment.AsyncPaymentResourceWithStreamingResponse(client.payment)
3058
+ self.phone_number_assignment_by_profile = (
3059
+ phone_number_assignment_by_profile.AsyncPhoneNumberAssignmentByProfileResourceWithStreamingResponse(
3060
+ client.phone_number_assignment_by_profile
3061
+ )
3062
+ )
3063
+ self.phone_number_blocks = phone_number_blocks.AsyncPhoneNumberBlocksResourceWithStreamingResponse(
3064
+ client.phone_number_blocks
3065
+ )
3066
+ self.phone_number_campaigns = phone_number_campaigns.AsyncPhoneNumberCampaignsResourceWithStreamingResponse(
3067
+ client.phone_number_campaigns
3068
+ )
3069
+ self.phone_numbers = phone_numbers.AsyncPhoneNumbersResourceWithStreamingResponse(client.phone_numbers)
3070
+ self.phone_numbers_regulatory_requirements = (
3071
+ phone_numbers_regulatory_requirements.AsyncPhoneNumbersRegulatoryRequirementsResourceWithStreamingResponse(
3072
+ client.phone_numbers_regulatory_requirements
3073
+ )
3074
+ )
3075
+ self.portability_checks = portability_checks.AsyncPortabilityChecksResourceWithStreamingResponse(
3076
+ client.portability_checks
3077
+ )
3078
+ self.porting = porting.AsyncPortingResourceWithStreamingResponse(client.porting)
3079
+ self.porting_orders = porting_orders.AsyncPortingOrdersResourceWithStreamingResponse(client.porting_orders)
3080
+ self.porting_phone_numbers = porting_phone_numbers.AsyncPortingPhoneNumbersResourceWithStreamingResponse(
3081
+ client.porting_phone_numbers
3082
+ )
3083
+ self.portouts = portouts.AsyncPortoutsResourceWithStreamingResponse(client.portouts)
3084
+ self.private_wireless_gateways = (
3085
+ private_wireless_gateways.AsyncPrivateWirelessGatewaysResourceWithStreamingResponse(
3086
+ client.private_wireless_gateways
3087
+ )
3088
+ )
3089
+ self.public_internet_gateways = (
3090
+ public_internet_gateways.AsyncPublicInternetGatewaysResourceWithStreamingResponse(
3091
+ client.public_internet_gateways
3092
+ )
3093
+ )
3094
+ self.queues = queues.AsyncQueuesResourceWithStreamingResponse(client.queues)
3095
+ self.recording_transcriptions = (
3096
+ recording_transcriptions.AsyncRecordingTranscriptionsResourceWithStreamingResponse(
3097
+ client.recording_transcriptions
3098
+ )
3099
+ )
3100
+ self.recordings = recordings.AsyncRecordingsResourceWithStreamingResponse(client.recordings)
3101
+ self.regions = regions.AsyncRegionsResourceWithStreamingResponse(client.regions)
3102
+ self.regulatory_requirements = regulatory_requirements.AsyncRegulatoryRequirementsResourceWithStreamingResponse(
3103
+ client.regulatory_requirements
3104
+ )
3105
+ self.reports = reports.AsyncReportsResourceWithStreamingResponse(client.reports)
3106
+ self.requirement_groups = requirement_groups.AsyncRequirementGroupsResourceWithStreamingResponse(
3107
+ client.requirement_groups
3108
+ )
3109
+ self.requirement_types = requirement_types.AsyncRequirementTypesResourceWithStreamingResponse(
3110
+ client.requirement_types
3111
+ )
3112
+ self.requirements = requirements.AsyncRequirementsResourceWithStreamingResponse(client.requirements)
3113
+ self.room_compositions = room_compositions.AsyncRoomCompositionsResourceWithStreamingResponse(
3114
+ client.room_compositions
3115
+ )
3116
+ self.room_participants = room_participants.AsyncRoomParticipantsResourceWithStreamingResponse(
3117
+ client.room_participants
3118
+ )
3119
+ self.room_recordings = room_recordings.AsyncRoomRecordingsResourceWithStreamingResponse(client.room_recordings)
3120
+ self.rooms = rooms.AsyncRoomsResourceWithStreamingResponse(client.rooms)
3121
+ self.seti = seti.AsyncSetiResourceWithStreamingResponse(client.seti)
3122
+ self.short_codes = short_codes.AsyncShortCodesResourceWithStreamingResponse(client.short_codes)
3123
+ self.sim_card_data_usage_notifications = (
3124
+ sim_card_data_usage_notifications.AsyncSimCardDataUsageNotificationsResourceWithStreamingResponse(
3125
+ client.sim_card_data_usage_notifications
3126
+ )
3127
+ )
3128
+ self.sim_card_groups = sim_card_groups.AsyncSimCardGroupsResourceWithStreamingResponse(client.sim_card_groups)
3129
+ self.sim_card_order_preview = sim_card_order_preview.AsyncSimCardOrderPreviewResourceWithStreamingResponse(
3130
+ client.sim_card_order_preview
3131
+ )
3132
+ self.sim_card_orders = sim_card_orders.AsyncSimCardOrdersResourceWithStreamingResponse(client.sim_card_orders)
3133
+ self.sim_cards = sim_cards.AsyncSimCardsResourceWithStreamingResponse(client.sim_cards)
3134
+ self.siprec_connectors = siprec_connectors.AsyncSiprecConnectorsResourceWithStreamingResponse(
3135
+ client.siprec_connectors
3136
+ )
3137
+ self.storage = storage.AsyncStorageResourceWithStreamingResponse(client.storage)
3138
+ self.sub_number_orders = sub_number_orders.AsyncSubNumberOrdersResourceWithStreamingResponse(
3139
+ client.sub_number_orders
3140
+ )
3141
+ self.sub_number_orders_report = (
3142
+ sub_number_orders_report.AsyncSubNumberOrdersReportResourceWithStreamingResponse(
3143
+ client.sub_number_orders_report
3144
+ )
3145
+ )
3146
+ self.telephony_credentials = telephony_credentials.AsyncTelephonyCredentialsResourceWithStreamingResponse(
3147
+ client.telephony_credentials
3148
+ )
3149
+ self.texml = texml.AsyncTexmlResourceWithStreamingResponse(client.texml)
3150
+ self.texml_applications = texml_applications.AsyncTexmlApplicationsResourceWithStreamingResponse(
3151
+ client.texml_applications
3152
+ )
3153
+ self.text_to_speech = text_to_speech.AsyncTextToSpeechResourceWithStreamingResponse(client.text_to_speech)
3154
+ self.usage_reports = usage_reports.AsyncUsageReportsResourceWithStreamingResponse(client.usage_reports)
3155
+ self.user_addresses = user_addresses.AsyncUserAddressesResourceWithStreamingResponse(client.user_addresses)
3156
+ self.user_tags = user_tags.AsyncUserTagsResourceWithStreamingResponse(client.user_tags)
3157
+ self.verifications = verifications.AsyncVerificationsResourceWithStreamingResponse(client.verifications)
3158
+ self.verified_numbers = verified_numbers.AsyncVerifiedNumbersResourceWithStreamingResponse(
3159
+ client.verified_numbers
3160
+ )
3161
+ self.verify_profiles = verify_profiles.AsyncVerifyProfilesResourceWithStreamingResponse(client.verify_profiles)
3162
+ self.virtual_cross_connects = virtual_cross_connects.AsyncVirtualCrossConnectsResourceWithStreamingResponse(
3163
+ client.virtual_cross_connects
3164
+ )
3165
+ self.virtual_cross_connects_coverage = (
3166
+ virtual_cross_connects_coverage.AsyncVirtualCrossConnectsCoverageResourceWithStreamingResponse(
3167
+ client.virtual_cross_connects_coverage
3168
+ )
3169
+ )
3170
+ self.webhook_deliveries = webhook_deliveries.AsyncWebhookDeliveriesResourceWithStreamingResponse(
3171
+ client.webhook_deliveries
3172
+ )
3173
+ self.wireguard_interfaces = wireguard_interfaces.AsyncWireguardInterfacesResourceWithStreamingResponse(
3174
+ client.wireguard_interfaces
3175
+ )
3176
+ self.wireguard_peers = wireguard_peers.AsyncWireguardPeersResourceWithStreamingResponse(client.wireguard_peers)
3177
+ self.wireless = wireless.AsyncWirelessResourceWithStreamingResponse(client.wireless)
3178
+ self.wireless_blocklist_values = (
3179
+ wireless_blocklist_values.AsyncWirelessBlocklistValuesResourceWithStreamingResponse(
3180
+ client.wireless_blocklist_values
3181
+ )
3182
+ )
3183
+ self.wireless_blocklists = wireless_blocklists.AsyncWirelessBlocklistsResourceWithStreamingResponse(
3184
+ client.wireless_blocklists
3185
+ )
3186
+ self.partner_campaigns = partner_campaigns.AsyncPartnerCampaignsResourceWithStreamingResponse(
3187
+ client.partner_campaigns
3188
+ )
3189
+ self.well_known = well_known.AsyncWellKnownResourceWithStreamingResponse(client.well_known)
3190
+
3191
+ self.create_bucket = async_to_streamed_response_wrapper(
3192
+ client.create_bucket,
3193
+ )
3194
+ self.delete_bucket = async_to_streamed_response_wrapper(
3195
+ client.delete_bucket,
3196
+ )
3197
+ self.delete_object = async_to_streamed_response_wrapper(
3198
+ client.delete_object,
3199
+ )
3200
+ self.delete_objects = async_to_streamed_response_wrapper(
3201
+ client.delete_objects,
3202
+ )
3203
+ self.get_object = async_to_custom_streamed_response_wrapper(
3204
+ client.get_object,
3205
+ AsyncStreamedBinaryAPIResponse,
3206
+ )
3207
+ self.list_buckets = async_to_streamed_response_wrapper(
3208
+ client.list_buckets,
3209
+ )
3210
+ self.list_objects = async_to_streamed_response_wrapper(
3211
+ client.list_objects,
3212
+ )
3213
+ self.put_object = async_to_streamed_response_wrapper(
3214
+ client.put_object,
3215
+ )
3216
+
3217
+
3218
+ Client = Telnyx
3219
+
3220
+ AsyncClient = AsyncTelnyx