daily-ruby 0.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/Gemfile.lock +79 -0
  4. data/README.md +119 -0
  5. data/Rakefile +10 -0
  6. data/daily-ruby.gemspec +40 -0
  7. data/daily.yaml +422 -0
  8. data/docs/CreateMeetingToken200Response.md +18 -0
  9. data/docs/MeetingTokenRequest.md +18 -0
  10. data/docs/MeetingTokenRequestProperties.md +56 -0
  11. data/docs/MeetingTokenRequestPropertiesPermissions.md +22 -0
  12. data/docs/MeetingTokenRequestPropertiesPermissionsCanAdmin.md +49 -0
  13. data/docs/MeetingTokenRequestPropertiesPermissionsCanSend.md +49 -0
  14. data/docs/MeetingTokensApi.md +79 -0
  15. data/docs/RoomApi.md +227 -0
  16. data/docs/RoomDeletedResponse.md +20 -0
  17. data/docs/RoomNotFoundResponse.md +20 -0
  18. data/docs/RoomRequest.md +22 -0
  19. data/docs/RoomRequestProperties.md +76 -0
  20. data/docs/RoomResponse.md +28 -0
  21. data/docs/ServerErrorResponse.md +18 -0
  22. data/git_push.sh +57 -0
  23. data/lib/daily-ruby/api/meeting_tokens_api.rb +86 -0
  24. data/lib/daily-ruby/api/room_api.rb +218 -0
  25. data/lib/daily-ruby/api_client.rb +431 -0
  26. data/lib/daily-ruby/api_error.rb +58 -0
  27. data/lib/daily-ruby/configuration.rb +382 -0
  28. data/lib/daily-ruby/models/create_meeting_token200_response.rb +214 -0
  29. data/lib/daily-ruby/models/meeting_token_request.rb +215 -0
  30. data/lib/daily-ruby/models/meeting_token_request_properties.rb +438 -0
  31. data/lib/daily-ruby/models/meeting_token_request_properties_permissions.rb +232 -0
  32. data/lib/daily-ruby/models/meeting_token_request_properties_permissions_can_admin.rb +105 -0
  33. data/lib/daily-ruby/models/meeting_token_request_properties_permissions_can_send.rb +105 -0
  34. data/lib/daily-ruby/models/room_deleted_response.rb +224 -0
  35. data/lib/daily-ruby/models/room_not_found_response.rb +224 -0
  36. data/lib/daily-ruby/models/room_request.rb +267 -0
  37. data/lib/daily-ruby/models/room_request_properties.rb +521 -0
  38. data/lib/daily-ruby/models/room_response.rb +260 -0
  39. data/lib/daily-ruby/models/server_error_response.rb +215 -0
  40. data/lib/daily-ruby/version.rb +15 -0
  41. data/lib/daily-ruby.rb +53 -0
  42. data/run.sh +16 -0
  43. data/script.rb +35 -0
  44. data/spec/api/meeting_tokens_api_spec.rb +47 -0
  45. data/spec/api/room_api_spec.rb +74 -0
  46. data/spec/models/create_meeting_token200_response_spec.rb +36 -0
  47. data/spec/models/meeting_token_request_properties_permissions_can_admin_spec.rb +32 -0
  48. data/spec/models/meeting_token_request_properties_permissions_can_send_spec.rb +32 -0
  49. data/spec/models/meeting_token_request_properties_permissions_spec.rb +48 -0
  50. data/spec/models/meeting_token_request_properties_spec.rb +158 -0
  51. data/spec/models/meeting_token_request_spec.rb +36 -0
  52. data/spec/models/room_deleted_response_spec.rb +42 -0
  53. data/spec/models/room_not_found_response_spec.rb +42 -0
  54. data/spec/models/room_request_properties_spec.rb +218 -0
  55. data/spec/models/room_request_spec.rb +52 -0
  56. data/spec/models/room_response_spec.rb +66 -0
  57. data/spec/models/server_error_response_spec.rb +36 -0
  58. data/spec/spec_helper.rb +111 -0
  59. metadata +169 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 30036a3624f0289448341cf3a930b890d59d766d2d303835d84a632b2bfb101f
4
+ data.tar.gz: 80857b3b53296d8b74ff56d927341e30a45db4d32211e94b7370df9df9989d87
5
+ SHA512:
6
+ metadata.gz: e9b12da014cc46e6679eed93fc8d7551c3a7f9b24e485df1475070664f5f8e16d44c338a4970bfeacb60e7988df093d0cf42f3c69675d082cc580018e080c40a
7
+ data.tar.gz: 64c2f0fbc381cf0ca39919e39bc301830a2c0378593e166bcd329b9488babcf01c680ec0baed6fbaa734bf3f2245ae35fe27aa574c3e3b3756324b7779bf466c
data/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
4
+
5
+ group :development, :test do
6
+ gem 'rake', '~> 13.0.1'
7
+ gem 'pry-byebug'
8
+ gem 'rubocop', '~> 0.66.0'
9
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,79 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ daily-ruby (0.0.0)
5
+ faraday (>= 1.0.1, < 3.0)
6
+ faraday-multipart
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ ast (2.4.2)
12
+ byebug (11.1.3)
13
+ coderay (1.1.3)
14
+ diff-lcs (1.5.1)
15
+ faraday (2.9.0)
16
+ faraday-net_http (>= 2.0, < 3.2)
17
+ faraday-multipart (1.0.4)
18
+ multipart-post (~> 2)
19
+ faraday-net_http (3.1.0)
20
+ net-http
21
+ jaro_winkler (1.5.6)
22
+ method_source (1.0.0)
23
+ multipart-post (2.4.0)
24
+ net-http (0.4.1)
25
+ uri
26
+ parallel (1.24.0)
27
+ parser (3.3.0.5)
28
+ ast (~> 2.4.1)
29
+ racc
30
+ pry (0.14.2)
31
+ coderay (~> 1.1)
32
+ method_source (~> 1.0)
33
+ pry-byebug (3.10.1)
34
+ byebug (~> 11.0)
35
+ pry (>= 0.13, < 0.15)
36
+ psych (5.1.2)
37
+ stringio
38
+ racc (1.7.3)
39
+ rainbow (3.1.1)
40
+ rake (13.0.6)
41
+ rspec (3.13.0)
42
+ rspec-core (~> 3.13.0)
43
+ rspec-expectations (~> 3.13.0)
44
+ rspec-mocks (~> 3.13.0)
45
+ rspec-core (3.13.0)
46
+ rspec-support (~> 3.13.0)
47
+ rspec-expectations (3.13.0)
48
+ diff-lcs (>= 1.2.0, < 2.0)
49
+ rspec-support (~> 3.13.0)
50
+ rspec-mocks (3.13.0)
51
+ diff-lcs (>= 1.2.0, < 2.0)
52
+ rspec-support (~> 3.13.0)
53
+ rspec-support (3.13.0)
54
+ rubocop (0.66.0)
55
+ jaro_winkler (~> 1.5.1)
56
+ parallel (~> 1.10)
57
+ parser (>= 2.5, != 2.5.1.1)
58
+ psych (>= 3.1.0)
59
+ rainbow (>= 2.2.2, < 4.0)
60
+ ruby-progressbar (~> 1.7)
61
+ unicode-display_width (>= 1.4.0, < 1.6)
62
+ ruby-progressbar (1.13.0)
63
+ stringio (3.1.0)
64
+ unicode-display_width (1.5.0)
65
+ uri (0.13.0)
66
+
67
+ PLATFORMS
68
+ arm64-darwin-23
69
+ ruby
70
+
71
+ DEPENDENCIES
72
+ daily-ruby!
73
+ pry-byebug
74
+ rake (~> 13.0.1)
75
+ rspec (~> 3.6, >= 3.6.0)
76
+ rubocop (~> 0.66.0)
77
+
78
+ BUNDLED WITH
79
+ 2.5.3
data/README.md ADDED
@@ -0,0 +1,119 @@
1
+ # daily-ruby
2
+
3
+ Daily - the Ruby gem for the Daily
4
+
5
+ The official library for communicating with the Daily REST API.
6
+
7
+ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
+
9
+ - API version: 0.0.0
10
+ - Package version: 0.0.0
11
+ - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
+
13
+ ## Installation
14
+
15
+ ### Build a gem
16
+
17
+ To build the Ruby code into a gem:
18
+
19
+ ```shell
20
+ gem build daily-ruby.gemspec
21
+ ```
22
+
23
+ Then either install the gem locally:
24
+
25
+ ```shell
26
+ gem install ./daily-ruby-0.0.0.gem
27
+ ```
28
+
29
+ (for development, run `gem install --dev ./daily-ruby-0.0.0.gem` to install the development dependencies)
30
+
31
+ or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
+
33
+ Finally add this to the Gemfile:
34
+
35
+ gem 'daily-ruby', '~> 0.0.0'
36
+
37
+ ### Install from Git
38
+
39
+ If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
40
+
41
+ gem 'daily-ruby', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
42
+
43
+ ### Include the Ruby code directly
44
+
45
+ Include the Ruby code directly using `-I` as follows:
46
+
47
+ ```shell
48
+ ruby -Ilib script.rb
49
+ ```
50
+
51
+ ## Getting Started
52
+
53
+ Please follow the [installation](#installation) procedure and then run the following code:
54
+
55
+ ```ruby
56
+ # Load the gem
57
+ require 'daily-ruby'
58
+
59
+ # Setup authorization
60
+ Daily.configure do |config|
61
+ # Configure Bearer authorization: bearerAuth
62
+ config.access_token = 'YOUR_BEARER_TOKEN'
63
+ # Configure a proc to get access tokens in lieu of the static access_token configuration
64
+ config.access_token_getter = -> { 'YOUR TOKEN GETTER PROC' }
65
+ # Configure faraday connection
66
+ config.configure_faraday_connection { |connection| 'YOUR CONNECTION CONFIG PROC' }
67
+ end
68
+
69
+ api_instance = Daily::MeetingTokensApi.new
70
+ opts = {
71
+ meeting_token_request: Daily::MeetingTokenRequest.new # MeetingTokenRequest | A room object
72
+ }
73
+
74
+ begin
75
+ #Creates a meeting token
76
+ result = api_instance.create_meeting_token(opts)
77
+ p result
78
+ rescue Daily::ApiError => e
79
+ puts "Exception when calling MeetingTokensApi->create_meeting_token: #{e}"
80
+ end
81
+
82
+ ```
83
+
84
+ ## Documentation for API Endpoints
85
+
86
+ All URIs are relative to *https://api.daily.co/v1*
87
+
88
+ Class | Method | HTTP request | Description
89
+ ------------ | ------------- | ------------- | -------------
90
+ *Daily::MeetingTokensApi* | [**create_meeting_token**](docs/MeetingTokensApi.md#create_meeting_token) | **POST** /meeting-tokens | Creates a meeting token
91
+ *Daily::RoomApi* | [**create_room**](docs/RoomApi.md#create_room) | **POST** /rooms | Create a new room
92
+ *Daily::RoomApi* | [**delete_room**](docs/RoomApi.md#delete_room) | **DELETE** /rooms/{name} | Delete room
93
+ *Daily::RoomApi* | [**get_rooms**](docs/RoomApi.md#get_rooms) | **GET** /rooms | Get a list rooms
94
+
95
+
96
+ ## Documentation for Models
97
+
98
+ - [Daily::CreateMeetingToken200Response](docs/CreateMeetingToken200Response.md)
99
+ - [Daily::MeetingTokenRequest](docs/MeetingTokenRequest.md)
100
+ - [Daily::MeetingTokenRequestProperties](docs/MeetingTokenRequestProperties.md)
101
+ - [Daily::MeetingTokenRequestPropertiesPermissions](docs/MeetingTokenRequestPropertiesPermissions.md)
102
+ - [Daily::MeetingTokenRequestPropertiesPermissionsCanAdmin](docs/MeetingTokenRequestPropertiesPermissionsCanAdmin.md)
103
+ - [Daily::MeetingTokenRequestPropertiesPermissionsCanSend](docs/MeetingTokenRequestPropertiesPermissionsCanSend.md)
104
+ - [Daily::RoomDeletedResponse](docs/RoomDeletedResponse.md)
105
+ - [Daily::RoomNotFoundResponse](docs/RoomNotFoundResponse.md)
106
+ - [Daily::RoomRequest](docs/RoomRequest.md)
107
+ - [Daily::RoomRequestProperties](docs/RoomRequestProperties.md)
108
+ - [Daily::RoomResponse](docs/RoomResponse.md)
109
+ - [Daily::ServerErrorResponse](docs/ServerErrorResponse.md)
110
+
111
+
112
+ ## Documentation for Authorization
113
+
114
+
115
+ Authentication schemes defined for the API:
116
+ ### bearerAuth
117
+
118
+ - **Type**: Bearer authentication
119
+
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+
3
+ begin
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+ task default: :spec
8
+ rescue LoadError
9
+ # no rspec available
10
+ end
@@ -0,0 +1,40 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ =begin
4
+ #Daily
5
+
6
+ #The official library for communicating with the Daily REST API.
7
+
8
+ The version of the OpenAPI document: 0.0.0
9
+
10
+ Generated by: https://openapi-generator.tech
11
+ OpenAPI Generator version: 7.3.0
12
+
13
+ =end
14
+
15
+ $:.push File.expand_path("../lib", __FILE__)
16
+ require "daily-ruby/version"
17
+
18
+ Gem::Specification.new do |s|
19
+ s.name = "daily-ruby"
20
+ s.version = Daily::VERSION
21
+ s.platform = Gem::Platform::RUBY
22
+ s.authors = ["Daily"]
23
+ s.email = ["help@daily.co"]
24
+ s.homepage = "https://www.github.com/daily-co/daily-ruby"
25
+ s.summary = "The official Daily API Ruby client"
26
+ s.description = "The official Daily API Ruby client"
27
+ s.license = "MIT"
28
+ s.required_ruby_version = ">= 2.7"
29
+ s.metadata = {}
30
+
31
+ s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 3.0'
32
+ s.add_runtime_dependency 'faraday-multipart'
33
+
34
+ s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
35
+
36
+ s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
37
+ s.test_files = `find spec/*`.split("\n")
38
+ s.executables = []
39
+ s.require_paths = ["lib"]
40
+ end
data/daily.yaml ADDED
@@ -0,0 +1,422 @@
1
+ openapi: 3.0.0
2
+ servers:
3
+ - url: "https://api.daily.co/v1"
4
+ info:
5
+ description: >-
6
+ The official library for communicating with the Daily REST API.
7
+ version: 0.0.0
8
+ title: Daily
9
+ license:
10
+ name: Apache-2.0
11
+ url: "https://www.apache.org/licenses/LICENSE-2.0.html"
12
+ tags:
13
+ - name: room
14
+ description: A Daily meeting room
15
+ paths:
16
+ /rooms:
17
+ post:
18
+ tags:
19
+ - room
20
+ summary: Create a new room
21
+ description: "A POST request to /rooms creates a new room."
22
+ operationId: createRoom
23
+ responses:
24
+ "200":
25
+ description: successful operation
26
+ content:
27
+ application/json:
28
+ schema:
29
+ $ref: "#/components/schemas/RoomResponse"
30
+ "400":
31
+ $ref: "#/components/responses/InvalidRequest"
32
+ "401":
33
+ $ref: "#/components/responses/UnauthorizedError"
34
+ "405":
35
+ description: Invalid input
36
+ "429":
37
+ $ref: "#/components/responses/TooManyRequestsError"
38
+ security:
39
+ - bearerAuth: []
40
+ requestBody:
41
+ $ref: "#/components/requestBodies/RoomRequest"
42
+ get:
43
+ tags:
44
+ - room
45
+ summary: Get a list rooms
46
+ description: "A GET request to /rooms returns a list of rooms."
47
+ operationId: getRooms
48
+ parameters:
49
+ - in: query
50
+ name: offset
51
+ description: The number of items to skip before starting to collect the result set.
52
+ schema:
53
+ type: integer
54
+ - in: query
55
+ name: limit
56
+ description: The numbers of items to return.
57
+ schema:
58
+ type: integer
59
+ - in: query
60
+ name: ending_before
61
+ description: A cursor for use in pagination. ending_before is an object ID that defines your place in the list.
62
+ schema:
63
+ type: string
64
+ - in: query
65
+ name: starting_after
66
+ description: A cursor for use in pagination. starting_after is an object ID that defines your place in the list.
67
+ schema:
68
+ type: string
69
+ responses:
70
+ "200":
71
+ description: successful operation
72
+ content:
73
+ application/json:
74
+ schema:
75
+ type: array
76
+ items:
77
+ $ref: "#/components/schemas/RoomResponse"
78
+ "400":
79
+ $ref: "#/components/responses/InvalidRequest"
80
+ "401":
81
+ $ref: "#/components/responses/UnauthorizedError"
82
+ "405":
83
+ description: Invalid input
84
+ "429":
85
+ $ref: "#/components/responses/TooManyRequestsError"
86
+ security:
87
+ - bearerAuth: []
88
+ "/rooms/{name}":
89
+ delete:
90
+ tags:
91
+ - room
92
+ summary: Delete room
93
+ description: Delete a Daily room.
94
+ operationId: deleteRoom
95
+ parameters:
96
+ - name: name
97
+ in: path
98
+ description: The room name that needs to be deleted
99
+ required: true
100
+ schema:
101
+ type: string
102
+ responses:
103
+ "200":
104
+ description: Room deleted successfully
105
+ content:
106
+ application/json:
107
+ schema:
108
+ title: Room deleted response
109
+ description: Room deleted response
110
+ type: object
111
+ properties:
112
+ name:
113
+ type: string
114
+ deleted:
115
+ type: boolean
116
+ "404":
117
+ description: Room not found
118
+ content:
119
+ application/json:
120
+ schema:
121
+ title: Room not found response
122
+ description: Room not found response
123
+ type: object
124
+ properties:
125
+ error:
126
+ type: string
127
+ info:
128
+ type: string
129
+ "429":
130
+ $ref: "#/components/responses/TooManyRequestsError"
131
+ "500":
132
+ description: Server error
133
+ content:
134
+ application/json:
135
+ schema:
136
+ title: Server error response
137
+ description: Server error response
138
+ type: object
139
+ properties:
140
+ error:
141
+ type: string
142
+
143
+ security:
144
+ - bearerAuth: []
145
+ /meeting-tokens:
146
+ post:
147
+ tags:
148
+ - meeting-tokens
149
+ summary: Creates a meeting token
150
+ description: "A POST request to /meeting-tokens creates a new meeting token."
151
+ operationId: createMeetingToken
152
+ responses:
153
+ "200":
154
+ description: successful operation
155
+ content:
156
+ application/json:
157
+ schema:
158
+ type: object
159
+ properties:
160
+ token:
161
+ type: string
162
+ format: jwt
163
+ "400":
164
+ $ref: "#/components/responses/InvalidRequest"
165
+ "401":
166
+ $ref: "#/components/responses/UnauthorizedError"
167
+ "405":
168
+ description: Invalid input
169
+ "429":
170
+ $ref: "#/components/responses/TooManyRequestsError"
171
+ "500":
172
+ description: Server error
173
+ content:
174
+ application/json:
175
+ schema:
176
+ title: Server error response
177
+ description: Server error response
178
+ type: object
179
+ properties:
180
+ error:
181
+ type: string
182
+ security:
183
+ - bearerAuth: []
184
+ requestBody:
185
+ $ref: "#/components/requestBodies/MeetingTokenRequest"
186
+
187
+ externalDocs:
188
+ description: Find out more about Daily
189
+ url: "https://docs.daily.co/reference"
190
+ components:
191
+ requestBodies:
192
+ RoomRequest:
193
+ content:
194
+ application/json:
195
+ schema:
196
+ $ref: "#/components/schemas/RoomRequest"
197
+ description: A room object
198
+ MeetingTokenRequest:
199
+ content:
200
+ application/json:
201
+ schema:
202
+ $ref: "#/components/schemas/MeetingTokenRequest"
203
+ description: A room object
204
+ securitySchemes:
205
+ bearerAuth:
206
+ type: http
207
+ scheme: bearer
208
+ schemas:
209
+ RoomResponse:
210
+ title: Room response object
211
+ description: A Room where a Daily call is hosted.
212
+ type: object
213
+ properties:
214
+ id:
215
+ type: string
216
+ format: uuidv2
217
+ name:
218
+ type: string
219
+ api_created:
220
+ type: boolean
221
+ privacy:
222
+ type: string
223
+ url:
224
+ type: string
225
+ format: url
226
+ created_at:
227
+ type: string
228
+ format: date-time
229
+ RoomRequest:
230
+ title: Room request object
231
+ description: A Room where a Daily call is hosted.
232
+ type: object
233
+ properties:
234
+ name:
235
+ type: string
236
+ privacy:
237
+ type: string
238
+ enum:
239
+ - private
240
+ - public
241
+ properties: # Daily.co properties
242
+ type: object
243
+ properties:
244
+ nbf:
245
+ type: integer
246
+ exp:
247
+ type: integer
248
+ max_participants:
249
+ type: integer
250
+ enable_people_ui:
251
+ type: boolean
252
+ enable_pip_ui:
253
+ type: boolean
254
+ enable_emoji_reactions:
255
+ type: boolean
256
+ enable_hand_raising:
257
+ type: boolean
258
+ enable_prejoin_ui:
259
+ type: boolean
260
+ enable_live_captions_ui:
261
+ type: boolean
262
+ enable_network_ui:
263
+ type: boolean
264
+ enable_noise_cancellation_ui:
265
+ type: boolean
266
+ enable_breakout_rooms:
267
+ type: boolean
268
+ enable_knocking:
269
+ type: boolean
270
+ enable_screenshare:
271
+ type: boolean
272
+ enable_video_processing_ui:
273
+ type: boolean
274
+ enable_chat:
275
+ type: boolean
276
+ start_video_off:
277
+ type: boolean
278
+ start_audio_off:
279
+ type: boolean
280
+ owner_only_broadcast:
281
+ type: boolean
282
+ enable_recording:
283
+ type: string
284
+ enum:
285
+ - local
286
+ - cloud
287
+ - raw-tracks
288
+ eject_at_room_exp:
289
+ type: boolean
290
+ eject_after_elapsed:
291
+ type: boolean
292
+ enable_advanced_chat:
293
+ type: boolean
294
+ enable_hidden_participants:
295
+ type: boolean
296
+ enable_mesh_sfu:
297
+ type: boolean
298
+ sfu_switchover:
299
+ type: number
300
+ experimental_optimize_large_calls:
301
+ type: boolean
302
+ lang:
303
+ type: string
304
+ enum:
305
+ - "de"
306
+ - "en"
307
+ - "es"
308
+ - "fi"
309
+ - "fr"
310
+ - "it"
311
+ - "jp"
312
+ - "ka"
313
+ - "nl"
314
+ - "no"
315
+ - "pt"
316
+ - "pt-BR"
317
+ - "pl"
318
+ - "ru"
319
+ - "sv"
320
+ - "tr"
321
+ - "user"
322
+ meeting_join_hook:
323
+ type: string
324
+ geo:
325
+ type: string
326
+ MeetingTokenRequest:
327
+ title: Meeting token request
328
+ description: Meeting token request
329
+ type: object
330
+ properties:
331
+ properties:
332
+ type: object
333
+ properties:
334
+ room_name:
335
+ type: string
336
+ eject_at_token_exp:
337
+ type: boolean
338
+ nbf:
339
+ type: integer
340
+ exp:
341
+ type: integer
342
+ is_owner:
343
+ type: boolean
344
+ user_name:
345
+ type: string
346
+ user_id:
347
+ type: string
348
+ enable_screenshare:
349
+ type: boolean
350
+ start_video_off:
351
+ type: boolean
352
+ start_audio_off:
353
+ type: boolean
354
+ enable_recording:
355
+ type: string
356
+ enum:
357
+ - local
358
+ - cloud
359
+ - raw-tracks
360
+ enable_prejoin_ui:
361
+ type: boolean
362
+ enable_live_captions_ui:
363
+ type: boolean
364
+ enable_recording_ui:
365
+ type: boolean
366
+ enable_terse_logging:
367
+ type: boolean
368
+ auto_start_transcription:
369
+ type: boolean
370
+ close_tab_on_exit:
371
+ type: boolean
372
+ redirect_on_meeting_exit:
373
+ type: string
374
+ lang:
375
+ type: string
376
+ enum:
377
+ - "de"
378
+ - "en"
379
+ - "es"
380
+ - "fi"
381
+ - "fr"
382
+ - "it"
383
+ - "jp"
384
+ - "ka"
385
+ - "nl"
386
+ - "no"
387
+ - "pt"
388
+ - "pt-BR"
389
+ - "pl"
390
+ - "ru"
391
+ - "sv"
392
+ - "tr"
393
+ - "user"
394
+ permissions:
395
+ type: object
396
+ properties:
397
+ has_presence:
398
+ type: boolean
399
+ can_send:
400
+ oneOf:
401
+ - type: array
402
+ items:
403
+ type: string
404
+ enum: ["video", "audio", "screenVideo", "screenAudio"]
405
+ - type: boolean
406
+ can_admin:
407
+ oneOf:
408
+ - type: array
409
+ items:
410
+ type: string
411
+ enum: ["participants", "streaming", "transcription"]
412
+ - type: boolean
413
+ required:
414
+ - room_name
415
+
416
+ responses:
417
+ UnauthorizedError:
418
+ description: Access token is missing or invalid
419
+ TooManyRequestsError:
420
+ description: Too many requests
421
+ InvalidRequest:
422
+ description: Invalid request
@@ -0,0 +1,18 @@
1
+ # Daily::CreateMeetingToken200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **token** | **String** | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'daily-ruby'
13
+
14
+ instance = Daily::CreateMeetingToken200Response.new(
15
+ token: null
16
+ )
17
+ ```
18
+