UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

1,829 lines (1,827 loc) 180 kB
// Generated by dts-bundle-generator v9.5.1 import { RawAxiosRequestConfig } from 'axios'; import { z } from 'zod/v4'; export interface Endpoint { path: `v2/${string}`; tokenRequired: boolean; } /** * Available language options */ export declare enum ApiLanguage { English = "en", French = "fr", German = "de", Spanish = "es", Chinese = "zh" } /** * Parameters passed into the endpoint, to make a specific request */ export type UrlParams = Record<string, string | number | string[] | number[]>; /** * Parameters required by the Api for any call */ export interface ApiParams { token?: string; language?: ApiLanguage; rateLimitRetry?: boolean; } declare class ApiBase { private readonly _baseUrl; private readonly _apiToken?; private readonly _language; private readonly _rateLimitRetry; constructor(apiParams?: ApiParams); /** * Parameters for the api response, at top level */ protected getParams(): ApiParams; /** * Generic request builder. Adds a finalized request to the concurrency queue * * @param endpoint - API Endpoint * @param apiParams - Query string * @param responseType - Type of the response * @param attempts - Previously failed retry count */ protected buildRequest<T extends z.ZodType>(endpoint: Endpoint, apiParams: UrlParams, responseType: T, attempts?: number): Promise<z.infer<T>>; /** * Retries failed requests * * @param endpoint - Endpoint to which a request was originally made * @param prevOptions - Axios request options * @param responseType - Originally requested schema * @param apiParams - Query string * @param rateLimitAttempt - Current rate-limit retry counter * @param prevError - Error that caused a retry */ protected retryRequest<T extends z.ZodType>(endpoint: Endpoint, prevOptions: RawAxiosRequestConfig, responseType: T, apiParams: UrlParams, rateLimitAttempt: number, prevError?: unknown): Promise<z.infer<T>>; /** * Builds final Api url from the endpoint and provided parameters * * @param endpoint - Api endpoint * @param urlParams - Parameters */ private _getApiUrl; } declare class AccountApi extends ApiBase { /** * Returns information about player accounts. */ get(): Promise<{ id: string; age: number; name: string; world: number; guilds: string[]; guild_leader: string[]; created: string; access: string[]; commander: boolean; fractal_level: number; daily_ap: number; monthly_ap: number; wvw_rank: number; last_modified?: string | undefined; build_storage_slots?: number | undefined; }>; /** * Returns an account's progress towards all their achievements. */ getAchievements(): Promise<{ id: number; current: number; done: boolean; bits?: number[] | undefined; max?: number | undefined; repeated?: number | undefined; unlocked?: boolean | undefined; }[]>; /** * Returns the items stored in a player's vault (not including material storage). * If null, the slot is empty. */ getBank(): Promise<(({ id: number; count: number; charges?: number | undefined; skin?: number | undefined; dyes?: number[] | undefined; upgrades?: number[] | undefined; upgrade_slot_indices?: number[] | undefined; infusions?: number[] | undefined; stats?: { id: number; attributes: { AgonyResistance?: number | undefined; BoonDuration?: number | undefined; ConditionDamage?: number | undefined; ConditionDuration?: number | undefined; CritDamage?: number | undefined; Healing?: number | undefined; Power?: number | undefined; Precision?: number | undefined; Toughness?: number | undefined; Vitality?: number | undefined; }; } | undefined; } & ({ binding: "Character"; bound_to: string; } | { binding: "Account"; bound_to: undefined; } | { binding: undefined; bound_to: undefined; })) | null)[]>; /** * Returns the templates stored in a player's build storage. */ getBuildStorage(): Promise<{ name: string; profession: string; specializations: { id: number; traits: (number | null)[]; }[]; skills?: { heal: number | null; utilities: (number | null)[]; elite: number | null; } | undefined; aquatic_skills?: { heal: number | null; utilities: (number | null)[]; elite: number | null; } | undefined; legends?: (string | null)[] | undefined; aquatic_legends?: (string | null)[] | undefined; }[]>; /** * Returns information about time-gated recipes that have been crafted by the account since daily-reset. */ getDailyCrafts(): Promise<string[]>; /** * Returns the dungeons completed since daily dungeon reset. */ getDungeons(): Promise<string[]>; /** * Returns the unlocked dyes of the account. */ getDyes(): Promise<number[]>; /** * Returns the player's unlocked emotes. */ getEmotes(): Promise<string[]>; /** * Returns information about finishers that are unlocked for an account. */ getFinishers(): Promise<{ id: number; permanent: boolean; quantity?: number | undefined; }[]>; /** * Returns information about gliders that are unlocked for an account. */ getGliders(): Promise<number[]>; /** * Returns information about unlocked home instance nodes. */ getHomeNodes(): Promise<string[]>; /** * Returns information about unlocked home instance cats. */ getHomeCats(): Promise<number[]>; /** * Returns information about unlocked homestead decorations. */ getHomesteadDecorations(): Promise<{ id: number; count: number; }[]>; /** * Returns information about glyphs stored in homestead collection boxes. */ getHomesteadGlyphs(): Promise<string[]>; /** * Returns the shared inventory slots in an account. * If null, the slot is empty */ getInventory(): Promise<({ id: number; count: number; charges?: number | undefined; skin?: number | undefined; upgrades?: number[] | undefined; infusions?: number[] | undefined; binding?: "Account" | undefined; } | null)[]>; /** * Returns the unlocked Jade Bot skins of the account. */ getJadebots(): Promise<number[]>; /** * Returns information about the Legendary Armory items that are unlocked for an account. */ getLegendaryArmory(): Promise<{ id: number; count: number; }[]>; /** * Returns the total amount of luck consumed on an account. */ getLuck(): Promise<{ id: "luck"; value: number; }[]>; /** * Returns information about mail carriers that are unlocked for an account. */ getMailCarriers(): Promise<number[]>; /** * Returns information about Hero's Choice Chests acquired by the account since daily-reset. */ getMapChests(): Promise<string[]>; /** * Returns information about masteries that are unlocked for an account. * A tallied up total of the account's mastery points can be found at /v2/account/mastery/points. */ getMasteries(): Promise<{ id: number; level: number; }[]>; /** * Returns information about the total amount of mastery points that are unlocked for an account. * A detailed mastery track completion break down is available at /v2/account/masteries. */ getMasteryPoints(): Promise<{ totals: { region: string; spent: number; earned: number; }[]; unlocked: number[]; }>; /** * Returns the materials stored in a player's vault. */ getMaterials(): Promise<{ id: number; category: number; count: number; binding?: "Account" | undefined; }[]>; /** * Returns the unlocked miniatures of the account. */ getMinis(): Promise<number[]>; /** * Returns the unlocked mount skins of the account. */ getMountSkins(): Promise<number[]>; /** * Returns the unlocked mounts of the account. */ getMountTypes(): Promise<string[]>; /** * Returns information about novelties that are unlocked for an account. */ getNovelties(): Promise<number[]>; /** * Returns information about outfits that are unlocked for an account. */ getOutfits(): Promise<number[]>; /** * Returns account-wide progression for Fractals's Account Augmentation and Luck. */ getProgression(): Promise<{ id: string; value: number; }[]>; /** * Returns information about pvp heroes that are unlocked for an account. */ getPvpHeroes(): Promise<number[]>; /** * Returns the completed raid encounters since weekly raid reset. */ getRaids(): Promise<string[]>; /** * Returns information about recipes that are unlocked for an account. */ getRecipes(): Promise<number[]>; /** * Returns the unlocked Skiff skins of the account. */ getSkiffs(): Promise<number[]>; /** * Returns the unlocked skins of the account. */ getSkins(): Promise<number[]>; /** * Returns information about titles that are unlocked for an account. */ getTitles(): Promise<number[]>; /** * Returns the currencies of the account */ getWallet(): Promise<{ id: number; value: number; }[]>; /** * Returns the current set of daily Wizard's Vault achievements for the account. */ getWizardsVaultDaily(): Promise<{ meta_progress_current: number; meta_progress_complete: number; meta_reward_item_id: number; meta_reward_astral: number; meta_reward_claimed: boolean; objectives: { id: number; title: string; track: string; acclaim: number; progress_current: number; progress_complete: number; claimed: boolean; }[]; }>; /** * Returns the current set of Wizard's Vault rewards, along with details about which have already been purchased by the account, and in what quantity. */ getWizardsVaultListings(): Promise<{ id: number; item_id: number; item_count: number; type: "Featured" | "Normal" | "Legacy"; cost: number; purchased?: number | undefined; purchase_limit?: number | undefined; }[]>; /** * Returns the current set of special Wizard's Vault achievements for the account. */ getWizardsVaultSpecial(): Promise<{ objectives: { id: number; title: string; track: string; acclaim: number; progress_current: number; progress_complete: number; claimed: boolean; }[]; }>; /** * Returns the current set of weekly Wizard's Vault achievements for the account. */ getWizardsVaultWeekly(): Promise<{ meta_progress_current: number; meta_progress_complete: number; meta_reward_item_id: number; meta_reward_astral: number; meta_reward_claimed: boolean; objectives: { id: number; title: string; track: string; acclaim: number; progress_current: number; progress_complete: number; claimed: boolean; }[]; }>; /** * Returns information about which world bosses have been killed by the account since daily-reset. */ getWorldBosses(): Promise<string[]>; /** * Returns information about an account's allocated wvw guild, and identifies the matchmaking team. */ getWvW(): Promise<{ team: number; guild: string; }>; } /** * /v2/account definition */ export declare const AccountDTO: z.ZodObject<{ id: z.ZodString; age: z.ZodNumber; name: z.ZodString; world: z.ZodNumber; guilds: z.ZodArray<z.ZodString>; guild_leader: z.ZodArray<z.ZodString>; created: z.ZodString; access: z.ZodArray<z.ZodString>; commander: z.ZodBoolean; fractal_level: z.ZodNumber; daily_ap: z.ZodNumber; monthly_ap: z.ZodNumber; wvw_rank: z.ZodNumber; last_modified: z.ZodOptional<z.ZodString>; build_storage_slots: z.ZodOptional<z.ZodNumber>; }, z.core.$strip>; /** * /v2/account/achievements definition */ export declare const AccountAchievementsDTO: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; bits: z.ZodOptional<z.ZodArray<z.ZodNumber>>; current: z.ZodNumber; max: z.ZodOptional<z.ZodNumber>; done: z.ZodBoolean; repeated: z.ZodOptional<z.ZodNumber>; unlocked: z.ZodOptional<z.ZodBoolean>; }, z.core.$strip>>; export declare const ItemAttributesGeneric: z.ZodObject<{ AgonyResistance: z.ZodOptional<z.ZodNumber>; BoonDuration: z.ZodOptional<z.ZodNumber>; ConditionDamage: z.ZodOptional<z.ZodNumber>; ConditionDuration: z.ZodOptional<z.ZodNumber>; CritDamage: z.ZodOptional<z.ZodNumber>; Healing: z.ZodOptional<z.ZodNumber>; Power: z.ZodOptional<z.ZodNumber>; Precision: z.ZodOptional<z.ZodNumber>; Toughness: z.ZodOptional<z.ZodNumber>; Vitality: z.ZodOptional<z.ZodNumber>; }, z.core.$strip>; /** * /v2/account/bank definition */ export declare const AccountBankDTO: z.ZodArray<z.ZodUnion<readonly [ z.ZodIntersection<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<{ id: z.ZodNumber; attributes: z.ZodObject<{ AgonyResistance: z.ZodOptional<z.ZodNumber>; BoonDuration: z.ZodOptional<z.ZodNumber>; ConditionDamage: z.ZodOptional<z.ZodNumber>; ConditionDuration: z.ZodOptional<z.ZodNumber>; CritDamage: z.ZodOptional<z.ZodNumber>; Healing: z.ZodOptional<z.ZodNumber>; Power: z.ZodOptional<z.ZodNumber>; Precision: z.ZodOptional<z.ZodNumber>; Toughness: z.ZodOptional<z.ZodNumber>; Vitality: z.ZodOptional<z.ZodNumber>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>, z.ZodDiscriminatedUnion<[ z.ZodObject<{ binding: z.ZodLiteral<"Character">; bound_to: z.ZodString; }, z.core.$strip>, z.ZodObject<{ binding: z.ZodLiteral<"Account">; bound_to: z.ZodUndefined; }, z.core.$strip>, z.ZodObject<{ binding: z.ZodUndefined; bound_to: z.ZodUndefined; }, z.core.$strip> ]>>, z.ZodNull ]>>; /** * /v2/account/buildstorage definition */ export declare const AccountBuildStorageDTO: z.ZodArray<z.ZodObject<{ name: z.ZodString; profession: z.ZodString; specializations: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; traits: z.ZodArray<z.ZodUnion<readonly [ z.ZodNumber, z.ZodNull ]>>; }, z.core.$strip>>; skills: z.ZodOptional<z.ZodObject<{ heal: z.ZodUnion<readonly [ z.ZodNumber, z.ZodNull ]>; utilities: z.ZodArray<z.ZodUnion<readonly [ z.ZodNumber, z.ZodNull ]>>; elite: z.ZodUnion<readonly [ z.ZodNumber, z.ZodNull ]>; }, z.core.$strip>>; aquatic_skills: z.ZodOptional<z.ZodObject<{ heal: z.ZodUnion<readonly [ z.ZodNumber, z.ZodNull ]>; utilities: z.ZodArray<z.ZodUnion<readonly [ z.ZodNumber, z.ZodNull ]>>; elite: z.ZodUnion<readonly [ z.ZodNumber, z.ZodNull ]>; }, z.core.$strip>>; legends: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [ z.ZodString, z.ZodNull ]>>>; aquatic_legends: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [ z.ZodString, z.ZodNull ]>>>; }, z.core.$strip>>; /** * /v2/account/dailycrafting definition * Can be resolved against /v2/dailycrafting */ export declare const AccountDailyCraftingDTO: z.ZodArray<z.ZodString>; /** * /v2/account/dungeons definition * Can be resolved against /v2/dungeons */ export declare const AccountDungeonsDTO: z.ZodArray<z.ZodString>; /** * /v2/account/dyes definition * Can be resolved against /v2/dyes */ export declare const AccountDyesDTO: z.ZodArray<z.ZodNumber>; /** * /v2/account/emotes definition * Can be resolved against /v2/emotes */ export declare const AccountEmotesDTO: z.ZodArray<z.ZodString>; /** * /v2/account/finishers definition */ export declare const AccountFinishersDTO: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; permanent: z.ZodBoolean; quantity: z.ZodOptional<z.ZodNumber>; }, z.core.$strip>>; /** * /v2/account/gliders definition * Can be resolved against /v2/gliders */ export declare const AccountGlidersDTO: z.ZodArray<z.ZodNumber>; /** * /v2/account/home/nodes definition */ export declare const AccountHomeNodesDTO: z.ZodArray<z.ZodString>; /** * /v2/account/home/cats definition */ export declare const AccountHomeCatsDTO: z.ZodArray<z.ZodNumber>; export declare const AccountHomesteadDecorationsDTO: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; count: z.ZodNumber; }, z.core.$strip>>; /** * /v2/account/homestead/glyphs definition */ export declare const AccountHomesteadGlyphsDTO: import("zod/v4").ZodArray<import("zod/v4").ZodString>; /** * /v2/account/inventory definition */ export declare const AccountInventoryDTO: z.ZodArray<z.ZodUnion<readonly [ z.ZodNull, z.ZodObject<{ id: z.ZodNumber; count: z.ZodNumber; charges: z.ZodOptional<z.ZodNumber>; skin: z.ZodOptional<z.ZodNumber>; upgrades: z.ZodOptional<z.ZodArray<z.ZodNumber>>; infusions: z.ZodOptional<z.ZodArray<z.ZodNumber>>; binding: z.ZodOptional<z.ZodLiteral<"Account">>; }, z.core.$strip> ]>>; /** * /v2/account/jadebots definition */ export declare const AccountJadebotsDTO: z.ZodArray<z.ZodNumber>; /** * /v2/account/legendaryarmory definition */ export declare const AccountLegendaryArmoryDTO: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; count: z.ZodNumber; }, z.core.$strip>>; /** * /v2/account/luck definition */ export declare const AccountLuckDTO: z.ZodArray<z.ZodObject<{ id: z.ZodLiteral<"luck">; value: z.ZodNumber; }, z.core.$strip>>; /** * /v2/account/mailcarriers definition * Can be resolved against /v2/mailcarriers. */ export declare const AccountMailCarriersDTO: z.ZodArray<z.ZodNumber>; /** * /v2/account/mapchests definition * Can be resolved against /v2/mapchests. */ export declare const AccountMapChestsDTO: z.ZodArray<z.ZodString>; /** * /v2/account/masteries definition */ export declare const AccountMasteriesDTO: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; level: z.ZodNumber; }, z.core.$strip>>; /** * /v2/account/mastery/points definition */ export declare const AccountMasteryPointsDTO: z.ZodObject<{ totals: z.ZodArray<z.ZodObject<{ region: z.ZodString; spent: z.ZodNumber; earned: z.ZodNumber; }, z.core.$strip>>; unlocked: z.ZodArray<z.ZodNumber>; }, z.core.$strip>; /** * /v2/account/materials definition */ export declare const AccountMaterialsDTO: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; category: z.ZodNumber; binding: z.ZodOptional<z.ZodLiteral<"Account">>; count: z.ZodNumber; }, z.core.$strip>>; /** * /v2/account/minis definition * Can be resolved against /v2/minis */ export declare const AccountMinisDTO: z.ZodArray<z.ZodNumber>; /** * /v2/account/mounts/skins definition * Can be resolved against /v2/mounts/skins */ export declare const AccountMountSkinsDTO: z.ZodArray<z.ZodNumber>; /** * /v2/account/mounts/types definition * Can be resolved against /v2/mounts/types */ export declare const AccountMountTypesDTO: z.ZodArray<z.ZodString>; /** * /v2/account/novelties definition * Can be resolved against /v2/novelties */ export declare const AccountNoveltiesDTO: z.ZodArray<z.ZodNumber>; /** * /v2/account/outfits definition * Can be resolved against /v2/outfits */ export declare const AccountOutfitsDTO: z.ZodArray<z.ZodNumber>; /** * /v2/account/progression definition */ export declare const AccountProgressionDTO: z.ZodArray<z.ZodObject<{ id: z.ZodString; value: z.ZodNumber; }, z.core.$strip>>; /** * /v2/account/pvp/heroes definition * Can be resolved against /v2/pvp/heroes */ export declare const AccountPvpHeroesDTO: z.ZodArray<z.ZodNumber>; /** * /v2/account/raids definition * Can be resolved against /v2/raids */ export declare const AccountRaidsDTO: z.ZodArray<z.ZodString>; /** * /v2/account/recipes definition * Can be resolved against /v2/recipes */ export declare const AccountRecipesDTO: z.ZodArray<z.ZodNumber>; /** * /v2/account/skiffs definition */ export declare const AccountSkiffsDTO: z.ZodArray<z.ZodNumber>; /** * /v2/account/skins definition * Can be resolved against /v2/skins */ export declare const AccountSkinsDTO: z.ZodArray<z.ZodNumber>; /** * /v2/account/titles definition * Can be resolved against /v2/titles */ export declare const AccountTitlesDTO: z.ZodArray<z.ZodNumber>; /** * /v2/account/wallet definition */ export declare const AccountWalletDTO: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; value: z.ZodNumber; }, z.core.$strip>>; /** * /v2/account/wizardsvault/daily definition */ export declare const AccountWizardsVaultDailyDTO: z.ZodObject<{ meta_progress_current: z.ZodNumber; meta_progress_complete: z.ZodNumber; meta_reward_item_id: z.ZodNumber; meta_reward_astral: z.ZodNumber; meta_reward_claimed: z.ZodBoolean; objectives: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; title: z.ZodString; track: z.ZodString; acclaim: z.ZodNumber; progress_current: z.ZodNumber; progress_complete: z.ZodNumber; claimed: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>; /** * /v2/account/wizardsvault/listings definition */ export declare const AccountWizardsVaultListingsDTO: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; item_id: z.ZodNumber; item_count: z.ZodNumber; type: z.ZodEnum<{ Featured: "Featured"; Normal: "Normal"; Legacy: "Legacy"; }>; cost: z.ZodNumber; purchased: z.ZodOptional<z.ZodNumber>; purchase_limit: z.ZodOptional<z.ZodNumber>; }, z.core.$strip>>; /** * /v2/account/wizardsvault/special definition */ export declare const AccountWizardsVaultSpecialDTO: z.ZodObject<{ objectives: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; title: z.ZodString; track: z.ZodString; acclaim: z.ZodNumber; progress_current: z.ZodNumber; progress_complete: z.ZodNumber; claimed: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>; /** * /v2/account/wizardsvault/weekly definition */ export declare const AccountWizardsVaultWeeklyDTO: z.ZodObject<{ meta_progress_current: z.ZodNumber; meta_progress_complete: z.ZodNumber; meta_reward_item_id: z.ZodNumber; meta_reward_astral: z.ZodNumber; meta_reward_claimed: z.ZodBoolean; objectives: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; title: z.ZodString; track: z.ZodString; acclaim: z.ZodNumber; progress_current: z.ZodNumber; progress_complete: z.ZodNumber; claimed: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>; /** * /v2/account/worldbosses definition * Can be resolved against /v2/worldbosses */ export declare const AccountWorldBossesDTO: z.ZodArray<z.ZodString>; /** * /v2/account/wvw definition */ export declare const AccountWvWDTO: z.ZodObject<{ team: z.ZodNumber; guild: z.ZodString; }, z.core.$strip>; /** * /v2/achievements/categories/:ids definition */ export declare const AchievementCategoriesDTO: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; name: z.ZodString; description: z.ZodString; order: z.ZodNumber; icon: z.ZodString; achievements: z.ZodArray<z.ZodNumber>; }, z.core.$strip>>; /** * /v2/achievements/groups definition */ export declare const AchievementGroupsDTO: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; order: z.ZodNumber; categories: z.ZodArray<z.ZodNumber>; }, z.core.$strip>; export type ApiRatelimitsDTO = { readonly RateLimit: string; }; /** * Generic Api response type */ export type ApiResponseDTO<T> = { /** * Api response object */ readonly data: T; /** * Api request ratelimits */ readonly rateLimits?: ApiRatelimitsDTO; }; /** * /v2/backstory/answers definition */ export declare const BackstoryAnswersDTO: z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; journal: z.ZodString; question: z.ZodNumber; professions: z.ZodOptional<z.ZodArray<z.ZodString>>; races: z.ZodOptional<z.ZodArray<z.ZodString>>; }, z.core.$strip>>; /** * /v2/backstory/questions definition */ export declare const BackstoryQuestionsDTO: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; title: z.ZodString; description: z.ZodString; order: z.ZodNumber; answers: z.ZodArray<z.ZodString>; races: z.ZodOptional<z.ZodArray<z.ZodString>>; professions: z.ZodOptional<z.ZodArray<z.ZodString>>; }, z.core.$strip>>; /** * /v2/characters definition */ export declare const CharactersDTO: z.ZodArray<z.ZodString>; /** * /v2/characters/backstory definition */ export declare const CharacterBackstoryDTO: z.ZodObject<{ backstory: z.ZodArray<z.ZodString>; }, z.core.$strip>; /** * /v2/characters/:id/buildtabs definition */ export declare const CharacterBuildTabsDTO: z.ZodArray<z.ZodObject<{ tab: z.ZodNumber; is_active: z.ZodBoolean; build: z.ZodObject<{ name: z.ZodString; profession: z.ZodString; specializations: z.ZodArray<z.ZodObject<{ id: z.ZodUnion<readonly [ z.ZodNumber, z.ZodNull ]>; traits: z.ZodArray<z.ZodUnion<readonly [ z.ZodNumber, z.ZodNull ]>>; }, z.core.$strip>>; skills: z.ZodObject<{ heal: z.ZodUnion<readonly [ z.ZodNumber, z.ZodNull ]>; utitilies: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [ z.ZodNumber, z.ZodNull ]>>>; elite: z.ZodUnion<readonly [ z.ZodNumber, z.ZodNull ]>; }, z.core.$strip>; aquatic_skills: z.ZodObject<{ heal: z.ZodUnion<readonly [ z.ZodNumber, z.ZodNull ]>; utitilies: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [ z.ZodNumber, z.ZodNull ]>>>; elite: z.ZodUnion<readonly [ z.ZodNumber, z.ZodNull ]>; }, z.core.$strip>; legends: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [ z.ZodString, z.ZodNull ]>>>; aquatic_legends: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [ z.ZodString, z.ZodNull ]>>>; pets: z.ZodOptional<z.ZodObject<{ terrestrial: z.ZodArray<z.ZodNumber>; aquatic: z.ZodArray<z.ZodNumber>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>>; /** * /v2/characters/:id/core definition */ export declare const CharacterCoreDTO: z.ZodObject<{ name: z.ZodString; race: z.ZodEnum<{ Asura: "Asura"; Charr: "Charr"; Human: "Human"; Norn: "Norn"; Sylvari: "Sylvari"; }>; gender: z.ZodEnum<{ Male: "Male"; Female: "Female"; }>; profession: z.ZodEnum<{ Elementalist: "Elementalist"; Engineer: "Engineer"; Guardian: "Guardian"; Mesmer: "Mesmer"; Necromancer: "Necromancer"; Ranger: "Ranger"; Revenant: "Revenant"; Thief: "Thief"; Warrior: "Warrior"; }>; level: z.ZodNumber; guild: z.ZodUnion<readonly [ z.ZodString, z.ZodNull ]>; age: z.ZodNumber; created: z.ZodString; deaths: z.ZodNumber; title: z.ZodOptional<z.ZodNumber>; }, z.core.$strip>; /** * /v2/characters/:id/crafting definition */ export declare const CharacterCraftingDTO: z.ZodObject<{ crafting: z.ZodArray<z.ZodObject<{ discipline: z.ZodEnum<{ Armorsmith: "Armorsmith"; Artificer: "Artificer"; Chef: "Chef"; Huntsman: "Huntsman"; Jeweler: "Jeweler"; Leatherworker: "Leatherworker"; Scribe: "Scribe"; Tailor: "Tailor"; Weaponsmith: "Weaponsmith"; }>; rating: z.ZodNumber; active: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>; export declare const EquipmentStatsGeneric: z.ZodObject<{ id: z.ZodNumber; attributes: z.ZodObject<{ Power: z.ZodOptional<z.ZodNumber>; Precision: z.ZodOptional<z.ZodNumber>; Toughness: z.ZodOptional<z.ZodNumber>; Vitality: z.ZodOptional<z.ZodNumber>; ConditionDamage: z.ZodOptional<z.ZodNumber>; ConditionDuration: z.ZodOptional<z.ZodNumber>; Healing: z.ZodOptional<z.ZodNumber>; BoonDuration: z.ZodOptional<z.ZodNumber>; }, z.core.$strip>; }, z.core.$strip>; export declare const EquipmentGeneric: z.ZodIntersection<z.ZodObject<{ id: z.ZodNumber; slot: z.ZodOptional<z.ZodEnum<{ HelmAquatic: "HelmAquatic"; Backpack: "Backpack"; Coat: "Coat"; Boots: "Boots"; Gloves: "Gloves"; Helm: "Helm"; Leggings: "Leggings"; Shoulders: "Shoulders"; Accessory1: "Accessory1"; Accessory2: "Accessory2"; Ring1: "Ring1"; Ring2: "Ring2"; Amulet: "Amulet"; Relic: "Relic"; WeaponAquaticA: "WeaponAquaticA"; WeaponAquaticB: "WeaponAquaticB"; WeaponA1: "WeaponA1"; WeaponA2: "WeaponA2"; WeaponB1: "WeaponB1"; WeaponB2: "WeaponB2"; Sickle: "Sickle"; Axe: "Axe"; Pick: "Pick"; PowerCore: "PowerCore"; FishingLure: "FishingLure"; FishingBait: "FishingBait"; FishingRod: "FishingRod"; SensoryArray: "SensoryArray"; }>>; infusions: z.ZodOptional<z.ZodArray<z.ZodNumber>>; upgrades: z.ZodOptional<z.ZodArray<z.ZodNumber>>; skin: z.ZodOptional<z.ZodNumber>; stats: z.ZodOptional<z.ZodObject<{ id: z.ZodNumber; attributes: z.ZodObject<{ Power: z.ZodOptional<z.ZodNumber>; Precision: z.ZodOptional<z.ZodNumber>; Toughness: z.ZodOptional<z.ZodNumber>; Vitality: z.ZodOptional<z.ZodNumber>; ConditionDamage: z.ZodOptional<z.ZodNumber>; ConditionDuration: z.ZodOptional<z.ZodNumber>; Healing: z.ZodOptional<z.ZodNumber>; BoonDuration: z.ZodOptional<z.ZodNumber>; }, z.core.$strip>; }, z.core.$strip>>; location: z.ZodOptional<z.ZodEnum<{ Equipped: "Equipped"; Armory: "Armory"; EquippedFromLegendaryArmory: "EquippedFromLegendaryArmory"; LegendaryArmory: "LegendaryArmory"; }>>; tabs: z.ZodOptional<z.ZodArray<z.ZodNumber>>; charges: z.ZodOptional<z.ZodNumber>; dyes: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [ z.ZodNumber, z.ZodNull ]>>>; }, z.core.$strip>, z.ZodDiscriminatedUnion<[ z.ZodObject<{ binding: z.ZodLiteral<"Character">; bound_to: z.ZodString; }, z.core.$strip>, z.ZodObject<{ binding: z.ZodLiteral<"Account">; bound_to: z.ZodUndefined; }, z.core.$strip>, z.ZodObject<{ binding: z.ZodUndefined; bound_to: z.ZodUndefined; }, z.core.$strip> ]>>; /** * /v2/characters/:id/equipment definition */ export declare const CharacterEquipmentDTO: z.ZodObject<{ equipment: z.ZodArray<z.ZodIntersection<z.ZodObject<{ id: z.ZodNumber; slot: z.ZodOptional<z.ZodEnum<{ HelmAquatic: "HelmAquatic"; Backpack: "Backpack"; Coat: "Coat"; Boots: "Boots"; Gloves: "Gloves"; Helm: "Helm"; Leggings: "Leggings"; Shoulders: "Shoulders"; Accessory1: "Accessory1"; Accessory2: "Accessory2"; Ring1: "Ring1"; Ring2: "Ring2"; Amulet: "Amulet"; Relic: "Relic"; WeaponAquaticA: "WeaponAquaticA"; WeaponAquaticB: "WeaponAquaticB"; WeaponA1: "WeaponA1"; WeaponA2: "WeaponA2"; WeaponB1: "WeaponB1"; WeaponB2: "WeaponB2"; Sickle: "Sickle"; Axe: "Axe"; Pick: "Pick"; PowerCore: "PowerCore"; FishingLure: "FishingLure"; FishingBait: "FishingBait"; FishingRod: "FishingRod"; SensoryArray: "SensoryArray"; }>>; infusions: z.ZodOptional<z.ZodArray<z.ZodNumber>>; upgrades: z.ZodOptional<z.ZodArray<z.ZodNumber>>; skin: z.ZodOptional<z.ZodNumber>; stats: z.ZodOptional<z.ZodObject<{ id: z.ZodNumber; attributes: z.ZodObject<{ Power: z.ZodOptional<z.ZodNumber>; Precision: z.ZodOptional<z.ZodNumber>; Toughness: z.ZodOptional<z.ZodNumber>; Vitality: z.ZodOptional<z.ZodNumber>; ConditionDamage: z.ZodOptional<z.ZodNumber>; ConditionDuration: z.ZodOptional<z.ZodNumber>; Healing: z.ZodOptional<z.ZodNumber>; BoonDuration: z.ZodOptional<z.ZodNumber>; }, z.core.$strip>; }, z.core.$strip>>; location: z.ZodOptional<z.ZodEnum<{ Equipped: "Equipped"; Armory: "Armory"; EquippedFromLegendaryArmory: "EquippedFromLegendaryArmory"; LegendaryArmory: "LegendaryArmory"; }>>; tabs: z.ZodOptional<z.ZodArray<z.ZodNumber>>; charges: z.ZodOptional<z.ZodNumber>; dyes: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [ z.ZodNumber, z.ZodNull ]>>>; }, z.core.$strip>, z.ZodDiscriminatedUnion<[ z.ZodObject<{ binding: z.ZodLiteral<"Character">; bound_to: z.ZodString; }, z.core.$strip>, z.ZodObject<{ binding: z.ZodLiteral<"Account">; bound_to: z.ZodUndefined; }, z.core.$strip>, z.ZodObject<{ binding: z.ZodUndefined; bound_to: z.ZodUndefined; }, z.core.$strip> ]>>>; }, z.core.$strip>; /** * /v2/characters/:id/equipmenttabs definition */ export declare const CharacterEquipmentTabDTO: z.ZodObject<{ tab: z.ZodNumber; name: z.ZodString; is_active: z.ZodBoolean; equipment: z.ZodArray<z.ZodIntersection<z.ZodObject<{ id: z.ZodNumber; slot: z.ZodOptional<z.ZodEnum<{ HelmAquatic: "HelmAquatic"; Backpack: "Backpack"; Coat: "Coat"; Boots: "Boots"; Gloves: "Gloves"; Helm: "Helm"; Leggings: "Leggings"; Shoulders: "Shoulders"; Accessory1: "Accessory1"; Accessory2: "Accessory2"; Ring1: "Ring1"; Ring2: "Ring2"; Amulet: "Amulet"; Relic: "Relic"; WeaponAquaticA: "WeaponAquaticA"; WeaponAquaticB: "WeaponAquaticB"; WeaponA1: "WeaponA1"; WeaponA2: "WeaponA2"; WeaponB1: "WeaponB1"; WeaponB2: "WeaponB2"; Sickle: "Sickle"; Axe: "Axe"; Pick: "Pick"; PowerCore: "PowerCore"; FishingLure: "FishingLure"; FishingBait: "FishingBait"; FishingRod: "FishingRod"; SensoryArray: "SensoryArray"; }>>; infusions: z.ZodOptional<z.ZodArray<z.ZodNumber>>; upgrades: z.ZodOptional<z.ZodArray<z.ZodNumber>>; skin: z.ZodOptional<z.ZodNumber>; stats: z.ZodOptional<z.ZodObject<{ id: z.ZodNumber; attributes: z.ZodObject<{ Power: z.ZodOptional<z.ZodNumber>; Precision: z.ZodOptional<z.ZodNumber>; Toughness: z.ZodOptional<z.ZodNumber>; Vitality: z.ZodOptional<z.ZodNumber>; ConditionDamage: z.ZodOptional<z.ZodNumber>; ConditionDuration: z.ZodOptional<z.ZodNumber>; Healing: z.ZodOptional<z.ZodNumber>; BoonDuration: z.ZodOptional<z.ZodNumber>; }, z.core.$strip>; }, z.core.$strip>>; location: z.ZodOptional<z.ZodEnum<{ Equipped: "Equipped"; Armory: "Armory"; EquippedFromLegendaryArmory: "EquippedFromLegendaryArmory"; LegendaryArmory: "LegendaryArmory"; }>>; tabs: z.ZodOptional<z.ZodArray<z.ZodNumber>>; charges: z.ZodOptional<z.ZodNumber>; dyes: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [ z.ZodNumber, z.ZodNull ]>>>; }, z.core.$strip>, z.ZodDiscriminatedUnion<[ z.ZodObject<{ binding: z.ZodLiteral<"Character">; bound_to: z.ZodString; }, z.core.$strip>, z.ZodObject<{ binding: z.ZodLiteral<"Account">; bound_to: z.ZodUndefined; }, z.core.$strip>, z.ZodObject<{ binding: z.ZodUndefined; bound_to: z.ZodUndefined; }, z.core.$strip> ]>>>; equipment_pvp: z.ZodObject<{ amulet: z.ZodUnion<readonly [ z.ZodNumber, z.ZodNull ]>; rune: z.ZodUnion<readonly [ z.ZodNumber, z.ZodNull ]>; sigils: z.ZodArray<z.ZodUnion<readonly [ z.ZodNumber, z.ZodNull ]>>; }, z.core.$strip>; }, z.core.$strip>; export declare const CharacterEquipmentTabsDTO: z.ZodArray<z.ZodObject<{ tab: z.ZodNumber; name: z.ZodString; is_active: z.ZodBoolean; equipment: z.ZodArray<z.ZodIntersection<z.ZodObject<{ id: z.ZodNumber; slot: z.ZodOptional<z.ZodEnum<{ HelmAquatic: "HelmAquatic"; Backpack: "Backpack"; Coat: "Coat"; Boots: "Boots"; Gloves: "Gloves"; Helm: "Helm"; Leggings: "Leggings"; Shoulders: "Shoulders"; Accessory1: "Accessory1"; Accessory2: "Accessory2"; Ring1: "Ring1"; Ring2: "Ring2"; Amulet: "Amulet"; Relic: "Relic"; WeaponAquaticA: "WeaponAquaticA"; WeaponAquaticB: "WeaponAquaticB"; WeaponA1: "WeaponA1"; WeaponA2: "WeaponA2"; WeaponB1: "WeaponB1"; WeaponB2: "WeaponB2"; Sickle: "Sickle"; Axe: "Axe"; Pick: "Pick"; PowerCore: "PowerCore"; FishingLure: "FishingLure"; FishingBait: "FishingBait"; FishingRod: "FishingRod"; SensoryArray: "SensoryArray"; }>>; infusions: z.ZodOptional<z.ZodArray<z.ZodNumber>>; upgrades: z.ZodOptional<z.ZodArray<z.ZodNumber>>; skin: z.ZodOptional<z.ZodNumber>; stats: z.ZodOptional<z.ZodObject<{ id: z.ZodNumber; attributes: z.ZodObject<{ Power: z.ZodOptional<z.ZodNumber>; Precision: z.ZodOptional<z.ZodNumber>; Toughness: z.ZodOptional<z.ZodNumber>; Vitality: z.ZodOptional<z.ZodNumber>; ConditionDamage: z.ZodOptional<z.ZodNumber>; ConditionDuration: z.ZodOptional<z.ZodNumber>; Healing: z.ZodOptional<z.ZodNumber>; BoonDuration: z.ZodOptional<z.ZodNumber>; }, z.core.$strip>; }, z.core.$strip>>; location: z.ZodOptional<z.ZodEnum<{ Equipped: "Equipped"; Armory: "Armory"; EquippedFromLegendaryArmory: "EquippedFromLegendaryArmory"; LegendaryArmory: "LegendaryArmory"; }>>; tabs: z.ZodOptional<z.ZodArray<z.ZodNumber>>; charges: z.ZodOptional<z.ZodNumber>; dyes: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [ z.ZodNumber, z.ZodNull ]>>>; }, z.core.$strip>, z.ZodDiscriminatedUnion<[ z.ZodObject<{ binding: z.ZodLiteral<"Character">; bound_to: z.ZodString; }, z.core.$strip>, z.ZodObject<{ binding: z.ZodLiteral<"Account">; bound_to: z.ZodUndefined; }, z.core.$strip>, z.ZodObject<{ binding: z.ZodUndefined; bound_to: z.ZodUndefined; }, z.core.$strip> ]>>>; equipment_pvp: z.ZodObject<{ amulet: z.ZodUnion<readonly [ z.ZodNumber, z.ZodNull ]>; rune: z.ZodUnion<readonly [ z.ZodNumber, z.ZodNull ]>; sigils: z.ZodArray<z.ZodUnion<readonly [ z.ZodNumber, z.ZodNull ]>>; }, z.core.$strip>; }, z.core.$strip>>; /** * /v2/characters/:id/heropoints definition * */ export declare const CharacterHeroPointsDTO: z.ZodArray<z.ZodString>; /** * /v2/characters/:id/inventory definition */ export declare const CharacterInventoryDTO: z.ZodObject<{ bags: z.ZodArray<z.ZodUnion<readonly [ z.ZodObject<{ id: z.ZodNumber; size: z.ZodNumber; inventory: z.ZodArray<z.ZodUnion<readonly [ z.ZodNull, z.ZodIntersection<z.ZodObject<{ id: z.ZodNumber; count: z.ZodNumber; charges: z.ZodOptional<z.ZodNumber>; infusions: z.ZodOptional<z.ZodArray<z.ZodNumber>>; upgrades: z.ZodOptional<z.ZodArray<z.ZodNumber>>; upgrade_slot_indices: z.ZodOptional<z.ZodArray<z.ZodNumber>>; skin: z.ZodOptional<z.ZodNumber>; stats: z.ZodOptional<z.ZodObject<{ id: z.ZodNumber; attributes: z.ZodObject<{ Power: z.ZodOptional<z.ZodNumber>; Precision: z.ZodOptional<z.ZodNumber>; Toughness: z.ZodOptional<z.ZodNumber>; Vitality: z.ZodOptional<z.ZodNumber>; ConditionDamage: z.ZodOptional<z.ZodNumber>; ConditionDuration: z.ZodOptional<z.ZodNumber>; Healing: z.ZodOptional<z.ZodNumber>; BoonDuration: z.ZodOptional<z.ZodNumber>; }, z.core.$strip>; }, z.core.$strip>>; dyes: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [ z.ZodNull, z.ZodNumber ]>>>; }, z.core.$strip>, z.ZodDiscriminatedUnion<[ z.ZodObject<{ binding: z.ZodLiteral<"Character">; bound_to: z.ZodString; }, z.core.$strip>, z.ZodObject<{ binding: z.ZodLiteral<"Account">; bound_to: z.ZodUndefined; }, z.core.$strip>, z.ZodObject<{ binding: z.ZodUndefined; bound_to: z.ZodUndefined; }, z.core.$strip> ]>> ]>>; }, z.core.$strip>, z.ZodNull ]>>; }, z.core.$strip>; /** * /v2/characters/:id/quests definition */ export declare const CharacterQuestsDTO: z.ZodArray<z.ZodNumber>; /** * /v2/characters/:id/recipes definition */ export declare const CharacterRecipesDTO: z.ZodObject<{ recipes: z.ZodArray<z.ZodNumber>; }, z.core.$strip>; /** * /v2/characters/:id/sab definition */ export declare const CharacterSuperAdventureBoxDTO: z.ZodObject<{ zones: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; mode: z.ZodEnum<{ infantile: "infantile"; normal: "normal"; tribulation: "tribulation"; }>; world: z.ZodNumber; zone: z.ZodNumber; }, z.core.$strip>>; unlocks: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; name: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; songs: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; name: z.ZodEnum<{ secret_song: "secret_song"; gatekeeper_lullaby: "gatekeeper_lullaby"; shatter_serenade: "shatter_serenade"; }>; }, z.core.$strip>>; }, z.core.$strip>; /** * /v2/characters/:id/skills definition */ export declare const CharacterSkillsDTO: z.ZodObject<{ skills: z.ZodObject<{ pve: z.ZodObject<{ heal: z.ZodUnion<readonly [ z.ZodNull, z.ZodNumber ]>; utilities: z.ZodArray<z.ZodUnion<readonly [ z.ZodNull, z.ZodNumber ]>>; elite: z.ZodUnion<readonly [ z.ZodNull, z.ZodNumber ]>; legends: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [ z.ZodNull, z.ZodString ]>>>; }, z.core.$strip>; pvp: z.ZodObject<{ heal: z.ZodUnion<readonly [ z.ZodNull, z.ZodNumber ]>; utilities: z.ZodArray<z.ZodUnion<readonly [ z.ZodNull, z.ZodNumber ]>>; elite: z.ZodUnion<readonly [ z.ZodNull, z.ZodNumber ]>; legends: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [ z.ZodNull, z.ZodString ]>>>; }, z.core.$strip>; wvw: z.ZodObject<{ heal: z.ZodUnion<readonly [ z.ZodNull, z.ZodNumber ]>; utilities: z.ZodArray<z.ZodUnion<readonly [ z.ZodNull, z.ZodNumber ]>>; elite: z.ZodUnion<readonly [ z.ZodNull, z.ZodNumber ]>; legends: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [ z.ZodNull, z.ZodString ]>>>; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>; /** * /v2/characters/:id/specializations definition */ export declare const CharacterSpecializationsDTO: z.ZodObject<{ specializations: z.ZodObject<{ pve: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; traits: z.ZodArray<z.ZodNumber>; }, z.core.$strip>>; pvp: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; traits: z.ZodArray<z.ZodNumber>; }, z.core.$strip>>; wvw: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; traits: z.ZodArray<z.ZodNumber>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; /** * /v2/characters/:id/training definition */ export declare const CharacterTrainingDTO: z.ZodObject<{ training: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; spent: z.ZodNumber; done: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>; /** * /v2/commerce/delivery definition */ export declare const CommerceDeliveryDTO: z.ZodObject<{ coins: z.ZodNumber; items: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; count: z.ZodNumber; }, z.core.$strip>>; }, z.core.$strip>; /** * /v2/commerce/exchange/coins definition */ export declare const CommerceExchangeDTO: z.ZodObject<{ coins_per_gem: z.ZodNumber; quantity: z.ZodNumber; }, z.core.$strip>; /** * /v2/commerce/listings definition. */ export declare const CommerceListingsDTO: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; buys: z.ZodArray<z.ZodObject<{ listings: z.ZodNumber; unit_price: z.ZodNumber; quantity: z.ZodNumber; }, z.core.$strip>>; sells: z.ZodArray<z.ZodObject<{ listings: z.ZodNumber; unit_price: z.ZodNumber; quantity: z.ZodNumber; }, z.core.$strip>>; }, z.core.$strip>>; /** * /v2/commerce/prices definition. */ export declare const CommercePricesDTO: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; whitelisted: z.ZodBoolean; buys: z.ZodObject<{ quantity: z.ZodNumber; unit_price: z.ZodNumber; }, z.core.$strip>; sells: z.ZodObject<{ quantity: z.ZodNumber; unit_price: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>>; /** * /v2/commerce/transactions definition. */ export declare const CommerceTransactionDTO: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; item_id: z.ZodNumber; price: z.ZodNumber; quantity: z.ZodNumber; created: z.ZodString; purchased: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; export declare const ContinentsMapsDTO: z.ZodArray<z.ZodObject<{ name: z.ZodString; min_level: z.ZodNumber; max_level: z.ZodNumber; default_floor: z.ZodNumber; label_coord: z.ZodOptional<z.ZodArray<z.ZodNumber>>; map_rect: z.ZodArray<z.ZodArray<z.ZodNumber>>; continent_rect: z.ZodArray<z.ZodArray<z.ZodNumber>>; points_of_interest: z.ZodRecord<z.ZodString, z.ZodObject<{ id: z.ZodNumber; name: z.ZodOptional<z.ZodString>; type: z.ZodString; floor: z.ZodNumber; coord: z.ZodArray<z.ZodNumber>; chat_link: z.ZodString; icon: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; tasks: z.ZodRecord<z.ZodString, z.ZodObject<{ id: z.ZodNumber; objective: z.ZodString; level: z.ZodNumber; coord: z.ZodArray<z.ZodNumber>; bounds: z.ZodArray<z.ZodArray<z.ZodNumber>>; chat_link: z.ZodString; }, z.core.$strip>>; skill_challenges: z.ZodArray<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; coord: z.ZodArray<z.ZodNumber>; }, z.core.$strip>>; sectors: z.ZodRecord<z.ZodString, z.ZodObject<{ id: z.ZodNumber; name: z.ZodOptional<z.ZodString>; level: z.ZodNumber; coord: z.ZodArray<z.ZodNumber>; bounds: z.ZodArray<z.ZodArray<z.ZodNumber>>; chat_link: z.ZodString; }, z.core.$strip>>; adventures: z.ZodArray<z.ZodObject<{ id: z.ZodString; coord: z.ZodArray<z.ZodNumber>; name: z.ZodString; description: z.ZodString; }, z.core.$strip>>; mastery_points: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; region: z.ZodString; coord: z.ZodArray<z.ZodNumber>; }, z.core.$strip>>; }, z.core.$strip>>; export declare const ContinentsRegionsDTO: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; name: z.ZodString; label_coord: z.ZodArray<z.ZodNumber>; continent_rect: z.ZodArray<z.ZodArray<z.ZodNumber>>; maps: z.ZodRecord<z.ZodString, z.ZodObject<{ name: z.ZodString; min_level: z.ZodNumber; max_level: z.ZodNumber; default_floor: z.ZodNumber; label_coord: z.ZodOptional<z.ZodArray<z.ZodNumber>>; map_rect: z.ZodArray<z.ZodArray<z.ZodNumber>>; continent_rect: z.ZodArray<z.ZodArray<z.ZodNumber>>; points_of_interest: z.ZodRecord<z.ZodString, z.ZodObject<{ id: z.ZodNumber; name: z.ZodOptional<z.ZodString>; type: z.ZodString; floor: z.ZodNumber; coord: z.ZodArray<z.ZodNumber>; chat_link: z.ZodString; icon: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; tasks: z.ZodRecord<z.ZodString, z.ZodObject<{ id: z.ZodNumber; objective: z.ZodString; level: z.ZodNumber; coord: z.ZodArray<z.ZodNumber>; bounds: z.ZodArray<z.ZodArray<z.ZodNumber>>; chat_link: z.ZodString; }, z.core.$strip>>; skill_challenges: z.ZodArray<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; coord: z.ZodArray<z.ZodNumber>; }, z.core.$strip>>; sectors: z.ZodRecord<z.ZodString, z.ZodObject<{ id: z.ZodNumber; name: z.ZodOptional<z.ZodString>; level: z.ZodNumber; coord: z.ZodArray<z.ZodNumber>; bounds: z.ZodArray<z.ZodArray<z.ZodNumber>>; chat_link: z.ZodString; }, z.core.$strip>>; adventures: z.ZodArray<z.ZodObject<{ id: z.ZodString; coord: z.ZodArray<z.ZodNumber>; name: z.ZodString; description: z.ZodString; }, z.core.$strip>>; mastery_points: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; region: z.ZodString; coord: z.ZodArray<z.ZodNumber>; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>>; export declare const ContinentsFloorsDTO: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; texture_dims: z.ZodArray<z.ZodNumber>; clamped_view: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNumber>>>; regions: z.ZodRecord<z.ZodString, z.ZodObject<{ id: z.ZodNumber; name: z.ZodString; label_coord: z.ZodArray<z.ZodNumber>; continent_rect: z.ZodArray<z.ZodArray<z.ZodNumber>>; maps: z.ZodRecord<z.ZodString, z.ZodObject<{ name: z.ZodString; min_level: z.ZodNumber; max_level: z.ZodNumber; default_floor: z.ZodNumber; label_coord: z.ZodOptional<z.ZodArray<z.ZodNumber>>; map_rect: z.ZodArray<z.ZodArray<z.ZodNumber>>; continent_rect: z.ZodArray<z.ZodArray<z.ZodNumber>>; points_of_interest: z.ZodRecord<z.ZodString, z.ZodObject<{ id: z.ZodNumber; name: z.ZodOptional<z.ZodString>; type: z.ZodString; floor: z.ZodNumber; coord: z.ZodArray<z.ZodNumber>; chat_link: z.ZodString; icon: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; tasks: z.ZodRecord<z.ZodString, z.ZodObject<{ id: z.ZodNumber; objective: z.ZodString; level: z.ZodNumber; coord: z.ZodArray<z.ZodNumber>; bounds: z.ZodArray<z.ZodArray<z.ZodNumber>>; chat_link: z.ZodString; }, z.core.$strip>>; skill_challenges: z.ZodArray<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; coord: z.ZodArray<z.ZodNumber>; }, z.core.$strip>>; sectors: z.ZodRecord<z.ZodString, z.ZodObject<{ id: z.ZodNumber; name: z.ZodOptional<z.ZodString>; level: z.ZodNumber; coord: z.ZodArray<z.ZodNumber>; bounds: z.ZodArray<z.ZodArray<z.ZodNumber>>; chat_link: z.ZodString; }, z.core.$strip>>; adventures: z.ZodArray<z.ZodObject<{ id: z.ZodString; coord: z.ZodArray<z.ZodNumber>; name: z.ZodString; description: z.ZodString; }, z.core.$strip>>; mastery_points: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; region: z.ZodString; coord: z.ZodArray<z.ZodNumber>; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>>; export declare const ContinentsDTO: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; name: z.ZodString; continents_dims: z.ZodOptional<z.ZodArray<z.ZodNumber>>; min_zoom: z.ZodNumber; max_zoom: z.ZodNumber; floors: z.ZodArray<z.ZodNumber>; }, z.core.$strip>>; /** * /v2/guild/:id definition. */ export declare const GuildDTO: z.ZodObject<{ id: z.ZodString; name: z.ZodString; tag: z.ZodString; emblem: z.ZodObject<{ background: z.ZodObject<{ id: z.ZodNumber; colors: z.ZodArray<z.ZodNumber>; }, z.core.$strip>; foreground: z.ZodObject<{ id: z.ZodNumber; colors: z.ZodArray<z.ZodNumber>; }, z.core.$strip>; flags: z.ZodArray<z.ZodEnum<{ FlipBackgroundHorizontal: "FlipBackgroundHorizontal"; FlipBackgroundVertical: "FlipBackgroundVertical"; FlipForegroundHorizontal: "FlipForegroundHorizontal"; FlipForegroundVertical: "FlipForegroundVertical"; }>>; }, z.core.$strip>; level: z.ZodOptional<z.ZodNumber>; motd: z.ZodOptional<z.ZodString>; influence: z.ZodOptional<z.ZodNumber>; aetherium: z.ZodOptional<z.ZodString>; favor: z.ZodOptional<z.ZodNumber>; member_count: z.ZodOptional<z.ZodNumber>; member_capacity: z.ZodOptional<z.ZodNumber>; }, z.core.$strip>; /** * /v2/guild/:id/log definition */ export declare const GuildLogDTO: z.ZodArray<z.ZodIntersection<z.ZodObject<{ id: z.ZodNumber; time: z.ZodString; }, z.core.$strip>, z.ZodDiscriminatedUnion<[ z.ZodObject<{ type: z.ZodLiteral<"joined">; user: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"invited">; user: z.ZodString; invited_by: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"kick">; user: z.ZodString; kicked