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
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
module Telnyx
|
|
2
|
-
module Models
|
|
3
|
-
module Calls
|
|
4
|
-
type transcription_engine_xai_config =
|
|
5
|
-
{
|
|
6
|
-
interim_results: bool,
|
|
7
|
-
language: Telnyx::Models::Calls::TranscriptionEngineXaiConfig::language,
|
|
8
|
-
transcription_engine: Telnyx::Models::Calls::TranscriptionEngineXaiConfig::transcription_engine,
|
|
9
|
-
transcription_model: Telnyx::Models::Calls::TranscriptionEngineXaiConfig::transcription_model
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
class TranscriptionEngineXaiConfig < Telnyx::Internal::Type::BaseModel
|
|
13
|
-
attr_reader interim_results: bool?
|
|
14
|
-
|
|
15
|
-
def interim_results=: (bool) -> bool
|
|
16
|
-
|
|
17
|
-
attr_reader language: Telnyx::Models::Calls::TranscriptionEngineXaiConfig::language?
|
|
18
|
-
|
|
19
|
-
def language=: (
|
|
20
|
-
Telnyx::Models::Calls::TranscriptionEngineXaiConfig::language
|
|
21
|
-
) -> Telnyx::Models::Calls::TranscriptionEngineXaiConfig::language
|
|
22
|
-
|
|
23
|
-
attr_reader transcription_engine: Telnyx::Models::Calls::TranscriptionEngineXaiConfig::transcription_engine?
|
|
24
|
-
|
|
25
|
-
def transcription_engine=: (
|
|
26
|
-
Telnyx::Models::Calls::TranscriptionEngineXaiConfig::transcription_engine
|
|
27
|
-
) -> Telnyx::Models::Calls::TranscriptionEngineXaiConfig::transcription_engine
|
|
28
|
-
|
|
29
|
-
attr_reader transcription_model: Telnyx::Models::Calls::TranscriptionEngineXaiConfig::transcription_model?
|
|
30
|
-
|
|
31
|
-
def transcription_model=: (
|
|
32
|
-
Telnyx::Models::Calls::TranscriptionEngineXaiConfig::transcription_model
|
|
33
|
-
) -> Telnyx::Models::Calls::TranscriptionEngineXaiConfig::transcription_model
|
|
34
|
-
|
|
35
|
-
def initialize: (
|
|
36
|
-
?interim_results: bool,
|
|
37
|
-
?language: Telnyx::Models::Calls::TranscriptionEngineXaiConfig::language,
|
|
38
|
-
?transcription_engine: Telnyx::Models::Calls::TranscriptionEngineXaiConfig::transcription_engine,
|
|
39
|
-
?transcription_model: Telnyx::Models::Calls::TranscriptionEngineXaiConfig::transcription_model
|
|
40
|
-
) -> void
|
|
41
|
-
|
|
42
|
-
def to_hash: -> {
|
|
43
|
-
interim_results: bool,
|
|
44
|
-
language: Telnyx::Models::Calls::TranscriptionEngineXaiConfig::language,
|
|
45
|
-
transcription_engine: Telnyx::Models::Calls::TranscriptionEngineXaiConfig::transcription_engine,
|
|
46
|
-
transcription_model: Telnyx::Models::Calls::TranscriptionEngineXaiConfig::transcription_model
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
type language =
|
|
50
|
-
:ar
|
|
51
|
-
| :cs
|
|
52
|
-
| :da
|
|
53
|
-
| :de
|
|
54
|
-
| :en
|
|
55
|
-
| :es
|
|
56
|
-
| :fa
|
|
57
|
-
| :fil
|
|
58
|
-
| :fr
|
|
59
|
-
| :hi
|
|
60
|
-
| :id
|
|
61
|
-
| :it
|
|
62
|
-
| :ja
|
|
63
|
-
| :ko
|
|
64
|
-
| :mk
|
|
65
|
-
| :ms
|
|
66
|
-
| :nl
|
|
67
|
-
| :pl
|
|
68
|
-
| :pt
|
|
69
|
-
| :ro
|
|
70
|
-
| :ru
|
|
71
|
-
| :sv
|
|
72
|
-
| :th
|
|
73
|
-
| :tr
|
|
74
|
-
| :vi
|
|
75
|
-
|
|
76
|
-
module Language
|
|
77
|
-
extend Telnyx::Internal::Type::Enum
|
|
78
|
-
|
|
79
|
-
AR: :ar
|
|
80
|
-
CS: :cs
|
|
81
|
-
DA: :da
|
|
82
|
-
DE: :de
|
|
83
|
-
EN: :en
|
|
84
|
-
ES: :es
|
|
85
|
-
FA: :fa
|
|
86
|
-
FIL: :fil
|
|
87
|
-
FR: :fr
|
|
88
|
-
HI: :hi
|
|
89
|
-
ID: :id
|
|
90
|
-
IT: :it
|
|
91
|
-
JA: :ja
|
|
92
|
-
KO: :ko
|
|
93
|
-
MK: :mk
|
|
94
|
-
MS: :ms
|
|
95
|
-
NL: :nl
|
|
96
|
-
PL: :pl
|
|
97
|
-
PT: :pt
|
|
98
|
-
RO: :ro
|
|
99
|
-
RU: :ru
|
|
100
|
-
SV: :sv
|
|
101
|
-
TH: :th
|
|
102
|
-
TR: :tr
|
|
103
|
-
VI: :vi
|
|
104
|
-
|
|
105
|
-
def self?.values: -> ::Array[Telnyx::Models::Calls::TranscriptionEngineXaiConfig::language]
|
|
106
|
-
end
|
|
107
|
-
|
|
108
|
-
type transcription_engine = :xAI
|
|
109
|
-
|
|
110
|
-
module TranscriptionEngine
|
|
111
|
-
extend Telnyx::Internal::Type::Enum
|
|
112
|
-
|
|
113
|
-
X_AI: :xAI
|
|
114
|
-
|
|
115
|
-
def self?.values: -> ::Array[Telnyx::Models::Calls::TranscriptionEngineXaiConfig::transcription_engine]
|
|
116
|
-
end
|
|
117
|
-
|
|
118
|
-
type transcription_model = :"xai/grok-stt"
|
|
119
|
-
|
|
120
|
-
module TranscriptionModel
|
|
121
|
-
extend Telnyx::Internal::Type::Enum
|
|
122
|
-
|
|
123
|
-
XAI_GROK_STT: :"xai/grok-stt"
|
|
124
|
-
|
|
125
|
-
def self?.values: -> ::Array[Telnyx::Models::Calls::TranscriptionEngineXaiConfig::transcription_model]
|
|
126
|
-
end
|
|
127
|
-
end
|
|
128
|
-
end
|
|
129
|
-
end
|
|
130
|
-
end
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
module Telnyx
|
|
2
|
-
module Models
|
|
3
|
-
type model_metadata =
|
|
4
|
-
{ id: String, created: Integer, owned_by: String, object: String }
|
|
5
|
-
|
|
6
|
-
class ModelMetadata < Telnyx::Internal::Type::BaseModel
|
|
7
|
-
attr_accessor id: String
|
|
8
|
-
|
|
9
|
-
attr_accessor created: Integer
|
|
10
|
-
|
|
11
|
-
attr_accessor owned_by: String
|
|
12
|
-
|
|
13
|
-
attr_reader object: String?
|
|
14
|
-
|
|
15
|
-
def object=: (String) -> String
|
|
16
|
-
|
|
17
|
-
def initialize: (
|
|
18
|
-
id: String,
|
|
19
|
-
created: Integer,
|
|
20
|
-
owned_by: String,
|
|
21
|
-
?object: String
|
|
22
|
-
) -> void
|
|
23
|
-
|
|
24
|
-
def to_hash: -> {
|
|
25
|
-
id: String,
|
|
26
|
-
created: Integer,
|
|
27
|
-
owned_by: String,
|
|
28
|
-
object: String
|
|
29
|
-
}
|
|
30
|
-
end
|
|
31
|
-
end
|
|
32
|
-
end
|
|
@@ -1,338 +0,0 @@
|
|
|
1
|
-
module Telnyx
|
|
2
|
-
module Models
|
|
3
|
-
type uac_connection =
|
|
4
|
-
{
|
|
5
|
-
id: String,
|
|
6
|
-
active: bool,
|
|
7
|
-
anchorsite_override: Telnyx::Models::anchorsite_override,
|
|
8
|
-
android_push_credential_id: String?,
|
|
9
|
-
authentication: Telnyx::Models::UacConnection::authentication,
|
|
10
|
-
call_cost_in_webhooks: bool,
|
|
11
|
-
connection_name: String,
|
|
12
|
-
created_at: String,
|
|
13
|
-
default_on_hold_comfort_noise_enabled: bool,
|
|
14
|
-
dtmf_type: Telnyx::Models::dtmf_type,
|
|
15
|
-
encode_contact_header_enabled: bool,
|
|
16
|
-
encrypted_media: Telnyx::Models::encrypted_media?,
|
|
17
|
-
external_uac_settings: Telnyx::UacExternalSettings,
|
|
18
|
-
fqdn: String,
|
|
19
|
-
fqdn_outbound_authentication: Telnyx::Models::UacConnection::fqdn_outbound_authentication,
|
|
20
|
-
fqdns: ::Array[Telnyx::Fqdn],
|
|
21
|
-
inbound: Telnyx::UacInbound,
|
|
22
|
-
internal_uac_settings: Telnyx::UacInternalSettings,
|
|
23
|
-
ios_push_credential_id: String?,
|
|
24
|
-
jitter_buffer: Telnyx::ConnectionJitterBuffer,
|
|
25
|
-
noise_suppression: Telnyx::Models::UacConnection::noise_suppression,
|
|
26
|
-
noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails,
|
|
27
|
-
:onnet_t38_passthrough_enabled => bool,
|
|
28
|
-
outbound: Telnyx::UacOutbound,
|
|
29
|
-
password: String,
|
|
30
|
-
record_type: String,
|
|
31
|
-
registration_status: String?,
|
|
32
|
-
registration_status_updated_at: String?,
|
|
33
|
-
rtcp_settings: Telnyx::ConnectionRtcpSettings,
|
|
34
|
-
sip_uri_calling_preference: Telnyx::Models::UacConnection::sip_uri_calling_preference,
|
|
35
|
-
tags: ::Array[String],
|
|
36
|
-
updated_at: String,
|
|
37
|
-
user_name: String,
|
|
38
|
-
webhook_api_version: Telnyx::Models::UacConnection::webhook_api_version,
|
|
39
|
-
webhook_event_failover_url: String?,
|
|
40
|
-
webhook_event_url: String,
|
|
41
|
-
webhook_timeout_secs: Integer?
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
class UacConnection < Telnyx::Internal::Type::BaseModel
|
|
45
|
-
attr_reader id: String?
|
|
46
|
-
|
|
47
|
-
def id=: (String) -> String
|
|
48
|
-
|
|
49
|
-
attr_reader active: bool?
|
|
50
|
-
|
|
51
|
-
def active=: (bool) -> bool
|
|
52
|
-
|
|
53
|
-
attr_reader anchorsite_override: Telnyx::Models::anchorsite_override?
|
|
54
|
-
|
|
55
|
-
def anchorsite_override=: (
|
|
56
|
-
Telnyx::Models::anchorsite_override
|
|
57
|
-
) -> Telnyx::Models::anchorsite_override
|
|
58
|
-
|
|
59
|
-
attr_accessor android_push_credential_id: String?
|
|
60
|
-
|
|
61
|
-
attr_reader authentication: Telnyx::Models::UacConnection::authentication?
|
|
62
|
-
|
|
63
|
-
def authentication=: (
|
|
64
|
-
Telnyx::Models::UacConnection::authentication
|
|
65
|
-
) -> Telnyx::Models::UacConnection::authentication
|
|
66
|
-
|
|
67
|
-
attr_reader call_cost_in_webhooks: bool?
|
|
68
|
-
|
|
69
|
-
def call_cost_in_webhooks=: (bool) -> bool
|
|
70
|
-
|
|
71
|
-
attr_reader connection_name: String?
|
|
72
|
-
|
|
73
|
-
def connection_name=: (String) -> String
|
|
74
|
-
|
|
75
|
-
attr_reader created_at: String?
|
|
76
|
-
|
|
77
|
-
def created_at=: (String) -> String
|
|
78
|
-
|
|
79
|
-
attr_reader default_on_hold_comfort_noise_enabled: bool?
|
|
80
|
-
|
|
81
|
-
def default_on_hold_comfort_noise_enabled=: (bool) -> bool
|
|
82
|
-
|
|
83
|
-
attr_reader dtmf_type: Telnyx::Models::dtmf_type?
|
|
84
|
-
|
|
85
|
-
def dtmf_type=: (Telnyx::Models::dtmf_type) -> Telnyx::Models::dtmf_type
|
|
86
|
-
|
|
87
|
-
attr_reader encode_contact_header_enabled: bool?
|
|
88
|
-
|
|
89
|
-
def encode_contact_header_enabled=: (bool) -> bool
|
|
90
|
-
|
|
91
|
-
attr_accessor encrypted_media: Telnyx::Models::encrypted_media?
|
|
92
|
-
|
|
93
|
-
attr_reader external_uac_settings: Telnyx::UacExternalSettings?
|
|
94
|
-
|
|
95
|
-
def external_uac_settings=: (
|
|
96
|
-
Telnyx::UacExternalSettings
|
|
97
|
-
) -> Telnyx::UacExternalSettings
|
|
98
|
-
|
|
99
|
-
attr_reader fqdn: String?
|
|
100
|
-
|
|
101
|
-
def fqdn=: (String) -> String
|
|
102
|
-
|
|
103
|
-
attr_reader fqdn_outbound_authentication: Telnyx::Models::UacConnection::fqdn_outbound_authentication?
|
|
104
|
-
|
|
105
|
-
def fqdn_outbound_authentication=: (
|
|
106
|
-
Telnyx::Models::UacConnection::fqdn_outbound_authentication
|
|
107
|
-
) -> Telnyx::Models::UacConnection::fqdn_outbound_authentication
|
|
108
|
-
|
|
109
|
-
attr_reader fqdns: ::Array[Telnyx::Fqdn]?
|
|
110
|
-
|
|
111
|
-
def fqdns=: (::Array[Telnyx::Fqdn]) -> ::Array[Telnyx::Fqdn]
|
|
112
|
-
|
|
113
|
-
attr_reader inbound: Telnyx::UacInbound?
|
|
114
|
-
|
|
115
|
-
def inbound=: (Telnyx::UacInbound) -> Telnyx::UacInbound
|
|
116
|
-
|
|
117
|
-
attr_reader internal_uac_settings: Telnyx::UacInternalSettings?
|
|
118
|
-
|
|
119
|
-
def internal_uac_settings=: (
|
|
120
|
-
Telnyx::UacInternalSettings
|
|
121
|
-
) -> Telnyx::UacInternalSettings
|
|
122
|
-
|
|
123
|
-
attr_accessor ios_push_credential_id: String?
|
|
124
|
-
|
|
125
|
-
attr_reader jitter_buffer: Telnyx::ConnectionJitterBuffer?
|
|
126
|
-
|
|
127
|
-
def jitter_buffer=: (
|
|
128
|
-
Telnyx::ConnectionJitterBuffer
|
|
129
|
-
) -> Telnyx::ConnectionJitterBuffer
|
|
130
|
-
|
|
131
|
-
attr_reader noise_suppression: Telnyx::Models::UacConnection::noise_suppression?
|
|
132
|
-
|
|
133
|
-
def noise_suppression=: (
|
|
134
|
-
Telnyx::Models::UacConnection::noise_suppression
|
|
135
|
-
) -> Telnyx::Models::UacConnection::noise_suppression
|
|
136
|
-
|
|
137
|
-
attr_reader noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails?
|
|
138
|
-
|
|
139
|
-
def noise_suppression_details=: (
|
|
140
|
-
Telnyx::ConnectionNoiseSuppressionDetails
|
|
141
|
-
) -> Telnyx::ConnectionNoiseSuppressionDetails
|
|
142
|
-
|
|
143
|
-
attr_reader onnet_t38_passthrough_enabled: bool?
|
|
144
|
-
|
|
145
|
-
def onnet_t38_passthrough_enabled=: (bool) -> bool
|
|
146
|
-
|
|
147
|
-
attr_reader outbound: Telnyx::UacOutbound?
|
|
148
|
-
|
|
149
|
-
def outbound=: (Telnyx::UacOutbound) -> Telnyx::UacOutbound
|
|
150
|
-
|
|
151
|
-
attr_reader password: String?
|
|
152
|
-
|
|
153
|
-
def password=: (String) -> String
|
|
154
|
-
|
|
155
|
-
attr_reader record_type: String?
|
|
156
|
-
|
|
157
|
-
def record_type=: (String) -> String
|
|
158
|
-
|
|
159
|
-
attr_accessor registration_status: String?
|
|
160
|
-
|
|
161
|
-
attr_accessor registration_status_updated_at: String?
|
|
162
|
-
|
|
163
|
-
attr_reader rtcp_settings: Telnyx::ConnectionRtcpSettings?
|
|
164
|
-
|
|
165
|
-
def rtcp_settings=: (
|
|
166
|
-
Telnyx::ConnectionRtcpSettings
|
|
167
|
-
) -> Telnyx::ConnectionRtcpSettings
|
|
168
|
-
|
|
169
|
-
attr_reader sip_uri_calling_preference: Telnyx::Models::UacConnection::sip_uri_calling_preference?
|
|
170
|
-
|
|
171
|
-
def sip_uri_calling_preference=: (
|
|
172
|
-
Telnyx::Models::UacConnection::sip_uri_calling_preference
|
|
173
|
-
) -> Telnyx::Models::UacConnection::sip_uri_calling_preference
|
|
174
|
-
|
|
175
|
-
attr_reader tags: ::Array[String]?
|
|
176
|
-
|
|
177
|
-
def tags=: (::Array[String]) -> ::Array[String]
|
|
178
|
-
|
|
179
|
-
attr_reader updated_at: String?
|
|
180
|
-
|
|
181
|
-
def updated_at=: (String) -> String
|
|
182
|
-
|
|
183
|
-
attr_reader user_name: String?
|
|
184
|
-
|
|
185
|
-
def user_name=: (String) -> String
|
|
186
|
-
|
|
187
|
-
attr_reader webhook_api_version: Telnyx::Models::UacConnection::webhook_api_version?
|
|
188
|
-
|
|
189
|
-
def webhook_api_version=: (
|
|
190
|
-
Telnyx::Models::UacConnection::webhook_api_version
|
|
191
|
-
) -> Telnyx::Models::UacConnection::webhook_api_version
|
|
192
|
-
|
|
193
|
-
attr_accessor webhook_event_failover_url: String?
|
|
194
|
-
|
|
195
|
-
attr_reader webhook_event_url: String?
|
|
196
|
-
|
|
197
|
-
def webhook_event_url=: (String) -> String
|
|
198
|
-
|
|
199
|
-
attr_accessor webhook_timeout_secs: Integer?
|
|
200
|
-
|
|
201
|
-
def initialize: (
|
|
202
|
-
?id: String,
|
|
203
|
-
?active: bool,
|
|
204
|
-
?anchorsite_override: Telnyx::Models::anchorsite_override,
|
|
205
|
-
?android_push_credential_id: String?,
|
|
206
|
-
?authentication: Telnyx::Models::UacConnection::authentication,
|
|
207
|
-
?call_cost_in_webhooks: bool,
|
|
208
|
-
?connection_name: String,
|
|
209
|
-
?created_at: String,
|
|
210
|
-
?default_on_hold_comfort_noise_enabled: bool,
|
|
211
|
-
?dtmf_type: Telnyx::Models::dtmf_type,
|
|
212
|
-
?encode_contact_header_enabled: bool,
|
|
213
|
-
?encrypted_media: Telnyx::Models::encrypted_media?,
|
|
214
|
-
?external_uac_settings: Telnyx::UacExternalSettings,
|
|
215
|
-
?fqdn: String,
|
|
216
|
-
?fqdn_outbound_authentication: Telnyx::Models::UacConnection::fqdn_outbound_authentication,
|
|
217
|
-
?fqdns: ::Array[Telnyx::Fqdn],
|
|
218
|
-
?inbound: Telnyx::UacInbound,
|
|
219
|
-
?internal_uac_settings: Telnyx::UacInternalSettings,
|
|
220
|
-
?ios_push_credential_id: String?,
|
|
221
|
-
?jitter_buffer: Telnyx::ConnectionJitterBuffer,
|
|
222
|
-
?noise_suppression: Telnyx::Models::UacConnection::noise_suppression,
|
|
223
|
-
?noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails,
|
|
224
|
-
?onnet_t38_passthrough_enabled: bool,
|
|
225
|
-
?outbound: Telnyx::UacOutbound,
|
|
226
|
-
?password: String,
|
|
227
|
-
?record_type: String,
|
|
228
|
-
?registration_status: String?,
|
|
229
|
-
?registration_status_updated_at: String?,
|
|
230
|
-
?rtcp_settings: Telnyx::ConnectionRtcpSettings,
|
|
231
|
-
?sip_uri_calling_preference: Telnyx::Models::UacConnection::sip_uri_calling_preference,
|
|
232
|
-
?tags: ::Array[String],
|
|
233
|
-
?updated_at: String,
|
|
234
|
-
?user_name: String,
|
|
235
|
-
?webhook_api_version: Telnyx::Models::UacConnection::webhook_api_version,
|
|
236
|
-
?webhook_event_failover_url: String?,
|
|
237
|
-
?webhook_event_url: String,
|
|
238
|
-
?webhook_timeout_secs: Integer?
|
|
239
|
-
) -> void
|
|
240
|
-
|
|
241
|
-
def to_hash: -> {
|
|
242
|
-
id: String,
|
|
243
|
-
active: bool,
|
|
244
|
-
anchorsite_override: Telnyx::Models::anchorsite_override,
|
|
245
|
-
android_push_credential_id: String?,
|
|
246
|
-
authentication: Telnyx::Models::UacConnection::authentication,
|
|
247
|
-
call_cost_in_webhooks: bool,
|
|
248
|
-
connection_name: String,
|
|
249
|
-
created_at: String,
|
|
250
|
-
default_on_hold_comfort_noise_enabled: bool,
|
|
251
|
-
dtmf_type: Telnyx::Models::dtmf_type,
|
|
252
|
-
encode_contact_header_enabled: bool,
|
|
253
|
-
encrypted_media: Telnyx::Models::encrypted_media?,
|
|
254
|
-
external_uac_settings: Telnyx::UacExternalSettings,
|
|
255
|
-
fqdn: String,
|
|
256
|
-
fqdn_outbound_authentication: Telnyx::Models::UacConnection::fqdn_outbound_authentication,
|
|
257
|
-
fqdns: ::Array[Telnyx::Fqdn],
|
|
258
|
-
inbound: Telnyx::UacInbound,
|
|
259
|
-
internal_uac_settings: Telnyx::UacInternalSettings,
|
|
260
|
-
ios_push_credential_id: String?,
|
|
261
|
-
jitter_buffer: Telnyx::ConnectionJitterBuffer,
|
|
262
|
-
noise_suppression: Telnyx::Models::UacConnection::noise_suppression,
|
|
263
|
-
noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails,
|
|
264
|
-
:onnet_t38_passthrough_enabled => bool,
|
|
265
|
-
outbound: Telnyx::UacOutbound,
|
|
266
|
-
password: String,
|
|
267
|
-
record_type: String,
|
|
268
|
-
registration_status: String?,
|
|
269
|
-
registration_status_updated_at: String?,
|
|
270
|
-
rtcp_settings: Telnyx::ConnectionRtcpSettings,
|
|
271
|
-
sip_uri_calling_preference: Telnyx::Models::UacConnection::sip_uri_calling_preference,
|
|
272
|
-
tags: ::Array[String],
|
|
273
|
-
updated_at: String,
|
|
274
|
-
user_name: String,
|
|
275
|
-
webhook_api_version: Telnyx::Models::UacConnection::webhook_api_version,
|
|
276
|
-
webhook_event_failover_url: String?,
|
|
277
|
-
webhook_event_url: String,
|
|
278
|
-
webhook_timeout_secs: Integer?
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
type authentication = :"uac-authentication"
|
|
282
|
-
|
|
283
|
-
module Authentication
|
|
284
|
-
extend Telnyx::Internal::Type::Enum
|
|
285
|
-
|
|
286
|
-
UAC_AUTHENTICATION: :"uac-authentication"
|
|
287
|
-
|
|
288
|
-
def self?.values: -> ::Array[Telnyx::Models::UacConnection::authentication]
|
|
289
|
-
end
|
|
290
|
-
|
|
291
|
-
type fqdn_outbound_authentication = :"credential-authentication"
|
|
292
|
-
|
|
293
|
-
module FqdnOutboundAuthentication
|
|
294
|
-
extend Telnyx::Internal::Type::Enum
|
|
295
|
-
|
|
296
|
-
CREDENTIAL_AUTHENTICATION: :"credential-authentication"
|
|
297
|
-
|
|
298
|
-
def self?.values: -> ::Array[Telnyx::Models::UacConnection::fqdn_outbound_authentication]
|
|
299
|
-
end
|
|
300
|
-
|
|
301
|
-
type noise_suppression = :inbound | :outbound | :both | :disabled
|
|
302
|
-
|
|
303
|
-
module NoiseSuppression
|
|
304
|
-
extend Telnyx::Internal::Type::Enum
|
|
305
|
-
|
|
306
|
-
INBOUND: :inbound
|
|
307
|
-
OUTBOUND: :outbound
|
|
308
|
-
BOTH: :both
|
|
309
|
-
DISABLED: :disabled
|
|
310
|
-
|
|
311
|
-
def self?.values: -> ::Array[Telnyx::Models::UacConnection::noise_suppression]
|
|
312
|
-
end
|
|
313
|
-
|
|
314
|
-
type sip_uri_calling_preference = :disabled | :unrestricted | :internal
|
|
315
|
-
|
|
316
|
-
module SipUriCallingPreference
|
|
317
|
-
extend Telnyx::Internal::Type::Enum
|
|
318
|
-
|
|
319
|
-
DISABLED: :disabled
|
|
320
|
-
UNRESTRICTED: :unrestricted
|
|
321
|
-
INTERNAL: :internal
|
|
322
|
-
|
|
323
|
-
def self?.values: -> ::Array[Telnyx::Models::UacConnection::sip_uri_calling_preference]
|
|
324
|
-
end
|
|
325
|
-
|
|
326
|
-
type webhook_api_version = :"1" | :"2"
|
|
327
|
-
|
|
328
|
-
module WebhookAPIVersion
|
|
329
|
-
extend Telnyx::Internal::Type::Enum
|
|
330
|
-
|
|
331
|
-
V1: :"1"
|
|
332
|
-
V2: :"2"
|
|
333
|
-
|
|
334
|
-
def self?.values: -> ::Array[Telnyx::Models::UacConnection::webhook_api_version]
|
|
335
|
-
end
|
|
336
|
-
end
|
|
337
|
-
end
|
|
338
|
-
end
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
module Telnyx
|
|
2
|
-
module Models
|
|
3
|
-
type uac_external_settings =
|
|
4
|
-
{
|
|
5
|
-
auth_username: String?,
|
|
6
|
-
expiration_sec: Integer?,
|
|
7
|
-
from_user: String?,
|
|
8
|
-
outbound_proxy: String?,
|
|
9
|
-
password: String,
|
|
10
|
-
proxy: String,
|
|
11
|
-
transport: Telnyx::Models::UacExternalSettings::transport?,
|
|
12
|
-
username: String
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
class UacExternalSettings < Telnyx::Internal::Type::BaseModel
|
|
16
|
-
attr_accessor auth_username: String?
|
|
17
|
-
|
|
18
|
-
attr_accessor expiration_sec: Integer?
|
|
19
|
-
|
|
20
|
-
attr_accessor from_user: String?
|
|
21
|
-
|
|
22
|
-
attr_accessor outbound_proxy: String?
|
|
23
|
-
|
|
24
|
-
attr_reader password: String?
|
|
25
|
-
|
|
26
|
-
def password=: (String) -> String
|
|
27
|
-
|
|
28
|
-
attr_reader proxy: String?
|
|
29
|
-
|
|
30
|
-
def proxy=: (String) -> String
|
|
31
|
-
|
|
32
|
-
attr_accessor transport: Telnyx::Models::UacExternalSettings::transport?
|
|
33
|
-
|
|
34
|
-
attr_reader username: String?
|
|
35
|
-
|
|
36
|
-
def username=: (String) -> String
|
|
37
|
-
|
|
38
|
-
def initialize: (
|
|
39
|
-
?auth_username: String?,
|
|
40
|
-
?expiration_sec: Integer?,
|
|
41
|
-
?from_user: String?,
|
|
42
|
-
?outbound_proxy: String?,
|
|
43
|
-
?password: String,
|
|
44
|
-
?proxy: String,
|
|
45
|
-
?transport: Telnyx::Models::UacExternalSettings::transport?,
|
|
46
|
-
?username: String
|
|
47
|
-
) -> void
|
|
48
|
-
|
|
49
|
-
def to_hash: -> {
|
|
50
|
-
auth_username: String?,
|
|
51
|
-
expiration_sec: Integer?,
|
|
52
|
-
from_user: String?,
|
|
53
|
-
outbound_proxy: String?,
|
|
54
|
-
password: String,
|
|
55
|
-
proxy: String,
|
|
56
|
-
transport: Telnyx::Models::UacExternalSettings::transport?,
|
|
57
|
-
username: String
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
type transport = :UDP | :TLS | :TCP
|
|
61
|
-
|
|
62
|
-
module Transport
|
|
63
|
-
extend Telnyx::Internal::Type::Enum
|
|
64
|
-
|
|
65
|
-
UDP: :UDP
|
|
66
|
-
TLS: :TLS
|
|
67
|
-
TCP: :TCP
|
|
68
|
-
|
|
69
|
-
def self?.values: -> ::Array[Telnyx::Models::UacExternalSettings::transport]
|
|
70
|
-
end
|
|
71
|
-
end
|
|
72
|
-
end
|
|
73
|
-
end
|