/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: f8fa3dab0b79
 */
import * as z from "zod";
export const Transformations$zodSchema = z.object({
    usage: z.int().optional().describe("Number of transformations used"),
});
export const Objects$zodSchema = z.object({
    limit: z.int().optional().describe("Object limit for the plan"),
    usage: z.int().optional().describe("Number of objects used"),
    used_percent: z.number().optional().describe("Percentage of object limit used"),
});
export const Bandwidth$zodSchema = z.object({
    limit: z.int().optional().describe("Bandwidth limit for the plan"),
    usage: z.int().optional().describe("Bandwidth used in bytes"),
    used_percent: z.number().optional().describe("Percentage of bandwidth limit used"),
});
export const Storage$zodSchema = z.object({
    limit: z.int().optional().describe("Storage limit for the plan"),
    usage: z.int().optional().describe("Storage used in bytes"),
    used_percent: z.number().optional().describe("Percentage of storage limit used"),
});
export const Impressions$zodSchema = z.object({
    usage: z.int().optional().describe("Number of impressions used"),
});
export const SecondsDelivered$zodSchema = z.object({
    usage: z.int().optional().describe("Number of seconds delivered"),
});
export const MediaLimits$zodSchema = z.object({
    asset_max_total_px: z.int().optional().describe("Maximum total pixels for assets"),
    image_max_px: z.int().optional().describe("Maximum pixels for images"),
    image_max_size_bytes: z.int().optional().describe("Maximum size for images in bytes"),
    raw_max_size_bytes: z.int().optional().describe("Maximum size for raw files in bytes"),
    video_max_size_bytes: z.int().optional().describe("Maximum size for videos in bytes"),
}).describe("Upload size and pixel limits");
export const UsageResponse$zodSchema = z.object({
    bandwidth: z.lazy(() => Bandwidth$zodSchema).optional(),
    date_requested: z.iso.datetime({ offset: true }).optional().describe("The date for which usage was requested"),
    derived_resources: z.int().optional().describe("Number of derived resources"),
    impressions: z.lazy(() => Impressions$zodSchema).optional(),
    last_updated: z.string().date().optional().describe("When the usage data was last updated"),
    media_limits: z.lazy(() => MediaLimits$zodSchema).optional().describe("Upload size and pixel limits"),
    objects: z.lazy(() => Objects$zodSchema).optional(),
    plan: z.string().optional().describe("The current plan name"),
    requests: z.int().optional().describe("Number of requests made"),
    resources: z.int().optional().describe("Number of resources stored"),
    seconds_delivered: z.lazy(() => SecondsDelivered$zodSchema).optional(),
    storage: z.lazy(() => Storage$zodSchema).optional(),
    transformations: z.lazy(() => Transformations$zodSchema).optional(),
});
//# sourceMappingURL=usageresponse.js.map