guildwars2-ts
Version:
GuildWars 2 API Wrapper in Typescript
21 lines (20 loc) • 675 B
TypeScript
import type { z } from 'zod';
import { ApiBase } from '../../base/apiBase';
import { MasteriesDTO } from '../../models';
import { numberArrayType } from '../v2apiUtils';
/**
* /v2/masteries Api
* NOTE: This endpoint is known to have missing or incomplete data
*/
export declare class MasteriesApi extends ApiBase {
/**
* Returns information about masteries that are available in-game.
*/
get(): Promise<z.infer<typeof numberArrayType>>;
/**
* Returns information about masteries that are available in-game.
*
* @param ids - List of mastery ids, or "all"
*/
get(ids: number[] | 'all'): Promise<z.infer<typeof MasteriesDTO>>;
}