Variable checkSchemaConst

checkSchema: ZodEffects<ZodObject<{
    ipAddress: ZodEffects<ZodString, string, string>;
    maxAgeInDays: ZodOptional<ZodNumber>;
    verbose: ZodOptional<ZodBoolean>;
}, "strip", ZodTypeAny, {
    ipAddress: string;
    maxAgeInDays?: number;
    verbose?: boolean;
}, {
    ipAddress: string;
    maxAgeInDays?: number;
    verbose?: boolean;
}>, any, {
    ipAddress: string;
    maxAgeInDays?: number;
    verbose?: boolean;
}> = ...

Type declaration

  • ipAddress: string

    Single IPv4/IPv6 address.

  • Optional maxAgeInDays?: number

    Show latest reports based on n days. Accepted values between 1 and 365, defaults to 30 by the API.

  • Optional verbose?: boolean

    Includes in the client response all the reports (Limited to 10,000) and country name entries, based on the maxAgeInDays parameter. Defaults to false by the API.

Generated using TypeDoc