/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 17b93f19a464
 */
import * as z from "zod";
import { AccessControlItem$zodSchema, } from "./accesscontrolitem.js";
export const Region$zodSchema = z.object({});
export const TextResponseModeration$zodSchema = z.object({}).describe("Moderation information for the asset.");
export const TextResponseInfo$zodSchema = z.object({}).describe("Additional information about the asset.");
export const TextResponse$zodSchema = z.object({
    access_control: z.array(AccessControlItem$zodSchema).optional().describe("Restricts access to the asset by specifying one or more access types.\nThe asset is restricted unless at least one listed access type is valid.\n"),
    asset_id: z.string().optional().describe("A 32-character hexadecimal asset ID."),
    bytes: z.int().optional().describe("Size of the asset in bytes."),
    created_at: z.iso.datetime({ offset: true }).optional().describe("The creation timestamp."),
    display_name: z.string().optional().describe("The display name of the asset."),
    etag: z.string().optional().describe("The ETag of the asset."),
    format: z.string().optional().describe("The format of the generated image."),
    height: z.int().optional().describe("The height of the generated image in pixels."),
    info: z.lazy(() => TextResponseInfo$zodSchema).optional().describe("Additional information about the asset."),
    moderation: z.lazy(() => TextResponseModeration$zodSchema).optional()
        .describe("Moderation information for the asset."),
    pages: z.int().optional().describe("Number of pages in the asset."),
    placeholder: z.boolean().optional().describe("Whether the asset is a placeholder."),
    public_id: z.string().optional().describe("The public identifier of the asset."),
    regions: z.array(z.lazy(() => Region$zodSchema)).optional().describe("Region information for the asset."),
    resource_type: z.string().optional().describe("The type of resource (image)."),
    secure_url: z.string().optional().describe("The HTTPS URL for accessing the asset."),
    signature: z.string().optional().describe("The signature for the asset."),
    tags: z.array(z.string()).nullable().optional().describe("Tag names assigned to the asset."),
    type: z.string().optional().describe("The storage type of the asset."),
    url: z.string().optional().describe("The HTTP URL for accessing the asset."),
    version: z.int().optional().describe("The version number of the asset."),
    version_id: z.string().optional().describe("Hexadecimal version ID; length is a positive multiple of 32 (typically 32 or 64)."),
    width: z.int().optional().describe("The width of the generated image in pixels."),
});
//# sourceMappingURL=textresponse.js.map