telnyx 5.168.0 → 5.169.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 (267) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/README.md +1 -1
  4. data/lib/telnyx/client.rb +40 -0
  5. data/lib/telnyx/internal/type/union.rb +6 -6
  6. data/lib/telnyx/models/ai/assistant_create_params.rb +6 -6
  7. data/lib/telnyx/models/ai/assistant_tool.rb +285 -12
  8. data/lib/telnyx/models/ai/assistant_update_params.rb +20 -9
  9. data/lib/telnyx/models/ai/assistants/update_assistant.rb +20 -9
  10. data/lib/telnyx/models/ai/audio_transcribe_params.rb +33 -13
  11. data/lib/telnyx/models/ai/audio_transcribe_response.rb +34 -56
  12. data/lib/telnyx/models/ai/audio_transcription_response_word.rb +74 -0
  13. data/lib/telnyx/models/ai/chat_completion_request.rb +3 -26
  14. data/lib/telnyx/models/ai/flow_node.rb +2 -2
  15. data/lib/telnyx/models/ai/inference_embedding.rb +13 -10
  16. data/lib/telnyx/models/ai/inference_embedding_interruption_settings.rb +10 -1
  17. data/lib/telnyx/models/ai/inference_embedding_webhook_tool_params.rb +21 -1
  18. data/lib/telnyx/models/ai/openai/function_definition.rb +31 -0
  19. data/lib/telnyx/models/ai/post_conversation_settings.rb +4 -4
  20. data/lib/telnyx/models/ai/post_conversation_settings_req.rb +4 -4
  21. data/lib/telnyx/models/ai/privacy_settings.rb +20 -1
  22. data/lib/telnyx/models/ai/retrieval_tool.rb +21 -1
  23. data/lib/telnyx/models/ai/telephony_settings.rb +86 -16
  24. data/lib/telnyx/models/ai/tool_node.rb +2 -2
  25. data/lib/telnyx/models/ai/transcription_settings.rb +12 -4
  26. data/lib/telnyx/models/ai/transcription_settings_config.rb +12 -11
  27. data/lib/telnyx/models/ai/typesafe/v1_systemone_params.rb +268 -0
  28. data/lib/telnyx/models/ai/typesafe/v1_systemone_response.rb +222 -0
  29. data/lib/telnyx/models/bot_challenge_create_params.rb +38 -0
  30. data/lib/telnyx/models/bot_challenge_create_response.rb +87 -0
  31. data/lib/telnyx/models/bot_session_list_params.rb +34 -0
  32. data/lib/telnyx/models/bot_session_list_response.rb +32 -0
  33. data/lib/telnyx/models/bot_signup_create_params.rb +103 -0
  34. data/lib/telnyx/models/bot_signup_resend_magic_link_params.rb +22 -0
  35. data/lib/telnyx/models/call_dial_params.rb +75 -7
  36. data/lib/telnyx/models/calls/action_transfer_params.rb +75 -7
  37. data/lib/telnyx/models/calls/transcription_config.rb +14 -3
  38. data/lib/telnyx/models/calls/transcription_engine_assemblyai_config.rb +6 -3
  39. data/lib/telnyx/models/calls/transcription_engine_parakeet_config.rb +1 -0
  40. data/lib/telnyx/models/compute/funcs/export_create_params.rb +62 -0
  41. data/lib/telnyx/models/compute/funcs/export_delete_all_params.rb +24 -0
  42. data/lib/telnyx/models/compute/funcs/export_list_params.rb +24 -0
  43. data/lib/telnyx/models/compute/funcs/func_log_export_config_response.rb +113 -0
  44. data/lib/telnyx/models/connection_retrieve_count_params.rb +14 -0
  45. data/lib/telnyx/models/connection_retrieve_count_response.rb +215 -0
  46. data/lib/telnyx/models/detail_record_list_params.rb +19 -2
  47. data/lib/telnyx/models/inbound_message_webhook_event.rb +3 -70
  48. data/lib/telnyx/models/machine_payment_account_credit_params.rb +29 -0
  49. data/lib/telnyx/models/machine_payment_account_credit_response.rb +223 -0
  50. data/lib/telnyx/models/message_retrieve_group_messages_response.rb +3 -3
  51. data/lib/telnyx/models/message_retrieve_response.rb +4 -4
  52. data/lib/telnyx/models/message_schedule_response.rb +3 -3
  53. data/lib/telnyx/models/message_send_group_mms_response.rb +3 -3
  54. data/lib/telnyx/models/message_send_long_code_response.rb +3 -3
  55. data/lib/telnyx/models/message_send_number_pool_response.rb +3 -3
  56. data/lib/telnyx/models/message_send_response.rb +3 -3
  57. data/lib/telnyx/models/message_send_short_code_response.rb +3 -3
  58. data/lib/telnyx/models/messaging_inbound_message.rb +71 -0
  59. data/lib/telnyx/models/messaging_inbound_message_payload.rb +216 -13
  60. data/lib/telnyx/models/messaging_outbound_message_payload.rb +42 -2
  61. data/lib/telnyx/models/noise_suppression_engine_list_params.rb +14 -0
  62. data/lib/telnyx/models/noise_suppression_engine_list_response.rb +50 -0
  63. data/lib/telnyx/models/number_order_status_update.rb +15 -3
  64. data/lib/telnyx/models/number_order_status_update_webhook_event.rb +15 -3
  65. data/lib/telnyx/models/outbound_message.rb +1 -0
  66. data/lib/telnyx/models/outbound_message_payload.rb +45 -5
  67. data/lib/telnyx/models/speech_to_text_retrieve_transcription_params.rb +1 -0
  68. data/lib/telnyx/models/success_response.rb +27 -0
  69. data/lib/telnyx/models/texml/accounts/call_calls_params.rb +246 -3
  70. data/lib/telnyx/models/texml/accounts/conferences/participant_participants_params.rb +82 -1
  71. data/lib/telnyx/models/texml/call_create_params.rb +78 -0
  72. data/lib/telnyx/models/texml/call_create_response.rb +55 -0
  73. data/lib/telnyx/models/texml_initiate_ai_call_params.rb +76 -1
  74. data/lib/telnyx/models/voice_clone_create_from_upload_params.rb +2 -2
  75. data/lib/telnyx/models.rb +18 -0
  76. data/lib/telnyx/resources/ai/assistants/versions.rb +1 -1
  77. data/lib/telnyx/resources/ai/assistants.rb +2 -2
  78. data/lib/telnyx/resources/ai/audio.rb +2 -2
  79. data/lib/telnyx/resources/ai/typesafe/v1.rb +62 -0
  80. data/lib/telnyx/resources/ai/typesafe.rb +22 -0
  81. data/lib/telnyx/resources/ai.rb +4 -0
  82. data/lib/telnyx/resources/bot_challenge.rb +53 -0
  83. data/lib/telnyx/resources/bot_sessions.rb +57 -0
  84. data/lib/telnyx/resources/bot_signup.rb +97 -0
  85. data/lib/telnyx/resources/calls/actions.rb +1 -1
  86. data/lib/telnyx/resources/calls.rb +1 -1
  87. data/lib/telnyx/resources/compute/funcs/export.rb +105 -0
  88. data/lib/telnyx/resources/compute/funcs.rb +4 -0
  89. data/lib/telnyx/resources/connections.rb +20 -0
  90. data/lib/telnyx/resources/detail_records.rb +1 -1
  91. data/lib/telnyx/resources/email_messages.rb +5 -3
  92. data/lib/telnyx/resources/machine_payments.rb +73 -0
  93. data/lib/telnyx/resources/noise_suppression_engines.rb +37 -0
  94. data/lib/telnyx/resources/texml/accounts/conferences/participants.rb +15 -1
  95. data/lib/telnyx/resources/texml/calls.rb +57 -0
  96. data/lib/telnyx/resources/texml.rb +20 -1
  97. data/lib/telnyx/resources/voice_clones.rb +4 -2
  98. data/lib/telnyx/version.rb +1 -1
  99. data/lib/telnyx.rb +33 -0
  100. data/rbi/telnyx/client.rbi +35 -0
  101. data/rbi/telnyx/models/ai/assistant_create_params.rbi +16 -12
  102. data/rbi/telnyx/models/ai/assistant_tool.rbi +423 -20
  103. data/rbi/telnyx/models/ai/assistant_update_params.rbi +42 -16
  104. data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +42 -16
  105. data/rbi/telnyx/models/ai/audio_transcribe_params.rbi +71 -20
  106. data/rbi/telnyx/models/ai/audio_transcribe_response.rbi +63 -97
  107. data/rbi/telnyx/models/ai/audio_transcription_response_word.rbi +108 -0
  108. data/rbi/telnyx/models/ai/chat_completion_request.rbi +4 -58
  109. data/rbi/telnyx/models/ai/flow_node.rbi +4 -2
  110. data/rbi/telnyx/models/ai/inference_embedding.rbi +24 -16
  111. data/rbi/telnyx/models/ai/inference_embedding_interruption_settings.rbi +10 -0
  112. data/rbi/telnyx/models/ai/inference_embedding_webhook_tool_params.rbi +29 -3
  113. data/rbi/telnyx/models/ai/openai/function_definition.rbi +56 -0
  114. data/rbi/telnyx/models/ai/post_conversation_settings.rbi +4 -4
  115. data/rbi/telnyx/models/ai/post_conversation_settings_req.rbi +4 -4
  116. data/rbi/telnyx/models/ai/privacy_settings.rbi +43 -3
  117. data/rbi/telnyx/models/ai/retrieval_tool.rbi +29 -3
  118. data/rbi/telnyx/models/ai/telephony_settings.rbi +174 -20
  119. data/rbi/telnyx/models/ai/tool_node.rbi +4 -2
  120. data/rbi/telnyx/models/ai/transcription_settings.rbi +25 -6
  121. data/rbi/telnyx/models/ai/transcription_settings_config.rbi +18 -16
  122. data/rbi/telnyx/models/ai/typesafe/v1_systemone_params.rbi +504 -0
  123. data/rbi/telnyx/models/ai/typesafe/v1_systemone_response.rbi +348 -0
  124. data/rbi/telnyx/models/bot_challenge_create_params.rbi +68 -0
  125. data/rbi/telnyx/models/bot_challenge_create_response.rbi +169 -0
  126. data/rbi/telnyx/models/bot_session_list_params.rbi +53 -0
  127. data/rbi/telnyx/models/bot_session_list_response.rbi +64 -0
  128. data/rbi/telnyx/models/bot_signup_create_params.rbi +179 -0
  129. data/rbi/telnyx/models/bot_signup_resend_magic_link_params.rbi +43 -0
  130. data/rbi/telnyx/models/call_dial_params.rbi +111 -10
  131. data/rbi/telnyx/models/calls/action_transfer_params.rbi +111 -10
  132. data/rbi/telnyx/models/calls/transcription_config.rbi +29 -5
  133. data/rbi/telnyx/models/calls/transcription_engine_assemblyai_config.rbi +11 -3
  134. data/rbi/telnyx/models/calls/transcription_engine_parakeet_config.rbi +5 -0
  135. data/rbi/telnyx/models/compute/funcs/export_create_params.rbi +84 -0
  136. data/rbi/telnyx/models/compute/funcs/export_delete_all_params.rbi +42 -0
  137. data/rbi/telnyx/models/compute/funcs/export_list_params.rbi +42 -0
  138. data/rbi/telnyx/models/compute/funcs/func_log_export_config_response.rbi +227 -0
  139. data/rbi/telnyx/models/connection_retrieve_count_params.rbi +30 -0
  140. data/rbi/telnyx/models/connection_retrieve_count_response.rbi +353 -0
  141. data/rbi/telnyx/models/detail_record_list_params.rbi +30 -2
  142. data/rbi/telnyx/models/inbound_message_webhook_event.rbi +4 -173
  143. data/rbi/telnyx/models/machine_payment_account_credit_params.rbi +51 -0
  144. data/rbi/telnyx/models/machine_payment_account_credit_response.rbi +446 -0
  145. data/rbi/telnyx/models/message_retrieve_group_messages_response.rbi +6 -12
  146. data/rbi/telnyx/models/message_retrieve_response.rbi +3 -3
  147. data/rbi/telnyx/models/message_schedule_response.rbi +4 -6
  148. data/rbi/telnyx/models/message_send_group_mms_response.rbi +4 -6
  149. data/rbi/telnyx/models/message_send_long_code_response.rbi +4 -6
  150. data/rbi/telnyx/models/message_send_number_pool_response.rbi +4 -6
  151. data/rbi/telnyx/models/message_send_response.rbi +4 -6
  152. data/rbi/telnyx/models/message_send_short_code_response.rbi +4 -6
  153. data/rbi/telnyx/models/messaging_inbound_message.rbi +152 -0
  154. data/rbi/telnyx/models/messaging_inbound_message_payload.rbi +477 -15
  155. data/rbi/telnyx/models/messaging_outbound_message_payload.rbi +90 -16
  156. data/rbi/telnyx/models/noise_suppression_engine_list_params.rbi +30 -0
  157. data/rbi/telnyx/models/noise_suppression_engine_list_response.rbi +94 -0
  158. data/rbi/telnyx/models/number_order_status_update.rbi +34 -3
  159. data/rbi/telnyx/models/number_order_status_update_webhook_event.rbi +39 -3
  160. data/rbi/telnyx/models/outbound_message.rbi +5 -0
  161. data/rbi/telnyx/models/outbound_message_payload.rbi +74 -4
  162. data/rbi/telnyx/models/speech_to_text_retrieve_transcription_params.rbi +5 -0
  163. data/rbi/telnyx/models/success_response.rbi +36 -0
  164. data/rbi/telnyx/models/texml/accounts/call_calls_params.rbi +339 -0
  165. data/rbi/telnyx/models/texml/accounts/conferences/participant_participants_params.rbi +111 -0
  166. data/rbi/telnyx/models/texml/call_create_params.rbi +124 -0
  167. data/rbi/telnyx/models/texml/call_create_response.rbi +98 -0
  168. data/rbi/telnyx/models/texml_initiate_ai_call_params.rbi +103 -0
  169. data/rbi/telnyx/models/voice_clone_create_from_upload_params.rbi +4 -4
  170. data/rbi/telnyx/models.rbi +21 -0
  171. data/rbi/telnyx/resources/ai/assistants/versions.rbi +19 -7
  172. data/rbi/telnyx/resources/ai/assistants.rbi +25 -12
  173. data/rbi/telnyx/resources/ai/audio.rbi +20 -9
  174. data/rbi/telnyx/resources/ai/typesafe/v1.rbi +61 -0
  175. data/rbi/telnyx/resources/ai/typesafe.rbi +19 -0
  176. data/rbi/telnyx/resources/ai.rbi +3 -0
  177. data/rbi/telnyx/resources/bot_challenge.rbi +45 -0
  178. data/rbi/telnyx/resources/bot_sessions.rbi +45 -0
  179. data/rbi/telnyx/resources/bot_signup.rbi +87 -0
  180. data/rbi/telnyx/resources/calls/actions.rbi +6 -5
  181. data/rbi/telnyx/resources/calls.rbi +6 -5
  182. data/rbi/telnyx/resources/compute/funcs/export.rbi +86 -0
  183. data/rbi/telnyx/resources/compute/funcs.rbi +3 -0
  184. data/rbi/telnyx/resources/connections.rbi +11 -0
  185. data/rbi/telnyx/resources/detail_records.rbi +12 -1
  186. data/rbi/telnyx/resources/email_messages.rbi +5 -3
  187. data/rbi/telnyx/resources/machine_payments.rbi +64 -0
  188. data/rbi/telnyx/resources/noise_suppression_engines.rbi +26 -0
  189. data/rbi/telnyx/resources/texml/accounts/conferences/participants.rbi +32 -0
  190. data/rbi/telnyx/resources/texml/calls.rbi +50 -0
  191. data/rbi/telnyx/resources/texml.rbi +36 -0
  192. data/rbi/telnyx/resources/voice_clones.rbi +4 -2
  193. data/sig/telnyx/client.rbs +10 -0
  194. data/sig/telnyx/models/ai/assistant_tool.rbs +162 -23
  195. data/sig/telnyx/models/ai/audio_transcribe_params.rbs +10 -0
  196. data/sig/telnyx/models/ai/audio_transcribe_response.rbs +29 -43
  197. data/sig/telnyx/models/ai/audio_transcription_response_word.rbs +60 -0
  198. data/sig/telnyx/models/ai/chat_completion_request.rbs +4 -35
  199. data/sig/telnyx/models/ai/inference_embedding_interruption_settings.rbs +5 -0
  200. data/sig/telnyx/models/ai/inference_embedding_webhook_tool_params.rbs +10 -3
  201. data/sig/telnyx/models/ai/openai/function_definition.rbs +34 -0
  202. data/sig/telnyx/models/ai/privacy_settings.rbs +11 -3
  203. data/sig/telnyx/models/ai/retrieval_tool.rbs +10 -3
  204. data/sig/telnyx/models/ai/telephony_settings.rbs +52 -4
  205. data/sig/telnyx/models/ai/transcription_settings.rbs +4 -0
  206. data/sig/telnyx/models/ai/typesafe/v1_systemone_params.rbs +195 -0
  207. data/sig/telnyx/models/ai/typesafe/v1_systemone_response.rbs +141 -0
  208. data/sig/telnyx/models/bot_challenge_create_params.rbs +42 -0
  209. data/sig/telnyx/models/bot_challenge_create_response.rbs +72 -0
  210. data/sig/telnyx/models/bot_session_list_params.rbs +28 -0
  211. data/sig/telnyx/models/bot_session_list_response.rbs +26 -0
  212. data/sig/telnyx/models/bot_signup_create_params.rbs +89 -0
  213. data/sig/telnyx/models/bot_signup_resend_magic_link_params.rbs +20 -0
  214. data/sig/telnyx/models/call_dial_params.rbs +49 -0
  215. data/sig/telnyx/models/calls/action_transfer_params.rbs +49 -0
  216. data/sig/telnyx/models/calls/transcription_config.rbs +4 -0
  217. data/sig/telnyx/models/calls/transcription_engine_assemblyai_config.rbs +3 -1
  218. data/sig/telnyx/models/calls/transcription_engine_parakeet_config.rbs +3 -1
  219. data/sig/telnyx/models/compute/funcs/export_create_params.rbs +50 -0
  220. data/sig/telnyx/models/compute/funcs/export_delete_all_params.rbs +27 -0
  221. data/sig/telnyx/models/compute/funcs/export_list_params.rbs +27 -0
  222. data/sig/telnyx/models/compute/funcs/func_log_export_config_response.rbs +115 -0
  223. data/sig/telnyx/models/connection_retrieve_count_params.rbs +15 -0
  224. data/sig/telnyx/models/connection_retrieve_count_response.rbs +169 -0
  225. data/sig/telnyx/models/inbound_message_webhook_event.rbs +6 -79
  226. data/sig/telnyx/models/machine_payment_account_credit_params.rbs +23 -0
  227. data/sig/telnyx/models/machine_payment_account_credit_response.rbs +164 -0
  228. data/sig/telnyx/models/message_retrieve_group_messages_response.rbs +6 -8
  229. data/sig/telnyx/models/message_retrieve_response.rbs +1 -2
  230. data/sig/telnyx/models/message_schedule_response.rbs +6 -7
  231. data/sig/telnyx/models/message_send_group_mms_response.rbs +6 -6
  232. data/sig/telnyx/models/message_send_long_code_response.rbs +6 -6
  233. data/sig/telnyx/models/message_send_number_pool_response.rbs +6 -6
  234. data/sig/telnyx/models/message_send_response.rbs +6 -7
  235. data/sig/telnyx/models/message_send_short_code_response.rbs +6 -6
  236. data/sig/telnyx/models/messaging_inbound_message.rbs +76 -0
  237. data/sig/telnyx/models/messaging_inbound_message_payload.rbs +235 -6
  238. data/sig/telnyx/models/messaging_outbound_message_payload.rbs +39 -1
  239. data/sig/telnyx/models/noise_suppression_engine_list_params.rbs +15 -0
  240. data/sig/telnyx/models/noise_suppression_engine_list_response.rbs +43 -0
  241. data/sig/telnyx/models/number_order_status_update.rbs +14 -4
  242. data/sig/telnyx/models/number_order_status_update_webhook_event.rbs +14 -4
  243. data/sig/telnyx/models/outbound_message.rbs +2 -1
  244. data/sig/telnyx/models/outbound_message_payload.rbs +45 -7
  245. data/sig/telnyx/models/speech_to_text_retrieve_transcription_params.rbs +2 -0
  246. data/sig/telnyx/models/success_response.rbs +15 -0
  247. data/sig/telnyx/models/texml/accounts/call_calls_params.rbs +159 -0
  248. data/sig/telnyx/models/texml/accounts/conferences/participant_participants_params.rbs +49 -0
  249. data/sig/telnyx/models/texml/call_create_params.rbs +72 -0
  250. data/sig/telnyx/models/texml/call_create_response.rbs +47 -0
  251. data/sig/telnyx/models/texml_initiate_ai_call_params.rbs +49 -0
  252. data/sig/telnyx/models.rbs +18 -0
  253. data/sig/telnyx/resources/ai/typesafe/v1.rbs +17 -0
  254. data/sig/telnyx/resources/ai/typesafe.rbs +11 -0
  255. data/sig/telnyx/resources/ai.rbs +2 -0
  256. data/sig/telnyx/resources/bot_challenge.rbs +14 -0
  257. data/sig/telnyx/resources/bot_sessions.rbs +13 -0
  258. data/sig/telnyx/resources/bot_signup.rbs +24 -0
  259. data/sig/telnyx/resources/compute/funcs/export.rbs +30 -0
  260. data/sig/telnyx/resources/compute/funcs.rbs +2 -0
  261. data/sig/telnyx/resources/connections.rbs +4 -0
  262. data/sig/telnyx/resources/machine_payments.rbs +12 -0
  263. data/sig/telnyx/resources/noise_suppression_engines.rbs +11 -0
  264. data/sig/telnyx/resources/texml/accounts/conferences/participants.rbs +7 -0
  265. data/sig/telnyx/resources/texml/calls.rbs +19 -0
  266. data/sig/telnyx/resources/texml.rbs +9 -0
  267. metadata +101 -2
@@ -0,0 +1,115 @@
1
+ module Telnyx
2
+ module Models
3
+ module Compute
4
+ class FuncLogExportConfigResponse = Funcs::FuncLogExportConfigResponse
5
+
6
+ module Funcs
7
+ type func_log_export_config_response =
8
+ { data: Telnyx::Compute::Funcs::FuncLogExportConfigResponse::Data }
9
+
10
+ class FuncLogExportConfigResponse < Telnyx::Internal::Type::BaseModel
11
+ attr_reader data: Telnyx::Compute::Funcs::FuncLogExportConfigResponse::Data?
12
+
13
+ def data=: (
14
+ Telnyx::Compute::Funcs::FuncLogExportConfigResponse::Data
15
+ ) -> Telnyx::Compute::Funcs::FuncLogExportConfigResponse::Data
16
+
17
+ def initialize: (
18
+ ?data: Telnyx::Compute::Funcs::FuncLogExportConfigResponse::Data
19
+ ) -> void
20
+
21
+ def to_hash: -> {
22
+ data: Telnyx::Compute::Funcs::FuncLogExportConfigResponse::Data
23
+ }
24
+
25
+ type data =
26
+ {
27
+ id: String,
28
+ created_at: Time,
29
+ enabled: bool,
30
+ endpoint: String,
31
+ func_id: String,
32
+ invocation_export_enabled: bool,
33
+ record_type: Telnyx::Models::Compute::Funcs::FuncLogExportConfigResponse::Data::record_type,
34
+ runtime_export_enabled: bool,
35
+ updated_at: Time
36
+ }
37
+
38
+ class Data < Telnyx::Internal::Type::BaseModel
39
+ attr_reader id: String?
40
+
41
+ def id=: (String) -> String
42
+
43
+ attr_reader created_at: Time?
44
+
45
+ def created_at=: (Time) -> Time
46
+
47
+ attr_reader enabled: bool?
48
+
49
+ def enabled=: (bool) -> bool
50
+
51
+ attr_reader endpoint: String?
52
+
53
+ def endpoint=: (String) -> String
54
+
55
+ attr_reader func_id: String?
56
+
57
+ def func_id=: (String) -> String
58
+
59
+ attr_reader invocation_export_enabled: bool?
60
+
61
+ def invocation_export_enabled=: (bool) -> bool
62
+
63
+ attr_reader record_type: Telnyx::Models::Compute::Funcs::FuncLogExportConfigResponse::Data::record_type?
64
+
65
+ def record_type=: (
66
+ Telnyx::Models::Compute::Funcs::FuncLogExportConfigResponse::Data::record_type
67
+ ) -> Telnyx::Models::Compute::Funcs::FuncLogExportConfigResponse::Data::record_type
68
+
69
+ attr_reader runtime_export_enabled: bool?
70
+
71
+ def runtime_export_enabled=: (bool) -> bool
72
+
73
+ attr_reader updated_at: Time?
74
+
75
+ def updated_at=: (Time) -> Time
76
+
77
+ def initialize: (
78
+ ?id: String,
79
+ ?created_at: Time,
80
+ ?enabled: bool,
81
+ ?endpoint: String,
82
+ ?func_id: String,
83
+ ?invocation_export_enabled: bool,
84
+ ?record_type: Telnyx::Models::Compute::Funcs::FuncLogExportConfigResponse::Data::record_type,
85
+ ?runtime_export_enabled: bool,
86
+ ?updated_at: Time
87
+ ) -> void
88
+
89
+ def to_hash: -> {
90
+ id: String,
91
+ created_at: Time,
92
+ enabled: bool,
93
+ endpoint: String,
94
+ func_id: String,
95
+ invocation_export_enabled: bool,
96
+ record_type: Telnyx::Models::Compute::Funcs::FuncLogExportConfigResponse::Data::record_type,
97
+ runtime_export_enabled: bool,
98
+ updated_at: Time
99
+ }
100
+
101
+ type record_type = :compute_func_log_export_config
102
+
103
+ module RecordType
104
+ extend Telnyx::Internal::Type::Enum
105
+
106
+ COMPUTE_FUNC_LOG_EXPORT_CONFIG: :compute_func_log_export_config
107
+
108
+ def self?.values: -> ::Array[Telnyx::Models::Compute::Funcs::FuncLogExportConfigResponse::Data::record_type]
109
+ end
110
+ end
111
+ end
112
+ end
113
+ end
114
+ end
115
+ end
@@ -0,0 +1,15 @@
1
+ module Telnyx
2
+ module Models
3
+ type connection_retrieve_count_params =
4
+ { } & Telnyx::Internal::Type::request_parameters
5
+
6
+ class ConnectionRetrieveCountParams < Telnyx::Internal::Type::BaseModel
7
+ extend Telnyx::Internal::Type::RequestParameters::Converter
8
+ include Telnyx::Internal::Type::RequestParameters
9
+
10
+ def initialize: (?request_options: Telnyx::request_opts) -> void
11
+
12
+ def to_hash: -> { request_options: Telnyx::RequestOptions }
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,169 @@
1
+ module Telnyx
2
+ module Models
3
+ type connection_retrieve_count_response =
4
+ { data: Telnyx::Models::ConnectionRetrieveCountResponse::Data }
5
+
6
+ class ConnectionRetrieveCountResponse < Telnyx::Internal::Type::BaseModel
7
+ attr_accessor data: Telnyx::Models::ConnectionRetrieveCountResponse::Data
8
+
9
+ def initialize: (
10
+ data: Telnyx::Models::ConnectionRetrieveCountResponse::Data
11
+ ) -> void
12
+
13
+ def to_hash: -> {
14
+ data: Telnyx::Models::ConnectionRetrieveCountResponse::Data
15
+ }
16
+
17
+ type data =
18
+ {
19
+ counts: Telnyx::Models::ConnectionRetrieveCountResponse::Data::Counts,
20
+ limits: Telnyx::Models::ConnectionRetrieveCountResponse::Data::limits,
21
+ record_type: String
22
+ }
23
+
24
+ class Data < Telnyx::Internal::Type::BaseModel
25
+ attr_accessor counts: Telnyx::Models::ConnectionRetrieveCountResponse::Data::Counts
26
+
27
+ attr_accessor limits: Telnyx::Models::ConnectionRetrieveCountResponse::Data::limits
28
+
29
+ attr_accessor record_type: String
30
+
31
+ def initialize: (
32
+ counts: Telnyx::Models::ConnectionRetrieveCountResponse::Data::Counts,
33
+ limits: Telnyx::Models::ConnectionRetrieveCountResponse::Data::limits,
34
+ record_type: String
35
+ ) -> void
36
+
37
+ def to_hash: -> {
38
+ counts: Telnyx::Models::ConnectionRetrieveCountResponse::Data::Counts,
39
+ limits: Telnyx::Models::ConnectionRetrieveCountResponse::Data::limits,
40
+ record_type: String
41
+ }
42
+
43
+ type counts =
44
+ {
45
+ call_control_applications: Integer,
46
+ credential_connections: Integer,
47
+ external_connections: Integer,
48
+ fax_connections: Integer,
49
+ fqdn_connections: Integer,
50
+ ip_connections: Integer,
51
+ microsoft_teams_sbc_connections: Integer,
52
+ mobile_voice_connections: Integer,
53
+ operator_connect_connections: Integer,
54
+ texml_applications: Integer,
55
+ third_party_provider_connections: Integer,
56
+ uac_connections: Integer,
57
+ zoom_sbc_connections: Integer
58
+ }
59
+
60
+ class Counts < Telnyx::Internal::Type::BaseModel
61
+ attr_accessor call_control_applications: Integer
62
+
63
+ attr_accessor credential_connections: Integer
64
+
65
+ attr_accessor external_connections: Integer
66
+
67
+ attr_accessor fax_connections: Integer
68
+
69
+ attr_accessor fqdn_connections: Integer
70
+
71
+ attr_accessor ip_connections: Integer
72
+
73
+ attr_accessor microsoft_teams_sbc_connections: Integer
74
+
75
+ attr_accessor mobile_voice_connections: Integer
76
+
77
+ attr_accessor operator_connect_connections: Integer
78
+
79
+ attr_accessor texml_applications: Integer
80
+
81
+ attr_accessor third_party_provider_connections: Integer
82
+
83
+ attr_accessor uac_connections: Integer
84
+
85
+ attr_accessor zoom_sbc_connections: Integer
86
+
87
+ def initialize: (
88
+ call_control_applications: Integer,
89
+ credential_connections: Integer,
90
+ external_connections: Integer,
91
+ fax_connections: Integer,
92
+ fqdn_connections: Integer,
93
+ ip_connections: Integer,
94
+ microsoft_teams_sbc_connections: Integer,
95
+ mobile_voice_connections: Integer,
96
+ operator_connect_connections: Integer,
97
+ texml_applications: Integer,
98
+ third_party_provider_connections: Integer,
99
+ uac_connections: Integer,
100
+ zoom_sbc_connections: Integer
101
+ ) -> void
102
+
103
+ def to_hash: -> {
104
+ call_control_applications: Integer,
105
+ credential_connections: Integer,
106
+ external_connections: Integer,
107
+ fax_connections: Integer,
108
+ fqdn_connections: Integer,
109
+ ip_connections: Integer,
110
+ microsoft_teams_sbc_connections: Integer,
111
+ mobile_voice_connections: Integer,
112
+ operator_connect_connections: Integer,
113
+ texml_applications: Integer,
114
+ third_party_provider_connections: Integer,
115
+ uac_connections: Integer,
116
+ zoom_sbc_connections: Integer
117
+ }
118
+ end
119
+
120
+ type limits =
121
+ Telnyx::Models::ConnectionRetrieveCountResponse::Data::Limits::GlobalConnectionLimit
122
+ | Telnyx::Models::ConnectionRetrieveCountResponse::Data::Limits::PerTypeConnectionLimits
123
+
124
+ module Limits
125
+ extend Telnyx::Internal::Type::Union
126
+
127
+ type global_connection_limit = { global_limit: Integer }
128
+
129
+ class GlobalConnectionLimit < Telnyx::Internal::Type::BaseModel
130
+ attr_accessor global_limit: Integer
131
+
132
+ def initialize: (global_limit: Integer) -> void
133
+
134
+ def to_hash: -> { global_limit: Integer }
135
+ end
136
+
137
+ type per_type_connection_limits =
138
+ {
139
+ standard_limit: Integer,
140
+ texml_limit: Integer,
141
+ uac_limit: Integer
142
+ }
143
+
144
+ class PerTypeConnectionLimits < Telnyx::Internal::Type::BaseModel
145
+ attr_accessor standard_limit: Integer
146
+
147
+ attr_accessor texml_limit: Integer
148
+
149
+ attr_accessor uac_limit: Integer
150
+
151
+ def initialize: (
152
+ standard_limit: Integer,
153
+ texml_limit: Integer,
154
+ uac_limit: Integer
155
+ ) -> void
156
+
157
+ def to_hash: -> {
158
+ standard_limit: Integer,
159
+ texml_limit: Integer,
160
+ uac_limit: Integer
161
+ }
162
+ end
163
+
164
+ def self?.variants: -> ::Array[Telnyx::Models::ConnectionRetrieveCountResponse::Data::limits]
165
+ end
166
+ end
167
+ end
168
+ end
169
+ end
@@ -1,91 +1,18 @@
1
1
  module Telnyx
2
2
  module Models
3
3
  type inbound_message_webhook_event =
4
- { data: Telnyx::InboundMessageWebhookEvent::Data }
4
+ { data: Telnyx::MessagingInboundMessage }
5
5
 
6
6
  class InboundMessageWebhookEvent < Telnyx::Internal::Type::BaseModel
7
- attr_reader data: Telnyx::InboundMessageWebhookEvent::Data?
7
+ attr_reader data: Telnyx::MessagingInboundMessage?
8
8
 
9
9
  def data=: (
10
- Telnyx::InboundMessageWebhookEvent::Data
11
- ) -> Telnyx::InboundMessageWebhookEvent::Data
10
+ Telnyx::MessagingInboundMessage
11
+ ) -> Telnyx::MessagingInboundMessage
12
12
 
13
- def initialize: (?data: Telnyx::InboundMessageWebhookEvent::Data) -> void
13
+ def initialize: (?data: Telnyx::MessagingInboundMessage) -> void
14
14
 
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::MessagingInboundMessagePayload,
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::MessagingInboundMessagePayload?
42
-
43
- def payload=: (
44
- Telnyx::MessagingInboundMessagePayload
45
- ) -> Telnyx::MessagingInboundMessagePayload
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::MessagingInboundMessagePayload,
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::MessagingInboundMessagePayload,
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
15
+ def to_hash: -> { data: Telnyx::MessagingInboundMessage }
89
16
  end
90
17
  end
91
18
  end
@@ -0,0 +1,23 @@
1
+ module Telnyx
2
+ module Models
3
+ type machine_payment_account_credit_params =
4
+ { amount_usd: String } & Telnyx::Internal::Type::request_parameters
5
+
6
+ class MachinePaymentAccountCreditParams < Telnyx::Internal::Type::BaseModel
7
+ extend Telnyx::Internal::Type::RequestParameters::Converter
8
+ include Telnyx::Internal::Type::RequestParameters
9
+
10
+ attr_accessor amount_usd: String
11
+
12
+ def initialize: (
13
+ amount_usd: String,
14
+ ?request_options: Telnyx::request_opts
15
+ ) -> void
16
+
17
+ def to_hash: -> {
18
+ amount_usd: String,
19
+ request_options: Telnyx::RequestOptions
20
+ }
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,164 @@
1
+ module Telnyx
2
+ module Models
3
+ type machine_payment_account_credit_response =
4
+ { data: Telnyx::Models::MachinePaymentAccountCreditResponse::Data }
5
+
6
+ class MachinePaymentAccountCreditResponse < Telnyx::Internal::Type::BaseModel
7
+ attr_reader data: Telnyx::Models::MachinePaymentAccountCreditResponse::Data?
8
+
9
+ def data=: (
10
+ Telnyx::Models::MachinePaymentAccountCreditResponse::Data
11
+ ) -> Telnyx::Models::MachinePaymentAccountCreditResponse::Data
12
+
13
+ def initialize: (
14
+ ?data: Telnyx::Models::MachinePaymentAccountCreditResponse::Data
15
+ ) -> void
16
+
17
+ def to_hash: -> {
18
+ data: Telnyx::Models::MachinePaymentAccountCreditResponse::Data
19
+ }
20
+
21
+ type data =
22
+ {
23
+ id: String,
24
+ account_id: String,
25
+ amount: String,
26
+ currency: String,
27
+ payment_source: Telnyx::Models::MachinePaymentAccountCreditResponse::Data::payment_source,
28
+ record_type: Telnyx::Models::MachinePaymentAccountCreditResponse::Data::record_type,
29
+ created: bool,
30
+ created_at: Time,
31
+ mpp_resource: String?,
32
+ payment_intent_id: String?,
33
+ payment_method: Telnyx::Models::MachinePaymentAccountCreditResponse::Data::payment_method?,
34
+ provider: Telnyx::Models::MachinePaymentAccountCreditResponse::Data::provider?,
35
+ receipt_reference: String?,
36
+ status: Telnyx::Models::MachinePaymentAccountCreditResponse::Data::status?
37
+ }
38
+
39
+ class Data < Telnyx::Internal::Type::BaseModel
40
+ attr_accessor id: String
41
+
42
+ attr_accessor account_id: String
43
+
44
+ attr_accessor amount: String
45
+
46
+ attr_accessor currency: String
47
+
48
+ attr_accessor payment_source: Telnyx::Models::MachinePaymentAccountCreditResponse::Data::payment_source
49
+
50
+ attr_accessor record_type: Telnyx::Models::MachinePaymentAccountCreditResponse::Data::record_type
51
+
52
+ attr_reader created: bool?
53
+
54
+ def created=: (bool) -> bool
55
+
56
+ attr_reader created_at: Time?
57
+
58
+ def created_at=: (Time) -> Time
59
+
60
+ attr_accessor mpp_resource: String?
61
+
62
+ attr_accessor payment_intent_id: String?
63
+
64
+ attr_accessor payment_method: Telnyx::Models::MachinePaymentAccountCreditResponse::Data::payment_method?
65
+
66
+ attr_accessor provider: Telnyx::Models::MachinePaymentAccountCreditResponse::Data::provider?
67
+
68
+ attr_accessor receipt_reference: String?
69
+
70
+ attr_accessor status: Telnyx::Models::MachinePaymentAccountCreditResponse::Data::status?
71
+
72
+ def initialize: (
73
+ id: String,
74
+ account_id: String,
75
+ amount: String,
76
+ currency: String,
77
+ payment_source: Telnyx::Models::MachinePaymentAccountCreditResponse::Data::payment_source,
78
+ record_type: Telnyx::Models::MachinePaymentAccountCreditResponse::Data::record_type,
79
+ ?created: bool,
80
+ ?created_at: Time,
81
+ ?mpp_resource: String?,
82
+ ?payment_intent_id: String?,
83
+ ?payment_method: Telnyx::Models::MachinePaymentAccountCreditResponse::Data::payment_method?,
84
+ ?provider: Telnyx::Models::MachinePaymentAccountCreditResponse::Data::provider?,
85
+ ?receipt_reference: String?,
86
+ ?status: Telnyx::Models::MachinePaymentAccountCreditResponse::Data::status?
87
+ ) -> void
88
+
89
+ def to_hash: -> {
90
+ id: String,
91
+ account_id: String,
92
+ amount: String,
93
+ currency: String,
94
+ payment_source: Telnyx::Models::MachinePaymentAccountCreditResponse::Data::payment_source,
95
+ record_type: Telnyx::Models::MachinePaymentAccountCreditResponse::Data::record_type,
96
+ created: bool,
97
+ created_at: Time,
98
+ mpp_resource: String?,
99
+ payment_intent_id: String?,
100
+ payment_method: Telnyx::Models::MachinePaymentAccountCreditResponse::Data::payment_method?,
101
+ provider: Telnyx::Models::MachinePaymentAccountCreditResponse::Data::provider?,
102
+ receipt_reference: String?,
103
+ status: Telnyx::Models::MachinePaymentAccountCreditResponse::Data::status?
104
+ }
105
+
106
+ type payment_source = :machine_payment
107
+
108
+ module PaymentSource
109
+ extend Telnyx::Internal::Type::Enum
110
+
111
+ MACHINE_PAYMENT: :machine_payment
112
+
113
+ def self?.values: -> ::Array[Telnyx::Models::MachinePaymentAccountCreditResponse::Data::payment_source]
114
+ end
115
+
116
+ type record_type = :machine_payment_account_credit
117
+
118
+ module RecordType
119
+ extend Telnyx::Internal::Type::Enum
120
+
121
+ MACHINE_PAYMENT_ACCOUNT_CREDIT: :machine_payment_account_credit
122
+
123
+ def self?.values: -> ::Array[Telnyx::Models::MachinePaymentAccountCreditResponse::Data::record_type]
124
+ end
125
+
126
+ type payment_method = :stripe_spt | :tempo_usdc
127
+
128
+ module PaymentMethod
129
+ extend Telnyx::Internal::Type::Enum
130
+
131
+ STRIPE_SPT: :stripe_spt
132
+ TEMPO_USDC: :tempo_usdc
133
+
134
+ def self?.values: -> ::Array[Telnyx::Models::MachinePaymentAccountCreditResponse::Data::payment_method]
135
+ end
136
+
137
+ type provider = :stripe | :tempo
138
+
139
+ module Provider
140
+ extend Telnyx::Internal::Type::Enum
141
+
142
+ STRIPE: :stripe
143
+ TEMPO: :tempo
144
+
145
+ def self?.values: -> ::Array[Telnyx::Models::MachinePaymentAccountCreditResponse::Data::provider]
146
+ end
147
+
148
+ type status = :new | :processing | :settled | :expired | :invalid
149
+
150
+ module Status
151
+ extend Telnyx::Internal::Type::Enum
152
+
153
+ NEW: :new
154
+ PROCESSING: :processing
155
+ SETTLED: :settled
156
+ EXPIRED: :expired
157
+ INVALID: :invalid
158
+
159
+ def self?.values: -> ::Array[Telnyx::Models::MachinePaymentAccountCreditResponse::Data::status]
160
+ end
161
+ end
162
+ end
163
+ end
164
+ end
@@ -1,20 +1,18 @@
1
1
  module Telnyx
2
2
  module Models
3
3
  type message_retrieve_group_messages_response =
4
- { data: ::Array[Telnyx::MessagingOutboundMessagePayload] }
4
+ { data: ::Array[Telnyx::OutboundMessagePayload] }
5
5
 
6
6
  class MessageRetrieveGroupMessagesResponse < Telnyx::Internal::Type::BaseModel
7
- attr_reader data: ::Array[Telnyx::MessagingOutboundMessagePayload]?
7
+ attr_reader data: ::Array[Telnyx::OutboundMessagePayload]?
8
8
 
9
9
  def data=: (
10
- ::Array[Telnyx::MessagingOutboundMessagePayload]
11
- ) -> ::Array[Telnyx::MessagingOutboundMessagePayload]
10
+ ::Array[Telnyx::OutboundMessagePayload]
11
+ ) -> ::Array[Telnyx::OutboundMessagePayload]
12
12
 
13
- def initialize: (
14
- ?data: ::Array[Telnyx::MessagingOutboundMessagePayload]
15
- ) -> void
13
+ def initialize: (?data: ::Array[Telnyx::OutboundMessagePayload]) -> void
16
14
 
17
- def to_hash: -> { data: ::Array[Telnyx::MessagingOutboundMessagePayload] }
15
+ def to_hash: -> { data: ::Array[Telnyx::OutboundMessagePayload] }
18
16
  end
19
17
  end
20
18
  end
@@ -17,8 +17,7 @@ module Telnyx
17
17
  def to_hash: -> { data: Telnyx::Models::MessageRetrieveResponse::data }
18
18
 
19
19
  type data =
20
- Telnyx::MessagingOutboundMessagePayload
21
- | Telnyx::MessagingInboundMessagePayload
20
+ Telnyx::OutboundMessagePayload | Telnyx::MessagingInboundMessagePayload
22
21
 
23
22
  module Data
24
23
  extend Telnyx::Internal::Type::Union
@@ -1,18 +1,17 @@
1
1
  module Telnyx
2
2
  module Models
3
- type message_schedule_response =
4
- { data: Telnyx::MessagingOutboundMessagePayload }
3
+ type message_schedule_response = { data: Telnyx::OutboundMessagePayload }
5
4
 
6
5
  class MessageScheduleResponse < Telnyx::Internal::Type::BaseModel
7
- attr_reader data: Telnyx::MessagingOutboundMessagePayload?
6
+ attr_reader data: Telnyx::OutboundMessagePayload?
8
7
 
9
8
  def data=: (
10
- Telnyx::MessagingOutboundMessagePayload
11
- ) -> Telnyx::MessagingOutboundMessagePayload
9
+ Telnyx::OutboundMessagePayload
10
+ ) -> Telnyx::OutboundMessagePayload
12
11
 
13
- def initialize: (?data: Telnyx::MessagingOutboundMessagePayload) -> void
12
+ def initialize: (?data: Telnyx::OutboundMessagePayload) -> void
14
13
 
15
- def to_hash: -> { data: Telnyx::MessagingOutboundMessagePayload }
14
+ def to_hash: -> { data: Telnyx::OutboundMessagePayload }
16
15
  end
17
16
  end
18
17
  end
@@ -1,18 +1,18 @@
1
1
  module Telnyx
2
2
  module Models
3
3
  type message_send_group_mms_response =
4
- { data: Telnyx::MessagingOutboundMessagePayload }
4
+ { data: Telnyx::OutboundMessagePayload }
5
5
 
6
6
  class MessageSendGroupMmsResponse < Telnyx::Internal::Type::BaseModel
7
- attr_reader data: Telnyx::MessagingOutboundMessagePayload?
7
+ attr_reader data: Telnyx::OutboundMessagePayload?
8
8
 
9
9
  def data=: (
10
- Telnyx::MessagingOutboundMessagePayload
11
- ) -> Telnyx::MessagingOutboundMessagePayload
10
+ Telnyx::OutboundMessagePayload
11
+ ) -> Telnyx::OutboundMessagePayload
12
12
 
13
- def initialize: (?data: Telnyx::MessagingOutboundMessagePayload) -> void
13
+ def initialize: (?data: Telnyx::OutboundMessagePayload) -> void
14
14
 
15
- def to_hash: -> { data: Telnyx::MessagingOutboundMessagePayload }
15
+ def to_hash: -> { data: Telnyx::OutboundMessagePayload }
16
16
  end
17
17
  end
18
18
  end