telnyx 3.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of telnyx might be problematic. Click here for more details.
- telnyx/__init__.py +92 -0
- telnyx/_base_client.py +1995 -0
- telnyx/_client.py +3220 -0
- telnyx/_compat.py +219 -0
- telnyx/_constants.py +14 -0
- telnyx/_exceptions.py +108 -0
- telnyx/_files.py +123 -0
- telnyx/_models.py +835 -0
- telnyx/_qs.py +150 -0
- telnyx/_resource.py +43 -0
- telnyx/_response.py +830 -0
- telnyx/_streaming.py +333 -0
- telnyx/_types.py +260 -0
- telnyx/_utils/__init__.py +64 -0
- telnyx/_utils/_compat.py +45 -0
- telnyx/_utils/_datetime_parse.py +136 -0
- telnyx/_utils/_logs.py +25 -0
- telnyx/_utils/_proxy.py +65 -0
- telnyx/_utils/_reflection.py +42 -0
- telnyx/_utils/_resources_proxy.py +24 -0
- telnyx/_utils/_streams.py +12 -0
- telnyx/_utils/_sync.py +86 -0
- telnyx/_utils/_transform.py +457 -0
- telnyx/_utils/_typing.py +156 -0
- telnyx/_utils/_utils.py +421 -0
- telnyx/_version.py +4 -0
- telnyx/lib/.keep +4 -0
- telnyx/py.typed +0 -0
- telnyx/resources/__init__.py +2122 -0
- telnyx/resources/access_ip_address.py +452 -0
- telnyx/resources/access_ip_ranges.py +370 -0
- telnyx/resources/actions/__init__.py +47 -0
- telnyx/resources/actions/actions.py +134 -0
- telnyx/resources/actions/purchase.py +231 -0
- telnyx/resources/actions/register.py +207 -0
- telnyx/resources/addresses/__init__.py +33 -0
- telnyx/resources/addresses/actions.py +314 -0
- telnyx/resources/addresses/addresses.py +658 -0
- telnyx/resources/advanced_orders.py +459 -0
- telnyx/resources/ai/__init__.py +117 -0
- telnyx/resources/ai/ai.py +500 -0
- telnyx/resources/ai/assistants/__init__.py +89 -0
- telnyx/resources/ai/assistants/assistants.py +1313 -0
- telnyx/resources/ai/assistants/canary_deploys.py +448 -0
- telnyx/resources/ai/assistants/scheduled_events.py +534 -0
- telnyx/resources/ai/assistants/tests/__init__.py +47 -0
- telnyx/resources/ai/assistants/tests/runs.py +380 -0
- telnyx/resources/ai/assistants/tests/test_suites/__init__.py +33 -0
- telnyx/resources/ai/assistants/tests/test_suites/runs.py +304 -0
- telnyx/resources/ai/assistants/tests/test_suites/test_suites.py +173 -0
- telnyx/resources/ai/assistants/tests/tests.py +759 -0
- telnyx/resources/ai/assistants/tools.py +199 -0
- telnyx/resources/ai/assistants/versions.py +672 -0
- telnyx/resources/ai/audio.py +248 -0
- telnyx/resources/ai/chat.py +409 -0
- telnyx/resources/ai/clusters.py +595 -0
- telnyx/resources/ai/conversations/__init__.py +61 -0
- telnyx/resources/ai/conversations/conversations.py +947 -0
- telnyx/resources/ai/conversations/insight_groups/__init__.py +33 -0
- telnyx/resources/ai/conversations/insight_groups/insight_groups.py +580 -0
- telnyx/resources/ai/conversations/insight_groups/insights.py +268 -0
- telnyx/resources/ai/conversations/insights.py +554 -0
- telnyx/resources/ai/conversations/messages.py +165 -0
- telnyx/resources/ai/embeddings/__init__.py +33 -0
- telnyx/resources/ai/embeddings/buckets.py +298 -0
- telnyx/resources/ai/embeddings/embeddings.py +709 -0
- telnyx/resources/ai/fine_tuning/__init__.py +33 -0
- telnyx/resources/ai/fine_tuning/fine_tuning.py +102 -0
- telnyx/resources/ai/fine_tuning/jobs.py +408 -0
- telnyx/resources/audit_events.py +211 -0
- telnyx/resources/authentication_providers.py +666 -0
- telnyx/resources/available_phone_number_blocks.py +181 -0
- telnyx/resources/available_phone_numbers.py +187 -0
- telnyx/resources/balance.py +135 -0
- telnyx/resources/billing_groups.py +501 -0
- telnyx/resources/brand/__init__.py +33 -0
- telnyx/resources/brand/brand.py +1316 -0
- telnyx/resources/brand/external_vetting.py +389 -0
- telnyx/resources/bulk_sim_card_actions.py +288 -0
- telnyx/resources/bundle_pricing/__init__.py +47 -0
- telnyx/resources/bundle_pricing/billing_bundles.py +296 -0
- telnyx/resources/bundle_pricing/bundle_pricing.py +134 -0
- telnyx/resources/bundle_pricing/user_bundles.py +686 -0
- telnyx/resources/call_control_applications.py +808 -0
- telnyx/resources/call_events.py +213 -0
- telnyx/resources/calls/__init__.py +33 -0
- telnyx/resources/calls/actions.py +7059 -0
- telnyx/resources/calls/calls.py +866 -0
- telnyx/resources/campaign/__init__.py +47 -0
- telnyx/resources/campaign/campaign.py +1064 -0
- telnyx/resources/campaign/osr.py +162 -0
- telnyx/resources/campaign/usecase.py +169 -0
- telnyx/resources/campaign_builder/__init__.py +33 -0
- telnyx/resources/campaign_builder/brand.py +171 -0
- telnyx/resources/campaign_builder/campaign_builder.py +523 -0
- telnyx/resources/channel_zones.py +282 -0
- telnyx/resources/charges_breakdown.py +211 -0
- telnyx/resources/charges_summary.py +202 -0
- telnyx/resources/comments.py +432 -0
- telnyx/resources/conferences/__init__.py +33 -0
- telnyx/resources/conferences/actions.py +2012 -0
- telnyx/resources/conferences/conferences.py +666 -0
- telnyx/resources/connections.py +423 -0
- telnyx/resources/country_coverage.py +214 -0
- telnyx/resources/credential_connections/__init__.py +33 -0
- telnyx/resources/credential_connections/actions.py +169 -0
- telnyx/resources/credential_connections/credential_connections.py +995 -0
- telnyx/resources/custom_storage_credentials.py +441 -0
- telnyx/resources/customer_service_records.py +486 -0
- telnyx/resources/detail_records.py +205 -0
- telnyx/resources/dialogflow_connections.py +514 -0
- telnyx/resources/document_links.py +197 -0
- telnyx/resources/documents.py +885 -0
- telnyx/resources/dynamic_emergency_addresses.py +482 -0
- telnyx/resources/dynamic_emergency_endpoints.py +452 -0
- telnyx/resources/enum.py +210 -0
- telnyx/resources/external_connections/__init__.py +89 -0
- telnyx/resources/external_connections/civic_addresses.py +268 -0
- telnyx/resources/external_connections/external_connections.py +928 -0
- telnyx/resources/external_connections/log_messages.py +355 -0
- telnyx/resources/external_connections/phone_numbers.py +387 -0
- telnyx/resources/external_connections/releases.py +292 -0
- telnyx/resources/external_connections/uploads.py +669 -0
- telnyx/resources/fax_applications.py +744 -0
- telnyx/resources/faxes/__init__.py +33 -0
- telnyx/resources/faxes/actions.py +244 -0
- telnyx/resources/faxes/faxes.py +648 -0
- telnyx/resources/fqdn_connections.py +921 -0
- telnyx/resources/fqdns.py +605 -0
- telnyx/resources/global_ip_allowed_ports.py +135 -0
- telnyx/resources/global_ip_assignment_health.py +183 -0
- telnyx/resources/global_ip_assignments.py +529 -0
- telnyx/resources/global_ip_assignments_usage.py +183 -0
- telnyx/resources/global_ip_health_check_types.py +135 -0
- telnyx/resources/global_ip_health_checks.py +444 -0
- telnyx/resources/global_ip_latency.py +181 -0
- telnyx/resources/global_ip_protocols.py +135 -0
- telnyx/resources/global_ip_usage.py +179 -0
- telnyx/resources/global_ips.py +442 -0
- telnyx/resources/inbound_channels.py +240 -0
- telnyx/resources/integration_secrets.py +400 -0
- telnyx/resources/inventory_coverage.py +185 -0
- telnyx/resources/invoices.py +288 -0
- telnyx/resources/ip_connections.py +899 -0
- telnyx/resources/ips.py +575 -0
- telnyx/resources/ledger_billing_group_reports.py +264 -0
- telnyx/resources/legacy/__init__.py +33 -0
- telnyx/resources/legacy/legacy.py +102 -0
- telnyx/resources/legacy/reporting/__init__.py +47 -0
- telnyx/resources/legacy/reporting/batch_detail_records/__init__.py +61 -0
- telnyx/resources/legacy/reporting/batch_detail_records/batch_detail_records.py +166 -0
- telnyx/resources/legacy/reporting/batch_detail_records/messaging.py +481 -0
- telnyx/resources/legacy/reporting/batch_detail_records/speech_to_text.py +399 -0
- telnyx/resources/legacy/reporting/batch_detail_records/voice.py +538 -0
- telnyx/resources/legacy/reporting/reporting.py +134 -0
- telnyx/resources/legacy/reporting/usage_reports/__init__.py +61 -0
- telnyx/resources/legacy/reporting/usage_reports/messaging.py +471 -0
- telnyx/resources/legacy/reporting/usage_reports/number_lookup.py +464 -0
- telnyx/resources/legacy/reporting/usage_reports/usage_reports.py +288 -0
- telnyx/resources/legacy/reporting/usage_reports/voice.py +493 -0
- telnyx/resources/list.py +214 -0
- telnyx/resources/managed_accounts/__init__.py +33 -0
- telnyx/resources/managed_accounts/actions.py +266 -0
- telnyx/resources/managed_accounts/managed_accounts.py +773 -0
- telnyx/resources/media.py +678 -0
- telnyx/resources/messages/__init__.py +33 -0
- telnyx/resources/messages/messages.py +1425 -0
- telnyx/resources/messages/rcs.py +199 -0
- telnyx/resources/messaging/__init__.py +33 -0
- telnyx/resources/messaging/messaging.py +102 -0
- telnyx/resources/messaging/rcs/__init__.py +33 -0
- telnyx/resources/messaging/rcs/agents.py +368 -0
- telnyx/resources/messaging/rcs/rcs.py +387 -0
- telnyx/resources/messaging_hosted_number_orders/__init__.py +33 -0
- telnyx/resources/messaging_hosted_number_orders/actions.py +207 -0
- telnyx/resources/messaging_hosted_number_orders/messaging_hosted_number_orders.py +766 -0
- telnyx/resources/messaging_hosted_numbers.py +163 -0
- telnyx/resources/messaging_numbers_bulk_updates.py +276 -0
- telnyx/resources/messaging_optouts.py +217 -0
- telnyx/resources/messaging_profiles/__init__.py +33 -0
- telnyx/resources/messaging_profiles/autoresp_configs.py +598 -0
- telnyx/resources/messaging_profiles/messaging_profiles.py +1048 -0
- telnyx/resources/messaging_tollfree/__init__.py +33 -0
- telnyx/resources/messaging_tollfree/messaging_tollfree.py +102 -0
- telnyx/resources/messaging_tollfree/verification/__init__.py +33 -0
- telnyx/resources/messaging_tollfree/verification/requests.py +922 -0
- telnyx/resources/messaging_tollfree/verification/verification.py +102 -0
- telnyx/resources/messaging_url_domains.py +177 -0
- telnyx/resources/messsages.py +224 -0
- telnyx/resources/mobile_network_operators.py +207 -0
- telnyx/resources/mobile_push_credentials.py +579 -0
- telnyx/resources/network_coverage.py +211 -0
- telnyx/resources/networks/__init__.py +33 -0
- telnyx/resources/networks/default_gateway.py +335 -0
- telnyx/resources/networks/networks.py +666 -0
- telnyx/resources/notification_channels.py +585 -0
- telnyx/resources/notification_event_conditions.py +201 -0
- telnyx/resources/notification_events.py +177 -0
- telnyx/resources/notification_profiles.py +511 -0
- telnyx/resources/notification_settings.py +472 -0
- telnyx/resources/number_block_orders.py +401 -0
- telnyx/resources/number_lookup.py +183 -0
- telnyx/resources/number_order_phone_numbers.py +461 -0
- telnyx/resources/number_orders.py +499 -0
- telnyx/resources/number_reservations/__init__.py +33 -0
- telnyx/resources/number_reservations/actions.py +167 -0
- telnyx/resources/number_reservations/number_reservations.py +410 -0
- telnyx/resources/numbers_features.py +167 -0
- telnyx/resources/oauth.py +855 -0
- telnyx/resources/oauth_clients.py +711 -0
- telnyx/resources/oauth_grants.py +349 -0
- telnyx/resources/operator_connect/__init__.py +33 -0
- telnyx/resources/operator_connect/actions.py +147 -0
- telnyx/resources/operator_connect/operator_connect.py +102 -0
- telnyx/resources/ota_updates.py +276 -0
- telnyx/resources/outbound_voice_profiles.py +821 -0
- telnyx/resources/partner_campaigns.py +630 -0
- telnyx/resources/payment/__init__.py +33 -0
- telnyx/resources/payment/auto_recharge_prefs.py +260 -0
- telnyx/resources/payment/payment.py +102 -0
- telnyx/resources/phone_number_assignment_by_profile.py +416 -0
- telnyx/resources/phone_number_blocks/__init__.py +33 -0
- telnyx/resources/phone_number_blocks/jobs.py +377 -0
- telnyx/resources/phone_number_blocks/phone_number_blocks.py +102 -0
- telnyx/resources/phone_number_campaigns.py +576 -0
- telnyx/resources/phone_numbers/__init__.py +103 -0
- telnyx/resources/phone_numbers/actions.py +383 -0
- telnyx/resources/phone_numbers/csv_downloads.py +375 -0
- telnyx/resources/phone_numbers/jobs.py +698 -0
- telnyx/resources/phone_numbers/messaging.py +379 -0
- telnyx/resources/phone_numbers/phone_numbers.py +853 -0
- telnyx/resources/phone_numbers/voice.py +468 -0
- telnyx/resources/phone_numbers/voicemail.py +375 -0
- telnyx/resources/phone_numbers_regulatory_requirements.py +185 -0
- telnyx/resources/portability_checks.py +171 -0
- telnyx/resources/porting/__init__.py +61 -0
- telnyx/resources/porting/events.py +354 -0
- telnyx/resources/porting/loa_configurations.py +815 -0
- telnyx/resources/porting/porting.py +231 -0
- telnyx/resources/porting/reports.py +378 -0
- telnyx/resources/porting_orders/__init__.py +159 -0
- telnyx/resources/porting_orders/action_requirements.py +308 -0
- telnyx/resources/porting_orders/actions.py +438 -0
- telnyx/resources/porting_orders/activation_jobs.py +366 -0
- telnyx/resources/porting_orders/additional_documents.py +392 -0
- telnyx/resources/porting_orders/associated_phone_numbers.py +411 -0
- telnyx/resources/porting_orders/comments.py +264 -0
- telnyx/resources/porting_orders/phone_number_blocks.py +405 -0
- telnyx/resources/porting_orders/phone_number_configurations.py +294 -0
- telnyx/resources/porting_orders/phone_number_extensions.py +413 -0
- telnyx/resources/porting_orders/porting_orders.py +1450 -0
- telnyx/resources/porting_orders/verification_codes.py +399 -0
- telnyx/resources/porting_phone_numbers.py +197 -0
- telnyx/resources/portouts/__init__.py +75 -0
- telnyx/resources/portouts/comments.py +252 -0
- telnyx/resources/portouts/events.py +356 -0
- telnyx/resources/portouts/portouts.py +624 -0
- telnyx/resources/portouts/reports.py +378 -0
- telnyx/resources/portouts/supporting_documents.py +258 -0
- telnyx/resources/private_wireless_gateways.py +502 -0
- telnyx/resources/public_internet_gateways.py +458 -0
- telnyx/resources/queues/__init__.py +33 -0
- telnyx/resources/queues/calls.py +266 -0
- telnyx/resources/queues/queues.py +195 -0
- telnyx/resources/recording_transcriptions.py +301 -0
- telnyx/resources/recordings/__init__.py +33 -0
- telnyx/resources/recordings/actions.py +168 -0
- telnyx/resources/recordings/recordings.py +391 -0
- telnyx/resources/regions.py +135 -0
- telnyx/resources/regulatory_requirements.py +183 -0
- telnyx/resources/reports/__init__.py +47 -0
- telnyx/resources/reports/cdr_usage_reports.py +205 -0
- telnyx/resources/reports/mdr_usage_reports.py +561 -0
- telnyx/resources/reports/reports.py +504 -0
- telnyx/resources/requirement_groups.py +625 -0
- telnyx/resources/requirement_types.py +277 -0
- telnyx/resources/requirements.py +315 -0
- telnyx/resources/room_compositions.py +516 -0
- telnyx/resources/room_participants.py +288 -0
- telnyx/resources/room_recordings.py +483 -0
- telnyx/resources/rooms/__init__.py +47 -0
- telnyx/resources/rooms/actions.py +310 -0
- telnyx/resources/rooms/rooms.py +736 -0
- telnyx/resources/rooms/sessions/__init__.py +33 -0
- telnyx/resources/rooms/sessions/actions.py +489 -0
- telnyx/resources/rooms/sessions/sessions.py +605 -0
- telnyx/resources/seti.py +179 -0
- telnyx/resources/short_codes.py +371 -0
- telnyx/resources/sim_card_data_usage_notifications.py +569 -0
- telnyx/resources/sim_card_groups/__init__.py +33 -0
- telnyx/resources/sim_card_groups/actions.py +690 -0
- telnyx/resources/sim_card_groups/sim_card_groups.py +632 -0
- telnyx/resources/sim_card_order_preview.py +187 -0
- telnyx/resources/sim_card_orders.py +381 -0
- telnyx/resources/sim_cards/__init__.py +33 -0
- telnyx/resources/sim_cards/actions.py +932 -0
- telnyx/resources/sim_cards/sim_cards.py +970 -0
- telnyx/resources/siprec_connectors.py +481 -0
- telnyx/resources/storage/__init__.py +61 -0
- telnyx/resources/storage/buckets/__init__.py +47 -0
- telnyx/resources/storage/buckets/buckets.py +257 -0
- telnyx/resources/storage/buckets/ssl_certificate.py +365 -0
- telnyx/resources/storage/buckets/usage.py +266 -0
- telnyx/resources/storage/migration_sources.py +412 -0
- telnyx/resources/storage/migrations/__init__.py +33 -0
- telnyx/resources/storage/migrations/actions.py +163 -0
- telnyx/resources/storage/migrations/migrations.py +371 -0
- telnyx/resources/storage/storage.py +231 -0
- telnyx/resources/sub_number_orders.py +561 -0
- telnyx/resources/sub_number_orders_report.py +388 -0
- telnyx/resources/telephony_credentials.py +665 -0
- telnyx/resources/texml/__init__.py +47 -0
- telnyx/resources/texml/accounts/__init__.py +75 -0
- telnyx/resources/texml/accounts/accounts.py +453 -0
- telnyx/resources/texml/accounts/calls/__init__.py +75 -0
- telnyx/resources/texml/accounts/calls/calls.py +1412 -0
- telnyx/resources/texml/accounts/calls/recordings.py +187 -0
- telnyx/resources/texml/accounts/calls/recordings_json.py +334 -0
- telnyx/resources/texml/accounts/calls/siprec.py +191 -0
- telnyx/resources/texml/accounts/calls/streams.py +189 -0
- telnyx/resources/texml/accounts/conferences/__init__.py +33 -0
- telnyx/resources/texml/accounts/conferences/conferences.py +659 -0
- telnyx/resources/texml/accounts/conferences/participants.py +1106 -0
- telnyx/resources/texml/accounts/recordings/__init__.py +33 -0
- telnyx/resources/texml/accounts/recordings/json.py +255 -0
- telnyx/resources/texml/accounts/recordings/recordings.py +102 -0
- telnyx/resources/texml/accounts/transcriptions/__init__.py +33 -0
- telnyx/resources/texml/accounts/transcriptions/json.py +265 -0
- telnyx/resources/texml/accounts/transcriptions/transcriptions.py +102 -0
- telnyx/resources/texml/calls.py +632 -0
- telnyx/resources/texml/texml.py +259 -0
- telnyx/resources/texml_applications.py +807 -0
- telnyx/resources/text_to_speech.py +327 -0
- telnyx/resources/usage_reports.py +388 -0
- telnyx/resources/user_addresses.py +539 -0
- telnyx/resources/user_tags.py +177 -0
- telnyx/resources/verifications/__init__.py +47 -0
- telnyx/resources/verifications/actions.py +195 -0
- telnyx/resources/verifications/by_phone_number/__init__.py +33 -0
- telnyx/resources/verifications/by_phone_number/actions.py +195 -0
- telnyx/resources/verifications/by_phone_number/by_phone_number.py +199 -0
- telnyx/resources/verifications/verifications.py +580 -0
- telnyx/resources/verified_numbers/__init__.py +33 -0
- telnyx/resources/verified_numbers/actions.py +179 -0
- telnyx/resources/verified_numbers/verified_numbers.py +469 -0
- telnyx/resources/verify_profiles.py +809 -0
- telnyx/resources/virtual_cross_connects.py +773 -0
- telnyx/resources/virtual_cross_connects_coverage.py +215 -0
- telnyx/resources/webhook_deliveries.py +282 -0
- telnyx/resources/webhooks.py +34 -0
- telnyx/resources/well_known.py +198 -0
- telnyx/resources/wireguard_interfaces.py +470 -0
- telnyx/resources/wireguard_peers.py +631 -0
- telnyx/resources/wireless/__init__.py +33 -0
- telnyx/resources/wireless/detail_records_reports.py +450 -0
- telnyx/resources/wireless/wireless.py +211 -0
- telnyx/resources/wireless_blocklist_values.py +181 -0
- telnyx/resources/wireless_blocklists.py +589 -0
- telnyx/types/__init__.py +1378 -0
- telnyx/types/access_ip_address_create_params.py +13 -0
- telnyx/types/access_ip_address_list_params.py +63 -0
- telnyx/types/access_ip_address_list_response.py +24 -0
- telnyx/types/access_ip_address_response.py +28 -0
- telnyx/types/access_ip_range.py +26 -0
- telnyx/types/access_ip_range_create_params.py +13 -0
- telnyx/types/access_ip_range_list_params.py +83 -0
- telnyx/types/access_ip_range_list_response.py +24 -0
- telnyx/types/actions/__init__.py +8 -0
- telnyx/types/actions/purchase_create_params.py +37 -0
- telnyx/types/actions/purchase_create_response.py +35 -0
- telnyx/types/actions/register_create_params.py +26 -0
- telnyx/types/actions/register_create_response.py +35 -0
- telnyx/types/address.py +102 -0
- telnyx/types/address_create_params.py +90 -0
- telnyx/types/address_create_response.py +12 -0
- telnyx/types/address_delete_response.py +12 -0
- telnyx/types/address_list_params.py +106 -0
- telnyx/types/address_list_response.py +15 -0
- telnyx/types/address_retrieve_response.py +12 -0
- telnyx/types/addresses/__init__.py +8 -0
- telnyx/types/addresses/action_accept_suggestions_params.py +14 -0
- telnyx/types/addresses/action_accept_suggestions_response.py +22 -0
- telnyx/types/addresses/action_validate_params.py +36 -0
- telnyx/types/addresses/action_validate_response.py +64 -0
- telnyx/types/advanced_order_create_params.py +27 -0
- telnyx/types/advanced_order_update_params.py +27 -0
- telnyx/types/ai/__init__.py +88 -0
- telnyx/types/ai/assistant_chat_params.py +18 -0
- telnyx/types/ai/assistant_chat_response.py +10 -0
- telnyx/types/ai/assistant_clone_response.py +92 -0
- telnyx/types/ai/assistant_create_params.py +86 -0
- telnyx/types/ai/assistant_create_response.py +92 -0
- telnyx/types/ai/assistant_delete_response.py +13 -0
- telnyx/types/ai/assistant_get_texml_response.py +7 -0
- telnyx/types/ai/assistant_import_params.py +19 -0
- telnyx/types/ai/assistant_param.py +108 -0
- telnyx/types/ai/assistant_retrieve_params.py +19 -0
- telnyx/types/ai/assistant_retrieve_response.py +92 -0
- telnyx/types/ai/assistant_tool.py +122 -0
- telnyx/types/ai/assistant_tool_param.py +123 -0
- telnyx/types/ai/assistant_update_params.py +92 -0
- telnyx/types/ai/assistants/__init__.py +30 -0
- telnyx/types/ai/assistants/assistant_test.py +52 -0
- telnyx/types/ai/assistants/canary_deploy_create_params.py +15 -0
- telnyx/types/ai/assistants/canary_deploy_response.py +19 -0
- telnyx/types/ai/assistants/canary_deploy_update_params.py +15 -0
- telnyx/types/ai/assistants/conversation_channel_type.py +7 -0
- telnyx/types/ai/assistants/event_status.py +7 -0
- telnyx/types/ai/assistants/scheduled_event_create_params.py +35 -0
- telnyx/types/ai/assistants/scheduled_event_list_params.py +32 -0
- telnyx/types/ai/assistants/scheduled_event_list_response.py +19 -0
- telnyx/types/ai/assistants/scheduled_event_response.py +11 -0
- telnyx/types/ai/assistants/scheduled_phone_call_event_response.py +38 -0
- telnyx/types/ai/assistants/scheduled_sms_event_response.py +38 -0
- telnyx/types/ai/assistants/telnyx_conversation_channel.py +7 -0
- telnyx/types/ai/assistants/test_create_params.py +72 -0
- telnyx/types/ai/assistants/test_list_params.py +32 -0
- telnyx/types/ai/assistants/test_list_response.py +18 -0
- telnyx/types/ai/assistants/test_update_params.py +47 -0
- telnyx/types/ai/assistants/tests/__init__.py +9 -0
- telnyx/types/ai/assistants/tests/run_list_params.py +26 -0
- telnyx/types/ai/assistants/tests/run_trigger_params.py +16 -0
- telnyx/types/ai/assistants/tests/test_run_response.py +76 -0
- telnyx/types/ai/assistants/tests/test_status.py +7 -0
- telnyx/types/ai/assistants/tests/test_suite_list_response.py +13 -0
- telnyx/types/ai/assistants/tests/test_suites/__init__.py +9 -0
- telnyx/types/ai/assistants/tests/test_suites/meta.py +15 -0
- telnyx/types/ai/assistants/tests/test_suites/paginated_test_run_list.py +17 -0
- telnyx/types/ai/assistants/tests/test_suites/run_list_params.py +29 -0
- telnyx/types/ai/assistants/tests/test_suites/run_trigger_params.py +16 -0
- telnyx/types/ai/assistants/tests/test_suites/run_trigger_response.py +10 -0
- telnyx/types/ai/assistants/tool_test_params.py +18 -0
- telnyx/types/ai/assistants/tool_test_response.py +24 -0
- telnyx/types/ai/assistants/version_config.py +13 -0
- telnyx/types/ai/assistants/version_config_param.py +15 -0
- telnyx/types/ai/assistants/version_promote_response.py +92 -0
- telnyx/types/ai/assistants/version_retrieve_params.py +13 -0
- telnyx/types/ai/assistants/version_retrieve_response.py +92 -0
- telnyx/types/ai/assistants/version_update_params.py +88 -0
- telnyx/types/ai/assistants/version_update_response.py +92 -0
- telnyx/types/ai/assistants_list.py +96 -0
- telnyx/types/ai/audio_transcribe_params.py +46 -0
- telnyx/types/ai/audio_transcribe_response.py +38 -0
- telnyx/types/ai/background_task_status.py +7 -0
- telnyx/types/ai/chat_create_completion_params.py +185 -0
- telnyx/types/ai/cluster_compute_params.py +38 -0
- telnyx/types/ai/cluster_compute_response.py +13 -0
- telnyx/types/ai/cluster_fetch_graph_params.py +11 -0
- telnyx/types/ai/cluster_list_params.py +21 -0
- telnyx/types/ai/cluster_list_response.py +32 -0
- telnyx/types/ai/cluster_retrieve_params.py +18 -0
- telnyx/types/ai/cluster_retrieve_response.py +25 -0
- telnyx/types/ai/conversation.py +27 -0
- telnyx/types/ai/conversation_add_message_params.py +30 -0
- telnyx/types/ai/conversation_create_params.py +15 -0
- telnyx/types/ai/conversation_list_params.py +62 -0
- telnyx/types/ai/conversation_list_response.py +12 -0
- telnyx/types/ai/conversation_retrieve_conversations_insights_response.py +41 -0
- telnyx/types/ai/conversation_retrieve_response.py +12 -0
- telnyx/types/ai/conversation_update_params.py +13 -0
- telnyx/types/ai/conversation_update_response.py +12 -0
- telnyx/types/ai/conversations/__init__.py +21 -0
- telnyx/types/ai/conversations/insight_create_params.py +19 -0
- telnyx/types/ai/conversations/insight_group_insight_groups_params.py +15 -0
- telnyx/types/ai/conversations/insight_group_retrieve_insight_groups_params.py +23 -0
- telnyx/types/ai/conversations/insight_group_retrieve_insight_groups_response.py +15 -0
- telnyx/types/ai/conversations/insight_group_update_params.py +15 -0
- telnyx/types/ai/conversations/insight_groups/__init__.py +3 -0
- telnyx/types/ai/conversations/insight_list_params.py +23 -0
- telnyx/types/ai/conversations/insight_list_response.py +15 -0
- telnyx/types/ai/conversations/insight_template.py +26 -0
- telnyx/types/ai/conversations/insight_template_detail.py +10 -0
- telnyx/types/ai/conversations/insight_template_group.py +23 -0
- telnyx/types/ai/conversations/insight_template_group_detail.py +10 -0
- telnyx/types/ai/conversations/insight_update_params.py +18 -0
- telnyx/types/ai/conversations/message_list_response.py +56 -0
- telnyx/types/ai/embedding_create_params.py +21 -0
- telnyx/types/ai/embedding_list_params.py +14 -0
- telnyx/types/ai/embedding_list_response.py +30 -0
- telnyx/types/ai/embedding_response.py +25 -0
- telnyx/types/ai/embedding_retrieve_response.py +25 -0
- telnyx/types/ai/embedding_similarity_search_params.py +15 -0
- telnyx/types/ai/embedding_similarity_search_response.py +33 -0
- telnyx/types/ai/embedding_url_params.py +15 -0
- telnyx/types/ai/embeddings/__init__.py +6 -0
- telnyx/types/ai/embeddings/bucket_list_response.py +15 -0
- telnyx/types/ai/embeddings/bucket_retrieve_response.py +26 -0
- telnyx/types/ai/enabled_features.py +7 -0
- telnyx/types/ai/fine_tuning/__init__.py +7 -0
- telnyx/types/ai/fine_tuning/fine_tuning_job.py +51 -0
- telnyx/types/ai/fine_tuning/job_create_params.py +31 -0
- telnyx/types/ai/fine_tuning/job_list_response.py +12 -0
- telnyx/types/ai/hangup_tool.py +14 -0
- telnyx/types/ai/hangup_tool_param.py +15 -0
- telnyx/types/ai/hangup_tool_params.py +12 -0
- telnyx/types/ai/hangup_tool_params_param.py +12 -0
- telnyx/types/ai/import_metadata.py +16 -0
- telnyx/types/ai/inference_embedding_bucket_ids.py +19 -0
- telnyx/types/ai/inference_embedding_bucket_ids_param.py +21 -0
- telnyx/types/ai/inference_embedding_transfer_tool_params.py +43 -0
- telnyx/types/ai/inference_embedding_transfer_tool_params_param.py +50 -0
- telnyx/types/ai/inference_embedding_webhook_tool_params.py +101 -0
- telnyx/types/ai/inference_embedding_webhook_tool_params_param.py +103 -0
- telnyx/types/ai/insight_settings.py +16 -0
- telnyx/types/ai/insight_settings_param.py +16 -0
- telnyx/types/ai/messaging_settings.py +21 -0
- telnyx/types/ai/messaging_settings_param.py +21 -0
- telnyx/types/ai/privacy_settings.py +19 -0
- telnyx/types/ai/privacy_settings_param.py +19 -0
- telnyx/types/ai/recursive_cluster.py +34 -0
- telnyx/types/ai/retrieval_tool.py +14 -0
- telnyx/types/ai/retrieval_tool_param.py +15 -0
- telnyx/types/ai/telephony_settings.py +22 -0
- telnyx/types/ai/telephony_settings_param.py +22 -0
- telnyx/types/ai/transcription_settings.py +26 -0
- telnyx/types/ai/transcription_settings_param.py +26 -0
- telnyx/types/ai/transfer_tool.py +14 -0
- telnyx/types/ai/transfer_tool_param.py +15 -0
- telnyx/types/ai/voice_settings.py +36 -0
- telnyx/types/ai/voice_settings_param.py +36 -0
- telnyx/types/ai/webhook_tool.py +14 -0
- telnyx/types/ai/webhook_tool_param.py +15 -0
- telnyx/types/ai_retrieve_models_response.py +23 -0
- telnyx/types/ai_summarize_params.py +18 -0
- telnyx/types/ai_summarize_response.py +13 -0
- telnyx/types/alt_business_id_type.py +7 -0
- telnyx/types/anchorsite_override.py +18 -0
- telnyx/types/api_error.py +27 -0
- telnyx/types/audit_event_list_params.py +44 -0
- telnyx/types/audit_event_list_response.py +82 -0
- telnyx/types/authentication_provider.py +71 -0
- telnyx/types/authentication_provider_create_params.py +32 -0
- telnyx/types/authentication_provider_create_response.py +12 -0
- telnyx/types/authentication_provider_delete_response.py +12 -0
- telnyx/types/authentication_provider_list_params.py +51 -0
- telnyx/types/authentication_provider_list_response.py +15 -0
- telnyx/types/authentication_provider_retrieve_response.py +12 -0
- telnyx/types/authentication_provider_update_params.py +32 -0
- telnyx/types/authentication_provider_update_response.py +12 -0
- telnyx/types/available_phone_number_block_list_params.py +30 -0
- telnyx/types/available_phone_number_block_list_response.py +60 -0
- telnyx/types/available_phone_number_list_params.py +92 -0
- telnyx/types/available_phone_number_list_response.py +75 -0
- telnyx/types/available_service.py +7 -0
- telnyx/types/azure_configuration_data.py +18 -0
- telnyx/types/azure_configuration_data_param.py +18 -0
- telnyx/types/balance_retrieve_response.py +32 -0
- telnyx/types/billing_group.py +32 -0
- telnyx/types/billing_group_create_params.py +12 -0
- telnyx/types/billing_group_create_response.py +12 -0
- telnyx/types/billing_group_delete_response.py +12 -0
- telnyx/types/billing_group_list_params.py +23 -0
- telnyx/types/billing_group_list_response.py +15 -0
- telnyx/types/billing_group_retrieve_response.py +12 -0
- telnyx/types/billing_group_update_params.py +12 -0
- telnyx/types/billing_group_update_response.py +12 -0
- telnyx/types/brand/__init__.py +7 -0
- telnyx/types/brand/external_vetting_import_params.py +23 -0
- telnyx/types/brand/external_vetting_import_response.py +43 -0
- telnyx/types/brand/external_vetting_order_params.py +17 -0
- telnyx/types/brand_create_params.py +91 -0
- telnyx/types/brand_get_feedback_response.py +31 -0
- telnyx/types/brand_identity_status.py +7 -0
- telnyx/types/brand_list_params.py +51 -0
- telnyx/types/brand_list_response.py +61 -0
- telnyx/types/brand_retrieve_response.py +14 -0
- telnyx/types/brand_update_params.py +96 -0
- telnyx/types/bulk_sim_card_action_list_params.py +20 -0
- telnyx/types/bulk_sim_card_action_list_response.py +47 -0
- telnyx/types/bulk_sim_card_action_retrieve_response.py +44 -0
- telnyx/types/bundle_pricing/__init__.py +20 -0
- telnyx/types/bundle_pricing/billing_bundle_list_params.py +43 -0
- telnyx/types/bundle_pricing/billing_bundle_list_response.py +15 -0
- telnyx/types/bundle_pricing/billing_bundle_retrieve_response.py +68 -0
- telnyx/types/bundle_pricing/billing_bundle_summary.py +36 -0
- telnyx/types/bundle_pricing/pagination_response.py +19 -0
- telnyx/types/bundle_pricing/user_bundle.py +31 -0
- telnyx/types/bundle_pricing/user_bundle_create_params.py +29 -0
- telnyx/types/bundle_pricing/user_bundle_create_response.py +12 -0
- telnyx/types/bundle_pricing/user_bundle_deactivate_response.py +10 -0
- telnyx/types/bundle_pricing/user_bundle_list_params.py +43 -0
- telnyx/types/bundle_pricing/user_bundle_list_resources_response.py +12 -0
- telnyx/types/bundle_pricing/user_bundle_list_response.py +15 -0
- telnyx/types/bundle_pricing/user_bundle_list_unused_params.py +29 -0
- telnyx/types/bundle_pricing/user_bundle_list_unused_response.py +19 -0
- telnyx/types/bundle_pricing/user_bundle_resource.py +25 -0
- telnyx/types/bundle_pricing/user_bundle_retrieve_response.py +10 -0
- telnyx/types/call_ai_gather_ended_webhook_event.py +78 -0
- telnyx/types/call_ai_gather_message_history_updated_webhook_event.py +69 -0
- telnyx/types/call_ai_gather_partial_results_webhook_event.py +75 -0
- telnyx/types/call_answered_webhook_event.py +75 -0
- telnyx/types/call_bridged_webhook_event.py +58 -0
- telnyx/types/call_control_application.py +80 -0
- telnyx/types/call_control_application_create_params.py +70 -0
- telnyx/types/call_control_application_create_response.py +12 -0
- telnyx/types/call_control_application_delete_response.py +12 -0
- telnyx/types/call_control_application_inbound.py +39 -0
- telnyx/types/call_control_application_inbound_param.py +38 -0
- telnyx/types/call_control_application_list_params.py +141 -0
- telnyx/types/call_control_application_list_response.py +15 -0
- telnyx/types/call_control_application_outbound.py +18 -0
- telnyx/types/call_control_application_outbound_param.py +18 -0
- telnyx/types/call_control_application_retrieve_response.py +12 -0
- telnyx/types/call_control_application_update_params.py +74 -0
- telnyx/types/call_control_application_update_response.py +12 -0
- telnyx/types/call_conversation_ended_webhook_event.py +84 -0
- telnyx/types/call_conversation_insights_generated_webhook_event.py +67 -0
- telnyx/types/call_dial_params.py +435 -0
- telnyx/types/call_dial_response.py +56 -0
- telnyx/types/call_dtmf_received_webhook_event.py +61 -0
- telnyx/types/call_enqueued_webhook_event.py +59 -0
- telnyx/types/call_event_list_params.py +123 -0
- telnyx/types/call_event_list_response.py +43 -0
- telnyx/types/call_fork_started_webhook_event.py +53 -0
- telnyx/types/call_fork_stopped_webhook_event.py +53 -0
- telnyx/types/call_gather_ended_webhook_event.py +64 -0
- telnyx/types/call_hangup_webhook_event.py +150 -0
- telnyx/types/call_initiated_webhook_event.py +96 -0
- telnyx/types/call_left_queue_webhook_event.py +62 -0
- telnyx/types/call_machine_detection_ended_webhook_event.py +61 -0
- telnyx/types/call_machine_greeting_ended_webhook_event.py +61 -0
- telnyx/types/call_machine_premium_detection_ended_webhook_event.py +63 -0
- telnyx/types/call_machine_premium_greeting_ended_webhook_event.py +61 -0
- telnyx/types/call_playback_ended_webhook_event.py +70 -0
- telnyx/types/call_playback_started_webhook_event.py +62 -0
- telnyx/types/call_recording_error_webhook_event.py +60 -0
- telnyx/types/call_recording_saved_webhook_event.py +94 -0
- telnyx/types/call_recording_transcription_saved_webhook_event.py +71 -0
- telnyx/types/call_refer_completed_webhook_event.py +61 -0
- telnyx/types/call_refer_failed_webhook_event.py +61 -0
- telnyx/types/call_refer_started_webhook_event.py +61 -0
- telnyx/types/call_retrieve_status_response.py +50 -0
- telnyx/types/call_siprec_failed_webhook_event.py +53 -0
- telnyx/types/call_siprec_started_webhook_event.py +50 -0
- telnyx/types/call_siprec_stopped_webhook_event.py +53 -0
- telnyx/types/call_speak_ended_webhook_event.py +53 -0
- telnyx/types/call_speak_started_webhook_event.py +50 -0
- telnyx/types/call_streaming_failed_webhook_event.py +70 -0
- telnyx/types/call_streaming_started_webhook_event.py +53 -0
- telnyx/types/call_streaming_stopped_webhook_event.py +53 -0
- telnyx/types/calls/__init__.py +95 -0
- telnyx/types/calls/action_answer_params.py +148 -0
- telnyx/types/calls/action_answer_response.py +21 -0
- telnyx/types/calls/action_bridge_params.py +170 -0
- telnyx/types/calls/action_bridge_response.py +12 -0
- telnyx/types/calls/action_enqueue_params.py +37 -0
- telnyx/types/calls/action_enqueue_response.py +12 -0
- telnyx/types/calls/action_gather_params.py +55 -0
- telnyx/types/calls/action_gather_response.py +12 -0
- telnyx/types/calls/action_gather_using_ai_params.py +135 -0
- telnyx/types/calls/action_gather_using_ai_response.py +18 -0
- telnyx/types/calls/action_gather_using_audio_params.py +87 -0
- telnyx/types/calls/action_gather_using_audio_response.py +12 -0
- telnyx/types/calls/action_gather_using_speak_params.py +157 -0
- telnyx/types/calls/action_gather_using_speak_response.py +12 -0
- telnyx/types/calls/action_hangup_params.py +22 -0
- telnyx/types/calls/action_hangup_response.py +12 -0
- telnyx/types/calls/action_leave_queue_params.py +22 -0
- telnyx/types/calls/action_leave_queue_response.py +12 -0
- telnyx/types/calls/action_pause_recording_params.py +25 -0
- telnyx/types/calls/action_pause_recording_response.py +12 -0
- telnyx/types/calls/action_refer_params.py +44 -0
- telnyx/types/calls/action_refer_response.py +12 -0
- telnyx/types/calls/action_reject_params.py +25 -0
- telnyx/types/calls/action_reject_response.py +12 -0
- telnyx/types/calls/action_resume_recording_params.py +25 -0
- telnyx/types/calls/action_resume_recording_response.py +12 -0
- telnyx/types/calls/action_send_dtmf_params.py +35 -0
- telnyx/types/calls/action_send_dtmf_response.py +12 -0
- telnyx/types/calls/action_send_sip_info_params.py +31 -0
- telnyx/types/calls/action_send_sip_info_response.py +12 -0
- telnyx/types/calls/action_speak_params.py +125 -0
- telnyx/types/calls/action_speak_response.py +12 -0
- telnyx/types/calls/action_start_ai_assistant_params.py +97 -0
- telnyx/types/calls/action_start_ai_assistant_response.py +18 -0
- telnyx/types/calls/action_start_forking_params.py +41 -0
- telnyx/types/calls/action_start_forking_response.py +12 -0
- telnyx/types/calls/action_start_noise_suppression_params.py +31 -0
- telnyx/types/calls/action_start_noise_suppression_response.py +12 -0
- telnyx/types/calls/action_start_playback_params.py +83 -0
- telnyx/types/calls/action_start_playback_response.py +12 -0
- telnyx/types/calls/action_start_recording_params.py +245 -0
- telnyx/types/calls/action_start_recording_response.py +12 -0
- telnyx/types/calls/action_start_siprec_params.py +44 -0
- telnyx/types/calls/action_start_siprec_response.py +12 -0
- telnyx/types/calls/action_start_streaming_params.py +61 -0
- telnyx/types/calls/action_start_streaming_response.py +12 -0
- telnyx/types/calls/action_start_transcription_params.py +41 -0
- telnyx/types/calls/action_start_transcription_response.py +12 -0
- telnyx/types/calls/action_stop_ai_assistant_params.py +22 -0
- telnyx/types/calls/action_stop_ai_assistant_response.py +12 -0
- telnyx/types/calls/action_stop_forking_params.py +29 -0
- telnyx/types/calls/action_stop_forking_response.py +12 -0
- telnyx/types/calls/action_stop_gather_params.py +22 -0
- telnyx/types/calls/action_stop_gather_response.py +12 -0
- telnyx/types/calls/action_stop_noise_suppression_params.py +22 -0
- telnyx/types/calls/action_stop_noise_suppression_response.py +12 -0
- telnyx/types/calls/action_stop_playback_params.py +32 -0
- telnyx/types/calls/action_stop_playback_response.py +12 -0
- telnyx/types/calls/action_stop_recording_params.py +25 -0
- telnyx/types/calls/action_stop_recording_response.py +12 -0
- telnyx/types/calls/action_stop_siprec_params.py +22 -0
- telnyx/types/calls/action_stop_siprec_response.py +12 -0
- telnyx/types/calls/action_stop_streaming_params.py +29 -0
- telnyx/types/calls/action_stop_streaming_response.py +12 -0
- telnyx/types/calls/action_stop_transcription_params.py +22 -0
- telnyx/types/calls/action_stop_transcription_response.py +12 -0
- telnyx/types/calls/action_switch_supervisor_role_params.py +16 -0
- telnyx/types/calls/action_switch_supervisor_role_response.py +12 -0
- telnyx/types/calls/action_transfer_params.py +249 -0
- telnyx/types/calls/action_transfer_response.py +12 -0
- telnyx/types/calls/action_update_client_state_params.py +15 -0
- telnyx/types/calls/action_update_client_state_response.py +12 -0
- telnyx/types/calls/aws_voice_settings_param.py +9 -0
- telnyx/types/calls/call_control_command_result.py +11 -0
- telnyx/types/calls/eleven_labs_voice_settings_param.py +17 -0
- telnyx/types/calls/google_transcription_language.py +88 -0
- telnyx/types/calls/interruption_settings_param.py +12 -0
- telnyx/types/calls/loopcount_param.py +10 -0
- telnyx/types/calls/telnyx_voice_settings_param.py +15 -0
- telnyx/types/calls/transcription_config_param.py +19 -0
- telnyx/types/calls/transcription_engine_a_config_param.py +65 -0
- telnyx/types/calls/transcription_engine_b_config_param.py +119 -0
- telnyx/types/calls/transcription_start_request_param.py +40 -0
- telnyx/types/campaign/__init__.py +6 -0
- telnyx/types/campaign/usecase_get_cost_params.py +11 -0
- telnyx/types/campaign/usecase_get_cost_response.py +17 -0
- telnyx/types/campaign_builder/__init__.py +5 -0
- telnyx/types/campaign_builder/brand_qualify_by_usecase_response.py +36 -0
- telnyx/types/campaign_builder_create_params.py +146 -0
- telnyx/types/campaign_builder_create_response.py +10 -0
- telnyx/types/campaign_deactivate_response.py +15 -0
- telnyx/types/campaign_get_mno_metadata_response.py +35 -0
- telnyx/types/campaign_get_sharing_status_response.py +16 -0
- telnyx/types/campaign_list_params.py +39 -0
- telnyx/types/campaign_list_response.py +225 -0
- telnyx/types/campaign_sharing_status.py +21 -0
- telnyx/types/campaign_status_update_webhook_event.py +26 -0
- telnyx/types/campaign_submit_appeal_params.py +15 -0
- telnyx/types/campaign_submit_appeal_response.py +13 -0
- telnyx/types/campaign_update_params.py +47 -0
- telnyx/types/channel_zone_list_params.py +23 -0
- telnyx/types/channel_zone_list_response.py +37 -0
- telnyx/types/channel_zone_update_params.py +12 -0
- telnyx/types/channel_zone_update_response.py +30 -0
- telnyx/types/charges_breakdown_retrieve_params.py +27 -0
- telnyx/types/charges_breakdown_retrieve_response.py +60 -0
- telnyx/types/charges_summary_retrieve_params.py +23 -0
- telnyx/types/charges_summary_retrieve_response.py +122 -0
- telnyx/types/client_create_bucket_params.py +13 -0
- telnyx/types/client_delete_objects_params.py +20 -0
- telnyx/types/client_get_object_params.py +15 -0
- telnyx/types/client_list_objects_params.py +13 -0
- telnyx/types/client_put_object_params.py +20 -0
- telnyx/types/cloudflare_sync_status.py +7 -0
- telnyx/types/comment_create_params.py +15 -0
- telnyx/types/comment_create_response.py +36 -0
- telnyx/types/comment_list_params.py +23 -0
- telnyx/types/comment_list_response.py +39 -0
- telnyx/types/comment_mark_as_read_response.py +36 -0
- telnyx/types/comment_retrieve_response.py +36 -0
- telnyx/types/conference.py +53 -0
- telnyx/types/conference_create_params.py +72 -0
- telnyx/types/conference_create_response.py +12 -0
- telnyx/types/conference_created_webhook_event.py +53 -0
- telnyx/types/conference_ended_webhook_event.py +56 -0
- telnyx/types/conference_floor_changed_webhook_event.py +45 -0
- telnyx/types/conference_list_params.py +123 -0
- telnyx/types/conference_list_participants_params.py +51 -0
- telnyx/types/conference_list_participants_response.py +69 -0
- telnyx/types/conference_list_response.py +15 -0
- telnyx/types/conference_participant_joined_webhook_event.py +53 -0
- telnyx/types/conference_participant_left_webhook_event.py +53 -0
- telnyx/types/conference_participant_playback_ended_webhook_event.py +65 -0
- telnyx/types/conference_participant_playback_started_webhook_event.py +65 -0
- telnyx/types/conference_participant_speak_ended_webhook_event.py +56 -0
- telnyx/types/conference_participant_speak_started_webhook_event.py +56 -0
- telnyx/types/conference_playback_ended_webhook_event.py +49 -0
- telnyx/types/conference_playback_started_webhook_event.py +49 -0
- telnyx/types/conference_recording_saved_webhook_event.py +103 -0
- telnyx/types/conference_retrieve_response.py +12 -0
- telnyx/types/conference_speak_ended_webhook_event.py +40 -0
- telnyx/types/conference_speak_started_webhook_event.py +40 -0
- telnyx/types/conferences/__init__.py +33 -0
- telnyx/types/conferences/action_hold_params.py +31 -0
- telnyx/types/conferences/action_hold_response.py +12 -0
- telnyx/types/conferences/action_join_params.py +101 -0
- telnyx/types/conferences/action_join_response.py +12 -0
- telnyx/types/conferences/action_leave_params.py +26 -0
- telnyx/types/conferences/action_leave_response.py +12 -0
- telnyx/types/conferences/action_mute_params.py +17 -0
- telnyx/types/conferences/action_mute_response.py +12 -0
- telnyx/types/conferences/action_play_params.py +39 -0
- telnyx/types/conferences/action_play_response.py +12 -0
- telnyx/types/conferences/action_record_pause_params.py +19 -0
- telnyx/types/conferences/action_record_pause_response.py +12 -0
- telnyx/types/conferences/action_record_resume_params.py +19 -0
- telnyx/types/conferences/action_record_resume_response.py +12 -0
- telnyx/types/conferences/action_record_start_params.py +37 -0
- telnyx/types/conferences/action_record_start_response.py +12 -0
- telnyx/types/conferences/action_record_stop_params.py +25 -0
- telnyx/types/conferences/action_record_stop_response.py +12 -0
- telnyx/types/conferences/action_speak_params.py +111 -0
- telnyx/types/conferences/action_speak_response.py +12 -0
- telnyx/types/conferences/action_stop_params.py +17 -0
- telnyx/types/conferences/action_stop_response.py +12 -0
- telnyx/types/conferences/action_unhold_params.py +17 -0
- telnyx/types/conferences/action_unhold_response.py +12 -0
- telnyx/types/conferences/action_unmute_params.py +18 -0
- telnyx/types/conferences/action_unmute_response.py +12 -0
- telnyx/types/conferences/action_update_params.py +38 -0
- telnyx/types/conferences/action_update_response.py +12 -0
- telnyx/types/conferences/conference_command_result.py +9 -0
- telnyx/types/connection_list_active_calls_params.py +32 -0
- telnyx/types/connection_list_active_calls_response.py +57 -0
- telnyx/types/connection_list_params.py +71 -0
- telnyx/types/connection_list_response.py +60 -0
- telnyx/types/connection_retrieve_response.py +57 -0
- telnyx/types/connection_rtcp_settings.py +25 -0
- telnyx/types/connection_rtcp_settings_param.py +24 -0
- telnyx/types/consumed_data.py +13 -0
- telnyx/types/country_coverage_retrieve_country_response.py +71 -0
- telnyx/types/country_coverage_retrieve_response.py +71 -0
- telnyx/types/create_verification_response.py +10 -0
- telnyx/types/credential_connection.py +122 -0
- telnyx/types/credential_connection_create_params.py +123 -0
- telnyx/types/credential_connection_create_response.py +12 -0
- telnyx/types/credential_connection_delete_response.py +12 -0
- telnyx/types/credential_connection_list_params.py +71 -0
- telnyx/types/credential_connection_list_response.py +15 -0
- telnyx/types/credential_connection_retrieve_response.py +12 -0
- telnyx/types/credential_connection_update_params.py +119 -0
- telnyx/types/credential_connection_update_response.py +12 -0
- telnyx/types/credential_connections/__init__.py +7 -0
- telnyx/types/credential_connections/action_check_registration_status_response.py +40 -0
- telnyx/types/credential_inbound.py +60 -0
- telnyx/types/credential_inbound_param.py +61 -0
- telnyx/types/credential_outbound.py +66 -0
- telnyx/types/credential_outbound_param.py +64 -0
- telnyx/types/custom_sip_header.py +13 -0
- telnyx/types/custom_sip_header_param.py +15 -0
- telnyx/types/custom_storage_configuration.py +19 -0
- telnyx/types/custom_storage_credential_create_params.py +21 -0
- telnyx/types/custom_storage_credential_create_response.py +21 -0
- telnyx/types/custom_storage_credential_retrieve_response.py +21 -0
- telnyx/types/custom_storage_credential_update_params.py +21 -0
- telnyx/types/custom_storage_credential_update_response.py +21 -0
- telnyx/types/customer_service_record.py +86 -0
- telnyx/types/customer_service_record_create_params.py +49 -0
- telnyx/types/customer_service_record_create_response.py +12 -0
- telnyx/types/customer_service_record_list_params.py +99 -0
- telnyx/types/customer_service_record_list_response.py +15 -0
- telnyx/types/customer_service_record_retrieve_response.py +12 -0
- telnyx/types/customer_service_record_status_changed_webhook_event.py +55 -0
- telnyx/types/customer_service_record_verify_phone_number_coverage_params.py +14 -0
- telnyx/types/customer_service_record_verify_phone_number_coverage_response.py +50 -0
- telnyx/types/delivery_update_webhook_event.py +40 -0
- telnyx/types/detail_record_list_params.py +85 -0
- telnyx/types/detail_record_list_response.py +493 -0
- telnyx/types/dialogflow_config_param.py +15 -0
- telnyx/types/dialogflow_connection_create_params.py +28 -0
- telnyx/types/dialogflow_connection_create_response.py +30 -0
- telnyx/types/dialogflow_connection_retrieve_response.py +30 -0
- telnyx/types/dialogflow_connection_update_params.py +28 -0
- telnyx/types/dialogflow_connection_update_response.py +30 -0
- telnyx/types/doc_service_document.py +48 -0
- telnyx/types/document_delete_response.py +12 -0
- telnyx/types/document_generate_download_link_response.py +14 -0
- telnyx/types/document_link_list_params.py +37 -0
- telnyx/types/document_link_list_response.py +37 -0
- telnyx/types/document_list_params.py +76 -0
- telnyx/types/document_list_response.py +15 -0
- telnyx/types/document_retrieve_response.py +12 -0
- telnyx/types/document_update_params.py +15 -0
- telnyx/types/document_update_response.py +12 -0
- telnyx/types/document_upload_params.py +39 -0
- telnyx/types/document_upload_response.py +12 -0
- telnyx/types/dtmf_type.py +7 -0
- telnyx/types/dynamic_emergency_address.py +52 -0
- telnyx/types/dynamic_emergency_address_create_params.py +31 -0
- telnyx/types/dynamic_emergency_address_create_response.py +12 -0
- telnyx/types/dynamic_emergency_address_delete_response.py +12 -0
- telnyx/types/dynamic_emergency_address_list_params.py +37 -0
- telnyx/types/dynamic_emergency_address_list_response.py +15 -0
- telnyx/types/dynamic_emergency_address_retrieve_response.py +12 -0
- telnyx/types/dynamic_emergency_endpoint.py +33 -0
- telnyx/types/dynamic_emergency_endpoint_create_params.py +16 -0
- telnyx/types/dynamic_emergency_endpoint_create_response.py +12 -0
- telnyx/types/dynamic_emergency_endpoint_delete_response.py +12 -0
- telnyx/types/dynamic_emergency_endpoint_list_params.py +37 -0
- telnyx/types/dynamic_emergency_endpoint_list_response.py +15 -0
- telnyx/types/dynamic_emergency_endpoint_retrieve_response.py +12 -0
- telnyx/types/encrypted_media.py +8 -0
- telnyx/types/entity_type.py +7 -0
- telnyx/types/enum_retrieve_response.py +8 -0
- telnyx/types/external_connection.py +75 -0
- telnyx/types/external_connection_create_params.py +59 -0
- telnyx/types/external_connection_create_response.py +12 -0
- telnyx/types/external_connection_delete_response.py +12 -0
- telnyx/types/external_connection_list_params.py +76 -0
- telnyx/types/external_connection_list_response.py +15 -0
- telnyx/types/external_connection_retrieve_response.py +12 -0
- telnyx/types/external_connection_update_location_params.py +14 -0
- telnyx/types/external_connection_update_location_response.py +19 -0
- telnyx/types/external_connection_update_params.py +56 -0
- telnyx/types/external_connection_update_response.py +12 -0
- telnyx/types/external_connections/__init__.py +30 -0
- telnyx/types/external_connections/civic_address_list_params.py +22 -0
- telnyx/types/external_connections/civic_address_list_response.py +60 -0
- telnyx/types/external_connections/civic_address_retrieve_response.py +60 -0
- telnyx/types/external_connections/external_connection_phone_number.py +35 -0
- telnyx/types/external_connections/log_message_dismiss_response.py +12 -0
- telnyx/types/external_connections/log_message_list_params.py +55 -0
- telnyx/types/external_connections/log_message_list_response.py +42 -0
- telnyx/types/external_connections/log_message_retrieve_response.py +39 -0
- telnyx/types/external_connections/phone_number_list_params.py +56 -0
- telnyx/types/external_connections/phone_number_list_response.py +15 -0
- telnyx/types/external_connections/phone_number_retrieve_response.py +12 -0
- telnyx/types/external_connections/phone_number_update_params.py +14 -0
- telnyx/types/external_connections/phone_number_update_response.py +12 -0
- telnyx/types/external_connections/release_list_params.py +76 -0
- telnyx/types/external_connections/release_list_response.py +43 -0
- telnyx/types/external_connections/release_retrieve_response.py +40 -0
- telnyx/types/external_connections/tn_upload_entry.py +58 -0
- telnyx/types/external_connections/upload.py +33 -0
- telnyx/types/external_connections/upload_create_params.py +28 -0
- telnyx/types/external_connections/upload_create_response.py +15 -0
- telnyx/types/external_connections/upload_list_params.py +72 -0
- telnyx/types/external_connections/upload_list_response.py +15 -0
- telnyx/types/external_connections/upload_pending_count_response.py +22 -0
- telnyx/types/external_connections/upload_refresh_status_response.py +12 -0
- telnyx/types/external_connections/upload_retrieve_response.py +12 -0
- telnyx/types/external_connections/upload_retry_response.py +12 -0
- telnyx/types/external_voice_integrations_pagination_meta.py +17 -0
- telnyx/types/fax.py +108 -0
- telnyx/types/fax_application.py +94 -0
- telnyx/types/fax_application_create_params.py +84 -0
- telnyx/types/fax_application_create_response.py +12 -0
- telnyx/types/fax_application_delete_response.py +12 -0
- telnyx/types/fax_application_list_params.py +65 -0
- telnyx/types/fax_application_list_response.py +15 -0
- telnyx/types/fax_application_retrieve_response.py +12 -0
- telnyx/types/fax_application_update_params.py +90 -0
- telnyx/types/fax_application_update_response.py +12 -0
- telnyx/types/fax_create_params.py +81 -0
- telnyx/types/fax_create_response.py +12 -0
- telnyx/types/fax_delivered_webhook_event.py +69 -0
- telnyx/types/fax_failed_webhook_event.py +66 -0
- telnyx/types/fax_list_params.py +84 -0
- telnyx/types/fax_list_response.py +14 -0
- telnyx/types/fax_media_processed_webhook_event.py +63 -0
- telnyx/types/fax_queued_webhook_event.py +63 -0
- telnyx/types/fax_retrieve_response.py +12 -0
- telnyx/types/fax_sending_started_webhook_event.py +63 -0
- telnyx/types/faxes/__init__.py +6 -0
- telnyx/types/faxes/action_cancel_response.py +11 -0
- telnyx/types/faxes/action_refresh_response.py +11 -0
- telnyx/types/fqdn.py +38 -0
- telnyx/types/fqdn_connection.py +150 -0
- telnyx/types/fqdn_connection_create_params.py +111 -0
- telnyx/types/fqdn_connection_create_response.py +12 -0
- telnyx/types/fqdn_connection_delete_response.py +12 -0
- telnyx/types/fqdn_connection_list_params.py +71 -0
- telnyx/types/fqdn_connection_list_response.py +15 -0
- telnyx/types/fqdn_connection_retrieve_response.py +12 -0
- telnyx/types/fqdn_connection_update_params.py +105 -0
- telnyx/types/fqdn_connection_update_response.py +12 -0
- telnyx/types/fqdn_create_params.py +27 -0
- telnyx/types/fqdn_create_response.py +12 -0
- telnyx/types/fqdn_delete_response.py +12 -0
- telnyx/types/fqdn_list_params.py +44 -0
- telnyx/types/fqdn_list_response.py +15 -0
- telnyx/types/fqdn_retrieve_response.py +12 -0
- telnyx/types/fqdn_update_params.py +27 -0
- telnyx/types/fqdn_update_response.py +12 -0
- telnyx/types/gcs_configuration_data.py +18 -0
- telnyx/types/gcs_configuration_data_param.py +18 -0
- telnyx/types/global_ip_allowed_port_list_response.py +31 -0
- telnyx/types/global_ip_assignment.py +31 -0
- telnyx/types/global_ip_assignment_create_params.py +18 -0
- telnyx/types/global_ip_assignment_create_response.py +12 -0
- telnyx/types/global_ip_assignment_delete_response.py +12 -0
- telnyx/types/global_ip_assignment_health_retrieve_params.py +62 -0
- telnyx/types/global_ip_assignment_health_retrieve_response.py +66 -0
- telnyx/types/global_ip_assignment_list_params.py +23 -0
- telnyx/types/global_ip_assignment_list_response.py +15 -0
- telnyx/types/global_ip_assignment_param.py +18 -0
- telnyx/types/global_ip_assignment_retrieve_response.py +12 -0
- telnyx/types/global_ip_assignment_update_params.py +17 -0
- telnyx/types/global_ip_assignment_update_response.py +12 -0
- telnyx/types/global_ip_assignments_usage_retrieve_params.py +62 -0
- telnyx/types/global_ip_assignments_usage_retrieve_response.py +75 -0
- telnyx/types/global_ip_create_params.py +19 -0
- telnyx/types/global_ip_create_response.py +29 -0
- telnyx/types/global_ip_delete_response.py +29 -0
- telnyx/types/global_ip_health_check_create_params.py +19 -0
- telnyx/types/global_ip_health_check_create_response.py +26 -0
- telnyx/types/global_ip_health_check_delete_response.py +26 -0
- telnyx/types/global_ip_health_check_list_params.py +23 -0
- telnyx/types/global_ip_health_check_list_response.py +29 -0
- telnyx/types/global_ip_health_check_retrieve_response.py +26 -0
- telnyx/types/global_ip_health_check_type_list_response.py +22 -0
- telnyx/types/global_ip_latency_retrieve_params.py +37 -0
- telnyx/types/global_ip_latency_retrieve_response.py +143 -0
- telnyx/types/global_ip_list_params.py +23 -0
- telnyx/types/global_ip_list_response.py +32 -0
- telnyx/types/global_ip_protocol_list_response.py +22 -0
- telnyx/types/global_ip_retrieve_response.py +29 -0
- telnyx/types/global_ip_usage_retrieve_params.py +37 -0
- telnyx/types/global_ip_usage_retrieve_response.py +47 -0
- telnyx/types/inbound_channel_list_response.py +19 -0
- telnyx/types/inbound_channel_update_params.py +12 -0
- telnyx/types/inbound_channel_update_response.py +19 -0
- telnyx/types/inbound_fqdn.py +111 -0
- telnyx/types/inbound_fqdn_param.py +113 -0
- telnyx/types/inbound_ip.py +111 -0
- telnyx/types/inbound_ip_param.py +112 -0
- telnyx/types/inbound_message_webhook_event.py +227 -0
- telnyx/types/integration_secret.py +20 -0
- telnyx/types/integration_secret_create_params.py +30 -0
- telnyx/types/integration_secret_create_response.py +10 -0
- telnyx/types/integration_secret_list_params.py +28 -0
- telnyx/types/integration_secret_list_response.py +24 -0
- telnyx/types/interface.py +19 -0
- telnyx/types/interface_status.py +7 -0
- telnyx/types/inventory_coverage_list_params.py +86 -0
- telnyx/types/inventory_coverage_list_response.py +41 -0
- telnyx/types/invoice_list_params.py +26 -0
- telnyx/types/invoice_list_response.py +38 -0
- telnyx/types/invoice_retrieve_params.py +12 -0
- telnyx/types/invoice_retrieve_response.py +29 -0
- telnyx/types/ip.py +30 -0
- telnyx/types/ip_connection.py +106 -0
- telnyx/types/ip_connection_create_params.py +183 -0
- telnyx/types/ip_connection_create_response.py +12 -0
- telnyx/types/ip_connection_delete_response.py +12 -0
- telnyx/types/ip_connection_list_params.py +71 -0
- telnyx/types/ip_connection_list_response.py +15 -0
- telnyx/types/ip_connection_retrieve_response.py +12 -0
- telnyx/types/ip_connection_update_params.py +102 -0
- telnyx/types/ip_connection_update_response.py +12 -0
- telnyx/types/ip_create_params.py +18 -0
- telnyx/types/ip_create_response.py +12 -0
- telnyx/types/ip_delete_response.py +12 -0
- telnyx/types/ip_list_params.py +40 -0
- telnyx/types/ip_list_response.py +12 -0
- telnyx/types/ip_retrieve_response.py +12 -0
- telnyx/types/ip_update_params.py +18 -0
- telnyx/types/ip_update_response.py +12 -0
- telnyx/types/ledger_billing_group_report.py +32 -0
- telnyx/types/ledger_billing_group_report_create_params.py +15 -0
- telnyx/types/ledger_billing_group_report_create_response.py +12 -0
- telnyx/types/ledger_billing_group_report_retrieve_response.py +12 -0
- telnyx/types/legacy/__init__.py +3 -0
- telnyx/types/legacy/reporting/__init__.py +10 -0
- telnyx/types/legacy/reporting/batch_detail_records/__init__.py +20 -0
- telnyx/types/legacy/reporting/batch_detail_records/messaging_create_params.py +77 -0
- telnyx/types/legacy/reporting/batch_detail_records/messaging_create_response.py +68 -0
- telnyx/types/legacy/reporting/batch_detail_records/messaging_delete_response.py +68 -0
- telnyx/types/legacy/reporting/batch_detail_records/messaging_list_response.py +80 -0
- telnyx/types/legacy/reporting/batch_detail_records/messaging_retrieve_response.py +68 -0
- telnyx/types/legacy/reporting/batch_detail_records/speech_to_text_create_params.py +19 -0
- telnyx/types/legacy/reporting/batch_detail_records/speech_to_text_create_response.py +31 -0
- telnyx/types/legacy/reporting/batch_detail_records/speech_to_text_delete_response.py +31 -0
- telnyx/types/legacy/reporting/batch_detail_records/speech_to_text_list_response.py +31 -0
- telnyx/types/legacy/reporting/batch_detail_records/speech_to_text_retrieve_response.py +31 -0
- telnyx/types/legacy/reporting/batch_detail_records/voice_create_params.py +79 -0
- telnyx/types/legacy/reporting/batch_detail_records/voice_create_response.py +91 -0
- telnyx/types/legacy/reporting/batch_detail_records/voice_delete_response.py +91 -0
- telnyx/types/legacy/reporting/batch_detail_records/voice_list_response.py +102 -0
- telnyx/types/legacy/reporting/batch_detail_records/voice_retrieve_fields_response.py +23 -0
- telnyx/types/legacy/reporting/batch_detail_records/voice_retrieve_response.py +91 -0
- telnyx/types/legacy/reporting/usage_report_retrieve_speech_to_text_params.py +17 -0
- telnyx/types/legacy/reporting/usage_report_retrieve_speech_to_text_response.py +11 -0
- telnyx/types/legacy/reporting/usage_reports/__init__.py +18 -0
- telnyx/types/legacy/reporting/usage_reports/messaging_create_params.py +29 -0
- telnyx/types/legacy/reporting/usage_reports/messaging_create_response.py +43 -0
- telnyx/types/legacy/reporting/usage_reports/messaging_delete_response.py +43 -0
- telnyx/types/legacy/reporting/usage_reports/messaging_list_params.py +15 -0
- telnyx/types/legacy/reporting/usage_reports/messaging_list_response.py +54 -0
- telnyx/types/legacy/reporting/usage_reports/messaging_retrieve_response.py +43 -0
- telnyx/types/legacy/reporting/usage_reports/number_lookup_create_params.py +26 -0
- telnyx/types/legacy/reporting/usage_reports/number_lookup_list_params.py +13 -0
- telnyx/types/legacy/reporting/usage_reports/voice_create_params.py +40 -0
- telnyx/types/legacy/reporting/usage_reports/voice_create_response.py +48 -0
- telnyx/types/legacy/reporting/usage_reports/voice_delete_response.py +48 -0
- telnyx/types/legacy/reporting/usage_reports/voice_list_params.py +15 -0
- telnyx/types/legacy/reporting/usage_reports/voice_list_response.py +59 -0
- telnyx/types/legacy/reporting/usage_reports/voice_retrieve_response.py +48 -0
- telnyx/types/list_buckets_response.py +20 -0
- telnyx/types/list_objects_response.py +24 -0
- telnyx/types/list_retrieve_all_response.py +30 -0
- telnyx/types/list_retrieve_by_zone_response.py +30 -0
- telnyx/types/managed_account.py +61 -0
- telnyx/types/managed_account_balance.py +25 -0
- telnyx/types/managed_account_create_params.py +48 -0
- telnyx/types/managed_account_create_response.py +12 -0
- telnyx/types/managed_account_get_allocatable_global_outbound_channels_response.py +39 -0
- telnyx/types/managed_account_list_params.py +86 -0
- telnyx/types/managed_account_list_response.py +59 -0
- telnyx/types/managed_account_retrieve_response.py +12 -0
- telnyx/types/managed_account_update_global_channel_limit_params.py +17 -0
- telnyx/types/managed_account_update_global_channel_limit_response.py +32 -0
- telnyx/types/managed_account_update_params.py +17 -0
- telnyx/types/managed_account_update_response.py +12 -0
- telnyx/types/managed_accounts/__init__.py +7 -0
- telnyx/types/managed_accounts/action_disable_response.py +12 -0
- telnyx/types/managed_accounts/action_enable_params.py +16 -0
- telnyx/types/managed_accounts/action_enable_response.py +12 -0
- telnyx/types/media_list_params.py +22 -0
- telnyx/types/media_list_response.py +15 -0
- telnyx/types/media_resource.py +24 -0
- telnyx/types/media_retrieve_response.py +12 -0
- telnyx/types/media_update_params.py +21 -0
- telnyx/types/media_update_response.py +12 -0
- telnyx/types/media_upload_params.py +24 -0
- telnyx/types/media_upload_response.py +12 -0
- telnyx/types/message_cancel_scheduled_response.py +198 -0
- telnyx/types/message_retrieve_response.py +215 -0
- telnyx/types/message_schedule_params.py +78 -0
- telnyx/types/message_schedule_response.py +12 -0
- telnyx/types/message_send_group_mms_params.py +43 -0
- telnyx/types/message_send_group_mms_response.py +12 -0
- telnyx/types/message_send_long_code_params.py +58 -0
- telnyx/types/message_send_long_code_response.py +12 -0
- telnyx/types/message_send_number_pool_params.py +57 -0
- telnyx/types/message_send_number_pool_response.py +12 -0
- telnyx/types/message_send_params.py +78 -0
- telnyx/types/message_send_response.py +12 -0
- telnyx/types/message_send_short_code_params.py +58 -0
- telnyx/types/message_send_short_code_response.py +12 -0
- telnyx/types/messages/__init__.py +6 -0
- telnyx/types/messages/rc_generate_deeplink_params.py +15 -0
- telnyx/types/messages/rc_generate_deeplink_response.py +14 -0
- telnyx/types/messaging/__init__.py +9 -0
- telnyx/types/messaging/rc_invite_test_number_response.py +26 -0
- telnyx/types/messaging/rc_list_bulk_capabilities_params.py +17 -0
- telnyx/types/messaging/rc_list_bulk_capabilities_response.py +12 -0
- telnyx/types/messaging/rc_retrieve_capabilities_response.py +12 -0
- telnyx/types/messaging/rcs/__init__.py +7 -0
- telnyx/types/messaging/rcs/agent_list_params.py +23 -0
- telnyx/types/messaging/rcs/agent_list_response.py +15 -0
- telnyx/types/messaging/rcs/agent_update_params.py +19 -0
- telnyx/types/messaging/rcs_capabilities.py +25 -0
- telnyx/types/messaging_error.py +27 -0
- telnyx/types/messaging_hosted_number_delete_response.py +12 -0
- telnyx/types/messaging_hosted_number_order_check_eligibility_params.py +14 -0
- telnyx/types/messaging_hosted_number_order_check_eligibility_response.py +42 -0
- telnyx/types/messaging_hosted_number_order_create_params.py +20 -0
- telnyx/types/messaging_hosted_number_order_create_response.py +12 -0
- telnyx/types/messaging_hosted_number_order_create_verification_codes_params.py +15 -0
- telnyx/types/messaging_hosted_number_order_create_verification_codes_response.py +39 -0
- telnyx/types/messaging_hosted_number_order_delete_response.py +12 -0
- telnyx/types/messaging_hosted_number_order_list_params.py +23 -0
- telnyx/types/messaging_hosted_number_order_list_response.py +15 -0
- telnyx/types/messaging_hosted_number_order_retrieve_response.py +12 -0
- telnyx/types/messaging_hosted_number_order_validate_codes_params.py +18 -0
- telnyx/types/messaging_hosted_number_order_validate_codes_response.py +24 -0
- telnyx/types/messaging_hosted_number_orders/__init__.py +6 -0
- telnyx/types/messaging_hosted_number_orders/action_upload_file_params.py +20 -0
- telnyx/types/messaging_hosted_number_orders/action_upload_file_response.py +12 -0
- telnyx/types/messaging_numbers_bulk_update_create_params.py +23 -0
- telnyx/types/messaging_numbers_bulk_update_create_response.py +29 -0
- telnyx/types/messaging_numbers_bulk_update_retrieve_response.py +29 -0
- telnyx/types/messaging_optout_list_params.py +64 -0
- telnyx/types/messaging_optout_list_response.py +37 -0
- telnyx/types/messaging_profile.py +97 -0
- telnyx/types/messaging_profile_create_params.py +83 -0
- telnyx/types/messaging_profile_create_response.py +12 -0
- telnyx/types/messaging_profile_delete_response.py +12 -0
- telnyx/types/messaging_profile_list_params.py +31 -0
- telnyx/types/messaging_profile_list_phone_numbers_params.py +23 -0
- telnyx/types/messaging_profile_list_phone_numbers_response.py +15 -0
- telnyx/types/messaging_profile_list_response.py +15 -0
- telnyx/types/messaging_profile_list_short_codes_params.py +23 -0
- telnyx/types/messaging_profile_list_short_codes_response.py +15 -0
- telnyx/types/messaging_profile_retrieve_response.py +12 -0
- telnyx/types/messaging_profile_update_params.py +88 -0
- telnyx/types/messaging_profile_update_response.py +12 -0
- telnyx/types/messaging_profiles/__init__.py +10 -0
- telnyx/types/messaging_profiles/auto_resp_config.py +25 -0
- telnyx/types/messaging_profiles/auto_resp_config_response.py +10 -0
- telnyx/types/messaging_profiles/autoresp_config_create_params.py +19 -0
- telnyx/types/messaging_profiles/autoresp_config_list_params.py +35 -0
- telnyx/types/messaging_profiles/autoresp_config_list_response.py +15 -0
- telnyx/types/messaging_profiles/autoresp_config_update_params.py +21 -0
- telnyx/types/messaging_tollfree/__init__.py +3 -0
- telnyx/types/messaging_tollfree/verification/__init__.py +17 -0
- telnyx/types/messaging_tollfree/verification/request_create_params.py +91 -0
- telnyx/types/messaging_tollfree/verification/request_list_params.py +31 -0
- telnyx/types/messaging_tollfree/verification/request_list_response.py +16 -0
- telnyx/types/messaging_tollfree/verification/request_update_params.py +91 -0
- telnyx/types/messaging_tollfree/verification/tf_phone_number.py +11 -0
- telnyx/types/messaging_tollfree/verification/tf_phone_number_param.py +13 -0
- telnyx/types/messaging_tollfree/verification/tf_verification_status.py +9 -0
- telnyx/types/messaging_tollfree/verification/url.py +9 -0
- telnyx/types/messaging_tollfree/verification/url_param.py +11 -0
- telnyx/types/messaging_tollfree/verification/use_case_categories.py +51 -0
- telnyx/types/messaging_tollfree/verification/verification_request_egress.py +67 -0
- telnyx/types/messaging_tollfree/verification/verification_request_status.py +72 -0
- telnyx/types/messaging_tollfree/verification/volume.py +9 -0
- telnyx/types/messaging_url_domain_list_params.py +23 -0
- telnyx/types/messaging_url_domain_list_response.py +24 -0
- telnyx/types/messsage_rcs_params.py +67 -0
- telnyx/types/messsage_rcs_response.py +59 -0
- telnyx/types/mobile_network_operator_list_params.py +62 -0
- telnyx/types/mobile_network_operator_list_response.py +57 -0
- telnyx/types/mobile_push_credential_create_params.py +36 -0
- telnyx/types/mobile_push_credential_list_params.py +37 -0
- telnyx/types/mobile_push_credential_list_response.py +15 -0
- telnyx/types/month_detail.py +18 -0
- telnyx/types/network_coverage_list_params.py +74 -0
- telnyx/types/network_coverage_list_response.py +42 -0
- telnyx/types/network_create_params.py +12 -0
- telnyx/types/network_create_response.py +20 -0
- telnyx/types/network_delete_response.py +20 -0
- telnyx/types/network_list_interfaces_params.py +37 -0
- telnyx/types/network_list_interfaces_response.py +40 -0
- telnyx/types/network_list_params.py +31 -0
- telnyx/types/network_list_response.py +23 -0
- telnyx/types/network_retrieve_response.py +20 -0
- telnyx/types/network_update_params.py +12 -0
- telnyx/types/network_update_response.py +20 -0
- telnyx/types/networks/__init__.py +8 -0
- telnyx/types/networks/default_gateway_create_params.py +12 -0
- telnyx/types/networks/default_gateway_create_response.py +30 -0
- telnyx/types/networks/default_gateway_delete_response.py +30 -0
- telnyx/types/networks/default_gateway_retrieve_response.py +30 -0
- telnyx/types/notification_channel.py +29 -0
- telnyx/types/notification_channel_create_params.py +18 -0
- telnyx/types/notification_channel_create_response.py +13 -0
- telnyx/types/notification_channel_delete_response.py +13 -0
- telnyx/types/notification_channel_list_params.py +94 -0
- telnyx/types/notification_channel_list_response.py +15 -0
- telnyx/types/notification_channel_retrieve_response.py +13 -0
- telnyx/types/notification_channel_update_params.py +18 -0
- telnyx/types/notification_channel_update_response.py +13 -0
- telnyx/types/notification_event_condition_list_params.py +94 -0
- telnyx/types/notification_event_condition_list_response.py +59 -0
- telnyx/types/notification_event_list_params.py +23 -0
- telnyx/types/notification_event_list_response.py +33 -0
- telnyx/types/notification_profile.py +22 -0
- telnyx/types/notification_profile_create_params.py +12 -0
- telnyx/types/notification_profile_create_response.py +13 -0
- telnyx/types/notification_profile_delete_response.py +13 -0
- telnyx/types/notification_profile_list_params.py +23 -0
- telnyx/types/notification_profile_list_response.py +15 -0
- telnyx/types/notification_profile_retrieve_response.py +13 -0
- telnyx/types/notification_profile_update_params.py +12 -0
- telnyx/types/notification_profile_update_response.py +13 -0
- telnyx/types/notification_setting.py +55 -0
- telnyx/types/notification_setting_create_params.py +27 -0
- telnyx/types/notification_setting_create_response.py +12 -0
- telnyx/types/notification_setting_delete_response.py +12 -0
- telnyx/types/notification_setting_list_params.py +94 -0
- telnyx/types/notification_setting_list_response.py +15 -0
- telnyx/types/notification_setting_retrieve_response.py +12 -0
- telnyx/types/number_block_order.py +48 -0
- telnyx/types/number_block_order_create_params.py +24 -0
- telnyx/types/number_block_order_create_response.py +12 -0
- telnyx/types/number_block_order_list_params.py +51 -0
- telnyx/types/number_block_order_list_response.py +15 -0
- telnyx/types/number_block_order_retrieve_response.py +12 -0
- telnyx/types/number_lookup_retrieve_params.py +12 -0
- telnyx/types/number_lookup_retrieve_response.py +145 -0
- telnyx/types/number_order_create_params.py +35 -0
- telnyx/types/number_order_create_response.py +12 -0
- telnyx/types/number_order_list_params.py +55 -0
- telnyx/types/number_order_list_response.py +61 -0
- telnyx/types/number_order_phone_number.py +55 -0
- telnyx/types/number_order_phone_number_list_params.py +20 -0
- telnyx/types/number_order_phone_number_list_response.py +15 -0
- telnyx/types/number_order_phone_number_retrieve_response.py +12 -0
- telnyx/types/number_order_phone_number_update_requirement_group_params.py +12 -0
- telnyx/types/number_order_phone_number_update_requirement_group_response.py +54 -0
- telnyx/types/number_order_phone_number_update_requirements_params.py +14 -0
- telnyx/types/number_order_phone_number_update_requirements_response.py +12 -0
- telnyx/types/number_order_retrieve_response.py +12 -0
- telnyx/types/number_order_status_update_webhook_event.py +38 -0
- telnyx/types/number_order_update_params.py +17 -0
- telnyx/types/number_order_update_response.py +12 -0
- telnyx/types/number_order_with_phone_numbers.py +47 -0
- telnyx/types/number_pool_settings.py +51 -0
- telnyx/types/number_pool_settings_param.py +51 -0
- telnyx/types/number_reservation.py +30 -0
- telnyx/types/number_reservation_create_params.py +17 -0
- telnyx/types/number_reservation_create_response.py +12 -0
- telnyx/types/number_reservation_list_params.py +54 -0
- telnyx/types/number_reservation_list_response.py +15 -0
- telnyx/types/number_reservation_retrieve_response.py +12 -0
- telnyx/types/number_reservations/__init__.py +5 -0
- telnyx/types/number_reservations/action_extend_response.py +12 -0
- telnyx/types/numbers_feature_create_params.py +13 -0
- telnyx/types/numbers_feature_create_response.py +17 -0
- telnyx/types/oauth_client_create_params.py +39 -0
- telnyx/types/oauth_client_create_response.py +63 -0
- telnyx/types/oauth_client_list_params.py +38 -0
- telnyx/types/oauth_client_list_response.py +79 -0
- telnyx/types/oauth_client_retrieve_response.py +63 -0
- telnyx/types/oauth_client_update_params.py +36 -0
- telnyx/types/oauth_client_update_response.py +63 -0
- telnyx/types/oauth_grant_delete_response.py +33 -0
- telnyx/types/oauth_grant_list_params.py +17 -0
- telnyx/types/oauth_grant_list_response.py +49 -0
- telnyx/types/oauth_grant_retrieve_response.py +33 -0
- telnyx/types/oauth_grants_params.py +15 -0
- telnyx/types/oauth_grants_response.py +10 -0
- telnyx/types/oauth_introspect_params.py +12 -0
- telnyx/types/oauth_introspect_response.py +30 -0
- telnyx/types/oauth_register_params.py +39 -0
- telnyx/types/oauth_register_response.py +45 -0
- telnyx/types/oauth_retrieve_authorize_params.py +30 -0
- telnyx/types/oauth_retrieve_jwks_response.py +25 -0
- telnyx/types/oauth_retrieve_response.py +47 -0
- telnyx/types/oauth_token_params.py +33 -0
- telnyx/types/oauth_token_response.py +25 -0
- telnyx/types/operator_connect/__init__.py +5 -0
- telnyx/types/operator_connect/action_refresh_response.py +15 -0
- telnyx/types/ota_update_list_params.py +40 -0
- telnyx/types/ota_update_list_response.py +39 -0
- telnyx/types/ota_update_retrieve_response.py +71 -0
- telnyx/types/outbound_call_recording.py +28 -0
- telnyx/types/outbound_call_recording_param.py +29 -0
- telnyx/types/outbound_fqdn.py +86 -0
- telnyx/types/outbound_fqdn_param.py +85 -0
- telnyx/types/outbound_ip.py +73 -0
- telnyx/types/outbound_ip_param.py +71 -0
- telnyx/types/outbound_message_payload.py +196 -0
- telnyx/types/outbound_voice_profile.py +84 -0
- telnyx/types/outbound_voice_profile_create_params.py +72 -0
- telnyx/types/outbound_voice_profile_create_response.py +12 -0
- telnyx/types/outbound_voice_profile_delete_response.py +12 -0
- telnyx/types/outbound_voice_profile_list_params.py +70 -0
- telnyx/types/outbound_voice_profile_list_response.py +15 -0
- telnyx/types/outbound_voice_profile_retrieve_response.py +12 -0
- telnyx/types/outbound_voice_profile_update_params.py +72 -0
- telnyx/types/outbound_voice_profile_update_response.py +12 -0
- telnyx/types/pagination_meta.py +17 -0
- telnyx/types/partner_campaign_list_params.py +39 -0
- telnyx/types/partner_campaign_list_response.py +18 -0
- telnyx/types/partner_campaign_list_shared_by_me_params.py +20 -0
- telnyx/types/partner_campaign_list_shared_by_me_response.py +45 -0
- telnyx/types/partner_campaign_retrieve_sharing_status_response.py +10 -0
- telnyx/types/partner_campaign_update_params.py +17 -0
- telnyx/types/payment/__init__.py +7 -0
- telnyx/types/payment/auto_recharge_pref_list_response.py +37 -0
- telnyx/types/payment/auto_recharge_pref_update_params.py +26 -0
- telnyx/types/payment/auto_recharge_pref_update_response.py +37 -0
- telnyx/types/phone_number.py +49 -0
- telnyx/types/phone_number_assignment_by_profile_assign_params.py +29 -0
- telnyx/types/phone_number_assignment_by_profile_assign_response.py +46 -0
- telnyx/types/phone_number_assignment_by_profile_retrieve_phone_number_status_params.py +15 -0
- telnyx/types/phone_number_assignment_by_profile_retrieve_phone_number_status_response.py +24 -0
- telnyx/types/phone_number_assignment_by_profile_retrieve_status_response.py +22 -0
- telnyx/types/phone_number_blocks/__init__.py +12 -0
- telnyx/types/phone_number_blocks/job.py +89 -0
- telnyx/types/phone_number_blocks/job_delete_phone_number_block_params.py +11 -0
- telnyx/types/phone_number_blocks/job_delete_phone_number_block_response.py +12 -0
- telnyx/types/phone_number_blocks/job_list_params.py +43 -0
- telnyx/types/phone_number_blocks/job_list_response.py +15 -0
- telnyx/types/phone_number_blocks/job_retrieve_response.py +12 -0
- telnyx/types/phone_number_campaign.py +48 -0
- telnyx/types/phone_number_campaign_create_params.py +17 -0
- telnyx/types/phone_number_campaign_list_params.py +42 -0
- telnyx/types/phone_number_campaign_list_response.py +18 -0
- telnyx/types/phone_number_campaign_update_params.py +17 -0
- telnyx/types/phone_number_delete_response.py +120 -0
- telnyx/types/phone_number_detailed.py +146 -0
- telnyx/types/phone_number_list_params.py +137 -0
- telnyx/types/phone_number_list_response.py +15 -0
- telnyx/types/phone_number_retrieve_response.py +12 -0
- telnyx/types/phone_number_slim_list_params.py +149 -0
- telnyx/types/phone_number_slim_list_response.py +125 -0
- telnyx/types/phone_number_update_params.py +34 -0
- telnyx/types/phone_number_update_response.py +12 -0
- telnyx/types/phone_numbers/__init__.py +56 -0
- telnyx/types/phone_numbers/action_change_bundle_status_params.py +18 -0
- telnyx/types/phone_numbers/action_change_bundle_status_response.py +12 -0
- telnyx/types/phone_numbers/action_enable_emergency_params.py +15 -0
- telnyx/types/phone_numbers/action_enable_emergency_response.py +12 -0
- telnyx/types/phone_numbers/action_verify_ownership_params.py +14 -0
- telnyx/types/phone_numbers/action_verify_ownership_response.py +30 -0
- telnyx/types/phone_numbers/call_forwarding.py +27 -0
- telnyx/types/phone_numbers/call_forwarding_param.py +26 -0
- telnyx/types/phone_numbers/call_recording.py +22 -0
- telnyx/types/phone_numbers/call_recording_param.py +21 -0
- telnyx/types/phone_numbers/cnam_listing.py +22 -0
- telnyx/types/phone_numbers/cnam_listing_param.py +22 -0
- telnyx/types/phone_numbers/csv_download.py +25 -0
- telnyx/types/phone_numbers/csv_download_create_params.py +96 -0
- telnyx/types/phone_numbers/csv_download_create_response.py +12 -0
- telnyx/types/phone_numbers/csv_download_list_params.py +23 -0
- telnyx/types/phone_numbers/csv_download_list_response.py +15 -0
- telnyx/types/phone_numbers/csv_download_retrieve_response.py +12 -0
- telnyx/types/phone_numbers/job_delete_batch_params.py +13 -0
- telnyx/types/phone_numbers/job_delete_batch_response.py +12 -0
- telnyx/types/phone_numbers/job_list_params.py +37 -0
- telnyx/types/phone_numbers/job_list_response.py +15 -0
- telnyx/types/phone_numbers/job_retrieve_response.py +12 -0
- telnyx/types/phone_numbers/job_update_batch_params.py +137 -0
- telnyx/types/phone_numbers/job_update_batch_response.py +12 -0
- telnyx/types/phone_numbers/job_update_emergency_settings_batch_params.py +24 -0
- telnyx/types/phone_numbers/job_update_emergency_settings_batch_response.py +12 -0
- telnyx/types/phone_numbers/media_features.py +28 -0
- telnyx/types/phone_numbers/media_features_param.py +28 -0
- telnyx/types/phone_numbers/messaging_list_params.py +23 -0
- telnyx/types/phone_numbers/messaging_list_response.py +15 -0
- telnyx/types/phone_numbers/messaging_retrieve_response.py +12 -0
- telnyx/types/phone_numbers/messaging_update_params.py +25 -0
- telnyx/types/phone_numbers/messaging_update_response.py +12 -0
- telnyx/types/phone_numbers/phone_number_with_voice_settings.py +84 -0
- telnyx/types/phone_numbers/phone_numbers_job.py +111 -0
- telnyx/types/phone_numbers/update_voice_settings_param.py +52 -0
- telnyx/types/phone_numbers/voice_list_params.py +63 -0
- telnyx/types/phone_numbers/voice_list_response.py +15 -0
- telnyx/types/phone_numbers/voice_retrieve_response.py +12 -0
- telnyx/types/phone_numbers/voice_update_params.py +52 -0
- telnyx/types/phone_numbers/voice_update_response.py +12 -0
- telnyx/types/phone_numbers/voicemail_create_params.py +15 -0
- telnyx/types/phone_numbers/voicemail_create_response.py +12 -0
- telnyx/types/phone_numbers/voicemail_pref_response.py +15 -0
- telnyx/types/phone_numbers/voicemail_retrieve_response.py +12 -0
- telnyx/types/phone_numbers/voicemail_update_params.py +15 -0
- telnyx/types/phone_numbers/voicemail_update_response.py +12 -0
- telnyx/types/phone_numbers_regulatory_requirement_retrieve_params.py +20 -0
- telnyx/types/phone_numbers_regulatory_requirement_retrieve_response.py +62 -0
- telnyx/types/portability_check_run_params.py +14 -0
- telnyx/types/portability_check_run_response.py +31 -0
- telnyx/types/porting/__init__.py +26 -0
- telnyx/types/porting/event_list_params.py +61 -0
- telnyx/types/porting/event_list_response.py +200 -0
- telnyx/types/porting/event_retrieve_response.py +197 -0
- telnyx/types/porting/export_porting_orders_csv_report.py +43 -0
- telnyx/types/porting/export_porting_orders_csv_report_param.py +45 -0
- telnyx/types/porting/loa_configuration_create_params.py +57 -0
- telnyx/types/porting/loa_configuration_create_response.py +12 -0
- telnyx/types/porting/loa_configuration_list_params.py +23 -0
- telnyx/types/porting/loa_configuration_list_response.py +15 -0
- telnyx/types/porting/loa_configuration_preview_0_params.py +57 -0
- telnyx/types/porting/loa_configuration_retrieve_response.py +12 -0
- telnyx/types/porting/loa_configuration_update_params.py +57 -0
- telnyx/types/porting/loa_configuration_update_response.py +12 -0
- telnyx/types/porting/porting_loa_configuration.py +77 -0
- telnyx/types/porting/porting_report.py +39 -0
- telnyx/types/porting/report_create_params.py +17 -0
- telnyx/types/porting/report_create_response.py +12 -0
- telnyx/types/porting/report_list_params.py +37 -0
- telnyx/types/porting/report_list_response.py +15 -0
- telnyx/types/porting/report_retrieve_response.py +12 -0
- telnyx/types/porting_list_uk_carriers_response.py +38 -0
- telnyx/types/porting_order.py +101 -0
- telnyx/types/porting_order_activation_settings.py +39 -0
- telnyx/types/porting_order_create_params.py +20 -0
- telnyx/types/porting_order_create_response.py +12 -0
- telnyx/types/porting_order_documents.py +15 -0
- telnyx/types/porting_order_documents_param.py +15 -0
- telnyx/types/porting_order_end_user.py +15 -0
- telnyx/types/porting_order_end_user_admin.py +33 -0
- telnyx/types/porting_order_end_user_admin_param.py +33 -0
- telnyx/types/porting_order_end_user_location.py +27 -0
- telnyx/types/porting_order_end_user_location_param.py +27 -0
- telnyx/types/porting_order_end_user_param.py +16 -0
- telnyx/types/porting_order_list_params.py +137 -0
- telnyx/types/porting_order_list_response.py +15 -0
- telnyx/types/porting_order_messaging.py +28 -0
- telnyx/types/porting_order_misc.py +32 -0
- telnyx/types/porting_order_misc_param.py +32 -0
- telnyx/types/porting_order_phone_number_configuration.py +23 -0
- telnyx/types/porting_order_phone_number_configuration_param.py +25 -0
- telnyx/types/porting_order_requirement.py +22 -0
- telnyx/types/porting_order_retrieve_allowed_foc_windows_response.py +26 -0
- telnyx/types/porting_order_retrieve_exception_types_response.py +12 -0
- telnyx/types/porting_order_retrieve_loa_template_params.py +15 -0
- telnyx/types/porting_order_retrieve_params.py +12 -0
- telnyx/types/porting_order_retrieve_requirements_params.py +23 -0
- telnyx/types/porting_order_retrieve_requirements_response.py +52 -0
- telnyx/types/porting_order_retrieve_response.py +19 -0
- telnyx/types/porting_order_retrieve_sub_request_response.py +19 -0
- telnyx/types/porting_order_type.py +7 -0
- telnyx/types/porting_order_update_params.py +76 -0
- telnyx/types/porting_order_update_response.py +19 -0
- telnyx/types/porting_order_user_feedback.py +18 -0
- telnyx/types/porting_order_user_feedback_param.py +18 -0
- telnyx/types/porting_orders/__init__.py +73 -0
- telnyx/types/porting_orders/action_activate_response.py +12 -0
- telnyx/types/porting_orders/action_cancel_response.py +19 -0
- telnyx/types/porting_orders/action_confirm_response.py +19 -0
- telnyx/types/porting_orders/action_requirement_initiate_params.py +25 -0
- telnyx/types/porting_orders/action_requirement_initiate_response.py +45 -0
- telnyx/types/porting_orders/action_requirement_list_params.py +57 -0
- telnyx/types/porting_orders/action_requirement_list_response.py +48 -0
- telnyx/types/porting_orders/action_share_params.py +15 -0
- telnyx/types/porting_orders/action_share_response.py +39 -0
- telnyx/types/porting_orders/activation_job_list_params.py +23 -0
- telnyx/types/porting_orders/activation_job_list_response.py +15 -0
- telnyx/types/porting_orders/activation_job_retrieve_response.py +12 -0
- telnyx/types/porting_orders/activation_job_update_params.py +21 -0
- telnyx/types/porting_orders/activation_job_update_response.py +12 -0
- telnyx/types/porting_orders/additional_document_create_params.py +20 -0
- telnyx/types/porting_orders/additional_document_create_response.py +42 -0
- telnyx/types/porting_orders/additional_document_list_params.py +46 -0
- telnyx/types/porting_orders/additional_document_list_response.py +45 -0
- telnyx/types/porting_orders/associated_phone_number_create_params.py +22 -0
- telnyx/types/porting_orders/associated_phone_number_create_response.py +12 -0
- telnyx/types/porting_orders/associated_phone_number_delete_response.py +12 -0
- telnyx/types/porting_orders/associated_phone_number_list_params.py +48 -0
- telnyx/types/porting_orders/associated_phone_number_list_response.py +15 -0
- telnyx/types/porting_orders/comment_create_params.py +11 -0
- telnyx/types/porting_orders/comment_create_response.py +31 -0
- telnyx/types/porting_orders/comment_list_params.py +23 -0
- telnyx/types/porting_orders/comment_list_response.py +34 -0
- telnyx/types/porting_orders/phone_number_block_create_params.py +46 -0
- telnyx/types/porting_orders/phone_number_block_create_response.py +12 -0
- telnyx/types/porting_orders/phone_number_block_delete_response.py +12 -0
- telnyx/types/porting_orders/phone_number_block_list_params.py +107 -0
- telnyx/types/porting_orders/phone_number_block_list_response.py +15 -0
- telnyx/types/porting_orders/phone_number_configuration_create_params.py +20 -0
- telnyx/types/porting_orders/phone_number_configuration_create_response.py +32 -0
- telnyx/types/porting_orders/phone_number_configuration_list_params.py +71 -0
- telnyx/types/porting_orders/phone_number_configuration_list_response.py +35 -0
- telnyx/types/porting_orders/phone_number_extension_create_params.py +53 -0
- telnyx/types/porting_orders/phone_number_extension_create_response.py +12 -0
- telnyx/types/porting_orders/phone_number_extension_delete_response.py +12 -0
- telnyx/types/porting_orders/phone_number_extension_list_params.py +45 -0
- telnyx/types/porting_orders/phone_number_extension_list_response.py +15 -0
- telnyx/types/porting_orders/porting_associated_phone_number.py +49 -0
- telnyx/types/porting_orders/porting_phone_number_block.py +69 -0
- telnyx/types/porting_orders/porting_phone_number_extension.py +66 -0
- telnyx/types/porting_orders/verification_code_list_params.py +42 -0
- telnyx/types/porting_orders/verification_code_list_response.py +38 -0
- telnyx/types/porting_orders/verification_code_send_params.py +15 -0
- telnyx/types/porting_orders/verification_code_verify_params.py +18 -0
- telnyx/types/porting_orders/verification_code_verify_response.py +35 -0
- telnyx/types/porting_orders_activation_job.py +46 -0
- telnyx/types/porting_phone_number_list_params.py +36 -0
- telnyx/types/porting_phone_number_list_response.py +76 -0
- telnyx/types/portout_details.py +98 -0
- telnyx/types/portout_list_params.py +94 -0
- telnyx/types/portout_list_rejection_codes_params.py +21 -0
- telnyx/types/portout_list_rejection_codes_response.py +19 -0
- telnyx/types/portout_list_response.py +15 -0
- telnyx/types/portout_retrieve_response.py +12 -0
- telnyx/types/portout_update_status_params.py +20 -0
- telnyx/types/portout_update_status_response.py +12 -0
- telnyx/types/portouts/__init__.py +21 -0
- telnyx/types/portouts/comment_create_params.py +12 -0
- telnyx/types/portouts/comment_create_response.py +33 -0
- telnyx/types/portouts/comment_list_response.py +36 -0
- telnyx/types/portouts/event_list_params.py +52 -0
- telnyx/types/portouts/event_list_response.py +116 -0
- telnyx/types/portouts/event_retrieve_response.py +113 -0
- telnyx/types/portouts/export_portouts_csv_report.py +38 -0
- telnyx/types/portouts/export_portouts_csv_report_param.py +40 -0
- telnyx/types/portouts/portout_report.py +39 -0
- telnyx/types/portouts/report_create_params.py +17 -0
- telnyx/types/portouts/report_create_response.py +12 -0
- telnyx/types/portouts/report_list_params.py +37 -0
- telnyx/types/portouts/report_list_response.py +15 -0
- telnyx/types/portouts/report_retrieve_response.py +12 -0
- telnyx/types/portouts/supporting_document_create_params.py +21 -0
- telnyx/types/portouts/supporting_document_create_response.py +34 -0
- telnyx/types/portouts/supporting_document_list_response.py +34 -0
- telnyx/types/private_wireless_gateway.py +42 -0
- telnyx/types/private_wireless_gateway_create_params.py +21 -0
- telnyx/types/private_wireless_gateway_create_response.py +12 -0
- telnyx/types/private_wireless_gateway_delete_response.py +12 -0
- telnyx/types/private_wireless_gateway_list_params.py +32 -0
- telnyx/types/private_wireless_gateway_list_response.py +15 -0
- telnyx/types/private_wireless_gateway_retrieve_response.py +12 -0
- telnyx/types/private_wireless_gateway_status.py +30 -0
- telnyx/types/public_internet_gateway_create_params.py +18 -0
- telnyx/types/public_internet_gateway_create_response.py +37 -0
- telnyx/types/public_internet_gateway_delete_response.py +37 -0
- telnyx/types/public_internet_gateway_list_params.py +34 -0
- telnyx/types/public_internet_gateway_list_response.py +40 -0
- telnyx/types/public_internet_gateway_retrieve_response.py +37 -0
- telnyx/types/push_credential.py +39 -0
- telnyx/types/push_credential_response.py +12 -0
- telnyx/types/pwg_assigned_resources_summary.py +15 -0
- telnyx/types/queue_retrieve_response.py +40 -0
- telnyx/types/queues/__init__.py +7 -0
- telnyx/types/queues/call_list_params.py +32 -0
- telnyx/types/queues/call_list_response.py +55 -0
- telnyx/types/queues/call_retrieve_response.py +52 -0
- telnyx/types/rcs_agent.py +37 -0
- telnyx/types/rcs_agent_message.py +77 -0
- telnyx/types/rcs_agent_message_param.py +79 -0
- telnyx/types/rcs_agent_response.py +12 -0
- telnyx/types/rcs_card_content.py +35 -0
- telnyx/types/rcs_card_content_param.py +36 -0
- telnyx/types/rcs_content_info.py +18 -0
- telnyx/types/rcs_content_info_param.py +18 -0
- telnyx/types/rcs_suggestion.py +124 -0
- telnyx/types/rcs_suggestion_param.py +126 -0
- telnyx/types/record.py +21 -0
- telnyx/types/record_param.py +11 -0
- telnyx/types/recording_delete_response.py +12 -0
- telnyx/types/recording_list_params.py +76 -0
- telnyx/types/recording_list_response.py +15 -0
- telnyx/types/recording_response_data.py +72 -0
- telnyx/types/recording_retrieve_response.py +12 -0
- telnyx/types/recording_transcription.py +36 -0
- telnyx/types/recording_transcription_delete_response.py +12 -0
- telnyx/types/recording_transcription_list_response.py +32 -0
- telnyx/types/recording_transcription_retrieve_response.py +12 -0
- telnyx/types/recordings/__init__.py +5 -0
- telnyx/types/recordings/action_delete_params.py +14 -0
- telnyx/types/region_in.py +12 -0
- telnyx/types/region_list_response.py +31 -0
- telnyx/types/regulatory_requirement_retrieve_params.py +33 -0
- telnyx/types/regulatory_requirement_retrieve_response.py +58 -0
- telnyx/types/replaced_link_click_webhook_event.py +32 -0
- telnyx/types/report_list_mdrs_params.py +36 -0
- telnyx/types/report_list_mdrs_response.py +74 -0
- telnyx/types/report_list_wdrs_params.py +61 -0
- telnyx/types/report_list_wdrs_response.py +99 -0
- telnyx/types/reports/__init__.py +15 -0
- telnyx/types/reports/cdr_usage_report_fetch_sync_params.py +23 -0
- telnyx/types/reports/cdr_usage_report_fetch_sync_response.py +42 -0
- telnyx/types/reports/mdr_usage_report.py +66 -0
- telnyx/types/reports/mdr_usage_report_create_params.py +21 -0
- telnyx/types/reports/mdr_usage_report_create_response.py +12 -0
- telnyx/types/reports/mdr_usage_report_delete_response.py +12 -0
- telnyx/types/reports/mdr_usage_report_fetch_sync_params.py +22 -0
- telnyx/types/reports/mdr_usage_report_fetch_sync_response.py +12 -0
- telnyx/types/reports/mdr_usage_report_list_params.py +23 -0
- telnyx/types/reports/mdr_usage_report_list_response.py +24 -0
- telnyx/types/reports/mdr_usage_report_retrieve_response.py +12 -0
- telnyx/types/requirement_group.py +47 -0
- telnyx/types/requirement_group_create_params.py +27 -0
- telnyx/types/requirement_group_list_params.py +33 -0
- telnyx/types/requirement_group_list_response.py +10 -0
- telnyx/types/requirement_group_update_params.py +23 -0
- telnyx/types/requirement_list_params.py +61 -0
- telnyx/types/requirement_list_response.py +53 -0
- telnyx/types/requirement_retrieve_response.py +50 -0
- telnyx/types/requirement_type_list_params.py +31 -0
- telnyx/types/requirement_type_list_response.py +15 -0
- telnyx/types/requirement_type_retrieve_response.py +12 -0
- telnyx/types/reserved_phone_number.py +38 -0
- telnyx/types/reserved_phone_number_param.py +11 -0
- telnyx/types/room.py +51 -0
- telnyx/types/room_composition.py +77 -0
- telnyx/types/room_composition_create_params.py +43 -0
- telnyx/types/room_composition_create_response.py +12 -0
- telnyx/types/room_composition_list_params.py +55 -0
- telnyx/types/room_composition_list_response.py +15 -0
- telnyx/types/room_composition_retrieve_response.py +12 -0
- telnyx/types/room_create_params.py +38 -0
- telnyx/types/room_create_response.py +12 -0
- telnyx/types/room_list_params.py +69 -0
- telnyx/types/room_list_response.py +15 -0
- telnyx/types/room_participant_list_params.py +96 -0
- telnyx/types/room_participant_list_response.py +15 -0
- telnyx/types/room_participant_retrieve_response.py +12 -0
- telnyx/types/room_recording_delete_bulk_params.py +83 -0
- telnyx/types/room_recording_delete_bulk_response.py +16 -0
- telnyx/types/room_recording_list_params.py +83 -0
- telnyx/types/room_recording_list_response.py +65 -0
- telnyx/types/room_recording_retrieve_response.py +62 -0
- telnyx/types/room_retrieve_params.py +12 -0
- telnyx/types/room_retrieve_response.py +12 -0
- telnyx/types/room_session.py +33 -0
- telnyx/types/room_update_params.py +38 -0
- telnyx/types/room_update_response.py +12 -0
- telnyx/types/rooms/__init__.py +22 -0
- telnyx/types/rooms/action_generate_join_client_token_params.py +21 -0
- telnyx/types/rooms/action_generate_join_client_token_response.py +24 -0
- telnyx/types/rooms/action_refresh_client_token_params.py +17 -0
- telnyx/types/rooms/action_refresh_client_token_response.py +19 -0
- telnyx/types/rooms/session_list_0_params.py +87 -0
- telnyx/types/rooms/session_list_0_response.py +15 -0
- telnyx/types/rooms/session_list_1_params.py +84 -0
- telnyx/types/rooms/session_list_1_response.py +15 -0
- telnyx/types/rooms/session_retrieve_params.py +12 -0
- telnyx/types/rooms/session_retrieve_participants_params.py +93 -0
- telnyx/types/rooms/session_retrieve_participants_response.py +15 -0
- telnyx/types/rooms/session_retrieve_response.py +12 -0
- telnyx/types/rooms/sessions/__init__.py +11 -0
- telnyx/types/rooms/sessions/action_end_response.py +15 -0
- telnyx/types/rooms/sessions/action_kick_params.py +21 -0
- telnyx/types/rooms/sessions/action_kick_response.py +15 -0
- telnyx/types/rooms/sessions/action_mute_params.py +21 -0
- telnyx/types/rooms/sessions/action_mute_response.py +15 -0
- telnyx/types/rooms/sessions/action_unmute_params.py +21 -0
- telnyx/types/rooms/sessions/action_unmute_response.py +15 -0
- telnyx/types/s3_configuration_data.py +21 -0
- telnyx/types/s3_configuration_data_param.py +21 -0
- telnyx/types/service_plan.py +7 -0
- telnyx/types/seti_retrieve_black_box_test_results_params.py +17 -0
- telnyx/types/seti_retrieve_black_box_test_results_response.py +30 -0
- telnyx/types/settings_param.py +24 -0
- telnyx/types/shared/__init__.py +19 -0
- telnyx/types/shared/connections_pagination_meta.py +17 -0
- telnyx/types/shared/doc_reqs_requirement_type.py +60 -0
- telnyx/types/shared/hosted_number.py +35 -0
- telnyx/types/shared/messaging_feature_set.py +16 -0
- telnyx/types/shared/messaging_hosted_number_order.py +42 -0
- telnyx/types/shared/metadata.py +24 -0
- telnyx/types/shared/number_health_metrics.py +21 -0
- telnyx/types/shared/phone_number_with_messaging_settings.py +67 -0
- telnyx/types/shared/porting_order_status.py +28 -0
- telnyx/types/shared/porting_orders_exception_type.py +40 -0
- telnyx/types/shared/room_participant.py +30 -0
- telnyx/types/shared/short_code.py +32 -0
- telnyx/types/shared/sim_card_status.py +40 -0
- telnyx/types/shared/simple_sim_card.py +100 -0
- telnyx/types/shared/sub_number_order_regulatory_requirement_with_value.py +23 -0
- telnyx/types/shared_params/__init__.py +3 -0
- telnyx/types/shared_params/sim_card_status.py +11 -0
- telnyx/types/short_code_list_params.py +39 -0
- telnyx/types/short_code_list_response.py +15 -0
- telnyx/types/short_code_retrieve_response.py +12 -0
- telnyx/types/short_code_update_params.py +12 -0
- telnyx/types/short_code_update_response.py +12 -0
- telnyx/types/sim_card.py +189 -0
- telnyx/types/sim_card_data_usage_notification.py +33 -0
- telnyx/types/sim_card_data_usage_notification_create_params.py +21 -0
- telnyx/types/sim_card_data_usage_notification_create_response.py +13 -0
- telnyx/types/sim_card_data_usage_notification_delete_response.py +13 -0
- telnyx/types/sim_card_data_usage_notification_list_params.py +20 -0
- telnyx/types/sim_card_data_usage_notification_list_response.py +15 -0
- telnyx/types/sim_card_data_usage_notification_retrieve_response.py +13 -0
- telnyx/types/sim_card_data_usage_notification_update_params.py +21 -0
- telnyx/types/sim_card_data_usage_notification_update_response.py +13 -0
- telnyx/types/sim_card_delete_params.py +15 -0
- telnyx/types/sim_card_delete_response.py +12 -0
- telnyx/types/sim_card_get_activation_code_response.py +18 -0
- telnyx/types/sim_card_get_device_details_response.py +32 -0
- telnyx/types/sim_card_get_public_ip_response.py +35 -0
- telnyx/types/sim_card_group.py +49 -0
- telnyx/types/sim_card_group_create_params.py +21 -0
- telnyx/types/sim_card_group_create_response.py +12 -0
- telnyx/types/sim_card_group_delete_response.py +12 -0
- telnyx/types/sim_card_group_list_params.py +26 -0
- telnyx/types/sim_card_group_list_response.py +59 -0
- telnyx/types/sim_card_group_retrieve_params.py +12 -0
- telnyx/types/sim_card_group_retrieve_response.py +12 -0
- telnyx/types/sim_card_group_update_params.py +21 -0
- telnyx/types/sim_card_group_update_response.py +12 -0
- telnyx/types/sim_card_groups/__init__.py +24 -0
- telnyx/types/sim_card_groups/action_list_params.py +34 -0
- telnyx/types/sim_card_groups/action_list_response.py +15 -0
- telnyx/types/sim_card_groups/action_remove_private_wireless_gateway_response.py +17 -0
- telnyx/types/sim_card_groups/action_remove_wireless_blocklist_response.py +17 -0
- telnyx/types/sim_card_groups/action_retrieve_response.py +17 -0
- telnyx/types/sim_card_groups/action_set_private_wireless_gateway_params.py +12 -0
- telnyx/types/sim_card_groups/action_set_private_wireless_gateway_response.py +17 -0
- telnyx/types/sim_card_groups/action_set_wireless_blocklist_params.py +12 -0
- telnyx/types/sim_card_groups/action_set_wireless_blocklist_response.py +17 -0
- telnyx/types/sim_card_groups/sim_card_group_action.py +44 -0
- telnyx/types/sim_card_list_params.py +66 -0
- telnyx/types/sim_card_list_response.py +15 -0
- telnyx/types/sim_card_list_wireless_connectivity_logs_params.py +17 -0
- telnyx/types/sim_card_list_wireless_connectivity_logs_response.py +106 -0
- telnyx/types/sim_card_order.py +89 -0
- telnyx/types/sim_card_order_create_params.py +15 -0
- telnyx/types/sim_card_order_create_response.py +12 -0
- telnyx/types/sim_card_order_list_params.py +95 -0
- telnyx/types/sim_card_order_list_response.py +15 -0
- telnyx/types/sim_card_order_preview_preview_params.py +18 -0
- telnyx/types/sim_card_order_preview_preview_response.py +49 -0
- telnyx/types/sim_card_order_retrieve_response.py +12 -0
- telnyx/types/sim_card_retrieve_params.py +19 -0
- telnyx/types/sim_card_retrieve_response.py +12 -0
- telnyx/types/sim_card_update_params.py +37 -0
- telnyx/types/sim_card_update_response.py +12 -0
- telnyx/types/sim_cards/__init__.py +22 -0
- telnyx/types/sim_cards/action_bulk_set_public_ips_params.py +13 -0
- telnyx/types/sim_cards/action_bulk_set_public_ips_response.py +41 -0
- telnyx/types/sim_cards/action_disable_response.py +16 -0
- telnyx/types/sim_cards/action_enable_response.py +16 -0
- telnyx/types/sim_cards/action_list_params.py +46 -0
- telnyx/types/sim_cards/action_list_response.py +15 -0
- telnyx/types/sim_cards/action_remove_public_ip_response.py +16 -0
- telnyx/types/sim_cards/action_retrieve_response.py +16 -0
- telnyx/types/sim_cards/action_set_public_ip_params.py +15 -0
- telnyx/types/sim_cards/action_set_public_ip_response.py +16 -0
- telnyx/types/sim_cards/action_set_standby_response.py +16 -0
- telnyx/types/sim_cards/action_validate_registration_codes_params.py +13 -0
- telnyx/types/sim_cards/action_validate_registration_codes_response.py +24 -0
- telnyx/types/sim_cards/sim_card_action.py +53 -0
- telnyx/types/sip_header.py +15 -0
- telnyx/types/sip_header_param.py +15 -0
- telnyx/types/siprec_connector_create_params.py +23 -0
- telnyx/types/siprec_connector_create_response.py +33 -0
- telnyx/types/siprec_connector_retrieve_response.py +33 -0
- telnyx/types/siprec_connector_update_params.py +23 -0
- telnyx/types/siprec_connector_update_response.py +33 -0
- telnyx/types/sound_modifications_param.py +24 -0
- telnyx/types/stock_exchange.py +33 -0
- telnyx/types/storage/__init__.py +17 -0
- telnyx/types/storage/bucket_create_presigned_url_params.py +16 -0
- telnyx/types/storage/bucket_create_presigned_url_response.py +23 -0
- telnyx/types/storage/buckets/__init__.py +13 -0
- telnyx/types/storage/buckets/pagination_meta_simple.py +17 -0
- telnyx/types/storage/buckets/ssl_certificate.py +48 -0
- telnyx/types/storage/buckets/ssl_certificate_create_params.py +17 -0
- telnyx/types/storage/buckets/ssl_certificate_create_response.py +12 -0
- telnyx/types/storage/buckets/ssl_certificate_delete_response.py +12 -0
- telnyx/types/storage/buckets/ssl_certificate_retrieve_response.py +12 -0
- telnyx/types/storage/buckets/usage_get_api_usage_params.py +27 -0
- telnyx/types/storage/buckets/usage_get_api_usage_response.py +66 -0
- telnyx/types/storage/buckets/usage_get_bucket_usage_response.py +29 -0
- telnyx/types/storage/migration_create_params.py +27 -0
- telnyx/types/storage/migration_create_response.py +12 -0
- telnyx/types/storage/migration_list_response.py +15 -0
- telnyx/types/storage/migration_params.py +53 -0
- telnyx/types/storage/migration_retrieve_response.py +12 -0
- telnyx/types/storage/migration_source_create_params.py +37 -0
- telnyx/types/storage/migration_source_create_response.py +12 -0
- telnyx/types/storage/migration_source_delete_response.py +12 -0
- telnyx/types/storage/migration_source_list_response.py +15 -0
- telnyx/types/storage/migration_source_params.py +41 -0
- telnyx/types/storage/migration_source_retrieve_response.py +12 -0
- telnyx/types/storage/migrations/__init__.py +5 -0
- telnyx/types/storage/migrations/action_stop_response.py +12 -0
- telnyx/types/storage_list_migration_source_coverage_response.py +23 -0
- telnyx/types/stream_bidirectional_codec.py +7 -0
- telnyx/types/stream_bidirectional_mode.py +7 -0
- telnyx/types/stream_bidirectional_target_legs.py +7 -0
- telnyx/types/stream_codec.py +7 -0
- telnyx/types/streaming_failed_webhook_event.py +70 -0
- telnyx/types/streaming_started_webhook_event.py +53 -0
- telnyx/types/streaming_stopped_webhook_event.py +53 -0
- telnyx/types/sub_number_order.py +47 -0
- telnyx/types/sub_number_order_cancel_response.py +12 -0
- telnyx/types/sub_number_order_list_params.py +33 -0
- telnyx/types/sub_number_order_list_response.py +15 -0
- telnyx/types/sub_number_order_regulatory_requirement.py +17 -0
- telnyx/types/sub_number_order_retrieve_params.py +20 -0
- telnyx/types/sub_number_order_retrieve_response.py +12 -0
- telnyx/types/sub_number_order_update_params.py +14 -0
- telnyx/types/sub_number_order_update_requirement_group_params.py +12 -0
- telnyx/types/sub_number_order_update_requirement_group_response.py +88 -0
- telnyx/types/sub_number_order_update_response.py +12 -0
- telnyx/types/sub_number_orders_report_create_params.py +31 -0
- telnyx/types/sub_number_orders_report_create_response.py +53 -0
- telnyx/types/sub_number_orders_report_download_response.py +7 -0
- telnyx/types/sub_number_orders_report_retrieve_response.py +53 -0
- telnyx/types/task_status.py +7 -0
- telnyx/types/telephony_credential.py +38 -0
- telnyx/types/telephony_credential_create_params.py +20 -0
- telnyx/types/telephony_credential_create_response.py +12 -0
- telnyx/types/telephony_credential_create_token_response.py +7 -0
- telnyx/types/telephony_credential_delete_response.py +12 -0
- telnyx/types/telephony_credential_list_params.py +47 -0
- telnyx/types/telephony_credential_list_response.py +15 -0
- telnyx/types/telephony_credential_retrieve_response.py +12 -0
- telnyx/types/telephony_credential_update_params.py +20 -0
- telnyx/types/telephony_credential_update_response.py +12 -0
- telnyx/types/telnyx_brand.py +142 -0
- telnyx/types/telnyx_campaign_csp.py +214 -0
- telnyx/types/telnyx_downstream_campaign.py +154 -0
- telnyx/types/texml/__init__.py +24 -0
- telnyx/types/texml/account_retrieve_recordings_json_params.py +30 -0
- telnyx/types/texml/account_retrieve_recordings_json_response.py +36 -0
- telnyx/types/texml/account_retrieve_transcriptions_json_params.py +17 -0
- telnyx/types/texml/account_retrieve_transcriptions_json_response.py +71 -0
- telnyx/types/texml/accounts/__init__.py +30 -0
- telnyx/types/texml/accounts/call_calls_params.py +169 -0
- telnyx/types/texml/accounts/call_calls_response.py +17 -0
- telnyx/types/texml/accounts/call_retrieve_calls_params.py +50 -0
- telnyx/types/texml/accounts/call_retrieve_calls_response.py +101 -0
- telnyx/types/texml/accounts/call_retrieve_response.py +72 -0
- telnyx/types/texml/accounts/call_siprec_json_params.py +61 -0
- telnyx/types/texml/accounts/call_siprec_json_response.py +40 -0
- telnyx/types/texml/accounts/call_streams_json_params.py +37 -0
- telnyx/types/texml/accounts/call_streams_json_response.py +29 -0
- telnyx/types/texml/accounts/call_update_params.py +46 -0
- telnyx/types/texml/accounts/call_update_response.py +72 -0
- telnyx/types/texml/accounts/calls/__init__.py +21 -0
- telnyx/types/texml/accounts/calls/recording_recording_sid_json_params.py +17 -0
- telnyx/types/texml/accounts/calls/recording_recording_sid_json_response.py +58 -0
- telnyx/types/texml/accounts/calls/recordings_json_recordings_json_params.py +43 -0
- telnyx/types/texml/accounts/calls/recordings_json_recordings_json_response.py +58 -0
- telnyx/types/texml/accounts/calls/recordings_json_retrieve_recordings_json_response.py +36 -0
- telnyx/types/texml/accounts/calls/siprec_siprec_sid_json_params.py +21 -0
- telnyx/types/texml/accounts/calls/siprec_siprec_sid_json_response.py +31 -0
- telnyx/types/texml/accounts/calls/stream_streaming_sid_json_params.py +18 -0
- telnyx/types/texml/accounts/calls/stream_streaming_sid_json_response.py +26 -0
- telnyx/types/texml/accounts/conference_retrieve_conferences_params.py +43 -0
- telnyx/types/texml/accounts/conference_retrieve_conferences_response.py +85 -0
- telnyx/types/texml/accounts/conference_retrieve_recordings_json_response.py +36 -0
- telnyx/types/texml/accounts/conference_retrieve_recordings_response.py +94 -0
- telnyx/types/texml/accounts/conference_retrieve_response.py +56 -0
- telnyx/types/texml/accounts/conference_update_params.py +29 -0
- telnyx/types/texml/accounts/conference_update_response.py +56 -0
- telnyx/types/texml/accounts/conferences/__init__.py +12 -0
- telnyx/types/texml/accounts/conferences/participant_participants_params.py +251 -0
- telnyx/types/texml/accounts/conferences/participant_participants_response.py +37 -0
- telnyx/types/texml/accounts/conferences/participant_retrieve_participants_response.py +81 -0
- telnyx/types/texml/accounts/conferences/participant_retrieve_response.py +52 -0
- telnyx/types/texml/accounts/conferences/participant_update_params.py +69 -0
- telnyx/types/texml/accounts/conferences/participant_update_response.py +52 -0
- telnyx/types/texml/accounts/recordings/__init__.py +3 -0
- telnyx/types/texml/accounts/transcriptions/__init__.py +7 -0
- telnyx/types/texml/accounts/transcriptions/json_retrieve_recording_transcription_sid_json_response.py +43 -0
- telnyx/types/texml/call_initiate_params.py +163 -0
- telnyx/types/texml/call_initiate_response.py +21 -0
- telnyx/types/texml/call_update_params.py +44 -0
- telnyx/types/texml/call_update_response.py +17 -0
- telnyx/types/texml/texml_get_call_recording_response_body.py +57 -0
- telnyx/types/texml/texml_recording_subresources_uris.py +11 -0
- telnyx/types/texml_application.py +125 -0
- telnyx/types/texml_application_create_params.py +114 -0
- telnyx/types/texml_application_create_response.py +12 -0
- telnyx/types/texml_application_delete_response.py +12 -0
- telnyx/types/texml_application_list_params.py +59 -0
- telnyx/types/texml_application_list_response.py +24 -0
- telnyx/types/texml_application_retrieve_response.py +12 -0
- telnyx/types/texml_application_update_params.py +114 -0
- telnyx/types/texml_application_update_response.py +12 -0
- telnyx/types/texml_secrets_params.py +18 -0
- telnyx/types/texml_secrets_response.py +18 -0
- telnyx/types/text_to_speech_generate_speech_params.py +26 -0
- telnyx/types/text_to_speech_list_voices_params.py +15 -0
- telnyx/types/text_to_speech_list_voices_response.py +29 -0
- telnyx/types/traffic_type.py +7 -0
- telnyx/types/transcription_webhook_event.py +72 -0
- telnyx/types/transport_protocol.py +7 -0
- telnyx/types/unwrap_webhook_event.py +138 -0
- telnyx/types/update_regulatory_requirement_param.py +19 -0
- telnyx/types/url_shortener_settings.py +30 -0
- telnyx/types/url_shortener_settings_param.py +30 -0
- telnyx/types/usage_payment_method.py +7 -0
- telnyx/types/usage_report_get_options_params.py +18 -0
- telnyx/types/usage_report_get_options_response.py +37 -0
- telnyx/types/usage_report_list_params.py +71 -0
- telnyx/types/usage_report_list_response.py +27 -0
- telnyx/types/user_address.py +77 -0
- telnyx/types/user_address_create_params.py +80 -0
- telnyx/types/user_address_create_response.py +12 -0
- telnyx/types/user_address_list_params.py +86 -0
- telnyx/types/user_address_list_response.py +15 -0
- telnyx/types/user_address_retrieve_response.py +12 -0
- telnyx/types/user_tag_list_params.py +20 -0
- telnyx/types/user_tag_list_response.py +31 -0
- telnyx/types/verification.py +42 -0
- telnyx/types/verification_retrieve_response.py +10 -0
- telnyx/types/verification_trigger_call_params.py +29 -0
- telnyx/types/verification_trigger_flashcall_params.py +18 -0
- telnyx/types/verification_trigger_sms_params.py +22 -0
- telnyx/types/verifications/__init__.py +6 -0
- telnyx/types/verifications/action_verify_params.py +18 -0
- telnyx/types/verifications/by_phone_number/__init__.py +6 -0
- telnyx/types/verifications/by_phone_number/action_verify_params.py +15 -0
- telnyx/types/verifications/by_phone_number/verify_verification_code_response.py +19 -0
- telnyx/types/verifications/by_phone_number_list_response.py +24 -0
- telnyx/types/verified_number.py +17 -0
- telnyx/types/verified_number_create_params.py +14 -0
- telnyx/types/verified_number_create_response.py +13 -0
- telnyx/types/verified_number_data_wrapper.py +12 -0
- telnyx/types/verified_number_list_params.py +22 -0
- telnyx/types/verified_number_list_response.py +24 -0
- telnyx/types/verified_numbers/__init__.py +7 -0
- telnyx/types/verified_numbers/action_submit_verification_code_params.py +11 -0
- telnyx/types/verify_profile.py +130 -0
- telnyx/types/verify_profile_create_params.py +116 -0
- telnyx/types/verify_profile_create_template_params.py +12 -0
- telnyx/types/verify_profile_create_template_response.py +17 -0
- telnyx/types/verify_profile_data.py +12 -0
- telnyx/types/verify_profile_list_params.py +29 -0
- telnyx/types/verify_profile_list_response.py +24 -0
- telnyx/types/verify_profile_retrieve_templates_response.py +17 -0
- telnyx/types/verify_profile_update_params.py +116 -0
- telnyx/types/verify_profile_update_template_params.py +12 -0
- telnyx/types/verify_profile_update_template_response.py +17 -0
- telnyx/types/vertical.py +25 -0
- telnyx/types/video_region.py +53 -0
- telnyx/types/video_region_param.py +56 -0
- telnyx/types/virtual_cross_connect_create_params.py +95 -0
- telnyx/types/virtual_cross_connect_create_response.py +129 -0
- telnyx/types/virtual_cross_connect_delete_response.py +129 -0
- telnyx/types/virtual_cross_connect_list_params.py +34 -0
- telnyx/types/virtual_cross_connect_list_response.py +132 -0
- telnyx/types/virtual_cross_connect_retrieve_response.py +129 -0
- telnyx/types/virtual_cross_connect_update_params.py +41 -0
- telnyx/types/virtual_cross_connect_update_response.py +129 -0
- telnyx/types/virtual_cross_connects_coverage_list_params.py +80 -0
- telnyx/types/virtual_cross_connects_coverage_list_response.py +58 -0
- telnyx/types/webhook_api_version.py +7 -0
- telnyx/types/webhook_delivery_list_params.py +106 -0
- telnyx/types/webhook_delivery_list_response.py +120 -0
- telnyx/types/webhook_delivery_retrieve_response.py +108 -0
- telnyx/types/well_known_retrieve_authorization_server_metadata_response.py +42 -0
- telnyx/types/well_known_retrieve_protected_resource_metadata_response.py +15 -0
- telnyx/types/wireguard_interface_create_params.py +21 -0
- telnyx/types/wireguard_interface_create_response.py +43 -0
- telnyx/types/wireguard_interface_delete_response.py +43 -0
- telnyx/types/wireguard_interface_list_params.py +34 -0
- telnyx/types/wireguard_interface_list_response.py +46 -0
- telnyx/types/wireguard_interface_retrieve_response.py +43 -0
- telnyx/types/wireguard_peer_create_params.py +18 -0
- telnyx/types/wireguard_peer_create_response.py +33 -0
- telnyx/types/wireguard_peer_delete_response.py +33 -0
- telnyx/types/wireguard_peer_list_params.py +34 -0
- telnyx/types/wireguard_peer_list_response.py +36 -0
- telnyx/types/wireguard_peer_patch.py +15 -0
- telnyx/types/wireguard_peer_retrieve_config_response.py +7 -0
- telnyx/types/wireguard_peer_retrieve_response.py +33 -0
- telnyx/types/wireguard_peer_update_params.py +15 -0
- telnyx/types/wireguard_peer_update_response.py +33 -0
- telnyx/types/wireless/__init__.py +17 -0
- telnyx/types/wireless/detail_records_report_create_params.py +15 -0
- telnyx/types/wireless/detail_records_report_create_response.py +12 -0
- telnyx/types/wireless/detail_records_report_delete_response.py +12 -0
- telnyx/types/wireless/detail_records_report_list_params.py +17 -0
- telnyx/types/wireless/detail_records_report_list_response.py +12 -0
- telnyx/types/wireless/detail_records_report_retrieve_response.py +12 -0
- telnyx/types/wireless/wdr_report.py +33 -0
- telnyx/types/wireless_blocklist.py +30 -0
- telnyx/types/wireless_blocklist_create_params.py +20 -0
- telnyx/types/wireless_blocklist_create_response.py +12 -0
- telnyx/types/wireless_blocklist_delete_response.py +12 -0
- telnyx/types/wireless_blocklist_list_params.py +26 -0
- telnyx/types/wireless_blocklist_list_response.py +15 -0
- telnyx/types/wireless_blocklist_retrieve_response.py +12 -0
- telnyx/types/wireless_blocklist_update_params.py +20 -0
- telnyx/types/wireless_blocklist_update_response.py +12 -0
- telnyx/types/wireless_blocklist_value_list_params.py +15 -0
- telnyx/types/wireless_blocklist_value_list_response.py +38 -0
- telnyx/types/wireless_retrieve_regions_params.py +15 -0
- telnyx/types/wireless_retrieve_regions_response.py +26 -0
- telnyx-3.0.0.dist-info/METADATA +472 -0
- telnyx-3.0.0.dist-info/RECORD +2028 -0
- telnyx-3.0.0.dist-info/WHEEL +4 -0
- telnyx-3.0.0.dist-info/licenses/LICENSE +7 -0
|
@@ -0,0 +1,1450 @@
|
|
|
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 Iterable
|
|
6
|
+
|
|
7
|
+
import httpx
|
|
8
|
+
|
|
9
|
+
from ...types import (
|
|
10
|
+
porting_order_list_params,
|
|
11
|
+
porting_order_create_params,
|
|
12
|
+
porting_order_update_params,
|
|
13
|
+
porting_order_retrieve_params,
|
|
14
|
+
porting_order_retrieve_loa_template_params,
|
|
15
|
+
porting_order_retrieve_requirements_params,
|
|
16
|
+
)
|
|
17
|
+
from .actions import (
|
|
18
|
+
ActionsResource,
|
|
19
|
+
AsyncActionsResource,
|
|
20
|
+
ActionsResourceWithRawResponse,
|
|
21
|
+
AsyncActionsResourceWithRawResponse,
|
|
22
|
+
ActionsResourceWithStreamingResponse,
|
|
23
|
+
AsyncActionsResourceWithStreamingResponse,
|
|
24
|
+
)
|
|
25
|
+
from ..._types import Body, Omit, Query, Headers, NoneType, NotGiven, SequenceNotStr, omit, not_given
|
|
26
|
+
from ..._utils import maybe_transform, async_maybe_transform
|
|
27
|
+
from .comments import (
|
|
28
|
+
CommentsResource,
|
|
29
|
+
AsyncCommentsResource,
|
|
30
|
+
CommentsResourceWithRawResponse,
|
|
31
|
+
AsyncCommentsResourceWithRawResponse,
|
|
32
|
+
CommentsResourceWithStreamingResponse,
|
|
33
|
+
AsyncCommentsResourceWithStreamingResponse,
|
|
34
|
+
)
|
|
35
|
+
from ..._compat import cached_property
|
|
36
|
+
from ..._resource import SyncAPIResource, AsyncAPIResource
|
|
37
|
+
from ..._response import (
|
|
38
|
+
BinaryAPIResponse,
|
|
39
|
+
AsyncBinaryAPIResponse,
|
|
40
|
+
StreamedBinaryAPIResponse,
|
|
41
|
+
AsyncStreamedBinaryAPIResponse,
|
|
42
|
+
to_raw_response_wrapper,
|
|
43
|
+
to_streamed_response_wrapper,
|
|
44
|
+
async_to_raw_response_wrapper,
|
|
45
|
+
to_custom_raw_response_wrapper,
|
|
46
|
+
async_to_streamed_response_wrapper,
|
|
47
|
+
to_custom_streamed_response_wrapper,
|
|
48
|
+
async_to_custom_raw_response_wrapper,
|
|
49
|
+
async_to_custom_streamed_response_wrapper,
|
|
50
|
+
)
|
|
51
|
+
from ..._base_client import make_request_options
|
|
52
|
+
from .activation_jobs import (
|
|
53
|
+
ActivationJobsResource,
|
|
54
|
+
AsyncActivationJobsResource,
|
|
55
|
+
ActivationJobsResourceWithRawResponse,
|
|
56
|
+
AsyncActivationJobsResourceWithRawResponse,
|
|
57
|
+
ActivationJobsResourceWithStreamingResponse,
|
|
58
|
+
AsyncActivationJobsResourceWithStreamingResponse,
|
|
59
|
+
)
|
|
60
|
+
from .verification_codes import (
|
|
61
|
+
VerificationCodesResource,
|
|
62
|
+
AsyncVerificationCodesResource,
|
|
63
|
+
VerificationCodesResourceWithRawResponse,
|
|
64
|
+
AsyncVerificationCodesResourceWithRawResponse,
|
|
65
|
+
VerificationCodesResourceWithStreamingResponse,
|
|
66
|
+
AsyncVerificationCodesResourceWithStreamingResponse,
|
|
67
|
+
)
|
|
68
|
+
from .action_requirements import (
|
|
69
|
+
ActionRequirementsResource,
|
|
70
|
+
AsyncActionRequirementsResource,
|
|
71
|
+
ActionRequirementsResourceWithRawResponse,
|
|
72
|
+
AsyncActionRequirementsResourceWithRawResponse,
|
|
73
|
+
ActionRequirementsResourceWithStreamingResponse,
|
|
74
|
+
AsyncActionRequirementsResourceWithStreamingResponse,
|
|
75
|
+
)
|
|
76
|
+
from .phone_number_blocks import (
|
|
77
|
+
PhoneNumberBlocksResource,
|
|
78
|
+
AsyncPhoneNumberBlocksResource,
|
|
79
|
+
PhoneNumberBlocksResourceWithRawResponse,
|
|
80
|
+
AsyncPhoneNumberBlocksResourceWithRawResponse,
|
|
81
|
+
PhoneNumberBlocksResourceWithStreamingResponse,
|
|
82
|
+
AsyncPhoneNumberBlocksResourceWithStreamingResponse,
|
|
83
|
+
)
|
|
84
|
+
from .additional_documents import (
|
|
85
|
+
AdditionalDocumentsResource,
|
|
86
|
+
AsyncAdditionalDocumentsResource,
|
|
87
|
+
AdditionalDocumentsResourceWithRawResponse,
|
|
88
|
+
AsyncAdditionalDocumentsResourceWithRawResponse,
|
|
89
|
+
AdditionalDocumentsResourceWithStreamingResponse,
|
|
90
|
+
AsyncAdditionalDocumentsResourceWithStreamingResponse,
|
|
91
|
+
)
|
|
92
|
+
from .phone_number_extensions import (
|
|
93
|
+
PhoneNumberExtensionsResource,
|
|
94
|
+
AsyncPhoneNumberExtensionsResource,
|
|
95
|
+
PhoneNumberExtensionsResourceWithRawResponse,
|
|
96
|
+
AsyncPhoneNumberExtensionsResourceWithRawResponse,
|
|
97
|
+
PhoneNumberExtensionsResourceWithStreamingResponse,
|
|
98
|
+
AsyncPhoneNumberExtensionsResourceWithStreamingResponse,
|
|
99
|
+
)
|
|
100
|
+
from .associated_phone_numbers import (
|
|
101
|
+
AssociatedPhoneNumbersResource,
|
|
102
|
+
AsyncAssociatedPhoneNumbersResource,
|
|
103
|
+
AssociatedPhoneNumbersResourceWithRawResponse,
|
|
104
|
+
AsyncAssociatedPhoneNumbersResourceWithRawResponse,
|
|
105
|
+
AssociatedPhoneNumbersResourceWithStreamingResponse,
|
|
106
|
+
AsyncAssociatedPhoneNumbersResourceWithStreamingResponse,
|
|
107
|
+
)
|
|
108
|
+
from .phone_number_configurations import (
|
|
109
|
+
PhoneNumberConfigurationsResource,
|
|
110
|
+
AsyncPhoneNumberConfigurationsResource,
|
|
111
|
+
PhoneNumberConfigurationsResourceWithRawResponse,
|
|
112
|
+
AsyncPhoneNumberConfigurationsResourceWithRawResponse,
|
|
113
|
+
PhoneNumberConfigurationsResourceWithStreamingResponse,
|
|
114
|
+
AsyncPhoneNumberConfigurationsResourceWithStreamingResponse,
|
|
115
|
+
)
|
|
116
|
+
from ...types.porting_order_misc_param import PortingOrderMiscParam
|
|
117
|
+
from ...types.porting_order_list_response import PortingOrderListResponse
|
|
118
|
+
from ...types.porting_order_end_user_param import PortingOrderEndUserParam
|
|
119
|
+
from ...types.porting_order_create_response import PortingOrderCreateResponse
|
|
120
|
+
from ...types.porting_order_documents_param import PortingOrderDocumentsParam
|
|
121
|
+
from ...types.porting_order_update_response import PortingOrderUpdateResponse
|
|
122
|
+
from ...types.porting_order_retrieve_response import PortingOrderRetrieveResponse
|
|
123
|
+
from ...types.porting_order_user_feedback_param import PortingOrderUserFeedbackParam
|
|
124
|
+
from ...types.porting_order_retrieve_sub_request_response import PortingOrderRetrieveSubRequestResponse
|
|
125
|
+
from ...types.porting_order_retrieve_requirements_response import PortingOrderRetrieveRequirementsResponse
|
|
126
|
+
from ...types.porting_order_phone_number_configuration_param import PortingOrderPhoneNumberConfigurationParam
|
|
127
|
+
from ...types.porting_order_retrieve_exception_types_response import PortingOrderRetrieveExceptionTypesResponse
|
|
128
|
+
from ...types.porting_order_retrieve_allowed_foc_windows_response import PortingOrderRetrieveAllowedFocWindowsResponse
|
|
129
|
+
|
|
130
|
+
__all__ = ["PortingOrdersResource", "AsyncPortingOrdersResource"]
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
class PortingOrdersResource(SyncAPIResource):
|
|
134
|
+
@cached_property
|
|
135
|
+
def phone_number_configurations(self) -> PhoneNumberConfigurationsResource:
|
|
136
|
+
return PhoneNumberConfigurationsResource(self._client)
|
|
137
|
+
|
|
138
|
+
@cached_property
|
|
139
|
+
def actions(self) -> ActionsResource:
|
|
140
|
+
return ActionsResource(self._client)
|
|
141
|
+
|
|
142
|
+
@cached_property
|
|
143
|
+
def activation_jobs(self) -> ActivationJobsResource:
|
|
144
|
+
return ActivationJobsResource(self._client)
|
|
145
|
+
|
|
146
|
+
@cached_property
|
|
147
|
+
def additional_documents(self) -> AdditionalDocumentsResource:
|
|
148
|
+
return AdditionalDocumentsResource(self._client)
|
|
149
|
+
|
|
150
|
+
@cached_property
|
|
151
|
+
def comments(self) -> CommentsResource:
|
|
152
|
+
return CommentsResource(self._client)
|
|
153
|
+
|
|
154
|
+
@cached_property
|
|
155
|
+
def verification_codes(self) -> VerificationCodesResource:
|
|
156
|
+
return VerificationCodesResource(self._client)
|
|
157
|
+
|
|
158
|
+
@cached_property
|
|
159
|
+
def action_requirements(self) -> ActionRequirementsResource:
|
|
160
|
+
return ActionRequirementsResource(self._client)
|
|
161
|
+
|
|
162
|
+
@cached_property
|
|
163
|
+
def associated_phone_numbers(self) -> AssociatedPhoneNumbersResource:
|
|
164
|
+
return AssociatedPhoneNumbersResource(self._client)
|
|
165
|
+
|
|
166
|
+
@cached_property
|
|
167
|
+
def phone_number_blocks(self) -> PhoneNumberBlocksResource:
|
|
168
|
+
return PhoneNumberBlocksResource(self._client)
|
|
169
|
+
|
|
170
|
+
@cached_property
|
|
171
|
+
def phone_number_extensions(self) -> PhoneNumberExtensionsResource:
|
|
172
|
+
return PhoneNumberExtensionsResource(self._client)
|
|
173
|
+
|
|
174
|
+
@cached_property
|
|
175
|
+
def with_raw_response(self) -> PortingOrdersResourceWithRawResponse:
|
|
176
|
+
"""
|
|
177
|
+
This property can be used as a prefix for any HTTP method call to return
|
|
178
|
+
the raw response object instead of the parsed content.
|
|
179
|
+
|
|
180
|
+
For more information, see https://www.github.com/team-telnyx/telnyx-python#accessing-raw-response-data-eg-headers
|
|
181
|
+
"""
|
|
182
|
+
return PortingOrdersResourceWithRawResponse(self)
|
|
183
|
+
|
|
184
|
+
@cached_property
|
|
185
|
+
def with_streaming_response(self) -> PortingOrdersResourceWithStreamingResponse:
|
|
186
|
+
"""
|
|
187
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
188
|
+
|
|
189
|
+
For more information, see https://www.github.com/team-telnyx/telnyx-python#with_streaming_response
|
|
190
|
+
"""
|
|
191
|
+
return PortingOrdersResourceWithStreamingResponse(self)
|
|
192
|
+
|
|
193
|
+
def create(
|
|
194
|
+
self,
|
|
195
|
+
*,
|
|
196
|
+
phone_numbers: SequenceNotStr[str],
|
|
197
|
+
customer_group_reference: str | Omit = omit,
|
|
198
|
+
customer_reference: str | Omit = omit,
|
|
199
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
200
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
201
|
+
extra_headers: Headers | None = None,
|
|
202
|
+
extra_query: Query | None = None,
|
|
203
|
+
extra_body: Body | None = None,
|
|
204
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
205
|
+
) -> PortingOrderCreateResponse:
|
|
206
|
+
"""
|
|
207
|
+
Creates a new porting order object.
|
|
208
|
+
|
|
209
|
+
Args:
|
|
210
|
+
phone_numbers: The list of +E.164 formatted phone numbers
|
|
211
|
+
|
|
212
|
+
customer_group_reference: A customer-specified group reference for customer bookkeeping purposes
|
|
213
|
+
|
|
214
|
+
customer_reference: A customer-specified reference number for customer bookkeeping purposes
|
|
215
|
+
|
|
216
|
+
extra_headers: Send extra headers
|
|
217
|
+
|
|
218
|
+
extra_query: Add additional query parameters to the request
|
|
219
|
+
|
|
220
|
+
extra_body: Add additional JSON properties to the request
|
|
221
|
+
|
|
222
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
223
|
+
"""
|
|
224
|
+
return self._post(
|
|
225
|
+
"/porting_orders",
|
|
226
|
+
body=maybe_transform(
|
|
227
|
+
{
|
|
228
|
+
"phone_numbers": phone_numbers,
|
|
229
|
+
"customer_group_reference": customer_group_reference,
|
|
230
|
+
"customer_reference": customer_reference,
|
|
231
|
+
},
|
|
232
|
+
porting_order_create_params.PortingOrderCreateParams,
|
|
233
|
+
),
|
|
234
|
+
options=make_request_options(
|
|
235
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
236
|
+
),
|
|
237
|
+
cast_to=PortingOrderCreateResponse,
|
|
238
|
+
)
|
|
239
|
+
|
|
240
|
+
def retrieve(
|
|
241
|
+
self,
|
|
242
|
+
id: str,
|
|
243
|
+
*,
|
|
244
|
+
include_phone_numbers: bool | Omit = omit,
|
|
245
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
246
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
247
|
+
extra_headers: Headers | None = None,
|
|
248
|
+
extra_query: Query | None = None,
|
|
249
|
+
extra_body: Body | None = None,
|
|
250
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
251
|
+
) -> PortingOrderRetrieveResponse:
|
|
252
|
+
"""
|
|
253
|
+
Retrieves the details of an existing porting order.
|
|
254
|
+
|
|
255
|
+
Args:
|
|
256
|
+
include_phone_numbers: Include the first 50 phone number objects in the results
|
|
257
|
+
|
|
258
|
+
extra_headers: Send extra headers
|
|
259
|
+
|
|
260
|
+
extra_query: Add additional query parameters to the request
|
|
261
|
+
|
|
262
|
+
extra_body: Add additional JSON properties to the request
|
|
263
|
+
|
|
264
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
265
|
+
"""
|
|
266
|
+
if not id:
|
|
267
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
268
|
+
return self._get(
|
|
269
|
+
f"/porting_orders/{id}",
|
|
270
|
+
options=make_request_options(
|
|
271
|
+
extra_headers=extra_headers,
|
|
272
|
+
extra_query=extra_query,
|
|
273
|
+
extra_body=extra_body,
|
|
274
|
+
timeout=timeout,
|
|
275
|
+
query=maybe_transform(
|
|
276
|
+
{"include_phone_numbers": include_phone_numbers},
|
|
277
|
+
porting_order_retrieve_params.PortingOrderRetrieveParams,
|
|
278
|
+
),
|
|
279
|
+
),
|
|
280
|
+
cast_to=PortingOrderRetrieveResponse,
|
|
281
|
+
)
|
|
282
|
+
|
|
283
|
+
def update(
|
|
284
|
+
self,
|
|
285
|
+
id: str,
|
|
286
|
+
*,
|
|
287
|
+
activation_settings: porting_order_update_params.ActivationSettings | Omit = omit,
|
|
288
|
+
customer_group_reference: str | Omit = omit,
|
|
289
|
+
customer_reference: str | Omit = omit,
|
|
290
|
+
documents: PortingOrderDocumentsParam | Omit = omit,
|
|
291
|
+
end_user: PortingOrderEndUserParam | Omit = omit,
|
|
292
|
+
messaging: porting_order_update_params.Messaging | Omit = omit,
|
|
293
|
+
misc: PortingOrderMiscParam | Omit = omit,
|
|
294
|
+
phone_number_configuration: PortingOrderPhoneNumberConfigurationParam | Omit = omit,
|
|
295
|
+
requirement_group_id: str | Omit = omit,
|
|
296
|
+
requirements: Iterable[porting_order_update_params.Requirement] | Omit = omit,
|
|
297
|
+
user_feedback: PortingOrderUserFeedbackParam | Omit = omit,
|
|
298
|
+
webhook_url: str | Omit = omit,
|
|
299
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
300
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
301
|
+
extra_headers: Headers | None = None,
|
|
302
|
+
extra_query: Query | None = None,
|
|
303
|
+
extra_body: Body | None = None,
|
|
304
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
305
|
+
) -> PortingOrderUpdateResponse:
|
|
306
|
+
"""
|
|
307
|
+
Edits the details of an existing porting order.
|
|
308
|
+
|
|
309
|
+
Any or all of a porting orders attributes may be included in the resource object
|
|
310
|
+
included in a PATCH request.
|
|
311
|
+
|
|
312
|
+
If a request does not include all of the attributes for a resource, the system
|
|
313
|
+
will interpret the missing attributes as if they were included with their
|
|
314
|
+
current values. To explicitly set something to null, it must be included in the
|
|
315
|
+
request with a null value.
|
|
316
|
+
|
|
317
|
+
Args:
|
|
318
|
+
documents: Can be specified directly or via the `requirement_group_id` parameter.
|
|
319
|
+
|
|
320
|
+
requirement_group_id: If present, we will read the current values from the specified Requirement Group
|
|
321
|
+
into the Documents and Requirements for this Porting Order. Note that any future
|
|
322
|
+
changes in the Requirement Group would have no impact on this Porting Order. We
|
|
323
|
+
will return an error if a specified Requirement Group conflicts with documents
|
|
324
|
+
or requirements in the same request.
|
|
325
|
+
|
|
326
|
+
requirements: List of requirements for porting numbers.
|
|
327
|
+
|
|
328
|
+
extra_headers: Send extra headers
|
|
329
|
+
|
|
330
|
+
extra_query: Add additional query parameters to the request
|
|
331
|
+
|
|
332
|
+
extra_body: Add additional JSON properties to the request
|
|
333
|
+
|
|
334
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
335
|
+
"""
|
|
336
|
+
if not id:
|
|
337
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
338
|
+
return self._patch(
|
|
339
|
+
f"/porting_orders/{id}",
|
|
340
|
+
body=maybe_transform(
|
|
341
|
+
{
|
|
342
|
+
"activation_settings": activation_settings,
|
|
343
|
+
"customer_group_reference": customer_group_reference,
|
|
344
|
+
"customer_reference": customer_reference,
|
|
345
|
+
"documents": documents,
|
|
346
|
+
"end_user": end_user,
|
|
347
|
+
"messaging": messaging,
|
|
348
|
+
"misc": misc,
|
|
349
|
+
"phone_number_configuration": phone_number_configuration,
|
|
350
|
+
"requirement_group_id": requirement_group_id,
|
|
351
|
+
"requirements": requirements,
|
|
352
|
+
"user_feedback": user_feedback,
|
|
353
|
+
"webhook_url": webhook_url,
|
|
354
|
+
},
|
|
355
|
+
porting_order_update_params.PortingOrderUpdateParams,
|
|
356
|
+
),
|
|
357
|
+
options=make_request_options(
|
|
358
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
359
|
+
),
|
|
360
|
+
cast_to=PortingOrderUpdateResponse,
|
|
361
|
+
)
|
|
362
|
+
|
|
363
|
+
def list(
|
|
364
|
+
self,
|
|
365
|
+
*,
|
|
366
|
+
filter: porting_order_list_params.Filter | Omit = omit,
|
|
367
|
+
include_phone_numbers: bool | Omit = omit,
|
|
368
|
+
page: porting_order_list_params.Page | Omit = omit,
|
|
369
|
+
sort: porting_order_list_params.Sort | Omit = omit,
|
|
370
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
371
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
372
|
+
extra_headers: Headers | None = None,
|
|
373
|
+
extra_query: Query | None = None,
|
|
374
|
+
extra_body: Body | None = None,
|
|
375
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
376
|
+
) -> PortingOrderListResponse:
|
|
377
|
+
"""
|
|
378
|
+
Returns a list of your porting order.
|
|
379
|
+
|
|
380
|
+
Args:
|
|
381
|
+
filter:
|
|
382
|
+
Consolidated filter parameter (deepObject style). Originally:
|
|
383
|
+
filter[customer_reference], filter[customer_group_reference],
|
|
384
|
+
filter[parent_support_key], filter[phone_numbers.country_code],
|
|
385
|
+
filter[phone_numbers.carrier_name], filter[misc.type],
|
|
386
|
+
filter[end_user.admin.entity_name], filter[end_user.admin.auth_person_name],
|
|
387
|
+
filter[activation_settings.fast_port_eligible],
|
|
388
|
+
filter[activation_settings.foc_datetime_requested][gt],
|
|
389
|
+
filter[activation_settings.foc_datetime_requested][lt],
|
|
390
|
+
filter[phone_numbers.phone_number][contains]
|
|
391
|
+
|
|
392
|
+
include_phone_numbers: Include the first 50 phone number objects in the results
|
|
393
|
+
|
|
394
|
+
page: Consolidated page parameter (deepObject style). Originally: page[size],
|
|
395
|
+
page[number]
|
|
396
|
+
|
|
397
|
+
sort: Consolidated sort parameter (deepObject style). Originally: sort[value]
|
|
398
|
+
|
|
399
|
+
extra_headers: Send extra headers
|
|
400
|
+
|
|
401
|
+
extra_query: Add additional query parameters to the request
|
|
402
|
+
|
|
403
|
+
extra_body: Add additional JSON properties to the request
|
|
404
|
+
|
|
405
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
406
|
+
"""
|
|
407
|
+
return self._get(
|
|
408
|
+
"/porting_orders",
|
|
409
|
+
options=make_request_options(
|
|
410
|
+
extra_headers=extra_headers,
|
|
411
|
+
extra_query=extra_query,
|
|
412
|
+
extra_body=extra_body,
|
|
413
|
+
timeout=timeout,
|
|
414
|
+
query=maybe_transform(
|
|
415
|
+
{
|
|
416
|
+
"filter": filter,
|
|
417
|
+
"include_phone_numbers": include_phone_numbers,
|
|
418
|
+
"page": page,
|
|
419
|
+
"sort": sort,
|
|
420
|
+
},
|
|
421
|
+
porting_order_list_params.PortingOrderListParams,
|
|
422
|
+
),
|
|
423
|
+
),
|
|
424
|
+
cast_to=PortingOrderListResponse,
|
|
425
|
+
)
|
|
426
|
+
|
|
427
|
+
def delete(
|
|
428
|
+
self,
|
|
429
|
+
id: str,
|
|
430
|
+
*,
|
|
431
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
432
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
433
|
+
extra_headers: Headers | None = None,
|
|
434
|
+
extra_query: Query | None = None,
|
|
435
|
+
extra_body: Body | None = None,
|
|
436
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
437
|
+
) -> None:
|
|
438
|
+
"""Deletes an existing porting order.
|
|
439
|
+
|
|
440
|
+
This operation is restrict to porting orders
|
|
441
|
+
in draft state.
|
|
442
|
+
|
|
443
|
+
Args:
|
|
444
|
+
extra_headers: Send extra headers
|
|
445
|
+
|
|
446
|
+
extra_query: Add additional query parameters to the request
|
|
447
|
+
|
|
448
|
+
extra_body: Add additional JSON properties to the request
|
|
449
|
+
|
|
450
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
451
|
+
"""
|
|
452
|
+
if not id:
|
|
453
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
454
|
+
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
|
455
|
+
return self._delete(
|
|
456
|
+
f"/porting_orders/{id}",
|
|
457
|
+
options=make_request_options(
|
|
458
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
459
|
+
),
|
|
460
|
+
cast_to=NoneType,
|
|
461
|
+
)
|
|
462
|
+
|
|
463
|
+
def retrieve_allowed_foc_windows(
|
|
464
|
+
self,
|
|
465
|
+
id: str,
|
|
466
|
+
*,
|
|
467
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
468
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
469
|
+
extra_headers: Headers | None = None,
|
|
470
|
+
extra_query: Query | None = None,
|
|
471
|
+
extra_body: Body | None = None,
|
|
472
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
473
|
+
) -> PortingOrderRetrieveAllowedFocWindowsResponse:
|
|
474
|
+
"""
|
|
475
|
+
Returns a list of allowed FOC dates for a porting order.
|
|
476
|
+
|
|
477
|
+
Args:
|
|
478
|
+
extra_headers: Send extra headers
|
|
479
|
+
|
|
480
|
+
extra_query: Add additional query parameters to the request
|
|
481
|
+
|
|
482
|
+
extra_body: Add additional JSON properties to the request
|
|
483
|
+
|
|
484
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
485
|
+
"""
|
|
486
|
+
if not id:
|
|
487
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
488
|
+
return self._get(
|
|
489
|
+
f"/porting_orders/{id}/allowed_foc_windows",
|
|
490
|
+
options=make_request_options(
|
|
491
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
492
|
+
),
|
|
493
|
+
cast_to=PortingOrderRetrieveAllowedFocWindowsResponse,
|
|
494
|
+
)
|
|
495
|
+
|
|
496
|
+
def retrieve_exception_types(
|
|
497
|
+
self,
|
|
498
|
+
*,
|
|
499
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
500
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
501
|
+
extra_headers: Headers | None = None,
|
|
502
|
+
extra_query: Query | None = None,
|
|
503
|
+
extra_body: Body | None = None,
|
|
504
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
505
|
+
) -> PortingOrderRetrieveExceptionTypesResponse:
|
|
506
|
+
"""Returns a list of all possible exception types for a porting order."""
|
|
507
|
+
return self._get(
|
|
508
|
+
"/porting_orders/exception_types",
|
|
509
|
+
options=make_request_options(
|
|
510
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
511
|
+
),
|
|
512
|
+
cast_to=PortingOrderRetrieveExceptionTypesResponse,
|
|
513
|
+
)
|
|
514
|
+
|
|
515
|
+
def retrieve_loa_template(
|
|
516
|
+
self,
|
|
517
|
+
id: str,
|
|
518
|
+
*,
|
|
519
|
+
loa_configuration_id: str | Omit = omit,
|
|
520
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
521
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
522
|
+
extra_headers: Headers | None = None,
|
|
523
|
+
extra_query: Query | None = None,
|
|
524
|
+
extra_body: Body | None = None,
|
|
525
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
526
|
+
) -> BinaryAPIResponse:
|
|
527
|
+
"""
|
|
528
|
+
Download a porting order loa template
|
|
529
|
+
|
|
530
|
+
Args:
|
|
531
|
+
loa_configuration_id: The identifier of the LOA configuration to use for the template. If not
|
|
532
|
+
provided, the default LOA configuration will be used.
|
|
533
|
+
|
|
534
|
+
extra_headers: Send extra headers
|
|
535
|
+
|
|
536
|
+
extra_query: Add additional query parameters to the request
|
|
537
|
+
|
|
538
|
+
extra_body: Add additional JSON properties to the request
|
|
539
|
+
|
|
540
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
541
|
+
"""
|
|
542
|
+
if not id:
|
|
543
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
544
|
+
extra_headers = {"Accept": "application/pdf", **(extra_headers or {})}
|
|
545
|
+
return self._get(
|
|
546
|
+
f"/porting_orders/{id}/loa_template",
|
|
547
|
+
options=make_request_options(
|
|
548
|
+
extra_headers=extra_headers,
|
|
549
|
+
extra_query=extra_query,
|
|
550
|
+
extra_body=extra_body,
|
|
551
|
+
timeout=timeout,
|
|
552
|
+
query=maybe_transform(
|
|
553
|
+
{"loa_configuration_id": loa_configuration_id},
|
|
554
|
+
porting_order_retrieve_loa_template_params.PortingOrderRetrieveLoaTemplateParams,
|
|
555
|
+
),
|
|
556
|
+
),
|
|
557
|
+
cast_to=BinaryAPIResponse,
|
|
558
|
+
)
|
|
559
|
+
|
|
560
|
+
def retrieve_requirements(
|
|
561
|
+
self,
|
|
562
|
+
id: str,
|
|
563
|
+
*,
|
|
564
|
+
page: porting_order_retrieve_requirements_params.Page | Omit = omit,
|
|
565
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
566
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
567
|
+
extra_headers: Headers | None = None,
|
|
568
|
+
extra_query: Query | None = None,
|
|
569
|
+
extra_body: Body | None = None,
|
|
570
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
571
|
+
) -> PortingOrderRetrieveRequirementsResponse:
|
|
572
|
+
"""
|
|
573
|
+
Returns a list of all requirements based on country/number type for this porting
|
|
574
|
+
order.
|
|
575
|
+
|
|
576
|
+
Args:
|
|
577
|
+
page: Consolidated page parameter (deepObject style). Originally: page[size],
|
|
578
|
+
page[number]
|
|
579
|
+
|
|
580
|
+
extra_headers: Send extra headers
|
|
581
|
+
|
|
582
|
+
extra_query: Add additional query parameters to the request
|
|
583
|
+
|
|
584
|
+
extra_body: Add additional JSON properties to the request
|
|
585
|
+
|
|
586
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
587
|
+
"""
|
|
588
|
+
if not id:
|
|
589
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
590
|
+
return self._get(
|
|
591
|
+
f"/porting_orders/{id}/requirements",
|
|
592
|
+
options=make_request_options(
|
|
593
|
+
extra_headers=extra_headers,
|
|
594
|
+
extra_query=extra_query,
|
|
595
|
+
extra_body=extra_body,
|
|
596
|
+
timeout=timeout,
|
|
597
|
+
query=maybe_transform(
|
|
598
|
+
{"page": page}, porting_order_retrieve_requirements_params.PortingOrderRetrieveRequirementsParams
|
|
599
|
+
),
|
|
600
|
+
),
|
|
601
|
+
cast_to=PortingOrderRetrieveRequirementsResponse,
|
|
602
|
+
)
|
|
603
|
+
|
|
604
|
+
def retrieve_sub_request(
|
|
605
|
+
self,
|
|
606
|
+
id: str,
|
|
607
|
+
*,
|
|
608
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
609
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
610
|
+
extra_headers: Headers | None = None,
|
|
611
|
+
extra_query: Query | None = None,
|
|
612
|
+
extra_body: Body | None = None,
|
|
613
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
614
|
+
) -> PortingOrderRetrieveSubRequestResponse:
|
|
615
|
+
"""
|
|
616
|
+
Retrieve the associated V1 sub_request_id and port_request_id
|
|
617
|
+
|
|
618
|
+
Args:
|
|
619
|
+
extra_headers: Send extra headers
|
|
620
|
+
|
|
621
|
+
extra_query: Add additional query parameters to the request
|
|
622
|
+
|
|
623
|
+
extra_body: Add additional JSON properties to the request
|
|
624
|
+
|
|
625
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
626
|
+
"""
|
|
627
|
+
if not id:
|
|
628
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
629
|
+
return self._get(
|
|
630
|
+
f"/porting_orders/{id}/sub_request",
|
|
631
|
+
options=make_request_options(
|
|
632
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
633
|
+
),
|
|
634
|
+
cast_to=PortingOrderRetrieveSubRequestResponse,
|
|
635
|
+
)
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
class AsyncPortingOrdersResource(AsyncAPIResource):
|
|
639
|
+
@cached_property
|
|
640
|
+
def phone_number_configurations(self) -> AsyncPhoneNumberConfigurationsResource:
|
|
641
|
+
return AsyncPhoneNumberConfigurationsResource(self._client)
|
|
642
|
+
|
|
643
|
+
@cached_property
|
|
644
|
+
def actions(self) -> AsyncActionsResource:
|
|
645
|
+
return AsyncActionsResource(self._client)
|
|
646
|
+
|
|
647
|
+
@cached_property
|
|
648
|
+
def activation_jobs(self) -> AsyncActivationJobsResource:
|
|
649
|
+
return AsyncActivationJobsResource(self._client)
|
|
650
|
+
|
|
651
|
+
@cached_property
|
|
652
|
+
def additional_documents(self) -> AsyncAdditionalDocumentsResource:
|
|
653
|
+
return AsyncAdditionalDocumentsResource(self._client)
|
|
654
|
+
|
|
655
|
+
@cached_property
|
|
656
|
+
def comments(self) -> AsyncCommentsResource:
|
|
657
|
+
return AsyncCommentsResource(self._client)
|
|
658
|
+
|
|
659
|
+
@cached_property
|
|
660
|
+
def verification_codes(self) -> AsyncVerificationCodesResource:
|
|
661
|
+
return AsyncVerificationCodesResource(self._client)
|
|
662
|
+
|
|
663
|
+
@cached_property
|
|
664
|
+
def action_requirements(self) -> AsyncActionRequirementsResource:
|
|
665
|
+
return AsyncActionRequirementsResource(self._client)
|
|
666
|
+
|
|
667
|
+
@cached_property
|
|
668
|
+
def associated_phone_numbers(self) -> AsyncAssociatedPhoneNumbersResource:
|
|
669
|
+
return AsyncAssociatedPhoneNumbersResource(self._client)
|
|
670
|
+
|
|
671
|
+
@cached_property
|
|
672
|
+
def phone_number_blocks(self) -> AsyncPhoneNumberBlocksResource:
|
|
673
|
+
return AsyncPhoneNumberBlocksResource(self._client)
|
|
674
|
+
|
|
675
|
+
@cached_property
|
|
676
|
+
def phone_number_extensions(self) -> AsyncPhoneNumberExtensionsResource:
|
|
677
|
+
return AsyncPhoneNumberExtensionsResource(self._client)
|
|
678
|
+
|
|
679
|
+
@cached_property
|
|
680
|
+
def with_raw_response(self) -> AsyncPortingOrdersResourceWithRawResponse:
|
|
681
|
+
"""
|
|
682
|
+
This property can be used as a prefix for any HTTP method call to return
|
|
683
|
+
the raw response object instead of the parsed content.
|
|
684
|
+
|
|
685
|
+
For more information, see https://www.github.com/team-telnyx/telnyx-python#accessing-raw-response-data-eg-headers
|
|
686
|
+
"""
|
|
687
|
+
return AsyncPortingOrdersResourceWithRawResponse(self)
|
|
688
|
+
|
|
689
|
+
@cached_property
|
|
690
|
+
def with_streaming_response(self) -> AsyncPortingOrdersResourceWithStreamingResponse:
|
|
691
|
+
"""
|
|
692
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
693
|
+
|
|
694
|
+
For more information, see https://www.github.com/team-telnyx/telnyx-python#with_streaming_response
|
|
695
|
+
"""
|
|
696
|
+
return AsyncPortingOrdersResourceWithStreamingResponse(self)
|
|
697
|
+
|
|
698
|
+
async def create(
|
|
699
|
+
self,
|
|
700
|
+
*,
|
|
701
|
+
phone_numbers: SequenceNotStr[str],
|
|
702
|
+
customer_group_reference: str | Omit = omit,
|
|
703
|
+
customer_reference: str | Omit = omit,
|
|
704
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
705
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
706
|
+
extra_headers: Headers | None = None,
|
|
707
|
+
extra_query: Query | None = None,
|
|
708
|
+
extra_body: Body | None = None,
|
|
709
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
710
|
+
) -> PortingOrderCreateResponse:
|
|
711
|
+
"""
|
|
712
|
+
Creates a new porting order object.
|
|
713
|
+
|
|
714
|
+
Args:
|
|
715
|
+
phone_numbers: The list of +E.164 formatted phone numbers
|
|
716
|
+
|
|
717
|
+
customer_group_reference: A customer-specified group reference for customer bookkeeping purposes
|
|
718
|
+
|
|
719
|
+
customer_reference: A customer-specified reference number for customer bookkeeping purposes
|
|
720
|
+
|
|
721
|
+
extra_headers: Send extra headers
|
|
722
|
+
|
|
723
|
+
extra_query: Add additional query parameters to the request
|
|
724
|
+
|
|
725
|
+
extra_body: Add additional JSON properties to the request
|
|
726
|
+
|
|
727
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
728
|
+
"""
|
|
729
|
+
return await self._post(
|
|
730
|
+
"/porting_orders",
|
|
731
|
+
body=await async_maybe_transform(
|
|
732
|
+
{
|
|
733
|
+
"phone_numbers": phone_numbers,
|
|
734
|
+
"customer_group_reference": customer_group_reference,
|
|
735
|
+
"customer_reference": customer_reference,
|
|
736
|
+
},
|
|
737
|
+
porting_order_create_params.PortingOrderCreateParams,
|
|
738
|
+
),
|
|
739
|
+
options=make_request_options(
|
|
740
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
741
|
+
),
|
|
742
|
+
cast_to=PortingOrderCreateResponse,
|
|
743
|
+
)
|
|
744
|
+
|
|
745
|
+
async def retrieve(
|
|
746
|
+
self,
|
|
747
|
+
id: str,
|
|
748
|
+
*,
|
|
749
|
+
include_phone_numbers: bool | Omit = omit,
|
|
750
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
751
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
752
|
+
extra_headers: Headers | None = None,
|
|
753
|
+
extra_query: Query | None = None,
|
|
754
|
+
extra_body: Body | None = None,
|
|
755
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
756
|
+
) -> PortingOrderRetrieveResponse:
|
|
757
|
+
"""
|
|
758
|
+
Retrieves the details of an existing porting order.
|
|
759
|
+
|
|
760
|
+
Args:
|
|
761
|
+
include_phone_numbers: Include the first 50 phone number objects in the results
|
|
762
|
+
|
|
763
|
+
extra_headers: Send extra headers
|
|
764
|
+
|
|
765
|
+
extra_query: Add additional query parameters to the request
|
|
766
|
+
|
|
767
|
+
extra_body: Add additional JSON properties to the request
|
|
768
|
+
|
|
769
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
770
|
+
"""
|
|
771
|
+
if not id:
|
|
772
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
773
|
+
return await self._get(
|
|
774
|
+
f"/porting_orders/{id}",
|
|
775
|
+
options=make_request_options(
|
|
776
|
+
extra_headers=extra_headers,
|
|
777
|
+
extra_query=extra_query,
|
|
778
|
+
extra_body=extra_body,
|
|
779
|
+
timeout=timeout,
|
|
780
|
+
query=await async_maybe_transform(
|
|
781
|
+
{"include_phone_numbers": include_phone_numbers},
|
|
782
|
+
porting_order_retrieve_params.PortingOrderRetrieveParams,
|
|
783
|
+
),
|
|
784
|
+
),
|
|
785
|
+
cast_to=PortingOrderRetrieveResponse,
|
|
786
|
+
)
|
|
787
|
+
|
|
788
|
+
async def update(
|
|
789
|
+
self,
|
|
790
|
+
id: str,
|
|
791
|
+
*,
|
|
792
|
+
activation_settings: porting_order_update_params.ActivationSettings | Omit = omit,
|
|
793
|
+
customer_group_reference: str | Omit = omit,
|
|
794
|
+
customer_reference: str | Omit = omit,
|
|
795
|
+
documents: PortingOrderDocumentsParam | Omit = omit,
|
|
796
|
+
end_user: PortingOrderEndUserParam | Omit = omit,
|
|
797
|
+
messaging: porting_order_update_params.Messaging | Omit = omit,
|
|
798
|
+
misc: PortingOrderMiscParam | Omit = omit,
|
|
799
|
+
phone_number_configuration: PortingOrderPhoneNumberConfigurationParam | Omit = omit,
|
|
800
|
+
requirement_group_id: str | Omit = omit,
|
|
801
|
+
requirements: Iterable[porting_order_update_params.Requirement] | Omit = omit,
|
|
802
|
+
user_feedback: PortingOrderUserFeedbackParam | Omit = omit,
|
|
803
|
+
webhook_url: str | Omit = omit,
|
|
804
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
805
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
806
|
+
extra_headers: Headers | None = None,
|
|
807
|
+
extra_query: Query | None = None,
|
|
808
|
+
extra_body: Body | None = None,
|
|
809
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
810
|
+
) -> PortingOrderUpdateResponse:
|
|
811
|
+
"""
|
|
812
|
+
Edits the details of an existing porting order.
|
|
813
|
+
|
|
814
|
+
Any or all of a porting orders attributes may be included in the resource object
|
|
815
|
+
included in a PATCH request.
|
|
816
|
+
|
|
817
|
+
If a request does not include all of the attributes for a resource, the system
|
|
818
|
+
will interpret the missing attributes as if they were included with their
|
|
819
|
+
current values. To explicitly set something to null, it must be included in the
|
|
820
|
+
request with a null value.
|
|
821
|
+
|
|
822
|
+
Args:
|
|
823
|
+
documents: Can be specified directly or via the `requirement_group_id` parameter.
|
|
824
|
+
|
|
825
|
+
requirement_group_id: If present, we will read the current values from the specified Requirement Group
|
|
826
|
+
into the Documents and Requirements for this Porting Order. Note that any future
|
|
827
|
+
changes in the Requirement Group would have no impact on this Porting Order. We
|
|
828
|
+
will return an error if a specified Requirement Group conflicts with documents
|
|
829
|
+
or requirements in the same request.
|
|
830
|
+
|
|
831
|
+
requirements: List of requirements for porting numbers.
|
|
832
|
+
|
|
833
|
+
extra_headers: Send extra headers
|
|
834
|
+
|
|
835
|
+
extra_query: Add additional query parameters to the request
|
|
836
|
+
|
|
837
|
+
extra_body: Add additional JSON properties to the request
|
|
838
|
+
|
|
839
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
840
|
+
"""
|
|
841
|
+
if not id:
|
|
842
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
843
|
+
return await self._patch(
|
|
844
|
+
f"/porting_orders/{id}",
|
|
845
|
+
body=await async_maybe_transform(
|
|
846
|
+
{
|
|
847
|
+
"activation_settings": activation_settings,
|
|
848
|
+
"customer_group_reference": customer_group_reference,
|
|
849
|
+
"customer_reference": customer_reference,
|
|
850
|
+
"documents": documents,
|
|
851
|
+
"end_user": end_user,
|
|
852
|
+
"messaging": messaging,
|
|
853
|
+
"misc": misc,
|
|
854
|
+
"phone_number_configuration": phone_number_configuration,
|
|
855
|
+
"requirement_group_id": requirement_group_id,
|
|
856
|
+
"requirements": requirements,
|
|
857
|
+
"user_feedback": user_feedback,
|
|
858
|
+
"webhook_url": webhook_url,
|
|
859
|
+
},
|
|
860
|
+
porting_order_update_params.PortingOrderUpdateParams,
|
|
861
|
+
),
|
|
862
|
+
options=make_request_options(
|
|
863
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
864
|
+
),
|
|
865
|
+
cast_to=PortingOrderUpdateResponse,
|
|
866
|
+
)
|
|
867
|
+
|
|
868
|
+
async def list(
|
|
869
|
+
self,
|
|
870
|
+
*,
|
|
871
|
+
filter: porting_order_list_params.Filter | Omit = omit,
|
|
872
|
+
include_phone_numbers: bool | Omit = omit,
|
|
873
|
+
page: porting_order_list_params.Page | Omit = omit,
|
|
874
|
+
sort: porting_order_list_params.Sort | Omit = omit,
|
|
875
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
876
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
877
|
+
extra_headers: Headers | None = None,
|
|
878
|
+
extra_query: Query | None = None,
|
|
879
|
+
extra_body: Body | None = None,
|
|
880
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
881
|
+
) -> PortingOrderListResponse:
|
|
882
|
+
"""
|
|
883
|
+
Returns a list of your porting order.
|
|
884
|
+
|
|
885
|
+
Args:
|
|
886
|
+
filter:
|
|
887
|
+
Consolidated filter parameter (deepObject style). Originally:
|
|
888
|
+
filter[customer_reference], filter[customer_group_reference],
|
|
889
|
+
filter[parent_support_key], filter[phone_numbers.country_code],
|
|
890
|
+
filter[phone_numbers.carrier_name], filter[misc.type],
|
|
891
|
+
filter[end_user.admin.entity_name], filter[end_user.admin.auth_person_name],
|
|
892
|
+
filter[activation_settings.fast_port_eligible],
|
|
893
|
+
filter[activation_settings.foc_datetime_requested][gt],
|
|
894
|
+
filter[activation_settings.foc_datetime_requested][lt],
|
|
895
|
+
filter[phone_numbers.phone_number][contains]
|
|
896
|
+
|
|
897
|
+
include_phone_numbers: Include the first 50 phone number objects in the results
|
|
898
|
+
|
|
899
|
+
page: Consolidated page parameter (deepObject style). Originally: page[size],
|
|
900
|
+
page[number]
|
|
901
|
+
|
|
902
|
+
sort: Consolidated sort parameter (deepObject style). Originally: sort[value]
|
|
903
|
+
|
|
904
|
+
extra_headers: Send extra headers
|
|
905
|
+
|
|
906
|
+
extra_query: Add additional query parameters to the request
|
|
907
|
+
|
|
908
|
+
extra_body: Add additional JSON properties to the request
|
|
909
|
+
|
|
910
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
911
|
+
"""
|
|
912
|
+
return await self._get(
|
|
913
|
+
"/porting_orders",
|
|
914
|
+
options=make_request_options(
|
|
915
|
+
extra_headers=extra_headers,
|
|
916
|
+
extra_query=extra_query,
|
|
917
|
+
extra_body=extra_body,
|
|
918
|
+
timeout=timeout,
|
|
919
|
+
query=await async_maybe_transform(
|
|
920
|
+
{
|
|
921
|
+
"filter": filter,
|
|
922
|
+
"include_phone_numbers": include_phone_numbers,
|
|
923
|
+
"page": page,
|
|
924
|
+
"sort": sort,
|
|
925
|
+
},
|
|
926
|
+
porting_order_list_params.PortingOrderListParams,
|
|
927
|
+
),
|
|
928
|
+
),
|
|
929
|
+
cast_to=PortingOrderListResponse,
|
|
930
|
+
)
|
|
931
|
+
|
|
932
|
+
async def delete(
|
|
933
|
+
self,
|
|
934
|
+
id: str,
|
|
935
|
+
*,
|
|
936
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
937
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
938
|
+
extra_headers: Headers | None = None,
|
|
939
|
+
extra_query: Query | None = None,
|
|
940
|
+
extra_body: Body | None = None,
|
|
941
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
942
|
+
) -> None:
|
|
943
|
+
"""Deletes an existing porting order.
|
|
944
|
+
|
|
945
|
+
This operation is restrict to porting orders
|
|
946
|
+
in draft state.
|
|
947
|
+
|
|
948
|
+
Args:
|
|
949
|
+
extra_headers: Send extra headers
|
|
950
|
+
|
|
951
|
+
extra_query: Add additional query parameters to the request
|
|
952
|
+
|
|
953
|
+
extra_body: Add additional JSON properties to the request
|
|
954
|
+
|
|
955
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
956
|
+
"""
|
|
957
|
+
if not id:
|
|
958
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
959
|
+
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
|
960
|
+
return await self._delete(
|
|
961
|
+
f"/porting_orders/{id}",
|
|
962
|
+
options=make_request_options(
|
|
963
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
964
|
+
),
|
|
965
|
+
cast_to=NoneType,
|
|
966
|
+
)
|
|
967
|
+
|
|
968
|
+
async def retrieve_allowed_foc_windows(
|
|
969
|
+
self,
|
|
970
|
+
id: str,
|
|
971
|
+
*,
|
|
972
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
973
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
974
|
+
extra_headers: Headers | None = None,
|
|
975
|
+
extra_query: Query | None = None,
|
|
976
|
+
extra_body: Body | None = None,
|
|
977
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
978
|
+
) -> PortingOrderRetrieveAllowedFocWindowsResponse:
|
|
979
|
+
"""
|
|
980
|
+
Returns a list of allowed FOC dates for a porting order.
|
|
981
|
+
|
|
982
|
+
Args:
|
|
983
|
+
extra_headers: Send extra headers
|
|
984
|
+
|
|
985
|
+
extra_query: Add additional query parameters to the request
|
|
986
|
+
|
|
987
|
+
extra_body: Add additional JSON properties to the request
|
|
988
|
+
|
|
989
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
990
|
+
"""
|
|
991
|
+
if not id:
|
|
992
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
993
|
+
return await self._get(
|
|
994
|
+
f"/porting_orders/{id}/allowed_foc_windows",
|
|
995
|
+
options=make_request_options(
|
|
996
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
997
|
+
),
|
|
998
|
+
cast_to=PortingOrderRetrieveAllowedFocWindowsResponse,
|
|
999
|
+
)
|
|
1000
|
+
|
|
1001
|
+
async def retrieve_exception_types(
|
|
1002
|
+
self,
|
|
1003
|
+
*,
|
|
1004
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
1005
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
1006
|
+
extra_headers: Headers | None = None,
|
|
1007
|
+
extra_query: Query | None = None,
|
|
1008
|
+
extra_body: Body | None = None,
|
|
1009
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
1010
|
+
) -> PortingOrderRetrieveExceptionTypesResponse:
|
|
1011
|
+
"""Returns a list of all possible exception types for a porting order."""
|
|
1012
|
+
return await self._get(
|
|
1013
|
+
"/porting_orders/exception_types",
|
|
1014
|
+
options=make_request_options(
|
|
1015
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
1016
|
+
),
|
|
1017
|
+
cast_to=PortingOrderRetrieveExceptionTypesResponse,
|
|
1018
|
+
)
|
|
1019
|
+
|
|
1020
|
+
async def retrieve_loa_template(
|
|
1021
|
+
self,
|
|
1022
|
+
id: str,
|
|
1023
|
+
*,
|
|
1024
|
+
loa_configuration_id: str | Omit = omit,
|
|
1025
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
1026
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
1027
|
+
extra_headers: Headers | None = None,
|
|
1028
|
+
extra_query: Query | None = None,
|
|
1029
|
+
extra_body: Body | None = None,
|
|
1030
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
1031
|
+
) -> AsyncBinaryAPIResponse:
|
|
1032
|
+
"""
|
|
1033
|
+
Download a porting order loa template
|
|
1034
|
+
|
|
1035
|
+
Args:
|
|
1036
|
+
loa_configuration_id: The identifier of the LOA configuration to use for the template. If not
|
|
1037
|
+
provided, the default LOA configuration will be used.
|
|
1038
|
+
|
|
1039
|
+
extra_headers: Send extra headers
|
|
1040
|
+
|
|
1041
|
+
extra_query: Add additional query parameters to the request
|
|
1042
|
+
|
|
1043
|
+
extra_body: Add additional JSON properties to the request
|
|
1044
|
+
|
|
1045
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
1046
|
+
"""
|
|
1047
|
+
if not id:
|
|
1048
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
1049
|
+
extra_headers = {"Accept": "application/pdf", **(extra_headers or {})}
|
|
1050
|
+
return await self._get(
|
|
1051
|
+
f"/porting_orders/{id}/loa_template",
|
|
1052
|
+
options=make_request_options(
|
|
1053
|
+
extra_headers=extra_headers,
|
|
1054
|
+
extra_query=extra_query,
|
|
1055
|
+
extra_body=extra_body,
|
|
1056
|
+
timeout=timeout,
|
|
1057
|
+
query=await async_maybe_transform(
|
|
1058
|
+
{"loa_configuration_id": loa_configuration_id},
|
|
1059
|
+
porting_order_retrieve_loa_template_params.PortingOrderRetrieveLoaTemplateParams,
|
|
1060
|
+
),
|
|
1061
|
+
),
|
|
1062
|
+
cast_to=AsyncBinaryAPIResponse,
|
|
1063
|
+
)
|
|
1064
|
+
|
|
1065
|
+
async def retrieve_requirements(
|
|
1066
|
+
self,
|
|
1067
|
+
id: str,
|
|
1068
|
+
*,
|
|
1069
|
+
page: porting_order_retrieve_requirements_params.Page | Omit = omit,
|
|
1070
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
1071
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
1072
|
+
extra_headers: Headers | None = None,
|
|
1073
|
+
extra_query: Query | None = None,
|
|
1074
|
+
extra_body: Body | None = None,
|
|
1075
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
1076
|
+
) -> PortingOrderRetrieveRequirementsResponse:
|
|
1077
|
+
"""
|
|
1078
|
+
Returns a list of all requirements based on country/number type for this porting
|
|
1079
|
+
order.
|
|
1080
|
+
|
|
1081
|
+
Args:
|
|
1082
|
+
page: Consolidated page parameter (deepObject style). Originally: page[size],
|
|
1083
|
+
page[number]
|
|
1084
|
+
|
|
1085
|
+
extra_headers: Send extra headers
|
|
1086
|
+
|
|
1087
|
+
extra_query: Add additional query parameters to the request
|
|
1088
|
+
|
|
1089
|
+
extra_body: Add additional JSON properties to the request
|
|
1090
|
+
|
|
1091
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
1092
|
+
"""
|
|
1093
|
+
if not id:
|
|
1094
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
1095
|
+
return await self._get(
|
|
1096
|
+
f"/porting_orders/{id}/requirements",
|
|
1097
|
+
options=make_request_options(
|
|
1098
|
+
extra_headers=extra_headers,
|
|
1099
|
+
extra_query=extra_query,
|
|
1100
|
+
extra_body=extra_body,
|
|
1101
|
+
timeout=timeout,
|
|
1102
|
+
query=await async_maybe_transform(
|
|
1103
|
+
{"page": page}, porting_order_retrieve_requirements_params.PortingOrderRetrieveRequirementsParams
|
|
1104
|
+
),
|
|
1105
|
+
),
|
|
1106
|
+
cast_to=PortingOrderRetrieveRequirementsResponse,
|
|
1107
|
+
)
|
|
1108
|
+
|
|
1109
|
+
async def retrieve_sub_request(
|
|
1110
|
+
self,
|
|
1111
|
+
id: str,
|
|
1112
|
+
*,
|
|
1113
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
1114
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
1115
|
+
extra_headers: Headers | None = None,
|
|
1116
|
+
extra_query: Query | None = None,
|
|
1117
|
+
extra_body: Body | None = None,
|
|
1118
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
1119
|
+
) -> PortingOrderRetrieveSubRequestResponse:
|
|
1120
|
+
"""
|
|
1121
|
+
Retrieve the associated V1 sub_request_id and port_request_id
|
|
1122
|
+
|
|
1123
|
+
Args:
|
|
1124
|
+
extra_headers: Send extra headers
|
|
1125
|
+
|
|
1126
|
+
extra_query: Add additional query parameters to the request
|
|
1127
|
+
|
|
1128
|
+
extra_body: Add additional JSON properties to the request
|
|
1129
|
+
|
|
1130
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
1131
|
+
"""
|
|
1132
|
+
if not id:
|
|
1133
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
1134
|
+
return await self._get(
|
|
1135
|
+
f"/porting_orders/{id}/sub_request",
|
|
1136
|
+
options=make_request_options(
|
|
1137
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
1138
|
+
),
|
|
1139
|
+
cast_to=PortingOrderRetrieveSubRequestResponse,
|
|
1140
|
+
)
|
|
1141
|
+
|
|
1142
|
+
|
|
1143
|
+
class PortingOrdersResourceWithRawResponse:
|
|
1144
|
+
def __init__(self, porting_orders: PortingOrdersResource) -> None:
|
|
1145
|
+
self._porting_orders = porting_orders
|
|
1146
|
+
|
|
1147
|
+
self.create = to_raw_response_wrapper(
|
|
1148
|
+
porting_orders.create,
|
|
1149
|
+
)
|
|
1150
|
+
self.retrieve = to_raw_response_wrapper(
|
|
1151
|
+
porting_orders.retrieve,
|
|
1152
|
+
)
|
|
1153
|
+
self.update = to_raw_response_wrapper(
|
|
1154
|
+
porting_orders.update,
|
|
1155
|
+
)
|
|
1156
|
+
self.list = to_raw_response_wrapper(
|
|
1157
|
+
porting_orders.list,
|
|
1158
|
+
)
|
|
1159
|
+
self.delete = to_raw_response_wrapper(
|
|
1160
|
+
porting_orders.delete,
|
|
1161
|
+
)
|
|
1162
|
+
self.retrieve_allowed_foc_windows = to_raw_response_wrapper(
|
|
1163
|
+
porting_orders.retrieve_allowed_foc_windows,
|
|
1164
|
+
)
|
|
1165
|
+
self.retrieve_exception_types = to_raw_response_wrapper(
|
|
1166
|
+
porting_orders.retrieve_exception_types,
|
|
1167
|
+
)
|
|
1168
|
+
self.retrieve_loa_template = to_custom_raw_response_wrapper(
|
|
1169
|
+
porting_orders.retrieve_loa_template,
|
|
1170
|
+
BinaryAPIResponse,
|
|
1171
|
+
)
|
|
1172
|
+
self.retrieve_requirements = to_raw_response_wrapper(
|
|
1173
|
+
porting_orders.retrieve_requirements,
|
|
1174
|
+
)
|
|
1175
|
+
self.retrieve_sub_request = to_raw_response_wrapper(
|
|
1176
|
+
porting_orders.retrieve_sub_request,
|
|
1177
|
+
)
|
|
1178
|
+
|
|
1179
|
+
@cached_property
|
|
1180
|
+
def phone_number_configurations(self) -> PhoneNumberConfigurationsResourceWithRawResponse:
|
|
1181
|
+
return PhoneNumberConfigurationsResourceWithRawResponse(self._porting_orders.phone_number_configurations)
|
|
1182
|
+
|
|
1183
|
+
@cached_property
|
|
1184
|
+
def actions(self) -> ActionsResourceWithRawResponse:
|
|
1185
|
+
return ActionsResourceWithRawResponse(self._porting_orders.actions)
|
|
1186
|
+
|
|
1187
|
+
@cached_property
|
|
1188
|
+
def activation_jobs(self) -> ActivationJobsResourceWithRawResponse:
|
|
1189
|
+
return ActivationJobsResourceWithRawResponse(self._porting_orders.activation_jobs)
|
|
1190
|
+
|
|
1191
|
+
@cached_property
|
|
1192
|
+
def additional_documents(self) -> AdditionalDocumentsResourceWithRawResponse:
|
|
1193
|
+
return AdditionalDocumentsResourceWithRawResponse(self._porting_orders.additional_documents)
|
|
1194
|
+
|
|
1195
|
+
@cached_property
|
|
1196
|
+
def comments(self) -> CommentsResourceWithRawResponse:
|
|
1197
|
+
return CommentsResourceWithRawResponse(self._porting_orders.comments)
|
|
1198
|
+
|
|
1199
|
+
@cached_property
|
|
1200
|
+
def verification_codes(self) -> VerificationCodesResourceWithRawResponse:
|
|
1201
|
+
return VerificationCodesResourceWithRawResponse(self._porting_orders.verification_codes)
|
|
1202
|
+
|
|
1203
|
+
@cached_property
|
|
1204
|
+
def action_requirements(self) -> ActionRequirementsResourceWithRawResponse:
|
|
1205
|
+
return ActionRequirementsResourceWithRawResponse(self._porting_orders.action_requirements)
|
|
1206
|
+
|
|
1207
|
+
@cached_property
|
|
1208
|
+
def associated_phone_numbers(self) -> AssociatedPhoneNumbersResourceWithRawResponse:
|
|
1209
|
+
return AssociatedPhoneNumbersResourceWithRawResponse(self._porting_orders.associated_phone_numbers)
|
|
1210
|
+
|
|
1211
|
+
@cached_property
|
|
1212
|
+
def phone_number_blocks(self) -> PhoneNumberBlocksResourceWithRawResponse:
|
|
1213
|
+
return PhoneNumberBlocksResourceWithRawResponse(self._porting_orders.phone_number_blocks)
|
|
1214
|
+
|
|
1215
|
+
@cached_property
|
|
1216
|
+
def phone_number_extensions(self) -> PhoneNumberExtensionsResourceWithRawResponse:
|
|
1217
|
+
return PhoneNumberExtensionsResourceWithRawResponse(self._porting_orders.phone_number_extensions)
|
|
1218
|
+
|
|
1219
|
+
|
|
1220
|
+
class AsyncPortingOrdersResourceWithRawResponse:
|
|
1221
|
+
def __init__(self, porting_orders: AsyncPortingOrdersResource) -> None:
|
|
1222
|
+
self._porting_orders = porting_orders
|
|
1223
|
+
|
|
1224
|
+
self.create = async_to_raw_response_wrapper(
|
|
1225
|
+
porting_orders.create,
|
|
1226
|
+
)
|
|
1227
|
+
self.retrieve = async_to_raw_response_wrapper(
|
|
1228
|
+
porting_orders.retrieve,
|
|
1229
|
+
)
|
|
1230
|
+
self.update = async_to_raw_response_wrapper(
|
|
1231
|
+
porting_orders.update,
|
|
1232
|
+
)
|
|
1233
|
+
self.list = async_to_raw_response_wrapper(
|
|
1234
|
+
porting_orders.list,
|
|
1235
|
+
)
|
|
1236
|
+
self.delete = async_to_raw_response_wrapper(
|
|
1237
|
+
porting_orders.delete,
|
|
1238
|
+
)
|
|
1239
|
+
self.retrieve_allowed_foc_windows = async_to_raw_response_wrapper(
|
|
1240
|
+
porting_orders.retrieve_allowed_foc_windows,
|
|
1241
|
+
)
|
|
1242
|
+
self.retrieve_exception_types = async_to_raw_response_wrapper(
|
|
1243
|
+
porting_orders.retrieve_exception_types,
|
|
1244
|
+
)
|
|
1245
|
+
self.retrieve_loa_template = async_to_custom_raw_response_wrapper(
|
|
1246
|
+
porting_orders.retrieve_loa_template,
|
|
1247
|
+
AsyncBinaryAPIResponse,
|
|
1248
|
+
)
|
|
1249
|
+
self.retrieve_requirements = async_to_raw_response_wrapper(
|
|
1250
|
+
porting_orders.retrieve_requirements,
|
|
1251
|
+
)
|
|
1252
|
+
self.retrieve_sub_request = async_to_raw_response_wrapper(
|
|
1253
|
+
porting_orders.retrieve_sub_request,
|
|
1254
|
+
)
|
|
1255
|
+
|
|
1256
|
+
@cached_property
|
|
1257
|
+
def phone_number_configurations(self) -> AsyncPhoneNumberConfigurationsResourceWithRawResponse:
|
|
1258
|
+
return AsyncPhoneNumberConfigurationsResourceWithRawResponse(self._porting_orders.phone_number_configurations)
|
|
1259
|
+
|
|
1260
|
+
@cached_property
|
|
1261
|
+
def actions(self) -> AsyncActionsResourceWithRawResponse:
|
|
1262
|
+
return AsyncActionsResourceWithRawResponse(self._porting_orders.actions)
|
|
1263
|
+
|
|
1264
|
+
@cached_property
|
|
1265
|
+
def activation_jobs(self) -> AsyncActivationJobsResourceWithRawResponse:
|
|
1266
|
+
return AsyncActivationJobsResourceWithRawResponse(self._porting_orders.activation_jobs)
|
|
1267
|
+
|
|
1268
|
+
@cached_property
|
|
1269
|
+
def additional_documents(self) -> AsyncAdditionalDocumentsResourceWithRawResponse:
|
|
1270
|
+
return AsyncAdditionalDocumentsResourceWithRawResponse(self._porting_orders.additional_documents)
|
|
1271
|
+
|
|
1272
|
+
@cached_property
|
|
1273
|
+
def comments(self) -> AsyncCommentsResourceWithRawResponse:
|
|
1274
|
+
return AsyncCommentsResourceWithRawResponse(self._porting_orders.comments)
|
|
1275
|
+
|
|
1276
|
+
@cached_property
|
|
1277
|
+
def verification_codes(self) -> AsyncVerificationCodesResourceWithRawResponse:
|
|
1278
|
+
return AsyncVerificationCodesResourceWithRawResponse(self._porting_orders.verification_codes)
|
|
1279
|
+
|
|
1280
|
+
@cached_property
|
|
1281
|
+
def action_requirements(self) -> AsyncActionRequirementsResourceWithRawResponse:
|
|
1282
|
+
return AsyncActionRequirementsResourceWithRawResponse(self._porting_orders.action_requirements)
|
|
1283
|
+
|
|
1284
|
+
@cached_property
|
|
1285
|
+
def associated_phone_numbers(self) -> AsyncAssociatedPhoneNumbersResourceWithRawResponse:
|
|
1286
|
+
return AsyncAssociatedPhoneNumbersResourceWithRawResponse(self._porting_orders.associated_phone_numbers)
|
|
1287
|
+
|
|
1288
|
+
@cached_property
|
|
1289
|
+
def phone_number_blocks(self) -> AsyncPhoneNumberBlocksResourceWithRawResponse:
|
|
1290
|
+
return AsyncPhoneNumberBlocksResourceWithRawResponse(self._porting_orders.phone_number_blocks)
|
|
1291
|
+
|
|
1292
|
+
@cached_property
|
|
1293
|
+
def phone_number_extensions(self) -> AsyncPhoneNumberExtensionsResourceWithRawResponse:
|
|
1294
|
+
return AsyncPhoneNumberExtensionsResourceWithRawResponse(self._porting_orders.phone_number_extensions)
|
|
1295
|
+
|
|
1296
|
+
|
|
1297
|
+
class PortingOrdersResourceWithStreamingResponse:
|
|
1298
|
+
def __init__(self, porting_orders: PortingOrdersResource) -> None:
|
|
1299
|
+
self._porting_orders = porting_orders
|
|
1300
|
+
|
|
1301
|
+
self.create = to_streamed_response_wrapper(
|
|
1302
|
+
porting_orders.create,
|
|
1303
|
+
)
|
|
1304
|
+
self.retrieve = to_streamed_response_wrapper(
|
|
1305
|
+
porting_orders.retrieve,
|
|
1306
|
+
)
|
|
1307
|
+
self.update = to_streamed_response_wrapper(
|
|
1308
|
+
porting_orders.update,
|
|
1309
|
+
)
|
|
1310
|
+
self.list = to_streamed_response_wrapper(
|
|
1311
|
+
porting_orders.list,
|
|
1312
|
+
)
|
|
1313
|
+
self.delete = to_streamed_response_wrapper(
|
|
1314
|
+
porting_orders.delete,
|
|
1315
|
+
)
|
|
1316
|
+
self.retrieve_allowed_foc_windows = to_streamed_response_wrapper(
|
|
1317
|
+
porting_orders.retrieve_allowed_foc_windows,
|
|
1318
|
+
)
|
|
1319
|
+
self.retrieve_exception_types = to_streamed_response_wrapper(
|
|
1320
|
+
porting_orders.retrieve_exception_types,
|
|
1321
|
+
)
|
|
1322
|
+
self.retrieve_loa_template = to_custom_streamed_response_wrapper(
|
|
1323
|
+
porting_orders.retrieve_loa_template,
|
|
1324
|
+
StreamedBinaryAPIResponse,
|
|
1325
|
+
)
|
|
1326
|
+
self.retrieve_requirements = to_streamed_response_wrapper(
|
|
1327
|
+
porting_orders.retrieve_requirements,
|
|
1328
|
+
)
|
|
1329
|
+
self.retrieve_sub_request = to_streamed_response_wrapper(
|
|
1330
|
+
porting_orders.retrieve_sub_request,
|
|
1331
|
+
)
|
|
1332
|
+
|
|
1333
|
+
@cached_property
|
|
1334
|
+
def phone_number_configurations(self) -> PhoneNumberConfigurationsResourceWithStreamingResponse:
|
|
1335
|
+
return PhoneNumberConfigurationsResourceWithStreamingResponse(self._porting_orders.phone_number_configurations)
|
|
1336
|
+
|
|
1337
|
+
@cached_property
|
|
1338
|
+
def actions(self) -> ActionsResourceWithStreamingResponse:
|
|
1339
|
+
return ActionsResourceWithStreamingResponse(self._porting_orders.actions)
|
|
1340
|
+
|
|
1341
|
+
@cached_property
|
|
1342
|
+
def activation_jobs(self) -> ActivationJobsResourceWithStreamingResponse:
|
|
1343
|
+
return ActivationJobsResourceWithStreamingResponse(self._porting_orders.activation_jobs)
|
|
1344
|
+
|
|
1345
|
+
@cached_property
|
|
1346
|
+
def additional_documents(self) -> AdditionalDocumentsResourceWithStreamingResponse:
|
|
1347
|
+
return AdditionalDocumentsResourceWithStreamingResponse(self._porting_orders.additional_documents)
|
|
1348
|
+
|
|
1349
|
+
@cached_property
|
|
1350
|
+
def comments(self) -> CommentsResourceWithStreamingResponse:
|
|
1351
|
+
return CommentsResourceWithStreamingResponse(self._porting_orders.comments)
|
|
1352
|
+
|
|
1353
|
+
@cached_property
|
|
1354
|
+
def verification_codes(self) -> VerificationCodesResourceWithStreamingResponse:
|
|
1355
|
+
return VerificationCodesResourceWithStreamingResponse(self._porting_orders.verification_codes)
|
|
1356
|
+
|
|
1357
|
+
@cached_property
|
|
1358
|
+
def action_requirements(self) -> ActionRequirementsResourceWithStreamingResponse:
|
|
1359
|
+
return ActionRequirementsResourceWithStreamingResponse(self._porting_orders.action_requirements)
|
|
1360
|
+
|
|
1361
|
+
@cached_property
|
|
1362
|
+
def associated_phone_numbers(self) -> AssociatedPhoneNumbersResourceWithStreamingResponse:
|
|
1363
|
+
return AssociatedPhoneNumbersResourceWithStreamingResponse(self._porting_orders.associated_phone_numbers)
|
|
1364
|
+
|
|
1365
|
+
@cached_property
|
|
1366
|
+
def phone_number_blocks(self) -> PhoneNumberBlocksResourceWithStreamingResponse:
|
|
1367
|
+
return PhoneNumberBlocksResourceWithStreamingResponse(self._porting_orders.phone_number_blocks)
|
|
1368
|
+
|
|
1369
|
+
@cached_property
|
|
1370
|
+
def phone_number_extensions(self) -> PhoneNumberExtensionsResourceWithStreamingResponse:
|
|
1371
|
+
return PhoneNumberExtensionsResourceWithStreamingResponse(self._porting_orders.phone_number_extensions)
|
|
1372
|
+
|
|
1373
|
+
|
|
1374
|
+
class AsyncPortingOrdersResourceWithStreamingResponse:
|
|
1375
|
+
def __init__(self, porting_orders: AsyncPortingOrdersResource) -> None:
|
|
1376
|
+
self._porting_orders = porting_orders
|
|
1377
|
+
|
|
1378
|
+
self.create = async_to_streamed_response_wrapper(
|
|
1379
|
+
porting_orders.create,
|
|
1380
|
+
)
|
|
1381
|
+
self.retrieve = async_to_streamed_response_wrapper(
|
|
1382
|
+
porting_orders.retrieve,
|
|
1383
|
+
)
|
|
1384
|
+
self.update = async_to_streamed_response_wrapper(
|
|
1385
|
+
porting_orders.update,
|
|
1386
|
+
)
|
|
1387
|
+
self.list = async_to_streamed_response_wrapper(
|
|
1388
|
+
porting_orders.list,
|
|
1389
|
+
)
|
|
1390
|
+
self.delete = async_to_streamed_response_wrapper(
|
|
1391
|
+
porting_orders.delete,
|
|
1392
|
+
)
|
|
1393
|
+
self.retrieve_allowed_foc_windows = async_to_streamed_response_wrapper(
|
|
1394
|
+
porting_orders.retrieve_allowed_foc_windows,
|
|
1395
|
+
)
|
|
1396
|
+
self.retrieve_exception_types = async_to_streamed_response_wrapper(
|
|
1397
|
+
porting_orders.retrieve_exception_types,
|
|
1398
|
+
)
|
|
1399
|
+
self.retrieve_loa_template = async_to_custom_streamed_response_wrapper(
|
|
1400
|
+
porting_orders.retrieve_loa_template,
|
|
1401
|
+
AsyncStreamedBinaryAPIResponse,
|
|
1402
|
+
)
|
|
1403
|
+
self.retrieve_requirements = async_to_streamed_response_wrapper(
|
|
1404
|
+
porting_orders.retrieve_requirements,
|
|
1405
|
+
)
|
|
1406
|
+
self.retrieve_sub_request = async_to_streamed_response_wrapper(
|
|
1407
|
+
porting_orders.retrieve_sub_request,
|
|
1408
|
+
)
|
|
1409
|
+
|
|
1410
|
+
@cached_property
|
|
1411
|
+
def phone_number_configurations(self) -> AsyncPhoneNumberConfigurationsResourceWithStreamingResponse:
|
|
1412
|
+
return AsyncPhoneNumberConfigurationsResourceWithStreamingResponse(
|
|
1413
|
+
self._porting_orders.phone_number_configurations
|
|
1414
|
+
)
|
|
1415
|
+
|
|
1416
|
+
@cached_property
|
|
1417
|
+
def actions(self) -> AsyncActionsResourceWithStreamingResponse:
|
|
1418
|
+
return AsyncActionsResourceWithStreamingResponse(self._porting_orders.actions)
|
|
1419
|
+
|
|
1420
|
+
@cached_property
|
|
1421
|
+
def activation_jobs(self) -> AsyncActivationJobsResourceWithStreamingResponse:
|
|
1422
|
+
return AsyncActivationJobsResourceWithStreamingResponse(self._porting_orders.activation_jobs)
|
|
1423
|
+
|
|
1424
|
+
@cached_property
|
|
1425
|
+
def additional_documents(self) -> AsyncAdditionalDocumentsResourceWithStreamingResponse:
|
|
1426
|
+
return AsyncAdditionalDocumentsResourceWithStreamingResponse(self._porting_orders.additional_documents)
|
|
1427
|
+
|
|
1428
|
+
@cached_property
|
|
1429
|
+
def comments(self) -> AsyncCommentsResourceWithStreamingResponse:
|
|
1430
|
+
return AsyncCommentsResourceWithStreamingResponse(self._porting_orders.comments)
|
|
1431
|
+
|
|
1432
|
+
@cached_property
|
|
1433
|
+
def verification_codes(self) -> AsyncVerificationCodesResourceWithStreamingResponse:
|
|
1434
|
+
return AsyncVerificationCodesResourceWithStreamingResponse(self._porting_orders.verification_codes)
|
|
1435
|
+
|
|
1436
|
+
@cached_property
|
|
1437
|
+
def action_requirements(self) -> AsyncActionRequirementsResourceWithStreamingResponse:
|
|
1438
|
+
return AsyncActionRequirementsResourceWithStreamingResponse(self._porting_orders.action_requirements)
|
|
1439
|
+
|
|
1440
|
+
@cached_property
|
|
1441
|
+
def associated_phone_numbers(self) -> AsyncAssociatedPhoneNumbersResourceWithStreamingResponse:
|
|
1442
|
+
return AsyncAssociatedPhoneNumbersResourceWithStreamingResponse(self._porting_orders.associated_phone_numbers)
|
|
1443
|
+
|
|
1444
|
+
@cached_property
|
|
1445
|
+
def phone_number_blocks(self) -> AsyncPhoneNumberBlocksResourceWithStreamingResponse:
|
|
1446
|
+
return AsyncPhoneNumberBlocksResourceWithStreamingResponse(self._porting_orders.phone_number_blocks)
|
|
1447
|
+
|
|
1448
|
+
@cached_property
|
|
1449
|
+
def phone_number_extensions(self) -> AsyncPhoneNumberExtensionsResourceWithStreamingResponse:
|
|
1450
|
+
return AsyncPhoneNumberExtensionsResourceWithStreamingResponse(self._porting_orders.phone_number_extensions)
|