
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@restackio/integrations-calendly
Advanced tools
This package provides an integration for Calendly's API, specifically tailored for use with the Restack AI framework.
This package provides an integration for Calendly's API, specifically tailored for use with the Restack AI framework.
To install the package, use npm or yarn:
npm install @restackio/integrations-calendly
// services.ts
import Restack from "@restackio/ai";
import { calendlyService } from "@restackio/integrations-calendly";
export async function services() {
const client = new Restack();
calendlyService({ client }).catch((err) => {
console.error("Error starting Calendly service:", err);
});
}
services().catch((err) => {
console.error("Error running services:", err);
});
To list scheduled events, you can use the listScheduledEvents
function. This function corresponds to the Calendly API endpoint /scheduled_events
, which accepts various filtering parameters.
// listScheduledEventsWorkflow.ts
import { log, step } from "@restackio/ai/workflow";
import * as calendlyFunctions from "@restackio/integrations-calendly/functions";
import { calendlyTaskQueue } from "@restackio/integrations-calendly/taskQueue";
export async function listScheduledEventsWorkflow() {
const params = {
user: "user_uri",
count: 10,
invitee_email: "example@domain.com",
status: "active",
};
const events = await step<typeof calendlyFunctions>({
taskQueue: calendlyTaskQueue,
}).listScheduledEvents(params);
log.info("Fetched scheduled events", { events });
}
To create a new event type, use the createEventType
function, which corresponds to the Calendly API endpoint /one_off_event_types
. This function allows you to set up one-off event types tailored to specific workflows.
// createEventTypeWorkflow.ts
import { log, step } from "@restackio/ai/workflow";
import * as calendlyFunctions from "@restackio/integrations-calendly/functions";
import { calendlyTaskQueue } from "@restackio/integrations-calendly/taskQueue";
export async function createEventTypeWorkflow() {
const eventTypeData = {
name: "New Event Type",
host: "https://api.calendly.com/users/your-user-id",
duration: 30,
timezone: "America/New_York",
date_setting: {
type: "date_range",
start_date: "2024-12-01",
end_date: "2024-12-31",
},
location: {
kind: "physical",
location: "Main Office",
additional_info: "Check-in at the front desk",
},
};
const createdEvent = await step<typeof calendlyFunctions>({
taskQueue: calendlyTaskQueue,
}).createEventType(eventTypeData);
log.info("Created new event type", { eventName: createdEvent.name });
}
This package uses environment variables for configuration. Ensure that you set up:
CALENDLY_API_KEY
: Your Calendly API keyFor more details on the API endpoints used in this integration, refer to the following documentation:
FAQs
This package provides an integration for Calendly's API, specifically tailored for use with the Restack AI framework.
The npm package @restackio/integrations-calendly receives a total of 2 weekly downloads. As such, @restackio/integrations-calendly popularity was classified as not popular.
We found that @restackio/integrations-calendly demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.