@pipedream/zoom 0.9.1 → 0.10.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/actions/add-meeting-registrant/add-meeting-registrant.mjs +1 -1
- package/actions/add-webinar-registrant/add-webinar-registrant.mjs +1 -1
- package/actions/delete-meeting/delete-meeting.mjs +1 -1
- package/actions/get-meeting-recordings/get-meeting-recordings.mjs +56 -0
- package/actions/get-meeting-transcript/get-meeting-transcript.mjs +5 -13
- package/actions/get-webinar-details/get-webinar-details.mjs +1 -1
- package/actions/list-call-recordings/list-call-recordings.mjs +1 -1
- package/actions/list-meetings/list-meetings.mjs +1 -1
- package/actions/list-past-meeting-participants/list-past-meeting-participants.mjs +1 -1
- package/actions/list-user-call-logs/list-user-call-logs.mjs +1 -1
- package/actions/list-webinar-participants-report/list-webinar-participants-report.mjs +1 -1
- package/package.json +1 -1
- package/sources/custom-event/custom-event.mjs +1 -1
- package/sources/meeting-created/meeting-created.mjs +1 -1
- package/sources/meeting-deleted/meeting-deleted.mjs +1 -1
- package/sources/meeting-ended/meeting-ended.mjs +1 -1
- package/sources/meeting-started/meeting-started.mjs +1 -1
- package/sources/meeting-updated/meeting-updated.mjs +1 -1
- package/sources/new-recording-transcript-completed/new-recording-transcript-completed.mjs +1 -1
- package/sources/phone-event/phone-event.mjs +1 -1
- package/sources/recording-completed/recording-completed.mjs +1 -1
- package/sources/webinar-created/webinar-created.mjs +1 -1
- package/sources/webinar-deleted/webinar-deleted.mjs +1 -1
- package/sources/webinar-ended/webinar-ended.mjs +1 -1
- package/sources/webinar-started/webinar-started.mjs +1 -1
- package/sources/webinar-updated/webinar-updated.mjs +1 -1
- package/zoom.app.mjs +20 -1
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "zoom-add-meeting-registrant",
|
|
7
7
|
name: "Add Meeting Registrant",
|
|
8
8
|
description: "Registers a participant or multiple participants for a meeting. [See the documentation](https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/meetingRegistrantCreate)",
|
|
9
|
-
version: "0.3.
|
|
9
|
+
version: "0.3.10",
|
|
10
10
|
annotations: {
|
|
11
11
|
destructiveHint: false,
|
|
12
12
|
openWorldHint: true,
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "zoom-add-webinar-registrant",
|
|
5
5
|
name: "Add Webinar Registrant",
|
|
6
6
|
description: "Registers a participant for a webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarregistrantcreate).",
|
|
7
|
-
version: "0.3.
|
|
7
|
+
version: "0.3.10",
|
|
8
8
|
annotations: {
|
|
9
9
|
destructiveHint: false,
|
|
10
10
|
openWorldHint: true,
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "zoom-delete-meeting",
|
|
5
5
|
name: "Delete Meeting",
|
|
6
6
|
description: "Delete a meeting. [See the documentation](https://developers.zoom.us/docs/api/meetings/#tag/meetings/delete/meetings/{meetingId})",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.5",
|
|
8
8
|
type: "action",
|
|
9
9
|
annotations: {
|
|
10
10
|
destructiveHint: true,
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import zoom from "../../zoom.app.mjs";
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
key: "zoom-get-meeting-recordings",
|
|
5
|
+
name: "Get Meeting Recordings",
|
|
6
|
+
description: "Get the recordings of a meeting. [See the documentation](https://developers.zoom.us/docs/api/meetings/#tag/cloud-recording/get/meetings/{meetingId}/recordings)",
|
|
7
|
+
version: "0.0.1",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: true,
|
|
12
|
+
},
|
|
13
|
+
type: "action",
|
|
14
|
+
props: {
|
|
15
|
+
zoom,
|
|
16
|
+
meetingId: {
|
|
17
|
+
propDefinition: [
|
|
18
|
+
zoom,
|
|
19
|
+
"meetingId",
|
|
20
|
+
() => ({
|
|
21
|
+
type: "previous_meetings",
|
|
22
|
+
}),
|
|
23
|
+
],
|
|
24
|
+
description: "The meeting ID to get the recordings for",
|
|
25
|
+
optional: false,
|
|
26
|
+
},
|
|
27
|
+
downloadAccessToken: {
|
|
28
|
+
type: "boolean",
|
|
29
|
+
label: "Download Access Token",
|
|
30
|
+
description: "Whether to include the download access token in the response",
|
|
31
|
+
optional: true,
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
async run({ $ }) {
|
|
35
|
+
try {
|
|
36
|
+
const recordings = await this.zoom.getMeetingRecordings({
|
|
37
|
+
$,
|
|
38
|
+
meetingId: this.meetingId,
|
|
39
|
+
params: {
|
|
40
|
+
include_fields: this.downloadAccessToken
|
|
41
|
+
? "download_access_token"
|
|
42
|
+
: undefined,
|
|
43
|
+
},
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
$.export("$summary", `Retrieved recordings for meeting ${this.meetingId}`);
|
|
47
|
+
return recordings;
|
|
48
|
+
} catch (error) {
|
|
49
|
+
if ((error.response?.status === 404) && (error.response?.data?.code === 3301)) {
|
|
50
|
+
$.export("$summary", "Recordings not found");
|
|
51
|
+
return {};
|
|
52
|
+
}
|
|
53
|
+
throw error;
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import utils from "../../common/utils.mjs";
|
|
2
1
|
import zoom from "../../zoom.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
4
|
key: "zoom-get-meeting-transcript",
|
|
6
5
|
name: "Get Meeting Transcript",
|
|
7
6
|
description: "Get the transcript of a meeting. [See the documentation](https://developers.zoom.us/docs/api/meetings/#tag/cloud-recording/get/meetings/{meetingId}/transcript)",
|
|
8
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.8",
|
|
9
8
|
annotations: {
|
|
10
9
|
destructiveHint: false,
|
|
11
10
|
openWorldHint: true,
|
|
@@ -18,23 +17,16 @@ export default {
|
|
|
18
17
|
propDefinition: [
|
|
19
18
|
zoom,
|
|
20
19
|
"meetingId",
|
|
20
|
+
() => ({
|
|
21
|
+
type: "previous_meetings",
|
|
22
|
+
}),
|
|
21
23
|
],
|
|
22
24
|
description: "The meeting ID to get the transcript for",
|
|
23
25
|
optional: false,
|
|
24
26
|
},
|
|
25
27
|
},
|
|
26
|
-
methods: {
|
|
27
|
-
getMeetingTranscript({
|
|
28
|
-
meetingId, ...opts
|
|
29
|
-
}) {
|
|
30
|
-
return this.zoom._makeRequest({
|
|
31
|
-
path: `/meetings/${utils.doubleEncode(meetingId)}/transcript`,
|
|
32
|
-
...opts,
|
|
33
|
-
});
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
28
|
async run({ $: step }) {
|
|
37
|
-
const transcript = await this.getMeetingTranscript({
|
|
29
|
+
const transcript = await this.zoom.getMeetingTranscript({
|
|
38
30
|
step,
|
|
39
31
|
meetingId: this.meetingId,
|
|
40
32
|
});
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "zoom-get-webinar-details",
|
|
5
5
|
name: "Get Webinar Details",
|
|
6
6
|
description: "Gets details of a scheduled webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/methods/#operation/webinar).",
|
|
7
|
-
version: "0.3.
|
|
7
|
+
version: "0.3.10",
|
|
8
8
|
annotations: {
|
|
9
9
|
destructiveHint: false,
|
|
10
10
|
openWorldHint: true,
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
name: "List Call Recordings",
|
|
5
5
|
description: "Get your account's call recordings. [See the documentation](https://developers.zoom.us/docs/api/rest/reference/phone/methods/#operation/getPhoneRecordings)",
|
|
6
6
|
key: "zoom-list-call-recordings",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.8",
|
|
8
8
|
annotations: {
|
|
9
9
|
destructiveHint: false,
|
|
10
10
|
openWorldHint: true,
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
name: "List Meetings",
|
|
6
6
|
description: "List meetings for a user. [See the documentation](https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/meetings)",
|
|
7
7
|
key: "zoom-list-meetings",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.4",
|
|
9
9
|
type: "action",
|
|
10
10
|
annotations: {
|
|
11
11
|
destructiveHint: false,
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "zoom-list-past-meeting-participants",
|
|
6
6
|
name: "List Past Meeting Participants",
|
|
7
7
|
description: "Retrieve information on participants from a past meeting. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/methods/#operation/pastMeetingParticipants).",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.10",
|
|
9
9
|
annotations: {
|
|
10
10
|
destructiveHint: false,
|
|
11
11
|
openWorldHint: true,
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
name: "List User's Call Logs",
|
|
5
5
|
description: "Gets a user's Zoom phone call logs. [See the documentation](https://developers.zoom.us/docs/zoom-phone/apis/#operation/phoneUserCallLogs)",
|
|
6
6
|
key: "zoom-list-user-call-logs",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.10",
|
|
8
8
|
annotations: {
|
|
9
9
|
destructiveHint: false,
|
|
10
10
|
openWorldHint: true,
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "zoom-list-webinar-participants-report",
|
|
6
6
|
name: "List Webinar Participants Report",
|
|
7
7
|
description: "Retrieves detailed report on each webinar attendee. You can get webinar participant reports for the last 6 months. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/methods/#operation/reportWebinarParticipants).",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.11",
|
|
9
9
|
annotations: {
|
|
10
10
|
destructiveHint: false,
|
|
11
11
|
openWorldHint: true,
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "zoom-new-recording-transcript-completed",
|
|
7
7
|
name: "New Recording Transcript Completed (Instant)",
|
|
8
8
|
description: "Emit new event each time a recording transcript is completed",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.7",
|
|
10
10
|
type: "source",
|
|
11
11
|
dedupe: "unique",
|
|
12
12
|
props: {
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "zoom-recording-completed",
|
|
7
7
|
name: "Recording Completed (Instant)",
|
|
8
8
|
description: "Emit new event each time a new recording completes for a meeting or webinar where you're the host",
|
|
9
|
-
version: "0.1.
|
|
9
|
+
version: "0.1.9",
|
|
10
10
|
type: "source",
|
|
11
11
|
dedupe: "unique",
|
|
12
12
|
props: {
|
package/zoom.app.mjs
CHANGED
|
@@ -35,11 +35,14 @@ export default {
|
|
|
35
35
|
type: "string",
|
|
36
36
|
label: "Meeting ID",
|
|
37
37
|
description: "The meeting ID to get details for.",
|
|
38
|
-
async options({
|
|
38
|
+
async options({
|
|
39
|
+
prevContext, type,
|
|
40
|
+
}) {
|
|
39
41
|
const { nextPageToken } = prevContext;
|
|
40
42
|
const response = await this.listMeetings({
|
|
41
43
|
params: {
|
|
42
44
|
next_page_token: nextPageToken,
|
|
45
|
+
type,
|
|
43
46
|
},
|
|
44
47
|
});
|
|
45
48
|
const options = response.meetings.map((meeting) => ({
|
|
@@ -352,6 +355,22 @@ export default {
|
|
|
352
355
|
...args,
|
|
353
356
|
});
|
|
354
357
|
},
|
|
358
|
+
getMeetingTranscript({
|
|
359
|
+
meetingId, ...opts
|
|
360
|
+
}) {
|
|
361
|
+
return this._makeRequest({
|
|
362
|
+
path: `/meetings/${utils.doubleEncode(meetingId)}/transcript`,
|
|
363
|
+
...opts,
|
|
364
|
+
});
|
|
365
|
+
},
|
|
366
|
+
getMeetingRecordings({
|
|
367
|
+
meetingId, ...opts
|
|
368
|
+
}) {
|
|
369
|
+
return this._makeRequest({
|
|
370
|
+
path: `/meetings/${utils.doubleEncode(meetingId)}/recordings`,
|
|
371
|
+
...opts,
|
|
372
|
+
});
|
|
373
|
+
},
|
|
355
374
|
async listMeetingsOccurrences(meetingId) {
|
|
356
375
|
try {
|
|
357
376
|
meetingId = utils.doubleEncode(meetingId);
|