UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

20 lines (19 loc) 606 B
import type { z } from 'zod'; import { ApiBase } from '../../base/apiBase'; import { MaterialsDTO } from '../../models'; import { numberArrayType } from '../v2apiUtils'; /** * /v2/materials Api. */ export declare class MaterialsApi extends ApiBase { /** * Returns information about the categories in material storage. */ get(): Promise<z.infer<typeof numberArrayType>>; /** * Returns information about the categories in material storage. * * @param ids - List of material ids, or "all" */ get(ids: number[] | 'all'): Promise<z.infer<typeof MaterialsDTO>>; }