// @generated — do not edit import { defineLifecycle } from "@tailor-platform/erp-kit/core"; export const accountingPeriodLifecycle = defineLifecycle({ openPeriod: { from: ["NEVER_OPENED"], to: "OPEN" }, closePeriod: { from: ["OPEN"], to: "CLOSED" }, reopenPeriod: { from: ["CLOSED"], to: "OPEN" }, permanentlyClosePeriod: { from: ["CLOSED"], to: "PERMANENTLY_CLOSED" }, }); export type AccountingPeriodStatus = typeof accountingPeriodLifecycle.states[number];