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
|
@@ -126,8 +126,8 @@ module Telnyx
|
|
|
126
126
|
# @!attribute widget_settings
|
|
127
127
|
# Configuration settings for the assistant's web widget.
|
|
128
128
|
#
|
|
129
|
-
# @return [Telnyx::Models::AI::
|
|
130
|
-
optional :widget_settings, -> { Telnyx::AI::
|
|
129
|
+
# @return [Telnyx::Models::AI::WidgetSettings, nil]
|
|
130
|
+
optional :widget_settings, -> { Telnyx::AI::WidgetSettings }
|
|
131
131
|
|
|
132
132
|
# @!method initialize(id:, created_at:, instructions:, model:, name:, description: nil, dynamic_variables: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, greeting: nil, import_metadata: nil, insight_settings: nil, llm_api_key_ref: nil, messaging_settings: nil, privacy_settings: nil, telephony_settings: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil)
|
|
133
133
|
# Some parameter documentations has been truncated, see
|
|
@@ -171,177 +171,7 @@ module Telnyx
|
|
|
171
171
|
#
|
|
172
172
|
# @param voice_settings [Telnyx::Models::AI::VoiceSettings]
|
|
173
173
|
#
|
|
174
|
-
# @param widget_settings [Telnyx::Models::AI::
|
|
175
|
-
|
|
176
|
-
# @see Telnyx::Models::AI::InferenceEmbedding#widget_settings
|
|
177
|
-
class WidgetSettings < Telnyx::Internal::Type::BaseModel
|
|
178
|
-
# @!attribute agent_thinking_text
|
|
179
|
-
# Text displayed while the agent is processing.
|
|
180
|
-
#
|
|
181
|
-
# @return [String, nil]
|
|
182
|
-
optional :agent_thinking_text, String
|
|
183
|
-
|
|
184
|
-
# @!attribute audio_visualizer_config
|
|
185
|
-
#
|
|
186
|
-
# @return [Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::AudioVisualizerConfig, nil]
|
|
187
|
-
optional :audio_visualizer_config,
|
|
188
|
-
-> { Telnyx::AI::InferenceEmbedding::WidgetSettings::AudioVisualizerConfig }
|
|
189
|
-
|
|
190
|
-
# @!attribute default_state
|
|
191
|
-
# The default state of the widget.
|
|
192
|
-
#
|
|
193
|
-
# @return [Symbol, Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::DefaultState, nil]
|
|
194
|
-
optional :default_state, enum: -> { Telnyx::AI::InferenceEmbedding::WidgetSettings::DefaultState }
|
|
195
|
-
|
|
196
|
-
# @!attribute give_feedback_url
|
|
197
|
-
# URL for users to give feedback.
|
|
198
|
-
#
|
|
199
|
-
# @return [String, nil]
|
|
200
|
-
optional :give_feedback_url, String, nil?: true
|
|
201
|
-
|
|
202
|
-
# @!attribute logo_icon_url
|
|
203
|
-
# URL to a custom logo icon for the widget.
|
|
204
|
-
#
|
|
205
|
-
# @return [String, nil]
|
|
206
|
-
optional :logo_icon_url, String, nil?: true
|
|
207
|
-
|
|
208
|
-
# @!attribute position
|
|
209
|
-
# The positioning style for the widget.
|
|
210
|
-
#
|
|
211
|
-
# @return [Symbol, Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::Position, nil]
|
|
212
|
-
optional :position, enum: -> { Telnyx::AI::InferenceEmbedding::WidgetSettings::Position }
|
|
213
|
-
|
|
214
|
-
# @!attribute report_issue_url
|
|
215
|
-
# URL for users to report issues.
|
|
216
|
-
#
|
|
217
|
-
# @return [String, nil]
|
|
218
|
-
optional :report_issue_url, String, nil?: true
|
|
219
|
-
|
|
220
|
-
# @!attribute speak_to_interrupt_text
|
|
221
|
-
# Text prompting users to speak to interrupt.
|
|
222
|
-
#
|
|
223
|
-
# @return [String, nil]
|
|
224
|
-
optional :speak_to_interrupt_text, String
|
|
225
|
-
|
|
226
|
-
# @!attribute start_call_text
|
|
227
|
-
# Custom text displayed on the start call button.
|
|
228
|
-
#
|
|
229
|
-
# @return [String, nil]
|
|
230
|
-
optional :start_call_text, String
|
|
231
|
-
|
|
232
|
-
# @!attribute theme
|
|
233
|
-
# The visual theme for the widget.
|
|
234
|
-
#
|
|
235
|
-
# @return [Symbol, Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::Theme, nil]
|
|
236
|
-
optional :theme, enum: -> { Telnyx::AI::InferenceEmbedding::WidgetSettings::Theme }
|
|
237
|
-
|
|
238
|
-
# @!attribute view_history_url
|
|
239
|
-
# URL to view conversation history.
|
|
240
|
-
#
|
|
241
|
-
# @return [String, nil]
|
|
242
|
-
optional :view_history_url, String, nil?: true
|
|
243
|
-
|
|
244
|
-
# @!method initialize(agent_thinking_text: nil, audio_visualizer_config: nil, default_state: nil, give_feedback_url: nil, logo_icon_url: nil, position: nil, report_issue_url: nil, speak_to_interrupt_text: nil, start_call_text: nil, theme: nil, view_history_url: nil)
|
|
245
|
-
# Configuration settings for the assistant's web widget.
|
|
246
|
-
#
|
|
247
|
-
# @param agent_thinking_text [String] Text displayed while the agent is processing.
|
|
248
|
-
#
|
|
249
|
-
# @param audio_visualizer_config [Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::AudioVisualizerConfig]
|
|
250
|
-
#
|
|
251
|
-
# @param default_state [Symbol, Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::DefaultState] The default state of the widget.
|
|
252
|
-
#
|
|
253
|
-
# @param give_feedback_url [String, nil] URL for users to give feedback.
|
|
254
|
-
#
|
|
255
|
-
# @param logo_icon_url [String, nil] URL to a custom logo icon for the widget.
|
|
256
|
-
#
|
|
257
|
-
# @param position [Symbol, Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::Position] The positioning style for the widget.
|
|
258
|
-
#
|
|
259
|
-
# @param report_issue_url [String, nil] URL for users to report issues.
|
|
260
|
-
#
|
|
261
|
-
# @param speak_to_interrupt_text [String] Text prompting users to speak to interrupt.
|
|
262
|
-
#
|
|
263
|
-
# @param start_call_text [String] Custom text displayed on the start call button.
|
|
264
|
-
#
|
|
265
|
-
# @param theme [Symbol, Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::Theme] The visual theme for the widget.
|
|
266
|
-
#
|
|
267
|
-
# @param view_history_url [String, nil] URL to view conversation history.
|
|
268
|
-
|
|
269
|
-
# @see Telnyx::Models::AI::InferenceEmbedding::WidgetSettings#audio_visualizer_config
|
|
270
|
-
class AudioVisualizerConfig < Telnyx::Internal::Type::BaseModel
|
|
271
|
-
# @!attribute color
|
|
272
|
-
# The color theme for the audio visualizer.
|
|
273
|
-
#
|
|
274
|
-
# @return [Symbol, Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::AudioVisualizerConfig::Color, nil]
|
|
275
|
-
optional :color, enum: -> { Telnyx::AI::InferenceEmbedding::WidgetSettings::AudioVisualizerConfig::Color }
|
|
276
|
-
|
|
277
|
-
# @!attribute preset
|
|
278
|
-
# The preset style for the audio visualizer.
|
|
279
|
-
#
|
|
280
|
-
# @return [String, nil]
|
|
281
|
-
optional :preset, String
|
|
282
|
-
|
|
283
|
-
# @!method initialize(color: nil, preset: nil)
|
|
284
|
-
# @param color [Symbol, Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::AudioVisualizerConfig::Color] The color theme for the audio visualizer.
|
|
285
|
-
#
|
|
286
|
-
# @param preset [String] The preset style for the audio visualizer.
|
|
287
|
-
|
|
288
|
-
# The color theme for the audio visualizer.
|
|
289
|
-
#
|
|
290
|
-
# @see Telnyx::Models::AI::InferenceEmbedding::WidgetSettings::AudioVisualizerConfig#color
|
|
291
|
-
module Color
|
|
292
|
-
extend Telnyx::Internal::Type::Enum
|
|
293
|
-
|
|
294
|
-
VERDANT = :verdant
|
|
295
|
-
TWILIGHT = :twilight
|
|
296
|
-
BLOOM = :bloom
|
|
297
|
-
MYSTIC = :mystic
|
|
298
|
-
FLARE = :flare
|
|
299
|
-
GLACIER = :glacier
|
|
300
|
-
|
|
301
|
-
# @!method self.values
|
|
302
|
-
# @return [Array<Symbol>]
|
|
303
|
-
end
|
|
304
|
-
end
|
|
305
|
-
|
|
306
|
-
# The default state of the widget.
|
|
307
|
-
#
|
|
308
|
-
# @see Telnyx::Models::AI::InferenceEmbedding::WidgetSettings#default_state
|
|
309
|
-
module DefaultState
|
|
310
|
-
extend Telnyx::Internal::Type::Enum
|
|
311
|
-
|
|
312
|
-
EXPANDED = :expanded
|
|
313
|
-
COLLAPSED = :collapsed
|
|
314
|
-
|
|
315
|
-
# @!method self.values
|
|
316
|
-
# @return [Array<Symbol>]
|
|
317
|
-
end
|
|
318
|
-
|
|
319
|
-
# The positioning style for the widget.
|
|
320
|
-
#
|
|
321
|
-
# @see Telnyx::Models::AI::InferenceEmbedding::WidgetSettings#position
|
|
322
|
-
module Position
|
|
323
|
-
extend Telnyx::Internal::Type::Enum
|
|
324
|
-
|
|
325
|
-
FIXED = :fixed
|
|
326
|
-
STATIC = :static
|
|
327
|
-
|
|
328
|
-
# @!method self.values
|
|
329
|
-
# @return [Array<Symbol>]
|
|
330
|
-
end
|
|
331
|
-
|
|
332
|
-
# The visual theme for the widget.
|
|
333
|
-
#
|
|
334
|
-
# @see Telnyx::Models::AI::InferenceEmbedding::WidgetSettings#theme
|
|
335
|
-
module Theme
|
|
336
|
-
extend Telnyx::Internal::Type::Enum
|
|
337
|
-
|
|
338
|
-
LIGHT = :light
|
|
339
|
-
DARK = :dark
|
|
340
|
-
|
|
341
|
-
# @!method self.values
|
|
342
|
-
# @return [Array<Symbol>]
|
|
343
|
-
end
|
|
344
|
-
end
|
|
174
|
+
# @param widget_settings [Telnyx::Models::AI::WidgetSettings] Configuration settings for the assistant's web widget.
|
|
345
175
|
end
|
|
346
176
|
end
|
|
347
177
|
end
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
module AI
|
|
6
|
+
class WidgetSettings < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute agent_thinking_text
|
|
8
|
+
# Text displayed while the agent is processing.
|
|
9
|
+
#
|
|
10
|
+
# @return [String, nil]
|
|
11
|
+
optional :agent_thinking_text, String
|
|
12
|
+
|
|
13
|
+
# @!attribute audio_visualizer_config
|
|
14
|
+
#
|
|
15
|
+
# @return [Telnyx::Models::AI::AudioVisualizerConfig, nil]
|
|
16
|
+
optional :audio_visualizer_config, -> { Telnyx::AI::AudioVisualizerConfig }
|
|
17
|
+
|
|
18
|
+
# @!attribute default_state
|
|
19
|
+
# The default state of the widget.
|
|
20
|
+
#
|
|
21
|
+
# @return [Symbol, Telnyx::Models::AI::WidgetSettings::DefaultState, nil]
|
|
22
|
+
optional :default_state, enum: -> { Telnyx::AI::WidgetSettings::DefaultState }
|
|
23
|
+
|
|
24
|
+
# @!attribute give_feedback_url
|
|
25
|
+
# URL for users to give feedback.
|
|
26
|
+
#
|
|
27
|
+
# @return [String, nil]
|
|
28
|
+
optional :give_feedback_url, String, nil?: true
|
|
29
|
+
|
|
30
|
+
# @!attribute logo_icon_url
|
|
31
|
+
# URL to a custom logo icon for the widget.
|
|
32
|
+
#
|
|
33
|
+
# @return [String, nil]
|
|
34
|
+
optional :logo_icon_url, String, nil?: true
|
|
35
|
+
|
|
36
|
+
# @!attribute position
|
|
37
|
+
# The positioning style for the widget.
|
|
38
|
+
#
|
|
39
|
+
# @return [Symbol, Telnyx::Models::AI::WidgetSettings::Position, nil]
|
|
40
|
+
optional :position, enum: -> { Telnyx::AI::WidgetSettings::Position }
|
|
41
|
+
|
|
42
|
+
# @!attribute report_issue_url
|
|
43
|
+
# URL for users to report issues.
|
|
44
|
+
#
|
|
45
|
+
# @return [String, nil]
|
|
46
|
+
optional :report_issue_url, String, nil?: true
|
|
47
|
+
|
|
48
|
+
# @!attribute speak_to_interrupt_text
|
|
49
|
+
# Text prompting users to speak to interrupt.
|
|
50
|
+
#
|
|
51
|
+
# @return [String, nil]
|
|
52
|
+
optional :speak_to_interrupt_text, String
|
|
53
|
+
|
|
54
|
+
# @!attribute start_call_text
|
|
55
|
+
# Custom text displayed on the start call button.
|
|
56
|
+
#
|
|
57
|
+
# @return [String, nil]
|
|
58
|
+
optional :start_call_text, String
|
|
59
|
+
|
|
60
|
+
# @!attribute theme
|
|
61
|
+
# The visual theme for the widget.
|
|
62
|
+
#
|
|
63
|
+
# @return [Symbol, Telnyx::Models::AI::WidgetSettings::Theme, nil]
|
|
64
|
+
optional :theme, enum: -> { Telnyx::AI::WidgetSettings::Theme }
|
|
65
|
+
|
|
66
|
+
# @!attribute view_history_url
|
|
67
|
+
# URL to view conversation history.
|
|
68
|
+
#
|
|
69
|
+
# @return [String, nil]
|
|
70
|
+
optional :view_history_url, String, nil?: true
|
|
71
|
+
|
|
72
|
+
# @!method initialize(agent_thinking_text: nil, audio_visualizer_config: nil, default_state: nil, give_feedback_url: nil, logo_icon_url: nil, position: nil, report_issue_url: nil, speak_to_interrupt_text: nil, start_call_text: nil, theme: nil, view_history_url: nil)
|
|
73
|
+
# Configuration settings for the assistant's web widget.
|
|
74
|
+
#
|
|
75
|
+
# @param agent_thinking_text [String] Text displayed while the agent is processing.
|
|
76
|
+
#
|
|
77
|
+
# @param audio_visualizer_config [Telnyx::Models::AI::AudioVisualizerConfig]
|
|
78
|
+
#
|
|
79
|
+
# @param default_state [Symbol, Telnyx::Models::AI::WidgetSettings::DefaultState] The default state of the widget.
|
|
80
|
+
#
|
|
81
|
+
# @param give_feedback_url [String, nil] URL for users to give feedback.
|
|
82
|
+
#
|
|
83
|
+
# @param logo_icon_url [String, nil] URL to a custom logo icon for the widget.
|
|
84
|
+
#
|
|
85
|
+
# @param position [Symbol, Telnyx::Models::AI::WidgetSettings::Position] The positioning style for the widget.
|
|
86
|
+
#
|
|
87
|
+
# @param report_issue_url [String, nil] URL for users to report issues.
|
|
88
|
+
#
|
|
89
|
+
# @param speak_to_interrupt_text [String] Text prompting users to speak to interrupt.
|
|
90
|
+
#
|
|
91
|
+
# @param start_call_text [String] Custom text displayed on the start call button.
|
|
92
|
+
#
|
|
93
|
+
# @param theme [Symbol, Telnyx::Models::AI::WidgetSettings::Theme] The visual theme for the widget.
|
|
94
|
+
#
|
|
95
|
+
# @param view_history_url [String, nil] URL to view conversation history.
|
|
96
|
+
|
|
97
|
+
# The default state of the widget.
|
|
98
|
+
#
|
|
99
|
+
# @see Telnyx::Models::AI::WidgetSettings#default_state
|
|
100
|
+
module DefaultState
|
|
101
|
+
extend Telnyx::Internal::Type::Enum
|
|
102
|
+
|
|
103
|
+
EXPANDED = :expanded
|
|
104
|
+
COLLAPSED = :collapsed
|
|
105
|
+
|
|
106
|
+
# @!method self.values
|
|
107
|
+
# @return [Array<Symbol>]
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
# The positioning style for the widget.
|
|
111
|
+
#
|
|
112
|
+
# @see Telnyx::Models::AI::WidgetSettings#position
|
|
113
|
+
module Position
|
|
114
|
+
extend Telnyx::Internal::Type::Enum
|
|
115
|
+
|
|
116
|
+
FIXED = :fixed
|
|
117
|
+
STATIC = :static
|
|
118
|
+
|
|
119
|
+
# @!method self.values
|
|
120
|
+
# @return [Array<Symbol>]
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
# The visual theme for the widget.
|
|
124
|
+
#
|
|
125
|
+
# @see Telnyx::Models::AI::WidgetSettings#theme
|
|
126
|
+
module Theme
|
|
127
|
+
extend Telnyx::Internal::Type::Enum
|
|
128
|
+
|
|
129
|
+
LIGHT = :light
|
|
130
|
+
DARK = :dark
|
|
131
|
+
|
|
132
|
+
# @!method self.values
|
|
133
|
+
# @return [Array<Symbol>]
|
|
134
|
+
end
|
|
135
|
+
end
|
|
136
|
+
end
|
|
137
|
+
end
|
|
138
|
+
end
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
class ConnectionNoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
|
|
6
|
+
# @!attribute attenuation_limit
|
|
7
|
+
# The attenuation limit value for the selected engine. Default values vary by
|
|
8
|
+
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
9
|
+
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
10
|
+
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
11
|
+
#
|
|
12
|
+
# @return [Integer, nil]
|
|
13
|
+
optional :attenuation_limit, Integer
|
|
14
|
+
|
|
15
|
+
# @!attribute engine
|
|
16
|
+
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
17
|
+
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
18
|
+
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
19
|
+
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
20
|
+
# noise suppression capabilities.
|
|
21
|
+
#
|
|
22
|
+
# @return [Symbol, Telnyx::Models::ConnectionNoiseSuppressionDetails::Engine, nil]
|
|
23
|
+
optional :engine, enum: -> { Telnyx::ConnectionNoiseSuppressionDetails::Engine }
|
|
24
|
+
|
|
25
|
+
# @!method initialize(attenuation_limit: nil, engine: nil)
|
|
26
|
+
# Some parameter documentations has been truncated, see
|
|
27
|
+
# {Telnyx::Models::ConnectionNoiseSuppressionDetails} for more details.
|
|
28
|
+
#
|
|
29
|
+
# Configuration options for noise suppression. These settings are stored
|
|
30
|
+
# regardless of the noise_suppression value, but only take effect when
|
|
31
|
+
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
32
|
+
# re-enable it, the previously configured settings will be used.
|
|
33
|
+
#
|
|
34
|
+
# @param attenuation_limit [Integer] The attenuation limit value for the selected engine. Default values vary by engi
|
|
35
|
+
#
|
|
36
|
+
# @param engine [Symbol, Telnyx::Models::ConnectionNoiseSuppressionDetails::Engine] The noise suppression engine to use. 'denoiser' is the default engine. 'deep_fil
|
|
37
|
+
|
|
38
|
+
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
39
|
+
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
40
|
+
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
41
|
+
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
42
|
+
# noise suppression capabilities.
|
|
43
|
+
#
|
|
44
|
+
# @see Telnyx::Models::ConnectionNoiseSuppressionDetails#engine
|
|
45
|
+
module Engine
|
|
46
|
+
extend Telnyx::Internal::Type::Enum
|
|
47
|
+
|
|
48
|
+
DENOISER = :denoiser
|
|
49
|
+
DEEP_FILTER_NET = :deep_filter_net
|
|
50
|
+
DEEP_FILTER_NET_LARGE = :deep_filter_net_large
|
|
51
|
+
KRISP_VIVA_TEL = :krisp_viva_tel
|
|
52
|
+
KRISP_VIVA_TEL_LITE = :krisp_viva_tel_lite
|
|
53
|
+
KRISP_VIVA_PROMODEL = :krisp_viva_promodel
|
|
54
|
+
KRISP_VIVA_SS = :krisp_viva_ss
|
|
55
|
+
|
|
56
|
+
# @!method self.values
|
|
57
|
+
# @return [Array<Symbol>]
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|
|
@@ -90,8 +90,8 @@ module Telnyx
|
|
|
90
90
|
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
91
91
|
# re-enable it, the previously configured settings will be used.
|
|
92
92
|
#
|
|
93
|
-
# @return [Telnyx::Models::
|
|
94
|
-
optional :noise_suppression_details, -> { Telnyx::
|
|
93
|
+
# @return [Telnyx::Models::ConnectionNoiseSuppressionDetails, nil]
|
|
94
|
+
optional :noise_suppression_details, -> { Telnyx::ConnectionNoiseSuppressionDetails }
|
|
95
95
|
|
|
96
96
|
# @!attribute onnet_t38_passthrough_enabled
|
|
97
97
|
# Enable on-net T38 if you prefer the sender and receiver negotiating T38 directly
|
|
@@ -208,7 +208,7 @@ module Telnyx
|
|
|
208
208
|
#
|
|
209
209
|
# @param noise_suppression [Symbol, Telnyx::Models::CredentialConnection::NoiseSuppression] Controls when noise suppression is applied to calls. When set to 'inbound', nois
|
|
210
210
|
#
|
|
211
|
-
# @param noise_suppression_details [Telnyx::Models::
|
|
211
|
+
# @param noise_suppression_details [Telnyx::Models::ConnectionNoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
|
|
212
212
|
#
|
|
213
213
|
# @param onnet_t38_passthrough_enabled [Boolean] Enable on-net T38 if you prefer the sender and receiver negotiating T38 directly
|
|
214
214
|
#
|
|
@@ -254,64 +254,6 @@ module Telnyx
|
|
|
254
254
|
# @return [Array<Symbol>]
|
|
255
255
|
end
|
|
256
256
|
|
|
257
|
-
# @see Telnyx::Models::CredentialConnection#noise_suppression_details
|
|
258
|
-
class NoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
|
|
259
|
-
# @!attribute attenuation_limit
|
|
260
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
261
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
262
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
263
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
264
|
-
#
|
|
265
|
-
# @return [Integer, nil]
|
|
266
|
-
optional :attenuation_limit, Integer
|
|
267
|
-
|
|
268
|
-
# @!attribute engine
|
|
269
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
270
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
271
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
272
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
273
|
-
# noise suppression capabilities.
|
|
274
|
-
#
|
|
275
|
-
# @return [Symbol, Telnyx::Models::CredentialConnection::NoiseSuppressionDetails::Engine, nil]
|
|
276
|
-
optional :engine, enum: -> { Telnyx::CredentialConnection::NoiseSuppressionDetails::Engine }
|
|
277
|
-
|
|
278
|
-
# @!method initialize(attenuation_limit: nil, engine: nil)
|
|
279
|
-
# Some parameter documentations has been truncated, see
|
|
280
|
-
# {Telnyx::Models::CredentialConnection::NoiseSuppressionDetails} for more
|
|
281
|
-
# details.
|
|
282
|
-
#
|
|
283
|
-
# Configuration options for noise suppression. These settings are stored
|
|
284
|
-
# regardless of the noise_suppression value, but only take effect when
|
|
285
|
-
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
286
|
-
# re-enable it, the previously configured settings will be used.
|
|
287
|
-
#
|
|
288
|
-
# @param attenuation_limit [Integer] The attenuation limit value for the selected engine. Default values vary by engi
|
|
289
|
-
#
|
|
290
|
-
# @param engine [Symbol, Telnyx::Models::CredentialConnection::NoiseSuppressionDetails::Engine] The noise suppression engine to use. 'denoiser' is the default engine. 'deep_fil
|
|
291
|
-
|
|
292
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
293
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
294
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
295
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
296
|
-
# noise suppression capabilities.
|
|
297
|
-
#
|
|
298
|
-
# @see Telnyx::Models::CredentialConnection::NoiseSuppressionDetails#engine
|
|
299
|
-
module Engine
|
|
300
|
-
extend Telnyx::Internal::Type::Enum
|
|
301
|
-
|
|
302
|
-
DENOISER = :denoiser
|
|
303
|
-
DEEP_FILTER_NET = :deep_filter_net
|
|
304
|
-
DEEP_FILTER_NET_LARGE = :deep_filter_net_large
|
|
305
|
-
KRISP_VIVA_TEL = :krisp_viva_tel
|
|
306
|
-
KRISP_VIVA_TEL_LITE = :krisp_viva_tel_lite
|
|
307
|
-
KRISP_VIVA_PROMODEL = :krisp_viva_promodel
|
|
308
|
-
KRISP_VIVA_SS = :krisp_viva_ss
|
|
309
|
-
|
|
310
|
-
# @!method self.values
|
|
311
|
-
# @return [Array<Symbol>]
|
|
312
|
-
end
|
|
313
|
-
end
|
|
314
|
-
|
|
315
257
|
# This feature enables inbound SIP URI calls to your Credential Auth Connection.
|
|
316
258
|
# If enabled for all (unrestricted) then anyone who calls the SIP URI
|
|
317
259
|
# <your-username>@telnyx.com will be connected to your Connection. You can also
|
|
@@ -108,9 +108,8 @@ module Telnyx
|
|
|
108
108
|
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
109
109
|
# re-enable it, the previously configured settings will be used.
|
|
110
110
|
#
|
|
111
|
-
# @return [Telnyx::Models::
|
|
112
|
-
optional :noise_suppression_details,
|
|
113
|
-
-> { Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails }
|
|
111
|
+
# @return [Telnyx::Models::ConnectionNoiseSuppressionDetails, nil]
|
|
112
|
+
optional :noise_suppression_details, -> { Telnyx::ConnectionNoiseSuppressionDetails }
|
|
114
113
|
|
|
115
114
|
# @!attribute onnet_t38_passthrough_enabled
|
|
116
115
|
# Enable on-net T38 if you prefer the sender and receiver negotiating T38 directly
|
|
@@ -207,7 +206,7 @@ module Telnyx
|
|
|
207
206
|
#
|
|
208
207
|
# @param noise_suppression [Symbol, Telnyx::Models::CredentialConnectionCreateParams::NoiseSuppression] Controls when noise suppression is applied to calls. When set to 'inbound', nois
|
|
209
208
|
#
|
|
210
|
-
# @param noise_suppression_details [Telnyx::Models::
|
|
209
|
+
# @param noise_suppression_details [Telnyx::Models::ConnectionNoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
|
|
211
210
|
#
|
|
212
211
|
# @param onnet_t38_passthrough_enabled [Boolean] Enable on-net T38 if you prefer the sender and receiver negotiating T38 directly
|
|
213
212
|
#
|
|
@@ -245,63 +244,6 @@ module Telnyx
|
|
|
245
244
|
# @return [Array<Symbol>]
|
|
246
245
|
end
|
|
247
246
|
|
|
248
|
-
class NoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
|
|
249
|
-
# @!attribute attenuation_limit
|
|
250
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
251
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
252
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
253
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
254
|
-
#
|
|
255
|
-
# @return [Integer, nil]
|
|
256
|
-
optional :attenuation_limit, Integer
|
|
257
|
-
|
|
258
|
-
# @!attribute engine
|
|
259
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
260
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
261
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
262
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
263
|
-
# noise suppression capabilities.
|
|
264
|
-
#
|
|
265
|
-
# @return [Symbol, Telnyx::Models::CredentialConnectionCreateParams::NoiseSuppressionDetails::Engine, nil]
|
|
266
|
-
optional :engine, enum: -> { Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails::Engine }
|
|
267
|
-
|
|
268
|
-
# @!method initialize(attenuation_limit: nil, engine: nil)
|
|
269
|
-
# Some parameter documentations has been truncated, see
|
|
270
|
-
# {Telnyx::Models::CredentialConnectionCreateParams::NoiseSuppressionDetails} for
|
|
271
|
-
# more details.
|
|
272
|
-
#
|
|
273
|
-
# Configuration options for noise suppression. These settings are stored
|
|
274
|
-
# regardless of the noise_suppression value, but only take effect when
|
|
275
|
-
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
276
|
-
# re-enable it, the previously configured settings will be used.
|
|
277
|
-
#
|
|
278
|
-
# @param attenuation_limit [Integer] The attenuation limit value for the selected engine. Default values vary by engi
|
|
279
|
-
#
|
|
280
|
-
# @param engine [Symbol, Telnyx::Models::CredentialConnectionCreateParams::NoiseSuppressionDetails::Engine] The noise suppression engine to use. 'denoiser' is the default engine. 'deep_fil
|
|
281
|
-
|
|
282
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
283
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
284
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
285
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
286
|
-
# noise suppression capabilities.
|
|
287
|
-
#
|
|
288
|
-
# @see Telnyx::Models::CredentialConnectionCreateParams::NoiseSuppressionDetails#engine
|
|
289
|
-
module Engine
|
|
290
|
-
extend Telnyx::Internal::Type::Enum
|
|
291
|
-
|
|
292
|
-
DENOISER = :denoiser
|
|
293
|
-
DEEP_FILTER_NET = :deep_filter_net
|
|
294
|
-
DEEP_FILTER_NET_LARGE = :deep_filter_net_large
|
|
295
|
-
KRISP_VIVA_TEL = :krisp_viva_tel
|
|
296
|
-
KRISP_VIVA_TEL_LITE = :krisp_viva_tel_lite
|
|
297
|
-
KRISP_VIVA_PROMODEL = :krisp_viva_promodel
|
|
298
|
-
KRISP_VIVA_SS = :krisp_viva_ss
|
|
299
|
-
|
|
300
|
-
# @!method self.values
|
|
301
|
-
# @return [Array<Symbol>]
|
|
302
|
-
end
|
|
303
|
-
end
|
|
304
|
-
|
|
305
247
|
# This feature enables inbound SIP URI calls to your Credential Auth Connection.
|
|
306
248
|
# If enabled for all (unrestricted) then anyone who calls the SIP URI
|
|
307
249
|
# <your-username>@telnyx.com will be connected to your Connection. You can also
|
|
@@ -94,9 +94,8 @@ module Telnyx
|
|
|
94
94
|
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
95
95
|
# re-enable it, the previously configured settings will be used.
|
|
96
96
|
#
|
|
97
|
-
# @return [Telnyx::Models::
|
|
98
|
-
optional :noise_suppression_details,
|
|
99
|
-
-> { Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails }
|
|
97
|
+
# @return [Telnyx::Models::ConnectionNoiseSuppressionDetails, nil]
|
|
98
|
+
optional :noise_suppression_details, -> { Telnyx::ConnectionNoiseSuppressionDetails }
|
|
100
99
|
|
|
101
100
|
# @!attribute onnet_t38_passthrough_enabled
|
|
102
101
|
# Enable on-net T38 if you prefer the sender and receiver negotiating T38 directly
|
|
@@ -201,7 +200,7 @@ module Telnyx
|
|
|
201
200
|
#
|
|
202
201
|
# @param noise_suppression [Symbol, Telnyx::Models::CredentialConnectionUpdateParams::NoiseSuppression] Controls when noise suppression is applied to calls. When set to 'inbound', nois
|
|
203
202
|
#
|
|
204
|
-
# @param noise_suppression_details [Telnyx::Models::
|
|
203
|
+
# @param noise_suppression_details [Telnyx::Models::ConnectionNoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
|
|
205
204
|
#
|
|
206
205
|
# @param onnet_t38_passthrough_enabled [Boolean] Enable on-net T38 if you prefer the sender and receiver negotiating T38 directly
|
|
207
206
|
#
|
|
@@ -243,63 +242,6 @@ module Telnyx
|
|
|
243
242
|
# @return [Array<Symbol>]
|
|
244
243
|
end
|
|
245
244
|
|
|
246
|
-
class NoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
|
|
247
|
-
# @!attribute attenuation_limit
|
|
248
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
249
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
250
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
251
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
252
|
-
#
|
|
253
|
-
# @return [Integer, nil]
|
|
254
|
-
optional :attenuation_limit, Integer
|
|
255
|
-
|
|
256
|
-
# @!attribute engine
|
|
257
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
258
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
259
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
260
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
261
|
-
# noise suppression capabilities.
|
|
262
|
-
#
|
|
263
|
-
# @return [Symbol, Telnyx::Models::CredentialConnectionUpdateParams::NoiseSuppressionDetails::Engine, nil]
|
|
264
|
-
optional :engine, enum: -> { Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails::Engine }
|
|
265
|
-
|
|
266
|
-
# @!method initialize(attenuation_limit: nil, engine: nil)
|
|
267
|
-
# Some parameter documentations has been truncated, see
|
|
268
|
-
# {Telnyx::Models::CredentialConnectionUpdateParams::NoiseSuppressionDetails} for
|
|
269
|
-
# more details.
|
|
270
|
-
#
|
|
271
|
-
# Configuration options for noise suppression. These settings are stored
|
|
272
|
-
# regardless of the noise_suppression value, but only take effect when
|
|
273
|
-
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
274
|
-
# re-enable it, the previously configured settings will be used.
|
|
275
|
-
#
|
|
276
|
-
# @param attenuation_limit [Integer] The attenuation limit value for the selected engine. Default values vary by engi
|
|
277
|
-
#
|
|
278
|
-
# @param engine [Symbol, Telnyx::Models::CredentialConnectionUpdateParams::NoiseSuppressionDetails::Engine] The noise suppression engine to use. 'denoiser' is the default engine. 'deep_fil
|
|
279
|
-
|
|
280
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
281
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
282
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
283
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
284
|
-
# noise suppression capabilities.
|
|
285
|
-
#
|
|
286
|
-
# @see Telnyx::Models::CredentialConnectionUpdateParams::NoiseSuppressionDetails#engine
|
|
287
|
-
module Engine
|
|
288
|
-
extend Telnyx::Internal::Type::Enum
|
|
289
|
-
|
|
290
|
-
DENOISER = :denoiser
|
|
291
|
-
DEEP_FILTER_NET = :deep_filter_net
|
|
292
|
-
DEEP_FILTER_NET_LARGE = :deep_filter_net_large
|
|
293
|
-
KRISP_VIVA_TEL = :krisp_viva_tel
|
|
294
|
-
KRISP_VIVA_TEL_LITE = :krisp_viva_tel_lite
|
|
295
|
-
KRISP_VIVA_PROMODEL = :krisp_viva_promodel
|
|
296
|
-
KRISP_VIVA_SS = :krisp_viva_ss
|
|
297
|
-
|
|
298
|
-
# @!method self.values
|
|
299
|
-
# @return [Array<Symbol>]
|
|
300
|
-
end
|
|
301
|
-
end
|
|
302
|
-
|
|
303
245
|
# This feature enables inbound SIP URI calls to your Credential Auth Connection.
|
|
304
246
|
# If enabled for all (unrestricted) then anyone who calls the SIP URI
|
|
305
247
|
# <your-username>@telnyx.com will be connected to your Connection. You can also
|