telnyx 5.156.0 → 5.157.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/anthropic/v1_messages_params.rb +209 -0
- data/lib/telnyx/models/ai/anthropic/v1_messages_response.rb +12 -0
- data/lib/telnyx/models/ai/assistant_create_params.rb +2 -2
- data/lib/telnyx/models/ai/assistant_tool.rb +25 -1
- data/lib/telnyx/models/ai/assistant_update_params.rb +2 -2
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +2 -2
- data/lib/telnyx/models/ai/conversations/conversation_insight_retrieve_aggregates_params.rb +103 -0
- data/lib/telnyx/models/ai/conversations/conversation_insight_retrieve_aggregates_response.rb +54 -0
- data/lib/telnyx/models/ai/inference_embedding.rb +6 -6
- data/lib/telnyx/models/ai/pay_tool_params.rb +46 -0
- data/lib/telnyx/models/ai/tool_create_params.rb +7 -1
- data/lib/telnyx/models/ai/tool_update_params.rb +7 -1
- data/lib/telnyx/models/ai/transcription_settings.rb +3 -3
- data/lib/telnyx/models/call_dial_params.rb +13 -1
- data/lib/telnyx/models/calls/transcription_config.rb +8 -4
- data/lib/telnyx/models/calls/transcription_engine_parakeet_config.rb +1 -1
- data/lib/telnyx/models/doc_reqs_requirement.rb +29 -4
- data/lib/telnyx/models/inbound_message.rb +278 -28
- data/lib/telnyx/models/inbound_message_webhook_event.rb +70 -3
- data/lib/telnyx/models/managed_account_list_params.rb +45 -3
- data/lib/telnyx/models/requirement_list_params.rb +10 -1
- data/lib/telnyx/models/requirement_retrieve_params.rb +14 -1
- data/lib/telnyx/models/speech_to_text_retrieve_transcription_params.rb +1 -1
- data/lib/telnyx/models/storage/cloudf_create_params.rb +56 -0
- data/lib/telnyx/models/storage/cloudf_delete_params.rb +22 -0
- data/lib/telnyx/models/storage/cloudf_list_params.rb +109 -0
- data/lib/telnyx/models/storage/cloudf_list_response.rb +165 -0
- data/lib/telnyx/models/storage/cloudf_retrieve_params.rb +22 -0
- data/lib/telnyx/models/storage/cloudf_update_params.rb +36 -0
- data/lib/telnyx/models/storage/cloudfs/action_rotate_meta_token_params.rb +30 -0
- data/lib/telnyx/models/storage/cloudfs_filesystem_detail_response_wrapper.rb +129 -0
- data/lib/telnyx/models/storage/cloudfs_filesystem_response_wrapper.rb +129 -0
- data/lib/telnyx/models/storage/cloudfs_filesystem_status.rb +28 -0
- data/lib/telnyx/models/verify_profile.rb +2 -2
- data/lib/telnyx/models/verify_profile_create_params.rb +2 -2
- data/lib/telnyx/models/verify_profile_update_params.rb +2 -2
- data/lib/telnyx/resources/ai/anthropic/v1.rb +91 -0
- data/lib/telnyx/resources/ai/anthropic.rb +20 -0
- data/lib/telnyx/resources/ai/assistants/versions.rb +1 -1
- data/lib/telnyx/resources/ai/assistants.rb +2 -2
- data/lib/telnyx/resources/ai/conversations/conversation_insights.rb +55 -0
- data/lib/telnyx/resources/ai/conversations.rb +5 -0
- data/lib/telnyx/resources/ai/tools.rb +5 -2
- data/lib/telnyx/resources/ai.rb +4 -0
- data/lib/telnyx/resources/calls.rb +3 -1
- data/lib/telnyx/resources/requirements.rb +13 -3
- data/lib/telnyx/resources/storage/cloudfs/actions.rb +54 -0
- data/lib/telnyx/resources/storage/cloudfs.rb +187 -0
- data/lib/telnyx/resources/storage.rb +6 -0
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +20 -0
- data/rbi/telnyx/models/ai/anthropic/v1_messages_params.rbi +314 -0
- data/rbi/telnyx/models/ai/anthropic/v1_messages_response.rbi +15 -0
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +8 -4
- data/rbi/telnyx/models/ai/assistant_tool.rbi +37 -1
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +8 -4
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +8 -4
- data/rbi/telnyx/models/ai/conversations/conversation_insight_retrieve_aggregates_params.rbi +188 -0
- data/rbi/telnyx/models/ai/conversations/conversation_insight_retrieve_aggregates_response.rbi +94 -0
- data/rbi/telnyx/models/ai/inference_embedding.rbi +12 -6
- data/rbi/telnyx/models/ai/pay_tool_params.rbi +71 -0
- data/rbi/telnyx/models/ai/tool_create_params.rbi +9 -0
- data/rbi/telnyx/models/ai/tool_update_params.rbi +9 -0
- data/rbi/telnyx/models/ai/transcription_settings.rbi +5 -5
- data/rbi/telnyx/models/call_dial_params.rbi +19 -0
- data/rbi/telnyx/models/calls/transcription_config.rbi +15 -7
- data/rbi/telnyx/models/calls/transcription_engine_parakeet_config.rbi +2 -2
- data/rbi/telnyx/models/doc_reqs_requirement.rbi +38 -9
- data/rbi/telnyx/models/inbound_message.rbi +324 -58
- data/rbi/telnyx/models/inbound_message_webhook_event.rbi +173 -4
- data/rbi/telnyx/models/managed_account_list_params.rbi +130 -6
- data/rbi/telnyx/models/requirement_list_params.rbi +13 -0
- data/rbi/telnyx/models/requirement_retrieve_params.rbi +21 -2
- data/rbi/telnyx/models/speech_to_text_retrieve_transcription_params.rbi +2 -2
- data/rbi/telnyx/models/storage/cloudf_create_params.rbi +103 -0
- data/rbi/telnyx/models/storage/cloudf_delete_params.rbi +40 -0
- data/rbi/telnyx/models/storage/cloudf_list_params.rbi +232 -0
- data/rbi/telnyx/models/storage/cloudf_list_response.rbi +327 -0
- data/rbi/telnyx/models/storage/cloudf_retrieve_params.rbi +40 -0
- data/rbi/telnyx/models/storage/cloudf_update_params.rbi +61 -0
- data/rbi/telnyx/models/storage/cloudfs/action_rotate_meta_token_params.rbi +50 -0
- data/rbi/telnyx/models/storage/cloudfs_filesystem_detail_response_wrapper.rbi +229 -0
- data/rbi/telnyx/models/storage/cloudfs_filesystem_response_wrapper.rbi +227 -0
- data/rbi/telnyx/models/storage/cloudfs_filesystem_status.rbi +57 -0
- data/rbi/telnyx/models/verify_profile.rbi +2 -2
- data/rbi/telnyx/models/verify_profile_create_params.rbi +2 -2
- data/rbi/telnyx/models/verify_profile_update_params.rbi +2 -2
- data/rbi/telnyx/resources/ai/anthropic/v1.rbi +106 -0
- data/rbi/telnyx/resources/ai/anthropic.rbi +17 -0
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +2 -1
- data/rbi/telnyx/resources/ai/assistants.rbi +4 -2
- data/rbi/telnyx/resources/ai/conversations/conversation_insights.rbi +68 -0
- data/rbi/telnyx/resources/ai/conversations.rbi +6 -0
- data/rbi/telnyx/resources/ai/tools.rbi +4 -0
- data/rbi/telnyx/resources/ai.rbi +3 -0
- data/rbi/telnyx/resources/calls.rbi +7 -0
- data/rbi/telnyx/resources/managed_accounts.rbi +1 -1
- data/rbi/telnyx/resources/requirements.rbi +8 -0
- data/rbi/telnyx/resources/storage/cloudfs/actions.rbi +46 -0
- data/rbi/telnyx/resources/storage/cloudfs.rbi +152 -0
- data/rbi/telnyx/resources/storage.rbi +5 -0
- data/sig/telnyx/models/ai/anthropic/v1_messages_params.rbs +175 -0
- data/sig/telnyx/models/ai/anthropic/v1_messages_response.rbs +11 -0
- data/sig/telnyx/models/ai/assistant_tool.rbs +13 -0
- data/sig/telnyx/models/ai/conversations/conversation_insight_retrieve_aggregates_params.rbs +74 -0
- data/sig/telnyx/models/ai/conversations/conversation_insight_retrieve_aggregates_response.rbs +34 -0
- data/sig/telnyx/models/ai/pay_tool_params.rbs +41 -0
- data/sig/telnyx/models/ai/tool_create_params.rbs +7 -0
- data/sig/telnyx/models/ai/tool_update_params.rbs +7 -0
- data/sig/telnyx/models/ai/transcription_settings.rbs +2 -2
- data/sig/telnyx/models/call_dial_params.rbs +7 -0
- data/sig/telnyx/models/calls/transcription_config.rbs +2 -2
- data/sig/telnyx/models/calls/transcription_engine_parakeet_config.rbs +2 -2
- data/sig/telnyx/models/doc_reqs_requirement.rbs +25 -8
- data/sig/telnyx/models/inbound_message.rbs +204 -35
- data/sig/telnyx/models/inbound_message_webhook_event.rbs +81 -5
- data/sig/telnyx/models/managed_account_list_params.rbs +47 -3
- data/sig/telnyx/models/requirement_list_params.rbs +8 -1
- data/sig/telnyx/models/requirement_retrieve_params.rbs +12 -2
- data/sig/telnyx/models/speech_to_text_retrieve_transcription_params.rbs +2 -2
- data/sig/telnyx/models/storage/cloudf_create_params.rbs +50 -0
- data/sig/telnyx/models/storage/cloudf_delete_params.rbs +22 -0
- data/sig/telnyx/models/storage/cloudf_list_params.rbs +112 -0
- data/sig/telnyx/models/storage/cloudf_list_response.rbs +163 -0
- data/sig/telnyx/models/storage/cloudf_retrieve_params.rbs +22 -0
- data/sig/telnyx/models/storage/cloudf_update_params.rbs +32 -0
- data/sig/telnyx/models/storage/cloudfs/action_rotate_meta_token_params.rbs +32 -0
- data/sig/telnyx/models/storage/cloudfs_filesystem_detail_response_wrapper.rbs +115 -0
- data/sig/telnyx/models/storage/cloudfs_filesystem_response_wrapper.rbs +115 -0
- data/sig/telnyx/models/storage/cloudfs_filesystem_status.rbs +21 -0
- data/sig/telnyx/resources/ai/anthropic/v1.rbs +35 -0
- data/sig/telnyx/resources/ai/anthropic.rbs +11 -0
- data/sig/telnyx/resources/ai/conversations/conversation_insights.rbs +20 -0
- data/sig/telnyx/resources/ai/conversations.rbs +2 -0
- data/sig/telnyx/resources/ai/tools.rbs +2 -0
- data/sig/telnyx/resources/ai.rbs +2 -0
- data/sig/telnyx/resources/calls.rbs +1 -0
- data/sig/telnyx/resources/requirements.rbs +2 -0
- data/sig/telnyx/resources/storage/cloudfs/actions.rbs +17 -0
- data/sig/telnyx/resources/storage/cloudfs.rbs +45 -0
- data/sig/telnyx/resources/storage.rbs +2 -0
- metadata +62 -2
|
@@ -13,7 +13,7 @@ module Telnyx
|
|
|
13
13
|
|
|
14
14
|
# Consolidated filter parameter (deepObject style). Originally:
|
|
15
15
|
# filter[email][contains], filter[email][eq], filter[organization_name][contains],
|
|
16
|
-
# filter[organization_name][eq]
|
|
16
|
+
# filter[organization_name][eq], filter[status][eq]
|
|
17
17
|
sig { returns(T.nilable(Telnyx::ManagedAccountListParams::Filter)) }
|
|
18
18
|
attr_reader :filter
|
|
19
19
|
|
|
@@ -78,7 +78,7 @@ module Telnyx
|
|
|
78
78
|
def self.new(
|
|
79
79
|
# Consolidated filter parameter (deepObject style). Originally:
|
|
80
80
|
# filter[email][contains], filter[email][eq], filter[organization_name][contains],
|
|
81
|
-
# filter[organization_name][eq]
|
|
81
|
+
# filter[organization_name][eq], filter[status][eq]
|
|
82
82
|
filter: nil,
|
|
83
83
|
# Specifies if cancelled accounts should be included in the results.
|
|
84
84
|
include_cancelled_accounts: nil,
|
|
@@ -156,17 +156,30 @@ module Telnyx
|
|
|
156
156
|
end
|
|
157
157
|
attr_writer :organization_name
|
|
158
158
|
|
|
159
|
+
sig do
|
|
160
|
+
returns(T.nilable(Telnyx::ManagedAccountListParams::Filter::Status))
|
|
161
|
+
end
|
|
162
|
+
attr_reader :status
|
|
163
|
+
|
|
164
|
+
sig do
|
|
165
|
+
params(
|
|
166
|
+
status: Telnyx::ManagedAccountListParams::Filter::Status::OrHash
|
|
167
|
+
).void
|
|
168
|
+
end
|
|
169
|
+
attr_writer :status
|
|
170
|
+
|
|
159
171
|
# Consolidated filter parameter (deepObject style). Originally:
|
|
160
172
|
# filter[email][contains], filter[email][eq], filter[organization_name][contains],
|
|
161
|
-
# filter[organization_name][eq]
|
|
173
|
+
# filter[organization_name][eq], filter[status][eq]
|
|
162
174
|
sig do
|
|
163
175
|
params(
|
|
164
176
|
email: Telnyx::ManagedAccountListParams::Filter::Email::OrHash,
|
|
165
177
|
organization_name:
|
|
166
|
-
Telnyx::ManagedAccountListParams::Filter::OrganizationName::OrHash
|
|
178
|
+
Telnyx::ManagedAccountListParams::Filter::OrganizationName::OrHash,
|
|
179
|
+
status: Telnyx::ManagedAccountListParams::Filter::Status::OrHash
|
|
167
180
|
).returns(T.attached_class)
|
|
168
181
|
end
|
|
169
|
-
def self.new(email: nil, organization_name: nil)
|
|
182
|
+
def self.new(email: nil, organization_name: nil, status: nil)
|
|
170
183
|
end
|
|
171
184
|
|
|
172
185
|
sig do
|
|
@@ -174,7 +187,8 @@ module Telnyx
|
|
|
174
187
|
{
|
|
175
188
|
email: Telnyx::ManagedAccountListParams::Filter::Email,
|
|
176
189
|
organization_name:
|
|
177
|
-
Telnyx::ManagedAccountListParams::Filter::OrganizationName
|
|
190
|
+
Telnyx::ManagedAccountListParams::Filter::OrganizationName,
|
|
191
|
+
status: Telnyx::ManagedAccountListParams::Filter::Status
|
|
178
192
|
}
|
|
179
193
|
)
|
|
180
194
|
end
|
|
@@ -264,6 +278,116 @@ module Telnyx
|
|
|
264
278
|
def to_hash
|
|
265
279
|
end
|
|
266
280
|
end
|
|
281
|
+
|
|
282
|
+
class Status < Telnyx::Internal::Type::BaseModel
|
|
283
|
+
OrHash =
|
|
284
|
+
T.type_alias do
|
|
285
|
+
T.any(
|
|
286
|
+
Telnyx::ManagedAccountListParams::Filter::Status,
|
|
287
|
+
Telnyx::Internal::AnyHash
|
|
288
|
+
)
|
|
289
|
+
end
|
|
290
|
+
|
|
291
|
+
# If present, only returns managed accounts with the <code>status</code> matching
|
|
292
|
+
# exactly the value given. Use <code>enabled</code> or <code>disabled</code> to
|
|
293
|
+
# filter accounts by whether they are currently able to use Telnyx services.
|
|
294
|
+
sig do
|
|
295
|
+
returns(
|
|
296
|
+
T.nilable(
|
|
297
|
+
Telnyx::ManagedAccountListParams::Filter::Status::Eq::OrSymbol
|
|
298
|
+
)
|
|
299
|
+
)
|
|
300
|
+
end
|
|
301
|
+
attr_reader :eq
|
|
302
|
+
|
|
303
|
+
sig do
|
|
304
|
+
params(
|
|
305
|
+
eq: Telnyx::ManagedAccountListParams::Filter::Status::Eq::OrSymbol
|
|
306
|
+
).void
|
|
307
|
+
end
|
|
308
|
+
attr_writer :eq
|
|
309
|
+
|
|
310
|
+
sig do
|
|
311
|
+
params(
|
|
312
|
+
eq: Telnyx::ManagedAccountListParams::Filter::Status::Eq::OrSymbol
|
|
313
|
+
).returns(T.attached_class)
|
|
314
|
+
end
|
|
315
|
+
def self.new(
|
|
316
|
+
# If present, only returns managed accounts with the <code>status</code> matching
|
|
317
|
+
# exactly the value given. Use <code>enabled</code> or <code>disabled</code> to
|
|
318
|
+
# filter accounts by whether they are currently able to use Telnyx services.
|
|
319
|
+
eq: nil
|
|
320
|
+
)
|
|
321
|
+
end
|
|
322
|
+
|
|
323
|
+
sig do
|
|
324
|
+
override.returns(
|
|
325
|
+
{
|
|
326
|
+
eq:
|
|
327
|
+
Telnyx::ManagedAccountListParams::Filter::Status::Eq::OrSymbol
|
|
328
|
+
}
|
|
329
|
+
)
|
|
330
|
+
end
|
|
331
|
+
def to_hash
|
|
332
|
+
end
|
|
333
|
+
|
|
334
|
+
# If present, only returns managed accounts with the <code>status</code> matching
|
|
335
|
+
# exactly the value given. Use <code>enabled</code> or <code>disabled</code> to
|
|
336
|
+
# filter accounts by whether they are currently able to use Telnyx services.
|
|
337
|
+
module Eq
|
|
338
|
+
extend Telnyx::Internal::Type::Enum
|
|
339
|
+
|
|
340
|
+
TaggedSymbol =
|
|
341
|
+
T.type_alias do
|
|
342
|
+
T.all(
|
|
343
|
+
Symbol,
|
|
344
|
+
Telnyx::ManagedAccountListParams::Filter::Status::Eq
|
|
345
|
+
)
|
|
346
|
+
end
|
|
347
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
348
|
+
|
|
349
|
+
ALL =
|
|
350
|
+
T.let(
|
|
351
|
+
:all,
|
|
352
|
+
Telnyx::ManagedAccountListParams::Filter::Status::Eq::TaggedSymbol
|
|
353
|
+
)
|
|
354
|
+
ACTIVE =
|
|
355
|
+
T.let(
|
|
356
|
+
:active,
|
|
357
|
+
Telnyx::ManagedAccountListParams::Filter::Status::Eq::TaggedSymbol
|
|
358
|
+
)
|
|
359
|
+
ENABLED =
|
|
360
|
+
T.let(
|
|
361
|
+
:enabled,
|
|
362
|
+
Telnyx::ManagedAccountListParams::Filter::Status::Eq::TaggedSymbol
|
|
363
|
+
)
|
|
364
|
+
CANCELLED =
|
|
365
|
+
T.let(
|
|
366
|
+
:cancelled,
|
|
367
|
+
Telnyx::ManagedAccountListParams::Filter::Status::Eq::TaggedSymbol
|
|
368
|
+
)
|
|
369
|
+
DISABLED =
|
|
370
|
+
T.let(
|
|
371
|
+
:disabled,
|
|
372
|
+
Telnyx::ManagedAccountListParams::Filter::Status::Eq::TaggedSymbol
|
|
373
|
+
)
|
|
374
|
+
BLOCKED =
|
|
375
|
+
T.let(
|
|
376
|
+
:blocked,
|
|
377
|
+
Telnyx::ManagedAccountListParams::Filter::Status::Eq::TaggedSymbol
|
|
378
|
+
)
|
|
379
|
+
|
|
380
|
+
sig do
|
|
381
|
+
override.returns(
|
|
382
|
+
T::Array[
|
|
383
|
+
Telnyx::ManagedAccountListParams::Filter::Status::Eq::TaggedSymbol
|
|
384
|
+
]
|
|
385
|
+
)
|
|
386
|
+
end
|
|
387
|
+
def self.values
|
|
388
|
+
end
|
|
389
|
+
end
|
|
390
|
+
end
|
|
267
391
|
end
|
|
268
392
|
|
|
269
393
|
# Specifies the sort order for results. By default sorting direction is ascending.
|
|
@@ -47,12 +47,21 @@ module Telnyx
|
|
|
47
47
|
end
|
|
48
48
|
attr_writer :sort
|
|
49
49
|
|
|
50
|
+
# Filter by requirement version number. When omitted, returns the currently-active
|
|
51
|
+
# version.
|
|
52
|
+
sig { returns(T.nilable(Integer)) }
|
|
53
|
+
attr_reader :version
|
|
54
|
+
|
|
55
|
+
sig { params(version: Integer).void }
|
|
56
|
+
attr_writer :version
|
|
57
|
+
|
|
50
58
|
sig do
|
|
51
59
|
params(
|
|
52
60
|
filter: Telnyx::RequirementListParams::Filter::OrHash,
|
|
53
61
|
page_number: Integer,
|
|
54
62
|
page_size: Integer,
|
|
55
63
|
sort: T::Array[Telnyx::RequirementListParams::Sort::OrSymbol],
|
|
64
|
+
version: Integer,
|
|
56
65
|
request_options: Telnyx::RequestOptions::OrHash
|
|
57
66
|
).returns(T.attached_class)
|
|
58
67
|
end
|
|
@@ -65,6 +74,9 @@ module Telnyx
|
|
|
65
74
|
# Consolidated sort parameter for requirements (deepObject style). Originally:
|
|
66
75
|
# sort[]
|
|
67
76
|
sort: nil,
|
|
77
|
+
# Filter by requirement version number. When omitted, returns the currently-active
|
|
78
|
+
# version.
|
|
79
|
+
version: nil,
|
|
68
80
|
request_options: {}
|
|
69
81
|
)
|
|
70
82
|
end
|
|
@@ -76,6 +88,7 @@ module Telnyx
|
|
|
76
88
|
page_number: Integer,
|
|
77
89
|
page_size: Integer,
|
|
78
90
|
sort: T::Array[Telnyx::RequirementListParams::Sort::OrSymbol],
|
|
91
|
+
version: Integer,
|
|
79
92
|
request_options: Telnyx::RequestOptions
|
|
80
93
|
}
|
|
81
94
|
)
|
|
@@ -14,18 +14,37 @@ module Telnyx
|
|
|
14
14
|
sig { returns(String) }
|
|
15
15
|
attr_accessor :id
|
|
16
16
|
|
|
17
|
+
# Filter by requirement version number. When omitted, returns the currently-active
|
|
18
|
+
# version.
|
|
19
|
+
sig { returns(T.nilable(Integer)) }
|
|
20
|
+
attr_reader :version
|
|
21
|
+
|
|
22
|
+
sig { params(version: Integer).void }
|
|
23
|
+
attr_writer :version
|
|
24
|
+
|
|
17
25
|
sig do
|
|
18
26
|
params(
|
|
19
27
|
id: String,
|
|
28
|
+
version: Integer,
|
|
20
29
|
request_options: Telnyx::RequestOptions::OrHash
|
|
21
30
|
).returns(T.attached_class)
|
|
22
31
|
end
|
|
23
|
-
def self.new(
|
|
32
|
+
def self.new(
|
|
33
|
+
id:,
|
|
34
|
+
# Filter by requirement version number. When omitted, returns the currently-active
|
|
35
|
+
# version.
|
|
36
|
+
version: nil,
|
|
37
|
+
request_options: {}
|
|
38
|
+
)
|
|
24
39
|
end
|
|
25
40
|
|
|
26
41
|
sig do
|
|
27
42
|
override.returns(
|
|
28
|
-
{
|
|
43
|
+
{
|
|
44
|
+
id: String,
|
|
45
|
+
version: Integer,
|
|
46
|
+
request_options: Telnyx::RequestOptions
|
|
47
|
+
}
|
|
29
48
|
)
|
|
30
49
|
end
|
|
31
50
|
def to_hash
|
|
@@ -359,9 +359,9 @@ module Telnyx
|
|
|
359
359
|
:"soniox/stt-rt-v4",
|
|
360
360
|
Telnyx::SpeechToTextRetrieveTranscriptionParams::Model::TaggedSymbol
|
|
361
361
|
)
|
|
362
|
-
|
|
362
|
+
NVIDIA_PARAKEET_V3 =
|
|
363
363
|
T.let(
|
|
364
|
-
:"parakeet
|
|
364
|
+
:"nvidia/parakeet-v3",
|
|
365
365
|
Telnyx::SpeechToTextRetrieveTranscriptionParams::Model::TaggedSymbol
|
|
366
366
|
)
|
|
367
367
|
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
module Storage
|
|
6
|
+
class CloudfCreateParams < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
OrHash =
|
|
11
|
+
T.type_alias do
|
|
12
|
+
T.any(
|
|
13
|
+
Telnyx::Storage::CloudfCreateParams,
|
|
14
|
+
Telnyx::Internal::AnyHash
|
|
15
|
+
)
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
# Filesystem name, unique within your organization. Names are trimmed and
|
|
19
|
+
# lowercased; after normalization they may contain lowercase letters, numbers,
|
|
20
|
+
# `.`, `_`, and `-` only.
|
|
21
|
+
sig { returns(String) }
|
|
22
|
+
attr_accessor :name
|
|
23
|
+
|
|
24
|
+
# Region where the filesystem's storage and metadata are provisioned.
|
|
25
|
+
sig { returns(Telnyx::Storage::CloudfCreateParams::Region::OrSymbol) }
|
|
26
|
+
attr_accessor :region
|
|
27
|
+
|
|
28
|
+
sig { returns(String) }
|
|
29
|
+
attr_accessor :idempotency_key
|
|
30
|
+
|
|
31
|
+
sig do
|
|
32
|
+
params(
|
|
33
|
+
name: String,
|
|
34
|
+
region: Telnyx::Storage::CloudfCreateParams::Region::OrSymbol,
|
|
35
|
+
idempotency_key: String,
|
|
36
|
+
request_options: Telnyx::RequestOptions::OrHash
|
|
37
|
+
).returns(T.attached_class)
|
|
38
|
+
end
|
|
39
|
+
def self.new(
|
|
40
|
+
# Filesystem name, unique within your organization. Names are trimmed and
|
|
41
|
+
# lowercased; after normalization they may contain lowercase letters, numbers,
|
|
42
|
+
# `.`, `_`, and `-` only.
|
|
43
|
+
name:,
|
|
44
|
+
# Region where the filesystem's storage and metadata are provisioned.
|
|
45
|
+
region:,
|
|
46
|
+
idempotency_key:,
|
|
47
|
+
request_options: {}
|
|
48
|
+
)
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
sig do
|
|
52
|
+
override.returns(
|
|
53
|
+
{
|
|
54
|
+
name: String,
|
|
55
|
+
region: Telnyx::Storage::CloudfCreateParams::Region::OrSymbol,
|
|
56
|
+
idempotency_key: String,
|
|
57
|
+
request_options: Telnyx::RequestOptions
|
|
58
|
+
}
|
|
59
|
+
)
|
|
60
|
+
end
|
|
61
|
+
def to_hash
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# Region where the filesystem's storage and metadata are provisioned.
|
|
65
|
+
module Region
|
|
66
|
+
extend Telnyx::Internal::Type::Enum
|
|
67
|
+
|
|
68
|
+
TaggedSymbol =
|
|
69
|
+
T.type_alias do
|
|
70
|
+
T.all(Symbol, Telnyx::Storage::CloudfCreateParams::Region)
|
|
71
|
+
end
|
|
72
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
73
|
+
|
|
74
|
+
US_CENTRAL_1 =
|
|
75
|
+
T.let(
|
|
76
|
+
:"us-central-1",
|
|
77
|
+
Telnyx::Storage::CloudfCreateParams::Region::TaggedSymbol
|
|
78
|
+
)
|
|
79
|
+
US_EAST_1 =
|
|
80
|
+
T.let(
|
|
81
|
+
:"us-east-1",
|
|
82
|
+
Telnyx::Storage::CloudfCreateParams::Region::TaggedSymbol
|
|
83
|
+
)
|
|
84
|
+
US_WEST_1 =
|
|
85
|
+
T.let(
|
|
86
|
+
:"us-west-1",
|
|
87
|
+
Telnyx::Storage::CloudfCreateParams::Region::TaggedSymbol
|
|
88
|
+
)
|
|
89
|
+
|
|
90
|
+
sig do
|
|
91
|
+
override.returns(
|
|
92
|
+
T::Array[
|
|
93
|
+
Telnyx::Storage::CloudfCreateParams::Region::TaggedSymbol
|
|
94
|
+
]
|
|
95
|
+
)
|
|
96
|
+
end
|
|
97
|
+
def self.values
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
module Storage
|
|
6
|
+
class CloudfDeleteParams < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
OrHash =
|
|
11
|
+
T.type_alias do
|
|
12
|
+
T.any(
|
|
13
|
+
Telnyx::Storage::CloudfDeleteParams,
|
|
14
|
+
Telnyx::Internal::AnyHash
|
|
15
|
+
)
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
sig { returns(String) }
|
|
19
|
+
attr_accessor :id
|
|
20
|
+
|
|
21
|
+
sig do
|
|
22
|
+
params(
|
|
23
|
+
id: String,
|
|
24
|
+
request_options: Telnyx::RequestOptions::OrHash
|
|
25
|
+
).returns(T.attached_class)
|
|
26
|
+
end
|
|
27
|
+
def self.new(id:, request_options: {})
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
sig do
|
|
31
|
+
override.returns(
|
|
32
|
+
{ id: String, request_options: Telnyx::RequestOptions }
|
|
33
|
+
)
|
|
34
|
+
end
|
|
35
|
+
def to_hash
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
module Storage
|
|
6
|
+
class CloudfListParams < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
OrHash =
|
|
11
|
+
T.type_alias do
|
|
12
|
+
T.any(Telnyx::Storage::CloudfListParams, Telnyx::Internal::AnyHash)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
# Return only the filesystem whose name matches exactly.
|
|
16
|
+
sig { returns(T.nilable(String)) }
|
|
17
|
+
attr_reader :filter_name
|
|
18
|
+
|
|
19
|
+
sig { params(filter_name: String).void }
|
|
20
|
+
attr_writer :filter_name
|
|
21
|
+
|
|
22
|
+
# Return only filesystems in this region.
|
|
23
|
+
sig { returns(T.nilable(String)) }
|
|
24
|
+
attr_reader :filter_region
|
|
25
|
+
|
|
26
|
+
sig { params(filter_region: String).void }
|
|
27
|
+
attr_writer :filter_region
|
|
28
|
+
|
|
29
|
+
# Return only filesystems with this status. Unrecognized values are ignored.
|
|
30
|
+
sig do
|
|
31
|
+
returns(
|
|
32
|
+
T.nilable(Telnyx::Storage::CloudfListParams::FilterStatus::OrSymbol)
|
|
33
|
+
)
|
|
34
|
+
end
|
|
35
|
+
attr_reader :filter_status
|
|
36
|
+
|
|
37
|
+
sig do
|
|
38
|
+
params(
|
|
39
|
+
filter_status:
|
|
40
|
+
Telnyx::Storage::CloudfListParams::FilterStatus::OrSymbol
|
|
41
|
+
).void
|
|
42
|
+
end
|
|
43
|
+
attr_writer :filter_status
|
|
44
|
+
|
|
45
|
+
# Opaque cursor from a previous response's `meta.cursors.after`; returns the page
|
|
46
|
+
# after it. Mutually exclusive with `page[before]`.
|
|
47
|
+
sig { returns(T.nilable(String)) }
|
|
48
|
+
attr_reader :page_after
|
|
49
|
+
|
|
50
|
+
sig { params(page_after: String).void }
|
|
51
|
+
attr_writer :page_after
|
|
52
|
+
|
|
53
|
+
# Opaque cursor from a previous response's `meta.cursors.before`; returns the page
|
|
54
|
+
# before it. Mutually exclusive with `page[after]`.
|
|
55
|
+
sig { returns(T.nilable(String)) }
|
|
56
|
+
attr_reader :page_before
|
|
57
|
+
|
|
58
|
+
sig { params(page_before: String).void }
|
|
59
|
+
attr_writer :page_before
|
|
60
|
+
|
|
61
|
+
# The number of filesystems to return per page. Values above 250 are treated
|
|
62
|
+
# as 250.
|
|
63
|
+
sig { returns(T.nilable(Integer)) }
|
|
64
|
+
attr_reader :page_limit
|
|
65
|
+
|
|
66
|
+
sig { params(page_limit: Integer).void }
|
|
67
|
+
attr_writer :page_limit
|
|
68
|
+
|
|
69
|
+
# Sort order for the results: a field name for ascending, or the field name
|
|
70
|
+
# prefixed with `-` for descending.
|
|
71
|
+
sig do
|
|
72
|
+
returns(T.nilable(Telnyx::Storage::CloudfListParams::Sort::OrSymbol))
|
|
73
|
+
end
|
|
74
|
+
attr_reader :sort
|
|
75
|
+
|
|
76
|
+
sig do
|
|
77
|
+
params(sort: Telnyx::Storage::CloudfListParams::Sort::OrSymbol).void
|
|
78
|
+
end
|
|
79
|
+
attr_writer :sort
|
|
80
|
+
|
|
81
|
+
sig do
|
|
82
|
+
params(
|
|
83
|
+
filter_name: String,
|
|
84
|
+
filter_region: String,
|
|
85
|
+
filter_status:
|
|
86
|
+
Telnyx::Storage::CloudfListParams::FilterStatus::OrSymbol,
|
|
87
|
+
page_after: String,
|
|
88
|
+
page_before: String,
|
|
89
|
+
page_limit: Integer,
|
|
90
|
+
sort: Telnyx::Storage::CloudfListParams::Sort::OrSymbol,
|
|
91
|
+
request_options: Telnyx::RequestOptions::OrHash
|
|
92
|
+
).returns(T.attached_class)
|
|
93
|
+
end
|
|
94
|
+
def self.new(
|
|
95
|
+
# Return only the filesystem whose name matches exactly.
|
|
96
|
+
filter_name: nil,
|
|
97
|
+
# Return only filesystems in this region.
|
|
98
|
+
filter_region: nil,
|
|
99
|
+
# Return only filesystems with this status. Unrecognized values are ignored.
|
|
100
|
+
filter_status: nil,
|
|
101
|
+
# Opaque cursor from a previous response's `meta.cursors.after`; returns the page
|
|
102
|
+
# after it. Mutually exclusive with `page[before]`.
|
|
103
|
+
page_after: nil,
|
|
104
|
+
# Opaque cursor from a previous response's `meta.cursors.before`; returns the page
|
|
105
|
+
# before it. Mutually exclusive with `page[after]`.
|
|
106
|
+
page_before: nil,
|
|
107
|
+
# The number of filesystems to return per page. Values above 250 are treated
|
|
108
|
+
# as 250.
|
|
109
|
+
page_limit: nil,
|
|
110
|
+
# Sort order for the results: a field name for ascending, or the field name
|
|
111
|
+
# prefixed with `-` for descending.
|
|
112
|
+
sort: nil,
|
|
113
|
+
request_options: {}
|
|
114
|
+
)
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
sig do
|
|
118
|
+
override.returns(
|
|
119
|
+
{
|
|
120
|
+
filter_name: String,
|
|
121
|
+
filter_region: String,
|
|
122
|
+
filter_status:
|
|
123
|
+
Telnyx::Storage::CloudfListParams::FilterStatus::OrSymbol,
|
|
124
|
+
page_after: String,
|
|
125
|
+
page_before: String,
|
|
126
|
+
page_limit: Integer,
|
|
127
|
+
sort: Telnyx::Storage::CloudfListParams::Sort::OrSymbol,
|
|
128
|
+
request_options: Telnyx::RequestOptions
|
|
129
|
+
}
|
|
130
|
+
)
|
|
131
|
+
end
|
|
132
|
+
def to_hash
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
# Return only filesystems with this status. Unrecognized values are ignored.
|
|
136
|
+
module FilterStatus
|
|
137
|
+
extend Telnyx::Internal::Type::Enum
|
|
138
|
+
|
|
139
|
+
TaggedSymbol =
|
|
140
|
+
T.type_alias do
|
|
141
|
+
T.all(Symbol, Telnyx::Storage::CloudfListParams::FilterStatus)
|
|
142
|
+
end
|
|
143
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
144
|
+
|
|
145
|
+
PROVISIONING =
|
|
146
|
+
T.let(
|
|
147
|
+
:provisioning,
|
|
148
|
+
Telnyx::Storage::CloudfListParams::FilterStatus::TaggedSymbol
|
|
149
|
+
)
|
|
150
|
+
READY =
|
|
151
|
+
T.let(
|
|
152
|
+
:ready,
|
|
153
|
+
Telnyx::Storage::CloudfListParams::FilterStatus::TaggedSymbol
|
|
154
|
+
)
|
|
155
|
+
NEEDS_FORMAT =
|
|
156
|
+
T.let(
|
|
157
|
+
:needs_format,
|
|
158
|
+
Telnyx::Storage::CloudfListParams::FilterStatus::TaggedSymbol
|
|
159
|
+
)
|
|
160
|
+
DELETING =
|
|
161
|
+
T.let(
|
|
162
|
+
:deleting,
|
|
163
|
+
Telnyx::Storage::CloudfListParams::FilterStatus::TaggedSymbol
|
|
164
|
+
)
|
|
165
|
+
FAILED =
|
|
166
|
+
T.let(
|
|
167
|
+
:failed,
|
|
168
|
+
Telnyx::Storage::CloudfListParams::FilterStatus::TaggedSymbol
|
|
169
|
+
)
|
|
170
|
+
|
|
171
|
+
sig do
|
|
172
|
+
override.returns(
|
|
173
|
+
T::Array[
|
|
174
|
+
Telnyx::Storage::CloudfListParams::FilterStatus::TaggedSymbol
|
|
175
|
+
]
|
|
176
|
+
)
|
|
177
|
+
end
|
|
178
|
+
def self.values
|
|
179
|
+
end
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
# Sort order for the results: a field name for ascending, or the field name
|
|
183
|
+
# prefixed with `-` for descending.
|
|
184
|
+
module Sort
|
|
185
|
+
extend Telnyx::Internal::Type::Enum
|
|
186
|
+
|
|
187
|
+
TaggedSymbol =
|
|
188
|
+
T.type_alias do
|
|
189
|
+
T.all(Symbol, Telnyx::Storage::CloudfListParams::Sort)
|
|
190
|
+
end
|
|
191
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
192
|
+
|
|
193
|
+
CREATED_AT =
|
|
194
|
+
T.let(
|
|
195
|
+
:created_at,
|
|
196
|
+
Telnyx::Storage::CloudfListParams::Sort::TaggedSymbol
|
|
197
|
+
)
|
|
198
|
+
CREATED_AT_DESC =
|
|
199
|
+
T.let(
|
|
200
|
+
:"-created_at",
|
|
201
|
+
Telnyx::Storage::CloudfListParams::Sort::TaggedSymbol
|
|
202
|
+
)
|
|
203
|
+
UPDATED_AT =
|
|
204
|
+
T.let(
|
|
205
|
+
:updated_at,
|
|
206
|
+
Telnyx::Storage::CloudfListParams::Sort::TaggedSymbol
|
|
207
|
+
)
|
|
208
|
+
UPDATED_AT_DESC =
|
|
209
|
+
T.let(
|
|
210
|
+
:"-updated_at",
|
|
211
|
+
Telnyx::Storage::CloudfListParams::Sort::TaggedSymbol
|
|
212
|
+
)
|
|
213
|
+
NAME =
|
|
214
|
+
T.let(:name, Telnyx::Storage::CloudfListParams::Sort::TaggedSymbol)
|
|
215
|
+
NAME_DESC =
|
|
216
|
+
T.let(
|
|
217
|
+
:"-name",
|
|
218
|
+
Telnyx::Storage::CloudfListParams::Sort::TaggedSymbol
|
|
219
|
+
)
|
|
220
|
+
|
|
221
|
+
sig do
|
|
222
|
+
override.returns(
|
|
223
|
+
T::Array[Telnyx::Storage::CloudfListParams::Sort::TaggedSymbol]
|
|
224
|
+
)
|
|
225
|
+
end
|
|
226
|
+
def self.values
|
|
227
|
+
end
|
|
228
|
+
end
|
|
229
|
+
end
|
|
230
|
+
end
|
|
231
|
+
end
|
|
232
|
+
end
|