import { addTicketComment, parseAddTicketComment } from './tickets.ts'
/**
* Add a comment to a Zendesk ticket. Requires `confirm: true`, or use `dryRun: true`.
* @example
* import addTicketComment from 'kody:@kody/zendesk/add-ticket-comment'
* const preview = await addTicketComment({ id, comment: 'Looking into this.', dryRun: true, subdomain: 'acme' })
*/
export default async function addTicketCommentEntrypoint(params: Record<string, unknown> = {}) {
return addTicketComment(parseAddTicketComment(params))
}