UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

148 lines (147 loc) 6.28 kB
import { z } from 'zod'; export declare const ItemAttributesGeneric: z.ZodObject<{ /** Agony Resistance. */ AgonyResistance: z.ZodOptional<z.ZodNumber>; /** Boon Duration. */ BoonDuration: z.ZodOptional<z.ZodNumber>; /** Condition Damage. */ ConditionDamage: z.ZodOptional<z.ZodNumber>; /** Condition Duration. */ ConditionDuration: z.ZodOptional<z.ZodNumber>; /** Critical Damage. */ CritDamage: z.ZodOptional<z.ZodNumber>; /** Healing Power. */ Healing: z.ZodOptional<z.ZodNumber>; /** Power. */ Power: z.ZodOptional<z.ZodNumber>; /** Precision. */ Precision: z.ZodOptional<z.ZodNumber>; /** Toughness. */ Toughness: z.ZodOptional<z.ZodNumber>; /** Vitality. */ Vitality: z.ZodOptional<z.ZodNumber>; }, z.core.$strict>; /** * /v2/account/bank definition */ export declare const AccountBankDTO: z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{ id: z.ZodNumber; count: z.ZodNumber; charges: z.ZodOptional<z.ZodNumber>; skin: z.ZodOptional<z.ZodNumber>; dyes: z.ZodOptional<z.ZodArray<z.ZodNumber>>; upgrades: z.ZodOptional<z.ZodArray<z.ZodNumber>>; upgrade_slot_indices: z.ZodOptional<z.ZodArray<z.ZodNumber>>; infusions: z.ZodOptional<z.ZodArray<z.ZodNumber>>; stats: z.ZodOptional<z.ZodObject<{ /** The ID of the item's stats. Can be resolved against /v2/itemstats. */ id: z.ZodNumber; /** The list of stats provided by this item. Can be empty object. */ attributes: z.ZodObject<{ /** Agony Resistance. */ AgonyResistance: z.ZodOptional<z.ZodNumber>; /** Boon Duration. */ BoonDuration: z.ZodOptional<z.ZodNumber>; /** Condition Damage. */ ConditionDamage: z.ZodOptional<z.ZodNumber>; /** Condition Duration. */ ConditionDuration: z.ZodOptional<z.ZodNumber>; /** Critical Damage. */ CritDamage: z.ZodOptional<z.ZodNumber>; /** Healing Power. */ Healing: z.ZodOptional<z.ZodNumber>; /** Power. */ Power: z.ZodOptional<z.ZodNumber>; /** Precision. */ Precision: z.ZodOptional<z.ZodNumber>; /** Toughness. */ Toughness: z.ZodOptional<z.ZodNumber>; /** Vitality. */ Vitality: z.ZodOptional<z.ZodNumber>; }, z.core.$strict>; }, z.core.$strict>>; binding: z.ZodLiteral<"Character">; bound_to: z.ZodString; }, z.core.$strict>, z.ZodObject<{ id: z.ZodNumber; count: z.ZodNumber; charges: z.ZodOptional<z.ZodNumber>; skin: z.ZodOptional<z.ZodNumber>; dyes: z.ZodOptional<z.ZodArray<z.ZodNumber>>; upgrades: z.ZodOptional<z.ZodArray<z.ZodNumber>>; upgrade_slot_indices: z.ZodOptional<z.ZodArray<z.ZodNumber>>; infusions: z.ZodOptional<z.ZodArray<z.ZodNumber>>; stats: z.ZodOptional<z.ZodObject<{ /** The ID of the item's stats. Can be resolved against /v2/itemstats. */ id: z.ZodNumber; /** The list of stats provided by this item. Can be empty object. */ attributes: z.ZodObject<{ /** Agony Resistance. */ AgonyResistance: z.ZodOptional<z.ZodNumber>; /** Boon Duration. */ BoonDuration: z.ZodOptional<z.ZodNumber>; /** Condition Damage. */ ConditionDamage: z.ZodOptional<z.ZodNumber>; /** Condition Duration. */ ConditionDuration: z.ZodOptional<z.ZodNumber>; /** Critical Damage. */ CritDamage: z.ZodOptional<z.ZodNumber>; /** Healing Power. */ Healing: z.ZodOptional<z.ZodNumber>; /** Power. */ Power: z.ZodOptional<z.ZodNumber>; /** Precision. */ Precision: z.ZodOptional<z.ZodNumber>; /** Toughness. */ Toughness: z.ZodOptional<z.ZodNumber>; /** Vitality. */ Vitality: z.ZodOptional<z.ZodNumber>; }, z.core.$strict>; }, z.core.$strict>>; binding: z.ZodLiteral<"Account">; }, z.core.$strict>, z.ZodObject<{ /** The item's ID. */ id: z.ZodNumber; /** The amount of items in the item stack. */ count: z.ZodNumber; /** The amount of charges remaining on the item. */ charges: z.ZodOptional<z.ZodNumber>; /** The skin applied to the item, if it is different from its original. Can be resolved against /v2/skins. */ skin: z.ZodOptional<z.ZodNumber>; /** The IDs of the dyes applied to the item. Can be resolved against /v2/colors. */ dyes: z.ZodOptional<z.ZodArray<z.ZodNumber>>; /** The item IDs of the runes or sigils applied to the item. */ upgrades: z.ZodOptional<z.ZodArray<z.ZodNumber>>; /** The slot occupied by the upgrade at the corresponding position in upgrades. */ upgrade_slot_indices: z.ZodOptional<z.ZodArray<z.ZodNumber>>; /** An array of item IDs for each infusion applied to the item. */ infusions: z.ZodOptional<z.ZodArray<z.ZodNumber>>; /** The stats of the item. */ stats: z.ZodOptional<z.ZodObject<{ /** The ID of the item's stats. Can be resolved against /v2/itemstats. */ id: z.ZodNumber; /** The list of stats provided by this item. Can be empty object. */ attributes: z.ZodObject<{ /** Agony Resistance. */ AgonyResistance: z.ZodOptional<z.ZodNumber>; /** Boon Duration. */ BoonDuration: z.ZodOptional<z.ZodNumber>; /** Condition Damage. */ ConditionDamage: z.ZodOptional<z.ZodNumber>; /** Condition Duration. */ ConditionDuration: z.ZodOptional<z.ZodNumber>; /** Critical Damage. */ CritDamage: z.ZodOptional<z.ZodNumber>; /** Healing Power. */ Healing: z.ZodOptional<z.ZodNumber>; /** Power. */ Power: z.ZodOptional<z.ZodNumber>; /** Precision. */ Precision: z.ZodOptional<z.ZodNumber>; /** Toughness. */ Toughness: z.ZodOptional<z.ZodNumber>; /** Vitality. */ Vitality: z.ZodOptional<z.ZodNumber>; }, z.core.$strict>; }, z.core.$strict>>; }, z.core.$strict>]>>>;