guildwars2-ts
Version:
GuildWars 2 API Wrapper in Typescript
18 lines (17 loc) • 580 B
TypeScript
import type { z } from 'zod';
import { ApiBase } from '../../base/apiBase';
import { TitlesDTO } from '../../models';
import { numberArrayType } from '../v2apiUtils';
/** /v2/titles Api */
export declare class TitlesApi extends ApiBase {
/**
* Returns information about the titles that are in the game.
*/
get(): Promise<z.infer<typeof numberArrayType>>;
/**
* Returns information about the titles that are in the game.
*
* @param ids - List of title ids, or "all"
*/
get(ids: number[] | 'all'): Promise<z.infer<typeof TitlesDTO>>;
}