import { ProcessInstance } from './ProcessInstance/index'; /** * @swagger * components: * schemas: * CorrelationList: * description: A list of Correlations. * type: object * required: * - correlations * - totalCount * properties: * correlations: * description: The correlations * type: array * items: * $ref: '#/components/schemas/Correlation' * totalCount: * description: The total number of correlations * type: number */ export declare type CorrelationList = { correlations: Array; totalCount: number; }; /** * @swagger * components: * schemas: * CorrelationMetadata: * description: Metadata for a correlation. * type: object * additionalProperties: * type: string */ export declare type CorrelationMetadata = { [key: string]: string; }; /** * @swagger * components: * schemas: * Correlation: * description: A Correlation. * type: object * required: * - correlationId * properties: * correlationId: * description: The id of the correlation. * type: string * metadata: * description: Metadata for the correlation. * $ref: '#/components/schemas/CorrelationMetadata' * processInstances: * description: The process instances that run in the context of this correlation. * type: array * items: * $ref: '#/components/schemas/ProcessInstance' */ /** * Describes a Correlation. * Correlations are used to group ProcessInstances into context. */ export declare type Correlation = { correlationId: string; /** * Optional: A dictionary of all the metadata attached to this Correlation. */ metadata?: CorrelationMetadata; /** * Optional: Contains a collection of ProcessInstances that run in the context of this Correlation. */ processInstances?: Array; }; export declare enum CorrelationSortableColumns { correlationId = "correlationId", createdAt = "createdAt" } export declare type CorrelationSortSettings = { sortBy: CorrelationSortableColumns; sortDir?: 'ASC' | 'DESC'; };