UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

20 lines (19 loc) 550 B
import type { z } from 'zod'; import { ApiBase } from '../../base/apiBase'; import { EmotesDTO } from '../../models'; import { stringArrayType } from '../v2apiUtils'; /** * /v2/emotes Api */ export declare class EmotesApi extends ApiBase { /** * Returns information about unlockable emotes. */ get(): Promise<z.infer<typeof stringArrayType>>; /** * Returns information about unlockable emotes. * * @param ids - Emote names, or "all" */ get(ids: string[] | 'all'): Promise<z.infer<typeof EmotesDTO>>; }