guildwars2-ts
Version:
GuildWars 2 API Wrapper in Typescript
20 lines (19 loc) • 602 B
TypeScript
import type { z } from 'zod';
import { ApiBase } from '../../base/apiBase';
import { DungeonsDTO } from '../../models';
import { stringArrayType } from '../v2apiUtils';
/**
* /v2/dungeons Api
*/
export declare class DungeonsApi extends ApiBase {
/**
* Returns details about each dungeon, and it's associated paths.
*/
get(): Promise<z.infer<typeof stringArrayType>>;
/**
* Returns details about each dungeon, and it's associated paths.
*
* @param ids - List of dungeon ids, or "all"
*/
get(ids: string[] | 'all'): Promise<z.infer<typeof DungeonsDTO>>;
}