@orchestrator-ui/orchestrator-ui-components 1.22.0 → 1.23.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@1.22.0 build
2
+ > @orchestrator-ui/orchestrator-ui-components@1.23.0 build
3
3
  > tsup src/index.ts --format esm --dts --tsconfig tsconfig.build.json
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -9,6 +9,6 @@
9
9
  ESM Build start
10
10
  DTS Build start
11
11
  ESM dist/index.js 2.14 MB
12
- ESM ⚡️ Build success in 1001ms
13
- DTS ⚡️ Build success in 13674ms
14
- DTS dist/index.d.ts 171.59 KB
12
+ ESM ⚡️ Build success in 709ms
13
+ DTS ⚡️ Build success in 13724ms
14
+ DTS dist/index.d.ts 173.06 KB
@@ -1,4 +1,10 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@1.22.0 lint
2
+ > @orchestrator-ui/orchestrator-ui-components@1.23.0 lint
3
3
  > eslint "src/**/*.ts*"
4
4
 
5
+
6
+ /home/runner/work/orchestrator-ui-library/orchestrator-ui-library/packages/orchestrator-ui-components/src/components/WfoForms/formFields/deprecated/VlanField.tsx
7
+ 168:8 warning React Hook useEffect has a missing dependency: 'disabled'. Either include it or remove the dependency array react-hooks/exhaustive-deps
8
+
9
+ ✖ 1 problem (0 errors, 1 warning)
10
+
@@ -1,31 +1,31 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@1.22.0 test
2
+ > @orchestrator-ui/orchestrator-ui-components@1.23.0 test
3
3
  > jest
4
4
 
5
- PASS Orchestrator UI Components Tests src/components/WfoForms/formFields/utils.spec.ts
6
5
  PASS Orchestrator UI Components Tests src/components/WfoSubscription/utils/utils.spec.ts
7
6
  PASS Orchestrator UI Components Tests src/utils/date.spec.ts
8
- PASS Orchestrator UI Components Tests src/pages/processes/timelineUtils.spec.ts
9
- PASS Orchestrator UI Components Tests src/utils/getProductNamesFromProcess.spec.ts
7
+ PASS Orchestrator UI Components Tests src/components/WfoForms/formFields/utils.spec.ts
10
8
  PASS Orchestrator UI Components Tests src/utils/string.spec.ts
9
+ PASS Orchestrator UI Components Tests src/utils/getProductNamesFromProcess.spec.ts
10
+ PASS Orchestrator UI Components Tests src/pages/processes/timelineUtils.spec.ts
11
+ PASS Orchestrator UI Components Tests src/components/WfoTable/WfoDataGridTable/WfodataGridColumns.spec.ts
11
12
  PASS Orchestrator UI Components Tests src/components/WfoTree/treeUtils.spec.ts
12
13
  PASS Orchestrator UI Components Tests src/components/WfoTable/WfoTableWithFilter/updateQueryString.spec.ts
13
- PASS Orchestrator UI Components Tests src/components/WfoTable/WfoDataGridTable/WfodataGridColumns.spec.ts
14
+ PASS Orchestrator UI Components Tests src/components/WfoTable/utils/tableConfigPersistence.spec.ts
14
15
  PASS Orchestrator UI Components Tests src/components/WfoTable/utils/tableUtils.spec.ts
15
16
  PASS Orchestrator UI Components Tests src/components/WfoTable/utils/mapSortableAndFilterableValuesToTableColumnConfig.spec.ts
16
- PASS Orchestrator UI Components Tests src/components/WfoTable/utils/tableConfigPersistence.spec.ts
17
- PASS Orchestrator UI Components Tests src/messages/getTranslationMessages.spec.ts
18
17
  PASS Orchestrator UI Components Tests src/components/WfoPageTemplate/WfoSidebar/utils/menuItemIsAllowed.spec.ts
19
18
  PASS Orchestrator UI Components Tests src/utils/resultFlattener.spec.ts
19
+ PASS Orchestrator UI Components Tests src/messages/getTranslationMessages.spec.ts
20
+ PASS Orchestrator UI Components Tests src/components/WfoTable/utils/columns.spec.ts
20
21
  PASS Orchestrator UI Components Tests src/utils/getToastMessage.spec.ts
21
22
  PASS Orchestrator UI Components Tests src/utils/optionalArray.spec.ts
22
- PASS Orchestrator UI Components Tests src/components/WfoTable/utils/columns.spec.ts
23
- PASS Orchestrator UI Components Tests src/utils/sortObjectKeys.spec.ts
24
23
  PASS Orchestrator UI Components Tests src/utils/filterData.spec.ts
24
+ PASS Orchestrator UI Components Tests src/utils/sortObjectKeys.spec.ts
25
25
  PASS Orchestrator UI Components Tests src/components/WfoWorkflowSteps/stepListUtils.spec.ts
26
26
  PASS Orchestrator UI Components Tests src/utils/getTokenName.spec.ts
27
- PASS Orchestrator UI Components Tests src/utils/onlyUnique.spec.ts
28
27
  PASS Orchestrator UI Components Tests src/utils/environmentVariables.spec.ts
28
+ PASS Orchestrator UI Components Tests src/utils/onlyUnique.spec.ts
29
29
  PASS Orchestrator UI Components Tests src/utils/uuid.spec.ts
30
30
  PASS Orchestrator UI Components Tests src/utils/getTypedFieldFromObject.spec.ts
31
31
  PASS Orchestrator UI Components Tests src/utils/getQueryVariablesForExport.spec.ts
@@ -34,5 +34,5 @@ PASS Orchestrator UI Components Tests src/components/WfoPageTemplate/WfoPageHead
34
34
  Test Suites: 28 passed, 28 total
35
35
  Tests: 165 passed, 165 total
36
36
  Snapshots: 0 total
37
- Time: 3.813 s
37
+ Time: 3.808 s
38
38
  Ran all test suites.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @orchestrator-ui/orchestrator-ui-components
2
2
 
3
+ ## 1.23.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 33240b6: Fixes websockets with authentication
8
+ - b94c618: Added customer with subscription query used by nms
9
+
10
+ ### Patch Changes
11
+
12
+ - 9f18b7c: 1066 VlanField: Only allows to clear the value when the field is enabled
13
+
3
14
  ## 1.22.0
4
15
 
5
16
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -136,6 +136,30 @@ declare const useGetCustomerQuery: _reduxjs_toolkit_dist_query_react_buildHooks.
136
136
  message: string;
137
137
  stack: string | undefined;
138
138
  }, {}>>, CacheTags, Customer[], "orchestratorApi">>;
139
+ declare const useGetCustomersWithSubscriptionCountQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
140
+ baseQueryType?: BaseQueryTypes | undefined;
141
+ apiName?: string | undefined;
142
+ }) => {
143
+ error: _reduxjs_toolkit_query.FetchBaseQueryError;
144
+ data?: undefined;
145
+ meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
146
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
147
+ error: {
148
+ name: string;
149
+ message: string;
150
+ stack: string | undefined;
151
+ };
152
+ data?: undefined;
153
+ meta?: {} | undefined;
154
+ } | {
155
+ error?: undefined;
156
+ data: unknown;
157
+ meta?: {} | undefined;
158
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, {
159
+ name: string;
160
+ message: string;
161
+ stack: string | undefined;
162
+ }, {}>>, CacheTags, CustomerWithSubscriptionCount[], "orchestratorApi">>;
139
163
 
140
164
  declare const useSetSubscriptionInSyncMutation: _reduxjs_toolkit_dist_query_react_buildHooks.UseMutation<_reduxjs_toolkit_query.MutationDefinition<string, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
141
165
  baseQueryType?: BaseQueryTypes | undefined;
@@ -1436,7 +1460,9 @@ interface Form {
1436
1460
  declare type InputForm = JSONSchema6;
1437
1461
  interface FormNotCompleteResponse {
1438
1462
  form: InputForm;
1439
- hasNext?: boolean;
1463
+ meta?: {
1464
+ hasNext?: boolean;
1465
+ };
1440
1466
  }
1441
1467
  declare type FieldProps$1<Value, Extra = object, InputElementType = HTMLInputElement, ElementType = HTMLDivElement> = HTMLFieldProps<Value, ElementType, {
1442
1468
  inputRef?: Ref<InputElementType>;
@@ -1474,6 +1500,13 @@ declare type Customer = {
1474
1500
  customerId: string;
1475
1501
  shortcode: string;
1476
1502
  };
1503
+ declare type CustomerWithSubscriptionCount = Customer & {
1504
+ subscriptions: {
1505
+ pageInfo: {
1506
+ totalItems: number;
1507
+ };
1508
+ };
1509
+ };
1477
1510
  declare type InUseByRelation = {
1478
1511
  subscription_instance_id: string;
1479
1512
  subscription_id: string;
@@ -1739,6 +1772,9 @@ declare type ProcessDetailResultRaw = {
1739
1772
  interface CustomersResult {
1740
1773
  customers: GraphQlSinglePage<Customer>;
1741
1774
  }
1775
+ interface CustomersWithSubscriptionCountResult {
1776
+ customers: GraphQlSinglePage<CustomerWithSubscriptionCount>;
1777
+ }
1742
1778
  interface TaskDefinitionsResult<T = TaskDefinition> {
1743
1779
  workflows: GraphQlResultPage<T>;
1744
1780
  }
@@ -2909,8 +2945,6 @@ declare const WfoMyWorkflowsSummaryCard: FC<WfoMyWorkflowsSummaryCardProps>;
2909
2945
 
2910
2946
  declare const WfoProductsSummaryCard: () => _emotion_react_jsx_runtime.JSX.Element;
2911
2947
 
2912
- declare const WfoRouteChangeListener: () => _emotion_react_jsx_runtime.JSX.Element;
2913
-
2914
2948
  declare const MAXIMUM_ITEMS_FOR_BULK_FETCHING = 1000;
2915
2949
  declare const NUMBER_OF_ITEMS_REPRESENTING_ALL_ITEMS = 1000000;
2916
2950
  declare const PROCESSES_ENDPOINT = "processes";
@@ -2936,6 +2970,7 @@ declare const useGetTranslationMessages: (locale: string | undefined) => {
2936
2970
  cancel: string;
2937
2971
  submit: string;
2938
2972
  previous: string;
2973
+ next: string;
2939
2974
  previousQuestion: string;
2940
2975
  startTask: string;
2941
2976
  startWorkflow: string;
@@ -3000,6 +3035,7 @@ declare const useGetTranslationMessages: (locale: string | undefined) => {
3000
3035
  cancel: string;
3001
3036
  submit: string;
3002
3037
  previous: string;
3038
+ next: string;
3003
3039
  startTask: string;
3004
3040
  previousQuestion: string;
3005
3041
  startWorkflow: string;
@@ -3410,6 +3446,7 @@ declare const useGetTranslationMessages: (locale: string | undefined) => {
3410
3446
  cancel: string;
3411
3447
  submit: string;
3412
3448
  previous: string;
3449
+ next: string;
3413
3450
  previousQuestion: string;
3414
3451
  startTask: string;
3415
3452
  startWorkflow: string;
@@ -3474,6 +3511,7 @@ declare const useGetTranslationMessages: (locale: string | undefined) => {
3474
3511
  cancel: string;
3475
3512
  submit: string;
3476
3513
  previous: string;
3514
+ next: string;
3477
3515
  startTask: string;
3478
3516
  previousQuestion: string;
3479
3517
  startWorkflow: string;
@@ -4045,4 +4083,4 @@ declare const optionalArrayMapper: <T, U>(data: T[] | undefined, mapper: (input:
4045
4083
 
4046
4084
  declare const filterDataByCriteria: <Type>(data: Type[], filterCriteria: GraphqlFilter<Type>[]) => Type[];
4047
4085
 
4048
- export { ACTIVE_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY, ACTIVE_TASKS_LIST_TABLE_LOCAL_STORAGE_KEY, AcceptField, type AcceptFieldProps, type AppDispatch, type AutoFieldsProps, BadgeType, type BaseGraphQlResult, BaseQueryTypes, BoolField, type BoolFieldProps, COMPLETED_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY, COMPLETED_TASKS_LIST_TABLE_LOCAL_STORAGE_KEY, type CacheNames, type CacheOption, CacheTags, ColorModes, type ColumnConfig, type ConfirmDialogActions, ConfirmationDialogContext, ConfirmationDialogContextWrapper, ConfirmationDialogProvider, ConnectedSelectField, ContactPersonAutocomplete, ContactPersonNameField, type ContactPersonNameFieldProps, CreateForm, type CustomApiConfig, type Customer, type CustomerDescriptions, CustomerField, type CustomerFieldProps, 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 FetchFilter, type FieldProps$1 as FieldProps, type FieldValue, type FilterQuery, type FixedInputDefinition, type Form, type FormNotCompleteResponse, type FormValidationError, type GraphQLPageInfo, type GraphQLSort, type GraphQlResultPage, type GraphQlSinglePage, type GraphqlFilter, type GraphqlQueryVariables, type GroupedStep, HIDDEN_KEYS, type HeaderBadgeProps, HttpStatus, IPAM_ENDPOINT, IPAM_FREE_SUBNETS_ENDPOINT, IPAM_IP_BLOCKS_ENDPOINT, IPAM_PREFIX_FILTERS_ENDPOINT, type IPvAnyNetworkFieldProps, type ImsNode, ImsNodeIdField, type ImsNodeIdFieldProps, type ImsPort, type ImsPortFieldProps, ImsPortIdField, type InUseByRelation, type InUseByRelationDetail, type InUseByRelationsDetailResponse, type InUseByRelationsDetailResult, type InitialOrchestratorStoreConfig, type InputForm, type IpBlock, IpNetworkField, type IpPrefix, LabelField, type LabelFieldProps, ListAddField, type ListAddFieldProps, ListDelField, type ListDelFieldProps, ListField, type ListFieldProps, ListSelectField, type ListSelectFieldProps, Locale, LocationCodeField, type LocationCodeFieldProps, LongTextField, type LongTextFieldProps, MAXIMUM_ITEMS_FOR_BULK_FETCHING, METADATA_PRODUCT_BLOCKS_TABLE_LOCAL_STORAGE_KEY, METADATA_PRODUCT_TABLE_LOCAL_STORAGE_KEY, METADATA_RESOURCE_TYPES_TABLE_LOCAL_STORAGE_KEY, METADATA_TASKS_TABLE_LOCAL_STORAGE_KEY, METADATA_WORKFLOWS_TABLE_LOCAL_STORAGE_KEY, type MetaDataTab, NUMBER_OF_ITEMS_REPRESENTING_ALL_ITEMS, NestField, type NestFieldProps, type NodeSubscriptionOption, type NodeSubscriptionOptionsResult, type Nullable, NumField, type NumFieldProps, OptGroupField, type OptGroupFieldProps, type OrchestratorComponentOverride, type OrchestratorConfig, OrchestratorConfigContext, OrchestratorConfigProvider, type OrchestratorConfigProviderProps, PATH_METADATA, PATH_METADATA_PRODUCTS, PATH_METADATA_PRODUCT_BLOCKS, PATH_METADATA_RESOURCE_TYPES, PATH_METADATA_TASKS, PATH_METADATA_WORKFLOWS, PATH_SETTINGS, PATH_START, PATH_START_NEW_TASK, PATH_START_NEW_WORKFLOW, PATH_SUBSCRIPTIONS, PATH_TASKS, PATH_WORKFLOWS, PROCESSES_ENDPOINT, PROCESSES_RESUME_ALL_ENDPOINT, PROCESS_ABORT_ENDPOINT, PROCESS_RESUME_ENDPOINT, PROCESS_STATUS_COUNTS_ENDPOINT, type Pagination, type Policy, PolicyContext, PolicyContextProvider, type PolicyProviderProps, PolicyResource, PortMode, type Process, type ProcessDetail, type ProcessDetailResultRaw, ProcessDoneStatuses, type ProcessListExportItem, type ProcessListItem, type ProcessListResponse, type ProcessListResult, type ProcessListSummaryResponse, ProcessStatus, type ProcessStepsResult, type ProcessSummary, type ProcessesDetailResult, type ProductBlockDefinition, type ProductBlockDefinitionsResult, type ProductBlockInstance, type ProductBlocksResponse, type ProductDefinition, type ProductDefinitionsResult, ProductLifecycleStatus, ProductTag, type ProductsResponse, type ProductsSummary, type ProductsSummaryResponse, RENDER_ALL, RESOURCE_TYPE_FIELD_DESCRIPTION, RESOURCE_TYPE_FIELD_ID, RESOURCE_TYPE_FIELD_PRODUCT_BLOCKS, RESOURCE_TYPE_FIELD_TYPE, RadioField, type RadioFieldProps, type RelatedSubscription, RelatedSubscriptionsQuery, type RelatedSubscriptionsResponse, type RelatedSubscriptionsResult, RenderDirection, type ResourceTypeDefinition, type ResourceTypeDefinitionsResult, type ResourceTypesResponse, type RootState, SETTINGS_CACHE_ENDPOINT, SETTINGS_CACHE_NAMES_ENDPOINT, SETTINGS_ENDPOINT, SETTINGS_SEARCH_INDEX_RESET_ENDPOINT, SETTINGS_STATUS_ENDPOINT, STEP_STATE_HIDDEN_KEYS, SUBSCRIPTIONS_TABLE_LOCAL_STORAGE_KEY, SUBSCRIPTION_ACTIONS_ENDPOINT, type SelectFieldProps, type ServicePort, type ShowConfirmDialog, type ShowConfirmDialogType, type SortOption, SortOrder, type StartComboBoxOption, type StartOptionsResponse, type StartOptionsResult, type StartProcessStep, type Step, type StepListItem, type StepState, StepStatus, StoreProvider, type StoreProviderProps, type StoredTableConfig, SubmitField, type SubmitFieldProps, type Subscription, type SubscriptionAction, type SubscriptionActions, type SubscriptionDetail, type SubscriptionDetailProcess, type SubscriptionDetailResponse, type SubscriptionDetailResult, SubscriptionDetailTab, type SubscriptionDropdownOption, type SubscriptionDropdownOptionsResponse, type SubscriptionDropdownOptionsResult, SubscriptionField, type SubscriptionFieldProps, SubscriptionKeyValueBlock, type SubscriptionListItem, type SubscriptionListResponse, type SubscriptionListSummaryResponse, SubscriptionStatus, type SubscriptionSummary, SubscriptionSummaryField, type SubscriptionSummaryFieldProps, type SubscriptionsResult, type SummaryCardButtonConfig, type SummaryCardListItem, SummaryCardStatus, SummaryField, type SummaryFieldProps, type TableColumnKeys, type TableConfig, TableSettingsModal, type TableSettingsModalProps, type TaskDefinition, type TaskDefinitionsResult, type TaskListItem, type TasksResponse, TextField, type TextFieldProps, type TimelineItem, TimelinePosition, TimestampField, type TimestampFieldProps, type ToastState, ToastTypes, type TreeBlock, TreeContext, type TreeContextType, TreeProvider, type TreeProviderProps, UnconnectedSelectField, type UserInputForm, UserInputFormWizard, type ValidationError, type ValidationErrorContext, type ValueOverrideConfiguration, type ValueOverrideFunction, VlanField, type VlanFieldProps, type VlanRange, WFO_STATUS_COLOR_FIELD, WfoActiveWorkflowsSummaryCard, WfoArrowNarrowDown, WfoArrowNarrowUp, WfoArrowsExpand, WfoAuth, WfoBadge, type WfoBadgeProps, WfoBasicTable, type WfoBasicTableColumns, type WfoBasicTableColumnsWithControlColumns, type WfoBasicTableProps, WfoBell, WfoBoltFill, WfoBoltSlashFill, 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, WfoExpandableField, type WfoExpandableFieldProps, WfoExternalLink, WfoEyeFill, WfoFailedTasksBadge, WfoFailedTasksSummaryCard, type WfoFilterTab, WfoFilterTabs, type WfoFilterTabsProps, WfoFirstPartUUID, type WfoFirstUUIDPartProps, WfoFlushSettings, WfoHeaderBadge, type WfoIconProps, WfoInSyncField, WfoInformationModal, type WfoInformationModalProps, WfoInlineJson, type WfoInlineJsonProps, WfoInsyncIcon, WfoIsAllowedToRender, type WfoIsAllowedToRenderProps, WfoJsonCodeBlock, type WfoJsonCodeBlockProps, WfoKeyCell, type WfoKeyCellProps, WfoKeyValueTable, type WfoKeyValueTableDataType, type WfoKeyValueTableProps, WfoLatestActiveSubscriptionsSummaryCard, WfoLatestOutOfSyncSubscriptionSummaryCard, WfoLoading, WfoLogoutIcon, WfoMenuItemLink, WfoMetadataPageLayout, WfoMinusCircleFill, WfoMinusCircleOutline, WfoModifySettings, WfoMyWorkflowsSummaryCard, type WfoMyWorkflowsSummaryCardProps, WfoNoResults, WfoPageHeader, type WfoPageHeaderProps, WfoPageTemplate, type WfoPageTemplateProps, WfoPageUnauthorized, WfoPencil, WfoPencilAlt, WfoPlayCircle, WfoPlayFill, WfoPlusCircleFill, type WfoPolicyRenderFallbackProps, WfoPolicyRenderPageFallback, WfoProcessDetailPage, WfoProcessListSubscriptionsCell, WfoProcessRawData, WfoProcessStatusBadge, type WfoProcessStatusBadgeProps, WfoProcessSubscriptionDelta, WfoProcessesList, type WfoProcessesListProps, type WfoProcessesListSubscriptionsCellProps, WfoProcessesTimeline, WfoProductBlockBadge, type WfoProductBlockBadgeProps, WfoProductBlockKeyValueRow, type WfoProductBlockKeyValueRowProps, WfoProductBlocksPage, WfoProductInformationWithLink, WfoProductStatusBadge, type WfoProductStatusBadgeProps, WfoProductsPage, WfoProductsSummaryCard, WfoRefresh, WfoRelatedSubscriptions, WfoResetTextSearchIndexButton, WfoResourceTypesPage, WfoRouteChangeListener, WfoSearchField, type WfoSearchFieldProps, WfoSearchStrikethrough, type WfoSession, WfoSettingsModal, type WfoSettingsModalProps, WfoSettingsPage, WfoShare, WfoSideMenu, WfoSidebar, type WfoSidebarProps, WfoSortAsc, WfoSortButton, type WfoSortButtonProps, WfoSortButtons, type WfoSortButtonsProps, WfoSortDesc, WfoSortDirectionIcon, type WfoSortDirectionIconProps, WfoStartPage, WfoStartProcessPage, WfoStartTaskButtonComboBox, WfoStartWorkflowButtonComboBox, 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, type WfoSubscriptionDetailGeneralConfiguration, WfoSubscriptionDetailPage, WfoSubscriptionDetailTree, WfoSubscriptionGeneral, WfoSubscriptionListTab, WfoSubscriptionProductBlock, WfoSubscriptionStatusBadge, type WfoSubscriptionStatusBadgeProps, WfoSubscriptionsList, WfoSubscriptionsListPage, type WfoSubscriptionsListProps, WfoSummaryCard, WfoSummaryCardHeader, type WfoSummaryCardHeaderProps, WfoSummaryCardList, WfoSummaryCardListItem, type WfoSummaryCardListItemProps, type WfoSummaryCardListProps, type WfoSummaryCardProps, WfoSummaryCards, type WfoSummaryCardsProps, type WfoTableColumns, type WfoTableColumnsWithExtraNonDataFields, type WfoTableControlColumnConfig, type WfoTableDataColumnConfig, WfoTableHeaderCell, type WfoTableHeaderCellProps, WfoTableWithFilter, type WfoTableWithFilterProps, WfoTasksListPage, WfoTasksListTabType, WfoTasksPage, WfoTextAnchor, type WfoTheme, WfoTimeline, type WfoTimelineProps, WfoToastsList, WfoTrash, type WfoTreeNodeMap, WfoUserInputForm, type WfoUserProfile, WfoValueCell, type WfoValueCellProps, WfoViewList, WfoWarningTriangle, WfoWorkflowStepList, type WfoWorkflowStepListProps, WfoWorkflowTargetBadge, type WfoWorkflowTargetBadgeProps, WfoWorkflowsListPage, WfoWorkflowsListTabType, WfoWorkflowsPage, WfoXCircleFill, type WorkflowDefinition, type WorkflowDefinitionsResult, type WorkflowListItem, WorkflowTarget, type WorkflowsResponse, addToastMessage, calculateTimeDifference, camelToHuman, clearTableConfigFromLocalStorage, csvDownloadHandler, defaultOrchestratorTheme, defaultTasksListTabs, defaultWorkflowsListTabs, determineNewSortOrder, determinePageIndex, filterDataByCriteria, flattenArrayProps, formatDate, formatDateCetWithUtc, getConcatenatedPagedResult, getConcatenatedResult, getCsvFileNameWithDate, getCurrentBrowserLocale, getCustomApiSlice, getDataSortHandler, getDate, getFieldFromProductBlockInstanceValues, getFirstUuidPart, getFormFieldsBaseStyle, getInitialColumnOrder, getLastUncompletedProcess, getLatestTaskDate, getNumberOfColumns, getNumberValueFromEnvironmentVariable, getOrchestratorComponentOverrideSlice, getOrchestratorConfigSlice, getOrchestratorStore, getPageChangeHandler, getProductBlockTitle, getProductNamesFromProcess, getQueryStringHandler, getQueryVariablesForExport, getSortDirectionFromString, getStatusBadgeColor, getStepContent, getStyles, getTableConfigFromLocalStorage, getTasksListTabTypeFromString, getTypedFieldFromObject, getWfoBasicTableStyles, getWorkflowTargetColor, getWorkflowTargetIconContent, getWorkflowsListTabTypeFromString, graphQlWorkflowListMapper, handlePromiseErrorWithCallback, imsPortIdFieldStyling, initiateCsvFileDownload, ipPrefixTableFieldStyling, ipamStates, isToday, isUuid4, isValidLocalStorageTableConfig, localMomentToUtcTimestamp, mapColumnSortToEuiDataGridSorting, mapGraphQlSubscriptionsResultToPageInfo, mapGraphQlSubscriptionsResultToSubscriptionListItems, mapProcessSummaryToSummaryCardListItem, mapSortableAndFilterableValuesToTableColumnConfig, mapSubscriptionSummaryToSummaryCardListItem, mapWorkflowDefinitionToWorkflowListItem, menuItemIsAllowed, metaDataTabs, onlyUnique, optionalArrayMapper, orchestratorApi, parseDate, parseDateOrTimeRelativeToToday, parseDateRelativeToToday, parseDateToLocaleDateString, parseDateToLocaleDateTimeString, parseDateToLocaleTimeString, parseIsoString, prepareHeaders, processListQuery, processListSummaryQuery, processStepsQuery, productBlocksQuery, products, productsSummary, removeSuffix, removeToastMessage, resourceTypesQuery, selectOrchestratorConfig, setTableConfigToLocalStorage, snakeToHuman, snakeToKebab, splitPrefixStyling, stop, subscriptionDetailQuery, subscriptionInUseByRelationQuery, subscriptionListQuery, subscriptionListSummaryQuery, subscriptionListTabs, subscriptionsDropdownOptionsQuery, tasksQuery, toOptionalArrayEntry, toastMessagesReducer, toastMessagesSlice, upperCaseFirstChar, urlPolicyMap, useCheckEngineStatus, useClearCacheMutation, useDataDisplayParams, useGetCacheNamesQuery, useGetCustomerQuery, useGetCustomersQuery, useGetEngineStatusQuery, useGetInUseByRelationDetailsQuery, useGetOrchestratorConfig, useGetProcessListQuery, useGetProcessListSummaryQuery, useGetProductBlocksQuery, useGetProductsQuery, useGetProductsSummaryQuery, useGetRelatedSubscriptionsQuery, useGetResourceTypesQuery, useGetSubscriptionDetailQuery, useGetSubscriptionListQuery, useGetSubscriptionSummaryListQuery, useGetSubscriptionsDropdownOptionsQuery, useGetTaskOptionsQuery, useGetTasksQuery, useGetTimeLineItemsQuery, useGetTranslationMessages, useGetWorkflowOptionsQuery, useGetWorkflowsQuery, useLazyGetProcessListQuery, useLazyGetProductBlocksQuery, useLazyGetProductsQuery, useLazyGetResourceTypesQuery, useLazyGetSubscriptionListQuery, useLazyGetTasksQuery, useLazyGetWorkflowsQuery, useOrchestratorConfig, useOrchestratorTheme, usePolicy, useResetTextSearchIndexMutation, useSetEngineStatusMutation, useSetSubscriptionInSyncMutation, useShowToastMessage, useStoredTableConfig, useStreamMessagesQuery, useSubscriptionDetailValueOverride, useWfoSession, useWithOrchestratorTheme, utcTimestampToLocalMoment, workflowFieldMapper, workflowsQuery };
4086
+ export { ACTIVE_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY, ACTIVE_TASKS_LIST_TABLE_LOCAL_STORAGE_KEY, AcceptField, type AcceptFieldProps, type AppDispatch, type AutoFieldsProps, BadgeType, type BaseGraphQlResult, BaseQueryTypes, BoolField, type BoolFieldProps, COMPLETED_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY, COMPLETED_TASKS_LIST_TABLE_LOCAL_STORAGE_KEY, type CacheNames, type CacheOption, CacheTags, ColorModes, type ColumnConfig, type ConfirmDialogActions, ConfirmationDialogContext, ConfirmationDialogContextWrapper, ConfirmationDialogProvider, ConnectedSelectField, ContactPersonAutocomplete, ContactPersonNameField, type ContactPersonNameFieldProps, CreateForm, type CustomApiConfig, type Customer, type CustomerDescriptions, CustomerField, type CustomerFieldProps, type CustomerWithSubscriptionCount, type CustomersResult, type CustomersWithSubscriptionCountResult, 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 FetchFilter, type FieldProps$1 as FieldProps, type FieldValue, type FilterQuery, type FixedInputDefinition, type Form, type FormNotCompleteResponse, type FormValidationError, type GraphQLPageInfo, type GraphQLSort, type GraphQlResultPage, type GraphQlSinglePage, type GraphqlFilter, type GraphqlQueryVariables, type GroupedStep, HIDDEN_KEYS, type HeaderBadgeProps, HttpStatus, IPAM_ENDPOINT, IPAM_FREE_SUBNETS_ENDPOINT, IPAM_IP_BLOCKS_ENDPOINT, IPAM_PREFIX_FILTERS_ENDPOINT, type IPvAnyNetworkFieldProps, type ImsNode, ImsNodeIdField, type ImsNodeIdFieldProps, type ImsPort, type ImsPortFieldProps, ImsPortIdField, type InUseByRelation, type InUseByRelationDetail, type InUseByRelationsDetailResponse, type InUseByRelationsDetailResult, type InitialOrchestratorStoreConfig, type InputForm, type IpBlock, IpNetworkField, type IpPrefix, LabelField, type LabelFieldProps, ListAddField, type ListAddFieldProps, ListDelField, type ListDelFieldProps, ListField, type ListFieldProps, ListSelectField, type ListSelectFieldProps, Locale, LocationCodeField, type LocationCodeFieldProps, LongTextField, type LongTextFieldProps, MAXIMUM_ITEMS_FOR_BULK_FETCHING, METADATA_PRODUCT_BLOCKS_TABLE_LOCAL_STORAGE_KEY, METADATA_PRODUCT_TABLE_LOCAL_STORAGE_KEY, METADATA_RESOURCE_TYPES_TABLE_LOCAL_STORAGE_KEY, METADATA_TASKS_TABLE_LOCAL_STORAGE_KEY, METADATA_WORKFLOWS_TABLE_LOCAL_STORAGE_KEY, type MetaDataTab, NUMBER_OF_ITEMS_REPRESENTING_ALL_ITEMS, NestField, type NestFieldProps, type NodeSubscriptionOption, type NodeSubscriptionOptionsResult, type Nullable, NumField, type NumFieldProps, OptGroupField, type OptGroupFieldProps, type OrchestratorComponentOverride, type OrchestratorConfig, OrchestratorConfigContext, OrchestratorConfigProvider, type OrchestratorConfigProviderProps, PATH_METADATA, PATH_METADATA_PRODUCTS, PATH_METADATA_PRODUCT_BLOCKS, PATH_METADATA_RESOURCE_TYPES, PATH_METADATA_TASKS, PATH_METADATA_WORKFLOWS, PATH_SETTINGS, PATH_START, PATH_START_NEW_TASK, PATH_START_NEW_WORKFLOW, PATH_SUBSCRIPTIONS, PATH_TASKS, PATH_WORKFLOWS, PROCESSES_ENDPOINT, PROCESSES_RESUME_ALL_ENDPOINT, PROCESS_ABORT_ENDPOINT, PROCESS_RESUME_ENDPOINT, PROCESS_STATUS_COUNTS_ENDPOINT, type Pagination, type Policy, PolicyContext, PolicyContextProvider, type PolicyProviderProps, PolicyResource, PortMode, type Process, type ProcessDetail, type ProcessDetailResultRaw, ProcessDoneStatuses, type ProcessListExportItem, type ProcessListItem, type ProcessListResponse, type ProcessListResult, type ProcessListSummaryResponse, ProcessStatus, type ProcessStepsResult, type ProcessSummary, type ProcessesDetailResult, type ProductBlockDefinition, type ProductBlockDefinitionsResult, type ProductBlockInstance, type ProductBlocksResponse, type ProductDefinition, type ProductDefinitionsResult, ProductLifecycleStatus, ProductTag, type ProductsResponse, type ProductsSummary, type ProductsSummaryResponse, RENDER_ALL, RESOURCE_TYPE_FIELD_DESCRIPTION, RESOURCE_TYPE_FIELD_ID, RESOURCE_TYPE_FIELD_PRODUCT_BLOCKS, RESOURCE_TYPE_FIELD_TYPE, RadioField, type RadioFieldProps, type RelatedSubscription, RelatedSubscriptionsQuery, type RelatedSubscriptionsResponse, type RelatedSubscriptionsResult, RenderDirection, type ResourceTypeDefinition, type ResourceTypeDefinitionsResult, type ResourceTypesResponse, type RootState, SETTINGS_CACHE_ENDPOINT, SETTINGS_CACHE_NAMES_ENDPOINT, SETTINGS_ENDPOINT, SETTINGS_SEARCH_INDEX_RESET_ENDPOINT, SETTINGS_STATUS_ENDPOINT, STEP_STATE_HIDDEN_KEYS, SUBSCRIPTIONS_TABLE_LOCAL_STORAGE_KEY, SUBSCRIPTION_ACTIONS_ENDPOINT, type SelectFieldProps, type ServicePort, type ShowConfirmDialog, type ShowConfirmDialogType, type SortOption, SortOrder, type StartComboBoxOption, type StartOptionsResponse, type StartOptionsResult, type StartProcessStep, type Step, type StepListItem, type StepState, StepStatus, StoreProvider, type StoreProviderProps, type StoredTableConfig, SubmitField, type SubmitFieldProps, type Subscription, type SubscriptionAction, type SubscriptionActions, type SubscriptionDetail, type SubscriptionDetailProcess, type SubscriptionDetailResponse, type SubscriptionDetailResult, SubscriptionDetailTab, type SubscriptionDropdownOption, type SubscriptionDropdownOptionsResponse, type SubscriptionDropdownOptionsResult, SubscriptionField, type SubscriptionFieldProps, SubscriptionKeyValueBlock, type SubscriptionListItem, type SubscriptionListResponse, type SubscriptionListSummaryResponse, SubscriptionStatus, type SubscriptionSummary, SubscriptionSummaryField, type SubscriptionSummaryFieldProps, type SubscriptionsResult, type SummaryCardButtonConfig, type SummaryCardListItem, SummaryCardStatus, SummaryField, type SummaryFieldProps, type TableColumnKeys, type TableConfig, TableSettingsModal, type TableSettingsModalProps, type TaskDefinition, type TaskDefinitionsResult, type TaskListItem, type TasksResponse, TextField, type TextFieldProps, type TimelineItem, TimelinePosition, TimestampField, type TimestampFieldProps, type ToastState, ToastTypes, type TreeBlock, TreeContext, type TreeContextType, TreeProvider, type TreeProviderProps, UnconnectedSelectField, type UserInputForm, UserInputFormWizard, type ValidationError, type ValidationErrorContext, type ValueOverrideConfiguration, type ValueOverrideFunction, VlanField, type VlanFieldProps, type VlanRange, WFO_STATUS_COLOR_FIELD, WfoActiveWorkflowsSummaryCard, WfoArrowNarrowDown, WfoArrowNarrowUp, WfoArrowsExpand, WfoAuth, WfoBadge, type WfoBadgeProps, WfoBasicTable, type WfoBasicTableColumns, type WfoBasicTableColumnsWithControlColumns, type WfoBasicTableProps, WfoBell, WfoBoltFill, WfoBoltSlashFill, 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, WfoExpandableField, type WfoExpandableFieldProps, WfoExternalLink, WfoEyeFill, WfoFailedTasksBadge, WfoFailedTasksSummaryCard, type WfoFilterTab, WfoFilterTabs, type WfoFilterTabsProps, WfoFirstPartUUID, type WfoFirstUUIDPartProps, WfoFlushSettings, WfoHeaderBadge, type WfoIconProps, WfoInSyncField, WfoInformationModal, type WfoInformationModalProps, WfoInlineJson, type WfoInlineJsonProps, WfoInsyncIcon, WfoIsAllowedToRender, type WfoIsAllowedToRenderProps, WfoJsonCodeBlock, type WfoJsonCodeBlockProps, WfoKeyCell, type WfoKeyCellProps, WfoKeyValueTable, type WfoKeyValueTableDataType, type WfoKeyValueTableProps, WfoLatestActiveSubscriptionsSummaryCard, WfoLatestOutOfSyncSubscriptionSummaryCard, WfoLoading, WfoLogoutIcon, WfoMenuItemLink, WfoMetadataPageLayout, WfoMinusCircleFill, WfoMinusCircleOutline, WfoModifySettings, WfoMyWorkflowsSummaryCard, type WfoMyWorkflowsSummaryCardProps, WfoNoResults, WfoPageHeader, type WfoPageHeaderProps, WfoPageTemplate, type WfoPageTemplateProps, WfoPageUnauthorized, WfoPencil, WfoPencilAlt, WfoPlayCircle, WfoPlayFill, WfoPlusCircleFill, type WfoPolicyRenderFallbackProps, WfoPolicyRenderPageFallback, WfoProcessDetailPage, WfoProcessListSubscriptionsCell, WfoProcessRawData, WfoProcessStatusBadge, type WfoProcessStatusBadgeProps, WfoProcessSubscriptionDelta, WfoProcessesList, type WfoProcessesListProps, type WfoProcessesListSubscriptionsCellProps, WfoProcessesTimeline, WfoProductBlockBadge, type WfoProductBlockBadgeProps, WfoProductBlockKeyValueRow, type WfoProductBlockKeyValueRowProps, WfoProductBlocksPage, WfoProductInformationWithLink, WfoProductStatusBadge, type WfoProductStatusBadgeProps, WfoProductsPage, WfoProductsSummaryCard, WfoRefresh, WfoRelatedSubscriptions, WfoResetTextSearchIndexButton, WfoResourceTypesPage, WfoSearchField, type WfoSearchFieldProps, WfoSearchStrikethrough, type WfoSession, WfoSettingsModal, type WfoSettingsModalProps, WfoSettingsPage, WfoShare, WfoSideMenu, WfoSidebar, type WfoSidebarProps, WfoSortAsc, WfoSortButton, type WfoSortButtonProps, WfoSortButtons, type WfoSortButtonsProps, WfoSortDesc, WfoSortDirectionIcon, type WfoSortDirectionIconProps, WfoStartPage, WfoStartProcessPage, WfoStartTaskButtonComboBox, WfoStartWorkflowButtonComboBox, 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, type WfoSubscriptionDetailGeneralConfiguration, WfoSubscriptionDetailPage, WfoSubscriptionDetailTree, WfoSubscriptionGeneral, WfoSubscriptionListTab, WfoSubscriptionProductBlock, WfoSubscriptionStatusBadge, type WfoSubscriptionStatusBadgeProps, WfoSubscriptionsList, WfoSubscriptionsListPage, type WfoSubscriptionsListProps, WfoSummaryCard, WfoSummaryCardHeader, type WfoSummaryCardHeaderProps, WfoSummaryCardList, WfoSummaryCardListItem, type WfoSummaryCardListItemProps, type WfoSummaryCardListProps, type WfoSummaryCardProps, WfoSummaryCards, type WfoSummaryCardsProps, type WfoTableColumns, type WfoTableColumnsWithExtraNonDataFields, type WfoTableControlColumnConfig, type WfoTableDataColumnConfig, WfoTableHeaderCell, type WfoTableHeaderCellProps, WfoTableWithFilter, type WfoTableWithFilterProps, WfoTasksListPage, WfoTasksListTabType, WfoTasksPage, WfoTextAnchor, type WfoTheme, WfoTimeline, type WfoTimelineProps, WfoToastsList, WfoTrash, type WfoTreeNodeMap, WfoUserInputForm, type WfoUserProfile, WfoValueCell, type WfoValueCellProps, WfoViewList, WfoWarningTriangle, WfoWorkflowStepList, type WfoWorkflowStepListProps, WfoWorkflowTargetBadge, type WfoWorkflowTargetBadgeProps, WfoWorkflowsListPage, WfoWorkflowsListTabType, WfoWorkflowsPage, WfoXCircleFill, type WorkflowDefinition, type WorkflowDefinitionsResult, type WorkflowListItem, WorkflowTarget, type WorkflowsResponse, addToastMessage, calculateTimeDifference, camelToHuman, clearTableConfigFromLocalStorage, csvDownloadHandler, defaultOrchestratorTheme, defaultTasksListTabs, defaultWorkflowsListTabs, determineNewSortOrder, determinePageIndex, filterDataByCriteria, flattenArrayProps, formatDate, formatDateCetWithUtc, getConcatenatedPagedResult, getConcatenatedResult, getCsvFileNameWithDate, getCurrentBrowserLocale, getCustomApiSlice, getDataSortHandler, getDate, getFieldFromProductBlockInstanceValues, getFirstUuidPart, getFormFieldsBaseStyle, getInitialColumnOrder, getLastUncompletedProcess, getLatestTaskDate, getNumberOfColumns, getNumberValueFromEnvironmentVariable, getOrchestratorComponentOverrideSlice, getOrchestratorConfigSlice, getOrchestratorStore, getPageChangeHandler, getProductBlockTitle, getProductNamesFromProcess, getQueryStringHandler, getQueryVariablesForExport, getSortDirectionFromString, getStatusBadgeColor, getStepContent, getStyles, getTableConfigFromLocalStorage, getTasksListTabTypeFromString, getTypedFieldFromObject, getWfoBasicTableStyles, getWorkflowTargetColor, getWorkflowTargetIconContent, getWorkflowsListTabTypeFromString, graphQlWorkflowListMapper, handlePromiseErrorWithCallback, imsPortIdFieldStyling, initiateCsvFileDownload, ipPrefixTableFieldStyling, ipamStates, isToday, isUuid4, isValidLocalStorageTableConfig, localMomentToUtcTimestamp, mapColumnSortToEuiDataGridSorting, mapGraphQlSubscriptionsResultToPageInfo, mapGraphQlSubscriptionsResultToSubscriptionListItems, mapProcessSummaryToSummaryCardListItem, mapSortableAndFilterableValuesToTableColumnConfig, mapSubscriptionSummaryToSummaryCardListItem, mapWorkflowDefinitionToWorkflowListItem, menuItemIsAllowed, metaDataTabs, onlyUnique, optionalArrayMapper, orchestratorApi, parseDate, parseDateOrTimeRelativeToToday, parseDateRelativeToToday, parseDateToLocaleDateString, parseDateToLocaleDateTimeString, parseDateToLocaleTimeString, parseIsoString, prepareHeaders, processListQuery, processListSummaryQuery, processStepsQuery, productBlocksQuery, products, productsSummary, removeSuffix, removeToastMessage, resourceTypesQuery, selectOrchestratorConfig, setTableConfigToLocalStorage, snakeToHuman, snakeToKebab, splitPrefixStyling, stop, subscriptionDetailQuery, subscriptionInUseByRelationQuery, subscriptionListQuery, subscriptionListSummaryQuery, subscriptionListTabs, subscriptionsDropdownOptionsQuery, tasksQuery, toOptionalArrayEntry, toastMessagesReducer, toastMessagesSlice, upperCaseFirstChar, urlPolicyMap, useCheckEngineStatus, useClearCacheMutation, useDataDisplayParams, useGetCacheNamesQuery, useGetCustomerQuery, useGetCustomersQuery, useGetCustomersWithSubscriptionCountQuery, useGetEngineStatusQuery, useGetInUseByRelationDetailsQuery, useGetOrchestratorConfig, useGetProcessListQuery, useGetProcessListSummaryQuery, useGetProductBlocksQuery, useGetProductsQuery, useGetProductsSummaryQuery, useGetRelatedSubscriptionsQuery, useGetResourceTypesQuery, useGetSubscriptionDetailQuery, useGetSubscriptionListQuery, useGetSubscriptionSummaryListQuery, useGetSubscriptionsDropdownOptionsQuery, useGetTaskOptionsQuery, useGetTasksQuery, useGetTimeLineItemsQuery, useGetTranslationMessages, useGetWorkflowOptionsQuery, useGetWorkflowsQuery, useLazyGetProcessListQuery, useLazyGetProductBlocksQuery, useLazyGetProductsQuery, useLazyGetResourceTypesQuery, useLazyGetSubscriptionListQuery, useLazyGetTasksQuery, useLazyGetWorkflowsQuery, useOrchestratorConfig, useOrchestratorTheme, usePolicy, useResetTextSearchIndexMutation, useSetEngineStatusMutation, useSetSubscriptionInSyncMutation, useShowToastMessage, useStoredTableConfig, useStreamMessagesQuery, useSubscriptionDetailValueOverride, useWfoSession, useWithOrchestratorTheme, utcTimestampToLocalMoment, workflowFieldMapper, workflowsQuery };
package/dist/index.js CHANGED
@@ -23127,10 +23127,10 @@ var require_jsstacktrace = __commonJS({
23127
23127
  var require_jsx = __commonJS({
23128
23128
  "../../node_modules/refractor/lang/jsx.js"(exports, module) {
23129
23129
  "use strict";
23130
- module.exports = jsx200;
23131
- jsx200.displayName = "jsx";
23132
- jsx200.aliases = [];
23133
- function jsx200(Prism) {
23130
+ module.exports = jsx199;
23131
+ jsx199.displayName = "jsx";
23132
+ jsx199.aliases = [];
23133
+ function jsx199(Prism) {
23134
23134
  ;
23135
23135
  (function(Prism2) {
23136
23136
  var javascript = Prism2.util.clone(Prism2.languages.javascript);
@@ -34576,6 +34576,148 @@ var WfoBadge = (_a) => {
34576
34576
  // src/hooks/useCheckEngineStatus.ts
34577
34577
  import { useTranslations } from "next-intl";
34578
34578
 
34579
+ // src/configuration/constants.ts
34580
+ var MAXIMUM_ITEMS_FOR_BULK_FETCHING = 1e3;
34581
+ var NUMBER_OF_ITEMS_REPRESENTING_ALL_ITEMS = 1e6;
34582
+ var PROCESSES_ENDPOINT = "processes";
34583
+ var PROCESS_STATUS_COUNTS_ENDPOINT = `${PROCESSES_ENDPOINT}/status-counts`;
34584
+ var PROCESSES_RESUME_ALL_ENDPOINT = `resume-all`;
34585
+ var PROCESS_RESUME_ENDPOINT = `resume`;
34586
+ var PROCESS_ABORT_ENDPOINT = `abort`;
34587
+ var SETTINGS_ENDPOINT = "/settings";
34588
+ var SETTINGS_STATUS_ENDPOINT = `${SETTINGS_ENDPOINT}/status`;
34589
+ var SETTINGS_CACHE_NAMES_ENDPOINT = `${SETTINGS_ENDPOINT}/cache-names`;
34590
+ var SETTINGS_CACHE_ENDPOINT = `${SETTINGS_ENDPOINT}/cache`;
34591
+ var SETTINGS_SEARCH_INDEX_RESET_ENDPOINT = `${SETTINGS_ENDPOINT}/search-index/reset`;
34592
+ var IPAM_ENDPOINT = "surf/ipam";
34593
+ var IPAM_PREFIX_FILTERS_ENDPOINT = `${IPAM_ENDPOINT}/prefix_filters`;
34594
+ var IPAM_IP_BLOCKS_ENDPOINT = `${IPAM_ENDPOINT}/ip_blocks`;
34595
+ var IPAM_FREE_SUBNETS_ENDPOINT = `${IPAM_ENDPOINT}/free_subnets`;
34596
+ var SUBSCRIPTION_ACTIONS_ENDPOINT = "subscriptions/workflows";
34597
+
34598
+ // src/configuration/policy-resources.ts
34599
+ var PolicyResource = /* @__PURE__ */ ((PolicyResource2) => {
34600
+ PolicyResource2["NAVIGATION_METADATA"] = "/orchestrator/metadata/";
34601
+ PolicyResource2["NAVIGATION_SETTINGS"] = "/orchestrator/settings/";
34602
+ PolicyResource2["NAVIGATION_SUBSCRIPTIONS"] = "/orchestrator/subscriptions/";
34603
+ PolicyResource2["NAVIGATION_TASKS"] = "/orchestrator/tasks/";
34604
+ PolicyResource2["NAVIGATION_WORKFLOWS"] = "/orchestrator/processes/";
34605
+ PolicyResource2["PROCESS_ABORT"] = "/orchestrator/processes/abort/";
34606
+ PolicyResource2["PROCESS_DELETE"] = "/orchestrator/processes/delete/";
34607
+ PolicyResource2["PROCESS_DETAILS"] = "/orchestrator/processes/details/";
34608
+ PolicyResource2["PROCESS_RELATED_SUBSCRIPTIONS"] = "/orchestrator/subscriptions/view/from-process";
34609
+ PolicyResource2["PROCESS_RETRY"] = "/orchestrator/processes/retry/";
34610
+ PolicyResource2["PROCESS_USER_INPUT"] = "/orchestrator/processes/user-input/";
34611
+ PolicyResource2["SUBSCRIPTION_CREATE"] = "/orchestrator/processes/create/process/menu";
34612
+ PolicyResource2["SUBSCRIPTION_MODIFY"] = "/orchestrator/subscriptions/modify/";
34613
+ PolicyResource2["SUBSCRIPTION_TERMINATE"] = "/orchestrator/subscriptions/terminate/";
34614
+ PolicyResource2["SUBSCRIPTION_VALIDATE"] = "/orchestrator/subscriptions/validate/";
34615
+ PolicyResource2["TASKS_CREATE"] = "/orchestrator/processes/create/task";
34616
+ PolicyResource2["TASKS_RETRY_ALL"] = "/orchestrator/processes/all-tasks/retry";
34617
+ return PolicyResource2;
34618
+ })(PolicyResource || {});
34619
+
34620
+ // src/types/types.ts
34621
+ var EngineStatus = /* @__PURE__ */ ((EngineStatus3) => {
34622
+ EngineStatus3["RUNNING"] = "RUNNING";
34623
+ EngineStatus3["PAUSING"] = "PAUSING";
34624
+ EngineStatus3["PAUSED"] = "PAUSED";
34625
+ EngineStatus3["UNKNOWN"] = "UNKNOWN";
34626
+ return EngineStatus3;
34627
+ })(EngineStatus || {});
34628
+ var ProductLifecycleStatus = /* @__PURE__ */ ((ProductLifecycleStatus2) => {
34629
+ ProductLifecycleStatus2["ACTIVE"] = "active";
34630
+ ProductLifecycleStatus2["PRE_PRODUCTION"] = "pre production";
34631
+ ProductLifecycleStatus2["PHASE_OUT"] = "phase out";
34632
+ ProductLifecycleStatus2["END_OF_LIFE"] = "end of life";
34633
+ return ProductLifecycleStatus2;
34634
+ })(ProductLifecycleStatus || {});
34635
+ var BadgeType = /* @__PURE__ */ ((BadgeType2) => {
34636
+ BadgeType2["WORKFLOW"] = "workflow";
34637
+ BadgeType2["FIXED_INPUT"] = "fixed_input";
34638
+ BadgeType2["RESOURCE_TYPE"] = "resource_type";
34639
+ BadgeType2["PRODUCT_BLOCK"] = "product_block";
34640
+ BadgeType2["PRODUCT_BLOCK_TAG"] = "product_block_tag";
34641
+ BadgeType2["PRODUCT_TAG"] = "product_tag";
34642
+ BadgeType2["PRODUCT"] = "product";
34643
+ BadgeType2["TASK"] = "task";
34644
+ return BadgeType2;
34645
+ })(BadgeType || {});
34646
+ var WorkflowTarget = /* @__PURE__ */ ((WorkflowTarget2) => {
34647
+ WorkflowTarget2["CREATE"] = "create";
34648
+ WorkflowTarget2["MODIFY"] = "modify";
34649
+ WorkflowTarget2["TERMINATE"] = "terminate";
34650
+ WorkflowTarget2["SYSTEM"] = "system";
34651
+ return WorkflowTarget2;
34652
+ })(WorkflowTarget || {});
34653
+ var StepStatus = /* @__PURE__ */ ((StepStatus2) => {
34654
+ StepStatus2["FORM"] = "form";
34655
+ StepStatus2["SUCCESS"] = "success";
34656
+ StepStatus2["FAILED"] = "failed";
34657
+ StepStatus2["PENDING"] = "pending";
34658
+ StepStatus2["RUNNING"] = "running";
34659
+ StepStatus2["SKIPPED"] = "skipped";
34660
+ StepStatus2["SUSPEND"] = "suspend";
34661
+ StepStatus2["WAITING"] = "waiting";
34662
+ StepStatus2["AWAITING_CALLBACK"] = "awaiting_callback";
34663
+ StepStatus2["ABORT"] = "abort";
34664
+ StepStatus2["COMPLETE"] = "complete";
34665
+ return StepStatus2;
34666
+ })(StepStatus || {});
34667
+ var ProcessStatus = /* @__PURE__ */ ((ProcessStatus3) => {
34668
+ ProcessStatus3["CREATE"] = "create";
34669
+ ProcessStatus3["CREATED"] = "created";
34670
+ ProcessStatus3["RUNNING"] = "running";
34671
+ ProcessStatus3["SUSPENDED"] = "suspended";
34672
+ ProcessStatus3["WAITING"] = "waiting";
34673
+ ProcessStatus3["AWAITING_CALLBACK"] = "awaiting_callback";
34674
+ ProcessStatus3["ABORTED"] = "aborted";
34675
+ ProcessStatus3["FAILED"] = "failed";
34676
+ ProcessStatus3["RESUMED"] = "resumed";
34677
+ ProcessStatus3["API_UNAVAILABLE"] = "api_unavailable";
34678
+ ProcessStatus3["INCONSISTENT_DATA"] = "inconsistent_data";
34679
+ ProcessStatus3["COMPLETED"] = "completed";
34680
+ return ProcessStatus3;
34681
+ })(ProcessStatus || {});
34682
+ var ProcessDoneStatuses = [
34683
+ "completed" /* COMPLETED */,
34684
+ "aborted" /* ABORTED */
34685
+ ];
34686
+ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
34687
+ SortOrder2["ASC"] = "ASC";
34688
+ SortOrder2["DESC"] = "DESC";
34689
+ return SortOrder2;
34690
+ })(SortOrder || {});
34691
+ var Locale = /* @__PURE__ */ ((Locale2) => {
34692
+ Locale2["enGB"] = "en-GB";
34693
+ Locale2["nlNL"] = "nl-NL";
34694
+ return Locale2;
34695
+ })(Locale || {});
34696
+ var SubscriptionStatus = /* @__PURE__ */ ((SubscriptionStatus2) => {
34697
+ SubscriptionStatus2["INITIAL"] = "initial";
34698
+ SubscriptionStatus2["ACTIVE"] = "active";
34699
+ SubscriptionStatus2["MIGRATING"] = "migrating";
34700
+ SubscriptionStatus2["DISABLED"] = "disabled";
34701
+ SubscriptionStatus2["TERMINATED"] = "terminated";
34702
+ SubscriptionStatus2["PROVISIONING"] = "provisioning";
34703
+ return SubscriptionStatus2;
34704
+ })(SubscriptionStatus || {});
34705
+ var ToastTypes = /* @__PURE__ */ ((ToastTypes2) => {
34706
+ ToastTypes2["ERROR"] = "ERROR";
34707
+ ToastTypes2["SUCCESS"] = "SUCCESS";
34708
+ return ToastTypes2;
34709
+ })(ToastTypes || {});
34710
+ var Environment = /* @__PURE__ */ ((Environment2) => {
34711
+ Environment2["DEVELOPMENT"] = "Development";
34712
+ Environment2["PRODUCTION"] = "Production";
34713
+ return Environment2;
34714
+ })(Environment || {});
34715
+ var ColorModes = /* @__PURE__ */ ((ColorModes2) => {
34716
+ ColorModes2["LIGHT"] = "LIGHT";
34717
+ ColorModes2["DARK"] = "DARK";
34718
+ return ColorModes2;
34719
+ })(ColorModes || {});
34720
+
34579
34721
  // src/rtk/api.ts
34580
34722
  import { getSession, signOut } from "next-auth/react";
34581
34723
 
@@ -40351,6 +40493,20 @@ var customersQuery = `query Customers {
40351
40493
  }
40352
40494
  }
40353
40495
  }`;
40496
+ var customersWithSubscriptionCountQuery = `query Customers {
40497
+ customers(first: ${NUMBER_OF_ITEMS_REPRESENTING_ALL_ITEMS}, after: 0) {
40498
+ page {
40499
+ customerId
40500
+ fullname
40501
+ shortcode
40502
+ subscriptions(filterBy: {field: "status", value: "${"active" /* ACTIVE */}"}) {
40503
+ pageInfo {
40504
+ totalItems
40505
+ }
40506
+ }
40507
+ }
40508
+ }
40509
+ }`;
40354
40510
  var customerQuery = `query Customer(
40355
40511
  $customerId: String!
40356
40512
  $first: Int!
@@ -40368,6 +40524,12 @@ var customerQuery = `query Customer(
40368
40524
  }`;
40369
40525
  var customersApi = orchestratorApi.injectEndpoints({
40370
40526
  endpoints: (build) => ({
40527
+ getCustomersWithSubscriptionCount: build.query({
40528
+ query: () => ({ document: customersWithSubscriptionCountQuery }),
40529
+ transformResponse: (response) => response.customers.page.filter(
40530
+ (customer) => customer.subscriptions.pageInfo.totalItems > 0
40531
+ )
40532
+ }),
40371
40533
  getCustomers: build.query({
40372
40534
  query: () => ({ document: customersQuery }),
40373
40535
  transformResponse: (response) => {
@@ -40390,7 +40552,11 @@ var customersApi = orchestratorApi.injectEndpoints({
40390
40552
  })
40391
40553
  })
40392
40554
  });
40393
- var { useGetCustomersQuery, useGetCustomerQuery } = customersApi;
40555
+ var {
40556
+ useGetCustomersQuery,
40557
+ useGetCustomerQuery,
40558
+ useGetCustomersWithSubscriptionCountQuery
40559
+ } = customersApi;
40394
40560
 
40395
40561
  // src/rtk/endpoints/inSync.ts
40396
40562
  var inSyncApi = orchestratorApi.injectEndpoints({
@@ -40864,107 +41030,6 @@ var processApi2 = orchestratorApi.injectEndpoints({
40864
41030
  });
40865
41031
  var { useGetProcessListSummaryQuery } = processApi2;
40866
41032
 
40867
- // src/types/types.ts
40868
- var EngineStatus = /* @__PURE__ */ ((EngineStatus3) => {
40869
- EngineStatus3["RUNNING"] = "RUNNING";
40870
- EngineStatus3["PAUSING"] = "PAUSING";
40871
- EngineStatus3["PAUSED"] = "PAUSED";
40872
- EngineStatus3["UNKNOWN"] = "UNKNOWN";
40873
- return EngineStatus3;
40874
- })(EngineStatus || {});
40875
- var ProductLifecycleStatus = /* @__PURE__ */ ((ProductLifecycleStatus2) => {
40876
- ProductLifecycleStatus2["ACTIVE"] = "active";
40877
- ProductLifecycleStatus2["PRE_PRODUCTION"] = "pre production";
40878
- ProductLifecycleStatus2["PHASE_OUT"] = "phase out";
40879
- ProductLifecycleStatus2["END_OF_LIFE"] = "end of life";
40880
- return ProductLifecycleStatus2;
40881
- })(ProductLifecycleStatus || {});
40882
- var BadgeType = /* @__PURE__ */ ((BadgeType2) => {
40883
- BadgeType2["WORKFLOW"] = "workflow";
40884
- BadgeType2["FIXED_INPUT"] = "fixed_input";
40885
- BadgeType2["RESOURCE_TYPE"] = "resource_type";
40886
- BadgeType2["PRODUCT_BLOCK"] = "product_block";
40887
- BadgeType2["PRODUCT_BLOCK_TAG"] = "product_block_tag";
40888
- BadgeType2["PRODUCT_TAG"] = "product_tag";
40889
- BadgeType2["PRODUCT"] = "product";
40890
- BadgeType2["TASK"] = "task";
40891
- return BadgeType2;
40892
- })(BadgeType || {});
40893
- var WorkflowTarget = /* @__PURE__ */ ((WorkflowTarget2) => {
40894
- WorkflowTarget2["CREATE"] = "create";
40895
- WorkflowTarget2["MODIFY"] = "modify";
40896
- WorkflowTarget2["TERMINATE"] = "terminate";
40897
- WorkflowTarget2["SYSTEM"] = "system";
40898
- return WorkflowTarget2;
40899
- })(WorkflowTarget || {});
40900
- var StepStatus = /* @__PURE__ */ ((StepStatus2) => {
40901
- StepStatus2["FORM"] = "form";
40902
- StepStatus2["SUCCESS"] = "success";
40903
- StepStatus2["FAILED"] = "failed";
40904
- StepStatus2["PENDING"] = "pending";
40905
- StepStatus2["RUNNING"] = "running";
40906
- StepStatus2["SKIPPED"] = "skipped";
40907
- StepStatus2["SUSPEND"] = "suspend";
40908
- StepStatus2["WAITING"] = "waiting";
40909
- StepStatus2["AWAITING_CALLBACK"] = "awaiting_callback";
40910
- StepStatus2["ABORT"] = "abort";
40911
- StepStatus2["COMPLETE"] = "complete";
40912
- return StepStatus2;
40913
- })(StepStatus || {});
40914
- var ProcessStatus = /* @__PURE__ */ ((ProcessStatus3) => {
40915
- ProcessStatus3["CREATE"] = "create";
40916
- ProcessStatus3["CREATED"] = "created";
40917
- ProcessStatus3["RUNNING"] = "running";
40918
- ProcessStatus3["SUSPENDED"] = "suspended";
40919
- ProcessStatus3["WAITING"] = "waiting";
40920
- ProcessStatus3["AWAITING_CALLBACK"] = "awaiting_callback";
40921
- ProcessStatus3["ABORTED"] = "aborted";
40922
- ProcessStatus3["FAILED"] = "failed";
40923
- ProcessStatus3["RESUMED"] = "resumed";
40924
- ProcessStatus3["API_UNAVAILABLE"] = "api_unavailable";
40925
- ProcessStatus3["INCONSISTENT_DATA"] = "inconsistent_data";
40926
- ProcessStatus3["COMPLETED"] = "completed";
40927
- return ProcessStatus3;
40928
- })(ProcessStatus || {});
40929
- var ProcessDoneStatuses = [
40930
- "completed" /* COMPLETED */,
40931
- "aborted" /* ABORTED */
40932
- ];
40933
- var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
40934
- SortOrder2["ASC"] = "ASC";
40935
- SortOrder2["DESC"] = "DESC";
40936
- return SortOrder2;
40937
- })(SortOrder || {});
40938
- var Locale = /* @__PURE__ */ ((Locale2) => {
40939
- Locale2["enGB"] = "en-GB";
40940
- Locale2["nlNL"] = "nl-NL";
40941
- return Locale2;
40942
- })(Locale || {});
40943
- var SubscriptionStatus = /* @__PURE__ */ ((SubscriptionStatus2) => {
40944
- SubscriptionStatus2["INITIAL"] = "initial";
40945
- SubscriptionStatus2["ACTIVE"] = "active";
40946
- SubscriptionStatus2["MIGRATING"] = "migrating";
40947
- SubscriptionStatus2["DISABLED"] = "disabled";
40948
- SubscriptionStatus2["TERMINATED"] = "terminated";
40949
- SubscriptionStatus2["PROVISIONING"] = "provisioning";
40950
- return SubscriptionStatus2;
40951
- })(SubscriptionStatus || {});
40952
- var ToastTypes = /* @__PURE__ */ ((ToastTypes2) => {
40953
- ToastTypes2["ERROR"] = "ERROR";
40954
- ToastTypes2["SUCCESS"] = "SUCCESS";
40955
- return ToastTypes2;
40956
- })(ToastTypes || {});
40957
- var Environment = /* @__PURE__ */ ((Environment2) => {
40958
- Environment2["DEVELOPMENT"] = "Development";
40959
- Environment2["PRODUCTION"] = "Production";
40960
- return Environment2;
40961
- })(Environment || {});
40962
- var ColorModes = /* @__PURE__ */ ((ColorModes2) => {
40963
- ColorModes2["LIGHT"] = "LIGHT";
40964
- ColorModes2["DARK"] = "DARK";
40965
- return ColorModes2;
40966
- })(ColorModes || {});
40967
-
40968
41033
  // src/rtk/endpoints/processSteps.ts
40969
41034
  var processStepsQuery = `
40970
41035
  query ProcessSteps($processName: String!) {
@@ -41172,47 +41237,6 @@ var relatedSubscriptionsApi = orchestratorApi.injectEndpoints({
41172
41237
  });
41173
41238
  var { useGetRelatedSubscriptionsQuery } = relatedSubscriptionsApi;
41174
41239
 
41175
- // src/configuration/constants.ts
41176
- var MAXIMUM_ITEMS_FOR_BULK_FETCHING = 1e3;
41177
- var NUMBER_OF_ITEMS_REPRESENTING_ALL_ITEMS = 1e6;
41178
- var PROCESSES_ENDPOINT = "processes";
41179
- var PROCESS_STATUS_COUNTS_ENDPOINT = `${PROCESSES_ENDPOINT}/status-counts`;
41180
- var PROCESSES_RESUME_ALL_ENDPOINT = `resume-all`;
41181
- var PROCESS_RESUME_ENDPOINT = `resume`;
41182
- var PROCESS_ABORT_ENDPOINT = `abort`;
41183
- var SETTINGS_ENDPOINT = "/settings";
41184
- var SETTINGS_STATUS_ENDPOINT = `${SETTINGS_ENDPOINT}/status`;
41185
- var SETTINGS_CACHE_NAMES_ENDPOINT = `${SETTINGS_ENDPOINT}/cache-names`;
41186
- var SETTINGS_CACHE_ENDPOINT = `${SETTINGS_ENDPOINT}/cache`;
41187
- var SETTINGS_SEARCH_INDEX_RESET_ENDPOINT = `${SETTINGS_ENDPOINT}/search-index/reset`;
41188
- var IPAM_ENDPOINT = "surf/ipam";
41189
- var IPAM_PREFIX_FILTERS_ENDPOINT = `${IPAM_ENDPOINT}/prefix_filters`;
41190
- var IPAM_IP_BLOCKS_ENDPOINT = `${IPAM_ENDPOINT}/ip_blocks`;
41191
- var IPAM_FREE_SUBNETS_ENDPOINT = `${IPAM_ENDPOINT}/free_subnets`;
41192
- var SUBSCRIPTION_ACTIONS_ENDPOINT = "subscriptions/workflows";
41193
-
41194
- // src/configuration/policy-resources.ts
41195
- var PolicyResource = /* @__PURE__ */ ((PolicyResource2) => {
41196
- PolicyResource2["NAVIGATION_METADATA"] = "/orchestrator/metadata/";
41197
- PolicyResource2["NAVIGATION_SETTINGS"] = "/orchestrator/settings/";
41198
- PolicyResource2["NAVIGATION_SUBSCRIPTIONS"] = "/orchestrator/subscriptions/";
41199
- PolicyResource2["NAVIGATION_TASKS"] = "/orchestrator/tasks/";
41200
- PolicyResource2["NAVIGATION_WORKFLOWS"] = "/orchestrator/processes/";
41201
- PolicyResource2["PROCESS_ABORT"] = "/orchestrator/processes/abort/";
41202
- PolicyResource2["PROCESS_DELETE"] = "/orchestrator/processes/delete/";
41203
- PolicyResource2["PROCESS_DETAILS"] = "/orchestrator/processes/details/";
41204
- PolicyResource2["PROCESS_RELATED_SUBSCRIPTIONS"] = "/orchestrator/subscriptions/view/from-process";
41205
- PolicyResource2["PROCESS_RETRY"] = "/orchestrator/processes/retry/";
41206
- PolicyResource2["PROCESS_USER_INPUT"] = "/orchestrator/processes/user-input/";
41207
- PolicyResource2["SUBSCRIPTION_CREATE"] = "/orchestrator/processes/create/process/menu";
41208
- PolicyResource2["SUBSCRIPTION_MODIFY"] = "/orchestrator/subscriptions/modify/";
41209
- PolicyResource2["SUBSCRIPTION_TERMINATE"] = "/orchestrator/subscriptions/terminate/";
41210
- PolicyResource2["SUBSCRIPTION_VALIDATE"] = "/orchestrator/subscriptions/validate/";
41211
- PolicyResource2["TASKS_CREATE"] = "/orchestrator/processes/create/task";
41212
- PolicyResource2["TASKS_RETRY_ALL"] = "/orchestrator/processes/all-tasks/retry";
41213
- return PolicyResource2;
41214
- })(PolicyResource || {});
41215
-
41216
41240
  // src/rtk/endpoints/settings.ts
41217
41241
  var statusApi = orchestratorApi.injectEndpoints({
41218
41242
  endpoints: (build) => ({
@@ -41389,7 +41413,7 @@ var getToastMessage = (type, text, title) => {
41389
41413
  // src/rtk/endpoints/streamMessages.ts
41390
41414
  var getWebSocket = (url) => __async(void 0, null, function* () {
41391
41415
  const session = yield getSession2();
41392
- const token = (session == null ? void 0 : session.accessToken) ? [session == null ? void 0 : session.accessToken] : [];
41416
+ const token = (session == null ? void 0 : session.accessToken) ? ["base64.bearer.token", session == null ? void 0 : session.accessToken] : "";
41393
41417
  return new WebSocket(url, token);
41394
41418
  });
41395
41419
  var PING_INTERVAL_MS = 45e3;
@@ -51476,7 +51500,7 @@ function Vlan(_a) {
51476
51500
  useEffect15(() => {
51477
51501
  if (subscriptionId && isFetched && !portIsTagged && value !== "0") {
51478
51502
  onChange("0");
51479
- } else if (!subscriptionId && value !== "" || subscriptionId && portIsTagged && value === "0") {
51503
+ } else if (!disabled && (!subscriptionId && value !== "" || subscriptionId && portIsTagged && value === "0")) {
51480
51504
  onChange("");
51481
51505
  }
51482
51506
  }, [onChange, subscriptionId, value, isFetched, portIsTagged]);
@@ -52108,7 +52132,7 @@ var SummaryField = connectField26(Summary, { kind: "leaf" });
52108
52132
  import { useTranslations as useTranslations38 } from "next-intl";
52109
52133
  import { connectField as connectField27 } from "uniforms";
52110
52134
  import { jsx as jsx140 } from "@emotion/react/jsx-runtime";
52111
- function Customer(_a) {
52135
+ function Customer2(_a) {
52112
52136
  var props = __objRest(_a, []);
52113
52137
  const t = useTranslations38("pydanticForms");
52114
52138
  const { data: customers, isLoading } = useGetCustomersQuery();
@@ -52131,7 +52155,7 @@ function Customer(_a) {
52131
52155
  })
52132
52156
  );
52133
52157
  }
52134
- var CustomerField = connectField27(Customer, { kind: "leaf" });
52158
+ var CustomerField = connectField27(Customer2, { kind: "leaf" });
52135
52159
 
52136
52160
  // src/components/WfoForms/formFields/ConnectedSelectField.tsx
52137
52161
  import { connectField as connectField28 } from "uniforms";
@@ -52767,8 +52791,12 @@ var UserInputFormWizard = ({
52767
52791
  newUserInputs.push(currentFormData);
52768
52792
  const promise = stepSubmit(newUserInputs);
52769
52793
  const callback = (data) => {
52794
+ var _a;
52770
52795
  window.scrollTo(0, 0);
52771
- setForms([...forms, { form: data.form, hasNext: data.hasNext }]);
52796
+ setForms([
52797
+ ...forms,
52798
+ { form: data.form, hasNext: (_a = data.meta) == null ? void 0 : _a.hasNext }
52799
+ ]);
52772
52800
  setUserInputs(newUserInputs);
52773
52801
  };
52774
52802
  return handlePromiseErrorWithCallback(
@@ -52878,10 +52906,10 @@ function CreateForm(props) {
52878
52906
  submit([]),
52879
52907
  510,
52880
52908
  (json) => {
52881
- var _a;
52909
+ var _a, _b;
52882
52910
  setForm({
52883
52911
  stepUserInput: json.form,
52884
- hasNext: (_a = json.hasNext) != null ? _a : false
52912
+ hasNext: (_b = (_a = json.meta) == null ? void 0 : _a.hasNext) != null ? _b : false
52885
52913
  });
52886
52914
  }
52887
52915
  );
@@ -55647,10 +55675,10 @@ var WfoStartProcessPage = ({
55647
55675
  useEffect26(() => {
55648
55676
  if (processName) {
55649
55677
  const clientResultCallback = (json) => {
55650
- var _a;
55678
+ var _a, _b;
55651
55679
  setForm({
55652
55680
  stepUserInput: json.form,
55653
- hasNext: (_a = json.hasNext) != null ? _a : false
55681
+ hasNext: (_b = (_a = json.meta) == null ? void 0 : _a.hasNext) != null ? _b : false
55654
55682
  });
55655
55683
  };
55656
55684
  handlePromiseErrorWithCallback(
@@ -57695,26 +57723,6 @@ var WfoProductsSummaryCard = () => {
57695
57723
  );
57696
57724
  };
57697
57725
 
57698
- // src/components/WfoRouteChangeListener/WfoRouteChangeListener.tsx
57699
- import { useEffect as useEffect30 } from "react";
57700
- import { getSession as getSession3, signIn } from "next-auth/react";
57701
- import { useRouter as useRouter16 } from "next/router";
57702
- import { Fragment as Fragment47, jsx as jsx199 } from "@emotion/react/jsx-runtime";
57703
- var WfoRouteChangeListener = () => {
57704
- const router = useRouter16();
57705
- const { authActive } = useGetOrchestratorConfig();
57706
- useEffect30(() => {
57707
- if (authActive) {
57708
- getSession3().then((session) => {
57709
- if (!session) {
57710
- signIn();
57711
- }
57712
- });
57713
- }
57714
- }, [authActive, router]);
57715
- return /* @__PURE__ */ jsx199(Fragment47, {});
57716
- };
57717
-
57718
57726
  // src/rtk/endpoints/translations.ts
57719
57727
  var TRANSLATIONS_URL = "translations";
57720
57728
  var translationsApi = orchestratorApi.injectEndpoints({
@@ -57803,6 +57811,7 @@ var en_GB_default = {
57803
57811
  cancel: "Cancel",
57804
57812
  submit: "Submit",
57805
57813
  previous: "Previous",
57814
+ next: "Next",
57806
57815
  previousQuestion: "Are you sure you want to leave this page? Any filled form data will be lost",
57807
57816
  startTask: "Start task",
57808
57817
  startWorkflow: "Start workflow",
@@ -58215,6 +58224,7 @@ var nl_NL_default = {
58215
58224
  cancel: "Annuleren",
58216
58225
  submit: "Verstuur",
58217
58226
  previous: "Vorige",
58227
+ next: "Volgende",
58218
58228
  startTask: "Start taak",
58219
58229
  previousQuestion: "Weet je zeker dat je deze pagina wilt verlaten? Ingevulde velden worden niet opgeslagen",
58220
58230
  startWorkflow: "Start workflow",
@@ -58783,7 +58793,6 @@ export {
58783
58793
  WfoRelatedSubscriptions,
58784
58794
  WfoResetTextSearchIndexButton,
58785
58795
  WfoResourceTypesPage,
58786
- WfoRouteChangeListener,
58787
58796
  WfoSearchField,
58788
58797
  WfoSearchStrikethrough,
58789
58798
  WfoSettingsModal,
@@ -58955,6 +58964,7 @@ export {
58955
58964
  useGetCacheNamesQuery,
58956
58965
  useGetCustomerQuery,
58957
58966
  useGetCustomersQuery,
58967
+ useGetCustomersWithSubscriptionCountQuery,
58958
58968
  useGetEngineStatusQuery,
58959
58969
  useGetInUseByRelationDetailsQuery,
58960
58970
  useGetOrchestratorConfig,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orchestrator-ui/orchestrator-ui-components",
3
- "version": "1.22.0",
3
+ "version": "1.23.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Library of UI Components used to display the workflow orchestrator frontend",
6
6
  "author": {
@@ -52,7 +52,7 @@ export function CreateForm(props: IProps) {
52
52
  (json) => {
53
53
  setForm({
54
54
  stepUserInput: json.form,
55
- hasNext: json.hasNext ?? false,
55
+ hasNext: json.meta?.hasNext ?? false,
56
56
  });
57
57
  },
58
58
  );
@@ -109,7 +109,7 @@ function resolveRef(reference: string, schema: Record<string, any>) {
109
109
  .filter((part) => part && part !== '#')
110
110
  .reduce((definition, next) => {
111
111
  // FIXME: There is a ticket to fix this in the return value from GraphQL: https://git.ia.surfsara.nl/netdev/automation/projects/orchestrator/-/issues/1891
112
- // TLDR: currently the form properties may reference things in the forms $defs property but the forms $defs property doesnt exist but is called 'definitions' instead
112
+ // TLDR: currently the form properties may reference things in the forms $defs property but the forms $defs property doesn't exist but is called 'definitions' instead
113
113
  const newDefinition = (() => {
114
114
  if (next === '$defs' && !definition[next]) {
115
115
  return definition['definitions'];
@@ -476,7 +476,7 @@ export function WfoUserInputForm({
476
476
  });
477
477
  }
478
478
  }
479
- // Let the error escape so it can be caught by our own onerror handler instead of being silenced by uniforms
479
+ // Let the error escape, so it can be caught by our own onerror handler instead of being silenced by uniforms
480
480
  setTimeout(() => {
481
481
  throw error;
482
482
  }, 0);
@@ -77,7 +77,10 @@ export const UserInputFormWizard = ({
77
77
  const promise = stepSubmit(newUserInputs);
78
78
  const callback = (data: FormNotCompleteResponse) => {
79
79
  window.scrollTo(0, 0);
80
- setForms([...forms, { form: data.form, hasNext: data.hasNext }]);
80
+ setForms([
81
+ ...forms,
82
+ { form: data.form, hasNext: data.meta?.hasNext },
83
+ ]);
81
84
  setUserInputs(newUserInputs);
82
85
  };
83
86
 
@@ -159,8 +159,9 @@ function Vlan({
159
159
  if (subscriptionId && isFetched && !portIsTagged && value !== '0') {
160
160
  onChange('0');
161
161
  } else if (
162
- (!subscriptionId && value !== '') ||
163
- (subscriptionId && portIsTagged && value === '0')
162
+ !disabled &&
163
+ ((!subscriptionId && value !== '') ||
164
+ (subscriptionId && portIsTagged && value === '0'))
164
165
  ) {
165
166
  onChange('');
166
167
  }
@@ -28,4 +28,3 @@ export * from './WfoNoResults';
28
28
  export * from './WfoStartButton';
29
29
  export * from './WfoSubscriptionsList';
30
30
  export * from './WfoSummary';
31
- export * from './WfoRouteChangeListener';
@@ -64,6 +64,7 @@
64
64
  "cancel": "Cancel",
65
65
  "submit": "Submit",
66
66
  "previous": "Previous",
67
+ "next": "Next",
67
68
  "previousQuestion": "Are you sure you want to leave this page? Any filled form data will be lost",
68
69
  "startTask": "Start task",
69
70
  "startWorkflow": "Start workflow",
@@ -64,6 +64,7 @@
64
64
  "cancel": "Annuleren",
65
65
  "submit": "Verstuur",
66
66
  "previous": "Vorige",
67
+ "next": "Volgende",
67
68
  "startTask": "Start taak",
68
69
  "previousQuestion": "Weet je zeker dat je deze pagina wilt verlaten? Ingevulde velden worden niet opgeslagen",
69
70
  "startWorkflow": "Start workflow",
@@ -167,7 +167,7 @@ export const WfoStartProcessPage = ({
167
167
  const clientResultCallback = (json: FormNotCompleteResponse) => {
168
168
  setForm({
169
169
  stepUserInput: json.form,
170
- hasNext: json.hasNext ?? false,
170
+ hasNext: json.meta?.hasNext ?? false,
171
171
  });
172
172
  };
173
173
 
@@ -1,4 +1,11 @@
1
- import { Customer, CustomersResult } from '@/types';
1
+ import { NUMBER_OF_ITEMS_REPRESENTING_ALL_ITEMS } from '@/configuration';
2
+ import {
3
+ Customer,
4
+ CustomerWithSubscriptionCount,
5
+ CustomersResult,
6
+ CustomersWithSubscriptionCountResult,
7
+ SubscriptionStatus,
8
+ } from '@/types';
2
9
 
3
10
  import { orchestratorApi } from '../api';
4
11
 
@@ -12,6 +19,21 @@ const customersQuery = `query Customers {
12
19
  }
13
20
  }`;
14
21
 
22
+ const customersWithSubscriptionCountQuery = `query Customers {
23
+ customers(first: ${NUMBER_OF_ITEMS_REPRESENTING_ALL_ITEMS}, after: 0) {
24
+ page {
25
+ customerId
26
+ fullname
27
+ shortcode
28
+ subscriptions(filterBy: {field: "status", value: "${SubscriptionStatus.ACTIVE}"}) {
29
+ pageInfo {
30
+ totalItems
31
+ }
32
+ }
33
+ }
34
+ }
35
+ }`;
36
+
15
37
  const customerQuery = `query Customer(
16
38
  $customerId: String!
17
39
  $first: Int!
@@ -30,6 +52,19 @@ const customerQuery = `query Customer(
30
52
 
31
53
  const customersApi = orchestratorApi.injectEndpoints({
32
54
  endpoints: (build) => ({
55
+ getCustomersWithSubscriptionCount: build.query<
56
+ CustomerWithSubscriptionCount[],
57
+ void
58
+ >({
59
+ query: () => ({ document: customersWithSubscriptionCountQuery }),
60
+ transformResponse: (
61
+ response: CustomersWithSubscriptionCountResult,
62
+ ): CustomerWithSubscriptionCount[] =>
63
+ response.customers.page.filter(
64
+ (customer) =>
65
+ customer.subscriptions.pageInfo.totalItems > 0,
66
+ ),
67
+ }),
33
68
  getCustomers: build.query<Customer[], void>({
34
69
  query: () => ({ document: customersQuery }),
35
70
  transformResponse: (response: CustomersResult): Customer[] =>
@@ -49,4 +84,8 @@ const customersApi = orchestratorApi.injectEndpoints({
49
84
  }),
50
85
  });
51
86
 
52
- export const { useGetCustomersQuery, useGetCustomerQuery } = customersApi;
87
+ export const {
88
+ useGetCustomersQuery,
89
+ useGetCustomerQuery,
90
+ useGetCustomersWithSubscriptionCountQuery,
91
+ } = customersApi;
@@ -11,7 +11,10 @@ import { CacheTags, orchestratorApi } from '../api';
11
11
 
12
12
  const getWebSocket = async (url: string) => {
13
13
  const session = (await getSession()) as WfoSession;
14
- const token = session?.accessToken ? [session?.accessToken] : [];
14
+
15
+ const token = session?.accessToken
16
+ ? ['base64.bearer.token', session?.accessToken]
17
+ : '';
15
18
  // Implemented authentication taking this into account: https://stackoverflow.com/questions/4361173/http-headers-in-websockets-client-api/77060459#77060459
16
19
  return new WebSocket(url, token);
17
20
  };
@@ -24,7 +24,7 @@ export interface Form {
24
24
  export type InputForm = JSONSchema6;
25
25
  export interface FormNotCompleteResponse {
26
26
  form: InputForm;
27
- hasNext?: boolean;
27
+ meta?: { hasNext?: boolean };
28
28
  }
29
29
 
30
30
  export type FieldProps<
@@ -24,6 +24,14 @@ export type Customer = {
24
24
  shortcode: string;
25
25
  };
26
26
 
27
+ export type CustomerWithSubscriptionCount = Customer & {
28
+ subscriptions: {
29
+ pageInfo: {
30
+ totalItems: number;
31
+ };
32
+ };
33
+ };
34
+
27
35
  export type InUseByRelation = {
28
36
  subscription_instance_id: string;
29
37
  subscription_id: string;
@@ -337,6 +345,10 @@ export interface CustomersResult {
337
345
  customers: GraphQlSinglePage<Customer>;
338
346
  }
339
347
 
348
+ export interface CustomersWithSubscriptionCountResult {
349
+ customers: GraphQlSinglePage<CustomerWithSubscriptionCount>;
350
+ }
351
+
340
352
  export interface TaskDefinitionsResult<T = TaskDefinition> {
341
353
  workflows: GraphQlResultPage<T>;
342
354
  }
@@ -1,22 +0,0 @@
1
- import React, { useEffect } from 'react';
2
-
3
- import { getSession, signIn } from 'next-auth/react';
4
- import { useRouter } from 'next/router';
5
-
6
- import { useGetOrchestratorConfig } from '@/hooks';
7
-
8
- export const WfoRouteChangeListener = () => {
9
- const router = useRouter();
10
- const { authActive } = useGetOrchestratorConfig();
11
-
12
- useEffect(() => {
13
- if (authActive) {
14
- getSession().then((session) => {
15
- if (!session) {
16
- signIn();
17
- }
18
- });
19
- }
20
- }, [authActive, router]);
21
- return <></>;
22
- };
@@ -1 +0,0 @@
1
- export * from './WfoRouteChangeListener';