@imtf/dms-core 6.5.7-natwest.0 → 7.4.3-beta.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.
Files changed (286) hide show
  1. package/README.md +75 -0
  2. package/apps/folder-manager/routes/InodeCollection/hooks/useRemoveInodesFromUrl.d.ts +4 -0
  3. package/core/components/ActionMenu/Menu.d.ts +19 -0
  4. package/core/components/ActionMenu/Trigger.d.ts +8 -0
  5. package/core/components/ActionMenu/index.d.ts +1 -0
  6. package/core/components/ActionMenu/styles.d.ts +2 -0
  7. package/core/components/Chip/Chip.d.ts +8 -0
  8. package/core/components/CloseModalButton/CloseModalButton.d.ts +14 -0
  9. package/core/components/CloseModalButton/index.d.ts +1 -0
  10. package/core/components/DatePicker/DatePicker.d.ts +7 -0
  11. package/core/components/DatePicker/index.d.ts +1 -0
  12. package/core/components/Error/index.d.ts +7 -0
  13. package/core/components/FormattedMessage/index.d.ts +11 -0
  14. package/core/components/FormattedNumberTextfield/FormattedNumberTextfield.d.ts +3 -0
  15. package/core/components/FormattedNumberTextfield/index.d.ts +1 -0
  16. package/core/components/Inline/index.d.ts +8 -0
  17. package/core/components/ItemIcon/TaskIcon.d.ts +5 -0
  18. package/core/components/ItemIcon/index.d.ts +19 -0
  19. package/core/components/NotFound/index.d.ts +4 -0
  20. package/core/components/Select/Select.d.ts +20 -0
  21. package/core/components/Select/index.d.ts +1 -0
  22. package/core/components/Tooltip/TooltipError.d.ts +4 -0
  23. package/core/components/dms-ui/Composer.d.ts +57 -0
  24. package/core/components/dms-ui/NewDatasourceAutocomplete.d.ts +18 -0
  25. package/core/components/dms-ui/constants.d.ts +1 -0
  26. package/core/components/dms-ui/default/DatasourceAutocomplete.d.ts +18 -0
  27. package/core/components/dms-ui/default/DatePicker.d.ts +17 -0
  28. package/core/components/dms-ui/default/Group.d.ts +19 -0
  29. package/core/components/dms-ui/default/NestedGroup.d.ts +7 -0
  30. package/core/components/dms-ui/default/NumberFormattedTexfield.d.ts +17 -0
  31. package/core/components/dms-ui/default/NumberTextfield.d.ts +3 -0
  32. package/core/components/dms-ui/default/RadioButton.d.ts +16 -0
  33. package/core/components/dms-ui/default/Select.d.ts +20 -0
  34. package/core/components/dms-ui/default/Textfield.d.ts +17 -0
  35. package/core/components/dms-ui/default/TwoDigitNumberFormattedTextfield.d.ts +3 -0
  36. package/core/components/dms-ui/default/index.d.ts +10 -0
  37. package/core/components/dms-ui/facet/DatasourceAutocomplete.d.ts +13 -0
  38. package/core/components/dms-ui/facet/DateRangeSearcher.d.ts +18 -0
  39. package/core/components/dms-ui/facet/Facet.d.ts +11 -0
  40. package/core/components/dms-ui/facet/NumericRangePicker.d.ts +20 -0
  41. package/core/components/dms-ui/facet/Select.d.ts +13 -0
  42. package/core/components/dms-ui/facet/Textfield.d.ts +11 -0
  43. package/core/components/dms-ui/facet/TypePicker.d.ts +12 -0
  44. package/core/components/dms-ui/facet/index.d.ts +7 -0
  45. package/core/components/dms-ui/facet/styles.d.ts +9 -0
  46. package/core/components/dms-ui/messages.d.ts +39 -0
  47. package/core/components/dms-ui/types.d.ts +9 -1
  48. package/core/components/dms-ui/utils/getComponent.d.ts +20 -0
  49. package/core/components/dms-ui/utils/removeLabelFromValues.d.ts +1 -0
  50. package/core/components/dms-ui/utils/type-guards.d.ts +4 -0
  51. package/core/components/dms-ui/utils/utils.d.ts +3 -0
  52. package/core/constants/apps.d.ts +0 -10
  53. package/core/constants/dragTypes.d.ts +2 -0
  54. package/core/containers/DataGrid/constants.d.ts +28 -0
  55. package/core/containers/DataGrid/types.d.ts +50 -0
  56. package/core/containers/DataGrid/utils/crossTabSync.d.ts +13 -0
  57. package/core/containers/DataGrid/utils/handleWidth.d.ts +18 -0
  58. package/core/containers/EntityDocuments/EntityDocumentsComponent.d.ts +30 -0
  59. package/core/containers/EntityDocuments/components/Accordion.d.ts +12 -0
  60. package/core/containers/EntityDocuments/components/Document.d.ts +11 -0
  61. package/core/containers/EntityDocuments/components/DocumentLabel.d.ts +9 -0
  62. package/core/containers/EntityDocuments/components/DocumentList.d.ts +19 -0
  63. package/core/containers/EntityDocuments/components/DocumentListTitle.d.ts +9 -0
  64. package/core/containers/EntityDocuments/constants.d.ts +1 -0
  65. package/core/containers/EntityDocuments/types.d.ts +7 -0
  66. package/core/containers/NotificationCenter/slice.d.ts +1 -1
  67. package/core/containers/PDFComposer/actions.d.ts +2 -2
  68. package/core/containers/PDFTronViewer/components/LightViewer/config.d.ts +0 -4
  69. package/core/containers/PDFTronViewer/messages.d.ts +8 -0
  70. package/core/containers/SearchDataGrid/types.d.ts +11 -0
  71. package/core/hooks/useCollator.d.ts +2 -0
  72. package/core/providers/Actions/types.d.ts +1 -7
  73. package/core/providers/App/actions.d.ts +12 -27
  74. package/core/providers/App/constants.d.ts +1 -4
  75. package/core/providers/App/hooks/useApplicationSettings.d.ts +19 -3
  76. package/core/providers/App/hooks/useDownload.d.ts +29 -0
  77. package/core/providers/App/hooks/useSettings.d.ts +5 -9
  78. package/core/providers/App/hooks/useTriggerItems.d.ts +13 -0
  79. package/core/providers/App/hooks/useUserSetting.d.ts +9 -1
  80. package/core/providers/App/hooks/useUserStorage.d.ts +2 -2
  81. package/core/providers/App/messages.d.ts +12 -0
  82. package/core/providers/App/reducer.d.ts +1 -1
  83. package/core/providers/App/service.d.ts +48 -17
  84. package/core/providers/App/types.d.ts +12 -2
  85. package/core/providers/App/utils/convertOldUserSettings.d.ts +1 -1
  86. package/core/providers/App/utils/convertTreeviewFields.d.ts +89 -0
  87. package/core/providers/App/utils/sortListByWeightAndName.d.ts +8 -0
  88. package/core/providers/Authentication/hooks/useAuth.d.ts +1 -1
  89. package/core/providers/Authentication/service.d.ts +11 -3
  90. package/core/providers/Authentication/types.d.ts +6 -8
  91. package/core/providers/Cases/actions.d.ts +21 -3
  92. package/core/providers/Cases/service.d.ts +70 -33
  93. package/core/providers/Cases/types.d.ts +3 -0
  94. package/core/providers/Cases/utils/common.d.ts +4 -0
  95. package/core/providers/Cases/utils/mutateDocumentGuidance.d.ts +17 -0
  96. package/core/providers/Ccm/constants.d.ts +6 -0
  97. package/core/providers/Ccm/types.d.ts +2 -1
  98. package/core/providers/Ccm/utils/isAccount.d.ts +1 -1
  99. package/core/providers/Ccm/utils/isClient.d.ts +1 -1
  100. package/core/providers/Ccm/utils/isClientGroup.d.ts +1 -1
  101. package/core/providers/Ccm/utils/isHouseholdEntity.d.ts +1 -1
  102. package/core/providers/DataGrid/Context.d.ts +51 -0
  103. package/core/providers/Definitions/hooks/useTaskDefinition.d.ts +1 -0
  104. package/core/providers/Definitions/hooks/useTaskDefinitions.d.ts +4 -0
  105. package/core/providers/Definitions/service.d.ts +48 -19
  106. package/core/providers/Definitions/types.d.ts +26 -2
  107. package/core/providers/Definitions/utils/typesToTypeRefs.d.ts +5 -0
  108. package/core/providers/DropZone/Context.d.ts +12 -0
  109. package/core/providers/Inodes/actions.d.ts +26 -430
  110. package/core/providers/Inodes/constants.d.ts +8 -46
  111. package/core/providers/Inodes/hooks/useInodeByOid.d.ts +5 -0
  112. package/core/providers/Inodes/hooks/useInodeTypeAssignment.d.ts +4 -0
  113. package/core/providers/Inodes/hooks/useInodesByOids.d.ts +7 -0
  114. package/core/providers/Inodes/hooks/usePropertiesType.d.ts +14 -0
  115. package/core/providers/Inodes/hooks/usePropertyComponents.d.ts +11 -0
  116. package/core/providers/Inodes/hooks/useRestore.d.ts +22 -0
  117. package/core/providers/Inodes/hooks/useSortedTypes.d.ts +5 -0
  118. package/core/providers/Inodes/hooks/useTypes.d.ts +10 -0
  119. package/core/providers/Inodes/hooks/useUpdateInodes.d.ts +35 -0
  120. package/core/providers/Inodes/messages.d.ts +25 -1
  121. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/AccordionItem.d.ts +31 -0
  122. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/BarcodeLoading.d.ts +5 -0
  123. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/ModalContent.d.ts +35 -0
  124. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/index.d.ts +12 -0
  125. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/messages.d.ts +63 -0
  126. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/types.d.ts +43 -0
  127. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/addInodeOidToName.d.ts +8 -0
  128. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/convertToUIPropertiesGroup.d.ts +3 -0
  129. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/createBarcodeProcessingFormData.d.ts +5 -0
  130. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/findMostUsedValue.d.ts +18 -0
  131. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/getDefaultValuesFromProperties.d.ts +7 -0
  132. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/replaceComponentsWithConfig.d.ts +10 -0
  133. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/resolveProperties.d.ts +8 -0
  134. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/resolveStatusIconAndColor.d.ts +5 -0
  135. package/core/providers/Inodes/modals/AssignTypeModal.d.ts +9 -0
  136. package/core/providers/Inodes/service.d.ts +138 -66
  137. package/core/providers/Inodes/type-guards.d.ts +2 -0
  138. package/core/providers/Inodes/types.d.ts +27 -12
  139. package/core/providers/Inodes/utils/can.d.ts +1 -0
  140. package/core/providers/Inodes/utils/getAssignableTypesFromInode.d.ts +2 -0
  141. package/core/providers/Inodes/utils/getBulkUrl.d.ts +1 -0
  142. package/core/providers/Inodes/utils/getUrl.d.ts +2 -1
  143. package/core/providers/Inodes/utils/is.d.ts +2 -3
  144. package/core/providers/Inodes/utils/isInodeType.d.ts +3 -0
  145. package/core/providers/Inodes/utils/isInodeTypeRef.d.ts +3 -0
  146. package/core/providers/Inodes/utils/mutateInodes.d.ts +28 -0
  147. package/core/providers/Inodes/utils/replacePropertiesWithConfig.d.ts +10 -0
  148. package/core/providers/Inodes/utils/resolveInodeTypes.d.ts +185 -0
  149. package/core/providers/Inodes/utils/validatePropertiesForm.d.ts +2 -0
  150. package/core/providers/Inspectors/Context.d.ts +5 -0
  151. package/core/providers/Inspectors/types.d.ts +5 -5
  152. package/core/providers/Localization/Context.d.ts +7 -0
  153. package/core/providers/Localization/hooks/useLocale.d.ts +3 -0
  154. package/core/providers/MdmGraph/actions.d.ts +13 -1
  155. package/core/providers/MdmGraph/constants.d.ts +10 -4
  156. package/core/providers/MdmGraph/service.d.ts +56 -31
  157. package/core/providers/MdmGraph/types.d.ts +12 -0
  158. package/core/providers/Modal/hooks/useModal.d.ts +45 -0
  159. package/core/providers/Modal/slice.d.ts +9 -0
  160. package/core/providers/Modal/types.d.ts +3 -0
  161. package/core/providers/Plugins/ComponentPluginContext.d.ts +14 -0
  162. package/core/providers/Plugins/hooks/app/useSystemNotification.d.ts +8 -3
  163. package/core/providers/Plugins/hooks/inodes/useActions.d.ts +10 -2
  164. package/core/providers/Plugins/hooks/tasks/useActions.d.ts +2 -2
  165. package/core/providers/Plugins/hooks/tasks/useTaskProcessing.d.ts +8 -0
  166. package/core/providers/Plugins/pluginRegistry.d.ts +80 -53
  167. package/core/providers/Plugins/types/componentPlugins.d.ts +18 -8
  168. package/core/providers/Plugins/withComponentPlugin.d.ts +27 -0
  169. package/core/providers/Search/reducer.d.ts +7 -4
  170. package/core/providers/Search/selectors.d.ts +48 -262
  171. package/core/providers/Search/service.d.ts +10 -4
  172. package/core/providers/Search/types.d.ts +11 -28
  173. package/core/providers/Search/utils/createQuery.d.ts +5 -5
  174. package/core/providers/Tasks/Context.d.ts +8 -5
  175. package/core/providers/Tasks/constants.d.ts +2 -1
  176. package/core/providers/Tasks/hooks/useEntityDelete.d.ts +1 -1
  177. package/core/providers/Tasks/hooks/useEntityMutate.d.ts +1 -1
  178. package/core/providers/Tasks/hooks/useTaskData.d.ts +2 -2
  179. package/core/providers/Tasks/service.d.ts +45 -22
  180. package/core/providers/Tasks/types.d.ts +8 -1
  181. package/core/providers/Tasks/utils/isDocumentTask.d.ts +2 -0
  182. package/core/providers/Tasks/utils/mutateTaskData.d.ts +6 -0
  183. package/core/providers/Uploader/Context.d.ts +9 -9
  184. package/core/providers/User/hooks/useAgencies.d.ts +15 -0
  185. package/core/providers/User/hooks/useIsAgencyEnabled.d.ts +5 -0
  186. package/core/providers/User/saga.d.ts +1 -2
  187. package/core/providers/User/service.d.ts +18 -0
  188. package/core/providers/User/types.d.ts +21 -0
  189. package/core/services/index.d.ts +6 -6
  190. package/core/services/localStorage.d.ts +1 -0
  191. package/core/theme/theme.base.d.ts +312 -0
  192. package/core/theme/theme.lightMode.d.ts +70 -0
  193. package/core/utils/action.d.ts +2 -2
  194. package/core/utils/common.d.ts +15 -0
  195. package/core/utils/date/getUTCDateInCurrentTimezone.d.ts +11 -0
  196. package/core/utils/hasValidKind.d.ts +2 -0
  197. package/core/utils/string.d.ts +2 -1
  198. package/package.json +1 -1
  199. package/reducers.d.ts +2 -3
  200. package/store.d.ts +27 -28
  201. package/vendor/@imtf/react-components/components/ActivityDetail/ActivityDetail.d.ts +2 -30
  202. package/vendor/@imtf/react-components/components/CounterStackedBar/CounterStackedBar.d.ts +1 -27
  203. package/vendor/@imtf/react-components/components/Error/Error.d.ts +2 -55
  204. package/vendor/@imtf/react-components/components/InfiniteScroll/InfiniteScroll.d.ts +0 -4
  205. package/vendor/@imtf/react-components/components/Line/Line.d.ts +1 -38
  206. package/vendor/@imtf/react-components/components/Loader/Loader.d.ts +1 -22
  207. package/vendor/@imtf/react-components/components/Menu/Menu.d.ts +1 -9
  208. package/vendor/@imtf/react-components/components/NoContent/NoContent.d.ts +1 -10
  209. package/vendor/@imtf/react-components/components/Notification/Notification.d.ts +2 -55
  210. package/vendor/@imtf/react-components/components/ProgressCircleBar/ProgressCircleBar.d.ts +2 -43
  211. package/vendor/@imtf/react-components/components/Scroller/Scroller.d.ts +1 -19
  212. package/vendor/@imtf/react-components/components/SearchBar/SearchBar.d.ts +2 -57
  213. package/vendor/@imtf/react-components/components/Timeline/Timeline.d.ts +1 -14
  214. package/vendor/@imtf/react-components/components/Timeline/TimelineItem.d.ts +2 -46
  215. package/vendor/@imtf/react-components/components/ViewMore/ViewMore.d.ts +1 -24
  216. package/vendor/@imtf/react-components/components/ViewMoreCard/ViewMoreCard.d.ts +2 -74
  217. package/vendor/@imtf/react-components/components/ViewMoreCard/utils.d.ts +2 -2
  218. package/vendor/@imtf/react-components/components/index.d.ts +0 -14
  219. package/vendor/@imtf/react-components/index.d.ts +0 -1
  220. package/vendor/@imtf/react-components/utils/common.d.ts +1 -4
  221. package/vendor/@imtf/react-components/utils/constants.d.ts +0 -21
  222. package/core/components/JsonForm/widgets/widgetHOC.d.ts +0 -29
  223. package/core/components/TreeView/types.d.ts +0 -17
  224. package/core/components/TreeViewCell/constants.d.ts +0 -25
  225. package/core/containers/DropZone/selectors.d.ts +0 -125
  226. package/core/containers/TreeView/actions.d.ts +0 -197
  227. package/core/containers/TreeView/constants.d.ts +0 -36
  228. package/core/containers/TreeView/types.d.ts +0 -46
  229. package/core/providers/App/utils/isSupportedItem.d.ts +0 -2
  230. package/core/providers/Cases/reducer.d.ts +0 -18
  231. package/core/providers/Cases/selectors.d.ts +0 -64
  232. package/core/providers/Inodes/selectors.d.ts +0 -55
  233. package/core/providers/MdmGraph/utils/misc.d.ts +0 -13
  234. package/core/providers/Plugins/hooks/inodes/useInodesByOids.d.ts +0 -6
  235. package/core/providers/SystemNotification/constants.d.ts +0 -3
  236. package/core/providers/SystemNotification/slice.d.ts +0 -9
  237. package/core/providers/SystemNotification/useSystemNotification.d.ts +0 -6
  238. package/core/utils/htmlElements.d.ts +0 -1
  239. package/core/utils/requestMiddleware.d.ts +0 -1
  240. package/vendor/@imtf/react-components/components/BasicNotification/BasicNotification.d.ts +0 -52
  241. package/vendor/@imtf/react-components/components/BasicNotification/ids.d.ts +0 -1
  242. package/vendor/@imtf/react-components/components/BasicNotification/index.d.ts +0 -1
  243. package/vendor/@imtf/react-components/components/Breadcrumb/Breadcrumb.d.ts +0 -36
  244. package/vendor/@imtf/react-components/components/Breadcrumb/ids.d.ts +0 -1
  245. package/vendor/@imtf/react-components/components/Breadcrumb/index.d.ts +0 -1
  246. package/vendor/@imtf/react-components/components/Chip/Chip.d.ts +0 -41
  247. package/vendor/@imtf/react-components/components/Chip/ids.d.ts +0 -1
  248. package/vendor/@imtf/react-components/components/Chip/messages.d.ts +0 -7
  249. package/vendor/@imtf/react-components/components/Chip/utils.d.ts +0 -14
  250. package/vendor/@imtf/react-components/components/DebounceField/DebounceField.d.ts +0 -35
  251. package/vendor/@imtf/react-components/components/DebounceField/ids.d.ts +0 -1
  252. package/vendor/@imtf/react-components/components/DebounceField/index.d.ts +0 -1
  253. package/vendor/@imtf/react-components/components/DetailList/DetailList.d.ts +0 -24
  254. package/vendor/@imtf/react-components/components/DetailList/ids.d.ts +0 -1
  255. package/vendor/@imtf/react-components/components/DetailList/index.d.ts +0 -1
  256. package/vendor/@imtf/react-components/components/DetailTree/DetailTree.d.ts +0 -30
  257. package/vendor/@imtf/react-components/components/DetailTree/ids.d.ts +0 -1
  258. package/vendor/@imtf/react-components/components/DetailTree/index.d.ts +0 -1
  259. package/vendor/@imtf/react-components/components/ErrorCatcher/ErrorCatcher.d.ts +0 -40
  260. package/vendor/@imtf/react-components/components/ErrorCatcher/ids.d.ts +0 -1
  261. package/vendor/@imtf/react-components/components/ErrorCatcher/index.d.ts +0 -1
  262. package/vendor/@imtf/react-components/components/InfoCard/InfoCard.d.ts +0 -64
  263. package/vendor/@imtf/react-components/components/InfoCard/index.d.ts +0 -1
  264. package/vendor/@imtf/react-components/components/Inline/Inline.d.ts +0 -19
  265. package/vendor/@imtf/react-components/components/Inline/ids.d.ts +0 -1
  266. package/vendor/@imtf/react-components/components/Inline/index.d.ts +0 -1
  267. package/vendor/@imtf/react-components/components/Internal/FormattedMessage.d.ts +0 -11
  268. package/vendor/@imtf/react-components/components/MenuSelect/MenuSelect.d.ts +0 -43
  269. package/vendor/@imtf/react-components/components/MenuSelect/ids.d.ts +0 -1
  270. package/vendor/@imtf/react-components/components/MenuSelect/index.d.ts +0 -1
  271. package/vendor/@imtf/react-components/components/Navipath/Navipath.d.ts +0 -52
  272. package/vendor/@imtf/react-components/components/Navipath/ids.d.ts +0 -1
  273. package/vendor/@imtf/react-components/components/Navipath/index.d.ts +0 -1
  274. package/vendor/@imtf/react-components/components/RippleEffect/RippleEffect.d.ts +0 -33
  275. package/vendor/@imtf/react-components/components/RippleEffect/ids.d.ts +0 -1
  276. package/vendor/@imtf/react-components/components/RippleEffect/index.d.ts +0 -1
  277. package/vendor/@imtf/react-components/components/Stats/Stats.d.ts +0 -39
  278. package/vendor/@imtf/react-components/components/Stats/ids.d.ts +0 -1
  279. package/vendor/@imtf/react-components/components/Stats/index.d.ts +0 -1
  280. package/vendor/@imtf/react-components/components/TitleContent/TitleContent.d.ts +0 -25
  281. package/vendor/@imtf/react-components/components/TitleContent/ids.d.ts +0 -1
  282. package/vendor/@imtf/react-components/components/TitleContent/index.d.ts +0 -1
  283. package/vendor/@imtf/react-components/hooks/index.d.ts +0 -1
  284. package/vendor/@imtf/react-components/hooks/useResponsiveBreakpoints.d.ts +0 -13
  285. package/vendor/@imtf/react-components/utils/resizeObserver.d.ts +0 -1
  286. /package/{vendor/@imtf/react-components → core}/components/Chip/index.d.ts +0 -0
@@ -1,64 +1,87 @@
1
1
  import { HUMAN_TASK_OUTCOME } from "../../../core/constants/kinds";
2
2
  export declare const paths: Readonly<{
3
3
  readonly get: (params?: {
4
- taskOid: string | null;
4
+ [x: string]: string | null | undefined;
5
+ taskOid: string;
5
6
  } | undefined) => string;
6
7
  readonly complete: (params?: {
7
- taskOid: string | null;
8
+ [x: string]: string | null | undefined;
9
+ taskOid: string;
8
10
  } | undefined) => string;
9
11
  readonly reviewApprove: (params?: {
10
- taskOid: string | null;
12
+ [x: string]: string | null | undefined;
13
+ taskOid: string;
11
14
  } | undefined) => string;
12
15
  readonly reviewDisapprove: (params?: {
13
- taskOid: string | null;
16
+ [x: string]: string | null | undefined;
17
+ taskOid: string;
14
18
  } | undefined) => string;
15
19
  readonly questionnaire: (params?: {
16
- taskOid: string | null;
20
+ [x: string]: string | null | undefined;
21
+ taskOid: string;
17
22
  } | undefined) => string;
18
23
  readonly validate: (params?: {
19
- taskOid: string | null;
24
+ [x: string]: string | null | undefined;
25
+ taskOid: string;
20
26
  } | undefined) => string;
21
27
  readonly claim: (params?: {
22
- taskOid: string | null;
28
+ [x: string]: string | null | undefined;
29
+ taskOid: string;
23
30
  } | undefined) => string;
24
31
  readonly release: (params?: {
25
- taskOid: string | null;
32
+ [x: string]: string | null | undefined;
33
+ taskOid: string;
26
34
  } | undefined) => string;
27
35
  readonly delegate: (params?: {
28
- username: string | null;
29
- taskOid: string | null;
36
+ [x: string]: string | null | undefined;
37
+ taskOid: string;
38
+ } | undefined) => string;
39
+ readonly bulkAssign: (params?: {
40
+ [x: string]: string | null | undefined;
41
+ } | undefined) => string;
42
+ readonly create: (params?: {
43
+ [x: string]: string | null | undefined;
30
44
  } | undefined) => string;
31
- readonly bulkAssign: (params?: {} | undefined) => string;
32
- readonly create: (params?: {} | undefined) => string;
33
45
  readonly files: (params?: {
34
- taskOid: string | null;
46
+ [x: string]: string | null | undefined;
47
+ taskOid: string;
35
48
  } | undefined) => string;
36
49
  readonly comments: (params?: {
37
- taskOid: string | null;
50
+ [x: string]: string | null | undefined;
51
+ taskOid: string;
52
+ } | undefined) => string;
53
+ readonly comment: (params?: {
54
+ [x: string]: string | null | undefined;
38
55
  } | undefined) => string;
39
- readonly comment: (params?: {} | undefined) => string;
40
56
  readonly timeline: (params?: {
41
- taskOid: string | null;
57
+ [x: string]: string | null | undefined;
58
+ taskOid: string;
42
59
  } | undefined) => string;
43
60
  readonly downloadTimeline: (params?: {
44
- taskOid: string | null;
61
+ [x: string]: string | null | undefined;
62
+ taskOid: string;
45
63
  } | undefined) => string;
46
64
  }>;
47
65
  export declare function complete(taskOid: string, outcome: {
48
66
  kind: typeof HUMAN_TASK_OUTCOME;
49
67
  outcome: string;
50
68
  data: Record<string, unknown>;
51
- }): Promise<import("axios").AxiosResponse<any, any>>;
52
- export declare function reviewApprove(taskOid: string): Promise<import("axios").AxiosResponse<any, any>>;
69
+ }): Promise<import("axios").AxiosResponse<any, any, {}>>;
70
+ export declare function validate(taskOid: string): Promise<import("axios").AxiosResponse<any, any, {}>> & {
71
+ "@@redux-saga/CANCEL_PROMISE"?: import("axios").Canceler;
72
+ };
73
+ export declare function reviewApprove(taskOid: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
53
74
  export declare function reviewDisapprove(taskOid: string, data: {
54
75
  comment: string;
55
- }): Promise<import("axios").AxiosResponse<any, any>>;
56
- export declare function claim(taskOid: string): Promise<import("axios").AxiosResponse<any, any>>;
57
- export declare function release(taskOid: string): Promise<import("axios").AxiosResponse<any, any>>;
76
+ }): Promise<import("axios").AxiosResponse<any, any, {}>>;
77
+ export declare function claim(taskOid: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
78
+ export declare function release(taskOid: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
58
79
  export declare function createTask(data: {
59
80
  definitionKey: string;
60
81
  comment: string;
61
82
  owner: string;
83
+ assignee?: string;
84
+ claimedBy?: string;
62
85
  parameters: Record<string, unknown>;
63
86
  refs: {
64
87
  kind: "acm.RefList";
@@ -14,7 +14,9 @@ export type Task = {
14
14
  uri: string;
15
15
  type: (typeof TASK_TYPES)[keyof typeof TASK_TYPES];
16
16
  label: string;
17
+ color: string;
17
18
  creationDate: string;
19
+ createdBy: string;
18
20
  modificationDate: string;
19
21
  dueDate: string | null;
20
22
  caseRef?: CaseRef;
@@ -65,7 +67,7 @@ export type DocumentTaskListError = {
65
67
  kind: typeof ERRORS.DOCUMENT_ERROR;
66
68
  errorDescription: string;
67
69
  documentType: Inode["type"];
68
- documentOid: Inode["oid"];
70
+ documentOid: string;
69
71
  }>;
70
72
  };
71
73
  export type OutcomeAction = {
@@ -131,3 +133,8 @@ export type QuestionnaireDefinition = {
131
133
  };
132
134
  };
133
135
  };
136
+ export type TaskHistory = {
137
+ mode: UpdateHighlightMode;
138
+ fromDate?: string | null;
139
+ toDate?: string | null;
140
+ };
@@ -0,0 +1,2 @@
1
+ import { Task } from "../types";
2
+ export default function isDocumentTask(item: unknown): item is Task;
@@ -0,0 +1,6 @@
1
+ import { Entity, Relation } from "../../MdmGraph/types";
2
+ /**
3
+ * Mutate the task data, adding the new entities and relations to it.
4
+ */
5
+ declare const mutateTaskData: (taskOid: string, newEntities: Entity[] | undefined, newRelations: Relation[] | undefined, action: "create" | "delete" | "edit", revalidate: boolean) => void;
6
+ export default mutateTaskData;
@@ -1,7 +1,7 @@
1
1
  import { ComponentType } from "react";
2
- import { Inode, InodeType } from "../Inodes/types";
2
+ import { Inode, InodeType, UploadResult } from "../../../core/providers/Inodes/types";
3
3
  export type UploadContextType = {
4
- upload: (files: File[], targetInodeOid: string, fileProps: Record<string, any>) => Promise<null>;
4
+ upload: (files: File[], targetInode: Inode, fileProps: Record<string, any>) => Promise<UploadResult[]>;
5
5
  icosUpload: (params: {
6
6
  files: File[];
7
7
  caseOid?: string;
@@ -10,8 +10,8 @@ export type UploadContextType = {
10
10
  fileProps?: Record<string, any>;
11
11
  fileInodes?: Inode[];
12
12
  types: InodeType[];
13
- }) => Promise<null>;
14
- updateBinary: (inodeOid: string, file: File, getUpdatedItem?: (file: File) => File) => Promise<null>;
13
+ }) => Promise<UploadResult[]>;
14
+ updateBinary: (inodeOid: string, file: File, updateInodeName?: boolean) => Promise<UploadResult[]>;
15
15
  promptGetFiles: (params: {
16
16
  accept?: string;
17
17
  multiple?: boolean;
@@ -19,16 +19,16 @@ export type UploadContextType = {
19
19
  promptUpload: (params: {
20
20
  multiple?: boolean;
21
21
  accept?: string;
22
- target: string;
22
+ targetInode: Inode;
23
23
  expandItem?: boolean;
24
24
  type?: InodeType;
25
25
  properties?: any;
26
- }) => Promise<null>;
26
+ }) => Promise<UploadResult[]>;
27
27
  promptUpdateBinary: (params: {
28
28
  accept?: string;
29
29
  target: string;
30
- getUpdatedItem?: (file: File) => File;
31
- }) => Promise<null>;
30
+ updateInodeName?: boolean;
31
+ }) => Promise<UploadResult[]>;
32
32
  promptIcosUpload: (params: {
33
33
  multiple?: boolean;
34
34
  accept?: string;
@@ -38,7 +38,7 @@ export type UploadContextType = {
38
38
  type?: InodeType;
39
39
  properties?: any;
40
40
  types?: InodeType[];
41
- }) => Promise<null>;
41
+ }) => Promise<UploadResult[]>;
42
42
  processes: Record<string, any>;
43
43
  clearCompletedProcesses: () => void;
44
44
  };
@@ -0,0 +1,15 @@
1
+ import { Agency } from "../types";
2
+ declare const useAgencies: () => {
3
+ agencyBranchSecurityEnabled: boolean | undefined;
4
+ agencyIdentifierTermName: string | undefined;
5
+ userAgencyId: string | undefined;
6
+ shouldAddAgencyToQueryParams: boolean;
7
+ error: any;
8
+ mutate: import("swr").KeyedMutator<{
9
+ agencies: Agency[];
10
+ }>;
11
+ isValidating: boolean;
12
+ isLoading: import("swr/_internal").IsLoadingResponse<Data, Config>;
13
+ data: Agency[] | undefined;
14
+ };
15
+ export default useAgencies;
@@ -0,0 +1,5 @@
1
+ declare const useIsAgencyEnabled: () => {
2
+ agencyBranchSecurityEnabled: boolean | undefined;
3
+ agencyIdentifierTermName: string | undefined;
4
+ };
5
+ export default useIsAgencyEnabled;
@@ -1,2 +1 @@
1
- import { AllEffect } from "redux-saga/effects";
2
- export default function userSagas(): Generator<AllEffect<import("redux-saga/effects").ForkEffect<never>>, void, unknown>;
1
+ export default function userSagas(): Generator<import("redux-saga/effects").AllEffect<import("redux-saga/effects").ForkEffect<never>>, void, unknown>;
@@ -1,5 +1,23 @@
1
1
  import { Locale } from "../Localization/types";
2
2
  import { User, UserGroups } from "./types";
3
+ export declare const paths: Readonly<{
4
+ readonly me: (params?: {
5
+ [x: string]: string | null | undefined;
6
+ } | undefined) => string;
7
+ readonly myGroups: (params?: {
8
+ [x: string]: string | null | undefined;
9
+ } | undefined) => string;
10
+ readonly language: (params?: {
11
+ [x: string]: string | null | undefined;
12
+ userOid: string;
13
+ } | undefined) => string;
14
+ readonly agencyBranchSecurityStatus: (params?: {
15
+ [x: string]: string | null | undefined;
16
+ } | undefined) => string;
17
+ readonly accessibleAgencies: (params?: {
18
+ [x: string]: string | null | undefined;
19
+ } | undefined) => string;
20
+ }>;
3
21
  /**
4
22
  * Rest services
5
23
  */
@@ -29,3 +29,24 @@ export type UserGroups = {
29
29
  items: UserGroup[];
30
30
  };
31
31
  export type UserSettingValue = Immutable.ValueObject | Record<string, unknown> | string | number | boolean | undefined;
32
+ export type AgencyBranchSecurityStatus = {
33
+ kind: "dms-core.AgencyBranchSecurityStatus";
34
+ agencyBranchSecurityEnabled: boolean;
35
+ agencyIdentifierTermName?: string;
36
+ };
37
+ export type Agency = {
38
+ kind: "dms-core.Agency";
39
+ oid: string;
40
+ creationDate: string;
41
+ modificationDate: string;
42
+ name: string;
43
+ label: string;
44
+ branches: {
45
+ kind: "dms-core.Branch";
46
+ oid: string;
47
+ creationDate: string;
48
+ modificationDate: string;
49
+ name: string;
50
+ label: string;
51
+ }[];
52
+ };
@@ -1,13 +1,13 @@
1
1
  import { AxiosRequestConfig, AxiosResponse, Canceler } from "axios";
2
2
  export declare const apiClient: {
3
- get: <T = any, R = AxiosResponse<T, any>, D = any>(url: string, config?: AxiosRequestConfig<D>) => Promise<R> & {
3
+ get: <T = any, R = AxiosResponse<T, any, {}>, D = any>(url: string, config?: AxiosRequestConfig<D>) => Promise<R> & {
4
4
  "@@redux-saga/CANCEL_PROMISE"?: Canceler;
5
5
  };
6
- post: <T = any, Data = any>(url: string, data?: Data, config?: AxiosRequestConfig) => Promise<AxiosResponse<T, any>>;
7
- put: <T = any, Data = any>(url: string, data?: Data, config?: AxiosRequestConfig) => Promise<AxiosResponse<T, any>>;
8
- patch: <T = any, Data = any>(url: string, data: Data, config?: AxiosRequestConfig) => Promise<AxiosResponse<T, any>>;
9
- delete: <Data = any>(url: string, data?: Data, config?: AxiosRequestConfig) => Promise<AxiosResponse<any, any>>;
10
- head: (url: string, config?: AxiosRequestConfig) => Promise<AxiosResponse<any, any>>;
6
+ post: <T = any, Data = any>(url: string, data?: Data, config?: AxiosRequestConfig) => Promise<AxiosResponse<T, any, {}>>;
7
+ put: <T = any, Data = any>(url: string, data?: Data, config?: AxiosRequestConfig) => Promise<AxiosResponse<T, any, {}>>;
8
+ patch: <T = any, Data = any>(url: string, data: Data, config?: AxiosRequestConfig) => Promise<AxiosResponse<T, any, {}>>;
9
+ delete: <Data = any>(url: string, data?: Data, config?: AxiosRequestConfig) => Promise<AxiosResponse<any, any, {}>>;
10
+ head: (url: string, config?: AxiosRequestConfig) => Promise<AxiosResponse<any, any, {}>>;
11
11
  };
12
12
  export declare function getData<T = any>(data: AxiosResponse<T>): T;
13
13
  export declare function getListItems<T = any>(list: {
@@ -19,3 +19,4 @@ export function getToken(): {
19
19
  } | undefined;
20
20
  export function storeToken(token: any): void;
21
21
  export function clearToken(): void;
22
+ export const TOKEN_KEY: string;
@@ -0,0 +1,312 @@
1
+ declare const _default: {
2
+ colorSchemes: {
3
+ light: {
4
+ palette: {
5
+ ccm: {
6
+ risk: {
7
+ LOW: string;
8
+ MEDIUM_LOW: string;
9
+ MEDIUM: string;
10
+ MEDIUM_HIGH: string;
11
+ HIGH: string;
12
+ VERY_HIGH: string;
13
+ };
14
+ };
15
+ extended: {
16
+ success: string;
17
+ error: string;
18
+ drag: {
19
+ border: string;
20
+ };
21
+ compose: {
22
+ iconDelete: string;
23
+ };
24
+ creator: {
25
+ contrast: string;
26
+ select: {
27
+ main: string;
28
+ };
29
+ };
30
+ warnningBanner: {
31
+ main: string;
32
+ };
33
+ task: {
34
+ type: {
35
+ 0: string;
36
+ 1: string;
37
+ 2: string;
38
+ 3: string;
39
+ 4: string;
40
+ 5: string;
41
+ 6: string;
42
+ 7: string;
43
+ 8: string;
44
+ 9: string;
45
+ 10: string;
46
+ 11: string;
47
+ 12: string;
48
+ 13: string;
49
+ 14: string;
50
+ 15: string;
51
+ 16: string;
52
+ 17: string;
53
+ };
54
+ };
55
+ aml: {
56
+ error: string;
57
+ incomingAmount: string;
58
+ outgoingAmount: string;
59
+ };
60
+ pdfTron: {
61
+ compare: {
62
+ colorOne: string;
63
+ colorTwo: string;
64
+ };
65
+ };
66
+ chip: {
67
+ background: {
68
+ darkblue: string;
69
+ };
70
+ };
71
+ tag: {
72
+ deleteButton: {
73
+ light: string;
74
+ dark: string;
75
+ hover: {
76
+ light: string;
77
+ dark: string;
78
+ };
79
+ };
80
+ };
81
+ text: {
82
+ active: string;
83
+ };
84
+ };
85
+ };
86
+ };
87
+ dark: {
88
+ palette: {
89
+ ccm: {
90
+ risk: {
91
+ LOW: string;
92
+ MEDIUM_LOW: string;
93
+ MEDIUM: string;
94
+ MEDIUM_HIGH: string;
95
+ HIGH: string;
96
+ VERY_HIGH: string;
97
+ };
98
+ };
99
+ extended: {
100
+ success: string;
101
+ error: string;
102
+ drag: {
103
+ border: string;
104
+ };
105
+ compose: {
106
+ iconDelete: string;
107
+ };
108
+ creator: {
109
+ contrast: string;
110
+ select: {
111
+ main: string;
112
+ };
113
+ };
114
+ warnningBanner: {
115
+ main: string;
116
+ };
117
+ task: {
118
+ type: {
119
+ 0: string;
120
+ 1: string;
121
+ 2: string;
122
+ 3: string;
123
+ 4: string;
124
+ 5: string;
125
+ 6: string;
126
+ 7: string;
127
+ 8: string;
128
+ 9: string;
129
+ 10: string;
130
+ 11: string;
131
+ 12: string;
132
+ 13: string;
133
+ 14: string;
134
+ 15: string;
135
+ 16: string;
136
+ 17: string;
137
+ };
138
+ };
139
+ aml: {
140
+ error: string;
141
+ incomingAmount: string;
142
+ outgoingAmount: string;
143
+ };
144
+ pdfTron: {
145
+ compare: {
146
+ colorOne: string;
147
+ colorTwo: string;
148
+ };
149
+ };
150
+ chip: {
151
+ background: {
152
+ darkblue: string;
153
+ };
154
+ };
155
+ tag: {
156
+ deleteButton: {
157
+ light: string;
158
+ dark: string;
159
+ hover: {
160
+ light: string;
161
+ dark: string;
162
+ };
163
+ };
164
+ };
165
+ text: {
166
+ active: string;
167
+ };
168
+ };
169
+ };
170
+ };
171
+ };
172
+ typography: {
173
+ fontSize: number;
174
+ fontFamily: string;
175
+ };
176
+ components: {
177
+ MuiCardHeader: {
178
+ defaultProps: {
179
+ slotProps: {
180
+ title: {
181
+ variant: string;
182
+ };
183
+ };
184
+ };
185
+ };
186
+ MuiAlert: {
187
+ styleOverrides: {
188
+ root: {
189
+ fontSize: string;
190
+ };
191
+ };
192
+ };
193
+ MuiBadge: {
194
+ styleOverrides: {
195
+ badge: {
196
+ fontSize: string;
197
+ };
198
+ };
199
+ };
200
+ MuiButton: {
201
+ styleOverrides: {
202
+ root: {
203
+ letterSpacing: number;
204
+ };
205
+ };
206
+ };
207
+ MuiFormControl: {
208
+ styleOverrides: {
209
+ root: {
210
+ marginTop: string;
211
+ };
212
+ };
213
+ };
214
+ MuiFormHelperText: {
215
+ styleOverrides: {
216
+ root: {
217
+ fontSize: string;
218
+ };
219
+ };
220
+ };
221
+ MuiLink: {
222
+ styleOverrides: {
223
+ root: {
224
+ textDecoration: string;
225
+ cursor: string;
226
+ };
227
+ };
228
+ };
229
+ MuiMenuItem: {
230
+ styleOverrides: {
231
+ root: {
232
+ fontSize: string;
233
+ };
234
+ dense: {
235
+ fontSize: string;
236
+ };
237
+ };
238
+ };
239
+ MuiOutlinedInput: {
240
+ styleOverrides: {
241
+ input: {
242
+ "&:-webkit-autofill": {
243
+ WebkitBoxShadow: string;
244
+ WebkitTextFillColor: string;
245
+ caretColor: string;
246
+ transition: string;
247
+ };
248
+ };
249
+ };
250
+ };
251
+ MuiTab: {
252
+ styleOverrides: {
253
+ root: {
254
+ fontSize: string;
255
+ };
256
+ };
257
+ };
258
+ MuiTableCell: {
259
+ styleOverrides: {
260
+ head: {
261
+ fontWeight: string;
262
+ };
263
+ };
264
+ };
265
+ MuiTextField: {
266
+ defaultProps: {
267
+ slotProps: {
268
+ inputLabel: {
269
+ sx: {
270
+ fontSize: string;
271
+ };
272
+ };
273
+ };
274
+ };
275
+ styleOverrides: {
276
+ root: {
277
+ "& .MuiOutlinedInput-notchedOutline": {
278
+ fontSize: string;
279
+ };
280
+ };
281
+ };
282
+ };
283
+ MuiTimeline: {
284
+ styleOverrides: {
285
+ root: {
286
+ margin: number;
287
+ padding: number;
288
+ };
289
+ };
290
+ };
291
+ MuiTimelineContent: {
292
+ styleOverrides: {
293
+ root: {
294
+ overflow: string;
295
+ flex: string;
296
+ padding: string;
297
+ };
298
+ };
299
+ };
300
+ MuiTimelineOppositeContent: {
301
+ styleOverrides: {
302
+ root: {
303
+ overflow: string;
304
+ flex: string;
305
+ minWidth: string;
306
+ padding: string;
307
+ };
308
+ };
309
+ };
310
+ };
311
+ };
312
+ export default _default;
@@ -0,0 +1,70 @@
1
+ declare const _default: {
2
+ palette: {
3
+ extended: {
4
+ background: {
5
+ dark: string;
6
+ light: string;
7
+ loader: string;
8
+ main: string;
9
+ };
10
+ backgroundSec: {
11
+ active: string;
12
+ };
13
+ border: {
14
+ primary: string;
15
+ };
16
+ drag: {
17
+ main: string;
18
+ };
19
+ icon: {
20
+ contrast: string;
21
+ light: string;
22
+ main: string;
23
+ };
24
+ pdfTron: {
25
+ icon: string;
26
+ };
27
+ permissions: {
28
+ additive: string;
29
+ adminBackground: string;
30
+ permissions: string;
31
+ substractive: string;
32
+ };
33
+ shadow: {
34
+ main: string;
35
+ };
36
+ state: {
37
+ active: {
38
+ border: string;
39
+ main: string;
40
+ };
41
+ completed: {
42
+ border: string;
43
+ main: string;
44
+ };
45
+ pending: {
46
+ border: string;
47
+ main: string;
48
+ };
49
+ rejected: {
50
+ border: string;
51
+ main: string;
52
+ };
53
+ unknow: {
54
+ border: string;
55
+ main: string;
56
+ };
57
+ };
58
+ tag: {
59
+ moreButton: {
60
+ background: string;
61
+ };
62
+ };
63
+ text: {
64
+ contrast: string;
65
+ disabled: string;
66
+ };
67
+ };
68
+ };
69
+ };
70
+ export default _default;