UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

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