telnyx 5.161.0 → 5.162.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 +12 -0
- data/README.md +1 -1
- data/lib/telnyx/models/call_dial_params.rb +27 -1
- data/lib/telnyx/models/calls/action_gather_using_speak_params.rb +6 -1
- data/lib/telnyx/models/calls/action_speak_params.rb +6 -1
- data/lib/telnyx/models/calls/action_transfer_params.rb +27 -1
- data/lib/telnyx/models/conferences/action_speak_params.rb +6 -1
- data/lib/telnyx/models/rime_voice_settings.rb +15 -1
- data/lib/telnyx/models/texml/accounts/call_calls_params.rb +96 -3
- data/lib/telnyx/models/texml/accounts/conferences/participant_participants_params.rb +30 -1
- data/lib/telnyx/models/texml_initiate_ai_call_params.rb +28 -1
- data/lib/telnyx/resources/messaging_profiles.rb +1 -1
- data/lib/telnyx/resources/texml/accounts/conferences/participants.rb +3 -1
- data/lib/telnyx/resources/texml.rb +3 -1
- data/lib/telnyx/version.rb +1 -1
- data/rbi/telnyx/models/call_dial_params.rbi +65 -0
- data/rbi/telnyx/models/calls/action_gather_using_speak_params.rbi +12 -2
- data/rbi/telnyx/models/calls/action_speak_params.rbi +12 -2
- data/rbi/telnyx/models/calls/action_transfer_params.rbi +65 -0
- data/rbi/telnyx/models/conferences/action_speak_params.rbi +12 -2
- data/rbi/telnyx/models/rime_voice_settings.rbi +17 -0
- data/rbi/telnyx/models/texml/accounts/call_calls_params.rbi +204 -0
- data/rbi/telnyx/models/texml/accounts/conferences/participant_participants_params.rbi +68 -0
- data/rbi/telnyx/models/texml_initiate_ai_call_params.rbi +68 -0
- data/rbi/telnyx/resources/calls/actions.rbi +12 -2
- data/rbi/telnyx/resources/conferences/actions.rbi +6 -1
- data/rbi/telnyx/resources/messaging_profiles.rbi +1 -1
- data/rbi/telnyx/resources/texml/accounts/conferences/participants.rbi +7 -0
- data/rbi/telnyx/resources/texml.rbi +7 -0
- data/sig/telnyx/models/call_dial_params.rbs +20 -0
- data/sig/telnyx/models/calls/action_transfer_params.rbs +20 -0
- data/sig/telnyx/models/rime_voice_settings.rbs +11 -1
- data/sig/telnyx/models/texml/accounts/call_calls_params.rbs +60 -0
- data/sig/telnyx/models/texml/accounts/conferences/participant_participants_params.rbs +20 -0
- data/sig/telnyx/models/texml_initiate_ai_call_params.rbs +20 -0
- data/sig/telnyx/resources/texml/accounts/conferences/participants.rbs +1 -0
- data/sig/telnyx/resources/texml.rbs +1 -0
- metadata +2 -2
|
@@ -317,6 +317,27 @@ module Telnyx
|
|
|
317
317
|
end
|
|
318
318
|
attr_writer :machine_detection
|
|
319
319
|
|
|
320
|
+
# Selects which detectors must validate a beep. `both` requires the amplitude and
|
|
321
|
+
# frequency detectors to agree. `freq_only` uses the frequency detector alone, for
|
|
322
|
+
# beeps whose volume is too unsteady for the default profile. Only used when
|
|
323
|
+
# MachineDetection is enabled.
|
|
324
|
+
sig do
|
|
325
|
+
returns(
|
|
326
|
+
T.nilable(
|
|
327
|
+
Telnyx::Texml::Accounts::Conferences::ParticipantParticipantsParams::MachineDetectionBeepProfile::OrSymbol
|
|
328
|
+
)
|
|
329
|
+
)
|
|
330
|
+
end
|
|
331
|
+
attr_reader :machine_detection_beep_profile
|
|
332
|
+
|
|
333
|
+
sig do
|
|
334
|
+
params(
|
|
335
|
+
machine_detection_beep_profile:
|
|
336
|
+
Telnyx::Texml::Accounts::Conferences::ParticipantParticipantsParams::MachineDetectionBeepProfile::OrSymbol
|
|
337
|
+
).void
|
|
338
|
+
end
|
|
339
|
+
attr_writer :machine_detection_beep_profile
|
|
340
|
+
|
|
320
341
|
# If initial silence duration is greater than this value, consider it a machine.
|
|
321
342
|
# Ignored when `premium` detection is used.
|
|
322
343
|
sig { returns(T.nilable(Integer)) }
|
|
@@ -592,6 +613,8 @@ module Telnyx
|
|
|
592
613
|
label: String,
|
|
593
614
|
machine_detection:
|
|
594
615
|
Telnyx::Texml::Accounts::Conferences::ParticipantParticipantsParams::MachineDetection::OrSymbol,
|
|
616
|
+
machine_detection_beep_profile:
|
|
617
|
+
Telnyx::Texml::Accounts::Conferences::ParticipantParticipantsParams::MachineDetectionBeepProfile::OrSymbol,
|
|
595
618
|
machine_detection_silence_timeout: Integer,
|
|
596
619
|
machine_detection_speech_end_threshold: Integer,
|
|
597
620
|
machine_detection_speech_threshold: Integer,
|
|
@@ -703,6 +726,11 @@ module Telnyx
|
|
|
703
726
|
# identified. Use `DetectMessageEnd`, if you would like to leave a message on an
|
|
704
727
|
# answering machine.
|
|
705
728
|
machine_detection: nil,
|
|
729
|
+
# Selects which detectors must validate a beep. `both` requires the amplitude and
|
|
730
|
+
# frequency detectors to agree. `freq_only` uses the frequency detector alone, for
|
|
731
|
+
# beeps whose volume is too unsteady for the default profile. Only used when
|
|
732
|
+
# MachineDetection is enabled.
|
|
733
|
+
machine_detection_beep_profile: nil,
|
|
706
734
|
# If initial silence duration is greater than this value, consider it a machine.
|
|
707
735
|
# Ignored when `premium` detection is used.
|
|
708
736
|
machine_detection_silence_timeout: nil,
|
|
@@ -808,6 +836,8 @@ module Telnyx
|
|
|
808
836
|
label: String,
|
|
809
837
|
machine_detection:
|
|
810
838
|
Telnyx::Texml::Accounts::Conferences::ParticipantParticipantsParams::MachineDetection::OrSymbol,
|
|
839
|
+
machine_detection_beep_profile:
|
|
840
|
+
Telnyx::Texml::Accounts::Conferences::ParticipantParticipantsParams::MachineDetectionBeepProfile::OrSymbol,
|
|
811
841
|
machine_detection_silence_timeout: Integer,
|
|
812
842
|
machine_detection_speech_end_threshold: Integer,
|
|
813
843
|
machine_detection_speech_threshold: Integer,
|
|
@@ -1150,6 +1180,44 @@ module Telnyx
|
|
|
1150
1180
|
end
|
|
1151
1181
|
end
|
|
1152
1182
|
|
|
1183
|
+
# Selects which detectors must validate a beep. `both` requires the amplitude and
|
|
1184
|
+
# frequency detectors to agree. `freq_only` uses the frequency detector alone, for
|
|
1185
|
+
# beeps whose volume is too unsteady for the default profile. Only used when
|
|
1186
|
+
# MachineDetection is enabled.
|
|
1187
|
+
module MachineDetectionBeepProfile
|
|
1188
|
+
extend Telnyx::Internal::Type::Enum
|
|
1189
|
+
|
|
1190
|
+
TaggedSymbol =
|
|
1191
|
+
T.type_alias do
|
|
1192
|
+
T.all(
|
|
1193
|
+
Symbol,
|
|
1194
|
+
Telnyx::Texml::Accounts::Conferences::ParticipantParticipantsParams::MachineDetectionBeepProfile
|
|
1195
|
+
)
|
|
1196
|
+
end
|
|
1197
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
1198
|
+
|
|
1199
|
+
BOTH =
|
|
1200
|
+
T.let(
|
|
1201
|
+
:both,
|
|
1202
|
+
Telnyx::Texml::Accounts::Conferences::ParticipantParticipantsParams::MachineDetectionBeepProfile::TaggedSymbol
|
|
1203
|
+
)
|
|
1204
|
+
FREQ_ONLY =
|
|
1205
|
+
T.let(
|
|
1206
|
+
:freq_only,
|
|
1207
|
+
Telnyx::Texml::Accounts::Conferences::ParticipantParticipantsParams::MachineDetectionBeepProfile::TaggedSymbol
|
|
1208
|
+
)
|
|
1209
|
+
|
|
1210
|
+
sig do
|
|
1211
|
+
override.returns(
|
|
1212
|
+
T::Array[
|
|
1213
|
+
Telnyx::Texml::Accounts::Conferences::ParticipantParticipantsParams::MachineDetectionBeepProfile::TaggedSymbol
|
|
1214
|
+
]
|
|
1215
|
+
)
|
|
1216
|
+
end
|
|
1217
|
+
def self.values
|
|
1218
|
+
end
|
|
1219
|
+
end
|
|
1220
|
+
|
|
1153
1221
|
# The number of channels in the final recording. Defaults to `mono`.
|
|
1154
1222
|
module RecordingChannels
|
|
1155
1223
|
extend Telnyx::Internal::Type::Enum
|
|
@@ -174,6 +174,27 @@ module Telnyx
|
|
|
174
174
|
end
|
|
175
175
|
attr_writer :machine_detection
|
|
176
176
|
|
|
177
|
+
# Selects which detectors must validate a beep. `both` requires the amplitude and
|
|
178
|
+
# frequency detectors to agree. `freq_only` uses the frequency detector alone, for
|
|
179
|
+
# beeps whose volume is too unsteady for the default profile. Only used when
|
|
180
|
+
# MachineDetection is enabled.
|
|
181
|
+
sig do
|
|
182
|
+
returns(
|
|
183
|
+
T.nilable(
|
|
184
|
+
Telnyx::TexmlInitiateAICallParams::MachineDetectionBeepProfile::OrSymbol
|
|
185
|
+
)
|
|
186
|
+
)
|
|
187
|
+
end
|
|
188
|
+
attr_reader :machine_detection_beep_profile
|
|
189
|
+
|
|
190
|
+
sig do
|
|
191
|
+
params(
|
|
192
|
+
machine_detection_beep_profile:
|
|
193
|
+
Telnyx::TexmlInitiateAICallParams::MachineDetectionBeepProfile::OrSymbol
|
|
194
|
+
).void
|
|
195
|
+
end
|
|
196
|
+
attr_writer :machine_detection_beep_profile
|
|
197
|
+
|
|
177
198
|
# Silence duration threshold after a call screening prompt before ending prompt
|
|
178
199
|
# detection, in milliseconds. Used when `DetectionMode` is `PremiumCallScreening`.
|
|
179
200
|
sig { returns(T.nilable(Integer)) }
|
|
@@ -448,6 +469,8 @@ module Telnyx
|
|
|
448
469
|
Telnyx::TexmlInitiateAICallParams::DetectionMode::OrSymbol,
|
|
449
470
|
machine_detection:
|
|
450
471
|
Telnyx::TexmlInitiateAICallParams::MachineDetection::OrSymbol,
|
|
472
|
+
machine_detection_beep_profile:
|
|
473
|
+
Telnyx::TexmlInitiateAICallParams::MachineDetectionBeepProfile::OrSymbol,
|
|
451
474
|
machine_detection_prompt_end_timeout: Integer,
|
|
452
475
|
machine_detection_silence_timeout: Integer,
|
|
453
476
|
machine_detection_speech_end_threshold: Integer,
|
|
@@ -523,6 +546,11 @@ module Telnyx
|
|
|
523
546
|
detection_mode: nil,
|
|
524
547
|
# Enables Answering Machine Detection.
|
|
525
548
|
machine_detection: nil,
|
|
549
|
+
# Selects which detectors must validate a beep. `both` requires the amplitude and
|
|
550
|
+
# frequency detectors to agree. `freq_only` uses the frequency detector alone, for
|
|
551
|
+
# beeps whose volume is too unsteady for the default profile. Only used when
|
|
552
|
+
# MachineDetection is enabled.
|
|
553
|
+
machine_detection_beep_profile: nil,
|
|
526
554
|
# Silence duration threshold after a call screening prompt before ending prompt
|
|
527
555
|
# detection, in milliseconds. Used when `DetectionMode` is `PremiumCallScreening`.
|
|
528
556
|
machine_detection_prompt_end_timeout: nil,
|
|
@@ -623,6 +651,8 @@ module Telnyx
|
|
|
623
651
|
Telnyx::TexmlInitiateAICallParams::DetectionMode::OrSymbol,
|
|
624
652
|
machine_detection:
|
|
625
653
|
Telnyx::TexmlInitiateAICallParams::MachineDetection::OrSymbol,
|
|
654
|
+
machine_detection_beep_profile:
|
|
655
|
+
Telnyx::TexmlInitiateAICallParams::MachineDetectionBeepProfile::OrSymbol,
|
|
626
656
|
machine_detection_prompt_end_timeout: Integer,
|
|
627
657
|
machine_detection_silence_timeout: Integer,
|
|
628
658
|
machine_detection_speech_end_threshold: Integer,
|
|
@@ -836,6 +866,44 @@ module Telnyx
|
|
|
836
866
|
end
|
|
837
867
|
end
|
|
838
868
|
|
|
869
|
+
# Selects which detectors must validate a beep. `both` requires the amplitude and
|
|
870
|
+
# frequency detectors to agree. `freq_only` uses the frequency detector alone, for
|
|
871
|
+
# beeps whose volume is too unsteady for the default profile. Only used when
|
|
872
|
+
# MachineDetection is enabled.
|
|
873
|
+
module MachineDetectionBeepProfile
|
|
874
|
+
extend Telnyx::Internal::Type::Enum
|
|
875
|
+
|
|
876
|
+
TaggedSymbol =
|
|
877
|
+
T.type_alias do
|
|
878
|
+
T.all(
|
|
879
|
+
Symbol,
|
|
880
|
+
Telnyx::TexmlInitiateAICallParams::MachineDetectionBeepProfile
|
|
881
|
+
)
|
|
882
|
+
end
|
|
883
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
884
|
+
|
|
885
|
+
BOTH =
|
|
886
|
+
T.let(
|
|
887
|
+
:both,
|
|
888
|
+
Telnyx::TexmlInitiateAICallParams::MachineDetectionBeepProfile::TaggedSymbol
|
|
889
|
+
)
|
|
890
|
+
FREQ_ONLY =
|
|
891
|
+
T.let(
|
|
892
|
+
:freq_only,
|
|
893
|
+
Telnyx::TexmlInitiateAICallParams::MachineDetectionBeepProfile::TaggedSymbol
|
|
894
|
+
)
|
|
895
|
+
|
|
896
|
+
sig do
|
|
897
|
+
override.returns(
|
|
898
|
+
T::Array[
|
|
899
|
+
Telnyx::TexmlInitiateAICallParams::MachineDetectionBeepProfile::TaggedSymbol
|
|
900
|
+
]
|
|
901
|
+
)
|
|
902
|
+
end
|
|
903
|
+
def self.values
|
|
904
|
+
end
|
|
905
|
+
end
|
|
906
|
+
|
|
839
907
|
# The number of channels in the final recording. Defaults to `mono`.
|
|
840
908
|
module RecordingChannels
|
|
841
909
|
extend Telnyx::Internal::Type::Enum
|
|
@@ -731,7 +731,12 @@ module Telnyx
|
|
|
731
731
|
# to configure speed, volume, pitch, and language_boost.
|
|
732
732
|
# - **Rime:** Use `Rime.<model_id>.<voice_id>` (e.g., `Rime.Arcana.cove`).
|
|
733
733
|
# Supported model_ids: `Arcana`, `Mist`, `ArcanaV3`, `Coda`. Use
|
|
734
|
-
# `voice_settings` to configure voice_speed.
|
|
734
|
+
# `voice_settings` to configure voice_speed. To use your own Rime account,
|
|
735
|
+
# provide your Rime API key as an integration secret in
|
|
736
|
+
# `"voice_settings": {"type": "rime", "api_key_ref": "<secret_identifier>"}`.
|
|
737
|
+
# See
|
|
738
|
+
# [integration secrets documentation](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
|
|
739
|
+
# for details.
|
|
735
740
|
# - **Resemble:** Use `Resemble.Turbo.<voice_id>` (e.g.,
|
|
736
741
|
# `Resemble.Turbo.my_voice`). Only `Turbo` model is supported. Use
|
|
737
742
|
# `voice_settings` to configure precision, sample_rate, and format.
|
|
@@ -1248,7 +1253,12 @@ module Telnyx
|
|
|
1248
1253
|
# to configure speed, volume, pitch, and language_boost.
|
|
1249
1254
|
# - **Rime:** Use `Rime.<model_id>.<voice_id>` (e.g., `Rime.Arcana.cove`).
|
|
1250
1255
|
# Supported model_ids: `Arcana`, `Mist`, `ArcanaV3`, `Coda`. Use
|
|
1251
|
-
# `voice_settings` to configure voice_speed.
|
|
1256
|
+
# `voice_settings` to configure voice_speed. To use your own Rime account,
|
|
1257
|
+
# provide your Rime API key as an integration secret in
|
|
1258
|
+
# `"voice_settings": {"type": "rime", "api_key_ref": "<secret_identifier>"}`.
|
|
1259
|
+
# See
|
|
1260
|
+
# [integration secrets documentation](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
|
|
1261
|
+
# for details.
|
|
1252
1262
|
# - **Resemble:** Use `Resemble.Turbo.<voice_id>` (e.g.,
|
|
1253
1263
|
# `Resemble.Turbo.my_voice`). Only `Turbo` model is supported. Use
|
|
1254
1264
|
# `voice_settings` to configure precision, sample_rate, and format.
|
|
@@ -577,7 +577,12 @@ module Telnyx
|
|
|
577
577
|
# to configure speed, volume, pitch, and language_boost.
|
|
578
578
|
# - **Rime:** Use `Rime.<model_id>.<voice_id>` (e.g., `Rime.Arcana.cove`).
|
|
579
579
|
# Supported model_ids: `Arcana`, `Mist`, `ArcanaV3`, `Coda`. Use
|
|
580
|
-
# `voice_settings` to configure voice_speed.
|
|
580
|
+
# `voice_settings` to configure voice_speed. To use your own Rime account,
|
|
581
|
+
# provide your Rime API key as an integration secret in
|
|
582
|
+
# `"voice_settings": {"type": "rime", "api_key_ref": "<secret_identifier>"}`.
|
|
583
|
+
# See
|
|
584
|
+
# [integration secrets documentation](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
|
|
585
|
+
# for details.
|
|
581
586
|
# - **Resemble:** Use `Resemble.Turbo.<voice_id>` (e.g.,
|
|
582
587
|
# `Resemble.Turbo.my_voice`). Only `Turbo` model is supported. Use
|
|
583
588
|
# `voice_settings` to configure precision, sample_rate, and format.
|
|
@@ -199,7 +199,7 @@ module Telnyx
|
|
|
199
199
|
)
|
|
200
200
|
end
|
|
201
201
|
|
|
202
|
-
#
|
|
202
|
+
# Lists messaging profiles owned by the authenticated account. Apply the
|
|
203
203
|
# documented filters and pagination parameters to narrow the result set.
|
|
204
204
|
sig do
|
|
205
205
|
params(
|
|
@@ -155,6 +155,8 @@ module Telnyx
|
|
|
155
155
|
label: String,
|
|
156
156
|
machine_detection:
|
|
157
157
|
Telnyx::Texml::Accounts::Conferences::ParticipantParticipantsParams::MachineDetection::OrSymbol,
|
|
158
|
+
machine_detection_beep_profile:
|
|
159
|
+
Telnyx::Texml::Accounts::Conferences::ParticipantParticipantsParams::MachineDetectionBeepProfile::OrSymbol,
|
|
158
160
|
machine_detection_silence_timeout: Integer,
|
|
159
161
|
machine_detection_speech_end_threshold: Integer,
|
|
160
162
|
machine_detection_speech_threshold: Integer,
|
|
@@ -277,6 +279,11 @@ module Telnyx
|
|
|
277
279
|
# is identified. Use `DetectMessageEnd`, if you would like to leave a message on
|
|
278
280
|
# an answering machine.
|
|
279
281
|
machine_detection: nil,
|
|
282
|
+
# Body param: Selects which detectors must validate a beep. `both` requires the
|
|
283
|
+
# amplitude and frequency detectors to agree. `freq_only` uses the frequency
|
|
284
|
+
# detector alone, for beeps whose volume is too unsteady for the default profile.
|
|
285
|
+
# Only used when MachineDetection is enabled.
|
|
286
|
+
machine_detection_beep_profile: nil,
|
|
280
287
|
# Body param: If initial silence duration is greater than this value, consider it
|
|
281
288
|
# a machine. Ignored when `premium` detection is used.
|
|
282
289
|
machine_detection_silence_timeout: nil,
|
|
@@ -46,6 +46,8 @@ module Telnyx
|
|
|
46
46
|
Telnyx::TexmlInitiateAICallParams::DetectionMode::OrSymbol,
|
|
47
47
|
machine_detection:
|
|
48
48
|
Telnyx::TexmlInitiateAICallParams::MachineDetection::OrSymbol,
|
|
49
|
+
machine_detection_beep_profile:
|
|
50
|
+
Telnyx::TexmlInitiateAICallParams::MachineDetectionBeepProfile::OrSymbol,
|
|
49
51
|
machine_detection_prompt_end_timeout: Integer,
|
|
50
52
|
machine_detection_silence_timeout: Integer,
|
|
51
53
|
machine_detection_speech_end_threshold: Integer,
|
|
@@ -122,6 +124,11 @@ module Telnyx
|
|
|
122
124
|
detection_mode: nil,
|
|
123
125
|
# Enables Answering Machine Detection.
|
|
124
126
|
machine_detection: nil,
|
|
127
|
+
# Selects which detectors must validate a beep. `both` requires the amplitude and
|
|
128
|
+
# frequency detectors to agree. `freq_only` uses the frequency detector alone, for
|
|
129
|
+
# beeps whose volume is too unsteady for the default profile. Only used when
|
|
130
|
+
# MachineDetection is enabled.
|
|
131
|
+
machine_detection_beep_profile: nil,
|
|
125
132
|
# Silence duration threshold after a call screening prompt before ending prompt
|
|
126
133
|
# detection, in milliseconds. Used when `DetectionMode` is `PremiumCallScreening`.
|
|
127
134
|
machine_detection_prompt_end_timeout: nil,
|
|
@@ -555,6 +555,7 @@ module Telnyx
|
|
|
555
555
|
type answering_machine_detection_config =
|
|
556
556
|
{
|
|
557
557
|
after_greeting_silence_millis: Integer,
|
|
558
|
+
beep_detection_profile: Telnyx::Models::CallDialParams::AnsweringMachineDetectionConfig::beep_detection_profile,
|
|
558
559
|
between_words_silence_millis: Integer,
|
|
559
560
|
greeting_duration_millis: Integer,
|
|
560
561
|
greeting_silence_duration_millis: Integer,
|
|
@@ -571,6 +572,12 @@ module Telnyx
|
|
|
571
572
|
|
|
572
573
|
def after_greeting_silence_millis=: (Integer) -> Integer
|
|
573
574
|
|
|
575
|
+
attr_reader beep_detection_profile: Telnyx::Models::CallDialParams::AnsweringMachineDetectionConfig::beep_detection_profile?
|
|
576
|
+
|
|
577
|
+
def beep_detection_profile=: (
|
|
578
|
+
Telnyx::Models::CallDialParams::AnsweringMachineDetectionConfig::beep_detection_profile
|
|
579
|
+
) -> Telnyx::Models::CallDialParams::AnsweringMachineDetectionConfig::beep_detection_profile
|
|
580
|
+
|
|
574
581
|
attr_reader between_words_silence_millis: Integer?
|
|
575
582
|
|
|
576
583
|
def between_words_silence_millis=: (Integer) -> Integer
|
|
@@ -609,6 +616,7 @@ module Telnyx
|
|
|
609
616
|
|
|
610
617
|
def initialize: (
|
|
611
618
|
?after_greeting_silence_millis: Integer,
|
|
619
|
+
?beep_detection_profile: Telnyx::Models::CallDialParams::AnsweringMachineDetectionConfig::beep_detection_profile,
|
|
612
620
|
?between_words_silence_millis: Integer,
|
|
613
621
|
?greeting_duration_millis: Integer,
|
|
614
622
|
?greeting_silence_duration_millis: Integer,
|
|
@@ -622,6 +630,7 @@ module Telnyx
|
|
|
622
630
|
|
|
623
631
|
def to_hash: -> {
|
|
624
632
|
after_greeting_silence_millis: Integer,
|
|
633
|
+
beep_detection_profile: Telnyx::Models::CallDialParams::AnsweringMachineDetectionConfig::beep_detection_profile,
|
|
625
634
|
between_words_silence_millis: Integer,
|
|
626
635
|
greeting_duration_millis: Integer,
|
|
627
636
|
greeting_silence_duration_millis: Integer,
|
|
@@ -632,6 +641,17 @@ module Telnyx
|
|
|
632
641
|
silence_threshold: Integer,
|
|
633
642
|
total_analysis_time_millis: Integer
|
|
634
643
|
}
|
|
644
|
+
|
|
645
|
+
type beep_detection_profile = :both | :freq_only
|
|
646
|
+
|
|
647
|
+
module BeepDetectionProfile
|
|
648
|
+
extend Telnyx::Internal::Type::Enum
|
|
649
|
+
|
|
650
|
+
BOTH: :both
|
|
651
|
+
FREQ_ONLY: :freq_only
|
|
652
|
+
|
|
653
|
+
def self?.values: -> ::Array[Telnyx::Models::CallDialParams::AnsweringMachineDetectionConfig::beep_detection_profile]
|
|
654
|
+
end
|
|
635
655
|
end
|
|
636
656
|
|
|
637
657
|
type conference_config =
|
|
@@ -363,6 +363,7 @@ module Telnyx
|
|
|
363
363
|
type answering_machine_detection_config =
|
|
364
364
|
{
|
|
365
365
|
after_greeting_silence_millis: Integer,
|
|
366
|
+
beep_detection_profile: Telnyx::Models::Calls::ActionTransferParams::AnsweringMachineDetectionConfig::beep_detection_profile,
|
|
366
367
|
between_words_silence_millis: Integer,
|
|
367
368
|
greeting_duration_millis: Integer,
|
|
368
369
|
greeting_silence_duration_millis: Integer,
|
|
@@ -379,6 +380,12 @@ module Telnyx
|
|
|
379
380
|
|
|
380
381
|
def after_greeting_silence_millis=: (Integer) -> Integer
|
|
381
382
|
|
|
383
|
+
attr_reader beep_detection_profile: Telnyx::Models::Calls::ActionTransferParams::AnsweringMachineDetectionConfig::beep_detection_profile?
|
|
384
|
+
|
|
385
|
+
def beep_detection_profile=: (
|
|
386
|
+
Telnyx::Models::Calls::ActionTransferParams::AnsweringMachineDetectionConfig::beep_detection_profile
|
|
387
|
+
) -> Telnyx::Models::Calls::ActionTransferParams::AnsweringMachineDetectionConfig::beep_detection_profile
|
|
388
|
+
|
|
382
389
|
attr_reader between_words_silence_millis: Integer?
|
|
383
390
|
|
|
384
391
|
def between_words_silence_millis=: (Integer) -> Integer
|
|
@@ -417,6 +424,7 @@ module Telnyx
|
|
|
417
424
|
|
|
418
425
|
def initialize: (
|
|
419
426
|
?after_greeting_silence_millis: Integer,
|
|
427
|
+
?beep_detection_profile: Telnyx::Models::Calls::ActionTransferParams::AnsweringMachineDetectionConfig::beep_detection_profile,
|
|
420
428
|
?between_words_silence_millis: Integer,
|
|
421
429
|
?greeting_duration_millis: Integer,
|
|
422
430
|
?greeting_silence_duration_millis: Integer,
|
|
@@ -430,6 +438,7 @@ module Telnyx
|
|
|
430
438
|
|
|
431
439
|
def to_hash: -> {
|
|
432
440
|
after_greeting_silence_millis: Integer,
|
|
441
|
+
beep_detection_profile: Telnyx::Models::Calls::ActionTransferParams::AnsweringMachineDetectionConfig::beep_detection_profile,
|
|
433
442
|
between_words_silence_millis: Integer,
|
|
434
443
|
greeting_duration_millis: Integer,
|
|
435
444
|
greeting_silence_duration_millis: Integer,
|
|
@@ -440,6 +449,17 @@ module Telnyx
|
|
|
440
449
|
silence_threshold: Integer,
|
|
441
450
|
total_analysis_time_millis: Integer
|
|
442
451
|
}
|
|
452
|
+
|
|
453
|
+
type beep_detection_profile = :both | :freq_only
|
|
454
|
+
|
|
455
|
+
module BeepDetectionProfile
|
|
456
|
+
extend Telnyx::Internal::Type::Enum
|
|
457
|
+
|
|
458
|
+
BOTH: :both
|
|
459
|
+
FREQ_ONLY: :freq_only
|
|
460
|
+
|
|
461
|
+
def self?.values: -> ::Array[Telnyx::Models::Calls::ActionTransferParams::AnsweringMachineDetectionConfig::beep_detection_profile]
|
|
462
|
+
end
|
|
443
463
|
end
|
|
444
464
|
|
|
445
465
|
type media_encryption = :disabled | :SRTP | :DTLS
|
|
@@ -1,22 +1,32 @@
|
|
|
1
1
|
module Telnyx
|
|
2
2
|
module Models
|
|
3
3
|
type rime_voice_settings =
|
|
4
|
-
{
|
|
4
|
+
{
|
|
5
|
+
type: Telnyx::Models::RimeVoiceSettings::type_,
|
|
6
|
+
api_key_ref: String,
|
|
7
|
+
voice_speed: Float
|
|
8
|
+
}
|
|
5
9
|
|
|
6
10
|
class RimeVoiceSettings < Telnyx::Internal::Type::BaseModel
|
|
7
11
|
attr_accessor type: Telnyx::Models::RimeVoiceSettings::type_
|
|
8
12
|
|
|
13
|
+
attr_reader api_key_ref: String?
|
|
14
|
+
|
|
15
|
+
def api_key_ref=: (String) -> String
|
|
16
|
+
|
|
9
17
|
attr_reader voice_speed: Float?
|
|
10
18
|
|
|
11
19
|
def voice_speed=: (Float) -> Float
|
|
12
20
|
|
|
13
21
|
def initialize: (
|
|
14
22
|
type: Telnyx::Models::RimeVoiceSettings::type_,
|
|
23
|
+
?api_key_ref: String,
|
|
15
24
|
?voice_speed: Float
|
|
16
25
|
) -> void
|
|
17
26
|
|
|
18
27
|
def to_hash: -> {
|
|
19
28
|
type: Telnyx::Models::RimeVoiceSettings::type_,
|
|
29
|
+
api_key_ref: String,
|
|
20
30
|
voice_speed: Float
|
|
21
31
|
}
|
|
22
32
|
|
|
@@ -55,6 +55,7 @@ module Telnyx
|
|
|
55
55
|
fallback_url: String,
|
|
56
56
|
from: String,
|
|
57
57
|
machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection,
|
|
58
|
+
machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection_beep_profile,
|
|
58
59
|
machine_detection_prompt_end_timeout: Integer,
|
|
59
60
|
machine_detection_silence_timeout: Integer,
|
|
60
61
|
machine_detection_speech_end_threshold: Integer,
|
|
@@ -161,6 +162,12 @@ module Telnyx
|
|
|
161
162
|
Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection
|
|
162
163
|
) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection
|
|
163
164
|
|
|
165
|
+
attr_reader machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection_beep_profile?
|
|
166
|
+
|
|
167
|
+
def machine_detection_beep_profile=: (
|
|
168
|
+
Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection_beep_profile
|
|
169
|
+
) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection_beep_profile
|
|
170
|
+
|
|
164
171
|
attr_reader machine_detection_prompt_end_timeout: Integer?
|
|
165
172
|
|
|
166
173
|
def machine_detection_prompt_end_timeout=: (Integer) -> Integer
|
|
@@ -310,6 +317,7 @@ module Telnyx
|
|
|
310
317
|
?fallback_url: String,
|
|
311
318
|
?from: String,
|
|
312
319
|
?machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection,
|
|
320
|
+
?machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection_beep_profile,
|
|
313
321
|
?machine_detection_prompt_end_timeout: Integer,
|
|
314
322
|
?machine_detection_silence_timeout: Integer,
|
|
315
323
|
?machine_detection_speech_end_threshold: Integer,
|
|
@@ -358,6 +366,7 @@ module Telnyx
|
|
|
358
366
|
fallback_url: String,
|
|
359
367
|
from: String,
|
|
360
368
|
machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection,
|
|
369
|
+
machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection_beep_profile,
|
|
361
370
|
machine_detection_prompt_end_timeout: Integer,
|
|
362
371
|
machine_detection_silence_timeout: Integer,
|
|
363
372
|
machine_detection_speech_end_threshold: Integer,
|
|
@@ -457,6 +466,17 @@ module Telnyx
|
|
|
457
466
|
def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection]
|
|
458
467
|
end
|
|
459
468
|
|
|
469
|
+
type machine_detection_beep_profile = :both | :freq_only
|
|
470
|
+
|
|
471
|
+
module MachineDetectionBeepProfile
|
|
472
|
+
extend Telnyx::Internal::Type::Enum
|
|
473
|
+
|
|
474
|
+
BOTH: :both
|
|
475
|
+
FREQ_ONLY: :freq_only
|
|
476
|
+
|
|
477
|
+
def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection_beep_profile]
|
|
478
|
+
end
|
|
479
|
+
|
|
460
480
|
type media_encryption = :disabled | :SRTP | :DTLS
|
|
461
481
|
|
|
462
482
|
module MediaEncryption
|
|
@@ -582,6 +602,7 @@ module Telnyx
|
|
|
582
602
|
fallback_url: String,
|
|
583
603
|
from: String,
|
|
584
604
|
machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection,
|
|
605
|
+
machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection_beep_profile,
|
|
585
606
|
machine_detection_prompt_end_timeout: Integer,
|
|
586
607
|
machine_detection_silence_timeout: Integer,
|
|
587
608
|
machine_detection_speech_end_threshold: Integer,
|
|
@@ -688,6 +709,12 @@ module Telnyx
|
|
|
688
709
|
Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection
|
|
689
710
|
) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection
|
|
690
711
|
|
|
712
|
+
attr_reader machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection_beep_profile?
|
|
713
|
+
|
|
714
|
+
def machine_detection_beep_profile=: (
|
|
715
|
+
Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection_beep_profile
|
|
716
|
+
) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection_beep_profile
|
|
717
|
+
|
|
691
718
|
attr_reader machine_detection_prompt_end_timeout: Integer?
|
|
692
719
|
|
|
693
720
|
def machine_detection_prompt_end_timeout=: (Integer) -> Integer
|
|
@@ -837,6 +864,7 @@ module Telnyx
|
|
|
837
864
|
?fallback_url: String,
|
|
838
865
|
?from: String,
|
|
839
866
|
?machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection,
|
|
867
|
+
?machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection_beep_profile,
|
|
840
868
|
?machine_detection_prompt_end_timeout: Integer,
|
|
841
869
|
?machine_detection_silence_timeout: Integer,
|
|
842
870
|
?machine_detection_speech_end_threshold: Integer,
|
|
@@ -885,6 +913,7 @@ module Telnyx
|
|
|
885
913
|
fallback_url: String,
|
|
886
914
|
from: String,
|
|
887
915
|
machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection,
|
|
916
|
+
machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection_beep_profile,
|
|
888
917
|
machine_detection_prompt_end_timeout: Integer,
|
|
889
918
|
machine_detection_silence_timeout: Integer,
|
|
890
919
|
machine_detection_speech_end_threshold: Integer,
|
|
@@ -984,6 +1013,17 @@ module Telnyx
|
|
|
984
1013
|
def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection]
|
|
985
1014
|
end
|
|
986
1015
|
|
|
1016
|
+
type machine_detection_beep_profile = :both | :freq_only
|
|
1017
|
+
|
|
1018
|
+
module MachineDetectionBeepProfile
|
|
1019
|
+
extend Telnyx::Internal::Type::Enum
|
|
1020
|
+
|
|
1021
|
+
BOTH: :both
|
|
1022
|
+
FREQ_ONLY: :freq_only
|
|
1023
|
+
|
|
1024
|
+
def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection_beep_profile]
|
|
1025
|
+
end
|
|
1026
|
+
|
|
987
1027
|
type media_encryption = :disabled | :SRTP | :DTLS
|
|
988
1028
|
|
|
989
1029
|
module MediaEncryption
|
|
@@ -1108,6 +1148,7 @@ module Telnyx
|
|
|
1108
1148
|
fallback_url: String,
|
|
1109
1149
|
from: String,
|
|
1110
1150
|
machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection,
|
|
1151
|
+
machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection_beep_profile,
|
|
1111
1152
|
machine_detection_prompt_end_timeout: Integer,
|
|
1112
1153
|
machine_detection_silence_timeout: Integer,
|
|
1113
1154
|
machine_detection_speech_end_threshold: Integer,
|
|
@@ -1213,6 +1254,12 @@ module Telnyx
|
|
|
1213
1254
|
Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection
|
|
1214
1255
|
) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection
|
|
1215
1256
|
|
|
1257
|
+
attr_reader machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection_beep_profile?
|
|
1258
|
+
|
|
1259
|
+
def machine_detection_beep_profile=: (
|
|
1260
|
+
Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection_beep_profile
|
|
1261
|
+
) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection_beep_profile
|
|
1262
|
+
|
|
1216
1263
|
attr_reader machine_detection_prompt_end_timeout: Integer?
|
|
1217
1264
|
|
|
1218
1265
|
def machine_detection_prompt_end_timeout=: (Integer) -> Integer
|
|
@@ -1363,6 +1410,7 @@ module Telnyx
|
|
|
1363
1410
|
?fallback_url: String,
|
|
1364
1411
|
?from: String,
|
|
1365
1412
|
?machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection,
|
|
1413
|
+
?machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection_beep_profile,
|
|
1366
1414
|
?machine_detection_prompt_end_timeout: Integer,
|
|
1367
1415
|
?machine_detection_silence_timeout: Integer,
|
|
1368
1416
|
?machine_detection_speech_end_threshold: Integer,
|
|
@@ -1411,6 +1459,7 @@ module Telnyx
|
|
|
1411
1459
|
fallback_url: String,
|
|
1412
1460
|
from: String,
|
|
1413
1461
|
machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection,
|
|
1462
|
+
machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection_beep_profile,
|
|
1414
1463
|
machine_detection_prompt_end_timeout: Integer,
|
|
1415
1464
|
machine_detection_silence_timeout: Integer,
|
|
1416
1465
|
machine_detection_speech_end_threshold: Integer,
|
|
@@ -1511,6 +1560,17 @@ module Telnyx
|
|
|
1511
1560
|
def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection]
|
|
1512
1561
|
end
|
|
1513
1562
|
|
|
1563
|
+
type machine_detection_beep_profile = :both | :freq_only
|
|
1564
|
+
|
|
1565
|
+
module MachineDetectionBeepProfile
|
|
1566
|
+
extend Telnyx::Internal::Type::Enum
|
|
1567
|
+
|
|
1568
|
+
BOTH: :both
|
|
1569
|
+
FREQ_ONLY: :freq_only
|
|
1570
|
+
|
|
1571
|
+
def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection_beep_profile]
|
|
1572
|
+
end
|
|
1573
|
+
|
|
1514
1574
|
type media_encryption = :disabled | :SRTP | :DTLS
|
|
1515
1575
|
|
|
1516
1576
|
module MediaEncryption
|
|
@@ -31,6 +31,7 @@ module Telnyx
|
|
|
31
31
|
from: String,
|
|
32
32
|
label: String,
|
|
33
33
|
machine_detection: Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection,
|
|
34
|
+
machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection_beep_profile,
|
|
34
35
|
machine_detection_silence_timeout: Integer,
|
|
35
36
|
machine_detection_speech_end_threshold: Integer,
|
|
36
37
|
machine_detection_speech_threshold: Integer,
|
|
@@ -178,6 +179,12 @@ module Telnyx
|
|
|
178
179
|
Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection
|
|
179
180
|
) -> Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection
|
|
180
181
|
|
|
182
|
+
attr_reader machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection_beep_profile?
|
|
183
|
+
|
|
184
|
+
def machine_detection_beep_profile=: (
|
|
185
|
+
Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection_beep_profile
|
|
186
|
+
) -> Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection_beep_profile
|
|
187
|
+
|
|
181
188
|
attr_reader machine_detection_silence_timeout: Integer?
|
|
182
189
|
|
|
183
190
|
def machine_detection_silence_timeout=: (Integer) -> Integer
|
|
@@ -311,6 +318,7 @@ module Telnyx
|
|
|
311
318
|
?from: String,
|
|
312
319
|
?label: String,
|
|
313
320
|
?machine_detection: Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection,
|
|
321
|
+
?machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection_beep_profile,
|
|
314
322
|
?machine_detection_silence_timeout: Integer,
|
|
315
323
|
?machine_detection_speech_end_threshold: Integer,
|
|
316
324
|
?machine_detection_speech_threshold: Integer,
|
|
@@ -365,6 +373,7 @@ module Telnyx
|
|
|
365
373
|
from: String,
|
|
366
374
|
label: String,
|
|
367
375
|
machine_detection: Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection,
|
|
376
|
+
machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection_beep_profile,
|
|
368
377
|
machine_detection_silence_timeout: Integer,
|
|
369
378
|
machine_detection_speech_end_threshold: Integer,
|
|
370
379
|
machine_detection_speech_threshold: Integer,
|
|
@@ -486,6 +495,17 @@ module Telnyx
|
|
|
486
495
|
def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection]
|
|
487
496
|
end
|
|
488
497
|
|
|
498
|
+
type machine_detection_beep_profile = :both | :freq_only
|
|
499
|
+
|
|
500
|
+
module MachineDetectionBeepProfile
|
|
501
|
+
extend Telnyx::Internal::Type::Enum
|
|
502
|
+
|
|
503
|
+
BOTH: :both
|
|
504
|
+
FREQ_ONLY: :freq_only
|
|
505
|
+
|
|
506
|
+
def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection_beep_profile]
|
|
507
|
+
end
|
|
508
|
+
|
|
489
509
|
type recording_channels = :mono | :dual
|
|
490
510
|
|
|
491
511
|
module RecordingChannels
|