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
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
class ConnectionNoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(
|
|
9
|
+
Telnyx::ConnectionNoiseSuppressionDetails,
|
|
10
|
+
Telnyx::Internal::AnyHash
|
|
11
|
+
)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# The attenuation limit value for the selected engine. Default values vary by
|
|
15
|
+
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
16
|
+
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
17
|
+
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
18
|
+
sig { returns(T.nilable(Integer)) }
|
|
19
|
+
attr_reader :attenuation_limit
|
|
20
|
+
|
|
21
|
+
sig { params(attenuation_limit: Integer).void }
|
|
22
|
+
attr_writer :attenuation_limit
|
|
23
|
+
|
|
24
|
+
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
25
|
+
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
26
|
+
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
27
|
+
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
28
|
+
# noise suppression capabilities.
|
|
29
|
+
sig do
|
|
30
|
+
returns(
|
|
31
|
+
T.nilable(Telnyx::ConnectionNoiseSuppressionDetails::Engine::OrSymbol)
|
|
32
|
+
)
|
|
33
|
+
end
|
|
34
|
+
attr_reader :engine
|
|
35
|
+
|
|
36
|
+
sig do
|
|
37
|
+
params(
|
|
38
|
+
engine: Telnyx::ConnectionNoiseSuppressionDetails::Engine::OrSymbol
|
|
39
|
+
).void
|
|
40
|
+
end
|
|
41
|
+
attr_writer :engine
|
|
42
|
+
|
|
43
|
+
# Configuration options for noise suppression. These settings are stored
|
|
44
|
+
# regardless of the noise_suppression value, but only take effect when
|
|
45
|
+
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
46
|
+
# re-enable it, the previously configured settings will be used.
|
|
47
|
+
sig do
|
|
48
|
+
params(
|
|
49
|
+
attenuation_limit: Integer,
|
|
50
|
+
engine: Telnyx::ConnectionNoiseSuppressionDetails::Engine::OrSymbol
|
|
51
|
+
).returns(T.attached_class)
|
|
52
|
+
end
|
|
53
|
+
def self.new(
|
|
54
|
+
# The attenuation limit value for the selected engine. Default values vary by
|
|
55
|
+
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
56
|
+
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
57
|
+
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
58
|
+
attenuation_limit: nil,
|
|
59
|
+
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
60
|
+
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
61
|
+
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
62
|
+
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
63
|
+
# noise suppression capabilities.
|
|
64
|
+
engine: nil
|
|
65
|
+
)
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
sig do
|
|
69
|
+
override.returns(
|
|
70
|
+
{
|
|
71
|
+
attenuation_limit: Integer,
|
|
72
|
+
engine: Telnyx::ConnectionNoiseSuppressionDetails::Engine::OrSymbol
|
|
73
|
+
}
|
|
74
|
+
)
|
|
75
|
+
end
|
|
76
|
+
def to_hash
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
80
|
+
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
81
|
+
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
82
|
+
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
83
|
+
# noise suppression capabilities.
|
|
84
|
+
module Engine
|
|
85
|
+
extend Telnyx::Internal::Type::Enum
|
|
86
|
+
|
|
87
|
+
TaggedSymbol =
|
|
88
|
+
T.type_alias do
|
|
89
|
+
T.all(Symbol, Telnyx::ConnectionNoiseSuppressionDetails::Engine)
|
|
90
|
+
end
|
|
91
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
92
|
+
|
|
93
|
+
DENOISER =
|
|
94
|
+
T.let(
|
|
95
|
+
:denoiser,
|
|
96
|
+
Telnyx::ConnectionNoiseSuppressionDetails::Engine::TaggedSymbol
|
|
97
|
+
)
|
|
98
|
+
DEEP_FILTER_NET =
|
|
99
|
+
T.let(
|
|
100
|
+
:deep_filter_net,
|
|
101
|
+
Telnyx::ConnectionNoiseSuppressionDetails::Engine::TaggedSymbol
|
|
102
|
+
)
|
|
103
|
+
DEEP_FILTER_NET_LARGE =
|
|
104
|
+
T.let(
|
|
105
|
+
:deep_filter_net_large,
|
|
106
|
+
Telnyx::ConnectionNoiseSuppressionDetails::Engine::TaggedSymbol
|
|
107
|
+
)
|
|
108
|
+
KRISP_VIVA_TEL =
|
|
109
|
+
T.let(
|
|
110
|
+
:krisp_viva_tel,
|
|
111
|
+
Telnyx::ConnectionNoiseSuppressionDetails::Engine::TaggedSymbol
|
|
112
|
+
)
|
|
113
|
+
KRISP_VIVA_TEL_LITE =
|
|
114
|
+
T.let(
|
|
115
|
+
:krisp_viva_tel_lite,
|
|
116
|
+
Telnyx::ConnectionNoiseSuppressionDetails::Engine::TaggedSymbol
|
|
117
|
+
)
|
|
118
|
+
KRISP_VIVA_PROMODEL =
|
|
119
|
+
T.let(
|
|
120
|
+
:krisp_viva_promodel,
|
|
121
|
+
Telnyx::ConnectionNoiseSuppressionDetails::Engine::TaggedSymbol
|
|
122
|
+
)
|
|
123
|
+
KRISP_VIVA_SS =
|
|
124
|
+
T.let(
|
|
125
|
+
:krisp_viva_ss,
|
|
126
|
+
Telnyx::ConnectionNoiseSuppressionDetails::Engine::TaggedSymbol
|
|
127
|
+
)
|
|
128
|
+
|
|
129
|
+
sig do
|
|
130
|
+
override.returns(
|
|
131
|
+
T::Array[
|
|
132
|
+
Telnyx::ConnectionNoiseSuppressionDetails::Engine::TaggedSymbol
|
|
133
|
+
]
|
|
134
|
+
)
|
|
135
|
+
end
|
|
136
|
+
def self.values
|
|
137
|
+
end
|
|
138
|
+
end
|
|
139
|
+
end
|
|
140
|
+
end
|
|
141
|
+
end
|
|
@@ -114,17 +114,13 @@ module Telnyx
|
|
|
114
114
|
# regardless of the noise_suppression value, but only take effect when
|
|
115
115
|
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
116
116
|
# re-enable it, the previously configured settings will be used.
|
|
117
|
-
sig
|
|
118
|
-
returns(
|
|
119
|
-
T.nilable(Telnyx::CredentialConnection::NoiseSuppressionDetails)
|
|
120
|
-
)
|
|
121
|
-
end
|
|
117
|
+
sig { returns(T.nilable(Telnyx::ConnectionNoiseSuppressionDetails)) }
|
|
122
118
|
attr_reader :noise_suppression_details
|
|
123
119
|
|
|
124
120
|
sig do
|
|
125
121
|
params(
|
|
126
122
|
noise_suppression_details:
|
|
127
|
-
Telnyx::
|
|
123
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash
|
|
128
124
|
).void
|
|
129
125
|
end
|
|
130
126
|
attr_writer :noise_suppression_details
|
|
@@ -261,7 +257,7 @@ module Telnyx
|
|
|
261
257
|
noise_suppression:
|
|
262
258
|
Telnyx::CredentialConnection::NoiseSuppression::OrSymbol,
|
|
263
259
|
noise_suppression_details:
|
|
264
|
-
Telnyx::
|
|
260
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash,
|
|
265
261
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
266
262
|
outbound: Telnyx::CredentialOutbound::OrHash,
|
|
267
263
|
password: String,
|
|
@@ -372,7 +368,7 @@ module Telnyx
|
|
|
372
368
|
noise_suppression:
|
|
373
369
|
Telnyx::CredentialConnection::NoiseSuppression::TaggedSymbol,
|
|
374
370
|
noise_suppression_details:
|
|
375
|
-
Telnyx::
|
|
371
|
+
Telnyx::ConnectionNoiseSuppressionDetails,
|
|
376
372
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
377
373
|
outbound: Telnyx::CredentialOutbound,
|
|
378
374
|
password: String,
|
|
@@ -439,150 +435,6 @@ module Telnyx
|
|
|
439
435
|
end
|
|
440
436
|
end
|
|
441
437
|
|
|
442
|
-
class NoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
|
|
443
|
-
OrHash =
|
|
444
|
-
T.type_alias do
|
|
445
|
-
T.any(
|
|
446
|
-
Telnyx::CredentialConnection::NoiseSuppressionDetails,
|
|
447
|
-
Telnyx::Internal::AnyHash
|
|
448
|
-
)
|
|
449
|
-
end
|
|
450
|
-
|
|
451
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
452
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
453
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
454
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
455
|
-
sig { returns(T.nilable(Integer)) }
|
|
456
|
-
attr_reader :attenuation_limit
|
|
457
|
-
|
|
458
|
-
sig { params(attenuation_limit: Integer).void }
|
|
459
|
-
attr_writer :attenuation_limit
|
|
460
|
-
|
|
461
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
462
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
463
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
464
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
465
|
-
# noise suppression capabilities.
|
|
466
|
-
sig do
|
|
467
|
-
returns(
|
|
468
|
-
T.nilable(
|
|
469
|
-
Telnyx::CredentialConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
470
|
-
)
|
|
471
|
-
)
|
|
472
|
-
end
|
|
473
|
-
attr_reader :engine
|
|
474
|
-
|
|
475
|
-
sig do
|
|
476
|
-
params(
|
|
477
|
-
engine:
|
|
478
|
-
Telnyx::CredentialConnection::NoiseSuppressionDetails::Engine::OrSymbol
|
|
479
|
-
).void
|
|
480
|
-
end
|
|
481
|
-
attr_writer :engine
|
|
482
|
-
|
|
483
|
-
# Configuration options for noise suppression. These settings are stored
|
|
484
|
-
# regardless of the noise_suppression value, but only take effect when
|
|
485
|
-
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
486
|
-
# re-enable it, the previously configured settings will be used.
|
|
487
|
-
sig do
|
|
488
|
-
params(
|
|
489
|
-
attenuation_limit: Integer,
|
|
490
|
-
engine:
|
|
491
|
-
Telnyx::CredentialConnection::NoiseSuppressionDetails::Engine::OrSymbol
|
|
492
|
-
).returns(T.attached_class)
|
|
493
|
-
end
|
|
494
|
-
def self.new(
|
|
495
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
496
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
497
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
498
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
499
|
-
attenuation_limit: nil,
|
|
500
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
501
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
502
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
503
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
504
|
-
# noise suppression capabilities.
|
|
505
|
-
engine: nil
|
|
506
|
-
)
|
|
507
|
-
end
|
|
508
|
-
|
|
509
|
-
sig do
|
|
510
|
-
override.returns(
|
|
511
|
-
{
|
|
512
|
-
attenuation_limit: Integer,
|
|
513
|
-
engine:
|
|
514
|
-
Telnyx::CredentialConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
515
|
-
}
|
|
516
|
-
)
|
|
517
|
-
end
|
|
518
|
-
def to_hash
|
|
519
|
-
end
|
|
520
|
-
|
|
521
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
522
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
523
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
524
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
525
|
-
# noise suppression capabilities.
|
|
526
|
-
module Engine
|
|
527
|
-
extend Telnyx::Internal::Type::Enum
|
|
528
|
-
|
|
529
|
-
TaggedSymbol =
|
|
530
|
-
T.type_alias do
|
|
531
|
-
T.all(
|
|
532
|
-
Symbol,
|
|
533
|
-
Telnyx::CredentialConnection::NoiseSuppressionDetails::Engine
|
|
534
|
-
)
|
|
535
|
-
end
|
|
536
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
537
|
-
|
|
538
|
-
DENOISER =
|
|
539
|
-
T.let(
|
|
540
|
-
:denoiser,
|
|
541
|
-
Telnyx::CredentialConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
542
|
-
)
|
|
543
|
-
DEEP_FILTER_NET =
|
|
544
|
-
T.let(
|
|
545
|
-
:deep_filter_net,
|
|
546
|
-
Telnyx::CredentialConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
547
|
-
)
|
|
548
|
-
DEEP_FILTER_NET_LARGE =
|
|
549
|
-
T.let(
|
|
550
|
-
:deep_filter_net_large,
|
|
551
|
-
Telnyx::CredentialConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
552
|
-
)
|
|
553
|
-
KRISP_VIVA_TEL =
|
|
554
|
-
T.let(
|
|
555
|
-
:krisp_viva_tel,
|
|
556
|
-
Telnyx::CredentialConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
557
|
-
)
|
|
558
|
-
KRISP_VIVA_TEL_LITE =
|
|
559
|
-
T.let(
|
|
560
|
-
:krisp_viva_tel_lite,
|
|
561
|
-
Telnyx::CredentialConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
562
|
-
)
|
|
563
|
-
KRISP_VIVA_PROMODEL =
|
|
564
|
-
T.let(
|
|
565
|
-
:krisp_viva_promodel,
|
|
566
|
-
Telnyx::CredentialConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
567
|
-
)
|
|
568
|
-
KRISP_VIVA_SS =
|
|
569
|
-
T.let(
|
|
570
|
-
:krisp_viva_ss,
|
|
571
|
-
Telnyx::CredentialConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
572
|
-
)
|
|
573
|
-
|
|
574
|
-
sig do
|
|
575
|
-
override.returns(
|
|
576
|
-
T::Array[
|
|
577
|
-
Telnyx::CredentialConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
578
|
-
]
|
|
579
|
-
)
|
|
580
|
-
end
|
|
581
|
-
def self.values
|
|
582
|
-
end
|
|
583
|
-
end
|
|
584
|
-
end
|
|
585
|
-
|
|
586
438
|
# This feature enables inbound SIP URI calls to your Credential Auth Connection.
|
|
587
439
|
# If enabled for all (unrestricted) then anyone who calls the SIP URI
|
|
588
440
|
# <your-username>@telnyx.com will be connected to your Connection. You can also
|
|
@@ -122,19 +122,13 @@ module Telnyx
|
|
|
122
122
|
# regardless of the noise_suppression value, but only take effect when
|
|
123
123
|
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
124
124
|
# re-enable it, the previously configured settings will be used.
|
|
125
|
-
sig
|
|
126
|
-
returns(
|
|
127
|
-
T.nilable(
|
|
128
|
-
Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails
|
|
129
|
-
)
|
|
130
|
-
)
|
|
131
|
-
end
|
|
125
|
+
sig { returns(T.nilable(Telnyx::ConnectionNoiseSuppressionDetails)) }
|
|
132
126
|
attr_reader :noise_suppression_details
|
|
133
127
|
|
|
134
128
|
sig do
|
|
135
129
|
params(
|
|
136
130
|
noise_suppression_details:
|
|
137
|
-
Telnyx::
|
|
131
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash
|
|
138
132
|
).void
|
|
139
133
|
end
|
|
140
134
|
attr_writer :noise_suppression_details
|
|
@@ -244,7 +238,7 @@ module Telnyx
|
|
|
244
238
|
noise_suppression:
|
|
245
239
|
Telnyx::CredentialConnectionCreateParams::NoiseSuppression::OrSymbol,
|
|
246
240
|
noise_suppression_details:
|
|
247
|
-
Telnyx::
|
|
241
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash,
|
|
248
242
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
249
243
|
outbound: Telnyx::CredentialOutbound::OrHash,
|
|
250
244
|
rtcp_settings: Telnyx::ConnectionRtcpSettings::OrHash,
|
|
@@ -353,7 +347,7 @@ module Telnyx
|
|
|
353
347
|
noise_suppression:
|
|
354
348
|
Telnyx::CredentialConnectionCreateParams::NoiseSuppression::OrSymbol,
|
|
355
349
|
noise_suppression_details:
|
|
356
|
-
Telnyx::
|
|
350
|
+
Telnyx::ConnectionNoiseSuppressionDetails,
|
|
357
351
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
358
352
|
outbound: Telnyx::CredentialOutbound,
|
|
359
353
|
rtcp_settings: Telnyx::ConnectionRtcpSettings,
|
|
@@ -420,150 +414,6 @@ module Telnyx
|
|
|
420
414
|
end
|
|
421
415
|
end
|
|
422
416
|
|
|
423
|
-
class NoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
|
|
424
|
-
OrHash =
|
|
425
|
-
T.type_alias do
|
|
426
|
-
T.any(
|
|
427
|
-
Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails,
|
|
428
|
-
Telnyx::Internal::AnyHash
|
|
429
|
-
)
|
|
430
|
-
end
|
|
431
|
-
|
|
432
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
433
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
434
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
435
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
436
|
-
sig { returns(T.nilable(Integer)) }
|
|
437
|
-
attr_reader :attenuation_limit
|
|
438
|
-
|
|
439
|
-
sig { params(attenuation_limit: Integer).void }
|
|
440
|
-
attr_writer :attenuation_limit
|
|
441
|
-
|
|
442
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
443
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
444
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
445
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
446
|
-
# noise suppression capabilities.
|
|
447
|
-
sig do
|
|
448
|
-
returns(
|
|
449
|
-
T.nilable(
|
|
450
|
-
Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
451
|
-
)
|
|
452
|
-
)
|
|
453
|
-
end
|
|
454
|
-
attr_reader :engine
|
|
455
|
-
|
|
456
|
-
sig do
|
|
457
|
-
params(
|
|
458
|
-
engine:
|
|
459
|
-
Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
460
|
-
).void
|
|
461
|
-
end
|
|
462
|
-
attr_writer :engine
|
|
463
|
-
|
|
464
|
-
# Configuration options for noise suppression. These settings are stored
|
|
465
|
-
# regardless of the noise_suppression value, but only take effect when
|
|
466
|
-
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
467
|
-
# re-enable it, the previously configured settings will be used.
|
|
468
|
-
sig do
|
|
469
|
-
params(
|
|
470
|
-
attenuation_limit: Integer,
|
|
471
|
-
engine:
|
|
472
|
-
Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
473
|
-
).returns(T.attached_class)
|
|
474
|
-
end
|
|
475
|
-
def self.new(
|
|
476
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
477
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
478
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
479
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
480
|
-
attenuation_limit: nil,
|
|
481
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
482
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
483
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
484
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
485
|
-
# noise suppression capabilities.
|
|
486
|
-
engine: nil
|
|
487
|
-
)
|
|
488
|
-
end
|
|
489
|
-
|
|
490
|
-
sig do
|
|
491
|
-
override.returns(
|
|
492
|
-
{
|
|
493
|
-
attenuation_limit: Integer,
|
|
494
|
-
engine:
|
|
495
|
-
Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
496
|
-
}
|
|
497
|
-
)
|
|
498
|
-
end
|
|
499
|
-
def to_hash
|
|
500
|
-
end
|
|
501
|
-
|
|
502
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
503
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
504
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
505
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
506
|
-
# noise suppression capabilities.
|
|
507
|
-
module Engine
|
|
508
|
-
extend Telnyx::Internal::Type::Enum
|
|
509
|
-
|
|
510
|
-
TaggedSymbol =
|
|
511
|
-
T.type_alias do
|
|
512
|
-
T.all(
|
|
513
|
-
Symbol,
|
|
514
|
-
Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails::Engine
|
|
515
|
-
)
|
|
516
|
-
end
|
|
517
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
518
|
-
|
|
519
|
-
DENOISER =
|
|
520
|
-
T.let(
|
|
521
|
-
:denoiser,
|
|
522
|
-
Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
523
|
-
)
|
|
524
|
-
DEEP_FILTER_NET =
|
|
525
|
-
T.let(
|
|
526
|
-
:deep_filter_net,
|
|
527
|
-
Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
528
|
-
)
|
|
529
|
-
DEEP_FILTER_NET_LARGE =
|
|
530
|
-
T.let(
|
|
531
|
-
:deep_filter_net_large,
|
|
532
|
-
Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
533
|
-
)
|
|
534
|
-
KRISP_VIVA_TEL =
|
|
535
|
-
T.let(
|
|
536
|
-
:krisp_viva_tel,
|
|
537
|
-
Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
538
|
-
)
|
|
539
|
-
KRISP_VIVA_TEL_LITE =
|
|
540
|
-
T.let(
|
|
541
|
-
:krisp_viva_tel_lite,
|
|
542
|
-
Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
543
|
-
)
|
|
544
|
-
KRISP_VIVA_PROMODEL =
|
|
545
|
-
T.let(
|
|
546
|
-
:krisp_viva_promodel,
|
|
547
|
-
Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
548
|
-
)
|
|
549
|
-
KRISP_VIVA_SS =
|
|
550
|
-
T.let(
|
|
551
|
-
:krisp_viva_ss,
|
|
552
|
-
Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
553
|
-
)
|
|
554
|
-
|
|
555
|
-
sig do
|
|
556
|
-
override.returns(
|
|
557
|
-
T::Array[
|
|
558
|
-
Telnyx::CredentialConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
559
|
-
]
|
|
560
|
-
)
|
|
561
|
-
end
|
|
562
|
-
def self.values
|
|
563
|
-
end
|
|
564
|
-
end
|
|
565
|
-
end
|
|
566
|
-
|
|
567
417
|
# This feature enables inbound SIP URI calls to your Credential Auth Connection.
|
|
568
418
|
# If enabled for all (unrestricted) then anyone who calls the SIP URI
|
|
569
419
|
# <your-username>@telnyx.com will be connected to your Connection. You can also
|