Skip to content

Built for people who want to own their automations. Join the waitlist for an invite.

Package listing

@kody/cal-com

src/list-event-types.js

14 lines · 530 B · JavaScript
import { listEventTypes } from './cal-com.js'

/**
 * List Cal.com event types for the authenticated account.
 * @param {Object} [input] Optional query filters forwarded to `/event-types`.
 * @returns {Promise<unknown>} Event type list payload.
 * @example
 * import listEventTypes from 'kody:@kody/cal-com/list-event-types'
 * const result = await listEventTypes()
 * // => [{ id: 123, title: '30 Min Meeting', ... }]
 */
export default async function listEventTypesEntrypoint(input = {}) {
	return await listEventTypes(input)
}