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

export const pipelineItemLifecycle = defineLifecycle({
    open: { from: ["DRAFT"], to: "OPEN" },
    close: { from: ["OPEN"], to: "CLOSED" },
    reopen: { from: ["CLOSED"], to: "OPEN" },
});

export type PipelineItemStatus = typeof pipelineItemLifecycle.states[number];
