telnyx 5.68.2 → 5.70.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 +59 -0
- data/README.md +1 -1
- data/lib/telnyx/client.rb +7 -0
- data/lib/telnyx/internal/util.rb +21 -5
- data/lib/telnyx/models/ai/assistant_create_params.rb +8 -1
- data/lib/telnyx/models/ai/assistant_tool.rb +25 -5
- data/lib/telnyx/models/ai/assistant_update_params.rb +8 -1
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +8 -1
- data/lib/telnyx/models/ai/audio_transcribe_response.rb +70 -7
- data/lib/telnyx/models/ai/conversation_add_message_params.rb +4 -4
- data/lib/telnyx/models/ai/inference_embedding.rb +8 -1
- data/lib/telnyx/models/ai/observability.rb +46 -0
- data/lib/telnyx/models/ai/observability_req.rb +46 -0
- data/lib/telnyx/models/ai/telephony_settings.rb +13 -1
- data/lib/telnyx/models/call_dial_params.rb +24 -1
- data/lib/telnyx/models/calls/action_transfer_params.rb +24 -1
- data/lib/telnyx/models/enterprise_create_params.rb +1 -1
- data/lib/telnyx/models/enterprise_public.rb +1 -1
- data/lib/telnyx/models/enterprise_update_params.rb +1 -1
- data/lib/telnyx/models/enterprises/reputation/{number_create_params.rb → number_associate_params.rb} +2 -2
- data/lib/telnyx/models/enterprises/reputation/{number_create_response.rb → number_associate_response.rb} +5 -5
- data/lib/telnyx/models/enterprises/reputation/{number_delete_params.rb → number_disassociate_params.rb} +2 -2
- data/lib/telnyx/models/enterprises/{reputation_list_params.rb → reputation_disable_params.rb} +2 -2
- data/lib/telnyx/models/enterprises/{reputation_create_params.rb → reputation_enable_params.rb} +6 -6
- data/lib/telnyx/models/enterprises/{reputation_create_response.rb → reputation_enable_response.rb} +2 -2
- data/lib/telnyx/models/enterprises/{reputation_delete_all_params.rb → reputation_retrieve_params.rb} +2 -2
- data/lib/telnyx/models/enterprises/{reputation_list_response.rb → reputation_retrieve_response.rb} +2 -2
- data/lib/telnyx/models/porting_orders/phone_number_block_list_params.rb +9 -9
- data/lib/telnyx/models/pronunciation_dict_create_params.rb +141 -0
- data/lib/telnyx/models/pronunciation_dict_create_response.rb +207 -0
- data/lib/telnyx/models/pronunciation_dict_delete_params.rb +20 -0
- data/lib/telnyx/models/pronunciation_dict_list_params.rb +30 -0
- data/lib/telnyx/models/pronunciation_dict_list_response.rb +190 -0
- data/lib/telnyx/models/pronunciation_dict_retrieve_params.rb +20 -0
- data/lib/telnyx/models/pronunciation_dict_retrieve_response.rb +207 -0
- data/lib/telnyx/models/pronunciation_dict_update_params.rb +144 -0
- data/lib/telnyx/models/pronunciation_dict_update_response.rb +207 -0
- data/lib/telnyx/models/texml/accounts/call_calls_params.rb +1893 -547
- data/lib/telnyx/models/texml_initiate_ai_call_params.rb +514 -0
- data/lib/telnyx/models/texml_initiate_ai_call_response.rb +34 -0
- data/lib/telnyx/models/verification.rb +1 -0
- data/lib/telnyx/models/verification_trigger_whatsapp_verification_params.rb +46 -0
- data/lib/telnyx/models/verify_profile_create_params.rb +43 -1
- data/lib/telnyx/models/verify_profile_update_params.rb +43 -1
- data/lib/telnyx/models/voice_clone_create_from_upload_params.rb +364 -71
- data/lib/telnyx/models/voice_clone_create_params.rb +161 -51
- data/lib/telnyx/models/voice_clone_data.rb +51 -4
- data/lib/telnyx/models/whatsapp_message_content.rb +196 -1
- data/lib/telnyx/models/wireless_blocklist_update_params.rb +8 -21
- data/lib/telnyx/models.rb +15 -0
- data/lib/telnyx/resources/ai/assistants/versions.rb +3 -1
- data/lib/telnyx/resources/ai/assistants.rb +6 -2
- data/lib/telnyx/resources/calls/actions.rb +3 -1
- data/lib/telnyx/resources/calls.rb +3 -1
- data/lib/telnyx/resources/enterprises/reputation/numbers.rb +42 -42
- data/lib/telnyx/resources/enterprises/reputation.rb +61 -61
- data/lib/telnyx/resources/pronunciation_dicts.rb +156 -0
- data/lib/telnyx/resources/texml/accounts/calls.rb +3 -84
- data/lib/telnyx/resources/texml.rb +106 -0
- data/lib/telnyx/resources/verifications.rb +28 -0
- data/lib/telnyx/resources/verify_profiles.rb +5 -2
- data/lib/telnyx/resources/voice_clones.rb +7 -27
- data/lib/telnyx/resources/wireless_blocklists.rb +5 -5
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +23 -8
- data/rbi/telnyx/client.rbi +6 -0
- data/rbi/telnyx/internal/util.rbi +8 -0
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +13 -0
- data/rbi/telnyx/models/ai/assistant_tool.rbi +56 -5
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +13 -0
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +13 -0
- data/rbi/telnyx/models/ai/audio_transcribe_response.rbi +123 -10
- data/rbi/telnyx/models/ai/conversation_add_message_params.rbi +5 -5
- data/rbi/telnyx/models/ai/inference_embedding.rbi +11 -0
- data/rbi/telnyx/models/ai/observability.rbi +90 -0
- data/rbi/telnyx/models/ai/observability_req.rbi +92 -0
- data/rbi/telnyx/models/ai/telephony_settings.rbi +13 -0
- data/rbi/telnyx/models/call_dial_params.rbi +37 -0
- data/rbi/telnyx/models/calls/action_transfer_params.rbi +57 -0
- data/rbi/telnyx/models/enterprise_create_params.rbi +1 -1
- data/rbi/telnyx/models/enterprise_public.rbi +1 -1
- data/rbi/telnyx/models/enterprise_update_params.rbi +1 -1
- data/rbi/telnyx/models/enterprises/reputation/{number_create_params.rbi → number_associate_params.rbi} +2 -2
- data/rbi/telnyx/models/enterprises/reputation/{number_create_response.rbi → number_associate_response.rbi} +7 -7
- data/rbi/telnyx/models/enterprises/reputation/{number_delete_params.rbi → number_disassociate_params.rbi} +2 -2
- data/rbi/telnyx/models/enterprises/{reputation_list_params.rbi → reputation_disable_params.rbi} +2 -2
- data/rbi/telnyx/models/enterprises/{reputation_create_params.rbi → reputation_enable_params.rbi} +14 -14
- data/rbi/telnyx/models/enterprises/{reputation_create_response.rbi → reputation_enable_response.rbi} +2 -2
- data/rbi/telnyx/models/enterprises/{reputation_delete_all_params.rbi → reputation_retrieve_params.rbi} +2 -2
- data/rbi/telnyx/models/enterprises/{reputation_list_response.rbi → reputation_retrieve_response.rbi} +2 -2
- data/rbi/telnyx/models/porting_orders/phone_number_block_list_params.rbi +34 -34
- data/rbi/telnyx/models/pronunciation_dict_create_params.rbi +246 -0
- data/rbi/telnyx/models/pronunciation_dict_create_response.rbi +398 -0
- data/rbi/telnyx/models/pronunciation_dict_delete_params.rbi +38 -0
- data/rbi/telnyx/models/pronunciation_dict_list_params.rbi +57 -0
- data/rbi/telnyx/models/pronunciation_dict_list_response.rbi +353 -0
- data/rbi/telnyx/models/pronunciation_dict_retrieve_params.rbi +38 -0
- data/rbi/telnyx/models/pronunciation_dict_retrieve_response.rbi +398 -0
- data/rbi/telnyx/models/pronunciation_dict_update_params.rbi +268 -0
- data/rbi/telnyx/models/pronunciation_dict_update_response.rbi +398 -0
- data/rbi/telnyx/models/texml/accounts/call_calls_params.rbi +3719 -1011
- data/rbi/telnyx/models/texml_initiate_ai_call_params.rbi +1010 -0
- data/rbi/telnyx/models/texml_initiate_ai_call_response.rbi +58 -0
- data/rbi/telnyx/models/verification.rbi +1 -0
- data/rbi/telnyx/models/verification_trigger_whatsapp_verification_params.rbi +73 -0
- data/rbi/telnyx/models/verify_profile_create_params.rbi +85 -0
- data/rbi/telnyx/models/verify_profile_update_params.rbi +85 -0
- data/rbi/telnyx/models/voice_clone_create_from_upload_params.rbi +711 -136
- data/rbi/telnyx/models/voice_clone_create_params.rbi +345 -79
- data/rbi/telnyx/models/voice_clone_data.rbi +77 -4
- data/rbi/telnyx/models/whatsapp_message_content.rbi +492 -0
- data/rbi/telnyx/models/wireless_blocklist_update_params.rbi +6 -49
- data/rbi/telnyx/models.rbi +19 -10
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +3 -0
- data/rbi/telnyx/resources/ai/assistants.rbi +4 -0
- data/rbi/telnyx/resources/calls/actions.rbi +5 -0
- data/rbi/telnyx/resources/calls.rbi +5 -0
- data/rbi/telnyx/resources/enterprises/reputation/numbers.rbi +34 -34
- data/rbi/telnyx/resources/enterprises/reputation.rbi +44 -44
- data/rbi/telnyx/resources/pronunciation_dicts.rbi +131 -0
- data/rbi/telnyx/resources/texml/accounts/calls.rbi +7 -163
- data/rbi/telnyx/resources/texml.rbi +164 -0
- data/rbi/telnyx/resources/verifications.rbi +23 -0
- data/rbi/telnyx/resources/verify_profiles.rbi +4 -0
- data/rbi/telnyx/resources/voice_clones.rbi +17 -41
- data/rbi/telnyx/resources/wireless_blocklists.rbi +3 -3
- data/sig/telnyx/client.rbs +2 -0
- data/sig/telnyx/internal/util.rbs +4 -0
- data/sig/telnyx/models/ai/assistant_create_params.rbs +9 -0
- data/sig/telnyx/models/ai/assistant_tool.rbs +17 -4
- data/sig/telnyx/models/ai/assistant_update_params.rbs +9 -0
- data/sig/telnyx/models/ai/assistants/update_assistant.rbs +9 -0
- data/sig/telnyx/models/ai/audio_transcribe_response.rbs +53 -3
- data/sig/telnyx/models/ai/conversation_add_message_params.rbs +5 -5
- data/sig/telnyx/models/ai/inference_embedding.rbs +9 -0
- data/sig/telnyx/models/ai/observability.rbs +58 -0
- data/sig/telnyx/models/ai/observability_req.rbs +58 -0
- data/sig/telnyx/models/ai/telephony_settings.rbs +7 -0
- data/sig/telnyx/models/call_dial_params.rbs +20 -0
- data/sig/telnyx/models/calls/action_transfer_params.rbs +20 -0
- data/sig/telnyx/models/enterprise_create_params.rbs +1 -1
- data/sig/telnyx/models/enterprise_public.rbs +1 -1
- data/sig/telnyx/models/enterprise_update_params.rbs +1 -1
- data/sig/telnyx/models/enterprises/reputation/{number_create_params.rbs → number_associate_params.rbs} +2 -2
- data/sig/telnyx/models/enterprises/reputation/{number_create_response.rbs → number_associate_response.rbs} +8 -8
- data/sig/telnyx/models/enterprises/reputation/{number_delete_params.rbs → number_disassociate_params.rbs} +2 -2
- data/sig/telnyx/models/enterprises/{reputation_list_params.rbs → reputation_disable_params.rbs} +2 -2
- data/sig/telnyx/models/enterprises/{reputation_create_params.rbs → reputation_enable_params.rbs} +9 -9
- data/sig/telnyx/models/enterprises/{reputation_create_response.rbs → reputation_enable_response.rbs} +2 -2
- data/sig/telnyx/models/enterprises/{reputation_delete_all_params.rbs → reputation_retrieve_params.rbs} +2 -2
- data/sig/telnyx/models/enterprises/{reputation_list_response.rbs → reputation_retrieve_response.rbs} +2 -2
- data/sig/telnyx/models/porting_orders/phone_number_block_list_params.rbs +9 -9
- data/sig/telnyx/models/pronunciation_dict_create_params.rbs +97 -0
- data/sig/telnyx/models/pronunciation_dict_create_response.rbs +167 -0
- data/sig/telnyx/models/pronunciation_dict_delete_params.rbs +20 -0
- data/sig/telnyx/models/pronunciation_dict_list_params.rbs +32 -0
- data/sig/telnyx/models/pronunciation_dict_list_response.rbs +144 -0
- data/sig/telnyx/models/pronunciation_dict_retrieve_params.rbs +20 -0
- data/sig/telnyx/models/pronunciation_dict_retrieve_response.rbs +167 -0
- data/sig/telnyx/models/pronunciation_dict_update_params.rbs +108 -0
- data/sig/telnyx/models/pronunciation_dict_update_response.rbs +167 -0
- data/sig/telnyx/models/texml/accounts/call_calls_params.rbs +1368 -331
- data/sig/telnyx/models/texml_initiate_ai_call_params.rbs +444 -0
- data/sig/telnyx/models/texml_initiate_ai_call_response.rbs +38 -0
- data/sig/telnyx/models/verification.rbs +2 -1
- data/sig/telnyx/models/verification_trigger_whatsapp_verification_params.rbs +43 -0
- data/sig/telnyx/models/verify_profile_create_params.rbs +43 -1
- data/sig/telnyx/models/verify_profile_update_params.rbs +43 -1
- data/sig/telnyx/models/voice_clone_create_from_upload_params.rbs +269 -58
- data/sig/telnyx/models/voice_clone_create_params.rbs +129 -44
- data/sig/telnyx/models/voice_clone_data.rbs +43 -0
- data/sig/telnyx/models/whatsapp_message_content.rbs +205 -0
- data/sig/telnyx/models/wireless_blocklist_update_params.rbs +5 -25
- data/sig/telnyx/models.rbs +14 -0
- data/sig/telnyx/resources/ai/assistants/versions.rbs +1 -0
- data/sig/telnyx/resources/ai/assistants.rbs +2 -0
- data/sig/telnyx/resources/calls/actions.rbs +1 -0
- data/sig/telnyx/resources/calls.rbs +1 -0
- data/sig/telnyx/resources/enterprises/reputation/numbers.rbs +7 -7
- data/sig/telnyx/resources/enterprises/reputation.rbs +8 -8
- data/sig/telnyx/resources/pronunciation_dicts.rbs +33 -0
- data/sig/telnyx/resources/texml/accounts/calls.rbs +1 -40
- data/sig/telnyx/resources/texml.rbs +44 -0
- data/sig/telnyx/resources/verifications.rbs +8 -0
- data/sig/telnyx/resources/verify_profiles.rbs +2 -0
- data/sig/telnyx/resources/voice_clones.rbs +2 -12
- data/sig/telnyx/resources/wireless_blocklists.rbs +1 -1
- metadata +71 -26
|
@@ -178,6 +178,14 @@ module Telnyx
|
|
|
178
178
|
# @return [Boolean, nil]
|
|
179
179
|
optional :prevent_double_bridge, Telnyx::Internal::Type::Boolean
|
|
180
180
|
|
|
181
|
+
# @!attribute privacy
|
|
182
|
+
# Indicates the privacy level to be used for the call. When set to `id`, caller ID
|
|
183
|
+
# information (name and number) will be hidden from the called party. When set to
|
|
184
|
+
# `none` or omitted, caller ID will be shown normally.
|
|
185
|
+
#
|
|
186
|
+
# @return [Symbol, Telnyx::Models::CallDialParams::Privacy, nil]
|
|
187
|
+
optional :privacy, enum: -> { Telnyx::CallDialParams::Privacy }
|
|
188
|
+
|
|
181
189
|
# @!attribute record
|
|
182
190
|
# Start recording automatically after an event. Disabled by default.
|
|
183
191
|
#
|
|
@@ -399,7 +407,7 @@ module Telnyx
|
|
|
399
407
|
# @return [Symbol, Telnyx::Models::CallDialParams::WebhookURLMethod, nil]
|
|
400
408
|
optional :webhook_url_method, enum: -> { Telnyx::CallDialParams::WebhookURLMethod }
|
|
401
409
|
|
|
402
|
-
# @!method initialize(connection_id:, from:, to:, answering_machine_detection: nil, answering_machine_detection_config: nil, audio_url: nil, billing_group_id: nil, bridge_intent: nil, bridge_on_answer: nil, client_state: nil, command_id: nil, conference_config: nil, custom_headers: nil, dialogflow_config: nil, enable_dialogflow: nil, from_display_name: nil, link_to: nil, media_encryption: nil, media_name: nil, park_after_unbridge: nil, preferred_codecs: nil, prevent_double_bridge: nil, record: nil, record_channels: nil, record_custom_file_name: nil, record_format: nil, record_max_length: nil, record_timeout_secs: nil, record_track: nil, record_trim: nil, send_silence_when_idle: nil, sip_auth_password: nil, sip_auth_username: nil, sip_headers: nil, sip_region: nil, sip_transport_protocol: nil, sound_modifications: nil, stream_auth_token: nil, stream_bidirectional_codec: nil, stream_bidirectional_mode: nil, stream_bidirectional_sampling_rate: nil, stream_bidirectional_target_legs: nil, stream_codec: nil, stream_establish_before_call_originate: nil, stream_track: nil, stream_url: nil, supervise_call_control_id: nil, supervisor_role: nil, time_limit_secs: nil, timeout_secs: nil, transcription: nil, transcription_config: nil, webhook_url: nil, webhook_url_method: nil, request_options: {})
|
|
410
|
+
# @!method initialize(connection_id:, from:, to:, answering_machine_detection: nil, answering_machine_detection_config: nil, audio_url: nil, billing_group_id: nil, bridge_intent: nil, bridge_on_answer: nil, client_state: nil, command_id: nil, conference_config: nil, custom_headers: nil, dialogflow_config: nil, enable_dialogflow: nil, from_display_name: nil, link_to: nil, media_encryption: nil, media_name: nil, park_after_unbridge: nil, preferred_codecs: nil, prevent_double_bridge: nil, privacy: nil, record: nil, record_channels: nil, record_custom_file_name: nil, record_format: nil, record_max_length: nil, record_timeout_secs: nil, record_track: nil, record_trim: nil, send_silence_when_idle: nil, sip_auth_password: nil, sip_auth_username: nil, sip_headers: nil, sip_region: nil, sip_transport_protocol: nil, sound_modifications: nil, stream_auth_token: nil, stream_bidirectional_codec: nil, stream_bidirectional_mode: nil, stream_bidirectional_sampling_rate: nil, stream_bidirectional_target_legs: nil, stream_codec: nil, stream_establish_before_call_originate: nil, stream_track: nil, stream_url: nil, supervise_call_control_id: nil, supervisor_role: nil, time_limit_secs: nil, timeout_secs: nil, transcription: nil, transcription_config: nil, webhook_url: nil, webhook_url_method: nil, request_options: {})
|
|
403
411
|
# Some parameter documentations has been truncated, see
|
|
404
412
|
# {Telnyx::Models::CallDialParams} for more details.
|
|
405
413
|
#
|
|
@@ -447,6 +455,8 @@ module Telnyx
|
|
|
447
455
|
#
|
|
448
456
|
# @param prevent_double_bridge [Boolean] Prevents bridging and hangs up the call if the target is already bridged. Disabl
|
|
449
457
|
#
|
|
458
|
+
# @param privacy [Symbol, Telnyx::Models::CallDialParams::Privacy] Indicates the privacy level to be used for the call. When set to `id`, caller ID
|
|
459
|
+
#
|
|
450
460
|
# @param record [Symbol, Telnyx::Models::CallDialParams::Record] Start recording automatically after an event. Disabled by default.
|
|
451
461
|
#
|
|
452
462
|
# @param record_channels [Symbol, Telnyx::Models::CallDialParams::RecordChannels] Defines which channel should be recorded ('single' or 'dual') when `record` is s
|
|
@@ -848,6 +858,19 @@ module Telnyx
|
|
|
848
858
|
# @return [Array<Symbol>]
|
|
849
859
|
end
|
|
850
860
|
|
|
861
|
+
# Indicates the privacy level to be used for the call. When set to `id`, caller ID
|
|
862
|
+
# information (name and number) will be hidden from the called party. When set to
|
|
863
|
+
# `none` or omitted, caller ID will be shown normally.
|
|
864
|
+
module Privacy
|
|
865
|
+
extend Telnyx::Internal::Type::Enum
|
|
866
|
+
|
|
867
|
+
ID = :id
|
|
868
|
+
NONE = :none
|
|
869
|
+
|
|
870
|
+
# @!method self.values
|
|
871
|
+
# @return [Array<Symbol>]
|
|
872
|
+
end
|
|
873
|
+
|
|
851
874
|
# Start recording automatically after an event. Disabled by default.
|
|
852
875
|
module Record
|
|
853
876
|
extend Telnyx::Internal::Type::Enum
|
|
@@ -130,6 +130,14 @@ module Telnyx
|
|
|
130
130
|
# @return [String, nil]
|
|
131
131
|
optional :preferred_codecs, String
|
|
132
132
|
|
|
133
|
+
# @!attribute privacy
|
|
134
|
+
# Indicates the privacy level to be used for the call. When set to `id`, caller ID
|
|
135
|
+
# information (name and number) will be hidden from the called party. When set to
|
|
136
|
+
# `none` or omitted, caller ID will be shown normally.
|
|
137
|
+
#
|
|
138
|
+
# @return [Symbol, Telnyx::Models::Calls::ActionTransferParams::Privacy, nil]
|
|
139
|
+
optional :privacy, enum: -> { Telnyx::Calls::ActionTransferParams::Privacy }
|
|
140
|
+
|
|
133
141
|
# @!attribute record
|
|
134
142
|
# Start recording automatically after an event. Disabled by default.
|
|
135
143
|
#
|
|
@@ -290,7 +298,7 @@ module Telnyx
|
|
|
290
298
|
# @return [Symbol, Telnyx::Models::Calls::ActionTransferParams::WebhookURLsMethod, nil]
|
|
291
299
|
optional :webhook_urls_method, enum: -> { Telnyx::Calls::ActionTransferParams::WebhookURLsMethod }
|
|
292
300
|
|
|
293
|
-
# @!method initialize(call_control_id:, to:, answering_machine_detection: nil, answering_machine_detection_config: nil, audio_url: nil, client_state: nil, command_id: nil, custom_headers: nil, early_media: nil, from: nil, from_display_name: nil, media_encryption: nil, media_name: nil, mute_dtmf: nil, park_after_unbridge: nil, preferred_codecs: nil, record: nil, record_channels: nil, record_custom_file_name: nil, record_format: nil, record_max_length: nil, record_timeout_secs: nil, record_track: nil, record_trim: nil, sip_auth_password: nil, sip_auth_username: nil, sip_headers: nil, sip_region: nil, sip_transport_protocol: nil, sound_modifications: nil, target_leg_client_state: nil, time_limit_secs: nil, timeout_secs: nil, webhook_retries_policies: nil, webhook_url: nil, webhook_url_method: nil, webhook_urls: nil, webhook_urls_method: nil, request_options: {})
|
|
301
|
+
# @!method initialize(call_control_id:, to:, answering_machine_detection: nil, answering_machine_detection_config: nil, audio_url: nil, client_state: nil, command_id: nil, custom_headers: nil, early_media: nil, from: nil, from_display_name: nil, media_encryption: nil, media_name: nil, mute_dtmf: nil, park_after_unbridge: nil, preferred_codecs: nil, privacy: nil, record: nil, record_channels: nil, record_custom_file_name: nil, record_format: nil, record_max_length: nil, record_timeout_secs: nil, record_track: nil, record_trim: nil, sip_auth_password: nil, sip_auth_username: nil, sip_headers: nil, sip_region: nil, sip_transport_protocol: nil, sound_modifications: nil, target_leg_client_state: nil, time_limit_secs: nil, timeout_secs: nil, webhook_retries_policies: nil, webhook_url: nil, webhook_url_method: nil, webhook_urls: nil, webhook_urls_method: nil, request_options: {})
|
|
294
302
|
# Some parameter documentations has been truncated, see
|
|
295
303
|
# {Telnyx::Models::Calls::ActionTransferParams} for more details.
|
|
296
304
|
#
|
|
@@ -326,6 +334,8 @@ module Telnyx
|
|
|
326
334
|
#
|
|
327
335
|
# @param preferred_codecs [String] The list of comma-separated codecs in order of preference to be used during the
|
|
328
336
|
#
|
|
337
|
+
# @param privacy [Symbol, Telnyx::Models::Calls::ActionTransferParams::Privacy] Indicates the privacy level to be used for the call. When set to `id`, caller ID
|
|
338
|
+
#
|
|
329
339
|
# @param record [Symbol, Telnyx::Models::Calls::ActionTransferParams::Record] Start recording automatically after an event. Disabled by default.
|
|
330
340
|
#
|
|
331
341
|
# @param record_channels [Symbol, Telnyx::Models::Calls::ActionTransferParams::RecordChannels] Defines which channel should be recorded ('single' or 'dual') when `record` is s
|
|
@@ -513,6 +523,19 @@ module Telnyx
|
|
|
513
523
|
# @return [Array<Symbol>]
|
|
514
524
|
end
|
|
515
525
|
|
|
526
|
+
# Indicates the privacy level to be used for the call. When set to `id`, caller ID
|
|
527
|
+
# information (name and number) will be hidden from the called party. When set to
|
|
528
|
+
# `none` or omitted, caller ID will be shown normally.
|
|
529
|
+
module Privacy
|
|
530
|
+
extend Telnyx::Internal::Type::Enum
|
|
531
|
+
|
|
532
|
+
ID = :id
|
|
533
|
+
NONE = :none
|
|
534
|
+
|
|
535
|
+
# @!method self.values
|
|
536
|
+
# @return [Array<Symbol>]
|
|
537
|
+
end
|
|
538
|
+
|
|
516
539
|
# Start recording automatically after an event. Disabled by default.
|
|
517
540
|
module Record
|
|
518
541
|
extend Telnyx::Internal::Type::Enum
|
|
@@ -180,7 +180,7 @@ module Telnyx
|
|
|
180
180
|
NUMBER_OF_EMPLOYEES_201_500 = :"201-500"
|
|
181
181
|
NUMBER_OF_EMPLOYEES_501_2000 = :"501-2000"
|
|
182
182
|
NUMBER_OF_EMPLOYEES_2001_10000 = :"2001-10000"
|
|
183
|
-
|
|
183
|
+
NUMBER_OF_EMPLOYEES_10001_PLUS = :"10001+"
|
|
184
184
|
|
|
185
185
|
# @!method self.values
|
|
186
186
|
# @return [Array<Symbol>]
|
|
@@ -196,7 +196,7 @@ module Telnyx
|
|
|
196
196
|
NUMBER_OF_EMPLOYEES_201_500 = :"201-500"
|
|
197
197
|
NUMBER_OF_EMPLOYEES_501_2000 = :"501-2000"
|
|
198
198
|
NUMBER_OF_EMPLOYEES_2001_10000 = :"2001-10000"
|
|
199
|
-
|
|
199
|
+
NUMBER_OF_EMPLOYEES_10001_PLUS = :"10001+"
|
|
200
200
|
|
|
201
201
|
# @!method self.values
|
|
202
202
|
# @return [Array<Symbol>]
|
|
@@ -156,7 +156,7 @@ module Telnyx
|
|
|
156
156
|
NUMBER_OF_EMPLOYEES_201_500 = :"201-500"
|
|
157
157
|
NUMBER_OF_EMPLOYEES_501_2000 = :"501-2000"
|
|
158
158
|
NUMBER_OF_EMPLOYEES_2001_10000 = :"2001-10000"
|
|
159
|
-
|
|
159
|
+
NUMBER_OF_EMPLOYEES_10001_PLUS = :"10001+"
|
|
160
160
|
|
|
161
161
|
# @!method self.values
|
|
162
162
|
# @return [Array<Symbol>]
|
data/lib/telnyx/models/enterprises/reputation/{number_create_params.rb → number_associate_params.rb}
RENAMED
|
@@ -4,8 +4,8 @@ module Telnyx
|
|
|
4
4
|
module Models
|
|
5
5
|
module Enterprises
|
|
6
6
|
module Reputation
|
|
7
|
-
# @see Telnyx::Resources::Enterprises::Reputation::Numbers#
|
|
8
|
-
class
|
|
7
|
+
# @see Telnyx::Resources::Enterprises::Reputation::Numbers#associate
|
|
8
|
+
class NumberAssociateParams < Telnyx::Internal::Type::BaseModel
|
|
9
9
|
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
10
10
|
include Telnyx::Internal::Type::RequestParameters
|
|
11
11
|
|
|
@@ -4,13 +4,13 @@ module Telnyx
|
|
|
4
4
|
module Models
|
|
5
5
|
module Enterprises
|
|
6
6
|
module Reputation
|
|
7
|
-
# @see Telnyx::Resources::Enterprises::Reputation::Numbers#
|
|
8
|
-
class
|
|
7
|
+
# @see Telnyx::Resources::Enterprises::Reputation::Numbers#associate
|
|
8
|
+
class NumberAssociateResponse < Telnyx::Internal::Type::BaseModel
|
|
9
9
|
# @!attribute data
|
|
10
10
|
#
|
|
11
|
-
# @return [Array<Telnyx::Models::Enterprises::Reputation::
|
|
11
|
+
# @return [Array<Telnyx::Models::Enterprises::Reputation::NumberAssociateResponse::Data>, nil]
|
|
12
12
|
optional :data,
|
|
13
|
-
-> { Telnyx::Internal::Type::ArrayOf[Telnyx::Models::Enterprises::Reputation::
|
|
13
|
+
-> { Telnyx::Internal::Type::ArrayOf[Telnyx::Models::Enterprises::Reputation::NumberAssociateResponse::Data] }
|
|
14
14
|
|
|
15
15
|
# @!attribute meta
|
|
16
16
|
#
|
|
@@ -18,7 +18,7 @@ module Telnyx
|
|
|
18
18
|
optional :meta, -> { Telnyx::MetaInfo }
|
|
19
19
|
|
|
20
20
|
# @!method initialize(data: nil, meta: nil)
|
|
21
|
-
# @param data [Array<Telnyx::Models::Enterprises::Reputation::
|
|
21
|
+
# @param data [Array<Telnyx::Models::Enterprises::Reputation::NumberAssociateResponse::Data>]
|
|
22
22
|
# @param meta [Telnyx::Models::MetaInfo]
|
|
23
23
|
|
|
24
24
|
class Data < Telnyx::Internal::Type::BaseModel
|
|
@@ -4,8 +4,8 @@ module Telnyx
|
|
|
4
4
|
module Models
|
|
5
5
|
module Enterprises
|
|
6
6
|
module Reputation
|
|
7
|
-
# @see Telnyx::Resources::Enterprises::Reputation::Numbers#
|
|
8
|
-
class
|
|
7
|
+
# @see Telnyx::Resources::Enterprises::Reputation::Numbers#disassociate
|
|
8
|
+
class NumberDisassociateParams < Telnyx::Internal::Type::BaseModel
|
|
9
9
|
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
10
10
|
include Telnyx::Internal::Type::RequestParameters
|
|
11
11
|
|
data/lib/telnyx/models/enterprises/{reputation_list_params.rb → reputation_disable_params.rb}
RENAMED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
module Telnyx
|
|
4
4
|
module Models
|
|
5
5
|
module Enterprises
|
|
6
|
-
# @see Telnyx::Resources::Enterprises::Reputation#
|
|
7
|
-
class
|
|
6
|
+
# @see Telnyx::Resources::Enterprises::Reputation#disable
|
|
7
|
+
class ReputationDisableParams < Telnyx::Internal::Type::BaseModel
|
|
8
8
|
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
9
9
|
include Telnyx::Internal::Type::RequestParameters
|
|
10
10
|
|
data/lib/telnyx/models/enterprises/{reputation_create_params.rb → reputation_enable_params.rb}
RENAMED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
module Telnyx
|
|
4
4
|
module Models
|
|
5
5
|
module Enterprises
|
|
6
|
-
# @see Telnyx::Resources::Enterprises::Reputation#
|
|
7
|
-
class
|
|
6
|
+
# @see Telnyx::Resources::Enterprises::Reputation#enable
|
|
7
|
+
class ReputationEnableParams < Telnyx::Internal::Type::BaseModel
|
|
8
8
|
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
9
9
|
include Telnyx::Internal::Type::RequestParameters
|
|
10
10
|
|
|
@@ -23,18 +23,18 @@ module Telnyx
|
|
|
23
23
|
# @!attribute check_frequency
|
|
24
24
|
# Frequency for automatically refreshing reputation data
|
|
25
25
|
#
|
|
26
|
-
# @return [Symbol, Telnyx::Models::Enterprises::
|
|
27
|
-
optional :check_frequency, enum: -> { Telnyx::Enterprises::
|
|
26
|
+
# @return [Symbol, Telnyx::Models::Enterprises::ReputationEnableParams::CheckFrequency, nil]
|
|
27
|
+
optional :check_frequency, enum: -> { Telnyx::Enterprises::ReputationEnableParams::CheckFrequency }
|
|
28
28
|
|
|
29
29
|
# @!method initialize(enterprise_id:, loa_document_id:, check_frequency: nil, request_options: {})
|
|
30
30
|
# Some parameter documentations has been truncated, see
|
|
31
|
-
# {Telnyx::Models::Enterprises::
|
|
31
|
+
# {Telnyx::Models::Enterprises::ReputationEnableParams} for more details.
|
|
32
32
|
#
|
|
33
33
|
# @param enterprise_id [String]
|
|
34
34
|
#
|
|
35
35
|
# @param loa_document_id [String] ID of the signed Letter of Authorization (LOA) document uploaded to the document
|
|
36
36
|
#
|
|
37
|
-
# @param check_frequency [Symbol, Telnyx::Models::Enterprises::
|
|
37
|
+
# @param check_frequency [Symbol, Telnyx::Models::Enterprises::ReputationEnableParams::CheckFrequency] Frequency for automatically refreshing reputation data
|
|
38
38
|
#
|
|
39
39
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
40
40
|
|
data/lib/telnyx/models/enterprises/{reputation_create_response.rb → reputation_enable_response.rb}
RENAMED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
module Telnyx
|
|
4
4
|
module Models
|
|
5
5
|
module Enterprises
|
|
6
|
-
# @see Telnyx::Resources::Enterprises::Reputation#
|
|
7
|
-
class
|
|
6
|
+
# @see Telnyx::Resources::Enterprises::Reputation#enable
|
|
7
|
+
class ReputationEnableResponse < Telnyx::Internal::Type::BaseModel
|
|
8
8
|
# @!attribute data
|
|
9
9
|
#
|
|
10
10
|
# @return [Telnyx::Models::Enterprises::EnterpriseReputationPublic, nil]
|
data/lib/telnyx/models/enterprises/{reputation_delete_all_params.rb → reputation_retrieve_params.rb}
RENAMED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
module Telnyx
|
|
4
4
|
module Models
|
|
5
5
|
module Enterprises
|
|
6
|
-
# @see Telnyx::Resources::Enterprises::Reputation#
|
|
7
|
-
class
|
|
6
|
+
# @see Telnyx::Resources::Enterprises::Reputation#retrieve
|
|
7
|
+
class ReputationRetrieveParams < Telnyx::Internal::Type::BaseModel
|
|
8
8
|
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
9
9
|
include Telnyx::Internal::Type::RequestParameters
|
|
10
10
|
|
data/lib/telnyx/models/enterprises/{reputation_list_response.rb → reputation_retrieve_response.rb}
RENAMED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
module Telnyx
|
|
4
4
|
module Models
|
|
5
5
|
module Enterprises
|
|
6
|
-
# @see Telnyx::Resources::Enterprises::Reputation#
|
|
7
|
-
class
|
|
6
|
+
# @see Telnyx::Resources::Enterprises::Reputation#retrieve
|
|
7
|
+
class ReputationRetrieveResponse < Telnyx::Internal::Type::BaseModel
|
|
8
8
|
# @!attribute data
|
|
9
9
|
#
|
|
10
10
|
# @return [Telnyx::Models::Enterprises::EnterpriseReputationPublic, nil]
|
|
@@ -84,7 +84,7 @@ module Telnyx
|
|
|
84
84
|
# Filter porting orders by status(es). Originally: filter[status],
|
|
85
85
|
# filter[status][in][]
|
|
86
86
|
#
|
|
87
|
-
# @return [Symbol, Telnyx::Models::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
87
|
+
# @return [Symbol, Telnyx::Models::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderMultipleStatus, Array<Symbol, Telnyx::Models::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderStatusList>, nil]
|
|
88
88
|
optional :status, union: -> { Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status }
|
|
89
89
|
|
|
90
90
|
# @!attribute support_key
|
|
@@ -111,7 +111,7 @@ module Telnyx
|
|
|
111
111
|
#
|
|
112
112
|
# @param porting_order_id [Array<String>] Filter results by a list of porting order ids
|
|
113
113
|
#
|
|
114
|
-
# @param status [Symbol, Telnyx::Models::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
114
|
+
# @param status [Symbol, Telnyx::Models::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderMultipleStatus, Array<Symbol, Telnyx::Models::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderStatusList>] Filter porting orders by status(es). Originally: filter[status], filter[status]
|
|
115
115
|
#
|
|
116
116
|
# @param support_key [String, Array<String>] Filter results by support key(s). Originally: filter[support_key][eq], filter[su
|
|
117
117
|
|
|
@@ -161,13 +161,13 @@ module Telnyx
|
|
|
161
161
|
extend Telnyx::Internal::Type::Union
|
|
162
162
|
|
|
163
163
|
# Filter by single status
|
|
164
|
-
variant enum: -> { Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
164
|
+
variant enum: -> { Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderMultipleStatus }
|
|
165
165
|
|
|
166
166
|
# Filter by multiple statuses (in operation)
|
|
167
|
-
variant -> { Telnyx::Models::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
167
|
+
variant -> { Telnyx::Models::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderStatusListArray }
|
|
168
168
|
|
|
169
169
|
# Filter by single status
|
|
170
|
-
module
|
|
170
|
+
module PortingOrderMultipleStatus
|
|
171
171
|
extend Telnyx::Internal::Type::Enum
|
|
172
172
|
|
|
173
173
|
DRAFT = :draft
|
|
@@ -183,7 +183,7 @@ module Telnyx
|
|
|
183
183
|
# @return [Array<Symbol>]
|
|
184
184
|
end
|
|
185
185
|
|
|
186
|
-
module
|
|
186
|
+
module PortingOrderStatusList
|
|
187
187
|
extend Telnyx::Internal::Type::Enum
|
|
188
188
|
|
|
189
189
|
DRAFT = :draft
|
|
@@ -200,12 +200,12 @@ module Telnyx
|
|
|
200
200
|
end
|
|
201
201
|
|
|
202
202
|
# @!method self.variants
|
|
203
|
-
# @return [Array(Symbol, Telnyx::Models::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
203
|
+
# @return [Array(Symbol, Telnyx::Models::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderMultipleStatus, Array<Symbol, Telnyx::Models::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderStatusList>)]
|
|
204
204
|
|
|
205
205
|
# @type [Telnyx::Internal::Type::Converter]
|
|
206
|
-
|
|
206
|
+
PortingOrderStatusListArray =
|
|
207
207
|
Telnyx::Internal::Type::ArrayOf[enum: -> {
|
|
208
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
208
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderStatusList
|
|
209
209
|
}]
|
|
210
210
|
end
|
|
211
211
|
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
# @see Telnyx::Resources::PronunciationDicts#create
|
|
6
|
+
class PronunciationDictCreateParams < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!attribute items
|
|
11
|
+
# List of pronunciation items (alias or phoneme type). At least one item is
|
|
12
|
+
# required.
|
|
13
|
+
#
|
|
14
|
+
# @return [Array<Telnyx::Models::PronunciationDictCreateParams::Item::Alias, Telnyx::Models::PronunciationDictCreateParams::Item::Phoneme>]
|
|
15
|
+
required :items,
|
|
16
|
+
-> { Telnyx::Internal::Type::ArrayOf[union: Telnyx::PronunciationDictCreateParams::Item] }
|
|
17
|
+
|
|
18
|
+
# @!attribute name
|
|
19
|
+
# Human-readable name. Must be unique within the organization.
|
|
20
|
+
#
|
|
21
|
+
# @return [String]
|
|
22
|
+
required :name, String
|
|
23
|
+
|
|
24
|
+
# @!method initialize(items:, name:, request_options: {})
|
|
25
|
+
# Some parameter documentations has been truncated, see
|
|
26
|
+
# {Telnyx::Models::PronunciationDictCreateParams} for more details.
|
|
27
|
+
#
|
|
28
|
+
# @param items [Array<Telnyx::Models::PronunciationDictCreateParams::Item::Alias, Telnyx::Models::PronunciationDictCreateParams::Item::Phoneme>] List of pronunciation items (alias or phoneme type). At least one item is requir
|
|
29
|
+
#
|
|
30
|
+
# @param name [String] Human-readable name. Must be unique within the organization.
|
|
31
|
+
#
|
|
32
|
+
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
33
|
+
|
|
34
|
+
# A single pronunciation dictionary item. Use type 'alias' to replace matched text
|
|
35
|
+
# with a spoken alias, or type 'phoneme' to specify exact pronunciation using IPA
|
|
36
|
+
# notation.
|
|
37
|
+
module Item
|
|
38
|
+
extend Telnyx::Internal::Type::Union
|
|
39
|
+
|
|
40
|
+
discriminator :type
|
|
41
|
+
|
|
42
|
+
# An alias pronunciation item. When the `text` value is found in input, it is replaced with the `alias` before speech synthesis.
|
|
43
|
+
variant :alias, -> { Telnyx::PronunciationDictCreateParams::Item::Alias }
|
|
44
|
+
|
|
45
|
+
# A phoneme pronunciation item. When the `text` value is found in input, it is pronounced using the specified IPA phoneme notation.
|
|
46
|
+
variant :phoneme, -> { Telnyx::PronunciationDictCreateParams::Item::Phoneme }
|
|
47
|
+
|
|
48
|
+
class Alias < Telnyx::Internal::Type::BaseModel
|
|
49
|
+
# @!attribute alias_
|
|
50
|
+
# The replacement text that will be spoken instead.
|
|
51
|
+
#
|
|
52
|
+
# @return [String]
|
|
53
|
+
required :alias_, String, api_name: :alias
|
|
54
|
+
|
|
55
|
+
# @!attribute text
|
|
56
|
+
# The text to match in the input. Case-insensitive matching is used during
|
|
57
|
+
# synthesis.
|
|
58
|
+
#
|
|
59
|
+
# @return [String]
|
|
60
|
+
required :text, String
|
|
61
|
+
|
|
62
|
+
# @!attribute type
|
|
63
|
+
# The item type.
|
|
64
|
+
#
|
|
65
|
+
# @return [Symbol, :alias]
|
|
66
|
+
required :type, const: :alias
|
|
67
|
+
|
|
68
|
+
# @!method initialize(alias_:, text:, type: :alias)
|
|
69
|
+
# Some parameter documentations has been truncated, see
|
|
70
|
+
# {Telnyx::Models::PronunciationDictCreateParams::Item::Alias} for more details.
|
|
71
|
+
#
|
|
72
|
+
# An alias pronunciation item. When the `text` value is found in input, it is
|
|
73
|
+
# replaced with the `alias` before speech synthesis.
|
|
74
|
+
#
|
|
75
|
+
# @param alias_ [String] The replacement text that will be spoken instead.
|
|
76
|
+
#
|
|
77
|
+
# @param text [String] The text to match in the input. Case-insensitive matching is used during synthes
|
|
78
|
+
#
|
|
79
|
+
# @param type [Symbol, :alias] The item type.
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
class Phoneme < Telnyx::Internal::Type::BaseModel
|
|
83
|
+
# @!attribute alphabet
|
|
84
|
+
# The phonetic alphabet used for the phoneme notation.
|
|
85
|
+
#
|
|
86
|
+
# @return [Symbol, Telnyx::Models::PronunciationDictCreateParams::Item::Phoneme::Alphabet]
|
|
87
|
+
required :alphabet, enum: -> { Telnyx::PronunciationDictCreateParams::Item::Phoneme::Alphabet }
|
|
88
|
+
|
|
89
|
+
# @!attribute phoneme
|
|
90
|
+
# The phoneme notation representing the desired pronunciation.
|
|
91
|
+
#
|
|
92
|
+
# @return [String]
|
|
93
|
+
required :phoneme, String
|
|
94
|
+
|
|
95
|
+
# @!attribute text
|
|
96
|
+
# The text to match in the input. Case-insensitive matching is used during
|
|
97
|
+
# synthesis.
|
|
98
|
+
#
|
|
99
|
+
# @return [String]
|
|
100
|
+
required :text, String
|
|
101
|
+
|
|
102
|
+
# @!attribute type
|
|
103
|
+
# The item type.
|
|
104
|
+
#
|
|
105
|
+
# @return [Symbol, :phoneme]
|
|
106
|
+
required :type, const: :phoneme
|
|
107
|
+
|
|
108
|
+
# @!method initialize(alphabet:, phoneme:, text:, type: :phoneme)
|
|
109
|
+
# Some parameter documentations has been truncated, see
|
|
110
|
+
# {Telnyx::Models::PronunciationDictCreateParams::Item::Phoneme} for more details.
|
|
111
|
+
#
|
|
112
|
+
# A phoneme pronunciation item. When the `text` value is found in input, it is
|
|
113
|
+
# pronounced using the specified IPA phoneme notation.
|
|
114
|
+
#
|
|
115
|
+
# @param alphabet [Symbol, Telnyx::Models::PronunciationDictCreateParams::Item::Phoneme::Alphabet] The phonetic alphabet used for the phoneme notation.
|
|
116
|
+
#
|
|
117
|
+
# @param phoneme [String] The phoneme notation representing the desired pronunciation.
|
|
118
|
+
#
|
|
119
|
+
# @param text [String] The text to match in the input. Case-insensitive matching is used during synthes
|
|
120
|
+
#
|
|
121
|
+
# @param type [Symbol, :phoneme] The item type.
|
|
122
|
+
|
|
123
|
+
# The phonetic alphabet used for the phoneme notation.
|
|
124
|
+
#
|
|
125
|
+
# @see Telnyx::Models::PronunciationDictCreateParams::Item::Phoneme#alphabet
|
|
126
|
+
module Alphabet
|
|
127
|
+
extend Telnyx::Internal::Type::Enum
|
|
128
|
+
|
|
129
|
+
IPA = :ipa
|
|
130
|
+
|
|
131
|
+
# @!method self.values
|
|
132
|
+
# @return [Array<Symbol>]
|
|
133
|
+
end
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
# @!method self.variants
|
|
137
|
+
# @return [Array(Telnyx::Models::PronunciationDictCreateParams::Item::Alias, Telnyx::Models::PronunciationDictCreateParams::Item::Phoneme)]
|
|
138
|
+
end
|
|
139
|
+
end
|
|
140
|
+
end
|
|
141
|
+
end
|