telnyx 5.167.0 → 5.169.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 +14 -0
- data/README.md +1 -1
- data/lib/telnyx/client.rb +44 -0
- data/lib/telnyx/internal/type/union.rb +6 -6
- data/lib/telnyx/models/ai/assistant_a2_a_agent.rb +195 -0
- data/lib/telnyx/models/ai/assistant_create_params.rb +22 -7
- data/lib/telnyx/models/ai/assistant_tool.rb +285 -12
- data/lib/telnyx/models/ai/assistant_update_params.rb +37 -10
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +37 -10
- data/lib/telnyx/models/ai/audio_transcribe_params.rb +33 -13
- data/lib/telnyx/models/ai/audio_transcribe_response.rb +34 -56
- data/lib/telnyx/models/ai/audio_transcription_response_word.rb +74 -0
- data/lib/telnyx/models/ai/chat_completion_request.rb +128 -74
- data/lib/telnyx/models/ai/flow_node.rb +2 -2
- data/lib/telnyx/models/ai/inference_embedding.rb +29 -11
- data/lib/telnyx/models/ai/inference_embedding_interruption_settings.rb +10 -1
- data/lib/telnyx/models/ai/inference_embedding_webhook_tool_params.rb +21 -1
- data/lib/telnyx/models/ai/openai/function_definition.rb +31 -0
- data/lib/telnyx/models/ai/post_conversation_settings.rb +4 -4
- data/lib/telnyx/models/ai/post_conversation_settings_req.rb +4 -4
- data/lib/telnyx/models/ai/privacy_settings.rb +20 -1
- data/lib/telnyx/models/ai/retrieval_tool.rb +21 -1
- data/lib/telnyx/models/ai/telephony_settings.rb +101 -17
- data/lib/telnyx/models/ai/tool_node.rb +2 -2
- data/lib/telnyx/models/ai/transcription_settings.rb +12 -4
- data/lib/telnyx/models/ai/transcription_settings_config.rb +12 -11
- data/lib/telnyx/models/ai/typesafe/v1_systemone_params.rb +268 -0
- data/lib/telnyx/models/ai/typesafe/v1_systemone_response.rb +222 -0
- data/lib/telnyx/models/bot_challenge_create_params.rb +38 -0
- data/lib/telnyx/models/bot_challenge_create_response.rb +87 -0
- data/lib/telnyx/models/bot_session_list_params.rb +34 -0
- data/lib/telnyx/models/bot_session_list_response.rb +32 -0
- data/lib/telnyx/models/bot_signup_create_params.rb +103 -0
- data/lib/telnyx/models/bot_signup_resend_magic_link_params.rb +22 -0
- data/lib/telnyx/models/call_dial_params.rb +75 -7
- data/lib/telnyx/models/calls/action_transfer_params.rb +75 -7
- data/lib/telnyx/models/calls/transcription_config.rb +14 -3
- data/lib/telnyx/models/calls/transcription_engine_assemblyai_config.rb +6 -3
- data/lib/telnyx/models/calls/transcription_engine_parakeet_config.rb +1 -0
- data/lib/telnyx/models/compute/func_retrieve_logs_params.rb +66 -0
- data/lib/telnyx/models/compute/func_retrieve_logs_response.rb +161 -0
- data/lib/telnyx/models/compute/func_retrieve_metric_aggregates_params.rb +69 -0
- data/lib/telnyx/models/compute/func_retrieve_metric_aggregates_response.rb +137 -0
- data/lib/telnyx/models/compute/func_retrieve_revisions_params.rb +34 -0
- data/lib/telnyx/models/compute/func_retrieve_revisions_response.rb +101 -0
- data/lib/telnyx/models/compute/func_retrieve_ship_inspection_params.rb +22 -0
- data/lib/telnyx/models/compute/func_retrieve_ship_inspection_response.rb +94 -0
- data/lib/telnyx/models/compute/funcs/export_create_params.rb +62 -0
- data/lib/telnyx/models/compute/funcs/export_delete_all_params.rb +24 -0
- data/lib/telnyx/models/compute/funcs/export_list_params.rb +24 -0
- data/lib/telnyx/models/compute/funcs/func_log_export_config_response.rb +113 -0
- data/lib/telnyx/models/compute/functions_observability_pagination_meta.rb +35 -0
- data/lib/telnyx/models/compute/logs_meta.rb +23 -0
- data/lib/telnyx/models/connection_retrieve_count_params.rb +14 -0
- data/lib/telnyx/models/connection_retrieve_count_response.rb +215 -0
- data/lib/telnyx/models/credential_connection.rb +4 -1
- data/lib/telnyx/models/detail_record_list_params.rb +19 -2
- data/lib/telnyx/models/email_inboxes/email_message.rb +12 -1
- data/lib/telnyx/models/email_message_batch_params.rb +4 -1
- data/lib/telnyx/models/email_message_batch_response.rb +1 -0
- data/lib/telnyx/models/fqdn_connection.rb +5 -2
- data/lib/telnyx/models/fqdn_connections/fqdn_authentication.rb +9 -2
- data/lib/telnyx/models/inbound_message_webhook_event.rb +3 -70
- data/lib/telnyx/models/machine_payment_account_credit_params.rb +29 -0
- data/lib/telnyx/models/machine_payment_account_credit_response.rb +223 -0
- data/lib/telnyx/models/message_retrieve_group_messages_response.rb +3 -3
- data/lib/telnyx/models/message_retrieve_response.rb +4 -4
- data/lib/telnyx/models/message_schedule_response.rb +3 -3
- data/lib/telnyx/models/message_send_group_mms_response.rb +3 -3
- data/lib/telnyx/models/message_send_long_code_response.rb +3 -3
- data/lib/telnyx/models/message_send_number_pool_response.rb +3 -3
- data/lib/telnyx/models/message_send_response.rb +3 -3
- data/lib/telnyx/models/message_send_short_code_response.rb +3 -3
- data/lib/telnyx/models/messaging_inbound_message.rb +71 -0
- data/lib/telnyx/models/messaging_inbound_message_payload.rb +412 -66
- data/lib/telnyx/models/messaging_messaging_profile.rb +11 -1
- data/lib/telnyx/models/messaging_outbound_message_payload.rb +42 -2
- data/lib/telnyx/models/messaging_profile_create_params.rb +11 -1
- data/lib/telnyx/models/messaging_profile_features.rb +26 -0
- data/lib/telnyx/models/messaging_profile_update_params.rb +11 -1
- data/lib/telnyx/models/noise_suppression_engine_list_params.rb +14 -0
- data/lib/telnyx/models/noise_suppression_engine_list_response.rb +50 -0
- data/lib/telnyx/models/number_order_status_update.rb +15 -3
- data/lib/telnyx/models/number_order_status_update_webhook_event.rb +15 -3
- data/lib/telnyx/models/outbound_message.rb +1 -0
- data/lib/telnyx/models/outbound_message_payload.rb +45 -5
- data/lib/telnyx/models/speech_to_text_retrieve_transcription_params.rb +1 -0
- data/lib/telnyx/models/success_response.rb +27 -0
- data/lib/telnyx/models/texml/accounts/call_calls_params.rb +246 -3
- data/lib/telnyx/models/texml/accounts/conferences/participant_participants_params.rb +82 -1
- data/lib/telnyx/models/texml/call_create_params.rb +78 -0
- data/lib/telnyx/models/texml/call_create_response.rb +55 -0
- data/lib/telnyx/models/texml_initiate_ai_call_params.rb +76 -1
- data/lib/telnyx/models/uac_connection.rb +4 -1
- data/lib/telnyx/models/uac_external_settings.rb +6 -2
- data/lib/telnyx/models/unsafe_unwrap_webhook_event.rb +5 -1
- data/lib/telnyx/models/unwrap_webhook_event.rb +5 -1
- data/lib/telnyx/models/voice_clone_create_from_upload_params.rb +2 -2
- data/lib/telnyx/models/whatsapp/business_accounts/phone_number_list_response.rb +104 -1
- data/lib/telnyx/models/whatsapp/phone_number_get_response.rb +103 -1
- data/lib/telnyx/models/whatsapp/phone_number_list_response.rb +103 -1
- data/lib/telnyx/models/whatsapp/phone_number_retrieve_phone_number_params.rb +22 -0
- data/lib/telnyx/models/whatsapp/phone_number_retrieve_phone_number_response.rb +207 -0
- data/lib/telnyx/models/whatsapp_account_update.rb +112 -0
- data/lib/telnyx/models/whatsapp_message_echo.rb +340 -0
- data/lib/telnyx/models/x402/credit_account/payment_list_params.rb +34 -0
- data/lib/telnyx/models/x402/credit_account/payment_retrieve_params.rb +24 -0
- data/lib/telnyx/models/x402/credit_account/payment_retrieve_response.rb +21 -0
- data/lib/telnyx/models/x402/credit_account/x402_transaction_record.rb +113 -0
- data/lib/telnyx/models.rb +26 -0
- data/lib/telnyx/resources/ai/assistants/versions.rb +4 -2
- data/lib/telnyx/resources/ai/assistants.rb +8 -4
- data/lib/telnyx/resources/ai/audio.rb +2 -2
- data/lib/telnyx/resources/ai/openai/chat.rb +2 -8
- data/lib/telnyx/resources/ai/typesafe/v1.rb +62 -0
- data/lib/telnyx/resources/ai/typesafe.rb +22 -0
- data/lib/telnyx/resources/ai.rb +4 -0
- data/lib/telnyx/resources/bot_challenge.rb +53 -0
- data/lib/telnyx/resources/bot_sessions.rb +57 -0
- data/lib/telnyx/resources/bot_signup.rb +97 -0
- data/lib/telnyx/resources/calls/actions.rb +1 -1
- data/lib/telnyx/resources/calls.rb +1 -1
- data/lib/telnyx/resources/compute/funcs/export.rb +105 -0
- data/lib/telnyx/resources/compute/funcs.rb +145 -0
- data/lib/telnyx/resources/compute.rb +18 -0
- data/lib/telnyx/resources/connections.rb +20 -0
- data/lib/telnyx/resources/detail_records.rb +1 -1
- data/lib/telnyx/resources/email_messages.rb +6 -2
- data/lib/telnyx/resources/machine_payments.rb +73 -0
- data/lib/telnyx/resources/messaging_profiles.rb +6 -2
- data/lib/telnyx/resources/noise_suppression_engines.rb +37 -0
- data/lib/telnyx/resources/texml/accounts/conferences/participants.rb +15 -1
- data/lib/telnyx/resources/texml/calls.rb +57 -0
- data/lib/telnyx/resources/texml.rb +20 -1
- data/lib/telnyx/resources/voice_clones.rb +4 -2
- data/lib/telnyx/resources/webhooks.rb +2 -2
- data/lib/telnyx/resources/whatsapp/phone_numbers.rb +22 -0
- data/lib/telnyx/resources/x402/credit_account/payments.rb +71 -0
- data/lib/telnyx/resources/x402/credit_account.rb +8 -2
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +56 -0
- data/rbi/telnyx/client.rbi +38 -0
- data/rbi/telnyx/models/ai/assistant_a2_a_agent.rbi +345 -0
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +45 -12
- data/rbi/telnyx/models/ai/assistant_tool.rbi +423 -20
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +73 -16
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +73 -16
- data/rbi/telnyx/models/ai/audio_transcribe_params.rbi +71 -20
- data/rbi/telnyx/models/ai/audio_transcribe_response.rbi +63 -97
- data/rbi/telnyx/models/ai/audio_transcription_response_word.rbi +108 -0
- data/rbi/telnyx/models/ai/chat_completion_request.rbi +228 -150
- data/rbi/telnyx/models/ai/flow_node.rbi +4 -2
- data/rbi/telnyx/models/ai/inference_embedding.rbi +53 -16
- data/rbi/telnyx/models/ai/inference_embedding_interruption_settings.rbi +10 -0
- data/rbi/telnyx/models/ai/inference_embedding_webhook_tool_params.rbi +29 -3
- data/rbi/telnyx/models/ai/openai/function_definition.rbi +56 -0
- data/rbi/telnyx/models/ai/post_conversation_settings.rbi +4 -4
- data/rbi/telnyx/models/ai/post_conversation_settings_req.rbi +4 -4
- data/rbi/telnyx/models/ai/privacy_settings.rbi +43 -3
- data/rbi/telnyx/models/ai/retrieval_tool.rbi +29 -3
- data/rbi/telnyx/models/ai/telephony_settings.rbi +197 -20
- data/rbi/telnyx/models/ai/tool_node.rbi +4 -2
- data/rbi/telnyx/models/ai/transcription_settings.rbi +25 -6
- data/rbi/telnyx/models/ai/transcription_settings_config.rbi +18 -16
- data/rbi/telnyx/models/ai/typesafe/v1_systemone_params.rbi +504 -0
- data/rbi/telnyx/models/ai/typesafe/v1_systemone_response.rbi +348 -0
- data/rbi/telnyx/models/bot_challenge_create_params.rbi +68 -0
- data/rbi/telnyx/models/bot_challenge_create_response.rbi +169 -0
- data/rbi/telnyx/models/bot_session_list_params.rbi +53 -0
- data/rbi/telnyx/models/bot_session_list_response.rbi +64 -0
- data/rbi/telnyx/models/bot_signup_create_params.rbi +179 -0
- data/rbi/telnyx/models/bot_signup_resend_magic_link_params.rbi +43 -0
- data/rbi/telnyx/models/call_dial_params.rbi +111 -10
- data/rbi/telnyx/models/calls/action_transfer_params.rbi +111 -10
- data/rbi/telnyx/models/calls/transcription_config.rbi +29 -5
- data/rbi/telnyx/models/calls/transcription_engine_assemblyai_config.rbi +11 -3
- data/rbi/telnyx/models/calls/transcription_engine_parakeet_config.rbi +5 -0
- data/rbi/telnyx/models/compute/func_retrieve_logs_params.rbi +130 -0
- data/rbi/telnyx/models/compute/func_retrieve_logs_response.rbi +410 -0
- data/rbi/telnyx/models/compute/func_retrieve_metric_aggregates_params.rbi +102 -0
- data/rbi/telnyx/models/compute/func_retrieve_metric_aggregates_response.rbi +231 -0
- data/rbi/telnyx/models/compute/func_retrieve_revisions_params.rbi +59 -0
- data/rbi/telnyx/models/compute/func_retrieve_revisions_response.rbi +213 -0
- data/rbi/telnyx/models/compute/func_retrieve_ship_inspection_params.rbi +40 -0
- data/rbi/telnyx/models/compute/func_retrieve_ship_inspection_response.rbi +252 -0
- data/rbi/telnyx/models/compute/funcs/export_create_params.rbi +84 -0
- data/rbi/telnyx/models/compute/funcs/export_delete_all_params.rbi +42 -0
- data/rbi/telnyx/models/compute/funcs/export_list_params.rbi +42 -0
- data/rbi/telnyx/models/compute/funcs/func_log_export_config_response.rbi +227 -0
- data/rbi/telnyx/models/compute/functions_observability_pagination_meta.rbi +70 -0
- data/rbi/telnyx/models/compute/logs_meta.rbi +38 -0
- data/rbi/telnyx/models/connection_retrieve_count_params.rbi +30 -0
- data/rbi/telnyx/models/connection_retrieve_count_response.rbi +353 -0
- data/rbi/telnyx/models/credential_connection.rbi +8 -2
- data/rbi/telnyx/models/detail_record_list_params.rbi +30 -2
- data/rbi/telnyx/models/email_inboxes/email_message.rbi +22 -3
- data/rbi/telnyx/models/email_message_batch_params.rbi +6 -0
- data/rbi/telnyx/models/email_message_batch_response.rbi +5 -0
- data/rbi/telnyx/models/fqdn_connection.rbi +8 -2
- data/rbi/telnyx/models/fqdn_connections/fqdn_authentication.rbi +8 -2
- data/rbi/telnyx/models/inbound_message_webhook_event.rbi +4 -173
- data/rbi/telnyx/models/machine_payment_account_credit_params.rbi +51 -0
- data/rbi/telnyx/models/machine_payment_account_credit_response.rbi +446 -0
- data/rbi/telnyx/models/message_retrieve_group_messages_response.rbi +6 -12
- data/rbi/telnyx/models/message_retrieve_response.rbi +3 -3
- data/rbi/telnyx/models/message_schedule_response.rbi +4 -6
- data/rbi/telnyx/models/message_send_group_mms_response.rbi +4 -6
- data/rbi/telnyx/models/message_send_long_code_response.rbi +4 -6
- data/rbi/telnyx/models/message_send_number_pool_response.rbi +4 -6
- data/rbi/telnyx/models/message_send_response.rbi +4 -6
- data/rbi/telnyx/models/message_send_short_code_response.rbi +4 -6
- data/rbi/telnyx/models/messaging_inbound_message.rbi +152 -0
- data/rbi/telnyx/models/messaging_inbound_message_payload.rbi +911 -192
- data/rbi/telnyx/models/messaging_messaging_profile.rbi +19 -0
- data/rbi/telnyx/models/messaging_outbound_message_payload.rbi +90 -16
- data/rbi/telnyx/models/messaging_profile_create_params.rbi +19 -0
- data/rbi/telnyx/models/messaging_profile_features.rbi +43 -0
- data/rbi/telnyx/models/messaging_profile_update_params.rbi +19 -0
- data/rbi/telnyx/models/noise_suppression_engine_list_params.rbi +30 -0
- data/rbi/telnyx/models/noise_suppression_engine_list_response.rbi +94 -0
- data/rbi/telnyx/models/number_order_status_update.rbi +34 -3
- data/rbi/telnyx/models/number_order_status_update_webhook_event.rbi +39 -3
- data/rbi/telnyx/models/outbound_message.rbi +5 -0
- data/rbi/telnyx/models/outbound_message_payload.rbi +74 -4
- data/rbi/telnyx/models/speech_to_text_retrieve_transcription_params.rbi +5 -0
- data/rbi/telnyx/models/success_response.rbi +36 -0
- data/rbi/telnyx/models/texml/accounts/call_calls_params.rbi +339 -0
- data/rbi/telnyx/models/texml/accounts/conferences/participant_participants_params.rbi +111 -0
- data/rbi/telnyx/models/texml/call_create_params.rbi +124 -0
- data/rbi/telnyx/models/texml/call_create_response.rbi +98 -0
- data/rbi/telnyx/models/texml_initiate_ai_call_params.rbi +103 -0
- data/rbi/telnyx/models/uac_connection.rbi +8 -2
- data/rbi/telnyx/models/uac_external_settings.rbi +10 -2
- data/rbi/telnyx/models/unsafe_unwrap_webhook_event.rbi +3 -1
- data/rbi/telnyx/models/unwrap_webhook_event.rbi +3 -1
- data/rbi/telnyx/models/voice_clone_create_from_upload_params.rbi +4 -4
- data/rbi/telnyx/models/whatsapp/business_accounts/phone_number_list_response.rbi +213 -0
- data/rbi/telnyx/models/whatsapp/phone_number_get_response.rbi +213 -0
- data/rbi/telnyx/models/whatsapp/phone_number_list_response.rbi +213 -0
- data/rbi/telnyx/models/whatsapp/phone_number_retrieve_phone_number_params.rbi +40 -0
- data/rbi/telnyx/models/whatsapp/phone_number_retrieve_phone_number_response.rbi +401 -0
- data/rbi/telnyx/models/whatsapp_account_update.rbi +236 -0
- data/rbi/telnyx/models/whatsapp_message_echo.rbi +611 -0
- data/rbi/telnyx/models/x402/credit_account/payment_list_params.rbi +64 -0
- data/rbi/telnyx/models/x402/credit_account/payment_retrieve_params.rbi +42 -0
- data/rbi/telnyx/models/x402/credit_account/payment_retrieve_response.rbi +53 -0
- data/rbi/telnyx/models/x402/credit_account/x402_transaction_record.rbi +219 -0
- data/rbi/telnyx/models.rbi +29 -0
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +31 -7
- data/rbi/telnyx/resources/ai/assistants.rbi +46 -12
- data/rbi/telnyx/resources/ai/audio.rbi +20 -9
- data/rbi/telnyx/resources/ai/openai/chat.rbi +9 -13
- data/rbi/telnyx/resources/ai/typesafe/v1.rbi +61 -0
- data/rbi/telnyx/resources/ai/typesafe.rbi +19 -0
- data/rbi/telnyx/resources/ai.rbi +3 -0
- data/rbi/telnyx/resources/bot_challenge.rbi +45 -0
- data/rbi/telnyx/resources/bot_sessions.rbi +45 -0
- data/rbi/telnyx/resources/bot_signup.rbi +87 -0
- data/rbi/telnyx/resources/calls/actions.rbi +6 -5
- data/rbi/telnyx/resources/calls.rbi +6 -5
- data/rbi/telnyx/resources/compute/funcs/export.rbi +86 -0
- data/rbi/telnyx/resources/compute/funcs.rbi +114 -0
- data/rbi/telnyx/resources/compute.rbi +15 -0
- data/rbi/telnyx/resources/connections.rbi +11 -0
- data/rbi/telnyx/resources/detail_records.rbi +12 -1
- data/rbi/telnyx/resources/email_messages.rbi +8 -2
- data/rbi/telnyx/resources/machine_payments.rbi +64 -0
- data/rbi/telnyx/resources/messaging_profiles.rbi +10 -0
- data/rbi/telnyx/resources/noise_suppression_engines.rbi +26 -0
- data/rbi/telnyx/resources/texml/accounts/conferences/participants.rbi +32 -0
- data/rbi/telnyx/resources/texml/calls.rbi +50 -0
- data/rbi/telnyx/resources/texml.rbi +36 -0
- data/rbi/telnyx/resources/voice_clones.rbi +4 -2
- data/rbi/telnyx/resources/webhooks.rbi +6 -2
- data/rbi/telnyx/resources/whatsapp/phone_numbers.rbi +18 -0
- data/rbi/telnyx/resources/x402/credit_account/payments.rbi +60 -0
- data/rbi/telnyx/resources/x402/credit_account.rbi +5 -0
- data/sig/telnyx/client.rbs +12 -0
- data/sig/telnyx/models/ai/assistant_a2_a_agent.rbs +140 -0
- data/sig/telnyx/models/ai/assistant_create_params.rbs +9 -0
- data/sig/telnyx/models/ai/assistant_tool.rbs +162 -23
- data/sig/telnyx/models/ai/assistant_update_params.rbs +9 -0
- data/sig/telnyx/models/ai/assistants/update_assistant.rbs +9 -0
- data/sig/telnyx/models/ai/audio_transcribe_params.rbs +10 -0
- data/sig/telnyx/models/ai/audio_transcribe_response.rbs +29 -43
- data/sig/telnyx/models/ai/audio_transcription_response_word.rbs +60 -0
- data/sig/telnyx/models/ai/chat_completion_request.rbs +90 -79
- data/sig/telnyx/models/ai/inference_embedding.rbs +9 -0
- data/sig/telnyx/models/ai/inference_embedding_interruption_settings.rbs +5 -0
- data/sig/telnyx/models/ai/inference_embedding_webhook_tool_params.rbs +10 -3
- data/sig/telnyx/models/ai/openai/function_definition.rbs +34 -0
- data/sig/telnyx/models/ai/privacy_settings.rbs +11 -3
- data/sig/telnyx/models/ai/retrieval_tool.rbs +10 -3
- data/sig/telnyx/models/ai/telephony_settings.rbs +59 -4
- data/sig/telnyx/models/ai/transcription_settings.rbs +4 -0
- data/sig/telnyx/models/ai/typesafe/v1_systemone_params.rbs +195 -0
- data/sig/telnyx/models/ai/typesafe/v1_systemone_response.rbs +141 -0
- data/sig/telnyx/models/bot_challenge_create_params.rbs +42 -0
- data/sig/telnyx/models/bot_challenge_create_response.rbs +72 -0
- data/sig/telnyx/models/bot_session_list_params.rbs +28 -0
- data/sig/telnyx/models/bot_session_list_response.rbs +26 -0
- data/sig/telnyx/models/bot_signup_create_params.rbs +89 -0
- data/sig/telnyx/models/bot_signup_resend_magic_link_params.rbs +20 -0
- data/sig/telnyx/models/call_dial_params.rbs +49 -0
- data/sig/telnyx/models/calls/action_transfer_params.rbs +49 -0
- data/sig/telnyx/models/calls/transcription_config.rbs +4 -0
- data/sig/telnyx/models/calls/transcription_engine_assemblyai_config.rbs +3 -1
- data/sig/telnyx/models/calls/transcription_engine_parakeet_config.rbs +3 -1
- data/sig/telnyx/models/compute/func_retrieve_logs_params.rbs +69 -0
- data/sig/telnyx/models/compute/func_retrieve_logs_response.rbs +210 -0
- data/sig/telnyx/models/compute/func_retrieve_metric_aggregates_params.rbs +66 -0
- data/sig/telnyx/models/compute/func_retrieve_metric_aggregates_response.rbs +149 -0
- data/sig/telnyx/models/compute/func_retrieve_revisions_params.rbs +38 -0
- data/sig/telnyx/models/compute/func_retrieve_revisions_response.rbs +131 -0
- data/sig/telnyx/models/compute/func_retrieve_ship_inspection_params.rbs +22 -0
- data/sig/telnyx/models/compute/func_retrieve_ship_inspection_response.rbs +117 -0
- data/sig/telnyx/models/compute/funcs/export_create_params.rbs +50 -0
- data/sig/telnyx/models/compute/funcs/export_delete_all_params.rbs +27 -0
- data/sig/telnyx/models/compute/funcs/export_list_params.rbs +27 -0
- data/sig/telnyx/models/compute/funcs/func_log_export_config_response.rbs +115 -0
- data/sig/telnyx/models/compute/functions_observability_pagination_meta.rbs +45 -0
- data/sig/telnyx/models/compute/logs_meta.rbs +21 -0
- data/sig/telnyx/models/connection_retrieve_count_params.rbs +15 -0
- data/sig/telnyx/models/connection_retrieve_count_response.rbs +169 -0
- data/sig/telnyx/models/email_inboxes/email_message.rbs +12 -3
- data/sig/telnyx/models/email_message_batch_response.rbs +2 -0
- data/sig/telnyx/models/inbound_message_webhook_event.rbs +6 -79
- data/sig/telnyx/models/machine_payment_account_credit_params.rbs +23 -0
- data/sig/telnyx/models/machine_payment_account_credit_response.rbs +164 -0
- data/sig/telnyx/models/message_retrieve_group_messages_response.rbs +6 -8
- data/sig/telnyx/models/message_retrieve_response.rbs +1 -2
- data/sig/telnyx/models/message_schedule_response.rbs +6 -7
- data/sig/telnyx/models/message_send_group_mms_response.rbs +6 -6
- data/sig/telnyx/models/message_send_long_code_response.rbs +6 -6
- data/sig/telnyx/models/message_send_number_pool_response.rbs +6 -6
- data/sig/telnyx/models/message_send_response.rbs +6 -7
- data/sig/telnyx/models/message_send_short_code_response.rbs +6 -6
- data/sig/telnyx/models/messaging_inbound_message.rbs +76 -0
- data/sig/telnyx/models/messaging_inbound_message_payload.rbs +438 -97
- data/sig/telnyx/models/messaging_messaging_profile.rbs +5 -0
- data/sig/telnyx/models/messaging_outbound_message_payload.rbs +39 -1
- data/sig/telnyx/models/messaging_profile_create_params.rbs +5 -0
- data/sig/telnyx/models/messaging_profile_features.rbs +15 -0
- data/sig/telnyx/models/messaging_profile_update_params.rbs +5 -0
- data/sig/telnyx/models/noise_suppression_engine_list_params.rbs +15 -0
- data/sig/telnyx/models/noise_suppression_engine_list_response.rbs +43 -0
- data/sig/telnyx/models/number_order_status_update.rbs +14 -4
- data/sig/telnyx/models/number_order_status_update_webhook_event.rbs +14 -4
- data/sig/telnyx/models/outbound_message.rbs +2 -1
- data/sig/telnyx/models/outbound_message_payload.rbs +45 -7
- data/sig/telnyx/models/speech_to_text_retrieve_transcription_params.rbs +2 -0
- data/sig/telnyx/models/success_response.rbs +15 -0
- data/sig/telnyx/models/texml/accounts/call_calls_params.rbs +159 -0
- data/sig/telnyx/models/texml/accounts/conferences/participant_participants_params.rbs +49 -0
- data/sig/telnyx/models/texml/call_create_params.rbs +72 -0
- data/sig/telnyx/models/texml/call_create_response.rbs +47 -0
- data/sig/telnyx/models/texml_initiate_ai_call_params.rbs +49 -0
- data/sig/telnyx/models/unsafe_unwrap_webhook_event.rbs +2 -0
- data/sig/telnyx/models/unwrap_webhook_event.rbs +2 -0
- data/sig/telnyx/models/whatsapp/business_accounts/phone_number_list_response.rbs +90 -0
- data/sig/telnyx/models/whatsapp/phone_number_get_response.rbs +90 -0
- data/sig/telnyx/models/whatsapp/phone_number_list_response.rbs +90 -0
- data/sig/telnyx/models/whatsapp/phone_number_retrieve_phone_number_params.rbs +25 -0
- data/sig/telnyx/models/whatsapp/phone_number_retrieve_phone_number_response.rbs +201 -0
- data/sig/telnyx/models/whatsapp_account_update.rbs +107 -0
- data/sig/telnyx/models/whatsapp_message_echo.rbs +291 -0
- data/sig/telnyx/models/x402/credit_account/payment_list_params.rbs +36 -0
- data/sig/telnyx/models/x402/credit_account/payment_retrieve_params.rbs +27 -0
- data/sig/telnyx/models/x402/credit_account/payment_retrieve_response.rbs +26 -0
- data/sig/telnyx/models/x402/credit_account/x402_transaction_record.rbs +104 -0
- data/sig/telnyx/models.rbs +26 -0
- data/sig/telnyx/resources/ai/assistants/versions.rbs +1 -0
- data/sig/telnyx/resources/ai/assistants.rbs +2 -0
- data/sig/telnyx/resources/ai/openai/chat.rbs +1 -4
- data/sig/telnyx/resources/ai/typesafe/v1.rbs +17 -0
- data/sig/telnyx/resources/ai/typesafe.rbs +11 -0
- data/sig/telnyx/resources/ai.rbs +2 -0
- data/sig/telnyx/resources/bot_challenge.rbs +14 -0
- data/sig/telnyx/resources/bot_sessions.rbs +13 -0
- data/sig/telnyx/resources/bot_signup.rbs +24 -0
- data/sig/telnyx/resources/compute/funcs/export.rbs +30 -0
- data/sig/telnyx/resources/compute/funcs.rbs +43 -0
- data/sig/telnyx/resources/compute.rbs +9 -0
- data/sig/telnyx/resources/connections.rbs +4 -0
- data/sig/telnyx/resources/machine_payments.rbs +12 -0
- data/sig/telnyx/resources/messaging_profiles.rbs +2 -0
- data/sig/telnyx/resources/noise_suppression_engines.rbs +11 -0
- data/sig/telnyx/resources/texml/accounts/conferences/participants.rbs +7 -0
- data/sig/telnyx/resources/texml/calls.rbs +19 -0
- data/sig/telnyx/resources/texml.rbs +9 -0
- data/sig/telnyx/resources/webhooks.rbs +6 -2
- data/sig/telnyx/resources/whatsapp/phone_numbers.rbs +5 -0
- data/sig/telnyx/resources/x402/credit_account/payments.rbs +22 -0
- data/sig/telnyx/resources/x402/credit_account.rbs +2 -0
- metadata +170 -2
|
@@ -280,6 +280,35 @@ module Telnyx
|
|
|
280
280
|
end
|
|
281
281
|
attr_writer :machine_detection
|
|
282
282
|
|
|
283
|
+
# Highest frequency, in Hz, that a tone can reach and still be treated as a beep.
|
|
284
|
+
# Only used when MachineDetection is enabled.
|
|
285
|
+
sig { returns(T.nilable(Integer)) }
|
|
286
|
+
attr_reader :machine_detection_beep_max_frequency
|
|
287
|
+
|
|
288
|
+
sig { params(machine_detection_beep_max_frequency: Integer).void }
|
|
289
|
+
attr_writer :machine_detection_beep_max_frequency
|
|
290
|
+
|
|
291
|
+
# Lowest frequency, in Hz, that a tone must reach to be treated as a beep. Raising
|
|
292
|
+
# it above 480 excludes North American ringback (440 + 480 Hz), which can
|
|
293
|
+
# otherwise be reported as a beep when the `freq_only` profile is in use. Only
|
|
294
|
+
# used when MachineDetection is enabled.
|
|
295
|
+
sig { returns(T.nilable(Integer)) }
|
|
296
|
+
attr_reader :machine_detection_beep_min_frequency
|
|
297
|
+
|
|
298
|
+
sig { params(machine_detection_beep_min_frequency: Integer).void }
|
|
299
|
+
attr_writer :machine_detection_beep_min_frequency
|
|
300
|
+
|
|
301
|
+
# Shortest tone, in milliseconds, that can be treated as a beep. Raising it
|
|
302
|
+
# rejects brief tones such as call-progress blips. Only used when MachineDetection
|
|
303
|
+
# is enabled.
|
|
304
|
+
sig { returns(T.nilable(Integer)) }
|
|
305
|
+
attr_reader :machine_detection_beep_min_tone_duration
|
|
306
|
+
|
|
307
|
+
sig do
|
|
308
|
+
params(machine_detection_beep_min_tone_duration: Integer).void
|
|
309
|
+
end
|
|
310
|
+
attr_writer :machine_detection_beep_min_tone_duration
|
|
311
|
+
|
|
283
312
|
# Selects which detectors must validate a beep. `both` requires the amplitude and
|
|
284
313
|
# frequency detectors to agree. `freq_only` uses the frequency detector alone, for
|
|
285
314
|
# beeps whose volume is too unsteady for the default profile. Only used when
|
|
@@ -301,6 +330,51 @@ module Telnyx
|
|
|
301
330
|
end
|
|
302
331
|
attr_writer :machine_detection_beep_profile
|
|
303
332
|
|
|
333
|
+
# When enabled, a candidate beep must pass an additional spectral check before it
|
|
334
|
+
# is reported. Only used when MachineDetection is enabled.
|
|
335
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
336
|
+
attr_reader :machine_detection_beep_spectral_confirmation
|
|
337
|
+
|
|
338
|
+
sig do
|
|
339
|
+
params(
|
|
340
|
+
machine_detection_beep_spectral_confirmation: T::Boolean
|
|
341
|
+
).void
|
|
342
|
+
end
|
|
343
|
+
attr_writer :machine_detection_beep_spectral_confirmation
|
|
344
|
+
|
|
345
|
+
# Minimum spectral purity, from 0 to 1, for a tone to be treated as a beep.
|
|
346
|
+
# Raising it rejects mixed tones such as ringback, which combines two frequencies.
|
|
347
|
+
# Only used when MachineDetection is enabled.
|
|
348
|
+
sig { returns(T.nilable(Float)) }
|
|
349
|
+
attr_reader :machine_detection_beep_spectral_min_purity
|
|
350
|
+
|
|
351
|
+
sig do
|
|
352
|
+
params(machine_detection_beep_spectral_min_purity: Float).void
|
|
353
|
+
end
|
|
354
|
+
attr_writer :machine_detection_beep_spectral_min_purity
|
|
355
|
+
|
|
356
|
+
# When enabled, the fax CNG tone is rejected rather than reported as a beep. Only
|
|
357
|
+
# used when MachineDetection is enabled.
|
|
358
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
359
|
+
attr_reader :machine_detection_beep_spectral_reject_fax_cng
|
|
360
|
+
|
|
361
|
+
sig do
|
|
362
|
+
params(
|
|
363
|
+
machine_detection_beep_spectral_reject_fax_cng: T::Boolean
|
|
364
|
+
).void
|
|
365
|
+
end
|
|
366
|
+
attr_writer :machine_detection_beep_spectral_reject_fax_cng
|
|
367
|
+
|
|
368
|
+
# Length of the spectral confirmation window, in milliseconds. Only used when
|
|
369
|
+
# MachineDetection is enabled.
|
|
370
|
+
sig { returns(T.nilable(Integer)) }
|
|
371
|
+
attr_reader :machine_detection_beep_spectral_window
|
|
372
|
+
|
|
373
|
+
sig do
|
|
374
|
+
params(machine_detection_beep_spectral_window: Integer).void
|
|
375
|
+
end
|
|
376
|
+
attr_writer :machine_detection_beep_spectral_window
|
|
377
|
+
|
|
304
378
|
# Silence duration threshold after a call screening prompt before ending prompt
|
|
305
379
|
# detection, in milliseconds. Used when `DetectionMode` is `PremiumCallScreening`.
|
|
306
380
|
sig { returns(T.nilable(Integer)) }
|
|
@@ -650,8 +724,15 @@ module Telnyx
|
|
|
650
724
|
from: String,
|
|
651
725
|
machine_detection:
|
|
652
726
|
Telnyx::Texml::Accounts::CallCallsParams::Body::WithURL::MachineDetection::OrSymbol,
|
|
727
|
+
machine_detection_beep_max_frequency: Integer,
|
|
728
|
+
machine_detection_beep_min_frequency: Integer,
|
|
729
|
+
machine_detection_beep_min_tone_duration: Integer,
|
|
653
730
|
machine_detection_beep_profile:
|
|
654
731
|
Telnyx::Texml::Accounts::CallCallsParams::Body::WithURL::MachineDetectionBeepProfile::OrSymbol,
|
|
732
|
+
machine_detection_beep_spectral_confirmation: T::Boolean,
|
|
733
|
+
machine_detection_beep_spectral_min_purity: Float,
|
|
734
|
+
machine_detection_beep_spectral_reject_fax_cng: T::Boolean,
|
|
735
|
+
machine_detection_beep_spectral_window: Integer,
|
|
655
736
|
machine_detection_prompt_end_timeout: Integer,
|
|
656
737
|
machine_detection_silence_timeout: Integer,
|
|
657
738
|
machine_detection_speech_end_threshold: Integer,
|
|
@@ -739,11 +820,36 @@ module Telnyx
|
|
|
739
820
|
from: nil,
|
|
740
821
|
# Enables Answering Machine Detection.
|
|
741
822
|
machine_detection: nil,
|
|
823
|
+
# Highest frequency, in Hz, that a tone can reach and still be treated as a beep.
|
|
824
|
+
# Only used when MachineDetection is enabled.
|
|
825
|
+
machine_detection_beep_max_frequency: nil,
|
|
826
|
+
# Lowest frequency, in Hz, that a tone must reach to be treated as a beep. Raising
|
|
827
|
+
# it above 480 excludes North American ringback (440 + 480 Hz), which can
|
|
828
|
+
# otherwise be reported as a beep when the `freq_only` profile is in use. Only
|
|
829
|
+
# used when MachineDetection is enabled.
|
|
830
|
+
machine_detection_beep_min_frequency: nil,
|
|
831
|
+
# Shortest tone, in milliseconds, that can be treated as a beep. Raising it
|
|
832
|
+
# rejects brief tones such as call-progress blips. Only used when MachineDetection
|
|
833
|
+
# is enabled.
|
|
834
|
+
machine_detection_beep_min_tone_duration: nil,
|
|
742
835
|
# Selects which detectors must validate a beep. `both` requires the amplitude and
|
|
743
836
|
# frequency detectors to agree. `freq_only` uses the frequency detector alone, for
|
|
744
837
|
# beeps whose volume is too unsteady for the default profile. Only used when
|
|
745
838
|
# MachineDetection is enabled.
|
|
746
839
|
machine_detection_beep_profile: nil,
|
|
840
|
+
# When enabled, a candidate beep must pass an additional spectral check before it
|
|
841
|
+
# is reported. Only used when MachineDetection is enabled.
|
|
842
|
+
machine_detection_beep_spectral_confirmation: nil,
|
|
843
|
+
# Minimum spectral purity, from 0 to 1, for a tone to be treated as a beep.
|
|
844
|
+
# Raising it rejects mixed tones such as ringback, which combines two frequencies.
|
|
845
|
+
# Only used when MachineDetection is enabled.
|
|
846
|
+
machine_detection_beep_spectral_min_purity: nil,
|
|
847
|
+
# When enabled, the fax CNG tone is rejected rather than reported as a beep. Only
|
|
848
|
+
# used when MachineDetection is enabled.
|
|
849
|
+
machine_detection_beep_spectral_reject_fax_cng: nil,
|
|
850
|
+
# Length of the spectral confirmation window, in milliseconds. Only used when
|
|
851
|
+
# MachineDetection is enabled.
|
|
852
|
+
machine_detection_beep_spectral_window: nil,
|
|
747
853
|
# Silence duration threshold after a call screening prompt before ending prompt
|
|
748
854
|
# detection, in milliseconds. Used when `DetectionMode` is `PremiumCallScreening`.
|
|
749
855
|
machine_detection_prompt_end_timeout: nil,
|
|
@@ -854,8 +960,15 @@ module Telnyx
|
|
|
854
960
|
from: String,
|
|
855
961
|
machine_detection:
|
|
856
962
|
Telnyx::Texml::Accounts::CallCallsParams::Body::WithURL::MachineDetection::OrSymbol,
|
|
963
|
+
machine_detection_beep_max_frequency: Integer,
|
|
964
|
+
machine_detection_beep_min_frequency: Integer,
|
|
965
|
+
machine_detection_beep_min_tone_duration: Integer,
|
|
857
966
|
machine_detection_beep_profile:
|
|
858
967
|
Telnyx::Texml::Accounts::CallCallsParams::Body::WithURL::MachineDetectionBeepProfile::OrSymbol,
|
|
968
|
+
machine_detection_beep_spectral_confirmation: T::Boolean,
|
|
969
|
+
machine_detection_beep_spectral_min_purity: Float,
|
|
970
|
+
machine_detection_beep_spectral_reject_fax_cng: T::Boolean,
|
|
971
|
+
machine_detection_beep_spectral_window: Integer,
|
|
859
972
|
machine_detection_prompt_end_timeout: Integer,
|
|
860
973
|
machine_detection_silence_timeout: Integer,
|
|
861
974
|
machine_detection_speech_end_threshold: Integer,
|
|
@@ -1716,6 +1829,35 @@ module Telnyx
|
|
|
1716
1829
|
end
|
|
1717
1830
|
attr_writer :machine_detection
|
|
1718
1831
|
|
|
1832
|
+
# Highest frequency, in Hz, that a tone can reach and still be treated as a beep.
|
|
1833
|
+
# Only used when MachineDetection is enabled.
|
|
1834
|
+
sig { returns(T.nilable(Integer)) }
|
|
1835
|
+
attr_reader :machine_detection_beep_max_frequency
|
|
1836
|
+
|
|
1837
|
+
sig { params(machine_detection_beep_max_frequency: Integer).void }
|
|
1838
|
+
attr_writer :machine_detection_beep_max_frequency
|
|
1839
|
+
|
|
1840
|
+
# Lowest frequency, in Hz, that a tone must reach to be treated as a beep. Raising
|
|
1841
|
+
# it above 480 excludes North American ringback (440 + 480 Hz), which can
|
|
1842
|
+
# otherwise be reported as a beep when the `freq_only` profile is in use. Only
|
|
1843
|
+
# used when MachineDetection is enabled.
|
|
1844
|
+
sig { returns(T.nilable(Integer)) }
|
|
1845
|
+
attr_reader :machine_detection_beep_min_frequency
|
|
1846
|
+
|
|
1847
|
+
sig { params(machine_detection_beep_min_frequency: Integer).void }
|
|
1848
|
+
attr_writer :machine_detection_beep_min_frequency
|
|
1849
|
+
|
|
1850
|
+
# Shortest tone, in milliseconds, that can be treated as a beep. Raising it
|
|
1851
|
+
# rejects brief tones such as call-progress blips. Only used when MachineDetection
|
|
1852
|
+
# is enabled.
|
|
1853
|
+
sig { returns(T.nilable(Integer)) }
|
|
1854
|
+
attr_reader :machine_detection_beep_min_tone_duration
|
|
1855
|
+
|
|
1856
|
+
sig do
|
|
1857
|
+
params(machine_detection_beep_min_tone_duration: Integer).void
|
|
1858
|
+
end
|
|
1859
|
+
attr_writer :machine_detection_beep_min_tone_duration
|
|
1860
|
+
|
|
1719
1861
|
# Selects which detectors must validate a beep. `both` requires the amplitude and
|
|
1720
1862
|
# frequency detectors to agree. `freq_only` uses the frequency detector alone, for
|
|
1721
1863
|
# beeps whose volume is too unsteady for the default profile. Only used when
|
|
@@ -1737,6 +1879,51 @@ module Telnyx
|
|
|
1737
1879
|
end
|
|
1738
1880
|
attr_writer :machine_detection_beep_profile
|
|
1739
1881
|
|
|
1882
|
+
# When enabled, a candidate beep must pass an additional spectral check before it
|
|
1883
|
+
# is reported. Only used when MachineDetection is enabled.
|
|
1884
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
1885
|
+
attr_reader :machine_detection_beep_spectral_confirmation
|
|
1886
|
+
|
|
1887
|
+
sig do
|
|
1888
|
+
params(
|
|
1889
|
+
machine_detection_beep_spectral_confirmation: T::Boolean
|
|
1890
|
+
).void
|
|
1891
|
+
end
|
|
1892
|
+
attr_writer :machine_detection_beep_spectral_confirmation
|
|
1893
|
+
|
|
1894
|
+
# Minimum spectral purity, from 0 to 1, for a tone to be treated as a beep.
|
|
1895
|
+
# Raising it rejects mixed tones such as ringback, which combines two frequencies.
|
|
1896
|
+
# Only used when MachineDetection is enabled.
|
|
1897
|
+
sig { returns(T.nilable(Float)) }
|
|
1898
|
+
attr_reader :machine_detection_beep_spectral_min_purity
|
|
1899
|
+
|
|
1900
|
+
sig do
|
|
1901
|
+
params(machine_detection_beep_spectral_min_purity: Float).void
|
|
1902
|
+
end
|
|
1903
|
+
attr_writer :machine_detection_beep_spectral_min_purity
|
|
1904
|
+
|
|
1905
|
+
# When enabled, the fax CNG tone is rejected rather than reported as a beep. Only
|
|
1906
|
+
# used when MachineDetection is enabled.
|
|
1907
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
1908
|
+
attr_reader :machine_detection_beep_spectral_reject_fax_cng
|
|
1909
|
+
|
|
1910
|
+
sig do
|
|
1911
|
+
params(
|
|
1912
|
+
machine_detection_beep_spectral_reject_fax_cng: T::Boolean
|
|
1913
|
+
).void
|
|
1914
|
+
end
|
|
1915
|
+
attr_writer :machine_detection_beep_spectral_reject_fax_cng
|
|
1916
|
+
|
|
1917
|
+
# Length of the spectral confirmation window, in milliseconds. Only used when
|
|
1918
|
+
# MachineDetection is enabled.
|
|
1919
|
+
sig { returns(T.nilable(Integer)) }
|
|
1920
|
+
attr_reader :machine_detection_beep_spectral_window
|
|
1921
|
+
|
|
1922
|
+
sig do
|
|
1923
|
+
params(machine_detection_beep_spectral_window: Integer).void
|
|
1924
|
+
end
|
|
1925
|
+
attr_writer :machine_detection_beep_spectral_window
|
|
1926
|
+
|
|
1740
1927
|
# Silence duration threshold after a call screening prompt before ending prompt
|
|
1741
1928
|
# detection, in milliseconds. Used when `DetectionMode` is `PremiumCallScreening`.
|
|
1742
1929
|
sig { returns(T.nilable(Integer)) }
|
|
@@ -2086,8 +2273,15 @@ module Telnyx
|
|
|
2086
2273
|
from: String,
|
|
2087
2274
|
machine_detection:
|
|
2088
2275
|
Telnyx::Texml::Accounts::CallCallsParams::Body::WithTeXml::MachineDetection::OrSymbol,
|
|
2276
|
+
machine_detection_beep_max_frequency: Integer,
|
|
2277
|
+
machine_detection_beep_min_frequency: Integer,
|
|
2278
|
+
machine_detection_beep_min_tone_duration: Integer,
|
|
2089
2279
|
machine_detection_beep_profile:
|
|
2090
2280
|
Telnyx::Texml::Accounts::CallCallsParams::Body::WithTeXml::MachineDetectionBeepProfile::OrSymbol,
|
|
2281
|
+
machine_detection_beep_spectral_confirmation: T::Boolean,
|
|
2282
|
+
machine_detection_beep_spectral_min_purity: Float,
|
|
2283
|
+
machine_detection_beep_spectral_reject_fax_cng: T::Boolean,
|
|
2284
|
+
machine_detection_beep_spectral_window: Integer,
|
|
2091
2285
|
machine_detection_prompt_end_timeout: Integer,
|
|
2092
2286
|
machine_detection_silence_timeout: Integer,
|
|
2093
2287
|
machine_detection_speech_end_threshold: Integer,
|
|
@@ -2176,11 +2370,36 @@ module Telnyx
|
|
|
2176
2370
|
from: nil,
|
|
2177
2371
|
# Enables Answering Machine Detection.
|
|
2178
2372
|
machine_detection: nil,
|
|
2373
|
+
# Highest frequency, in Hz, that a tone can reach and still be treated as a beep.
|
|
2374
|
+
# Only used when MachineDetection is enabled.
|
|
2375
|
+
machine_detection_beep_max_frequency: nil,
|
|
2376
|
+
# Lowest frequency, in Hz, that a tone must reach to be treated as a beep. Raising
|
|
2377
|
+
# it above 480 excludes North American ringback (440 + 480 Hz), which can
|
|
2378
|
+
# otherwise be reported as a beep when the `freq_only` profile is in use. Only
|
|
2379
|
+
# used when MachineDetection is enabled.
|
|
2380
|
+
machine_detection_beep_min_frequency: nil,
|
|
2381
|
+
# Shortest tone, in milliseconds, that can be treated as a beep. Raising it
|
|
2382
|
+
# rejects brief tones such as call-progress blips. Only used when MachineDetection
|
|
2383
|
+
# is enabled.
|
|
2384
|
+
machine_detection_beep_min_tone_duration: nil,
|
|
2179
2385
|
# Selects which detectors must validate a beep. `both` requires the amplitude and
|
|
2180
2386
|
# frequency detectors to agree. `freq_only` uses the frequency detector alone, for
|
|
2181
2387
|
# beeps whose volume is too unsteady for the default profile. Only used when
|
|
2182
2388
|
# MachineDetection is enabled.
|
|
2183
2389
|
machine_detection_beep_profile: nil,
|
|
2390
|
+
# When enabled, a candidate beep must pass an additional spectral check before it
|
|
2391
|
+
# is reported. Only used when MachineDetection is enabled.
|
|
2392
|
+
machine_detection_beep_spectral_confirmation: nil,
|
|
2393
|
+
# Minimum spectral purity, from 0 to 1, for a tone to be treated as a beep.
|
|
2394
|
+
# Raising it rejects mixed tones such as ringback, which combines two frequencies.
|
|
2395
|
+
# Only used when MachineDetection is enabled.
|
|
2396
|
+
machine_detection_beep_spectral_min_purity: nil,
|
|
2397
|
+
# When enabled, the fax CNG tone is rejected rather than reported as a beep. Only
|
|
2398
|
+
# used when MachineDetection is enabled.
|
|
2399
|
+
machine_detection_beep_spectral_reject_fax_cng: nil,
|
|
2400
|
+
# Length of the spectral confirmation window, in milliseconds. Only used when
|
|
2401
|
+
# MachineDetection is enabled.
|
|
2402
|
+
machine_detection_beep_spectral_window: nil,
|
|
2184
2403
|
# Silence duration threshold after a call screening prompt before ending prompt
|
|
2185
2404
|
# detection, in milliseconds. Used when `DetectionMode` is `PremiumCallScreening`.
|
|
2186
2405
|
machine_detection_prompt_end_timeout: nil,
|
|
@@ -2291,8 +2510,15 @@ module Telnyx
|
|
|
2291
2510
|
from: String,
|
|
2292
2511
|
machine_detection:
|
|
2293
2512
|
Telnyx::Texml::Accounts::CallCallsParams::Body::WithTeXml::MachineDetection::OrSymbol,
|
|
2513
|
+
machine_detection_beep_max_frequency: Integer,
|
|
2514
|
+
machine_detection_beep_min_frequency: Integer,
|
|
2515
|
+
machine_detection_beep_min_tone_duration: Integer,
|
|
2294
2516
|
machine_detection_beep_profile:
|
|
2295
2517
|
Telnyx::Texml::Accounts::CallCallsParams::Body::WithTeXml::MachineDetectionBeepProfile::OrSymbol,
|
|
2518
|
+
machine_detection_beep_spectral_confirmation: T::Boolean,
|
|
2519
|
+
machine_detection_beep_spectral_min_purity: Float,
|
|
2520
|
+
machine_detection_beep_spectral_reject_fax_cng: T::Boolean,
|
|
2521
|
+
machine_detection_beep_spectral_window: Integer,
|
|
2296
2522
|
machine_detection_prompt_end_timeout: Integer,
|
|
2297
2523
|
machine_detection_silence_timeout: Integer,
|
|
2298
2524
|
machine_detection_speech_end_threshold: Integer,
|
|
@@ -3148,6 +3374,35 @@ module Telnyx
|
|
|
3148
3374
|
end
|
|
3149
3375
|
attr_writer :machine_detection
|
|
3150
3376
|
|
|
3377
|
+
# Highest frequency, in Hz, that a tone can reach and still be treated as a beep.
|
|
3378
|
+
# Only used when MachineDetection is enabled.
|
|
3379
|
+
sig { returns(T.nilable(Integer)) }
|
|
3380
|
+
attr_reader :machine_detection_beep_max_frequency
|
|
3381
|
+
|
|
3382
|
+
sig { params(machine_detection_beep_max_frequency: Integer).void }
|
|
3383
|
+
attr_writer :machine_detection_beep_max_frequency
|
|
3384
|
+
|
|
3385
|
+
# Lowest frequency, in Hz, that a tone must reach to be treated as a beep. Raising
|
|
3386
|
+
# it above 480 excludes North American ringback (440 + 480 Hz), which can
|
|
3387
|
+
# otherwise be reported as a beep when the `freq_only` profile is in use. Only
|
|
3388
|
+
# used when MachineDetection is enabled.
|
|
3389
|
+
sig { returns(T.nilable(Integer)) }
|
|
3390
|
+
attr_reader :machine_detection_beep_min_frequency
|
|
3391
|
+
|
|
3392
|
+
sig { params(machine_detection_beep_min_frequency: Integer).void }
|
|
3393
|
+
attr_writer :machine_detection_beep_min_frequency
|
|
3394
|
+
|
|
3395
|
+
# Shortest tone, in milliseconds, that can be treated as a beep. Raising it
|
|
3396
|
+
# rejects brief tones such as call-progress blips. Only used when MachineDetection
|
|
3397
|
+
# is enabled.
|
|
3398
|
+
sig { returns(T.nilable(Integer)) }
|
|
3399
|
+
attr_reader :machine_detection_beep_min_tone_duration
|
|
3400
|
+
|
|
3401
|
+
sig do
|
|
3402
|
+
params(machine_detection_beep_min_tone_duration: Integer).void
|
|
3403
|
+
end
|
|
3404
|
+
attr_writer :machine_detection_beep_min_tone_duration
|
|
3405
|
+
|
|
3151
3406
|
# Selects which detectors must validate a beep. `both` requires the amplitude and
|
|
3152
3407
|
# frequency detectors to agree. `freq_only` uses the frequency detector alone, for
|
|
3153
3408
|
# beeps whose volume is too unsteady for the default profile. Only used when
|
|
@@ -3169,6 +3424,51 @@ module Telnyx
|
|
|
3169
3424
|
end
|
|
3170
3425
|
attr_writer :machine_detection_beep_profile
|
|
3171
3426
|
|
|
3427
|
+
# When enabled, a candidate beep must pass an additional spectral check before it
|
|
3428
|
+
# is reported. Only used when MachineDetection is enabled.
|
|
3429
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
3430
|
+
attr_reader :machine_detection_beep_spectral_confirmation
|
|
3431
|
+
|
|
3432
|
+
sig do
|
|
3433
|
+
params(
|
|
3434
|
+
machine_detection_beep_spectral_confirmation: T::Boolean
|
|
3435
|
+
).void
|
|
3436
|
+
end
|
|
3437
|
+
attr_writer :machine_detection_beep_spectral_confirmation
|
|
3438
|
+
|
|
3439
|
+
# Minimum spectral purity, from 0 to 1, for a tone to be treated as a beep.
|
|
3440
|
+
# Raising it rejects mixed tones such as ringback, which combines two frequencies.
|
|
3441
|
+
# Only used when MachineDetection is enabled.
|
|
3442
|
+
sig { returns(T.nilable(Float)) }
|
|
3443
|
+
attr_reader :machine_detection_beep_spectral_min_purity
|
|
3444
|
+
|
|
3445
|
+
sig do
|
|
3446
|
+
params(machine_detection_beep_spectral_min_purity: Float).void
|
|
3447
|
+
end
|
|
3448
|
+
attr_writer :machine_detection_beep_spectral_min_purity
|
|
3449
|
+
|
|
3450
|
+
# When enabled, the fax CNG tone is rejected rather than reported as a beep. Only
|
|
3451
|
+
# used when MachineDetection is enabled.
|
|
3452
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
3453
|
+
attr_reader :machine_detection_beep_spectral_reject_fax_cng
|
|
3454
|
+
|
|
3455
|
+
sig do
|
|
3456
|
+
params(
|
|
3457
|
+
machine_detection_beep_spectral_reject_fax_cng: T::Boolean
|
|
3458
|
+
).void
|
|
3459
|
+
end
|
|
3460
|
+
attr_writer :machine_detection_beep_spectral_reject_fax_cng
|
|
3461
|
+
|
|
3462
|
+
# Length of the spectral confirmation window, in milliseconds. Only used when
|
|
3463
|
+
# MachineDetection is enabled.
|
|
3464
|
+
sig { returns(T.nilable(Integer)) }
|
|
3465
|
+
attr_reader :machine_detection_beep_spectral_window
|
|
3466
|
+
|
|
3467
|
+
sig do
|
|
3468
|
+
params(machine_detection_beep_spectral_window: Integer).void
|
|
3469
|
+
end
|
|
3470
|
+
attr_writer :machine_detection_beep_spectral_window
|
|
3471
|
+
|
|
3172
3472
|
# Silence duration threshold after a call screening prompt before ending prompt
|
|
3173
3473
|
# detection, in milliseconds. Used when `DetectionMode` is `PremiumCallScreening`.
|
|
3174
3474
|
sig { returns(T.nilable(Integer)) }
|
|
@@ -3520,8 +3820,15 @@ module Telnyx
|
|
|
3520
3820
|
from: String,
|
|
3521
3821
|
machine_detection:
|
|
3522
3822
|
Telnyx::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::MachineDetection::OrSymbol,
|
|
3823
|
+
machine_detection_beep_max_frequency: Integer,
|
|
3824
|
+
machine_detection_beep_min_frequency: Integer,
|
|
3825
|
+
machine_detection_beep_min_tone_duration: Integer,
|
|
3523
3826
|
machine_detection_beep_profile:
|
|
3524
3827
|
Telnyx::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::MachineDetectionBeepProfile::OrSymbol,
|
|
3828
|
+
machine_detection_beep_spectral_confirmation: T::Boolean,
|
|
3829
|
+
machine_detection_beep_spectral_min_purity: Float,
|
|
3830
|
+
machine_detection_beep_spectral_reject_fax_cng: T::Boolean,
|
|
3831
|
+
machine_detection_beep_spectral_window: Integer,
|
|
3525
3832
|
machine_detection_prompt_end_timeout: Integer,
|
|
3526
3833
|
machine_detection_silence_timeout: Integer,
|
|
3527
3834
|
machine_detection_speech_end_threshold: Integer,
|
|
@@ -3608,11 +3915,36 @@ module Telnyx
|
|
|
3608
3915
|
from: nil,
|
|
3609
3916
|
# Enables Answering Machine Detection.
|
|
3610
3917
|
machine_detection: nil,
|
|
3918
|
+
# Highest frequency, in Hz, that a tone can reach and still be treated as a beep.
|
|
3919
|
+
# Only used when MachineDetection is enabled.
|
|
3920
|
+
machine_detection_beep_max_frequency: nil,
|
|
3921
|
+
# Lowest frequency, in Hz, that a tone must reach to be treated as a beep. Raising
|
|
3922
|
+
# it above 480 excludes North American ringback (440 + 480 Hz), which can
|
|
3923
|
+
# otherwise be reported as a beep when the `freq_only` profile is in use. Only
|
|
3924
|
+
# used when MachineDetection is enabled.
|
|
3925
|
+
machine_detection_beep_min_frequency: nil,
|
|
3926
|
+
# Shortest tone, in milliseconds, that can be treated as a beep. Raising it
|
|
3927
|
+
# rejects brief tones such as call-progress blips. Only used when MachineDetection
|
|
3928
|
+
# is enabled.
|
|
3929
|
+
machine_detection_beep_min_tone_duration: nil,
|
|
3611
3930
|
# Selects which detectors must validate a beep. `both` requires the amplitude and
|
|
3612
3931
|
# frequency detectors to agree. `freq_only` uses the frequency detector alone, for
|
|
3613
3932
|
# beeps whose volume is too unsteady for the default profile. Only used when
|
|
3614
3933
|
# MachineDetection is enabled.
|
|
3615
3934
|
machine_detection_beep_profile: nil,
|
|
3935
|
+
# When enabled, a candidate beep must pass an additional spectral check before it
|
|
3936
|
+
# is reported. Only used when MachineDetection is enabled.
|
|
3937
|
+
machine_detection_beep_spectral_confirmation: nil,
|
|
3938
|
+
# Minimum spectral purity, from 0 to 1, for a tone to be treated as a beep.
|
|
3939
|
+
# Raising it rejects mixed tones such as ringback, which combines two frequencies.
|
|
3940
|
+
# Only used when MachineDetection is enabled.
|
|
3941
|
+
machine_detection_beep_spectral_min_purity: nil,
|
|
3942
|
+
# When enabled, the fax CNG tone is rejected rather than reported as a beep. Only
|
|
3943
|
+
# used when MachineDetection is enabled.
|
|
3944
|
+
machine_detection_beep_spectral_reject_fax_cng: nil,
|
|
3945
|
+
# Length of the spectral confirmation window, in milliseconds. Only used when
|
|
3946
|
+
# MachineDetection is enabled.
|
|
3947
|
+
machine_detection_beep_spectral_window: nil,
|
|
3616
3948
|
# Silence duration threshold after a call screening prompt before ending prompt
|
|
3617
3949
|
# detection, in milliseconds. Used when `DetectionMode` is `PremiumCallScreening`.
|
|
3618
3950
|
machine_detection_prompt_end_timeout: nil,
|
|
@@ -3723,8 +4055,15 @@ module Telnyx
|
|
|
3723
4055
|
from: String,
|
|
3724
4056
|
machine_detection:
|
|
3725
4057
|
Telnyx::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::MachineDetection::OrSymbol,
|
|
4058
|
+
machine_detection_beep_max_frequency: Integer,
|
|
4059
|
+
machine_detection_beep_min_frequency: Integer,
|
|
4060
|
+
machine_detection_beep_min_tone_duration: Integer,
|
|
3726
4061
|
machine_detection_beep_profile:
|
|
3727
4062
|
Telnyx::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::MachineDetectionBeepProfile::OrSymbol,
|
|
4063
|
+
machine_detection_beep_spectral_confirmation: T::Boolean,
|
|
4064
|
+
machine_detection_beep_spectral_min_purity: Float,
|
|
4065
|
+
machine_detection_beep_spectral_reject_fax_cng: T::Boolean,
|
|
4066
|
+
machine_detection_beep_spectral_window: Integer,
|
|
3728
4067
|
machine_detection_prompt_end_timeout: Integer,
|
|
3729
4068
|
machine_detection_silence_timeout: Integer,
|
|
3730
4069
|
machine_detection_speech_end_threshold: Integer,
|
|
@@ -317,6 +317,35 @@ module Telnyx
|
|
|
317
317
|
end
|
|
318
318
|
attr_writer :machine_detection
|
|
319
319
|
|
|
320
|
+
# Highest frequency, in Hz, that a tone can reach and still be treated as a beep.
|
|
321
|
+
# Only used when MachineDetection is enabled.
|
|
322
|
+
sig { returns(T.nilable(Integer)) }
|
|
323
|
+
attr_reader :machine_detection_beep_max_frequency
|
|
324
|
+
|
|
325
|
+
sig { params(machine_detection_beep_max_frequency: Integer).void }
|
|
326
|
+
attr_writer :machine_detection_beep_max_frequency
|
|
327
|
+
|
|
328
|
+
# Lowest frequency, in Hz, that a tone must reach to be treated as a beep. Raising
|
|
329
|
+
# it above 480 excludes North American ringback (440 + 480 Hz), which can
|
|
330
|
+
# otherwise be reported as a beep when the `freq_only` profile is in use. Only
|
|
331
|
+
# used when MachineDetection is enabled.
|
|
332
|
+
sig { returns(T.nilable(Integer)) }
|
|
333
|
+
attr_reader :machine_detection_beep_min_frequency
|
|
334
|
+
|
|
335
|
+
sig { params(machine_detection_beep_min_frequency: Integer).void }
|
|
336
|
+
attr_writer :machine_detection_beep_min_frequency
|
|
337
|
+
|
|
338
|
+
# Shortest tone, in milliseconds, that can be treated as a beep. Raising it
|
|
339
|
+
# rejects brief tones such as call-progress blips. Only used when MachineDetection
|
|
340
|
+
# is enabled.
|
|
341
|
+
sig { returns(T.nilable(Integer)) }
|
|
342
|
+
attr_reader :machine_detection_beep_min_tone_duration
|
|
343
|
+
|
|
344
|
+
sig do
|
|
345
|
+
params(machine_detection_beep_min_tone_duration: Integer).void
|
|
346
|
+
end
|
|
347
|
+
attr_writer :machine_detection_beep_min_tone_duration
|
|
348
|
+
|
|
320
349
|
# Selects which detectors must validate a beep. `both` requires the amplitude and
|
|
321
350
|
# frequency detectors to agree. `freq_only` uses the frequency detector alone, for
|
|
322
351
|
# beeps whose volume is too unsteady for the default profile. Only used when
|
|
@@ -338,6 +367,49 @@ module Telnyx
|
|
|
338
367
|
end
|
|
339
368
|
attr_writer :machine_detection_beep_profile
|
|
340
369
|
|
|
370
|
+
# When enabled, a candidate beep must pass an additional spectral check before it
|
|
371
|
+
# is reported. Only used when MachineDetection is enabled.
|
|
372
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
373
|
+
attr_reader :machine_detection_beep_spectral_confirmation
|
|
374
|
+
|
|
375
|
+
sig do
|
|
376
|
+
params(
|
|
377
|
+
machine_detection_beep_spectral_confirmation: T::Boolean
|
|
378
|
+
).void
|
|
379
|
+
end
|
|
380
|
+
attr_writer :machine_detection_beep_spectral_confirmation
|
|
381
|
+
|
|
382
|
+
# Minimum spectral purity, from 0 to 1, for a tone to be treated as a beep.
|
|
383
|
+
# Raising it rejects mixed tones such as ringback, which combines two frequencies.
|
|
384
|
+
# Only used when MachineDetection is enabled.
|
|
385
|
+
sig { returns(T.nilable(Float)) }
|
|
386
|
+
attr_reader :machine_detection_beep_spectral_min_purity
|
|
387
|
+
|
|
388
|
+
sig do
|
|
389
|
+
params(machine_detection_beep_spectral_min_purity: Float).void
|
|
390
|
+
end
|
|
391
|
+
attr_writer :machine_detection_beep_spectral_min_purity
|
|
392
|
+
|
|
393
|
+
# When enabled, the fax CNG tone is rejected rather than reported as a beep. Only
|
|
394
|
+
# used when MachineDetection is enabled.
|
|
395
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
396
|
+
attr_reader :machine_detection_beep_spectral_reject_fax_cng
|
|
397
|
+
|
|
398
|
+
sig do
|
|
399
|
+
params(
|
|
400
|
+
machine_detection_beep_spectral_reject_fax_cng: T::Boolean
|
|
401
|
+
).void
|
|
402
|
+
end
|
|
403
|
+
attr_writer :machine_detection_beep_spectral_reject_fax_cng
|
|
404
|
+
|
|
405
|
+
# Length of the spectral confirmation window, in milliseconds. Only used when
|
|
406
|
+
# MachineDetection is enabled.
|
|
407
|
+
sig { returns(T.nilable(Integer)) }
|
|
408
|
+
attr_reader :machine_detection_beep_spectral_window
|
|
409
|
+
|
|
410
|
+
sig { params(machine_detection_beep_spectral_window: Integer).void }
|
|
411
|
+
attr_writer :machine_detection_beep_spectral_window
|
|
412
|
+
|
|
341
413
|
# If initial silence duration is greater than this value, consider it a machine.
|
|
342
414
|
# Ignored when `premium` detection is used.
|
|
343
415
|
sig { returns(T.nilable(Integer)) }
|
|
@@ -613,8 +685,15 @@ module Telnyx
|
|
|
613
685
|
label: String,
|
|
614
686
|
machine_detection:
|
|
615
687
|
Telnyx::Texml::Accounts::Conferences::ParticipantParticipantsParams::MachineDetection::OrSymbol,
|
|
688
|
+
machine_detection_beep_max_frequency: Integer,
|
|
689
|
+
machine_detection_beep_min_frequency: Integer,
|
|
690
|
+
machine_detection_beep_min_tone_duration: Integer,
|
|
616
691
|
machine_detection_beep_profile:
|
|
617
692
|
Telnyx::Texml::Accounts::Conferences::ParticipantParticipantsParams::MachineDetectionBeepProfile::OrSymbol,
|
|
693
|
+
machine_detection_beep_spectral_confirmation: T::Boolean,
|
|
694
|
+
machine_detection_beep_spectral_min_purity: Float,
|
|
695
|
+
machine_detection_beep_spectral_reject_fax_cng: T::Boolean,
|
|
696
|
+
machine_detection_beep_spectral_window: Integer,
|
|
618
697
|
machine_detection_silence_timeout: Integer,
|
|
619
698
|
machine_detection_speech_end_threshold: Integer,
|
|
620
699
|
machine_detection_speech_threshold: Integer,
|
|
@@ -726,11 +805,36 @@ module Telnyx
|
|
|
726
805
|
# identified. Use `DetectMessageEnd`, if you would like to leave a message on an
|
|
727
806
|
# answering machine.
|
|
728
807
|
machine_detection: nil,
|
|
808
|
+
# Highest frequency, in Hz, that a tone can reach and still be treated as a beep.
|
|
809
|
+
# Only used when MachineDetection is enabled.
|
|
810
|
+
machine_detection_beep_max_frequency: nil,
|
|
811
|
+
# Lowest frequency, in Hz, that a tone must reach to be treated as a beep. Raising
|
|
812
|
+
# it above 480 excludes North American ringback (440 + 480 Hz), which can
|
|
813
|
+
# otherwise be reported as a beep when the `freq_only` profile is in use. Only
|
|
814
|
+
# used when MachineDetection is enabled.
|
|
815
|
+
machine_detection_beep_min_frequency: nil,
|
|
816
|
+
# Shortest tone, in milliseconds, that can be treated as a beep. Raising it
|
|
817
|
+
# rejects brief tones such as call-progress blips. Only used when MachineDetection
|
|
818
|
+
# is enabled.
|
|
819
|
+
machine_detection_beep_min_tone_duration: nil,
|
|
729
820
|
# Selects which detectors must validate a beep. `both` requires the amplitude and
|
|
730
821
|
# frequency detectors to agree. `freq_only` uses the frequency detector alone, for
|
|
731
822
|
# beeps whose volume is too unsteady for the default profile. Only used when
|
|
732
823
|
# MachineDetection is enabled.
|
|
733
824
|
machine_detection_beep_profile: nil,
|
|
825
|
+
# When enabled, a candidate beep must pass an additional spectral check before it
|
|
826
|
+
# is reported. Only used when MachineDetection is enabled.
|
|
827
|
+
machine_detection_beep_spectral_confirmation: nil,
|
|
828
|
+
# Minimum spectral purity, from 0 to 1, for a tone to be treated as a beep.
|
|
829
|
+
# Raising it rejects mixed tones such as ringback, which combines two frequencies.
|
|
830
|
+
# Only used when MachineDetection is enabled.
|
|
831
|
+
machine_detection_beep_spectral_min_purity: nil,
|
|
832
|
+
# When enabled, the fax CNG tone is rejected rather than reported as a beep. Only
|
|
833
|
+
# used when MachineDetection is enabled.
|
|
834
|
+
machine_detection_beep_spectral_reject_fax_cng: nil,
|
|
835
|
+
# Length of the spectral confirmation window, in milliseconds. Only used when
|
|
836
|
+
# MachineDetection is enabled.
|
|
837
|
+
machine_detection_beep_spectral_window: nil,
|
|
734
838
|
# If initial silence duration is greater than this value, consider it a machine.
|
|
735
839
|
# Ignored when `premium` detection is used.
|
|
736
840
|
machine_detection_silence_timeout: nil,
|
|
@@ -836,8 +940,15 @@ module Telnyx
|
|
|
836
940
|
label: String,
|
|
837
941
|
machine_detection:
|
|
838
942
|
Telnyx::Texml::Accounts::Conferences::ParticipantParticipantsParams::MachineDetection::OrSymbol,
|
|
943
|
+
machine_detection_beep_max_frequency: Integer,
|
|
944
|
+
machine_detection_beep_min_frequency: Integer,
|
|
945
|
+
machine_detection_beep_min_tone_duration: Integer,
|
|
839
946
|
machine_detection_beep_profile:
|
|
840
947
|
Telnyx::Texml::Accounts::Conferences::ParticipantParticipantsParams::MachineDetectionBeepProfile::OrSymbol,
|
|
948
|
+
machine_detection_beep_spectral_confirmation: T::Boolean,
|
|
949
|
+
machine_detection_beep_spectral_min_purity: Float,
|
|
950
|
+
machine_detection_beep_spectral_reject_fax_cng: T::Boolean,
|
|
951
|
+
machine_detection_beep_spectral_window: Integer,
|
|
841
952
|
machine_detection_silence_timeout: Integer,
|
|
842
953
|
machine_detection_speech_end_threshold: Integer,
|
|
843
954
|
machine_detection_speech_threshold: Integer,
|