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.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -0
  3. data/README.md +1 -1
  4. data/lib/telnyx/models/call_dial_params.rb +27 -1
  5. data/lib/telnyx/models/calls/action_gather_using_speak_params.rb +6 -1
  6. data/lib/telnyx/models/calls/action_speak_params.rb +6 -1
  7. data/lib/telnyx/models/calls/action_transfer_params.rb +27 -1
  8. data/lib/telnyx/models/conferences/action_speak_params.rb +6 -1
  9. data/lib/telnyx/models/rime_voice_settings.rb +15 -1
  10. data/lib/telnyx/models/texml/accounts/call_calls_params.rb +96 -3
  11. data/lib/telnyx/models/texml/accounts/conferences/participant_participants_params.rb +30 -1
  12. data/lib/telnyx/models/texml_initiate_ai_call_params.rb +28 -1
  13. data/lib/telnyx/resources/messaging_profiles.rb +1 -1
  14. data/lib/telnyx/resources/texml/accounts/conferences/participants.rb +3 -1
  15. data/lib/telnyx/resources/texml.rb +3 -1
  16. data/lib/telnyx/version.rb +1 -1
  17. data/rbi/telnyx/models/call_dial_params.rbi +65 -0
  18. data/rbi/telnyx/models/calls/action_gather_using_speak_params.rbi +12 -2
  19. data/rbi/telnyx/models/calls/action_speak_params.rbi +12 -2
  20. data/rbi/telnyx/models/calls/action_transfer_params.rbi +65 -0
  21. data/rbi/telnyx/models/conferences/action_speak_params.rbi +12 -2
  22. data/rbi/telnyx/models/rime_voice_settings.rbi +17 -0
  23. data/rbi/telnyx/models/texml/accounts/call_calls_params.rbi +204 -0
  24. data/rbi/telnyx/models/texml/accounts/conferences/participant_participants_params.rbi +68 -0
  25. data/rbi/telnyx/models/texml_initiate_ai_call_params.rbi +68 -0
  26. data/rbi/telnyx/resources/calls/actions.rbi +12 -2
  27. data/rbi/telnyx/resources/conferences/actions.rbi +6 -1
  28. data/rbi/telnyx/resources/messaging_profiles.rbi +1 -1
  29. data/rbi/telnyx/resources/texml/accounts/conferences/participants.rbi +7 -0
  30. data/rbi/telnyx/resources/texml.rbi +7 -0
  31. data/sig/telnyx/models/call_dial_params.rbs +20 -0
  32. data/sig/telnyx/models/calls/action_transfer_params.rbs +20 -0
  33. data/sig/telnyx/models/rime_voice_settings.rbs +11 -1
  34. data/sig/telnyx/models/texml/accounts/call_calls_params.rbs +60 -0
  35. data/sig/telnyx/models/texml/accounts/conferences/participant_participants_params.rbs +20 -0
  36. data/sig/telnyx/models/texml_initiate_ai_call_params.rbs +20 -0
  37. data/sig/telnyx/resources/texml/accounts/conferences/participants.rbs +1 -0
  38. data/sig/telnyx/resources/texml.rbs +1 -0
  39. metadata +2 -2
@@ -18,6 +18,7 @@ module Telnyx
18
18
  custom_headers: ::Array[Telnyx::TexmlInitiateAICallParams::CustomHeader],
19
19
  detection_mode: Telnyx::Models::TexmlInitiateAICallParams::detection_mode,
20
20
  machine_detection: Telnyx::Models::TexmlInitiateAICallParams::machine_detection,
21
+ machine_detection_beep_profile: Telnyx::Models::TexmlInitiateAICallParams::machine_detection_beep_profile,
21
22
  machine_detection_prompt_end_timeout: Integer,
22
23
  machine_detection_silence_timeout: Integer,
23
24
  machine_detection_speech_end_threshold: Integer,
@@ -118,6 +119,12 @@ module Telnyx
118
119
  Telnyx::Models::TexmlInitiateAICallParams::machine_detection
119
120
  ) -> Telnyx::Models::TexmlInitiateAICallParams::machine_detection
120
121
 
122
+ attr_reader machine_detection_beep_profile: Telnyx::Models::TexmlInitiateAICallParams::machine_detection_beep_profile?
123
+
124
+ def machine_detection_beep_profile=: (
125
+ Telnyx::Models::TexmlInitiateAICallParams::machine_detection_beep_profile
126
+ ) -> Telnyx::Models::TexmlInitiateAICallParams::machine_detection_beep_profile
127
+
121
128
  attr_reader machine_detection_prompt_end_timeout: Integer?
122
129
 
123
130
  def machine_detection_prompt_end_timeout=: (Integer) -> Integer
@@ -247,6 +254,7 @@ module Telnyx
247
254
  ?custom_headers: ::Array[Telnyx::TexmlInitiateAICallParams::CustomHeader],
248
255
  ?detection_mode: Telnyx::Models::TexmlInitiateAICallParams::detection_mode,
249
256
  ?machine_detection: Telnyx::Models::TexmlInitiateAICallParams::machine_detection,
257
+ ?machine_detection_beep_profile: Telnyx::Models::TexmlInitiateAICallParams::machine_detection_beep_profile,
250
258
  ?machine_detection_prompt_end_timeout: Integer,
251
259
  ?machine_detection_silence_timeout: Integer,
252
260
  ?machine_detection_speech_end_threshold: Integer,
@@ -292,6 +300,7 @@ module Telnyx
292
300
  custom_headers: ::Array[Telnyx::TexmlInitiateAICallParams::CustomHeader],
293
301
  detection_mode: Telnyx::Models::TexmlInitiateAICallParams::detection_mode,
294
302
  machine_detection: Telnyx::Models::TexmlInitiateAICallParams::machine_detection,
303
+ machine_detection_beep_profile: Telnyx::Models::TexmlInitiateAICallParams::machine_detection_beep_profile,
295
304
  machine_detection_prompt_end_timeout: Integer,
296
305
  machine_detection_silence_timeout: Integer,
297
306
  machine_detection_speech_end_threshold: Integer,
@@ -378,6 +387,17 @@ module Telnyx
378
387
  def self?.values: -> ::Array[Telnyx::Models::TexmlInitiateAICallParams::machine_detection]
379
388
  end
380
389
 
390
+ type machine_detection_beep_profile = :both | :freq_only
391
+
392
+ module MachineDetectionBeepProfile
393
+ extend Telnyx::Internal::Type::Enum
394
+
395
+ BOTH: :both
396
+ FREQ_ONLY: :freq_only
397
+
398
+ def self?.values: -> ::Array[Telnyx::Models::TexmlInitiateAICallParams::machine_detection_beep_profile]
399
+ end
400
+
381
401
  type recording_channels = :mono | :dual
382
402
 
383
403
  module RecordingChannels
@@ -63,6 +63,7 @@ module Telnyx
63
63
  ?from: String,
64
64
  ?label: String,
65
65
  ?machine_detection: Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection,
66
+ ?machine_detection_beep_profile: Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::machine_detection_beep_profile,
66
67
  ?machine_detection_silence_timeout: Integer,
67
68
  ?machine_detection_speech_end_threshold: Integer,
68
69
  ?machine_detection_speech_threshold: Integer,
@@ -20,6 +20,7 @@ module Telnyx
20
20
  ?custom_headers: ::Array[Telnyx::TexmlInitiateAICallParams::CustomHeader],
21
21
  ?detection_mode: Telnyx::Models::TexmlInitiateAICallParams::detection_mode,
22
22
  ?machine_detection: Telnyx::Models::TexmlInitiateAICallParams::machine_detection,
23
+ ?machine_detection_beep_profile: Telnyx::Models::TexmlInitiateAICallParams::machine_detection_beep_profile,
23
24
  ?machine_detection_prompt_end_timeout: Integer,
24
25
  ?machine_detection_silence_timeout: Integer,
25
26
  ?machine_detection_speech_end_threshold: Integer,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: telnyx
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.161.0
4
+ version: 5.162.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Telnyx
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-08-16 00:00:00.000000000 Z
11
+ date: 2026-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64