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,1316 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal
|
|
6
|
+
|
|
7
|
+
import httpx
|
|
8
|
+
|
|
9
|
+
from ...types import (
|
|
10
|
+
Vertical,
|
|
11
|
+
EntityType,
|
|
12
|
+
StockExchange,
|
|
13
|
+
AltBusinessIDType,
|
|
14
|
+
BrandIdentityStatus,
|
|
15
|
+
brand_list_params,
|
|
16
|
+
brand_create_params,
|
|
17
|
+
brand_update_params,
|
|
18
|
+
)
|
|
19
|
+
from ..._types import NOT_GIVEN, Body, Query, Headers, NoneType, NotGiven
|
|
20
|
+
from ..._utils import maybe_transform, async_maybe_transform
|
|
21
|
+
from ..._compat import cached_property
|
|
22
|
+
from ..._resource import SyncAPIResource, AsyncAPIResource
|
|
23
|
+
from ..._response import (
|
|
24
|
+
to_raw_response_wrapper,
|
|
25
|
+
to_streamed_response_wrapper,
|
|
26
|
+
async_to_raw_response_wrapper,
|
|
27
|
+
async_to_streamed_response_wrapper,
|
|
28
|
+
)
|
|
29
|
+
from ..._base_client import make_request_options
|
|
30
|
+
from ...types.vertical import Vertical
|
|
31
|
+
from .external_vetting import (
|
|
32
|
+
ExternalVettingResource,
|
|
33
|
+
AsyncExternalVettingResource,
|
|
34
|
+
ExternalVettingResourceWithRawResponse,
|
|
35
|
+
AsyncExternalVettingResourceWithRawResponse,
|
|
36
|
+
ExternalVettingResourceWithStreamingResponse,
|
|
37
|
+
AsyncExternalVettingResourceWithStreamingResponse,
|
|
38
|
+
)
|
|
39
|
+
from ...types.entity_type import EntityType
|
|
40
|
+
from ...types.telnyx_brand import TelnyxBrand
|
|
41
|
+
from ...types.stock_exchange import StockExchange
|
|
42
|
+
from ...types.brand_list_response import BrandListResponse
|
|
43
|
+
from ...types.alt_business_id_type import AltBusinessIDType
|
|
44
|
+
from ...types.brand_identity_status import BrandIdentityStatus
|
|
45
|
+
from ...types.brand_retrieve_response import BrandRetrieveResponse
|
|
46
|
+
from ...types.brand_get_feedback_response import BrandGetFeedbackResponse
|
|
47
|
+
|
|
48
|
+
__all__ = ["BrandResource", "AsyncBrandResource"]
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
class BrandResource(SyncAPIResource):
|
|
52
|
+
@cached_property
|
|
53
|
+
def external_vetting(self) -> ExternalVettingResource:
|
|
54
|
+
return ExternalVettingResource(self._client)
|
|
55
|
+
|
|
56
|
+
@cached_property
|
|
57
|
+
def with_raw_response(self) -> BrandResourceWithRawResponse:
|
|
58
|
+
"""
|
|
59
|
+
This property can be used as a prefix for any HTTP method call to return
|
|
60
|
+
the raw response object instead of the parsed content.
|
|
61
|
+
|
|
62
|
+
For more information, see https://www.github.com/team-telnyx/telnyx-python#accessing-raw-response-data-eg-headers
|
|
63
|
+
"""
|
|
64
|
+
return BrandResourceWithRawResponse(self)
|
|
65
|
+
|
|
66
|
+
@cached_property
|
|
67
|
+
def with_streaming_response(self) -> BrandResourceWithStreamingResponse:
|
|
68
|
+
"""
|
|
69
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
70
|
+
|
|
71
|
+
For more information, see https://www.github.com/team-telnyx/telnyx-python#with_streaming_response
|
|
72
|
+
"""
|
|
73
|
+
return BrandResourceWithStreamingResponse(self)
|
|
74
|
+
|
|
75
|
+
def create(
|
|
76
|
+
self,
|
|
77
|
+
*,
|
|
78
|
+
country: str,
|
|
79
|
+
display_name: str,
|
|
80
|
+
email: str,
|
|
81
|
+
entity_type: EntityType,
|
|
82
|
+
vertical: Vertical,
|
|
83
|
+
business_contact_email: str | NotGiven = NOT_GIVEN,
|
|
84
|
+
city: str | NotGiven = NOT_GIVEN,
|
|
85
|
+
company_name: str | NotGiven = NOT_GIVEN,
|
|
86
|
+
ein: str | NotGiven = NOT_GIVEN,
|
|
87
|
+
first_name: str | NotGiven = NOT_GIVEN,
|
|
88
|
+
ip_address: str | NotGiven = NOT_GIVEN,
|
|
89
|
+
is_reseller: bool | NotGiven = NOT_GIVEN,
|
|
90
|
+
last_name: str | NotGiven = NOT_GIVEN,
|
|
91
|
+
mobile_phone: str | NotGiven = NOT_GIVEN,
|
|
92
|
+
mock: bool | NotGiven = NOT_GIVEN,
|
|
93
|
+
phone: str | NotGiven = NOT_GIVEN,
|
|
94
|
+
postal_code: str | NotGiven = NOT_GIVEN,
|
|
95
|
+
state: str | NotGiven = NOT_GIVEN,
|
|
96
|
+
stock_exchange: StockExchange | NotGiven = NOT_GIVEN,
|
|
97
|
+
stock_symbol: str | NotGiven = NOT_GIVEN,
|
|
98
|
+
street: str | NotGiven = NOT_GIVEN,
|
|
99
|
+
webhook_failover_url: str | NotGiven = NOT_GIVEN,
|
|
100
|
+
webhook_url: str | NotGiven = NOT_GIVEN,
|
|
101
|
+
website: str | NotGiven = NOT_GIVEN,
|
|
102
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
103
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
104
|
+
extra_headers: Headers | None = None,
|
|
105
|
+
extra_query: Query | None = None,
|
|
106
|
+
extra_body: Body | None = None,
|
|
107
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
108
|
+
) -> TelnyxBrand:
|
|
109
|
+
"""This endpoint is used to create a new brand.
|
|
110
|
+
|
|
111
|
+
A brand is an entity created by The
|
|
112
|
+
Campaign Registry (TCR) that represents an organization or a company. It is this
|
|
113
|
+
entity that TCR created campaigns will be associated with. Each brand creation
|
|
114
|
+
will entail an upfront, non-refundable $4 expense.
|
|
115
|
+
|
|
116
|
+
Args:
|
|
117
|
+
country: ISO2 2 characters country code. Example: US - United States
|
|
118
|
+
|
|
119
|
+
display_name: Display name, marketing name, or DBA name of the brand.
|
|
120
|
+
|
|
121
|
+
email: Valid email address of brand support contact.
|
|
122
|
+
|
|
123
|
+
entity_type: Entity type behind the brand. This is the form of business establishment.
|
|
124
|
+
|
|
125
|
+
vertical: Vertical or industry segment of the brand or campaign.
|
|
126
|
+
|
|
127
|
+
business_contact_email: Business contact email.
|
|
128
|
+
|
|
129
|
+
Required if `entityType` is `PUBLIC_PROFIT`.
|
|
130
|
+
|
|
131
|
+
city: City name
|
|
132
|
+
|
|
133
|
+
company_name: (Required for Non-profit/private/public) Legal company name.
|
|
134
|
+
|
|
135
|
+
ein: (Required for Non-profit) Government assigned corporate tax ID. EIN is 9-digits
|
|
136
|
+
in U.S.
|
|
137
|
+
|
|
138
|
+
first_name: First name of business contact.
|
|
139
|
+
|
|
140
|
+
ip_address: IP address of the browser requesting to create brand identity.
|
|
141
|
+
|
|
142
|
+
last_name: Last name of business contact.
|
|
143
|
+
|
|
144
|
+
mobile_phone: Valid mobile phone number in e.164 international format.
|
|
145
|
+
|
|
146
|
+
mock: Mock brand for testing purposes. Defaults to false.
|
|
147
|
+
|
|
148
|
+
phone: Valid phone number in e.164 international format.
|
|
149
|
+
|
|
150
|
+
postal_code: Postal codes. Use 5 digit zipcode for United States
|
|
151
|
+
|
|
152
|
+
state: State. Must be 2 letters code for United States.
|
|
153
|
+
|
|
154
|
+
stock_exchange: (Required for public company) stock exchange.
|
|
155
|
+
|
|
156
|
+
stock_symbol: (Required for public company) stock symbol.
|
|
157
|
+
|
|
158
|
+
street: Street number and name.
|
|
159
|
+
|
|
160
|
+
webhook_failover_url: Webhook failover URL for brand status updates.
|
|
161
|
+
|
|
162
|
+
webhook_url: Webhook URL for brand status updates.
|
|
163
|
+
|
|
164
|
+
website: Brand website URL.
|
|
165
|
+
|
|
166
|
+
extra_headers: Send extra headers
|
|
167
|
+
|
|
168
|
+
extra_query: Add additional query parameters to the request
|
|
169
|
+
|
|
170
|
+
extra_body: Add additional JSON properties to the request
|
|
171
|
+
|
|
172
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
173
|
+
"""
|
|
174
|
+
return self._post(
|
|
175
|
+
"/brand",
|
|
176
|
+
body=maybe_transform(
|
|
177
|
+
{
|
|
178
|
+
"country": country,
|
|
179
|
+
"display_name": display_name,
|
|
180
|
+
"email": email,
|
|
181
|
+
"entity_type": entity_type,
|
|
182
|
+
"vertical": vertical,
|
|
183
|
+
"business_contact_email": business_contact_email,
|
|
184
|
+
"city": city,
|
|
185
|
+
"company_name": company_name,
|
|
186
|
+
"ein": ein,
|
|
187
|
+
"first_name": first_name,
|
|
188
|
+
"ip_address": ip_address,
|
|
189
|
+
"is_reseller": is_reseller,
|
|
190
|
+
"last_name": last_name,
|
|
191
|
+
"mobile_phone": mobile_phone,
|
|
192
|
+
"mock": mock,
|
|
193
|
+
"phone": phone,
|
|
194
|
+
"postal_code": postal_code,
|
|
195
|
+
"state": state,
|
|
196
|
+
"stock_exchange": stock_exchange,
|
|
197
|
+
"stock_symbol": stock_symbol,
|
|
198
|
+
"street": street,
|
|
199
|
+
"webhook_failover_url": webhook_failover_url,
|
|
200
|
+
"webhook_url": webhook_url,
|
|
201
|
+
"website": website,
|
|
202
|
+
},
|
|
203
|
+
brand_create_params.BrandCreateParams,
|
|
204
|
+
),
|
|
205
|
+
options=make_request_options(
|
|
206
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
207
|
+
),
|
|
208
|
+
cast_to=TelnyxBrand,
|
|
209
|
+
)
|
|
210
|
+
|
|
211
|
+
def retrieve(
|
|
212
|
+
self,
|
|
213
|
+
brand_id: str,
|
|
214
|
+
*,
|
|
215
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
216
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
217
|
+
extra_headers: Headers | None = None,
|
|
218
|
+
extra_query: Query | None = None,
|
|
219
|
+
extra_body: Body | None = None,
|
|
220
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
221
|
+
) -> BrandRetrieveResponse:
|
|
222
|
+
"""
|
|
223
|
+
Retrieve a brand by `brandId`.
|
|
224
|
+
|
|
225
|
+
Args:
|
|
226
|
+
extra_headers: Send extra headers
|
|
227
|
+
|
|
228
|
+
extra_query: Add additional query parameters to the request
|
|
229
|
+
|
|
230
|
+
extra_body: Add additional JSON properties to the request
|
|
231
|
+
|
|
232
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
233
|
+
"""
|
|
234
|
+
if not brand_id:
|
|
235
|
+
raise ValueError(f"Expected a non-empty value for `brand_id` but received {brand_id!r}")
|
|
236
|
+
return self._get(
|
|
237
|
+
f"/brand/{brand_id}",
|
|
238
|
+
options=make_request_options(
|
|
239
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
240
|
+
),
|
|
241
|
+
cast_to=BrandRetrieveResponse,
|
|
242
|
+
)
|
|
243
|
+
|
|
244
|
+
def update(
|
|
245
|
+
self,
|
|
246
|
+
brand_id: str,
|
|
247
|
+
*,
|
|
248
|
+
country: str,
|
|
249
|
+
display_name: str,
|
|
250
|
+
email: str,
|
|
251
|
+
entity_type: EntityType,
|
|
252
|
+
vertical: Vertical,
|
|
253
|
+
alt_business_id: str | NotGiven = NOT_GIVEN,
|
|
254
|
+
alt_business_id_type: AltBusinessIDType | NotGiven = NOT_GIVEN,
|
|
255
|
+
business_contact_email: str | NotGiven = NOT_GIVEN,
|
|
256
|
+
city: str | NotGiven = NOT_GIVEN,
|
|
257
|
+
company_name: str | NotGiven = NOT_GIVEN,
|
|
258
|
+
ein: str | NotGiven = NOT_GIVEN,
|
|
259
|
+
first_name: str | NotGiven = NOT_GIVEN,
|
|
260
|
+
identity_status: BrandIdentityStatus | NotGiven = NOT_GIVEN,
|
|
261
|
+
ip_address: str | NotGiven = NOT_GIVEN,
|
|
262
|
+
is_reseller: bool | NotGiven = NOT_GIVEN,
|
|
263
|
+
last_name: str | NotGiven = NOT_GIVEN,
|
|
264
|
+
phone: str | NotGiven = NOT_GIVEN,
|
|
265
|
+
postal_code: str | NotGiven = NOT_GIVEN,
|
|
266
|
+
state: str | NotGiven = NOT_GIVEN,
|
|
267
|
+
stock_exchange: StockExchange | NotGiven = NOT_GIVEN,
|
|
268
|
+
stock_symbol: str | NotGiven = NOT_GIVEN,
|
|
269
|
+
street: str | NotGiven = NOT_GIVEN,
|
|
270
|
+
webhook_failover_url: str | NotGiven = NOT_GIVEN,
|
|
271
|
+
webhook_url: str | NotGiven = NOT_GIVEN,
|
|
272
|
+
website: str | NotGiven = NOT_GIVEN,
|
|
273
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
274
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
275
|
+
extra_headers: Headers | None = None,
|
|
276
|
+
extra_query: Query | None = None,
|
|
277
|
+
extra_body: Body | None = None,
|
|
278
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
279
|
+
) -> TelnyxBrand:
|
|
280
|
+
"""
|
|
281
|
+
Update a brand's attributes by `brandId`.
|
|
282
|
+
|
|
283
|
+
Args:
|
|
284
|
+
country: ISO2 2 characters country code. Example: US - United States
|
|
285
|
+
|
|
286
|
+
display_name: Display or marketing name of the brand.
|
|
287
|
+
|
|
288
|
+
email: Valid email address of brand support contact.
|
|
289
|
+
|
|
290
|
+
entity_type: Entity type behind the brand. This is the form of business establishment.
|
|
291
|
+
|
|
292
|
+
vertical: Vertical or industry segment of the brand or campaign.
|
|
293
|
+
|
|
294
|
+
alt_business_id: Alternate business identifier such as DUNS, LEI, or GIIN
|
|
295
|
+
|
|
296
|
+
alt_business_id_type: An enumeration.
|
|
297
|
+
|
|
298
|
+
business_contact_email: Business contact email.
|
|
299
|
+
|
|
300
|
+
Required if `entityType` will be changed to `PUBLIC_PROFIT`.
|
|
301
|
+
|
|
302
|
+
city: City name
|
|
303
|
+
|
|
304
|
+
company_name: (Required for Non-profit/private/public) Legal company name.
|
|
305
|
+
|
|
306
|
+
ein: (Required for Non-profit) Government assigned corporate tax ID. EIN is 9-digits
|
|
307
|
+
in U.S.
|
|
308
|
+
|
|
309
|
+
first_name: First name of business contact.
|
|
310
|
+
|
|
311
|
+
identity_status: The verification status of an active brand
|
|
312
|
+
|
|
313
|
+
ip_address: IP address of the browser requesting to create brand identity.
|
|
314
|
+
|
|
315
|
+
last_name: Last name of business contact.
|
|
316
|
+
|
|
317
|
+
phone: Valid phone number in e.164 international format.
|
|
318
|
+
|
|
319
|
+
postal_code: Postal codes. Use 5 digit zipcode for United States
|
|
320
|
+
|
|
321
|
+
state: State. Must be 2 letters code for United States.
|
|
322
|
+
|
|
323
|
+
stock_exchange: (Required for public company) stock exchange.
|
|
324
|
+
|
|
325
|
+
stock_symbol: (Required for public company) stock symbol.
|
|
326
|
+
|
|
327
|
+
street: Street number and name.
|
|
328
|
+
|
|
329
|
+
webhook_failover_url: Webhook failover URL for brand status updates.
|
|
330
|
+
|
|
331
|
+
webhook_url: Webhook URL for brand status updates.
|
|
332
|
+
|
|
333
|
+
website: Brand website URL.
|
|
334
|
+
|
|
335
|
+
extra_headers: Send extra headers
|
|
336
|
+
|
|
337
|
+
extra_query: Add additional query parameters to the request
|
|
338
|
+
|
|
339
|
+
extra_body: Add additional JSON properties to the request
|
|
340
|
+
|
|
341
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
342
|
+
"""
|
|
343
|
+
if not brand_id:
|
|
344
|
+
raise ValueError(f"Expected a non-empty value for `brand_id` but received {brand_id!r}")
|
|
345
|
+
return self._put(
|
|
346
|
+
f"/brand/{brand_id}",
|
|
347
|
+
body=maybe_transform(
|
|
348
|
+
{
|
|
349
|
+
"country": country,
|
|
350
|
+
"display_name": display_name,
|
|
351
|
+
"email": email,
|
|
352
|
+
"entity_type": entity_type,
|
|
353
|
+
"vertical": vertical,
|
|
354
|
+
"alt_business_id": alt_business_id,
|
|
355
|
+
"alt_business_id_type": alt_business_id_type,
|
|
356
|
+
"business_contact_email": business_contact_email,
|
|
357
|
+
"city": city,
|
|
358
|
+
"company_name": company_name,
|
|
359
|
+
"ein": ein,
|
|
360
|
+
"first_name": first_name,
|
|
361
|
+
"identity_status": identity_status,
|
|
362
|
+
"ip_address": ip_address,
|
|
363
|
+
"is_reseller": is_reseller,
|
|
364
|
+
"last_name": last_name,
|
|
365
|
+
"phone": phone,
|
|
366
|
+
"postal_code": postal_code,
|
|
367
|
+
"state": state,
|
|
368
|
+
"stock_exchange": stock_exchange,
|
|
369
|
+
"stock_symbol": stock_symbol,
|
|
370
|
+
"street": street,
|
|
371
|
+
"webhook_failover_url": webhook_failover_url,
|
|
372
|
+
"webhook_url": webhook_url,
|
|
373
|
+
"website": website,
|
|
374
|
+
},
|
|
375
|
+
brand_update_params.BrandUpdateParams,
|
|
376
|
+
),
|
|
377
|
+
options=make_request_options(
|
|
378
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
379
|
+
),
|
|
380
|
+
cast_to=TelnyxBrand,
|
|
381
|
+
)
|
|
382
|
+
|
|
383
|
+
def list(
|
|
384
|
+
self,
|
|
385
|
+
*,
|
|
386
|
+
brand_id: str | NotGiven = NOT_GIVEN,
|
|
387
|
+
country: str | NotGiven = NOT_GIVEN,
|
|
388
|
+
display_name: str | NotGiven = NOT_GIVEN,
|
|
389
|
+
entity_type: str | NotGiven = NOT_GIVEN,
|
|
390
|
+
page: int | NotGiven = NOT_GIVEN,
|
|
391
|
+
records_per_page: int | NotGiven = NOT_GIVEN,
|
|
392
|
+
sort: Literal[
|
|
393
|
+
"assignedCampaignsCount",
|
|
394
|
+
"-assignedCampaignsCount",
|
|
395
|
+
"brandId",
|
|
396
|
+
"-brandId",
|
|
397
|
+
"createdAt",
|
|
398
|
+
"-createdAt",
|
|
399
|
+
"displayName",
|
|
400
|
+
"-displayName",
|
|
401
|
+
"identityStatus",
|
|
402
|
+
"-identityStatus",
|
|
403
|
+
"status",
|
|
404
|
+
"-status",
|
|
405
|
+
"tcrBrandId",
|
|
406
|
+
"-tcrBrandId",
|
|
407
|
+
]
|
|
408
|
+
| NotGiven = NOT_GIVEN,
|
|
409
|
+
state: str | NotGiven = NOT_GIVEN,
|
|
410
|
+
tcr_brand_id: str | NotGiven = NOT_GIVEN,
|
|
411
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
412
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
413
|
+
extra_headers: Headers | None = None,
|
|
414
|
+
extra_query: Query | None = None,
|
|
415
|
+
extra_body: Body | None = None,
|
|
416
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
417
|
+
) -> BrandListResponse:
|
|
418
|
+
"""
|
|
419
|
+
This endpoint is used to list all brands associated with your organization.
|
|
420
|
+
|
|
421
|
+
Args:
|
|
422
|
+
brand_id: Filter results by the Telnyx Brand id
|
|
423
|
+
|
|
424
|
+
records_per_page: number of records per page. maximum of 500
|
|
425
|
+
|
|
426
|
+
sort: Specifies the sort order for results. If not given, results are sorted by
|
|
427
|
+
createdAt in descending order.
|
|
428
|
+
|
|
429
|
+
tcr_brand_id: Filter results by the TCR Brand id
|
|
430
|
+
|
|
431
|
+
extra_headers: Send extra headers
|
|
432
|
+
|
|
433
|
+
extra_query: Add additional query parameters to the request
|
|
434
|
+
|
|
435
|
+
extra_body: Add additional JSON properties to the request
|
|
436
|
+
|
|
437
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
438
|
+
"""
|
|
439
|
+
return self._get(
|
|
440
|
+
"/brand",
|
|
441
|
+
options=make_request_options(
|
|
442
|
+
extra_headers=extra_headers,
|
|
443
|
+
extra_query=extra_query,
|
|
444
|
+
extra_body=extra_body,
|
|
445
|
+
timeout=timeout,
|
|
446
|
+
query=maybe_transform(
|
|
447
|
+
{
|
|
448
|
+
"brand_id": brand_id,
|
|
449
|
+
"country": country,
|
|
450
|
+
"display_name": display_name,
|
|
451
|
+
"entity_type": entity_type,
|
|
452
|
+
"page": page,
|
|
453
|
+
"records_per_page": records_per_page,
|
|
454
|
+
"sort": sort,
|
|
455
|
+
"state": state,
|
|
456
|
+
"tcr_brand_id": tcr_brand_id,
|
|
457
|
+
},
|
|
458
|
+
brand_list_params.BrandListParams,
|
|
459
|
+
),
|
|
460
|
+
),
|
|
461
|
+
cast_to=BrandListResponse,
|
|
462
|
+
)
|
|
463
|
+
|
|
464
|
+
def delete(
|
|
465
|
+
self,
|
|
466
|
+
brand_id: str,
|
|
467
|
+
*,
|
|
468
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
469
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
470
|
+
extra_headers: Headers | None = None,
|
|
471
|
+
extra_query: Query | None = None,
|
|
472
|
+
extra_body: Body | None = None,
|
|
473
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
474
|
+
) -> object:
|
|
475
|
+
"""Delete Brand.
|
|
476
|
+
|
|
477
|
+
This endpoint is used to delete a brand. Note the brand cannot be
|
|
478
|
+
deleted if it contains one or more active campaigns, the campaigns need to be
|
|
479
|
+
inactive and at least 3 months old due to billing purposes.
|
|
480
|
+
|
|
481
|
+
Args:
|
|
482
|
+
extra_headers: Send extra headers
|
|
483
|
+
|
|
484
|
+
extra_query: Add additional query parameters to the request
|
|
485
|
+
|
|
486
|
+
extra_body: Add additional JSON properties to the request
|
|
487
|
+
|
|
488
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
489
|
+
"""
|
|
490
|
+
if not brand_id:
|
|
491
|
+
raise ValueError(f"Expected a non-empty value for `brand_id` but received {brand_id!r}")
|
|
492
|
+
return self._delete(
|
|
493
|
+
f"/brand/{brand_id}",
|
|
494
|
+
options=make_request_options(
|
|
495
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
496
|
+
),
|
|
497
|
+
cast_to=object,
|
|
498
|
+
)
|
|
499
|
+
|
|
500
|
+
def get_feedback(
|
|
501
|
+
self,
|
|
502
|
+
brand_id: str,
|
|
503
|
+
*,
|
|
504
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
505
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
506
|
+
extra_headers: Headers | None = None,
|
|
507
|
+
extra_query: Query | None = None,
|
|
508
|
+
extra_body: Body | None = None,
|
|
509
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
510
|
+
) -> BrandGetFeedbackResponse:
|
|
511
|
+
"""Get feedback about a brand by ID.
|
|
512
|
+
|
|
513
|
+
This endpoint can be used after creating or
|
|
514
|
+
revetting a brand.
|
|
515
|
+
|
|
516
|
+
Possible values for `.category[].id`:
|
|
517
|
+
|
|
518
|
+
- `TAX_ID` - Data mismatch related to tax id and its associated properties.
|
|
519
|
+
- `STOCK_SYMBOL` - Non public entity registered as a public for profit entity or
|
|
520
|
+
the stock information mismatch.
|
|
521
|
+
- `GOVERNMENT_ENTITY` - Non government entity registered as a government entity.
|
|
522
|
+
Must be a U.S. government entity.
|
|
523
|
+
- `NONPROFIT` - Not a recognized non-profit entity. No IRS tax-exempt status
|
|
524
|
+
found.
|
|
525
|
+
- `OTHERS` - Details of the data misrepresentation if any.
|
|
526
|
+
|
|
527
|
+
Args:
|
|
528
|
+
extra_headers: Send extra headers
|
|
529
|
+
|
|
530
|
+
extra_query: Add additional query parameters to the request
|
|
531
|
+
|
|
532
|
+
extra_body: Add additional JSON properties to the request
|
|
533
|
+
|
|
534
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
535
|
+
"""
|
|
536
|
+
if not brand_id:
|
|
537
|
+
raise ValueError(f"Expected a non-empty value for `brand_id` but received {brand_id!r}")
|
|
538
|
+
return self._get(
|
|
539
|
+
f"/brand/feedback/{brand_id}",
|
|
540
|
+
options=make_request_options(
|
|
541
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
542
|
+
),
|
|
543
|
+
cast_to=BrandGetFeedbackResponse,
|
|
544
|
+
)
|
|
545
|
+
|
|
546
|
+
def resend_2fa_email(
|
|
547
|
+
self,
|
|
548
|
+
brand_id: str,
|
|
549
|
+
*,
|
|
550
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
551
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
552
|
+
extra_headers: Headers | None = None,
|
|
553
|
+
extra_query: Query | None = None,
|
|
554
|
+
extra_body: Body | None = None,
|
|
555
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
556
|
+
) -> None:
|
|
557
|
+
"""
|
|
558
|
+
Resend brand 2FA email
|
|
559
|
+
|
|
560
|
+
Args:
|
|
561
|
+
extra_headers: Send extra headers
|
|
562
|
+
|
|
563
|
+
extra_query: Add additional query parameters to the request
|
|
564
|
+
|
|
565
|
+
extra_body: Add additional JSON properties to the request
|
|
566
|
+
|
|
567
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
568
|
+
"""
|
|
569
|
+
if not brand_id:
|
|
570
|
+
raise ValueError(f"Expected a non-empty value for `brand_id` but received {brand_id!r}")
|
|
571
|
+
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
|
572
|
+
return self._post(
|
|
573
|
+
f"/brand/{brand_id}/2faEmail",
|
|
574
|
+
options=make_request_options(
|
|
575
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
576
|
+
),
|
|
577
|
+
cast_to=NoneType,
|
|
578
|
+
)
|
|
579
|
+
|
|
580
|
+
def revet(
|
|
581
|
+
self,
|
|
582
|
+
brand_id: str,
|
|
583
|
+
*,
|
|
584
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
585
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
586
|
+
extra_headers: Headers | None = None,
|
|
587
|
+
extra_query: Query | None = None,
|
|
588
|
+
extra_body: Body | None = None,
|
|
589
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
590
|
+
) -> object:
|
|
591
|
+
"""This operation allows you to revet the brand.
|
|
592
|
+
|
|
593
|
+
However, revetting is allowed once
|
|
594
|
+
after the successful brand registration and thereafter limited to once every 3
|
|
595
|
+
months.
|
|
596
|
+
|
|
597
|
+
Args:
|
|
598
|
+
extra_headers: Send extra headers
|
|
599
|
+
|
|
600
|
+
extra_query: Add additional query parameters to the request
|
|
601
|
+
|
|
602
|
+
extra_body: Add additional JSON properties to the request
|
|
603
|
+
|
|
604
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
605
|
+
"""
|
|
606
|
+
if not brand_id:
|
|
607
|
+
raise ValueError(f"Expected a non-empty value for `brand_id` but received {brand_id!r}")
|
|
608
|
+
return self._put(
|
|
609
|
+
f"/brand/{brand_id}/revet",
|
|
610
|
+
options=make_request_options(
|
|
611
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
612
|
+
),
|
|
613
|
+
cast_to=object,
|
|
614
|
+
)
|
|
615
|
+
|
|
616
|
+
|
|
617
|
+
class AsyncBrandResource(AsyncAPIResource):
|
|
618
|
+
@cached_property
|
|
619
|
+
def external_vetting(self) -> AsyncExternalVettingResource:
|
|
620
|
+
return AsyncExternalVettingResource(self._client)
|
|
621
|
+
|
|
622
|
+
@cached_property
|
|
623
|
+
def with_raw_response(self) -> AsyncBrandResourceWithRawResponse:
|
|
624
|
+
"""
|
|
625
|
+
This property can be used as a prefix for any HTTP method call to return
|
|
626
|
+
the raw response object instead of the parsed content.
|
|
627
|
+
|
|
628
|
+
For more information, see https://www.github.com/team-telnyx/telnyx-python#accessing-raw-response-data-eg-headers
|
|
629
|
+
"""
|
|
630
|
+
return AsyncBrandResourceWithRawResponse(self)
|
|
631
|
+
|
|
632
|
+
@cached_property
|
|
633
|
+
def with_streaming_response(self) -> AsyncBrandResourceWithStreamingResponse:
|
|
634
|
+
"""
|
|
635
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
636
|
+
|
|
637
|
+
For more information, see https://www.github.com/team-telnyx/telnyx-python#with_streaming_response
|
|
638
|
+
"""
|
|
639
|
+
return AsyncBrandResourceWithStreamingResponse(self)
|
|
640
|
+
|
|
641
|
+
async def create(
|
|
642
|
+
self,
|
|
643
|
+
*,
|
|
644
|
+
country: str,
|
|
645
|
+
display_name: str,
|
|
646
|
+
email: str,
|
|
647
|
+
entity_type: EntityType,
|
|
648
|
+
vertical: Vertical,
|
|
649
|
+
business_contact_email: str | NotGiven = NOT_GIVEN,
|
|
650
|
+
city: str | NotGiven = NOT_GIVEN,
|
|
651
|
+
company_name: str | NotGiven = NOT_GIVEN,
|
|
652
|
+
ein: str | NotGiven = NOT_GIVEN,
|
|
653
|
+
first_name: str | NotGiven = NOT_GIVEN,
|
|
654
|
+
ip_address: str | NotGiven = NOT_GIVEN,
|
|
655
|
+
is_reseller: bool | NotGiven = NOT_GIVEN,
|
|
656
|
+
last_name: str | NotGiven = NOT_GIVEN,
|
|
657
|
+
mobile_phone: str | NotGiven = NOT_GIVEN,
|
|
658
|
+
mock: bool | NotGiven = NOT_GIVEN,
|
|
659
|
+
phone: str | NotGiven = NOT_GIVEN,
|
|
660
|
+
postal_code: str | NotGiven = NOT_GIVEN,
|
|
661
|
+
state: str | NotGiven = NOT_GIVEN,
|
|
662
|
+
stock_exchange: StockExchange | NotGiven = NOT_GIVEN,
|
|
663
|
+
stock_symbol: str | NotGiven = NOT_GIVEN,
|
|
664
|
+
street: str | NotGiven = NOT_GIVEN,
|
|
665
|
+
webhook_failover_url: str | NotGiven = NOT_GIVEN,
|
|
666
|
+
webhook_url: str | NotGiven = NOT_GIVEN,
|
|
667
|
+
website: str | NotGiven = NOT_GIVEN,
|
|
668
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
669
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
670
|
+
extra_headers: Headers | None = None,
|
|
671
|
+
extra_query: Query | None = None,
|
|
672
|
+
extra_body: Body | None = None,
|
|
673
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
674
|
+
) -> TelnyxBrand:
|
|
675
|
+
"""This endpoint is used to create a new brand.
|
|
676
|
+
|
|
677
|
+
A brand is an entity created by The
|
|
678
|
+
Campaign Registry (TCR) that represents an organization or a company. It is this
|
|
679
|
+
entity that TCR created campaigns will be associated with. Each brand creation
|
|
680
|
+
will entail an upfront, non-refundable $4 expense.
|
|
681
|
+
|
|
682
|
+
Args:
|
|
683
|
+
country: ISO2 2 characters country code. Example: US - United States
|
|
684
|
+
|
|
685
|
+
display_name: Display name, marketing name, or DBA name of the brand.
|
|
686
|
+
|
|
687
|
+
email: Valid email address of brand support contact.
|
|
688
|
+
|
|
689
|
+
entity_type: Entity type behind the brand. This is the form of business establishment.
|
|
690
|
+
|
|
691
|
+
vertical: Vertical or industry segment of the brand or campaign.
|
|
692
|
+
|
|
693
|
+
business_contact_email: Business contact email.
|
|
694
|
+
|
|
695
|
+
Required if `entityType` is `PUBLIC_PROFIT`.
|
|
696
|
+
|
|
697
|
+
city: City name
|
|
698
|
+
|
|
699
|
+
company_name: (Required for Non-profit/private/public) Legal company name.
|
|
700
|
+
|
|
701
|
+
ein: (Required for Non-profit) Government assigned corporate tax ID. EIN is 9-digits
|
|
702
|
+
in U.S.
|
|
703
|
+
|
|
704
|
+
first_name: First name of business contact.
|
|
705
|
+
|
|
706
|
+
ip_address: IP address of the browser requesting to create brand identity.
|
|
707
|
+
|
|
708
|
+
last_name: Last name of business contact.
|
|
709
|
+
|
|
710
|
+
mobile_phone: Valid mobile phone number in e.164 international format.
|
|
711
|
+
|
|
712
|
+
mock: Mock brand for testing purposes. Defaults to false.
|
|
713
|
+
|
|
714
|
+
phone: Valid phone number in e.164 international format.
|
|
715
|
+
|
|
716
|
+
postal_code: Postal codes. Use 5 digit zipcode for United States
|
|
717
|
+
|
|
718
|
+
state: State. Must be 2 letters code for United States.
|
|
719
|
+
|
|
720
|
+
stock_exchange: (Required for public company) stock exchange.
|
|
721
|
+
|
|
722
|
+
stock_symbol: (Required for public company) stock symbol.
|
|
723
|
+
|
|
724
|
+
street: Street number and name.
|
|
725
|
+
|
|
726
|
+
webhook_failover_url: Webhook failover URL for brand status updates.
|
|
727
|
+
|
|
728
|
+
webhook_url: Webhook URL for brand status updates.
|
|
729
|
+
|
|
730
|
+
website: Brand website URL.
|
|
731
|
+
|
|
732
|
+
extra_headers: Send extra headers
|
|
733
|
+
|
|
734
|
+
extra_query: Add additional query parameters to the request
|
|
735
|
+
|
|
736
|
+
extra_body: Add additional JSON properties to the request
|
|
737
|
+
|
|
738
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
739
|
+
"""
|
|
740
|
+
return await self._post(
|
|
741
|
+
"/brand",
|
|
742
|
+
body=await async_maybe_transform(
|
|
743
|
+
{
|
|
744
|
+
"country": country,
|
|
745
|
+
"display_name": display_name,
|
|
746
|
+
"email": email,
|
|
747
|
+
"entity_type": entity_type,
|
|
748
|
+
"vertical": vertical,
|
|
749
|
+
"business_contact_email": business_contact_email,
|
|
750
|
+
"city": city,
|
|
751
|
+
"company_name": company_name,
|
|
752
|
+
"ein": ein,
|
|
753
|
+
"first_name": first_name,
|
|
754
|
+
"ip_address": ip_address,
|
|
755
|
+
"is_reseller": is_reseller,
|
|
756
|
+
"last_name": last_name,
|
|
757
|
+
"mobile_phone": mobile_phone,
|
|
758
|
+
"mock": mock,
|
|
759
|
+
"phone": phone,
|
|
760
|
+
"postal_code": postal_code,
|
|
761
|
+
"state": state,
|
|
762
|
+
"stock_exchange": stock_exchange,
|
|
763
|
+
"stock_symbol": stock_symbol,
|
|
764
|
+
"street": street,
|
|
765
|
+
"webhook_failover_url": webhook_failover_url,
|
|
766
|
+
"webhook_url": webhook_url,
|
|
767
|
+
"website": website,
|
|
768
|
+
},
|
|
769
|
+
brand_create_params.BrandCreateParams,
|
|
770
|
+
),
|
|
771
|
+
options=make_request_options(
|
|
772
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
773
|
+
),
|
|
774
|
+
cast_to=TelnyxBrand,
|
|
775
|
+
)
|
|
776
|
+
|
|
777
|
+
async def retrieve(
|
|
778
|
+
self,
|
|
779
|
+
brand_id: str,
|
|
780
|
+
*,
|
|
781
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
782
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
783
|
+
extra_headers: Headers | None = None,
|
|
784
|
+
extra_query: Query | None = None,
|
|
785
|
+
extra_body: Body | None = None,
|
|
786
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
787
|
+
) -> BrandRetrieveResponse:
|
|
788
|
+
"""
|
|
789
|
+
Retrieve a brand by `brandId`.
|
|
790
|
+
|
|
791
|
+
Args:
|
|
792
|
+
extra_headers: Send extra headers
|
|
793
|
+
|
|
794
|
+
extra_query: Add additional query parameters to the request
|
|
795
|
+
|
|
796
|
+
extra_body: Add additional JSON properties to the request
|
|
797
|
+
|
|
798
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
799
|
+
"""
|
|
800
|
+
if not brand_id:
|
|
801
|
+
raise ValueError(f"Expected a non-empty value for `brand_id` but received {brand_id!r}")
|
|
802
|
+
return await self._get(
|
|
803
|
+
f"/brand/{brand_id}",
|
|
804
|
+
options=make_request_options(
|
|
805
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
806
|
+
),
|
|
807
|
+
cast_to=BrandRetrieveResponse,
|
|
808
|
+
)
|
|
809
|
+
|
|
810
|
+
async def update(
|
|
811
|
+
self,
|
|
812
|
+
brand_id: str,
|
|
813
|
+
*,
|
|
814
|
+
country: str,
|
|
815
|
+
display_name: str,
|
|
816
|
+
email: str,
|
|
817
|
+
entity_type: EntityType,
|
|
818
|
+
vertical: Vertical,
|
|
819
|
+
alt_business_id: str | NotGiven = NOT_GIVEN,
|
|
820
|
+
alt_business_id_type: AltBusinessIDType | NotGiven = NOT_GIVEN,
|
|
821
|
+
business_contact_email: str | NotGiven = NOT_GIVEN,
|
|
822
|
+
city: str | NotGiven = NOT_GIVEN,
|
|
823
|
+
company_name: str | NotGiven = NOT_GIVEN,
|
|
824
|
+
ein: str | NotGiven = NOT_GIVEN,
|
|
825
|
+
first_name: str | NotGiven = NOT_GIVEN,
|
|
826
|
+
identity_status: BrandIdentityStatus | NotGiven = NOT_GIVEN,
|
|
827
|
+
ip_address: str | NotGiven = NOT_GIVEN,
|
|
828
|
+
is_reseller: bool | NotGiven = NOT_GIVEN,
|
|
829
|
+
last_name: str | NotGiven = NOT_GIVEN,
|
|
830
|
+
phone: str | NotGiven = NOT_GIVEN,
|
|
831
|
+
postal_code: str | NotGiven = NOT_GIVEN,
|
|
832
|
+
state: str | NotGiven = NOT_GIVEN,
|
|
833
|
+
stock_exchange: StockExchange | NotGiven = NOT_GIVEN,
|
|
834
|
+
stock_symbol: str | NotGiven = NOT_GIVEN,
|
|
835
|
+
street: str | NotGiven = NOT_GIVEN,
|
|
836
|
+
webhook_failover_url: str | NotGiven = NOT_GIVEN,
|
|
837
|
+
webhook_url: str | NotGiven = NOT_GIVEN,
|
|
838
|
+
website: str | NotGiven = NOT_GIVEN,
|
|
839
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
840
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
841
|
+
extra_headers: Headers | None = None,
|
|
842
|
+
extra_query: Query | None = None,
|
|
843
|
+
extra_body: Body | None = None,
|
|
844
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
845
|
+
) -> TelnyxBrand:
|
|
846
|
+
"""
|
|
847
|
+
Update a brand's attributes by `brandId`.
|
|
848
|
+
|
|
849
|
+
Args:
|
|
850
|
+
country: ISO2 2 characters country code. Example: US - United States
|
|
851
|
+
|
|
852
|
+
display_name: Display or marketing name of the brand.
|
|
853
|
+
|
|
854
|
+
email: Valid email address of brand support contact.
|
|
855
|
+
|
|
856
|
+
entity_type: Entity type behind the brand. This is the form of business establishment.
|
|
857
|
+
|
|
858
|
+
vertical: Vertical or industry segment of the brand or campaign.
|
|
859
|
+
|
|
860
|
+
alt_business_id: Alternate business identifier such as DUNS, LEI, or GIIN
|
|
861
|
+
|
|
862
|
+
alt_business_id_type: An enumeration.
|
|
863
|
+
|
|
864
|
+
business_contact_email: Business contact email.
|
|
865
|
+
|
|
866
|
+
Required if `entityType` will be changed to `PUBLIC_PROFIT`.
|
|
867
|
+
|
|
868
|
+
city: City name
|
|
869
|
+
|
|
870
|
+
company_name: (Required for Non-profit/private/public) Legal company name.
|
|
871
|
+
|
|
872
|
+
ein: (Required for Non-profit) Government assigned corporate tax ID. EIN is 9-digits
|
|
873
|
+
in U.S.
|
|
874
|
+
|
|
875
|
+
first_name: First name of business contact.
|
|
876
|
+
|
|
877
|
+
identity_status: The verification status of an active brand
|
|
878
|
+
|
|
879
|
+
ip_address: IP address of the browser requesting to create brand identity.
|
|
880
|
+
|
|
881
|
+
last_name: Last name of business contact.
|
|
882
|
+
|
|
883
|
+
phone: Valid phone number in e.164 international format.
|
|
884
|
+
|
|
885
|
+
postal_code: Postal codes. Use 5 digit zipcode for United States
|
|
886
|
+
|
|
887
|
+
state: State. Must be 2 letters code for United States.
|
|
888
|
+
|
|
889
|
+
stock_exchange: (Required for public company) stock exchange.
|
|
890
|
+
|
|
891
|
+
stock_symbol: (Required for public company) stock symbol.
|
|
892
|
+
|
|
893
|
+
street: Street number and name.
|
|
894
|
+
|
|
895
|
+
webhook_failover_url: Webhook failover URL for brand status updates.
|
|
896
|
+
|
|
897
|
+
webhook_url: Webhook URL for brand status updates.
|
|
898
|
+
|
|
899
|
+
website: Brand website URL.
|
|
900
|
+
|
|
901
|
+
extra_headers: Send extra headers
|
|
902
|
+
|
|
903
|
+
extra_query: Add additional query parameters to the request
|
|
904
|
+
|
|
905
|
+
extra_body: Add additional JSON properties to the request
|
|
906
|
+
|
|
907
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
908
|
+
"""
|
|
909
|
+
if not brand_id:
|
|
910
|
+
raise ValueError(f"Expected a non-empty value for `brand_id` but received {brand_id!r}")
|
|
911
|
+
return await self._put(
|
|
912
|
+
f"/brand/{brand_id}",
|
|
913
|
+
body=await async_maybe_transform(
|
|
914
|
+
{
|
|
915
|
+
"country": country,
|
|
916
|
+
"display_name": display_name,
|
|
917
|
+
"email": email,
|
|
918
|
+
"entity_type": entity_type,
|
|
919
|
+
"vertical": vertical,
|
|
920
|
+
"alt_business_id": alt_business_id,
|
|
921
|
+
"alt_business_id_type": alt_business_id_type,
|
|
922
|
+
"business_contact_email": business_contact_email,
|
|
923
|
+
"city": city,
|
|
924
|
+
"company_name": company_name,
|
|
925
|
+
"ein": ein,
|
|
926
|
+
"first_name": first_name,
|
|
927
|
+
"identity_status": identity_status,
|
|
928
|
+
"ip_address": ip_address,
|
|
929
|
+
"is_reseller": is_reseller,
|
|
930
|
+
"last_name": last_name,
|
|
931
|
+
"phone": phone,
|
|
932
|
+
"postal_code": postal_code,
|
|
933
|
+
"state": state,
|
|
934
|
+
"stock_exchange": stock_exchange,
|
|
935
|
+
"stock_symbol": stock_symbol,
|
|
936
|
+
"street": street,
|
|
937
|
+
"webhook_failover_url": webhook_failover_url,
|
|
938
|
+
"webhook_url": webhook_url,
|
|
939
|
+
"website": website,
|
|
940
|
+
},
|
|
941
|
+
brand_update_params.BrandUpdateParams,
|
|
942
|
+
),
|
|
943
|
+
options=make_request_options(
|
|
944
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
945
|
+
),
|
|
946
|
+
cast_to=TelnyxBrand,
|
|
947
|
+
)
|
|
948
|
+
|
|
949
|
+
async def list(
|
|
950
|
+
self,
|
|
951
|
+
*,
|
|
952
|
+
brand_id: str | NotGiven = NOT_GIVEN,
|
|
953
|
+
country: str | NotGiven = NOT_GIVEN,
|
|
954
|
+
display_name: str | NotGiven = NOT_GIVEN,
|
|
955
|
+
entity_type: str | NotGiven = NOT_GIVEN,
|
|
956
|
+
page: int | NotGiven = NOT_GIVEN,
|
|
957
|
+
records_per_page: int | NotGiven = NOT_GIVEN,
|
|
958
|
+
sort: Literal[
|
|
959
|
+
"assignedCampaignsCount",
|
|
960
|
+
"-assignedCampaignsCount",
|
|
961
|
+
"brandId",
|
|
962
|
+
"-brandId",
|
|
963
|
+
"createdAt",
|
|
964
|
+
"-createdAt",
|
|
965
|
+
"displayName",
|
|
966
|
+
"-displayName",
|
|
967
|
+
"identityStatus",
|
|
968
|
+
"-identityStatus",
|
|
969
|
+
"status",
|
|
970
|
+
"-status",
|
|
971
|
+
"tcrBrandId",
|
|
972
|
+
"-tcrBrandId",
|
|
973
|
+
]
|
|
974
|
+
| NotGiven = NOT_GIVEN,
|
|
975
|
+
state: str | NotGiven = NOT_GIVEN,
|
|
976
|
+
tcr_brand_id: str | NotGiven = NOT_GIVEN,
|
|
977
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
978
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
979
|
+
extra_headers: Headers | None = None,
|
|
980
|
+
extra_query: Query | None = None,
|
|
981
|
+
extra_body: Body | None = None,
|
|
982
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
983
|
+
) -> BrandListResponse:
|
|
984
|
+
"""
|
|
985
|
+
This endpoint is used to list all brands associated with your organization.
|
|
986
|
+
|
|
987
|
+
Args:
|
|
988
|
+
brand_id: Filter results by the Telnyx Brand id
|
|
989
|
+
|
|
990
|
+
records_per_page: number of records per page. maximum of 500
|
|
991
|
+
|
|
992
|
+
sort: Specifies the sort order for results. If not given, results are sorted by
|
|
993
|
+
createdAt in descending order.
|
|
994
|
+
|
|
995
|
+
tcr_brand_id: Filter results by the TCR Brand id
|
|
996
|
+
|
|
997
|
+
extra_headers: Send extra headers
|
|
998
|
+
|
|
999
|
+
extra_query: Add additional query parameters to the request
|
|
1000
|
+
|
|
1001
|
+
extra_body: Add additional JSON properties to the request
|
|
1002
|
+
|
|
1003
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
1004
|
+
"""
|
|
1005
|
+
return await self._get(
|
|
1006
|
+
"/brand",
|
|
1007
|
+
options=make_request_options(
|
|
1008
|
+
extra_headers=extra_headers,
|
|
1009
|
+
extra_query=extra_query,
|
|
1010
|
+
extra_body=extra_body,
|
|
1011
|
+
timeout=timeout,
|
|
1012
|
+
query=await async_maybe_transform(
|
|
1013
|
+
{
|
|
1014
|
+
"brand_id": brand_id,
|
|
1015
|
+
"country": country,
|
|
1016
|
+
"display_name": display_name,
|
|
1017
|
+
"entity_type": entity_type,
|
|
1018
|
+
"page": page,
|
|
1019
|
+
"records_per_page": records_per_page,
|
|
1020
|
+
"sort": sort,
|
|
1021
|
+
"state": state,
|
|
1022
|
+
"tcr_brand_id": tcr_brand_id,
|
|
1023
|
+
},
|
|
1024
|
+
brand_list_params.BrandListParams,
|
|
1025
|
+
),
|
|
1026
|
+
),
|
|
1027
|
+
cast_to=BrandListResponse,
|
|
1028
|
+
)
|
|
1029
|
+
|
|
1030
|
+
async def delete(
|
|
1031
|
+
self,
|
|
1032
|
+
brand_id: str,
|
|
1033
|
+
*,
|
|
1034
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
1035
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
1036
|
+
extra_headers: Headers | None = None,
|
|
1037
|
+
extra_query: Query | None = None,
|
|
1038
|
+
extra_body: Body | None = None,
|
|
1039
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
1040
|
+
) -> object:
|
|
1041
|
+
"""Delete Brand.
|
|
1042
|
+
|
|
1043
|
+
This endpoint is used to delete a brand. Note the brand cannot be
|
|
1044
|
+
deleted if it contains one or more active campaigns, the campaigns need to be
|
|
1045
|
+
inactive and at least 3 months old due to billing purposes.
|
|
1046
|
+
|
|
1047
|
+
Args:
|
|
1048
|
+
extra_headers: Send extra headers
|
|
1049
|
+
|
|
1050
|
+
extra_query: Add additional query parameters to the request
|
|
1051
|
+
|
|
1052
|
+
extra_body: Add additional JSON properties to the request
|
|
1053
|
+
|
|
1054
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
1055
|
+
"""
|
|
1056
|
+
if not brand_id:
|
|
1057
|
+
raise ValueError(f"Expected a non-empty value for `brand_id` but received {brand_id!r}")
|
|
1058
|
+
return await self._delete(
|
|
1059
|
+
f"/brand/{brand_id}",
|
|
1060
|
+
options=make_request_options(
|
|
1061
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
1062
|
+
),
|
|
1063
|
+
cast_to=object,
|
|
1064
|
+
)
|
|
1065
|
+
|
|
1066
|
+
async def get_feedback(
|
|
1067
|
+
self,
|
|
1068
|
+
brand_id: str,
|
|
1069
|
+
*,
|
|
1070
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
1071
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
1072
|
+
extra_headers: Headers | None = None,
|
|
1073
|
+
extra_query: Query | None = None,
|
|
1074
|
+
extra_body: Body | None = None,
|
|
1075
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
1076
|
+
) -> BrandGetFeedbackResponse:
|
|
1077
|
+
"""Get feedback about a brand by ID.
|
|
1078
|
+
|
|
1079
|
+
This endpoint can be used after creating or
|
|
1080
|
+
revetting a brand.
|
|
1081
|
+
|
|
1082
|
+
Possible values for `.category[].id`:
|
|
1083
|
+
|
|
1084
|
+
- `TAX_ID` - Data mismatch related to tax id and its associated properties.
|
|
1085
|
+
- `STOCK_SYMBOL` - Non public entity registered as a public for profit entity or
|
|
1086
|
+
the stock information mismatch.
|
|
1087
|
+
- `GOVERNMENT_ENTITY` - Non government entity registered as a government entity.
|
|
1088
|
+
Must be a U.S. government entity.
|
|
1089
|
+
- `NONPROFIT` - Not a recognized non-profit entity. No IRS tax-exempt status
|
|
1090
|
+
found.
|
|
1091
|
+
- `OTHERS` - Details of the data misrepresentation if any.
|
|
1092
|
+
|
|
1093
|
+
Args:
|
|
1094
|
+
extra_headers: Send extra headers
|
|
1095
|
+
|
|
1096
|
+
extra_query: Add additional query parameters to the request
|
|
1097
|
+
|
|
1098
|
+
extra_body: Add additional JSON properties to the request
|
|
1099
|
+
|
|
1100
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
1101
|
+
"""
|
|
1102
|
+
if not brand_id:
|
|
1103
|
+
raise ValueError(f"Expected a non-empty value for `brand_id` but received {brand_id!r}")
|
|
1104
|
+
return await self._get(
|
|
1105
|
+
f"/brand/feedback/{brand_id}",
|
|
1106
|
+
options=make_request_options(
|
|
1107
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
1108
|
+
),
|
|
1109
|
+
cast_to=BrandGetFeedbackResponse,
|
|
1110
|
+
)
|
|
1111
|
+
|
|
1112
|
+
async def resend_2fa_email(
|
|
1113
|
+
self,
|
|
1114
|
+
brand_id: str,
|
|
1115
|
+
*,
|
|
1116
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
1117
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
1118
|
+
extra_headers: Headers | None = None,
|
|
1119
|
+
extra_query: Query | None = None,
|
|
1120
|
+
extra_body: Body | None = None,
|
|
1121
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
1122
|
+
) -> None:
|
|
1123
|
+
"""
|
|
1124
|
+
Resend brand 2FA email
|
|
1125
|
+
|
|
1126
|
+
Args:
|
|
1127
|
+
extra_headers: Send extra headers
|
|
1128
|
+
|
|
1129
|
+
extra_query: Add additional query parameters to the request
|
|
1130
|
+
|
|
1131
|
+
extra_body: Add additional JSON properties to the request
|
|
1132
|
+
|
|
1133
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
1134
|
+
"""
|
|
1135
|
+
if not brand_id:
|
|
1136
|
+
raise ValueError(f"Expected a non-empty value for `brand_id` but received {brand_id!r}")
|
|
1137
|
+
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
|
1138
|
+
return await self._post(
|
|
1139
|
+
f"/brand/{brand_id}/2faEmail",
|
|
1140
|
+
options=make_request_options(
|
|
1141
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
1142
|
+
),
|
|
1143
|
+
cast_to=NoneType,
|
|
1144
|
+
)
|
|
1145
|
+
|
|
1146
|
+
async def revet(
|
|
1147
|
+
self,
|
|
1148
|
+
brand_id: str,
|
|
1149
|
+
*,
|
|
1150
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
1151
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
1152
|
+
extra_headers: Headers | None = None,
|
|
1153
|
+
extra_query: Query | None = None,
|
|
1154
|
+
extra_body: Body | None = None,
|
|
1155
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
1156
|
+
) -> object:
|
|
1157
|
+
"""This operation allows you to revet the brand.
|
|
1158
|
+
|
|
1159
|
+
However, revetting is allowed once
|
|
1160
|
+
after the successful brand registration and thereafter limited to once every 3
|
|
1161
|
+
months.
|
|
1162
|
+
|
|
1163
|
+
Args:
|
|
1164
|
+
extra_headers: Send extra headers
|
|
1165
|
+
|
|
1166
|
+
extra_query: Add additional query parameters to the request
|
|
1167
|
+
|
|
1168
|
+
extra_body: Add additional JSON properties to the request
|
|
1169
|
+
|
|
1170
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
1171
|
+
"""
|
|
1172
|
+
if not brand_id:
|
|
1173
|
+
raise ValueError(f"Expected a non-empty value for `brand_id` but received {brand_id!r}")
|
|
1174
|
+
return await self._put(
|
|
1175
|
+
f"/brand/{brand_id}/revet",
|
|
1176
|
+
options=make_request_options(
|
|
1177
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
1178
|
+
),
|
|
1179
|
+
cast_to=object,
|
|
1180
|
+
)
|
|
1181
|
+
|
|
1182
|
+
|
|
1183
|
+
class BrandResourceWithRawResponse:
|
|
1184
|
+
def __init__(self, brand: BrandResource) -> None:
|
|
1185
|
+
self._brand = brand
|
|
1186
|
+
|
|
1187
|
+
self.create = to_raw_response_wrapper(
|
|
1188
|
+
brand.create,
|
|
1189
|
+
)
|
|
1190
|
+
self.retrieve = to_raw_response_wrapper(
|
|
1191
|
+
brand.retrieve,
|
|
1192
|
+
)
|
|
1193
|
+
self.update = to_raw_response_wrapper(
|
|
1194
|
+
brand.update,
|
|
1195
|
+
)
|
|
1196
|
+
self.list = to_raw_response_wrapper(
|
|
1197
|
+
brand.list,
|
|
1198
|
+
)
|
|
1199
|
+
self.delete = to_raw_response_wrapper(
|
|
1200
|
+
brand.delete,
|
|
1201
|
+
)
|
|
1202
|
+
self.get_feedback = to_raw_response_wrapper(
|
|
1203
|
+
brand.get_feedback,
|
|
1204
|
+
)
|
|
1205
|
+
self.resend_2fa_email = to_raw_response_wrapper(
|
|
1206
|
+
brand.resend_2fa_email,
|
|
1207
|
+
)
|
|
1208
|
+
self.revet = to_raw_response_wrapper(
|
|
1209
|
+
brand.revet,
|
|
1210
|
+
)
|
|
1211
|
+
|
|
1212
|
+
@cached_property
|
|
1213
|
+
def external_vetting(self) -> ExternalVettingResourceWithRawResponse:
|
|
1214
|
+
return ExternalVettingResourceWithRawResponse(self._brand.external_vetting)
|
|
1215
|
+
|
|
1216
|
+
|
|
1217
|
+
class AsyncBrandResourceWithRawResponse:
|
|
1218
|
+
def __init__(self, brand: AsyncBrandResource) -> None:
|
|
1219
|
+
self._brand = brand
|
|
1220
|
+
|
|
1221
|
+
self.create = async_to_raw_response_wrapper(
|
|
1222
|
+
brand.create,
|
|
1223
|
+
)
|
|
1224
|
+
self.retrieve = async_to_raw_response_wrapper(
|
|
1225
|
+
brand.retrieve,
|
|
1226
|
+
)
|
|
1227
|
+
self.update = async_to_raw_response_wrapper(
|
|
1228
|
+
brand.update,
|
|
1229
|
+
)
|
|
1230
|
+
self.list = async_to_raw_response_wrapper(
|
|
1231
|
+
brand.list,
|
|
1232
|
+
)
|
|
1233
|
+
self.delete = async_to_raw_response_wrapper(
|
|
1234
|
+
brand.delete,
|
|
1235
|
+
)
|
|
1236
|
+
self.get_feedback = async_to_raw_response_wrapper(
|
|
1237
|
+
brand.get_feedback,
|
|
1238
|
+
)
|
|
1239
|
+
self.resend_2fa_email = async_to_raw_response_wrapper(
|
|
1240
|
+
brand.resend_2fa_email,
|
|
1241
|
+
)
|
|
1242
|
+
self.revet = async_to_raw_response_wrapper(
|
|
1243
|
+
brand.revet,
|
|
1244
|
+
)
|
|
1245
|
+
|
|
1246
|
+
@cached_property
|
|
1247
|
+
def external_vetting(self) -> AsyncExternalVettingResourceWithRawResponse:
|
|
1248
|
+
return AsyncExternalVettingResourceWithRawResponse(self._brand.external_vetting)
|
|
1249
|
+
|
|
1250
|
+
|
|
1251
|
+
class BrandResourceWithStreamingResponse:
|
|
1252
|
+
def __init__(self, brand: BrandResource) -> None:
|
|
1253
|
+
self._brand = brand
|
|
1254
|
+
|
|
1255
|
+
self.create = to_streamed_response_wrapper(
|
|
1256
|
+
brand.create,
|
|
1257
|
+
)
|
|
1258
|
+
self.retrieve = to_streamed_response_wrapper(
|
|
1259
|
+
brand.retrieve,
|
|
1260
|
+
)
|
|
1261
|
+
self.update = to_streamed_response_wrapper(
|
|
1262
|
+
brand.update,
|
|
1263
|
+
)
|
|
1264
|
+
self.list = to_streamed_response_wrapper(
|
|
1265
|
+
brand.list,
|
|
1266
|
+
)
|
|
1267
|
+
self.delete = to_streamed_response_wrapper(
|
|
1268
|
+
brand.delete,
|
|
1269
|
+
)
|
|
1270
|
+
self.get_feedback = to_streamed_response_wrapper(
|
|
1271
|
+
brand.get_feedback,
|
|
1272
|
+
)
|
|
1273
|
+
self.resend_2fa_email = to_streamed_response_wrapper(
|
|
1274
|
+
brand.resend_2fa_email,
|
|
1275
|
+
)
|
|
1276
|
+
self.revet = to_streamed_response_wrapper(
|
|
1277
|
+
brand.revet,
|
|
1278
|
+
)
|
|
1279
|
+
|
|
1280
|
+
@cached_property
|
|
1281
|
+
def external_vetting(self) -> ExternalVettingResourceWithStreamingResponse:
|
|
1282
|
+
return ExternalVettingResourceWithStreamingResponse(self._brand.external_vetting)
|
|
1283
|
+
|
|
1284
|
+
|
|
1285
|
+
class AsyncBrandResourceWithStreamingResponse:
|
|
1286
|
+
def __init__(self, brand: AsyncBrandResource) -> None:
|
|
1287
|
+
self._brand = brand
|
|
1288
|
+
|
|
1289
|
+
self.create = async_to_streamed_response_wrapper(
|
|
1290
|
+
brand.create,
|
|
1291
|
+
)
|
|
1292
|
+
self.retrieve = async_to_streamed_response_wrapper(
|
|
1293
|
+
brand.retrieve,
|
|
1294
|
+
)
|
|
1295
|
+
self.update = async_to_streamed_response_wrapper(
|
|
1296
|
+
brand.update,
|
|
1297
|
+
)
|
|
1298
|
+
self.list = async_to_streamed_response_wrapper(
|
|
1299
|
+
brand.list,
|
|
1300
|
+
)
|
|
1301
|
+
self.delete = async_to_streamed_response_wrapper(
|
|
1302
|
+
brand.delete,
|
|
1303
|
+
)
|
|
1304
|
+
self.get_feedback = async_to_streamed_response_wrapper(
|
|
1305
|
+
brand.get_feedback,
|
|
1306
|
+
)
|
|
1307
|
+
self.resend_2fa_email = async_to_streamed_response_wrapper(
|
|
1308
|
+
brand.resend_2fa_email,
|
|
1309
|
+
)
|
|
1310
|
+
self.revet = async_to_streamed_response_wrapper(
|
|
1311
|
+
brand.revet,
|
|
1312
|
+
)
|
|
1313
|
+
|
|
1314
|
+
@cached_property
|
|
1315
|
+
def external_vetting(self) -> AsyncExternalVettingResourceWithStreamingResponse:
|
|
1316
|
+
return AsyncExternalVettingResourceWithStreamingResponse(self._brand.external_vetting)
|