telnyx 5.102.1 → 5.103.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 +16 -0
- data/README.md +1 -1
- data/lib/telnyx/models/ai/assistant_create_params.rb +170 -9
- data/lib/telnyx/models/ai/assistant_tool.rb +14 -14
- data/lib/telnyx/models/ai/assistant_update_params.rb +170 -9
- data/lib/telnyx/models/ai/assistants/canary_deploy.rb +123 -3
- data/lib/telnyx/models/ai/assistants/canary_deploy_response.rb +125 -3
- data/lib/telnyx/models/ai/assistants/scheduled_event_create_params.rb +17 -1
- data/lib/telnyx/models/ai/assistants/scheduled_phone_call_event_response.rb +91 -1
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +171 -9
- data/lib/telnyx/models/ai/inference_embedding.rb +169 -9
- data/lib/telnyx/models/ai/openai_list_models_response.rb +31 -3
- data/lib/telnyx/models/ai/transfer_tool.rb +9 -7
- data/lib/telnyx/models/ai_retrieve_models_response.rb +31 -3
- data/lib/telnyx/models/calls/action_gather_using_ai_params.rb +23 -4
- data/lib/telnyx/models/calls/action_gather_using_speak_params.rb +23 -4
- data/lib/telnyx/models/calls/action_speak_params.rb +23 -4
- data/lib/telnyx/models/calls/action_start_ai_assistant_params.rb +23 -4
- data/lib/telnyx/models/calls/transcription_start_request.rb +167 -5
- data/lib/telnyx/models/conferences/action_speak_params.rb +23 -4
- data/lib/telnyx/models/text_to_speech_generate_params.rb +6 -6
- data/lib/telnyx/models/uac_connection_create_params.rb +255 -9
- data/lib/telnyx/models/uac_connection_create_response.rb +878 -3
- data/lib/telnyx/models/uac_connection_delete_response.rb +878 -3
- data/lib/telnyx/models/uac_connection_list_response.rb +876 -0
- data/lib/telnyx/models/uac_connection_retrieve_response.rb +879 -3
- data/lib/telnyx/models/uac_connection_update_params.rb +255 -9
- data/lib/telnyx/models/uac_connection_update_response.rb +878 -3
- data/lib/telnyx/models.rb +0 -14
- data/lib/telnyx/resources/ai/assistants/canary_deploys.rb +2 -2
- data/lib/telnyx/resources/ai/assistants/scheduled_events.rb +5 -1
- data/lib/telnyx/resources/ai/assistants/versions.rb +3 -3
- data/lib/telnyx/resources/ai/assistants.rb +6 -6
- data/lib/telnyx/resources/calls/actions.rb +5 -5
- data/lib/telnyx/resources/conferences/actions.rb +1 -1
- data/lib/telnyx/resources/uac_connections.rb +8 -8
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +1 -19
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +341 -12
- data/rbi/telnyx/models/ai/assistant_tool.rbi +10 -10
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +341 -12
- data/rbi/telnyx/models/ai/assistants/canary_deploy.rbi +290 -4
- data/rbi/telnyx/models/ai/assistants/canary_deploy_response.rbi +301 -3
- data/rbi/telnyx/models/ai/assistants/scheduled_event_create_params.rbi +22 -0
- data/rbi/telnyx/models/ai/assistants/scheduled_phone_call_event_response.rbi +153 -0
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +355 -12
- data/rbi/telnyx/models/ai/inference_embedding.rbi +340 -12
- data/rbi/telnyx/models/ai/openai_list_models_response.rbi +56 -3
- data/rbi/telnyx/models/ai/transfer_tool.rbi +5 -5
- data/rbi/telnyx/models/ai_retrieve_models_response.rbi +51 -3
- data/rbi/telnyx/models/calls/action_gather_using_ai_params.rbi +41 -5
- data/rbi/telnyx/models/calls/action_gather_using_speak_params.rbi +41 -5
- data/rbi/telnyx/models/calls/action_speak_params.rbi +41 -5
- data/rbi/telnyx/models/calls/action_start_ai_assistant_params.rbi +41 -5
- data/rbi/telnyx/models/calls/transcription_start_request.rbi +480 -10
- data/rbi/telnyx/models/conferences/action_speak_params.rbi +41 -5
- data/rbi/telnyx/models/text_to_speech_generate_params.rbi +6 -6
- data/rbi/telnyx/models/uac_connection_create_params.rbi +516 -12
- data/rbi/telnyx/models/uac_connection_create_response.rbi +1756 -4
- data/rbi/telnyx/models/uac_connection_delete_response.rbi +1756 -4
- data/rbi/telnyx/models/uac_connection_list_response.rbi +1727 -0
- data/rbi/telnyx/models/uac_connection_retrieve_response.rbi +1756 -4
- data/rbi/telnyx/models/uac_connection_update_params.rbi +516 -12
- data/rbi/telnyx/models/uac_connection_update_response.rbi +1756 -4
- data/rbi/telnyx/models.rbi +0 -14
- data/rbi/telnyx/resources/ai/assistants/canary_deploys.rbi +4 -2
- data/rbi/telnyx/resources/ai/assistants/scheduled_events.rbi +6 -0
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +9 -3
- data/rbi/telnyx/resources/ai/assistants.rbi +10 -6
- data/rbi/telnyx/resources/calls/actions.rbi +6 -6
- data/rbi/telnyx/resources/conferences/actions.rbi +1 -1
- data/rbi/telnyx/resources/uac_connections.rbi +13 -7
- data/sig/telnyx/models/ai/assistant_create_params.rbs +142 -18
- data/sig/telnyx/models/ai/assistant_tool.rbs +8 -8
- data/sig/telnyx/models/ai/assistant_update_params.rbs +142 -18
- data/sig/telnyx/models/ai/assistants/canary_deploy.rbs +113 -6
- data/sig/telnyx/models/ai/assistants/canary_deploy_response.rbs +109 -4
- data/sig/telnyx/models/ai/assistants/scheduled_event_create_params.rbs +14 -0
- data/sig/telnyx/models/ai/assistants/scheduled_phone_call_event_response.rbs +85 -0
- data/sig/telnyx/models/ai/assistants/update_assistant.rbs +145 -18
- data/sig/telnyx/models/ai/inference_embedding.rbs +142 -18
- data/sig/telnyx/models/ai/openai_list_models_response.rbs +39 -4
- data/sig/telnyx/models/ai/transfer_tool.rbs +4 -4
- data/sig/telnyx/models/ai_retrieve_models_response.rbs +39 -4
- data/sig/telnyx/models/calls/action_gather_using_ai_params.rbs +15 -1
- data/sig/telnyx/models/calls/action_gather_using_speak_params.rbs +15 -1
- data/sig/telnyx/models/calls/action_speak_params.rbs +15 -1
- data/sig/telnyx/models/calls/action_start_ai_assistant_params.rbs +15 -1
- data/sig/telnyx/models/calls/transcription_start_request.rbs +184 -2
- data/sig/telnyx/models/conferences/action_speak_params.rbs +15 -1
- data/sig/telnyx/models/text_to_speech_generate_params.rbs +6 -6
- data/sig/telnyx/models/uac_connection_create_params.rbs +211 -17
- data/sig/telnyx/models/uac_connection_create_response.rbs +731 -5
- data/sig/telnyx/models/uac_connection_delete_response.rbs +731 -5
- data/sig/telnyx/models/uac_connection_list_response.rbs +722 -0
- data/sig/telnyx/models/uac_connection_retrieve_response.rbs +731 -5
- data/sig/telnyx/models/uac_connection_update_params.rbs +211 -17
- data/sig/telnyx/models/uac_connection_update_response.rbs +731 -5
- data/sig/telnyx/models.rbs +0 -14
- data/sig/telnyx/resources/ai/assistants/canary_deploys.rbs +2 -2
- data/sig/telnyx/resources/ai/assistants/scheduled_events.rbs +2 -0
- data/sig/telnyx/resources/ai/assistants/versions.rbs +3 -3
- data/sig/telnyx/resources/ai/assistants.rbs +6 -6
- data/sig/telnyx/resources/uac_connections.rbs +7 -7
- metadata +4 -58
- data/lib/telnyx/models/ai/assistant_integration.rb +0 -38
- data/lib/telnyx/models/ai/assistant_mcp_server.rb +0 -35
- data/lib/telnyx/models/ai/assistants/clause.rb +0 -54
- data/lib/telnyx/models/ai/assistants/rollout_slot.rb +0 -27
- data/lib/telnyx/models/ai/assistants/rule_input.rb +0 -40
- data/lib/telnyx/models/ai/assistants/rule_output.rb +0 -40
- data/lib/telnyx/models/ai/assistants/serve.rb +0 -33
- data/lib/telnyx/models/ai/inference_embedding_interruption_settings.rb +0 -39
- data/lib/telnyx/models/ai/start_speaking_plan.rb +0 -37
- data/lib/telnyx/models/ai/transcription_endpointing_plan.rb +0 -39
- data/lib/telnyx/models/calls/transcription_engine_assemblyai_config.rb +0 -64
- data/lib/telnyx/models/calls/transcription_engine_xai_config.rb +0 -108
- data/lib/telnyx/models/model_metadata.rb +0 -33
- data/lib/telnyx/models/uac_connection.rb +0 -412
- data/lib/telnyx/models/uac_external_settings.rb +0 -101
- data/lib/telnyx/models/uac_inbound.rb +0 -210
- data/lib/telnyx/models/uac_internal_settings.rb +0 -25
- data/lib/telnyx/models/uac_outbound.rb +0 -131
- data/lib/telnyx/models/xai_voice_settings.rb +0 -36
- data/rbi/telnyx/models/ai/assistant_integration.rbi +0 -60
- data/rbi/telnyx/models/ai/assistant_mcp_server.rbi +0 -51
- data/rbi/telnyx/models/ai/assistants/clause.rbi +0 -91
- data/rbi/telnyx/models/ai/assistants/rollout_slot.rbi +0 -36
- data/rbi/telnyx/models/ai/assistants/rule_input.rbi +0 -73
- data/rbi/telnyx/models/ai/assistants/rule_output.rbi +0 -73
- data/rbi/telnyx/models/ai/assistants/serve.rbi +0 -61
- data/rbi/telnyx/models/ai/inference_embedding_interruption_settings.rbi +0 -72
- data/rbi/telnyx/models/ai/start_speaking_plan.rbi +0 -70
- data/rbi/telnyx/models/ai/transcription_endpointing_plan.rbi +0 -71
- data/rbi/telnyx/models/calls/transcription_engine_assemblyai_config.rbi +0 -155
- data/rbi/telnyx/models/calls/transcription_engine_xai_config.rbi +0 -329
- data/rbi/telnyx/models/model_metadata.rbi +0 -44
- data/rbi/telnyx/models/uac_connection.rbi +0 -684
- data/rbi/telnyx/models/uac_external_settings.rbi +0 -146
- data/rbi/telnyx/models/uac_inbound.rbi +0 -410
- data/rbi/telnyx/models/uac_internal_settings.rbi +0 -39
- data/rbi/telnyx/models/uac_outbound.rbi +0 -224
- data/rbi/telnyx/models/xai_voice_settings.rbi +0 -64
- data/sig/telnyx/models/ai/assistant_integration.rbs +0 -26
- data/sig/telnyx/models/ai/assistant_mcp_server.rbs +0 -19
- data/sig/telnyx/models/ai/assistants/clause.rbs +0 -46
- data/sig/telnyx/models/ai/assistants/rollout_slot.rbs +0 -19
- data/sig/telnyx/models/ai/assistants/rule_input.rbs +0 -33
- data/sig/telnyx/models/ai/assistants/rule_output.rbs +0 -33
- data/sig/telnyx/models/ai/assistants/serve.rbs +0 -35
- data/sig/telnyx/models/ai/inference_embedding_interruption_settings.rbs +0 -30
- data/sig/telnyx/models/ai/start_speaking_plan.rbs +0 -33
- data/sig/telnyx/models/ai/transcription_endpointing_plan.rbs +0 -38
- data/sig/telnyx/models/calls/transcription_engine_assemblyai_config.rbs +0 -62
- data/sig/telnyx/models/calls/transcription_engine_xai_config.rbs +0 -130
- data/sig/telnyx/models/model_metadata.rbs +0 -32
- data/sig/telnyx/models/uac_connection.rbs +0 -338
- data/sig/telnyx/models/uac_external_settings.rbs +0 -73
- data/sig/telnyx/models/uac_inbound.rbs +0 -190
- data/sig/telnyx/models/uac_internal_settings.rbs +0 -15
- data/sig/telnyx/models/uac_outbound.rbs +0 -113
- data/sig/telnyx/models/xai_voice_settings.rbs +0 -34
|
@@ -12,15 +12,15 @@ module Telnyx
|
|
|
12
12
|
dtmf_type: Telnyx::Models::dtmf_type,
|
|
13
13
|
encode_contact_header_enabled: bool,
|
|
14
14
|
encrypted_media: Telnyx::Models::encrypted_media?,
|
|
15
|
-
external_uac_settings: Telnyx::
|
|
15
|
+
external_uac_settings: Telnyx::UacConnectionUpdateParams::ExternalUacSettings,
|
|
16
16
|
inbound: Telnyx::UacConnectionUpdateParams::Inbound,
|
|
17
|
-
internal_uac_settings: Telnyx::
|
|
17
|
+
internal_uac_settings: Telnyx::UacConnectionUpdateParams::InternalUacSettings,
|
|
18
18
|
ios_push_credential_id: String?,
|
|
19
19
|
jitter_buffer: Telnyx::ConnectionJitterBuffer,
|
|
20
20
|
noise_suppression: Telnyx::Models::UacConnectionUpdateParams::noise_suppression,
|
|
21
21
|
noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails,
|
|
22
22
|
:onnet_t38_passthrough_enabled => bool,
|
|
23
|
-
outbound: Telnyx::
|
|
23
|
+
outbound: Telnyx::UacConnectionUpdateParams::Outbound,
|
|
24
24
|
password: String,
|
|
25
25
|
rtcp_settings: Telnyx::ConnectionRtcpSettings,
|
|
26
26
|
sip_uri_calling_preference: Telnyx::Models::UacConnectionUpdateParams::sip_uri_calling_preference,
|
|
@@ -73,11 +73,11 @@ module Telnyx
|
|
|
73
73
|
|
|
74
74
|
attr_accessor encrypted_media: Telnyx::Models::encrypted_media?
|
|
75
75
|
|
|
76
|
-
attr_reader external_uac_settings: Telnyx::
|
|
76
|
+
attr_reader external_uac_settings: Telnyx::UacConnectionUpdateParams::ExternalUacSettings?
|
|
77
77
|
|
|
78
78
|
def external_uac_settings=: (
|
|
79
|
-
Telnyx::
|
|
80
|
-
) -> Telnyx::
|
|
79
|
+
Telnyx::UacConnectionUpdateParams::ExternalUacSettings
|
|
80
|
+
) -> Telnyx::UacConnectionUpdateParams::ExternalUacSettings
|
|
81
81
|
|
|
82
82
|
attr_reader inbound: Telnyx::UacConnectionUpdateParams::Inbound?
|
|
83
83
|
|
|
@@ -85,11 +85,11 @@ module Telnyx
|
|
|
85
85
|
Telnyx::UacConnectionUpdateParams::Inbound
|
|
86
86
|
) -> Telnyx::UacConnectionUpdateParams::Inbound
|
|
87
87
|
|
|
88
|
-
attr_reader internal_uac_settings: Telnyx::
|
|
88
|
+
attr_reader internal_uac_settings: Telnyx::UacConnectionUpdateParams::InternalUacSettings?
|
|
89
89
|
|
|
90
90
|
def internal_uac_settings=: (
|
|
91
|
-
Telnyx::
|
|
92
|
-
) -> Telnyx::
|
|
91
|
+
Telnyx::UacConnectionUpdateParams::InternalUacSettings
|
|
92
|
+
) -> Telnyx::UacConnectionUpdateParams::InternalUacSettings
|
|
93
93
|
|
|
94
94
|
attr_accessor ios_push_credential_id: String?
|
|
95
95
|
|
|
@@ -115,9 +115,11 @@ module Telnyx
|
|
|
115
115
|
|
|
116
116
|
def onnet_t38_passthrough_enabled=: (bool) -> bool
|
|
117
117
|
|
|
118
|
-
attr_reader outbound: Telnyx::
|
|
118
|
+
attr_reader outbound: Telnyx::UacConnectionUpdateParams::Outbound?
|
|
119
119
|
|
|
120
|
-
def outbound=: (
|
|
120
|
+
def outbound=: (
|
|
121
|
+
Telnyx::UacConnectionUpdateParams::Outbound
|
|
122
|
+
) -> Telnyx::UacConnectionUpdateParams::Outbound
|
|
121
123
|
|
|
122
124
|
attr_reader password: String?
|
|
123
125
|
|
|
@@ -168,15 +170,15 @@ module Telnyx
|
|
|
168
170
|
?dtmf_type: Telnyx::Models::dtmf_type,
|
|
169
171
|
?encode_contact_header_enabled: bool,
|
|
170
172
|
?encrypted_media: Telnyx::Models::encrypted_media?,
|
|
171
|
-
?external_uac_settings: Telnyx::
|
|
173
|
+
?external_uac_settings: Telnyx::UacConnectionUpdateParams::ExternalUacSettings,
|
|
172
174
|
?inbound: Telnyx::UacConnectionUpdateParams::Inbound,
|
|
173
|
-
?internal_uac_settings: Telnyx::
|
|
175
|
+
?internal_uac_settings: Telnyx::UacConnectionUpdateParams::InternalUacSettings,
|
|
174
176
|
?ios_push_credential_id: String?,
|
|
175
177
|
?jitter_buffer: Telnyx::ConnectionJitterBuffer,
|
|
176
178
|
?noise_suppression: Telnyx::Models::UacConnectionUpdateParams::noise_suppression,
|
|
177
179
|
?noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails,
|
|
178
180
|
?onnet_t38_passthrough_enabled: bool,
|
|
179
|
-
?outbound: Telnyx::
|
|
181
|
+
?outbound: Telnyx::UacConnectionUpdateParams::Outbound,
|
|
180
182
|
?password: String,
|
|
181
183
|
?rtcp_settings: Telnyx::ConnectionRtcpSettings,
|
|
182
184
|
?sip_uri_calling_preference: Telnyx::Models::UacConnectionUpdateParams::sip_uri_calling_preference,
|
|
@@ -200,15 +202,15 @@ module Telnyx
|
|
|
200
202
|
dtmf_type: Telnyx::Models::dtmf_type,
|
|
201
203
|
encode_contact_header_enabled: bool,
|
|
202
204
|
encrypted_media: Telnyx::Models::encrypted_media?,
|
|
203
|
-
external_uac_settings: Telnyx::
|
|
205
|
+
external_uac_settings: Telnyx::UacConnectionUpdateParams::ExternalUacSettings,
|
|
204
206
|
inbound: Telnyx::UacConnectionUpdateParams::Inbound,
|
|
205
|
-
internal_uac_settings: Telnyx::
|
|
207
|
+
internal_uac_settings: Telnyx::UacConnectionUpdateParams::InternalUacSettings,
|
|
206
208
|
ios_push_credential_id: String?,
|
|
207
209
|
jitter_buffer: Telnyx::ConnectionJitterBuffer,
|
|
208
210
|
noise_suppression: Telnyx::Models::UacConnectionUpdateParams::noise_suppression,
|
|
209
211
|
noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails,
|
|
210
212
|
:onnet_t38_passthrough_enabled => bool,
|
|
211
|
-
outbound: Telnyx::
|
|
213
|
+
outbound: Telnyx::UacConnectionUpdateParams::Outbound,
|
|
212
214
|
password: String,
|
|
213
215
|
rtcp_settings: Telnyx::ConnectionRtcpSettings,
|
|
214
216
|
sip_uri_calling_preference: Telnyx::Models::UacConnectionUpdateParams::sip_uri_calling_preference,
|
|
@@ -221,6 +223,76 @@ module Telnyx
|
|
|
221
223
|
request_options: Telnyx::RequestOptions
|
|
222
224
|
}
|
|
223
225
|
|
|
226
|
+
type external_uac_settings =
|
|
227
|
+
{
|
|
228
|
+
auth_username: String?,
|
|
229
|
+
expiration_sec: Integer?,
|
|
230
|
+
from_user: String?,
|
|
231
|
+
outbound_proxy: String?,
|
|
232
|
+
password: String,
|
|
233
|
+
proxy: String,
|
|
234
|
+
transport: Telnyx::Models::UacConnectionUpdateParams::ExternalUacSettings::transport?,
|
|
235
|
+
username: String
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
class ExternalUacSettings < Telnyx::Internal::Type::BaseModel
|
|
239
|
+
attr_accessor auth_username: String?
|
|
240
|
+
|
|
241
|
+
attr_accessor expiration_sec: Integer?
|
|
242
|
+
|
|
243
|
+
attr_accessor from_user: String?
|
|
244
|
+
|
|
245
|
+
attr_accessor outbound_proxy: String?
|
|
246
|
+
|
|
247
|
+
attr_reader password: String?
|
|
248
|
+
|
|
249
|
+
def password=: (String) -> String
|
|
250
|
+
|
|
251
|
+
attr_reader proxy: String?
|
|
252
|
+
|
|
253
|
+
def proxy=: (String) -> String
|
|
254
|
+
|
|
255
|
+
attr_accessor transport: Telnyx::Models::UacConnectionUpdateParams::ExternalUacSettings::transport?
|
|
256
|
+
|
|
257
|
+
attr_reader username: String?
|
|
258
|
+
|
|
259
|
+
def username=: (String) -> String
|
|
260
|
+
|
|
261
|
+
def initialize: (
|
|
262
|
+
?auth_username: String?,
|
|
263
|
+
?expiration_sec: Integer?,
|
|
264
|
+
?from_user: String?,
|
|
265
|
+
?outbound_proxy: String?,
|
|
266
|
+
?password: String,
|
|
267
|
+
?proxy: String,
|
|
268
|
+
?transport: Telnyx::Models::UacConnectionUpdateParams::ExternalUacSettings::transport?,
|
|
269
|
+
?username: String
|
|
270
|
+
) -> void
|
|
271
|
+
|
|
272
|
+
def to_hash: -> {
|
|
273
|
+
auth_username: String?,
|
|
274
|
+
expiration_sec: Integer?,
|
|
275
|
+
from_user: String?,
|
|
276
|
+
outbound_proxy: String?,
|
|
277
|
+
password: String,
|
|
278
|
+
proxy: String,
|
|
279
|
+
transport: Telnyx::Models::UacConnectionUpdateParams::ExternalUacSettings::transport?,
|
|
280
|
+
username: String
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
type transport = :UDP | :TLS | :TCP
|
|
284
|
+
|
|
285
|
+
module Transport
|
|
286
|
+
extend Telnyx::Internal::Type::Enum
|
|
287
|
+
|
|
288
|
+
UDP: :UDP
|
|
289
|
+
TLS: :TLS
|
|
290
|
+
TCP: :TCP
|
|
291
|
+
|
|
292
|
+
def self?.values: -> ::Array[Telnyx::Models::UacConnectionUpdateParams::ExternalUacSettings::transport]
|
|
293
|
+
end
|
|
294
|
+
end
|
|
295
|
+
|
|
224
296
|
type inbound =
|
|
225
297
|
{
|
|
226
298
|
ani_number_format: Telnyx::Models::UacConnectionUpdateParams::Inbound::ani_number_format,
|
|
@@ -381,6 +453,18 @@ module Telnyx
|
|
|
381
453
|
end
|
|
382
454
|
end
|
|
383
455
|
|
|
456
|
+
type internal_uac_settings = { destination_uri: String }
|
|
457
|
+
|
|
458
|
+
class InternalUacSettings < Telnyx::Internal::Type::BaseModel
|
|
459
|
+
attr_reader destination_uri: String?
|
|
460
|
+
|
|
461
|
+
def destination_uri=: (String) -> String
|
|
462
|
+
|
|
463
|
+
def initialize: (?destination_uri: String) -> void
|
|
464
|
+
|
|
465
|
+
def to_hash: -> { destination_uri: String }
|
|
466
|
+
end
|
|
467
|
+
|
|
384
468
|
type noise_suppression = :inbound | :outbound | :both | :disabled
|
|
385
469
|
|
|
386
470
|
module NoiseSuppression
|
|
@@ -394,6 +478,116 @@ module Telnyx
|
|
|
394
478
|
def self?.values: -> ::Array[Telnyx::Models::UacConnectionUpdateParams::noise_suppression]
|
|
395
479
|
end
|
|
396
480
|
|
|
481
|
+
type outbound =
|
|
482
|
+
{
|
|
483
|
+
ani_override: String,
|
|
484
|
+
ani_override_type: Telnyx::Models::UacConnectionUpdateParams::Outbound::ani_override_type,
|
|
485
|
+
call_parking_enabled: bool?,
|
|
486
|
+
channel_limit: Integer,
|
|
487
|
+
generate_ringback_tone: bool,
|
|
488
|
+
instant_ringback_enabled: bool,
|
|
489
|
+
localization: String,
|
|
490
|
+
outbound_voice_profile_id: String,
|
|
491
|
+
:t38_reinvite_source => Telnyx::Models::UacConnectionUpdateParams::Outbound::t38_reinvite_source
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
class Outbound < Telnyx::Internal::Type::BaseModel
|
|
495
|
+
attr_reader ani_override: String?
|
|
496
|
+
|
|
497
|
+
def ani_override=: (String) -> String
|
|
498
|
+
|
|
499
|
+
attr_reader ani_override_type: Telnyx::Models::UacConnectionUpdateParams::Outbound::ani_override_type?
|
|
500
|
+
|
|
501
|
+
def ani_override_type=: (
|
|
502
|
+
Telnyx::Models::UacConnectionUpdateParams::Outbound::ani_override_type
|
|
503
|
+
) -> Telnyx::Models::UacConnectionUpdateParams::Outbound::ani_override_type
|
|
504
|
+
|
|
505
|
+
attr_accessor call_parking_enabled: bool?
|
|
506
|
+
|
|
507
|
+
attr_reader channel_limit: Integer?
|
|
508
|
+
|
|
509
|
+
def channel_limit=: (Integer) -> Integer
|
|
510
|
+
|
|
511
|
+
attr_reader generate_ringback_tone: bool?
|
|
512
|
+
|
|
513
|
+
def generate_ringback_tone=: (bool) -> bool
|
|
514
|
+
|
|
515
|
+
attr_reader instant_ringback_enabled: bool?
|
|
516
|
+
|
|
517
|
+
def instant_ringback_enabled=: (bool) -> bool
|
|
518
|
+
|
|
519
|
+
attr_reader localization: String?
|
|
520
|
+
|
|
521
|
+
def localization=: (String) -> String
|
|
522
|
+
|
|
523
|
+
attr_reader outbound_voice_profile_id: String?
|
|
524
|
+
|
|
525
|
+
def outbound_voice_profile_id=: (String) -> String
|
|
526
|
+
|
|
527
|
+
attr_reader t38_reinvite_source: Telnyx::Models::UacConnectionUpdateParams::Outbound::t38_reinvite_source?
|
|
528
|
+
|
|
529
|
+
def t38_reinvite_source=: (
|
|
530
|
+
Telnyx::Models::UacConnectionUpdateParams::Outbound::t38_reinvite_source
|
|
531
|
+
) -> Telnyx::Models::UacConnectionUpdateParams::Outbound::t38_reinvite_source
|
|
532
|
+
|
|
533
|
+
def initialize: (
|
|
534
|
+
?ani_override: String,
|
|
535
|
+
?ani_override_type: Telnyx::Models::UacConnectionUpdateParams::Outbound::ani_override_type,
|
|
536
|
+
?call_parking_enabled: bool?,
|
|
537
|
+
?channel_limit: Integer,
|
|
538
|
+
?generate_ringback_tone: bool,
|
|
539
|
+
?instant_ringback_enabled: bool,
|
|
540
|
+
?localization: String,
|
|
541
|
+
?outbound_voice_profile_id: String,
|
|
542
|
+
?t38_reinvite_source: Telnyx::Models::UacConnectionUpdateParams::Outbound::t38_reinvite_source
|
|
543
|
+
) -> void
|
|
544
|
+
|
|
545
|
+
def to_hash: -> {
|
|
546
|
+
ani_override: String,
|
|
547
|
+
ani_override_type: Telnyx::Models::UacConnectionUpdateParams::Outbound::ani_override_type,
|
|
548
|
+
call_parking_enabled: bool?,
|
|
549
|
+
channel_limit: Integer,
|
|
550
|
+
generate_ringback_tone: bool,
|
|
551
|
+
instant_ringback_enabled: bool,
|
|
552
|
+
localization: String,
|
|
553
|
+
outbound_voice_profile_id: String,
|
|
554
|
+
:t38_reinvite_source => Telnyx::Models::UacConnectionUpdateParams::Outbound::t38_reinvite_source
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
type ani_override_type = :always | :normal | :emergency
|
|
558
|
+
|
|
559
|
+
module AniOverrideType
|
|
560
|
+
extend Telnyx::Internal::Type::Enum
|
|
561
|
+
|
|
562
|
+
ALWAYS: :always
|
|
563
|
+
NORMAL: :normal
|
|
564
|
+
EMERGENCY: :emergency
|
|
565
|
+
|
|
566
|
+
def self?.values: -> ::Array[Telnyx::Models::UacConnectionUpdateParams::Outbound::ani_override_type]
|
|
567
|
+
end
|
|
568
|
+
|
|
569
|
+
type t38_reinvite_source =
|
|
570
|
+
:telnyx
|
|
571
|
+
| :customer
|
|
572
|
+
| :disabled
|
|
573
|
+
| :passthru
|
|
574
|
+
| :"caller-passthru"
|
|
575
|
+
| :"callee-passthru"
|
|
576
|
+
|
|
577
|
+
module T38ReinviteSource
|
|
578
|
+
extend Telnyx::Internal::Type::Enum
|
|
579
|
+
|
|
580
|
+
TELNYX: :telnyx
|
|
581
|
+
CUSTOMER: :customer
|
|
582
|
+
DISABLED: :disabled
|
|
583
|
+
PASSTHRU: :passthru
|
|
584
|
+
CALLER_PASSTHRU: :"caller-passthru"
|
|
585
|
+
CALLEE_PASSTHRU: :"callee-passthru"
|
|
586
|
+
|
|
587
|
+
def self?.values: -> ::Array[Telnyx::Models::UacConnectionUpdateParams::Outbound::t38_reinvite_source]
|
|
588
|
+
end
|
|
589
|
+
end
|
|
590
|
+
|
|
397
591
|
type sip_uri_calling_preference = :disabled | :unrestricted | :internal
|
|
398
592
|
|
|
399
593
|
module SipUriCallingPreference
|