guildwars2-ts
Version:
GuildWars 2 API Wrapper in Typescript
23 lines (22 loc) • 776 B
TypeScript
import { z } from 'zod';
/**
* /v2/wvw/matches/stats/:guild/teams definition
*/
export declare const WvWMatchesTeamsStatsDTO: z.ZodArray<z.ZodObject<{
/** The guild id. Can be resolved against v2/guilds. */
guild_id: z.ZodString;
/** An object containing the total deaths of the three teams. */
deaths: z.ZodObject<{
red: z.ZodNumber;
blue: z.ZodNumber;
green: z.ZodNumber;
}, z.core.$strict>;
/** An object containing the total kills of the three teams. */
kills: z.ZodObject<{
red: z.ZodNumber;
blue: z.ZodNumber;
green: z.ZodNumber;
}, z.core.$strict>;
/** The wilson score for this guild. Only present in the kdr endpoint */
wilson: z.ZodOptional<z.ZodNumber>;
}, z.core.$strict>>;