├── src └── telnyx │ ├── py.typed │ ├── types │ ├── legacy │ │ ├── __init__.py │ │ └── reporting │ │ │ ├── usage_report_retrieve_speech_to_text_response.py │ │ │ └── usage_reports │ │ │ ├── voice_list_params.py │ │ │ └── messaging_list_params.py │ ├── messaging_tollfree │ │ ├── __init__.py │ │ └── verification │ │ │ ├── url.py │ │ │ ├── url_param.py │ │ │ ├── volume.py │ │ │ ├── tf_phone_number.py │ │ │ ├── tf_verification_status.py │ │ │ └── toll_free_verification_entity_type.py │ ├── texml │ │ ├── accounts │ │ │ ├── recordings │ │ │ │ └── __init__.py │ │ │ └── transcriptions │ │ │ │ └── __init__.py │ │ ├── texml_recording_subresources_uris.py │ │ └── call_update_response.py │ ├── ai │ │ ├── conversations │ │ │ ├── insight_groups │ │ │ │ └── __init__.py │ │ │ ├── insight_template_detail.py │ │ │ ├── insight_template_group_detail.py │ │ │ └── insight_group_update_params.py │ │ ├── assistant_get_texml_response.py │ │ ├── enabled_features.py │ │ ├── assistants │ │ │ ├── event_status.py │ │ │ ├── conversation_channel_type.py │ │ │ ├── tests │ │ │ │ ├── test_status.py │ │ │ │ └── test_suites │ │ │ │ │ ├── meta.py │ │ │ │ │ └── run_trigger_response.py │ │ │ ├── telnyx_conversation_channel.py │ │ │ └── version_retrieve_params.py │ │ ├── chat_create_completion_response.py │ │ ├── background_task_status.py │ │ ├── embeddings │ │ │ ├── __init__.py │ │ │ └── bucket_list_response.py │ │ ├── integrations │ │ │ └── __init__.py │ │ ├── assistant_send_sms_response.py │ │ ├── cluster_compute_response.py │ │ ├── cluster_fetch_graph_params.py │ │ ├── fine_tuning │ │ │ ├── __init__.py │ │ │ └── job_list_response.py │ │ ├── assistant_chat_response.py │ │ ├── assistants_list.py │ │ ├── conversation_list_response.py │ │ ├── hangup_tool.py │ │ ├── conversation_update_response.py │ │ ├── conversation_retrieve_response.py │ │ ├── hangup_tool_params.py │ │ ├── hangup_tool_params_param.py │ │ ├── retrieval_tool.py │ │ └── conversation_update_params.py │ ├── shared_params │ │ ├── __init__.py │ │ └── sim_card_status.py │ ├── recordings │ │ └── __init__.py │ ├── service_plan.py │ ├── storage │ │ ├── migrations │ │ │ ├── __init__.py │ │ │ └── action_stop_response.py │ │ ├── migration_create_response.py │ │ ├── migration_retrieve_response.py │ │ ├── buckets │ │ │ ├── ssl_certificate_create_response.py │ │ │ ├── ssl_certificate_delete_response.py │ │ │ └── ssl_certificate_retrieve_response.py │ │ ├── migration_source_create_response.py │ │ ├── migration_source_delete_response.py │ │ └── migration_source_retrieve_response.py │ ├── number_reservations │ │ ├── __init__.py │ │ └── action_extend_response.py │ ├── operator_connect │ │ └── __init__.py │ ├── traffic_type.py │ ├── dtmf_type.py │ ├── webhook_api_version.py │ ├── porting_order_type.py │ ├── usage_payment_method.py │ ├── campaign_builder │ │ └── __init__.py │ ├── transport_protocol.py │ ├── alt_business_id_type.py │ ├── cloudflare_sync_status.py │ ├── stream_bidirectional_mode.py │ ├── task_status.py │ ├── encrypted_media.py │ ├── entity_type.py │ ├── messaging_profiles │ │ ├── autoresp_config_delete_response.py │ │ └── auto_resp_config_response.py │ ├── stream_codec.py │ ├── conferences │ │ ├── conference_command_result.py │ │ ├── action_hold_response.py │ │ ├── action_join_response.py │ │ ├── action_leave_response.py │ │ ├── action_mute_response.py │ │ ├── action_play_response.py │ │ ├── action_speak_response.py │ │ ├── action_stop_response.py │ │ ├── action_unhold_response.py │ │ ├── action_unmute_response.py │ │ ├── action_update_response.py │ │ ├── action_record_stop_response.py │ │ ├── action_record_pause_response.py │ │ ├── action_record_start_response.py │ │ └── action_record_resume_response.py │ ├── interface_status.py │ ├── wireguard_peer_retrieve_config_response.py │ ├── telephony_credential_create_token_response.py │ ├── record_param.py │ ├── sub_number_orders_report_download_response.py │ ├── verified_numbers │ │ ├── __init__.py │ │ └── action_submit_verification_code_params.py │ ├── available_service.py │ ├── campaign │ │ ├── osr_get_attributes_response.py │ │ ├── usecase_get_cost_params.py │ │ └── __init__.py │ ├── campaign_accept_sharing_response.py │ ├── stream_bidirectional_target_legs.py │ ├── brand_identity_status.py │ ├── credential_connections │ │ └── __init__.py │ ├── faxes │ │ ├── __init__.py │ │ ├── action_cancel_response.py │ │ └── action_refresh_response.py │ ├── stream_bidirectional_codec.py │ ├── enum_retrieve_response.py │ ├── stream_bidirectional_sampling_rate.py │ ├── calls │ │ ├── loopcount_param.py │ │ ├── call_control_command_result.py │ │ ├── action_bridge_response.py │ │ ├── action_gather_response.py │ │ ├── action_hangup_response.py │ │ ├── action_refer_response.py │ │ ├── action_reject_response.py │ │ ├── action_speak_response.py │ │ ├── action_enqueue_response.py │ │ ├── action_send_dtmf_response.py │ │ ├── action_transfer_response.py │ │ ├── aws_voice_settings_param.py │ │ ├── action_leave_queue_response.py │ │ ├── action_stop_gather_response.py │ │ ├── action_stop_siprec_response.py │ │ ├── action_send_sip_info_response.py │ │ ├── action_start_forking_response.py │ │ ├── action_start_siprec_response.py │ │ ├── action_stop_forking_response.py │ │ ├── action_stop_playback_response.py │ │ ├── action_pause_recording_response.py │ │ ├── action_start_playback_response.py │ │ ├── action_start_recording_response.py │ │ ├── action_start_streaming_response.py │ │ ├── action_stop_recording_response.py │ │ ├── action_stop_streaming_response.py │ │ ├── action_resume_recording_response.py │ │ ├── action_stop_ai_assistant_response.py │ │ ├── action_gather_using_audio_response.py │ │ └── action_gather_using_speak_response.py │ ├── campaign_get_operation_status_response.py │ ├── ai_summarize_response.py │ ├── ip_create_response.py │ ├── ip_delete_response.py │ ├── ip_update_response.py │ ├── oauth_grants_response.py │ ├── create_verification_response.py │ ├── fax_create_response.py │ ├── ip_retrieve_response.py │ ├── fax_retrieve_response.py │ ├── fqdn_create_response.py │ ├── fqdn_delete_response.py │ ├── fqdn_update_response.py │ ├── messages │ │ ├── __init__.py │ │ └── rc_generate_deeplink_response.py │ ├── porting_orders │ │ ├── comment_create_params.py │ │ └── action_activate_response.py │ ├── room_create_response.py │ ├── room_update_response.py │ ├── verification_retrieve_response.py │ ├── bundle_pricing │ │ ├── user_bundle_retrieve_response.py │ │ ├── user_bundle_deactivate_response.py │ │ ├── user_bundle_create_response.py │ │ └── user_bundle_list_resources_response.py │ ├── fqdn_retrieve_response.py │ ├── room_retrieve_response.py │ ├── messaging_hosted_number_orders │ │ └── __init__.py │ ├── rcs_agent_response.py │ ├── region_in.py │ ├── reserved_phone_number_param.py │ ├── verifications │ │ ├── by_phone_number │ │ │ └── __init__.py │ │ └── __init__.py │ ├── address_create_response.py │ ├── address_delete_response.py │ ├── custom_sip_header.py │ ├── phone_number_blocks │ │ ├── job_retrieve_response.py │ │ ├── job_delete_phone_number_block_response.py │ │ └── job_delete_phone_number_block_params.py │ ├── sim_card_delete_response.py │ ├── sim_card_update_response.py │ ├── address_retrieve_response.py │ ├── integration_secret_create_response.py │ ├── messaging │ │ ├── rcs │ │ │ └── __init__.py │ │ ├── rc_retrieve_capabilities_response.py │ │ └── rc_list_bulk_capabilities_response.py │ ├── sim_card_retrieve_response.py │ ├── verify_profile_data.py │ ├── external_connections │ │ ├── upload_retry_response.py │ │ ├── upload_retrieve_response.py │ │ ├── log_message_dismiss_response.py │ │ └── upload_refresh_status_response.py │ ├── media_update_response.py │ ├── media_upload_response.py │ ├── conference_create_response.py │ ├── requirement_group_list_response.py │ ├── media_retrieve_response.py │ ├── oauth_grant_delete_response.py │ ├── short_code_update_response.py │ ├── billing_group_create_params.py │ ├── billing_group_update_params.py │ ├── conference_retrieve_response.py │ ├── fax_list_response.py │ ├── oauth_client_create_response.py │ ├── oauth_client_update_response.py │ ├── oauth_grant_retrieve_response.py │ ├── porting │ │ ├── report_create_response.py │ │ ├── report_retrieve_response.py │ │ ├── loa_configuration_create_response.py │ │ └── loa_configuration_update_response.py │ ├── portout_retrieve_response.py │ ├── portouts │ │ ├── report_create_response.py │ │ ├── comment_create_params.py │ │ └── report_retrieve_response.py │ ├── rooms │ │ ├── session_retrieve_response.py │ │ ├── sessions │ │ │ ├── action_end_response.py │ │ │ ├── action_kick_response.py │ │ │ ├── action_mute_response.py │ │ │ └── action_unmute_response.py │ │ └── session_retrieve_params.py │ ├── short_code_retrieve_response.py │ ├── user_address_create_response.py │ ├── billing_group_create_response.py │ ├── billing_group_delete_response.py │ ├── billing_group_update_response.py │ ├── ip_connection_create_response.py │ ├── ip_connection_delete_response.py │ ├── ip_connection_update_response.py │ ├── oauth_client_retrieve_response.py │ ├── oauth_introspect_params.py │ ├── user_address_retrieve_response.py │ ├── billing_group_retrieve_response.py │ ├── document_delete_response.py │ ├── document_update_response.py │ ├── document_upload_response.py │ ├── invoice_retrieve_params.py │ ├── ip_connection_retrieve_response.py │ ├── managed_accounts │ │ ├── action_enable_response.py │ │ ├── __init__.py │ │ └── action_disable_response.py │ ├── phone_numbers │ │ ├── job_retrieve_response.py │ │ ├── job_delete_batch_response.py │ │ ├── job_update_batch_response.py │ │ ├── csv_download_create_response.py │ │ ├── csv_download_retrieve_response.py │ │ ├── voicemail_create_response.py │ │ ├── voicemail_update_response.py │ │ ├── voicemail_retrieve_response.py │ │ ├── job_delete_batch_params.py │ │ ├── voice_update_response.py │ │ └── voice_retrieve_response.py │ ├── sim_card_group_create_response.py │ ├── sim_card_group_delete_response.py │ ├── sim_card_group_update_response.py │ ├── sim_card_order_create_response.py │ ├── verified_number_data_wrapper.py │ ├── consumed_data.py │ ├── message_send_response.py │ ├── network_create_params.py │ ├── network_update_params.py │ ├── notification_profile_create_params.py │ ├── notification_profile_update_params.py │ ├── portout_update_status_response.py │ ├── sim_card_group_retrieve_response.py │ ├── sim_card_order_retrieve_response.py │ ├── access_ip_range_create_params.py │ ├── document_retrieve_response.py │ ├── fax_application_create_response.py │ ├── fax_application_delete_response.py │ ├── fax_application_update_response.py │ ├── fqdn_connection_create_response.py │ ├── fqdn_connection_delete_response.py │ ├── fqdn_connection_update_response.py │ ├── managed_account_create_response.py │ ├── managed_account_update_response.py │ ├── networks │ │ └── default_gateway_create_params.py │ ├── porting_order_create_response.py │ ├── sub_number_order_cancel_response.py │ ├── sub_number_order_update_response.py │ ├── access_ip_address_create_params.py │ ├── channel_zone_update_params.py │ ├── document_upload_json_response.py │ ├── fax_application_retrieve_response.py │ ├── fqdn_connection_retrieve_response.py │ ├── managed_account_retrieve_response.py │ ├── message_schedule_response.py │ ├── pagination_meta_cloudflare_ip_list_sync.py │ ├── phone_number_update_response.py │ ├── recording_delete_response.py │ ├── room_composition_create_response.py │ ├── sip_header.py │ ├── sub_number_order_retrieve_response.py │ ├── verified_number_create_response.py │ ├── verify_profile_message_template_response.py │ ├── campaign_deactivate_response.py │ ├── messaging_profile_create_response.py │ ├── messaging_profile_delete_response.py │ ├── messaging_profile_update_response.py │ ├── number_block_order_create_response.py │ ├── phone_number_retrieve_response.py │ ├── recording_retrieve_response.py │ ├── reports │ │ ├── mdr_usage_report_create_response.py │ │ ├── mdr_usage_report_delete_response.py │ │ ├── mdr_usage_report_retrieve_response.py │ │ └── mdr_usage_report_fetch_sync_response.py │ ├── room_composition_retrieve_response.py │ ├── room_retrieve_params.py │ ├── sim_card_group_retrieve_params.py │ ├── texml_application_create_response.py │ ├── texml_application_delete_response.py │ ├── texml_application_update_response.py │ ├── wireless │ │ ├── detail_records_report_create_response.py │ │ ├── detail_records_report_delete_response.py │ │ ├── detail_records_report_list_response.py │ │ └── detail_records_report_retrieve_response.py │ ├── messaging_profile_retrieve_response.py │ ├── mobile_phone_numbers │ │ └── __init__.py │ ├── number_reservation_create_response.py │ ├── room_participant_retrieve_response.py │ ├── texml_application_retrieve_response.py │ ├── wireless_blocklist_create_response.py │ ├── wireless_blocklist_delete_response.py │ ├── wireless_blocklist_update_response.py │ ├── external_connection_create_response.py │ ├── external_connection_delete_response.py │ ├── external_connection_update_response.py │ ├── message_send_group_mms_response.py │ ├── message_send_long_code_response.py │ ├── number_block_order_retrieve_response.py │ ├── number_reservation_retrieve_response.py │ ├── wireless_blocklist_retrieve_response.py │ ├── global_ip_assignment_create_response.py │ ├── global_ip_assignment_delete_response.py │ ├── global_ip_assignment_update_response.py │ ├── message_send_number_pool_response.py │ ├── message_send_short_code_response.py │ ├── message_template.py │ ├── external_connection_retrieve_response.py │ ├── global_ip_assignment_retrieve_response.py │ ├── notification_setting_create_response.py │ ├── notification_setting_delete_response.py │ ├── number_order_create_response.py │ ├── number_order_update_response.py │ ├── queues │ │ └── __init__.py │ ├── telephony_credential_create_response.py │ ├── telephony_credential_delete_response.py │ ├── telephony_credential_update_response.py │ ├── credential_connection_create_response.py │ ├── credential_connection_delete_response.py │ ├── credential_connection_update_response.py │ ├── inbound_channel_update_params.py │ ├── notification_setting_retrieve_response.py │ ├── number_order_retrieve_response.py │ ├── numbers_feature_create_params.py │ ├── outbound_voice_profile_create_response.py │ ├── outbound_voice_profile_delete_response.py │ ├── outbound_voice_profile_update_response.py │ ├── porting_order_retrieve_params.py │ ├── telephony_credential_retrieve_response.py │ ├── campaign_submit_appeal_response.py │ ├── credential_connection_retrieve_response.py │ ├── customer_service_record_create_response.py │ ├── outbound_voice_profile_retrieve_response.py │ ├── partner_campaign_retrieve_sharing_status_response.py │ ├── requirement_type_retrieve_response.py │ ├── verify_profile_create_template_params.py │ ├── verify_profile_update_template_params.py │ ├── authentication_provider_create_response.py │ ├── authentication_provider_delete_response.py │ └── authentication_provider_update_response.py │ ├── _version.py │ ├── lib │ └── .keep │ └── _utils │ └── _streams.py ├── .python-version ├── Brewfile ├── tests ├── sample_file.txt ├── __init__.py └── api_resources │ ├── __init__.py │ ├── ai │ ├── __init__.py │ ├── assistants │ │ ├── __init__.py │ │ └── tests │ │ │ ├── __init__.py │ │ │ └── test_suites │ │ │ └── __init__.py │ ├── conversations │ │ ├── __init__.py │ │ └── insight_groups │ │ │ └── __init__.py │ ├── embeddings │ │ └── __init__.py │ ├── fine_tuning │ │ └── __init__.py │ └── integrations │ │ └── __init__.py │ ├── brand │ └── __init__.py │ ├── calls │ └── __init__.py │ ├── faxes │ └── __init__.py │ ├── legacy │ ├── __init__.py │ └── reporting │ │ ├── __init__.py │ │ ├── usage_reports │ │ └── __init__.py │ │ └── batch_detail_records │ │ └── __init__.py │ ├── queues │ └── __init__.py │ ├── rooms │ ├── __init__.py │ └── sessions │ │ └── __init__.py │ ├── texml │ ├── __init__.py │ └── accounts │ │ ├── __init__.py │ │ ├── calls │ │ └── __init__.py │ │ ├── conferences │ │ └── __init__.py │ │ ├── recordings │ │ └── __init__.py │ │ └── transcriptions │ │ └── __init__.py │ ├── actions │ └── __init__.py │ ├── addresses │ └── __init__.py │ ├── campaign │ └── __init__.py │ ├── conferences │ └── __init__.py │ ├── messages │ └── __init__.py │ ├── messaging │ ├── __init__.py │ └── rcs │ │ └── __init__.py │ ├── networks │ └── __init__.py │ ├── payment │ └── __init__.py │ ├── porting │ └── __init__.py │ ├── portouts │ └── __init__.py │ ├── recordings │ └── __init__.py │ ├── reports │ └── __init__.py │ ├── sim_cards │ └── __init__.py │ ├── storage │ ├── __init__.py │ ├── buckets │ │ └── __init__.py │ └── migrations │ │ └── __init__.py │ ├── wireless │ └── __init__.py │ ├── bundle_pricing │ └── __init__.py │ ├── campaign_builder │ └── __init__.py │ ├── managed_accounts │ └── __init__.py │ ├── operator_connect │ └── __init__.py │ ├── phone_numbers │ └── __init__.py │ ├── porting_orders │ └── __init__.py │ ├── sim_card_groups │ └── __init__.py │ ├── verifications │ ├── __init__.py │ └── by_phone_number │ │ └── __init__.py │ ├── verified_numbers │ └── __init__.py │ ├── external_connections │ └── __init__.py │ ├── messaging_profiles │ └── __init__.py │ ├── messaging_tollfree │ ├── __init__.py │ └── verification │ │ └── __init__.py │ ├── mobile_phone_numbers │ └── __init__.py │ ├── number_reservations │ └── __init__.py │ ├── phone_number_blocks │ └── __init__.py │ ├── credential_connections │ └── __init__.py │ └── messaging_hosted_number_orders │ └── __init__.py ├── .release-please-manifest.json ├── .vscode └── settings.json ├── bin └── publish-pypi ├── scripts ├── format └── lint ├── .gitignore ├── examples └── .keep ├── .stats.yml ├── noxfile.py └── .devcontainer └── Dockerfile /src/telnyx/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.python-version: -------------------------------------------------------------------------------- 1 | 3.9.18 2 | -------------------------------------------------------------------------------- /Brewfile: -------------------------------------------------------------------------------- 1 | brew "rye" 2 | 3 | -------------------------------------------------------------------------------- /tests/sample_file.txt: -------------------------------------------------------------------------------- 1 | Hello, world! 2 | -------------------------------------------------------------------------------- /.release-please-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | ".": "3.17.0" 3 | } -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "python.analysis.importFormat": "relative", 3 | } 4 | -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/ai/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/brand/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/calls/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/faxes/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/legacy/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/queues/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/rooms/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/texml/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/actions/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/addresses/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/campaign/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/conferences/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/messages/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/messaging/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/networks/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/payment/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/porting/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/portouts/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/recordings/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/reports/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/sim_cards/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/storage/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/wireless/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/ai/assistants/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/ai/conversations/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/ai/embeddings/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/ai/fine_tuning/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/ai/integrations/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/bundle_pricing/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/campaign_builder/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/legacy/reporting/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/managed_accounts/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/messaging/rcs/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/operator_connect/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/phone_numbers/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/porting_orders/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/rooms/sessions/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/sim_card_groups/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/storage/buckets/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/texml/accounts/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/verifications/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/verified_numbers/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /bin/publish-pypi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -eux 4 | mkdir -p dist 5 | rye build --clean 6 | rye publish --yes --token=$PYPI_TOKEN 7 | -------------------------------------------------------------------------------- /tests/api_resources/ai/assistants/tests/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/external_connections/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/messaging_profiles/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/messaging_tollfree/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/mobile_phone_numbers/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/number_reservations/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/phone_number_blocks/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/storage/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/texml/accounts/calls/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /scripts/format: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | 5 | cd "$(dirname "$0")/.." 6 | 7 | echo "==> Running formatters" 8 | rye run format 9 | -------------------------------------------------------------------------------- /tests/api_resources/credential_connections/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/texml/accounts/conferences/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/texml/accounts/recordings/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/ai/assistants/tests/test_suites/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/ai/conversations/insight_groups/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/legacy/reporting/usage_reports/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/messaging_hosted_number_orders/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/messaging_tollfree/verification/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/texml/accounts/transcriptions/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/verifications/by_phone_number/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/legacy/reporting/batch_detail_records/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /src/telnyx/types/legacy/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | -------------------------------------------------------------------------------- /src/telnyx/types/messaging_tollfree/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | -------------------------------------------------------------------------------- /src/telnyx/types/texml/accounts/recordings/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .prism.log 2 | _dev 3 | 4 | __pycache__ 5 | .mypy_cache 6 | 7 | dist 8 | 9 | .venv 10 | .idea 11 | 12 | .env 13 | .envrc 14 | codegen.log 15 | Brewfile.lock.json 16 | -------------------------------------------------------------------------------- /src/telnyx/_version.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | __title__ = "telnyx" 4 | __version__ = "3.17.0" # x-release-please-version 5 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/conversations/insight_groups/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | -------------------------------------------------------------------------------- /src/telnyx/types/shared_params/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from .sim_card_status import SimCardStatus as SimCardStatus 4 | -------------------------------------------------------------------------------- /scripts/lint: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | 5 | cd "$(dirname "$0")/.." 6 | 7 | echo "==> Running lints" 8 | rye run lint 9 | 10 | echo "==> Making sure it imports" 11 | rye run python -c 'import telnyx' 12 | -------------------------------------------------------------------------------- /src/telnyx/lib/.keep: -------------------------------------------------------------------------------- 1 | File generated from our OpenAPI spec by Stainless. 2 | 3 | This directory can be used to store custom files to expand the SDK. 4 | It is ignored by Stainless code generation and its content (other than this keep file) won't be touched. -------------------------------------------------------------------------------- /src/telnyx/types/recordings/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .action_delete_params import ActionDeleteParams as ActionDeleteParams 6 | -------------------------------------------------------------------------------- /examples/.keep: -------------------------------------------------------------------------------- 1 | File generated from our OpenAPI spec by Stainless. 2 | 3 | This directory can be used to store example files demonstrating usage of this SDK. 4 | It is ignored by Stainless code generation and its content (other than this keep file) won't be touched. -------------------------------------------------------------------------------- /src/telnyx/types/service_plan.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["ServicePlan"] 6 | 7 | ServicePlan: TypeAlias = Literal["global"] 8 | -------------------------------------------------------------------------------- /src/telnyx/types/storage/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .action_stop_response import ActionStopResponse as ActionStopResponse 6 | -------------------------------------------------------------------------------- /src/telnyx/types/number_reservations/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .action_extend_response import ActionExtendResponse as ActionExtendResponse 6 | -------------------------------------------------------------------------------- /src/telnyx/types/operator_connect/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .action_refresh_response import ActionRefreshResponse as ActionRefreshResponse 6 | -------------------------------------------------------------------------------- /src/telnyx/types/messaging_tollfree/verification/url.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["URL"] 6 | 7 | 8 | class URL(BaseModel): 9 | url: str 10 | -------------------------------------------------------------------------------- /src/telnyx/types/traffic_type.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["TrafficType"] 6 | 7 | TrafficType: TypeAlias = Literal["conversational"] 8 | -------------------------------------------------------------------------------- /src/telnyx/types/dtmf_type.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["DtmfType"] 6 | 7 | DtmfType: TypeAlias = Literal["RFC 2833", "Inband", "SIP INFO"] 8 | -------------------------------------------------------------------------------- /src/telnyx/types/webhook_api_version.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["WebhookAPIVersion"] 6 | 7 | WebhookAPIVersion: TypeAlias = Literal["1", "2"] 8 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/assistant_get_texml_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["AssistantGetTexmlResponse"] 6 | 7 | AssistantGetTexmlResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/telnyx/types/porting_order_type.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["PortingOrderType"] 6 | 7 | PortingOrderType: TypeAlias = Literal["full", "partial"] 8 | -------------------------------------------------------------------------------- /src/telnyx/types/usage_payment_method.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["UsagePaymentMethod"] 6 | 7 | UsagePaymentMethod: TypeAlias = Literal["rate-deck"] 8 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/enabled_features.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["EnabledFeatures"] 6 | 7 | EnabledFeatures: TypeAlias = Literal["telephony", "messaging"] 8 | -------------------------------------------------------------------------------- /src/telnyx/types/campaign_builder/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .brand_qualify_by_usecase_response import BrandQualifyByUsecaseResponse as BrandQualifyByUsecaseResponse 6 | -------------------------------------------------------------------------------- /src/telnyx/types/transport_protocol.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["TransportProtocol"] 6 | 7 | TransportProtocol: TypeAlias = Literal["UDP", "TCP", "TLS"] 8 | -------------------------------------------------------------------------------- /src/telnyx/types/alt_business_id_type.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["AltBusinessIDType"] 6 | 7 | AltBusinessIDType: TypeAlias = Literal["NONE", "DUNS", "GIIN", "LEI"] 8 | -------------------------------------------------------------------------------- /src/telnyx/types/cloudflare_sync_status.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["CloudflareSyncStatus"] 6 | 7 | CloudflareSyncStatus: TypeAlias = Literal["pending", "added"] 8 | -------------------------------------------------------------------------------- /src/telnyx/types/stream_bidirectional_mode.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["StreamBidirectionalMode"] 6 | 7 | StreamBidirectionalMode: TypeAlias = Literal["mp3", "rtp"] 8 | -------------------------------------------------------------------------------- /.stats.yml: -------------------------------------------------------------------------------- 1 | configured_endpoints: 865 2 | openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/telnyx%2Ftelnyx-af00ba7017092a031633e1ffd93b69a526ac36b585703dc66bfbd5c10568806e.yml 3 | openapi_spec_hash: 7100705ca26d77844a2e163794b58a1a 4 | config_hash: d215c939c04c7a7041d03c776ad207cd 5 | -------------------------------------------------------------------------------- /src/telnyx/types/task_status.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["TaskStatus"] 6 | 7 | TaskStatus: TypeAlias = Literal["pending", "starting", "running", "completed", "failed"] 8 | -------------------------------------------------------------------------------- /src/telnyx/types/encrypted_media.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | from typing_extensions import Literal, TypeAlias 5 | 6 | __all__ = ["EncryptedMedia"] 7 | 8 | EncryptedMedia: TypeAlias = Optional[Literal["SRTP"]] 9 | -------------------------------------------------------------------------------- /src/telnyx/types/entity_type.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["EntityType"] 6 | 7 | EntityType: TypeAlias = Literal["PRIVATE_PROFIT", "PUBLIC_PROFIT", "NON_PROFIT", "GOVERNMENT"] 8 | -------------------------------------------------------------------------------- /src/telnyx/types/messaging_profiles/autoresp_config_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["AutorespConfigDeleteResponse"] 6 | 7 | AutorespConfigDeleteResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/telnyx/types/stream_codec.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["StreamCodec"] 6 | 7 | StreamCodec: TypeAlias = Literal["PCMU", "PCMA", "G722", "OPUS", "AMR-WB", "L16", "default"] 8 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/assistants/event_status.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["EventStatus"] 6 | 7 | EventStatus: TypeAlias = Literal["pending", "in_progress", "completed", "failed"] 8 | -------------------------------------------------------------------------------- /src/telnyx/types/conferences/conference_command_result.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | 5 | __all__ = ["ConferenceCommandResult"] 6 | 7 | 8 | class ConferenceCommandResult(BaseModel): 9 | result: str 10 | -------------------------------------------------------------------------------- /src/telnyx/types/interface_status.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["InterfaceStatus"] 6 | 7 | InterfaceStatus: TypeAlias = Literal["created", "provisioning", "provisioned", "deleting"] 8 | -------------------------------------------------------------------------------- /src/telnyx/types/wireguard_peer_retrieve_config_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["WireguardPeerRetrieveConfigResponse"] 6 | 7 | WireguardPeerRetrieveConfigResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/telnyx/types/telephony_credential_create_token_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["TelephonyCredentialCreateTokenResponse"] 6 | 7 | TelephonyCredentialCreateTokenResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/telnyx/types/record_param.py: -------------------------------------------------------------------------------- 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 TypedDict 6 | 7 | __all__ = ["RecordParam"] 8 | 9 | 10 | class RecordParam(TypedDict, total=False): 11 | pass 12 | -------------------------------------------------------------------------------- /src/telnyx/types/sub_number_orders_report_download_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["SubNumberOrdersReportDownloadResponse"] 6 | 7 | SubNumberOrdersReportDownloadResponse: TypeAlias = object 8 | -------------------------------------------------------------------------------- /src/telnyx/types/verified_numbers/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .action_submit_verification_code_params import ( 6 | ActionSubmitVerificationCodeParams as ActionSubmitVerificationCodeParams, 7 | ) 8 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/assistants/conversation_channel_type.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["ConversationChannelType"] 6 | 7 | ConversationChannelType: TypeAlias = Literal["phone_call", "sms_chat"] 8 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/assistants/tests/test_status.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["TestStatus"] 6 | 7 | TestStatus: TypeAlias = Literal["pending", "starting", "running", "passed", "failed", "error"] 8 | -------------------------------------------------------------------------------- /src/telnyx/types/available_service.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["AvailableService"] 6 | 7 | AvailableService: TypeAlias = Literal["cloud_vpn", "private_wireless_gateway", "virtual_cross_connect"] 8 | -------------------------------------------------------------------------------- /src/telnyx/types/campaign/osr_get_attributes_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Dict 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["OsrGetAttributesResponse"] 7 | 8 | OsrGetAttributesResponse: TypeAlias = Dict[str, object] 9 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/chat_create_completion_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Dict 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["ChatCreateCompletionResponse"] 7 | 8 | ChatCreateCompletionResponse: TypeAlias = Dict[str, object] 9 | -------------------------------------------------------------------------------- /src/telnyx/types/campaign_accept_sharing_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Dict 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["CampaignAcceptSharingResponse"] 7 | 8 | CampaignAcceptSharingResponse: TypeAlias = Dict[str, object] 9 | -------------------------------------------------------------------------------- /src/telnyx/types/stream_bidirectional_target_legs.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["StreamBidirectionalTargetLegs"] 6 | 7 | StreamBidirectionalTargetLegs: TypeAlias = Literal["both", "self", "opposite"] 8 | -------------------------------------------------------------------------------- /src/telnyx/types/brand_identity_status.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["BrandIdentityStatus"] 6 | 7 | BrandIdentityStatus: TypeAlias = Literal["VERIFIED", "UNVERIFIED", "SELF_DECLARED", "VETTED_VERIFIED"] 8 | -------------------------------------------------------------------------------- /src/telnyx/types/credential_connections/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .action_check_registration_status_response import ( 6 | ActionCheckRegistrationStatusResponse as ActionCheckRegistrationStatusResponse, 7 | ) 8 | -------------------------------------------------------------------------------- /src/telnyx/types/faxes/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .action_cancel_response import ActionCancelResponse as ActionCancelResponse 6 | from .action_refresh_response import ActionRefreshResponse as ActionRefreshResponse 7 | -------------------------------------------------------------------------------- /src/telnyx/types/stream_bidirectional_codec.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["StreamBidirectionalCodec"] 6 | 7 | StreamBidirectionalCodec: TypeAlias = Literal["PCMU", "PCMA", "G722", "OPUS", "AMR-WB", "L16"] 8 | -------------------------------------------------------------------------------- /noxfile.py: -------------------------------------------------------------------------------- 1 | import nox 2 | 3 | 4 | @nox.session(reuse_venv=True, name="test-pydantic-v1") 5 | def test_pydantic_v1(session: nox.Session) -> None: 6 | session.install("-r", "requirements-dev.lock") 7 | session.install("pydantic<2") 8 | 9 | session.run("pytest", "--showlocals", "--ignore=tests/functional", *session.posargs) 10 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/background_task_status.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["BackgroundTaskStatus"] 6 | 7 | BackgroundTaskStatus: TypeAlias = Literal["queued", "processing", "success", "failure", "partial_success"] 8 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/embeddings/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .bucket_list_response import BucketListResponse as BucketListResponse 6 | from .bucket_retrieve_response import BucketRetrieveResponse as BucketRetrieveResponse 7 | -------------------------------------------------------------------------------- /src/telnyx/types/enum_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List, Union 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["EnumRetrieveResponse"] 7 | 8 | EnumRetrieveResponse: TypeAlias = Union[List[Union[str, object]], object, object] 9 | -------------------------------------------------------------------------------- /src/telnyx/types/shared_params/sim_card_status.py: -------------------------------------------------------------------------------- 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 TypedDict 6 | 7 | __all__ = ["SimCardStatus"] 8 | 9 | 10 | class SimCardStatus(TypedDict, total=False): 11 | pass 12 | -------------------------------------------------------------------------------- /src/telnyx/types/stream_bidirectional_sampling_rate.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["StreamBidirectionalSamplingRate"] 6 | 7 | StreamBidirectionalSamplingRate: TypeAlias = Literal[8000, 16000, 22050, 24000, 48000] 8 | -------------------------------------------------------------------------------- /src/telnyx/types/calls/loopcount_param.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from typing import Union 6 | from typing_extensions import TypeAlias 7 | 8 | __all__ = ["LoopcountParam"] 9 | 10 | LoopcountParam: TypeAlias = Union[str, int] 11 | -------------------------------------------------------------------------------- /src/telnyx/types/campaign_get_operation_status_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Dict 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["CampaignGetOperationStatusResponse"] 7 | 8 | CampaignGetOperationStatusResponse: TypeAlias = Dict[str, object] 9 | -------------------------------------------------------------------------------- /src/telnyx/types/faxes/action_cancel_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | 7 | __all__ = ["ActionCancelResponse"] 8 | 9 | 10 | class ActionCancelResponse(BaseModel): 11 | result: Optional[str] = None 12 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/assistants/telnyx_conversation_channel.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["TelnyxConversationChannel"] 6 | 7 | TelnyxConversationChannel: TypeAlias = Literal["phone_call", "web_call", "sms_chat", "web_chat"] 8 | -------------------------------------------------------------------------------- /src/telnyx/types/ai_summarize_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from .._models import BaseModel 4 | 5 | __all__ = ["AISummarizeResponse", "Data"] 6 | 7 | 8 | class Data(BaseModel): 9 | summary: str 10 | 11 | 12 | class AISummarizeResponse(BaseModel): 13 | data: Data 14 | -------------------------------------------------------------------------------- /src/telnyx/types/faxes/action_refresh_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | 7 | __all__ = ["ActionRefreshResponse"] 8 | 9 | 10 | class ActionRefreshResponse(BaseModel): 11 | result: Optional[str] = None 12 | -------------------------------------------------------------------------------- /src/telnyx/types/ip_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .ip import IP 6 | from .._models import BaseModel 7 | 8 | __all__ = ["IPCreateResponse"] 9 | 10 | 11 | class IPCreateResponse(BaseModel): 12 | data: Optional[IP] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/ip_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .ip import IP 6 | from .._models import BaseModel 7 | 8 | __all__ = ["IPDeleteResponse"] 9 | 10 | 11 | class IPDeleteResponse(BaseModel): 12 | data: Optional[IP] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/ip_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .ip import IP 6 | from .._models import BaseModel 7 | 8 | __all__ = ["IPUpdateResponse"] 9 | 10 | 11 | class IPUpdateResponse(BaseModel): 12 | data: Optional[IP] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/oauth_grants_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from .._models import BaseModel 4 | 5 | __all__ = ["OAuthGrantsResponse"] 6 | 7 | 8 | class OAuthGrantsResponse(BaseModel): 9 | redirect_uri: str 10 | """Redirect URI with authorization code or error""" 11 | -------------------------------------------------------------------------------- /src/telnyx/types/create_verification_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from .._models import BaseModel 4 | from .verification import Verification 5 | 6 | __all__ = ["CreateVerificationResponse"] 7 | 8 | 9 | class CreateVerificationResponse(BaseModel): 10 | data: Verification 11 | -------------------------------------------------------------------------------- /src/telnyx/types/fax_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .fax import Fax 6 | from .._models import BaseModel 7 | 8 | __all__ = ["FaxCreateResponse"] 9 | 10 | 11 | class FaxCreateResponse(BaseModel): 12 | data: Optional[Fax] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/ip_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .ip import IP 6 | from .._models import BaseModel 7 | 8 | __all__ = ["IPRetrieveResponse"] 9 | 10 | 11 | class IPRetrieveResponse(BaseModel): 12 | data: Optional[IP] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/integrations/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .connection_list_response import ConnectionListResponse as ConnectionListResponse 6 | from .connection_retrieve_response import ConnectionRetrieveResponse as ConnectionRetrieveResponse 7 | -------------------------------------------------------------------------------- /src/telnyx/types/calls/call_control_command_result.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | 7 | __all__ = ["CallControlCommandResult"] 8 | 9 | 10 | class CallControlCommandResult(BaseModel): 11 | result: Optional[str] = None 12 | -------------------------------------------------------------------------------- /src/telnyx/types/fax_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .fax import Fax 6 | from .._models import BaseModel 7 | 8 | __all__ = ["FaxRetrieveResponse"] 9 | 10 | 11 | class FaxRetrieveResponse(BaseModel): 12 | data: Optional[Fax] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/fqdn_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .fqdn import Fqdn 6 | from .._models import BaseModel 7 | 8 | __all__ = ["FqdnCreateResponse"] 9 | 10 | 11 | class FqdnCreateResponse(BaseModel): 12 | data: Optional[Fqdn] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/fqdn_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .fqdn import Fqdn 6 | from .._models import BaseModel 7 | 8 | __all__ = ["FqdnDeleteResponse"] 9 | 10 | 11 | class FqdnDeleteResponse(BaseModel): 12 | data: Optional[Fqdn] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/fqdn_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .fqdn import Fqdn 6 | from .._models import BaseModel 7 | 8 | __all__ = ["FqdnUpdateResponse"] 9 | 10 | 11 | class FqdnUpdateResponse(BaseModel): 12 | data: Optional[Fqdn] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/messages/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .rc_generate_deeplink_params import RcGenerateDeeplinkParams as RcGenerateDeeplinkParams 6 | from .rc_generate_deeplink_response import RcGenerateDeeplinkResponse as RcGenerateDeeplinkResponse 7 | -------------------------------------------------------------------------------- /src/telnyx/types/porting_orders/comment_create_params.py: -------------------------------------------------------------------------------- 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 TypedDict 6 | 7 | __all__ = ["CommentCreateParams"] 8 | 9 | 10 | class CommentCreateParams(TypedDict, total=False): 11 | body: str 12 | -------------------------------------------------------------------------------- /src/telnyx/types/room_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .room import Room 6 | from .._models import BaseModel 7 | 8 | __all__ = ["RoomCreateResponse"] 9 | 10 | 11 | class RoomCreateResponse(BaseModel): 12 | data: Optional[Room] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/room_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .room import Room 6 | from .._models import BaseModel 7 | 8 | __all__ = ["RoomUpdateResponse"] 9 | 10 | 11 | class RoomUpdateResponse(BaseModel): 12 | data: Optional[Room] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/verification_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from .._models import BaseModel 4 | from .verification import Verification 5 | 6 | __all__ = ["VerificationRetrieveResponse"] 7 | 8 | 9 | class VerificationRetrieveResponse(BaseModel): 10 | data: Verification 11 | -------------------------------------------------------------------------------- /src/telnyx/_utils/_streams.py: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | from typing_extensions import Iterator, AsyncIterator 3 | 4 | 5 | def consume_sync_iterator(iterator: Iterator[Any]) -> None: 6 | for _ in iterator: 7 | ... 8 | 9 | 10 | async def consume_async_iterator(iterator: AsyncIterator[Any]) -> None: 11 | async for _ in iterator: 12 | ... 13 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/assistant_send_sms_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | 7 | __all__ = ["AssistantSendSMSResponse"] 8 | 9 | 10 | class AssistantSendSMSResponse(BaseModel): 11 | conversation_id: Optional[str] = None 12 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/cluster_compute_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | 5 | __all__ = ["ClusterComputeResponse", "Data"] 6 | 7 | 8 | class Data(BaseModel): 9 | task_id: str 10 | 11 | 12 | class ClusterComputeResponse(BaseModel): 13 | data: Data 14 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/conversations/insight_template_detail.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | from .insight_template import InsightTemplate 5 | 6 | __all__ = ["InsightTemplateDetail"] 7 | 8 | 9 | class InsightTemplateDetail(BaseModel): 10 | data: InsightTemplate 11 | -------------------------------------------------------------------------------- /src/telnyx/types/bundle_pricing/user_bundle_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | from .user_bundle import UserBundle 5 | 6 | __all__ = ["UserBundleRetrieveResponse"] 7 | 8 | 9 | class UserBundleRetrieveResponse(BaseModel): 10 | data: UserBundle 11 | -------------------------------------------------------------------------------- /src/telnyx/types/fqdn_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .fqdn import Fqdn 6 | from .._models import BaseModel 7 | 8 | __all__ = ["FqdnRetrieveResponse"] 9 | 10 | 11 | class FqdnRetrieveResponse(BaseModel): 12 | data: Optional[Fqdn] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/messaging_tollfree/verification/url_param.py: -------------------------------------------------------------------------------- 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 Required, TypedDict 6 | 7 | __all__ = ["URLParam"] 8 | 9 | 10 | class URLParam(TypedDict, total=False): 11 | url: Required[str] 12 | -------------------------------------------------------------------------------- /src/telnyx/types/room_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .room import Room 6 | from .._models import BaseModel 7 | 8 | __all__ = ["RoomRetrieveResponse"] 9 | 10 | 11 | class RoomRetrieveResponse(BaseModel): 12 | data: Optional[Room] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/assistants/tests/test_suites/meta.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ......_models import BaseModel 4 | 5 | __all__ = ["Meta"] 6 | 7 | 8 | class Meta(BaseModel): 9 | page_number: int 10 | 11 | page_size: int 12 | 13 | total_pages: int 14 | 15 | total_results: int 16 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/cluster_fetch_graph_params.py: -------------------------------------------------------------------------------- 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 TypedDict 6 | 7 | __all__ = ["ClusterFetchGraphParams"] 8 | 9 | 10 | class ClusterFetchGraphParams(TypedDict, total=False): 11 | cluster_id: int 12 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/fine_tuning/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .fine_tuning_job import FineTuningJob as FineTuningJob 6 | from .job_create_params import JobCreateParams as JobCreateParams 7 | from .job_list_response import JobListResponse as JobListResponse 8 | -------------------------------------------------------------------------------- /src/telnyx/types/bundle_pricing/user_bundle_deactivate_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | from .user_bundle import UserBundle 5 | 6 | __all__ = ["UserBundleDeactivateResponse"] 7 | 8 | 9 | class UserBundleDeactivateResponse(BaseModel): 10 | data: UserBundle 11 | -------------------------------------------------------------------------------- /src/telnyx/types/messaging_hosted_number_orders/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .action_upload_file_params import ActionUploadFileParams as ActionUploadFileParams 6 | from .action_upload_file_response import ActionUploadFileResponse as ActionUploadFileResponse 7 | -------------------------------------------------------------------------------- /src/telnyx/types/messaging_profiles/auto_resp_config_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | from .auto_resp_config import AutoRespConfig 5 | 6 | __all__ = ["AutoRespConfigResponse"] 7 | 8 | 9 | class AutoRespConfigResponse(BaseModel): 10 | data: AutoRespConfig 11 | -------------------------------------------------------------------------------- /src/telnyx/types/rcs_agent_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .rcs_agent import RcsAgent 7 | 8 | __all__ = ["RcsAgentResponse"] 9 | 10 | 11 | class RcsAgentResponse(BaseModel): 12 | data: Optional[RcsAgent] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/region_in.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | 7 | __all__ = ["RegionIn"] 8 | 9 | 10 | class RegionIn(BaseModel): 11 | region_code: Optional[str] = None 12 | """The region the interface should be deployed to.""" 13 | -------------------------------------------------------------------------------- /src/telnyx/types/reserved_phone_number_param.py: -------------------------------------------------------------------------------- 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 TypedDict 6 | 7 | __all__ = ["ReservedPhoneNumberParam"] 8 | 9 | 10 | class ReservedPhoneNumberParam(TypedDict, total=False): 11 | phone_number: str 12 | -------------------------------------------------------------------------------- /src/telnyx/types/texml/accounts/transcriptions/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .json_retrieve_recording_transcription_sid_json_response import ( 6 | JsonRetrieveRecordingTranscriptionSidJsonResponse as JsonRetrieveRecordingTranscriptionSidJsonResponse, 7 | ) 8 | -------------------------------------------------------------------------------- /src/telnyx/types/verifications/by_phone_number/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .action_verify_params import ActionVerifyParams as ActionVerifyParams 6 | from .verify_verification_code_response import VerifyVerificationCodeResponse as VerifyVerificationCodeResponse 7 | -------------------------------------------------------------------------------- /src/telnyx/types/address_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .address import Address 6 | from .._models import BaseModel 7 | 8 | __all__ = ["AddressCreateResponse"] 9 | 10 | 11 | class AddressCreateResponse(BaseModel): 12 | data: Optional[Address] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/address_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .address import Address 6 | from .._models import BaseModel 7 | 8 | __all__ = ["AddressDeleteResponse"] 9 | 10 | 11 | class AddressDeleteResponse(BaseModel): 12 | data: Optional[Address] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/assistant_chat_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | 5 | __all__ = ["AssistantChatResponse"] 6 | 7 | 8 | class AssistantChatResponse(BaseModel): 9 | content: str 10 | """The assistant's generated response based on the input message and context.""" 11 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/assistants_list.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List 4 | 5 | from ..._models import BaseModel 6 | from .inference_embedding import InferenceEmbedding 7 | 8 | __all__ = ["AssistantsList"] 9 | 10 | 11 | class AssistantsList(BaseModel): 12 | data: List[InferenceEmbedding] 13 | -------------------------------------------------------------------------------- /src/telnyx/types/campaign/usecase_get_cost_params.py: -------------------------------------------------------------------------------- 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 Required, TypedDict 6 | 7 | __all__ = ["UsecaseGetCostParams"] 8 | 9 | 10 | class UsecaseGetCostParams(TypedDict, total=False): 11 | usecase: Required[str] 12 | -------------------------------------------------------------------------------- /src/telnyx/types/custom_sip_header.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from .._models import BaseModel 4 | 5 | __all__ = ["CustomSipHeader"] 6 | 7 | 8 | class CustomSipHeader(BaseModel): 9 | name: str 10 | """The name of the header to add.""" 11 | 12 | value: str 13 | """The value of the header.""" 14 | -------------------------------------------------------------------------------- /src/telnyx/types/phone_number_blocks/job_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .job import Job 6 | from ..._models import BaseModel 7 | 8 | __all__ = ["JobRetrieveResponse"] 9 | 10 | 11 | class JobRetrieveResponse(BaseModel): 12 | data: Optional[Job] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/sim_card_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .sim_card import SimCard 7 | 8 | __all__ = ["SimCardDeleteResponse"] 9 | 10 | 11 | class SimCardDeleteResponse(BaseModel): 12 | data: Optional[SimCard] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/sim_card_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .sim_card import SimCard 7 | 8 | __all__ = ["SimCardUpdateResponse"] 9 | 10 | 11 | class SimCardUpdateResponse(BaseModel): 12 | data: Optional[SimCard] = None 13 | -------------------------------------------------------------------------------- /.devcontainer/Dockerfile: -------------------------------------------------------------------------------- 1 | ARG VARIANT="3.9" 2 | FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT} 3 | 4 | USER vscode 5 | 6 | RUN curl -sSf https://rye.astral.sh/get | RYE_VERSION="0.44.0" RYE_INSTALL_OPTION="--yes" bash 7 | ENV PATH=/home/vscode/.rye/shims:$PATH 8 | 9 | RUN echo "[[ -d .venv ]] && source .venv/bin/activate || export PATH=\$PATH" >> /home/vscode/.bashrc 10 | -------------------------------------------------------------------------------- /src/telnyx/types/address_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .address import Address 6 | from .._models import BaseModel 7 | 8 | __all__ = ["AddressRetrieveResponse"] 9 | 10 | 11 | class AddressRetrieveResponse(BaseModel): 12 | data: Optional[Address] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/fine_tuning/job_list_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List 4 | 5 | from ...._models import BaseModel 6 | from .fine_tuning_job import FineTuningJob 7 | 8 | __all__ = ["JobListResponse"] 9 | 10 | 11 | class JobListResponse(BaseModel): 12 | data: List[FineTuningJob] 13 | -------------------------------------------------------------------------------- /src/telnyx/types/integration_secret_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from .._models import BaseModel 4 | from .integration_secret import IntegrationSecret 5 | 6 | __all__ = ["IntegrationSecretCreateResponse"] 7 | 8 | 9 | class IntegrationSecretCreateResponse(BaseModel): 10 | data: IntegrationSecret 11 | -------------------------------------------------------------------------------- /src/telnyx/types/messaging/rcs/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .agent_list_params import AgentListParams as AgentListParams 6 | from .agent_list_response import AgentListResponse as AgentListResponse 7 | from .agent_update_params import AgentUpdateParams as AgentUpdateParams 8 | -------------------------------------------------------------------------------- /src/telnyx/types/sim_card_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .sim_card import SimCard 7 | 8 | __all__ = ["SimCardRetrieveResponse"] 9 | 10 | 11 | class SimCardRetrieveResponse(BaseModel): 12 | data: Optional[SimCard] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/verify_profile_data.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .verify_profile import VerifyProfile 7 | 8 | __all__ = ["VerifyProfileData"] 9 | 10 | 11 | class VerifyProfileData(BaseModel): 12 | data: Optional[VerifyProfile] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/conversation_list_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List 4 | 5 | from ..._models import BaseModel 6 | from .conversation import Conversation 7 | 8 | __all__ = ["ConversationListResponse"] 9 | 10 | 11 | class ConversationListResponse(BaseModel): 12 | data: List[Conversation] 13 | -------------------------------------------------------------------------------- /src/telnyx/types/external_connections/upload_retry_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .upload import Upload 6 | from ..._models import BaseModel 7 | 8 | __all__ = ["UploadRetryResponse"] 9 | 10 | 11 | class UploadRetryResponse(BaseModel): 12 | data: Optional[Upload] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/media_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .media_resource import MediaResource 7 | 8 | __all__ = ["MediaUpdateResponse"] 9 | 10 | 11 | class MediaUpdateResponse(BaseModel): 12 | data: Optional[MediaResource] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/media_upload_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .media_resource import MediaResource 7 | 8 | __all__ = ["MediaUploadResponse"] 9 | 10 | 11 | class MediaUploadResponse(BaseModel): 12 | data: Optional[MediaResource] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/assistants/tests/test_suites/run_trigger_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List 4 | from typing_extensions import TypeAlias 5 | 6 | from ..test_run_response import TestRunResponse 7 | 8 | __all__ = ["RunTriggerResponse"] 9 | 10 | RunTriggerResponse: TypeAlias = List[TestRunResponse] 11 | -------------------------------------------------------------------------------- /src/telnyx/types/conference_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .conference import Conference 7 | 8 | __all__ = ["ConferenceCreateResponse"] 9 | 10 | 11 | class ConferenceCreateResponse(BaseModel): 12 | data: Optional[Conference] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/requirement_group_list_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List 4 | from typing_extensions import TypeAlias 5 | 6 | from .requirement_group import RequirementGroup 7 | 8 | __all__ = ["RequirementGroupListResponse"] 9 | 10 | RequirementGroupListResponse: TypeAlias = List[RequirementGroup] 11 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/conversations/insight_template_group_detail.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | from .insight_template_group import InsightTemplateGroup 5 | 6 | __all__ = ["InsightTemplateGroupDetail"] 7 | 8 | 9 | class InsightTemplateGroupDetail(BaseModel): 10 | data: InsightTemplateGroup 11 | -------------------------------------------------------------------------------- /src/telnyx/types/bundle_pricing/user_bundle_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List 4 | 5 | from ..._models import BaseModel 6 | from .user_bundle import UserBundle 7 | 8 | __all__ = ["UserBundleCreateResponse"] 9 | 10 | 11 | class UserBundleCreateResponse(BaseModel): 12 | data: List[UserBundle] 13 | -------------------------------------------------------------------------------- /src/telnyx/types/external_connections/upload_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .upload import Upload 6 | from ..._models import BaseModel 7 | 8 | __all__ = ["UploadRetrieveResponse"] 9 | 10 | 11 | class UploadRetrieveResponse(BaseModel): 12 | data: Optional[Upload] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/media_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .media_resource import MediaResource 7 | 8 | __all__ = ["MediaRetrieveResponse"] 9 | 10 | 11 | class MediaRetrieveResponse(BaseModel): 12 | data: Optional[MediaResource] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/messaging_tollfree/verification/volume.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["Volume"] 6 | 7 | Volume: TypeAlias = Literal[ 8 | "10", "100", "1,000", "10,000", "100,000", "250,000", "500,000", "750,000", "1,000,000", "5,000,000", "10,000,000+" 9 | ] 10 | -------------------------------------------------------------------------------- /src/telnyx/types/oauth_grant_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .oauth_grant import OAuthGrant 7 | 8 | __all__ = ["OAuthGrantDeleteResponse"] 9 | 10 | 11 | class OAuthGrantDeleteResponse(BaseModel): 12 | data: Optional[OAuthGrant] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/short_code_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .shared.short_code import ShortCode 7 | 8 | __all__ = ["ShortCodeUpdateResponse"] 9 | 10 | 11 | class ShortCodeUpdateResponse(BaseModel): 12 | data: Optional[ShortCode] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/verifications/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .verify_meta import VerifyMeta as VerifyMeta 6 | from .action_verify_params import ActionVerifyParams as ActionVerifyParams 7 | from .by_phone_number_list_response import ByPhoneNumberListResponse as ByPhoneNumberListResponse 8 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/embeddings/bucket_list_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List 4 | 5 | from ...._models import BaseModel 6 | 7 | __all__ = ["BucketListResponse", "Data"] 8 | 9 | 10 | class Data(BaseModel): 11 | buckets: List[str] 12 | 13 | 14 | class BucketListResponse(BaseModel): 15 | data: Data 16 | -------------------------------------------------------------------------------- /src/telnyx/types/billing_group_create_params.py: -------------------------------------------------------------------------------- 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 TypedDict 6 | 7 | __all__ = ["BillingGroupCreateParams"] 8 | 9 | 10 | class BillingGroupCreateParams(TypedDict, total=False): 11 | name: str 12 | """A name for the billing group""" 13 | -------------------------------------------------------------------------------- /src/telnyx/types/billing_group_update_params.py: -------------------------------------------------------------------------------- 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 TypedDict 6 | 7 | __all__ = ["BillingGroupUpdateParams"] 8 | 9 | 10 | class BillingGroupUpdateParams(TypedDict, total=False): 11 | name: str 12 | """A name for the billing group""" 13 | -------------------------------------------------------------------------------- /src/telnyx/types/conference_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .conference import Conference 7 | 8 | __all__ = ["ConferenceRetrieveResponse"] 9 | 10 | 11 | class ConferenceRetrieveResponse(BaseModel): 12 | data: Optional[Conference] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/fax_list_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List, Optional 4 | 5 | from .fax import Fax 6 | from .._models import BaseModel 7 | 8 | __all__ = ["FaxListResponse"] 9 | 10 | 11 | class FaxListResponse(BaseModel): 12 | data: Optional[List[Fax]] = None 13 | 14 | meta: Optional[object] = None 15 | -------------------------------------------------------------------------------- /src/telnyx/types/oauth_client_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .oauth_client import OAuthClient 7 | 8 | __all__ = ["OAuthClientCreateResponse"] 9 | 10 | 11 | class OAuthClientCreateResponse(BaseModel): 12 | data: Optional[OAuthClient] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/oauth_client_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .oauth_client import OAuthClient 7 | 8 | __all__ = ["OAuthClientUpdateResponse"] 9 | 10 | 11 | class OAuthClientUpdateResponse(BaseModel): 12 | data: Optional[OAuthClient] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/oauth_grant_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .oauth_grant import OAuthGrant 7 | 8 | __all__ = ["OAuthGrantRetrieveResponse"] 9 | 10 | 11 | class OAuthGrantRetrieveResponse(BaseModel): 12 | data: Optional[OAuthGrant] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/porting/report_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .porting_report import PortingReport 7 | 8 | __all__ = ["ReportCreateResponse"] 9 | 10 | 11 | class ReportCreateResponse(BaseModel): 12 | data: Optional[PortingReport] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/portout_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .portout_details import PortoutDetails 7 | 8 | __all__ = ["PortoutRetrieveResponse"] 9 | 10 | 11 | class PortoutRetrieveResponse(BaseModel): 12 | data: Optional[PortoutDetails] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/portouts/report_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .portout_report import PortoutReport 7 | 8 | __all__ = ["ReportCreateResponse"] 9 | 10 | 11 | class ReportCreateResponse(BaseModel): 12 | data: Optional[PortoutReport] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/rooms/session_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from ..room_session import RoomSession 7 | 8 | __all__ = ["SessionRetrieveResponse"] 9 | 10 | 11 | class SessionRetrieveResponse(BaseModel): 12 | data: Optional[RoomSession] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/short_code_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .shared.short_code import ShortCode 7 | 8 | __all__ = ["ShortCodeRetrieveResponse"] 9 | 10 | 11 | class ShortCodeRetrieveResponse(BaseModel): 12 | data: Optional[ShortCode] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/user_address_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .user_address import UserAddress 7 | 8 | __all__ = ["UserAddressCreateResponse"] 9 | 10 | 11 | class UserAddressCreateResponse(BaseModel): 12 | data: Optional[UserAddress] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/hangup_tool.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal 4 | 5 | from ..._models import BaseModel 6 | from .hangup_tool_params import HangupToolParams 7 | 8 | __all__ = ["HangupTool"] 9 | 10 | 11 | class HangupTool(BaseModel): 12 | hangup: HangupToolParams 13 | 14 | type: Literal["hangup"] 15 | -------------------------------------------------------------------------------- /src/telnyx/types/billing_group_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .billing_group import BillingGroup 7 | 8 | __all__ = ["BillingGroupCreateResponse"] 9 | 10 | 11 | class BillingGroupCreateResponse(BaseModel): 12 | data: Optional[BillingGroup] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/billing_group_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .billing_group import BillingGroup 7 | 8 | __all__ = ["BillingGroupDeleteResponse"] 9 | 10 | 11 | class BillingGroupDeleteResponse(BaseModel): 12 | data: Optional[BillingGroup] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/billing_group_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .billing_group import BillingGroup 7 | 8 | __all__ = ["BillingGroupUpdateResponse"] 9 | 10 | 11 | class BillingGroupUpdateResponse(BaseModel): 12 | data: Optional[BillingGroup] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/ip_connection_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .ip_connection import IPConnection 7 | 8 | __all__ = ["IPConnectionCreateResponse"] 9 | 10 | 11 | class IPConnectionCreateResponse(BaseModel): 12 | data: Optional[IPConnection] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/ip_connection_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .ip_connection import IPConnection 7 | 8 | __all__ = ["IPConnectionDeleteResponse"] 9 | 10 | 11 | class IPConnectionDeleteResponse(BaseModel): 12 | data: Optional[IPConnection] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/ip_connection_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .ip_connection import IPConnection 7 | 8 | __all__ = ["IPConnectionUpdateResponse"] 9 | 10 | 11 | class IPConnectionUpdateResponse(BaseModel): 12 | data: Optional[IPConnection] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/oauth_client_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .oauth_client import OAuthClient 7 | 8 | __all__ = ["OAuthClientRetrieveResponse"] 9 | 10 | 11 | class OAuthClientRetrieveResponse(BaseModel): 12 | data: Optional[OAuthClient] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/oauth_introspect_params.py: -------------------------------------------------------------------------------- 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 Required, TypedDict 6 | 7 | __all__ = ["OAuthIntrospectParams"] 8 | 9 | 10 | class OAuthIntrospectParams(TypedDict, total=False): 11 | token: Required[str] 12 | """The token to introspect""" 13 | -------------------------------------------------------------------------------- /src/telnyx/types/porting/report_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .porting_report import PortingReport 7 | 8 | __all__ = ["ReportRetrieveResponse"] 9 | 10 | 11 | class ReportRetrieveResponse(BaseModel): 12 | data: Optional[PortingReport] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/portouts/comment_create_params.py: -------------------------------------------------------------------------------- 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 TypedDict 6 | 7 | __all__ = ["CommentCreateParams"] 8 | 9 | 10 | class CommentCreateParams(TypedDict, total=False): 11 | body: str 12 | """Comment to post on this portout request""" 13 | -------------------------------------------------------------------------------- /src/telnyx/types/portouts/report_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .portout_report import PortoutReport 7 | 8 | __all__ = ["ReportRetrieveResponse"] 9 | 10 | 11 | class ReportRetrieveResponse(BaseModel): 12 | data: Optional[PortoutReport] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/user_address_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .user_address import UserAddress 7 | 8 | __all__ = ["UserAddressRetrieveResponse"] 9 | 10 | 11 | class UserAddressRetrieveResponse(BaseModel): 12 | data: Optional[UserAddress] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/conversation_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .conversation import Conversation 7 | 8 | __all__ = ["ConversationUpdateResponse"] 9 | 10 | 11 | class ConversationUpdateResponse(BaseModel): 12 | data: Optional[Conversation] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/billing_group_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .billing_group import BillingGroup 7 | 8 | __all__ = ["BillingGroupRetrieveResponse"] 9 | 10 | 11 | class BillingGroupRetrieveResponse(BaseModel): 12 | data: Optional[BillingGroup] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/document_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .doc_service_document import DocServiceDocument 7 | 8 | __all__ = ["DocumentDeleteResponse"] 9 | 10 | 11 | class DocumentDeleteResponse(BaseModel): 12 | data: Optional[DocServiceDocument] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/document_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .doc_service_document import DocServiceDocument 7 | 8 | __all__ = ["DocumentUpdateResponse"] 9 | 10 | 11 | class DocumentUpdateResponse(BaseModel): 12 | data: Optional[DocServiceDocument] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/document_upload_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .doc_service_document import DocServiceDocument 7 | 8 | __all__ = ["DocumentUploadResponse"] 9 | 10 | 11 | class DocumentUploadResponse(BaseModel): 12 | data: Optional[DocServiceDocument] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/invoice_retrieve_params.py: -------------------------------------------------------------------------------- 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, TypedDict 6 | 7 | __all__ = ["InvoiceRetrieveParams"] 8 | 9 | 10 | class InvoiceRetrieveParams(TypedDict, total=False): 11 | action: Literal["json", "link"] 12 | """Invoice action""" 13 | -------------------------------------------------------------------------------- /src/telnyx/types/ip_connection_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .ip_connection import IPConnection 7 | 8 | __all__ = ["IPConnectionRetrieveResponse"] 9 | 10 | 11 | class IPConnectionRetrieveResponse(BaseModel): 12 | data: Optional[IPConnection] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/managed_accounts/action_enable_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from ..managed_account import ManagedAccount 7 | 8 | __all__ = ["ActionEnableResponse"] 9 | 10 | 11 | class ActionEnableResponse(BaseModel): 12 | data: Optional[ManagedAccount] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/phone_numbers/job_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .phone_numbers_job import PhoneNumbersJob 7 | 8 | __all__ = ["JobRetrieveResponse"] 9 | 10 | 11 | class JobRetrieveResponse(BaseModel): 12 | data: Optional[PhoneNumbersJob] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/sim_card_group_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .sim_card_group import SimCardGroup 7 | 8 | __all__ = ["SimCardGroupCreateResponse"] 9 | 10 | 11 | class SimCardGroupCreateResponse(BaseModel): 12 | data: Optional[SimCardGroup] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/sim_card_group_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .sim_card_group import SimCardGroup 7 | 8 | __all__ = ["SimCardGroupDeleteResponse"] 9 | 10 | 11 | class SimCardGroupDeleteResponse(BaseModel): 12 | data: Optional[SimCardGroup] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/sim_card_group_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .sim_card_group import SimCardGroup 7 | 8 | __all__ = ["SimCardGroupUpdateResponse"] 9 | 10 | 11 | class SimCardGroupUpdateResponse(BaseModel): 12 | data: Optional[SimCardGroup] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/sim_card_order_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .sim_card_order import SimCardOrder 7 | 8 | __all__ = ["SimCardOrderCreateResponse"] 9 | 10 | 11 | class SimCardOrderCreateResponse(BaseModel): 12 | data: Optional[SimCardOrder] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/storage/migrations/action_stop_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ...._models import BaseModel 6 | from ..migration_params import MigrationParams 7 | 8 | __all__ = ["ActionStopResponse"] 9 | 10 | 11 | class ActionStopResponse(BaseModel): 12 | data: Optional[MigrationParams] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/verified_number_data_wrapper.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .verified_number import VerifiedNumber 7 | 8 | __all__ = ["VerifiedNumberDataWrapper"] 9 | 10 | 11 | class VerifiedNumberDataWrapper(BaseModel): 12 | data: Optional[VerifiedNumber] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/conversation_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .conversation import Conversation 7 | 8 | __all__ = ["ConversationRetrieveResponse"] 9 | 10 | 11 | class ConversationRetrieveResponse(BaseModel): 12 | data: Optional[Conversation] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/hangup_tool_params.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | 7 | __all__ = ["HangupToolParams"] 8 | 9 | 10 | class HangupToolParams(BaseModel): 11 | description: Optional[str] = None 12 | """The description of the function that will be passed to the assistant.""" 13 | -------------------------------------------------------------------------------- /src/telnyx/types/consumed_data.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | 7 | __all__ = ["ConsumedData"] 8 | 9 | 10 | class ConsumedData(BaseModel): 11 | """Represents the amount of data consumed.""" 12 | 13 | amount: Optional[str] = None 14 | 15 | unit: Optional[str] = None 16 | -------------------------------------------------------------------------------- /src/telnyx/types/legacy/reporting/usage_report_retrieve_speech_to_text_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ...._models import BaseModel 6 | 7 | __all__ = ["UsageReportRetrieveSpeechToTextResponse"] 8 | 9 | 10 | class UsageReportRetrieveSpeechToTextResponse(BaseModel): 11 | data: Optional[object] = None 12 | -------------------------------------------------------------------------------- /src/telnyx/types/managed_accounts/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .action_enable_params import ActionEnableParams as ActionEnableParams 6 | from .action_enable_response import ActionEnableResponse as ActionEnableResponse 7 | from .action_disable_response import ActionDisableResponse as ActionDisableResponse 8 | -------------------------------------------------------------------------------- /src/telnyx/types/managed_accounts/action_disable_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from ..managed_account import ManagedAccount 7 | 8 | __all__ = ["ActionDisableResponse"] 9 | 10 | 11 | class ActionDisableResponse(BaseModel): 12 | data: Optional[ManagedAccount] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/message_send_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .outbound_message_payload import OutboundMessagePayload 7 | 8 | __all__ = ["MessageSendResponse"] 9 | 10 | 11 | class MessageSendResponse(BaseModel): 12 | data: Optional[OutboundMessagePayload] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/messages/rc_generate_deeplink_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | 5 | __all__ = ["RcGenerateDeeplinkResponse", "Data"] 6 | 7 | 8 | class Data(BaseModel): 9 | url: str 10 | """The generated deeplink URL""" 11 | 12 | 13 | class RcGenerateDeeplinkResponse(BaseModel): 14 | data: Data 15 | -------------------------------------------------------------------------------- /src/telnyx/types/network_create_params.py: -------------------------------------------------------------------------------- 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 Required, TypedDict 6 | 7 | __all__ = ["NetworkCreateParams"] 8 | 9 | 10 | class NetworkCreateParams(TypedDict, total=False): 11 | name: Required[str] 12 | """A user specified name for the network.""" 13 | -------------------------------------------------------------------------------- /src/telnyx/types/network_update_params.py: -------------------------------------------------------------------------------- 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 Required, TypedDict 6 | 7 | __all__ = ["NetworkUpdateParams"] 8 | 9 | 10 | class NetworkUpdateParams(TypedDict, total=False): 11 | name: Required[str] 12 | """A user specified name for the network.""" 13 | -------------------------------------------------------------------------------- /src/telnyx/types/notification_profile_create_params.py: -------------------------------------------------------------------------------- 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 TypedDict 6 | 7 | __all__ = ["NotificationProfileCreateParams"] 8 | 9 | 10 | class NotificationProfileCreateParams(TypedDict, total=False): 11 | name: str 12 | """A human readable name.""" 13 | -------------------------------------------------------------------------------- /src/telnyx/types/notification_profile_update_params.py: -------------------------------------------------------------------------------- 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 TypedDict 6 | 7 | __all__ = ["NotificationProfileUpdateParams"] 8 | 9 | 10 | class NotificationProfileUpdateParams(TypedDict, total=False): 11 | name: str 12 | """A human readable name.""" 13 | -------------------------------------------------------------------------------- /src/telnyx/types/portout_update_status_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .portout_details import PortoutDetails 7 | 8 | __all__ = ["PortoutUpdateStatusResponse"] 9 | 10 | 11 | class PortoutUpdateStatusResponse(BaseModel): 12 | data: Optional[PortoutDetails] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/sim_card_group_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .sim_card_group import SimCardGroup 7 | 8 | __all__ = ["SimCardGroupRetrieveResponse"] 9 | 10 | 11 | class SimCardGroupRetrieveResponse(BaseModel): 12 | data: Optional[SimCardGroup] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/sim_card_order_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .sim_card_order import SimCardOrder 7 | 8 | __all__ = ["SimCardOrderRetrieveResponse"] 9 | 10 | 11 | class SimCardOrderRetrieveResponse(BaseModel): 12 | data: Optional[SimCardOrder] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/storage/migration_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .migration_params import MigrationParams 7 | 8 | __all__ = ["MigrationCreateResponse"] 9 | 10 | 11 | class MigrationCreateResponse(BaseModel): 12 | data: Optional[MigrationParams] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/access_ip_range_create_params.py: -------------------------------------------------------------------------------- 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 Required, TypedDict 6 | 7 | __all__ = ["AccessIPRangeCreateParams"] 8 | 9 | 10 | class AccessIPRangeCreateParams(TypedDict, total=False): 11 | cidr_block: Required[str] 12 | 13 | description: str 14 | -------------------------------------------------------------------------------- /src/telnyx/types/document_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .doc_service_document import DocServiceDocument 7 | 8 | __all__ = ["DocumentRetrieveResponse"] 9 | 10 | 11 | class DocumentRetrieveResponse(BaseModel): 12 | data: Optional[DocServiceDocument] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/fax_application_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .fax_application import FaxApplication 7 | 8 | __all__ = ["FaxApplicationCreateResponse"] 9 | 10 | 11 | class FaxApplicationCreateResponse(BaseModel): 12 | data: Optional[FaxApplication] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/fax_application_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .fax_application import FaxApplication 7 | 8 | __all__ = ["FaxApplicationDeleteResponse"] 9 | 10 | 11 | class FaxApplicationDeleteResponse(BaseModel): 12 | data: Optional[FaxApplication] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/fax_application_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .fax_application import FaxApplication 7 | 8 | __all__ = ["FaxApplicationUpdateResponse"] 9 | 10 | 11 | class FaxApplicationUpdateResponse(BaseModel): 12 | data: Optional[FaxApplication] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/fqdn_connection_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .fqdn_connection import FqdnConnection 7 | 8 | __all__ = ["FqdnConnectionCreateResponse"] 9 | 10 | 11 | class FqdnConnectionCreateResponse(BaseModel): 12 | data: Optional[FqdnConnection] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/fqdn_connection_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .fqdn_connection import FqdnConnection 7 | 8 | __all__ = ["FqdnConnectionDeleteResponse"] 9 | 10 | 11 | class FqdnConnectionDeleteResponse(BaseModel): 12 | data: Optional[FqdnConnection] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/fqdn_connection_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .fqdn_connection import FqdnConnection 7 | 8 | __all__ = ["FqdnConnectionUpdateResponse"] 9 | 10 | 11 | class FqdnConnectionUpdateResponse(BaseModel): 12 | data: Optional[FqdnConnection] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/managed_account_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .managed_account import ManagedAccount 7 | 8 | __all__ = ["ManagedAccountCreateResponse"] 9 | 10 | 11 | class ManagedAccountCreateResponse(BaseModel): 12 | data: Optional[ManagedAccount] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/managed_account_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .managed_account import ManagedAccount 7 | 8 | __all__ = ["ManagedAccountUpdateResponse"] 9 | 10 | 11 | class ManagedAccountUpdateResponse(BaseModel): 12 | data: Optional[ManagedAccount] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/messaging_tollfree/verification/tf_phone_number.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from pydantic import Field as FieldInfo 4 | 5 | from ...._models import BaseModel 6 | 7 | __all__ = ["TfPhoneNumber"] 8 | 9 | 10 | class TfPhoneNumber(BaseModel): 11 | """A phone number""" 12 | 13 | phone_number: str = FieldInfo(alias="phoneNumber") 14 | -------------------------------------------------------------------------------- /src/telnyx/types/networks/default_gateway_create_params.py: -------------------------------------------------------------------------------- 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 TypedDict 6 | 7 | __all__ = ["DefaultGatewayCreateParams"] 8 | 9 | 10 | class DefaultGatewayCreateParams(TypedDict, total=False): 11 | wireguard_peer_id: str 12 | """Wireguard peer ID.""" 13 | -------------------------------------------------------------------------------- /src/telnyx/types/phone_number_blocks/job_delete_phone_number_block_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .job import Job 6 | from ..._models import BaseModel 7 | 8 | __all__ = ["JobDeletePhoneNumberBlockResponse"] 9 | 10 | 11 | class JobDeletePhoneNumberBlockResponse(BaseModel): 12 | data: Optional[Job] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/phone_numbers/job_delete_batch_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .phone_numbers_job import PhoneNumbersJob 7 | 8 | __all__ = ["JobDeleteBatchResponse"] 9 | 10 | 11 | class JobDeleteBatchResponse(BaseModel): 12 | data: Optional[PhoneNumbersJob] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/phone_numbers/job_update_batch_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .phone_numbers_job import PhoneNumbersJob 7 | 8 | __all__ = ["JobUpdateBatchResponse"] 9 | 10 | 11 | class JobUpdateBatchResponse(BaseModel): 12 | data: Optional[PhoneNumbersJob] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/porting_order_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List, Optional 4 | 5 | from .._models import BaseModel 6 | from .porting_order import PortingOrder 7 | 8 | __all__ = ["PortingOrderCreateResponse"] 9 | 10 | 11 | class PortingOrderCreateResponse(BaseModel): 12 | data: Optional[List[PortingOrder]] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/storage/migration_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .migration_params import MigrationParams 7 | 8 | __all__ = ["MigrationRetrieveResponse"] 9 | 10 | 11 | class MigrationRetrieveResponse(BaseModel): 12 | data: Optional[MigrationParams] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/sub_number_order_cancel_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .sub_number_order import SubNumberOrder 7 | 8 | __all__ = ["SubNumberOrderCancelResponse"] 9 | 10 | 11 | class SubNumberOrderCancelResponse(BaseModel): 12 | data: Optional[SubNumberOrder] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/sub_number_order_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .sub_number_order import SubNumberOrder 7 | 8 | __all__ = ["SubNumberOrderUpdateResponse"] 9 | 10 | 11 | class SubNumberOrderUpdateResponse(BaseModel): 12 | data: Optional[SubNumberOrder] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/access_ip_address_create_params.py: -------------------------------------------------------------------------------- 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 Required, TypedDict 6 | 7 | __all__ = ["AccessIPAddressCreateParams"] 8 | 9 | 10 | class AccessIPAddressCreateParams(TypedDict, total=False): 11 | ip_address: Required[str] 12 | 13 | description: str 14 | -------------------------------------------------------------------------------- /src/telnyx/types/channel_zone_update_params.py: -------------------------------------------------------------------------------- 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 Required, TypedDict 6 | 7 | __all__ = ["ChannelZoneUpdateParams"] 8 | 9 | 10 | class ChannelZoneUpdateParams(TypedDict, total=False): 11 | channels: Required[int] 12 | """The number of reserved channels""" 13 | -------------------------------------------------------------------------------- /src/telnyx/types/document_upload_json_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .doc_service_document import DocServiceDocument 7 | 8 | __all__ = ["DocumentUploadJsonResponse"] 9 | 10 | 11 | class DocumentUploadJsonResponse(BaseModel): 12 | data: Optional[DocServiceDocument] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/fax_application_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .fax_application import FaxApplication 7 | 8 | __all__ = ["FaxApplicationRetrieveResponse"] 9 | 10 | 11 | class FaxApplicationRetrieveResponse(BaseModel): 12 | data: Optional[FaxApplication] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/fqdn_connection_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .fqdn_connection import FqdnConnection 7 | 8 | __all__ = ["FqdnConnectionRetrieveResponse"] 9 | 10 | 11 | class FqdnConnectionRetrieveResponse(BaseModel): 12 | data: Optional[FqdnConnection] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/managed_account_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .managed_account import ManagedAccount 7 | 8 | __all__ = ["ManagedAccountRetrieveResponse"] 9 | 10 | 11 | class ManagedAccountRetrieveResponse(BaseModel): 12 | data: Optional[ManagedAccount] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/message_schedule_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .outbound_message_payload import OutboundMessagePayload 7 | 8 | __all__ = ["MessageScheduleResponse"] 9 | 10 | 11 | class MessageScheduleResponse(BaseModel): 12 | data: Optional[OutboundMessagePayload] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/messaging_tollfree/verification/tf_verification_status.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["TfVerificationStatus"] 6 | 7 | TfVerificationStatus: TypeAlias = Literal[ 8 | "Verified", "Rejected", "Waiting For Vendor", "Waiting For Customer", "Waiting For Telnyx", "In Progress" 9 | ] 10 | -------------------------------------------------------------------------------- /src/telnyx/types/number_reservations/action_extend_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from ..number_reservation import NumberReservation 7 | 8 | __all__ = ["ActionExtendResponse"] 9 | 10 | 11 | class ActionExtendResponse(BaseModel): 12 | data: Optional[NumberReservation] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/pagination_meta_cloudflare_ip_list_sync.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from .._models import BaseModel 4 | 5 | __all__ = ["PaginationMetaCloudflareIPListSync"] 6 | 7 | 8 | class PaginationMetaCloudflareIPListSync(BaseModel): 9 | page_number: int 10 | 11 | page_size: int 12 | 13 | total_pages: int 14 | 15 | total_results: int 16 | -------------------------------------------------------------------------------- /src/telnyx/types/phone_number_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .phone_number_detailed import PhoneNumberDetailed 7 | 8 | __all__ = ["PhoneNumberUpdateResponse"] 9 | 10 | 11 | class PhoneNumberUpdateResponse(BaseModel): 12 | data: Optional[PhoneNumberDetailed] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/phone_numbers/csv_download_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List, Optional 4 | 5 | from ..._models import BaseModel 6 | from .csv_download import CsvDownload 7 | 8 | __all__ = ["CsvDownloadCreateResponse"] 9 | 10 | 11 | class CsvDownloadCreateResponse(BaseModel): 12 | data: Optional[List[CsvDownload]] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/recording_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .recording_response_data import RecordingResponseData 7 | 8 | __all__ = ["RecordingDeleteResponse"] 9 | 10 | 11 | class RecordingDeleteResponse(BaseModel): 12 | data: Optional[RecordingResponseData] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/room_composition_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .room_composition import RoomComposition 7 | 8 | __all__ = ["RoomCompositionCreateResponse"] 9 | 10 | 11 | class RoomCompositionCreateResponse(BaseModel): 12 | data: Optional[RoomComposition] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/sip_header.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal 4 | 5 | from .._models import BaseModel 6 | 7 | __all__ = ["SipHeader"] 8 | 9 | 10 | class SipHeader(BaseModel): 11 | name: Literal["User-to-User"] 12 | """The name of the header to add.""" 13 | 14 | value: str 15 | """The value of the header.""" 16 | -------------------------------------------------------------------------------- /src/telnyx/types/sub_number_order_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .sub_number_order import SubNumberOrder 7 | 8 | __all__ = ["SubNumberOrderRetrieveResponse"] 9 | 10 | 11 | class SubNumberOrderRetrieveResponse(BaseModel): 12 | data: Optional[SubNumberOrder] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/verified_number_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | 7 | __all__ = ["VerifiedNumberCreateResponse"] 8 | 9 | 10 | class VerifiedNumberCreateResponse(BaseModel): 11 | phone_number: Optional[str] = None 12 | 13 | verification_method: Optional[str] = None 14 | -------------------------------------------------------------------------------- /src/telnyx/types/verify_profile_message_template_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | 7 | __all__ = ["VerifyProfileMessageTemplateResponse"] 8 | 9 | 10 | class VerifyProfileMessageTemplateResponse(BaseModel): 11 | id: Optional[str] = None 12 | 13 | text: Optional[str] = None 14 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/assistants/version_retrieve_params.py: -------------------------------------------------------------------------------- 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 Required, TypedDict 6 | 7 | __all__ = ["VersionRetrieveParams"] 8 | 9 | 10 | class VersionRetrieveParams(TypedDict, total=False): 11 | assistant_id: Required[str] 12 | 13 | include_mcp_servers: bool 14 | -------------------------------------------------------------------------------- /src/telnyx/types/calls/action_bridge_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .call_control_command_result import CallControlCommandResult 7 | 8 | __all__ = ["ActionBridgeResponse"] 9 | 10 | 11 | class ActionBridgeResponse(BaseModel): 12 | data: Optional[CallControlCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/calls/action_gather_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .call_control_command_result import CallControlCommandResult 7 | 8 | __all__ = ["ActionGatherResponse"] 9 | 10 | 11 | class ActionGatherResponse(BaseModel): 12 | data: Optional[CallControlCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/calls/action_hangup_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .call_control_command_result import CallControlCommandResult 7 | 8 | __all__ = ["ActionHangupResponse"] 9 | 10 | 11 | class ActionHangupResponse(BaseModel): 12 | data: Optional[CallControlCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/calls/action_refer_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .call_control_command_result import CallControlCommandResult 7 | 8 | __all__ = ["ActionReferResponse"] 9 | 10 | 11 | class ActionReferResponse(BaseModel): 12 | data: Optional[CallControlCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/calls/action_reject_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .call_control_command_result import CallControlCommandResult 7 | 8 | __all__ = ["ActionRejectResponse"] 9 | 10 | 11 | class ActionRejectResponse(BaseModel): 12 | data: Optional[CallControlCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/calls/action_speak_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .call_control_command_result import CallControlCommandResult 7 | 8 | __all__ = ["ActionSpeakResponse"] 9 | 10 | 11 | class ActionSpeakResponse(BaseModel): 12 | data: Optional[CallControlCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/campaign/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .usecase_get_cost_params import UsecaseGetCostParams as UsecaseGetCostParams 6 | from .usecase_get_cost_response import UsecaseGetCostResponse as UsecaseGetCostResponse 7 | from .osr_get_attributes_response import OsrGetAttributesResponse as OsrGetAttributesResponse 8 | -------------------------------------------------------------------------------- /src/telnyx/types/campaign_deactivate_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | 7 | __all__ = ["CampaignDeactivateResponse"] 8 | 9 | 10 | class CampaignDeactivateResponse(BaseModel): 11 | time: float 12 | 13 | message: Optional[str] = None 14 | 15 | record_type: Optional[str] = None 16 | -------------------------------------------------------------------------------- /src/telnyx/types/conferences/action_hold_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .conference_command_result import ConferenceCommandResult 7 | 8 | __all__ = ["ActionHoldResponse"] 9 | 10 | 11 | class ActionHoldResponse(BaseModel): 12 | data: Optional[ConferenceCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/conferences/action_join_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .conference_command_result import ConferenceCommandResult 7 | 8 | __all__ = ["ActionJoinResponse"] 9 | 10 | 11 | class ActionJoinResponse(BaseModel): 12 | data: Optional[ConferenceCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/conferences/action_leave_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .conference_command_result import ConferenceCommandResult 7 | 8 | __all__ = ["ActionLeaveResponse"] 9 | 10 | 11 | class ActionLeaveResponse(BaseModel): 12 | data: Optional[ConferenceCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/conferences/action_mute_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .conference_command_result import ConferenceCommandResult 7 | 8 | __all__ = ["ActionMuteResponse"] 9 | 10 | 11 | class ActionMuteResponse(BaseModel): 12 | data: Optional[ConferenceCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/conferences/action_play_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .conference_command_result import ConferenceCommandResult 7 | 8 | __all__ = ["ActionPlayResponse"] 9 | 10 | 11 | class ActionPlayResponse(BaseModel): 12 | data: Optional[ConferenceCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/conferences/action_speak_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .conference_command_result import ConferenceCommandResult 7 | 8 | __all__ = ["ActionSpeakResponse"] 9 | 10 | 11 | class ActionSpeakResponse(BaseModel): 12 | data: Optional[ConferenceCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/conferences/action_stop_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .conference_command_result import ConferenceCommandResult 7 | 8 | __all__ = ["ActionStopResponse"] 9 | 10 | 11 | class ActionStopResponse(BaseModel): 12 | data: Optional[ConferenceCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/messaging_profile_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .messaging_profile import MessagingProfile 7 | 8 | __all__ = ["MessagingProfileCreateResponse"] 9 | 10 | 11 | class MessagingProfileCreateResponse(BaseModel): 12 | data: Optional[MessagingProfile] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/messaging_profile_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .messaging_profile import MessagingProfile 7 | 8 | __all__ = ["MessagingProfileDeleteResponse"] 9 | 10 | 11 | class MessagingProfileDeleteResponse(BaseModel): 12 | data: Optional[MessagingProfile] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/messaging_profile_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .messaging_profile import MessagingProfile 7 | 8 | __all__ = ["MessagingProfileUpdateResponse"] 9 | 10 | 11 | class MessagingProfileUpdateResponse(BaseModel): 12 | data: Optional[MessagingProfile] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/number_block_order_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .number_block_order import NumberBlockOrder 7 | 8 | __all__ = ["NumberBlockOrderCreateResponse"] 9 | 10 | 11 | class NumberBlockOrderCreateResponse(BaseModel): 12 | data: Optional[NumberBlockOrder] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/phone_number_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .phone_number_detailed import PhoneNumberDetailed 7 | 8 | __all__ = ["PhoneNumberRetrieveResponse"] 9 | 10 | 11 | class PhoneNumberRetrieveResponse(BaseModel): 12 | data: Optional[PhoneNumberDetailed] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/recording_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .recording_response_data import RecordingResponseData 7 | 8 | __all__ = ["RecordingRetrieveResponse"] 9 | 10 | 11 | class RecordingRetrieveResponse(BaseModel): 12 | data: Optional[RecordingResponseData] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/reports/mdr_usage_report_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .mdr_usage_report import MdrUsageReport 7 | 8 | __all__ = ["MdrUsageReportCreateResponse"] 9 | 10 | 11 | class MdrUsageReportCreateResponse(BaseModel): 12 | data: Optional[MdrUsageReport] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/reports/mdr_usage_report_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .mdr_usage_report import MdrUsageReport 7 | 8 | __all__ = ["MdrUsageReportDeleteResponse"] 9 | 10 | 11 | class MdrUsageReportDeleteResponse(BaseModel): 12 | data: Optional[MdrUsageReport] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/room_composition_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .room_composition import RoomComposition 7 | 8 | __all__ = ["RoomCompositionRetrieveResponse"] 9 | 10 | 11 | class RoomCompositionRetrieveResponse(BaseModel): 12 | data: Optional[RoomComposition] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/room_retrieve_params.py: -------------------------------------------------------------------------------- 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 TypedDict 6 | 7 | __all__ = ["RoomRetrieveParams"] 8 | 9 | 10 | class RoomRetrieveParams(TypedDict, total=False): 11 | include_sessions: bool 12 | """To decide if room sessions should be included in the response.""" 13 | -------------------------------------------------------------------------------- /src/telnyx/types/rooms/sessions/action_end_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ...._models import BaseModel 6 | 7 | __all__ = ["ActionEndResponse", "Data"] 8 | 9 | 10 | class Data(BaseModel): 11 | result: Optional[str] = None 12 | 13 | 14 | class ActionEndResponse(BaseModel): 15 | data: Optional[Data] = None 16 | -------------------------------------------------------------------------------- /src/telnyx/types/rooms/sessions/action_kick_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ...._models import BaseModel 6 | 7 | __all__ = ["ActionKickResponse", "Data"] 8 | 9 | 10 | class Data(BaseModel): 11 | result: Optional[str] = None 12 | 13 | 14 | class ActionKickResponse(BaseModel): 15 | data: Optional[Data] = None 16 | -------------------------------------------------------------------------------- /src/telnyx/types/rooms/sessions/action_mute_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ...._models import BaseModel 6 | 7 | __all__ = ["ActionMuteResponse", "Data"] 8 | 9 | 10 | class Data(BaseModel): 11 | result: Optional[str] = None 12 | 13 | 14 | class ActionMuteResponse(BaseModel): 15 | data: Optional[Data] = None 16 | -------------------------------------------------------------------------------- /src/telnyx/types/sim_card_group_retrieve_params.py: -------------------------------------------------------------------------------- 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 TypedDict 6 | 7 | __all__ = ["SimCardGroupRetrieveParams"] 8 | 9 | 10 | class SimCardGroupRetrieveParams(TypedDict, total=False): 11 | include_iccids: bool 12 | """It includes a list of associated ICCIDs.""" 13 | -------------------------------------------------------------------------------- /src/telnyx/types/texml_application_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .texml_application import TexmlApplication 7 | 8 | __all__ = ["TexmlApplicationCreateResponse"] 9 | 10 | 11 | class TexmlApplicationCreateResponse(BaseModel): 12 | data: Optional[TexmlApplication] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/texml_application_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .texml_application import TexmlApplication 7 | 8 | __all__ = ["TexmlApplicationDeleteResponse"] 9 | 10 | 11 | class TexmlApplicationDeleteResponse(BaseModel): 12 | data: Optional[TexmlApplication] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/texml_application_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .texml_application import TexmlApplication 7 | 8 | __all__ = ["TexmlApplicationUpdateResponse"] 9 | 10 | 11 | class TexmlApplicationUpdateResponse(BaseModel): 12 | data: Optional[TexmlApplication] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/wireless/detail_records_report_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .wdr_report import WdrReport 7 | 8 | __all__ = ["DetailRecordsReportCreateResponse"] 9 | 10 | 11 | class DetailRecordsReportCreateResponse(BaseModel): 12 | data: Optional[WdrReport] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/wireless/detail_records_report_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .wdr_report import WdrReport 7 | 8 | __all__ = ["DetailRecordsReportDeleteResponse"] 9 | 10 | 11 | class DetailRecordsReportDeleteResponse(BaseModel): 12 | data: Optional[WdrReport] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/conversations/insight_group_update_params.py: -------------------------------------------------------------------------------- 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 TypedDict 6 | 7 | __all__ = ["InsightGroupUpdateParams"] 8 | 9 | 10 | class InsightGroupUpdateParams(TypedDict, total=False): 11 | description: str 12 | 13 | name: str 14 | 15 | webhook: str 16 | -------------------------------------------------------------------------------- /src/telnyx/types/calls/action_enqueue_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .call_control_command_result import CallControlCommandResult 7 | 8 | __all__ = ["ActionEnqueueResponse"] 9 | 10 | 11 | class ActionEnqueueResponse(BaseModel): 12 | data: Optional[CallControlCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/conferences/action_unhold_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .conference_command_result import ConferenceCommandResult 7 | 8 | __all__ = ["ActionUnholdResponse"] 9 | 10 | 11 | class ActionUnholdResponse(BaseModel): 12 | data: Optional[ConferenceCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/conferences/action_unmute_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .conference_command_result import ConferenceCommandResult 7 | 8 | __all__ = ["ActionUnmuteResponse"] 9 | 10 | 11 | class ActionUnmuteResponse(BaseModel): 12 | data: Optional[ConferenceCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/conferences/action_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .conference_command_result import ConferenceCommandResult 7 | 8 | __all__ = ["ActionUpdateResponse"] 9 | 10 | 11 | class ActionUpdateResponse(BaseModel): 12 | data: Optional[ConferenceCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/messaging_profile_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .messaging_profile import MessagingProfile 7 | 8 | __all__ = ["MessagingProfileRetrieveResponse"] 9 | 10 | 11 | class MessagingProfileRetrieveResponse(BaseModel): 12 | data: Optional[MessagingProfile] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/messaging_tollfree/verification/toll_free_verification_entity_type.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["TollFreeVerificationEntityType"] 6 | 7 | TollFreeVerificationEntityType: TypeAlias = Literal[ 8 | "SOLE_PROPRIETOR", "PRIVATE_PROFIT", "PUBLIC_PROFIT", "NON_PROFIT", "GOVERNMENT" 9 | ] 10 | -------------------------------------------------------------------------------- /src/telnyx/types/mobile_phone_numbers/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .messaging_list_params import MessagingListParams as MessagingListParams 6 | from .messaging_list_response import MessagingListResponse as MessagingListResponse 7 | from .messaging_retrieve_response import MessagingRetrieveResponse as MessagingRetrieveResponse 8 | -------------------------------------------------------------------------------- /src/telnyx/types/number_reservation_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .number_reservation import NumberReservation 7 | 8 | __all__ = ["NumberReservationCreateResponse"] 9 | 10 | 11 | class NumberReservationCreateResponse(BaseModel): 12 | data: Optional[NumberReservation] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/phone_number_blocks/job_delete_phone_number_block_params.py: -------------------------------------------------------------------------------- 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 Required, TypedDict 6 | 7 | __all__ = ["JobDeletePhoneNumberBlockParams"] 8 | 9 | 10 | class JobDeletePhoneNumberBlockParams(TypedDict, total=False): 11 | phone_number_block_id: Required[str] 12 | -------------------------------------------------------------------------------- /src/telnyx/types/phone_numbers/csv_download_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List, Optional 4 | 5 | from ..._models import BaseModel 6 | from .csv_download import CsvDownload 7 | 8 | __all__ = ["CsvDownloadRetrieveResponse"] 9 | 10 | 11 | class CsvDownloadRetrieveResponse(BaseModel): 12 | data: Optional[List[CsvDownload]] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/reports/mdr_usage_report_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .mdr_usage_report import MdrUsageReport 7 | 8 | __all__ = ["MdrUsageReportRetrieveResponse"] 9 | 10 | 11 | class MdrUsageReportRetrieveResponse(BaseModel): 12 | data: Optional[MdrUsageReport] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/room_participant_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .shared.room_participant import RoomParticipant 7 | 8 | __all__ = ["RoomParticipantRetrieveResponse"] 9 | 10 | 11 | class RoomParticipantRetrieveResponse(BaseModel): 12 | data: Optional[RoomParticipant] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/rooms/sessions/action_unmute_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ...._models import BaseModel 6 | 7 | __all__ = ["ActionUnmuteResponse", "Data"] 8 | 9 | 10 | class Data(BaseModel): 11 | result: Optional[str] = None 12 | 13 | 14 | class ActionUnmuteResponse(BaseModel): 15 | data: Optional[Data] = None 16 | -------------------------------------------------------------------------------- /src/telnyx/types/storage/buckets/ssl_certificate_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ...._models import BaseModel 6 | from .ssl_certificate import SslCertificate 7 | 8 | __all__ = ["SslCertificateCreateResponse"] 9 | 10 | 11 | class SslCertificateCreateResponse(BaseModel): 12 | data: Optional[SslCertificate] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/storage/buckets/ssl_certificate_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ...._models import BaseModel 6 | from .ssl_certificate import SslCertificate 7 | 8 | __all__ = ["SslCertificateDeleteResponse"] 9 | 10 | 11 | class SslCertificateDeleteResponse(BaseModel): 12 | data: Optional[SslCertificate] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/texml_application_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .texml_application import TexmlApplication 7 | 8 | __all__ = ["TexmlApplicationRetrieveResponse"] 9 | 10 | 11 | class TexmlApplicationRetrieveResponse(BaseModel): 12 | data: Optional[TexmlApplication] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/wireless/detail_records_report_list_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List, Optional 4 | 5 | from ..._models import BaseModel 6 | from .wdr_report import WdrReport 7 | 8 | __all__ = ["DetailRecordsReportListResponse"] 9 | 10 | 11 | class DetailRecordsReportListResponse(BaseModel): 12 | data: Optional[List[WdrReport]] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/wireless/detail_records_report_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .wdr_report import WdrReport 7 | 8 | __all__ = ["DetailRecordsReportRetrieveResponse"] 9 | 10 | 11 | class DetailRecordsReportRetrieveResponse(BaseModel): 12 | data: Optional[WdrReport] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/wireless_blocklist_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .wireless_blocklist import WirelessBlocklist 7 | 8 | __all__ = ["WirelessBlocklistCreateResponse"] 9 | 10 | 11 | class WirelessBlocklistCreateResponse(BaseModel): 12 | data: Optional[WirelessBlocklist] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/wireless_blocklist_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .wireless_blocklist import WirelessBlocklist 7 | 8 | __all__ = ["WirelessBlocklistDeleteResponse"] 9 | 10 | 11 | class WirelessBlocklistDeleteResponse(BaseModel): 12 | data: Optional[WirelessBlocklist] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/wireless_blocklist_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .wireless_blocklist import WirelessBlocklist 7 | 8 | __all__ = ["WirelessBlocklistUpdateResponse"] 9 | 10 | 11 | class WirelessBlocklistUpdateResponse(BaseModel): 12 | data: Optional[WirelessBlocklist] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/bundle_pricing/user_bundle_list_resources_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List 4 | 5 | from ..._models import BaseModel 6 | from .user_bundle_resource import UserBundleResource 7 | 8 | __all__ = ["UserBundleListResourcesResponse"] 9 | 10 | 11 | class UserBundleListResourcesResponse(BaseModel): 12 | data: List[UserBundleResource] 13 | -------------------------------------------------------------------------------- /src/telnyx/types/calls/action_send_dtmf_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .call_control_command_result import CallControlCommandResult 7 | 8 | __all__ = ["ActionSendDtmfResponse"] 9 | 10 | 11 | class ActionSendDtmfResponse(BaseModel): 12 | data: Optional[CallControlCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/calls/action_transfer_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .call_control_command_result import CallControlCommandResult 7 | 8 | __all__ = ["ActionTransferResponse"] 9 | 10 | 11 | class ActionTransferResponse(BaseModel): 12 | data: Optional[CallControlCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/calls/aws_voice_settings_param.py: -------------------------------------------------------------------------------- 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, Required, TypedDict 6 | 7 | __all__ = ["AwsVoiceSettingsParam"] 8 | 9 | 10 | class AwsVoiceSettingsParam(TypedDict, total=False): 11 | type: Required[Literal["aws"]] 12 | """Voice settings provider type""" 13 | -------------------------------------------------------------------------------- /src/telnyx/types/external_connection_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .external_connection import ExternalConnection 7 | 8 | __all__ = ["ExternalConnectionCreateResponse"] 9 | 10 | 11 | class ExternalConnectionCreateResponse(BaseModel): 12 | data: Optional[ExternalConnection] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/external_connection_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .external_connection import ExternalConnection 7 | 8 | __all__ = ["ExternalConnectionDeleteResponse"] 9 | 10 | 11 | class ExternalConnectionDeleteResponse(BaseModel): 12 | data: Optional[ExternalConnection] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/external_connection_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .external_connection import ExternalConnection 7 | 8 | __all__ = ["ExternalConnectionUpdateResponse"] 9 | 10 | 11 | class ExternalConnectionUpdateResponse(BaseModel): 12 | data: Optional[ExternalConnection] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/message_send_group_mms_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .outbound_message_payload import OutboundMessagePayload 7 | 8 | __all__ = ["MessageSendGroupMmsResponse"] 9 | 10 | 11 | class MessageSendGroupMmsResponse(BaseModel): 12 | data: Optional[OutboundMessagePayload] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/message_send_long_code_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .outbound_message_payload import OutboundMessagePayload 7 | 8 | __all__ = ["MessageSendLongCodeResponse"] 9 | 10 | 11 | class MessageSendLongCodeResponse(BaseModel): 12 | data: Optional[OutboundMessagePayload] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/messaging/rc_retrieve_capabilities_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .rcs_capabilities import RcsCapabilities 7 | 8 | __all__ = ["RcRetrieveCapabilitiesResponse"] 9 | 10 | 11 | class RcRetrieveCapabilitiesResponse(BaseModel): 12 | data: Optional[RcsCapabilities] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/number_block_order_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .number_block_order import NumberBlockOrder 7 | 8 | __all__ = ["NumberBlockOrderRetrieveResponse"] 9 | 10 | 11 | class NumberBlockOrderRetrieveResponse(BaseModel): 12 | data: Optional[NumberBlockOrder] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/number_reservation_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .number_reservation import NumberReservation 7 | 8 | __all__ = ["NumberReservationRetrieveResponse"] 9 | 10 | 11 | class NumberReservationRetrieveResponse(BaseModel): 12 | data: Optional[NumberReservation] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/phone_numbers/voicemail_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .voicemail_pref_response import VoicemailPrefResponse 7 | 8 | __all__ = ["VoicemailCreateResponse"] 9 | 10 | 11 | class VoicemailCreateResponse(BaseModel): 12 | data: Optional[VoicemailPrefResponse] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/phone_numbers/voicemail_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .voicemail_pref_response import VoicemailPrefResponse 7 | 8 | __all__ = ["VoicemailUpdateResponse"] 9 | 10 | 11 | class VoicemailUpdateResponse(BaseModel): 12 | data: Optional[VoicemailPrefResponse] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/reports/mdr_usage_report_fetch_sync_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .mdr_usage_report import MdrUsageReport 7 | 8 | __all__ = ["MdrUsageReportFetchSyncResponse"] 9 | 10 | 11 | class MdrUsageReportFetchSyncResponse(BaseModel): 12 | data: Optional[MdrUsageReport] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/storage/buckets/ssl_certificate_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ...._models import BaseModel 6 | from .ssl_certificate import SslCertificate 7 | 8 | __all__ = ["SslCertificateRetrieveResponse"] 9 | 10 | 11 | class SslCertificateRetrieveResponse(BaseModel): 12 | data: Optional[SslCertificate] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/verified_numbers/action_submit_verification_code_params.py: -------------------------------------------------------------------------------- 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 Required, TypedDict 6 | 7 | __all__ = ["ActionSubmitVerificationCodeParams"] 8 | 9 | 10 | class ActionSubmitVerificationCodeParams(TypedDict, total=False): 11 | verification_code: Required[str] 12 | -------------------------------------------------------------------------------- /src/telnyx/types/wireless_blocklist_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .wireless_blocklist import WirelessBlocklist 7 | 8 | __all__ = ["WirelessBlocklistRetrieveResponse"] 9 | 10 | 11 | class WirelessBlocklistRetrieveResponse(BaseModel): 12 | data: Optional[WirelessBlocklist] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/hangup_tool_params_param.py: -------------------------------------------------------------------------------- 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 TypedDict 6 | 7 | __all__ = ["HangupToolParamsParam"] 8 | 9 | 10 | class HangupToolParamsParam(TypedDict, total=False): 11 | description: str 12 | """The description of the function that will be passed to the assistant.""" 13 | -------------------------------------------------------------------------------- /src/telnyx/types/calls/action_leave_queue_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .call_control_command_result import CallControlCommandResult 7 | 8 | __all__ = ["ActionLeaveQueueResponse"] 9 | 10 | 11 | class ActionLeaveQueueResponse(BaseModel): 12 | data: Optional[CallControlCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/calls/action_stop_gather_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .call_control_command_result import CallControlCommandResult 7 | 8 | __all__ = ["ActionStopGatherResponse"] 9 | 10 | 11 | class ActionStopGatherResponse(BaseModel): 12 | data: Optional[CallControlCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/calls/action_stop_siprec_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .call_control_command_result import CallControlCommandResult 7 | 8 | __all__ = ["ActionStopSiprecResponse"] 9 | 10 | 11 | class ActionStopSiprecResponse(BaseModel): 12 | data: Optional[CallControlCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/conferences/action_record_stop_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .conference_command_result import ConferenceCommandResult 7 | 8 | __all__ = ["ActionRecordStopResponse"] 9 | 10 | 11 | class ActionRecordStopResponse(BaseModel): 12 | data: Optional[ConferenceCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/external_connections/log_message_dismiss_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | 7 | __all__ = ["LogMessageDismissResponse"] 8 | 9 | 10 | class LogMessageDismissResponse(BaseModel): 11 | success: Optional[bool] = None 12 | """Describes wether or not the operation was successful""" 13 | -------------------------------------------------------------------------------- /src/telnyx/types/global_ip_assignment_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .global_ip_assignment import GlobalIPAssignment 7 | 8 | __all__ = ["GlobalIPAssignmentCreateResponse"] 9 | 10 | 11 | class GlobalIPAssignmentCreateResponse(BaseModel): 12 | data: Optional[GlobalIPAssignment] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/global_ip_assignment_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .global_ip_assignment import GlobalIPAssignment 7 | 8 | __all__ = ["GlobalIPAssignmentDeleteResponse"] 9 | 10 | 11 | class GlobalIPAssignmentDeleteResponse(BaseModel): 12 | data: Optional[GlobalIPAssignment] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/global_ip_assignment_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .global_ip_assignment import GlobalIPAssignment 7 | 8 | __all__ = ["GlobalIPAssignmentUpdateResponse"] 9 | 10 | 11 | class GlobalIPAssignmentUpdateResponse(BaseModel): 12 | data: Optional[GlobalIPAssignment] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/message_send_number_pool_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .outbound_message_payload import OutboundMessagePayload 7 | 8 | __all__ = ["MessageSendNumberPoolResponse"] 9 | 10 | 11 | class MessageSendNumberPoolResponse(BaseModel): 12 | data: Optional[OutboundMessagePayload] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/message_send_short_code_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .outbound_message_payload import OutboundMessagePayload 7 | 8 | __all__ = ["MessageSendShortCodeResponse"] 9 | 10 | 11 | class MessageSendShortCodeResponse(BaseModel): 12 | data: Optional[OutboundMessagePayload] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/message_template.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .verify_profile_message_template_response import VerifyProfileMessageTemplateResponse 7 | 8 | __all__ = ["MessageTemplate"] 9 | 10 | 11 | class MessageTemplate(BaseModel): 12 | data: Optional[VerifyProfileMessageTemplateResponse] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/phone_numbers/voicemail_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .voicemail_pref_response import VoicemailPrefResponse 7 | 8 | __all__ = ["VoicemailRetrieveResponse"] 9 | 10 | 11 | class VoicemailRetrieveResponse(BaseModel): 12 | data: Optional[VoicemailPrefResponse] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/calls/action_send_sip_info_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .call_control_command_result import CallControlCommandResult 7 | 8 | __all__ = ["ActionSendSipInfoResponse"] 9 | 10 | 11 | class ActionSendSipInfoResponse(BaseModel): 12 | data: Optional[CallControlCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/calls/action_start_forking_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .call_control_command_result import CallControlCommandResult 7 | 8 | __all__ = ["ActionStartForkingResponse"] 9 | 10 | 11 | class ActionStartForkingResponse(BaseModel): 12 | data: Optional[CallControlCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/calls/action_start_siprec_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .call_control_command_result import CallControlCommandResult 7 | 8 | __all__ = ["ActionStartSiprecResponse"] 9 | 10 | 11 | class ActionStartSiprecResponse(BaseModel): 12 | data: Optional[CallControlCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/calls/action_stop_forking_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .call_control_command_result import CallControlCommandResult 7 | 8 | __all__ = ["ActionStopForkingResponse"] 9 | 10 | 11 | class ActionStopForkingResponse(BaseModel): 12 | data: Optional[CallControlCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/calls/action_stop_playback_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .call_control_command_result import CallControlCommandResult 7 | 8 | __all__ = ["ActionStopPlaybackResponse"] 9 | 10 | 11 | class ActionStopPlaybackResponse(BaseModel): 12 | data: Optional[CallControlCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/conferences/action_record_pause_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .conference_command_result import ConferenceCommandResult 7 | 8 | __all__ = ["ActionRecordPauseResponse"] 9 | 10 | 11 | class ActionRecordPauseResponse(BaseModel): 12 | data: Optional[ConferenceCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/conferences/action_record_start_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .conference_command_result import ConferenceCommandResult 7 | 8 | __all__ = ["ActionRecordStartResponse"] 9 | 10 | 11 | class ActionRecordStartResponse(BaseModel): 12 | data: Optional[ConferenceCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/external_connection_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .external_connection import ExternalConnection 7 | 8 | __all__ = ["ExternalConnectionRetrieveResponse"] 9 | 10 | 11 | class ExternalConnectionRetrieveResponse(BaseModel): 12 | data: Optional[ExternalConnection] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/external_connections/upload_refresh_status_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | 7 | __all__ = ["UploadRefreshStatusResponse"] 8 | 9 | 10 | class UploadRefreshStatusResponse(BaseModel): 11 | success: Optional[bool] = None 12 | """Describes wether or not the operation was successful""" 13 | -------------------------------------------------------------------------------- /src/telnyx/types/global_ip_assignment_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .global_ip_assignment import GlobalIPAssignment 7 | 8 | __all__ = ["GlobalIPAssignmentRetrieveResponse"] 9 | 10 | 11 | class GlobalIPAssignmentRetrieveResponse(BaseModel): 12 | data: Optional[GlobalIPAssignment] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/legacy/reporting/usage_reports/voice_list_params.py: -------------------------------------------------------------------------------- 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 TypedDict 6 | 7 | __all__ = ["VoiceListParams"] 8 | 9 | 10 | class VoiceListParams(TypedDict, total=False): 11 | page: int 12 | """Page number""" 13 | 14 | per_page: int 15 | """Size of the page""" 16 | -------------------------------------------------------------------------------- /src/telnyx/types/messaging/rc_list_bulk_capabilities_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List, Optional 4 | 5 | from ..._models import BaseModel 6 | from .rcs_capabilities import RcsCapabilities 7 | 8 | __all__ = ["RcListBulkCapabilitiesResponse"] 9 | 10 | 11 | class RcListBulkCapabilitiesResponse(BaseModel): 12 | data: Optional[List[RcsCapabilities]] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/notification_setting_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .notification_setting import NotificationSetting 7 | 8 | __all__ = ["NotificationSettingCreateResponse"] 9 | 10 | 11 | class NotificationSettingCreateResponse(BaseModel): 12 | data: Optional[NotificationSetting] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/notification_setting_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .notification_setting import NotificationSetting 7 | 8 | __all__ = ["NotificationSettingDeleteResponse"] 9 | 10 | 11 | class NotificationSettingDeleteResponse(BaseModel): 12 | data: Optional[NotificationSetting] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/number_order_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .number_order_with_phone_numbers import NumberOrderWithPhoneNumbers 7 | 8 | __all__ = ["NumberOrderCreateResponse"] 9 | 10 | 11 | class NumberOrderCreateResponse(BaseModel): 12 | data: Optional[NumberOrderWithPhoneNumbers] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/number_order_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .number_order_with_phone_numbers import NumberOrderWithPhoneNumbers 7 | 8 | __all__ = ["NumberOrderUpdateResponse"] 9 | 10 | 11 | class NumberOrderUpdateResponse(BaseModel): 12 | data: Optional[NumberOrderWithPhoneNumbers] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/phone_numbers/job_delete_batch_params.py: -------------------------------------------------------------------------------- 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 Required, TypedDict 6 | 7 | from ..._types import SequenceNotStr 8 | 9 | __all__ = ["JobDeleteBatchParams"] 10 | 11 | 12 | class JobDeleteBatchParams(TypedDict, total=False): 13 | phone_numbers: Required[SequenceNotStr[str]] 14 | -------------------------------------------------------------------------------- /src/telnyx/types/phone_numbers/voice_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .phone_number_with_voice_settings import PhoneNumberWithVoiceSettings 7 | 8 | __all__ = ["VoiceUpdateResponse"] 9 | 10 | 11 | class VoiceUpdateResponse(BaseModel): 12 | data: Optional[PhoneNumberWithVoiceSettings] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/queues/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .call_list_params import CallListParams as CallListParams 6 | from .call_list_response import CallListResponse as CallListResponse 7 | from .call_update_params import CallUpdateParams as CallUpdateParams 8 | from .call_retrieve_response import CallRetrieveResponse as CallRetrieveResponse 9 | -------------------------------------------------------------------------------- /src/telnyx/types/rooms/session_retrieve_params.py: -------------------------------------------------------------------------------- 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 TypedDict 6 | 7 | __all__ = ["SessionRetrieveParams"] 8 | 9 | 10 | class SessionRetrieveParams(TypedDict, total=False): 11 | include_participants: bool 12 | """To decide if room participants should be included in the response.""" 13 | -------------------------------------------------------------------------------- /src/telnyx/types/storage/migration_source_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .migration_source_params import MigrationSourceParams 7 | 8 | __all__ = ["MigrationSourceCreateResponse"] 9 | 10 | 11 | class MigrationSourceCreateResponse(BaseModel): 12 | data: Optional[MigrationSourceParams] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/storage/migration_source_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .migration_source_params import MigrationSourceParams 7 | 8 | __all__ = ["MigrationSourceDeleteResponse"] 9 | 10 | 11 | class MigrationSourceDeleteResponse(BaseModel): 12 | data: Optional[MigrationSourceParams] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/telephony_credential_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .telephony_credential import TelephonyCredential 7 | 8 | __all__ = ["TelephonyCredentialCreateResponse"] 9 | 10 | 11 | class TelephonyCredentialCreateResponse(BaseModel): 12 | data: Optional[TelephonyCredential] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/telephony_credential_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .telephony_credential import TelephonyCredential 7 | 8 | __all__ = ["TelephonyCredentialDeleteResponse"] 9 | 10 | 11 | class TelephonyCredentialDeleteResponse(BaseModel): 12 | data: Optional[TelephonyCredential] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/telephony_credential_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .telephony_credential import TelephonyCredential 7 | 8 | __all__ = ["TelephonyCredentialUpdateResponse"] 9 | 10 | 11 | class TelephonyCredentialUpdateResponse(BaseModel): 12 | data: Optional[TelephonyCredential] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/retrieval_tool.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal 4 | 5 | from ..._models import BaseModel 6 | from .inference_embedding_bucket_ids import InferenceEmbeddingBucketIDs 7 | 8 | __all__ = ["RetrievalTool"] 9 | 10 | 11 | class RetrievalTool(BaseModel): 12 | retrieval: InferenceEmbeddingBucketIDs 13 | 14 | type: Literal["retrieval"] 15 | -------------------------------------------------------------------------------- /src/telnyx/types/calls/action_pause_recording_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .call_control_command_result import CallControlCommandResult 7 | 8 | __all__ = ["ActionPauseRecordingResponse"] 9 | 10 | 11 | class ActionPauseRecordingResponse(BaseModel): 12 | data: Optional[CallControlCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/calls/action_start_playback_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .call_control_command_result import CallControlCommandResult 7 | 8 | __all__ = ["ActionStartPlaybackResponse"] 9 | 10 | 11 | class ActionStartPlaybackResponse(BaseModel): 12 | data: Optional[CallControlCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/calls/action_start_recording_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .call_control_command_result import CallControlCommandResult 7 | 8 | __all__ = ["ActionStartRecordingResponse"] 9 | 10 | 11 | class ActionStartRecordingResponse(BaseModel): 12 | data: Optional[CallControlCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/calls/action_start_streaming_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .call_control_command_result import CallControlCommandResult 7 | 8 | __all__ = ["ActionStartStreamingResponse"] 9 | 10 | 11 | class ActionStartStreamingResponse(BaseModel): 12 | data: Optional[CallControlCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/calls/action_stop_recording_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .call_control_command_result import CallControlCommandResult 7 | 8 | __all__ = ["ActionStopRecordingResponse"] 9 | 10 | 11 | class ActionStopRecordingResponse(BaseModel): 12 | data: Optional[CallControlCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/calls/action_stop_streaming_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .call_control_command_result import CallControlCommandResult 7 | 8 | __all__ = ["ActionStopStreamingResponse"] 9 | 10 | 11 | class ActionStopStreamingResponse(BaseModel): 12 | data: Optional[CallControlCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/conferences/action_record_resume_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .conference_command_result import ConferenceCommandResult 7 | 8 | __all__ = ["ActionRecordResumeResponse"] 9 | 10 | 11 | class ActionRecordResumeResponse(BaseModel): 12 | data: Optional[ConferenceCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/credential_connection_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .credential_connection import CredentialConnection 7 | 8 | __all__ = ["CredentialConnectionCreateResponse"] 9 | 10 | 11 | class CredentialConnectionCreateResponse(BaseModel): 12 | data: Optional[CredentialConnection] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/credential_connection_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .credential_connection import CredentialConnection 7 | 8 | __all__ = ["CredentialConnectionDeleteResponse"] 9 | 10 | 11 | class CredentialConnectionDeleteResponse(BaseModel): 12 | data: Optional[CredentialConnection] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/credential_connection_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .credential_connection import CredentialConnection 7 | 8 | __all__ = ["CredentialConnectionUpdateResponse"] 9 | 10 | 11 | class CredentialConnectionUpdateResponse(BaseModel): 12 | data: Optional[CredentialConnection] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/inbound_channel_update_params.py: -------------------------------------------------------------------------------- 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 Required, TypedDict 6 | 7 | __all__ = ["InboundChannelUpdateParams"] 8 | 9 | 10 | class InboundChannelUpdateParams(TypedDict, total=False): 11 | channels: Required[int] 12 | """The new number of concurrent channels for the account""" 13 | -------------------------------------------------------------------------------- /src/telnyx/types/notification_setting_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .notification_setting import NotificationSetting 7 | 8 | __all__ = ["NotificationSettingRetrieveResponse"] 9 | 10 | 11 | class NotificationSettingRetrieveResponse(BaseModel): 12 | data: Optional[NotificationSetting] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/number_order_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .number_order_with_phone_numbers import NumberOrderWithPhoneNumbers 7 | 8 | __all__ = ["NumberOrderRetrieveResponse"] 9 | 10 | 11 | class NumberOrderRetrieveResponse(BaseModel): 12 | data: Optional[NumberOrderWithPhoneNumbers] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/numbers_feature_create_params.py: -------------------------------------------------------------------------------- 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 Required, TypedDict 6 | 7 | from .._types import SequenceNotStr 8 | 9 | __all__ = ["NumbersFeatureCreateParams"] 10 | 11 | 12 | class NumbersFeatureCreateParams(TypedDict, total=False): 13 | phone_numbers: Required[SequenceNotStr[str]] 14 | -------------------------------------------------------------------------------- /src/telnyx/types/outbound_voice_profile_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .outbound_voice_profile import OutboundVoiceProfile 7 | 8 | __all__ = ["OutboundVoiceProfileCreateResponse"] 9 | 10 | 11 | class OutboundVoiceProfileCreateResponse(BaseModel): 12 | data: Optional[OutboundVoiceProfile] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/outbound_voice_profile_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .outbound_voice_profile import OutboundVoiceProfile 7 | 8 | __all__ = ["OutboundVoiceProfileDeleteResponse"] 9 | 10 | 11 | class OutboundVoiceProfileDeleteResponse(BaseModel): 12 | data: Optional[OutboundVoiceProfile] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/outbound_voice_profile_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .outbound_voice_profile import OutboundVoiceProfile 7 | 8 | __all__ = ["OutboundVoiceProfileUpdateResponse"] 9 | 10 | 11 | class OutboundVoiceProfileUpdateResponse(BaseModel): 12 | data: Optional[OutboundVoiceProfile] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/phone_numbers/voice_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .phone_number_with_voice_settings import PhoneNumberWithVoiceSettings 7 | 8 | __all__ = ["VoiceRetrieveResponse"] 9 | 10 | 11 | class VoiceRetrieveResponse(BaseModel): 12 | data: Optional[PhoneNumberWithVoiceSettings] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/porting_order_retrieve_params.py: -------------------------------------------------------------------------------- 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 TypedDict 6 | 7 | __all__ = ["PortingOrderRetrieveParams"] 8 | 9 | 10 | class PortingOrderRetrieveParams(TypedDict, total=False): 11 | include_phone_numbers: bool 12 | """Include the first 50 phone number objects in the results""" 13 | -------------------------------------------------------------------------------- /src/telnyx/types/porting_orders/action_activate_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from ..porting_orders_activation_job import PortingOrdersActivationJob 7 | 8 | __all__ = ["ActionActivateResponse"] 9 | 10 | 11 | class ActionActivateResponse(BaseModel): 12 | data: Optional[PortingOrdersActivationJob] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/telephony_credential_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .telephony_credential import TelephonyCredential 7 | 8 | __all__ = ["TelephonyCredentialRetrieveResponse"] 9 | 10 | 11 | class TelephonyCredentialRetrieveResponse(BaseModel): 12 | data: Optional[TelephonyCredential] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/texml/texml_recording_subresources_uris.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | 7 | __all__ = ["TexmlRecordingSubresourcesUris"] 8 | 9 | 10 | class TexmlRecordingSubresourcesUris(BaseModel): 11 | """Subresources details for a recording if available.""" 12 | 13 | transcriptions: Optional[str] = None 14 | -------------------------------------------------------------------------------- /src/telnyx/types/ai/conversation_update_params.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from typing import Dict 6 | from typing_extensions import TypedDict 7 | 8 | __all__ = ["ConversationUpdateParams"] 9 | 10 | 11 | class ConversationUpdateParams(TypedDict, total=False): 12 | metadata: Dict[str, str] 13 | """Metadata associated with the conversation.""" 14 | -------------------------------------------------------------------------------- /src/telnyx/types/calls/action_resume_recording_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .call_control_command_result import CallControlCommandResult 7 | 8 | __all__ = ["ActionResumeRecordingResponse"] 9 | 10 | 11 | class ActionResumeRecordingResponse(BaseModel): 12 | data: Optional[CallControlCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/calls/action_stop_ai_assistant_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .call_control_command_result import CallControlCommandResult 7 | 8 | __all__ = ["ActionStopAIAssistantResponse"] 9 | 10 | 11 | class ActionStopAIAssistantResponse(BaseModel): 12 | data: Optional[CallControlCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/campaign_submit_appeal_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | from datetime import datetime 5 | 6 | from .._models import BaseModel 7 | 8 | __all__ = ["CampaignSubmitAppealResponse"] 9 | 10 | 11 | class CampaignSubmitAppealResponse(BaseModel): 12 | appealed_at: Optional[datetime] = None 13 | """Timestamp when the appeal was submitted""" 14 | -------------------------------------------------------------------------------- /src/telnyx/types/credential_connection_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .credential_connection import CredentialConnection 7 | 8 | __all__ = ["CredentialConnectionRetrieveResponse"] 9 | 10 | 11 | class CredentialConnectionRetrieveResponse(BaseModel): 12 | data: Optional[CredentialConnection] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/customer_service_record_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .customer_service_record import CustomerServiceRecord 7 | 8 | __all__ = ["CustomerServiceRecordCreateResponse"] 9 | 10 | 11 | class CustomerServiceRecordCreateResponse(BaseModel): 12 | data: Optional[CustomerServiceRecord] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/legacy/reporting/usage_reports/messaging_list_params.py: -------------------------------------------------------------------------------- 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 TypedDict 6 | 7 | __all__ = ["MessagingListParams"] 8 | 9 | 10 | class MessagingListParams(TypedDict, total=False): 11 | page: int 12 | """Page number""" 13 | 14 | per_page: int 15 | """Size of the page""" 16 | -------------------------------------------------------------------------------- /src/telnyx/types/outbound_voice_profile_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .outbound_voice_profile import OutboundVoiceProfile 7 | 8 | __all__ = ["OutboundVoiceProfileRetrieveResponse"] 9 | 10 | 11 | class OutboundVoiceProfileRetrieveResponse(BaseModel): 12 | data: Optional[OutboundVoiceProfile] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/partner_campaign_retrieve_sharing_status_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Dict 4 | from typing_extensions import TypeAlias 5 | 6 | from .campaign_sharing_status import CampaignSharingStatus 7 | 8 | __all__ = ["PartnerCampaignRetrieveSharingStatusResponse"] 9 | 10 | PartnerCampaignRetrieveSharingStatusResponse: TypeAlias = Dict[str, CampaignSharingStatus] 11 | -------------------------------------------------------------------------------- /src/telnyx/types/porting/loa_configuration_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .porting_loa_configuration import PortingLoaConfiguration 7 | 8 | __all__ = ["LoaConfigurationCreateResponse"] 9 | 10 | 11 | class LoaConfigurationCreateResponse(BaseModel): 12 | data: Optional[PortingLoaConfiguration] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/porting/loa_configuration_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .porting_loa_configuration import PortingLoaConfiguration 7 | 8 | __all__ = ["LoaConfigurationUpdateResponse"] 9 | 10 | 11 | class LoaConfigurationUpdateResponse(BaseModel): 12 | data: Optional[PortingLoaConfiguration] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/requirement_type_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .shared.doc_reqs_requirement_type import DocReqsRequirementType 7 | 8 | __all__ = ["RequirementTypeRetrieveResponse"] 9 | 10 | 11 | class RequirementTypeRetrieveResponse(BaseModel): 12 | data: Optional[DocReqsRequirementType] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/storage/migration_source_retrieve_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .migration_source_params import MigrationSourceParams 7 | 8 | __all__ = ["MigrationSourceRetrieveResponse"] 9 | 10 | 11 | class MigrationSourceRetrieveResponse(BaseModel): 12 | data: Optional[MigrationSourceParams] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/texml/call_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | 7 | __all__ = ["CallUpdateResponse", "Data"] 8 | 9 | 10 | class Data(BaseModel): 11 | sid: Optional[str] = None 12 | 13 | status: Optional[str] = None 14 | 15 | 16 | class CallUpdateResponse(BaseModel): 17 | data: Optional[Data] = None 18 | -------------------------------------------------------------------------------- /src/telnyx/types/verify_profile_create_template_params.py: -------------------------------------------------------------------------------- 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 Required, TypedDict 6 | 7 | __all__ = ["VerifyProfileCreateTemplateParams"] 8 | 9 | 10 | class VerifyProfileCreateTemplateParams(TypedDict, total=False): 11 | text: Required[str] 12 | """The text content of the message template.""" 13 | -------------------------------------------------------------------------------- /src/telnyx/types/verify_profile_update_template_params.py: -------------------------------------------------------------------------------- 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 Required, TypedDict 6 | 7 | __all__ = ["VerifyProfileUpdateTemplateParams"] 8 | 9 | 10 | class VerifyProfileUpdateTemplateParams(TypedDict, total=False): 11 | text: Required[str] 12 | """The text content of the message template.""" 13 | -------------------------------------------------------------------------------- /src/telnyx/types/authentication_provider_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .authentication_provider import AuthenticationProvider 7 | 8 | __all__ = ["AuthenticationProviderCreateResponse"] 9 | 10 | 11 | class AuthenticationProviderCreateResponse(BaseModel): 12 | data: Optional[AuthenticationProvider] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/authentication_provider_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .authentication_provider import AuthenticationProvider 7 | 8 | __all__ = ["AuthenticationProviderDeleteResponse"] 9 | 10 | 11 | class AuthenticationProviderDeleteResponse(BaseModel): 12 | data: Optional[AuthenticationProvider] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/authentication_provider_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from .._models import BaseModel 6 | from .authentication_provider import AuthenticationProvider 7 | 8 | __all__ = ["AuthenticationProviderUpdateResponse"] 9 | 10 | 11 | class AuthenticationProviderUpdateResponse(BaseModel): 12 | data: Optional[AuthenticationProvider] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/calls/action_gather_using_audio_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .call_control_command_result import CallControlCommandResult 7 | 8 | __all__ = ["ActionGatherUsingAudioResponse"] 9 | 10 | 11 | class ActionGatherUsingAudioResponse(BaseModel): 12 | data: Optional[CallControlCommandResult] = None 13 | -------------------------------------------------------------------------------- /src/telnyx/types/calls/action_gather_using_speak_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | from .call_control_command_result import CallControlCommandResult 7 | 8 | __all__ = ["ActionGatherUsingSpeakResponse"] 9 | 10 | 11 | class ActionGatherUsingSpeakResponse(BaseModel): 12 | data: Optional[CallControlCommandResult] = None 13 | --------------------------------------------------------------------------------