telnyx 5.160.0 → 5.161.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 +12 -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 +7 -7
- data/lib/telnyx/models/calls/action_answer_params.rb +7 -6
- data/lib/telnyx/models/calls/action_transfer_params.rb +7 -6
- 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/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/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/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/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 +12 -12
- data/rbi/telnyx/models/calls/action_answer_params.rbi +12 -10
- data/rbi/telnyx/models/calls/action_transfer_params.rbi +12 -10
- 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/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/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 +10 -8
- data/rbi/telnyx/resources/calls.rbi +5 -5
- 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/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/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 +7 -5
- data/sig/telnyx/models/calls/action_answer_params.rbs +7 -5
- data/sig/telnyx/models/calls/action_transfer_params.rbs +7 -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/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/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/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,526 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
class MeetingSessionCreateParams < Telnyx::Internal::Type::BaseModel
|
|
6
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(Telnyx::MeetingSessionCreateParams, Telnyx::Internal::AnyHash)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# The meeting URL the bot should join.
|
|
15
|
+
sig { returns(String) }
|
|
16
|
+
attr_accessor :meeting_url
|
|
17
|
+
|
|
18
|
+
# Request options for attaching a voice assistant to the session. Routing fields
|
|
19
|
+
# (`call_control_connection_id`, `from`, and `loopback_sip_uri`) are used only to
|
|
20
|
+
# establish the assistant call leg and are omitted from response objects.
|
|
21
|
+
# `audio_gate` is returned with `id` in the assistant response object.
|
|
22
|
+
sig { returns(T.nilable(Telnyx::MeetingSessionCreateParams::Assistant)) }
|
|
23
|
+
attr_reader :assistant
|
|
24
|
+
|
|
25
|
+
sig do
|
|
26
|
+
params(
|
|
27
|
+
assistant: Telnyx::MeetingSessionCreateParams::Assistant::OrHash
|
|
28
|
+
).void
|
|
29
|
+
end
|
|
30
|
+
attr_writer :assistant
|
|
31
|
+
|
|
32
|
+
# Request options for attaching a bring-your-own-key avatar to the session.
|
|
33
|
+
sig { returns(T.nilable(Telnyx::MeetingSessionCreateParams::Avatar)) }
|
|
34
|
+
attr_reader :avatar
|
|
35
|
+
|
|
36
|
+
sig do
|
|
37
|
+
params(avatar: Telnyx::MeetingSessionCreateParams::Avatar::OrHash).void
|
|
38
|
+
end
|
|
39
|
+
attr_writer :avatar
|
|
40
|
+
|
|
41
|
+
# When enabled, a human participant `speech_on` event interrupts and stops the
|
|
42
|
+
# current bot audio; it does not bypass admission or initiate speech. Assistant
|
|
43
|
+
# sessions reject `barge_in: true`.
|
|
44
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
45
|
+
attr_reader :barge_in
|
|
46
|
+
|
|
47
|
+
sig { params(barge_in: T::Boolean).void }
|
|
48
|
+
attr_writer :barge_in
|
|
49
|
+
|
|
50
|
+
# Display name for the bot in the meeting. Defaults to "Meeting Bot".
|
|
51
|
+
sig { returns(T.nilable(String)) }
|
|
52
|
+
attr_reader :bot_name
|
|
53
|
+
|
|
54
|
+
sig { params(bot_name: String).void }
|
|
55
|
+
attr_writer :bot_name
|
|
56
|
+
|
|
57
|
+
# Write-only static camera-tile image for this session, not a native account or
|
|
58
|
+
# participant profile photo. Supply exactly one JPEG source. When effective, the
|
|
59
|
+
# image is used as the bot's static camera/video output; presentation varies by
|
|
60
|
+
# meeting platform and recording configuration and is not guaranteed in
|
|
61
|
+
# recordings. An effective Avatar or Assistant webpage output takes precedence, so
|
|
62
|
+
# this input is ignored and a URL source is not fetched.
|
|
63
|
+
sig do
|
|
64
|
+
returns(
|
|
65
|
+
T.nilable(
|
|
66
|
+
T.any(
|
|
67
|
+
Telnyx::MeetingSessionCreateParams::CameraImage::MeetingSessionCameraImageBase64Source,
|
|
68
|
+
Telnyx::MeetingSessionCreateParams::CameraImage::MeetingSessionCameraImageURLSource
|
|
69
|
+
)
|
|
70
|
+
)
|
|
71
|
+
)
|
|
72
|
+
end
|
|
73
|
+
attr_reader :camera_image
|
|
74
|
+
|
|
75
|
+
sig do
|
|
76
|
+
params(
|
|
77
|
+
camera_image:
|
|
78
|
+
T.any(
|
|
79
|
+
Telnyx::MeetingSessionCreateParams::CameraImage::MeetingSessionCameraImageBase64Source::OrHash,
|
|
80
|
+
Telnyx::MeetingSessionCreateParams::CameraImage::MeetingSessionCameraImageURLSource::OrHash
|
|
81
|
+
)
|
|
82
|
+
).void
|
|
83
|
+
end
|
|
84
|
+
attr_writer :camera_image
|
|
85
|
+
|
|
86
|
+
# Client-supplied idempotency key to safely retry creation requests without
|
|
87
|
+
# duplicating sessions. Lookup is scoped to the authenticated account and compares
|
|
88
|
+
# the key only; the request payload is not fingerprinted or compared.
|
|
89
|
+
sig { returns(T.nilable(String)) }
|
|
90
|
+
attr_reader :idempotency_key
|
|
91
|
+
|
|
92
|
+
sig { params(idempotency_key: String).void }
|
|
93
|
+
attr_writer :idempotency_key
|
|
94
|
+
|
|
95
|
+
# ISO-8601 timestamp in the future at which the bot should join. If omitted, the
|
|
96
|
+
# bot joins immediately.
|
|
97
|
+
sig { returns(T.nilable(Time)) }
|
|
98
|
+
attr_reader :join_at
|
|
99
|
+
|
|
100
|
+
sig { params(join_at: Time).void }
|
|
101
|
+
attr_writer :join_at
|
|
102
|
+
|
|
103
|
+
# Arbitrary key-value metadata attached to the session. The serialized JSON
|
|
104
|
+
# representation must not exceed 16384 characters at runtime.
|
|
105
|
+
sig { returns(T.nilable(T::Hash[Symbol, T.anything])) }
|
|
106
|
+
attr_reader :metadata
|
|
107
|
+
|
|
108
|
+
sig { params(metadata: T::Hash[Symbol, T.anything]).void }
|
|
109
|
+
attr_writer :metadata
|
|
110
|
+
|
|
111
|
+
# Text the bot speaks when it enters the meeting.
|
|
112
|
+
sig { returns(T.nilable(String)) }
|
|
113
|
+
attr_reader :speak_on_enter
|
|
114
|
+
|
|
115
|
+
sig { params(speak_on_enter: String).void }
|
|
116
|
+
attr_writer :speak_on_enter
|
|
117
|
+
|
|
118
|
+
# If true, generate a summary artifact when the session ends.
|
|
119
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
120
|
+
attr_reader :summarize_on_end
|
|
121
|
+
|
|
122
|
+
sig { params(summarize_on_end: T::Boolean).void }
|
|
123
|
+
attr_writer :summarize_on_end
|
|
124
|
+
|
|
125
|
+
# Session-default voice identifier used for `speak_on_enter` and ordinary speak
|
|
126
|
+
# actions. A voice supplied on an individual speak action overrides this default
|
|
127
|
+
# for that utterance.
|
|
128
|
+
sig { returns(T.nilable(String)) }
|
|
129
|
+
attr_reader :voice
|
|
130
|
+
|
|
131
|
+
sig { params(voice: String).void }
|
|
132
|
+
attr_writer :voice
|
|
133
|
+
|
|
134
|
+
# HTTPS endpoint to receive session lifecycle callbacks. Static validation
|
|
135
|
+
# requires HTTPS, rejects embedded credentials and blocked hosts, and enforces
|
|
136
|
+
# egress policy. Validation makes no network request to the endpoint.
|
|
137
|
+
sig { returns(T.nilable(String)) }
|
|
138
|
+
attr_reader :webhook_url
|
|
139
|
+
|
|
140
|
+
sig { params(webhook_url: String).void }
|
|
141
|
+
attr_writer :webhook_url
|
|
142
|
+
|
|
143
|
+
sig do
|
|
144
|
+
params(
|
|
145
|
+
meeting_url: String,
|
|
146
|
+
assistant: Telnyx::MeetingSessionCreateParams::Assistant::OrHash,
|
|
147
|
+
avatar: Telnyx::MeetingSessionCreateParams::Avatar::OrHash,
|
|
148
|
+
barge_in: T::Boolean,
|
|
149
|
+
bot_name: String,
|
|
150
|
+
camera_image:
|
|
151
|
+
T.any(
|
|
152
|
+
Telnyx::MeetingSessionCreateParams::CameraImage::MeetingSessionCameraImageBase64Source::OrHash,
|
|
153
|
+
Telnyx::MeetingSessionCreateParams::CameraImage::MeetingSessionCameraImageURLSource::OrHash
|
|
154
|
+
),
|
|
155
|
+
idempotency_key: String,
|
|
156
|
+
join_at: Time,
|
|
157
|
+
metadata: T::Hash[Symbol, T.anything],
|
|
158
|
+
speak_on_enter: String,
|
|
159
|
+
summarize_on_end: T::Boolean,
|
|
160
|
+
voice: String,
|
|
161
|
+
webhook_url: String,
|
|
162
|
+
request_options: Telnyx::RequestOptions::OrHash
|
|
163
|
+
).returns(T.attached_class)
|
|
164
|
+
end
|
|
165
|
+
def self.new(
|
|
166
|
+
# The meeting URL the bot should join.
|
|
167
|
+
meeting_url:,
|
|
168
|
+
# Request options for attaching a voice assistant to the session. Routing fields
|
|
169
|
+
# (`call_control_connection_id`, `from`, and `loopback_sip_uri`) are used only to
|
|
170
|
+
# establish the assistant call leg and are omitted from response objects.
|
|
171
|
+
# `audio_gate` is returned with `id` in the assistant response object.
|
|
172
|
+
assistant: nil,
|
|
173
|
+
# Request options for attaching a bring-your-own-key avatar to the session.
|
|
174
|
+
avatar: nil,
|
|
175
|
+
# When enabled, a human participant `speech_on` event interrupts and stops the
|
|
176
|
+
# current bot audio; it does not bypass admission or initiate speech. Assistant
|
|
177
|
+
# sessions reject `barge_in: true`.
|
|
178
|
+
barge_in: nil,
|
|
179
|
+
# Display name for the bot in the meeting. Defaults to "Meeting Bot".
|
|
180
|
+
bot_name: nil,
|
|
181
|
+
# Write-only static camera-tile image for this session, not a native account or
|
|
182
|
+
# participant profile photo. Supply exactly one JPEG source. When effective, the
|
|
183
|
+
# image is used as the bot's static camera/video output; presentation varies by
|
|
184
|
+
# meeting platform and recording configuration and is not guaranteed in
|
|
185
|
+
# recordings. An effective Avatar or Assistant webpage output takes precedence, so
|
|
186
|
+
# this input is ignored and a URL source is not fetched.
|
|
187
|
+
camera_image: nil,
|
|
188
|
+
# Client-supplied idempotency key to safely retry creation requests without
|
|
189
|
+
# duplicating sessions. Lookup is scoped to the authenticated account and compares
|
|
190
|
+
# the key only; the request payload is not fingerprinted or compared.
|
|
191
|
+
idempotency_key: nil,
|
|
192
|
+
# ISO-8601 timestamp in the future at which the bot should join. If omitted, the
|
|
193
|
+
# bot joins immediately.
|
|
194
|
+
join_at: nil,
|
|
195
|
+
# Arbitrary key-value metadata attached to the session. The serialized JSON
|
|
196
|
+
# representation must not exceed 16384 characters at runtime.
|
|
197
|
+
metadata: nil,
|
|
198
|
+
# Text the bot speaks when it enters the meeting.
|
|
199
|
+
speak_on_enter: nil,
|
|
200
|
+
# If true, generate a summary artifact when the session ends.
|
|
201
|
+
summarize_on_end: nil,
|
|
202
|
+
# Session-default voice identifier used for `speak_on_enter` and ordinary speak
|
|
203
|
+
# actions. A voice supplied on an individual speak action overrides this default
|
|
204
|
+
# for that utterance.
|
|
205
|
+
voice: nil,
|
|
206
|
+
# HTTPS endpoint to receive session lifecycle callbacks. Static validation
|
|
207
|
+
# requires HTTPS, rejects embedded credentials and blocked hosts, and enforces
|
|
208
|
+
# egress policy. Validation makes no network request to the endpoint.
|
|
209
|
+
webhook_url: nil,
|
|
210
|
+
request_options: {}
|
|
211
|
+
)
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
sig do
|
|
215
|
+
override.returns(
|
|
216
|
+
{
|
|
217
|
+
meeting_url: String,
|
|
218
|
+
assistant: Telnyx::MeetingSessionCreateParams::Assistant,
|
|
219
|
+
avatar: Telnyx::MeetingSessionCreateParams::Avatar,
|
|
220
|
+
barge_in: T::Boolean,
|
|
221
|
+
bot_name: String,
|
|
222
|
+
camera_image:
|
|
223
|
+
T.any(
|
|
224
|
+
Telnyx::MeetingSessionCreateParams::CameraImage::MeetingSessionCameraImageBase64Source,
|
|
225
|
+
Telnyx::MeetingSessionCreateParams::CameraImage::MeetingSessionCameraImageURLSource
|
|
226
|
+
),
|
|
227
|
+
idempotency_key: String,
|
|
228
|
+
join_at: Time,
|
|
229
|
+
metadata: T::Hash[Symbol, T.anything],
|
|
230
|
+
speak_on_enter: String,
|
|
231
|
+
summarize_on_end: T::Boolean,
|
|
232
|
+
voice: String,
|
|
233
|
+
webhook_url: String,
|
|
234
|
+
request_options: Telnyx::RequestOptions
|
|
235
|
+
}
|
|
236
|
+
)
|
|
237
|
+
end
|
|
238
|
+
def to_hash
|
|
239
|
+
end
|
|
240
|
+
|
|
241
|
+
class Assistant < Telnyx::Internal::Type::BaseModel
|
|
242
|
+
OrHash =
|
|
243
|
+
T.type_alias do
|
|
244
|
+
T.any(
|
|
245
|
+
Telnyx::MeetingSessionCreateParams::Assistant,
|
|
246
|
+
Telnyx::Internal::AnyHash
|
|
247
|
+
)
|
|
248
|
+
end
|
|
249
|
+
|
|
250
|
+
# Identifier of the assistant to attach.
|
|
251
|
+
sig { returns(String) }
|
|
252
|
+
attr_accessor :id
|
|
253
|
+
|
|
254
|
+
# Call control connection used to bridge the assistant into the meeting audio.
|
|
255
|
+
sig { returns(String) }
|
|
256
|
+
attr_accessor :call_control_connection_id
|
|
257
|
+
|
|
258
|
+
# E.164 calling number used as the originating party for the assistant call leg.
|
|
259
|
+
sig { returns(String) }
|
|
260
|
+
attr_accessor :from
|
|
261
|
+
|
|
262
|
+
# SIP URI to which the assistant media loopback is established.
|
|
263
|
+
sig { returns(String) }
|
|
264
|
+
attr_accessor :loopback_sip_uri
|
|
265
|
+
|
|
266
|
+
# Audio gating strategy for the assistant call leg.
|
|
267
|
+
sig do
|
|
268
|
+
returns(
|
|
269
|
+
T.nilable(
|
|
270
|
+
Telnyx::MeetingSessionCreateParams::Assistant::AudioGate::OrSymbol
|
|
271
|
+
)
|
|
272
|
+
)
|
|
273
|
+
end
|
|
274
|
+
attr_reader :audio_gate
|
|
275
|
+
|
|
276
|
+
sig do
|
|
277
|
+
params(
|
|
278
|
+
audio_gate:
|
|
279
|
+
Telnyx::MeetingSessionCreateParams::Assistant::AudioGate::OrSymbol
|
|
280
|
+
).void
|
|
281
|
+
end
|
|
282
|
+
attr_writer :audio_gate
|
|
283
|
+
|
|
284
|
+
# Request options for attaching a voice assistant to the session. Routing fields
|
|
285
|
+
# (`call_control_connection_id`, `from`, and `loopback_sip_uri`) are used only to
|
|
286
|
+
# establish the assistant call leg and are omitted from response objects.
|
|
287
|
+
# `audio_gate` is returned with `id` in the assistant response object.
|
|
288
|
+
sig do
|
|
289
|
+
params(
|
|
290
|
+
id: String,
|
|
291
|
+
call_control_connection_id: String,
|
|
292
|
+
from: String,
|
|
293
|
+
loopback_sip_uri: String,
|
|
294
|
+
audio_gate:
|
|
295
|
+
Telnyx::MeetingSessionCreateParams::Assistant::AudioGate::OrSymbol
|
|
296
|
+
).returns(T.attached_class)
|
|
297
|
+
end
|
|
298
|
+
def self.new(
|
|
299
|
+
# Identifier of the assistant to attach.
|
|
300
|
+
id:,
|
|
301
|
+
# Call control connection used to bridge the assistant into the meeting audio.
|
|
302
|
+
call_control_connection_id:,
|
|
303
|
+
# E.164 calling number used as the originating party for the assistant call leg.
|
|
304
|
+
from:,
|
|
305
|
+
# SIP URI to which the assistant media loopback is established.
|
|
306
|
+
loopback_sip_uri:,
|
|
307
|
+
# Audio gating strategy for the assistant call leg.
|
|
308
|
+
audio_gate: nil
|
|
309
|
+
)
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
sig do
|
|
313
|
+
override.returns(
|
|
314
|
+
{
|
|
315
|
+
id: String,
|
|
316
|
+
call_control_connection_id: String,
|
|
317
|
+
from: String,
|
|
318
|
+
loopback_sip_uri: String,
|
|
319
|
+
audio_gate:
|
|
320
|
+
Telnyx::MeetingSessionCreateParams::Assistant::AudioGate::OrSymbol
|
|
321
|
+
}
|
|
322
|
+
)
|
|
323
|
+
end
|
|
324
|
+
def to_hash
|
|
325
|
+
end
|
|
326
|
+
|
|
327
|
+
# Audio gating strategy for the assistant call leg.
|
|
328
|
+
module AudioGate
|
|
329
|
+
extend Telnyx::Internal::Type::Enum
|
|
330
|
+
|
|
331
|
+
TaggedSymbol =
|
|
332
|
+
T.type_alias do
|
|
333
|
+
T.all(
|
|
334
|
+
Symbol,
|
|
335
|
+
Telnyx::MeetingSessionCreateParams::Assistant::AudioGate
|
|
336
|
+
)
|
|
337
|
+
end
|
|
338
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
339
|
+
|
|
340
|
+
NONE =
|
|
341
|
+
T.let(
|
|
342
|
+
:none,
|
|
343
|
+
Telnyx::MeetingSessionCreateParams::Assistant::AudioGate::TaggedSymbol
|
|
344
|
+
)
|
|
345
|
+
HALF_DUPLEX =
|
|
346
|
+
T.let(
|
|
347
|
+
:half_duplex,
|
|
348
|
+
Telnyx::MeetingSessionCreateParams::Assistant::AudioGate::TaggedSymbol
|
|
349
|
+
)
|
|
350
|
+
|
|
351
|
+
sig do
|
|
352
|
+
override.returns(
|
|
353
|
+
T::Array[
|
|
354
|
+
Telnyx::MeetingSessionCreateParams::Assistant::AudioGate::TaggedSymbol
|
|
355
|
+
]
|
|
356
|
+
)
|
|
357
|
+
end
|
|
358
|
+
def self.values
|
|
359
|
+
end
|
|
360
|
+
end
|
|
361
|
+
end
|
|
362
|
+
|
|
363
|
+
class Avatar < Telnyx::Internal::Type::BaseModel
|
|
364
|
+
OrHash =
|
|
365
|
+
T.type_alias do
|
|
366
|
+
T.any(
|
|
367
|
+
Telnyx::MeetingSessionCreateParams::Avatar,
|
|
368
|
+
Telnyx::Internal::AnyHash
|
|
369
|
+
)
|
|
370
|
+
end
|
|
371
|
+
|
|
372
|
+
# Identifier of the avatar to use.
|
|
373
|
+
sig { returns(String) }
|
|
374
|
+
attr_accessor :avatar_id
|
|
375
|
+
|
|
376
|
+
# Avatar provider identifier. Currently only "anam" is supported.
|
|
377
|
+
sig { returns(Symbol) }
|
|
378
|
+
attr_accessor :provider
|
|
379
|
+
|
|
380
|
+
# Bring-your-own-key API key for the avatar provider. The key is never stored or
|
|
381
|
+
# returned by the API.
|
|
382
|
+
sig { returns(String) }
|
|
383
|
+
attr_accessor :api_key
|
|
384
|
+
|
|
385
|
+
# Request options for attaching a bring-your-own-key avatar to the session.
|
|
386
|
+
sig do
|
|
387
|
+
params(api_key: String, avatar_id: String, provider: Symbol).returns(
|
|
388
|
+
T.attached_class
|
|
389
|
+
)
|
|
390
|
+
end
|
|
391
|
+
def self.new(
|
|
392
|
+
# Bring-your-own-key API key for the avatar provider. The key is never stored or
|
|
393
|
+
# returned by the API.
|
|
394
|
+
api_key:,
|
|
395
|
+
# Identifier of the avatar to use.
|
|
396
|
+
avatar_id:,
|
|
397
|
+
# Avatar provider identifier. Currently only "anam" is supported.
|
|
398
|
+
provider: :anam
|
|
399
|
+
)
|
|
400
|
+
end
|
|
401
|
+
|
|
402
|
+
sig do
|
|
403
|
+
override.returns(
|
|
404
|
+
{ api_key: String, avatar_id: String, provider: Symbol }
|
|
405
|
+
)
|
|
406
|
+
end
|
|
407
|
+
def to_hash
|
|
408
|
+
end
|
|
409
|
+
end
|
|
410
|
+
|
|
411
|
+
# Write-only static camera-tile image for this session, not a native account or
|
|
412
|
+
# participant profile photo. Supply exactly one JPEG source. When effective, the
|
|
413
|
+
# image is used as the bot's static camera/video output; presentation varies by
|
|
414
|
+
# meeting platform and recording configuration and is not guaranteed in
|
|
415
|
+
# recordings. An effective Avatar or Assistant webpage output takes precedence, so
|
|
416
|
+
# this input is ignored and a URL source is not fetched.
|
|
417
|
+
module CameraImage
|
|
418
|
+
extend Telnyx::Internal::Type::Union
|
|
419
|
+
|
|
420
|
+
Variants =
|
|
421
|
+
T.type_alias do
|
|
422
|
+
T.any(
|
|
423
|
+
Telnyx::MeetingSessionCreateParams::CameraImage::MeetingSessionCameraImageBase64Source,
|
|
424
|
+
Telnyx::MeetingSessionCreateParams::CameraImage::MeetingSessionCameraImageURLSource
|
|
425
|
+
)
|
|
426
|
+
end
|
|
427
|
+
|
|
428
|
+
class MeetingSessionCameraImageBase64Source < Telnyx::Internal::Type::BaseModel
|
|
429
|
+
OrHash =
|
|
430
|
+
T.type_alias do
|
|
431
|
+
T.any(
|
|
432
|
+
Telnyx::MeetingSessionCreateParams::CameraImage::MeetingSessionCameraImageBase64Source,
|
|
433
|
+
Telnyx::Internal::AnyHash
|
|
434
|
+
)
|
|
435
|
+
end
|
|
436
|
+
|
|
437
|
+
# Canonical plain RFC 4648 Base64 for a valid decoded JPEG. Data URIs, whitespace,
|
|
438
|
+
# and the URL-safe alphabet are rejected. The encoded value is limited to
|
|
439
|
+
# 1,835,008 characters and the decoded JPEG to 1,363,148 bytes. The JPEG is
|
|
440
|
+
# limited to 4,096 pixels per dimension, 4 megapixels, and 128 MB of decoder
|
|
441
|
+
# memory. The image bytes are not persisted, returned, or logged.
|
|
442
|
+
sig { returns(String) }
|
|
443
|
+
attr_accessor :base64_data
|
|
444
|
+
|
|
445
|
+
# Only JPEG images are accepted.
|
|
446
|
+
sig { returns(Symbol) }
|
|
447
|
+
attr_accessor :format_
|
|
448
|
+
|
|
449
|
+
sig do
|
|
450
|
+
params(base64_data: String, format_: Symbol).returns(
|
|
451
|
+
T.attached_class
|
|
452
|
+
)
|
|
453
|
+
end
|
|
454
|
+
def self.new(
|
|
455
|
+
# Canonical plain RFC 4648 Base64 for a valid decoded JPEG. Data URIs, whitespace,
|
|
456
|
+
# and the URL-safe alphabet are rejected. The encoded value is limited to
|
|
457
|
+
# 1,835,008 characters and the decoded JPEG to 1,363,148 bytes. The JPEG is
|
|
458
|
+
# limited to 4,096 pixels per dimension, 4 megapixels, and 128 MB of decoder
|
|
459
|
+
# memory. The image bytes are not persisted, returned, or logged.
|
|
460
|
+
base64_data:,
|
|
461
|
+
# Only JPEG images are accepted.
|
|
462
|
+
format_: :jpeg
|
|
463
|
+
)
|
|
464
|
+
end
|
|
465
|
+
|
|
466
|
+
sig { override.returns({ base64_data: String, format_: Symbol }) }
|
|
467
|
+
def to_hash
|
|
468
|
+
end
|
|
469
|
+
end
|
|
470
|
+
|
|
471
|
+
class MeetingSessionCameraImageURLSource < Telnyx::Internal::Type::BaseModel
|
|
472
|
+
OrHash =
|
|
473
|
+
T.type_alias do
|
|
474
|
+
T.any(
|
|
475
|
+
Telnyx::MeetingSessionCreateParams::CameraImage::MeetingSessionCameraImageURLSource,
|
|
476
|
+
Telnyx::Internal::AnyHash
|
|
477
|
+
)
|
|
478
|
+
end
|
|
479
|
+
|
|
480
|
+
# Only JPEG images are accepted.
|
|
481
|
+
sig { returns(Symbol) }
|
|
482
|
+
attr_accessor :format_
|
|
483
|
+
|
|
484
|
+
# Public HTTPS JPEG URL with at most 2,048 characters and no credentials,
|
|
485
|
+
# fragment, surrounding whitespace, raw control characters, or explicit
|
|
486
|
+
# non-default port. Signed queries are allowed but must be treated as credentials.
|
|
487
|
+
# Fetching is limited to public network destinations, a five-second timeout, no
|
|
488
|
+
# redirects, a 2xx image/jpeg response with identity or no content encoding, and a
|
|
489
|
+
# 1,363,148-byte limit enforced against both declared and streamed content. The
|
|
490
|
+
# service resolves the URL before bot creation and does not persist, return, or
|
|
491
|
+
# log the URL or image bytes.
|
|
492
|
+
sig { returns(String) }
|
|
493
|
+
attr_accessor :url
|
|
494
|
+
|
|
495
|
+
sig { params(url: String, format_: Symbol).returns(T.attached_class) }
|
|
496
|
+
def self.new(
|
|
497
|
+
# Public HTTPS JPEG URL with at most 2,048 characters and no credentials,
|
|
498
|
+
# fragment, surrounding whitespace, raw control characters, or explicit
|
|
499
|
+
# non-default port. Signed queries are allowed but must be treated as credentials.
|
|
500
|
+
# Fetching is limited to public network destinations, a five-second timeout, no
|
|
501
|
+
# redirects, a 2xx image/jpeg response with identity or no content encoding, and a
|
|
502
|
+
# 1,363,148-byte limit enforced against both declared and streamed content. The
|
|
503
|
+
# service resolves the URL before bot creation and does not persist, return, or
|
|
504
|
+
# log the URL or image bytes.
|
|
505
|
+
url:,
|
|
506
|
+
# Only JPEG images are accepted.
|
|
507
|
+
format_: :jpeg
|
|
508
|
+
)
|
|
509
|
+
end
|
|
510
|
+
|
|
511
|
+
sig { override.returns({ format_: Symbol, url: String }) }
|
|
512
|
+
def to_hash
|
|
513
|
+
end
|
|
514
|
+
end
|
|
515
|
+
|
|
516
|
+
sig do
|
|
517
|
+
override.returns(
|
|
518
|
+
T::Array[Telnyx::MeetingSessionCreateParams::CameraImage::Variants]
|
|
519
|
+
)
|
|
520
|
+
end
|
|
521
|
+
def self.variants
|
|
522
|
+
end
|
|
523
|
+
end
|
|
524
|
+
end
|
|
525
|
+
end
|
|
526
|
+
end
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
class MeetingSessionDeleteParams < Telnyx::Internal::Type::BaseModel
|
|
6
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(Telnyx::MeetingSessionDeleteParams, Telnyx::Internal::AnyHash)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
sig { returns(String) }
|
|
15
|
+
attr_accessor :id
|
|
16
|
+
|
|
17
|
+
sig do
|
|
18
|
+
params(
|
|
19
|
+
id: String,
|
|
20
|
+
request_options: Telnyx::RequestOptions::OrHash
|
|
21
|
+
).returns(T.attached_class)
|
|
22
|
+
end
|
|
23
|
+
def self.new(id:, request_options: {})
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
sig do
|
|
27
|
+
override.returns(
|
|
28
|
+
{ id: String, request_options: Telnyx::RequestOptions }
|
|
29
|
+
)
|
|
30
|
+
end
|
|
31
|
+
def to_hash
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
class MeetingSessionDeleteRecordingMediaParams < Telnyx::Internal::Type::BaseModel
|
|
6
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(
|
|
12
|
+
Telnyx::MeetingSessionDeleteRecordingMediaParams,
|
|
13
|
+
Telnyx::Internal::AnyHash
|
|
14
|
+
)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
sig { returns(String) }
|
|
18
|
+
attr_accessor :id
|
|
19
|
+
|
|
20
|
+
sig do
|
|
21
|
+
params(
|
|
22
|
+
id: String,
|
|
23
|
+
request_options: Telnyx::RequestOptions::OrHash
|
|
24
|
+
).returns(T.attached_class)
|
|
25
|
+
end
|
|
26
|
+
def self.new(id:, request_options: {})
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
sig do
|
|
30
|
+
override.returns(
|
|
31
|
+
{ id: String, request_options: Telnyx::RequestOptions }
|
|
32
|
+
)
|
|
33
|
+
end
|
|
34
|
+
def to_hash
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|