/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: ff6558def3e3
 */
import * as z from "zod";
import { ApiError$zodSchema } from "./apierror.js";
import { Info$zodSchema } from "./info.js";
export const GetResourceByAssetIdGlobals$zodSchema = z.object({
    cloud_name: z.string().describe("The cloud name of your product environment.")
        .optional(),
});
export const GetResourceByAssetIdRequest$zodSchema = z.object({
    accessibility_analysis: z.boolean().default(false).describe("Whether to return accessibility analysis scores for the image. Default: false."),
    asset_id: z.string().describe("The asset ID of the resource. Must be a 32-character hexadecimal string."),
    colors: z.boolean().default(false).describe("Whether to include color information (predominant colors and histogram of 32 leading colors). Default: false."),
    coordinates: z.boolean().default(false).describe("Whether to include previously specified custom cropping coordinates and faces coordinates. Default: false."),
    derived_next_cursor: z.string().describe("The cursor for the next page of derived assets when there are more derived images than max_results.").optional(),
    faces: z.boolean().default(false).describe("Whether to include a list of coordinates of detected faces. Default: false."),
    max_results: z.int().default(10).describe("Maximum number of derived assets to return. Default: 10."),
    media_metadata: z.boolean().default(false).describe("Whether to include IPTC, XMP, and detailed Exif metadata in the response. Default: false."),
    pages: z.boolean().default(false).describe("Whether to report the number of pages in multi-page documents (e.g., PDF). Default: false."),
    phash: z.boolean().default(false).describe("Whether to include the perceptual hash (pHash) of the uploaded photo for image similarity detection. Default: false."),
    quality_analysis: z.boolean().default(false).describe("Whether to return quality analysis scores for the image. Default: false."),
    versions: z.boolean().default(false).describe("Whether to include details of all the backed up versions of the asset. Default: false."),
});
export const GetResourceByAssetIdResponse$zodSchema = z.union([
    ApiError$zodSchema,
    Info$zodSchema,
]);
//# sourceMappingURL=getresourcebyassetidop.js.map