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

export const listingLifecycle = defineLifecycle({
    activate: { from: ["DRAFT", "PAUSED"], to: "ACTIVE" },
    pause: { from: ["ACTIVE"], to: "PAUSED" },
    retire: { from: ["DRAFT", "ACTIVE", "PAUSED"], to: "RETIRED" },
});

export type ListingStatus = typeof listingLifecycle.states[number];
