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
|
@@ -4,68 +4,318 @@ module Telnyx
|
|
|
4
4
|
module Models
|
|
5
5
|
class InboundMessage < Telnyx::Internal::Type::BaseModel
|
|
6
6
|
# @!attribute id
|
|
7
|
-
#
|
|
7
|
+
#
|
|
8
|
+
# @return [String]
|
|
9
|
+
required :id, String
|
|
10
|
+
|
|
11
|
+
# @!attribute attachments
|
|
12
|
+
#
|
|
13
|
+
# @return [Array<Hash{Symbol=>Object}>]
|
|
14
|
+
required :attachments,
|
|
15
|
+
Telnyx::Internal::Type::ArrayOf[Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]]
|
|
16
|
+
|
|
17
|
+
# @!attribute bcc
|
|
18
|
+
#
|
|
19
|
+
# @return [Array<Telnyx::Models::InboundMessage::Bcc>]
|
|
20
|
+
required :bcc, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::InboundMessage::Bcc] }
|
|
21
|
+
|
|
22
|
+
# @!attribute cc
|
|
23
|
+
#
|
|
24
|
+
# @return [Array<Telnyx::Models::InboundMessage::Cc>]
|
|
25
|
+
required :cc, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::InboundMessage::Cc] }
|
|
26
|
+
|
|
27
|
+
# @!attribute created_at
|
|
28
|
+
#
|
|
29
|
+
# @return [Time]
|
|
30
|
+
required :created_at, Time
|
|
31
|
+
|
|
32
|
+
# @!attribute direction
|
|
33
|
+
#
|
|
34
|
+
# @return [Symbol, Telnyx::Models::InboundMessage::Direction]
|
|
35
|
+
required :direction, enum: -> { Telnyx::InboundMessage::Direction }
|
|
36
|
+
|
|
37
|
+
# @!attribute from
|
|
38
|
+
#
|
|
39
|
+
# @return [Telnyx::Models::InboundMessage::From]
|
|
40
|
+
required :from, -> { Telnyx::InboundMessage::From }
|
|
41
|
+
|
|
42
|
+
# @!attribute has_quoted_text
|
|
43
|
+
# Whether conservative plain-text extraction detected a quoted tail. False does
|
|
44
|
+
# not prove that the source contains no quoted content.
|
|
45
|
+
#
|
|
46
|
+
# @return [Boolean]
|
|
47
|
+
required :has_quoted_text, Telnyx::Internal::Type::Boolean
|
|
48
|
+
|
|
49
|
+
# @!attribute headers
|
|
50
|
+
#
|
|
51
|
+
# @return [Hash{Symbol=>Object}]
|
|
52
|
+
required :headers, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
|
|
53
|
+
|
|
54
|
+
# @!attribute html_body_url
|
|
55
|
+
# URL for an offloaded HTML body. Null means the body is not offloaded to a URL;
|
|
56
|
+
# an inline HTML body may still exist but is not returned on list reads.
|
|
57
|
+
# `reply_text` and `has_quoted_text` are computed from the inline plain-text body
|
|
58
|
+
# when present.
|
|
8
59
|
#
|
|
9
60
|
# @return [String, nil]
|
|
10
|
-
|
|
61
|
+
required :html_body_url, String, nil?: true
|
|
62
|
+
|
|
63
|
+
# @!attribute in_reply_to
|
|
64
|
+
#
|
|
65
|
+
# @return [String, nil]
|
|
66
|
+
required :in_reply_to, String, nil?: true
|
|
67
|
+
|
|
68
|
+
# @!attribute inbox_id
|
|
69
|
+
#
|
|
70
|
+
# @return [String]
|
|
71
|
+
required :inbox_id, String
|
|
72
|
+
|
|
73
|
+
# @!attribute inline_files
|
|
74
|
+
#
|
|
75
|
+
# @return [Array<Hash{Symbol=>Object}>]
|
|
76
|
+
required :inline_files,
|
|
77
|
+
Telnyx::Internal::Type::ArrayOf[Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]]
|
|
11
78
|
|
|
12
|
-
# @!attribute
|
|
13
|
-
#
|
|
79
|
+
# @!attribute message_id
|
|
80
|
+
# RFC Message-ID header.
|
|
14
81
|
#
|
|
15
|
-
# @return [
|
|
16
|
-
|
|
82
|
+
# @return [String]
|
|
83
|
+
required :message_id, String
|
|
17
84
|
|
|
18
|
-
# @!attribute
|
|
19
|
-
# ISO 8601 formatted date indicating when the resource was created.
|
|
85
|
+
# @!attribute read_at
|
|
20
86
|
#
|
|
21
87
|
# @return [Time, nil]
|
|
22
|
-
|
|
88
|
+
required :read_at, Time, nil?: true
|
|
23
89
|
|
|
24
|
-
# @!attribute
|
|
90
|
+
# @!attribute received_at
|
|
25
91
|
#
|
|
26
|
-
# @return [
|
|
27
|
-
|
|
92
|
+
# @return [Time]
|
|
93
|
+
required :received_at, Time
|
|
28
94
|
|
|
29
95
|
# @!attribute record_type
|
|
30
|
-
# Identifies the type of the resource.
|
|
31
96
|
#
|
|
32
|
-
# @return [Symbol, Telnyx::Models::InboundMessage::RecordType
|
|
33
|
-
|
|
97
|
+
# @return [Symbol, Telnyx::Models::InboundMessage::RecordType]
|
|
98
|
+
required :record_type, enum: -> { Telnyx::InboundMessage::RecordType }
|
|
99
|
+
|
|
100
|
+
# @!attribute references
|
|
101
|
+
# Ordered RFC Message-ID values from the References header.
|
|
102
|
+
#
|
|
103
|
+
# @return [Array<String>]
|
|
104
|
+
required :references, Telnyx::Internal::Type::ArrayOf[String]
|
|
105
|
+
|
|
106
|
+
# @!attribute reply_text
|
|
107
|
+
# Conservatively extracted new-reply content from the available plain-text body.
|
|
108
|
+
# Null means no plain-text body was available because it was absent or offloaded;
|
|
109
|
+
# HTML bodies are not parsed.
|
|
110
|
+
#
|
|
111
|
+
# @return [String, nil]
|
|
112
|
+
required :reply_text, String, nil?: true
|
|
113
|
+
|
|
114
|
+
# @!attribute reply_to
|
|
115
|
+
#
|
|
116
|
+
# @return [Array<Telnyx::Models::InboundMessage::ReplyTo>]
|
|
117
|
+
required :reply_to, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::InboundMessage::ReplyTo] }
|
|
118
|
+
|
|
119
|
+
# @!attribute status
|
|
120
|
+
#
|
|
121
|
+
# @return [Symbol, Telnyx::Models::InboundMessage::Status]
|
|
122
|
+
required :status, enum: -> { Telnyx::InboundMessage::Status }
|
|
123
|
+
|
|
124
|
+
# @!attribute subject
|
|
125
|
+
#
|
|
126
|
+
# @return [String, nil]
|
|
127
|
+
required :subject, String, nil?: true
|
|
34
128
|
|
|
35
|
-
# @!
|
|
36
|
-
#
|
|
129
|
+
# @!attribute text_body_url
|
|
130
|
+
# URL for an offloaded plain-text body. Null means the body is not offloaded to a
|
|
131
|
+
# URL; an inline plain-text body may still exist but is not returned on list
|
|
132
|
+
# reads. `reply_text` and `has_quoted_text` are computed from the inline
|
|
133
|
+
# plain-text body when present.
|
|
37
134
|
#
|
|
38
|
-
# @
|
|
135
|
+
# @return [String, nil]
|
|
136
|
+
required :text_body_url, String, nil?: true
|
|
137
|
+
|
|
138
|
+
# @!attribute thread_id
|
|
39
139
|
#
|
|
40
|
-
# @
|
|
140
|
+
# @return [String]
|
|
141
|
+
required :thread_id, String
|
|
142
|
+
|
|
143
|
+
# @!attribute to
|
|
41
144
|
#
|
|
42
|
-
# @
|
|
145
|
+
# @return [Array<Telnyx::Models::InboundMessage::To>]
|
|
146
|
+
required :to, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::InboundMessage::To] }
|
|
147
|
+
|
|
148
|
+
# @!attribute updated_at
|
|
43
149
|
#
|
|
44
|
-
# @
|
|
150
|
+
# @return [Time]
|
|
151
|
+
required :updated_at, Time
|
|
45
152
|
|
|
46
|
-
#
|
|
153
|
+
# @!method initialize(id:, attachments:, bcc:, cc:, created_at:, direction:, from:, has_quoted_text:, headers:, html_body_url:, in_reply_to:, inbox_id:, inline_files:, message_id:, read_at:, received_at:, record_type:, references:, reply_text:, reply_to:, status:, subject:, text_body_url:, thread_id:, to:, updated_at:)
|
|
154
|
+
# Some parameter documentations has been truncated, see
|
|
155
|
+
# {Telnyx::Models::InboundMessage} for more details.
|
|
156
|
+
#
|
|
157
|
+
# @param id [String]
|
|
158
|
+
#
|
|
159
|
+
# @param attachments [Array<Hash{Symbol=>Object}>]
|
|
160
|
+
#
|
|
161
|
+
# @param bcc [Array<Telnyx::Models::InboundMessage::Bcc>]
|
|
162
|
+
#
|
|
163
|
+
# @param cc [Array<Telnyx::Models::InboundMessage::Cc>]
|
|
164
|
+
#
|
|
165
|
+
# @param created_at [Time]
|
|
166
|
+
#
|
|
167
|
+
# @param direction [Symbol, Telnyx::Models::InboundMessage::Direction]
|
|
168
|
+
#
|
|
169
|
+
# @param from [Telnyx::Models::InboundMessage::From]
|
|
47
170
|
#
|
|
48
|
-
#
|
|
49
|
-
|
|
171
|
+
# @param has_quoted_text [Boolean] Whether conservative plain-text extraction detected a quoted tail. False does no
|
|
172
|
+
#
|
|
173
|
+
# @param headers [Hash{Symbol=>Object}]
|
|
174
|
+
#
|
|
175
|
+
# @param html_body_url [String, nil] URL for an offloaded HTML body. Null means the body is not offloaded to a URL; a
|
|
176
|
+
#
|
|
177
|
+
# @param in_reply_to [String, nil]
|
|
178
|
+
#
|
|
179
|
+
# @param inbox_id [String]
|
|
180
|
+
#
|
|
181
|
+
# @param inline_files [Array<Hash{Symbol=>Object}>]
|
|
182
|
+
#
|
|
183
|
+
# @param message_id [String] RFC Message-ID header.
|
|
184
|
+
#
|
|
185
|
+
# @param read_at [Time, nil]
|
|
186
|
+
#
|
|
187
|
+
# @param received_at [Time]
|
|
188
|
+
#
|
|
189
|
+
# @param record_type [Symbol, Telnyx::Models::InboundMessage::RecordType]
|
|
190
|
+
#
|
|
191
|
+
# @param references [Array<String>] Ordered RFC Message-ID values from the References header.
|
|
192
|
+
#
|
|
193
|
+
# @param reply_text [String, nil] Conservatively extracted new-reply content from the available plain-text body. N
|
|
194
|
+
#
|
|
195
|
+
# @param reply_to [Array<Telnyx::Models::InboundMessage::ReplyTo>]
|
|
196
|
+
#
|
|
197
|
+
# @param status [Symbol, Telnyx::Models::InboundMessage::Status]
|
|
198
|
+
#
|
|
199
|
+
# @param subject [String, nil]
|
|
200
|
+
#
|
|
201
|
+
# @param text_body_url [String, nil] URL for an offloaded plain-text body. Null means the body is not offloaded to a
|
|
202
|
+
#
|
|
203
|
+
# @param thread_id [String]
|
|
204
|
+
#
|
|
205
|
+
# @param to [Array<Telnyx::Models::InboundMessage::To>]
|
|
206
|
+
#
|
|
207
|
+
# @param updated_at [Time]
|
|
208
|
+
|
|
209
|
+
class Bcc < Telnyx::Internal::Type::BaseModel
|
|
210
|
+
# @!attribute email
|
|
211
|
+
#
|
|
212
|
+
# @return [String]
|
|
213
|
+
required :email, String
|
|
214
|
+
|
|
215
|
+
# @!attribute name
|
|
216
|
+
#
|
|
217
|
+
# @return [String, nil]
|
|
218
|
+
optional :name, String
|
|
219
|
+
|
|
220
|
+
# @!method initialize(email:, name: nil)
|
|
221
|
+
# @param email [String]
|
|
222
|
+
# @param name [String]
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
class Cc < Telnyx::Internal::Type::BaseModel
|
|
226
|
+
# @!attribute email
|
|
227
|
+
#
|
|
228
|
+
# @return [String]
|
|
229
|
+
required :email, String
|
|
230
|
+
|
|
231
|
+
# @!attribute name
|
|
232
|
+
#
|
|
233
|
+
# @return [String, nil]
|
|
234
|
+
optional :name, String
|
|
235
|
+
|
|
236
|
+
# @!method initialize(email:, name: nil)
|
|
237
|
+
# @param email [String]
|
|
238
|
+
# @param name [String]
|
|
239
|
+
end
|
|
240
|
+
|
|
241
|
+
# @see Telnyx::Models::InboundMessage#direction
|
|
242
|
+
module Direction
|
|
50
243
|
extend Telnyx::Internal::Type::Enum
|
|
51
244
|
|
|
52
|
-
|
|
245
|
+
INBOUND = :inbound
|
|
53
246
|
|
|
54
247
|
# @!method self.values
|
|
55
248
|
# @return [Array<Symbol>]
|
|
56
249
|
end
|
|
57
250
|
|
|
58
|
-
#
|
|
59
|
-
|
|
251
|
+
# @see Telnyx::Models::InboundMessage#from
|
|
252
|
+
class From < Telnyx::Internal::Type::BaseModel
|
|
253
|
+
# @!attribute email
|
|
254
|
+
#
|
|
255
|
+
# @return [String]
|
|
256
|
+
required :email, String
|
|
257
|
+
|
|
258
|
+
# @!attribute name
|
|
259
|
+
#
|
|
260
|
+
# @return [String, nil]
|
|
261
|
+
optional :name, String
|
|
262
|
+
|
|
263
|
+
# @!method initialize(email:, name: nil)
|
|
264
|
+
# @param email [String]
|
|
265
|
+
# @param name [String]
|
|
266
|
+
end
|
|
267
|
+
|
|
60
268
|
# @see Telnyx::Models::InboundMessage#record_type
|
|
61
269
|
module RecordType
|
|
62
270
|
extend Telnyx::Internal::Type::Enum
|
|
63
271
|
|
|
64
|
-
|
|
272
|
+
EMAIL_MESSAGE = :email_message
|
|
65
273
|
|
|
66
274
|
# @!method self.values
|
|
67
275
|
# @return [Array<Symbol>]
|
|
68
276
|
end
|
|
277
|
+
|
|
278
|
+
class ReplyTo < Telnyx::Internal::Type::BaseModel
|
|
279
|
+
# @!attribute email
|
|
280
|
+
#
|
|
281
|
+
# @return [String]
|
|
282
|
+
required :email, String
|
|
283
|
+
|
|
284
|
+
# @!attribute name
|
|
285
|
+
#
|
|
286
|
+
# @return [String, nil]
|
|
287
|
+
optional :name, String
|
|
288
|
+
|
|
289
|
+
# @!method initialize(email:, name: nil)
|
|
290
|
+
# @param email [String]
|
|
291
|
+
# @param name [String]
|
|
292
|
+
end
|
|
293
|
+
|
|
294
|
+
# @see Telnyx::Models::InboundMessage#status
|
|
295
|
+
module Status
|
|
296
|
+
extend Telnyx::Internal::Type::Enum
|
|
297
|
+
|
|
298
|
+
RECEIVED = :received
|
|
299
|
+
|
|
300
|
+
# @!method self.values
|
|
301
|
+
# @return [Array<Symbol>]
|
|
302
|
+
end
|
|
303
|
+
|
|
304
|
+
class To < Telnyx::Internal::Type::BaseModel
|
|
305
|
+
# @!attribute email
|
|
306
|
+
#
|
|
307
|
+
# @return [String]
|
|
308
|
+
required :email, String
|
|
309
|
+
|
|
310
|
+
# @!attribute name
|
|
311
|
+
#
|
|
312
|
+
# @return [String, nil]
|
|
313
|
+
optional :name, String
|
|
314
|
+
|
|
315
|
+
# @!method initialize(email:, name: nil)
|
|
316
|
+
# @param email [String]
|
|
317
|
+
# @param name [String]
|
|
318
|
+
end
|
|
69
319
|
end
|
|
70
320
|
end
|
|
71
321
|
end
|
|
@@ -5,11 +5,78 @@ module Telnyx
|
|
|
5
5
|
class InboundMessageWebhookEvent < Telnyx::Internal::Type::BaseModel
|
|
6
6
|
# @!attribute data
|
|
7
7
|
#
|
|
8
|
-
# @return [Telnyx::Models::
|
|
9
|
-
optional :data, -> { Telnyx::
|
|
8
|
+
# @return [Telnyx::Models::InboundMessageWebhookEvent::Data, nil]
|
|
9
|
+
optional :data, -> { Telnyx::InboundMessageWebhookEvent::Data }
|
|
10
10
|
|
|
11
11
|
# @!method initialize(data: nil)
|
|
12
|
-
# @param data [Telnyx::Models::
|
|
12
|
+
# @param data [Telnyx::Models::InboundMessageWebhookEvent::Data]
|
|
13
|
+
|
|
14
|
+
# @see Telnyx::Models::InboundMessageWebhookEvent#data
|
|
15
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
16
|
+
# @!attribute id
|
|
17
|
+
# Identifies the type of resource.
|
|
18
|
+
#
|
|
19
|
+
# @return [String, nil]
|
|
20
|
+
optional :id, String
|
|
21
|
+
|
|
22
|
+
# @!attribute event_type
|
|
23
|
+
# The type of event being delivered.
|
|
24
|
+
#
|
|
25
|
+
# @return [Symbol, Telnyx::Models::InboundMessageWebhookEvent::Data::EventType, nil]
|
|
26
|
+
optional :event_type, enum: -> { Telnyx::InboundMessageWebhookEvent::Data::EventType }
|
|
27
|
+
|
|
28
|
+
# @!attribute occurred_at
|
|
29
|
+
# ISO 8601 formatted date indicating when the resource was created.
|
|
30
|
+
#
|
|
31
|
+
# @return [Time, nil]
|
|
32
|
+
optional :occurred_at, Time
|
|
33
|
+
|
|
34
|
+
# @!attribute payload
|
|
35
|
+
#
|
|
36
|
+
# @return [Telnyx::Models::InboundMessagePayload, nil]
|
|
37
|
+
optional :payload, -> { Telnyx::InboundMessagePayload }
|
|
38
|
+
|
|
39
|
+
# @!attribute record_type
|
|
40
|
+
# Identifies the type of the resource.
|
|
41
|
+
#
|
|
42
|
+
# @return [Symbol, Telnyx::Models::InboundMessageWebhookEvent::Data::RecordType, nil]
|
|
43
|
+
optional :record_type, enum: -> { Telnyx::InboundMessageWebhookEvent::Data::RecordType }
|
|
44
|
+
|
|
45
|
+
# @!method initialize(id: nil, event_type: nil, occurred_at: nil, payload: nil, record_type: nil)
|
|
46
|
+
# @param id [String] Identifies the type of resource.
|
|
47
|
+
#
|
|
48
|
+
# @param event_type [Symbol, Telnyx::Models::InboundMessageWebhookEvent::Data::EventType] The type of event being delivered.
|
|
49
|
+
#
|
|
50
|
+
# @param occurred_at [Time] ISO 8601 formatted date indicating when the resource was created.
|
|
51
|
+
#
|
|
52
|
+
# @param payload [Telnyx::Models::InboundMessagePayload]
|
|
53
|
+
#
|
|
54
|
+
# @param record_type [Symbol, Telnyx::Models::InboundMessageWebhookEvent::Data::RecordType] Identifies the type of the resource.
|
|
55
|
+
|
|
56
|
+
# The type of event being delivered.
|
|
57
|
+
#
|
|
58
|
+
# @see Telnyx::Models::InboundMessageWebhookEvent::Data#event_type
|
|
59
|
+
module EventType
|
|
60
|
+
extend Telnyx::Internal::Type::Enum
|
|
61
|
+
|
|
62
|
+
MESSAGE_RECEIVED = :"message.received"
|
|
63
|
+
|
|
64
|
+
# @!method self.values
|
|
65
|
+
# @return [Array<Symbol>]
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# Identifies the type of the resource.
|
|
69
|
+
#
|
|
70
|
+
# @see Telnyx::Models::InboundMessageWebhookEvent::Data#record_type
|
|
71
|
+
module RecordType
|
|
72
|
+
extend Telnyx::Internal::Type::Enum
|
|
73
|
+
|
|
74
|
+
EVENT = :event
|
|
75
|
+
|
|
76
|
+
# @!method self.values
|
|
77
|
+
# @return [Array<Symbol>]
|
|
78
|
+
end
|
|
79
|
+
end
|
|
13
80
|
end
|
|
14
81
|
end
|
|
15
82
|
end
|
|
@@ -10,7 +10,7 @@ module Telnyx
|
|
|
10
10
|
# @!attribute filter
|
|
11
11
|
# Consolidated filter parameter (deepObject style). Originally:
|
|
12
12
|
# filter[email][contains], filter[email][eq], filter[organization_name][contains],
|
|
13
|
-
# filter[organization_name][eq]
|
|
13
|
+
# filter[organization_name][eq], filter[status][eq]
|
|
14
14
|
#
|
|
15
15
|
# @return [Telnyx::Models::ManagedAccountListParams::Filter, nil]
|
|
16
16
|
optional :filter, -> { Telnyx::ManagedAccountListParams::Filter }
|
|
@@ -77,13 +77,19 @@ module Telnyx
|
|
|
77
77
|
# @return [Telnyx::Models::ManagedAccountListParams::Filter::OrganizationName, nil]
|
|
78
78
|
optional :organization_name, -> { Telnyx::ManagedAccountListParams::Filter::OrganizationName }
|
|
79
79
|
|
|
80
|
-
# @!
|
|
80
|
+
# @!attribute status
|
|
81
|
+
#
|
|
82
|
+
# @return [Telnyx::Models::ManagedAccountListParams::Filter::Status, nil]
|
|
83
|
+
optional :status, -> { Telnyx::ManagedAccountListParams::Filter::Status }
|
|
84
|
+
|
|
85
|
+
# @!method initialize(email: nil, organization_name: nil, status: nil)
|
|
81
86
|
# Consolidated filter parameter (deepObject style). Originally:
|
|
82
87
|
# filter[email][contains], filter[email][eq], filter[organization_name][contains],
|
|
83
|
-
# filter[organization_name][eq]
|
|
88
|
+
# filter[organization_name][eq], filter[status][eq]
|
|
84
89
|
#
|
|
85
90
|
# @param email [Telnyx::Models::ManagedAccountListParams::Filter::Email]
|
|
86
91
|
# @param organization_name [Telnyx::Models::ManagedAccountListParams::Filter::OrganizationName]
|
|
92
|
+
# @param status [Telnyx::Models::ManagedAccountListParams::Filter::Status]
|
|
87
93
|
|
|
88
94
|
# @see Telnyx::Models::ManagedAccountListParams::Filter#email
|
|
89
95
|
class Email < Telnyx::Internal::Type::BaseModel
|
|
@@ -136,6 +142,42 @@ module Telnyx
|
|
|
136
142
|
#
|
|
137
143
|
# @param eq [String] If present, only returns results with the <code>organization_name</code> matchin
|
|
138
144
|
end
|
|
145
|
+
|
|
146
|
+
# @see Telnyx::Models::ManagedAccountListParams::Filter#status
|
|
147
|
+
class Status < Telnyx::Internal::Type::BaseModel
|
|
148
|
+
# @!attribute eq
|
|
149
|
+
# If present, only returns managed accounts with the <code>status</code> matching
|
|
150
|
+
# exactly the value given. Use <code>enabled</code> or <code>disabled</code> to
|
|
151
|
+
# filter accounts by whether they are currently able to use Telnyx services.
|
|
152
|
+
#
|
|
153
|
+
# @return [Symbol, Telnyx::Models::ManagedAccountListParams::Filter::Status::Eq, nil]
|
|
154
|
+
optional :eq, enum: -> { Telnyx::ManagedAccountListParams::Filter::Status::Eq }
|
|
155
|
+
|
|
156
|
+
# @!method initialize(eq: nil)
|
|
157
|
+
# Some parameter documentations has been truncated, see
|
|
158
|
+
# {Telnyx::Models::ManagedAccountListParams::Filter::Status} for more details.
|
|
159
|
+
#
|
|
160
|
+
# @param eq [Symbol, Telnyx::Models::ManagedAccountListParams::Filter::Status::Eq] If present, only returns managed accounts with the <code>status</code> matching
|
|
161
|
+
|
|
162
|
+
# If present, only returns managed accounts with the <code>status</code> matching
|
|
163
|
+
# exactly the value given. Use <code>enabled</code> or <code>disabled</code> to
|
|
164
|
+
# filter accounts by whether they are currently able to use Telnyx services.
|
|
165
|
+
#
|
|
166
|
+
# @see Telnyx::Models::ManagedAccountListParams::Filter::Status#eq
|
|
167
|
+
module Eq
|
|
168
|
+
extend Telnyx::Internal::Type::Enum
|
|
169
|
+
|
|
170
|
+
ALL = :all
|
|
171
|
+
ACTIVE = :active
|
|
172
|
+
ENABLED = :enabled
|
|
173
|
+
CANCELLED = :cancelled
|
|
174
|
+
DISABLED = :disabled
|
|
175
|
+
BLOCKED = :blocked
|
|
176
|
+
|
|
177
|
+
# @!method self.values
|
|
178
|
+
# @return [Array<Symbol>]
|
|
179
|
+
end
|
|
180
|
+
end
|
|
139
181
|
end
|
|
140
182
|
|
|
141
183
|
# Specifies the sort order for results. By default sorting direction is ascending.
|
|
@@ -66,6 +66,15 @@ module Telnyx
|
|
|
66
66
|
# @return [String, nil]
|
|
67
67
|
optional :id, String
|
|
68
68
|
|
|
69
|
+
# @!attribute activated_at
|
|
70
|
+
# ISO 8601 formatted date indicating when the phone number was first activated
|
|
71
|
+
# (transitioned from purchase-pending or port-pending to active). Will be null for
|
|
72
|
+
# numbers that have not yet been activated, or for legacy numbers activated before
|
|
73
|
+
# this field was tracked.
|
|
74
|
+
#
|
|
75
|
+
# @return [Time, nil]
|
|
76
|
+
optional :activated_at, Time, nil?: true
|
|
77
|
+
|
|
69
78
|
# @!attribute call_forwarding_enabled
|
|
70
79
|
# Indicates if call forwarding will be enabled for this number if forwards_to and
|
|
71
80
|
# forwarding_type are filled in. Defaults to true for backwards compatibility with
|
|
@@ -175,12 +184,14 @@ module Telnyx
|
|
|
175
184
|
optional :updated_at, String
|
|
176
185
|
end
|
|
177
186
|
|
|
178
|
-
# @!method initialize(id: nil, billing_group_id: nil, call_forwarding_enabled: nil, call_recording_enabled: nil, caller_id_name_enabled: nil, cnam_listing_enabled: nil, connection_id: nil, connection_name: nil, created_at: nil, customer_reference: nil, deletion_lock_enabled: nil, emergency_address_id: nil, emergency_enabled: nil, external_pin: nil, hd_voice_enabled: nil, messaging_profile_id: nil, messaging_profile_name: nil, phone_number: nil, phone_number_type: nil, purchased_at: nil, record_type: nil, status: nil, t38_fax_gateway_enabled: nil, tags: nil, updated_at: nil)
|
|
187
|
+
# @!method initialize(id: nil, activated_at: nil, billing_group_id: nil, call_forwarding_enabled: nil, call_recording_enabled: nil, caller_id_name_enabled: nil, cnam_listing_enabled: nil, connection_id: nil, connection_name: nil, created_at: nil, customer_reference: nil, deletion_lock_enabled: nil, emergency_address_id: nil, emergency_enabled: nil, external_pin: nil, hd_voice_enabled: nil, messaging_profile_id: nil, messaging_profile_name: nil, phone_number: nil, phone_number_type: nil, purchased_at: nil, record_type: nil, status: nil, t38_fax_gateway_enabled: nil, tags: nil, updated_at: nil)
|
|
179
188
|
# Some parameter documentations has been truncated, see
|
|
180
189
|
# {Telnyx::Models::PhoneNumberDeleteResponse::Data} for more details.
|
|
181
190
|
#
|
|
182
191
|
# @param id [String] Identifies the resource.
|
|
183
192
|
#
|
|
193
|
+
# @param activated_at [Time, nil] ISO 8601 formatted date indicating when the phone number was first activated (tr
|
|
194
|
+
#
|
|
184
195
|
# @param billing_group_id [String] Identifies the billing group associated with the phone number.
|
|
185
196
|
#
|
|
186
197
|
# @param call_forwarding_enabled [Boolean] Indicates if call forwarding will be enabled for this number if forwards_to and
|
|
@@ -125,6 +125,15 @@ module Telnyx
|
|
|
125
125
|
# @return [Symbol, Telnyx::Models::PhoneNumberDetailed::Status]
|
|
126
126
|
required :status, enum: -> { Telnyx::PhoneNumberDetailed::Status }
|
|
127
127
|
|
|
128
|
+
# @!attribute activated_at
|
|
129
|
+
# ISO 8601 formatted date indicating when the phone number was first activated
|
|
130
|
+
# (transitioned from purchase-pending or port-pending to active). Will be null for
|
|
131
|
+
# numbers that have not yet been activated, or for legacy numbers activated before
|
|
132
|
+
# this field was tracked.
|
|
133
|
+
#
|
|
134
|
+
# @return [Time, nil]
|
|
135
|
+
optional :activated_at, Time, nil?: true
|
|
136
|
+
|
|
128
137
|
# @!attribute call_forwarding_enabled
|
|
129
138
|
# Indicates if call forwarding will be enabled for this number if forwards_to and
|
|
130
139
|
# forwarding_type are filled in. Defaults to true for backwards compatibility with
|
|
@@ -196,7 +205,7 @@ module Telnyx
|
|
|
196
205
|
optional :updated_at, String
|
|
197
206
|
end
|
|
198
207
|
|
|
199
|
-
# @!method initialize(id:, country_iso_alpha2:, created_at:, deletion_lock_enabled:, external_pin:, phone_number:, phone_number_type:, purchased_at:, record_type:, status:, tags:, billing_group_id: nil, call_forwarding_enabled: nil, call_recording_enabled: nil, caller_id_name_enabled: nil, cnam_listing_enabled: nil, connection_id: nil, connection_name: nil, customer_reference: nil, emergency_address_id: nil, emergency_enabled: nil, emergency_status: nil, hd_voice_enabled: nil, inbound_call_screening: nil, messaging_profile_id: nil, messaging_profile_name: nil, source_type: nil, t38_fax_gateway_enabled: nil, updated_at: nil)
|
|
208
|
+
# @!method initialize(id:, country_iso_alpha2:, created_at:, deletion_lock_enabled:, external_pin:, phone_number:, phone_number_type:, purchased_at:, record_type:, status:, tags:, activated_at: nil, billing_group_id: nil, call_forwarding_enabled: nil, call_recording_enabled: nil, caller_id_name_enabled: nil, cnam_listing_enabled: nil, connection_id: nil, connection_name: nil, customer_reference: nil, emergency_address_id: nil, emergency_enabled: nil, emergency_status: nil, hd_voice_enabled: nil, inbound_call_screening: nil, messaging_profile_id: nil, messaging_profile_name: nil, source_type: nil, t38_fax_gateway_enabled: nil, updated_at: nil)
|
|
200
209
|
# Some parameter documentations has been truncated, see
|
|
201
210
|
# {Telnyx::Models::PhoneNumberDetailed} for more details.
|
|
202
211
|
#
|
|
@@ -222,6 +231,8 @@ module Telnyx
|
|
|
222
231
|
#
|
|
223
232
|
# @param tags [Array<String>] A list of user-assigned tags to help manage the phone number.
|
|
224
233
|
#
|
|
234
|
+
# @param activated_at [Time, nil] ISO 8601 formatted date indicating when the phone number was first activated (tr
|
|
235
|
+
#
|
|
225
236
|
# @param billing_group_id [String, nil] Identifies the billing group associated with the phone number.
|
|
226
237
|
#
|
|
227
238
|
# @param call_forwarding_enabled [Boolean] Indicates if call forwarding will be enabled for this number if forwards_to and
|
|
@@ -57,6 +57,15 @@ module Telnyx
|
|
|
57
57
|
# @return [String, nil]
|
|
58
58
|
optional :id, String
|
|
59
59
|
|
|
60
|
+
# @!attribute activated_at
|
|
61
|
+
# ISO 8601 formatted date indicating when the phone number was first activated
|
|
62
|
+
# (transitioned from purchase-pending or port-pending to active). Will be null for
|
|
63
|
+
# numbers that have not yet been activated, or for legacy numbers activated before
|
|
64
|
+
# this field was tracked.
|
|
65
|
+
#
|
|
66
|
+
# @return [Time, nil]
|
|
67
|
+
optional :activated_at, Time, nil?: true
|
|
68
|
+
|
|
60
69
|
# @!attribute call_forwarding_enabled
|
|
61
70
|
# Indicates if call forwarding will be enabled for this number if forwards_to and
|
|
62
71
|
# forwarding_type are filled in. Defaults to true for backwards compatibility with
|
|
@@ -158,12 +167,14 @@ module Telnyx
|
|
|
158
167
|
optional :updated_at, String
|
|
159
168
|
end
|
|
160
169
|
|
|
161
|
-
# @!method initialize(id: nil, billing_group_id: nil, call_forwarding_enabled: nil, call_recording_enabled: nil, caller_id_name_enabled: nil, cnam_listing_enabled: nil, connection_id: nil, country_iso_alpha2: nil, created_at: nil, customer_reference: nil, emergency_address_id: nil, emergency_enabled: nil, emergency_status: nil, external_pin: nil, hd_voice_enabled: nil, inbound_call_screening: nil, phone_number: nil, phone_number_type: nil, purchased_at: nil, record_type: nil, status: nil, t38_fax_gateway_enabled: nil, updated_at: nil)
|
|
170
|
+
# @!method initialize(id: nil, activated_at: nil, billing_group_id: nil, call_forwarding_enabled: nil, call_recording_enabled: nil, caller_id_name_enabled: nil, cnam_listing_enabled: nil, connection_id: nil, country_iso_alpha2: nil, created_at: nil, customer_reference: nil, emergency_address_id: nil, emergency_enabled: nil, emergency_status: nil, external_pin: nil, hd_voice_enabled: nil, inbound_call_screening: nil, phone_number: nil, phone_number_type: nil, purchased_at: nil, record_type: nil, status: nil, t38_fax_gateway_enabled: nil, updated_at: nil)
|
|
162
171
|
# Some parameter documentations has been truncated, see
|
|
163
172
|
# {Telnyx::Models::PhoneNumberSlimListResponse} for more details.
|
|
164
173
|
#
|
|
165
174
|
# @param id [String] Identifies the resource.
|
|
166
175
|
#
|
|
176
|
+
# @param activated_at [Time, nil] ISO 8601 formatted date indicating when the phone number was first activated (tr
|
|
177
|
+
#
|
|
167
178
|
# @param billing_group_id [String] Identifies the billing group associated with the phone number.
|
|
168
179
|
#
|
|
169
180
|
# @param call_forwarding_enabled [Boolean] Indicates if call forwarding will be enabled for this number if forwards_to and
|
|
@@ -31,7 +31,14 @@ module Telnyx
|
|
|
31
31
|
# @return [Array<Symbol, Telnyx::Models::RequirementListParams::Sort>, nil]
|
|
32
32
|
optional :sort, -> { Telnyx::Internal::Type::ArrayOf[enum: Telnyx::RequirementListParams::Sort] }
|
|
33
33
|
|
|
34
|
-
# @!
|
|
34
|
+
# @!attribute version
|
|
35
|
+
# Filter by requirement version number. When omitted, returns the currently-active
|
|
36
|
+
# version.
|
|
37
|
+
#
|
|
38
|
+
# @return [Integer, nil]
|
|
39
|
+
optional :version, Integer
|
|
40
|
+
|
|
41
|
+
# @!method initialize(filter: nil, page_number: nil, page_size: nil, sort: nil, version: nil, request_options: {})
|
|
35
42
|
# Some parameter documentations has been truncated, see
|
|
36
43
|
# {Telnyx::Models::RequirementListParams} for more details.
|
|
37
44
|
#
|
|
@@ -43,6 +50,8 @@ module Telnyx
|
|
|
43
50
|
#
|
|
44
51
|
# @param sort [Array<Symbol, Telnyx::Models::RequirementListParams::Sort>] Consolidated sort parameter for requirements (deepObject style). Originally: sor
|
|
45
52
|
#
|
|
53
|
+
# @param version [Integer] Filter by requirement version number. When omitted, returns the currently-active
|
|
54
|
+
#
|
|
46
55
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
47
56
|
|
|
48
57
|
class Filter < Telnyx::Internal::Type::BaseModel
|
|
@@ -12,8 +12,21 @@ module Telnyx
|
|
|
12
12
|
# @return [String]
|
|
13
13
|
required :id, String
|
|
14
14
|
|
|
15
|
-
# @!
|
|
15
|
+
# @!attribute version
|
|
16
|
+
# Filter by requirement version number. When omitted, returns the currently-active
|
|
17
|
+
# version.
|
|
18
|
+
#
|
|
19
|
+
# @return [Integer, nil]
|
|
20
|
+
optional :version, Integer
|
|
21
|
+
|
|
22
|
+
# @!method initialize(id:, version: nil, request_options: {})
|
|
23
|
+
# Some parameter documentations has been truncated, see
|
|
24
|
+
# {Telnyx::Models::RequirementRetrieveParams} for more details.
|
|
25
|
+
#
|
|
16
26
|
# @param id [String]
|
|
27
|
+
#
|
|
28
|
+
# @param version [Integer] Filter by requirement version number. When omitted, returns the currently-active
|
|
29
|
+
#
|
|
17
30
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
18
31
|
end
|
|
19
32
|
end
|
|
@@ -141,7 +141,7 @@ module Telnyx
|
|
|
141
141
|
XAI_GROK_STT = :"xai/grok-stt"
|
|
142
142
|
SPEECHMATICS_STANDARD = :"speechmatics/standard"
|
|
143
143
|
SONIOX_STT_RT_V4 = :"soniox/stt-rt-v4"
|
|
144
|
-
|
|
144
|
+
NVIDIA_PARAKEET_V3 = :"nvidia/parakeet-v3"
|
|
145
145
|
|
|
146
146
|
# @!method self.values
|
|
147
147
|
# @return [Array<Symbol>]
|