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

export const internalOrderLifecycle = defineLifecycle({
    release: { from: ["CREATED"], to: "RELEASED" },
    technicallyComplete: { from: ["RELEASED"], to: "TECHNICALLY_COMPLETED" },
    close: { from: ["TECHNICALLY_COMPLETED"], to: "CLOSED" },
});

export type InternalOrderStatus = typeof internalOrderLifecycle.states[number];
