telnyx 3.0.0a0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of telnyx might be problematic. Click here for more details.
- telnyx/__init__.py +90 -0
- telnyx/_base_client.py +1995 -0
- telnyx/_client.py +3163 -0
- telnyx/_compat.py +219 -0
- telnyx/_constants.py +14 -0
- telnyx/_exceptions.py +108 -0
- telnyx/_files.py +123 -0
- telnyx/_models.py +829 -0
- telnyx/_qs.py +150 -0
- telnyx/_resource.py +43 -0
- telnyx/_response.py +830 -0
- telnyx/_streaming.py +333 -0
- telnyx/_types.py +219 -0
- telnyx/_utils/__init__.py +57 -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 +447 -0
- telnyx/_utils/_typing.py +151 -0
- telnyx/_utils/_utils.py +422 -0
- telnyx/_version.py +4 -0
- telnyx/lib/.keep +4 -0
- telnyx/py.typed +0 -0
- telnyx/resources/__init__.py +2049 -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 +232 -0
- telnyx/resources/actions/register.py +208 -0
- telnyx/resources/addresses/__init__.py +33 -0
- telnyx/resources/addresses/actions.py +314 -0
- telnyx/resources/addresses/addresses.py +660 -0
- telnyx/resources/advanced_orders.py +329 -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 +597 -0
- telnyx/resources/ai/conversations/__init__.py +61 -0
- telnyx/resources/ai/conversations/conversations.py +813 -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 +298 -0
- telnyx/resources/ai/embeddings/__init__.py +33 -0
- telnyx/resources/ai/embeddings/buckets.py +298 -0
- telnyx/resources/ai/embeddings/embeddings.py +710 -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 +812 -0
- telnyx/resources/call_events.py +213 -0
- telnyx/resources/calls/__init__.py +33 -0
- telnyx/resources/calls/actions.py +7061 -0
- telnyx/resources/calls/calls.py +872 -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 +2029 -0
- telnyx/resources/conferences/conferences.py +670 -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 +488 -0
- telnyx/resources/detail_records.py +207 -0
- telnyx/resources/dialogflow_connections.py +514 -0
- telnyx/resources/document_links.py +197 -0
- telnyx/resources/documents.py +804 -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 +671 -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/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 +389 -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 +278 -0
- telnyx/resources/messaging_optouts.py +217 -0
- telnyx/resources/messaging_profiles/__init__.py +33 -0
- telnyx/resources/messaging_profiles/autoresp_configs.py +599 -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 +169 -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 +385 -0
- telnyx/resources/phone_numbers/csv_downloads.py +375 -0
- telnyx/resources/phone_numbers/jobs.py +686 -0
- telnyx/resources/phone_numbers/messaging.py +379 -0
- telnyx/resources/phone_numbers/phone_numbers.py +854 -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 +173 -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 +1438 -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 +622 -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 +170 -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 +505 -0
- telnyx/resources/requirement_groups.py +625 -0
- telnyx/resources/requirement_types.py +279 -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 +934 -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 +808 -0
- telnyx/resources/text_to_speech.py +327 -0
- telnyx/resources/usage_reports.py +389 -0
- telnyx/resources/user_addresses.py +541 -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 +570 -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 +627 -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/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 +590 -0
- telnyx/types/__init__.py +1223 -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 +36 -0
- telnyx/types/actions/purchase_create_response.py +35 -0
- telnyx/types/actions/register_create_params.py +25 -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 +24 -0
- telnyx/types/ai/__init__.py +87 -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 +184 -0
- telnyx/types/ai/cluster_compute_params.py +37 -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_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 +22 -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_create_params.py +29 -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 +13 -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 +20 -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 +99 -0
- telnyx/types/ai/inference_embedding_webhook_tool_params_param.py +99 -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/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 +42 -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 +42 -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 +28 -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_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 +73 -0
- telnyx/types/call_control_application_update_response.py +12 -0
- telnyx/types/call_dial_params.py +435 -0
- telnyx/types/call_dial_response.py +56 -0
- telnyx/types/call_event_list_params.py +123 -0
- telnyx/types/call_event_list_response.py +43 -0
- telnyx/types/call_retrieve_status_response.py +50 -0
- telnyx/types/calls/__init__.py +95 -0
- telnyx/types/calls/action_answer_params.py +149 -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 +138 -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 +59 -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 +199 -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 +64 -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 +145 -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_submit_appeal_params.py +15 -0
- telnyx/types/campaign_submit_appeal_response.py +16 -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_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_retrieve_response.py +12 -0
- telnyx/types/conferences/__init__.py +33 -0
- telnyx/types/conferences/action_hold_params.py +30 -0
- telnyx/types/conferences/action_hold_response.py +12 -0
- telnyx/types/conferences/action_join_params.py +100 -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 +16 -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 +110 -0
- telnyx/types/conferences/action_speak_response.py +12 -0
- telnyx/types/conferences/action_stop_params.py +16 -0
- telnyx/types/conferences/action_stop_response.py +12 -0
- telnyx/types/conferences/action_unhold_params.py +16 -0
- telnyx/types/conferences/action_unhold_response.py +12 -0
- telnyx/types/conferences/action_unmute_params.py +17 -0
- telnyx/types/conferences/action_unmute_response.py +12 -0
- telnyx/types/conferences/action_update_params.py +37 -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 +122 -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 +118 -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 +60 -0
- telnyx/types/credential_outbound.py +66 -0
- telnyx/types/credential_outbound_param.py +64 -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 +98 -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_verify_phone_number_coverage_params.py +13 -0
- telnyx/types/customer_service_record_verify_phone_number_coverage_response.py +50 -0
- telnyx/types/detail_record_list_params.py +83 -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_link_list_params.py +37 -0
- telnyx/types/document_link_list_response.py +37 -0
- telnyx/types/document_list_params.py +75 -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/error.py +27 -0
- telnyx/types/external_connection.py +75 -0
- telnyx/types/external_connection_create_params.py +57 -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 +54 -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 +21 -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 +26 -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 +83 -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 +89 -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_list_params.py +84 -0
- telnyx/types/fax_list_response.py +14 -0
- telnyx/types/fax_retrieve_response.py +12 -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 +110 -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 +104 -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 +111 -0
- telnyx/types/inbound_ip.py +111 -0
- telnyx/types/inbound_ip_param.py +111 -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 +182 -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 +101 -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/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 +21 -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 +77 -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 +56 -0
- telnyx/types/message_send_number_pool_response.py +12 -0
- telnyx/types/message_send_params.py +77 -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 +16 -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 +13 -0
- telnyx/types/messaging_hosted_number_order_check_eligibility_response.py +42 -0
- telnyx/types/messaging_hosted_number_order_create_params.py +19 -0
- telnyx/types/messaging_hosted_number_order_create_response.py +12 -0
- telnyx/types/messaging_hosted_number_order_create_verification_codes_params.py +14 -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 +22 -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 +82 -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 +87 -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 +18 -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 +20 -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_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 +12 -0
- telnyx/types/numbers_feature_create_response.py +17 -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 +28 -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 +71 -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 +71 -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 +113 -0
- telnyx/types/phone_number_detailed.py +139 -0
- telnyx/types/phone_number_list_params.py +130 -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 +148 -0
- telnyx/types/phone_number_slim_list_response.py +125 -0
- telnyx/types/phone_number_update_params.py +33 -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 +13 -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 +12 -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 +130 -0
- telnyx/types/phone_numbers/job_update_batch_response.py +12 -0
- telnyx/types/phone_numbers/job_update_emergency_settings_batch_params.py +22 -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 +13 -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 +44 -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 +98 -0
- telnyx/types/porting_order_activation_settings.py +39 -0
- telnyx/types/porting_order_create_params.py +16 -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 +116 -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 +24 -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 +74 -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 +56 -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 +105 -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 +70 -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 +14 -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 +86 -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 +39 -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 +13 -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/report_list_mdrs_params.py +36 -0
- telnyx/types/report_list_mdrs_response.py +74 -0
- telnyx/types/report_list_wdrs_params.py +60 -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 +21 -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 +19 -0
- telnyx/types/rooms/sessions/action_kick_response.py +15 -0
- telnyx/types/rooms/sessions/action_mute_params.py +19 -0
- telnyx/types/rooms/sessions/action_mute_response.py +15 -0
- telnyx/types/rooms/sessions/action_unmute_params.py +19 -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 +85 -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 +177 -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 +65 -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 +36 -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 +12 -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 +12 -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_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/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/transport_protocol.py +7 -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 +70 -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 +22 -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 +114 -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 +114 -0
- telnyx/types/vertical.py +25 -0
- telnyx/types/video_region.py +53 -0
- telnyx/types/video_region_param.py +54 -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/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 +19 -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 +19 -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.0a0.dist-info/METADATA +431 -0
- telnyx-3.0.0a0.dist-info/RECORD +1874 -0
- telnyx-3.0.0a0.dist-info/WHEEL +4 -0
- telnyx-3.0.0a0.dist-info/licenses/LICENSE +7 -0
|
@@ -0,0 +1,1048 @@
|
|
|
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 List, Optional
|
|
6
|
+
from typing_extensions import Literal
|
|
7
|
+
|
|
8
|
+
import httpx
|
|
9
|
+
|
|
10
|
+
from ...types import (
|
|
11
|
+
messaging_profile_list_params,
|
|
12
|
+
messaging_profile_create_params,
|
|
13
|
+
messaging_profile_update_params,
|
|
14
|
+
messaging_profile_list_short_codes_params,
|
|
15
|
+
messaging_profile_list_phone_numbers_params,
|
|
16
|
+
)
|
|
17
|
+
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
|
|
18
|
+
from ..._utils import maybe_transform, async_maybe_transform
|
|
19
|
+
from ..._compat import cached_property
|
|
20
|
+
from ..._resource import SyncAPIResource, AsyncAPIResource
|
|
21
|
+
from ..._response import (
|
|
22
|
+
to_raw_response_wrapper,
|
|
23
|
+
to_streamed_response_wrapper,
|
|
24
|
+
async_to_raw_response_wrapper,
|
|
25
|
+
async_to_streamed_response_wrapper,
|
|
26
|
+
)
|
|
27
|
+
from ..._base_client import make_request_options
|
|
28
|
+
from .autoresp_configs import (
|
|
29
|
+
AutorespConfigsResource,
|
|
30
|
+
AsyncAutorespConfigsResource,
|
|
31
|
+
AutorespConfigsResourceWithRawResponse,
|
|
32
|
+
AsyncAutorespConfigsResourceWithRawResponse,
|
|
33
|
+
AutorespConfigsResourceWithStreamingResponse,
|
|
34
|
+
AsyncAutorespConfigsResourceWithStreamingResponse,
|
|
35
|
+
)
|
|
36
|
+
from ...types.number_pool_settings_param import NumberPoolSettingsParam
|
|
37
|
+
from ...types.url_shortener_settings_param import URLShortenerSettingsParam
|
|
38
|
+
from ...types.messaging_profile_list_response import MessagingProfileListResponse
|
|
39
|
+
from ...types.messaging_profile_create_response import MessagingProfileCreateResponse
|
|
40
|
+
from ...types.messaging_profile_delete_response import MessagingProfileDeleteResponse
|
|
41
|
+
from ...types.messaging_profile_update_response import MessagingProfileUpdateResponse
|
|
42
|
+
from ...types.messaging_profile_retrieve_response import MessagingProfileRetrieveResponse
|
|
43
|
+
from ...types.messaging_profile_list_short_codes_response import MessagingProfileListShortCodesResponse
|
|
44
|
+
from ...types.messaging_profile_list_phone_numbers_response import MessagingProfileListPhoneNumbersResponse
|
|
45
|
+
|
|
46
|
+
__all__ = ["MessagingProfilesResource", "AsyncMessagingProfilesResource"]
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
class MessagingProfilesResource(SyncAPIResource):
|
|
50
|
+
@cached_property
|
|
51
|
+
def autoresp_configs(self) -> AutorespConfigsResource:
|
|
52
|
+
return AutorespConfigsResource(self._client)
|
|
53
|
+
|
|
54
|
+
@cached_property
|
|
55
|
+
def with_raw_response(self) -> MessagingProfilesResourceWithRawResponse:
|
|
56
|
+
"""
|
|
57
|
+
This property can be used as a prefix for any HTTP method call to return
|
|
58
|
+
the raw response object instead of the parsed content.
|
|
59
|
+
|
|
60
|
+
For more information, see https://www.github.com/team-telnyx/telnyx-python#accessing-raw-response-data-eg-headers
|
|
61
|
+
"""
|
|
62
|
+
return MessagingProfilesResourceWithRawResponse(self)
|
|
63
|
+
|
|
64
|
+
@cached_property
|
|
65
|
+
def with_streaming_response(self) -> MessagingProfilesResourceWithStreamingResponse:
|
|
66
|
+
"""
|
|
67
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
68
|
+
|
|
69
|
+
For more information, see https://www.github.com/team-telnyx/telnyx-python#with_streaming_response
|
|
70
|
+
"""
|
|
71
|
+
return MessagingProfilesResourceWithStreamingResponse(self)
|
|
72
|
+
|
|
73
|
+
def create(
|
|
74
|
+
self,
|
|
75
|
+
*,
|
|
76
|
+
name: str,
|
|
77
|
+
whitelisted_destinations: List[str],
|
|
78
|
+
alpha_sender: Optional[str] | NotGiven = NOT_GIVEN,
|
|
79
|
+
daily_spend_limit: str | NotGiven = NOT_GIVEN,
|
|
80
|
+
daily_spend_limit_enabled: bool | NotGiven = NOT_GIVEN,
|
|
81
|
+
enabled: bool | NotGiven = NOT_GIVEN,
|
|
82
|
+
mms_fall_back_to_sms: bool | NotGiven = NOT_GIVEN,
|
|
83
|
+
mms_transcoding: bool | NotGiven = NOT_GIVEN,
|
|
84
|
+
number_pool_settings: Optional[NumberPoolSettingsParam] | NotGiven = NOT_GIVEN,
|
|
85
|
+
url_shortener_settings: Optional[URLShortenerSettingsParam] | NotGiven = NOT_GIVEN,
|
|
86
|
+
webhook_api_version: Literal["1", "2", "2010-04-01"] | NotGiven = NOT_GIVEN,
|
|
87
|
+
webhook_failover_url: Optional[str] | NotGiven = NOT_GIVEN,
|
|
88
|
+
webhook_url: Optional[str] | NotGiven = NOT_GIVEN,
|
|
89
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
90
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
91
|
+
extra_headers: Headers | None = None,
|
|
92
|
+
extra_query: Query | None = None,
|
|
93
|
+
extra_body: Body | None = None,
|
|
94
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
95
|
+
) -> MessagingProfileCreateResponse:
|
|
96
|
+
"""
|
|
97
|
+
Create a messaging profile
|
|
98
|
+
|
|
99
|
+
Args:
|
|
100
|
+
name: A user friendly name for the messaging profile.
|
|
101
|
+
|
|
102
|
+
whitelisted_destinations: Destinations to which the messaging profile is allowed to send. The elements in
|
|
103
|
+
the list must be valid ISO 3166-1 alpha-2 country codes. If set to `["*"]` all
|
|
104
|
+
destinations will be allowed.
|
|
105
|
+
|
|
106
|
+
alpha_sender: The alphanumeric sender ID to use when sending to destinations that require an
|
|
107
|
+
alphanumeric sender ID.
|
|
108
|
+
|
|
109
|
+
daily_spend_limit: The maximum amount of money (in USD) that can be spent by this profile before
|
|
110
|
+
midnight UTC.
|
|
111
|
+
|
|
112
|
+
daily_spend_limit_enabled: Whether to enforce the value configured by `daily_spend_limit`.
|
|
113
|
+
|
|
114
|
+
enabled: Specifies whether the messaging profile is enabled or not.
|
|
115
|
+
|
|
116
|
+
mms_fall_back_to_sms: enables SMS fallback for MMS messages.
|
|
117
|
+
|
|
118
|
+
mms_transcoding: enables automated resizing of MMS media.
|
|
119
|
+
|
|
120
|
+
number_pool_settings: Number Pool allows you to send messages from a pool of numbers of different
|
|
121
|
+
types, assigning weights to each type. The pool consists of all the long code
|
|
122
|
+
and toll free numbers assigned to the messaging profile.
|
|
123
|
+
|
|
124
|
+
To disable this feature, set the object field to `null`.
|
|
125
|
+
|
|
126
|
+
url_shortener_settings: The URL shortener feature allows automatic replacement of URLs that were
|
|
127
|
+
generated using a public URL shortener service. Some examples include bit.do,
|
|
128
|
+
bit.ly, goo.gl, ht.ly, is.gd, ow.ly, rebrand.ly, t.co, tiny.cc, and tinyurl.com.
|
|
129
|
+
Such URLs are replaced with with links generated by Telnyx. The use of custom
|
|
130
|
+
links can improve branding and message deliverability.
|
|
131
|
+
|
|
132
|
+
To disable this feature, set the object field to `null`.
|
|
133
|
+
|
|
134
|
+
webhook_api_version: Determines which webhook format will be used, Telnyx API v1, v2, or a legacy
|
|
135
|
+
2010-04-01 format.
|
|
136
|
+
|
|
137
|
+
webhook_failover_url: The failover URL where webhooks related to this messaging profile will be sent
|
|
138
|
+
if sending to the primary URL fails.
|
|
139
|
+
|
|
140
|
+
webhook_url: The URL where webhooks related to this messaging profile will be sent.
|
|
141
|
+
|
|
142
|
+
extra_headers: Send extra headers
|
|
143
|
+
|
|
144
|
+
extra_query: Add additional query parameters to the request
|
|
145
|
+
|
|
146
|
+
extra_body: Add additional JSON properties to the request
|
|
147
|
+
|
|
148
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
149
|
+
"""
|
|
150
|
+
return self._post(
|
|
151
|
+
"/messaging_profiles",
|
|
152
|
+
body=maybe_transform(
|
|
153
|
+
{
|
|
154
|
+
"name": name,
|
|
155
|
+
"whitelisted_destinations": whitelisted_destinations,
|
|
156
|
+
"alpha_sender": alpha_sender,
|
|
157
|
+
"daily_spend_limit": daily_spend_limit,
|
|
158
|
+
"daily_spend_limit_enabled": daily_spend_limit_enabled,
|
|
159
|
+
"enabled": enabled,
|
|
160
|
+
"mms_fall_back_to_sms": mms_fall_back_to_sms,
|
|
161
|
+
"mms_transcoding": mms_transcoding,
|
|
162
|
+
"number_pool_settings": number_pool_settings,
|
|
163
|
+
"url_shortener_settings": url_shortener_settings,
|
|
164
|
+
"webhook_api_version": webhook_api_version,
|
|
165
|
+
"webhook_failover_url": webhook_failover_url,
|
|
166
|
+
"webhook_url": webhook_url,
|
|
167
|
+
},
|
|
168
|
+
messaging_profile_create_params.MessagingProfileCreateParams,
|
|
169
|
+
),
|
|
170
|
+
options=make_request_options(
|
|
171
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
172
|
+
),
|
|
173
|
+
cast_to=MessagingProfileCreateResponse,
|
|
174
|
+
)
|
|
175
|
+
|
|
176
|
+
def retrieve(
|
|
177
|
+
self,
|
|
178
|
+
id: str,
|
|
179
|
+
*,
|
|
180
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
181
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
182
|
+
extra_headers: Headers | None = None,
|
|
183
|
+
extra_query: Query | None = None,
|
|
184
|
+
extra_body: Body | None = None,
|
|
185
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
186
|
+
) -> MessagingProfileRetrieveResponse:
|
|
187
|
+
"""
|
|
188
|
+
Retrieve a messaging profile
|
|
189
|
+
|
|
190
|
+
Args:
|
|
191
|
+
extra_headers: Send extra headers
|
|
192
|
+
|
|
193
|
+
extra_query: Add additional query parameters to the request
|
|
194
|
+
|
|
195
|
+
extra_body: Add additional JSON properties to the request
|
|
196
|
+
|
|
197
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
198
|
+
"""
|
|
199
|
+
if not id:
|
|
200
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
201
|
+
return self._get(
|
|
202
|
+
f"/messaging_profiles/{id}",
|
|
203
|
+
options=make_request_options(
|
|
204
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
205
|
+
),
|
|
206
|
+
cast_to=MessagingProfileRetrieveResponse,
|
|
207
|
+
)
|
|
208
|
+
|
|
209
|
+
def update(
|
|
210
|
+
self,
|
|
211
|
+
id: str,
|
|
212
|
+
*,
|
|
213
|
+
alpha_sender: Optional[str] | NotGiven = NOT_GIVEN,
|
|
214
|
+
daily_spend_limit: str | NotGiven = NOT_GIVEN,
|
|
215
|
+
daily_spend_limit_enabled: bool | NotGiven = NOT_GIVEN,
|
|
216
|
+
enabled: bool | NotGiven = NOT_GIVEN,
|
|
217
|
+
mms_fall_back_to_sms: bool | NotGiven = NOT_GIVEN,
|
|
218
|
+
mms_transcoding: bool | NotGiven = NOT_GIVEN,
|
|
219
|
+
name: str | NotGiven = NOT_GIVEN,
|
|
220
|
+
number_pool_settings: Optional[NumberPoolSettingsParam] | NotGiven = NOT_GIVEN,
|
|
221
|
+
url_shortener_settings: Optional[URLShortenerSettingsParam] | NotGiven = NOT_GIVEN,
|
|
222
|
+
v1_secret: str | NotGiven = NOT_GIVEN,
|
|
223
|
+
webhook_api_version: Literal["1", "2", "2010-04-01"] | NotGiven = NOT_GIVEN,
|
|
224
|
+
webhook_failover_url: Optional[str] | NotGiven = NOT_GIVEN,
|
|
225
|
+
webhook_url: Optional[str] | NotGiven = NOT_GIVEN,
|
|
226
|
+
whitelisted_destinations: List[str] | NotGiven = NOT_GIVEN,
|
|
227
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
228
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
229
|
+
extra_headers: Headers | None = None,
|
|
230
|
+
extra_query: Query | None = None,
|
|
231
|
+
extra_body: Body | None = None,
|
|
232
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
233
|
+
) -> MessagingProfileUpdateResponse:
|
|
234
|
+
"""
|
|
235
|
+
Update a messaging profile
|
|
236
|
+
|
|
237
|
+
Args:
|
|
238
|
+
alpha_sender: The alphanumeric sender ID to use when sending to destinations that require an
|
|
239
|
+
alphanumeric sender ID.
|
|
240
|
+
|
|
241
|
+
daily_spend_limit: The maximum amount of money (in USD) that can be spent by this profile before
|
|
242
|
+
midnight UTC.
|
|
243
|
+
|
|
244
|
+
daily_spend_limit_enabled: Whether to enforce the value configured by `daily_spend_limit`.
|
|
245
|
+
|
|
246
|
+
enabled: Specifies whether the messaging profile is enabled or not.
|
|
247
|
+
|
|
248
|
+
mms_fall_back_to_sms: enables SMS fallback for MMS messages.
|
|
249
|
+
|
|
250
|
+
mms_transcoding: enables automated resizing of MMS media.
|
|
251
|
+
|
|
252
|
+
name: A user friendly name for the messaging profile.
|
|
253
|
+
|
|
254
|
+
number_pool_settings: Number Pool allows you to send messages from a pool of numbers of different
|
|
255
|
+
types, assigning weights to each type. The pool consists of all the long code
|
|
256
|
+
and toll free numbers assigned to the messaging profile.
|
|
257
|
+
|
|
258
|
+
To disable this feature, set the object field to `null`.
|
|
259
|
+
|
|
260
|
+
url_shortener_settings: The URL shortener feature allows automatic replacement of URLs that were
|
|
261
|
+
generated using a public URL shortener service. Some examples include bit.do,
|
|
262
|
+
bit.ly, goo.gl, ht.ly, is.gd, ow.ly, rebrand.ly, t.co, tiny.cc, and tinyurl.com.
|
|
263
|
+
Such URLs are replaced with with links generated by Telnyx. The use of custom
|
|
264
|
+
links can improve branding and message deliverability.
|
|
265
|
+
|
|
266
|
+
To disable this feature, set the object field to `null`.
|
|
267
|
+
|
|
268
|
+
v1_secret: Secret used to authenticate with v1 endpoints.
|
|
269
|
+
|
|
270
|
+
webhook_api_version: Determines which webhook format will be used, Telnyx API v1, v2, or a legacy
|
|
271
|
+
2010-04-01 format.
|
|
272
|
+
|
|
273
|
+
webhook_failover_url: The failover URL where webhooks related to this messaging profile will be sent
|
|
274
|
+
if sending to the primary URL fails.
|
|
275
|
+
|
|
276
|
+
webhook_url: The URL where webhooks related to this messaging profile will be sent.
|
|
277
|
+
|
|
278
|
+
whitelisted_destinations: Destinations to which the messaging profile is allowed to send. The elements in
|
|
279
|
+
the list must be valid ISO 3166-1 alpha-2 country codes. If set to `["*"]`, all
|
|
280
|
+
destinations will be allowed.
|
|
281
|
+
|
|
282
|
+
This field is required if the messaging profile doesn't have it defined yet.
|
|
283
|
+
|
|
284
|
+
extra_headers: Send extra headers
|
|
285
|
+
|
|
286
|
+
extra_query: Add additional query parameters to the request
|
|
287
|
+
|
|
288
|
+
extra_body: Add additional JSON properties to the request
|
|
289
|
+
|
|
290
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
291
|
+
"""
|
|
292
|
+
if not id:
|
|
293
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
294
|
+
return self._patch(
|
|
295
|
+
f"/messaging_profiles/{id}",
|
|
296
|
+
body=maybe_transform(
|
|
297
|
+
{
|
|
298
|
+
"alpha_sender": alpha_sender,
|
|
299
|
+
"daily_spend_limit": daily_spend_limit,
|
|
300
|
+
"daily_spend_limit_enabled": daily_spend_limit_enabled,
|
|
301
|
+
"enabled": enabled,
|
|
302
|
+
"mms_fall_back_to_sms": mms_fall_back_to_sms,
|
|
303
|
+
"mms_transcoding": mms_transcoding,
|
|
304
|
+
"name": name,
|
|
305
|
+
"number_pool_settings": number_pool_settings,
|
|
306
|
+
"url_shortener_settings": url_shortener_settings,
|
|
307
|
+
"v1_secret": v1_secret,
|
|
308
|
+
"webhook_api_version": webhook_api_version,
|
|
309
|
+
"webhook_failover_url": webhook_failover_url,
|
|
310
|
+
"webhook_url": webhook_url,
|
|
311
|
+
"whitelisted_destinations": whitelisted_destinations,
|
|
312
|
+
},
|
|
313
|
+
messaging_profile_update_params.MessagingProfileUpdateParams,
|
|
314
|
+
),
|
|
315
|
+
options=make_request_options(
|
|
316
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
317
|
+
),
|
|
318
|
+
cast_to=MessagingProfileUpdateResponse,
|
|
319
|
+
)
|
|
320
|
+
|
|
321
|
+
def list(
|
|
322
|
+
self,
|
|
323
|
+
*,
|
|
324
|
+
filter: messaging_profile_list_params.Filter | NotGiven = NOT_GIVEN,
|
|
325
|
+
page: messaging_profile_list_params.Page | NotGiven = NOT_GIVEN,
|
|
326
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
327
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
328
|
+
extra_headers: Headers | None = None,
|
|
329
|
+
extra_query: Query | None = None,
|
|
330
|
+
extra_body: Body | None = None,
|
|
331
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
332
|
+
) -> MessagingProfileListResponse:
|
|
333
|
+
"""
|
|
334
|
+
List messaging profiles
|
|
335
|
+
|
|
336
|
+
Args:
|
|
337
|
+
filter: Consolidated filter parameter (deepObject style). Originally: filter[name]
|
|
338
|
+
|
|
339
|
+
page: Consolidated page parameter (deepObject style). Originally: page[number],
|
|
340
|
+
page[size]
|
|
341
|
+
|
|
342
|
+
extra_headers: Send extra headers
|
|
343
|
+
|
|
344
|
+
extra_query: Add additional query parameters to the request
|
|
345
|
+
|
|
346
|
+
extra_body: Add additional JSON properties to the request
|
|
347
|
+
|
|
348
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
349
|
+
"""
|
|
350
|
+
return self._get(
|
|
351
|
+
"/messaging_profiles",
|
|
352
|
+
options=make_request_options(
|
|
353
|
+
extra_headers=extra_headers,
|
|
354
|
+
extra_query=extra_query,
|
|
355
|
+
extra_body=extra_body,
|
|
356
|
+
timeout=timeout,
|
|
357
|
+
query=maybe_transform(
|
|
358
|
+
{
|
|
359
|
+
"filter": filter,
|
|
360
|
+
"page": page,
|
|
361
|
+
},
|
|
362
|
+
messaging_profile_list_params.MessagingProfileListParams,
|
|
363
|
+
),
|
|
364
|
+
),
|
|
365
|
+
cast_to=MessagingProfileListResponse,
|
|
366
|
+
)
|
|
367
|
+
|
|
368
|
+
def delete(
|
|
369
|
+
self,
|
|
370
|
+
id: str,
|
|
371
|
+
*,
|
|
372
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
373
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
374
|
+
extra_headers: Headers | None = None,
|
|
375
|
+
extra_query: Query | None = None,
|
|
376
|
+
extra_body: Body | None = None,
|
|
377
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
378
|
+
) -> MessagingProfileDeleteResponse:
|
|
379
|
+
"""
|
|
380
|
+
Delete a messaging profile
|
|
381
|
+
|
|
382
|
+
Args:
|
|
383
|
+
extra_headers: Send extra headers
|
|
384
|
+
|
|
385
|
+
extra_query: Add additional query parameters to the request
|
|
386
|
+
|
|
387
|
+
extra_body: Add additional JSON properties to the request
|
|
388
|
+
|
|
389
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
390
|
+
"""
|
|
391
|
+
if not id:
|
|
392
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
393
|
+
return self._delete(
|
|
394
|
+
f"/messaging_profiles/{id}",
|
|
395
|
+
options=make_request_options(
|
|
396
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
397
|
+
),
|
|
398
|
+
cast_to=MessagingProfileDeleteResponse,
|
|
399
|
+
)
|
|
400
|
+
|
|
401
|
+
def list_phone_numbers(
|
|
402
|
+
self,
|
|
403
|
+
id: str,
|
|
404
|
+
*,
|
|
405
|
+
page: messaging_profile_list_phone_numbers_params.Page | NotGiven = NOT_GIVEN,
|
|
406
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
407
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
408
|
+
extra_headers: Headers | None = None,
|
|
409
|
+
extra_query: Query | None = None,
|
|
410
|
+
extra_body: Body | None = None,
|
|
411
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
412
|
+
) -> MessagingProfileListPhoneNumbersResponse:
|
|
413
|
+
"""
|
|
414
|
+
List phone numbers associated with a messaging profile
|
|
415
|
+
|
|
416
|
+
Args:
|
|
417
|
+
page: Consolidated page parameter (deepObject style). Originally: page[number],
|
|
418
|
+
page[size]
|
|
419
|
+
|
|
420
|
+
extra_headers: Send extra headers
|
|
421
|
+
|
|
422
|
+
extra_query: Add additional query parameters to the request
|
|
423
|
+
|
|
424
|
+
extra_body: Add additional JSON properties to the request
|
|
425
|
+
|
|
426
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
427
|
+
"""
|
|
428
|
+
if not id:
|
|
429
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
430
|
+
return self._get(
|
|
431
|
+
f"/messaging_profiles/{id}/phone_numbers",
|
|
432
|
+
options=make_request_options(
|
|
433
|
+
extra_headers=extra_headers,
|
|
434
|
+
extra_query=extra_query,
|
|
435
|
+
extra_body=extra_body,
|
|
436
|
+
timeout=timeout,
|
|
437
|
+
query=maybe_transform(
|
|
438
|
+
{"page": page}, messaging_profile_list_phone_numbers_params.MessagingProfileListPhoneNumbersParams
|
|
439
|
+
),
|
|
440
|
+
),
|
|
441
|
+
cast_to=MessagingProfileListPhoneNumbersResponse,
|
|
442
|
+
)
|
|
443
|
+
|
|
444
|
+
def list_short_codes(
|
|
445
|
+
self,
|
|
446
|
+
id: str,
|
|
447
|
+
*,
|
|
448
|
+
page: messaging_profile_list_short_codes_params.Page | NotGiven = NOT_GIVEN,
|
|
449
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
450
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
451
|
+
extra_headers: Headers | None = None,
|
|
452
|
+
extra_query: Query | None = None,
|
|
453
|
+
extra_body: Body | None = None,
|
|
454
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
455
|
+
) -> MessagingProfileListShortCodesResponse:
|
|
456
|
+
"""
|
|
457
|
+
List short codes associated with a messaging profile
|
|
458
|
+
|
|
459
|
+
Args:
|
|
460
|
+
page: Consolidated page parameter (deepObject style). Originally: page[number],
|
|
461
|
+
page[size]
|
|
462
|
+
|
|
463
|
+
extra_headers: Send extra headers
|
|
464
|
+
|
|
465
|
+
extra_query: Add additional query parameters to the request
|
|
466
|
+
|
|
467
|
+
extra_body: Add additional JSON properties to the request
|
|
468
|
+
|
|
469
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
470
|
+
"""
|
|
471
|
+
if not id:
|
|
472
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
473
|
+
return self._get(
|
|
474
|
+
f"/messaging_profiles/{id}/short_codes",
|
|
475
|
+
options=make_request_options(
|
|
476
|
+
extra_headers=extra_headers,
|
|
477
|
+
extra_query=extra_query,
|
|
478
|
+
extra_body=extra_body,
|
|
479
|
+
timeout=timeout,
|
|
480
|
+
query=maybe_transform(
|
|
481
|
+
{"page": page}, messaging_profile_list_short_codes_params.MessagingProfileListShortCodesParams
|
|
482
|
+
),
|
|
483
|
+
),
|
|
484
|
+
cast_to=MessagingProfileListShortCodesResponse,
|
|
485
|
+
)
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
class AsyncMessagingProfilesResource(AsyncAPIResource):
|
|
489
|
+
@cached_property
|
|
490
|
+
def autoresp_configs(self) -> AsyncAutorespConfigsResource:
|
|
491
|
+
return AsyncAutorespConfigsResource(self._client)
|
|
492
|
+
|
|
493
|
+
@cached_property
|
|
494
|
+
def with_raw_response(self) -> AsyncMessagingProfilesResourceWithRawResponse:
|
|
495
|
+
"""
|
|
496
|
+
This property can be used as a prefix for any HTTP method call to return
|
|
497
|
+
the raw response object instead of the parsed content.
|
|
498
|
+
|
|
499
|
+
For more information, see https://www.github.com/team-telnyx/telnyx-python#accessing-raw-response-data-eg-headers
|
|
500
|
+
"""
|
|
501
|
+
return AsyncMessagingProfilesResourceWithRawResponse(self)
|
|
502
|
+
|
|
503
|
+
@cached_property
|
|
504
|
+
def with_streaming_response(self) -> AsyncMessagingProfilesResourceWithStreamingResponse:
|
|
505
|
+
"""
|
|
506
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
507
|
+
|
|
508
|
+
For more information, see https://www.github.com/team-telnyx/telnyx-python#with_streaming_response
|
|
509
|
+
"""
|
|
510
|
+
return AsyncMessagingProfilesResourceWithStreamingResponse(self)
|
|
511
|
+
|
|
512
|
+
async def create(
|
|
513
|
+
self,
|
|
514
|
+
*,
|
|
515
|
+
name: str,
|
|
516
|
+
whitelisted_destinations: List[str],
|
|
517
|
+
alpha_sender: Optional[str] | NotGiven = NOT_GIVEN,
|
|
518
|
+
daily_spend_limit: str | NotGiven = NOT_GIVEN,
|
|
519
|
+
daily_spend_limit_enabled: bool | NotGiven = NOT_GIVEN,
|
|
520
|
+
enabled: bool | NotGiven = NOT_GIVEN,
|
|
521
|
+
mms_fall_back_to_sms: bool | NotGiven = NOT_GIVEN,
|
|
522
|
+
mms_transcoding: bool | NotGiven = NOT_GIVEN,
|
|
523
|
+
number_pool_settings: Optional[NumberPoolSettingsParam] | NotGiven = NOT_GIVEN,
|
|
524
|
+
url_shortener_settings: Optional[URLShortenerSettingsParam] | NotGiven = NOT_GIVEN,
|
|
525
|
+
webhook_api_version: Literal["1", "2", "2010-04-01"] | NotGiven = NOT_GIVEN,
|
|
526
|
+
webhook_failover_url: Optional[str] | NotGiven = NOT_GIVEN,
|
|
527
|
+
webhook_url: Optional[str] | NotGiven = NOT_GIVEN,
|
|
528
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
529
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
530
|
+
extra_headers: Headers | None = None,
|
|
531
|
+
extra_query: Query | None = None,
|
|
532
|
+
extra_body: Body | None = None,
|
|
533
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
534
|
+
) -> MessagingProfileCreateResponse:
|
|
535
|
+
"""
|
|
536
|
+
Create a messaging profile
|
|
537
|
+
|
|
538
|
+
Args:
|
|
539
|
+
name: A user friendly name for the messaging profile.
|
|
540
|
+
|
|
541
|
+
whitelisted_destinations: Destinations to which the messaging profile is allowed to send. The elements in
|
|
542
|
+
the list must be valid ISO 3166-1 alpha-2 country codes. If set to `["*"]` all
|
|
543
|
+
destinations will be allowed.
|
|
544
|
+
|
|
545
|
+
alpha_sender: The alphanumeric sender ID to use when sending to destinations that require an
|
|
546
|
+
alphanumeric sender ID.
|
|
547
|
+
|
|
548
|
+
daily_spend_limit: The maximum amount of money (in USD) that can be spent by this profile before
|
|
549
|
+
midnight UTC.
|
|
550
|
+
|
|
551
|
+
daily_spend_limit_enabled: Whether to enforce the value configured by `daily_spend_limit`.
|
|
552
|
+
|
|
553
|
+
enabled: Specifies whether the messaging profile is enabled or not.
|
|
554
|
+
|
|
555
|
+
mms_fall_back_to_sms: enables SMS fallback for MMS messages.
|
|
556
|
+
|
|
557
|
+
mms_transcoding: enables automated resizing of MMS media.
|
|
558
|
+
|
|
559
|
+
number_pool_settings: Number Pool allows you to send messages from a pool of numbers of different
|
|
560
|
+
types, assigning weights to each type. The pool consists of all the long code
|
|
561
|
+
and toll free numbers assigned to the messaging profile.
|
|
562
|
+
|
|
563
|
+
To disable this feature, set the object field to `null`.
|
|
564
|
+
|
|
565
|
+
url_shortener_settings: The URL shortener feature allows automatic replacement of URLs that were
|
|
566
|
+
generated using a public URL shortener service. Some examples include bit.do,
|
|
567
|
+
bit.ly, goo.gl, ht.ly, is.gd, ow.ly, rebrand.ly, t.co, tiny.cc, and tinyurl.com.
|
|
568
|
+
Such URLs are replaced with with links generated by Telnyx. The use of custom
|
|
569
|
+
links can improve branding and message deliverability.
|
|
570
|
+
|
|
571
|
+
To disable this feature, set the object field to `null`.
|
|
572
|
+
|
|
573
|
+
webhook_api_version: Determines which webhook format will be used, Telnyx API v1, v2, or a legacy
|
|
574
|
+
2010-04-01 format.
|
|
575
|
+
|
|
576
|
+
webhook_failover_url: The failover URL where webhooks related to this messaging profile will be sent
|
|
577
|
+
if sending to the primary URL fails.
|
|
578
|
+
|
|
579
|
+
webhook_url: The URL where webhooks related to this messaging profile will be sent.
|
|
580
|
+
|
|
581
|
+
extra_headers: Send extra headers
|
|
582
|
+
|
|
583
|
+
extra_query: Add additional query parameters to the request
|
|
584
|
+
|
|
585
|
+
extra_body: Add additional JSON properties to the request
|
|
586
|
+
|
|
587
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
588
|
+
"""
|
|
589
|
+
return await self._post(
|
|
590
|
+
"/messaging_profiles",
|
|
591
|
+
body=await async_maybe_transform(
|
|
592
|
+
{
|
|
593
|
+
"name": name,
|
|
594
|
+
"whitelisted_destinations": whitelisted_destinations,
|
|
595
|
+
"alpha_sender": alpha_sender,
|
|
596
|
+
"daily_spend_limit": daily_spend_limit,
|
|
597
|
+
"daily_spend_limit_enabled": daily_spend_limit_enabled,
|
|
598
|
+
"enabled": enabled,
|
|
599
|
+
"mms_fall_back_to_sms": mms_fall_back_to_sms,
|
|
600
|
+
"mms_transcoding": mms_transcoding,
|
|
601
|
+
"number_pool_settings": number_pool_settings,
|
|
602
|
+
"url_shortener_settings": url_shortener_settings,
|
|
603
|
+
"webhook_api_version": webhook_api_version,
|
|
604
|
+
"webhook_failover_url": webhook_failover_url,
|
|
605
|
+
"webhook_url": webhook_url,
|
|
606
|
+
},
|
|
607
|
+
messaging_profile_create_params.MessagingProfileCreateParams,
|
|
608
|
+
),
|
|
609
|
+
options=make_request_options(
|
|
610
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
611
|
+
),
|
|
612
|
+
cast_to=MessagingProfileCreateResponse,
|
|
613
|
+
)
|
|
614
|
+
|
|
615
|
+
async def retrieve(
|
|
616
|
+
self,
|
|
617
|
+
id: str,
|
|
618
|
+
*,
|
|
619
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
620
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
621
|
+
extra_headers: Headers | None = None,
|
|
622
|
+
extra_query: Query | None = None,
|
|
623
|
+
extra_body: Body | None = None,
|
|
624
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
625
|
+
) -> MessagingProfileRetrieveResponse:
|
|
626
|
+
"""
|
|
627
|
+
Retrieve a messaging profile
|
|
628
|
+
|
|
629
|
+
Args:
|
|
630
|
+
extra_headers: Send extra headers
|
|
631
|
+
|
|
632
|
+
extra_query: Add additional query parameters to the request
|
|
633
|
+
|
|
634
|
+
extra_body: Add additional JSON properties to the request
|
|
635
|
+
|
|
636
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
637
|
+
"""
|
|
638
|
+
if not id:
|
|
639
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
640
|
+
return await self._get(
|
|
641
|
+
f"/messaging_profiles/{id}",
|
|
642
|
+
options=make_request_options(
|
|
643
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
644
|
+
),
|
|
645
|
+
cast_to=MessagingProfileRetrieveResponse,
|
|
646
|
+
)
|
|
647
|
+
|
|
648
|
+
async def update(
|
|
649
|
+
self,
|
|
650
|
+
id: str,
|
|
651
|
+
*,
|
|
652
|
+
alpha_sender: Optional[str] | NotGiven = NOT_GIVEN,
|
|
653
|
+
daily_spend_limit: str | NotGiven = NOT_GIVEN,
|
|
654
|
+
daily_spend_limit_enabled: bool | NotGiven = NOT_GIVEN,
|
|
655
|
+
enabled: bool | NotGiven = NOT_GIVEN,
|
|
656
|
+
mms_fall_back_to_sms: bool | NotGiven = NOT_GIVEN,
|
|
657
|
+
mms_transcoding: bool | NotGiven = NOT_GIVEN,
|
|
658
|
+
name: str | NotGiven = NOT_GIVEN,
|
|
659
|
+
number_pool_settings: Optional[NumberPoolSettingsParam] | NotGiven = NOT_GIVEN,
|
|
660
|
+
url_shortener_settings: Optional[URLShortenerSettingsParam] | NotGiven = NOT_GIVEN,
|
|
661
|
+
v1_secret: str | NotGiven = NOT_GIVEN,
|
|
662
|
+
webhook_api_version: Literal["1", "2", "2010-04-01"] | NotGiven = NOT_GIVEN,
|
|
663
|
+
webhook_failover_url: Optional[str] | NotGiven = NOT_GIVEN,
|
|
664
|
+
webhook_url: Optional[str] | NotGiven = NOT_GIVEN,
|
|
665
|
+
whitelisted_destinations: List[str] | NotGiven = NOT_GIVEN,
|
|
666
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
667
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
668
|
+
extra_headers: Headers | None = None,
|
|
669
|
+
extra_query: Query | None = None,
|
|
670
|
+
extra_body: Body | None = None,
|
|
671
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
672
|
+
) -> MessagingProfileUpdateResponse:
|
|
673
|
+
"""
|
|
674
|
+
Update a messaging profile
|
|
675
|
+
|
|
676
|
+
Args:
|
|
677
|
+
alpha_sender: The alphanumeric sender ID to use when sending to destinations that require an
|
|
678
|
+
alphanumeric sender ID.
|
|
679
|
+
|
|
680
|
+
daily_spend_limit: The maximum amount of money (in USD) that can be spent by this profile before
|
|
681
|
+
midnight UTC.
|
|
682
|
+
|
|
683
|
+
daily_spend_limit_enabled: Whether to enforce the value configured by `daily_spend_limit`.
|
|
684
|
+
|
|
685
|
+
enabled: Specifies whether the messaging profile is enabled or not.
|
|
686
|
+
|
|
687
|
+
mms_fall_back_to_sms: enables SMS fallback for MMS messages.
|
|
688
|
+
|
|
689
|
+
mms_transcoding: enables automated resizing of MMS media.
|
|
690
|
+
|
|
691
|
+
name: A user friendly name for the messaging profile.
|
|
692
|
+
|
|
693
|
+
number_pool_settings: Number Pool allows you to send messages from a pool of numbers of different
|
|
694
|
+
types, assigning weights to each type. The pool consists of all the long code
|
|
695
|
+
and toll free numbers assigned to the messaging profile.
|
|
696
|
+
|
|
697
|
+
To disable this feature, set the object field to `null`.
|
|
698
|
+
|
|
699
|
+
url_shortener_settings: The URL shortener feature allows automatic replacement of URLs that were
|
|
700
|
+
generated using a public URL shortener service. Some examples include bit.do,
|
|
701
|
+
bit.ly, goo.gl, ht.ly, is.gd, ow.ly, rebrand.ly, t.co, tiny.cc, and tinyurl.com.
|
|
702
|
+
Such URLs are replaced with with links generated by Telnyx. The use of custom
|
|
703
|
+
links can improve branding and message deliverability.
|
|
704
|
+
|
|
705
|
+
To disable this feature, set the object field to `null`.
|
|
706
|
+
|
|
707
|
+
v1_secret: Secret used to authenticate with v1 endpoints.
|
|
708
|
+
|
|
709
|
+
webhook_api_version: Determines which webhook format will be used, Telnyx API v1, v2, or a legacy
|
|
710
|
+
2010-04-01 format.
|
|
711
|
+
|
|
712
|
+
webhook_failover_url: The failover URL where webhooks related to this messaging profile will be sent
|
|
713
|
+
if sending to the primary URL fails.
|
|
714
|
+
|
|
715
|
+
webhook_url: The URL where webhooks related to this messaging profile will be sent.
|
|
716
|
+
|
|
717
|
+
whitelisted_destinations: Destinations to which the messaging profile is allowed to send. The elements in
|
|
718
|
+
the list must be valid ISO 3166-1 alpha-2 country codes. If set to `["*"]`, all
|
|
719
|
+
destinations will be allowed.
|
|
720
|
+
|
|
721
|
+
This field is required if the messaging profile doesn't have it defined yet.
|
|
722
|
+
|
|
723
|
+
extra_headers: Send extra headers
|
|
724
|
+
|
|
725
|
+
extra_query: Add additional query parameters to the request
|
|
726
|
+
|
|
727
|
+
extra_body: Add additional JSON properties to the request
|
|
728
|
+
|
|
729
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
730
|
+
"""
|
|
731
|
+
if not id:
|
|
732
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
733
|
+
return await self._patch(
|
|
734
|
+
f"/messaging_profiles/{id}",
|
|
735
|
+
body=await async_maybe_transform(
|
|
736
|
+
{
|
|
737
|
+
"alpha_sender": alpha_sender,
|
|
738
|
+
"daily_spend_limit": daily_spend_limit,
|
|
739
|
+
"daily_spend_limit_enabled": daily_spend_limit_enabled,
|
|
740
|
+
"enabled": enabled,
|
|
741
|
+
"mms_fall_back_to_sms": mms_fall_back_to_sms,
|
|
742
|
+
"mms_transcoding": mms_transcoding,
|
|
743
|
+
"name": name,
|
|
744
|
+
"number_pool_settings": number_pool_settings,
|
|
745
|
+
"url_shortener_settings": url_shortener_settings,
|
|
746
|
+
"v1_secret": v1_secret,
|
|
747
|
+
"webhook_api_version": webhook_api_version,
|
|
748
|
+
"webhook_failover_url": webhook_failover_url,
|
|
749
|
+
"webhook_url": webhook_url,
|
|
750
|
+
"whitelisted_destinations": whitelisted_destinations,
|
|
751
|
+
},
|
|
752
|
+
messaging_profile_update_params.MessagingProfileUpdateParams,
|
|
753
|
+
),
|
|
754
|
+
options=make_request_options(
|
|
755
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
756
|
+
),
|
|
757
|
+
cast_to=MessagingProfileUpdateResponse,
|
|
758
|
+
)
|
|
759
|
+
|
|
760
|
+
async def list(
|
|
761
|
+
self,
|
|
762
|
+
*,
|
|
763
|
+
filter: messaging_profile_list_params.Filter | NotGiven = NOT_GIVEN,
|
|
764
|
+
page: messaging_profile_list_params.Page | NotGiven = NOT_GIVEN,
|
|
765
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
766
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
767
|
+
extra_headers: Headers | None = None,
|
|
768
|
+
extra_query: Query | None = None,
|
|
769
|
+
extra_body: Body | None = None,
|
|
770
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
771
|
+
) -> MessagingProfileListResponse:
|
|
772
|
+
"""
|
|
773
|
+
List messaging profiles
|
|
774
|
+
|
|
775
|
+
Args:
|
|
776
|
+
filter: Consolidated filter parameter (deepObject style). Originally: filter[name]
|
|
777
|
+
|
|
778
|
+
page: Consolidated page parameter (deepObject style). Originally: page[number],
|
|
779
|
+
page[size]
|
|
780
|
+
|
|
781
|
+
extra_headers: Send extra headers
|
|
782
|
+
|
|
783
|
+
extra_query: Add additional query parameters to the request
|
|
784
|
+
|
|
785
|
+
extra_body: Add additional JSON properties to the request
|
|
786
|
+
|
|
787
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
788
|
+
"""
|
|
789
|
+
return await self._get(
|
|
790
|
+
"/messaging_profiles",
|
|
791
|
+
options=make_request_options(
|
|
792
|
+
extra_headers=extra_headers,
|
|
793
|
+
extra_query=extra_query,
|
|
794
|
+
extra_body=extra_body,
|
|
795
|
+
timeout=timeout,
|
|
796
|
+
query=await async_maybe_transform(
|
|
797
|
+
{
|
|
798
|
+
"filter": filter,
|
|
799
|
+
"page": page,
|
|
800
|
+
},
|
|
801
|
+
messaging_profile_list_params.MessagingProfileListParams,
|
|
802
|
+
),
|
|
803
|
+
),
|
|
804
|
+
cast_to=MessagingProfileListResponse,
|
|
805
|
+
)
|
|
806
|
+
|
|
807
|
+
async def delete(
|
|
808
|
+
self,
|
|
809
|
+
id: str,
|
|
810
|
+
*,
|
|
811
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
812
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
813
|
+
extra_headers: Headers | None = None,
|
|
814
|
+
extra_query: Query | None = None,
|
|
815
|
+
extra_body: Body | None = None,
|
|
816
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
817
|
+
) -> MessagingProfileDeleteResponse:
|
|
818
|
+
"""
|
|
819
|
+
Delete a messaging profile
|
|
820
|
+
|
|
821
|
+
Args:
|
|
822
|
+
extra_headers: Send extra headers
|
|
823
|
+
|
|
824
|
+
extra_query: Add additional query parameters to the request
|
|
825
|
+
|
|
826
|
+
extra_body: Add additional JSON properties to the request
|
|
827
|
+
|
|
828
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
829
|
+
"""
|
|
830
|
+
if not id:
|
|
831
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
832
|
+
return await self._delete(
|
|
833
|
+
f"/messaging_profiles/{id}",
|
|
834
|
+
options=make_request_options(
|
|
835
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
836
|
+
),
|
|
837
|
+
cast_to=MessagingProfileDeleteResponse,
|
|
838
|
+
)
|
|
839
|
+
|
|
840
|
+
async def list_phone_numbers(
|
|
841
|
+
self,
|
|
842
|
+
id: str,
|
|
843
|
+
*,
|
|
844
|
+
page: messaging_profile_list_phone_numbers_params.Page | NotGiven = NOT_GIVEN,
|
|
845
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
846
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
847
|
+
extra_headers: Headers | None = None,
|
|
848
|
+
extra_query: Query | None = None,
|
|
849
|
+
extra_body: Body | None = None,
|
|
850
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
851
|
+
) -> MessagingProfileListPhoneNumbersResponse:
|
|
852
|
+
"""
|
|
853
|
+
List phone numbers associated with a messaging profile
|
|
854
|
+
|
|
855
|
+
Args:
|
|
856
|
+
page: Consolidated page parameter (deepObject style). Originally: page[number],
|
|
857
|
+
page[size]
|
|
858
|
+
|
|
859
|
+
extra_headers: Send extra headers
|
|
860
|
+
|
|
861
|
+
extra_query: Add additional query parameters to the request
|
|
862
|
+
|
|
863
|
+
extra_body: Add additional JSON properties to the request
|
|
864
|
+
|
|
865
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
866
|
+
"""
|
|
867
|
+
if not id:
|
|
868
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
869
|
+
return await self._get(
|
|
870
|
+
f"/messaging_profiles/{id}/phone_numbers",
|
|
871
|
+
options=make_request_options(
|
|
872
|
+
extra_headers=extra_headers,
|
|
873
|
+
extra_query=extra_query,
|
|
874
|
+
extra_body=extra_body,
|
|
875
|
+
timeout=timeout,
|
|
876
|
+
query=await async_maybe_transform(
|
|
877
|
+
{"page": page}, messaging_profile_list_phone_numbers_params.MessagingProfileListPhoneNumbersParams
|
|
878
|
+
),
|
|
879
|
+
),
|
|
880
|
+
cast_to=MessagingProfileListPhoneNumbersResponse,
|
|
881
|
+
)
|
|
882
|
+
|
|
883
|
+
async def list_short_codes(
|
|
884
|
+
self,
|
|
885
|
+
id: str,
|
|
886
|
+
*,
|
|
887
|
+
page: messaging_profile_list_short_codes_params.Page | NotGiven = NOT_GIVEN,
|
|
888
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
889
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
890
|
+
extra_headers: Headers | None = None,
|
|
891
|
+
extra_query: Query | None = None,
|
|
892
|
+
extra_body: Body | None = None,
|
|
893
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
894
|
+
) -> MessagingProfileListShortCodesResponse:
|
|
895
|
+
"""
|
|
896
|
+
List short codes associated with a messaging profile
|
|
897
|
+
|
|
898
|
+
Args:
|
|
899
|
+
page: Consolidated page parameter (deepObject style). Originally: page[number],
|
|
900
|
+
page[size]
|
|
901
|
+
|
|
902
|
+
extra_headers: Send extra headers
|
|
903
|
+
|
|
904
|
+
extra_query: Add additional query parameters to the request
|
|
905
|
+
|
|
906
|
+
extra_body: Add additional JSON properties to the request
|
|
907
|
+
|
|
908
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
909
|
+
"""
|
|
910
|
+
if not id:
|
|
911
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
912
|
+
return await self._get(
|
|
913
|
+
f"/messaging_profiles/{id}/short_codes",
|
|
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
|
+
{"page": page}, messaging_profile_list_short_codes_params.MessagingProfileListShortCodesParams
|
|
921
|
+
),
|
|
922
|
+
),
|
|
923
|
+
cast_to=MessagingProfileListShortCodesResponse,
|
|
924
|
+
)
|
|
925
|
+
|
|
926
|
+
|
|
927
|
+
class MessagingProfilesResourceWithRawResponse:
|
|
928
|
+
def __init__(self, messaging_profiles: MessagingProfilesResource) -> None:
|
|
929
|
+
self._messaging_profiles = messaging_profiles
|
|
930
|
+
|
|
931
|
+
self.create = to_raw_response_wrapper(
|
|
932
|
+
messaging_profiles.create,
|
|
933
|
+
)
|
|
934
|
+
self.retrieve = to_raw_response_wrapper(
|
|
935
|
+
messaging_profiles.retrieve,
|
|
936
|
+
)
|
|
937
|
+
self.update = to_raw_response_wrapper(
|
|
938
|
+
messaging_profiles.update,
|
|
939
|
+
)
|
|
940
|
+
self.list = to_raw_response_wrapper(
|
|
941
|
+
messaging_profiles.list,
|
|
942
|
+
)
|
|
943
|
+
self.delete = to_raw_response_wrapper(
|
|
944
|
+
messaging_profiles.delete,
|
|
945
|
+
)
|
|
946
|
+
self.list_phone_numbers = to_raw_response_wrapper(
|
|
947
|
+
messaging_profiles.list_phone_numbers,
|
|
948
|
+
)
|
|
949
|
+
self.list_short_codes = to_raw_response_wrapper(
|
|
950
|
+
messaging_profiles.list_short_codes,
|
|
951
|
+
)
|
|
952
|
+
|
|
953
|
+
@cached_property
|
|
954
|
+
def autoresp_configs(self) -> AutorespConfigsResourceWithRawResponse:
|
|
955
|
+
return AutorespConfigsResourceWithRawResponse(self._messaging_profiles.autoresp_configs)
|
|
956
|
+
|
|
957
|
+
|
|
958
|
+
class AsyncMessagingProfilesResourceWithRawResponse:
|
|
959
|
+
def __init__(self, messaging_profiles: AsyncMessagingProfilesResource) -> None:
|
|
960
|
+
self._messaging_profiles = messaging_profiles
|
|
961
|
+
|
|
962
|
+
self.create = async_to_raw_response_wrapper(
|
|
963
|
+
messaging_profiles.create,
|
|
964
|
+
)
|
|
965
|
+
self.retrieve = async_to_raw_response_wrapper(
|
|
966
|
+
messaging_profiles.retrieve,
|
|
967
|
+
)
|
|
968
|
+
self.update = async_to_raw_response_wrapper(
|
|
969
|
+
messaging_profiles.update,
|
|
970
|
+
)
|
|
971
|
+
self.list = async_to_raw_response_wrapper(
|
|
972
|
+
messaging_profiles.list,
|
|
973
|
+
)
|
|
974
|
+
self.delete = async_to_raw_response_wrapper(
|
|
975
|
+
messaging_profiles.delete,
|
|
976
|
+
)
|
|
977
|
+
self.list_phone_numbers = async_to_raw_response_wrapper(
|
|
978
|
+
messaging_profiles.list_phone_numbers,
|
|
979
|
+
)
|
|
980
|
+
self.list_short_codes = async_to_raw_response_wrapper(
|
|
981
|
+
messaging_profiles.list_short_codes,
|
|
982
|
+
)
|
|
983
|
+
|
|
984
|
+
@cached_property
|
|
985
|
+
def autoresp_configs(self) -> AsyncAutorespConfigsResourceWithRawResponse:
|
|
986
|
+
return AsyncAutorespConfigsResourceWithRawResponse(self._messaging_profiles.autoresp_configs)
|
|
987
|
+
|
|
988
|
+
|
|
989
|
+
class MessagingProfilesResourceWithStreamingResponse:
|
|
990
|
+
def __init__(self, messaging_profiles: MessagingProfilesResource) -> None:
|
|
991
|
+
self._messaging_profiles = messaging_profiles
|
|
992
|
+
|
|
993
|
+
self.create = to_streamed_response_wrapper(
|
|
994
|
+
messaging_profiles.create,
|
|
995
|
+
)
|
|
996
|
+
self.retrieve = to_streamed_response_wrapper(
|
|
997
|
+
messaging_profiles.retrieve,
|
|
998
|
+
)
|
|
999
|
+
self.update = to_streamed_response_wrapper(
|
|
1000
|
+
messaging_profiles.update,
|
|
1001
|
+
)
|
|
1002
|
+
self.list = to_streamed_response_wrapper(
|
|
1003
|
+
messaging_profiles.list,
|
|
1004
|
+
)
|
|
1005
|
+
self.delete = to_streamed_response_wrapper(
|
|
1006
|
+
messaging_profiles.delete,
|
|
1007
|
+
)
|
|
1008
|
+
self.list_phone_numbers = to_streamed_response_wrapper(
|
|
1009
|
+
messaging_profiles.list_phone_numbers,
|
|
1010
|
+
)
|
|
1011
|
+
self.list_short_codes = to_streamed_response_wrapper(
|
|
1012
|
+
messaging_profiles.list_short_codes,
|
|
1013
|
+
)
|
|
1014
|
+
|
|
1015
|
+
@cached_property
|
|
1016
|
+
def autoresp_configs(self) -> AutorespConfigsResourceWithStreamingResponse:
|
|
1017
|
+
return AutorespConfigsResourceWithStreamingResponse(self._messaging_profiles.autoresp_configs)
|
|
1018
|
+
|
|
1019
|
+
|
|
1020
|
+
class AsyncMessagingProfilesResourceWithStreamingResponse:
|
|
1021
|
+
def __init__(self, messaging_profiles: AsyncMessagingProfilesResource) -> None:
|
|
1022
|
+
self._messaging_profiles = messaging_profiles
|
|
1023
|
+
|
|
1024
|
+
self.create = async_to_streamed_response_wrapper(
|
|
1025
|
+
messaging_profiles.create,
|
|
1026
|
+
)
|
|
1027
|
+
self.retrieve = async_to_streamed_response_wrapper(
|
|
1028
|
+
messaging_profiles.retrieve,
|
|
1029
|
+
)
|
|
1030
|
+
self.update = async_to_streamed_response_wrapper(
|
|
1031
|
+
messaging_profiles.update,
|
|
1032
|
+
)
|
|
1033
|
+
self.list = async_to_streamed_response_wrapper(
|
|
1034
|
+
messaging_profiles.list,
|
|
1035
|
+
)
|
|
1036
|
+
self.delete = async_to_streamed_response_wrapper(
|
|
1037
|
+
messaging_profiles.delete,
|
|
1038
|
+
)
|
|
1039
|
+
self.list_phone_numbers = async_to_streamed_response_wrapper(
|
|
1040
|
+
messaging_profiles.list_phone_numbers,
|
|
1041
|
+
)
|
|
1042
|
+
self.list_short_codes = async_to_streamed_response_wrapper(
|
|
1043
|
+
messaging_profiles.list_short_codes,
|
|
1044
|
+
)
|
|
1045
|
+
|
|
1046
|
+
@cached_property
|
|
1047
|
+
def autoresp_configs(self) -> AsyncAutorespConfigsResourceWithStreamingResponse:
|
|
1048
|
+
return AsyncAutorespConfigsResourceWithStreamingResponse(self._messaging_profiles.autoresp_configs)
|