Skip to main content

Variable: GatewayUsageLimitInputSchema

const GatewayUsageLimitInputSchema: ZodEffects<ZodEffects<ZodObject<{
credit_limit: ZodOptional<ZodNumber>;
type: ZodOptional<ZodEnum<["cost", "tokens"]>>;
alert_threshold: ZodOptional<ZodNumber>;
periodic_reset: ZodOptional<ZodNullable<ZodEnum<["monthly", "weekly"]>>>;
periodic_reset_days: ZodOptional<ZodNullable<ZodNumber>>;
next_usage_reset_at: ZodOptional<ZodNullable<ZodString>>;
}, "strict", ZodTypeAny, {
credit_limit?: number;
type?: "cost" | "tokens";
alert_threshold?: number;
periodic_reset?: "monthly" | "weekly" | null;
periodic_reset_days?: number | null;
next_usage_reset_at?: string | null;
}, {
credit_limit?: number;
type?: "cost" | "tokens";
alert_threshold?: number;
periodic_reset?: "monthly" | "weekly" | null;
periodic_reset_days?: number | null;
next_usage_reset_at?: string | null;
}>, {
[key: string]: any;
}, {
[key: string]: any;
}>, {
[key: string]: any;
}, {
[key: string]: any;
}>;

Defined in: src/models/ai-gateway-requests.ts:44