telnyx 5.115.0 → 5.116.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/inference_embedding_webhook_tool_params.rb +11 -1
- data/lib/telnyx/version.rb +1 -1
- data/rbi/telnyx/models/ai/inference_embedding_webhook_tool_params.rbi +15 -0
- data/sig/telnyx/models/ai/inference_embedding_webhook_tool_params.rbs +7 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 67eff50691848f3bf67019c6782403c21090b185de56560afe7c55138cd744cf
|
|
4
|
+
data.tar.gz: be82ebdb72a02de4e5ccd30604e8d061fb8500bc0406a216484f0ccc010a8f92
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ec5fcd8046103ce4dd0e0b16a1818007944f577ff0f00e82d9b8df67e4b64f075c8e6a97f769b5fb58bb11837fe8c6aaff31c63d1ce0a0fb633e4fada7afb923
|
|
7
|
+
data.tar.gz: 6525b3273287d867b611abbdf3c07e736c3c7aa53c24b2c55ce28a6e7b9e89575f8aa353c0ad92ad5d4145920b4b3482f783d4406fb3a75fcfb348c95528210e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.116.0 (2026-05-20)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v5.115.0...v5.116.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.115.0...v5.116.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* TELAPPS-483: Add async webhook timeout to OpenAPI ([e82bcb2](https://github.com/team-telnyx/telnyx-ruby/commit/e82bcb2de3a53f0666ab785010b5e5e031794cb4))
|
|
10
|
+
|
|
3
11
|
## 5.115.0 (2026-05-18)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v5.114.0...v5.115.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.114.0...v5.115.0)
|
data/README.md
CHANGED
|
@@ -58,6 +58,14 @@ module Telnyx
|
|
|
58
58
|
# @return [Boolean, nil]
|
|
59
59
|
optional :async, Telnyx::Internal::Type::Boolean
|
|
60
60
|
|
|
61
|
+
# @!attribute async_timeout_ms
|
|
62
|
+
# Maximum time in milliseconds that the conversation worker waits for an async
|
|
63
|
+
# webhook response before returning "Submitted" to the LLM. If unset, the platform
|
|
64
|
+
# default (currently 300ms) is used.
|
|
65
|
+
#
|
|
66
|
+
# @return [Integer, nil]
|
|
67
|
+
optional :async_timeout_ms, Integer
|
|
68
|
+
|
|
61
69
|
# @!attribute body_parameters
|
|
62
70
|
# The body parameters the webhook tool accepts, described as a JSON Schema object.
|
|
63
71
|
# These parameters will be passed to the webhook as the body of the request. See
|
|
@@ -119,7 +127,7 @@ module Telnyx
|
|
|
119
127
|
# @return [Integer, nil]
|
|
120
128
|
optional :timeout_ms, Integer
|
|
121
129
|
|
|
122
|
-
# @!method initialize(description:, name:, url:, async: nil, body_parameters: nil, headers: nil, http_method: nil, path_parameters: nil, query_parameters: nil, store_fields_as_variables: nil, timeout_ms: nil)
|
|
130
|
+
# @!method initialize(description:, name:, url:, async: nil, async_timeout_ms: nil, body_parameters: nil, headers: nil, http_method: nil, path_parameters: nil, query_parameters: nil, store_fields_as_variables: nil, timeout_ms: nil)
|
|
123
131
|
# Some parameter documentations has been truncated, see
|
|
124
132
|
# {Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams::Webhook} for more
|
|
125
133
|
# details.
|
|
@@ -132,6 +140,8 @@ module Telnyx
|
|
|
132
140
|
#
|
|
133
141
|
# @param async [Boolean] If async, the assistant will move forward without waiting for your server to res
|
|
134
142
|
#
|
|
143
|
+
# @param async_timeout_ms [Integer] Maximum time in milliseconds that the conversation worker waits for an async web
|
|
144
|
+
#
|
|
135
145
|
# @param body_parameters [Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams::Webhook::BodyParameters] The body parameters the webhook tool accepts, described as a JSON Schema object.
|
|
136
146
|
#
|
|
137
147
|
# @param headers [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams::Webhook::Header>] The headers to be sent to the external tool.
|
data/lib/telnyx/version.rb
CHANGED
|
@@ -116,6 +116,15 @@ module Telnyx
|
|
|
116
116
|
sig { params(async: T::Boolean).void }
|
|
117
117
|
attr_writer :async
|
|
118
118
|
|
|
119
|
+
# Maximum time in milliseconds that the conversation worker waits for an async
|
|
120
|
+
# webhook response before returning "Submitted" to the LLM. If unset, the platform
|
|
121
|
+
# default (currently 300ms) is used.
|
|
122
|
+
sig { returns(T.nilable(Integer)) }
|
|
123
|
+
attr_reader :async_timeout_ms
|
|
124
|
+
|
|
125
|
+
sig { params(async_timeout_ms: Integer).void }
|
|
126
|
+
attr_writer :async_timeout_ms
|
|
127
|
+
|
|
119
128
|
# The body parameters the webhook tool accepts, described as a JSON Schema object.
|
|
120
129
|
# These parameters will be passed to the webhook as the body of the request. See
|
|
121
130
|
# the [JSON Schema reference](https://json-schema.org/understanding-json-schema)
|
|
@@ -259,6 +268,7 @@ module Telnyx
|
|
|
259
268
|
name: String,
|
|
260
269
|
url: String,
|
|
261
270
|
async: T::Boolean,
|
|
271
|
+
async_timeout_ms: Integer,
|
|
262
272
|
body_parameters:
|
|
263
273
|
Telnyx::AI::InferenceEmbeddingWebhookToolParams::Webhook::BodyParameters::OrHash,
|
|
264
274
|
headers:
|
|
@@ -291,6 +301,10 @@ module Telnyx
|
|
|
291
301
|
# If async, the assistant will move forward without waiting for your server to
|
|
292
302
|
# respond.
|
|
293
303
|
async: nil,
|
|
304
|
+
# Maximum time in milliseconds that the conversation worker waits for an async
|
|
305
|
+
# webhook response before returning "Submitted" to the LLM. If unset, the platform
|
|
306
|
+
# default (currently 300ms) is used.
|
|
307
|
+
async_timeout_ms: nil,
|
|
294
308
|
# The body parameters the webhook tool accepts, described as a JSON Schema object.
|
|
295
309
|
# These parameters will be passed to the webhook as the body of the request. See
|
|
296
310
|
# the [JSON Schema reference](https://json-schema.org/understanding-json-schema)
|
|
@@ -329,6 +343,7 @@ module Telnyx
|
|
|
329
343
|
name: String,
|
|
330
344
|
url: String,
|
|
331
345
|
async: T::Boolean,
|
|
346
|
+
async_timeout_ms: Integer,
|
|
332
347
|
body_parameters:
|
|
333
348
|
Telnyx::AI::InferenceEmbeddingWebhookToolParams::Webhook::BodyParameters,
|
|
334
349
|
headers:
|
|
@@ -38,6 +38,7 @@ module Telnyx
|
|
|
38
38
|
name: String,
|
|
39
39
|
url: String,
|
|
40
40
|
async: bool,
|
|
41
|
+
async_timeout_ms: Integer,
|
|
41
42
|
body_parameters: Telnyx::AI::InferenceEmbeddingWebhookToolParams::Webhook::BodyParameters,
|
|
42
43
|
headers: ::Array[Telnyx::AI::InferenceEmbeddingWebhookToolParams::Webhook::Header],
|
|
43
44
|
http_method: Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams::Webhook::method_,
|
|
@@ -58,6 +59,10 @@ module Telnyx
|
|
|
58
59
|
|
|
59
60
|
def async=: (bool) -> bool
|
|
60
61
|
|
|
62
|
+
attr_reader async_timeout_ms: Integer?
|
|
63
|
+
|
|
64
|
+
def async_timeout_ms=: (Integer) -> Integer
|
|
65
|
+
|
|
61
66
|
attr_reader body_parameters: Telnyx::AI::InferenceEmbeddingWebhookToolParams::Webhook::BodyParameters?
|
|
62
67
|
|
|
63
68
|
def body_parameters=: (
|
|
@@ -103,6 +108,7 @@ module Telnyx
|
|
|
103
108
|
name: String,
|
|
104
109
|
url: String,
|
|
105
110
|
?async: bool,
|
|
111
|
+
?async_timeout_ms: Integer,
|
|
106
112
|
?body_parameters: Telnyx::AI::InferenceEmbeddingWebhookToolParams::Webhook::BodyParameters,
|
|
107
113
|
?headers: ::Array[Telnyx::AI::InferenceEmbeddingWebhookToolParams::Webhook::Header],
|
|
108
114
|
?http_method: Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams::Webhook::method_,
|
|
@@ -117,6 +123,7 @@ module Telnyx
|
|
|
117
123
|
name: String,
|
|
118
124
|
url: String,
|
|
119
125
|
async: bool,
|
|
126
|
+
async_timeout_ms: Integer,
|
|
120
127
|
body_parameters: Telnyx::AI::InferenceEmbeddingWebhookToolParams::Webhook::BodyParameters,
|
|
121
128
|
headers: ::Array[Telnyx::AI::InferenceEmbeddingWebhookToolParams::Webhook::Header],
|
|
122
129
|
http_method: Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams::Webhook::method_,
|
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.
|
|
4
|
+
version: 5.116.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-05-
|
|
11
|
+
date: 2026-05-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|