telnyx 5.98.0 → 5.100.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 +21 -0
- data/README.md +1 -1
- data/lib/telnyx/client.rb +5 -0
- data/lib/telnyx/models/ai/assistant_create_params.rb +9 -231
- data/lib/telnyx/models/ai/assistant_update_params.rb +9 -231
- data/lib/telnyx/models/ai/assistants/canary_deploy.rb +128 -7
- data/lib/telnyx/models/ai/assistants/canary_deploy_response.rb +131 -7
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +9 -236
- data/lib/telnyx/models/ai/external_llm.rb +89 -0
- data/lib/telnyx/models/ai/external_llm_req.rb +89 -0
- data/lib/telnyx/models/ai/fallback_config.rb +37 -0
- data/lib/telnyx/models/ai/fallback_config_req.rb +37 -0
- data/lib/telnyx/models/ai/inference_embedding.rb +9 -234
- data/lib/telnyx/models/ai/post_conversation_settings.rb +30 -0
- data/lib/telnyx/models/ai/post_conversation_settings_req.rb +30 -0
- data/lib/telnyx/models/calls/action_gather_using_ai_params.rb +26 -3
- data/lib/telnyx/models/calls/action_gather_using_speak_params.rb +26 -3
- data/lib/telnyx/models/calls/action_speak_params.rb +26 -3
- data/lib/telnyx/models/calls/action_start_ai_assistant_params.rb +26 -3
- data/lib/telnyx/models/conferences/action_speak_params.rb +26 -3
- data/lib/telnyx/models/uac_connection_create_params.rb +738 -0
- data/lib/telnyx/models/uac_connection_create_response.rb +898 -0
- data/lib/telnyx/models/uac_connection_delete_params.rb +20 -0
- data/lib/telnyx/models/uac_connection_delete_response.rb +898 -0
- data/lib/telnyx/models/uac_connection_list_params.rb +143 -0
- data/lib/telnyx/models/uac_connection_list_response.rb +876 -0
- data/lib/telnyx/models/uac_connection_retrieve_params.rb +20 -0
- data/lib/telnyx/models/uac_connection_retrieve_response.rb +899 -0
- data/lib/telnyx/models/uac_connection_update_params.rb +740 -0
- data/lib/telnyx/models/uac_connection_update_response.rb +898 -0
- data/lib/telnyx/models/uac_connections/action_check_registration_status_params.rb +22 -0
- data/lib/telnyx/models/uac_connections/action_check_registration_status_response.rb +104 -0
- data/lib/telnyx/models.rb +12 -0
- data/lib/telnyx/resources/ai/assistants/canary_deploys.rb +6 -10
- 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 +4 -4
- data/lib/telnyx/resources/conferences/actions.rb +1 -1
- data/lib/telnyx/resources/uac_connections/actions.rb +39 -0
- data/lib/telnyx/resources/uac_connections.rb +256 -0
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +20 -1
- data/rbi/telnyx/client.rbi +4 -0
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +12 -463
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +12 -463
- data/rbi/telnyx/models/ai/assistants/canary_deploy.rbi +303 -10
- data/rbi/telnyx/models/ai/assistants/canary_deploy_response.rbi +309 -9
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +12 -469
- data/rbi/telnyx/models/ai/external_llm.rbi +161 -0
- data/rbi/telnyx/models/ai/external_llm_req.rbi +161 -0
- data/rbi/telnyx/models/ai/fallback_config.rbi +64 -0
- data/rbi/telnyx/models/ai/fallback_config_req.rbi +64 -0
- data/rbi/telnyx/models/ai/inference_embedding.rbi +12 -460
- data/rbi/telnyx/models/ai/post_conversation_settings.rbi +45 -0
- data/rbi/telnyx/models/ai/post_conversation_settings_req.rbi +45 -0
- data/rbi/telnyx/models/calls/action_gather_using_ai_params.rbi +50 -5
- data/rbi/telnyx/models/calls/action_gather_using_speak_params.rbi +50 -5
- data/rbi/telnyx/models/calls/action_speak_params.rbi +50 -5
- data/rbi/telnyx/models/calls/action_start_ai_assistant_params.rbi +50 -5
- data/rbi/telnyx/models/conferences/action_speak_params.rbi +50 -5
- data/rbi/telnyx/models/uac_connection_create_params.rbi +1465 -0
- data/rbi/telnyx/models/uac_connection_create_response.rbi +1793 -0
- data/rbi/telnyx/models/uac_connection_delete_params.rbi +35 -0
- data/rbi/telnyx/models/uac_connection_delete_response.rbi +1793 -0
- data/rbi/telnyx/models/uac_connection_list_params.rbi +261 -0
- data/rbi/telnyx/models/uac_connection_list_response.rbi +1727 -0
- data/rbi/telnyx/models/uac_connection_retrieve_params.rbi +35 -0
- data/rbi/telnyx/models/uac_connection_retrieve_response.rbi +1793 -0
- data/rbi/telnyx/models/uac_connection_update_params.rbi +1463 -0
- data/rbi/telnyx/models/uac_connection_update_response.rbi +1793 -0
- data/rbi/telnyx/models/uac_connections/action_check_registration_status_params.rbi +40 -0
- data/rbi/telnyx/models/uac_connections/action_check_registration_status_response.rbi +237 -0
- data/rbi/telnyx/models.rbi +12 -0
- data/rbi/telnyx/resources/ai/assistants/canary_deploys.rbi +6 -14
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +3 -5
- data/rbi/telnyx/resources/ai/assistants.rbi +6 -10
- data/rbi/telnyx/resources/calls/actions.rbi +16 -4
- data/rbi/telnyx/resources/conferences/actions.rbi +4 -1
- data/rbi/telnyx/resources/uac_connections/actions.rbi +33 -0
- data/rbi/telnyx/resources/uac_connections.rbi +348 -0
- data/sig/telnyx/client.rbs +2 -0
- data/sig/telnyx/models/ai/assistant_create_params.rbs +18 -205
- data/sig/telnyx/models/ai/assistant_update_params.rbs +18 -205
- data/sig/telnyx/models/ai/assistants/canary_deploy.rbs +113 -4
- data/sig/telnyx/models/ai/assistants/canary_deploy_response.rbs +113 -8
- data/sig/telnyx/models/ai/assistants/update_assistant.rbs +18 -205
- data/sig/telnyx/models/ai/external_llm.rbs +75 -0
- data/sig/telnyx/models/ai/external_llm_req.rbs +75 -0
- data/sig/telnyx/models/ai/fallback_config.rbs +38 -0
- data/sig/telnyx/models/ai/fallback_config_req.rbs +40 -0
- data/sig/telnyx/models/ai/inference_embedding.rbs +17 -206
- data/sig/telnyx/models/ai/post_conversation_settings.rbs +17 -0
- data/sig/telnyx/models/ai/post_conversation_settings_req.rbs +17 -0
- data/sig/telnyx/models/calls/action_gather_using_ai_params.rbs +15 -0
- data/sig/telnyx/models/calls/action_gather_using_speak_params.rbs +15 -0
- data/sig/telnyx/models/calls/action_speak_params.rbs +15 -0
- data/sig/telnyx/models/calls/action_start_ai_assistant_params.rbs +15 -0
- data/sig/telnyx/models/conferences/action_speak_params.rbs +15 -0
- data/sig/telnyx/models/uac_connection_create_params.rbs +609 -0
- data/sig/telnyx/models/uac_connection_create_response.rbs +741 -0
- data/sig/telnyx/models/uac_connection_delete_params.rbs +20 -0
- data/sig/telnyx/models/uac_connection_delete_response.rbs +741 -0
- data/sig/telnyx/models/uac_connection_list_params.rbs +112 -0
- data/sig/telnyx/models/uac_connection_list_response.rbs +722 -0
- data/sig/telnyx/models/uac_connection_retrieve_params.rbs +20 -0
- data/sig/telnyx/models/uac_connection_retrieve_response.rbs +741 -0
- data/sig/telnyx/models/uac_connection_update_params.rbs +615 -0
- data/sig/telnyx/models/uac_connection_update_response.rbs +741 -0
- data/sig/telnyx/models/uac_connections/action_check_registration_status_params.rbs +22 -0
- data/sig/telnyx/models/uac_connections/action_check_registration_status_response.rbs +117 -0
- data/sig/telnyx/models.rbs +12 -0
- data/sig/telnyx/resources/ai/assistants/canary_deploys.rbs +2 -2
- 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/actions.rbs +14 -0
- data/sig/telnyx/resources/uac_connections.rbs +90 -0
- metadata +62 -5
- data/lib/telnyx/models/ai/assistants/version_config.rb +0 -30
- data/rbi/telnyx/models/ai/assistants/version_config.rbi +0 -45
- data/sig/telnyx/models/ai/assistants/version_config.rbs +0 -19
|
@@ -0,0 +1,741 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
type uac_connection_create_response =
|
|
4
|
+
{ data: Telnyx::Models::UacConnectionCreateResponse::Data }
|
|
5
|
+
|
|
6
|
+
class UacConnectionCreateResponse < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
attr_reader data: Telnyx::Models::UacConnectionCreateResponse::Data?
|
|
8
|
+
|
|
9
|
+
def data=: (
|
|
10
|
+
Telnyx::Models::UacConnectionCreateResponse::Data
|
|
11
|
+
) -> Telnyx::Models::UacConnectionCreateResponse::Data
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
?data: Telnyx::Models::UacConnectionCreateResponse::Data
|
|
15
|
+
) -> void
|
|
16
|
+
|
|
17
|
+
def to_hash: -> {
|
|
18
|
+
data: Telnyx::Models::UacConnectionCreateResponse::Data
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
type data =
|
|
22
|
+
{
|
|
23
|
+
id: String,
|
|
24
|
+
active: bool,
|
|
25
|
+
anchorsite_override: Telnyx::Models::anchorsite_override,
|
|
26
|
+
android_push_credential_id: String?,
|
|
27
|
+
authentication: Telnyx::Models::UacConnectionCreateResponse::Data::authentication,
|
|
28
|
+
call_cost_in_webhooks: bool,
|
|
29
|
+
connection_name: String,
|
|
30
|
+
created_at: String,
|
|
31
|
+
default_on_hold_comfort_noise_enabled: bool,
|
|
32
|
+
dtmf_type: Telnyx::Models::dtmf_type,
|
|
33
|
+
encode_contact_header_enabled: bool,
|
|
34
|
+
encrypted_media: Telnyx::Models::encrypted_media?,
|
|
35
|
+
external_uac_settings: Telnyx::Models::UacConnectionCreateResponse::Data::ExternalUacSettings,
|
|
36
|
+
fqdn: String,
|
|
37
|
+
fqdn_outbound_authentication: Telnyx::Models::UacConnectionCreateResponse::Data::fqdn_outbound_authentication,
|
|
38
|
+
fqdns: ::Array[Telnyx::Fqdn],
|
|
39
|
+
inbound: Telnyx::Models::UacConnectionCreateResponse::Data::Inbound,
|
|
40
|
+
internal_uac_settings: Telnyx::Models::UacConnectionCreateResponse::Data::InternalUacSettings,
|
|
41
|
+
ios_push_credential_id: String?,
|
|
42
|
+
jitter_buffer: Telnyx::ConnectionJitterBuffer,
|
|
43
|
+
noise_suppression: Telnyx::Models::UacConnectionCreateResponse::Data::noise_suppression,
|
|
44
|
+
noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails,
|
|
45
|
+
:onnet_t38_passthrough_enabled => bool,
|
|
46
|
+
outbound: Telnyx::Models::UacConnectionCreateResponse::Data::Outbound,
|
|
47
|
+
password: String,
|
|
48
|
+
record_type: String,
|
|
49
|
+
registration_status: String?,
|
|
50
|
+
registration_status_updated_at: String?,
|
|
51
|
+
rtcp_settings: Telnyx::ConnectionRtcpSettings,
|
|
52
|
+
sip_uri_calling_preference: Telnyx::Models::UacConnectionCreateResponse::Data::sip_uri_calling_preference,
|
|
53
|
+
tags: ::Array[String],
|
|
54
|
+
updated_at: String,
|
|
55
|
+
user_name: String,
|
|
56
|
+
webhook_api_version: Telnyx::Models::UacConnectionCreateResponse::Data::webhook_api_version,
|
|
57
|
+
webhook_event_failover_url: String?,
|
|
58
|
+
webhook_event_url: String,
|
|
59
|
+
webhook_timeout_secs: Integer?
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
63
|
+
attr_reader id: String?
|
|
64
|
+
|
|
65
|
+
def id=: (String) -> String
|
|
66
|
+
|
|
67
|
+
attr_reader active: bool?
|
|
68
|
+
|
|
69
|
+
def active=: (bool) -> bool
|
|
70
|
+
|
|
71
|
+
attr_reader anchorsite_override: Telnyx::Models::anchorsite_override?
|
|
72
|
+
|
|
73
|
+
def anchorsite_override=: (
|
|
74
|
+
Telnyx::Models::anchorsite_override
|
|
75
|
+
) -> Telnyx::Models::anchorsite_override
|
|
76
|
+
|
|
77
|
+
attr_accessor android_push_credential_id: String?
|
|
78
|
+
|
|
79
|
+
attr_reader authentication: Telnyx::Models::UacConnectionCreateResponse::Data::authentication?
|
|
80
|
+
|
|
81
|
+
def authentication=: (
|
|
82
|
+
Telnyx::Models::UacConnectionCreateResponse::Data::authentication
|
|
83
|
+
) -> Telnyx::Models::UacConnectionCreateResponse::Data::authentication
|
|
84
|
+
|
|
85
|
+
attr_reader call_cost_in_webhooks: bool?
|
|
86
|
+
|
|
87
|
+
def call_cost_in_webhooks=: (bool) -> bool
|
|
88
|
+
|
|
89
|
+
attr_reader connection_name: String?
|
|
90
|
+
|
|
91
|
+
def connection_name=: (String) -> String
|
|
92
|
+
|
|
93
|
+
attr_reader created_at: String?
|
|
94
|
+
|
|
95
|
+
def created_at=: (String) -> String
|
|
96
|
+
|
|
97
|
+
attr_reader default_on_hold_comfort_noise_enabled: bool?
|
|
98
|
+
|
|
99
|
+
def default_on_hold_comfort_noise_enabled=: (bool) -> bool
|
|
100
|
+
|
|
101
|
+
attr_reader dtmf_type: Telnyx::Models::dtmf_type?
|
|
102
|
+
|
|
103
|
+
def dtmf_type=: (Telnyx::Models::dtmf_type) -> Telnyx::Models::dtmf_type
|
|
104
|
+
|
|
105
|
+
attr_reader encode_contact_header_enabled: bool?
|
|
106
|
+
|
|
107
|
+
def encode_contact_header_enabled=: (bool) -> bool
|
|
108
|
+
|
|
109
|
+
attr_accessor encrypted_media: Telnyx::Models::encrypted_media?
|
|
110
|
+
|
|
111
|
+
attr_reader external_uac_settings: Telnyx::Models::UacConnectionCreateResponse::Data::ExternalUacSettings?
|
|
112
|
+
|
|
113
|
+
def external_uac_settings=: (
|
|
114
|
+
Telnyx::Models::UacConnectionCreateResponse::Data::ExternalUacSettings
|
|
115
|
+
) -> Telnyx::Models::UacConnectionCreateResponse::Data::ExternalUacSettings
|
|
116
|
+
|
|
117
|
+
attr_reader fqdn: String?
|
|
118
|
+
|
|
119
|
+
def fqdn=: (String) -> String
|
|
120
|
+
|
|
121
|
+
attr_reader fqdn_outbound_authentication: Telnyx::Models::UacConnectionCreateResponse::Data::fqdn_outbound_authentication?
|
|
122
|
+
|
|
123
|
+
def fqdn_outbound_authentication=: (
|
|
124
|
+
Telnyx::Models::UacConnectionCreateResponse::Data::fqdn_outbound_authentication
|
|
125
|
+
) -> Telnyx::Models::UacConnectionCreateResponse::Data::fqdn_outbound_authentication
|
|
126
|
+
|
|
127
|
+
attr_reader fqdns: ::Array[Telnyx::Fqdn]?
|
|
128
|
+
|
|
129
|
+
def fqdns=: (::Array[Telnyx::Fqdn]) -> ::Array[Telnyx::Fqdn]
|
|
130
|
+
|
|
131
|
+
attr_reader inbound: Telnyx::Models::UacConnectionCreateResponse::Data::Inbound?
|
|
132
|
+
|
|
133
|
+
def inbound=: (
|
|
134
|
+
Telnyx::Models::UacConnectionCreateResponse::Data::Inbound
|
|
135
|
+
) -> Telnyx::Models::UacConnectionCreateResponse::Data::Inbound
|
|
136
|
+
|
|
137
|
+
attr_reader internal_uac_settings: Telnyx::Models::UacConnectionCreateResponse::Data::InternalUacSettings?
|
|
138
|
+
|
|
139
|
+
def internal_uac_settings=: (
|
|
140
|
+
Telnyx::Models::UacConnectionCreateResponse::Data::InternalUacSettings
|
|
141
|
+
) -> Telnyx::Models::UacConnectionCreateResponse::Data::InternalUacSettings
|
|
142
|
+
|
|
143
|
+
attr_accessor ios_push_credential_id: String?
|
|
144
|
+
|
|
145
|
+
attr_reader jitter_buffer: Telnyx::ConnectionJitterBuffer?
|
|
146
|
+
|
|
147
|
+
def jitter_buffer=: (
|
|
148
|
+
Telnyx::ConnectionJitterBuffer
|
|
149
|
+
) -> Telnyx::ConnectionJitterBuffer
|
|
150
|
+
|
|
151
|
+
attr_reader noise_suppression: Telnyx::Models::UacConnectionCreateResponse::Data::noise_suppression?
|
|
152
|
+
|
|
153
|
+
def noise_suppression=: (
|
|
154
|
+
Telnyx::Models::UacConnectionCreateResponse::Data::noise_suppression
|
|
155
|
+
) -> Telnyx::Models::UacConnectionCreateResponse::Data::noise_suppression
|
|
156
|
+
|
|
157
|
+
attr_reader noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails?
|
|
158
|
+
|
|
159
|
+
def noise_suppression_details=: (
|
|
160
|
+
Telnyx::ConnectionNoiseSuppressionDetails
|
|
161
|
+
) -> Telnyx::ConnectionNoiseSuppressionDetails
|
|
162
|
+
|
|
163
|
+
attr_reader onnet_t38_passthrough_enabled: bool?
|
|
164
|
+
|
|
165
|
+
def onnet_t38_passthrough_enabled=: (bool) -> bool
|
|
166
|
+
|
|
167
|
+
attr_reader outbound: Telnyx::Models::UacConnectionCreateResponse::Data::Outbound?
|
|
168
|
+
|
|
169
|
+
def outbound=: (
|
|
170
|
+
Telnyx::Models::UacConnectionCreateResponse::Data::Outbound
|
|
171
|
+
) -> Telnyx::Models::UacConnectionCreateResponse::Data::Outbound
|
|
172
|
+
|
|
173
|
+
attr_reader password: String?
|
|
174
|
+
|
|
175
|
+
def password=: (String) -> String
|
|
176
|
+
|
|
177
|
+
attr_reader record_type: String?
|
|
178
|
+
|
|
179
|
+
def record_type=: (String) -> String
|
|
180
|
+
|
|
181
|
+
attr_accessor registration_status: String?
|
|
182
|
+
|
|
183
|
+
attr_accessor registration_status_updated_at: String?
|
|
184
|
+
|
|
185
|
+
attr_reader rtcp_settings: Telnyx::ConnectionRtcpSettings?
|
|
186
|
+
|
|
187
|
+
def rtcp_settings=: (
|
|
188
|
+
Telnyx::ConnectionRtcpSettings
|
|
189
|
+
) -> Telnyx::ConnectionRtcpSettings
|
|
190
|
+
|
|
191
|
+
attr_reader sip_uri_calling_preference: Telnyx::Models::UacConnectionCreateResponse::Data::sip_uri_calling_preference?
|
|
192
|
+
|
|
193
|
+
def sip_uri_calling_preference=: (
|
|
194
|
+
Telnyx::Models::UacConnectionCreateResponse::Data::sip_uri_calling_preference
|
|
195
|
+
) -> Telnyx::Models::UacConnectionCreateResponse::Data::sip_uri_calling_preference
|
|
196
|
+
|
|
197
|
+
attr_reader tags: ::Array[String]?
|
|
198
|
+
|
|
199
|
+
def tags=: (::Array[String]) -> ::Array[String]
|
|
200
|
+
|
|
201
|
+
attr_reader updated_at: String?
|
|
202
|
+
|
|
203
|
+
def updated_at=: (String) -> String
|
|
204
|
+
|
|
205
|
+
attr_reader user_name: String?
|
|
206
|
+
|
|
207
|
+
def user_name=: (String) -> String
|
|
208
|
+
|
|
209
|
+
attr_reader webhook_api_version: Telnyx::Models::UacConnectionCreateResponse::Data::webhook_api_version?
|
|
210
|
+
|
|
211
|
+
def webhook_api_version=: (
|
|
212
|
+
Telnyx::Models::UacConnectionCreateResponse::Data::webhook_api_version
|
|
213
|
+
) -> Telnyx::Models::UacConnectionCreateResponse::Data::webhook_api_version
|
|
214
|
+
|
|
215
|
+
attr_accessor webhook_event_failover_url: String?
|
|
216
|
+
|
|
217
|
+
attr_reader webhook_event_url: String?
|
|
218
|
+
|
|
219
|
+
def webhook_event_url=: (String) -> String
|
|
220
|
+
|
|
221
|
+
attr_accessor webhook_timeout_secs: Integer?
|
|
222
|
+
|
|
223
|
+
def initialize: (
|
|
224
|
+
?id: String,
|
|
225
|
+
?active: bool,
|
|
226
|
+
?anchorsite_override: Telnyx::Models::anchorsite_override,
|
|
227
|
+
?android_push_credential_id: String?,
|
|
228
|
+
?authentication: Telnyx::Models::UacConnectionCreateResponse::Data::authentication,
|
|
229
|
+
?call_cost_in_webhooks: bool,
|
|
230
|
+
?connection_name: String,
|
|
231
|
+
?created_at: String,
|
|
232
|
+
?default_on_hold_comfort_noise_enabled: bool,
|
|
233
|
+
?dtmf_type: Telnyx::Models::dtmf_type,
|
|
234
|
+
?encode_contact_header_enabled: bool,
|
|
235
|
+
?encrypted_media: Telnyx::Models::encrypted_media?,
|
|
236
|
+
?external_uac_settings: Telnyx::Models::UacConnectionCreateResponse::Data::ExternalUacSettings,
|
|
237
|
+
?fqdn: String,
|
|
238
|
+
?fqdn_outbound_authentication: Telnyx::Models::UacConnectionCreateResponse::Data::fqdn_outbound_authentication,
|
|
239
|
+
?fqdns: ::Array[Telnyx::Fqdn],
|
|
240
|
+
?inbound: Telnyx::Models::UacConnectionCreateResponse::Data::Inbound,
|
|
241
|
+
?internal_uac_settings: Telnyx::Models::UacConnectionCreateResponse::Data::InternalUacSettings,
|
|
242
|
+
?ios_push_credential_id: String?,
|
|
243
|
+
?jitter_buffer: Telnyx::ConnectionJitterBuffer,
|
|
244
|
+
?noise_suppression: Telnyx::Models::UacConnectionCreateResponse::Data::noise_suppression,
|
|
245
|
+
?noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails,
|
|
246
|
+
?onnet_t38_passthrough_enabled: bool,
|
|
247
|
+
?outbound: Telnyx::Models::UacConnectionCreateResponse::Data::Outbound,
|
|
248
|
+
?password: String,
|
|
249
|
+
?record_type: String,
|
|
250
|
+
?registration_status: String?,
|
|
251
|
+
?registration_status_updated_at: String?,
|
|
252
|
+
?rtcp_settings: Telnyx::ConnectionRtcpSettings,
|
|
253
|
+
?sip_uri_calling_preference: Telnyx::Models::UacConnectionCreateResponse::Data::sip_uri_calling_preference,
|
|
254
|
+
?tags: ::Array[String],
|
|
255
|
+
?updated_at: String,
|
|
256
|
+
?user_name: String,
|
|
257
|
+
?webhook_api_version: Telnyx::Models::UacConnectionCreateResponse::Data::webhook_api_version,
|
|
258
|
+
?webhook_event_failover_url: String?,
|
|
259
|
+
?webhook_event_url: String,
|
|
260
|
+
?webhook_timeout_secs: Integer?
|
|
261
|
+
) -> void
|
|
262
|
+
|
|
263
|
+
def to_hash: -> {
|
|
264
|
+
id: String,
|
|
265
|
+
active: bool,
|
|
266
|
+
anchorsite_override: Telnyx::Models::anchorsite_override,
|
|
267
|
+
android_push_credential_id: String?,
|
|
268
|
+
authentication: Telnyx::Models::UacConnectionCreateResponse::Data::authentication,
|
|
269
|
+
call_cost_in_webhooks: bool,
|
|
270
|
+
connection_name: String,
|
|
271
|
+
created_at: String,
|
|
272
|
+
default_on_hold_comfort_noise_enabled: bool,
|
|
273
|
+
dtmf_type: Telnyx::Models::dtmf_type,
|
|
274
|
+
encode_contact_header_enabled: bool,
|
|
275
|
+
encrypted_media: Telnyx::Models::encrypted_media?,
|
|
276
|
+
external_uac_settings: Telnyx::Models::UacConnectionCreateResponse::Data::ExternalUacSettings,
|
|
277
|
+
fqdn: String,
|
|
278
|
+
fqdn_outbound_authentication: Telnyx::Models::UacConnectionCreateResponse::Data::fqdn_outbound_authentication,
|
|
279
|
+
fqdns: ::Array[Telnyx::Fqdn],
|
|
280
|
+
inbound: Telnyx::Models::UacConnectionCreateResponse::Data::Inbound,
|
|
281
|
+
internal_uac_settings: Telnyx::Models::UacConnectionCreateResponse::Data::InternalUacSettings,
|
|
282
|
+
ios_push_credential_id: String?,
|
|
283
|
+
jitter_buffer: Telnyx::ConnectionJitterBuffer,
|
|
284
|
+
noise_suppression: Telnyx::Models::UacConnectionCreateResponse::Data::noise_suppression,
|
|
285
|
+
noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails,
|
|
286
|
+
:onnet_t38_passthrough_enabled => bool,
|
|
287
|
+
outbound: Telnyx::Models::UacConnectionCreateResponse::Data::Outbound,
|
|
288
|
+
password: String,
|
|
289
|
+
record_type: String,
|
|
290
|
+
registration_status: String?,
|
|
291
|
+
registration_status_updated_at: String?,
|
|
292
|
+
rtcp_settings: Telnyx::ConnectionRtcpSettings,
|
|
293
|
+
sip_uri_calling_preference: Telnyx::Models::UacConnectionCreateResponse::Data::sip_uri_calling_preference,
|
|
294
|
+
tags: ::Array[String],
|
|
295
|
+
updated_at: String,
|
|
296
|
+
user_name: String,
|
|
297
|
+
webhook_api_version: Telnyx::Models::UacConnectionCreateResponse::Data::webhook_api_version,
|
|
298
|
+
webhook_event_failover_url: String?,
|
|
299
|
+
webhook_event_url: String,
|
|
300
|
+
webhook_timeout_secs: Integer?
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
type authentication = :"uac-authentication"
|
|
304
|
+
|
|
305
|
+
module Authentication
|
|
306
|
+
extend Telnyx::Internal::Type::Enum
|
|
307
|
+
|
|
308
|
+
UAC_AUTHENTICATION: :"uac-authentication"
|
|
309
|
+
|
|
310
|
+
def self?.values: -> ::Array[Telnyx::Models::UacConnectionCreateResponse::Data::authentication]
|
|
311
|
+
end
|
|
312
|
+
|
|
313
|
+
type external_uac_settings =
|
|
314
|
+
{
|
|
315
|
+
auth_username: String?,
|
|
316
|
+
expiration_sec: Integer?,
|
|
317
|
+
from_user: String?,
|
|
318
|
+
outbound_proxy: String?,
|
|
319
|
+
password: String,
|
|
320
|
+
proxy: String,
|
|
321
|
+
transport: Telnyx::Models::UacConnectionCreateResponse::Data::ExternalUacSettings::transport?,
|
|
322
|
+
username: String
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
class ExternalUacSettings < Telnyx::Internal::Type::BaseModel
|
|
326
|
+
attr_accessor auth_username: String?
|
|
327
|
+
|
|
328
|
+
attr_accessor expiration_sec: Integer?
|
|
329
|
+
|
|
330
|
+
attr_accessor from_user: String?
|
|
331
|
+
|
|
332
|
+
attr_accessor outbound_proxy: String?
|
|
333
|
+
|
|
334
|
+
attr_reader password: String?
|
|
335
|
+
|
|
336
|
+
def password=: (String) -> String
|
|
337
|
+
|
|
338
|
+
attr_reader proxy: String?
|
|
339
|
+
|
|
340
|
+
def proxy=: (String) -> String
|
|
341
|
+
|
|
342
|
+
attr_accessor transport: Telnyx::Models::UacConnectionCreateResponse::Data::ExternalUacSettings::transport?
|
|
343
|
+
|
|
344
|
+
attr_reader username: String?
|
|
345
|
+
|
|
346
|
+
def username=: (String) -> String
|
|
347
|
+
|
|
348
|
+
def initialize: (
|
|
349
|
+
?auth_username: String?,
|
|
350
|
+
?expiration_sec: Integer?,
|
|
351
|
+
?from_user: String?,
|
|
352
|
+
?outbound_proxy: String?,
|
|
353
|
+
?password: String,
|
|
354
|
+
?proxy: String,
|
|
355
|
+
?transport: Telnyx::Models::UacConnectionCreateResponse::Data::ExternalUacSettings::transport?,
|
|
356
|
+
?username: String
|
|
357
|
+
) -> void
|
|
358
|
+
|
|
359
|
+
def to_hash: -> {
|
|
360
|
+
auth_username: String?,
|
|
361
|
+
expiration_sec: Integer?,
|
|
362
|
+
from_user: String?,
|
|
363
|
+
outbound_proxy: String?,
|
|
364
|
+
password: String,
|
|
365
|
+
proxy: String,
|
|
366
|
+
transport: Telnyx::Models::UacConnectionCreateResponse::Data::ExternalUacSettings::transport?,
|
|
367
|
+
username: String
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
type transport = :UDP | :TLS | :TCP
|
|
371
|
+
|
|
372
|
+
module Transport
|
|
373
|
+
extend Telnyx::Internal::Type::Enum
|
|
374
|
+
|
|
375
|
+
UDP: :UDP
|
|
376
|
+
TLS: :TLS
|
|
377
|
+
TCP: :TCP
|
|
378
|
+
|
|
379
|
+
def self?.values: -> ::Array[Telnyx::Models::UacConnectionCreateResponse::Data::ExternalUacSettings::transport]
|
|
380
|
+
end
|
|
381
|
+
end
|
|
382
|
+
|
|
383
|
+
type fqdn_outbound_authentication = :"credential-authentication"
|
|
384
|
+
|
|
385
|
+
module FqdnOutboundAuthentication
|
|
386
|
+
extend Telnyx::Internal::Type::Enum
|
|
387
|
+
|
|
388
|
+
CREDENTIAL_AUTHENTICATION: :"credential-authentication"
|
|
389
|
+
|
|
390
|
+
def self?.values: -> ::Array[Telnyx::Models::UacConnectionCreateResponse::Data::fqdn_outbound_authentication]
|
|
391
|
+
end
|
|
392
|
+
|
|
393
|
+
type inbound =
|
|
394
|
+
{
|
|
395
|
+
ani_number_format: Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::ani_number_format,
|
|
396
|
+
channel_limit: Integer,
|
|
397
|
+
codecs: ::Array[String],
|
|
398
|
+
default_routing_method: Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::default_routing_method,
|
|
399
|
+
dnis_number_format: Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::dnis_number_format,
|
|
400
|
+
generate_ringback_tone: bool,
|
|
401
|
+
isup_headers_enabled: bool,
|
|
402
|
+
prack_enabled: bool,
|
|
403
|
+
shaken_stir_enabled: bool,
|
|
404
|
+
simultaneous_ringing: Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::simultaneous_ringing,
|
|
405
|
+
sip_compact_headers_enabled: bool,
|
|
406
|
+
sip_subdomain: String,
|
|
407
|
+
sip_subdomain_receive_settings: Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::sip_subdomain_receive_settings,
|
|
408
|
+
:timeout_1xx_secs => Integer,
|
|
409
|
+
:timeout_2xx_secs => Integer
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
class Inbound < Telnyx::Internal::Type::BaseModel
|
|
413
|
+
attr_reader ani_number_format: Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::ani_number_format?
|
|
414
|
+
|
|
415
|
+
def ani_number_format=: (
|
|
416
|
+
Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::ani_number_format
|
|
417
|
+
) -> Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::ani_number_format
|
|
418
|
+
|
|
419
|
+
attr_reader channel_limit: Integer?
|
|
420
|
+
|
|
421
|
+
def channel_limit=: (Integer) -> Integer
|
|
422
|
+
|
|
423
|
+
attr_reader codecs: ::Array[String]?
|
|
424
|
+
|
|
425
|
+
def codecs=: (::Array[String]) -> ::Array[String]
|
|
426
|
+
|
|
427
|
+
attr_reader default_routing_method: Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::default_routing_method?
|
|
428
|
+
|
|
429
|
+
def default_routing_method=: (
|
|
430
|
+
Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::default_routing_method
|
|
431
|
+
) -> Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::default_routing_method
|
|
432
|
+
|
|
433
|
+
attr_reader dnis_number_format: Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::dnis_number_format?
|
|
434
|
+
|
|
435
|
+
def dnis_number_format=: (
|
|
436
|
+
Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::dnis_number_format
|
|
437
|
+
) -> Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::dnis_number_format
|
|
438
|
+
|
|
439
|
+
attr_reader generate_ringback_tone: bool?
|
|
440
|
+
|
|
441
|
+
def generate_ringback_tone=: (bool) -> bool
|
|
442
|
+
|
|
443
|
+
attr_reader isup_headers_enabled: bool?
|
|
444
|
+
|
|
445
|
+
def isup_headers_enabled=: (bool) -> bool
|
|
446
|
+
|
|
447
|
+
attr_reader prack_enabled: bool?
|
|
448
|
+
|
|
449
|
+
def prack_enabled=: (bool) -> bool
|
|
450
|
+
|
|
451
|
+
attr_reader shaken_stir_enabled: bool?
|
|
452
|
+
|
|
453
|
+
def shaken_stir_enabled=: (bool) -> bool
|
|
454
|
+
|
|
455
|
+
attr_reader simultaneous_ringing: Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::simultaneous_ringing?
|
|
456
|
+
|
|
457
|
+
def simultaneous_ringing=: (
|
|
458
|
+
Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::simultaneous_ringing
|
|
459
|
+
) -> Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::simultaneous_ringing
|
|
460
|
+
|
|
461
|
+
attr_reader sip_compact_headers_enabled: bool?
|
|
462
|
+
|
|
463
|
+
def sip_compact_headers_enabled=: (bool) -> bool
|
|
464
|
+
|
|
465
|
+
attr_reader sip_subdomain: String?
|
|
466
|
+
|
|
467
|
+
def sip_subdomain=: (String) -> String
|
|
468
|
+
|
|
469
|
+
attr_reader sip_subdomain_receive_settings: Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::sip_subdomain_receive_settings?
|
|
470
|
+
|
|
471
|
+
def sip_subdomain_receive_settings=: (
|
|
472
|
+
Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::sip_subdomain_receive_settings
|
|
473
|
+
) -> Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::sip_subdomain_receive_settings
|
|
474
|
+
|
|
475
|
+
attr_reader timeout_1xx_secs: Integer?
|
|
476
|
+
|
|
477
|
+
def timeout_1xx_secs=: (Integer) -> Integer
|
|
478
|
+
|
|
479
|
+
attr_reader timeout_2xx_secs: Integer?
|
|
480
|
+
|
|
481
|
+
def timeout_2xx_secs=: (Integer) -> Integer
|
|
482
|
+
|
|
483
|
+
def initialize: (
|
|
484
|
+
?ani_number_format: Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::ani_number_format,
|
|
485
|
+
?channel_limit: Integer,
|
|
486
|
+
?codecs: ::Array[String],
|
|
487
|
+
?default_routing_method: Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::default_routing_method,
|
|
488
|
+
?dnis_number_format: Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::dnis_number_format,
|
|
489
|
+
?generate_ringback_tone: bool,
|
|
490
|
+
?isup_headers_enabled: bool,
|
|
491
|
+
?prack_enabled: bool,
|
|
492
|
+
?shaken_stir_enabled: bool,
|
|
493
|
+
?simultaneous_ringing: Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::simultaneous_ringing,
|
|
494
|
+
?sip_compact_headers_enabled: bool,
|
|
495
|
+
?sip_subdomain: String,
|
|
496
|
+
?sip_subdomain_receive_settings: Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::sip_subdomain_receive_settings,
|
|
497
|
+
?timeout_1xx_secs: Integer,
|
|
498
|
+
?timeout_2xx_secs: Integer
|
|
499
|
+
) -> void
|
|
500
|
+
|
|
501
|
+
def to_hash: -> {
|
|
502
|
+
ani_number_format: Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::ani_number_format,
|
|
503
|
+
channel_limit: Integer,
|
|
504
|
+
codecs: ::Array[String],
|
|
505
|
+
default_routing_method: Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::default_routing_method,
|
|
506
|
+
dnis_number_format: Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::dnis_number_format,
|
|
507
|
+
generate_ringback_tone: bool,
|
|
508
|
+
isup_headers_enabled: bool,
|
|
509
|
+
prack_enabled: bool,
|
|
510
|
+
shaken_stir_enabled: bool,
|
|
511
|
+
simultaneous_ringing: Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::simultaneous_ringing,
|
|
512
|
+
sip_compact_headers_enabled: bool,
|
|
513
|
+
sip_subdomain: String,
|
|
514
|
+
sip_subdomain_receive_settings: Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::sip_subdomain_receive_settings,
|
|
515
|
+
:timeout_1xx_secs => Integer,
|
|
516
|
+
:timeout_2xx_secs => Integer
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
type ani_number_format =
|
|
520
|
+
:"+E.164" | :"E.164" | :"+E.164-national" | :"E.164-national"
|
|
521
|
+
|
|
522
|
+
module AniNumberFormat
|
|
523
|
+
extend Telnyx::Internal::Type::Enum
|
|
524
|
+
|
|
525
|
+
PLUS_E_164: :"+E.164"
|
|
526
|
+
E_164: :"E.164"
|
|
527
|
+
PLUS_E_164_NATIONAL: :"+E.164-national"
|
|
528
|
+
E_164_NATIONAL: :"E.164-national"
|
|
529
|
+
|
|
530
|
+
def self?.values: -> ::Array[Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::ani_number_format]
|
|
531
|
+
end
|
|
532
|
+
|
|
533
|
+
type default_routing_method = :sequential | :"round-robin"
|
|
534
|
+
|
|
535
|
+
module DefaultRoutingMethod
|
|
536
|
+
extend Telnyx::Internal::Type::Enum
|
|
537
|
+
|
|
538
|
+
SEQUENTIAL: :sequential
|
|
539
|
+
ROUND_ROBIN: :"round-robin"
|
|
540
|
+
|
|
541
|
+
def self?.values: -> ::Array[Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::default_routing_method]
|
|
542
|
+
end
|
|
543
|
+
|
|
544
|
+
type dnis_number_format = :"+e164" | :e164 | :national | :sip_username
|
|
545
|
+
|
|
546
|
+
module DnisNumberFormat
|
|
547
|
+
extend Telnyx::Internal::Type::Enum
|
|
548
|
+
|
|
549
|
+
PLUS_E164: :"+e164"
|
|
550
|
+
E164: :e164
|
|
551
|
+
NATIONAL: :national
|
|
552
|
+
SIP_USERNAME: :sip_username
|
|
553
|
+
|
|
554
|
+
def self?.values: -> ::Array[Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::dnis_number_format]
|
|
555
|
+
end
|
|
556
|
+
|
|
557
|
+
type simultaneous_ringing = :disabled | :enabled
|
|
558
|
+
|
|
559
|
+
module SimultaneousRinging
|
|
560
|
+
extend Telnyx::Internal::Type::Enum
|
|
561
|
+
|
|
562
|
+
DISABLED: :disabled
|
|
563
|
+
ENABLED: :enabled
|
|
564
|
+
|
|
565
|
+
def self?.values: -> ::Array[Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::simultaneous_ringing]
|
|
566
|
+
end
|
|
567
|
+
|
|
568
|
+
type sip_subdomain_receive_settings =
|
|
569
|
+
:only_my_connections | :from_anyone
|
|
570
|
+
|
|
571
|
+
module SipSubdomainReceiveSettings
|
|
572
|
+
extend Telnyx::Internal::Type::Enum
|
|
573
|
+
|
|
574
|
+
ONLY_MY_CONNECTIONS: :only_my_connections
|
|
575
|
+
FROM_ANYONE: :from_anyone
|
|
576
|
+
|
|
577
|
+
def self?.values: -> ::Array[Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::sip_subdomain_receive_settings]
|
|
578
|
+
end
|
|
579
|
+
end
|
|
580
|
+
|
|
581
|
+
type internal_uac_settings = { destination_uri: String }
|
|
582
|
+
|
|
583
|
+
class InternalUacSettings < Telnyx::Internal::Type::BaseModel
|
|
584
|
+
attr_reader destination_uri: String?
|
|
585
|
+
|
|
586
|
+
def destination_uri=: (String) -> String
|
|
587
|
+
|
|
588
|
+
def initialize: (?destination_uri: String) -> void
|
|
589
|
+
|
|
590
|
+
def to_hash: -> { destination_uri: String }
|
|
591
|
+
end
|
|
592
|
+
|
|
593
|
+
type noise_suppression = :inbound | :outbound | :both | :disabled
|
|
594
|
+
|
|
595
|
+
module NoiseSuppression
|
|
596
|
+
extend Telnyx::Internal::Type::Enum
|
|
597
|
+
|
|
598
|
+
INBOUND: :inbound
|
|
599
|
+
OUTBOUND: :outbound
|
|
600
|
+
BOTH: :both
|
|
601
|
+
DISABLED: :disabled
|
|
602
|
+
|
|
603
|
+
def self?.values: -> ::Array[Telnyx::Models::UacConnectionCreateResponse::Data::noise_suppression]
|
|
604
|
+
end
|
|
605
|
+
|
|
606
|
+
type outbound =
|
|
607
|
+
{
|
|
608
|
+
ani_override: String,
|
|
609
|
+
ani_override_type: Telnyx::Models::UacConnectionCreateResponse::Data::Outbound::ani_override_type,
|
|
610
|
+
call_parking_enabled: bool?,
|
|
611
|
+
channel_limit: Integer,
|
|
612
|
+
generate_ringback_tone: bool,
|
|
613
|
+
instant_ringback_enabled: bool,
|
|
614
|
+
localization: String,
|
|
615
|
+
outbound_voice_profile_id: String,
|
|
616
|
+
:t38_reinvite_source => Telnyx::Models::UacConnectionCreateResponse::Data::Outbound::t38_reinvite_source
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
class Outbound < Telnyx::Internal::Type::BaseModel
|
|
620
|
+
attr_reader ani_override: String?
|
|
621
|
+
|
|
622
|
+
def ani_override=: (String) -> String
|
|
623
|
+
|
|
624
|
+
attr_reader ani_override_type: Telnyx::Models::UacConnectionCreateResponse::Data::Outbound::ani_override_type?
|
|
625
|
+
|
|
626
|
+
def ani_override_type=: (
|
|
627
|
+
Telnyx::Models::UacConnectionCreateResponse::Data::Outbound::ani_override_type
|
|
628
|
+
) -> Telnyx::Models::UacConnectionCreateResponse::Data::Outbound::ani_override_type
|
|
629
|
+
|
|
630
|
+
attr_accessor call_parking_enabled: bool?
|
|
631
|
+
|
|
632
|
+
attr_reader channel_limit: Integer?
|
|
633
|
+
|
|
634
|
+
def channel_limit=: (Integer) -> Integer
|
|
635
|
+
|
|
636
|
+
attr_reader generate_ringback_tone: bool?
|
|
637
|
+
|
|
638
|
+
def generate_ringback_tone=: (bool) -> bool
|
|
639
|
+
|
|
640
|
+
attr_reader instant_ringback_enabled: bool?
|
|
641
|
+
|
|
642
|
+
def instant_ringback_enabled=: (bool) -> bool
|
|
643
|
+
|
|
644
|
+
attr_reader localization: String?
|
|
645
|
+
|
|
646
|
+
def localization=: (String) -> String
|
|
647
|
+
|
|
648
|
+
attr_reader outbound_voice_profile_id: String?
|
|
649
|
+
|
|
650
|
+
def outbound_voice_profile_id=: (String) -> String
|
|
651
|
+
|
|
652
|
+
attr_reader t38_reinvite_source: Telnyx::Models::UacConnectionCreateResponse::Data::Outbound::t38_reinvite_source?
|
|
653
|
+
|
|
654
|
+
def t38_reinvite_source=: (
|
|
655
|
+
Telnyx::Models::UacConnectionCreateResponse::Data::Outbound::t38_reinvite_source
|
|
656
|
+
) -> Telnyx::Models::UacConnectionCreateResponse::Data::Outbound::t38_reinvite_source
|
|
657
|
+
|
|
658
|
+
def initialize: (
|
|
659
|
+
?ani_override: String,
|
|
660
|
+
?ani_override_type: Telnyx::Models::UacConnectionCreateResponse::Data::Outbound::ani_override_type,
|
|
661
|
+
?call_parking_enabled: bool?,
|
|
662
|
+
?channel_limit: Integer,
|
|
663
|
+
?generate_ringback_tone: bool,
|
|
664
|
+
?instant_ringback_enabled: bool,
|
|
665
|
+
?localization: String,
|
|
666
|
+
?outbound_voice_profile_id: String,
|
|
667
|
+
?t38_reinvite_source: Telnyx::Models::UacConnectionCreateResponse::Data::Outbound::t38_reinvite_source
|
|
668
|
+
) -> void
|
|
669
|
+
|
|
670
|
+
def to_hash: -> {
|
|
671
|
+
ani_override: String,
|
|
672
|
+
ani_override_type: Telnyx::Models::UacConnectionCreateResponse::Data::Outbound::ani_override_type,
|
|
673
|
+
call_parking_enabled: bool?,
|
|
674
|
+
channel_limit: Integer,
|
|
675
|
+
generate_ringback_tone: bool,
|
|
676
|
+
instant_ringback_enabled: bool,
|
|
677
|
+
localization: String,
|
|
678
|
+
outbound_voice_profile_id: String,
|
|
679
|
+
:t38_reinvite_source => Telnyx::Models::UacConnectionCreateResponse::Data::Outbound::t38_reinvite_source
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
type ani_override_type = :always | :normal | :emergency
|
|
683
|
+
|
|
684
|
+
module AniOverrideType
|
|
685
|
+
extend Telnyx::Internal::Type::Enum
|
|
686
|
+
|
|
687
|
+
ALWAYS: :always
|
|
688
|
+
NORMAL: :normal
|
|
689
|
+
EMERGENCY: :emergency
|
|
690
|
+
|
|
691
|
+
def self?.values: -> ::Array[Telnyx::Models::UacConnectionCreateResponse::Data::Outbound::ani_override_type]
|
|
692
|
+
end
|
|
693
|
+
|
|
694
|
+
type t38_reinvite_source =
|
|
695
|
+
:telnyx
|
|
696
|
+
| :customer
|
|
697
|
+
| :disabled
|
|
698
|
+
| :passthru
|
|
699
|
+
| :"caller-passthru"
|
|
700
|
+
| :"callee-passthru"
|
|
701
|
+
|
|
702
|
+
module T38ReinviteSource
|
|
703
|
+
extend Telnyx::Internal::Type::Enum
|
|
704
|
+
|
|
705
|
+
TELNYX: :telnyx
|
|
706
|
+
CUSTOMER: :customer
|
|
707
|
+
DISABLED: :disabled
|
|
708
|
+
PASSTHRU: :passthru
|
|
709
|
+
CALLER_PASSTHRU: :"caller-passthru"
|
|
710
|
+
CALLEE_PASSTHRU: :"callee-passthru"
|
|
711
|
+
|
|
712
|
+
def self?.values: -> ::Array[Telnyx::Models::UacConnectionCreateResponse::Data::Outbound::t38_reinvite_source]
|
|
713
|
+
end
|
|
714
|
+
end
|
|
715
|
+
|
|
716
|
+
type sip_uri_calling_preference = :disabled | :unrestricted | :internal
|
|
717
|
+
|
|
718
|
+
module SipUriCallingPreference
|
|
719
|
+
extend Telnyx::Internal::Type::Enum
|
|
720
|
+
|
|
721
|
+
DISABLED: :disabled
|
|
722
|
+
UNRESTRICTED: :unrestricted
|
|
723
|
+
INTERNAL: :internal
|
|
724
|
+
|
|
725
|
+
def self?.values: -> ::Array[Telnyx::Models::UacConnectionCreateResponse::Data::sip_uri_calling_preference]
|
|
726
|
+
end
|
|
727
|
+
|
|
728
|
+
type webhook_api_version = :"1" | :"2"
|
|
729
|
+
|
|
730
|
+
module WebhookAPIVersion
|
|
731
|
+
extend Telnyx::Internal::Type::Enum
|
|
732
|
+
|
|
733
|
+
V1: :"1"
|
|
734
|
+
V2: :"2"
|
|
735
|
+
|
|
736
|
+
def self?.values: -> ::Array[Telnyx::Models::UacConnectionCreateResponse::Data::webhook_api_version]
|
|
737
|
+
end
|
|
738
|
+
end
|
|
739
|
+
end
|
|
740
|
+
end
|
|
741
|
+
end
|