telnyx 5.176.0 → 5.177.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +1 -1
- data/lib/telnyx/models/ai/chat_completion_request.rb +10 -4
- data/lib/telnyx/models/ai/inference_embedding_voice_settings.rb +67 -64
- data/lib/telnyx/models/ai/memory/namespaces/profile_ingest_params.rb +7 -16
- data/lib/telnyx/models/ai/memory/namespaces/profiles/source_retrieve_response.rb +7 -16
- data/lib/telnyx/models/ai/privacy_settings.rb +16 -14
- data/lib/telnyx/models/ai/readiness_probe.rb +8 -8
- data/lib/telnyx/models/ai/telephony_settings.rb +25 -1
- data/lib/telnyx/models/ai/typesafe/v1_systemone_params.rb +8 -8
- data/lib/telnyx/models/browser_sessions/wait_for_action.rb +11 -11
- data/lib/telnyx/models/calls/deepgram_flux_config.rb +91 -0
- data/lib/telnyx/models/calls/deepgram_flux_multi_config.rb +103 -0
- data/lib/telnyx/models/calls/deepgram_nova2_specialty_config.rb +113 -0
- data/lib/telnyx/models/calls/deepgram_nova3_medical_config.rb +110 -0
- data/lib/telnyx/models/calls/transcription_engine_community_config.rb +57 -0
- data/lib/telnyx/models/calls/transcription_engine_deepgram_config.rb +5 -372
- data/lib/telnyx/models/calls/transcription_start_request.rb +8 -459
- data/lib/telnyx/models/email_event_list_response.rb +11 -12
- data/lib/telnyx/models/iam/guardrail/iam_guardrail_statement.rb +94 -0
- data/lib/telnyx/models/iam/guardrail/iam_guardrail_statement_response.rb +20 -0
- data/lib/telnyx/models/iam/guardrail/statement_create_params.rb +50 -0
- data/lib/telnyx/models/iam/guardrail/statement_delete_params.rb +24 -0
- data/lib/telnyx/models/iam/guardrail/statement_list_params.rb +34 -0
- data/lib/telnyx/models/iam/guardrail/statement_update_params.rb +57 -0
- data/lib/telnyx/models/iam/guardrail_delete_all_params.rb +16 -0
- data/lib/telnyx/models/iam/iam_action.rb +4 -4
- data/lib/telnyx/models/iam/iam_settings.rb +60 -0
- data/lib/telnyx/models/iam/iam_settings_response.rb +3 -55
- data/lib/telnyx/models/iam/roles/iam_role_statement.rb +13 -1
- data/lib/telnyx/models/iam/roles/iam_role_statement_conditions.rb +27 -0
- data/lib/telnyx/models/iam/roles/statement_create_params.rb +9 -1
- data/lib/telnyx/models/iam/roles/statement_update_params.rb +9 -1
- data/lib/telnyx/models/iam_decision.rb +5 -3
- data/lib/telnyx/models/iam_explain_params.rb +13 -1
- data/lib/telnyx/models/iam_retrieve_access_logs_response.rb +6 -5
- data/lib/telnyx/models/iam_simulate_params.rb +13 -1
- data/lib/telnyx/models/messaging_inbound_message_payload.rb +15 -15
- data/lib/telnyx/models/mobile_phone_number.rb +25 -4
- data/lib/telnyx/models/mobile_phone_number_update_params.rb +38 -4
- data/lib/telnyx/models/model_metadata.rb +28 -1
- data/lib/telnyx/models/phone_numbers/emergency_settings.rb +56 -0
- data/lib/telnyx/models/phone_numbers/numbers_cnam_listing.rb +36 -0
- data/lib/telnyx/models/phone_numbers/numbers_phone_number_with_voice_settings.rb +9 -59
- data/lib/telnyx/models/phone_numbers/numbers_update_phone_number_voice_settings_request.rb +6 -4
- data/lib/telnyx/models/phone_numbers/phone_number_with_voice_settings.rb +3 -55
- data/lib/telnyx/models/sim_cards/action_bulk_enable_voice_params.rb +2 -2
- data/lib/telnyx/models/sim_cards/action_enable_voice_params.rb +2 -2
- data/lib/telnyx/models/texml/accounts/call_calls_params.rb +15 -15
- data/lib/telnyx/models/texml_application_list_params.rb +6 -6
- data/lib/telnyx/models/user_profile.rb +11 -1
- data/lib/telnyx/models/user_profile_patch_all_params.rb +1 -9
- data/lib/telnyx/models/whatsapp/business_accounts/phone_number_list_response.rb +223 -0
- data/lib/telnyx/models/whatsapp/phone_number_list_response.rb +220 -0
- data/lib/telnyx/models/whatsapp/whatsapp_phone_response.rb +0 -1
- data/lib/telnyx/resources/calls/actions.rb +1 -1
- data/lib/telnyx/resources/customer_service_records.rb +4 -4
- data/lib/telnyx/resources/iam/guardrail/statements.rb +158 -0
- data/lib/telnyx/resources/iam/guardrail.rb +45 -0
- data/lib/telnyx/resources/iam/roles/statements.rb +13 -6
- data/lib/telnyx/resources/iam.rb +21 -8
- data/lib/telnyx/resources/mobile_phone_numbers.rb +4 -1
- data/lib/telnyx/resources/phone_numbers/voice.rb +1 -1
- data/lib/telnyx/resources/user_profile.rb +1 -3
- data/lib/telnyx/resources/whatsapp/business_accounts/phone_numbers.rb +2 -2
- data/lib/telnyx/resources/whatsapp/phone_numbers.rb +2 -2
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +20 -0
- data/rbi/telnyx/models/ai/chat_completion_request.rbi +15 -6
- data/rbi/telnyx/models/ai/inference_embedding_voice_settings.rbi +114 -97
- data/rbi/telnyx/models/ai/memory/namespaces/profile_ingest_params.rbi +12 -28
- data/rbi/telnyx/models/ai/memory/namespaces/profiles/source_retrieve_response.rbi +12 -28
- data/rbi/telnyx/models/ai/privacy_settings.rbi +24 -21
- data/rbi/telnyx/models/ai/readiness_probe.rbi +14 -8
- data/rbi/telnyx/models/ai/telephony_settings.rbi +79 -0
- data/rbi/telnyx/models/ai/typesafe/v1_systemone_params.rbi +4 -4
- data/rbi/telnyx/models/browser_sessions/wait_for_action.rbi +24 -24
- data/rbi/telnyx/models/calls/deepgram_flux_config.rbi +192 -0
- data/rbi/telnyx/models/calls/deepgram_flux_multi_config.rbi +251 -0
- data/rbi/telnyx/models/calls/deepgram_nova2_specialty_config.rbi +226 -0
- data/rbi/telnyx/models/calls/deepgram_nova3_medical_config.rbi +220 -0
- data/rbi/telnyx/models/calls/transcription_engine_community_config.rbi +94 -0
- data/rbi/telnyx/models/calls/transcription_engine_deepgram_config.rbi +4 -776
- data/rbi/telnyx/models/calls/transcription_start_request.rbi +25 -989
- data/rbi/telnyx/models/email_event_list_response.rbi +32 -18
- data/rbi/telnyx/models/iam/guardrail/iam_guardrail_statement.rbi +169 -0
- data/rbi/telnyx/models/iam/guardrail/iam_guardrail_statement_response.rbi +45 -0
- data/rbi/telnyx/models/iam/guardrail/statement_create_params.rbi +113 -0
- data/rbi/telnyx/models/iam/guardrail/statement_delete_params.rbi +42 -0
- data/rbi/telnyx/models/iam/guardrail/statement_list_params.rbi +64 -0
- data/rbi/telnyx/models/iam/guardrail/statement_update_params.rbi +109 -0
- data/rbi/telnyx/models/iam/guardrail_delete_all_params.rbi +32 -0
- data/rbi/telnyx/models/iam/iam_action.rbi +6 -4
- data/rbi/telnyx/models/iam/iam_settings.rbi +90 -0
- data/rbi/telnyx/models/iam/iam_settings_response.rbi +4 -105
- data/rbi/telnyx/models/iam/roles/iam_role_statement.rbi +18 -0
- data/rbi/telnyx/models/iam/roles/iam_role_statement_conditions.rbi +41 -0
- data/rbi/telnyx/models/iam/roles/statement_create_params.rbi +18 -0
- data/rbi/telnyx/models/iam/roles/statement_update_params.rbi +18 -0
- data/rbi/telnyx/models/iam_decision.rbi +10 -6
- data/rbi/telnyx/models/iam_explain_params.rbi +10 -0
- data/rbi/telnyx/models/iam_retrieve_access_logs_response.rbi +8 -6
- data/rbi/telnyx/models/iam_simulate_params.rbi +15 -3
- data/rbi/telnyx/models/messaging_inbound_message_payload.rbi +31 -31
- data/rbi/telnyx/models/mobile_phone_number.rbi +19 -0
- data/rbi/telnyx/models/mobile_phone_number_update_params.rbi +19 -0
- data/rbi/telnyx/models/model_metadata.rbi +90 -0
- data/rbi/telnyx/models/phone_numbers/emergency_settings.rbi +133 -0
- data/rbi/telnyx/models/phone_numbers/numbers_cnam_listing.rbi +62 -0
- data/rbi/telnyx/models/phone_numbers/numbers_phone_number_with_voice_settings.rbi +16 -145
- data/rbi/telnyx/models/phone_numbers/numbers_update_phone_number_voice_settings_request.rbi +12 -6
- data/rbi/telnyx/models/phone_numbers/phone_number_with_voice_settings.rbi +4 -139
- data/rbi/telnyx/models/sim_cards/action_bulk_enable_voice_params.rbi +4 -4
- data/rbi/telnyx/models/sim_cards/action_enable_voice_params.rbi +4 -4
- data/rbi/telnyx/models/texml/accounts/call_calls_params.rbi +15 -15
- data/rbi/telnyx/models/texml_application_list_params.rbi +7 -7
- data/rbi/telnyx/models/user_profile.rbi +11 -0
- data/rbi/telnyx/models/user_profile_patch_all_params.rbi +0 -11
- data/rbi/telnyx/models/whatsapp/business_accounts/phone_number_list_response.rbi +393 -0
- data/rbi/telnyx/models/whatsapp/phone_number_list_response.rbi +391 -0
- data/rbi/telnyx/resources/ai/openai/chat.rbi +5 -2
- data/rbi/telnyx/resources/calls/actions.rbi +5 -5
- data/rbi/telnyx/resources/iam/guardrail/statements.rbi +132 -0
- data/rbi/telnyx/resources/iam/guardrail.rbi +29 -0
- data/rbi/telnyx/resources/iam/roles/statements.rbi +16 -4
- data/rbi/telnyx/resources/iam.rbi +18 -7
- data/rbi/telnyx/resources/mobile_phone_numbers.rbi +2 -0
- data/rbi/telnyx/resources/phone_numbers/voice.rbi +4 -2
- data/rbi/telnyx/resources/sim_cards/actions.rbi +4 -4
- data/rbi/telnyx/resources/user_profile.rbi +0 -3
- data/rbi/telnyx/resources/whatsapp/business_accounts/phone_numbers.rbi +1 -1
- data/rbi/telnyx/resources/whatsapp/phone_numbers.rbi +1 -1
- data/sig/telnyx/models/ai/inference_embedding_voice_settings.rbs +50 -57
- data/sig/telnyx/models/ai/memory/namespaces/profile_ingest_params.rbs +3 -12
- data/sig/telnyx/models/ai/memory/namespaces/profiles/source_retrieve_response.rbs +3 -12
- data/sig/telnyx/models/ai/readiness_probe.rbs +11 -8
- data/sig/telnyx/models/ai/telephony_settings.rbs +21 -0
- data/sig/telnyx/models/ai/typesafe/v1_systemone_params.rbs +4 -4
- data/sig/telnyx/models/browser_sessions/wait_for_action.rbs +12 -13
- data/sig/telnyx/models/calls/deepgram_flux_config.rbs +80 -0
- data/sig/telnyx/models/calls/deepgram_flux_multi_config.rbs +91 -0
- data/sig/telnyx/models/calls/deepgram_nova2_specialty_config.rbs +93 -0
- data/sig/telnyx/models/calls/deepgram_nova3_medical_config.rbs +91 -0
- data/sig/telnyx/models/calls/transcription_engine_community_config.rbs +43 -0
- data/sig/telnyx/models/calls/transcription_engine_deepgram_config.rbs +4 -313
- data/sig/telnyx/models/calls/transcription_start_request.rbs +5 -382
- data/sig/telnyx/models/email_event_list_response.rbs +13 -3
- data/sig/telnyx/models/iam/guardrail/iam_guardrail_statement.rbs +75 -0
- data/sig/telnyx/models/iam/guardrail/iam_guardrail_statement_response.rbs +22 -0
- data/sig/telnyx/models/iam/guardrail/statement_create_params.rbs +50 -0
- data/sig/telnyx/models/iam/guardrail/statement_delete_params.rbs +27 -0
- data/sig/telnyx/models/iam/guardrail/statement_list_params.rbs +36 -0
- data/sig/telnyx/models/iam/guardrail/statement_update_params.rbs +51 -0
- data/sig/telnyx/models/iam/guardrail_delete_all_params.rbs +17 -0
- data/sig/telnyx/models/iam/iam_action.rbs +4 -4
- data/sig/telnyx/models/iam/iam_settings.rbs +49 -0
- data/sig/telnyx/models/iam/iam_settings_response.rbs +4 -47
- data/sig/telnyx/models/iam/roles/iam_role_statement.rbs +5 -0
- data/sig/telnyx/models/iam/roles/iam_role_statement_conditions.rbs +17 -0
- data/sig/telnyx/models/iam/roles/statement_create_params.rbs +9 -0
- data/sig/telnyx/models/iam/roles/statement_update_params.rbs +10 -1
- data/sig/telnyx/models/iam_explain_params.rbs +6 -1
- data/sig/telnyx/models/iam_retrieve_access_logs_response.rbs +4 -4
- data/sig/telnyx/models/iam_simulate_params.rbs +5 -3
- data/sig/telnyx/models/messaging_inbound_message_payload.rbs +18 -18
- data/sig/telnyx/models/model_metadata.rbs +26 -0
- data/sig/telnyx/models/phone_numbers/emergency_settings.rbs +59 -0
- data/sig/telnyx/models/phone_numbers/numbers_cnam_listing.rbs +28 -0
- data/sig/telnyx/models/phone_numbers/numbers_phone_number_with_voice_settings.rbs +12 -66
- data/sig/telnyx/models/phone_numbers/numbers_update_phone_number_voice_settings_request.rbs +6 -6
- data/sig/telnyx/models/phone_numbers/phone_number_with_voice_settings.rbs +6 -60
- data/sig/telnyx/models/texml/accounts/call_calls_params.rbs +15 -15
- data/sig/telnyx/models/texml_application_list_params.rbs +3 -3
- data/sig/telnyx/models/user_profile.rbs +7 -0
- data/sig/telnyx/models/user_profile_patch_all_params.rbs +0 -7
- data/sig/telnyx/models/whatsapp/business_accounts/phone_number_list_response.rbs +207 -0
- data/sig/telnyx/models/whatsapp/phone_number_list_response.rbs +205 -0
- data/sig/telnyx/resources/iam/guardrail/statements.rbs +35 -0
- data/sig/telnyx/resources/iam/guardrail.rbs +13 -0
- data/sig/telnyx/resources/iam/roles/statements.rbs +2 -0
- data/sig/telnyx/resources/iam.rbs +3 -0
- data/sig/telnyx/resources/phone_numbers/voice.rbs +1 -1
- data/sig/telnyx/resources/user_profile.rbs +0 -1
- data/sig/telnyx/resources/whatsapp/business_accounts/phone_numbers.rbs +1 -1
- data/sig/telnyx/resources/whatsapp/phone_numbers.rbs +1 -1
- metadata +62 -2
|
@@ -28,16 +28,22 @@ module Telnyx
|
|
|
28
28
|
sig { returns(Telnyx::Resources::Iam::Settings) }
|
|
29
29
|
attr_reader :settings
|
|
30
30
|
|
|
31
|
+
# Statements on the whole organization that every request must pass while IAM is
|
|
32
|
+
# enabled, the owner's included.
|
|
33
|
+
sig { returns(Telnyx::Resources::Iam::Guardrail) }
|
|
34
|
+
attr_reader :guardrail
|
|
35
|
+
|
|
31
36
|
# Returns what IAM decides for one action and one user or service account of the
|
|
32
37
|
# organization, from the principal's current grants, with the roles behind the
|
|
33
38
|
# decision. Nothing is changed.
|
|
34
39
|
#
|
|
35
40
|
# The action is an exact action ID, and a wildcard or an unknown action answers
|
|
36
41
|
# `422`. Explain decides for the principal, not for a credential, so it does not
|
|
37
|
-
# apply an API key's scope.
|
|
38
|
-
#
|
|
39
|
-
#
|
|
40
|
-
#
|
|
42
|
+
# apply an API key's scope. While the organization has enabled IAM, explain
|
|
43
|
+
# applies the organization's guardrail, to the owner too. For a user other than
|
|
44
|
+
# the owner and one of the seven actions a signed-in user always keeps, it answers
|
|
45
|
+
# `allow` whether or not IAM is enabled. Explain does not check that the principal
|
|
46
|
+
# exists, so an unknown ID is decided like a principal without grants.
|
|
41
47
|
#
|
|
42
48
|
# Only the organization owner can call this endpoint. Its action is `iam.explain`.
|
|
43
49
|
# Other users and service account tokens get `403`.
|
|
@@ -46,6 +52,7 @@ module Telnyx
|
|
|
46
52
|
action: String,
|
|
47
53
|
principal_id: String,
|
|
48
54
|
principal_type: Telnyx::IamExplainParams::PrincipalType::OrSymbol,
|
|
55
|
+
ip: T.nilable(String),
|
|
49
56
|
request_options: Telnyx::RequestOptions::OrHash
|
|
50
57
|
).returns(Telnyx::Models::IamExplainResponse)
|
|
51
58
|
end
|
|
@@ -56,6 +63,9 @@ module Telnyx
|
|
|
56
63
|
principal_id:,
|
|
57
64
|
# Whether the principal is a user or a service account.
|
|
58
65
|
principal_type:,
|
|
66
|
+
# The client IPv4 or IPv6 address to decide for, without a CIDR prefix. Without
|
|
67
|
+
# it, a matching statement with an IP condition counts as a deny.
|
|
68
|
+
ip: nil,
|
|
59
69
|
request_options: {}
|
|
60
70
|
)
|
|
61
71
|
end
|
|
@@ -137,9 +147,10 @@ module Telnyx
|
|
|
137
147
|
# A simulate names 1 to 10 roles of the organization and 1 to 50 requests, each an
|
|
138
148
|
# exact action ID. A role of another organization, a wildcard, or an unknown
|
|
139
149
|
# action answers `422`. Simulate decides from the given roles only, so it applies
|
|
140
|
-
# neither an API key's scope nor the actions a signed-in user always keeps.
|
|
141
|
-
#
|
|
142
|
-
#
|
|
150
|
+
# neither an API key's scope nor the actions a signed-in user always keeps. It
|
|
151
|
+
# applies the organization's guardrail whether or not IAM is enabled, to the owner
|
|
152
|
+
# too. The organization owner holds no roles, so the given roles do not change the
|
|
153
|
+
# owner's decisions.
|
|
143
154
|
#
|
|
144
155
|
# Only the organization owner can call this endpoint. Its action is
|
|
145
156
|
# `iam.simulate`. Other users and service account tokens get `403`.
|
|
@@ -46,6 +46,8 @@ module Telnyx
|
|
|
46
46
|
def update(
|
|
47
47
|
# The ID of the mobile phone number
|
|
48
48
|
id,
|
|
49
|
+
# The call forwarding settings for this mobile phone number. Call forwarding is
|
|
50
|
+
# the same feature as on SIP trunking phone numbers.
|
|
49
51
|
call_forwarding: nil,
|
|
50
52
|
call_recording: nil,
|
|
51
53
|
caller_id_name_enabled: nil,
|
|
@@ -30,7 +30,7 @@ module Telnyx
|
|
|
30
30
|
caller_id_name_enabled: T::Boolean,
|
|
31
31
|
caller_id_name_lookup_tier:
|
|
32
32
|
Telnyx::PhoneNumbers::NumbersUpdatePhoneNumberVoiceSettingsRequest::CallerIDNameLookupTier::OrSymbol,
|
|
33
|
-
cnam_listing: Telnyx::PhoneNumbers::
|
|
33
|
+
cnam_listing: Telnyx::PhoneNumbers::NumbersCnamListing::OrHash,
|
|
34
34
|
inbound_call_screening:
|
|
35
35
|
Telnyx::PhoneNumbers::NumbersUpdatePhoneNumberVoiceSettingsRequest::InboundCallScreening::OrSymbol,
|
|
36
36
|
media_features: Telnyx::PhoneNumbers::MediaFeatures::OrHash,
|
|
@@ -55,7 +55,9 @@ module Telnyx
|
|
|
55
55
|
# setting applies when `caller_id_name_enabled` is true. Omit this field to keep
|
|
56
56
|
# the saved tier.
|
|
57
57
|
caller_id_name_lookup_tier: nil,
|
|
58
|
-
# The CNAM listing settings for a phone number.
|
|
58
|
+
# The CNAM listing settings for a phone number. See the
|
|
59
|
+
# [Caller ID & CNAM guide](https://developers.telnyx.com/docs/numbers/phone-numbers/caller-id-cnam)
|
|
60
|
+
# for setup steps and coverage details.
|
|
59
61
|
cnam_listing: nil,
|
|
60
62
|
# The inbound_call_screening setting is a phone number configuration option
|
|
61
63
|
# variable that allows users to configure their settings to block or flag
|
|
@@ -84,8 +84,8 @@ module Telnyx
|
|
|
84
84
|
sim_card_group_id:,
|
|
85
85
|
# The identifier of the Mobile Voice Connection to associate with the SIM cards.
|
|
86
86
|
# The connection must be owned by the same user and of type
|
|
87
|
-
# <code>mobile_voice</code>. If omitted,
|
|
88
|
-
#
|
|
87
|
+
# <code>mobile_voice</code>. If omitted, a default Mobile Voice Connection is
|
|
88
|
+
# created and assigned automatically.
|
|
89
89
|
connection_id: nil,
|
|
90
90
|
request_options: {}
|
|
91
91
|
)
|
|
@@ -183,8 +183,8 @@ module Telnyx
|
|
|
183
183
|
id,
|
|
184
184
|
# The identifier of the Mobile Voice Connection to associate with this SIM card.
|
|
185
185
|
# The connection must be owned by the same user and of type
|
|
186
|
-
# <code>mobile_voice</code>. If omitted,
|
|
187
|
-
#
|
|
186
|
+
# <code>mobile_voice</code>. If omitted, a default Mobile Voice Connection is
|
|
187
|
+
# created and assigned automatically.
|
|
188
188
|
connection_id: nil,
|
|
189
189
|
request_options: {}
|
|
190
190
|
)
|
|
@@ -46,7 +46,6 @@ module Telnyx
|
|
|
46
46
|
low_balance_threshold_amount: T.nilable(Float),
|
|
47
47
|
notify_on_invoice_available: T::Boolean,
|
|
48
48
|
notify_on_invoice_payment: T::Boolean,
|
|
49
|
-
npac_user: T::Boolean,
|
|
50
49
|
onboarding_build_method: T::Array[String],
|
|
51
50
|
onboarding_industries: T::Array[String],
|
|
52
51
|
onboarding_monthly_budget: T::Array[String],
|
|
@@ -113,8 +112,6 @@ module Telnyx
|
|
|
113
112
|
notify_on_invoice_available: nil,
|
|
114
113
|
# Whether to notify the user when an invoice is paid.
|
|
115
114
|
notify_on_invoice_payment: nil,
|
|
116
|
-
# Whether the user is an NPAC user.
|
|
117
|
-
npac_user: nil,
|
|
118
115
|
# Build methods reported during onboarding.
|
|
119
116
|
onboarding_build_method: nil,
|
|
120
117
|
# Industries reported during onboarding.
|
|
@@ -10,7 +10,6 @@ module Telnyx
|
|
|
10
10
|
language: String?,
|
|
11
11
|
language_boost: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::language_boost?,
|
|
12
12
|
similarity_boost: Float,
|
|
13
|
-
speed: Float,
|
|
14
13
|
style: Float,
|
|
15
14
|
temperature: Float,
|
|
16
15
|
tool_call_audio: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::tool_call_audio?,
|
|
@@ -43,10 +42,6 @@ module Telnyx
|
|
|
43
42
|
|
|
44
43
|
def similarity_boost=: (Float) -> Float
|
|
45
44
|
|
|
46
|
-
attr_reader speed: Float?
|
|
47
|
-
|
|
48
|
-
def speed=: (Float) -> Float
|
|
49
|
-
|
|
50
45
|
attr_reader style: Float?
|
|
51
46
|
|
|
52
47
|
def style=: (Float) -> Float
|
|
@@ -73,7 +68,6 @@ module Telnyx
|
|
|
73
68
|
?language: String?,
|
|
74
69
|
?language_boost: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::language_boost?,
|
|
75
70
|
?similarity_boost: Float,
|
|
76
|
-
?speed: Float,
|
|
77
71
|
?style: Float,
|
|
78
72
|
?temperature: Float,
|
|
79
73
|
?tool_call_audio: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::tool_call_audio?,
|
|
@@ -89,7 +83,6 @@ module Telnyx
|
|
|
89
83
|
language: String?,
|
|
90
84
|
language_boost: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::language_boost?,
|
|
91
85
|
similarity_boost: Float,
|
|
92
|
-
speed: Float,
|
|
93
86
|
style: Float,
|
|
94
87
|
temperature: Float,
|
|
95
88
|
tool_call_audio: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::tool_call_audio?,
|
|
@@ -98,38 +91,38 @@ module Telnyx
|
|
|
98
91
|
}
|
|
99
92
|
|
|
100
93
|
type background_audio =
|
|
101
|
-
Telnyx::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
102
|
-
| Telnyx::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
103
|
-
| Telnyx::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
94
|
+
Telnyx::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::PredefinedMedia
|
|
95
|
+
| Telnyx::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::MediaURL
|
|
96
|
+
| Telnyx::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::MediaName
|
|
104
97
|
|
|
105
98
|
module BackgroundAudio
|
|
106
99
|
extend Telnyx::Internal::Type::Union
|
|
107
100
|
|
|
108
|
-
type
|
|
101
|
+
type predefined_media =
|
|
109
102
|
{
|
|
110
|
-
type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
111
|
-
value: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
103
|
+
type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::PredefinedMedia::type_,
|
|
104
|
+
value: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::PredefinedMedia::value,
|
|
112
105
|
volume: Float
|
|
113
106
|
}
|
|
114
107
|
|
|
115
|
-
class
|
|
116
|
-
attr_accessor type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
108
|
+
class PredefinedMedia < Telnyx::Internal::Type::BaseModel
|
|
109
|
+
attr_accessor type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::PredefinedMedia::type_
|
|
117
110
|
|
|
118
|
-
attr_accessor value: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
111
|
+
attr_accessor value: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::PredefinedMedia::value
|
|
119
112
|
|
|
120
113
|
attr_reader volume: Float?
|
|
121
114
|
|
|
122
115
|
def volume=: (Float) -> Float
|
|
123
116
|
|
|
124
117
|
def initialize: (
|
|
125
|
-
type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
126
|
-
value: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
118
|
+
type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::PredefinedMedia::type_,
|
|
119
|
+
value: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::PredefinedMedia::value,
|
|
127
120
|
?volume: Float
|
|
128
121
|
) -> void
|
|
129
122
|
|
|
130
123
|
def to_hash: -> {
|
|
131
|
-
type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
132
|
-
value: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
124
|
+
type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::PredefinedMedia::type_,
|
|
125
|
+
value: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::PredefinedMedia::value,
|
|
133
126
|
volume: Float
|
|
134
127
|
}
|
|
135
128
|
|
|
@@ -140,7 +133,7 @@ module Telnyx
|
|
|
140
133
|
|
|
141
134
|
PREDEFINED_MEDIA: :predefined_media
|
|
142
135
|
|
|
143
|
-
def self?.values: -> ::Array[Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
136
|
+
def self?.values: -> ::Array[Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::PredefinedMedia::type_]
|
|
144
137
|
end
|
|
145
138
|
|
|
146
139
|
type value = :silence | :office
|
|
@@ -151,28 +144,28 @@ module Telnyx
|
|
|
151
144
|
SILENCE: :silence
|
|
152
145
|
OFFICE: :office
|
|
153
146
|
|
|
154
|
-
def self?.values: -> ::Array[Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
147
|
+
def self?.values: -> ::Array[Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::PredefinedMedia::value]
|
|
155
148
|
end
|
|
156
149
|
end
|
|
157
150
|
|
|
158
|
-
type
|
|
151
|
+
type media_url =
|
|
159
152
|
{
|
|
160
|
-
type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
153
|
+
type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::MediaURL::type_,
|
|
161
154
|
value: String
|
|
162
155
|
}
|
|
163
156
|
|
|
164
|
-
class
|
|
165
|
-
attr_accessor type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
157
|
+
class MediaURL < Telnyx::Internal::Type::BaseModel
|
|
158
|
+
attr_accessor type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::MediaURL::type_
|
|
166
159
|
|
|
167
160
|
attr_accessor value: String
|
|
168
161
|
|
|
169
162
|
def initialize: (
|
|
170
|
-
type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
163
|
+
type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::MediaURL::type_,
|
|
171
164
|
value: String
|
|
172
165
|
) -> void
|
|
173
166
|
|
|
174
167
|
def to_hash: -> {
|
|
175
|
-
type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
168
|
+
type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::MediaURL::type_,
|
|
176
169
|
value: String
|
|
177
170
|
}
|
|
178
171
|
|
|
@@ -183,28 +176,28 @@ module Telnyx
|
|
|
183
176
|
|
|
184
177
|
MEDIA_URL: :media_url
|
|
185
178
|
|
|
186
|
-
def self?.values: -> ::Array[Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
179
|
+
def self?.values: -> ::Array[Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::MediaURL::type_]
|
|
187
180
|
end
|
|
188
181
|
end
|
|
189
182
|
|
|
190
|
-
type
|
|
183
|
+
type media_name =
|
|
191
184
|
{
|
|
192
|
-
type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
185
|
+
type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::MediaName::type_,
|
|
193
186
|
value: String
|
|
194
187
|
}
|
|
195
188
|
|
|
196
|
-
class
|
|
197
|
-
attr_accessor type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
189
|
+
class MediaName < Telnyx::Internal::Type::BaseModel
|
|
190
|
+
attr_accessor type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::MediaName::type_
|
|
198
191
|
|
|
199
192
|
attr_accessor value: String
|
|
200
193
|
|
|
201
194
|
def initialize: (
|
|
202
|
-
type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
195
|
+
type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::MediaName::type_,
|
|
203
196
|
value: String
|
|
204
197
|
) -> void
|
|
205
198
|
|
|
206
199
|
def to_hash: -> {
|
|
207
|
-
type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
200
|
+
type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::MediaName::type_,
|
|
208
201
|
value: String
|
|
209
202
|
}
|
|
210
203
|
|
|
@@ -215,7 +208,7 @@ module Telnyx
|
|
|
215
208
|
|
|
216
209
|
MEDIA_NAME: :media_name
|
|
217
210
|
|
|
218
|
-
def self?.values: -> ::Array[Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
211
|
+
def self?.values: -> ::Array[Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::MediaName::type_]
|
|
219
212
|
end
|
|
220
213
|
end
|
|
221
214
|
|
|
@@ -314,37 +307,37 @@ module Telnyx
|
|
|
314
307
|
end
|
|
315
308
|
|
|
316
309
|
type tool_call_audio =
|
|
317
|
-
Telnyx::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
318
|
-
| Telnyx::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
310
|
+
Telnyx::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::PredefinedMedia
|
|
311
|
+
| Telnyx::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::MediaURL
|
|
319
312
|
|
|
320
313
|
module ToolCallAudio
|
|
321
314
|
extend Telnyx::Internal::Type::Union
|
|
322
315
|
|
|
323
|
-
type
|
|
316
|
+
type predefined_media =
|
|
324
317
|
{
|
|
325
|
-
type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
326
|
-
value: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
318
|
+
type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::PredefinedMedia::type_,
|
|
319
|
+
value: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::PredefinedMedia::value,
|
|
327
320
|
volume: Float
|
|
328
321
|
}
|
|
329
322
|
|
|
330
|
-
class
|
|
331
|
-
attr_accessor type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
323
|
+
class PredefinedMedia < Telnyx::Internal::Type::BaseModel
|
|
324
|
+
attr_accessor type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::PredefinedMedia::type_
|
|
332
325
|
|
|
333
|
-
attr_accessor value: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
326
|
+
attr_accessor value: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::PredefinedMedia::value
|
|
334
327
|
|
|
335
328
|
attr_reader volume: Float?
|
|
336
329
|
|
|
337
330
|
def volume=: (Float) -> Float
|
|
338
331
|
|
|
339
332
|
def initialize: (
|
|
340
|
-
type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
341
|
-
value: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
333
|
+
type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::PredefinedMedia::type_,
|
|
334
|
+
value: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::PredefinedMedia::value,
|
|
342
335
|
?volume: Float
|
|
343
336
|
) -> void
|
|
344
337
|
|
|
345
338
|
def to_hash: -> {
|
|
346
|
-
type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
347
|
-
value: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
339
|
+
type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::PredefinedMedia::type_,
|
|
340
|
+
value: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::PredefinedMedia::value,
|
|
348
341
|
volume: Float
|
|
349
342
|
}
|
|
350
343
|
|
|
@@ -355,7 +348,7 @@ module Telnyx
|
|
|
355
348
|
|
|
356
349
|
PREDEFINED_MEDIA: :predefined_media
|
|
357
350
|
|
|
358
|
-
def self?.values: -> ::Array[Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
351
|
+
def self?.values: -> ::Array[Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::PredefinedMedia::type_]
|
|
359
352
|
end
|
|
360
353
|
|
|
361
354
|
type value = :typing
|
|
@@ -365,28 +358,28 @@ module Telnyx
|
|
|
365
358
|
|
|
366
359
|
TYPING: :typing
|
|
367
360
|
|
|
368
|
-
def self?.values: -> ::Array[Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
361
|
+
def self?.values: -> ::Array[Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::PredefinedMedia::value]
|
|
369
362
|
end
|
|
370
363
|
end
|
|
371
364
|
|
|
372
|
-
type
|
|
365
|
+
type media_url =
|
|
373
366
|
{
|
|
374
|
-
type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
367
|
+
type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::MediaURL::type_,
|
|
375
368
|
value: String
|
|
376
369
|
}
|
|
377
370
|
|
|
378
|
-
class
|
|
379
|
-
attr_accessor type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
371
|
+
class MediaURL < Telnyx::Internal::Type::BaseModel
|
|
372
|
+
attr_accessor type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::MediaURL::type_
|
|
380
373
|
|
|
381
374
|
attr_accessor value: String
|
|
382
375
|
|
|
383
376
|
def initialize: (
|
|
384
|
-
type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
377
|
+
type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::MediaURL::type_,
|
|
385
378
|
value: String
|
|
386
379
|
) -> void
|
|
387
380
|
|
|
388
381
|
def to_hash: -> {
|
|
389
|
-
type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
382
|
+
type: Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::MediaURL::type_,
|
|
390
383
|
value: String
|
|
391
384
|
}
|
|
392
385
|
|
|
@@ -397,7 +390,7 @@ module Telnyx
|
|
|
397
390
|
|
|
398
391
|
MEDIA_URL: :media_url
|
|
399
392
|
|
|
400
|
-
def self?.values: -> ::Array[Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
393
|
+
def self?.values: -> ::Array[Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::MediaURL::type_]
|
|
401
394
|
end
|
|
402
395
|
end
|
|
403
396
|
|
|
@@ -41,25 +41,16 @@ module Telnyx
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
type body =
|
|
44
|
-
::Hash[Symbol, top]
|
|
45
|
-
| Telnyx::Models::AI::Memory::Namespaces::ProfileIngestParams::Body::union_member1
|
|
44
|
+
::Hash[Symbol, top] | ::Array[top] | String | Float | bool
|
|
46
45
|
|
|
47
46
|
module Body
|
|
48
47
|
extend Telnyx::Internal::Type::Union
|
|
49
48
|
|
|
50
|
-
type union_member1 = ::Array[top] | String | Float | bool
|
|
51
|
-
|
|
52
|
-
module UnionMember1
|
|
53
|
-
extend Telnyx::Internal::Type::Union
|
|
54
|
-
|
|
55
|
-
def self?.variants: -> ::Array[Telnyx::Models::AI::Memory::Namespaces::ProfileIngestParams::Body::union_member1]
|
|
56
|
-
|
|
57
|
-
IngestPayloadValueArray: Telnyx::Internal::Type::Converter
|
|
58
|
-
end
|
|
59
|
-
|
|
60
49
|
def self?.variants: -> ::Array[Telnyx::Models::AI::Memory::Namespaces::ProfileIngestParams::body]
|
|
61
50
|
|
|
62
51
|
IngestPayloadObjectMap: Telnyx::Internal::Type::Converter
|
|
52
|
+
|
|
53
|
+
IngestPayloadListArray: Telnyx::Internal::Type::Converter
|
|
63
54
|
end
|
|
64
55
|
end
|
|
65
56
|
end
|
|
@@ -62,25 +62,16 @@ module Telnyx
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
type content =
|
|
65
|
-
::Hash[Symbol, top]
|
|
66
|
-
| Telnyx::Models::AI::Memory::Namespaces::Profiles::SourceRetrieveResponse::Data::Content::union_member1
|
|
65
|
+
::Hash[Symbol, top] | ::Array[top] | String | Float | bool
|
|
67
66
|
|
|
68
67
|
module Content
|
|
69
68
|
extend Telnyx::Internal::Type::Union
|
|
70
69
|
|
|
71
|
-
type union_member1 = ::Array[top] | String | Float | bool
|
|
72
|
-
|
|
73
|
-
module UnionMember1
|
|
74
|
-
extend Telnyx::Internal::Type::Union
|
|
75
|
-
|
|
76
|
-
def self?.variants: -> ::Array[Telnyx::Models::AI::Memory::Namespaces::Profiles::SourceRetrieveResponse::Data::Content::union_member1]
|
|
77
|
-
|
|
78
|
-
SourceContentValueArray: Telnyx::Internal::Type::Converter
|
|
79
|
-
end
|
|
80
|
-
|
|
81
70
|
def self?.variants: -> ::Array[Telnyx::Models::AI::Memory::Namespaces::Profiles::SourceRetrieveResponse::Data::content]
|
|
82
71
|
|
|
83
72
|
SourceContentObjectMap: Telnyx::Internal::Type::Converter
|
|
73
|
+
|
|
74
|
+
SourceContentListArray: Telnyx::Internal::Type::Converter
|
|
84
75
|
end
|
|
85
76
|
end
|
|
86
77
|
end
|
|
@@ -8,28 +8,31 @@ module Telnyx
|
|
|
8
8
|
module ReadinessProbe
|
|
9
9
|
extend Telnyx::Internal::Type::Union
|
|
10
10
|
|
|
11
|
-
type tcp_port_probe = { tcp_port: Integer,
|
|
11
|
+
type tcp_port_probe = { tcp_port: Integer, exec_command: nil }
|
|
12
12
|
|
|
13
13
|
class TcpPortProbe < Telnyx::Internal::Type::BaseModel
|
|
14
14
|
attr_accessor tcp_port: Integer
|
|
15
15
|
|
|
16
|
-
attr_accessor
|
|
16
|
+
attr_accessor exec_command: nil
|
|
17
17
|
|
|
18
|
-
def initialize: (tcp_port: Integer, ?
|
|
18
|
+
def initialize: (tcp_port: Integer, ?exec_command: nil) -> void
|
|
19
19
|
|
|
20
|
-
def to_hash: -> { tcp_port: Integer,
|
|
20
|
+
def to_hash: -> { tcp_port: Integer, exec_command: nil }
|
|
21
21
|
end
|
|
22
22
|
|
|
23
|
-
type exec_probe = {
|
|
23
|
+
type exec_probe = { exec_command: ::Array[String], tcp_port: nil }
|
|
24
24
|
|
|
25
25
|
class ExecProbe < Telnyx::Internal::Type::BaseModel
|
|
26
|
-
attr_accessor
|
|
26
|
+
attr_accessor exec_command: ::Array[String]
|
|
27
27
|
|
|
28
28
|
attr_accessor tcp_port: nil
|
|
29
29
|
|
|
30
|
-
def initialize: (
|
|
30
|
+
def initialize: (
|
|
31
|
+
exec_command: ::Array[String],
|
|
32
|
+
?tcp_port: nil
|
|
33
|
+
) -> void
|
|
31
34
|
|
|
32
|
-
def to_hash: -> {
|
|
35
|
+
def to_hash: -> { exec_command: ::Array[String], tcp_port: nil }
|
|
33
36
|
end
|
|
34
37
|
|
|
35
38
|
def self?.variants: -> ::Array[Telnyx::Models::AI::readiness_probe]
|
|
@@ -219,6 +219,7 @@ module Telnyx
|
|
|
219
219
|
channels: Telnyx::Models::AI::TelephonySettings::RecordingSettings::channels,
|
|
220
220
|
enabled: bool,
|
|
221
221
|
file_format: Telnyx::Models::AI::TelephonySettings::RecordingSettings::format_,
|
|
222
|
+
redaction: ::Array[Telnyx::Models::AI::TelephonySettings::RecordingSettings::redaction],
|
|
222
223
|
stop_on_conversation_end: bool
|
|
223
224
|
}
|
|
224
225
|
|
|
@@ -239,6 +240,12 @@ module Telnyx
|
|
|
239
240
|
Telnyx::Models::AI::TelephonySettings::RecordingSettings::format_
|
|
240
241
|
) -> Telnyx::Models::AI::TelephonySettings::RecordingSettings::format_
|
|
241
242
|
|
|
243
|
+
attr_reader redaction: ::Array[Telnyx::Models::AI::TelephonySettings::RecordingSettings::redaction]?
|
|
244
|
+
|
|
245
|
+
def redaction=: (
|
|
246
|
+
::Array[Telnyx::Models::AI::TelephonySettings::RecordingSettings::redaction]
|
|
247
|
+
) -> ::Array[Telnyx::Models::AI::TelephonySettings::RecordingSettings::redaction]
|
|
248
|
+
|
|
242
249
|
attr_reader stop_on_conversation_end: bool?
|
|
243
250
|
|
|
244
251
|
def stop_on_conversation_end=: (bool) -> bool
|
|
@@ -247,6 +254,7 @@ module Telnyx
|
|
|
247
254
|
?channels: Telnyx::Models::AI::TelephonySettings::RecordingSettings::channels,
|
|
248
255
|
?enabled: bool,
|
|
249
256
|
?file_format: Telnyx::Models::AI::TelephonySettings::RecordingSettings::format_,
|
|
257
|
+
?redaction: ::Array[Telnyx::Models::AI::TelephonySettings::RecordingSettings::redaction],
|
|
250
258
|
?stop_on_conversation_end: bool
|
|
251
259
|
) -> void
|
|
252
260
|
|
|
@@ -254,6 +262,7 @@ module Telnyx
|
|
|
254
262
|
channels: Telnyx::Models::AI::TelephonySettings::RecordingSettings::channels,
|
|
255
263
|
enabled: bool,
|
|
256
264
|
file_format: Telnyx::Models::AI::TelephonySettings::RecordingSettings::format_,
|
|
265
|
+
redaction: ::Array[Telnyx::Models::AI::TelephonySettings::RecordingSettings::redaction],
|
|
257
266
|
stop_on_conversation_end: bool
|
|
258
267
|
}
|
|
259
268
|
|
|
@@ -278,6 +287,18 @@ module Telnyx
|
|
|
278
287
|
|
|
279
288
|
def self?.values: -> ::Array[Telnyx::Models::AI::TelephonySettings::RecordingSettings::format_]
|
|
280
289
|
end
|
|
290
|
+
|
|
291
|
+
type redaction = :pci | :pii | :phi
|
|
292
|
+
|
|
293
|
+
module Redaction
|
|
294
|
+
extend Telnyx::Internal::Type::Enum
|
|
295
|
+
|
|
296
|
+
PCI: :pci
|
|
297
|
+
PII: :pii
|
|
298
|
+
PHI: :phi
|
|
299
|
+
|
|
300
|
+
def self?.values: -> ::Array[Telnyx::Models::AI::TelephonySettings::RecordingSettings::redaction]
|
|
301
|
+
end
|
|
281
302
|
end
|
|
282
303
|
|
|
283
304
|
type voicemail_detection =
|
|
@@ -79,7 +79,7 @@ module Telnyx
|
|
|
79
79
|
|
|
80
80
|
def self?.variants: -> ::Array[Telnyx::Models::AI::Typesafe::V1SystemoneParams::Question::Choice::instructions]
|
|
81
81
|
|
|
82
|
-
|
|
82
|
+
ContentObjectMap: Telnyx::Internal::Type::Converter
|
|
83
83
|
|
|
84
84
|
UnionMember2Array: Telnyx::Internal::Type::Converter
|
|
85
85
|
end
|
|
@@ -122,7 +122,7 @@ module Telnyx
|
|
|
122
122
|
|
|
123
123
|
def self?.variants: -> ::Array[Telnyx::Models::AI::Typesafe::V1SystemoneParams::Question::Noul::instructions]
|
|
124
124
|
|
|
125
|
-
|
|
125
|
+
ContentObjectMap: Telnyx::Internal::Type::Converter
|
|
126
126
|
|
|
127
127
|
UnionMember2Array: Telnyx::Internal::Type::Converter
|
|
128
128
|
end
|
|
@@ -177,7 +177,7 @@ module Telnyx
|
|
|
177
177
|
|
|
178
178
|
def self?.variants: -> ::Array[Telnyx::Models::AI::Typesafe::V1SystemoneParams::Question::Score::instructions]
|
|
179
179
|
|
|
180
|
-
|
|
180
|
+
ContentObjectMap: Telnyx::Internal::Type::Converter
|
|
181
181
|
|
|
182
182
|
UnionMember2Array: Telnyx::Internal::Type::Converter
|
|
183
183
|
end
|
|
@@ -193,7 +193,7 @@ module Telnyx
|
|
|
193
193
|
|
|
194
194
|
def self?.variants: -> ::Array[Telnyx::Models::AI::Typesafe::V1SystemoneParams::state]
|
|
195
195
|
|
|
196
|
-
|
|
196
|
+
ContentObjectMap: Telnyx::Internal::Type::Converter
|
|
197
197
|
|
|
198
198
|
UnionMember2Array: Telnyx::Internal::Type::Converter
|
|
199
199
|
end
|