import { BankActionEnum, BankStatusEnum, FlowConfig, IBankEntity, IIntermediaryBankEntity } from "../../entities"; /** * LW-828: this used to re-declare the flow-config shape by hand. It is now an alias of the shared * `FlowConfig`, instantiated with `void` as the context type because `next` here is called with no * arguments (`BankService.getBankNextStatus`). Kept as a named type so every consumer — including * law-admin-web, which receives this config over `GET /bank/flow-config` — keeps compiling unchanged. */ export type IBankFlowConfig = FlowConfig; export interface IBankEntityGet extends IBankEntity { intermediaryBankDetails?: IIntermediaryBankEntity[]; } export type IBankEntityGetArray = IBankEntityGet[];