telnyx 5.1.0 → 5.2.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 +8 -0
- data/README.md +1 -1
- data/lib/telnyx/models/ai/assistant_create_params.rb +3 -173
- data/lib/telnyx/models/ai/assistant_update_params.rb +3 -173
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +3 -175
- data/lib/telnyx/models/ai/audio_visualizer_config.rb +43 -0
- data/lib/telnyx/models/ai/inference_embedding.rb +3 -173
- data/lib/telnyx/models/ai/widget_settings.rb +138 -0
- data/lib/telnyx/models/connection_noise_suppression_details.rb +61 -0
- data/lib/telnyx/models/credential_connection.rb +3 -61
- data/lib/telnyx/models/credential_connection_create_params.rb +3 -61
- data/lib/telnyx/models/credential_connection_update_params.rb +3 -61
- data/lib/telnyx/models/fqdn_connection.rb +3 -60
- data/lib/telnyx/models/fqdn_connection_create_params.rb +3 -60
- data/lib/telnyx/models/fqdn_connection_update_params.rb +3 -60
- data/lib/telnyx/models/ip_connection.rb +3 -60
- data/lib/telnyx/models/ip_connection_create_params.rb +3 -60
- data/lib/telnyx/models/ip_connection_update_params.rb +3 -60
- data/lib/telnyx/models/organizations/user_get_groups_report_response.rb +3 -25
- data/lib/telnyx/models/organizations/user_group_reference.rb +28 -0
- data/lib/telnyx/models/organizations/user_list_response.rb +3 -25
- data/lib/telnyx/models/organizations/user_retrieve_response.rb +3 -25
- data/lib/telnyx/models/organizations/users/action_remove_response.rb +3 -25
- data/lib/telnyx/models.rb +2 -0
- data/lib/telnyx/resources/ai/assistants/versions.rb +1 -1
- data/lib/telnyx/resources/ai/assistants.rb +2 -2
- data/lib/telnyx/resources/credential_connections.rb +2 -2
- data/lib/telnyx/resources/fqdn_connections.rb +2 -2
- data/lib/telnyx/resources/ip_connections.rb +2 -2
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +4 -0
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +4 -422
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +4 -422
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +4 -422
- data/rbi/telnyx/models/ai/audio_visualizer_config.rbi +107 -0
- data/rbi/telnyx/models/ai/inference_embedding.rbi +4 -421
- data/rbi/telnyx/models/ai/widget_settings.rbi +225 -0
- data/rbi/telnyx/models/connection_noise_suppression_details.rbi +141 -0
- data/rbi/telnyx/models/credential_connection.rbi +4 -152
- data/rbi/telnyx/models/credential_connection_create_params.rbi +4 -154
- data/rbi/telnyx/models/credential_connection_update_params.rbi +4 -154
- data/rbi/telnyx/models/fqdn_connection.rbi +4 -150
- data/rbi/telnyx/models/fqdn_connection_create_params.rbi +4 -152
- data/rbi/telnyx/models/fqdn_connection_update_params.rbi +4 -152
- data/rbi/telnyx/models/ip_connection.rbi +4 -148
- data/rbi/telnyx/models/ip_connection_create_params.rbi +4 -152
- data/rbi/telnyx/models/ip_connection_update_params.rbi +4 -152
- data/rbi/telnyx/models/organizations/user_get_groups_report_response.rbi +3 -46
- data/rbi/telnyx/models/organizations/user_group_reference.rbi +39 -0
- data/rbi/telnyx/models/organizations/user_list_response.rbi +4 -47
- data/rbi/telnyx/models/organizations/user_retrieve_response.rbi +4 -47
- data/rbi/telnyx/models/organizations/users/action_remove_response.rbi +4 -47
- data/rbi/telnyx/models.rbi +3 -0
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +1 -2
- data/rbi/telnyx/resources/ai/assistants.rbi +2 -4
- data/rbi/telnyx/resources/credential_connections.rbi +2 -2
- data/rbi/telnyx/resources/fqdn_connections.rbi +2 -2
- data/rbi/telnyx/resources/ip_connections.rbi +2 -2
- data/sig/telnyx/models/ai/assistant_create_params.rbs +6 -172
- data/sig/telnyx/models/ai/assistant_update_params.rbs +6 -172
- data/sig/telnyx/models/ai/assistants/update_assistant.rbs +6 -172
- data/sig/telnyx/models/ai/audio_visualizer_config.rbs +48 -0
- data/sig/telnyx/models/ai/inference_embedding.rbs +6 -172
- data/sig/telnyx/models/ai/widget_settings.rbs +127 -0
- data/sig/telnyx/models/connection_noise_suppression_details.rbs +54 -0
- data/sig/telnyx/models/credential_connection.rbs +6 -57
- data/sig/telnyx/models/credential_connection_create_params.rbs +6 -57
- data/sig/telnyx/models/credential_connection_update_params.rbs +6 -57
- data/sig/telnyx/models/fqdn_connection.rbs +6 -57
- data/sig/telnyx/models/fqdn_connection_create_params.rbs +6 -57
- data/sig/telnyx/models/fqdn_connection_update_params.rbs +6 -57
- data/sig/telnyx/models/ip_connection.rbs +6 -57
- data/sig/telnyx/models/ip_connection_create_params.rbs +6 -57
- data/sig/telnyx/models/ip_connection_update_params.rbs +6 -57
- data/sig/telnyx/models/organizations/user_get_groups_report_response.rbs +4 -16
- data/sig/telnyx/models/organizations/user_group_reference.rbs +17 -0
- data/sig/telnyx/models/organizations/user_list_response.rbs +6 -18
- data/sig/telnyx/models/organizations/user_retrieve_response.rbs +6 -18
- data/sig/telnyx/models/organizations/users/action_remove_response.rbs +6 -18
- data/sig/telnyx/models.rbs +2 -0
- data/sig/telnyx/resources/ai/assistants/versions.rbs +1 -1
- data/sig/telnyx/resources/ai/assistants.rbs +2 -2
- data/sig/telnyx/resources/credential_connections.rbs +2 -2
- data/sig/telnyx/resources/fqdn_connections.rbs +2 -2
- data/sig/telnyx/resources/ip_connections.rbs +2 -2
- metadata +13 -1
|
@@ -22,7 +22,7 @@ module Telnyx
|
|
|
22
22
|
tools: ::Array[Telnyx::Models::AI::assistant_tool],
|
|
23
23
|
transcription: Telnyx::AI::TranscriptionSettings,
|
|
24
24
|
voice_settings: Telnyx::AI::VoiceSettings,
|
|
25
|
-
widget_settings: Telnyx::AI::
|
|
25
|
+
widget_settings: Telnyx::AI::WidgetSettings
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
class InferenceEmbedding < Telnyx::Internal::Type::BaseModel
|
|
@@ -110,11 +110,11 @@ module Telnyx
|
|
|
110
110
|
Telnyx::AI::VoiceSettings
|
|
111
111
|
) -> Telnyx::AI::VoiceSettings
|
|
112
112
|
|
|
113
|
-
attr_reader widget_settings: Telnyx::AI::
|
|
113
|
+
attr_reader widget_settings: Telnyx::AI::WidgetSettings?
|
|
114
114
|
|
|
115
115
|
def widget_settings=: (
|
|
116
|
-
Telnyx::AI::
|
|
117
|
-
) -> Telnyx::AI::
|
|
116
|
+
Telnyx::AI::WidgetSettings
|
|
117
|
+
) -> Telnyx::AI::WidgetSettings
|
|
118
118
|
|
|
119
119
|
def initialize: (
|
|
120
120
|
id: String,
|
|
@@ -136,7 +136,7 @@ module Telnyx
|
|
|
136
136
|
?tools: ::Array[Telnyx::Models::AI::assistant_tool],
|
|
137
137
|
?transcription: Telnyx::AI::TranscriptionSettings,
|
|
138
138
|
?voice_settings: Telnyx::AI::VoiceSettings,
|
|
139
|
-
?widget_settings: Telnyx::AI::
|
|
139
|
+
?widget_settings: Telnyx::AI::WidgetSettings
|
|
140
140
|
) -> void
|
|
141
141
|
|
|
142
142
|
def to_hash: -> {
|
|
@@ -159,174 +159,8 @@ module Telnyx
|
|
|
159
159
|
tools: ::Array[Telnyx::Models::AI::assistant_tool],
|
|
160
160
|
transcription: Telnyx::AI::TranscriptionSettings,
|
|
161
161
|
voice_settings: Telnyx::AI::VoiceSettings,
|
|
162
|
-
widget_settings: Telnyx::AI::
|
|
162
|
+
widget_settings: Telnyx::AI::WidgetSettings
|
|
163
163
|
}
|
|
164
|
-
|
|
165
|
-
type widget_settings =
|
|
166
|
-
{
|
|
167
|
-
agent_thinking_text: String,
|
|
168
|
-
audio_visualizer_config: Telnyx::AI::InferenceEmbedding::WidgetSettings::AudioVisualizerConfig,
|
|
169
|
-
default_state: Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::default_state,
|
|
170
|
-
give_feedback_url: String?,
|
|
171
|
-
logo_icon_url: String?,
|
|
172
|
-
position: Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::position,
|
|
173
|
-
report_issue_url: String?,
|
|
174
|
-
speak_to_interrupt_text: String,
|
|
175
|
-
start_call_text: String,
|
|
176
|
-
theme: Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::theme,
|
|
177
|
-
view_history_url: String?
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
class WidgetSettings < Telnyx::Internal::Type::BaseModel
|
|
181
|
-
attr_reader agent_thinking_text: String?
|
|
182
|
-
|
|
183
|
-
def agent_thinking_text=: (String) -> String
|
|
184
|
-
|
|
185
|
-
attr_reader audio_visualizer_config: Telnyx::AI::InferenceEmbedding::WidgetSettings::AudioVisualizerConfig?
|
|
186
|
-
|
|
187
|
-
def audio_visualizer_config=: (
|
|
188
|
-
Telnyx::AI::InferenceEmbedding::WidgetSettings::AudioVisualizerConfig
|
|
189
|
-
) -> Telnyx::AI::InferenceEmbedding::WidgetSettings::AudioVisualizerConfig
|
|
190
|
-
|
|
191
|
-
attr_reader default_state: Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::default_state?
|
|
192
|
-
|
|
193
|
-
def default_state=: (
|
|
194
|
-
Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::default_state
|
|
195
|
-
) -> Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::default_state
|
|
196
|
-
|
|
197
|
-
attr_accessor give_feedback_url: String?
|
|
198
|
-
|
|
199
|
-
attr_accessor logo_icon_url: String?
|
|
200
|
-
|
|
201
|
-
attr_reader position: Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::position?
|
|
202
|
-
|
|
203
|
-
def position=: (
|
|
204
|
-
Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::position
|
|
205
|
-
) -> Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::position
|
|
206
|
-
|
|
207
|
-
attr_accessor report_issue_url: String?
|
|
208
|
-
|
|
209
|
-
attr_reader speak_to_interrupt_text: String?
|
|
210
|
-
|
|
211
|
-
def speak_to_interrupt_text=: (String) -> String
|
|
212
|
-
|
|
213
|
-
attr_reader start_call_text: String?
|
|
214
|
-
|
|
215
|
-
def start_call_text=: (String) -> String
|
|
216
|
-
|
|
217
|
-
attr_reader theme: Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::theme?
|
|
218
|
-
|
|
219
|
-
def theme=: (
|
|
220
|
-
Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::theme
|
|
221
|
-
) -> Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::theme
|
|
222
|
-
|
|
223
|
-
attr_accessor view_history_url: String?
|
|
224
|
-
|
|
225
|
-
def initialize: (
|
|
226
|
-
?agent_thinking_text: String,
|
|
227
|
-
?audio_visualizer_config: Telnyx::AI::InferenceEmbedding::WidgetSettings::AudioVisualizerConfig,
|
|
228
|
-
?default_state: Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::default_state,
|
|
229
|
-
?give_feedback_url: String?,
|
|
230
|
-
?logo_icon_url: String?,
|
|
231
|
-
?position: Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::position,
|
|
232
|
-
?report_issue_url: String?,
|
|
233
|
-
?speak_to_interrupt_text: String,
|
|
234
|
-
?start_call_text: String,
|
|
235
|
-
?theme: Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::theme,
|
|
236
|
-
?view_history_url: String?
|
|
237
|
-
) -> void
|
|
238
|
-
|
|
239
|
-
def to_hash: -> {
|
|
240
|
-
agent_thinking_text: String,
|
|
241
|
-
audio_visualizer_config: Telnyx::AI::InferenceEmbedding::WidgetSettings::AudioVisualizerConfig,
|
|
242
|
-
default_state: Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::default_state,
|
|
243
|
-
give_feedback_url: String?,
|
|
244
|
-
logo_icon_url: String?,
|
|
245
|
-
position: Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::position,
|
|
246
|
-
report_issue_url: String?,
|
|
247
|
-
speak_to_interrupt_text: String,
|
|
248
|
-
start_call_text: String,
|
|
249
|
-
theme: Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::theme,
|
|
250
|
-
view_history_url: String?
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
type audio_visualizer_config =
|
|
254
|
-
{
|
|
255
|
-
color: Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::AudioVisualizerConfig::color,
|
|
256
|
-
preset: String
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
class AudioVisualizerConfig < Telnyx::Internal::Type::BaseModel
|
|
260
|
-
attr_reader color: Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::AudioVisualizerConfig::color?
|
|
261
|
-
|
|
262
|
-
def color=: (
|
|
263
|
-
Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::AudioVisualizerConfig::color
|
|
264
|
-
) -> Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::AudioVisualizerConfig::color
|
|
265
|
-
|
|
266
|
-
attr_reader preset: String?
|
|
267
|
-
|
|
268
|
-
def preset=: (String) -> String
|
|
269
|
-
|
|
270
|
-
def initialize: (
|
|
271
|
-
?color: Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::AudioVisualizerConfig::color,
|
|
272
|
-
?preset: String
|
|
273
|
-
) -> void
|
|
274
|
-
|
|
275
|
-
def to_hash: -> {
|
|
276
|
-
color: Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::AudioVisualizerConfig::color,
|
|
277
|
-
preset: String
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
type color =
|
|
281
|
-
:verdant | :twilight | :bloom | :mystic | :flare | :glacier
|
|
282
|
-
|
|
283
|
-
module Color
|
|
284
|
-
extend Telnyx::Internal::Type::Enum
|
|
285
|
-
|
|
286
|
-
VERDANT: :verdant
|
|
287
|
-
TWILIGHT: :twilight
|
|
288
|
-
BLOOM: :bloom
|
|
289
|
-
MYSTIC: :mystic
|
|
290
|
-
FLARE: :flare
|
|
291
|
-
GLACIER: :glacier
|
|
292
|
-
|
|
293
|
-
def self?.values: -> ::Array[Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::AudioVisualizerConfig::color]
|
|
294
|
-
end
|
|
295
|
-
end
|
|
296
|
-
|
|
297
|
-
type default_state = :expanded | :collapsed
|
|
298
|
-
|
|
299
|
-
module DefaultState
|
|
300
|
-
extend Telnyx::Internal::Type::Enum
|
|
301
|
-
|
|
302
|
-
EXPANDED: :expanded
|
|
303
|
-
COLLAPSED: :collapsed
|
|
304
|
-
|
|
305
|
-
def self?.values: -> ::Array[Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::default_state]
|
|
306
|
-
end
|
|
307
|
-
|
|
308
|
-
type position = :fixed | :static
|
|
309
|
-
|
|
310
|
-
module Position
|
|
311
|
-
extend Telnyx::Internal::Type::Enum
|
|
312
|
-
|
|
313
|
-
FIXED: :fixed
|
|
314
|
-
STATIC: :static
|
|
315
|
-
|
|
316
|
-
def self?.values: -> ::Array[Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::position]
|
|
317
|
-
end
|
|
318
|
-
|
|
319
|
-
type theme = :light | :dark
|
|
320
|
-
|
|
321
|
-
module Theme
|
|
322
|
-
extend Telnyx::Internal::Type::Enum
|
|
323
|
-
|
|
324
|
-
LIGHT: :light
|
|
325
|
-
DARK: :dark
|
|
326
|
-
|
|
327
|
-
def self?.values: -> ::Array[Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::theme]
|
|
328
|
-
end
|
|
329
|
-
end
|
|
330
164
|
end
|
|
331
165
|
end
|
|
332
166
|
end
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module AI
|
|
4
|
+
type widget_settings =
|
|
5
|
+
{
|
|
6
|
+
agent_thinking_text: String,
|
|
7
|
+
audio_visualizer_config: Telnyx::AI::AudioVisualizerConfig,
|
|
8
|
+
default_state: Telnyx::Models::AI::WidgetSettings::default_state,
|
|
9
|
+
give_feedback_url: String?,
|
|
10
|
+
logo_icon_url: String?,
|
|
11
|
+
position: Telnyx::Models::AI::WidgetSettings::position,
|
|
12
|
+
report_issue_url: String?,
|
|
13
|
+
speak_to_interrupt_text: String,
|
|
14
|
+
start_call_text: String,
|
|
15
|
+
theme: Telnyx::Models::AI::WidgetSettings::theme,
|
|
16
|
+
view_history_url: String?
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
class WidgetSettings < Telnyx::Internal::Type::BaseModel
|
|
20
|
+
attr_reader agent_thinking_text: String?
|
|
21
|
+
|
|
22
|
+
def agent_thinking_text=: (String) -> String
|
|
23
|
+
|
|
24
|
+
attr_reader audio_visualizer_config: Telnyx::AI::AudioVisualizerConfig?
|
|
25
|
+
|
|
26
|
+
def audio_visualizer_config=: (
|
|
27
|
+
Telnyx::AI::AudioVisualizerConfig
|
|
28
|
+
) -> Telnyx::AI::AudioVisualizerConfig
|
|
29
|
+
|
|
30
|
+
attr_reader default_state: Telnyx::Models::AI::WidgetSettings::default_state?
|
|
31
|
+
|
|
32
|
+
def default_state=: (
|
|
33
|
+
Telnyx::Models::AI::WidgetSettings::default_state
|
|
34
|
+
) -> Telnyx::Models::AI::WidgetSettings::default_state
|
|
35
|
+
|
|
36
|
+
attr_accessor give_feedback_url: String?
|
|
37
|
+
|
|
38
|
+
attr_accessor logo_icon_url: String?
|
|
39
|
+
|
|
40
|
+
attr_reader position: Telnyx::Models::AI::WidgetSettings::position?
|
|
41
|
+
|
|
42
|
+
def position=: (
|
|
43
|
+
Telnyx::Models::AI::WidgetSettings::position
|
|
44
|
+
) -> Telnyx::Models::AI::WidgetSettings::position
|
|
45
|
+
|
|
46
|
+
attr_accessor report_issue_url: String?
|
|
47
|
+
|
|
48
|
+
attr_reader speak_to_interrupt_text: String?
|
|
49
|
+
|
|
50
|
+
def speak_to_interrupt_text=: (String) -> String
|
|
51
|
+
|
|
52
|
+
attr_reader start_call_text: String?
|
|
53
|
+
|
|
54
|
+
def start_call_text=: (String) -> String
|
|
55
|
+
|
|
56
|
+
attr_reader theme: Telnyx::Models::AI::WidgetSettings::theme?
|
|
57
|
+
|
|
58
|
+
def theme=: (
|
|
59
|
+
Telnyx::Models::AI::WidgetSettings::theme
|
|
60
|
+
) -> Telnyx::Models::AI::WidgetSettings::theme
|
|
61
|
+
|
|
62
|
+
attr_accessor view_history_url: String?
|
|
63
|
+
|
|
64
|
+
def initialize: (
|
|
65
|
+
?agent_thinking_text: String,
|
|
66
|
+
?audio_visualizer_config: Telnyx::AI::AudioVisualizerConfig,
|
|
67
|
+
?default_state: Telnyx::Models::AI::WidgetSettings::default_state,
|
|
68
|
+
?give_feedback_url: String?,
|
|
69
|
+
?logo_icon_url: String?,
|
|
70
|
+
?position: Telnyx::Models::AI::WidgetSettings::position,
|
|
71
|
+
?report_issue_url: String?,
|
|
72
|
+
?speak_to_interrupt_text: String,
|
|
73
|
+
?start_call_text: String,
|
|
74
|
+
?theme: Telnyx::Models::AI::WidgetSettings::theme,
|
|
75
|
+
?view_history_url: String?
|
|
76
|
+
) -> void
|
|
77
|
+
|
|
78
|
+
def to_hash: -> {
|
|
79
|
+
agent_thinking_text: String,
|
|
80
|
+
audio_visualizer_config: Telnyx::AI::AudioVisualizerConfig,
|
|
81
|
+
default_state: Telnyx::Models::AI::WidgetSettings::default_state,
|
|
82
|
+
give_feedback_url: String?,
|
|
83
|
+
logo_icon_url: String?,
|
|
84
|
+
position: Telnyx::Models::AI::WidgetSettings::position,
|
|
85
|
+
report_issue_url: String?,
|
|
86
|
+
speak_to_interrupt_text: String,
|
|
87
|
+
start_call_text: String,
|
|
88
|
+
theme: Telnyx::Models::AI::WidgetSettings::theme,
|
|
89
|
+
view_history_url: String?
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
type default_state = :expanded | :collapsed
|
|
93
|
+
|
|
94
|
+
module DefaultState
|
|
95
|
+
extend Telnyx::Internal::Type::Enum
|
|
96
|
+
|
|
97
|
+
EXPANDED: :expanded
|
|
98
|
+
COLLAPSED: :collapsed
|
|
99
|
+
|
|
100
|
+
def self?.values: -> ::Array[Telnyx::Models::AI::WidgetSettings::default_state]
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
type position = :fixed | :static
|
|
104
|
+
|
|
105
|
+
module Position
|
|
106
|
+
extend Telnyx::Internal::Type::Enum
|
|
107
|
+
|
|
108
|
+
FIXED: :fixed
|
|
109
|
+
STATIC: :static
|
|
110
|
+
|
|
111
|
+
def self?.values: -> ::Array[Telnyx::Models::AI::WidgetSettings::position]
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
type theme = :light | :dark
|
|
115
|
+
|
|
116
|
+
module Theme
|
|
117
|
+
extend Telnyx::Internal::Type::Enum
|
|
118
|
+
|
|
119
|
+
LIGHT: :light
|
|
120
|
+
DARK: :dark
|
|
121
|
+
|
|
122
|
+
def self?.values: -> ::Array[Telnyx::Models::AI::WidgetSettings::theme]
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
end
|
|
126
|
+
end
|
|
127
|
+
end
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
type connection_noise_suppression_details =
|
|
4
|
+
{
|
|
5
|
+
attenuation_limit: Integer,
|
|
6
|
+
engine: Telnyx::Models::ConnectionNoiseSuppressionDetails::engine
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
class ConnectionNoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
|
|
10
|
+
attr_reader attenuation_limit: Integer?
|
|
11
|
+
|
|
12
|
+
def attenuation_limit=: (Integer) -> Integer
|
|
13
|
+
|
|
14
|
+
attr_reader engine: Telnyx::Models::ConnectionNoiseSuppressionDetails::engine?
|
|
15
|
+
|
|
16
|
+
def engine=: (
|
|
17
|
+
Telnyx::Models::ConnectionNoiseSuppressionDetails::engine
|
|
18
|
+
) -> Telnyx::Models::ConnectionNoiseSuppressionDetails::engine
|
|
19
|
+
|
|
20
|
+
def initialize: (
|
|
21
|
+
?attenuation_limit: Integer,
|
|
22
|
+
?engine: Telnyx::Models::ConnectionNoiseSuppressionDetails::engine
|
|
23
|
+
) -> void
|
|
24
|
+
|
|
25
|
+
def to_hash: -> {
|
|
26
|
+
attenuation_limit: Integer,
|
|
27
|
+
engine: Telnyx::Models::ConnectionNoiseSuppressionDetails::engine
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
type engine =
|
|
31
|
+
:denoiser
|
|
32
|
+
| :deep_filter_net
|
|
33
|
+
| :deep_filter_net_large
|
|
34
|
+
| :krisp_viva_tel
|
|
35
|
+
| :krisp_viva_tel_lite
|
|
36
|
+
| :krisp_viva_promodel
|
|
37
|
+
| :krisp_viva_ss
|
|
38
|
+
|
|
39
|
+
module Engine
|
|
40
|
+
extend Telnyx::Internal::Type::Enum
|
|
41
|
+
|
|
42
|
+
DENOISER: :denoiser
|
|
43
|
+
DEEP_FILTER_NET: :deep_filter_net
|
|
44
|
+
DEEP_FILTER_NET_LARGE: :deep_filter_net_large
|
|
45
|
+
KRISP_VIVA_TEL: :krisp_viva_tel
|
|
46
|
+
KRISP_VIVA_TEL_LITE: :krisp_viva_tel_lite
|
|
47
|
+
KRISP_VIVA_PROMODEL: :krisp_viva_promodel
|
|
48
|
+
KRISP_VIVA_SS: :krisp_viva_ss
|
|
49
|
+
|
|
50
|
+
def self?.values: -> ::Array[Telnyx::Models::ConnectionNoiseSuppressionDetails::engine]
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
@@ -14,7 +14,7 @@ module Telnyx
|
|
|
14
14
|
encrypted_media: Telnyx::Models::encrypted_media?,
|
|
15
15
|
inbound: Telnyx::CredentialInbound,
|
|
16
16
|
noise_suppression: Telnyx::Models::CredentialConnection::noise_suppression,
|
|
17
|
-
noise_suppression_details: Telnyx::
|
|
17
|
+
noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails,
|
|
18
18
|
:onnet_t38_passthrough_enabled => bool,
|
|
19
19
|
outbound: Telnyx::CredentialOutbound,
|
|
20
20
|
password: String,
|
|
@@ -81,11 +81,11 @@ module Telnyx
|
|
|
81
81
|
Telnyx::Models::CredentialConnection::noise_suppression
|
|
82
82
|
) -> Telnyx::Models::CredentialConnection::noise_suppression
|
|
83
83
|
|
|
84
|
-
attr_reader noise_suppression_details: Telnyx::
|
|
84
|
+
attr_reader noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails?
|
|
85
85
|
|
|
86
86
|
def noise_suppression_details=: (
|
|
87
|
-
Telnyx::
|
|
88
|
-
) -> Telnyx::
|
|
87
|
+
Telnyx::ConnectionNoiseSuppressionDetails
|
|
88
|
+
) -> Telnyx::ConnectionNoiseSuppressionDetails
|
|
89
89
|
|
|
90
90
|
attr_reader onnet_t38_passthrough_enabled: bool?
|
|
91
91
|
|
|
@@ -154,7 +154,7 @@ module Telnyx
|
|
|
154
154
|
?encrypted_media: Telnyx::Models::encrypted_media?,
|
|
155
155
|
?inbound: Telnyx::CredentialInbound,
|
|
156
156
|
?noise_suppression: Telnyx::Models::CredentialConnection::noise_suppression,
|
|
157
|
-
?noise_suppression_details: Telnyx::
|
|
157
|
+
?noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails,
|
|
158
158
|
?onnet_t38_passthrough_enabled: bool,
|
|
159
159
|
?outbound: Telnyx::CredentialOutbound,
|
|
160
160
|
?password: String,
|
|
@@ -183,7 +183,7 @@ module Telnyx
|
|
|
183
183
|
encrypted_media: Telnyx::Models::encrypted_media?,
|
|
184
184
|
inbound: Telnyx::CredentialInbound,
|
|
185
185
|
noise_suppression: Telnyx::Models::CredentialConnection::noise_suppression,
|
|
186
|
-
noise_suppression_details: Telnyx::
|
|
186
|
+
noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails,
|
|
187
187
|
:onnet_t38_passthrough_enabled => bool,
|
|
188
188
|
outbound: Telnyx::CredentialOutbound,
|
|
189
189
|
password: String,
|
|
@@ -212,57 +212,6 @@ module Telnyx
|
|
|
212
212
|
def self?.values: -> ::Array[Telnyx::Models::CredentialConnection::noise_suppression]
|
|
213
213
|
end
|
|
214
214
|
|
|
215
|
-
type noise_suppression_details =
|
|
216
|
-
{
|
|
217
|
-
attenuation_limit: Integer,
|
|
218
|
-
engine: Telnyx::Models::CredentialConnection::NoiseSuppressionDetails::engine
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
class NoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
|
|
222
|
-
attr_reader attenuation_limit: Integer?
|
|
223
|
-
|
|
224
|
-
def attenuation_limit=: (Integer) -> Integer
|
|
225
|
-
|
|
226
|
-
attr_reader engine: Telnyx::Models::CredentialConnection::NoiseSuppressionDetails::engine?
|
|
227
|
-
|
|
228
|
-
def engine=: (
|
|
229
|
-
Telnyx::Models::CredentialConnection::NoiseSuppressionDetails::engine
|
|
230
|
-
) -> Telnyx::Models::CredentialConnection::NoiseSuppressionDetails::engine
|
|
231
|
-
|
|
232
|
-
def initialize: (
|
|
233
|
-
?attenuation_limit: Integer,
|
|
234
|
-
?engine: Telnyx::Models::CredentialConnection::NoiseSuppressionDetails::engine
|
|
235
|
-
) -> void
|
|
236
|
-
|
|
237
|
-
def to_hash: -> {
|
|
238
|
-
attenuation_limit: Integer,
|
|
239
|
-
engine: Telnyx::Models::CredentialConnection::NoiseSuppressionDetails::engine
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
type engine =
|
|
243
|
-
:denoiser
|
|
244
|
-
| :deep_filter_net
|
|
245
|
-
| :deep_filter_net_large
|
|
246
|
-
| :krisp_viva_tel
|
|
247
|
-
| :krisp_viva_tel_lite
|
|
248
|
-
| :krisp_viva_promodel
|
|
249
|
-
| :krisp_viva_ss
|
|
250
|
-
|
|
251
|
-
module Engine
|
|
252
|
-
extend Telnyx::Internal::Type::Enum
|
|
253
|
-
|
|
254
|
-
DENOISER: :denoiser
|
|
255
|
-
DEEP_FILTER_NET: :deep_filter_net
|
|
256
|
-
DEEP_FILTER_NET_LARGE: :deep_filter_net_large
|
|
257
|
-
KRISP_VIVA_TEL: :krisp_viva_tel
|
|
258
|
-
KRISP_VIVA_TEL_LITE: :krisp_viva_tel_lite
|
|
259
|
-
KRISP_VIVA_PROMODEL: :krisp_viva_promodel
|
|
260
|
-
KRISP_VIVA_SS: :krisp_viva_ss
|
|
261
|
-
|
|
262
|
-
def self?.values: -> ::Array[Telnyx::Models::CredentialConnection::NoiseSuppressionDetails::engine]
|
|
263
|
-
end
|
|
264
|
-
end
|
|
265
|
-
|
|
266
215
|
type sip_uri_calling_preference = :disabled | :unrestricted | :internal
|
|
267
216
|
|
|
268
217
|
module SipUriCallingPreference
|
|
@@ -16,7 +16,7 @@ module Telnyx
|
|
|
16
16
|
inbound: Telnyx::CredentialInbound,
|
|
17
17
|
ios_push_credential_id: String?,
|
|
18
18
|
noise_suppression: Telnyx::Models::CredentialConnectionCreateParams::noise_suppression,
|
|
19
|
-
noise_suppression_details: Telnyx::
|
|
19
|
+
noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails,
|
|
20
20
|
:onnet_t38_passthrough_enabled => bool,
|
|
21
21
|
outbound: Telnyx::CredentialOutbound,
|
|
22
22
|
rtcp_settings: Telnyx::ConnectionRtcpSettings,
|
|
@@ -81,11 +81,11 @@ module Telnyx
|
|
|
81
81
|
Telnyx::Models::CredentialConnectionCreateParams::noise_suppression
|
|
82
82
|
) -> Telnyx::Models::CredentialConnectionCreateParams::noise_suppression
|
|
83
83
|
|
|
84
|
-
attr_reader noise_suppression_details: Telnyx::
|
|
84
|
+
attr_reader noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails?
|
|
85
85
|
|
|
86
86
|
def noise_suppression_details=: (
|
|
87
|
-
Telnyx::
|
|
88
|
-
) -> Telnyx::
|
|
87
|
+
Telnyx::ConnectionNoiseSuppressionDetails
|
|
88
|
+
) -> Telnyx::ConnectionNoiseSuppressionDetails
|
|
89
89
|
|
|
90
90
|
attr_reader onnet_t38_passthrough_enabled: bool?
|
|
91
91
|
|
|
@@ -140,7 +140,7 @@ module Telnyx
|
|
|
140
140
|
?inbound: Telnyx::CredentialInbound,
|
|
141
141
|
?ios_push_credential_id: String?,
|
|
142
142
|
?noise_suppression: Telnyx::Models::CredentialConnectionCreateParams::noise_suppression,
|
|
143
|
-
?noise_suppression_details: Telnyx::
|
|
143
|
+
?noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails,
|
|
144
144
|
?onnet_t38_passthrough_enabled: bool,
|
|
145
145
|
?outbound: Telnyx::CredentialOutbound,
|
|
146
146
|
?rtcp_settings: Telnyx::ConnectionRtcpSettings,
|
|
@@ -168,7 +168,7 @@ module Telnyx
|
|
|
168
168
|
inbound: Telnyx::CredentialInbound,
|
|
169
169
|
ios_push_credential_id: String?,
|
|
170
170
|
noise_suppression: Telnyx::Models::CredentialConnectionCreateParams::noise_suppression,
|
|
171
|
-
noise_suppression_details: Telnyx::
|
|
171
|
+
noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails,
|
|
172
172
|
:onnet_t38_passthrough_enabled => bool,
|
|
173
173
|
outbound: Telnyx::CredentialOutbound,
|
|
174
174
|
rtcp_settings: Telnyx::ConnectionRtcpSettings,
|
|
@@ -194,57 +194,6 @@ module Telnyx
|
|
|
194
194
|
def self?.values: -> ::Array[Telnyx::Models::CredentialConnectionCreateParams::noise_suppression]
|
|
195
195
|
end
|
|
196
196
|
|
|
197
|
-
type noise_suppression_details =
|
|
198
|
-
{
|
|
199
|
-
attenuation_limit: Integer,
|
|
200
|
-
engine: Telnyx::Models::CredentialConnectionCreateParams::NoiseSuppressionDetails::engine
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
class NoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
|
|
204
|
-
attr_reader attenuation_limit: Integer?
|
|
205
|
-
|
|
206
|
-
def attenuation_limit=: (Integer) -> Integer
|
|
207
|
-
|
|
208
|
-
attr_reader engine: Telnyx::Models::CredentialConnectionCreateParams::NoiseSuppressionDetails::engine?
|
|
209
|
-
|
|
210
|
-
def engine=: (
|
|
211
|
-
Telnyx::Models::CredentialConnectionCreateParams::NoiseSuppressionDetails::engine
|
|
212
|
-
) -> Telnyx::Models::CredentialConnectionCreateParams::NoiseSuppressionDetails::engine
|
|
213
|
-
|
|
214
|
-
def initialize: (
|
|
215
|
-
?attenuation_limit: Integer,
|
|
216
|
-
?engine: Telnyx::Models::CredentialConnectionCreateParams::NoiseSuppressionDetails::engine
|
|
217
|
-
) -> void
|
|
218
|
-
|
|
219
|
-
def to_hash: -> {
|
|
220
|
-
attenuation_limit: Integer,
|
|
221
|
-
engine: Telnyx::Models::CredentialConnectionCreateParams::NoiseSuppressionDetails::engine
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
type engine =
|
|
225
|
-
:denoiser
|
|
226
|
-
| :deep_filter_net
|
|
227
|
-
| :deep_filter_net_large
|
|
228
|
-
| :krisp_viva_tel
|
|
229
|
-
| :krisp_viva_tel_lite
|
|
230
|
-
| :krisp_viva_promodel
|
|
231
|
-
| :krisp_viva_ss
|
|
232
|
-
|
|
233
|
-
module Engine
|
|
234
|
-
extend Telnyx::Internal::Type::Enum
|
|
235
|
-
|
|
236
|
-
DENOISER: :denoiser
|
|
237
|
-
DEEP_FILTER_NET: :deep_filter_net
|
|
238
|
-
DEEP_FILTER_NET_LARGE: :deep_filter_net_large
|
|
239
|
-
KRISP_VIVA_TEL: :krisp_viva_tel
|
|
240
|
-
KRISP_VIVA_TEL_LITE: :krisp_viva_tel_lite
|
|
241
|
-
KRISP_VIVA_PROMODEL: :krisp_viva_promodel
|
|
242
|
-
KRISP_VIVA_SS: :krisp_viva_ss
|
|
243
|
-
|
|
244
|
-
def self?.values: -> ::Array[Telnyx::Models::CredentialConnectionCreateParams::NoiseSuppressionDetails::engine]
|
|
245
|
-
end
|
|
246
|
-
end
|
|
247
|
-
|
|
248
197
|
type sip_uri_calling_preference = :disabled | :unrestricted | :internal
|
|
249
198
|
|
|
250
199
|
module SipUriCallingPreference
|
|
@@ -14,7 +14,7 @@ module Telnyx
|
|
|
14
14
|
inbound: Telnyx::CredentialInbound,
|
|
15
15
|
ios_push_credential_id: String?,
|
|
16
16
|
noise_suppression: Telnyx::Models::CredentialConnectionUpdateParams::noise_suppression,
|
|
17
|
-
noise_suppression_details: Telnyx::
|
|
17
|
+
noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails,
|
|
18
18
|
:onnet_t38_passthrough_enabled => bool,
|
|
19
19
|
outbound: Telnyx::CredentialOutbound,
|
|
20
20
|
password: String,
|
|
@@ -79,11 +79,11 @@ module Telnyx
|
|
|
79
79
|
Telnyx::Models::CredentialConnectionUpdateParams::noise_suppression
|
|
80
80
|
) -> Telnyx::Models::CredentialConnectionUpdateParams::noise_suppression
|
|
81
81
|
|
|
82
|
-
attr_reader noise_suppression_details: Telnyx::
|
|
82
|
+
attr_reader noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails?
|
|
83
83
|
|
|
84
84
|
def noise_suppression_details=: (
|
|
85
|
-
Telnyx::
|
|
86
|
-
) -> Telnyx::
|
|
85
|
+
Telnyx::ConnectionNoiseSuppressionDetails
|
|
86
|
+
) -> Telnyx::ConnectionNoiseSuppressionDetails
|
|
87
87
|
|
|
88
88
|
attr_reader onnet_t38_passthrough_enabled: bool?
|
|
89
89
|
|
|
@@ -144,7 +144,7 @@ module Telnyx
|
|
|
144
144
|
?inbound: Telnyx::CredentialInbound,
|
|
145
145
|
?ios_push_credential_id: String?,
|
|
146
146
|
?noise_suppression: Telnyx::Models::CredentialConnectionUpdateParams::noise_suppression,
|
|
147
|
-
?noise_suppression_details: Telnyx::
|
|
147
|
+
?noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails,
|
|
148
148
|
?onnet_t38_passthrough_enabled: bool,
|
|
149
149
|
?outbound: Telnyx::CredentialOutbound,
|
|
150
150
|
?password: String,
|
|
@@ -172,7 +172,7 @@ module Telnyx
|
|
|
172
172
|
inbound: Telnyx::CredentialInbound,
|
|
173
173
|
ios_push_credential_id: String?,
|
|
174
174
|
noise_suppression: Telnyx::Models::CredentialConnectionUpdateParams::noise_suppression,
|
|
175
|
-
noise_suppression_details: Telnyx::
|
|
175
|
+
noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails,
|
|
176
176
|
:onnet_t38_passthrough_enabled => bool,
|
|
177
177
|
outbound: Telnyx::CredentialOutbound,
|
|
178
178
|
password: String,
|
|
@@ -200,57 +200,6 @@ module Telnyx
|
|
|
200
200
|
def self?.values: -> ::Array[Telnyx::Models::CredentialConnectionUpdateParams::noise_suppression]
|
|
201
201
|
end
|
|
202
202
|
|
|
203
|
-
type noise_suppression_details =
|
|
204
|
-
{
|
|
205
|
-
attenuation_limit: Integer,
|
|
206
|
-
engine: Telnyx::Models::CredentialConnectionUpdateParams::NoiseSuppressionDetails::engine
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
class NoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
|
|
210
|
-
attr_reader attenuation_limit: Integer?
|
|
211
|
-
|
|
212
|
-
def attenuation_limit=: (Integer) -> Integer
|
|
213
|
-
|
|
214
|
-
attr_reader engine: Telnyx::Models::CredentialConnectionUpdateParams::NoiseSuppressionDetails::engine?
|
|
215
|
-
|
|
216
|
-
def engine=: (
|
|
217
|
-
Telnyx::Models::CredentialConnectionUpdateParams::NoiseSuppressionDetails::engine
|
|
218
|
-
) -> Telnyx::Models::CredentialConnectionUpdateParams::NoiseSuppressionDetails::engine
|
|
219
|
-
|
|
220
|
-
def initialize: (
|
|
221
|
-
?attenuation_limit: Integer,
|
|
222
|
-
?engine: Telnyx::Models::CredentialConnectionUpdateParams::NoiseSuppressionDetails::engine
|
|
223
|
-
) -> void
|
|
224
|
-
|
|
225
|
-
def to_hash: -> {
|
|
226
|
-
attenuation_limit: Integer,
|
|
227
|
-
engine: Telnyx::Models::CredentialConnectionUpdateParams::NoiseSuppressionDetails::engine
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
type engine =
|
|
231
|
-
:denoiser
|
|
232
|
-
| :deep_filter_net
|
|
233
|
-
| :deep_filter_net_large
|
|
234
|
-
| :krisp_viva_tel
|
|
235
|
-
| :krisp_viva_tel_lite
|
|
236
|
-
| :krisp_viva_promodel
|
|
237
|
-
| :krisp_viva_ss
|
|
238
|
-
|
|
239
|
-
module Engine
|
|
240
|
-
extend Telnyx::Internal::Type::Enum
|
|
241
|
-
|
|
242
|
-
DENOISER: :denoiser
|
|
243
|
-
DEEP_FILTER_NET: :deep_filter_net
|
|
244
|
-
DEEP_FILTER_NET_LARGE: :deep_filter_net_large
|
|
245
|
-
KRISP_VIVA_TEL: :krisp_viva_tel
|
|
246
|
-
KRISP_VIVA_TEL_LITE: :krisp_viva_tel_lite
|
|
247
|
-
KRISP_VIVA_PROMODEL: :krisp_viva_promodel
|
|
248
|
-
KRISP_VIVA_SS: :krisp_viva_ss
|
|
249
|
-
|
|
250
|
-
def self?.values: -> ::Array[Telnyx::Models::CredentialConnectionUpdateParams::NoiseSuppressionDetails::engine]
|
|
251
|
-
end
|
|
252
|
-
end
|
|
253
|
-
|
|
254
203
|
type sip_uri_calling_preference = :disabled | :unrestricted | :internal
|
|
255
204
|
|
|
256
205
|
module SipUriCallingPreference
|