daily-ruby 1.0.3 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/lib/daily-ruby/models/domain_properties.rb +4 -8
- data/lib/daily-ruby/models/room_properties.rb +3 -8
- data/lib/daily-ruby/version.rb +1 -1
- metadata +4 -425
- data/Gemfile +0 -8
- data/Gemfile.lock +0 -63
- data/Rakefile +0 -10
- data/daily-ruby-1.0.2.gem +0 -0
- data/daily-ruby.gemspec +0 -41
- data/docs/BatchProcessorError.md +0 -24
- data/docs/BatchProcessorErrorPayload.md +0 -26
- data/docs/BatchProcessorErrorPayloadInput.md +0 -24
- data/docs/BatchProcessorJobFinished.md +0 -24
- data/docs/BatchProcessorJobFinishedPayload.md +0 -26
- data/docs/BatchProcessorJobFinishedPayloadInput.md +0 -24
- data/docs/BatchProcessorJobFinishedPayloadOutput.md +0 -24
- data/docs/BatchProcessorJobFinishedPayloadOutputConcept.md +0 -20
- data/docs/BatchProcessorJobFinishedPayloadOutputSoap.md +0 -20
- data/docs/BatchProcessorJobFinishedPayloadOutputSoapS3Config.md +0 -22
- data/docs/BatchProcessorJobFinishedPayloadOutputSummary.md +0 -20
- data/docs/BatchProcessorJobFinishedPayloadOutputTranscriptionInner.md +0 -20
- data/docs/BatchRoomCreateRequest.md +0 -18
- data/docs/BatchRoomCreateRequestRoomsInner.md +0 -22
- data/docs/BatchRoomDelete200Response.md +0 -18
- data/docs/BatchRoomsApi.md +0 -150
- data/docs/BuyPhoneNumberRequest.md +0 -18
- data/docs/CreateMeetingToken200Response.md +0 -18
- data/docs/CreateMeetingTokenRequest.md +0 -18
- data/docs/CreateRoom200Response.md +0 -30
- data/docs/CreateRoomRequest.md +0 -22
- data/docs/DailyLiveStreamingOptions.md +0 -40
- data/docs/DailyLiveStreamingOptionsRtmpUrl.md +0 -49
- data/docs/DailyStreamingActiveParticipantLayoutConfig.md +0 -18
- data/docs/DailyStreamingCustomLayoutConfig.md +0 -24
- data/docs/DailyStreamingCustomLayoutConfigCompositionParams.md +0 -15
- data/docs/DailyStreamingCustomLayoutConfigCompositionParamsValue.md +0 -15
- data/docs/DailyStreamingDefaultLayoutConfig.md +0 -20
- data/docs/DailyStreamingEndpoint.md +0 -18
- data/docs/DailyStreamingLayoutConfig.md +0 -69
- data/docs/DailyStreamingOptions.md +0 -36
- data/docs/DailyStreamingPortraitLayoutConfig.md +0 -22
- data/docs/DailyStreamingPortraitLayoutVariant.md +0 -15
- data/docs/DailyStreamingSingleParticipantLayoutConfig.md +0 -20
- data/docs/DeleteTranscript200Response.md +0 -30
- data/docs/DialinApi.md +0 -80
- data/docs/DialoutProperties.md +0 -26
- data/docs/DialoutPropertiesCodecs.md +0 -20
- data/docs/Domain.md +0 -18
- data/docs/DomainApi.md +0 -149
- data/docs/DomainProperties.md +0 -84
- data/docs/Eject200Response.md +0 -18
- data/docs/EjectRequest.md +0 -22
- data/docs/GetDomainConfig200Response.md +0 -22
- data/docs/GetDomainConfig200ResponseConfig.md +0 -56
- data/docs/GetDomainConfig200ResponseConfigRecordingsBucket.md +0 -20
- data/docs/GetMeetingInfo200Response.md +0 -20
- data/docs/GetMeetingInfo200ResponseDataInner.md +0 -28
- data/docs/GetMeetingInfo200ResponseDataInnerParticipantsInner.md +0 -26
- data/docs/GetPresence200Response.md +0 -18
- data/docs/GetPresence200ResponseAIVWWhzHlLHrSdHdw7EWInner.md +0 -28
- data/docs/GetRecordingInfo200Response.md +0 -36
- data/docs/GetRecordingInfo200ResponseTracksInner.md +0 -21
- data/docs/GetRecordingLink200Response.md +0 -20
- data/docs/GetTranscriptInfo200Response.md +0 -32
- data/docs/GetTranscriptInfo200ResponseOutParams.md +0 -22
- data/docs/GetTranscriptLink200Response.md +0 -22
- data/docs/ListAPILogs200Response.md +0 -38
- data/docs/ListRecordings200Response.md +0 -20
- data/docs/ListRecordings200ResponseDataInner.md +0 -30
- data/docs/ListRooms200Response.md +0 -20
- data/docs/ListRooms200ResponseDataInner.md +0 -30
- data/docs/ListRooms200ResponseDataInnerConfig.md +0 -18
- data/docs/ListTranscript200Response.md +0 -20
- data/docs/ListTranscript200ResponseDataInner.md +0 -28
- data/docs/LogsApi.md +0 -177
- data/docs/MeetingEnded.md +0 -24
- data/docs/MeetingEndedPayload.md +0 -24
- data/docs/MeetingParticipantsGetRes.md +0 -18
- data/docs/MeetingParticipantsGetResDataInner.md +0 -28
- data/docs/MeetingStarted.md +0 -24
- data/docs/MeetingStartedPayload.md +0 -22
- data/docs/MeetingTokensApi.md +0 -157
- data/docs/MeetingsApi.md +0 -247
- data/docs/MeetingsMeetingGetRes.md +0 -28
- data/docs/ParticipantJoined.md +0 -24
- data/docs/ParticipantJoinedPayload.md +0 -32
- data/docs/ParticipantJoinedPayloadPermissions.md +0 -22
- data/docs/ParticipantLeft.md +0 -24
- data/docs/ParticipantLeftPayload.md +0 -34
- data/docs/Permissions.md +0 -22
- data/docs/PermissionsCanAdmin.md +0 -49
- data/docs/PermissionsCanSend.md +0 -49
- data/docs/PhoneNumbersApi.md +0 -304
- data/docs/PinDialinInner.md +0 -22
- data/docs/PinDialinInnerIvrGreeting.md +0 -18
- data/docs/PinlessCallUpdateRequest.md +0 -22
- data/docs/PinlessDialinInner.md +0 -24
- data/docs/PostWebhook.md +0 -26
- data/docs/PresenceApi.md +0 -74
- data/docs/Properties.md +0 -62
- data/docs/RecordingError.md +0 -24
- data/docs/RecordingErrorPayload.md +0 -26
- data/docs/RecordingReadyToDownload.md +0 -24
- data/docs/RecordingReadyToDownloadPayload.md +0 -34
- data/docs/RecordingStarted.md +0 -24
- data/docs/RecordingStartedPayload.md +0 -28
- data/docs/RecordingStreamingOptions.md +0 -38
- data/docs/RecordingsApi.md +0 -303
- data/docs/RecordingsBucket.md +0 -26
- data/docs/RoomDialOutSendDTMFRequest.md +0 -20
- data/docs/RoomDialOutStopRequest.md +0 -18
- data/docs/RoomProperties.md +0 -104
- data/docs/RoomPropertiesStreamingEndpointsInner.md +0 -28
- data/docs/RoomPropertiesStreamingEndpointsInnerHlsConfigVariantsInner.md +0 -26
- data/docs/RoomSipCallTransferRequest.md +0 -20
- data/docs/RoomsApi.md +0 -1794
- data/docs/RoomsRoomNameGetRes.md +0 -30
- data/docs/RoomsRoomNamePresenceGetRes.md +0 -20
- data/docs/RoomsRoomNamePresenceGetResDataInner.md +0 -28
- data/docs/SendAppMessageRequest.md +0 -20
- data/docs/SetRoomConfigRequest.md +0 -20
- data/docs/SetSessionDataRequest.md +0 -22
- data/docs/StreamingEnded.md +0 -24
- data/docs/StreamingEndedPayload.md +0 -22
- data/docs/StreamingError.md +0 -24
- data/docs/StreamingErrorPayload.md +0 -26
- data/docs/StreamingStarted.md +0 -24
- data/docs/StreamingStartedPayload.md +0 -24
- data/docs/StreamingUpdated.md +0 -24
- data/docs/StreamingUpdatedPayload.md +0 -24
- data/docs/TranscriptApi.md +0 -305
- data/docs/TranscriptionBucket.md +0 -24
- data/docs/TranscriptionProperties.md +0 -34
- data/docs/TranscriptionPropertiesEndpointing.md +0 -49
- data/docs/TranscriptionPropertiesRedact.md +0 -51
- data/docs/UpdatePermissionsRequest.md +0 -18
- data/docs/UpdatePermissionsRequestDataValue.md +0 -22
- data/docs/UpdatePermissionsRequestDataValueCanSend.md +0 -49
- data/docs/UpdateWebhook.md +0 -26
- data/docs/ValidateMeetingToken200Response.md +0 -28
- data/docs/WaitingParticipantJoined.md +0 -24
- data/docs/WaitingParticipantJoinedPayload.md +0 -32
- data/docs/WaitingParticipantLeft.md +0 -24
- data/docs/WaitingParticipantLeftPayload.md +0 -34
- data/docs/Webhook.md +0 -40
- data/docs/WebhooksApi.md +0 -370
- data/example.rb +0 -92
- data/git_push.sh +0 -57
- data/pkg/daily-ruby-1.0.2.gem +0 -0
- data/pkg/daily-ruby-1.0.3.gem +0 -0
- data/run.sh +0 -16
- data/spec/api/batch_rooms_api_spec.rb +0 -58
- data/spec/api/dialin_api_spec.rb +0 -47
- data/spec/api/domain_api_spec.rb +0 -58
- data/spec/api/logs_api_spec.rb +0 -70
- data/spec/api/meeting_tokens_api_spec.rb +0 -60
- data/spec/api/meetings_api_spec.rb +0 -81
- data/spec/api/phone_numbers_api_spec.rb +0 -87
- data/spec/api/presence_api_spec.rb +0 -45
- data/spec/api/recordings_api_spec.rb +0 -86
- data/spec/api/rooms_api_spec.rb +0 -278
- data/spec/api/transcript_api_spec.rb +0 -87
- data/spec/api/webhooks_api_spec.rb +0 -95
- data/spec/models/batch_processor_error_payload_input_spec.rb +0 -58
- data/spec/models/batch_processor_error_payload_spec.rb +0 -64
- data/spec/models/batch_processor_error_spec.rb +0 -58
- data/spec/models/batch_processor_job_finished_payload_input_spec.rb +0 -58
- data/spec/models/batch_processor_job_finished_payload_output_concept_spec.rb +0 -46
- data/spec/models/batch_processor_job_finished_payload_output_soap_s3_config_spec.rb +0 -48
- data/spec/models/batch_processor_job_finished_payload_output_soap_spec.rb +0 -46
- data/spec/models/batch_processor_job_finished_payload_output_spec.rb +0 -54
- data/spec/models/batch_processor_job_finished_payload_output_summary_spec.rb +0 -46
- data/spec/models/batch_processor_job_finished_payload_output_transcription_inner_spec.rb +0 -46
- data/spec/models/batch_processor_job_finished_payload_spec.rb +0 -64
- data/spec/models/batch_processor_job_finished_spec.rb +0 -58
- data/spec/models/batch_room_create_request_rooms_inner_spec.rb +0 -48
- data/spec/models/batch_room_create_request_spec.rb +0 -36
- data/spec/models/batch_room_delete200_response_spec.rb +0 -36
- data/spec/models/buy_phone_number_request_spec.rb +0 -36
- data/spec/models/create_meeting_token200_response_spec.rb +0 -36
- data/spec/models/create_meeting_token_request_spec.rb +0 -36
- data/spec/models/create_room200_response_spec.rb +0 -72
- data/spec/models/create_room_request_spec.rb +0 -48
- data/spec/models/daily_live_streaming_options_rtmp_url_spec.rb +0 -32
- data/spec/models/daily_live_streaming_options_spec.rb +0 -102
- data/spec/models/daily_streaming_active_participant_layout_config_spec.rb +0 -40
- data/spec/models/daily_streaming_custom_layout_config_composition_params_value_spec.rb +0 -21
- data/spec/models/daily_streaming_custom_layout_config_spec.rb +0 -58
- data/spec/models/daily_streaming_default_layout_config_spec.rb +0 -46
- data/spec/models/daily_streaming_endpoint_spec.rb +0 -36
- data/spec/models/daily_streaming_layout_config_spec.rb +0 -38
- data/spec/models/daily_streaming_options_spec.rb +0 -90
- data/spec/models/daily_streaming_portrait_layout_config_spec.rb +0 -52
- data/spec/models/daily_streaming_portrait_layout_variant_spec.rb +0 -30
- data/spec/models/daily_streaming_single_participant_layout_config_spec.rb +0 -46
- data/spec/models/delete_transcript200_response_spec.rb +0 -76
- data/spec/models/dialout_properties_codecs_spec.rb +0 -42
- data/spec/models/dialout_properties_spec.rb +0 -60
- data/spec/models/domain_properties_spec.rb +0 -208
- data/spec/models/domain_spec.rb +0 -36
- data/spec/models/eject200_response_spec.rb +0 -36
- data/spec/models/eject_request_spec.rb +0 -36
- data/spec/models/get_domain_config200_response_config_recordings_bucket_spec.rb +0 -42
- data/spec/models/get_domain_config200_response_config_spec.rb +0 -144
- data/spec/models/get_domain_config200_response_spec.rb +0 -48
- data/spec/models/get_meeting_info200_response_data_inner_participants_inner_spec.rb +0 -60
- data/spec/models/get_meeting_info200_response_data_inner_spec.rb +0 -66
- data/spec/models/get_meeting_info200_response_spec.rb +0 -42
- data/spec/models/get_presence200_response_aivw_whz_hl_lhr_sd_hdw7_ew_inner_spec.rb +0 -66
- data/spec/models/get_presence200_response_spec.rb +0 -36
- data/spec/models/get_recording_info200_response_spec.rb +0 -94
- data/spec/models/get_recording_info200_response_tracks_inner_spec.rb +0 -52
- data/spec/models/get_recording_link200_response_spec.rb +0 -42
- data/spec/models/get_transcript_info200_response_out_params_spec.rb +0 -48
- data/spec/models/get_transcript_info200_response_spec.rb +0 -82
- data/spec/models/get_transcript_link200_response_spec.rb +0 -48
- data/spec/models/list_api_logs200_response_spec.rb +0 -96
- data/spec/models/list_recordings200_response_data_inner_spec.rb +0 -72
- data/spec/models/list_recordings200_response_spec.rb +0 -42
- data/spec/models/list_rooms200_response_data_inner_config_spec.rb +0 -36
- data/spec/models/list_rooms200_response_data_inner_spec.rb +0 -72
- data/spec/models/list_rooms200_response_spec.rb +0 -42
- data/spec/models/list_transcript200_response_data_inner_spec.rb +0 -70
- data/spec/models/list_transcript200_response_spec.rb +0 -42
- data/spec/models/meeting_ended_payload_spec.rb +0 -54
- data/spec/models/meeting_ended_spec.rb +0 -58
- data/spec/models/meeting_participants_get_res_data_inner_spec.rb +0 -66
- data/spec/models/meeting_participants_get_res_spec.rb +0 -42
- data/spec/models/meeting_started_payload_spec.rb +0 -48
- data/spec/models/meeting_started_spec.rb +0 -58
- data/spec/models/meetings_meeting_get_res_spec.rb +0 -66
- data/spec/models/participant_joined_payload_permissions_spec.rb +0 -48
- data/spec/models/participant_joined_payload_spec.rb +0 -78
- data/spec/models/participant_joined_spec.rb +0 -58
- data/spec/models/participant_left_payload_spec.rb +0 -84
- data/spec/models/participant_left_spec.rb +0 -58
- data/spec/models/permissions_can_admin_spec.rb +0 -32
- data/spec/models/permissions_can_send_spec.rb +0 -32
- data/spec/models/permissions_spec.rb +0 -48
- data/spec/models/pin_dialin_inner_ivr_greeting_spec.rb +0 -36
- data/spec/models/pin_dialin_inner_spec.rb +0 -48
- data/spec/models/pinless_call_update_request_spec.rb +0 -48
- data/spec/models/pinless_dialin_inner_spec.rb +0 -54
- data/spec/models/post_webhook_spec.rb +0 -52
- data/spec/models/properties_spec.rb +0 -170
- data/spec/models/recording_error_payload_spec.rb +0 -64
- data/spec/models/recording_error_spec.rb +0 -58
- data/spec/models/recording_ready_to_download_payload_spec.rb +0 -92
- data/spec/models/recording_ready_to_download_spec.rb +0 -58
- data/spec/models/recording_started_payload_spec.rb +0 -70
- data/spec/models/recording_started_spec.rb +0 -58
- data/spec/models/recording_streaming_options_spec.rb +0 -100
- data/spec/models/recordings_bucket_spec.rb +0 -60
- data/spec/models/room_dial_out_send_dtmf_request_spec.rb +0 -42
- data/spec/models/room_dial_out_stop_request_spec.rb +0 -36
- data/spec/models/room_properties_spec.rb +0 -272
- data/spec/models/room_properties_streaming_endpoints_inner_hls_config_variants_inner_spec.rb +0 -60
- data/spec/models/room_properties_streaming_endpoints_inner_spec.rb +0 -66
- data/spec/models/room_sip_call_transfer_request_spec.rb +0 -42
- data/spec/models/rooms_room_name_get_res_spec.rb +0 -72
- data/spec/models/rooms_room_name_presence_get_res_data_inner_spec.rb +0 -66
- data/spec/models/rooms_room_name_presence_get_res_spec.rb +0 -42
- data/spec/models/send_app_message_request_spec.rb +0 -42
- data/spec/models/set_room_config_request_spec.rb +0 -42
- data/spec/models/set_session_data_request_spec.rb +0 -52
- data/spec/models/streaming_ended_payload_spec.rb +0 -48
- data/spec/models/streaming_ended_spec.rb +0 -58
- data/spec/models/streaming_error_payload_spec.rb +0 -60
- data/spec/models/streaming_error_spec.rb +0 -58
- data/spec/models/streaming_started_payload_spec.rb +0 -54
- data/spec/models/streaming_started_spec.rb +0 -58
- data/spec/models/streaming_updated_payload_spec.rb +0 -54
- data/spec/models/streaming_updated_spec.rb +0 -58
- data/spec/models/transcription_bucket_spec.rb +0 -54
- data/spec/models/transcription_properties_endpointing_spec.rb +0 -32
- data/spec/models/transcription_properties_redact_spec.rb +0 -32
- data/spec/models/transcription_properties_spec.rb +0 -78
- data/spec/models/update_permissions_request_data_value_can_send_spec.rb +0 -32
- data/spec/models/update_permissions_request_data_value_spec.rb +0 -48
- data/spec/models/update_permissions_request_spec.rb +0 -36
- data/spec/models/update_webhook_spec.rb +0 -52
- data/spec/models/validate_meeting_token200_response_spec.rb +0 -66
- data/spec/models/waiting_participant_joined_payload_spec.rb +0 -78
- data/spec/models/waiting_participant_joined_spec.rb +0 -58
- data/spec/models/waiting_participant_left_payload_spec.rb +0 -84
- data/spec/models/waiting_participant_left_spec.rb +0 -58
- data/spec/models/webhook_spec.rb +0 -100
- data/spec/spec_helper.rb +0 -111
data/docs/WebhooksApi.md
DELETED
|
@@ -1,370 +0,0 @@
|
|
|
1
|
-
# Daily::WebhooksApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *https://api.daily.co/v1*
|
|
4
|
-
|
|
5
|
-
| Method | HTTP request | Description |
|
|
6
|
-
| ------ | ------------ | ----------- |
|
|
7
|
-
| [**create_webhook**](WebhooksApi.md#create_webhook) | **POST** /webhooks | /webhooks |
|
|
8
|
-
| [**delete_webhook**](WebhooksApi.md#delete_webhook) | **DELETE** /webhooks/{id} | webhooks/:id |
|
|
9
|
-
| [**get_webhook_config**](WebhooksApi.md#get_webhook_config) | **GET** /webhooks/{id} | webhooks/:id |
|
|
10
|
-
| [**get_webhooks**](WebhooksApi.md#get_webhooks) | **GET** /webhooks | /webhooks |
|
|
11
|
-
| [**update_webhook_config**](WebhooksApi.md#update_webhook_config) | **POST** /webhooks/{id} | webhooks/:id |
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
## create_webhook
|
|
15
|
-
|
|
16
|
-
> <Webhook> create_webhook(opts)
|
|
17
|
-
|
|
18
|
-
/webhooks
|
|
19
|
-
|
|
20
|
-
Create a webhook
|
|
21
|
-
|
|
22
|
-
### Examples
|
|
23
|
-
|
|
24
|
-
```ruby
|
|
25
|
-
require 'time'
|
|
26
|
-
require 'daily-ruby'
|
|
27
|
-
# setup authorization
|
|
28
|
-
Daily.configure do |config|
|
|
29
|
-
# Configure API key authorization: sec0
|
|
30
|
-
config.api_key['sec0'] = 'YOUR API KEY'
|
|
31
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
32
|
-
# config.api_key_prefix['sec0'] = 'Bearer'
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
api_instance = Daily::WebhooksApi.new
|
|
36
|
-
opts = {
|
|
37
|
-
post_webhook: Daily::PostWebhook.new # PostWebhook |
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
begin
|
|
41
|
-
# /webhooks
|
|
42
|
-
result = api_instance.create_webhook(opts)
|
|
43
|
-
p result
|
|
44
|
-
rescue Daily::ApiError => e
|
|
45
|
-
puts "Error when calling WebhooksApi->create_webhook: #{e}"
|
|
46
|
-
end
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
#### Using the create_webhook_with_http_info variant
|
|
50
|
-
|
|
51
|
-
This returns an Array which contains the response data, status code and headers.
|
|
52
|
-
|
|
53
|
-
> <Array(<Webhook>, Integer, Hash)> create_webhook_with_http_info(opts)
|
|
54
|
-
|
|
55
|
-
```ruby
|
|
56
|
-
begin
|
|
57
|
-
# /webhooks
|
|
58
|
-
data, status_code, headers = api_instance.create_webhook_with_http_info(opts)
|
|
59
|
-
p status_code # => 2xx
|
|
60
|
-
p headers # => { ... }
|
|
61
|
-
p data # => <Webhook>
|
|
62
|
-
rescue Daily::ApiError => e
|
|
63
|
-
puts "Error when calling WebhooksApi->create_webhook_with_http_info: #{e}"
|
|
64
|
-
end
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
### Parameters
|
|
68
|
-
|
|
69
|
-
| Name | Type | Description | Notes |
|
|
70
|
-
| ---- | ---- | ----------- | ----- |
|
|
71
|
-
| **post_webhook** | [**PostWebhook**](PostWebhook.md) | | [optional] |
|
|
72
|
-
|
|
73
|
-
### Return type
|
|
74
|
-
|
|
75
|
-
[**Webhook**](Webhook.md)
|
|
76
|
-
|
|
77
|
-
### Authorization
|
|
78
|
-
|
|
79
|
-
[sec0](../README.md#sec0)
|
|
80
|
-
|
|
81
|
-
### HTTP request headers
|
|
82
|
-
|
|
83
|
-
- **Content-Type**: application/json
|
|
84
|
-
- **Accept**: application/json
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
## delete_webhook
|
|
88
|
-
|
|
89
|
-
> Object delete_webhook(id)
|
|
90
|
-
|
|
91
|
-
webhooks/:id
|
|
92
|
-
|
|
93
|
-
Delete a webhook
|
|
94
|
-
|
|
95
|
-
### Examples
|
|
96
|
-
|
|
97
|
-
```ruby
|
|
98
|
-
require 'time'
|
|
99
|
-
require 'daily-ruby'
|
|
100
|
-
# setup authorization
|
|
101
|
-
Daily.configure do |config|
|
|
102
|
-
# Configure API key authorization: sec0
|
|
103
|
-
config.api_key['sec0'] = 'YOUR API KEY'
|
|
104
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
105
|
-
# config.api_key_prefix['sec0'] = 'Bearer'
|
|
106
|
-
end
|
|
107
|
-
|
|
108
|
-
api_instance = Daily::WebhooksApi.new
|
|
109
|
-
id = 'id_example' # String |
|
|
110
|
-
|
|
111
|
-
begin
|
|
112
|
-
# webhooks/:id
|
|
113
|
-
result = api_instance.delete_webhook(id)
|
|
114
|
-
p result
|
|
115
|
-
rescue Daily::ApiError => e
|
|
116
|
-
puts "Error when calling WebhooksApi->delete_webhook: #{e}"
|
|
117
|
-
end
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
#### Using the delete_webhook_with_http_info variant
|
|
121
|
-
|
|
122
|
-
This returns an Array which contains the response data, status code and headers.
|
|
123
|
-
|
|
124
|
-
> <Array(Object, Integer, Hash)> delete_webhook_with_http_info(id)
|
|
125
|
-
|
|
126
|
-
```ruby
|
|
127
|
-
begin
|
|
128
|
-
# webhooks/:id
|
|
129
|
-
data, status_code, headers = api_instance.delete_webhook_with_http_info(id)
|
|
130
|
-
p status_code # => 2xx
|
|
131
|
-
p headers # => { ... }
|
|
132
|
-
p data # => Object
|
|
133
|
-
rescue Daily::ApiError => e
|
|
134
|
-
puts "Error when calling WebhooksApi->delete_webhook_with_http_info: #{e}"
|
|
135
|
-
end
|
|
136
|
-
```
|
|
137
|
-
|
|
138
|
-
### Parameters
|
|
139
|
-
|
|
140
|
-
| Name | Type | Description | Notes |
|
|
141
|
-
| ---- | ---- | ----------- | ----- |
|
|
142
|
-
| **id** | **String** | | |
|
|
143
|
-
|
|
144
|
-
### Return type
|
|
145
|
-
|
|
146
|
-
**Object**
|
|
147
|
-
|
|
148
|
-
### Authorization
|
|
149
|
-
|
|
150
|
-
[sec0](../README.md#sec0)
|
|
151
|
-
|
|
152
|
-
### HTTP request headers
|
|
153
|
-
|
|
154
|
-
- **Content-Type**: Not defined
|
|
155
|
-
- **Accept**: application/json
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
## get_webhook_config
|
|
159
|
-
|
|
160
|
-
> <Array<Webhook>> get_webhook_config(id)
|
|
161
|
-
|
|
162
|
-
webhooks/:id
|
|
163
|
-
|
|
164
|
-
Get info about a webhook
|
|
165
|
-
|
|
166
|
-
### Examples
|
|
167
|
-
|
|
168
|
-
```ruby
|
|
169
|
-
require 'time'
|
|
170
|
-
require 'daily-ruby'
|
|
171
|
-
# setup authorization
|
|
172
|
-
Daily.configure do |config|
|
|
173
|
-
# Configure API key authorization: sec0
|
|
174
|
-
config.api_key['sec0'] = 'YOUR API KEY'
|
|
175
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
176
|
-
# config.api_key_prefix['sec0'] = 'Bearer'
|
|
177
|
-
end
|
|
178
|
-
|
|
179
|
-
api_instance = Daily::WebhooksApi.new
|
|
180
|
-
id = 'id_example' # String |
|
|
181
|
-
|
|
182
|
-
begin
|
|
183
|
-
# webhooks/:id
|
|
184
|
-
result = api_instance.get_webhook_config(id)
|
|
185
|
-
p result
|
|
186
|
-
rescue Daily::ApiError => e
|
|
187
|
-
puts "Error when calling WebhooksApi->get_webhook_config: #{e}"
|
|
188
|
-
end
|
|
189
|
-
```
|
|
190
|
-
|
|
191
|
-
#### Using the get_webhook_config_with_http_info variant
|
|
192
|
-
|
|
193
|
-
This returns an Array which contains the response data, status code and headers.
|
|
194
|
-
|
|
195
|
-
> <Array(<Array<Webhook>>, Integer, Hash)> get_webhook_config_with_http_info(id)
|
|
196
|
-
|
|
197
|
-
```ruby
|
|
198
|
-
begin
|
|
199
|
-
# webhooks/:id
|
|
200
|
-
data, status_code, headers = api_instance.get_webhook_config_with_http_info(id)
|
|
201
|
-
p status_code # => 2xx
|
|
202
|
-
p headers # => { ... }
|
|
203
|
-
p data # => <Array<Webhook>>
|
|
204
|
-
rescue Daily::ApiError => e
|
|
205
|
-
puts "Error when calling WebhooksApi->get_webhook_config_with_http_info: #{e}"
|
|
206
|
-
end
|
|
207
|
-
```
|
|
208
|
-
|
|
209
|
-
### Parameters
|
|
210
|
-
|
|
211
|
-
| Name | Type | Description | Notes |
|
|
212
|
-
| ---- | ---- | ----------- | ----- |
|
|
213
|
-
| **id** | **String** | | |
|
|
214
|
-
|
|
215
|
-
### Return type
|
|
216
|
-
|
|
217
|
-
[**Array<Webhook>**](Webhook.md)
|
|
218
|
-
|
|
219
|
-
### Authorization
|
|
220
|
-
|
|
221
|
-
[sec0](../README.md#sec0)
|
|
222
|
-
|
|
223
|
-
### HTTP request headers
|
|
224
|
-
|
|
225
|
-
- **Content-Type**: Not defined
|
|
226
|
-
- **Accept**: application/json
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
## get_webhooks
|
|
230
|
-
|
|
231
|
-
> <Array<Webhook>> get_webhooks
|
|
232
|
-
|
|
233
|
-
/webhooks
|
|
234
|
-
|
|
235
|
-
Get Webhooks
|
|
236
|
-
|
|
237
|
-
### Examples
|
|
238
|
-
|
|
239
|
-
```ruby
|
|
240
|
-
require 'time'
|
|
241
|
-
require 'daily-ruby'
|
|
242
|
-
# setup authorization
|
|
243
|
-
Daily.configure do |config|
|
|
244
|
-
# Configure API key authorization: sec0
|
|
245
|
-
config.api_key['sec0'] = 'YOUR API KEY'
|
|
246
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
247
|
-
# config.api_key_prefix['sec0'] = 'Bearer'
|
|
248
|
-
end
|
|
249
|
-
|
|
250
|
-
api_instance = Daily::WebhooksApi.new
|
|
251
|
-
|
|
252
|
-
begin
|
|
253
|
-
# /webhooks
|
|
254
|
-
result = api_instance.get_webhooks
|
|
255
|
-
p result
|
|
256
|
-
rescue Daily::ApiError => e
|
|
257
|
-
puts "Error when calling WebhooksApi->get_webhooks: #{e}"
|
|
258
|
-
end
|
|
259
|
-
```
|
|
260
|
-
|
|
261
|
-
#### Using the get_webhooks_with_http_info variant
|
|
262
|
-
|
|
263
|
-
This returns an Array which contains the response data, status code and headers.
|
|
264
|
-
|
|
265
|
-
> <Array(<Array<Webhook>>, Integer, Hash)> get_webhooks_with_http_info
|
|
266
|
-
|
|
267
|
-
```ruby
|
|
268
|
-
begin
|
|
269
|
-
# /webhooks
|
|
270
|
-
data, status_code, headers = api_instance.get_webhooks_with_http_info
|
|
271
|
-
p status_code # => 2xx
|
|
272
|
-
p headers # => { ... }
|
|
273
|
-
p data # => <Array<Webhook>>
|
|
274
|
-
rescue Daily::ApiError => e
|
|
275
|
-
puts "Error when calling WebhooksApi->get_webhooks_with_http_info: #{e}"
|
|
276
|
-
end
|
|
277
|
-
```
|
|
278
|
-
|
|
279
|
-
### Parameters
|
|
280
|
-
|
|
281
|
-
This endpoint does not need any parameter.
|
|
282
|
-
|
|
283
|
-
### Return type
|
|
284
|
-
|
|
285
|
-
[**Array<Webhook>**](Webhook.md)
|
|
286
|
-
|
|
287
|
-
### Authorization
|
|
288
|
-
|
|
289
|
-
[sec0](../README.md#sec0)
|
|
290
|
-
|
|
291
|
-
### HTTP request headers
|
|
292
|
-
|
|
293
|
-
- **Content-Type**: Not defined
|
|
294
|
-
- **Accept**: application/json
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
## update_webhook_config
|
|
298
|
-
|
|
299
|
-
> <Webhook> update_webhook_config(id, opts)
|
|
300
|
-
|
|
301
|
-
webhooks/:id
|
|
302
|
-
|
|
303
|
-
Update webhook config
|
|
304
|
-
|
|
305
|
-
### Examples
|
|
306
|
-
|
|
307
|
-
```ruby
|
|
308
|
-
require 'time'
|
|
309
|
-
require 'daily-ruby'
|
|
310
|
-
# setup authorization
|
|
311
|
-
Daily.configure do |config|
|
|
312
|
-
# Configure API key authorization: sec0
|
|
313
|
-
config.api_key['sec0'] = 'YOUR API KEY'
|
|
314
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
315
|
-
# config.api_key_prefix['sec0'] = 'Bearer'
|
|
316
|
-
end
|
|
317
|
-
|
|
318
|
-
api_instance = Daily::WebhooksApi.new
|
|
319
|
-
id = 'id_example' # String |
|
|
320
|
-
opts = {
|
|
321
|
-
update_webhook: Daily::UpdateWebhook.new # UpdateWebhook |
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
begin
|
|
325
|
-
# webhooks/:id
|
|
326
|
-
result = api_instance.update_webhook_config(id, opts)
|
|
327
|
-
p result
|
|
328
|
-
rescue Daily::ApiError => e
|
|
329
|
-
puts "Error when calling WebhooksApi->update_webhook_config: #{e}"
|
|
330
|
-
end
|
|
331
|
-
```
|
|
332
|
-
|
|
333
|
-
#### Using the update_webhook_config_with_http_info variant
|
|
334
|
-
|
|
335
|
-
This returns an Array which contains the response data, status code and headers.
|
|
336
|
-
|
|
337
|
-
> <Array(<Webhook>, Integer, Hash)> update_webhook_config_with_http_info(id, opts)
|
|
338
|
-
|
|
339
|
-
```ruby
|
|
340
|
-
begin
|
|
341
|
-
# webhooks/:id
|
|
342
|
-
data, status_code, headers = api_instance.update_webhook_config_with_http_info(id, opts)
|
|
343
|
-
p status_code # => 2xx
|
|
344
|
-
p headers # => { ... }
|
|
345
|
-
p data # => <Webhook>
|
|
346
|
-
rescue Daily::ApiError => e
|
|
347
|
-
puts "Error when calling WebhooksApi->update_webhook_config_with_http_info: #{e}"
|
|
348
|
-
end
|
|
349
|
-
```
|
|
350
|
-
|
|
351
|
-
### Parameters
|
|
352
|
-
|
|
353
|
-
| Name | Type | Description | Notes |
|
|
354
|
-
| ---- | ---- | ----------- | ----- |
|
|
355
|
-
| **id** | **String** | | |
|
|
356
|
-
| **update_webhook** | [**UpdateWebhook**](UpdateWebhook.md) | | [optional] |
|
|
357
|
-
|
|
358
|
-
### Return type
|
|
359
|
-
|
|
360
|
-
[**Webhook**](Webhook.md)
|
|
361
|
-
|
|
362
|
-
### Authorization
|
|
363
|
-
|
|
364
|
-
[sec0](../README.md#sec0)
|
|
365
|
-
|
|
366
|
-
### HTTP request headers
|
|
367
|
-
|
|
368
|
-
- **Content-Type**: application/json
|
|
369
|
-
- **Accept**: application/json
|
|
370
|
-
|
data/example.rb
DELETED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
# Load the gem
|
|
2
|
-
require 'daily-ruby'
|
|
3
|
-
|
|
4
|
-
p 'Version: ' + Daily::VERSION
|
|
5
|
-
|
|
6
|
-
# Setup authorization
|
|
7
|
-
Daily.configure do |config|
|
|
8
|
-
# Configure Bearer authorization: bearerAuth
|
|
9
|
-
config.api_key['sec0'] = ENV['DAILY_API_KEY']
|
|
10
|
-
config.api_key_prefix['sec0'] = 'Bearer'
|
|
11
|
-
# Configure faraday connection
|
|
12
|
-
# config.configure_faraday_connection { |connection| 'YOUR CONNECTION CONFIG PROC' }
|
|
13
|
-
end
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
room_api_instance = Daily::RoomsApi.new
|
|
17
|
-
opts = {
|
|
18
|
-
create_room_request: Daily::CreateRoomRequest.new(
|
|
19
|
-
privacy: 'private',
|
|
20
|
-
properties: {
|
|
21
|
-
exp: (Time.now + (3600 * 2)).to_i, # Delete the room after two hours
|
|
22
|
-
enable_mesh_sfu: true,
|
|
23
|
-
sfu_switchover: 0.5,
|
|
24
|
-
enable_recording: "cloud",
|
|
25
|
-
dialin: {
|
|
26
|
-
display_name: 'Phone Caller',
|
|
27
|
-
wait_for_meeting_start: true
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
)
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
begin
|
|
34
|
-
# Create a new room
|
|
35
|
-
room = room_api_instance.create_room(opts)
|
|
36
|
-
p room
|
|
37
|
-
rescue Daily::ApiError => e
|
|
38
|
-
puts "Error when calling RoomApi->create_room: #{e}"
|
|
39
|
-
end
|
|
40
|
-
|
|
41
|
-
meeting_token_api_instance = Daily::MeetingTokensApi.new
|
|
42
|
-
|
|
43
|
-
# Create an owner meeting_token for the room with privacy set to private and
|
|
44
|
-
# the expiration set to 2 hours from now.
|
|
45
|
-
|
|
46
|
-
opts = {
|
|
47
|
-
create_meeting_token_request: Daily::CreateMeetingTokenRequest.new({
|
|
48
|
-
properties: {
|
|
49
|
-
is_owner: true,
|
|
50
|
-
room_name: room.name,
|
|
51
|
-
start_cloud_recording: true,
|
|
52
|
-
exp: (Time.now + (3600 * 2)).to_i # Expire the token after two hours
|
|
53
|
-
}
|
|
54
|
-
})
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
p opts
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
begin
|
|
61
|
-
# Create a new meeting token
|
|
62
|
-
meeting_token = meeting_token_api_instance.create_meeting_token(opts)
|
|
63
|
-
p meeting_token
|
|
64
|
-
rescue Daily::ApiError => e
|
|
65
|
-
puts "Error when calling MeetingTokensApi->create_meeting_token: #{e}"
|
|
66
|
-
end
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
p "Room url: " + room.url
|
|
70
|
-
p "Meeting token: " + meeting_token.token
|
|
71
|
-
|
|
72
|
-
recordings_api_instance = Daily::RecordingsApi.new
|
|
73
|
-
recordings_opts = {
|
|
74
|
-
limit: 5 # Fetch the 5 most recent recordings
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
begin
|
|
78
|
-
# List the most recent recordings
|
|
79
|
-
recordings = recordings_api_instance.list_recordings(recordings_opts)
|
|
80
|
-
puts "Recent Recordings:"
|
|
81
|
-
recordings.data.each do |recording|
|
|
82
|
-
puts "ID: #{recording.id}, Status: #{recording.status}"
|
|
83
|
-
|
|
84
|
-
# Generate an access link for the recording
|
|
85
|
-
access_link = recordings_api_instance.get_recording_link(recording.id)
|
|
86
|
-
puts "Access Link: #{access_link.download_link}"
|
|
87
|
-
end
|
|
88
|
-
rescue Daily::ApiError => e
|
|
89
|
-
puts "Error when calling RecordingsApi->list_recordings or get_recording_link: #{e}"
|
|
90
|
-
end
|
|
91
|
-
|
|
92
|
-
|
data/git_push.sh
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
|
3
|
-
#
|
|
4
|
-
# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
|
|
5
|
-
|
|
6
|
-
git_user_id=$1
|
|
7
|
-
git_repo_id=$2
|
|
8
|
-
release_note=$3
|
|
9
|
-
git_host=$4
|
|
10
|
-
|
|
11
|
-
if [ "$git_host" = "" ]; then
|
|
12
|
-
git_host="github.com"
|
|
13
|
-
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
|
|
14
|
-
fi
|
|
15
|
-
|
|
16
|
-
if [ "$git_user_id" = "" ]; then
|
|
17
|
-
git_user_id="GIT_USER_ID"
|
|
18
|
-
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
|
19
|
-
fi
|
|
20
|
-
|
|
21
|
-
if [ "$git_repo_id" = "" ]; then
|
|
22
|
-
git_repo_id="GIT_REPO_ID"
|
|
23
|
-
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
|
24
|
-
fi
|
|
25
|
-
|
|
26
|
-
if [ "$release_note" = "" ]; then
|
|
27
|
-
release_note="Minor update"
|
|
28
|
-
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
|
29
|
-
fi
|
|
30
|
-
|
|
31
|
-
# Initialize the local directory as a Git repository
|
|
32
|
-
git init
|
|
33
|
-
|
|
34
|
-
# Adds the files in the local repository and stages them for commit.
|
|
35
|
-
git add .
|
|
36
|
-
|
|
37
|
-
# Commits the tracked changes and prepares them to be pushed to a remote repository.
|
|
38
|
-
git commit -m "$release_note"
|
|
39
|
-
|
|
40
|
-
# Sets the new remote
|
|
41
|
-
git_remote=$(git remote)
|
|
42
|
-
if [ "$git_remote" = "" ]; then # git remote not defined
|
|
43
|
-
|
|
44
|
-
if [ "$GIT_TOKEN" = "" ]; then
|
|
45
|
-
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
|
46
|
-
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
|
|
47
|
-
else
|
|
48
|
-
git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
|
|
49
|
-
fi
|
|
50
|
-
|
|
51
|
-
fi
|
|
52
|
-
|
|
53
|
-
git pull origin master
|
|
54
|
-
|
|
55
|
-
# Pushes (Forces) the changes in the local repository up to the remote repository
|
|
56
|
-
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
|
|
57
|
-
git push origin master 2>&1 | grep -v 'To https'
|
data/pkg/daily-ruby-1.0.2.gem
DELETED
|
Binary file
|
data/pkg/daily-ruby-1.0.3.gem
DELETED
|
Binary file
|
data/run.sh
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
|
|
3
|
-
openapi-generator generate -g ruby -o . \
|
|
4
|
-
-i ~/git/pluot-core/north-star/packages/docs-site/lib/oas/index.yaml \
|
|
5
|
-
--additional-properties=gemName=daily-ruby \
|
|
6
|
-
--additional-properties=moduleName=Daily \
|
|
7
|
-
--additional-properties=gemVersion=1.0.3 \
|
|
8
|
-
--additional-properties=gemLicense=MIT \
|
|
9
|
-
--additional-properties=gemAuthor=Daily \
|
|
10
|
-
--additional-properties=gemAuthorEmail=help@daily.co \
|
|
11
|
-
--additional-properties=gemDescription="The official Daily API Ruby client" \
|
|
12
|
-
--additional-properties=gemSummary="The official Daily API Ruby client" \
|
|
13
|
-
--additional-properties=gemHomepage="https://www.github.com/daily-co/daily-ruby" \
|
|
14
|
-
--additional-properties=disallowAdditionalPropertiesIfNotPresent=false \
|
|
15
|
-
--additional-properties=library=faraday \
|
|
16
|
-
--additional-properties=enumUnknownDefaultCase=true \
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#Daily API
|
|
3
|
-
|
|
4
|
-
#The Daily REST API offers the ability to manage the following: - Overall Domain Configuration - Individual Room creation and config management - Meeting token creation and validation - Recording and compositing management - Meeting analytics - Logs and metrics - Real-time presence Please reach out to help@daily.co if we can help with anything
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 1.1.1
|
|
7
|
-
Contact: help@daily.co
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.3.0
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
|
|
16
|
-
# Unit tests for Daily::BatchRoomsApi
|
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
-
# Please update as you see appropriate
|
|
19
|
-
describe 'BatchRoomsApi' do
|
|
20
|
-
before do
|
|
21
|
-
# run before each test
|
|
22
|
-
@api_instance = Daily::BatchRoomsApi.new
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
after do
|
|
26
|
-
# run after each test
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
describe 'test an instance of BatchRoomsApi' do
|
|
30
|
-
it 'should create an instance of BatchRoomsApi' do
|
|
31
|
-
expect(@api_instance).to be_instance_of(Daily::BatchRoomsApi)
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
# unit tests for batch_room_create
|
|
36
|
-
# /batch/rooms
|
|
37
|
-
# Create rooms in bulk
|
|
38
|
-
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @option opts [BatchRoomCreateRequest] :batch_room_create_request
|
|
40
|
-
# @return [Array<RoomsRoomNameGetRes>]
|
|
41
|
-
describe 'batch_room_create test' do
|
|
42
|
-
it 'should work' do
|
|
43
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
44
|
-
end
|
|
45
|
-
end
|
|
46
|
-
|
|
47
|
-
# unit tests for batch_room_delete
|
|
48
|
-
# /batch/rooms
|
|
49
|
-
# Delete rooms in bulk
|
|
50
|
-
# @param [Hash] opts the optional parameters
|
|
51
|
-
# @return [BatchRoomDelete200Response]
|
|
52
|
-
describe 'batch_room_delete test' do
|
|
53
|
-
it 'should work' do
|
|
54
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
55
|
-
end
|
|
56
|
-
end
|
|
57
|
-
|
|
58
|
-
end
|
data/spec/api/dialin_api_spec.rb
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#Daily API
|
|
3
|
-
|
|
4
|
-
#The Daily REST API offers the ability to manage the following: - Overall Domain Configuration - Individual Room creation and config management - Meeting token creation and validation - Recording and compositing management - Meeting analytics - Logs and metrics - Real-time presence Please reach out to help@daily.co if we can help with anything
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 1.1.1
|
|
7
|
-
Contact: help@daily.co
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.5.0
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
|
|
16
|
-
# Unit tests for Daily::DialinApi
|
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
-
# Please update as you see appropriate
|
|
19
|
-
describe 'DialinApi' do
|
|
20
|
-
before do
|
|
21
|
-
# run before each test
|
|
22
|
-
@api_instance = Daily::DialinApi.new
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
after do
|
|
26
|
-
# run after each test
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
describe 'test an instance of DialinApi' do
|
|
30
|
-
it 'should create an instance of DialinApi' do
|
|
31
|
-
expect(@api_instance).to be_instance_of(Daily::DialinApi)
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
# unit tests for pinless_call_update
|
|
36
|
-
# /dialin/pinlessCallUpdate
|
|
37
|
-
# Direct a SIP or PSTN call on hold to a specified SIP URI associated to a Daily Room.
|
|
38
|
-
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @option opts [PinlessCallUpdateRequest] :pinless_call_update_request
|
|
40
|
-
# @return [nil]
|
|
41
|
-
describe 'pinless_call_update test' do
|
|
42
|
-
it 'should work' do
|
|
43
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
44
|
-
end
|
|
45
|
-
end
|
|
46
|
-
|
|
47
|
-
end
|
data/spec/api/domain_api_spec.rb
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#Daily API
|
|
3
|
-
|
|
4
|
-
#The Daily REST API offers the ability to manage the following: - Overall Domain Configuration - Individual Room creation and config management - Meeting token creation and validation - Recording and compositing management - Meeting analytics - Logs and metrics - Real-time presence Please reach out to help@daily.co if we can help with anything
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 1.1.1
|
|
7
|
-
Contact: help@daily.co
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.3.0
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
|
|
16
|
-
# Unit tests for Daily::DomainApi
|
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
-
# Please update as you see appropriate
|
|
19
|
-
describe 'DomainApi' do
|
|
20
|
-
before do
|
|
21
|
-
# run before each test
|
|
22
|
-
@api_instance = Daily::DomainApi.new
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
after do
|
|
26
|
-
# run after each test
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
describe 'test an instance of DomainApi' do
|
|
30
|
-
it 'should create an instance of DomainApi' do
|
|
31
|
-
expect(@api_instance).to be_instance_of(Daily::DomainApi)
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
# unit tests for get_domain_config
|
|
36
|
-
# Get domain configuration
|
|
37
|
-
# Get top-level configuration of your domain
|
|
38
|
-
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @return [GetDomainConfig200Response]
|
|
40
|
-
describe 'get_domain_config test' do
|
|
41
|
-
it 'should work' do
|
|
42
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
|
|
46
|
-
# unit tests for set_domain_config
|
|
47
|
-
# Set domain configuration
|
|
48
|
-
# Set top-level configuration options for your domain
|
|
49
|
-
# @param [Hash] opts the optional parameters
|
|
50
|
-
# @option opts [Domain] :domain
|
|
51
|
-
# @return [nil]
|
|
52
|
-
describe 'set_domain_config test' do
|
|
53
|
-
it 'should work' do
|
|
54
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
55
|
-
end
|
|
56
|
-
end
|
|
57
|
-
|
|
58
|
-
end
|