guildwars2-ts
Version:
GuildWars 2 API Wrapper in Typescript
20 lines (19 loc) • 653 B
TypeScript
import type { z } from 'zod';
import { ApiBase } from '../../base/apiBase';
import { FilesDTO } from '../../models';
import { stringArrayType } from '../v2apiUtils';
/**
* /v2/files Api
*/
export declare class FilesApi extends ApiBase {
/**
* Returns commonly requested in-game assets that may be used to enhance API-derived applications.
*/
get(): Promise<z.infer<typeof stringArrayType>>;
/**
* Returns commonly requested in-game assets that may be used to enhance API-derived applications.
*
* @param ids - List of file ids, or "all"
*/
get(ids: string[] | 'all'): Promise<z.infer<typeof FilesDTO>>;
}