Skip to content

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

Package listing

@kody/zendesk

src/list-ticket-comments.ts

11 lines · 444 B · TypeScript
import { listTicketComments, parseListTicketComments } from './tickets.ts'

/**
 * List comments on a Zendesk ticket.
 * @example
 * import listTicketComments from 'kody:@kody/zendesk/list-ticket-comments'
 * const { items } = await listTicketComments({ id, subdomain: 'acme' })
 */
export default async function listTicketCommentsEntrypoint(params: Record<string, unknown> = {}) {
	return listTicketComments(parseListTicketComments(params))
}