export type NextAssignmentInfoObject = { ID: string; context: string; }; export type DataObject = { caseInfo: { ID: string; content: { summary_of_when_conditions__: string; summary_of_associated_lists__: string; }; businessID: string; caseTypeID: string; caseTypeName: string; caseTypeIcon: string; }; }; export type RootObject = { config: { context: string; }; }; export type RefreshCaseView = { assignmentContext: string; context: string; data: DataObject; key: string; nextAssignmentInfo: NextAssignmentInfoObject; preserveClientChanges: boolean; root: RootObject; semanticURL: string; target: string; }; export type LoadViewConfig = { containerName?: string; container?: string; updateData?: boolean; context?: string; readOnly?: boolean; actionName?: string; }; export type JSActionQueryParams = { [key: string]: boolean | string; }; export type PreviewOptions = { /** The name of the container that displays the previewed data, most usecases the value is 'preview' */ containerName?: string; /** The context in which the preview is showed, most usecases the value is 'app' as preview is showed for entire */ context?: string; /** * The flag that determines if the semantic URL evaluation logic must be skipped, where * logic is checking if current data preview is already availble or not based on which we can just activate instead of opening * * - `true` : semantic URL evaluation logic must be skipped because of this always preview container will be open instead of activation * - `false` : default value, semantic URL evaluation logic must not be skipped because of this benefits of activation logic can be used. */ skipSemanticUrl?: boolean; /** name of the container most usecases the value is preview */ container?: string; }; export type ActionPayload = { class?: string; flowType?: string; containerName?: string; openCaseViewAfterCreate?: boolean; startingFields?: any; modalOptions?: { isDockable?: boolean; }; context?: string; pageReference?: string; actionMgrID?: string; }; export type ActionHandlers = { handler: Function; config: any; }[];