@orchestrator-ui/orchestrator-ui-components 0.4.0 → 0.5.1

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 (64) hide show
  1. package/.turbo/turbo-build.log +5 -5
  2. package/.turbo/turbo-lint.log +1 -1
  3. package/.turbo/turbo-test.log +5 -5
  4. package/CHANGELOG.md +14 -0
  5. package/dist/index.d.ts +213 -56
  6. package/dist/index.js +7335 -1613
  7. package/package.json +8 -9
  8. package/src/components/WfoBadges/WfoEngineStatusBadge/WfoEngineStatusBadge.tsx +8 -5
  9. package/src/components/WfoBadges/WfoEnvironmentBadge/WfoEnvironmentBadge.tsx +2 -1
  10. package/src/components/WfoDateTime/WfoDateTime.tsx +2 -9
  11. package/src/components/WfoErrorBoundary/WfoErrorBoundary.tsx +45 -0
  12. package/src/components/WfoErrorBoundary/index.ts +1 -0
  13. package/src/components/WfoForms/formFields/OrganisationField.tsx +10 -10
  14. package/src/components/WfoProcessList/WfoProcessesList.tsx +30 -35
  15. package/src/components/WfoProcessList/processListObjectMappers.ts +41 -1
  16. package/src/components/WfoSettings/WfoEngineStatusButton.tsx +11 -13
  17. package/src/components/WfoSettings/WfoFlushSettings.tsx +23 -35
  18. package/src/components/WfoSettings/WfoModifySettings.tsx +3 -16
  19. package/src/components/WfoSettings/WfoStatus.tsx +4 -9
  20. package/src/components/WfoSettings/index.ts +4 -1
  21. package/src/components/WfoSubscription/WfoSubscriptionGeneral.tsx +8 -6
  22. package/src/components/WfoSubscriptionsList/WfoSubscriptionsList.tsx +5 -5
  23. package/src/components/WfoTable/WfoBasicTable/WfoBasicTable.tsx +5 -0
  24. package/src/components/WfoToastsList/WfoToastsList.tsx +11 -11
  25. package/src/components/index.ts +1 -0
  26. package/src/contexts/OrchestratorConfigContext.tsx +2 -4
  27. package/src/contexts/index.ts +0 -1
  28. package/src/graphqlQueries/index.ts +1 -1
  29. package/src/graphqlQueries/processListQuery.ts +29 -29
  30. package/src/graphqlQueries/subscriptionsListQuery.ts +4 -1
  31. package/src/hooks/index.ts +1 -2
  32. package/src/hooks/useCheckEngineStatus.ts +10 -9
  33. package/src/hooks/useOrchestratorConfig.ts +1 -16
  34. package/src/hooks/useShowToastMessage.ts +43 -0
  35. package/src/hooks/useStoredTableConfig.ts +5 -4
  36. package/src/index.ts +1 -0
  37. package/src/messages/en-GB.json +4 -1
  38. package/src/messages/nl-NL.json +4 -1
  39. package/src/pages/metadata/WfoProductBlocksPage.tsx +5 -5
  40. package/src/pages/metadata/WfoProductsPage.tsx +5 -5
  41. package/src/pages/metadata/WfoResourceTypesPage.tsx +5 -5
  42. package/src/pages/metadata/WfoWorkflowsPage.tsx +5 -5
  43. package/src/pages/settings/WfoSettingsPage.tsx +14 -23
  44. package/src/pages/startPage/WfoStartPage.tsx +6 -6
  45. package/src/rtk/api.ts +40 -0
  46. package/src/rtk/endpoints/customers.ts +27 -0
  47. package/src/rtk/endpoints/index.ts +3 -0
  48. package/src/rtk/endpoints/processList.ts +89 -0
  49. package/src/rtk/endpoints/settings.ts +72 -0
  50. package/src/rtk/hooks.ts +7 -0
  51. package/src/rtk/index.ts +5 -0
  52. package/src/rtk/slices/index.ts +1 -0
  53. package/src/rtk/slices/orchestratorConfig.ts +16 -0
  54. package/src/rtk/slices/toastMessages.ts +56 -0
  55. package/src/rtk/store.ts +40 -0
  56. package/src/rtk/storeProvider.tsx +26 -0
  57. package/src/types/types.ts +31 -0
  58. package/src/utils/csvDownload.ts +15 -19
  59. package/src/utils/date.ts +8 -0
  60. package/src/components/WfoSettings/WfoSettings.tsx +0 -40
  61. package/src/contexts/ToastContext.tsx +0 -136
  62. package/src/graphqlQueries/customersQuery.ts +0 -20
  63. package/src/hooks/useEngineStatusQuery.ts +0 -64
  64. package/src/hooks/useToastMessage.ts +0 -5
@@ -1,5 +1,5 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@0.4.0 build
2
+ > @orchestrator-ui/orchestrator-ui-components@0.5.1 build
3
3
  > tsup src/index.ts --format esm --dts --tsconfig tsconfig.build.json
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -8,7 +8,7 @@
8
8
  CLI Target: es6
9
9
  ESM Build start
10
10
  DTS Build start
11
- ESM dist/index.js 1.94 MB
12
- ESM ⚡️ Build success in 732ms
13
- DTS ⚡️ Build success in 10524ms
14
- DTS dist/index.d.ts 103.05 KB
11
+ ESM dist/index.js 2.13 MB
12
+ ESM ⚡️ Build success in 809ms
13
+ DTS ⚡️ Build success in 12100ms
14
+ DTS dist/index.d.ts 113.89 KB
@@ -1,4 +1,4 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@0.4.0 lint
2
+ > @orchestrator-ui/orchestrator-ui-components@0.5.1 lint
3
3
  > eslint "src/**/*.ts*"
4
4
 
@@ -1,9 +1,9 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@0.4.0 test
2
+ > @orchestrator-ui/orchestrator-ui-components@0.5.1 test
3
3
  > jest
4
4
 
5
- PASS Orchestrator UI Components Tests src/pages/processes/timelineUtils.spec.ts
6
5
  PASS Orchestrator UI Components Tests src/components/WfoForms/formFields/utils.spec.ts
6
+ PASS Orchestrator UI Components Tests src/pages/processes/timelineUtils.spec.ts
7
7
  PASS Orchestrator UI Components Tests src/utils/date.spec.ts
8
8
  PASS Orchestrator UI Components Tests src/components/WfoSubscription/utils/utils.spec.ts
9
9
  PASS Orchestrator UI Components Tests src/utils/getProductNamesFromProcess.spec.ts
@@ -13,13 +13,13 @@ PASS Orchestrator UI Components Tests src/components/WfoTable/WfoTableWithFilter
13
13
  PASS Orchestrator UI Components Tests src/components/WfoTable/utils/tableConfigPersistence.spec.ts
14
14
  PASS Orchestrator UI Components Tests src/utils/string.spec.ts
15
15
  PASS Orchestrator UI Components Tests src/components/WfoTable/utils/tableUtils.spec.ts
16
- PASS Orchestrator UI Components Tests src/messages/getTranslationMessages.spec.ts
17
16
  PASS Orchestrator UI Components Tests src/components/WfoTable/utils/mapSortableAndFilterableValuesToTableColumnConfig.spec.ts
17
+ PASS Orchestrator UI Components Tests src/messages/getTranslationMessages.spec.ts
18
18
  PASS Orchestrator UI Components Tests src/components/WfoTable/utils/columns.spec.ts
19
19
  PASS Orchestrator UI Components Tests src/utils/sortObjectKeys.spec.ts
20
20
  PASS Orchestrator UI Components Tests src/components/WfoWorkflowSteps/stepListUtils.spec.ts
21
- PASS Orchestrator UI Components Tests src/utils/getTokenName.spec.ts
22
21
  PASS Orchestrator UI Components Tests src/utils/environmentVariables.spec.ts
22
+ PASS Orchestrator UI Components Tests src/utils/getTokenName.spec.ts
23
23
  PASS Orchestrator UI Components Tests src/utils/uuid.spec.ts
24
24
  PASS Orchestrator UI Components Tests src/utils/getTypedFieldFromObject.spec.ts
25
25
  PASS Orchestrator UI Components Tests src/utils/getQueryVariablesForExport.spec.ts
@@ -28,5 +28,5 @@ PASS Orchestrator UI Components Tests src/components/WfoPageTemplate/WfoPageHead
28
28
  Test Suites: 22 passed, 22 total
29
29
  Tests: 131 passed, 131 total
30
30
  Snapshots: 0 total
31
- Time: 12.065 s
31
+ Time: 11.953 s
32
32
  Ran all test suites.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @orchestrator-ui/orchestrator-ui-components
2
2
 
3
+ ## 0.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - dac8fb2: update date presentation and move getDate to utils
8
+ - e3b847a: Adds error boundary at the top level of the app
9
+ - 926d47b: Table enhancements: Introduces a loading-placeholder and a no-data-placeholder. Prevents showing previous page results while loading new data.
10
+
11
+ ## 0.5.0
12
+
13
+ ### Minor Changes
14
+
15
+ - 267a753: Adding RTK and RTK Query for some endpoints and store data
16
+
3
17
  ## 0.4.0
4
18
 
5
19
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import React__default, { Ref, ReactNode, FC, ReactElement, ComponentType, HTMLProps, JSX } from 'react';
2
+ import React__default, { Ref, ReactNode, FC, ReactElement, ComponentType, HTMLProps, JSX, FunctionComponent, ErrorInfo } from 'react';
3
3
  import { JSONSchema6 } from 'json-schema';
4
4
  import * as uniforms from 'uniforms';
5
5
  import { HTMLFieldProps, FieldProps as FieldProps$2 } from 'uniforms';
@@ -18,12 +18,21 @@ import { SerializedStyles } from '@emotion/react';
18
18
  import * as _emotion_utils from '@emotion/utils';
19
19
  import { EuiThemeComputed as EuiThemeComputed$1 } from '@elastic/eui/src/services/theme/types';
20
20
  import moment, { Moment } from 'moment-timezone';
21
- import { Toast } from '@elastic/eui/src/components/toast/global_toast_list';
22
21
  import { Variables } from 'graphql-request/build/esm/types';
23
22
  import { TypedDocumentNode } from '@graphql-typed-document-node/core';
24
23
  import { Session } from 'next-auth';
25
24
  import { Variables as Variables$1 } from 'graphql-request/build/cjs/types';
26
25
  import * as graphql from 'graphql';
26
+ import * as _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes from '@rtk-query/graphql-request-base-query/dist/GraphqlBaseQueryTypes';
27
+ import * as _reduxjs_toolkit_dist_query_baseQueryTypes from '@reduxjs/toolkit/dist/query/baseQueryTypes';
28
+ import * as _reduxjs_toolkit_query_react from '@reduxjs/toolkit/query/react';
29
+ import * as _reduxjs_toolkit_dist_query_react_buildHooks from '@reduxjs/toolkit/dist/query/react/buildHooks';
30
+ import * as _reduxjs_toolkit_query from '@reduxjs/toolkit/query';
31
+ import { CombinedState } from '@reduxjs/toolkit/query';
32
+ import * as _reduxjs_toolkit from '@reduxjs/toolkit';
33
+ import { Reducer, Slice, PayloadAction, EnhancedStore, Dispatch, UnknownAction } from '@reduxjs/toolkit';
34
+ import { Toast } from '@elastic/eui/src/components/toast/global_toast_list';
35
+ export { Toast } from '@elastic/eui/src/components/toast/global_toast_list';
27
36
 
28
37
  declare type InputForm = JSONSchema6;
29
38
  declare type FieldProps$1<Value, Extra = object, InputElementType = HTMLInputElement, ElementType = HTMLDivElement> = HTMLFieldProps<Value, ElementType, {
@@ -46,7 +55,8 @@ declare type KeyValue = {
46
55
  declare enum EngineStatus {
47
56
  RUNNING = "RUNNING",
48
57
  PAUSING = "PAUSING",
49
- PAUSED = "PAUSED"
58
+ PAUSED = "PAUSED",
59
+ UNKNOWN = "UNKNOWN"
50
60
  }
51
61
  declare type Customer = {
52
62
  fullname: string;
@@ -258,6 +268,9 @@ declare type GraphQLPageInfo = {
258
268
  sortFields: string[];
259
269
  filterFields: string[];
260
270
  };
271
+ declare type BaseGraphQlResult = {
272
+ pageInfo: GraphQLPageInfo;
273
+ };
261
274
  interface SubscriptionsResult<T = Subscription> {
262
275
  subscriptions: GraphQlResultPage<T>;
263
276
  }
@@ -388,6 +401,26 @@ declare type WfoTreeNodeMap = {
388
401
  [key: number]: TreeBlock;
389
402
  };
390
403
 
404
+ declare enum ToastTypes {
405
+ ERROR = "ERROR",
406
+ SUCCESS = "SUCCESS"
407
+ }
408
+ declare enum Environment {
409
+ DEVELOPMENT = "Development",
410
+ PRODUCTION = "Production"
411
+ }
412
+ declare type OrchestratorConfig = {
413
+ environmentName: Environment | string;
414
+ orchestratorApiBaseUrl: string;
415
+ graphqlEndpointCore: string;
416
+ engineStatusEndpoint: string;
417
+ processStatusCountsEndpoint: string;
418
+ processesEndpoint: string;
419
+ subscriptionActionsEndpoint: string;
420
+ subscriptionProcessesEndpoint: string;
421
+ authActive: boolean;
422
+ };
423
+
391
424
  interface NodeSubscription {
392
425
  name: string;
393
426
  subscription_id: string;
@@ -846,17 +879,6 @@ declare const useQueryWithGraphqlLazy: <U, V extends Variables>(query: TypedDocu
846
879
  getData: () => Promise<U | undefined>;
847
880
  };
848
881
 
849
- interface EngineStatusReturnValue {
850
- global_lock: boolean;
851
- running_processes: number;
852
- global_status: EngineStatus;
853
- }
854
- interface EngineStatusPayload {
855
- global_lock: boolean;
856
- }
857
- declare const useEngineStatusQuery: () => react_query.UseQueryResult<EngineStatusReturnValue, unknown>;
858
- declare const useEngineStatusMutation: () => react_query.UseMutationResult<EngineStatusReturnValue, unknown, EngineStatusPayload, void>;
859
-
860
882
  declare const useMutateProcess: () => {
861
883
  retryAllProcesses: react_query.UseMutationResult<void, unknown, void, unknown>;
862
884
  retryProcess: react_query.UseMutationResult<void, unknown, string, unknown>;
@@ -864,21 +886,6 @@ declare const useMutateProcess: () => {
864
886
  deleteProcess: react_query.UseMutationResult<void, unknown, string, unknown>;
865
887
  };
866
888
 
867
- declare enum Environment {
868
- DEVELOPMENT = "Development",
869
- PRODUCTION = "Production"
870
- }
871
- declare type OrchestratorConfig = {
872
- environmentName: Environment | string;
873
- orchestratorApiBaseUrl: string;
874
- graphqlEndpointCore: string;
875
- engineStatusEndpoint: string;
876
- processStatusCountsEndpoint: string;
877
- processesEndpoint: string;
878
- subscriptionActionsEndpoint: string;
879
- subscriptionProcessesEndpoint: string;
880
- authActive: boolean;
881
- };
882
889
  declare const useOrchestratorConfig: (initialOrchestratorConfig: OrchestratorConfig) => {
883
890
  orchestratorConfig: OrchestratorConfig;
884
891
  };
@@ -934,22 +941,9 @@ interface DataDisplayReturnValues<Type> {
934
941
  }
935
942
  declare const useDataDisplayParams: <Type>(initialParams: Partial<DataDisplayParams<Type>>) => DataDisplayReturnValues<Type>;
936
943
 
937
- declare enum ToastTypes {
938
- ERROR = "ERROR",
939
- SUCCESS = "SUCCESS"
940
- }
941
- interface ToastContextProps {
942
- addToast: (type: ToastTypes, text: ReactElement | string, title: string) => void;
943
- removeToast: (id: string) => void;
944
- toasts: Toast[];
945
- }
946
- declare const ToastContext: React__default.Context<ToastContextProps>;
947
- interface ToastsContextProviderProps {
948
- children: ReactNode;
949
- }
950
- declare const ToastsContextProvider: ({ children, }: ToastsContextProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
951
-
952
- declare const useToastMessage: () => ToastContextProps;
944
+ declare const useShowToastMessage: () => {
945
+ showToastMessage: (type: ToastTypes, text: string, title: string) => void;
946
+ };
953
947
 
954
948
  declare const useStoredTableConfig: <T>(localeStorageKey: string) => () => StoredTableConfig<T> | undefined;
955
949
 
@@ -1333,7 +1327,7 @@ declare const WfoTimeline: FC<WfoTimelineProps>;
1333
1327
 
1334
1328
  declare const WfoLoading: () => _emotion_react_jsx_runtime.JSX.Element;
1335
1329
 
1336
- declare const ToastsList: () => _emotion_react_jsx_runtime.JSX.Element;
1330
+ declare const WfoToastsList: () => _emotion_react_jsx_runtime.JSX.Element;
1337
1331
 
1338
1332
  interface IProps {
1339
1333
  preselectedInput?: unknown;
@@ -1732,12 +1726,13 @@ declare type WfoJsonCodeBlockProps = {
1732
1726
  };
1733
1727
  declare const WfoJsonCodeBlock: FC<WfoJsonCodeBlockProps>;
1734
1728
 
1735
- interface WfoSettingsProps {
1736
- currentEngineStatus: EngineStatus | undefined;
1737
- currentRunningProcesses: number | undefined;
1738
- changeEngineStatus: () => void;
1739
- }
1740
- declare const WfoSettings: ({ currentEngineStatus, currentRunningProcesses, changeEngineStatus, }: WfoSettingsProps) => _emotion_react_jsx_runtime.JSX.Element;
1729
+ declare const WfoFlushSettings: FunctionComponent;
1730
+
1731
+ declare const WfoEngineStatusButton: () => _emotion_react_jsx_runtime.JSX.Element;
1732
+
1733
+ declare const WfoModifySettings: () => _emotion_react_jsx_runtime.JSX.Element;
1734
+
1735
+ declare const WfoStatus: () => _emotion_react_jsx_runtime.JSX.Element;
1741
1736
 
1742
1737
  interface WfoInsyncIconProps {
1743
1738
  inSync: boolean;
@@ -1746,6 +1741,22 @@ declare const WfoInsyncIcon: ({ inSync }: WfoInsyncIconProps) => _emotion_react_
1746
1741
 
1747
1742
  declare const WfoError: () => _emotion_react_jsx_runtime.JSX.Element;
1748
1743
 
1744
+ declare type ErrorBoundaryProps = {
1745
+ fallback?: ReactNode;
1746
+ children: ReactNode;
1747
+ };
1748
+ declare type ErrorBoundaryState = {
1749
+ hasError: boolean;
1750
+ };
1751
+ declare class WfoErrorBoundary extends React__default.Component<ErrorBoundaryProps, ErrorBoundaryState> {
1752
+ constructor(props: ErrorBoundaryProps);
1753
+ static getDerivedStateFromError(): {
1754
+ hasError: boolean;
1755
+ };
1756
+ componentDidCatch(error: Error, info: ErrorInfo): void;
1757
+ render(): string | number | boolean | Iterable<React__default.ReactNode> | React__default.PromiseLikeOfReactNode | _emotion_react_jsx_runtime.JSX.Element | null | undefined;
1758
+ }
1759
+
1749
1760
  declare type WfoStepListRef = {
1750
1761
  scrollToStep: (stepId: string) => void;
1751
1762
  };
@@ -1827,6 +1838,7 @@ declare const isToday: (date: Date) => boolean;
1827
1838
  declare const parseDateOrTimeRelativeToToday: (date: Date | null) => string;
1828
1839
  declare const parseDateRelativeToToday: (date: Date | null) => string;
1829
1840
  declare const formatDateCetWithUtc: (inputDateString: string | null | undefined) => string;
1841
+ declare const getDate: (date: Date | string | null) => Date | null;
1830
1842
 
1831
1843
  declare const getNumberValueFromEnvironmentVariable: (environmentVariable: string | undefined, defaultValue: number) => number;
1832
1844
 
@@ -1869,6 +1881,7 @@ declare const useGetTranslationMessages: (locale: string | undefined) => {
1869
1881
  widgets: {
1870
1882
  organisation: {
1871
1883
  placeholder: string;
1884
+ loading: string;
1872
1885
  };
1873
1886
  contactPersonName: {
1874
1887
  placeholder: string;
@@ -1929,6 +1942,7 @@ declare const useGetTranslationMessages: (locale: string | undefined) => {
1929
1942
  widgets: {
1930
1943
  organisation: {
1931
1944
  placeholder: string;
1945
+ loading: string;
1932
1946
  };
1933
1947
  contactPersonName: {
1934
1948
  placeholder: string;
@@ -1994,9 +2008,11 @@ declare const useGetTranslationMessages: (locale: string | undefined) => {
1994
2008
  deselect: string;
1995
2009
  close: string;
1996
2010
  editColumns: string;
2011
+ loading: string;
1997
2012
  newSubscription: string;
1998
2013
  newTask: string;
1999
2014
  noFailedTasks: string;
2015
+ noItemsFound: string;
2000
2016
  search: string;
2001
2017
  errorMessage: string;
2002
2018
  export: string;
@@ -2280,6 +2296,7 @@ declare const useGetTranslationMessages: (locale: string | undefined) => {
2280
2296
  widgets: {
2281
2297
  organisation: {
2282
2298
  placeholder: string;
2299
+ loading: string;
2283
2300
  };
2284
2301
  contactPersonName: {
2285
2302
  placeholder: string;
@@ -2340,6 +2357,7 @@ declare const useGetTranslationMessages: (locale: string | undefined) => {
2340
2357
  widgets: {
2341
2358
  organisation: {
2342
2359
  placeholder: string;
2360
+ loading: string;
2343
2361
  };
2344
2362
  contactPersonName: {
2345
2363
  placeholder: string;
@@ -2405,9 +2423,11 @@ declare const useGetTranslationMessages: (locale: string | undefined) => {
2405
2423
  deselect: string;
2406
2424
  close: string;
2407
2425
  editColumns: string;
2426
+ loading: string;
2408
2427
  newSubscription: string;
2409
2428
  newTask: string;
2410
2429
  noFailedTasks: string;
2430
+ noItemsFound: string;
2411
2431
  search: string;
2412
2432
  errorMessage: string;
2413
2433
  export: string;
@@ -2742,7 +2762,7 @@ declare const WfoWorkflowsListPage: () => _emotion_react_jsx_runtime.JSX.Element
2742
2762
  declare const GET_SUBSCRIPTIONS_LIST_GRAPHQL_QUERY: graphql.DocumentNode;
2743
2763
  declare const GET_SUBSCRIPTIONS_LIST_SUMMARY_GRAPHQL_QUERY: graphql.DocumentNode;
2744
2764
  declare const getSubscriptionsListGraphQlQuery: <QueryVariablesType = Subscription>() => TypedDocumentNode<SubscriptionsResult<Subscription>, GraphqlQueryVariables<QueryVariablesType>>;
2745
- declare const getSubscriptionsListSummaryGraphQlQuery: <QueryVariablesType = Subscription>() => TypedDocumentNode<SubscriptionsResult<Pick<Subscription, "description" | "subscriptionId">>, GraphqlQueryVariables<QueryVariablesType>>;
2765
+ declare const getSubscriptionsListSummaryGraphQlQuery: <QueryVariablesType = Subscription>() => TypedDocumentNode<SubscriptionsResult<Pick<Subscription, "description" | "subscriptionId" | "startDate">>, GraphqlQueryVariables<QueryVariablesType>>;
2746
2766
 
2747
2767
  declare const GET_PRODUCTS_BLOCKS_GRAPHQL_QUERY: TypedDocumentNode<ProductBlockDefinitionsResult, GraphqlQueryVariables<ProductBlockDefinition>>;
2748
2768
 
@@ -2761,8 +2781,6 @@ declare const GET_PROCESS_DETAIL_GRAPHQL_QUERY: TypedDocumentNode<ProcessesDetai
2761
2781
  processId: string;
2762
2782
  }>;
2763
2783
 
2764
- declare const GET_CUSTOMER_GRAPHQL_QUERY: TypedDocumentNode<CustomersResult>;
2765
-
2766
2784
  declare const GET_SUBSCRIPTION_DROPDOWN_OPTIONS_GRAPHQL_QUERY: graphql.DocumentNode;
2767
2785
  declare function getSubscriptionDropdownOptionsGraphQlQuery<QueryVariablesType = SubscriptionDropdownOption>(): TypedDocumentNode<SubscriptionDropdownOptionsResult, GraphqlQueryVariables<QueryVariablesType>>;
2768
2786
 
@@ -2770,4 +2788,143 @@ declare const GET_PROCESS_STEPS_GRAPHQL_QUERY: TypedDocumentNode<ProcessStepsRes
2770
2788
  processName: string;
2771
2789
  }>;
2772
2790
 
2773
- export { ACTIVE_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY, ACTIVE_TASKS_LIST_TABLE_LOCAL_STORAGE_KEY, AcceptField, type AcceptFieldProps, ApiClient, ApiClientContext, ApiClientContextProvider, type ApiClientContextProviderProps, type ApiContext, type AutoFieldsProps, BadgeType, BaseApiClient, BoolField, type BoolFieldProps, COMPLETED_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY, COMPLETED_TASKS_LIST_TABLE_LOCAL_STORAGE_KEY, type CacheNames, type CacheOption, type ColumnConfig, type ConfirmDialogActions, ConfirmationDialogContext, ConfirmationDialogContextWrapper, ConfirmationDialogProvider, ContactPersonNameField, type ContactPersonNameFieldProps, CreateForm, type Customer, type CustomersResult, DEFAULT_PAGE_SIZE, DEFAULT_PAGE_SIZES, type DataDisplayParams, type DataDisplayReturnValues, DateField, type DateFieldProps, DividerField, type DividerFieldProps, type EmailAddress, type EmailState, EngineStatus, type EngineStatusReturnValue, Environment, ErrorField, type ErrorFieldProps, ErrorsField, type ErrorsFieldProps, type ExternalService, type Field, type FieldValue, type FilterQuery, type FixedInputDefinition, GET_CUSTOMER_GRAPHQL_QUERY, GET_PROCESS_DETAIL_GRAPHQL_QUERY, GET_PROCESS_STEPS_GRAPHQL_QUERY, GET_PRODUCTS_BLOCKS_GRAPHQL_QUERY, GET_PRODUCTS_GRAPHQL_QUERY, GET_PRODUCTS_SUMMARY_GRAPHQL_QUERY, GET_RESOURCE_TYPES_GRAPHQL_QUERY, GET_SUBSCRIPTIONS_LIST_GRAPHQL_QUERY, GET_SUBSCRIPTIONS_LIST_SUMMARY_GRAPHQL_QUERY, GET_SUBSCRIPTION_DETAIL_GRAPHQL_QUERY, GET_SUBSCRIPTION_DROPDOWN_OPTIONS_GRAPHQL_QUERY, type GraphQLPageInfo, type GraphQLSort, type GraphqlFilter, type GraphqlQueryVariables, type GroupedStep, HIDDEN_KEYS, type HeaderBadgeProps, type IPvAnyNetworkFieldProps, ImsNodeIdField, type ImsNodeIdFieldProps, type ImsPortFieldProps, ImsPortIdField, type InUseByRelation, IpNetworkField, type KeyValue, LabelField, type LabelFieldProps, ListAddField, type ListAddFieldProps, ListDelField, type ListDelFieldProps, ListField, type ListFieldProps, ListSelectField, type ListSelectFieldProps, Locale, LocationCodeField, type LocationCodeFieldProps, LongTextField, type LongTextFieldProps, METADATA_PRODUCT_BLOCKS_TABLE_LOCAL_STORAGE_KEY, METADATA_PRODUCT_TABLE_LOCAL_STORAGE_KEY, METADATA_RESOURCE_TYPES_TABLE_LOCAL_STORAGE_KEY, METADATA_WORKFLOWS_TABLE_LOCAL_STORAGE_KEY, NestField, type NestFieldProps, type Nullable, NumField, type NumFieldProps, OptGroupField, type OptGroupFieldProps, type OrchestratorConfig, OrchestratorConfigContext, OrchestratorConfigProvider, type OrchestratorConfigProviderProps, OrganisationField, type OrganisationFieldProps, PATH_METADATA, PATH_METADATA_PRODUCTS, PATH_METADATA_PRODUCT_BLOCKS, PATH_METADATA_RESOURCE_TYPES, PATH_METADATA_WORKFLOWS, PATH_SETTINGS, PATH_START, PATH_START_NEW_TASK, PATH_START_NEW_WORKFLOW, PATH_SUBSCRIPTIONS, PATH_TASKS, PATH_WORKFLOWS, type Pagination, type Process, type ProcessDetail, type ProcessDetailResultRaw, ProcessDoneStatuses, type ProcessListItem, type ProcessListResult, ProcessStatus, type ProcessStatusCounts, type ProcessStepsResult, type ProcessesDetailResult, type ProductBlockDefinition, type ProductBlockDefinitionsResult, type ProductBlockInstance, type ProductDefinition, type ProductDefinitionsResult, ProductField, type ProductFieldProps, ProductLifecycleStatus, RENDER_ALL, RESOURCE_TYPE_FIELD_DESCRIPTION, RESOURCE_TYPE_FIELD_ID, RESOURCE_TYPE_FIELD_PRODUCT_BLOCKS, RESOURCE_TYPE_FIELD_TYPE, RadioField, type RadioFieldProps, type RelatedSubscription, type RelatedSubscriptionsResult, RenderDirection, type ResourceTypeDefinition, type ResourceTypeDefinitionsResult, STEP_STATE_HIDDEN_KEYS, SUBSCRIPTIONS_TABLE_LOCAL_STORAGE_KEY, SelectField, type SelectFieldProps, type SessionToken, type ShowConfirmDialog, type ShowConfirmDialogType, SortOrder, type StartProcessStep, type Step, type StepListItem, type StepState, StepStatus, type StoredTableConfig, SubmitField, type SubmitFieldProps, type Subscription, type SubscriptionAction, type SubscriptionDetail, type SubscriptionDetailProcess, type SubscriptionDetailResult, SubscriptionDetailTab, type SubscriptionDropdownOption, type SubscriptionDropdownOptionsResult, SubscriptionField, type SubscriptionFieldProps, SubscriptionKeyValueBlock, SubscriptionStatus, SubscriptionSummaryField, type SubscriptionSummaryFieldProps, type SubscriptionsResult, SummaryField, type SummaryFieldProps, type TableColumnKeys, type TableConfig, TableSettingsModal, type TableSettingsModalProps, TextField, type TextFieldProps, type TimelineItem, TimelinePosition, TimestampField, type TimestampFieldProps, ToastContext, type ToastContextProps, ToastTypes, ToastsContextProvider, ToastsList, type TranslationMessagesMap, type TreeBlock, TreeContext, type TreeContextType, TreeProvider, type TreeProviderProps, type UserInputForm, UserInputFormWizard, VlanField, type VlanFieldProps, WFO_STATUS_COLOR_FIELD, WfoArrowNarrowDown, WfoArrowNarrowUp, WfoArrowsExpand, WfoAuth, WfoBadge, type WfoBadgeProps, WfoBasicTable, type WfoBasicTableColumns, type WfoBasicTableColumnsWithControlColumns, type WfoBasicTableProps, WfoBell, WfoBreadcrumbs, WfoCheckmarkCircleFill, WfoChevronDown, WfoChevronUp, WfoCode, WfoCogFill, WfoContactEnvelopeFill, type WfoControlColumn, WfoCubeSolid, WfoDataGridTable, type WfoDataGridTableColumns, type WfoDataGridTableProps, type WfoDataSearch, type WfoDataSorting, WfoDateTime, type WfoDateTimeProps, WfoDropdownButton, WfoEngineStatusBadge, WfoEnvironmentBadge, WfoError, type WfoEuiBasicTableColumn, WfoEyeFill, WfoFailedTasksBadge, type WfoFilterTab, WfoFilterTabs, type WfoFilterTabsProps, WfoFirstPartUUID, type WfoFirstUUIDPartProps, WfoHeaderBadge, type WfoIconProps, WfoInformationModal, type WfoInformationModalProps, WfoInsyncIcon, WfoJsonCodeBlock, type WfoJsonCodeBlockProps, WfoKeyCell, type WfoKeyCellProps, WfoKeyValueTable, type WfoKeyValueTableDataType, type WfoKeyValueTableProps, WfoLoading, WfoLogoutIcon, WfoMinusCircleFill, WfoMinusCircleOutline, WfoPageHeader, type WfoPageHeaderProps, WfoPageTemplate, type WfoPageTemplateProps, WfoPencil, WfoPencilAlt, WfoPlayCircle, WfoPlayFill, WfoPlusCircleFill, WfoProcessDetailPage, WfoProcessListSubscriptionsCell, WfoProcessRawData, WfoProcessStatusBadge, type WfoProcessStatusBadgeProps, WfoProcessSubscriptionDelta, WfoProcessesList, type WfoProcessesListProps, type WfoProcessesListSubscriptionsCellProps, WfoProcessesTimeline, WfoProductBlockBadge, type WfoProductBlockBadgeProps, WfoProductBlocksPage, WfoProductStatusBadge, type WfoProductStatusBadgeProps, WfoProductsPage, WfoRefresh, WfoResourceTypesPage, WfoSearchField, type WfoSearchFieldProps, WfoSearchStrikethrough, WfoSettings, WfoSettingsModal, type WfoSettingsModalProps, WfoSettingsPage, WfoShare, WfoSideMenu, WfoSidebar, type WfoSidebarProps, WfoSortAsc, WfoSortButton, type WfoSortButtonProps, WfoSortButtons, type WfoSortButtonsProps, WfoSortDesc, WfoSortDirectionIcon, type WfoSortDirectionIconProps, WfoStartPage, WfoStartProcessPage, WfoStartTaskButtonComboBox, WfoStatistic, WfoStatusColorField, type WfoStatusColorFieldProps, WfoStatusDotIcon, WfoStep, WfoStepList, WfoStepListHeader, type WfoStepListHeaderProps, type WfoStepListProps, type WfoStepListRef, type WfoStepProps, WfoStepStatusIcon, type WfoStepStatusIconProps, WfoSubmitModal, type WfoSubmitModalProps, WfoSubscription, WfoSubscriptionActions, type WfoSubscriptionActionsProps, WfoSubscriptionDetailPage, WfoSubscriptionDetailTree, WfoSubscriptionGeneral, WfoSubscriptionProductBlock, WfoSubscriptionStatusBadge, type WfoSubscriptionStatusBadgeProps, WfoSubscriptionsListPage, type WfoTableColumns, type WfoTableColumnsWithExtraNonDataFields, type WfoTableControlColumnConfig, type WfoTableDataColumnConfig, WfoTableHeaderCell, type WfoTableHeaderCellProps, WfoTableWithFilter, type WfoTableWithFilterProps, WfoTasksListPage, WfoTasksListTabType, WfoTextAnchor, WfoTimeline, type WfoTimelineProps, type WfoTreeNodeMap, WfoValueCell, type WfoValueCellProps, WfoViewList, WfoWorkflowStepList, type WfoWorkflowStepListProps, WfoWorkflowTargetBadge, type WfoWorkflowTargetBadgeProps, WfoWorkflowsListPage, WfoWorkflowsPage, WfoXCircleFill, type WorkflowDefinition, type WorkflowDefinitionsResult, type WorkflowListItem, WorkflowTarget, calculateTimeDifference, camelToHuman, clearTableConfigFromLocalStorage, defaultOrchestratorTheme, defaultTasksListTabs, determineNewSortOrder, determinePageIndex, flattenArrayProps, formatDate, formatDateCetWithUtc, getApiClient, getCurrentBrowserLocale, getDataSortHandler, getFieldFromProductBlockInstanceValues, getFirstUuidPart, getInitialColumnOrder, getNumberValueFromEnvironmentVariable, getPageChangeHandler, getProductBlockTitle, getProductNamesFromProcess, getProductsQuery, getProductsSummaryQuery, getQueryStringHandler, getQueryVariablesForExport, getSortDirectionFromString, getStatusBadgeColor, getStepContent, getSubscriptionDropdownOptionsGraphQlQuery, getSubscriptionsListGraphQlQuery, getSubscriptionsListSummaryGraphQlQuery, getTableConfigFromLocalStorage, getTasksListTabTypeFromString, getTypedFieldFromObject, getWfoBasicTableStyles, getWorkflowTargetColor, getWorkflowTargetIconContent, isToday, isUuid4, isValidLocalStorageTableConfig, localMomentToUtcTimestamp, mapColumnSortToEuiDataGridSorting, mapSortableAndFilterableValuesToTableColumnConfig, parseDate, parseDateOrTimeRelativeToToday, parseDateRelativeToToday, parseDateToLocaleDateString, parseDateToLocaleDateTimeString, parseDateToLocaleTimeString, parseIsoString, removeSuffix, setTableConfigToLocalStorage, stop, upperCaseFirstChar, useCacheNames, useCheckEngineStatus, useDataDisplayParams, useEngineStatusMutation, useEngineStatusQuery, useFilterQueryWithRest, useGetTranslationMessages, useMutateProcess, useOrchestratorConfig, useOrchestratorTheme, useProcessStatusCountsQuery, useQueryWithFetch, useQueryWithGraphql, useQueryWithGraphqlLazy, useRawProcessDetails, useSessionWithToken, useStoredTableConfig, useSubscriptionActions, useToastMessage, useWithOrchestratorTheme, utcTimestampToLocalMoment };
2791
+ declare const GET_PROCESS_LIST_SUMMARY_GRAPHQL_QUERY: graphql.DocumentNode;
2792
+ declare const GET_PROCESS_LIST_GRAPHQL_QUERY: graphql.DocumentNode;
2793
+ declare const getProcessListGraphQlQuery: () => TypedDocumentNode<ProcessListResult, GraphqlQueryVariables<Process>>;
2794
+ declare const getProcessListSummaryGraphQlQuery: () => TypedDocumentNode<ProcessListResult<Pick<Process, 'processId' | 'workflowName' | 'startedAt'>>, GraphqlQueryVariables<Process>>;
2795
+
2796
+ declare enum BaseQueryTypes {
2797
+ fetch = "fetch",
2798
+ graphql = "graphql",
2799
+ custom = "custom"
2800
+ }
2801
+ declare type ExtraOptions = {
2802
+ baseQueryType?: BaseQueryTypes;
2803
+ };
2804
+ declare const orchestratorApi: _reduxjs_toolkit_query_react.Api<(args: any, api: _reduxjs_toolkit_query_react.BaseQueryApi, extraOptions: ExtraOptions) => {
2805
+ error: _reduxjs_toolkit_query_react.FetchBaseQueryError;
2806
+ data?: undefined;
2807
+ meta?: _reduxjs_toolkit_query_react.FetchBaseQueryMeta | undefined;
2808
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query_react.FetchBaseQueryError, _reduxjs_toolkit_query_react.FetchBaseQueryMeta>> | {
2809
+ error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
2810
+ data?: undefined;
2811
+ meta?: {} | undefined;
2812
+ } | {
2813
+ error?: undefined;
2814
+ data: unknown;
2815
+ meta?: {} | undefined;
2816
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, {}, "orchestratorApi", "engineStatus", typeof _reduxjs_toolkit_query_react.coreModuleName | typeof _reduxjs_toolkit_query_react.reactHooksModuleName>;
2817
+
2818
+ declare const useGetCustomersQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
2819
+ baseQueryType?: BaseQueryTypes | undefined;
2820
+ }) => {
2821
+ error: _reduxjs_toolkit_query.FetchBaseQueryError;
2822
+ data?: undefined;
2823
+ meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
2824
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
2825
+ error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
2826
+ data?: undefined;
2827
+ meta?: {} | undefined;
2828
+ } | {
2829
+ error?: undefined;
2830
+ data: unknown;
2831
+ meta?: {} | undefined;
2832
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, "engineStatus", Customer[], "orchestratorApi">>;
2833
+
2834
+ declare const processListQuery = "\n query ProcessList(\n $first: Int!\n $after: Int!\n $sortBy: [GraphqlSort!]\n $filterBy: [GraphqlFilter!]\n $query: String\n ) {\n processes(\n first: $first\n after: $after\n sortBy: $sortBy\n filterBy: $filterBy\n query: $query\n ) {\n page {\n workflowName\n lastStep\n lastStatus\n workflowTarget\n product {\n name\n tag\n }\n customer {\n fullname\n shortcode\n }\n createdBy\n assignee\n processId\n startedAt\n lastModifiedAt\n isTask\n subscriptions {\n page {\n subscriptionId\n description\n }\n }\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n totalItems\n endCursor\n sortFields\n filterFields\n }\n }\n }\n";
2835
+ declare type ProcessListResponse = {
2836
+ processes: Process[];
2837
+ } & BaseGraphQlResult;
2838
+ declare const useGetProcessListQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<Process>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
2839
+ baseQueryType?: BaseQueryTypes | undefined;
2840
+ }) => {
2841
+ error: _reduxjs_toolkit_query.FetchBaseQueryError;
2842
+ data?: undefined;
2843
+ meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
2844
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
2845
+ error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
2846
+ data?: undefined;
2847
+ meta?: {} | undefined;
2848
+ } | {
2849
+ error?: undefined;
2850
+ data: unknown;
2851
+ meta?: {} | undefined;
2852
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, "engineStatus", ProcessListResponse, "orchestratorApi">>;
2853
+
2854
+ interface EngineStatusReturnValue {
2855
+ engineStatus: EngineStatus;
2856
+ runningProcesses: number;
2857
+ }
2858
+ declare const useGetEngineStatusQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
2859
+ baseQueryType?: BaseQueryTypes | undefined;
2860
+ }) => {
2861
+ error: _reduxjs_toolkit_query.FetchBaseQueryError;
2862
+ data?: undefined;
2863
+ meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
2864
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
2865
+ error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
2866
+ data?: undefined;
2867
+ meta?: {} | undefined;
2868
+ } | {
2869
+ error?: undefined;
2870
+ data: unknown;
2871
+ meta?: {} | undefined;
2872
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, "engineStatus", EngineStatusReturnValue, "orchestratorApi">>;
2873
+ declare const useClearCacheMutation: _reduxjs_toolkit_dist_query_react_buildHooks.UseMutation<_reduxjs_toolkit_query.MutationDefinition<string, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
2874
+ baseQueryType?: BaseQueryTypes | undefined;
2875
+ }) => {
2876
+ error: _reduxjs_toolkit_query.FetchBaseQueryError;
2877
+ data?: undefined;
2878
+ meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
2879
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
2880
+ error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
2881
+ data?: undefined;
2882
+ meta?: {} | undefined;
2883
+ } | {
2884
+ error?: undefined;
2885
+ data: unknown;
2886
+ meta?: {} | undefined;
2887
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, "engineStatus", void, "orchestratorApi">>;
2888
+ declare const useSetEngineStatusMutation: _reduxjs_toolkit_dist_query_react_buildHooks.UseMutation<_reduxjs_toolkit_query.MutationDefinition<boolean, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
2889
+ baseQueryType?: BaseQueryTypes | undefined;
2890
+ }) => {
2891
+ error: _reduxjs_toolkit_query.FetchBaseQueryError;
2892
+ data?: undefined;
2893
+ meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
2894
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
2895
+ error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
2896
+ data?: undefined;
2897
+ meta?: {} | undefined;
2898
+ } | {
2899
+ error?: undefined;
2900
+ data: unknown;
2901
+ meta?: {} | undefined;
2902
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, "engineStatus", EngineStatusReturnValue, "orchestratorApi">>;
2903
+
2904
+ declare type ToastState = {
2905
+ messages: Toast[];
2906
+ };
2907
+ declare type ToastMessagesSlice = Slice<ToastState, {
2908
+ addToastMessage: (state: ToastState, action: PayloadAction<Toast>) => ToastState;
2909
+ removeToastMessage: (state: ToastState, action: PayloadAction<Toast['id']>) => ToastState;
2910
+ }, 'toastMessages', 'toastMessages'>;
2911
+ declare const toastMessagesSlice: ToastMessagesSlice;
2912
+ declare const addToastMessage: _reduxjs_toolkit.ActionCreatorWithPayload<Toast, "toastMessages/addToastMessage">;
2913
+ declare const removeToastMessage: _reduxjs_toolkit.ActionCreatorWithPayload<string, "toastMessages/removeToastMessage">;
2914
+ declare const toastMessagesReducer: Reducer<ToastState>;
2915
+
2916
+ declare type RootState = {
2917
+ orchestratorApi: CombinedState<Record<string, never>, 'engineStatus', 'orchestratorApi'>;
2918
+ toastMessages: ReturnType<typeof toastMessagesReducer>;
2919
+ orchestratorConfig: OrchestratorConfig;
2920
+ };
2921
+ declare const getOrchestratorStore: (orchestratorConfig: OrchestratorConfig) => EnhancedStore<RootState>;
2922
+ declare type AppDispatch = Dispatch<UnknownAction>;
2923
+
2924
+ declare type StoreProviderProps = {
2925
+ initialOrchestratorConfig: OrchestratorConfig;
2926
+ children: ReactNode;
2927
+ };
2928
+ declare const StoreProvider: ({ initialOrchestratorConfig, children, }: StoreProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
2929
+
2930
+ export { ACTIVE_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY, ACTIVE_TASKS_LIST_TABLE_LOCAL_STORAGE_KEY, AcceptField, type AcceptFieldProps, ApiClient, ApiClientContext, ApiClientContextProvider, type ApiClientContextProviderProps, type ApiContext, type AppDispatch, type AutoFieldsProps, BadgeType, BaseApiClient, type BaseGraphQlResult, BaseQueryTypes, BoolField, type BoolFieldProps, COMPLETED_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY, COMPLETED_TASKS_LIST_TABLE_LOCAL_STORAGE_KEY, type CacheNames, type CacheOption, type ColumnConfig, type ConfirmDialogActions, ConfirmationDialogContext, ConfirmationDialogContextWrapper, ConfirmationDialogProvider, ContactPersonNameField, type ContactPersonNameFieldProps, CreateForm, type Customer, type CustomersResult, DEFAULT_PAGE_SIZE, DEFAULT_PAGE_SIZES, type DataDisplayParams, type DataDisplayReturnValues, DateField, type DateFieldProps, DividerField, type DividerFieldProps, type EmailAddress, type EmailState, EngineStatus, Environment, ErrorField, type ErrorFieldProps, ErrorsField, type ErrorsFieldProps, type ExternalService, type Field, type FieldValue, type FilterQuery, type FixedInputDefinition, GET_PROCESS_DETAIL_GRAPHQL_QUERY, GET_PROCESS_LIST_GRAPHQL_QUERY, GET_PROCESS_LIST_SUMMARY_GRAPHQL_QUERY, GET_PROCESS_STEPS_GRAPHQL_QUERY, GET_PRODUCTS_BLOCKS_GRAPHQL_QUERY, GET_PRODUCTS_GRAPHQL_QUERY, GET_PRODUCTS_SUMMARY_GRAPHQL_QUERY, GET_RESOURCE_TYPES_GRAPHQL_QUERY, GET_SUBSCRIPTIONS_LIST_GRAPHQL_QUERY, GET_SUBSCRIPTIONS_LIST_SUMMARY_GRAPHQL_QUERY, GET_SUBSCRIPTION_DETAIL_GRAPHQL_QUERY, GET_SUBSCRIPTION_DROPDOWN_OPTIONS_GRAPHQL_QUERY, type GraphQLPageInfo, type GraphQLSort, type GraphqlFilter, type GraphqlQueryVariables, type GroupedStep, HIDDEN_KEYS, type HeaderBadgeProps, type IPvAnyNetworkFieldProps, ImsNodeIdField, type ImsNodeIdFieldProps, type ImsPortFieldProps, ImsPortIdField, type InUseByRelation, IpNetworkField, type KeyValue, LabelField, type LabelFieldProps, ListAddField, type ListAddFieldProps, ListDelField, type ListDelFieldProps, ListField, type ListFieldProps, ListSelectField, type ListSelectFieldProps, Locale, LocationCodeField, type LocationCodeFieldProps, LongTextField, type LongTextFieldProps, METADATA_PRODUCT_BLOCKS_TABLE_LOCAL_STORAGE_KEY, METADATA_PRODUCT_TABLE_LOCAL_STORAGE_KEY, METADATA_RESOURCE_TYPES_TABLE_LOCAL_STORAGE_KEY, METADATA_WORKFLOWS_TABLE_LOCAL_STORAGE_KEY, NestField, type NestFieldProps, type Nullable, NumField, type NumFieldProps, OptGroupField, type OptGroupFieldProps, type OrchestratorConfig, OrchestratorConfigContext, OrchestratorConfigProvider, type OrchestratorConfigProviderProps, OrganisationField, type OrganisationFieldProps, PATH_METADATA, PATH_METADATA_PRODUCTS, PATH_METADATA_PRODUCT_BLOCKS, PATH_METADATA_RESOURCE_TYPES, PATH_METADATA_WORKFLOWS, PATH_SETTINGS, PATH_START, PATH_START_NEW_TASK, PATH_START_NEW_WORKFLOW, PATH_SUBSCRIPTIONS, PATH_TASKS, PATH_WORKFLOWS, type Pagination, type Process, type ProcessDetail, type ProcessDetailResultRaw, ProcessDoneStatuses, type ProcessListItem, type ProcessListResponse, type ProcessListResult, ProcessStatus, type ProcessStatusCounts, type ProcessStepsResult, type ProcessesDetailResult, type ProductBlockDefinition, type ProductBlockDefinitionsResult, type ProductBlockInstance, type ProductDefinition, type ProductDefinitionsResult, ProductField, type ProductFieldProps, ProductLifecycleStatus, RENDER_ALL, RESOURCE_TYPE_FIELD_DESCRIPTION, RESOURCE_TYPE_FIELD_ID, RESOURCE_TYPE_FIELD_PRODUCT_BLOCKS, RESOURCE_TYPE_FIELD_TYPE, RadioField, type RadioFieldProps, type RelatedSubscription, type RelatedSubscriptionsResult, RenderDirection, type ResourceTypeDefinition, type ResourceTypeDefinitionsResult, type RootState, STEP_STATE_HIDDEN_KEYS, SUBSCRIPTIONS_TABLE_LOCAL_STORAGE_KEY, SelectField, type SelectFieldProps, type SessionToken, type ShowConfirmDialog, type ShowConfirmDialogType, SortOrder, type StartProcessStep, type Step, type StepListItem, type StepState, StepStatus, StoreProvider, type StoreProviderProps, type StoredTableConfig, SubmitField, type SubmitFieldProps, type Subscription, type SubscriptionAction, type SubscriptionDetail, type SubscriptionDetailProcess, type SubscriptionDetailResult, SubscriptionDetailTab, type SubscriptionDropdownOption, type SubscriptionDropdownOptionsResult, SubscriptionField, type SubscriptionFieldProps, SubscriptionKeyValueBlock, SubscriptionStatus, SubscriptionSummaryField, type SubscriptionSummaryFieldProps, type SubscriptionsResult, SummaryField, type SummaryFieldProps, type TableColumnKeys, type TableConfig, TableSettingsModal, type TableSettingsModalProps, TextField, type TextFieldProps, type TimelineItem, TimelinePosition, TimestampField, type TimestampFieldProps, type ToastState, ToastTypes, type TranslationMessagesMap, type TreeBlock, TreeContext, type TreeContextType, TreeProvider, type TreeProviderProps, type UserInputForm, UserInputFormWizard, VlanField, type VlanFieldProps, WFO_STATUS_COLOR_FIELD, WfoArrowNarrowDown, WfoArrowNarrowUp, WfoArrowsExpand, WfoAuth, WfoBadge, type WfoBadgeProps, WfoBasicTable, type WfoBasicTableColumns, type WfoBasicTableColumnsWithControlColumns, type WfoBasicTableProps, WfoBell, WfoBreadcrumbs, WfoCheckmarkCircleFill, WfoChevronDown, WfoChevronUp, WfoCode, WfoCogFill, WfoContactEnvelopeFill, type WfoControlColumn, WfoCubeSolid, WfoDataGridTable, type WfoDataGridTableColumns, type WfoDataGridTableProps, type WfoDataSearch, type WfoDataSorting, WfoDateTime, type WfoDateTimeProps, WfoDropdownButton, WfoEngineStatusBadge, WfoEngineStatusButton, WfoEnvironmentBadge, WfoError, WfoErrorBoundary, type WfoEuiBasicTableColumn, WfoEyeFill, WfoFailedTasksBadge, type WfoFilterTab, WfoFilterTabs, type WfoFilterTabsProps, WfoFirstPartUUID, type WfoFirstUUIDPartProps, WfoFlushSettings, WfoHeaderBadge, type WfoIconProps, WfoInformationModal, type WfoInformationModalProps, WfoInsyncIcon, WfoJsonCodeBlock, type WfoJsonCodeBlockProps, WfoKeyCell, type WfoKeyCellProps, WfoKeyValueTable, type WfoKeyValueTableDataType, type WfoKeyValueTableProps, WfoLoading, WfoLogoutIcon, WfoMinusCircleFill, WfoMinusCircleOutline, WfoModifySettings, WfoPageHeader, type WfoPageHeaderProps, WfoPageTemplate, type WfoPageTemplateProps, WfoPencil, WfoPencilAlt, WfoPlayCircle, WfoPlayFill, WfoPlusCircleFill, WfoProcessDetailPage, WfoProcessListSubscriptionsCell, WfoProcessRawData, WfoProcessStatusBadge, type WfoProcessStatusBadgeProps, WfoProcessSubscriptionDelta, WfoProcessesList, type WfoProcessesListProps, type WfoProcessesListSubscriptionsCellProps, WfoProcessesTimeline, WfoProductBlockBadge, type WfoProductBlockBadgeProps, WfoProductBlocksPage, WfoProductStatusBadge, type WfoProductStatusBadgeProps, WfoProductsPage, WfoRefresh, WfoResourceTypesPage, WfoSearchField, type WfoSearchFieldProps, WfoSearchStrikethrough, WfoSettingsModal, type WfoSettingsModalProps, WfoSettingsPage, WfoShare, WfoSideMenu, WfoSidebar, type WfoSidebarProps, WfoSortAsc, WfoSortButton, type WfoSortButtonProps, WfoSortButtons, type WfoSortButtonsProps, WfoSortDesc, WfoSortDirectionIcon, type WfoSortDirectionIconProps, WfoStartPage, WfoStartProcessPage, WfoStartTaskButtonComboBox, WfoStatistic, WfoStatus, WfoStatusColorField, type WfoStatusColorFieldProps, WfoStatusDotIcon, WfoStep, WfoStepList, WfoStepListHeader, type WfoStepListHeaderProps, type WfoStepListProps, type WfoStepListRef, type WfoStepProps, WfoStepStatusIcon, type WfoStepStatusIconProps, WfoSubmitModal, type WfoSubmitModalProps, WfoSubscription, WfoSubscriptionActions, type WfoSubscriptionActionsProps, WfoSubscriptionDetailPage, WfoSubscriptionDetailTree, WfoSubscriptionGeneral, WfoSubscriptionProductBlock, WfoSubscriptionStatusBadge, type WfoSubscriptionStatusBadgeProps, WfoSubscriptionsListPage, type WfoTableColumns, type WfoTableColumnsWithExtraNonDataFields, type WfoTableControlColumnConfig, type WfoTableDataColumnConfig, WfoTableHeaderCell, type WfoTableHeaderCellProps, WfoTableWithFilter, type WfoTableWithFilterProps, WfoTasksListPage, WfoTasksListTabType, WfoTextAnchor, WfoTimeline, type WfoTimelineProps, WfoToastsList, type WfoTreeNodeMap, WfoValueCell, type WfoValueCellProps, WfoViewList, WfoWorkflowStepList, type WfoWorkflowStepListProps, WfoWorkflowTargetBadge, type WfoWorkflowTargetBadgeProps, WfoWorkflowsListPage, WfoWorkflowsPage, WfoXCircleFill, type WorkflowDefinition, type WorkflowDefinitionsResult, type WorkflowListItem, WorkflowTarget, addToastMessage, calculateTimeDifference, camelToHuman, clearTableConfigFromLocalStorage, defaultOrchestratorTheme, defaultTasksListTabs, determineNewSortOrder, determinePageIndex, flattenArrayProps, formatDate, formatDateCetWithUtc, getApiClient, getCurrentBrowserLocale, getDataSortHandler, getDate, getFieldFromProductBlockInstanceValues, getFirstUuidPart, getInitialColumnOrder, getNumberValueFromEnvironmentVariable, getOrchestratorStore, getPageChangeHandler, getProcessListGraphQlQuery, getProcessListSummaryGraphQlQuery, getProductBlockTitle, getProductNamesFromProcess, getProductsQuery, getProductsSummaryQuery, getQueryStringHandler, getQueryVariablesForExport, getSortDirectionFromString, getStatusBadgeColor, getStepContent, getSubscriptionDropdownOptionsGraphQlQuery, getSubscriptionsListGraphQlQuery, getSubscriptionsListSummaryGraphQlQuery, getTableConfigFromLocalStorage, getTasksListTabTypeFromString, getTypedFieldFromObject, getWfoBasicTableStyles, getWorkflowTargetColor, getWorkflowTargetIconContent, isToday, isUuid4, isValidLocalStorageTableConfig, localMomentToUtcTimestamp, mapColumnSortToEuiDataGridSorting, mapSortableAndFilterableValuesToTableColumnConfig, orchestratorApi, parseDate, parseDateOrTimeRelativeToToday, parseDateRelativeToToday, parseDateToLocaleDateString, parseDateToLocaleDateTimeString, parseDateToLocaleTimeString, parseIsoString, processListQuery, removeSuffix, removeToastMessage, setTableConfigToLocalStorage, stop, toastMessagesReducer, toastMessagesSlice, upperCaseFirstChar, useCacheNames, useCheckEngineStatus, useClearCacheMutation, useDataDisplayParams, useFilterQueryWithRest, useGetCustomersQuery, useGetEngineStatusQuery, useGetProcessListQuery, useGetTranslationMessages, useMutateProcess, useOrchestratorConfig, useOrchestratorTheme, useProcessStatusCountsQuery, useQueryWithFetch, useQueryWithGraphql, useQueryWithGraphqlLazy, useRawProcessDetails, useSessionWithToken, useSetEngineStatusMutation, useShowToastMessage, useStoredTableConfig, useSubscriptionActions, useWithOrchestratorTheme, utcTimestampToLocalMoment };