daily-ruby 0.0.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +13 -12
- data/README.md +203 -40
- data/daily-ruby.gemspec +4 -4
- data/docs/BatchRoomCreateRequest.md +18 -0
- data/docs/BatchRoomCreateRequestRoomsInner.md +22 -0
- data/docs/BatchRoomDelete200Response.md +18 -0
- data/docs/BatchRoomsApi.md +150 -0
- data/docs/CreateMeetingToken200Response.md +1 -1
- data/docs/CreateMeetingTokenRequest.md +18 -0
- data/docs/CreateRoom200Response.md +30 -0
- data/docs/{RoomRequest.md → CreateRoomRequest.md} +3 -3
- data/docs/DailyLiveStreamingOptions.md +40 -0
- data/docs/DailyLiveStreamingOptionsRtmpUrl.md +49 -0
- data/docs/DailyStreamingActiveParticipantLayoutConfig.md +18 -0
- data/docs/DailyStreamingCustomLayoutConfig.md +24 -0
- data/docs/DailyStreamingCustomLayoutConfigCompositionParams.md +15 -0
- data/docs/DailyStreamingDefaultLayoutConfig.md +20 -0
- data/docs/{ServerErrorResponse.md → DailyStreamingEndpoint.md} +4 -4
- data/docs/DailyStreamingLayoutConfig.md +69 -0
- data/docs/DailyStreamingOptions.md +36 -0
- data/docs/DailyStreamingPortraitLayoutConfig.md +22 -0
- data/docs/DailyStreamingPortraitLayoutVariant.md +15 -0
- data/docs/DailyStreamingSingleParticipantLayoutConfig.md +20 -0
- data/docs/DeleteTranscript200Response.md +30 -0
- data/docs/Domain.md +18 -0
- data/docs/DomainApi.md +149 -0
- data/docs/DomainProperties.md +74 -0
- data/docs/Eject200Response.md +18 -0
- data/docs/EjectRequest.md +18 -0
- data/docs/GetDomainConfig200Response.md +22 -0
- data/docs/GetDomainConfig200ResponseConfig.md +54 -0
- data/docs/GetDomainConfig200ResponseConfigRecordingsBucket.md +20 -0
- data/docs/GetMeetingInfo200Response.md +20 -0
- data/docs/GetMeetingInfo200ResponseDataInner.md +28 -0
- data/docs/GetMeetingInfo200ResponseDataInnerParticipantsInner.md +26 -0
- data/docs/GetPresence200Response.md +18 -0
- data/docs/GetPresence200ResponseAIVWWhzHlLHrSdHdw7EWInner.md +28 -0
- data/docs/GetRecordingInfo200Response.md +36 -0
- data/docs/GetRecordingInfo200ResponseTracksInner.md +22 -0
- data/docs/GetRecordingLink200Response.md +20 -0
- data/docs/GetTranscriptInfo200Response.md +32 -0
- data/docs/GetTranscriptInfo200ResponseOutParams.md +22 -0
- data/docs/GetTranscriptLink200Response.md +22 -0
- data/docs/ListAPILogs200Response.md +38 -0
- data/docs/ListRecordings200Response.md +20 -0
- data/docs/ListRecordings200ResponseDataInner.md +30 -0
- data/docs/ListRooms200Response.md +20 -0
- data/docs/ListRooms200ResponseDataInner.md +30 -0
- data/docs/ListRooms200ResponseDataInnerConfig.md +18 -0
- data/docs/ListTranscript200Response.md +20 -0
- data/docs/ListTranscript200ResponseDataInner.md +28 -0
- data/docs/LogsApi.md +177 -0
- data/docs/MeetingParticipantsGetRes.md +20 -0
- data/docs/MeetingParticipantsGetResDataInner.md +28 -0
- data/docs/MeetingTokensApi.md +88 -10
- data/docs/MeetingsApi.md +247 -0
- data/docs/MeetingsMeetingGetRes.md +28 -0
- data/docs/Permissions.md +22 -0
- data/docs/{MeetingTokenRequestPropertiesPermissionsCanSend.md → PermissionsCanAdmin.md} +4 -4
- data/docs/{MeetingTokenRequestPropertiesPermissionsCanAdmin.md → PermissionsCanSend.md} +4 -4
- data/docs/PostWebhook.md +22 -0
- data/docs/PresenceApi.md +74 -0
- data/docs/Properties.md +60 -0
- data/docs/RecordingError.md +24 -0
- data/docs/RecordingErrorPayload.md +26 -0
- data/docs/RecordingReadyToDownload.md +24 -0
- data/docs/RecordingReadyToDownloadPayload.md +34 -0
- data/docs/RecordingStarted.md +24 -0
- data/docs/RecordingStartedPayload.md +28 -0
- data/docs/RecordingStreamingOptions.md +38 -0
- data/docs/RecordingsApi.md +303 -0
- data/docs/RecordingsBucket.md +26 -0
- data/docs/RoomProperties.md +94 -0
- data/docs/RoomPropertiesStreamingEndpointsInner.md +28 -0
- data/docs/RoomPropertiesStreamingEndpointsInnerHlsConfigVariantsInner.md +26 -0
- data/docs/RoomsApi.md +1418 -0
- data/docs/RoomsRoomNameGetRes.md +30 -0
- data/docs/RoomsRoomNamePresenceGetRes.md +20 -0
- data/docs/RoomsRoomNamePresenceGetResDataInner.md +28 -0
- data/docs/SendAppMessageRequest.md +20 -0
- data/docs/SetRoomConfigRequest.md +20 -0
- data/docs/SetSessionDataRequest.md +22 -0
- data/docs/StreamingEnded.md +24 -0
- data/docs/StreamingEndedPayload.md +22 -0
- data/docs/StreamingError.md +24 -0
- data/docs/StreamingErrorPayload.md +26 -0
- data/docs/StreamingStarted.md +24 -0
- data/docs/StreamingStartedPayload.md +24 -0
- data/docs/StreamingUpdated.md +24 -0
- data/docs/StreamingUpdatedPayload.md +24 -0
- data/docs/TranscriptApi.md +305 -0
- data/docs/TranscriptionBucket.md +24 -0
- data/docs/TranscriptionProperties.md +32 -0
- data/docs/TranscriptionPropertiesEndpointing.md +49 -0
- data/docs/TranscriptionPropertiesRedact.md +51 -0
- data/docs/UpdatePermissionsRequest.md +18 -0
- data/docs/UpdatePermissionsRequestDataValue.md +22 -0
- data/docs/UpdatePermissionsRequestDataValueCanSend.md +49 -0
- data/docs/UpdateWebhook.md +22 -0
- data/docs/ValidateMeetingToken200Response.md +28 -0
- data/docs/Webhook.md +38 -0
- data/docs/WebhooksApi.md +370 -0
- data/example.rb +61 -0
- data/lib/daily-ruby/api/batch_rooms_api.rb +143 -0
- data/lib/daily-ruby/api/domain_api.rb +143 -0
- data/lib/daily-ruby/api/logs_api.rb +181 -0
- data/lib/daily-ruby/api/meeting_tokens_api.rb +78 -12
- data/lib/daily-ruby/api/meetings_api.rb +238 -0
- data/lib/daily-ruby/api/presence_api.rb +77 -0
- data/lib/daily-ruby/api/recordings_api.rb +280 -0
- data/lib/daily-ruby/api/rooms_api.rb +1302 -0
- data/lib/daily-ruby/api/transcript_api.rb +283 -0
- data/lib/daily-ruby/api/webhooks_api.rb +339 -0
- data/lib/daily-ruby/api_client.rb +4 -4
- data/lib/daily-ruby/api_error.rb +4 -4
- data/lib/daily-ruby/configuration.rb +19 -7
- data/lib/daily-ruby/models/{room_deleted_response.rb → batch_room_create_request.rb} +16 -24
- data/lib/daily-ruby/models/batch_room_create_request_rooms_inner.rb +232 -0
- data/lib/daily-ruby/models/batch_room_delete200_response.rb +214 -0
- data/lib/daily-ruby/models/create_meeting_token200_response.rb +4 -4
- data/lib/daily-ruby/models/{server_error_response.rb → create_meeting_token_request.rb} +14 -15
- data/lib/daily-ruby/models/create_room200_response.rb +270 -0
- data/lib/daily-ruby/models/create_room_request.rb +232 -0
- data/lib/daily-ruby/models/daily_live_streaming_options.rb +324 -0
- data/lib/daily-ruby/models/{meeting_token_request_properties_permissions_can_send.rb → daily_live_streaming_options_rtmp_url.rb} +6 -6
- data/lib/daily-ruby/models/{room_request.rb → daily_streaming_active_participant_layout_config.rb} +29 -41
- data/lib/daily-ruby/models/daily_streaming_custom_layout_config.rb +293 -0
- data/lib/daily-ruby/models/daily_streaming_custom_layout_config_composition_params.rb +105 -0
- data/lib/daily-ruby/models/daily_streaming_default_layout_config.rb +264 -0
- data/lib/daily-ruby/models/daily_streaming_endpoint.rb +221 -0
- data/lib/daily-ruby/models/daily_streaming_layout_config.rb +46 -0
- data/lib/daily-ruby/models/daily_streaming_options.rb +304 -0
- data/lib/daily-ruby/models/daily_streaming_portrait_layout_config.rb +273 -0
- data/lib/daily-ruby/models/daily_streaming_portrait_layout_variant.rb +40 -0
- data/lib/daily-ruby/models/daily_streaming_single_participant_layout_config.rb +271 -0
- data/lib/daily-ruby/models/delete_transcript200_response.rb +307 -0
- data/lib/daily-ruby/models/{meeting_token_request.rb → domain.rb} +8 -9
- data/lib/daily-ruby/models/domain_properties.rb +570 -0
- data/lib/daily-ruby/models/eject200_response.rb +216 -0
- data/lib/daily-ruby/models/eject_request.rb +217 -0
- data/lib/daily-ruby/models/get_domain_config200_response.rb +271 -0
- data/lib/daily-ruby/models/get_domain_config200_response_config.rb +395 -0
- data/lib/daily-ruby/models/get_domain_config200_response_config_recordings_bucket.rb +223 -0
- data/lib/daily-ruby/models/get_meeting_info200_response.rb +259 -0
- data/lib/daily-ruby/models/get_meeting_info200_response_data_inner.rb +353 -0
- data/lib/daily-ruby/models/get_meeting_info200_response_data_inner_participants_inner.rb +290 -0
- data/lib/daily-ruby/models/get_presence200_response.rb +243 -0
- data/lib/daily-ruby/models/get_presence200_response_aivw_whz_hl_lhr_sd_hdw7_ew_inner.rb +370 -0
- data/lib/daily-ruby/models/get_recording_info200_response.rb +340 -0
- data/lib/daily-ruby/models/get_recording_info200_response_tracks_inner.rb +269 -0
- data/lib/daily-ruby/models/get_recording_link200_response.rb +225 -0
- data/lib/daily-ruby/models/get_transcript_info200_response.rb +317 -0
- data/lib/daily-ruby/models/get_transcript_info200_response_out_params.rb +232 -0
- data/lib/daily-ruby/models/get_transcript_link200_response.rb +233 -0
- data/lib/daily-ruby/models/list_api_logs200_response.rb +315 -0
- data/lib/daily-ruby/models/list_recordings200_response.rb +227 -0
- data/lib/daily-ruby/models/list_recordings200_response_data_inner.rb +272 -0
- data/lib/daily-ruby/models/list_rooms200_response.rb +227 -0
- data/lib/daily-ruby/models/list_rooms200_response_data_inner.rb +270 -0
- data/lib/daily-ruby/models/list_rooms200_response_data_inner_config.rb +216 -0
- data/lib/daily-ruby/models/list_transcript200_response.rb +227 -0
- data/lib/daily-ruby/models/list_transcript200_response_data_inner.rb +298 -0
- data/lib/daily-ruby/models/meeting_participants_get_res.rb +225 -0
- data/lib/daily-ruby/models/meeting_participants_get_res_data_inner.rb +259 -0
- data/lib/daily-ruby/models/meetings_meeting_get_res.rb +259 -0
- data/lib/daily-ruby/models/permissions.rb +234 -0
- data/lib/daily-ruby/models/permissions_can_admin.rb +106 -0
- data/lib/daily-ruby/models/permissions_can_send.rb +106 -0
- data/lib/daily-ruby/models/post_webhook.rb +259 -0
- data/lib/daily-ruby/models/{meeting_token_request_properties.rb → properties.rb} +81 -29
- data/lib/daily-ruby/models/recording_error.rb +278 -0
- data/lib/daily-ruby/models/recording_error_payload.rb +290 -0
- data/lib/daily-ruby/models/recording_ready_to_download.rb +278 -0
- data/lib/daily-ruby/models/recording_ready_to_download_payload.rb +344 -0
- data/lib/daily-ruby/models/recording_started.rb +278 -0
- data/lib/daily-ruby/models/recording_started_payload.rb +299 -0
- data/lib/daily-ruby/models/recording_streaming_options.rb +350 -0
- data/lib/daily-ruby/models/recordings_bucket.rb +258 -0
- data/lib/daily-ruby/models/room_properties.rb +678 -0
- data/lib/daily-ruby/models/room_properties_streaming_endpoints_inner.rb +267 -0
- data/lib/daily-ruby/models/room_properties_streaming_endpoints_inner_hls_config_variants_inner.rb +255 -0
- data/lib/daily-ruby/models/{room_response.rb → rooms_room_name_get_res.rb} +22 -12
- data/lib/daily-ruby/models/rooms_room_name_presence_get_res.rb +225 -0
- data/lib/daily-ruby/models/rooms_room_name_presence_get_res_data_inner.rb +259 -0
- data/lib/daily-ruby/models/send_app_message_request.rb +227 -0
- data/lib/daily-ruby/models/set_room_config_request.rb +223 -0
- data/lib/daily-ruby/models/set_session_data_request.rb +273 -0
- data/lib/daily-ruby/models/streaming_ended.rb +278 -0
- data/lib/daily-ruby/models/streaming_ended_payload.rb +236 -0
- data/lib/daily-ruby/models/streaming_error.rb +278 -0
- data/lib/daily-ruby/models/streaming_error_payload.rb +256 -0
- data/lib/daily-ruby/models/streaming_started.rb +278 -0
- data/lib/daily-ruby/models/streaming_started_payload.rb +245 -0
- data/lib/daily-ruby/models/streaming_updated.rb +278 -0
- data/lib/daily-ruby/models/streaming_updated_payload.rb +245 -0
- data/lib/daily-ruby/models/transcription_bucket.rb +246 -0
- data/lib/daily-ruby/models/transcription_properties.rb +283 -0
- data/lib/daily-ruby/models/transcription_properties_endpointing.rb +106 -0
- data/lib/daily-ruby/models/transcription_properties_redact.rb +107 -0
- data/lib/daily-ruby/models/{room_not_found_response.rb → update_permissions_request.rb} +16 -24
- data/lib/daily-ruby/models/{meeting_token_request_properties_permissions.rb → update_permissions_request_data_value.rb} +13 -12
- data/lib/daily-ruby/models/{meeting_token_request_properties_permissions_can_admin.rb → update_permissions_request_data_value_can_send.rb} +5 -5
- data/lib/daily-ruby/models/update_webhook.rb +259 -0
- data/lib/daily-ruby/models/validate_meeting_token200_response.rb +265 -0
- data/lib/daily-ruby/models/webhook.rb +339 -0
- data/lib/daily-ruby/version.rb +5 -5
- data/lib/daily-ruby.rb +101 -16
- data/run.sh +1 -1
- data/spec/api/batch_rooms_api_spec.rb +58 -0
- data/spec/api/domain_api_spec.rb +58 -0
- data/spec/api/logs_api_spec.rb +70 -0
- data/spec/api/meeting_tokens_api_spec.rb +20 -7
- data/spec/api/meetings_api_spec.rb +81 -0
- data/spec/api/presence_api_spec.rb +45 -0
- data/spec/api/recordings_api_spec.rb +86 -0
- data/spec/api/rooms_api_spec.rb +278 -0
- data/spec/api/transcript_api_spec.rb +87 -0
- data/spec/api/webhooks_api_spec.rb +95 -0
- data/spec/models/batch_room_create_request_rooms_inner_spec.rb +48 -0
- data/spec/models/batch_room_create_request_spec.rb +36 -0
- data/spec/models/batch_room_delete200_response_spec.rb +36 -0
- data/spec/models/create_meeting_token200_response_spec.rb +4 -4
- data/spec/models/create_meeting_token_request_spec.rb +36 -0
- data/spec/models/create_room200_response_spec.rb +72 -0
- data/spec/models/{room_request_spec.rb → create_room_request_spec.rb} +10 -14
- data/spec/models/daily_live_streaming_options_rtmp_url_spec.rb +32 -0
- data/spec/models/daily_live_streaming_options_spec.rb +102 -0
- data/spec/models/daily_streaming_active_participant_layout_config_spec.rb +40 -0
- data/spec/models/daily_streaming_custom_layout_config_composition_params_spec.rb +21 -0
- data/spec/models/daily_streaming_custom_layout_config_spec.rb +58 -0
- data/spec/models/daily_streaming_default_layout_config_spec.rb +46 -0
- data/spec/models/daily_streaming_endpoint_spec.rb +36 -0
- data/spec/models/daily_streaming_layout_config_spec.rb +38 -0
- data/spec/models/daily_streaming_options_spec.rb +90 -0
- data/spec/models/daily_streaming_portrait_layout_config_spec.rb +52 -0
- data/spec/models/daily_streaming_portrait_layout_variant_spec.rb +30 -0
- data/spec/models/daily_streaming_single_participant_layout_config_spec.rb +46 -0
- data/spec/models/delete_transcript200_response_spec.rb +76 -0
- data/spec/models/{room_request_properties_spec.rb → domain_properties_spec.rb} +39 -49
- data/spec/models/domain_spec.rb +36 -0
- data/spec/models/eject200_response_spec.rb +36 -0
- data/spec/models/eject_request_spec.rb +36 -0
- data/spec/models/get_domain_config200_response_config_recordings_bucket_spec.rb +42 -0
- data/spec/models/get_domain_config200_response_config_spec.rb +144 -0
- data/spec/models/get_domain_config200_response_spec.rb +48 -0
- data/spec/models/get_meeting_info200_response_data_inner_participants_inner_spec.rb +60 -0
- data/spec/models/get_meeting_info200_response_data_inner_spec.rb +66 -0
- data/spec/models/get_meeting_info200_response_spec.rb +42 -0
- data/spec/models/get_presence200_response_aivw_whz_hl_lhr_sd_hdw7_ew_inner_spec.rb +66 -0
- data/spec/models/get_presence200_response_spec.rb +36 -0
- data/spec/models/get_recording_info200_response_spec.rb +94 -0
- data/spec/models/get_recording_info200_response_tracks_inner_spec.rb +52 -0
- data/spec/models/get_recording_link200_response_spec.rb +42 -0
- data/spec/models/get_transcript_info200_response_out_params_spec.rb +48 -0
- data/spec/models/get_transcript_info200_response_spec.rb +82 -0
- data/spec/models/get_transcript_link200_response_spec.rb +48 -0
- data/spec/models/list_api_logs200_response_spec.rb +96 -0
- data/spec/models/list_recordings200_response_data_inner_spec.rb +72 -0
- data/spec/models/list_recordings200_response_spec.rb +42 -0
- data/spec/models/list_rooms200_response_data_inner_config_spec.rb +36 -0
- data/spec/models/list_rooms200_response_data_inner_spec.rb +72 -0
- data/spec/models/list_rooms200_response_spec.rb +42 -0
- data/spec/models/list_transcript200_response_data_inner_spec.rb +70 -0
- data/spec/models/list_transcript200_response_spec.rb +42 -0
- data/spec/models/meeting_participants_get_res_data_inner_spec.rb +66 -0
- data/spec/models/meeting_participants_get_res_spec.rb +42 -0
- data/spec/models/meetings_meeting_get_res_spec.rb +66 -0
- data/spec/models/{meeting_token_request_properties_permissions_can_send_spec.rb → permissions_can_admin_spec.rb} +6 -6
- data/spec/models/{meeting_token_request_properties_permissions_can_admin_spec.rb → permissions_can_send_spec.rb} +6 -6
- data/spec/models/{meeting_token_request_properties_permissions_spec.rb → permissions_spec.rb} +10 -10
- data/spec/models/post_webhook_spec.rb +52 -0
- data/spec/models/{meeting_token_request_properties_spec.rb → properties_spec.rb} +27 -15
- data/spec/models/recording_error_payload_spec.rb +64 -0
- data/spec/models/recording_error_spec.rb +58 -0
- data/spec/models/recording_ready_to_download_payload_spec.rb +92 -0
- data/spec/models/recording_ready_to_download_spec.rb +58 -0
- data/spec/models/recording_started_payload_spec.rb +70 -0
- data/spec/models/recording_started_spec.rb +58 -0
- data/spec/models/recording_streaming_options_spec.rb +100 -0
- data/spec/models/recordings_bucket_spec.rb +60 -0
- data/spec/models/room_properties_spec.rb +272 -0
- data/spec/models/room_properties_streaming_endpoints_inner_hls_config_variants_inner_spec.rb +60 -0
- data/spec/models/room_properties_streaming_endpoints_inner_spec.rb +66 -0
- data/spec/models/{room_response_spec.rb → rooms_room_name_get_res_spec.rb} +16 -10
- data/spec/models/rooms_room_name_presence_get_res_data_inner_spec.rb +66 -0
- data/spec/models/rooms_room_name_presence_get_res_spec.rb +42 -0
- data/spec/models/send_app_message_request_spec.rb +42 -0
- data/spec/models/set_room_config_request_spec.rb +42 -0
- data/spec/models/set_session_data_request_spec.rb +52 -0
- data/spec/models/streaming_ended_payload_spec.rb +48 -0
- data/spec/models/streaming_ended_spec.rb +58 -0
- data/spec/models/streaming_error_payload_spec.rb +60 -0
- data/spec/models/streaming_error_spec.rb +58 -0
- data/spec/models/streaming_started_payload_spec.rb +54 -0
- data/spec/models/streaming_started_spec.rb +58 -0
- data/spec/models/streaming_updated_payload_spec.rb +54 -0
- data/spec/models/streaming_updated_spec.rb +58 -0
- data/spec/models/transcription_bucket_spec.rb +54 -0
- data/spec/models/transcription_properties_endpointing_spec.rb +32 -0
- data/spec/models/transcription_properties_redact_spec.rb +32 -0
- data/spec/models/transcription_properties_spec.rb +78 -0
- data/spec/models/update_permissions_request_data_value_can_send_spec.rb +32 -0
- data/spec/models/update_permissions_request_data_value_spec.rb +48 -0
- data/spec/models/update_permissions_request_spec.rb +36 -0
- data/spec/models/update_webhook_spec.rb +52 -0
- data/spec/models/validate_meeting_token200_response_spec.rb +66 -0
- data/spec/models/webhook_spec.rb +100 -0
- data/spec/spec_helper.rb +4 -4
- metadata +391 -52
- data/daily.yaml +0 -422
- data/docs/MeetingTokenRequest.md +0 -18
- data/docs/MeetingTokenRequestProperties.md +0 -56
- data/docs/MeetingTokenRequestPropertiesPermissions.md +0 -22
- data/docs/RoomApi.md +0 -227
- data/docs/RoomDeletedResponse.md +0 -20
- data/docs/RoomNotFoundResponse.md +0 -20
- data/docs/RoomRequestProperties.md +0 -76
- data/docs/RoomResponse.md +0 -28
- data/lib/daily-ruby/api/room_api.rb +0 -218
- data/lib/daily-ruby/models/room_request_properties.rb +0 -521
- data/script.rb +0 -35
- data/spec/api/room_api_spec.rb +0 -74
- data/spec/models/meeting_token_request_spec.rb +0 -36
- data/spec/models/room_deleted_response_spec.rb +0 -42
- data/spec/models/room_not_found_response_spec.rb +0 -42
- data/spec/models/server_error_response_spec.rb +0 -36
data/lib/daily-ruby.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#Daily
|
2
|
+
#Daily API
|
3
3
|
|
4
|
-
#The
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 0.0.0
|
4
|
+
#The Daily REST API offers the ability to manage the following: - Overall Domain Configuration - Individual Room creation and config management - Meeting token creation and validation - Recording and compositing management - Meeting analytics - Logs and metrics - Real-time presence Please reach out to help@daily.co if we can help with anything
|
7
5
|
|
6
|
+
The version of the OpenAPI document: 1.1.1
|
7
|
+
Contact: help@daily.co
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.3.0
|
10
10
|
|
@@ -17,22 +17,107 @@ require 'daily-ruby/version'
|
|
17
17
|
require 'daily-ruby/configuration'
|
18
18
|
|
19
19
|
# Models
|
20
|
+
require 'daily-ruby/models/batch_room_create_request'
|
21
|
+
require 'daily-ruby/models/batch_room_create_request_rooms_inner'
|
22
|
+
require 'daily-ruby/models/batch_room_delete200_response'
|
20
23
|
require 'daily-ruby/models/create_meeting_token200_response'
|
21
|
-
require 'daily-ruby/models/
|
22
|
-
require 'daily-ruby/models/
|
23
|
-
require 'daily-ruby/models/
|
24
|
-
require 'daily-ruby/models/
|
25
|
-
require 'daily-ruby/models/
|
26
|
-
require 'daily-ruby/models/
|
27
|
-
require 'daily-ruby/models/
|
28
|
-
require 'daily-ruby/models/
|
29
|
-
require 'daily-ruby/models/
|
30
|
-
require 'daily-ruby/models/
|
31
|
-
require 'daily-ruby/models/
|
24
|
+
require 'daily-ruby/models/create_meeting_token_request'
|
25
|
+
require 'daily-ruby/models/create_room200_response'
|
26
|
+
require 'daily-ruby/models/create_room_request'
|
27
|
+
require 'daily-ruby/models/daily_live_streaming_options'
|
28
|
+
require 'daily-ruby/models/daily_live_streaming_options_rtmp_url'
|
29
|
+
require 'daily-ruby/models/daily_streaming_active_participant_layout_config'
|
30
|
+
require 'daily-ruby/models/daily_streaming_custom_layout_config'
|
31
|
+
require 'daily-ruby/models/daily_streaming_custom_layout_config_composition_params'
|
32
|
+
require 'daily-ruby/models/daily_streaming_default_layout_config'
|
33
|
+
require 'daily-ruby/models/daily_streaming_endpoint'
|
34
|
+
require 'daily-ruby/models/daily_streaming_layout_config'
|
35
|
+
require 'daily-ruby/models/daily_streaming_options'
|
36
|
+
require 'daily-ruby/models/daily_streaming_portrait_layout_config'
|
37
|
+
require 'daily-ruby/models/daily_streaming_portrait_layout_variant'
|
38
|
+
require 'daily-ruby/models/daily_streaming_single_participant_layout_config'
|
39
|
+
require 'daily-ruby/models/delete_transcript200_response'
|
40
|
+
require 'daily-ruby/models/domain'
|
41
|
+
require 'daily-ruby/models/domain_properties'
|
42
|
+
require 'daily-ruby/models/eject200_response'
|
43
|
+
require 'daily-ruby/models/eject_request'
|
44
|
+
require 'daily-ruby/models/get_domain_config200_response'
|
45
|
+
require 'daily-ruby/models/get_domain_config200_response_config'
|
46
|
+
require 'daily-ruby/models/get_domain_config200_response_config_recordings_bucket'
|
47
|
+
require 'daily-ruby/models/get_meeting_info200_response'
|
48
|
+
require 'daily-ruby/models/get_meeting_info200_response_data_inner'
|
49
|
+
require 'daily-ruby/models/get_meeting_info200_response_data_inner_participants_inner'
|
50
|
+
require 'daily-ruby/models/get_presence200_response'
|
51
|
+
require 'daily-ruby/models/get_presence200_response_aivw_whz_hl_lhr_sd_hdw7_ew_inner'
|
52
|
+
require 'daily-ruby/models/get_recording_info200_response'
|
53
|
+
require 'daily-ruby/models/get_recording_info200_response_tracks_inner'
|
54
|
+
require 'daily-ruby/models/get_recording_link200_response'
|
55
|
+
require 'daily-ruby/models/get_transcript_info200_response'
|
56
|
+
require 'daily-ruby/models/get_transcript_info200_response_out_params'
|
57
|
+
require 'daily-ruby/models/get_transcript_link200_response'
|
58
|
+
require 'daily-ruby/models/list_api_logs200_response'
|
59
|
+
require 'daily-ruby/models/list_recordings200_response'
|
60
|
+
require 'daily-ruby/models/list_recordings200_response_data_inner'
|
61
|
+
require 'daily-ruby/models/list_rooms200_response'
|
62
|
+
require 'daily-ruby/models/list_rooms200_response_data_inner'
|
63
|
+
require 'daily-ruby/models/list_rooms200_response_data_inner_config'
|
64
|
+
require 'daily-ruby/models/list_transcript200_response'
|
65
|
+
require 'daily-ruby/models/list_transcript200_response_data_inner'
|
66
|
+
require 'daily-ruby/models/meeting_participants_get_res'
|
67
|
+
require 'daily-ruby/models/meeting_participants_get_res_data_inner'
|
68
|
+
require 'daily-ruby/models/meetings_meeting_get_res'
|
69
|
+
require 'daily-ruby/models/permissions'
|
70
|
+
require 'daily-ruby/models/permissions_can_admin'
|
71
|
+
require 'daily-ruby/models/permissions_can_send'
|
72
|
+
require 'daily-ruby/models/post_webhook'
|
73
|
+
require 'daily-ruby/models/properties'
|
74
|
+
require 'daily-ruby/models/recording_error'
|
75
|
+
require 'daily-ruby/models/recording_error_payload'
|
76
|
+
require 'daily-ruby/models/recording_ready_to_download'
|
77
|
+
require 'daily-ruby/models/recording_ready_to_download_payload'
|
78
|
+
require 'daily-ruby/models/recording_started'
|
79
|
+
require 'daily-ruby/models/recording_started_payload'
|
80
|
+
require 'daily-ruby/models/recording_streaming_options'
|
81
|
+
require 'daily-ruby/models/recordings_bucket'
|
82
|
+
require 'daily-ruby/models/room_properties'
|
83
|
+
require 'daily-ruby/models/room_properties_streaming_endpoints_inner'
|
84
|
+
require 'daily-ruby/models/room_properties_streaming_endpoints_inner_hls_config_variants_inner'
|
85
|
+
require 'daily-ruby/models/rooms_room_name_get_res'
|
86
|
+
require 'daily-ruby/models/rooms_room_name_presence_get_res'
|
87
|
+
require 'daily-ruby/models/rooms_room_name_presence_get_res_data_inner'
|
88
|
+
require 'daily-ruby/models/send_app_message_request'
|
89
|
+
require 'daily-ruby/models/set_room_config_request'
|
90
|
+
require 'daily-ruby/models/set_session_data_request'
|
91
|
+
require 'daily-ruby/models/streaming_ended'
|
92
|
+
require 'daily-ruby/models/streaming_ended_payload'
|
93
|
+
require 'daily-ruby/models/streaming_error'
|
94
|
+
require 'daily-ruby/models/streaming_error_payload'
|
95
|
+
require 'daily-ruby/models/streaming_started'
|
96
|
+
require 'daily-ruby/models/streaming_started_payload'
|
97
|
+
require 'daily-ruby/models/streaming_updated'
|
98
|
+
require 'daily-ruby/models/streaming_updated_payload'
|
99
|
+
require 'daily-ruby/models/transcription_bucket'
|
100
|
+
require 'daily-ruby/models/transcription_properties'
|
101
|
+
require 'daily-ruby/models/transcription_properties_endpointing'
|
102
|
+
require 'daily-ruby/models/transcription_properties_redact'
|
103
|
+
require 'daily-ruby/models/update_permissions_request'
|
104
|
+
require 'daily-ruby/models/update_permissions_request_data_value'
|
105
|
+
require 'daily-ruby/models/update_permissions_request_data_value_can_send'
|
106
|
+
require 'daily-ruby/models/update_webhook'
|
107
|
+
require 'daily-ruby/models/validate_meeting_token200_response'
|
108
|
+
require 'daily-ruby/models/webhook'
|
32
109
|
|
33
110
|
# APIs
|
111
|
+
require 'daily-ruby/api/batch_rooms_api'
|
112
|
+
require 'daily-ruby/api/domain_api'
|
113
|
+
require 'daily-ruby/api/logs_api'
|
34
114
|
require 'daily-ruby/api/meeting_tokens_api'
|
35
|
-
require 'daily-ruby/api/
|
115
|
+
require 'daily-ruby/api/meetings_api'
|
116
|
+
require 'daily-ruby/api/presence_api'
|
117
|
+
require 'daily-ruby/api/recordings_api'
|
118
|
+
require 'daily-ruby/api/rooms_api'
|
119
|
+
require 'daily-ruby/api/transcript_api'
|
120
|
+
require 'daily-ruby/api/webhooks_api'
|
36
121
|
|
37
122
|
module Daily
|
38
123
|
class << self
|
data/run.sh
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
openapi-generator generate -g ruby -o . -i daily.yaml \
|
4
4
|
--additional-properties=gemName=daily-ruby \
|
5
5
|
--additional-properties=moduleName=Daily \
|
6
|
-
--additional-properties=gemVersion=0.0.
|
6
|
+
--additional-properties=gemVersion=0.0.2 \
|
7
7
|
--additional-properties=gemLicense=MIT \
|
8
8
|
--additional-properties=gemAuthor=Daily \
|
9
9
|
--additional-properties=gemAuthorEmail=help@daily.co \
|
@@ -0,0 +1,58 @@
|
|
1
|
+
=begin
|
2
|
+
#Daily API
|
3
|
+
|
4
|
+
#The Daily REST API offers the ability to manage the following: - Overall Domain Configuration - Individual Room creation and config management - Meeting token creation and validation - Recording and compositing management - Meeting analytics - Logs and metrics - Real-time presence Please reach out to help@daily.co if we can help with anything
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.1.1
|
7
|
+
Contact: help@daily.co
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.3.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for Daily::BatchRoomsApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'BatchRoomsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = Daily::BatchRoomsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of BatchRoomsApi' do
|
30
|
+
it 'should create an instance of BatchRoomsApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(Daily::BatchRoomsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for batch_room_create
|
36
|
+
# /batch/rooms
|
37
|
+
# Create rooms in bulk
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [BatchRoomCreateRequest] :batch_room_create_request
|
40
|
+
# @return [Array<RoomsRoomNameGetRes>]
|
41
|
+
describe 'batch_room_create test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# unit tests for batch_room_delete
|
48
|
+
# /batch/rooms
|
49
|
+
# Delete rooms in bulk
|
50
|
+
# @param [Hash] opts the optional parameters
|
51
|
+
# @return [BatchRoomDelete200Response]
|
52
|
+
describe 'batch_room_delete test' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
=begin
|
2
|
+
#Daily API
|
3
|
+
|
4
|
+
#The Daily REST API offers the ability to manage the following: - Overall Domain Configuration - Individual Room creation and config management - Meeting token creation and validation - Recording and compositing management - Meeting analytics - Logs and metrics - Real-time presence Please reach out to help@daily.co if we can help with anything
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.1.1
|
7
|
+
Contact: help@daily.co
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.3.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for Daily::DomainApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'DomainApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = Daily::DomainApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of DomainApi' do
|
30
|
+
it 'should create an instance of DomainApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(Daily::DomainApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for get_domain_config
|
36
|
+
# Get domain configuration
|
37
|
+
# Get top-level configuration of your domain
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @return [GetDomainConfig200Response]
|
40
|
+
describe 'get_domain_config test' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
# unit tests for set_domain_config
|
47
|
+
# Set domain configuration
|
48
|
+
# Set top-level configuration options for your domain
|
49
|
+
# @param [Hash] opts the optional parameters
|
50
|
+
# @option opts [Domain] :domain
|
51
|
+
# @return [nil]
|
52
|
+
describe 'set_domain_config test' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
end
|
@@ -0,0 +1,70 @@
|
|
1
|
+
=begin
|
2
|
+
#Daily API
|
3
|
+
|
4
|
+
#The Daily REST API offers the ability to manage the following: - Overall Domain Configuration - Individual Room creation and config management - Meeting token creation and validation - Recording and compositing management - Meeting analytics - Logs and metrics - Real-time presence Please reach out to help@daily.co if we can help with anything
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.1.1
|
7
|
+
Contact: help@daily.co
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.3.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for Daily::LogsApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'LogsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = Daily::LogsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of LogsApi' do
|
30
|
+
it 'should create an instance of LogsApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(Daily::LogsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for list_api_logs
|
36
|
+
# /logs/api
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @option opts [String] :starting_after Given the log ID, will return all records after that ID. See [pagination docs](../../rest-api#pagination)
|
39
|
+
# @option opts [String] :ending_before Given the log ID, will return all records before that ID. See [pagination docs](../../rest-api#pagination)
|
40
|
+
# @option opts [Integer] :limit Limit the number of logs and/or metrics returned
|
41
|
+
# @option opts [String] :source The source of the given logs, either `\"api\"` or `\"webhook\"`
|
42
|
+
# @option opts [String] :url Either the webhook server URL, or the API endpoint that was logged
|
43
|
+
# @return [ListAPILogs200Response]
|
44
|
+
describe 'list_api_logs test' do
|
45
|
+
it 'should work' do
|
46
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
# unit tests for list_logs
|
51
|
+
# /logs
|
52
|
+
# @param [Hash] opts the optional parameters
|
53
|
+
# @option opts [Boolean] :include_logs If true, you get a \"logs\" array in the results
|
54
|
+
# @option opts [Boolean] :include_metrics If true, results have \"metrics\" array
|
55
|
+
# @option opts [String] :user_session_id Filters by this user ID (aka \"participant ID\"). Required if `mtgSessionId` is not present in the request
|
56
|
+
# @option opts [String] :mtg_session_id Filters by this Session ID. Required if `userSessionId` is not present in the request
|
57
|
+
# @option opts [String] :log_level Filters by the given log level name
|
58
|
+
# @option opts [String] :order ASC or DESC, case insensitive
|
59
|
+
# @option opts [Integer] :start_time A JS timestamp (ms since epoch in UTC)
|
60
|
+
# @option opts [Integer] :end_time A JS timestamp (ms since epoch), defaults to the current time
|
61
|
+
# @option opts [Integer] :limit Limit the number of logs and/or metrics returned
|
62
|
+
# @option opts [Integer] :offset Number of records to skip before returning results
|
63
|
+
# @return [Object]
|
64
|
+
describe 'list_logs test' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
end
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#Daily
|
2
|
+
#Daily API
|
3
3
|
|
4
|
-
#The
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 0.0.0
|
4
|
+
#The Daily REST API offers the ability to manage the following: - Overall Domain Configuration - Individual Room creation and config management - Meeting token creation and validation - Recording and compositing management - Meeting analytics - Logs and metrics - Real-time presence Please reach out to help@daily.co if we can help with anything
|
7
5
|
|
6
|
+
The version of the OpenAPI document: 1.1.1
|
7
|
+
Contact: help@daily.co
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.3.0
|
10
10
|
|
@@ -33,10 +33,10 @@ describe 'MeetingTokensApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for create_meeting_token
|
36
|
-
#
|
37
|
-
#
|
36
|
+
# meeting-tokens
|
37
|
+
# Create a meeting token
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
-
# @option opts [
|
39
|
+
# @option opts [CreateMeetingTokenRequest] :create_meeting_token_request
|
40
40
|
# @return [CreateMeetingToken200Response]
|
41
41
|
describe 'create_meeting_token test' do
|
42
42
|
it 'should work' do
|
@@ -44,4 +44,17 @@ describe 'MeetingTokensApi' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
# unit tests for validate_meeting_token
|
48
|
+
# meeting-tokens/:meeting_token
|
49
|
+
# Validate meeting tokens
|
50
|
+
# @param meeting_token
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @option opts [Boolean] :ignore_nbf Ignore the `nbf` in a JWT, if given
|
53
|
+
# @return [ValidateMeetingToken200Response]
|
54
|
+
describe 'validate_meeting_token test' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
47
60
|
end
|
@@ -0,0 +1,81 @@
|
|
1
|
+
=begin
|
2
|
+
#Daily API
|
3
|
+
|
4
|
+
#The Daily REST API offers the ability to manage the following: - Overall Domain Configuration - Individual Room creation and config management - Meeting token creation and validation - Recording and compositing management - Meeting analytics - Logs and metrics - Real-time presence Please reach out to help@daily.co if we can help with anything
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.1.1
|
7
|
+
Contact: help@daily.co
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.3.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for Daily::MeetingsApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'MeetingsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = Daily::MeetingsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of MeetingsApi' do
|
30
|
+
it 'should create an instance of MeetingsApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(Daily::MeetingsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for get_individual_meeting_info
|
36
|
+
# /meetings/:meeting
|
37
|
+
# retrieve info about a particular meeting
|
38
|
+
# @param meeting the ID of the meeting session
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [MeetingsMeetingGetRes]
|
41
|
+
describe 'get_individual_meeting_info test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# unit tests for get_meeting_info
|
48
|
+
# /meetings
|
49
|
+
# retrieve meeting analytics
|
50
|
+
# @param [Hash] opts the optional parameters
|
51
|
+
# @option opts [String] :room
|
52
|
+
# @option opts [Integer] :timeframe_start
|
53
|
+
# @option opts [Integer] :timeframe_end
|
54
|
+
# @option opts [Integer] :limit
|
55
|
+
# @option opts [String] :starting_after
|
56
|
+
# @option opts [String] :ending_before
|
57
|
+
# @option opts [Boolean] :ongoing
|
58
|
+
# @option opts [Boolean] :no_participants
|
59
|
+
# @return [GetMeetingInfo200Response]
|
60
|
+
describe 'get_meeting_info test' do
|
61
|
+
it 'should work' do
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
# unit tests for get_meeting_participants
|
67
|
+
# /meetings/:meeting/participants
|
68
|
+
# retrieve info about the participants in a particular meeting
|
69
|
+
# @param meeting the ID of the meeting session
|
70
|
+
# @param [Hash] opts the optional parameters
|
71
|
+
# @option opts [Integer] :limit the largest number of participant records to return
|
72
|
+
# @option opts [String] :joined_after limit to participants who joined after the given participant, identified by `participant_id`
|
73
|
+
# @option opts [String] :joined_before limit to participants who joined before the given participant, identified by `participant_id`
|
74
|
+
# @return [MeetingParticipantsGetRes]
|
75
|
+
describe 'get_meeting_participants test' do
|
76
|
+
it 'should work' do
|
77
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
=begin
|
2
|
+
#Daily API
|
3
|
+
|
4
|
+
#The Daily REST API offers the ability to manage the following: - Overall Domain Configuration - Individual Room creation and config management - Meeting token creation and validation - Recording and compositing management - Meeting analytics - Logs and metrics - Real-time presence Please reach out to help@daily.co if we can help with anything
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.1.1
|
7
|
+
Contact: help@daily.co
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.3.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for Daily::PresenceApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'PresenceApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = Daily::PresenceApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of PresenceApi' do
|
30
|
+
it 'should create an instance of PresenceApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(Daily::PresenceApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for get_presence
|
36
|
+
# /presence
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @return [GetPresence200Response]
|
39
|
+
describe 'get_presence test' do
|
40
|
+
it 'should work' do
|
41
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
end
|
@@ -0,0 +1,86 @@
|
|
1
|
+
=begin
|
2
|
+
#Daily API
|
3
|
+
|
4
|
+
#The Daily REST API offers the ability to manage the following: - Overall Domain Configuration - Individual Room creation and config management - Meeting token creation and validation - Recording and compositing management - Meeting analytics - Logs and metrics - Real-time presence Please reach out to help@daily.co if we can help with anything
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.1.1
|
7
|
+
Contact: help@daily.co
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.3.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for Daily::RecordingsApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'RecordingsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = Daily::RecordingsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of RecordingsApi' do
|
30
|
+
it 'should create an instance of RecordingsApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(Daily::RecordingsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for delete_recording
|
36
|
+
# recordings/:id
|
37
|
+
# Delete a recording
|
38
|
+
# @param recording_id
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [Object]
|
41
|
+
describe 'delete_recording test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# unit tests for get_recording_info
|
48
|
+
# recordings/:id
|
49
|
+
# Get info about a recording
|
50
|
+
# @param recording_id
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @return [GetRecordingInfo200Response]
|
53
|
+
describe 'get_recording_info test' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
# unit tests for get_recording_link
|
60
|
+
# recordings/:id/access-link
|
61
|
+
# Generate an access link for a recording
|
62
|
+
# @param recording_id
|
63
|
+
# @param [Hash] opts the optional parameters
|
64
|
+
# @return [GetRecordingLink200Response]
|
65
|
+
describe 'get_recording_link test' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
# unit tests for list_recordings
|
72
|
+
# /recordings
|
73
|
+
# List recordings
|
74
|
+
# @param [Hash] opts the optional parameters
|
75
|
+
# @option opts [Integer] :limit
|
76
|
+
# @option opts [String] :ending_before
|
77
|
+
# @option opts [String] :starting_after
|
78
|
+
# @option opts [String] :room_name
|
79
|
+
# @return [ListRecordings200Response]
|
80
|
+
describe 'list_recordings test' do
|
81
|
+
it 'should work' do
|
82
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
end
|