UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

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