UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

21 lines (20 loc) 801 B
import { z } from 'zod'; /** * /v2/account/inventory definition */ export declare const AccountInventoryDTO: z.ZodArray<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{ /** Item id. */ id: z.ZodNumber; /** The amount of items in the stack. */ count: z.ZodNumber; /** The amount of charges remaining. */ charges: z.ZodOptional<z.ZodNumber>; /** The skin applied to the item. */ skin: z.ZodOptional<z.ZodNumber>; /** Item ids for runes and signets applied to the item. */ upgrades: z.ZodOptional<z.ZodArray<z.ZodNumber>>; /** Item ids for infusions applied to the item. */ infusions: z.ZodOptional<z.ZodArray<z.ZodNumber>>; /** Item binding. "Account" if available at all. */ binding: z.ZodOptional<z.ZodLiteral<"Account">>; }, z.core.$strict>]>>;