UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

20 lines (19 loc) 524 B
import type { z } from 'zod'; import { ApiBase } from '../../base/apiBase'; import { QuaggansDTO } from '../../models'; import { stringArrayType } from '../v2apiUtils'; /** * /v2/quaggans Api */ export declare class QuaggansApi extends ApiBase { /** * Returns quaggan images. */ get(): Promise<z.infer<typeof stringArrayType>>; /** * Returns quaggan images. * * @param ids - List of quaggan ids, or "all" */ get(ids: string[] | 'all'): Promise<z.infer<typeof QuaggansDTO>>; }