telnyx 5.160.0 → 5.162.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 +24 -0
- data/README.md +1 -1
- data/lib/telnyx/client.rb +8 -0
- data/lib/telnyx/models/artifact_completed_webhook_event.rb +152 -0
- data/lib/telnyx/models/artifact_failed_webhook_event.rb +103 -0
- data/lib/telnyx/models/call_dial_params.rb +34 -8
- data/lib/telnyx/models/calls/action_answer_params.rb +7 -6
- data/lib/telnyx/models/calls/action_gather_using_speak_params.rb +6 -1
- data/lib/telnyx/models/calls/action_speak_params.rb +6 -1
- data/lib/telnyx/models/calls/action_transfer_params.rb +34 -7
- data/lib/telnyx/models/conferences/action_speak_params.rb +6 -1
- data/lib/telnyx/models/meeting_session.rb +380 -0
- data/lib/telnyx/models/meeting_session_create_params.rb +309 -0
- data/lib/telnyx/models/meeting_session_delete_params.rb +20 -0
- data/lib/telnyx/models/meeting_session_delete_recording_media_params.rb +20 -0
- data/lib/telnyx/models/meeting_session_delete_recording_media_response.rb +61 -0
- data/lib/telnyx/models/meeting_session_list_params.rb +39 -0
- data/lib/telnyx/models/meeting_session_list_response.rb +16 -0
- data/lib/telnyx/models/meeting_session_response.rb +22 -0
- data/lib/telnyx/models/meeting_session_retrieve_events_params.rb +37 -0
- data/lib/telnyx/models/meeting_session_retrieve_events_response.rb +45 -0
- data/lib/telnyx/models/meeting_session_retrieve_params.rb +20 -0
- data/lib/telnyx/models/meeting_session_retrieve_recordings_params.rb +20 -0
- data/lib/telnyx/models/meeting_session_retrieve_recordings_response.rb +49 -0
- data/lib/telnyx/models/meeting_session_retrieve_transcript_params.rb +50 -0
- data/lib/telnyx/models/meeting_session_retrieve_transcript_response.rb +80 -0
- data/lib/telnyx/models/meeting_session_update_params.rb +37 -0
- data/lib/telnyx/models/meeting_sessions/action_accepted_response.rb +29 -0
- data/lib/telnyx/models/meeting_sessions/action_send_chat_params.rb +31 -0
- data/lib/telnyx/models/meeting_sessions/action_speak_params.rb +52 -0
- data/lib/telnyx/models/meeting_sessions/action_stop_speaking_params.rb +22 -0
- data/lib/telnyx/models/meeting_sessions/artifact_create_params.rb +42 -0
- data/lib/telnyx/models/meeting_sessions/artifact_list_params.rb +22 -0
- data/lib/telnyx/models/meeting_sessions/artifact_list_response.rb +18 -0
- data/lib/telnyx/models/meeting_sessions/artifact_retrieve_params.rb +28 -0
- data/lib/telnyx/models/meeting_sessions/meeting_session_artifact.rb +120 -0
- data/lib/telnyx/models/meeting_sessions/meeting_session_artifact_response.rb +20 -0
- data/lib/telnyx/models/phone_numbers/voicemail_pref_response.rb +64 -1
- data/lib/telnyx/models/phone_numbers/voicemail_request.rb +63 -1
- data/lib/telnyx/models/private_wireless_gateway_status.rb +2 -2
- data/lib/telnyx/models/recording_available_webhook_event.rb +82 -0
- data/lib/telnyx/models/rime_voice_settings.rb +15 -1
- data/lib/telnyx/models/session_status_changed_webhook_event.rb +102 -0
- data/lib/telnyx/models/sim_cards/action_bulk_enable_voice_params.rb +16 -1
- data/lib/telnyx/models/sim_cards/action_disable_voice_params.rb +22 -0
- data/lib/telnyx/models/sim_cards/action_disable_voice_response.rb +23 -0
- data/lib/telnyx/models/sim_cards/action_enable_voice_params.rb +37 -0
- data/lib/telnyx/models/sim_cards/action_enable_voice_response.rb +23 -0
- data/lib/telnyx/models/sim_cards/action_list_params.rb +2 -0
- data/lib/telnyx/models/sim_cards/wireless_sim_card_action.rb +6 -0
- data/lib/telnyx/models/storage/edge_compute_pagination_meta.rb +35 -0
- data/lib/telnyx/models/storage/sql_database.rb +75 -0
- data/lib/telnyx/models/storage/sql_database_response_wrapper.rb +18 -0
- data/lib/telnyx/models/storage/sqldb_create_params.rb +28 -0
- data/lib/telnyx/models/storage/sqldb_delete_params.rb +35 -0
- data/lib/telnyx/models/storage/sqldb_list_params.rb +85 -0
- data/lib/telnyx/models/storage/sqldb_retrieve_params.rb +22 -0
- data/lib/telnyx/models/storage/sqldbs/action_query_params.rb +66 -0
- data/lib/telnyx/models/storage/sqldbs/action_query_response.rb +109 -0
- data/lib/telnyx/models/texml/accounts/call_calls_params.rb +96 -3
- data/lib/telnyx/models/texml/accounts/conferences/participant_participants_params.rb +30 -1
- data/lib/telnyx/models/texml_initiate_ai_call_params.rb +28 -1
- data/lib/telnyx/models/transcript_completed_webhook_event.rb +98 -0
- data/lib/telnyx/models/unsafe_unwrap_webhook_event.rb +11 -1
- data/lib/telnyx/models/unwrap_webhook_event.rb +11 -1
- data/lib/telnyx/models/web_search/research_citation.rb +34 -0
- data/lib/telnyx/models/web_search/research_create_params.rb +65 -0
- data/lib/telnyx/models/web_search/research_create_response.rb +93 -0
- data/lib/telnyx/models/web_search/research_retrieve_params.rb +22 -0
- data/lib/telnyx/models/web_search/research_retrieve_response.rb +77 -0
- data/lib/telnyx/models/web_search_contents_params.rb +63 -0
- data/lib/telnyx/models/web_search_contents_response.rb +97 -0
- data/lib/telnyx/models/web_search_create_params.rb +95 -0
- data/lib/telnyx/models/web_search_create_response.rb +47 -0
- data/lib/telnyx/models/web_search_result.rb +56 -0
- data/lib/telnyx/models.rb +42 -0
- data/lib/telnyx/resources/calls/actions.rb +2 -2
- data/lib/telnyx/resources/calls.rb +1 -1
- data/lib/telnyx/resources/meeting_sessions/actions.rb +92 -0
- data/lib/telnyx/resources/meeting_sessions/artifacts.rb +92 -0
- data/lib/telnyx/resources/meeting_sessions.rb +290 -0
- data/lib/telnyx/resources/messaging_profiles.rb +1 -1
- data/lib/telnyx/resources/phone_numbers/voicemail.rb +20 -4
- data/lib/telnyx/resources/sim_cards/actions.rb +66 -1
- data/lib/telnyx/resources/storage/sqldbs/actions.rb +50 -0
- data/lib/telnyx/resources/storage/sqldbs.rb +140 -0
- data/lib/telnyx/resources/storage.rb +5 -0
- data/lib/telnyx/resources/texml/accounts/conferences/participants.rb +3 -1
- data/lib/telnyx/resources/texml.rb +3 -1
- data/lib/telnyx/resources/web_search/research.rb +86 -0
- data/lib/telnyx/resources/web_search.rb +96 -0
- data/lib/telnyx/resources/webhooks.rb +2 -2
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +61 -0
- data/rbi/telnyx/client.rbi +6 -0
- data/rbi/telnyx/models/artifact_completed_webhook_event.rbi +283 -0
- data/rbi/telnyx/models/artifact_failed_webhook_event.rbi +185 -0
- data/rbi/telnyx/models/call_dial_params.rbi +77 -12
- data/rbi/telnyx/models/calls/action_answer_params.rbi +12 -10
- data/rbi/telnyx/models/calls/action_gather_using_speak_params.rbi +12 -2
- data/rbi/telnyx/models/calls/action_speak_params.rbi +12 -2
- data/rbi/telnyx/models/calls/action_transfer_params.rbi +77 -10
- data/rbi/telnyx/models/conferences/action_speak_params.rbi +12 -2
- data/rbi/telnyx/models/meeting_session.rbi +544 -0
- data/rbi/telnyx/models/meeting_session_create_params.rbi +526 -0
- data/rbi/telnyx/models/meeting_session_delete_params.rbi +35 -0
- data/rbi/telnyx/models/meeting_session_delete_recording_media_params.rbi +38 -0
- data/rbi/telnyx/models/meeting_session_delete_recording_media_response.rbi +143 -0
- data/rbi/telnyx/models/meeting_session_list_params.rbi +101 -0
- data/rbi/telnyx/models/meeting_session_list_response.rbi +30 -0
- data/rbi/telnyx/models/meeting_session_response.rbi +36 -0
- data/rbi/telnyx/models/meeting_session_retrieve_events_params.rbi +66 -0
- data/rbi/telnyx/models/meeting_session_retrieve_events_response.rbi +92 -0
- data/rbi/telnyx/models/meeting_session_retrieve_params.rbi +35 -0
- data/rbi/telnyx/models/meeting_session_retrieve_recordings_params.rbi +38 -0
- data/rbi/telnyx/models/meeting_session_retrieve_recordings_response.rbi +97 -0
- data/rbi/telnyx/models/meeting_session_retrieve_transcript_params.rbi +81 -0
- data/rbi/telnyx/models/meeting_session_retrieve_transcript_response.rbi +154 -0
- data/rbi/telnyx/models/meeting_session_update_params.rbi +63 -0
- data/rbi/telnyx/models/meeting_sessions/action_accepted_response.rbi +64 -0
- data/rbi/telnyx/models/meeting_sessions/action_send_chat_params.rbi +54 -0
- data/rbi/telnyx/models/meeting_sessions/action_speak_params.rbi +80 -0
- data/rbi/telnyx/models/meeting_sessions/action_stop_speaking_params.rbi +40 -0
- data/rbi/telnyx/models/meeting_sessions/artifact_create_params.rbi +89 -0
- data/rbi/telnyx/models/meeting_sessions/artifact_list_params.rbi +40 -0
- data/rbi/telnyx/models/meeting_sessions/artifact_list_response.rbi +39 -0
- data/rbi/telnyx/models/meeting_sessions/artifact_retrieve_params.rbi +48 -0
- data/rbi/telnyx/models/meeting_sessions/meeting_session_artifact.rbi +264 -0
- data/rbi/telnyx/models/meeting_sessions/meeting_session_artifact_response.rbi +46 -0
- data/rbi/telnyx/models/phone_numbers/voicemail_pref_response.rbi +149 -2
- data/rbi/telnyx/models/phone_numbers/voicemail_request.rbi +145 -2
- data/rbi/telnyx/models/private_wireless_gateway_status.rbi +2 -2
- data/rbi/telnyx/models/recording_available_webhook_event.rbi +146 -0
- data/rbi/telnyx/models/rime_voice_settings.rbi +17 -0
- data/rbi/telnyx/models/session_status_changed_webhook_event.rbi +171 -0
- data/rbi/telnyx/models/sim_cards/action_bulk_enable_voice_params.rbi +21 -1
- data/rbi/telnyx/models/sim_cards/action_disable_voice_params.rbi +40 -0
- data/rbi/telnyx/models/sim_cards/action_disable_voice_response.rbi +45 -0
- data/rbi/telnyx/models/sim_cards/action_enable_voice_params.rbi +63 -0
- data/rbi/telnyx/models/sim_cards/action_enable_voice_response.rbi +45 -0
- data/rbi/telnyx/models/sim_cards/action_list_params.rbi +10 -0
- data/rbi/telnyx/models/sim_cards/wireless_sim_card_action.rbi +16 -0
- data/rbi/telnyx/models/storage/edge_compute_pagination_meta.rbi +70 -0
- data/rbi/telnyx/models/storage/sql_database.rbi +131 -0
- data/rbi/telnyx/models/storage/sql_database_response_wrapper.rbi +35 -0
- data/rbi/telnyx/models/storage/sqldb_create_params.rbi +44 -0
- data/rbi/telnyx/models/storage/sqldb_delete_params.rbi +56 -0
- data/rbi/telnyx/models/storage/sqldb_list_params.rbi +198 -0
- data/rbi/telnyx/models/storage/sqldb_retrieve_params.rbi +40 -0
- data/rbi/telnyx/models/storage/sqldbs/action_query_params.rbi +125 -0
- data/rbi/telnyx/models/storage/sqldbs/action_query_response.rbi +226 -0
- data/rbi/telnyx/models/texml/accounts/call_calls_params.rbi +204 -0
- data/rbi/telnyx/models/texml/accounts/conferences/participant_participants_params.rbi +68 -0
- data/rbi/telnyx/models/texml_initiate_ai_call_params.rbi +68 -0
- data/rbi/telnyx/models/transcript_completed_webhook_event.rbi +166 -0
- data/rbi/telnyx/models/unsafe_unwrap_webhook_event.rbi +5 -0
- data/rbi/telnyx/models/unwrap_webhook_event.rbi +5 -0
- data/rbi/telnyx/models/web_search/research_citation.rbi +53 -0
- data/rbi/telnyx/models/web_search/research_create_params.rbi +138 -0
- data/rbi/telnyx/models/web_search/research_create_response.rbi +235 -0
- data/rbi/telnyx/models/web_search/research_retrieve_params.rbi +40 -0
- data/rbi/telnyx/models/web_search/research_retrieve_response.rbi +179 -0
- data/rbi/telnyx/models/web_search_contents_params.rbi +119 -0
- data/rbi/telnyx/models/web_search_contents_response.rbi +232 -0
- data/rbi/telnyx/models/web_search_create_params.rbi +162 -0
- data/rbi/telnyx/models/web_search_create_response.rbi +127 -0
- data/rbi/telnyx/models/web_search_result.rbi +83 -0
- data/rbi/telnyx/models.rbi +49 -0
- data/rbi/telnyx/resources/calls/actions.rbi +22 -10
- data/rbi/telnyx/resources/calls.rbi +5 -5
- data/rbi/telnyx/resources/conferences/actions.rbi +6 -1
- data/rbi/telnyx/resources/meeting_sessions/actions.rbi +71 -0
- data/rbi/telnyx/resources/meeting_sessions/artifacts.rbi +67 -0
- data/rbi/telnyx/resources/meeting_sessions.rbi +256 -0
- data/rbi/telnyx/resources/messaging_profiles.rbi +1 -1
- data/rbi/telnyx/resources/phone_numbers/voicemail.rbi +22 -2
- data/rbi/telnyx/resources/sim_cards/actions.rbi +56 -1
- data/rbi/telnyx/resources/storage/sqldbs/actions.rbi +50 -0
- data/rbi/telnyx/resources/storage/sqldbs.rbi +105 -0
- data/rbi/telnyx/resources/storage.rbi +4 -0
- data/rbi/telnyx/resources/texml/accounts/conferences/participants.rbi +7 -0
- data/rbi/telnyx/resources/texml.rbi +7 -0
- data/rbi/telnyx/resources/web_search/research.rbi +71 -0
- data/rbi/telnyx/resources/web_search.rbi +86 -0
- data/rbi/telnyx/resources/webhooks.rbi +10 -0
- data/sig/telnyx/client.rbs +4 -0
- data/sig/telnyx/models/artifact_completed_webhook_event.rbs +120 -0
- data/sig/telnyx/models/artifact_failed_webhook_event.rbs +88 -0
- data/sig/telnyx/models/call_dial_params.rbs +27 -5
- data/sig/telnyx/models/calls/action_answer_params.rbs +7 -5
- data/sig/telnyx/models/calls/action_transfer_params.rbs +27 -5
- data/sig/telnyx/models/meeting_session.rbs +277 -0
- data/sig/telnyx/models/meeting_session_create_params.rbs +222 -0
- data/sig/telnyx/models/meeting_session_delete_params.rbs +20 -0
- data/sig/telnyx/models/meeting_session_delete_recording_media_params.rbs +20 -0
- data/sig/telnyx/models/meeting_session_delete_recording_media_response.rbs +61 -0
- data/sig/telnyx/models/meeting_session_list_params.rbs +53 -0
- data/sig/telnyx/models/meeting_session_list_response.rbs +14 -0
- data/sig/telnyx/models/meeting_session_response.rbs +13 -0
- data/sig/telnyx/models/meeting_session_retrieve_events_params.rbs +36 -0
- data/sig/telnyx/models/meeting_session_retrieve_events_response.rbs +52 -0
- data/sig/telnyx/models/meeting_session_retrieve_params.rbs +20 -0
- data/sig/telnyx/models/meeting_session_retrieve_recordings_params.rbs +20 -0
- data/sig/telnyx/models/meeting_session_retrieve_recordings_response.rbs +34 -0
- data/sig/telnyx/models/meeting_session_retrieve_transcript_params.rbs +42 -0
- data/sig/telnyx/models/meeting_session_retrieve_transcript_response.rbs +77 -0
- data/sig/telnyx/models/meeting_session_update_params.rbs +36 -0
- data/sig/telnyx/models/meeting_sessions/action_accepted_response.rbs +30 -0
- data/sig/telnyx/models/meeting_sessions/action_send_chat_params.rbs +30 -0
- data/sig/telnyx/models/meeting_sessions/action_speak_params.rbs +42 -0
- data/sig/telnyx/models/meeting_sessions/action_stop_speaking_params.rbs +22 -0
- data/sig/telnyx/models/meeting_sessions/artifact_create_params.rbs +44 -0
- data/sig/telnyx/models/meeting_sessions/artifact_list_params.rbs +22 -0
- data/sig/telnyx/models/meeting_sessions/artifact_list_response.rbs +20 -0
- data/sig/telnyx/models/meeting_sessions/artifact_retrieve_params.rbs +30 -0
- data/sig/telnyx/models/meeting_sessions/meeting_session_artifact.rbs +109 -0
- data/sig/telnyx/models/meeting_sessions/meeting_session_artifact_response.rbs +22 -0
- data/sig/telnyx/models/phone_numbers/voicemail_pref_response.rbs +59 -3
- data/sig/telnyx/models/phone_numbers/voicemail_request.rbs +59 -3
- data/sig/telnyx/models/recording_available_webhook_event.rbs +65 -0
- data/sig/telnyx/models/rime_voice_settings.rbs +11 -1
- data/sig/telnyx/models/session_status_changed_webhook_event.rbs +82 -0
- data/sig/telnyx/models/sim_cards/action_bulk_enable_voice_params.rbs +7 -1
- data/sig/telnyx/models/sim_cards/action_disable_voice_params.rbs +22 -0
- data/sig/telnyx/models/sim_cards/action_disable_voice_response.rbs +20 -0
- data/sig/telnyx/models/sim_cards/action_enable_voice_params.rbs +32 -0
- data/sig/telnyx/models/sim_cards/action_enable_voice_response.rbs +20 -0
- data/sig/telnyx/models/sim_cards/action_list_params.rbs +4 -0
- data/sig/telnyx/models/sim_cards/wireless_sim_card_action.rbs +8 -1
- data/sig/telnyx/models/storage/edge_compute_pagination_meta.rbs +45 -0
- data/sig/telnyx/models/storage/sql_database.rbs +80 -0
- data/sig/telnyx/models/storage/sql_database_response_wrapper.rbs +20 -0
- data/sig/telnyx/models/storage/sqldb_create_params.rbs +25 -0
- data/sig/telnyx/models/storage/sqldb_delete_params.rbs +31 -0
- data/sig/telnyx/models/storage/sqldb_list_params.rbs +97 -0
- data/sig/telnyx/models/storage/sqldb_retrieve_params.rbs +22 -0
- data/sig/telnyx/models/storage/sqldbs/action_query_params.rbs +52 -0
- data/sig/telnyx/models/storage/sqldbs/action_query_response.rbs +124 -0
- data/sig/telnyx/models/texml/accounts/call_calls_params.rbs +60 -0
- data/sig/telnyx/models/texml/accounts/conferences/participant_participants_params.rbs +20 -0
- data/sig/telnyx/models/texml_initiate_ai_call_params.rbs +20 -0
- data/sig/telnyx/models/transcript_completed_webhook_event.rbs +82 -0
- data/sig/telnyx/models/unsafe_unwrap_webhook_event.rbs +5 -0
- data/sig/telnyx/models/unwrap_webhook_event.rbs +5 -0
- data/sig/telnyx/models/web_search/research_citation.rbs +21 -0
- data/sig/telnyx/models/web_search/research_create_params.rbs +63 -0
- data/sig/telnyx/models/web_search/research_create_response.rbs +95 -0
- data/sig/telnyx/models/web_search/research_retrieve_params.rbs +25 -0
- data/sig/telnyx/models/web_search/research_retrieve_response.rbs +80 -0
- data/sig/telnyx/models/web_search_contents_params.rbs +59 -0
- data/sig/telnyx/models/web_search_contents_response.rbs +104 -0
- data/sig/telnyx/models/web_search_create_params.rbs +89 -0
- data/sig/telnyx/models/web_search_create_response.rbs +65 -0
- data/sig/telnyx/models/web_search_result.rbs +49 -0
- data/sig/telnyx/models.rbs +42 -0
- data/sig/telnyx/resources/calls/actions.rbs +2 -2
- data/sig/telnyx/resources/calls.rbs +1 -1
- data/sig/telnyx/resources/meeting_sessions/actions.rbs +28 -0
- data/sig/telnyx/resources/meeting_sessions/artifacts.rbs +26 -0
- data/sig/telnyx/resources/meeting_sessions.rbs +75 -0
- data/sig/telnyx/resources/phone_numbers/voicemail.rbs +2 -0
- data/sig/telnyx/resources/sim_cards/actions.rbs +12 -0
- data/sig/telnyx/resources/storage/sqldbs/actions.rbs +18 -0
- data/sig/telnyx/resources/storage/sqldbs.rbs +36 -0
- data/sig/telnyx/resources/storage.rbs +2 -0
- data/sig/telnyx/resources/texml/accounts/conferences/participants.rbs +1 -0
- data/sig/telnyx/resources/texml.rbs +1 -0
- data/sig/telnyx/resources/web_search/research.rbs +22 -0
- data/sig/telnyx/resources/web_search.rbs +29 -0
- data/sig/telnyx/resources/webhooks.rbs +10 -0
- metadata +185 -2
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module WebSearch
|
|
4
|
+
type research_create_response =
|
|
5
|
+
{ data: Telnyx::Models::WebSearch::ResearchCreateResponse::data }
|
|
6
|
+
|
|
7
|
+
class ResearchCreateResponse < Telnyx::Internal::Type::BaseModel
|
|
8
|
+
attr_reader data: Telnyx::Models::WebSearch::ResearchCreateResponse::data?
|
|
9
|
+
|
|
10
|
+
def data=: (
|
|
11
|
+
Telnyx::Models::WebSearch::ResearchCreateResponse::data
|
|
12
|
+
) -> Telnyx::Models::WebSearch::ResearchCreateResponse::data
|
|
13
|
+
|
|
14
|
+
def initialize: (
|
|
15
|
+
?data: Telnyx::Models::WebSearch::ResearchCreateResponse::data
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> {
|
|
19
|
+
data: Telnyx::Models::WebSearch::ResearchCreateResponse::data
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
type data =
|
|
23
|
+
Telnyx::Models::WebSearch::ResearchCreateResponse::Data::ResearchResponseSync
|
|
24
|
+
| Telnyx::Models::WebSearch::ResearchCreateResponse::Data::ResearchResponseAsync
|
|
25
|
+
|
|
26
|
+
module Data
|
|
27
|
+
extend Telnyx::Internal::Type::Union
|
|
28
|
+
|
|
29
|
+
type research_response_sync =
|
|
30
|
+
{
|
|
31
|
+
answer: String,
|
|
32
|
+
citations: ::Array[Telnyx::WebSearch::ResearchCitation]
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
class ResearchResponseSync < Telnyx::Internal::Type::BaseModel
|
|
36
|
+
attr_accessor answer: String
|
|
37
|
+
|
|
38
|
+
attr_reader citations: ::Array[Telnyx::WebSearch::ResearchCitation]?
|
|
39
|
+
|
|
40
|
+
def citations=: (
|
|
41
|
+
::Array[Telnyx::WebSearch::ResearchCitation]
|
|
42
|
+
) -> ::Array[Telnyx::WebSearch::ResearchCitation]
|
|
43
|
+
|
|
44
|
+
def initialize: (
|
|
45
|
+
answer: String,
|
|
46
|
+
?citations: ::Array[Telnyx::WebSearch::ResearchCitation]
|
|
47
|
+
) -> void
|
|
48
|
+
|
|
49
|
+
def to_hash: -> {
|
|
50
|
+
answer: String,
|
|
51
|
+
citations: ::Array[Telnyx::WebSearch::ResearchCitation]
|
|
52
|
+
}
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
type research_response_async =
|
|
56
|
+
{
|
|
57
|
+
status: Telnyx::Models::WebSearch::ResearchCreateResponse::Data::ResearchResponseAsync::status,
|
|
58
|
+
task_id: String
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
class ResearchResponseAsync < Telnyx::Internal::Type::BaseModel
|
|
62
|
+
attr_accessor status: Telnyx::Models::WebSearch::ResearchCreateResponse::Data::ResearchResponseAsync::status
|
|
63
|
+
|
|
64
|
+
attr_accessor task_id: String
|
|
65
|
+
|
|
66
|
+
def initialize: (
|
|
67
|
+
status: Telnyx::Models::WebSearch::ResearchCreateResponse::Data::ResearchResponseAsync::status,
|
|
68
|
+
task_id: String
|
|
69
|
+
) -> void
|
|
70
|
+
|
|
71
|
+
def to_hash: -> {
|
|
72
|
+
status: Telnyx::Models::WebSearch::ResearchCreateResponse::Data::ResearchResponseAsync::status,
|
|
73
|
+
task_id: String
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
type status = :pending | :running | :completed | :failed
|
|
77
|
+
|
|
78
|
+
module Status
|
|
79
|
+
extend Telnyx::Internal::Type::Enum
|
|
80
|
+
|
|
81
|
+
PENDING: :pending
|
|
82
|
+
RUNNING: :running
|
|
83
|
+
COMPLETED: :completed
|
|
84
|
+
FAILED: :failed
|
|
85
|
+
|
|
86
|
+
def self?.values: -> ::Array[Telnyx::Models::WebSearch::ResearchCreateResponse::Data::ResearchResponseAsync::status]
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
def self?.variants: -> ::Array[Telnyx::Models::WebSearch::ResearchCreateResponse::data]
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module WebSearch
|
|
4
|
+
type research_retrieve_params =
|
|
5
|
+
{ task_id: String } & Telnyx::Internal::Type::request_parameters
|
|
6
|
+
|
|
7
|
+
class ResearchRetrieveParams < Telnyx::Internal::Type::BaseModel
|
|
8
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
attr_accessor task_id: String
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
task_id: String,
|
|
15
|
+
?request_options: Telnyx::request_opts
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> {
|
|
19
|
+
task_id: String,
|
|
20
|
+
request_options: Telnyx::RequestOptions
|
|
21
|
+
}
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module WebSearch
|
|
4
|
+
type research_retrieve_response =
|
|
5
|
+
{ data: Telnyx::Models::WebSearch::ResearchRetrieveResponse::Data }
|
|
6
|
+
|
|
7
|
+
class ResearchRetrieveResponse < Telnyx::Internal::Type::BaseModel
|
|
8
|
+
attr_reader data: Telnyx::Models::WebSearch::ResearchRetrieveResponse::Data?
|
|
9
|
+
|
|
10
|
+
def data=: (
|
|
11
|
+
Telnyx::Models::WebSearch::ResearchRetrieveResponse::Data
|
|
12
|
+
) -> Telnyx::Models::WebSearch::ResearchRetrieveResponse::Data
|
|
13
|
+
|
|
14
|
+
def initialize: (
|
|
15
|
+
?data: Telnyx::Models::WebSearch::ResearchRetrieveResponse::Data
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> {
|
|
19
|
+
data: Telnyx::Models::WebSearch::ResearchRetrieveResponse::Data
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
type data =
|
|
23
|
+
{
|
|
24
|
+
status: Telnyx::Models::WebSearch::ResearchRetrieveResponse::Data::status,
|
|
25
|
+
task_id: String,
|
|
26
|
+
answer: String,
|
|
27
|
+
citations: ::Array[Telnyx::WebSearch::ResearchCitation],
|
|
28
|
+
error: String?
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
32
|
+
attr_accessor status: Telnyx::Models::WebSearch::ResearchRetrieveResponse::Data::status
|
|
33
|
+
|
|
34
|
+
attr_accessor task_id: String
|
|
35
|
+
|
|
36
|
+
attr_reader answer: String?
|
|
37
|
+
|
|
38
|
+
def answer=: (String) -> String
|
|
39
|
+
|
|
40
|
+
attr_reader citations: ::Array[Telnyx::WebSearch::ResearchCitation]?
|
|
41
|
+
|
|
42
|
+
def citations=: (
|
|
43
|
+
::Array[Telnyx::WebSearch::ResearchCitation]
|
|
44
|
+
) -> ::Array[Telnyx::WebSearch::ResearchCitation]
|
|
45
|
+
|
|
46
|
+
attr_accessor error: String?
|
|
47
|
+
|
|
48
|
+
def initialize: (
|
|
49
|
+
status: Telnyx::Models::WebSearch::ResearchRetrieveResponse::Data::status,
|
|
50
|
+
task_id: String,
|
|
51
|
+
?answer: String,
|
|
52
|
+
?citations: ::Array[Telnyx::WebSearch::ResearchCitation],
|
|
53
|
+
?error: String?
|
|
54
|
+
) -> void
|
|
55
|
+
|
|
56
|
+
def to_hash: -> {
|
|
57
|
+
status: Telnyx::Models::WebSearch::ResearchRetrieveResponse::Data::status,
|
|
58
|
+
task_id: String,
|
|
59
|
+
answer: String,
|
|
60
|
+
citations: ::Array[Telnyx::WebSearch::ResearchCitation],
|
|
61
|
+
error: String?
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
type status = :pending | :running | :completed | :failed
|
|
65
|
+
|
|
66
|
+
module Status
|
|
67
|
+
extend Telnyx::Internal::Type::Enum
|
|
68
|
+
|
|
69
|
+
PENDING: :pending
|
|
70
|
+
RUNNING: :running
|
|
71
|
+
COMPLETED: :completed
|
|
72
|
+
FAILED: :failed
|
|
73
|
+
|
|
74
|
+
def self?.values: -> ::Array[Telnyx::Models::WebSearch::ResearchRetrieveResponse::Data::status]
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
end
|
|
80
|
+
end
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
type web_search_contents_params =
|
|
4
|
+
{
|
|
5
|
+
urls: ::Array[String],
|
|
6
|
+
crawl_timeout: Integer,
|
|
7
|
+
formats: ::Array[Telnyx::Models::WebSearchContentsParams::format_],
|
|
8
|
+
max_age: Integer?
|
|
9
|
+
}
|
|
10
|
+
& Telnyx::Internal::Type::request_parameters
|
|
11
|
+
|
|
12
|
+
class WebSearchContentsParams < Telnyx::Internal::Type::BaseModel
|
|
13
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
14
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
15
|
+
|
|
16
|
+
attr_accessor urls: ::Array[String]
|
|
17
|
+
|
|
18
|
+
attr_reader crawl_timeout: Integer?
|
|
19
|
+
|
|
20
|
+
def crawl_timeout=: (Integer) -> Integer
|
|
21
|
+
|
|
22
|
+
attr_reader formats: ::Array[Telnyx::Models::WebSearchContentsParams::format_]?
|
|
23
|
+
|
|
24
|
+
def formats=: (
|
|
25
|
+
::Array[Telnyx::Models::WebSearchContentsParams::format_]
|
|
26
|
+
) -> ::Array[Telnyx::Models::WebSearchContentsParams::format_]
|
|
27
|
+
|
|
28
|
+
attr_accessor max_age: Integer?
|
|
29
|
+
|
|
30
|
+
def initialize: (
|
|
31
|
+
urls: ::Array[String],
|
|
32
|
+
?crawl_timeout: Integer,
|
|
33
|
+
?formats: ::Array[Telnyx::Models::WebSearchContentsParams::format_],
|
|
34
|
+
?max_age: Integer?,
|
|
35
|
+
?request_options: Telnyx::request_opts
|
|
36
|
+
) -> void
|
|
37
|
+
|
|
38
|
+
def to_hash: -> {
|
|
39
|
+
urls: ::Array[String],
|
|
40
|
+
crawl_timeout: Integer,
|
|
41
|
+
formats: ::Array[Telnyx::Models::WebSearchContentsParams::format_],
|
|
42
|
+
max_age: Integer?,
|
|
43
|
+
request_options: Telnyx::RequestOptions
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
type format_ = :html | :markdown | :metadata
|
|
47
|
+
|
|
48
|
+
module Format
|
|
49
|
+
extend Telnyx::Internal::Type::Enum
|
|
50
|
+
|
|
51
|
+
HTML: :html
|
|
52
|
+
MARKDOWN: :markdown
|
|
53
|
+
METADATA: :metadata
|
|
54
|
+
|
|
55
|
+
def self?.values: -> ::Array[Telnyx::Models::WebSearchContentsParams::format_]
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
type web_search_contents_response =
|
|
4
|
+
{ data: Telnyx::Models::WebSearchContentsResponse::Data }
|
|
5
|
+
|
|
6
|
+
class WebSearchContentsResponse < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
attr_reader data: Telnyx::Models::WebSearchContentsResponse::Data?
|
|
8
|
+
|
|
9
|
+
def data=: (
|
|
10
|
+
Telnyx::Models::WebSearchContentsResponse::Data
|
|
11
|
+
) -> Telnyx::Models::WebSearchContentsResponse::Data
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
?data: Telnyx::Models::WebSearchContentsResponse::Data
|
|
15
|
+
) -> void
|
|
16
|
+
|
|
17
|
+
def to_hash: -> { data: Telnyx::Models::WebSearchContentsResponse::Data }
|
|
18
|
+
|
|
19
|
+
type data =
|
|
20
|
+
{
|
|
21
|
+
results: ::Array[Telnyx::Models::WebSearchContentsResponse::Data::Result]
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
25
|
+
attr_reader results: ::Array[Telnyx::Models::WebSearchContentsResponse::Data::Result]?
|
|
26
|
+
|
|
27
|
+
def results=: (
|
|
28
|
+
::Array[Telnyx::Models::WebSearchContentsResponse::Data::Result]
|
|
29
|
+
) -> ::Array[Telnyx::Models::WebSearchContentsResponse::Data::Result]
|
|
30
|
+
|
|
31
|
+
def initialize: (
|
|
32
|
+
?results: ::Array[Telnyx::Models::WebSearchContentsResponse::Data::Result]
|
|
33
|
+
) -> void
|
|
34
|
+
|
|
35
|
+
def to_hash: -> {
|
|
36
|
+
results: ::Array[Telnyx::Models::WebSearchContentsResponse::Data::Result]
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
type result =
|
|
40
|
+
{
|
|
41
|
+
url: String,
|
|
42
|
+
html: String,
|
|
43
|
+
markdown: String,
|
|
44
|
+
metadata: Telnyx::Models::WebSearchContentsResponse::Data::Result::Metadata,
|
|
45
|
+
title: String
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
class Result < Telnyx::Internal::Type::BaseModel
|
|
49
|
+
attr_accessor url: String
|
|
50
|
+
|
|
51
|
+
attr_reader html: String?
|
|
52
|
+
|
|
53
|
+
def html=: (String) -> String
|
|
54
|
+
|
|
55
|
+
attr_reader markdown: String?
|
|
56
|
+
|
|
57
|
+
def markdown=: (String) -> String
|
|
58
|
+
|
|
59
|
+
attr_reader metadata: Telnyx::Models::WebSearchContentsResponse::Data::Result::Metadata?
|
|
60
|
+
|
|
61
|
+
def metadata=: (
|
|
62
|
+
Telnyx::Models::WebSearchContentsResponse::Data::Result::Metadata
|
|
63
|
+
) -> Telnyx::Models::WebSearchContentsResponse::Data::Result::Metadata
|
|
64
|
+
|
|
65
|
+
attr_reader title: String?
|
|
66
|
+
|
|
67
|
+
def title=: (String) -> String
|
|
68
|
+
|
|
69
|
+
def initialize: (
|
|
70
|
+
url: String,
|
|
71
|
+
?html: String,
|
|
72
|
+
?markdown: String,
|
|
73
|
+
?metadata: Telnyx::Models::WebSearchContentsResponse::Data::Result::Metadata,
|
|
74
|
+
?title: String
|
|
75
|
+
) -> void
|
|
76
|
+
|
|
77
|
+
def to_hash: -> {
|
|
78
|
+
url: String,
|
|
79
|
+
html: String,
|
|
80
|
+
markdown: String,
|
|
81
|
+
metadata: Telnyx::Models::WebSearchContentsResponse::Data::Result::Metadata,
|
|
82
|
+
title: String
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
type metadata = { favicon_url: String, site_name: String }
|
|
86
|
+
|
|
87
|
+
class Metadata < Telnyx::Internal::Type::BaseModel
|
|
88
|
+
attr_reader favicon_url: String?
|
|
89
|
+
|
|
90
|
+
def favicon_url=: (String) -> String
|
|
91
|
+
|
|
92
|
+
attr_reader site_name: String?
|
|
93
|
+
|
|
94
|
+
def site_name=: (String) -> String
|
|
95
|
+
|
|
96
|
+
def initialize: (?favicon_url: String, ?site_name: String) -> void
|
|
97
|
+
|
|
98
|
+
def to_hash: -> { favicon_url: String, site_name: String }
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
end
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
type web_search_create_params =
|
|
4
|
+
{
|
|
5
|
+
query: String,
|
|
6
|
+
count: Integer,
|
|
7
|
+
country: String,
|
|
8
|
+
exclude_domains: ::Array[String],
|
|
9
|
+
freshness: String,
|
|
10
|
+
include_domains: ::Array[String],
|
|
11
|
+
livecrawl: bool,
|
|
12
|
+
safesearch: Telnyx::Models::WebSearchCreateParams::safesearch
|
|
13
|
+
}
|
|
14
|
+
& Telnyx::Internal::Type::request_parameters
|
|
15
|
+
|
|
16
|
+
class WebSearchCreateParams < Telnyx::Internal::Type::BaseModel
|
|
17
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
18
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
19
|
+
|
|
20
|
+
attr_accessor query: String
|
|
21
|
+
|
|
22
|
+
attr_reader count: Integer?
|
|
23
|
+
|
|
24
|
+
def count=: (Integer) -> Integer
|
|
25
|
+
|
|
26
|
+
attr_reader country: String?
|
|
27
|
+
|
|
28
|
+
def country=: (String) -> String
|
|
29
|
+
|
|
30
|
+
attr_reader exclude_domains: ::Array[String]?
|
|
31
|
+
|
|
32
|
+
def exclude_domains=: (::Array[String]) -> ::Array[String]
|
|
33
|
+
|
|
34
|
+
attr_reader freshness: String?
|
|
35
|
+
|
|
36
|
+
def freshness=: (String) -> String
|
|
37
|
+
|
|
38
|
+
attr_reader include_domains: ::Array[String]?
|
|
39
|
+
|
|
40
|
+
def include_domains=: (::Array[String]) -> ::Array[String]
|
|
41
|
+
|
|
42
|
+
attr_reader livecrawl: bool?
|
|
43
|
+
|
|
44
|
+
def livecrawl=: (bool) -> bool
|
|
45
|
+
|
|
46
|
+
attr_reader safesearch: Telnyx::Models::WebSearchCreateParams::safesearch?
|
|
47
|
+
|
|
48
|
+
def safesearch=: (
|
|
49
|
+
Telnyx::Models::WebSearchCreateParams::safesearch
|
|
50
|
+
) -> Telnyx::Models::WebSearchCreateParams::safesearch
|
|
51
|
+
|
|
52
|
+
def initialize: (
|
|
53
|
+
query: String,
|
|
54
|
+
?count: Integer,
|
|
55
|
+
?country: String,
|
|
56
|
+
?exclude_domains: ::Array[String],
|
|
57
|
+
?freshness: String,
|
|
58
|
+
?include_domains: ::Array[String],
|
|
59
|
+
?livecrawl: bool,
|
|
60
|
+
?safesearch: Telnyx::Models::WebSearchCreateParams::safesearch,
|
|
61
|
+
?request_options: Telnyx::request_opts
|
|
62
|
+
) -> void
|
|
63
|
+
|
|
64
|
+
def to_hash: -> {
|
|
65
|
+
query: String,
|
|
66
|
+
count: Integer,
|
|
67
|
+
country: String,
|
|
68
|
+
exclude_domains: ::Array[String],
|
|
69
|
+
freshness: String,
|
|
70
|
+
include_domains: ::Array[String],
|
|
71
|
+
livecrawl: bool,
|
|
72
|
+
safesearch: Telnyx::Models::WebSearchCreateParams::safesearch,
|
|
73
|
+
request_options: Telnyx::RequestOptions
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
type safesearch = :off | :moderate | :strict
|
|
77
|
+
|
|
78
|
+
module Safesearch
|
|
79
|
+
extend Telnyx::Internal::Type::Enum
|
|
80
|
+
|
|
81
|
+
OFF: :off
|
|
82
|
+
MODERATE: :moderate
|
|
83
|
+
STRICT: :strict
|
|
84
|
+
|
|
85
|
+
def self?.values: -> ::Array[Telnyx::Models::WebSearchCreateParams::safesearch]
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
end
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
type web_search_create_response =
|
|
4
|
+
{ data: Telnyx::Models::WebSearchCreateResponse::Data }
|
|
5
|
+
|
|
6
|
+
class WebSearchCreateResponse < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
attr_reader data: Telnyx::Models::WebSearchCreateResponse::Data?
|
|
8
|
+
|
|
9
|
+
def data=: (
|
|
10
|
+
Telnyx::Models::WebSearchCreateResponse::Data
|
|
11
|
+
) -> Telnyx::Models::WebSearchCreateResponse::Data
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
?data: Telnyx::Models::WebSearchCreateResponse::Data
|
|
15
|
+
) -> void
|
|
16
|
+
|
|
17
|
+
def to_hash: -> { data: Telnyx::Models::WebSearchCreateResponse::Data }
|
|
18
|
+
|
|
19
|
+
type data =
|
|
20
|
+
{ results: Telnyx::Models::WebSearchCreateResponse::Data::Results }
|
|
21
|
+
|
|
22
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
23
|
+
attr_reader results: Telnyx::Models::WebSearchCreateResponse::Data::Results?
|
|
24
|
+
|
|
25
|
+
def results=: (
|
|
26
|
+
Telnyx::Models::WebSearchCreateResponse::Data::Results
|
|
27
|
+
) -> Telnyx::Models::WebSearchCreateResponse::Data::Results
|
|
28
|
+
|
|
29
|
+
def initialize: (
|
|
30
|
+
?results: Telnyx::Models::WebSearchCreateResponse::Data::Results
|
|
31
|
+
) -> void
|
|
32
|
+
|
|
33
|
+
def to_hash: -> {
|
|
34
|
+
results: Telnyx::Models::WebSearchCreateResponse::Data::Results
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
type results =
|
|
38
|
+
{
|
|
39
|
+
web: ::Array[Telnyx::WebSearchResult],
|
|
40
|
+
news: ::Array[Telnyx::WebSearchResult]
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
class Results < Telnyx::Internal::Type::BaseModel
|
|
44
|
+
attr_accessor web: ::Array[Telnyx::WebSearchResult]
|
|
45
|
+
|
|
46
|
+
attr_reader news: ::Array[Telnyx::WebSearchResult]?
|
|
47
|
+
|
|
48
|
+
def news=: (
|
|
49
|
+
::Array[Telnyx::WebSearchResult]
|
|
50
|
+
) -> ::Array[Telnyx::WebSearchResult]
|
|
51
|
+
|
|
52
|
+
def initialize: (
|
|
53
|
+
web: ::Array[Telnyx::WebSearchResult],
|
|
54
|
+
?news: ::Array[Telnyx::WebSearchResult]
|
|
55
|
+
) -> void
|
|
56
|
+
|
|
57
|
+
def to_hash: -> {
|
|
58
|
+
web: ::Array[Telnyx::WebSearchResult],
|
|
59
|
+
news: ::Array[Telnyx::WebSearchResult]
|
|
60
|
+
}
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
end
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
type web_search_result =
|
|
4
|
+
{
|
|
5
|
+
description: String,
|
|
6
|
+
snippets: ::Array[String],
|
|
7
|
+
title: String,
|
|
8
|
+
url: String,
|
|
9
|
+
favicon_url: String,
|
|
10
|
+
thumbnail_url: String
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
class WebSearchResult < Telnyx::Internal::Type::BaseModel
|
|
14
|
+
attr_accessor description: String
|
|
15
|
+
|
|
16
|
+
attr_accessor snippets: ::Array[String]
|
|
17
|
+
|
|
18
|
+
attr_accessor title: String
|
|
19
|
+
|
|
20
|
+
attr_accessor url: String
|
|
21
|
+
|
|
22
|
+
attr_reader favicon_url: String?
|
|
23
|
+
|
|
24
|
+
def favicon_url=: (String) -> String
|
|
25
|
+
|
|
26
|
+
attr_reader thumbnail_url: String?
|
|
27
|
+
|
|
28
|
+
def thumbnail_url=: (String) -> String
|
|
29
|
+
|
|
30
|
+
def initialize: (
|
|
31
|
+
description: String,
|
|
32
|
+
snippets: ::Array[String],
|
|
33
|
+
title: String,
|
|
34
|
+
url: String,
|
|
35
|
+
?favicon_url: String,
|
|
36
|
+
?thumbnail_url: String
|
|
37
|
+
) -> void
|
|
38
|
+
|
|
39
|
+
def to_hash: -> {
|
|
40
|
+
description: String,
|
|
41
|
+
snippets: ::Array[String],
|
|
42
|
+
title: String,
|
|
43
|
+
url: String,
|
|
44
|
+
favicon_url: String,
|
|
45
|
+
thumbnail_url: String
|
|
46
|
+
}
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
data/sig/telnyx/models.rbs
CHANGED
|
@@ -63,6 +63,10 @@ module Telnyx
|
|
|
63
63
|
|
|
64
64
|
class APIError = Telnyx::Models::APIError
|
|
65
65
|
|
|
66
|
+
class ArtifactCompletedWebhookEvent = Telnyx::Models::ArtifactCompletedWebhookEvent
|
|
67
|
+
|
|
68
|
+
class ArtifactFailedWebhookEvent = Telnyx::Models::ArtifactFailedWebhookEvent
|
|
69
|
+
|
|
66
70
|
class AttachmentRequest = Telnyx::Models::AttachmentRequest
|
|
67
71
|
|
|
68
72
|
class Attempt = Telnyx::Models::Attempt
|
|
@@ -999,6 +1003,30 @@ module Telnyx
|
|
|
999
1003
|
|
|
1000
1004
|
class MediaUploadParams = Telnyx::Models::MediaUploadParams
|
|
1001
1005
|
|
|
1006
|
+
class MeetingSession = Telnyx::Models::MeetingSession
|
|
1007
|
+
|
|
1008
|
+
class MeetingSessionCreateParams = Telnyx::Models::MeetingSessionCreateParams
|
|
1009
|
+
|
|
1010
|
+
class MeetingSessionDeleteParams = Telnyx::Models::MeetingSessionDeleteParams
|
|
1011
|
+
|
|
1012
|
+
class MeetingSessionDeleteRecordingMediaParams = Telnyx::Models::MeetingSessionDeleteRecordingMediaParams
|
|
1013
|
+
|
|
1014
|
+
class MeetingSessionListParams = Telnyx::Models::MeetingSessionListParams
|
|
1015
|
+
|
|
1016
|
+
class MeetingSessionResponse = Telnyx::Models::MeetingSessionResponse
|
|
1017
|
+
|
|
1018
|
+
class MeetingSessionRetrieveEventsParams = Telnyx::Models::MeetingSessionRetrieveEventsParams
|
|
1019
|
+
|
|
1020
|
+
class MeetingSessionRetrieveParams = Telnyx::Models::MeetingSessionRetrieveParams
|
|
1021
|
+
|
|
1022
|
+
class MeetingSessionRetrieveRecordingsParams = Telnyx::Models::MeetingSessionRetrieveRecordingsParams
|
|
1023
|
+
|
|
1024
|
+
class MeetingSessionRetrieveTranscriptParams = Telnyx::Models::MeetingSessionRetrieveTranscriptParams
|
|
1025
|
+
|
|
1026
|
+
module MeetingSessions = Telnyx::Models::MeetingSessions
|
|
1027
|
+
|
|
1028
|
+
class MeetingSessionUpdateParams = Telnyx::Models::MeetingSessionUpdateParams
|
|
1029
|
+
|
|
1002
1030
|
class MessageCancelScheduledParams = Telnyx::Models::MessageCancelScheduledParams
|
|
1003
1031
|
|
|
1004
1032
|
class MessageEvent = Telnyx::Models::MessageEvent
|
|
@@ -1531,6 +1559,8 @@ module Telnyx
|
|
|
1531
1559
|
|
|
1532
1560
|
class Record = Telnyx::Models::Record
|
|
1533
1561
|
|
|
1562
|
+
class RecordingAvailableWebhookEvent = Telnyx::Models::RecordingAvailableWebhookEvent
|
|
1563
|
+
|
|
1534
1564
|
class RecordingDeleteParams = Telnyx::Models::RecordingDeleteParams
|
|
1535
1565
|
|
|
1536
1566
|
class RecordingListParams = Telnyx::Models::RecordingListParams
|
|
@@ -1651,6 +1681,8 @@ module Telnyx
|
|
|
1651
1681
|
|
|
1652
1682
|
class SessionAnalysisRetrieveParams = Telnyx::Models::SessionAnalysisRetrieveParams
|
|
1653
1683
|
|
|
1684
|
+
class SessionStatusChangedWebhookEvent = Telnyx::Models::SessionStatusChangedWebhookEvent
|
|
1685
|
+
|
|
1654
1686
|
class SetiRetrieveBlackBoxTestResultsParams = Telnyx::Models::SetiRetrieveBlackBoxTestResultsParams
|
|
1655
1687
|
|
|
1656
1688
|
class Settings = Telnyx::Models::Settings
|
|
@@ -1853,6 +1885,8 @@ module Telnyx
|
|
|
1853
1885
|
|
|
1854
1886
|
module TrafficType = Telnyx::Models::TrafficType
|
|
1855
1887
|
|
|
1888
|
+
class TranscriptCompletedWebhookEvent = Telnyx::Models::TranscriptCompletedWebhookEvent
|
|
1889
|
+
|
|
1856
1890
|
class Transcription = Telnyx::Models::Transcription
|
|
1857
1891
|
|
|
1858
1892
|
class TranscriptionWebhookEvent = Telnyx::Models::TranscriptionWebhookEvent
|
|
@@ -2047,6 +2081,14 @@ module Telnyx
|
|
|
2047
2081
|
|
|
2048
2082
|
class WebhookUnwrapParams = Telnyx::Models::WebhookUnwrapParams
|
|
2049
2083
|
|
|
2084
|
+
module WebSearch = Telnyx::Models::WebSearch
|
|
2085
|
+
|
|
2086
|
+
class WebSearchContentsParams = Telnyx::Models::WebSearchContentsParams
|
|
2087
|
+
|
|
2088
|
+
class WebSearchCreateParams = Telnyx::Models::WebSearchCreateParams
|
|
2089
|
+
|
|
2090
|
+
class WebSearchResult = Telnyx::Models::WebSearchResult
|
|
2091
|
+
|
|
2050
2092
|
class WellKnownRetrieveAuthorizationServerMetadataParams = Telnyx::Models::WellKnownRetrieveAuthorizationServerMetadataParams
|
|
2051
2093
|
|
|
2052
2094
|
class WellKnownRetrieveProtectedResourceMetadataParams = Telnyx::Models::WellKnownRetrieveProtectedResourceMetadataParams
|
|
@@ -43,7 +43,7 @@ module Telnyx
|
|
|
43
43
|
?webhook_retries_policies: ::Hash[Symbol, Telnyx::Calls::ActionAnswerParams::WebhookRetriesPolicy],
|
|
44
44
|
?webhook_url: String,
|
|
45
45
|
?webhook_url_method: Telnyx::Models::Calls::ActionAnswerParams::webhook_url_method,
|
|
46
|
-
?webhook_urls: ::Hash[Symbol, String],
|
|
46
|
+
?webhook_urls: ::Hash[Symbol, ::Array[String]],
|
|
47
47
|
?webhook_urls_method: Telnyx::Models::Calls::ActionAnswerParams::webhook_urls_method,
|
|
48
48
|
?request_options: Telnyx::request_opts
|
|
49
49
|
) -> Telnyx::Models::Calls::ActionAnswerResponse
|
|
@@ -536,7 +536,7 @@ module Telnyx
|
|
|
536
536
|
?webhook_retries_policies: ::Hash[Symbol, Telnyx::Calls::ActionTransferParams::WebhookRetriesPolicy],
|
|
537
537
|
?webhook_url: String,
|
|
538
538
|
?webhook_url_method: Telnyx::Models::Calls::ActionTransferParams::webhook_url_method,
|
|
539
|
-
?webhook_urls: ::Hash[Symbol, String],
|
|
539
|
+
?webhook_urls: ::Hash[Symbol, ::Array[String]],
|
|
540
540
|
?webhook_urls_method: Telnyx::Models::Calls::ActionTransferParams::webhook_urls_method,
|
|
541
541
|
?request_options: Telnyx::request_opts
|
|
542
542
|
) -> Telnyx::Models::Calls::ActionTransferResponse
|
|
@@ -66,7 +66,7 @@ module Telnyx
|
|
|
66
66
|
?webhook_retries_policies: ::Hash[Symbol, Telnyx::CallDialParams::WebhookRetriesPolicy],
|
|
67
67
|
?webhook_url: String,
|
|
68
68
|
?webhook_url_method: Telnyx::Models::CallDialParams::webhook_url_method,
|
|
69
|
-
?webhook_urls: ::Hash[Symbol, String],
|
|
69
|
+
?webhook_urls: ::Hash[Symbol, ::Array[String]],
|
|
70
70
|
?webhook_urls_method: Telnyx::Models::CallDialParams::webhook_urls_method,
|
|
71
71
|
?request_options: Telnyx::request_opts
|
|
72
72
|
) -> Telnyx::Models::CallDialResponse
|