Skip to content

Commit e3f38e0

Browse files
authored
Merging pull request #18901
* Update Zoom components to version 0.7.1 and 0.13.1; refactor API paths to use double encoding for meeting and webinar IDs. Adjusted action versions for consistency and improved utility functions for better handling of URLs. * Update Zoom component versions to ensure consistency across actions and sources, including increments for meeting and webinar registrants, transcripts, call logs, and various event sources. Adjusted versions for improved clarity and functionality. * Enhance doubleEncode function to ensure input is a string before checking for URL patterns, improving robustness in URL encoding. * Refactor Zoom actions to utilize doubleEncode from common utils, ensuring consistent URL encoding for meeting and webinar identifiers across multiple components. * Refactor Zoom actions to consistently use doubleEncode from common utils for URL paths, enhancing URL encoding for meeting and webinar identifiers. * Refactor list-past-meeting-participants action to use utils for doubleEncode, ensuring consistent URL encoding for meeting IDs. * Refactor webinar-changes-to-panelists to import sanitizedArray from common utils, ensuring consistent utility usage across components.
1 parent aca1c61 commit e3f38e0

File tree

82 files changed

+149
-110
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+149
-110
lines changed

components/zoom/actions/add-meeting-registrant/add-meeting-registrant.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "zoom-add-meeting-registrant",
55
name: "Add Meeting Registrant",
66
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.4",
7+
version: "0.3.5",
88
annotations: {
99
destructiveHint: false,
1010
openWorldHint: true,

components/zoom/actions/add-webinar-registrant/add-webinar-registrant.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "zoom-add-webinar-registrant",
55
name: "Add Webinar Registrant",
66
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.4",
7+
version: "0.3.5",
88
annotations: {
99
destructiveHint: false,
1010
openWorldHint: true,

components/zoom/actions/get-meeting-details/get-meeting-details.mjs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
// legacy_hash_id: a_Xzi12a
22
import { axios } from "@pipedream/platform";
3+
import utils from "../../common/utils.mjs";
34

45
export default {
56
key: "zoom-get-meeting-details",
67
name: "Get Meeting Details",
78
description: "Retrieves the details of a meeting.",
8-
version: "0.3.5",
9+
version: "0.3.6",
910
annotations: {
1011
destructiveHint: false,
1112
openWorldHint: true,
@@ -30,7 +31,7 @@ export default {
3031
async run({ $ }) {
3132
//See the API docs here: https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meeting
3233
const config = {
33-
url: `https://api.zoom.us/v2/meetings/${this.meeting_id}`,
34+
url: `https://api.zoom.us/v2/meetings/${utils.doubleEncode(this.meeting_id)}`,
3435
params: {
3536
occurrence_id: this.occurrence_id,
3637
},

components/zoom/actions/get-meeting-transcript/get-meeting-transcript.mjs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
import utils from "../../common/utils.mjs";
12
import zoom from "../../zoom.app.mjs";
23

34
export default {
45
key: "zoom-get-meeting-transcript",
56
name: "Get Meeting Transcript",
67
description: "Get the transcript of a meeting. [See the documentation](https://developers.zoom.us/docs/api/meetings/#tag/cloud-recording/get/meetings/{meetingId}/transcript)",
7-
version: "0.0.2",
8+
version: "0.0.3",
89
annotations: {
910
destructiveHint: false,
1011
openWorldHint: true,
@@ -27,7 +28,7 @@ export default {
2728
meetingId, ...opts
2829
}) {
2930
return this.zoom._makeRequest({
30-
path: `/meetings/${meetingId}/transcript`,
31+
path: `/meetings/${utils.doubleEncode(meetingId)}/transcript`,
3132
...opts,
3233
});
3334
},

components/zoom/actions/get-webinar-details/get-webinar-details.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "zoom-get-webinar-details",
55
name: "Get Webinar Details",
66
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.4",
7+
version: "0.3.5",
88
annotations: {
99
destructiveHint: false,
1010
openWorldHint: true,

components/zoom/actions/list-call-recordings/list-call-recordings.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
name: "List Call Recordings",
55
description: "Get your account's call recordings. [See the documentation](https://developers.zoom.us/docs/api/rest/reference/phone/methods/#operation/getPhoneRecordings)",
66
key: "zoom-list-call-recordings",
7-
version: "0.0.2",
7+
version: "0.0.3",
88
annotations: {
99
destructiveHint: false,
1010
openWorldHint: true,

components/zoom/actions/list-past-meeting-participants/list-past-meeting-participants.mjs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
import utils from "../../common/utils.mjs";
12
import app from "../../zoom.app.mjs";
23

34
export default {
45
key: "zoom-list-past-meeting-participants",
56
name: "List Past Meeting Participants",
67
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.4",
8+
version: "0.2.5",
89
annotations: {
910
destructiveHint: false,
1011
openWorldHint: true,
@@ -25,7 +26,7 @@ export default {
2526
meetingId, ...args
2627
} = {}) {
2728
return this.app._makeRequest({
28-
path: `/past_meetings/${meetingId}/participants`,
29+
path: `/past_meetings/${utils.doubleEncode(meetingId)}/participants`,
2930
...args,
3031
});
3132
},

components/zoom/actions/list-past-webinar-qa/list-past-webinar-qa.mjs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
// legacy_hash_id: a_67iQp1
22
import { axios } from "@pipedream/platform";
3+
import utils from "../../common/utils.mjs";
34

45
export default {
56
key: "zoom-list-past-webinar-qa",
67
name: "List Past Webinar Q&A",
78
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.5",
9+
version: "0.1.6",
910
annotations: {
1011
destructiveHint: false,
1112
openWorldHint: true,
@@ -25,7 +26,7 @@ export default {
2526
},
2627
async run({ $ }) {
2728
const config = {
28-
url: `https://api.zoom.us/v2/past_webinars/${this.webinarID}/qa`,
29+
url: `https://api.zoom.us/v2/past_webinars/${utils.doubleEncode(this.webinarID)}/qa`,
2930
headers: {
3031
Authorization: `Bearer ${this.zoom.$auth.oauth_access_token}`,
3132
},

components/zoom/actions/list-user-call-logs/list-user-call-logs.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
name: "List User's Call Logs",
55
description: "Gets a user's Zoom phone call logs. [See the documentation](https://developers.zoom.us/docs/zoom-phone/apis/#operation/phoneUserCallLogs)",
66
key: "zoom-list-user-call-logs",
7-
version: "0.0.4",
7+
version: "0.0.5",
88
annotations: {
99
destructiveHint: false,
1010
openWorldHint: true,

components/zoom/actions/list-webinar-participants-report/list-webinar-participants-report.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "zoom-list-webinar-participants-report",
66
name: "List Webinar Participants Report",
77
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.5",
8+
version: "0.0.6",
99
annotations: {
1010
destructiveHint: false,
1111
openWorldHint: true,
@@ -38,7 +38,7 @@ export default {
3838
webinarId, ...args
3939
} = {}) {
4040
return this.app._makeRequest({
41-
path: `/report/webinars/${webinarId}/participants`,
41+
path: `/report/webinars/${utils.doubleEncode(webinarId)}/participants`,
4242
...args,
4343
});
4444
},

0 commit comments

Comments
 (0)