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
|
@@ -83,7 +83,7 @@ module Telnyx
|
|
|
83
83
|
)
|
|
84
84
|
end
|
|
85
85
|
|
|
86
|
-
#
|
|
86
|
+
# Retrieve the details of a single fax.
|
|
87
87
|
#
|
|
88
88
|
# @overload retrieve(id, request_options: {})
|
|
89
89
|
#
|
|
@@ -106,7 +106,7 @@ module Telnyx
|
|
|
106
106
|
# Some parameter documentations has been truncated, see
|
|
107
107
|
# {Telnyx::Models::FaxListParams} for more details.
|
|
108
108
|
#
|
|
109
|
-
#
|
|
109
|
+
# Retrieve a paginated list of faxes sent or received on your account.
|
|
110
110
|
#
|
|
111
111
|
# @overload list(filter: nil, page_number: nil, page_size: nil, request_options: {})
|
|
112
112
|
#
|
|
@@ -134,7 +134,7 @@ module Telnyx
|
|
|
134
134
|
)
|
|
135
135
|
end
|
|
136
136
|
|
|
137
|
-
# Delete a fax
|
|
137
|
+
# Delete a fax resource from your account.
|
|
138
138
|
#
|
|
139
139
|
# @overload delete(id, request_options: {})
|
|
140
140
|
#
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
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
|
+
#
|
|
11
|
+
# @overload list(fqdn_connection_id, request_options: {})
|
|
12
|
+
#
|
|
13
|
+
# @param fqdn_connection_id [String] The ID of the FQDN connection.
|
|
14
|
+
#
|
|
15
|
+
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
16
|
+
#
|
|
17
|
+
# @return [Telnyx::Models::FqdnConnections::FqdnAuthenticationListResponse]
|
|
18
|
+
#
|
|
19
|
+
# @see Telnyx::Models::FqdnConnections::FqdnAuthenticationListParams
|
|
20
|
+
def list(fqdn_connection_id, params = {})
|
|
21
|
+
@client.request(
|
|
22
|
+
method: :get,
|
|
23
|
+
path: ["fqdn_connections/%1$s/fqdn_authentication", fqdn_connection_id],
|
|
24
|
+
model: Telnyx::Models::FqdnConnections::FqdnAuthenticationListResponse,
|
|
25
|
+
options: params[:request_options]
|
|
26
|
+
)
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
# Updates the FQDN authentication strategy for a specific FQDN connection.
|
|
30
|
+
#
|
|
31
|
+
# @overload patch_all(fqdn_connection_id, failover_url: nil, fqdn_outbound_authentication: nil, ip_authentication_method: nil, password: nil, txt_name: nil, txt_ttl: nil, txt_value: nil, user_name: nil, webhook_url: nil, request_options: {})
|
|
32
|
+
#
|
|
33
|
+
# @param fqdn_connection_id [String] The ID of the FQDN connection.
|
|
34
|
+
#
|
|
35
|
+
# @param failover_url [String] The failover webhook URL.
|
|
36
|
+
#
|
|
37
|
+
# @param fqdn_outbound_authentication [Symbol, Telnyx::Models::FqdnConnections::FqdnAuthenticationPatchAllParams::FqdnOutboundAuthentication] The outbound authentication type.
|
|
38
|
+
#
|
|
39
|
+
# @param ip_authentication_method [Symbol, Telnyx::Models::FqdnConnections::FqdnAuthenticationPatchAllParams::IPAuthenticationMethod] The IP authentication method.
|
|
40
|
+
#
|
|
41
|
+
# @param password [String] The password for authentication.
|
|
42
|
+
#
|
|
43
|
+
# @param txt_name [String] The TXT record name for Microsoft Teams SBC DNS verification.
|
|
44
|
+
#
|
|
45
|
+
# @param txt_ttl [Integer] The TTL for the TXT record.
|
|
46
|
+
#
|
|
47
|
+
# @param txt_value [String] The TXT record value for Microsoft Teams SBC DNS verification.
|
|
48
|
+
#
|
|
49
|
+
# @param user_name [String] The username for authentication.
|
|
50
|
+
#
|
|
51
|
+
# @param webhook_url [String] The webhook URL for authentication events.
|
|
52
|
+
#
|
|
53
|
+
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
54
|
+
#
|
|
55
|
+
# @return [Telnyx::Models::FqdnConnections::FqdnAuthenticationPatchAllResponse]
|
|
56
|
+
#
|
|
57
|
+
# @see Telnyx::Models::FqdnConnections::FqdnAuthenticationPatchAllParams
|
|
58
|
+
def patch_all(fqdn_connection_id, params = {})
|
|
59
|
+
parsed, options = Telnyx::FqdnConnections::FqdnAuthenticationPatchAllParams.dump_request(params)
|
|
60
|
+
@client.request(
|
|
61
|
+
method: :patch,
|
|
62
|
+
path: ["fqdn_connections/%1$s/fqdn_authentication", fqdn_connection_id],
|
|
63
|
+
body: parsed,
|
|
64
|
+
model: Telnyx::Models::FqdnConnections::FqdnAuthenticationPatchAllResponse,
|
|
65
|
+
options: options
|
|
66
|
+
)
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# @api private
|
|
70
|
+
#
|
|
71
|
+
# @param client [Telnyx::Client]
|
|
72
|
+
def initialize(client:)
|
|
73
|
+
@client = client
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
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
|
+
# @return [Telnyx::Resources::FqdnConnections::FqdnAuthentication]
|
|
9
|
+
attr_reader :fqdn_authentication
|
|
10
|
+
|
|
7
11
|
# Some parameter documentations has been truncated, see
|
|
8
12
|
# {Telnyx::Models::FqdnConnectionCreateParams} for more details.
|
|
9
13
|
#
|
|
@@ -100,7 +104,7 @@ module Telnyx
|
|
|
100
104
|
#
|
|
101
105
|
# Updates settings of an existing FQDN connection.
|
|
102
106
|
#
|
|
103
|
-
# @overload update(id, active: nil, anchorsite_override: nil, android_push_credential_id: nil, call_cost_in_webhooks: nil, connection_name: nil, default_on_hold_comfort_noise_enabled: nil, dtmf_type: nil, encode_contact_header_enabled: nil, encrypted_media: nil, inbound: nil, ios_push_credential_id: nil, jitter_buffer: nil, noise_suppression: nil, noise_suppression_details: nil, onnet_t38_passthrough_enabled: nil, outbound: nil, rtcp_settings: nil, tags: nil, transport_protocol: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil, request_options: {})
|
|
107
|
+
# @overload update(id, active: nil, anchorsite_override: nil, android_push_credential_id: nil, call_cost_in_webhooks: nil, connection_name: nil, conversation_persistence: nil, default_on_hold_comfort_noise_enabled: nil, dtmf_type: nil, encode_contact_header_enabled: nil, encrypted_media: nil, inbound: nil, ios_push_credential_id: nil, jitter_buffer: nil, noise_suppression: nil, noise_suppression_details: nil, onnet_t38_passthrough_enabled: nil, outbound: nil, rtcp_settings: nil, tags: nil, transport_protocol: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil, request_options: {})
|
|
104
108
|
#
|
|
105
109
|
# @param id [String] Identifies the resource.
|
|
106
110
|
#
|
|
@@ -114,6 +118,8 @@ module Telnyx
|
|
|
114
118
|
#
|
|
115
119
|
# @param connection_name [String] A user-assigned name to help manage the connection.
|
|
116
120
|
#
|
|
121
|
+
# @param conversation_persistence [Boolean] Whether conversation persistence is enabled for this connection. When enabled, c
|
|
122
|
+
#
|
|
117
123
|
# @param default_on_hold_comfort_noise_enabled [Boolean] When enabled, Telnyx will generate comfort noise when you place the call on hold
|
|
118
124
|
#
|
|
119
125
|
# @param dtmf_type [Symbol, Telnyx::Models::DtmfType] Sets the type of DTMF digits sent from Telnyx to this Connection. Note that DTMF
|
|
@@ -225,6 +231,7 @@ module Telnyx
|
|
|
225
231
|
# @param client [Telnyx::Client]
|
|
226
232
|
def initialize(client:)
|
|
227
233
|
@client = client
|
|
234
|
+
@fqdn_authentication = Telnyx::Resources::FqdnConnections::FqdnAuthentication.new(client: client)
|
|
228
235
|
end
|
|
229
236
|
end
|
|
230
237
|
end
|
|
@@ -7,7 +7,7 @@ module Telnyx
|
|
|
7
7
|
# Some parameter documentations has been truncated, see
|
|
8
8
|
# {Telnyx::Models::GlobalIPAssignmentHealthRetrieveParams} for more details.
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# Retrieve health check metrics for your Global IP assignments.
|
|
11
11
|
#
|
|
12
12
|
# @overload retrieve(filter: nil, request_options: {})
|
|
13
13
|
#
|
|
@@ -7,7 +7,7 @@ module Telnyx
|
|
|
7
7
|
# Some parameter documentations has been truncated, see
|
|
8
8
|
# {Telnyx::Models::GlobalIPAssignmentsUsageRetrieveParams} for more details.
|
|
9
9
|
#
|
|
10
|
-
# Global IP
|
|
10
|
+
# Retrieve usage metrics for your Global IP assignments.
|
|
11
11
|
#
|
|
12
12
|
# @overload retrieve(filter: nil, request_options: {})
|
|
13
13
|
#
|
|
@@ -7,7 +7,7 @@ module Telnyx
|
|
|
7
7
|
# Some parameter documentations has been truncated, see
|
|
8
8
|
# {Telnyx::Models::GlobalIPLatencyRetrieveParams} for more details.
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# Retrieve latency metrics measured for your Global IPs.
|
|
11
11
|
#
|
|
12
12
|
# @overload retrieve(filter: nil, request_options: {})
|
|
13
13
|
#
|
|
@@ -7,7 +7,7 @@ module Telnyx
|
|
|
7
7
|
# Some parameter documentations has been truncated, see
|
|
8
8
|
# {Telnyx::Models::GlobalIPUsageRetrieveParams} for more details.
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# Retrieve usage metrics for your Global IPs.
|
|
11
11
|
#
|
|
12
12
|
# @overload retrieve(filter: nil, request_options: {})
|
|
13
13
|
#
|
|
@@ -98,7 +98,7 @@ module Telnyx
|
|
|
98
98
|
#
|
|
99
99
|
# Updates settings of an existing IP connection.
|
|
100
100
|
#
|
|
101
|
-
# @overload update(id, active: nil, anchorsite_override: nil, android_push_credential_id: nil, call_cost_in_webhooks: nil, connection_name: nil, default_on_hold_comfort_noise_enabled: nil, dtmf_type: nil, encode_contact_header_enabled: nil, encrypted_media: nil, inbound: nil, ios_push_credential_id: nil, jitter_buffer: nil, noise_suppression: nil, noise_suppression_details: nil, onnet_t38_passthrough_enabled: nil, outbound: nil, rtcp_settings: nil, tags: nil, transport_protocol: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil, request_options: {})
|
|
101
|
+
# @overload update(id, active: nil, anchorsite_override: nil, android_push_credential_id: nil, call_cost_in_webhooks: nil, connection_name: nil, conversation_persistence: nil, default_on_hold_comfort_noise_enabled: nil, dtmf_type: nil, encode_contact_header_enabled: nil, encrypted_media: nil, inbound: nil, ios_push_credential_id: nil, jitter_buffer: nil, noise_suppression: nil, noise_suppression_details: nil, onnet_t38_passthrough_enabled: nil, outbound: nil, rtcp_settings: nil, tags: nil, transport_protocol: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil, request_options: {})
|
|
102
102
|
#
|
|
103
103
|
# @param id [String] Identifies the type of resource.
|
|
104
104
|
#
|
|
@@ -112,6 +112,8 @@ module Telnyx
|
|
|
112
112
|
#
|
|
113
113
|
# @param connection_name [String]
|
|
114
114
|
#
|
|
115
|
+
# @param conversation_persistence [Boolean] Whether conversation persistence is enabled for this connection. When enabled, c
|
|
116
|
+
#
|
|
115
117
|
# @param default_on_hold_comfort_noise_enabled [Boolean] When enabled, Telnyx will generate comfort noise when you place the call on hold
|
|
116
118
|
#
|
|
117
119
|
# @param dtmf_type [Symbol, Telnyx::Models::DtmfType] Sets the type of DTMF digits sent from Telnyx to this Connection. Note that DTMF
|
|
@@ -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
|
#
|
|
9
10
|
# @overload create(month: nil, year: nil, request_options: {})
|
|
10
11
|
#
|
|
@@ -28,7 +29,8 @@ module Telnyx
|
|
|
28
29
|
)
|
|
29
30
|
end
|
|
30
31
|
|
|
31
|
-
#
|
|
32
|
+
# Retrieve the details and status of a previously created ledger billing group
|
|
33
|
+
# report.
|
|
32
34
|
#
|
|
33
35
|
# @overload retrieve(id, request_options: {})
|
|
34
36
|
#
|
|
@@ -33,7 +33,8 @@ module Telnyx
|
|
|
33
33
|
)
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
#
|
|
36
|
+
# Queues an outbound RCS message through the selected RCS agent. Check recipient
|
|
37
|
+
# capabilities before sending features that require RCS support.
|
|
37
38
|
#
|
|
38
39
|
# @overload send_(agent_id:, agent_message:, messaging_profile_id:, to:, mms_fallback: nil, sms_fallback: nil, type: nil, webhook_url: nil, request_options: {})
|
|
39
40
|
#
|
|
@@ -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
|
# @return [Telnyx::Resources::Messages::Rcs]
|
|
@@ -181,7 +180,8 @@ module Telnyx
|
|
|
181
180
|
# Some parameter documentations has been truncated, see
|
|
182
181
|
# {Telnyx::Models::MessageSendGroupMmsParams} for more details.
|
|
183
182
|
#
|
|
184
|
-
#
|
|
183
|
+
# Queues an MMS addressed to multiple recipients as a group conversation. Delivery
|
|
184
|
+
# events are reported asynchronously through messaging webhooks.
|
|
185
185
|
#
|
|
186
186
|
# @overload send_group_mms(from:, to:, media_urls: nil, subject: nil, text: nil, use_profile_webhooks: nil, webhook_failover_url: nil, webhook_url: nil, request_options: {})
|
|
187
187
|
#
|
|
@@ -220,7 +220,8 @@ module Telnyx
|
|
|
220
220
|
# Some parameter documentations has been truncated, see
|
|
221
221
|
# {Telnyx::Models::MessageSendLongCodeParams} for more details.
|
|
222
222
|
#
|
|
223
|
-
#
|
|
223
|
+
# Queues an outbound SMS or MMS using a long-code sender. Delivery progress and
|
|
224
|
+
# final disposition are reported asynchronously through messaging webhooks.
|
|
224
225
|
#
|
|
225
226
|
# @overload send_long_code(from:, to:, auto_detect: nil, encoding: nil, media_urls: nil, subject: nil, text: nil, type: nil, use_profile_webhooks: nil, webhook_failover_url: nil, webhook_url: nil, request_options: {})
|
|
226
227
|
#
|
|
@@ -265,7 +266,8 @@ module Telnyx
|
|
|
265
266
|
# Some parameter documentations has been truncated, see
|
|
266
267
|
# {Telnyx::Models::MessageSendNumberPoolParams} for more details.
|
|
267
268
|
#
|
|
268
|
-
#
|
|
269
|
+
# Queues an outbound message using a number pool. Telnyx selects an eligible
|
|
270
|
+
# sender from the pool according to its messaging profile configuration.
|
|
269
271
|
#
|
|
270
272
|
# @overload send_number_pool(messaging_profile_id:, to:, auto_detect: nil, encoding: nil, media_urls: nil, subject: nil, text: nil, type: nil, use_profile_webhooks: nil, webhook_failover_url: nil, webhook_url: nil, request_options: {})
|
|
271
273
|
#
|
|
@@ -310,7 +312,8 @@ module Telnyx
|
|
|
310
312
|
# Some parameter documentations has been truncated, see
|
|
311
313
|
# {Telnyx::Models::MessageSendShortCodeParams} for more details.
|
|
312
314
|
#
|
|
313
|
-
#
|
|
315
|
+
# Queues an outbound SMS or MMS using a short-code sender. Delivery progress and
|
|
316
|
+
# final disposition are reported asynchronously through messaging webhooks.
|
|
314
317
|
#
|
|
315
318
|
# @overload send_short_code(from:, to:, auto_detect: nil, encoding: nil, media_urls: nil, subject: nil, text: nil, type: nil, use_profile_webhooks: nil, webhook_failover_url: nil, webhook_url: nil, request_options: {})
|
|
316
319
|
#
|
|
@@ -386,6 +389,41 @@ module Telnyx
|
|
|
386
389
|
)
|
|
387
390
|
end
|
|
388
391
|
|
|
392
|
+
# Sends a WhatsApp message using a Telnyx WhatsApp-enabled number. The message
|
|
393
|
+
# body, interactive elements, media, location, and reaction content are specified
|
|
394
|
+
# in the `whatsapp_message` field. Delivery progress and final disposition are
|
|
395
|
+
# reported asynchronously through messaging webhooks.
|
|
396
|
+
#
|
|
397
|
+
# @overload whatsapp(from:, to:, whatsapp_message:, messaging_profile_id: nil, type: nil, webhook_url: nil, request_options: {})
|
|
398
|
+
#
|
|
399
|
+
# @param from [String] Phone number in +E.164 format associated with Whatsapp account
|
|
400
|
+
#
|
|
401
|
+
# @param to [String] Phone number in +E.164 format
|
|
402
|
+
#
|
|
403
|
+
# @param whatsapp_message [Telnyx::Models::WhatsappMessageContent]
|
|
404
|
+
#
|
|
405
|
+
# @param messaging_profile_id [String] Messaging profile ID - required if the 'from' number is not SMS-enabled
|
|
406
|
+
#
|
|
407
|
+
# @param type [Symbol, Telnyx::Models::MessageWhatsappParams::Type] Message type - must be set to "WHATSAPP"
|
|
408
|
+
#
|
|
409
|
+
# @param webhook_url [String] The URL where webhooks related to this message will be sent.
|
|
410
|
+
#
|
|
411
|
+
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
412
|
+
#
|
|
413
|
+
# @return [Telnyx::Models::MessageWhatsappResponse]
|
|
414
|
+
#
|
|
415
|
+
# @see Telnyx::Models::MessageWhatsappParams
|
|
416
|
+
def whatsapp(params)
|
|
417
|
+
parsed, options = Telnyx::MessageWhatsappParams.dump_request(params)
|
|
418
|
+
@client.request(
|
|
419
|
+
method: :post,
|
|
420
|
+
path: "messages/whatsapp",
|
|
421
|
+
body: parsed,
|
|
422
|
+
model: Telnyx::Models::MessageWhatsappResponse,
|
|
423
|
+
options: options
|
|
424
|
+
)
|
|
425
|
+
end
|
|
426
|
+
|
|
389
427
|
# @api private
|
|
390
428
|
#
|
|
391
429
|
# @param client [Telnyx::Client]
|
|
@@ -6,7 +6,7 @@ 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
|
#
|
|
11
11
|
# @overload retrieve(id, request_options: {})
|
|
12
12
|
#
|
|
@@ -14,19 +14,19 @@ module Telnyx
|
|
|
14
14
|
#
|
|
15
15
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
16
16
|
#
|
|
17
|
-
# @return [Telnyx::Models::RcsAgentResponse]
|
|
17
|
+
# @return [Telnyx::Models::Rcs::RcsAgentResponse]
|
|
18
18
|
#
|
|
19
19
|
# @see Telnyx::Models::Messaging::Rcs::AgentRetrieveParams
|
|
20
20
|
def retrieve(id, params = {})
|
|
21
21
|
@client.request(
|
|
22
22
|
method: :get,
|
|
23
23
|
path: ["messaging/rcs/agents/%1$s", id],
|
|
24
|
-
model: Telnyx::RcsAgentResponse,
|
|
24
|
+
model: Telnyx::Rcs::RcsAgentResponse,
|
|
25
25
|
options: params[:request_options]
|
|
26
26
|
)
|
|
27
27
|
end
|
|
28
28
|
|
|
29
|
-
#
|
|
29
|
+
# Updates the supplied configuration fields on the specified RCS agent.
|
|
30
30
|
#
|
|
31
31
|
# @overload update(id, profile_id: nil, webhook_failover_url: nil, webhook_url: nil, request_options: {})
|
|
32
32
|
#
|
|
@@ -40,7 +40,7 @@ module Telnyx
|
|
|
40
40
|
#
|
|
41
41
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
42
42
|
#
|
|
43
|
-
# @return [Telnyx::Models::RcsAgentResponse]
|
|
43
|
+
# @return [Telnyx::Models::Rcs::RcsAgentResponse]
|
|
44
44
|
#
|
|
45
45
|
# @see Telnyx::Models::Messaging::Rcs::AgentUpdateParams
|
|
46
46
|
def update(id, params = {})
|
|
@@ -49,12 +49,12 @@ module Telnyx
|
|
|
49
49
|
method: :patch,
|
|
50
50
|
path: ["messaging/rcs/agents/%1$s", id],
|
|
51
51
|
body: parsed,
|
|
52
|
-
model: Telnyx::RcsAgentResponse,
|
|
52
|
+
model: Telnyx::Rcs::RcsAgentResponse,
|
|
53
53
|
options: options
|
|
54
54
|
)
|
|
55
55
|
end
|
|
56
56
|
|
|
57
|
-
#
|
|
57
|
+
# Returns RCS agents available to the authenticated account.
|
|
58
58
|
#
|
|
59
59
|
# @overload list(page_number: nil, page_size: nil, request_options: {})
|
|
60
60
|
#
|
|
@@ -62,7 +62,7 @@ module Telnyx
|
|
|
62
62
|
# @param page_size [Integer]
|
|
63
63
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
64
64
|
#
|
|
65
|
-
# @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::RcsAgent>]
|
|
65
|
+
# @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::Rcs::RcsAgent>]
|
|
66
66
|
#
|
|
67
67
|
# @see Telnyx::Models::Messaging::Rcs::AgentListParams
|
|
68
68
|
def list(params = {})
|
|
@@ -73,7 +73,7 @@ module Telnyx
|
|
|
73
73
|
path: "messaging/rcs/agents",
|
|
74
74
|
query: query.transform_keys(page_number: "page[number]", page_size: "page[size]"),
|
|
75
75
|
page: Telnyx::Internal::DefaultFlatPagination,
|
|
76
|
-
model: Telnyx::RcsAgent,
|
|
76
|
+
model: Telnyx::Rcs::RcsAgent,
|
|
77
77
|
options: options
|
|
78
78
|
)
|
|
79
79
|
end
|
|
@@ -36,7 +36,7 @@ module Telnyx
|
|
|
36
36
|
)
|
|
37
37
|
end
|
|
38
38
|
|
|
39
|
-
#
|
|
39
|
+
# Returns RCS capability information for multiple recipients in one request.
|
|
40
40
|
#
|
|
41
41
|
# @overload list_bulk_capabilities(agent_id:, phone_numbers:, request_options: {})
|
|
42
42
|
#
|
|
@@ -60,7 +60,8 @@ module Telnyx
|
|
|
60
60
|
)
|
|
61
61
|
end
|
|
62
62
|
|
|
63
|
-
#
|
|
63
|
+
# Returns the RCS features supported by the specified recipient for the selected
|
|
64
|
+
# agent.
|
|
64
65
|
#
|
|
65
66
|
# @overload retrieve_capabilities(phone_number, agent_id:, request_options: {})
|
|
66
67
|
#
|
|
@@ -317,7 +317,9 @@ module Telnyx
|
|
|
317
317
|
)
|
|
318
318
|
end
|
|
319
319
|
|
|
320
|
-
#
|
|
320
|
+
# Requests a new two-factor authentication email for the specified 10DLC brand.
|
|
321
|
+
# Complete verification through the link delivered to the brand contact before
|
|
322
|
+
# continuing registration.
|
|
321
323
|
#
|
|
322
324
|
# @overload resend_2fa_email(brand_id, request_options: {})
|
|
323
325
|
#
|
|
@@ -6,7 +6,9 @@ module Telnyx
|
|
|
6
6
|
class Campaign
|
|
7
7
|
# Campaign operations
|
|
8
8
|
class Osr
|
|
9
|
-
#
|
|
9
|
+
# Returns the optional shared-responsibility attributes recorded for the campaign.
|
|
10
|
+
# Use these values to inspect the campaign configuration submitted to the
|
|
11
|
+
# registry.
|
|
10
12
|
#
|
|
11
13
|
# @overload get_attributes(campaign_id, request_options: {})
|
|
12
14
|
#
|
|
@@ -5,7 +5,8 @@ module Telnyx
|
|
|
5
5
|
class Messaging10dlc
|
|
6
6
|
# Phone number campaign assignment
|
|
7
7
|
class PhoneNumberCampaigns
|
|
8
|
-
#
|
|
8
|
+
# Assigns a phone number to a 10DLC campaign. The assignment controls which
|
|
9
|
+
# registered campaign is used for traffic from that number.
|
|
9
10
|
#
|
|
10
11
|
# @overload create(campaign_id:, phone_number:, request_options: {})
|
|
11
12
|
#
|
|
@@ -49,7 +50,7 @@ module Telnyx
|
|
|
49
50
|
)
|
|
50
51
|
end
|
|
51
52
|
|
|
52
|
-
#
|
|
53
|
+
# Replaces the 10DLC campaign assignment for the specified phone number.
|
|
53
54
|
#
|
|
54
55
|
# @overload update(campaign_phone_number, campaign_id:, phone_number:, request_options: {})
|
|
55
56
|
#
|
|
@@ -79,7 +80,8 @@ module Telnyx
|
|
|
79
80
|
# {Telnyx::Models::Messaging10dlc::PhoneNumberCampaignListParams} for more
|
|
80
81
|
# details.
|
|
81
82
|
#
|
|
82
|
-
#
|
|
83
|
+
# Returns phone-number-to-campaign assignments for the authenticated account.
|
|
84
|
+
# Apply the documented filters and pagination parameters to narrow the result set.
|
|
83
85
|
#
|
|
84
86
|
# @overload list(filter: nil, page: nil, records_per_page: nil, sort: nil, request_options: {})
|
|
85
87
|
#
|
|
@@ -26,7 +26,8 @@ module Telnyx
|
|
|
26
26
|
# @return [Telnyx::Resources::Messaging10dlc::PhoneNumberAssignmentByProfile]
|
|
27
27
|
attr_reader :phone_number_assignment_by_profile
|
|
28
28
|
|
|
29
|
-
#
|
|
29
|
+
# Returns the accepted values for the selected 10DLC enumeration endpoint. Use
|
|
30
|
+
# these values when constructing brand and campaign requests.
|
|
30
31
|
#
|
|
31
32
|
# @overload get_enum(endpoint, request_options: {})
|
|
32
33
|
#
|
|
@@ -9,7 +9,7 @@ module Telnyx
|
|
|
9
9
|
# {Telnyx::Models::MessagingHostedNumberOrders::ActionUploadFileParams} for more
|
|
10
10
|
# details.
|
|
11
11
|
#
|
|
12
|
-
#
|
|
12
|
+
# Uploads a supporting document to the specified hosted-messaging order.
|
|
13
13
|
#
|
|
14
14
|
# @overload upload_file(id, bill: nil, loa: nil, request_options: {})
|
|
15
15
|
#
|
|
@@ -11,7 +11,8 @@ module Telnyx
|
|
|
11
11
|
# Some parameter documentations has been truncated, see
|
|
12
12
|
# {Telnyx::Models::MessagingHostedNumberOrderCreateParams} for more details.
|
|
13
13
|
#
|
|
14
|
-
#
|
|
14
|
+
# Creates an order to enable Telnyx messaging on phone numbers whose voice service
|
|
15
|
+
# remains with another carrier.
|
|
15
16
|
#
|
|
16
17
|
# @overload create(messaging_profile_id: nil, phone_numbers: nil, request_options: {})
|
|
17
18
|
#
|
|
@@ -35,7 +36,8 @@ module Telnyx
|
|
|
35
36
|
)
|
|
36
37
|
end
|
|
37
38
|
|
|
38
|
-
#
|
|
39
|
+
# Returns the current state, phone numbers, and required actions for the specified
|
|
40
|
+
# hosted-messaging order.
|
|
39
41
|
#
|
|
40
42
|
# @overload retrieve(id, request_options: {})
|
|
41
43
|
#
|
|
@@ -55,7 +57,8 @@ module Telnyx
|
|
|
55
57
|
)
|
|
56
58
|
end
|
|
57
59
|
|
|
58
|
-
#
|
|
60
|
+
# Returns hosted-messaging orders for the authenticated account. Apply the
|
|
61
|
+
# documented filters and pagination parameters to narrow the result set.
|
|
59
62
|
#
|
|
60
63
|
# @overload list(page_number: nil, page_size: nil, request_options: {})
|
|
61
64
|
#
|
|
@@ -99,7 +102,8 @@ module Telnyx
|
|
|
99
102
|
)
|
|
100
103
|
end
|
|
101
104
|
|
|
102
|
-
#
|
|
105
|
+
# Checks whether the supplied phone numbers are eligible for hosted messaging
|
|
106
|
+
# before an order is created.
|
|
103
107
|
#
|
|
104
108
|
# @overload check_eligibility(phone_numbers:, request_options: {})
|
|
105
109
|
#
|
|
@@ -7,7 +7,8 @@ module Telnyx
|
|
|
7
7
|
# Some parameter documentations has been truncated, see
|
|
8
8
|
# {Telnyx::Models::MessagingNumbersBulkUpdateCreateParams} for more details.
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# Starts a bulk update of messaging-profile assignments for the supplied phone
|
|
11
|
+
# numbers. The response identifies the order used to monitor processing.
|
|
11
12
|
#
|
|
12
13
|
# @overload create(messaging_profile_id:, numbers:, assign_only: nil, request_options: {})
|
|
13
14
|
#
|
|
@@ -33,7 +34,8 @@ module Telnyx
|
|
|
33
34
|
)
|
|
34
35
|
end
|
|
35
36
|
|
|
36
|
-
#
|
|
37
|
+
# Returns processing status and results for a bulk messaging-settings update
|
|
38
|
+
# order.
|
|
37
39
|
#
|
|
38
40
|
# @overload retrieve(order_id, request_options: {})
|
|
39
41
|
#
|
|
@@ -5,7 +5,8 @@ module Telnyx
|
|
|
5
5
|
class MessagingProfiles
|
|
6
6
|
# Opt-Out Management
|
|
7
7
|
class AutorespConfigs
|
|
8
|
-
#
|
|
8
|
+
# Creates an auto-response rule on the specified messaging profile. Matching
|
|
9
|
+
# inbound messages trigger the configured response.
|
|
9
10
|
#
|
|
10
11
|
# @overload create(profile_id, country_code:, keywords:, op:, resp_text: nil, request_options: {})
|
|
11
12
|
#
|
|
@@ -35,7 +36,8 @@ module Telnyx
|
|
|
35
36
|
)
|
|
36
37
|
end
|
|
37
38
|
|
|
38
|
-
#
|
|
39
|
+
# Returns the matching criteria and response content for the specified
|
|
40
|
+
# auto-response rule.
|
|
39
41
|
#
|
|
40
42
|
# @overload retrieve(autoresp_cfg_id, profile_id:, request_options: {})
|
|
41
43
|
#
|
|
@@ -62,7 +64,7 @@ module Telnyx
|
|
|
62
64
|
)
|
|
63
65
|
end
|
|
64
66
|
|
|
65
|
-
#
|
|
67
|
+
# Replaces the configuration of the specified auto-response rule.
|
|
66
68
|
#
|
|
67
69
|
# @overload update(autoresp_cfg_id, profile_id:, country_code:, keywords:, op:, resp_text: nil, request_options: {})
|
|
68
70
|
#
|
|
@@ -101,7 +103,7 @@ module Telnyx
|
|
|
101
103
|
# Some parameter documentations has been truncated, see
|
|
102
104
|
# {Telnyx::Models::MessagingProfiles::AutorespConfigListParams} for more details.
|
|
103
105
|
#
|
|
104
|
-
#
|
|
106
|
+
# Returns the auto-response rules configured for the specified messaging profile.
|
|
105
107
|
#
|
|
106
108
|
# @overload list(profile_id, country_code: nil, created_at: nil, updated_at: nil, request_options: {})
|
|
107
109
|
#
|
|
@@ -130,7 +132,7 @@ module Telnyx
|
|
|
130
132
|
)
|
|
131
133
|
end
|
|
132
134
|
|
|
133
|
-
#
|
|
135
|
+
# Deletes the specified auto-response rule from the messaging profile.
|
|
134
136
|
#
|
|
135
137
|
# @overload delete(autoresp_cfg_id, profile_id:, request_options: {})
|
|
136
138
|
#
|