telnyx 5.168.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 +7 -0
- data/README.md +1 -1
- data/lib/telnyx/client.rb +40 -0
- data/lib/telnyx/internal/type/union.rb +6 -6
- data/lib/telnyx/models/ai/assistant_create_params.rb +6 -6
- data/lib/telnyx/models/ai/assistant_tool.rb +285 -12
- data/lib/telnyx/models/ai/assistant_update_params.rb +20 -9
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +20 -9
- 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 +3 -26
- data/lib/telnyx/models/ai/flow_node.rb +2 -2
- data/lib/telnyx/models/ai/inference_embedding.rb +13 -10
- 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 +86 -16
- 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/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/connection_retrieve_count_params.rb +14 -0
- data/lib/telnyx/models/connection_retrieve_count_response.rb +215 -0
- data/lib/telnyx/models/detail_record_list_params.rb +19 -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 +216 -13
- data/lib/telnyx/models/messaging_outbound_message_payload.rb +42 -2
- 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/voice_clone_create_from_upload_params.rb +2 -2
- data/lib/telnyx/models.rb +18 -0
- data/lib/telnyx/resources/ai/assistants/versions.rb +1 -1
- data/lib/telnyx/resources/ai/assistants.rb +2 -2
- data/lib/telnyx/resources/ai/audio.rb +2 -2
- 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 +4 -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 +5 -3
- data/lib/telnyx/resources/machine_payments.rb +73 -0
- 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/version.rb +1 -1
- data/lib/telnyx.rb +33 -0
- data/rbi/telnyx/client.rbi +35 -0
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +16 -12
- data/rbi/telnyx/models/ai/assistant_tool.rbi +423 -20
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +42 -16
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +42 -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 +4 -58
- data/rbi/telnyx/models/ai/flow_node.rbi +4 -2
- data/rbi/telnyx/models/ai/inference_embedding.rbi +24 -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 +174 -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/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/connection_retrieve_count_params.rbi +30 -0
- data/rbi/telnyx/models/connection_retrieve_count_response.rbi +353 -0
- data/rbi/telnyx/models/detail_record_list_params.rbi +30 -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 +477 -15
- data/rbi/telnyx/models/messaging_outbound_message_payload.rbi +90 -16
- 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/voice_clone_create_from_upload_params.rbi +4 -4
- data/rbi/telnyx/models.rbi +21 -0
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +19 -7
- data/rbi/telnyx/resources/ai/assistants.rbi +25 -12
- data/rbi/telnyx/resources/ai/audio.rbi +20 -9
- 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 +3 -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 +5 -3
- data/rbi/telnyx/resources/machine_payments.rbi +64 -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/sig/telnyx/client.rbs +10 -0
- data/sig/telnyx/models/ai/assistant_tool.rbs +162 -23
- 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 +4 -35
- 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 +52 -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/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/connection_retrieve_count_params.rbs +15 -0
- data/sig/telnyx/models/connection_retrieve_count_response.rbs +169 -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 +235 -6
- data/sig/telnyx/models/messaging_outbound_message_payload.rbs +39 -1
- 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.rbs +18 -0
- 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 +2 -0
- data/sig/telnyx/resources/connections.rbs +4 -0
- data/sig/telnyx/resources/machine_payments.rbs +12 -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
- metadata +101 -2
|
@@ -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,
|
data/sig/telnyx/models.rbs
CHANGED
|
@@ -117,6 +117,14 @@ module Telnyx
|
|
|
117
117
|
|
|
118
118
|
class BookAppointmentToolParams = Telnyx::Models::BookAppointmentToolParams
|
|
119
119
|
|
|
120
|
+
class BotChallengeCreateParams = Telnyx::Models::BotChallengeCreateParams
|
|
121
|
+
|
|
122
|
+
class BotSessionListParams = Telnyx::Models::BotSessionListParams
|
|
123
|
+
|
|
124
|
+
class BotSignupCreateParams = Telnyx::Models::BotSignupCreateParams
|
|
125
|
+
|
|
126
|
+
class BotSignupResendMagicLinkParams = Telnyx::Models::BotSignupResendMagicLinkParams
|
|
127
|
+
|
|
120
128
|
class BrandedCallingPaginationMeta = Telnyx::Models::BrandedCallingPaginationMeta
|
|
121
129
|
|
|
122
130
|
class BulkMessagingSettingsUpdatePhoneNumbers = Telnyx::Models::BulkMessagingSettingsUpdatePhoneNumbers
|
|
@@ -431,6 +439,8 @@ module Telnyx
|
|
|
431
439
|
|
|
432
440
|
class ConnectionNoiseSuppressionDetails = Telnyx::Models::ConnectionNoiseSuppressionDetails
|
|
433
441
|
|
|
442
|
+
class ConnectionRetrieveCountParams = Telnyx::Models::ConnectionRetrieveCountParams
|
|
443
|
+
|
|
434
444
|
class ConnectionRetrieveParams = Telnyx::Models::ConnectionRetrieveParams
|
|
435
445
|
|
|
436
446
|
class ConnectionRtcpSettings = Telnyx::Models::ConnectionRtcpSettings
|
|
@@ -977,6 +987,8 @@ module Telnyx
|
|
|
977
987
|
|
|
978
988
|
class ListRetrieveByZoneParams = Telnyx::Models::ListRetrieveByZoneParams
|
|
979
989
|
|
|
990
|
+
class MachinePaymentAccountCreditParams = Telnyx::Models::MachinePaymentAccountCreditParams
|
|
991
|
+
|
|
980
992
|
class ManagedAccount = Telnyx::Models::ManagedAccount
|
|
981
993
|
|
|
982
994
|
class ManagedAccountBalance = Telnyx::Models::ManagedAccountBalance
|
|
@@ -1099,6 +1111,8 @@ module Telnyx
|
|
|
1099
1111
|
|
|
1100
1112
|
class MessagingHostedNumberUpdateParams = Telnyx::Models::MessagingHostedNumberUpdateParams
|
|
1101
1113
|
|
|
1114
|
+
class MessagingInboundMessage = Telnyx::Models::MessagingInboundMessage
|
|
1115
|
+
|
|
1102
1116
|
class MessagingInboundMessagePayload = Telnyx::Models::MessagingInboundMessagePayload
|
|
1103
1117
|
|
|
1104
1118
|
class MessagingMessagingProfile = Telnyx::Models::MessagingMessagingProfile
|
|
@@ -1215,6 +1229,8 @@ module Telnyx
|
|
|
1215
1229
|
|
|
1216
1230
|
class NetworkUpdateParams = Telnyx::Models::NetworkUpdateParams
|
|
1217
1231
|
|
|
1232
|
+
class NoiseSuppressionEngineListParams = Telnyx::Models::NoiseSuppressionEngineListParams
|
|
1233
|
+
|
|
1218
1234
|
class NotificationChannel = Telnyx::Models::NotificationChannel
|
|
1219
1235
|
|
|
1220
1236
|
class NotificationChannelCreateParams = Telnyx::Models::NotificationChannelCreateParams
|
|
@@ -1829,6 +1845,8 @@ module Telnyx
|
|
|
1829
1845
|
|
|
1830
1846
|
class SubNumberOrderUpdateRequirementGroupParams = Telnyx::Models::SubNumberOrderUpdateRequirementGroupParams
|
|
1831
1847
|
|
|
1848
|
+
class SuccessResponse = Telnyx::Models::SuccessResponse
|
|
1849
|
+
|
|
1832
1850
|
class SuppressedRecipient = Telnyx::Models::SuppressedRecipient
|
|
1833
1851
|
|
|
1834
1852
|
class TelephonyCredential = Telnyx::Models::TelephonyCredential
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Resources
|
|
3
|
+
class AI
|
|
4
|
+
class Typesafe
|
|
5
|
+
class V1
|
|
6
|
+
def systemone: (
|
|
7
|
+
questions: ::Hash[Symbol, Telnyx::Models::AI::Typesafe::V1SystemoneParams::question],
|
|
8
|
+
state: Telnyx::Models::AI::Typesafe::V1SystemoneParams::state,
|
|
9
|
+
?request_options: Telnyx::request_opts
|
|
10
|
+
) -> Telnyx::Models::AI::Typesafe::V1SystemoneResponse
|
|
11
|
+
|
|
12
|
+
def initialize: (client: Telnyx::Client) -> void
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
data/sig/telnyx/resources/ai.rbs
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Resources
|
|
3
|
+
class BotChallenge
|
|
4
|
+
def create: (
|
|
5
|
+
?llm_model_name: String,
|
|
6
|
+
?llm_parameter_count: String,
|
|
7
|
+
?llm_quantization: String,
|
|
8
|
+
?request_options: Telnyx::request_opts
|
|
9
|
+
) -> Telnyx::Models::BotChallengeCreateResponse
|
|
10
|
+
|
|
11
|
+
def initialize: (client: Telnyx::Client) -> void
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Resources
|
|
3
|
+
class BotSessions
|
|
4
|
+
def list: (
|
|
5
|
+
email: String,
|
|
6
|
+
portal_redirect_token: String,
|
|
7
|
+
?request_options: Telnyx::request_opts
|
|
8
|
+
) -> Telnyx::Models::BotSessionListResponse
|
|
9
|
+
|
|
10
|
+
def initialize: (client: Telnyx::Client) -> void
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Resources
|
|
3
|
+
class BotSignup
|
|
4
|
+
def create: (
|
|
5
|
+
bot_challenge_answer: String,
|
|
6
|
+
bot_challenge_nonce: String,
|
|
7
|
+
privacy_policy_url: String,
|
|
8
|
+
terms_and_conditions_url: String,
|
|
9
|
+
terms_of_service: Telnyx::Models::BotSignupCreateParams::terms_of_service,
|
|
10
|
+
?email: String,
|
|
11
|
+
?terms_and_conditions_eu_url: String,
|
|
12
|
+
?terms_of_service_eu: Telnyx::Models::BotSignupCreateParams::terms_of_service_eu,
|
|
13
|
+
?request_options: Telnyx::request_opts
|
|
14
|
+
) -> Telnyx::SuccessResponse
|
|
15
|
+
|
|
16
|
+
def resend_magic_link: (
|
|
17
|
+
email: String,
|
|
18
|
+
?request_options: Telnyx::request_opts
|
|
19
|
+
) -> Telnyx::SuccessResponse
|
|
20
|
+
|
|
21
|
+
def initialize: (client: Telnyx::Client) -> void
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Resources
|
|
3
|
+
class Compute
|
|
4
|
+
class Funcs
|
|
5
|
+
class Export
|
|
6
|
+
def create: (
|
|
7
|
+
String id,
|
|
8
|
+
endpoint: String,
|
|
9
|
+
headers: ::Hash[Symbol, String],
|
|
10
|
+
invocation_export_enabled: bool,
|
|
11
|
+
runtime_export_enabled: bool,
|
|
12
|
+
?request_options: Telnyx::request_opts
|
|
13
|
+
) -> Telnyx::Compute::Funcs::FuncLogExportConfigResponse
|
|
14
|
+
|
|
15
|
+
def list: (
|
|
16
|
+
String id,
|
|
17
|
+
?request_options: Telnyx::request_opts
|
|
18
|
+
) -> Telnyx::Compute::Funcs::FuncLogExportConfigResponse
|
|
19
|
+
|
|
20
|
+
def delete_all: (
|
|
21
|
+
String id,
|
|
22
|
+
?request_options: Telnyx::request_opts
|
|
23
|
+
) -> nil
|
|
24
|
+
|
|
25
|
+
def initialize: (client: Telnyx::Client) -> void
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -21,6 +21,10 @@ module Telnyx
|
|
|
21
21
|
?request_options: Telnyx::request_opts
|
|
22
22
|
) -> Telnyx::Internal::DefaultFlatPagination[Telnyx::Models::ConnectionListActiveCallsResponse]
|
|
23
23
|
|
|
24
|
+
def retrieve_count: (
|
|
25
|
+
?request_options: Telnyx::request_opts
|
|
26
|
+
) -> Telnyx::Models::ConnectionRetrieveCountResponse
|
|
27
|
+
|
|
24
28
|
def initialize: (client: Telnyx::Client) -> void
|
|
25
29
|
end
|
|
26
30
|
end
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Resources
|
|
3
|
+
class MachinePayments
|
|
4
|
+
def account_credit: (
|
|
5
|
+
amount_usd: String,
|
|
6
|
+
?request_options: Telnyx::request_opts
|
|
7
|
+
) -> Telnyx::Models::MachinePaymentAccountCreditResponse
|
|
8
|
+
|
|
9
|
+
def initialize: (client: Telnyx::Client) -> void
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
@@ -63,7 +63,14 @@ module Telnyx
|
|
|
63
63
|
?from: String,
|
|
64
64
|
?label: String,
|
|
65
65
|
?machine_detection: Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection,
|
|
66
|
+
?machine_detection_beep_max_frequency: Integer,
|
|
67
|
+
?machine_detection_beep_min_frequency: Integer,
|
|
68
|
+
?machine_detection_beep_min_tone_duration: Integer,
|
|
66
69
|
?machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection_beep_profile,
|
|
70
|
+
?machine_detection_beep_spectral_confirmation: bool,
|
|
71
|
+
?machine_detection_beep_spectral_min_purity: Float,
|
|
72
|
+
?machine_detection_beep_spectral_reject_fax_cng: bool,
|
|
73
|
+
?machine_detection_beep_spectral_window: Integer,
|
|
67
74
|
?machine_detection_silence_timeout: Integer,
|
|
68
75
|
?machine_detection_speech_end_threshold: Integer,
|
|
69
76
|
?machine_detection_speech_threshold: Integer,
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Resources
|
|
3
|
+
class Texml
|
|
4
|
+
class Calls
|
|
5
|
+
def create: (
|
|
6
|
+
String connection_id,
|
|
7
|
+
from: String,
|
|
8
|
+
to: String,
|
|
9
|
+
?method_: Telnyx::Models::Texml::CallCreateParams::method_,
|
|
10
|
+
?texml: String,
|
|
11
|
+
?url: String,
|
|
12
|
+
?request_options: Telnyx::request_opts
|
|
13
|
+
) -> Telnyx::Models::Texml::CallCreateResponse
|
|
14
|
+
|
|
15
|
+
def initialize: (client: Telnyx::Client) -> void
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
module Telnyx
|
|
2
2
|
module Resources
|
|
3
3
|
class Texml
|
|
4
|
+
attr_reader calls: Telnyx::Resources::Texml::Calls
|
|
5
|
+
|
|
4
6
|
attr_reader accounts: Telnyx::Resources::Texml::Accounts
|
|
5
7
|
|
|
6
8
|
def initiate_ai_call: (
|
|
@@ -20,7 +22,14 @@ module Telnyx
|
|
|
20
22
|
?custom_headers: ::Array[Telnyx::TexmlInitiateAICallParams::CustomHeader],
|
|
21
23
|
?detection_mode: Telnyx::Models::TexmlInitiateAICallParams::detection_mode,
|
|
22
24
|
?machine_detection: Telnyx::Models::TexmlInitiateAICallParams::machine_detection,
|
|
25
|
+
?machine_detection_beep_max_frequency: Integer,
|
|
26
|
+
?machine_detection_beep_min_frequency: Integer,
|
|
27
|
+
?machine_detection_beep_min_tone_duration: Integer,
|
|
23
28
|
?machine_detection_beep_profile: Telnyx::Models::TexmlInitiateAICallParams::machine_detection_beep_profile,
|
|
29
|
+
?machine_detection_beep_spectral_confirmation: bool,
|
|
30
|
+
?machine_detection_beep_spectral_min_purity: Float,
|
|
31
|
+
?machine_detection_beep_spectral_reject_fax_cng: bool,
|
|
32
|
+
?machine_detection_beep_spectral_window: Integer,
|
|
24
33
|
?machine_detection_prompt_end_timeout: Integer,
|
|
25
34
|
?machine_detection_silence_timeout: Integer,
|
|
26
35
|
?machine_detection_speech_end_threshold: Integer,
|