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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 95b30d805eaf55227aebaf741e61f3b03ce22221b73dde4d4e959bf2cfe82fa9
4
- data.tar.gz: 90ce1a58fad7b1c3da968b81c70af00449ef6aa0cf63de14d208edf856ac3280
3
+ metadata.gz: 67eff50691848f3bf67019c6782403c21090b185de56560afe7c55138cd744cf
4
+ data.tar.gz: be82ebdb72a02de4e5ccd30604e8d061fb8500bc0406a216484f0ccc010a8f92
5
5
  SHA512:
6
- metadata.gz: 8aed85872d4f0d48307019e45c0331ed390afab5fe0092c3cc3b1c1984540a47d6bdb35f3e67581995a83599ead8af3caab3fe38fafff93b96a2d95536aec8c7
7
- data.tar.gz: 066c15df76c3224cc256fece9151a47ad9db681a4cec7b1bc7b5b8074663a2932d288f8929134c87540272861ba4a5d0b6429c0e3eb05df2504c9b7ba841d875
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
@@ -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.115.0"
27
+ gem "telnyx", "~> 5.116.0"
28
28
  ```
29
29
 
30
30
  <!-- x-release-please-end -->
@@ -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.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Telnyx
4
- VERSION = "5.115.0"
4
+ VERSION = "5.116.0"
5
5
  end
@@ -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.115.0
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-18 00:00:00.000000000 Z
11
+ date: 2026-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi