zaccl 3.0.18 → 4.0.0
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/docs/ECatCloudRecording.js.html +64 -26
- package/docs/ECatGroup.js.html +207 -0
- package/docs/ECatMeeting.js.html +76 -11
- package/docs/ECatUser.js.html +7 -10
- package/docs/ECatWebinar.js.html +6 -5
- package/docs/api.cloudRecording.html +328 -50
- package/docs/api.group.html +367 -0
- package/docs/api.meeting.html +437 -15
- package/docs/api.user.html +10 -10
- package/docs/api.webinar.html +5 -5
- package/docs/index.html +1 -1
- package/lib/endpoints/ECatCloudRecording.d.ts +29 -8
- package/lib/endpoints/ECatCloudRecording.js +63 -25
- package/lib/endpoints/ECatCloudRecording.js.map +1 -1
- package/lib/endpoints/ECatGroup.d.ts +39 -0
- package/lib/endpoints/ECatGroup.js +142 -0
- package/lib/endpoints/ECatGroup.js.map +1 -0
- package/lib/endpoints/ECatMeeting.d.ts +40 -10
- package/lib/endpoints/ECatMeeting.js +75 -10
- package/lib/endpoints/ECatMeeting.js.map +1 -1
- package/lib/endpoints/ECatUser.d.ts +5 -5
- package/lib/endpoints/ECatUser.js +6 -9
- package/lib/endpoints/ECatUser.js.map +1 -1
- package/lib/endpoints/ECatWebinar.d.ts +4 -4
- package/lib/endpoints/ECatWebinar.js +5 -4
- package/lib/endpoints/ECatWebinar.js.map +1 -1
- package/lib/index.d.ts +22 -0
- package/lib/index.js +19 -0
- package/lib/index.js.map +1 -1
- package/lib/shared/helpers/genVisitEndpoint.js +60 -17
- package/lib/shared/helpers/genVisitEndpoint.js.map +1 -1
- package/lib/shared/types/VisitEndpointFunc.d.ts +2 -1
- package/lib/types/ZoomAPI.d.ts +2 -0
- package/lib/types/ZoomAPI.js.map +1 -1
- package/lib/types/ZoomGroup.d.ts +10 -0
- package/lib/types/ZoomGroup.js +3 -0
- package/lib/types/ZoomGroup.js.map +1 -0
- package/lib/types/ZoomGroupMember.d.ts +12 -0
- package/lib/types/ZoomGroupMember.js +3 -0
- package/lib/types/ZoomGroupMember.js.map +1 -0
- package/lib/types/ZoomMeetingTranscript.d.ts +17 -0
- package/lib/types/ZoomMeetingTranscript.js +3 -0
- package/lib/types/ZoomMeetingTranscript.js.map +1 -0
- package/lib/types/ZoomPastMeetingDetails.d.ts +22 -0
- package/lib/types/ZoomPastMeetingDetails.js +3 -0
- package/lib/types/ZoomPastMeetingDetails.js.map +1 -0
- package/lib/types/ZoomPastMeetingParticipant.d.ts +18 -0
- package/lib/types/ZoomPastMeetingParticipant.js +3 -0
- package/lib/types/ZoomPastMeetingParticipant.js.map +1 -0
- package/lib/types/ZoomRecordingInAccount.d.ts +22 -0
- package/lib/types/ZoomRecordingInAccount.js +3 -0
- package/lib/types/ZoomRecordingInAccount.js.map +1 -0
- package/package.json +2 -2
- package/src/endpoints/ECatCloudRecording.ts +74 -29
- package/src/endpoints/ECatGroup.ts +89 -0
- package/src/endpoints/ECatMeeting.ts +81 -10
- package/src/endpoints/ECatUser.ts +6 -9
- package/src/endpoints/ECatWebinar.ts +5 -4
- package/src/index.ts +53 -0
- package/src/shared/helpers/genVisitEndpoint.ts +123 -79
- package/src/shared/types/VisitEndpointFunc.ts +4 -2
- package/src/types/ZoomAPI.ts +2 -0
- package/src/types/ZoomGroup.ts +14 -0
- package/src/types/ZoomGroupMember.ts +20 -0
- package/src/types/ZoomMeetingTranscript.ts +28 -0
- package/src/types/ZoomPastMeetingDetails.ts +38 -0
- package/src/types/ZoomPastMeetingParticipant.ts +30 -0
- package/src/types/ZoomRecordingInAccount.ts +38 -0
package/docs/api.webinar.html
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
|
|
28
28
|
<nav style="border-right: 2px solid #ccc; padding-bottom: 25px;" >
|
|
29
29
|
|
|
30
|
-
<h2><a style="font-size: 30px;" href="index.html">ZACCL API</a></h2><h3>Endpoint Functions</h3><ul><li><a href="api.cloudRecording.html">api.cloudRecording</a><ul class='methods'><li data-type='method'><a href="api.cloudRecording.html#listMeetingRecordings">listMeetingRecordings</a></li><li data-type='method'><a href="api.cloudRecording.html#listUserRecordings">listUserRecordings</a></li></ul></li><li><a href="api.meeting.html">api.meeting</a><ul class='methods'><li data-type='method'><a href="api.meeting.html#addAltHost">addAltHost</a></li><li data-type='method'><a href="api.meeting.html#create">create</a></li><li data-type='method'><a href="api.meeting.html#delete">delete</a></li><li data-type='method'><a href="api.meeting.html#get">get</a></li><li data-type='method'><a href="api.meeting.html#getPastMeetingDetails">getPastMeetingDetails</a></li><li data-type='method'><a href="api.meeting.html#getPollInfo">getPollInfo</a></li><li data-type='method'><a href="api.meeting.html#listPastInstances">listPastInstances</a></li><li data-type='method'><a href="api.meeting.html#listPastPollOccurrences">listPastPollOccurrences</a></li><li data-type='method'><a href="api.meeting.html#update">update</a></li></ul></li><li><a href="api.user.html">api.user</a><ul class='methods'><li data-type='method'><a href="api.user.html#activate">activate</a></li><li data-type='method'><a href="api.user.html#addWebinarLicense">addWebinarLicense</a></li><li data-type='method'><a href="api.user.html#get">get</a></li><li data-type='method'><a href="api.user.html#getZAKToken">getZAKToken</a></li><li data-type='method'><a href="api.user.html#promoteToLicensed">promoteToLicensed</a></li></ul></li><li><a href="api.webinar.html">api.webinar</a><ul class='methods'><li data-type='method'><a href="api.webinar.html#addPanelist">addPanelist</a></li><li data-type='method'><a href="api.webinar.html#create">create</a></li><li data-type='method'><a href="api.webinar.html#get">get</a></li><li data-type='method'><a href="api.webinar.html#listPanelists">listPanelists</a></li></ul></li></ul>
|
|
30
|
+
<h2><a style="font-size: 30px;" href="index.html">ZACCL API</a></h2><h3>Endpoint Functions</h3><ul><li><a href="api.cloudRecording.html">api.cloudRecording</a><ul class='methods'><li data-type='method'><a href="api.cloudRecording.html#listAccountRecordings">listAccountRecordings</a></li><li data-type='method'><a href="api.cloudRecording.html#listMeetingRecordings">listMeetingRecordings</a></li><li data-type='method'><a href="api.cloudRecording.html#listUserRecordings">listUserRecordings</a></li></ul></li><li><a href="api.group.html">api.group</a><ul class='methods'><li data-type='method'><a href="api.group.html#listGroupMembers">listGroupMembers</a></li></ul></li><li><a href="api.meeting.html">api.meeting</a><ul class='methods'><li data-type='method'><a href="api.meeting.html#addAltHost">addAltHost</a></li><li data-type='method'><a href="api.meeting.html#create">create</a></li><li data-type='method'><a href="api.meeting.html#delete">delete</a></li><li data-type='method'><a href="api.meeting.html#get">get</a></li><li data-type='method'><a href="api.meeting.html#getPastMeetingDetails">getPastMeetingDetails</a></li><li data-type='method'><a href="api.meeting.html#getPollInfo">getPollInfo</a></li><li data-type='method'><a href="api.meeting.html#getTranscript">getTranscript</a></li><li data-type='method'><a href="api.meeting.html#listPastInstances">listPastInstances</a></li><li data-type='method'><a href="api.meeting.html#listPastMeetingParticipants">listPastMeetingParticipants</a></li><li data-type='method'><a href="api.meeting.html#listPastPollOccurrences">listPastPollOccurrences</a></li><li data-type='method'><a href="api.meeting.html#update">update</a></li></ul></li><li><a href="api.user.html">api.user</a><ul class='methods'><li data-type='method'><a href="api.user.html#activate">activate</a></li><li data-type='method'><a href="api.user.html#addWebinarLicense">addWebinarLicense</a></li><li data-type='method'><a href="api.user.html#get">get</a></li><li data-type='method'><a href="api.user.html#getZAKToken">getZAKToken</a></li><li data-type='method'><a href="api.user.html#promoteToLicensed">promoteToLicensed</a></li></ul></li><li><a href="api.webinar.html">api.webinar</a><ul class='methods'><li data-type='method'><a href="api.webinar.html#addPanelist">addPanelist</a></li><li data-type='method'><a href="api.webinar.html#create">create</a></li><li data-type='method'><a href="api.webinar.html#get">get</a></li><li data-type='method'><a href="api.webinar.html#listPanelists">listPanelists</a></li></ul></li></ul>
|
|
31
31
|
</nav>
|
|
32
32
|
|
|
33
33
|
<div id="main">
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
|
|
195
195
|
|
|
196
196
|
<div class="description usertext">
|
|
197
|
-
Add one panelist if not already in the list
|
|
197
|
+
Add one panelist if not already in the list (Medium)
|
|
198
198
|
</div>
|
|
199
199
|
|
|
200
200
|
|
|
@@ -413,7 +413,7 @@
|
|
|
413
413
|
|
|
414
414
|
|
|
415
415
|
<div class="description usertext">
|
|
416
|
-
Create a webinar
|
|
416
|
+
Create a webinar (Light)
|
|
417
417
|
</div>
|
|
418
418
|
|
|
419
419
|
|
|
@@ -625,7 +625,7 @@
|
|
|
625
625
|
|
|
626
626
|
|
|
627
627
|
<div class="description usertext">
|
|
628
|
-
Get info on a Webinar
|
|
628
|
+
Get info on a Webinar (Light)
|
|
629
629
|
</div>
|
|
630
630
|
|
|
631
631
|
|
|
@@ -932,7 +932,7 @@
|
|
|
932
932
|
|
|
933
933
|
|
|
934
934
|
<div class="description usertext">
|
|
935
|
-
Get a list of panelists for a webinar
|
|
935
|
+
Get a list of panelists for a webinar (Medium)
|
|
936
936
|
</div>
|
|
937
937
|
|
|
938
938
|
|
package/docs/index.html
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
|
|
28
28
|
<nav style="border-right: 2px solid #ccc; padding-bottom: 25px;" >
|
|
29
29
|
|
|
30
|
-
<h2><a style="font-size: 30px;" href="index.html">ZACCL API</a></h2><h3>Endpoint Functions</h3><ul><li><a href="api.cloudRecording.html">api.cloudRecording</a><ul class='methods'><li data-type='method'><a href="api.cloudRecording.html#listMeetingRecordings">listMeetingRecordings</a></li><li data-type='method'><a href="api.cloudRecording.html#listUserRecordings">listUserRecordings</a></li></ul></li><li><a href="api.meeting.html">api.meeting</a><ul class='methods'><li data-type='method'><a href="api.meeting.html#addAltHost">addAltHost</a></li><li data-type='method'><a href="api.meeting.html#create">create</a></li><li data-type='method'><a href="api.meeting.html#delete">delete</a></li><li data-type='method'><a href="api.meeting.html#get">get</a></li><li data-type='method'><a href="api.meeting.html#getPastMeetingDetails">getPastMeetingDetails</a></li><li data-type='method'><a href="api.meeting.html#getPollInfo">getPollInfo</a></li><li data-type='method'><a href="api.meeting.html#listPastInstances">listPastInstances</a></li><li data-type='method'><a href="api.meeting.html#listPastPollOccurrences">listPastPollOccurrences</a></li><li data-type='method'><a href="api.meeting.html#update">update</a></li></ul></li><li><a href="api.user.html">api.user</a><ul class='methods'><li data-type='method'><a href="api.user.html#activate">activate</a></li><li data-type='method'><a href="api.user.html#addWebinarLicense">addWebinarLicense</a></li><li data-type='method'><a href="api.user.html#get">get</a></li><li data-type='method'><a href="api.user.html#getZAKToken">getZAKToken</a></li><li data-type='method'><a href="api.user.html#promoteToLicensed">promoteToLicensed</a></li></ul></li><li><a href="api.webinar.html">api.webinar</a><ul class='methods'><li data-type='method'><a href="api.webinar.html#addPanelist">addPanelist</a></li><li data-type='method'><a href="api.webinar.html#create">create</a></li><li data-type='method'><a href="api.webinar.html#get">get</a></li><li data-type='method'><a href="api.webinar.html#listPanelists">listPanelists</a></li></ul></li></ul>
|
|
30
|
+
<h2><a style="font-size: 30px;" href="index.html">ZACCL API</a></h2><h3>Endpoint Functions</h3><ul><li><a href="api.cloudRecording.html">api.cloudRecording</a><ul class='methods'><li data-type='method'><a href="api.cloudRecording.html#listAccountRecordings">listAccountRecordings</a></li><li data-type='method'><a href="api.cloudRecording.html#listMeetingRecordings">listMeetingRecordings</a></li><li data-type='method'><a href="api.cloudRecording.html#listUserRecordings">listUserRecordings</a></li></ul></li><li><a href="api.group.html">api.group</a><ul class='methods'><li data-type='method'><a href="api.group.html#listGroupMembers">listGroupMembers</a></li></ul></li><li><a href="api.meeting.html">api.meeting</a><ul class='methods'><li data-type='method'><a href="api.meeting.html#addAltHost">addAltHost</a></li><li data-type='method'><a href="api.meeting.html#create">create</a></li><li data-type='method'><a href="api.meeting.html#delete">delete</a></li><li data-type='method'><a href="api.meeting.html#get">get</a></li><li data-type='method'><a href="api.meeting.html#getPastMeetingDetails">getPastMeetingDetails</a></li><li data-type='method'><a href="api.meeting.html#getPollInfo">getPollInfo</a></li><li data-type='method'><a href="api.meeting.html#getTranscript">getTranscript</a></li><li data-type='method'><a href="api.meeting.html#listPastInstances">listPastInstances</a></li><li data-type='method'><a href="api.meeting.html#listPastMeetingParticipants">listPastMeetingParticipants</a></li><li data-type='method'><a href="api.meeting.html#listPastPollOccurrences">listPastPollOccurrences</a></li><li data-type='method'><a href="api.meeting.html#update">update</a></li></ul></li><li><a href="api.user.html">api.user</a><ul class='methods'><li data-type='method'><a href="api.user.html#activate">activate</a></li><li data-type='method'><a href="api.user.html#addWebinarLicense">addWebinarLicense</a></li><li data-type='method'><a href="api.user.html#get">get</a></li><li data-type='method'><a href="api.user.html#getZAKToken">getZAKToken</a></li><li data-type='method'><a href="api.user.html#promoteToLicensed">promoteToLicensed</a></li></ul></li><li><a href="api.webinar.html">api.webinar</a><ul class='methods'><li data-type='method'><a href="api.webinar.html#addPanelist">addPanelist</a></li><li data-type='method'><a href="api.webinar.html#create">create</a></li><li data-type='method'><a href="api.webinar.html#get">get</a></li><li data-type='method'><a href="api.webinar.html#listPanelists">listPanelists</a></li></ul></li></ul>
|
|
31
31
|
</nav>
|
|
32
32
|
|
|
33
33
|
<div id="main">
|
|
@@ -6,9 +6,33 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import EndpointCategory from '../shared/interfaces/EndpointCategory';
|
|
8
8
|
import ZoomMeetingRecordings from '../types/ZoomMeetingRecordings';
|
|
9
|
+
import ZoomRecordingInAccount from '../types/ZoomRecordingInAccount';
|
|
9
10
|
declare class ECatCloudRecording extends EndpointCategory {
|
|
10
11
|
/**
|
|
11
|
-
*
|
|
12
|
+
* List recordings in the account (Medium)
|
|
13
|
+
* @author Gabe Abrams
|
|
14
|
+
* @instance
|
|
15
|
+
* @memberof api.cloudRecording
|
|
16
|
+
* @method listAccountRecordings
|
|
17
|
+
* @param opts object containing all arguments
|
|
18
|
+
* @param opts.fromYear the start of the date range to list recordings for (e.g. 2026)
|
|
19
|
+
* @param opts.fromMonth the month of the date range to list recordings for (1-12)
|
|
20
|
+
* @param [opts.fromDay] the day of the month of the date range to list recordings for (1-31, defaults to 1)
|
|
21
|
+
* @param [opts.accountId] the account ID of the account of interest (defaults to the account
|
|
22
|
+
* associated with the current access)
|
|
23
|
+
* @param [opts.onNewPage] callback function that is called when a new page of results is received.
|
|
24
|
+
* The function is passed the new page of results as an argument.
|
|
25
|
+
* @returns the list of recordings in the account
|
|
26
|
+
*/
|
|
27
|
+
listAccountRecordings(opts: {
|
|
28
|
+
fromYear: number;
|
|
29
|
+
fromMonth: number;
|
|
30
|
+
fromDay?: number;
|
|
31
|
+
accountId?: string;
|
|
32
|
+
onNewPage?: (recordings: ZoomRecordingInAccount[]) => void;
|
|
33
|
+
}): Promise<ZoomRecordingInAccount[]>;
|
|
34
|
+
/**
|
|
35
|
+
* Get all recordings of a meeting (Light)
|
|
12
36
|
* @author Aryan Pandey
|
|
13
37
|
* @instance
|
|
14
38
|
* @memberof api.cloudRecording
|
|
@@ -24,17 +48,13 @@ declare class ECatCloudRecording extends EndpointCategory {
|
|
|
24
48
|
includeDownloadAccessToken?: boolean;
|
|
25
49
|
}): Promise<ZoomMeetingRecordings>;
|
|
26
50
|
/**
|
|
27
|
-
* List all cloud recordings of a user
|
|
51
|
+
* List all cloud recordings of a user (Medium)
|
|
28
52
|
* @author Aryan Pandey
|
|
29
53
|
* @instance
|
|
30
54
|
* @memberof api.cloudRecording
|
|
31
55
|
* @method listUserRecordings
|
|
32
56
|
* @param opts object containing all arguments
|
|
33
57
|
* @param opts.userId the user ID or email address of the user
|
|
34
|
-
* @param [opts.pageSize=300] number of records
|
|
35
|
-
* returned from a single API call
|
|
36
|
-
* @param [opts.nextPageToken] token used to pageinate
|
|
37
|
-
* through large result sets
|
|
38
58
|
* @param [opts.searchTrash=false] set to true to retrieve
|
|
39
59
|
* meeting recordings from the trash.
|
|
40
60
|
* @param [opts.startDate=1 month before today]
|
|
@@ -45,15 +65,16 @@ declare class ECatCloudRecording extends EndpointCategory {
|
|
|
45
65
|
* constructor or instance of Date object.
|
|
46
66
|
* Date needs to be within past 6 months. Time data (hours and seconds)
|
|
47
67
|
* is discarded
|
|
68
|
+
* @param [opts.onNewPage] callback function that is called when a new page of results is received.
|
|
69
|
+
|
|
48
70
|
* @returns List of Zoom Recordings {@link https://marketplace.zoom.us/docs/api-reference/zoom-api/cloud-recording/recordingslist#responses}
|
|
49
71
|
*/
|
|
50
72
|
listUserRecordings(opts: {
|
|
51
73
|
userId: string;
|
|
52
|
-
pageSize?: number;
|
|
53
|
-
nextPageToken?: string;
|
|
54
74
|
searchTrash?: boolean;
|
|
55
75
|
startDate?: (string | Date);
|
|
56
76
|
endDate?: (string | Date);
|
|
77
|
+
onNewPage?: (recordings: ZoomMeetingRecordings[]) => void;
|
|
57
78
|
}): Promise<ZoomMeetingRecordings[]>;
|
|
58
79
|
}
|
|
59
80
|
export default ECatCloudRecording;
|
|
@@ -73,7 +73,62 @@ var ECatCloudRecording = /** @class */ (function (_super) {
|
|
|
73
73
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
74
74
|
}
|
|
75
75
|
/**
|
|
76
|
-
*
|
|
76
|
+
* List recordings in the account (Medium)
|
|
77
|
+
* @author Gabe Abrams
|
|
78
|
+
* @instance
|
|
79
|
+
* @memberof api.cloudRecording
|
|
80
|
+
* @method listAccountRecordings
|
|
81
|
+
* @param opts object containing all arguments
|
|
82
|
+
* @param opts.fromYear the start of the date range to list recordings for (e.g. 2026)
|
|
83
|
+
* @param opts.fromMonth the month of the date range to list recordings for (1-12)
|
|
84
|
+
* @param [opts.fromDay] the day of the month of the date range to list recordings for (1-31, defaults to 1)
|
|
85
|
+
* @param [opts.accountId] the account ID of the account of interest (defaults to the account
|
|
86
|
+
* associated with the current access)
|
|
87
|
+
* @param [opts.onNewPage] callback function that is called when a new page of results is received.
|
|
88
|
+
* The function is passed the new page of results as an argument.
|
|
89
|
+
* @returns the list of recordings in the account
|
|
90
|
+
*/
|
|
91
|
+
ECatCloudRecording.prototype.listAccountRecordings = function (opts) {
|
|
92
|
+
var _a, _b;
|
|
93
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
94
|
+
var fromYear, fromMonth, fromMonthPadded, fromDay, fromDayPadded, fromDateString, toYear, toMonth, toMonthPadded, toDay, toDayPadded, toDateString;
|
|
95
|
+
return __generator(this, function (_c) {
|
|
96
|
+
fromYear = opts.fromYear, fromMonth = opts.fromMonth;
|
|
97
|
+
fromMonthPadded = fromMonth < 10 ? "0".concat(fromMonth) : fromMonth;
|
|
98
|
+
fromDay = (_a = opts.fromDay) !== null && _a !== void 0 ? _a : 1;
|
|
99
|
+
fromDayPadded = fromDay < 10 ? "0".concat(fromDay) : fromDay;
|
|
100
|
+
fromDateString = "".concat(fromYear, "-").concat(fromMonthPadded, "-").concat(fromDayPadded);
|
|
101
|
+
toYear = fromYear;
|
|
102
|
+
toMonth = opts.fromMonth + 1;
|
|
103
|
+
if (toMonth > 12) {
|
|
104
|
+
toMonth = 1;
|
|
105
|
+
toYear += 1;
|
|
106
|
+
}
|
|
107
|
+
toMonthPadded = toMonth < 10 ? "0".concat(toMonth) : toMonth;
|
|
108
|
+
toDay = fromDay;
|
|
109
|
+
toDayPadded = toDay < 10 ? "0".concat(toDay) : toDay;
|
|
110
|
+
toDateString = "".concat(toYear, "-").concat(toMonthPadded, "-").concat(toDayPadded);
|
|
111
|
+
return [2 /*return*/, this.visitEndpoint({
|
|
112
|
+
path: "/accounts/".concat((_b = opts.accountId) !== null && _b !== void 0 ? _b : 'me', "/recordings"),
|
|
113
|
+
action: 'list recordings in the account',
|
|
114
|
+
method: 'GET',
|
|
115
|
+
params: {
|
|
116
|
+
page_size: 300,
|
|
117
|
+
from: fromDateString,
|
|
118
|
+
to: toDateString,
|
|
119
|
+
},
|
|
120
|
+
onNewPage: opts.onNewPage,
|
|
121
|
+
itemKey: 'meetings',
|
|
122
|
+
errorMap: {
|
|
123
|
+
400: 'Bad request',
|
|
124
|
+
404: 'No recordings found',
|
|
125
|
+
},
|
|
126
|
+
})];
|
|
127
|
+
});
|
|
128
|
+
});
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* Get all recordings of a meeting (Light)
|
|
77
132
|
* @author Aryan Pandey
|
|
78
133
|
* @instance
|
|
79
134
|
* @memberof api.cloudRecording
|
|
@@ -120,17 +175,13 @@ var ECatCloudRecording = /** @class */ (function (_super) {
|
|
|
120
175
|
});
|
|
121
176
|
};
|
|
122
177
|
/**
|
|
123
|
-
* List all cloud recordings of a user
|
|
178
|
+
* List all cloud recordings of a user (Medium)
|
|
124
179
|
* @author Aryan Pandey
|
|
125
180
|
* @instance
|
|
126
181
|
* @memberof api.cloudRecording
|
|
127
182
|
* @method listUserRecordings
|
|
128
183
|
* @param opts object containing all arguments
|
|
129
184
|
* @param opts.userId the user ID or email address of the user
|
|
130
|
-
* @param [opts.pageSize=300] number of records
|
|
131
|
-
* returned from a single API call
|
|
132
|
-
* @param [opts.nextPageToken] token used to pageinate
|
|
133
|
-
* through large result sets
|
|
134
185
|
* @param [opts.searchTrash=false] set to true to retrieve
|
|
135
186
|
* meeting recordings from the trash.
|
|
136
187
|
* @param [opts.startDate=1 month before today]
|
|
@@ -141,13 +192,15 @@ var ECatCloudRecording = /** @class */ (function (_super) {
|
|
|
141
192
|
* constructor or instance of Date object.
|
|
142
193
|
* Date needs to be within past 6 months. Time data (hours and seconds)
|
|
143
194
|
* is discarded
|
|
195
|
+
* @param [opts.onNewPage] callback function that is called when a new page of results is received.
|
|
196
|
+
|
|
144
197
|
* @returns List of Zoom Recordings {@link https://marketplace.zoom.us/docs/api-reference/zoom-api/cloud-recording/recordingslist#responses}
|
|
145
198
|
*/
|
|
146
199
|
ECatCloudRecording.prototype.listUserRecordings = function (opts) {
|
|
147
200
|
return __awaiter(this, void 0, void 0, function () {
|
|
148
|
-
var userId, searchTrash,
|
|
201
|
+
var userId, searchTrash, startDate, endDate, onNewPage, defaultDate, params;
|
|
149
202
|
return __generator(this, function (_a) {
|
|
150
|
-
userId = opts.userId, searchTrash = opts.searchTrash,
|
|
203
|
+
userId = opts.userId, searchTrash = opts.searchTrash, startDate = opts.startDate, endDate = opts.endDate, onNewPage = opts.onNewPage;
|
|
151
204
|
defaultDate = new Date();
|
|
152
205
|
defaultDate.setMonth(defaultDate.getMonth() - 1);
|
|
153
206
|
params = {
|
|
@@ -155,34 +208,19 @@ var ECatCloudRecording = /** @class */ (function (_super) {
|
|
|
155
208
|
trash: !!searchTrash,
|
|
156
209
|
from: (0, utils_1.formatDate)(defaultDate, 'startDate'),
|
|
157
210
|
};
|
|
158
|
-
if (pageSize) {
|
|
159
|
-
// Throw error if pageSize is over max val of 300
|
|
160
|
-
if (pageSize > 300) {
|
|
161
|
-
throw new ZACCLError_1.default({
|
|
162
|
-
message: "We requested ".concat(pageSize, " recordings from Zoom but it can only give us 300 at a time"),
|
|
163
|
-
code: ErrorCode_1.default.InvalidPageSize,
|
|
164
|
-
});
|
|
165
|
-
}
|
|
166
|
-
params.page_size = pageSize;
|
|
167
|
-
}
|
|
168
211
|
if (startDate) {
|
|
169
212
|
params.from = (0, utils_1.formatDate)(startDate, 'startDate');
|
|
170
213
|
}
|
|
171
214
|
if (endDate) {
|
|
172
215
|
params.to = (0, utils_1.formatDate)(endDate, 'endDate');
|
|
173
216
|
}
|
|
174
|
-
if (nextPageToken) {
|
|
175
|
-
params.next_page_token = nextPageToken;
|
|
176
|
-
}
|
|
177
217
|
return [2 /*return*/, this.visitEndpoint({
|
|
178
218
|
path: "/users/".concat(userId, "/recordings"),
|
|
179
219
|
action: 'list all cloud recordings of a user',
|
|
180
220
|
method: 'GET',
|
|
181
221
|
params: params,
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
return Array.from(body.meetings);
|
|
185
|
-
},
|
|
222
|
+
onNewPage: opts.onNewPage,
|
|
223
|
+
itemKey: 'meetings',
|
|
186
224
|
errorMap: {
|
|
187
225
|
404: {
|
|
188
226
|
1001: "We could not find the Zoom user ".concat(userId, " on this account"),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ECatCloudRecording.js","sourceRoot":"","sources":["../../src/endpoints/ECatCloudRecording.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;;;;;;;;;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E,0CAAmC,MAAM,qBAAkB;6BAClE;yBACF;qBACF,CAAC,EAAC;;;KACJ;IAAA,CAAC;IACJ,yBAAC;AAAD,CAAC,AArMD,CAAiC,0BAAgB,GAqMhD;AAED,4EAA4E;AAC5E,4EAA4E;AAC5E,4EAA4E;AAE5E,kBAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Category of endpoints for Zoom groups
|
|
3
|
+
* @author Gabe Abrams
|
|
4
|
+
* @namespace api.group
|
|
5
|
+
*/
|
|
6
|
+
import EndpointCategory from '../shared/interfaces/EndpointCategory';
|
|
7
|
+
import ZoomGroup from '../types/ZoomGroup';
|
|
8
|
+
import ZoomGroupMember from '../types/ZoomGroupMember';
|
|
9
|
+
declare class ECatGroup extends EndpointCategory {
|
|
10
|
+
/**
|
|
11
|
+
* List groups in the account (Medium)
|
|
12
|
+
* @author Gabe Abrams
|
|
13
|
+
* @instance
|
|
14
|
+
* @memberof api.account
|
|
15
|
+
* @method listGroups
|
|
16
|
+
* @param [opts] object containing all arguments
|
|
17
|
+
* @param [opts.onNewPage] callback function that is called when a new page of results is received.
|
|
18
|
+
* @returns the list of groups in the account
|
|
19
|
+
*/
|
|
20
|
+
listGroups(opts?: {
|
|
21
|
+
onNewPage?: (groups: ZoomGroup[]) => void;
|
|
22
|
+
}): Promise<ZoomGroup[]>;
|
|
23
|
+
/**
|
|
24
|
+
* List the members within a group (Medium)
|
|
25
|
+
* @author Gabe Abrams
|
|
26
|
+
* @instance
|
|
27
|
+
* @memberof api.group
|
|
28
|
+
* @method listGroupMembers
|
|
29
|
+
* @param opts object containing all arguments
|
|
30
|
+
* @params opts.groupId the group ID of the group of interest
|
|
31
|
+
* @param [opts.onNewPage] callback function that is called when a new page of results is received.
|
|
32
|
+
* @returns the list of members in the group
|
|
33
|
+
*/
|
|
34
|
+
listGroupMembers(opts: {
|
|
35
|
+
groupId: string;
|
|
36
|
+
onNewPage?: (groupMembers: ZoomGroupMember[]) => void;
|
|
37
|
+
}): Promise<ZoomGroupMember[]>;
|
|
38
|
+
}
|
|
39
|
+
export default ECatGroup;
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Category of endpoints for Zoom groups
|
|
4
|
+
* @author Gabe Abrams
|
|
5
|
+
* @namespace api.group
|
|
6
|
+
*/
|
|
7
|
+
var __extends = (this && this.__extends) || (function () {
|
|
8
|
+
var extendStatics = function (d, b) {
|
|
9
|
+
extendStatics = Object.setPrototypeOf ||
|
|
10
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
11
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
12
|
+
return extendStatics(d, b);
|
|
13
|
+
};
|
|
14
|
+
return function (d, b) {
|
|
15
|
+
if (typeof b !== "function" && b !== null)
|
|
16
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
17
|
+
extendStatics(d, b);
|
|
18
|
+
function __() { this.constructor = d; }
|
|
19
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
20
|
+
};
|
|
21
|
+
})();
|
|
22
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
23
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
24
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
25
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
26
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
27
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
28
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
29
|
+
});
|
|
30
|
+
};
|
|
31
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
32
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
33
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
34
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
35
|
+
function step(op) {
|
|
36
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
37
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
38
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
39
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
40
|
+
switch (op[0]) {
|
|
41
|
+
case 0: case 1: t = op; break;
|
|
42
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
43
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
44
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
45
|
+
default:
|
|
46
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
47
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
48
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
49
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
50
|
+
if (t[2]) _.ops.pop();
|
|
51
|
+
_.trys.pop(); continue;
|
|
52
|
+
}
|
|
53
|
+
op = body.call(thisArg, _);
|
|
54
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
55
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
59
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
60
|
+
};
|
|
61
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
62
|
+
// Import shared interfaces
|
|
63
|
+
var EndpointCategory_1 = __importDefault(require("../shared/interfaces/EndpointCategory"));
|
|
64
|
+
var ECatGroup = /** @class */ (function (_super) {
|
|
65
|
+
__extends(ECatGroup, _super);
|
|
66
|
+
function ECatGroup() {
|
|
67
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* List groups in the account (Medium)
|
|
71
|
+
* @author Gabe Abrams
|
|
72
|
+
* @instance
|
|
73
|
+
* @memberof api.account
|
|
74
|
+
* @method listGroups
|
|
75
|
+
* @param [opts] object containing all arguments
|
|
76
|
+
* @param [opts.onNewPage] callback function that is called when a new page of results is received.
|
|
77
|
+
* @returns the list of groups in the account
|
|
78
|
+
*/
|
|
79
|
+
ECatGroup.prototype.listGroups = function (opts) {
|
|
80
|
+
if (opts === void 0) { opts = {}; }
|
|
81
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
82
|
+
return __generator(this, function (_a) {
|
|
83
|
+
return [2 /*return*/, this.visitEndpoint({
|
|
84
|
+
path: '/groups',
|
|
85
|
+
action: 'list groups in the account',
|
|
86
|
+
method: 'GET',
|
|
87
|
+
params: {
|
|
88
|
+
page_size: 10, // max allowed page size
|
|
89
|
+
// TODO: change above to 300
|
|
90
|
+
},
|
|
91
|
+
errorMap: {
|
|
92
|
+
400: 'Bad request',
|
|
93
|
+
404: {
|
|
94
|
+
4130: 'No groups found for this account.',
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
itemKey: 'groups',
|
|
98
|
+
onNewPage: opts.onNewPage,
|
|
99
|
+
})];
|
|
100
|
+
});
|
|
101
|
+
});
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* List the members within a group (Medium)
|
|
105
|
+
* @author Gabe Abrams
|
|
106
|
+
* @instance
|
|
107
|
+
* @memberof api.group
|
|
108
|
+
* @method listGroupMembers
|
|
109
|
+
* @param opts object containing all arguments
|
|
110
|
+
* @params opts.groupId the group ID of the group of interest
|
|
111
|
+
* @param [opts.onNewPage] callback function that is called when a new page of results is received.
|
|
112
|
+
* @returns the list of members in the group
|
|
113
|
+
*/
|
|
114
|
+
ECatGroup.prototype.listGroupMembers = function (opts) {
|
|
115
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
116
|
+
return __generator(this, function (_a) {
|
|
117
|
+
return [2 /*return*/, this.visitEndpoint({
|
|
118
|
+
path: "/groups/".concat(opts.groupId, "/members"),
|
|
119
|
+
action: 'list members in a Zoom group',
|
|
120
|
+
method: 'GET',
|
|
121
|
+
params: {
|
|
122
|
+
page_size: 2000, // max allowed page size
|
|
123
|
+
},
|
|
124
|
+
itemKey: 'members',
|
|
125
|
+
errorMap: {
|
|
126
|
+
400: 'Bad request',
|
|
127
|
+
404: {
|
|
128
|
+
4130: 'No groups found for this account.',
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
onNewPage: opts.onNewPage,
|
|
132
|
+
})];
|
|
133
|
+
});
|
|
134
|
+
});
|
|
135
|
+
};
|
|
136
|
+
return ECatGroup;
|
|
137
|
+
}(EndpointCategory_1.default));
|
|
138
|
+
/*------------------------------------------------------------------------*/
|
|
139
|
+
/* Export */
|
|
140
|
+
/*------------------------------------------------------------------------*/
|
|
141
|
+
exports.default = ECatGroup;
|
|
142
|
+
//# sourceMappingURL=ECatGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ECatGroup.js","sourceRoot":"","sources":["../../src/endpoints/ECatGroup.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,2BAA2B;AAC3B,2FAAqE;AAMrE;IAAwB,6BAAgB;IAAxC;;IAoEA,CAAC;IAnEC;;;;;;;;;OASG;IACG,8BAAU,GAAhB,UACE,IAEM;QAFN,qBAAA,EAAA,SAEM;;;gBAEN,sBAAO,IAAI,CAAC,aAAa,CAAC;wBACxB,IAAI,EAAE,SAAS;wBACf,MAAM,EAAE,4BAA4B;wBACpC,MAAM,EAAE,KAAK;wBACb,MAAM,EAAE;4BACN,SAAS,EAAE,EAAE,EAAE,wBAAwB;4BACvC,4BAA4B;yBAC7B;wBACD,QAAQ,EAAE;4BACR,GAAG,EAAE,aAAa;4BAClB,GAAG,EAAE;gCACH,IAAI,EAAE,mCAAmC;6BAC1C;yBACF;wBACD,OAAO,EAAE,QAAQ;wBACjB,SAAS,EAAE,IAAI,CAAC,SAAS;qBAC1B,CAAC,EAAC;;;KACJ;IAED;;;;;;;;;;OAUG;IACG,oCAAgB,GAAtB,UACE,IAGC;;;gBACD,sBAAO,IAAI,CAAC,aAAa,CAAC;wBACxB,IAAI,EAAE,kBAAW,IAAI,CAAC,OAAO,aAAU;wBACvC,MAAM,EAAE,8BAA8B;wBACtC,MAAM,EAAE,KAAK;wBACb,MAAM,EAAE;4BACN,SAAS,EAAE,IAAI,EAAE,wBAAwB;yBAC1C;wBACD,OAAO,EAAE,SAAS;wBAClB,QAAQ,EAAE;4BACR,GAAG,EAAE,aAAa;4BAClB,GAAG,EAAE;gCACH,IAAI,EAAE,mCAAmC;6BAC1C;yBACF;wBACD,SAAS,EAAE,IAAI,CAAC,SAAS;qBAC1B,CAAC,EAAC;;;KACJ;IACH,gBAAC;AAAD,CAAC,AApED,CAAwB,0BAAgB,GAoEvC;AAED,4EAA4E;AAC5E,4EAA4E;AAC5E,4EAA4E;AAE5E,kBAAe,SAAS,CAAC"}
|
|
@@ -10,9 +10,11 @@ import PollOccurrence from '../types/ZoomPollOccurrence';
|
|
|
10
10
|
import PollInfo from '../types/ZoomPollInfo';
|
|
11
11
|
import ZoomMeetingDetails from '../types/ZoomMeetingDetails';
|
|
12
12
|
import ZoomMeetingIdAndStartTime from '../types/ZoomMeetingIdAndStartTime';
|
|
13
|
+
import ZoomMeetingTranscript from '../types/ZoomMeetingTranscript';
|
|
14
|
+
import ZoomPastMeetingParticipant from '../types/ZoomPastMeetingParticipant';
|
|
13
15
|
declare class ECatMeeting extends EndpointCategory {
|
|
14
16
|
/**
|
|
15
|
-
* Get info on a meeting
|
|
17
|
+
* Get info on a meeting (Light)
|
|
16
18
|
* @author Gabe Abrams
|
|
17
19
|
* @author Aryan Pandey
|
|
18
20
|
* @instance
|
|
@@ -23,7 +25,7 @@ declare class ECatMeeting extends EndpointCategory {
|
|
|
23
25
|
* @param [opts.occurrenceId] ID for the meeting occurrence
|
|
24
26
|
* @param [opts.showAllOccurrences=false] if truthy,
|
|
25
27
|
* retrieves all past occurrences
|
|
26
|
-
* @returns Zoom meeting object
|
|
28
|
+
* @returns Zoom meeting object
|
|
27
29
|
*/
|
|
28
30
|
get(opts: {
|
|
29
31
|
meetingId: number;
|
|
@@ -31,7 +33,7 @@ declare class ECatMeeting extends EndpointCategory {
|
|
|
31
33
|
showAllOccurrences?: boolean;
|
|
32
34
|
}): Promise<ZoomMeeting>;
|
|
33
35
|
/**
|
|
34
|
-
* Create a new meeting
|
|
36
|
+
* Create a new meeting (Light)
|
|
35
37
|
* @author Gabe Abrams
|
|
36
38
|
* @author Aryan Pandey
|
|
37
39
|
* @instance
|
|
@@ -47,7 +49,7 @@ declare class ECatMeeting extends EndpointCategory {
|
|
|
47
49
|
meetingObj: ZoomMeeting;
|
|
48
50
|
}): Promise<ZoomMeeting>;
|
|
49
51
|
/**
|
|
50
|
-
* Update a meeting
|
|
52
|
+
* Update a meeting (Light)
|
|
51
53
|
* @author Gabe Abrams
|
|
52
54
|
* @author Aryan Pandey
|
|
53
55
|
* @instance
|
|
@@ -65,7 +67,7 @@ declare class ECatMeeting extends EndpointCategory {
|
|
|
65
67
|
occurrenceId?: string;
|
|
66
68
|
}): Promise<ZoomMeeting>;
|
|
67
69
|
/**
|
|
68
|
-
* Delete a meeting
|
|
70
|
+
* Delete a meeting (Light)
|
|
69
71
|
* @author Gabe Abrams
|
|
70
72
|
* @author Aryan Pandey
|
|
71
73
|
* @instance
|
|
@@ -84,7 +86,7 @@ declare class ECatMeeting extends EndpointCategory {
|
|
|
84
86
|
notifyHosts?: boolean;
|
|
85
87
|
}): Promise<ZoomMeeting>;
|
|
86
88
|
/**
|
|
87
|
-
* Get a list of ended meeting instances
|
|
89
|
+
* Get a list of ended meeting instances (Medium)
|
|
88
90
|
* @author Gabe Abrams
|
|
89
91
|
* @author Aryan Pandey
|
|
90
92
|
* @instance
|
|
@@ -98,7 +100,7 @@ declare class ECatMeeting extends EndpointCategory {
|
|
|
98
100
|
meetingId: number;
|
|
99
101
|
}): Promise<ZoomMeetingIdAndStartTime[]>;
|
|
100
102
|
/**
|
|
101
|
-
* Get details of a past meeting instance
|
|
103
|
+
* Get details of a past meeting instance (Light)
|
|
102
104
|
* @author Yuen Ler Chow
|
|
103
105
|
* @instance
|
|
104
106
|
* @memberof api.meeting
|
|
@@ -110,7 +112,7 @@ declare class ECatMeeting extends EndpointCategory {
|
|
|
110
112
|
uuid: string;
|
|
111
113
|
}): Promise<ZoomMeetingDetails>;
|
|
112
114
|
/**
|
|
113
|
-
* List past poll occurrences
|
|
115
|
+
* List past poll occurrences (Medium)
|
|
114
116
|
* @author Yuen Ler Chow
|
|
115
117
|
* @instance
|
|
116
118
|
* @memberof api.meeting
|
|
@@ -122,7 +124,7 @@ declare class ECatMeeting extends EndpointCategory {
|
|
|
122
124
|
uuid: string;
|
|
123
125
|
}): Promise<PollOccurrence[]>;
|
|
124
126
|
/**
|
|
125
|
-
* Get poll info
|
|
127
|
+
* Get poll info (Light)
|
|
126
128
|
* @author Yuen Ler Chow
|
|
127
129
|
* @instance
|
|
128
130
|
* @memberof api.meeting
|
|
@@ -142,7 +144,7 @@ declare class ECatMeeting extends EndpointCategory {
|
|
|
142
144
|
* user is added as the only alt-host. This is because Zoom doesn't give us
|
|
143
145
|
* enough information to determine which user is deactivated, and thus,
|
|
144
146
|
* the only way to resolve the issue is to remove all previously existing
|
|
145
|
-
* alt-hosts.
|
|
147
|
+
* alt-hosts. (Light)
|
|
146
148
|
* @author Gabe Abrams
|
|
147
149
|
* @author Aryan Pandey
|
|
148
150
|
* @instance
|
|
@@ -161,5 +163,33 @@ declare class ECatMeeting extends EndpointCategory {
|
|
|
161
163
|
altHost: string;
|
|
162
164
|
meetingObj?: ZoomMeeting;
|
|
163
165
|
}): Promise<ZoomMeeting>;
|
|
166
|
+
/**
|
|
167
|
+
* Get meeting transcript (Medium)
|
|
168
|
+
* @author Gabe Abrams
|
|
169
|
+
* @instance
|
|
170
|
+
* @memberof api.meeting
|
|
171
|
+
* @method getTranscript
|
|
172
|
+
* @param opts object containing all arguments
|
|
173
|
+
* @param opts.meetingId the Zoom ID of the meeting (or UUID of a past meeting instance)
|
|
174
|
+
* @returns meeting transcript
|
|
175
|
+
*/
|
|
176
|
+
getTranscript(opts: {
|
|
177
|
+
meetingId: number;
|
|
178
|
+
}): Promise<ZoomMeetingTranscript>;
|
|
179
|
+
/**
|
|
180
|
+
* Get list of participants in a past meeting (Medium)
|
|
181
|
+
* @author Gabe Abrams
|
|
182
|
+
* @instance
|
|
183
|
+
* @memberof api.meeting
|
|
184
|
+
* @method listPastMeetingParticipants
|
|
185
|
+
* @param opts object containing all arguments
|
|
186
|
+
* @param opts.meetingId the Zoom UUID of the past meeting instance
|
|
187
|
+
* @param [opts.onNewPage] callback function that is called when a new page of results is received.
|
|
188
|
+
* @returns list of past meeting participants
|
|
189
|
+
*/
|
|
190
|
+
listPastMeetingParticipants(opts: {
|
|
191
|
+
meetingId: string;
|
|
192
|
+
onNewPage?: (participants: ZoomPastMeetingParticipant[]) => void;
|
|
193
|
+
}): Promise<ZoomPastMeetingParticipant[]>;
|
|
164
194
|
}
|
|
165
195
|
export default ECatMeeting;
|