import { Model } from 'sequelize-typescript'; import { FlowNodeInstanceState } from '@5minds/processcube_engine_sdk'; import { ExternalTaskModel } from './ExternalTask'; import { HttpServiceTaskModel } from './HttpServiceTask'; import { ProcessInstanceModel } from './ProcessInstance'; export declare class CatchEventInstanceMetaInfoModel extends Model { flowNodeInstanceId: string; eventName: string; triggerValue?: string; createdAt?: Date; updatedAt?: Date; } export declare class ThrowEventInstanceMetaInfoModel extends Model { flowNodeInstanceId: string; eventName: string; customCorrelationId?: string; createdAt?: Date; updatedAt?: Date; } export declare class CallActivityInstanceMetaInfoModel extends Model { flowNodeInstanceId: string; targetProcessModelId: string; startEventId: string; childProcessInstanceId: string; createdAt: Date; updatedAt?: Date; } export declare class SubprocessInstancesMetaInfoModel extends Model { flowNodeInstanceId: string; startEventId: string; childProcessInstanceId: string; createdAt: Date; updatedAt?: Date; } export declare class ManualTaskMetaInfoModel extends Model { flowNodeInstanceId: string; finishedByUserId: string; createdAt: Date; updatedAt?: Date; } export declare class UserTaskMetaInfoModel extends Model { flowNodeInstanceId: string; actualOwnerId: string; assignedUserIds: string; finishedByUserId: string; createdAt: Date; updatedAt?: Date; userTaskConfig: string; userTaskConfigModel: string; } export declare class MultiInstanceMetadataModel extends Model { multiInstanceMetadataId: string; startToken?: string; endToken?: string; createdAt: Date; updatedAt?: Date; } export declare class FlowNodeInstanceModel extends Model { flowNodeInstanceId: string; flowNodeId: string; flowNodeName: string; flowNodeLane: string; flowNodeType: string; eventType: string; state: FlowNodeInstanceState; previousFlowNodeInstanceId: string; parentProcessInstanceId: string; processDefinitionId: string; processModelId: string; processInstanceId: string; correlationId: string; ownerId: string; error: string; startToken?: string; startTokenCompressed?: Buffer; suspendedAt?: Date; finishedAt?: Date; endToken?: string; endTokenCompressed?: Buffer; triggeredByFlowNodeInstanceId?: string; multiInstanceMetadataId?: string; triggeredByFlowNodeInstance?: FlowNodeInstanceModel; multiInstanceMetadata?: MultiInstanceMetadataModel; processInstance?: ProcessInstanceModel; callActivityInstanceMetaInfo?: CallActivityInstanceMetaInfoModel; subprocessInstanceMetaInfo?: SubprocessInstancesMetaInfoModel; catchEventInstanceMetaInfo?: CatchEventInstanceMetaInfoModel; throwEventInstanceMetaInfo?: ThrowEventInstanceMetaInfoModel; externalTaskData?: ExternalTaskModel; httpServiceTaskData?: HttpServiceTaskModel; manualTaskMetaInfo?: ManualTaskMetaInfoModel; userTaskMetaInfo?: UserTaskMetaInfoModel; createdAt?: Date; updatedAt?: Date; }