daily-ruby 1.0.0 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (249) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +0 -1
  3. data/Gemfile.lock +9 -28
  4. data/README.md +62 -52
  5. data/daily-ruby.gemspec +4 -3
  6. data/docs/BatchProcessorError.md +24 -0
  7. data/docs/BatchProcessorErrorPayload.md +26 -0
  8. data/docs/BatchProcessorErrorPayloadInput.md +24 -0
  9. data/docs/BatchProcessorJobFinished.md +24 -0
  10. data/docs/BatchProcessorJobFinishedPayload.md +26 -0
  11. data/docs/BatchProcessorJobFinishedPayloadInput.md +24 -0
  12. data/docs/BatchProcessorJobFinishedPayloadOutput.md +24 -0
  13. data/docs/BatchProcessorJobFinishedPayloadOutputConcept.md +20 -0
  14. data/docs/BatchProcessorJobFinishedPayloadOutputSoap.md +20 -0
  15. data/docs/BatchProcessorJobFinishedPayloadOutputSoapS3Config.md +22 -0
  16. data/docs/BatchProcessorJobFinishedPayloadOutputSummary.md +20 -0
  17. data/docs/BatchProcessorJobFinishedPayloadOutputTranscriptionInner.md +20 -0
  18. data/docs/BuyPhoneNumberRequest.md +18 -0
  19. data/docs/DailyStreamingCustomLayoutConfig.md +1 -1
  20. data/docs/DailyStreamingCustomLayoutConfigCompositionParamsValue.md +15 -0
  21. data/docs/DialinApi.md +80 -0
  22. data/docs/DialoutProperties.md +26 -0
  23. data/docs/DialoutPropertiesCodecs.md +20 -0
  24. data/docs/DomainProperties.md +14 -4
  25. data/docs/EjectRequest.md +6 -2
  26. data/docs/GetDomainConfig200ResponseConfig.md +2 -0
  27. data/docs/GetTranscriptInfo200Response.md +1 -1
  28. data/docs/ListAPILogs200Response.md +1 -1
  29. data/docs/MeetingEnded.md +24 -0
  30. data/docs/MeetingEndedPayload.md +24 -0
  31. data/docs/MeetingParticipantsGetRes.md +0 -2
  32. data/docs/MeetingStarted.md +24 -0
  33. data/docs/MeetingStartedPayload.md +22 -0
  34. data/docs/ParticipantJoined.md +24 -0
  35. data/docs/ParticipantJoinedPayload.md +32 -0
  36. data/docs/ParticipantJoinedPayloadPermissions.md +22 -0
  37. data/docs/ParticipantLeft.md +24 -0
  38. data/docs/ParticipantLeftPayload.md +34 -0
  39. data/docs/PhoneNumbersApi.md +304 -0
  40. data/docs/PinDialinInner.md +22 -0
  41. data/docs/PinDialinInnerIvrGreeting.md +18 -0
  42. data/docs/PinlessCallUpdateRequest.md +22 -0
  43. data/docs/PinlessDialinInner.md +24 -0
  44. data/docs/PostWebhook.md +5 -1
  45. data/docs/Properties.md +3 -1
  46. data/docs/RecordingError.md +1 -1
  47. data/docs/RecordingReadyToDownload.md +1 -1
  48. data/docs/RecordingStarted.md +1 -1
  49. data/docs/RoomDialOutSendDTMFRequest.md +20 -0
  50. data/docs/RoomDialOutStopRequest.md +18 -0
  51. data/docs/RoomProperties.md +12 -2
  52. data/docs/RoomSipCallTransferRequest.md +20 -0
  53. data/docs/RoomsApi.md +376 -0
  54. data/docs/StreamingEnded.md +1 -1
  55. data/docs/StreamingError.md +1 -1
  56. data/docs/StreamingStarted.md +1 -1
  57. data/docs/StreamingUpdated.md +1 -1
  58. data/docs/TranscriptionProperties.md +4 -2
  59. data/docs/UpdateWebhook.md +5 -1
  60. data/docs/WaitingParticipantJoined.md +24 -0
  61. data/docs/WaitingParticipantJoinedPayload.md +32 -0
  62. data/docs/WaitingParticipantLeft.md +24 -0
  63. data/docs/WaitingParticipantLeftPayload.md +34 -0
  64. data/docs/Webhook.md +6 -4
  65. data/example.rb +12 -4
  66. data/lib/daily-ruby/api/batch_rooms_api.rb +3 -3
  67. data/lib/daily-ruby/api/dialin_api.rb +86 -0
  68. data/lib/daily-ruby/api/domain_api.rb +3 -3
  69. data/lib/daily-ruby/api/logs_api.rb +4 -4
  70. data/lib/daily-ruby/api/meeting_tokens_api.rb +3 -3
  71. data/lib/daily-ruby/api/meetings_api.rb +4 -4
  72. data/lib/daily-ruby/api/phone_numbers_api.rb +281 -0
  73. data/lib/daily-ruby/api/presence_api.rb +2 -2
  74. data/lib/daily-ruby/api/recordings_api.rb +5 -5
  75. data/lib/daily-ruby/api/rooms_api.rb +370 -20
  76. data/lib/daily-ruby/api/transcript_api.rb +6 -6
  77. data/lib/daily-ruby/api/webhooks_api.rb +6 -6
  78. data/lib/daily-ruby/api_client.rb +34 -28
  79. data/lib/daily-ruby/api_error.rb +1 -1
  80. data/lib/daily-ruby/configuration.rb +11 -1
  81. data/lib/daily-ruby/models/batch_processor_error.rb +278 -0
  82. data/lib/daily-ruby/models/batch_processor_error_payload.rb +289 -0
  83. data/lib/daily-ruby/models/batch_processor_error_payload_input.rb +280 -0
  84. data/lib/daily-ruby/models/batch_processor_job_finished.rb +278 -0
  85. data/lib/daily-ruby/models/batch_processor_job_finished_payload.rb +288 -0
  86. data/lib/daily-ruby/models/batch_processor_job_finished_payload_input.rb +280 -0
  87. data/lib/daily-ruby/models/batch_processor_job_finished_payload_output.rb +245 -0
  88. data/lib/daily-ruby/models/batch_processor_job_finished_payload_output_concept.rb +259 -0
  89. data/lib/daily-ruby/models/batch_processor_job_finished_payload_output_soap.rb +259 -0
  90. data/lib/daily-ruby/models/batch_processor_job_finished_payload_output_soap_s3_config.rb +236 -0
  91. data/lib/daily-ruby/models/batch_processor_job_finished_payload_output_summary.rb +259 -0
  92. data/lib/daily-ruby/models/batch_processor_job_finished_payload_output_transcription_inner.rb +258 -0
  93. data/lib/daily-ruby/models/batch_room_create_request.rb +1 -1
  94. data/lib/daily-ruby/models/batch_room_create_request_rooms_inner.rb +1 -1
  95. data/lib/daily-ruby/models/batch_room_delete200_response.rb +1 -1
  96. data/lib/daily-ruby/models/buy_phone_number_request.rb +215 -0
  97. data/lib/daily-ruby/models/create_meeting_token200_response.rb +1 -1
  98. data/lib/daily-ruby/models/create_meeting_token_request.rb +1 -1
  99. data/lib/daily-ruby/models/create_room200_response.rb +1 -1
  100. data/lib/daily-ruby/models/create_room_request.rb +1 -1
  101. data/lib/daily-ruby/models/daily_live_streaming_options.rb +1 -1
  102. data/lib/daily-ruby/models/daily_live_streaming_options_rtmp_url.rb +1 -1
  103. data/lib/daily-ruby/models/daily_streaming_active_participant_layout_config.rb +3 -3
  104. data/lib/daily-ruby/models/daily_streaming_custom_layout_config.rb +4 -4
  105. data/lib/daily-ruby/models/daily_streaming_custom_layout_config_composition_params.rb +1 -1
  106. data/lib/daily-ruby/models/daily_streaming_custom_layout_config_composition_params_value.rb +105 -0
  107. data/lib/daily-ruby/models/daily_streaming_default_layout_config.rb +3 -3
  108. data/lib/daily-ruby/models/daily_streaming_endpoint.rb +1 -1
  109. data/lib/daily-ruby/models/daily_streaming_layout_config.rb +1 -1
  110. data/lib/daily-ruby/models/daily_streaming_options.rb +1 -1
  111. data/lib/daily-ruby/models/daily_streaming_portrait_layout_config.rb +3 -3
  112. data/lib/daily-ruby/models/daily_streaming_portrait_layout_variant.rb +3 -2
  113. data/lib/daily-ruby/models/daily_streaming_single_participant_layout_config.rb +3 -3
  114. data/lib/daily-ruby/models/delete_transcript200_response.rb +3 -3
  115. data/lib/daily-ruby/models/dialout_properties.rb +254 -0
  116. data/lib/daily-ruby/models/dialout_properties_codecs.rb +228 -0
  117. data/lib/daily-ruby/models/domain.rb +1 -1
  118. data/lib/daily-ruby/models/domain_properties.rb +74 -16
  119. data/lib/daily-ruby/models/eject200_response.rb +1 -1
  120. data/lib/daily-ruby/models/eject_request.rb +30 -6
  121. data/lib/daily-ruby/models/get_domain_config200_response.rb +1 -1
  122. data/lib/daily-ruby/models/get_domain_config200_response_config.rb +11 -2
  123. data/lib/daily-ruby/models/get_domain_config200_response_config_recordings_bucket.rb +1 -1
  124. data/lib/daily-ruby/models/get_meeting_info200_response.rb +1 -1
  125. data/lib/daily-ruby/models/get_meeting_info200_response_data_inner.rb +1 -1
  126. data/lib/daily-ruby/models/get_meeting_info200_response_data_inner_participants_inner.rb +1 -1
  127. data/lib/daily-ruby/models/get_presence200_response.rb +1 -1
  128. data/lib/daily-ruby/models/get_presence200_response_aivw_whz_hl_lhr_sd_hdw7_ew_inner.rb +1 -1
  129. data/lib/daily-ruby/models/get_recording_info200_response.rb +3 -3
  130. data/lib/daily-ruby/models/get_recording_info200_response_tracks_inner.rb +3 -3
  131. data/lib/daily-ruby/models/get_recording_link200_response.rb +1 -1
  132. data/lib/daily-ruby/models/get_transcript_info200_response.rb +4 -4
  133. data/lib/daily-ruby/models/get_transcript_info200_response_out_params.rb +2 -1
  134. data/lib/daily-ruby/models/get_transcript_link200_response.rb +1 -1
  135. data/lib/daily-ruby/models/list_api_logs200_response.rb +2 -2
  136. data/lib/daily-ruby/models/list_recordings200_response.rb +1 -1
  137. data/lib/daily-ruby/models/list_recordings200_response_data_inner.rb +1 -1
  138. data/lib/daily-ruby/models/list_rooms200_response.rb +1 -1
  139. data/lib/daily-ruby/models/list_rooms200_response_data_inner.rb +1 -1
  140. data/lib/daily-ruby/models/list_rooms200_response_data_inner_config.rb +1 -1
  141. data/lib/daily-ruby/models/list_transcript200_response.rb +1 -1
  142. data/lib/daily-ruby/models/list_transcript200_response_data_inner.rb +3 -3
  143. data/lib/daily-ruby/models/meeting_ended.rb +278 -0
  144. data/lib/daily-ruby/models/meeting_ended_payload.rb +246 -0
  145. data/lib/daily-ruby/models/meeting_participants_get_res.rb +2 -11
  146. data/lib/daily-ruby/models/meeting_participants_get_res_data_inner.rb +1 -1
  147. data/lib/daily-ruby/models/meeting_started.rb +278 -0
  148. data/lib/daily-ruby/models/meeting_started_payload.rb +236 -0
  149. data/lib/daily-ruby/models/meetings_meeting_get_res.rb +1 -1
  150. data/lib/daily-ruby/models/participant_joined.rb +278 -0
  151. data/lib/daily-ruby/models/participant_joined_payload.rb +285 -0
  152. data/lib/daily-ruby/models/participant_joined_payload_permissions.rb +240 -0
  153. data/lib/daily-ruby/models/participant_left.rb +278 -0
  154. data/lib/daily-ruby/models/participant_left_payload.rb +295 -0
  155. data/lib/daily-ruby/models/permissions.rb +1 -1
  156. data/lib/daily-ruby/models/permissions_can_admin.rb +1 -1
  157. data/lib/daily-ruby/models/permissions_can_send.rb +1 -1
  158. data/lib/daily-ruby/models/pin_dialin_inner.rb +234 -0
  159. data/lib/daily-ruby/models/pin_dialin_inner_ivr_greeting.rb +215 -0
  160. data/lib/daily-ruby/models/pinless_call_update_request.rb +235 -0
  161. data/lib/daily-ruby/models/pinless_dialin_inner.rb +245 -0
  162. data/lib/daily-ruby/models/post_webhook.rb +37 -5
  163. data/lib/daily-ruby/models/properties.rb +17 -7
  164. data/lib/daily-ruby/models/recording_error.rb +4 -4
  165. data/lib/daily-ruby/models/recording_error_payload.rb +3 -3
  166. data/lib/daily-ruby/models/recording_ready_to_download.rb +4 -4
  167. data/lib/daily-ruby/models/recording_ready_to_download_payload.rb +5 -5
  168. data/lib/daily-ruby/models/recording_started.rb +4 -4
  169. data/lib/daily-ruby/models/recording_started_payload.rb +3 -3
  170. data/lib/daily-ruby/models/recording_streaming_options.rb +3 -3
  171. data/lib/daily-ruby/models/recordings_bucket.rb +1 -1
  172. data/lib/daily-ruby/models/room_dial_out_send_dtmf_request.rb +224 -0
  173. data/lib/daily-ruby/models/room_dial_out_stop_request.rb +215 -0
  174. data/lib/daily-ruby/models/room_properties.rb +67 -9
  175. data/lib/daily-ruby/models/room_properties_streaming_endpoints_inner.rb +267 -267
  176. data/lib/daily-ruby/models/room_properties_streaming_endpoints_inner_hls_config_variants_inner.rb +1 -1
  177. data/lib/daily-ruby/models/room_sip_call_transfer_request.rb +224 -0
  178. data/lib/daily-ruby/models/rooms_room_name_get_res.rb +1 -1
  179. data/lib/daily-ruby/models/rooms_room_name_presence_get_res.rb +1 -1
  180. data/lib/daily-ruby/models/rooms_room_name_presence_get_res_data_inner.rb +1 -1
  181. data/lib/daily-ruby/models/send_app_message_request.rb +1 -1
  182. data/lib/daily-ruby/models/set_room_config_request.rb +1 -1
  183. data/lib/daily-ruby/models/set_session_data_request.rb +3 -3
  184. data/lib/daily-ruby/models/streaming_ended.rb +4 -4
  185. data/lib/daily-ruby/models/streaming_ended_payload.rb +1 -1
  186. data/lib/daily-ruby/models/streaming_error.rb +4 -4
  187. data/lib/daily-ruby/models/streaming_error_payload.rb +1 -1
  188. data/lib/daily-ruby/models/streaming_started.rb +4 -4
  189. data/lib/daily-ruby/models/streaming_started_payload.rb +1 -1
  190. data/lib/daily-ruby/models/streaming_updated.rb +4 -4
  191. data/lib/daily-ruby/models/streaming_updated_payload.rb +1 -1
  192. data/lib/daily-ruby/models/transcription_bucket.rb +1 -1
  193. data/lib/daily-ruby/models/transcription_properties.rb +16 -6
  194. data/lib/daily-ruby/models/transcription_properties_endpointing.rb +1 -1
  195. data/lib/daily-ruby/models/transcription_properties_redact.rb +1 -1
  196. data/lib/daily-ruby/models/update_permissions_request.rb +1 -1
  197. data/lib/daily-ruby/models/update_permissions_request_data_value.rb +1 -1
  198. data/lib/daily-ruby/models/update_permissions_request_data_value_can_send.rb +1 -1
  199. data/lib/daily-ruby/models/update_webhook.rb +37 -5
  200. data/lib/daily-ruby/models/validate_meeting_token200_response.rb +1 -1
  201. data/lib/daily-ruby/models/waiting_participant_joined.rb +278 -0
  202. data/lib/daily-ruby/models/waiting_participant_joined_payload.rb +285 -0
  203. data/lib/daily-ruby/models/waiting_participant_left.rb +278 -0
  204. data/lib/daily-ruby/models/waiting_participant_left_payload.rb +295 -0
  205. data/lib/daily-ruby/models/webhook.rb +32 -10
  206. data/lib/daily-ruby/version.rb +2 -2
  207. data/lib/daily-ruby.rb +39 -2
  208. data/pkg/daily-ruby-1.0.2.gem +0 -0
  209. data/run.sh +3 -3
  210. data/spec/api/dialin_api_spec.rb +47 -0
  211. data/spec/api/phone_numbers_api_spec.rb +87 -0
  212. data/spec/models/batch_processor_error_payload_input_spec.rb +58 -0
  213. data/spec/models/batch_processor_error_payload_spec.rb +64 -0
  214. data/spec/models/batch_processor_error_spec.rb +58 -0
  215. data/spec/models/batch_processor_job_finished_payload_input_spec.rb +58 -0
  216. data/spec/models/batch_processor_job_finished_payload_output_concept_spec.rb +46 -0
  217. data/spec/models/batch_processor_job_finished_payload_output_soap_s3_config_spec.rb +48 -0
  218. data/spec/models/batch_processor_job_finished_payload_output_soap_spec.rb +46 -0
  219. data/spec/models/batch_processor_job_finished_payload_output_spec.rb +54 -0
  220. data/spec/models/batch_processor_job_finished_payload_output_summary_spec.rb +46 -0
  221. data/spec/models/batch_processor_job_finished_payload_output_transcription_inner_spec.rb +46 -0
  222. data/spec/models/batch_processor_job_finished_payload_spec.rb +64 -0
  223. data/spec/models/batch_processor_job_finished_spec.rb +58 -0
  224. data/spec/models/buy_phone_number_request_spec.rb +36 -0
  225. data/spec/models/{daily_streaming_custom_layout_config_composition_params_spec.rb → daily_streaming_custom_layout_config_composition_params_value_spec.rb} +3 -3
  226. data/spec/models/dialout_properties_codecs_spec.rb +42 -0
  227. data/spec/models/dialout_properties_spec.rb +60 -0
  228. data/spec/models/meeting_ended_payload_spec.rb +54 -0
  229. data/spec/models/meeting_ended_spec.rb +58 -0
  230. data/spec/models/meeting_started_payload_spec.rb +48 -0
  231. data/spec/models/meeting_started_spec.rb +58 -0
  232. data/spec/models/participant_joined_payload_permissions_spec.rb +48 -0
  233. data/spec/models/participant_joined_payload_spec.rb +78 -0
  234. data/spec/models/participant_joined_spec.rb +58 -0
  235. data/spec/models/participant_left_payload_spec.rb +84 -0
  236. data/spec/models/participant_left_spec.rb +58 -0
  237. data/spec/models/pin_dialin_inner_ivr_greeting_spec.rb +36 -0
  238. data/spec/models/pin_dialin_inner_spec.rb +48 -0
  239. data/spec/models/pinless_call_update_request_spec.rb +48 -0
  240. data/spec/models/pinless_dialin_inner_spec.rb +54 -0
  241. data/spec/models/room_dial_out_send_dtmf_request_spec.rb +42 -0
  242. data/spec/models/room_dial_out_stop_request_spec.rb +36 -0
  243. data/spec/models/room_sip_call_transfer_request_spec.rb +42 -0
  244. data/spec/models/waiting_participant_joined_payload_spec.rb +78 -0
  245. data/spec/models/waiting_participant_joined_spec.rb +58 -0
  246. data/spec/models/waiting_participant_left_payload_spec.rb +84 -0
  247. data/spec/models/waiting_participant_left_spec.rb +58 -0
  248. data/spec/spec_helper.rb +1 -1
  249. metadata +171 -6
@@ -0,0 +1,245 @@
1
+ =begin
2
+ #Daily API
3
+
4
+ #The Daily REST API offers the ability to manage the following: - Overall Domain Configuration - Individual Room creation and config management - Meeting token creation and validation - Recording and compositing management - Meeting analytics - Logs and metrics - Real-time presence Please reach out to help@daily.co if we can help with anything
5
+
6
+ The version of the OpenAPI document: 1.1.1
7
+ Contact: help@daily.co
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.8.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Daily
17
+ class PinlessDialinInner
18
+ # Associate a purchased phone number to the Pinless dialin workflow.
19
+ attr_accessor :phone_number
20
+
21
+ # 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).
22
+ attr_accessor :room_creation_api
23
+
24
+ # An identifier or name to associate to the workflow.
25
+ attr_accessor :name_prefix
26
+
27
+ # This is not a settable value, Daily returns the `sip_uri` 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 `phone_number` or this `sip_uri`, the [webhook will be triggered](/guides/products/dial-in-dial-out/dialin-pinless#incoming-call-triggers-the-webhook).
28
+ attr_accessor :sip_uri
29
+
30
+ # Attribute mapping from ruby-style variable name to JSON key.
31
+ def self.attribute_map
32
+ {
33
+ :'phone_number' => :'phone_number',
34
+ :'room_creation_api' => :'room_creation_api',
35
+ :'name_prefix' => :'name_prefix',
36
+ :'sip_uri' => :'sip_uri'
37
+ }
38
+ end
39
+
40
+ # Returns all the JSON keys this model knows about
41
+ def self.acceptable_attributes
42
+ attribute_map.values
43
+ end
44
+
45
+ # Attribute type mapping.
46
+ def self.openapi_types
47
+ {
48
+ :'phone_number' => :'String',
49
+ :'room_creation_api' => :'String',
50
+ :'name_prefix' => :'String',
51
+ :'sip_uri' => :'String'
52
+ }
53
+ end
54
+
55
+ # List of attributes with nullable: true
56
+ def self.openapi_nullable
57
+ Set.new([
58
+ ])
59
+ end
60
+
61
+ # Initializes the object
62
+ # @param [Hash] attributes Model attributes in the form of hash
63
+ def initialize(attributes = {})
64
+ if (!attributes.is_a?(Hash))
65
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Daily::PinlessDialinInner` initialize method"
66
+ end
67
+
68
+ # check to see if the attribute exists and convert string to symbol for hash key
69
+ attributes = attributes.each_with_object({}) { |(k, v), h|
70
+ if (!self.class.attribute_map.key?(k.to_sym))
71
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Daily::PinlessDialinInner`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
72
+ end
73
+ h[k.to_sym] = v
74
+ }
75
+
76
+ if attributes.key?(:'phone_number')
77
+ self.phone_number = attributes[:'phone_number']
78
+ end
79
+
80
+ if attributes.key?(:'room_creation_api')
81
+ self.room_creation_api = attributes[:'room_creation_api']
82
+ end
83
+
84
+ if attributes.key?(:'name_prefix')
85
+ self.name_prefix = attributes[:'name_prefix']
86
+ end
87
+
88
+ if attributes.key?(:'sip_uri')
89
+ self.sip_uri = attributes[:'sip_uri']
90
+ end
91
+ end
92
+
93
+ # Show invalid properties with the reasons. Usually used together with valid?
94
+ # @return Array for valid properties with the reasons
95
+ def list_invalid_properties
96
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
97
+ invalid_properties = Array.new
98
+ invalid_properties
99
+ end
100
+
101
+ # Check to see if the all the properties in the model are valid
102
+ # @return true if the model is valid
103
+ def valid?
104
+ warn '[DEPRECATED] the `valid?` method is obsolete'
105
+ true
106
+ end
107
+
108
+ # Checks equality by comparing each attribute.
109
+ # @param [Object] Object to be compared
110
+ def ==(o)
111
+ return true if self.equal?(o)
112
+ self.class == o.class &&
113
+ phone_number == o.phone_number &&
114
+ room_creation_api == o.room_creation_api &&
115
+ name_prefix == o.name_prefix &&
116
+ sip_uri == o.sip_uri
117
+ end
118
+
119
+ # @see the `==` method
120
+ # @param [Object] Object to be compared
121
+ def eql?(o)
122
+ self == o
123
+ end
124
+
125
+ # Calculates hash code according to all attributes.
126
+ # @return [Integer] Hash code
127
+ def hash
128
+ [phone_number, room_creation_api, name_prefix, sip_uri].hash
129
+ end
130
+
131
+ # Builds the object from hash
132
+ # @param [Hash] attributes Model attributes in the form of hash
133
+ # @return [Object] Returns the model itself
134
+ def self.build_from_hash(attributes)
135
+ return nil unless attributes.is_a?(Hash)
136
+ attributes = attributes.transform_keys(&:to_sym)
137
+ transformed_hash = {}
138
+ openapi_types.each_pair do |key, type|
139
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
140
+ transformed_hash["#{key}"] = nil
141
+ elsif type =~ /\AArray<(.*)>/i
142
+ # check to ensure the input is an array given that the attribute
143
+ # is documented as an array but the input is not
144
+ if attributes[attribute_map[key]].is_a?(Array)
145
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
146
+ end
147
+ elsif !attributes[attribute_map[key]].nil?
148
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
149
+ end
150
+ end
151
+ new(transformed_hash)
152
+ end
153
+
154
+ # Deserializes the data based on type
155
+ # @param string type Data type
156
+ # @param string value Value to be deserialized
157
+ # @return [Object] Deserialized data
158
+ def self._deserialize(type, value)
159
+ case type.to_sym
160
+ when :Time
161
+ Time.parse(value)
162
+ when :Date
163
+ Date.parse(value)
164
+ when :String
165
+ value.to_s
166
+ when :Integer
167
+ value.to_i
168
+ when :Float
169
+ value.to_f
170
+ when :Boolean
171
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
172
+ true
173
+ else
174
+ false
175
+ end
176
+ when :Object
177
+ # generic object (usually a Hash), return directly
178
+ value
179
+ when /\AArray<(?<inner_type>.+)>\z/
180
+ inner_type = Regexp.last_match[:inner_type]
181
+ value.map { |v| _deserialize(inner_type, v) }
182
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
183
+ k_type = Regexp.last_match[:k_type]
184
+ v_type = Regexp.last_match[:v_type]
185
+ {}.tap do |hash|
186
+ value.each do |k, v|
187
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
188
+ end
189
+ end
190
+ else # model
191
+ # models (e.g. Pet) or oneOf
192
+ klass = Daily.const_get(type)
193
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
194
+ end
195
+ end
196
+
197
+ # Returns the string representation of the object
198
+ # @return [String] String presentation of the object
199
+ def to_s
200
+ to_hash.to_s
201
+ end
202
+
203
+ # to_body is an alias to to_hash (backward compatibility)
204
+ # @return [Hash] Returns the object in the form of hash
205
+ def to_body
206
+ to_hash
207
+ end
208
+
209
+ # Returns the object in the form of hash
210
+ # @return [Hash] Returns the object in the form of hash
211
+ def to_hash
212
+ hash = {}
213
+ self.class.attribute_map.each_pair do |attr, param|
214
+ value = self.send(attr)
215
+ if value.nil?
216
+ is_nullable = self.class.openapi_nullable.include?(attr)
217
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
218
+ end
219
+
220
+ hash[param] = _to_hash(value)
221
+ end
222
+ hash
223
+ end
224
+
225
+ # Outputs non-array value in the form of hash
226
+ # For object, use to_hash. Otherwise, just return the value
227
+ # @param [Object] value Any valid value
228
+ # @return [Hash] Returns the value in the form of hash
229
+ def _to_hash(value)
230
+ if value.is_a?(Array)
231
+ value.compact.map { |v| _to_hash(v) }
232
+ elsif value.is_a?(Hash)
233
+ {}.tap do |hash|
234
+ value.each { |k, v| hash[k] = _to_hash(v) }
235
+ end
236
+ elsif value.respond_to? :to_hash
237
+ value.to_hash
238
+ else
239
+ value
240
+ end
241
+ end
242
+
243
+ end
244
+
245
+ end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.1.1
7
7
  Contact: help@daily.co
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.3.0
9
+ Generator version: 7.8.0
10
10
 
11
11
  =end
12
12
 
@@ -21,9 +21,15 @@ module Daily
21
21
  # The basic auth credentials that will be used to POST to the webhook URL.
22
22
  attr_accessor :basic_auth
23
23
 
24
+ # The retry configuration for this webhook endpoint to use. The default is circuit-breaker.
25
+ attr_accessor :retry_type
26
+
24
27
  # The set of event types this webhook is subscribed to.
25
28
  attr_accessor :event_types
26
29
 
30
+ # 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.
31
+ attr_accessor :hmac
32
+
27
33
  class EnumAttributeValidator
28
34
  attr_reader :datatype
29
35
  attr_reader :allowable_values
@@ -51,7 +57,9 @@ module Daily
51
57
  {
52
58
  :'url' => :'url',
53
59
  :'basic_auth' => :'basicAuth',
54
- :'event_types' => :'eventTypes'
60
+ :'retry_type' => :'retryType',
61
+ :'event_types' => :'eventTypes',
62
+ :'hmac' => :'hmac'
55
63
  }
56
64
  end
57
65
 
@@ -65,7 +73,9 @@ module Daily
65
73
  {
66
74
  :'url' => :'String',
67
75
  :'basic_auth' => :'String',
68
- :'event_types' => :'Array<String>'
76
+ :'retry_type' => :'String',
77
+ :'event_types' => :'Array<String>',
78
+ :'hmac' => :'String'
69
79
  }
70
80
  end
71
81
 
@@ -98,11 +108,19 @@ module Daily
98
108
  self.basic_auth = attributes[:'basic_auth']
99
109
  end
100
110
 
111
+ if attributes.key?(:'retry_type')
112
+ self.retry_type = attributes[:'retry_type']
113
+ end
114
+
101
115
  if attributes.key?(:'event_types')
102
116
  if (value = attributes[:'event_types']).is_a?(Array)
103
117
  self.event_types = value
104
118
  end
105
119
  end
120
+
121
+ if attributes.key?(:'hmac')
122
+ self.hmac = attributes[:'hmac']
123
+ end
106
124
  end
107
125
 
108
126
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -117,9 +135,21 @@ module Daily
117
135
  # @return true if the model is valid
118
136
  def valid?
119
137
  warn '[DEPRECATED] the `valid?` method is obsolete'
138
+ retry_type_validator = EnumAttributeValidator.new('String', ["circuit-breaker", "exponential", "unknown_default_open_api"])
139
+ return false unless retry_type_validator.valid?(@retry_type)
120
140
  true
121
141
  end
122
142
 
143
+ # Custom attribute writer method checking allowed values (enum).
144
+ # @param [Object] retry_type Object to be assigned
145
+ def retry_type=(retry_type)
146
+ validator = EnumAttributeValidator.new('String', ["circuit-breaker", "exponential", "unknown_default_open_api"])
147
+ unless validator.valid?(retry_type)
148
+ fail ArgumentError, "invalid value for \"retry_type\", must be one of #{validator.allowable_values}."
149
+ end
150
+ @retry_type = retry_type
151
+ end
152
+
123
153
  # Checks equality by comparing each attribute.
124
154
  # @param [Object] Object to be compared
125
155
  def ==(o)
@@ -127,7 +157,9 @@ module Daily
127
157
  self.class == o.class &&
128
158
  url == o.url &&
129
159
  basic_auth == o.basic_auth &&
130
- event_types == o.event_types
160
+ retry_type == o.retry_type &&
161
+ event_types == o.event_types &&
162
+ hmac == o.hmac
131
163
  end
132
164
 
133
165
  # @see the `==` method
@@ -139,7 +171,7 @@ module Daily
139
171
  # Calculates hash code according to all attributes.
140
172
  # @return [Integer] Hash code
141
173
  def hash
142
- [url, basic_auth, event_types].hash
174
+ [url, basic_auth, retry_type, event_types, hmac].hash
143
175
  end
144
176
 
145
177
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.1.1
7
7
  Contact: help@daily.co
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.3.0
9
+ Generator version: 7.8.0
10
10
 
11
11
  =end
12
12
 
@@ -36,7 +36,7 @@ module Daily
36
36
  # The user'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.)
37
37
  attr_accessor :user_name
38
38
 
39
- # The user's ID for this meeting session. This ID is retrievable using the [meetings](/reference/rest-api/meetings) API. You can use `user_id` to map between your user database and meeting events/attendance. *The ID does not display in our standard in-call UI during the call. _max length 36 chars_
39
+ # The user's ID for this meeting session. During a session, this ID is retrievable in the [`participants()`](/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 `user_id` to map between your user database and meeting events/attendance. For domains configured for [HIPAA compliance](/guides/privacy-and-security/hipaa), if the `user_id` value is a [UUID](https://www.ietf.org/rfc/rfc4122.txt) (for example, `f81d4fae-7dec-11d0-a765-00a0c91e6bf6`), then the UUID will be returned for the participant in the [`/meetings`](/reference/rest-api/meetings) REST API endpoint. Otherwise, the string `hipaa` will be returned in order to remove potential PHI. During a session, the provided `user_id` will always be returned through the `participants()` method and related events, regardless of the `user_id` value. The `user_id` has a limit of 36 characters.
40
40
  attr_accessor :user_id
41
41
 
42
42
  # Sets whether or not the user is allowed to screen share. This setting applies for the duration of the meeting. If you're looking to dynamically control whether a user can screen share during a meeting, then use the [`permissions`](/reference/rest-api/meeting-tokens/config#permissions) token property.
@@ -54,6 +54,9 @@ module Daily
54
54
  # 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's configuration, the meeting token's configuration will take priority. ⚠️ You must be using [Daily Prebuilt](https://daily.co/prebuilt) to use `enable_prejoin_ui`.
55
55
  attr_accessor :enable_prejoin_ui
56
56
 
57
+ # 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 `true`, a closed captions button appears in the call tray. When set to `false`, 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 `enable_live_captions_ui`.
58
+ attr_accessor :enable_live_captions_ui
59
+
57
60
  # Determines whether the participant using the meeting token can see the Recording button in Daily Prebuilt's UI, which can be found in the video call tray. If this value is `false`, the button will not be included in the tray. If it's `true`, 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 `enable_recording_ui`.
58
61
  attr_accessor :enable_recording_ui
59
62
 
@@ -118,6 +121,7 @@ module Daily
118
121
  :'start_audio_off' => :'start_audio_off',
119
122
  :'enable_recording' => :'enable_recording',
120
123
  :'enable_prejoin_ui' => :'enable_prejoin_ui',
124
+ :'enable_live_captions_ui' => :'enable_live_captions_ui',
121
125
  :'enable_recording_ui' => :'enable_recording_ui',
122
126
  :'enable_terse_logging' => :'enable_terse_logging',
123
127
  :'start_cloud_recording' => :'start_cloud_recording',
@@ -151,6 +155,7 @@ module Daily
151
155
  :'start_audio_off' => :'Boolean',
152
156
  :'enable_recording' => :'String',
153
157
  :'enable_prejoin_ui' => :'Boolean',
158
+ :'enable_live_captions_ui' => :'Boolean',
154
159
  :'enable_recording_ui' => :'Boolean',
155
160
  :'enable_terse_logging' => :'Boolean',
156
161
  :'start_cloud_recording' => :'Boolean',
@@ -246,6 +251,10 @@ module Daily
246
251
  self.enable_prejoin_ui = attributes[:'enable_prejoin_ui']
247
252
  end
248
253
 
254
+ if attributes.key?(:'enable_live_captions_ui')
255
+ self.enable_live_captions_ui = attributes[:'enable_live_captions_ui']
256
+ end
257
+
249
258
  if attributes.key?(:'enable_recording_ui')
250
259
  self.enable_recording_ui = attributes[:'enable_recording_ui']
251
260
  end
@@ -305,9 +314,9 @@ module Daily
305
314
  # @return true if the model is valid
306
315
  def valid?
307
316
  warn '[DEPRECATED] the `valid?` method is obsolete'
308
- enable_recording_validator = EnumAttributeValidator.new('String', ["cloud", "local", "raw-tracks"])
317
+ enable_recording_validator = EnumAttributeValidator.new('String', ["cloud", "local", "raw-tracks", "unknown_default_open_api"])
309
318
  return false unless enable_recording_validator.valid?(@enable_recording)
310
- lang_validator = EnumAttributeValidator.new('String', ["de", "en", "es", "fi", "fr", "it", "jp", "ka", "nl", "no", "pt", "pt-BR", "pl", "ru", "sv", "tr", "user"])
319
+ lang_validator = EnumAttributeValidator.new('String', ["da", "de", "en", "es", "fi", "fr", "it", "jp", "ka", "nl", "no", "pt", "pt-BR", "pl", "ru", "sv", "tr", "user", "unknown_default_open_api"])
311
320
  return false unless lang_validator.valid?(@lang)
312
321
  true
313
322
  end
@@ -315,7 +324,7 @@ module Daily
315
324
  # Custom attribute writer method checking allowed values (enum).
316
325
  # @param [Object] enable_recording Object to be assigned
317
326
  def enable_recording=(enable_recording)
318
- validator = EnumAttributeValidator.new('String', ["cloud", "local", "raw-tracks"])
327
+ validator = EnumAttributeValidator.new('String', ["cloud", "local", "raw-tracks", "unknown_default_open_api"])
319
328
  unless validator.valid?(enable_recording)
320
329
  fail ArgumentError, "invalid value for \"enable_recording\", must be one of #{validator.allowable_values}."
321
330
  end
@@ -325,7 +334,7 @@ module Daily
325
334
  # Custom attribute writer method checking allowed values (enum).
326
335
  # @param [Object] lang Object to be assigned
327
336
  def lang=(lang)
328
- validator = EnumAttributeValidator.new('String', ["de", "en", "es", "fi", "fr", "it", "jp", "ka", "nl", "no", "pt", "pt-BR", "pl", "ru", "sv", "tr", "user"])
337
+ validator = EnumAttributeValidator.new('String', ["da", "de", "en", "es", "fi", "fr", "it", "jp", "ka", "nl", "no", "pt", "pt-BR", "pl", "ru", "sv", "tr", "user", "unknown_default_open_api"])
329
338
  unless validator.valid?(lang)
330
339
  fail ArgumentError, "invalid value for \"lang\", must be one of #{validator.allowable_values}."
331
340
  end
@@ -350,6 +359,7 @@ module Daily
350
359
  start_audio_off == o.start_audio_off &&
351
360
  enable_recording == o.enable_recording &&
352
361
  enable_prejoin_ui == o.enable_prejoin_ui &&
362
+ enable_live_captions_ui == o.enable_live_captions_ui &&
353
363
  enable_recording_ui == o.enable_recording_ui &&
354
364
  enable_terse_logging == o.enable_terse_logging &&
355
365
  start_cloud_recording == o.start_cloud_recording &&
@@ -370,7 +380,7 @@ module Daily
370
380
  # Calculates hash code according to all attributes.
371
381
  # @return [Integer] Hash code
372
382
  def hash
373
- [room_name, eject_at_token_exp, eject_after_elapsed, nbf, exp, is_owner, user_name, user_id, enable_screenshare, start_video_off, start_audio_off, enable_recording, enable_prejoin_ui, enable_recording_ui, enable_terse_logging, start_cloud_recording, start_cloud_recording_opts, auto_start_transcription, close_tab_on_exit, redirect_on_meeting_exit, lang, permissions].hash
383
+ [room_name, eject_at_token_exp, eject_after_elapsed, nbf, exp, is_owner, user_name, user_id, enable_screenshare, start_video_off, start_audio_off, enable_recording, enable_prejoin_ui, enable_live_captions_ui, enable_recording_ui, enable_terse_logging, start_cloud_recording, start_cloud_recording_opts, auto_start_transcription, close_tab_on_exit, redirect_on_meeting_exit, lang, permissions].hash
374
384
  end
375
385
 
376
386
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.1.1
7
7
  Contact: help@daily.co
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.3.0
9
+ Generator version: 7.8.0
10
10
 
11
11
  =end
12
12
 
@@ -68,7 +68,7 @@ module Daily
68
68
  {
69
69
  :'version' => :'String',
70
70
  :'type' => :'String',
71
- :'event_ts' => :'Integer',
71
+ :'event_ts' => :'Float',
72
72
  :'payload' => :'RecordingErrorPayload'
73
73
  }
74
74
  end
@@ -123,7 +123,7 @@ module Daily
123
123
  # @return true if the model is valid
124
124
  def valid?
125
125
  warn '[DEPRECATED] the `valid?` method is obsolete'
126
- type_validator = EnumAttributeValidator.new('String', ["recording.error"])
126
+ type_validator = EnumAttributeValidator.new('String', ["recording.error", "unknown_default_open_api"])
127
127
  return false unless type_validator.valid?(@type)
128
128
  true
129
129
  end
@@ -131,7 +131,7 @@ module Daily
131
131
  # Custom attribute writer method checking allowed values (enum).
132
132
  # @param [Object] type Object to be assigned
133
133
  def type=(type)
134
- validator = EnumAttributeValidator.new('String', ["recording.error"])
134
+ validator = EnumAttributeValidator.new('String', ["recording.error", "unknown_default_open_api"])
135
135
  unless validator.valid?(type)
136
136
  fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
137
137
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.1.1
7
7
  Contact: help@daily.co
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.3.0
9
+ Generator version: 7.8.0
10
10
 
11
11
  =end
12
12
 
@@ -134,7 +134,7 @@ module Daily
134
134
  # @return true if the model is valid
135
135
  def valid?
136
136
  warn '[DEPRECATED] the `valid?` method is obsolete'
137
- action_validator = EnumAttributeValidator.new('String', ["clourd-recording-err"])
137
+ action_validator = EnumAttributeValidator.new('String', ["clourd-recording-err", "unknown_default_open_api"])
138
138
  return false unless action_validator.valid?(@action)
139
139
  true
140
140
  end
@@ -142,7 +142,7 @@ module Daily
142
142
  # Custom attribute writer method checking allowed values (enum).
143
143
  # @param [Object] action Object to be assigned
144
144
  def action=(action)
145
- validator = EnumAttributeValidator.new('String', ["clourd-recording-err"])
145
+ validator = EnumAttributeValidator.new('String', ["clourd-recording-err", "unknown_default_open_api"])
146
146
  unless validator.valid?(action)
147
147
  fail ArgumentError, "invalid value for \"action\", must be one of #{validator.allowable_values}."
148
148
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.1.1
7
7
  Contact: help@daily.co
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.3.0
9
+ Generator version: 7.8.0
10
10
 
11
11
  =end
12
12
 
@@ -68,7 +68,7 @@ module Daily
68
68
  {
69
69
  :'version' => :'String',
70
70
  :'type' => :'String',
71
- :'event_ts' => :'Integer',
71
+ :'event_ts' => :'Float',
72
72
  :'payload' => :'RecordingReadyToDownloadPayload'
73
73
  }
74
74
  end
@@ -123,7 +123,7 @@ module Daily
123
123
  # @return true if the model is valid
124
124
  def valid?
125
125
  warn '[DEPRECATED] the `valid?` method is obsolete'
126
- type_validator = EnumAttributeValidator.new('String', ["recording.ready-to-download"])
126
+ type_validator = EnumAttributeValidator.new('String', ["recording.ready-to-download", "unknown_default_open_api"])
127
127
  return false unless type_validator.valid?(@type)
128
128
  true
129
129
  end
@@ -131,7 +131,7 @@ module Daily
131
131
  # Custom attribute writer method checking allowed values (enum).
132
132
  # @param [Object] type Object to be assigned
133
133
  def type=(type)
134
- validator = EnumAttributeValidator.new('String', ["recording.ready-to-download"])
134
+ validator = EnumAttributeValidator.new('String', ["recording.ready-to-download", "unknown_default_open_api"])
135
135
  unless validator.valid?(type)
136
136
  fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
137
137
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.1.1
7
7
  Contact: help@daily.co
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.3.0
9
+ Generator version: 7.8.0
10
10
 
11
11
  =end
12
12
 
@@ -172,9 +172,9 @@ module Daily
172
172
  # @return true if the model is valid
173
173
  def valid?
174
174
  warn '[DEPRECATED] the `valid?` method is obsolete'
175
- type_validator = EnumAttributeValidator.new('String', ["cloud", "raw-tracks"])
175
+ type_validator = EnumAttributeValidator.new('String', ["cloud", "raw-tracks", "unknown_default_open_api"])
176
176
  return false unless type_validator.valid?(@type)
177
- status_validator = EnumAttributeValidator.new('String', ["finished"])
177
+ status_validator = EnumAttributeValidator.new('String', ["finished", "unknown_default_open_api"])
178
178
  return false unless status_validator.valid?(@status)
179
179
  true
180
180
  end
@@ -182,7 +182,7 @@ module Daily
182
182
  # Custom attribute writer method checking allowed values (enum).
183
183
  # @param [Object] type Object to be assigned
184
184
  def type=(type)
185
- validator = EnumAttributeValidator.new('String', ["cloud", "raw-tracks"])
185
+ validator = EnumAttributeValidator.new('String', ["cloud", "raw-tracks", "unknown_default_open_api"])
186
186
  unless validator.valid?(type)
187
187
  fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
188
188
  end
@@ -192,7 +192,7 @@ module Daily
192
192
  # Custom attribute writer method checking allowed values (enum).
193
193
  # @param [Object] status Object to be assigned
194
194
  def status=(status)
195
- validator = EnumAttributeValidator.new('String', ["finished"])
195
+ validator = EnumAttributeValidator.new('String', ["finished", "unknown_default_open_api"])
196
196
  unless validator.valid?(status)
197
197
  fail ArgumentError, "invalid value for \"status\", must be one of #{validator.allowable_values}."
198
198
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.1.1
7
7
  Contact: help@daily.co
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.3.0
9
+ Generator version: 7.8.0
10
10
 
11
11
  =end
12
12
 
@@ -68,7 +68,7 @@ module Daily
68
68
  {
69
69
  :'version' => :'String',
70
70
  :'type' => :'String',
71
- :'event_ts' => :'Integer',
71
+ :'event_ts' => :'Float',
72
72
  :'payload' => :'RecordingStartedPayload'
73
73
  }
74
74
  end
@@ -123,7 +123,7 @@ module Daily
123
123
  # @return true if the model is valid
124
124
  def valid?
125
125
  warn '[DEPRECATED] the `valid?` method is obsolete'
126
- type_validator = EnumAttributeValidator.new('String', ["recording.started"])
126
+ type_validator = EnumAttributeValidator.new('String', ["recording.started", "unknown_default_open_api"])
127
127
  return false unless type_validator.valid?(@type)
128
128
  true
129
129
  end
@@ -131,7 +131,7 @@ module Daily
131
131
  # Custom attribute writer method checking allowed values (enum).
132
132
  # @param [Object] type Object to be assigned
133
133
  def type=(type)
134
- validator = EnumAttributeValidator.new('String', ["recording.started"])
134
+ validator = EnumAttributeValidator.new('String', ["recording.started", "unknown_default_open_api"])
135
135
  unless validator.valid?(type)
136
136
  fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
137
137
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.1.1
7
7
  Contact: help@daily.co
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.3.0
9
+ Generator version: 7.8.0
10
10
 
11
11
  =end
12
12
 
@@ -142,7 +142,7 @@ module Daily
142
142
  # @return true if the model is valid
143
143
  def valid?
144
144
  warn '[DEPRECATED] the `valid?` method is obsolete'
145
- action_validator = EnumAttributeValidator.new('String', ["start-cloud-recording"])
145
+ action_validator = EnumAttributeValidator.new('String', ["start-cloud-recording", "unknown_default_open_api"])
146
146
  return false unless action_validator.valid?(@action)
147
147
  true
148
148
  end
@@ -150,7 +150,7 @@ module Daily
150
150
  # Custom attribute writer method checking allowed values (enum).
151
151
  # @param [Object] action Object to be assigned
152
152
  def action=(action)
153
- validator = EnumAttributeValidator.new('String', ["start-cloud-recording"])
153
+ validator = EnumAttributeValidator.new('String', ["start-cloud-recording", "unknown_default_open_api"])
154
154
  unless validator.valid?(action)
155
155
  fail ArgumentError, "invalid value for \"action\", must be one of #{validator.allowable_values}."
156
156
  end