import { IBillingTransactionUpdateDto } from "../../api"; import { BillingTransactionActionEnum } from "../enums/billing_transaction_action_enum"; import { BillingTransactionStatusEnum } from "../enums/billing_transaction_status_enum"; import { IBillingTransactionEntity } from "../interface/billing_transaction.entity.interface"; import { FlowConfig } from "./flow-config.type"; export interface IBillingTransactionContextFlowData { currentBillingTransactionEntity: IBillingTransactionEntity; dto: IBillingTransactionUpdateDto; } /** * LW-828: this used to re-declare the flow-config shape by hand. It is now an alias of the shared * `FlowConfig`, which is a strict superset of the old declaration — same `permissions` and `next`, plus * the optional `description` / `isApplicable` this entity does not use. * Kept as a named type so every existing consumer keeps compiling unchanged. */ export type IBillingTransactionFlowConfig = FlowConfig; /** * The ADJUST_AGAINST_CREDIT_NOTE_APPROVAL_PENDING block was commented out in the legacy config and stays * commented here, converted to the new shape so reviving it is a straight uncomment. It also needs * `ADJUST_AGAINST_CREDIT_NOTE_APPROVAL_PENDING` on BillingTransactionStatusEnum, its counterpart on * BillingTransactionType, the mapping line in `decideNextStatus`, and the status added to UPDATE's * `reachableStatues` in ACTION_MAP. */ export declare const billingTransactionFlowConfig: IBillingTransactionFlowConfig;