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 +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/telnyx/models/ai/assistant_tool.rb +13 -1
- data/lib/telnyx/version.rb +1 -1
- data/rbi/telnyx/models/ai/assistant_tool.rbi +19 -0
- data/sig/telnyx/models/ai/assistant_tool.rbs +7 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 47ae1faace2648d27ed58eda0dd05a305660c9b5193abde92cc19aae22eb4193
|
|
4
|
+
data.tar.gz: 5c712bb80acea19f60b22f3f2c89f851b9dc58da9b026b52c6a9ca0d0dbb5dbb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
@@ -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
|
data/lib/telnyx/version.rb
CHANGED
|
@@ -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
|