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
|
@@ -4,7 +4,10 @@ module Telnyx
|
|
|
4
4
|
module Resources
|
|
5
5
|
# Number search
|
|
6
6
|
class AvailablePhoneNumbers
|
|
7
|
-
#
|
|
7
|
+
# Searches the Telnyx inventory for available phone numbers. Filters support
|
|
8
|
+
# number patterns, location, number type, features, reservability, and other
|
|
9
|
+
# inventory constraints; the response includes matching numbers and search
|
|
10
|
+
# metadata.
|
|
8
11
|
sig do
|
|
9
12
|
params(
|
|
10
13
|
filter: Telnyx::AvailablePhoneNumberListParams::Filter::OrHash,
|
|
@@ -4,7 +4,8 @@ module Telnyx
|
|
|
4
4
|
module Resources
|
|
5
5
|
# Billing operations
|
|
6
6
|
class Balance
|
|
7
|
-
#
|
|
7
|
+
# Retrieve the current balance, available credit, and credit limit for your
|
|
8
|
+
# account.
|
|
8
9
|
sig do
|
|
9
10
|
params(request_options: Telnyx::RequestOptions::OrHash).returns(
|
|
10
11
|
Telnyx::Models::BalanceRetrieveResponse
|
|
@@ -4,7 +4,8 @@ module Telnyx
|
|
|
4
4
|
module Resources
|
|
5
5
|
# Billing groups operations
|
|
6
6
|
class BillingGroups
|
|
7
|
-
# Create a billing group
|
|
7
|
+
# Create a new billing group, which can be used to organize resources for billing
|
|
8
|
+
# purposes.
|
|
8
9
|
sig do
|
|
9
10
|
params(
|
|
10
11
|
name: String,
|
|
@@ -18,7 +19,7 @@ module Telnyx
|
|
|
18
19
|
)
|
|
19
20
|
end
|
|
20
21
|
|
|
21
|
-
#
|
|
22
|
+
# Retrieve the details of a specific billing group.
|
|
22
23
|
sig do
|
|
23
24
|
params(
|
|
24
25
|
id: String,
|
|
@@ -32,7 +33,7 @@ module Telnyx
|
|
|
32
33
|
)
|
|
33
34
|
end
|
|
34
35
|
|
|
35
|
-
# Update
|
|
36
|
+
# Update the properties of an existing billing group.
|
|
36
37
|
sig do
|
|
37
38
|
params(
|
|
38
39
|
id: String,
|
|
@@ -49,7 +50,7 @@ module Telnyx
|
|
|
49
50
|
)
|
|
50
51
|
end
|
|
51
52
|
|
|
52
|
-
#
|
|
53
|
+
# Retrieve a paginated list of billing groups on your account.
|
|
53
54
|
sig do
|
|
54
55
|
params(
|
|
55
56
|
page_number: Integer,
|
|
@@ -60,7 +61,7 @@ module Telnyx
|
|
|
60
61
|
def list(page_number: nil, page_size: nil, request_options: {})
|
|
61
62
|
end
|
|
62
63
|
|
|
63
|
-
# Delete a billing group
|
|
64
|
+
# Delete a billing group from your account.
|
|
64
65
|
sig do
|
|
65
66
|
params(
|
|
66
67
|
id: String,
|
|
@@ -1579,7 +1579,8 @@ module Telnyx
|
|
|
1579
1579
|
)
|
|
1580
1580
|
end
|
|
1581
1581
|
|
|
1582
|
-
#
|
|
1582
|
+
# Start noise suppression on an active call to reduce background noise. This
|
|
1583
|
+
# feature is currently in beta.
|
|
1583
1584
|
sig do
|
|
1584
1585
|
params(
|
|
1585
1586
|
call_control_id: String,
|
|
@@ -2064,7 +2065,8 @@ module Telnyx
|
|
|
2064
2065
|
)
|
|
2065
2066
|
end
|
|
2066
2067
|
|
|
2067
|
-
#
|
|
2068
|
+
# Stop noise suppression previously started on an active call. This feature is
|
|
2069
|
+
# currently in beta.
|
|
2068
2070
|
sig do
|
|
2069
2071
|
params(
|
|
2070
2072
|
call_control_id: String,
|
|
@@ -4,7 +4,8 @@ module Telnyx
|
|
|
4
4
|
module Resources
|
|
5
5
|
# Number orders
|
|
6
6
|
class Comments
|
|
7
|
-
#
|
|
7
|
+
# Creates a comment associated with a supported number-order record. The response
|
|
8
|
+
# contains the created comment.
|
|
8
9
|
sig do
|
|
9
10
|
params(
|
|
10
11
|
body: String,
|
|
@@ -21,7 +22,8 @@ module Telnyx
|
|
|
21
22
|
)
|
|
22
23
|
end
|
|
23
24
|
|
|
24
|
-
#
|
|
25
|
+
# Returns the comment identified by `id`, including its associated record and
|
|
26
|
+
# comment metadata.
|
|
25
27
|
sig do
|
|
26
28
|
params(
|
|
27
29
|
id: String,
|
|
@@ -35,7 +37,8 @@ module Telnyx
|
|
|
35
37
|
)
|
|
36
38
|
end
|
|
37
39
|
|
|
38
|
-
#
|
|
40
|
+
# Returns comments associated with number-order records. Results can be filtered
|
|
41
|
+
# by record type and record ID and include pagination metadata.
|
|
39
42
|
sig do
|
|
40
43
|
params(
|
|
41
44
|
filter: Telnyx::CommentListParams::Filter::OrHash,
|
|
@@ -50,7 +53,8 @@ module Telnyx
|
|
|
50
53
|
)
|
|
51
54
|
end
|
|
52
55
|
|
|
53
|
-
#
|
|
56
|
+
# Marks the specified comment as read. The response contains the updated read
|
|
57
|
+
# state for the comment.
|
|
54
58
|
sig do
|
|
55
59
|
params(
|
|
56
60
|
id: String,
|
|
@@ -146,6 +146,7 @@ module Telnyx
|
|
|
146
146
|
android_push_credential_id: T.nilable(String),
|
|
147
147
|
call_cost_in_webhooks: T::Boolean,
|
|
148
148
|
connection_name: String,
|
|
149
|
+
conversation_persistence: T::Boolean,
|
|
149
150
|
default_on_hold_comfort_noise_enabled: T::Boolean,
|
|
150
151
|
dtmf_type: Telnyx::DtmfType::OrSymbol,
|
|
151
152
|
encode_contact_header_enabled: T::Boolean,
|
|
@@ -187,6 +188,10 @@ module Telnyx
|
|
|
187
188
|
call_cost_in_webhooks: nil,
|
|
188
189
|
# A user-assigned name to help manage the connection.
|
|
189
190
|
connection_name: nil,
|
|
191
|
+
# Whether conversation persistence is enabled for this connection. When enabled,
|
|
192
|
+
# calls handled by the connection are transcribed, stored, and indexed. Defaults
|
|
193
|
+
# to false.
|
|
194
|
+
conversation_persistence: nil,
|
|
190
195
|
# When enabled, Telnyx will generate comfort noise when you place the call on
|
|
191
196
|
# hold. If disabled, you will need to generate comfort noise or on hold music to
|
|
192
197
|
# avoid RTP timeout.
|
|
@@ -27,7 +27,8 @@ module Telnyx
|
|
|
27
27
|
)
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
#
|
|
30
|
+
# Returns the webhook subscription identified by ID within the specified email
|
|
31
|
+
# domain.
|
|
31
32
|
sig do
|
|
32
33
|
params(
|
|
33
34
|
id: String,
|
|
@@ -68,7 +69,8 @@ module Telnyx
|
|
|
68
69
|
)
|
|
69
70
|
end
|
|
70
71
|
|
|
71
|
-
#
|
|
72
|
+
# Returns a paginated list of webhook subscriptions scoped to the email domain.
|
|
73
|
+
# Results can be sorted by creation time.
|
|
72
74
|
sig do
|
|
73
75
|
params(
|
|
74
76
|
domain_id: String,
|
|
@@ -95,7 +97,8 @@ module Telnyx
|
|
|
95
97
|
)
|
|
96
98
|
end
|
|
97
99
|
|
|
98
|
-
#
|
|
100
|
+
# Deletes the webhook subscription identified by ID within the specified email
|
|
101
|
+
# domain and returns the deleted subscription.
|
|
99
102
|
sig do
|
|
100
103
|
params(
|
|
101
104
|
id: String,
|
|
@@ -7,7 +7,8 @@ module Telnyx
|
|
|
7
7
|
sig { returns(Telnyx::Resources::EmailDomains::Webhooks) }
|
|
8
8
|
attr_reader :webhooks
|
|
9
9
|
|
|
10
|
-
#
|
|
10
|
+
# Registers a domain for email sending and optional inbound delivery. The response
|
|
11
|
+
# includes the domain configuration and current verification state.
|
|
11
12
|
sig do
|
|
12
13
|
params(
|
|
13
14
|
domain: String,
|
|
@@ -46,7 +47,9 @@ module Telnyx
|
|
|
46
47
|
)
|
|
47
48
|
end
|
|
48
49
|
|
|
49
|
-
#
|
|
50
|
+
# Updates mutable settings for an existing email domain, including inbound
|
|
51
|
+
# delivery and tracking configuration. Shared domains are read-only for non-owner
|
|
52
|
+
# accounts.
|
|
50
53
|
sig do
|
|
51
54
|
params(
|
|
52
55
|
id: String,
|
|
@@ -112,7 +115,8 @@ module Telnyx
|
|
|
112
115
|
)
|
|
113
116
|
end
|
|
114
117
|
|
|
115
|
-
#
|
|
118
|
+
# Deletes an email domain configuration. Verified domains require `force=true`,
|
|
119
|
+
# and shared domains are read-only for non-owner accounts.
|
|
116
120
|
sig do
|
|
117
121
|
params(
|
|
118
122
|
id: String,
|
|
@@ -129,7 +133,8 @@ module Telnyx
|
|
|
129
133
|
)
|
|
130
134
|
end
|
|
131
135
|
|
|
132
|
-
#
|
|
136
|
+
# Returns the DNS records Telnyx generated for domain ownership and DKIM
|
|
137
|
+
# verification, plus MX records when inbound delivery is enabled.
|
|
133
138
|
sig do
|
|
134
139
|
params(
|
|
135
140
|
domain_id: String,
|
|
@@ -157,7 +162,8 @@ module Telnyx
|
|
|
157
162
|
)
|
|
158
163
|
end
|
|
159
164
|
|
|
160
|
-
#
|
|
165
|
+
# Checks the published DNS records against the records required for the email
|
|
166
|
+
# domain and returns the latest verification results.
|
|
161
167
|
sig do
|
|
162
168
|
params(
|
|
163
169
|
domain_id: String,
|
|
@@ -41,7 +41,8 @@ module Telnyx
|
|
|
41
41
|
)
|
|
42
42
|
end
|
|
43
43
|
|
|
44
|
-
#
|
|
44
|
+
# Returns the account-owned template identified by ID, including its Liquid
|
|
45
|
+
# subject and bodies, declared variables, and timestamps.
|
|
45
46
|
sig do
|
|
46
47
|
params(
|
|
47
48
|
id: String,
|
|
@@ -100,7 +101,8 @@ module Telnyx
|
|
|
100
101
|
)
|
|
101
102
|
end
|
|
102
103
|
|
|
103
|
-
#
|
|
104
|
+
# Deletes the account-owned template. The operation returns `204` with no body and
|
|
105
|
+
# prevents future sends or renders from using the deleted template ID.
|
|
104
106
|
sig do
|
|
105
107
|
params(id: String, request_options: Telnyx::RequestOptions::OrHash).void
|
|
106
108
|
end
|
|
@@ -8,7 +8,8 @@ module Telnyx
|
|
|
8
8
|
sig { returns(Telnyx::Resources::EmailUnsubscribeGroups::Suppressions) }
|
|
9
9
|
attr_reader :suppressions
|
|
10
10
|
|
|
11
|
-
#
|
|
11
|
+
# Creates an account-owned unsubscribe group for associating email categories with
|
|
12
|
+
# separate recipient suppression lists.
|
|
12
13
|
sig do
|
|
13
14
|
params(
|
|
14
15
|
name: String,
|
|
@@ -19,7 +20,7 @@ module Telnyx
|
|
|
19
20
|
def create(name:, description: nil, request_options: {})
|
|
20
21
|
end
|
|
21
22
|
|
|
22
|
-
#
|
|
23
|
+
# Returns the account-owned unsubscribe group identified by ID.
|
|
23
24
|
sig do
|
|
24
25
|
params(
|
|
25
26
|
id: String,
|
|
@@ -101,7 +101,7 @@ module Telnyx
|
|
|
101
101
|
)
|
|
102
102
|
end
|
|
103
103
|
|
|
104
|
-
#
|
|
104
|
+
# Retrieve the details of a single fax.
|
|
105
105
|
sig do
|
|
106
106
|
params(
|
|
107
107
|
id: String,
|
|
@@ -115,7 +115,7 @@ module Telnyx
|
|
|
115
115
|
)
|
|
116
116
|
end
|
|
117
117
|
|
|
118
|
-
#
|
|
118
|
+
# Retrieve a paginated list of faxes sent or received on your account.
|
|
119
119
|
sig do
|
|
120
120
|
params(
|
|
121
121
|
filter: Telnyx::FaxListParams::Filter::OrHash,
|
|
@@ -135,7 +135,7 @@ module Telnyx
|
|
|
135
135
|
)
|
|
136
136
|
end
|
|
137
137
|
|
|
138
|
-
# Delete a fax
|
|
138
|
+
# Delete a fax resource from your account.
|
|
139
139
|
sig do
|
|
140
140
|
params(id: String, request_options: Telnyx::RequestOptions::OrHash).void
|
|
141
141
|
end
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Resources
|
|
5
|
+
class FqdnConnections
|
|
6
|
+
# FQDN connection operations
|
|
7
|
+
class FqdnAuthentication
|
|
8
|
+
# Retrieves the details of an existing FQDN authentication strategy for a specific
|
|
9
|
+
# FQDN connection.
|
|
10
|
+
sig do
|
|
11
|
+
params(
|
|
12
|
+
fqdn_connection_id: String,
|
|
13
|
+
request_options: Telnyx::RequestOptions::OrHash
|
|
14
|
+
).returns(
|
|
15
|
+
Telnyx::Models::FqdnConnections::FqdnAuthenticationListResponse
|
|
16
|
+
)
|
|
17
|
+
end
|
|
18
|
+
def list(
|
|
19
|
+
# The ID of the FQDN connection.
|
|
20
|
+
fqdn_connection_id,
|
|
21
|
+
request_options: {}
|
|
22
|
+
)
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
# Updates the FQDN authentication strategy for a specific FQDN connection.
|
|
26
|
+
sig do
|
|
27
|
+
params(
|
|
28
|
+
fqdn_connection_id: String,
|
|
29
|
+
failover_url: String,
|
|
30
|
+
fqdn_outbound_authentication:
|
|
31
|
+
Telnyx::FqdnConnections::FqdnAuthenticationPatchAllParams::FqdnOutboundAuthentication::OrSymbol,
|
|
32
|
+
ip_authentication_method:
|
|
33
|
+
Telnyx::FqdnConnections::FqdnAuthenticationPatchAllParams::IPAuthenticationMethod::OrSymbol,
|
|
34
|
+
password: String,
|
|
35
|
+
txt_name: String,
|
|
36
|
+
txt_ttl: Integer,
|
|
37
|
+
txt_value: String,
|
|
38
|
+
user_name: String,
|
|
39
|
+
webhook_url: String,
|
|
40
|
+
request_options: Telnyx::RequestOptions::OrHash
|
|
41
|
+
).returns(
|
|
42
|
+
Telnyx::Models::FqdnConnections::FqdnAuthenticationPatchAllResponse
|
|
43
|
+
)
|
|
44
|
+
end
|
|
45
|
+
def patch_all(
|
|
46
|
+
# The ID of the FQDN connection.
|
|
47
|
+
fqdn_connection_id,
|
|
48
|
+
# The failover webhook URL.
|
|
49
|
+
failover_url: nil,
|
|
50
|
+
# The outbound authentication type.
|
|
51
|
+
fqdn_outbound_authentication: nil,
|
|
52
|
+
# The IP authentication method.
|
|
53
|
+
ip_authentication_method: nil,
|
|
54
|
+
# The password for authentication.
|
|
55
|
+
password: nil,
|
|
56
|
+
# The TXT record name for Microsoft Teams SBC DNS verification.
|
|
57
|
+
txt_name: nil,
|
|
58
|
+
# The TTL for the TXT record.
|
|
59
|
+
txt_ttl: nil,
|
|
60
|
+
# The TXT record value for Microsoft Teams SBC DNS verification.
|
|
61
|
+
txt_value: nil,
|
|
62
|
+
# The username for authentication.
|
|
63
|
+
user_name: nil,
|
|
64
|
+
# The webhook URL for authentication events.
|
|
65
|
+
webhook_url: nil,
|
|
66
|
+
request_options: {}
|
|
67
|
+
)
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
# @api private
|
|
71
|
+
sig { params(client: Telnyx::Client).returns(T.attached_class) }
|
|
72
|
+
def self.new(client:)
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
end
|
|
@@ -4,6 +4,10 @@ module Telnyx
|
|
|
4
4
|
module Resources
|
|
5
5
|
# FQDN connection operations
|
|
6
6
|
class FqdnConnections
|
|
7
|
+
# FQDN connection operations
|
|
8
|
+
sig { returns(Telnyx::Resources::FqdnConnections::FqdnAuthentication) }
|
|
9
|
+
attr_reader :fqdn_authentication
|
|
10
|
+
|
|
7
11
|
# Creates a FQDN connection.
|
|
8
12
|
sig do
|
|
9
13
|
params(
|
|
@@ -131,6 +135,7 @@ module Telnyx
|
|
|
131
135
|
android_push_credential_id: T.nilable(String),
|
|
132
136
|
call_cost_in_webhooks: T::Boolean,
|
|
133
137
|
connection_name: String,
|
|
138
|
+
conversation_persistence: T::Boolean,
|
|
134
139
|
default_on_hold_comfort_noise_enabled: T::Boolean,
|
|
135
140
|
dtmf_type: Telnyx::DtmfType::OrSymbol,
|
|
136
141
|
encode_contact_header_enabled: T::Boolean,
|
|
@@ -168,6 +173,10 @@ module Telnyx
|
|
|
168
173
|
call_cost_in_webhooks: nil,
|
|
169
174
|
# A user-assigned name to help manage the connection.
|
|
170
175
|
connection_name: nil,
|
|
176
|
+
# Whether conversation persistence is enabled for this connection. When enabled,
|
|
177
|
+
# calls handled by the connection are transcribed, stored, and indexed. Defaults
|
|
178
|
+
# to false.
|
|
179
|
+
conversation_persistence: nil,
|
|
171
180
|
# When enabled, Telnyx will generate comfort noise when you place the call on
|
|
172
181
|
# hold. If disabled, you will need to generate comfort noise or on hold music to
|
|
173
182
|
# avoid RTP timeout.
|
|
@@ -128,6 +128,7 @@ module Telnyx
|
|
|
128
128
|
android_push_credential_id: T.nilable(String),
|
|
129
129
|
call_cost_in_webhooks: T::Boolean,
|
|
130
130
|
connection_name: String,
|
|
131
|
+
conversation_persistence: T::Boolean,
|
|
131
132
|
default_on_hold_comfort_noise_enabled: T::Boolean,
|
|
132
133
|
dtmf_type: Telnyx::DtmfType::OrSymbol,
|
|
133
134
|
encode_contact_header_enabled: T::Boolean,
|
|
@@ -166,6 +167,10 @@ module Telnyx
|
|
|
166
167
|
# Specifies if call cost webhooks should be sent for this connection.
|
|
167
168
|
call_cost_in_webhooks: nil,
|
|
168
169
|
connection_name: nil,
|
|
170
|
+
# Whether conversation persistence is enabled for this connection. When enabled,
|
|
171
|
+
# calls handled by the connection are transcribed, stored, and indexed. Defaults
|
|
172
|
+
# to false.
|
|
173
|
+
conversation_persistence: nil,
|
|
169
174
|
# When enabled, Telnyx will generate comfort noise when you place the call on
|
|
170
175
|
# hold. If disabled, you will need to generate comfort noise or on hold music to
|
|
171
176
|
# avoid RTP timeout.
|
|
@@ -4,7 +4,8 @@ module Telnyx
|
|
|
4
4
|
module Resources
|
|
5
5
|
# Ledger billing reports
|
|
6
6
|
class LedgerBillingGroupReports
|
|
7
|
-
# Create a ledger billing group report
|
|
7
|
+
# Create a ledger billing group report, which aggregates ledger activity by
|
|
8
|
+
# billing group.
|
|
8
9
|
sig do
|
|
9
10
|
params(
|
|
10
11
|
month: Integer,
|
|
@@ -21,7 +22,8 @@ module Telnyx
|
|
|
21
22
|
)
|
|
22
23
|
end
|
|
23
24
|
|
|
24
|
-
#
|
|
25
|
+
# Retrieve the details and status of a previously created ledger billing group
|
|
26
|
+
# report.
|
|
25
27
|
sig do
|
|
26
28
|
params(
|
|
27
29
|
id: String,
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
module Telnyx
|
|
4
4
|
module Resources
|
|
5
|
-
# Messages
|
|
6
5
|
class Messages
|
|
7
6
|
# Send RCS messages
|
|
8
7
|
sig { returns(Telnyx::Resources::Messages::Rcs) }
|
|
@@ -195,7 +194,8 @@ module Telnyx
|
|
|
195
194
|
)
|
|
196
195
|
end
|
|
197
196
|
|
|
198
|
-
#
|
|
197
|
+
# Queues an MMS addressed to multiple recipients as a group conversation. Delivery
|
|
198
|
+
# events are reported asynchronously through messaging webhooks.
|
|
199
199
|
sig do
|
|
200
200
|
params(
|
|
201
201
|
from: String,
|
|
@@ -233,7 +233,8 @@ module Telnyx
|
|
|
233
233
|
)
|
|
234
234
|
end
|
|
235
235
|
|
|
236
|
-
#
|
|
236
|
+
# Queues an outbound SMS or MMS using a long-code sender. Delivery progress and
|
|
237
|
+
# final disposition are reported asynchronously through messaging webhooks.
|
|
237
238
|
sig do
|
|
238
239
|
params(
|
|
239
240
|
from: String,
|
|
@@ -289,7 +290,8 @@ module Telnyx
|
|
|
289
290
|
)
|
|
290
291
|
end
|
|
291
292
|
|
|
292
|
-
#
|
|
293
|
+
# Queues an outbound message using a number pool. Telnyx selects an eligible
|
|
294
|
+
# sender from the pool according to its messaging profile configuration.
|
|
293
295
|
sig do
|
|
294
296
|
params(
|
|
295
297
|
messaging_profile_id: String,
|
|
@@ -345,7 +347,8 @@ module Telnyx
|
|
|
345
347
|
)
|
|
346
348
|
end
|
|
347
349
|
|
|
348
|
-
#
|
|
350
|
+
# Queues an outbound SMS or MMS using a short-code sender. Delivery progress and
|
|
351
|
+
# final disposition are reported asynchronously through messaging webhooks.
|
|
349
352
|
sig do
|
|
350
353
|
params(
|
|
351
354
|
from: String,
|
|
@@ -433,6 +436,37 @@ module Telnyx
|
|
|
433
436
|
)
|
|
434
437
|
end
|
|
435
438
|
|
|
439
|
+
# Sends a WhatsApp message using a Telnyx WhatsApp-enabled number. The message
|
|
440
|
+
# body, interactive elements, media, location, and reaction content are specified
|
|
441
|
+
# in the `whatsapp_message` field. Delivery progress and final disposition are
|
|
442
|
+
# reported asynchronously through messaging webhooks.
|
|
443
|
+
sig do
|
|
444
|
+
params(
|
|
445
|
+
from: String,
|
|
446
|
+
to: String,
|
|
447
|
+
whatsapp_message: Telnyx::WhatsappMessageContent::OrHash,
|
|
448
|
+
messaging_profile_id: String,
|
|
449
|
+
type: Telnyx::MessageWhatsappParams::Type::OrSymbol,
|
|
450
|
+
webhook_url: String,
|
|
451
|
+
request_options: Telnyx::RequestOptions::OrHash
|
|
452
|
+
).returns(Telnyx::Models::MessageWhatsappResponse)
|
|
453
|
+
end
|
|
454
|
+
def whatsapp(
|
|
455
|
+
# Phone number in +E.164 format associated with Whatsapp account
|
|
456
|
+
from:,
|
|
457
|
+
# Phone number in +E.164 format
|
|
458
|
+
to:,
|
|
459
|
+
whatsapp_message:,
|
|
460
|
+
# Messaging profile ID - required if the 'from' number is not SMS-enabled
|
|
461
|
+
messaging_profile_id: nil,
|
|
462
|
+
# Message type - must be set to "WHATSAPP"
|
|
463
|
+
type: nil,
|
|
464
|
+
# The URL where webhooks related to this message will be sent.
|
|
465
|
+
webhook_url: nil,
|
|
466
|
+
request_options: {}
|
|
467
|
+
)
|
|
468
|
+
end
|
|
469
|
+
|
|
436
470
|
# @api private
|
|
437
471
|
sig { params(client: Telnyx::Client).returns(T.attached_class) }
|
|
438
472
|
def self.new(client:)
|
|
@@ -6,12 +6,12 @@ module Telnyx
|
|
|
6
6
|
class Rcs
|
|
7
7
|
# Send RCS messages
|
|
8
8
|
class Agents
|
|
9
|
-
#
|
|
9
|
+
# Returns the configuration and current state of the specified RCS agent.
|
|
10
10
|
sig do
|
|
11
11
|
params(
|
|
12
12
|
id: String,
|
|
13
13
|
request_options: Telnyx::RequestOptions::OrHash
|
|
14
|
-
).returns(Telnyx::RcsAgentResponse)
|
|
14
|
+
).returns(Telnyx::Rcs::RcsAgentResponse)
|
|
15
15
|
end
|
|
16
16
|
def retrieve(
|
|
17
17
|
# RCS agent ID
|
|
@@ -20,7 +20,7 @@ module Telnyx
|
|
|
20
20
|
)
|
|
21
21
|
end
|
|
22
22
|
|
|
23
|
-
#
|
|
23
|
+
# Updates the supplied configuration fields on the specified RCS agent.
|
|
24
24
|
sig do
|
|
25
25
|
params(
|
|
26
26
|
id: String,
|
|
@@ -28,7 +28,7 @@ module Telnyx
|
|
|
28
28
|
webhook_failover_url: T.nilable(String),
|
|
29
29
|
webhook_url: T.nilable(String),
|
|
30
30
|
request_options: Telnyx::RequestOptions::OrHash
|
|
31
|
-
).returns(Telnyx::RcsAgentResponse)
|
|
31
|
+
).returns(Telnyx::Rcs::RcsAgentResponse)
|
|
32
32
|
end
|
|
33
33
|
def update(
|
|
34
34
|
# RCS agent ID
|
|
@@ -43,13 +43,15 @@ module Telnyx
|
|
|
43
43
|
)
|
|
44
44
|
end
|
|
45
45
|
|
|
46
|
-
#
|
|
46
|
+
# Returns RCS agents available to the authenticated account.
|
|
47
47
|
sig do
|
|
48
48
|
params(
|
|
49
49
|
page_number: Integer,
|
|
50
50
|
page_size: Integer,
|
|
51
51
|
request_options: Telnyx::RequestOptions::OrHash
|
|
52
|
-
).returns(
|
|
52
|
+
).returns(
|
|
53
|
+
Telnyx::Internal::DefaultFlatPagination[Telnyx::Rcs::RcsAgent]
|
|
54
|
+
)
|
|
53
55
|
end
|
|
54
56
|
def list(page_number: nil, page_size: nil, request_options: {})
|
|
55
57
|
end
|
|
@@ -26,7 +26,7 @@ module Telnyx
|
|
|
26
26
|
)
|
|
27
27
|
end
|
|
28
28
|
|
|
29
|
-
#
|
|
29
|
+
# Returns RCS capability information for multiple recipients in one request.
|
|
30
30
|
sig do
|
|
31
31
|
params(
|
|
32
32
|
agent_id: String,
|
|
@@ -43,7 +43,8 @@ module Telnyx
|
|
|
43
43
|
)
|
|
44
44
|
end
|
|
45
45
|
|
|
46
|
-
#
|
|
46
|
+
# Returns the RCS features supported by the specified recipient for the selected
|
|
47
|
+
# agent.
|
|
47
48
|
sig do
|
|
48
49
|
params(
|
|
49
50
|
phone_number: String,
|