/* tslint:disable */ /* eslint-disable */ /** * openfilz-api * API for Document Management System * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ // May contain unused imports in some cases // @ts-ignore import type { WorkflowTaskDTO } from './workflow-task-dto'; export interface WorkflowInstanceDTO { 'id'?: string; 'definitionId'?: string; 'definitionName'?: string; 'definitionVersion'?: number; 'documentId'?: string; 'documentName'?: string; 'status'?: WorkflowInstanceDTOStatusEnum; 'currentStateKey'?: string; 'currentStateLabel'?: string; 'currentStateColor'?: string; 'startedBy'?: string; 'startedAt'?: string; 'updatedAt'?: string; 'completedAt'?: string; 'currentTask'?: WorkflowTaskDTO; } export const WorkflowInstanceDTOStatusEnum = { Running: 'RUNNING', Completed: 'COMPLETED', Cancelled: 'CANCELLED', } as const; export type WorkflowInstanceDTOStatusEnum = typeof WorkflowInstanceDTOStatusEnum[keyof typeof WorkflowInstanceDTOStatusEnum];