telnyx 5.167.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/README.md +1 -1
- data/lib/telnyx/client.rb +44 -0
- data/lib/telnyx/internal/type/union.rb +6 -6
- data/lib/telnyx/models/ai/assistant_a2_a_agent.rb +195 -0
- data/lib/telnyx/models/ai/assistant_create_params.rb +22 -7
- data/lib/telnyx/models/ai/assistant_tool.rb +285 -12
- data/lib/telnyx/models/ai/assistant_update_params.rb +37 -10
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +37 -10
- data/lib/telnyx/models/ai/audio_transcribe_params.rb +33 -13
- data/lib/telnyx/models/ai/audio_transcribe_response.rb +34 -56
- data/lib/telnyx/models/ai/audio_transcription_response_word.rb +74 -0
- data/lib/telnyx/models/ai/chat_completion_request.rb +128 -74
- data/lib/telnyx/models/ai/flow_node.rb +2 -2
- data/lib/telnyx/models/ai/inference_embedding.rb +29 -11
- data/lib/telnyx/models/ai/inference_embedding_interruption_settings.rb +10 -1
- data/lib/telnyx/models/ai/inference_embedding_webhook_tool_params.rb +21 -1
- data/lib/telnyx/models/ai/openai/function_definition.rb +31 -0
- data/lib/telnyx/models/ai/post_conversation_settings.rb +4 -4
- data/lib/telnyx/models/ai/post_conversation_settings_req.rb +4 -4
- data/lib/telnyx/models/ai/privacy_settings.rb +20 -1
- data/lib/telnyx/models/ai/retrieval_tool.rb +21 -1
- data/lib/telnyx/models/ai/telephony_settings.rb +101 -17
- data/lib/telnyx/models/ai/tool_node.rb +2 -2
- data/lib/telnyx/models/ai/transcription_settings.rb +12 -4
- data/lib/telnyx/models/ai/transcription_settings_config.rb +12 -11
- data/lib/telnyx/models/ai/typesafe/v1_systemone_params.rb +268 -0
- data/lib/telnyx/models/ai/typesafe/v1_systemone_response.rb +222 -0
- data/lib/telnyx/models/bot_challenge_create_params.rb +38 -0
- data/lib/telnyx/models/bot_challenge_create_response.rb +87 -0
- data/lib/telnyx/models/bot_session_list_params.rb +34 -0
- data/lib/telnyx/models/bot_session_list_response.rb +32 -0
- data/lib/telnyx/models/bot_signup_create_params.rb +103 -0
- data/lib/telnyx/models/bot_signup_resend_magic_link_params.rb +22 -0
- data/lib/telnyx/models/call_dial_params.rb +75 -7
- data/lib/telnyx/models/calls/action_transfer_params.rb +75 -7
- data/lib/telnyx/models/calls/transcription_config.rb +14 -3
- data/lib/telnyx/models/calls/transcription_engine_assemblyai_config.rb +6 -3
- data/lib/telnyx/models/calls/transcription_engine_parakeet_config.rb +1 -0
- data/lib/telnyx/models/compute/func_retrieve_logs_params.rb +66 -0
- data/lib/telnyx/models/compute/func_retrieve_logs_response.rb +161 -0
- data/lib/telnyx/models/compute/func_retrieve_metric_aggregates_params.rb +69 -0
- data/lib/telnyx/models/compute/func_retrieve_metric_aggregates_response.rb +137 -0
- data/lib/telnyx/models/compute/func_retrieve_revisions_params.rb +34 -0
- data/lib/telnyx/models/compute/func_retrieve_revisions_response.rb +101 -0
- data/lib/telnyx/models/compute/func_retrieve_ship_inspection_params.rb +22 -0
- data/lib/telnyx/models/compute/func_retrieve_ship_inspection_response.rb +94 -0
- data/lib/telnyx/models/compute/funcs/export_create_params.rb +62 -0
- data/lib/telnyx/models/compute/funcs/export_delete_all_params.rb +24 -0
- data/lib/telnyx/models/compute/funcs/export_list_params.rb +24 -0
- data/lib/telnyx/models/compute/funcs/func_log_export_config_response.rb +113 -0
- data/lib/telnyx/models/compute/functions_observability_pagination_meta.rb +35 -0
- data/lib/telnyx/models/compute/logs_meta.rb +23 -0
- data/lib/telnyx/models/connection_retrieve_count_params.rb +14 -0
- data/lib/telnyx/models/connection_retrieve_count_response.rb +215 -0
- data/lib/telnyx/models/credential_connection.rb +4 -1
- data/lib/telnyx/models/detail_record_list_params.rb +19 -2
- data/lib/telnyx/models/email_inboxes/email_message.rb +12 -1
- data/lib/telnyx/models/email_message_batch_params.rb +4 -1
- data/lib/telnyx/models/email_message_batch_response.rb +1 -0
- data/lib/telnyx/models/fqdn_connection.rb +5 -2
- data/lib/telnyx/models/fqdn_connections/fqdn_authentication.rb +9 -2
- data/lib/telnyx/models/inbound_message_webhook_event.rb +3 -70
- data/lib/telnyx/models/machine_payment_account_credit_params.rb +29 -0
- data/lib/telnyx/models/machine_payment_account_credit_response.rb +223 -0
- data/lib/telnyx/models/message_retrieve_group_messages_response.rb +3 -3
- data/lib/telnyx/models/message_retrieve_response.rb +4 -4
- data/lib/telnyx/models/message_schedule_response.rb +3 -3
- data/lib/telnyx/models/message_send_group_mms_response.rb +3 -3
- data/lib/telnyx/models/message_send_long_code_response.rb +3 -3
- data/lib/telnyx/models/message_send_number_pool_response.rb +3 -3
- data/lib/telnyx/models/message_send_response.rb +3 -3
- data/lib/telnyx/models/message_send_short_code_response.rb +3 -3
- data/lib/telnyx/models/messaging_inbound_message.rb +71 -0
- data/lib/telnyx/models/messaging_inbound_message_payload.rb +412 -66
- data/lib/telnyx/models/messaging_messaging_profile.rb +11 -1
- data/lib/telnyx/models/messaging_outbound_message_payload.rb +42 -2
- data/lib/telnyx/models/messaging_profile_create_params.rb +11 -1
- data/lib/telnyx/models/messaging_profile_features.rb +26 -0
- data/lib/telnyx/models/messaging_profile_update_params.rb +11 -1
- data/lib/telnyx/models/noise_suppression_engine_list_params.rb +14 -0
- data/lib/telnyx/models/noise_suppression_engine_list_response.rb +50 -0
- data/lib/telnyx/models/number_order_status_update.rb +15 -3
- data/lib/telnyx/models/number_order_status_update_webhook_event.rb +15 -3
- data/lib/telnyx/models/outbound_message.rb +1 -0
- data/lib/telnyx/models/outbound_message_payload.rb +45 -5
- data/lib/telnyx/models/speech_to_text_retrieve_transcription_params.rb +1 -0
- data/lib/telnyx/models/success_response.rb +27 -0
- data/lib/telnyx/models/texml/accounts/call_calls_params.rb +246 -3
- data/lib/telnyx/models/texml/accounts/conferences/participant_participants_params.rb +82 -1
- data/lib/telnyx/models/texml/call_create_params.rb +78 -0
- data/lib/telnyx/models/texml/call_create_response.rb +55 -0
- data/lib/telnyx/models/texml_initiate_ai_call_params.rb +76 -1
- data/lib/telnyx/models/uac_connection.rb +4 -1
- data/lib/telnyx/models/uac_external_settings.rb +6 -2
- data/lib/telnyx/models/unsafe_unwrap_webhook_event.rb +5 -1
- data/lib/telnyx/models/unwrap_webhook_event.rb +5 -1
- data/lib/telnyx/models/voice_clone_create_from_upload_params.rb +2 -2
- data/lib/telnyx/models/whatsapp/business_accounts/phone_number_list_response.rb +104 -1
- data/lib/telnyx/models/whatsapp/phone_number_get_response.rb +103 -1
- data/lib/telnyx/models/whatsapp/phone_number_list_response.rb +103 -1
- data/lib/telnyx/models/whatsapp/phone_number_retrieve_phone_number_params.rb +22 -0
- data/lib/telnyx/models/whatsapp/phone_number_retrieve_phone_number_response.rb +207 -0
- data/lib/telnyx/models/whatsapp_account_update.rb +112 -0
- data/lib/telnyx/models/whatsapp_message_echo.rb +340 -0
- data/lib/telnyx/models/x402/credit_account/payment_list_params.rb +34 -0
- data/lib/telnyx/models/x402/credit_account/payment_retrieve_params.rb +24 -0
- data/lib/telnyx/models/x402/credit_account/payment_retrieve_response.rb +21 -0
- data/lib/telnyx/models/x402/credit_account/x402_transaction_record.rb +113 -0
- data/lib/telnyx/models.rb +26 -0
- data/lib/telnyx/resources/ai/assistants/versions.rb +4 -2
- data/lib/telnyx/resources/ai/assistants.rb +8 -4
- data/lib/telnyx/resources/ai/audio.rb +2 -2
- data/lib/telnyx/resources/ai/openai/chat.rb +2 -8
- data/lib/telnyx/resources/ai/typesafe/v1.rb +62 -0
- data/lib/telnyx/resources/ai/typesafe.rb +22 -0
- data/lib/telnyx/resources/ai.rb +4 -0
- data/lib/telnyx/resources/bot_challenge.rb +53 -0
- data/lib/telnyx/resources/bot_sessions.rb +57 -0
- data/lib/telnyx/resources/bot_signup.rb +97 -0
- data/lib/telnyx/resources/calls/actions.rb +1 -1
- data/lib/telnyx/resources/calls.rb +1 -1
- data/lib/telnyx/resources/compute/funcs/export.rb +105 -0
- data/lib/telnyx/resources/compute/funcs.rb +145 -0
- data/lib/telnyx/resources/compute.rb +18 -0
- data/lib/telnyx/resources/connections.rb +20 -0
- data/lib/telnyx/resources/detail_records.rb +1 -1
- data/lib/telnyx/resources/email_messages.rb +6 -2
- data/lib/telnyx/resources/machine_payments.rb +73 -0
- data/lib/telnyx/resources/messaging_profiles.rb +6 -2
- data/lib/telnyx/resources/noise_suppression_engines.rb +37 -0
- data/lib/telnyx/resources/texml/accounts/conferences/participants.rb +15 -1
- data/lib/telnyx/resources/texml/calls.rb +57 -0
- data/lib/telnyx/resources/texml.rb +20 -1
- data/lib/telnyx/resources/voice_clones.rb +4 -2
- data/lib/telnyx/resources/webhooks.rb +2 -2
- data/lib/telnyx/resources/whatsapp/phone_numbers.rb +22 -0
- data/lib/telnyx/resources/x402/credit_account/payments.rb +71 -0
- data/lib/telnyx/resources/x402/credit_account.rb +8 -2
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +56 -0
- data/rbi/telnyx/client.rbi +38 -0
- data/rbi/telnyx/models/ai/assistant_a2_a_agent.rbi +345 -0
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +45 -12
- data/rbi/telnyx/models/ai/assistant_tool.rbi +423 -20
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +73 -16
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +73 -16
- data/rbi/telnyx/models/ai/audio_transcribe_params.rbi +71 -20
- data/rbi/telnyx/models/ai/audio_transcribe_response.rbi +63 -97
- data/rbi/telnyx/models/ai/audio_transcription_response_word.rbi +108 -0
- data/rbi/telnyx/models/ai/chat_completion_request.rbi +228 -150
- data/rbi/telnyx/models/ai/flow_node.rbi +4 -2
- data/rbi/telnyx/models/ai/inference_embedding.rbi +53 -16
- data/rbi/telnyx/models/ai/inference_embedding_interruption_settings.rbi +10 -0
- data/rbi/telnyx/models/ai/inference_embedding_webhook_tool_params.rbi +29 -3
- data/rbi/telnyx/models/ai/openai/function_definition.rbi +56 -0
- data/rbi/telnyx/models/ai/post_conversation_settings.rbi +4 -4
- data/rbi/telnyx/models/ai/post_conversation_settings_req.rbi +4 -4
- data/rbi/telnyx/models/ai/privacy_settings.rbi +43 -3
- data/rbi/telnyx/models/ai/retrieval_tool.rbi +29 -3
- data/rbi/telnyx/models/ai/telephony_settings.rbi +197 -20
- data/rbi/telnyx/models/ai/tool_node.rbi +4 -2
- data/rbi/telnyx/models/ai/transcription_settings.rbi +25 -6
- data/rbi/telnyx/models/ai/transcription_settings_config.rbi +18 -16
- data/rbi/telnyx/models/ai/typesafe/v1_systemone_params.rbi +504 -0
- data/rbi/telnyx/models/ai/typesafe/v1_systemone_response.rbi +348 -0
- data/rbi/telnyx/models/bot_challenge_create_params.rbi +68 -0
- data/rbi/telnyx/models/bot_challenge_create_response.rbi +169 -0
- data/rbi/telnyx/models/bot_session_list_params.rbi +53 -0
- data/rbi/telnyx/models/bot_session_list_response.rbi +64 -0
- data/rbi/telnyx/models/bot_signup_create_params.rbi +179 -0
- data/rbi/telnyx/models/bot_signup_resend_magic_link_params.rbi +43 -0
- data/rbi/telnyx/models/call_dial_params.rbi +111 -10
- data/rbi/telnyx/models/calls/action_transfer_params.rbi +111 -10
- data/rbi/telnyx/models/calls/transcription_config.rbi +29 -5
- data/rbi/telnyx/models/calls/transcription_engine_assemblyai_config.rbi +11 -3
- data/rbi/telnyx/models/calls/transcription_engine_parakeet_config.rbi +5 -0
- data/rbi/telnyx/models/compute/func_retrieve_logs_params.rbi +130 -0
- data/rbi/telnyx/models/compute/func_retrieve_logs_response.rbi +410 -0
- data/rbi/telnyx/models/compute/func_retrieve_metric_aggregates_params.rbi +102 -0
- data/rbi/telnyx/models/compute/func_retrieve_metric_aggregates_response.rbi +231 -0
- data/rbi/telnyx/models/compute/func_retrieve_revisions_params.rbi +59 -0
- data/rbi/telnyx/models/compute/func_retrieve_revisions_response.rbi +213 -0
- data/rbi/telnyx/models/compute/func_retrieve_ship_inspection_params.rbi +40 -0
- data/rbi/telnyx/models/compute/func_retrieve_ship_inspection_response.rbi +252 -0
- data/rbi/telnyx/models/compute/funcs/export_create_params.rbi +84 -0
- data/rbi/telnyx/models/compute/funcs/export_delete_all_params.rbi +42 -0
- data/rbi/telnyx/models/compute/funcs/export_list_params.rbi +42 -0
- data/rbi/telnyx/models/compute/funcs/func_log_export_config_response.rbi +227 -0
- data/rbi/telnyx/models/compute/functions_observability_pagination_meta.rbi +70 -0
- data/rbi/telnyx/models/compute/logs_meta.rbi +38 -0
- data/rbi/telnyx/models/connection_retrieve_count_params.rbi +30 -0
- data/rbi/telnyx/models/connection_retrieve_count_response.rbi +353 -0
- data/rbi/telnyx/models/credential_connection.rbi +8 -2
- data/rbi/telnyx/models/detail_record_list_params.rbi +30 -2
- data/rbi/telnyx/models/email_inboxes/email_message.rbi +22 -3
- data/rbi/telnyx/models/email_message_batch_params.rbi +6 -0
- data/rbi/telnyx/models/email_message_batch_response.rbi +5 -0
- data/rbi/telnyx/models/fqdn_connection.rbi +8 -2
- data/rbi/telnyx/models/fqdn_connections/fqdn_authentication.rbi +8 -2
- data/rbi/telnyx/models/inbound_message_webhook_event.rbi +4 -173
- data/rbi/telnyx/models/machine_payment_account_credit_params.rbi +51 -0
- data/rbi/telnyx/models/machine_payment_account_credit_response.rbi +446 -0
- data/rbi/telnyx/models/message_retrieve_group_messages_response.rbi +6 -12
- data/rbi/telnyx/models/message_retrieve_response.rbi +3 -3
- data/rbi/telnyx/models/message_schedule_response.rbi +4 -6
- data/rbi/telnyx/models/message_send_group_mms_response.rbi +4 -6
- data/rbi/telnyx/models/message_send_long_code_response.rbi +4 -6
- data/rbi/telnyx/models/message_send_number_pool_response.rbi +4 -6
- data/rbi/telnyx/models/message_send_response.rbi +4 -6
- data/rbi/telnyx/models/message_send_short_code_response.rbi +4 -6
- data/rbi/telnyx/models/messaging_inbound_message.rbi +152 -0
- data/rbi/telnyx/models/messaging_inbound_message_payload.rbi +911 -192
- data/rbi/telnyx/models/messaging_messaging_profile.rbi +19 -0
- data/rbi/telnyx/models/messaging_outbound_message_payload.rbi +90 -16
- data/rbi/telnyx/models/messaging_profile_create_params.rbi +19 -0
- data/rbi/telnyx/models/messaging_profile_features.rbi +43 -0
- data/rbi/telnyx/models/messaging_profile_update_params.rbi +19 -0
- data/rbi/telnyx/models/noise_suppression_engine_list_params.rbi +30 -0
- data/rbi/telnyx/models/noise_suppression_engine_list_response.rbi +94 -0
- data/rbi/telnyx/models/number_order_status_update.rbi +34 -3
- data/rbi/telnyx/models/number_order_status_update_webhook_event.rbi +39 -3
- data/rbi/telnyx/models/outbound_message.rbi +5 -0
- data/rbi/telnyx/models/outbound_message_payload.rbi +74 -4
- data/rbi/telnyx/models/speech_to_text_retrieve_transcription_params.rbi +5 -0
- data/rbi/telnyx/models/success_response.rbi +36 -0
- data/rbi/telnyx/models/texml/accounts/call_calls_params.rbi +339 -0
- data/rbi/telnyx/models/texml/accounts/conferences/participant_participants_params.rbi +111 -0
- data/rbi/telnyx/models/texml/call_create_params.rbi +124 -0
- data/rbi/telnyx/models/texml/call_create_response.rbi +98 -0
- data/rbi/telnyx/models/texml_initiate_ai_call_params.rbi +103 -0
- data/rbi/telnyx/models/uac_connection.rbi +8 -2
- data/rbi/telnyx/models/uac_external_settings.rbi +10 -2
- data/rbi/telnyx/models/unsafe_unwrap_webhook_event.rbi +3 -1
- data/rbi/telnyx/models/unwrap_webhook_event.rbi +3 -1
- data/rbi/telnyx/models/voice_clone_create_from_upload_params.rbi +4 -4
- data/rbi/telnyx/models/whatsapp/business_accounts/phone_number_list_response.rbi +213 -0
- data/rbi/telnyx/models/whatsapp/phone_number_get_response.rbi +213 -0
- data/rbi/telnyx/models/whatsapp/phone_number_list_response.rbi +213 -0
- data/rbi/telnyx/models/whatsapp/phone_number_retrieve_phone_number_params.rbi +40 -0
- data/rbi/telnyx/models/whatsapp/phone_number_retrieve_phone_number_response.rbi +401 -0
- data/rbi/telnyx/models/whatsapp_account_update.rbi +236 -0
- data/rbi/telnyx/models/whatsapp_message_echo.rbi +611 -0
- data/rbi/telnyx/models/x402/credit_account/payment_list_params.rbi +64 -0
- data/rbi/telnyx/models/x402/credit_account/payment_retrieve_params.rbi +42 -0
- data/rbi/telnyx/models/x402/credit_account/payment_retrieve_response.rbi +53 -0
- data/rbi/telnyx/models/x402/credit_account/x402_transaction_record.rbi +219 -0
- data/rbi/telnyx/models.rbi +29 -0
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +31 -7
- data/rbi/telnyx/resources/ai/assistants.rbi +46 -12
- data/rbi/telnyx/resources/ai/audio.rbi +20 -9
- data/rbi/telnyx/resources/ai/openai/chat.rbi +9 -13
- data/rbi/telnyx/resources/ai/typesafe/v1.rbi +61 -0
- data/rbi/telnyx/resources/ai/typesafe.rbi +19 -0
- data/rbi/telnyx/resources/ai.rbi +3 -0
- data/rbi/telnyx/resources/bot_challenge.rbi +45 -0
- data/rbi/telnyx/resources/bot_sessions.rbi +45 -0
- data/rbi/telnyx/resources/bot_signup.rbi +87 -0
- data/rbi/telnyx/resources/calls/actions.rbi +6 -5
- data/rbi/telnyx/resources/calls.rbi +6 -5
- data/rbi/telnyx/resources/compute/funcs/export.rbi +86 -0
- data/rbi/telnyx/resources/compute/funcs.rbi +114 -0
- data/rbi/telnyx/resources/compute.rbi +15 -0
- data/rbi/telnyx/resources/connections.rbi +11 -0
- data/rbi/telnyx/resources/detail_records.rbi +12 -1
- data/rbi/telnyx/resources/email_messages.rbi +8 -2
- data/rbi/telnyx/resources/machine_payments.rbi +64 -0
- data/rbi/telnyx/resources/messaging_profiles.rbi +10 -0
- data/rbi/telnyx/resources/noise_suppression_engines.rbi +26 -0
- data/rbi/telnyx/resources/texml/accounts/conferences/participants.rbi +32 -0
- data/rbi/telnyx/resources/texml/calls.rbi +50 -0
- data/rbi/telnyx/resources/texml.rbi +36 -0
- data/rbi/telnyx/resources/voice_clones.rbi +4 -2
- data/rbi/telnyx/resources/webhooks.rbi +6 -2
- data/rbi/telnyx/resources/whatsapp/phone_numbers.rbi +18 -0
- data/rbi/telnyx/resources/x402/credit_account/payments.rbi +60 -0
- data/rbi/telnyx/resources/x402/credit_account.rbi +5 -0
- data/sig/telnyx/client.rbs +12 -0
- data/sig/telnyx/models/ai/assistant_a2_a_agent.rbs +140 -0
- data/sig/telnyx/models/ai/assistant_create_params.rbs +9 -0
- data/sig/telnyx/models/ai/assistant_tool.rbs +162 -23
- data/sig/telnyx/models/ai/assistant_update_params.rbs +9 -0
- data/sig/telnyx/models/ai/assistants/update_assistant.rbs +9 -0
- data/sig/telnyx/models/ai/audio_transcribe_params.rbs +10 -0
- data/sig/telnyx/models/ai/audio_transcribe_response.rbs +29 -43
- data/sig/telnyx/models/ai/audio_transcription_response_word.rbs +60 -0
- data/sig/telnyx/models/ai/chat_completion_request.rbs +90 -79
- data/sig/telnyx/models/ai/inference_embedding.rbs +9 -0
- data/sig/telnyx/models/ai/inference_embedding_interruption_settings.rbs +5 -0
- data/sig/telnyx/models/ai/inference_embedding_webhook_tool_params.rbs +10 -3
- data/sig/telnyx/models/ai/openai/function_definition.rbs +34 -0
- data/sig/telnyx/models/ai/privacy_settings.rbs +11 -3
- data/sig/telnyx/models/ai/retrieval_tool.rbs +10 -3
- data/sig/telnyx/models/ai/telephony_settings.rbs +59 -4
- data/sig/telnyx/models/ai/transcription_settings.rbs +4 -0
- data/sig/telnyx/models/ai/typesafe/v1_systemone_params.rbs +195 -0
- data/sig/telnyx/models/ai/typesafe/v1_systemone_response.rbs +141 -0
- data/sig/telnyx/models/bot_challenge_create_params.rbs +42 -0
- data/sig/telnyx/models/bot_challenge_create_response.rbs +72 -0
- data/sig/telnyx/models/bot_session_list_params.rbs +28 -0
- data/sig/telnyx/models/bot_session_list_response.rbs +26 -0
- data/sig/telnyx/models/bot_signup_create_params.rbs +89 -0
- data/sig/telnyx/models/bot_signup_resend_magic_link_params.rbs +20 -0
- data/sig/telnyx/models/call_dial_params.rbs +49 -0
- data/sig/telnyx/models/calls/action_transfer_params.rbs +49 -0
- data/sig/telnyx/models/calls/transcription_config.rbs +4 -0
- data/sig/telnyx/models/calls/transcription_engine_assemblyai_config.rbs +3 -1
- data/sig/telnyx/models/calls/transcription_engine_parakeet_config.rbs +3 -1
- data/sig/telnyx/models/compute/func_retrieve_logs_params.rbs +69 -0
- data/sig/telnyx/models/compute/func_retrieve_logs_response.rbs +210 -0
- data/sig/telnyx/models/compute/func_retrieve_metric_aggregates_params.rbs +66 -0
- data/sig/telnyx/models/compute/func_retrieve_metric_aggregates_response.rbs +149 -0
- data/sig/telnyx/models/compute/func_retrieve_revisions_params.rbs +38 -0
- data/sig/telnyx/models/compute/func_retrieve_revisions_response.rbs +131 -0
- data/sig/telnyx/models/compute/func_retrieve_ship_inspection_params.rbs +22 -0
- data/sig/telnyx/models/compute/func_retrieve_ship_inspection_response.rbs +117 -0
- data/sig/telnyx/models/compute/funcs/export_create_params.rbs +50 -0
- data/sig/telnyx/models/compute/funcs/export_delete_all_params.rbs +27 -0
- data/sig/telnyx/models/compute/funcs/export_list_params.rbs +27 -0
- data/sig/telnyx/models/compute/funcs/func_log_export_config_response.rbs +115 -0
- data/sig/telnyx/models/compute/functions_observability_pagination_meta.rbs +45 -0
- data/sig/telnyx/models/compute/logs_meta.rbs +21 -0
- data/sig/telnyx/models/connection_retrieve_count_params.rbs +15 -0
- data/sig/telnyx/models/connection_retrieve_count_response.rbs +169 -0
- data/sig/telnyx/models/email_inboxes/email_message.rbs +12 -3
- data/sig/telnyx/models/email_message_batch_response.rbs +2 -0
- data/sig/telnyx/models/inbound_message_webhook_event.rbs +6 -79
- data/sig/telnyx/models/machine_payment_account_credit_params.rbs +23 -0
- data/sig/telnyx/models/machine_payment_account_credit_response.rbs +164 -0
- data/sig/telnyx/models/message_retrieve_group_messages_response.rbs +6 -8
- data/sig/telnyx/models/message_retrieve_response.rbs +1 -2
- data/sig/telnyx/models/message_schedule_response.rbs +6 -7
- data/sig/telnyx/models/message_send_group_mms_response.rbs +6 -6
- data/sig/telnyx/models/message_send_long_code_response.rbs +6 -6
- data/sig/telnyx/models/message_send_number_pool_response.rbs +6 -6
- data/sig/telnyx/models/message_send_response.rbs +6 -7
- data/sig/telnyx/models/message_send_short_code_response.rbs +6 -6
- data/sig/telnyx/models/messaging_inbound_message.rbs +76 -0
- data/sig/telnyx/models/messaging_inbound_message_payload.rbs +438 -97
- data/sig/telnyx/models/messaging_messaging_profile.rbs +5 -0
- data/sig/telnyx/models/messaging_outbound_message_payload.rbs +39 -1
- data/sig/telnyx/models/messaging_profile_create_params.rbs +5 -0
- data/sig/telnyx/models/messaging_profile_features.rbs +15 -0
- data/sig/telnyx/models/messaging_profile_update_params.rbs +5 -0
- data/sig/telnyx/models/noise_suppression_engine_list_params.rbs +15 -0
- data/sig/telnyx/models/noise_suppression_engine_list_response.rbs +43 -0
- data/sig/telnyx/models/number_order_status_update.rbs +14 -4
- data/sig/telnyx/models/number_order_status_update_webhook_event.rbs +14 -4
- data/sig/telnyx/models/outbound_message.rbs +2 -1
- data/sig/telnyx/models/outbound_message_payload.rbs +45 -7
- data/sig/telnyx/models/speech_to_text_retrieve_transcription_params.rbs +2 -0
- data/sig/telnyx/models/success_response.rbs +15 -0
- data/sig/telnyx/models/texml/accounts/call_calls_params.rbs +159 -0
- data/sig/telnyx/models/texml/accounts/conferences/participant_participants_params.rbs +49 -0
- data/sig/telnyx/models/texml/call_create_params.rbs +72 -0
- data/sig/telnyx/models/texml/call_create_response.rbs +47 -0
- data/sig/telnyx/models/texml_initiate_ai_call_params.rbs +49 -0
- data/sig/telnyx/models/unsafe_unwrap_webhook_event.rbs +2 -0
- data/sig/telnyx/models/unwrap_webhook_event.rbs +2 -0
- data/sig/telnyx/models/whatsapp/business_accounts/phone_number_list_response.rbs +90 -0
- data/sig/telnyx/models/whatsapp/phone_number_get_response.rbs +90 -0
- data/sig/telnyx/models/whatsapp/phone_number_list_response.rbs +90 -0
- data/sig/telnyx/models/whatsapp/phone_number_retrieve_phone_number_params.rbs +25 -0
- data/sig/telnyx/models/whatsapp/phone_number_retrieve_phone_number_response.rbs +201 -0
- data/sig/telnyx/models/whatsapp_account_update.rbs +107 -0
- data/sig/telnyx/models/whatsapp_message_echo.rbs +291 -0
- data/sig/telnyx/models/x402/credit_account/payment_list_params.rbs +36 -0
- data/sig/telnyx/models/x402/credit_account/payment_retrieve_params.rbs +27 -0
- data/sig/telnyx/models/x402/credit_account/payment_retrieve_response.rbs +26 -0
- data/sig/telnyx/models/x402/credit_account/x402_transaction_record.rbs +104 -0
- data/sig/telnyx/models.rbs +26 -0
- data/sig/telnyx/resources/ai/assistants/versions.rbs +1 -0
- data/sig/telnyx/resources/ai/assistants.rbs +2 -0
- data/sig/telnyx/resources/ai/openai/chat.rbs +1 -4
- data/sig/telnyx/resources/ai/typesafe/v1.rbs +17 -0
- data/sig/telnyx/resources/ai/typesafe.rbs +11 -0
- data/sig/telnyx/resources/ai.rbs +2 -0
- data/sig/telnyx/resources/bot_challenge.rbs +14 -0
- data/sig/telnyx/resources/bot_sessions.rbs +13 -0
- data/sig/telnyx/resources/bot_signup.rbs +24 -0
- data/sig/telnyx/resources/compute/funcs/export.rbs +30 -0
- data/sig/telnyx/resources/compute/funcs.rbs +43 -0
- data/sig/telnyx/resources/compute.rbs +9 -0
- data/sig/telnyx/resources/connections.rbs +4 -0
- data/sig/telnyx/resources/machine_payments.rbs +12 -0
- data/sig/telnyx/resources/messaging_profiles.rbs +2 -0
- data/sig/telnyx/resources/noise_suppression_engines.rbs +11 -0
- data/sig/telnyx/resources/texml/accounts/conferences/participants.rbs +7 -0
- data/sig/telnyx/resources/texml/calls.rbs +19 -0
- data/sig/telnyx/resources/texml.rbs +9 -0
- data/sig/telnyx/resources/webhooks.rbs +6 -2
- data/sig/telnyx/resources/whatsapp/phone_numbers.rbs +5 -0
- data/sig/telnyx/resources/x402/credit_account/payments.rbs +22 -0
- data/sig/telnyx/resources/x402/credit_account.rbs +2 -0
- metadata +170 -2
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Compute
|
|
4
|
+
type func_retrieve_revisions_response =
|
|
5
|
+
{
|
|
6
|
+
data: ::Array[Telnyx::Models::Compute::FuncRetrieveRevisionsResponse::Data],
|
|
7
|
+
meta: Telnyx::Compute::FunctionsObservabilityPaginationMeta
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
class FuncRetrieveRevisionsResponse < Telnyx::Internal::Type::BaseModel
|
|
11
|
+
attr_reader data: ::Array[Telnyx::Models::Compute::FuncRetrieveRevisionsResponse::Data]?
|
|
12
|
+
|
|
13
|
+
def data=: (
|
|
14
|
+
::Array[Telnyx::Models::Compute::FuncRetrieveRevisionsResponse::Data]
|
|
15
|
+
) -> ::Array[Telnyx::Models::Compute::FuncRetrieveRevisionsResponse::Data]
|
|
16
|
+
|
|
17
|
+
attr_reader meta: Telnyx::Compute::FunctionsObservabilityPaginationMeta?
|
|
18
|
+
|
|
19
|
+
def meta=: (
|
|
20
|
+
Telnyx::Compute::FunctionsObservabilityPaginationMeta
|
|
21
|
+
) -> Telnyx::Compute::FunctionsObservabilityPaginationMeta
|
|
22
|
+
|
|
23
|
+
def initialize: (
|
|
24
|
+
?data: ::Array[Telnyx::Models::Compute::FuncRetrieveRevisionsResponse::Data],
|
|
25
|
+
?meta: Telnyx::Compute::FunctionsObservabilityPaginationMeta
|
|
26
|
+
) -> void
|
|
27
|
+
|
|
28
|
+
def to_hash: -> {
|
|
29
|
+
data: ::Array[Telnyx::Models::Compute::FuncRetrieveRevisionsResponse::Data],
|
|
30
|
+
meta: Telnyx::Compute::FunctionsObservabilityPaginationMeta
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
type data =
|
|
34
|
+
{
|
|
35
|
+
active: bool,
|
|
36
|
+
build_ok_at: Time,
|
|
37
|
+
build_status: String,
|
|
38
|
+
commit_sha: String,
|
|
39
|
+
deploy_status: String,
|
|
40
|
+
failure_reason: String,
|
|
41
|
+
failure_stage: String,
|
|
42
|
+
image: String,
|
|
43
|
+
record_type: String,
|
|
44
|
+
revision_id: String,
|
|
45
|
+
shipped_at: Time,
|
|
46
|
+
shipped_by: String
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
50
|
+
attr_reader active: bool?
|
|
51
|
+
|
|
52
|
+
def active=: (bool) -> bool
|
|
53
|
+
|
|
54
|
+
attr_reader build_ok_at: Time?
|
|
55
|
+
|
|
56
|
+
def build_ok_at=: (Time) -> Time
|
|
57
|
+
|
|
58
|
+
attr_reader build_status: String?
|
|
59
|
+
|
|
60
|
+
def build_status=: (String) -> String
|
|
61
|
+
|
|
62
|
+
attr_reader commit_sha: String?
|
|
63
|
+
|
|
64
|
+
def commit_sha=: (String) -> String
|
|
65
|
+
|
|
66
|
+
attr_reader deploy_status: String?
|
|
67
|
+
|
|
68
|
+
def deploy_status=: (String) -> String
|
|
69
|
+
|
|
70
|
+
attr_reader failure_reason: String?
|
|
71
|
+
|
|
72
|
+
def failure_reason=: (String) -> String
|
|
73
|
+
|
|
74
|
+
attr_reader failure_stage: String?
|
|
75
|
+
|
|
76
|
+
def failure_stage=: (String) -> String
|
|
77
|
+
|
|
78
|
+
attr_reader image: String?
|
|
79
|
+
|
|
80
|
+
def image=: (String) -> String
|
|
81
|
+
|
|
82
|
+
attr_reader record_type: String?
|
|
83
|
+
|
|
84
|
+
def record_type=: (String) -> String
|
|
85
|
+
|
|
86
|
+
attr_reader revision_id: String?
|
|
87
|
+
|
|
88
|
+
def revision_id=: (String) -> String
|
|
89
|
+
|
|
90
|
+
attr_reader shipped_at: Time?
|
|
91
|
+
|
|
92
|
+
def shipped_at=: (Time) -> Time
|
|
93
|
+
|
|
94
|
+
attr_reader shipped_by: String?
|
|
95
|
+
|
|
96
|
+
def shipped_by=: (String) -> String
|
|
97
|
+
|
|
98
|
+
def initialize: (
|
|
99
|
+
?active: bool,
|
|
100
|
+
?build_ok_at: Time,
|
|
101
|
+
?build_status: String,
|
|
102
|
+
?commit_sha: String,
|
|
103
|
+
?deploy_status: String,
|
|
104
|
+
?failure_reason: String,
|
|
105
|
+
?failure_stage: String,
|
|
106
|
+
?image: String,
|
|
107
|
+
?record_type: String,
|
|
108
|
+
?revision_id: String,
|
|
109
|
+
?shipped_at: Time,
|
|
110
|
+
?shipped_by: String
|
|
111
|
+
) -> void
|
|
112
|
+
|
|
113
|
+
def to_hash: -> {
|
|
114
|
+
active: bool,
|
|
115
|
+
build_ok_at: Time,
|
|
116
|
+
build_status: String,
|
|
117
|
+
commit_sha: String,
|
|
118
|
+
deploy_status: String,
|
|
119
|
+
failure_reason: String,
|
|
120
|
+
failure_stage: String,
|
|
121
|
+
image: String,
|
|
122
|
+
record_type: String,
|
|
123
|
+
revision_id: String,
|
|
124
|
+
shipped_at: Time,
|
|
125
|
+
shipped_by: String
|
|
126
|
+
}
|
|
127
|
+
end
|
|
128
|
+
end
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Compute
|
|
4
|
+
type func_retrieve_ship_inspection_params =
|
|
5
|
+
{ id: String } & Telnyx::Internal::Type::request_parameters
|
|
6
|
+
|
|
7
|
+
class FuncRetrieveShipInspectionParams < Telnyx::Internal::Type::BaseModel
|
|
8
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
attr_accessor id: String
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
id: String,
|
|
15
|
+
?request_options: Telnyx::request_opts
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> { id: String, request_options: Telnyx::RequestOptions }
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Compute
|
|
4
|
+
type func_retrieve_ship_inspection_response =
|
|
5
|
+
{
|
|
6
|
+
data: Telnyx::Models::Compute::FuncRetrieveShipInspectionResponse::Data
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
class FuncRetrieveShipInspectionResponse < Telnyx::Internal::Type::BaseModel
|
|
10
|
+
attr_reader data: Telnyx::Models::Compute::FuncRetrieveShipInspectionResponse::Data?
|
|
11
|
+
|
|
12
|
+
def data=: (
|
|
13
|
+
Telnyx::Models::Compute::FuncRetrieveShipInspectionResponse::Data
|
|
14
|
+
) -> Telnyx::Models::Compute::FuncRetrieveShipInspectionResponse::Data
|
|
15
|
+
|
|
16
|
+
def initialize: (
|
|
17
|
+
?data: Telnyx::Models::Compute::FuncRetrieveShipInspectionResponse::Data
|
|
18
|
+
) -> void
|
|
19
|
+
|
|
20
|
+
def to_hash: -> {
|
|
21
|
+
data: Telnyx::Models::Compute::FuncRetrieveShipInspectionResponse::Data
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
type data =
|
|
25
|
+
{
|
|
26
|
+
created_at: Time,
|
|
27
|
+
reason: String,
|
|
28
|
+
record_type: Telnyx::Models::Compute::FuncRetrieveShipInspectionResponse::Data::record_type,
|
|
29
|
+
runtime: String,
|
|
30
|
+
snippet: String,
|
|
31
|
+
stage: Telnyx::Models::Compute::FuncRetrieveShipInspectionResponse::Data::stage
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
35
|
+
attr_reader created_at: Time?
|
|
36
|
+
|
|
37
|
+
def created_at=: (Time) -> Time
|
|
38
|
+
|
|
39
|
+
attr_reader reason: String?
|
|
40
|
+
|
|
41
|
+
def reason=: (String) -> String
|
|
42
|
+
|
|
43
|
+
attr_reader record_type: Telnyx::Models::Compute::FuncRetrieveShipInspectionResponse::Data::record_type?
|
|
44
|
+
|
|
45
|
+
def record_type=: (
|
|
46
|
+
Telnyx::Models::Compute::FuncRetrieveShipInspectionResponse::Data::record_type
|
|
47
|
+
) -> Telnyx::Models::Compute::FuncRetrieveShipInspectionResponse::Data::record_type
|
|
48
|
+
|
|
49
|
+
attr_reader runtime: String?
|
|
50
|
+
|
|
51
|
+
def runtime=: (String) -> String
|
|
52
|
+
|
|
53
|
+
attr_reader snippet: String?
|
|
54
|
+
|
|
55
|
+
def snippet=: (String) -> String
|
|
56
|
+
|
|
57
|
+
attr_reader stage: Telnyx::Models::Compute::FuncRetrieveShipInspectionResponse::Data::stage?
|
|
58
|
+
|
|
59
|
+
def stage=: (
|
|
60
|
+
Telnyx::Models::Compute::FuncRetrieveShipInspectionResponse::Data::stage
|
|
61
|
+
) -> Telnyx::Models::Compute::FuncRetrieveShipInspectionResponse::Data::stage
|
|
62
|
+
|
|
63
|
+
def initialize: (
|
|
64
|
+
?created_at: Time,
|
|
65
|
+
?reason: String,
|
|
66
|
+
?record_type: Telnyx::Models::Compute::FuncRetrieveShipInspectionResponse::Data::record_type,
|
|
67
|
+
?runtime: String,
|
|
68
|
+
?snippet: String,
|
|
69
|
+
?stage: Telnyx::Models::Compute::FuncRetrieveShipInspectionResponse::Data::stage
|
|
70
|
+
) -> void
|
|
71
|
+
|
|
72
|
+
def to_hash: -> {
|
|
73
|
+
created_at: Time,
|
|
74
|
+
reason: String,
|
|
75
|
+
record_type: Telnyx::Models::Compute::FuncRetrieveShipInspectionResponse::Data::record_type,
|
|
76
|
+
runtime: String,
|
|
77
|
+
snippet: String,
|
|
78
|
+
stage: Telnyx::Models::Compute::FuncRetrieveShipInspectionResponse::Data::stage
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
type record_type = :build_log_inspection
|
|
82
|
+
|
|
83
|
+
module RecordType
|
|
84
|
+
extend Telnyx::Internal::Type::Enum
|
|
85
|
+
|
|
86
|
+
BUILD_LOG_INSPECTION: :build_log_inspection
|
|
87
|
+
|
|
88
|
+
def self?.values: -> ::Array[Telnyx::Models::Compute::FuncRetrieveShipInspectionResponse::Data::record_type]
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
type stage =
|
|
92
|
+
:build
|
|
93
|
+
| :platform
|
|
94
|
+
| :pre_build
|
|
95
|
+
| :deploy
|
|
96
|
+
| :security_review
|
|
97
|
+
| :none
|
|
98
|
+
| :pending
|
|
99
|
+
|
|
100
|
+
module Stage
|
|
101
|
+
extend Telnyx::Internal::Type::Enum
|
|
102
|
+
|
|
103
|
+
BUILD: :build
|
|
104
|
+
PLATFORM: :platform
|
|
105
|
+
PRE_BUILD: :pre_build
|
|
106
|
+
DEPLOY: :deploy
|
|
107
|
+
SECURITY_REVIEW: :security_review
|
|
108
|
+
NONE: :none
|
|
109
|
+
PENDING: :pending
|
|
110
|
+
|
|
111
|
+
def self?.values: -> ::Array[Telnyx::Models::Compute::FuncRetrieveShipInspectionResponse::Data::stage]
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
end
|
|
116
|
+
end
|
|
117
|
+
end
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Compute
|
|
4
|
+
module Funcs
|
|
5
|
+
type export_create_params =
|
|
6
|
+
{
|
|
7
|
+
id: String,
|
|
8
|
+
endpoint: String,
|
|
9
|
+
headers: ::Hash[Symbol, String],
|
|
10
|
+
invocation_export_enabled: bool,
|
|
11
|
+
runtime_export_enabled: bool
|
|
12
|
+
}
|
|
13
|
+
& Telnyx::Internal::Type::request_parameters
|
|
14
|
+
|
|
15
|
+
class ExportCreateParams < Telnyx::Internal::Type::BaseModel
|
|
16
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
17
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
18
|
+
|
|
19
|
+
attr_accessor id: String
|
|
20
|
+
|
|
21
|
+
attr_accessor endpoint: String
|
|
22
|
+
|
|
23
|
+
attr_accessor headers: ::Hash[Symbol, String]
|
|
24
|
+
|
|
25
|
+
attr_accessor invocation_export_enabled: bool
|
|
26
|
+
|
|
27
|
+
attr_accessor runtime_export_enabled: bool
|
|
28
|
+
|
|
29
|
+
def initialize: (
|
|
30
|
+
id: String,
|
|
31
|
+
endpoint: String,
|
|
32
|
+
headers: ::Hash[Symbol, String],
|
|
33
|
+
invocation_export_enabled: bool,
|
|
34
|
+
runtime_export_enabled: bool,
|
|
35
|
+
?request_options: Telnyx::request_opts
|
|
36
|
+
) -> void
|
|
37
|
+
|
|
38
|
+
def to_hash: -> {
|
|
39
|
+
id: String,
|
|
40
|
+
endpoint: String,
|
|
41
|
+
headers: ::Hash[Symbol, String],
|
|
42
|
+
invocation_export_enabled: bool,
|
|
43
|
+
runtime_export_enabled: bool,
|
|
44
|
+
request_options: Telnyx::RequestOptions
|
|
45
|
+
}
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Compute
|
|
4
|
+
module Funcs
|
|
5
|
+
type export_delete_all_params =
|
|
6
|
+
{ id: String } & Telnyx::Internal::Type::request_parameters
|
|
7
|
+
|
|
8
|
+
class ExportDeleteAllParams < Telnyx::Internal::Type::BaseModel
|
|
9
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
attr_accessor id: String
|
|
13
|
+
|
|
14
|
+
def initialize: (
|
|
15
|
+
id: String,
|
|
16
|
+
?request_options: Telnyx::request_opts
|
|
17
|
+
) -> void
|
|
18
|
+
|
|
19
|
+
def to_hash: -> {
|
|
20
|
+
id: String,
|
|
21
|
+
request_options: Telnyx::RequestOptions
|
|
22
|
+
}
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Compute
|
|
4
|
+
module Funcs
|
|
5
|
+
type export_list_params =
|
|
6
|
+
{ id: String } & Telnyx::Internal::Type::request_parameters
|
|
7
|
+
|
|
8
|
+
class ExportListParams < Telnyx::Internal::Type::BaseModel
|
|
9
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
attr_accessor id: String
|
|
13
|
+
|
|
14
|
+
def initialize: (
|
|
15
|
+
id: String,
|
|
16
|
+
?request_options: Telnyx::request_opts
|
|
17
|
+
) -> void
|
|
18
|
+
|
|
19
|
+
def to_hash: -> {
|
|
20
|
+
id: String,
|
|
21
|
+
request_options: Telnyx::RequestOptions
|
|
22
|
+
}
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -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,45 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Compute
|
|
4
|
+
type functions_observability_pagination_meta =
|
|
5
|
+
{
|
|
6
|
+
page_number: Integer,
|
|
7
|
+
page_size: Integer,
|
|
8
|
+
total_pages: Integer,
|
|
9
|
+
total_results: Integer
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
class FunctionsObservabilityPaginationMeta < Telnyx::Internal::Type::BaseModel
|
|
13
|
+
attr_reader page_number: Integer?
|
|
14
|
+
|
|
15
|
+
def page_number=: (Integer) -> Integer
|
|
16
|
+
|
|
17
|
+
attr_reader page_size: Integer?
|
|
18
|
+
|
|
19
|
+
def page_size=: (Integer) -> Integer
|
|
20
|
+
|
|
21
|
+
attr_reader total_pages: Integer?
|
|
22
|
+
|
|
23
|
+
def total_pages=: (Integer) -> Integer
|
|
24
|
+
|
|
25
|
+
attr_reader total_results: Integer?
|
|
26
|
+
|
|
27
|
+
def total_results=: (Integer) -> Integer
|
|
28
|
+
|
|
29
|
+
def initialize: (
|
|
30
|
+
?page_number: Integer,
|
|
31
|
+
?page_size: Integer,
|
|
32
|
+
?total_pages: Integer,
|
|
33
|
+
?total_results: Integer
|
|
34
|
+
) -> void
|
|
35
|
+
|
|
36
|
+
def to_hash: -> {
|
|
37
|
+
page_number: Integer,
|
|
38
|
+
page_size: Integer,
|
|
39
|
+
total_pages: Integer,
|
|
40
|
+
total_results: Integer
|
|
41
|
+
}
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Compute
|
|
4
|
+
type logs_meta = { has_more: bool, partial: bool }
|
|
5
|
+
|
|
6
|
+
class LogsMeta < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
attr_reader has_more: bool?
|
|
8
|
+
|
|
9
|
+
def has_more=: (bool) -> bool
|
|
10
|
+
|
|
11
|
+
attr_reader partial: bool?
|
|
12
|
+
|
|
13
|
+
def partial=: (bool) -> bool
|
|
14
|
+
|
|
15
|
+
def initialize: (?has_more: bool, ?partial: bool) -> void
|
|
16
|
+
|
|
17
|
+
def to_hash: -> { has_more: bool, partial: bool }
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
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
|