Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import calendly from "../../calendly_v2.app.mjs";
import { axios } from "@pipedream/platform";
import calendly from "../../calendly_v2.app.mjs";

export default {
key: "calendly_v2-create-invitee-no-show",
name: "Create Invitee No Show",
description: "Marks an Invitee as a No Show in Calendly. [See the documentation](https://calendly.stoplight.io/docs/api-docs/cebd8c3170790-create-invitee-no-show).",
version: "0.0.2",
version: "0.0.3",
type: "action",
props: {
calendly,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "calendly_v2-create-scheduling-link",
name: "Create a Scheduling Link",
description: "Creates a single-use scheduling link. [See the documentation](https://calendly.stoplight.io/docs/api-docs/b3A6MzQyNTM0OQ-create-single-use-scheduling-link)",
version: "0.0.4",
version: "0.0.5",
type: "action",
props: {
calendly,
Expand Down
2 changes: 1 addition & 1 deletion components/calendly_v2/actions/get-event/get-event.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
key: "calendly_v2-get-event",
name: "Get Event",
description: "Gets information about an Event associated with a URI. [See the documentation](https://developer.calendly.com/api-docs/e2f95ebd44914-get-event).",
version: "0.1.4",
version: "0.1.5",
type: "action",
props: {
calendly,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "calendly_v2-list-event-invitees",
name: "List Event Invitees",
description: "List invitees for an event. [See the documentation](https://calendly.stoplight.io/docs/api-docs/b3A6NTkxNDEx-list-event-invitees)",
version: "0.0.4",
version: "0.0.5",
type: "action",
props: {
calendly,
Expand Down
2 changes: 1 addition & 1 deletion components/calendly_v2/actions/list-events/list-events.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "calendly_v2-list-events",
name: "List Events",
description: "List events for an user. [See the documentation](https://calendly.stoplight.io/docs/api-docs/b3A6NTkxNDEy-list-events)",
version: "0.0.4",
version: "0.0.5",
type: "action",
props: {
calendly,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import calendly from "../../calendly_v2.app.mjs";

export default {
key: "calendly_v2-list-user-availability-schedules",
name: "List User Availability Schedules",
description: "List the availability schedules of the given user. [See the documentation](https://developer.calendly.com/api-docs/8098de44af94c-list-user-availability-schedules)",
version: "0.0.1",
type: "action",
props: {
calendly,
organization: {
propDefinition: [
calendly,
"organization",
],
},
user: {
propDefinition: [
calendly,
"user",
(c) => ({
organization: c.organization,
}),
],
description: "The ID of the user for whom you want to retrieve availability schedules.",
},
},
async run({ $ }) {
const response = await this.calendly.listUserAvailabilitySchedules(this.user, $);
$.export("$summary", `Successfully retrieved availability schedules for user ${this.user}`);
return response;
},
};
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
key: "calendly_v2-list-webhook-subscriptions",
name: "List Webhook Subscriptions",
description: "Get a list of Webhook Subscriptions for an Organization or User with a UUID.",
version: "0.1.4",
version: "0.1.5",
type: "action",
props: {
calendly_v2: {

Check warning on line 11 in components/calendly_v2/actions/list-webhook-subscriptions/list-webhook-subscriptions.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

Component prop calendly_v2 must have a label. See https://pipedream.com/docs/components/guidelines/#props

Check warning on line 11 in components/calendly_v2/actions/list-webhook-subscriptions/list-webhook-subscriptions.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

Component prop calendly_v2 must have a description. See https://pipedream.com/docs/components/guidelines/#props
type: "app",
app: "calendly_v2",
},
scope: {

Check warning on line 15 in components/calendly_v2/actions/list-webhook-subscriptions/list-webhook-subscriptions.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

Component prop scope must have a label. See https://pipedream.com/docs/components/guidelines/#props
type: "string",
description: "Filter the list by organization or user.",
options: [
Expand All @@ -20,26 +20,26 @@
"user",
],
},
organization_uri: {

Check warning on line 23 in components/calendly_v2/actions/list-webhook-subscriptions/list-webhook-subscriptions.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

Component prop organization_uri must have a label. See https://pipedream.com/docs/components/guidelines/#props
type: "string",
description: "Indicates if the results should be filtered by organization, by entering an organization 's URI, such as `https://api.calendly.com/organizations/012345678901234567890`.",
},
user_uri: {

Check warning on line 27 in components/calendly_v2/actions/list-webhook-subscriptions/list-webhook-subscriptions.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

Component prop user_uri must have a label. See https://pipedream.com/docs/components/guidelines/#props
type: "string",
description: "Indicates if the results should be filtered by user, by entering a user's URI, such as `https://api.calendly.com/users/CAFHCZWDQLKQ73HX`. You can use the [Get User](https://developer.calendly.com/docs/api-docs/reference/calendly-api/openapi.yaml/paths/~1users~1me/get) endpoint to find a user's URI.",
optional: true,
},
count: {

Check warning on line 32 in components/calendly_v2/actions/list-webhook-subscriptions/list-webhook-subscriptions.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

Component prop count must have a label. See https://pipedream.com/docs/components/guidelines/#props
type: "string",
description: "The number of rows to return.",
optional: true,
},
page_token: {

Check warning on line 37 in components/calendly_v2/actions/list-webhook-subscriptions/list-webhook-subscriptions.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

Component prop page_token must have a label. See https://pipedream.com/docs/components/guidelines/#props
type: "string",
description: "The token to pass to get the next portion of the collection.",
optional: true,
},
sort: {

Check warning on line 42 in components/calendly_v2/actions/list-webhook-subscriptions/list-webhook-subscriptions.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

Component prop sort must have a label. See https://pipedream.com/docs/components/guidelines/#props
type: "string",
description: "Order results by the specified field and direction. Accepts comma-separated list of {field}:{direction} values. Supported fields are: created_at. Sort direction is specified as: asc, desc.",
optional: true,
Expand Down
14 changes: 14 additions & 0 deletions components/calendly_v2/calendly_v2.app.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,20 @@ export default {

return this._makeRequest(opts, $);
},
async listUserAvailabilitySchedules(uuid, $) {
const user = this._buildUserUri(uuid);
const opts = {
path: "/user_availability_schedules",
params: {
user,
},
};

return axios(
$ ?? this,
this._makeRequestOpts(opts),
);
},
async getEvent(uuid, $) {
const opts = {
path: `/scheduled_events/${uuid}`,
Expand Down
2 changes: 1 addition & 1 deletion components/calendly_v2/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/calendly_v2",
"version": "1.2.1",
"version": "1.3.0",
"description": "Pipedream Calendly V2 Components",
"main": "calendly_v2.app.mjs",
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "calendly_v2-invitee-canceled",
name: "New Invitee Canceled",
description: "Emit new event when an event is canceled.",
version: "0.0.2",
version: "0.0.3",
type: "source",
dedupe: "unique",
props: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "calendly_v2-invitee-created",
name: "New Invitee Created",
description: "Emit new event when a new event is scheduled.",
version: "0.0.3",
version: "0.0.4",
type: "source",
dedupe: "unique",
props: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform";
import app from "../../calendly_v2.app.mjs";
import sampleEmit from "./test-event.mjs";
import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform";

export default {
key: "calendly_v2-new-event-scheduled",
name: "New Event Scheduled",
description: "Emit new event when a event is scheduled.",
version: "0.0.6",
version: "0.0.7",
type: "source",
dedupe: "unique",
props: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "calendly_v2-routing-form-submission-created",
name: "New Routing Form Submission Created",
description: "Emit new event when a new routing form submission is created.",
version: "0.0.2",
version: "0.0.3",
type: "source",
dedupe: "unique",
methods: {
Expand Down
2 changes: 1 addition & 1 deletion components/line_messaging_api/line_messaging_api.app.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ export default {
console.log(Object.keys(this.$auth));
},
},
};
};
3 changes: 1 addition & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading