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
|
@@ -3,74 +3,243 @@ module Telnyx
|
|
|
3
3
|
type inbound_message =
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
attachments: ::Array[::Hash[Symbol, top]],
|
|
7
|
+
bcc: ::Array[Telnyx::InboundMessage::Bcc],
|
|
8
|
+
cc: ::Array[Telnyx::InboundMessage::Cc],
|
|
9
|
+
created_at: Time,
|
|
10
|
+
direction: Telnyx::Models::InboundMessage::direction,
|
|
11
|
+
from: Telnyx::InboundMessage::From,
|
|
12
|
+
has_quoted_text: bool,
|
|
13
|
+
headers: ::Hash[Symbol, top],
|
|
14
|
+
html_body_url: String?,
|
|
15
|
+
in_reply_to: String?,
|
|
16
|
+
inbox_id: String,
|
|
17
|
+
inline_files: ::Array[::Hash[Symbol, top]],
|
|
18
|
+
message_id: String,
|
|
19
|
+
read_at: Time?,
|
|
20
|
+
received_at: Time,
|
|
21
|
+
record_type: Telnyx::Models::InboundMessage::record_type,
|
|
22
|
+
references: ::Array[String],
|
|
23
|
+
reply_text: String?,
|
|
24
|
+
reply_to: ::Array[Telnyx::InboundMessage::ReplyTo],
|
|
25
|
+
status: Telnyx::Models::InboundMessage::status,
|
|
26
|
+
subject: String?,
|
|
27
|
+
text_body_url: String?,
|
|
28
|
+
thread_id: String,
|
|
29
|
+
to: ::Array[Telnyx::InboundMessage::To],
|
|
30
|
+
updated_at: Time
|
|
10
31
|
}
|
|
11
32
|
|
|
12
33
|
class InboundMessage < Telnyx::Internal::Type::BaseModel
|
|
13
|
-
|
|
34
|
+
attr_accessor id: String
|
|
14
35
|
|
|
15
|
-
|
|
36
|
+
attr_accessor attachments: ::Array[::Hash[Symbol, top]]
|
|
16
37
|
|
|
17
|
-
|
|
38
|
+
attr_accessor bcc: ::Array[Telnyx::InboundMessage::Bcc]
|
|
18
39
|
|
|
19
|
-
|
|
20
|
-
Telnyx::Models::InboundMessage::event_type
|
|
21
|
-
) -> Telnyx::Models::InboundMessage::event_type
|
|
40
|
+
attr_accessor cc: ::Array[Telnyx::InboundMessage::Cc]
|
|
22
41
|
|
|
23
|
-
|
|
42
|
+
attr_accessor created_at: Time
|
|
24
43
|
|
|
25
|
-
|
|
44
|
+
attr_accessor direction: Telnyx::Models::InboundMessage::direction
|
|
26
45
|
|
|
27
|
-
|
|
46
|
+
attr_accessor from: Telnyx::InboundMessage::From
|
|
28
47
|
|
|
29
|
-
|
|
30
|
-
Telnyx::InboundMessagePayload
|
|
31
|
-
) -> Telnyx::InboundMessagePayload
|
|
48
|
+
attr_accessor has_quoted_text: bool
|
|
32
49
|
|
|
33
|
-
|
|
50
|
+
attr_accessor headers: ::Hash[Symbol, top]
|
|
34
51
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
52
|
+
attr_accessor html_body_url: String?
|
|
53
|
+
|
|
54
|
+
attr_accessor in_reply_to: String?
|
|
55
|
+
|
|
56
|
+
attr_accessor inbox_id: String
|
|
57
|
+
|
|
58
|
+
attr_accessor inline_files: ::Array[::Hash[Symbol, top]]
|
|
59
|
+
|
|
60
|
+
attr_accessor message_id: String
|
|
61
|
+
|
|
62
|
+
attr_accessor read_at: Time?
|
|
63
|
+
|
|
64
|
+
attr_accessor received_at: Time
|
|
65
|
+
|
|
66
|
+
attr_accessor record_type: Telnyx::Models::InboundMessage::record_type
|
|
67
|
+
|
|
68
|
+
attr_accessor references: ::Array[String]
|
|
69
|
+
|
|
70
|
+
attr_accessor reply_text: String?
|
|
71
|
+
|
|
72
|
+
attr_accessor reply_to: ::Array[Telnyx::InboundMessage::ReplyTo]
|
|
73
|
+
|
|
74
|
+
attr_accessor status: Telnyx::Models::InboundMessage::status
|
|
75
|
+
|
|
76
|
+
attr_accessor subject: String?
|
|
77
|
+
|
|
78
|
+
attr_accessor text_body_url: String?
|
|
79
|
+
|
|
80
|
+
attr_accessor thread_id: String
|
|
81
|
+
|
|
82
|
+
attr_accessor to: ::Array[Telnyx::InboundMessage::To]
|
|
83
|
+
|
|
84
|
+
attr_accessor updated_at: Time
|
|
38
85
|
|
|
39
86
|
def initialize: (
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
87
|
+
id: String,
|
|
88
|
+
attachments: ::Array[::Hash[Symbol, top]],
|
|
89
|
+
bcc: ::Array[Telnyx::InboundMessage::Bcc],
|
|
90
|
+
cc: ::Array[Telnyx::InboundMessage::Cc],
|
|
91
|
+
created_at: Time,
|
|
92
|
+
direction: Telnyx::Models::InboundMessage::direction,
|
|
93
|
+
from: Telnyx::InboundMessage::From,
|
|
94
|
+
has_quoted_text: bool,
|
|
95
|
+
headers: ::Hash[Symbol, top],
|
|
96
|
+
html_body_url: String?,
|
|
97
|
+
in_reply_to: String?,
|
|
98
|
+
inbox_id: String,
|
|
99
|
+
inline_files: ::Array[::Hash[Symbol, top]],
|
|
100
|
+
message_id: String,
|
|
101
|
+
read_at: Time?,
|
|
102
|
+
received_at: Time,
|
|
103
|
+
record_type: Telnyx::Models::InboundMessage::record_type,
|
|
104
|
+
references: ::Array[String],
|
|
105
|
+
reply_text: String?,
|
|
106
|
+
reply_to: ::Array[Telnyx::InboundMessage::ReplyTo],
|
|
107
|
+
status: Telnyx::Models::InboundMessage::status,
|
|
108
|
+
subject: String?,
|
|
109
|
+
text_body_url: String?,
|
|
110
|
+
thread_id: String,
|
|
111
|
+
to: ::Array[Telnyx::InboundMessage::To],
|
|
112
|
+
updated_at: Time
|
|
45
113
|
) -> void
|
|
46
114
|
|
|
47
115
|
def to_hash: -> {
|
|
48
116
|
id: String,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
117
|
+
attachments: ::Array[::Hash[Symbol, top]],
|
|
118
|
+
bcc: ::Array[Telnyx::InboundMessage::Bcc],
|
|
119
|
+
cc: ::Array[Telnyx::InboundMessage::Cc],
|
|
120
|
+
created_at: Time,
|
|
121
|
+
direction: Telnyx::Models::InboundMessage::direction,
|
|
122
|
+
from: Telnyx::InboundMessage::From,
|
|
123
|
+
has_quoted_text: bool,
|
|
124
|
+
headers: ::Hash[Symbol, top],
|
|
125
|
+
html_body_url: String?,
|
|
126
|
+
in_reply_to: String?,
|
|
127
|
+
inbox_id: String,
|
|
128
|
+
inline_files: ::Array[::Hash[Symbol, top]],
|
|
129
|
+
message_id: String,
|
|
130
|
+
read_at: Time?,
|
|
131
|
+
received_at: Time,
|
|
132
|
+
record_type: Telnyx::Models::InboundMessage::record_type,
|
|
133
|
+
references: ::Array[String],
|
|
134
|
+
reply_text: String?,
|
|
135
|
+
reply_to: ::Array[Telnyx::InboundMessage::ReplyTo],
|
|
136
|
+
status: Telnyx::Models::InboundMessage::status,
|
|
137
|
+
subject: String?,
|
|
138
|
+
text_body_url: String?,
|
|
139
|
+
thread_id: String,
|
|
140
|
+
to: ::Array[Telnyx::InboundMessage::To],
|
|
141
|
+
updated_at: Time
|
|
53
142
|
}
|
|
54
143
|
|
|
55
|
-
type
|
|
144
|
+
type bcc = { email: String, name: String }
|
|
145
|
+
|
|
146
|
+
class Bcc < Telnyx::Internal::Type::BaseModel
|
|
147
|
+
attr_accessor email: String
|
|
148
|
+
|
|
149
|
+
attr_reader name: String?
|
|
150
|
+
|
|
151
|
+
def name=: (String) -> String
|
|
152
|
+
|
|
153
|
+
def initialize: (email: String, ?name: String) -> void
|
|
154
|
+
|
|
155
|
+
def to_hash: -> { email: String, name: String }
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
type cc = { email: String, name: String }
|
|
159
|
+
|
|
160
|
+
class Cc < Telnyx::Internal::Type::BaseModel
|
|
161
|
+
attr_accessor email: String
|
|
162
|
+
|
|
163
|
+
attr_reader name: String?
|
|
164
|
+
|
|
165
|
+
def name=: (String) -> String
|
|
166
|
+
|
|
167
|
+
def initialize: (email: String, ?name: String) -> void
|
|
168
|
+
|
|
169
|
+
def to_hash: -> { email: String, name: String }
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
type direction = :inbound
|
|
56
173
|
|
|
57
|
-
module
|
|
174
|
+
module Direction
|
|
58
175
|
extend Telnyx::Internal::Type::Enum
|
|
59
176
|
|
|
60
|
-
|
|
177
|
+
INBOUND: :inbound
|
|
61
178
|
|
|
62
|
-
def self?.values: -> ::Array[Telnyx::Models::InboundMessage::
|
|
179
|
+
def self?.values: -> ::Array[Telnyx::Models::InboundMessage::direction]
|
|
63
180
|
end
|
|
64
181
|
|
|
65
|
-
type
|
|
182
|
+
type from = { email: String, name: String }
|
|
183
|
+
|
|
184
|
+
class From < Telnyx::Internal::Type::BaseModel
|
|
185
|
+
attr_accessor email: String
|
|
186
|
+
|
|
187
|
+
attr_reader name: String?
|
|
188
|
+
|
|
189
|
+
def name=: (String) -> String
|
|
190
|
+
|
|
191
|
+
def initialize: (email: String, ?name: String) -> void
|
|
192
|
+
|
|
193
|
+
def to_hash: -> { email: String, name: String }
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
type record_type = :email_message
|
|
66
197
|
|
|
67
198
|
module RecordType
|
|
68
199
|
extend Telnyx::Internal::Type::Enum
|
|
69
200
|
|
|
70
|
-
|
|
201
|
+
EMAIL_MESSAGE: :email_message
|
|
71
202
|
|
|
72
203
|
def self?.values: -> ::Array[Telnyx::Models::InboundMessage::record_type]
|
|
73
204
|
end
|
|
205
|
+
|
|
206
|
+
type reply_to = { email: String, name: String }
|
|
207
|
+
|
|
208
|
+
class ReplyTo < Telnyx::Internal::Type::BaseModel
|
|
209
|
+
attr_accessor email: String
|
|
210
|
+
|
|
211
|
+
attr_reader name: String?
|
|
212
|
+
|
|
213
|
+
def name=: (String) -> String
|
|
214
|
+
|
|
215
|
+
def initialize: (email: String, ?name: String) -> void
|
|
216
|
+
|
|
217
|
+
def to_hash: -> { email: String, name: String }
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
type status = :received
|
|
221
|
+
|
|
222
|
+
module Status
|
|
223
|
+
extend Telnyx::Internal::Type::Enum
|
|
224
|
+
|
|
225
|
+
RECEIVED: :received
|
|
226
|
+
|
|
227
|
+
def self?.values: -> ::Array[Telnyx::Models::InboundMessage::status]
|
|
228
|
+
end
|
|
229
|
+
|
|
230
|
+
type to = { email: String, name: String }
|
|
231
|
+
|
|
232
|
+
class To < Telnyx::Internal::Type::BaseModel
|
|
233
|
+
attr_accessor email: String
|
|
234
|
+
|
|
235
|
+
attr_reader name: String?
|
|
236
|
+
|
|
237
|
+
def name=: (String) -> String
|
|
238
|
+
|
|
239
|
+
def initialize: (email: String, ?name: String) -> void
|
|
240
|
+
|
|
241
|
+
def to_hash: -> { email: String, name: String }
|
|
242
|
+
end
|
|
74
243
|
end
|
|
75
244
|
end
|
|
76
245
|
end
|
|
@@ -1,15 +1,91 @@
|
|
|
1
1
|
module Telnyx
|
|
2
2
|
module Models
|
|
3
|
-
type inbound_message_webhook_event =
|
|
3
|
+
type inbound_message_webhook_event =
|
|
4
|
+
{ data: Telnyx::InboundMessageWebhookEvent::Data }
|
|
4
5
|
|
|
5
6
|
class InboundMessageWebhookEvent < Telnyx::Internal::Type::BaseModel
|
|
6
|
-
attr_reader data: Telnyx::
|
|
7
|
+
attr_reader data: Telnyx::InboundMessageWebhookEvent::Data?
|
|
7
8
|
|
|
8
|
-
def data=: (
|
|
9
|
+
def data=: (
|
|
10
|
+
Telnyx::InboundMessageWebhookEvent::Data
|
|
11
|
+
) -> Telnyx::InboundMessageWebhookEvent::Data
|
|
9
12
|
|
|
10
|
-
def initialize: (?data: Telnyx::
|
|
13
|
+
def initialize: (?data: Telnyx::InboundMessageWebhookEvent::Data) -> void
|
|
11
14
|
|
|
12
|
-
def to_hash: -> { data: Telnyx::
|
|
15
|
+
def to_hash: -> { data: Telnyx::InboundMessageWebhookEvent::Data }
|
|
16
|
+
|
|
17
|
+
type data =
|
|
18
|
+
{
|
|
19
|
+
id: String,
|
|
20
|
+
event_type: Telnyx::Models::InboundMessageWebhookEvent::Data::event_type,
|
|
21
|
+
occurred_at: Time,
|
|
22
|
+
payload: Telnyx::InboundMessagePayload,
|
|
23
|
+
record_type: Telnyx::Models::InboundMessageWebhookEvent::Data::record_type
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
27
|
+
attr_reader id: String?
|
|
28
|
+
|
|
29
|
+
def id=: (String) -> String
|
|
30
|
+
|
|
31
|
+
attr_reader event_type: Telnyx::Models::InboundMessageWebhookEvent::Data::event_type?
|
|
32
|
+
|
|
33
|
+
def event_type=: (
|
|
34
|
+
Telnyx::Models::InboundMessageWebhookEvent::Data::event_type
|
|
35
|
+
) -> Telnyx::Models::InboundMessageWebhookEvent::Data::event_type
|
|
36
|
+
|
|
37
|
+
attr_reader occurred_at: Time?
|
|
38
|
+
|
|
39
|
+
def occurred_at=: (Time) -> Time
|
|
40
|
+
|
|
41
|
+
attr_reader payload: Telnyx::InboundMessagePayload?
|
|
42
|
+
|
|
43
|
+
def payload=: (
|
|
44
|
+
Telnyx::InboundMessagePayload
|
|
45
|
+
) -> Telnyx::InboundMessagePayload
|
|
46
|
+
|
|
47
|
+
attr_reader record_type: Telnyx::Models::InboundMessageWebhookEvent::Data::record_type?
|
|
48
|
+
|
|
49
|
+
def record_type=: (
|
|
50
|
+
Telnyx::Models::InboundMessageWebhookEvent::Data::record_type
|
|
51
|
+
) -> Telnyx::Models::InboundMessageWebhookEvent::Data::record_type
|
|
52
|
+
|
|
53
|
+
def initialize: (
|
|
54
|
+
?id: String,
|
|
55
|
+
?event_type: Telnyx::Models::InboundMessageWebhookEvent::Data::event_type,
|
|
56
|
+
?occurred_at: Time,
|
|
57
|
+
?payload: Telnyx::InboundMessagePayload,
|
|
58
|
+
?record_type: Telnyx::Models::InboundMessageWebhookEvent::Data::record_type
|
|
59
|
+
) -> void
|
|
60
|
+
|
|
61
|
+
def to_hash: -> {
|
|
62
|
+
id: String,
|
|
63
|
+
event_type: Telnyx::Models::InboundMessageWebhookEvent::Data::event_type,
|
|
64
|
+
occurred_at: Time,
|
|
65
|
+
payload: Telnyx::InboundMessagePayload,
|
|
66
|
+
record_type: Telnyx::Models::InboundMessageWebhookEvent::Data::record_type
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
type event_type = :"message.received"
|
|
70
|
+
|
|
71
|
+
module EventType
|
|
72
|
+
extend Telnyx::Internal::Type::Enum
|
|
73
|
+
|
|
74
|
+
MESSAGE_RECEIVED: :"message.received"
|
|
75
|
+
|
|
76
|
+
def self?.values: -> ::Array[Telnyx::Models::InboundMessageWebhookEvent::Data::event_type]
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
type record_type = :event
|
|
80
|
+
|
|
81
|
+
module RecordType
|
|
82
|
+
extend Telnyx::Internal::Type::Enum
|
|
83
|
+
|
|
84
|
+
EVENT: :event
|
|
85
|
+
|
|
86
|
+
def self?.values: -> ::Array[Telnyx::Models::InboundMessageWebhookEvent::Data::record_type]
|
|
87
|
+
end
|
|
88
|
+
end
|
|
13
89
|
end
|
|
14
90
|
end
|
|
15
91
|
end
|
|
@@ -59,7 +59,8 @@ module Telnyx
|
|
|
59
59
|
type filter =
|
|
60
60
|
{
|
|
61
61
|
email: Telnyx::ManagedAccountListParams::Filter::Email,
|
|
62
|
-
organization_name: Telnyx::ManagedAccountListParams::Filter::OrganizationName
|
|
62
|
+
organization_name: Telnyx::ManagedAccountListParams::Filter::OrganizationName,
|
|
63
|
+
status: Telnyx::ManagedAccountListParams::Filter::Status
|
|
63
64
|
}
|
|
64
65
|
|
|
65
66
|
class Filter < Telnyx::Internal::Type::BaseModel
|
|
@@ -75,14 +76,22 @@ module Telnyx
|
|
|
75
76
|
Telnyx::ManagedAccountListParams::Filter::OrganizationName
|
|
76
77
|
) -> Telnyx::ManagedAccountListParams::Filter::OrganizationName
|
|
77
78
|
|
|
79
|
+
attr_reader status: Telnyx::ManagedAccountListParams::Filter::Status?
|
|
80
|
+
|
|
81
|
+
def status=: (
|
|
82
|
+
Telnyx::ManagedAccountListParams::Filter::Status
|
|
83
|
+
) -> Telnyx::ManagedAccountListParams::Filter::Status
|
|
84
|
+
|
|
78
85
|
def initialize: (
|
|
79
86
|
?email: Telnyx::ManagedAccountListParams::Filter::Email,
|
|
80
|
-
?organization_name: Telnyx::ManagedAccountListParams::Filter::OrganizationName
|
|
87
|
+
?organization_name: Telnyx::ManagedAccountListParams::Filter::OrganizationName,
|
|
88
|
+
?status: Telnyx::ManagedAccountListParams::Filter::Status
|
|
81
89
|
) -> void
|
|
82
90
|
|
|
83
91
|
def to_hash: -> {
|
|
84
92
|
email: Telnyx::ManagedAccountListParams::Filter::Email,
|
|
85
|
-
organization_name: Telnyx::ManagedAccountListParams::Filter::OrganizationName
|
|
93
|
+
organization_name: Telnyx::ManagedAccountListParams::Filter::OrganizationName,
|
|
94
|
+
status: Telnyx::ManagedAccountListParams::Filter::Status
|
|
86
95
|
}
|
|
87
96
|
|
|
88
97
|
type email = { contains: String, eq: String }
|
|
@@ -116,6 +125,41 @@ module Telnyx
|
|
|
116
125
|
|
|
117
126
|
def to_hash: -> { contains: String, eq: String }
|
|
118
127
|
end
|
|
128
|
+
|
|
129
|
+
type status =
|
|
130
|
+
{ eq: Telnyx::Models::ManagedAccountListParams::Filter::Status::eq }
|
|
131
|
+
|
|
132
|
+
class Status < Telnyx::Internal::Type::BaseModel
|
|
133
|
+
attr_reader eq: Telnyx::Models::ManagedAccountListParams::Filter::Status::eq?
|
|
134
|
+
|
|
135
|
+
def eq=: (
|
|
136
|
+
Telnyx::Models::ManagedAccountListParams::Filter::Status::eq
|
|
137
|
+
) -> Telnyx::Models::ManagedAccountListParams::Filter::Status::eq
|
|
138
|
+
|
|
139
|
+
def initialize: (
|
|
140
|
+
?eq: Telnyx::Models::ManagedAccountListParams::Filter::Status::eq
|
|
141
|
+
) -> void
|
|
142
|
+
|
|
143
|
+
def to_hash: -> {
|
|
144
|
+
eq: Telnyx::Models::ManagedAccountListParams::Filter::Status::eq
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
type eq =
|
|
148
|
+
:all | :active | :enabled | :cancelled | :disabled | :blocked
|
|
149
|
+
|
|
150
|
+
module Eq
|
|
151
|
+
extend Telnyx::Internal::Type::Enum
|
|
152
|
+
|
|
153
|
+
ALL: :all
|
|
154
|
+
ACTIVE: :active
|
|
155
|
+
ENABLED: :enabled
|
|
156
|
+
CANCELLED: :cancelled
|
|
157
|
+
DISABLED: :disabled
|
|
158
|
+
BLOCKED: :blocked
|
|
159
|
+
|
|
160
|
+
def self?.values: -> ::Array[Telnyx::Models::ManagedAccountListParams::Filter::Status::eq]
|
|
161
|
+
end
|
|
162
|
+
end
|
|
119
163
|
end
|
|
120
164
|
|
|
121
165
|
type sort = :created_at | :email
|
|
@@ -19,6 +19,7 @@ module Telnyx
|
|
|
19
19
|
type data =
|
|
20
20
|
{
|
|
21
21
|
id: String,
|
|
22
|
+
activated_at: Time?,
|
|
22
23
|
billing_group_id: String,
|
|
23
24
|
call_forwarding_enabled: bool,
|
|
24
25
|
call_recording_enabled: bool,
|
|
@@ -78,6 +79,8 @@ module Telnyx
|
|
|
78
79
|
|
|
79
80
|
def id=: (String) -> String
|
|
80
81
|
|
|
82
|
+
attr_accessor activated_at: Time?
|
|
83
|
+
|
|
81
84
|
attr_reader call_forwarding_enabled: bool?
|
|
82
85
|
|
|
83
86
|
def call_forwarding_enabled=: (bool) -> bool
|
|
@@ -152,6 +155,7 @@ module Telnyx
|
|
|
152
155
|
|
|
153
156
|
def initialize: (
|
|
154
157
|
?id: String,
|
|
158
|
+
?activated_at: Time?,
|
|
155
159
|
?billing_group_id: String,
|
|
156
160
|
?call_forwarding_enabled: bool,
|
|
157
161
|
?call_recording_enabled: bool,
|
|
@@ -180,6 +184,7 @@ module Telnyx
|
|
|
180
184
|
|
|
181
185
|
def to_hash: -> {
|
|
182
186
|
id: String,
|
|
187
|
+
activated_at: Time?,
|
|
183
188
|
billing_group_id: String,
|
|
184
189
|
call_forwarding_enabled: bool,
|
|
185
190
|
call_recording_enabled: bool,
|
|
@@ -13,6 +13,7 @@ module Telnyx
|
|
|
13
13
|
record_type: String,
|
|
14
14
|
status: Telnyx::Models::PhoneNumberDetailed::status,
|
|
15
15
|
tags: ::Array[String],
|
|
16
|
+
activated_at: Time?,
|
|
16
17
|
billing_group_id: String?,
|
|
17
18
|
call_forwarding_enabled: bool,
|
|
18
19
|
call_recording_enabled: bool,
|
|
@@ -78,6 +79,8 @@ module Telnyx
|
|
|
78
79
|
|
|
79
80
|
attr_accessor status: Telnyx::Models::PhoneNumberDetailed::status
|
|
80
81
|
|
|
82
|
+
attr_accessor activated_at: Time?
|
|
83
|
+
|
|
81
84
|
attr_reader call_forwarding_enabled: bool?
|
|
82
85
|
|
|
83
86
|
def call_forwarding_enabled=: (bool) -> bool
|
|
@@ -128,6 +131,7 @@ module Telnyx
|
|
|
128
131
|
record_type: String,
|
|
129
132
|
status: Telnyx::Models::PhoneNumberDetailed::status,
|
|
130
133
|
tags: ::Array[String],
|
|
134
|
+
?activated_at: Time?,
|
|
131
135
|
?billing_group_id: String?,
|
|
132
136
|
?call_forwarding_enabled: bool,
|
|
133
137
|
?call_recording_enabled: bool,
|
|
@@ -160,6 +164,7 @@ module Telnyx
|
|
|
160
164
|
record_type: String,
|
|
161
165
|
status: Telnyx::Models::PhoneNumberDetailed::status,
|
|
162
166
|
tags: ::Array[String],
|
|
167
|
+
activated_at: Time?,
|
|
163
168
|
billing_group_id: String?,
|
|
164
169
|
call_forwarding_enabled: bool,
|
|
165
170
|
call_recording_enabled: bool,
|
|
@@ -3,6 +3,7 @@ module Telnyx
|
|
|
3
3
|
type phone_number_slim_list_response =
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
|
+
activated_at: Time?,
|
|
6
7
|
billing_group_id: String,
|
|
7
8
|
call_forwarding_enabled: bool,
|
|
8
9
|
call_recording_enabled: bool,
|
|
@@ -60,6 +61,8 @@ module Telnyx
|
|
|
60
61
|
|
|
61
62
|
def id=: (String) -> String
|
|
62
63
|
|
|
64
|
+
attr_accessor activated_at: Time?
|
|
65
|
+
|
|
63
66
|
attr_reader call_forwarding_enabled: bool?
|
|
64
67
|
|
|
65
68
|
def call_forwarding_enabled=: (bool) -> bool
|
|
@@ -130,6 +133,7 @@ module Telnyx
|
|
|
130
133
|
|
|
131
134
|
def initialize: (
|
|
132
135
|
?id: String,
|
|
136
|
+
?activated_at: Time?,
|
|
133
137
|
?billing_group_id: String,
|
|
134
138
|
?call_forwarding_enabled: bool,
|
|
135
139
|
?call_recording_enabled: bool,
|
|
@@ -156,6 +160,7 @@ module Telnyx
|
|
|
156
160
|
|
|
157
161
|
def to_hash: -> {
|
|
158
162
|
id: String,
|
|
163
|
+
activated_at: Time?,
|
|
159
164
|
billing_group_id: String,
|
|
160
165
|
call_forwarding_enabled: bool,
|
|
161
166
|
call_recording_enabled: bool,
|
|
@@ -5,7 +5,8 @@ module Telnyx
|
|
|
5
5
|
filter: Telnyx::RequirementListParams::Filter,
|
|
6
6
|
page_number: Integer,
|
|
7
7
|
page_size: Integer,
|
|
8
|
-
sort: ::Array[Telnyx::Models::RequirementListParams::sort]
|
|
8
|
+
sort: ::Array[Telnyx::Models::RequirementListParams::sort],
|
|
9
|
+
version: Integer
|
|
9
10
|
}
|
|
10
11
|
& Telnyx::Internal::Type::request_parameters
|
|
11
12
|
|
|
@@ -33,11 +34,16 @@ module Telnyx
|
|
|
33
34
|
::Array[Telnyx::Models::RequirementListParams::sort]
|
|
34
35
|
) -> ::Array[Telnyx::Models::RequirementListParams::sort]
|
|
35
36
|
|
|
37
|
+
attr_reader version: Integer?
|
|
38
|
+
|
|
39
|
+
def version=: (Integer) -> Integer
|
|
40
|
+
|
|
36
41
|
def initialize: (
|
|
37
42
|
?filter: Telnyx::RequirementListParams::Filter,
|
|
38
43
|
?page_number: Integer,
|
|
39
44
|
?page_size: Integer,
|
|
40
45
|
?sort: ::Array[Telnyx::Models::RequirementListParams::sort],
|
|
46
|
+
?version: Integer,
|
|
41
47
|
?request_options: Telnyx::request_opts
|
|
42
48
|
) -> void
|
|
43
49
|
|
|
@@ -46,6 +52,7 @@ module Telnyx
|
|
|
46
52
|
page_number: Integer,
|
|
47
53
|
page_size: Integer,
|
|
48
54
|
sort: ::Array[Telnyx::Models::RequirementListParams::sort],
|
|
55
|
+
version: Integer,
|
|
49
56
|
request_options: Telnyx::RequestOptions
|
|
50
57
|
}
|
|
51
58
|
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
module Telnyx
|
|
2
2
|
module Models
|
|
3
3
|
type requirement_retrieve_params =
|
|
4
|
-
{ id: String
|
|
4
|
+
{ id: String, version: Integer }
|
|
5
|
+
& Telnyx::Internal::Type::request_parameters
|
|
5
6
|
|
|
6
7
|
class RequirementRetrieveParams < Telnyx::Internal::Type::BaseModel
|
|
7
8
|
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
@@ -9,12 +10,21 @@ module Telnyx
|
|
|
9
10
|
|
|
10
11
|
attr_accessor id: String
|
|
11
12
|
|
|
13
|
+
attr_reader version: Integer?
|
|
14
|
+
|
|
15
|
+
def version=: (Integer) -> Integer
|
|
16
|
+
|
|
12
17
|
def initialize: (
|
|
13
18
|
id: String,
|
|
19
|
+
?version: Integer,
|
|
14
20
|
?request_options: Telnyx::request_opts
|
|
15
21
|
) -> void
|
|
16
22
|
|
|
17
|
-
def to_hash: -> {
|
|
23
|
+
def to_hash: -> {
|
|
24
|
+
id: String,
|
|
25
|
+
version: Integer,
|
|
26
|
+
request_options: Telnyx::RequestOptions
|
|
27
|
+
}
|
|
18
28
|
end
|
|
19
29
|
end
|
|
20
30
|
end
|
|
@@ -131,7 +131,7 @@ module Telnyx
|
|
|
131
131
|
| :"xai/grok-stt"
|
|
132
132
|
| :"speechmatics/standard"
|
|
133
133
|
| :"soniox/stt-rt-v4"
|
|
134
|
-
| :"parakeet
|
|
134
|
+
| :"nvidia/parakeet-v3"
|
|
135
135
|
|
|
136
136
|
module Model
|
|
137
137
|
extend Telnyx::Internal::Type::Enum
|
|
@@ -152,7 +152,7 @@ module Telnyx
|
|
|
152
152
|
XAI_GROK_STT: :"xai/grok-stt"
|
|
153
153
|
SPEECHMATICS_STANDARD: :"speechmatics/standard"
|
|
154
154
|
SONIOX_STT_RT_V4: :"soniox/stt-rt-v4"
|
|
155
|
-
|
|
155
|
+
NVIDIA_PARAKEET_V3: :"nvidia/parakeet-v3"
|
|
156
156
|
|
|
157
157
|
def self?.values: -> ::Array[Telnyx::Models::SpeechToTextRetrieveTranscriptionParams::model]
|
|
158
158
|
end
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Storage
|
|
4
|
+
type cloudf_create_params =
|
|
5
|
+
{
|
|
6
|
+
name: String,
|
|
7
|
+
region: Telnyx::Models::Storage::CloudfCreateParams::region,
|
|
8
|
+
idempotency_key: String
|
|
9
|
+
}
|
|
10
|
+
& Telnyx::Internal::Type::request_parameters
|
|
11
|
+
|
|
12
|
+
class CloudfCreateParams < Telnyx::Internal::Type::BaseModel
|
|
13
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
14
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
15
|
+
|
|
16
|
+
attr_accessor name: String
|
|
17
|
+
|
|
18
|
+
attr_accessor region: Telnyx::Models::Storage::CloudfCreateParams::region
|
|
19
|
+
|
|
20
|
+
attr_accessor idempotency_key: String
|
|
21
|
+
|
|
22
|
+
def initialize: (
|
|
23
|
+
name: String,
|
|
24
|
+
region: Telnyx::Models::Storage::CloudfCreateParams::region,
|
|
25
|
+
idempotency_key: String,
|
|
26
|
+
?request_options: Telnyx::request_opts
|
|
27
|
+
) -> void
|
|
28
|
+
|
|
29
|
+
def to_hash: -> {
|
|
30
|
+
name: String,
|
|
31
|
+
region: Telnyx::Models::Storage::CloudfCreateParams::region,
|
|
32
|
+
idempotency_key: String,
|
|
33
|
+
request_options: Telnyx::RequestOptions
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
type region = :"us-central-1" | :"us-east-1" | :"us-west-1"
|
|
37
|
+
|
|
38
|
+
module Region
|
|
39
|
+
extend Telnyx::Internal::Type::Enum
|
|
40
|
+
|
|
41
|
+
US_CENTRAL_1: :"us-central-1"
|
|
42
|
+
US_EAST_1: :"us-east-1"
|
|
43
|
+
US_WEST_1: :"us-west-1"
|
|
44
|
+
|
|
45
|
+
def self?.values: -> ::Array[Telnyx::Models::Storage::CloudfCreateParams::region]
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|