import { getEventType } from './cal-com.js'
/**
* Read one Cal.com event type by id.
* @param {Object} input
* @param {number|string} input.id Event type id (`eventTypeId` accepted as alias).
* @returns {Promise<Record<string, unknown>>} Event type detail payload.
* @example
* import getEventType from 'kody:@kody/cal-com/get-event-type'
* const result = await getEventType({ eventTypeId: 123 })
* // => { id: 123, title: '30 Min Meeting', length: 30, ... }
*/
export default async function getEventTypeEntrypoint(input = {}) {
return await getEventType(input)
}