UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

20 lines (19 loc) 591 B
import type { z } from 'zod'; import { ApiBase } from '../../base/apiBase'; import { OutfitsDTO } from '../../models'; import { numberArrayType } from '../v2apiUtils'; /** * /v2/outfits Api */ export declare class OutfitsApi extends ApiBase { /** * Returns information about the outfits that are in the game. */ get(): Promise<z.infer<typeof numberArrayType>>; /** * Returns information about the outfits that are in the game. * * @param ids - List of outfit ids, or "all" */ get(ids: number[] | 'all'): Promise<z.infer<typeof OutfitsDTO>>; }