telnyx 5.159.0 → 5.160.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +1 -1
- data/lib/telnyx/client.rb +3 -4
- data/lib/telnyx/models/actions/purchase_create_response.rb +3 -3
- data/lib/telnyx/models/actions/register_create_response.rb +3 -3
- data/lib/telnyx/models/actions/wireless_error_c5290d5308.rb +61 -0
- data/lib/telnyx/models/ai/assistant_create_params.rb +2 -2
- data/lib/telnyx/models/ai/assistant_tool.rb +28 -1
- data/lib/telnyx/models/ai/assistant_update_params.rb +2 -2
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +2 -2
- data/lib/telnyx/models/ai/collection.rb +82 -0
- data/lib/telnyx/models/ai/collection_create_params.rb +56 -0
- data/lib/telnyx/models/ai/collection_delete_params.rb +22 -0
- data/lib/telnyx/models/ai/collection_envelope.rb +18 -0
- data/lib/telnyx/models/ai/collection_list_params.rb +32 -0
- data/lib/telnyx/models/ai/collection_retrieve_by_id_params.rb +22 -0
- data/lib/telnyx/models/ai/collection_retrieve_documents_params.rb +104 -0
- data/lib/telnyx/models/ai/collection_retrieve_documents_response.rb +180 -0
- data/lib/telnyx/models/ai/collection_retrieve_params.rb +22 -0
- data/lib/telnyx/models/ai/collection_update_params.rb +34 -0
- data/lib/telnyx/models/ai/collections/retrieval_settings.rb +49 -0
- data/lib/telnyx/models/ai/collections/retrieval_settings_wrapper.rb +30 -0
- data/lib/telnyx/models/ai/collections/setting_create_params.rb +24 -0
- data/lib/telnyx/models/ai/collections/setting_list_params.rb +24 -0
- data/lib/telnyx/models/ai/collections/setting_patch_all_params.rb +24 -0
- data/lib/telnyx/models/ai/collections/settings_envelope.rb +20 -0
- data/lib/telnyx/models/ai/collections/settings_request.rb +20 -0
- data/lib/telnyx/models/ai/collections/source.rb +62 -0
- data/lib/telnyx/models/ai/collections/source_create_params.rb +24 -0
- data/lib/telnyx/models/ai/collections/source_create_response.rb +22 -0
- data/lib/telnyx/models/ai/collections/source_delete_params.rb +30 -0
- data/lib/telnyx/models/ai/collections/source_list_params.rb +24 -0
- data/lib/telnyx/models/ai/collections/source_list_response.rb +20 -0
- data/lib/telnyx/models/ai/collections/source_replace_params.rb +30 -0
- data/lib/telnyx/models/ai/collections/source_replace_response.rb +58 -0
- data/lib/telnyx/models/ai/collections/source_request.rb +34 -0
- data/lib/telnyx/models/ai/collections/source_type.rb +24 -0
- data/lib/telnyx/models/ai/inference_embedding.rb +6 -6
- data/lib/telnyx/models/ai/telephony_settings.rb +11 -1
- data/lib/telnyx/models/ai/tool_create_params.rb +19 -1
- data/lib/telnyx/models/ai/tool_update_params.rb +20 -1
- data/lib/telnyx/models/ai/update_dynamic_variables_tool_params.rb +78 -0
- data/lib/telnyx/models/credential_connection.rb +11 -1
- data/lib/telnyx/models/credential_connection_update_params.rb +11 -1
- data/lib/telnyx/models/fqdn_connection.rb +11 -1
- data/lib/telnyx/models/fqdn_connection_update_params.rb +11 -1
- data/lib/telnyx/models/fqdn_connections/fqdn_authentication.rb +142 -0
- data/lib/telnyx/models/fqdn_connections/fqdn_authentication_list_params.rb +22 -0
- data/lib/telnyx/models/fqdn_connections/fqdn_authentication_list_response.rb +18 -0
- data/lib/telnyx/models/fqdn_connections/fqdn_authentication_patch_all_params.rb +119 -0
- data/lib/telnyx/models/fqdn_connections/fqdn_authentication_patch_all_response.rb +18 -0
- data/lib/telnyx/models/inbound_message_webhook_event.rb +594 -3
- data/lib/telnyx/models/ip_connection.rb +11 -1
- data/lib/telnyx/models/ip_connection_update_params.rb +11 -1
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/batch_csv_pagination_meta_705dfa7312.rb +39 -0
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/messaging_list_response.rb +3 -3
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/voice_list_response.rb +3 -3
- data/lib/telnyx/models/legacy/reporting/usage_reports/standard_pagination_meta_ffba4faa88.rb +39 -0
- data/lib/telnyx/models/message_cancel_scheduled_response.rb +3 -3
- data/lib/telnyx/models/message_retrieve_group_messages_response.rb +3 -3
- data/lib/telnyx/models/message_retrieve_response.rb +595 -5
- data/lib/telnyx/models/message_schedule_response.rb +3 -3
- data/lib/telnyx/models/message_send_group_mms_response.rb +3 -3
- data/lib/telnyx/models/message_send_long_code_response.rb +3 -3
- data/lib/telnyx/models/message_send_number_pool_response.rb +3 -3
- data/lib/telnyx/models/message_send_response.rb +3 -3
- data/lib/telnyx/models/message_send_short_code_response.rb +3 -3
- data/lib/telnyx/models/message_whatsapp_params.rb +71 -0
- data/lib/telnyx/models/message_whatsapp_response.rb +178 -0
- data/lib/telnyx/models/messaging_error_0b38e7044b.rb +59 -0
- data/lib/telnyx/models/messaging_outbound_message_payload.rb +597 -0
- data/lib/telnyx/models/messaging_pagination_meta_0b38e7044b.rb +33 -0
- data/lib/telnyx/models/messaging_profile_metric_list_response.rb +3 -3
- data/lib/telnyx/models/messaging_profiles/autoresp_config_list_response.rb +3 -3
- data/lib/telnyx/models/messaging_tollfree/verification/messaging_toll_free_verification_entity_type.rb +23 -0
- data/lib/telnyx/models/messaging_tollfree/verification/messaging_toll_free_verification_tf_verification_request.rb +312 -0
- data/lib/telnyx/models/messaging_tollfree/verification/messaging_toll_free_verification_verification_request_egress.rb +296 -0
- data/lib/telnyx/models/messaging_tollfree/verification/request_create_params.rb +1 -1
- data/lib/telnyx/models/messaging_tollfree/verification/request_retrieve_response.rb +310 -0
- data/lib/telnyx/models/messaging_tollfree/verification/request_update_params.rb +1 -1
- data/lib/telnyx/models/messaging_tollfree/verification/verification_request_egress.rb +0 -1
- data/lib/telnyx/models/messaging_tollfree/verification/verification_request_status.rb +1 -1
- data/lib/telnyx/models/netapps_location_17904fcfbc.rb +48 -0
- data/lib/telnyx/models/network_coverage_list_response.rb +3 -3
- data/lib/telnyx/models/number_order_status_update_webhook_event.rb +405 -0
- data/lib/telnyx/models/numbers_phone_number_detailed.rb +369 -0
- data/lib/telnyx/models/oauth_oauth_pagination_meta.rb +40 -0
- data/lib/telnyx/models/phone_number_detailed.rb +0 -1
- data/lib/telnyx/models/phone_number_retrieve_response.rb +3 -3
- data/lib/telnyx/models/phone_number_update_response.rb +3 -3
- data/lib/telnyx/models/pricing/product_retrieve_params.rb +8 -1
- data/lib/telnyx/models/rcs/agent_campaign_configuration.rb +47 -0
- data/lib/telnyx/models/rcs/agent_configuration.rb +227 -0
- data/lib/telnyx/models/rcs/agent_consent_configuration.rb +110 -0
- data/lib/telnyx/models/rcs/agent_create_params.rb +70 -0
- data/lib/telnyx/models/rcs/agent_email_contact.rb +23 -0
- data/lib/telnyx/models/rcs/agent_interaction.rb +41 -0
- data/lib/telnyx/models/rcs/agent_launch_params.rb +62 -0
- data/lib/telnyx/models/rcs/agent_list_params.rb +24 -0
- data/lib/telnyx/models/rcs/agent_list_response.rb +10 -0
- data/lib/telnyx/models/rcs/agent_phone_contact.rb +23 -0
- data/lib/telnyx/models/rcs/agent_response.rb +131 -0
- data/lib/telnyx/models/rcs/agent_retrieve_carrier_approvals_params.rb +22 -0
- data/lib/telnyx/models/rcs/agent_retrieve_carrier_approvals_response.rb +11 -0
- data/lib/telnyx/models/rcs/agent_retrieve_params.rb +22 -0
- data/lib/telnyx/models/rcs/agent_submission_status.rb +18 -0
- data/lib/telnyx/models/rcs/agent_submit_params.rb +22 -0
- data/lib/telnyx/models/rcs/agent_testing_configuration.rb +32 -0
- data/lib/telnyx/models/rcs/agent_update_params.rb +52 -0
- data/lib/telnyx/models/rcs/agent_use_case.rb +19 -0
- data/lib/telnyx/models/rcs/agent_website_contact.rb +23 -0
- data/lib/telnyx/models/rcs/agents/test_device_create_params.rb +30 -0
- data/lib/telnyx/models/rcs/agents/test_device_delete_params.rb +30 -0
- data/lib/telnyx/models/rcs/agents/test_device_list_params.rb +24 -0
- data/lib/telnyx/models/rcs/agents/test_device_list_response.rb +14 -0
- data/lib/telnyx/models/rcs/agents/test_device_response.rb +44 -0
- data/lib/telnyx/models/rcs/brand_contact.rb +63 -0
- data/lib/telnyx/models/rcs/brand_create_params.rb +184 -0
- data/lib/telnyx/models/rcs/brand_legal_entity_type.rb +20 -0
- data/lib/telnyx/models/rcs/brand_list_params.rb +16 -0
- data/lib/telnyx/models/rcs/brand_list_response.rb +10 -0
- data/lib/telnyx/models/rcs/brand_organization_type.rb +20 -0
- data/lib/telnyx/models/rcs/brand_response.rb +159 -0
- data/lib/telnyx/models/rcs/brand_retrieve_params.rb +22 -0
- data/lib/telnyx/models/rcs/brand_submit_params.rb +22 -0
- data/lib/telnyx/models/rcs/brand_update_params.rb +189 -0
- data/lib/telnyx/models/rcs/capabilities_response.rb +65 -0
- data/lib/telnyx/models/rcs/carrier_approval_response.rb +78 -0
- data/lib/telnyx/models/rcs/ein_brand_identifier.rb +25 -0
- data/lib/telnyx/models/rcs/rcs_agent.rb +84 -0
- data/lib/telnyx/models/rcs/rcs_agent_response.rb +19 -0
- data/lib/telnyx/models/rcs/stock_symbol_brand_identifier.rb +25 -0
- data/lib/telnyx/models/report_list_mdrs_response.rb +3 -3
- data/lib/telnyx/models/reports/reporting_pagination_meta_77109e5d17.rb +37 -0
- data/lib/telnyx/models/sim_cards/action_disable_response.rb +3 -3
- data/lib/telnyx/models/sim_cards/action_enable_response.rb +3 -3
- data/lib/telnyx/models/sim_cards/action_remove_public_ip_response.rb +3 -3
- data/lib/telnyx/models/sim_cards/action_retrieve_response.rb +3 -3
- data/lib/telnyx/models/sim_cards/action_set_public_ip_response.rb +3 -3
- data/lib/telnyx/models/sim_cards/action_set_standby_response.rb +3 -3
- data/lib/telnyx/models/sim_cards/sim_card_action.rb +0 -1
- data/lib/telnyx/models/sim_cards/wireless_sim_card_action.rb +153 -0
- data/lib/telnyx/models/sip_registration_status_retrieve_params.rb +8 -5
- data/lib/telnyx/models/sip_registration_status_retrieve_response.rb +39 -31
- data/lib/telnyx/models/speech_to_text_list_providers_response.rb +10 -1
- data/lib/telnyx/models/text_to_speech_list_voices_response.rb +13 -1
- data/lib/telnyx/models/unsafe_unwrap_webhook_event.rb +2 -2
- data/lib/telnyx/models/unwrap_webhook_event.rb +2 -2
- data/lib/telnyx/models/user_address.rb +0 -1
- data/lib/telnyx/models/user_address_create_response.rb +3 -3
- data/lib/telnyx/models/user_address_retrieve_response.rb +3 -3
- data/lib/telnyx/models/user_addresses_user_address.rb +153 -0
- data/lib/telnyx/models/virtual_cross_connects_coverage_list_response.rb +3 -3
- data/lib/telnyx/models/whatsapp/phone_number_get_params.rb +28 -0
- data/lib/telnyx/models/whatsapp/phone_number_get_response.rb +110 -0
- data/lib/telnyx/models.rb +21 -3
- data/lib/telnyx/resources/access_ip_address.rb +4 -4
- data/lib/telnyx/resources/access_ip_ranges.rb +3 -3
- data/lib/telnyx/resources/addresses/actions.rb +3 -2
- data/lib/telnyx/resources/advanced_orders.rb +8 -4
- data/lib/telnyx/resources/ai/assistants/tags.rb +3 -3
- data/lib/telnyx/resources/ai/assistants/tools.rb +2 -2
- data/lib/telnyx/resources/ai/assistants/versions.rb +1 -1
- data/lib/telnyx/resources/ai/assistants.rb +2 -2
- data/lib/telnyx/resources/ai/clusters.rb +4 -4
- data/lib/telnyx/resources/ai/collections/settings.rb +88 -0
- data/lib/telnyx/resources/ai/collections/sources.rb +121 -0
- data/lib/telnyx/resources/ai/collections.rb +244 -0
- data/lib/telnyx/resources/ai/tools.rb +21 -7
- data/lib/telnyx/resources/ai.rb +11 -7
- data/lib/telnyx/resources/available_phone_number_blocks.rb +3 -1
- data/lib/telnyx/resources/available_phone_numbers.rb +4 -1
- data/lib/telnyx/resources/balance.rb +2 -1
- data/lib/telnyx/resources/billing_groups.rb +6 -5
- data/lib/telnyx/resources/calls/actions.rb +4 -2
- data/lib/telnyx/resources/comments.rb +8 -4
- data/lib/telnyx/resources/credential_connections.rb +3 -1
- data/lib/telnyx/resources/email_blocks.rb +2 -1
- data/lib/telnyx/resources/email_domains/webhooks.rb +6 -3
- data/lib/telnyx/resources/email_domains.rb +11 -5
- data/lib/telnyx/resources/email_templates.rb +4 -2
- data/lib/telnyx/resources/email_unsubscribe_groups.rb +3 -2
- data/lib/telnyx/resources/external_connections.rb +2 -1
- data/lib/telnyx/resources/faxes.rb +3 -3
- data/lib/telnyx/resources/fqdn_connections/fqdn_authentication.rb +78 -0
- data/lib/telnyx/resources/fqdn_connections.rb +8 -1
- data/lib/telnyx/resources/global_ip_assignment_health.rb +1 -1
- data/lib/telnyx/resources/global_ip_assignments_usage.rb +1 -1
- data/lib/telnyx/resources/global_ip_latency.rb +1 -1
- data/lib/telnyx/resources/global_ip_usage.rb +1 -1
- data/lib/telnyx/resources/ip_connections.rb +3 -1
- data/lib/telnyx/resources/ledger_billing_group_reports.rb +4 -2
- data/lib/telnyx/resources/messages/rcs.rb +2 -1
- data/lib/telnyx/resources/messages.rb +43 -5
- data/lib/telnyx/resources/messaging/rcs/agents.rb +9 -9
- data/lib/telnyx/resources/messaging/rcs.rb +3 -2
- data/lib/telnyx/resources/messaging_10dlc/brand.rb +3 -1
- data/lib/telnyx/resources/messaging_10dlc/campaign/osr.rb +3 -1
- data/lib/telnyx/resources/messaging_10dlc/campaign/usecase.rb +2 -1
- data/lib/telnyx/resources/messaging_10dlc/campaign.rb +2 -1
- data/lib/telnyx/resources/messaging_10dlc/partner_campaigns.rb +1 -1
- data/lib/telnyx/resources/messaging_10dlc/phone_number_campaigns.rb +5 -3
- data/lib/telnyx/resources/messaging_10dlc.rb +2 -1
- data/lib/telnyx/resources/messaging_hosted_number_orders/actions.rb +1 -1
- data/lib/telnyx/resources/messaging_hosted_number_orders.rb +8 -4
- data/lib/telnyx/resources/messaging_hosted_numbers.rb +1 -1
- data/lib/telnyx/resources/messaging_numbers_bulk_updates.rb +4 -2
- data/lib/telnyx/resources/messaging_profiles/autoresp_configs.rb +7 -5
- data/lib/telnyx/resources/messaging_profiles.rb +14 -7
- data/lib/telnyx/resources/messaging_tollfree/verification/requests.rb +8 -8
- data/lib/telnyx/resources/messaging_url_domains.rb +2 -1
- data/lib/telnyx/resources/mobile_phone_numbers/messaging.rb +2 -2
- data/lib/telnyx/resources/mobile_phone_numbers.rb +3 -3
- data/lib/telnyx/resources/mobile_voice_connections.rb +5 -5
- data/lib/telnyx/resources/number_order_phone_numbers.rb +2 -1
- data/lib/telnyx/resources/ota_updates.rb +2 -1
- data/lib/telnyx/resources/payment.rb +1 -1
- data/lib/telnyx/resources/phone_number_blocks/jobs.rb +5 -2
- data/lib/telnyx/resources/phone_numbers/actions.rb +6 -3
- data/lib/telnyx/resources/phone_numbers/csv_downloads.rb +7 -3
- data/lib/telnyx/resources/phone_numbers/jobs.rb +4 -2
- data/lib/telnyx/resources/phone_numbers/messaging.rb +6 -3
- data/lib/telnyx/resources/phone_numbers/voice.rb +7 -3
- data/lib/telnyx/resources/phone_numbers.rb +11 -6
- data/lib/telnyx/resources/phone_numbers_regulatory_requirements.rb +3 -1
- data/lib/telnyx/resources/pricing/products.rb +11 -5
- data/lib/telnyx/resources/rcs/agents/test_devices.rb +92 -0
- data/lib/telnyx/resources/rcs/agents.rb +213 -0
- data/lib/telnyx/resources/rcs/brands.rb +163 -0
- data/lib/telnyx/resources/rcs.rb +24 -0
- data/lib/telnyx/resources/regulatory_requirements.rb +3 -1
- data/lib/telnyx/resources/requirement_groups.rb +13 -6
- data/lib/telnyx/resources/room_compositions.rb +5 -2
- data/lib/telnyx/resources/room_participants.rb +4 -2
- data/lib/telnyx/resources/room_recordings.rb +8 -3
- data/lib/telnyx/resources/rooms/sessions/actions.rb +9 -3
- data/lib/telnyx/resources/rooms/sessions.rb +11 -4
- data/lib/telnyx/resources/rooms.rb +5 -2
- data/lib/telnyx/resources/short_codes.rb +4 -2
- data/lib/telnyx/resources/sim_cards/actions.rb +2 -2
- data/lib/telnyx/resources/sip_registration_status.rb +16 -4
- data/lib/telnyx/resources/storage/migration_sources.rb +5 -3
- data/lib/telnyx/resources/storage/migrations/actions.rb +1 -1
- data/lib/telnyx/resources/storage/migrations.rb +2 -2
- data/lib/telnyx/resources/storage.rb +1 -1
- data/lib/telnyx/resources/sub_number_orders.rb +3 -1
- data/lib/telnyx/resources/user_addresses.rb +2 -2
- data/lib/telnyx/resources/verifications/actions.rb +3 -1
- data/lib/telnyx/resources/verifications/by_phone_number/actions.rb +2 -1
- data/lib/telnyx/resources/verifications/by_phone_number.rb +2 -1
- data/lib/telnyx/resources/verifications.rb +13 -5
- data/lib/telnyx/resources/verified_numbers/actions.rb +2 -1
- data/lib/telnyx/resources/verified_numbers.rb +2 -2
- data/lib/telnyx/resources/verify_profiles.rb +3 -2
- data/lib/telnyx/resources/webhooks.rb +2 -2
- data/lib/telnyx/resources/whatsapp/business_accounts/phone_numbers.rb +3 -2
- data/lib/telnyx/resources/whatsapp/business_accounts/settings.rb +3 -2
- data/lib/telnyx/resources/whatsapp/business_accounts.rb +4 -3
- data/lib/telnyx/resources/whatsapp/phone_numbers/calling_settings.rb +2 -2
- data/lib/telnyx/resources/whatsapp/phone_numbers/conversational_components.rb +4 -2
- data/lib/telnyx/resources/whatsapp/phone_numbers/profile/photo.rb +5 -3
- data/lib/telnyx/resources/whatsapp/phone_numbers/profile.rb +3 -2
- data/lib/telnyx/resources/whatsapp/phone_numbers.rb +27 -4
- data/lib/telnyx/resources/whatsapp/templates.rb +4 -2
- data/lib/telnyx/resources/whatsapp/user_data.rb +4 -2
- data/lib/telnyx/resources/whatsapp_message_templates.rb +4 -3
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +104 -4
- data/rbi/telnyx/client.rbi +2 -3
- data/rbi/telnyx/models/actions/purchase_create_response.rbi +10 -4
- data/rbi/telnyx/models/actions/register_create_response.rbi +10 -4
- data/rbi/telnyx/models/actions/wireless_error_c5290d5308.rbi +112 -0
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +8 -4
- data/rbi/telnyx/models/ai/assistant_tool.rbi +58 -1
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +8 -4
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +8 -4
- data/rbi/telnyx/models/ai/collection.rbi +133 -0
- data/rbi/telnyx/models/ai/collection_create_params.rbi +101 -0
- data/rbi/telnyx/models/ai/collection_delete_params.rbi +37 -0
- data/rbi/telnyx/models/ai/collection_envelope.rbi +30 -0
- data/rbi/telnyx/models/ai/collection_list_params.rbi +59 -0
- data/rbi/telnyx/models/ai/collection_retrieve_by_id_params.rbi +40 -0
- data/rbi/telnyx/models/ai/collection_retrieve_documents_params.rbi +195 -0
- data/rbi/telnyx/models/ai/collection_retrieve_documents_response.rbi +334 -0
- data/rbi/telnyx/models/ai/collection_retrieve_params.rbi +40 -0
- data/rbi/telnyx/models/ai/collection_update_params.rbi +56 -0
- data/rbi/telnyx/models/ai/collections/retrieval_settings.rbi +115 -0
- data/rbi/telnyx/models/ai/collections/retrieval_settings_wrapper.rbi +62 -0
- data/rbi/telnyx/models/ai/collections/setting_create_params.rbi +42 -0
- data/rbi/telnyx/models/ai/collections/setting_list_params.rbi +42 -0
- data/rbi/telnyx/models/ai/collections/setting_patch_all_params.rbi +42 -0
- data/rbi/telnyx/models/ai/collections/settings_envelope.rbi +49 -0
- data/rbi/telnyx/models/ai/collections/settings_request.rbi +49 -0
- data/rbi/telnyx/models/ai/collections/source.rbi +105 -0
- data/rbi/telnyx/models/ai/collections/source_create_params.rbi +42 -0
- data/rbi/telnyx/models/ai/collections/source_create_response.rbi +38 -0
- data/rbi/telnyx/models/ai/collections/source_delete_params.rbi +50 -0
- data/rbi/telnyx/models/ai/collections/source_list_params.rbi +42 -0
- data/rbi/telnyx/models/ai/collections/source_list_response.rbi +43 -0
- data/rbi/telnyx/models/ai/collections/source_replace_params.rbi +50 -0
- data/rbi/telnyx/models/ai/collections/source_replace_response.rbi +125 -0
- data/rbi/telnyx/models/ai/collections/source_request.rbi +61 -0
- data/rbi/telnyx/models/ai/collections/source_type.rbi +40 -0
- data/rbi/telnyx/models/ai/inference_embedding.rbi +12 -6
- data/rbi/telnyx/models/ai/telephony_settings.rbi +15 -0
- data/rbi/telnyx/models/ai/tool_create_params.rbi +18 -0
- data/rbi/telnyx/models/ai/tool_update_params.rbi +18 -0
- data/rbi/telnyx/models/ai/update_dynamic_variables_tool_params.rbi +136 -0
- data/rbi/telnyx/models/credential_connection.rbi +15 -0
- data/rbi/telnyx/models/credential_connection_update_params.rbi +15 -0
- data/rbi/telnyx/models/fqdn_connection.rbi +15 -0
- data/rbi/telnyx/models/fqdn_connection_update_params.rbi +15 -0
- data/rbi/telnyx/models/fqdn_connections/fqdn_authentication.rbi +273 -0
- data/rbi/telnyx/models/fqdn_connections/fqdn_authentication_list_params.rbi +43 -0
- data/rbi/telnyx/models/fqdn_connections/fqdn_authentication_list_response.rbi +51 -0
- data/rbi/telnyx/models/fqdn_connections/fqdn_authentication_patch_all_params.rbi +241 -0
- data/rbi/telnyx/models/fqdn_connections/fqdn_authentication_patch_all_response.rbi +51 -0
- data/rbi/telnyx/models/inbound_message_payload.rbi +18 -29
- data/rbi/telnyx/models/inbound_message_webhook_event.rbi +1435 -4
- data/rbi/telnyx/models/ip_connection.rbi +15 -0
- data/rbi/telnyx/models/ip_connection_update_params.rbi +15 -0
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/batch_csv_pagination_meta_705dfa7312.rbi +74 -0
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/messaging_list_response.rbi +4 -4
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/voice_list_response.rbi +4 -4
- data/rbi/telnyx/models/legacy/reporting/usage_reports/standard_pagination_meta_ffba4faa88.rbi +74 -0
- data/rbi/telnyx/models/message_cancel_scheduled_response.rbi +6 -4
- data/rbi/telnyx/models/message_retrieve_group_messages_response.rbi +12 -6
- data/rbi/telnyx/models/message_retrieve_response.rbi +1442 -5
- data/rbi/telnyx/models/message_schedule_response.rbi +6 -4
- data/rbi/telnyx/models/message_send_group_mms_response.rbi +6 -4
- data/rbi/telnyx/models/message_send_long_code_response.rbi +6 -4
- data/rbi/telnyx/models/message_send_number_pool_response.rbi +6 -4
- data/rbi/telnyx/models/message_send_response.rbi +6 -4
- data/rbi/telnyx/models/message_send_short_code_response.rbi +6 -4
- data/rbi/telnyx/models/message_whatsapp_params.rbi +115 -0
- data/rbi/telnyx/models/message_whatsapp_response.rbi +373 -0
- data/rbi/telnyx/models/messaging_error_0b38e7044b.rbi +103 -0
- data/rbi/telnyx/models/messaging_outbound_message_payload.rbi +1317 -0
- data/rbi/telnyx/models/messaging_pagination_meta_0b38e7044b.rbi +51 -0
- data/rbi/telnyx/models/messaging_profile_metric_list_response.rbi +6 -4
- data/rbi/telnyx/models/messaging_profiles/autoresp_config_list_response.rbi +6 -4
- data/rbi/telnyx/models/messaging_tollfree/verification/messaging_toll_free_verification_entity_type.rbi +59 -0
- data/rbi/telnyx/models/messaging_tollfree/verification/messaging_toll_free_verification_tf_verification_request.rbi +370 -0
- data/rbi/telnyx/models/messaging_tollfree/verification/messaging_toll_free_verification_verification_request_egress.rbi +362 -0
- data/rbi/telnyx/models/messaging_tollfree/verification/request_create_params.rbi +1 -1
- data/rbi/telnyx/models/messaging_tollfree/verification/request_retrieve_response.rbi +373 -0
- data/rbi/telnyx/models/messaging_tollfree/verification/request_update_params.rbi +1 -1
- data/rbi/telnyx/models/messaging_tollfree/verification/verification_request_egress.rbi +8 -10
- data/rbi/telnyx/models/netapps_location_17904fcfbc.rbi +84 -0
- data/rbi/telnyx/models/network_coverage_list_response.rbi +4 -4
- data/rbi/telnyx/models/number_order_status_update_webhook_event.rbi +885 -0
- data/rbi/telnyx/models/numbers_phone_number_detailed.rbi +659 -0
- data/rbi/telnyx/models/oauth_oauth_pagination_meta.rbi +73 -0
- data/rbi/telnyx/models/phone_number_detailed.rbi +10 -16
- data/rbi/telnyx/models/phone_number_retrieve_response.rbi +4 -4
- data/rbi/telnyx/models/phone_number_update_response.rbi +4 -4
- data/rbi/telnyx/models/pricing/product_retrieve_params.rbi +6 -0
- data/rbi/telnyx/models/rcs/agent_campaign_configuration.rbi +90 -0
- data/rbi/telnyx/models/rcs/agent_configuration.rbi +461 -0
- data/rbi/telnyx/models/rcs/agent_consent_configuration.rbi +201 -0
- data/rbi/telnyx/models/rcs/agent_create_params.rbi +88 -0
- data/rbi/telnyx/models/rcs/agent_email_contact.rbi +28 -0
- data/rbi/telnyx/models/rcs/agent_interaction.rbi +105 -0
- data/rbi/telnyx/models/rcs/agent_launch_params.rbi +120 -0
- data/rbi/telnyx/models/rcs/agent_list_params.rbi +45 -0
- data/rbi/telnyx/models/rcs/agent_list_response.rbi +13 -0
- data/rbi/telnyx/models/rcs/agent_phone_contact.rbi +28 -0
- data/rbi/telnyx/models/rcs/agent_response.rbi +218 -0
- data/rbi/telnyx/models/rcs/agent_retrieve_carrier_approvals_params.rbi +40 -0
- data/rbi/telnyx/models/rcs/agent_retrieve_carrier_approvals_response.rbi +13 -0
- data/rbi/telnyx/models/rcs/agent_retrieve_params.rbi +37 -0
- data/rbi/telnyx/models/rcs/agent_submission_status.rbi +30 -0
- data/rbi/telnyx/models/rcs/agent_submit_params.rbi +37 -0
- data/rbi/telnyx/models/rcs/agent_testing_configuration.rbi +54 -0
- data/rbi/telnyx/models/rcs/agent_update_params.rbi +90 -0
- data/rbi/telnyx/models/rcs/agent_use_case.rbi +27 -0
- data/rbi/telnyx/models/rcs/agent_website_contact.rbi +28 -0
- data/rbi/telnyx/models/rcs/agents/test_device_create_params.rbi +50 -0
- data/rbi/telnyx/models/rcs/agents/test_device_delete_params.rbi +50 -0
- data/rbi/telnyx/models/rcs/agents/test_device_list_params.rbi +42 -0
- data/rbi/telnyx/models/rcs/agents/test_device_list_response.rbi +17 -0
- data/rbi/telnyx/models/rcs/agents/test_device_response.rbi +95 -0
- data/rbi/telnyx/models/rcs/brand_contact.rbi +115 -0
- data/rbi/telnyx/models/rcs/brand_create_params.rbi +345 -0
- data/rbi/telnyx/models/rcs/brand_legal_entity_type.rbi +40 -0
- data/rbi/telnyx/models/rcs/brand_list_params.rbi +29 -0
- data/rbi/telnyx/models/rcs/brand_list_response.rbi +13 -0
- data/rbi/telnyx/models/rcs/brand_organization_type.rbi +40 -0
- data/rbi/telnyx/models/rcs/brand_response.rbi +242 -0
- data/rbi/telnyx/models/rcs/brand_retrieve_params.rbi +37 -0
- data/rbi/telnyx/models/rcs/brand_submit_params.rbi +37 -0
- data/rbi/telnyx/models/rcs/brand_update_params.rbi +383 -0
- data/rbi/telnyx/models/rcs/capabilities_response.rbi +85 -0
- data/rbi/telnyx/models/rcs/carrier_approval_response.rbi +160 -0
- data/rbi/telnyx/models/rcs/ein_brand_identifier.rbi +37 -0
- data/rbi/telnyx/models/rcs/rcs_agent.rbi +123 -0
- data/rbi/telnyx/models/rcs/rcs_agent_response.rbi +32 -0
- data/rbi/telnyx/models/rcs/stock_symbol_brand_identifier.rbi +40 -0
- data/rbi/telnyx/models/report_list_mdrs_response.rbi +8 -4
- data/rbi/telnyx/models/reports/reporting_pagination_meta_77109e5d17.rbi +73 -0
- data/rbi/telnyx/models/sim_cards/action_disable_response.rbi +8 -4
- data/rbi/telnyx/models/sim_cards/action_enable_response.rbi +8 -4
- data/rbi/telnyx/models/sim_cards/action_remove_public_ip_response.rbi +8 -4
- data/rbi/telnyx/models/sim_cards/action_retrieve_response.rbi +8 -4
- data/rbi/telnyx/models/sim_cards/action_set_public_ip_response.rbi +8 -4
- data/rbi/telnyx/models/sim_cards/action_set_standby_response.rbi +8 -4
- data/rbi/telnyx/models/sim_cards/sim_card_action.rbi +4 -5
- data/rbi/telnyx/models/sim_cards/wireless_sim_card_action.rbi +312 -0
- data/rbi/telnyx/models/sip_registration_status_retrieve_params.rbi +15 -7
- data/rbi/telnyx/models/sip_registration_status_retrieve_response.rbi +48 -38
- data/rbi/telnyx/models/speech_to_text_list_providers_response.rbi +10 -0
- data/rbi/telnyx/models/text_to_speech_list_voices_response.rbi +13 -0
- data/rbi/telnyx/models/unsafe_unwrap_webhook_event.rbi +1 -1
- data/rbi/telnyx/models/unwrap_webhook_event.rbi +1 -1
- data/rbi/telnyx/models/user_address_create_response.rbi +6 -4
- data/rbi/telnyx/models/user_address_retrieve_response.rbi +6 -4
- data/rbi/telnyx/models/user_addresses_user_address.rbi +226 -0
- data/rbi/telnyx/models/virtual_cross_connects_coverage_list_response.rbi +4 -4
- data/rbi/telnyx/models/whatsapp/phone_number_get_params.rbi +54 -0
- data/rbi/telnyx/models/whatsapp/phone_number_get_response.rbi +204 -0
- data/rbi/telnyx/models.rbi +24 -3
- data/rbi/telnyx/resources/access_ip_address.rbi +4 -4
- data/rbi/telnyx/resources/access_ip_ranges.rbi +3 -3
- data/rbi/telnyx/resources/addresses/actions.rbi +3 -2
- data/rbi/telnyx/resources/advanced_orders.rbi +8 -4
- data/rbi/telnyx/resources/ai/assistants/tags.rbi +3 -3
- data/rbi/telnyx/resources/ai/assistants/tools.rbi +2 -2
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +2 -1
- data/rbi/telnyx/resources/ai/assistants.rbi +4 -2
- data/rbi/telnyx/resources/ai/clusters.rbi +4 -4
- data/rbi/telnyx/resources/ai/collections/settings.rbi +66 -0
- data/rbi/telnyx/resources/ai/collections/sources.rbi +89 -0
- data/rbi/telnyx/resources/ai/collections.rbi +208 -0
- data/rbi/telnyx/resources/ai/tools.rbi +13 -5
- data/rbi/telnyx/resources/ai.rbi +10 -7
- data/rbi/telnyx/resources/available_phone_number_blocks.rbi +3 -1
- data/rbi/telnyx/resources/available_phone_numbers.rbi +4 -1
- data/rbi/telnyx/resources/balance.rbi +2 -1
- data/rbi/telnyx/resources/billing_groups.rbi +6 -5
- data/rbi/telnyx/resources/calls/actions.rbi +4 -2
- data/rbi/telnyx/resources/comments.rbi +8 -4
- data/rbi/telnyx/resources/credential_connections.rbi +5 -0
- data/rbi/telnyx/resources/email_blocks.rbi +2 -1
- data/rbi/telnyx/resources/email_domains/webhooks.rbi +6 -3
- data/rbi/telnyx/resources/email_domains.rbi +11 -5
- data/rbi/telnyx/resources/email_templates.rbi +4 -2
- data/rbi/telnyx/resources/email_unsubscribe_groups.rbi +3 -2
- data/rbi/telnyx/resources/external_connections.rbi +2 -1
- data/rbi/telnyx/resources/faxes.rbi +3 -3
- data/rbi/telnyx/resources/fqdn_connections/fqdn_authentication.rbi +77 -0
- data/rbi/telnyx/resources/fqdn_connections.rbi +9 -0
- data/rbi/telnyx/resources/global_ip_assignment_health.rbi +1 -1
- data/rbi/telnyx/resources/global_ip_assignments_usage.rbi +1 -1
- data/rbi/telnyx/resources/global_ip_latency.rbi +1 -1
- data/rbi/telnyx/resources/global_ip_usage.rbi +1 -1
- data/rbi/telnyx/resources/ip_connections.rbi +5 -0
- data/rbi/telnyx/resources/ledger_billing_group_reports.rbi +4 -2
- data/rbi/telnyx/resources/messages/rcs.rbi +2 -1
- data/rbi/telnyx/resources/messages.rbi +39 -5
- data/rbi/telnyx/resources/messaging/rcs/agents.rbi +8 -6
- data/rbi/telnyx/resources/messaging/rcs.rbi +3 -2
- data/rbi/telnyx/resources/messaging_10dlc/brand.rbi +3 -1
- data/rbi/telnyx/resources/messaging_10dlc/campaign/osr.rbi +3 -1
- data/rbi/telnyx/resources/messaging_10dlc/campaign/usecase.rbi +2 -1
- data/rbi/telnyx/resources/messaging_10dlc/campaign.rbi +2 -1
- data/rbi/telnyx/resources/messaging_10dlc/partner_campaigns.rbi +1 -1
- data/rbi/telnyx/resources/messaging_10dlc/phone_number_campaigns.rbi +5 -3
- data/rbi/telnyx/resources/messaging_10dlc.rbi +2 -1
- data/rbi/telnyx/resources/messaging_hosted_number_orders/actions.rbi +1 -1
- data/rbi/telnyx/resources/messaging_hosted_number_orders.rbi +8 -4
- data/rbi/telnyx/resources/messaging_hosted_numbers.rbi +1 -1
- data/rbi/telnyx/resources/messaging_numbers_bulk_updates.rbi +4 -2
- data/rbi/telnyx/resources/messaging_profiles/autoresp_configs.rbi +7 -5
- data/rbi/telnyx/resources/messaging_profiles.rbi +14 -7
- data/rbi/telnyx/resources/messaging_tollfree/verification/requests.rbi +5 -5
- data/rbi/telnyx/resources/messaging_url_domains.rbi +2 -1
- data/rbi/telnyx/resources/mobile_phone_numbers/messaging.rbi +2 -2
- data/rbi/telnyx/resources/mobile_phone_numbers.rbi +3 -3
- data/rbi/telnyx/resources/mobile_voice_connections.rbi +5 -5
- data/rbi/telnyx/resources/number_order_phone_numbers.rbi +2 -1
- data/rbi/telnyx/resources/ota_updates.rbi +2 -1
- data/rbi/telnyx/resources/payment.rbi +1 -1
- data/rbi/telnyx/resources/phone_number_blocks/jobs.rbi +5 -2
- data/rbi/telnyx/resources/phone_numbers/actions.rbi +6 -3
- data/rbi/telnyx/resources/phone_numbers/csv_downloads.rbi +7 -3
- data/rbi/telnyx/resources/phone_numbers/jobs.rbi +4 -2
- data/rbi/telnyx/resources/phone_numbers/messaging.rbi +6 -3
- data/rbi/telnyx/resources/phone_numbers/voice.rbi +7 -3
- data/rbi/telnyx/resources/phone_numbers.rbi +12 -5
- data/rbi/telnyx/resources/phone_numbers_regulatory_requirements.rbi +3 -1
- data/rbi/telnyx/resources/pricing/products.rbi +3 -1
- data/rbi/telnyx/resources/rcs/agents/test_devices.rbi +66 -0
- data/rbi/telnyx/resources/rcs/agents.rbi +163 -0
- data/rbi/telnyx/resources/rcs/brands.rbi +127 -0
- data/rbi/telnyx/resources/rcs.rbi +20 -0
- data/rbi/telnyx/resources/regulatory_requirements.rbi +3 -1
- data/rbi/telnyx/resources/requirement_groups.rbi +13 -6
- data/rbi/telnyx/resources/room_compositions.rbi +5 -2
- data/rbi/telnyx/resources/room_participants.rbi +4 -2
- data/rbi/telnyx/resources/room_recordings.rbi +8 -3
- data/rbi/telnyx/resources/rooms/sessions/actions.rbi +9 -3
- data/rbi/telnyx/resources/rooms/sessions.rbi +11 -4
- data/rbi/telnyx/resources/rooms.rbi +5 -2
- data/rbi/telnyx/resources/short_codes.rbi +4 -2
- data/rbi/telnyx/resources/sim_cards/actions.rbi +1 -1
- data/rbi/telnyx/resources/sip_registration_status.rbi +19 -6
- data/rbi/telnyx/resources/storage/migration_sources.rbi +5 -3
- data/rbi/telnyx/resources/storage/migrations/actions.rbi +1 -1
- data/rbi/telnyx/resources/storage/migrations.rbi +2 -2
- data/rbi/telnyx/resources/storage.rbi +1 -1
- data/rbi/telnyx/resources/sub_number_orders.rbi +3 -1
- data/rbi/telnyx/resources/user_addresses.rbi +5 -1
- data/rbi/telnyx/resources/verifications/actions.rbi +3 -1
- data/rbi/telnyx/resources/verifications/by_phone_number/actions.rbi +2 -1
- data/rbi/telnyx/resources/verifications/by_phone_number.rbi +2 -1
- data/rbi/telnyx/resources/verifications.rbi +13 -5
- data/rbi/telnyx/resources/verified_numbers/actions.rbi +2 -1
- data/rbi/telnyx/resources/verified_numbers.rbi +2 -2
- data/rbi/telnyx/resources/verify_profiles.rbi +3 -2
- data/rbi/telnyx/resources/webhooks.rbi +2 -2
- data/rbi/telnyx/resources/whatsapp/business_accounts/phone_numbers.rbi +3 -2
- data/rbi/telnyx/resources/whatsapp/business_accounts/settings.rbi +3 -2
- data/rbi/telnyx/resources/whatsapp/business_accounts.rbi +4 -3
- data/rbi/telnyx/resources/whatsapp/phone_numbers/calling_settings.rbi +2 -2
- data/rbi/telnyx/resources/whatsapp/phone_numbers/conversational_components.rbi +4 -2
- data/rbi/telnyx/resources/whatsapp/phone_numbers/profile/photo.rbi +5 -3
- data/rbi/telnyx/resources/whatsapp/phone_numbers/profile.rbi +3 -2
- data/rbi/telnyx/resources/whatsapp/phone_numbers.rbi +15 -4
- data/rbi/telnyx/resources/whatsapp/templates.rbi +4 -2
- data/rbi/telnyx/resources/whatsapp/user_data.rbi +4 -2
- data/rbi/telnyx/resources/whatsapp_message_templates.rbi +4 -3
- data/sig/telnyx/client.rbs +1 -1
- data/sig/telnyx/models/actions/purchase_create_response.rbs +6 -6
- data/sig/telnyx/models/actions/register_create_response.rbs +6 -6
- data/sig/telnyx/models/actions/wireless_error_c5290d5308.rbs +66 -0
- data/sig/telnyx/models/ai/assistant_tool.rbs +23 -0
- data/sig/telnyx/models/ai/collection.rbs +91 -0
- data/sig/telnyx/models/ai/collection_create_params.rbs +60 -0
- data/sig/telnyx/models/ai/collection_delete_params.rbs +25 -0
- data/sig/telnyx/models/ai/collection_envelope.rbs +17 -0
- data/sig/telnyx/models/ai/collection_list_params.rbs +34 -0
- data/sig/telnyx/models/ai/collection_retrieve_by_id_params.rbs +25 -0
- data/sig/telnyx/models/ai/collection_retrieve_documents_params.rbs +91 -0
- data/sig/telnyx/models/ai/collection_retrieve_documents_response.rbs +206 -0
- data/sig/telnyx/models/ai/collection_retrieve_params.rbs +25 -0
- data/sig/telnyx/models/ai/collection_update_params.rbs +38 -0
- data/sig/telnyx/models/ai/collections/retrieval_settings.rbs +47 -0
- data/sig/telnyx/models/ai/collections/retrieval_settings_wrapper.rbs +35 -0
- data/sig/telnyx/models/ai/collections/setting_create_params.rbs +29 -0
- data/sig/telnyx/models/ai/collections/setting_list_params.rbs +27 -0
- data/sig/telnyx/models/ai/collections/setting_patch_all_params.rbs +29 -0
- data/sig/telnyx/models/ai/collections/settings_envelope.rbs +26 -0
- data/sig/telnyx/models/ai/collections/settings_request.rbs +26 -0
- data/sig/telnyx/models/ai/collections/source.rbs +63 -0
- data/sig/telnyx/models/ai/collections/source_create_params.rbs +29 -0
- data/sig/telnyx/models/ai/collections/source_create_response.rbs +21 -0
- data/sig/telnyx/models/ai/collections/source_delete_params.rbs +32 -0
- data/sig/telnyx/models/ai/collections/source_list_params.rbs +27 -0
- data/sig/telnyx/models/ai/collections/source_list_response.rbs +24 -0
- data/sig/telnyx/models/ai/collections/source_replace_params.rbs +35 -0
- data/sig/telnyx/models/ai/collections/source_replace_response.rbs +70 -0
- data/sig/telnyx/models/ai/collections/source_request.rbs +31 -0
- data/sig/telnyx/models/ai/collections/source_type.rbs +20 -0
- data/sig/telnyx/models/ai/telephony_settings.rbs +7 -0
- data/sig/telnyx/models/ai/tool_create_params.rbs +9 -0
- data/sig/telnyx/models/ai/tool_update_params.rbs +9 -0
- data/sig/telnyx/models/ai/update_dynamic_variables_tool_params.rbs +55 -0
- data/sig/telnyx/models/credential_connection.rbs +7 -0
- data/sig/telnyx/models/credential_connection_update_params.rbs +7 -0
- data/sig/telnyx/models/fqdn_connection.rbs +7 -0
- data/sig/telnyx/models/fqdn_connection_update_params.rbs +7 -0
- data/sig/telnyx/models/fqdn_connections/fqdn_authentication.rbs +135 -0
- data/sig/telnyx/models/fqdn_connections/fqdn_authentication_list_params.rbs +26 -0
- data/sig/telnyx/models/fqdn_connections/fqdn_authentication_list_response.rbs +24 -0
- data/sig/telnyx/models/fqdn_connections/fqdn_authentication_patch_all_params.rbs +118 -0
- data/sig/telnyx/models/fqdn_connections/fqdn_authentication_patch_all_response.rbs +24 -0
- data/sig/telnyx/models/inbound_message_webhook_event.rbs +613 -6
- data/sig/telnyx/models/ip_connection.rbs +7 -0
- data/sig/telnyx/models/ip_connection_update_params.rbs +7 -0
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/batch_csv_pagination_meta_705dfa7312.rbs +49 -0
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/messaging_list_response.rbs +6 -6
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/voice_list_response.rbs +6 -6
- data/sig/telnyx/models/legacy/reporting/usage_reports/standard_pagination_meta_ffba4faa88.rbs +49 -0
- data/sig/telnyx/models/message_cancel_scheduled_response.rbs +6 -6
- data/sig/telnyx/models/message_retrieve_group_messages_response.rbs +8 -6
- data/sig/telnyx/models/message_retrieve_response.rbs +610 -1
- data/sig/telnyx/models/message_schedule_response.rbs +7 -6
- data/sig/telnyx/models/message_send_group_mms_response.rbs +6 -6
- data/sig/telnyx/models/message_send_long_code_response.rbs +6 -6
- data/sig/telnyx/models/message_send_number_pool_response.rbs +6 -6
- data/sig/telnyx/models/message_send_response.rbs +7 -6
- data/sig/telnyx/models/message_send_short_code_response.rbs +6 -6
- data/sig/telnyx/models/message_whatsapp_params.rbs +69 -0
- data/sig/telnyx/models/message_whatsapp_response.rbs +189 -0
- data/sig/telnyx/models/messaging_error_0b38e7044b.rbs +64 -0
- data/sig/telnyx/models/messaging_outbound_message_payload.rbs +581 -0
- data/sig/telnyx/models/messaging_pagination_meta_0b38e7044b.rbs +35 -0
- data/sig/telnyx/models/messaging_profile_metric_list_response.rbs +6 -6
- data/sig/telnyx/models/messaging_profiles/autoresp_config_list_response.rbs +4 -4
- data/sig/telnyx/models/messaging_tollfree/verification/messaging_toll_free_verification_entity_type.rbs +26 -0
- data/sig/telnyx/models/messaging_tollfree/verification/messaging_toll_free_verification_tf_verification_request.rbs +190 -0
- data/sig/telnyx/models/messaging_tollfree/verification/messaging_toll_free_verification_verification_request_egress.rbs +233 -0
- data/sig/telnyx/models/messaging_tollfree/verification/request_create_params.rbs +1 -1
- data/sig/telnyx/models/messaging_tollfree/verification/request_retrieve_response.rbs +245 -0
- data/sig/telnyx/models/messaging_tollfree/verification/request_update_params.rbs +1 -1
- data/sig/telnyx/models/netapps_location_17904fcfbc.rbs +44 -0
- data/sig/telnyx/models/network_coverage_list_response.rbs +7 -5
- data/sig/telnyx/models/number_order_status_update_webhook_event.rbs +395 -0
- data/sig/telnyx/models/numbers_phone_number_detailed.rbs +293 -0
- data/sig/telnyx/models/oauth_oauth_pagination_meta.rbs +43 -0
- data/sig/telnyx/models/phone_number_retrieve_response.rbs +8 -5
- data/sig/telnyx/models/phone_number_update_response.rbs +8 -5
- data/sig/telnyx/models/pricing/product_retrieve_params.rbs +10 -1
- data/sig/telnyx/models/rcs/agent_campaign_configuration.rbs +53 -0
- data/sig/telnyx/models/rcs/agent_configuration.rbs +250 -0
- data/sig/telnyx/models/rcs/agent_consent_configuration.rbs +100 -0
- data/sig/telnyx/models/rcs/agent_create_params.rbs +58 -0
- data/sig/telnyx/models/rcs/agent_email_contact.rbs +17 -0
- data/sig/telnyx/models/rcs/agent_interaction.rbs +50 -0
- data/sig/telnyx/models/rcs/agent_launch_params.rbs +82 -0
- data/sig/telnyx/models/rcs/agent_list_params.rbs +27 -0
- data/sig/telnyx/models/rcs/agent_list_response.rbs +9 -0
- data/sig/telnyx/models/rcs/agent_phone_contact.rbs +17 -0
- data/sig/telnyx/models/rcs/agent_response.rbs +130 -0
- data/sig/telnyx/models/rcs/agent_retrieve_carrier_approvals_params.rbs +22 -0
- data/sig/telnyx/models/rcs/agent_retrieve_carrier_approvals_response.rbs +10 -0
- data/sig/telnyx/models/rcs/agent_retrieve_params.rbs +22 -0
- data/sig/telnyx/models/rcs/agent_submission_status.rbs +17 -0
- data/sig/telnyx/models/rcs/agent_submit_params.rbs +22 -0
- data/sig/telnyx/models/rcs/agent_testing_configuration.rbs +32 -0
- data/sig/telnyx/models/rcs/agent_update_params.rbs +67 -0
- data/sig/telnyx/models/rcs/agent_use_case.rbs +18 -0
- data/sig/telnyx/models/rcs/agent_website_contact.rbs +17 -0
- data/sig/telnyx/models/rcs/agents/test_device_create_params.rbs +32 -0
- data/sig/telnyx/models/rcs/agents/test_device_delete_params.rbs +32 -0
- data/sig/telnyx/models/rcs/agents/test_device_list_params.rbs +27 -0
- data/sig/telnyx/models/rcs/agents/test_device_list_response.rbs +12 -0
- data/sig/telnyx/models/rcs/agents/test_device_response.rbs +46 -0
- data/sig/telnyx/models/rcs/brand_contact.rbs +70 -0
- data/sig/telnyx/models/rcs/brand_create_params.rbs +182 -0
- data/sig/telnyx/models/rcs/brand_legal_entity_type.rbs +24 -0
- data/sig/telnyx/models/rcs/brand_list_params.rbs +16 -0
- data/sig/telnyx/models/rcs/brand_list_response.rbs +9 -0
- data/sig/telnyx/models/rcs/brand_organization_type.rbs +20 -0
- data/sig/telnyx/models/rcs/brand_response.rbs +154 -0
- data/sig/telnyx/models/rcs/brand_retrieve_params.rbs +22 -0
- data/sig/telnyx/models/rcs/brand_submit_params.rbs +22 -0
- data/sig/telnyx/models/rcs/brand_update_params.rbs +215 -0
- data/sig/telnyx/models/rcs/capabilities_response.rbs +62 -0
- data/sig/telnyx/models/rcs/carrier_approval_response.rbs +77 -0
- data/sig/telnyx/models/rcs/ein_brand_identifier.rbs +17 -0
- data/sig/telnyx/models/rcs/rcs_agent.rbs +76 -0
- data/sig/telnyx/models/rcs/rcs_agent_response.rbs +19 -0
- data/sig/telnyx/models/rcs/stock_symbol_brand_identifier.rbs +18 -0
- data/sig/telnyx/models/report_list_mdrs_response.rbs +6 -6
- data/sig/telnyx/models/reports/reporting_pagination_meta_77109e5d17.rbs +47 -0
- data/sig/telnyx/models/sim_cards/action_disable_response.rbs +7 -6
- data/sig/telnyx/models/sim_cards/action_enable_response.rbs +7 -6
- data/sig/telnyx/models/sim_cards/action_remove_public_ip_response.rbs +6 -6
- data/sig/telnyx/models/sim_cards/action_retrieve_response.rbs +7 -6
- data/sig/telnyx/models/sim_cards/action_set_public_ip_response.rbs +6 -6
- data/sig/telnyx/models/sim_cards/action_set_standby_response.rbs +6 -6
- data/sig/telnyx/models/sim_cards/wireless_sim_card_action.rbs +130 -0
- data/sig/telnyx/models/sip_registration_status_retrieve_params.rbs +5 -1
- data/sig/telnyx/models/sip_registration_status_retrieve_response.rbs +9 -14
- data/sig/telnyx/models/speech_to_text_list_providers_response.rbs +5 -0
- data/sig/telnyx/models/text_to_speech_list_voices_response.rbs +7 -0
- data/sig/telnyx/models/unsafe_unwrap_webhook_event.rbs +1 -1
- data/sig/telnyx/models/unwrap_webhook_event.rbs +1 -1
- data/sig/telnyx/models/user_address_create_response.rbs +8 -5
- data/sig/telnyx/models/user_address_retrieve_response.rbs +8 -5
- data/sig/telnyx/models/user_addresses_user_address.rbs +134 -0
- data/sig/telnyx/models/virtual_cross_connects_coverage_list_response.rbs +7 -5
- data/sig/telnyx/models/whatsapp/phone_number_get_params.rbs +34 -0
- data/sig/telnyx/models/whatsapp/phone_number_get_response.rbs +124 -0
- data/sig/telnyx/models.rbs +21 -3
- data/sig/telnyx/resources/ai/collections/settings.rbs +28 -0
- data/sig/telnyx/resources/ai/collections/sources.rbs +35 -0
- data/sig/telnyx/resources/ai/collections.rbs +59 -0
- data/sig/telnyx/resources/ai/tools.rbs +2 -0
- data/sig/telnyx/resources/ai.rbs +2 -0
- data/sig/telnyx/resources/credential_connections.rbs +1 -0
- data/sig/telnyx/resources/fqdn_connections/fqdn_authentication.rbs +28 -0
- data/sig/telnyx/resources/fqdn_connections.rbs +3 -0
- data/sig/telnyx/resources/ip_connections.rbs +1 -0
- data/sig/telnyx/resources/messages.rbs +10 -0
- data/sig/telnyx/resources/messaging/rcs/agents.rbs +3 -3
- data/sig/telnyx/resources/messaging_tollfree/verification/requests.rbs +5 -5
- data/sig/telnyx/resources/phone_numbers.rbs +1 -1
- data/sig/telnyx/resources/pricing/products.rbs +2 -1
- data/sig/telnyx/resources/rcs/agents/test_devices.rbs +28 -0
- data/sig/telnyx/resources/rcs/agents.rbs +59 -0
- data/sig/telnyx/resources/rcs/brands.rbs +50 -0
- data/sig/telnyx/resources/rcs.rbs +11 -0
- data/sig/telnyx/resources/sim_cards/actions.rbs +1 -1
- data/sig/telnyx/resources/user_addresses.rbs +1 -1
- data/sig/telnyx/resources/webhooks.rbs +2 -2
- data/sig/telnyx/resources/whatsapp/phone_numbers.rbs +6 -0
- metadata +311 -11
- data/lib/telnyx/models/rcs_agent.rb +0 -80
- data/lib/telnyx/models/rcs_agent_response.rb +0 -15
- data/lib/telnyx/resources/rcs_agents.rb +0 -14
- data/rbi/telnyx/models/rcs_agent.rbi +0 -117
- data/rbi/telnyx/models/rcs_agent_response.rbi +0 -26
- data/rbi/telnyx/resources/rcs_agents.rbi +0 -12
- data/sig/telnyx/models/rcs_agent.rbs +0 -72
- data/sig/telnyx/models/rcs_agent_response.rbs +0 -15
- data/sig/telnyx/resources/rcs_agents.rbs +0 -7
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
module AI
|
|
6
|
+
module Collections
|
|
7
|
+
# @see Telnyx::Resources::AI::Collections::Sources#replace
|
|
8
|
+
class SourceReplaceResponse < Telnyx::Internal::Type::BaseModel
|
|
9
|
+
# @!attribute data
|
|
10
|
+
#
|
|
11
|
+
# @return [Array<Telnyx::Models::AI::Collections::Source>, nil]
|
|
12
|
+
optional :data, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::AI::Collections::Source] }
|
|
13
|
+
|
|
14
|
+
# @!attribute meta
|
|
15
|
+
# Reports which source IDs were added, retained, and removed by a replace
|
|
16
|
+
# operation.
|
|
17
|
+
#
|
|
18
|
+
# @return [Telnyx::Models::AI::Collections::SourceReplaceResponse::Meta, nil]
|
|
19
|
+
optional :meta, -> { Telnyx::Models::AI::Collections::SourceReplaceResponse::Meta }
|
|
20
|
+
|
|
21
|
+
# @!method initialize(data: nil, meta: nil)
|
|
22
|
+
# Some parameter documentations has been truncated, see
|
|
23
|
+
# {Telnyx::Models::AI::Collections::SourceReplaceResponse} for more details.
|
|
24
|
+
#
|
|
25
|
+
# @param data [Array<Telnyx::Models::AI::Collections::Source>]
|
|
26
|
+
#
|
|
27
|
+
# @param meta [Telnyx::Models::AI::Collections::SourceReplaceResponse::Meta] Reports which source IDs were added, retained, and removed by a replace operatio
|
|
28
|
+
|
|
29
|
+
# @see Telnyx::Models::AI::Collections::SourceReplaceResponse#meta
|
|
30
|
+
class Meta < Telnyx::Internal::Type::BaseModel
|
|
31
|
+
# @!attribute added
|
|
32
|
+
#
|
|
33
|
+
# @return [Array<String>, nil]
|
|
34
|
+
optional :added, Telnyx::Internal::Type::ArrayOf[String]
|
|
35
|
+
|
|
36
|
+
# @!attribute removed
|
|
37
|
+
#
|
|
38
|
+
# @return [Array<String>, nil]
|
|
39
|
+
optional :removed, Telnyx::Internal::Type::ArrayOf[String]
|
|
40
|
+
|
|
41
|
+
# @!attribute retained
|
|
42
|
+
#
|
|
43
|
+
# @return [Array<String>, nil]
|
|
44
|
+
optional :retained, Telnyx::Internal::Type::ArrayOf[String]
|
|
45
|
+
|
|
46
|
+
# @!method initialize(added: nil, removed: nil, retained: nil)
|
|
47
|
+
# Reports which source IDs were added, retained, and removed by a replace
|
|
48
|
+
# operation.
|
|
49
|
+
#
|
|
50
|
+
# @param added [Array<String>]
|
|
51
|
+
# @param removed [Array<String>]
|
|
52
|
+
# @param retained [Array<String>]
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
end
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
module AI
|
|
6
|
+
module Collections
|
|
7
|
+
class SourceRequest < Telnyx::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute source_type
|
|
9
|
+
# The type of Telnyx data attached as a source. `bucket` requires an additional
|
|
10
|
+
# `bucket_id`. Only `voice` is searchable today; `meeting_bot`, `message`, and
|
|
11
|
+
# `bucket` attach but are not yet searchable (Coming soon).
|
|
12
|
+
#
|
|
13
|
+
# @return [Symbol, Telnyx::Models::AI::Collections::SourceType]
|
|
14
|
+
required :source_type, enum: -> { Telnyx::AI::Collections::SourceType }
|
|
15
|
+
|
|
16
|
+
# @!attribute bucket_id
|
|
17
|
+
# The Telnyx Storage bucket name. Required when `source_type` is `bucket`; ignored
|
|
18
|
+
# otherwise.
|
|
19
|
+
#
|
|
20
|
+
# @return [String, nil]
|
|
21
|
+
optional :bucket_id, String
|
|
22
|
+
|
|
23
|
+
# @!method initialize(source_type:, bucket_id: nil)
|
|
24
|
+
# Some parameter documentations has been truncated, see
|
|
25
|
+
# {Telnyx::Models::AI::Collections::SourceRequest} for more details.
|
|
26
|
+
#
|
|
27
|
+
# @param source_type [Symbol, Telnyx::Models::AI::Collections::SourceType] The type of Telnyx data attached as a source. `bucket` requires an additional `b
|
|
28
|
+
#
|
|
29
|
+
# @param bucket_id [String] The Telnyx Storage bucket name. Required when `source_type` is `bucket`; ignored
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
module AI
|
|
6
|
+
module Collections
|
|
7
|
+
# The type of Telnyx data attached as a source. `bucket` requires an additional
|
|
8
|
+
# `bucket_id`. Only `voice` is searchable today; `meeting_bot`, `message`, and
|
|
9
|
+
# `bucket` attach but are not yet searchable (Coming soon).
|
|
10
|
+
module SourceType
|
|
11
|
+
extend Telnyx::Internal::Type::Enum
|
|
12
|
+
|
|
13
|
+
VOICE = :voice
|
|
14
|
+
MEETING_BOT = :meeting_bot
|
|
15
|
+
MESSAGE = :message
|
|
16
|
+
BUCKET = :bucket
|
|
17
|
+
|
|
18
|
+
# @!method self.values
|
|
19
|
+
# @return [Array<Symbol>]
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -199,7 +199,7 @@ module Telnyx
|
|
|
199
199
|
# assistant. Prefer `tool_ids` to attach shared tools created with the AI Tools
|
|
200
200
|
# endpoints.
|
|
201
201
|
#
|
|
202
|
-
# @return [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::AssistantTool::ClientSideTool, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Invite, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage, Telnyx::Models::AI::AssistantTool::SkipTurn, Telnyx::Models::AI::AssistantTool::Pay>, nil]
|
|
202
|
+
# @return [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::AssistantTool::ClientSideTool, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Invite, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage, Telnyx::Models::AI::AssistantTool::SkipTurn, Telnyx::Models::AI::AssistantTool::Pay, Telnyx::Models::AI::AssistantTool::UpdateDynamicVariables>, nil]
|
|
203
203
|
optional :tools, -> { Telnyx::Internal::Type::ArrayOf[union: Telnyx::AI::AssistantTool] }
|
|
204
204
|
|
|
205
205
|
# @!attribute transcription
|
|
@@ -295,7 +295,7 @@ module Telnyx
|
|
|
295
295
|
#
|
|
296
296
|
# @param telephony_settings [Telnyx::Models::AI::TelephonySettings]
|
|
297
297
|
#
|
|
298
|
-
# @param tools [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::AssistantTool::ClientSideTool, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Invite, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage, Telnyx::Models::AI::AssistantTool::SkipTurn, Telnyx::Models::AI::AssistantTool::Pay>] Deprecated for new integrations. Inline tool definitions available to the assist
|
|
298
|
+
# @param tools [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::AssistantTool::ClientSideTool, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Invite, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage, Telnyx::Models::AI::AssistantTool::SkipTurn, Telnyx::Models::AI::AssistantTool::Pay, Telnyx::Models::AI::AssistantTool::UpdateDynamicVariables>] Deprecated for new integrations. Inline tool definitions available to the assist
|
|
299
299
|
#
|
|
300
300
|
# @param transcription [Telnyx::Models::AI::TranscriptionSettings]
|
|
301
301
|
#
|
|
@@ -430,7 +430,7 @@ module Telnyx
|
|
|
430
430
|
# follow-up fetch per shared tool. Ignored on input — set `shared_tool_ids` to
|
|
431
431
|
# configure a node's tools.
|
|
432
432
|
#
|
|
433
|
-
# @return [Array<Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::AssistantTool::ClientSideTool, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Invite, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage, Telnyx::Models::AI::AssistantTool::SkipTurn, Telnyx::Models::AI::AssistantTool::Pay>>, nil]
|
|
433
|
+
# @return [Array<Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::AssistantTool::ClientSideTool, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Invite, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage, Telnyx::Models::AI::AssistantTool::SkipTurn, Telnyx::Models::AI::AssistantTool::Pay, Telnyx::Models::AI::AssistantTool::UpdateDynamicVariables>>, nil]
|
|
434
434
|
optional :tools,
|
|
435
435
|
-> { Telnyx::Internal::Type::ArrayOf[Telnyx::Internal::Type::ArrayOf[union: Telnyx::AI::AssistantTool]] }
|
|
436
436
|
|
|
@@ -486,7 +486,7 @@ module Telnyx
|
|
|
486
486
|
#
|
|
487
487
|
# @param shared_tool_ids [Array<String>] IDs of shared (org-level) tools available at this node. Knowledge bases are atta
|
|
488
488
|
#
|
|
489
|
-
# @param tools [Array<Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::AssistantTool::ClientSideTool, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Invite, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage, Telnyx::Models::AI::AssistantTool::SkipTurn, Telnyx::Models::AI::AssistantTool::Pay>>] Full tool definitions for this node, resolved from `shared_tool_ids` server-side
|
|
489
|
+
# @param tools [Array<Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::AssistantTool::ClientSideTool, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Invite, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage, Telnyx::Models::AI::AssistantTool::SkipTurn, Telnyx::Models::AI::AssistantTool::Pay, Telnyx::Models::AI::AssistantTool::UpdateDynamicVariables>>] Full tool definitions for this node, resolved from `shared_tool_ids` server-side
|
|
490
490
|
#
|
|
491
491
|
# @param tools_mode [Symbol, Telnyx::Models::AI::InferenceEmbedding::ConversationFlow::Node::Prompt::ToolsMode] How `shared_tool_ids` combine with the assistant-level tool set. `replace` (defa
|
|
492
492
|
#
|
|
@@ -576,7 +576,7 @@ module Telnyx
|
|
|
576
576
|
# responses so clients can render the node without a follow-up fetch. Ignored on
|
|
577
577
|
# input — set `shared_tool_id`.
|
|
578
578
|
#
|
|
579
|
-
# @return [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::AssistantTool::ClientSideTool, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Invite, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage, Telnyx::Models::AI::AssistantTool::SkipTurn, Telnyx::Models::AI::AssistantTool::Pay>, nil]
|
|
579
|
+
# @return [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::AssistantTool::ClientSideTool, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Invite, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage, Telnyx::Models::AI::AssistantTool::SkipTurn, Telnyx::Models::AI::AssistantTool::Pay, Telnyx::Models::AI::AssistantTool::UpdateDynamicVariables>, nil]
|
|
580
580
|
optional :tool, -> { Telnyx::Internal::Type::ArrayOf[union: Telnyx::AI::AssistantTool] }
|
|
581
581
|
|
|
582
582
|
# @!attribute type
|
|
@@ -600,7 +600,7 @@ module Telnyx
|
|
|
600
600
|
#
|
|
601
601
|
# @param position [Telnyx::Models::AI::NodePosition] Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored
|
|
602
602
|
#
|
|
603
|
-
# @param tool [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::AssistantTool::ClientSideTool, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Invite, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage, Telnyx::Models::AI::AssistantTool::SkipTurn, Telnyx::Models::AI::AssistantTool::Pay>] Full tool definition resolved from `shared_tool_id` server-side. Populated on re
|
|
603
|
+
# @param tool [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::AssistantTool::ClientSideTool, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Invite, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage, Telnyx::Models::AI::AssistantTool::SkipTurn, Telnyx::Models::AI::AssistantTool::Pay, Telnyx::Models::AI::AssistantTool::UpdateDynamicVariables>] Full tool definition resolved from `shared_tool_id` server-side. Populated on re
|
|
604
604
|
#
|
|
605
605
|
# @param type [Symbol, Telnyx::Models::AI::InferenceEmbedding::ConversationFlow::Node::Tool::Type] Node kind discriminator. Always `tool` for a tool node.
|
|
606
606
|
|
|
@@ -11,6 +11,14 @@ module Telnyx
|
|
|
11
11
|
# @return [String, nil]
|
|
12
12
|
optional :default_texml_app_id, String
|
|
13
13
|
|
|
14
|
+
# @!attribute disable_dtmf
|
|
15
|
+
# Disable inbound DTMF for the entire call. Must be set to true if a 'pay' tool is
|
|
16
|
+
# configured anywhere on the assistant — on the main tool array or on any workflow
|
|
17
|
+
# node — enforced at write time.
|
|
18
|
+
#
|
|
19
|
+
# @return [Boolean, nil]
|
|
20
|
+
optional :disable_dtmf, Telnyx::Internal::Type::Boolean
|
|
21
|
+
|
|
14
22
|
# @!attribute noise_suppression
|
|
15
23
|
# The noise suppression engine to use. Use 'disabled' to turn off noise
|
|
16
24
|
# suppression.
|
|
@@ -76,12 +84,14 @@ module Telnyx
|
|
|
76
84
|
# @return [Telnyx::Models::AI::TelephonySettings::VoicemailDetection, nil]
|
|
77
85
|
optional :voicemail_detection, -> { Telnyx::AI::TelephonySettings::VoicemailDetection }
|
|
78
86
|
|
|
79
|
-
# @!method initialize(default_texml_app_id: nil, noise_suppression: nil, noise_suppression_config: nil, recording_settings: nil, supports_unauthenticated_web_calls: nil, time_limit_secs: nil, user_idle_reply_secs: nil, user_idle_timeout_secs: nil, voicemail_detection: nil)
|
|
87
|
+
# @!method initialize(default_texml_app_id: nil, disable_dtmf: nil, noise_suppression: nil, noise_suppression_config: nil, recording_settings: nil, supports_unauthenticated_web_calls: nil, time_limit_secs: nil, user_idle_reply_secs: nil, user_idle_timeout_secs: nil, voicemail_detection: nil)
|
|
80
88
|
# Some parameter documentations has been truncated, see
|
|
81
89
|
# {Telnyx::Models::AI::TelephonySettings} for more details.
|
|
82
90
|
#
|
|
83
91
|
# @param default_texml_app_id [String] Default Texml App used for voice calls with your assistant. This will be created
|
|
84
92
|
#
|
|
93
|
+
# @param disable_dtmf [Boolean] Disable inbound DTMF for the entire call. Must be set to true if a 'pay' tool is
|
|
94
|
+
#
|
|
85
95
|
# @param noise_suppression [Symbol, Telnyx::Models::AI::TelephonySettings::NoiseSuppression] The noise suppression engine to use. Use 'disabled' to turn off noise suppressio
|
|
86
96
|
#
|
|
87
97
|
# @param noise_suppression_config [Telnyx::Models::AI::TelephonySettings::NoiseSuppressionConfig] Configuration for noise suppression. Only applicable when noise_suppression is '
|
|
@@ -53,22 +53,40 @@ module Telnyx
|
|
|
53
53
|
# @return [Integer, nil]
|
|
54
54
|
optional :timeout_ms, Integer
|
|
55
55
|
|
|
56
|
+
# @!attribute update_dynamic_variables
|
|
57
|
+
# Configuration for an update_dynamic_variables tool.
|
|
58
|
+
#
|
|
59
|
+
# @return [Telnyx::Models::AI::UpdateDynamicVariablesToolParams, nil]
|
|
60
|
+
optional :update_dynamic_variables, -> { Telnyx::AI::UpdateDynamicVariablesToolParams }
|
|
61
|
+
|
|
56
62
|
# @!attribute webhook
|
|
57
63
|
#
|
|
58
64
|
# @return [Hash{Symbol=>Object}, nil]
|
|
59
65
|
optional :webhook, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
|
|
60
66
|
|
|
61
|
-
# @!method initialize(display_name:, type:, client_side_tool: nil, function: nil, handoff: nil, invite: nil, pay: nil, retrieval: nil, timeout_ms: nil, webhook: nil, request_options: {})
|
|
67
|
+
# @!method initialize(display_name:, type:, client_side_tool: nil, function: nil, handoff: nil, invite: nil, pay: nil, retrieval: nil, timeout_ms: nil, update_dynamic_variables: nil, webhook: nil, request_options: {})
|
|
62
68
|
# @param display_name [String]
|
|
69
|
+
#
|
|
63
70
|
# @param type [String]
|
|
71
|
+
#
|
|
64
72
|
# @param client_side_tool [Hash{Symbol=>Object}]
|
|
73
|
+
#
|
|
65
74
|
# @param function [Hash{Symbol=>Object}]
|
|
75
|
+
#
|
|
66
76
|
# @param handoff [Hash{Symbol=>Object}]
|
|
77
|
+
#
|
|
67
78
|
# @param invite [Hash{Symbol=>Object}]
|
|
79
|
+
#
|
|
68
80
|
# @param pay [Telnyx::Models::AI::PayToolParams]
|
|
81
|
+
#
|
|
69
82
|
# @param retrieval [Hash{Symbol=>Object}]
|
|
83
|
+
#
|
|
70
84
|
# @param timeout_ms [Integer]
|
|
85
|
+
#
|
|
86
|
+
# @param update_dynamic_variables [Telnyx::Models::AI::UpdateDynamicVariablesToolParams] Configuration for an update_dynamic_variables tool.
|
|
87
|
+
#
|
|
71
88
|
# @param webhook [Hash{Symbol=>Object}]
|
|
89
|
+
#
|
|
72
90
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
73
91
|
end
|
|
74
92
|
end
|
|
@@ -58,23 +58,42 @@ module Telnyx
|
|
|
58
58
|
# @return [String, nil]
|
|
59
59
|
optional :type, String
|
|
60
60
|
|
|
61
|
+
# @!attribute update_dynamic_variables
|
|
62
|
+
# Configuration for an update_dynamic_variables tool.
|
|
63
|
+
#
|
|
64
|
+
# @return [Telnyx::Models::AI::UpdateDynamicVariablesToolParams, nil]
|
|
65
|
+
optional :update_dynamic_variables, -> { Telnyx::AI::UpdateDynamicVariablesToolParams }
|
|
66
|
+
|
|
61
67
|
# @!attribute webhook
|
|
62
68
|
#
|
|
63
69
|
# @return [Hash{Symbol=>Object}, nil]
|
|
64
70
|
optional :webhook, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
|
|
65
71
|
|
|
66
|
-
# @!method initialize(tool_id:, client_side_tool: nil, display_name: nil, function: nil, handoff: nil, invite: nil, pay: nil, retrieval: nil, timeout_ms: nil, type: nil, webhook: nil, request_options: {})
|
|
72
|
+
# @!method initialize(tool_id:, client_side_tool: nil, display_name: nil, function: nil, handoff: nil, invite: nil, pay: nil, retrieval: nil, timeout_ms: nil, type: nil, update_dynamic_variables: nil, webhook: nil, request_options: {})
|
|
67
73
|
# @param tool_id [String]
|
|
74
|
+
#
|
|
68
75
|
# @param client_side_tool [Hash{Symbol=>Object}]
|
|
76
|
+
#
|
|
69
77
|
# @param display_name [String]
|
|
78
|
+
#
|
|
70
79
|
# @param function [Hash{Symbol=>Object}]
|
|
80
|
+
#
|
|
71
81
|
# @param handoff [Hash{Symbol=>Object}]
|
|
82
|
+
#
|
|
72
83
|
# @param invite [Hash{Symbol=>Object}]
|
|
84
|
+
#
|
|
73
85
|
# @param pay [Telnyx::Models::AI::PayToolParams]
|
|
86
|
+
#
|
|
74
87
|
# @param retrieval [Hash{Symbol=>Object}]
|
|
88
|
+
#
|
|
75
89
|
# @param timeout_ms [Integer]
|
|
90
|
+
#
|
|
76
91
|
# @param type [String]
|
|
92
|
+
#
|
|
93
|
+
# @param update_dynamic_variables [Telnyx::Models::AI::UpdateDynamicVariablesToolParams] Configuration for an update_dynamic_variables tool.
|
|
94
|
+
#
|
|
77
95
|
# @param webhook [Hash{Symbol=>Object}]
|
|
96
|
+
#
|
|
78
97
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
79
98
|
end
|
|
80
99
|
end
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
module AI
|
|
6
|
+
class UpdateDynamicVariablesToolParams < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute description
|
|
8
|
+
# Description of the tool passed to the assistant, guiding when to call it and
|
|
9
|
+
# which variables to update.
|
|
10
|
+
#
|
|
11
|
+
# @return [String]
|
|
12
|
+
required :description, String
|
|
13
|
+
|
|
14
|
+
# @!attribute name
|
|
15
|
+
# The function name surfaced to the LLM. Must match the OpenAI function-name
|
|
16
|
+
# pattern `^[a-zA-Z0-9_-]+$` and be unique across the assistant's function,
|
|
17
|
+
# webhook, and client_side tools.
|
|
18
|
+
#
|
|
19
|
+
# @return [String]
|
|
20
|
+
required :name, String
|
|
21
|
+
|
|
22
|
+
# @!attribute updatable_variables
|
|
23
|
+
# The dynamic variables the assistant is allowed to write. At least one is
|
|
24
|
+
# required.
|
|
25
|
+
#
|
|
26
|
+
# @return [Array<Telnyx::Models::AI::UpdateDynamicVariablesToolParams::UpdatableVariable>]
|
|
27
|
+
required :updatable_variables,
|
|
28
|
+
-> { Telnyx::Internal::Type::ArrayOf[Telnyx::AI::UpdateDynamicVariablesToolParams::UpdatableVariable] }
|
|
29
|
+
|
|
30
|
+
# @!method initialize(description:, name:, updatable_variables:)
|
|
31
|
+
# Some parameter documentations has been truncated, see
|
|
32
|
+
# {Telnyx::Models::AI::UpdateDynamicVariablesToolParams} for more details.
|
|
33
|
+
#
|
|
34
|
+
# Configuration for an update_dynamic_variables tool.
|
|
35
|
+
#
|
|
36
|
+
# @param description [String] Description of the tool passed to the assistant, guiding when to call it and whi
|
|
37
|
+
#
|
|
38
|
+
# @param name [String] The function name surfaced to the LLM. Must match the OpenAI function-name patte
|
|
39
|
+
#
|
|
40
|
+
# @param updatable_variables [Array<Telnyx::Models::AI::UpdateDynamicVariablesToolParams::UpdatableVariable>] The dynamic variables the assistant is allowed to write. At least one is require
|
|
41
|
+
|
|
42
|
+
class UpdatableVariable < Telnyx::Internal::Type::BaseModel
|
|
43
|
+
# @!attribute name
|
|
44
|
+
# The dynamic-variable key to update. Must match `^[a-zA-Z0-9._-]+$` and may not
|
|
45
|
+
# start with the reserved `telnyx_` prefix (reserved for system variables). The
|
|
46
|
+
# `pattern` encodes both rules via a negative lookahead.
|
|
47
|
+
#
|
|
48
|
+
# @return [String]
|
|
49
|
+
required :name, String
|
|
50
|
+
|
|
51
|
+
# @!attribute description
|
|
52
|
+
# Optional description of the variable, guiding the assistant on what value to
|
|
53
|
+
# capture.
|
|
54
|
+
#
|
|
55
|
+
# @return [String, nil]
|
|
56
|
+
optional :description, String
|
|
57
|
+
|
|
58
|
+
# @!attribute type
|
|
59
|
+
# Optional hint for the variable's value type (e.g. `string`).
|
|
60
|
+
#
|
|
61
|
+
# @return [String, nil]
|
|
62
|
+
optional :type, String
|
|
63
|
+
|
|
64
|
+
# @!method initialize(name:, description: nil, type: nil)
|
|
65
|
+
# Some parameter documentations has been truncated, see
|
|
66
|
+
# {Telnyx::Models::AI::UpdateDynamicVariablesToolParams::UpdatableVariable} for
|
|
67
|
+
# more details.
|
|
68
|
+
#
|
|
69
|
+
# @param name [String] The dynamic-variable key to update. Must match `^[a-zA-Z0-9._-]+$` and may not s
|
|
70
|
+
#
|
|
71
|
+
# @param description [String] Optional description of the variable, guiding the assistant on what value to cap
|
|
72
|
+
#
|
|
73
|
+
# @param type [String] Optional hint for the variable's value type (e.g. `string`).
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
end
|
|
@@ -41,6 +41,14 @@ module Telnyx
|
|
|
41
41
|
# @return [String, nil]
|
|
42
42
|
optional :connection_name, String
|
|
43
43
|
|
|
44
|
+
# @!attribute conversation_persistence
|
|
45
|
+
# Whether conversation persistence is enabled for this connection. When enabled,
|
|
46
|
+
# calls handled by the connection are transcribed, stored, and indexed. Defaults
|
|
47
|
+
# to false.
|
|
48
|
+
#
|
|
49
|
+
# @return [Boolean, nil]
|
|
50
|
+
optional :conversation_persistence, Telnyx::Internal::Type::Boolean
|
|
51
|
+
|
|
44
52
|
# @!attribute created_at
|
|
45
53
|
# ISO-8601 formatted date indicating when the resource was created.
|
|
46
54
|
#
|
|
@@ -202,7 +210,7 @@ module Telnyx
|
|
|
202
210
|
# @return [Integer, nil]
|
|
203
211
|
optional :webhook_timeout_secs, Integer, nil?: true
|
|
204
212
|
|
|
205
|
-
# @!method initialize(id: nil, active: nil, anchorsite_override: nil, android_push_credential_id: nil, call_cost_in_webhooks: nil, connection_name: nil, created_at: 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, password: nil, record_type: nil, rtcp_settings: nil, sip_uri_calling_preference: nil, tags: nil, updated_at: nil, user_name: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil)
|
|
213
|
+
# @!method initialize(id: nil, active: nil, anchorsite_override: nil, android_push_credential_id: nil, call_cost_in_webhooks: nil, connection_name: nil, conversation_persistence: nil, created_at: 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, password: nil, record_type: nil, rtcp_settings: nil, sip_uri_calling_preference: nil, tags: nil, updated_at: nil, user_name: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil)
|
|
206
214
|
# Some parameter documentations has been truncated, see
|
|
207
215
|
# {Telnyx::Models::CredentialConnection} for more details.
|
|
208
216
|
#
|
|
@@ -218,6 +226,8 @@ module Telnyx
|
|
|
218
226
|
#
|
|
219
227
|
# @param connection_name [String]
|
|
220
228
|
#
|
|
229
|
+
# @param conversation_persistence [Boolean] Whether conversation persistence is enabled for this connection. When enabled, c
|
|
230
|
+
#
|
|
221
231
|
# @param created_at [String] ISO-8601 formatted date indicating when the resource was created.
|
|
222
232
|
#
|
|
223
233
|
# @param default_on_hold_comfort_noise_enabled [Boolean] When enabled, Telnyx will generate comfort noise when you place the call on hold
|
|
@@ -44,6 +44,14 @@ module Telnyx
|
|
|
44
44
|
# @return [String, nil]
|
|
45
45
|
optional :connection_name, String
|
|
46
46
|
|
|
47
|
+
# @!attribute conversation_persistence
|
|
48
|
+
# Whether conversation persistence is enabled for this connection. When enabled,
|
|
49
|
+
# calls handled by the connection are transcribed, stored, and indexed. Defaults
|
|
50
|
+
# to false.
|
|
51
|
+
#
|
|
52
|
+
# @return [Boolean, nil]
|
|
53
|
+
optional :conversation_persistence, Telnyx::Internal::Type::Boolean
|
|
54
|
+
|
|
47
55
|
# @!attribute default_on_hold_comfort_noise_enabled
|
|
48
56
|
# When enabled, Telnyx will generate comfort noise when you place the call on
|
|
49
57
|
# hold. If disabled, you will need to generate comfort noise or on hold music to
|
|
@@ -187,7 +195,7 @@ module Telnyx
|
|
|
187
195
|
# @return [Integer, nil]
|
|
188
196
|
optional :webhook_timeout_secs, Integer, nil?: true
|
|
189
197
|
|
|
190
|
-
# @!method initialize(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, password: nil, rtcp_settings: nil, sip_uri_calling_preference: nil, tags: nil, user_name: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil, request_options: {})
|
|
198
|
+
# @!method initialize(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, password: nil, rtcp_settings: nil, sip_uri_calling_preference: nil, tags: nil, user_name: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil, request_options: {})
|
|
191
199
|
# Some parameter documentations has been truncated, see
|
|
192
200
|
# {Telnyx::Models::CredentialConnectionUpdateParams} for more details.
|
|
193
201
|
#
|
|
@@ -203,6 +211,8 @@ module Telnyx
|
|
|
203
211
|
#
|
|
204
212
|
# @param connection_name [String] A user-assigned name to help manage the connection.
|
|
205
213
|
#
|
|
214
|
+
# @param conversation_persistence [Boolean] Whether conversation persistence is enabled for this connection. When enabled, c
|
|
215
|
+
#
|
|
206
216
|
# @param default_on_hold_comfort_noise_enabled [Boolean] When enabled, Telnyx will generate comfort noise when you place the call on hold
|
|
207
217
|
#
|
|
208
218
|
# @param dtmf_type [Symbol, Telnyx::Models::DtmfType] Sets the type of DTMF digits sent from Telnyx to this Connection. Note that DTMF
|
|
@@ -54,6 +54,14 @@ module Telnyx
|
|
|
54
54
|
# @return [Boolean, nil]
|
|
55
55
|
optional :call_cost_in_webhooks, Telnyx::Internal::Type::Boolean
|
|
56
56
|
|
|
57
|
+
# @!attribute conversation_persistence
|
|
58
|
+
# Whether conversation persistence is enabled for this connection. When enabled,
|
|
59
|
+
# calls handled by the connection are transcribed, stored, and indexed. Defaults
|
|
60
|
+
# to false.
|
|
61
|
+
#
|
|
62
|
+
# @return [Boolean, nil]
|
|
63
|
+
optional :conversation_persistence, Telnyx::Internal::Type::Boolean
|
|
64
|
+
|
|
57
65
|
# @!attribute created_at
|
|
58
66
|
# ISO 8601 formatted date indicating when the resource was created.
|
|
59
67
|
#
|
|
@@ -263,7 +271,7 @@ module Telnyx
|
|
|
263
271
|
# @return [Integer, nil]
|
|
264
272
|
optional :webhook_timeout_secs, Integer, nil?: true
|
|
265
273
|
|
|
266
|
-
# @!method initialize(connection_name:, id: nil, active: nil, adjust_dtmf_timestamp: nil, anchorsite_override: nil, android_push_credential_id: nil, call_cost_enabled: nil, call_cost_in_webhooks: nil, created_at: nil, default_on_hold_comfort_noise_enabled: nil, dtmf_type: nil, encode_contact_header_enabled: nil, encrypted_media: nil, ignore_dtmf_duration: nil, ignore_mark_bit: nil, inbound: nil, ios_push_credential_id: nil, jitter_buffer: nil, microsoft_teams_sbc: nil, noise_suppression: nil, noise_suppression_details: nil, onnet_t38_passthrough_enabled: nil, outbound: nil, password: nil, record_type: nil, rtcp_settings: nil, rtp_pass_codecs_on_stream_change: nil, send_normalized_timestamps: nil, tags: nil, third_party_control_enabled: nil, transport_protocol: nil, txt_name: nil, txt_ttl: nil, txt_value: nil, updated_at: nil, user_name: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil)
|
|
274
|
+
# @!method initialize(connection_name:, id: nil, active: nil, adjust_dtmf_timestamp: nil, anchorsite_override: nil, android_push_credential_id: nil, call_cost_enabled: nil, call_cost_in_webhooks: nil, conversation_persistence: nil, created_at: nil, default_on_hold_comfort_noise_enabled: nil, dtmf_type: nil, encode_contact_header_enabled: nil, encrypted_media: nil, ignore_dtmf_duration: nil, ignore_mark_bit: nil, inbound: nil, ios_push_credential_id: nil, jitter_buffer: nil, microsoft_teams_sbc: nil, noise_suppression: nil, noise_suppression_details: nil, onnet_t38_passthrough_enabled: nil, outbound: nil, password: nil, record_type: nil, rtcp_settings: nil, rtp_pass_codecs_on_stream_change: nil, send_normalized_timestamps: nil, tags: nil, third_party_control_enabled: nil, transport_protocol: nil, txt_name: nil, txt_ttl: nil, txt_value: nil, updated_at: nil, user_name: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil)
|
|
267
275
|
# Some parameter documentations has been truncated, see
|
|
268
276
|
# {Telnyx::Models::FqdnConnection} for more details.
|
|
269
277
|
#
|
|
@@ -283,6 +291,8 @@ module Telnyx
|
|
|
283
291
|
#
|
|
284
292
|
# @param call_cost_in_webhooks [Boolean] Specifies if call cost webhooks should be sent for this connection.
|
|
285
293
|
#
|
|
294
|
+
# @param conversation_persistence [Boolean] Whether conversation persistence is enabled for this connection. When enabled, c
|
|
295
|
+
#
|
|
286
296
|
# @param created_at [String] ISO 8601 formatted date indicating when the resource was created.
|
|
287
297
|
#
|
|
288
298
|
# @param default_on_hold_comfort_noise_enabled [Boolean] When enabled, Telnyx will generate comfort noise when you place the call on hold
|
|
@@ -44,6 +44,14 @@ module Telnyx
|
|
|
44
44
|
# @return [String, nil]
|
|
45
45
|
optional :connection_name, String
|
|
46
46
|
|
|
47
|
+
# @!attribute conversation_persistence
|
|
48
|
+
# Whether conversation persistence is enabled for this connection. When enabled,
|
|
49
|
+
# calls handled by the connection are transcribed, stored, and indexed. Defaults
|
|
50
|
+
# to false.
|
|
51
|
+
#
|
|
52
|
+
# @return [Boolean, nil]
|
|
53
|
+
optional :conversation_persistence, Telnyx::Internal::Type::Boolean
|
|
54
|
+
|
|
47
55
|
# @!attribute default_on_hold_comfort_noise_enabled
|
|
48
56
|
# When enabled, Telnyx will generate comfort noise when you place the call on
|
|
49
57
|
# hold. If disabled, you will need to generate comfort noise or on hold music to
|
|
@@ -169,7 +177,7 @@ module Telnyx
|
|
|
169
177
|
# @return [Integer, nil]
|
|
170
178
|
optional :webhook_timeout_secs, Integer, nil?: true
|
|
171
179
|
|
|
172
|
-
# @!method initialize(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: {})
|
|
180
|
+
# @!method initialize(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: {})
|
|
173
181
|
# Some parameter documentations has been truncated, see
|
|
174
182
|
# {Telnyx::Models::FqdnConnectionUpdateParams} for more details.
|
|
175
183
|
#
|
|
@@ -185,6 +193,8 @@ module Telnyx
|
|
|
185
193
|
#
|
|
186
194
|
# @param connection_name [String] A user-assigned name to help manage the connection.
|
|
187
195
|
#
|
|
196
|
+
# @param conversation_persistence [Boolean] Whether conversation persistence is enabled for this connection. When enabled, c
|
|
197
|
+
#
|
|
188
198
|
# @param default_on_hold_comfort_noise_enabled [Boolean] When enabled, Telnyx will generate comfort noise when you place the call on hold
|
|
189
199
|
#
|
|
190
200
|
# @param dtmf_type [Symbol, Telnyx::Models::DtmfType] Sets the type of DTMF digits sent from Telnyx to this Connection. Note that DTMF
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
module FqdnConnections
|
|
6
|
+
class FqdnConnectionsFqdnAuthentication < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute id
|
|
8
|
+
# Identifies the resource.
|
|
9
|
+
#
|
|
10
|
+
# @return [String, nil]
|
|
11
|
+
optional :id, String
|
|
12
|
+
|
|
13
|
+
# @!attribute connection_id
|
|
14
|
+
# The ID of the FQDN connection this authentication strategy belongs to.
|
|
15
|
+
#
|
|
16
|
+
# @return [String, nil]
|
|
17
|
+
optional :connection_id, String
|
|
18
|
+
|
|
19
|
+
# @!attribute failover_url
|
|
20
|
+
# The failover webhook URL.
|
|
21
|
+
#
|
|
22
|
+
# @return [String, nil]
|
|
23
|
+
optional :failover_url, String
|
|
24
|
+
|
|
25
|
+
# @!attribute fqdn_outbound_authentication
|
|
26
|
+
# The outbound authentication type.
|
|
27
|
+
#
|
|
28
|
+
# @return [Symbol, Telnyx::Models::FqdnConnections::FqdnConnectionsFqdnAuthentication::FqdnOutboundAuthentication, nil]
|
|
29
|
+
optional :fqdn_outbound_authentication,
|
|
30
|
+
enum: -> { Telnyx::FqdnConnections::FqdnConnectionsFqdnAuthentication::FqdnOutboundAuthentication }
|
|
31
|
+
|
|
32
|
+
# @!attribute ip_authentication_method
|
|
33
|
+
# The IP authentication method.
|
|
34
|
+
#
|
|
35
|
+
# @return [Symbol, Telnyx::Models::FqdnConnections::FqdnConnectionsFqdnAuthentication::IPAuthenticationMethod, nil]
|
|
36
|
+
optional :ip_authentication_method,
|
|
37
|
+
enum: -> { Telnyx::FqdnConnections::FqdnConnectionsFqdnAuthentication::IPAuthenticationMethod }
|
|
38
|
+
|
|
39
|
+
# @!attribute microsoft_teams_sbc
|
|
40
|
+
# Whether the connection is a Microsoft Teams SBC.
|
|
41
|
+
#
|
|
42
|
+
# @return [Boolean, nil]
|
|
43
|
+
optional :microsoft_teams_sbc, Telnyx::Internal::Type::Boolean
|
|
44
|
+
|
|
45
|
+
# @!attribute password
|
|
46
|
+
# The password for authentication.
|
|
47
|
+
#
|
|
48
|
+
# @return [String, nil]
|
|
49
|
+
optional :password, String
|
|
50
|
+
|
|
51
|
+
# @!attribute record_type
|
|
52
|
+
# Identifies the type of the resource.
|
|
53
|
+
#
|
|
54
|
+
# @return [String, nil]
|
|
55
|
+
optional :record_type, String
|
|
56
|
+
|
|
57
|
+
# @!attribute txt_name
|
|
58
|
+
# The TXT record name for Microsoft Teams SBC DNS verification.
|
|
59
|
+
#
|
|
60
|
+
# @return [String, nil]
|
|
61
|
+
optional :txt_name, String
|
|
62
|
+
|
|
63
|
+
# @!attribute txt_ttl
|
|
64
|
+
# The TTL for the TXT record.
|
|
65
|
+
#
|
|
66
|
+
# @return [Integer, nil]
|
|
67
|
+
optional :txt_ttl, Integer
|
|
68
|
+
|
|
69
|
+
# @!attribute txt_value
|
|
70
|
+
# The TXT record value for Microsoft Teams SBC DNS verification.
|
|
71
|
+
#
|
|
72
|
+
# @return [String, nil]
|
|
73
|
+
optional :txt_value, String
|
|
74
|
+
|
|
75
|
+
# @!attribute user_name
|
|
76
|
+
# The username for authentication.
|
|
77
|
+
#
|
|
78
|
+
# @return [String, nil]
|
|
79
|
+
optional :user_name, String
|
|
80
|
+
|
|
81
|
+
# @!attribute webhook_url
|
|
82
|
+
# The webhook URL for authentication events.
|
|
83
|
+
#
|
|
84
|
+
# @return [String, nil]
|
|
85
|
+
optional :webhook_url, String
|
|
86
|
+
|
|
87
|
+
# @!method initialize(id: nil, connection_id: nil, failover_url: nil, fqdn_outbound_authentication: nil, ip_authentication_method: nil, microsoft_teams_sbc: nil, password: nil, record_type: nil, txt_name: nil, txt_ttl: nil, txt_value: nil, user_name: nil, webhook_url: nil)
|
|
88
|
+
# @param id [String] Identifies the resource.
|
|
89
|
+
#
|
|
90
|
+
# @param connection_id [String] The ID of the FQDN connection this authentication strategy belongs to.
|
|
91
|
+
#
|
|
92
|
+
# @param failover_url [String] The failover webhook URL.
|
|
93
|
+
#
|
|
94
|
+
# @param fqdn_outbound_authentication [Symbol, Telnyx::Models::FqdnConnections::FqdnConnectionsFqdnAuthentication::FqdnOutboundAuthentication] The outbound authentication type.
|
|
95
|
+
#
|
|
96
|
+
# @param ip_authentication_method [Symbol, Telnyx::Models::FqdnConnections::FqdnConnectionsFqdnAuthentication::IPAuthenticationMethod] The IP authentication method.
|
|
97
|
+
#
|
|
98
|
+
# @param microsoft_teams_sbc [Boolean] Whether the connection is a Microsoft Teams SBC.
|
|
99
|
+
#
|
|
100
|
+
# @param password [String] The password for authentication.
|
|
101
|
+
#
|
|
102
|
+
# @param record_type [String] Identifies the type of the resource.
|
|
103
|
+
#
|
|
104
|
+
# @param txt_name [String] The TXT record name for Microsoft Teams SBC DNS verification.
|
|
105
|
+
#
|
|
106
|
+
# @param txt_ttl [Integer] The TTL for the TXT record.
|
|
107
|
+
#
|
|
108
|
+
# @param txt_value [String] The TXT record value for Microsoft Teams SBC DNS verification.
|
|
109
|
+
#
|
|
110
|
+
# @param user_name [String] The username for authentication.
|
|
111
|
+
#
|
|
112
|
+
# @param webhook_url [String] The webhook URL for authentication events.
|
|
113
|
+
|
|
114
|
+
# The outbound authentication type.
|
|
115
|
+
#
|
|
116
|
+
# @see Telnyx::Models::FqdnConnections::FqdnConnectionsFqdnAuthentication#fqdn_outbound_authentication
|
|
117
|
+
module FqdnOutboundAuthentication
|
|
118
|
+
extend Telnyx::Internal::Type::Enum
|
|
119
|
+
|
|
120
|
+
IP_AUTHENTICATION = :"ip-authentication"
|
|
121
|
+
CREDENTIAL_AUTHENTICATION = :"credential-authentication"
|
|
122
|
+
|
|
123
|
+
# @!method self.values
|
|
124
|
+
# @return [Array<Symbol>]
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
# The IP authentication method.
|
|
128
|
+
#
|
|
129
|
+
# @see Telnyx::Models::FqdnConnections::FqdnConnectionsFqdnAuthentication#ip_authentication_method
|
|
130
|
+
module IPAuthenticationMethod
|
|
131
|
+
extend Telnyx::Internal::Type::Enum
|
|
132
|
+
|
|
133
|
+
TOKEN = :token
|
|
134
|
+
P_CHARGE_INFO = :"p-charge-info"
|
|
135
|
+
|
|
136
|
+
# @!method self.values
|
|
137
|
+
# @return [Array<Symbol>]
|
|
138
|
+
end
|
|
139
|
+
end
|
|
140
|
+
end
|
|
141
|
+
end
|
|
142
|
+
end
|