// @generated — do not edit
import { defineLifecycle } from "@tailor-platform/erp-kit/core";

export const allocationCycleLifecycle = defineLifecycle({
    validate: { from: ["DRAFT"], to: "VALIDATED" },
    invalidate: { from: ["VALIDATED"], to: "DRAFT" },
    execute: { from: ["VALIDATED"], to: "EXECUTED" },
    post: { from: ["EXECUTED"], to: "POSTED" },
    reverse: { from: ["POSTED"], to: "REVERSED" },
});

export type AllocationCycleStatus = typeof allocationCycleLifecycle.states[number];
