@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.
Files changed (32) hide show
  1. package/actions/add-meeting-registrant/add-meeting-registrant.mjs +1 -1
  2. package/actions/add-webinar-registrant/add-webinar-registrant.mjs +1 -1
  3. package/actions/create-meeting/create-meeting.mjs +1 -1
  4. package/actions/create-user/create-user.mjs +1 -1
  5. package/actions/delete-user/delete-user.mjs +1 -1
  6. package/actions/get-meeting-details/get-meeting-details.mjs +1 -1
  7. package/actions/get-webinar-details/get-webinar-details.mjs +1 -1
  8. package/actions/list-call-recordings/list-call-recordings.mjs +67 -0
  9. package/actions/list-channels/list-channels.mjs +1 -1
  10. package/actions/list-past-meeting-participants/list-past-meeting-participants.mjs +1 -1
  11. package/actions/list-past-webinar-qa/list-past-webinar-qa.mjs +1 -1
  12. package/actions/list-user-call-logs/list-user-call-logs.mjs +1 -1
  13. package/actions/list-webinar-participants-report/list-webinar-participants-report.mjs +1 -1
  14. package/actions/send-chat-message/send-chat-message.mjs +1 -1
  15. package/actions/update-meeting/update-meeting.mjs +1 -1
  16. package/actions/update-webinar/update-webinar.mjs +1 -1
  17. package/actions/view-user/view-user.mjs +1 -1
  18. package/package.json +1 -1
  19. package/sources/custom-event/custom-event.mjs +1 -1
  20. package/sources/meeting-created/meeting-created.mjs +1 -1
  21. package/sources/meeting-deleted/meeting-deleted.mjs +1 -1
  22. package/sources/meeting-ended/meeting-ended.mjs +1 -1
  23. package/sources/meeting-started/meeting-started.mjs +1 -1
  24. package/sources/meeting-updated/meeting-updated.mjs +1 -1
  25. package/sources/phone-event/phone-event.mjs +1 -1
  26. package/sources/recording-completed/recording-completed.mjs +1 -1
  27. package/sources/webinar-created/webinar-created.mjs +1 -1
  28. package/sources/webinar-deleted/webinar-deleted.mjs +1 -1
  29. package/sources/webinar-ended/webinar-ended.mjs +1 -1
  30. package/sources/webinar-started/webinar-started.mjs +1 -1
  31. package/sources/webinar-updated/webinar-updated.mjs +1 -1
  32. 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.2",
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.2",
7
+ version: "0.3.3",
8
8
  type: "action",
9
9
  props: {
10
10
  app,
@@ -5,7 +5,7 @@ export default {
5
5
  key: "zoom-create-meeting",
6
6
  name: "Create Meeting",
7
7
  description: "Creates a meeting for a user. A maximum of 100 meetings can be created for a user in a day.",
8
- version: "0.1.3",
8
+ version: "0.1.4",
9
9
  type: "action",
10
10
  props: {
11
11
  zoom: {
@@ -5,7 +5,7 @@ export default {
5
5
  key: "zoom-create-user",
6
6
  name: "Create User",
7
7
  description: "Creates a new user in your account.",
8
- version: "0.2.3",
8
+ version: "0.2.4",
9
9
  type: "action",
10
10
  props: {
11
11
  zoom: {
@@ -5,7 +5,7 @@ export default {
5
5
  key: "zoom-delete-user",
6
6
  name: "Delete User",
7
7
  description: "Disassociates (unlinks) a user from the associated account or permanently deletes a user.",
8
- version: "0.2.3",
8
+ version: "0.2.4",
9
9
  type: "action",
10
10
  props: {
11
11
  zoom: {
@@ -5,7 +5,7 @@ export default {
5
5
  key: "zoom-get-meeting-details",
6
6
  name: "Get Meeting Details",
7
7
  description: "Retrieves the details of a meeting.",
8
- version: "0.3.3",
8
+ version: "0.3.4",
9
9
  type: "action",
10
10
  props: {
11
11
  zoom: {
@@ -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.2",
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
+ };
@@ -5,7 +5,7 @@ export default {
5
5
  key: "zoom-list-channels",
6
6
  name: "List Channels",
7
7
  description: "List a user's chat channels.",
8
- version: "0.1.3",
8
+ version: "0.1.4",
9
9
  type: "action",
10
10
  props: {
11
11
  zoom: {
@@ -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.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.3",
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.2",
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.3",
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.3",
8
+ version: "0.1.4",
9
9
  type: "action",
10
10
  props: {
11
11
  zoom: {
@@ -5,7 +5,7 @@ export default {
5
5
  key: "zoom-update-meeting",
6
6
  name: "Update Meeting",
7
7
  description: "Updates an existing Zoom meeting",
8
- version: "0.1.3",
8
+ version: "0.1.4",
9
9
  type: "action",
10
10
  props: {
11
11
  zoom: {
@@ -5,7 +5,7 @@ export default {
5
5
  key: "zoom-update-webinar",
6
6
  name: "Update Webinar",
7
7
  description: "Update a webinar's topic, start time, or other settings",
8
- version: "0.1.3",
8
+ version: "0.1.4",
9
9
  type: "action",
10
10
  props: {
11
11
  zoom: {
@@ -5,7 +5,7 @@ export default {
5
5
  key: "zoom-view-user",
6
6
  name: "View User",
7
7
  description: "View your user information",
8
- version: "0.1.3",
8
+ version: "0.1.4",
9
9
  type: "action",
10
10
  props: {
11
11
  zoom: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/zoom",
3
- "version": "0.5.1",
3
+ "version": "0.6.0",
4
4
  "description": "Pipedream Zoom Components",
5
5
  "main": "zoom.app.mjs",
6
6
  "keywords": [
@@ -6,7 +6,7 @@ export default {
6
6
  key: "zoom-custom-event",
7
7
  name: "Custom Events (Instant)",
8
8
  description: "Emit new events tied to your Zoom user or resources you own",
9
- version: "0.1.2",
9
+ version: "0.1.3",
10
10
  type: "source",
11
11
  dedupe: "unique",
12
12
  props: {
@@ -6,7 +6,7 @@ export default {
6
6
  key: "zoom-meeting-created",
7
7
  name: "Meeting Created (Instant)",
8
8
  description: "Emit new event each time a meeting is created where you're the host",
9
- version: "0.1.2",
9
+ version: "0.1.3",
10
10
  type: "source",
11
11
  dedupe: "unique",
12
12
  props: {
@@ -6,7 +6,7 @@ export default {
6
6
  key: "zoom-meeting-deleted",
7
7
  name: "Meeting Deleted (Instant)",
8
8
  description: "Emit new event each time a meeting is deleted where you're the host",
9
- version: "0.1.2",
9
+ version: "0.1.3",
10
10
  type: "source",
11
11
  dedupe: "unique",
12
12
  props: {
@@ -6,7 +6,7 @@ export default {
6
6
  key: "zoom-meeting-ended",
7
7
  name: "Meeting Ended (Instant)",
8
8
  description: "Emit new event each time a meeting ends where you're the host",
9
- version: "0.1.2",
9
+ version: "0.1.3",
10
10
  type: "source",
11
11
  dedupe: "unique",
12
12
  props: {
@@ -6,7 +6,7 @@ export default {
6
6
  key: "zoom-meeting-started",
7
7
  name: "Meeting Started (Instant)",
8
8
  description: "Emit new event each time a meeting starts where you're the host",
9
- version: "0.1.3",
9
+ version: "0.1.4",
10
10
  type: "source",
11
11
  dedupe: "unique",
12
12
  props: {
@@ -6,7 +6,7 @@ export default {
6
6
  key: "zoom-meeting-updated",
7
7
  name: "Meeting Updated (Instant)",
8
8
  description: "Emit new event each time a meeting is updated where you're the host",
9
- version: "0.1.2",
9
+ version: "0.1.3",
10
10
  type: "source",
11
11
  dedupe: "unique",
12
12
  props: {
@@ -6,7 +6,7 @@ export default {
6
6
  key: "zoom-phone-event",
7
7
  name: "Zoom Phone Events (Instant)",
8
8
  description: "Emit new Zoom Phone event tied to your Zoom user or resources you own",
9
- version: "0.1.2",
9
+ version: "0.1.3",
10
10
  type: "source",
11
11
  props: {
12
12
  ...common.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.2",
9
+ version: "0.1.3",
10
10
  type: "source",
11
11
  dedupe: "unique",
12
12
  props: {
@@ -6,7 +6,7 @@ export default {
6
6
  key: "zoom-webinar-created",
7
7
  name: "Webinar Created (Instant)",
8
8
  description: "Emit new event each time a webinar is created where you're the host",
9
- version: "0.1.2",
9
+ version: "0.1.3",
10
10
  type: "source",
11
11
  dedupe: "unique",
12
12
  props: {
@@ -6,7 +6,7 @@ export default {
6
6
  key: "zoom-webinar-deleted",
7
7
  name: "Webinar Deleted (Instant)",
8
8
  description: "Emit new event each time a webinar is deleted where you're the host",
9
- version: "0.1.2",
9
+ version: "0.1.3",
10
10
  type: "source",
11
11
  dedupe: "unique",
12
12
  props: {
@@ -6,7 +6,7 @@ export default {
6
6
  key: "zoom-webinar-ended",
7
7
  name: "Webinar Ended (Instant)",
8
8
  description: "Emit new event each time a webinar ends where you're the host",
9
- version: "0.1.2",
9
+ version: "0.1.3",
10
10
  type: "source",
11
11
  dedupe: "unique",
12
12
  props: {
@@ -6,7 +6,7 @@ export default {
6
6
  key: "zoom-webinar-started",
7
7
  name: "Webinar Started (Instant)",
8
8
  description: "Emit new event each time a webinar starts where you're the host",
9
- version: "0.1.2",
9
+ version: "0.1.3",
10
10
  type: "source",
11
11
  dedupe: "unique",
12
12
  props: {
@@ -6,7 +6,7 @@ export default {
6
6
  key: "zoom-webinar-updated",
7
7
  name: "Webinar Updated (Instant)",
8
8
  description: "Emit new event each time a webinar is updated where you're the host",
9
- version: "0.1.2",
9
+ version: "0.1.3",
10
10
  type: "source",
11
11
  dedupe: "unique",
12
12
  props: {
package/zoom.app.mjs CHANGED
@@ -290,6 +290,12 @@ export default {
290
290
  ...args,
291
291
  });
292
292
  },
293
+ listCallRecordings(args = {}) {
294
+ return this._makeRequest({
295
+ path: "/phone/recordings",
296
+ ...args,
297
+ });
298
+ },
293
299
  async *getResourcesStream({
294
300
  resourceFn,
295
301
  resourceFnArgs,