/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: e8b735f037d4
 */
import * as z from "zod";
import { ApiError$zodSchema } from "./apierror.js";
import { DeliveryTypeAll$zodSchema, } from "./deliverytypeall.js";
import { DestroyResponse$zodSchema, } from "./destroyresponse.js";
import { ResourceType$zodSchema } from "./resourcetype.js";
export const DestroyAssetGlobals$zodSchema = z
    .object({
    cloud_name: z.string().describe("The cloud name of your product environment.").optional(),
});
export const DestroyAssetRequestBody$zodSchema = z.object({
    invalidate: z.boolean().default(false).describe("Whether to invalidate CDN cached copies of the asset."),
    notification_url: z.string().optional().describe("URL to receive a notification when the operation is complete."),
    public_id: z.string().describe("The public ID of the asset to destroy."),
    type: DeliveryTypeAll$zodSchema.optional().describe("All supported delivery types."),
}).describe("The asset to destroy and related options.");
export const DestroyAssetRequest$zodSchema = z
    .object({
    RequestBody: z.lazy(() => DestroyAssetRequestBody$zodSchema).describe("The asset to destroy and related options."),
    resource_type: ResourceType$zodSchema.describe("The type of resource (image, video, or raw)."),
});
export const DestroyAssetResponse$zodSchema = z
    .union([
    ApiError$zodSchema,
    DestroyResponse$zodSchema,
]);
//# sourceMappingURL=destroyassetop.js.map