telnyx 5.77.0 → 5.79.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: f7fb5e6708a25a947a58c8325f1169ed1e5eaa2a72f70b2910a02e80ed7ba715
4
- data.tar.gz: b245bd720941ef0732a77fc2ada7b3b7cff57dcb811d640f77a55d0f8bac5f52
3
+ metadata.gz: e82699addb7ad1312968464e3dbb2556de69675fd2c89c114b642c38d07a91d1
4
+ data.tar.gz: 73450eb4c8b9e81ad1518e5eab72f667a76d2027cf09ad0060afc92565f218e3
5
5
  SHA512:
6
- metadata.gz: 92dffc9184ed50722bc216bb5ed3d77f860d253f13b9d710e77dede2303de6f7a2d8e191c1bfb61ccff4b9e0d728430e56fa52c3b41d9ae026c71771f9d62db1
7
- data.tar.gz: 93797b87d12c38392de5f50ee5f980834871119efce30964784ff8e9736cb72088c2a80e11a5f2e4b5cb3a198e3a42ace139b1c2f62c5c278911436366c9806c
6
+ metadata.gz: 2f15cddc766ed72893460a4fdc50fcb302f2be6d79ca138619e4f867f1cd467c18cbf0a7935551e10b21c66aaf87f2753060b0de1cb3ad574452a8494d02a975
7
+ data.tar.gz: 5c67947e89af13e215974f7251ceca7e72cf04a14a7c71a794fbbf0cabf762a93100ce170db18e0bb62ed3015a4dfaa3f94442c3f28a740bd1512c1dc58f7a10
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.79.0 (2026-04-20)
4
+
5
+ Full Changelog: [v5.78.0...v5.79.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.78.0...v5.79.0)
6
+
7
+ ### Features
8
+
9
+ * Add keyterm field to TranscriptionSettingsConfig ([6fc5280](https://github.com/team-telnyx/telnyx-ruby/commit/6fc528067e46ac46e06d8bddf756c9c5f621e3fb))
10
+
11
+ ## 5.78.0 (2026-04-17)
12
+
13
+ Full Changelog: [v5.77.0...v5.78.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.77.0...v5.78.0)
14
+
15
+ ### Features
16
+
17
+ * Add user_idle_reply_secs to TelephonySettings spec ([640aa96](https://github.com/team-telnyx/telnyx-ruby/commit/640aa965991f10976627ff12312333f7bd7a7c79))
18
+
3
19
  ## 5.77.0 (2026-04-17)
4
20
 
5
21
  Full Changelog: [v5.76.0...v5.77.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.76.0...v5.77.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.77.0"
27
+ gem "telnyx", "~> 5.79.0"
28
28
  ```
29
29
 
30
30
  <!-- x-release-please-end -->
@@ -48,6 +48,14 @@ module Telnyx
48
48
  # @return [Integer, nil]
49
49
  optional :time_limit_secs, Integer
50
50
 
51
+ # @!attribute user_idle_reply_secs
52
+ # Duration in seconds of end user silence before the assistant checks in on the
53
+ # user. When this limit is reached the assistant will prompt the user to respond.
54
+ # This is distinct from user_idle_timeout_secs which stops the assistant entirely.
55
+ #
56
+ # @return [Integer, nil]
57
+ optional :user_idle_reply_secs, Integer
58
+
51
59
  # @!attribute user_idle_timeout_secs
52
60
  # Maximum duration in seconds of end user silence on the call. When this limit is
53
61
  # reached the assistant will be stopped. This limit does not apply to portions of
@@ -68,7 +76,7 @@ module Telnyx
68
76
  # @return [Telnyx::Models::AI::TelephonySettings::VoicemailDetection, nil]
69
77
  optional :voicemail_detection, -> { Telnyx::AI::TelephonySettings::VoicemailDetection }
70
78
 
71
- # @!method initialize(default_texml_app_id: nil, noise_suppression: nil, noise_suppression_config: nil, recording_settings: nil, supports_unauthenticated_web_calls: nil, time_limit_secs: nil, user_idle_timeout_secs: nil, voicemail_detection: nil)
79
+ # @!method initialize(default_texml_app_id: nil, noise_suppression: nil, noise_suppression_config: nil, recording_settings: nil, supports_unauthenticated_web_calls: nil, time_limit_secs: nil, user_idle_reply_secs: nil, user_idle_timeout_secs: nil, voicemail_detection: nil)
72
80
  # Some parameter documentations has been truncated, see
73
81
  # {Telnyx::Models::AI::TelephonySettings} for more details.
74
82
  #
@@ -84,6 +92,8 @@ module Telnyx
84
92
  #
85
93
  # @param time_limit_secs [Integer] Maximum duration in seconds for the AI assistant to participate on the call. Whe
86
94
  #
95
+ # @param user_idle_reply_secs [Integer] Duration in seconds of end user silence before the assistant checks in on the us
96
+ #
87
97
  # @param user_idle_timeout_secs [Integer] Maximum duration in seconds of end user silence on the call. When this limit is
88
98
  #
89
99
  # @param voicemail_detection [Telnyx::Models::AI::TelephonySettings::VoicemailDetection] Configuration for voicemail detection (AMD - Answering Machine Detection) on out
@@ -26,6 +26,14 @@ module Telnyx
26
26
  # @return [Integer, nil]
27
27
  optional :eot_timeout_ms, Integer
28
28
 
29
+ # @!attribute keyterm
30
+ # Available only for deepgram/nova-3 and deepgram/flux. A comma-separated list of
31
+ # key terms to boost for recognition during transcription. Helps improve accuracy
32
+ # for domain-specific terminology, proper nouns, or uncommon words.
33
+ #
34
+ # @return [String, nil]
35
+ optional :keyterm, String
36
+
29
37
  # @!attribute numerals
30
38
  #
31
39
  # @return [Boolean, nil]
@@ -36,7 +44,7 @@ module Telnyx
36
44
  # @return [Boolean, nil]
37
45
  optional :smart_format, Telnyx::Internal::Type::Boolean
38
46
 
39
- # @!method initialize(eager_eot_threshold: nil, eot_threshold: nil, eot_timeout_ms: nil, numerals: nil, smart_format: nil)
47
+ # @!method initialize(eager_eot_threshold: nil, eot_threshold: nil, eot_timeout_ms: nil, keyterm: nil, numerals: nil, smart_format: nil)
40
48
  # Some parameter documentations has been truncated, see
41
49
  # {Telnyx::Models::AI::TranscriptionSettingsConfig} for more details.
42
50
  #
@@ -46,6 +54,8 @@ module Telnyx
46
54
  #
47
55
  # @param eot_timeout_ms [Integer] Available only for deepgram/flux. Maximum milliseconds of silence before forcing
48
56
  #
57
+ # @param keyterm [String] Available only for deepgram/nova-3 and deepgram/flux. A comma-separated list of
58
+ #
49
59
  # @param numerals [Boolean]
50
60
  #
51
61
  # @param smart_format [Boolean]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Telnyx
4
- VERSION = "5.77.0"
4
+ VERSION = "5.79.0"
5
5
  end
@@ -84,6 +84,15 @@ module Telnyx
84
84
  sig { params(time_limit_secs: Integer).void }
85
85
  attr_writer :time_limit_secs
86
86
 
87
+ # Duration in seconds of end user silence before the assistant checks in on the
88
+ # user. When this limit is reached the assistant will prompt the user to respond.
89
+ # This is distinct from user_idle_timeout_secs which stops the assistant entirely.
90
+ sig { returns(T.nilable(Integer)) }
91
+ attr_reader :user_idle_reply_secs
92
+
93
+ sig { params(user_idle_reply_secs: Integer).void }
94
+ attr_writer :user_idle_reply_secs
95
+
87
96
  # Maximum duration in seconds of end user silence on the call. When this limit is
88
97
  # reached the assistant will be stopped. This limit does not apply to portions of
89
98
  # a call without an active assistant (for instance, a call transferred to a human
@@ -124,6 +133,7 @@ module Telnyx
124
133
  Telnyx::AI::TelephonySettings::RecordingSettings::OrHash,
125
134
  supports_unauthenticated_web_calls: T::Boolean,
126
135
  time_limit_secs: Integer,
136
+ user_idle_reply_secs: Integer,
127
137
  user_idle_timeout_secs: Integer,
128
138
  voicemail_detection:
129
139
  Telnyx::AI::TelephonySettings::VoicemailDetection::OrHash
@@ -150,6 +160,10 @@ module Telnyx
150
160
  # apply to portions of a call without an active assistant (for instance, a call
151
161
  # transferred to a human representative).
152
162
  time_limit_secs: nil,
163
+ # Duration in seconds of end user silence before the assistant checks in on the
164
+ # user. When this limit is reached the assistant will prompt the user to respond.
165
+ # This is distinct from user_idle_timeout_secs which stops the assistant entirely.
166
+ user_idle_reply_secs: nil,
153
167
  # Maximum duration in seconds of end user silence on the call. When this limit is
154
168
  # reached the assistant will be stopped. This limit does not apply to portions of
155
169
  # a call without an active assistant (for instance, a call transferred to a human
@@ -177,6 +191,7 @@ module Telnyx
177
191
  Telnyx::AI::TelephonySettings::RecordingSettings,
178
192
  supports_unauthenticated_web_calls: T::Boolean,
179
193
  time_limit_secs: Integer,
194
+ user_idle_reply_secs: Integer,
180
195
  user_idle_timeout_secs: Integer,
181
196
  voicemail_detection:
182
197
  Telnyx::AI::TelephonySettings::VoicemailDetection
@@ -37,6 +37,15 @@ module Telnyx
37
37
  sig { params(eot_timeout_ms: Integer).void }
38
38
  attr_writer :eot_timeout_ms
39
39
 
40
+ # Available only for deepgram/nova-3 and deepgram/flux. A comma-separated list of
41
+ # key terms to boost for recognition during transcription. Helps improve accuracy
42
+ # for domain-specific terminology, proper nouns, or uncommon words.
43
+ sig { returns(T.nilable(String)) }
44
+ attr_reader :keyterm
45
+
46
+ sig { params(keyterm: String).void }
47
+ attr_writer :keyterm
48
+
40
49
  sig { returns(T.nilable(T::Boolean)) }
41
50
  attr_reader :numerals
42
51
 
@@ -54,6 +63,7 @@ module Telnyx
54
63
  eager_eot_threshold: Float,
55
64
  eot_threshold: Float,
56
65
  eot_timeout_ms: Integer,
66
+ keyterm: String,
57
67
  numerals: T::Boolean,
58
68
  smart_format: T::Boolean
59
69
  ).returns(T.attached_class)
@@ -69,6 +79,10 @@ module Telnyx
69
79
  # Available only for deepgram/flux. Maximum milliseconds of silence before forcing
70
80
  # an end of turn, regardless of confidence.
71
81
  eot_timeout_ms: nil,
82
+ # Available only for deepgram/nova-3 and deepgram/flux. A comma-separated list of
83
+ # key terms to boost for recognition during transcription. Helps improve accuracy
84
+ # for domain-specific terminology, proper nouns, or uncommon words.
85
+ keyterm: nil,
72
86
  numerals: nil,
73
87
  smart_format: nil
74
88
  )
@@ -80,6 +94,7 @@ module Telnyx
80
94
  eager_eot_threshold: Float,
81
95
  eot_threshold: Float,
82
96
  eot_timeout_ms: Integer,
97
+ keyterm: String,
83
98
  numerals: T::Boolean,
84
99
  smart_format: T::Boolean
85
100
  }
@@ -9,6 +9,7 @@ module Telnyx
9
9
  recording_settings: Telnyx::AI::TelephonySettings::RecordingSettings,
10
10
  supports_unauthenticated_web_calls: bool,
11
11
  time_limit_secs: Integer,
12
+ user_idle_reply_secs: Integer,
12
13
  user_idle_timeout_secs: Integer,
13
14
  voicemail_detection: Telnyx::AI::TelephonySettings::VoicemailDetection
14
15
  }
@@ -44,6 +45,10 @@ module Telnyx
44
45
 
45
46
  def time_limit_secs=: (Integer) -> Integer
46
47
 
48
+ attr_reader user_idle_reply_secs: Integer?
49
+
50
+ def user_idle_reply_secs=: (Integer) -> Integer
51
+
47
52
  attr_reader user_idle_timeout_secs: Integer?
48
53
 
49
54
  def user_idle_timeout_secs=: (Integer) -> Integer
@@ -61,6 +66,7 @@ module Telnyx
61
66
  ?recording_settings: Telnyx::AI::TelephonySettings::RecordingSettings,
62
67
  ?supports_unauthenticated_web_calls: bool,
63
68
  ?time_limit_secs: Integer,
69
+ ?user_idle_reply_secs: Integer,
64
70
  ?user_idle_timeout_secs: Integer,
65
71
  ?voicemail_detection: Telnyx::AI::TelephonySettings::VoicemailDetection
66
72
  ) -> void
@@ -72,6 +78,7 @@ module Telnyx
72
78
  recording_settings: Telnyx::AI::TelephonySettings::RecordingSettings,
73
79
  supports_unauthenticated_web_calls: bool,
74
80
  time_limit_secs: Integer,
81
+ user_idle_reply_secs: Integer,
75
82
  user_idle_timeout_secs: Integer,
76
83
  voicemail_detection: Telnyx::AI::TelephonySettings::VoicemailDetection
77
84
  }
@@ -6,6 +6,7 @@ module Telnyx
6
6
  eager_eot_threshold: Float,
7
7
  eot_threshold: Float,
8
8
  eot_timeout_ms: Integer,
9
+ keyterm: String,
9
10
  numerals: bool,
10
11
  smart_format: bool
11
12
  }
@@ -23,6 +24,10 @@ module Telnyx
23
24
 
24
25
  def eot_timeout_ms=: (Integer) -> Integer
25
26
 
27
+ attr_reader keyterm: String?
28
+
29
+ def keyterm=: (String) -> String
30
+
26
31
  attr_reader numerals: bool?
27
32
 
28
33
  def numerals=: (bool) -> bool
@@ -35,6 +40,7 @@ module Telnyx
35
40
  ?eager_eot_threshold: Float,
36
41
  ?eot_threshold: Float,
37
42
  ?eot_timeout_ms: Integer,
43
+ ?keyterm: String,
38
44
  ?numerals: bool,
39
45
  ?smart_format: bool
40
46
  ) -> void
@@ -43,6 +49,7 @@ module Telnyx
43
49
  eager_eot_threshold: Float,
44
50
  eot_threshold: Float,
45
51
  eot_timeout_ms: Integer,
52
+ keyterm: String,
46
53
  numerals: bool,
47
54
  smart_format: bool
48
55
  }
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.77.0
4
+ version: 5.79.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-04-17 00:00:00.000000000 Z
11
+ date: 2026-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi