/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 363c7ad4fafa
 */
import * as z from "zod";
import * as b64$ from "../lib/base64.js";
import { ApiError$zodSchema } from "./apierror.js";
export const DownloadBackupAssetGlobals$zodSchema = z.object({
    cloud_name: z.string().describe("The cloud name of your product environment.")
        .optional(),
});
export const DownloadBackupAssetRequest$zodSchema = z.object({
    asset_id: z.string().describe("The asset ID of the resource. Must be a 32-character hexadecimal string."),
    version_id: z.string().describe("The version ID of the backup to download. Must be a 32-character hexadecimal string."),
});
export const DownloadBackupAssetResponse$zodSchema = z.union([
    ApiError$zodSchema,
    z.string().describe("Base64-encoded binary content").transform(b64$.bytesFromBase64),
    z.string().describe("Base64-encoded binary content").transform(b64$.bytesFromBase64),
    z.string().describe("Base64-encoded binary content").transform(b64$.bytesFromBase64),
    z.string().describe("Base64-encoded binary content").transform(b64$.bytesFromBase64),
]);
//# sourceMappingURL=downloadbackupassetop.js.map