daily-ruby 0.0.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (328) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/Gemfile.lock +13 -12
  4. data/README.md +203 -40
  5. data/daily-ruby.gemspec +4 -4
  6. data/docs/BatchRoomCreateRequest.md +18 -0
  7. data/docs/BatchRoomCreateRequestRoomsInner.md +22 -0
  8. data/docs/BatchRoomDelete200Response.md +18 -0
  9. data/docs/BatchRoomsApi.md +150 -0
  10. data/docs/CreateMeetingToken200Response.md +1 -1
  11. data/docs/CreateMeetingTokenRequest.md +18 -0
  12. data/docs/CreateRoom200Response.md +30 -0
  13. data/docs/{RoomRequest.md → CreateRoomRequest.md} +3 -3
  14. data/docs/DailyLiveStreamingOptions.md +40 -0
  15. data/docs/DailyLiveStreamingOptionsRtmpUrl.md +49 -0
  16. data/docs/DailyStreamingActiveParticipantLayoutConfig.md +18 -0
  17. data/docs/DailyStreamingCustomLayoutConfig.md +24 -0
  18. data/docs/DailyStreamingCustomLayoutConfigCompositionParams.md +15 -0
  19. data/docs/DailyStreamingDefaultLayoutConfig.md +20 -0
  20. data/docs/{ServerErrorResponse.md → DailyStreamingEndpoint.md} +4 -4
  21. data/docs/DailyStreamingLayoutConfig.md +69 -0
  22. data/docs/DailyStreamingOptions.md +36 -0
  23. data/docs/DailyStreamingPortraitLayoutConfig.md +22 -0
  24. data/docs/DailyStreamingPortraitLayoutVariant.md +15 -0
  25. data/docs/DailyStreamingSingleParticipantLayoutConfig.md +20 -0
  26. data/docs/DeleteTranscript200Response.md +30 -0
  27. data/docs/Domain.md +18 -0
  28. data/docs/DomainApi.md +149 -0
  29. data/docs/DomainProperties.md +74 -0
  30. data/docs/Eject200Response.md +18 -0
  31. data/docs/EjectRequest.md +18 -0
  32. data/docs/GetDomainConfig200Response.md +22 -0
  33. data/docs/GetDomainConfig200ResponseConfig.md +54 -0
  34. data/docs/GetDomainConfig200ResponseConfigRecordingsBucket.md +20 -0
  35. data/docs/GetMeetingInfo200Response.md +20 -0
  36. data/docs/GetMeetingInfo200ResponseDataInner.md +28 -0
  37. data/docs/GetMeetingInfo200ResponseDataInnerParticipantsInner.md +26 -0
  38. data/docs/GetPresence200Response.md +18 -0
  39. data/docs/GetPresence200ResponseAIVWWhzHlLHrSdHdw7EWInner.md +28 -0
  40. data/docs/GetRecordingInfo200Response.md +36 -0
  41. data/docs/GetRecordingInfo200ResponseTracksInner.md +22 -0
  42. data/docs/GetRecordingLink200Response.md +20 -0
  43. data/docs/GetTranscriptInfo200Response.md +32 -0
  44. data/docs/GetTranscriptInfo200ResponseOutParams.md +22 -0
  45. data/docs/GetTranscriptLink200Response.md +22 -0
  46. data/docs/ListAPILogs200Response.md +38 -0
  47. data/docs/ListRecordings200Response.md +20 -0
  48. data/docs/ListRecordings200ResponseDataInner.md +30 -0
  49. data/docs/ListRooms200Response.md +20 -0
  50. data/docs/ListRooms200ResponseDataInner.md +30 -0
  51. data/docs/ListRooms200ResponseDataInnerConfig.md +18 -0
  52. data/docs/ListTranscript200Response.md +20 -0
  53. data/docs/ListTranscript200ResponseDataInner.md +28 -0
  54. data/docs/LogsApi.md +177 -0
  55. data/docs/MeetingParticipantsGetRes.md +20 -0
  56. data/docs/MeetingParticipantsGetResDataInner.md +28 -0
  57. data/docs/MeetingTokensApi.md +88 -10
  58. data/docs/MeetingsApi.md +247 -0
  59. data/docs/MeetingsMeetingGetRes.md +28 -0
  60. data/docs/Permissions.md +22 -0
  61. data/docs/{MeetingTokenRequestPropertiesPermissionsCanSend.md → PermissionsCanAdmin.md} +4 -4
  62. data/docs/{MeetingTokenRequestPropertiesPermissionsCanAdmin.md → PermissionsCanSend.md} +4 -4
  63. data/docs/PostWebhook.md +22 -0
  64. data/docs/PresenceApi.md +74 -0
  65. data/docs/Properties.md +60 -0
  66. data/docs/RecordingError.md +24 -0
  67. data/docs/RecordingErrorPayload.md +26 -0
  68. data/docs/RecordingReadyToDownload.md +24 -0
  69. data/docs/RecordingReadyToDownloadPayload.md +34 -0
  70. data/docs/RecordingStarted.md +24 -0
  71. data/docs/RecordingStartedPayload.md +28 -0
  72. data/docs/RecordingStreamingOptions.md +38 -0
  73. data/docs/RecordingsApi.md +303 -0
  74. data/docs/RecordingsBucket.md +26 -0
  75. data/docs/RoomProperties.md +94 -0
  76. data/docs/RoomPropertiesStreamingEndpointsInner.md +28 -0
  77. data/docs/RoomPropertiesStreamingEndpointsInnerHlsConfigVariantsInner.md +26 -0
  78. data/docs/RoomsApi.md +1418 -0
  79. data/docs/RoomsRoomNameGetRes.md +30 -0
  80. data/docs/RoomsRoomNamePresenceGetRes.md +20 -0
  81. data/docs/RoomsRoomNamePresenceGetResDataInner.md +28 -0
  82. data/docs/SendAppMessageRequest.md +20 -0
  83. data/docs/SetRoomConfigRequest.md +20 -0
  84. data/docs/SetSessionDataRequest.md +22 -0
  85. data/docs/StreamingEnded.md +24 -0
  86. data/docs/StreamingEndedPayload.md +22 -0
  87. data/docs/StreamingError.md +24 -0
  88. data/docs/StreamingErrorPayload.md +26 -0
  89. data/docs/StreamingStarted.md +24 -0
  90. data/docs/StreamingStartedPayload.md +24 -0
  91. data/docs/StreamingUpdated.md +24 -0
  92. data/docs/StreamingUpdatedPayload.md +24 -0
  93. data/docs/TranscriptApi.md +305 -0
  94. data/docs/TranscriptionBucket.md +24 -0
  95. data/docs/TranscriptionProperties.md +32 -0
  96. data/docs/TranscriptionPropertiesEndpointing.md +49 -0
  97. data/docs/TranscriptionPropertiesRedact.md +51 -0
  98. data/docs/UpdatePermissionsRequest.md +18 -0
  99. data/docs/UpdatePermissionsRequestDataValue.md +22 -0
  100. data/docs/UpdatePermissionsRequestDataValueCanSend.md +49 -0
  101. data/docs/UpdateWebhook.md +22 -0
  102. data/docs/ValidateMeetingToken200Response.md +28 -0
  103. data/docs/Webhook.md +38 -0
  104. data/docs/WebhooksApi.md +370 -0
  105. data/example.rb +61 -0
  106. data/lib/daily-ruby/api/batch_rooms_api.rb +143 -0
  107. data/lib/daily-ruby/api/domain_api.rb +143 -0
  108. data/lib/daily-ruby/api/logs_api.rb +181 -0
  109. data/lib/daily-ruby/api/meeting_tokens_api.rb +78 -12
  110. data/lib/daily-ruby/api/meetings_api.rb +238 -0
  111. data/lib/daily-ruby/api/presence_api.rb +77 -0
  112. data/lib/daily-ruby/api/recordings_api.rb +280 -0
  113. data/lib/daily-ruby/api/rooms_api.rb +1302 -0
  114. data/lib/daily-ruby/api/transcript_api.rb +283 -0
  115. data/lib/daily-ruby/api/webhooks_api.rb +339 -0
  116. data/lib/daily-ruby/api_client.rb +4 -4
  117. data/lib/daily-ruby/api_error.rb +4 -4
  118. data/lib/daily-ruby/configuration.rb +19 -7
  119. data/lib/daily-ruby/models/{room_deleted_response.rb → batch_room_create_request.rb} +16 -24
  120. data/lib/daily-ruby/models/batch_room_create_request_rooms_inner.rb +232 -0
  121. data/lib/daily-ruby/models/batch_room_delete200_response.rb +214 -0
  122. data/lib/daily-ruby/models/create_meeting_token200_response.rb +4 -4
  123. data/lib/daily-ruby/models/{server_error_response.rb → create_meeting_token_request.rb} +14 -15
  124. data/lib/daily-ruby/models/create_room200_response.rb +270 -0
  125. data/lib/daily-ruby/models/create_room_request.rb +232 -0
  126. data/lib/daily-ruby/models/daily_live_streaming_options.rb +324 -0
  127. data/lib/daily-ruby/models/{meeting_token_request_properties_permissions_can_send.rb → daily_live_streaming_options_rtmp_url.rb} +6 -6
  128. data/lib/daily-ruby/models/{room_request.rb → daily_streaming_active_participant_layout_config.rb} +29 -41
  129. data/lib/daily-ruby/models/daily_streaming_custom_layout_config.rb +293 -0
  130. data/lib/daily-ruby/models/daily_streaming_custom_layout_config_composition_params.rb +105 -0
  131. data/lib/daily-ruby/models/daily_streaming_default_layout_config.rb +264 -0
  132. data/lib/daily-ruby/models/daily_streaming_endpoint.rb +221 -0
  133. data/lib/daily-ruby/models/daily_streaming_layout_config.rb +46 -0
  134. data/lib/daily-ruby/models/daily_streaming_options.rb +304 -0
  135. data/lib/daily-ruby/models/daily_streaming_portrait_layout_config.rb +273 -0
  136. data/lib/daily-ruby/models/daily_streaming_portrait_layout_variant.rb +40 -0
  137. data/lib/daily-ruby/models/daily_streaming_single_participant_layout_config.rb +271 -0
  138. data/lib/daily-ruby/models/delete_transcript200_response.rb +307 -0
  139. data/lib/daily-ruby/models/{meeting_token_request.rb → domain.rb} +8 -9
  140. data/lib/daily-ruby/models/domain_properties.rb +570 -0
  141. data/lib/daily-ruby/models/eject200_response.rb +216 -0
  142. data/lib/daily-ruby/models/eject_request.rb +217 -0
  143. data/lib/daily-ruby/models/get_domain_config200_response.rb +271 -0
  144. data/lib/daily-ruby/models/get_domain_config200_response_config.rb +395 -0
  145. data/lib/daily-ruby/models/get_domain_config200_response_config_recordings_bucket.rb +223 -0
  146. data/lib/daily-ruby/models/get_meeting_info200_response.rb +259 -0
  147. data/lib/daily-ruby/models/get_meeting_info200_response_data_inner.rb +353 -0
  148. data/lib/daily-ruby/models/get_meeting_info200_response_data_inner_participants_inner.rb +290 -0
  149. data/lib/daily-ruby/models/get_presence200_response.rb +243 -0
  150. data/lib/daily-ruby/models/get_presence200_response_aivw_whz_hl_lhr_sd_hdw7_ew_inner.rb +370 -0
  151. data/lib/daily-ruby/models/get_recording_info200_response.rb +340 -0
  152. data/lib/daily-ruby/models/get_recording_info200_response_tracks_inner.rb +269 -0
  153. data/lib/daily-ruby/models/get_recording_link200_response.rb +225 -0
  154. data/lib/daily-ruby/models/get_transcript_info200_response.rb +317 -0
  155. data/lib/daily-ruby/models/get_transcript_info200_response_out_params.rb +232 -0
  156. data/lib/daily-ruby/models/get_transcript_link200_response.rb +233 -0
  157. data/lib/daily-ruby/models/list_api_logs200_response.rb +315 -0
  158. data/lib/daily-ruby/models/list_recordings200_response.rb +227 -0
  159. data/lib/daily-ruby/models/list_recordings200_response_data_inner.rb +272 -0
  160. data/lib/daily-ruby/models/list_rooms200_response.rb +227 -0
  161. data/lib/daily-ruby/models/list_rooms200_response_data_inner.rb +270 -0
  162. data/lib/daily-ruby/models/list_rooms200_response_data_inner_config.rb +216 -0
  163. data/lib/daily-ruby/models/list_transcript200_response.rb +227 -0
  164. data/lib/daily-ruby/models/list_transcript200_response_data_inner.rb +298 -0
  165. data/lib/daily-ruby/models/meeting_participants_get_res.rb +225 -0
  166. data/lib/daily-ruby/models/meeting_participants_get_res_data_inner.rb +259 -0
  167. data/lib/daily-ruby/models/meetings_meeting_get_res.rb +259 -0
  168. data/lib/daily-ruby/models/permissions.rb +234 -0
  169. data/lib/daily-ruby/models/permissions_can_admin.rb +106 -0
  170. data/lib/daily-ruby/models/permissions_can_send.rb +106 -0
  171. data/lib/daily-ruby/models/post_webhook.rb +259 -0
  172. data/lib/daily-ruby/models/{meeting_token_request_properties.rb → properties.rb} +81 -29
  173. data/lib/daily-ruby/models/recording_error.rb +278 -0
  174. data/lib/daily-ruby/models/recording_error_payload.rb +290 -0
  175. data/lib/daily-ruby/models/recording_ready_to_download.rb +278 -0
  176. data/lib/daily-ruby/models/recording_ready_to_download_payload.rb +344 -0
  177. data/lib/daily-ruby/models/recording_started.rb +278 -0
  178. data/lib/daily-ruby/models/recording_started_payload.rb +299 -0
  179. data/lib/daily-ruby/models/recording_streaming_options.rb +350 -0
  180. data/lib/daily-ruby/models/recordings_bucket.rb +258 -0
  181. data/lib/daily-ruby/models/room_properties.rb +678 -0
  182. data/lib/daily-ruby/models/room_properties_streaming_endpoints_inner.rb +267 -0
  183. data/lib/daily-ruby/models/room_properties_streaming_endpoints_inner_hls_config_variants_inner.rb +255 -0
  184. data/lib/daily-ruby/models/{room_response.rb → rooms_room_name_get_res.rb} +22 -12
  185. data/lib/daily-ruby/models/rooms_room_name_presence_get_res.rb +225 -0
  186. data/lib/daily-ruby/models/rooms_room_name_presence_get_res_data_inner.rb +259 -0
  187. data/lib/daily-ruby/models/send_app_message_request.rb +227 -0
  188. data/lib/daily-ruby/models/set_room_config_request.rb +223 -0
  189. data/lib/daily-ruby/models/set_session_data_request.rb +273 -0
  190. data/lib/daily-ruby/models/streaming_ended.rb +278 -0
  191. data/lib/daily-ruby/models/streaming_ended_payload.rb +236 -0
  192. data/lib/daily-ruby/models/streaming_error.rb +278 -0
  193. data/lib/daily-ruby/models/streaming_error_payload.rb +256 -0
  194. data/lib/daily-ruby/models/streaming_started.rb +278 -0
  195. data/lib/daily-ruby/models/streaming_started_payload.rb +245 -0
  196. data/lib/daily-ruby/models/streaming_updated.rb +278 -0
  197. data/lib/daily-ruby/models/streaming_updated_payload.rb +245 -0
  198. data/lib/daily-ruby/models/transcription_bucket.rb +246 -0
  199. data/lib/daily-ruby/models/transcription_properties.rb +283 -0
  200. data/lib/daily-ruby/models/transcription_properties_endpointing.rb +106 -0
  201. data/lib/daily-ruby/models/transcription_properties_redact.rb +107 -0
  202. data/lib/daily-ruby/models/{room_not_found_response.rb → update_permissions_request.rb} +16 -24
  203. data/lib/daily-ruby/models/{meeting_token_request_properties_permissions.rb → update_permissions_request_data_value.rb} +13 -12
  204. data/lib/daily-ruby/models/{meeting_token_request_properties_permissions_can_admin.rb → update_permissions_request_data_value_can_send.rb} +5 -5
  205. data/lib/daily-ruby/models/update_webhook.rb +259 -0
  206. data/lib/daily-ruby/models/validate_meeting_token200_response.rb +265 -0
  207. data/lib/daily-ruby/models/webhook.rb +339 -0
  208. data/lib/daily-ruby/version.rb +5 -5
  209. data/lib/daily-ruby.rb +101 -16
  210. data/run.sh +1 -1
  211. data/spec/api/batch_rooms_api_spec.rb +58 -0
  212. data/spec/api/domain_api_spec.rb +58 -0
  213. data/spec/api/logs_api_spec.rb +70 -0
  214. data/spec/api/meeting_tokens_api_spec.rb +20 -7
  215. data/spec/api/meetings_api_spec.rb +81 -0
  216. data/spec/api/presence_api_spec.rb +45 -0
  217. data/spec/api/recordings_api_spec.rb +86 -0
  218. data/spec/api/rooms_api_spec.rb +278 -0
  219. data/spec/api/transcript_api_spec.rb +87 -0
  220. data/spec/api/webhooks_api_spec.rb +95 -0
  221. data/spec/models/batch_room_create_request_rooms_inner_spec.rb +48 -0
  222. data/spec/models/batch_room_create_request_spec.rb +36 -0
  223. data/spec/models/batch_room_delete200_response_spec.rb +36 -0
  224. data/spec/models/create_meeting_token200_response_spec.rb +4 -4
  225. data/spec/models/create_meeting_token_request_spec.rb +36 -0
  226. data/spec/models/create_room200_response_spec.rb +72 -0
  227. data/spec/models/{room_request_spec.rb → create_room_request_spec.rb} +10 -14
  228. data/spec/models/daily_live_streaming_options_rtmp_url_spec.rb +32 -0
  229. data/spec/models/daily_live_streaming_options_spec.rb +102 -0
  230. data/spec/models/daily_streaming_active_participant_layout_config_spec.rb +40 -0
  231. data/spec/models/daily_streaming_custom_layout_config_composition_params_spec.rb +21 -0
  232. data/spec/models/daily_streaming_custom_layout_config_spec.rb +58 -0
  233. data/spec/models/daily_streaming_default_layout_config_spec.rb +46 -0
  234. data/spec/models/daily_streaming_endpoint_spec.rb +36 -0
  235. data/spec/models/daily_streaming_layout_config_spec.rb +38 -0
  236. data/spec/models/daily_streaming_options_spec.rb +90 -0
  237. data/spec/models/daily_streaming_portrait_layout_config_spec.rb +52 -0
  238. data/spec/models/daily_streaming_portrait_layout_variant_spec.rb +30 -0
  239. data/spec/models/daily_streaming_single_participant_layout_config_spec.rb +46 -0
  240. data/spec/models/delete_transcript200_response_spec.rb +76 -0
  241. data/spec/models/{room_request_properties_spec.rb → domain_properties_spec.rb} +39 -49
  242. data/spec/models/domain_spec.rb +36 -0
  243. data/spec/models/eject200_response_spec.rb +36 -0
  244. data/spec/models/eject_request_spec.rb +36 -0
  245. data/spec/models/get_domain_config200_response_config_recordings_bucket_spec.rb +42 -0
  246. data/spec/models/get_domain_config200_response_config_spec.rb +144 -0
  247. data/spec/models/get_domain_config200_response_spec.rb +48 -0
  248. data/spec/models/get_meeting_info200_response_data_inner_participants_inner_spec.rb +60 -0
  249. data/spec/models/get_meeting_info200_response_data_inner_spec.rb +66 -0
  250. data/spec/models/get_meeting_info200_response_spec.rb +42 -0
  251. data/spec/models/get_presence200_response_aivw_whz_hl_lhr_sd_hdw7_ew_inner_spec.rb +66 -0
  252. data/spec/models/get_presence200_response_spec.rb +36 -0
  253. data/spec/models/get_recording_info200_response_spec.rb +94 -0
  254. data/spec/models/get_recording_info200_response_tracks_inner_spec.rb +52 -0
  255. data/spec/models/get_recording_link200_response_spec.rb +42 -0
  256. data/spec/models/get_transcript_info200_response_out_params_spec.rb +48 -0
  257. data/spec/models/get_transcript_info200_response_spec.rb +82 -0
  258. data/spec/models/get_transcript_link200_response_spec.rb +48 -0
  259. data/spec/models/list_api_logs200_response_spec.rb +96 -0
  260. data/spec/models/list_recordings200_response_data_inner_spec.rb +72 -0
  261. data/spec/models/list_recordings200_response_spec.rb +42 -0
  262. data/spec/models/list_rooms200_response_data_inner_config_spec.rb +36 -0
  263. data/spec/models/list_rooms200_response_data_inner_spec.rb +72 -0
  264. data/spec/models/list_rooms200_response_spec.rb +42 -0
  265. data/spec/models/list_transcript200_response_data_inner_spec.rb +70 -0
  266. data/spec/models/list_transcript200_response_spec.rb +42 -0
  267. data/spec/models/meeting_participants_get_res_data_inner_spec.rb +66 -0
  268. data/spec/models/meeting_participants_get_res_spec.rb +42 -0
  269. data/spec/models/meetings_meeting_get_res_spec.rb +66 -0
  270. data/spec/models/{meeting_token_request_properties_permissions_can_send_spec.rb → permissions_can_admin_spec.rb} +6 -6
  271. data/spec/models/{meeting_token_request_properties_permissions_can_admin_spec.rb → permissions_can_send_spec.rb} +6 -6
  272. data/spec/models/{meeting_token_request_properties_permissions_spec.rb → permissions_spec.rb} +10 -10
  273. data/spec/models/post_webhook_spec.rb +52 -0
  274. data/spec/models/{meeting_token_request_properties_spec.rb → properties_spec.rb} +27 -15
  275. data/spec/models/recording_error_payload_spec.rb +64 -0
  276. data/spec/models/recording_error_spec.rb +58 -0
  277. data/spec/models/recording_ready_to_download_payload_spec.rb +92 -0
  278. data/spec/models/recording_ready_to_download_spec.rb +58 -0
  279. data/spec/models/recording_started_payload_spec.rb +70 -0
  280. data/spec/models/recording_started_spec.rb +58 -0
  281. data/spec/models/recording_streaming_options_spec.rb +100 -0
  282. data/spec/models/recordings_bucket_spec.rb +60 -0
  283. data/spec/models/room_properties_spec.rb +272 -0
  284. data/spec/models/room_properties_streaming_endpoints_inner_hls_config_variants_inner_spec.rb +60 -0
  285. data/spec/models/room_properties_streaming_endpoints_inner_spec.rb +66 -0
  286. data/spec/models/{room_response_spec.rb → rooms_room_name_get_res_spec.rb} +16 -10
  287. data/spec/models/rooms_room_name_presence_get_res_data_inner_spec.rb +66 -0
  288. data/spec/models/rooms_room_name_presence_get_res_spec.rb +42 -0
  289. data/spec/models/send_app_message_request_spec.rb +42 -0
  290. data/spec/models/set_room_config_request_spec.rb +42 -0
  291. data/spec/models/set_session_data_request_spec.rb +52 -0
  292. data/spec/models/streaming_ended_payload_spec.rb +48 -0
  293. data/spec/models/streaming_ended_spec.rb +58 -0
  294. data/spec/models/streaming_error_payload_spec.rb +60 -0
  295. data/spec/models/streaming_error_spec.rb +58 -0
  296. data/spec/models/streaming_started_payload_spec.rb +54 -0
  297. data/spec/models/streaming_started_spec.rb +58 -0
  298. data/spec/models/streaming_updated_payload_spec.rb +54 -0
  299. data/spec/models/streaming_updated_spec.rb +58 -0
  300. data/spec/models/transcription_bucket_spec.rb +54 -0
  301. data/spec/models/transcription_properties_endpointing_spec.rb +32 -0
  302. data/spec/models/transcription_properties_redact_spec.rb +32 -0
  303. data/spec/models/transcription_properties_spec.rb +78 -0
  304. data/spec/models/update_permissions_request_data_value_can_send_spec.rb +32 -0
  305. data/spec/models/update_permissions_request_data_value_spec.rb +48 -0
  306. data/spec/models/update_permissions_request_spec.rb +36 -0
  307. data/spec/models/update_webhook_spec.rb +52 -0
  308. data/spec/models/validate_meeting_token200_response_spec.rb +66 -0
  309. data/spec/models/webhook_spec.rb +100 -0
  310. data/spec/spec_helper.rb +4 -4
  311. metadata +391 -52
  312. data/daily.yaml +0 -422
  313. data/docs/MeetingTokenRequest.md +0 -18
  314. data/docs/MeetingTokenRequestProperties.md +0 -56
  315. data/docs/MeetingTokenRequestPropertiesPermissions.md +0 -22
  316. data/docs/RoomApi.md +0 -227
  317. data/docs/RoomDeletedResponse.md +0 -20
  318. data/docs/RoomNotFoundResponse.md +0 -20
  319. data/docs/RoomRequestProperties.md +0 -76
  320. data/docs/RoomResponse.md +0 -28
  321. data/lib/daily-ruby/api/room_api.rb +0 -218
  322. data/lib/daily-ruby/models/room_request_properties.rb +0 -521
  323. data/script.rb +0 -35
  324. data/spec/api/room_api_spec.rb +0 -74
  325. data/spec/models/meeting_token_request_spec.rb +0 -36
  326. data/spec/models/room_deleted_response_spec.rb +0 -42
  327. data/spec/models/room_not_found_response_spec.rb +0 -42
  328. data/spec/models/server_error_response_spec.rb +0 -36
data/lib/daily-ruby.rb CHANGED
@@ -1,10 +1,10 @@
1
1
  =begin
2
- #Daily
2
+ #Daily API
3
3
 
4
- #The official library for communicating with the Daily REST API.
5
-
6
- The version of the OpenAPI document: 0.0.0
4
+ #The Daily REST API offers the ability to manage the following: - Overall Domain Configuration - Individual Room creation and config management - Meeting token creation and validation - Recording and compositing management - Meeting analytics - Logs and metrics - Real-time presence Please reach out to help@daily.co if we can help with anything
7
5
 
6
+ The version of the OpenAPI document: 1.1.1
7
+ Contact: help@daily.co
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.3.0
10
10
 
@@ -17,22 +17,107 @@ require 'daily-ruby/version'
17
17
  require 'daily-ruby/configuration'
18
18
 
19
19
  # Models
20
+ require 'daily-ruby/models/batch_room_create_request'
21
+ require 'daily-ruby/models/batch_room_create_request_rooms_inner'
22
+ require 'daily-ruby/models/batch_room_delete200_response'
20
23
  require 'daily-ruby/models/create_meeting_token200_response'
21
- require 'daily-ruby/models/meeting_token_request'
22
- require 'daily-ruby/models/meeting_token_request_properties'
23
- require 'daily-ruby/models/meeting_token_request_properties_permissions'
24
- require 'daily-ruby/models/meeting_token_request_properties_permissions_can_admin'
25
- require 'daily-ruby/models/meeting_token_request_properties_permissions_can_send'
26
- require 'daily-ruby/models/room_deleted_response'
27
- require 'daily-ruby/models/room_not_found_response'
28
- require 'daily-ruby/models/room_request'
29
- require 'daily-ruby/models/room_request_properties'
30
- require 'daily-ruby/models/room_response'
31
- require 'daily-ruby/models/server_error_response'
24
+ require 'daily-ruby/models/create_meeting_token_request'
25
+ require 'daily-ruby/models/create_room200_response'
26
+ require 'daily-ruby/models/create_room_request'
27
+ require 'daily-ruby/models/daily_live_streaming_options'
28
+ require 'daily-ruby/models/daily_live_streaming_options_rtmp_url'
29
+ require 'daily-ruby/models/daily_streaming_active_participant_layout_config'
30
+ require 'daily-ruby/models/daily_streaming_custom_layout_config'
31
+ require 'daily-ruby/models/daily_streaming_custom_layout_config_composition_params'
32
+ require 'daily-ruby/models/daily_streaming_default_layout_config'
33
+ require 'daily-ruby/models/daily_streaming_endpoint'
34
+ require 'daily-ruby/models/daily_streaming_layout_config'
35
+ require 'daily-ruby/models/daily_streaming_options'
36
+ require 'daily-ruby/models/daily_streaming_portrait_layout_config'
37
+ require 'daily-ruby/models/daily_streaming_portrait_layout_variant'
38
+ require 'daily-ruby/models/daily_streaming_single_participant_layout_config'
39
+ require 'daily-ruby/models/delete_transcript200_response'
40
+ require 'daily-ruby/models/domain'
41
+ require 'daily-ruby/models/domain_properties'
42
+ require 'daily-ruby/models/eject200_response'
43
+ require 'daily-ruby/models/eject_request'
44
+ require 'daily-ruby/models/get_domain_config200_response'
45
+ require 'daily-ruby/models/get_domain_config200_response_config'
46
+ require 'daily-ruby/models/get_domain_config200_response_config_recordings_bucket'
47
+ require 'daily-ruby/models/get_meeting_info200_response'
48
+ require 'daily-ruby/models/get_meeting_info200_response_data_inner'
49
+ require 'daily-ruby/models/get_meeting_info200_response_data_inner_participants_inner'
50
+ require 'daily-ruby/models/get_presence200_response'
51
+ require 'daily-ruby/models/get_presence200_response_aivw_whz_hl_lhr_sd_hdw7_ew_inner'
52
+ require 'daily-ruby/models/get_recording_info200_response'
53
+ require 'daily-ruby/models/get_recording_info200_response_tracks_inner'
54
+ require 'daily-ruby/models/get_recording_link200_response'
55
+ require 'daily-ruby/models/get_transcript_info200_response'
56
+ require 'daily-ruby/models/get_transcript_info200_response_out_params'
57
+ require 'daily-ruby/models/get_transcript_link200_response'
58
+ require 'daily-ruby/models/list_api_logs200_response'
59
+ require 'daily-ruby/models/list_recordings200_response'
60
+ require 'daily-ruby/models/list_recordings200_response_data_inner'
61
+ require 'daily-ruby/models/list_rooms200_response'
62
+ require 'daily-ruby/models/list_rooms200_response_data_inner'
63
+ require 'daily-ruby/models/list_rooms200_response_data_inner_config'
64
+ require 'daily-ruby/models/list_transcript200_response'
65
+ require 'daily-ruby/models/list_transcript200_response_data_inner'
66
+ require 'daily-ruby/models/meeting_participants_get_res'
67
+ require 'daily-ruby/models/meeting_participants_get_res_data_inner'
68
+ require 'daily-ruby/models/meetings_meeting_get_res'
69
+ require 'daily-ruby/models/permissions'
70
+ require 'daily-ruby/models/permissions_can_admin'
71
+ require 'daily-ruby/models/permissions_can_send'
72
+ require 'daily-ruby/models/post_webhook'
73
+ require 'daily-ruby/models/properties'
74
+ require 'daily-ruby/models/recording_error'
75
+ require 'daily-ruby/models/recording_error_payload'
76
+ require 'daily-ruby/models/recording_ready_to_download'
77
+ require 'daily-ruby/models/recording_ready_to_download_payload'
78
+ require 'daily-ruby/models/recording_started'
79
+ require 'daily-ruby/models/recording_started_payload'
80
+ require 'daily-ruby/models/recording_streaming_options'
81
+ require 'daily-ruby/models/recordings_bucket'
82
+ require 'daily-ruby/models/room_properties'
83
+ require 'daily-ruby/models/room_properties_streaming_endpoints_inner'
84
+ require 'daily-ruby/models/room_properties_streaming_endpoints_inner_hls_config_variants_inner'
85
+ require 'daily-ruby/models/rooms_room_name_get_res'
86
+ require 'daily-ruby/models/rooms_room_name_presence_get_res'
87
+ require 'daily-ruby/models/rooms_room_name_presence_get_res_data_inner'
88
+ require 'daily-ruby/models/send_app_message_request'
89
+ require 'daily-ruby/models/set_room_config_request'
90
+ require 'daily-ruby/models/set_session_data_request'
91
+ require 'daily-ruby/models/streaming_ended'
92
+ require 'daily-ruby/models/streaming_ended_payload'
93
+ require 'daily-ruby/models/streaming_error'
94
+ require 'daily-ruby/models/streaming_error_payload'
95
+ require 'daily-ruby/models/streaming_started'
96
+ require 'daily-ruby/models/streaming_started_payload'
97
+ require 'daily-ruby/models/streaming_updated'
98
+ require 'daily-ruby/models/streaming_updated_payload'
99
+ require 'daily-ruby/models/transcription_bucket'
100
+ require 'daily-ruby/models/transcription_properties'
101
+ require 'daily-ruby/models/transcription_properties_endpointing'
102
+ require 'daily-ruby/models/transcription_properties_redact'
103
+ require 'daily-ruby/models/update_permissions_request'
104
+ require 'daily-ruby/models/update_permissions_request_data_value'
105
+ require 'daily-ruby/models/update_permissions_request_data_value_can_send'
106
+ require 'daily-ruby/models/update_webhook'
107
+ require 'daily-ruby/models/validate_meeting_token200_response'
108
+ require 'daily-ruby/models/webhook'
32
109
 
33
110
  # APIs
111
+ require 'daily-ruby/api/batch_rooms_api'
112
+ require 'daily-ruby/api/domain_api'
113
+ require 'daily-ruby/api/logs_api'
34
114
  require 'daily-ruby/api/meeting_tokens_api'
35
- require 'daily-ruby/api/room_api'
115
+ require 'daily-ruby/api/meetings_api'
116
+ require 'daily-ruby/api/presence_api'
117
+ require 'daily-ruby/api/recordings_api'
118
+ require 'daily-ruby/api/rooms_api'
119
+ require 'daily-ruby/api/transcript_api'
120
+ require 'daily-ruby/api/webhooks_api'
36
121
 
37
122
  module Daily
38
123
  class << self
data/run.sh CHANGED
@@ -3,7 +3,7 @@
3
3
  openapi-generator generate -g ruby -o . -i daily.yaml \
4
4
  --additional-properties=gemName=daily-ruby \
5
5
  --additional-properties=moduleName=Daily \
6
- --additional-properties=gemVersion=0.0.0 \
6
+ --additional-properties=gemVersion=0.0.2 \
7
7
  --additional-properties=gemLicense=MIT \
8
8
  --additional-properties=gemAuthor=Daily \
9
9
  --additional-properties=gemAuthorEmail=help@daily.co \
@@ -0,0 +1,58 @@
1
+ =begin
2
+ #Daily API
3
+
4
+ #The Daily REST API offers the ability to manage the following: - Overall Domain Configuration - Individual Room creation and config management - Meeting token creation and validation - Recording and compositing management - Meeting analytics - Logs and metrics - Real-time presence Please reach out to help@daily.co if we can help with anything
5
+
6
+ The version of the OpenAPI document: 1.1.1
7
+ Contact: help@daily.co
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 7.3.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for Daily::BatchRoomsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'BatchRoomsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = Daily::BatchRoomsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of BatchRoomsApi' do
30
+ it 'should create an instance of BatchRoomsApi' do
31
+ expect(@api_instance).to be_instance_of(Daily::BatchRoomsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for batch_room_create
36
+ # /batch/rooms
37
+ # Create rooms in bulk
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [BatchRoomCreateRequest] :batch_room_create_request
40
+ # @return [Array<RoomsRoomNameGetRes>]
41
+ describe 'batch_room_create test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ # unit tests for batch_room_delete
48
+ # /batch/rooms
49
+ # Delete rooms in bulk
50
+ # @param [Hash] opts the optional parameters
51
+ # @return [BatchRoomDelete200Response]
52
+ describe 'batch_room_delete test' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
55
+ end
56
+ end
57
+
58
+ end
@@ -0,0 +1,58 @@
1
+ =begin
2
+ #Daily API
3
+
4
+ #The Daily REST API offers the ability to manage the following: - Overall Domain Configuration - Individual Room creation and config management - Meeting token creation and validation - Recording and compositing management - Meeting analytics - Logs and metrics - Real-time presence Please reach out to help@daily.co if we can help with anything
5
+
6
+ The version of the OpenAPI document: 1.1.1
7
+ Contact: help@daily.co
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 7.3.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for Daily::DomainApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'DomainApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = Daily::DomainApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of DomainApi' do
30
+ it 'should create an instance of DomainApi' do
31
+ expect(@api_instance).to be_instance_of(Daily::DomainApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for get_domain_config
36
+ # Get domain configuration
37
+ # Get top-level configuration of your domain
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [GetDomainConfig200Response]
40
+ describe 'get_domain_config test' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
+ end
44
+ end
45
+
46
+ # unit tests for set_domain_config
47
+ # Set domain configuration
48
+ # Set top-level configuration options for your domain
49
+ # @param [Hash] opts the optional parameters
50
+ # @option opts [Domain] :domain
51
+ # @return [nil]
52
+ describe 'set_domain_config test' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
55
+ end
56
+ end
57
+
58
+ end
@@ -0,0 +1,70 @@
1
+ =begin
2
+ #Daily API
3
+
4
+ #The Daily REST API offers the ability to manage the following: - Overall Domain Configuration - Individual Room creation and config management - Meeting token creation and validation - Recording and compositing management - Meeting analytics - Logs and metrics - Real-time presence Please reach out to help@daily.co if we can help with anything
5
+
6
+ The version of the OpenAPI document: 1.1.1
7
+ Contact: help@daily.co
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 7.3.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for Daily::LogsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'LogsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = Daily::LogsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of LogsApi' do
30
+ it 'should create an instance of LogsApi' do
31
+ expect(@api_instance).to be_instance_of(Daily::LogsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for list_api_logs
36
+ # /logs/api
37
+ # @param [Hash] opts the optional parameters
38
+ # @option opts [String] :starting_after Given the log ID, will return all records after that ID. See [pagination docs](../../rest-api#pagination)
39
+ # @option opts [String] :ending_before Given the log ID, will return all records before that ID. See [pagination docs](../../rest-api#pagination)
40
+ # @option opts [Integer] :limit Limit the number of logs and/or metrics returned
41
+ # @option opts [String] :source The source of the given logs, either &#x60;\&quot;api\&quot;&#x60; or &#x60;\&quot;webhook\&quot;&#x60;
42
+ # @option opts [String] :url Either the webhook server URL, or the API endpoint that was logged
43
+ # @return [ListAPILogs200Response]
44
+ describe 'list_api_logs test' do
45
+ it 'should work' do
46
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
47
+ end
48
+ end
49
+
50
+ # unit tests for list_logs
51
+ # /logs
52
+ # @param [Hash] opts the optional parameters
53
+ # @option opts [Boolean] :include_logs If true, you get a \&quot;logs\&quot; array in the results
54
+ # @option opts [Boolean] :include_metrics If true, results have \&quot;metrics\&quot; array
55
+ # @option opts [String] :user_session_id Filters by this user ID (aka \&quot;participant ID\&quot;). Required if &#x60;mtgSessionId&#x60; is not present in the request
56
+ # @option opts [String] :mtg_session_id Filters by this Session ID. Required if &#x60;userSessionId&#x60; is not present in the request
57
+ # @option opts [String] :log_level Filters by the given log level name
58
+ # @option opts [String] :order ASC or DESC, case insensitive
59
+ # @option opts [Integer] :start_time A JS timestamp (ms since epoch in UTC)
60
+ # @option opts [Integer] :end_time A JS timestamp (ms since epoch), defaults to the current time
61
+ # @option opts [Integer] :limit Limit the number of logs and/or metrics returned
62
+ # @option opts [Integer] :offset Number of records to skip before returning results
63
+ # @return [Object]
64
+ describe 'list_logs test' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
67
+ end
68
+ end
69
+
70
+ end
@@ -1,10 +1,10 @@
1
1
  =begin
2
- #Daily
2
+ #Daily API
3
3
 
4
- #The official library for communicating with the Daily REST API.
5
-
6
- The version of the OpenAPI document: 0.0.0
4
+ #The Daily REST API offers the ability to manage the following: - Overall Domain Configuration - Individual Room creation and config management - Meeting token creation and validation - Recording and compositing management - Meeting analytics - Logs and metrics - Real-time presence Please reach out to help@daily.co if we can help with anything
7
5
 
6
+ The version of the OpenAPI document: 1.1.1
7
+ Contact: help@daily.co
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.3.0
10
10
 
@@ -33,10 +33,10 @@ describe 'MeetingTokensApi' do
33
33
  end
34
34
 
35
35
  # unit tests for create_meeting_token
36
- # Creates a meeting token
37
- # A POST request to /meeting-tokens creates a new meeting token.
36
+ # meeting-tokens
37
+ # Create a meeting token
38
38
  # @param [Hash] opts the optional parameters
39
- # @option opts [MeetingTokenRequest] :meeting_token_request A room object
39
+ # @option opts [CreateMeetingTokenRequest] :create_meeting_token_request
40
40
  # @return [CreateMeetingToken200Response]
41
41
  describe 'create_meeting_token test' do
42
42
  it 'should work' do
@@ -44,4 +44,17 @@ describe 'MeetingTokensApi' do
44
44
  end
45
45
  end
46
46
 
47
+ # unit tests for validate_meeting_token
48
+ # meeting-tokens/:meeting_token
49
+ # Validate meeting tokens
50
+ # @param meeting_token
51
+ # @param [Hash] opts the optional parameters
52
+ # @option opts [Boolean] :ignore_nbf Ignore the &#x60;nbf&#x60; in a JWT, if given
53
+ # @return [ValidateMeetingToken200Response]
54
+ describe 'validate_meeting_token test' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
47
60
  end
@@ -0,0 +1,81 @@
1
+ =begin
2
+ #Daily API
3
+
4
+ #The Daily REST API offers the ability to manage the following: - Overall Domain Configuration - Individual Room creation and config management - Meeting token creation and validation - Recording and compositing management - Meeting analytics - Logs and metrics - Real-time presence Please reach out to help@daily.co if we can help with anything
5
+
6
+ The version of the OpenAPI document: 1.1.1
7
+ Contact: help@daily.co
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 7.3.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for Daily::MeetingsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'MeetingsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = Daily::MeetingsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of MeetingsApi' do
30
+ it 'should create an instance of MeetingsApi' do
31
+ expect(@api_instance).to be_instance_of(Daily::MeetingsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for get_individual_meeting_info
36
+ # /meetings/:meeting
37
+ # retrieve info about a particular meeting
38
+ # @param meeting the ID of the meeting session
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [MeetingsMeetingGetRes]
41
+ describe 'get_individual_meeting_info test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ # unit tests for get_meeting_info
48
+ # /meetings
49
+ # retrieve meeting analytics
50
+ # @param [Hash] opts the optional parameters
51
+ # @option opts [String] :room
52
+ # @option opts [Integer] :timeframe_start
53
+ # @option opts [Integer] :timeframe_end
54
+ # @option opts [Integer] :limit
55
+ # @option opts [String] :starting_after
56
+ # @option opts [String] :ending_before
57
+ # @option opts [Boolean] :ongoing
58
+ # @option opts [Boolean] :no_participants
59
+ # @return [GetMeetingInfo200Response]
60
+ describe 'get_meeting_info test' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
+ end
64
+ end
65
+
66
+ # unit tests for get_meeting_participants
67
+ # /meetings/:meeting/participants
68
+ # retrieve info about the participants in a particular meeting
69
+ # @param meeting the ID of the meeting session
70
+ # @param [Hash] opts the optional parameters
71
+ # @option opts [Integer] :limit the largest number of participant records to return
72
+ # @option opts [String] :joined_after limit to participants who joined after the given participant, identified by &#x60;participant_id&#x60;
73
+ # @option opts [String] :joined_before limit to participants who joined before the given participant, identified by &#x60;participant_id&#x60;
74
+ # @return [MeetingParticipantsGetRes]
75
+ describe 'get_meeting_participants test' do
76
+ it 'should work' do
77
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
78
+ end
79
+ end
80
+
81
+ end
@@ -0,0 +1,45 @@
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::PresenceApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'PresenceApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = Daily::PresenceApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PresenceApi' do
30
+ it 'should create an instance of PresenceApi' do
31
+ expect(@api_instance).to be_instance_of(Daily::PresenceApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for get_presence
36
+ # /presence
37
+ # @param [Hash] opts the optional parameters
38
+ # @return [GetPresence200Response]
39
+ describe 'get_presence test' do
40
+ it 'should work' do
41
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
42
+ end
43
+ end
44
+
45
+ end
@@ -0,0 +1,86 @@
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::RecordingsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'RecordingsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = Daily::RecordingsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of RecordingsApi' do
30
+ it 'should create an instance of RecordingsApi' do
31
+ expect(@api_instance).to be_instance_of(Daily::RecordingsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for delete_recording
36
+ # recordings/:id
37
+ # Delete a recording
38
+ # @param recording_id
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [Object]
41
+ describe 'delete_recording test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ # unit tests for get_recording_info
48
+ # recordings/:id
49
+ # Get info about a recording
50
+ # @param recording_id
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [GetRecordingInfo200Response]
53
+ describe 'get_recording_info test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
56
+ end
57
+ end
58
+
59
+ # unit tests for get_recording_link
60
+ # recordings/:id/access-link
61
+ # Generate an access link for a recording
62
+ # @param recording_id
63
+ # @param [Hash] opts the optional parameters
64
+ # @return [GetRecordingLink200Response]
65
+ describe 'get_recording_link test' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
68
+ end
69
+ end
70
+
71
+ # unit tests for list_recordings
72
+ # /recordings
73
+ # List recordings
74
+ # @param [Hash] opts the optional parameters
75
+ # @option opts [Integer] :limit
76
+ # @option opts [String] :ending_before
77
+ # @option opts [String] :starting_after
78
+ # @option opts [String] :room_name
79
+ # @return [ListRecordings200Response]
80
+ describe 'list_recordings test' do
81
+ it 'should work' do
82
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
83
+ end
84
+ end
85
+
86
+ end