daily-ruby 1.0.0 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -1
- data/Gemfile.lock +9 -28
- data/README.md +62 -52
- data/daily-ruby.gemspec +4 -3
- 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/example.rb +12 -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/pkg/daily-ruby-1.0.2.gem +0 -0
- 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_spec.rb → daily_streaming_custom_layout_config_composition_params_value_spec.rb} +3 -3
- 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 +171 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7e0f51902e7a00501529b9690ce9f3f5f7e6b802a894a5320c1ab02f9bb2bf1
|
4
|
+
data.tar.gz: 615584b2fc5a1d9e31653c5040ccf958f8b71b653457395b6a4db098c5d0608a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 443dade8c276d577a0512034a305df386298a1c68ae9fac8493cf76301903c600a0a1dba1ead4406e4ae19a9ad717ca91c7792a80c5f8a69f34dd819dbec1e3e
|
7
|
+
data.tar.gz: 5c9e271ae6ecbdfecada67b8cb69a7d366bb9e1e2f5458fdc7eda56a4d1c9b34b87e42382e36e5156788192c19869d2577f87b2a04b14b1f2459717d548d0871
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,42 +1,37 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
daily-ruby (1.0.
|
4
|
+
daily-ruby (1.0.2)
|
5
5
|
faraday (>= 1.0.1, < 3.0)
|
6
6
|
faraday-multipart
|
7
|
+
marcel
|
7
8
|
|
8
9
|
GEM
|
9
10
|
remote: https://rubygems.org/
|
10
11
|
specs:
|
11
|
-
ast (2.4.2)
|
12
12
|
byebug (11.1.3)
|
13
13
|
coderay (1.1.3)
|
14
14
|
diff-lcs (1.5.1)
|
15
|
-
faraday (2.
|
16
|
-
faraday-net_http (>= 2.0, < 3.
|
15
|
+
faraday (2.11.0)
|
16
|
+
faraday-net_http (>= 2.0, < 3.4)
|
17
|
+
logger
|
17
18
|
faraday-multipart (1.0.4)
|
18
19
|
multipart-post (~> 2)
|
19
|
-
faraday-net_http (3.
|
20
|
+
faraday-net_http (3.3.0)
|
20
21
|
net-http
|
22
|
+
logger (1.6.1)
|
23
|
+
marcel (1.0.4)
|
21
24
|
method_source (1.0.0)
|
22
25
|
multipart-post (2.4.0)
|
23
26
|
net-http (0.4.1)
|
24
27
|
uri
|
25
|
-
parallel (1.24.0)
|
26
|
-
parser (3.3.0.5)
|
27
|
-
ast (~> 2.4.1)
|
28
|
-
racc
|
29
28
|
pry (0.14.2)
|
30
29
|
coderay (~> 1.1)
|
31
30
|
method_source (~> 1.0)
|
32
31
|
pry-byebug (3.10.1)
|
33
32
|
byebug (~> 11.0)
|
34
33
|
pry (>= 0.13, < 0.15)
|
35
|
-
racc (1.7.3)
|
36
|
-
rainbow (3.1.1)
|
37
34
|
rake (13.0.6)
|
38
|
-
regexp_parser (2.9.0)
|
39
|
-
rexml (3.2.6)
|
40
35
|
rspec (3.13.0)
|
41
36
|
rspec-core (~> 3.13.0)
|
42
37
|
rspec-expectations (~> 3.13.0)
|
@@ -50,20 +45,7 @@ GEM
|
|
50
45
|
diff-lcs (>= 1.2.0, < 2.0)
|
51
46
|
rspec-support (~> 3.13.0)
|
52
47
|
rspec-support (3.13.0)
|
53
|
-
|
54
|
-
parallel (~> 1.10)
|
55
|
-
parser (>= 2.7.1.5)
|
56
|
-
rainbow (>= 2.2.2, < 4.0)
|
57
|
-
regexp_parser (>= 1.8)
|
58
|
-
rexml
|
59
|
-
rubocop-ast (>= 1.1.1)
|
60
|
-
ruby-progressbar (~> 1.7)
|
61
|
-
unicode-display_width (>= 1.4.0, < 2.0)
|
62
|
-
rubocop-ast (1.30.0)
|
63
|
-
parser (>= 3.2.1.0)
|
64
|
-
ruby-progressbar (1.13.0)
|
65
|
-
unicode-display_width (1.8.0)
|
66
|
-
uri (0.13.0)
|
48
|
+
uri (0.13.1)
|
67
49
|
|
68
50
|
PLATFORMS
|
69
51
|
arm64-darwin-23
|
@@ -74,7 +56,6 @@ DEPENDENCIES
|
|
74
56
|
pry-byebug
|
75
57
|
rake (~> 13.0.1)
|
76
58
|
rspec (~> 3.6, >= 3.6.0)
|
77
|
-
rubocop (~> 1.4.0)
|
78
59
|
|
79
60
|
BUNDLED WITH
|
80
61
|
2.5.3
|
data/README.md
CHANGED
@@ -17,7 +17,8 @@ Please reach out to help@daily.co if we can help with anything
|
|
17
17
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
18
18
|
|
19
19
|
- API version: 1.1.1
|
20
|
-
- Package version: 1.0.
|
20
|
+
- Package version: 1.0.2
|
21
|
+
- Generator version: 7.8.0
|
21
22
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
22
23
|
For more information, please visit [https://docs.daily.co](https://docs.daily.co)
|
23
24
|
|
@@ -34,16 +35,16 @@ gem build daily-ruby.gemspec
|
|
34
35
|
Then either install the gem locally:
|
35
36
|
|
36
37
|
```shell
|
37
|
-
gem install ./daily-ruby-1.0.
|
38
|
+
gem install ./daily-ruby-1.0.2.gem
|
38
39
|
```
|
39
40
|
|
40
|
-
(for development, run `gem install --dev ./daily-ruby-1.0.
|
41
|
+
(for development, run `gem install --dev ./daily-ruby-1.0.2.gem` to install the development dependencies)
|
41
42
|
|
42
43
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
43
44
|
|
44
45
|
Finally add this to the Gemfile:
|
45
46
|
|
46
|
-
gem 'daily-ruby', '~> 1.0.
|
47
|
+
gem 'daily-ruby', '~> 1.0.2'
|
47
48
|
|
48
49
|
### Install from Git
|
49
50
|
|
@@ -69,63 +70,27 @@ require 'daily-ruby'
|
|
69
70
|
|
70
71
|
# Setup authorization
|
71
72
|
Daily.configure do |config|
|
72
|
-
# Configure
|
73
|
-
config.api_key['sec0'] =
|
74
|
-
|
73
|
+
# Configure API key authorization: sec0
|
74
|
+
config.api_key['sec0'] = 'YOUR API KEY'
|
75
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
76
|
+
# config.api_key_prefix['sec0'] = 'Bearer'
|
75
77
|
# Configure faraday connection
|
76
|
-
|
78
|
+
config.configure_faraday_connection { |connection| 'YOUR CONNECTION CONFIG PROC' }
|
77
79
|
end
|
78
80
|
|
79
|
-
|
81
|
+
api_instance = Daily::BatchRoomsApi.new
|
80
82
|
opts = {
|
81
|
-
|
82
|
-
privacy: 'private',
|
83
|
-
properties: Daily::RoomProperties.new({
|
84
|
-
exp: (Time.now + (3600 * 2)).to_i, # Delete the room after two hours
|
85
|
-
enable_mesh_sfu: true,
|
86
|
-
sfu_switchover: 0.5
|
87
|
-
})
|
88
|
-
)
|
83
|
+
batch_room_create_request: Daily::BatchRoomCreateRequest.new # BatchRoomCreateRequest |
|
89
84
|
}
|
90
85
|
|
91
86
|
begin
|
92
|
-
|
93
|
-
|
94
|
-
p
|
87
|
+
#/batch/rooms
|
88
|
+
result = api_instance.batch_room_create(opts)
|
89
|
+
p result
|
95
90
|
rescue Daily::ApiError => e
|
96
|
-
puts "
|
91
|
+
puts "Exception when calling BatchRoomsApi->batch_room_create: #{e}"
|
97
92
|
end
|
98
93
|
|
99
|
-
meeting_token_api_instance = Daily::MeetingTokensApi.new
|
100
|
-
|
101
|
-
# Create an owner meeting_token for the room with privacy set to private and
|
102
|
-
# the expiration set to 2 hours from now.
|
103
|
-
|
104
|
-
opts = {
|
105
|
-
create_meeting_token_request: Daily::CreateMeetingTokenRequest.new({
|
106
|
-
properties: {
|
107
|
-
is_owner: true,
|
108
|
-
room_name: room.name,
|
109
|
-
exp: (Time.now + (3600 * 2)).to_i # Expire the token after two hours
|
110
|
-
}
|
111
|
-
})
|
112
|
-
}
|
113
|
-
|
114
|
-
p opts
|
115
|
-
|
116
|
-
|
117
|
-
begin
|
118
|
-
# Create a new meeting token
|
119
|
-
meeting_token = meeting_token_api_instance.create_meeting_token(opts)
|
120
|
-
p meeting_token
|
121
|
-
rescue Daily::ApiError => e
|
122
|
-
puts "Error when calling MeetingTokensApi->create_meeting_token: #{e}"
|
123
|
-
end
|
124
|
-
|
125
|
-
|
126
|
-
p "Room url: " + room.url
|
127
|
-
p "Meeting token: " + meeting_token.token
|
128
|
-
|
129
94
|
```
|
130
95
|
|
131
96
|
## Documentation for API Endpoints
|
@@ -136,6 +101,7 @@ All URIs are relative to *https://api.daily.co/v1*
|
|
136
101
|
| ------------------------- | ---------------------------------------------------------------------------------- | ------------------------------------------------- | --------------------------------- |
|
137
102
|
| _Daily::BatchRoomsApi_ | [**batch_room_create**](docs/BatchRoomsApi.md#batch_room_create) | **POST** /batch/rooms | /batch/rooms |
|
138
103
|
| _Daily::BatchRoomsApi_ | [**batch_room_delete**](docs/BatchRoomsApi.md#batch_room_delete) | **DELETE** /batch/rooms | /batch/rooms |
|
104
|
+
| _Daily::DialinApi_ | [**pinless_call_update**](docs/DialinApi.md#pinless_call_update) | **POST** /dialin/pinlessCallUpdate | /dialin/pinlessCallUpdate |
|
139
105
|
| _Daily::DomainApi_ | [**get_domain_config**](docs/DomainApi.md#get_domain_config) | **GET** / | Get domain configuration |
|
140
106
|
| _Daily::DomainApi_ | [**set_domain_config**](docs/DomainApi.md#set_domain_config) | **POST** / | Set domain configuration |
|
141
107
|
| _Daily::LogsApi_ | [**list_api_logs**](docs/LogsApi.md#list_api_logs) | **GET** /logs/api | /logs/api |
|
@@ -145,6 +111,10 @@ All URIs are relative to *https://api.daily.co/v1*
|
|
145
111
|
| _Daily::MeetingsApi_ | [**get_individual_meeting_info**](docs/MeetingsApi.md#get_individual_meeting_info) | **GET** /meetings/{meeting} | /meetings/:meeting |
|
146
112
|
| _Daily::MeetingsApi_ | [**get_meeting_info**](docs/MeetingsApi.md#get_meeting_info) | **GET** /meetings | /meetings |
|
147
113
|
| _Daily::MeetingsApi_ | [**get_meeting_participants**](docs/MeetingsApi.md#get_meeting_participants) | **GET** /meetings/{meeting}/participants | /meetings/:meeting/participants |
|
114
|
+
| _Daily::PhoneNumbersApi_ | [**buy_phone_number**](docs/PhoneNumbersApi.md#buy_phone_number) | **POST** /buy-phone-number | /buy-phone-number |
|
115
|
+
| _Daily::PhoneNumbersApi_ | [**list_available_numbers**](docs/PhoneNumbersApi.md#list_available_numbers) | **GET** /list-available-numbers | /list-available-numbers |
|
116
|
+
| _Daily::PhoneNumbersApi_ | [**purchased_phone_nunbers**](docs/PhoneNumbersApi.md#purchased_phone_nunbers) | **GET** /purchased-phone-numbers | /purchased-phone-numbers |
|
117
|
+
| _Daily::PhoneNumbersApi_ | [**release_phone_number**](docs/PhoneNumbersApi.md#release_phone_number) | **DELETE** /release-phone-number/{id} | release-phone-number/:id |
|
148
118
|
| _Daily::PresenceApi_ | [**get_presence**](docs/PresenceApi.md#get_presence) | **GET** /presence | /presence |
|
149
119
|
| _Daily::RecordingsApi_ | [**delete_recording**](docs/RecordingsApi.md#delete_recording) | **DELETE** /recordings/{recording_id} | recordings/:id |
|
150
120
|
| _Daily::RecordingsApi_ | [**get_recording_info**](docs/RecordingsApi.md#get_recording_info) | **GET** /recordings/{recording_id} | recordings/:id |
|
@@ -157,12 +127,17 @@ All URIs are relative to *https://api.daily.co/v1*
|
|
157
127
|
| _Daily::RoomsApi_ | [**get_room_presence**](docs/RoomsApi.md#get_room_presence) | **GET** /rooms/{room_name}/presence | rooms/:name/presence |
|
158
128
|
| _Daily::RoomsApi_ | [**get_session_data**](docs/RoomsApi.md#get_session_data) | **GET** /rooms/{room_name}/get-session-data | rooms/:name/get-session-data |
|
159
129
|
| _Daily::RoomsApi_ | [**list_rooms**](docs/RoomsApi.md#list_rooms) | **GET** /rooms | /rooms |
|
130
|
+
| _Daily::RoomsApi_ | [**room_dial_out_send_dtmf**](docs/RoomsApi.md#room_dial_out_send_dtmf) | **POST** /rooms/{room_name}/dialOut/sendDTMF | rooms/:name/dialOut/sendDTMF |
|
131
|
+
| _Daily::RoomsApi_ | [**room_dial_out_start**](docs/RoomsApi.md#room_dial_out_start) | **POST** /rooms/{room_name}/dialOut/start | rooms/:name/dialOut/start |
|
132
|
+
| _Daily::RoomsApi_ | [**room_dial_out_stop**](docs/RoomsApi.md#room_dial_out_stop) | **POST** /rooms/{room_name}/dialOut/stop | rooms/:name/dialOut/stop |
|
160
133
|
| _Daily::RoomsApi_ | [**room_livestreaming_start**](docs/RoomsApi.md#room_livestreaming_start) | **POST** /rooms/{room_name}/live-streaming/start | rooms/:name/live-streaming/start |
|
161
134
|
| _Daily::RoomsApi_ | [**room_livestreaming_stop**](docs/RoomsApi.md#room_livestreaming_stop) | **POST** /rooms/{room_name}/live-streaming/stop | rooms/:name/live-streaming/stop |
|
162
135
|
| _Daily::RoomsApi_ | [**room_livestreaming_update**](docs/RoomsApi.md#room_livestreaming_update) | **POST** /rooms/{room_name}/live-streaming/update | rooms/:name/live-streaming/update |
|
163
136
|
| _Daily::RoomsApi_ | [**room_recordings_start**](docs/RoomsApi.md#room_recordings_start) | **POST** /rooms/{room_name}/recordings/start | rooms/:name/recordings/start |
|
164
137
|
| _Daily::RoomsApi_ | [**room_recordings_stop**](docs/RoomsApi.md#room_recordings_stop) | **POST** /rooms/{room_name}/recordings/stop | rooms/:name/recordings/stop |
|
165
138
|
| _Daily::RoomsApi_ | [**room_recordings_update**](docs/RoomsApi.md#room_recordings_update) | **POST** /rooms/{room_name}/recordings/update | rooms/:name/recordings/update |
|
139
|
+
| _Daily::RoomsApi_ | [**room_sip_call_transfer**](docs/RoomsApi.md#room_sip_call_transfer) | **POST** /rooms/{room_name}/sipCallTransfer | rooms/:name/sipCallTransfer |
|
140
|
+
| _Daily::RoomsApi_ | [**room_sip_refer**](docs/RoomsApi.md#room_sip_refer) | **POST** /rooms/{room_name}/sipRefer | rooms/:name/sipRefer |
|
166
141
|
| _Daily::RoomsApi_ | [**room_transcription_start**](docs/RoomsApi.md#room_transcription_start) | **POST** /rooms/{room_name}/transcription/start | rooms/:name/transcription/start |
|
167
142
|
| _Daily::RoomsApi_ | [**room_transcription_stop**](docs/RoomsApi.md#room_transcription_stop) | **POST** /rooms/{room_name}/transcription/stop | rooms/:name/transcription/stop |
|
168
143
|
| _Daily::RoomsApi_ | [**send_app_message**](docs/RoomsApi.md#send_app_message) | **POST** /rooms/{room_name}/send-app-message | rooms/:name/send-app-message |
|
@@ -181,9 +156,22 @@ All URIs are relative to *https://api.daily.co/v1*
|
|
181
156
|
|
182
157
|
## Documentation for Models
|
183
158
|
|
159
|
+
- [Daily::BatchProcessorError](docs/BatchProcessorError.md)
|
160
|
+
- [Daily::BatchProcessorErrorPayload](docs/BatchProcessorErrorPayload.md)
|
161
|
+
- [Daily::BatchProcessorErrorPayloadInput](docs/BatchProcessorErrorPayloadInput.md)
|
162
|
+
- [Daily::BatchProcessorJobFinished](docs/BatchProcessorJobFinished.md)
|
163
|
+
- [Daily::BatchProcessorJobFinishedPayload](docs/BatchProcessorJobFinishedPayload.md)
|
164
|
+
- [Daily::BatchProcessorJobFinishedPayloadInput](docs/BatchProcessorJobFinishedPayloadInput.md)
|
165
|
+
- [Daily::BatchProcessorJobFinishedPayloadOutput](docs/BatchProcessorJobFinishedPayloadOutput.md)
|
166
|
+
- [Daily::BatchProcessorJobFinishedPayloadOutputConcept](docs/BatchProcessorJobFinishedPayloadOutputConcept.md)
|
167
|
+
- [Daily::BatchProcessorJobFinishedPayloadOutputSoap](docs/BatchProcessorJobFinishedPayloadOutputSoap.md)
|
168
|
+
- [Daily::BatchProcessorJobFinishedPayloadOutputSoapS3Config](docs/BatchProcessorJobFinishedPayloadOutputSoapS3Config.md)
|
169
|
+
- [Daily::BatchProcessorJobFinishedPayloadOutputSummary](docs/BatchProcessorJobFinishedPayloadOutputSummary.md)
|
170
|
+
- [Daily::BatchProcessorJobFinishedPayloadOutputTranscriptionInner](docs/BatchProcessorJobFinishedPayloadOutputTranscriptionInner.md)
|
184
171
|
- [Daily::BatchRoomCreateRequest](docs/BatchRoomCreateRequest.md)
|
185
172
|
- [Daily::BatchRoomCreateRequestRoomsInner](docs/BatchRoomCreateRequestRoomsInner.md)
|
186
173
|
- [Daily::BatchRoomDelete200Response](docs/BatchRoomDelete200Response.md)
|
174
|
+
- [Daily::BuyPhoneNumberRequest](docs/BuyPhoneNumberRequest.md)
|
187
175
|
- [Daily::CreateMeetingToken200Response](docs/CreateMeetingToken200Response.md)
|
188
176
|
- [Daily::CreateMeetingTokenRequest](docs/CreateMeetingTokenRequest.md)
|
189
177
|
- [Daily::CreateRoom200Response](docs/CreateRoom200Response.md)
|
@@ -192,7 +180,7 @@ All URIs are relative to *https://api.daily.co/v1*
|
|
192
180
|
- [Daily::DailyLiveStreamingOptionsRtmpUrl](docs/DailyLiveStreamingOptionsRtmpUrl.md)
|
193
181
|
- [Daily::DailyStreamingActiveParticipantLayoutConfig](docs/DailyStreamingActiveParticipantLayoutConfig.md)
|
194
182
|
- [Daily::DailyStreamingCustomLayoutConfig](docs/DailyStreamingCustomLayoutConfig.md)
|
195
|
-
- [Daily::
|
183
|
+
- [Daily::DailyStreamingCustomLayoutConfigCompositionParamsValue](docs/DailyStreamingCustomLayoutConfigCompositionParamsValue.md)
|
196
184
|
- [Daily::DailyStreamingDefaultLayoutConfig](docs/DailyStreamingDefaultLayoutConfig.md)
|
197
185
|
- [Daily::DailyStreamingEndpoint](docs/DailyStreamingEndpoint.md)
|
198
186
|
- [Daily::DailyStreamingLayoutConfig](docs/DailyStreamingLayoutConfig.md)
|
@@ -201,6 +189,8 @@ All URIs are relative to *https://api.daily.co/v1*
|
|
201
189
|
- [Daily::DailyStreamingPortraitLayoutVariant](docs/DailyStreamingPortraitLayoutVariant.md)
|
202
190
|
- [Daily::DailyStreamingSingleParticipantLayoutConfig](docs/DailyStreamingSingleParticipantLayoutConfig.md)
|
203
191
|
- [Daily::DeleteTranscript200Response](docs/DeleteTranscript200Response.md)
|
192
|
+
- [Daily::DialoutProperties](docs/DialoutProperties.md)
|
193
|
+
- [Daily::DialoutPropertiesCodecs](docs/DialoutPropertiesCodecs.md)
|
204
194
|
- [Daily::Domain](docs/Domain.md)
|
205
195
|
- [Daily::DomainProperties](docs/DomainProperties.md)
|
206
196
|
- [Daily::Eject200Response](docs/Eject200Response.md)
|
@@ -227,12 +217,25 @@ All URIs are relative to *https://api.daily.co/v1*
|
|
227
217
|
- [Daily::ListRooms200ResponseDataInnerConfig](docs/ListRooms200ResponseDataInnerConfig.md)
|
228
218
|
- [Daily::ListTranscript200Response](docs/ListTranscript200Response.md)
|
229
219
|
- [Daily::ListTranscript200ResponseDataInner](docs/ListTranscript200ResponseDataInner.md)
|
220
|
+
- [Daily::MeetingEnded](docs/MeetingEnded.md)
|
221
|
+
- [Daily::MeetingEndedPayload](docs/MeetingEndedPayload.md)
|
230
222
|
- [Daily::MeetingParticipantsGetRes](docs/MeetingParticipantsGetRes.md)
|
231
223
|
- [Daily::MeetingParticipantsGetResDataInner](docs/MeetingParticipantsGetResDataInner.md)
|
224
|
+
- [Daily::MeetingStarted](docs/MeetingStarted.md)
|
225
|
+
- [Daily::MeetingStartedPayload](docs/MeetingStartedPayload.md)
|
232
226
|
- [Daily::MeetingsMeetingGetRes](docs/MeetingsMeetingGetRes.md)
|
227
|
+
- [Daily::ParticipantJoined](docs/ParticipantJoined.md)
|
228
|
+
- [Daily::ParticipantJoinedPayload](docs/ParticipantJoinedPayload.md)
|
229
|
+
- [Daily::ParticipantJoinedPayloadPermissions](docs/ParticipantJoinedPayloadPermissions.md)
|
230
|
+
- [Daily::ParticipantLeft](docs/ParticipantLeft.md)
|
231
|
+
- [Daily::ParticipantLeftPayload](docs/ParticipantLeftPayload.md)
|
233
232
|
- [Daily::Permissions](docs/Permissions.md)
|
234
233
|
- [Daily::PermissionsCanAdmin](docs/PermissionsCanAdmin.md)
|
235
234
|
- [Daily::PermissionsCanSend](docs/PermissionsCanSend.md)
|
235
|
+
- [Daily::PinDialinInner](docs/PinDialinInner.md)
|
236
|
+
- [Daily::PinDialinInnerIvrGreeting](docs/PinDialinInnerIvrGreeting.md)
|
237
|
+
- [Daily::PinlessCallUpdateRequest](docs/PinlessCallUpdateRequest.md)
|
238
|
+
- [Daily::PinlessDialinInner](docs/PinlessDialinInner.md)
|
236
239
|
- [Daily::PostWebhook](docs/PostWebhook.md)
|
237
240
|
- [Daily::Properties](docs/Properties.md)
|
238
241
|
- [Daily::RecordingError](docs/RecordingError.md)
|
@@ -243,9 +246,12 @@ All URIs are relative to *https://api.daily.co/v1*
|
|
243
246
|
- [Daily::RecordingStartedPayload](docs/RecordingStartedPayload.md)
|
244
247
|
- [Daily::RecordingStreamingOptions](docs/RecordingStreamingOptions.md)
|
245
248
|
- [Daily::RecordingsBucket](docs/RecordingsBucket.md)
|
249
|
+
- [Daily::RoomDialOutSendDTMFRequest](docs/RoomDialOutSendDTMFRequest.md)
|
250
|
+
- [Daily::RoomDialOutStopRequest](docs/RoomDialOutStopRequest.md)
|
246
251
|
- [Daily::RoomProperties](docs/RoomProperties.md)
|
247
252
|
- [Daily::RoomPropertiesStreamingEndpointsInner](docs/RoomPropertiesStreamingEndpointsInner.md)
|
248
253
|
- [Daily::RoomPropertiesStreamingEndpointsInnerHlsConfigVariantsInner](docs/RoomPropertiesStreamingEndpointsInnerHlsConfigVariantsInner.md)
|
254
|
+
- [Daily::RoomSipCallTransferRequest](docs/RoomSipCallTransferRequest.md)
|
249
255
|
- [Daily::RoomsRoomNameGetRes](docs/RoomsRoomNameGetRes.md)
|
250
256
|
- [Daily::RoomsRoomNamePresenceGetRes](docs/RoomsRoomNamePresenceGetRes.md)
|
251
257
|
- [Daily::RoomsRoomNamePresenceGetResDataInner](docs/RoomsRoomNamePresenceGetResDataInner.md)
|
@@ -269,6 +275,10 @@ All URIs are relative to *https://api.daily.co/v1*
|
|
269
275
|
- [Daily::UpdatePermissionsRequestDataValueCanSend](docs/UpdatePermissionsRequestDataValueCanSend.md)
|
270
276
|
- [Daily::UpdateWebhook](docs/UpdateWebhook.md)
|
271
277
|
- [Daily::ValidateMeetingToken200Response](docs/ValidateMeetingToken200Response.md)
|
278
|
+
- [Daily::WaitingParticipantJoined](docs/WaitingParticipantJoined.md)
|
279
|
+
- [Daily::WaitingParticipantJoinedPayload](docs/WaitingParticipantJoinedPayload.md)
|
280
|
+
- [Daily::WaitingParticipantLeft](docs/WaitingParticipantLeft.md)
|
281
|
+
- [Daily::WaitingParticipantLeftPayload](docs/WaitingParticipantLeftPayload.md)
|
272
282
|
- [Daily::Webhook](docs/Webhook.md)
|
273
283
|
|
274
284
|
## Documentation for Authorization
|
data/daily-ruby.gemspec
CHANGED
@@ -8,12 +8,12 @@
|
|
8
8
|
The version of the OpenAPI document: 1.1.1
|
9
9
|
Contact: help@daily.co
|
10
10
|
Generated by: https://openapi-generator.tech
|
11
|
-
|
11
|
+
Generator version: 7.8.0
|
12
12
|
|
13
13
|
=end
|
14
14
|
|
15
15
|
$:.push File.expand_path("../lib", __FILE__)
|
16
|
-
|
16
|
+
require_relative 'lib/daily-ruby/version'
|
17
17
|
|
18
18
|
Gem::Specification.new do |s|
|
19
19
|
s.name = "daily-ruby"
|
@@ -23,13 +23,14 @@ Gem::Specification.new do |s|
|
|
23
23
|
s.email = ["help@daily.co"]
|
24
24
|
s.homepage = "https://www.github.com/daily-co/daily-ruby"
|
25
25
|
s.summary = "The official Daily API Ruby client"
|
26
|
-
s.description = "The official Daily API Ruby client"
|
26
|
+
s.description = "The official Daily API Ruby client for Daily's REST API"
|
27
27
|
s.license = "MIT"
|
28
28
|
s.required_ruby_version = ">= 2.7"
|
29
29
|
s.metadata = {}
|
30
30
|
|
31
31
|
s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 3.0'
|
32
32
|
s.add_runtime_dependency 'faraday-multipart'
|
33
|
+
s.add_runtime_dependency 'marcel'
|
33
34
|
|
34
35
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
35
36
|
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Daily::BatchProcessorError
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **version** | **String** | The semantic version of the current message. | [optional] |
|
8
|
+
| **type** | **String** | The type of event that is being provided. | [optional] |
|
9
|
+
| **event_ts** | **Float** | The Unix epoch time in seconds representing when the event was generated. | [optional] |
|
10
|
+
| **payload** | [**BatchProcessorErrorPayload**](BatchProcessorErrorPayload.md) | | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'daily-ruby'
|
16
|
+
|
17
|
+
instance = Daily::BatchProcessorError.new(
|
18
|
+
version: null,
|
19
|
+
type: null,
|
20
|
+
event_ts: null,
|
21
|
+
payload: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# Daily::BatchProcessorErrorPayload
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | The batch processor job id. | [optional] |
|
8
|
+
| **preset** | **String** | The preset given when starting the job. | [optional] |
|
9
|
+
| **status** | **String** | The status of the job. | [optional] |
|
10
|
+
| **input** | [**BatchProcessorErrorPayloadInput**](BatchProcessorErrorPayloadInput.md) | | [optional] |
|
11
|
+
| **error** | **String** | A description of the error that occurred. | [optional] |
|
12
|
+
|
13
|
+
## Example
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'daily-ruby'
|
17
|
+
|
18
|
+
instance = Daily::BatchProcessorErrorPayload.new(
|
19
|
+
id: null,
|
20
|
+
preset: null,
|
21
|
+
status: null,
|
22
|
+
input: null,
|
23
|
+
error: null
|
24
|
+
)
|
25
|
+
```
|
26
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Daily::BatchProcessorErrorPayloadInput
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **source_type** | **String** | The source type describing the input of the job. | [optional] |
|
8
|
+
| **uri** | **String** | If the `sourceType` is `uri` or `transcriptUri`, this field represents the uri to access the content (transcript, video or audio file). | [optional] |
|
9
|
+
| **recording_id** | **String** | If the `sourceType` is `recordingId`, this field will be present containing the recording ID provided. | [optional] |
|
10
|
+
| **language** | **String** | If the `sourceType` is `uri`, this field represents the BCP-47 language of the transcript. | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'daily-ruby'
|
16
|
+
|
17
|
+
instance = Daily::BatchProcessorErrorPayloadInput.new(
|
18
|
+
source_type: null,
|
19
|
+
uri: null,
|
20
|
+
recording_id: null,
|
21
|
+
language: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Daily::BatchProcessorJobFinished
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **version** | **String** | The semantic version of the current message. | [optional] |
|
8
|
+
| **type** | **String** | The type of event that is being provided. | [optional] |
|
9
|
+
| **event_ts** | **Float** | The Unix epoch time in seconds representing when the event was generated. | [optional] |
|
10
|
+
| **payload** | [**BatchProcessorJobFinishedPayload**](BatchProcessorJobFinishedPayload.md) | | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'daily-ruby'
|
16
|
+
|
17
|
+
instance = Daily::BatchProcessorJobFinished.new(
|
18
|
+
version: null,
|
19
|
+
type: null,
|
20
|
+
event_ts: null,
|
21
|
+
payload: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# Daily::BatchProcessorJobFinishedPayload
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | The batch processor job id. | [optional] |
|
8
|
+
| **preset** | **String** | The preset given when starting the job. | [optional] |
|
9
|
+
| **status** | **String** | The status of the job. | [optional] |
|
10
|
+
| **input** | [**BatchProcessorJobFinishedPayloadInput**](BatchProcessorJobFinishedPayloadInput.md) | | [optional] |
|
11
|
+
| **output** | [**BatchProcessorJobFinishedPayloadOutput**](BatchProcessorJobFinishedPayloadOutput.md) | | [optional] |
|
12
|
+
|
13
|
+
## Example
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'daily-ruby'
|
17
|
+
|
18
|
+
instance = Daily::BatchProcessorJobFinishedPayload.new(
|
19
|
+
id: null,
|
20
|
+
preset: null,
|
21
|
+
status: null,
|
22
|
+
input: null,
|
23
|
+
output: null
|
24
|
+
)
|
25
|
+
```
|
26
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Daily::BatchProcessorJobFinishedPayloadInput
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **source_type** | **String** | The source type describing the input of the job. | [optional] |
|
8
|
+
| **uri** | **String** | If `uri` or `transcriptUri` `sourceType`, this field represents the uri to access the content (transcript, video or audio file). | [optional] |
|
9
|
+
| **recording_id** | **String** | If `recordingId` `sourceType`, this field represents the id of the recording. | [optional] |
|
10
|
+
| **language** | **String** | If `uri` `sourceType`, this field represents the BCP-47 language of the transcript. | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'daily-ruby'
|
16
|
+
|
17
|
+
instance = Daily::BatchProcessorJobFinishedPayloadInput.new(
|
18
|
+
source_type: null,
|
19
|
+
uri: null,
|
20
|
+
recording_id: null,
|
21
|
+
language: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Daily::BatchProcessorJobFinishedPayloadOutput
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **soap** | [**BatchProcessorJobFinishedPayloadOutputSoap**](BatchProcessorJobFinishedPayloadOutputSoap.md) | | [optional] |
|
8
|
+
| **concept** | [**BatchProcessorJobFinishedPayloadOutputConcept**](BatchProcessorJobFinishedPayloadOutputConcept.md) | | [optional] |
|
9
|
+
| **summary** | [**BatchProcessorJobFinishedPayloadOutputSummary**](BatchProcessorJobFinishedPayloadOutputSummary.md) | | [optional] |
|
10
|
+
| **transcription** | [**Array<BatchProcessorJobFinishedPayloadOutputTranscriptionInner>**](BatchProcessorJobFinishedPayloadOutputTranscriptionInner.md) | If this job generated transcriptions output, this field will be defined. | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'daily-ruby'
|
16
|
+
|
17
|
+
instance = Daily::BatchProcessorJobFinishedPayloadOutput.new(
|
18
|
+
soap: null,
|
19
|
+
concept: null,
|
20
|
+
summary: null,
|
21
|
+
transcription: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Daily::BatchProcessorJobFinishedPayloadOutputConcept
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **format** | **String** | The filetype of these concepts. | [optional] |
|
8
|
+
| **s3_config** | [**BatchProcessorJobFinishedPayloadOutputSoapS3Config**](BatchProcessorJobFinishedPayloadOutputSoapS3Config.md) | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'daily-ruby'
|
14
|
+
|
15
|
+
instance = Daily::BatchProcessorJobFinishedPayloadOutputConcept.new(
|
16
|
+
format: null,
|
17
|
+
s3_config: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Daily::BatchProcessorJobFinishedPayloadOutputSoap
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **format** | **String** | The filetype of this SOAP note. | [optional] |
|
8
|
+
| **s3_config** | [**BatchProcessorJobFinishedPayloadOutputSoapS3Config**](BatchProcessorJobFinishedPayloadOutputSoapS3Config.md) | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'daily-ruby'
|
14
|
+
|
15
|
+
instance = Daily::BatchProcessorJobFinishedPayloadOutputSoap.new(
|
16
|
+
format: null,
|
17
|
+
s3_config: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Daily::BatchProcessorJobFinishedPayloadOutputSoapS3Config
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **bucket** | **String** | The s3 bucket containing this file. | [optional] |
|
8
|
+
| **key** | **String** | The s3 object location of this file. | [optional] |
|
9
|
+
| **region** | **String** | The s3 bucket region. | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'daily-ruby'
|
15
|
+
|
16
|
+
instance = Daily::BatchProcessorJobFinishedPayloadOutputSoapS3Config.new(
|
17
|
+
bucket: null,
|
18
|
+
key: null,
|
19
|
+
region: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Daily::BatchProcessorJobFinishedPayloadOutputSummary
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **format** | **String** | The filetype of this summary. | [optional] |
|
8
|
+
| **s3_config** | [**BatchProcessorJobFinishedPayloadOutputSoapS3Config**](BatchProcessorJobFinishedPayloadOutputSoapS3Config.md) | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'daily-ruby'
|
14
|
+
|
15
|
+
instance = Daily::BatchProcessorJobFinishedPayloadOutputSummary.new(
|
16
|
+
format: null,
|
17
|
+
s3_config: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Daily::BatchProcessorJobFinishedPayloadOutputTranscriptionInner
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **format** | **String** | The filetype of this transcription. | [optional] |
|
8
|
+
| **s3_config** | [**BatchProcessorJobFinishedPayloadOutputSoapS3Config**](BatchProcessorJobFinishedPayloadOutputSoapS3Config.md) | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'daily-ruby'
|
14
|
+
|
15
|
+
instance = Daily::BatchProcessorJobFinishedPayloadOutputTranscriptionInner.new(
|
16
|
+
format: null,
|
17
|
+
s3_config: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|