telnyx 5.169.0 → 5.170.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 +7 -0
- data/README.md +1 -1
- data/lib/telnyx/internal/email_cursor_pagination.rb +2 -2
- data/lib/telnyx/internal/type/union.rb +1 -1
- data/lib/telnyx/models/ai/assistant_create_params.rb +3 -3
- data/lib/telnyx/models/ai/assistant_tool.rb +31 -1
- data/lib/telnyx/models/ai/assistant_update_params.rb +3 -3
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +3 -3
- data/lib/telnyx/models/ai/collection.rb +3 -3
- data/lib/telnyx/models/ai/collections/collections_source.rb +64 -0
- data/lib/telnyx/models/ai/collections/source.rb +25 -29
- data/lib/telnyx/models/ai/collections/source_create_response.rb +3 -3
- data/lib/telnyx/models/ai/collections/source_list_response.rb +3 -3
- data/lib/telnyx/models/ai/collections/source_replace_response.rb +3 -3
- data/lib/telnyx/models/ai/flow_node.rb +3 -3
- data/lib/telnyx/models/ai/flow_node_req.rb +3 -3
- data/lib/telnyx/models/ai/inference_embedding.rb +3 -3
- data/lib/telnyx/models/ai/inference_embedding_voice_settings.rb +334 -0
- data/lib/telnyx/models/ai/inference_embedding_webhook_tool_params.rb +13 -11
- data/lib/telnyx/models/ai/memory/namespace_retrieve_params.rb +30 -0
- data/lib/telnyx/models/ai/memory/namespace_retrieve_response.rb +76 -0
- data/lib/telnyx/models/ai/memory/namespaces/namespace_settings_response.rb +63 -0
- data/lib/telnyx/models/ai/memory/namespaces/page_meta.rb +58 -0
- data/lib/telnyx/models/ai/memory/namespaces/profile_delete_params.rb +35 -0
- data/lib/telnyx/models/ai/memory/namespaces/profile_delete_response.rb +47 -0
- data/lib/telnyx/models/ai/memory/namespaces/profile_ingest_params.rb +94 -0
- data/lib/telnyx/models/ai/memory/namespaces/profile_ingest_response.rb +61 -0
- data/lib/telnyx/models/ai/memory/namespaces/profile_list_params.rb +48 -0
- data/lib/telnyx/models/ai/memory/namespaces/profile_list_response.rb +34 -0
- data/lib/telnyx/models/ai/memory/namespaces/profile_recall_params.rb +44 -0
- data/lib/telnyx/models/ai/memory/namespaces/profile_recall_response.rb +60 -0
- data/lib/telnyx/models/ai/memory/namespaces/profile_remember_params.rb +38 -0
- data/lib/telnyx/models/ai/memory/namespaces/profile_remember_response.rb +54 -0
- data/lib/telnyx/models/ai/memory/namespaces/profile_retrieve_summary_params.rb +35 -0
- data/lib/telnyx/models/ai/memory/namespaces/profile_retrieve_summary_response.rb +64 -0
- data/lib/telnyx/models/ai/memory/namespaces/profiles/memory_list_params.rb +76 -0
- data/lib/telnyx/models/ai/memory/namespaces/profiles/memory_list_response.rb +53 -0
- data/lib/telnyx/models/ai/memory/namespaces/profiles/memory_retrieve_params.rb +50 -0
- data/lib/telnyx/models/ai/memory/namespaces/profiles/memory_retrieve_response.rb +74 -0
- data/lib/telnyx/models/ai/memory/namespaces/profiles/source_delete_params.rb +52 -0
- data/lib/telnyx/models/ai/memory/namespaces/profiles/source_delete_response.rb +60 -0
- data/lib/telnyx/models/ai/memory/namespaces/profiles/source_list_params.rb +67 -0
- data/lib/telnyx/models/ai/memory/namespaces/profiles/source_retrieve_params.rb +52 -0
- data/lib/telnyx/models/ai/memory/namespaces/profiles/source_retrieve_response.rb +123 -0
- data/lib/telnyx/models/ai/memory/namespaces/setting_list_params.rb +28 -0
- data/lib/telnyx/models/ai/memory/namespaces/setting_patch_all_params.rb +69 -0
- data/lib/telnyx/models/ai/typesafe/v1_systemone_params.rb +29 -1
- data/lib/telnyx/models/ai/typesafe/v1_systemone_response.rb +19 -6
- data/lib/telnyx/models/ai/webhook_tool.rb +16 -1
- data/lib/telnyx/models/artifact_completed_webhook_event.rb +17 -1
- data/lib/telnyx/models/artifact_failed_webhook_event.rb +4 -0
- data/lib/telnyx/models/calls/action_gather_using_ai_params.rb +11 -3
- data/lib/telnyx/models/calls/action_gather_using_speak_params.rb +11 -3
- data/lib/telnyx/models/calls/action_speak_params.rb +11 -3
- data/lib/telnyx/models/calls/action_start_conversation_relay_params.rb +11 -3
- data/lib/telnyx/models/calls/soniox_voice_settings.rb +46 -0
- data/lib/telnyx/models/conferences/action_speak_params.rb +11 -3
- data/lib/telnyx/models/conversation_relay_embedded_config.rb +11 -3
- data/lib/telnyx/models/conversation_relay_language.rb +5 -3
- data/lib/telnyx/models/email_block.rb +8 -1
- data/lib/telnyx/models/email_blocks/email_block_import.rb +7 -2
- data/lib/telnyx/models/email_domain_rotate_dkim_params.rb +20 -0
- data/lib/telnyx/models/email_domain_rotate_dkim_response.rb +243 -0
- data/lib/telnyx/models/email_domains/email_webhook_event.rb +8 -3
- data/lib/telnyx/models/email_event_list_params.rb +33 -10
- data/lib/telnyx/models/email_event_list_response.rb +300 -73
- data/lib/telnyx/models/email_event_type.rb +16 -0
- data/lib/telnyx/models/email_inboxes/email_message.rb +56 -4
- data/lib/telnyx/models/email_message_batch_params.rb +32 -15
- data/lib/telnyx/models/email_message_create_params.rb +44 -12
- data/lib/telnyx/models/{email_message_retrieve_response.rb → email_message_detail_response.rb} +5 -5
- data/lib/telnyx/models/email_message_list_params.rb +26 -1
- data/lib/telnyx/models/email_message_update_schedule_params.rb +29 -0
- data/lib/telnyx/models/email_messages/email_recipient.rb +2 -0
- data/lib/telnyx/models/email_messages/recipient_list_params.rb +2 -0
- data/lib/telnyx/models/email_template.rb +68 -2
- data/lib/telnyx/models/email_template_create_params.rb +71 -1
- data/lib/telnyx/models/email_webhook_recipient.rb +39 -0
- data/lib/telnyx/models/meeting_session.rb +34 -6
- data/lib/telnyx/models/meeting_session_create_params.rb +73 -39
- data/lib/telnyx/models/meeting_sessions/artifact_create_params.rb +77 -13
- data/lib/telnyx/models/meeting_sessions/meeting_session_artifact.rb +25 -1
- data/lib/telnyx/models/message_event.rb +41 -2
- data/lib/telnyx/models/numbers_phone_number_detailed.rb +19 -5
- data/lib/telnyx/models/private_wireless_gateway.rb +0 -1
- data/lib/telnyx/models/private_wireless_gateway_create_params.rb +28 -1
- data/lib/telnyx/models/private_wireless_gateway_create_response.rb +3 -3
- data/lib/telnyx/models/private_wireless_gateway_delete_response.rb +3 -3
- data/lib/telnyx/models/private_wireless_gateway_retrieve_response.rb +3 -3
- data/lib/telnyx/models/texml/accounts/call_retrieve_calls_params.rb +17 -17
- data/lib/telnyx/models/text_to_speech_generate_speech_params.rb +129 -3
- data/lib/telnyx/models/text_to_speech_list_voices_params.rb +1 -0
- data/lib/telnyx/models/text_to_speech_retrieve_speech_params.rb +1 -1
- data/lib/telnyx/models/update_email_template_request.rb +54 -1
- data/lib/telnyx/models/wireless_private_wireless_gateway.rb +120 -0
- data/lib/telnyx/models.rb +10 -0
- data/lib/telnyx/resources/ai/assistants/versions.rb +1 -1
- data/lib/telnyx/resources/ai/assistants.rb +2 -2
- data/lib/telnyx/resources/ai/memory/namespaces/profiles/memories.rb +122 -0
- data/lib/telnyx/resources/ai/memory/namespaces/profiles/sources.rb +163 -0
- data/lib/telnyx/resources/ai/memory/namespaces/profiles.rb +244 -0
- data/lib/telnyx/resources/ai/memory/namespaces/settings.rb +76 -0
- data/lib/telnyx/resources/ai/memory/namespaces.rb +55 -0
- data/lib/telnyx/resources/ai/memory.rb +21 -0
- data/lib/telnyx/resources/ai/typesafe/v1.rb +20 -11
- data/lib/telnyx/resources/ai/typesafe.rb +1 -1
- data/lib/telnyx/resources/ai.rb +4 -0
- data/lib/telnyx/resources/calls/actions.rb +4 -4
- data/lib/telnyx/resources/conferences/actions.rb +1 -1
- data/lib/telnyx/resources/email_blocks/imports.rb +17 -3
- data/lib/telnyx/resources/email_blocks.rb +5 -3
- data/lib/telnyx/resources/email_domains.rb +28 -0
- data/lib/telnyx/resources/email_events.rb +21 -9
- data/lib/telnyx/resources/email_messages.rb +57 -13
- data/lib/telnyx/resources/email_templates.rb +33 -3
- data/lib/telnyx/resources/meeting_sessions/actions.rb +7 -1
- data/lib/telnyx/resources/meeting_sessions/artifacts.rb +18 -9
- data/lib/telnyx/resources/meeting_sessions.rb +6 -5
- data/lib/telnyx/resources/private_wireless_gateways.rb +5 -3
- data/lib/telnyx/resources/texml/accounts/calls.rb +9 -9
- data/lib/telnyx/resources/text_to_speech.rb +6 -4
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +42 -1
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +8 -4
- data/rbi/telnyx/models/ai/assistant_tool.rbi +56 -5
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +8 -4
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +12 -4
- data/rbi/telnyx/models/ai/collection.rbi +10 -4
- data/rbi/telnyx/models/ai/collections/collections_source.rbi +110 -0
- data/rbi/telnyx/models/ai/collections/source.rbi +36 -62
- data/rbi/telnyx/models/ai/collections/source_create_response.rbi +14 -6
- data/rbi/telnyx/models/ai/collections/source_list_response.rbi +10 -4
- data/rbi/telnyx/models/ai/collections/source_replace_response.rbi +11 -4
- data/rbi/telnyx/models/ai/flow_node.rbi +8 -4
- data/rbi/telnyx/models/ai/flow_node_req.rbi +8 -4
- data/rbi/telnyx/models/ai/inference_embedding.rbi +8 -4
- data/rbi/telnyx/models/ai/inference_embedding_voice_settings.rbi +803 -0
- data/rbi/telnyx/models/ai/inference_embedding_webhook_tool_params.rbi +23 -19
- data/rbi/telnyx/models/ai/memory/namespace_retrieve_params.rbi +50 -0
- data/rbi/telnyx/models/ai/memory/namespace_retrieve_response.rbi +167 -0
- data/rbi/telnyx/models/ai/memory/namespaces/namespace_settings_response.rbi +156 -0
- data/rbi/telnyx/models/ai/memory/namespaces/page_meta.rbi +81 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profile_delete_params.rbi +58 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profile_delete_response.rbi +97 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profile_ingest_params.rbi +149 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profile_ingest_response.rbi +113 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profile_list_params.rbi +74 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profile_list_response.rbi +48 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profile_recall_params.rbi +68 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profile_recall_response.rbi +109 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profile_remember_params.rbi +57 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profile_remember_response.rbi +107 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profile_retrieve_summary_params.rbi +58 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profile_retrieve_summary_response.rbi +119 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profiles/memory_list_params.rbi +102 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profiles/memory_list_response.rbi +72 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profiles/memory_retrieve_params.rbi +70 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profiles/memory_retrieve_response.rbi +129 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profiles/source_delete_params.rbi +74 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profiles/source_delete_response.rbi +117 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profiles/source_list_params.rbi +92 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profiles/source_retrieve_params.rbi +74 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profiles/source_retrieve_response.rbi +209 -0
- data/rbi/telnyx/models/ai/memory/namespaces/setting_list_params.rbi +49 -0
- data/rbi/telnyx/models/ai/memory/namespaces/setting_patch_all_params.rbi +125 -0
- data/rbi/telnyx/models/ai/typesafe/v1_systemone_params.rbi +62 -0
- data/rbi/telnyx/models/ai/typesafe/v1_systemone_response.rbi +49 -9
- data/rbi/telnyx/models/ai/webhook_tool.rbi +23 -3
- data/rbi/telnyx/models/artifact_completed_webhook_event.rbi +30 -0
- data/rbi/telnyx/models/artifact_failed_webhook_event.rbi +20 -0
- data/rbi/telnyx/models/calls/action_gather_using_ai_params.rbi +22 -5
- data/rbi/telnyx/models/calls/action_gather_using_speak_params.rbi +22 -5
- data/rbi/telnyx/models/calls/action_speak_params.rbi +22 -5
- data/rbi/telnyx/models/calls/action_start_conversation_relay_params.rbi +22 -5
- data/rbi/telnyx/models/calls/soniox_voice_settings.rbi +86 -0
- data/rbi/telnyx/models/conferences/action_speak_params.rbi +22 -5
- data/rbi/telnyx/models/conversation_relay_embedded_config.rbi +22 -5
- data/rbi/telnyx/models/conversation_relay_language.rbi +10 -5
- data/rbi/telnyx/models/email_block.rbi +8 -0
- data/rbi/telnyx/models/email_blocks/email_block_import.rbi +6 -2
- data/rbi/telnyx/models/email_domain_rotate_dkim_params.rbi +35 -0
- data/rbi/telnyx/models/email_domain_rotate_dkim_response.rbi +487 -0
- data/rbi/telnyx/models/email_domains/email_webhook_event.rbi +20 -3
- data/rbi/telnyx/models/email_event_list_params.rbi +46 -11
- data/rbi/telnyx/models/email_event_list_response.rbi +599 -97
- data/rbi/telnyx/models/email_event_type.rbi +25 -0
- data/rbi/telnyx/models/email_inboxes/email_message.rbi +81 -3
- data/rbi/telnyx/models/email_message_batch_params.rbi +54 -20
- data/rbi/telnyx/models/email_message_create_params.rbi +80 -16
- data/rbi/telnyx/models/{email_message_retrieve_response.rbi → email_message_detail_response.rbi} +9 -16
- data/rbi/telnyx/models/email_message_list_params.rbi +40 -0
- data/rbi/telnyx/models/email_message_update_schedule_params.rbi +52 -0
- data/rbi/telnyx/models/email_messages/email_recipient.rbi +10 -0
- data/rbi/telnyx/models/email_messages/recipient_list_params.rbi +10 -0
- data/rbi/telnyx/models/email_template.rbi +84 -0
- data/rbi/telnyx/models/email_template_create_params.rbi +124 -0
- data/rbi/telnyx/models/email_webhook_recipient.rbi +68 -0
- data/rbi/telnyx/models/meeting_session.rbi +36 -10
- data/rbi/telnyx/models/meeting_session_create_params.rbi +112 -48
- data/rbi/telnyx/models/meeting_sessions/artifact_create_params.rbi +161 -24
- data/rbi/telnyx/models/meeting_sessions/meeting_session_artifact.rbi +30 -0
- data/rbi/telnyx/models/message_event.rbi +48 -1
- data/rbi/telnyx/models/numbers_phone_number_detailed.rbi +24 -4
- data/rbi/telnyx/models/private_wireless_gateway_create_params.rbi +71 -0
- data/rbi/telnyx/models/private_wireless_gateway_create_response.rbi +4 -4
- data/rbi/telnyx/models/private_wireless_gateway_delete_response.rbi +4 -4
- data/rbi/telnyx/models/private_wireless_gateway_retrieve_response.rbi +4 -4
- data/rbi/telnyx/models/texml/accounts/call_retrieve_calls_params.rbi +22 -22
- data/rbi/telnyx/models/text_to_speech_generate_speech_params.rbi +311 -2
- data/rbi/telnyx/models/text_to_speech_list_voices_params.rbi +5 -0
- data/rbi/telnyx/models/text_to_speech_retrieve_speech_params.rbi +5 -5
- data/rbi/telnyx/models/update_email_template_request.rbi +90 -0
- data/rbi/telnyx/models/wireless_private_wireless_gateway.rbi +211 -0
- data/rbi/telnyx/models.rbi +12 -0
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +2 -1
- data/rbi/telnyx/resources/ai/assistants.rbi +2 -2
- data/rbi/telnyx/resources/ai/memory/namespaces/profiles/memories.rbi +94 -0
- data/rbi/telnyx/resources/ai/memory/namespaces/profiles/sources.rbi +117 -0
- data/rbi/telnyx/resources/ai/memory/namespaces/profiles.rbi +196 -0
- data/rbi/telnyx/resources/ai/memory/namespaces/settings.rbi +67 -0
- data/rbi/telnyx/resources/ai/memory/namespaces.rbi +37 -0
- data/rbi/telnyx/resources/ai/memory.rbi +18 -0
- data/rbi/telnyx/resources/ai/typesafe/v1.rbi +20 -10
- data/rbi/telnyx/resources/ai/typesafe.rbi +1 -1
- data/rbi/telnyx/resources/ai.rbi +3 -0
- data/rbi/telnyx/resources/calls/actions.rbi +32 -4
- data/rbi/telnyx/resources/conferences/actions.rbi +8 -1
- data/rbi/telnyx/resources/email_blocks/imports.rbi +17 -3
- data/rbi/telnyx/resources/email_blocks.rbi +5 -3
- data/rbi/telnyx/resources/email_domains.rbi +22 -0
- data/rbi/telnyx/resources/email_events.rbi +30 -9
- data/rbi/telnyx/resources/email_messages.rbi +100 -16
- data/rbi/telnyx/resources/email_templates.rbi +71 -0
- data/rbi/telnyx/resources/meeting_sessions/actions.rbi +7 -1
- data/rbi/telnyx/resources/meeting_sessions/artifacts.rbi +19 -8
- data/rbi/telnyx/resources/meeting_sessions.rbi +15 -7
- data/rbi/telnyx/resources/private_wireless_gateways.rbi +9 -1
- data/rbi/telnyx/resources/texml/accounts/calls.rbi +6 -6
- data/rbi/telnyx/resources/text_to_speech.rbi +7 -3
- data/sig/telnyx/models/ai/assistant_create_params.rbs +6 -6
- data/sig/telnyx/models/ai/assistant_tool.rbs +33 -3
- data/sig/telnyx/models/ai/assistant_update_params.rbs +6 -6
- data/sig/telnyx/models/ai/assistants/update_assistant.rbs +6 -6
- data/sig/telnyx/models/ai/collection.rbs +6 -6
- data/sig/telnyx/models/ai/collections/collections_source.rbs +65 -0
- data/sig/telnyx/models/ai/collections/source.rbs +18 -37
- data/sig/telnyx/models/ai/collections/source_create_response.rbs +9 -6
- data/sig/telnyx/models/ai/collections/source_list_response.rbs +8 -6
- data/sig/telnyx/models/ai/collections/source_replace_response.rbs +6 -6
- data/sig/telnyx/models/ai/flow_node.rbs +6 -6
- data/sig/telnyx/models/ai/flow_node_req.rbs +6 -6
- data/sig/telnyx/models/ai/inference_embedding.rbs +6 -6
- data/sig/telnyx/models/ai/inference_embedding_voice_settings.rbs +308 -0
- data/sig/telnyx/models/ai/inference_embedding_webhook_tool_params.rbs +13 -13
- data/sig/telnyx/models/ai/memory/namespace_retrieve_params.rbs +32 -0
- data/sig/telnyx/models/ai/memory/namespace_retrieve_response.rbs +69 -0
- data/sig/telnyx/models/ai/memory/namespaces/namespace_settings_response.rbs +59 -0
- data/sig/telnyx/models/ai/memory/namespaces/page_meta.rbs +41 -0
- data/sig/telnyx/models/ai/memory/namespaces/profile_delete_params.rbs +34 -0
- data/sig/telnyx/models/ai/memory/namespaces/profile_delete_response.rbs +41 -0
- data/sig/telnyx/models/ai/memory/namespaces/profile_ingest_params.rbs +69 -0
- data/sig/telnyx/models/ai/memory/namespaces/profile_ingest_response.rbs +58 -0
- data/sig/telnyx/models/ai/memory/namespaces/profile_list_params.rbs +42 -0
- data/sig/telnyx/models/ai/memory/namespaces/profile_list_response.rbs +22 -0
- data/sig/telnyx/models/ai/memory/namespaces/profile_recall_params.rbs +47 -0
- data/sig/telnyx/models/ai/memory/namespaces/profile_recall_response.rbs +53 -0
- data/sig/telnyx/models/ai/memory/namespaces/profile_remember_params.rbs +38 -0
- data/sig/telnyx/models/ai/memory/namespaces/profile_remember_response.rbs +49 -0
- data/sig/telnyx/models/ai/memory/namespaces/profile_retrieve_summary_params.rbs +34 -0
- data/sig/telnyx/models/ai/memory/namespaces/profile_retrieve_summary_response.rbs +58 -0
- data/sig/telnyx/models/ai/memory/namespaces/profiles/memory_list_params.rbs +63 -0
- data/sig/telnyx/models/ai/memory/namespaces/profiles/memory_list_response.rbs +43 -0
- data/sig/telnyx/models/ai/memory/namespaces/profiles/memory_retrieve_params.rbs +40 -0
- data/sig/telnyx/models/ai/memory/namespaces/profiles/memory_retrieve_response.rbs +65 -0
- data/sig/telnyx/models/ai/memory/namespaces/profiles/source_delete_params.rbs +40 -0
- data/sig/telnyx/models/ai/memory/namespaces/profiles/source_delete_response.rbs +55 -0
- data/sig/telnyx/models/ai/memory/namespaces/profiles/source_list_params.rbs +58 -0
- data/sig/telnyx/models/ai/memory/namespaces/profiles/source_retrieve_params.rbs +40 -0
- data/sig/telnyx/models/ai/memory/namespaces/profiles/source_retrieve_response.rbs +92 -0
- data/sig/telnyx/models/ai/memory/namespaces/setting_list_params.rbs +29 -0
- data/sig/telnyx/models/ai/memory/namespaces/setting_patch_all_params.rbs +47 -0
- data/sig/telnyx/models/ai/typesafe/v1_systemone_params.rbs +21 -1
- data/sig/telnyx/models/ai/typesafe/v1_systemone_response.rbs +15 -4
- data/sig/telnyx/models/ai/webhook_tool.rbs +10 -3
- data/sig/telnyx/models/artifact_completed_webhook_event.rbs +16 -1
- data/sig/telnyx/models/artifact_failed_webhook_event.rbs +11 -1
- data/sig/telnyx/models/calls/action_gather_using_ai_params.rbs +1 -0
- data/sig/telnyx/models/calls/action_gather_using_speak_params.rbs +1 -0
- data/sig/telnyx/models/calls/action_speak_params.rbs +1 -0
- data/sig/telnyx/models/calls/action_start_conversation_relay_params.rbs +1 -0
- data/sig/telnyx/models/calls/soniox_voice_settings.rbs +46 -0
- data/sig/telnyx/models/conferences/action_speak_params.rbs +1 -0
- data/sig/telnyx/models/conversation_relay_embedded_config.rbs +1 -0
- data/sig/telnyx/models/conversation_relay_language.rbs +1 -0
- data/sig/telnyx/models/email_domain_rotate_dkim_params.rbs +23 -0
- data/sig/telnyx/models/email_domain_rotate_dkim_response.rbs +195 -0
- data/sig/telnyx/models/email_domains/email_webhook_event.rbs +6 -0
- data/sig/telnyx/models/email_event_list_params.rbs +7 -7
- data/sig/telnyx/models/email_event_list_response.rbs +235 -59
- data/sig/telnyx/models/email_event_type.rbs +20 -0
- data/sig/telnyx/models/email_inboxes/email_message.rbs +43 -4
- data/sig/telnyx/models/{email_message_retrieve_response.rbs → email_message_detail_response.rbs} +6 -10
- data/sig/telnyx/models/email_message_list_params.rbs +18 -1
- data/sig/telnyx/models/email_message_update_schedule_params.rbs +28 -0
- data/sig/telnyx/models/email_messages/email_recipient.rbs +4 -0
- data/sig/telnyx/models/email_messages/recipient_list_params.rbs +4 -0
- data/sig/telnyx/models/email_template.rbs +29 -0
- data/sig/telnyx/models/email_template_create_params.rbs +33 -0
- data/sig/telnyx/models/email_webhook_recipient.rbs +46 -0
- data/sig/telnyx/models/meeting_session.rbs +20 -5
- data/sig/telnyx/models/meeting_session_create_params.rbs +28 -20
- data/sig/telnyx/models/meeting_sessions/artifact_create_params.rbs +53 -10
- data/sig/telnyx/models/meeting_sessions/meeting_session_artifact.rbs +16 -1
- data/sig/telnyx/models/message_event.rbs +10 -0
- data/sig/telnyx/models/numbers_phone_number_detailed.rbs +5 -0
- data/sig/telnyx/models/private_wireless_gateway_create_params.rbs +25 -1
- data/sig/telnyx/models/private_wireless_gateway_create_response.rbs +6 -6
- data/sig/telnyx/models/private_wireless_gateway_delete_response.rbs +6 -6
- data/sig/telnyx/models/private_wireless_gateway_retrieve_response.rbs +6 -6
- data/sig/telnyx/models/texml/accounts/call_retrieve_calls_params.rbs +14 -14
- data/sig/telnyx/models/text_to_speech_generate_speech_params.rbs +114 -0
- data/sig/telnyx/models/text_to_speech_list_voices_params.rbs +2 -0
- data/sig/telnyx/models/text_to_speech_retrieve_speech_params.rbs +2 -2
- data/sig/telnyx/models/update_email_template_request.rbs +33 -0
- data/sig/telnyx/models/wireless_private_wireless_gateway.rbs +109 -0
- data/sig/telnyx/models.rbs +10 -0
- data/sig/telnyx/resources/ai/assistants/versions.rbs +1 -1
- data/sig/telnyx/resources/ai/assistants.rbs +2 -2
- data/sig/telnyx/resources/ai/memory/namespaces/profiles/memories.rbs +32 -0
- data/sig/telnyx/resources/ai/memory/namespaces/profiles/sources.rbs +38 -0
- data/sig/telnyx/resources/ai/memory/namespaces/profiles.rbs +59 -0
- data/sig/telnyx/resources/ai/memory/namespaces/settings.rbs +24 -0
- data/sig/telnyx/resources/ai/memory/namespaces.rbs +21 -0
- data/sig/telnyx/resources/ai/memory.rbs +11 -0
- data/sig/telnyx/resources/ai/typesafe/v1.rbs +1 -0
- data/sig/telnyx/resources/ai.rbs +2 -0
- data/sig/telnyx/resources/email_domains.rbs +5 -0
- data/sig/telnyx/resources/email_events.rbs +2 -2
- data/sig/telnyx/resources/email_messages.rbs +9 -1
- data/sig/telnyx/resources/email_templates.rbs +9 -0
- data/sig/telnyx/resources/meeting_sessions/artifacts.rbs +1 -1
- data/sig/telnyx/resources/meeting_sessions.rbs +1 -0
- data/sig/telnyx/resources/private_wireless_gateways.rbs +2 -1
- data/sig/telnyx/resources/text_to_speech.rbs +1 -0
- metadata +128 -5
|
@@ -14,10 +14,10 @@ module Telnyx
|
|
|
14
14
|
required :meeting_url, String
|
|
15
15
|
|
|
16
16
|
# @!attribute assistant
|
|
17
|
-
#
|
|
18
|
-
#
|
|
19
|
-
#
|
|
20
|
-
#
|
|
17
|
+
# Attach a Telnyx AI Assistant to the session. Supply the Assistant's ID; the
|
|
18
|
+
# Meeting service connects it to the meeting directly. The Call Control
|
|
19
|
+
# connection, caller ID and loopback SIP URI previously required here have been
|
|
20
|
+
# removed and are now rejected as unknown fields.
|
|
21
21
|
#
|
|
22
22
|
# @return [Telnyx::Models::MeetingSessionCreateParams::Assistant, nil]
|
|
23
23
|
optional :assistant, -> { Telnyx::MeetingSessionCreateParams::Assistant }
|
|
@@ -53,6 +53,16 @@ module Telnyx
|
|
|
53
53
|
# @return [Telnyx::Models::MeetingSessionCreateParams::CameraImage::MeetingSessionCameraImageBase64Source, Telnyx::Models::MeetingSessionCreateParams::CameraImage::MeetingSessionCameraImageURLSource, nil]
|
|
54
54
|
optional :camera_image, union: -> { Telnyx::MeetingSessionCreateParams::CameraImage }
|
|
55
55
|
|
|
56
|
+
# @!attribute chat_on_enter
|
|
57
|
+
# A message the bot posts to the meeting's chat as soon as it becomes active —
|
|
58
|
+
# typically a recording disclosure. Delivered at most once. Independent of
|
|
59
|
+
# `speak_on_enter`: both may be set, and the chat message posts first because it
|
|
60
|
+
# does not wait for text-to-speech or avatar startup. Rejected with 422
|
|
61
|
+
# `unsupported_capability` on platforms without meeting chat.
|
|
62
|
+
#
|
|
63
|
+
# @return [String, nil]
|
|
64
|
+
optional :chat_on_enter, String
|
|
65
|
+
|
|
56
66
|
# @!attribute idempotency_key
|
|
57
67
|
# Client-supplied idempotency key to safely retry creation requests without
|
|
58
68
|
# duplicating sessions. Lookup is scoped to the authenticated account and compares
|
|
@@ -76,7 +86,10 @@ module Telnyx
|
|
|
76
86
|
optional :metadata, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
|
|
77
87
|
|
|
78
88
|
# @!attribute speak_on_enter
|
|
79
|
-
# Text the bot speaks when it enters the meeting.
|
|
89
|
+
# Text the bot speaks when it enters the meeting. **Not spoken when an `assistant`
|
|
90
|
+
# is attached**: the value is accepted and echoed back on the session, but the
|
|
91
|
+
# assistant owns the voice and the line is never delivered, with no event
|
|
92
|
+
# reporting the omission. Use `chat_on_enter` to announce an assistant-backed bot.
|
|
80
93
|
#
|
|
81
94
|
# @return [String, nil]
|
|
82
95
|
optional :speak_on_enter, String
|
|
@@ -103,13 +116,13 @@ module Telnyx
|
|
|
103
116
|
# @return [String, nil]
|
|
104
117
|
optional :webhook_url, String
|
|
105
118
|
|
|
106
|
-
# @!method initialize(meeting_url:, assistant: nil, avatar: nil, barge_in: nil, bot_name: nil, camera_image: nil, idempotency_key: nil, join_at: nil, metadata: nil, speak_on_enter: nil, summarize_on_end: nil, voice: nil, webhook_url: nil, request_options: {})
|
|
119
|
+
# @!method initialize(meeting_url:, assistant: nil, avatar: nil, barge_in: nil, bot_name: nil, camera_image: nil, chat_on_enter: nil, idempotency_key: nil, join_at: nil, metadata: nil, speak_on_enter: nil, summarize_on_end: nil, voice: nil, webhook_url: nil, request_options: {})
|
|
107
120
|
# Some parameter documentations has been truncated, see
|
|
108
121
|
# {Telnyx::Models::MeetingSessionCreateParams} for more details.
|
|
109
122
|
#
|
|
110
123
|
# @param meeting_url [String] The meeting URL the bot should join.
|
|
111
124
|
#
|
|
112
|
-
# @param assistant [Telnyx::Models::MeetingSessionCreateParams::Assistant]
|
|
125
|
+
# @param assistant [Telnyx::Models::MeetingSessionCreateParams::Assistant] Attach a Telnyx AI Assistant to the session. Supply the Assistant's ID; the Meet
|
|
113
126
|
#
|
|
114
127
|
# @param avatar [Telnyx::Models::MeetingSessionCreateParams::Avatar] Request options for attaching a bring-your-own-key avatar to the session.
|
|
115
128
|
#
|
|
@@ -119,13 +132,16 @@ module Telnyx
|
|
|
119
132
|
#
|
|
120
133
|
# @param camera_image [Telnyx::Models::MeetingSessionCreateParams::CameraImage::MeetingSessionCameraImageBase64Source, Telnyx::Models::MeetingSessionCreateParams::CameraImage::MeetingSessionCameraImageURLSource] Write-only static camera-tile image for this session, not a native account or pa
|
|
121
134
|
#
|
|
135
|
+
# @param chat_on_enter [String] A message the bot posts to the meeting's chat as soon as it becomes active — typ
|
|
136
|
+
#
|
|
122
137
|
# @param idempotency_key [String] Client-supplied idempotency key to safely retry creation requests without duplic
|
|
123
138
|
#
|
|
124
139
|
# @param join_at [Time] ISO-8601 timestamp in the future at which the bot should join. If omitted, the b
|
|
125
140
|
#
|
|
126
141
|
# @param metadata [Hash{Symbol=>Object}] Arbitrary key-value metadata attached to the session. The serialized JSON repres
|
|
127
142
|
#
|
|
128
|
-
# @param speak_on_enter [String] Text the bot speaks when it enters the meeting.
|
|
143
|
+
# @param speak_on_enter [String] Text the bot speaks when it enters the meeting. \*\*Not spoken when an
|
|
144
|
+
# `assistant`
|
|
129
145
|
#
|
|
130
146
|
# @param summarize_on_end [Boolean] If true, generate a summary artifact when the session ends.
|
|
131
147
|
#
|
|
@@ -142,54 +158,72 @@ module Telnyx
|
|
|
142
158
|
# @return [String]
|
|
143
159
|
required :id, String
|
|
144
160
|
|
|
145
|
-
# @!attribute
|
|
146
|
-
#
|
|
161
|
+
# @!attribute audio_gate
|
|
162
|
+
# Audio gating strategy for the assistant call leg. `half_duplex` (default) sends
|
|
163
|
+
# the assistant a single mixed meeting stream and mutes it while the assistant
|
|
164
|
+
# speaks, so the assistant cannot hear itself and cannot be interrupted.
|
|
165
|
+
# `full_duplex` sends a separate stream per participant, which allows barge-in and
|
|
166
|
+
# removes self-hearing, and COSTS SIGNIFICANTLY MORE: per-participant streams
|
|
167
|
+
# multiply the per-minute cost by the number of participants.
|
|
147
168
|
#
|
|
148
|
-
# @return [
|
|
149
|
-
|
|
169
|
+
# @return [Symbol, Telnyx::Models::MeetingSessionCreateParams::Assistant::AudioGate, nil]
|
|
170
|
+
optional :audio_gate, enum: -> { Telnyx::MeetingSessionCreateParams::Assistant::AudioGate }
|
|
150
171
|
|
|
151
|
-
# @!attribute
|
|
152
|
-
#
|
|
172
|
+
# @!attribute dynamic_variables
|
|
173
|
+
# Per-conversation values for the
|
|
174
|
+
# [dynamic variables](/docs/inference/ai-assistants/dynamic-variables) used in the
|
|
175
|
+
# Assistant's instructions, greeting, or tools. Delivered before the Assistant's
|
|
176
|
+
# first utterance, so they resolve for the opening line as well as the rest of the
|
|
177
|
+
# conversation. At most 63 entries; keys 1-128 characters; values must be strings.
|
|
178
|
+
# The map is budgeted in aggregate at 1,047,552 bytes (1023 KiB) rather than
|
|
179
|
+
# capped per value. `streaming_audio`, `ai_assistant_streaming_audio` and
|
|
180
|
+
# `meeting_session_id` are reserved and rejected with `400 invalid_request` --
|
|
181
|
+
# they toggle provider infrastructure or are set by the service rather than fill a
|
|
182
|
+
# prompt template.
|
|
153
183
|
#
|
|
154
|
-
# @return [String]
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
# @!attribute
|
|
158
|
-
#
|
|
184
|
+
# @return [Hash{Symbol=>String}, nil]
|
|
185
|
+
optional :dynamic_variables, Telnyx::Internal::Type::HashOf[String]
|
|
186
|
+
|
|
187
|
+
# @!attribute leave_on_end
|
|
188
|
+
# Leave the meeting when the Assistant's conversation reaches a terminal state --
|
|
189
|
+
# `ended` **or** `failed`. Off by default, which leaves the bot in the meeting
|
|
190
|
+
# after the Assistant stops. Fires once: a second terminal transition does not
|
|
191
|
+
# leave twice, and a leave the provider refuses is logged without changing how the
|
|
192
|
+
# session settles.
|
|
159
193
|
#
|
|
160
|
-
# @return [
|
|
161
|
-
|
|
194
|
+
# @return [Boolean, nil]
|
|
195
|
+
optional :leave_on_end, Telnyx::Internal::Type::Boolean
|
|
162
196
|
|
|
163
|
-
# @!
|
|
164
|
-
#
|
|
197
|
+
# @!method initialize(id:, audio_gate: nil, dynamic_variables: nil, leave_on_end: nil)
|
|
198
|
+
# Some parameter documentations has been truncated, see
|
|
199
|
+
# {Telnyx::Models::MeetingSessionCreateParams::Assistant} for more details.
|
|
165
200
|
#
|
|
166
|
-
#
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
#
|
|
170
|
-
# Request options for attaching a voice assistant to the session. Routing fields
|
|
171
|
-
# (`call_control_connection_id`, `from`, and `loopback_sip_uri`) are used only to
|
|
172
|
-
# establish the assistant call leg and are omitted from response objects.
|
|
173
|
-
# `audio_gate` is returned with `id` in the assistant response object.
|
|
201
|
+
# Attach a Telnyx AI Assistant to the session. Supply the Assistant's ID; the
|
|
202
|
+
# Meeting service connects it to the meeting directly. The Call Control
|
|
203
|
+
# connection, caller ID and loopback SIP URI previously required here have been
|
|
204
|
+
# removed and are now rejected as unknown fields.
|
|
174
205
|
#
|
|
175
206
|
# @param id [String] Identifier of the assistant to attach.
|
|
176
207
|
#
|
|
177
|
-
# @param
|
|
208
|
+
# @param audio_gate [Symbol, Telnyx::Models::MeetingSessionCreateParams::Assistant::AudioGate] Audio gating strategy for the assistant call leg. `half_duplex` (default) sends
|
|
178
209
|
#
|
|
179
|
-
# @param
|
|
210
|
+
# @param dynamic_variables [Hash{Symbol=>String}] Per-conversation values for the [dynamic variables](/docs/inference/ai-assistant
|
|
180
211
|
#
|
|
181
|
-
# @param
|
|
182
|
-
|
|
183
|
-
#
|
|
184
|
-
|
|
185
|
-
#
|
|
212
|
+
# @param leave_on_end [Boolean] Leave the meeting when the Assistant's conversation reaches a terminal state --
|
|
213
|
+
|
|
214
|
+
# Audio gating strategy for the assistant call leg. `half_duplex` (default) sends
|
|
215
|
+
# the assistant a single mixed meeting stream and mutes it while the assistant
|
|
216
|
+
# speaks, so the assistant cannot hear itself and cannot be interrupted.
|
|
217
|
+
# `full_duplex` sends a separate stream per participant, which allows barge-in and
|
|
218
|
+
# removes self-hearing, and COSTS SIGNIFICANTLY MORE: per-participant streams
|
|
219
|
+
# multiply the per-minute cost by the number of participants.
|
|
186
220
|
#
|
|
187
221
|
# @see Telnyx::Models::MeetingSessionCreateParams::Assistant#audio_gate
|
|
188
222
|
module AudioGate
|
|
189
223
|
extend Telnyx::Internal::Type::Enum
|
|
190
224
|
|
|
191
|
-
NONE = :none
|
|
192
225
|
HALF_DUPLEX = :half_duplex
|
|
226
|
+
FULL_DUPLEX = :full_duplex
|
|
193
227
|
|
|
194
228
|
# @!method self.values
|
|
195
229
|
# @return [Array<Symbol>]
|
|
@@ -13,28 +13,92 @@ module Telnyx
|
|
|
13
13
|
# @return [String]
|
|
14
14
|
required :id, String
|
|
15
15
|
|
|
16
|
-
# @!attribute
|
|
17
|
-
#
|
|
16
|
+
# @!attribute body
|
|
17
|
+
# One of two shapes: a named type on its own, or `custom` with the prompt it
|
|
18
|
+
# answers.
|
|
18
19
|
#
|
|
19
|
-
# @return [
|
|
20
|
-
required :
|
|
20
|
+
# @return [Telnyx::Models::MeetingSessions::ArtifactCreateParams::Body::NamedArtifact, Telnyx::Models::MeetingSessions::ArtifactCreateParams::Body::CustomArtifact]
|
|
21
|
+
required :body, union: -> { Telnyx::MeetingSessions::ArtifactCreateParams::Body }
|
|
21
22
|
|
|
22
|
-
# @!method initialize(id:,
|
|
23
|
+
# @!method initialize(id:, body:, request_options: {})
|
|
24
|
+
# Some parameter documentations has been truncated, see
|
|
25
|
+
# {Telnyx::Models::MeetingSessions::ArtifactCreateParams} for more details.
|
|
26
|
+
#
|
|
23
27
|
# @param id [String]
|
|
24
28
|
#
|
|
25
|
-
# @param
|
|
29
|
+
# @param body [Telnyx::Models::MeetingSessions::ArtifactCreateParams::Body::NamedArtifact, Telnyx::Models::MeetingSessions::ArtifactCreateParams::Body::CustomArtifact] One of two shapes: a named type on its own, or `custom` with the prompt it answe
|
|
26
30
|
#
|
|
27
31
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
28
32
|
|
|
29
|
-
#
|
|
30
|
-
|
|
31
|
-
|
|
33
|
+
# One of two shapes: a named type on its own, or `custom` with the prompt it
|
|
34
|
+
# answers.
|
|
35
|
+
module Body
|
|
36
|
+
extend Telnyx::Internal::Type::Union
|
|
37
|
+
|
|
38
|
+
variant -> { Telnyx::MeetingSessions::ArtifactCreateParams::Body::NamedArtifact }
|
|
39
|
+
|
|
40
|
+
variant -> { Telnyx::MeetingSessions::ArtifactCreateParams::Body::CustomArtifact }
|
|
41
|
+
|
|
42
|
+
class NamedArtifact < Telnyx::Internal::Type::BaseModel
|
|
43
|
+
# @!attribute type
|
|
44
|
+
# What to generate from the transcript. `custom` is answered from a `prompt` you
|
|
45
|
+
# supply; the five named types need none.
|
|
46
|
+
#
|
|
47
|
+
# @return [Symbol, Telnyx::Models::MeetingSessions::ArtifactCreateParams::Body::NamedArtifact::Type]
|
|
48
|
+
required :type, enum: -> { Telnyx::MeetingSessions::ArtifactCreateParams::Body::NamedArtifact::Type }
|
|
49
|
+
|
|
50
|
+
# @!method initialize(type:)
|
|
51
|
+
# Some parameter documentations has been truncated, see
|
|
52
|
+
# {Telnyx::Models::MeetingSessions::ArtifactCreateParams::Body::NamedArtifact} for
|
|
53
|
+
# more details.
|
|
54
|
+
#
|
|
55
|
+
# @param type [Symbol, Telnyx::Models::MeetingSessions::ArtifactCreateParams::Body::NamedArtifact::Type] What to generate from the transcript. `custom` is answered from a `prompt` you s
|
|
56
|
+
|
|
57
|
+
# What to generate from the transcript. `custom` is answered from a `prompt` you
|
|
58
|
+
# supply; the five named types need none.
|
|
59
|
+
#
|
|
60
|
+
# @see Telnyx::Models::MeetingSessions::ArtifactCreateParams::Body::NamedArtifact#type
|
|
61
|
+
module Type
|
|
62
|
+
extend Telnyx::Internal::Type::Enum
|
|
63
|
+
|
|
64
|
+
SUMMARY = :summary
|
|
65
|
+
ACTION_ITEMS = :action_items
|
|
66
|
+
DECISIONS = :decisions
|
|
67
|
+
TOPICS = :topics
|
|
68
|
+
OPEN_QUESTIONS = :open_questions
|
|
69
|
+
|
|
70
|
+
# @!method self.values
|
|
71
|
+
# @return [Array<Symbol>]
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
class CustomArtifact < Telnyx::Internal::Type::BaseModel
|
|
76
|
+
# @!attribute prompt
|
|
77
|
+
# An open-ended request answered from the transcript. Required when `type` is
|
|
78
|
+
# `custom`, and rejected with 400 on any named type. Trimmed before storage and
|
|
79
|
+
# echoed back in artifact responses and the `artifact.completed` webhook.
|
|
80
|
+
#
|
|
81
|
+
# @return [String]
|
|
82
|
+
required :prompt, String
|
|
83
|
+
|
|
84
|
+
# @!attribute type
|
|
85
|
+
# Answered from the `prompt` below rather than a fixed question.
|
|
86
|
+
#
|
|
87
|
+
# @return [Symbol, :custom]
|
|
88
|
+
required :type, const: :custom
|
|
32
89
|
|
|
33
|
-
|
|
34
|
-
|
|
90
|
+
# @!method initialize(prompt:, type: :custom)
|
|
91
|
+
# Some parameter documentations has been truncated, see
|
|
92
|
+
# {Telnyx::Models::MeetingSessions::ArtifactCreateParams::Body::CustomArtifact}
|
|
93
|
+
# for more details.
|
|
94
|
+
#
|
|
95
|
+
# @param prompt [String] An open-ended request answered from the transcript. Required when `type` is `cus
|
|
96
|
+
#
|
|
97
|
+
# @param type [Symbol, :custom] Answered from the `prompt` below rather than a fixed question.
|
|
98
|
+
end
|
|
35
99
|
|
|
36
|
-
# @!method self.
|
|
37
|
-
# @return [Array
|
|
100
|
+
# @!method self.variants
|
|
101
|
+
# @return [Array(Telnyx::Models::MeetingSessions::ArtifactCreateParams::Body::NamedArtifact, Telnyx::Models::MeetingSessions::ArtifactCreateParams::Body::CustomArtifact)]
|
|
38
102
|
end
|
|
39
103
|
end
|
|
40
104
|
end
|
|
@@ -31,6 +31,13 @@ module Telnyx
|
|
|
31
31
|
-> { Telnyx::MeetingSessions::MeetingSessionArtifact::ModelProvenance },
|
|
32
32
|
nil?: true
|
|
33
33
|
|
|
34
|
+
# @!attribute prompt
|
|
35
|
+
# The prompt that produced this artifact, or null for a named type. Non-null only
|
|
36
|
+
# when `type` is `custom`; the five named types always return `null`.
|
|
37
|
+
#
|
|
38
|
+
# @return [String, nil]
|
|
39
|
+
required :prompt, String, nil?: true
|
|
40
|
+
|
|
34
41
|
# @!attribute session_id
|
|
35
42
|
#
|
|
36
43
|
# @return [String]
|
|
@@ -51,15 +58,28 @@ module Telnyx
|
|
|
51
58
|
# @return [Time]
|
|
52
59
|
required :updated_at, Time
|
|
53
60
|
|
|
54
|
-
# @!method initialize(id:, content:, created_at:, failure_reason:, model_provenance:, session_id:, status:, type:, updated_at:)
|
|
61
|
+
# @!method initialize(id:, content:, created_at:, failure_reason:, model_provenance:, prompt:, session_id:, status:, type:, updated_at:)
|
|
62
|
+
# Some parameter documentations has been truncated, see
|
|
63
|
+
# {Telnyx::Models::MeetingSessions::MeetingSessionArtifact} for more details.
|
|
64
|
+
#
|
|
55
65
|
# @param id [String]
|
|
66
|
+
#
|
|
56
67
|
# @param content [Telnyx::Models::MeetingSessions::MeetingSessionArtifact::Content, nil]
|
|
68
|
+
#
|
|
57
69
|
# @param created_at [Time]
|
|
70
|
+
#
|
|
58
71
|
# @param failure_reason [String, nil]
|
|
72
|
+
#
|
|
59
73
|
# @param model_provenance [Telnyx::Models::MeetingSessions::MeetingSessionArtifact::ModelProvenance, nil]
|
|
74
|
+
#
|
|
75
|
+
# @param prompt [String, nil] The prompt that produced this artifact, or null for a named type. Non-null only
|
|
76
|
+
#
|
|
60
77
|
# @param session_id [String]
|
|
78
|
+
#
|
|
61
79
|
# @param status [Symbol, Telnyx::Models::MeetingSessions::MeetingSessionArtifact::Status]
|
|
80
|
+
#
|
|
62
81
|
# @param type [Symbol, Telnyx::Models::MeetingSessions::MeetingSessionArtifact::Type]
|
|
82
|
+
#
|
|
63
83
|
# @param updated_at [Time]
|
|
64
84
|
|
|
65
85
|
# @see Telnyx::Models::MeetingSessions::MeetingSessionArtifact#content
|
|
@@ -108,6 +128,10 @@ module Telnyx
|
|
|
108
128
|
|
|
109
129
|
SUMMARY = :summary
|
|
110
130
|
ACTION_ITEMS = :action_items
|
|
131
|
+
DECISIONS = :decisions
|
|
132
|
+
TOPICS = :topics
|
|
133
|
+
OPEN_QUESTIONS = :open_questions
|
|
134
|
+
CUSTOM = :custom
|
|
111
135
|
|
|
112
136
|
# @!method self.values
|
|
113
137
|
# @return [Array<Symbol>]
|
|
@@ -4,12 +4,38 @@ module Telnyx
|
|
|
4
4
|
module Models
|
|
5
5
|
# @see Telnyx::Resources::EmailMessages#retrieve_events
|
|
6
6
|
class MessageEvent < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute canonical_event_type
|
|
8
|
+
# Additive canonical outcome name, prefixed with `email.`. Gateway rejection is
|
|
9
|
+
# `email.gw_reject`, ambiguous injection timeout is `email.injection_timeout`, and
|
|
10
|
+
# MTA expiration is `email.expired`. Unchanged outcomes retain their names.
|
|
11
|
+
# Existing stored rows are translated only when recorded payload evidence proves
|
|
12
|
+
# the outcome; a legacy failed row is not guessed or sharpened.
|
|
13
|
+
#
|
|
14
|
+
# @return [String]
|
|
15
|
+
required :canonical_event_type, String
|
|
16
|
+
|
|
17
|
+
# @!attribute event_type
|
|
18
|
+
# Legacy customer-visible event name, prefixed with `email.`. Gateway rejections
|
|
19
|
+
# render `email.failed`; MTA expirations render `email.bounced`. Webhook
|
|
20
|
+
# subscription allowlists match the legacy name.
|
|
21
|
+
#
|
|
22
|
+
# @return [String]
|
|
23
|
+
required :event_type, String
|
|
24
|
+
|
|
7
25
|
# @!attribute occurred_at
|
|
8
26
|
#
|
|
9
27
|
# @return [Time]
|
|
10
28
|
required :occurred_at, Time
|
|
11
29
|
|
|
12
30
|
# @!attribute type
|
|
31
|
+
# @deprecated
|
|
32
|
+
#
|
|
33
|
+
# Bare stored event names returned by message history. In addition to the normal
|
|
34
|
+
# send and delivery lifecycle, polling can expose suppression, scan, and
|
|
35
|
+
# quarantine lifecycle rows. Sharp canonical names gw_reject, injection_timeout,
|
|
36
|
+
# and expired distinguish gateway rejection, ambiguous injection timeout, and MTA
|
|
37
|
+
# expiration. The failed and bounced names remain valid for system/admin failures
|
|
38
|
+
# and hard bounces respectively. Existing stored rows retain their original names.
|
|
13
39
|
#
|
|
14
40
|
# @return [Symbol, Telnyx::Models::EmailEventType]
|
|
15
41
|
required :type, enum: -> { Telnyx::EmailEventType }
|
|
@@ -19,9 +45,22 @@ module Telnyx
|
|
|
19
45
|
# @return [Hash{Symbol=>Object}, nil]
|
|
20
46
|
optional :payload, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
|
|
21
47
|
|
|
22
|
-
# @!method initialize(occurred_at:, type:, payload: nil)
|
|
48
|
+
# @!method initialize(canonical_event_type:, event_type:, occurred_at:, type:, payload: nil)
|
|
49
|
+
# Some parameter documentations has been truncated, see
|
|
50
|
+
# {Telnyx::Models::MessageEvent} for more details.
|
|
51
|
+
#
|
|
52
|
+
# An event on the per-message events endpoint. The legacy event_type and additive
|
|
53
|
+
# canonical_event_type are email.-prefixed. The deprecated type preserves the bare
|
|
54
|
+
# stored event name for compatibility.
|
|
55
|
+
#
|
|
56
|
+
# @param canonical_event_type [String] Additive canonical outcome name, prefixed with `email.`. Gateway rejection is `e
|
|
57
|
+
#
|
|
58
|
+
# @param event_type [String] Legacy customer-visible event name, prefixed with `email.`. Gateway rejections r
|
|
59
|
+
#
|
|
23
60
|
# @param occurred_at [Time]
|
|
24
|
-
#
|
|
61
|
+
#
|
|
62
|
+
# @param type [Symbol, Telnyx::Models::EmailEventType] Bare stored event names returned by message history. In addition to the normal s
|
|
63
|
+
#
|
|
25
64
|
# @param payload [Hash{Symbol=>Object}]
|
|
26
65
|
end
|
|
27
66
|
end
|
|
@@ -62,14 +62,26 @@ module Telnyx
|
|
|
62
62
|
# @return [Symbol, Telnyx::Models::NumbersPhoneNumberDetailed::InboundCallScreening, nil]
|
|
63
63
|
optional :inbound_call_screening, enum: -> { Telnyx::NumbersPhoneNumberDetailed::InboundCallScreening }
|
|
64
64
|
|
|
65
|
+
# @!attribute messaging_campaign_id
|
|
66
|
+
# Identifies the messaging campaign associated with the phone number's messaging
|
|
67
|
+
# profile. If the messaging profile details could not be retrieved, this value is
|
|
68
|
+
# the string `UNAVAILABLE`.
|
|
69
|
+
#
|
|
70
|
+
# @return [String, nil]
|
|
71
|
+
optional :messaging_campaign_id, String, nil?: true
|
|
72
|
+
|
|
65
73
|
# @!attribute messaging_profile_id
|
|
66
|
-
# Identifies the messaging profile associated with the phone number.
|
|
74
|
+
# Identifies the messaging profile associated with the phone number. If the
|
|
75
|
+
# messaging profile details could not be retrieved, this value is the string
|
|
76
|
+
# `UNAVAILABLE`.
|
|
67
77
|
#
|
|
68
78
|
# @return [String, nil]
|
|
69
79
|
optional :messaging_profile_id, String, nil?: true
|
|
70
80
|
|
|
71
81
|
# @!attribute messaging_profile_name
|
|
72
|
-
# The name of the messaging profile associated with the phone number.
|
|
82
|
+
# The name of the messaging profile associated with the phone number. If the
|
|
83
|
+
# messaging profile details could not be retrieved, this value is the string
|
|
84
|
+
# `UNAVAILABLE`.
|
|
73
85
|
#
|
|
74
86
|
# @return [String, nil]
|
|
75
87
|
optional :messaging_profile_name, String, nil?: true
|
|
@@ -205,7 +217,7 @@ module Telnyx
|
|
|
205
217
|
optional :updated_at, String
|
|
206
218
|
end
|
|
207
219
|
|
|
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)
|
|
220
|
+
# @!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_campaign_id: nil, messaging_profile_id: nil, messaging_profile_name: nil, source_type: nil, t38_fax_gateway_enabled: nil, updated_at: nil)
|
|
209
221
|
# Some parameter documentations has been truncated, see
|
|
210
222
|
# {Telnyx::Models::NumbersPhoneNumberDetailed} for more details.
|
|
211
223
|
#
|
|
@@ -259,9 +271,11 @@ module Telnyx
|
|
|
259
271
|
#
|
|
260
272
|
# @param inbound_call_screening [Symbol, Telnyx::Models::NumbersPhoneNumberDetailed::InboundCallScreening] The inbound_call_screening setting is a phone number configuration option variab
|
|
261
273
|
#
|
|
262
|
-
# @param
|
|
274
|
+
# @param messaging_campaign_id [String, nil] Identifies the messaging campaign associated with the phone number's messaging p
|
|
275
|
+
#
|
|
276
|
+
# @param messaging_profile_id [String, nil] Identifies the messaging profile associated with the phone number. If the messag
|
|
263
277
|
#
|
|
264
|
-
# @param messaging_profile_name [String, nil] The name of the messaging profile associated with the phone number.
|
|
278
|
+
# @param messaging_profile_name [String, nil] The name of the messaging profile associated with the phone number. If the messa
|
|
265
279
|
#
|
|
266
280
|
# @param source_type [Symbol, Telnyx::Models::NumbersPhoneNumberDetailed::SourceType, nil] Indicates if the phone number was purchased or ported in. For some numbers this
|
|
267
281
|
#
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
module Telnyx
|
|
4
4
|
module Models
|
|
5
|
-
# @see Telnyx::Resources::PrivateWirelessGateways#list
|
|
6
5
|
class PrivateWirelessGateway < Telnyx::Internal::Type::BaseModel
|
|
7
6
|
# @!attribute assigned_resources
|
|
8
7
|
# A list of the resources that have been assigned to the Private Wireless Gateway.
|
|
@@ -19,6 +19,16 @@ module Telnyx
|
|
|
19
19
|
# @return [String]
|
|
20
20
|
required :network_id, String
|
|
21
21
|
|
|
22
|
+
# @!attribute address_mode
|
|
23
|
+
# Determines how IP addresses are assigned to SIM cards using this gateway. With
|
|
24
|
+
# static, each SIM card gets a fixed IP address from the gateway's IP range that
|
|
25
|
+
# is preserved across sessions. With dynamic, an IP address is assigned by the
|
|
26
|
+
# network at attach time and may change between sessions. If omitted, the gateway
|
|
27
|
+
# is created with the default address mode, dynamic.
|
|
28
|
+
#
|
|
29
|
+
# @return [Symbol, Telnyx::Models::PrivateWirelessGatewayCreateParams::AddressMode, nil]
|
|
30
|
+
optional :address_mode, enum: -> { Telnyx::PrivateWirelessGatewayCreateParams::AddressMode }
|
|
31
|
+
|
|
22
32
|
# @!attribute region_code
|
|
23
33
|
# The code of the region where the private wireless gateway will be assigned. A
|
|
24
34
|
# list of available regions can be found at the regions endpoint
|
|
@@ -26,7 +36,7 @@ module Telnyx
|
|
|
26
36
|
# @return [String, nil]
|
|
27
37
|
optional :region_code, String
|
|
28
38
|
|
|
29
|
-
# @!method initialize(name:, network_id:, region_code: nil, request_options: {})
|
|
39
|
+
# @!method initialize(name:, network_id:, address_mode: nil, region_code: nil, request_options: {})
|
|
30
40
|
# Some parameter documentations has been truncated, see
|
|
31
41
|
# {Telnyx::Models::PrivateWirelessGatewayCreateParams} for more details.
|
|
32
42
|
#
|
|
@@ -34,9 +44,26 @@ module Telnyx
|
|
|
34
44
|
#
|
|
35
45
|
# @param network_id [String] The identification of the related network resource.
|
|
36
46
|
#
|
|
47
|
+
# @param address_mode [Symbol, Telnyx::Models::PrivateWirelessGatewayCreateParams::AddressMode] Determines how IP addresses are assigned to SIM cards using this gateway. With s
|
|
48
|
+
#
|
|
37
49
|
# @param region_code [String] The code of the region where the private wireless gateway will be assigned. A li
|
|
38
50
|
#
|
|
39
51
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
52
|
+
|
|
53
|
+
# Determines how IP addresses are assigned to SIM cards using this gateway. With
|
|
54
|
+
# static, each SIM card gets a fixed IP address from the gateway's IP range that
|
|
55
|
+
# is preserved across sessions. With dynamic, an IP address is assigned by the
|
|
56
|
+
# network at attach time and may change between sessions. If omitted, the gateway
|
|
57
|
+
# is created with the default address mode, dynamic.
|
|
58
|
+
module AddressMode
|
|
59
|
+
extend Telnyx::Internal::Type::Enum
|
|
60
|
+
|
|
61
|
+
STATIC = :static
|
|
62
|
+
DYNAMIC = :dynamic
|
|
63
|
+
|
|
64
|
+
# @!method self.values
|
|
65
|
+
# @return [Array<Symbol>]
|
|
66
|
+
end
|
|
40
67
|
end
|
|
41
68
|
end
|
|
42
69
|
end
|
|
@@ -6,11 +6,11 @@ module Telnyx
|
|
|
6
6
|
class PrivateWirelessGatewayCreateResponse < Telnyx::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute data
|
|
8
8
|
#
|
|
9
|
-
# @return [Telnyx::Models::
|
|
10
|
-
optional :data, -> { Telnyx::
|
|
9
|
+
# @return [Telnyx::Models::WirelessPrivateWirelessGateway, nil]
|
|
10
|
+
optional :data, -> { Telnyx::WirelessPrivateWirelessGateway }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [Telnyx::Models::
|
|
13
|
+
# @param data [Telnyx::Models::WirelessPrivateWirelessGateway]
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
16
|
end
|
|
@@ -6,11 +6,11 @@ module Telnyx
|
|
|
6
6
|
class PrivateWirelessGatewayDeleteResponse < Telnyx::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute data
|
|
8
8
|
#
|
|
9
|
-
# @return [Telnyx::Models::
|
|
10
|
-
optional :data, -> { Telnyx::
|
|
9
|
+
# @return [Telnyx::Models::WirelessPrivateWirelessGateway, nil]
|
|
10
|
+
optional :data, -> { Telnyx::WirelessPrivateWirelessGateway }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [Telnyx::Models::
|
|
13
|
+
# @param data [Telnyx::Models::WirelessPrivateWirelessGateway]
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
16
|
end
|
|
@@ -6,11 +6,11 @@ module Telnyx
|
|
|
6
6
|
class PrivateWirelessGatewayRetrieveResponse < Telnyx::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute data
|
|
8
8
|
#
|
|
9
|
-
# @return [Telnyx::Models::
|
|
10
|
-
optional :data, -> { Telnyx::
|
|
9
|
+
# @return [Telnyx::Models::WirelessPrivateWirelessGateway, nil]
|
|
10
|
+
optional :data, -> { Telnyx::WirelessPrivateWirelessGateway }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [Telnyx::Models::
|
|
13
|
+
# @param data [Telnyx::Models::WirelessPrivateWirelessGateway]
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
16
|
end
|