// @generated — do not edit import { defineLifecycle } from "@tailor-platform/erp-kit/core"; export const incomingPaymentLifecycle = defineLifecycle({ update: { from: ["DRAFT"], to: "DRAFT" }, post: { from: ["DRAFT"], to: "POSTED" }, cancel: { from: ["DRAFT"], to: "CANCELLED" }, reverse: { from: ["POSTED"], to: "REVERSED" }, }); export type IncomingPaymentStatus = typeof incomingPaymentLifecycle.states[number];