import type { CreationEntityState } from './CreationEntityState'; import type { ConditionType } from './ConditionType'; /** * A connector condition defines criteria that a transaction must meet for a connector configuration to process the payment. * @export * @interface Condition */ export interface Condition { /** * The ID of the space this object belongs to. * @type {number} * @memberof Condition */ readonly linkedSpaceId?: number; /** * The name used to identify the condition. * @type {string} * @memberof Condition */ 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 Condition */ readonly plannedPurgeDate?: Date; /** * * @type {ConditionType} * @memberof Condition */ conditionType?: ConditionType; /** * A unique identifier for the object. * @type {number} * @memberof Condition */ readonly id?: number; /** * * @type {CreationEntityState} * @memberof Condition */ state?: CreationEntityState; /** * The version is used for optimistic locking and incremented whenever the object is updated. * @type {number} * @memberof Condition */ readonly version?: number; } /** * Check if a given object implements the Condition interface. */ export declare function instanceOfCondition(value: object): value is Condition; export declare function ConditionFromJSON(json: any): Condition; export declare function ConditionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Condition; export declare function ConditionToJSON(json: any): Condition; export declare function ConditionToJSONTyped(value?: Omit | null, ignoreDiscriminator?: boolean): any;