2022-10-12 14:21:49 +00:00
|
|
|
export interface Secret {
|
2022-10-14 00:45:09 +00:00
|
|
|
id: number;
|
2022-10-12 14:21:49 +00:00
|
|
|
key: string;
|
|
|
|
value: string;
|
2022-10-14 00:45:09 +00:00
|
|
|
creator_user_id: string;
|
2022-10-12 14:21:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface RecentProcessModel {
|
2022-11-10 03:24:16 +00:00
|
|
|
processGroupIdentifier?: string;
|
2022-10-12 14:21:49 +00:00
|
|
|
processModelIdentifier: string;
|
|
|
|
processModelDisplayName: string;
|
|
|
|
}
|
|
|
|
|
2022-11-16 21:53:51 +00:00
|
|
|
export interface ProcessReference {
|
2022-11-07 19:35:49 +00:00
|
|
|
id: string; // The unique id of the process or decision table.
|
2022-11-16 21:53:51 +00:00
|
|
|
name: string; // The process or decision Display name.
|
|
|
|
identifier: string;
|
|
|
|
display_name: string;
|
|
|
|
process_group_id: string;
|
|
|
|
process_model_id: string;
|
2022-11-07 19:35:49 +00:00
|
|
|
type: string; // either "decision" or "process"
|
2022-11-16 21:53:51 +00:00
|
|
|
file_name: string;
|
|
|
|
has_lanes: boolean;
|
|
|
|
is_executable: boolean;
|
|
|
|
is_primary: boolean;
|
2022-11-07 19:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface ProcessFile {
|
|
|
|
content_type: string;
|
|
|
|
last_modified: string;
|
|
|
|
name: string;
|
|
|
|
process_model_id: string;
|
2022-11-16 21:53:51 +00:00
|
|
|
references: ProcessReference[];
|
2022-11-07 19:35:49 +00:00
|
|
|
size: number;
|
|
|
|
type: string;
|
2022-11-08 17:08:18 +00:00
|
|
|
file_contents?: string;
|
2022-11-07 19:35:49 +00:00
|
|
|
}
|
|
|
|
|
2022-11-18 21:40:49 +00:00
|
|
|
export interface ProcessInstance {
|
|
|
|
id: number;
|
|
|
|
process_model_identifier: string;
|
2022-11-30 20:08:04 +00:00
|
|
|
process_model_display_name: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface MessageCorrelationProperties {
|
|
|
|
[key: string]: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface MessageCorrelations {
|
|
|
|
[key: string]: MessageCorrelationProperties;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface MessageInstance {
|
|
|
|
id: number;
|
|
|
|
process_model_identifier: string;
|
|
|
|
process_model_display_name: string;
|
|
|
|
process_instance_id: number;
|
|
|
|
message_identifier: string;
|
|
|
|
message_type: string;
|
|
|
|
failure_cause: string;
|
|
|
|
status: string;
|
|
|
|
created_at_in_seconds: number;
|
|
|
|
message_correlations?: MessageCorrelations;
|
2022-11-18 21:40:49 +00:00
|
|
|
}
|
|
|
|
|
2022-11-22 14:35:42 +00:00
|
|
|
export interface ProcessInstanceReport {
|
|
|
|
id: string;
|
|
|
|
display_name: string;
|
|
|
|
}
|
|
|
|
|
2022-11-23 20:39:10 +00:00
|
|
|
export interface ProcessGroupLite {
|
|
|
|
id: string;
|
|
|
|
display_name: string;
|
|
|
|
}
|
|
|
|
|
2022-10-12 14:21:49 +00:00
|
|
|
export interface ProcessModel {
|
|
|
|
id: string;
|
2022-11-07 23:37:46 +00:00
|
|
|
description: string;
|
2022-10-12 14:21:49 +00:00
|
|
|
display_name: string;
|
|
|
|
primary_file_name: string;
|
2022-11-07 19:35:49 +00:00
|
|
|
files: ProcessFile[];
|
2022-11-23 20:39:10 +00:00
|
|
|
parent_groups?: ProcessGroupLite[];
|
2022-10-12 14:21:49 +00:00
|
|
|
}
|
|
|
|
|
2022-11-18 17:42:08 +00:00
|
|
|
export interface ProcessGroup {
|
|
|
|
id: string;
|
|
|
|
display_name: string;
|
|
|
|
description?: string | null;
|
|
|
|
process_models?: ProcessModel[];
|
|
|
|
process_groups?: ProcessGroup[];
|
2022-11-23 20:39:10 +00:00
|
|
|
parent_groups?: ProcessGroupLite[];
|
2022-11-18 17:42:08 +00:00
|
|
|
}
|
|
|
|
|
2022-11-23 20:39:10 +00:00
|
|
|
export interface HotCrumbItemObject {
|
|
|
|
entityToExplode: ProcessModel | ProcessGroup | string;
|
|
|
|
entityType: string;
|
|
|
|
linkLastItem?: boolean;
|
|
|
|
}
|
|
|
|
|
|
|
|
export type HotCrumbItemArray = [displayValue: string, url?: string];
|
|
|
|
|
2022-10-12 14:21:49 +00:00
|
|
|
// tuple of display value and URL
|
2022-11-23 20:39:10 +00:00
|
|
|
export type HotCrumbItem = HotCrumbItemArray | HotCrumbItemObject;
|
2022-10-18 20:41:13 +00:00
|
|
|
|
|
|
|
export interface ErrorForDisplay {
|
|
|
|
message: string;
|
|
|
|
sentry_link?: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface AuthenticationParam {
|
|
|
|
id: string;
|
|
|
|
type: string;
|
|
|
|
required: boolean;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface AuthenticationItem {
|
|
|
|
id: string;
|
|
|
|
parameters: AuthenticationParam[];
|
|
|
|
}
|
2022-11-01 20:26:24 +00:00
|
|
|
|
|
|
|
export interface PaginationObject {
|
|
|
|
count: number;
|
|
|
|
total: number;
|
|
|
|
pages: number;
|
|
|
|
}
|
2022-11-02 21:16:41 +00:00
|
|
|
|
|
|
|
export interface CarbonComboBoxSelection {
|
|
|
|
selectedItem: ProcessModel;
|
|
|
|
}
|
2022-11-15 19:40:35 +00:00
|
|
|
|
2022-11-16 21:53:51 +00:00
|
|
|
export interface CarbonComboBoxProcessSelection {
|
|
|
|
selectedItem: ProcessReference;
|
|
|
|
}
|
|
|
|
|
2022-11-15 19:40:35 +00:00
|
|
|
export interface PermissionsToCheck {
|
|
|
|
[key: string]: string[];
|
|
|
|
}
|
2022-11-16 18:03:59 +00:00
|
|
|
export interface PermissionVerbResults {
|
|
|
|
[key: string]: boolean;
|
2022-11-15 19:40:35 +00:00
|
|
|
}
|
|
|
|
export interface PermissionCheckResult {
|
|
|
|
[key: string]: PermissionVerbResults;
|
|
|
|
}
|
2022-11-16 18:03:59 +00:00
|
|
|
export interface PermissionCheckResponseBody {
|
|
|
|
results: PermissionCheckResult;
|
2022-11-15 19:40:35 +00:00
|
|
|
}
|
2022-11-20 00:44:21 +00:00
|
|
|
|
|
|
|
export interface FormField {
|
|
|
|
id: string;
|
|
|
|
title: string;
|
|
|
|
required: boolean;
|
2022-11-20 01:55:27 +00:00
|
|
|
type: string;
|
|
|
|
enum: string[];
|
2022-11-20 00:44:21 +00:00
|
|
|
}
|
2022-11-30 22:20:34 +00:00
|
|
|
|
|
|
|
export interface ReportColumn {
|
|
|
|
Header: string;
|
|
|
|
accessor: string;
|
2022-12-01 19:46:09 +00:00
|
|
|
filterable: boolean;
|
2022-11-30 22:20:34 +00:00
|
|
|
}
|