/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: f4606fb493f8
 */
import * as z from "zod";
import { Info$zodSchema } from "./info.js";
/**
 * The error message if restore failed for a specific asset.
 */
export const ErrorEnum = {
    NoBackup: "no_backup",
    Failed: "failed",
    Unauthorized: "unauthorized",
};
export const ErrorEnum$zodSchema = z.enum([
    "no_backup",
    "failed",
    "unauthorized",
]).describe("The error message if restore failed for a specific asset.");
export const RestoreResponse$zodSchema = z.object({
    error: ErrorEnum$zodSchema.optional().describe("The error message if restore failed for a specific asset."),
});
export const RestoreResponseUnion$zodSchema = z
    .union([
    Info$zodSchema,
    z.lazy(() => RestoreResponse$zodSchema),
]);
//# sourceMappingURL=restoreresponseunion.js.map