UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

18 lines (17 loc) 635 B
import { z } from 'zod'; /** * /v2/guild/:id/treasury definition */ export declare const GuildTreasuryDTO: z.ZodArray<z.ZodObject<{ /** The item id. */ item_id: z.ZodNumber; /** How many items are currently in the treasury. */ count: z.ZodNumber; /** An array of objects describing which currently in-progress upgrades are needing this item. */ needed_by: z.ZodArray<z.ZodObject<{ /** The ID of the upgrade needing this item. */ upgrade_id: z.ZodNumber; /** The total amount the upgrade needs for this item. */ count: z.ZodNumber; }, z.core.$strict>>; }, z.core.$strict>>;