@pipedream/zoom 0.5.1 → 0.6.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/create-meeting/create-meeting.mjs +1 -1
- package/actions/create-user/create-user.mjs +1 -1
- package/actions/delete-user/delete-user.mjs +1 -1
- package/actions/get-meeting-details/get-meeting-details.mjs +1 -1
- package/actions/get-webinar-details/get-webinar-details.mjs +1 -1
- package/actions/list-call-recordings/list-call-recordings.mjs +67 -0
- package/actions/list-channels/list-channels.mjs +1 -1
- package/actions/list-past-meeting-participants/list-past-meeting-participants.mjs +1 -1
- package/actions/list-past-webinar-qa/list-past-webinar-qa.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/actions/send-chat-message/send-chat-message.mjs +1 -1
- package/actions/update-meeting/update-meeting.mjs +1 -1
- package/actions/update-webinar/update-webinar.mjs +1 -1
- package/actions/view-user/view-user.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/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 +6 -0
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "zoom-add-meeting-registrant",
|
|
5
5
|
name: "Add Meeting Registrant",
|
|
6
6
|
description: "Registers a participant for a meeting. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/methods/#operation/meetingRegistrantCreate)",
|
|
7
|
-
version: "0.3.
|
|
7
|
+
version: "0.3.3",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
app,
|
|
@@ -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.3",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
app,
|
|
@@ -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.3",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
app,
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import zoom from "../../zoom.app.mjs";
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
name: "List Call Recordings",
|
|
5
|
+
description: "Get your account's call recordings. [See the documentation](https://developers.zoom.us/docs/api/rest/reference/phone/methods/#operation/getPhoneRecordings)",
|
|
6
|
+
key: "zoom-list-call-recordings",
|
|
7
|
+
version: "0.0.1",
|
|
8
|
+
type: "action",
|
|
9
|
+
props: {
|
|
10
|
+
zoom,
|
|
11
|
+
infoBox: {
|
|
12
|
+
type: "alert",
|
|
13
|
+
alertType: "info",
|
|
14
|
+
content: "The Zoom API returns calls from the last 30 days by default. You can use the `Start Date` and `End Date` props to change this.",
|
|
15
|
+
},
|
|
16
|
+
startDate: {
|
|
17
|
+
type: "string",
|
|
18
|
+
label: "Start Date",
|
|
19
|
+
description: "The start date/time in `yyyy-mm-dd` or `yyyy-MM-ddTHH:mm:ssZ` format. If `End Date` is not specified, calls made within a 30-day period starting on `Start Date` will be retrieved.",
|
|
20
|
+
optional: true,
|
|
21
|
+
},
|
|
22
|
+
endDate: {
|
|
23
|
+
type: "string",
|
|
24
|
+
label: "End Date",
|
|
25
|
+
description: "The end date/time in `yyyy-mm-dd` or `yyyy-MM-ddTHH:mm:ssZ` format. Calls made after `Start Date` and before `End Date` will be retrieved. Date range should be a maximum of 30 days.",
|
|
26
|
+
optional: true,
|
|
27
|
+
},
|
|
28
|
+
max: {
|
|
29
|
+
propDefinition: [
|
|
30
|
+
zoom,
|
|
31
|
+
"max",
|
|
32
|
+
],
|
|
33
|
+
default: 30,
|
|
34
|
+
min: 1,
|
|
35
|
+
max: 300,
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
async run ({ $ }) {
|
|
39
|
+
const {
|
|
40
|
+
zoom, startDate, endDate, max,
|
|
41
|
+
} = this;
|
|
42
|
+
let to = endDate;
|
|
43
|
+
if (startDate && !endDate) {
|
|
44
|
+
const date = new Date(startDate);
|
|
45
|
+
if (isNaN(date.valueOf())) {
|
|
46
|
+
throw new Error("Invalid format for `Start Date`. Please use `yyyy-mm-dd` or `yyyy-MM-ddTHH:mm:ssZ`.");
|
|
47
|
+
}
|
|
48
|
+
date.setDate(date.getDate() - 30);
|
|
49
|
+
to = date.toISOString();
|
|
50
|
+
if (!startDate.split("T")[1]) {
|
|
51
|
+
to = to.split("T")[0];
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
const { recordings } = await zoom.listCallRecordings({
|
|
55
|
+
step: $,
|
|
56
|
+
params: {
|
|
57
|
+
page_size: max,
|
|
58
|
+
from: startDate,
|
|
59
|
+
to,
|
|
60
|
+
},
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
$.export("$summary", `Successfully fetched ${recordings.length} call recordings`);
|
|
64
|
+
|
|
65
|
+
return recordings;
|
|
66
|
+
},
|
|
67
|
+
};
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "zoom-list-past-meeting-participants",
|
|
5
5
|
name: "List Past Meeting Participants",
|
|
6
6
|
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).",
|
|
7
|
-
version: "0.2.
|
|
7
|
+
version: "0.2.3",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
app,
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "zoom-list-past-webinar-qa",
|
|
6
6
|
name: "List Past Webinar Q&A",
|
|
7
7
|
description: "The feature for Webinars allows attendees to ask questions during the Webinar and for the panelists, co-hosts and host to answer their questions. Use this API to list Q&A of a specific Webinar.",
|
|
8
|
-
version: "0.1.
|
|
8
|
+
version: "0.1.4",
|
|
9
9
|
type: "action",
|
|
10
10
|
props: {
|
|
11
11
|
zoom: {
|
|
@@ -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.3",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
zoom,
|
|
@@ -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.4",
|
|
9
9
|
type: "action",
|
|
10
10
|
props: {
|
|
11
11
|
app,
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "zoom-send-chat-message",
|
|
6
6
|
name: "Send Chat Message",
|
|
7
7
|
description: "Send chat messages on Zoom to either an individual user who is in your contact list or to a of which you are a member.",
|
|
8
|
-
version: "0.1.
|
|
8
|
+
version: "0.1.4",
|
|
9
9
|
type: "action",
|
|
10
10
|
props: {
|
|
11
11
|
zoom: {
|
package/package.json
CHANGED
|
@@ -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.3",
|
|
10
10
|
type: "source",
|
|
11
11
|
dedupe: "unique",
|
|
12
12
|
props: {
|
package/zoom.app.mjs
CHANGED