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.
Files changed (211) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/README.md +1 -1
  4. data/lib/telnyx/client.rb +1 -0
  5. data/lib/telnyx/internal/type/union.rb +4 -4
  6. data/lib/telnyx/models/ai/anthropic/v1_messages_params.rb +209 -0
  7. data/lib/telnyx/models/ai/anthropic/v1_messages_response.rb +12 -0
  8. data/lib/telnyx/models/ai/assistant_create_params.rb +2 -2
  9. data/lib/telnyx/models/ai/assistant_tool.rb +118 -1
  10. data/lib/telnyx/models/ai/assistant_update_params.rb +2 -2
  11. data/lib/telnyx/models/ai/assistants/update_assistant.rb +2 -2
  12. data/lib/telnyx/models/ai/conversations/conversation_insight_retrieve_aggregates_params.rb +103 -0
  13. data/lib/telnyx/models/ai/conversations/conversation_insight_retrieve_aggregates_response.rb +54 -0
  14. data/lib/telnyx/models/ai/inference_embedding.rb +6 -6
  15. data/lib/telnyx/models/ai/pay_tool_params.rb +46 -0
  16. data/lib/telnyx/models/ai/tool_create_params.rb +13 -1
  17. data/lib/telnyx/models/ai/tool_update_params.rb +13 -1
  18. data/lib/telnyx/models/ai/transcription_settings.rb +3 -3
  19. data/lib/telnyx/models/call_dial_params.rb +13 -1
  20. data/lib/telnyx/models/calls/action_gather_using_ai_params.rb +3 -0
  21. data/lib/telnyx/models/calls/action_gather_using_speak_params.rb +6 -0
  22. data/lib/telnyx/models/calls/action_speak_params.rb +6 -0
  23. data/lib/telnyx/models/calls/action_start_ai_assistant_params.rb +3 -0
  24. data/lib/telnyx/models/calls/action_start_conversation_relay_params.rb +3 -0
  25. data/lib/telnyx/models/calls/telnyx_voice_settings.rb +2 -1
  26. data/lib/telnyx/models/calls/transcription_config.rb +8 -4
  27. data/lib/telnyx/models/calls/transcription_engine_parakeet_config.rb +1 -1
  28. data/lib/telnyx/models/conferences/action_speak_params.rb +6 -0
  29. data/lib/telnyx/models/conversation_relay_embedded_config.rb +3 -0
  30. data/lib/telnyx/models/doc_reqs_requirement.rb +29 -4
  31. data/lib/telnyx/models/inbound_message.rb +278 -28
  32. data/lib/telnyx/models/inbound_message_webhook_event.rb +70 -3
  33. data/lib/telnyx/models/managed_account_list_params.rb +45 -3
  34. data/lib/telnyx/models/models_response.rb +0 -1
  35. data/lib/telnyx/models/phone_number_delete_response.rb +12 -1
  36. data/lib/telnyx/models/phone_number_detailed.rb +12 -1
  37. data/lib/telnyx/models/phone_number_slim_list_response.rb +12 -1
  38. data/lib/telnyx/models/requirement_list_params.rb +10 -1
  39. data/lib/telnyx/models/requirement_retrieve_params.rb +14 -1
  40. data/lib/telnyx/models/speech_to_text_retrieve_transcription_params.rb +1 -1
  41. data/lib/telnyx/models/storage/cloudf_create_params.rb +56 -0
  42. data/lib/telnyx/models/storage/cloudf_delete_params.rb +22 -0
  43. data/lib/telnyx/models/storage/cloudf_list_params.rb +109 -0
  44. data/lib/telnyx/models/storage/cloudf_list_response.rb +165 -0
  45. data/lib/telnyx/models/storage/cloudf_retrieve_params.rb +22 -0
  46. data/lib/telnyx/models/storage/cloudf_update_params.rb +36 -0
  47. data/lib/telnyx/models/storage/cloudfs/action_rotate_meta_token_params.rb +30 -0
  48. data/lib/telnyx/models/storage/cloudfs_filesystem_detail_response_wrapper.rb +129 -0
  49. data/lib/telnyx/models/storage/cloudfs_filesystem_response_wrapper.rb +129 -0
  50. data/lib/telnyx/models/storage/cloudfs_filesystem_status.rb +28 -0
  51. data/lib/telnyx/models/text_to_speech_generate_speech_params.rb +13 -8
  52. data/lib/telnyx/models/text_to_speech_retrieve_speech_params.rb +4 -4
  53. data/lib/telnyx/models/verify_profile.rb +2 -2
  54. data/lib/telnyx/models/verify_profile_create_params.rb +2 -2
  55. data/lib/telnyx/models/verify_profile_update_params.rb +2 -2
  56. data/lib/telnyx/models.rb +0 -6
  57. data/lib/telnyx/resources/ai/anthropic/v1.rb +91 -0
  58. data/lib/telnyx/resources/ai/anthropic.rb +20 -0
  59. data/lib/telnyx/resources/ai/assistants/versions.rb +1 -1
  60. data/lib/telnyx/resources/ai/assistants.rb +2 -2
  61. data/lib/telnyx/resources/ai/chat.rb +0 -81
  62. data/lib/telnyx/resources/ai/conversations/conversation_insights.rb +55 -0
  63. data/lib/telnyx/resources/ai/conversations.rb +5 -0
  64. data/lib/telnyx/resources/ai/tools.rb +8 -2
  65. data/lib/telnyx/resources/ai.rb +3 -56
  66. data/lib/telnyx/resources/calls.rb +3 -1
  67. data/lib/telnyx/resources/messages.rb +1 -32
  68. data/lib/telnyx/resources/requirements.rb +13 -3
  69. data/lib/telnyx/resources/storage/cloudfs/actions.rb +54 -0
  70. data/lib/telnyx/resources/storage/cloudfs.rb +187 -0
  71. data/lib/telnyx/resources/storage.rb +6 -0
  72. data/lib/telnyx/version.rb +1 -1
  73. data/lib/telnyx.rb +20 -7
  74. data/rbi/telnyx/client.rbi +1 -0
  75. data/rbi/telnyx/models/ai/anthropic/v1_messages_params.rbi +314 -0
  76. data/rbi/telnyx/models/ai/anthropic/v1_messages_response.rbi +15 -0
  77. data/rbi/telnyx/models/ai/assistant_create_params.rbi +12 -4
  78. data/rbi/telnyx/models/ai/assistant_tool.rbi +258 -1
  79. data/rbi/telnyx/models/ai/assistant_update_params.rbi +12 -4
  80. data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +12 -4
  81. data/rbi/telnyx/models/ai/conversations/conversation_insight_retrieve_aggregates_params.rbi +188 -0
  82. data/rbi/telnyx/models/ai/conversations/conversation_insight_retrieve_aggregates_response.rbi +94 -0
  83. data/rbi/telnyx/models/ai/inference_embedding.rbi +18 -6
  84. data/rbi/telnyx/models/ai/pay_tool_params.rbi +71 -0
  85. data/rbi/telnyx/models/ai/tool_create_params.rbi +18 -0
  86. data/rbi/telnyx/models/ai/tool_update_params.rbi +18 -0
  87. data/rbi/telnyx/models/ai/transcription_settings.rbi +5 -5
  88. data/rbi/telnyx/models/call_dial_params.rbi +19 -0
  89. data/rbi/telnyx/models/calls/action_gather_using_ai_params.rbi +6 -0
  90. data/rbi/telnyx/models/calls/action_gather_using_speak_params.rbi +12 -0
  91. data/rbi/telnyx/models/calls/action_speak_params.rbi +12 -0
  92. data/rbi/telnyx/models/calls/action_start_ai_assistant_params.rbi +6 -0
  93. data/rbi/telnyx/models/calls/action_start_conversation_relay_params.rbi +6 -0
  94. data/rbi/telnyx/models/calls/telnyx_voice_settings.rbi +4 -2
  95. data/rbi/telnyx/models/calls/transcription_config.rbi +15 -7
  96. data/rbi/telnyx/models/calls/transcription_engine_parakeet_config.rbi +2 -2
  97. data/rbi/telnyx/models/conferences/action_speak_params.rbi +12 -0
  98. data/rbi/telnyx/models/conversation_relay_embedded_config.rbi +6 -0
  99. data/rbi/telnyx/models/doc_reqs_requirement.rbi +38 -9
  100. data/rbi/telnyx/models/inbound_message.rbi +324 -58
  101. data/rbi/telnyx/models/inbound_message_webhook_event.rbi +173 -4
  102. data/rbi/telnyx/models/managed_account_list_params.rbi +130 -6
  103. data/rbi/telnyx/models/phone_number_delete_response.rbi +14 -0
  104. data/rbi/telnyx/models/phone_number_detailed.rbi +14 -0
  105. data/rbi/telnyx/models/phone_number_slim_list_response.rbi +14 -0
  106. data/rbi/telnyx/models/requirement_list_params.rbi +13 -0
  107. data/rbi/telnyx/models/requirement_retrieve_params.rbi +21 -2
  108. data/rbi/telnyx/models/speech_to_text_retrieve_transcription_params.rbi +2 -2
  109. data/rbi/telnyx/models/storage/cloudf_create_params.rbi +103 -0
  110. data/rbi/telnyx/models/storage/cloudf_delete_params.rbi +40 -0
  111. data/rbi/telnyx/models/storage/cloudf_list_params.rbi +232 -0
  112. data/rbi/telnyx/models/storage/cloudf_list_response.rbi +327 -0
  113. data/rbi/telnyx/models/storage/cloudf_retrieve_params.rbi +40 -0
  114. data/rbi/telnyx/models/storage/cloudf_update_params.rbi +61 -0
  115. data/rbi/telnyx/models/storage/cloudfs/action_rotate_meta_token_params.rbi +50 -0
  116. data/rbi/telnyx/models/storage/cloudfs_filesystem_detail_response_wrapper.rbi +229 -0
  117. data/rbi/telnyx/models/storage/cloudfs_filesystem_response_wrapper.rbi +227 -0
  118. data/rbi/telnyx/models/storage/cloudfs_filesystem_status.rbi +57 -0
  119. data/rbi/telnyx/models/text_to_speech_generate_speech_params.rbi +21 -13
  120. data/rbi/telnyx/models/text_to_speech_retrieve_speech_params.rbi +8 -8
  121. data/rbi/telnyx/models/verify_profile.rbi +2 -2
  122. data/rbi/telnyx/models/verify_profile_create_params.rbi +2 -2
  123. data/rbi/telnyx/models/verify_profile_update_params.rbi +2 -2
  124. data/rbi/telnyx/models.rbi +0 -7
  125. data/rbi/telnyx/resources/ai/anthropic/v1.rbi +106 -0
  126. data/rbi/telnyx/resources/ai/anthropic.rbi +17 -0
  127. data/rbi/telnyx/resources/ai/assistants/versions.rbi +3 -1
  128. data/rbi/telnyx/resources/ai/assistants.rbi +6 -2
  129. data/rbi/telnyx/resources/ai/chat.rbi +0 -129
  130. data/rbi/telnyx/resources/ai/conversations/conversation_insights.rbi +68 -0
  131. data/rbi/telnyx/resources/ai/conversations.rbi +6 -0
  132. data/rbi/telnyx/resources/ai/tools.rbi +8 -0
  133. data/rbi/telnyx/resources/ai.rbi +2 -32
  134. data/rbi/telnyx/resources/calls/actions.rbi +21 -0
  135. data/rbi/telnyx/resources/calls.rbi +7 -0
  136. data/rbi/telnyx/resources/conferences/actions.rbi +6 -0
  137. data/rbi/telnyx/resources/managed_accounts.rbi +1 -1
  138. data/rbi/telnyx/resources/messages.rbi +1 -28
  139. data/rbi/telnyx/resources/requirements.rbi +8 -0
  140. data/rbi/telnyx/resources/storage/cloudfs/actions.rbi +46 -0
  141. data/rbi/telnyx/resources/storage/cloudfs.rbi +152 -0
  142. data/rbi/telnyx/resources/storage.rbi +5 -0
  143. data/rbi/telnyx/resources/text_to_speech.rbi +11 -9
  144. data/sig/telnyx/models/ai/anthropic/v1_messages_params.rbs +175 -0
  145. data/sig/telnyx/models/ai/anthropic/v1_messages_response.rbs +11 -0
  146. data/sig/telnyx/models/ai/assistant_tool.rbs +108 -0
  147. data/sig/telnyx/models/ai/conversations/conversation_insight_retrieve_aggregates_params.rbs +74 -0
  148. data/sig/telnyx/models/ai/conversations/conversation_insight_retrieve_aggregates_response.rbs +34 -0
  149. data/sig/telnyx/models/ai/pay_tool_params.rbs +41 -0
  150. data/sig/telnyx/models/ai/tool_create_params.rbs +14 -0
  151. data/sig/telnyx/models/ai/tool_update_params.rbs +14 -0
  152. data/sig/telnyx/models/ai/transcription_settings.rbs +2 -2
  153. data/sig/telnyx/models/call_dial_params.rbs +7 -0
  154. data/sig/telnyx/models/calls/transcription_config.rbs +2 -2
  155. data/sig/telnyx/models/calls/transcription_engine_parakeet_config.rbs +2 -2
  156. data/sig/telnyx/models/doc_reqs_requirement.rbs +25 -8
  157. data/sig/telnyx/models/inbound_message.rbs +204 -35
  158. data/sig/telnyx/models/inbound_message_webhook_event.rbs +81 -5
  159. data/sig/telnyx/models/managed_account_list_params.rbs +47 -3
  160. data/sig/telnyx/models/phone_number_delete_response.rbs +5 -0
  161. data/sig/telnyx/models/phone_number_detailed.rbs +5 -0
  162. data/sig/telnyx/models/phone_number_slim_list_response.rbs +5 -0
  163. data/sig/telnyx/models/requirement_list_params.rbs +8 -1
  164. data/sig/telnyx/models/requirement_retrieve_params.rbs +12 -2
  165. data/sig/telnyx/models/speech_to_text_retrieve_transcription_params.rbs +2 -2
  166. data/sig/telnyx/models/storage/cloudf_create_params.rbs +50 -0
  167. data/sig/telnyx/models/storage/cloudf_delete_params.rbs +22 -0
  168. data/sig/telnyx/models/storage/cloudf_list_params.rbs +112 -0
  169. data/sig/telnyx/models/storage/cloudf_list_response.rbs +163 -0
  170. data/sig/telnyx/models/storage/cloudf_retrieve_params.rbs +22 -0
  171. data/sig/telnyx/models/storage/cloudf_update_params.rbs +32 -0
  172. data/sig/telnyx/models/storage/cloudfs/action_rotate_meta_token_params.rbs +32 -0
  173. data/sig/telnyx/models/storage/cloudfs_filesystem_detail_response_wrapper.rbs +115 -0
  174. data/sig/telnyx/models/storage/cloudfs_filesystem_response_wrapper.rbs +115 -0
  175. data/sig/telnyx/models/storage/cloudfs_filesystem_status.rbs +21 -0
  176. data/sig/telnyx/models.rbs +0 -6
  177. data/sig/telnyx/resources/ai/anthropic/v1.rbs +35 -0
  178. data/sig/telnyx/resources/ai/anthropic.rbs +11 -0
  179. data/sig/telnyx/resources/ai/chat.rbs +0 -30
  180. data/sig/telnyx/resources/ai/conversations/conversation_insights.rbs +20 -0
  181. data/sig/telnyx/resources/ai/conversations.rbs +2 -0
  182. data/sig/telnyx/resources/ai/tools.rbs +4 -0
  183. data/sig/telnyx/resources/ai.rbs +1 -8
  184. data/sig/telnyx/resources/calls.rbs +1 -0
  185. data/sig/telnyx/resources/messages.rbs +0 -10
  186. data/sig/telnyx/resources/requirements.rbs +2 -0
  187. data/sig/telnyx/resources/storage/cloudfs/actions.rbs +17 -0
  188. data/sig/telnyx/resources/storage/cloudfs.rbs +45 -0
  189. data/sig/telnyx/resources/storage.rbs +2 -0
  190. metadata +62 -23
  191. data/lib/telnyx/models/ai/chat_create_completion_params.rb +0 -16
  192. data/lib/telnyx/models/ai/chat_create_completion_response.rb +0 -10
  193. data/lib/telnyx/models/ai_create_response_deprecated_params.rb +0 -20
  194. data/lib/telnyx/models/ai_create_response_deprecated_response.rb +0 -8
  195. data/lib/telnyx/models/ai_retrieve_models_params.rb +0 -14
  196. data/lib/telnyx/models/message_send_whatsapp_params.rb +0 -71
  197. data/lib/telnyx/models/message_send_whatsapp_response.rb +0 -178
  198. data/rbi/telnyx/models/ai/chat_create_completion_params.rbi +0 -32
  199. data/rbi/telnyx/models/ai/chat_create_completion_response.rbi +0 -13
  200. data/rbi/telnyx/models/ai_create_response_deprecated_params.rbi +0 -41
  201. data/rbi/telnyx/models/ai_create_response_deprecated_response.rbi +0 -11
  202. data/rbi/telnyx/models/ai_retrieve_models_params.rbi +0 -27
  203. data/rbi/telnyx/models/message_send_whatsapp_params.rbi +0 -124
  204. data/rbi/telnyx/models/message_send_whatsapp_response.rbi +0 -379
  205. data/sig/telnyx/models/ai/chat_create_completion_params.rbs +0 -17
  206. data/sig/telnyx/models/ai/chat_create_completion_response.rbs +0 -9
  207. data/sig/telnyx/models/ai_create_response_deprecated_params.rbs +0 -24
  208. data/sig/telnyx/models/ai_create_response_deprecated_response.rbs +0 -7
  209. data/sig/telnyx/models/ai_retrieve_models_params.rbs +0 -15
  210. data/sig/telnyx/models/message_send_whatsapp_params.rbs +0 -69
  211. 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
- # Identifies the type of resource.
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
- optional :id, String
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 event_type
13
- # The type of event being delivered.
79
+ # @!attribute message_id
80
+ # RFC Message-ID header.
14
81
  #
15
- # @return [Symbol, Telnyx::Models::InboundMessage::EventType, nil]
16
- optional :event_type, enum: -> { Telnyx::InboundMessage::EventType }
82
+ # @return [String]
83
+ required :message_id, String
17
84
 
18
- # @!attribute occurred_at
19
- # ISO 8601 formatted date indicating when the resource was created.
85
+ # @!attribute read_at
20
86
  #
21
87
  # @return [Time, nil]
22
- optional :occurred_at, Time
88
+ required :read_at, Time, nil?: true
23
89
 
24
- # @!attribute payload
90
+ # @!attribute received_at
25
91
  #
26
- # @return [Telnyx::Models::InboundMessagePayload, nil]
27
- optional :payload, -> { Telnyx::InboundMessagePayload }
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, nil]
33
- optional :record_type, enum: -> { Telnyx::InboundMessage::RecordType }
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
- # @!method initialize(id: nil, event_type: nil, occurred_at: nil, payload: nil, record_type: nil)
36
- # @param id [String] Identifies the type of resource.
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
- # @param event_type [Symbol, Telnyx::Models::InboundMessage::EventType] The type of event being delivered.
135
+ # @return [String, nil]
136
+ required :text_body_url, String, nil?: true
137
+
138
+ # @!attribute thread_id
39
139
  #
40
- # @param occurred_at [Time] ISO 8601 formatted date indicating when the resource was created.
140
+ # @return [String]
141
+ required :thread_id, String
142
+
143
+ # @!attribute to
41
144
  #
42
- # @param payload [Telnyx::Models::InboundMessagePayload]
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
- # @param record_type [Symbol, Telnyx::Models::InboundMessage::RecordType] Identifies the type of the resource.
150
+ # @return [Time]
151
+ required :updated_at, Time
45
152
 
46
- # The type of event being delivered.
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
- # @see Telnyx::Models::InboundMessage#event_type
49
- module EventType
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
- MESSAGE_RECEIVED = :"message.received"
245
+ INBOUND = :inbound
53
246
 
54
247
  # @!method self.values
55
248
  # @return [Array<Symbol>]
56
249
  end
57
250
 
58
- # Identifies the type of the resource.
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
- EVENT = :event
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::InboundMessage, nil]
9
- optional :data, -> { Telnyx::InboundMessage }
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::InboundMessage]
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
- # @!method initialize(email: nil, organization_name: nil)
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.
@@ -2,7 +2,6 @@
2
2
 
3
3
  module Telnyx
4
4
  module Models
5
- # @see Telnyx::Resources::AI#retrieve_models
6
5
  class ModelsResponse < Telnyx::Internal::Type::BaseModel
7
6
  # @!attribute data
8
7
  #
@@ -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
- # @!method initialize(filter: nil, page_number: nil, page_size: nil, sort: nil, request_options: {})
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
- # @!method initialize(id:, request_options: {})
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
- PARAKEET_TDT_0_6B_V3 = :"parakeet/tdt-0.6b-v3"
144
+ NVIDIA_PARAKEET_V3 = :"nvidia/parakeet-v3"
145
145
 
146
146
  # @!method self.values
147
147
  # @return [Array<Symbol>]