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.
Files changed (249) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +0 -1
  3. data/Gemfile.lock +9 -28
  4. data/README.md +62 -52
  5. data/daily-ruby.gemspec +4 -3
  6. data/docs/BatchProcessorError.md +24 -0
  7. data/docs/BatchProcessorErrorPayload.md +26 -0
  8. data/docs/BatchProcessorErrorPayloadInput.md +24 -0
  9. data/docs/BatchProcessorJobFinished.md +24 -0
  10. data/docs/BatchProcessorJobFinishedPayload.md +26 -0
  11. data/docs/BatchProcessorJobFinishedPayloadInput.md +24 -0
  12. data/docs/BatchProcessorJobFinishedPayloadOutput.md +24 -0
  13. data/docs/BatchProcessorJobFinishedPayloadOutputConcept.md +20 -0
  14. data/docs/BatchProcessorJobFinishedPayloadOutputSoap.md +20 -0
  15. data/docs/BatchProcessorJobFinishedPayloadOutputSoapS3Config.md +22 -0
  16. data/docs/BatchProcessorJobFinishedPayloadOutputSummary.md +20 -0
  17. data/docs/BatchProcessorJobFinishedPayloadOutputTranscriptionInner.md +20 -0
  18. data/docs/BuyPhoneNumberRequest.md +18 -0
  19. data/docs/DailyStreamingCustomLayoutConfig.md +1 -1
  20. data/docs/DailyStreamingCustomLayoutConfigCompositionParamsValue.md +15 -0
  21. data/docs/DialinApi.md +80 -0
  22. data/docs/DialoutProperties.md +26 -0
  23. data/docs/DialoutPropertiesCodecs.md +20 -0
  24. data/docs/DomainProperties.md +14 -4
  25. data/docs/EjectRequest.md +6 -2
  26. data/docs/GetDomainConfig200ResponseConfig.md +2 -0
  27. data/docs/GetTranscriptInfo200Response.md +1 -1
  28. data/docs/ListAPILogs200Response.md +1 -1
  29. data/docs/MeetingEnded.md +24 -0
  30. data/docs/MeetingEndedPayload.md +24 -0
  31. data/docs/MeetingParticipantsGetRes.md +0 -2
  32. data/docs/MeetingStarted.md +24 -0
  33. data/docs/MeetingStartedPayload.md +22 -0
  34. data/docs/ParticipantJoined.md +24 -0
  35. data/docs/ParticipantJoinedPayload.md +32 -0
  36. data/docs/ParticipantJoinedPayloadPermissions.md +22 -0
  37. data/docs/ParticipantLeft.md +24 -0
  38. data/docs/ParticipantLeftPayload.md +34 -0
  39. data/docs/PhoneNumbersApi.md +304 -0
  40. data/docs/PinDialinInner.md +22 -0
  41. data/docs/PinDialinInnerIvrGreeting.md +18 -0
  42. data/docs/PinlessCallUpdateRequest.md +22 -0
  43. data/docs/PinlessDialinInner.md +24 -0
  44. data/docs/PostWebhook.md +5 -1
  45. data/docs/Properties.md +3 -1
  46. data/docs/RecordingError.md +1 -1
  47. data/docs/RecordingReadyToDownload.md +1 -1
  48. data/docs/RecordingStarted.md +1 -1
  49. data/docs/RoomDialOutSendDTMFRequest.md +20 -0
  50. data/docs/RoomDialOutStopRequest.md +18 -0
  51. data/docs/RoomProperties.md +12 -2
  52. data/docs/RoomSipCallTransferRequest.md +20 -0
  53. data/docs/RoomsApi.md +376 -0
  54. data/docs/StreamingEnded.md +1 -1
  55. data/docs/StreamingError.md +1 -1
  56. data/docs/StreamingStarted.md +1 -1
  57. data/docs/StreamingUpdated.md +1 -1
  58. data/docs/TranscriptionProperties.md +4 -2
  59. data/docs/UpdateWebhook.md +5 -1
  60. data/docs/WaitingParticipantJoined.md +24 -0
  61. data/docs/WaitingParticipantJoinedPayload.md +32 -0
  62. data/docs/WaitingParticipantLeft.md +24 -0
  63. data/docs/WaitingParticipantLeftPayload.md +34 -0
  64. data/docs/Webhook.md +6 -4
  65. data/example.rb +12 -4
  66. data/lib/daily-ruby/api/batch_rooms_api.rb +3 -3
  67. data/lib/daily-ruby/api/dialin_api.rb +86 -0
  68. data/lib/daily-ruby/api/domain_api.rb +3 -3
  69. data/lib/daily-ruby/api/logs_api.rb +4 -4
  70. data/lib/daily-ruby/api/meeting_tokens_api.rb +3 -3
  71. data/lib/daily-ruby/api/meetings_api.rb +4 -4
  72. data/lib/daily-ruby/api/phone_numbers_api.rb +281 -0
  73. data/lib/daily-ruby/api/presence_api.rb +2 -2
  74. data/lib/daily-ruby/api/recordings_api.rb +5 -5
  75. data/lib/daily-ruby/api/rooms_api.rb +370 -20
  76. data/lib/daily-ruby/api/transcript_api.rb +6 -6
  77. data/lib/daily-ruby/api/webhooks_api.rb +6 -6
  78. data/lib/daily-ruby/api_client.rb +34 -28
  79. data/lib/daily-ruby/api_error.rb +1 -1
  80. data/lib/daily-ruby/configuration.rb +11 -1
  81. data/lib/daily-ruby/models/batch_processor_error.rb +278 -0
  82. data/lib/daily-ruby/models/batch_processor_error_payload.rb +289 -0
  83. data/lib/daily-ruby/models/batch_processor_error_payload_input.rb +280 -0
  84. data/lib/daily-ruby/models/batch_processor_job_finished.rb +278 -0
  85. data/lib/daily-ruby/models/batch_processor_job_finished_payload.rb +288 -0
  86. data/lib/daily-ruby/models/batch_processor_job_finished_payload_input.rb +280 -0
  87. data/lib/daily-ruby/models/batch_processor_job_finished_payload_output.rb +245 -0
  88. data/lib/daily-ruby/models/batch_processor_job_finished_payload_output_concept.rb +259 -0
  89. data/lib/daily-ruby/models/batch_processor_job_finished_payload_output_soap.rb +259 -0
  90. data/lib/daily-ruby/models/batch_processor_job_finished_payload_output_soap_s3_config.rb +236 -0
  91. data/lib/daily-ruby/models/batch_processor_job_finished_payload_output_summary.rb +259 -0
  92. data/lib/daily-ruby/models/batch_processor_job_finished_payload_output_transcription_inner.rb +258 -0
  93. data/lib/daily-ruby/models/batch_room_create_request.rb +1 -1
  94. data/lib/daily-ruby/models/batch_room_create_request_rooms_inner.rb +1 -1
  95. data/lib/daily-ruby/models/batch_room_delete200_response.rb +1 -1
  96. data/lib/daily-ruby/models/buy_phone_number_request.rb +215 -0
  97. data/lib/daily-ruby/models/create_meeting_token200_response.rb +1 -1
  98. data/lib/daily-ruby/models/create_meeting_token_request.rb +1 -1
  99. data/lib/daily-ruby/models/create_room200_response.rb +1 -1
  100. data/lib/daily-ruby/models/create_room_request.rb +1 -1
  101. data/lib/daily-ruby/models/daily_live_streaming_options.rb +1 -1
  102. data/lib/daily-ruby/models/daily_live_streaming_options_rtmp_url.rb +1 -1
  103. data/lib/daily-ruby/models/daily_streaming_active_participant_layout_config.rb +3 -3
  104. data/lib/daily-ruby/models/daily_streaming_custom_layout_config.rb +4 -4
  105. data/lib/daily-ruby/models/daily_streaming_custom_layout_config_composition_params.rb +1 -1
  106. data/lib/daily-ruby/models/daily_streaming_custom_layout_config_composition_params_value.rb +105 -0
  107. data/lib/daily-ruby/models/daily_streaming_default_layout_config.rb +3 -3
  108. data/lib/daily-ruby/models/daily_streaming_endpoint.rb +1 -1
  109. data/lib/daily-ruby/models/daily_streaming_layout_config.rb +1 -1
  110. data/lib/daily-ruby/models/daily_streaming_options.rb +1 -1
  111. data/lib/daily-ruby/models/daily_streaming_portrait_layout_config.rb +3 -3
  112. data/lib/daily-ruby/models/daily_streaming_portrait_layout_variant.rb +3 -2
  113. data/lib/daily-ruby/models/daily_streaming_single_participant_layout_config.rb +3 -3
  114. data/lib/daily-ruby/models/delete_transcript200_response.rb +3 -3
  115. data/lib/daily-ruby/models/dialout_properties.rb +254 -0
  116. data/lib/daily-ruby/models/dialout_properties_codecs.rb +228 -0
  117. data/lib/daily-ruby/models/domain.rb +1 -1
  118. data/lib/daily-ruby/models/domain_properties.rb +74 -16
  119. data/lib/daily-ruby/models/eject200_response.rb +1 -1
  120. data/lib/daily-ruby/models/eject_request.rb +30 -6
  121. data/lib/daily-ruby/models/get_domain_config200_response.rb +1 -1
  122. data/lib/daily-ruby/models/get_domain_config200_response_config.rb +11 -2
  123. data/lib/daily-ruby/models/get_domain_config200_response_config_recordings_bucket.rb +1 -1
  124. data/lib/daily-ruby/models/get_meeting_info200_response.rb +1 -1
  125. data/lib/daily-ruby/models/get_meeting_info200_response_data_inner.rb +1 -1
  126. data/lib/daily-ruby/models/get_meeting_info200_response_data_inner_participants_inner.rb +1 -1
  127. data/lib/daily-ruby/models/get_presence200_response.rb +1 -1
  128. data/lib/daily-ruby/models/get_presence200_response_aivw_whz_hl_lhr_sd_hdw7_ew_inner.rb +1 -1
  129. data/lib/daily-ruby/models/get_recording_info200_response.rb +3 -3
  130. data/lib/daily-ruby/models/get_recording_info200_response_tracks_inner.rb +3 -3
  131. data/lib/daily-ruby/models/get_recording_link200_response.rb +1 -1
  132. data/lib/daily-ruby/models/get_transcript_info200_response.rb +4 -4
  133. data/lib/daily-ruby/models/get_transcript_info200_response_out_params.rb +2 -1
  134. data/lib/daily-ruby/models/get_transcript_link200_response.rb +1 -1
  135. data/lib/daily-ruby/models/list_api_logs200_response.rb +2 -2
  136. data/lib/daily-ruby/models/list_recordings200_response.rb +1 -1
  137. data/lib/daily-ruby/models/list_recordings200_response_data_inner.rb +1 -1
  138. data/lib/daily-ruby/models/list_rooms200_response.rb +1 -1
  139. data/lib/daily-ruby/models/list_rooms200_response_data_inner.rb +1 -1
  140. data/lib/daily-ruby/models/list_rooms200_response_data_inner_config.rb +1 -1
  141. data/lib/daily-ruby/models/list_transcript200_response.rb +1 -1
  142. data/lib/daily-ruby/models/list_transcript200_response_data_inner.rb +3 -3
  143. data/lib/daily-ruby/models/meeting_ended.rb +278 -0
  144. data/lib/daily-ruby/models/meeting_ended_payload.rb +246 -0
  145. data/lib/daily-ruby/models/meeting_participants_get_res.rb +2 -11
  146. data/lib/daily-ruby/models/meeting_participants_get_res_data_inner.rb +1 -1
  147. data/lib/daily-ruby/models/meeting_started.rb +278 -0
  148. data/lib/daily-ruby/models/meeting_started_payload.rb +236 -0
  149. data/lib/daily-ruby/models/meetings_meeting_get_res.rb +1 -1
  150. data/lib/daily-ruby/models/participant_joined.rb +278 -0
  151. data/lib/daily-ruby/models/participant_joined_payload.rb +285 -0
  152. data/lib/daily-ruby/models/participant_joined_payload_permissions.rb +240 -0
  153. data/lib/daily-ruby/models/participant_left.rb +278 -0
  154. data/lib/daily-ruby/models/participant_left_payload.rb +295 -0
  155. data/lib/daily-ruby/models/permissions.rb +1 -1
  156. data/lib/daily-ruby/models/permissions_can_admin.rb +1 -1
  157. data/lib/daily-ruby/models/permissions_can_send.rb +1 -1
  158. data/lib/daily-ruby/models/pin_dialin_inner.rb +234 -0
  159. data/lib/daily-ruby/models/pin_dialin_inner_ivr_greeting.rb +215 -0
  160. data/lib/daily-ruby/models/pinless_call_update_request.rb +235 -0
  161. data/lib/daily-ruby/models/pinless_dialin_inner.rb +245 -0
  162. data/lib/daily-ruby/models/post_webhook.rb +37 -5
  163. data/lib/daily-ruby/models/properties.rb +17 -7
  164. data/lib/daily-ruby/models/recording_error.rb +4 -4
  165. data/lib/daily-ruby/models/recording_error_payload.rb +3 -3
  166. data/lib/daily-ruby/models/recording_ready_to_download.rb +4 -4
  167. data/lib/daily-ruby/models/recording_ready_to_download_payload.rb +5 -5
  168. data/lib/daily-ruby/models/recording_started.rb +4 -4
  169. data/lib/daily-ruby/models/recording_started_payload.rb +3 -3
  170. data/lib/daily-ruby/models/recording_streaming_options.rb +3 -3
  171. data/lib/daily-ruby/models/recordings_bucket.rb +1 -1
  172. data/lib/daily-ruby/models/room_dial_out_send_dtmf_request.rb +224 -0
  173. data/lib/daily-ruby/models/room_dial_out_stop_request.rb +215 -0
  174. data/lib/daily-ruby/models/room_properties.rb +67 -9
  175. data/lib/daily-ruby/models/room_properties_streaming_endpoints_inner.rb +267 -267
  176. data/lib/daily-ruby/models/room_properties_streaming_endpoints_inner_hls_config_variants_inner.rb +1 -1
  177. data/lib/daily-ruby/models/room_sip_call_transfer_request.rb +224 -0
  178. data/lib/daily-ruby/models/rooms_room_name_get_res.rb +1 -1
  179. data/lib/daily-ruby/models/rooms_room_name_presence_get_res.rb +1 -1
  180. data/lib/daily-ruby/models/rooms_room_name_presence_get_res_data_inner.rb +1 -1
  181. data/lib/daily-ruby/models/send_app_message_request.rb +1 -1
  182. data/lib/daily-ruby/models/set_room_config_request.rb +1 -1
  183. data/lib/daily-ruby/models/set_session_data_request.rb +3 -3
  184. data/lib/daily-ruby/models/streaming_ended.rb +4 -4
  185. data/lib/daily-ruby/models/streaming_ended_payload.rb +1 -1
  186. data/lib/daily-ruby/models/streaming_error.rb +4 -4
  187. data/lib/daily-ruby/models/streaming_error_payload.rb +1 -1
  188. data/lib/daily-ruby/models/streaming_started.rb +4 -4
  189. data/lib/daily-ruby/models/streaming_started_payload.rb +1 -1
  190. data/lib/daily-ruby/models/streaming_updated.rb +4 -4
  191. data/lib/daily-ruby/models/streaming_updated_payload.rb +1 -1
  192. data/lib/daily-ruby/models/transcription_bucket.rb +1 -1
  193. data/lib/daily-ruby/models/transcription_properties.rb +16 -6
  194. data/lib/daily-ruby/models/transcription_properties_endpointing.rb +1 -1
  195. data/lib/daily-ruby/models/transcription_properties_redact.rb +1 -1
  196. data/lib/daily-ruby/models/update_permissions_request.rb +1 -1
  197. data/lib/daily-ruby/models/update_permissions_request_data_value.rb +1 -1
  198. data/lib/daily-ruby/models/update_permissions_request_data_value_can_send.rb +1 -1
  199. data/lib/daily-ruby/models/update_webhook.rb +37 -5
  200. data/lib/daily-ruby/models/validate_meeting_token200_response.rb +1 -1
  201. data/lib/daily-ruby/models/waiting_participant_joined.rb +278 -0
  202. data/lib/daily-ruby/models/waiting_participant_joined_payload.rb +285 -0
  203. data/lib/daily-ruby/models/waiting_participant_left.rb +278 -0
  204. data/lib/daily-ruby/models/waiting_participant_left_payload.rb +295 -0
  205. data/lib/daily-ruby/models/webhook.rb +32 -10
  206. data/lib/daily-ruby/version.rb +2 -2
  207. data/lib/daily-ruby.rb +39 -2
  208. data/pkg/daily-ruby-1.0.2.gem +0 -0
  209. data/run.sh +3 -3
  210. data/spec/api/dialin_api_spec.rb +47 -0
  211. data/spec/api/phone_numbers_api_spec.rb +87 -0
  212. data/spec/models/batch_processor_error_payload_input_spec.rb +58 -0
  213. data/spec/models/batch_processor_error_payload_spec.rb +64 -0
  214. data/spec/models/batch_processor_error_spec.rb +58 -0
  215. data/spec/models/batch_processor_job_finished_payload_input_spec.rb +58 -0
  216. data/spec/models/batch_processor_job_finished_payload_output_concept_spec.rb +46 -0
  217. data/spec/models/batch_processor_job_finished_payload_output_soap_s3_config_spec.rb +48 -0
  218. data/spec/models/batch_processor_job_finished_payload_output_soap_spec.rb +46 -0
  219. data/spec/models/batch_processor_job_finished_payload_output_spec.rb +54 -0
  220. data/spec/models/batch_processor_job_finished_payload_output_summary_spec.rb +46 -0
  221. data/spec/models/batch_processor_job_finished_payload_output_transcription_inner_spec.rb +46 -0
  222. data/spec/models/batch_processor_job_finished_payload_spec.rb +64 -0
  223. data/spec/models/batch_processor_job_finished_spec.rb +58 -0
  224. data/spec/models/buy_phone_number_request_spec.rb +36 -0
  225. data/spec/models/{daily_streaming_custom_layout_config_composition_params_spec.rb → daily_streaming_custom_layout_config_composition_params_value_spec.rb} +3 -3
  226. data/spec/models/dialout_properties_codecs_spec.rb +42 -0
  227. data/spec/models/dialout_properties_spec.rb +60 -0
  228. data/spec/models/meeting_ended_payload_spec.rb +54 -0
  229. data/spec/models/meeting_ended_spec.rb +58 -0
  230. data/spec/models/meeting_started_payload_spec.rb +48 -0
  231. data/spec/models/meeting_started_spec.rb +58 -0
  232. data/spec/models/participant_joined_payload_permissions_spec.rb +48 -0
  233. data/spec/models/participant_joined_payload_spec.rb +78 -0
  234. data/spec/models/participant_joined_spec.rb +58 -0
  235. data/spec/models/participant_left_payload_spec.rb +84 -0
  236. data/spec/models/participant_left_spec.rb +58 -0
  237. data/spec/models/pin_dialin_inner_ivr_greeting_spec.rb +36 -0
  238. data/spec/models/pin_dialin_inner_spec.rb +48 -0
  239. data/spec/models/pinless_call_update_request_spec.rb +48 -0
  240. data/spec/models/pinless_dialin_inner_spec.rb +54 -0
  241. data/spec/models/room_dial_out_send_dtmf_request_spec.rb +42 -0
  242. data/spec/models/room_dial_out_stop_request_spec.rb +36 -0
  243. data/spec/models/room_sip_call_transfer_request_spec.rb +42 -0
  244. data/spec/models/waiting_participant_joined_payload_spec.rb +78 -0
  245. data/spec/models/waiting_participant_joined_spec.rb +58 -0
  246. data/spec/models/waiting_participant_left_payload_spec.rb +84 -0
  247. data/spec/models/waiting_participant_left_spec.rb +58 -0
  248. data/spec/spec_helper.rb +1 -1
  249. metadata +171 -6
data/docs/RoomsApi.md CHANGED
@@ -11,12 +11,17 @@ All URIs are relative to *https://api.daily.co/v1*
11
11
  | [**get_room_presence**](RoomsApi.md#get_room_presence) | **GET** /rooms/{room_name}/presence | rooms/:name/presence |
12
12
  | [**get_session_data**](RoomsApi.md#get_session_data) | **GET** /rooms/{room_name}/get-session-data | rooms/:name/get-session-data |
13
13
  | [**list_rooms**](RoomsApi.md#list_rooms) | **GET** /rooms | /rooms |
14
+ | [**room_dial_out_send_dtmf**](RoomsApi.md#room_dial_out_send_dtmf) | **POST** /rooms/{room_name}/dialOut/sendDTMF | rooms/:name/dialOut/sendDTMF |
15
+ | [**room_dial_out_start**](RoomsApi.md#room_dial_out_start) | **POST** /rooms/{room_name}/dialOut/start | rooms/:name/dialOut/start |
16
+ | [**room_dial_out_stop**](RoomsApi.md#room_dial_out_stop) | **POST** /rooms/{room_name}/dialOut/stop | rooms/:name/dialOut/stop |
14
17
  | [**room_livestreaming_start**](RoomsApi.md#room_livestreaming_start) | **POST** /rooms/{room_name}/live-streaming/start | rooms/:name/live-streaming/start |
15
18
  | [**room_livestreaming_stop**](RoomsApi.md#room_livestreaming_stop) | **POST** /rooms/{room_name}/live-streaming/stop | rooms/:name/live-streaming/stop |
16
19
  | [**room_livestreaming_update**](RoomsApi.md#room_livestreaming_update) | **POST** /rooms/{room_name}/live-streaming/update | rooms/:name/live-streaming/update |
17
20
  | [**room_recordings_start**](RoomsApi.md#room_recordings_start) | **POST** /rooms/{room_name}/recordings/start | rooms/:name/recordings/start |
18
21
  | [**room_recordings_stop**](RoomsApi.md#room_recordings_stop) | **POST** /rooms/{room_name}/recordings/stop | rooms/:name/recordings/stop |
19
22
  | [**room_recordings_update**](RoomsApi.md#room_recordings_update) | **POST** /rooms/{room_name}/recordings/update | rooms/:name/recordings/update |
23
+ | [**room_sip_call_transfer**](RoomsApi.md#room_sip_call_transfer) | **POST** /rooms/{room_name}/sipCallTransfer | rooms/:name/sipCallTransfer |
24
+ | [**room_sip_refer**](RoomsApi.md#room_sip_refer) | **POST** /rooms/{room_name}/sipRefer | rooms/:name/sipRefer |
20
25
  | [**room_transcription_start**](RoomsApi.md#room_transcription_start) | **POST** /rooms/{room_name}/transcription/start | rooms/:name/transcription/start |
21
26
  | [**room_transcription_stop**](RoomsApi.md#room_transcription_stop) | **POST** /rooms/{room_name}/transcription/stop | rooms/:name/transcription/stop |
22
27
  | [**send_app_message**](RoomsApi.md#send_app_message) | **POST** /rooms/{room_name}/send-app-message | rooms/:name/send-app-message |
@@ -541,6 +546,228 @@ end
541
546
  - **Accept**: application/json
542
547
 
543
548
 
549
+ ## room_dial_out_send_dtmf
550
+
551
+ > room_dial_out_send_dtmf(room_name, opts)
552
+
553
+ rooms/:name/dialOut/sendDTMF
554
+
555
+ send DTMF digits on the dialout
556
+
557
+ ### Examples
558
+
559
+ ```ruby
560
+ require 'time'
561
+ require 'daily-ruby'
562
+ # setup authorization
563
+ Daily.configure do |config|
564
+ # Configure API key authorization: sec0
565
+ config.api_key['sec0'] = 'YOUR API KEY'
566
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
567
+ # config.api_key_prefix['sec0'] = 'Bearer'
568
+ end
569
+
570
+ api_instance = Daily::RoomsApi.new
571
+ room_name = 'room_name_example' # String |
572
+ opts = {
573
+ room_dial_out_send_dtmf_request: Daily::RoomDialOutSendDTMFRequest.new # RoomDialOutSendDTMFRequest |
574
+ }
575
+
576
+ begin
577
+ # rooms/:name/dialOut/sendDTMF
578
+ api_instance.room_dial_out_send_dtmf(room_name, opts)
579
+ rescue Daily::ApiError => e
580
+ puts "Error when calling RoomsApi->room_dial_out_send_dtmf: #{e}"
581
+ end
582
+ ```
583
+
584
+ #### Using the room_dial_out_send_dtmf_with_http_info variant
585
+
586
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
587
+
588
+ > <Array(nil, Integer, Hash)> room_dial_out_send_dtmf_with_http_info(room_name, opts)
589
+
590
+ ```ruby
591
+ begin
592
+ # rooms/:name/dialOut/sendDTMF
593
+ data, status_code, headers = api_instance.room_dial_out_send_dtmf_with_http_info(room_name, opts)
594
+ p status_code # => 2xx
595
+ p headers # => { ... }
596
+ p data # => nil
597
+ rescue Daily::ApiError => e
598
+ puts "Error when calling RoomsApi->room_dial_out_send_dtmf_with_http_info: #{e}"
599
+ end
600
+ ```
601
+
602
+ ### Parameters
603
+
604
+ | Name | Type | Description | Notes |
605
+ | ---- | ---- | ----------- | ----- |
606
+ | **room_name** | **String** | | |
607
+ | **room_dial_out_send_dtmf_request** | [**RoomDialOutSendDTMFRequest**](RoomDialOutSendDTMFRequest.md) | | [optional] |
608
+
609
+ ### Return type
610
+
611
+ nil (empty response body)
612
+
613
+ ### Authorization
614
+
615
+ [sec0](../README.md#sec0)
616
+
617
+ ### HTTP request headers
618
+
619
+ - **Content-Type**: application/json
620
+ - **Accept**: application/json
621
+
622
+
623
+ ## room_dial_out_start
624
+
625
+ > room_dial_out_start(room_name, opts)
626
+
627
+ rooms/:name/dialOut/start
628
+
629
+ Start a dial-out in a room
630
+
631
+ ### Examples
632
+
633
+ ```ruby
634
+ require 'time'
635
+ require 'daily-ruby'
636
+ # setup authorization
637
+ Daily.configure do |config|
638
+ # Configure API key authorization: sec0
639
+ config.api_key['sec0'] = 'YOUR API KEY'
640
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
641
+ # config.api_key_prefix['sec0'] = 'Bearer'
642
+ end
643
+
644
+ api_instance = Daily::RoomsApi.new
645
+ room_name = 'room_name_example' # String |
646
+ opts = {
647
+ dialout_properties: Daily::DialoutProperties.new # DialoutProperties |
648
+ }
649
+
650
+ begin
651
+ # rooms/:name/dialOut/start
652
+ api_instance.room_dial_out_start(room_name, opts)
653
+ rescue Daily::ApiError => e
654
+ puts "Error when calling RoomsApi->room_dial_out_start: #{e}"
655
+ end
656
+ ```
657
+
658
+ #### Using the room_dial_out_start_with_http_info variant
659
+
660
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
661
+
662
+ > <Array(nil, Integer, Hash)> room_dial_out_start_with_http_info(room_name, opts)
663
+
664
+ ```ruby
665
+ begin
666
+ # rooms/:name/dialOut/start
667
+ data, status_code, headers = api_instance.room_dial_out_start_with_http_info(room_name, opts)
668
+ p status_code # => 2xx
669
+ p headers # => { ... }
670
+ p data # => nil
671
+ rescue Daily::ApiError => e
672
+ puts "Error when calling RoomsApi->room_dial_out_start_with_http_info: #{e}"
673
+ end
674
+ ```
675
+
676
+ ### Parameters
677
+
678
+ | Name | Type | Description | Notes |
679
+ | ---- | ---- | ----------- | ----- |
680
+ | **room_name** | **String** | | |
681
+ | **dialout_properties** | [**DialoutProperties**](DialoutProperties.md) | | [optional] |
682
+
683
+ ### Return type
684
+
685
+ nil (empty response body)
686
+
687
+ ### Authorization
688
+
689
+ [sec0](../README.md#sec0)
690
+
691
+ ### HTTP request headers
692
+
693
+ - **Content-Type**: application/json
694
+ - **Accept**: application/json
695
+
696
+
697
+ ## room_dial_out_stop
698
+
699
+ > room_dial_out_stop(room_name, opts)
700
+
701
+ rooms/:name/dialOut/stop
702
+
703
+ Stop a dial out in a room
704
+
705
+ ### Examples
706
+
707
+ ```ruby
708
+ require 'time'
709
+ require 'daily-ruby'
710
+ # setup authorization
711
+ Daily.configure do |config|
712
+ # Configure API key authorization: sec0
713
+ config.api_key['sec0'] = 'YOUR API KEY'
714
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
715
+ # config.api_key_prefix['sec0'] = 'Bearer'
716
+ end
717
+
718
+ api_instance = Daily::RoomsApi.new
719
+ room_name = 'room_name_example' # String |
720
+ opts = {
721
+ room_dial_out_stop_request: Daily::RoomDialOutStopRequest.new # RoomDialOutStopRequest |
722
+ }
723
+
724
+ begin
725
+ # rooms/:name/dialOut/stop
726
+ api_instance.room_dial_out_stop(room_name, opts)
727
+ rescue Daily::ApiError => e
728
+ puts "Error when calling RoomsApi->room_dial_out_stop: #{e}"
729
+ end
730
+ ```
731
+
732
+ #### Using the room_dial_out_stop_with_http_info variant
733
+
734
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
735
+
736
+ > <Array(nil, Integer, Hash)> room_dial_out_stop_with_http_info(room_name, opts)
737
+
738
+ ```ruby
739
+ begin
740
+ # rooms/:name/dialOut/stop
741
+ data, status_code, headers = api_instance.room_dial_out_stop_with_http_info(room_name, opts)
742
+ p status_code # => 2xx
743
+ p headers # => { ... }
744
+ p data # => nil
745
+ rescue Daily::ApiError => e
746
+ puts "Error when calling RoomsApi->room_dial_out_stop_with_http_info: #{e}"
747
+ end
748
+ ```
749
+
750
+ ### Parameters
751
+
752
+ | Name | Type | Description | Notes |
753
+ | ---- | ---- | ----------- | ----- |
754
+ | **room_name** | **String** | | |
755
+ | **room_dial_out_stop_request** | [**RoomDialOutStopRequest**](RoomDialOutStopRequest.md) | | [optional] |
756
+
757
+ ### Return type
758
+
759
+ nil (empty response body)
760
+
761
+ ### Authorization
762
+
763
+ [sec0](../README.md#sec0)
764
+
765
+ ### HTTP request headers
766
+
767
+ - **Content-Type**: application/json
768
+ - **Accept**: application/json
769
+
770
+
544
771
  ## room_livestreaming_start
545
772
 
546
773
  > room_livestreaming_start(room_name, opts)
@@ -977,6 +1204,155 @@ nil (empty response body)
977
1204
  - **Accept**: application/json
978
1205
 
979
1206
 
1207
+ ## room_sip_call_transfer
1208
+
1209
+ > room_sip_call_transfer(room_name, opts)
1210
+
1211
+ rooms/:name/sipCallTransfer
1212
+
1213
+ transfer sip/pstn call
1214
+
1215
+ ### Examples
1216
+
1217
+ ```ruby
1218
+ require 'time'
1219
+ require 'daily-ruby'
1220
+ # setup authorization
1221
+ Daily.configure do |config|
1222
+ # Configure API key authorization: sec0
1223
+ config.api_key['sec0'] = 'YOUR API KEY'
1224
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1225
+ # config.api_key_prefix['sec0'] = 'Bearer'
1226
+ end
1227
+
1228
+ api_instance = Daily::RoomsApi.new
1229
+ room_name = 'room_name_example' # String |
1230
+ opts = {
1231
+ room_sip_call_transfer_request: Daily::RoomSipCallTransferRequest.new # RoomSipCallTransferRequest |
1232
+ }
1233
+
1234
+ begin
1235
+ # rooms/:name/sipCallTransfer
1236
+ api_instance.room_sip_call_transfer(room_name, opts)
1237
+ rescue Daily::ApiError => e
1238
+ puts "Error when calling RoomsApi->room_sip_call_transfer: #{e}"
1239
+ end
1240
+ ```
1241
+
1242
+ #### Using the room_sip_call_transfer_with_http_info variant
1243
+
1244
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
1245
+
1246
+ > <Array(nil, Integer, Hash)> room_sip_call_transfer_with_http_info(room_name, opts)
1247
+
1248
+ ```ruby
1249
+ begin
1250
+ # rooms/:name/sipCallTransfer
1251
+ data, status_code, headers = api_instance.room_sip_call_transfer_with_http_info(room_name, opts)
1252
+ p status_code # => 2xx
1253
+ p headers # => { ... }
1254
+ p data # => nil
1255
+ rescue Daily::ApiError => e
1256
+ puts "Error when calling RoomsApi->room_sip_call_transfer_with_http_info: #{e}"
1257
+ end
1258
+ ```
1259
+
1260
+ ### Parameters
1261
+
1262
+ | Name | Type | Description | Notes |
1263
+ | ---- | ---- | ----------- | ----- |
1264
+ | **room_name** | **String** | | |
1265
+ | **room_sip_call_transfer_request** | [**RoomSipCallTransferRequest**](RoomSipCallTransferRequest.md) | | [optional] |
1266
+
1267
+ ### Return type
1268
+
1269
+ nil (empty response body)
1270
+
1271
+ ### Authorization
1272
+
1273
+ [sec0](../README.md#sec0)
1274
+
1275
+ ### HTTP request headers
1276
+
1277
+ - **Content-Type**: application/json
1278
+ - **Accept**: application/json
1279
+
1280
+
1281
+ ## room_sip_refer
1282
+
1283
+ > Object room_sip_refer(room_name, opts)
1284
+
1285
+ rooms/:name/sipRefer
1286
+
1287
+ refer a sip call to other sip endpoint
1288
+
1289
+ ### Examples
1290
+
1291
+ ```ruby
1292
+ require 'time'
1293
+ require 'daily-ruby'
1294
+ # setup authorization
1295
+ Daily.configure do |config|
1296
+ # Configure API key authorization: sec0
1297
+ config.api_key['sec0'] = 'YOUR API KEY'
1298
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1299
+ # config.api_key_prefix['sec0'] = 'Bearer'
1300
+ end
1301
+
1302
+ api_instance = Daily::RoomsApi.new
1303
+ room_name = 'room_name_example' # String |
1304
+ opts = {
1305
+ room_sip_call_transfer_request: Daily::RoomSipCallTransferRequest.new # RoomSipCallTransferRequest |
1306
+ }
1307
+
1308
+ begin
1309
+ # rooms/:name/sipRefer
1310
+ result = api_instance.room_sip_refer(room_name, opts)
1311
+ p result
1312
+ rescue Daily::ApiError => e
1313
+ puts "Error when calling RoomsApi->room_sip_refer: #{e}"
1314
+ end
1315
+ ```
1316
+
1317
+ #### Using the room_sip_refer_with_http_info variant
1318
+
1319
+ This returns an Array which contains the response data, status code and headers.
1320
+
1321
+ > <Array(Object, Integer, Hash)> room_sip_refer_with_http_info(room_name, opts)
1322
+
1323
+ ```ruby
1324
+ begin
1325
+ # rooms/:name/sipRefer
1326
+ data, status_code, headers = api_instance.room_sip_refer_with_http_info(room_name, opts)
1327
+ p status_code # => 2xx
1328
+ p headers # => { ... }
1329
+ p data # => Object
1330
+ rescue Daily::ApiError => e
1331
+ puts "Error when calling RoomsApi->room_sip_refer_with_http_info: #{e}"
1332
+ end
1333
+ ```
1334
+
1335
+ ### Parameters
1336
+
1337
+ | Name | Type | Description | Notes |
1338
+ | ---- | ---- | ----------- | ----- |
1339
+ | **room_name** | **String** | | |
1340
+ | **room_sip_call_transfer_request** | [**RoomSipCallTransferRequest**](RoomSipCallTransferRequest.md) | | [optional] |
1341
+
1342
+ ### Return type
1343
+
1344
+ **Object**
1345
+
1346
+ ### Authorization
1347
+
1348
+ [sec0](../README.md#sec0)
1349
+
1350
+ ### HTTP request headers
1351
+
1352
+ - **Content-Type**: application/json
1353
+ - **Accept**: application/json
1354
+
1355
+
980
1356
  ## room_transcription_start
981
1357
 
982
1358
  > room_transcription_start(room_name, opts)
@@ -6,7 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **version** | **String** | The semantic version of the current message. | [optional] |
8
8
  | **type** | **String** | The type of event that is being provided. | [optional] |
9
- | **event_ts** | **Integer** | The Unix epoch time in seconds representing when the event was generated. | [optional] |
9
+ | **event_ts** | **Float** | The Unix epoch time in seconds representing when the event was generated. | [optional] |
10
10
  | **payload** | [**StreamingEndedPayload**](StreamingEndedPayload.md) | | [optional] |
11
11
 
12
12
  ## Example
@@ -6,7 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **version** | **String** | The semantic version of the current message. | [optional] |
8
8
  | **type** | **String** | The type of event that is being provided. | [optional] |
9
- | **event_ts** | **Integer** | The Unix epoch time in seconds representing when the event was generated. | [optional] |
9
+ | **event_ts** | **Float** | The Unix epoch time in seconds representing when the event was generated. | [optional] |
10
10
  | **payload** | [**StreamingErrorPayload**](StreamingErrorPayload.md) | | [optional] |
11
11
 
12
12
  ## Example
@@ -6,7 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **version** | **String** | The semantic version of the current message. | [optional] |
8
8
  | **type** | **String** | The type of event that is being provided. | [optional] |
9
- | **event_ts** | **Integer** | The Unix epoch time in seconds representing when the event was generated. | [optional] |
9
+ | **event_ts** | **Float** | The Unix epoch time in seconds representing when the event was generated. | [optional] |
10
10
  | **payload** | [**StreamingStartedPayload**](StreamingStartedPayload.md) | | [optional] |
11
11
 
12
12
  ## Example
@@ -6,7 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **version** | **String** | The semantic version of the current message. | [optional] |
8
8
  | **type** | **String** | The type of event that is being provided. | [optional] |
9
- | **event_ts** | **Integer** | The Unix epoch time in seconds representing when the event was generated. | [optional] |
9
+ | **event_ts** | **Float** | The Unix epoch time in seconds representing when the event was generated. | [optional] |
10
10
  | **payload** | [**StreamingUpdatedPayload**](StreamingUpdatedPayload.md) | | [optional] |
11
11
 
12
12
  ## Example
@@ -11,7 +11,8 @@
11
11
  | **punctuate** | **Boolean** | See Deepgram&#39;s documentation for [&#x60;punctuate&#x60;](https://developers.deepgram.com/docs/punctuation) | [optional] |
12
12
  | **endpointing** | [**TranscriptionPropertiesEndpointing**](TranscriptionPropertiesEndpointing.md) | | [optional] |
13
13
  | **redact** | [**TranscriptionPropertiesRedact**](TranscriptionPropertiesRedact.md) | | [optional] |
14
- | **extra** | **Object** | Specify any Deepgram parameters. See Deepgram&#39;s documentation for [available streaming options](https://developers.deepgram.com/docs/features-overview). | [optional] |
14
+ | **extra** | **Object** | Specify any Deepgram parameters. See Deepgram&#39;s documentation for [available streaming options](https://developers.deepgram.com/docs/features-overview) | [optional] |
15
+ | **include_raw_response** | **Boolean** | Whether Deepgram&#39;s raw response should be included in all transcription messages | [optional] |
15
16
 
16
17
  ## Example
17
18
 
@@ -26,7 +27,8 @@ instance = Daily::TranscriptionProperties.new(
26
27
  punctuate: null,
27
28
  endpointing: null,
28
29
  redact: null,
29
- extra: null
30
+ extra: null,
31
+ include_raw_response: null
30
32
  )
31
33
  ```
32
34
 
@@ -6,7 +6,9 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **url** | **String** | The webhook server endpoint that was provided. | [optional] |
8
8
  | **basic_auth** | **String** | The basic auth credentials that will be used to POST to the webhook URL. | [optional] |
9
+ | **retry_type** | **String** | The retry configuration for this webhook endpoint to use. The default is circuit-breaker. | [optional] |
9
10
  | **event_types** | **Array&lt;String&gt;** | The set of event types this webhook is subscribed to. | [optional] |
11
+ | **hmac** | **String** | A secret that can be used to verify the signature of the webhook. | [optional] |
10
12
 
11
13
  ## Example
12
14
 
@@ -16,7 +18,9 @@ require 'daily-ruby'
16
18
  instance = Daily::UpdateWebhook.new(
17
19
  url: null,
18
20
  basic_auth: null,
19
- event_types: null
21
+ retry_type: null,
22
+ event_types: null,
23
+ hmac: null
20
24
  )
21
25
  ```
22
26
 
@@ -0,0 +1,24 @@
1
+ # Daily::WaitingParticipantJoined
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** | [**WaitingParticipantJoinedPayload**](WaitingParticipantJoinedPayload.md) | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'daily-ruby'
16
+
17
+ instance = Daily::WaitingParticipantJoined.new(
18
+ version: null,
19
+ type: null,
20
+ event_ts: null,
21
+ payload: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,32 @@
1
+ # Daily::WaitingParticipantJoinedPayload
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **joined_at** | **Float** | The Unix epoch time in seconds representing when the waiting participant joined. | [optional] |
8
+ | **session_id** | **String** | The user session ID, or participant id. | [optional] |
9
+ | **room** | **String** | The name of the room. | [optional] |
10
+ | **user_id** | **String** | The ID of the user, set by the meeting token. | [optional] |
11
+ | **user_name** | **String** | The name of the user, set by the meeting token. | [optional] |
12
+ | **owner** | **Boolean** | A flag determining if this user is considered the owner. | [optional] |
13
+ | **will_eject_at** | **Integer** | The Unix epoch time in seconds representing when the participant will be ejected. | [optional] |
14
+ | **permissions** | [**ParticipantJoinedPayloadPermissions**](ParticipantJoinedPayloadPermissions.md) | | [optional] |
15
+
16
+ ## Example
17
+
18
+ ```ruby
19
+ require 'daily-ruby'
20
+
21
+ instance = Daily::WaitingParticipantJoinedPayload.new(
22
+ joined_at: null,
23
+ session_id: null,
24
+ room: null,
25
+ user_id: null,
26
+ user_name: null,
27
+ owner: null,
28
+ will_eject_at: null,
29
+ permissions: null
30
+ )
31
+ ```
32
+
@@ -0,0 +1,24 @@
1
+ # Daily::WaitingParticipantLeft
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** | [**WaitingParticipantLeftPayload**](WaitingParticipantLeftPayload.md) | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'daily-ruby'
16
+
17
+ instance = Daily::WaitingParticipantLeft.new(
18
+ version: null,
19
+ type: null,
20
+ event_ts: null,
21
+ payload: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,34 @@
1
+ # Daily::WaitingParticipantLeftPayload
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **joined_at** | **Float** | The Unix epoch time in seconds representing when the waiting participant joined. | [optional] |
8
+ | **duration** | **Float** | The time in seconds representing how long the participant was in the call. | [optional] |
9
+ | **session_id** | **String** | The user session ID, or participant id. | [optional] |
10
+ | **room** | **String** | The name of the room. | [optional] |
11
+ | **user_id** | **String** | The ID of the user, set by the meeting token. | [optional] |
12
+ | **user_name** | **String** | The name of the user, set by the meeting token. | [optional] |
13
+ | **owner** | **Boolean** | A flag determining if this user is considered the owner. | [optional] |
14
+ | **will_eject_at** | **Integer** | The Unix epoch time in seconds representing when the participant will be ejected. | [optional] |
15
+ | **permissions** | [**ParticipantJoinedPayloadPermissions**](ParticipantJoinedPayloadPermissions.md) | | [optional] |
16
+
17
+ ## Example
18
+
19
+ ```ruby
20
+ require 'daily-ruby'
21
+
22
+ instance = Daily::WaitingParticipantLeftPayload.new(
23
+ joined_at: null,
24
+ duration: null,
25
+ session_id: null,
26
+ room: null,
27
+ user_id: null,
28
+ user_name: null,
29
+ owner: null,
30
+ will_eject_at: null,
31
+ permissions: null
32
+ )
33
+ ```
34
+
data/docs/Webhook.md CHANGED
@@ -8,13 +8,14 @@
8
8
  | **url** | **String** | The webhook server endpoint that was provided. | [optional] |
9
9
  | **hmac** | **String** | A secret that can be used to verify the signature of the webhook. | [optional] |
10
10
  | **basic_auth** | **String** | The basic auth credentials that will be used to POST to the webhook URL. | [optional] |
11
+ | **retry_type** | **String** | The retry configuration for this webhook endpoint to use. The default is circuit-breaker. | [optional] |
11
12
  | **event_types** | **Array&lt;String&gt;** | The set of event types this webhook is subscribed to. | [optional] |
12
- | **state** | **Float** | The current state of the webhook. FAILED: 0, ACTIVE: 1, STOPPED: 2. | [optional] |
13
+ | **state** | **String** | The current state of the webhook. \&quot;FAILED\&quot; | \&quot;INACTIVE\&quot; | [optional] |
13
14
  | **failed_count** | **Float** | The number of consecutive failures this webhook has made. | [optional] |
14
- | **last_moment_pushed** | **Float** | The Unix epoch time in seconds of the last moment an event was pushed to the webhook server. | [optional] |
15
+ | **last_moment_pushed** | **String** | The ISO 8601 time of the last moment an event was pushed to the webhook server. | [optional] |
15
16
  | **domain_id** | **String** | The domain ID this webhook is associated with. | [optional] |
16
- | **created_at** | **Float** | The Unix epoch time in seconds of when this webhook was created. | [optional] |
17
- | **updated_at** | **Float** | The Unix epoch time in seconds of when this webhook was last updated. | [optional] |
17
+ | **created_at** | **String** | The ISO 8601 time of when this webhook was created. | [optional] |
18
+ | **updated_at** | **String** | The ISO 8601 time of when this webhook was last updated. | [optional] |
18
19
 
19
20
  ## Example
20
21
 
@@ -26,6 +27,7 @@ instance = Daily::Webhook.new(
26
27
  url: null,
27
28
  hmac: null,
28
29
  basic_auth: null,
30
+ retry_type: null,
29
31
  event_types: null,
30
32
  state: null,
31
33
  failed_count: null,
data/example.rb CHANGED
@@ -1,6 +1,8 @@
1
1
  # Load the gem
2
2
  require 'daily-ruby'
3
3
 
4
+ p 'Version: ' + Daily::VERSION
5
+
4
6
  # Setup authorization
5
7
  Daily.configure do |config|
6
8
  # Configure Bearer authorization: bearerAuth
@@ -10,15 +12,20 @@ Daily.configure do |config|
10
12
  # config.configure_faraday_connection { |connection| 'YOUR CONNECTION CONFIG PROC' }
11
13
  end
12
14
 
15
+
13
16
  room_api_instance = Daily::RoomsApi.new
14
17
  opts = {
15
- room_request: Daily::CreateRoomRequest.new(
18
+ create_room_request: Daily::CreateRoomRequest.new(
16
19
  privacy: 'private',
17
- properties: Daily::RoomProperties.new({
20
+ properties: {
18
21
  exp: (Time.now + (3600 * 2)).to_i, # Delete the room after two hours
19
22
  enable_mesh_sfu: true,
20
- sfu_switchover: 0.5
21
- })
23
+ sfu_switchover: 0.5,
24
+ dialin: {
25
+ display_name: 'Phone Caller',
26
+ wait_for_meeting_start: true
27
+ }
28
+ }
22
29
  )
23
30
  }
24
31
 
@@ -59,3 +66,4 @@ end
59
66
 
60
67
  p "Room url: " + room.url
61
68
  p "Meeting token: " + meeting_token.token
69
+