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

export const stockAdjustmentLifecycle = defineLifecycle({
    submit: { from: ["DRAFT"], to: "SUBMITTED" },
    cancel: { from: ["DRAFT"], to: "CANCELLED" },
    confirm: { from: ["SUBMITTED"], to: "CONFIRMED" },
    reject: { from: ["SUBMITTED"], to: "REJECTED" },
    resubmit: { from: ["REJECTED"], to: "DRAFT" },
});

export type StockAdjustmentStatus = typeof stockAdjustmentLifecycle.states[number];
