zaccl 3.0.8 → 3.0.10
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.
- package/lib/endpoints/ECatCloudRecording.d.ts +1 -2
- package/lib/endpoints/ECatCloudRecording.js.map +1 -1
- package/lib/types/ZoomRecordingFile.d.ts +5 -0
- package/package.json +1 -1
- package/src/endpoints/ECatCloudRecording.ts +1 -2
- package/src/types/ZoomRecordingFile.ts +6 -0
- package/src/types/ZoomUserRecordings.ts +0 -25
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import EndpointCategory from '../shared/interfaces/EndpointCategory';
|
|
8
8
|
import ZoomMeetingRecordings from '../types/ZoomMeetingRecordings';
|
|
9
|
-
import ZoomUserRecordings from '../types/ZoomUserRecordings';
|
|
10
9
|
declare class ECatCloudRecording extends EndpointCategory {
|
|
11
10
|
/**
|
|
12
11
|
* Get all recordings of a meeting
|
|
@@ -52,6 +51,6 @@ declare class ECatCloudRecording extends EndpointCategory {
|
|
|
52
51
|
searchTrash?: boolean;
|
|
53
52
|
startDate?: (string | Date);
|
|
54
53
|
endDate?: (string | Date);
|
|
55
|
-
}): Promise<
|
|
54
|
+
}): Promise<ZoomMeetingRecordings[]>;
|
|
56
55
|
}
|
|
57
56
|
export default ECatCloudRecording;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ECatCloudRecording.js","sourceRoot":"","sources":["../../src/endpoints/ECatCloudRecording.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,2BAA2B;AAC3B,2FAAqE;AAErE,wBAAwB;AACxB,4EAAsD;AACtD,wEAAkD;
|
|
1
|
+
{"version":3,"file":"ECatCloudRecording.js","sourceRoot":"","sources":["../../src/endpoints/ECatCloudRecording.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;;;;;;;;;;;;;;;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,kBAAe,kBAAkB,CAAC"}
|
|
@@ -16,6 +16,11 @@ type ZoomRecordingFile = ({
|
|
|
16
16
|
recording_play_passcode?: string;
|
|
17
17
|
} & ({
|
|
18
18
|
file_type: (ZoomFileType.ClosedCaptions | ZoomFileType.Timeline);
|
|
19
|
+
file_size?: undefined;
|
|
20
|
+
status?: undefined;
|
|
21
|
+
id?: undefined;
|
|
22
|
+
recording_type?: undefined;
|
|
23
|
+
play_url?: undefined;
|
|
19
24
|
} | {
|
|
20
25
|
file_type: (ZoomFileType.VideoFile | ZoomFileType.AudioOnlyFile | ZoomFileType.Transcript | ZoomFileType.Chat | ZoomFileType.PollingData | ZoomFileType.RecordingSummary);
|
|
21
26
|
file_size: number;
|
package/package.json
CHANGED
|
@@ -14,7 +14,6 @@ import ErrorCode from '../shared/types/ErrorCode';
|
|
|
14
14
|
|
|
15
15
|
// Import shared types
|
|
16
16
|
import ZoomMeetingRecordings from '../types/ZoomMeetingRecordings';
|
|
17
|
-
import ZoomUserRecordings from '../types/ZoomUserRecordings';
|
|
18
17
|
|
|
19
18
|
// Import shared helper
|
|
20
19
|
import {
|
|
@@ -96,7 +95,7 @@ class ECatCloudRecording extends EndpointCategory {
|
|
|
96
95
|
startDate?: (string | Date),
|
|
97
96
|
endDate?: (string | Date),
|
|
98
97
|
},
|
|
99
|
-
): Promise<
|
|
98
|
+
): Promise<ZoomMeetingRecordings[]> {
|
|
100
99
|
// Destructure arguments
|
|
101
100
|
const {
|
|
102
101
|
userId,
|
|
@@ -39,6 +39,12 @@ type ZoomRecordingFile = (
|
|
|
39
39
|
| ZoomFileType.ClosedCaptions
|
|
40
40
|
| ZoomFileType.Timeline
|
|
41
41
|
),
|
|
42
|
+
// Recording file info isn't included
|
|
43
|
+
file_size?: undefined,
|
|
44
|
+
status?: undefined,
|
|
45
|
+
id?: undefined,
|
|
46
|
+
recording_type?: undefined,
|
|
47
|
+
play_url?: undefined,
|
|
42
48
|
}
|
|
43
49
|
| {
|
|
44
50
|
// Type of file
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// Import shared types
|
|
2
|
-
import ZoomMeetingRecordings from './ZoomMeetingRecordings';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* List of recordings for a user
|
|
6
|
-
* @author Gabe Abrams
|
|
7
|
-
*/
|
|
8
|
-
type ZoomUserRecordings = {
|
|
9
|
-
// Start date of query
|
|
10
|
-
from: string,
|
|
11
|
-
// End date of query
|
|
12
|
-
to: string,
|
|
13
|
-
// The next page token is used to paginate through large result sets.A next page token will be returned whenever the set of available results exceeds the current page size.The expiration period for this token is 15 minutes.
|
|
14
|
-
next_page_token: string,
|
|
15
|
-
// The number of pages returned for the request made.
|
|
16
|
-
page_count: number,
|
|
17
|
-
// The number of records returned within a single API call. (min 30, max 300)
|
|
18
|
-
page_size: number,
|
|
19
|
-
// The number of all records available across pages.
|
|
20
|
-
total_records: number,
|
|
21
|
-
// List of meetings
|
|
22
|
-
meetings: ZoomMeetingRecordings[],
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export default ZoomUserRecordings;
|