UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

37 lines (36 loc) 1.13 kB
import { z } from 'zod'; /** * /v2/account definition */ export declare const AccountDTO: z.ZodObject<{ /** Account id. */ id: z.ZodString; /** Account age. */ age: z.ZodNumber; /** Account name. */ name: z.ZodString; /** Current account world. */ world: z.ZodNumber; /** Account memberships. */ guilds: z.ZodArray<z.ZodString>; /** Account leaderships. */ guild_leader: z.ZodArray<z.ZodString>; /** Account creation date. */ created: z.ZodString; /** Account expansion access status. */ access: z.ZodArray<z.ZodString>; /** Account commander tag. */ commander: z.ZodBoolean; /** Account fractal level. */ fractal_level: z.ZodNumber; /** Account daily achievement points. */ daily_ap: z.ZodNumber; /** Account monthly achievement points. */ monthly_ap: z.ZodNumber; /** Account World vs World rank. */ wvw_rank: z.ZodNumber; /** Last modification date. */ last_modified: z.ZodOptional<z.ZodString>; /** Account build storage slots. */ build_storage_slots: z.ZodOptional<z.ZodNumber>; }, z.core.$strict>;