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