telnyx 5.161.0 → 5.163.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 +19 -0
- data/README.md +1 -1
- data/lib/telnyx/internal/cloudfs_cursor_pagination.rb +114 -0
- data/lib/telnyx/internal/email_bracket_cursor_pagination.rb +104 -0
- data/lib/telnyx/internal/email_cursor_pagination.rb +103 -0
- data/lib/telnyx/models/ai/assistant_clone_params.rb +7 -1
- data/lib/telnyx/models/ai/assistant_create_params.rb +8 -1
- data/lib/telnyx/models/ai/assistant_imports_params.rb +8 -1
- data/lib/telnyx/models/ai/assistant_send_sms_params.rb +7 -1
- data/lib/telnyx/models/ai/assistants/canary_deploy_create_params.rb +7 -1
- data/lib/telnyx/models/ai/assistants/scheduled_event_create_params.rb +8 -1
- data/lib/telnyx/models/ai/assistants/test_create_params.rb +8 -1
- data/lib/telnyx/models/ai/assistants/tests/run_trigger_params.rb +8 -1
- data/lib/telnyx/models/ai/assistants/tests/test_suites/run_trigger_params.rb +8 -1
- data/lib/telnyx/models/ai/collection_retrieve_documents_response.rb +83 -154
- data/lib/telnyx/models/ai/conversation_add_message_params.rb +8 -1
- data/lib/telnyx/models/ai/conversation_create_params.rb +8 -1
- data/lib/telnyx/models/ai/conversation_flow.rb +55 -0
- data/lib/telnyx/models/ai/conversation_flow_req.rb +6 -327
- data/lib/telnyx/models/ai/conversations/insight_create_params.rb +8 -1
- data/lib/telnyx/models/ai/conversations/insight_group_insight_groups_params.rb +7 -1
- data/lib/telnyx/models/ai/conversations/message_list_response.rb +43 -1
- data/lib/telnyx/models/ai/embedding_create_params.rb +8 -1
- data/lib/telnyx/models/ai/embedding_url_params.rb +8 -1
- data/lib/telnyx/models/ai/flow_edge.rb +5 -5
- data/lib/telnyx/models/ai/flow_node.rb +189 -0
- data/lib/telnyx/models/ai/flow_node_req.rb +184 -0
- data/lib/telnyx/models/ai/inference_embedding.rb +3 -384
- data/lib/telnyx/models/ai/inference_embedding_webhook_tool_params.rb +84 -1
- data/lib/telnyx/models/ai/mcp_server_create_params.rb +7 -1
- data/lib/telnyx/models/ai/speak_node.rb +74 -0
- data/lib/telnyx/models/ai/speak_node_req.rb +79 -0
- data/lib/telnyx/models/ai/tool_create_params.rb +8 -1
- data/lib/telnyx/models/ai/tool_node.rb +84 -0
- data/lib/telnyx/models/ai/tool_node_req.rb +79 -0
- data/lib/telnyx/models/ai_retrieve_conversation_histories_response.rb +112 -177
- data/lib/telnyx/models/ai_summarize_params.rb +8 -1
- data/lib/telnyx/models/call_answered.rb +3 -35
- data/lib/telnyx/models/call_dial_params.rb +27 -1
- data/lib/telnyx/models/call_hangup.rb +3 -35
- data/lib/telnyx/models/call_initiated.rb +3 -35
- data/lib/telnyx/models/call_payment_completed_webhook_event.rb +5 -2
- data/lib/telnyx/models/call_payment_progress_webhook_event.rb +4 -0
- data/lib/telnyx/models/calls/action_gather_using_ai_params.rb +3 -5
- data/lib/telnyx/models/calls/action_gather_using_speak_params.rb +3 -8
- data/lib/telnyx/models/calls/action_pay_params.rb +44 -15
- data/lib/telnyx/models/calls/action_speak_params.rb +3 -8
- data/lib/telnyx/models/calls/action_start_conversation_relay_params.rb +4 -6
- data/lib/telnyx/models/calls/action_transfer_params.rb +27 -1
- data/lib/telnyx/models/calls/pay_prompt_value.rb +19 -22
- data/lib/telnyx/models/calls/transcription_engine_humain_config.rb +80 -0
- data/lib/telnyx/models/calls/transcription_engine_reson8_config.rb +87 -0
- data/lib/telnyx/models/calls/transcription_start_request.rb +5 -162
- data/lib/telnyx/models/conferences/action_speak_params.rb +3 -8
- data/lib/telnyx/models/conversation_relay_embedded_config.rb +3 -5
- data/lib/telnyx/models/conversation_relay_language.rb +3 -5
- data/lib/telnyx/models/custom_storage_configuration.rb +4 -63
- data/lib/telnyx/models/dir/email_verification_status.rb +87 -0
- data/lib/telnyx/models/dir/email_verification_status_wrapped.rb +3 -84
- data/lib/telnyx/models/doc_service_document.rb +6 -9
- data/lib/telnyx/models/document_link_list_response.rb +1 -9
- data/lib/telnyx/models/email_block_retrieve_events_response.rb +69 -86
- data/lib/telnyx/models/email_blocks/email_block_import.rb +171 -0
- data/lib/telnyx/models/email_blocks/email_block_import_response.rb +4 -167
- data/lib/telnyx/models/email_blocks/import_create_params.rb +1 -1
- data/lib/telnyx/models/email_blocks/import_retrieve_params.rb +1 -1
- data/lib/telnyx/models/email_domain_list_params.rb +12 -4
- data/lib/telnyx/models/email_event_list_response.rb +73 -115
- data/lib/telnyx/models/email_inbox.rb +1 -0
- data/lib/telnyx/models/email_inboxes/email_draft.rb +8 -6
- data/lib/telnyx/models/email_inboxes/email_draft_request.rb +7 -6
- data/lib/telnyx/models/email_inboxes/email_message_response.rb +3 -39
- data/lib/telnyx/models/email_inboxes/filter_add_response.rb +3 -36
- data/lib/telnyx/models/email_inboxes/filter_delete_all_response.rb +3 -37
- data/lib/telnyx/models/email_inboxes/filter_list_response.rb +3 -36
- data/lib/telnyx/models/email_inboxes/filter_replace_response.rb +3 -36
- data/lib/telnyx/models/email_inboxes/inbound_thread.rb +1 -0
- data/lib/telnyx/models/email_inboxes/inbound_thread_list_response.rb +0 -1
- data/lib/telnyx/models/email_inboxes/inbox_filters.rb +39 -0
- data/lib/telnyx/models/email_inboxes/message_update_params.rb +11 -22
- data/lib/telnyx/models/email_inboxes/messages/action_forward_params.rb +9 -9
- data/lib/telnyx/models/email_inboxes/messages/inbox_action_email_address_input.rb +3 -3
- data/lib/telnyx/models/email_inboxes/messages/inbox_action_recipient_input.rb +3 -3
- data/lib/telnyx/models/email_message_batch_params.rb +1 -1
- data/lib/telnyx/models/email_message_create_params.rb +1 -1
- data/lib/telnyx/models/email_messages/email_recipient.rb +1 -0
- data/lib/telnyx/models/email_template.rb +1 -0
- data/lib/telnyx/models/email_unsubscribe_group_delete_params.rb +12 -15
- data/lib/telnyx/models/email_validation_checks.rb +51 -0
- data/lib/telnyx/models/email_validation_create_response.rb +3 -50
- data/lib/telnyx/models/email_validations/batch_retrieve_response.rb +3 -50
- data/lib/telnyx/models/enterprise_create_params.rb +3 -3
- data/lib/telnyx/models/enterprise_public.rb +3 -3
- data/lib/telnyx/models/enterprise_update_params.rb +3 -3
- data/lib/telnyx/models/enterprises/reputation/remediation_per_number_results.rb +47 -0
- data/lib/telnyx/models/enterprises/reputation/remediation_request.rb +116 -0
- data/lib/telnyx/models/enterprises/reputation/remediation_request_wrapped.rb +3 -152
- data/lib/telnyx/models/inbound_message.rb +1 -31
- data/lib/telnyx/models/inbound_message_webhook_event.rb +3 -594
- data/lib/telnyx/models/inbound_sip_header.rb +37 -0
- data/lib/telnyx/models/meeting_sessions/action_accepted_response.rb +4 -4
- data/lib/telnyx/models/message_event.rb +1 -0
- data/lib/telnyx/models/message_retrieve_response.rb +4 -594
- data/lib/telnyx/models/messaging_10dlc_get_enum_response.rb +3 -2
- data/lib/telnyx/models/messaging_error_0b38e7044b.rb +3 -3
- data/lib/telnyx/models/messaging_inbound_message_payload.rb +589 -0
- data/lib/telnyx/models/numbers_sub_number_order.rb +301 -0
- data/lib/telnyx/models/{transcribe_client_event.rb → oauth_retrieve_authorize_response.rb} +1 -1
- data/lib/telnyx/models/pricing/product_retrieve_params.rb +6 -1
- data/lib/telnyx/models/pricing/product_retrieve_response.rb +163 -180
- data/lib/telnyx/models/rcs/agent_configuration.rb +9 -9
- data/lib/telnyx/models/rcs/agent_launch_params.rb +1 -25
- data/lib/telnyx/models/rcs/brand_address.rb +53 -0
- data/lib/telnyx/models/rcs/brand_create_params.rb +4 -65
- data/lib/telnyx/models/rcs/brand_identifier.rb +20 -0
- data/lib/telnyx/models/rcs/brand_response.rb +4 -62
- data/lib/telnyx/models/rcs/brand_update_params.rb +4 -65
- data/lib/telnyx/models/s3_generic_configuration_data.rb +75 -0
- data/lib/telnyx/models/storage/bucket_create_presigned_url_params.rb +16 -9
- data/lib/telnyx/models/storage/cloudf_list_response.rb +70 -144
- data/lib/telnyx/models/storage/cloudfs_filesystem.rb +111 -0
- data/lib/telnyx/models/storage/cloudfs_filesystem_detail.rb +109 -0
- data/lib/telnyx/models/storage/cloudfs_filesystem_detail_response_wrapper.rb +3 -107
- data/lib/telnyx/models/storage/cloudfs_filesystem_response_wrapper.rb +3 -109
- data/lib/telnyx/models/storage/sqldbs/action_query_params.rb +1 -3
- data/lib/telnyx/models/sub_number_order_cancel_response.rb +3 -3
- data/lib/telnyx/models/sub_number_order_list_params.rb +15 -3
- data/lib/telnyx/models/sub_number_order_list_response.rb +3 -3
- data/lib/telnyx/models/sub_number_order_retrieve_response.rb +3 -3
- data/lib/telnyx/models/sub_number_order_update_response.rb +3 -3
- data/lib/telnyx/models/suppressed_recipient.rb +40 -0
- data/lib/telnyx/models/texml/accounts/call_calls_params.rb +96 -3
- data/lib/telnyx/models/texml/accounts/conferences/participant_participants_params.rb +30 -1
- data/lib/telnyx/models/texml_initiate_ai_call_params.rb +28 -1
- data/lib/telnyx/models/text_to_speech_generate_speech_params.rb +10 -58
- data/lib/telnyx/models/text_to_speech_list_voices_params.rb +0 -1
- data/lib/telnyx/models/text_to_speech_retrieve_speech_params.rb +13 -16
- data/lib/telnyx/models/voice_sdk_call_report.rb +7 -6
- data/lib/telnyx/models/whatsapp/phone_numbers/conversational_component_list_response.rb +3 -55
- data/lib/telnyx/models/whatsapp/phone_numbers/conversational_component_patch_all_response.rb +3 -56
- data/lib/telnyx/models/whatsapp/phone_numbers/whatsapp_conversational_component.rb +60 -0
- data/lib/telnyx/models/wireguard_interface_create_params.rb +4 -28
- data/lib/telnyx/models.rb +12 -8
- data/lib/telnyx/resources/addresses.rb +6 -3
- data/lib/telnyx/resources/ai/assistants/canary_deploys.rb +11 -4
- data/lib/telnyx/resources/ai/assistants/scheduled_events.rb +19 -14
- data/lib/telnyx/resources/ai/assistants/tags.rb +2 -1
- data/lib/telnyx/resources/ai/assistants/tests/runs.rb +8 -4
- data/lib/telnyx/resources/ai/assistants/tests/test_suites/runs.rb +8 -4
- data/lib/telnyx/resources/ai/assistants/tests.rb +14 -10
- data/lib/telnyx/resources/ai/assistants/tools.rb +5 -2
- data/lib/telnyx/resources/ai/assistants.rb +72 -47
- data/lib/telnyx/resources/ai/collections/sources.rb +3 -1
- data/lib/telnyx/resources/ai/collections.rb +2 -1
- data/lib/telnyx/resources/ai/conversations/insight_groups/insights.rb +3 -2
- data/lib/telnyx/resources/ai/conversations/insight_groups.rb +25 -10
- data/lib/telnyx/resources/ai/conversations/insights.rb +21 -11
- data/lib/telnyx/resources/ai/conversations.rb +28 -16
- data/lib/telnyx/resources/ai/embeddings/buckets.rb +2 -1
- data/lib/telnyx/resources/ai/embeddings.rb +25 -11
- data/lib/telnyx/resources/ai/fine_tuning/jobs.rb +5 -3
- data/lib/telnyx/resources/ai/integrations/connections.rb +3 -2
- data/lib/telnyx/resources/ai/integrations.rb +4 -2
- data/lib/telnyx/resources/ai/mcp_servers.rb +25 -11
- data/lib/telnyx/resources/ai/missions/knowledge_bases.rb +7 -4
- data/lib/telnyx/resources/ai/missions/mcp_servers.rb +9 -5
- data/lib/telnyx/resources/ai/missions/runs/events.rb +7 -3
- data/lib/telnyx/resources/ai/missions/runs/plan.rb +10 -4
- data/lib/telnyx/resources/ai/missions/runs/telnyx_agents.rb +4 -2
- data/lib/telnyx/resources/ai/missions/runs.rb +18 -8
- data/lib/telnyx/resources/ai/missions/tools.rb +8 -5
- data/lib/telnyx/resources/ai/missions.rb +14 -6
- data/lib/telnyx/resources/ai/tools.rb +21 -14
- data/lib/telnyx/resources/ai.rb +14 -6
- data/lib/telnyx/resources/authentication_providers.rb +2 -1
- data/lib/telnyx/resources/bundle_pricing/billing_bundles.rb +4 -2
- data/lib/telnyx/resources/bundle_pricing/user_bundles.rb +5 -3
- data/lib/telnyx/resources/call_control_applications.rb +4 -2
- data/lib/telnyx/resources/calls/actions.rb +19 -11
- data/lib/telnyx/resources/conferences/actions.rb +5 -3
- data/lib/telnyx/resources/conferences.rb +3 -2
- data/lib/telnyx/resources/country_coverage.rb +4 -2
- data/lib/telnyx/resources/credential_connections.rb +2 -1
- data/lib/telnyx/resources/custom_storage_credentials.rb +2 -2
- data/lib/telnyx/resources/customer_service_records.rb +4 -2
- data/lib/telnyx/resources/dialogflow_connections.rb +3 -2
- data/lib/telnyx/resources/documents.rb +4 -3
- data/lib/telnyx/resources/dynamic_emergency_addresses.rb +2 -1
- data/lib/telnyx/resources/dynamic_emergency_endpoints.rb +2 -1
- data/lib/telnyx/resources/email_blocks/{import.rb → imports.rb} +1 -1
- data/lib/telnyx/resources/email_blocks.rb +5 -4
- data/lib/telnyx/resources/email_domains.rb +7 -4
- data/lib/telnyx/resources/email_events.rb +2 -1
- data/lib/telnyx/resources/email_inboxes/drafts.rb +9 -8
- data/lib/telnyx/resources/email_inboxes/messages/actions.rb +3 -3
- data/lib/telnyx/resources/email_inboxes/messages.rb +6 -8
- data/lib/telnyx/resources/email_inboxes/threads.rb +3 -2
- data/lib/telnyx/resources/email_inboxes.rb +3 -2
- data/lib/telnyx/resources/email_messages/recipients.rb +3 -2
- data/lib/telnyx/resources/email_messages.rb +6 -4
- data/lib/telnyx/resources/email_templates.rb +5 -3
- data/lib/telnyx/resources/email_threads.rb +3 -2
- data/lib/telnyx/resources/email_unsubscribe_groups.rb +1 -1
- data/lib/telnyx/resources/enterprises.rb +2 -2
- data/lib/telnyx/resources/faxes.rb +1 -1
- data/lib/telnyx/resources/fqdn_connections.rb +3 -2
- data/lib/telnyx/resources/fqdns.rb +3 -3
- data/lib/telnyx/resources/global_ip_allowed_ports.rb +2 -1
- data/lib/telnyx/resources/global_ip_assignments.rb +11 -5
- data/lib/telnyx/resources/global_ip_health_check_types.rb +2 -1
- data/lib/telnyx/resources/global_ip_health_checks.rb +9 -4
- data/lib/telnyx/resources/global_ip_protocols.rb +2 -1
- data/lib/telnyx/resources/global_ips.rb +8 -4
- data/lib/telnyx/resources/invoices.rb +1 -1
- data/lib/telnyx/resources/ip_connections.rb +5 -3
- data/lib/telnyx/resources/ips.rb +4 -3
- data/lib/telnyx/resources/legacy/reporting/usage_reports/messaging.rb +2 -1
- data/lib/telnyx/resources/legacy/reporting/usage_reports/number_lookup.rb +2 -1
- data/lib/telnyx/resources/legacy/reporting/usage_reports/voice.rb +2 -1
- data/lib/telnyx/resources/managed_accounts.rb +2 -1
- data/lib/telnyx/resources/media.rb +5 -4
- data/lib/telnyx/resources/messaging_10dlc/brand.rb +2 -1
- data/lib/telnyx/resources/messaging_10dlc.rb +1 -1
- data/lib/telnyx/resources/messaging_optouts.rb +2 -1
- data/lib/telnyx/resources/messaging_profiles.rb +1 -1
- data/lib/telnyx/resources/mobile_push_credentials.rb +4 -2
- data/lib/telnyx/resources/mobile_voice_connections.rb +2 -1
- data/lib/telnyx/resources/networks/default_gateway.rb +4 -3
- data/lib/telnyx/resources/networks.rb +9 -6
- data/lib/telnyx/resources/notification_channels.rb +8 -5
- data/lib/telnyx/resources/notification_profiles.rb +5 -4
- data/lib/telnyx/resources/notification_settings.rb +7 -4
- data/lib/telnyx/resources/number_block_orders.rb +2 -1
- data/lib/telnyx/resources/number_orders.rb +8 -4
- data/lib/telnyx/resources/number_reservations.rb +2 -1
- data/lib/telnyx/resources/oauth.rb +5 -3
- data/lib/telnyx/resources/oauth_clients.rb +6 -4
- data/lib/telnyx/resources/oauth_grants.rb +3 -2
- data/lib/telnyx/resources/organizations/users/actions.rb +2 -1
- data/lib/telnyx/resources/organizations/users.rb +2 -1
- data/lib/telnyx/resources/outbound_voice_profiles.rb +2 -1
- data/lib/telnyx/resources/porting/events.rb +6 -3
- data/lib/telnyx/resources/porting/loa_configurations.rb +13 -6
- data/lib/telnyx/resources/porting/reports.rb +2 -1
- data/lib/telnyx/resources/porting.rb +2 -1
- data/lib/telnyx/resources/porting_orders/actions.rb +3 -2
- data/lib/telnyx/resources/porting_orders/activation_jobs.rb +2 -1
- data/lib/telnyx/resources/porting_orders/phone_number_blocks.rb +3 -2
- data/lib/telnyx/resources/porting_orders/phone_number_extensions.rb +3 -2
- data/lib/telnyx/resources/porting_orders.rb +7 -3
- data/lib/telnyx/resources/portouts/comments.rb +2 -1
- data/lib/telnyx/resources/portouts/events.rb +5 -3
- data/lib/telnyx/resources/portouts/reports.rb +2 -1
- data/lib/telnyx/resources/portouts.rb +2 -1
- data/lib/telnyx/resources/pricing/products.rb +6 -2
- data/lib/telnyx/resources/private_wireless_gateways.rb +1 -1
- data/lib/telnyx/resources/public_internet_gateways.rb +8 -4
- data/lib/telnyx/resources/queues.rb +5 -3
- data/lib/telnyx/resources/rcs/brands.rb +2 -2
- data/lib/telnyx/resources/recordings.rb +4 -2
- data/lib/telnyx/resources/reports/mdr_usage_reports.rb +1 -1
- data/lib/telnyx/resources/reports.rb +4 -2
- data/lib/telnyx/resources/requirement_types.rb +2 -1
- data/lib/telnyx/resources/requirements.rb +3 -1
- data/lib/telnyx/resources/room_recordings.rb +2 -1
- data/lib/telnyx/resources/rooms.rb +4 -2
- data/lib/telnyx/resources/sim_card_groups.rb +4 -3
- data/lib/telnyx/resources/sim_card_order_preview.rb +2 -1
- data/lib/telnyx/resources/sim_card_orders.rb +3 -2
- data/lib/telnyx/resources/sim_cards.rb +1 -1
- data/lib/telnyx/resources/siprec_connectors.rb +1 -1
- data/lib/telnyx/resources/speech_to_text.rb +1 -8
- data/lib/telnyx/resources/storage/buckets.rb +3 -3
- data/lib/telnyx/resources/storage/cloudfs.rb +2 -1
- data/lib/telnyx/resources/storage/migrations/actions.rb +2 -1
- data/lib/telnyx/resources/sub_number_orders.rb +3 -2
- data/lib/telnyx/resources/telephony_credentials.rb +7 -4
- data/lib/telnyx/resources/texml/accounts/conferences/participants.rb +12 -6
- data/lib/telnyx/resources/texml/accounts/conferences.rb +6 -4
- data/lib/telnyx/resources/texml/accounts/queues.rb +7 -5
- data/lib/telnyx/resources/texml.rb +3 -1
- data/lib/telnyx/resources/texml_applications.rb +3 -2
- data/lib/telnyx/resources/text_to_speech.rb +10 -12
- data/lib/telnyx/resources/traffic_policy_profiles.rb +2 -2
- data/lib/telnyx/resources/uac_connections.rb +1 -1
- data/lib/telnyx/resources/user_addresses.rb +4 -2
- data/lib/telnyx/resources/user_tags.rb +2 -1
- data/lib/telnyx/resources/verify_profiles.rb +2 -1
- data/lib/telnyx/resources/virtual_cross_connects.rb +4 -3
- data/lib/telnyx/resources/wireguard_interfaces.rb +4 -3
- data/lib/telnyx/resources/wireguard_peers.rb +4 -4
- data/lib/telnyx/resources/wireless/detail_records_reports.rb +3 -2
- data/lib/telnyx/resources/wireless_blocklists.rb +3 -2
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +31 -17
- data/rbi/telnyx/internal/cloudfs_cursor_pagination.rbi +59 -0
- data/rbi/telnyx/internal/email_bracket_cursor_pagination.rbi +40 -0
- data/rbi/telnyx/internal/email_cursor_pagination.rbi +40 -0
- data/rbi/telnyx/models/ai/assistant_clone_params.rbi +13 -2
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +9 -0
- data/rbi/telnyx/models/ai/assistant_imports_params.rbi +9 -0
- data/rbi/telnyx/models/ai/assistant_send_sms_params.rbi +9 -0
- data/rbi/telnyx/models/ai/assistants/canary_deploy_create_params.rbi +13 -2
- data/rbi/telnyx/models/ai/assistants/scheduled_event_create_params.rbi +9 -0
- data/rbi/telnyx/models/ai/assistants/test_create_params.rbi +9 -0
- data/rbi/telnyx/models/ai/assistants/tests/run_trigger_params.rbi +9 -0
- data/rbi/telnyx/models/ai/assistants/tests/test_suites/run_trigger_params.rbi +9 -0
- data/rbi/telnyx/models/ai/collection_retrieve_documents_response.rbi +96 -271
- data/rbi/telnyx/models/ai/conversation_add_message_params.rbi +9 -0
- data/rbi/telnyx/models/ai/conversation_create_params.rbi +9 -0
- data/rbi/telnyx/models/ai/conversation_flow.rbi +88 -0
- data/rbi/telnyx/models/ai/conversation_flow_req.rbi +12 -648
- data/rbi/telnyx/models/ai/conversations/insight_create_params.rbi +9 -0
- data/rbi/telnyx/models/ai/conversations/insight_group_insight_groups_params.rbi +9 -0
- data/rbi/telnyx/models/ai/conversations/message_list_response.rbi +85 -0
- data/rbi/telnyx/models/ai/embedding_create_params.rbi +9 -0
- data/rbi/telnyx/models/ai/embedding_url_params.rbi +9 -0
- data/rbi/telnyx/models/ai/flow_edge.rbi +6 -6
- data/rbi/telnyx/models/ai/flow_node.rbi +348 -0
- data/rbi/telnyx/models/ai/flow_node_req.rbi +301 -0
- data/rbi/telnyx/models/ai/inference_embedding.rbi +4 -843
- data/rbi/telnyx/models/ai/inference_embedding_webhook_tool_params.rbi +173 -0
- data/rbi/telnyx/models/ai/mcp_server_create_params.rbi +9 -0
- data/rbi/telnyx/models/ai/speak_node.rbi +114 -0
- data/rbi/telnyx/models/ai/speak_node_req.rbi +119 -0
- data/rbi/telnyx/models/ai/tool_create_params.rbi +9 -0
- data/rbi/telnyx/models/ai/tool_node.rbi +167 -0
- data/rbi/telnyx/models/ai/tool_node_req.rbi +119 -0
- data/rbi/telnyx/models/ai_retrieve_conversation_histories_response.rbi +121 -250
- data/rbi/telnyx/models/ai_summarize_params.rbi +9 -0
- data/rbi/telnyx/models/call_answered.rbi +4 -90
- data/rbi/telnyx/models/call_dial_params.rbi +65 -0
- data/rbi/telnyx/models/call_hangup.rbi +4 -88
- data/rbi/telnyx/models/call_initiated.rbi +4 -92
- data/rbi/telnyx/models/call_payment_completed_webhook_event.rbi +16 -1
- data/rbi/telnyx/models/call_payment_progress_webhook_event.rbi +20 -0
- data/rbi/telnyx/models/calls/action_gather_using_ai_params.rbi +0 -5
- data/rbi/telnyx/models/calls/action_gather_using_speak_params.rbi +0 -11
- data/rbi/telnyx/models/calls/action_pay_params.rbi +100 -2
- data/rbi/telnyx/models/calls/action_speak_params.rbi +0 -11
- data/rbi/telnyx/models/calls/action_start_conversation_relay_params.rbi +0 -5
- data/rbi/telnyx/models/calls/action_transfer_params.rbi +65 -0
- data/rbi/telnyx/models/calls/pay_prompt_value.rbi +57 -40
- data/rbi/telnyx/models/calls/transcription_engine_humain_config.rbi +214 -0
- data/rbi/telnyx/models/calls/transcription_engine_reson8_config.rbi +249 -0
- data/rbi/telnyx/models/calls/transcription_start_request.rbi +10 -459
- data/rbi/telnyx/models/conferences/action_speak_params.rbi +0 -11
- data/rbi/telnyx/models/conversation_relay_embedded_config.rbi +0 -5
- data/rbi/telnyx/models/conversation_relay_language.rbi +0 -5
- data/rbi/telnyx/models/custom_storage_configuration.rbi +2 -85
- data/rbi/telnyx/models/dir/email_verification_status.rbi +155 -0
- data/rbi/telnyx/models/dir/email_verification_status_wrapped.rbi +6 -171
- data/rbi/telnyx/models/doc_service_document.rbi +0 -11
- data/rbi/telnyx/models/document_link_list_response.rbi +3 -14
- data/rbi/telnyx/models/email_block_retrieve_events_response.rbi +118 -165
- data/rbi/telnyx/models/email_blocks/email_block_import.rbi +307 -0
- data/rbi/telnyx/models/email_blocks/email_block_import_response.rbi +6 -324
- data/rbi/telnyx/models/email_domain_list_params.rbi +10 -0
- data/rbi/telnyx/models/email_event_list_response.rbi +96 -197
- data/rbi/telnyx/models/email_inboxes/email_draft.rbi +8 -8
- data/rbi/telnyx/models/email_inboxes/email_draft_request.rbi +8 -8
- data/rbi/telnyx/models/email_inboxes/email_message_response.rbi +4 -78
- data/rbi/telnyx/models/email_inboxes/filter_add_response.rbi +6 -90
- data/rbi/telnyx/models/email_inboxes/filter_delete_all_response.rbi +6 -96
- data/rbi/telnyx/models/email_inboxes/filter_list_response.rbi +6 -90
- data/rbi/telnyx/models/email_inboxes/filter_replace_response.rbi +6 -94
- data/rbi/telnyx/models/email_inboxes/inbox_filters.rbi +75 -0
- data/rbi/telnyx/models/email_inboxes/message_update_params.rbi +41 -46
- data/rbi/telnyx/models/email_inboxes/messages/action_forward_params.rbi +25 -25
- data/rbi/telnyx/models/email_inboxes/messages/inbox_action_email_address_input.rbi +3 -3
- data/rbi/telnyx/models/email_inboxes/messages/inbox_action_recipient_input.rbi +3 -3
- data/rbi/telnyx/models/email_unsubscribe_group_delete_params.rbi +39 -22
- data/rbi/telnyx/models/email_validation_checks.rbi +96 -0
- data/rbi/telnyx/models/email_validation_create_response.rbi +4 -118
- data/rbi/telnyx/models/email_validations/batch_retrieve_response.rbi +4 -124
- data/rbi/telnyx/models/enterprise_create_params.rbi +4 -4
- data/rbi/telnyx/models/enterprise_public.rbi +4 -4
- data/rbi/telnyx/models/enterprise_update_params.rbi +4 -4
- data/rbi/telnyx/models/enterprises/reputation/remediation_per_number_results.rbi +84 -0
- data/rbi/telnyx/models/enterprises/reputation/remediation_request.rbi +159 -0
- data/rbi/telnyx/models/enterprises/reputation/remediation_request_wrapped.rbi +4 -237
- data/rbi/telnyx/models/inbound_message.rbi +3 -69
- data/rbi/telnyx/models/inbound_message_webhook_event.rbi +4 -1433
- data/rbi/telnyx/models/inbound_sip_header.rbi +64 -0
- data/rbi/telnyx/models/meeting_sessions/action_accepted_response.rbi +1 -1
- data/rbi/telnyx/models/message_retrieve_response.rbi +3 -1437
- data/rbi/telnyx/models/messaging_10dlc_get_enum_response.rbi +4 -2
- data/rbi/telnyx/models/messaging_error_0b38e7044b.rbi +4 -4
- data/rbi/telnyx/models/messaging_inbound_message_payload.rbi +1333 -0
- data/rbi/telnyx/models/numbers_sub_number_order.rbi +625 -0
- data/rbi/telnyx/models/oauth_retrieve_authorize_response.rbi +7 -0
- data/rbi/telnyx/models/pricing/product_retrieve_params.rbi +4 -0
- data/rbi/telnyx/models/pricing/product_retrieve_response.rbi +180 -232
- data/rbi/telnyx/models/rcs/agent_configuration.rbi +18 -18
- data/rbi/telnyx/models/rcs/agent_launch_params.rbi +3 -43
- data/rbi/telnyx/models/rcs/brand_address.rbi +69 -0
- data/rbi/telnyx/models/rcs/brand_create_params.rbi +6 -133
- data/rbi/telnyx/models/rcs/brand_identifier.rbi +25 -0
- data/rbi/telnyx/models/rcs/brand_response.rbi +5 -98
- data/rbi/telnyx/models/rcs/brand_update_params.rbi +7 -137
- data/rbi/telnyx/models/s3_generic_configuration_data.rbi +110 -0
- data/rbi/telnyx/models/storage/bucket_create_presigned_url_params.rbi +43 -14
- data/rbi/telnyx/models/storage/cloudf_list_response.rbi +89 -270
- data/rbi/telnyx/models/storage/cloudfs_filesystem.rbi +176 -0
- data/rbi/telnyx/models/storage/cloudfs_filesystem_detail.rbi +174 -0
- data/rbi/telnyx/models/storage/cloudfs_filesystem_detail_response_wrapper.rbi +4 -186
- data/rbi/telnyx/models/storage/cloudfs_filesystem_response_wrapper.rbi +6 -192
- data/rbi/telnyx/models/storage/sqldbs/action_query_params.rbi +1 -2
- data/rbi/telnyx/models/sub_number_order.rbi +4 -6
- data/rbi/telnyx/models/sub_number_order_cancel_response.rbi +6 -4
- data/rbi/telnyx/models/sub_number_order_list_params.rbi +16 -3
- data/rbi/telnyx/models/sub_number_order_list_response.rbi +4 -4
- data/rbi/telnyx/models/sub_number_order_retrieve_response.rbi +6 -4
- data/rbi/telnyx/models/sub_number_order_update_response.rbi +6 -4
- data/rbi/telnyx/models/suppressed_recipient.rbi +61 -0
- data/rbi/telnyx/models/texml/accounts/call_calls_params.rbi +204 -0
- data/rbi/telnyx/models/texml/accounts/conferences/participant_participants_params.rbi +68 -0
- data/rbi/telnyx/models/texml_initiate_ai_call_params.rbi +68 -0
- data/rbi/telnyx/models/text_to_speech_generate_speech_params.rbi +13 -110
- data/rbi/telnyx/models/text_to_speech_list_voices_params.rbi +0 -5
- data/rbi/telnyx/models/text_to_speech_retrieve_speech_params.rbi +20 -28
- data/rbi/telnyx/models/voice_sdk_call_report.rbi +5 -5
- data/rbi/telnyx/models/whatsapp/phone_numbers/conversational_component_list_response.rbi +4 -128
- data/rbi/telnyx/models/whatsapp/phone_numbers/conversational_component_patch_all_response.rbi +4 -128
- data/rbi/telnyx/models/whatsapp/phone_numbers/whatsapp_conversational_component.rbi +133 -0
- data/rbi/telnyx/models/wireguard_interface_create_params.rbi +6 -59
- data/rbi/telnyx/models.rbi +13 -8
- data/rbi/telnyx/resources/addresses.rbi +6 -3
- data/rbi/telnyx/resources/ai/assistants/canary_deploys.rbi +12 -1
- data/rbi/telnyx/resources/ai/assistants/scheduled_events.rbi +31 -15
- data/rbi/telnyx/resources/ai/assistants/tags.rbi +2 -1
- data/rbi/telnyx/resources/ai/assistants/tests/runs.rbi +14 -4
- data/rbi/telnyx/resources/ai/assistants/tests/test_suites/runs.rbi +14 -4
- data/rbi/telnyx/resources/ai/assistants/tests.rbi +26 -16
- data/rbi/telnyx/resources/ai/assistants/tools.rbi +5 -2
- data/rbi/telnyx/resources/ai/assistants.rbi +109 -48
- data/rbi/telnyx/resources/ai/collections/sources.rbi +3 -1
- data/rbi/telnyx/resources/ai/collections.rbi +5 -1
- data/rbi/telnyx/resources/ai/conversations/insight_groups/insights.rbi +3 -2
- data/rbi/telnyx/resources/ai/conversations/insight_groups.rbi +22 -5
- data/rbi/telnyx/resources/ai/conversations/insights.rbi +22 -6
- data/rbi/telnyx/resources/ai/conversations.rbi +34 -4
- data/rbi/telnyx/resources/ai/embeddings/buckets.rbi +2 -1
- data/rbi/telnyx/resources/ai/embeddings.rbi +28 -4
- data/rbi/telnyx/resources/ai/fine_tuning/jobs.rbi +5 -3
- data/rbi/telnyx/resources/ai/integrations/connections.rbi +3 -2
- data/rbi/telnyx/resources/ai/integrations.rbi +4 -2
- data/rbi/telnyx/resources/ai/mcp_servers.rbi +21 -4
- data/rbi/telnyx/resources/ai/missions/knowledge_bases.rbi +7 -4
- data/rbi/telnyx/resources/ai/missions/mcp_servers.rbi +9 -5
- data/rbi/telnyx/resources/ai/missions/runs/events.rbi +7 -3
- data/rbi/telnyx/resources/ai/missions/runs/plan.rbi +10 -4
- data/rbi/telnyx/resources/ai/missions/runs/telnyx_agents.rbi +4 -2
- data/rbi/telnyx/resources/ai/missions/runs.rbi +18 -8
- data/rbi/telnyx/resources/ai/missions/tools.rbi +8 -5
- data/rbi/telnyx/resources/ai/missions.rbi +14 -6
- data/rbi/telnyx/resources/ai/tools.rbi +22 -2
- data/rbi/telnyx/resources/ai.rbi +18 -4
- data/rbi/telnyx/resources/authentication_providers.rbi +2 -1
- data/rbi/telnyx/resources/bundle_pricing/billing_bundles.rbi +4 -2
- data/rbi/telnyx/resources/bundle_pricing/user_bundles.rbi +5 -3
- data/rbi/telnyx/resources/call_control_applications.rbi +4 -2
- data/rbi/telnyx/resources/calls/actions.rbi +20 -17
- data/rbi/telnyx/resources/conferences/actions.rbi +4 -6
- data/rbi/telnyx/resources/conferences.rbi +3 -2
- data/rbi/telnyx/resources/country_coverage.rbi +4 -2
- data/rbi/telnyx/resources/credential_connections.rbi +2 -1
- data/rbi/telnyx/resources/custom_storage_credentials.rbi +2 -2
- data/rbi/telnyx/resources/customer_service_records.rbi +4 -2
- data/rbi/telnyx/resources/dialogflow_connections.rbi +3 -2
- data/rbi/telnyx/resources/documents.rbi +4 -3
- data/rbi/telnyx/resources/dynamic_emergency_addresses.rbi +2 -1
- data/rbi/telnyx/resources/dynamic_emergency_endpoints.rbi +2 -1
- data/rbi/telnyx/resources/email_blocks/{import.rbi → imports.rbi} +1 -1
- data/rbi/telnyx/resources/email_blocks.rbi +7 -3
- data/rbi/telnyx/resources/email_domains.rbi +5 -0
- data/rbi/telnyx/resources/email_events.rbi +5 -1
- data/rbi/telnyx/resources/email_inboxes/drafts.rbi +11 -7
- data/rbi/telnyx/resources/email_inboxes/messages/actions.rbi +6 -6
- data/rbi/telnyx/resources/email_inboxes/messages.rbi +11 -10
- data/rbi/telnyx/resources/email_inboxes/threads.rbi +5 -1
- data/rbi/telnyx/resources/email_inboxes.rbi +1 -1
- data/rbi/telnyx/resources/email_messages/recipients.rbi +5 -1
- data/rbi/telnyx/resources/email_messages.rbi +6 -2
- data/rbi/telnyx/resources/email_templates.rbi +5 -2
- data/rbi/telnyx/resources/email_threads.rbi +5 -1
- data/rbi/telnyx/resources/email_unsubscribe_groups.rbi +1 -1
- data/rbi/telnyx/resources/enterprises.rbi +2 -2
- data/rbi/telnyx/resources/faxes.rbi +1 -1
- data/rbi/telnyx/resources/fqdn_connections.rbi +3 -2
- data/rbi/telnyx/resources/fqdns.rbi +3 -3
- data/rbi/telnyx/resources/global_ip_allowed_ports.rbi +2 -1
- data/rbi/telnyx/resources/global_ip_assignments.rbi +11 -5
- data/rbi/telnyx/resources/global_ip_health_check_types.rbi +2 -1
- data/rbi/telnyx/resources/global_ip_health_checks.rbi +9 -4
- data/rbi/telnyx/resources/global_ip_protocols.rbi +2 -1
- data/rbi/telnyx/resources/global_ips.rbi +8 -4
- data/rbi/telnyx/resources/invoices.rbi +1 -1
- data/rbi/telnyx/resources/ip_connections.rbi +5 -3
- data/rbi/telnyx/resources/ips.rbi +4 -3
- data/rbi/telnyx/resources/legacy/reporting/usage_reports/messaging.rbi +2 -1
- data/rbi/telnyx/resources/legacy/reporting/usage_reports/number_lookup.rbi +2 -1
- data/rbi/telnyx/resources/legacy/reporting/usage_reports/voice.rbi +2 -1
- data/rbi/telnyx/resources/managed_accounts.rbi +2 -1
- data/rbi/telnyx/resources/media.rbi +5 -4
- data/rbi/telnyx/resources/messaging_10dlc/brand.rbi +2 -1
- data/rbi/telnyx/resources/messaging_optouts.rbi +2 -1
- data/rbi/telnyx/resources/messaging_profiles.rbi +1 -1
- data/rbi/telnyx/resources/mobile_push_credentials.rbi +4 -2
- data/rbi/telnyx/resources/mobile_voice_connections.rbi +2 -1
- data/rbi/telnyx/resources/networks/default_gateway.rbi +4 -3
- data/rbi/telnyx/resources/networks.rbi +9 -6
- data/rbi/telnyx/resources/notification_channels.rbi +8 -5
- data/rbi/telnyx/resources/notification_profiles.rbi +5 -4
- data/rbi/telnyx/resources/notification_settings.rbi +7 -4
- data/rbi/telnyx/resources/number_block_orders.rbi +2 -1
- data/rbi/telnyx/resources/number_orders.rbi +8 -4
- data/rbi/telnyx/resources/number_reservations.rbi +2 -1
- data/rbi/telnyx/resources/oauth.rbi +3 -2
- data/rbi/telnyx/resources/oauth_clients.rbi +6 -4
- data/rbi/telnyx/resources/oauth_grants.rbi +3 -2
- data/rbi/telnyx/resources/organizations/users/actions.rbi +2 -1
- data/rbi/telnyx/resources/organizations/users.rbi +2 -1
- data/rbi/telnyx/resources/outbound_voice_profiles.rbi +2 -1
- data/rbi/telnyx/resources/porting/events.rbi +6 -3
- data/rbi/telnyx/resources/porting/loa_configurations.rbi +13 -6
- data/rbi/telnyx/resources/porting/reports.rbi +2 -1
- data/rbi/telnyx/resources/porting.rbi +2 -1
- data/rbi/telnyx/resources/porting_orders/actions.rbi +3 -2
- data/rbi/telnyx/resources/porting_orders/activation_jobs.rbi +2 -1
- data/rbi/telnyx/resources/porting_orders/phone_number_blocks.rbi +3 -2
- data/rbi/telnyx/resources/porting_orders/phone_number_extensions.rbi +3 -2
- data/rbi/telnyx/resources/porting_orders.rbi +7 -3
- data/rbi/telnyx/resources/portouts/comments.rbi +2 -1
- data/rbi/telnyx/resources/portouts/events.rbi +5 -3
- data/rbi/telnyx/resources/portouts/reports.rbi +2 -1
- data/rbi/telnyx/resources/portouts.rbi +2 -1
- data/rbi/telnyx/resources/pricing/products.rbi +7 -1
- data/rbi/telnyx/resources/private_wireless_gateways.rbi +1 -1
- data/rbi/telnyx/resources/public_internet_gateways.rbi +8 -4
- data/rbi/telnyx/resources/queues.rbi +5 -3
- data/rbi/telnyx/resources/rcs/brands.rbi +2 -4
- data/rbi/telnyx/resources/recordings.rbi +4 -2
- data/rbi/telnyx/resources/reports/mdr_usage_reports.rbi +1 -1
- data/rbi/telnyx/resources/reports.rbi +4 -2
- data/rbi/telnyx/resources/requirement_types.rbi +2 -1
- data/rbi/telnyx/resources/requirements.rbi +3 -1
- data/rbi/telnyx/resources/room_recordings.rbi +2 -1
- data/rbi/telnyx/resources/rooms.rbi +4 -2
- data/rbi/telnyx/resources/sim_card_groups.rbi +4 -3
- data/rbi/telnyx/resources/sim_card_order_preview.rbi +2 -1
- data/rbi/telnyx/resources/sim_card_orders.rbi +3 -2
- data/rbi/telnyx/resources/sim_cards.rbi +1 -1
- data/rbi/telnyx/resources/siprec_connectors.rbi +1 -1
- data/rbi/telnyx/resources/storage/buckets.rbi +3 -3
- data/rbi/telnyx/resources/storage/cloudfs.rbi +5 -1
- data/rbi/telnyx/resources/storage/migrations/actions.rbi +2 -1
- data/rbi/telnyx/resources/sub_number_orders.rbi +4 -3
- data/rbi/telnyx/resources/telephony_credentials.rbi +7 -4
- data/rbi/telnyx/resources/texml/accounts/conferences/participants.rbi +16 -5
- data/rbi/telnyx/resources/texml/accounts/conferences.rbi +6 -4
- data/rbi/telnyx/resources/texml/accounts/queues.rbi +7 -5
- data/rbi/telnyx/resources/texml.rbi +7 -0
- data/rbi/telnyx/resources/texml_applications.rbi +3 -2
- data/rbi/telnyx/resources/text_to_speech.rbi +21 -26
- data/rbi/telnyx/resources/traffic_policy_profiles.rbi +2 -2
- data/rbi/telnyx/resources/uac_connections.rbi +1 -1
- data/rbi/telnyx/resources/user_addresses.rbi +4 -2
- data/rbi/telnyx/resources/user_tags.rbi +2 -1
- data/rbi/telnyx/resources/verify_profiles.rbi +2 -1
- data/rbi/telnyx/resources/virtual_cross_connects.rbi +4 -3
- data/rbi/telnyx/resources/wireguard_interfaces.rbi +4 -3
- data/rbi/telnyx/resources/wireguard_peers.rbi +4 -4
- data/rbi/telnyx/resources/wireless/detail_records_reports.rbi +3 -2
- data/rbi/telnyx/resources/wireless_blocklists.rbi +3 -2
- data/sig/telnyx/internal/cloudfs_cursor_pagination.rbs +36 -0
- data/sig/telnyx/internal/email_bracket_cursor_pagination.rbs +24 -0
- data/sig/telnyx/internal/email_cursor_pagination.rbs +24 -0
- data/sig/telnyx/models/ai/assistant_clone_params.rbs +8 -1
- data/sig/telnyx/models/ai/assistant_create_params.rbs +8 -1
- data/sig/telnyx/models/ai/assistant_imports_params.rbs +8 -1
- data/sig/telnyx/models/ai/assistant_send_sms_params.rbs +8 -1
- data/sig/telnyx/models/ai/assistants/canary_deploy_create_params.rbs +8 -1
- data/sig/telnyx/models/ai/assistants/scheduled_event_create_params.rbs +8 -1
- data/sig/telnyx/models/ai/assistants/test_create_params.rbs +8 -1
- data/sig/telnyx/models/ai/assistants/tests/run_trigger_params.rbs +11 -1
- data/sig/telnyx/models/ai/assistants/tests/test_suites/run_trigger_params.rbs +11 -1
- data/sig/telnyx/models/ai/collection_retrieve_documents_response.rbs +69 -167
- data/sig/telnyx/models/ai/conversation_add_message_params.rbs +8 -1
- data/sig/telnyx/models/ai/conversation_create_params.rbs +11 -1
- data/sig/telnyx/models/ai/conversation_flow.rbs +45 -0
- data/sig/telnyx/models/ai/conversation_flow_req.rbs +3 -262
- data/sig/telnyx/models/ai/conversations/insight_create_params.rbs +8 -1
- data/sig/telnyx/models/ai/conversations/insight_group_insight_groups_params.rbs +12 -1
- data/sig/telnyx/models/ai/conversations/message_list_response.rbs +31 -0
- data/sig/telnyx/models/ai/embedding_create_params.rbs +8 -1
- data/sig/telnyx/models/ai/embedding_url_params.rbs +7 -1
- data/sig/telnyx/models/ai/flow_edge.rbs +3 -3
- data/sig/telnyx/models/ai/flow_node.rbs +155 -0
- data/sig/telnyx/models/ai/flow_node_req.rbs +148 -0
- data/sig/telnyx/models/ai/inference_embedding.rbs +6 -325
- data/sig/telnyx/models/ai/inference_embedding_webhook_tool_params.rbs +71 -0
- data/sig/telnyx/models/ai/mcp_server_create_params.rbs +8 -1
- data/sig/telnyx/models/ai/speak_node.rbs +60 -0
- data/sig/telnyx/models/ai/speak_node_req.rbs +60 -0
- data/sig/telnyx/models/ai/tool_create_params.rbs +8 -1
- data/sig/telnyx/models/ai/tool_node.rbs +69 -0
- data/sig/telnyx/models/ai/tool_node_req.rbs +60 -0
- data/sig/telnyx/models/ai_retrieve_conversation_histories_response.rbs +68 -122
- data/sig/telnyx/models/ai_summarize_params.rbs +12 -1
- data/sig/telnyx/models/call_answered.rbs +6 -39
- data/sig/telnyx/models/call_dial_params.rbs +20 -0
- data/sig/telnyx/models/call_hangup.rbs +6 -39
- data/sig/telnyx/models/call_initiated.rbs +6 -39
- data/sig/telnyx/models/call_payment_completed_webhook_event.rbs +13 -2
- data/sig/telnyx/models/call_payment_progress_webhook_event.rbs +14 -1
- data/sig/telnyx/models/calls/action_gather_using_ai_params.rbs +0 -1
- data/sig/telnyx/models/calls/action_gather_using_speak_params.rbs +0 -1
- data/sig/telnyx/models/calls/action_pay_params.rbs +38 -2
- data/sig/telnyx/models/calls/action_speak_params.rbs +0 -1
- data/sig/telnyx/models/calls/action_start_conversation_relay_params.rbs +0 -1
- data/sig/telnyx/models/calls/action_transfer_params.rbs +20 -0
- data/sig/telnyx/models/calls/pay_prompt_value.rbs +32 -19
- data/sig/telnyx/models/calls/transcription_engine_humain_config.rbs +77 -0
- data/sig/telnyx/models/calls/transcription_engine_reson8_config.rbs +85 -0
- data/sig/telnyx/models/calls/transcription_start_request.rbs +2 -154
- data/sig/telnyx/models/conferences/action_speak_params.rbs +0 -1
- data/sig/telnyx/models/conversation_relay_embedded_config.rbs +0 -1
- data/sig/telnyx/models/conversation_relay_language.rbs +0 -1
- data/sig/telnyx/models/custom_storage_configuration.rbs +1 -43
- data/sig/telnyx/models/dir/email_verification_status.rbs +64 -0
- data/sig/telnyx/models/dir/email_verification_status_wrapped.rbs +4 -67
- data/sig/telnyx/models/doc_service_document.rbs +0 -7
- data/sig/telnyx/models/document_link_list_response.rbs +3 -10
- data/sig/telnyx/models/email_block_retrieve_events_response.rbs +50 -72
- data/sig/telnyx/models/email_blocks/email_block_import.rbs +150 -0
- data/sig/telnyx/models/email_blocks/email_block_import_response.rbs +4 -151
- data/sig/telnyx/models/email_event_list_response.rbs +59 -110
- data/sig/telnyx/models/email_inboxes/email_draft.rbs +12 -10
- data/sig/telnyx/models/email_inboxes/email_draft_request.rbs +12 -10
- data/sig/telnyx/models/email_inboxes/email_message_response.rbs +6 -33
- data/sig/telnyx/models/email_inboxes/filter_add_response.rbs +4 -46
- data/sig/telnyx/models/email_inboxes/filter_delete_all_response.rbs +4 -45
- data/sig/telnyx/models/email_inboxes/filter_list_response.rbs +4 -46
- data/sig/telnyx/models/email_inboxes/filter_replace_response.rbs +4 -45
- data/sig/telnyx/models/email_inboxes/inbox_filters.rbs +42 -0
- data/sig/telnyx/models/email_inboxes/message_update_params.rbs +17 -7
- data/sig/telnyx/models/email_inboxes/messages/action_forward_params.rbs +3 -3
- data/sig/telnyx/models/email_inboxes/messages/inbox_action_email_address_input.rbs +3 -3
- data/sig/telnyx/models/email_inboxes/messages/inbox_action_recipient_input.rbs +3 -3
- data/sig/telnyx/models/email_unsubscribe_group_delete_params.rbs +14 -4
- data/sig/telnyx/models/email_validation_checks.rbs +52 -0
- data/sig/telnyx/models/email_validation_create_response.rbs +4 -53
- data/sig/telnyx/models/email_validations/batch_retrieve_response.rbs +4 -53
- data/sig/telnyx/models/enterprise_create_params.rbs +4 -4
- data/sig/telnyx/models/enterprise_public.rbs +5 -5
- data/sig/telnyx/models/enterprise_update_params.rbs +5 -5
- data/sig/telnyx/models/enterprises/reputation/remediation_per_number_results.rbs +54 -0
- data/sig/telnyx/models/enterprises/reputation/remediation_request.rbs +84 -0
- data/sig/telnyx/models/enterprises/reputation/remediation_request_wrapped.rbs +4 -130
- data/sig/telnyx/models/inbound_message.rbs +3 -45
- data/sig/telnyx/models/inbound_message_webhook_event.rbs +6 -613
- data/sig/telnyx/models/inbound_sip_header.rbs +33 -0
- data/sig/telnyx/models/meeting_sessions/action_accepted_response.rbs +4 -4
- data/sig/telnyx/models/message_retrieve_response.rbs +1 -608
- data/sig/telnyx/models/messaging_10dlc_get_enum_response.rbs +1 -1
- data/sig/telnyx/models/messaging_error_0b38e7044b.rbs +5 -5
- data/sig/telnyx/models/messaging_inbound_message_payload.rbs +595 -0
- data/sig/telnyx/models/numbers_sub_number_order.rbs +316 -0
- data/sig/telnyx/models/oauth_retrieve_authorize_response.rbs +5 -0
- data/sig/telnyx/models/pricing/product_retrieve_response.rbs +96 -118
- data/sig/telnyx/models/rcs/agent_configuration.rbs +9 -9
- data/sig/telnyx/models/rcs/agent_launch_params.rbs +3 -39
- data/sig/telnyx/models/rcs/brand_address.rbs +47 -0
- data/sig/telnyx/models/rcs/brand_create_params.rbs +7 -72
- data/sig/telnyx/models/rcs/brand_identifier.rbs +15 -0
- data/sig/telnyx/models/rcs/brand_response.rbs +8 -60
- data/sig/telnyx/models/rcs/brand_update_params.rbs +9 -74
- data/sig/telnyx/models/s3_generic_configuration_data.rbs +55 -0
- data/sig/telnyx/models/storage/bucket_create_presigned_url_params.rbs +23 -5
- data/sig/telnyx/models/storage/cloudf_list_response.rbs +51 -132
- data/sig/telnyx/models/storage/cloudfs_filesystem.rbs +96 -0
- data/sig/telnyx/models/storage/cloudfs_filesystem_detail.rbs +96 -0
- data/sig/telnyx/models/storage/cloudfs_filesystem_detail_response_wrapper.rbs +6 -99
- data/sig/telnyx/models/storage/cloudfs_filesystem_response_wrapper.rbs +6 -101
- data/sig/telnyx/models/storage/sqldbs/action_query_params.rbs +1 -1
- data/sig/telnyx/models/sub_number_order_cancel_response.rbs +8 -5
- data/sig/telnyx/models/sub_number_order_list_params.rbs +7 -0
- data/sig/telnyx/models/sub_number_order_list_response.rbs +9 -6
- data/sig/telnyx/models/sub_number_order_retrieve_response.rbs +8 -5
- data/sig/telnyx/models/sub_number_order_update_response.rbs +8 -5
- data/sig/telnyx/models/suppressed_recipient.rbs +30 -0
- data/sig/telnyx/models/texml/accounts/call_calls_params.rbs +60 -0
- data/sig/telnyx/models/texml/accounts/conferences/participant_participants_params.rbs +20 -0
- data/sig/telnyx/models/texml_initiate_ai_call_params.rbs +20 -0
- data/sig/telnyx/models/text_to_speech_generate_speech_params.rbs +0 -47
- data/sig/telnyx/models/text_to_speech_list_voices_params.rbs +0 -2
- data/sig/telnyx/models/text_to_speech_retrieve_speech_params.rbs +0 -2
- data/sig/telnyx/models/voice_sdk_call_report.rbs +3 -3
- data/sig/telnyx/models/whatsapp/phone_numbers/conversational_component_list_response.rbs +6 -64
- data/sig/telnyx/models/whatsapp/phone_numbers/conversational_component_patch_all_response.rbs +6 -64
- data/sig/telnyx/models/whatsapp/phone_numbers/whatsapp_conversational_component.rbs +65 -0
- data/sig/telnyx/models/wireguard_interface_create_params.rbs +6 -48
- data/sig/telnyx/models.rbs +12 -8
- data/sig/telnyx/resources/ai/assistants/canary_deploys.rbs +1 -0
- data/sig/telnyx/resources/ai/assistants/scheduled_events.rbs +1 -0
- data/sig/telnyx/resources/ai/assistants/tests/runs.rbs +1 -0
- data/sig/telnyx/resources/ai/assistants/tests/test_suites/runs.rbs +1 -0
- data/sig/telnyx/resources/ai/assistants/tests.rbs +1 -0
- data/sig/telnyx/resources/ai/assistants.rbs +4 -0
- data/sig/telnyx/resources/ai/collections.rbs +1 -1
- data/sig/telnyx/resources/ai/conversations/insight_groups.rbs +1 -0
- data/sig/telnyx/resources/ai/conversations/insights.rbs +1 -0
- data/sig/telnyx/resources/ai/conversations.rbs +2 -0
- data/sig/telnyx/resources/ai/embeddings.rbs +2 -0
- data/sig/telnyx/resources/ai/mcp_servers.rbs +1 -0
- data/sig/telnyx/resources/ai/tools.rbs +1 -0
- data/sig/telnyx/resources/ai.rbs +2 -1
- data/sig/telnyx/resources/calls/actions.rbs +1 -0
- data/sig/telnyx/resources/email_blocks/{import.rbs → imports.rbs} +1 -1
- data/sig/telnyx/resources/email_blocks.rbs +2 -2
- data/sig/telnyx/resources/email_events.rbs +1 -1
- data/sig/telnyx/resources/email_inboxes/drafts.rbs +7 -7
- data/sig/telnyx/resources/email_inboxes/messages.rbs +4 -4
- data/sig/telnyx/resources/email_inboxes/threads.rbs +1 -1
- data/sig/telnyx/resources/email_inboxes.rbs +1 -1
- data/sig/telnyx/resources/email_messages/recipients.rbs +1 -1
- data/sig/telnyx/resources/email_messages.rbs +2 -2
- data/sig/telnyx/resources/email_templates.rbs +1 -1
- data/sig/telnyx/resources/email_threads.rbs +1 -1
- data/sig/telnyx/resources/enterprises.rbs +2 -2
- data/sig/telnyx/resources/oauth.rbs +1 -1
- data/sig/telnyx/resources/pricing/products.rbs +1 -1
- data/sig/telnyx/resources/rcs/brands.rbs +2 -2
- data/sig/telnyx/resources/storage/buckets.rbs +1 -1
- data/sig/telnyx/resources/storage/cloudfs.rbs +1 -1
- data/sig/telnyx/resources/texml/accounts/conferences/participants.rbs +1 -0
- data/sig/telnyx/resources/texml.rbs +1 -0
- data/sig/telnyx/resources/text_to_speech.rbs +0 -1
- metadata +92 -50
- data/lib/telnyx/models/billing_address.rb +0 -52
- data/lib/telnyx/models/email_inbox_list_response.rb +0 -41
- data/lib/telnyx/models/email_inboxes/draft_list_response.rb +0 -24
- data/lib/telnyx/models/email_inboxes/message_list_response.rb +0 -24
- data/lib/telnyx/models/email_message_list_response.rb +0 -22
- data/lib/telnyx/models/email_message_retrieve_events_response.rb +0 -22
- data/lib/telnyx/models/email_messages/recipient_list_response.rb +0 -43
- data/lib/telnyx/models/email_template_list_response.rb +0 -22
- data/lib/telnyx/models/rime_voice_settings.rb +0 -36
- data/lib/telnyx/models/speech_to_text_transcribe_params.rb +0 -14
- data/lib/telnyx/models/stream_client_event.rb +0 -42
- data/lib/telnyx/models/stream_server_event.rb +0 -200
- data/lib/telnyx/models/text_to_speech_stream_params.rb +0 -14
- data/lib/telnyx/models/transcribe_server_event.rb +0 -84
- data/rbi/telnyx/models/billing_address.rbi +0 -69
- data/rbi/telnyx/models/email_inbox_list_response.rbi +0 -82
- data/rbi/telnyx/models/email_inboxes/draft_list_response.rbi +0 -48
- data/rbi/telnyx/models/email_inboxes/message_list_response.rbi +0 -48
- data/rbi/telnyx/models/email_message_list_response.rbi +0 -46
- data/rbi/telnyx/models/email_message_retrieve_events_response.rbi +0 -46
- data/rbi/telnyx/models/email_messages/recipient_list_response.rbi +0 -91
- data/rbi/telnyx/models/email_template_list_response.rbi +0 -46
- data/rbi/telnyx/models/rime_voice_settings.rbi +0 -67
- data/rbi/telnyx/models/speech_to_text_transcribe_params.rbi +0 -27
- data/rbi/telnyx/models/stream_client_event.rbi +0 -70
- data/rbi/telnyx/models/stream_server_event.rbi +0 -411
- data/rbi/telnyx/models/text_to_speech_stream_params.rbi +0 -27
- data/rbi/telnyx/models/transcribe_client_event.rbi +0 -7
- data/rbi/telnyx/models/transcribe_server_event.rbi +0 -127
- data/sig/telnyx/models/billing_address.rbs +0 -45
- data/sig/telnyx/models/email_inbox_list_response.rbs +0 -39
- data/sig/telnyx/models/email_inboxes/draft_list_response.rbs +0 -27
- data/sig/telnyx/models/email_inboxes/message_list_response.rbs +0 -27
- data/sig/telnyx/models/email_message_list_response.rbs +0 -25
- data/sig/telnyx/models/email_message_retrieve_events_response.rbs +0 -25
- data/sig/telnyx/models/email_messages/recipient_list_response.rbs +0 -39
- data/sig/telnyx/models/email_template_list_response.rbs +0 -25
- data/sig/telnyx/models/rime_voice_settings.rbs +0 -34
- data/sig/telnyx/models/speech_to_text_transcribe_params.rbs +0 -15
- data/sig/telnyx/models/stream_client_event.rbs +0 -30
- data/sig/telnyx/models/stream_server_event.rbs +0 -180
- data/sig/telnyx/models/text_to_speech_stream_params.rbs +0 -15
- data/sig/telnyx/models/transcribe_client_event.rbs +0 -5
- data/sig/telnyx/models/transcribe_server_event.rbs +0 -61
|
@@ -170,6 +170,19 @@ module Telnyx
|
|
|
170
170
|
enum: -> { Telnyx::Texml::Accounts::CallCallsParams::Body::WithURL::MachineDetection },
|
|
171
171
|
api_name: :MachineDetection
|
|
172
172
|
|
|
173
|
+
# @!attribute machine_detection_beep_profile
|
|
174
|
+
# Selects which detectors must validate a beep. `both` requires the amplitude and
|
|
175
|
+
# frequency detectors to agree. `freq_only` uses the frequency detector alone, for
|
|
176
|
+
# beeps whose volume is too unsteady for the default profile. Only used when
|
|
177
|
+
# MachineDetection is enabled.
|
|
178
|
+
#
|
|
179
|
+
# @return [Symbol, Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::MachineDetectionBeepProfile, nil]
|
|
180
|
+
optional :machine_detection_beep_profile,
|
|
181
|
+
enum: -> {
|
|
182
|
+
Telnyx::Texml::Accounts::CallCallsParams::Body::WithURL::MachineDetectionBeepProfile
|
|
183
|
+
},
|
|
184
|
+
api_name: :MachineDetectionBeepProfile
|
|
185
|
+
|
|
173
186
|
# @!attribute machine_detection_prompt_end_timeout
|
|
174
187
|
# Silence duration threshold after a call screening prompt before ending prompt
|
|
175
188
|
# detection, in milliseconds. Used when `DetectionMode` is `PremiumCallScreening`.
|
|
@@ -396,7 +409,7 @@ module Telnyx
|
|
|
396
409
|
enum: -> { Telnyx::Texml::Accounts::CallCallsParams::Body::WithURL::URLMethod },
|
|
397
410
|
api_name: :UrlMethod
|
|
398
411
|
|
|
399
|
-
# @!method initialize(url:, application_sid: nil, async_amd: nil, async_amd_status_callback: nil, async_amd_status_callback_method: nil, caller_id: nil, cancel_playback_on_detect_message_end: nil, cancel_playback_on_machine_detection: nil, custom_headers: nil, deepfake_detection: nil, deepfake_detection_callback_method: nil, deepfake_detection_callback_url: nil, detection_mode: nil, fallback_url: nil, from: nil, machine_detection: nil, machine_detection_prompt_end_timeout: nil, machine_detection_silence_timeout: nil, machine_detection_speech_end_threshold: nil, machine_detection_speech_threshold: nil, machine_detection_timeout: nil, media_encryption: nil, preferred_codecs: nil, record: nil, recording_channels: nil, recording_status_callback: nil, recording_status_callback_event: nil, recording_status_callback_method: nil, recording_timeout: nil, recording_track: nil, send_recording_url: nil, sip_auth_password: nil, sip_auth_username: nil, sip_region: nil, status_callback: nil, status_callback_event: nil, status_callback_method: nil, supervise_call_sid: nil, supervising_role: nil, texml: nil, time_limit: nil, timeout: nil, to: nil, trim: nil, url_method: nil)
|
|
412
|
+
# @!method initialize(url:, application_sid: nil, async_amd: nil, async_amd_status_callback: nil, async_amd_status_callback_method: nil, caller_id: nil, cancel_playback_on_detect_message_end: nil, cancel_playback_on_machine_detection: nil, custom_headers: nil, deepfake_detection: nil, deepfake_detection_callback_method: nil, deepfake_detection_callback_url: nil, detection_mode: nil, fallback_url: nil, from: nil, machine_detection: nil, machine_detection_beep_profile: nil, machine_detection_prompt_end_timeout: nil, machine_detection_silence_timeout: nil, machine_detection_speech_end_threshold: nil, machine_detection_speech_threshold: nil, machine_detection_timeout: nil, media_encryption: nil, preferred_codecs: nil, record: nil, recording_channels: nil, recording_status_callback: nil, recording_status_callback_event: nil, recording_status_callback_method: nil, recording_timeout: nil, recording_track: nil, send_recording_url: nil, sip_auth_password: nil, sip_auth_username: nil, sip_region: nil, status_callback: nil, status_callback_event: nil, status_callback_method: nil, supervise_call_sid: nil, supervising_role: nil, texml: nil, time_limit: nil, timeout: nil, to: nil, trim: nil, url_method: nil)
|
|
400
413
|
# Some parameter documentations has been truncated, see
|
|
401
414
|
# {Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL} for more
|
|
402
415
|
# details.
|
|
@@ -433,6 +446,8 @@ module Telnyx
|
|
|
433
446
|
#
|
|
434
447
|
# @param machine_detection [Symbol, Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::MachineDetection] Enables Answering Machine Detection.
|
|
435
448
|
#
|
|
449
|
+
# @param machine_detection_beep_profile [Symbol, Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::MachineDetectionBeepProfile] Selects which detectors must validate a beep. `both` requires the amplitude and
|
|
450
|
+
#
|
|
436
451
|
# @param machine_detection_prompt_end_timeout [Integer] Silence duration threshold after a call screening prompt before ending prompt de
|
|
437
452
|
#
|
|
438
453
|
# @param machine_detection_silence_timeout [Integer] If initial silence duration is greater than this value, consider it a machine. I
|
|
@@ -581,6 +596,22 @@ module Telnyx
|
|
|
581
596
|
# @return [Array<Symbol>]
|
|
582
597
|
end
|
|
583
598
|
|
|
599
|
+
# Selects which detectors must validate a beep. `both` requires the amplitude and
|
|
600
|
+
# frequency detectors to agree. `freq_only` uses the frequency detector alone, for
|
|
601
|
+
# beeps whose volume is too unsteady for the default profile. Only used when
|
|
602
|
+
# MachineDetection is enabled.
|
|
603
|
+
#
|
|
604
|
+
# @see Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL#machine_detection_beep_profile
|
|
605
|
+
module MachineDetectionBeepProfile
|
|
606
|
+
extend Telnyx::Internal::Type::Enum
|
|
607
|
+
|
|
608
|
+
BOTH = :both
|
|
609
|
+
FREQ_ONLY = :freq_only
|
|
610
|
+
|
|
611
|
+
# @!method self.values
|
|
612
|
+
# @return [Array<Symbol>]
|
|
613
|
+
end
|
|
614
|
+
|
|
584
615
|
# Defines whether media should be encrypted on the call. When set to `SRTP`, the
|
|
585
616
|
# call will use Secure Real-time Transport Protocol for media encryption. When set
|
|
586
617
|
# to `DTLS`, the call will use DTLS for media encryption. Only supported for SIP
|
|
@@ -850,6 +881,19 @@ module Telnyx
|
|
|
850
881
|
},
|
|
851
882
|
api_name: :MachineDetection
|
|
852
883
|
|
|
884
|
+
# @!attribute machine_detection_beep_profile
|
|
885
|
+
# Selects which detectors must validate a beep. `both` requires the amplitude and
|
|
886
|
+
# frequency detectors to agree. `freq_only` uses the frequency detector alone, for
|
|
887
|
+
# beeps whose volume is too unsteady for the default profile. Only used when
|
|
888
|
+
# MachineDetection is enabled.
|
|
889
|
+
#
|
|
890
|
+
# @return [Symbol, Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::MachineDetectionBeepProfile, nil]
|
|
891
|
+
optional :machine_detection_beep_profile,
|
|
892
|
+
enum: -> {
|
|
893
|
+
Telnyx::Texml::Accounts::CallCallsParams::Body::WithTeXml::MachineDetectionBeepProfile
|
|
894
|
+
},
|
|
895
|
+
api_name: :MachineDetectionBeepProfile
|
|
896
|
+
|
|
853
897
|
# @!attribute machine_detection_prompt_end_timeout
|
|
854
898
|
# Silence duration threshold after a call screening prompt before ending prompt
|
|
855
899
|
# detection, in milliseconds. Used when `DetectionMode` is `PremiumCallScreening`.
|
|
@@ -1080,7 +1124,7 @@ module Telnyx
|
|
|
1080
1124
|
enum: -> { Telnyx::Texml::Accounts::CallCallsParams::Body::WithTeXml::URLMethod },
|
|
1081
1125
|
api_name: :UrlMethod
|
|
1082
1126
|
|
|
1083
|
-
# @!method initialize(texml:, application_sid: nil, async_amd: nil, async_amd_status_callback: nil, async_amd_status_callback_method: nil, caller_id: nil, cancel_playback_on_detect_message_end: nil, cancel_playback_on_machine_detection: nil, custom_headers: nil, deepfake_detection: nil, deepfake_detection_callback_method: nil, deepfake_detection_callback_url: nil, detection_mode: nil, fallback_url: nil, from: nil, machine_detection: nil, machine_detection_prompt_end_timeout: nil, machine_detection_silence_timeout: nil, machine_detection_speech_end_threshold: nil, machine_detection_speech_threshold: nil, machine_detection_timeout: nil, media_encryption: nil, preferred_codecs: nil, record: nil, recording_channels: nil, recording_status_callback: nil, recording_status_callback_event: nil, recording_status_callback_method: nil, recording_timeout: nil, recording_track: nil, send_recording_url: nil, sip_auth_password: nil, sip_auth_username: nil, sip_region: nil, status_callback: nil, status_callback_event: nil, status_callback_method: nil, supervise_call_sid: nil, supervising_role: nil, time_limit: nil, timeout: nil, to: nil, trim: nil, url: nil, url_method: nil)
|
|
1127
|
+
# @!method initialize(texml:, application_sid: nil, async_amd: nil, async_amd_status_callback: nil, async_amd_status_callback_method: nil, caller_id: nil, cancel_playback_on_detect_message_end: nil, cancel_playback_on_machine_detection: nil, custom_headers: nil, deepfake_detection: nil, deepfake_detection_callback_method: nil, deepfake_detection_callback_url: nil, detection_mode: nil, fallback_url: nil, from: nil, machine_detection: nil, machine_detection_beep_profile: nil, machine_detection_prompt_end_timeout: nil, machine_detection_silence_timeout: nil, machine_detection_speech_end_threshold: nil, machine_detection_speech_threshold: nil, machine_detection_timeout: nil, media_encryption: nil, preferred_codecs: nil, record: nil, recording_channels: nil, recording_status_callback: nil, recording_status_callback_event: nil, recording_status_callback_method: nil, recording_timeout: nil, recording_track: nil, send_recording_url: nil, sip_auth_password: nil, sip_auth_username: nil, sip_region: nil, status_callback: nil, status_callback_event: nil, status_callback_method: nil, supervise_call_sid: nil, supervising_role: nil, time_limit: nil, timeout: nil, to: nil, trim: nil, url: nil, url_method: nil)
|
|
1084
1128
|
# Some parameter documentations has been truncated, see
|
|
1085
1129
|
# {Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml} for more
|
|
1086
1130
|
# details.
|
|
@@ -1117,6 +1161,8 @@ module Telnyx
|
|
|
1117
1161
|
#
|
|
1118
1162
|
# @param machine_detection [Symbol, Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::MachineDetection] Enables Answering Machine Detection.
|
|
1119
1163
|
#
|
|
1164
|
+
# @param machine_detection_beep_profile [Symbol, Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::MachineDetectionBeepProfile] Selects which detectors must validate a beep. `both` requires the amplitude and
|
|
1165
|
+
#
|
|
1120
1166
|
# @param machine_detection_prompt_end_timeout [Integer] Silence duration threshold after a call screening prompt before ending prompt de
|
|
1121
1167
|
#
|
|
1122
1168
|
# @param machine_detection_silence_timeout [Integer] If initial silence duration is greater than this value, consider it a machine. I
|
|
@@ -1265,6 +1311,22 @@ module Telnyx
|
|
|
1265
1311
|
# @return [Array<Symbol>]
|
|
1266
1312
|
end
|
|
1267
1313
|
|
|
1314
|
+
# Selects which detectors must validate a beep. `both` requires the amplitude and
|
|
1315
|
+
# frequency detectors to agree. `freq_only` uses the frequency detector alone, for
|
|
1316
|
+
# beeps whose volume is too unsteady for the default profile. Only used when
|
|
1317
|
+
# MachineDetection is enabled.
|
|
1318
|
+
#
|
|
1319
|
+
# @see Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml#machine_detection_beep_profile
|
|
1320
|
+
module MachineDetectionBeepProfile
|
|
1321
|
+
extend Telnyx::Internal::Type::Enum
|
|
1322
|
+
|
|
1323
|
+
BOTH = :both
|
|
1324
|
+
FREQ_ONLY = :freq_only
|
|
1325
|
+
|
|
1326
|
+
# @!method self.values
|
|
1327
|
+
# @return [Array<Symbol>]
|
|
1328
|
+
end
|
|
1329
|
+
|
|
1268
1330
|
# Defines whether media should be encrypted on the call. When set to `SRTP`, the
|
|
1269
1331
|
# call will use Secure Real-time Transport Protocol for media encryption. When set
|
|
1270
1332
|
# to `DTLS`, the call will use DTLS for media encryption. Only supported for SIP
|
|
@@ -1529,6 +1591,19 @@ module Telnyx
|
|
|
1529
1591
|
},
|
|
1530
1592
|
api_name: :MachineDetection
|
|
1531
1593
|
|
|
1594
|
+
# @!attribute machine_detection_beep_profile
|
|
1595
|
+
# Selects which detectors must validate a beep. `both` requires the amplitude and
|
|
1596
|
+
# frequency detectors to agree. `freq_only` uses the frequency detector alone, for
|
|
1597
|
+
# beeps whose volume is too unsteady for the default profile. Only used when
|
|
1598
|
+
# MachineDetection is enabled.
|
|
1599
|
+
#
|
|
1600
|
+
# @return [Symbol, Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::MachineDetectionBeepProfile, nil]
|
|
1601
|
+
optional :machine_detection_beep_profile,
|
|
1602
|
+
enum: -> {
|
|
1603
|
+
Telnyx::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::MachineDetectionBeepProfile
|
|
1604
|
+
},
|
|
1605
|
+
api_name: :MachineDetectionBeepProfile
|
|
1606
|
+
|
|
1532
1607
|
# @!attribute machine_detection_prompt_end_timeout
|
|
1533
1608
|
# Silence duration threshold after a call screening prompt before ending prompt
|
|
1534
1609
|
# detection, in milliseconds. Used when `DetectionMode` is `PremiumCallScreening`.
|
|
@@ -1770,7 +1845,7 @@ module Telnyx
|
|
|
1770
1845
|
},
|
|
1771
1846
|
api_name: :UrlMethod
|
|
1772
1847
|
|
|
1773
|
-
# @!method initialize(application_sid: nil, async_amd: nil, async_amd_status_callback: nil, async_amd_status_callback_method: nil, caller_id: nil, cancel_playback_on_detect_message_end: nil, cancel_playback_on_machine_detection: nil, custom_headers: nil, deepfake_detection: nil, deepfake_detection_callback_method: nil, deepfake_detection_callback_url: nil, detection_mode: nil, fallback_url: nil, from: nil, machine_detection: nil, machine_detection_prompt_end_timeout: nil, machine_detection_silence_timeout: nil, machine_detection_speech_end_threshold: nil, machine_detection_speech_threshold: nil, machine_detection_timeout: nil, media_encryption: nil, preferred_codecs: nil, record: nil, recording_channels: nil, recording_status_callback: nil, recording_status_callback_event: nil, recording_status_callback_method: nil, recording_timeout: nil, recording_track: nil, send_recording_url: nil, sip_auth_password: nil, sip_auth_username: nil, sip_region: nil, status_callback: nil, status_callback_event: nil, status_callback_method: nil, supervise_call_sid: nil, supervising_role: nil, texml: nil, time_limit: nil, timeout: nil, to: nil, trim: nil, url: nil, url_method: nil)
|
|
1848
|
+
# @!method initialize(application_sid: nil, async_amd: nil, async_amd_status_callback: nil, async_amd_status_callback_method: nil, caller_id: nil, cancel_playback_on_detect_message_end: nil, cancel_playback_on_machine_detection: nil, custom_headers: nil, deepfake_detection: nil, deepfake_detection_callback_method: nil, deepfake_detection_callback_url: nil, detection_mode: nil, fallback_url: nil, from: nil, machine_detection: nil, machine_detection_beep_profile: nil, machine_detection_prompt_end_timeout: nil, machine_detection_silence_timeout: nil, machine_detection_speech_end_threshold: nil, machine_detection_speech_threshold: nil, machine_detection_timeout: nil, media_encryption: nil, preferred_codecs: nil, record: nil, recording_channels: nil, recording_status_callback: nil, recording_status_callback_event: nil, recording_status_callback_method: nil, recording_timeout: nil, recording_track: nil, send_recording_url: nil, sip_auth_password: nil, sip_auth_username: nil, sip_region: nil, status_callback: nil, status_callback_event: nil, status_callback_method: nil, supervise_call_sid: nil, supervising_role: nil, texml: nil, time_limit: nil, timeout: nil, to: nil, trim: nil, url: nil, url_method: nil)
|
|
1774
1849
|
# Some parameter documentations has been truncated, see
|
|
1775
1850
|
# {Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault} for
|
|
1776
1851
|
# more details.
|
|
@@ -1805,6 +1880,8 @@ module Telnyx
|
|
|
1805
1880
|
#
|
|
1806
1881
|
# @param machine_detection [Symbol, Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::MachineDetection] Enables Answering Machine Detection.
|
|
1807
1882
|
#
|
|
1883
|
+
# @param machine_detection_beep_profile [Symbol, Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::MachineDetectionBeepProfile] Selects which detectors must validate a beep. `both` requires the amplitude and
|
|
1884
|
+
#
|
|
1808
1885
|
# @param machine_detection_prompt_end_timeout [Integer] Silence duration threshold after a call screening prompt before ending prompt de
|
|
1809
1886
|
#
|
|
1810
1887
|
# @param machine_detection_silence_timeout [Integer] If initial silence duration is greater than this value, consider it a machine. I
|
|
@@ -1955,6 +2032,22 @@ module Telnyx
|
|
|
1955
2032
|
# @return [Array<Symbol>]
|
|
1956
2033
|
end
|
|
1957
2034
|
|
|
2035
|
+
# Selects which detectors must validate a beep. `both` requires the amplitude and
|
|
2036
|
+
# frequency detectors to agree. `freq_only` uses the frequency detector alone, for
|
|
2037
|
+
# beeps whose volume is too unsteady for the default profile. Only used when
|
|
2038
|
+
# MachineDetection is enabled.
|
|
2039
|
+
#
|
|
2040
|
+
# @see Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault#machine_detection_beep_profile
|
|
2041
|
+
module MachineDetectionBeepProfile
|
|
2042
|
+
extend Telnyx::Internal::Type::Enum
|
|
2043
|
+
|
|
2044
|
+
BOTH = :both
|
|
2045
|
+
FREQ_ONLY = :freq_only
|
|
2046
|
+
|
|
2047
|
+
# @!method self.values
|
|
2048
|
+
# @return [Array<Symbol>]
|
|
2049
|
+
end
|
|
2050
|
+
|
|
1958
2051
|
# Defines whether media should be encrypted on the call. When set to `SRTP`, the
|
|
1959
2052
|
# call will use Secure Real-time Transport Protocol for media encryption. When set
|
|
1960
2053
|
# to `DTLS`, the call will use DTLS for media encryption. Only supported for SIP
|
|
@@ -230,6 +230,19 @@ module Telnyx
|
|
|
230
230
|
},
|
|
231
231
|
api_name: :MachineDetection
|
|
232
232
|
|
|
233
|
+
# @!attribute machine_detection_beep_profile
|
|
234
|
+
# Selects which detectors must validate a beep. `both` requires the amplitude and
|
|
235
|
+
# frequency detectors to agree. `freq_only` uses the frequency detector alone, for
|
|
236
|
+
# beeps whose volume is too unsteady for the default profile. Only used when
|
|
237
|
+
# MachineDetection is enabled.
|
|
238
|
+
#
|
|
239
|
+
# @return [Symbol, Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::MachineDetectionBeepProfile, nil]
|
|
240
|
+
optional :machine_detection_beep_profile,
|
|
241
|
+
enum: -> {
|
|
242
|
+
Telnyx::Texml::Accounts::Conferences::ParticipantParticipantsParams::MachineDetectionBeepProfile
|
|
243
|
+
},
|
|
244
|
+
api_name: :MachineDetectionBeepProfile
|
|
245
|
+
|
|
233
246
|
# @!attribute machine_detection_silence_timeout
|
|
234
247
|
# If initial silence duration is greater than this value, consider it a machine.
|
|
235
248
|
# Ignored when `premium` detection is used.
|
|
@@ -410,7 +423,7 @@ module Telnyx
|
|
|
410
423
|
# @return [String, nil]
|
|
411
424
|
optional :wait_url, String, api_name: :WaitUrl
|
|
412
425
|
|
|
413
|
-
# @!method initialize(account_sid:, conference_sid:, amd_status_callback: nil, amd_status_callback_method: nil, application_sid: nil, beep: nil, caller_id: nil, call_sid_to_coach: nil, cancel_playback_on_detect_message_end: nil, cancel_playback_on_machine_detection: nil, coaching: nil, conference_record: nil, conference_recording_status_callback: nil, conference_recording_status_callback_event: nil, conference_recording_status_callback_method: nil, conference_recording_timeout: nil, conference_status_callback: nil, conference_status_callback_event: nil, conference_status_callback_method: nil, conference_trim: nil, custom_headers: nil, early_media: nil, end_conference_on_exit: nil, from: nil, label: nil, machine_detection: nil, machine_detection_silence_timeout: nil, machine_detection_speech_end_threshold: nil, machine_detection_speech_threshold: nil, machine_detection_timeout: nil, max_participants: nil, muted: nil, preferred_codecs: nil, record: nil, recording_channels: nil, recording_status_callback: nil, recording_status_callback_event: nil, recording_status_callback_method: nil, recording_track: nil, sip_auth_password: nil, sip_auth_username: nil, start_conference_on_enter: nil, status_callback: nil, status_callback_event: nil, status_callback_method: nil, time_limit: nil, timeout_seconds: nil, to: nil, trim: nil, wait_url: nil, request_options: {})
|
|
426
|
+
# @!method initialize(account_sid:, conference_sid:, amd_status_callback: nil, amd_status_callback_method: nil, application_sid: nil, beep: nil, caller_id: nil, call_sid_to_coach: nil, cancel_playback_on_detect_message_end: nil, cancel_playback_on_machine_detection: nil, coaching: nil, conference_record: nil, conference_recording_status_callback: nil, conference_recording_status_callback_event: nil, conference_recording_status_callback_method: nil, conference_recording_timeout: nil, conference_status_callback: nil, conference_status_callback_event: nil, conference_status_callback_method: nil, conference_trim: nil, custom_headers: nil, early_media: nil, end_conference_on_exit: nil, from: nil, label: nil, machine_detection: nil, machine_detection_beep_profile: nil, machine_detection_silence_timeout: nil, machine_detection_speech_end_threshold: nil, machine_detection_speech_threshold: nil, machine_detection_timeout: nil, max_participants: nil, muted: nil, preferred_codecs: nil, record: nil, recording_channels: nil, recording_status_callback: nil, recording_status_callback_event: nil, recording_status_callback_method: nil, recording_track: nil, sip_auth_password: nil, sip_auth_username: nil, start_conference_on_enter: nil, status_callback: nil, status_callback_event: nil, status_callback_method: nil, time_limit: nil, timeout_seconds: nil, to: nil, trim: nil, wait_url: nil, request_options: {})
|
|
414
427
|
# Some parameter documentations has been truncated, see
|
|
415
428
|
# {Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams}
|
|
416
429
|
# for more details.
|
|
@@ -467,6 +480,8 @@ module Telnyx
|
|
|
467
480
|
#
|
|
468
481
|
# @param machine_detection [Symbol, Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::MachineDetection] Whether to detect if a human or an answering machine picked up the call. Use `En
|
|
469
482
|
#
|
|
483
|
+
# @param machine_detection_beep_profile [Symbol, Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::MachineDetectionBeepProfile] Selects which detectors must validate a beep. `both` requires the amplitude and
|
|
484
|
+
#
|
|
470
485
|
# @param machine_detection_silence_timeout [Integer] If initial silence duration is greater than this value, consider it a machine. I
|
|
471
486
|
#
|
|
472
487
|
# @param machine_detection_speech_end_threshold [Integer] Silence duration threshold after a greeting message or voice for it be considere
|
|
@@ -625,6 +640,20 @@ module Telnyx
|
|
|
625
640
|
# @return [Array<Symbol>]
|
|
626
641
|
end
|
|
627
642
|
|
|
643
|
+
# Selects which detectors must validate a beep. `both` requires the amplitude and
|
|
644
|
+
# frequency detectors to agree. `freq_only` uses the frequency detector alone, for
|
|
645
|
+
# beeps whose volume is too unsteady for the default profile. Only used when
|
|
646
|
+
# MachineDetection is enabled.
|
|
647
|
+
module MachineDetectionBeepProfile
|
|
648
|
+
extend Telnyx::Internal::Type::Enum
|
|
649
|
+
|
|
650
|
+
BOTH = :both
|
|
651
|
+
FREQ_ONLY = :freq_only
|
|
652
|
+
|
|
653
|
+
# @!method self.values
|
|
654
|
+
# @return [Array<Symbol>]
|
|
655
|
+
end
|
|
656
|
+
|
|
628
657
|
# The number of channels in the final recording. Defaults to `mono`.
|
|
629
658
|
module RecordingChannels
|
|
630
659
|
extend Telnyx::Internal::Type::Enum
|
|
@@ -127,6 +127,17 @@ module Telnyx
|
|
|
127
127
|
enum: -> { Telnyx::TexmlInitiateAICallParams::MachineDetection },
|
|
128
128
|
api_name: :MachineDetection
|
|
129
129
|
|
|
130
|
+
# @!attribute machine_detection_beep_profile
|
|
131
|
+
# Selects which detectors must validate a beep. `both` requires the amplitude and
|
|
132
|
+
# frequency detectors to agree. `freq_only` uses the frequency detector alone, for
|
|
133
|
+
# beeps whose volume is too unsteady for the default profile. Only used when
|
|
134
|
+
# MachineDetection is enabled.
|
|
135
|
+
#
|
|
136
|
+
# @return [Symbol, Telnyx::Models::TexmlInitiateAICallParams::MachineDetectionBeepProfile, nil]
|
|
137
|
+
optional :machine_detection_beep_profile,
|
|
138
|
+
enum: -> { Telnyx::TexmlInitiateAICallParams::MachineDetectionBeepProfile },
|
|
139
|
+
api_name: :MachineDetectionBeepProfile
|
|
140
|
+
|
|
130
141
|
# @!attribute machine_detection_prompt_end_timeout
|
|
131
142
|
# Silence duration threshold after a call screening prompt before ending prompt
|
|
132
143
|
# detection, in milliseconds. Used when `DetectionMode` is `PremiumCallScreening`.
|
|
@@ -307,7 +318,7 @@ module Telnyx
|
|
|
307
318
|
# @return [Symbol, Telnyx::Models::TexmlInitiateAICallParams::Trim, nil]
|
|
308
319
|
optional :trim, enum: -> { Telnyx::TexmlInitiateAICallParams::Trim }, api_name: :Trim
|
|
309
320
|
|
|
310
|
-
# @!method initialize(connection_id:, ai_assistant_id:, from:, to:, ai_assistant_dynamic_variables: nil, ai_assistant_version: nil, async_amd: nil, async_amd_status_callback: nil, async_amd_status_callback_method: nil, caller_id: nil, conversation_callback: nil, conversation_callback_method: nil, conversation_callbacks: nil, custom_headers: nil, detection_mode: nil, machine_detection: nil, machine_detection_prompt_end_timeout: nil, machine_detection_silence_timeout: nil, machine_detection_speech_end_threshold: nil, machine_detection_speech_threshold: nil, machine_detection_timeout: nil, passports: nil, preferred_codecs: nil, record: nil, recording_channels: nil, recording_status_callback: nil, recording_status_callback_event: nil, recording_status_callback_method: nil, recording_timeout: nil, recording_track: nil, send_recording_url: nil, sip_auth_password: nil, sip_auth_username: nil, sip_region: nil, status_callback: nil, status_callback_event: nil, status_callback_method: nil, status_callbacks: nil, time_limit: nil, timeout_seconds: nil, trim: nil, request_options: {})
|
|
321
|
+
# @!method initialize(connection_id:, ai_assistant_id:, from:, to:, ai_assistant_dynamic_variables: nil, ai_assistant_version: nil, async_amd: nil, async_amd_status_callback: nil, async_amd_status_callback_method: nil, caller_id: nil, conversation_callback: nil, conversation_callback_method: nil, conversation_callbacks: nil, custom_headers: nil, detection_mode: nil, machine_detection: nil, machine_detection_beep_profile: nil, machine_detection_prompt_end_timeout: nil, machine_detection_silence_timeout: nil, machine_detection_speech_end_threshold: nil, machine_detection_speech_threshold: nil, machine_detection_timeout: nil, passports: nil, preferred_codecs: nil, record: nil, recording_channels: nil, recording_status_callback: nil, recording_status_callback_event: nil, recording_status_callback_method: nil, recording_timeout: nil, recording_track: nil, send_recording_url: nil, sip_auth_password: nil, sip_auth_username: nil, sip_region: nil, status_callback: nil, status_callback_event: nil, status_callback_method: nil, status_callbacks: nil, time_limit: nil, timeout_seconds: nil, trim: nil, request_options: {})
|
|
311
322
|
# Some parameter documentations has been truncated, see
|
|
312
323
|
# {Telnyx::Models::TexmlInitiateAICallParams} for more details.
|
|
313
324
|
#
|
|
@@ -343,6 +354,8 @@ module Telnyx
|
|
|
343
354
|
#
|
|
344
355
|
# @param machine_detection [Symbol, Telnyx::Models::TexmlInitiateAICallParams::MachineDetection] Enables Answering Machine Detection.
|
|
345
356
|
#
|
|
357
|
+
# @param machine_detection_beep_profile [Symbol, Telnyx::Models::TexmlInitiateAICallParams::MachineDetectionBeepProfile] Selects which detectors must validate a beep. `both` requires the amplitude and
|
|
358
|
+
#
|
|
346
359
|
# @param machine_detection_prompt_end_timeout [Integer] Silence duration threshold after a call screening prompt before ending prompt de
|
|
347
360
|
#
|
|
348
361
|
# @param machine_detection_silence_timeout [Integer] If initial silence duration is greater than this value, consider it a machine. I
|
|
@@ -462,6 +475,20 @@ module Telnyx
|
|
|
462
475
|
# @return [Array<Symbol>]
|
|
463
476
|
end
|
|
464
477
|
|
|
478
|
+
# Selects which detectors must validate a beep. `both` requires the amplitude and
|
|
479
|
+
# frequency detectors to agree. `freq_only` uses the frequency detector alone, for
|
|
480
|
+
# beeps whose volume is too unsteady for the default profile. Only used when
|
|
481
|
+
# MachineDetection is enabled.
|
|
482
|
+
module MachineDetectionBeepProfile
|
|
483
|
+
extend Telnyx::Internal::Type::Enum
|
|
484
|
+
|
|
485
|
+
BOTH = :both
|
|
486
|
+
FREQ_ONLY = :freq_only
|
|
487
|
+
|
|
488
|
+
# @!method self.values
|
|
489
|
+
# @return [Array<Symbol>]
|
|
490
|
+
end
|
|
491
|
+
|
|
465
492
|
# The number of channels in the final recording. Defaults to `mono`.
|
|
466
493
|
module RecordingChannels
|
|
467
494
|
extend Telnyx::Internal::Type::Enum
|
|
@@ -70,15 +70,8 @@ module Telnyx
|
|
|
70
70
|
# @return [::Telnyx::Models::TextToSpeechGenerateSpeechParams::Resemble, nil]
|
|
71
71
|
optional :resemble, -> { ::Telnyx::TextToSpeechGenerateSpeechParams::Resemble }
|
|
72
72
|
|
|
73
|
-
# @!attribute rime
|
|
74
|
-
# Rime provider-specific parameters.
|
|
75
|
-
#
|
|
76
|
-
# @return [::Telnyx::Models::TextToSpeechGenerateSpeechParams::Rime, nil]
|
|
77
|
-
optional :rime, -> { ::Telnyx::TextToSpeechGenerateSpeechParams::Rime }
|
|
78
|
-
|
|
79
73
|
# @!attribute telnyx
|
|
80
|
-
# Telnyx provider-specific parameters.
|
|
81
|
-
# `Natural` and `NaturalHD` models. For the `Ultra` model, use `voice_speed`,
|
|
74
|
+
# Telnyx provider-specific parameters. For the `Ultra` model, use `voice_speed`,
|
|
82
75
|
# `volume`, and `emotion`. `Bayan` and `Sukhan` don't use `temperature`, `volume`,
|
|
83
76
|
# or `emotion`, and don't support `voice_speed`. `Sukhan`'s `response_format` is
|
|
84
77
|
# restricted to `mp3` or `pcm` (no `wav`).
|
|
@@ -100,11 +93,11 @@ module Telnyx
|
|
|
100
93
|
|
|
101
94
|
# @!attribute voice
|
|
102
95
|
# Voice identifier in the format `provider.model_id.voice_id` or
|
|
103
|
-
# `provider.voice_id`. Examples: `
|
|
104
|
-
# `Telnyx.
|
|
105
|
-
# `
|
|
106
|
-
#
|
|
107
|
-
#
|
|
96
|
+
# `provider.voice_id`. Examples: `Telnyx.Ultra.<voice_id>`, `Telnyx.Bayan.Ahmed`,
|
|
97
|
+
# `Telnyx.Sukhan.urdu-professor`, `azure.en-US-AvaMultilingualNeural`,
|
|
98
|
+
# `aws.Polly.Generative.Lucia`. When provided, `provider`, `model_id`, and
|
|
99
|
+
# `voice_id` are extracted automatically and take precedence over individual
|
|
100
|
+
# parameters.
|
|
108
101
|
#
|
|
109
102
|
# @return [String, nil]
|
|
110
103
|
optional :voice, String
|
|
@@ -122,7 +115,7 @@ module Telnyx
|
|
|
122
115
|
# @return [::Telnyx::Models::TextToSpeechGenerateSpeechParams::Xai, nil]
|
|
123
116
|
optional :xai, -> { ::Telnyx::TextToSpeechGenerateSpeechParams::Xai }
|
|
124
117
|
|
|
125
|
-
# @!method initialize(aws: nil, azure: nil, disable_cache: nil, elevenlabs: nil, humain: nil, language: nil, minimax: nil, output_type: nil, provider: nil, resemble: nil,
|
|
118
|
+
# @!method initialize(aws: nil, azure: nil, disable_cache: nil, elevenlabs: nil, humain: nil, language: nil, minimax: nil, output_type: nil, provider: nil, resemble: nil, telnyx: nil, text: nil, text_type: nil, voice: nil, voice_settings: nil, xai: nil, request_options: {})
|
|
126
119
|
# Some parameter documentations has been truncated, see
|
|
127
120
|
# {::Telnyx::Models::TextToSpeechGenerateSpeechParams} for more details.
|
|
128
121
|
#
|
|
@@ -146,9 +139,7 @@ module Telnyx
|
|
|
146
139
|
#
|
|
147
140
|
# @param resemble [::Telnyx::Models::TextToSpeechGenerateSpeechParams::Resemble] Resemble AI provider-specific parameters.
|
|
148
141
|
#
|
|
149
|
-
# @param
|
|
150
|
-
#
|
|
151
|
-
# @param telnyx [::Telnyx::Models::TextToSpeechGenerateSpeechParams::Telnyx] Telnyx provider-specific parameters. Use `voice_speed` and `temperature` for `Na
|
|
142
|
+
# @param telnyx [::Telnyx::Models::TextToSpeechGenerateSpeechParams::Telnyx] Telnyx provider-specific parameters. For the `Ultra` model, use `voice_speed`, `
|
|
152
143
|
#
|
|
153
144
|
# @param text [String] The text to convert to speech.
|
|
154
145
|
#
|
|
@@ -437,7 +428,6 @@ module Telnyx
|
|
|
437
428
|
AZURE = :azure
|
|
438
429
|
ELEVENLABS = :elevenlabs
|
|
439
430
|
MINIMAX = :minimax
|
|
440
|
-
RIME = :rime
|
|
441
431
|
RESEMBLE = :resemble
|
|
442
432
|
XAI = :xai
|
|
443
433
|
HUMAIN = :humain
|
|
@@ -483,35 +473,6 @@ module Telnyx
|
|
|
483
473
|
# @param sample_rate [String] Audio sample rate.
|
|
484
474
|
end
|
|
485
475
|
|
|
486
|
-
class Rime < ::Telnyx::Internal::Type::BaseModel
|
|
487
|
-
# @!attribute response_format
|
|
488
|
-
# Audio output format.
|
|
489
|
-
#
|
|
490
|
-
# @return [String, nil]
|
|
491
|
-
optional :response_format, String
|
|
492
|
-
|
|
493
|
-
# @!attribute sampling_rate
|
|
494
|
-
# Audio sampling rate in Hz.
|
|
495
|
-
#
|
|
496
|
-
# @return [Integer, nil]
|
|
497
|
-
optional :sampling_rate, Integer
|
|
498
|
-
|
|
499
|
-
# @!attribute voice_speed
|
|
500
|
-
# Voice speed multiplier.
|
|
501
|
-
#
|
|
502
|
-
# @return [Float, nil]
|
|
503
|
-
optional :voice_speed, Float
|
|
504
|
-
|
|
505
|
-
# @!method initialize(response_format: nil, sampling_rate: nil, voice_speed: nil)
|
|
506
|
-
# Rime provider-specific parameters.
|
|
507
|
-
#
|
|
508
|
-
# @param response_format [String] Audio output format.
|
|
509
|
-
#
|
|
510
|
-
# @param sampling_rate [Integer] Audio sampling rate in Hz.
|
|
511
|
-
#
|
|
512
|
-
# @param voice_speed [Float] Voice speed multiplier.
|
|
513
|
-
end
|
|
514
|
-
|
|
515
476
|
class Telnyx < ::Telnyx::Internal::Type::BaseModel
|
|
516
477
|
# @!attribute emotion
|
|
517
478
|
# Emotion control for the Ultra model. Adjusts the emotional tone of the
|
|
@@ -532,12 +493,6 @@ module Telnyx
|
|
|
532
493
|
# @return [Integer, nil]
|
|
533
494
|
optional :sampling_rate, Integer
|
|
534
495
|
|
|
535
|
-
# @!attribute temperature
|
|
536
|
-
# Sampling temperature. Applies to `Natural` and `NaturalHD` models only.
|
|
537
|
-
#
|
|
538
|
-
# @return [Float, nil]
|
|
539
|
-
optional :temperature, Float
|
|
540
|
-
|
|
541
496
|
# @!attribute voice_speed
|
|
542
497
|
# Voice speed multiplier. Applies to all models except `Bayan` and `Sukhan`, which
|
|
543
498
|
# don't support it. Range: 0.5 to 2.0.
|
|
@@ -551,12 +506,11 @@ module Telnyx
|
|
|
551
506
|
# @return [Float, nil]
|
|
552
507
|
optional :volume, Float
|
|
553
508
|
|
|
554
|
-
# @!method initialize(emotion: nil, response_format: nil, sampling_rate: nil,
|
|
509
|
+
# @!method initialize(emotion: nil, response_format: nil, sampling_rate: nil, voice_speed: nil, volume: nil)
|
|
555
510
|
# Some parameter documentations has been truncated, see
|
|
556
511
|
# {::Telnyx::Models::TextToSpeechGenerateSpeechParams::Telnyx} for more details.
|
|
557
512
|
#
|
|
558
|
-
# Telnyx provider-specific parameters.
|
|
559
|
-
# `Natural` and `NaturalHD` models. For the `Ultra` model, use `voice_speed`,
|
|
513
|
+
# Telnyx provider-specific parameters. For the `Ultra` model, use `voice_speed`,
|
|
560
514
|
# `volume`, and `emotion`. `Bayan` and `Sukhan` don't use `temperature`, `volume`,
|
|
561
515
|
# or `emotion`, and don't support `voice_speed`. `Sukhan`'s `response_format` is
|
|
562
516
|
# restricted to `mp3` or `pcm` (no `wav`).
|
|
@@ -567,8 +521,6 @@ module Telnyx
|
|
|
567
521
|
#
|
|
568
522
|
# @param sampling_rate [Integer] Audio sampling rate in Hz.
|
|
569
523
|
#
|
|
570
|
-
# @param temperature [Float] Sampling temperature. Applies to `Natural` and `NaturalHD` models only.
|
|
571
|
-
#
|
|
572
524
|
# @param voice_speed [Float] Voice speed multiplier. Applies to all models except `Bayan` and `Sukhan`, which
|
|
573
525
|
#
|
|
574
526
|
# @param volume [Float] Volume level for the Ultra model. Range: 0.0 to 2.0.
|
|
@@ -8,9 +8,8 @@ module Telnyx
|
|
|
8
8
|
include Telnyx::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
10
|
# @!attribute audio_format
|
|
11
|
-
# Audio output format override. Supported for Telnyx models.
|
|
12
|
-
#
|
|
13
|
-
# 24kHz s16le or MP3 at 128kbps 24kHz.
|
|
11
|
+
# Audio output format override. Supported for Telnyx models. The `Ultra` model
|
|
12
|
+
# outputs PCM at 24kHz s16le or MP3 at 128kbps 24kHz.
|
|
14
13
|
#
|
|
15
14
|
# @return [Symbol, Telnyx::Models::TextToSpeechRetrieveSpeechParams::AudioFormat, nil]
|
|
16
15
|
optional :audio_format, enum: -> { Telnyx::TextToSpeechRetrieveSpeechParams::AudioFormat }
|
|
@@ -22,8 +21,8 @@ module Telnyx
|
|
|
22
21
|
optional :disable_cache, Telnyx::Internal::Type::Boolean
|
|
23
22
|
|
|
24
23
|
# @!attribute model_id
|
|
25
|
-
# Model identifier for the chosen provider. Examples: `
|
|
26
|
-
#
|
|
24
|
+
# Model identifier for the chosen provider. Examples: `Ultra`, `KokoroTTS`
|
|
25
|
+
# (Telnyx); `Polly.Generative` (AWS).
|
|
27
26
|
#
|
|
28
27
|
# @return [String, nil]
|
|
29
28
|
optional :model_id, String
|
|
@@ -44,11 +43,11 @@ module Telnyx
|
|
|
44
43
|
|
|
45
44
|
# @!attribute voice
|
|
46
45
|
# Voice identifier in the format `provider.model_id.voice_id` or
|
|
47
|
-
# `provider.voice_id` (e.g. `
|
|
48
|
-
# `Telnyx.
|
|
49
|
-
#
|
|
50
|
-
#
|
|
51
|
-
#
|
|
46
|
+
# `provider.voice_id` (e.g. `Telnyx.Ultra.<voice_id>`, `Telnyx.Bayan.Ahmed`,
|
|
47
|
+
# `Telnyx.Sukhan.urdu-professor`, or `azure.en-US-AvaMultilingualNeural`). When
|
|
48
|
+
# provided, the `provider`, `model_id`, and `voice_id` are extracted
|
|
49
|
+
# automatically. Takes precedence over individual `provider`/`model_id`/`voice_id`
|
|
50
|
+
# parameters.
|
|
52
51
|
#
|
|
53
52
|
# @return [String, nil]
|
|
54
53
|
optional :voice, String
|
|
@@ -63,11 +62,11 @@ module Telnyx
|
|
|
63
62
|
# Some parameter documentations has been truncated, see
|
|
64
63
|
# {Telnyx::Models::TextToSpeechRetrieveSpeechParams} for more details.
|
|
65
64
|
#
|
|
66
|
-
# @param audio_format [Symbol, Telnyx::Models::TextToSpeechRetrieveSpeechParams::AudioFormat] Audio output format override. Supported for Telnyx models.
|
|
65
|
+
# @param audio_format [Symbol, Telnyx::Models::TextToSpeechRetrieveSpeechParams::AudioFormat] Audio output format override. Supported for Telnyx models. The `Ultra` model out
|
|
67
66
|
#
|
|
68
67
|
# @param disable_cache [Boolean] When `true`, bypass the audio cache and generate fresh audio.
|
|
69
68
|
#
|
|
70
|
-
# @param model_id [String] Model identifier for the chosen provider. Examples: `
|
|
69
|
+
# @param model_id [String] Model identifier for the chosen provider. Examples: `Ultra`, `KokoroTTS` (Telnyx
|
|
71
70
|
#
|
|
72
71
|
# @param provider [Symbol, Telnyx::Models::TextToSpeechRetrieveSpeechParams::Provider] TTS provider. Defaults to `telnyx` if not specified. Ignored when `voice` is pro
|
|
73
72
|
#
|
|
@@ -79,9 +78,8 @@ module Telnyx
|
|
|
79
78
|
#
|
|
80
79
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
81
80
|
|
|
82
|
-
# Audio output format override. Supported for Telnyx models.
|
|
83
|
-
#
|
|
84
|
-
# 24kHz s16le or MP3 at 128kbps 24kHz.
|
|
81
|
+
# Audio output format override. Supported for Telnyx models. The `Ultra` model
|
|
82
|
+
# outputs PCM at 24kHz s16le or MP3 at 128kbps 24kHz.
|
|
85
83
|
module AudioFormat
|
|
86
84
|
extend Telnyx::Internal::Type::Enum
|
|
87
85
|
|
|
@@ -104,7 +102,6 @@ module Telnyx
|
|
|
104
102
|
ELEVENLABS = :elevenlabs
|
|
105
103
|
MINIMAX = :minimax
|
|
106
104
|
MURFAI = :murfai
|
|
107
|
-
RIME = :rime
|
|
108
105
|
RESEMBLE = :resemble
|
|
109
106
|
XAI = :xai
|
|
110
107
|
HUMAIN = :humain
|
|
@@ -61,7 +61,7 @@ module Telnyx
|
|
|
61
61
|
# an array of interval snapshots, but object-shaped stats payloads are also
|
|
62
62
|
# allowed for compatibility.
|
|
63
63
|
#
|
|
64
|
-
# @return [Array<Hash{Symbol=>Object}>, Telnyx::Models::VoiceSDKCallReport::Stats::
|
|
64
|
+
# @return [Array<Hash{Symbol=>Object}>, Telnyx::Models::VoiceSDKCallReport::Stats::VoiceSDKCallReportStatsObject, nil]
|
|
65
65
|
optional :stats, union: -> { Telnyx::VoiceSDKCallReport::Stats }
|
|
66
66
|
|
|
67
67
|
# @!attribute stored_at
|
|
@@ -150,7 +150,7 @@ module Telnyx
|
|
|
150
150
|
#
|
|
151
151
|
# @param segment [Integer] Zero-based stats segment index when the SDK sends segmented or intermediate repo
|
|
152
152
|
#
|
|
153
|
-
# @param stats [Array<Hash{Symbol=>Object}>, Telnyx::Models::VoiceSDKCallReport::Stats::
|
|
153
|
+
# @param stats [Array<Hash{Symbol=>Object}>, Telnyx::Models::VoiceSDKCallReport::Stats::VoiceSDKCallReportStatsObject] Raw stats payload emitted by the Voice SDK and stored without normalization. The
|
|
154
154
|
#
|
|
155
155
|
# @param stored_at [Time] Time when the call report was stored.
|
|
156
156
|
#
|
|
@@ -221,9 +221,9 @@ module Telnyx
|
|
|
221
221
|
variant -> { Telnyx::Models::VoiceSDKCallReport::Stats::UnionMember0Array }
|
|
222
222
|
|
|
223
223
|
# Raw stats object emitted by the Voice SDK.
|
|
224
|
-
variant -> { Telnyx::VoiceSDKCallReport::Stats::
|
|
224
|
+
variant -> { Telnyx::VoiceSDKCallReport::Stats::VoiceSDKCallReportStatsObject }
|
|
225
225
|
|
|
226
|
-
class
|
|
226
|
+
class VoiceSDKCallReportStatsObject < Telnyx::Internal::Type::BaseModel
|
|
227
227
|
# @!attribute audio
|
|
228
228
|
# Raw audio stats such as inbound/outbound packet, byte, jitter, packet-loss,
|
|
229
229
|
# bitrate, and audio-level metrics.
|
|
@@ -254,7 +254,8 @@ module Telnyx
|
|
|
254
254
|
|
|
255
255
|
# @!method initialize(audio: nil, connection: nil, ice: nil, transport: nil)
|
|
256
256
|
# Some parameter documentations has been truncated, see
|
|
257
|
-
# {Telnyx::Models::VoiceSDKCallReport::Stats::
|
|
257
|
+
# {Telnyx::Models::VoiceSDKCallReport::Stats::VoiceSDKCallReportStatsObject} for
|
|
258
|
+
# more details.
|
|
258
259
|
#
|
|
259
260
|
# Raw stats object emitted by the Voice SDK.
|
|
260
261
|
#
|
|
@@ -268,7 +269,7 @@ module Telnyx
|
|
|
268
269
|
end
|
|
269
270
|
|
|
270
271
|
# @!method self.variants
|
|
271
|
-
# @return [Array(Array<Hash{Symbol=>Object}>, Telnyx::Models::VoiceSDKCallReport::Stats::
|
|
272
|
+
# @return [Array(Array<Hash{Symbol=>Object}>, Telnyx::Models::VoiceSDKCallReport::Stats::VoiceSDKCallReportStatsObject)]
|
|
272
273
|
|
|
273
274
|
# @type [Telnyx::Internal::Type::Converter]
|
|
274
275
|
UnionMember0Array =
|
|
@@ -8,63 +8,11 @@ module Telnyx
|
|
|
8
8
|
class ConversationalComponentListResponse < Telnyx::Internal::Type::BaseModel
|
|
9
9
|
# @!attribute data
|
|
10
10
|
#
|
|
11
|
-
# @return [Telnyx::Models::Whatsapp::PhoneNumbers::
|
|
12
|
-
optional :data, -> { Telnyx::
|
|
11
|
+
# @return [Telnyx::Models::Whatsapp::PhoneNumbers::WhatsappConversationalComponent, nil]
|
|
12
|
+
optional :data, -> { Telnyx::Whatsapp::PhoneNumbers::WhatsappConversationalComponent }
|
|
13
13
|
|
|
14
14
|
# @!method initialize(data: nil)
|
|
15
|
-
# @param data [Telnyx::Models::Whatsapp::PhoneNumbers::
|
|
16
|
-
|
|
17
|
-
# @see Telnyx::Models::Whatsapp::PhoneNumbers::ConversationalComponentListResponse#data
|
|
18
|
-
class Data < Telnyx::Internal::Type::BaseModel
|
|
19
|
-
# @!attribute commands
|
|
20
|
-
# List of commands
|
|
21
|
-
#
|
|
22
|
-
# @return [Array<Telnyx::Models::Whatsapp::PhoneNumbers::ConversationalComponentListResponse::Data::Command>, nil]
|
|
23
|
-
optional :commands,
|
|
24
|
-
-> { Telnyx::Internal::Type::ArrayOf[Telnyx::Models::Whatsapp::PhoneNumbers::ConversationalComponentListResponse::Data::Command] }
|
|
25
|
-
|
|
26
|
-
# @!attribute ice_breakers
|
|
27
|
-
# List of ice breakers
|
|
28
|
-
#
|
|
29
|
-
# @return [Array<String>, nil]
|
|
30
|
-
optional :ice_breakers, Telnyx::Internal::Type::ArrayOf[String]
|
|
31
|
-
|
|
32
|
-
# @!attribute phone_number
|
|
33
|
-
# Phone number in E164 format
|
|
34
|
-
#
|
|
35
|
-
# @return [String, nil]
|
|
36
|
-
optional :phone_number, String
|
|
37
|
-
|
|
38
|
-
# @!attribute record_type
|
|
39
|
-
#
|
|
40
|
-
# @return [String, nil]
|
|
41
|
-
optional :record_type, String
|
|
42
|
-
|
|
43
|
-
# @!method initialize(commands: nil, ice_breakers: nil, phone_number: nil, record_type: nil)
|
|
44
|
-
# @param commands [Array<Telnyx::Models::Whatsapp::PhoneNumbers::ConversationalComponentListResponse::Data::Command>] List of commands
|
|
45
|
-
#
|
|
46
|
-
# @param ice_breakers [Array<String>] List of ice breakers
|
|
47
|
-
#
|
|
48
|
-
# @param phone_number [String] Phone number in E164 format
|
|
49
|
-
#
|
|
50
|
-
# @param record_type [String]
|
|
51
|
-
|
|
52
|
-
class Command < Telnyx::Internal::Type::BaseModel
|
|
53
|
-
# @!attribute command
|
|
54
|
-
#
|
|
55
|
-
# @return [String, nil]
|
|
56
|
-
optional :command, String
|
|
57
|
-
|
|
58
|
-
# @!attribute description
|
|
59
|
-
#
|
|
60
|
-
# @return [String, nil]
|
|
61
|
-
optional :description, String
|
|
62
|
-
|
|
63
|
-
# @!method initialize(command: nil, description: nil)
|
|
64
|
-
# @param command [String]
|
|
65
|
-
# @param description [String]
|
|
66
|
-
end
|
|
67
|
-
end
|
|
15
|
+
# @param data [Telnyx::Models::Whatsapp::PhoneNumbers::WhatsappConversationalComponent]
|
|
68
16
|
end
|
|
69
17
|
end
|
|
70
18
|
end
|