export type ContainerInfo = { type?: string; context?: string; semanticURL?: string; caseViewMode?: string; containerType?: string; data?: { coreHeaders?: any; classID?: string; }; containerItemID?: string | null; name?: string; id?: string; target?: string; skipReleaseLockRequest?: boolean; key?: any; flowName?: any; resourceType?: string; view?: { config?: { name?: string; }; }; }; export type TransientContainerInfo = { /** Identifier to locate transientItem */ transientItemID: string; /** JSON object containing key, value pairs which are to be updated */ data: any; }; export type TransientContainerInfoForUpdate = TransientContainerInfo & { /** JSON object containing additional information for updating the fields of transient item */ options?: { /** A boolean that specifies whether to reset fields(other than the once specified) in transient item. * * Possible values: * - `true`: it will reset the other fields in transient item * - `false`: default value, it will not reset other fields */ reset?: boolean; }; }; export type TransientItemInfo = { target: string; containerItemID: string; transientItemID: string; }; export type NonEmptyString = string & { __nonEmpty: true; }; export interface CaseItem { caseTypeID?: string; ID?: string; Name?: string; status?: string; assignments?: Assignment[]; childCases?: CaseItem[]; businessID?: string; } export interface Assignment { id?: string; instructions?: string; canPerform?: string; assigneeInfo?: AssigneeInfo; processID?: string; urgency?: string; processName?: string; isMultiStep?: 'true' | 'false'; name?: string; context?: string; links?: Links; isChild?: boolean; ID?: string; actions?: Action[]; } interface Link { rel?: string; href?: string; type?: string; title?: string; } interface Links { open?: Link; } interface ActionLinks { save?: Link; open?: Link; } export interface Action { name?: string; links?: ActionLinks; ID?: string; type?: string; } interface AssigneeInfo { name: string; ID: string; type: string; } export {};