UNPKG

iracing-api

Version:

Javascript client for iracing API

285 lines (284 loc) 7.37 kB
import { z } from 'zod'; export declare const GetTeamDataParamsSchema: z.ZodObject<{ teamId: z.ZodNumber; includeLicenses: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { teamId: number; includeLicenses?: boolean | undefined; }, { teamId: number; includeLicenses?: boolean | undefined; }>; export type GetTeamDataParams = z.infer<typeof GetTeamDataParamsSchema>; export declare const GetTeamDataResponseSchema: z.ZodObject<{ teamId: z.ZodNumber; ownerId: z.ZodNumber; teamName: z.ZodString; created: z.ZodString; hidden: z.ZodBoolean; about: z.ZodString; url: z.ZodString; rosterCount: z.ZodNumber; recruiting: z.ZodBoolean; privateWall: z.ZodBoolean; isDefault: z.ZodBoolean; isOwner: z.ZodBoolean; isAdmin: z.ZodBoolean; suit: z.ZodObject<{ pattern: z.ZodNumber; color1: z.ZodString; color2: z.ZodString; color3: z.ZodString; }, "strip", z.ZodTypeAny, { pattern: number; color1: string; color2: string; color3: string; }, { pattern: number; color1: string; color2: string; color3: string; }>; owner: z.ZodObject<{ custId: z.ZodNumber; displayName: z.ZodString; helmet: z.ZodObject<{ pattern: z.ZodNumber; color1: z.ZodString; color2: z.ZodString; color3: z.ZodString; faceType: z.ZodNumber; helmetType: z.ZodNumber; }, "strip", z.ZodTypeAny, { pattern: number; color1: string; color2: string; color3: string; faceType: number; helmetType: number; }, { pattern: number; color1: string; color2: string; color3: string; faceType: number; helmetType: number; }>; owner: z.ZodBoolean; admin: z.ZodBoolean; }, "strip", z.ZodTypeAny, { displayName: string; custId: number; helmet: { pattern: number; color1: string; color2: string; color3: string; faceType: number; helmetType: number; }; admin: boolean; owner: boolean; }, { displayName: string; custId: number; helmet: { pattern: number; color1: string; color2: string; color3: string; faceType: number; helmetType: number; }; admin: boolean; owner: boolean; }>; tags: z.ZodObject<{ categorized: z.ZodArray<z.ZodString, "many">; notCategorized: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { categorized: string[]; notCategorized: string[]; }, { categorized: string[]; notCategorized: string[]; }>; teamApplications: z.ZodArray<z.ZodUnknown, "many">; pendingRequests: z.ZodArray<z.ZodUnknown, "many">; isMember: z.ZodBoolean; isApplicant: z.ZodBoolean; isInvite: z.ZodBoolean; isIgnored: z.ZodBoolean; roster: z.ZodArray<z.ZodObject<{ custId: z.ZodNumber; displayName: z.ZodString; helmet: z.ZodObject<{ pattern: z.ZodNumber; color1: z.ZodString; color2: z.ZodString; color3: z.ZodString; faceType: z.ZodNumber; helmetType: z.ZodNumber; }, "strip", z.ZodTypeAny, { pattern: number; color1: string; color2: string; color3: string; faceType: number; helmetType: number; }, { pattern: number; color1: string; color2: string; color3: string; faceType: number; helmetType: number; }>; owner: z.ZodBoolean; admin: z.ZodBoolean; }, "strip", z.ZodTypeAny, { displayName: string; custId: number; helmet: { pattern: number; color1: string; color2: string; color3: string; faceType: number; helmetType: number; }; admin: boolean; owner: boolean; }, { displayName: string; custId: number; helmet: { pattern: number; color1: string; color2: string; color3: string; faceType: number; helmetType: number; }; admin: boolean; owner: boolean; }>, "many">; }, "strip", z.ZodTypeAny, { url: string; hidden: boolean; created: string; owner: { displayName: string; custId: number; helmet: { pattern: number; color1: string; color2: string; color3: string; faceType: number; helmetType: number; }; admin: boolean; owner: boolean; }; about: string; isAdmin: boolean; isMember: boolean; ownerId: number; recruiting: boolean; rosterCount: number; suit: { pattern: number; color1: string; color2: string; color3: string; }; teamId: number; teamName: string; privateWall: boolean; isDefault: boolean; isOwner: boolean; tags: { categorized: string[]; notCategorized: string[]; }; teamApplications: unknown[]; pendingRequests: unknown[]; isApplicant: boolean; isInvite: boolean; isIgnored: boolean; roster: { displayName: string; custId: number; helmet: { pattern: number; color1: string; color2: string; color3: string; faceType: number; helmetType: number; }; admin: boolean; owner: boolean; }[]; }, { url: string; hidden: boolean; created: string; owner: { displayName: string; custId: number; helmet: { pattern: number; color1: string; color2: string; color3: string; faceType: number; helmetType: number; }; admin: boolean; owner: boolean; }; about: string; isAdmin: boolean; isMember: boolean; ownerId: number; recruiting: boolean; rosterCount: number; suit: { pattern: number; color1: string; color2: string; color3: string; }; teamId: number; teamName: string; privateWall: boolean; isDefault: boolean; isOwner: boolean; tags: { categorized: string[]; notCategorized: string[]; }; teamApplications: unknown[]; pendingRequests: unknown[]; isApplicant: boolean; isInvite: boolean; isIgnored: boolean; roster: { displayName: string; custId: number; helmet: { pattern: number; color1: string; color2: string; color3: string; faceType: number; helmetType: number; }; admin: boolean; owner: boolean; }[]; }>; export type GetTeamDataResponse = z.infer<typeof GetTeamDataResponseSchema>;