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
|
@@ -113,17 +113,13 @@ module Telnyx
|
|
|
113
113
|
# regardless of the noise_suppression value, but only take effect when
|
|
114
114
|
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
115
115
|
# re-enable it, the previously configured settings will be used.
|
|
116
|
-
sig
|
|
117
|
-
returns(
|
|
118
|
-
T.nilable(Telnyx::IPConnectionCreateParams::NoiseSuppressionDetails)
|
|
119
|
-
)
|
|
120
|
-
end
|
|
116
|
+
sig { returns(T.nilable(Telnyx::ConnectionNoiseSuppressionDetails)) }
|
|
121
117
|
attr_reader :noise_suppression_details
|
|
122
118
|
|
|
123
119
|
sig do
|
|
124
120
|
params(
|
|
125
121
|
noise_suppression_details:
|
|
126
|
-
Telnyx::
|
|
122
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash
|
|
127
123
|
).void
|
|
128
124
|
end
|
|
129
125
|
attr_writer :noise_suppression_details
|
|
@@ -226,7 +222,7 @@ module Telnyx
|
|
|
226
222
|
noise_suppression:
|
|
227
223
|
Telnyx::IPConnectionCreateParams::NoiseSuppression::OrSymbol,
|
|
228
224
|
noise_suppression_details:
|
|
229
|
-
Telnyx::
|
|
225
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash,
|
|
230
226
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
231
227
|
outbound: Telnyx::OutboundIP::OrHash,
|
|
232
228
|
rtcp_settings: Telnyx::ConnectionRtcpSettings::OrHash,
|
|
@@ -321,7 +317,7 @@ module Telnyx
|
|
|
321
317
|
noise_suppression:
|
|
322
318
|
Telnyx::IPConnectionCreateParams::NoiseSuppression::OrSymbol,
|
|
323
319
|
noise_suppression_details:
|
|
324
|
-
Telnyx::
|
|
320
|
+
Telnyx::ConnectionNoiseSuppressionDetails,
|
|
325
321
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
326
322
|
outbound: Telnyx::OutboundIP,
|
|
327
323
|
rtcp_settings: Telnyx::ConnectionRtcpSettings,
|
|
@@ -881,150 +877,6 @@ module Telnyx
|
|
|
881
877
|
end
|
|
882
878
|
end
|
|
883
879
|
|
|
884
|
-
class NoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
|
|
885
|
-
OrHash =
|
|
886
|
-
T.type_alias do
|
|
887
|
-
T.any(
|
|
888
|
-
Telnyx::IPConnectionCreateParams::NoiseSuppressionDetails,
|
|
889
|
-
Telnyx::Internal::AnyHash
|
|
890
|
-
)
|
|
891
|
-
end
|
|
892
|
-
|
|
893
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
894
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
895
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
896
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
897
|
-
sig { returns(T.nilable(Integer)) }
|
|
898
|
-
attr_reader :attenuation_limit
|
|
899
|
-
|
|
900
|
-
sig { params(attenuation_limit: Integer).void }
|
|
901
|
-
attr_writer :attenuation_limit
|
|
902
|
-
|
|
903
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
904
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
905
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
906
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
907
|
-
# noise suppression capabilities.
|
|
908
|
-
sig do
|
|
909
|
-
returns(
|
|
910
|
-
T.nilable(
|
|
911
|
-
Telnyx::IPConnectionCreateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
912
|
-
)
|
|
913
|
-
)
|
|
914
|
-
end
|
|
915
|
-
attr_reader :engine
|
|
916
|
-
|
|
917
|
-
sig do
|
|
918
|
-
params(
|
|
919
|
-
engine:
|
|
920
|
-
Telnyx::IPConnectionCreateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
921
|
-
).void
|
|
922
|
-
end
|
|
923
|
-
attr_writer :engine
|
|
924
|
-
|
|
925
|
-
# Configuration options for noise suppression. These settings are stored
|
|
926
|
-
# regardless of the noise_suppression value, but only take effect when
|
|
927
|
-
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
928
|
-
# re-enable it, the previously configured settings will be used.
|
|
929
|
-
sig do
|
|
930
|
-
params(
|
|
931
|
-
attenuation_limit: Integer,
|
|
932
|
-
engine:
|
|
933
|
-
Telnyx::IPConnectionCreateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
934
|
-
).returns(T.attached_class)
|
|
935
|
-
end
|
|
936
|
-
def self.new(
|
|
937
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
938
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
939
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
940
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
941
|
-
attenuation_limit: nil,
|
|
942
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
943
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
944
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
945
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
946
|
-
# noise suppression capabilities.
|
|
947
|
-
engine: nil
|
|
948
|
-
)
|
|
949
|
-
end
|
|
950
|
-
|
|
951
|
-
sig do
|
|
952
|
-
override.returns(
|
|
953
|
-
{
|
|
954
|
-
attenuation_limit: Integer,
|
|
955
|
-
engine:
|
|
956
|
-
Telnyx::IPConnectionCreateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
957
|
-
}
|
|
958
|
-
)
|
|
959
|
-
end
|
|
960
|
-
def to_hash
|
|
961
|
-
end
|
|
962
|
-
|
|
963
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
964
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
965
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
966
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
967
|
-
# noise suppression capabilities.
|
|
968
|
-
module Engine
|
|
969
|
-
extend Telnyx::Internal::Type::Enum
|
|
970
|
-
|
|
971
|
-
TaggedSymbol =
|
|
972
|
-
T.type_alias do
|
|
973
|
-
T.all(
|
|
974
|
-
Symbol,
|
|
975
|
-
Telnyx::IPConnectionCreateParams::NoiseSuppressionDetails::Engine
|
|
976
|
-
)
|
|
977
|
-
end
|
|
978
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
979
|
-
|
|
980
|
-
DENOISER =
|
|
981
|
-
T.let(
|
|
982
|
-
:denoiser,
|
|
983
|
-
Telnyx::IPConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
984
|
-
)
|
|
985
|
-
DEEP_FILTER_NET =
|
|
986
|
-
T.let(
|
|
987
|
-
:deep_filter_net,
|
|
988
|
-
Telnyx::IPConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
989
|
-
)
|
|
990
|
-
DEEP_FILTER_NET_LARGE =
|
|
991
|
-
T.let(
|
|
992
|
-
:deep_filter_net_large,
|
|
993
|
-
Telnyx::IPConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
994
|
-
)
|
|
995
|
-
KRISP_VIVA_TEL =
|
|
996
|
-
T.let(
|
|
997
|
-
:krisp_viva_tel,
|
|
998
|
-
Telnyx::IPConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
999
|
-
)
|
|
1000
|
-
KRISP_VIVA_TEL_LITE =
|
|
1001
|
-
T.let(
|
|
1002
|
-
:krisp_viva_tel_lite,
|
|
1003
|
-
Telnyx::IPConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
1004
|
-
)
|
|
1005
|
-
KRISP_VIVA_PROMODEL =
|
|
1006
|
-
T.let(
|
|
1007
|
-
:krisp_viva_promodel,
|
|
1008
|
-
Telnyx::IPConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
1009
|
-
)
|
|
1010
|
-
KRISP_VIVA_SS =
|
|
1011
|
-
T.let(
|
|
1012
|
-
:krisp_viva_ss,
|
|
1013
|
-
Telnyx::IPConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
1014
|
-
)
|
|
1015
|
-
|
|
1016
|
-
sig do
|
|
1017
|
-
override.returns(
|
|
1018
|
-
T::Array[
|
|
1019
|
-
Telnyx::IPConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
1020
|
-
]
|
|
1021
|
-
)
|
|
1022
|
-
end
|
|
1023
|
-
def self.values
|
|
1024
|
-
end
|
|
1025
|
-
end
|
|
1026
|
-
end
|
|
1027
|
-
|
|
1028
880
|
# One of UDP, TLS, or TCP. Applies only to connections with IP authentication or
|
|
1029
881
|
# FQDN authentication.
|
|
1030
882
|
module TransportProtocol
|
|
@@ -111,17 +111,13 @@ module Telnyx
|
|
|
111
111
|
# regardless of the noise_suppression value, but only take effect when
|
|
112
112
|
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
113
113
|
# re-enable it, the previously configured settings will be used.
|
|
114
|
-
sig
|
|
115
|
-
returns(
|
|
116
|
-
T.nilable(Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails)
|
|
117
|
-
)
|
|
118
|
-
end
|
|
114
|
+
sig { returns(T.nilable(Telnyx::ConnectionNoiseSuppressionDetails)) }
|
|
119
115
|
attr_reader :noise_suppression_details
|
|
120
116
|
|
|
121
117
|
sig do
|
|
122
118
|
params(
|
|
123
119
|
noise_suppression_details:
|
|
124
|
-
Telnyx::
|
|
120
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash
|
|
125
121
|
).void
|
|
126
122
|
end
|
|
127
123
|
attr_writer :noise_suppression_details
|
|
@@ -224,7 +220,7 @@ module Telnyx
|
|
|
224
220
|
noise_suppression:
|
|
225
221
|
Telnyx::IPConnectionUpdateParams::NoiseSuppression::OrSymbol,
|
|
226
222
|
noise_suppression_details:
|
|
227
|
-
Telnyx::
|
|
223
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash,
|
|
228
224
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
229
225
|
outbound: Telnyx::OutboundIP::OrHash,
|
|
230
226
|
rtcp_settings: Telnyx::ConnectionRtcpSettings::OrHash,
|
|
@@ -319,7 +315,7 @@ module Telnyx
|
|
|
319
315
|
noise_suppression:
|
|
320
316
|
Telnyx::IPConnectionUpdateParams::NoiseSuppression::OrSymbol,
|
|
321
317
|
noise_suppression_details:
|
|
322
|
-
Telnyx::
|
|
318
|
+
Telnyx::ConnectionNoiseSuppressionDetails,
|
|
323
319
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
324
320
|
outbound: Telnyx::OutboundIP,
|
|
325
321
|
rtcp_settings: Telnyx::ConnectionRtcpSettings,
|
|
@@ -383,150 +379,6 @@ module Telnyx
|
|
|
383
379
|
end
|
|
384
380
|
end
|
|
385
381
|
|
|
386
|
-
class NoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
|
|
387
|
-
OrHash =
|
|
388
|
-
T.type_alias do
|
|
389
|
-
T.any(
|
|
390
|
-
Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails,
|
|
391
|
-
Telnyx::Internal::AnyHash
|
|
392
|
-
)
|
|
393
|
-
end
|
|
394
|
-
|
|
395
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
396
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
397
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
398
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
399
|
-
sig { returns(T.nilable(Integer)) }
|
|
400
|
-
attr_reader :attenuation_limit
|
|
401
|
-
|
|
402
|
-
sig { params(attenuation_limit: Integer).void }
|
|
403
|
-
attr_writer :attenuation_limit
|
|
404
|
-
|
|
405
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
406
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
407
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
408
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
409
|
-
# noise suppression capabilities.
|
|
410
|
-
sig do
|
|
411
|
-
returns(
|
|
412
|
-
T.nilable(
|
|
413
|
-
Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
414
|
-
)
|
|
415
|
-
)
|
|
416
|
-
end
|
|
417
|
-
attr_reader :engine
|
|
418
|
-
|
|
419
|
-
sig do
|
|
420
|
-
params(
|
|
421
|
-
engine:
|
|
422
|
-
Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
423
|
-
).void
|
|
424
|
-
end
|
|
425
|
-
attr_writer :engine
|
|
426
|
-
|
|
427
|
-
# Configuration options for noise suppression. These settings are stored
|
|
428
|
-
# regardless of the noise_suppression value, but only take effect when
|
|
429
|
-
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
430
|
-
# re-enable it, the previously configured settings will be used.
|
|
431
|
-
sig do
|
|
432
|
-
params(
|
|
433
|
-
attenuation_limit: Integer,
|
|
434
|
-
engine:
|
|
435
|
-
Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
436
|
-
).returns(T.attached_class)
|
|
437
|
-
end
|
|
438
|
-
def self.new(
|
|
439
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
440
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
441
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
442
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
443
|
-
attenuation_limit: nil,
|
|
444
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
445
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
446
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
447
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
448
|
-
# noise suppression capabilities.
|
|
449
|
-
engine: nil
|
|
450
|
-
)
|
|
451
|
-
end
|
|
452
|
-
|
|
453
|
-
sig do
|
|
454
|
-
override.returns(
|
|
455
|
-
{
|
|
456
|
-
attenuation_limit: Integer,
|
|
457
|
-
engine:
|
|
458
|
-
Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
459
|
-
}
|
|
460
|
-
)
|
|
461
|
-
end
|
|
462
|
-
def to_hash
|
|
463
|
-
end
|
|
464
|
-
|
|
465
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
466
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
467
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
468
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
469
|
-
# noise suppression capabilities.
|
|
470
|
-
module Engine
|
|
471
|
-
extend Telnyx::Internal::Type::Enum
|
|
472
|
-
|
|
473
|
-
TaggedSymbol =
|
|
474
|
-
T.type_alias do
|
|
475
|
-
T.all(
|
|
476
|
-
Symbol,
|
|
477
|
-
Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine
|
|
478
|
-
)
|
|
479
|
-
end
|
|
480
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
481
|
-
|
|
482
|
-
DENOISER =
|
|
483
|
-
T.let(
|
|
484
|
-
:denoiser,
|
|
485
|
-
Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
486
|
-
)
|
|
487
|
-
DEEP_FILTER_NET =
|
|
488
|
-
T.let(
|
|
489
|
-
:deep_filter_net,
|
|
490
|
-
Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
491
|
-
)
|
|
492
|
-
DEEP_FILTER_NET_LARGE =
|
|
493
|
-
T.let(
|
|
494
|
-
:deep_filter_net_large,
|
|
495
|
-
Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
496
|
-
)
|
|
497
|
-
KRISP_VIVA_TEL =
|
|
498
|
-
T.let(
|
|
499
|
-
:krisp_viva_tel,
|
|
500
|
-
Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
501
|
-
)
|
|
502
|
-
KRISP_VIVA_TEL_LITE =
|
|
503
|
-
T.let(
|
|
504
|
-
:krisp_viva_tel_lite,
|
|
505
|
-
Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
506
|
-
)
|
|
507
|
-
KRISP_VIVA_PROMODEL =
|
|
508
|
-
T.let(
|
|
509
|
-
:krisp_viva_promodel,
|
|
510
|
-
Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
511
|
-
)
|
|
512
|
-
KRISP_VIVA_SS =
|
|
513
|
-
T.let(
|
|
514
|
-
:krisp_viva_ss,
|
|
515
|
-
Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
516
|
-
)
|
|
517
|
-
|
|
518
|
-
sig do
|
|
519
|
-
override.returns(
|
|
520
|
-
T::Array[
|
|
521
|
-
Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
522
|
-
]
|
|
523
|
-
)
|
|
524
|
-
end
|
|
525
|
-
def self.values
|
|
526
|
-
end
|
|
527
|
-
end
|
|
528
|
-
end
|
|
529
|
-
|
|
530
382
|
# One of UDP, TLS, or TCP. Applies only to connections with IP authentication or
|
|
531
383
|
# FQDN authentication.
|
|
532
384
|
module TransportProtocol
|
|
@@ -15,31 +15,15 @@ module Telnyx
|
|
|
15
15
|
)
|
|
16
16
|
end
|
|
17
17
|
|
|
18
|
-
# Filter by Brand ID for easier lookup in portal applications
|
|
19
|
-
sig { returns(T.nilable(String)) }
|
|
20
|
-
attr_reader :brand_id
|
|
21
|
-
|
|
22
|
-
sig { params(brand_id: String).void }
|
|
23
|
-
attr_writer :brand_id
|
|
24
|
-
|
|
25
18
|
sig do
|
|
26
|
-
params(
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
).returns(T.attached_class)
|
|
19
|
+
params(request_options: Telnyx::RequestOptions::OrHash).returns(
|
|
20
|
+
T.attached_class
|
|
21
|
+
)
|
|
30
22
|
end
|
|
31
|
-
def self.new(
|
|
32
|
-
# Filter by Brand ID for easier lookup in portal applications
|
|
33
|
-
brand_id: nil,
|
|
34
|
-
request_options: {}
|
|
35
|
-
)
|
|
23
|
+
def self.new(request_options: {})
|
|
36
24
|
end
|
|
37
25
|
|
|
38
|
-
sig
|
|
39
|
-
override.returns(
|
|
40
|
-
{ brand_id: String, request_options: Telnyx::RequestOptions }
|
|
41
|
-
)
|
|
42
|
-
end
|
|
26
|
+
sig { override.returns({ request_options: Telnyx::RequestOptions }) }
|
|
43
27
|
def to_hash
|
|
44
28
|
end
|
|
45
29
|
end
|
|
@@ -97,6 +97,15 @@ module Telnyx
|
|
|
97
97
|
sig { params(redaction_level: Integer).void }
|
|
98
98
|
attr_writer :redaction_level
|
|
99
99
|
|
|
100
|
+
# Enables automatic character encoding optimization for SMS messages. When
|
|
101
|
+
# enabled, the system automatically selects the most efficient encoding (GSM-7 or
|
|
102
|
+
# UCS-2) based on message content to maximize character limits and minimize costs.
|
|
103
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
104
|
+
attr_reader :smart_encoding
|
|
105
|
+
|
|
106
|
+
sig { params(smart_encoding: T::Boolean).void }
|
|
107
|
+
attr_writer :smart_encoding
|
|
108
|
+
|
|
100
109
|
# The URL shortener feature allows automatic replacement of URLs that were
|
|
101
110
|
# generated using a public URL shortener service. Some examples include bit.do,
|
|
102
111
|
# bit.ly, goo.gl, ht.ly, is.gd, ow.ly, rebrand.ly, t.co, tiny.cc, and tinyurl.com.
|
|
@@ -206,6 +215,7 @@ module Telnyx
|
|
|
206
215
|
record_type: Telnyx::MessagingProfile::RecordType::OrSymbol,
|
|
207
216
|
redaction_enabled: T::Boolean,
|
|
208
217
|
redaction_level: Integer,
|
|
218
|
+
smart_encoding: T::Boolean,
|
|
209
219
|
updated_at: Time,
|
|
210
220
|
url_shortener_settings:
|
|
211
221
|
T.nilable(Telnyx::URLShortenerSettings::OrHash),
|
|
@@ -255,6 +265,10 @@ module Telnyx
|
|
|
255
265
|
# Determines how much information is redacted in messages for privacy or
|
|
256
266
|
# compliance purposes.
|
|
257
267
|
redaction_level: nil,
|
|
268
|
+
# Enables automatic character encoding optimization for SMS messages. When
|
|
269
|
+
# enabled, the system automatically selects the most efficient encoding (GSM-7 or
|
|
270
|
+
# UCS-2) based on message content to maximize character limits and minimize costs.
|
|
271
|
+
smart_encoding: nil,
|
|
258
272
|
# ISO 8601 formatted date indicating when the resource was updated.
|
|
259
273
|
updated_at: nil,
|
|
260
274
|
# The URL shortener feature allows automatic replacement of URLs that were
|
|
@@ -300,6 +314,7 @@ module Telnyx
|
|
|
300
314
|
record_type: Telnyx::MessagingProfile::RecordType::TaggedSymbol,
|
|
301
315
|
redaction_enabled: T::Boolean,
|
|
302
316
|
redaction_level: Integer,
|
|
317
|
+
smart_encoding: T::Boolean,
|
|
303
318
|
updated_at: Time,
|
|
304
319
|
url_shortener_settings: T.nilable(Telnyx::URLShortenerSettings),
|
|
305
320
|
v1_secret: String,
|
|
@@ -84,6 +84,15 @@ module Telnyx
|
|
|
84
84
|
end
|
|
85
85
|
attr_writer :number_pool_settings
|
|
86
86
|
|
|
87
|
+
# Enables automatic character encoding optimization for SMS messages. When
|
|
88
|
+
# enabled, the system automatically selects the most efficient encoding (GSM-7 or
|
|
89
|
+
# UCS-2) based on message content to maximize character limits and minimize costs.
|
|
90
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
91
|
+
attr_reader :smart_encoding
|
|
92
|
+
|
|
93
|
+
sig { params(smart_encoding: T::Boolean).void }
|
|
94
|
+
attr_writer :smart_encoding
|
|
95
|
+
|
|
87
96
|
# The URL shortener feature allows automatic replacement of URLs that were
|
|
88
97
|
# generated using a public URL shortener service. Some examples include bit.do,
|
|
89
98
|
# bit.ly, goo.gl, ht.ly, is.gd, ow.ly, rebrand.ly, t.co, tiny.cc, and tinyurl.com.
|
|
@@ -142,6 +151,7 @@ module Telnyx
|
|
|
142
151
|
mms_transcoding: T::Boolean,
|
|
143
152
|
mobile_only: T::Boolean,
|
|
144
153
|
number_pool_settings: T.nilable(Telnyx::NumberPoolSettings::OrHash),
|
|
154
|
+
smart_encoding: T::Boolean,
|
|
145
155
|
url_shortener_settings:
|
|
146
156
|
T.nilable(Telnyx::URLShortenerSettings::OrHash),
|
|
147
157
|
webhook_api_version:
|
|
@@ -180,6 +190,10 @@ module Telnyx
|
|
|
180
190
|
#
|
|
181
191
|
# To disable this feature, set the object field to `null`.
|
|
182
192
|
number_pool_settings: nil,
|
|
193
|
+
# Enables automatic character encoding optimization for SMS messages. When
|
|
194
|
+
# enabled, the system automatically selects the most efficient encoding (GSM-7 or
|
|
195
|
+
# UCS-2) based on message content to maximize character limits and minimize costs.
|
|
196
|
+
smart_encoding: nil,
|
|
183
197
|
# The URL shortener feature allows automatic replacement of URLs that were
|
|
184
198
|
# generated using a public URL shortener service. Some examples include bit.do,
|
|
185
199
|
# bit.ly, goo.gl, ht.ly, is.gd, ow.ly, rebrand.ly, t.co, tiny.cc, and tinyurl.com.
|
|
@@ -213,6 +227,7 @@ module Telnyx
|
|
|
213
227
|
mms_transcoding: T::Boolean,
|
|
214
228
|
mobile_only: T::Boolean,
|
|
215
229
|
number_pool_settings: T.nilable(Telnyx::NumberPoolSettings),
|
|
230
|
+
smart_encoding: T::Boolean,
|
|
216
231
|
url_shortener_settings: T.nilable(Telnyx::URLShortenerSettings),
|
|
217
232
|
webhook_api_version:
|
|
218
233
|
Telnyx::MessagingProfileCreateParams::WebhookAPIVersion::OrSymbol,
|
|
@@ -81,6 +81,15 @@ module Telnyx
|
|
|
81
81
|
end
|
|
82
82
|
attr_writer :number_pool_settings
|
|
83
83
|
|
|
84
|
+
# Enables automatic character encoding optimization for SMS messages. When
|
|
85
|
+
# enabled, the system automatically selects the most efficient encoding (GSM-7 or
|
|
86
|
+
# UCS-2) based on message content to maximize character limits and minimize costs.
|
|
87
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
88
|
+
attr_reader :smart_encoding
|
|
89
|
+
|
|
90
|
+
sig { params(smart_encoding: T::Boolean).void }
|
|
91
|
+
attr_writer :smart_encoding
|
|
92
|
+
|
|
84
93
|
# The URL shortener feature allows automatic replacement of URLs that were
|
|
85
94
|
# generated using a public URL shortener service. Some examples include bit.do,
|
|
86
95
|
# bit.ly, goo.gl, ht.ly, is.gd, ow.ly, rebrand.ly, t.co, tiny.cc, and tinyurl.com.
|
|
@@ -156,6 +165,7 @@ module Telnyx
|
|
|
156
165
|
mobile_only: T::Boolean,
|
|
157
166
|
name: String,
|
|
158
167
|
number_pool_settings: T.nilable(Telnyx::NumberPoolSettings::OrHash),
|
|
168
|
+
smart_encoding: T::Boolean,
|
|
159
169
|
url_shortener_settings:
|
|
160
170
|
T.nilable(Telnyx::URLShortenerSettings::OrHash),
|
|
161
171
|
v1_secret: String,
|
|
@@ -192,6 +202,10 @@ module Telnyx
|
|
|
192
202
|
#
|
|
193
203
|
# To disable this feature, set the object field to `null`.
|
|
194
204
|
number_pool_settings: nil,
|
|
205
|
+
# Enables automatic character encoding optimization for SMS messages. When
|
|
206
|
+
# enabled, the system automatically selects the most efficient encoding (GSM-7 or
|
|
207
|
+
# UCS-2) based on message content to maximize character limits and minimize costs.
|
|
208
|
+
smart_encoding: nil,
|
|
195
209
|
# The URL shortener feature allows automatic replacement of URLs that were
|
|
196
210
|
# generated using a public URL shortener service. Some examples include bit.do,
|
|
197
211
|
# bit.ly, goo.gl, ht.ly, is.gd, ow.ly, rebrand.ly, t.co, tiny.cc, and tinyurl.com.
|
|
@@ -232,6 +246,7 @@ module Telnyx
|
|
|
232
246
|
mobile_only: T::Boolean,
|
|
233
247
|
name: String,
|
|
234
248
|
number_pool_settings: T.nilable(Telnyx::NumberPoolSettings),
|
|
249
|
+
smart_encoding: T::Boolean,
|
|
235
250
|
url_shortener_settings: T.nilable(Telnyx::URLShortenerSettings),
|
|
236
251
|
v1_secret: String,
|
|
237
252
|
webhook_api_version:
|
|
@@ -135,6 +135,12 @@ module Telnyx
|
|
|
135
135
|
sig { returns(T.nilable(String)) }
|
|
136
136
|
attr_accessor :business_registration_type
|
|
137
137
|
|
|
138
|
+
# Campaign Verify Authorization Token required for Political use case submissions
|
|
139
|
+
# starting February 17, 2026. This token is validated by Zipwhip and must be
|
|
140
|
+
# provided for all Political use case verifications after the deadline.
|
|
141
|
+
sig { returns(T.nilable(String)) }
|
|
142
|
+
attr_accessor :campaign_verify_authorization_token
|
|
143
|
+
|
|
138
144
|
# Doing Business As (DBA) name if different from legal name
|
|
139
145
|
sig { returns(T.nilable(String)) }
|
|
140
146
|
attr_accessor :doing_business_as
|
|
@@ -211,6 +217,7 @@ module Telnyx
|
|
|
211
217
|
business_registration_country: T.nilable(String),
|
|
212
218
|
business_registration_number: T.nilable(String),
|
|
213
219
|
business_registration_type: T.nilable(String),
|
|
220
|
+
campaign_verify_authorization_token: T.nilable(String),
|
|
214
221
|
doing_business_as: T.nilable(String),
|
|
215
222
|
entity_type:
|
|
216
223
|
T.nilable(
|
|
@@ -281,6 +288,10 @@ module Telnyx
|
|
|
281
288
|
business_registration_number: nil,
|
|
282
289
|
# Type of business registration being provided. Required from January 2026.
|
|
283
290
|
business_registration_type: nil,
|
|
291
|
+
# Campaign Verify Authorization Token required for Political use case submissions
|
|
292
|
+
# starting February 17, 2026. This token is validated by Zipwhip and must be
|
|
293
|
+
# provided for all Political use case verifications after the deadline.
|
|
294
|
+
campaign_verify_authorization_token: nil,
|
|
284
295
|
# Doing Business As (DBA) name if different from legal name
|
|
285
296
|
doing_business_as: nil,
|
|
286
297
|
# Business entity classification
|
|
@@ -335,6 +346,7 @@ module Telnyx
|
|
|
335
346
|
business_registration_country: T.nilable(String),
|
|
336
347
|
business_registration_number: T.nilable(String),
|
|
337
348
|
business_registration_type: T.nilable(String),
|
|
349
|
+
campaign_verify_authorization_token: T.nilable(String),
|
|
338
350
|
doing_business_as: T.nilable(String),
|
|
339
351
|
entity_type:
|
|
340
352
|
T.nilable(
|
|
@@ -124,6 +124,11 @@ module Telnyx
|
|
|
124
124
|
sig { params(business_registration_type: String).void }
|
|
125
125
|
attr_writer :business_registration_type
|
|
126
126
|
|
|
127
|
+
# Campaign Verify Authorization Token required for Political use case submissions
|
|
128
|
+
# starting February 17, 2026
|
|
129
|
+
sig { returns(T.nilable(String)) }
|
|
130
|
+
attr_accessor :campaign_verify_authorization_token
|
|
131
|
+
|
|
127
132
|
sig { returns(T.nilable(String)) }
|
|
128
133
|
attr_reader :doing_business_as
|
|
129
134
|
|
|
@@ -237,6 +242,7 @@ module Telnyx
|
|
|
237
242
|
business_registration_country: String,
|
|
238
243
|
business_registration_number: String,
|
|
239
244
|
business_registration_type: String,
|
|
245
|
+
campaign_verify_authorization_token: T.nilable(String),
|
|
240
246
|
doing_business_as: String,
|
|
241
247
|
entity_type:
|
|
242
248
|
Telnyx::MessagingTollfree::Verification::TollFreeVerificationEntityType::OrSymbol,
|
|
@@ -279,6 +285,9 @@ module Telnyx
|
|
|
279
285
|
business_registration_country: nil,
|
|
280
286
|
business_registration_number: nil,
|
|
281
287
|
business_registration_type: nil,
|
|
288
|
+
# Campaign Verify Authorization Token required for Political use case submissions
|
|
289
|
+
# starting February 17, 2026
|
|
290
|
+
campaign_verify_authorization_token: nil,
|
|
282
291
|
doing_business_as: nil,
|
|
283
292
|
# Business entity classification
|
|
284
293
|
entity_type: nil,
|
|
@@ -328,6 +337,7 @@ module Telnyx
|
|
|
328
337
|
business_registration_country: String,
|
|
329
338
|
business_registration_number: String,
|
|
330
339
|
business_registration_type: String,
|
|
340
|
+
campaign_verify_authorization_token: T.nilable(String),
|
|
331
341
|
doing_business_as: String,
|
|
332
342
|
entity_type:
|
|
333
343
|
Telnyx::MessagingTollfree::Verification::TollFreeVerificationEntityType::TaggedSymbol,
|
|
@@ -129,6 +129,11 @@ module Telnyx
|
|
|
129
129
|
sig { params(business_registration_type: String).void }
|
|
130
130
|
attr_writer :business_registration_type
|
|
131
131
|
|
|
132
|
+
# Campaign Verify Authorization Token required for Political use case submissions
|
|
133
|
+
# starting February 17, 2026
|
|
134
|
+
sig { returns(T.nilable(String)) }
|
|
135
|
+
attr_accessor :campaign_verify_authorization_token
|
|
136
|
+
|
|
132
137
|
sig { returns(T.nilable(Time)) }
|
|
133
138
|
attr_reader :created_at
|
|
134
139
|
|
|
@@ -243,6 +248,7 @@ module Telnyx
|
|
|
243
248
|
business_registration_country: String,
|
|
244
249
|
business_registration_number: String,
|
|
245
250
|
business_registration_type: String,
|
|
251
|
+
campaign_verify_authorization_token: T.nilable(String),
|
|
246
252
|
created_at: Time,
|
|
247
253
|
doing_business_as: String,
|
|
248
254
|
entity_type:
|
|
@@ -287,6 +293,9 @@ module Telnyx
|
|
|
287
293
|
business_registration_country: nil,
|
|
288
294
|
business_registration_number: nil,
|
|
289
295
|
business_registration_type: nil,
|
|
296
|
+
# Campaign Verify Authorization Token required for Political use case submissions
|
|
297
|
+
# starting February 17, 2026
|
|
298
|
+
campaign_verify_authorization_token: nil,
|
|
290
299
|
created_at: nil,
|
|
291
300
|
doing_business_as: nil,
|
|
292
301
|
# Business entity classification
|
|
@@ -338,6 +347,7 @@ module Telnyx
|
|
|
338
347
|
business_registration_country: String,
|
|
339
348
|
business_registration_number: String,
|
|
340
349
|
business_registration_type: String,
|
|
350
|
+
campaign_verify_authorization_token: T.nilable(String),
|
|
341
351
|
created_at: Time,
|
|
342
352
|
doing_business_as: String,
|
|
343
353
|
entity_type:
|