daily-ruby 0.0.2 → 1.0.1
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/Gemfile.lock +7 -5
- data/README.md +248 -79
- data/daily-ruby-1.0.0.gem +0 -0
- data/daily-ruby.gemspec +6 -5
- data/docs/BatchProcessorError.md +24 -0
- data/docs/BatchProcessorErrorPayload.md +26 -0
- data/docs/BatchProcessorErrorPayloadInput.md +24 -0
- data/docs/BatchProcessorJobFinished.md +24 -0
- data/docs/BatchProcessorJobFinishedPayload.md +26 -0
- data/docs/BatchProcessorJobFinishedPayloadInput.md +24 -0
- data/docs/BatchProcessorJobFinishedPayloadOutput.md +24 -0
- data/docs/BatchProcessorJobFinishedPayloadOutputConcept.md +20 -0
- data/docs/BatchProcessorJobFinishedPayloadOutputSoap.md +20 -0
- data/docs/BatchProcessorJobFinishedPayloadOutputSoapS3Config.md +22 -0
- data/docs/BatchProcessorJobFinishedPayloadOutputSummary.md +20 -0
- data/docs/BatchProcessorJobFinishedPayloadOutputTranscriptionInner.md +20 -0
- 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/BuyPhoneNumberRequest.md +18 -0
- data/docs/CreateMeetingToken200Response.md +18 -0
- 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/DailyStreamingCustomLayoutConfigCompositionParamsValue.md +15 -0
- data/docs/DailyStreamingDefaultLayoutConfig.md +20 -0
- data/docs/DailyStreamingEndpoint.md +18 -0
- 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/DialinApi.md +80 -0
- data/docs/DialoutProperties.md +26 -0
- data/docs/DialoutPropertiesCodecs.md +20 -0
- data/docs/Domain.md +18 -0
- data/docs/DomainApi.md +149 -0
- data/docs/DomainProperties.md +84 -0
- data/docs/Eject200Response.md +18 -0
- data/docs/EjectRequest.md +22 -0
- data/docs/GetDomainConfig200Response.md +22 -0
- data/docs/GetDomainConfig200ResponseConfig.md +56 -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/MeetingEnded.md +24 -0
- data/docs/MeetingEndedPayload.md +24 -0
- data/docs/MeetingParticipantsGetRes.md +18 -0
- data/docs/MeetingParticipantsGetResDataInner.md +28 -0
- data/docs/MeetingStarted.md +24 -0
- data/docs/MeetingStartedPayload.md +22 -0
- data/docs/MeetingTokensApi.md +92 -14
- data/docs/MeetingsApi.md +247 -0
- data/docs/MeetingsMeetingGetRes.md +28 -0
- data/docs/ParticipantJoined.md +24 -0
- data/docs/ParticipantJoinedPayload.md +32 -0
- data/docs/ParticipantJoinedPayloadPermissions.md +22 -0
- data/docs/ParticipantLeft.md +24 -0
- data/docs/ParticipantLeftPayload.md +34 -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/PhoneNumbersApi.md +304 -0
- data/docs/PinDialinInner.md +22 -0
- data/docs/PinDialinInnerIvrGreeting.md +18 -0
- data/docs/PinlessCallUpdateRequest.md +22 -0
- data/docs/PinlessDialinInner.md +24 -0
- data/docs/PostWebhook.md +26 -0
- data/docs/PresenceApi.md +74 -0
- data/docs/Properties.md +62 -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/RoomDialOutSendDTMFRequest.md +20 -0
- data/docs/RoomDialOutStopRequest.md +18 -0
- data/docs/RoomProperties.md +104 -0
- data/docs/RoomPropertiesStreamingEndpointsInner.md +28 -0
- data/docs/RoomPropertiesStreamingEndpointsInnerHlsConfigVariantsInner.md +26 -0
- data/docs/RoomSipCallTransferRequest.md +20 -0
- data/docs/RoomsApi.md +1794 -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 +34 -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 +26 -0
- data/docs/ValidateMeetingToken200Response.md +28 -0
- data/docs/WaitingParticipantJoined.md +24 -0
- data/docs/WaitingParticipantJoinedPayload.md +32 -0
- data/docs/WaitingParticipantLeft.md +24 -0
- data/docs/WaitingParticipantLeftPayload.md +34 -0
- data/docs/Webhook.md +40 -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/dialin_api.rb +86 -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 +83 -17
- data/lib/daily-ruby/api/meetings_api.rb +238 -0
- data/lib/daily-ruby/api/phone_numbers_api.rb +281 -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 +1652 -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 +38 -32
- data/lib/daily-ruby/api_error.rb +5 -5
- data/lib/daily-ruby/configuration.rb +30 -8
- data/lib/daily-ruby/models/batch_processor_error.rb +278 -0
- data/lib/daily-ruby/models/batch_processor_error_payload.rb +289 -0
- data/lib/daily-ruby/models/batch_processor_error_payload_input.rb +280 -0
- data/lib/daily-ruby/models/batch_processor_job_finished.rb +278 -0
- data/lib/daily-ruby/models/batch_processor_job_finished_payload.rb +288 -0
- data/lib/daily-ruby/models/batch_processor_job_finished_payload_input.rb +280 -0
- data/lib/daily-ruby/models/batch_processor_job_finished_payload_output.rb +245 -0
- data/lib/daily-ruby/models/batch_processor_job_finished_payload_output_concept.rb +259 -0
- data/lib/daily-ruby/models/batch_processor_job_finished_payload_output_soap.rb +259 -0
- data/lib/daily-ruby/models/batch_processor_job_finished_payload_output_soap_s3_config.rb +236 -0
- data/lib/daily-ruby/models/batch_processor_job_finished_payload_output_summary.rb +259 -0
- data/lib/daily-ruby/models/batch_processor_job_finished_payload_output_transcription_inner.rb +258 -0
- data/lib/daily-ruby/models/batch_room_create_request.rb +216 -0
- 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/{room_not_found_response.rb → buy_phone_number_request.rb} +16 -25
- data/lib/daily-ruby/models/{meeting_token_response.rb → create_meeting_token200_response.rb} +8 -10
- data/lib/daily-ruby/models/create_meeting_token_request.rb +214 -0
- 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} +7 -7
- data/lib/daily-ruby/models/{room_request.rb → daily_streaming_active_participant_layout_config.rb} +30 -42
- 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_custom_layout_config_composition_params_value.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 +41 -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/dialout_properties.rb +254 -0
- data/lib/daily-ruby/models/dialout_properties_codecs.rb +228 -0
- data/lib/daily-ruby/models/{meeting_token_request.rb → domain.rb} +9 -10
- data/lib/daily-ruby/models/domain_properties.rb +628 -0
- data/lib/daily-ruby/models/eject200_response.rb +216 -0
- data/lib/daily-ruby/models/eject_request.rb +241 -0
- data/lib/daily-ruby/models/get_domain_config200_response.rb +271 -0
- data/lib/daily-ruby/models/get_domain_config200_response_config.rb +404 -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 +233 -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_ended.rb +278 -0
- data/lib/daily-ruby/models/{server_error_response.rb → meeting_ended_payload.rb} +47 -17
- data/lib/daily-ruby/models/meeting_participants_get_res.rb +216 -0
- data/lib/daily-ruby/models/meeting_participants_get_res_data_inner.rb +259 -0
- data/lib/daily-ruby/models/meeting_started.rb +278 -0
- data/lib/daily-ruby/models/meeting_started_payload.rb +236 -0
- data/lib/daily-ruby/models/meetings_meeting_get_res.rb +259 -0
- data/lib/daily-ruby/models/participant_joined.rb +278 -0
- data/lib/daily-ruby/models/participant_joined_payload.rb +285 -0
- data/lib/daily-ruby/models/participant_joined_payload_permissions.rb +240 -0
- data/lib/daily-ruby/models/participant_left.rb +278 -0
- data/lib/daily-ruby/models/participant_left_payload.rb +295 -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/pin_dialin_inner.rb +234 -0
- data/lib/daily-ruby/models/pin_dialin_inner_ivr_greeting.rb +215 -0
- data/lib/daily-ruby/models/pinless_call_update_request.rb +235 -0
- data/lib/daily-ruby/models/pinless_dialin_inner.rb +245 -0
- data/lib/daily-ruby/models/post_webhook.rb +291 -0
- data/lib/daily-ruby/models/{meeting_token_request_properties.rb → properties.rb} +83 -21
- 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_dial_out_send_dtmf_request.rb +224 -0
- data/lib/daily-ruby/models/{room_deleted_response.rb → room_dial_out_stop_request.rb} +16 -25
- data/lib/daily-ruby/models/room_properties.rb +736 -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_sip_call_transfer_request.rb +224 -0
- data/lib/daily-ruby/models/{room_response.rb → rooms_room_name_get_res.rb} +23 -13
- 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 +293 -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/update_permissions_request.rb +216 -0
- data/lib/daily-ruby/models/{meeting_token_request_properties_permissions.rb → update_permissions_request_data_value.rb} +14 -13
- data/lib/daily-ruby/models/{meeting_token_request_properties_permissions_can_admin.rb → update_permissions_request_data_value_can_send.rb} +6 -6
- data/lib/daily-ruby/models/update_webhook.rb +291 -0
- data/lib/daily-ruby/models/validate_meeting_token200_response.rb +265 -0
- data/lib/daily-ruby/models/waiting_participant_joined.rb +278 -0
- data/lib/daily-ruby/models/waiting_participant_joined_payload.rb +285 -0
- data/lib/daily-ruby/models/waiting_participant_left.rb +278 -0
- data/lib/daily-ruby/models/waiting_participant_left_payload.rb +295 -0
- data/lib/daily-ruby/models/webhook.rb +361 -0
- data/lib/daily-ruby/version.rb +6 -6
- data/lib/daily-ruby.rb +140 -18
- data/run.sh +3 -3
- data/spec/api/batch_rooms_api_spec.rb +58 -0
- data/spec/api/dialin_api_spec.rb +47 -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 +21 -8
- data/spec/api/meetings_api_spec.rb +81 -0
- data/spec/api/phone_numbers_api_spec.rb +87 -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_processor_error_payload_input_spec.rb +58 -0
- data/spec/models/batch_processor_error_payload_spec.rb +64 -0
- data/spec/models/batch_processor_error_spec.rb +58 -0
- data/spec/models/batch_processor_job_finished_payload_input_spec.rb +58 -0
- data/spec/models/batch_processor_job_finished_payload_output_concept_spec.rb +46 -0
- data/spec/models/batch_processor_job_finished_payload_output_soap_s3_config_spec.rb +48 -0
- data/spec/models/batch_processor_job_finished_payload_output_soap_spec.rb +46 -0
- data/spec/models/batch_processor_job_finished_payload_output_spec.rb +54 -0
- data/spec/models/batch_processor_job_finished_payload_output_summary_spec.rb +46 -0
- data/spec/models/batch_processor_job_finished_payload_output_transcription_inner_spec.rb +46 -0
- data/spec/models/batch_processor_job_finished_payload_spec.rb +64 -0
- data/spec/models/batch_processor_job_finished_spec.rb +58 -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/buy_phone_number_request_spec.rb +36 -0
- data/spec/models/create_meeting_token200_response_spec.rb +36 -0
- 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_composition_params_value_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/dialout_properties_codecs_spec.rb +42 -0
- data/spec/models/dialout_properties_spec.rb +60 -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_ended_payload_spec.rb +54 -0
- data/spec/models/meeting_ended_spec.rb +58 -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/meeting_started_payload_spec.rb +48 -0
- data/spec/models/meeting_started_spec.rb +58 -0
- data/spec/models/meetings_meeting_get_res_spec.rb +66 -0
- data/spec/models/participant_joined_payload_permissions_spec.rb +48 -0
- data/spec/models/participant_joined_payload_spec.rb +78 -0
- data/spec/models/participant_joined_spec.rb +58 -0
- data/spec/models/participant_left_payload_spec.rb +84 -0
- data/spec/models/participant_left_spec.rb +58 -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/pin_dialin_inner_ivr_greeting_spec.rb +36 -0
- data/spec/models/pin_dialin_inner_spec.rb +48 -0
- data/spec/models/pinless_call_update_request_spec.rb +48 -0
- data/spec/models/pinless_dialin_inner_spec.rb +54 -0
- 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_dial_out_send_dtmf_request_spec.rb +42 -0
- data/spec/models/room_dial_out_stop_request_spec.rb +36 -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_sip_call_transfer_request_spec.rb +42 -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/waiting_participant_joined_payload_spec.rb +78 -0
- data/spec/models/waiting_participant_joined_spec.rb +58 -0
- data/spec/models/waiting_participant_left_payload_spec.rb +84 -0
- data/spec/models/waiting_participant_left_spec.rb +58 -0
- data/spec/models/webhook_spec.rb +100 -0
- data/spec/spec_helper.rb +5 -5
- metadata +563 -56
- data/daily.yaml +0 -460
- data/docs/MeetingTokenRequest.md +0 -18
- data/docs/MeetingTokenRequestProperties.md +0 -56
- data/docs/MeetingTokenRequestPropertiesPermissions.md +0 -22
- data/docs/MeetingTokenResponse.md +0 -18
- data/docs/RoomApi.md +0 -297
- 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/docs/ServerErrorResponse.md +0 -18
- data/lib/daily-ruby/api/room_api.rb +0 -281
- data/lib/daily-ruby/models/room_request_properties.rb +0 -521
- data/spec/api/room_api_spec.rb +0 -86
- data/spec/models/meeting_token_request_spec.rb +0 -36
- data/spec/models/meeting_token_response_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,12 +1,12 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#Daily
|
|
2
|
+
#Daily API
|
|
3
3
|
|
|
4
|
-
#The
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 0.0.1
|
|
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
|
+
Generator version: 7.8.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -17,22 +17,144 @@ require 'daily-ruby/version'
|
|
|
17
17
|
require 'daily-ruby/configuration'
|
|
18
18
|
|
|
19
19
|
# Models
|
|
20
|
-
require 'daily-ruby/models/
|
|
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/
|
|
20
|
+
require 'daily-ruby/models/batch_processor_error'
|
|
21
|
+
require 'daily-ruby/models/batch_processor_error_payload'
|
|
22
|
+
require 'daily-ruby/models/batch_processor_error_payload_input'
|
|
23
|
+
require 'daily-ruby/models/batch_processor_job_finished'
|
|
24
|
+
require 'daily-ruby/models/batch_processor_job_finished_payload'
|
|
25
|
+
require 'daily-ruby/models/batch_processor_job_finished_payload_input'
|
|
26
|
+
require 'daily-ruby/models/batch_processor_job_finished_payload_output'
|
|
27
|
+
require 'daily-ruby/models/batch_processor_job_finished_payload_output_concept'
|
|
28
|
+
require 'daily-ruby/models/batch_processor_job_finished_payload_output_soap'
|
|
29
|
+
require 'daily-ruby/models/batch_processor_job_finished_payload_output_soap_s3_config'
|
|
30
|
+
require 'daily-ruby/models/batch_processor_job_finished_payload_output_summary'
|
|
31
|
+
require 'daily-ruby/models/batch_processor_job_finished_payload_output_transcription_inner'
|
|
32
|
+
require 'daily-ruby/models/batch_room_create_request'
|
|
33
|
+
require 'daily-ruby/models/batch_room_create_request_rooms_inner'
|
|
34
|
+
require 'daily-ruby/models/batch_room_delete200_response'
|
|
35
|
+
require 'daily-ruby/models/buy_phone_number_request'
|
|
36
|
+
require 'daily-ruby/models/create_meeting_token200_response'
|
|
37
|
+
require 'daily-ruby/models/create_meeting_token_request'
|
|
38
|
+
require 'daily-ruby/models/create_room200_response'
|
|
39
|
+
require 'daily-ruby/models/create_room_request'
|
|
40
|
+
require 'daily-ruby/models/daily_live_streaming_options'
|
|
41
|
+
require 'daily-ruby/models/daily_live_streaming_options_rtmp_url'
|
|
42
|
+
require 'daily-ruby/models/daily_streaming_active_participant_layout_config'
|
|
43
|
+
require 'daily-ruby/models/daily_streaming_custom_layout_config'
|
|
44
|
+
require 'daily-ruby/models/daily_streaming_custom_layout_config_composition_params_value'
|
|
45
|
+
require 'daily-ruby/models/daily_streaming_default_layout_config'
|
|
46
|
+
require 'daily-ruby/models/daily_streaming_endpoint'
|
|
47
|
+
require 'daily-ruby/models/daily_streaming_layout_config'
|
|
48
|
+
require 'daily-ruby/models/daily_streaming_options'
|
|
49
|
+
require 'daily-ruby/models/daily_streaming_portrait_layout_config'
|
|
50
|
+
require 'daily-ruby/models/daily_streaming_portrait_layout_variant'
|
|
51
|
+
require 'daily-ruby/models/daily_streaming_single_participant_layout_config'
|
|
52
|
+
require 'daily-ruby/models/delete_transcript200_response'
|
|
53
|
+
require 'daily-ruby/models/dialout_properties'
|
|
54
|
+
require 'daily-ruby/models/dialout_properties_codecs'
|
|
55
|
+
require 'daily-ruby/models/domain'
|
|
56
|
+
require 'daily-ruby/models/domain_properties'
|
|
57
|
+
require 'daily-ruby/models/eject200_response'
|
|
58
|
+
require 'daily-ruby/models/eject_request'
|
|
59
|
+
require 'daily-ruby/models/get_domain_config200_response'
|
|
60
|
+
require 'daily-ruby/models/get_domain_config200_response_config'
|
|
61
|
+
require 'daily-ruby/models/get_domain_config200_response_config_recordings_bucket'
|
|
62
|
+
require 'daily-ruby/models/get_meeting_info200_response'
|
|
63
|
+
require 'daily-ruby/models/get_meeting_info200_response_data_inner'
|
|
64
|
+
require 'daily-ruby/models/get_meeting_info200_response_data_inner_participants_inner'
|
|
65
|
+
require 'daily-ruby/models/get_presence200_response'
|
|
66
|
+
require 'daily-ruby/models/get_presence200_response_aivw_whz_hl_lhr_sd_hdw7_ew_inner'
|
|
67
|
+
require 'daily-ruby/models/get_recording_info200_response'
|
|
68
|
+
require 'daily-ruby/models/get_recording_info200_response_tracks_inner'
|
|
69
|
+
require 'daily-ruby/models/get_recording_link200_response'
|
|
70
|
+
require 'daily-ruby/models/get_transcript_info200_response'
|
|
71
|
+
require 'daily-ruby/models/get_transcript_info200_response_out_params'
|
|
72
|
+
require 'daily-ruby/models/get_transcript_link200_response'
|
|
73
|
+
require 'daily-ruby/models/list_api_logs200_response'
|
|
74
|
+
require 'daily-ruby/models/list_recordings200_response'
|
|
75
|
+
require 'daily-ruby/models/list_recordings200_response_data_inner'
|
|
76
|
+
require 'daily-ruby/models/list_rooms200_response'
|
|
77
|
+
require 'daily-ruby/models/list_rooms200_response_data_inner'
|
|
78
|
+
require 'daily-ruby/models/list_rooms200_response_data_inner_config'
|
|
79
|
+
require 'daily-ruby/models/list_transcript200_response'
|
|
80
|
+
require 'daily-ruby/models/list_transcript200_response_data_inner'
|
|
81
|
+
require 'daily-ruby/models/meeting_ended'
|
|
82
|
+
require 'daily-ruby/models/meeting_ended_payload'
|
|
83
|
+
require 'daily-ruby/models/meeting_participants_get_res'
|
|
84
|
+
require 'daily-ruby/models/meeting_participants_get_res_data_inner'
|
|
85
|
+
require 'daily-ruby/models/meeting_started'
|
|
86
|
+
require 'daily-ruby/models/meeting_started_payload'
|
|
87
|
+
require 'daily-ruby/models/meetings_meeting_get_res'
|
|
88
|
+
require 'daily-ruby/models/participant_joined'
|
|
89
|
+
require 'daily-ruby/models/participant_joined_payload'
|
|
90
|
+
require 'daily-ruby/models/participant_joined_payload_permissions'
|
|
91
|
+
require 'daily-ruby/models/participant_left'
|
|
92
|
+
require 'daily-ruby/models/participant_left_payload'
|
|
93
|
+
require 'daily-ruby/models/permissions'
|
|
94
|
+
require 'daily-ruby/models/permissions_can_admin'
|
|
95
|
+
require 'daily-ruby/models/permissions_can_send'
|
|
96
|
+
require 'daily-ruby/models/pin_dialin_inner'
|
|
97
|
+
require 'daily-ruby/models/pin_dialin_inner_ivr_greeting'
|
|
98
|
+
require 'daily-ruby/models/pinless_call_update_request'
|
|
99
|
+
require 'daily-ruby/models/pinless_dialin_inner'
|
|
100
|
+
require 'daily-ruby/models/post_webhook'
|
|
101
|
+
require 'daily-ruby/models/properties'
|
|
102
|
+
require 'daily-ruby/models/recording_error'
|
|
103
|
+
require 'daily-ruby/models/recording_error_payload'
|
|
104
|
+
require 'daily-ruby/models/recording_ready_to_download'
|
|
105
|
+
require 'daily-ruby/models/recording_ready_to_download_payload'
|
|
106
|
+
require 'daily-ruby/models/recording_started'
|
|
107
|
+
require 'daily-ruby/models/recording_started_payload'
|
|
108
|
+
require 'daily-ruby/models/recording_streaming_options'
|
|
109
|
+
require 'daily-ruby/models/recordings_bucket'
|
|
110
|
+
require 'daily-ruby/models/room_dial_out_send_dtmf_request'
|
|
111
|
+
require 'daily-ruby/models/room_dial_out_stop_request'
|
|
112
|
+
require 'daily-ruby/models/room_properties'
|
|
113
|
+
require 'daily-ruby/models/room_properties_streaming_endpoints_inner'
|
|
114
|
+
require 'daily-ruby/models/room_properties_streaming_endpoints_inner_hls_config_variants_inner'
|
|
115
|
+
require 'daily-ruby/models/room_sip_call_transfer_request'
|
|
116
|
+
require 'daily-ruby/models/rooms_room_name_get_res'
|
|
117
|
+
require 'daily-ruby/models/rooms_room_name_presence_get_res'
|
|
118
|
+
require 'daily-ruby/models/rooms_room_name_presence_get_res_data_inner'
|
|
119
|
+
require 'daily-ruby/models/send_app_message_request'
|
|
120
|
+
require 'daily-ruby/models/set_room_config_request'
|
|
121
|
+
require 'daily-ruby/models/set_session_data_request'
|
|
122
|
+
require 'daily-ruby/models/streaming_ended'
|
|
123
|
+
require 'daily-ruby/models/streaming_ended_payload'
|
|
124
|
+
require 'daily-ruby/models/streaming_error'
|
|
125
|
+
require 'daily-ruby/models/streaming_error_payload'
|
|
126
|
+
require 'daily-ruby/models/streaming_started'
|
|
127
|
+
require 'daily-ruby/models/streaming_started_payload'
|
|
128
|
+
require 'daily-ruby/models/streaming_updated'
|
|
129
|
+
require 'daily-ruby/models/streaming_updated_payload'
|
|
130
|
+
require 'daily-ruby/models/transcription_bucket'
|
|
131
|
+
require 'daily-ruby/models/transcription_properties'
|
|
132
|
+
require 'daily-ruby/models/transcription_properties_endpointing'
|
|
133
|
+
require 'daily-ruby/models/transcription_properties_redact'
|
|
134
|
+
require 'daily-ruby/models/update_permissions_request'
|
|
135
|
+
require 'daily-ruby/models/update_permissions_request_data_value'
|
|
136
|
+
require 'daily-ruby/models/update_permissions_request_data_value_can_send'
|
|
137
|
+
require 'daily-ruby/models/update_webhook'
|
|
138
|
+
require 'daily-ruby/models/validate_meeting_token200_response'
|
|
139
|
+
require 'daily-ruby/models/waiting_participant_joined'
|
|
140
|
+
require 'daily-ruby/models/waiting_participant_joined_payload'
|
|
141
|
+
require 'daily-ruby/models/waiting_participant_left'
|
|
142
|
+
require 'daily-ruby/models/waiting_participant_left_payload'
|
|
143
|
+
require 'daily-ruby/models/webhook'
|
|
32
144
|
|
|
33
145
|
# APIs
|
|
146
|
+
require 'daily-ruby/api/batch_rooms_api'
|
|
147
|
+
require 'daily-ruby/api/dialin_api'
|
|
148
|
+
require 'daily-ruby/api/domain_api'
|
|
149
|
+
require 'daily-ruby/api/logs_api'
|
|
34
150
|
require 'daily-ruby/api/meeting_tokens_api'
|
|
35
|
-
require 'daily-ruby/api/
|
|
151
|
+
require 'daily-ruby/api/meetings_api'
|
|
152
|
+
require 'daily-ruby/api/phone_numbers_api'
|
|
153
|
+
require 'daily-ruby/api/presence_api'
|
|
154
|
+
require 'daily-ruby/api/recordings_api'
|
|
155
|
+
require 'daily-ruby/api/rooms_api'
|
|
156
|
+
require 'daily-ruby/api/transcript_api'
|
|
157
|
+
require 'daily-ruby/api/webhooks_api'
|
|
36
158
|
|
|
37
159
|
module Daily
|
|
38
160
|
class << self
|
data/run.sh
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
#!/bin/bash
|
|
2
2
|
|
|
3
|
-
openapi-generator generate -g ruby -o .
|
|
3
|
+
openapi-generator generate -g ruby -o . \
|
|
4
|
+
-i ~/git/pluot-core/north-star/packages/docs-site/lib/oas/index.yaml \
|
|
4
5
|
--additional-properties=gemName=daily-ruby \
|
|
5
6
|
--additional-properties=moduleName=Daily \
|
|
6
|
-
--additional-properties=gemVersion=
|
|
7
|
+
--additional-properties=gemVersion=1.0.1 \
|
|
7
8
|
--additional-properties=gemLicense=MIT \
|
|
8
9
|
--additional-properties=gemAuthor=Daily \
|
|
9
10
|
--additional-properties=gemAuthorEmail=help@daily.co \
|
|
@@ -13,4 +14,3 @@ openapi-generator generate -g ruby -o . -i daily.yaml \
|
|
|
13
14
|
--additional-properties=disallowAdditionalPropertiesIfNotPresent=false \
|
|
14
15
|
--additional-properties=library=faraday \
|
|
15
16
|
--additional-properties=enumUnknownDefaultCase=true \
|
|
16
|
-
|
|
@@ -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,47 @@
|
|
|
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
|
+
Generator version: 7.5.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for Daily::DialinApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'DialinApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = Daily::DialinApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of DialinApi' do
|
|
30
|
+
it 'should create an instance of DialinApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(Daily::DialinApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for pinless_call_update
|
|
36
|
+
# /dialin/pinlessCallUpdate
|
|
37
|
+
# Direct a SIP or PSTN call on hold to a specified SIP URI associated to a Daily Room.
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [PinlessCallUpdateRequest] :pinless_call_update_request
|
|
40
|
+
# @return [nil]
|
|
41
|
+
describe 'pinless_call_update 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
|
+
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.2
|
|
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,15 +33,28 @@ 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 [
|
|
40
|
-
# @return [
|
|
39
|
+
# @option opts [CreateMeetingTokenRequest] :create_meeting_token_request
|
|
40
|
+
# @return [CreateMeetingToken200Response]
|
|
41
41
|
describe 'create_meeting_token test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
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,87 @@
|
|
|
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
|
+
Generator version: 7.5.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for Daily::PhoneNumbersApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'PhoneNumbersApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = Daily::PhoneNumbersApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of PhoneNumbersApi' do
|
|
30
|
+
it 'should create an instance of PhoneNumbersApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(Daily::PhoneNumbersApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for buy_phone_number
|
|
36
|
+
# /buy-phone-number
|
|
37
|
+
# This will buy a phone number. In the POST request you can either provide the phone number you want to buy, or leave it empty. If the specified `number` is still available, it will be bought or the API will return a failure. Alternatively, if you skipped the `number` field, a random phone number from California (CA) will be bought.
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [BuyPhoneNumberRequest] :buy_phone_number_request
|
|
40
|
+
# @return [Object]
|
|
41
|
+
describe 'buy_phone_number 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 list_available_numbers
|
|
48
|
+
# /list-available-numbers
|
|
49
|
+
# Search for available phone numbers to purchase
|
|
50
|
+
# @param [Hash] opts the optional parameters
|
|
51
|
+
# @option opts [String] :areacode An areacode to search within.
|
|
52
|
+
# @option opts [String] :region A region or state to search within. Must be an ISO 3166-2 alpha-2 code, i.e. CA for California. Cannot be used in combination with areacode.
|
|
53
|
+
# @option opts [String] :city A specific City to search within. Example, New York. The string must be url encoded because it is a url parameter. Must be used in combination with region. Cannot be used in combination with areacode, starts_with, contains, or ends_with.
|
|
54
|
+
# @option opts [String] :contains A string of 3 to 7 digits that should appear somewhere in the number.
|
|
55
|
+
# @option opts [String] :starts_with A string of 3 to 7 digits that should be used as the start of a number. Cannot be used in combination with contains or ends_with.
|
|
56
|
+
# @option opts [String] :ends_with A string of 3 to 7 digits that should be used as the end of a number. Cannot be used in combination with starts_with or contains.
|
|
57
|
+
# @return [nil]
|
|
58
|
+
describe 'list_available_numbers test' do
|
|
59
|
+
it 'should work' do
|
|
60
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# unit tests for purchased_phone_nunbers
|
|
65
|
+
# /purchased-phone-numbers
|
|
66
|
+
# List the purchased phone numbers for this domain
|
|
67
|
+
# @param [Hash] opts the optional parameters
|
|
68
|
+
# @return [nil]
|
|
69
|
+
describe 'purchased_phone_nunbers test' do
|
|
70
|
+
it 'should work' do
|
|
71
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
# unit tests for release_phone_number
|
|
76
|
+
# release-phone-number/:id
|
|
77
|
+
# Release a purchased number. The number is referenced by its id. A number cannot be deleted within the 14 days of purchase. Calling this API before this period expires results in an error.
|
|
78
|
+
# @param id
|
|
79
|
+
# @param [Hash] opts the optional parameters
|
|
80
|
+
# @return [Object]
|
|
81
|
+
describe 'release_phone_number test' do
|
|
82
|
+
it 'should work' do
|
|
83
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
end
|