guildwars2-ts
Version:
GuildWars 2 API Wrapper in Typescript
20 lines (19 loc) • 678 B
TypeScript
import type { z } from 'zod';
import { ApiBase } from '../../base/apiBase';
import { ColorsDTO } from '../../models';
import { numberArrayType } from '../v2apiUtils';
/**
* /v2/colors Api
*/
export declare class ColorsApi extends ApiBase {
/**
* Returns all dye colors in the game, including localized names and their color component information.
*/
get(): Promise<z.infer<typeof numberArrayType>>;
/**
* Returns all dye colors in the game, including localized names and their color component information.
*
* @param ids - Ids of the requested colors, or "all"
*/
get(ids: number[] | 'all'): Promise<z.infer<typeof ColorsDTO>>;
}