daily-ruby 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +18 -16
- data/LICENSE.txt +24 -0
- data/README.md +4 -4
- data/daily-ruby-1.0.2.gem +0 -0
- data/docs/GetRecordingInfo200Response.md +2 -2
- data/docs/GetRecordingInfo200ResponseTracksInner.md +2 -3
- data/docs/GetTranscriptInfo200ResponseOutParams.md +2 -2
- data/docs/ListRecordings200ResponseDataInner.md +2 -2
- data/example.rb +23 -0
- data/lib/daily-ruby/version.rb +1 -1
- data/pkg/daily-ruby-1.0.3.gem +0 -0
- data/run.sh +1 -1
- data/spec/models/get_recording_info200_response_spec.rb +1 -1
- data/spec/models/get_recording_info200_response_tracks_inner_spec.rb +1 -1
- data/spec/models/get_transcript_info200_response_out_params_spec.rb +1 -1
- data/spec/models/list_recordings200_response_data_inner_spec.rb +1 -1
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75ecf2053093dc68a48ba9ac7e34244e9f844c8100817fec08834904cf7049d0
|
4
|
+
data.tar.gz: 628586fe96ddde95de16bc86cda38713822aa503214ed08ae711771b8fcb1979
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee9a7940632922ead937929dba36f9b924dcf2e7d25584aaeedff74a5415cd1b8964f827edfaa087a8fed78b3582ee3294446c7ee7f3c30418b8609bb248cb53
|
7
|
+
data.tar.gz: 8cdaf08c81d6afcd0e52466138cc25319843920e850364793c10a7410720658b68fe301d2b06466af56752fcb153874b194b37379e9167c37e1419a071abd3bf
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
daily-ruby (1.0.
|
4
|
+
daily-ruby (1.0.3)
|
5
5
|
faraday (>= 1.0.1, < 3.0)
|
6
6
|
faraday-multipart
|
7
7
|
marcel
|
@@ -11,19 +11,21 @@ GEM
|
|
11
11
|
specs:
|
12
12
|
byebug (11.1.3)
|
13
13
|
coderay (1.1.3)
|
14
|
-
diff-lcs (1.
|
15
|
-
faraday (2.
|
16
|
-
faraday-net_http (>= 2.0, < 3.
|
14
|
+
diff-lcs (1.6.1)
|
15
|
+
faraday (2.13.0)
|
16
|
+
faraday-net_http (>= 2.0, < 3.5)
|
17
|
+
json
|
17
18
|
logger
|
18
|
-
faraday-multipart (1.0
|
19
|
-
multipart-post (~> 2)
|
20
|
-
faraday-net_http (3.
|
21
|
-
net-http
|
22
|
-
|
19
|
+
faraday-multipart (1.1.0)
|
20
|
+
multipart-post (~> 2.0)
|
21
|
+
faraday-net_http (3.4.0)
|
22
|
+
net-http (>= 0.5.0)
|
23
|
+
json (2.10.2)
|
24
|
+
logger (1.7.0)
|
23
25
|
marcel (1.0.4)
|
24
26
|
method_source (1.0.0)
|
25
|
-
multipart-post (2.4.
|
26
|
-
net-http (0.
|
27
|
+
multipart-post (2.4.1)
|
28
|
+
net-http (0.6.0)
|
27
29
|
uri
|
28
30
|
pry (0.14.2)
|
29
31
|
coderay (~> 1.1)
|
@@ -36,16 +38,16 @@ GEM
|
|
36
38
|
rspec-core (~> 3.13.0)
|
37
39
|
rspec-expectations (~> 3.13.0)
|
38
40
|
rspec-mocks (~> 3.13.0)
|
39
|
-
rspec-core (3.13.
|
41
|
+
rspec-core (3.13.3)
|
40
42
|
rspec-support (~> 3.13.0)
|
41
|
-
rspec-expectations (3.13.
|
43
|
+
rspec-expectations (3.13.3)
|
42
44
|
diff-lcs (>= 1.2.0, < 2.0)
|
43
45
|
rspec-support (~> 3.13.0)
|
44
|
-
rspec-mocks (3.13.
|
46
|
+
rspec-mocks (3.13.2)
|
45
47
|
diff-lcs (>= 1.2.0, < 2.0)
|
46
48
|
rspec-support (~> 3.13.0)
|
47
|
-
rspec-support (3.13.
|
48
|
-
uri (0.
|
49
|
+
rspec-support (3.13.2)
|
50
|
+
uri (1.0.3)
|
49
51
|
|
50
52
|
PLATFORMS
|
51
53
|
arm64-darwin-23
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
BSD 2-Clause License
|
2
|
+
|
3
|
+
Copyright (c) 2024–2025, Daily
|
4
|
+
|
5
|
+
Redistribution and use in source and binary forms, with or without
|
6
|
+
modification, are permitted provided that the following conditions are met:
|
7
|
+
|
8
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
9
|
+
list of conditions and the following disclaimer.
|
10
|
+
|
11
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
12
|
+
this list of conditions and the following disclaimer in the documentation
|
13
|
+
and/or other materials provided with the distribution.
|
14
|
+
|
15
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
16
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
17
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
18
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
19
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
20
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
21
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
22
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
23
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
24
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
data/README.md
CHANGED
@@ -17,7 +17,7 @@ Please reach out to help@daily.co if we can help with anything
|
|
17
17
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
18
18
|
|
19
19
|
- API version: 1.1.1
|
20
|
-
- Package version: 1.0.
|
20
|
+
- Package version: 1.0.3
|
21
21
|
- Generator version: 7.8.0
|
22
22
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
23
23
|
For more information, please visit [https://docs.daily.co](https://docs.daily.co)
|
@@ -35,16 +35,16 @@ gem build daily-ruby.gemspec
|
|
35
35
|
Then either install the gem locally:
|
36
36
|
|
37
37
|
```shell
|
38
|
-
gem install ./daily-ruby-1.0.
|
38
|
+
gem install ./daily-ruby-1.0.3.gem
|
39
39
|
```
|
40
40
|
|
41
|
-
(for development, run `gem install --dev ./daily-ruby-1.0.
|
41
|
+
(for development, run `gem install --dev ./daily-ruby-1.0.3.gem` to install the development dependencies)
|
42
42
|
|
43
43
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
44
44
|
|
45
45
|
Finally add this to the Gemfile:
|
46
46
|
|
47
|
-
gem 'daily-ruby', '~> 1.0.
|
47
|
+
gem 'daily-ruby', '~> 1.0.3'
|
48
48
|
|
49
49
|
### Install from Git
|
50
50
|
|
Binary file
|
@@ -11,7 +11,7 @@
|
|
11
11
|
| **max_participants** | **Integer** | The maximum number of participants that were ever in this room together during the meeting session that was recorded. | [optional] |
|
12
12
|
| **duration** | **Integer** | How many seconds long the recording is, approximately. This property is not returned for recordings that are in-progress. | [optional] |
|
13
13
|
| **share_token** | **String** | Deprecated. | [optional] |
|
14
|
-
| **
|
14
|
+
| **s3Key** | **String** | The S3 Key associated with this recording. | [optional] |
|
15
15
|
| **mtg_session_id** | **String** | The meeting session ID for this recording. | [optional] |
|
16
16
|
| **tracks** | [**Array<GetRecordingInfo200ResponseTracksInner>**](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] |
|
17
17
|
|
@@ -28,7 +28,7 @@ instance = Daily::GetRecordingInfo200Response.new(
|
|
28
28
|
max_participants: 2,
|
29
29
|
duration: 277,
|
30
30
|
share_token: TivXjlD22QQt,
|
31
|
-
|
31
|
+
s3Key: mydomain/test-recording-room/11245260397,
|
32
32
|
mtg_session_id: 257764e6-c74e-4c30-944a-a887a03173a3,
|
33
33
|
tracks: null
|
34
34
|
)
|
@@ -6,8 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **size** | **Integer** | The size of the file. | [optional] |
|
8
8
|
| **type** | **String** | The type of track file, audio or video. | [optional] |
|
9
|
-
| **
|
10
|
-
|
9
|
+
| **s3Key** | **String** | The S3 Key associated with this particular track file. | [optional] |
|
11
10
|
## Example
|
12
11
|
|
13
12
|
```ruby
|
@@ -16,7 +15,7 @@ require 'daily-ruby'
|
|
16
15
|
instance = Daily::GetRecordingInfo200ResponseTracksInner.new(
|
17
16
|
size: 15620,
|
18
17
|
type: audio,
|
19
|
-
|
18
|
+
s3Key: mydomain/test-recording-room/11245260397-audio
|
20
19
|
)
|
21
20
|
```
|
22
21
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
7
|
+
| **s3Key** | **String** | | [optional] |
|
8
8
|
| **bucket** | **String** | | [optional] |
|
9
9
|
| **region** | **String** | | [optional] |
|
10
10
|
|
@@ -14,7 +14,7 @@
|
|
14
14
|
require 'daily-ruby'
|
15
15
|
|
16
16
|
instance = Daily::GetTranscriptInfo200ResponseOutParams.new(
|
17
|
-
|
17
|
+
s3Key: mydomain/test-recording-room/11245260397,
|
18
18
|
bucket: my-transcript-bucket,
|
19
19
|
region: us-west-2
|
20
20
|
)
|
@@ -9,7 +9,7 @@
|
|
9
9
|
| **status** | **String** | | [optional] |
|
10
10
|
| **max_participants** | **Integer** | | [optional][default to 0] |
|
11
11
|
| **share_token** | **String** | | [optional] |
|
12
|
-
| **
|
12
|
+
| **s3Key** | **String** | | [optional] |
|
13
13
|
| **mtg_session_id** | **String** | | [optional] |
|
14
14
|
|
15
15
|
## Example
|
@@ -23,7 +23,7 @@ instance = Daily::ListRecordings200ResponseDataInner.new(
|
|
23
23
|
status: in-progress,
|
24
24
|
max_participants: 2,
|
25
25
|
share_token: NcWgEiJuqD8v,
|
26
|
-
|
26
|
+
s3Key: mydomain/test-recording-room/11245260397,
|
27
27
|
mtg_session_id: 257764e6-c74e-4c30-944a-a887a03173a3
|
28
28
|
)
|
29
29
|
```
|
data/example.rb
CHANGED
@@ -21,6 +21,7 @@ opts = {
|
|
21
21
|
exp: (Time.now + (3600 * 2)).to_i, # Delete the room after two hours
|
22
22
|
enable_mesh_sfu: true,
|
23
23
|
sfu_switchover: 0.5,
|
24
|
+
enable_recording: "cloud",
|
24
25
|
dialin: {
|
25
26
|
display_name: 'Phone Caller',
|
26
27
|
wait_for_meeting_start: true
|
@@ -47,6 +48,7 @@ opts = {
|
|
47
48
|
properties: {
|
48
49
|
is_owner: true,
|
49
50
|
room_name: room.name,
|
51
|
+
start_cloud_recording: true,
|
50
52
|
exp: (Time.now + (3600 * 2)).to_i # Expire the token after two hours
|
51
53
|
}
|
52
54
|
})
|
@@ -67,3 +69,24 @@ end
|
|
67
69
|
p "Room url: " + room.url
|
68
70
|
p "Meeting token: " + meeting_token.token
|
69
71
|
|
72
|
+
recordings_api_instance = Daily::RecordingsApi.new
|
73
|
+
recordings_opts = {
|
74
|
+
limit: 5 # Fetch the 5 most recent recordings
|
75
|
+
}
|
76
|
+
|
77
|
+
begin
|
78
|
+
# List the most recent recordings
|
79
|
+
recordings = recordings_api_instance.list_recordings(recordings_opts)
|
80
|
+
puts "Recent Recordings:"
|
81
|
+
recordings.data.each do |recording|
|
82
|
+
puts "ID: #{recording.id}, Status: #{recording.status}"
|
83
|
+
|
84
|
+
# Generate an access link for the recording
|
85
|
+
access_link = recordings_api_instance.get_recording_link(recording.id)
|
86
|
+
puts "Access Link: #{access_link.download_link}"
|
87
|
+
end
|
88
|
+
rescue Daily::ApiError => e
|
89
|
+
puts "Error when calling RecordingsApi->list_recordings or get_recording_link: #{e}"
|
90
|
+
end
|
91
|
+
|
92
|
+
|
data/lib/daily-ruby/version.rb
CHANGED
Binary file
|
data/run.sh
CHANGED
@@ -4,7 +4,7 @@ openapi-generator generate -g ruby -o . \
|
|
4
4
|
-i ~/git/pluot-core/north-star/packages/docs-site/lib/oas/index.yaml \
|
5
5
|
--additional-properties=gemName=daily-ruby \
|
6
6
|
--additional-properties=moduleName=Daily \
|
7
|
-
--additional-properties=gemVersion=1.0.
|
7
|
+
--additional-properties=gemVersion=1.0.3 \
|
8
8
|
--additional-properties=gemLicense=MIT \
|
9
9
|
--additional-properties=gemAuthor=Daily \
|
10
10
|
--additional-properties=gemAuthorEmail=help@daily.co \
|
@@ -73,7 +73,7 @@ describe Daily::GetRecordingInfo200Response do
|
|
73
73
|
end
|
74
74
|
end
|
75
75
|
|
76
|
-
describe 'test attribute "
|
76
|
+
describe 'test attribute "s3Key"' do
|
77
77
|
it 'should work' do
|
78
78
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
79
79
|
end
|
@@ -43,7 +43,7 @@ describe Daily::GetRecordingInfo200ResponseTracksInner do
|
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
46
|
-
describe 'test attribute "
|
46
|
+
describe 'test attribute "s3Key"' do
|
47
47
|
it 'should work' do
|
48
48
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
49
49
|
end
|
@@ -27,7 +27,7 @@ describe Daily::GetTranscriptInfo200ResponseOutParams do
|
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test attribute "
|
30
|
+
describe 'test attribute "s3Key"' do
|
31
31
|
it 'should work' do
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
33
|
end
|
@@ -57,7 +57,7 @@ describe Daily::ListRecordings200ResponseDataInner do
|
|
57
57
|
end
|
58
58
|
end
|
59
59
|
|
60
|
-
describe 'test attribute "
|
60
|
+
describe 'test attribute "s3Key"' do
|
61
61
|
it 'should work' do
|
62
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
63
63
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: daily-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daily
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -87,8 +87,10 @@ extra_rdoc_files: []
|
|
87
87
|
files:
|
88
88
|
- Gemfile
|
89
89
|
- Gemfile.lock
|
90
|
+
- LICENSE.txt
|
90
91
|
- README.md
|
91
92
|
- Rakefile
|
93
|
+
- daily-ruby-1.0.2.gem
|
92
94
|
- daily-ruby.gemspec
|
93
95
|
- docs/BatchProcessorError.md
|
94
96
|
- docs/BatchProcessorErrorPayload.md
|
@@ -372,6 +374,7 @@ files:
|
|
372
374
|
- lib/daily-ruby/models/webhook.rb
|
373
375
|
- lib/daily-ruby/version.rb
|
374
376
|
- pkg/daily-ruby-1.0.2.gem
|
377
|
+
- pkg/daily-ruby-1.0.3.gem
|
375
378
|
- run.sh
|
376
379
|
- spec/api/batch_rooms_api_spec.rb
|
377
380
|
- spec/api/dialin_api_spec.rb
|