telnyx 5.28.0 → 5.29.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: a3f36777848b37d5f2c1ceb5ac85b6f6a55c6d9b9300e765c703851e3df47422
4
- data.tar.gz: ce719e6d970c664cc37e95b937317b2fb105ec03f1669e6de06341c34f9c7a58
3
+ metadata.gz: 548f91ec64d499d48a1e4870ca60e2b728a0106b195b33fa9ece54cd84f1cc0b
4
+ data.tar.gz: 2a49c9ecdc92b3ed0bee8eb898cc1a63dce0b9024af1db041fe68e79731db177
5
5
  SHA512:
6
- metadata.gz: b3456c24794f8441f4707f304028d1806d51bbccf07e01caf11e394791ff1c4e18668ff29f6e9967efcaf5c32636512c7cdf61cc834fda133d07315e4c7cb37a
7
- data.tar.gz: ec2b7590543fa418d1a42dbcb45584dfa8c0996ca72edcd0d1344ce4baa464a39eac9b2bbd6ef131625946953496149fef50f1c485384410efcd7e20c86e2500
6
+ metadata.gz: ad869cf1bf0628ce29709a9fb4baf2fea45cbf1a80da12b7970b59e4897bd3f108ccbc39dff9584c4e2a87743c46e90a59379cbbf3e2bfd44b0ed34fb79a3bb5
7
+ data.tar.gz: b49bd179a5530a2cf1b73e8ced1dc240733f3f70320bbe64b6646fa6f1dc48f51524f09135a94209311069e49d3490f2465775e4b551227d9b724e269340dbdf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.29.0 (2026-02-18)
4
+
5
+ Full Changelog: [v5.28.0...v5.29.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.28.0...v5.29.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** manual updates ([2767c98](https://github.com/team-telnyx/telnyx-ruby/commit/2767c9853e7f1a768d46d6ebdd7fbf53d19ee3cd))
10
+
3
11
  ## 5.28.0 (2026-02-18)
4
12
 
5
13
  Full Changelog: [v5.27.0...v5.28.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.27.0...v5.28.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.28.0"
27
+ gem "telnyx", "~> 5.29.0"
28
28
  ```
29
29
 
30
30
  <!-- x-release-please-end -->
@@ -117,8 +117,8 @@ module Telnyx
117
117
  # @!attribute properties
118
118
  # The properties of the body parameters.
119
119
  #
120
- # @return [Object, nil]
121
- optional :properties, Telnyx::Internal::Type::Unknown
120
+ # @return [Hash{Symbol=>Object}, nil]
121
+ optional :properties, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
122
122
 
123
123
  # @!attribute required
124
124
  # The required properties of the body parameters.
@@ -137,7 +137,7 @@ module Telnyx
137
137
  # the [JSON Schema reference](https://json-schema.org/understanding-json-schema)
138
138
  # for documentation about the format
139
139
  #
140
- # @param properties [Object] The properties of the body parameters.
140
+ # @param properties [Hash{Symbol=>Object}] The properties of the body parameters.
141
141
  #
142
142
  # @param required [Array<String>] The required properties of the body parameters.
143
143
  #
@@ -199,8 +199,8 @@ module Telnyx
199
199
  # @!attribute properties
200
200
  # The properties of the path parameters.
201
201
  #
202
- # @return [Object, nil]
203
- optional :properties, Telnyx::Internal::Type::Unknown
202
+ # @return [Hash{Symbol=>Object}, nil]
203
+ optional :properties, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
204
204
 
205
205
  # @!attribute required
206
206
  # The required properties of the path parameters.
@@ -220,7 +220,7 @@ module Telnyx
220
220
  # [JSON Schema reference](https://json-schema.org/understanding-json-schema) for
221
221
  # documentation about the format
222
222
  #
223
- # @param properties [Object] The properties of the path parameters.
223
+ # @param properties [Hash{Symbol=>Object}] The properties of the path parameters.
224
224
  #
225
225
  # @param required [Array<String>] The required properties of the path parameters.
226
226
  #
@@ -242,8 +242,8 @@ module Telnyx
242
242
  # @!attribute properties
243
243
  # The properties of the query parameters.
244
244
  #
245
- # @return [Object, nil]
246
- optional :properties, Telnyx::Internal::Type::Unknown
245
+ # @return [Hash{Symbol=>Object}, nil]
246
+ optional :properties, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
247
247
 
248
248
  # @!attribute required
249
249
  # The required properties of the query parameters.
@@ -263,7 +263,7 @@ module Telnyx
263
263
  # [JSON Schema reference](https://json-schema.org/understanding-json-schema) for
264
264
  # documentation about the format
265
265
  #
266
- # @param properties [Object] The properties of the query parameters.
266
+ # @param properties [Hash{Symbol=>Object}] The properties of the query parameters.
267
267
  #
268
268
  # @param required [Array<String>] The required properties of the query parameters.
269
269
  #
@@ -77,15 +77,15 @@ module Telnyx
77
77
  # @!attribute metadata
78
78
  # Metadata to add to the message
79
79
  #
80
- # @return [Object, nil]
81
- optional :metadata, Telnyx::Internal::Type::Unknown
80
+ # @return [Hash{Symbol=>Object}, nil]
81
+ optional :metadata, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
82
82
 
83
83
  # @!method initialize(content:, metadata: nil, role: :user)
84
84
  # Messages sent by an end user
85
85
  #
86
86
  # @param content [String] The contents of the user message.
87
87
  #
88
- # @param metadata [Object] Metadata to add to the message
88
+ # @param metadata [Hash{Symbol=>Object}] Metadata to add to the message
89
89
  #
90
90
  # @param role [Symbol, :user] The role of the messages author, in this case `user`.
91
91
  end
@@ -106,8 +106,8 @@ module Telnyx
106
106
  # @!attribute metadata
107
107
  # Metadata to add to the message
108
108
  #
109
- # @return [Object, nil]
110
- optional :metadata, Telnyx::Internal::Type::Unknown
109
+ # @return [Hash{Symbol=>Object}, nil]
110
+ optional :metadata, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
111
111
 
112
112
  # @!attribute tool_calls
113
113
  # The tool calls generated by the model, such as function calls.
@@ -121,7 +121,7 @@ module Telnyx
121
121
  #
122
122
  # @param content [String] The contents of the assistant message. Required unless `tool_calls`
123
123
  #
124
- # @param metadata [Object] Metadata to add to the message
124
+ # @param metadata [Hash{Symbol=>Object}] Metadata to add to the message
125
125
  #
126
126
  # @param tool_calls [Array<Telnyx::Models::Calls::ActionAddAIAssistantMessagesParams::Message::Assistant::ToolCall>] The tool calls generated by the model, such as function calls.
127
127
  #
@@ -207,15 +207,15 @@ module Telnyx
207
207
  # @!attribute metadata
208
208
  # Metadata to add to the message
209
209
  #
210
- # @return [Object, nil]
211
- optional :metadata, Telnyx::Internal::Type::Unknown
210
+ # @return [Hash{Symbol=>Object}, nil]
211
+ optional :metadata, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
212
212
 
213
213
  # @!method initialize(content:, tool_call_id:, metadata: nil, role: :tool)
214
214
  # @param content [String] The contents of the tool message.
215
215
  #
216
216
  # @param tool_call_id [String] Tool call that this message is responding to.
217
217
  #
218
- # @param metadata [Object] Metadata to add to the message
218
+ # @param metadata [Hash{Symbol=>Object}] Metadata to add to the message
219
219
  #
220
220
  # @param role [Symbol, :tool] The role of the messages author, in this case `tool`.
221
221
  end
@@ -236,8 +236,8 @@ module Telnyx
236
236
  # @!attribute metadata
237
237
  # Metadata to add to the message
238
238
  #
239
- # @return [Object, nil]
240
- optional :metadata, Telnyx::Internal::Type::Unknown
239
+ # @return [Hash{Symbol=>Object}, nil]
240
+ optional :metadata, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
241
241
 
242
242
  # @!method initialize(content:, metadata: nil, role: :system)
243
243
  # Developer-provided instructions that the model should follow, regardless of
@@ -245,7 +245,7 @@ module Telnyx
245
245
  #
246
246
  # @param content [String] The contents of the system message.
247
247
  #
248
- # @param metadata [Object] Metadata to add to the message
248
+ # @param metadata [Hash{Symbol=>Object}] Metadata to add to the message
249
249
  #
250
250
  # @param role [Symbol, :system] The role of the messages author, in this case `system`.
251
251
  end
@@ -266,8 +266,8 @@ module Telnyx
266
266
  # @!attribute metadata
267
267
  # Metadata to add to the message
268
268
  #
269
- # @return [Object, nil]
270
- optional :metadata, Telnyx::Internal::Type::Unknown
269
+ # @return [Hash{Symbol=>Object}, nil]
270
+ optional :metadata, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
271
271
 
272
272
  # @!method initialize(content:, metadata: nil, role: :developer)
273
273
  # Developer-provided instructions that the model should follow, regardless of
@@ -275,7 +275,7 @@ module Telnyx
275
275
  #
276
276
  # @param content [String] The contents of the developer message.
277
277
  #
278
- # @param metadata [Object] Metadata to add to the message
278
+ # @param metadata [Hash{Symbol=>Object}] Metadata to add to the message
279
279
  #
280
280
  # @param role [Symbol, :developer] The role of the messages author, in this case developer.
281
281
  end
@@ -39,8 +39,9 @@ module Telnyx
39
39
  # @!attribute participants
40
40
  # List of participant resources.
41
41
  #
42
- # @return [Array<Object>, nil]
43
- optional :participants, Telnyx::Internal::Type::ArrayOf[Telnyx::Internal::Type::Unknown]
42
+ # @return [Array<Hash{Symbol=>Object}>, nil]
43
+ optional :participants,
44
+ Telnyx::Internal::Type::ArrayOf[Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]]
44
45
 
45
46
  # @!attribute recordings
46
47
  #
@@ -75,7 +76,7 @@ module Telnyx
75
76
  #
76
77
  # @param page_size [Integer] The number of items on the page
77
78
  #
78
- # @param participants [Array<Object>] List of participant resources.
79
+ # @param participants [Array<Hash{Symbol=>Object}>] List of participant resources.
79
80
  #
80
81
  # @param recordings [Array<Telnyx::Models::Texml::Accounts::ConferenceRetrieveRecordingsResponse::Recording>]
81
82
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Telnyx
4
- VERSION = "5.28.0"
4
+ VERSION = "5.29.0"
5
5
  end
@@ -243,10 +243,10 @@ module Telnyx
243
243
  end
244
244
 
245
245
  # The properties of the body parameters.
246
- sig { returns(T.nilable(T.anything)) }
246
+ sig { returns(T.nilable(T::Hash[Symbol, T.anything])) }
247
247
  attr_reader :properties
248
248
 
249
- sig { params(properties: T.anything).void }
249
+ sig { params(properties: T::Hash[Symbol, T.anything]).void }
250
250
  attr_writer :properties
251
251
 
252
252
  # The required properties of the body parameters.
@@ -279,7 +279,7 @@ module Telnyx
279
279
  # for documentation about the format
280
280
  sig do
281
281
  params(
282
- properties: T.anything,
282
+ properties: T::Hash[Symbol, T.anything],
283
283
  required: T::Array[String],
284
284
  type:
285
285
  Telnyx::AI::WebhookTool::Webhook::BodyParameters::Type::OrSymbol
@@ -297,7 +297,7 @@ module Telnyx
297
297
  sig do
298
298
  override.returns(
299
299
  {
300
- properties: T.anything,
300
+ properties: T::Hash[Symbol, T.anything],
301
301
  required: T::Array[String],
302
302
  type:
303
303
  Telnyx::AI::WebhookTool::Webhook::BodyParameters::Type::OrSymbol
@@ -435,10 +435,10 @@ module Telnyx
435
435
  end
436
436
 
437
437
  # The properties of the path parameters.
438
- sig { returns(T.nilable(T.anything)) }
438
+ sig { returns(T.nilable(T::Hash[Symbol, T.anything])) }
439
439
  attr_reader :properties
440
440
 
441
- sig { params(properties: T.anything).void }
441
+ sig { params(properties: T::Hash[Symbol, T.anything]).void }
442
442
  attr_writer :properties
443
443
 
444
444
  # The required properties of the path parameters.
@@ -472,7 +472,7 @@ module Telnyx
472
472
  # documentation about the format
473
473
  sig do
474
474
  params(
475
- properties: T.anything,
475
+ properties: T::Hash[Symbol, T.anything],
476
476
  required: T::Array[String],
477
477
  type:
478
478
  Telnyx::AI::WebhookTool::Webhook::PathParameters::Type::OrSymbol
@@ -490,7 +490,7 @@ module Telnyx
490
490
  sig do
491
491
  override.returns(
492
492
  {
493
- properties: T.anything,
493
+ properties: T::Hash[Symbol, T.anything],
494
494
  required: T::Array[String],
495
495
  type:
496
496
  Telnyx::AI::WebhookTool::Webhook::PathParameters::Type::OrSymbol
@@ -540,10 +540,10 @@ module Telnyx
540
540
  end
541
541
 
542
542
  # The properties of the query parameters.
543
- sig { returns(T.nilable(T.anything)) }
543
+ sig { returns(T.nilable(T::Hash[Symbol, T.anything])) }
544
544
  attr_reader :properties
545
545
 
546
- sig { params(properties: T.anything).void }
546
+ sig { params(properties: T::Hash[Symbol, T.anything]).void }
547
547
  attr_writer :properties
548
548
 
549
549
  # The required properties of the query parameters.
@@ -577,7 +577,7 @@ module Telnyx
577
577
  # documentation about the format
578
578
  sig do
579
579
  params(
580
- properties: T.anything,
580
+ properties: T::Hash[Symbol, T.anything],
581
581
  required: T::Array[String],
582
582
  type:
583
583
  Telnyx::AI::WebhookTool::Webhook::QueryParameters::Type::OrSymbol
@@ -595,7 +595,7 @@ module Telnyx
595
595
  sig do
596
596
  override.returns(
597
597
  {
598
- properties: T.anything,
598
+ properties: T::Hash[Symbol, T.anything],
599
599
  required: T::Array[String],
600
600
  type:
601
601
  Telnyx::AI::WebhookTool::Webhook::QueryParameters::Type::OrSymbol
@@ -150,17 +150,17 @@ module Telnyx
150
150
  attr_accessor :role
151
151
 
152
152
  # Metadata to add to the message
153
- sig { returns(T.nilable(T.anything)) }
153
+ sig { returns(T.nilable(T::Hash[Symbol, T.anything])) }
154
154
  attr_reader :metadata
155
155
 
156
- sig { params(metadata: T.anything).void }
156
+ sig { params(metadata: T::Hash[Symbol, T.anything]).void }
157
157
  attr_writer :metadata
158
158
 
159
159
  # Messages sent by an end user
160
160
  sig do
161
161
  params(
162
162
  content: String,
163
- metadata: T.anything,
163
+ metadata: T::Hash[Symbol, T.anything],
164
164
  role: Symbol
165
165
  ).returns(T.attached_class)
166
166
  end
@@ -176,7 +176,11 @@ module Telnyx
176
176
 
177
177
  sig do
178
178
  override.returns(
179
- { content: String, role: Symbol, metadata: T.anything }
179
+ {
180
+ content: String,
181
+ role: Symbol,
182
+ metadata: T::Hash[Symbol, T.anything]
183
+ }
180
184
  )
181
185
  end
182
186
  def to_hash
@@ -204,10 +208,10 @@ module Telnyx
204
208
  attr_writer :content
205
209
 
206
210
  # Metadata to add to the message
207
- sig { returns(T.nilable(T.anything)) }
211
+ sig { returns(T.nilable(T::Hash[Symbol, T.anything])) }
208
212
  attr_reader :metadata
209
213
 
210
- sig { params(metadata: T.anything).void }
214
+ sig { params(metadata: T::Hash[Symbol, T.anything]).void }
211
215
  attr_writer :metadata
212
216
 
213
217
  # The tool calls generated by the model, such as function calls.
@@ -236,7 +240,7 @@ module Telnyx
236
240
  sig do
237
241
  params(
238
242
  content: String,
239
- metadata: T.anything,
243
+ metadata: T::Hash[Symbol, T.anything],
240
244
  tool_calls:
241
245
  T::Array[
242
246
  Telnyx::Calls::ActionAddAIAssistantMessagesParams::Message::Assistant::ToolCall::OrHash
@@ -261,7 +265,7 @@ module Telnyx
261
265
  {
262
266
  role: Symbol,
263
267
  content: String,
264
- metadata: T.anything,
268
+ metadata: T::Hash[Symbol, T.anything],
265
269
  tool_calls:
266
270
  T::Array[
267
271
  Telnyx::Calls::ActionAddAIAssistantMessagesParams::Message::Assistant::ToolCall
@@ -423,17 +427,17 @@ module Telnyx
423
427
  attr_accessor :tool_call_id
424
428
 
425
429
  # Metadata to add to the message
426
- sig { returns(T.nilable(T.anything)) }
430
+ sig { returns(T.nilable(T::Hash[Symbol, T.anything])) }
427
431
  attr_reader :metadata
428
432
 
429
- sig { params(metadata: T.anything).void }
433
+ sig { params(metadata: T::Hash[Symbol, T.anything]).void }
430
434
  attr_writer :metadata
431
435
 
432
436
  sig do
433
437
  params(
434
438
  content: String,
435
439
  tool_call_id: String,
436
- metadata: T.anything,
440
+ metadata: T::Hash[Symbol, T.anything],
437
441
  role: Symbol
438
442
  ).returns(T.attached_class)
439
443
  end
@@ -455,7 +459,7 @@ module Telnyx
455
459
  content: String,
456
460
  role: Symbol,
457
461
  tool_call_id: String,
458
- metadata: T.anything
462
+ metadata: T::Hash[Symbol, T.anything]
459
463
  }
460
464
  )
461
465
  end
@@ -481,10 +485,10 @@ module Telnyx
481
485
  attr_accessor :role
482
486
 
483
487
  # Metadata to add to the message
484
- sig { returns(T.nilable(T.anything)) }
488
+ sig { returns(T.nilable(T::Hash[Symbol, T.anything])) }
485
489
  attr_reader :metadata
486
490
 
487
- sig { params(metadata: T.anything).void }
491
+ sig { params(metadata: T::Hash[Symbol, T.anything]).void }
488
492
  attr_writer :metadata
489
493
 
490
494
  # Developer-provided instructions that the model should follow, regardless of
@@ -492,7 +496,7 @@ module Telnyx
492
496
  sig do
493
497
  params(
494
498
  content: String,
495
- metadata: T.anything,
499
+ metadata: T::Hash[Symbol, T.anything],
496
500
  role: Symbol
497
501
  ).returns(T.attached_class)
498
502
  end
@@ -508,7 +512,11 @@ module Telnyx
508
512
 
509
513
  sig do
510
514
  override.returns(
511
- { content: String, role: Symbol, metadata: T.anything }
515
+ {
516
+ content: String,
517
+ role: Symbol,
518
+ metadata: T::Hash[Symbol, T.anything]
519
+ }
512
520
  )
513
521
  end
514
522
  def to_hash
@@ -533,10 +541,10 @@ module Telnyx
533
541
  attr_accessor :role
534
542
 
535
543
  # Metadata to add to the message
536
- sig { returns(T.nilable(T.anything)) }
544
+ sig { returns(T.nilable(T::Hash[Symbol, T.anything])) }
537
545
  attr_reader :metadata
538
546
 
539
- sig { params(metadata: T.anything).void }
547
+ sig { params(metadata: T::Hash[Symbol, T.anything]).void }
540
548
  attr_writer :metadata
541
549
 
542
550
  # Developer-provided instructions that the model should follow, regardless of
@@ -544,7 +552,7 @@ module Telnyx
544
552
  sig do
545
553
  params(
546
554
  content: String,
547
- metadata: T.anything,
555
+ metadata: T::Hash[Symbol, T.anything],
548
556
  role: Symbol
549
557
  ).returns(T.attached_class)
550
558
  end
@@ -560,7 +568,11 @@ module Telnyx
560
568
 
561
569
  sig do
562
570
  override.returns(
563
- { content: String, role: Symbol, metadata: T.anything }
571
+ {
572
+ content: String,
573
+ role: Symbol,
574
+ metadata: T::Hash[Symbol, T.anything]
575
+ }
564
576
  )
565
577
  end
566
578
  def to_hash
@@ -49,10 +49,12 @@ module Telnyx
49
49
  attr_writer :page_size
50
50
 
51
51
  # List of participant resources.
52
- sig { returns(T.nilable(T::Array[T.anything])) }
52
+ sig { returns(T.nilable(T::Array[T::Hash[Symbol, T.anything]])) }
53
53
  attr_reader :participants
54
54
 
55
- sig { params(participants: T::Array[T.anything]).void }
55
+ sig do
56
+ params(participants: T::Array[T::Hash[Symbol, T.anything]]).void
57
+ end
56
58
  attr_writer :participants
57
59
 
58
60
  sig do
@@ -97,7 +99,7 @@ module Telnyx
97
99
  next_page_uri: String,
98
100
  page: Integer,
99
101
  page_size: Integer,
100
- participants: T::Array[T.anything],
102
+ participants: T::Array[T::Hash[Symbol, T.anything]],
101
103
  recordings:
102
104
  T::Array[
103
105
  Telnyx::Models::Texml::Accounts::ConferenceRetrieveRecordingsResponse::Recording::OrHash
@@ -135,7 +137,7 @@ module Telnyx
135
137
  next_page_uri: String,
136
138
  page: Integer,
137
139
  page_size: Integer,
138
- participants: T::Array[T.anything],
140
+ participants: T::Array[T::Hash[Symbol, T.anything]],
139
141
  recordings:
140
142
  T::Array[
141
143
  Telnyx::Models::Texml::Accounts::ConferenceRetrieveRecordingsResponse::Recording
@@ -105,15 +105,15 @@ module Telnyx
105
105
 
106
106
  type body_parameters =
107
107
  {
108
- properties: top,
108
+ properties: ::Hash[Symbol, top],
109
109
  required: ::Array[String],
110
110
  type: Telnyx::Models::AI::WebhookTool::Webhook::BodyParameters::type_
111
111
  }
112
112
 
113
113
  class BodyParameters < Telnyx::Internal::Type::BaseModel
114
- attr_reader properties: top?
114
+ attr_reader properties: ::Hash[Symbol, top]?
115
115
 
116
- def properties=: (top) -> top
116
+ def properties=: (::Hash[Symbol, top]) -> ::Hash[Symbol, top]
117
117
 
118
118
  attr_reader required: ::Array[String]?
119
119
 
@@ -126,13 +126,13 @@ module Telnyx
126
126
  ) -> Telnyx::Models::AI::WebhookTool::Webhook::BodyParameters::type_
127
127
 
128
128
  def initialize: (
129
- ?properties: top,
129
+ ?properties: ::Hash[Symbol, top],
130
130
  ?required: ::Array[String],
131
131
  ?type: Telnyx::Models::AI::WebhookTool::Webhook::BodyParameters::type_
132
132
  ) -> void
133
133
 
134
134
  def to_hash: -> {
135
- properties: top,
135
+ properties: ::Hash[Symbol, top],
136
136
  required: ::Array[String],
137
137
  type: Telnyx::Models::AI::WebhookTool::Webhook::BodyParameters::type_
138
138
  }
@@ -180,15 +180,15 @@ module Telnyx
180
180
 
181
181
  type path_parameters =
182
182
  {
183
- properties: top,
183
+ properties: ::Hash[Symbol, top],
184
184
  required: ::Array[String],
185
185
  type: Telnyx::Models::AI::WebhookTool::Webhook::PathParameters::type_
186
186
  }
187
187
 
188
188
  class PathParameters < Telnyx::Internal::Type::BaseModel
189
- attr_reader properties: top?
189
+ attr_reader properties: ::Hash[Symbol, top]?
190
190
 
191
- def properties=: (top) -> top
191
+ def properties=: (::Hash[Symbol, top]) -> ::Hash[Symbol, top]
192
192
 
193
193
  attr_reader required: ::Array[String]?
194
194
 
@@ -201,13 +201,13 @@ module Telnyx
201
201
  ) -> Telnyx::Models::AI::WebhookTool::Webhook::PathParameters::type_
202
202
 
203
203
  def initialize: (
204
- ?properties: top,
204
+ ?properties: ::Hash[Symbol, top],
205
205
  ?required: ::Array[String],
206
206
  ?type: Telnyx::Models::AI::WebhookTool::Webhook::PathParameters::type_
207
207
  ) -> void
208
208
 
209
209
  def to_hash: -> {
210
- properties: top,
210
+ properties: ::Hash[Symbol, top],
211
211
  required: ::Array[String],
212
212
  type: Telnyx::Models::AI::WebhookTool::Webhook::PathParameters::type_
213
213
  }
@@ -225,15 +225,15 @@ module Telnyx
225
225
 
226
226
  type query_parameters =
227
227
  {
228
- properties: top,
228
+ properties: ::Hash[Symbol, top],
229
229
  required: ::Array[String],
230
230
  type: Telnyx::Models::AI::WebhookTool::Webhook::QueryParameters::type_
231
231
  }
232
232
 
233
233
  class QueryParameters < Telnyx::Internal::Type::BaseModel
234
- attr_reader properties: top?
234
+ attr_reader properties: ::Hash[Symbol, top]?
235
235
 
236
- def properties=: (top) -> top
236
+ def properties=: (::Hash[Symbol, top]) -> ::Hash[Symbol, top]
237
237
 
238
238
  attr_reader required: ::Array[String]?
239
239
 
@@ -246,13 +246,13 @@ module Telnyx
246
246
  ) -> Telnyx::Models::AI::WebhookTool::Webhook::QueryParameters::type_
247
247
 
248
248
  def initialize: (
249
- ?properties: top,
249
+ ?properties: ::Hash[Symbol, top],
250
250
  ?required: ::Array[String],
251
251
  ?type: Telnyx::Models::AI::WebhookTool::Webhook::QueryParameters::type_
252
252
  ) -> void
253
253
 
254
254
  def to_hash: -> {
255
- properties: top,
255
+ properties: ::Hash[Symbol, top],
256
256
  required: ::Array[String],
257
257
  type: Telnyx::Models::AI::WebhookTool::Webhook::QueryParameters::type_
258
258
  }
@@ -51,31 +51,36 @@ module Telnyx
51
51
  module Message
52
52
  extend Telnyx::Internal::Type::Union
53
53
 
54
- type user = { content: String, role: :user, metadata: top }
54
+ type user =
55
+ { content: String, role: :user, metadata: ::Hash[Symbol, top] }
55
56
 
56
57
  class User < Telnyx::Internal::Type::BaseModel
57
58
  attr_accessor content: String
58
59
 
59
60
  attr_accessor role: :user
60
61
 
61
- attr_reader metadata: top?
62
+ attr_reader metadata: ::Hash[Symbol, top]?
62
63
 
63
- def metadata=: (top) -> top
64
+ def metadata=: (::Hash[Symbol, top]) -> ::Hash[Symbol, top]
64
65
 
65
66
  def initialize: (
66
67
  content: String,
67
- ?metadata: top,
68
+ ?metadata: ::Hash[Symbol, top],
68
69
  ?role: :user
69
70
  ) -> void
70
71
 
71
- def to_hash: -> { content: String, role: :user, metadata: top }
72
+ def to_hash: -> {
73
+ content: String,
74
+ role: :user,
75
+ metadata: ::Hash[Symbol, top]
76
+ }
72
77
  end
73
78
 
74
79
  type assistant =
75
80
  {
76
81
  role: :assistant,
77
82
  content: String,
78
- metadata: top,
83
+ metadata: ::Hash[Symbol, top],
79
84
  tool_calls: ::Array[Telnyx::Calls::ActionAddAIAssistantMessagesParams::Message::Assistant::ToolCall]
80
85
  }
81
86
 
@@ -86,9 +91,9 @@ module Telnyx
86
91
 
87
92
  def content=: (String) -> String
88
93
 
89
- attr_reader metadata: top?
94
+ attr_reader metadata: ::Hash[Symbol, top]?
90
95
 
91
- def metadata=: (top) -> top
96
+ def metadata=: (::Hash[Symbol, top]) -> ::Hash[Symbol, top]
92
97
 
93
98
  attr_reader tool_calls: ::Array[Telnyx::Calls::ActionAddAIAssistantMessagesParams::Message::Assistant::ToolCall]?
94
99
 
@@ -98,7 +103,7 @@ module Telnyx
98
103
 
99
104
  def initialize: (
100
105
  ?content: String,
101
- ?metadata: top,
106
+ ?metadata: ::Hash[Symbol, top],
102
107
  ?tool_calls: ::Array[Telnyx::Calls::ActionAddAIAssistantMessagesParams::Message::Assistant::ToolCall],
103
108
  ?role: :assistant
104
109
  ) -> void
@@ -106,7 +111,7 @@ module Telnyx
106
111
  def to_hash: -> {
107
112
  role: :assistant,
108
113
  content: String,
109
- metadata: top,
114
+ metadata: ::Hash[Symbol, top],
110
115
  tool_calls: ::Array[Telnyx::Calls::ActionAddAIAssistantMessagesParams::Message::Assistant::ToolCall]
111
116
  }
112
117
 
@@ -163,7 +168,7 @@ module Telnyx
163
168
  content: String,
164
169
  role: :tool,
165
170
  tool_call_id: String,
166
- metadata: top
171
+ metadata: ::Hash[Symbol, top]
167
172
  }
168
173
 
169
174
  class Tool < Telnyx::Internal::Type::BaseModel
@@ -173,14 +178,14 @@ module Telnyx
173
178
 
174
179
  attr_accessor tool_call_id: String
175
180
 
176
- attr_reader metadata: top?
181
+ attr_reader metadata: ::Hash[Symbol, top]?
177
182
 
178
- def metadata=: (top) -> top
183
+ def metadata=: (::Hash[Symbol, top]) -> ::Hash[Symbol, top]
179
184
 
180
185
  def initialize: (
181
186
  content: String,
182
187
  tool_call_id: String,
183
- ?metadata: top,
188
+ ?metadata: ::Hash[Symbol, top],
184
189
  ?role: :tool
185
190
  ) -> void
186
191
 
@@ -188,48 +193,58 @@ module Telnyx
188
193
  content: String,
189
194
  role: :tool,
190
195
  tool_call_id: String,
191
- metadata: top
196
+ metadata: ::Hash[Symbol, top]
192
197
  }
193
198
  end
194
199
 
195
- type system_ = { content: String, role: :system, metadata: top }
200
+ type system_ =
201
+ { content: String, role: :system, metadata: ::Hash[Symbol, top] }
196
202
 
197
203
  class System < Telnyx::Internal::Type::BaseModel
198
204
  attr_accessor content: String
199
205
 
200
206
  attr_accessor role: :system
201
207
 
202
- attr_reader metadata: top?
208
+ attr_reader metadata: ::Hash[Symbol, top]?
203
209
 
204
- def metadata=: (top) -> top
210
+ def metadata=: (::Hash[Symbol, top]) -> ::Hash[Symbol, top]
205
211
 
206
212
  def initialize: (
207
213
  content: String,
208
- ?metadata: top,
214
+ ?metadata: ::Hash[Symbol, top],
209
215
  ?role: :system
210
216
  ) -> void
211
217
 
212
- def to_hash: -> { content: String, role: :system, metadata: top }
218
+ def to_hash: -> {
219
+ content: String,
220
+ role: :system,
221
+ metadata: ::Hash[Symbol, top]
222
+ }
213
223
  end
214
224
 
215
- type developer = { content: String, role: :developer, metadata: top }
225
+ type developer =
226
+ { content: String, role: :developer, metadata: ::Hash[Symbol, top] }
216
227
 
217
228
  class Developer < Telnyx::Internal::Type::BaseModel
218
229
  attr_accessor content: String
219
230
 
220
231
  attr_accessor role: :developer
221
232
 
222
- attr_reader metadata: top?
233
+ attr_reader metadata: ::Hash[Symbol, top]?
223
234
 
224
- def metadata=: (top) -> top
235
+ def metadata=: (::Hash[Symbol, top]) -> ::Hash[Symbol, top]
225
236
 
226
237
  def initialize: (
227
238
  content: String,
228
- ?metadata: top,
239
+ ?metadata: ::Hash[Symbol, top],
229
240
  ?role: :developer
230
241
  ) -> void
231
242
 
232
- def to_hash: -> { content: String, role: :developer, metadata: top }
243
+ def to_hash: -> {
244
+ content: String,
245
+ role: :developer,
246
+ metadata: ::Hash[Symbol, top]
247
+ }
233
248
  end
234
249
 
235
250
  def self?.variants: -> ::Array[Telnyx::Models::Calls::ActionAddAIAssistantMessagesParams::message]
@@ -9,7 +9,7 @@ module Telnyx
9
9
  next_page_uri: String,
10
10
  page: Integer,
11
11
  page_size: Integer,
12
- participants: ::Array[top],
12
+ participants: ::Array[::Hash[Symbol, top]],
13
13
  recordings: ::Array[Telnyx::Models::Texml::Accounts::ConferenceRetrieveRecordingsResponse::Recording],
14
14
  start: Integer,
15
15
  uri: String
@@ -36,9 +36,11 @@ module Telnyx
36
36
 
37
37
  def page_size=: (Integer) -> Integer
38
38
 
39
- attr_reader participants: ::Array[top]?
39
+ attr_reader participants: ::Array[::Hash[Symbol, top]]?
40
40
 
41
- def participants=: (::Array[top]) -> ::Array[top]
41
+ def participants=: (
42
+ ::Array[::Hash[Symbol, top]]
43
+ ) -> ::Array[::Hash[Symbol, top]]
42
44
 
43
45
  attr_reader recordings: ::Array[Telnyx::Models::Texml::Accounts::ConferenceRetrieveRecordingsResponse::Recording]?
44
46
 
@@ -60,7 +62,7 @@ module Telnyx
60
62
  ?next_page_uri: String,
61
63
  ?page: Integer,
62
64
  ?page_size: Integer,
63
- ?participants: ::Array[top],
65
+ ?participants: ::Array[::Hash[Symbol, top]],
64
66
  ?recordings: ::Array[Telnyx::Models::Texml::Accounts::ConferenceRetrieveRecordingsResponse::Recording],
65
67
  ?start: Integer,
66
68
  ?uri: String
@@ -72,7 +74,7 @@ module Telnyx
72
74
  next_page_uri: String,
73
75
  page: Integer,
74
76
  page_size: Integer,
75
- participants: ::Array[top],
77
+ participants: ::Array[::Hash[Symbol, top]],
76
78
  recordings: ::Array[Telnyx::Models::Texml::Accounts::ConferenceRetrieveRecordingsResponse::Recording],
77
79
  start: Integer,
78
80
  uri: 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.28.0
4
+ version: 5.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Telnyx