telnyx 5.14.0 → 5.15.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 99fef37ceb6546530650046eff567a8359090af38b60815f2afea5a617103aa1
4
- data.tar.gz: 8e3cb7df0753c96ca64a49496fdd2110bcfd6f7eae31d4cfaf2211652809ffb3
3
+ metadata.gz: 9da568419d4146b9adebaf6012dbdb28c4ad24798eb4024d89a885ddeecde0a7
4
+ data.tar.gz: 7227756ff99e22af95bef59d810f79400bcfe88ab316a6dcd846cfd4f7f37cef
5
5
  SHA512:
6
- metadata.gz: 425b1f44e3aad796324c96ea2c77db9b968850b984e5f97d30a3be6ad16e4fa1d4cbe74df06ee970fda14c04bd3e9794b24d3c05429cf5f0fd0d21122c3bfbf6
7
- data.tar.gz: c8f23f6cfa5caecfef75f1137438f802d935e3a7513b77d782cda301d4fa81aeffee75f4d08d953e6d0d2c73bd2e460b4e7f50e95cd59e7d0915bba8fbe65928
6
+ metadata.gz: 16302aeadde52e34185dbd0a79c7c0b27d041accd5f7f3139ddcf2da856a8f723bf190c54d661bedcb934b944a51f07534f663ad90d0940e8104d082b26cb2b1
7
+ data.tar.gz: f6005d40c735e85253414afd176b0b13af991c37fc4e0d0857806c0c8ef2621160e801b5c9270e6525a552aa4c519829072929ef1a0b824eab33d7dd6a90f606
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.15.0 (2026-02-11)
4
+
5
+ Full Changelog: [v5.14.0...v5.15.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.14.0...v5.15.0)
6
+
7
+ ### Features
8
+
9
+ * Limit detection_mode enum to disabled and detect only ([a1095ec](https://github.com/team-telnyx/telnyx-ruby/commit/a1095ecb570f54320530b9223ea6bed3f38a2125))
10
+
3
11
  ## 5.14.0 (2026-02-09)
4
12
 
5
13
  Full Changelog: [v5.13.0...v5.14.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.13.0...v5.14.0)
data/README.md CHANGED
@@ -24,7 +24,7 @@ To use this gem, install via Bundler by adding the following to your application
24
24
  <!-- x-release-please-start-version -->
25
25
 
26
26
  ```ruby
27
- gem "telnyx", "~> 5.14.0"
27
+ gem "telnyx", "~> 5.15.0"
28
28
  ```
29
29
 
30
30
  <!-- x-release-please-end -->
@@ -233,8 +233,9 @@ module Telnyx
233
233
  -> { Telnyx::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::DetectionConfig }
234
234
 
235
235
  # @!attribute detection_mode
236
- # The AMD detection mode to use. 'premium' provides the highest accuracy.
237
- # 'disabled' turns off AMD detection.
236
+ # The AMD detection mode to use. 'detect' enables answering machine detection
237
+ # (works best when warm transfer instructions are also set). 'disabled' turns off
238
+ # AMD detection.
238
239
  #
239
240
  # @return [Symbol, Telnyx::Models::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::DetectionMode, nil]
240
241
  optional :detection_mode,
@@ -258,7 +259,7 @@ module Telnyx
258
259
  #
259
260
  # @param detection_config [Telnyx::Models::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::DetectionConfig] Advanced AMD detection configuration parameters. All values are optional - Telny
260
261
  #
261
- # @param detection_mode [Symbol, Telnyx::Models::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::DetectionMode] The AMD detection mode to use. 'premium' provides the highest accuracy. 'disable
262
+ # @param detection_mode [Symbol, Telnyx::Models::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::DetectionMode] The AMD detection mode to use. 'detect' enables answering machine detection (wor
262
263
  #
263
264
  # @param on_voicemail_detected [Telnyx::Models::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::OnVoicemailDetected] Action to take when voicemail is detected on the transferred call.
264
265
 
@@ -362,19 +363,16 @@ module Telnyx
362
363
  # @param total_analysis_time_millis [Integer] Total time allowed for AMD analysis.
363
364
  end
364
365
 
365
- # The AMD detection mode to use. 'premium' provides the highest accuracy.
366
- # 'disabled' turns off AMD detection.
366
+ # The AMD detection mode to use. 'detect' enables answering machine detection
367
+ # (works best when warm transfer instructions are also set). 'disabled' turns off
368
+ # AMD detection.
367
369
  #
368
370
  # @see Telnyx::Models::AI::AssistantTool::Transfer::Transfer::VoicemailDetection#detection_mode
369
371
  module DetectionMode
370
372
  extend Telnyx::Internal::Type::Enum
371
373
 
372
- PREMIUM = :premium
373
- DETECT = :detect
374
- DETECT_BEEP = :detect_beep
375
- DETECT_WORDS = :detect_words
376
- GREETING_END = :greeting_end
377
374
  DISABLED = :disabled
375
+ DETECT = :detect
378
376
 
379
377
  # @!method self.values
380
378
  # @return [Array<Symbol>]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Telnyx
4
- VERSION = "5.14.0"
4
+ VERSION = "5.15.0"
5
5
  end
@@ -492,8 +492,9 @@ module Telnyx
492
492
  end
493
493
  attr_writer :detection_config
494
494
 
495
- # The AMD detection mode to use. 'premium' provides the highest accuracy.
496
- # 'disabled' turns off AMD detection.
495
+ # The AMD detection mode to use. 'detect' enables answering machine detection
496
+ # (works best when warm transfer instructions are also set). 'disabled' turns off
497
+ # AMD detection.
497
498
  sig do
498
499
  returns(
499
500
  T.nilable(
@@ -546,8 +547,9 @@ module Telnyx
546
547
  # Advanced AMD detection configuration parameters. All values are optional -
547
548
  # Telnyx will use defaults if not specified.
548
549
  detection_config: nil,
549
- # The AMD detection mode to use. 'premium' provides the highest accuracy.
550
- # 'disabled' turns off AMD detection.
550
+ # The AMD detection mode to use. 'detect' enables answering machine detection
551
+ # (works best when warm transfer instructions are also set). 'disabled' turns off
552
+ # AMD detection.
551
553
  detection_mode: nil,
552
554
  # Action to take when voicemail is detected on the transferred call.
553
555
  on_voicemail_detected: nil
@@ -723,8 +725,9 @@ module Telnyx
723
725
  end
724
726
  end
725
727
 
726
- # The AMD detection mode to use. 'premium' provides the highest accuracy.
727
- # 'disabled' turns off AMD detection.
728
+ # The AMD detection mode to use. 'detect' enables answering machine detection
729
+ # (works best when warm transfer instructions are also set). 'disabled' turns off
730
+ # AMD detection.
728
731
  module DetectionMode
729
732
  extend Telnyx::Internal::Type::Enum
730
733
 
@@ -737,9 +740,9 @@ module Telnyx
737
740
  end
738
741
  OrSymbol = T.type_alias { T.any(Symbol, String) }
739
742
 
740
- PREMIUM =
743
+ DISABLED =
741
744
  T.let(
742
- :premium,
745
+ :disabled,
743
746
  Telnyx::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::DetectionMode::TaggedSymbol
744
747
  )
745
748
  DETECT =
@@ -747,26 +750,6 @@ module Telnyx
747
750
  :detect,
748
751
  Telnyx::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::DetectionMode::TaggedSymbol
749
752
  )
750
- DETECT_BEEP =
751
- T.let(
752
- :detect_beep,
753
- Telnyx::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::DetectionMode::TaggedSymbol
754
- )
755
- DETECT_WORDS =
756
- T.let(
757
- :detect_words,
758
- Telnyx::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::DetectionMode::TaggedSymbol
759
- )
760
- GREETING_END =
761
- T.let(
762
- :greeting_end,
763
- Telnyx::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::DetectionMode::TaggedSymbol
764
- )
765
- DISABLED =
766
- T.let(
767
- :disabled,
768
- Telnyx::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::DetectionMode::TaggedSymbol
769
- )
770
753
 
771
754
  sig do
772
755
  override.returns(
@@ -311,23 +311,13 @@ module Telnyx
311
311
  }
312
312
  end
313
313
 
314
- type detection_mode =
315
- :premium
316
- | :detect
317
- | :detect_beep
318
- | :detect_words
319
- | :greeting_end
320
- | :disabled
314
+ type detection_mode = :disabled | :detect
321
315
 
322
316
  module DetectionMode
323
317
  extend Telnyx::Internal::Type::Enum
324
318
 
325
- PREMIUM: :premium
326
- DETECT: :detect
327
- DETECT_BEEP: :detect_beep
328
- DETECT_WORDS: :detect_words
329
- GREETING_END: :greeting_end
330
319
  DISABLED: :disabled
320
+ DETECT: :detect
331
321
 
332
322
  def self?.values: -> ::Array[Telnyx::Models::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::detection_mode]
333
323
  end
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.14.0
4
+ version: 5.15.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-02-09 00:00:00.000000000 Z
11
+ date: 2026-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi