import type { DunningFlowType } from './DunningFlowType'; import type { CreationEntityState } from './CreationEntityState'; /** * * @export * @interface DunningFlow */ export interface DunningFlow { /** * The ID of the space this object belongs to. * @type {number} * @memberof DunningFlow */ readonly linkedSpaceId?: number; /** * The dunning flow name is used internally to identify the configuration in administrative interfaces. For example it is used within search fields and hence it should be distinct and descriptive. * @type {string} * @memberof DunningFlow */ readonly name?: string; /** * The date and time when the object is planned to be permanently removed. If the value is empty, the object will not be removed. * @type {Date} * @memberof DunningFlow */ readonly plannedPurgeDate?: Date; /** * A unique identifier for the object. * @type {number} * @memberof DunningFlow */ readonly id?: number; /** * * @type {CreationEntityState} * @memberof DunningFlow */ state?: CreationEntityState; /** * If a dunning flow meets all selected conditions, the dunning flow will be used to process the dunning case. If the conditions are not met the next dunning flow in line will be chosen according to the priorities. * @type {Array} * @memberof DunningFlow */ readonly conditions?: Array; /** * The priority orders the dunning flows. As such the priority determines together with the conditions the dunning flow the selection mechanism for a particular invoice. A change of the priority affects all future selections. * @type {number} * @memberof DunningFlow */ readonly priority?: number; /** * * @type {DunningFlowType} * @memberof DunningFlow */ type?: DunningFlowType; /** * The version is used for optimistic locking and incremented whenever the object is updated. * @type {number} * @memberof DunningFlow */ readonly version?: number; } /** * Check if a given object implements the DunningFlow interface. */ export declare function instanceOfDunningFlow(value: object): value is DunningFlow; export declare function DunningFlowFromJSON(json: any): DunningFlow; export declare function DunningFlowFromJSONTyped(json: any, ignoreDiscriminator: boolean): DunningFlow; export declare function DunningFlowToJSON(json: any): DunningFlow; export declare function DunningFlowToJSONTyped(value?: Omit | null, ignoreDiscriminator?: boolean): any;