UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

51 lines (50 loc) 2.4 kB
import { z } from 'zod'; /** * /v2/guild/:id definition. */ export declare const GuildDTO: z.ZodObject<{ /** The unique guild id. */ id: z.ZodString; /** The guild name. */ name: z.ZodString; /** The 2 to 4 letter guild tag. */ tag: z.ZodString; /** The guild emblem. */ emblem: z.ZodOptional<z.ZodObject<{ /** An array containing information of the background of the guild emblem. */ background: z.ZodObject<{ /** The emblem id. */ id: z.ZodNumber; /** Array of emblem color ids. */ colors: z.ZodArray<z.ZodNumber>; }, z.core.$strict>; /** An array containing information of the foreground of the guild emblem. */ foreground: z.ZodObject<{ /** The emblem id. */ id: z.ZodNumber; /** Array of emblem color ids. */ colors: z.ZodArray<z.ZodNumber>; }, z.core.$strict>; /** An array of manipulations applied to the logo. */ flags: z.ZodArray<z.ZodEnum<{ FlipBackgroundHorizontal: "FlipBackgroundHorizontal"; FlipBackgroundVertical: "FlipBackgroundVertical"; FlipForegroundHorizontal: "FlipForegroundHorizontal"; FlipForegroundVertical: "FlipForegroundVertical"; }>>; }, z.core.$strict>>; /** The current guild level. Only available when the Api token has member or leader privileges. */ level: z.ZodOptional<z.ZodNumber>; /** The message of the day. Only available when the Api token has member or leader privileges. */ motd: z.ZodOptional<z.ZodString>; /** The current guild influence. Only available when the Api token has member or leader privileges. */ influence: z.ZodOptional<z.ZodNumber>; /** The current aetherium level. Only available when the Api token has member or leader privileges. */ aetherium: z.ZodOptional<z.ZodString>; /** The current level of guild favor. Only available when the Api token has member or leader privileges. */ favor: z.ZodOptional<z.ZodNumber>; /** The current member count. Only available when the Api token has member or leader privileges. */ member_count: z.ZodOptional<z.ZodNumber>; /** The maximum member count. Only available when the Api token has member or leader privileges. */ member_capacity: z.ZodOptional<z.ZodNumber>; }, z.core.$strict>;