UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

20 lines (19 loc) 609 B
import type { z } from 'zod'; import { ApiBase } from '../../base/apiBase'; import { CurrenciesDTO } from '../../models'; import { numberArrayType } from '../v2apiUtils'; /** * /v2/currencies Api */ export declare class CurrenciesApi extends ApiBase { /** * Returns a list of the currencies contained in the account wallet. */ get(): Promise<z.infer<typeof numberArrayType>>; /** * Returns a list of the currencies contained in the account wallet. * * @param ids - Currency ids, or "all" */ get(ids: number[] | 'all'): Promise<z.infer<typeof CurrenciesDTO>>; }