import { getStandard, parseGetInput, type StandardGetInput } from './wrappers.ts' /** * Get one HubSpot company. * @example * import getCompany from 'kody:@kody/hubspot/get-company' * const record = await getCompany({ id: '123' }) */ export async function getCompany(input: StandardGetInput) { return getStandard('companies', input) } /** * Get one HubSpot company. * @example * import getCompany from 'kody:@kody/hubspot/get-company' * const record = await getCompany({ id: '123' }) */ export default async function getCompanyEntrypoint( params: Partial & Record = {}, ) { return getCompany(parseGetInput(params, 'get-company')) }