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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 30036a3624f0289448341cf3a930b890d59d766d2d303835d84a632b2bfb101f
4
- data.tar.gz: 80857b3b53296d8b74ff56d927341e30a45db4d32211e94b7370df9df9989d87
3
+ metadata.gz: eec688b2711a1c211646ce1b0aab8ba7698aabb91af4278243833ea51c1a3acf
4
+ data.tar.gz: 6163e6aca8de5283295577752ea07237ded5dd4bcd1db19dd39107dbfe1b16ab
5
5
  SHA512:
6
- metadata.gz: e9b12da014cc46e6679eed93fc8d7551c3a7f9b24e485df1475070664f5f8e16d44c338a4970bfeacb60e7988df093d0cf42f3c69675d082cc580018e080c40a
7
- data.tar.gz: 64c2f0fbc381cf0ca39919e39bc301830a2c0378593e166bcd329b9488babcf01c680ec0baed6fbaa734bf3f2245ae35fe27aa574c3e3b3756324b7779bf466c
6
+ metadata.gz: 39f1cf3e654a3ccbd93b39d9bdd4afa18384190fd03676f475e10e112248495ea92b87000eb69f71b4a9f1f643f6f26d817b85641766a61234f0fbf5b44c5db1
7
+ data.tar.gz: 5a0ff985c925d88403af5eba13b3482604cfa7fb9a087f4f4f8eba905e3f90a83c9a740287d6a6d2d77a12d3e0dbe65a0491dc412eb0012b07587823e3d7999f
data/Gemfile CHANGED
@@ -5,5 +5,5 @@ gemspec
5
5
  group :development, :test do
6
6
  gem 'rake', '~> 13.0.1'
7
7
  gem 'pry-byebug'
8
- gem 'rubocop', '~> 0.66.0'
8
+ gem 'rubocop', '~> 1.4.0'
9
9
  end
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- daily-ruby (0.0.0)
4
+ daily-ruby (1.0.0)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart
7
7
 
@@ -18,7 +18,6 @@ GEM
18
18
  multipart-post (~> 2)
19
19
  faraday-net_http (3.1.0)
20
20
  net-http
21
- jaro_winkler (1.5.6)
22
21
  method_source (1.0.0)
23
22
  multipart-post (2.4.0)
24
23
  net-http (0.4.1)
@@ -33,11 +32,11 @@ GEM
33
32
  pry-byebug (3.10.1)
34
33
  byebug (~> 11.0)
35
34
  pry (>= 0.13, < 0.15)
36
- psych (5.1.2)
37
- stringio
38
35
  racc (1.7.3)
39
36
  rainbow (3.1.1)
40
37
  rake (13.0.6)
38
+ regexp_parser (2.9.0)
39
+ rexml (3.2.6)
41
40
  rspec (3.13.0)
42
41
  rspec-core (~> 3.13.0)
43
42
  rspec-expectations (~> 3.13.0)
@@ -51,17 +50,19 @@ GEM
51
50
  diff-lcs (>= 1.2.0, < 2.0)
52
51
  rspec-support (~> 3.13.0)
53
52
  rspec-support (3.13.0)
54
- rubocop (0.66.0)
55
- jaro_winkler (~> 1.5.1)
53
+ rubocop (1.4.2)
56
54
  parallel (~> 1.10)
57
- parser (>= 2.5, != 2.5.1.1)
58
- psych (>= 3.1.0)
55
+ parser (>= 2.7.1.5)
59
56
  rainbow (>= 2.2.2, < 4.0)
57
+ regexp_parser (>= 1.8)
58
+ rexml
59
+ rubocop-ast (>= 1.1.1)
60
60
  ruby-progressbar (~> 1.7)
61
- unicode-display_width (>= 1.4.0, < 1.6)
61
+ unicode-display_width (>= 1.4.0, < 2.0)
62
+ rubocop-ast (1.30.0)
63
+ parser (>= 3.2.1.0)
62
64
  ruby-progressbar (1.13.0)
63
- stringio (3.1.0)
64
- unicode-display_width (1.5.0)
65
+ unicode-display_width (1.8.0)
65
66
  uri (0.13.0)
66
67
 
67
68
  PLATFORMS
@@ -73,7 +74,7 @@ DEPENDENCIES
73
74
  pry-byebug
74
75
  rake (~> 13.0.1)
75
76
  rspec (~> 3.6, >= 3.6.0)
76
- rubocop (~> 0.66.0)
77
+ rubocop (~> 1.4.0)
77
78
 
78
79
  BUNDLED WITH
79
80
  2.5.3
data/README.md CHANGED
@@ -1,14 +1,25 @@
1
1
  # daily-ruby
2
2
 
3
- Daily - the Ruby gem for the Daily
3
+ Daily - the Ruby gem for the Daily API
4
4
 
5
- The official library for communicating with the Daily REST API.
5
+ The Daily REST API offers the ability to manage the following:
6
+
7
+ - Overall Domain Configuration
8
+ - Individual Room creation and config management
9
+ - Meeting token creation and validation
10
+ - Recording and compositing management
11
+ - Meeting analytics
12
+ - Logs and metrics
13
+ - Real-time presence
14
+
15
+ Please reach out to help@daily.co if we can help with anything
6
16
 
7
17
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
18
 
9
- - API version: 0.0.0
10
- - Package version: 0.0.0
19
+ - API version: 1.1.1
20
+ - Package version: 1.0.0
11
21
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
22
+ For more information, please visit [https://docs.daily.co](https://docs.daily.co)
12
23
 
13
24
  ## Installation
14
25
 
@@ -23,16 +34,16 @@ gem build daily-ruby.gemspec
23
34
  Then either install the gem locally:
24
35
 
25
36
  ```shell
26
- gem install ./daily-ruby-0.0.0.gem
37
+ gem install ./daily-ruby-1.0.0.gem
27
38
  ```
28
39
 
29
- (for development, run `gem install --dev ./daily-ruby-0.0.0.gem` to install the development dependencies)
40
+ (for development, run `gem install --dev ./daily-ruby-1.0.0.gem` to install the development dependencies)
30
41
 
31
42
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
43
 
33
44
  Finally add this to the Gemfile:
34
45
 
35
- gem 'daily-ruby', '~> 0.0.0'
46
+ gem 'daily-ruby', '~> 1.0.0'
36
47
 
37
48
  ### Install from Git
38
49
 
@@ -59,61 +70,213 @@ require 'daily-ruby'
59
70
  # Setup authorization
60
71
  Daily.configure do |config|
61
72
  # Configure Bearer authorization: bearerAuth
62
- config.access_token = 'YOUR_BEARER_TOKEN'
63
- # Configure a proc to get access tokens in lieu of the static access_token configuration
64
- config.access_token_getter = -> { 'YOUR TOKEN GETTER PROC' }
73
+ config.api_key['sec0'] = ENV['DAILY_API_KEY']
74
+ config.api_key_prefix['sec0'] = 'Bearer'
65
75
  # Configure faraday connection
66
- config.configure_faraday_connection { |connection| 'YOUR CONNECTION CONFIG PROC' }
76
+ # config.configure_faraday_connection { |connection| 'YOUR CONNECTION CONFIG PROC' }
77
+ end
78
+
79
+ room_api_instance = Daily::RoomsApi.new
80
+ opts = {
81
+ room_request: Daily::CreateRoomRequest.new(
82
+ privacy: 'private',
83
+ properties: Daily::RoomProperties.new({
84
+ exp: (Time.now + (3600 * 2)).to_i, # Delete the room after two hours
85
+ enable_mesh_sfu: true,
86
+ sfu_switchover: 0.5
87
+ })
88
+ )
89
+ }
90
+
91
+ begin
92
+ # Create a new room
93
+ room = room_api_instance.create_room(opts)
94
+ p room
95
+ rescue Daily::ApiError => e
96
+ puts "Error when calling RoomApi->create_room: #{e}"
67
97
  end
68
98
 
69
- api_instance = Daily::MeetingTokensApi.new
99
+ meeting_token_api_instance = Daily::MeetingTokensApi.new
100
+
101
+ # Create an owner meeting_token for the room with privacy set to private and
102
+ # the expiration set to 2 hours from now.
103
+
70
104
  opts = {
71
- meeting_token_request: Daily::MeetingTokenRequest.new # MeetingTokenRequest | A room object
105
+ create_meeting_token_request: Daily::CreateMeetingTokenRequest.new({
106
+ properties: {
107
+ is_owner: true,
108
+ room_name: room.name,
109
+ exp: (Time.now + (3600 * 2)).to_i # Expire the token after two hours
110
+ }
111
+ })
72
112
  }
73
113
 
114
+ p opts
115
+
116
+
74
117
  begin
75
- #Creates a meeting token
76
- result = api_instance.create_meeting_token(opts)
77
- p result
118
+ # Create a new meeting token
119
+ meeting_token = meeting_token_api_instance.create_meeting_token(opts)
120
+ p meeting_token
78
121
  rescue Daily::ApiError => e
79
- puts "Exception when calling MeetingTokensApi->create_meeting_token: #{e}"
122
+ puts "Error when calling MeetingTokensApi->create_meeting_token: #{e}"
80
123
  end
81
124
 
125
+
126
+ p "Room url: " + room.url
127
+ p "Meeting token: " + meeting_token.token
128
+
82
129
  ```
83
130
 
84
131
  ## Documentation for API Endpoints
85
132
 
86
133
  All URIs are relative to *https://api.daily.co/v1*
87
134
 
88
- Class | Method | HTTP request | Description
89
- ------------ | ------------- | ------------- | -------------
90
- *Daily::MeetingTokensApi* | [**create_meeting_token**](docs/MeetingTokensApi.md#create_meeting_token) | **POST** /meeting-tokens | Creates a meeting token
91
- *Daily::RoomApi* | [**create_room**](docs/RoomApi.md#create_room) | **POST** /rooms | Create a new room
92
- *Daily::RoomApi* | [**delete_room**](docs/RoomApi.md#delete_room) | **DELETE** /rooms/{name} | Delete room
93
- *Daily::RoomApi* | [**get_rooms**](docs/RoomApi.md#get_rooms) | **GET** /rooms | Get a list rooms
94
-
135
+ | Class | Method | HTTP request | Description |
136
+ | ------------------------- | ---------------------------------------------------------------------------------- | ------------------------------------------------- | --------------------------------- |
137
+ | _Daily::BatchRoomsApi_ | [**batch_room_create**](docs/BatchRoomsApi.md#batch_room_create) | **POST** /batch/rooms | /batch/rooms |
138
+ | _Daily::BatchRoomsApi_ | [**batch_room_delete**](docs/BatchRoomsApi.md#batch_room_delete) | **DELETE** /batch/rooms | /batch/rooms |
139
+ | _Daily::DomainApi_ | [**get_domain_config**](docs/DomainApi.md#get_domain_config) | **GET** / | Get domain configuration |
140
+ | _Daily::DomainApi_ | [**set_domain_config**](docs/DomainApi.md#set_domain_config) | **POST** / | Set domain configuration |
141
+ | _Daily::LogsApi_ | [**list_api_logs**](docs/LogsApi.md#list_api_logs) | **GET** /logs/api | /logs/api |
142
+ | _Daily::LogsApi_ | [**list_logs**](docs/LogsApi.md#list_logs) | **GET** /logs | /logs |
143
+ | _Daily::MeetingTokensApi_ | [**create_meeting_token**](docs/MeetingTokensApi.md#create_meeting_token) | **POST** /meeting-tokens | meeting-tokens |
144
+ | _Daily::MeetingTokensApi_ | [**validate_meeting_token**](docs/MeetingTokensApi.md#validate_meeting_token) | **GET** /meeting-tokens/{meeting_token} | meeting-tokens/:meeting_token |
145
+ | _Daily::MeetingsApi_ | [**get_individual_meeting_info**](docs/MeetingsApi.md#get_individual_meeting_info) | **GET** /meetings/{meeting} | /meetings/:meeting |
146
+ | _Daily::MeetingsApi_ | [**get_meeting_info**](docs/MeetingsApi.md#get_meeting_info) | **GET** /meetings | /meetings |
147
+ | _Daily::MeetingsApi_ | [**get_meeting_participants**](docs/MeetingsApi.md#get_meeting_participants) | **GET** /meetings/{meeting}/participants | /meetings/:meeting/participants |
148
+ | _Daily::PresenceApi_ | [**get_presence**](docs/PresenceApi.md#get_presence) | **GET** /presence | /presence |
149
+ | _Daily::RecordingsApi_ | [**delete_recording**](docs/RecordingsApi.md#delete_recording) | **DELETE** /recordings/{recording_id} | recordings/:id |
150
+ | _Daily::RecordingsApi_ | [**get_recording_info**](docs/RecordingsApi.md#get_recording_info) | **GET** /recordings/{recording_id} | recordings/:id |
151
+ | _Daily::RecordingsApi_ | [**get_recording_link**](docs/RecordingsApi.md#get_recording_link) | **GET** /recordings/{recording_id}/access-link | recordings/:id/access-link |
152
+ | _Daily::RecordingsApi_ | [**list_recordings**](docs/RecordingsApi.md#list_recordings) | **GET** /recordings | /recordings |
153
+ | _Daily::RoomsApi_ | [**create_room**](docs/RoomsApi.md#create_room) | **POST** /rooms | /rooms |
154
+ | _Daily::RoomsApi_ | [**delete_room**](docs/RoomsApi.md#delete_room) | **DELETE** /rooms/{room_name} | rooms/:name |
155
+ | _Daily::RoomsApi_ | [**eject**](docs/RoomsApi.md#eject) | **POST** /rooms/{room_name}/eject | rooms/:name/eject |
156
+ | _Daily::RoomsApi_ | [**get_room_config**](docs/RoomsApi.md#get_room_config) | **GET** /rooms/{room_name} | rooms/:name |
157
+ | _Daily::RoomsApi_ | [**get_room_presence**](docs/RoomsApi.md#get_room_presence) | **GET** /rooms/{room_name}/presence | rooms/:name/presence |
158
+ | _Daily::RoomsApi_ | [**get_session_data**](docs/RoomsApi.md#get_session_data) | **GET** /rooms/{room_name}/get-session-data | rooms/:name/get-session-data |
159
+ | _Daily::RoomsApi_ | [**list_rooms**](docs/RoomsApi.md#list_rooms) | **GET** /rooms | /rooms |
160
+ | _Daily::RoomsApi_ | [**room_livestreaming_start**](docs/RoomsApi.md#room_livestreaming_start) | **POST** /rooms/{room_name}/live-streaming/start | rooms/:name/live-streaming/start |
161
+ | _Daily::RoomsApi_ | [**room_livestreaming_stop**](docs/RoomsApi.md#room_livestreaming_stop) | **POST** /rooms/{room_name}/live-streaming/stop | rooms/:name/live-streaming/stop |
162
+ | _Daily::RoomsApi_ | [**room_livestreaming_update**](docs/RoomsApi.md#room_livestreaming_update) | **POST** /rooms/{room_name}/live-streaming/update | rooms/:name/live-streaming/update |
163
+ | _Daily::RoomsApi_ | [**room_recordings_start**](docs/RoomsApi.md#room_recordings_start) | **POST** /rooms/{room_name}/recordings/start | rooms/:name/recordings/start |
164
+ | _Daily::RoomsApi_ | [**room_recordings_stop**](docs/RoomsApi.md#room_recordings_stop) | **POST** /rooms/{room_name}/recordings/stop | rooms/:name/recordings/stop |
165
+ | _Daily::RoomsApi_ | [**room_recordings_update**](docs/RoomsApi.md#room_recordings_update) | **POST** /rooms/{room_name}/recordings/update | rooms/:name/recordings/update |
166
+ | _Daily::RoomsApi_ | [**room_transcription_start**](docs/RoomsApi.md#room_transcription_start) | **POST** /rooms/{room_name}/transcription/start | rooms/:name/transcription/start |
167
+ | _Daily::RoomsApi_ | [**room_transcription_stop**](docs/RoomsApi.md#room_transcription_stop) | **POST** /rooms/{room_name}/transcription/stop | rooms/:name/transcription/stop |
168
+ | _Daily::RoomsApi_ | [**send_app_message**](docs/RoomsApi.md#send_app_message) | **POST** /rooms/{room_name}/send-app-message | rooms/:name/send-app-message |
169
+ | _Daily::RoomsApi_ | [**set_room_config**](docs/RoomsApi.md#set_room_config) | **POST** /rooms/{room_name} | rooms/:name |
170
+ | _Daily::RoomsApi_ | [**set_session_data**](docs/RoomsApi.md#set_session_data) | **POST** /rooms/{room_name}/set-session-data | rooms/:name/set-session-data |
171
+ | _Daily::RoomsApi_ | [**update_permissions**](docs/RoomsApi.md#update_permissions) | **POST** /rooms/{room_name}/update-permissions | rooms/:name/update-permissions |
172
+ | _Daily::TranscriptApi_ | [**delete_transcript**](docs/TranscriptApi.md#delete_transcript) | **DELETE** /transcript/{transcriptId} | transcript/:id |
173
+ | _Daily::TranscriptApi_ | [**get_transcript_info**](docs/TranscriptApi.md#get_transcript_info) | **GET** /transcript/{transcriptId} | transcript/:transcriptId |
174
+ | _Daily::TranscriptApi_ | [**get_transcript_link**](docs/TranscriptApi.md#get_transcript_link) | **GET** /transcript/{transcriptId}/access-link | transcript/:id/access-link |
175
+ | _Daily::TranscriptApi_ | [**list_transcript**](docs/TranscriptApi.md#list_transcript) | **GET** /transcript | /transcript |
176
+ | _Daily::WebhooksApi_ | [**create_webhook**](docs/WebhooksApi.md#create_webhook) | **POST** /webhooks | /webhooks |
177
+ | _Daily::WebhooksApi_ | [**delete_webhook**](docs/WebhooksApi.md#delete_webhook) | **DELETE** /webhooks/{id} | webhooks/:id |
178
+ | _Daily::WebhooksApi_ | [**get_webhook_config**](docs/WebhooksApi.md#get_webhook_config) | **GET** /webhooks/{id} | webhooks/:id |
179
+ | _Daily::WebhooksApi_ | [**get_webhooks**](docs/WebhooksApi.md#get_webhooks) | **GET** /webhooks | /webhooks |
180
+ | _Daily::WebhooksApi_ | [**update_webhook_config**](docs/WebhooksApi.md#update_webhook_config) | **POST** /webhooks/{id} | webhooks/:id |
95
181
 
96
182
  ## Documentation for Models
97
183
 
98
- - [Daily::CreateMeetingToken200Response](docs/CreateMeetingToken200Response.md)
99
- - [Daily::MeetingTokenRequest](docs/MeetingTokenRequest.md)
100
- - [Daily::MeetingTokenRequestProperties](docs/MeetingTokenRequestProperties.md)
101
- - [Daily::MeetingTokenRequestPropertiesPermissions](docs/MeetingTokenRequestPropertiesPermissions.md)
102
- - [Daily::MeetingTokenRequestPropertiesPermissionsCanAdmin](docs/MeetingTokenRequestPropertiesPermissionsCanAdmin.md)
103
- - [Daily::MeetingTokenRequestPropertiesPermissionsCanSend](docs/MeetingTokenRequestPropertiesPermissionsCanSend.md)
104
- - [Daily::RoomDeletedResponse](docs/RoomDeletedResponse.md)
105
- - [Daily::RoomNotFoundResponse](docs/RoomNotFoundResponse.md)
106
- - [Daily::RoomRequest](docs/RoomRequest.md)
107
- - [Daily::RoomRequestProperties](docs/RoomRequestProperties.md)
108
- - [Daily::RoomResponse](docs/RoomResponse.md)
109
- - [Daily::ServerErrorResponse](docs/ServerErrorResponse.md)
110
-
184
+ - [Daily::BatchRoomCreateRequest](docs/BatchRoomCreateRequest.md)
185
+ - [Daily::BatchRoomCreateRequestRoomsInner](docs/BatchRoomCreateRequestRoomsInner.md)
186
+ - [Daily::BatchRoomDelete200Response](docs/BatchRoomDelete200Response.md)
187
+ - [Daily::CreateMeetingToken200Response](docs/CreateMeetingToken200Response.md)
188
+ - [Daily::CreateMeetingTokenRequest](docs/CreateMeetingTokenRequest.md)
189
+ - [Daily::CreateRoom200Response](docs/CreateRoom200Response.md)
190
+ - [Daily::CreateRoomRequest](docs/CreateRoomRequest.md)
191
+ - [Daily::DailyLiveStreamingOptions](docs/DailyLiveStreamingOptions.md)
192
+ - [Daily::DailyLiveStreamingOptionsRtmpUrl](docs/DailyLiveStreamingOptionsRtmpUrl.md)
193
+ - [Daily::DailyStreamingActiveParticipantLayoutConfig](docs/DailyStreamingActiveParticipantLayoutConfig.md)
194
+ - [Daily::DailyStreamingCustomLayoutConfig](docs/DailyStreamingCustomLayoutConfig.md)
195
+ - [Daily::DailyStreamingCustomLayoutConfigCompositionParams](docs/DailyStreamingCustomLayoutConfigCompositionParams.md)
196
+ - [Daily::DailyStreamingDefaultLayoutConfig](docs/DailyStreamingDefaultLayoutConfig.md)
197
+ - [Daily::DailyStreamingEndpoint](docs/DailyStreamingEndpoint.md)
198
+ - [Daily::DailyStreamingLayoutConfig](docs/DailyStreamingLayoutConfig.md)
199
+ - [Daily::DailyStreamingOptions](docs/DailyStreamingOptions.md)
200
+ - [Daily::DailyStreamingPortraitLayoutConfig](docs/DailyStreamingPortraitLayoutConfig.md)
201
+ - [Daily::DailyStreamingPortraitLayoutVariant](docs/DailyStreamingPortraitLayoutVariant.md)
202
+ - [Daily::DailyStreamingSingleParticipantLayoutConfig](docs/DailyStreamingSingleParticipantLayoutConfig.md)
203
+ - [Daily::DeleteTranscript200Response](docs/DeleteTranscript200Response.md)
204
+ - [Daily::Domain](docs/Domain.md)
205
+ - [Daily::DomainProperties](docs/DomainProperties.md)
206
+ - [Daily::Eject200Response](docs/Eject200Response.md)
207
+ - [Daily::EjectRequest](docs/EjectRequest.md)
208
+ - [Daily::GetDomainConfig200Response](docs/GetDomainConfig200Response.md)
209
+ - [Daily::GetDomainConfig200ResponseConfig](docs/GetDomainConfig200ResponseConfig.md)
210
+ - [Daily::GetDomainConfig200ResponseConfigRecordingsBucket](docs/GetDomainConfig200ResponseConfigRecordingsBucket.md)
211
+ - [Daily::GetMeetingInfo200Response](docs/GetMeetingInfo200Response.md)
212
+ - [Daily::GetMeetingInfo200ResponseDataInner](docs/GetMeetingInfo200ResponseDataInner.md)
213
+ - [Daily::GetMeetingInfo200ResponseDataInnerParticipantsInner](docs/GetMeetingInfo200ResponseDataInnerParticipantsInner.md)
214
+ - [Daily::GetPresence200Response](docs/GetPresence200Response.md)
215
+ - [Daily::GetPresence200ResponseAIVWWhzHlLHrSdHdw7EWInner](docs/GetPresence200ResponseAIVWWhzHlLHrSdHdw7EWInner.md)
216
+ - [Daily::GetRecordingInfo200Response](docs/GetRecordingInfo200Response.md)
217
+ - [Daily::GetRecordingInfo200ResponseTracksInner](docs/GetRecordingInfo200ResponseTracksInner.md)
218
+ - [Daily::GetRecordingLink200Response](docs/GetRecordingLink200Response.md)
219
+ - [Daily::GetTranscriptInfo200Response](docs/GetTranscriptInfo200Response.md)
220
+ - [Daily::GetTranscriptInfo200ResponseOutParams](docs/GetTranscriptInfo200ResponseOutParams.md)
221
+ - [Daily::GetTranscriptLink200Response](docs/GetTranscriptLink200Response.md)
222
+ - [Daily::ListAPILogs200Response](docs/ListAPILogs200Response.md)
223
+ - [Daily::ListRecordings200Response](docs/ListRecordings200Response.md)
224
+ - [Daily::ListRecordings200ResponseDataInner](docs/ListRecordings200ResponseDataInner.md)
225
+ - [Daily::ListRooms200Response](docs/ListRooms200Response.md)
226
+ - [Daily::ListRooms200ResponseDataInner](docs/ListRooms200ResponseDataInner.md)
227
+ - [Daily::ListRooms200ResponseDataInnerConfig](docs/ListRooms200ResponseDataInnerConfig.md)
228
+ - [Daily::ListTranscript200Response](docs/ListTranscript200Response.md)
229
+ - [Daily::ListTranscript200ResponseDataInner](docs/ListTranscript200ResponseDataInner.md)
230
+ - [Daily::MeetingParticipantsGetRes](docs/MeetingParticipantsGetRes.md)
231
+ - [Daily::MeetingParticipantsGetResDataInner](docs/MeetingParticipantsGetResDataInner.md)
232
+ - [Daily::MeetingsMeetingGetRes](docs/MeetingsMeetingGetRes.md)
233
+ - [Daily::Permissions](docs/Permissions.md)
234
+ - [Daily::PermissionsCanAdmin](docs/PermissionsCanAdmin.md)
235
+ - [Daily::PermissionsCanSend](docs/PermissionsCanSend.md)
236
+ - [Daily::PostWebhook](docs/PostWebhook.md)
237
+ - [Daily::Properties](docs/Properties.md)
238
+ - [Daily::RecordingError](docs/RecordingError.md)
239
+ - [Daily::RecordingErrorPayload](docs/RecordingErrorPayload.md)
240
+ - [Daily::RecordingReadyToDownload](docs/RecordingReadyToDownload.md)
241
+ - [Daily::RecordingReadyToDownloadPayload](docs/RecordingReadyToDownloadPayload.md)
242
+ - [Daily::RecordingStarted](docs/RecordingStarted.md)
243
+ - [Daily::RecordingStartedPayload](docs/RecordingStartedPayload.md)
244
+ - [Daily::RecordingStreamingOptions](docs/RecordingStreamingOptions.md)
245
+ - [Daily::RecordingsBucket](docs/RecordingsBucket.md)
246
+ - [Daily::RoomProperties](docs/RoomProperties.md)
247
+ - [Daily::RoomPropertiesStreamingEndpointsInner](docs/RoomPropertiesStreamingEndpointsInner.md)
248
+ - [Daily::RoomPropertiesStreamingEndpointsInnerHlsConfigVariantsInner](docs/RoomPropertiesStreamingEndpointsInnerHlsConfigVariantsInner.md)
249
+ - [Daily::RoomsRoomNameGetRes](docs/RoomsRoomNameGetRes.md)
250
+ - [Daily::RoomsRoomNamePresenceGetRes](docs/RoomsRoomNamePresenceGetRes.md)
251
+ - [Daily::RoomsRoomNamePresenceGetResDataInner](docs/RoomsRoomNamePresenceGetResDataInner.md)
252
+ - [Daily::SendAppMessageRequest](docs/SendAppMessageRequest.md)
253
+ - [Daily::SetRoomConfigRequest](docs/SetRoomConfigRequest.md)
254
+ - [Daily::SetSessionDataRequest](docs/SetSessionDataRequest.md)
255
+ - [Daily::StreamingEnded](docs/StreamingEnded.md)
256
+ - [Daily::StreamingEndedPayload](docs/StreamingEndedPayload.md)
257
+ - [Daily::StreamingError](docs/StreamingError.md)
258
+ - [Daily::StreamingErrorPayload](docs/StreamingErrorPayload.md)
259
+ - [Daily::StreamingStarted](docs/StreamingStarted.md)
260
+ - [Daily::StreamingStartedPayload](docs/StreamingStartedPayload.md)
261
+ - [Daily::StreamingUpdated](docs/StreamingUpdated.md)
262
+ - [Daily::StreamingUpdatedPayload](docs/StreamingUpdatedPayload.md)
263
+ - [Daily::TranscriptionBucket](docs/TranscriptionBucket.md)
264
+ - [Daily::TranscriptionProperties](docs/TranscriptionProperties.md)
265
+ - [Daily::TranscriptionPropertiesEndpointing](docs/TranscriptionPropertiesEndpointing.md)
266
+ - [Daily::TranscriptionPropertiesRedact](docs/TranscriptionPropertiesRedact.md)
267
+ - [Daily::UpdatePermissionsRequest](docs/UpdatePermissionsRequest.md)
268
+ - [Daily::UpdatePermissionsRequestDataValue](docs/UpdatePermissionsRequestDataValue.md)
269
+ - [Daily::UpdatePermissionsRequestDataValueCanSend](docs/UpdatePermissionsRequestDataValueCanSend.md)
270
+ - [Daily::UpdateWebhook](docs/UpdateWebhook.md)
271
+ - [Daily::ValidateMeetingToken200Response](docs/ValidateMeetingToken200Response.md)
272
+ - [Daily::Webhook](docs/Webhook.md)
111
273
 
112
274
  ## Documentation for Authorization
113
275
 
114
-
115
276
  Authentication schemes defined for the API:
116
- ### bearerAuth
117
277
 
118
- - **Type**: Bearer authentication
278
+ ### sec0
119
279
 
280
+ - **Type**: API key
281
+ - **API key parameter name**: Authorization
282
+ - **Location**: HTTP header
data/daily-ruby.gemspec CHANGED
@@ -1,12 +1,12 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
 
3
3
  =begin
4
- #Daily
4
+ #Daily API
5
5
 
6
- #The official library for communicating with the Daily REST API.
7
-
8
- The version of the OpenAPI document: 0.0.0
6
+ #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
9
7
 
8
+ The version of the OpenAPI document: 1.1.1
9
+ Contact: help@daily.co
10
10
  Generated by: https://openapi-generator.tech
11
11
  OpenAPI Generator version: 7.3.0
12
12
 
@@ -0,0 +1,18 @@
1
+ # Daily::BatchRoomCreateRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **rooms** | [**Array&lt;BatchRoomCreateRequestRoomsInner&gt;**](BatchRoomCreateRequestRoomsInner.md) | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'daily-ruby'
13
+
14
+ instance = Daily::BatchRoomCreateRequest.new(
15
+ rooms: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,22 @@
1
+ # Daily::BatchRoomCreateRequestRoomsInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | | [optional] |
8
+ | **privacy** | **String** | | [optional] |
9
+ | **properties** | [**RoomProperties**](RoomProperties.md) | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'daily-ruby'
15
+
16
+ instance = Daily::BatchRoomCreateRequestRoomsInner.new(
17
+ name: null,
18
+ privacy: null,
19
+ properties: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,18 @@
1
+ # Daily::BatchRoomDelete200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **deleted_count** | **Integer** | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'daily-ruby'
13
+
14
+ instance = Daily::BatchRoomDelete200Response.new(
15
+ deleted_count: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,150 @@
1
+ # Daily::BatchRoomsApi
2
+
3
+ All URIs are relative to *https://api.daily.co/v1*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**batch_room_create**](BatchRoomsApi.md#batch_room_create) | **POST** /batch/rooms | /batch/rooms |
8
+ | [**batch_room_delete**](BatchRoomsApi.md#batch_room_delete) | **DELETE** /batch/rooms | /batch/rooms |
9
+
10
+
11
+ ## batch_room_create
12
+
13
+ > <Array<RoomsRoomNameGetRes>> batch_room_create(opts)
14
+
15
+ /batch/rooms
16
+
17
+ Create rooms in bulk
18
+
19
+ ### Examples
20
+
21
+ ```ruby
22
+ require 'time'
23
+ require 'daily-ruby'
24
+ # setup authorization
25
+ Daily.configure do |config|
26
+ # Configure API key authorization: sec0
27
+ config.api_key['sec0'] = 'YOUR API KEY'
28
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
29
+ # config.api_key_prefix['sec0'] = 'Bearer'
30
+ end
31
+
32
+ api_instance = Daily::BatchRoomsApi.new
33
+ opts = {
34
+ batch_room_create_request: Daily::BatchRoomCreateRequest.new # BatchRoomCreateRequest |
35
+ }
36
+
37
+ begin
38
+ # /batch/rooms
39
+ result = api_instance.batch_room_create(opts)
40
+ p result
41
+ rescue Daily::ApiError => e
42
+ puts "Error when calling BatchRoomsApi->batch_room_create: #{e}"
43
+ end
44
+ ```
45
+
46
+ #### Using the batch_room_create_with_http_info variant
47
+
48
+ This returns an Array which contains the response data, status code and headers.
49
+
50
+ > <Array(<Array<RoomsRoomNameGetRes>>, Integer, Hash)> batch_room_create_with_http_info(opts)
51
+
52
+ ```ruby
53
+ begin
54
+ # /batch/rooms
55
+ data, status_code, headers = api_instance.batch_room_create_with_http_info(opts)
56
+ p status_code # => 2xx
57
+ p headers # => { ... }
58
+ p data # => <Array<RoomsRoomNameGetRes>>
59
+ rescue Daily::ApiError => e
60
+ puts "Error when calling BatchRoomsApi->batch_room_create_with_http_info: #{e}"
61
+ end
62
+ ```
63
+
64
+ ### Parameters
65
+
66
+ | Name | Type | Description | Notes |
67
+ | ---- | ---- | ----------- | ----- |
68
+ | **batch_room_create_request** | [**BatchRoomCreateRequest**](BatchRoomCreateRequest.md) | | [optional] |
69
+
70
+ ### Return type
71
+
72
+ [**Array&lt;RoomsRoomNameGetRes&gt;**](RoomsRoomNameGetRes.md)
73
+
74
+ ### Authorization
75
+
76
+ [sec0](../README.md#sec0)
77
+
78
+ ### HTTP request headers
79
+
80
+ - **Content-Type**: application/json
81
+ - **Accept**: application/json
82
+
83
+
84
+ ## batch_room_delete
85
+
86
+ > <BatchRoomDelete200Response> batch_room_delete
87
+
88
+ /batch/rooms
89
+
90
+ Delete rooms in bulk
91
+
92
+ ### Examples
93
+
94
+ ```ruby
95
+ require 'time'
96
+ require 'daily-ruby'
97
+ # setup authorization
98
+ Daily.configure do |config|
99
+ # Configure API key authorization: sec0
100
+ config.api_key['sec0'] = 'YOUR API KEY'
101
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
102
+ # config.api_key_prefix['sec0'] = 'Bearer'
103
+ end
104
+
105
+ api_instance = Daily::BatchRoomsApi.new
106
+
107
+ begin
108
+ # /batch/rooms
109
+ result = api_instance.batch_room_delete
110
+ p result
111
+ rescue Daily::ApiError => e
112
+ puts "Error when calling BatchRoomsApi->batch_room_delete: #{e}"
113
+ end
114
+ ```
115
+
116
+ #### Using the batch_room_delete_with_http_info variant
117
+
118
+ This returns an Array which contains the response data, status code and headers.
119
+
120
+ > <Array(<BatchRoomDelete200Response>, Integer, Hash)> batch_room_delete_with_http_info
121
+
122
+ ```ruby
123
+ begin
124
+ # /batch/rooms
125
+ data, status_code, headers = api_instance.batch_room_delete_with_http_info
126
+ p status_code # => 2xx
127
+ p headers # => { ... }
128
+ p data # => <BatchRoomDelete200Response>
129
+ rescue Daily::ApiError => e
130
+ puts "Error when calling BatchRoomsApi->batch_room_delete_with_http_info: #{e}"
131
+ end
132
+ ```
133
+
134
+ ### Parameters
135
+
136
+ This endpoint does not need any parameter.
137
+
138
+ ### Return type
139
+
140
+ [**BatchRoomDelete200Response**](BatchRoomDelete200Response.md)
141
+
142
+ ### Authorization
143
+
144
+ [sec0](../README.md#sec0)
145
+
146
+ ### HTTP request headers
147
+
148
+ - **Content-Type**: Not defined
149
+ - **Accept**: application/json
150
+
@@ -12,7 +12,7 @@
12
12
  require 'daily-ruby'
13
13
 
14
14
  instance = Daily::CreateMeetingToken200Response.new(
15
- token: null
15
+ token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyIjoicm9vbS0wMjUzIiwiZCI6IjI1ZGY1MDU3LWVmMGQtNGQ5Ny1iZGU2LTBjZjI4NzI3NmNiYiIsImlhdCI6MTU0ODcyMjIwN30.LXZtTnksTjWLTNvucr0MCHL6cOaqCa2m3DKk4ugnkSQ
16
16
  )
17
17
  ```
18
18
 
@@ -0,0 +1,18 @@
1
+ # Daily::CreateMeetingTokenRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **properties** | [**Properties**](Properties.md) | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'daily-ruby'
13
+
14
+ instance = Daily::CreateMeetingTokenRequest.new(
15
+ properties: null
16
+ )
17
+ ```
18
+