Skip to content
← Public packages

@kody/zendesk

Call Zendesk tickets, users, and Help Center articles through OAuth or an API token.

FollowFork

Files

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))
}