UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

20 lines (19 loc) 597 B
import type { z } from 'zod'; import { ApiBase } from '../../base/apiBase'; import { SkinsDTO } from '../../models'; import { numberArrayType } from '../v2apiUtils'; /** * /v2/skins Api */ export declare class SkinsApi extends ApiBase { /** * Returns information about skins that were discovered by players in the game. */ get(): Promise<z.infer<typeof numberArrayType>>; /** * Returns information about skins that were discovered by players in the game. * * @param ids - List of skin ids */ get(ids: number[]): Promise<z.infer<typeof SkinsDTO>>; }