telnyx 5.124.0 → 5.125.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: 4676560827be51866793bae28744fcad5a78ea1e6776e804597ef1aac0f190a4
4
- data.tar.gz: 5b9b67dd126addacde8219a43f41f4370b5127c909ba77ede6625fa00ffca0bb
3
+ metadata.gz: 47ae1faace2648d27ed58eda0dd05a305660c9b5193abde92cc19aae22eb4193
4
+ data.tar.gz: 5c712bb80acea19f60b22f3f2c89f851b9dc58da9b026b52c6a9ca0d0dbb5dbb
5
5
  SHA512:
6
- metadata.gz: 73c4a64ee675ca96d79a76e03aff2447d69eb71fd10a8ddbd9554e068545e5f6d469f0ddebf1ed8b5b7139d5025fb7fc44074339136d18d1b045cf7b4dfdbd85
7
- data.tar.gz: 40138b13daf242d20083ae36e09a6ded91f1d9220e7aa6c26c6a2c269a4428f61147136a710c2a939b956cfc0cdd312ca0fe61889c7d71cc907845fe8acc0f7b
6
+ metadata.gz: 2ee1622475e025cc6a80baa3fe342e11f6fe18efde5fc77478e189c8e95d617b841fbc0f99398a2fa008690107a9283ea900d051b2eae3c2167fc309f9e0f68c
7
+ data.tar.gz: 3774bec2373f10e003a2e64eb6d0f7bd1774cda1bfb91f877a283823fc6c927b344449d81179a60b5048ffc0deeaccadacd057fae251a78376a6ce1b87215051
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.125.0 (2026-06-04)
4
+
5
+ Full Changelog: [v5.124.0...v5.125.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.124.0...v5.125.0)
6
+
7
+ ### Features
8
+
9
+ * **inference:** expose description on transfer tool params ([a2d8c5d](https://github.com/team-telnyx/telnyx-ruby/commit/a2d8c5d52b468045bb173b4a77f629ec3c24ede6))
10
+
3
11
  ## 5.124.0 (2026-06-04)
4
12
 
5
13
  Full Changelog: [v5.123.0...v5.124.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.123.0...v5.124.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.124.0"
27
+ gem "telnyx", "~> 5.125.0"
28
28
  ```
29
29
 
30
30
  <!-- x-release-please-end -->
@@ -154,6 +154,16 @@ module Telnyx
154
154
  optional :custom_headers,
155
155
  -> { Telnyx::Internal::Type::ArrayOf[Telnyx::AI::AssistantTool::Transfer::Transfer::CustomHeader] }
156
156
 
157
+ # @!attribute description
158
+ # A description of the transfer tool. By default, Telnyx generates this
159
+ # automatically based on the configured targets. Typically only set when importing
160
+ # an assistant from another provider that allowed a custom description; in that
161
+ # case the provided value is preserved. Most users should leave this empty and let
162
+ # Telnyx manage it.
163
+ #
164
+ # @return [String, nil]
165
+ optional :description, String
166
+
157
167
  # @!attribute voicemail_detection
158
168
  # Configuration for voicemail detection (AMD - Answering Machine Detection) on the
159
169
  # transferred call. Allows the assistant to detect when a voicemail system answers
@@ -178,7 +188,7 @@ module Telnyx
178
188
  # @return [String, nil]
179
189
  optional :warm_transfer_instructions, String
180
190
 
181
- # @!method initialize(from:, targets:, custom_headers: nil, voicemail_detection: nil, warm_message_delay_ms: nil, warm_transfer_instructions: nil)
191
+ # @!method initialize(from:, targets:, custom_headers: nil, description: nil, voicemail_detection: nil, warm_message_delay_ms: nil, warm_transfer_instructions: nil)
182
192
  # Some parameter documentations has been truncated, see
183
193
  # {Telnyx::Models::AI::AssistantTool::Transfer::Transfer} for more details.
184
194
  #
@@ -188,6 +198,8 @@ module Telnyx
188
198
  #
189
199
  # @param custom_headers [Array<Telnyx::Models::AI::AssistantTool::Transfer::Transfer::CustomHeader>] Custom headers to be added to the SIP INVITE for the transfer command.
190
200
  #
201
+ # @param description [String] A description of the transfer tool. By default, Telnyx generates this automatica
202
+ #
191
203
  # @param voicemail_detection [Telnyx::Models::AI::AssistantTool::Transfer::Transfer::VoicemailDetection] Configuration for voicemail detection (AMD - Answering Machine Detection) on the
192
204
  #
193
205
  # @param warm_message_delay_ms [Integer, nil] Optional delay in milliseconds before playing the warm message audio when the tr
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Telnyx
4
- VERSION = "5.124.0"
4
+ VERSION = "5.125.0"
5
5
  end
@@ -305,6 +305,17 @@ module Telnyx
305
305
  end
306
306
  attr_writer :custom_headers
307
307
 
308
+ # A description of the transfer tool. By default, Telnyx generates this
309
+ # automatically based on the configured targets. Typically only set when importing
310
+ # an assistant from another provider that allowed a custom description; in that
311
+ # case the provided value is preserved. Most users should leave this empty and let
312
+ # Telnyx manage it.
313
+ sig { returns(T.nilable(String)) }
314
+ attr_reader :description
315
+
316
+ sig { params(description: String).void }
317
+ attr_writer :description
318
+
308
319
  # Configuration for voicemail detection (AMD - Answering Machine Detection) on the
309
320
  # transferred call. Allows the assistant to detect when a voicemail system answers
310
321
  # the transferred call and take appropriate action.
@@ -349,6 +360,7 @@ module Telnyx
349
360
  T::Array[
350
361
  Telnyx::AI::AssistantTool::Transfer::Transfer::CustomHeader::OrHash
351
362
  ],
363
+ description: String,
352
364
  voicemail_detection:
353
365
  Telnyx::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::OrHash,
354
366
  warm_message_delay_ms: T.nilable(Integer),
@@ -365,6 +377,12 @@ module Telnyx
365
377
  targets:,
366
378
  # Custom headers to be added to the SIP INVITE for the transfer command.
367
379
  custom_headers: nil,
380
+ # A description of the transfer tool. By default, Telnyx generates this
381
+ # automatically based on the configured targets. Typically only set when importing
382
+ # an assistant from another provider that allowed a custom description; in that
383
+ # case the provided value is preserved. Most users should leave this empty and let
384
+ # Telnyx manage it.
385
+ description: nil,
368
386
  # Configuration for voicemail detection (AMD - Answering Machine Detection) on the
369
387
  # transferred call. Allows the assistant to detect when a voicemail system answers
370
388
  # the transferred call and take appropriate action.
@@ -390,6 +408,7 @@ module Telnyx
390
408
  T::Array[
391
409
  Telnyx::AI::AssistantTool::Transfer::Transfer::CustomHeader
392
410
  ],
411
+ description: String,
393
412
  voicemail_detection:
394
413
  Telnyx::AI::AssistantTool::Transfer::Transfer::VoicemailDetection,
395
414
  warm_message_delay_ms: T.nilable(Integer),
@@ -113,6 +113,7 @@ module Telnyx
113
113
  from: String,
114
114
  targets: Telnyx::Models::AI::AssistantTool::Transfer::Transfer::targets,
115
115
  custom_headers: ::Array[Telnyx::AI::AssistantTool::Transfer::Transfer::CustomHeader],
116
+ description: String,
116
117
  voicemail_detection: Telnyx::AI::AssistantTool::Transfer::Transfer::VoicemailDetection,
117
118
  warm_message_delay_ms: Integer?,
118
119
  warm_transfer_instructions: String
@@ -129,6 +130,10 @@ module Telnyx
129
130
  ::Array[Telnyx::AI::AssistantTool::Transfer::Transfer::CustomHeader]
130
131
  ) -> ::Array[Telnyx::AI::AssistantTool::Transfer::Transfer::CustomHeader]
131
132
 
133
+ attr_reader description: String?
134
+
135
+ def description=: (String) -> String
136
+
132
137
  attr_reader voicemail_detection: Telnyx::AI::AssistantTool::Transfer::Transfer::VoicemailDetection?
133
138
 
134
139
  def voicemail_detection=: (
@@ -145,6 +150,7 @@ module Telnyx
145
150
  from: String,
146
151
  targets: Telnyx::Models::AI::AssistantTool::Transfer::Transfer::targets,
147
152
  ?custom_headers: ::Array[Telnyx::AI::AssistantTool::Transfer::Transfer::CustomHeader],
153
+ ?description: String,
148
154
  ?voicemail_detection: Telnyx::AI::AssistantTool::Transfer::Transfer::VoicemailDetection,
149
155
  ?warm_message_delay_ms: Integer?,
150
156
  ?warm_transfer_instructions: String
@@ -154,6 +160,7 @@ module Telnyx
154
160
  from: String,
155
161
  targets: Telnyx::Models::AI::AssistantTool::Transfer::Transfer::targets,
156
162
  custom_headers: ::Array[Telnyx::AI::AssistantTool::Transfer::Transfer::CustomHeader],
163
+ description: String,
157
164
  voicemail_detection: Telnyx::AI::AssistantTool::Transfer::Transfer::VoicemailDetection,
158
165
  warm_message_delay_ms: Integer?,
159
166
  warm_transfer_instructions: String
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.124.0
4
+ version: 5.125.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Telnyx