telnyx 5.14.0 → 5.16.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: 8412aa99450666a312d25f6d932562a9491c1ede8556d6dd5d6698f8e017aa2a
4
+ data.tar.gz: befb7431cf9378b301e94d9523819faae642fc5b9a2bc59a254d4955ad4697b9
5
5
  SHA512:
6
- metadata.gz: 425b1f44e3aad796324c96ea2c77db9b968850b984e5f97d30a3be6ad16e4fa1d4cbe74df06ee970fda14c04bd3e9794b24d3c05429cf5f0fd0d21122c3bfbf6
7
- data.tar.gz: c8f23f6cfa5caecfef75f1137438f802d935e3a7513b77d782cda301d4fa81aeffee75f4d08d953e6d0d2c73bd2e460b4e7f50e95cd59e7d0915bba8fbe65928
6
+ metadata.gz: 8655480f2a4b1ce817537b81846617f6dc0e90606972979a6b76089019b1dfea1613c86c50e20010e11b168a4721385bae1754400cd739b0138856fe824d4bac
7
+ data.tar.gz: 288990a231ddeaf6dd4b9c2cbb0ac98541985d6edb8f30a041f63470fc536e733c74db9c4e178d66833c2ace08d7739230c359716ec1041517e6a4ac4587f9c0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.16.0 (2026-02-11)
4
+
5
+ Full Changelog: [v5.15.0...v5.16.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.15.0...v5.16.0)
6
+
7
+ ### Features
8
+
9
+ * fix schema in emergency address schema ([e7bcca6](https://github.com/team-telnyx/telnyx-ruby/commit/e7bcca6d088ebb8c1a30dce6936de6644adc7ff3))
10
+
11
+ ## 5.15.0 (2026-02-11)
12
+
13
+ Full Changelog: [v5.14.0...v5.15.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.14.0...v5.15.0)
14
+
15
+ ### Features
16
+
17
+ * Limit detection_mode enum to disabled and detect only ([a1095ec](https://github.com/team-telnyx/telnyx-ruby/commit/a1095ecb570f54320530b9223ea6bed3f38a2125))
18
+
3
19
  ## 5.14.0 (2026-02-09)
4
20
 
5
21
  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.16.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>]
@@ -6,39 +6,39 @@ module Telnyx
6
6
  # @!attribute page_number
7
7
  # Current Page based on pagination settings (included when defaults are used.)
8
8
  #
9
- # @return [Integer]
10
- required :page_number, Integer
9
+ # @return [Float]
10
+ required :page_number, Float
11
11
 
12
12
  # @!attribute total_pages
13
13
  # Total number of pages based on pagination settings
14
14
  #
15
- # @return [Integer]
16
- required :total_pages, Integer
15
+ # @return [Float]
16
+ required :total_pages, Float
17
17
 
18
18
  # @!attribute page_size
19
19
  # Number of results to return per page based on pagination settings (included when
20
20
  # defaults are used.)
21
21
  #
22
- # @return [Integer, nil]
23
- optional :page_size, Integer
22
+ # @return [Float, nil]
23
+ optional :page_size, Float
24
24
 
25
25
  # @!attribute total_results
26
26
  # Total number of results
27
27
  #
28
- # @return [Integer, nil]
29
- optional :total_results, Integer
28
+ # @return [Float, nil]
29
+ optional :total_results, Float
30
30
 
31
31
  # @!method initialize(page_number:, total_pages:, page_size: nil, total_results: nil)
32
32
  # Some parameter documentations has been truncated, see {Telnyx::Models::Metadata}
33
33
  # for more details.
34
34
  #
35
- # @param page_number [Integer] Current Page based on pagination settings (included when defaults are used.)
35
+ # @param page_number [Float] Current Page based on pagination settings (included when defaults are used.)
36
36
  #
37
- # @param total_pages [Integer] Total number of pages based on pagination settings
37
+ # @param total_pages [Float] Total number of pages based on pagination settings
38
38
  #
39
- # @param page_size [Integer] Number of results to return per page based on pagination settings (included when
39
+ # @param page_size [Float] Number of results to return per page based on pagination settings (included when
40
40
  #
41
- # @param total_results [Integer] Total number of results
41
+ # @param total_results [Float] Total number of results
42
42
  end
43
43
  end
44
44
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Telnyx
4
- VERSION = "5.14.0"
4
+ VERSION = "5.16.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(
@@ -7,34 +7,34 @@ module Telnyx
7
7
  T.type_alias { T.any(Telnyx::Metadata, Telnyx::Internal::AnyHash) }
8
8
 
9
9
  # Current Page based on pagination settings (included when defaults are used.)
10
- sig { returns(Integer) }
10
+ sig { returns(Float) }
11
11
  attr_accessor :page_number
12
12
 
13
13
  # Total number of pages based on pagination settings
14
- sig { returns(Integer) }
14
+ sig { returns(Float) }
15
15
  attr_accessor :total_pages
16
16
 
17
17
  # Number of results to return per page based on pagination settings (included when
18
18
  # defaults are used.)
19
- sig { returns(T.nilable(Integer)) }
19
+ sig { returns(T.nilable(Float)) }
20
20
  attr_reader :page_size
21
21
 
22
- sig { params(page_size: Integer).void }
22
+ sig { params(page_size: Float).void }
23
23
  attr_writer :page_size
24
24
 
25
25
  # Total number of results
26
- sig { returns(T.nilable(Integer)) }
26
+ sig { returns(T.nilable(Float)) }
27
27
  attr_reader :total_results
28
28
 
29
- sig { params(total_results: Integer).void }
29
+ sig { params(total_results: Float).void }
30
30
  attr_writer :total_results
31
31
 
32
32
  sig do
33
33
  params(
34
- page_number: Integer,
35
- total_pages: Integer,
36
- page_size: Integer,
37
- total_results: Integer
34
+ page_number: Float,
35
+ total_pages: Float,
36
+ page_size: Float,
37
+ total_results: Float
38
38
  ).returns(T.attached_class)
39
39
  end
40
40
  def self.new(
@@ -53,10 +53,10 @@ module Telnyx
53
53
  sig do
54
54
  override.returns(
55
55
  {
56
- page_number: Integer,
57
- total_pages: Integer,
58
- page_size: Integer,
59
- total_results: Integer
56
+ page_number: Float,
57
+ total_pages: Float,
58
+ page_size: Float,
59
+ total_results: Float
60
60
  }
61
61
  )
62
62
  end
@@ -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
@@ -2,37 +2,37 @@ module Telnyx
2
2
  module Models
3
3
  type metadata =
4
4
  {
5
- page_number: Integer,
6
- total_pages: Integer,
7
- page_size: Integer,
8
- total_results: Integer
5
+ page_number: Float,
6
+ total_pages: Float,
7
+ page_size: Float,
8
+ total_results: Float
9
9
  }
10
10
 
11
11
  class Metadata < Telnyx::Internal::Type::BaseModel
12
- attr_accessor page_number: Integer
12
+ attr_accessor page_number: Float
13
13
 
14
- attr_accessor total_pages: Integer
14
+ attr_accessor total_pages: Float
15
15
 
16
- attr_reader page_size: Integer?
16
+ attr_reader page_size: Float?
17
17
 
18
- def page_size=: (Integer) -> Integer
18
+ def page_size=: (Float) -> Float
19
19
 
20
- attr_reader total_results: Integer?
20
+ attr_reader total_results: Float?
21
21
 
22
- def total_results=: (Integer) -> Integer
22
+ def total_results=: (Float) -> Float
23
23
 
24
24
  def initialize: (
25
- page_number: Integer,
26
- total_pages: Integer,
27
- ?page_size: Integer,
28
- ?total_results: Integer
25
+ page_number: Float,
26
+ total_pages: Float,
27
+ ?page_size: Float,
28
+ ?total_results: Float
29
29
  ) -> void
30
30
 
31
31
  def to_hash: -> {
32
- page_number: Integer,
33
- total_pages: Integer,
34
- page_size: Integer,
35
- total_results: Integer
32
+ page_number: Float,
33
+ total_pages: Float,
34
+ page_size: Float,
35
+ total_results: Float
36
36
  }
37
37
  end
38
38
  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.16.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