1 | import type { DefaultElements, Link, MakeRequest, PaginationQueryOptions, SysLink, VersionedLink } from '../common-types';
|
2 | export type WorkflowsChangelogQueryOptions = Omit<PaginationQueryOptions, 'order'> & {
|
3 |
|
4 | 'entity.sys.linkType': string;
|
5 |
|
6 | 'entity.sys.id': string;
|
7 |
|
8 | 'workflow.sys.id'?: string;
|
9 | 'eventAt[lte]'?: string;
|
10 | 'eventAt[gte]'?: string;
|
11 | 'workflowDefinition.sys.id[in]'?: string;
|
12 | };
|
13 | export type WorkflowsChangelogEntryProps = {
|
14 | event: string;
|
15 | eventBy: SysLink;
|
16 | eventAt: string;
|
17 | workflow: VersionedLink<'Workflow'>;
|
18 | workflowDefinition: Link<'WorkflowDefinition'>;
|
19 | entity: Link<'Entry'>;
|
20 | stepId: string;
|
21 | stepAnnotations: string[];
|
22 | stepName: string;
|
23 | };
|
24 | export interface WorkflowsChangelogEntry extends WorkflowsChangelogEntryProps, DefaultElements<WorkflowsChangelogEntryProps> {
|
25 | }
|
26 |
|
27 |
|
28 |
|
29 | export declare function wrapWorkflowsChangelogEntry(_makeRequest: MakeRequest, data: WorkflowsChangelogEntryProps): WorkflowsChangelogEntry;
|
30 |
|
31 |
|
32 |
|
33 | export declare const wrapWorkflowsChangelogEntryCollection: (makeRequest: MakeRequest, data: import("../common-types").CollectionProp<WorkflowsChangelogEntryProps>) => import("../common-types").Collection<WorkflowsChangelogEntry, WorkflowsChangelogEntryProps>;
|