telnyx 5.25.0 → 5.26.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: 58149432a0fd4e25409354c83ede2c5c865e802f5d07303e1fc7b8145599a544
4
- data.tar.gz: bfa54cc756005d9b8018da8bb9f16dfac26fbcd174d258b70069131b5496173a
3
+ metadata.gz: dd16ff162bf938053d3099ebabba8f6475874cef06d12c6ada44643fe7615cfb
4
+ data.tar.gz: c5b6865f908ea809d85b074983d510f96545dbc43182ccd46fd704149ecba17f
5
5
  SHA512:
6
- metadata.gz: 9141c174b77435ade201a87d5a43c0dd81624388b76e237caeaa8ab1b9eb91cd6ae833852f1e8ebda2903b7787f110d8aa35704262c63957e5667c97e1a7eaf2
7
- data.tar.gz: 4cca6a89a31dbbe4df7c2369193d3ec1cafc6e41dfd8ed432a54e83b5ea3dda3024c57f11805c28fcb7ec7d48bd49d5a5589ff5f7f75ec4b2f8c54cd83e7e2f2
6
+ metadata.gz: 246804d81ddee3d80c52d0267618e3b666c138f64eced6bb800a2769ac946d1a715ac45c643897b6e30e18ec1b7a8ce2c47d8b1e4464d5a66f48a8eb5e3d8da3
7
+ data.tar.gz: f2f0f48bedceacc9a74c633cd18ce942ca92e1d7f882b47c98d5fe0e0f5d4d93a4109d66d714f35b607eca133840e3ca575567782aee34a7d88253e712482b66
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.26.0 (2026-02-17)
4
+
5
+ Full Changelog: [v5.25.0...v5.26.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.25.0...v5.26.0)
6
+
7
+ ### Features
8
+
9
+ * Align transfer tool AMD spec with portal: premium mode, drop continue actions ([f1e3291](https://github.com/team-telnyx/telnyx-ruby/commit/f1e3291582767280a76f44e0b06f699bf79413be))
10
+
3
11
  ## 5.25.0 (2026-02-17)
4
12
 
5
13
  Full Changelog: [v5.24.0...v5.25.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.24.0...v5.25.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.25.0"
27
+ gem "telnyx", "~> 5.26.0"
28
28
  ```
29
29
 
30
30
  <!-- x-release-please-end -->
@@ -235,9 +235,8 @@ module Telnyx
235
235
  -> { Telnyx::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::DetectionConfig }
236
236
 
237
237
  # @!attribute detection_mode
238
- # The AMD detection mode to use. 'detect' enables answering machine detection
239
- # (works best when warm transfer instructions are also set). 'disabled' turns off
240
- # AMD detection.
238
+ # The AMD detection mode to use. 'premium' enables premium answering machine
239
+ # detection. 'disabled' turns off AMD detection.
241
240
  #
242
241
  # @return [Symbol, Telnyx::Models::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::DetectionMode, nil]
243
242
  optional :detection_mode,
@@ -261,7 +260,7 @@ module Telnyx
261
260
  #
262
261
  # @param detection_config [Telnyx::Models::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::DetectionConfig] Advanced AMD detection configuration parameters. All values are optional - Telny
263
262
  #
264
- # @param detection_mode [Symbol, Telnyx::Models::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::DetectionMode] The AMD detection mode to use. 'detect' enables answering machine detection (wor
263
+ # @param detection_mode [Symbol, Telnyx::Models::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::DetectionMode] The AMD detection mode to use. 'premium' enables premium answering machine detec
265
264
  #
266
265
  # @param on_voicemail_detected [Telnyx::Models::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::OnVoicemailDetected] Action to take when voicemail is detected on the transferred call.
267
266
 
@@ -365,16 +364,15 @@ module Telnyx
365
364
  # @param total_analysis_time_millis [Integer] Total time allowed for AMD analysis.
366
365
  end
367
366
 
368
- # The AMD detection mode to use. 'detect' enables answering machine detection
369
- # (works best when warm transfer instructions are also set). 'disabled' turns off
370
- # AMD detection.
367
+ # The AMD detection mode to use. 'premium' enables premium answering machine
368
+ # detection. 'disabled' turns off AMD detection.
371
369
  #
372
370
  # @see Telnyx::Models::AI::AssistantTool::Transfer::Transfer::VoicemailDetection#detection_mode
373
371
  module DetectionMode
374
372
  extend Telnyx::Internal::Type::Enum
375
373
 
376
374
  DISABLED = :disabled
377
- DETECT = :detect
375
+ PREMIUM = :premium
378
376
 
379
377
  # @!method self.values
380
378
  # @return [Array<Symbol>]
@@ -385,7 +383,6 @@ module Telnyx
385
383
  # @!attribute action
386
384
  # The action to take when voicemail is detected. 'stop_transfer' hangs up
387
385
  # immediately. 'leave_message_and_stop_transfer' leaves a message then hangs up.
388
- # 'continue_transfer' bridges the call despite voicemail detection.
389
386
  #
390
387
  # @return [Symbol, Telnyx::Models::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::OnVoicemailDetected::Action, nil]
391
388
  optional :action,
@@ -412,7 +409,6 @@ module Telnyx
412
409
 
413
410
  # The action to take when voicemail is detected. 'stop_transfer' hangs up
414
411
  # immediately. 'leave_message_and_stop_transfer' leaves a message then hangs up.
415
- # 'continue_transfer' bridges the call despite voicemail detection.
416
412
  #
417
413
  # @see Telnyx::Models::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::OnVoicemailDetected#action
418
414
  module Action
@@ -420,7 +416,6 @@ module Telnyx
420
416
 
421
417
  STOP_TRANSFER = :stop_transfer
422
418
  LEAVE_MESSAGE_AND_STOP_TRANSFER = :leave_message_and_stop_transfer
423
- CONTINUE_TRANSFER = :continue_transfer
424
419
 
425
420
  # @!method self.values
426
421
  # @return [Array<Symbol>]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Telnyx
4
- VERSION = "5.25.0"
4
+ VERSION = "5.26.0"
5
5
  end
@@ -493,9 +493,8 @@ module Telnyx
493
493
  end
494
494
  attr_writer :detection_config
495
495
 
496
- # The AMD detection mode to use. 'detect' enables answering machine detection
497
- # (works best when warm transfer instructions are also set). 'disabled' turns off
498
- # AMD detection.
496
+ # The AMD detection mode to use. 'premium' enables premium answering machine
497
+ # detection. 'disabled' turns off AMD detection.
499
498
  sig do
500
499
  returns(
501
500
  T.nilable(
@@ -548,9 +547,8 @@ module Telnyx
548
547
  # Advanced AMD detection configuration parameters. All values are optional -
549
548
  # Telnyx will use defaults if not specified.
550
549
  detection_config: nil,
551
- # The AMD detection mode to use. 'detect' enables answering machine detection
552
- # (works best when warm transfer instructions are also set). 'disabled' turns off
553
- # AMD detection.
550
+ # The AMD detection mode to use. 'premium' enables premium answering machine
551
+ # detection. 'disabled' turns off AMD detection.
554
552
  detection_mode: nil,
555
553
  # Action to take when voicemail is detected on the transferred call.
556
554
  on_voicemail_detected: nil
@@ -726,9 +724,8 @@ module Telnyx
726
724
  end
727
725
  end
728
726
 
729
- # The AMD detection mode to use. 'detect' enables answering machine detection
730
- # (works best when warm transfer instructions are also set). 'disabled' turns off
731
- # AMD detection.
727
+ # The AMD detection mode to use. 'premium' enables premium answering machine
728
+ # detection. 'disabled' turns off AMD detection.
732
729
  module DetectionMode
733
730
  extend Telnyx::Internal::Type::Enum
734
731
 
@@ -746,9 +743,9 @@ module Telnyx
746
743
  :disabled,
747
744
  Telnyx::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::DetectionMode::TaggedSymbol
748
745
  )
749
- DETECT =
746
+ PREMIUM =
750
747
  T.let(
751
- :detect,
748
+ :premium,
752
749
  Telnyx::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::DetectionMode::TaggedSymbol
753
750
  )
754
751
 
@@ -774,7 +771,6 @@ module Telnyx
774
771
 
775
772
  # The action to take when voicemail is detected. 'stop_transfer' hangs up
776
773
  # immediately. 'leave_message_and_stop_transfer' leaves a message then hangs up.
777
- # 'continue_transfer' bridges the call despite voicemail detection.
778
774
  sig do
779
775
  returns(
780
776
  T.nilable(
@@ -823,7 +819,6 @@ module Telnyx
823
819
  def self.new(
824
820
  # The action to take when voicemail is detected. 'stop_transfer' hangs up
825
821
  # immediately. 'leave_message_and_stop_transfer' leaves a message then hangs up.
826
- # 'continue_transfer' bridges the call despite voicemail detection.
827
822
  action: nil,
828
823
  # Configuration for the voicemail message to leave. Only applicable when action is
829
824
  # 'leave_message_and_stop_transfer'.
@@ -846,7 +841,6 @@ module Telnyx
846
841
 
847
842
  # The action to take when voicemail is detected. 'stop_transfer' hangs up
848
843
  # immediately. 'leave_message_and_stop_transfer' leaves a message then hangs up.
849
- # 'continue_transfer' bridges the call despite voicemail detection.
850
844
  module Action
851
845
  extend Telnyx::Internal::Type::Enum
852
846
 
@@ -869,11 +863,6 @@ module Telnyx
869
863
  :leave_message_and_stop_transfer,
870
864
  Telnyx::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::OnVoicemailDetected::Action::TaggedSymbol
871
865
  )
872
- CONTINUE_TRANSFER =
873
- T.let(
874
- :continue_transfer,
875
- Telnyx::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::OnVoicemailDetected::Action::TaggedSymbol
876
- )
877
866
 
878
867
  sig do
879
868
  override.returns(
@@ -312,13 +312,13 @@ module Telnyx
312
312
  }
313
313
  end
314
314
 
315
- type detection_mode = :disabled | :detect
315
+ type detection_mode = :disabled | :premium
316
316
 
317
317
  module DetectionMode
318
318
  extend Telnyx::Internal::Type::Enum
319
319
 
320
320
  DISABLED: :disabled
321
- DETECT: :detect
321
+ PREMIUM: :premium
322
322
 
323
323
  def self?.values: -> ::Array[Telnyx::Models::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::detection_mode]
324
324
  end
@@ -352,17 +352,13 @@ module Telnyx
352
352
  voicemail_message: Telnyx::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::OnVoicemailDetected::VoicemailMessage
353
353
  }
354
354
 
355
- type action =
356
- :stop_transfer
357
- | :leave_message_and_stop_transfer
358
- | :continue_transfer
355
+ type action = :stop_transfer | :leave_message_and_stop_transfer
359
356
 
360
357
  module Action
361
358
  extend Telnyx::Internal::Type::Enum
362
359
 
363
360
  STOP_TRANSFER: :stop_transfer
364
361
  LEAVE_MESSAGE_AND_STOP_TRANSFER: :leave_message_and_stop_transfer
365
- CONTINUE_TRANSFER: :continue_transfer
366
362
 
367
363
  def self?.values: -> ::Array[Telnyx::Models::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::OnVoicemailDetected::action]
368
364
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: telnyx
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.25.0
4
+ version: 5.26.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Telnyx