guildwars2-ts
Version:
GuildWars 2 API Wrapper in Typescript
40 lines (39 loc) • 1.26 kB
TypeScript
import { z } from 'zod';
/**
* /v2/characters/:id/sab definition
*/
export declare const CharacterSuperAdventureBoxDTO: z.ZodObject<{
/** Super Adventure Box zones. */
zones: z.ZodArray<z.ZodObject<{
/** Unique zone id. */
id: z.ZodNumber;
/** Mode used when completing this zone. */
mode: z.ZodEnum<{
infantile: "infantile";
normal: "normal";
tribulation: "tribulation";
}>;
/** Which world the zone is in. */
world: z.ZodNumber;
/** Zone number. */
zone: z.ZodNumber;
}, z.core.$strict>>;
/** Super Adventure Box unlocks. */
unlocks: z.ZodArray<z.ZodObject<{
/** Unique unlock id. */
id: z.ZodNumber;
/** Unlocalized unlock description. */
name: z.ZodOptional<z.ZodString>;
}, z.core.$strict>>;
/** Super Adventure box songs. */
songs: z.ZodArray<z.ZodObject<{
/** Unique song id. */
id: z.ZodNumber;
/** Unlocalized song description. */
name: z.ZodEnum<{
secret_song: "secret_song";
gatekeeper_lullaby: "gatekeeper_lullaby";
shatter_serenade: "shatter_serenade";
}>;
}, z.core.$strict>>;
}, z.core.$strict>;