telnyx 5.155.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 +16 -0
- data/README.md +1 -1
- data/lib/telnyx/client.rb +1 -0
- data/lib/telnyx/internal/type/union.rb +4 -4
- 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 +118 -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 +13 -1
- data/lib/telnyx/models/ai/tool_update_params.rb +13 -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/action_gather_using_ai_params.rb +3 -0
- data/lib/telnyx/models/calls/action_gather_using_speak_params.rb +6 -0
- data/lib/telnyx/models/calls/action_speak_params.rb +6 -0
- data/lib/telnyx/models/calls/action_start_ai_assistant_params.rb +3 -0
- data/lib/telnyx/models/calls/action_start_conversation_relay_params.rb +3 -0
- data/lib/telnyx/models/calls/telnyx_voice_settings.rb +2 -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/conferences/action_speak_params.rb +6 -0
- data/lib/telnyx/models/conversation_relay_embedded_config.rb +3 -0
- 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/models_response.rb +0 -1
- data/lib/telnyx/models/phone_number_delete_response.rb +12 -1
- data/lib/telnyx/models/phone_number_detailed.rb +12 -1
- data/lib/telnyx/models/phone_number_slim_list_response.rb +12 -1
- 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/text_to_speech_generate_speech_params.rb +13 -8
- data/lib/telnyx/models/text_to_speech_retrieve_speech_params.rb +4 -4
- 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/models.rb +0 -6
- 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/chat.rb +0 -81
- 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 +8 -2
- data/lib/telnyx/resources/ai.rb +3 -56
- data/lib/telnyx/resources/calls.rb +3 -1
- data/lib/telnyx/resources/messages.rb +1 -32
- 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 -7
- data/rbi/telnyx/client.rbi +1 -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 +12 -4
- data/rbi/telnyx/models/ai/assistant_tool.rbi +258 -1
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +12 -4
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +12 -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 +18 -6
- data/rbi/telnyx/models/ai/pay_tool_params.rbi +71 -0
- data/rbi/telnyx/models/ai/tool_create_params.rbi +18 -0
- data/rbi/telnyx/models/ai/tool_update_params.rbi +18 -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/action_gather_using_ai_params.rbi +6 -0
- data/rbi/telnyx/models/calls/action_gather_using_speak_params.rbi +12 -0
- data/rbi/telnyx/models/calls/action_speak_params.rbi +12 -0
- data/rbi/telnyx/models/calls/action_start_ai_assistant_params.rbi +6 -0
- data/rbi/telnyx/models/calls/action_start_conversation_relay_params.rbi +6 -0
- data/rbi/telnyx/models/calls/telnyx_voice_settings.rbi +4 -2
- 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/conferences/action_speak_params.rbi +12 -0
- data/rbi/telnyx/models/conversation_relay_embedded_config.rbi +6 -0
- 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/phone_number_delete_response.rbi +14 -0
- data/rbi/telnyx/models/phone_number_detailed.rbi +14 -0
- data/rbi/telnyx/models/phone_number_slim_list_response.rbi +14 -0
- 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/text_to_speech_generate_speech_params.rbi +21 -13
- data/rbi/telnyx/models/text_to_speech_retrieve_speech_params.rbi +8 -8
- 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/models.rbi +0 -7
- 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 +3 -1
- data/rbi/telnyx/resources/ai/assistants.rbi +6 -2
- data/rbi/telnyx/resources/ai/chat.rbi +0 -129
- 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 +8 -0
- data/rbi/telnyx/resources/ai.rbi +2 -32
- data/rbi/telnyx/resources/calls/actions.rbi +21 -0
- data/rbi/telnyx/resources/calls.rbi +7 -0
- data/rbi/telnyx/resources/conferences/actions.rbi +6 -0
- data/rbi/telnyx/resources/managed_accounts.rbi +1 -1
- data/rbi/telnyx/resources/messages.rbi +1 -28
- 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/rbi/telnyx/resources/text_to_speech.rbi +11 -9
- 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 +108 -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 +14 -0
- data/sig/telnyx/models/ai/tool_update_params.rbs +14 -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/phone_number_delete_response.rbs +5 -0
- data/sig/telnyx/models/phone_number_detailed.rbs +5 -0
- data/sig/telnyx/models/phone_number_slim_list_response.rbs +5 -0
- 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/models.rbs +0 -6
- data/sig/telnyx/resources/ai/anthropic/v1.rbs +35 -0
- data/sig/telnyx/resources/ai/anthropic.rbs +11 -0
- data/sig/telnyx/resources/ai/chat.rbs +0 -30
- 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 +4 -0
- data/sig/telnyx/resources/ai.rbs +1 -8
- data/sig/telnyx/resources/calls.rbs +1 -0
- data/sig/telnyx/resources/messages.rbs +0 -10
- 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 -23
- data/lib/telnyx/models/ai/chat_create_completion_params.rb +0 -16
- data/lib/telnyx/models/ai/chat_create_completion_response.rb +0 -10
- data/lib/telnyx/models/ai_create_response_deprecated_params.rb +0 -20
- data/lib/telnyx/models/ai_create_response_deprecated_response.rb +0 -8
- data/lib/telnyx/models/ai_retrieve_models_params.rb +0 -14
- data/lib/telnyx/models/message_send_whatsapp_params.rb +0 -71
- data/lib/telnyx/models/message_send_whatsapp_response.rb +0 -178
- data/rbi/telnyx/models/ai/chat_create_completion_params.rbi +0 -32
- data/rbi/telnyx/models/ai/chat_create_completion_response.rbi +0 -13
- data/rbi/telnyx/models/ai_create_response_deprecated_params.rbi +0 -41
- data/rbi/telnyx/models/ai_create_response_deprecated_response.rbi +0 -11
- data/rbi/telnyx/models/ai_retrieve_models_params.rbi +0 -27
- data/rbi/telnyx/models/message_send_whatsapp_params.rbi +0 -124
- data/rbi/telnyx/models/message_send_whatsapp_response.rbi +0 -379
- data/sig/telnyx/models/ai/chat_create_completion_params.rbs +0 -17
- data/sig/telnyx/models/ai/chat_create_completion_response.rbs +0 -9
- data/sig/telnyx/models/ai_create_response_deprecated_params.rbs +0 -24
- data/sig/telnyx/models/ai_create_response_deprecated_response.rbs +0 -7
- data/sig/telnyx/models/ai_retrieve_models_params.rbs +0 -15
- data/sig/telnyx/models/message_send_whatsapp_params.rbs +0 -69
- data/sig/telnyx/models/message_send_whatsapp_response.rbs +0 -191
|
@@ -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.
|
|
@@ -107,6 +107,13 @@ module Telnyx
|
|
|
107
107
|
sig { params(id: String).void }
|
|
108
108
|
attr_writer :id
|
|
109
109
|
|
|
110
|
+
# ISO 8601 formatted date indicating when the phone number was first activated
|
|
111
|
+
# (transitioned from purchase-pending or port-pending to active). Will be null for
|
|
112
|
+
# numbers that have not yet been activated, or for legacy numbers activated before
|
|
113
|
+
# this field was tracked.
|
|
114
|
+
sig { returns(T.nilable(Time)) }
|
|
115
|
+
attr_accessor :activated_at
|
|
116
|
+
|
|
110
117
|
# Indicates if call forwarding will be enabled for this number if forwards_to and
|
|
111
118
|
# forwarding_type are filled in. Defaults to true for backwards compatibility with
|
|
112
119
|
# APIV1 use of numbers endpoints.
|
|
@@ -257,6 +264,7 @@ module Telnyx
|
|
|
257
264
|
sig do
|
|
258
265
|
params(
|
|
259
266
|
id: String,
|
|
267
|
+
activated_at: T.nilable(Time),
|
|
260
268
|
billing_group_id: String,
|
|
261
269
|
call_forwarding_enabled: T::Boolean,
|
|
262
270
|
call_recording_enabled: T::Boolean,
|
|
@@ -288,6 +296,11 @@ module Telnyx
|
|
|
288
296
|
def self.new(
|
|
289
297
|
# Identifies the resource.
|
|
290
298
|
id: nil,
|
|
299
|
+
# ISO 8601 formatted date indicating when the phone number was first activated
|
|
300
|
+
# (transitioned from purchase-pending or port-pending to active). Will be null for
|
|
301
|
+
# numbers that have not yet been activated, or for legacy numbers activated before
|
|
302
|
+
# this field was tracked.
|
|
303
|
+
activated_at: nil,
|
|
291
304
|
# Identifies the billing group associated with the phone number.
|
|
292
305
|
billing_group_id: nil,
|
|
293
306
|
# Indicates if call forwarding will be enabled for this number if forwards_to and
|
|
@@ -352,6 +365,7 @@ module Telnyx
|
|
|
352
365
|
override.returns(
|
|
353
366
|
{
|
|
354
367
|
id: String,
|
|
368
|
+
activated_at: T.nilable(Time),
|
|
355
369
|
billing_group_id: String,
|
|
356
370
|
call_forwarding_enabled: T::Boolean,
|
|
357
371
|
call_recording_enabled: T::Boolean,
|
|
@@ -120,6 +120,13 @@ module Telnyx
|
|
|
120
120
|
sig { returns(Telnyx::PhoneNumberDetailed::Status::TaggedSymbol) }
|
|
121
121
|
attr_accessor :status
|
|
122
122
|
|
|
123
|
+
# ISO 8601 formatted date indicating when the phone number was first activated
|
|
124
|
+
# (transitioned from purchase-pending or port-pending to active). Will be null for
|
|
125
|
+
# numbers that have not yet been activated, or for legacy numbers activated before
|
|
126
|
+
# this field was tracked.
|
|
127
|
+
sig { returns(T.nilable(Time)) }
|
|
128
|
+
attr_accessor :activated_at
|
|
129
|
+
|
|
123
130
|
# Indicates if call forwarding will be enabled for this number if forwards_to and
|
|
124
131
|
# forwarding_type are filled in. Defaults to true for backwards compatibility with
|
|
125
132
|
# APIV1 use of numbers endpoints.
|
|
@@ -210,6 +217,7 @@ module Telnyx
|
|
|
210
217
|
record_type: String,
|
|
211
218
|
status: Telnyx::PhoneNumberDetailed::Status::OrSymbol,
|
|
212
219
|
tags: T::Array[String],
|
|
220
|
+
activated_at: T.nilable(Time),
|
|
213
221
|
billing_group_id: T.nilable(String),
|
|
214
222
|
call_forwarding_enabled: T::Boolean,
|
|
215
223
|
call_recording_enabled: T::Boolean,
|
|
@@ -262,6 +270,11 @@ module Telnyx
|
|
|
262
270
|
status:,
|
|
263
271
|
# A list of user-assigned tags to help manage the phone number.
|
|
264
272
|
tags:,
|
|
273
|
+
# ISO 8601 formatted date indicating when the phone number was first activated
|
|
274
|
+
# (transitioned from purchase-pending or port-pending to active). Will be null for
|
|
275
|
+
# numbers that have not yet been activated, or for legacy numbers activated before
|
|
276
|
+
# this field was tracked.
|
|
277
|
+
activated_at: nil,
|
|
265
278
|
# Identifies the billing group associated with the phone number.
|
|
266
279
|
billing_group_id: nil,
|
|
267
280
|
# Indicates if call forwarding will be enabled for this number if forwards_to and
|
|
@@ -326,6 +339,7 @@ module Telnyx
|
|
|
326
339
|
record_type: String,
|
|
327
340
|
status: Telnyx::PhoneNumberDetailed::Status::TaggedSymbol,
|
|
328
341
|
tags: T::Array[String],
|
|
342
|
+
activated_at: T.nilable(Time),
|
|
329
343
|
billing_group_id: T.nilable(String),
|
|
330
344
|
call_forwarding_enabled: T::Boolean,
|
|
331
345
|
call_recording_enabled: T::Boolean,
|
|
@@ -91,6 +91,13 @@ module Telnyx
|
|
|
91
91
|
sig { params(id: String).void }
|
|
92
92
|
attr_writer :id
|
|
93
93
|
|
|
94
|
+
# ISO 8601 formatted date indicating when the phone number was first activated
|
|
95
|
+
# (transitioned from purchase-pending or port-pending to active). Will be null for
|
|
96
|
+
# numbers that have not yet been activated, or for legacy numbers activated before
|
|
97
|
+
# this field was tracked.
|
|
98
|
+
sig { returns(T.nilable(Time)) }
|
|
99
|
+
attr_accessor :activated_at
|
|
100
|
+
|
|
94
101
|
# Indicates if call forwarding will be enabled for this number if forwards_to and
|
|
95
102
|
# forwarding_type are filled in. Defaults to true for backwards compatibility with
|
|
96
103
|
# APIV1 use of numbers endpoints.
|
|
@@ -231,6 +238,7 @@ module Telnyx
|
|
|
231
238
|
sig do
|
|
232
239
|
params(
|
|
233
240
|
id: String,
|
|
241
|
+
activated_at: T.nilable(Time),
|
|
234
242
|
billing_group_id: String,
|
|
235
243
|
call_forwarding_enabled: T::Boolean,
|
|
236
244
|
call_recording_enabled: T::Boolean,
|
|
@@ -261,6 +269,11 @@ module Telnyx
|
|
|
261
269
|
def self.new(
|
|
262
270
|
# Identifies the resource.
|
|
263
271
|
id: nil,
|
|
272
|
+
# ISO 8601 formatted date indicating when the phone number was first activated
|
|
273
|
+
# (transitioned from purchase-pending or port-pending to active). Will be null for
|
|
274
|
+
# numbers that have not yet been activated, or for legacy numbers activated before
|
|
275
|
+
# this field was tracked.
|
|
276
|
+
activated_at: nil,
|
|
264
277
|
# Identifies the billing group associated with the phone number.
|
|
265
278
|
billing_group_id: nil,
|
|
266
279
|
# Indicates if call forwarding will be enabled for this number if forwards_to and
|
|
@@ -325,6 +338,7 @@ module Telnyx
|
|
|
325
338
|
override.returns(
|
|
326
339
|
{
|
|
327
340
|
id: String,
|
|
341
|
+
activated_at: T.nilable(Time),
|
|
328
342
|
billing_group_id: String,
|
|
329
343
|
call_forwarding_enabled: T::Boolean,
|
|
330
344
|
call_recording_enabled: T::Boolean,
|
|
@@ -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
|