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