daily-ruby 1.0.0 → 1.0.1
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 +17 -16
- data/README.md +205 -192
- data/daily-ruby-1.0.0.gem +0 -0
- data/daily-ruby.gemspec +2 -1
- 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/BuyPhoneNumberRequest.md +18 -0
- data/docs/DailyStreamingCustomLayoutConfig.md +1 -1
- data/docs/DailyStreamingCustomLayoutConfigCompositionParamsValue.md +15 -0
- data/docs/DialinApi.md +80 -0
- data/docs/DialoutProperties.md +26 -0
- data/docs/DialoutPropertiesCodecs.md +20 -0
- data/docs/DomainProperties.md +14 -4
- data/docs/EjectRequest.md +6 -2
- data/docs/GetDomainConfig200ResponseConfig.md +2 -0
- data/docs/GetTranscriptInfo200Response.md +1 -1
- data/docs/ListAPILogs200Response.md +1 -1
- data/docs/MeetingEnded.md +24 -0
- data/docs/MeetingEndedPayload.md +24 -0
- data/docs/MeetingParticipantsGetRes.md +0 -2
- data/docs/MeetingStarted.md +24 -0
- data/docs/MeetingStartedPayload.md +22 -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/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 +5 -1
- data/docs/Properties.md +3 -1
- data/docs/RecordingError.md +1 -1
- data/docs/RecordingReadyToDownload.md +1 -1
- data/docs/RecordingStarted.md +1 -1
- data/docs/RoomDialOutSendDTMFRequest.md +20 -0
- data/docs/RoomDialOutStopRequest.md +18 -0
- data/docs/RoomProperties.md +12 -2
- data/docs/RoomSipCallTransferRequest.md +20 -0
- data/docs/RoomsApi.md +376 -0
- data/docs/StreamingEnded.md +1 -1
- data/docs/StreamingError.md +1 -1
- data/docs/StreamingStarted.md +1 -1
- data/docs/StreamingUpdated.md +1 -1
- data/docs/TranscriptionProperties.md +4 -2
- data/docs/UpdateWebhook.md +5 -1
- 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 +6 -4
- data/lib/daily-ruby/api/batch_rooms_api.rb +3 -3
- data/lib/daily-ruby/api/dialin_api.rb +86 -0
- data/lib/daily-ruby/api/domain_api.rb +3 -3
- data/lib/daily-ruby/api/logs_api.rb +4 -4
- data/lib/daily-ruby/api/meeting_tokens_api.rb +3 -3
- data/lib/daily-ruby/api/meetings_api.rb +4 -4
- data/lib/daily-ruby/api/phone_numbers_api.rb +281 -0
- data/lib/daily-ruby/api/presence_api.rb +2 -2
- data/lib/daily-ruby/api/recordings_api.rb +5 -5
- data/lib/daily-ruby/api/rooms_api.rb +370 -20
- data/lib/daily-ruby/api/transcript_api.rb +6 -6
- data/lib/daily-ruby/api/webhooks_api.rb +6 -6
- data/lib/daily-ruby/api_client.rb +34 -28
- data/lib/daily-ruby/api_error.rb +1 -1
- data/lib/daily-ruby/configuration.rb +11 -1
- 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 +1 -1
- data/lib/daily-ruby/models/batch_room_create_request_rooms_inner.rb +1 -1
- data/lib/daily-ruby/models/batch_room_delete200_response.rb +1 -1
- data/lib/daily-ruby/models/buy_phone_number_request.rb +215 -0
- data/lib/daily-ruby/models/create_meeting_token200_response.rb +1 -1
- data/lib/daily-ruby/models/create_meeting_token_request.rb +1 -1
- data/lib/daily-ruby/models/create_room200_response.rb +1 -1
- data/lib/daily-ruby/models/create_room_request.rb +1 -1
- data/lib/daily-ruby/models/daily_live_streaming_options.rb +1 -1
- data/lib/daily-ruby/models/daily_live_streaming_options_rtmp_url.rb +1 -1
- data/lib/daily-ruby/models/daily_streaming_active_participant_layout_config.rb +3 -3
- data/lib/daily-ruby/models/daily_streaming_custom_layout_config.rb +4 -4
- data/lib/daily-ruby/models/daily_streaming_custom_layout_config_composition_params.rb +1 -1
- 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 +3 -3
- data/lib/daily-ruby/models/daily_streaming_endpoint.rb +1 -1
- data/lib/daily-ruby/models/daily_streaming_layout_config.rb +1 -1
- data/lib/daily-ruby/models/daily_streaming_options.rb +1 -1
- data/lib/daily-ruby/models/daily_streaming_portrait_layout_config.rb +3 -3
- data/lib/daily-ruby/models/daily_streaming_portrait_layout_variant.rb +3 -2
- data/lib/daily-ruby/models/daily_streaming_single_participant_layout_config.rb +3 -3
- data/lib/daily-ruby/models/delete_transcript200_response.rb +3 -3
- 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/domain.rb +1 -1
- data/lib/daily-ruby/models/domain_properties.rb +74 -16
- data/lib/daily-ruby/models/eject200_response.rb +1 -1
- data/lib/daily-ruby/models/eject_request.rb +30 -6
- data/lib/daily-ruby/models/get_domain_config200_response.rb +1 -1
- data/lib/daily-ruby/models/get_domain_config200_response_config.rb +11 -2
- data/lib/daily-ruby/models/get_domain_config200_response_config_recordings_bucket.rb +1 -1
- data/lib/daily-ruby/models/get_meeting_info200_response.rb +1 -1
- data/lib/daily-ruby/models/get_meeting_info200_response_data_inner.rb +1 -1
- data/lib/daily-ruby/models/get_meeting_info200_response_data_inner_participants_inner.rb +1 -1
- data/lib/daily-ruby/models/get_presence200_response.rb +1 -1
- data/lib/daily-ruby/models/get_presence200_response_aivw_whz_hl_lhr_sd_hdw7_ew_inner.rb +1 -1
- data/lib/daily-ruby/models/get_recording_info200_response.rb +3 -3
- data/lib/daily-ruby/models/get_recording_info200_response_tracks_inner.rb +3 -3
- data/lib/daily-ruby/models/get_recording_link200_response.rb +1 -1
- data/lib/daily-ruby/models/get_transcript_info200_response.rb +4 -4
- data/lib/daily-ruby/models/get_transcript_info200_response_out_params.rb +2 -1
- data/lib/daily-ruby/models/get_transcript_link200_response.rb +1 -1
- data/lib/daily-ruby/models/list_api_logs200_response.rb +2 -2
- data/lib/daily-ruby/models/list_recordings200_response.rb +1 -1
- data/lib/daily-ruby/models/list_recordings200_response_data_inner.rb +1 -1
- data/lib/daily-ruby/models/list_rooms200_response.rb +1 -1
- data/lib/daily-ruby/models/list_rooms200_response_data_inner.rb +1 -1
- data/lib/daily-ruby/models/list_rooms200_response_data_inner_config.rb +1 -1
- data/lib/daily-ruby/models/list_transcript200_response.rb +1 -1
- data/lib/daily-ruby/models/list_transcript200_response_data_inner.rb +3 -3
- data/lib/daily-ruby/models/meeting_ended.rb +278 -0
- data/lib/daily-ruby/models/meeting_ended_payload.rb +246 -0
- data/lib/daily-ruby/models/meeting_participants_get_res.rb +2 -11
- data/lib/daily-ruby/models/meeting_participants_get_res_data_inner.rb +1 -1
- 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 +1 -1
- 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 +1 -1
- data/lib/daily-ruby/models/permissions_can_admin.rb +1 -1
- data/lib/daily-ruby/models/permissions_can_send.rb +1 -1
- 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 +37 -5
- data/lib/daily-ruby/models/properties.rb +17 -7
- data/lib/daily-ruby/models/recording_error.rb +4 -4
- data/lib/daily-ruby/models/recording_error_payload.rb +3 -3
- data/lib/daily-ruby/models/recording_ready_to_download.rb +4 -4
- data/lib/daily-ruby/models/recording_ready_to_download_payload.rb +5 -5
- data/lib/daily-ruby/models/recording_started.rb +4 -4
- data/lib/daily-ruby/models/recording_started_payload.rb +3 -3
- data/lib/daily-ruby/models/recording_streaming_options.rb +3 -3
- data/lib/daily-ruby/models/recordings_bucket.rb +1 -1
- data/lib/daily-ruby/models/room_dial_out_send_dtmf_request.rb +224 -0
- data/lib/daily-ruby/models/room_dial_out_stop_request.rb +215 -0
- data/lib/daily-ruby/models/room_properties.rb +67 -9
- data/lib/daily-ruby/models/room_properties_streaming_endpoints_inner.rb +267 -267
- data/lib/daily-ruby/models/room_properties_streaming_endpoints_inner_hls_config_variants_inner.rb +1 -1
- data/lib/daily-ruby/models/room_sip_call_transfer_request.rb +224 -0
- data/lib/daily-ruby/models/rooms_room_name_get_res.rb +1 -1
- data/lib/daily-ruby/models/rooms_room_name_presence_get_res.rb +1 -1
- data/lib/daily-ruby/models/rooms_room_name_presence_get_res_data_inner.rb +1 -1
- data/lib/daily-ruby/models/send_app_message_request.rb +1 -1
- data/lib/daily-ruby/models/set_room_config_request.rb +1 -1
- data/lib/daily-ruby/models/set_session_data_request.rb +3 -3
- data/lib/daily-ruby/models/streaming_ended.rb +4 -4
- data/lib/daily-ruby/models/streaming_ended_payload.rb +1 -1
- data/lib/daily-ruby/models/streaming_error.rb +4 -4
- data/lib/daily-ruby/models/streaming_error_payload.rb +1 -1
- data/lib/daily-ruby/models/streaming_started.rb +4 -4
- data/lib/daily-ruby/models/streaming_started_payload.rb +1 -1
- data/lib/daily-ruby/models/streaming_updated.rb +4 -4
- data/lib/daily-ruby/models/streaming_updated_payload.rb +1 -1
- data/lib/daily-ruby/models/transcription_bucket.rb +1 -1
- data/lib/daily-ruby/models/transcription_properties.rb +16 -6
- data/lib/daily-ruby/models/transcription_properties_endpointing.rb +1 -1
- data/lib/daily-ruby/models/transcription_properties_redact.rb +1 -1
- data/lib/daily-ruby/models/update_permissions_request.rb +1 -1
- data/lib/daily-ruby/models/update_permissions_request_data_value.rb +1 -1
- data/lib/daily-ruby/models/update_permissions_request_data_value_can_send.rb +1 -1
- data/lib/daily-ruby/models/update_webhook.rb +37 -5
- data/lib/daily-ruby/models/validate_meeting_token200_response.rb +1 -1
- 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 +32 -10
- data/lib/daily-ruby/version.rb +2 -2
- data/lib/daily-ruby.rb +39 -2
- data/run.sh +3 -3
- data/spec/api/dialin_api_spec.rb +47 -0
- data/spec/api/phone_numbers_api_spec.rb +87 -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/buy_phone_number_request_spec.rb +36 -0
- data/spec/models/daily_streaming_custom_layout_config_composition_params_value_spec.rb +21 -0
- data/spec/models/dialout_properties_codecs_spec.rb +42 -0
- data/spec/models/dialout_properties_spec.rb +60 -0
- data/spec/models/meeting_ended_payload_spec.rb +54 -0
- data/spec/models/meeting_ended_spec.rb +58 -0
- data/spec/models/meeting_started_payload_spec.rb +48 -0
- data/spec/models/meeting_started_spec.rb +58 -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/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/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_sip_call_transfer_request_spec.rb +42 -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/spec_helper.rb +1 -1
- metadata +170 -3
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.1.1
|
7
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
|
|
@@ -51,7 +51,7 @@ module Daily
|
|
51
51
|
# header parameters
|
52
52
|
header_params = opts[:header_params] || {}
|
53
53
|
# HTTP header 'Accept' (if needed)
|
54
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
54
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
55
55
|
|
56
56
|
# form parameters
|
57
57
|
form_params = opts[:form_params] || {}
|
@@ -114,7 +114,7 @@ module Daily
|
|
114
114
|
# header parameters
|
115
115
|
header_params = opts[:header_params] || {}
|
116
116
|
# HTTP header 'Accept' (if needed)
|
117
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
117
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
118
118
|
|
119
119
|
# form parameters
|
120
120
|
form_params = opts[:form_params] || {}
|
@@ -177,7 +177,7 @@ module Daily
|
|
177
177
|
# header parameters
|
178
178
|
header_params = opts[:header_params] || {}
|
179
179
|
# HTTP header 'Accept' (if needed)
|
180
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
180
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
181
181
|
|
182
182
|
# form parameters
|
183
183
|
form_params = opts[:form_params] || {}
|
@@ -246,7 +246,7 @@ module Daily
|
|
246
246
|
# header parameters
|
247
247
|
header_params = opts[:header_params] || {}
|
248
248
|
# HTTP header 'Accept' (if needed)
|
249
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
249
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
250
250
|
|
251
251
|
# form parameters
|
252
252
|
form_params = opts[:form_params] || {}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.1.1
|
7
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
|
|
@@ -47,7 +47,7 @@ module Daily
|
|
47
47
|
# header parameters
|
48
48
|
header_params = opts[:header_params] || {}
|
49
49
|
# HTTP header 'Accept' (if needed)
|
50
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
50
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
51
51
|
# HTTP header 'Content-Type'
|
52
52
|
content_type = @api_client.select_header_content_type(['application/json'])
|
53
53
|
if !content_type.nil?
|
@@ -115,7 +115,7 @@ module Daily
|
|
115
115
|
# header parameters
|
116
116
|
header_params = opts[:header_params] || {}
|
117
117
|
# HTTP header 'Accept' (if needed)
|
118
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
118
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
119
119
|
|
120
120
|
# form parameters
|
121
121
|
form_params = opts[:form_params] || {}
|
@@ -180,7 +180,7 @@ module Daily
|
|
180
180
|
# header parameters
|
181
181
|
header_params = opts[:header_params] || {}
|
182
182
|
# HTTP header 'Accept' (if needed)
|
183
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
183
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
184
184
|
# HTTP header 'Content-Type'
|
185
185
|
content_type = @api_client.select_header_content_type(['application/json'])
|
186
186
|
if !content_type.nil?
|
@@ -248,7 +248,7 @@ module Daily
|
|
248
248
|
# header parameters
|
249
249
|
header_params = opts[:header_params] || {}
|
250
250
|
# HTTP header 'Accept' (if needed)
|
251
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
251
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
252
252
|
|
253
253
|
# form parameters
|
254
254
|
form_params = opts[:form_params] || {}
|
@@ -320,7 +320,7 @@ module Daily
|
|
320
320
|
# header parameters
|
321
321
|
header_params = opts[:header_params] || {}
|
322
322
|
# HTTP header 'Accept' (if needed)
|
323
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
323
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
324
324
|
|
325
325
|
# form parameters
|
326
326
|
form_params = opts[:form_params] || {}
|
@@ -383,7 +383,7 @@ module Daily
|
|
383
383
|
# header parameters
|
384
384
|
header_params = opts[:header_params] || {}
|
385
385
|
# HTTP header 'Accept' (if needed)
|
386
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
386
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
387
387
|
|
388
388
|
# form parameters
|
389
389
|
form_params = opts[:form_params] || {}
|
@@ -449,7 +449,7 @@ module Daily
|
|
449
449
|
# header parameters
|
450
450
|
header_params = opts[:header_params] || {}
|
451
451
|
# HTTP header 'Accept' (if needed)
|
452
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
452
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
453
453
|
|
454
454
|
# form parameters
|
455
455
|
form_params = opts[:form_params] || {}
|
@@ -480,6 +480,216 @@ module Daily
|
|
480
480
|
return data, status_code, headers
|
481
481
|
end
|
482
482
|
|
483
|
+
# rooms/:name/dialOut/sendDTMF
|
484
|
+
# send DTMF digits on the dialout
|
485
|
+
# @param room_name [String]
|
486
|
+
# @param [Hash] opts the optional parameters
|
487
|
+
# @option opts [RoomDialOutSendDTMFRequest] :room_dial_out_send_dtmf_request
|
488
|
+
# @return [nil]
|
489
|
+
def room_dial_out_send_dtmf(room_name, opts = {})
|
490
|
+
room_dial_out_send_dtmf_with_http_info(room_name, opts)
|
491
|
+
nil
|
492
|
+
end
|
493
|
+
|
494
|
+
# rooms/:name/dialOut/sendDTMF
|
495
|
+
# send DTMF digits on the dialout
|
496
|
+
# @param room_name [String]
|
497
|
+
# @param [Hash] opts the optional parameters
|
498
|
+
# @option opts [RoomDialOutSendDTMFRequest] :room_dial_out_send_dtmf_request
|
499
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
500
|
+
def room_dial_out_send_dtmf_with_http_info(room_name, opts = {})
|
501
|
+
if @api_client.config.debugging
|
502
|
+
@api_client.config.logger.debug 'Calling API: RoomsApi.room_dial_out_send_dtmf ...'
|
503
|
+
end
|
504
|
+
# verify the required parameter 'room_name' is set
|
505
|
+
if @api_client.config.client_side_validation && room_name.nil?
|
506
|
+
fail ArgumentError, "Missing the required parameter 'room_name' when calling RoomsApi.room_dial_out_send_dtmf"
|
507
|
+
end
|
508
|
+
# resource path
|
509
|
+
local_var_path = '/rooms/{room_name}/dialOut/sendDTMF'.sub('{' + 'room_name' + '}', CGI.escape(room_name.to_s))
|
510
|
+
|
511
|
+
# query parameters
|
512
|
+
query_params = opts[:query_params] || {}
|
513
|
+
|
514
|
+
# header parameters
|
515
|
+
header_params = opts[:header_params] || {}
|
516
|
+
# HTTP header 'Accept' (if needed)
|
517
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
518
|
+
# HTTP header 'Content-Type'
|
519
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
520
|
+
if !content_type.nil?
|
521
|
+
header_params['Content-Type'] = content_type
|
522
|
+
end
|
523
|
+
|
524
|
+
# form parameters
|
525
|
+
form_params = opts[:form_params] || {}
|
526
|
+
|
527
|
+
# http body (model)
|
528
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'room_dial_out_send_dtmf_request'])
|
529
|
+
|
530
|
+
# return_type
|
531
|
+
return_type = opts[:debug_return_type]
|
532
|
+
|
533
|
+
# auth_names
|
534
|
+
auth_names = opts[:debug_auth_names] || ['sec0']
|
535
|
+
|
536
|
+
new_options = opts.merge(
|
537
|
+
:operation => :"RoomsApi.room_dial_out_send_dtmf",
|
538
|
+
:header_params => header_params,
|
539
|
+
:query_params => query_params,
|
540
|
+
:form_params => form_params,
|
541
|
+
:body => post_body,
|
542
|
+
:auth_names => auth_names,
|
543
|
+
:return_type => return_type
|
544
|
+
)
|
545
|
+
|
546
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
547
|
+
if @api_client.config.debugging
|
548
|
+
@api_client.config.logger.debug "API called: RoomsApi#room_dial_out_send_dtmf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
549
|
+
end
|
550
|
+
return data, status_code, headers
|
551
|
+
end
|
552
|
+
|
553
|
+
# rooms/:name/dialOut/start
|
554
|
+
# Start a dial-out in a room
|
555
|
+
# @param room_name [String]
|
556
|
+
# @param [Hash] opts the optional parameters
|
557
|
+
# @option opts [DialoutProperties] :dialout_properties
|
558
|
+
# @return [nil]
|
559
|
+
def room_dial_out_start(room_name, opts = {})
|
560
|
+
room_dial_out_start_with_http_info(room_name, opts)
|
561
|
+
nil
|
562
|
+
end
|
563
|
+
|
564
|
+
# rooms/:name/dialOut/start
|
565
|
+
# Start a dial-out in a room
|
566
|
+
# @param room_name [String]
|
567
|
+
# @param [Hash] opts the optional parameters
|
568
|
+
# @option opts [DialoutProperties] :dialout_properties
|
569
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
570
|
+
def room_dial_out_start_with_http_info(room_name, opts = {})
|
571
|
+
if @api_client.config.debugging
|
572
|
+
@api_client.config.logger.debug 'Calling API: RoomsApi.room_dial_out_start ...'
|
573
|
+
end
|
574
|
+
# verify the required parameter 'room_name' is set
|
575
|
+
if @api_client.config.client_side_validation && room_name.nil?
|
576
|
+
fail ArgumentError, "Missing the required parameter 'room_name' when calling RoomsApi.room_dial_out_start"
|
577
|
+
end
|
578
|
+
# resource path
|
579
|
+
local_var_path = '/rooms/{room_name}/dialOut/start'.sub('{' + 'room_name' + '}', CGI.escape(room_name.to_s))
|
580
|
+
|
581
|
+
# query parameters
|
582
|
+
query_params = opts[:query_params] || {}
|
583
|
+
|
584
|
+
# header parameters
|
585
|
+
header_params = opts[:header_params] || {}
|
586
|
+
# HTTP header 'Accept' (if needed)
|
587
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
588
|
+
# HTTP header 'Content-Type'
|
589
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
590
|
+
if !content_type.nil?
|
591
|
+
header_params['Content-Type'] = content_type
|
592
|
+
end
|
593
|
+
|
594
|
+
# form parameters
|
595
|
+
form_params = opts[:form_params] || {}
|
596
|
+
|
597
|
+
# http body (model)
|
598
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'dialout_properties'])
|
599
|
+
|
600
|
+
# return_type
|
601
|
+
return_type = opts[:debug_return_type]
|
602
|
+
|
603
|
+
# auth_names
|
604
|
+
auth_names = opts[:debug_auth_names] || ['sec0']
|
605
|
+
|
606
|
+
new_options = opts.merge(
|
607
|
+
:operation => :"RoomsApi.room_dial_out_start",
|
608
|
+
:header_params => header_params,
|
609
|
+
:query_params => query_params,
|
610
|
+
:form_params => form_params,
|
611
|
+
:body => post_body,
|
612
|
+
:auth_names => auth_names,
|
613
|
+
:return_type => return_type
|
614
|
+
)
|
615
|
+
|
616
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
617
|
+
if @api_client.config.debugging
|
618
|
+
@api_client.config.logger.debug "API called: RoomsApi#room_dial_out_start\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
619
|
+
end
|
620
|
+
return data, status_code, headers
|
621
|
+
end
|
622
|
+
|
623
|
+
# rooms/:name/dialOut/stop
|
624
|
+
# Stop a dial out in a room
|
625
|
+
# @param room_name [String]
|
626
|
+
# @param [Hash] opts the optional parameters
|
627
|
+
# @option opts [RoomDialOutStopRequest] :room_dial_out_stop_request
|
628
|
+
# @return [nil]
|
629
|
+
def room_dial_out_stop(room_name, opts = {})
|
630
|
+
room_dial_out_stop_with_http_info(room_name, opts)
|
631
|
+
nil
|
632
|
+
end
|
633
|
+
|
634
|
+
# rooms/:name/dialOut/stop
|
635
|
+
# Stop a dial out in a room
|
636
|
+
# @param room_name [String]
|
637
|
+
# @param [Hash] opts the optional parameters
|
638
|
+
# @option opts [RoomDialOutStopRequest] :room_dial_out_stop_request
|
639
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
640
|
+
def room_dial_out_stop_with_http_info(room_name, opts = {})
|
641
|
+
if @api_client.config.debugging
|
642
|
+
@api_client.config.logger.debug 'Calling API: RoomsApi.room_dial_out_stop ...'
|
643
|
+
end
|
644
|
+
# verify the required parameter 'room_name' is set
|
645
|
+
if @api_client.config.client_side_validation && room_name.nil?
|
646
|
+
fail ArgumentError, "Missing the required parameter 'room_name' when calling RoomsApi.room_dial_out_stop"
|
647
|
+
end
|
648
|
+
# resource path
|
649
|
+
local_var_path = '/rooms/{room_name}/dialOut/stop'.sub('{' + 'room_name' + '}', CGI.escape(room_name.to_s))
|
650
|
+
|
651
|
+
# query parameters
|
652
|
+
query_params = opts[:query_params] || {}
|
653
|
+
|
654
|
+
# header parameters
|
655
|
+
header_params = opts[:header_params] || {}
|
656
|
+
# HTTP header 'Accept' (if needed)
|
657
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
658
|
+
# HTTP header 'Content-Type'
|
659
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
660
|
+
if !content_type.nil?
|
661
|
+
header_params['Content-Type'] = content_type
|
662
|
+
end
|
663
|
+
|
664
|
+
# form parameters
|
665
|
+
form_params = opts[:form_params] || {}
|
666
|
+
|
667
|
+
# http body (model)
|
668
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'room_dial_out_stop_request'])
|
669
|
+
|
670
|
+
# return_type
|
671
|
+
return_type = opts[:debug_return_type]
|
672
|
+
|
673
|
+
# auth_names
|
674
|
+
auth_names = opts[:debug_auth_names] || ['sec0']
|
675
|
+
|
676
|
+
new_options = opts.merge(
|
677
|
+
:operation => :"RoomsApi.room_dial_out_stop",
|
678
|
+
:header_params => header_params,
|
679
|
+
:query_params => query_params,
|
680
|
+
:form_params => form_params,
|
681
|
+
:body => post_body,
|
682
|
+
:auth_names => auth_names,
|
683
|
+
:return_type => return_type
|
684
|
+
)
|
685
|
+
|
686
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
687
|
+
if @api_client.config.debugging
|
688
|
+
@api_client.config.logger.debug "API called: RoomsApi#room_dial_out_stop\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
689
|
+
end
|
690
|
+
return data, status_code, headers
|
691
|
+
end
|
692
|
+
|
483
693
|
# rooms/:name/live-streaming/start
|
484
694
|
# Start a live stream in a room
|
485
695
|
# @param room_name [String]
|
@@ -514,7 +724,7 @@ module Daily
|
|
514
724
|
# header parameters
|
515
725
|
header_params = opts[:header_params] || {}
|
516
726
|
# HTTP header 'Accept' (if needed)
|
517
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
727
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
518
728
|
# HTTP header 'Content-Type'
|
519
729
|
content_type = @api_client.select_header_content_type(['application/json'])
|
520
730
|
if !content_type.nil?
|
@@ -582,7 +792,7 @@ module Daily
|
|
582
792
|
# header parameters
|
583
793
|
header_params = opts[:header_params] || {}
|
584
794
|
# HTTP header 'Accept' (if needed)
|
585
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
795
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
586
796
|
|
587
797
|
# form parameters
|
588
798
|
form_params = opts[:form_params] || {}
|
@@ -647,7 +857,7 @@ module Daily
|
|
647
857
|
# header parameters
|
648
858
|
header_params = opts[:header_params] || {}
|
649
859
|
# HTTP header 'Accept' (if needed)
|
650
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
860
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
651
861
|
# HTTP header 'Content-Type'
|
652
862
|
content_type = @api_client.select_header_content_type(['application/json'])
|
653
863
|
if !content_type.nil?
|
@@ -717,7 +927,7 @@ module Daily
|
|
717
927
|
# header parameters
|
718
928
|
header_params = opts[:header_params] || {}
|
719
929
|
# HTTP header 'Accept' (if needed)
|
720
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
930
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
721
931
|
# HTTP header 'Content-Type'
|
722
932
|
content_type = @api_client.select_header_content_type(['application/json'])
|
723
933
|
if !content_type.nil?
|
@@ -785,7 +995,7 @@ module Daily
|
|
785
995
|
# header parameters
|
786
996
|
header_params = opts[:header_params] || {}
|
787
997
|
# HTTP header 'Accept' (if needed)
|
788
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
998
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
789
999
|
|
790
1000
|
# form parameters
|
791
1001
|
form_params = opts[:form_params] || {}
|
@@ -850,7 +1060,7 @@ module Daily
|
|
850
1060
|
# header parameters
|
851
1061
|
header_params = opts[:header_params] || {}
|
852
1062
|
# HTTP header 'Accept' (if needed)
|
853
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1063
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
854
1064
|
# HTTP header 'Content-Type'
|
855
1065
|
content_type = @api_client.select_header_content_type(['application/json'])
|
856
1066
|
if !content_type.nil?
|
@@ -886,6 +1096,146 @@ module Daily
|
|
886
1096
|
return data, status_code, headers
|
887
1097
|
end
|
888
1098
|
|
1099
|
+
# rooms/:name/sipCallTransfer
|
1100
|
+
# transfer sip/pstn call
|
1101
|
+
# @param room_name [String]
|
1102
|
+
# @param [Hash] opts the optional parameters
|
1103
|
+
# @option opts [RoomSipCallTransferRequest] :room_sip_call_transfer_request
|
1104
|
+
# @return [nil]
|
1105
|
+
def room_sip_call_transfer(room_name, opts = {})
|
1106
|
+
room_sip_call_transfer_with_http_info(room_name, opts)
|
1107
|
+
nil
|
1108
|
+
end
|
1109
|
+
|
1110
|
+
# rooms/:name/sipCallTransfer
|
1111
|
+
# transfer sip/pstn call
|
1112
|
+
# @param room_name [String]
|
1113
|
+
# @param [Hash] opts the optional parameters
|
1114
|
+
# @option opts [RoomSipCallTransferRequest] :room_sip_call_transfer_request
|
1115
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1116
|
+
def room_sip_call_transfer_with_http_info(room_name, opts = {})
|
1117
|
+
if @api_client.config.debugging
|
1118
|
+
@api_client.config.logger.debug 'Calling API: RoomsApi.room_sip_call_transfer ...'
|
1119
|
+
end
|
1120
|
+
# verify the required parameter 'room_name' is set
|
1121
|
+
if @api_client.config.client_side_validation && room_name.nil?
|
1122
|
+
fail ArgumentError, "Missing the required parameter 'room_name' when calling RoomsApi.room_sip_call_transfer"
|
1123
|
+
end
|
1124
|
+
# resource path
|
1125
|
+
local_var_path = '/rooms/{room_name}/sipCallTransfer'.sub('{' + 'room_name' + '}', CGI.escape(room_name.to_s))
|
1126
|
+
|
1127
|
+
# query parameters
|
1128
|
+
query_params = opts[:query_params] || {}
|
1129
|
+
|
1130
|
+
# header parameters
|
1131
|
+
header_params = opts[:header_params] || {}
|
1132
|
+
# HTTP header 'Accept' (if needed)
|
1133
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
1134
|
+
# HTTP header 'Content-Type'
|
1135
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
1136
|
+
if !content_type.nil?
|
1137
|
+
header_params['Content-Type'] = content_type
|
1138
|
+
end
|
1139
|
+
|
1140
|
+
# form parameters
|
1141
|
+
form_params = opts[:form_params] || {}
|
1142
|
+
|
1143
|
+
# http body (model)
|
1144
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'room_sip_call_transfer_request'])
|
1145
|
+
|
1146
|
+
# return_type
|
1147
|
+
return_type = opts[:debug_return_type]
|
1148
|
+
|
1149
|
+
# auth_names
|
1150
|
+
auth_names = opts[:debug_auth_names] || ['sec0']
|
1151
|
+
|
1152
|
+
new_options = opts.merge(
|
1153
|
+
:operation => :"RoomsApi.room_sip_call_transfer",
|
1154
|
+
:header_params => header_params,
|
1155
|
+
:query_params => query_params,
|
1156
|
+
:form_params => form_params,
|
1157
|
+
:body => post_body,
|
1158
|
+
:auth_names => auth_names,
|
1159
|
+
:return_type => return_type
|
1160
|
+
)
|
1161
|
+
|
1162
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1163
|
+
if @api_client.config.debugging
|
1164
|
+
@api_client.config.logger.debug "API called: RoomsApi#room_sip_call_transfer\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1165
|
+
end
|
1166
|
+
return data, status_code, headers
|
1167
|
+
end
|
1168
|
+
|
1169
|
+
# rooms/:name/sipRefer
|
1170
|
+
# refer a sip call to other sip endpoint
|
1171
|
+
# @param room_name [String]
|
1172
|
+
# @param [Hash] opts the optional parameters
|
1173
|
+
# @option opts [RoomSipCallTransferRequest] :room_sip_call_transfer_request
|
1174
|
+
# @return [Object]
|
1175
|
+
def room_sip_refer(room_name, opts = {})
|
1176
|
+
data, _status_code, _headers = room_sip_refer_with_http_info(room_name, opts)
|
1177
|
+
data
|
1178
|
+
end
|
1179
|
+
|
1180
|
+
# rooms/:name/sipRefer
|
1181
|
+
# refer a sip call to other sip endpoint
|
1182
|
+
# @param room_name [String]
|
1183
|
+
# @param [Hash] opts the optional parameters
|
1184
|
+
# @option opts [RoomSipCallTransferRequest] :room_sip_call_transfer_request
|
1185
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
1186
|
+
def room_sip_refer_with_http_info(room_name, opts = {})
|
1187
|
+
if @api_client.config.debugging
|
1188
|
+
@api_client.config.logger.debug 'Calling API: RoomsApi.room_sip_refer ...'
|
1189
|
+
end
|
1190
|
+
# verify the required parameter 'room_name' is set
|
1191
|
+
if @api_client.config.client_side_validation && room_name.nil?
|
1192
|
+
fail ArgumentError, "Missing the required parameter 'room_name' when calling RoomsApi.room_sip_refer"
|
1193
|
+
end
|
1194
|
+
# resource path
|
1195
|
+
local_var_path = '/rooms/{room_name}/sipRefer'.sub('{' + 'room_name' + '}', CGI.escape(room_name.to_s))
|
1196
|
+
|
1197
|
+
# query parameters
|
1198
|
+
query_params = opts[:query_params] || {}
|
1199
|
+
|
1200
|
+
# header parameters
|
1201
|
+
header_params = opts[:header_params] || {}
|
1202
|
+
# HTTP header 'Accept' (if needed)
|
1203
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
1204
|
+
# HTTP header 'Content-Type'
|
1205
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
1206
|
+
if !content_type.nil?
|
1207
|
+
header_params['Content-Type'] = content_type
|
1208
|
+
end
|
1209
|
+
|
1210
|
+
# form parameters
|
1211
|
+
form_params = opts[:form_params] || {}
|
1212
|
+
|
1213
|
+
# http body (model)
|
1214
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'room_sip_call_transfer_request'])
|
1215
|
+
|
1216
|
+
# return_type
|
1217
|
+
return_type = opts[:debug_return_type] || 'Object'
|
1218
|
+
|
1219
|
+
# auth_names
|
1220
|
+
auth_names = opts[:debug_auth_names] || ['sec0']
|
1221
|
+
|
1222
|
+
new_options = opts.merge(
|
1223
|
+
:operation => :"RoomsApi.room_sip_refer",
|
1224
|
+
:header_params => header_params,
|
1225
|
+
:query_params => query_params,
|
1226
|
+
:form_params => form_params,
|
1227
|
+
:body => post_body,
|
1228
|
+
:auth_names => auth_names,
|
1229
|
+
:return_type => return_type
|
1230
|
+
)
|
1231
|
+
|
1232
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1233
|
+
if @api_client.config.debugging
|
1234
|
+
@api_client.config.logger.debug "API called: RoomsApi#room_sip_refer\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1235
|
+
end
|
1236
|
+
return data, status_code, headers
|
1237
|
+
end
|
1238
|
+
|
889
1239
|
# rooms/:name/transcription/start
|
890
1240
|
# Start a transcription in a room
|
891
1241
|
# @param room_name [String]
|
@@ -920,7 +1270,7 @@ module Daily
|
|
920
1270
|
# header parameters
|
921
1271
|
header_params = opts[:header_params] || {}
|
922
1272
|
# HTTP header 'Accept' (if needed)
|
923
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1273
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
924
1274
|
# HTTP header 'Content-Type'
|
925
1275
|
content_type = @api_client.select_header_content_type(['application/json'])
|
926
1276
|
if !content_type.nil?
|
@@ -988,7 +1338,7 @@ module Daily
|
|
988
1338
|
# header parameters
|
989
1339
|
header_params = opts[:header_params] || {}
|
990
1340
|
# HTTP header 'Accept' (if needed)
|
991
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1341
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
992
1342
|
|
993
1343
|
# form parameters
|
994
1344
|
form_params = opts[:form_params] || {}
|
@@ -1053,7 +1403,7 @@ module Daily
|
|
1053
1403
|
# header parameters
|
1054
1404
|
header_params = opts[:header_params] || {}
|
1055
1405
|
# HTTP header 'Accept' (if needed)
|
1056
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1406
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
1057
1407
|
# HTTP header 'Content-Type'
|
1058
1408
|
content_type = @api_client.select_header_content_type(['application/json'])
|
1059
1409
|
if !content_type.nil?
|
@@ -1123,7 +1473,7 @@ module Daily
|
|
1123
1473
|
# header parameters
|
1124
1474
|
header_params = opts[:header_params] || {}
|
1125
1475
|
# HTTP header 'Accept' (if needed)
|
1126
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1476
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
1127
1477
|
# HTTP header 'Content-Type'
|
1128
1478
|
content_type = @api_client.select_header_content_type(['application/json'])
|
1129
1479
|
if !content_type.nil?
|
@@ -1193,7 +1543,7 @@ module Daily
|
|
1193
1543
|
# header parameters
|
1194
1544
|
header_params = opts[:header_params] || {}
|
1195
1545
|
# HTTP header 'Accept' (if needed)
|
1196
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1546
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
1197
1547
|
# HTTP header 'Content-Type'
|
1198
1548
|
content_type = @api_client.select_header_content_type(['application/json'])
|
1199
1549
|
if !content_type.nil?
|
@@ -1263,7 +1613,7 @@ module Daily
|
|
1263
1613
|
# header parameters
|
1264
1614
|
header_params = opts[:header_params] || {}
|
1265
1615
|
# HTTP header 'Accept' (if needed)
|
1266
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1616
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
1267
1617
|
# HTTP header 'Content-Type'
|
1268
1618
|
content_type = @api_client.select_header_content_type(['application/json'])
|
1269
1619
|
if !content_type.nil?
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.1.1
|
7
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
|
|
@@ -51,7 +51,7 @@ module Daily
|
|
51
51
|
# header parameters
|
52
52
|
header_params = opts[:header_params] || {}
|
53
53
|
# HTTP header 'Accept' (if needed)
|
54
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
54
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
55
55
|
|
56
56
|
# form parameters
|
57
57
|
form_params = opts[:form_params] || {}
|
@@ -114,7 +114,7 @@ module Daily
|
|
114
114
|
# header parameters
|
115
115
|
header_params = opts[:header_params] || {}
|
116
116
|
# HTTP header 'Accept' (if needed)
|
117
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
117
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
118
118
|
|
119
119
|
# form parameters
|
120
120
|
form_params = opts[:form_params] || {}
|
@@ -177,7 +177,7 @@ module Daily
|
|
177
177
|
# header parameters
|
178
178
|
header_params = opts[:header_params] || {}
|
179
179
|
# HTTP header 'Accept' (if needed)
|
180
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
180
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
181
181
|
|
182
182
|
# form parameters
|
183
183
|
form_params = opts[:form_params] || {}
|
@@ -244,12 +244,12 @@ module Daily
|
|
244
244
|
query_params[:'ending_before'] = opts[:'ending_before'] if !opts[:'ending_before'].nil?
|
245
245
|
query_params[:'starting_after'] = opts[:'starting_after'] if !opts[:'starting_after'].nil?
|
246
246
|
query_params[:'roomId'] = opts[:'room_id'] if !opts[:'room_id'].nil?
|
247
|
-
query_params[:'
|
247
|
+
query_params[:'mtgSessionId'] = opts[:'mtg_session_id'] if !opts[:'mtg_session_id'].nil?
|
248
248
|
|
249
249
|
# header parameters
|
250
250
|
header_params = opts[:header_params] || {}
|
251
251
|
# HTTP header 'Accept' (if needed)
|
252
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
252
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
253
253
|
|
254
254
|
# form parameters
|
255
255
|
form_params = opts[:form_params] || {}
|