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