daily-ruby 0.0.2 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (444) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +7 -5
  3. data/README.md +248 -79
  4. data/daily-ruby-1.0.0.gem +0 -0
  5. data/daily-ruby.gemspec +6 -5
  6. data/docs/BatchProcessorError.md +24 -0
  7. data/docs/BatchProcessorErrorPayload.md +26 -0
  8. data/docs/BatchProcessorErrorPayloadInput.md +24 -0
  9. data/docs/BatchProcessorJobFinished.md +24 -0
  10. data/docs/BatchProcessorJobFinishedPayload.md +26 -0
  11. data/docs/BatchProcessorJobFinishedPayloadInput.md +24 -0
  12. data/docs/BatchProcessorJobFinishedPayloadOutput.md +24 -0
  13. data/docs/BatchProcessorJobFinishedPayloadOutputConcept.md +20 -0
  14. data/docs/BatchProcessorJobFinishedPayloadOutputSoap.md +20 -0
  15. data/docs/BatchProcessorJobFinishedPayloadOutputSoapS3Config.md +22 -0
  16. data/docs/BatchProcessorJobFinishedPayloadOutputSummary.md +20 -0
  17. data/docs/BatchProcessorJobFinishedPayloadOutputTranscriptionInner.md +20 -0
  18. data/docs/BatchRoomCreateRequest.md +18 -0
  19. data/docs/BatchRoomCreateRequestRoomsInner.md +22 -0
  20. data/docs/BatchRoomDelete200Response.md +18 -0
  21. data/docs/BatchRoomsApi.md +150 -0
  22. data/docs/BuyPhoneNumberRequest.md +18 -0
  23. data/docs/CreateMeetingToken200Response.md +18 -0
  24. data/docs/CreateMeetingTokenRequest.md +18 -0
  25. data/docs/CreateRoom200Response.md +30 -0
  26. data/docs/{RoomRequest.md → CreateRoomRequest.md} +3 -3
  27. data/docs/DailyLiveStreamingOptions.md +40 -0
  28. data/docs/DailyLiveStreamingOptionsRtmpUrl.md +49 -0
  29. data/docs/DailyStreamingActiveParticipantLayoutConfig.md +18 -0
  30. data/docs/DailyStreamingCustomLayoutConfig.md +24 -0
  31. data/docs/DailyStreamingCustomLayoutConfigCompositionParams.md +15 -0
  32. data/docs/DailyStreamingCustomLayoutConfigCompositionParamsValue.md +15 -0
  33. data/docs/DailyStreamingDefaultLayoutConfig.md +20 -0
  34. data/docs/DailyStreamingEndpoint.md +18 -0
  35. data/docs/DailyStreamingLayoutConfig.md +69 -0
  36. data/docs/DailyStreamingOptions.md +36 -0
  37. data/docs/DailyStreamingPortraitLayoutConfig.md +22 -0
  38. data/docs/DailyStreamingPortraitLayoutVariant.md +15 -0
  39. data/docs/DailyStreamingSingleParticipantLayoutConfig.md +20 -0
  40. data/docs/DeleteTranscript200Response.md +30 -0
  41. data/docs/DialinApi.md +80 -0
  42. data/docs/DialoutProperties.md +26 -0
  43. data/docs/DialoutPropertiesCodecs.md +20 -0
  44. data/docs/Domain.md +18 -0
  45. data/docs/DomainApi.md +149 -0
  46. data/docs/DomainProperties.md +84 -0
  47. data/docs/Eject200Response.md +18 -0
  48. data/docs/EjectRequest.md +22 -0
  49. data/docs/GetDomainConfig200Response.md +22 -0
  50. data/docs/GetDomainConfig200ResponseConfig.md +56 -0
  51. data/docs/GetDomainConfig200ResponseConfigRecordingsBucket.md +20 -0
  52. data/docs/GetMeetingInfo200Response.md +20 -0
  53. data/docs/GetMeetingInfo200ResponseDataInner.md +28 -0
  54. data/docs/GetMeetingInfo200ResponseDataInnerParticipantsInner.md +26 -0
  55. data/docs/GetPresence200Response.md +18 -0
  56. data/docs/GetPresence200ResponseAIVWWhzHlLHrSdHdw7EWInner.md +28 -0
  57. data/docs/GetRecordingInfo200Response.md +36 -0
  58. data/docs/GetRecordingInfo200ResponseTracksInner.md +22 -0
  59. data/docs/GetRecordingLink200Response.md +20 -0
  60. data/docs/GetTranscriptInfo200Response.md +32 -0
  61. data/docs/GetTranscriptInfo200ResponseOutParams.md +22 -0
  62. data/docs/GetTranscriptLink200Response.md +22 -0
  63. data/docs/ListAPILogs200Response.md +38 -0
  64. data/docs/ListRecordings200Response.md +20 -0
  65. data/docs/ListRecordings200ResponseDataInner.md +30 -0
  66. data/docs/ListRooms200Response.md +20 -0
  67. data/docs/ListRooms200ResponseDataInner.md +30 -0
  68. data/docs/ListRooms200ResponseDataInnerConfig.md +18 -0
  69. data/docs/ListTranscript200Response.md +20 -0
  70. data/docs/ListTranscript200ResponseDataInner.md +28 -0
  71. data/docs/LogsApi.md +177 -0
  72. data/docs/MeetingEnded.md +24 -0
  73. data/docs/MeetingEndedPayload.md +24 -0
  74. data/docs/MeetingParticipantsGetRes.md +18 -0
  75. data/docs/MeetingParticipantsGetResDataInner.md +28 -0
  76. data/docs/MeetingStarted.md +24 -0
  77. data/docs/MeetingStartedPayload.md +22 -0
  78. data/docs/MeetingTokensApi.md +92 -14
  79. data/docs/MeetingsApi.md +247 -0
  80. data/docs/MeetingsMeetingGetRes.md +28 -0
  81. data/docs/ParticipantJoined.md +24 -0
  82. data/docs/ParticipantJoinedPayload.md +32 -0
  83. data/docs/ParticipantJoinedPayloadPermissions.md +22 -0
  84. data/docs/ParticipantLeft.md +24 -0
  85. data/docs/ParticipantLeftPayload.md +34 -0
  86. data/docs/Permissions.md +22 -0
  87. data/docs/{MeetingTokenRequestPropertiesPermissionsCanSend.md → PermissionsCanAdmin.md} +4 -4
  88. data/docs/{MeetingTokenRequestPropertiesPermissionsCanAdmin.md → PermissionsCanSend.md} +4 -4
  89. data/docs/PhoneNumbersApi.md +304 -0
  90. data/docs/PinDialinInner.md +22 -0
  91. data/docs/PinDialinInnerIvrGreeting.md +18 -0
  92. data/docs/PinlessCallUpdateRequest.md +22 -0
  93. data/docs/PinlessDialinInner.md +24 -0
  94. data/docs/PostWebhook.md +26 -0
  95. data/docs/PresenceApi.md +74 -0
  96. data/docs/Properties.md +62 -0
  97. data/docs/RecordingError.md +24 -0
  98. data/docs/RecordingErrorPayload.md +26 -0
  99. data/docs/RecordingReadyToDownload.md +24 -0
  100. data/docs/RecordingReadyToDownloadPayload.md +34 -0
  101. data/docs/RecordingStarted.md +24 -0
  102. data/docs/RecordingStartedPayload.md +28 -0
  103. data/docs/RecordingStreamingOptions.md +38 -0
  104. data/docs/RecordingsApi.md +303 -0
  105. data/docs/RecordingsBucket.md +26 -0
  106. data/docs/RoomDialOutSendDTMFRequest.md +20 -0
  107. data/docs/RoomDialOutStopRequest.md +18 -0
  108. data/docs/RoomProperties.md +104 -0
  109. data/docs/RoomPropertiesStreamingEndpointsInner.md +28 -0
  110. data/docs/RoomPropertiesStreamingEndpointsInnerHlsConfigVariantsInner.md +26 -0
  111. data/docs/RoomSipCallTransferRequest.md +20 -0
  112. data/docs/RoomsApi.md +1794 -0
  113. data/docs/RoomsRoomNameGetRes.md +30 -0
  114. data/docs/RoomsRoomNamePresenceGetRes.md +20 -0
  115. data/docs/RoomsRoomNamePresenceGetResDataInner.md +28 -0
  116. data/docs/SendAppMessageRequest.md +20 -0
  117. data/docs/SetRoomConfigRequest.md +20 -0
  118. data/docs/SetSessionDataRequest.md +22 -0
  119. data/docs/StreamingEnded.md +24 -0
  120. data/docs/StreamingEndedPayload.md +22 -0
  121. data/docs/StreamingError.md +24 -0
  122. data/docs/StreamingErrorPayload.md +26 -0
  123. data/docs/StreamingStarted.md +24 -0
  124. data/docs/StreamingStartedPayload.md +24 -0
  125. data/docs/StreamingUpdated.md +24 -0
  126. data/docs/StreamingUpdatedPayload.md +24 -0
  127. data/docs/TranscriptApi.md +305 -0
  128. data/docs/TranscriptionBucket.md +24 -0
  129. data/docs/TranscriptionProperties.md +34 -0
  130. data/docs/TranscriptionPropertiesEndpointing.md +49 -0
  131. data/docs/TranscriptionPropertiesRedact.md +51 -0
  132. data/docs/UpdatePermissionsRequest.md +18 -0
  133. data/docs/UpdatePermissionsRequestDataValue.md +22 -0
  134. data/docs/UpdatePermissionsRequestDataValueCanSend.md +49 -0
  135. data/docs/UpdateWebhook.md +26 -0
  136. data/docs/ValidateMeetingToken200Response.md +28 -0
  137. data/docs/WaitingParticipantJoined.md +24 -0
  138. data/docs/WaitingParticipantJoinedPayload.md +32 -0
  139. data/docs/WaitingParticipantLeft.md +24 -0
  140. data/docs/WaitingParticipantLeftPayload.md +34 -0
  141. data/docs/Webhook.md +40 -0
  142. data/docs/WebhooksApi.md +370 -0
  143. data/example.rb +61 -0
  144. data/lib/daily-ruby/api/batch_rooms_api.rb +143 -0
  145. data/lib/daily-ruby/api/dialin_api.rb +86 -0
  146. data/lib/daily-ruby/api/domain_api.rb +143 -0
  147. data/lib/daily-ruby/api/logs_api.rb +181 -0
  148. data/lib/daily-ruby/api/meeting_tokens_api.rb +83 -17
  149. data/lib/daily-ruby/api/meetings_api.rb +238 -0
  150. data/lib/daily-ruby/api/phone_numbers_api.rb +281 -0
  151. data/lib/daily-ruby/api/presence_api.rb +77 -0
  152. data/lib/daily-ruby/api/recordings_api.rb +280 -0
  153. data/lib/daily-ruby/api/rooms_api.rb +1652 -0
  154. data/lib/daily-ruby/api/transcript_api.rb +283 -0
  155. data/lib/daily-ruby/api/webhooks_api.rb +339 -0
  156. data/lib/daily-ruby/api_client.rb +38 -32
  157. data/lib/daily-ruby/api_error.rb +5 -5
  158. data/lib/daily-ruby/configuration.rb +30 -8
  159. data/lib/daily-ruby/models/batch_processor_error.rb +278 -0
  160. data/lib/daily-ruby/models/batch_processor_error_payload.rb +289 -0
  161. data/lib/daily-ruby/models/batch_processor_error_payload_input.rb +280 -0
  162. data/lib/daily-ruby/models/batch_processor_job_finished.rb +278 -0
  163. data/lib/daily-ruby/models/batch_processor_job_finished_payload.rb +288 -0
  164. data/lib/daily-ruby/models/batch_processor_job_finished_payload_input.rb +280 -0
  165. data/lib/daily-ruby/models/batch_processor_job_finished_payload_output.rb +245 -0
  166. data/lib/daily-ruby/models/batch_processor_job_finished_payload_output_concept.rb +259 -0
  167. data/lib/daily-ruby/models/batch_processor_job_finished_payload_output_soap.rb +259 -0
  168. data/lib/daily-ruby/models/batch_processor_job_finished_payload_output_soap_s3_config.rb +236 -0
  169. data/lib/daily-ruby/models/batch_processor_job_finished_payload_output_summary.rb +259 -0
  170. data/lib/daily-ruby/models/batch_processor_job_finished_payload_output_transcription_inner.rb +258 -0
  171. data/lib/daily-ruby/models/batch_room_create_request.rb +216 -0
  172. data/lib/daily-ruby/models/batch_room_create_request_rooms_inner.rb +232 -0
  173. data/lib/daily-ruby/models/batch_room_delete200_response.rb +214 -0
  174. data/lib/daily-ruby/models/{room_not_found_response.rb → buy_phone_number_request.rb} +16 -25
  175. data/lib/daily-ruby/models/{meeting_token_response.rb → create_meeting_token200_response.rb} +8 -10
  176. data/lib/daily-ruby/models/create_meeting_token_request.rb +214 -0
  177. data/lib/daily-ruby/models/create_room200_response.rb +270 -0
  178. data/lib/daily-ruby/models/create_room_request.rb +232 -0
  179. data/lib/daily-ruby/models/daily_live_streaming_options.rb +324 -0
  180. data/lib/daily-ruby/models/{meeting_token_request_properties_permissions_can_send.rb → daily_live_streaming_options_rtmp_url.rb} +7 -7
  181. data/lib/daily-ruby/models/{room_request.rb → daily_streaming_active_participant_layout_config.rb} +30 -42
  182. data/lib/daily-ruby/models/daily_streaming_custom_layout_config.rb +293 -0
  183. data/lib/daily-ruby/models/daily_streaming_custom_layout_config_composition_params.rb +105 -0
  184. data/lib/daily-ruby/models/daily_streaming_custom_layout_config_composition_params_value.rb +105 -0
  185. data/lib/daily-ruby/models/daily_streaming_default_layout_config.rb +264 -0
  186. data/lib/daily-ruby/models/daily_streaming_endpoint.rb +221 -0
  187. data/lib/daily-ruby/models/daily_streaming_layout_config.rb +46 -0
  188. data/lib/daily-ruby/models/daily_streaming_options.rb +304 -0
  189. data/lib/daily-ruby/models/daily_streaming_portrait_layout_config.rb +273 -0
  190. data/lib/daily-ruby/models/daily_streaming_portrait_layout_variant.rb +41 -0
  191. data/lib/daily-ruby/models/daily_streaming_single_participant_layout_config.rb +271 -0
  192. data/lib/daily-ruby/models/delete_transcript200_response.rb +307 -0
  193. data/lib/daily-ruby/models/dialout_properties.rb +254 -0
  194. data/lib/daily-ruby/models/dialout_properties_codecs.rb +228 -0
  195. data/lib/daily-ruby/models/{meeting_token_request.rb → domain.rb} +9 -10
  196. data/lib/daily-ruby/models/domain_properties.rb +628 -0
  197. data/lib/daily-ruby/models/eject200_response.rb +216 -0
  198. data/lib/daily-ruby/models/eject_request.rb +241 -0
  199. data/lib/daily-ruby/models/get_domain_config200_response.rb +271 -0
  200. data/lib/daily-ruby/models/get_domain_config200_response_config.rb +404 -0
  201. data/lib/daily-ruby/models/get_domain_config200_response_config_recordings_bucket.rb +223 -0
  202. data/lib/daily-ruby/models/get_meeting_info200_response.rb +259 -0
  203. data/lib/daily-ruby/models/get_meeting_info200_response_data_inner.rb +353 -0
  204. data/lib/daily-ruby/models/get_meeting_info200_response_data_inner_participants_inner.rb +290 -0
  205. data/lib/daily-ruby/models/get_presence200_response.rb +243 -0
  206. data/lib/daily-ruby/models/get_presence200_response_aivw_whz_hl_lhr_sd_hdw7_ew_inner.rb +370 -0
  207. data/lib/daily-ruby/models/get_recording_info200_response.rb +340 -0
  208. data/lib/daily-ruby/models/get_recording_info200_response_tracks_inner.rb +269 -0
  209. data/lib/daily-ruby/models/get_recording_link200_response.rb +225 -0
  210. data/lib/daily-ruby/models/get_transcript_info200_response.rb +317 -0
  211. data/lib/daily-ruby/models/get_transcript_info200_response_out_params.rb +233 -0
  212. data/lib/daily-ruby/models/get_transcript_link200_response.rb +233 -0
  213. data/lib/daily-ruby/models/list_api_logs200_response.rb +315 -0
  214. data/lib/daily-ruby/models/list_recordings200_response.rb +227 -0
  215. data/lib/daily-ruby/models/list_recordings200_response_data_inner.rb +272 -0
  216. data/lib/daily-ruby/models/list_rooms200_response.rb +227 -0
  217. data/lib/daily-ruby/models/list_rooms200_response_data_inner.rb +270 -0
  218. data/lib/daily-ruby/models/list_rooms200_response_data_inner_config.rb +216 -0
  219. data/lib/daily-ruby/models/list_transcript200_response.rb +227 -0
  220. data/lib/daily-ruby/models/list_transcript200_response_data_inner.rb +298 -0
  221. data/lib/daily-ruby/models/meeting_ended.rb +278 -0
  222. data/lib/daily-ruby/models/{server_error_response.rb → meeting_ended_payload.rb} +47 -17
  223. data/lib/daily-ruby/models/meeting_participants_get_res.rb +216 -0
  224. data/lib/daily-ruby/models/meeting_participants_get_res_data_inner.rb +259 -0
  225. data/lib/daily-ruby/models/meeting_started.rb +278 -0
  226. data/lib/daily-ruby/models/meeting_started_payload.rb +236 -0
  227. data/lib/daily-ruby/models/meetings_meeting_get_res.rb +259 -0
  228. data/lib/daily-ruby/models/participant_joined.rb +278 -0
  229. data/lib/daily-ruby/models/participant_joined_payload.rb +285 -0
  230. data/lib/daily-ruby/models/participant_joined_payload_permissions.rb +240 -0
  231. data/lib/daily-ruby/models/participant_left.rb +278 -0
  232. data/lib/daily-ruby/models/participant_left_payload.rb +295 -0
  233. data/lib/daily-ruby/models/permissions.rb +234 -0
  234. data/lib/daily-ruby/models/permissions_can_admin.rb +106 -0
  235. data/lib/daily-ruby/models/permissions_can_send.rb +106 -0
  236. data/lib/daily-ruby/models/pin_dialin_inner.rb +234 -0
  237. data/lib/daily-ruby/models/pin_dialin_inner_ivr_greeting.rb +215 -0
  238. data/lib/daily-ruby/models/pinless_call_update_request.rb +235 -0
  239. data/lib/daily-ruby/models/pinless_dialin_inner.rb +245 -0
  240. data/lib/daily-ruby/models/post_webhook.rb +291 -0
  241. data/lib/daily-ruby/models/{meeting_token_request_properties.rb → properties.rb} +83 -21
  242. data/lib/daily-ruby/models/recording_error.rb +278 -0
  243. data/lib/daily-ruby/models/recording_error_payload.rb +290 -0
  244. data/lib/daily-ruby/models/recording_ready_to_download.rb +278 -0
  245. data/lib/daily-ruby/models/recording_ready_to_download_payload.rb +344 -0
  246. data/lib/daily-ruby/models/recording_started.rb +278 -0
  247. data/lib/daily-ruby/models/recording_started_payload.rb +299 -0
  248. data/lib/daily-ruby/models/recording_streaming_options.rb +350 -0
  249. data/lib/daily-ruby/models/recordings_bucket.rb +258 -0
  250. data/lib/daily-ruby/models/room_dial_out_send_dtmf_request.rb +224 -0
  251. data/lib/daily-ruby/models/{room_deleted_response.rb → room_dial_out_stop_request.rb} +16 -25
  252. data/lib/daily-ruby/models/room_properties.rb +736 -0
  253. data/lib/daily-ruby/models/room_properties_streaming_endpoints_inner.rb +267 -0
  254. data/lib/daily-ruby/models/room_properties_streaming_endpoints_inner_hls_config_variants_inner.rb +255 -0
  255. data/lib/daily-ruby/models/room_sip_call_transfer_request.rb +224 -0
  256. data/lib/daily-ruby/models/{room_response.rb → rooms_room_name_get_res.rb} +23 -13
  257. data/lib/daily-ruby/models/rooms_room_name_presence_get_res.rb +225 -0
  258. data/lib/daily-ruby/models/rooms_room_name_presence_get_res_data_inner.rb +259 -0
  259. data/lib/daily-ruby/models/send_app_message_request.rb +227 -0
  260. data/lib/daily-ruby/models/set_room_config_request.rb +223 -0
  261. data/lib/daily-ruby/models/set_session_data_request.rb +273 -0
  262. data/lib/daily-ruby/models/streaming_ended.rb +278 -0
  263. data/lib/daily-ruby/models/streaming_ended_payload.rb +236 -0
  264. data/lib/daily-ruby/models/streaming_error.rb +278 -0
  265. data/lib/daily-ruby/models/streaming_error_payload.rb +256 -0
  266. data/lib/daily-ruby/models/streaming_started.rb +278 -0
  267. data/lib/daily-ruby/models/streaming_started_payload.rb +245 -0
  268. data/lib/daily-ruby/models/streaming_updated.rb +278 -0
  269. data/lib/daily-ruby/models/streaming_updated_payload.rb +245 -0
  270. data/lib/daily-ruby/models/transcription_bucket.rb +246 -0
  271. data/lib/daily-ruby/models/transcription_properties.rb +293 -0
  272. data/lib/daily-ruby/models/transcription_properties_endpointing.rb +106 -0
  273. data/lib/daily-ruby/models/transcription_properties_redact.rb +107 -0
  274. data/lib/daily-ruby/models/update_permissions_request.rb +216 -0
  275. data/lib/daily-ruby/models/{meeting_token_request_properties_permissions.rb → update_permissions_request_data_value.rb} +14 -13
  276. data/lib/daily-ruby/models/{meeting_token_request_properties_permissions_can_admin.rb → update_permissions_request_data_value_can_send.rb} +6 -6
  277. data/lib/daily-ruby/models/update_webhook.rb +291 -0
  278. data/lib/daily-ruby/models/validate_meeting_token200_response.rb +265 -0
  279. data/lib/daily-ruby/models/waiting_participant_joined.rb +278 -0
  280. data/lib/daily-ruby/models/waiting_participant_joined_payload.rb +285 -0
  281. data/lib/daily-ruby/models/waiting_participant_left.rb +278 -0
  282. data/lib/daily-ruby/models/waiting_participant_left_payload.rb +295 -0
  283. data/lib/daily-ruby/models/webhook.rb +361 -0
  284. data/lib/daily-ruby/version.rb +6 -6
  285. data/lib/daily-ruby.rb +140 -18
  286. data/run.sh +3 -3
  287. data/spec/api/batch_rooms_api_spec.rb +58 -0
  288. data/spec/api/dialin_api_spec.rb +47 -0
  289. data/spec/api/domain_api_spec.rb +58 -0
  290. data/spec/api/logs_api_spec.rb +70 -0
  291. data/spec/api/meeting_tokens_api_spec.rb +21 -8
  292. data/spec/api/meetings_api_spec.rb +81 -0
  293. data/spec/api/phone_numbers_api_spec.rb +87 -0
  294. data/spec/api/presence_api_spec.rb +45 -0
  295. data/spec/api/recordings_api_spec.rb +86 -0
  296. data/spec/api/rooms_api_spec.rb +278 -0
  297. data/spec/api/transcript_api_spec.rb +87 -0
  298. data/spec/api/webhooks_api_spec.rb +95 -0
  299. data/spec/models/batch_processor_error_payload_input_spec.rb +58 -0
  300. data/spec/models/batch_processor_error_payload_spec.rb +64 -0
  301. data/spec/models/batch_processor_error_spec.rb +58 -0
  302. data/spec/models/batch_processor_job_finished_payload_input_spec.rb +58 -0
  303. data/spec/models/batch_processor_job_finished_payload_output_concept_spec.rb +46 -0
  304. data/spec/models/batch_processor_job_finished_payload_output_soap_s3_config_spec.rb +48 -0
  305. data/spec/models/batch_processor_job_finished_payload_output_soap_spec.rb +46 -0
  306. data/spec/models/batch_processor_job_finished_payload_output_spec.rb +54 -0
  307. data/spec/models/batch_processor_job_finished_payload_output_summary_spec.rb +46 -0
  308. data/spec/models/batch_processor_job_finished_payload_output_transcription_inner_spec.rb +46 -0
  309. data/spec/models/batch_processor_job_finished_payload_spec.rb +64 -0
  310. data/spec/models/batch_processor_job_finished_spec.rb +58 -0
  311. data/spec/models/batch_room_create_request_rooms_inner_spec.rb +48 -0
  312. data/spec/models/batch_room_create_request_spec.rb +36 -0
  313. data/spec/models/batch_room_delete200_response_spec.rb +36 -0
  314. data/spec/models/buy_phone_number_request_spec.rb +36 -0
  315. data/spec/models/create_meeting_token200_response_spec.rb +36 -0
  316. data/spec/models/create_meeting_token_request_spec.rb +36 -0
  317. data/spec/models/create_room200_response_spec.rb +72 -0
  318. data/spec/models/{room_request_spec.rb → create_room_request_spec.rb} +10 -14
  319. data/spec/models/daily_live_streaming_options_rtmp_url_spec.rb +32 -0
  320. data/spec/models/daily_live_streaming_options_spec.rb +102 -0
  321. data/spec/models/daily_streaming_active_participant_layout_config_spec.rb +40 -0
  322. data/spec/models/daily_streaming_custom_layout_config_composition_params_spec.rb +21 -0
  323. data/spec/models/daily_streaming_custom_layout_config_composition_params_value_spec.rb +21 -0
  324. data/spec/models/daily_streaming_custom_layout_config_spec.rb +58 -0
  325. data/spec/models/daily_streaming_default_layout_config_spec.rb +46 -0
  326. data/spec/models/daily_streaming_endpoint_spec.rb +36 -0
  327. data/spec/models/daily_streaming_layout_config_spec.rb +38 -0
  328. data/spec/models/daily_streaming_options_spec.rb +90 -0
  329. data/spec/models/daily_streaming_portrait_layout_config_spec.rb +52 -0
  330. data/spec/models/daily_streaming_portrait_layout_variant_spec.rb +30 -0
  331. data/spec/models/daily_streaming_single_participant_layout_config_spec.rb +46 -0
  332. data/spec/models/delete_transcript200_response_spec.rb +76 -0
  333. data/spec/models/dialout_properties_codecs_spec.rb +42 -0
  334. data/spec/models/dialout_properties_spec.rb +60 -0
  335. data/spec/models/{room_request_properties_spec.rb → domain_properties_spec.rb} +39 -49
  336. data/spec/models/domain_spec.rb +36 -0
  337. data/spec/models/eject200_response_spec.rb +36 -0
  338. data/spec/models/eject_request_spec.rb +36 -0
  339. data/spec/models/get_domain_config200_response_config_recordings_bucket_spec.rb +42 -0
  340. data/spec/models/get_domain_config200_response_config_spec.rb +144 -0
  341. data/spec/models/get_domain_config200_response_spec.rb +48 -0
  342. data/spec/models/get_meeting_info200_response_data_inner_participants_inner_spec.rb +60 -0
  343. data/spec/models/get_meeting_info200_response_data_inner_spec.rb +66 -0
  344. data/spec/models/get_meeting_info200_response_spec.rb +42 -0
  345. data/spec/models/get_presence200_response_aivw_whz_hl_lhr_sd_hdw7_ew_inner_spec.rb +66 -0
  346. data/spec/models/get_presence200_response_spec.rb +36 -0
  347. data/spec/models/get_recording_info200_response_spec.rb +94 -0
  348. data/spec/models/get_recording_info200_response_tracks_inner_spec.rb +52 -0
  349. data/spec/models/get_recording_link200_response_spec.rb +42 -0
  350. data/spec/models/get_transcript_info200_response_out_params_spec.rb +48 -0
  351. data/spec/models/get_transcript_info200_response_spec.rb +82 -0
  352. data/spec/models/get_transcript_link200_response_spec.rb +48 -0
  353. data/spec/models/list_api_logs200_response_spec.rb +96 -0
  354. data/spec/models/list_recordings200_response_data_inner_spec.rb +72 -0
  355. data/spec/models/list_recordings200_response_spec.rb +42 -0
  356. data/spec/models/list_rooms200_response_data_inner_config_spec.rb +36 -0
  357. data/spec/models/list_rooms200_response_data_inner_spec.rb +72 -0
  358. data/spec/models/list_rooms200_response_spec.rb +42 -0
  359. data/spec/models/list_transcript200_response_data_inner_spec.rb +70 -0
  360. data/spec/models/list_transcript200_response_spec.rb +42 -0
  361. data/spec/models/meeting_ended_payload_spec.rb +54 -0
  362. data/spec/models/meeting_ended_spec.rb +58 -0
  363. data/spec/models/meeting_participants_get_res_data_inner_spec.rb +66 -0
  364. data/spec/models/meeting_participants_get_res_spec.rb +42 -0
  365. data/spec/models/meeting_started_payload_spec.rb +48 -0
  366. data/spec/models/meeting_started_spec.rb +58 -0
  367. data/spec/models/meetings_meeting_get_res_spec.rb +66 -0
  368. data/spec/models/participant_joined_payload_permissions_spec.rb +48 -0
  369. data/spec/models/participant_joined_payload_spec.rb +78 -0
  370. data/spec/models/participant_joined_spec.rb +58 -0
  371. data/spec/models/participant_left_payload_spec.rb +84 -0
  372. data/spec/models/participant_left_spec.rb +58 -0
  373. data/spec/models/{meeting_token_request_properties_permissions_can_send_spec.rb → permissions_can_admin_spec.rb} +6 -6
  374. data/spec/models/{meeting_token_request_properties_permissions_can_admin_spec.rb → permissions_can_send_spec.rb} +6 -6
  375. data/spec/models/{meeting_token_request_properties_permissions_spec.rb → permissions_spec.rb} +10 -10
  376. data/spec/models/pin_dialin_inner_ivr_greeting_spec.rb +36 -0
  377. data/spec/models/pin_dialin_inner_spec.rb +48 -0
  378. data/spec/models/pinless_call_update_request_spec.rb +48 -0
  379. data/spec/models/pinless_dialin_inner_spec.rb +54 -0
  380. data/spec/models/post_webhook_spec.rb +52 -0
  381. data/spec/models/{meeting_token_request_properties_spec.rb → properties_spec.rb} +27 -15
  382. data/spec/models/recording_error_payload_spec.rb +64 -0
  383. data/spec/models/recording_error_spec.rb +58 -0
  384. data/spec/models/recording_ready_to_download_payload_spec.rb +92 -0
  385. data/spec/models/recording_ready_to_download_spec.rb +58 -0
  386. data/spec/models/recording_started_payload_spec.rb +70 -0
  387. data/spec/models/recording_started_spec.rb +58 -0
  388. data/spec/models/recording_streaming_options_spec.rb +100 -0
  389. data/spec/models/recordings_bucket_spec.rb +60 -0
  390. data/spec/models/room_dial_out_send_dtmf_request_spec.rb +42 -0
  391. data/spec/models/room_dial_out_stop_request_spec.rb +36 -0
  392. data/spec/models/room_properties_spec.rb +272 -0
  393. data/spec/models/room_properties_streaming_endpoints_inner_hls_config_variants_inner_spec.rb +60 -0
  394. data/spec/models/room_properties_streaming_endpoints_inner_spec.rb +66 -0
  395. data/spec/models/room_sip_call_transfer_request_spec.rb +42 -0
  396. data/spec/models/{room_response_spec.rb → rooms_room_name_get_res_spec.rb} +16 -10
  397. data/spec/models/rooms_room_name_presence_get_res_data_inner_spec.rb +66 -0
  398. data/spec/models/rooms_room_name_presence_get_res_spec.rb +42 -0
  399. data/spec/models/send_app_message_request_spec.rb +42 -0
  400. data/spec/models/set_room_config_request_spec.rb +42 -0
  401. data/spec/models/set_session_data_request_spec.rb +52 -0
  402. data/spec/models/streaming_ended_payload_spec.rb +48 -0
  403. data/spec/models/streaming_ended_spec.rb +58 -0
  404. data/spec/models/streaming_error_payload_spec.rb +60 -0
  405. data/spec/models/streaming_error_spec.rb +58 -0
  406. data/spec/models/streaming_started_payload_spec.rb +54 -0
  407. data/spec/models/streaming_started_spec.rb +58 -0
  408. data/spec/models/streaming_updated_payload_spec.rb +54 -0
  409. data/spec/models/streaming_updated_spec.rb +58 -0
  410. data/spec/models/transcription_bucket_spec.rb +54 -0
  411. data/spec/models/transcription_properties_endpointing_spec.rb +32 -0
  412. data/spec/models/transcription_properties_redact_spec.rb +32 -0
  413. data/spec/models/transcription_properties_spec.rb +78 -0
  414. data/spec/models/update_permissions_request_data_value_can_send_spec.rb +32 -0
  415. data/spec/models/update_permissions_request_data_value_spec.rb +48 -0
  416. data/spec/models/update_permissions_request_spec.rb +36 -0
  417. data/spec/models/update_webhook_spec.rb +52 -0
  418. data/spec/models/validate_meeting_token200_response_spec.rb +66 -0
  419. data/spec/models/waiting_participant_joined_payload_spec.rb +78 -0
  420. data/spec/models/waiting_participant_joined_spec.rb +58 -0
  421. data/spec/models/waiting_participant_left_payload_spec.rb +84 -0
  422. data/spec/models/waiting_participant_left_spec.rb +58 -0
  423. data/spec/models/webhook_spec.rb +100 -0
  424. data/spec/spec_helper.rb +5 -5
  425. metadata +563 -56
  426. data/daily.yaml +0 -460
  427. data/docs/MeetingTokenRequest.md +0 -18
  428. data/docs/MeetingTokenRequestProperties.md +0 -56
  429. data/docs/MeetingTokenRequestPropertiesPermissions.md +0 -22
  430. data/docs/MeetingTokenResponse.md +0 -18
  431. data/docs/RoomApi.md +0 -297
  432. data/docs/RoomDeletedResponse.md +0 -20
  433. data/docs/RoomNotFoundResponse.md +0 -20
  434. data/docs/RoomRequestProperties.md +0 -76
  435. data/docs/RoomResponse.md +0 -28
  436. data/docs/ServerErrorResponse.md +0 -18
  437. data/lib/daily-ruby/api/room_api.rb +0 -281
  438. data/lib/daily-ruby/models/room_request_properties.rb +0 -521
  439. data/spec/api/room_api_spec.rb +0 -86
  440. data/spec/models/meeting_token_request_spec.rb +0 -36
  441. data/spec/models/meeting_token_response_spec.rb +0 -36
  442. data/spec/models/room_deleted_response_spec.rb +0 -42
  443. data/spec/models/room_not_found_response_spec.rb +0 -42
  444. data/spec/models/server_error_response_spec.rb +0 -36
@@ -0,0 +1,304 @@
1
+ # Daily::PhoneNumbersApi
2
+
3
+ All URIs are relative to *https://api.daily.co/v1*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**buy_phone_number**](PhoneNumbersApi.md#buy_phone_number) | **POST** /buy-phone-number | /buy-phone-number |
8
+ | [**list_available_numbers**](PhoneNumbersApi.md#list_available_numbers) | **GET** /list-available-numbers | /list-available-numbers |
9
+ | [**purchased_phone_nunbers**](PhoneNumbersApi.md#purchased_phone_nunbers) | **GET** /purchased-phone-numbers | /purchased-phone-numbers |
10
+ | [**release_phone_number**](PhoneNumbersApi.md#release_phone_number) | **DELETE** /release-phone-number/{id} | release-phone-number/:id |
11
+
12
+
13
+ ## buy_phone_number
14
+
15
+ > Object buy_phone_number(opts)
16
+
17
+ /buy-phone-number
18
+
19
+ This will buy a phone number. In the POST request you can either provide the phone number you want to buy, or leave it empty. If the specified `number` is still available, it will be bought or the API will return a failure. Alternatively, if you skipped the `number` field, a random phone number from California (CA) will be bought.
20
+
21
+ ### Examples
22
+
23
+ ```ruby
24
+ require 'time'
25
+ require 'daily-ruby'
26
+ # setup authorization
27
+ Daily.configure do |config|
28
+ # Configure API key authorization: sec0
29
+ config.api_key['sec0'] = 'YOUR API KEY'
30
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
31
+ # config.api_key_prefix['sec0'] = 'Bearer'
32
+ end
33
+
34
+ api_instance = Daily::PhoneNumbersApi.new
35
+ opts = {
36
+ buy_phone_number_request: Daily::BuyPhoneNumberRequest.new # BuyPhoneNumberRequest |
37
+ }
38
+
39
+ begin
40
+ # /buy-phone-number
41
+ result = api_instance.buy_phone_number(opts)
42
+ p result
43
+ rescue Daily::ApiError => e
44
+ puts "Error when calling PhoneNumbersApi->buy_phone_number: #{e}"
45
+ end
46
+ ```
47
+
48
+ #### Using the buy_phone_number_with_http_info variant
49
+
50
+ This returns an Array which contains the response data, status code and headers.
51
+
52
+ > <Array(Object, Integer, Hash)> buy_phone_number_with_http_info(opts)
53
+
54
+ ```ruby
55
+ begin
56
+ # /buy-phone-number
57
+ data, status_code, headers = api_instance.buy_phone_number_with_http_info(opts)
58
+ p status_code # => 2xx
59
+ p headers # => { ... }
60
+ p data # => Object
61
+ rescue Daily::ApiError => e
62
+ puts "Error when calling PhoneNumbersApi->buy_phone_number_with_http_info: #{e}"
63
+ end
64
+ ```
65
+
66
+ ### Parameters
67
+
68
+ | Name | Type | Description | Notes |
69
+ | ---- | ---- | ----------- | ----- |
70
+ | **buy_phone_number_request** | [**BuyPhoneNumberRequest**](BuyPhoneNumberRequest.md) | | [optional] |
71
+
72
+ ### Return type
73
+
74
+ **Object**
75
+
76
+ ### Authorization
77
+
78
+ [sec0](../README.md#sec0)
79
+
80
+ ### HTTP request headers
81
+
82
+ - **Content-Type**: application/json
83
+ - **Accept**: application/json
84
+
85
+
86
+ ## list_available_numbers
87
+
88
+ > list_available_numbers(opts)
89
+
90
+ /list-available-numbers
91
+
92
+ Search for available phone numbers to purchase
93
+
94
+ ### Examples
95
+
96
+ ```ruby
97
+ require 'time'
98
+ require 'daily-ruby'
99
+ # setup authorization
100
+ Daily.configure do |config|
101
+ # Configure API key authorization: sec0
102
+ config.api_key['sec0'] = 'YOUR API KEY'
103
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
104
+ # config.api_key_prefix['sec0'] = 'Bearer'
105
+ end
106
+
107
+ api_instance = Daily::PhoneNumbersApi.new
108
+ opts = {
109
+ areacode: 'areacode_example', # String | An areacode to search within.
110
+ region: 'region_example', # String | A region or state to search within. Must be an ISO 3166-2 alpha-2 code, i.e. CA for California. Cannot be used in combination with areacode.
111
+ city: 'city_example', # String | A specific City to search within. Example, New York. The string must be url encoded because it is a url parameter. Must be used in combination with region. Cannot be used in combination with areacode, starts_with, contains, or ends_with.
112
+ contains: 'contains_example', # String | A string of 3 to 7 digits that should appear somewhere in the number.
113
+ starts_with: 'starts_with_example', # String | A string of 3 to 7 digits that should be used as the start of a number. Cannot be used in combination with contains or ends_with.
114
+ ends_with: 'ends_with_example' # String | A string of 3 to 7 digits that should be used as the end of a number. Cannot be used in combination with starts_with or contains.
115
+ }
116
+
117
+ begin
118
+ # /list-available-numbers
119
+ api_instance.list_available_numbers(opts)
120
+ rescue Daily::ApiError => e
121
+ puts "Error when calling PhoneNumbersApi->list_available_numbers: #{e}"
122
+ end
123
+ ```
124
+
125
+ #### Using the list_available_numbers_with_http_info variant
126
+
127
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
128
+
129
+ > <Array(nil, Integer, Hash)> list_available_numbers_with_http_info(opts)
130
+
131
+ ```ruby
132
+ begin
133
+ # /list-available-numbers
134
+ data, status_code, headers = api_instance.list_available_numbers_with_http_info(opts)
135
+ p status_code # => 2xx
136
+ p headers # => { ... }
137
+ p data # => nil
138
+ rescue Daily::ApiError => e
139
+ puts "Error when calling PhoneNumbersApi->list_available_numbers_with_http_info: #{e}"
140
+ end
141
+ ```
142
+
143
+ ### Parameters
144
+
145
+ | Name | Type | Description | Notes |
146
+ | ---- | ---- | ----------- | ----- |
147
+ | **areacode** | **String** | An areacode to search within. | [optional] |
148
+ | **region** | **String** | A region or state to search within. Must be an ISO 3166-2 alpha-2 code, i.e. CA for California. Cannot be used in combination with areacode. | [optional] |
149
+ | **city** | **String** | A specific City to search within. Example, New York. The string must be url encoded because it is a url parameter. Must be used in combination with region. Cannot be used in combination with areacode, starts_with, contains, or ends_with. | [optional] |
150
+ | **contains** | **String** | A string of 3 to 7 digits that should appear somewhere in the number. | [optional] |
151
+ | **starts_with** | **String** | A string of 3 to 7 digits that should be used as the start of a number. Cannot be used in combination with contains or ends_with. | [optional] |
152
+ | **ends_with** | **String** | A string of 3 to 7 digits that should be used as the end of a number. Cannot be used in combination with starts_with or contains. | [optional] |
153
+
154
+ ### Return type
155
+
156
+ nil (empty response body)
157
+
158
+ ### Authorization
159
+
160
+ [sec0](../README.md#sec0)
161
+
162
+ ### HTTP request headers
163
+
164
+ - **Content-Type**: Not defined
165
+ - **Accept**: application/json
166
+
167
+
168
+ ## purchased_phone_nunbers
169
+
170
+ > purchased_phone_nunbers
171
+
172
+ /purchased-phone-numbers
173
+
174
+ List the purchased phone numbers for this domain
175
+
176
+ ### Examples
177
+
178
+ ```ruby
179
+ require 'time'
180
+ require 'daily-ruby'
181
+ # setup authorization
182
+ Daily.configure do |config|
183
+ # Configure API key authorization: sec0
184
+ config.api_key['sec0'] = 'YOUR API KEY'
185
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
186
+ # config.api_key_prefix['sec0'] = 'Bearer'
187
+ end
188
+
189
+ api_instance = Daily::PhoneNumbersApi.new
190
+
191
+ begin
192
+ # /purchased-phone-numbers
193
+ api_instance.purchased_phone_nunbers
194
+ rescue Daily::ApiError => e
195
+ puts "Error when calling PhoneNumbersApi->purchased_phone_nunbers: #{e}"
196
+ end
197
+ ```
198
+
199
+ #### Using the purchased_phone_nunbers_with_http_info variant
200
+
201
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
202
+
203
+ > <Array(nil, Integer, Hash)> purchased_phone_nunbers_with_http_info
204
+
205
+ ```ruby
206
+ begin
207
+ # /purchased-phone-numbers
208
+ data, status_code, headers = api_instance.purchased_phone_nunbers_with_http_info
209
+ p status_code # => 2xx
210
+ p headers # => { ... }
211
+ p data # => nil
212
+ rescue Daily::ApiError => e
213
+ puts "Error when calling PhoneNumbersApi->purchased_phone_nunbers_with_http_info: #{e}"
214
+ end
215
+ ```
216
+
217
+ ### Parameters
218
+
219
+ This endpoint does not need any parameter.
220
+
221
+ ### Return type
222
+
223
+ nil (empty response body)
224
+
225
+ ### Authorization
226
+
227
+ [sec0](../README.md#sec0)
228
+
229
+ ### HTTP request headers
230
+
231
+ - **Content-Type**: Not defined
232
+ - **Accept**: application/json
233
+
234
+
235
+ ## release_phone_number
236
+
237
+ > Object release_phone_number(id)
238
+
239
+ release-phone-number/:id
240
+
241
+ Release a purchased number. The number is referenced by its id. A number cannot be deleted within the 14 days of purchase. Calling this API before this period expires results in an error.
242
+
243
+ ### Examples
244
+
245
+ ```ruby
246
+ require 'time'
247
+ require 'daily-ruby'
248
+ # setup authorization
249
+ Daily.configure do |config|
250
+ # Configure API key authorization: sec0
251
+ config.api_key['sec0'] = 'YOUR API KEY'
252
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
253
+ # config.api_key_prefix['sec0'] = 'Bearer'
254
+ end
255
+
256
+ api_instance = Daily::PhoneNumbersApi.new
257
+ id = 'id_example' # String |
258
+
259
+ begin
260
+ # release-phone-number/:id
261
+ result = api_instance.release_phone_number(id)
262
+ p result
263
+ rescue Daily::ApiError => e
264
+ puts "Error when calling PhoneNumbersApi->release_phone_number: #{e}"
265
+ end
266
+ ```
267
+
268
+ #### Using the release_phone_number_with_http_info variant
269
+
270
+ This returns an Array which contains the response data, status code and headers.
271
+
272
+ > <Array(Object, Integer, Hash)> release_phone_number_with_http_info(id)
273
+
274
+ ```ruby
275
+ begin
276
+ # release-phone-number/:id
277
+ data, status_code, headers = api_instance.release_phone_number_with_http_info(id)
278
+ p status_code # => 2xx
279
+ p headers # => { ... }
280
+ p data # => Object
281
+ rescue Daily::ApiError => e
282
+ puts "Error when calling PhoneNumbersApi->release_phone_number_with_http_info: #{e}"
283
+ end
284
+ ```
285
+
286
+ ### Parameters
287
+
288
+ | Name | Type | Description | Notes |
289
+ | ---- | ---- | ----------- | ----- |
290
+ | **id** | **String** | | |
291
+
292
+ ### Return type
293
+
294
+ **Object**
295
+
296
+ ### Authorization
297
+
298
+ [sec0](../README.md#sec0)
299
+
300
+ ### HTTP request headers
301
+
302
+ - **Content-Type**: Not defined
303
+ - **Accept**: application/json
304
+
@@ -0,0 +1,22 @@
1
+ # Daily::PinDialinInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **phone_number** | **String** | Associate a purchased phone number to the dialin with PIN workflow. | [optional] |
8
+ | **name_prefix** | **String** | An identifier or name to associate to the workflow. | [optional] |
9
+ | **ivr_greeting** | [**PinDialinInnerIvrGreeting**](PinDialinInnerIvrGreeting.md) | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'daily-ruby'
15
+
16
+ instance = Daily::PinDialinInner.new(
17
+ phone_number: null,
18
+ name_prefix: null,
19
+ ivr_greeting: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,18 @@
1
+ # Daily::PinDialinInnerIvrGreeting
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **message** | **String** | message to \&quot;Say\&quot; when user call the phone_number. | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'daily-ruby'
13
+
14
+ instance = Daily::PinDialinInnerIvrGreeting.new(
15
+ message: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,22 @@
1
+ # Daily::PinlessCallUpdateRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **call_id** | **String** | CallId is represented by UUID and represents the sessionId in the SIP Network. | [optional] |
8
+ | **call_domain** | **String** | Call Domain is represented by UUID and represents your Daily Domain on the SIP Network. | [optional] |
9
+ | **sip_uri** | **String** | This SIP URI is associated to the Daily Room that you want to forward the SIP Interconnect call to. | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'daily-ruby'
15
+
16
+ instance = Daily::PinlessCallUpdateRequest.new(
17
+ call_id: null,
18
+ call_domain: null,
19
+ sip_uri: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,24 @@
1
+ # Daily::PinlessDialinInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **phone_number** | **String** | Associate a purchased phone number to the Pinless dialin workflow. | [optional] |
8
+ | **room_creation_api** | **String** | The webhook URL to trigger when an incoming call arrives. Typically, you will need to spin-up a Daily meeting room and patch the incoming call to the room. Read more in the [pinless/sip interconnect guide](/guides/products/dial-in-dial-out/dialin-pinless#incoming-call-triggers-the-webhook). | [optional] |
9
+ | **name_prefix** | **String** | An identifier or name to associate to the workflow. | [optional] |
10
+ | **sip_uri** | **String** | This is not a settable value, Daily returns the &#x60;sip_uri&#x60; in cases where you want to directly send the call to the SIP URI instead of the phone_number. If you dial in to the &#x60;phone_number&#x60; or this &#x60;sip_uri&#x60;, the [webhook will be triggered](/guides/products/dial-in-dial-out/dialin-pinless#incoming-call-triggers-the-webhook). | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'daily-ruby'
16
+
17
+ instance = Daily::PinlessDialinInner.new(
18
+ phone_number: null,
19
+ room_creation_api: null,
20
+ name_prefix: null,
21
+ sip_uri: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,26 @@
1
+ # Daily::PostWebhook
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **url** | **String** | The webhook server endpoint that was provided. | [optional] |
8
+ | **basic_auth** | **String** | The basic auth credentials that will be used to POST to the webhook URL. | [optional] |
9
+ | **retry_type** | **String** | The retry configuration for this webhook endpoint to use. The default is circuit-breaker. | [optional] |
10
+ | **event_types** | **Array&lt;String&gt;** | The set of event types this webhook is subscribed to. | [optional] |
11
+ | **hmac** | **String** | A secret that can be used to verify the signature of the webhook. If not provided, an hmac will be provisioned for you and returned. | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'daily-ruby'
17
+
18
+ instance = Daily::PostWebhook.new(
19
+ url: null,
20
+ basic_auth: null,
21
+ retry_type: null,
22
+ event_types: null,
23
+ hmac: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,74 @@
1
+ # Daily::PresenceApi
2
+
3
+ All URIs are relative to *https://api.daily.co/v1*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**get_presence**](PresenceApi.md#get_presence) | **GET** /presence | /presence |
8
+
9
+
10
+ ## get_presence
11
+
12
+ > <GetPresence200Response> get_presence
13
+
14
+ /presence
15
+
16
+ ### Examples
17
+
18
+ ```ruby
19
+ require 'time'
20
+ require 'daily-ruby'
21
+ # setup authorization
22
+ Daily.configure do |config|
23
+ # Configure API key authorization: sec0
24
+ config.api_key['sec0'] = 'YOUR API KEY'
25
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
26
+ # config.api_key_prefix['sec0'] = 'Bearer'
27
+ end
28
+
29
+ api_instance = Daily::PresenceApi.new
30
+
31
+ begin
32
+ # /presence
33
+ result = api_instance.get_presence
34
+ p result
35
+ rescue Daily::ApiError => e
36
+ puts "Error when calling PresenceApi->get_presence: #{e}"
37
+ end
38
+ ```
39
+
40
+ #### Using the get_presence_with_http_info variant
41
+
42
+ This returns an Array which contains the response data, status code and headers.
43
+
44
+ > <Array(<GetPresence200Response>, Integer, Hash)> get_presence_with_http_info
45
+
46
+ ```ruby
47
+ begin
48
+ # /presence
49
+ data, status_code, headers = api_instance.get_presence_with_http_info
50
+ p status_code # => 2xx
51
+ p headers # => { ... }
52
+ p data # => <GetPresence200Response>
53
+ rescue Daily::ApiError => e
54
+ puts "Error when calling PresenceApi->get_presence_with_http_info: #{e}"
55
+ end
56
+ ```
57
+
58
+ ### Parameters
59
+
60
+ This endpoint does not need any parameter.
61
+
62
+ ### Return type
63
+
64
+ [**GetPresence200Response**](GetPresence200Response.md)
65
+
66
+ ### Authorization
67
+
68
+ [sec0](../README.md#sec0)
69
+
70
+ ### HTTP request headers
71
+
72
+ - **Content-Type**: Not defined
73
+ - **Accept**: application/json
74
+
@@ -0,0 +1,62 @@
1
+ # Daily::Properties
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **room_name** | **String** | The room for which this token is valid. If &#x60;room_name&#x60; isn&#39;t set, the token is valid for all rooms in your domain. *You should always set &#x60;room_name&#x60; if you are using this token to control access to a meeting. | [optional] |
8
+ | **eject_at_token_exp** | **Boolean** | Kick this user out of the meeting at the time this meeting token expires. If either this property or &#x60;eject_after_elapsed&#x60; are set for the token, the room&#39;s &#x60;eject&#x60; properties are overridden. _See an example in our [advanced security tutorial](https://www.daily.co/blog/add-advanced-security-features-to-video-chats-with-the-daily-api/)_. | [optional][default to false] |
9
+ | **eject_after_elapsed** | **Integer** | Kick this user out of the meeting this many seconds after they join the meeting. If either this property or &#x60;eject_at_token_exp&#x60; are set for the token, the room&#39;s &#x60;eject&#x60; properties are overridden. _See an example in our [advanced security tutorial](https://www.daily.co/blog/add-advanced-security-features-to-video-chats-with-the-daily-api/)_. | [optional] |
10
+ | **nbf** | **Integer** | \&quot;Not before\&quot;. This is a [unix timestamp](https://stackoverflow.com/questions/20822821/what-is-a-unix-timestamp-and-why-use-it) (seconds since the epoch.) Users cannot join a meeting in with this token before this time. | [optional] |
11
+ | **exp** | **Integer** | \&quot;Expires\&quot;. This is a unix timestamp (seconds since the epoch.) Users cannot join a meeting with this token after this time. Daily strongly recommends adding an &#x60;exp&#x60; value to all meeting tokens. Learn more in our Daily blog post: [Add advanced security to video chats with the Daily API](https://www.daily.co/blog/add-advanced-security-features-to-video-chats-with-the-daily-api/) | [optional] |
12
+ | **is_owner** | **Boolean** | The user has [meeting owner privileges](https://docs.daily.co/docs/controlling-who-joins-a-meeting#meeting-owner-privileges). For example, if the room is configured for &#x60;owner_only_broadcast&#x60; and used in a Daily Prebuilt call, this user can send video, and audio, and can screenshare. | [optional][default to false] |
13
+ | **user_name** | **String** | The user&#39;s name in this meeting. The name displays in the user interface when the user is muted or has turned off the camera, and in the chat window. This username is also saved in the meeting events log (meeting events are retrievable using the [analytics](/reference/rest-api/meetings) API methods.) | [optional] |
14
+ | **user_id** | **String** | The user&#39;s ID for this meeting session. During a session, this ID is retrievable in the [&#x60;participants()&#x60;](/reference/daily-js/instance-methods/participants) method and [related participant events](/reference/daily-js/events/participant-events). Either during or after a session concludes, this ID is retrievable using the [/meetings](/reference/rest-api/meetings) REST API endpoint. You can use &#x60;user_id&#x60; to map between your user database and meeting events/attendance. For domains configured for [HIPAA compliance](/guides/privacy-and-security/hipaa), if the &#x60;user_id&#x60; value is a [UUID](https://www.ietf.org/rfc/rfc4122.txt) (for example, &#x60;f81d4fae-7dec-11d0-a765-00a0c91e6bf6&#x60;), then the UUID will be returned for the participant in the [&#x60;/meetings&#x60;](/reference/rest-api/meetings) REST API endpoint. Otherwise, the string &#x60;hipaa&#x60; will be returned in order to remove potential PHI. During a session, the provided &#x60;user_id&#x60; will always be returned through the &#x60;participants()&#x60; method and related events, regardless of the &#x60;user_id&#x60; value. The &#x60;user_id&#x60; has a limit of 36 characters. | [optional] |
15
+ | **enable_screenshare** | **Boolean** | Sets whether or not the user is allowed to screen share. This setting applies for the duration of the meeting. If you&#39;re looking to dynamically control whether a user can screen share during a meeting, then use the [&#x60;permissions&#x60;](/reference/rest-api/meeting-tokens/config#permissions) token property. | [optional][default to true] |
16
+ | **start_video_off** | **Boolean** | Disable the default behavior of automatically turning on a participant&#39;s camera on a direct &#x60;join()&#x60; (i.e. without &#x60;startCamera()&#x60; first). | [optional][default to false] |
17
+ | **start_audio_off** | **Boolean** | Disable the default behavior of automatically turning on a participant&#39;s microphone on a direct &#x60;join()&#x60; (i.e. without &#x60;startCamera()&#x60; first). | [optional][default to false] |
18
+ | **enable_recording** | **String** | Jump to [recording docs](/reference/rest-api/recordings). | [optional] |
19
+ | **enable_prejoin_ui** | **Boolean** | Determines whether the participant using the meeting token enters a waiting room with a camera, mic, and browser check before joining a call. If this property is also set in the room or domain&#39;s configuration, the meeting token&#39;s configuration will take priority. ⚠️ You must be using [Daily Prebuilt](https://daily.co/prebuilt) to use &#x60;enable_prejoin_ui&#x60;. | [optional] |
20
+ | **enable_live_captions_ui** | **Boolean** | Sets whether the participant sees a closed captions button in their Daily Prebuilt call tray. When the closed caption button is clicked, closed captions are displayed locally. When set to &#x60;true&#x60;, a closed captions button appears in the call tray. When set to &#x60;false&#x60;, the closed captions button is hidden from the call tray. Note: Transcription must be enabled for the room or users must have permission to start transcription for this feature to be enabled. View the [transcription guide](/guides/products/transcription) for more details. ⚠️ You must be using [Daily Prebuilt](https://daily.co/blog/daily-prebuilt-video-chat) to use &#x60;enable_live_captions_ui&#x60;. | [optional] |
21
+ | **enable_recording_ui** | **Boolean** | Determines whether the participant using the meeting token can see the Recording button in Daily Prebuilt&#39;s UI, which can be found in the video call tray. If this value is &#x60;false&#x60;, the button will not be included in the tray. If it&#39;s &#x60;true&#x60;, the Recording button will be displayed. This option is useful when only specific call participants should have recording permissions. ⚠️ You must be using [Daily Prebuilt](https://daily.co/prebuilt) to use &#x60;enable_recording_ui&#x60;. | [optional] |
22
+ | **enable_terse_logging** | **Boolean** | Reduces the volume of log messages. This feature should be enabled when there are more than 200 participants in a meeting to help improve performance. See our [guides for supporting large experiences](/guides/scaling-calls) for additional instruction. | [optional][default to false] |
23
+ | **start_cloud_recording** | **Boolean** | Start cloud recording when the user joins the room. This can be used to always record and archive meetings, for example in a customer support context. Note: This requires the &#x60;enable_recording&#x60; property of the room or token to be set to &#x60;cloud&#x60;. If you want to automatically record calls with other recording modes, use &#x60;callObject.startRecording()&#x60; after &#x60;await callObject.join()&#x60; in your code. | [optional][default to false] |
24
+ | **start_cloud_recording_opts** | **Object** | Options for use when &#x60;start_cloud_recording&#x60; is &#x60;true&#x60;. See [&#x60;startRecording&#x60;](/reference/daily-js/instance-methods/start-recording) for available options. ⚠️ Specifying too many options may cause the token size to be very large. It is recommended to use token less than 2048 characters. For complex usecases, use the daily-js API. | [optional] |
25
+ | **auto_start_transcription** | **Boolean** | Start transcription when an owner joins the room. This property can be used to always transcribe meetings once an owner joins. | [optional][default to false] |
26
+ | **close_tab_on_exit** | **Boolean** | (For meetings that open in a separate browser tab.) When a user leaves a meeting using the button in the in-call menu bar, the browser tab closes. This can be a good way, especially on mobile, for users to be returned to a previous website flow after a call. | [optional][default to false] |
27
+ | **redirect_on_meeting_exit** | **String** | (For meetings that open in a separate browser tab.) When a user leaves a meeting using the button in the in-call menu bar, the browser loads this URL. A query string that includes a parameter of the form &#x60;recent-call&#x3D;&lt;domain&gt;/&lt;room&gt;&#x60; is appended to the URL. On mobile, you can redirect to a deep link to bring a user back into your app. | [optional] |
28
+ | **lang** | **String** | The default language of the [Daily prebuilt video call UI](https://docs.daily.co/docs/embed-the-daily-prebuilt-ui#daily-prebuilt-ui), for this room. Setting the language at the token level will override any room or domain-level language settings you have. Read more about [changing prebuilt UI language settings](https://help.daily.co/en/articles/4579930-changing-the-language-setting-of-the-prebuilt-ui). &#x60;*&#x60; Norwegian &#x60;\&quot;no\&quot;&#x60; and Russian &#x60;\&quot;ru\&quot;&#x60; are only available in the new Daily Prebuilt. | [optional][default to &#39;en&#39;] |
29
+ | **permissions** | [**Permissions**](Permissions.md) | | [optional] |
30
+
31
+ ## Example
32
+
33
+ ```ruby
34
+ require 'daily-ruby'
35
+
36
+ instance = Daily::Properties.new(
37
+ room_name: null,
38
+ eject_at_token_exp: null,
39
+ eject_after_elapsed: null,
40
+ nbf: null,
41
+ exp: null,
42
+ is_owner: null,
43
+ user_name: null,
44
+ user_id: null,
45
+ enable_screenshare: null,
46
+ start_video_off: null,
47
+ start_audio_off: null,
48
+ enable_recording: null,
49
+ enable_prejoin_ui: null,
50
+ enable_live_captions_ui: null,
51
+ enable_recording_ui: null,
52
+ enable_terse_logging: null,
53
+ start_cloud_recording: null,
54
+ start_cloud_recording_opts: null,
55
+ auto_start_transcription: null,
56
+ close_tab_on_exit: null,
57
+ redirect_on_meeting_exit: null,
58
+ lang: null,
59
+ permissions: null
60
+ )
61
+ ```
62
+
@@ -0,0 +1,24 @@
1
+ # Daily::RecordingError
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **version** | **String** | The semantic version of the current message. | [optional] |
8
+ | **type** | **String** | The type of event that is being provided. | [optional] |
9
+ | **event_ts** | **Float** | The Unix epoch time in seconds representing when the event was generated. | [optional] |
10
+ | **payload** | [**RecordingErrorPayload**](RecordingErrorPayload.md) | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'daily-ruby'
16
+
17
+ instance = Daily::RecordingError.new(
18
+ version: null,
19
+ type: null,
20
+ event_ts: null,
21
+ payload: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,26 @@
1
+ # Daily::RecordingErrorPayload
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **action** | **String** | A string describing the event that was emitted. | [optional] |
8
+ | **error_msg** | **String** | The error message returned. | [optional] |
9
+ | **instance_id** | **String** | The recording instance ID that was passed into the start recording command. | [optional] |
10
+ | **room_name** | **String** | The name of the room where the recording was made. | [optional] |
11
+ | **timestamp** | **Integer** | The Unix epoch time in seconds representing when the error was emitted. | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'daily-ruby'
17
+
18
+ instance = Daily::RecordingErrorPayload.new(
19
+ action: null,
20
+ error_msg: null,
21
+ instance_id: null,
22
+ room_name: null,
23
+ timestamp: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,24 @@
1
+ # Daily::RecordingReadyToDownload
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **version** | **String** | The semantic version of the current message. | [optional] |
8
+ | **type** | **String** | The type of event that is being provided. | [optional] |
9
+ | **event_ts** | **Float** | The Unix epoch time in seconds representing when the event was generated. | [optional] |
10
+ | **payload** | [**RecordingReadyToDownloadPayload**](RecordingReadyToDownloadPayload.md) | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'daily-ruby'
16
+
17
+ instance = Daily::RecordingReadyToDownload.new(
18
+ version: null,
19
+ type: null,
20
+ event_ts: null,
21
+ payload: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,34 @@
1
+ # Daily::RecordingReadyToDownloadPayload
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | The type of recording that was generated. | [optional] |
8
+ | **recording_id** | **String** | An ID identifying the recording that was generated. | [optional] |
9
+ | **room_name** | **String** | The name of the room where the recording was made. | [optional] |
10
+ | **start_ts** | **Integer** | The Unix epoch time in seconds representing when the recording started. | [optional] |
11
+ | **status** | **String** | The status of the given recording. | [optional] |
12
+ | **max_participants** | **Integer** | The number of participants on the call that were recorded. | [optional] |
13
+ | **duration** | **Integer** | The duration in seconds of the call. | [optional] |
14
+ | **s3_key** | **String** | The location of the recording in the provided S3 bucket. | [optional] |
15
+ | **tracks** | [**Array&lt;GetRecordingInfo200ResponseTracksInner&gt;**](GetRecordingInfo200ResponseTracksInner.md) | If the recording is a raw-tracks recording, a tracks field will be provided. If role permissions have been removed, the tracks field may be null. | [optional] |
16
+
17
+ ## Example
18
+
19
+ ```ruby
20
+ require 'daily-ruby'
21
+
22
+ instance = Daily::RecordingReadyToDownloadPayload.new(
23
+ type: null,
24
+ recording_id: null,
25
+ room_name: null,
26
+ start_ts: null,
27
+ status: null,
28
+ max_participants: null,
29
+ duration: null,
30
+ s3_key: null,
31
+ tracks: null
32
+ )
33
+ ```
34
+