telnyx 5.62.0 → 5.64.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 +21 -0
- data/README.md +1 -1
- data/lib/telnyx/models/ai/conversation_add_message_params.rb +4 -4
- data/lib/telnyx/models/ai/inference_embedding_webhook_tool_params.rb +36 -1
- data/lib/telnyx/models/porting_orders/phone_number_block_list_params.rb +7 -7
- data/lib/telnyx/models/voice_clone_create_from_upload_params.rb +0 -2
- data/lib/telnyx/models/voice_clone_create_params.rb +0 -2
- data/lib/telnyx/models/voice_clone_data.rb +0 -2
- data/lib/telnyx/models/voice_clone_list_params.rb +0 -2
- data/lib/telnyx/models/voice_design_create_params.rb +0 -2
- data/lib/telnyx/models/voice_design_data.rb +0 -2
- data/lib/telnyx/models/voice_design_list_response.rb +0 -2
- data/lib/telnyx/models/voice_design_rename_response.rb +0 -2
- data/lib/telnyx/models/whatsapp/template_create_params.rb +78 -136
- data/lib/telnyx/models/whatsapp_message_template_update_params.rb +77 -135
- data/lib/telnyx/models/x402/credit_account_settle_params.rb +4 -4
- data/lib/telnyx/resources/whatsapp/templates.rb +1 -1
- data/lib/telnyx/resources/whatsapp_message_templates.rb +1 -1
- data/lib/telnyx/resources/x402/credit_account.rb +2 -2
- data/lib/telnyx/version.rb +1 -1
- data/rbi/telnyx/models/ai/conversation_add_message_params.rbi +5 -5
- data/rbi/telnyx/models/ai/inference_embedding_webhook_tool_params.rbi +71 -0
- data/rbi/telnyx/models/porting_orders/phone_number_block_list_params.rbi +18 -18
- data/rbi/telnyx/models/voice_clone_create_from_upload_params.rbi +0 -10
- data/rbi/telnyx/models/voice_clone_create_params.rbi +0 -7
- data/rbi/telnyx/models/voice_clone_data.rbi +0 -4
- data/rbi/telnyx/models/voice_clone_list_params.rbi +0 -10
- data/rbi/telnyx/models/voice_design_create_params.rbi +0 -10
- data/rbi/telnyx/models/voice_design_data.rbi +0 -4
- data/rbi/telnyx/models/voice_design_list_response.rbi +0 -10
- data/rbi/telnyx/models/voice_design_rename_response.rbi +0 -10
- data/rbi/telnyx/models/whatsapp/template_create_params.rbi +115 -294
- data/rbi/telnyx/models/whatsapp_message_template_update_params.rbi +120 -299
- data/rbi/telnyx/models/x402/credit_account_settle_params.rbi +6 -6
- data/rbi/telnyx/resources/whatsapp/templates.rbi +5 -5
- data/rbi/telnyx/resources/whatsapp_message_templates.rbi +5 -5
- data/rbi/telnyx/resources/x402/credit_account.rbi +2 -2
- data/sig/telnyx/models/ai/conversation_add_message_params.rbs +5 -5
- data/sig/telnyx/models/ai/inference_embedding_webhook_tool_params.rbs +21 -0
- data/sig/telnyx/models/porting_orders/phone_number_block_list_params.rbs +5 -5
- data/sig/telnyx/models/voice_clone_create_from_upload_params.rbs +1 -3
- data/sig/telnyx/models/voice_clone_create_params.rbs +1 -3
- data/sig/telnyx/models/voice_clone_data.rbs +1 -3
- data/sig/telnyx/models/voice_clone_list_params.rbs +1 -3
- data/sig/telnyx/models/voice_design_create_params.rbs +1 -3
- data/sig/telnyx/models/voice_design_data.rbs +1 -3
- data/sig/telnyx/models/voice_design_list_response.rbs +1 -3
- data/sig/telnyx/models/voice_design_rename_response.rbs +1 -3
- data/sig/telnyx/models/whatsapp/template_create_params.rbs +82 -136
- data/sig/telnyx/models/whatsapp_message_template_update_params.rbs +82 -136
- data/sig/telnyx/models/x402/credit_account_settle_params.rbs +5 -5
- data/sig/telnyx/resources/x402/credit_account.rbs +1 -1
- 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: 611640e98ada3cbb11e5c91a46ef2fcc539b7552fde198ffc28d3b07c0c35a5c
|
|
4
|
+
data.tar.gz: e38ac0cdaeeda7f2437eadbf26aa63bc14bd892bdb43d17dcbe59ffb1124c12b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7c72f0bcb9378f8a533e50017cab7ace06e435bbc2568bd106695c9aa462923d1debf8666f2f21aa99078dca0152b399ce7ee8714fabfbdf22121a361c94160e
|
|
7
|
+
data.tar.gz: 7612c856a16b1804276935daa8bf4d1ce375c2730f8ad96ded468739da9382290e5c7cfa594e689ef6e00713cc5c91e7a0156b7b417356204588bf86d4340a6e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.64.0 (2026-03-24)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v5.63.0...v5.64.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.63.0...v5.64.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* TELAPPS-5685: Add store_fields_as_variables to WebhookToolParams ([603352b](https://github.com/team-telnyx/telnyx-ruby/commit/603352b0959551b578a0092f2b060ff008a17c47))
|
|
10
|
+
|
|
11
|
+
## 5.63.0 (2026-03-24)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v5.62.0...v5.63.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.62.0...v5.63.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** Merge pull request [#30](https://github.com/team-telnyx/telnyx-ruby/issues/30) from stainless-sdks/fix-schemaUnionDiscriminatorMissing ([b9ed56b](https://github.com/team-telnyx/telnyx-ruby/commit/b9ed56b769872b129f507586f133acaa21a33415))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Chores
|
|
21
|
+
|
|
22
|
+
* **ci:** skip lint on metadata-only changes ([dc7c75f](https://github.com/team-telnyx/telnyx-ruby/commit/dc7c75f0f80071e8450550ac939c946ab3638249))
|
|
23
|
+
|
|
3
24
|
## 5.62.0 (2026-03-23)
|
|
4
25
|
|
|
5
26
|
Full Changelog: [v5.61.0...v5.62.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.61.0...v5.62.0)
|
data/README.md
CHANGED
|
@@ -86,9 +86,9 @@ module Telnyx
|
|
|
86
86
|
|
|
87
87
|
variant Telnyx::Internal::Type::Boolean
|
|
88
88
|
|
|
89
|
-
variant -> { Telnyx::Models::AI::ConversationAddMessageParams::Metadata::
|
|
89
|
+
variant -> { Telnyx::Models::AI::ConversationAddMessageParams::Metadata::UnionMember3Array }
|
|
90
90
|
|
|
91
|
-
module
|
|
91
|
+
module UnionMember3
|
|
92
92
|
extend Telnyx::Internal::Type::Union
|
|
93
93
|
|
|
94
94
|
variant String
|
|
@@ -105,9 +105,9 @@ module Telnyx
|
|
|
105
105
|
# @return [Array(String, Integer, Boolean, Array<String, Integer, Boolean>)]
|
|
106
106
|
|
|
107
107
|
# @type [Telnyx::Internal::Type::Converter]
|
|
108
|
-
|
|
108
|
+
UnionMember3Array =
|
|
109
109
|
Telnyx::Internal::Type::ArrayOf[union: -> {
|
|
110
|
-
Telnyx::AI::ConversationAddMessageParams::Metadata::
|
|
110
|
+
Telnyx::AI::ConversationAddMessageParams::Metadata::UnionMember3
|
|
111
111
|
}]
|
|
112
112
|
end
|
|
113
113
|
|
|
@@ -103,6 +103,15 @@ module Telnyx
|
|
|
103
103
|
optional :query_parameters,
|
|
104
104
|
-> { Telnyx::AI::InferenceEmbeddingWebhookToolParams::Webhook::QueryParameters }
|
|
105
105
|
|
|
106
|
+
# @!attribute store_fields_as_variables
|
|
107
|
+
# A list of mappings that extract values from the webhook response and store them
|
|
108
|
+
# as dynamic variables. Each mapping specifies a dynamic variable name and a
|
|
109
|
+
# dot-notation path to the value in the response body.
|
|
110
|
+
#
|
|
111
|
+
# @return [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams::Webhook::StoreFieldsAsVariable>, nil]
|
|
112
|
+
optional :store_fields_as_variables,
|
|
113
|
+
-> { Telnyx::Internal::Type::ArrayOf[Telnyx::AI::InferenceEmbeddingWebhookToolParams::Webhook::StoreFieldsAsVariable] }
|
|
114
|
+
|
|
106
115
|
# @!attribute timeout_ms
|
|
107
116
|
# The maximum number of milliseconds to wait for the webhook to respond. Only
|
|
108
117
|
# applicable when async is false.
|
|
@@ -110,7 +119,7 @@ module Telnyx
|
|
|
110
119
|
# @return [Integer, nil]
|
|
111
120
|
optional :timeout_ms, Integer
|
|
112
121
|
|
|
113
|
-
# @!method initialize(description:, name:, url:, async: nil, body_parameters: nil, headers: nil, http_method: nil, path_parameters: nil, query_parameters: nil, timeout_ms: nil)
|
|
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)
|
|
114
123
|
# Some parameter documentations has been truncated, see
|
|
115
124
|
# {Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams::Webhook} for more
|
|
116
125
|
# details.
|
|
@@ -133,6 +142,8 @@ module Telnyx
|
|
|
133
142
|
#
|
|
134
143
|
# @param query_parameters [Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams::Webhook::QueryParameters] The query parameters the webhook tool accepts, described as a JSON Schema object
|
|
135
144
|
#
|
|
145
|
+
# @param store_fields_as_variables [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams::Webhook::StoreFieldsAsVariable>] A list of mappings that extract values from the webhook response and store them
|
|
146
|
+
#
|
|
136
147
|
# @param timeout_ms [Integer] The maximum number of milliseconds to wait for the webhook to respond. Only appl
|
|
137
148
|
|
|
138
149
|
# @see Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams::Webhook#body_parameters
|
|
@@ -308,6 +319,30 @@ module Telnyx
|
|
|
308
319
|
# @return [Array<Symbol>]
|
|
309
320
|
end
|
|
310
321
|
end
|
|
322
|
+
|
|
323
|
+
class StoreFieldsAsVariable < Telnyx::Internal::Type::BaseModel
|
|
324
|
+
# @!attribute name
|
|
325
|
+
# The name of the dynamic variable to store the extracted value in.
|
|
326
|
+
#
|
|
327
|
+
# @return [String]
|
|
328
|
+
required :name, String
|
|
329
|
+
|
|
330
|
+
# @!attribute value_path
|
|
331
|
+
# A dot-notation path to the value in the webhook response body (e.g.
|
|
332
|
+
# 'customer.name' or 'id').
|
|
333
|
+
#
|
|
334
|
+
# @return [String]
|
|
335
|
+
required :value_path, String
|
|
336
|
+
|
|
337
|
+
# @!method initialize(name:, value_path:)
|
|
338
|
+
# Some parameter documentations has been truncated, see
|
|
339
|
+
# {Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams::Webhook::StoreFieldsAsVariable}
|
|
340
|
+
# for more details.
|
|
341
|
+
#
|
|
342
|
+
# @param name [String] The name of the dynamic variable to store the extracted value in.
|
|
343
|
+
#
|
|
344
|
+
# @param value_path [String] A dot-notation path to the value in the webhook response body (e.g. 'customer.na
|
|
345
|
+
end
|
|
311
346
|
end
|
|
312
347
|
end
|
|
313
348
|
end
|
|
@@ -84,7 +84,7 @@ module Telnyx
|
|
|
84
84
|
# Filter porting orders by status(es). Originally: filter[status],
|
|
85
85
|
# filter[status][in][]
|
|
86
86
|
#
|
|
87
|
-
# @return [Symbol, Telnyx::Models::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderSingleStatus, Array<Symbol, Telnyx::Models::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
87
|
+
# @return [Symbol, Telnyx::Models::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderSingleStatus, Array<Symbol, Telnyx::Models::PortingOrders::PhoneNumberBlockListParams::Filter::Status::UnionMember1>, nil]
|
|
88
88
|
optional :status, union: -> { Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status }
|
|
89
89
|
|
|
90
90
|
# @!attribute support_key
|
|
@@ -111,7 +111,7 @@ module Telnyx
|
|
|
111
111
|
#
|
|
112
112
|
# @param porting_order_id [Array<String>] Filter results by a list of porting order ids
|
|
113
113
|
#
|
|
114
|
-
# @param status [Symbol, Telnyx::Models::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderSingleStatus, Array<Symbol, Telnyx::Models::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
114
|
+
# @param status [Symbol, Telnyx::Models::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderSingleStatus, Array<Symbol, Telnyx::Models::PortingOrders::PhoneNumberBlockListParams::Filter::Status::UnionMember1>] Filter porting orders by status(es). Originally: filter[status], filter[status]
|
|
115
115
|
#
|
|
116
116
|
# @param support_key [String, Array<String>] Filter results by support key(s). Originally: filter[support_key][eq], filter[su
|
|
117
117
|
|
|
@@ -164,7 +164,7 @@ module Telnyx
|
|
|
164
164
|
variant enum: -> { Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderSingleStatus }
|
|
165
165
|
|
|
166
166
|
# Filter by multiple statuses (in operation)
|
|
167
|
-
variant -> { Telnyx::Models::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
167
|
+
variant -> { Telnyx::Models::PortingOrders::PhoneNumberBlockListParams::Filter::Status::UnionMember1Array }
|
|
168
168
|
|
|
169
169
|
# Filter by single status
|
|
170
170
|
module PortingOrderSingleStatus
|
|
@@ -183,7 +183,7 @@ module Telnyx
|
|
|
183
183
|
# @return [Array<Symbol>]
|
|
184
184
|
end
|
|
185
185
|
|
|
186
|
-
module
|
|
186
|
+
module UnionMember1
|
|
187
187
|
extend Telnyx::Internal::Type::Enum
|
|
188
188
|
|
|
189
189
|
DRAFT = :draft
|
|
@@ -200,12 +200,12 @@ module Telnyx
|
|
|
200
200
|
end
|
|
201
201
|
|
|
202
202
|
# @!method self.variants
|
|
203
|
-
# @return [Array(Symbol, Telnyx::Models::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderSingleStatus, Array<Symbol, Telnyx::Models::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
203
|
+
# @return [Array(Symbol, Telnyx::Models::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderSingleStatus, Array<Symbol, Telnyx::Models::PortingOrders::PhoneNumberBlockListParams::Filter::Status::UnionMember1>)]
|
|
204
204
|
|
|
205
205
|
# @type [Telnyx::Internal::Type::Converter]
|
|
206
|
-
|
|
206
|
+
UnionMember1Array =
|
|
207
207
|
Telnyx::Internal::Type::ArrayOf[enum: -> {
|
|
208
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
208
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::UnionMember1
|
|
209
209
|
}]
|
|
210
210
|
end
|
|
211
211
|
|