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
|
@@ -115,19 +115,13 @@ module Telnyx
|
|
|
115
115
|
# regardless of the noise_suppression value, but only take effect when
|
|
116
116
|
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
117
117
|
# re-enable it, the previously configured settings will be used.
|
|
118
|
-
sig
|
|
119
|
-
returns(
|
|
120
|
-
T.nilable(
|
|
121
|
-
Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails
|
|
122
|
-
)
|
|
123
|
-
)
|
|
124
|
-
end
|
|
118
|
+
sig { returns(T.nilable(Telnyx::ConnectionNoiseSuppressionDetails)) }
|
|
125
119
|
attr_reader :noise_suppression_details
|
|
126
120
|
|
|
127
121
|
sig do
|
|
128
122
|
params(
|
|
129
123
|
noise_suppression_details:
|
|
130
|
-
Telnyx::
|
|
124
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash
|
|
131
125
|
).void
|
|
132
126
|
end
|
|
133
127
|
attr_writer :noise_suppression_details
|
|
@@ -249,7 +243,7 @@ module Telnyx
|
|
|
249
243
|
noise_suppression:
|
|
250
244
|
Telnyx::CredentialConnectionUpdateParams::NoiseSuppression::OrSymbol,
|
|
251
245
|
noise_suppression_details:
|
|
252
|
-
Telnyx::
|
|
246
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash,
|
|
253
247
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
254
248
|
outbound: Telnyx::CredentialOutbound::OrHash,
|
|
255
249
|
password: String,
|
|
@@ -356,7 +350,7 @@ module Telnyx
|
|
|
356
350
|
noise_suppression:
|
|
357
351
|
Telnyx::CredentialConnectionUpdateParams::NoiseSuppression::OrSymbol,
|
|
358
352
|
noise_suppression_details:
|
|
359
|
-
Telnyx::
|
|
353
|
+
Telnyx::ConnectionNoiseSuppressionDetails,
|
|
360
354
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
361
355
|
outbound: Telnyx::CredentialOutbound,
|
|
362
356
|
password: String,
|
|
@@ -425,150 +419,6 @@ module Telnyx
|
|
|
425
419
|
end
|
|
426
420
|
end
|
|
427
421
|
|
|
428
|
-
class NoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
|
|
429
|
-
OrHash =
|
|
430
|
-
T.type_alias do
|
|
431
|
-
T.any(
|
|
432
|
-
Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails,
|
|
433
|
-
Telnyx::Internal::AnyHash
|
|
434
|
-
)
|
|
435
|
-
end
|
|
436
|
-
|
|
437
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
438
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
439
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
440
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
441
|
-
sig { returns(T.nilable(Integer)) }
|
|
442
|
-
attr_reader :attenuation_limit
|
|
443
|
-
|
|
444
|
-
sig { params(attenuation_limit: Integer).void }
|
|
445
|
-
attr_writer :attenuation_limit
|
|
446
|
-
|
|
447
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
448
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
449
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
450
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
451
|
-
# noise suppression capabilities.
|
|
452
|
-
sig do
|
|
453
|
-
returns(
|
|
454
|
-
T.nilable(
|
|
455
|
-
Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
456
|
-
)
|
|
457
|
-
)
|
|
458
|
-
end
|
|
459
|
-
attr_reader :engine
|
|
460
|
-
|
|
461
|
-
sig do
|
|
462
|
-
params(
|
|
463
|
-
engine:
|
|
464
|
-
Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
465
|
-
).void
|
|
466
|
-
end
|
|
467
|
-
attr_writer :engine
|
|
468
|
-
|
|
469
|
-
# Configuration options for noise suppression. These settings are stored
|
|
470
|
-
# regardless of the noise_suppression value, but only take effect when
|
|
471
|
-
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
472
|
-
# re-enable it, the previously configured settings will be used.
|
|
473
|
-
sig do
|
|
474
|
-
params(
|
|
475
|
-
attenuation_limit: Integer,
|
|
476
|
-
engine:
|
|
477
|
-
Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
478
|
-
).returns(T.attached_class)
|
|
479
|
-
end
|
|
480
|
-
def self.new(
|
|
481
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
482
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
483
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
484
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
485
|
-
attenuation_limit: nil,
|
|
486
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
487
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
488
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
489
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
490
|
-
# noise suppression capabilities.
|
|
491
|
-
engine: nil
|
|
492
|
-
)
|
|
493
|
-
end
|
|
494
|
-
|
|
495
|
-
sig do
|
|
496
|
-
override.returns(
|
|
497
|
-
{
|
|
498
|
-
attenuation_limit: Integer,
|
|
499
|
-
engine:
|
|
500
|
-
Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
501
|
-
}
|
|
502
|
-
)
|
|
503
|
-
end
|
|
504
|
-
def to_hash
|
|
505
|
-
end
|
|
506
|
-
|
|
507
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
508
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
509
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
510
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
511
|
-
# noise suppression capabilities.
|
|
512
|
-
module Engine
|
|
513
|
-
extend Telnyx::Internal::Type::Enum
|
|
514
|
-
|
|
515
|
-
TaggedSymbol =
|
|
516
|
-
T.type_alias do
|
|
517
|
-
T.all(
|
|
518
|
-
Symbol,
|
|
519
|
-
Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails::Engine
|
|
520
|
-
)
|
|
521
|
-
end
|
|
522
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
523
|
-
|
|
524
|
-
DENOISER =
|
|
525
|
-
T.let(
|
|
526
|
-
:denoiser,
|
|
527
|
-
Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
528
|
-
)
|
|
529
|
-
DEEP_FILTER_NET =
|
|
530
|
-
T.let(
|
|
531
|
-
:deep_filter_net,
|
|
532
|
-
Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
533
|
-
)
|
|
534
|
-
DEEP_FILTER_NET_LARGE =
|
|
535
|
-
T.let(
|
|
536
|
-
:deep_filter_net_large,
|
|
537
|
-
Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
538
|
-
)
|
|
539
|
-
KRISP_VIVA_TEL =
|
|
540
|
-
T.let(
|
|
541
|
-
:krisp_viva_tel,
|
|
542
|
-
Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
543
|
-
)
|
|
544
|
-
KRISP_VIVA_TEL_LITE =
|
|
545
|
-
T.let(
|
|
546
|
-
:krisp_viva_tel_lite,
|
|
547
|
-
Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
548
|
-
)
|
|
549
|
-
KRISP_VIVA_PROMODEL =
|
|
550
|
-
T.let(
|
|
551
|
-
:krisp_viva_promodel,
|
|
552
|
-
Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
553
|
-
)
|
|
554
|
-
KRISP_VIVA_SS =
|
|
555
|
-
T.let(
|
|
556
|
-
:krisp_viva_ss,
|
|
557
|
-
Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
558
|
-
)
|
|
559
|
-
|
|
560
|
-
sig do
|
|
561
|
-
override.returns(
|
|
562
|
-
T::Array[
|
|
563
|
-
Telnyx::CredentialConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
564
|
-
]
|
|
565
|
-
)
|
|
566
|
-
end
|
|
567
|
-
def self.values
|
|
568
|
-
end
|
|
569
|
-
end
|
|
570
|
-
end
|
|
571
|
-
|
|
572
422
|
# This feature enables inbound SIP URI calls to your Credential Auth Connection.
|
|
573
423
|
# If enabled for all (unrestricted) then anyone who calls the SIP URI
|
|
574
424
|
# <your-username>@telnyx.com will be connected to your Connection. You can also
|
|
@@ -144,15 +144,13 @@ module Telnyx
|
|
|
144
144
|
# regardless of the noise_suppression value, but only take effect when
|
|
145
145
|
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
146
146
|
# re-enable it, the previously configured settings will be used.
|
|
147
|
-
sig
|
|
148
|
-
returns(T.nilable(Telnyx::FqdnConnection::NoiseSuppressionDetails))
|
|
149
|
-
end
|
|
147
|
+
sig { returns(T.nilable(Telnyx::ConnectionNoiseSuppressionDetails)) }
|
|
150
148
|
attr_reader :noise_suppression_details
|
|
151
149
|
|
|
152
150
|
sig do
|
|
153
151
|
params(
|
|
154
152
|
noise_suppression_details:
|
|
155
|
-
Telnyx::
|
|
153
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash
|
|
156
154
|
).void
|
|
157
155
|
end
|
|
158
156
|
attr_writer :noise_suppression_details
|
|
@@ -311,7 +309,7 @@ module Telnyx
|
|
|
311
309
|
microsoft_teams_sbc: T::Boolean,
|
|
312
310
|
noise_suppression: Telnyx::FqdnConnection::NoiseSuppression::OrSymbol,
|
|
313
311
|
noise_suppression_details:
|
|
314
|
-
Telnyx::
|
|
312
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash,
|
|
315
313
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
316
314
|
outbound: Telnyx::OutboundFqdn::OrHash,
|
|
317
315
|
password: String,
|
|
@@ -448,7 +446,7 @@ module Telnyx
|
|
|
448
446
|
noise_suppression:
|
|
449
447
|
Telnyx::FqdnConnection::NoiseSuppression::TaggedSymbol,
|
|
450
448
|
noise_suppression_details:
|
|
451
|
-
Telnyx::
|
|
449
|
+
Telnyx::ConnectionNoiseSuppressionDetails,
|
|
452
450
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
453
451
|
outbound: Telnyx::OutboundFqdn,
|
|
454
452
|
password: String,
|
|
@@ -513,150 +511,6 @@ module Telnyx
|
|
|
513
511
|
def self.values
|
|
514
512
|
end
|
|
515
513
|
end
|
|
516
|
-
|
|
517
|
-
class NoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
|
|
518
|
-
OrHash =
|
|
519
|
-
T.type_alias do
|
|
520
|
-
T.any(
|
|
521
|
-
Telnyx::FqdnConnection::NoiseSuppressionDetails,
|
|
522
|
-
Telnyx::Internal::AnyHash
|
|
523
|
-
)
|
|
524
|
-
end
|
|
525
|
-
|
|
526
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
527
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
528
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
529
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
530
|
-
sig { returns(T.nilable(Integer)) }
|
|
531
|
-
attr_reader :attenuation_limit
|
|
532
|
-
|
|
533
|
-
sig { params(attenuation_limit: Integer).void }
|
|
534
|
-
attr_writer :attenuation_limit
|
|
535
|
-
|
|
536
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
537
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
538
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
539
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
540
|
-
# noise suppression capabilities.
|
|
541
|
-
sig do
|
|
542
|
-
returns(
|
|
543
|
-
T.nilable(
|
|
544
|
-
Telnyx::FqdnConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
545
|
-
)
|
|
546
|
-
)
|
|
547
|
-
end
|
|
548
|
-
attr_reader :engine
|
|
549
|
-
|
|
550
|
-
sig do
|
|
551
|
-
params(
|
|
552
|
-
engine:
|
|
553
|
-
Telnyx::FqdnConnection::NoiseSuppressionDetails::Engine::OrSymbol
|
|
554
|
-
).void
|
|
555
|
-
end
|
|
556
|
-
attr_writer :engine
|
|
557
|
-
|
|
558
|
-
# Configuration options for noise suppression. These settings are stored
|
|
559
|
-
# regardless of the noise_suppression value, but only take effect when
|
|
560
|
-
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
561
|
-
# re-enable it, the previously configured settings will be used.
|
|
562
|
-
sig do
|
|
563
|
-
params(
|
|
564
|
-
attenuation_limit: Integer,
|
|
565
|
-
engine:
|
|
566
|
-
Telnyx::FqdnConnection::NoiseSuppressionDetails::Engine::OrSymbol
|
|
567
|
-
).returns(T.attached_class)
|
|
568
|
-
end
|
|
569
|
-
def self.new(
|
|
570
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
571
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
572
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
573
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
574
|
-
attenuation_limit: nil,
|
|
575
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
576
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
577
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
578
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
579
|
-
# noise suppression capabilities.
|
|
580
|
-
engine: nil
|
|
581
|
-
)
|
|
582
|
-
end
|
|
583
|
-
|
|
584
|
-
sig do
|
|
585
|
-
override.returns(
|
|
586
|
-
{
|
|
587
|
-
attenuation_limit: Integer,
|
|
588
|
-
engine:
|
|
589
|
-
Telnyx::FqdnConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
590
|
-
}
|
|
591
|
-
)
|
|
592
|
-
end
|
|
593
|
-
def to_hash
|
|
594
|
-
end
|
|
595
|
-
|
|
596
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
597
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
598
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
599
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
600
|
-
# noise suppression capabilities.
|
|
601
|
-
module Engine
|
|
602
|
-
extend Telnyx::Internal::Type::Enum
|
|
603
|
-
|
|
604
|
-
TaggedSymbol =
|
|
605
|
-
T.type_alias do
|
|
606
|
-
T.all(
|
|
607
|
-
Symbol,
|
|
608
|
-
Telnyx::FqdnConnection::NoiseSuppressionDetails::Engine
|
|
609
|
-
)
|
|
610
|
-
end
|
|
611
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
612
|
-
|
|
613
|
-
DENOISER =
|
|
614
|
-
T.let(
|
|
615
|
-
:denoiser,
|
|
616
|
-
Telnyx::FqdnConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
617
|
-
)
|
|
618
|
-
DEEP_FILTER_NET =
|
|
619
|
-
T.let(
|
|
620
|
-
:deep_filter_net,
|
|
621
|
-
Telnyx::FqdnConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
622
|
-
)
|
|
623
|
-
DEEP_FILTER_NET_LARGE =
|
|
624
|
-
T.let(
|
|
625
|
-
:deep_filter_net_large,
|
|
626
|
-
Telnyx::FqdnConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
627
|
-
)
|
|
628
|
-
KRISP_VIVA_TEL =
|
|
629
|
-
T.let(
|
|
630
|
-
:krisp_viva_tel,
|
|
631
|
-
Telnyx::FqdnConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
632
|
-
)
|
|
633
|
-
KRISP_VIVA_TEL_LITE =
|
|
634
|
-
T.let(
|
|
635
|
-
:krisp_viva_tel_lite,
|
|
636
|
-
Telnyx::FqdnConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
637
|
-
)
|
|
638
|
-
KRISP_VIVA_PROMODEL =
|
|
639
|
-
T.let(
|
|
640
|
-
:krisp_viva_promodel,
|
|
641
|
-
Telnyx::FqdnConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
642
|
-
)
|
|
643
|
-
KRISP_VIVA_SS =
|
|
644
|
-
T.let(
|
|
645
|
-
:krisp_viva_ss,
|
|
646
|
-
Telnyx::FqdnConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
647
|
-
)
|
|
648
|
-
|
|
649
|
-
sig do
|
|
650
|
-
override.returns(
|
|
651
|
-
T::Array[
|
|
652
|
-
Telnyx::FqdnConnection::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
653
|
-
]
|
|
654
|
-
)
|
|
655
|
-
end
|
|
656
|
-
def self.values
|
|
657
|
-
end
|
|
658
|
-
end
|
|
659
|
-
end
|
|
660
514
|
end
|
|
661
515
|
end
|
|
662
516
|
end
|
|
@@ -117,17 +117,13 @@ module Telnyx
|
|
|
117
117
|
# regardless of the noise_suppression value, but only take effect when
|
|
118
118
|
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
119
119
|
# re-enable it, the previously configured settings will be used.
|
|
120
|
-
sig
|
|
121
|
-
returns(
|
|
122
|
-
T.nilable(Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails)
|
|
123
|
-
)
|
|
124
|
-
end
|
|
120
|
+
sig { returns(T.nilable(Telnyx::ConnectionNoiseSuppressionDetails)) }
|
|
125
121
|
attr_reader :noise_suppression_details
|
|
126
122
|
|
|
127
123
|
sig do
|
|
128
124
|
params(
|
|
129
125
|
noise_suppression_details:
|
|
130
|
-
Telnyx::
|
|
126
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash
|
|
131
127
|
).void
|
|
132
128
|
end
|
|
133
129
|
attr_writer :noise_suppression_details
|
|
@@ -213,7 +209,7 @@ module Telnyx
|
|
|
213
209
|
noise_suppression:
|
|
214
210
|
Telnyx::FqdnConnectionCreateParams::NoiseSuppression::OrSymbol,
|
|
215
211
|
noise_suppression_details:
|
|
216
|
-
Telnyx::
|
|
212
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash,
|
|
217
213
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
218
214
|
outbound: Telnyx::OutboundFqdn::OrHash,
|
|
219
215
|
rtcp_settings: Telnyx::ConnectionRtcpSettings::OrHash,
|
|
@@ -311,7 +307,7 @@ module Telnyx
|
|
|
311
307
|
noise_suppression:
|
|
312
308
|
Telnyx::FqdnConnectionCreateParams::NoiseSuppression::OrSymbol,
|
|
313
309
|
noise_suppression_details:
|
|
314
|
-
Telnyx::
|
|
310
|
+
Telnyx::ConnectionNoiseSuppressionDetails,
|
|
315
311
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
316
312
|
outbound: Telnyx::OutboundFqdn,
|
|
317
313
|
rtcp_settings: Telnyx::ConnectionRtcpSettings,
|
|
@@ -372,150 +368,6 @@ module Telnyx
|
|
|
372
368
|
def self.values
|
|
373
369
|
end
|
|
374
370
|
end
|
|
375
|
-
|
|
376
|
-
class NoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
|
|
377
|
-
OrHash =
|
|
378
|
-
T.type_alias do
|
|
379
|
-
T.any(
|
|
380
|
-
Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails,
|
|
381
|
-
Telnyx::Internal::AnyHash
|
|
382
|
-
)
|
|
383
|
-
end
|
|
384
|
-
|
|
385
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
386
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
387
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
388
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
389
|
-
sig { returns(T.nilable(Integer)) }
|
|
390
|
-
attr_reader :attenuation_limit
|
|
391
|
-
|
|
392
|
-
sig { params(attenuation_limit: Integer).void }
|
|
393
|
-
attr_writer :attenuation_limit
|
|
394
|
-
|
|
395
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
396
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
397
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
398
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
399
|
-
# noise suppression capabilities.
|
|
400
|
-
sig do
|
|
401
|
-
returns(
|
|
402
|
-
T.nilable(
|
|
403
|
-
Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
404
|
-
)
|
|
405
|
-
)
|
|
406
|
-
end
|
|
407
|
-
attr_reader :engine
|
|
408
|
-
|
|
409
|
-
sig do
|
|
410
|
-
params(
|
|
411
|
-
engine:
|
|
412
|
-
Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
413
|
-
).void
|
|
414
|
-
end
|
|
415
|
-
attr_writer :engine
|
|
416
|
-
|
|
417
|
-
# Configuration options for noise suppression. These settings are stored
|
|
418
|
-
# regardless of the noise_suppression value, but only take effect when
|
|
419
|
-
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
420
|
-
# re-enable it, the previously configured settings will be used.
|
|
421
|
-
sig do
|
|
422
|
-
params(
|
|
423
|
-
attenuation_limit: Integer,
|
|
424
|
-
engine:
|
|
425
|
-
Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
426
|
-
).returns(T.attached_class)
|
|
427
|
-
end
|
|
428
|
-
def self.new(
|
|
429
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
430
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
431
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
432
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
433
|
-
attenuation_limit: nil,
|
|
434
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
435
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
436
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
437
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
438
|
-
# noise suppression capabilities.
|
|
439
|
-
engine: nil
|
|
440
|
-
)
|
|
441
|
-
end
|
|
442
|
-
|
|
443
|
-
sig do
|
|
444
|
-
override.returns(
|
|
445
|
-
{
|
|
446
|
-
attenuation_limit: Integer,
|
|
447
|
-
engine:
|
|
448
|
-
Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
449
|
-
}
|
|
450
|
-
)
|
|
451
|
-
end
|
|
452
|
-
def to_hash
|
|
453
|
-
end
|
|
454
|
-
|
|
455
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
456
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
457
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
458
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
459
|
-
# noise suppression capabilities.
|
|
460
|
-
module Engine
|
|
461
|
-
extend Telnyx::Internal::Type::Enum
|
|
462
|
-
|
|
463
|
-
TaggedSymbol =
|
|
464
|
-
T.type_alias do
|
|
465
|
-
T.all(
|
|
466
|
-
Symbol,
|
|
467
|
-
Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails::Engine
|
|
468
|
-
)
|
|
469
|
-
end
|
|
470
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
471
|
-
|
|
472
|
-
DENOISER =
|
|
473
|
-
T.let(
|
|
474
|
-
:denoiser,
|
|
475
|
-
Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
476
|
-
)
|
|
477
|
-
DEEP_FILTER_NET =
|
|
478
|
-
T.let(
|
|
479
|
-
:deep_filter_net,
|
|
480
|
-
Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
481
|
-
)
|
|
482
|
-
DEEP_FILTER_NET_LARGE =
|
|
483
|
-
T.let(
|
|
484
|
-
:deep_filter_net_large,
|
|
485
|
-
Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
486
|
-
)
|
|
487
|
-
KRISP_VIVA_TEL =
|
|
488
|
-
T.let(
|
|
489
|
-
:krisp_viva_tel,
|
|
490
|
-
Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
491
|
-
)
|
|
492
|
-
KRISP_VIVA_TEL_LITE =
|
|
493
|
-
T.let(
|
|
494
|
-
:krisp_viva_tel_lite,
|
|
495
|
-
Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
496
|
-
)
|
|
497
|
-
KRISP_VIVA_PROMODEL =
|
|
498
|
-
T.let(
|
|
499
|
-
:krisp_viva_promodel,
|
|
500
|
-
Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
501
|
-
)
|
|
502
|
-
KRISP_VIVA_SS =
|
|
503
|
-
T.let(
|
|
504
|
-
:krisp_viva_ss,
|
|
505
|
-
Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
506
|
-
)
|
|
507
|
-
|
|
508
|
-
sig do
|
|
509
|
-
override.returns(
|
|
510
|
-
T::Array[
|
|
511
|
-
Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
512
|
-
]
|
|
513
|
-
)
|
|
514
|
-
end
|
|
515
|
-
def self.values
|
|
516
|
-
end
|
|
517
|
-
end
|
|
518
|
-
end
|
|
519
371
|
end
|
|
520
372
|
end
|
|
521
373
|
end
|