telnyx 5.159.0 → 5.160.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +1 -1
- data/lib/telnyx/client.rb +3 -4
- data/lib/telnyx/models/actions/purchase_create_response.rb +3 -3
- data/lib/telnyx/models/actions/register_create_response.rb +3 -3
- data/lib/telnyx/models/actions/wireless_error_c5290d5308.rb +61 -0
- data/lib/telnyx/models/ai/assistant_create_params.rb +2 -2
- data/lib/telnyx/models/ai/assistant_tool.rb +28 -1
- data/lib/telnyx/models/ai/assistant_update_params.rb +2 -2
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +2 -2
- data/lib/telnyx/models/ai/collection.rb +82 -0
- data/lib/telnyx/models/ai/collection_create_params.rb +56 -0
- data/lib/telnyx/models/ai/collection_delete_params.rb +22 -0
- data/lib/telnyx/models/ai/collection_envelope.rb +18 -0
- data/lib/telnyx/models/ai/collection_list_params.rb +32 -0
- data/lib/telnyx/models/ai/collection_retrieve_by_id_params.rb +22 -0
- data/lib/telnyx/models/ai/collection_retrieve_documents_params.rb +104 -0
- data/lib/telnyx/models/ai/collection_retrieve_documents_response.rb +180 -0
- data/lib/telnyx/models/ai/collection_retrieve_params.rb +22 -0
- data/lib/telnyx/models/ai/collection_update_params.rb +34 -0
- data/lib/telnyx/models/ai/collections/retrieval_settings.rb +49 -0
- data/lib/telnyx/models/ai/collections/retrieval_settings_wrapper.rb +30 -0
- data/lib/telnyx/models/ai/collections/setting_create_params.rb +24 -0
- data/lib/telnyx/models/ai/collections/setting_list_params.rb +24 -0
- data/lib/telnyx/models/ai/collections/setting_patch_all_params.rb +24 -0
- data/lib/telnyx/models/ai/collections/settings_envelope.rb +20 -0
- data/lib/telnyx/models/ai/collections/settings_request.rb +20 -0
- data/lib/telnyx/models/ai/collections/source.rb +62 -0
- data/lib/telnyx/models/ai/collections/source_create_params.rb +24 -0
- data/lib/telnyx/models/ai/collections/source_create_response.rb +22 -0
- data/lib/telnyx/models/ai/collections/source_delete_params.rb +30 -0
- data/lib/telnyx/models/ai/collections/source_list_params.rb +24 -0
- data/lib/telnyx/models/ai/collections/source_list_response.rb +20 -0
- data/lib/telnyx/models/ai/collections/source_replace_params.rb +30 -0
- data/lib/telnyx/models/ai/collections/source_replace_response.rb +58 -0
- data/lib/telnyx/models/ai/collections/source_request.rb +34 -0
- data/lib/telnyx/models/ai/collections/source_type.rb +24 -0
- data/lib/telnyx/models/ai/inference_embedding.rb +6 -6
- data/lib/telnyx/models/ai/telephony_settings.rb +11 -1
- data/lib/telnyx/models/ai/tool_create_params.rb +19 -1
- data/lib/telnyx/models/ai/tool_update_params.rb +20 -1
- data/lib/telnyx/models/ai/update_dynamic_variables_tool_params.rb +78 -0
- data/lib/telnyx/models/credential_connection.rb +11 -1
- data/lib/telnyx/models/credential_connection_update_params.rb +11 -1
- data/lib/telnyx/models/fqdn_connection.rb +11 -1
- data/lib/telnyx/models/fqdn_connection_update_params.rb +11 -1
- data/lib/telnyx/models/fqdn_connections/fqdn_authentication.rb +142 -0
- data/lib/telnyx/models/fqdn_connections/fqdn_authentication_list_params.rb +22 -0
- data/lib/telnyx/models/fqdn_connections/fqdn_authentication_list_response.rb +18 -0
- data/lib/telnyx/models/fqdn_connections/fqdn_authentication_patch_all_params.rb +119 -0
- data/lib/telnyx/models/fqdn_connections/fqdn_authentication_patch_all_response.rb +18 -0
- data/lib/telnyx/models/inbound_message_webhook_event.rb +594 -3
- data/lib/telnyx/models/ip_connection.rb +11 -1
- data/lib/telnyx/models/ip_connection_update_params.rb +11 -1
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/batch_csv_pagination_meta_705dfa7312.rb +39 -0
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/messaging_list_response.rb +3 -3
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/voice_list_response.rb +3 -3
- data/lib/telnyx/models/legacy/reporting/usage_reports/standard_pagination_meta_ffba4faa88.rb +39 -0
- data/lib/telnyx/models/message_cancel_scheduled_response.rb +3 -3
- data/lib/telnyx/models/message_retrieve_group_messages_response.rb +3 -3
- data/lib/telnyx/models/message_retrieve_response.rb +595 -5
- data/lib/telnyx/models/message_schedule_response.rb +3 -3
- data/lib/telnyx/models/message_send_group_mms_response.rb +3 -3
- data/lib/telnyx/models/message_send_long_code_response.rb +3 -3
- data/lib/telnyx/models/message_send_number_pool_response.rb +3 -3
- data/lib/telnyx/models/message_send_response.rb +3 -3
- data/lib/telnyx/models/message_send_short_code_response.rb +3 -3
- data/lib/telnyx/models/message_whatsapp_params.rb +71 -0
- data/lib/telnyx/models/message_whatsapp_response.rb +178 -0
- data/lib/telnyx/models/messaging_error_0b38e7044b.rb +59 -0
- data/lib/telnyx/models/messaging_outbound_message_payload.rb +597 -0
- data/lib/telnyx/models/messaging_pagination_meta_0b38e7044b.rb +33 -0
- data/lib/telnyx/models/messaging_profile_metric_list_response.rb +3 -3
- data/lib/telnyx/models/messaging_profiles/autoresp_config_list_response.rb +3 -3
- data/lib/telnyx/models/messaging_tollfree/verification/messaging_toll_free_verification_entity_type.rb +23 -0
- data/lib/telnyx/models/messaging_tollfree/verification/messaging_toll_free_verification_tf_verification_request.rb +312 -0
- data/lib/telnyx/models/messaging_tollfree/verification/messaging_toll_free_verification_verification_request_egress.rb +296 -0
- data/lib/telnyx/models/messaging_tollfree/verification/request_create_params.rb +1 -1
- data/lib/telnyx/models/messaging_tollfree/verification/request_retrieve_response.rb +310 -0
- data/lib/telnyx/models/messaging_tollfree/verification/request_update_params.rb +1 -1
- data/lib/telnyx/models/messaging_tollfree/verification/verification_request_egress.rb +0 -1
- data/lib/telnyx/models/messaging_tollfree/verification/verification_request_status.rb +1 -1
- data/lib/telnyx/models/netapps_location_17904fcfbc.rb +48 -0
- data/lib/telnyx/models/network_coverage_list_response.rb +3 -3
- data/lib/telnyx/models/number_order_status_update_webhook_event.rb +405 -0
- data/lib/telnyx/models/numbers_phone_number_detailed.rb +369 -0
- data/lib/telnyx/models/oauth_oauth_pagination_meta.rb +40 -0
- data/lib/telnyx/models/phone_number_detailed.rb +0 -1
- data/lib/telnyx/models/phone_number_retrieve_response.rb +3 -3
- data/lib/telnyx/models/phone_number_update_response.rb +3 -3
- data/lib/telnyx/models/pricing/product_retrieve_params.rb +8 -1
- data/lib/telnyx/models/rcs/agent_campaign_configuration.rb +47 -0
- data/lib/telnyx/models/rcs/agent_configuration.rb +227 -0
- data/lib/telnyx/models/rcs/agent_consent_configuration.rb +110 -0
- data/lib/telnyx/models/rcs/agent_create_params.rb +70 -0
- data/lib/telnyx/models/rcs/agent_email_contact.rb +23 -0
- data/lib/telnyx/models/rcs/agent_interaction.rb +41 -0
- data/lib/telnyx/models/rcs/agent_launch_params.rb +62 -0
- data/lib/telnyx/models/rcs/agent_list_params.rb +24 -0
- data/lib/telnyx/models/rcs/agent_list_response.rb +10 -0
- data/lib/telnyx/models/rcs/agent_phone_contact.rb +23 -0
- data/lib/telnyx/models/rcs/agent_response.rb +131 -0
- data/lib/telnyx/models/rcs/agent_retrieve_carrier_approvals_params.rb +22 -0
- data/lib/telnyx/models/rcs/agent_retrieve_carrier_approvals_response.rb +11 -0
- data/lib/telnyx/models/rcs/agent_retrieve_params.rb +22 -0
- data/lib/telnyx/models/rcs/agent_submission_status.rb +18 -0
- data/lib/telnyx/models/rcs/agent_submit_params.rb +22 -0
- data/lib/telnyx/models/rcs/agent_testing_configuration.rb +32 -0
- data/lib/telnyx/models/rcs/agent_update_params.rb +52 -0
- data/lib/telnyx/models/rcs/agent_use_case.rb +19 -0
- data/lib/telnyx/models/rcs/agent_website_contact.rb +23 -0
- data/lib/telnyx/models/rcs/agents/test_device_create_params.rb +30 -0
- data/lib/telnyx/models/rcs/agents/test_device_delete_params.rb +30 -0
- data/lib/telnyx/models/rcs/agents/test_device_list_params.rb +24 -0
- data/lib/telnyx/models/rcs/agents/test_device_list_response.rb +14 -0
- data/lib/telnyx/models/rcs/agents/test_device_response.rb +44 -0
- data/lib/telnyx/models/rcs/brand_contact.rb +63 -0
- data/lib/telnyx/models/rcs/brand_create_params.rb +184 -0
- data/lib/telnyx/models/rcs/brand_legal_entity_type.rb +20 -0
- data/lib/telnyx/models/rcs/brand_list_params.rb +16 -0
- data/lib/telnyx/models/rcs/brand_list_response.rb +10 -0
- data/lib/telnyx/models/rcs/brand_organization_type.rb +20 -0
- data/lib/telnyx/models/rcs/brand_response.rb +159 -0
- data/lib/telnyx/models/rcs/brand_retrieve_params.rb +22 -0
- data/lib/telnyx/models/rcs/brand_submit_params.rb +22 -0
- data/lib/telnyx/models/rcs/brand_update_params.rb +189 -0
- data/lib/telnyx/models/rcs/capabilities_response.rb +65 -0
- data/lib/telnyx/models/rcs/carrier_approval_response.rb +78 -0
- data/lib/telnyx/models/rcs/ein_brand_identifier.rb +25 -0
- data/lib/telnyx/models/rcs/rcs_agent.rb +84 -0
- data/lib/telnyx/models/rcs/rcs_agent_response.rb +19 -0
- data/lib/telnyx/models/rcs/stock_symbol_brand_identifier.rb +25 -0
- data/lib/telnyx/models/report_list_mdrs_response.rb +3 -3
- data/lib/telnyx/models/reports/reporting_pagination_meta_77109e5d17.rb +37 -0
- data/lib/telnyx/models/sim_cards/action_disable_response.rb +3 -3
- data/lib/telnyx/models/sim_cards/action_enable_response.rb +3 -3
- data/lib/telnyx/models/sim_cards/action_remove_public_ip_response.rb +3 -3
- data/lib/telnyx/models/sim_cards/action_retrieve_response.rb +3 -3
- data/lib/telnyx/models/sim_cards/action_set_public_ip_response.rb +3 -3
- data/lib/telnyx/models/sim_cards/action_set_standby_response.rb +3 -3
- data/lib/telnyx/models/sim_cards/sim_card_action.rb +0 -1
- data/lib/telnyx/models/sim_cards/wireless_sim_card_action.rb +153 -0
- data/lib/telnyx/models/sip_registration_status_retrieve_params.rb +8 -5
- data/lib/telnyx/models/sip_registration_status_retrieve_response.rb +39 -31
- data/lib/telnyx/models/speech_to_text_list_providers_response.rb +10 -1
- data/lib/telnyx/models/text_to_speech_list_voices_response.rb +13 -1
- data/lib/telnyx/models/unsafe_unwrap_webhook_event.rb +2 -2
- data/lib/telnyx/models/unwrap_webhook_event.rb +2 -2
- data/lib/telnyx/models/user_address.rb +0 -1
- data/lib/telnyx/models/user_address_create_response.rb +3 -3
- data/lib/telnyx/models/user_address_retrieve_response.rb +3 -3
- data/lib/telnyx/models/user_addresses_user_address.rb +153 -0
- data/lib/telnyx/models/virtual_cross_connects_coverage_list_response.rb +3 -3
- data/lib/telnyx/models/whatsapp/phone_number_get_params.rb +28 -0
- data/lib/telnyx/models/whatsapp/phone_number_get_response.rb +110 -0
- data/lib/telnyx/models.rb +21 -3
- data/lib/telnyx/resources/access_ip_address.rb +4 -4
- data/lib/telnyx/resources/access_ip_ranges.rb +3 -3
- data/lib/telnyx/resources/addresses/actions.rb +3 -2
- data/lib/telnyx/resources/advanced_orders.rb +8 -4
- data/lib/telnyx/resources/ai/assistants/tags.rb +3 -3
- data/lib/telnyx/resources/ai/assistants/tools.rb +2 -2
- data/lib/telnyx/resources/ai/assistants/versions.rb +1 -1
- data/lib/telnyx/resources/ai/assistants.rb +2 -2
- data/lib/telnyx/resources/ai/clusters.rb +4 -4
- data/lib/telnyx/resources/ai/collections/settings.rb +88 -0
- data/lib/telnyx/resources/ai/collections/sources.rb +121 -0
- data/lib/telnyx/resources/ai/collections.rb +244 -0
- data/lib/telnyx/resources/ai/tools.rb +21 -7
- data/lib/telnyx/resources/ai.rb +11 -7
- data/lib/telnyx/resources/available_phone_number_blocks.rb +3 -1
- data/lib/telnyx/resources/available_phone_numbers.rb +4 -1
- data/lib/telnyx/resources/balance.rb +2 -1
- data/lib/telnyx/resources/billing_groups.rb +6 -5
- data/lib/telnyx/resources/calls/actions.rb +4 -2
- data/lib/telnyx/resources/comments.rb +8 -4
- data/lib/telnyx/resources/credential_connections.rb +3 -1
- data/lib/telnyx/resources/email_blocks.rb +2 -1
- data/lib/telnyx/resources/email_domains/webhooks.rb +6 -3
- data/lib/telnyx/resources/email_domains.rb +11 -5
- data/lib/telnyx/resources/email_templates.rb +4 -2
- data/lib/telnyx/resources/email_unsubscribe_groups.rb +3 -2
- data/lib/telnyx/resources/external_connections.rb +2 -1
- data/lib/telnyx/resources/faxes.rb +3 -3
- data/lib/telnyx/resources/fqdn_connections/fqdn_authentication.rb +78 -0
- data/lib/telnyx/resources/fqdn_connections.rb +8 -1
- data/lib/telnyx/resources/global_ip_assignment_health.rb +1 -1
- data/lib/telnyx/resources/global_ip_assignments_usage.rb +1 -1
- data/lib/telnyx/resources/global_ip_latency.rb +1 -1
- data/lib/telnyx/resources/global_ip_usage.rb +1 -1
- data/lib/telnyx/resources/ip_connections.rb +3 -1
- data/lib/telnyx/resources/ledger_billing_group_reports.rb +4 -2
- data/lib/telnyx/resources/messages/rcs.rb +2 -1
- data/lib/telnyx/resources/messages.rb +43 -5
- data/lib/telnyx/resources/messaging/rcs/agents.rb +9 -9
- data/lib/telnyx/resources/messaging/rcs.rb +3 -2
- data/lib/telnyx/resources/messaging_10dlc/brand.rb +3 -1
- data/lib/telnyx/resources/messaging_10dlc/campaign/osr.rb +3 -1
- data/lib/telnyx/resources/messaging_10dlc/campaign/usecase.rb +2 -1
- data/lib/telnyx/resources/messaging_10dlc/campaign.rb +2 -1
- data/lib/telnyx/resources/messaging_10dlc/partner_campaigns.rb +1 -1
- data/lib/telnyx/resources/messaging_10dlc/phone_number_campaigns.rb +5 -3
- data/lib/telnyx/resources/messaging_10dlc.rb +2 -1
- data/lib/telnyx/resources/messaging_hosted_number_orders/actions.rb +1 -1
- data/lib/telnyx/resources/messaging_hosted_number_orders.rb +8 -4
- data/lib/telnyx/resources/messaging_hosted_numbers.rb +1 -1
- data/lib/telnyx/resources/messaging_numbers_bulk_updates.rb +4 -2
- data/lib/telnyx/resources/messaging_profiles/autoresp_configs.rb +7 -5
- data/lib/telnyx/resources/messaging_profiles.rb +14 -7
- data/lib/telnyx/resources/messaging_tollfree/verification/requests.rb +8 -8
- data/lib/telnyx/resources/messaging_url_domains.rb +2 -1
- data/lib/telnyx/resources/mobile_phone_numbers/messaging.rb +2 -2
- data/lib/telnyx/resources/mobile_phone_numbers.rb +3 -3
- data/lib/telnyx/resources/mobile_voice_connections.rb +5 -5
- data/lib/telnyx/resources/number_order_phone_numbers.rb +2 -1
- data/lib/telnyx/resources/ota_updates.rb +2 -1
- data/lib/telnyx/resources/payment.rb +1 -1
- data/lib/telnyx/resources/phone_number_blocks/jobs.rb +5 -2
- data/lib/telnyx/resources/phone_numbers/actions.rb +6 -3
- data/lib/telnyx/resources/phone_numbers/csv_downloads.rb +7 -3
- data/lib/telnyx/resources/phone_numbers/jobs.rb +4 -2
- data/lib/telnyx/resources/phone_numbers/messaging.rb +6 -3
- data/lib/telnyx/resources/phone_numbers/voice.rb +7 -3
- data/lib/telnyx/resources/phone_numbers.rb +11 -6
- data/lib/telnyx/resources/phone_numbers_regulatory_requirements.rb +3 -1
- data/lib/telnyx/resources/pricing/products.rb +11 -5
- data/lib/telnyx/resources/rcs/agents/test_devices.rb +92 -0
- data/lib/telnyx/resources/rcs/agents.rb +213 -0
- data/lib/telnyx/resources/rcs/brands.rb +163 -0
- data/lib/telnyx/resources/rcs.rb +24 -0
- data/lib/telnyx/resources/regulatory_requirements.rb +3 -1
- data/lib/telnyx/resources/requirement_groups.rb +13 -6
- data/lib/telnyx/resources/room_compositions.rb +5 -2
- data/lib/telnyx/resources/room_participants.rb +4 -2
- data/lib/telnyx/resources/room_recordings.rb +8 -3
- data/lib/telnyx/resources/rooms/sessions/actions.rb +9 -3
- data/lib/telnyx/resources/rooms/sessions.rb +11 -4
- data/lib/telnyx/resources/rooms.rb +5 -2
- data/lib/telnyx/resources/short_codes.rb +4 -2
- data/lib/telnyx/resources/sim_cards/actions.rb +2 -2
- data/lib/telnyx/resources/sip_registration_status.rb +16 -4
- data/lib/telnyx/resources/storage/migration_sources.rb +5 -3
- data/lib/telnyx/resources/storage/migrations/actions.rb +1 -1
- data/lib/telnyx/resources/storage/migrations.rb +2 -2
- data/lib/telnyx/resources/storage.rb +1 -1
- data/lib/telnyx/resources/sub_number_orders.rb +3 -1
- data/lib/telnyx/resources/user_addresses.rb +2 -2
- data/lib/telnyx/resources/verifications/actions.rb +3 -1
- data/lib/telnyx/resources/verifications/by_phone_number/actions.rb +2 -1
- data/lib/telnyx/resources/verifications/by_phone_number.rb +2 -1
- data/lib/telnyx/resources/verifications.rb +13 -5
- data/lib/telnyx/resources/verified_numbers/actions.rb +2 -1
- data/lib/telnyx/resources/verified_numbers.rb +2 -2
- data/lib/telnyx/resources/verify_profiles.rb +3 -2
- data/lib/telnyx/resources/webhooks.rb +2 -2
- data/lib/telnyx/resources/whatsapp/business_accounts/phone_numbers.rb +3 -2
- data/lib/telnyx/resources/whatsapp/business_accounts/settings.rb +3 -2
- data/lib/telnyx/resources/whatsapp/business_accounts.rb +4 -3
- data/lib/telnyx/resources/whatsapp/phone_numbers/calling_settings.rb +2 -2
- data/lib/telnyx/resources/whatsapp/phone_numbers/conversational_components.rb +4 -2
- data/lib/telnyx/resources/whatsapp/phone_numbers/profile/photo.rb +5 -3
- data/lib/telnyx/resources/whatsapp/phone_numbers/profile.rb +3 -2
- data/lib/telnyx/resources/whatsapp/phone_numbers.rb +27 -4
- data/lib/telnyx/resources/whatsapp/templates.rb +4 -2
- data/lib/telnyx/resources/whatsapp/user_data.rb +4 -2
- data/lib/telnyx/resources/whatsapp_message_templates.rb +4 -3
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +104 -4
- data/rbi/telnyx/client.rbi +2 -3
- data/rbi/telnyx/models/actions/purchase_create_response.rbi +10 -4
- data/rbi/telnyx/models/actions/register_create_response.rbi +10 -4
- data/rbi/telnyx/models/actions/wireless_error_c5290d5308.rbi +112 -0
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +8 -4
- data/rbi/telnyx/models/ai/assistant_tool.rbi +58 -1
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +8 -4
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +8 -4
- data/rbi/telnyx/models/ai/collection.rbi +133 -0
- data/rbi/telnyx/models/ai/collection_create_params.rbi +101 -0
- data/rbi/telnyx/models/ai/collection_delete_params.rbi +37 -0
- data/rbi/telnyx/models/ai/collection_envelope.rbi +30 -0
- data/rbi/telnyx/models/ai/collection_list_params.rbi +59 -0
- data/rbi/telnyx/models/ai/collection_retrieve_by_id_params.rbi +40 -0
- data/rbi/telnyx/models/ai/collection_retrieve_documents_params.rbi +195 -0
- data/rbi/telnyx/models/ai/collection_retrieve_documents_response.rbi +334 -0
- data/rbi/telnyx/models/ai/collection_retrieve_params.rbi +40 -0
- data/rbi/telnyx/models/ai/collection_update_params.rbi +56 -0
- data/rbi/telnyx/models/ai/collections/retrieval_settings.rbi +115 -0
- data/rbi/telnyx/models/ai/collections/retrieval_settings_wrapper.rbi +62 -0
- data/rbi/telnyx/models/ai/collections/setting_create_params.rbi +42 -0
- data/rbi/telnyx/models/ai/collections/setting_list_params.rbi +42 -0
- data/rbi/telnyx/models/ai/collections/setting_patch_all_params.rbi +42 -0
- data/rbi/telnyx/models/ai/collections/settings_envelope.rbi +49 -0
- data/rbi/telnyx/models/ai/collections/settings_request.rbi +49 -0
- data/rbi/telnyx/models/ai/collections/source.rbi +105 -0
- data/rbi/telnyx/models/ai/collections/source_create_params.rbi +42 -0
- data/rbi/telnyx/models/ai/collections/source_create_response.rbi +38 -0
- data/rbi/telnyx/models/ai/collections/source_delete_params.rbi +50 -0
- data/rbi/telnyx/models/ai/collections/source_list_params.rbi +42 -0
- data/rbi/telnyx/models/ai/collections/source_list_response.rbi +43 -0
- data/rbi/telnyx/models/ai/collections/source_replace_params.rbi +50 -0
- data/rbi/telnyx/models/ai/collections/source_replace_response.rbi +125 -0
- data/rbi/telnyx/models/ai/collections/source_request.rbi +61 -0
- data/rbi/telnyx/models/ai/collections/source_type.rbi +40 -0
- data/rbi/telnyx/models/ai/inference_embedding.rbi +12 -6
- data/rbi/telnyx/models/ai/telephony_settings.rbi +15 -0
- data/rbi/telnyx/models/ai/tool_create_params.rbi +18 -0
- data/rbi/telnyx/models/ai/tool_update_params.rbi +18 -0
- data/rbi/telnyx/models/ai/update_dynamic_variables_tool_params.rbi +136 -0
- data/rbi/telnyx/models/credential_connection.rbi +15 -0
- data/rbi/telnyx/models/credential_connection_update_params.rbi +15 -0
- data/rbi/telnyx/models/fqdn_connection.rbi +15 -0
- data/rbi/telnyx/models/fqdn_connection_update_params.rbi +15 -0
- data/rbi/telnyx/models/fqdn_connections/fqdn_authentication.rbi +273 -0
- data/rbi/telnyx/models/fqdn_connections/fqdn_authentication_list_params.rbi +43 -0
- data/rbi/telnyx/models/fqdn_connections/fqdn_authentication_list_response.rbi +51 -0
- data/rbi/telnyx/models/fqdn_connections/fqdn_authentication_patch_all_params.rbi +241 -0
- data/rbi/telnyx/models/fqdn_connections/fqdn_authentication_patch_all_response.rbi +51 -0
- data/rbi/telnyx/models/inbound_message_payload.rbi +18 -29
- data/rbi/telnyx/models/inbound_message_webhook_event.rbi +1435 -4
- data/rbi/telnyx/models/ip_connection.rbi +15 -0
- data/rbi/telnyx/models/ip_connection_update_params.rbi +15 -0
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/batch_csv_pagination_meta_705dfa7312.rbi +74 -0
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/messaging_list_response.rbi +4 -4
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/voice_list_response.rbi +4 -4
- data/rbi/telnyx/models/legacy/reporting/usage_reports/standard_pagination_meta_ffba4faa88.rbi +74 -0
- data/rbi/telnyx/models/message_cancel_scheduled_response.rbi +6 -4
- data/rbi/telnyx/models/message_retrieve_group_messages_response.rbi +12 -6
- data/rbi/telnyx/models/message_retrieve_response.rbi +1442 -5
- data/rbi/telnyx/models/message_schedule_response.rbi +6 -4
- data/rbi/telnyx/models/message_send_group_mms_response.rbi +6 -4
- data/rbi/telnyx/models/message_send_long_code_response.rbi +6 -4
- data/rbi/telnyx/models/message_send_number_pool_response.rbi +6 -4
- data/rbi/telnyx/models/message_send_response.rbi +6 -4
- data/rbi/telnyx/models/message_send_short_code_response.rbi +6 -4
- data/rbi/telnyx/models/message_whatsapp_params.rbi +115 -0
- data/rbi/telnyx/models/message_whatsapp_response.rbi +373 -0
- data/rbi/telnyx/models/messaging_error_0b38e7044b.rbi +103 -0
- data/rbi/telnyx/models/messaging_outbound_message_payload.rbi +1317 -0
- data/rbi/telnyx/models/messaging_pagination_meta_0b38e7044b.rbi +51 -0
- data/rbi/telnyx/models/messaging_profile_metric_list_response.rbi +6 -4
- data/rbi/telnyx/models/messaging_profiles/autoresp_config_list_response.rbi +6 -4
- data/rbi/telnyx/models/messaging_tollfree/verification/messaging_toll_free_verification_entity_type.rbi +59 -0
- data/rbi/telnyx/models/messaging_tollfree/verification/messaging_toll_free_verification_tf_verification_request.rbi +370 -0
- data/rbi/telnyx/models/messaging_tollfree/verification/messaging_toll_free_verification_verification_request_egress.rbi +362 -0
- data/rbi/telnyx/models/messaging_tollfree/verification/request_create_params.rbi +1 -1
- data/rbi/telnyx/models/messaging_tollfree/verification/request_retrieve_response.rbi +373 -0
- data/rbi/telnyx/models/messaging_tollfree/verification/request_update_params.rbi +1 -1
- data/rbi/telnyx/models/messaging_tollfree/verification/verification_request_egress.rbi +8 -10
- data/rbi/telnyx/models/netapps_location_17904fcfbc.rbi +84 -0
- data/rbi/telnyx/models/network_coverage_list_response.rbi +4 -4
- data/rbi/telnyx/models/number_order_status_update_webhook_event.rbi +885 -0
- data/rbi/telnyx/models/numbers_phone_number_detailed.rbi +659 -0
- data/rbi/telnyx/models/oauth_oauth_pagination_meta.rbi +73 -0
- data/rbi/telnyx/models/phone_number_detailed.rbi +10 -16
- data/rbi/telnyx/models/phone_number_retrieve_response.rbi +4 -4
- data/rbi/telnyx/models/phone_number_update_response.rbi +4 -4
- data/rbi/telnyx/models/pricing/product_retrieve_params.rbi +6 -0
- data/rbi/telnyx/models/rcs/agent_campaign_configuration.rbi +90 -0
- data/rbi/telnyx/models/rcs/agent_configuration.rbi +461 -0
- data/rbi/telnyx/models/rcs/agent_consent_configuration.rbi +201 -0
- data/rbi/telnyx/models/rcs/agent_create_params.rbi +88 -0
- data/rbi/telnyx/models/rcs/agent_email_contact.rbi +28 -0
- data/rbi/telnyx/models/rcs/agent_interaction.rbi +105 -0
- data/rbi/telnyx/models/rcs/agent_launch_params.rbi +120 -0
- data/rbi/telnyx/models/rcs/agent_list_params.rbi +45 -0
- data/rbi/telnyx/models/rcs/agent_list_response.rbi +13 -0
- data/rbi/telnyx/models/rcs/agent_phone_contact.rbi +28 -0
- data/rbi/telnyx/models/rcs/agent_response.rbi +218 -0
- data/rbi/telnyx/models/rcs/agent_retrieve_carrier_approvals_params.rbi +40 -0
- data/rbi/telnyx/models/rcs/agent_retrieve_carrier_approvals_response.rbi +13 -0
- data/rbi/telnyx/models/rcs/agent_retrieve_params.rbi +37 -0
- data/rbi/telnyx/models/rcs/agent_submission_status.rbi +30 -0
- data/rbi/telnyx/models/rcs/agent_submit_params.rbi +37 -0
- data/rbi/telnyx/models/rcs/agent_testing_configuration.rbi +54 -0
- data/rbi/telnyx/models/rcs/agent_update_params.rbi +90 -0
- data/rbi/telnyx/models/rcs/agent_use_case.rbi +27 -0
- data/rbi/telnyx/models/rcs/agent_website_contact.rbi +28 -0
- data/rbi/telnyx/models/rcs/agents/test_device_create_params.rbi +50 -0
- data/rbi/telnyx/models/rcs/agents/test_device_delete_params.rbi +50 -0
- data/rbi/telnyx/models/rcs/agents/test_device_list_params.rbi +42 -0
- data/rbi/telnyx/models/rcs/agents/test_device_list_response.rbi +17 -0
- data/rbi/telnyx/models/rcs/agents/test_device_response.rbi +95 -0
- data/rbi/telnyx/models/rcs/brand_contact.rbi +115 -0
- data/rbi/telnyx/models/rcs/brand_create_params.rbi +345 -0
- data/rbi/telnyx/models/rcs/brand_legal_entity_type.rbi +40 -0
- data/rbi/telnyx/models/rcs/brand_list_params.rbi +29 -0
- data/rbi/telnyx/models/rcs/brand_list_response.rbi +13 -0
- data/rbi/telnyx/models/rcs/brand_organization_type.rbi +40 -0
- data/rbi/telnyx/models/rcs/brand_response.rbi +242 -0
- data/rbi/telnyx/models/rcs/brand_retrieve_params.rbi +37 -0
- data/rbi/telnyx/models/rcs/brand_submit_params.rbi +37 -0
- data/rbi/telnyx/models/rcs/brand_update_params.rbi +383 -0
- data/rbi/telnyx/models/rcs/capabilities_response.rbi +85 -0
- data/rbi/telnyx/models/rcs/carrier_approval_response.rbi +160 -0
- data/rbi/telnyx/models/rcs/ein_brand_identifier.rbi +37 -0
- data/rbi/telnyx/models/rcs/rcs_agent.rbi +123 -0
- data/rbi/telnyx/models/rcs/rcs_agent_response.rbi +32 -0
- data/rbi/telnyx/models/rcs/stock_symbol_brand_identifier.rbi +40 -0
- data/rbi/telnyx/models/report_list_mdrs_response.rbi +8 -4
- data/rbi/telnyx/models/reports/reporting_pagination_meta_77109e5d17.rbi +73 -0
- data/rbi/telnyx/models/sim_cards/action_disable_response.rbi +8 -4
- data/rbi/telnyx/models/sim_cards/action_enable_response.rbi +8 -4
- data/rbi/telnyx/models/sim_cards/action_remove_public_ip_response.rbi +8 -4
- data/rbi/telnyx/models/sim_cards/action_retrieve_response.rbi +8 -4
- data/rbi/telnyx/models/sim_cards/action_set_public_ip_response.rbi +8 -4
- data/rbi/telnyx/models/sim_cards/action_set_standby_response.rbi +8 -4
- data/rbi/telnyx/models/sim_cards/sim_card_action.rbi +4 -5
- data/rbi/telnyx/models/sim_cards/wireless_sim_card_action.rbi +312 -0
- data/rbi/telnyx/models/sip_registration_status_retrieve_params.rbi +15 -7
- data/rbi/telnyx/models/sip_registration_status_retrieve_response.rbi +48 -38
- data/rbi/telnyx/models/speech_to_text_list_providers_response.rbi +10 -0
- data/rbi/telnyx/models/text_to_speech_list_voices_response.rbi +13 -0
- data/rbi/telnyx/models/unsafe_unwrap_webhook_event.rbi +1 -1
- data/rbi/telnyx/models/unwrap_webhook_event.rbi +1 -1
- data/rbi/telnyx/models/user_address_create_response.rbi +6 -4
- data/rbi/telnyx/models/user_address_retrieve_response.rbi +6 -4
- data/rbi/telnyx/models/user_addresses_user_address.rbi +226 -0
- data/rbi/telnyx/models/virtual_cross_connects_coverage_list_response.rbi +4 -4
- data/rbi/telnyx/models/whatsapp/phone_number_get_params.rbi +54 -0
- data/rbi/telnyx/models/whatsapp/phone_number_get_response.rbi +204 -0
- data/rbi/telnyx/models.rbi +24 -3
- data/rbi/telnyx/resources/access_ip_address.rbi +4 -4
- data/rbi/telnyx/resources/access_ip_ranges.rbi +3 -3
- data/rbi/telnyx/resources/addresses/actions.rbi +3 -2
- data/rbi/telnyx/resources/advanced_orders.rbi +8 -4
- data/rbi/telnyx/resources/ai/assistants/tags.rbi +3 -3
- data/rbi/telnyx/resources/ai/assistants/tools.rbi +2 -2
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +2 -1
- data/rbi/telnyx/resources/ai/assistants.rbi +4 -2
- data/rbi/telnyx/resources/ai/clusters.rbi +4 -4
- data/rbi/telnyx/resources/ai/collections/settings.rbi +66 -0
- data/rbi/telnyx/resources/ai/collections/sources.rbi +89 -0
- data/rbi/telnyx/resources/ai/collections.rbi +208 -0
- data/rbi/telnyx/resources/ai/tools.rbi +13 -5
- data/rbi/telnyx/resources/ai.rbi +10 -7
- data/rbi/telnyx/resources/available_phone_number_blocks.rbi +3 -1
- data/rbi/telnyx/resources/available_phone_numbers.rbi +4 -1
- data/rbi/telnyx/resources/balance.rbi +2 -1
- data/rbi/telnyx/resources/billing_groups.rbi +6 -5
- data/rbi/telnyx/resources/calls/actions.rbi +4 -2
- data/rbi/telnyx/resources/comments.rbi +8 -4
- data/rbi/telnyx/resources/credential_connections.rbi +5 -0
- data/rbi/telnyx/resources/email_blocks.rbi +2 -1
- data/rbi/telnyx/resources/email_domains/webhooks.rbi +6 -3
- data/rbi/telnyx/resources/email_domains.rbi +11 -5
- data/rbi/telnyx/resources/email_templates.rbi +4 -2
- data/rbi/telnyx/resources/email_unsubscribe_groups.rbi +3 -2
- data/rbi/telnyx/resources/external_connections.rbi +2 -1
- data/rbi/telnyx/resources/faxes.rbi +3 -3
- data/rbi/telnyx/resources/fqdn_connections/fqdn_authentication.rbi +77 -0
- data/rbi/telnyx/resources/fqdn_connections.rbi +9 -0
- data/rbi/telnyx/resources/global_ip_assignment_health.rbi +1 -1
- data/rbi/telnyx/resources/global_ip_assignments_usage.rbi +1 -1
- data/rbi/telnyx/resources/global_ip_latency.rbi +1 -1
- data/rbi/telnyx/resources/global_ip_usage.rbi +1 -1
- data/rbi/telnyx/resources/ip_connections.rbi +5 -0
- data/rbi/telnyx/resources/ledger_billing_group_reports.rbi +4 -2
- data/rbi/telnyx/resources/messages/rcs.rbi +2 -1
- data/rbi/telnyx/resources/messages.rbi +39 -5
- data/rbi/telnyx/resources/messaging/rcs/agents.rbi +8 -6
- data/rbi/telnyx/resources/messaging/rcs.rbi +3 -2
- data/rbi/telnyx/resources/messaging_10dlc/brand.rbi +3 -1
- data/rbi/telnyx/resources/messaging_10dlc/campaign/osr.rbi +3 -1
- data/rbi/telnyx/resources/messaging_10dlc/campaign/usecase.rbi +2 -1
- data/rbi/telnyx/resources/messaging_10dlc/campaign.rbi +2 -1
- data/rbi/telnyx/resources/messaging_10dlc/partner_campaigns.rbi +1 -1
- data/rbi/telnyx/resources/messaging_10dlc/phone_number_campaigns.rbi +5 -3
- data/rbi/telnyx/resources/messaging_10dlc.rbi +2 -1
- data/rbi/telnyx/resources/messaging_hosted_number_orders/actions.rbi +1 -1
- data/rbi/telnyx/resources/messaging_hosted_number_orders.rbi +8 -4
- data/rbi/telnyx/resources/messaging_hosted_numbers.rbi +1 -1
- data/rbi/telnyx/resources/messaging_numbers_bulk_updates.rbi +4 -2
- data/rbi/telnyx/resources/messaging_profiles/autoresp_configs.rbi +7 -5
- data/rbi/telnyx/resources/messaging_profiles.rbi +14 -7
- data/rbi/telnyx/resources/messaging_tollfree/verification/requests.rbi +5 -5
- data/rbi/telnyx/resources/messaging_url_domains.rbi +2 -1
- data/rbi/telnyx/resources/mobile_phone_numbers/messaging.rbi +2 -2
- data/rbi/telnyx/resources/mobile_phone_numbers.rbi +3 -3
- data/rbi/telnyx/resources/mobile_voice_connections.rbi +5 -5
- data/rbi/telnyx/resources/number_order_phone_numbers.rbi +2 -1
- data/rbi/telnyx/resources/ota_updates.rbi +2 -1
- data/rbi/telnyx/resources/payment.rbi +1 -1
- data/rbi/telnyx/resources/phone_number_blocks/jobs.rbi +5 -2
- data/rbi/telnyx/resources/phone_numbers/actions.rbi +6 -3
- data/rbi/telnyx/resources/phone_numbers/csv_downloads.rbi +7 -3
- data/rbi/telnyx/resources/phone_numbers/jobs.rbi +4 -2
- data/rbi/telnyx/resources/phone_numbers/messaging.rbi +6 -3
- data/rbi/telnyx/resources/phone_numbers/voice.rbi +7 -3
- data/rbi/telnyx/resources/phone_numbers.rbi +12 -5
- data/rbi/telnyx/resources/phone_numbers_regulatory_requirements.rbi +3 -1
- data/rbi/telnyx/resources/pricing/products.rbi +3 -1
- data/rbi/telnyx/resources/rcs/agents/test_devices.rbi +66 -0
- data/rbi/telnyx/resources/rcs/agents.rbi +163 -0
- data/rbi/telnyx/resources/rcs/brands.rbi +127 -0
- data/rbi/telnyx/resources/rcs.rbi +20 -0
- data/rbi/telnyx/resources/regulatory_requirements.rbi +3 -1
- data/rbi/telnyx/resources/requirement_groups.rbi +13 -6
- data/rbi/telnyx/resources/room_compositions.rbi +5 -2
- data/rbi/telnyx/resources/room_participants.rbi +4 -2
- data/rbi/telnyx/resources/room_recordings.rbi +8 -3
- data/rbi/telnyx/resources/rooms/sessions/actions.rbi +9 -3
- data/rbi/telnyx/resources/rooms/sessions.rbi +11 -4
- data/rbi/telnyx/resources/rooms.rbi +5 -2
- data/rbi/telnyx/resources/short_codes.rbi +4 -2
- data/rbi/telnyx/resources/sim_cards/actions.rbi +1 -1
- data/rbi/telnyx/resources/sip_registration_status.rbi +19 -6
- data/rbi/telnyx/resources/storage/migration_sources.rbi +5 -3
- data/rbi/telnyx/resources/storage/migrations/actions.rbi +1 -1
- data/rbi/telnyx/resources/storage/migrations.rbi +2 -2
- data/rbi/telnyx/resources/storage.rbi +1 -1
- data/rbi/telnyx/resources/sub_number_orders.rbi +3 -1
- data/rbi/telnyx/resources/user_addresses.rbi +5 -1
- data/rbi/telnyx/resources/verifications/actions.rbi +3 -1
- data/rbi/telnyx/resources/verifications/by_phone_number/actions.rbi +2 -1
- data/rbi/telnyx/resources/verifications/by_phone_number.rbi +2 -1
- data/rbi/telnyx/resources/verifications.rbi +13 -5
- data/rbi/telnyx/resources/verified_numbers/actions.rbi +2 -1
- data/rbi/telnyx/resources/verified_numbers.rbi +2 -2
- data/rbi/telnyx/resources/verify_profiles.rbi +3 -2
- data/rbi/telnyx/resources/webhooks.rbi +2 -2
- data/rbi/telnyx/resources/whatsapp/business_accounts/phone_numbers.rbi +3 -2
- data/rbi/telnyx/resources/whatsapp/business_accounts/settings.rbi +3 -2
- data/rbi/telnyx/resources/whatsapp/business_accounts.rbi +4 -3
- data/rbi/telnyx/resources/whatsapp/phone_numbers/calling_settings.rbi +2 -2
- data/rbi/telnyx/resources/whatsapp/phone_numbers/conversational_components.rbi +4 -2
- data/rbi/telnyx/resources/whatsapp/phone_numbers/profile/photo.rbi +5 -3
- data/rbi/telnyx/resources/whatsapp/phone_numbers/profile.rbi +3 -2
- data/rbi/telnyx/resources/whatsapp/phone_numbers.rbi +15 -4
- data/rbi/telnyx/resources/whatsapp/templates.rbi +4 -2
- data/rbi/telnyx/resources/whatsapp/user_data.rbi +4 -2
- data/rbi/telnyx/resources/whatsapp_message_templates.rbi +4 -3
- data/sig/telnyx/client.rbs +1 -1
- data/sig/telnyx/models/actions/purchase_create_response.rbs +6 -6
- data/sig/telnyx/models/actions/register_create_response.rbs +6 -6
- data/sig/telnyx/models/actions/wireless_error_c5290d5308.rbs +66 -0
- data/sig/telnyx/models/ai/assistant_tool.rbs +23 -0
- data/sig/telnyx/models/ai/collection.rbs +91 -0
- data/sig/telnyx/models/ai/collection_create_params.rbs +60 -0
- data/sig/telnyx/models/ai/collection_delete_params.rbs +25 -0
- data/sig/telnyx/models/ai/collection_envelope.rbs +17 -0
- data/sig/telnyx/models/ai/collection_list_params.rbs +34 -0
- data/sig/telnyx/models/ai/collection_retrieve_by_id_params.rbs +25 -0
- data/sig/telnyx/models/ai/collection_retrieve_documents_params.rbs +91 -0
- data/sig/telnyx/models/ai/collection_retrieve_documents_response.rbs +206 -0
- data/sig/telnyx/models/ai/collection_retrieve_params.rbs +25 -0
- data/sig/telnyx/models/ai/collection_update_params.rbs +38 -0
- data/sig/telnyx/models/ai/collections/retrieval_settings.rbs +47 -0
- data/sig/telnyx/models/ai/collections/retrieval_settings_wrapper.rbs +35 -0
- data/sig/telnyx/models/ai/collections/setting_create_params.rbs +29 -0
- data/sig/telnyx/models/ai/collections/setting_list_params.rbs +27 -0
- data/sig/telnyx/models/ai/collections/setting_patch_all_params.rbs +29 -0
- data/sig/telnyx/models/ai/collections/settings_envelope.rbs +26 -0
- data/sig/telnyx/models/ai/collections/settings_request.rbs +26 -0
- data/sig/telnyx/models/ai/collections/source.rbs +63 -0
- data/sig/telnyx/models/ai/collections/source_create_params.rbs +29 -0
- data/sig/telnyx/models/ai/collections/source_create_response.rbs +21 -0
- data/sig/telnyx/models/ai/collections/source_delete_params.rbs +32 -0
- data/sig/telnyx/models/ai/collections/source_list_params.rbs +27 -0
- data/sig/telnyx/models/ai/collections/source_list_response.rbs +24 -0
- data/sig/telnyx/models/ai/collections/source_replace_params.rbs +35 -0
- data/sig/telnyx/models/ai/collections/source_replace_response.rbs +70 -0
- data/sig/telnyx/models/ai/collections/source_request.rbs +31 -0
- data/sig/telnyx/models/ai/collections/source_type.rbs +20 -0
- data/sig/telnyx/models/ai/telephony_settings.rbs +7 -0
- data/sig/telnyx/models/ai/tool_create_params.rbs +9 -0
- data/sig/telnyx/models/ai/tool_update_params.rbs +9 -0
- data/sig/telnyx/models/ai/update_dynamic_variables_tool_params.rbs +55 -0
- data/sig/telnyx/models/credential_connection.rbs +7 -0
- data/sig/telnyx/models/credential_connection_update_params.rbs +7 -0
- data/sig/telnyx/models/fqdn_connection.rbs +7 -0
- data/sig/telnyx/models/fqdn_connection_update_params.rbs +7 -0
- data/sig/telnyx/models/fqdn_connections/fqdn_authentication.rbs +135 -0
- data/sig/telnyx/models/fqdn_connections/fqdn_authentication_list_params.rbs +26 -0
- data/sig/telnyx/models/fqdn_connections/fqdn_authentication_list_response.rbs +24 -0
- data/sig/telnyx/models/fqdn_connections/fqdn_authentication_patch_all_params.rbs +118 -0
- data/sig/telnyx/models/fqdn_connections/fqdn_authentication_patch_all_response.rbs +24 -0
- data/sig/telnyx/models/inbound_message_webhook_event.rbs +613 -6
- data/sig/telnyx/models/ip_connection.rbs +7 -0
- data/sig/telnyx/models/ip_connection_update_params.rbs +7 -0
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/batch_csv_pagination_meta_705dfa7312.rbs +49 -0
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/messaging_list_response.rbs +6 -6
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/voice_list_response.rbs +6 -6
- data/sig/telnyx/models/legacy/reporting/usage_reports/standard_pagination_meta_ffba4faa88.rbs +49 -0
- data/sig/telnyx/models/message_cancel_scheduled_response.rbs +6 -6
- data/sig/telnyx/models/message_retrieve_group_messages_response.rbs +8 -6
- data/sig/telnyx/models/message_retrieve_response.rbs +610 -1
- data/sig/telnyx/models/message_schedule_response.rbs +7 -6
- data/sig/telnyx/models/message_send_group_mms_response.rbs +6 -6
- data/sig/telnyx/models/message_send_long_code_response.rbs +6 -6
- data/sig/telnyx/models/message_send_number_pool_response.rbs +6 -6
- data/sig/telnyx/models/message_send_response.rbs +7 -6
- data/sig/telnyx/models/message_send_short_code_response.rbs +6 -6
- data/sig/telnyx/models/message_whatsapp_params.rbs +69 -0
- data/sig/telnyx/models/message_whatsapp_response.rbs +189 -0
- data/sig/telnyx/models/messaging_error_0b38e7044b.rbs +64 -0
- data/sig/telnyx/models/messaging_outbound_message_payload.rbs +581 -0
- data/sig/telnyx/models/messaging_pagination_meta_0b38e7044b.rbs +35 -0
- data/sig/telnyx/models/messaging_profile_metric_list_response.rbs +6 -6
- data/sig/telnyx/models/messaging_profiles/autoresp_config_list_response.rbs +4 -4
- data/sig/telnyx/models/messaging_tollfree/verification/messaging_toll_free_verification_entity_type.rbs +26 -0
- data/sig/telnyx/models/messaging_tollfree/verification/messaging_toll_free_verification_tf_verification_request.rbs +190 -0
- data/sig/telnyx/models/messaging_tollfree/verification/messaging_toll_free_verification_verification_request_egress.rbs +233 -0
- data/sig/telnyx/models/messaging_tollfree/verification/request_create_params.rbs +1 -1
- data/sig/telnyx/models/messaging_tollfree/verification/request_retrieve_response.rbs +245 -0
- data/sig/telnyx/models/messaging_tollfree/verification/request_update_params.rbs +1 -1
- data/sig/telnyx/models/netapps_location_17904fcfbc.rbs +44 -0
- data/sig/telnyx/models/network_coverage_list_response.rbs +7 -5
- data/sig/telnyx/models/number_order_status_update_webhook_event.rbs +395 -0
- data/sig/telnyx/models/numbers_phone_number_detailed.rbs +293 -0
- data/sig/telnyx/models/oauth_oauth_pagination_meta.rbs +43 -0
- data/sig/telnyx/models/phone_number_retrieve_response.rbs +8 -5
- data/sig/telnyx/models/phone_number_update_response.rbs +8 -5
- data/sig/telnyx/models/pricing/product_retrieve_params.rbs +10 -1
- data/sig/telnyx/models/rcs/agent_campaign_configuration.rbs +53 -0
- data/sig/telnyx/models/rcs/agent_configuration.rbs +250 -0
- data/sig/telnyx/models/rcs/agent_consent_configuration.rbs +100 -0
- data/sig/telnyx/models/rcs/agent_create_params.rbs +58 -0
- data/sig/telnyx/models/rcs/agent_email_contact.rbs +17 -0
- data/sig/telnyx/models/rcs/agent_interaction.rbs +50 -0
- data/sig/telnyx/models/rcs/agent_launch_params.rbs +82 -0
- data/sig/telnyx/models/rcs/agent_list_params.rbs +27 -0
- data/sig/telnyx/models/rcs/agent_list_response.rbs +9 -0
- data/sig/telnyx/models/rcs/agent_phone_contact.rbs +17 -0
- data/sig/telnyx/models/rcs/agent_response.rbs +130 -0
- data/sig/telnyx/models/rcs/agent_retrieve_carrier_approvals_params.rbs +22 -0
- data/sig/telnyx/models/rcs/agent_retrieve_carrier_approvals_response.rbs +10 -0
- data/sig/telnyx/models/rcs/agent_retrieve_params.rbs +22 -0
- data/sig/telnyx/models/rcs/agent_submission_status.rbs +17 -0
- data/sig/telnyx/models/rcs/agent_submit_params.rbs +22 -0
- data/sig/telnyx/models/rcs/agent_testing_configuration.rbs +32 -0
- data/sig/telnyx/models/rcs/agent_update_params.rbs +67 -0
- data/sig/telnyx/models/rcs/agent_use_case.rbs +18 -0
- data/sig/telnyx/models/rcs/agent_website_contact.rbs +17 -0
- data/sig/telnyx/models/rcs/agents/test_device_create_params.rbs +32 -0
- data/sig/telnyx/models/rcs/agents/test_device_delete_params.rbs +32 -0
- data/sig/telnyx/models/rcs/agents/test_device_list_params.rbs +27 -0
- data/sig/telnyx/models/rcs/agents/test_device_list_response.rbs +12 -0
- data/sig/telnyx/models/rcs/agents/test_device_response.rbs +46 -0
- data/sig/telnyx/models/rcs/brand_contact.rbs +70 -0
- data/sig/telnyx/models/rcs/brand_create_params.rbs +182 -0
- data/sig/telnyx/models/rcs/brand_legal_entity_type.rbs +24 -0
- data/sig/telnyx/models/rcs/brand_list_params.rbs +16 -0
- data/sig/telnyx/models/rcs/brand_list_response.rbs +9 -0
- data/sig/telnyx/models/rcs/brand_organization_type.rbs +20 -0
- data/sig/telnyx/models/rcs/brand_response.rbs +154 -0
- data/sig/telnyx/models/rcs/brand_retrieve_params.rbs +22 -0
- data/sig/telnyx/models/rcs/brand_submit_params.rbs +22 -0
- data/sig/telnyx/models/rcs/brand_update_params.rbs +215 -0
- data/sig/telnyx/models/rcs/capabilities_response.rbs +62 -0
- data/sig/telnyx/models/rcs/carrier_approval_response.rbs +77 -0
- data/sig/telnyx/models/rcs/ein_brand_identifier.rbs +17 -0
- data/sig/telnyx/models/rcs/rcs_agent.rbs +76 -0
- data/sig/telnyx/models/rcs/rcs_agent_response.rbs +19 -0
- data/sig/telnyx/models/rcs/stock_symbol_brand_identifier.rbs +18 -0
- data/sig/telnyx/models/report_list_mdrs_response.rbs +6 -6
- data/sig/telnyx/models/reports/reporting_pagination_meta_77109e5d17.rbs +47 -0
- data/sig/telnyx/models/sim_cards/action_disable_response.rbs +7 -6
- data/sig/telnyx/models/sim_cards/action_enable_response.rbs +7 -6
- data/sig/telnyx/models/sim_cards/action_remove_public_ip_response.rbs +6 -6
- data/sig/telnyx/models/sim_cards/action_retrieve_response.rbs +7 -6
- data/sig/telnyx/models/sim_cards/action_set_public_ip_response.rbs +6 -6
- data/sig/telnyx/models/sim_cards/action_set_standby_response.rbs +6 -6
- data/sig/telnyx/models/sim_cards/wireless_sim_card_action.rbs +130 -0
- data/sig/telnyx/models/sip_registration_status_retrieve_params.rbs +5 -1
- data/sig/telnyx/models/sip_registration_status_retrieve_response.rbs +9 -14
- data/sig/telnyx/models/speech_to_text_list_providers_response.rbs +5 -0
- data/sig/telnyx/models/text_to_speech_list_voices_response.rbs +7 -0
- data/sig/telnyx/models/unsafe_unwrap_webhook_event.rbs +1 -1
- data/sig/telnyx/models/unwrap_webhook_event.rbs +1 -1
- data/sig/telnyx/models/user_address_create_response.rbs +8 -5
- data/sig/telnyx/models/user_address_retrieve_response.rbs +8 -5
- data/sig/telnyx/models/user_addresses_user_address.rbs +134 -0
- data/sig/telnyx/models/virtual_cross_connects_coverage_list_response.rbs +7 -5
- data/sig/telnyx/models/whatsapp/phone_number_get_params.rbs +34 -0
- data/sig/telnyx/models/whatsapp/phone_number_get_response.rbs +124 -0
- data/sig/telnyx/models.rbs +21 -3
- data/sig/telnyx/resources/ai/collections/settings.rbs +28 -0
- data/sig/telnyx/resources/ai/collections/sources.rbs +35 -0
- data/sig/telnyx/resources/ai/collections.rbs +59 -0
- data/sig/telnyx/resources/ai/tools.rbs +2 -0
- data/sig/telnyx/resources/ai.rbs +2 -0
- data/sig/telnyx/resources/credential_connections.rbs +1 -0
- data/sig/telnyx/resources/fqdn_connections/fqdn_authentication.rbs +28 -0
- data/sig/telnyx/resources/fqdn_connections.rbs +3 -0
- data/sig/telnyx/resources/ip_connections.rbs +1 -0
- data/sig/telnyx/resources/messages.rbs +10 -0
- data/sig/telnyx/resources/messaging/rcs/agents.rbs +3 -3
- data/sig/telnyx/resources/messaging_tollfree/verification/requests.rbs +5 -5
- data/sig/telnyx/resources/phone_numbers.rbs +1 -1
- data/sig/telnyx/resources/pricing/products.rbs +2 -1
- data/sig/telnyx/resources/rcs/agents/test_devices.rbs +28 -0
- data/sig/telnyx/resources/rcs/agents.rbs +59 -0
- data/sig/telnyx/resources/rcs/brands.rbs +50 -0
- data/sig/telnyx/resources/rcs.rbs +11 -0
- data/sig/telnyx/resources/sim_cards/actions.rbs +1 -1
- data/sig/telnyx/resources/user_addresses.rbs +1 -1
- data/sig/telnyx/resources/webhooks.rbs +2 -2
- data/sig/telnyx/resources/whatsapp/phone_numbers.rbs +6 -0
- metadata +311 -11
- data/lib/telnyx/models/rcs_agent.rb +0 -80
- data/lib/telnyx/models/rcs_agent_response.rb +0 -15
- data/lib/telnyx/resources/rcs_agents.rb +0 -14
- data/rbi/telnyx/models/rcs_agent.rbi +0 -117
- data/rbi/telnyx/models/rcs_agent_response.rbi +0 -26
- data/rbi/telnyx/resources/rcs_agents.rbi +0 -12
- data/sig/telnyx/models/rcs_agent.rbs +0 -72
- data/sig/telnyx/models/rcs_agent_response.rbs +0 -15
- data/sig/telnyx/resources/rcs_agents.rbs +0 -7
|
@@ -0,0 +1,369 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
# @see Telnyx::Resources::PhoneNumbers#list
|
|
6
|
+
class NumbersPhoneNumberDetailed < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute deletion_lock_enabled
|
|
8
|
+
# Indicates whether deletion lock is enabled for this number. When enabled, this
|
|
9
|
+
# prevents the phone number from being deleted via the API or Telnyx portal.
|
|
10
|
+
#
|
|
11
|
+
# @return [Boolean]
|
|
12
|
+
required :deletion_lock_enabled, Telnyx::Internal::Type::Boolean
|
|
13
|
+
|
|
14
|
+
# @!attribute external_pin
|
|
15
|
+
# If someone attempts to port your phone number away from Telnyx and your phone
|
|
16
|
+
# number has an external PIN set, Telnyx will attempt to verify that you provided
|
|
17
|
+
# the correct external PIN to the winning carrier. Note that not all carriers
|
|
18
|
+
# cooperate with this security mechanism.
|
|
19
|
+
#
|
|
20
|
+
# @return [String, nil]
|
|
21
|
+
required :external_pin, String, nil?: true
|
|
22
|
+
|
|
23
|
+
# @!attribute tags
|
|
24
|
+
# A list of user-assigned tags to help manage the phone number.
|
|
25
|
+
#
|
|
26
|
+
# @return [Array<String>]
|
|
27
|
+
required :tags, Telnyx::Internal::Type::ArrayOf[String]
|
|
28
|
+
|
|
29
|
+
# @!attribute billing_group_id
|
|
30
|
+
# Identifies the billing group associated with the phone number.
|
|
31
|
+
#
|
|
32
|
+
# @return [String, nil]
|
|
33
|
+
optional :billing_group_id, String, nil?: true
|
|
34
|
+
|
|
35
|
+
# @!attribute connection_id
|
|
36
|
+
# Identifies the connection associated with the phone number.
|
|
37
|
+
#
|
|
38
|
+
# @return [String, nil]
|
|
39
|
+
optional :connection_id, String, nil?: true
|
|
40
|
+
|
|
41
|
+
# @!attribute customer_reference
|
|
42
|
+
# A customer reference string for customer look ups.
|
|
43
|
+
#
|
|
44
|
+
# @return [String, nil]
|
|
45
|
+
optional :customer_reference, String, nil?: true
|
|
46
|
+
|
|
47
|
+
# @!attribute emergency_status
|
|
48
|
+
# Indicates the status of the provisioning of emergency services for the phone
|
|
49
|
+
# number. This field contains information about activity that may be ongoing for a
|
|
50
|
+
# number where it either is being provisioned or deprovisioned but is not yet
|
|
51
|
+
# enabled/disabled.
|
|
52
|
+
#
|
|
53
|
+
# @return [Symbol, Telnyx::Models::NumbersPhoneNumberDetailed::EmergencyStatus, nil]
|
|
54
|
+
optional :emergency_status, enum: -> { Telnyx::NumbersPhoneNumberDetailed::EmergencyStatus }
|
|
55
|
+
|
|
56
|
+
# @!attribute inbound_call_screening
|
|
57
|
+
# The inbound_call_screening setting is a phone number configuration option
|
|
58
|
+
# variable that allows users to configure their settings to block or flag
|
|
59
|
+
# fraudulent calls. It can be set to disabled, reject_calls, or flag_calls. This
|
|
60
|
+
# feature has an additional per-number monthly cost associated with it.
|
|
61
|
+
#
|
|
62
|
+
# @return [Symbol, Telnyx::Models::NumbersPhoneNumberDetailed::InboundCallScreening, nil]
|
|
63
|
+
optional :inbound_call_screening, enum: -> { Telnyx::NumbersPhoneNumberDetailed::InboundCallScreening }
|
|
64
|
+
|
|
65
|
+
# @!attribute messaging_profile_id
|
|
66
|
+
# Identifies the messaging profile associated with the phone number.
|
|
67
|
+
#
|
|
68
|
+
# @return [String, nil]
|
|
69
|
+
optional :messaging_profile_id, String, nil?: true
|
|
70
|
+
|
|
71
|
+
# @!attribute messaging_profile_name
|
|
72
|
+
# The name of the messaging profile associated with the phone number.
|
|
73
|
+
#
|
|
74
|
+
# @return [String, nil]
|
|
75
|
+
optional :messaging_profile_name, String, nil?: true
|
|
76
|
+
|
|
77
|
+
response_only do
|
|
78
|
+
# @!attribute id
|
|
79
|
+
# Identifies the resource.
|
|
80
|
+
#
|
|
81
|
+
# @return [String]
|
|
82
|
+
required :id, String
|
|
83
|
+
|
|
84
|
+
# @!attribute country_iso_alpha2
|
|
85
|
+
# The ISO 3166-1 alpha-2 country code of the phone number.
|
|
86
|
+
#
|
|
87
|
+
# @return [String]
|
|
88
|
+
required :country_iso_alpha2, String
|
|
89
|
+
|
|
90
|
+
# @!attribute created_at
|
|
91
|
+
# ISO 8601 formatted date indicating when the resource was created.
|
|
92
|
+
#
|
|
93
|
+
# @return [Time]
|
|
94
|
+
required :created_at, Time
|
|
95
|
+
|
|
96
|
+
# @!attribute phone_number
|
|
97
|
+
# The +E.164-formatted phone number associated with this record.
|
|
98
|
+
#
|
|
99
|
+
# @return [String]
|
|
100
|
+
required :phone_number, String
|
|
101
|
+
|
|
102
|
+
# @!attribute phone_number_type
|
|
103
|
+
# The phone number's type. Note: For numbers purchased prior to July 2023 or when
|
|
104
|
+
# fetching a number's details immediately after a purchase completes, the legacy
|
|
105
|
+
# values `tollfree`, `shortcode` or `longcode` may be returned instead.
|
|
106
|
+
#
|
|
107
|
+
# @return [Symbol, Telnyx::Models::NumbersPhoneNumberDetailed::PhoneNumberType]
|
|
108
|
+
required :phone_number_type, enum: -> { Telnyx::NumbersPhoneNumberDetailed::PhoneNumberType }
|
|
109
|
+
|
|
110
|
+
# @!attribute purchased_at
|
|
111
|
+
# ISO 8601 formatted date indicating when the resource was purchased.
|
|
112
|
+
#
|
|
113
|
+
# @return [String]
|
|
114
|
+
required :purchased_at, String
|
|
115
|
+
|
|
116
|
+
# @!attribute record_type
|
|
117
|
+
# Identifies the type of the resource.
|
|
118
|
+
#
|
|
119
|
+
# @return [String]
|
|
120
|
+
required :record_type, String
|
|
121
|
+
|
|
122
|
+
# @!attribute status
|
|
123
|
+
# The phone number's current status.
|
|
124
|
+
#
|
|
125
|
+
# @return [Symbol, Telnyx::Models::NumbersPhoneNumberDetailed::Status]
|
|
126
|
+
required :status, enum: -> { Telnyx::NumbersPhoneNumberDetailed::Status }
|
|
127
|
+
|
|
128
|
+
# @!attribute activated_at
|
|
129
|
+
# ISO 8601 formatted date indicating when the phone number was first activated
|
|
130
|
+
# (transitioned from purchase-pending or port-pending to active). Will be null for
|
|
131
|
+
# numbers that have not yet been activated, or for legacy numbers activated before
|
|
132
|
+
# this field was tracked.
|
|
133
|
+
#
|
|
134
|
+
# @return [Time, nil]
|
|
135
|
+
optional :activated_at, Time, nil?: true
|
|
136
|
+
|
|
137
|
+
# @!attribute call_forwarding_enabled
|
|
138
|
+
# Indicates if call forwarding will be enabled for this number if forwards_to and
|
|
139
|
+
# forwarding_type are filled in. Defaults to true for backwards compatibility with
|
|
140
|
+
# APIV1 use of numbers endpoints.
|
|
141
|
+
#
|
|
142
|
+
# @return [Boolean, nil]
|
|
143
|
+
optional :call_forwarding_enabled, Telnyx::Internal::Type::Boolean
|
|
144
|
+
|
|
145
|
+
# @!attribute call_recording_enabled
|
|
146
|
+
# Indicates whether call recording is enabled for this number.
|
|
147
|
+
#
|
|
148
|
+
# @return [Boolean, nil]
|
|
149
|
+
optional :call_recording_enabled, Telnyx::Internal::Type::Boolean
|
|
150
|
+
|
|
151
|
+
# @!attribute caller_id_name_enabled
|
|
152
|
+
# Indicates whether caller ID is enabled for this number.
|
|
153
|
+
#
|
|
154
|
+
# @return [Boolean, nil]
|
|
155
|
+
optional :caller_id_name_enabled, Telnyx::Internal::Type::Boolean
|
|
156
|
+
|
|
157
|
+
# @!attribute cnam_listing_enabled
|
|
158
|
+
# Indicates whether a CNAM listing is enabled for this number.
|
|
159
|
+
#
|
|
160
|
+
# @return [Boolean, nil]
|
|
161
|
+
optional :cnam_listing_enabled, Telnyx::Internal::Type::Boolean
|
|
162
|
+
|
|
163
|
+
# @!attribute connection_name
|
|
164
|
+
# The user-assigned name of the connection to be associated with this phone
|
|
165
|
+
# number.
|
|
166
|
+
#
|
|
167
|
+
# @return [String, nil]
|
|
168
|
+
optional :connection_name, String, nil?: true
|
|
169
|
+
|
|
170
|
+
# @!attribute emergency_address_id
|
|
171
|
+
# Identifies the emergency address associated with the phone number.
|
|
172
|
+
#
|
|
173
|
+
# @return [String, nil]
|
|
174
|
+
optional :emergency_address_id, String, nil?: true
|
|
175
|
+
|
|
176
|
+
# @!attribute emergency_enabled
|
|
177
|
+
# Indicates whether emergency services are enabled for this number.
|
|
178
|
+
#
|
|
179
|
+
# @return [Boolean, nil]
|
|
180
|
+
optional :emergency_enabled, Telnyx::Internal::Type::Boolean
|
|
181
|
+
|
|
182
|
+
# @!attribute hd_voice_enabled
|
|
183
|
+
# Indicates whether HD voice is enabled for this number.
|
|
184
|
+
#
|
|
185
|
+
# @return [Boolean, nil]
|
|
186
|
+
optional :hd_voice_enabled, Telnyx::Internal::Type::Boolean
|
|
187
|
+
|
|
188
|
+
# @!attribute source_type
|
|
189
|
+
# Indicates if the phone number was purchased or ported in. For some numbers this
|
|
190
|
+
# information may not be available.
|
|
191
|
+
#
|
|
192
|
+
# @return [Symbol, Telnyx::Models::NumbersPhoneNumberDetailed::SourceType, nil]
|
|
193
|
+
optional :source_type, enum: -> { Telnyx::NumbersPhoneNumberDetailed::SourceType }, nil?: true
|
|
194
|
+
|
|
195
|
+
# @!attribute t38_fax_gateway_enabled
|
|
196
|
+
# Indicates whether T38 Fax Gateway for inbound calls to this number.
|
|
197
|
+
#
|
|
198
|
+
# @return [Boolean, nil]
|
|
199
|
+
optional :t38_fax_gateway_enabled, Telnyx::Internal::Type::Boolean
|
|
200
|
+
|
|
201
|
+
# @!attribute updated_at
|
|
202
|
+
# ISO 8601 formatted date indicating when the resource was updated.
|
|
203
|
+
#
|
|
204
|
+
# @return [String, nil]
|
|
205
|
+
optional :updated_at, String
|
|
206
|
+
end
|
|
207
|
+
|
|
208
|
+
# @!method initialize(id:, country_iso_alpha2:, created_at:, deletion_lock_enabled:, external_pin:, phone_number:, phone_number_type:, purchased_at:, record_type:, status:, tags:, activated_at: nil, billing_group_id: nil, call_forwarding_enabled: nil, call_recording_enabled: nil, caller_id_name_enabled: nil, cnam_listing_enabled: nil, connection_id: nil, connection_name: nil, customer_reference: nil, emergency_address_id: nil, emergency_enabled: nil, emergency_status: nil, hd_voice_enabled: nil, inbound_call_screening: nil, messaging_profile_id: nil, messaging_profile_name: nil, source_type: nil, t38_fax_gateway_enabled: nil, updated_at: nil)
|
|
209
|
+
# Some parameter documentations has been truncated, see
|
|
210
|
+
# {Telnyx::Models::NumbersPhoneNumberDetailed} for more details.
|
|
211
|
+
#
|
|
212
|
+
# @param id [String] Identifies the resource.
|
|
213
|
+
#
|
|
214
|
+
# @param country_iso_alpha2 [String] The ISO 3166-1 alpha-2 country code of the phone number.
|
|
215
|
+
#
|
|
216
|
+
# @param created_at [Time] ISO 8601 formatted date indicating when the resource was created.
|
|
217
|
+
#
|
|
218
|
+
# @param deletion_lock_enabled [Boolean] Indicates whether deletion lock is enabled for this number. When enabled, this p
|
|
219
|
+
#
|
|
220
|
+
# @param external_pin [String, nil] If someone attempts to port your phone number away from Telnyx and your phone nu
|
|
221
|
+
#
|
|
222
|
+
# @param phone_number [String] The +E.164-formatted phone number associated with this record.
|
|
223
|
+
#
|
|
224
|
+
# @param phone_number_type [Symbol, Telnyx::Models::NumbersPhoneNumberDetailed::PhoneNumberType] The phone number's type.
|
|
225
|
+
#
|
|
226
|
+
# @param purchased_at [String] ISO 8601 formatted date indicating when the resource was purchased.
|
|
227
|
+
#
|
|
228
|
+
# @param record_type [String] Identifies the type of the resource.
|
|
229
|
+
#
|
|
230
|
+
# @param status [Symbol, Telnyx::Models::NumbersPhoneNumberDetailed::Status] The phone number's current status.
|
|
231
|
+
#
|
|
232
|
+
# @param tags [Array<String>] A list of user-assigned tags to help manage the phone number.
|
|
233
|
+
#
|
|
234
|
+
# @param activated_at [Time, nil] ISO 8601 formatted date indicating when the phone number was first activated (tr
|
|
235
|
+
#
|
|
236
|
+
# @param billing_group_id [String, nil] Identifies the billing group associated with the phone number.
|
|
237
|
+
#
|
|
238
|
+
# @param call_forwarding_enabled [Boolean] Indicates if call forwarding will be enabled for this number if forwards_to and
|
|
239
|
+
#
|
|
240
|
+
# @param call_recording_enabled [Boolean] Indicates whether call recording is enabled for this number.
|
|
241
|
+
#
|
|
242
|
+
# @param caller_id_name_enabled [Boolean] Indicates whether caller ID is enabled for this number.
|
|
243
|
+
#
|
|
244
|
+
# @param cnam_listing_enabled [Boolean] Indicates whether a CNAM listing is enabled for this number.
|
|
245
|
+
#
|
|
246
|
+
# @param connection_id [String, nil] Identifies the connection associated with the phone number.
|
|
247
|
+
#
|
|
248
|
+
# @param connection_name [String, nil] The user-assigned name of the connection to be associated with this phone number
|
|
249
|
+
#
|
|
250
|
+
# @param customer_reference [String, nil] A customer reference string for customer look ups.
|
|
251
|
+
#
|
|
252
|
+
# @param emergency_address_id [String, nil] Identifies the emergency address associated with the phone number.
|
|
253
|
+
#
|
|
254
|
+
# @param emergency_enabled [Boolean] Indicates whether emergency services are enabled for this number.
|
|
255
|
+
#
|
|
256
|
+
# @param emergency_status [Symbol, Telnyx::Models::NumbersPhoneNumberDetailed::EmergencyStatus] Indicates the status of the provisioning of emergency services for the phone num
|
|
257
|
+
#
|
|
258
|
+
# @param hd_voice_enabled [Boolean] Indicates whether HD voice is enabled for this number.
|
|
259
|
+
#
|
|
260
|
+
# @param inbound_call_screening [Symbol, Telnyx::Models::NumbersPhoneNumberDetailed::InboundCallScreening] The inbound_call_screening setting is a phone number configuration option variab
|
|
261
|
+
#
|
|
262
|
+
# @param messaging_profile_id [String, nil] Identifies the messaging profile associated with the phone number.
|
|
263
|
+
#
|
|
264
|
+
# @param messaging_profile_name [String, nil] The name of the messaging profile associated with the phone number.
|
|
265
|
+
#
|
|
266
|
+
# @param source_type [Symbol, Telnyx::Models::NumbersPhoneNumberDetailed::SourceType, nil] Indicates if the phone number was purchased or ported in. For some numbers this
|
|
267
|
+
#
|
|
268
|
+
# @param t38_fax_gateway_enabled [Boolean] Indicates whether T38 Fax Gateway for inbound calls to this number.
|
|
269
|
+
#
|
|
270
|
+
# @param updated_at [String] ISO 8601 formatted date indicating when the resource was updated.
|
|
271
|
+
|
|
272
|
+
# The phone number's type. Note: For numbers purchased prior to July 2023 or when
|
|
273
|
+
# fetching a number's details immediately after a purchase completes, the legacy
|
|
274
|
+
# values `tollfree`, `shortcode` or `longcode` may be returned instead.
|
|
275
|
+
#
|
|
276
|
+
# @see Telnyx::Models::NumbersPhoneNumberDetailed#phone_number_type
|
|
277
|
+
module PhoneNumberType
|
|
278
|
+
extend Telnyx::Internal::Type::Enum
|
|
279
|
+
|
|
280
|
+
LOCAL = :local
|
|
281
|
+
TOLL_FREE = :toll_free
|
|
282
|
+
MOBILE = :mobile
|
|
283
|
+
NATIONAL = :national
|
|
284
|
+
SHARED_COST = :shared_cost
|
|
285
|
+
LANDLINE = :landline
|
|
286
|
+
TOLLFREE = :tollfree
|
|
287
|
+
SHORTCODE = :shortcode
|
|
288
|
+
LONGCODE = :longcode
|
|
289
|
+
|
|
290
|
+
# @!method self.values
|
|
291
|
+
# @return [Array<Symbol>]
|
|
292
|
+
end
|
|
293
|
+
|
|
294
|
+
# The phone number's current status.
|
|
295
|
+
#
|
|
296
|
+
# @see Telnyx::Models::NumbersPhoneNumberDetailed#status
|
|
297
|
+
module Status
|
|
298
|
+
extend Telnyx::Internal::Type::Enum
|
|
299
|
+
|
|
300
|
+
PURCHASE_PENDING = :"purchase-pending"
|
|
301
|
+
PURCHASE_FAILED = :"purchase-failed"
|
|
302
|
+
PORT_PENDING = :"port-pending"
|
|
303
|
+
PORT_FAILED = :"port-failed"
|
|
304
|
+
ACTIVE = :active
|
|
305
|
+
DELETED = :deleted
|
|
306
|
+
EMERGENCY_ONLY = :"emergency-only"
|
|
307
|
+
PORTED_OUT = :"ported-out"
|
|
308
|
+
PORT_OUT_PENDING = :"port-out-pending"
|
|
309
|
+
REQUIREMENT_INFO_PENDING = :"requirement-info-pending"
|
|
310
|
+
REQUIREMENT_INFO_UNDER_REVIEW = :"requirement-info-under-review"
|
|
311
|
+
REQUIREMENT_INFO_EXCEPTION = :"requirement-info-exception"
|
|
312
|
+
PROVISION_PENDING = :"provision-pending"
|
|
313
|
+
|
|
314
|
+
# @!method self.values
|
|
315
|
+
# @return [Array<Symbol>]
|
|
316
|
+
end
|
|
317
|
+
|
|
318
|
+
# Indicates the status of the provisioning of emergency services for the phone
|
|
319
|
+
# number. This field contains information about activity that may be ongoing for a
|
|
320
|
+
# number where it either is being provisioned or deprovisioned but is not yet
|
|
321
|
+
# enabled/disabled.
|
|
322
|
+
#
|
|
323
|
+
# @see Telnyx::Models::NumbersPhoneNumberDetailed#emergency_status
|
|
324
|
+
module EmergencyStatus
|
|
325
|
+
extend Telnyx::Internal::Type::Enum
|
|
326
|
+
|
|
327
|
+
ACTIVE = :active
|
|
328
|
+
DEPROVISIONING = :deprovisioning
|
|
329
|
+
DISABLED = :disabled
|
|
330
|
+
PROVISIONING = :provisioning
|
|
331
|
+
PROVISIONING_FAILED = :"provisioning-failed"
|
|
332
|
+
|
|
333
|
+
# @!method self.values
|
|
334
|
+
# @return [Array<Symbol>]
|
|
335
|
+
end
|
|
336
|
+
|
|
337
|
+
# The inbound_call_screening setting is a phone number configuration option
|
|
338
|
+
# variable that allows users to configure their settings to block or flag
|
|
339
|
+
# fraudulent calls. It can be set to disabled, reject_calls, or flag_calls. This
|
|
340
|
+
# feature has an additional per-number monthly cost associated with it.
|
|
341
|
+
#
|
|
342
|
+
# @see Telnyx::Models::NumbersPhoneNumberDetailed#inbound_call_screening
|
|
343
|
+
module InboundCallScreening
|
|
344
|
+
extend Telnyx::Internal::Type::Enum
|
|
345
|
+
|
|
346
|
+
DISABLED = :disabled
|
|
347
|
+
REJECT_CALLS = :reject_calls
|
|
348
|
+
FLAG_CALLS = :flag_calls
|
|
349
|
+
|
|
350
|
+
# @!method self.values
|
|
351
|
+
# @return [Array<Symbol>]
|
|
352
|
+
end
|
|
353
|
+
|
|
354
|
+
# Indicates if the phone number was purchased or ported in. For some numbers this
|
|
355
|
+
# information may not be available.
|
|
356
|
+
#
|
|
357
|
+
# @see Telnyx::Models::NumbersPhoneNumberDetailed#source_type
|
|
358
|
+
module SourceType
|
|
359
|
+
extend Telnyx::Internal::Type::Enum
|
|
360
|
+
|
|
361
|
+
NUMBER_ORDER = :number_order
|
|
362
|
+
PORT_REQUEST = :port_request
|
|
363
|
+
|
|
364
|
+
# @!method self.values
|
|
365
|
+
# @return [Array<Symbol>]
|
|
366
|
+
end
|
|
367
|
+
end
|
|
368
|
+
end
|
|
369
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
class OAuthOAuthPaginationMeta < Telnyx::Internal::Type::BaseModel
|
|
6
|
+
# @!attribute page_number
|
|
7
|
+
# Current page number
|
|
8
|
+
#
|
|
9
|
+
# @return [Integer, nil]
|
|
10
|
+
optional :page_number, Integer
|
|
11
|
+
|
|
12
|
+
# @!attribute page_size
|
|
13
|
+
# Number of items per page
|
|
14
|
+
#
|
|
15
|
+
# @return [Integer, nil]
|
|
16
|
+
optional :page_size, Integer
|
|
17
|
+
|
|
18
|
+
# @!attribute total_pages
|
|
19
|
+
# Total number of pages
|
|
20
|
+
#
|
|
21
|
+
# @return [Integer, nil]
|
|
22
|
+
optional :total_pages, Integer
|
|
23
|
+
|
|
24
|
+
# @!attribute total_results
|
|
25
|
+
# Total number of results
|
|
26
|
+
#
|
|
27
|
+
# @return [Integer, nil]
|
|
28
|
+
optional :total_results, Integer
|
|
29
|
+
|
|
30
|
+
# @!method initialize(page_number: nil, page_size: nil, total_pages: nil, total_results: nil)
|
|
31
|
+
# @param page_number [Integer] Current page number
|
|
32
|
+
#
|
|
33
|
+
# @param page_size [Integer] Number of items per page
|
|
34
|
+
#
|
|
35
|
+
# @param total_pages [Integer] Total number of pages
|
|
36
|
+
#
|
|
37
|
+
# @param total_results [Integer] Total number of results
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -6,11 +6,11 @@ module Telnyx
|
|
|
6
6
|
class PhoneNumberRetrieveResponse < Telnyx::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute data
|
|
8
8
|
#
|
|
9
|
-
# @return [Telnyx::Models::
|
|
10
|
-
optional :data, -> { Telnyx::
|
|
9
|
+
# @return [Telnyx::Models::NumbersPhoneNumberDetailed, nil]
|
|
10
|
+
optional :data, -> { Telnyx::NumbersPhoneNumberDetailed }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [Telnyx::Models::
|
|
13
|
+
# @param data [Telnyx::Models::NumbersPhoneNumberDetailed]
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
16
|
end
|
|
@@ -6,11 +6,11 @@ module Telnyx
|
|
|
6
6
|
class PhoneNumberUpdateResponse < Telnyx::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute data
|
|
8
8
|
#
|
|
9
|
-
# @return [Telnyx::Models::
|
|
10
|
-
optional :data, -> { Telnyx::
|
|
9
|
+
# @return [Telnyx::Models::NumbersPhoneNumberDetailed, nil]
|
|
10
|
+
optional :data, -> { Telnyx::NumbersPhoneNumberDetailed }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [Telnyx::Models::
|
|
13
|
+
# @param data [Telnyx::Models::NumbersPhoneNumberDetailed]
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
16
|
end
|
|
@@ -13,6 +13,11 @@ module Telnyx
|
|
|
13
13
|
# @return [String]
|
|
14
14
|
required :slug, String
|
|
15
15
|
|
|
16
|
+
# @!attribute filter_country_iso
|
|
17
|
+
#
|
|
18
|
+
# @return [String, nil]
|
|
19
|
+
optional :filter_country_iso, String, nil?: true
|
|
20
|
+
|
|
16
21
|
# @!attribute page_number
|
|
17
22
|
# Page number (1-based).
|
|
18
23
|
#
|
|
@@ -25,9 +30,11 @@ module Telnyx
|
|
|
25
30
|
# @return [Integer, nil]
|
|
26
31
|
optional :page_size, Integer
|
|
27
32
|
|
|
28
|
-
# @!method initialize(slug:, page_number: nil, page_size: nil, request_options: {})
|
|
33
|
+
# @!method initialize(slug:, filter_country_iso: nil, page_number: nil, page_size: nil, request_options: {})
|
|
29
34
|
# @param slug [String]
|
|
30
35
|
#
|
|
36
|
+
# @param filter_country_iso [String, nil]
|
|
37
|
+
#
|
|
31
38
|
# @param page_number [Integer] Page number (1-based).
|
|
32
39
|
#
|
|
33
40
|
# @param page_size [Integer] Number of items per page (max 100).
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
module Rcs
|
|
6
|
+
class AgentCampaignConfiguration < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute company_overview
|
|
8
|
+
#
|
|
9
|
+
# @return [String]
|
|
10
|
+
required :company_overview, String
|
|
11
|
+
|
|
12
|
+
# @!attribute additional_information
|
|
13
|
+
#
|
|
14
|
+
# @return [String, nil]
|
|
15
|
+
optional :additional_information, String, nil?: true
|
|
16
|
+
|
|
17
|
+
# @!attribute agent_overview
|
|
18
|
+
#
|
|
19
|
+
# @return [String, nil]
|
|
20
|
+
optional :agent_overview, String, nil?: true
|
|
21
|
+
|
|
22
|
+
# @!attribute consent_settings
|
|
23
|
+
#
|
|
24
|
+
# @return [Telnyx::Models::Rcs::AgentConsentConfiguration, nil]
|
|
25
|
+
optional :consent_settings, -> { Telnyx::Rcs::AgentConsentConfiguration }, nil?: true
|
|
26
|
+
|
|
27
|
+
# @!attribute interactions
|
|
28
|
+
#
|
|
29
|
+
# @return [Array<Telnyx::Models::Rcs::AgentInteraction>, nil]
|
|
30
|
+
optional :interactions, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::Rcs::AgentInteraction] }
|
|
31
|
+
|
|
32
|
+
# @!attribute message_examples
|
|
33
|
+
#
|
|
34
|
+
# @return [Array<String>, nil]
|
|
35
|
+
optional :message_examples, Telnyx::Internal::Type::ArrayOf[String]
|
|
36
|
+
|
|
37
|
+
# @!method initialize(company_overview:, additional_information: nil, agent_overview: nil, consent_settings: nil, interactions: nil, message_examples: nil)
|
|
38
|
+
# @param company_overview [String]
|
|
39
|
+
# @param additional_information [String, nil]
|
|
40
|
+
# @param agent_overview [String, nil]
|
|
41
|
+
# @param consent_settings [Telnyx::Models::Rcs::AgentConsentConfiguration, nil]
|
|
42
|
+
# @param interactions [Array<Telnyx::Models::Rcs::AgentInteraction>]
|
|
43
|
+
# @param message_examples [Array<String>]
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|