UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

20 lines (19 loc) 629 B
import type { z } from 'zod'; import { ApiBase } from '../../base/apiBase'; import { MailCarriersDTO } from '../../models'; import { numberArrayType } from '../v2apiUtils'; /** * /v2/mailcarriers Api */ export declare class MailCarriersApi extends ApiBase { /** * Returns information about the mail carriers that are in the game. */ get(): Promise<z.infer<typeof numberArrayType>>; /** * Returns information about the mail carriers that are in the game. * * @param ids - List of mail carrier ids, or "all" */ get(ids: number[] | 'all'): Promise<z.infer<typeof MailCarriersDTO>>; }