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
|
@@ -117,17 +117,13 @@ module Telnyx
|
|
|
117
117
|
# regardless of the noise_suppression value, but only take effect when
|
|
118
118
|
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
119
119
|
# re-enable it, the previously configured settings will be used.
|
|
120
|
-
sig
|
|
121
|
-
returns(
|
|
122
|
-
T.nilable(Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails)
|
|
123
|
-
)
|
|
124
|
-
end
|
|
120
|
+
sig { returns(T.nilable(Telnyx::ConnectionNoiseSuppressionDetails)) }
|
|
125
121
|
attr_reader :noise_suppression_details
|
|
126
122
|
|
|
127
123
|
sig do
|
|
128
124
|
params(
|
|
129
125
|
noise_suppression_details:
|
|
130
|
-
Telnyx::
|
|
126
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash
|
|
131
127
|
).void
|
|
132
128
|
end
|
|
133
129
|
attr_writer :noise_suppression_details
|
|
@@ -213,7 +209,7 @@ module Telnyx
|
|
|
213
209
|
noise_suppression:
|
|
214
210
|
Telnyx::FqdnConnectionCreateParams::NoiseSuppression::OrSymbol,
|
|
215
211
|
noise_suppression_details:
|
|
216
|
-
Telnyx::
|
|
212
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash,
|
|
217
213
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
218
214
|
outbound: Telnyx::OutboundFqdn::OrHash,
|
|
219
215
|
rtcp_settings: Telnyx::ConnectionRtcpSettings::OrHash,
|
|
@@ -311,7 +307,7 @@ module Telnyx
|
|
|
311
307
|
noise_suppression:
|
|
312
308
|
Telnyx::FqdnConnectionCreateParams::NoiseSuppression::OrSymbol,
|
|
313
309
|
noise_suppression_details:
|
|
314
|
-
Telnyx::
|
|
310
|
+
Telnyx::ConnectionNoiseSuppressionDetails,
|
|
315
311
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
316
312
|
outbound: Telnyx::OutboundFqdn,
|
|
317
313
|
rtcp_settings: Telnyx::ConnectionRtcpSettings,
|
|
@@ -372,150 +368,6 @@ module Telnyx
|
|
|
372
368
|
def self.values
|
|
373
369
|
end
|
|
374
370
|
end
|
|
375
|
-
|
|
376
|
-
class NoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
|
|
377
|
-
OrHash =
|
|
378
|
-
T.type_alias do
|
|
379
|
-
T.any(
|
|
380
|
-
Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails,
|
|
381
|
-
Telnyx::Internal::AnyHash
|
|
382
|
-
)
|
|
383
|
-
end
|
|
384
|
-
|
|
385
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
386
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
387
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
388
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
389
|
-
sig { returns(T.nilable(Integer)) }
|
|
390
|
-
attr_reader :attenuation_limit
|
|
391
|
-
|
|
392
|
-
sig { params(attenuation_limit: Integer).void }
|
|
393
|
-
attr_writer :attenuation_limit
|
|
394
|
-
|
|
395
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
396
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
397
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
398
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
399
|
-
# noise suppression capabilities.
|
|
400
|
-
sig do
|
|
401
|
-
returns(
|
|
402
|
-
T.nilable(
|
|
403
|
-
Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
404
|
-
)
|
|
405
|
-
)
|
|
406
|
-
end
|
|
407
|
-
attr_reader :engine
|
|
408
|
-
|
|
409
|
-
sig do
|
|
410
|
-
params(
|
|
411
|
-
engine:
|
|
412
|
-
Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
413
|
-
).void
|
|
414
|
-
end
|
|
415
|
-
attr_writer :engine
|
|
416
|
-
|
|
417
|
-
# Configuration options for noise suppression. These settings are stored
|
|
418
|
-
# regardless of the noise_suppression value, but only take effect when
|
|
419
|
-
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
420
|
-
# re-enable it, the previously configured settings will be used.
|
|
421
|
-
sig do
|
|
422
|
-
params(
|
|
423
|
-
attenuation_limit: Integer,
|
|
424
|
-
engine:
|
|
425
|
-
Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
426
|
-
).returns(T.attached_class)
|
|
427
|
-
end
|
|
428
|
-
def self.new(
|
|
429
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
430
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
431
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
432
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
433
|
-
attenuation_limit: nil,
|
|
434
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
435
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
436
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
437
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
438
|
-
# noise suppression capabilities.
|
|
439
|
-
engine: nil
|
|
440
|
-
)
|
|
441
|
-
end
|
|
442
|
-
|
|
443
|
-
sig do
|
|
444
|
-
override.returns(
|
|
445
|
-
{
|
|
446
|
-
attenuation_limit: Integer,
|
|
447
|
-
engine:
|
|
448
|
-
Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
449
|
-
}
|
|
450
|
-
)
|
|
451
|
-
end
|
|
452
|
-
def to_hash
|
|
453
|
-
end
|
|
454
|
-
|
|
455
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
456
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
457
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
458
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
459
|
-
# noise suppression capabilities.
|
|
460
|
-
module Engine
|
|
461
|
-
extend Telnyx::Internal::Type::Enum
|
|
462
|
-
|
|
463
|
-
TaggedSymbol =
|
|
464
|
-
T.type_alias do
|
|
465
|
-
T.all(
|
|
466
|
-
Symbol,
|
|
467
|
-
Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails::Engine
|
|
468
|
-
)
|
|
469
|
-
end
|
|
470
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
471
|
-
|
|
472
|
-
DENOISER =
|
|
473
|
-
T.let(
|
|
474
|
-
:denoiser,
|
|
475
|
-
Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
476
|
-
)
|
|
477
|
-
DEEP_FILTER_NET =
|
|
478
|
-
T.let(
|
|
479
|
-
:deep_filter_net,
|
|
480
|
-
Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
481
|
-
)
|
|
482
|
-
DEEP_FILTER_NET_LARGE =
|
|
483
|
-
T.let(
|
|
484
|
-
:deep_filter_net_large,
|
|
485
|
-
Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
486
|
-
)
|
|
487
|
-
KRISP_VIVA_TEL =
|
|
488
|
-
T.let(
|
|
489
|
-
:krisp_viva_tel,
|
|
490
|
-
Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
491
|
-
)
|
|
492
|
-
KRISP_VIVA_TEL_LITE =
|
|
493
|
-
T.let(
|
|
494
|
-
:krisp_viva_tel_lite,
|
|
495
|
-
Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
496
|
-
)
|
|
497
|
-
KRISP_VIVA_PROMODEL =
|
|
498
|
-
T.let(
|
|
499
|
-
:krisp_viva_promodel,
|
|
500
|
-
Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
501
|
-
)
|
|
502
|
-
KRISP_VIVA_SS =
|
|
503
|
-
T.let(
|
|
504
|
-
:krisp_viva_ss,
|
|
505
|
-
Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
506
|
-
)
|
|
507
|
-
|
|
508
|
-
sig do
|
|
509
|
-
override.returns(
|
|
510
|
-
T::Array[
|
|
511
|
-
Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
512
|
-
]
|
|
513
|
-
)
|
|
514
|
-
end
|
|
515
|
-
def self.values
|
|
516
|
-
end
|
|
517
|
-
end
|
|
518
|
-
end
|
|
519
371
|
end
|
|
520
372
|
end
|
|
521
373
|
end
|
|
@@ -112,17 +112,13 @@ module Telnyx
|
|
|
112
112
|
# regardless of the noise_suppression value, but only take effect when
|
|
113
113
|
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
114
114
|
# re-enable it, the previously configured settings will be used.
|
|
115
|
-
sig
|
|
116
|
-
returns(
|
|
117
|
-
T.nilable(Telnyx::FqdnConnectionUpdateParams::NoiseSuppressionDetails)
|
|
118
|
-
)
|
|
119
|
-
end
|
|
115
|
+
sig { returns(T.nilable(Telnyx::ConnectionNoiseSuppressionDetails)) }
|
|
120
116
|
attr_reader :noise_suppression_details
|
|
121
117
|
|
|
122
118
|
sig do
|
|
123
119
|
params(
|
|
124
120
|
noise_suppression_details:
|
|
125
|
-
Telnyx::
|
|
121
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash
|
|
126
122
|
).void
|
|
127
123
|
end
|
|
128
124
|
attr_writer :noise_suppression_details
|
|
@@ -207,7 +203,7 @@ module Telnyx
|
|
|
207
203
|
noise_suppression:
|
|
208
204
|
Telnyx::FqdnConnectionUpdateParams::NoiseSuppression::OrSymbol,
|
|
209
205
|
noise_suppression_details:
|
|
210
|
-
Telnyx::
|
|
206
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash,
|
|
211
207
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
212
208
|
outbound: Telnyx::OutboundFqdn::OrHash,
|
|
213
209
|
rtcp_settings: Telnyx::ConnectionRtcpSettings::OrHash,
|
|
@@ -301,7 +297,7 @@ module Telnyx
|
|
|
301
297
|
noise_suppression:
|
|
302
298
|
Telnyx::FqdnConnectionUpdateParams::NoiseSuppression::OrSymbol,
|
|
303
299
|
noise_suppression_details:
|
|
304
|
-
Telnyx::
|
|
300
|
+
Telnyx::ConnectionNoiseSuppressionDetails,
|
|
305
301
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
306
302
|
outbound: Telnyx::OutboundFqdn,
|
|
307
303
|
rtcp_settings: Telnyx::ConnectionRtcpSettings,
|
|
@@ -362,150 +358,6 @@ module Telnyx
|
|
|
362
358
|
def self.values
|
|
363
359
|
end
|
|
364
360
|
end
|
|
365
|
-
|
|
366
|
-
class NoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
|
|
367
|
-
OrHash =
|
|
368
|
-
T.type_alias do
|
|
369
|
-
T.any(
|
|
370
|
-
Telnyx::FqdnConnectionUpdateParams::NoiseSuppressionDetails,
|
|
371
|
-
Telnyx::Internal::AnyHash
|
|
372
|
-
)
|
|
373
|
-
end
|
|
374
|
-
|
|
375
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
376
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
377
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
378
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
379
|
-
sig { returns(T.nilable(Integer)) }
|
|
380
|
-
attr_reader :attenuation_limit
|
|
381
|
-
|
|
382
|
-
sig { params(attenuation_limit: Integer).void }
|
|
383
|
-
attr_writer :attenuation_limit
|
|
384
|
-
|
|
385
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
386
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
387
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
388
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
389
|
-
# noise suppression capabilities.
|
|
390
|
-
sig do
|
|
391
|
-
returns(
|
|
392
|
-
T.nilable(
|
|
393
|
-
Telnyx::FqdnConnectionUpdateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
394
|
-
)
|
|
395
|
-
)
|
|
396
|
-
end
|
|
397
|
-
attr_reader :engine
|
|
398
|
-
|
|
399
|
-
sig do
|
|
400
|
-
params(
|
|
401
|
-
engine:
|
|
402
|
-
Telnyx::FqdnConnectionUpdateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
403
|
-
).void
|
|
404
|
-
end
|
|
405
|
-
attr_writer :engine
|
|
406
|
-
|
|
407
|
-
# Configuration options for noise suppression. These settings are stored
|
|
408
|
-
# regardless of the noise_suppression value, but only take effect when
|
|
409
|
-
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
410
|
-
# re-enable it, the previously configured settings will be used.
|
|
411
|
-
sig do
|
|
412
|
-
params(
|
|
413
|
-
attenuation_limit: Integer,
|
|
414
|
-
engine:
|
|
415
|
-
Telnyx::FqdnConnectionUpdateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
416
|
-
).returns(T.attached_class)
|
|
417
|
-
end
|
|
418
|
-
def self.new(
|
|
419
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
420
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
421
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
422
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
423
|
-
attenuation_limit: nil,
|
|
424
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
425
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
426
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
427
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
428
|
-
# noise suppression capabilities.
|
|
429
|
-
engine: nil
|
|
430
|
-
)
|
|
431
|
-
end
|
|
432
|
-
|
|
433
|
-
sig do
|
|
434
|
-
override.returns(
|
|
435
|
-
{
|
|
436
|
-
attenuation_limit: Integer,
|
|
437
|
-
engine:
|
|
438
|
-
Telnyx::FqdnConnectionUpdateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
439
|
-
}
|
|
440
|
-
)
|
|
441
|
-
end
|
|
442
|
-
def to_hash
|
|
443
|
-
end
|
|
444
|
-
|
|
445
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
446
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
447
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
448
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
449
|
-
# noise suppression capabilities.
|
|
450
|
-
module Engine
|
|
451
|
-
extend Telnyx::Internal::Type::Enum
|
|
452
|
-
|
|
453
|
-
TaggedSymbol =
|
|
454
|
-
T.type_alias do
|
|
455
|
-
T.all(
|
|
456
|
-
Symbol,
|
|
457
|
-
Telnyx::FqdnConnectionUpdateParams::NoiseSuppressionDetails::Engine
|
|
458
|
-
)
|
|
459
|
-
end
|
|
460
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
461
|
-
|
|
462
|
-
DENOISER =
|
|
463
|
-
T.let(
|
|
464
|
-
:denoiser,
|
|
465
|
-
Telnyx::FqdnConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
466
|
-
)
|
|
467
|
-
DEEP_FILTER_NET =
|
|
468
|
-
T.let(
|
|
469
|
-
:deep_filter_net,
|
|
470
|
-
Telnyx::FqdnConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
471
|
-
)
|
|
472
|
-
DEEP_FILTER_NET_LARGE =
|
|
473
|
-
T.let(
|
|
474
|
-
:deep_filter_net_large,
|
|
475
|
-
Telnyx::FqdnConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
476
|
-
)
|
|
477
|
-
KRISP_VIVA_TEL =
|
|
478
|
-
T.let(
|
|
479
|
-
:krisp_viva_tel,
|
|
480
|
-
Telnyx::FqdnConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
481
|
-
)
|
|
482
|
-
KRISP_VIVA_TEL_LITE =
|
|
483
|
-
T.let(
|
|
484
|
-
:krisp_viva_tel_lite,
|
|
485
|
-
Telnyx::FqdnConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
486
|
-
)
|
|
487
|
-
KRISP_VIVA_PROMODEL =
|
|
488
|
-
T.let(
|
|
489
|
-
:krisp_viva_promodel,
|
|
490
|
-
Telnyx::FqdnConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
491
|
-
)
|
|
492
|
-
KRISP_VIVA_SS =
|
|
493
|
-
T.let(
|
|
494
|
-
:krisp_viva_ss,
|
|
495
|
-
Telnyx::FqdnConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
496
|
-
)
|
|
497
|
-
|
|
498
|
-
sig do
|
|
499
|
-
override.returns(
|
|
500
|
-
T::Array[
|
|
501
|
-
Telnyx::FqdnConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
502
|
-
]
|
|
503
|
-
)
|
|
504
|
-
end
|
|
505
|
-
def self.values
|
|
506
|
-
end
|
|
507
|
-
end
|
|
508
|
-
end
|
|
509
361
|
end
|
|
510
362
|
end
|
|
511
363
|
end
|
|
@@ -107,13 +107,13 @@ module Telnyx
|
|
|
107
107
|
# regardless of the noise_suppression value, but only take effect when
|
|
108
108
|
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
109
109
|
# re-enable it, the previously configured settings will be used.
|
|
110
|
-
sig { returns(T.nilable(Telnyx::
|
|
110
|
+
sig { returns(T.nilable(Telnyx::ConnectionNoiseSuppressionDetails)) }
|
|
111
111
|
attr_reader :noise_suppression_details
|
|
112
112
|
|
|
113
113
|
sig do
|
|
114
114
|
params(
|
|
115
115
|
noise_suppression_details:
|
|
116
|
-
Telnyx::
|
|
116
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash
|
|
117
117
|
).void
|
|
118
118
|
end
|
|
119
119
|
attr_writer :noise_suppression_details
|
|
@@ -223,7 +223,7 @@ module Telnyx
|
|
|
223
223
|
inbound: Telnyx::InboundIP::OrHash,
|
|
224
224
|
noise_suppression: Telnyx::IPConnection::NoiseSuppression::OrSymbol,
|
|
225
225
|
noise_suppression_details:
|
|
226
|
-
Telnyx::
|
|
226
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash,
|
|
227
227
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
228
228
|
outbound: Telnyx::OutboundIP::OrHash,
|
|
229
229
|
record_type: String,
|
|
@@ -321,7 +321,7 @@ module Telnyx
|
|
|
321
321
|
noise_suppression:
|
|
322
322
|
Telnyx::IPConnection::NoiseSuppression::TaggedSymbol,
|
|
323
323
|
noise_suppression_details:
|
|
324
|
-
Telnyx::
|
|
324
|
+
Telnyx::ConnectionNoiseSuppressionDetails,
|
|
325
325
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
326
326
|
outbound: Telnyx::OutboundIP,
|
|
327
327
|
record_type: String,
|
|
@@ -370,150 +370,6 @@ module Telnyx
|
|
|
370
370
|
end
|
|
371
371
|
end
|
|
372
372
|
|
|
373
|
-
class NoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
|
|
374
|
-
OrHash =
|
|
375
|
-
T.type_alias do
|
|
376
|
-
T.any(
|
|
377
|
-
Telnyx::IPConnection::NoiseSuppressionDetails,
|
|
378
|
-
Telnyx::Internal::AnyHash
|
|
379
|
-
)
|
|
380
|
-
end
|
|
381
|
-
|
|
382
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
383
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
384
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
385
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
386
|
-
sig { returns(T.nilable(Integer)) }
|
|
387
|
-
attr_reader :attenuation_limit
|
|
388
|
-
|
|
389
|
-
sig { params(attenuation_limit: Integer).void }
|
|
390
|
-
attr_writer :attenuation_limit
|
|
391
|
-
|
|
392
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
393
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
394
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
395
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
396
|
-
# noise suppression capabilities.
|
|
397
|
-
sig do
|
|
398
|
-
returns(
|
|
399
|
-
T.nilable(
|
|
400
|
-
Telnyx::IPConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
401
|
-
)
|
|
402
|
-
)
|
|
403
|
-
end
|
|
404
|
-
attr_reader :engine
|
|
405
|
-
|
|
406
|
-
sig do
|
|
407
|
-
params(
|
|
408
|
-
engine:
|
|
409
|
-
Telnyx::IPConnection::NoiseSuppressionDetails::Engine::OrSymbol
|
|
410
|
-
).void
|
|
411
|
-
end
|
|
412
|
-
attr_writer :engine
|
|
413
|
-
|
|
414
|
-
# Configuration options for noise suppression. These settings are stored
|
|
415
|
-
# regardless of the noise_suppression value, but only take effect when
|
|
416
|
-
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
417
|
-
# re-enable it, the previously configured settings will be used.
|
|
418
|
-
sig do
|
|
419
|
-
params(
|
|
420
|
-
attenuation_limit: Integer,
|
|
421
|
-
engine:
|
|
422
|
-
Telnyx::IPConnection::NoiseSuppressionDetails::Engine::OrSymbol
|
|
423
|
-
).returns(T.attached_class)
|
|
424
|
-
end
|
|
425
|
-
def self.new(
|
|
426
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
427
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
428
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
429
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
430
|
-
attenuation_limit: nil,
|
|
431
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
432
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
433
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
434
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
435
|
-
# noise suppression capabilities.
|
|
436
|
-
engine: nil
|
|
437
|
-
)
|
|
438
|
-
end
|
|
439
|
-
|
|
440
|
-
sig do
|
|
441
|
-
override.returns(
|
|
442
|
-
{
|
|
443
|
-
attenuation_limit: Integer,
|
|
444
|
-
engine:
|
|
445
|
-
Telnyx::IPConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
446
|
-
}
|
|
447
|
-
)
|
|
448
|
-
end
|
|
449
|
-
def to_hash
|
|
450
|
-
end
|
|
451
|
-
|
|
452
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
453
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
454
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
455
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
456
|
-
# noise suppression capabilities.
|
|
457
|
-
module Engine
|
|
458
|
-
extend Telnyx::Internal::Type::Enum
|
|
459
|
-
|
|
460
|
-
TaggedSymbol =
|
|
461
|
-
T.type_alias do
|
|
462
|
-
T.all(
|
|
463
|
-
Symbol,
|
|
464
|
-
Telnyx::IPConnection::NoiseSuppressionDetails::Engine
|
|
465
|
-
)
|
|
466
|
-
end
|
|
467
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
468
|
-
|
|
469
|
-
DENOISER =
|
|
470
|
-
T.let(
|
|
471
|
-
:denoiser,
|
|
472
|
-
Telnyx::IPConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
473
|
-
)
|
|
474
|
-
DEEP_FILTER_NET =
|
|
475
|
-
T.let(
|
|
476
|
-
:deep_filter_net,
|
|
477
|
-
Telnyx::IPConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
478
|
-
)
|
|
479
|
-
DEEP_FILTER_NET_LARGE =
|
|
480
|
-
T.let(
|
|
481
|
-
:deep_filter_net_large,
|
|
482
|
-
Telnyx::IPConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
483
|
-
)
|
|
484
|
-
KRISP_VIVA_TEL =
|
|
485
|
-
T.let(
|
|
486
|
-
:krisp_viva_tel,
|
|
487
|
-
Telnyx::IPConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
488
|
-
)
|
|
489
|
-
KRISP_VIVA_TEL_LITE =
|
|
490
|
-
T.let(
|
|
491
|
-
:krisp_viva_tel_lite,
|
|
492
|
-
Telnyx::IPConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
493
|
-
)
|
|
494
|
-
KRISP_VIVA_PROMODEL =
|
|
495
|
-
T.let(
|
|
496
|
-
:krisp_viva_promodel,
|
|
497
|
-
Telnyx::IPConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
498
|
-
)
|
|
499
|
-
KRISP_VIVA_SS =
|
|
500
|
-
T.let(
|
|
501
|
-
:krisp_viva_ss,
|
|
502
|
-
Telnyx::IPConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
503
|
-
)
|
|
504
|
-
|
|
505
|
-
sig do
|
|
506
|
-
override.returns(
|
|
507
|
-
T::Array[
|
|
508
|
-
Telnyx::IPConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
509
|
-
]
|
|
510
|
-
)
|
|
511
|
-
end
|
|
512
|
-
def self.values
|
|
513
|
-
end
|
|
514
|
-
end
|
|
515
|
-
end
|
|
516
|
-
|
|
517
373
|
# One of UDP, TLS, or TCP. Applies only to connections with IP authentication or
|
|
518
374
|
# FQDN authentication.
|
|
519
375
|
module TransportProtocol
|