telnyx 5.0.0 → 5.2.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 +46 -0
- data/README.md +1 -1
- data/lib/telnyx/client.rb +4 -0
- data/lib/telnyx/internal/type/union.rb +1 -1
- data/lib/telnyx/models/ai/assistant.rb +39 -4
- data/lib/telnyx/models/ai/assistant_create_params.rb +17 -6
- data/lib/telnyx/models/ai/assistant_imports_params.rb +10 -1
- data/lib/telnyx/models/ai/assistant_tool.rb +400 -3
- data/lib/telnyx/models/ai/assistant_update_params.rb +17 -6
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +17 -6
- data/lib/telnyx/models/ai/audio_visualizer_config.rb +43 -0
- data/lib/telnyx/models/ai/bucket_ids.rb +7 -1
- data/lib/telnyx/models/ai/chat_create_completion_params.rb +4 -4
- data/lib/telnyx/models/ai/inference_embedding.rb +17 -6
- data/lib/telnyx/models/ai/messaging_settings.rb +10 -1
- data/lib/telnyx/models/ai/retrieval_tool.rb +3 -3
- data/lib/telnyx/models/ai/telephony_settings.rb +142 -1
- data/lib/telnyx/models/ai/transfer_tool.rb +46 -3
- data/lib/telnyx/models/ai/voice_settings.rb +1 -1
- data/lib/telnyx/models/ai/webhook_tool.rb +256 -3
- data/lib/telnyx/models/ai/widget_settings.rb +138 -0
- data/lib/telnyx/models/call_control_application_list_params.rb +16 -18
- data/lib/telnyx/models/call_event_list_params.rb +16 -18
- data/lib/telnyx/models/calls/action_add_ai_assistant_messages_params.rb +289 -0
- data/lib/telnyx/models/calls/action_add_ai_assistant_messages_response.rb +18 -0
- data/lib/telnyx/models/calls/action_start_noise_suppression_params.rb +7 -4
- data/lib/telnyx/models/conference_list_params.rb +16 -18
- data/lib/telnyx/models/conference_list_participants_params.rb +16 -18
- data/lib/telnyx/models/connection_list_active_calls_params.rb +16 -18
- data/lib/telnyx/models/connection_noise_suppression_details.rb +61 -0
- data/lib/telnyx/models/credential_connection.rb +3 -61
- data/lib/telnyx/models/credential_connection_create_params.rb +3 -61
- data/lib/telnyx/models/credential_connection_update_params.rb +3 -61
- data/lib/telnyx/models/fax_create_params.rb +10 -1
- data/lib/telnyx/models/fqdn_connection.rb +3 -60
- data/lib/telnyx/models/fqdn_connection_create_params.rb +3 -60
- data/lib/telnyx/models/fqdn_connection_update_params.rb +3 -60
- data/lib/telnyx/models/ip_connection.rb +3 -60
- data/lib/telnyx/models/ip_connection_create_params.rb +3 -60
- data/lib/telnyx/models/ip_connection_update_params.rb +3 -60
- data/lib/telnyx/models/messaging_10dlc/brand_retrieve_sms_otp_status_params.rb +1 -9
- data/lib/telnyx/models/messaging_profile.rb +11 -1
- data/lib/telnyx/models/messaging_profile_create_params.rb +11 -1
- data/lib/telnyx/models/messaging_profile_update_params.rb +11 -1
- data/lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb +14 -1
- data/lib/telnyx/models/messaging_tollfree/verification/verification_request_egress.rb +17 -1
- data/lib/telnyx/models/messaging_tollfree/verification/verification_request_status.rb +17 -1
- data/lib/telnyx/models/organizations/user_get_groups_report_params.rb +32 -0
- data/lib/telnyx/models/organizations/user_get_groups_report_response.rb +110 -0
- data/lib/telnyx/models/organizations/user_group_reference.rb +28 -0
- data/lib/telnyx/models/organizations/user_list_params.rb +73 -0
- data/lib/telnyx/models/organizations/user_list_response.rb +96 -0
- data/lib/telnyx/models/organizations/user_retrieve_params.rb +29 -0
- data/lib/telnyx/models/organizations/user_retrieve_response.rb +107 -0
- data/lib/telnyx/models/organizations/users/action_remove_params.rb +18 -0
- data/lib/telnyx/models/organizations/users/action_remove_response.rb +111 -0
- data/lib/telnyx/models/private_wireless_gateway_status.rb +3 -2
- data/lib/telnyx/models/queues/call_list_params.rb +16 -18
- data/lib/telnyx/models/sim_card_list_params.rb +11 -3
- data/lib/telnyx/models/texml/accounts/queue_list_params.rb +64 -0
- data/lib/telnyx/models/texml/accounts/queue_list_response.rb +155 -0
- data/lib/telnyx/models/unsafe_unwrap_webhook_event.rb +1 -7
- data/lib/telnyx/models/unwrap_webhook_event.rb +1 -7
- data/lib/telnyx/models.rb +4 -6
- data/lib/telnyx/resources/ai/assistants/tools.rb +2 -2
- data/lib/telnyx/resources/ai/assistants/versions.rb +18 -16
- data/lib/telnyx/resources/ai/assistants.rb +15 -9
- data/lib/telnyx/resources/ai/clusters.rb +1 -1
- data/lib/telnyx/resources/ai/embeddings.rb +1 -1
- data/lib/telnyx/resources/bundle_pricing/user_bundles.rb +1 -1
- data/lib/telnyx/resources/call_control_applications.rb +8 -4
- data/lib/telnyx/resources/call_events.rb +8 -4
- data/lib/telnyx/resources/calls/actions.rb +31 -0
- data/lib/telnyx/resources/conferences.rb +16 -8
- data/lib/telnyx/resources/connections.rb +8 -4
- data/lib/telnyx/resources/credential_connections.rb +2 -2
- data/lib/telnyx/resources/faxes.rb +3 -1
- data/lib/telnyx/resources/fqdn_connections.rb +2 -2
- data/lib/telnyx/resources/ip_connections.rb +2 -2
- data/lib/telnyx/resources/messages.rb +1 -1
- data/lib/telnyx/resources/messaging_10dlc/brand.rb +10 -14
- data/lib/telnyx/resources/messaging_profiles/autoresp_configs.rb +6 -6
- data/lib/telnyx/resources/messaging_profiles.rb +6 -2
- data/lib/telnyx/resources/messaging_tollfree/verification/requests.rb +6 -2
- data/lib/telnyx/resources/operator_connect/actions.rb +1 -1
- data/lib/telnyx/resources/organizations/users/actions.rb +38 -0
- data/lib/telnyx/resources/organizations/users.rb +114 -0
- data/lib/telnyx/resources/organizations.rb +18 -0
- data/lib/telnyx/resources/phone_numbers/jobs.rb +1 -1
- data/lib/telnyx/resources/queues/calls.rb +8 -4
- data/lib/telnyx/resources/sim_cards/actions.rb +6 -6
- data/lib/telnyx/resources/texml/accounts/calls/recordings.rb +1 -1
- data/lib/telnyx/resources/texml/accounts/queues.rb +41 -0
- data/lib/telnyx/resources/usage_reports.rb +2 -2
- data/lib/telnyx/resources/webhooks.rb +2 -2
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +19 -69
- data/rbi/telnyx/client.rbi +3 -0
- data/rbi/telnyx/models/ai/assistant.rbi +91 -5
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +31 -14
- data/rbi/telnyx/models/ai/assistant_imports_params.rbi +13 -0
- data/rbi/telnyx/models/ai/assistant_tool.rbi +910 -2
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +31 -14
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +36 -17
- data/rbi/telnyx/models/ai/audio_visualizer_config.rbi +107 -0
- data/rbi/telnyx/models/ai/bucket_ids.rbi +6 -0
- data/rbi/telnyx/models/ai/chat_create_completion_params.rbi +6 -13
- data/rbi/telnyx/models/ai/inference_embedding.rbi +30 -13
- data/rbi/telnyx/models/ai/messaging_settings.rbi +13 -0
- data/rbi/telnyx/models/ai/retrieval_tool.rbi +4 -8
- data/rbi/telnyx/models/ai/telephony_settings.rbi +347 -3
- data/rbi/telnyx/models/ai/transfer_tool.rbi +87 -6
- data/rbi/telnyx/models/ai/voice_settings.rbi +2 -2
- data/rbi/telnyx/models/ai/webhook_tool.rbi +584 -8
- data/rbi/telnyx/models/ai/widget_settings.rbi +225 -0
- data/rbi/telnyx/models/call_control_application_list_params.rbi +23 -35
- data/rbi/telnyx/models/call_event_list_params.rbi +23 -35
- data/rbi/telnyx/models/calls/action_add_ai_assistant_messages_params.rbi +583 -0
- data/rbi/telnyx/models/calls/action_add_ai_assistant_messages_response.rbi +39 -0
- data/rbi/telnyx/models/calls/action_start_noise_suppression_params.rbi +14 -6
- data/rbi/telnyx/models/conference_list_params.rbi +23 -35
- data/rbi/telnyx/models/conference_list_participants_params.rbi +23 -35
- data/rbi/telnyx/models/connection_list_active_calls_params.rbi +23 -35
- data/rbi/telnyx/models/connection_noise_suppression_details.rbi +141 -0
- data/rbi/telnyx/models/credential_connection.rbi +4 -152
- data/rbi/telnyx/models/credential_connection_create_params.rbi +4 -154
- data/rbi/telnyx/models/credential_connection_update_params.rbi +4 -154
- data/rbi/telnyx/models/fax_create_params.rbi +13 -0
- data/rbi/telnyx/models/fqdn_connection.rbi +4 -150
- data/rbi/telnyx/models/fqdn_connection_create_params.rbi +4 -152
- data/rbi/telnyx/models/fqdn_connection_update_params.rbi +4 -152
- data/rbi/telnyx/models/ip_connection.rbi +4 -148
- data/rbi/telnyx/models/ip_connection_create_params.rbi +4 -152
- data/rbi/telnyx/models/ip_connection_update_params.rbi +4 -152
- data/rbi/telnyx/models/messaging_10dlc/brand_retrieve_sms_otp_status_params.rbi +5 -21
- data/rbi/telnyx/models/messaging_profile.rbi +15 -0
- data/rbi/telnyx/models/messaging_profile_create_params.rbi +15 -0
- data/rbi/telnyx/models/messaging_profile_update_params.rbi +15 -0
- data/rbi/telnyx/models/messaging_tollfree/verification/tf_verification_request.rbi +12 -0
- data/rbi/telnyx/models/messaging_tollfree/verification/verification_request_egress.rbi +10 -0
- data/rbi/telnyx/models/messaging_tollfree/verification/verification_request_status.rbi +10 -0
- data/rbi/telnyx/models/organizations/user_get_groups_report_params.rbi +93 -0
- data/rbi/telnyx/models/organizations/user_get_groups_report_response.rbi +210 -0
- data/rbi/telnyx/models/organizations/user_group_reference.rbi +39 -0
- data/rbi/telnyx/models/organizations/user_list_params.rbi +152 -0
- data/rbi/telnyx/models/organizations/user_list_response.rbi +188 -0
- data/rbi/telnyx/models/organizations/user_retrieve_params.rbi +55 -0
- data/rbi/telnyx/models/organizations/user_retrieve_response.rbi +232 -0
- data/rbi/telnyx/models/organizations/users/action_remove_params.rbi +34 -0
- data/rbi/telnyx/models/organizations/users/action_remove_response.rbi +239 -0
- data/rbi/telnyx/models/private_wireless_gateway_status.rbi +4 -2
- data/rbi/telnyx/models/queues/call_list_params.rbi +23 -35
- data/rbi/telnyx/models/sim_card_list_params.rbi +14 -3
- data/rbi/telnyx/models/texml/accounts/queue_list_params.rbi +103 -0
- data/rbi/telnyx/models/texml/accounts/queue_list_response.rbi +269 -0
- data/rbi/telnyx/models/unsafe_unwrap_webhook_event.rbi +0 -3
- data/rbi/telnyx/models/unwrap_webhook_event.rbi +0 -3
- data/rbi/telnyx/models.rbi +5 -6
- data/rbi/telnyx/resources/ai/assistants/tools.rbi +2 -2
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +25 -19
- data/rbi/telnyx/resources/ai/assistants.rbi +30 -14
- data/rbi/telnyx/resources/ai/chat.rbi +1 -1
- data/rbi/telnyx/resources/ai/clusters.rbi +1 -1
- data/rbi/telnyx/resources/ai/embeddings.rbi +1 -1
- data/rbi/telnyx/resources/bundle_pricing/user_bundles.rbi +1 -1
- data/rbi/telnyx/resources/call_control_applications.rbi +7 -1
- data/rbi/telnyx/resources/call_events.rbi +5 -1
- data/rbi/telnyx/resources/calls/actions.rbi +37 -2
- data/rbi/telnyx/resources/conferences.rbi +10 -2
- data/rbi/telnyx/resources/connections.rbi +5 -1
- data/rbi/telnyx/resources/credential_connections.rbi +2 -2
- data/rbi/telnyx/resources/faxes.rbi +4 -0
- data/rbi/telnyx/resources/fqdn_connections.rbi +2 -2
- data/rbi/telnyx/resources/ip_connections.rbi +2 -2
- data/rbi/telnyx/resources/messages.rbi +1 -1
- data/rbi/telnyx/resources/messaging_10dlc/brand.rbi +8 -11
- data/rbi/telnyx/resources/messaging_profiles/autoresp_configs.rbi +6 -6
- data/rbi/telnyx/resources/messaging_profiles.rbi +10 -0
- data/rbi/telnyx/resources/messaging_tollfree/verification/requests.rbi +10 -0
- data/rbi/telnyx/resources/operator_connect/actions.rbi +1 -1
- data/rbi/telnyx/resources/organizations/users/actions.rbi +32 -0
- data/rbi/telnyx/resources/organizations/users.rbi +88 -0
- data/rbi/telnyx/resources/organizations.rbi +15 -0
- data/rbi/telnyx/resources/phone_numbers/jobs.rbi +1 -1
- data/rbi/telnyx/resources/queues/calls.rbi +5 -1
- data/rbi/telnyx/resources/sim_cards/actions.rbi +6 -6
- data/rbi/telnyx/resources/sim_cards.rbi +1 -1
- data/rbi/telnyx/resources/texml/accounts/calls/recordings.rbi +1 -1
- data/rbi/telnyx/resources/texml/accounts/queues.rbi +32 -0
- data/rbi/telnyx/resources/usage_reports.rbi +2 -2
- data/rbi/telnyx/resources/webhooks.rbi +0 -6
- data/sig/telnyx/client.rbs +2 -0
- data/sig/telnyx/models/ai/assistant.rbs +44 -1
- data/sig/telnyx/models/ai/assistant_create_params.rbs +10 -1
- data/sig/telnyx/models/ai/assistant_imports_params.rbs +8 -1
- data/sig/telnyx/models/ai/assistant_tool.rbs +367 -2
- data/sig/telnyx/models/ai/assistant_update_params.rbs +10 -1
- data/sig/telnyx/models/ai/assistants/update_assistant.rbs +12 -3
- data/sig/telnyx/models/ai/audio_visualizer_config.rbs +48 -0
- data/sig/telnyx/models/ai/chat_create_completion_params.rbs +4 -7
- data/sig/telnyx/models/ai/inference_embedding.rbs +12 -3
- data/sig/telnyx/models/ai/messaging_settings.rbs +7 -0
- data/sig/telnyx/models/ai/retrieval_tool.rbs +4 -4
- data/sig/telnyx/models/ai/telephony_settings.rbs +133 -4
- data/sig/telnyx/models/ai/transfer_tool.rbs +42 -4
- data/sig/telnyx/models/ai/webhook_tool.rbs +241 -4
- data/sig/telnyx/models/ai/widget_settings.rbs +127 -0
- data/sig/telnyx/models/call_control_application_list_params.rbs +17 -26
- data/sig/telnyx/models/call_event_list_params.rbs +18 -27
- data/sig/telnyx/models/calls/action_add_ai_assistant_messages_params.rbs +240 -0
- data/sig/telnyx/models/calls/action_add_ai_assistant_messages_response.rbs +20 -0
- data/sig/telnyx/models/calls/action_start_noise_suppression_params.rbs +2 -1
- data/sig/telnyx/models/conference_list_params.rbs +17 -26
- data/sig/telnyx/models/conference_list_participants_params.rbs +17 -26
- data/sig/telnyx/models/connection_list_active_calls_params.rbs +20 -27
- data/sig/telnyx/models/connection_noise_suppression_details.rbs +54 -0
- data/sig/telnyx/models/credential_connection.rbs +6 -57
- data/sig/telnyx/models/credential_connection_create_params.rbs +6 -57
- data/sig/telnyx/models/credential_connection_update_params.rbs +6 -57
- data/sig/telnyx/models/fax_create_params.rbs +7 -0
- data/sig/telnyx/models/fqdn_connection.rbs +6 -57
- data/sig/telnyx/models/fqdn_connection_create_params.rbs +6 -57
- data/sig/telnyx/models/fqdn_connection_update_params.rbs +6 -57
- data/sig/telnyx/models/ip_connection.rbs +6 -57
- data/sig/telnyx/models/ip_connection_create_params.rbs +6 -57
- data/sig/telnyx/models/ip_connection_update_params.rbs +6 -57
- data/sig/telnyx/models/messaging_10dlc/brand_retrieve_sms_otp_status_params.rbs +3 -13
- data/sig/telnyx/models/messaging_profile.rbs +7 -0
- data/sig/telnyx/models/messaging_profile_create_params.rbs +7 -0
- data/sig/telnyx/models/messaging_profile_update_params.rbs +7 -0
- data/sig/telnyx/models/messaging_tollfree/verification/tf_verification_request.rbs +5 -0
- data/sig/telnyx/models/messaging_tollfree/verification/verification_request_egress.rbs +5 -0
- data/sig/telnyx/models/messaging_tollfree/verification/verification_request_status.rbs +5 -0
- data/sig/telnyx/models/organizations/user_get_groups_report_params.rbs +43 -0
- data/sig/telnyx/models/organizations/user_get_groups_report_response.rbs +92 -0
- data/sig/telnyx/models/organizations/user_group_reference.rbs +17 -0
- data/sig/telnyx/models/organizations/user_list_params.rbs +72 -0
- data/sig/telnyx/models/organizations/user_list_response.rbs +87 -0
- data/sig/telnyx/models/organizations/user_retrieve_params.rbs +27 -0
- data/sig/telnyx/models/organizations/user_retrieve_response.rbs +106 -0
- data/sig/telnyx/models/organizations/users/action_remove_params.rbs +19 -0
- data/sig/telnyx/models/organizations/users/action_remove_response.rbs +110 -0
- data/sig/telnyx/models/queues/call_list_params.rbs +20 -27
- data/sig/telnyx/models/sim_card_list_params.rbs +7 -0
- data/sig/telnyx/models/texml/accounts/queue_list_params.rbs +60 -0
- data/sig/telnyx/models/texml/accounts/queue_list_response.rbs +152 -0
- data/sig/telnyx/models/unsafe_unwrap_webhook_event.rbs +0 -3
- data/sig/telnyx/models/unwrap_webhook_event.rbs +0 -3
- data/sig/telnyx/models.rbs +4 -6
- data/sig/telnyx/resources/ai/assistants/versions.rbs +1 -0
- data/sig/telnyx/resources/ai/assistants.rbs +3 -0
- data/sig/telnyx/resources/call_control_applications.rbs +3 -1
- data/sig/telnyx/resources/call_events.rbs +3 -1
- data/sig/telnyx/resources/calls/actions.rbs +8 -0
- data/sig/telnyx/resources/conferences.rbs +6 -2
- data/sig/telnyx/resources/connections.rbs +3 -1
- data/sig/telnyx/resources/credential_connections.rbs +2 -2
- data/sig/telnyx/resources/faxes.rbs +1 -0
- data/sig/telnyx/resources/fqdn_connections.rbs +2 -2
- data/sig/telnyx/resources/ip_connections.rbs +2 -2
- data/sig/telnyx/resources/messaging_10dlc/brand.rbs +1 -2
- data/sig/telnyx/resources/messaging_profiles.rbs +2 -0
- data/sig/telnyx/resources/messaging_tollfree/verification/requests.rbs +2 -0
- data/sig/telnyx/resources/organizations/users/actions.rbs +16 -0
- data/sig/telnyx/resources/organizations/users.rbs +31 -0
- data/sig/telnyx/resources/organizations.rbs +9 -0
- data/sig/telnyx/resources/queues/calls.rbs +3 -1
- data/sig/telnyx/resources/texml/accounts/queues.rbs +10 -0
- data/sig/telnyx/resources/webhooks.rbs +0 -6
- metadata +59 -20
- data/lib/telnyx/models/ai/inference_embedding_bucket_ids.rb +0 -31
- data/lib/telnyx/models/ai/inference_embedding_transfer_tool_params.rb +0 -93
- data/lib/telnyx/models/ai/inference_embedding_webhook_tool_params.rb +0 -265
- data/lib/telnyx/models/streaming_failed_webhook_event.rb +0 -15
- data/lib/telnyx/models/streaming_started_webhook_event.rb +0 -15
- data/lib/telnyx/models/streaming_stopped_webhook_event.rb +0 -15
- data/rbi/telnyx/models/ai/inference_embedding_bucket_ids.rbi +0 -54
- data/rbi/telnyx/models/ai/inference_embedding_transfer_tool_params.rbi +0 -185
- data/rbi/telnyx/models/ai/inference_embedding_webhook_tool_params.rbi +0 -621
- data/rbi/telnyx/models/streaming_failed_webhook_event.rbi +0 -30
- data/rbi/telnyx/models/streaming_started_webhook_event.rbi +0 -30
- data/rbi/telnyx/models/streaming_stopped_webhook_event.rbi +0 -30
- data/sig/telnyx/models/ai/inference_embedding_bucket_ids.rbs +0 -26
- data/sig/telnyx/models/ai/inference_embedding_transfer_tool_params.rbs +0 -75
- data/sig/telnyx/models/ai/inference_embedding_webhook_tool_params.rbs +0 -242
- data/sig/telnyx/models/streaming_failed_webhook_event.rbs +0 -15
- data/sig/telnyx/models/streaming_started_webhook_event.rbs +0 -16
- data/sig/telnyx/models/streaming_stopped_webhook_event.rbs +0 -16
|
@@ -122,19 +122,13 @@ module Telnyx
|
|
|
122
122
|
# regardless of the noise_suppression value, but only take effect when
|
|
123
123
|
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
124
124
|
# re-enable it, the previously configured settings will be used.
|
|
125
|
-
sig
|
|
126
|
-
returns(
|
|
127
|
-
T.nilable(
|
|
128
|
-
Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails
|
|
129
|
-
)
|
|
130
|
-
)
|
|
131
|
-
end
|
|
125
|
+
sig { returns(T.nilable(Telnyx::ConnectionNoiseSuppressionDetails)) }
|
|
132
126
|
attr_reader :noise_suppression_details
|
|
133
127
|
|
|
134
128
|
sig do
|
|
135
129
|
params(
|
|
136
130
|
noise_suppression_details:
|
|
137
|
-
Telnyx::
|
|
131
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash
|
|
138
132
|
).void
|
|
139
133
|
end
|
|
140
134
|
attr_writer :noise_suppression_details
|
|
@@ -244,7 +238,7 @@ module Telnyx
|
|
|
244
238
|
noise_suppression:
|
|
245
239
|
Telnyx::CredentialConnectionCreateParams::NoiseSuppression::OrSymbol,
|
|
246
240
|
noise_suppression_details:
|
|
247
|
-
Telnyx::
|
|
241
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash,
|
|
248
242
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
249
243
|
outbound: Telnyx::CredentialOutbound::OrHash,
|
|
250
244
|
rtcp_settings: Telnyx::ConnectionRtcpSettings::OrHash,
|
|
@@ -353,7 +347,7 @@ module Telnyx
|
|
|
353
347
|
noise_suppression:
|
|
354
348
|
Telnyx::CredentialConnectionCreateParams::NoiseSuppression::OrSymbol,
|
|
355
349
|
noise_suppression_details:
|
|
356
|
-
Telnyx::
|
|
350
|
+
Telnyx::ConnectionNoiseSuppressionDetails,
|
|
357
351
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
358
352
|
outbound: Telnyx::CredentialOutbound,
|
|
359
353
|
rtcp_settings: Telnyx::ConnectionRtcpSettings,
|
|
@@ -420,150 +414,6 @@ module Telnyx
|
|
|
420
414
|
end
|
|
421
415
|
end
|
|
422
416
|
|
|
423
|
-
class NoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
|
|
424
|
-
OrHash =
|
|
425
|
-
T.type_alias do
|
|
426
|
-
T.any(
|
|
427
|
-
Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails,
|
|
428
|
-
Telnyx::Internal::AnyHash
|
|
429
|
-
)
|
|
430
|
-
end
|
|
431
|
-
|
|
432
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
433
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
434
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
435
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
436
|
-
sig { returns(T.nilable(Integer)) }
|
|
437
|
-
attr_reader :attenuation_limit
|
|
438
|
-
|
|
439
|
-
sig { params(attenuation_limit: Integer).void }
|
|
440
|
-
attr_writer :attenuation_limit
|
|
441
|
-
|
|
442
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
443
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
444
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
445
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
446
|
-
# noise suppression capabilities.
|
|
447
|
-
sig do
|
|
448
|
-
returns(
|
|
449
|
-
T.nilable(
|
|
450
|
-
Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
451
|
-
)
|
|
452
|
-
)
|
|
453
|
-
end
|
|
454
|
-
attr_reader :engine
|
|
455
|
-
|
|
456
|
-
sig do
|
|
457
|
-
params(
|
|
458
|
-
engine:
|
|
459
|
-
Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
460
|
-
).void
|
|
461
|
-
end
|
|
462
|
-
attr_writer :engine
|
|
463
|
-
|
|
464
|
-
# Configuration options for noise suppression. These settings are stored
|
|
465
|
-
# regardless of the noise_suppression value, but only take effect when
|
|
466
|
-
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
467
|
-
# re-enable it, the previously configured settings will be used.
|
|
468
|
-
sig do
|
|
469
|
-
params(
|
|
470
|
-
attenuation_limit: Integer,
|
|
471
|
-
engine:
|
|
472
|
-
Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
473
|
-
).returns(T.attached_class)
|
|
474
|
-
end
|
|
475
|
-
def self.new(
|
|
476
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
477
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
478
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
479
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
480
|
-
attenuation_limit: nil,
|
|
481
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
482
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
483
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
484
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
485
|
-
# noise suppression capabilities.
|
|
486
|
-
engine: nil
|
|
487
|
-
)
|
|
488
|
-
end
|
|
489
|
-
|
|
490
|
-
sig do
|
|
491
|
-
override.returns(
|
|
492
|
-
{
|
|
493
|
-
attenuation_limit: Integer,
|
|
494
|
-
engine:
|
|
495
|
-
Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
496
|
-
}
|
|
497
|
-
)
|
|
498
|
-
end
|
|
499
|
-
def to_hash
|
|
500
|
-
end
|
|
501
|
-
|
|
502
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
503
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
504
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
505
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
506
|
-
# noise suppression capabilities.
|
|
507
|
-
module Engine
|
|
508
|
-
extend Telnyx::Internal::Type::Enum
|
|
509
|
-
|
|
510
|
-
TaggedSymbol =
|
|
511
|
-
T.type_alias do
|
|
512
|
-
T.all(
|
|
513
|
-
Symbol,
|
|
514
|
-
Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails::Engine
|
|
515
|
-
)
|
|
516
|
-
end
|
|
517
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
518
|
-
|
|
519
|
-
DENOISER =
|
|
520
|
-
T.let(
|
|
521
|
-
:denoiser,
|
|
522
|
-
Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
523
|
-
)
|
|
524
|
-
DEEP_FILTER_NET =
|
|
525
|
-
T.let(
|
|
526
|
-
:deep_filter_net,
|
|
527
|
-
Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
528
|
-
)
|
|
529
|
-
DEEP_FILTER_NET_LARGE =
|
|
530
|
-
T.let(
|
|
531
|
-
:deep_filter_net_large,
|
|
532
|
-
Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
533
|
-
)
|
|
534
|
-
KRISP_VIVA_TEL =
|
|
535
|
-
T.let(
|
|
536
|
-
:krisp_viva_tel,
|
|
537
|
-
Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
538
|
-
)
|
|
539
|
-
KRISP_VIVA_TEL_LITE =
|
|
540
|
-
T.let(
|
|
541
|
-
:krisp_viva_tel_lite,
|
|
542
|
-
Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
543
|
-
)
|
|
544
|
-
KRISP_VIVA_PROMODEL =
|
|
545
|
-
T.let(
|
|
546
|
-
:krisp_viva_promodel,
|
|
547
|
-
Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
548
|
-
)
|
|
549
|
-
KRISP_VIVA_SS =
|
|
550
|
-
T.let(
|
|
551
|
-
:krisp_viva_ss,
|
|
552
|
-
Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
553
|
-
)
|
|
554
|
-
|
|
555
|
-
sig do
|
|
556
|
-
override.returns(
|
|
557
|
-
T::Array[
|
|
558
|
-
Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
559
|
-
]
|
|
560
|
-
)
|
|
561
|
-
end
|
|
562
|
-
def self.values
|
|
563
|
-
end
|
|
564
|
-
end
|
|
565
|
-
end
|
|
566
|
-
|
|
567
417
|
# This feature enables inbound SIP URI calls to your Credential Auth Connection.
|
|
568
418
|
# If enabled for all (unrestricted) then anyone who calls the SIP URI
|
|
569
419
|
# <your-username>@telnyx.com will be connected to your Connection. You can also
|
|
@@ -115,19 +115,13 @@ module Telnyx
|
|
|
115
115
|
# regardless of the noise_suppression value, but only take effect when
|
|
116
116
|
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
117
117
|
# re-enable it, the previously configured settings will be used.
|
|
118
|
-
sig
|
|
119
|
-
returns(
|
|
120
|
-
T.nilable(
|
|
121
|
-
Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails
|
|
122
|
-
)
|
|
123
|
-
)
|
|
124
|
-
end
|
|
118
|
+
sig { returns(T.nilable(Telnyx::ConnectionNoiseSuppressionDetails)) }
|
|
125
119
|
attr_reader :noise_suppression_details
|
|
126
120
|
|
|
127
121
|
sig do
|
|
128
122
|
params(
|
|
129
123
|
noise_suppression_details:
|
|
130
|
-
Telnyx::
|
|
124
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash
|
|
131
125
|
).void
|
|
132
126
|
end
|
|
133
127
|
attr_writer :noise_suppression_details
|
|
@@ -249,7 +243,7 @@ module Telnyx
|
|
|
249
243
|
noise_suppression:
|
|
250
244
|
Telnyx::CredentialConnectionUpdateParams::NoiseSuppression::OrSymbol,
|
|
251
245
|
noise_suppression_details:
|
|
252
|
-
Telnyx::
|
|
246
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash,
|
|
253
247
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
254
248
|
outbound: Telnyx::CredentialOutbound::OrHash,
|
|
255
249
|
password: String,
|
|
@@ -356,7 +350,7 @@ module Telnyx
|
|
|
356
350
|
noise_suppression:
|
|
357
351
|
Telnyx::CredentialConnectionUpdateParams::NoiseSuppression::OrSymbol,
|
|
358
352
|
noise_suppression_details:
|
|
359
|
-
Telnyx::
|
|
353
|
+
Telnyx::ConnectionNoiseSuppressionDetails,
|
|
360
354
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
361
355
|
outbound: Telnyx::CredentialOutbound,
|
|
362
356
|
password: String,
|
|
@@ -425,150 +419,6 @@ module Telnyx
|
|
|
425
419
|
end
|
|
426
420
|
end
|
|
427
421
|
|
|
428
|
-
class NoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
|
|
429
|
-
OrHash =
|
|
430
|
-
T.type_alias do
|
|
431
|
-
T.any(
|
|
432
|
-
Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails,
|
|
433
|
-
Telnyx::Internal::AnyHash
|
|
434
|
-
)
|
|
435
|
-
end
|
|
436
|
-
|
|
437
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
438
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
439
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
440
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
441
|
-
sig { returns(T.nilable(Integer)) }
|
|
442
|
-
attr_reader :attenuation_limit
|
|
443
|
-
|
|
444
|
-
sig { params(attenuation_limit: Integer).void }
|
|
445
|
-
attr_writer :attenuation_limit
|
|
446
|
-
|
|
447
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
448
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
449
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
450
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
451
|
-
# noise suppression capabilities.
|
|
452
|
-
sig do
|
|
453
|
-
returns(
|
|
454
|
-
T.nilable(
|
|
455
|
-
Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
456
|
-
)
|
|
457
|
-
)
|
|
458
|
-
end
|
|
459
|
-
attr_reader :engine
|
|
460
|
-
|
|
461
|
-
sig do
|
|
462
|
-
params(
|
|
463
|
-
engine:
|
|
464
|
-
Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
465
|
-
).void
|
|
466
|
-
end
|
|
467
|
-
attr_writer :engine
|
|
468
|
-
|
|
469
|
-
# Configuration options for noise suppression. These settings are stored
|
|
470
|
-
# regardless of the noise_suppression value, but only take effect when
|
|
471
|
-
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
472
|
-
# re-enable it, the previously configured settings will be used.
|
|
473
|
-
sig do
|
|
474
|
-
params(
|
|
475
|
-
attenuation_limit: Integer,
|
|
476
|
-
engine:
|
|
477
|
-
Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
478
|
-
).returns(T.attached_class)
|
|
479
|
-
end
|
|
480
|
-
def self.new(
|
|
481
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
482
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
483
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
484
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
485
|
-
attenuation_limit: nil,
|
|
486
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
487
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
488
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
489
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
490
|
-
# noise suppression capabilities.
|
|
491
|
-
engine: nil
|
|
492
|
-
)
|
|
493
|
-
end
|
|
494
|
-
|
|
495
|
-
sig do
|
|
496
|
-
override.returns(
|
|
497
|
-
{
|
|
498
|
-
attenuation_limit: Integer,
|
|
499
|
-
engine:
|
|
500
|
-
Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
501
|
-
}
|
|
502
|
-
)
|
|
503
|
-
end
|
|
504
|
-
def to_hash
|
|
505
|
-
end
|
|
506
|
-
|
|
507
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
508
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
509
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
510
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
511
|
-
# noise suppression capabilities.
|
|
512
|
-
module Engine
|
|
513
|
-
extend Telnyx::Internal::Type::Enum
|
|
514
|
-
|
|
515
|
-
TaggedSymbol =
|
|
516
|
-
T.type_alias do
|
|
517
|
-
T.all(
|
|
518
|
-
Symbol,
|
|
519
|
-
Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails::Engine
|
|
520
|
-
)
|
|
521
|
-
end
|
|
522
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
523
|
-
|
|
524
|
-
DENOISER =
|
|
525
|
-
T.let(
|
|
526
|
-
:denoiser,
|
|
527
|
-
Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
528
|
-
)
|
|
529
|
-
DEEP_FILTER_NET =
|
|
530
|
-
T.let(
|
|
531
|
-
:deep_filter_net,
|
|
532
|
-
Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
533
|
-
)
|
|
534
|
-
DEEP_FILTER_NET_LARGE =
|
|
535
|
-
T.let(
|
|
536
|
-
:deep_filter_net_large,
|
|
537
|
-
Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
538
|
-
)
|
|
539
|
-
KRISP_VIVA_TEL =
|
|
540
|
-
T.let(
|
|
541
|
-
:krisp_viva_tel,
|
|
542
|
-
Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
543
|
-
)
|
|
544
|
-
KRISP_VIVA_TEL_LITE =
|
|
545
|
-
T.let(
|
|
546
|
-
:krisp_viva_tel_lite,
|
|
547
|
-
Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
548
|
-
)
|
|
549
|
-
KRISP_VIVA_PROMODEL =
|
|
550
|
-
T.let(
|
|
551
|
-
:krisp_viva_promodel,
|
|
552
|
-
Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
553
|
-
)
|
|
554
|
-
KRISP_VIVA_SS =
|
|
555
|
-
T.let(
|
|
556
|
-
:krisp_viva_ss,
|
|
557
|
-
Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
558
|
-
)
|
|
559
|
-
|
|
560
|
-
sig do
|
|
561
|
-
override.returns(
|
|
562
|
-
T::Array[
|
|
563
|
-
Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
564
|
-
]
|
|
565
|
-
)
|
|
566
|
-
end
|
|
567
|
-
def self.values
|
|
568
|
-
end
|
|
569
|
-
end
|
|
570
|
-
end
|
|
571
|
-
|
|
572
422
|
# This feature enables inbound SIP URI calls to your Credential Auth Connection.
|
|
573
423
|
# If enabled for all (unrestricted) then anyone who calls the SIP URI
|
|
574
424
|
# <your-username>@telnyx.com will be connected to your Connection. You can also
|
|
@@ -23,6 +23,14 @@ module Telnyx
|
|
|
23
23
|
sig { returns(String) }
|
|
24
24
|
attr_accessor :to
|
|
25
25
|
|
|
26
|
+
# The black threshold percentage for monochrome faxes. Only applicable if
|
|
27
|
+
# `monochrome` is set to `true`.
|
|
28
|
+
sig { returns(T.nilable(Integer)) }
|
|
29
|
+
attr_reader :black_threshold
|
|
30
|
+
|
|
31
|
+
sig { params(black_threshold: Integer).void }
|
|
32
|
+
attr_writer :black_threshold
|
|
33
|
+
|
|
26
34
|
# Use this field to add state to every subsequent webhook. It must be a valid
|
|
27
35
|
# Base-64 encoded string.
|
|
28
36
|
sig { returns(T.nilable(String)) }
|
|
@@ -123,6 +131,7 @@ module Telnyx
|
|
|
123
131
|
connection_id: String,
|
|
124
132
|
from: String,
|
|
125
133
|
to: String,
|
|
134
|
+
black_threshold: Integer,
|
|
126
135
|
client_state: String,
|
|
127
136
|
from_display_name: String,
|
|
128
137
|
media_name: String,
|
|
@@ -144,6 +153,9 @@ module Telnyx
|
|
|
144
153
|
from:,
|
|
145
154
|
# The phone number, in E.164 format, the fax will be sent to or SIP URI
|
|
146
155
|
to:,
|
|
156
|
+
# The black threshold percentage for monochrome faxes. Only applicable if
|
|
157
|
+
# `monochrome` is set to `true`.
|
|
158
|
+
black_threshold: nil,
|
|
147
159
|
# Use this field to add state to every subsequent webhook. It must be a valid
|
|
148
160
|
# Base-64 encoded string.
|
|
149
161
|
client_state: nil,
|
|
@@ -188,6 +200,7 @@ module Telnyx
|
|
|
188
200
|
connection_id: String,
|
|
189
201
|
from: String,
|
|
190
202
|
to: String,
|
|
203
|
+
black_threshold: Integer,
|
|
191
204
|
client_state: String,
|
|
192
205
|
from_display_name: String,
|
|
193
206
|
media_name: String,
|
|
@@ -144,15 +144,13 @@ module Telnyx
|
|
|
144
144
|
# regardless of the noise_suppression value, but only take effect when
|
|
145
145
|
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
146
146
|
# re-enable it, the previously configured settings will be used.
|
|
147
|
-
sig
|
|
148
|
-
returns(T.nilable(Telnyx::FqdnConnection::NoiseSuppressionDetails))
|
|
149
|
-
end
|
|
147
|
+
sig { returns(T.nilable(Telnyx::ConnectionNoiseSuppressionDetails)) }
|
|
150
148
|
attr_reader :noise_suppression_details
|
|
151
149
|
|
|
152
150
|
sig do
|
|
153
151
|
params(
|
|
154
152
|
noise_suppression_details:
|
|
155
|
-
Telnyx::
|
|
153
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash
|
|
156
154
|
).void
|
|
157
155
|
end
|
|
158
156
|
attr_writer :noise_suppression_details
|
|
@@ -311,7 +309,7 @@ module Telnyx
|
|
|
311
309
|
microsoft_teams_sbc: T::Boolean,
|
|
312
310
|
noise_suppression: Telnyx::FqdnConnection::NoiseSuppression::OrSymbol,
|
|
313
311
|
noise_suppression_details:
|
|
314
|
-
Telnyx::
|
|
312
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash,
|
|
315
313
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
316
314
|
outbound: Telnyx::OutboundFqdn::OrHash,
|
|
317
315
|
password: String,
|
|
@@ -448,7 +446,7 @@ module Telnyx
|
|
|
448
446
|
noise_suppression:
|
|
449
447
|
Telnyx::FqdnConnection::NoiseSuppression::TaggedSymbol,
|
|
450
448
|
noise_suppression_details:
|
|
451
|
-
Telnyx::
|
|
449
|
+
Telnyx::ConnectionNoiseSuppressionDetails,
|
|
452
450
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
453
451
|
outbound: Telnyx::OutboundFqdn,
|
|
454
452
|
password: String,
|
|
@@ -513,150 +511,6 @@ module Telnyx
|
|
|
513
511
|
def self.values
|
|
514
512
|
end
|
|
515
513
|
end
|
|
516
|
-
|
|
517
|
-
class NoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
|
|
518
|
-
OrHash =
|
|
519
|
-
T.type_alias do
|
|
520
|
-
T.any(
|
|
521
|
-
Telnyx::FqdnConnection::NoiseSuppressionDetails,
|
|
522
|
-
Telnyx::Internal::AnyHash
|
|
523
|
-
)
|
|
524
|
-
end
|
|
525
|
-
|
|
526
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
527
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
528
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
529
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
530
|
-
sig { returns(T.nilable(Integer)) }
|
|
531
|
-
attr_reader :attenuation_limit
|
|
532
|
-
|
|
533
|
-
sig { params(attenuation_limit: Integer).void }
|
|
534
|
-
attr_writer :attenuation_limit
|
|
535
|
-
|
|
536
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
537
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
538
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
539
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
540
|
-
# noise suppression capabilities.
|
|
541
|
-
sig do
|
|
542
|
-
returns(
|
|
543
|
-
T.nilable(
|
|
544
|
-
Telnyx::FqdnConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
545
|
-
)
|
|
546
|
-
)
|
|
547
|
-
end
|
|
548
|
-
attr_reader :engine
|
|
549
|
-
|
|
550
|
-
sig do
|
|
551
|
-
params(
|
|
552
|
-
engine:
|
|
553
|
-
Telnyx::FqdnConnection::NoiseSuppressionDetails::Engine::OrSymbol
|
|
554
|
-
).void
|
|
555
|
-
end
|
|
556
|
-
attr_writer :engine
|
|
557
|
-
|
|
558
|
-
# Configuration options for noise suppression. These settings are stored
|
|
559
|
-
# regardless of the noise_suppression value, but only take effect when
|
|
560
|
-
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
561
|
-
# re-enable it, the previously configured settings will be used.
|
|
562
|
-
sig do
|
|
563
|
-
params(
|
|
564
|
-
attenuation_limit: Integer,
|
|
565
|
-
engine:
|
|
566
|
-
Telnyx::FqdnConnection::NoiseSuppressionDetails::Engine::OrSymbol
|
|
567
|
-
).returns(T.attached_class)
|
|
568
|
-
end
|
|
569
|
-
def self.new(
|
|
570
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
571
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
572
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
573
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
574
|
-
attenuation_limit: nil,
|
|
575
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
576
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
577
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
578
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
579
|
-
# noise suppression capabilities.
|
|
580
|
-
engine: nil
|
|
581
|
-
)
|
|
582
|
-
end
|
|
583
|
-
|
|
584
|
-
sig do
|
|
585
|
-
override.returns(
|
|
586
|
-
{
|
|
587
|
-
attenuation_limit: Integer,
|
|
588
|
-
engine:
|
|
589
|
-
Telnyx::FqdnConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
590
|
-
}
|
|
591
|
-
)
|
|
592
|
-
end
|
|
593
|
-
def to_hash
|
|
594
|
-
end
|
|
595
|
-
|
|
596
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
597
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
598
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
599
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
600
|
-
# noise suppression capabilities.
|
|
601
|
-
module Engine
|
|
602
|
-
extend Telnyx::Internal::Type::Enum
|
|
603
|
-
|
|
604
|
-
TaggedSymbol =
|
|
605
|
-
T.type_alias do
|
|
606
|
-
T.all(
|
|
607
|
-
Symbol,
|
|
608
|
-
Telnyx::FqdnConnection::NoiseSuppressionDetails::Engine
|
|
609
|
-
)
|
|
610
|
-
end
|
|
611
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
612
|
-
|
|
613
|
-
DENOISER =
|
|
614
|
-
T.let(
|
|
615
|
-
:denoiser,
|
|
616
|
-
Telnyx::FqdnConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
617
|
-
)
|
|
618
|
-
DEEP_FILTER_NET =
|
|
619
|
-
T.let(
|
|
620
|
-
:deep_filter_net,
|
|
621
|
-
Telnyx::FqdnConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
622
|
-
)
|
|
623
|
-
DEEP_FILTER_NET_LARGE =
|
|
624
|
-
T.let(
|
|
625
|
-
:deep_filter_net_large,
|
|
626
|
-
Telnyx::FqdnConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
627
|
-
)
|
|
628
|
-
KRISP_VIVA_TEL =
|
|
629
|
-
T.let(
|
|
630
|
-
:krisp_viva_tel,
|
|
631
|
-
Telnyx::FqdnConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
632
|
-
)
|
|
633
|
-
KRISP_VIVA_TEL_LITE =
|
|
634
|
-
T.let(
|
|
635
|
-
:krisp_viva_tel_lite,
|
|
636
|
-
Telnyx::FqdnConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
637
|
-
)
|
|
638
|
-
KRISP_VIVA_PROMODEL =
|
|
639
|
-
T.let(
|
|
640
|
-
:krisp_viva_promodel,
|
|
641
|
-
Telnyx::FqdnConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
642
|
-
)
|
|
643
|
-
KRISP_VIVA_SS =
|
|
644
|
-
T.let(
|
|
645
|
-
:krisp_viva_ss,
|
|
646
|
-
Telnyx::FqdnConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
647
|
-
)
|
|
648
|
-
|
|
649
|
-
sig do
|
|
650
|
-
override.returns(
|
|
651
|
-
T::Array[
|
|
652
|
-
Telnyx::FqdnConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
653
|
-
]
|
|
654
|
-
)
|
|
655
|
-
end
|
|
656
|
-
def self.values
|
|
657
|
-
end
|
|
658
|
-
end
|
|
659
|
-
end
|
|
660
514
|
end
|
|
661
515
|
end
|
|
662
516
|
end
|