Skip to content

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

Package listing

@kody/zendesk

src/list-users.ts

11 lines · 363 B · TypeScript
import { listUsers, parseListUsers } from './users.ts'

/**
 * List Zendesk users.
 * @example
 * import listUsers from 'kody:@kody/zendesk/list-users'
 * const { items } = await listUsers({ perPage: 10, subdomain: 'acme' })
 */
export default async function listUsersEntrypoint(params: Record<string, unknown> = {}) {
	return listUsers(parseListUsers(params))
}