import { z } from 'zod';
export var AutomationMode;
(function (AutomationMode) {
    AutomationMode["AUTOMATED"] = "automated";
    AutomationMode["SEMIAUTO"] = "semiauto";
    AutomationMode["MANUAL"] = "manual";
})(AutomationMode || (AutomationMode = {}));
export const ZAutomationMode = z.nativeEnum(AutomationMode);
export const ZBaseAutomationItem = z.object({
    id: z.string().uuid(),
    moduleId: z.string().uuid().nullable(),
    versionId: z.string().uuid(),
    mode: ZAutomationMode,
    visible: z.boolean(),
    order: z.number().default(0)
});
export const ZBaseAutomationLink = z.object({
    id: z.string().uuid(),
    moduleId: z.string().uuid().nullable(),
    versionId: z.string().uuid(),
    thumbnailUrl: z.string().nullable(),
    title: z.string().nullable(),
    url: z.string(),
    visible: z.boolean(),
    order: z.number().default(0)
});
