/** Core */ import { EventArgs } from "cmf.taura/src/base/base.mediator"; import Cmf from "cmf.lbos"; /** Bags */ import { ResultMessageBag } from "cmf.core.controls/src/components/resultMessage/resultMessageBag"; /** * Constants that simply defines all the interface methods as strings */ export declare const transactionMembers: { prepareDataInput: string; prepareTransactionInput: string; handleDataOutput: string; handleTransactionOutput: string; }; export declare const implementsWizardInterfaceMandatoryMembers: string[]; export interface TransactionEventArgs extends EventArgs { /** * transaction comments */ comments?: string; /** * transaction operation type of */ operation?: number; /** * transaction callback */ callback(promise: Promise): Promise; } /** * Transaction definition interface which should be implemented by all transaction consumer directives */ export interface TransactiondDef { prepareDataInput?: () => Promise>; handleDataOutput?: (outputs: Array) => Promise; handleTransactionOutput?: (output: Cmf.Foundation.BusinessOrchestration.BaseOutput) => Promise; prepareTransactionInput(args: TransactionEventArgs): Promise; } /** * Generic Transaction output class that handles outputs */ export interface TreatTransactionOutput { errorMessage: string; isRecuperableError: boolean; resultMessages: Array; successMessage: string; }