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
|
@@ -55,7 +55,14 @@ module Telnyx
|
|
|
55
55
|
fallback_url: String,
|
|
56
56
|
from: String,
|
|
57
57
|
machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection,
|
|
58
|
+
machine_detection_beep_max_frequency: Integer,
|
|
59
|
+
machine_detection_beep_min_frequency: Integer,
|
|
60
|
+
machine_detection_beep_min_tone_duration: Integer,
|
|
58
61
|
machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection_beep_profile,
|
|
62
|
+
machine_detection_beep_spectral_confirmation: bool,
|
|
63
|
+
machine_detection_beep_spectral_min_purity: Float,
|
|
64
|
+
machine_detection_beep_spectral_reject_fax_cng: bool,
|
|
65
|
+
machine_detection_beep_spectral_window: Integer,
|
|
59
66
|
machine_detection_prompt_end_timeout: Integer,
|
|
60
67
|
machine_detection_silence_timeout: Integer,
|
|
61
68
|
machine_detection_speech_end_threshold: Integer,
|
|
@@ -162,12 +169,44 @@ module Telnyx
|
|
|
162
169
|
Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection
|
|
163
170
|
) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection
|
|
164
171
|
|
|
172
|
+
attr_reader machine_detection_beep_max_frequency: Integer?
|
|
173
|
+
|
|
174
|
+
def machine_detection_beep_max_frequency=: (Integer) -> Integer
|
|
175
|
+
|
|
176
|
+
attr_reader machine_detection_beep_min_frequency: Integer?
|
|
177
|
+
|
|
178
|
+
def machine_detection_beep_min_frequency=: (Integer) -> Integer
|
|
179
|
+
|
|
180
|
+
attr_reader machine_detection_beep_min_tone_duration: Integer?
|
|
181
|
+
|
|
182
|
+
def machine_detection_beep_min_tone_duration=: (
|
|
183
|
+
Integer
|
|
184
|
+
) -> Integer
|
|
185
|
+
|
|
165
186
|
attr_reader machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection_beep_profile?
|
|
166
187
|
|
|
167
188
|
def machine_detection_beep_profile=: (
|
|
168
189
|
Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection_beep_profile
|
|
169
190
|
) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection_beep_profile
|
|
170
191
|
|
|
192
|
+
attr_reader machine_detection_beep_spectral_confirmation: bool?
|
|
193
|
+
|
|
194
|
+
def machine_detection_beep_spectral_confirmation=: (bool) -> bool
|
|
195
|
+
|
|
196
|
+
attr_reader machine_detection_beep_spectral_min_purity: Float?
|
|
197
|
+
|
|
198
|
+
def machine_detection_beep_spectral_min_purity=: (Float) -> Float
|
|
199
|
+
|
|
200
|
+
attr_reader machine_detection_beep_spectral_reject_fax_cng: bool?
|
|
201
|
+
|
|
202
|
+
def machine_detection_beep_spectral_reject_fax_cng=: (
|
|
203
|
+
bool
|
|
204
|
+
) -> bool
|
|
205
|
+
|
|
206
|
+
attr_reader machine_detection_beep_spectral_window: Integer?
|
|
207
|
+
|
|
208
|
+
def machine_detection_beep_spectral_window=: (Integer) -> Integer
|
|
209
|
+
|
|
171
210
|
attr_reader machine_detection_prompt_end_timeout: Integer?
|
|
172
211
|
|
|
173
212
|
def machine_detection_prompt_end_timeout=: (Integer) -> Integer
|
|
@@ -317,7 +356,14 @@ module Telnyx
|
|
|
317
356
|
?fallback_url: String,
|
|
318
357
|
?from: String,
|
|
319
358
|
?machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection,
|
|
359
|
+
?machine_detection_beep_max_frequency: Integer,
|
|
360
|
+
?machine_detection_beep_min_frequency: Integer,
|
|
361
|
+
?machine_detection_beep_min_tone_duration: Integer,
|
|
320
362
|
?machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection_beep_profile,
|
|
363
|
+
?machine_detection_beep_spectral_confirmation: bool,
|
|
364
|
+
?machine_detection_beep_spectral_min_purity: Float,
|
|
365
|
+
?machine_detection_beep_spectral_reject_fax_cng: bool,
|
|
366
|
+
?machine_detection_beep_spectral_window: Integer,
|
|
321
367
|
?machine_detection_prompt_end_timeout: Integer,
|
|
322
368
|
?machine_detection_silence_timeout: Integer,
|
|
323
369
|
?machine_detection_speech_end_threshold: Integer,
|
|
@@ -366,7 +412,14 @@ module Telnyx
|
|
|
366
412
|
fallback_url: String,
|
|
367
413
|
from: String,
|
|
368
414
|
machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection,
|
|
415
|
+
machine_detection_beep_max_frequency: Integer,
|
|
416
|
+
machine_detection_beep_min_frequency: Integer,
|
|
417
|
+
machine_detection_beep_min_tone_duration: Integer,
|
|
369
418
|
machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection_beep_profile,
|
|
419
|
+
machine_detection_beep_spectral_confirmation: bool,
|
|
420
|
+
machine_detection_beep_spectral_min_purity: Float,
|
|
421
|
+
machine_detection_beep_spectral_reject_fax_cng: bool,
|
|
422
|
+
machine_detection_beep_spectral_window: Integer,
|
|
370
423
|
machine_detection_prompt_end_timeout: Integer,
|
|
371
424
|
machine_detection_silence_timeout: Integer,
|
|
372
425
|
machine_detection_speech_end_threshold: Integer,
|
|
@@ -602,7 +655,14 @@ module Telnyx
|
|
|
602
655
|
fallback_url: String,
|
|
603
656
|
from: String,
|
|
604
657
|
machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection,
|
|
658
|
+
machine_detection_beep_max_frequency: Integer,
|
|
659
|
+
machine_detection_beep_min_frequency: Integer,
|
|
660
|
+
machine_detection_beep_min_tone_duration: Integer,
|
|
605
661
|
machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection_beep_profile,
|
|
662
|
+
machine_detection_beep_spectral_confirmation: bool,
|
|
663
|
+
machine_detection_beep_spectral_min_purity: Float,
|
|
664
|
+
machine_detection_beep_spectral_reject_fax_cng: bool,
|
|
665
|
+
machine_detection_beep_spectral_window: Integer,
|
|
606
666
|
machine_detection_prompt_end_timeout: Integer,
|
|
607
667
|
machine_detection_silence_timeout: Integer,
|
|
608
668
|
machine_detection_speech_end_threshold: Integer,
|
|
@@ -709,12 +769,44 @@ module Telnyx
|
|
|
709
769
|
Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection
|
|
710
770
|
) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection
|
|
711
771
|
|
|
772
|
+
attr_reader machine_detection_beep_max_frequency: Integer?
|
|
773
|
+
|
|
774
|
+
def machine_detection_beep_max_frequency=: (Integer) -> Integer
|
|
775
|
+
|
|
776
|
+
attr_reader machine_detection_beep_min_frequency: Integer?
|
|
777
|
+
|
|
778
|
+
def machine_detection_beep_min_frequency=: (Integer) -> Integer
|
|
779
|
+
|
|
780
|
+
attr_reader machine_detection_beep_min_tone_duration: Integer?
|
|
781
|
+
|
|
782
|
+
def machine_detection_beep_min_tone_duration=: (
|
|
783
|
+
Integer
|
|
784
|
+
) -> Integer
|
|
785
|
+
|
|
712
786
|
attr_reader machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection_beep_profile?
|
|
713
787
|
|
|
714
788
|
def machine_detection_beep_profile=: (
|
|
715
789
|
Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection_beep_profile
|
|
716
790
|
) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection_beep_profile
|
|
717
791
|
|
|
792
|
+
attr_reader machine_detection_beep_spectral_confirmation: bool?
|
|
793
|
+
|
|
794
|
+
def machine_detection_beep_spectral_confirmation=: (bool) -> bool
|
|
795
|
+
|
|
796
|
+
attr_reader machine_detection_beep_spectral_min_purity: Float?
|
|
797
|
+
|
|
798
|
+
def machine_detection_beep_spectral_min_purity=: (Float) -> Float
|
|
799
|
+
|
|
800
|
+
attr_reader machine_detection_beep_spectral_reject_fax_cng: bool?
|
|
801
|
+
|
|
802
|
+
def machine_detection_beep_spectral_reject_fax_cng=: (
|
|
803
|
+
bool
|
|
804
|
+
) -> bool
|
|
805
|
+
|
|
806
|
+
attr_reader machine_detection_beep_spectral_window: Integer?
|
|
807
|
+
|
|
808
|
+
def machine_detection_beep_spectral_window=: (Integer) -> Integer
|
|
809
|
+
|
|
718
810
|
attr_reader machine_detection_prompt_end_timeout: Integer?
|
|
719
811
|
|
|
720
812
|
def machine_detection_prompt_end_timeout=: (Integer) -> Integer
|
|
@@ -864,7 +956,14 @@ module Telnyx
|
|
|
864
956
|
?fallback_url: String,
|
|
865
957
|
?from: String,
|
|
866
958
|
?machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection,
|
|
959
|
+
?machine_detection_beep_max_frequency: Integer,
|
|
960
|
+
?machine_detection_beep_min_frequency: Integer,
|
|
961
|
+
?machine_detection_beep_min_tone_duration: Integer,
|
|
867
962
|
?machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection_beep_profile,
|
|
963
|
+
?machine_detection_beep_spectral_confirmation: bool,
|
|
964
|
+
?machine_detection_beep_spectral_min_purity: Float,
|
|
965
|
+
?machine_detection_beep_spectral_reject_fax_cng: bool,
|
|
966
|
+
?machine_detection_beep_spectral_window: Integer,
|
|
868
967
|
?machine_detection_prompt_end_timeout: Integer,
|
|
869
968
|
?machine_detection_silence_timeout: Integer,
|
|
870
969
|
?machine_detection_speech_end_threshold: Integer,
|
|
@@ -913,7 +1012,14 @@ module Telnyx
|
|
|
913
1012
|
fallback_url: String,
|
|
914
1013
|
from: String,
|
|
915
1014
|
machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection,
|
|
1015
|
+
machine_detection_beep_max_frequency: Integer,
|
|
1016
|
+
machine_detection_beep_min_frequency: Integer,
|
|
1017
|
+
machine_detection_beep_min_tone_duration: Integer,
|
|
916
1018
|
machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection_beep_profile,
|
|
1019
|
+
machine_detection_beep_spectral_confirmation: bool,
|
|
1020
|
+
machine_detection_beep_spectral_min_purity: Float,
|
|
1021
|
+
machine_detection_beep_spectral_reject_fax_cng: bool,
|
|
1022
|
+
machine_detection_beep_spectral_window: Integer,
|
|
917
1023
|
machine_detection_prompt_end_timeout: Integer,
|
|
918
1024
|
machine_detection_silence_timeout: Integer,
|
|
919
1025
|
machine_detection_speech_end_threshold: Integer,
|
|
@@ -1148,7 +1254,14 @@ module Telnyx
|
|
|
1148
1254
|
fallback_url: String,
|
|
1149
1255
|
from: String,
|
|
1150
1256
|
machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection,
|
|
1257
|
+
machine_detection_beep_max_frequency: Integer,
|
|
1258
|
+
machine_detection_beep_min_frequency: Integer,
|
|
1259
|
+
machine_detection_beep_min_tone_duration: Integer,
|
|
1151
1260
|
machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection_beep_profile,
|
|
1261
|
+
machine_detection_beep_spectral_confirmation: bool,
|
|
1262
|
+
machine_detection_beep_spectral_min_purity: Float,
|
|
1263
|
+
machine_detection_beep_spectral_reject_fax_cng: bool,
|
|
1264
|
+
machine_detection_beep_spectral_window: Integer,
|
|
1152
1265
|
machine_detection_prompt_end_timeout: Integer,
|
|
1153
1266
|
machine_detection_silence_timeout: Integer,
|
|
1154
1267
|
machine_detection_speech_end_threshold: Integer,
|
|
@@ -1254,12 +1367,44 @@ module Telnyx
|
|
|
1254
1367
|
Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection
|
|
1255
1368
|
) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection
|
|
1256
1369
|
|
|
1370
|
+
attr_reader machine_detection_beep_max_frequency: Integer?
|
|
1371
|
+
|
|
1372
|
+
def machine_detection_beep_max_frequency=: (Integer) -> Integer
|
|
1373
|
+
|
|
1374
|
+
attr_reader machine_detection_beep_min_frequency: Integer?
|
|
1375
|
+
|
|
1376
|
+
def machine_detection_beep_min_frequency=: (Integer) -> Integer
|
|
1377
|
+
|
|
1378
|
+
attr_reader machine_detection_beep_min_tone_duration: Integer?
|
|
1379
|
+
|
|
1380
|
+
def machine_detection_beep_min_tone_duration=: (
|
|
1381
|
+
Integer
|
|
1382
|
+
) -> Integer
|
|
1383
|
+
|
|
1257
1384
|
attr_reader machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection_beep_profile?
|
|
1258
1385
|
|
|
1259
1386
|
def machine_detection_beep_profile=: (
|
|
1260
1387
|
Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection_beep_profile
|
|
1261
1388
|
) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection_beep_profile
|
|
1262
1389
|
|
|
1390
|
+
attr_reader machine_detection_beep_spectral_confirmation: bool?
|
|
1391
|
+
|
|
1392
|
+
def machine_detection_beep_spectral_confirmation=: (bool) -> bool
|
|
1393
|
+
|
|
1394
|
+
attr_reader machine_detection_beep_spectral_min_purity: Float?
|
|
1395
|
+
|
|
1396
|
+
def machine_detection_beep_spectral_min_purity=: (Float) -> Float
|
|
1397
|
+
|
|
1398
|
+
attr_reader machine_detection_beep_spectral_reject_fax_cng: bool?
|
|
1399
|
+
|
|
1400
|
+
def machine_detection_beep_spectral_reject_fax_cng=: (
|
|
1401
|
+
bool
|
|
1402
|
+
) -> bool
|
|
1403
|
+
|
|
1404
|
+
attr_reader machine_detection_beep_spectral_window: Integer?
|
|
1405
|
+
|
|
1406
|
+
def machine_detection_beep_spectral_window=: (Integer) -> Integer
|
|
1407
|
+
|
|
1263
1408
|
attr_reader machine_detection_prompt_end_timeout: Integer?
|
|
1264
1409
|
|
|
1265
1410
|
def machine_detection_prompt_end_timeout=: (Integer) -> Integer
|
|
@@ -1410,7 +1555,14 @@ module Telnyx
|
|
|
1410
1555
|
?fallback_url: String,
|
|
1411
1556
|
?from: String,
|
|
1412
1557
|
?machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection,
|
|
1558
|
+
?machine_detection_beep_max_frequency: Integer,
|
|
1559
|
+
?machine_detection_beep_min_frequency: Integer,
|
|
1560
|
+
?machine_detection_beep_min_tone_duration: Integer,
|
|
1413
1561
|
?machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection_beep_profile,
|
|
1562
|
+
?machine_detection_beep_spectral_confirmation: bool,
|
|
1563
|
+
?machine_detection_beep_spectral_min_purity: Float,
|
|
1564
|
+
?machine_detection_beep_spectral_reject_fax_cng: bool,
|
|
1565
|
+
?machine_detection_beep_spectral_window: Integer,
|
|
1414
1566
|
?machine_detection_prompt_end_timeout: Integer,
|
|
1415
1567
|
?machine_detection_silence_timeout: Integer,
|
|
1416
1568
|
?machine_detection_speech_end_threshold: Integer,
|
|
@@ -1459,7 +1611,14 @@ module Telnyx
|
|
|
1459
1611
|
fallback_url: String,
|
|
1460
1612
|
from: String,
|
|
1461
1613
|
machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection,
|
|
1614
|
+
machine_detection_beep_max_frequency: Integer,
|
|
1615
|
+
machine_detection_beep_min_frequency: Integer,
|
|
1616
|
+
machine_detection_beep_min_tone_duration: Integer,
|
|
1462
1617
|
machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection_beep_profile,
|
|
1618
|
+
machine_detection_beep_spectral_confirmation: bool,
|
|
1619
|
+
machine_detection_beep_spectral_min_purity: Float,
|
|
1620
|
+
machine_detection_beep_spectral_reject_fax_cng: bool,
|
|
1621
|
+
machine_detection_beep_spectral_window: Integer,
|
|
1463
1622
|
machine_detection_prompt_end_timeout: Integer,
|
|
1464
1623
|
machine_detection_silence_timeout: Integer,
|
|
1465
1624
|
machine_detection_speech_end_threshold: Integer,
|
|
@@ -31,7 +31,14 @@ module Telnyx
|
|
|
31
31
|
from: String,
|
|
32
32
|
label: String,
|
|
33
33
|
machine_detection: Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection,
|
|
34
|
+
machine_detection_beep_max_frequency: Integer,
|
|
35
|
+
machine_detection_beep_min_frequency: Integer,
|
|
36
|
+
machine_detection_beep_min_tone_duration: Integer,
|
|
34
37
|
machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection_beep_profile,
|
|
38
|
+
machine_detection_beep_spectral_confirmation: bool,
|
|
39
|
+
machine_detection_beep_spectral_min_purity: Float,
|
|
40
|
+
machine_detection_beep_spectral_reject_fax_cng: bool,
|
|
41
|
+
machine_detection_beep_spectral_window: Integer,
|
|
35
42
|
machine_detection_silence_timeout: Integer,
|
|
36
43
|
machine_detection_speech_end_threshold: Integer,
|
|
37
44
|
machine_detection_speech_threshold: Integer,
|
|
@@ -179,12 +186,40 @@ module Telnyx
|
|
|
179
186
|
Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection
|
|
180
187
|
) -> Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection
|
|
181
188
|
|
|
189
|
+
attr_reader machine_detection_beep_max_frequency: Integer?
|
|
190
|
+
|
|
191
|
+
def machine_detection_beep_max_frequency=: (Integer) -> Integer
|
|
192
|
+
|
|
193
|
+
attr_reader machine_detection_beep_min_frequency: Integer?
|
|
194
|
+
|
|
195
|
+
def machine_detection_beep_min_frequency=: (Integer) -> Integer
|
|
196
|
+
|
|
197
|
+
attr_reader machine_detection_beep_min_tone_duration: Integer?
|
|
198
|
+
|
|
199
|
+
def machine_detection_beep_min_tone_duration=: (Integer) -> Integer
|
|
200
|
+
|
|
182
201
|
attr_reader machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection_beep_profile?
|
|
183
202
|
|
|
184
203
|
def machine_detection_beep_profile=: (
|
|
185
204
|
Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection_beep_profile
|
|
186
205
|
) -> Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection_beep_profile
|
|
187
206
|
|
|
207
|
+
attr_reader machine_detection_beep_spectral_confirmation: bool?
|
|
208
|
+
|
|
209
|
+
def machine_detection_beep_spectral_confirmation=: (bool) -> bool
|
|
210
|
+
|
|
211
|
+
attr_reader machine_detection_beep_spectral_min_purity: Float?
|
|
212
|
+
|
|
213
|
+
def machine_detection_beep_spectral_min_purity=: (Float) -> Float
|
|
214
|
+
|
|
215
|
+
attr_reader machine_detection_beep_spectral_reject_fax_cng: bool?
|
|
216
|
+
|
|
217
|
+
def machine_detection_beep_spectral_reject_fax_cng=: (bool) -> bool
|
|
218
|
+
|
|
219
|
+
attr_reader machine_detection_beep_spectral_window: Integer?
|
|
220
|
+
|
|
221
|
+
def machine_detection_beep_spectral_window=: (Integer) -> Integer
|
|
222
|
+
|
|
188
223
|
attr_reader machine_detection_silence_timeout: Integer?
|
|
189
224
|
|
|
190
225
|
def machine_detection_silence_timeout=: (Integer) -> Integer
|
|
@@ -318,7 +353,14 @@ module Telnyx
|
|
|
318
353
|
?from: String,
|
|
319
354
|
?label: String,
|
|
320
355
|
?machine_detection: Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection,
|
|
356
|
+
?machine_detection_beep_max_frequency: Integer,
|
|
357
|
+
?machine_detection_beep_min_frequency: Integer,
|
|
358
|
+
?machine_detection_beep_min_tone_duration: Integer,
|
|
321
359
|
?machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection_beep_profile,
|
|
360
|
+
?machine_detection_beep_spectral_confirmation: bool,
|
|
361
|
+
?machine_detection_beep_spectral_min_purity: Float,
|
|
362
|
+
?machine_detection_beep_spectral_reject_fax_cng: bool,
|
|
363
|
+
?machine_detection_beep_spectral_window: Integer,
|
|
322
364
|
?machine_detection_silence_timeout: Integer,
|
|
323
365
|
?machine_detection_speech_end_threshold: Integer,
|
|
324
366
|
?machine_detection_speech_threshold: Integer,
|
|
@@ -373,7 +415,14 @@ module Telnyx
|
|
|
373
415
|
from: String,
|
|
374
416
|
label: String,
|
|
375
417
|
machine_detection: Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection,
|
|
418
|
+
machine_detection_beep_max_frequency: Integer,
|
|
419
|
+
machine_detection_beep_min_frequency: Integer,
|
|
420
|
+
machine_detection_beep_min_tone_duration: Integer,
|
|
376
421
|
machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection_beep_profile,
|
|
422
|
+
machine_detection_beep_spectral_confirmation: bool,
|
|
423
|
+
machine_detection_beep_spectral_min_purity: Float,
|
|
424
|
+
machine_detection_beep_spectral_reject_fax_cng: bool,
|
|
425
|
+
machine_detection_beep_spectral_window: Integer,
|
|
377
426
|
machine_detection_silence_timeout: Integer,
|
|
378
427
|
machine_detection_speech_end_threshold: Integer,
|
|
379
428
|
machine_detection_speech_threshold: Integer,
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Texml
|
|
4
|
+
type call_create_params =
|
|
5
|
+
{
|
|
6
|
+
connection_id: String,
|
|
7
|
+
from: String,
|
|
8
|
+
to: String,
|
|
9
|
+
method_: Telnyx::Models::Texml::CallCreateParams::method_,
|
|
10
|
+
texml: String,
|
|
11
|
+
url: String
|
|
12
|
+
}
|
|
13
|
+
& Telnyx::Internal::Type::request_parameters
|
|
14
|
+
|
|
15
|
+
class CallCreateParams < Telnyx::Internal::Type::BaseModel
|
|
16
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
17
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
18
|
+
|
|
19
|
+
attr_accessor connection_id: String
|
|
20
|
+
|
|
21
|
+
attr_accessor from: String
|
|
22
|
+
|
|
23
|
+
attr_accessor to: String
|
|
24
|
+
|
|
25
|
+
attr_reader method_: Telnyx::Models::Texml::CallCreateParams::method_?
|
|
26
|
+
|
|
27
|
+
def method_=: (
|
|
28
|
+
Telnyx::Models::Texml::CallCreateParams::method_
|
|
29
|
+
) -> Telnyx::Models::Texml::CallCreateParams::method_
|
|
30
|
+
|
|
31
|
+
attr_reader texml: String?
|
|
32
|
+
|
|
33
|
+
def texml=: (String) -> String
|
|
34
|
+
|
|
35
|
+
attr_reader url: String?
|
|
36
|
+
|
|
37
|
+
def url=: (String) -> String
|
|
38
|
+
|
|
39
|
+
def initialize: (
|
|
40
|
+
connection_id: String,
|
|
41
|
+
from: String,
|
|
42
|
+
to: String,
|
|
43
|
+
?method_: Telnyx::Models::Texml::CallCreateParams::method_,
|
|
44
|
+
?texml: String,
|
|
45
|
+
?url: String,
|
|
46
|
+
?request_options: Telnyx::request_opts
|
|
47
|
+
) -> void
|
|
48
|
+
|
|
49
|
+
def to_hash: -> {
|
|
50
|
+
connection_id: String,
|
|
51
|
+
from: String,
|
|
52
|
+
to: String,
|
|
53
|
+
method_: Telnyx::Models::Texml::CallCreateParams::method_,
|
|
54
|
+
texml: String,
|
|
55
|
+
url: String,
|
|
56
|
+
request_options: Telnyx::RequestOptions
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
type method_ = :GET | :POST
|
|
60
|
+
|
|
61
|
+
module Method
|
|
62
|
+
extend Telnyx::Internal::Type::Enum
|
|
63
|
+
|
|
64
|
+
GET: :GET
|
|
65
|
+
POST: :POST
|
|
66
|
+
|
|
67
|
+
def self?.values: -> ::Array[Telnyx::Models::Texml::CallCreateParams::method_]
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
end
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Texml
|
|
4
|
+
type call_create_response =
|
|
5
|
+
{
|
|
6
|
+
call_sid: String,
|
|
7
|
+
from: String,
|
|
8
|
+
status: Telnyx::Models::Texml::CallCreateResponse::status,
|
|
9
|
+
to: String
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
class CallCreateResponse < Telnyx::Internal::Type::BaseModel
|
|
13
|
+
attr_accessor call_sid: String
|
|
14
|
+
|
|
15
|
+
attr_accessor from: String
|
|
16
|
+
|
|
17
|
+
attr_accessor status: Telnyx::Models::Texml::CallCreateResponse::status
|
|
18
|
+
|
|
19
|
+
attr_accessor to: String
|
|
20
|
+
|
|
21
|
+
def initialize: (
|
|
22
|
+
call_sid: String,
|
|
23
|
+
from: String,
|
|
24
|
+
status: Telnyx::Models::Texml::CallCreateResponse::status,
|
|
25
|
+
to: String
|
|
26
|
+
) -> void
|
|
27
|
+
|
|
28
|
+
def to_hash: -> {
|
|
29
|
+
call_sid: String,
|
|
30
|
+
from: String,
|
|
31
|
+
status: Telnyx::Models::Texml::CallCreateResponse::status,
|
|
32
|
+
to: String
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
type status = :queued
|
|
36
|
+
|
|
37
|
+
module Status
|
|
38
|
+
extend Telnyx::Internal::Type::Enum
|
|
39
|
+
|
|
40
|
+
QUEUED: :queued
|
|
41
|
+
|
|
42
|
+
def self?.values: -> ::Array[Telnyx::Models::Texml::CallCreateResponse::status]
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
@@ -18,7 +18,14 @@ module Telnyx
|
|
|
18
18
|
custom_headers: ::Array[Telnyx::TexmlInitiateAICallParams::CustomHeader],
|
|
19
19
|
detection_mode: Telnyx::Models::TexmlInitiateAICallParams::detection_mode,
|
|
20
20
|
machine_detection: Telnyx::Models::TexmlInitiateAICallParams::machine_detection,
|
|
21
|
+
machine_detection_beep_max_frequency: Integer,
|
|
22
|
+
machine_detection_beep_min_frequency: Integer,
|
|
23
|
+
machine_detection_beep_min_tone_duration: Integer,
|
|
21
24
|
machine_detection_beep_profile: Telnyx::Models::TexmlInitiateAICallParams::machine_detection_beep_profile,
|
|
25
|
+
machine_detection_beep_spectral_confirmation: bool,
|
|
26
|
+
machine_detection_beep_spectral_min_purity: Float,
|
|
27
|
+
machine_detection_beep_spectral_reject_fax_cng: bool,
|
|
28
|
+
machine_detection_beep_spectral_window: Integer,
|
|
22
29
|
machine_detection_prompt_end_timeout: Integer,
|
|
23
30
|
machine_detection_silence_timeout: Integer,
|
|
24
31
|
machine_detection_speech_end_threshold: Integer,
|
|
@@ -119,12 +126,40 @@ module Telnyx
|
|
|
119
126
|
Telnyx::Models::TexmlInitiateAICallParams::machine_detection
|
|
120
127
|
) -> Telnyx::Models::TexmlInitiateAICallParams::machine_detection
|
|
121
128
|
|
|
129
|
+
attr_reader machine_detection_beep_max_frequency: Integer?
|
|
130
|
+
|
|
131
|
+
def machine_detection_beep_max_frequency=: (Integer) -> Integer
|
|
132
|
+
|
|
133
|
+
attr_reader machine_detection_beep_min_frequency: Integer?
|
|
134
|
+
|
|
135
|
+
def machine_detection_beep_min_frequency=: (Integer) -> Integer
|
|
136
|
+
|
|
137
|
+
attr_reader machine_detection_beep_min_tone_duration: Integer?
|
|
138
|
+
|
|
139
|
+
def machine_detection_beep_min_tone_duration=: (Integer) -> Integer
|
|
140
|
+
|
|
122
141
|
attr_reader machine_detection_beep_profile: Telnyx::Models::TexmlInitiateAICallParams::machine_detection_beep_profile?
|
|
123
142
|
|
|
124
143
|
def machine_detection_beep_profile=: (
|
|
125
144
|
Telnyx::Models::TexmlInitiateAICallParams::machine_detection_beep_profile
|
|
126
145
|
) -> Telnyx::Models::TexmlInitiateAICallParams::machine_detection_beep_profile
|
|
127
146
|
|
|
147
|
+
attr_reader machine_detection_beep_spectral_confirmation: bool?
|
|
148
|
+
|
|
149
|
+
def machine_detection_beep_spectral_confirmation=: (bool) -> bool
|
|
150
|
+
|
|
151
|
+
attr_reader machine_detection_beep_spectral_min_purity: Float?
|
|
152
|
+
|
|
153
|
+
def machine_detection_beep_spectral_min_purity=: (Float) -> Float
|
|
154
|
+
|
|
155
|
+
attr_reader machine_detection_beep_spectral_reject_fax_cng: bool?
|
|
156
|
+
|
|
157
|
+
def machine_detection_beep_spectral_reject_fax_cng=: (bool) -> bool
|
|
158
|
+
|
|
159
|
+
attr_reader machine_detection_beep_spectral_window: Integer?
|
|
160
|
+
|
|
161
|
+
def machine_detection_beep_spectral_window=: (Integer) -> Integer
|
|
162
|
+
|
|
128
163
|
attr_reader machine_detection_prompt_end_timeout: Integer?
|
|
129
164
|
|
|
130
165
|
def machine_detection_prompt_end_timeout=: (Integer) -> Integer
|
|
@@ -254,7 +289,14 @@ module Telnyx
|
|
|
254
289
|
?custom_headers: ::Array[Telnyx::TexmlInitiateAICallParams::CustomHeader],
|
|
255
290
|
?detection_mode: Telnyx::Models::TexmlInitiateAICallParams::detection_mode,
|
|
256
291
|
?machine_detection: Telnyx::Models::TexmlInitiateAICallParams::machine_detection,
|
|
292
|
+
?machine_detection_beep_max_frequency: Integer,
|
|
293
|
+
?machine_detection_beep_min_frequency: Integer,
|
|
294
|
+
?machine_detection_beep_min_tone_duration: Integer,
|
|
257
295
|
?machine_detection_beep_profile: Telnyx::Models::TexmlInitiateAICallParams::machine_detection_beep_profile,
|
|
296
|
+
?machine_detection_beep_spectral_confirmation: bool,
|
|
297
|
+
?machine_detection_beep_spectral_min_purity: Float,
|
|
298
|
+
?machine_detection_beep_spectral_reject_fax_cng: bool,
|
|
299
|
+
?machine_detection_beep_spectral_window: Integer,
|
|
258
300
|
?machine_detection_prompt_end_timeout: Integer,
|
|
259
301
|
?machine_detection_silence_timeout: Integer,
|
|
260
302
|
?machine_detection_speech_end_threshold: Integer,
|
|
@@ -300,7 +342,14 @@ module Telnyx
|
|
|
300
342
|
custom_headers: ::Array[Telnyx::TexmlInitiateAICallParams::CustomHeader],
|
|
301
343
|
detection_mode: Telnyx::Models::TexmlInitiateAICallParams::detection_mode,
|
|
302
344
|
machine_detection: Telnyx::Models::TexmlInitiateAICallParams::machine_detection,
|
|
345
|
+
machine_detection_beep_max_frequency: Integer,
|
|
346
|
+
machine_detection_beep_min_frequency: Integer,
|
|
347
|
+
machine_detection_beep_min_tone_duration: Integer,
|
|
303
348
|
machine_detection_beep_profile: Telnyx::Models::TexmlInitiateAICallParams::machine_detection_beep_profile,
|
|
349
|
+
machine_detection_beep_spectral_confirmation: bool,
|
|
350
|
+
machine_detection_beep_spectral_min_purity: Float,
|
|
351
|
+
machine_detection_beep_spectral_reject_fax_cng: bool,
|
|
352
|
+
machine_detection_beep_spectral_window: Integer,
|
|
304
353
|
machine_detection_prompt_end_timeout: Integer,
|
|
305
354
|
machine_detection_silence_timeout: Integer,
|
|
306
355
|
machine_detection_speech_end_threshold: Integer,
|
|
@@ -74,6 +74,8 @@ module Telnyx
|
|
|
74
74
|
| Telnyx::SessionStatusChangedWebhookEvent
|
|
75
75
|
| Telnyx::TranscriptCompletedWebhookEvent
|
|
76
76
|
| Telnyx::TranscriptionWebhookEvent
|
|
77
|
+
| Telnyx::WhatsappAccountUpdate
|
|
78
|
+
| Telnyx::WhatsappMessageEcho
|
|
77
79
|
|
|
78
80
|
module UnsafeUnwrapWebhookEvent
|
|
79
81
|
extend Telnyx::Internal::Type::Union
|
|
@@ -74,6 +74,8 @@ module Telnyx
|
|
|
74
74
|
| Telnyx::SessionStatusChangedWebhookEvent
|
|
75
75
|
| Telnyx::TranscriptCompletedWebhookEvent
|
|
76
76
|
| Telnyx::TranscriptionWebhookEvent
|
|
77
|
+
| Telnyx::WhatsappAccountUpdate
|
|
78
|
+
| Telnyx::WhatsappMessageEcho
|
|
77
79
|
|
|
78
80
|
module UnwrapWebhookEvent
|
|
79
81
|
extend Telnyx::Internal::Type::Union
|