2023-01-04 16:11:52 -05:00
|
|
|
export interface User {
|
|
|
|
id: number;
|
|
|
|
username: string;
|
|
|
|
}
|
|
|
|
|
2022-10-12 10:21:49 -04:00
|
|
|
export interface Secret {
|
2022-10-13 20:45:09 -04:00
|
|
|
id: number;
|
2022-10-12 10:21:49 -04:00
|
|
|
key: string;
|
|
|
|
value: string;
|
2022-10-13 20:45:09 -04:00
|
|
|
creator_user_id: string;
|
2022-10-12 10:21:49 -04:00
|
|
|
}
|
|
|
|
|
2022-12-27 11:45:42 -05:00
|
|
|
export interface ProcessData {
|
|
|
|
process_data_identifier: string;
|
|
|
|
process_data_value: any;
|
|
|
|
}
|
|
|
|
|
2022-10-12 10:21:49 -04:00
|
|
|
export interface RecentProcessModel {
|
2022-11-09 22:24:16 -05:00
|
|
|
processGroupIdentifier?: string;
|
2022-10-12 10:21:49 -04:00
|
|
|
processModelIdentifier: string;
|
|
|
|
processModelDisplayName: string;
|
|
|
|
}
|
|
|
|
|
2022-12-12 12:21:37 -05:00
|
|
|
export interface ProcessInstanceTask {
|
2022-12-30 12:30:23 -05:00
|
|
|
id: number;
|
|
|
|
task_id: string;
|
|
|
|
process_instance_id: number;
|
2022-12-12 12:21:37 -05:00
|
|
|
process_model_display_name: string;
|
|
|
|
process_model_identifier: string;
|
|
|
|
task_title: string;
|
|
|
|
lane_assignment_id: string;
|
2022-12-30 12:30:23 -05:00
|
|
|
process_instance_status: string;
|
2022-12-13 14:16:28 -05:00
|
|
|
state: string;
|
|
|
|
process_identifier: string;
|
|
|
|
name: string;
|
2022-12-30 12:30:23 -05:00
|
|
|
process_initiator_username: string;
|
|
|
|
assigned_user_group_identifier: string;
|
|
|
|
created_at_in_seconds: number;
|
|
|
|
updated_at_in_seconds: number;
|
|
|
|
current_user_is_potential_owner: number;
|
|
|
|
potential_owner_usernames: string;
|
2023-01-05 10:38:29 -05:00
|
|
|
calling_subprocess_task_id: string;
|
2022-12-12 12:21:37 -05:00
|
|
|
}
|
|
|
|
|
2022-11-16 16:53:51 -05:00
|
|
|
export interface ProcessReference {
|
|
|
|
name: string; // The process or decision Display name.
|
2022-12-05 13:29:46 -05:00
|
|
|
identifier: string; // The unique id of the process
|
2022-11-16 16:53:51 -05:00
|
|
|
display_name: string;
|
|
|
|
process_group_id: string;
|
|
|
|
process_model_id: string;
|
2022-11-07 14:35:49 -05:00
|
|
|
type: string; // either "decision" or "process"
|
2022-11-16 16:53:51 -05:00
|
|
|
file_name: string;
|
|
|
|
has_lanes: boolean;
|
|
|
|
is_executable: boolean;
|
|
|
|
is_primary: boolean;
|
2022-11-07 14:35:49 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface ProcessFile {
|
|
|
|
content_type: string;
|
|
|
|
last_modified: string;
|
|
|
|
name: string;
|
|
|
|
process_model_id: string;
|
2022-11-16 16:53:51 -05:00
|
|
|
references: ProcessReference[];
|
2022-11-07 14:35:49 -05:00
|
|
|
size: number;
|
|
|
|
type: string;
|
2022-11-08 12:08:18 -05:00
|
|
|
file_contents?: string;
|
2022-11-07 14:35:49 -05:00
|
|
|
}
|
|
|
|
|
2022-11-18 16:40:49 -05:00
|
|
|
export interface ProcessInstance {
|
|
|
|
id: number;
|
|
|
|
process_model_identifier: string;
|
2022-11-30 15:08:04 -05:00
|
|
|
process_model_display_name: string;
|
2022-12-19 11:54:22 -05:00
|
|
|
status: string;
|
|
|
|
start_in_seconds: number | null;
|
|
|
|
end_in_seconds: number | null;
|
|
|
|
bpmn_xml_file_contents?: string;
|
2022-12-13 14:16:28 -05:00
|
|
|
spiff_step?: number;
|
2022-11-30 15:08:04 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
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 16:40:49 -05:00
|
|
|
}
|
|
|
|
|
2022-12-02 13:47:04 -05:00
|
|
|
export interface ReportFilter {
|
|
|
|
field_name: string;
|
|
|
|
field_value: string;
|
|
|
|
operator?: string;
|
|
|
|
}
|
|
|
|
|
2022-12-02 10:32:40 -05:00
|
|
|
export interface ReportColumn {
|
|
|
|
Header: string;
|
|
|
|
accessor: string;
|
|
|
|
filterable: boolean;
|
2022-12-02 13:47:04 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface ReportColumnForEditing extends ReportColumn {
|
|
|
|
filter_field_value: string;
|
|
|
|
filter_operator: string;
|
2022-12-02 10:32:40 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface ReportMetadata {
|
|
|
|
columns: ReportColumn[];
|
2022-12-02 13:47:04 -05:00
|
|
|
filter_by: ReportFilter[];
|
|
|
|
order_by: string[];
|
2022-12-02 10:32:40 -05:00
|
|
|
}
|
|
|
|
|
2022-11-22 09:35:42 -05:00
|
|
|
export interface ProcessInstanceReport {
|
2022-12-02 10:32:40 -05:00
|
|
|
id: number;
|
|
|
|
identifier: string;
|
|
|
|
name: string;
|
|
|
|
report_metadata: ReportMetadata;
|
2022-11-22 09:35:42 -05:00
|
|
|
}
|
|
|
|
|
2022-11-23 15:39:10 -05:00
|
|
|
export interface ProcessGroupLite {
|
|
|
|
id: string;
|
|
|
|
display_name: string;
|
|
|
|
}
|
|
|
|
|
2022-12-02 16:03:43 -05:00
|
|
|
export interface MetadataExtractionPath {
|
|
|
|
key: string;
|
|
|
|
path: string;
|
2022-12-02 15:46:05 -05:00
|
|
|
}
|
|
|
|
|
2022-10-12 10:21:49 -04:00
|
|
|
export interface ProcessModel {
|
|
|
|
id: string;
|
2022-11-07 18:37:46 -05:00
|
|
|
description: string;
|
2022-10-12 10:21:49 -04:00
|
|
|
display_name: string;
|
|
|
|
primary_file_name: string;
|
2022-11-07 14:35:49 -05:00
|
|
|
files: ProcessFile[];
|
2022-11-23 15:39:10 -05:00
|
|
|
parent_groups?: ProcessGroupLite[];
|
2022-12-02 16:03:43 -05:00
|
|
|
metadata_extraction_paths?: MetadataExtractionPath[];
|
2022-10-12 10:21:49 -04:00
|
|
|
}
|
|
|
|
|
2022-11-18 12:42:08 -05:00
|
|
|
export interface ProcessGroup {
|
|
|
|
id: string;
|
|
|
|
display_name: string;
|
|
|
|
description?: string | null;
|
|
|
|
process_models?: ProcessModel[];
|
|
|
|
process_groups?: ProcessGroup[];
|
2022-11-23 15:39:10 -05:00
|
|
|
parent_groups?: ProcessGroupLite[];
|
2022-11-18 12:42:08 -05:00
|
|
|
}
|
|
|
|
|
2022-11-23 15:39:10 -05:00
|
|
|
export interface HotCrumbItemObject {
|
|
|
|
entityToExplode: ProcessModel | ProcessGroup | string;
|
|
|
|
entityType: string;
|
|
|
|
linkLastItem?: boolean;
|
|
|
|
}
|
|
|
|
|
|
|
|
export type HotCrumbItemArray = [displayValue: string, url?: string];
|
|
|
|
|
2022-10-12 10:21:49 -04:00
|
|
|
// tuple of display value and URL
|
2022-11-23 15:39:10 -05:00
|
|
|
export type HotCrumbItem = HotCrumbItemArray | HotCrumbItemObject;
|
2022-10-18 16:41:13 -04:00
|
|
|
|
|
|
|
export interface ErrorForDisplay {
|
|
|
|
message: string;
|
|
|
|
sentry_link?: string;
|
2022-12-28 16:29:17 -05:00
|
|
|
task_name?: string;
|
|
|
|
task_id?: string;
|
|
|
|
line_number?: number;
|
|
|
|
file_name?: string;
|
2022-10-18 16:41:13 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface AuthenticationParam {
|
|
|
|
id: string;
|
|
|
|
type: string;
|
|
|
|
required: boolean;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface AuthenticationItem {
|
|
|
|
id: string;
|
|
|
|
parameters: AuthenticationParam[];
|
|
|
|
}
|
2022-11-01 16:26:24 -04:00
|
|
|
|
|
|
|
export interface PaginationObject {
|
|
|
|
count: number;
|
|
|
|
total: number;
|
|
|
|
pages: number;
|
|
|
|
}
|
2022-11-02 17:16:41 -04:00
|
|
|
|
|
|
|
export interface CarbonComboBoxSelection {
|
|
|
|
selectedItem: ProcessModel;
|
|
|
|
}
|
2022-11-15 14:40:35 -05:00
|
|
|
|
2022-11-16 16:53:51 -05:00
|
|
|
export interface CarbonComboBoxProcessSelection {
|
|
|
|
selectedItem: ProcessReference;
|
|
|
|
}
|
|
|
|
|
2022-11-15 14:40:35 -05:00
|
|
|
export interface PermissionsToCheck {
|
|
|
|
[key: string]: string[];
|
|
|
|
}
|
2022-11-16 13:03:59 -05:00
|
|
|
export interface PermissionVerbResults {
|
|
|
|
[key: string]: boolean;
|
2022-11-15 14:40:35 -05:00
|
|
|
}
|
|
|
|
export interface PermissionCheckResult {
|
|
|
|
[key: string]: PermissionVerbResults;
|
|
|
|
}
|
2022-11-16 13:03:59 -05:00
|
|
|
export interface PermissionCheckResponseBody {
|
|
|
|
results: PermissionCheckResult;
|
2022-11-15 14:40:35 -05:00
|
|
|
}
|
2022-11-19 19:44:21 -05:00
|
|
|
|
|
|
|
export interface FormField {
|
|
|
|
id: string;
|
|
|
|
title: string;
|
|
|
|
required: boolean;
|
2022-11-19 20:55:27 -05:00
|
|
|
type: string;
|
|
|
|
enum: string[];
|
2022-11-19 19:44:21 -05:00
|
|
|
}
|