@imtf/dms-core 7.4.0 → 8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,8 @@ type TextFieldComponentProps = {
5
5
  label: string;
6
6
  required?: boolean;
7
7
  disabled?: boolean;
8
+ placeholder?: string;
8
9
  onChange?: (name: string, value: unknown) => void;
9
10
  };
10
- export default function TextFieldComponent({ control, name, label, required, disabled, onChange, ...props }: TextFieldComponentProps): import("react/jsx-runtime").JSX.Element;
11
+ export default function TextFieldComponent({ control, name, label, required, disabled, placeholder, onChange, ...props }: TextFieldComponentProps): import("react/jsx-runtime").JSX.Element;
11
12
  export {};
@@ -48,6 +48,7 @@ export type PropertiesComponent = {
48
48
  datasourceName?: string;
49
49
  options?: Option[];
50
50
  multiple?: boolean;
51
+ placeholder?: string;
51
52
  valueFormat?: string;
52
53
  maxValue?: string;
53
54
  minValue?: string;
@@ -48,3 +48,8 @@ export declare const WORKBENCH: {
48
48
  readonly path: "#" | "/workbench";
49
49
  readonly capability: "canAccessWorkbench";
50
50
  };
51
+ export declare const AUDIT_MANAGER: {
52
+ readonly id: "audit";
53
+ readonly path: "/audit-manager";
54
+ readonly capability: "canAccessAudit";
55
+ };
@@ -54,6 +54,7 @@ export declare const TASK_DOCUMENT_ERRORS_LIST = "acm.TaskDocumentErrorsList";
54
54
  export declare const TYPE_DETECTION_REQUEST = "dms-core.TypeDetectionRequest";
55
55
  export declare const BUSINESS_PROCESS_TASK_REF = "dms-inodes-business-processes.BusinessProcessHumanTaskRef";
56
56
  export declare const BUSINESS_PROCESS_CASE_REF = "dms-inodes-business-processes.BusinessProcessCaseRef";
57
+ export declare const AUDIT_EVENT = "audit.Event";
57
58
  export declare const DENIED_RESOURCE = "DeniedInodeResource";
58
59
  export declare const LOAD_MORE = "dms-core.ui.LoadMoreButton";
59
60
  export declare const STACK = "dms-core.InodeStack";
@@ -1,6 +1,7 @@
1
1
  export declare const ACCEPT_IMAGE = "image/x-png,image/gif,image/jpeg,image/png";
2
2
  export declare const MODAL_TYPES: {
3
3
  readonly ABORT: "imtf/PDFTronViewer/modal/ABORT";
4
+ readonly SIGNED_DOCUMENT_WARNING: "imtf/PDFTronViewer/modal/SIGNED_DOCUMENT_WARNING";
4
5
  };
5
6
  export declare const SUPPORTED_MIME_TYPES: {
6
7
  "application/pdf": string;
@@ -43,6 +43,14 @@ declare const _default: {
43
43
  id: string;
44
44
  defaultMessage: string;
45
45
  };
46
+ documentSealed: {
47
+ id: string;
48
+ defaultMessage: string;
49
+ };
50
+ documentSealingError: {
51
+ id: string;
52
+ defaultMessage: string;
53
+ };
46
54
  compareFirstFile: {
47
55
  id: string;
48
56
  defaultMessage: string;
@@ -30,6 +30,7 @@ declare const useApplicationSettings: () => {
30
30
  enableBarcodeProcessing?: unknown;
31
31
  enablePropertiesUpload?: unknown;
32
32
  navigateOnCaseCreation?: unknown;
33
+ taskDocumentReloadIntervals?: unknown;
33
34
  authenticationWorkflow?: unknown;
34
35
  hitListLimit?: unknown;
35
36
  inodeListLimit?: unknown;
@@ -53,6 +54,7 @@ declare const useApplicationSettings: () => {
53
54
  restrictAnnotationEditingToOwner?: unknown;
54
55
  displayUnauthorizedItems?: unknown;
55
56
  propertiesBySearchContext?: unknown;
57
+ documentTypeKeySuffix?: unknown;
56
58
  signatureWidth?: unknown;
57
59
  applicationSortOrder?: string | undefined;
58
60
  capabilities?: import("../types").AppCapabilities | undefined;
@@ -2,10 +2,10 @@ import { AxiosError } from "axios";
2
2
  import { Settings } from "../types";
3
3
  type Arg = Settings | ((previousState: Settings) => Settings);
4
4
  declare const useSettings: () => {
5
- data: Partial<Record<"translations" | "language" | "appearance" | "isInspectorVisible" | "inspectorWidth" | "inspectorExpandedModules" | "inspectorStickyModules" | "defaultDossierViewMode" | "savedFilters" | "documentZoom" | "signatureOrientation" | "transactionActiveProfiles" | "navigateOnTaskCompletion" | "draggableModalSizing" | "draggableModalCoordinates" | "defaultModule" | "commentMaxLength" | "inodeNameMaxLength" | "applicationSortOrder" | "externalApplications" | "treeviewFields" | "dataGridOrders" | "agencyId" | "expandedNestedGroups" | "displayDropdownForOutcomes" | "lastOutcomeUsed" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "documentTaskFilterFoldersByFileType" | "canOpenRelatedAlertFromInspector" | "propertyPanelOverrides" | "additionalTransactionsColumns" | "millisecondsToHideUploadProgress" | "inodeTimelineExportLimit" | "searchExportLimit" | "customStamps" | "openEachInodeInNewTabOrWindowLimit" | "useSolrDocumentIcons" | "loadFirstFromQuickSearch" | "enableDossierCreation" | "enableBarcodeProcessing" | "enablePropertiesUpload" | "navigateOnCaseCreation" | "authenticationWorkflow" | "hitListLimit" | "inodeListLimit" | "appBarColor" | "displayEnvironmentName" | "autosaveDebounce" | "displayFullnameInDocuments" | "enableDigitalSignatureVerification" | "certificateRevocationListProxyServerUrl" | "companionScanDPIResolution" | "enableCommentLinks" | "companionMultipleEditionLimit" | "enableCompanionDefaultDuplex" | "enableCompanionDefaultColor" | "disableNotifications" | "openViewerCommentsByDefault" | "enableStampsCreation" | "enableStandardStamps" | "hideDisabledPropertiesAtUpload" | "displaySearchBarInToolbar" | "restrictAnnotationEditingToOwner" | "displayUnauthorizedItems" | "propertiesBySearchContext" | "signatureWidth", any>> | undefined;
6
- trigger: import("swr/mutation").TriggerWithArgs<Partial<Record<"translations" | "language" | "appearance" | "isInspectorVisible" | "inspectorWidth" | "inspectorExpandedModules" | "inspectorStickyModules" | "defaultDossierViewMode" | "savedFilters" | "documentZoom" | "signatureOrientation" | "transactionActiveProfiles" | "navigateOnTaskCompletion" | "draggableModalSizing" | "draggableModalCoordinates" | "defaultModule" | "commentMaxLength" | "inodeNameMaxLength" | "applicationSortOrder" | "externalApplications" | "treeviewFields" | "dataGridOrders" | "agencyId" | "expandedNestedGroups" | "displayDropdownForOutcomes" | "lastOutcomeUsed" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "documentTaskFilterFoldersByFileType" | "canOpenRelatedAlertFromInspector" | "propertyPanelOverrides" | "additionalTransactionsColumns" | "millisecondsToHideUploadProgress" | "inodeTimelineExportLimit" | "searchExportLimit" | "customStamps" | "openEachInodeInNewTabOrWindowLimit" | "useSolrDocumentIcons" | "loadFirstFromQuickSearch" | "enableDossierCreation" | "enableBarcodeProcessing" | "enablePropertiesUpload" | "navigateOnCaseCreation" | "authenticationWorkflow" | "hitListLimit" | "inodeListLimit" | "appBarColor" | "displayEnvironmentName" | "autosaveDebounce" | "displayFullnameInDocuments" | "enableDigitalSignatureVerification" | "certificateRevocationListProxyServerUrl" | "companionScanDPIResolution" | "enableCommentLinks" | "companionMultipleEditionLimit" | "enableCompanionDefaultDuplex" | "enableCompanionDefaultColor" | "disableNotifications" | "openViewerCommentsByDefault" | "enableStampsCreation" | "enableStandardStamps" | "hideDisabledPropertiesAtUpload" | "displaySearchBarInToolbar" | "restrictAnnotationEditingToOwner" | "displayUnauthorizedItems" | "propertiesBySearchContext" | "signatureWidth", any>>, AxiosError<unknown, any>, string, Arg>;
5
+ data: Partial<Record<"translations" | "language" | "appearance" | "isInspectorVisible" | "inspectorWidth" | "inspectorExpandedModules" | "inspectorStickyModules" | "defaultDossierViewMode" | "savedFilters" | "documentZoom" | "signatureOrientation" | "transactionActiveProfiles" | "navigateOnTaskCompletion" | "draggableModalSizing" | "draggableModalCoordinates" | "defaultModule" | "commentMaxLength" | "inodeNameMaxLength" | "applicationSortOrder" | "externalApplications" | "treeviewFields" | "dataGridOrders" | "agencyId" | "expandedNestedGroups" | "displayDropdownForOutcomes" | "lastOutcomeUsed" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "documentTaskFilterFoldersByFileType" | "canOpenRelatedAlertFromInspector" | "propertyPanelOverrides" | "additionalTransactionsColumns" | "millisecondsToHideUploadProgress" | "inodeTimelineExportLimit" | "searchExportLimit" | "customStamps" | "openEachInodeInNewTabOrWindowLimit" | "useSolrDocumentIcons" | "loadFirstFromQuickSearch" | "enableDossierCreation" | "enableBarcodeProcessing" | "enablePropertiesUpload" | "navigateOnCaseCreation" | "taskDocumentReloadIntervals" | "authenticationWorkflow" | "hitListLimit" | "inodeListLimit" | "appBarColor" | "displayEnvironmentName" | "autosaveDebounce" | "displayFullnameInDocuments" | "enableDigitalSignatureVerification" | "certificateRevocationListProxyServerUrl" | "companionScanDPIResolution" | "enableCommentLinks" | "companionMultipleEditionLimit" | "enableCompanionDefaultDuplex" | "enableCompanionDefaultColor" | "disableNotifications" | "openViewerCommentsByDefault" | "enableStampsCreation" | "enableStandardStamps" | "hideDisabledPropertiesAtUpload" | "displaySearchBarInToolbar" | "restrictAnnotationEditingToOwner" | "displayUnauthorizedItems" | "propertiesBySearchContext" | "documentTypeKeySuffix" | "signatureWidth", any>> | undefined;
6
+ trigger: import("swr/mutation").TriggerWithArgs<Partial<Record<"translations" | "language" | "appearance" | "isInspectorVisible" | "inspectorWidth" | "inspectorExpandedModules" | "inspectorStickyModules" | "defaultDossierViewMode" | "savedFilters" | "documentZoom" | "signatureOrientation" | "transactionActiveProfiles" | "navigateOnTaskCompletion" | "draggableModalSizing" | "draggableModalCoordinates" | "defaultModule" | "commentMaxLength" | "inodeNameMaxLength" | "applicationSortOrder" | "externalApplications" | "treeviewFields" | "dataGridOrders" | "agencyId" | "expandedNestedGroups" | "displayDropdownForOutcomes" | "lastOutcomeUsed" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "documentTaskFilterFoldersByFileType" | "canOpenRelatedAlertFromInspector" | "propertyPanelOverrides" | "additionalTransactionsColumns" | "millisecondsToHideUploadProgress" | "inodeTimelineExportLimit" | "searchExportLimit" | "customStamps" | "openEachInodeInNewTabOrWindowLimit" | "useSolrDocumentIcons" | "loadFirstFromQuickSearch" | "enableDossierCreation" | "enableBarcodeProcessing" | "enablePropertiesUpload" | "navigateOnCaseCreation" | "taskDocumentReloadIntervals" | "authenticationWorkflow" | "hitListLimit" | "inodeListLimit" | "appBarColor" | "displayEnvironmentName" | "autosaveDebounce" | "displayFullnameInDocuments" | "enableDigitalSignatureVerification" | "certificateRevocationListProxyServerUrl" | "companionScanDPIResolution" | "enableCommentLinks" | "companionMultipleEditionLimit" | "enableCompanionDefaultDuplex" | "enableCompanionDefaultColor" | "disableNotifications" | "openViewerCommentsByDefault" | "enableStampsCreation" | "enableStandardStamps" | "hideDisabledPropertiesAtUpload" | "displaySearchBarInToolbar" | "restrictAnnotationEditingToOwner" | "displayUnauthorizedItems" | "propertiesBySearchContext" | "documentTypeKeySuffix" | "signatureWidth", any>>, AxiosError<unknown, any>, string, Arg>;
7
7
  error: any;
8
- mutate: import("swr").KeyedMutator<Partial<Record<"translations" | "language" | "appearance" | "isInspectorVisible" | "inspectorWidth" | "inspectorExpandedModules" | "inspectorStickyModules" | "defaultDossierViewMode" | "savedFilters" | "documentZoom" | "signatureOrientation" | "transactionActiveProfiles" | "navigateOnTaskCompletion" | "draggableModalSizing" | "draggableModalCoordinates" | "defaultModule" | "commentMaxLength" | "inodeNameMaxLength" | "applicationSortOrder" | "externalApplications" | "treeviewFields" | "dataGridOrders" | "agencyId" | "expandedNestedGroups" | "displayDropdownForOutcomes" | "lastOutcomeUsed" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "documentTaskFilterFoldersByFileType" | "canOpenRelatedAlertFromInspector" | "propertyPanelOverrides" | "additionalTransactionsColumns" | "millisecondsToHideUploadProgress" | "inodeTimelineExportLimit" | "searchExportLimit" | "customStamps" | "openEachInodeInNewTabOrWindowLimit" | "useSolrDocumentIcons" | "loadFirstFromQuickSearch" | "enableDossierCreation" | "enableBarcodeProcessing" | "enablePropertiesUpload" | "navigateOnCaseCreation" | "authenticationWorkflow" | "hitListLimit" | "inodeListLimit" | "appBarColor" | "displayEnvironmentName" | "autosaveDebounce" | "displayFullnameInDocuments" | "enableDigitalSignatureVerification" | "certificateRevocationListProxyServerUrl" | "companionScanDPIResolution" | "enableCommentLinks" | "companionMultipleEditionLimit" | "enableCompanionDefaultDuplex" | "enableCompanionDefaultColor" | "disableNotifications" | "openViewerCommentsByDefault" | "enableStampsCreation" | "enableStandardStamps" | "hideDisabledPropertiesAtUpload" | "displaySearchBarInToolbar" | "restrictAnnotationEditingToOwner" | "displayUnauthorizedItems" | "propertiesBySearchContext" | "signatureWidth", any>>>;
8
+ mutate: import("swr").KeyedMutator<Partial<Record<"translations" | "language" | "appearance" | "isInspectorVisible" | "inspectorWidth" | "inspectorExpandedModules" | "inspectorStickyModules" | "defaultDossierViewMode" | "savedFilters" | "documentZoom" | "signatureOrientation" | "transactionActiveProfiles" | "navigateOnTaskCompletion" | "draggableModalSizing" | "draggableModalCoordinates" | "defaultModule" | "commentMaxLength" | "inodeNameMaxLength" | "applicationSortOrder" | "externalApplications" | "treeviewFields" | "dataGridOrders" | "agencyId" | "expandedNestedGroups" | "displayDropdownForOutcomes" | "lastOutcomeUsed" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "documentTaskFilterFoldersByFileType" | "canOpenRelatedAlertFromInspector" | "propertyPanelOverrides" | "additionalTransactionsColumns" | "millisecondsToHideUploadProgress" | "inodeTimelineExportLimit" | "searchExportLimit" | "customStamps" | "openEachInodeInNewTabOrWindowLimit" | "useSolrDocumentIcons" | "loadFirstFromQuickSearch" | "enableDossierCreation" | "enableBarcodeProcessing" | "enablePropertiesUpload" | "navigateOnCaseCreation" | "taskDocumentReloadIntervals" | "authenticationWorkflow" | "hitListLimit" | "inodeListLimit" | "appBarColor" | "displayEnvironmentName" | "autosaveDebounce" | "displayFullnameInDocuments" | "enableDigitalSignatureVerification" | "certificateRevocationListProxyServerUrl" | "companionScanDPIResolution" | "enableCommentLinks" | "companionMultipleEditionLimit" | "enableCompanionDefaultDuplex" | "enableCompanionDefaultColor" | "disableNotifications" | "openViewerCommentsByDefault" | "enableStampsCreation" | "enableStandardStamps" | "hideDisabledPropertiesAtUpload" | "displaySearchBarInToolbar" | "restrictAnnotationEditingToOwner" | "displayUnauthorizedItems" | "propertiesBySearchContext" | "documentTypeKeySuffix" | "signatureWidth", any>>>;
9
9
  isValidating: boolean;
10
10
  isLoading: import("swr/_internal").IsLoadingResponse<Data, Config>;
11
11
  };
@@ -4,7 +4,7 @@ import { ReactNode } from "react";
4
4
  import settingsSchema from "@/features/User/settings.schema.json";
5
5
  import type { PropertiesComponent } from "../../../core/components/dms-ui/types";
6
6
  import EVENTS from "@/core/constants/events.json";
7
- import { ACM_COMMENT } from "../../../core/constants/kinds";
7
+ import { ACM_COMMENT, AUDIT_EVENT } from "../../../core/constants/kinds";
8
8
  import type { Case } from "../Cases/types";
9
9
  import type { Inode } from "../Inodes/types";
10
10
  import type { Entity } from "../MdmGraph/types";
@@ -30,6 +30,7 @@ export type ApplicationSettings = {
30
30
  };
31
31
  export type AppCapabilities = {
32
32
  canAccessDashboard: boolean;
33
+ canAccessAudit: boolean;
33
34
  canAccessAdmin: boolean;
34
35
  canAccessC360: boolean;
35
36
  canAccessCases: boolean;
@@ -39,6 +40,7 @@ export type AppCapabilities = {
39
40
  canTriggerBulkNameScreening: boolean;
40
41
  canAccessLinkAnalysis: boolean;
41
42
  canAccessRisk: boolean;
43
+ canDigitallySign: boolean;
42
44
  canAccessFM: boolean;
43
45
  canAccessFMHome: boolean;
44
46
  canAccessFMSearch: boolean;
@@ -80,6 +82,20 @@ export type AcmComment = {
80
82
  uri: string;
81
83
  username: string;
82
84
  };
85
+ /** Audit event inspected in the audit manager, reported whole by the search response. */
86
+ export type AuditEventItem = {
87
+ kind: typeof AUDIT_EVENT;
88
+ oid: string;
89
+ label: string;
90
+ eventType: string;
91
+ timeStamp: string;
92
+ triggeringIdentity: string;
93
+ userLabel: string;
94
+ resourceId: string | null;
95
+ resourceType: string | null;
96
+ resourceTypeLabel?: string;
97
+ payload: Record<string, unknown>;
98
+ };
83
99
  export type FormError = {
84
100
  kind: "acm.FormError";
85
101
  ancestorsOid: string[];
@@ -191,7 +207,7 @@ export type PropertiesPanelOverrides = {
191
207
  [componentsName: string]: Partial<PropertiesComponent>;
192
208
  };
193
209
  };
194
- export type SupportedItem = Case | Task | Inode | Entity;
210
+ export type SupportedItem = Case | Task | Inode | Entity | AuditEventItem;
195
211
  export type DeniedResource = {
196
212
  kind: "DeniedInodeResource";
197
213
  oid: string;
@@ -7,5 +7,5 @@
7
7
  * This function and its usage will be removed once the user settings are
8
8
  * migrated to the backend.
9
9
  */
10
- declare const convertOldUserSettings: (oldSettings: Record<string, any>) => Partial<Record<"translations" | "language" | "appearance" | "isInspectorVisible" | "inspectorWidth" | "inspectorExpandedModules" | "inspectorStickyModules" | "defaultDossierViewMode" | "savedFilters" | "documentZoom" | "signatureOrientation" | "transactionActiveProfiles" | "navigateOnTaskCompletion" | "draggableModalSizing" | "draggableModalCoordinates" | "defaultModule" | "commentMaxLength" | "inodeNameMaxLength" | "applicationSortOrder" | "externalApplications" | "treeviewFields" | "dataGridOrders" | "agencyId" | "expandedNestedGroups" | "displayDropdownForOutcomes" | "lastOutcomeUsed" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "documentTaskFilterFoldersByFileType" | "canOpenRelatedAlertFromInspector" | "propertyPanelOverrides" | "additionalTransactionsColumns" | "millisecondsToHideUploadProgress" | "inodeTimelineExportLimit" | "searchExportLimit" | "customStamps" | "openEachInodeInNewTabOrWindowLimit" | "useSolrDocumentIcons" | "loadFirstFromQuickSearch" | "enableDossierCreation" | "enableBarcodeProcessing" | "enablePropertiesUpload" | "navigateOnCaseCreation" | "authenticationWorkflow" | "hitListLimit" | "inodeListLimit" | "appBarColor" | "displayEnvironmentName" | "autosaveDebounce" | "displayFullnameInDocuments" | "enableDigitalSignatureVerification" | "certificateRevocationListProxyServerUrl" | "companionScanDPIResolution" | "enableCommentLinks" | "companionMultipleEditionLimit" | "enableCompanionDefaultDuplex" | "enableCompanionDefaultColor" | "disableNotifications" | "openViewerCommentsByDefault" | "enableStampsCreation" | "enableStandardStamps" | "hideDisabledPropertiesAtUpload" | "displaySearchBarInToolbar" | "restrictAnnotationEditingToOwner" | "displayUnauthorizedItems" | "propertiesBySearchContext" | "signatureWidth", any>>;
10
+ declare const convertOldUserSettings: (oldSettings: Record<string, any>) => Partial<Record<"translations" | "language" | "appearance" | "isInspectorVisible" | "inspectorWidth" | "inspectorExpandedModules" | "inspectorStickyModules" | "defaultDossierViewMode" | "savedFilters" | "documentZoom" | "signatureOrientation" | "transactionActiveProfiles" | "navigateOnTaskCompletion" | "draggableModalSizing" | "draggableModalCoordinates" | "defaultModule" | "commentMaxLength" | "inodeNameMaxLength" | "applicationSortOrder" | "externalApplications" | "treeviewFields" | "dataGridOrders" | "agencyId" | "expandedNestedGroups" | "displayDropdownForOutcomes" | "lastOutcomeUsed" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "documentTaskFilterFoldersByFileType" | "canOpenRelatedAlertFromInspector" | "propertyPanelOverrides" | "additionalTransactionsColumns" | "millisecondsToHideUploadProgress" | "inodeTimelineExportLimit" | "searchExportLimit" | "customStamps" | "openEachInodeInNewTabOrWindowLimit" | "useSolrDocumentIcons" | "loadFirstFromQuickSearch" | "enableDossierCreation" | "enableBarcodeProcessing" | "enablePropertiesUpload" | "navigateOnCaseCreation" | "taskDocumentReloadIntervals" | "authenticationWorkflow" | "hitListLimit" | "inodeListLimit" | "appBarColor" | "displayEnvironmentName" | "autosaveDebounce" | "displayFullnameInDocuments" | "enableDigitalSignatureVerification" | "certificateRevocationListProxyServerUrl" | "companionScanDPIResolution" | "enableCommentLinks" | "companionMultipleEditionLimit" | "enableCompanionDefaultDuplex" | "enableCompanionDefaultColor" | "disableNotifications" | "openViewerCommentsByDefault" | "enableStampsCreation" | "enableStandardStamps" | "hideDisabledPropertiesAtUpload" | "displaySearchBarInToolbar" | "restrictAnnotationEditingToOwner" | "displayUnauthorizedItems" | "propertiesBySearchContext" | "documentTypeKeySuffix" | "signatureWidth", any>>;
11
11
  export default convertOldUserSettings;
@@ -60,6 +60,7 @@ declare const convertTreeviewFields: (settings: Settings) => {
60
60
  enableBarcodeProcessing?: any;
61
61
  enablePropertiesUpload?: any;
62
62
  navigateOnCaseCreation?: any;
63
+ taskDocumentReloadIntervals?: any;
63
64
  authenticationWorkflow?: any;
64
65
  hitListLimit?: any;
65
66
  inodeListLimit?: any;
@@ -83,6 +84,7 @@ declare const convertTreeviewFields: (settings: Settings) => {
83
84
  restrictAnnotationEditingToOwner?: any;
84
85
  displayUnauthorizedItems?: any;
85
86
  propertiesBySearchContext?: any;
87
+ documentTypeKeySuffix?: any;
86
88
  signatureWidth?: any;
87
89
  };
88
90
  export default convertTreeviewFields;
@@ -0,0 +1,2 @@
1
+ import { AuditEventItem } from "../types";
2
+ export default function isAuditEvent(item: unknown): item is AuditEventItem;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Invalidate the case document guidance.
3
+ *
4
+ * The guidance is derived from both the case files and the case entities, so it
5
+ * must be refetched whenever either changes:
6
+ * - file changes go through `mutateInodes`, which the guidance already
7
+ * subscribes to through its `INODES_UPDATED` mutation key;
8
+ * - entity changes go through `mutateTaskData`, which calls this.
9
+ *
10
+ * Call this from the mutation choke points only, never from a component or an
11
+ * SWR middleware: a hook used by N components (`useTaskData` is instantiated
12
+ * per editor row) would fire N invalidations for a single change, and `mutate`
13
+ * clears the dedupe marker before revalidating, so each one is a real
14
+ * concurrent request.
15
+ */
16
+ declare const mutateDocumentGuidance: () => Promise<any[]>;
17
+ export default mutateDocumentGuidance;
@@ -72,9 +72,13 @@ export type IMatchCaseEntity = CcmEntity<typeof ENTITY_TYPES.IMATCH_CASE, {
72
72
  birthLocation: string[];
73
73
  customerCategory: string;
74
74
  firstName: string;
75
+ imatchResult?: string;
76
+ isArchived?: boolean;
75
77
  lastSuccessfulScreeningDate: string;
78
+ legalStatus?: string;
76
79
  listOriginIds: string[];
77
80
  name: string;
81
+ nameScreened?: string;
78
82
  originId: string;
79
83
  screeningSource: string;
80
84
  yearOfBirth: string;
@@ -84,14 +88,18 @@ export type IMatchAlertEntity = CcmEntity<typeof ENTITY_TYPES.IMATCH_ALERT, {
84
88
  aliases: string[];
85
89
  birthDate: string[];
86
90
  birthLocation: string[];
91
+ category?: string;
87
92
  categories: string[];
88
93
  externalLinks: string[];
89
94
  firstName: string;
90
95
  furtherInformation: string;
91
96
  gender: string;
92
97
  hitName: string;
98
+ hitJustification?: string | null;
93
99
  idNumbers: string[];
100
+ identification?: string | null;
94
101
  isAlive: boolean;
102
+ isArchived?: boolean;
95
103
  keywords: string[];
96
104
  linkedTo: string[];
97
105
  listName: string;
@@ -99,6 +107,7 @@ export type IMatchAlertEntity = CcmEntity<typeof ENTITY_TYPES.IMATCH_ALERT, {
99
107
  name: string;
100
108
  nationalities: string[];
101
109
  originId: string;
110
+ otherReason?: string | null;
102
111
  personType: string;
103
112
  positions: string[];
104
113
  recordCreatedAt: string;
@@ -106,6 +115,10 @@ export type IMatchAlertEntity = CcmEntity<typeof ENTITY_TYPES.IMATCH_ALERT, {
106
115
  recordStoredAt: string;
107
116
  score: string;
108
117
  screenedDate: string;
118
+ subCategory?: string;
119
+ justification?: string | null;
120
+ materiality?: string | null;
121
+ reason?: string[] | null;
109
122
  watchListType: string;
110
123
  isProcessed: boolean;
111
124
  isAdhoc: boolean;
@@ -126,6 +126,7 @@ export type TaskDefinition = {
126
126
  type: "form" | "todo" | "documents" | "documents_filing" | "documents_approval";
127
127
  assignRequiresComment: boolean;
128
128
  canProcessTaskFromActionMenu: boolean;
129
+ hasAsyncPostCompletionProcessing: boolean;
129
130
  commentRequired: boolean;
130
131
  ownerRequired: boolean;
131
132
  assignee: boolean;
@@ -201,7 +202,7 @@ export type SidePanelDefinition = {
201
202
  name: string;
202
203
  resourceNames: string[];
203
204
  position: "right" | "left";
204
- resourceKind: "acm.Case" | "acm.HumanTask" | "dms-core.Folder" | "dms-core.File" | "dms-core.Dossier" | "mdm.Entity";
205
+ resourceKind: "acm.Case" | "acm.HumanTask" | "dms-core.Folder" | "dms-core.File" | "dms-core.Dossier" | "mdm.Entity" | "audit.Event";
205
206
  tabs: Array<{
206
207
  label: string;
207
208
  name: string;
@@ -1,7 +1,28 @@
1
1
  import { Inode } from "../../Inodes/types";
2
+ /**
3
+ * Populate the SWR cache with inodes that have just been fetched.
4
+ *
5
+ * This is the read-safe half of `mutateInodes`: it writes what was read into
6
+ * the per-inode cache entries without claiming anything changed. Read paths
7
+ * must use this rather than `mutateInodes`, because broadcasting
8
+ * INODES_UPDATED forces a refetch of every case/task subscriber (document
9
+ * guidance, case files, task data, task files) for data nobody modified.
10
+ *
11
+ * The inodes come straight from the server, so they are written without a
12
+ * revalidation: otherwise `mutate` would immediately re-GET what was just
13
+ * written, once per inode, on every revalidation of the calling hook.
14
+ */
15
+ export declare const seedInodes: (inodes: (Inode | Inode["oid"])[]) => void;
2
16
  /**
3
17
  * Mutate the inodes and the inodes updated key.
4
18
  * Mutating the INODES_UPDATED is important to refetch the data for tasks and cases.
19
+ *
20
+ * Only call this when inodes actually changed; on read paths use `seedInodes`.
21
+ *
22
+ * Unlike `seedInodes`, the per-inode writes revalidate. Several callers pass
23
+ * the inode they had *before* the mutation (see `useTags`, `useAddComment`,
24
+ * `Properties`), so the write is only an optimistic placeholder and the
25
+ * follow-up GET is what actually makes the cache correct.
5
26
  */
6
27
  declare const mutateInodes: (inodes: (Inode | Inode["oid"])[]) => void;
7
28
  export default mutateInodes;
@@ -81,7 +81,7 @@ declare class PluginRegistry {
81
81
  message: (() => React.ReactNode) | React.ReactNode;
82
82
  }) => string | number;
83
83
  };
84
- useParameter: <T>(key: "translations" | "language" | "navigateOnTaskCompletion" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "documentTaskFilterFoldersByFileType" | "canOpenRelatedAlertFromInspector" | "propertyPanelOverrides" | "additionalTransactionsColumns" | "millisecondsToHideUploadProgress" | "inodeTimelineExportLimit" | "searchExportLimit" | "customStamps" | "openEachInodeInNewTabOrWindowLimit" | "useSolrDocumentIcons" | "loadFirstFromQuickSearch" | "enableDossierCreation" | "enableBarcodeProcessing" | "enablePropertiesUpload" | "navigateOnCaseCreation" | "authenticationWorkflow" | "hitListLimit" | "inodeListLimit" | "appBarColor" | "displayEnvironmentName" | "autosaveDebounce" | "displayFullnameInDocuments" | "enableDigitalSignatureVerification" | "certificateRevocationListProxyServerUrl" | "companionScanDPIResolution" | "enableCommentLinks" | "companionMultipleEditionLimit" | "enableCompanionDefaultDuplex" | "enableCompanionDefaultColor" | "disableNotifications" | "openViewerCommentsByDefault" | "enableStampsCreation" | "enableStandardStamps" | "hideDisabledPropertiesAtUpload" | "displaySearchBarInToolbar" | "restrictAnnotationEditingToOwner" | "displayUnauthorizedItems" | "propertiesBySearchContext" | "signatureWidth", defaultValue?: T) => T | undefined;
84
+ useParameter: <T>(key: "translations" | "language" | "navigateOnTaskCompletion" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "documentTaskFilterFoldersByFileType" | "canOpenRelatedAlertFromInspector" | "propertyPanelOverrides" | "additionalTransactionsColumns" | "millisecondsToHideUploadProgress" | "inodeTimelineExportLimit" | "searchExportLimit" | "customStamps" | "openEachInodeInNewTabOrWindowLimit" | "useSolrDocumentIcons" | "loadFirstFromQuickSearch" | "enableDossierCreation" | "enableBarcodeProcessing" | "enablePropertiesUpload" | "navigateOnCaseCreation" | "taskDocumentReloadIntervals" | "authenticationWorkflow" | "hitListLimit" | "inodeListLimit" | "appBarColor" | "displayEnvironmentName" | "autosaveDebounce" | "displayFullnameInDocuments" | "enableDigitalSignatureVerification" | "certificateRevocationListProxyServerUrl" | "companionScanDPIResolution" | "enableCommentLinks" | "companionMultipleEditionLimit" | "enableCompanionDefaultDuplex" | "enableCompanionDefaultColor" | "disableNotifications" | "openViewerCommentsByDefault" | "enableStampsCreation" | "enableStandardStamps" | "hideDisabledPropertiesAtUpload" | "displaySearchBarInToolbar" | "restrictAnnotationEditingToOwner" | "displayUnauthorizedItems" | "propertiesBySearchContext" | "documentTypeKeySuffix" | "signatureWidth", defaultValue?: T) => T | undefined;
85
85
  /**
86
86
  * @deprecated
87
87
  */
@@ -1,5 +1,7 @@
1
1
  import { Agency } from "../types";
2
2
  declare const useAgencies: () => {
3
+ isLoading: boolean;
4
+ hasNoActiveAgency: boolean;
3
5
  agencyBranchSecurityEnabled: boolean | undefined;
4
6
  agencyIdentifierTermName: string | undefined;
5
7
  userAgencyId: string | undefined;
@@ -10,7 +12,6 @@ declare const useAgencies: () => {
10
12
  agencies: Agency[];
11
13
  }>;
12
14
  isValidating: boolean;
13
- isLoading: import("swr/_internal").IsLoadingResponse<Data, Config>;
14
15
  data: Agency[] | undefined;
15
16
  };
16
17
  export default useAgencies;
@@ -1,4 +1,5 @@
1
1
  declare const useIsAgencyEnabled: () => {
2
+ isLoading: boolean;
2
3
  agencyBranchSecurityEnabled: boolean | undefined;
3
4
  agencyIdentifierTermName: string | undefined;
4
5
  };
@@ -1,2 +1,2 @@
1
1
  export declare const SAGA_CANCEL_PROMISE = "@@redux-saga/CANCEL_PROMISE";
2
- export declare const AUDIT_API_PATH = "/api/v1/auditlogs";
2
+ export declare const AUDIT_API_PATH = "/audit-log-manager/api/v1/auditlogs";
@@ -215,7 +215,6 @@ declare const _default: {
215
215
  styleOverrides: {
216
216
  root: {
217
217
  fontSize: string;
218
- marginTop: string;
219
218
  };
220
219
  };
221
220
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imtf/dms-core",
3
- "version": "7.4.0",
3
+ "version": "8.0.0",
4
4
  "description": "Typings for dms-core plugin system",
5
5
  "nonNpm": true
6
6
  }