guildwars2-ts
Version:
GuildWars 2 API Wrapper in Typescript
20 lines (19 loc) • 652 B
TypeScript
import type { z } from 'zod';
import { ApiBase } from '../../base/apiBase';
import { QuestsDTO } from '../../models';
import { numberArrayType } from '../v2apiUtils';
/**
* /v2/quests Api
*/
export declare class QuestsApi extends ApiBase {
/**
* Returns information about Story Journal missions within the personal story and Living World.
*/
get(): Promise<z.infer<typeof numberArrayType>>;
/**
* Returns information about Story Journal missions within the personal story and Living World.
*
* @param ids - List of quest ids, or "all"
*/
get(ids: number[] | 'all'): Promise<z.infer<typeof QuestsDTO>>;
}