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

export const approvalRequestLifecycle = defineLifecycle({
    approve: { from: ["PENDING"], to: "APPROVED" },
    reject: { from: ["PENDING"], to: "REJECTED" },
    withdraw: { from: ["PENDING"], to: "WITHDRAWN" },
    cancel: { from: ["PENDING"], to: "CANCELLED" },
});

export type ApprovalRequestStatus = typeof approvalRequestLifecycle.states[number];
