@orchestrator-ui/orchestrator-ui-components 1.13.2 → 1.14.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.
package/dist/index.d.ts CHANGED
@@ -1,13 +1,16 @@
1
1
  import * as React from 'react';
2
- import React__default, { Ref, ReactNode, FC, ReactElement, ComponentType, HTMLProps, FunctionComponent, ErrorInfo } from 'react';
2
+ import React__default, { ReactNode, FC, ReactElement, ComponentType, Ref, HTMLProps, 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';
6
+ import * as _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes from '@rtk-query/graphql-request-base-query/dist/GraphqlBaseQueryTypes';
7
+ import * as _reduxjs_toolkit_dist_query_baseQueryTypes from '@reduxjs/toolkit/dist/query/baseQueryTypes';
8
+ import * as _reduxjs_toolkit_query_react from '@reduxjs/toolkit/query/react';
9
+ import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
6
10
  import * as _elastic_eui from '@elastic/eui';
7
11
  import { EuiBadgeProps, EuiThemeColorMode, EuiThemeComputed, EuiBasicTableColumn, EuiDataGridColumn, Pagination as Pagination$1, Criteria as Criteria$1, EuiThemeModifications } from '@elastic/eui';
8
12
  import { TextSize } from '@elastic/eui/src/components/text/text';
9
13
  import { TextColor } from '@elastic/eui/src/components/text/text_color';
10
- import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
11
14
  import { EuiSideNavItemType } from '@elastic/eui/src/components/side_nav/side_nav_types';
12
15
  import { TranslationValues, AbstractIntlMessages } from 'next-intl';
13
16
  import * as react_query from 'react-query';
@@ -22,9 +25,6 @@ import * as next_auth_react from 'next-auth/react';
22
25
  import { UseSessionOptions } from 'next-auth/react';
23
26
  import { Session } from 'next-auth';
24
27
  import { Variables } from 'graphql-request/build/cjs/types';
25
- import * as _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes from '@rtk-query/graphql-request-base-query/dist/GraphqlBaseQueryTypes';
26
- import * as _reduxjs_toolkit_dist_query_baseQueryTypes from '@reduxjs/toolkit/dist/query/baseQueryTypes';
27
- import * as _reduxjs_toolkit_query_react from '@reduxjs/toolkit/query/react';
28
28
  import * as _reduxjs_toolkit_dist_query_react_buildHooks from '@reduxjs/toolkit/dist/query/react/buildHooks';
29
29
  import * as _reduxjs_toolkit_query from '@reduxjs/toolkit/query';
30
30
  import { CombinedState } from '@reduxjs/toolkit/query';
@@ -80,542 +80,302 @@ declare type LegacyProduct = {
80
80
  terminate_subscription_workflow_key: string;
81
81
  };
82
82
 
83
- interface ValidationError {
84
- input_type: string;
85
- loc: (string | number)[];
86
- msg: string;
87
- type: string;
88
- ctx?: ValidationErrorContext;
89
- }
90
- interface ValidationErrorContext {
91
- [index: string]: string;
92
- }
93
- interface Form {
94
- stepUserInput?: JSONSchema6;
95
- hasNext?: boolean;
83
+ declare enum BaseQueryTypes {
84
+ fetch = "fetch",
85
+ graphql = "graphql",
86
+ custom = "custom"
96
87
  }
97
- declare type InputForm = JSONSchema6;
98
- interface FormNotCompleteResponse {
99
- form: InputForm;
100
- hasNext?: boolean;
88
+ declare enum CacheTags {
89
+ engineStatus = "engineStatus",
90
+ processList = "processList",
91
+ processListSummary = "processListSummary",
92
+ subscription = "subscription",
93
+ subscriptionList = "subscriptionList"
101
94
  }
102
- declare type FieldProps$1<Value, Extra = object, InputElementType = HTMLInputElement, ElementType = HTMLDivElement> = HTMLFieldProps<Value, ElementType, {
103
- inputRef?: Ref<InputElementType>;
104
- description?: string;
105
- } & Extra>;
106
-
107
- declare type Nullable<T> = T | null;
108
- declare type GenericResponse = {
109
- [key: string]: unknown;
110
- };
111
- declare type FieldValue = {
112
- field: string;
113
- value: string | number | boolean | null;
114
- };
115
- declare enum EngineStatus {
116
- RUNNING = "RUNNING",
117
- PAUSING = "PAUSING",
118
- PAUSED = "PAUSED",
119
- UNKNOWN = "UNKNOWN"
95
+ declare enum HttpStatus {
96
+ FormNotComplete = 510,
97
+ BadGateway = 502,
98
+ BadRequest = 400,
99
+ ServiceUnavailable = 503
120
100
  }
121
- declare type Customer = {
122
- fullname: string;
123
- customerId: string;
124
- shortcode: string;
125
- };
126
- declare type InUseByRelation = {
127
- subscription_instance_id: string;
128
- subscription_id: string;
129
- };
130
- declare type ProductBlockInstance = {
131
- id: number;
132
- ownerSubscriptionId: string;
133
- subscriptionInstanceId: string;
134
- parent: Nullable<number>;
135
- productBlockInstanceValues: FieldValue[];
136
- inUseByRelations: InUseByRelation[];
101
+ declare type ExtraOptions = {
102
+ baseQueryType?: BaseQueryTypes;
103
+ apiName?: string;
137
104
  };
138
- interface ResourceTypeDefinition {
139
- description: string;
140
- resourceType: string;
141
- resourceTypeId: string;
105
+ declare const prepareHeaders: (headers: Headers) => Promise<Headers>;
106
+ declare const handlePromiseErrorWithCallback: <T>(promise: Promise<unknown>, status: HttpStatus, callbackAction: (json: T) => void) => Promise<unknown>;
107
+ declare const orchestratorApi: _reduxjs_toolkit_query_react.Api<(args: any, api: _reduxjs_toolkit_query_react.BaseQueryApi, extraOptions: ExtraOptions) => {
108
+ error: _reduxjs_toolkit_query_react.FetchBaseQueryError;
109
+ data?: undefined;
110
+ meta?: _reduxjs_toolkit_query_react.FetchBaseQueryMeta | undefined;
111
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query_react.FetchBaseQueryError, _reduxjs_toolkit_query_react.FetchBaseQueryMeta>> | {
112
+ error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
113
+ data?: undefined;
114
+ meta?: {} | undefined;
115
+ } | {
116
+ error?: undefined;
117
+ data: unknown;
118
+ meta?: {} | undefined;
119
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, {}, "orchestratorApi", CacheTags, typeof _reduxjs_toolkit_query_react.coreModuleName | typeof _reduxjs_toolkit_query_react.reactHooksModuleName>;
120
+
121
+ declare const useGetCustomersQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
122
+ baseQueryType?: BaseQueryTypes | undefined;
123
+ apiName?: string | undefined;
124
+ }) => {
125
+ error: _reduxjs_toolkit_query.FetchBaseQueryError;
126
+ data?: undefined;
127
+ meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
128
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
129
+ error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
130
+ data?: undefined;
131
+ meta?: {} | undefined;
132
+ } | {
133
+ error?: undefined;
134
+ data: unknown;
135
+ meta?: {} | undefined;
136
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, Customer[], "orchestratorApi">>;
137
+ declare const useGetCustomerQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<{
138
+ customerIds: string[];
139
+ }, (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: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
148
+ data?: undefined;
149
+ meta?: {} | undefined;
150
+ } | {
151
+ error?: undefined;
152
+ data: unknown;
153
+ meta?: {} | undefined;
154
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, Customer[], "orchestratorApi">>;
155
+
156
+ declare const useSetSubscriptionInSyncMutation: _reduxjs_toolkit_dist_query_react_buildHooks.UseMutation<_reduxjs_toolkit_query.MutationDefinition<string, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
157
+ baseQueryType?: BaseQueryTypes | undefined;
158
+ apiName?: string | undefined;
159
+ }) => {
160
+ error: _reduxjs_toolkit_query.FetchBaseQueryError;
161
+ data?: undefined;
162
+ meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
163
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
164
+ error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
165
+ data?: undefined;
166
+ meta?: {} | undefined;
167
+ } | {
168
+ error?: undefined;
169
+ data: unknown;
170
+ meta?: {} | undefined;
171
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, void, "orchestratorApi">>;
172
+
173
+ declare const productBlocksQuery = "\n query MetadataProductBlocks(\n $first: Int!\n $after: Int!\n $sortBy: [GraphqlSort!]\n $query: String\n ) {\n productBlocks(\n first: $first\n after: $after\n sortBy: $sortBy\n query: $query\n ) {\n page {\n productBlockId\n name\n tag\n description\n status\n createdAt\n endDate\n resourceTypes {\n description\n resourceType\n resourceTypeId\n }\n dependsOn {\n productBlockId\n name\n tag\n description\n status\n createdAt\n endDate\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n totalItems\n sortFields\n filterFields\n }\n }\n }\n";
174
+ declare type ProductBlocksResponse = {
142
175
  productBlocks: ProductBlockDefinition[];
143
- }
144
- interface ProductBlockDefinition {
145
- productBlockId: string;
146
- name: string;
147
- tag: string;
148
- description: string;
149
- status: ProductLifecycleStatus;
150
- createdAt: string;
151
- endDate: string | null;
176
+ } & BaseGraphQlResult;
177
+ declare const useGetProductBlocksQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<ProductBlockDefinition>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
178
+ baseQueryType?: BaseQueryTypes | undefined;
179
+ apiName?: string | undefined;
180
+ }) => {
181
+ error: _reduxjs_toolkit_query.FetchBaseQueryError;
182
+ data?: undefined;
183
+ meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
184
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
185
+ error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
186
+ data?: undefined;
187
+ meta?: {} | undefined;
188
+ } | {
189
+ error?: undefined;
190
+ data: unknown;
191
+ meta?: {} | undefined;
192
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, ProductBlocksResponse, "orchestratorApi">>;
193
+ declare const useLazyGetProductBlocksQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseLazyQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<ProductBlockDefinition>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
194
+ baseQueryType?: BaseQueryTypes | undefined;
195
+ apiName?: string | undefined;
196
+ }) => {
197
+ error: _reduxjs_toolkit_query.FetchBaseQueryError;
198
+ data?: undefined;
199
+ meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
200
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
201
+ error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
202
+ data?: undefined;
203
+ meta?: {} | undefined;
204
+ } | {
205
+ error?: undefined;
206
+ data: unknown;
207
+ meta?: {} | undefined;
208
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, ProductBlocksResponse, "orchestratorApi">>;
209
+
210
+ declare const resourceTypesQuery = "\nquery MetadataResourceTypes(\n $first: Int!\n $after: Int!\n $sortBy: [GraphqlSort!]\n $query: String\n) {\n resourceTypes(\n first: $first\n after: $after\n sortBy: $sortBy\n query: $query\n ) {\n page {\n resourceTypeId\n resourceType\n description\n productBlocks {\n description\n name\n productBlockId\n status\n createdAt\n endDate\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n totalItems\n sortFields\n filterFields\n }\n }\n}\n";
211
+ declare type ResourceTypesResponse = {
152
212
  resourceTypes: ResourceTypeDefinition[];
153
- dependsOn: ProductBlockDefinition[];
154
- }
155
- declare enum ProductLifecycleStatus {
156
- ACTIVE = "active",
157
- PRE_PRODUCTION = "pre production",
158
- PHASE_OUT = "phase out",
159
- END_OF_LIFE = "end of life"
160
- }
161
- declare enum BadgeType {
162
- WORKFLOW = "workflow",
163
- FIXED_INPUT = "fixed_input",
164
- RESOURCE_TYPE = "resource_type",
165
- PRODUCT_BLOCK = "product_block",
166
- PRODUCT_BLOCK_TAG = "product_block_tag",
167
- PRODUCT_TAG = "product_tag",
168
- PRODUCT = "product",
169
- TASK = "task"
170
- }
171
- interface FixedInputDefinition {
172
- fixedInputId: string;
173
- name: string;
174
- value: string;
175
- productId: string;
176
- createdAt: string;
177
- description: string;
178
- required: boolean;
179
- }
180
- interface TreeBlock extends ProductBlockInstance {
181
- icon: string;
182
- label: string | number | boolean;
183
- callback: () => void;
184
- children: TreeBlock[];
185
- }
186
- interface ProductDefinition {
187
- productId: string;
188
- name: string;
189
- description: string;
190
- tag: string;
191
- createdAt: string;
192
- productType: string;
193
- status: ProductLifecycleStatus;
194
- productBlocks: Pick<ProductBlockDefinition, 'name'>[];
195
- fixedInputs: Pick<FixedInputDefinition, 'name' | 'value'>[];
196
- }
197
- declare type ProductsSummary = Pick<ProductDefinition, 'name'> & SubscriptionsResult<never>;
198
- declare enum WorkflowTarget {
199
- CREATE = "create",
200
- MODIFY = "modify",
201
- TERMINATE = "terminate",
202
- SYSTEM = "system"
203
- }
204
- declare type Process = {
205
- workflowName: string;
206
- lastStep: string;
207
- lastStatus: ProcessStatus;
208
- workflowTarget: WorkflowTarget;
209
- product?: {
210
- name: string;
211
- tag: string;
212
- };
213
- customer: {
214
- fullname: string;
215
- shortcode: string;
216
- };
217
- createdBy: string;
218
- assignee: string;
219
- processId: string;
220
- startedAt: string;
221
- lastModifiedAt: string;
222
- isTask: boolean;
223
- subscriptions: {
224
- page: Pick<Subscription, 'subscriptionId' | 'description'>[];
225
- };
226
- };
227
- declare enum StepStatus {
228
- FORM = "form",
229
- SUCCESS = "success",
230
- FAILED = "failed",
231
- PENDING = "pending",
232
- RUNNING = "running",
233
- SKIPPED = "skipped",
234
- SUSPEND = "suspend",
235
- WAITING = "waiting",
236
- AWAITING_CALLBACK = "awaiting_callback",
237
- ABORT = "abort",
238
- COMPLETE = "complete"
239
- }
240
- interface ProcessDetail {
241
- processId: Process['processId'];
242
- lastStatus: Process['lastStatus'];
243
- createdBy: Process['createdBy'];
244
- startedAt: Process['startedAt'];
245
- lastStep: string;
246
- form?: InputForm;
247
- lastModifiedAt: Process['lastModifiedAt'];
248
- workflowName: string;
249
- isTask: boolean;
250
- steps: Step[];
251
- traceback: string | null;
252
- subscriptions: {
253
- page: {
254
- product: Pick<ProductDefinition, 'name'>;
255
- description: Subscription['description'];
256
- subscriptionId: Subscription['subscriptionId'];
257
- }[];
258
- };
259
- customer: {
260
- fullname: string;
261
- };
262
- }
263
- declare enum ProcessStatus {
264
- CREATE = "create",
265
- CREATED = "created",
266
- RUNNING = "running",
267
- SUSPENDED = "suspended",
268
- WAITING = "waiting",
269
- AWAITING_CALLBACK = "awaiting_callback",
270
- ABORTED = "aborted",
271
- FAILED = "failed",
272
- RESUMED = "resumed",
273
- API_UNAVAILABLE = "api_unavailable",
274
- INCONSISTENT_DATA = "inconsistent_data",
275
- COMPLETED = "completed"
276
- }
277
- declare const ProcessDoneStatuses: ProcessStatus[];
278
- interface StepState {
279
- [index: string]: object | boolean | string | number | [];
280
- }
281
- interface EmailAddress {
282
- name: string;
283
- email: string;
284
- }
285
- interface EmailState {
286
- to: EmailAddress[];
287
- cc: EmailAddress[];
288
- message: string;
289
- subject: string;
290
- }
291
- interface Step {
292
- name: string;
293
- status: StepStatus;
294
- stepId: string;
295
- executed: string;
296
- state: StepState | undefined;
297
- stateDelta: StepState;
298
- }
299
- interface WorkflowDefinition {
300
- name: string;
301
- description?: string;
302
- target: WorkflowTarget;
303
- products: Pick<ProductDefinition, 'tag' | 'productId' | 'name'>[];
304
- createdAt: string;
305
- }
306
- interface TaskDefinition {
307
- name: string;
308
- description?: string;
309
- target: WorkflowTarget;
310
- products: Pick<ProductDefinition, 'tag' | 'productId' | 'name'>[];
311
- createdAt: string;
312
- }
313
- declare enum SortOrder {
314
- ASC = "ASC",
315
- DESC = "DESC"
316
- }
317
- declare type GraphQLSort<Type> = {
318
- field: keyof Type;
319
- order: SortOrder;
320
- };
321
- declare type GraphqlFilter<Type> = {
322
- field: keyof Type;
323
- value: string;
324
- };
325
- declare type FetchFilter<Type> = GraphqlFilter<Type>;
326
- declare type GraphqlQueryVariables<Type> = {
327
- first?: number;
328
- after?: number;
329
- sortBy?: GraphQLSort<Type>;
330
- filterBy?: GraphqlFilter<Type>[];
331
- query?: string;
332
- };
333
- declare type GraphQLPageInfo = {
334
- hasNextPage: boolean;
335
- hasPreviousPage: boolean;
336
- startCursor: number | null;
337
- totalItems: number | null;
338
- endCursor: number | null;
339
- sortFields: string[];
340
- filterFields: string[];
341
- };
342
- declare type BaseGraphQlResult = {
343
- pageInfo: GraphQLPageInfo;
344
- };
345
- interface SubscriptionsResult<T = Subscription> {
346
- subscriptions: GraphQlResultPage<T>;
347
- }
348
- interface SubscriptionDropdownOptionsResult {
349
- subscriptions: GraphQlSinglePage<SubscriptionDropdownOption>;
350
- }
351
- interface SubscriptionDetailResult {
352
- subscriptions: GraphQlResultPage<SubscriptionDetail>;
353
- }
354
- interface ProductDefinitionsResult<T = ProductDefinition> {
355
- products: GraphQlResultPage<T>;
356
- }
357
- interface StartProcessStep {
358
- name: Step['name'];
359
- }
360
- interface ProcessStepsResult {
361
- workflows: GraphQlSinglePage<{
362
- steps: StartProcessStep[];
363
- }>;
364
- }
365
- interface ProductBlockDefinitionsResult {
366
- productBlocks: GraphQlResultPage<ProductBlockDefinition>;
367
- }
368
- interface ResourceTypeDefinitionsResult {
369
- resourceTypes: GraphQlResultPage<ResourceTypeDefinition>;
370
- }
371
- interface ProcessListResult<T = Process> {
372
- processes: GraphQlResultPage<T>;
373
- }
374
- interface ProcessesDetailResult {
375
- processes: GraphQlSinglePage<ProcessDetail>;
376
- }
377
- declare type ProcessDetailResultRaw = {
378
- subscription?: object;
379
- subscription_id?: string;
380
- current_state: {
381
- subscription?: {
382
- subscription_id?: string;
383
- } & GenericResponse;
384
- __old_subscriptions__?: GenericResponse;
385
- } & GenericResponse;
386
- } & GenericResponse;
387
- interface CustomersResult {
388
- customers: GraphQlSinglePage<Customer>;
389
- }
390
- interface TaskDefinitionsResult<T = TaskDefinition> {
391
- workflows: GraphQlResultPage<T>;
392
- }
393
- interface WorkflowDefinitionsResult<T = WorkflowDefinition> {
394
- workflows: GraphQlResultPage<T>;
395
- }
396
- interface StartOptionsResult<T> {
397
- workflows: GraphQlSinglePage<T>;
398
- }
399
- interface RelatedSubscriptionsResult {
400
- subscriptions: GraphQlSinglePage<Pick<Subscription, 'subscriptionId'> & {
401
- inUseBySubscriptions: GraphQlResultPage<RelatedSubscription>;
402
- }>;
403
- }
404
- declare type StartComboBoxOption = {
405
- data: {
406
- workflowName: string;
407
- productId?: string;
408
- };
409
- label: string;
410
- };
411
- interface GraphQlResultPage<T> {
412
- page: T[];
413
- pageInfo: GraphQLPageInfo;
414
- }
415
- interface GraphQlSinglePage<T> {
416
- page: T[];
417
- }
418
- interface CacheOption {
419
- value: string;
420
- label: string;
421
- }
422
- declare enum Locale {
423
- enGB = "en-GB",
424
- nlNL = "nl-NL"
425
- }
426
- declare enum SubscriptionStatus {
427
- INITIAL = "initial",
428
- ACTIVE = "active",
429
- MIGRATING = "migrating",
430
- DISABLED = "disabled",
431
- TERMINATED = "terminated",
432
- PROVISIONING = "provisioning"
433
- }
434
- declare type Subscription = {
435
- subscriptionId: string;
436
- description: string;
437
- note: string | null;
438
- startDate: string | null;
439
- endDate: string | null;
440
- insync: boolean;
441
- status: SubscriptionStatus;
442
- product: Pick<ProductDefinition, 'name' | 'tag' | 'productType'>;
443
- productBlockInstances: ProductBlockInstance[];
444
- customer: Pick<Customer, 'fullname' | 'shortcode'>;
445
- metadata: object;
446
- };
447
- declare type SubscriptionSummary = Pick<Subscription, 'subscriptionId' | 'description' | 'startDate'>;
448
- declare type SubscriptionDropdownOption = {
449
- description: Subscription['description'];
450
- subscriptionId: Subscription['subscriptionId'];
451
- product: Pick<ProductDefinition, 'tag' | 'productId'>;
452
- customer: Pick<Customer, 'fullname' | 'customerId'>;
453
- productBlockInstances: ProductBlockInstance[];
454
- fixedInputs: FieldValue[];
455
- tag: string;
456
- status: SubscriptionStatus;
457
- };
458
- declare type CustomerDescriptions = {
459
- subscriptionId: string;
460
- description: string;
461
- customerId: string;
462
- };
463
- declare type SubscriptionDetail = {
464
- subscriptionId: string;
465
- description: string;
466
- insync: boolean;
467
- note: string;
468
- fixedInputs: FieldValue[];
469
- product: Pick<ProductDefinition, 'createdAt' | 'name' | 'status' | 'description' | 'tag' | 'productType' | 'productId'> & {
470
- endDate: string;
471
- };
472
- endDate: string;
473
- startDate: string;
474
- status: SubscriptionStatus;
475
- metadata: object;
476
- productBlockInstances: ProductBlockInstance[];
477
- customerId?: string | null;
478
- customer?: Customer;
479
- customerDescriptions: CustomerDescriptions[];
480
- externalServices?: ExternalService[];
481
- processes: GraphQlSinglePage<SubscriptionDetailProcess>;
482
- };
483
- declare type SubscriptionDetailProcess = Pick<Process, 'processId' | 'lastStatus' | 'startedAt' | 'createdBy' | 'workflowTarget' | 'workflowName' | 'isTask'>;
484
- declare type RelatedSubscription = Pick<Subscription, 'subscriptionId' | 'description' | 'status' | 'startDate' | 'insync'> & {
485
- product: Pick<ProductDefinition, 'tag'>;
486
- customer: Pick<Customer, 'fullname'>;
487
- };
488
- declare type ExternalService = {
489
- externalServiceKey: string;
490
- externalServiceId: string;
491
- externalServiceData: object;
492
- };
493
- declare type WfoTreeNodeMap = {
494
- [key: number]: TreeBlock;
495
- };
496
-
497
- declare enum ToastTypes {
498
- ERROR = "ERROR",
499
- SUCCESS = "SUCCESS"
500
- }
501
- declare enum Environment {
502
- DEVELOPMENT = "Development",
503
- PRODUCTION = "Production"
504
- }
505
- declare type OrchestratorConfig = {
506
- environmentName: Environment | string;
507
- orchestratorWebsocketUrl: string;
508
- orchestratorApiBaseUrl: string;
509
- graphqlEndpointCore: string;
510
- engineStatusEndpoint: string;
511
- processStatusCountsEndpoint: string;
512
- processesEndpoint: string;
513
- subscriptionActionsEndpoint: string;
514
- subscriptionProcessesEndpoint: string;
515
- authActive: boolean;
516
- useWebSockets: boolean;
517
- useThemeToggle: boolean;
518
- };
519
- declare enum ColorModes {
520
- LIGHT = "LIGHT",
521
- DARK = "DARK"
522
- }
213
+ } & BaseGraphQlResult;
214
+ declare const useGetResourceTypesQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<ResourceTypeDefinition>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
215
+ baseQueryType?: BaseQueryTypes | undefined;
216
+ apiName?: string | undefined;
217
+ }) => {
218
+ error: _reduxjs_toolkit_query.FetchBaseQueryError;
219
+ data?: undefined;
220
+ meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
221
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
222
+ error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
223
+ data?: undefined;
224
+ meta?: {} | undefined;
225
+ } | {
226
+ error?: undefined;
227
+ data: unknown;
228
+ meta?: {} | undefined;
229
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, ResourceTypesResponse, "orchestratorApi">>;
230
+ declare const useLazyGetResourceTypesQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseLazyQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<ResourceTypeDefinition>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
231
+ baseQueryType?: BaseQueryTypes | undefined;
232
+ apiName?: string | undefined;
233
+ }) => {
234
+ error: _reduxjs_toolkit_query.FetchBaseQueryError;
235
+ data?: undefined;
236
+ meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
237
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
238
+ error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
239
+ data?: undefined;
240
+ meta?: {} | undefined;
241
+ } | {
242
+ error?: undefined;
243
+ data: unknown;
244
+ meta?: {} | undefined;
245
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, ResourceTypesResponse, "orchestratorApi">>;
523
246
 
524
- interface NodeSubscription {
525
- name: string;
526
- subscription_id: string;
527
- description: string;
528
- product: ProductDefinition;
529
- product_id: string;
530
- status: string;
531
- insync: boolean;
532
- customer_id: string;
533
- start_date: number;
534
- end_date: number;
535
- note: string;
536
- }
537
- interface ServicePort {
538
- subscription_id?: string;
539
- vlan?: string;
540
- bandwidth?: number;
541
- nonremovable?: boolean;
542
- modifiable?: boolean;
543
- }
544
- declare enum PortMode {
545
- TAGGED = "tagged",
546
- UNTAGGED = "untagged",
547
- LINK_MEMBER = "link_member"
548
- }
549
- declare enum ProductTag {
550
- MSC = "MSC",
551
- MSCNL = "MSCNL",
552
- IRBSP = "IRBSP",
553
- SP = "SP",
554
- SPNL = "SPNL",
555
- AGGSP = "AGGSP",
556
- AGGSPNL = "AGGSPNL"
557
- }
558
- interface ImsPort {
559
- id: number;
560
- line_name: string;
561
- node: string;
562
- port: string;
563
- iface_type: string;
564
- patchposition: string;
565
- status: string;
566
- }
567
- interface ImsNode {
568
- id: number;
569
- name: string;
570
- status: string;
571
- }
572
- interface SortOption<nameStrings = string> {
573
- name: nameStrings;
574
- descending: boolean;
575
- }
576
- interface IpPrefix {
577
- id: number;
578
- prefix: string;
579
- version: number;
580
- }
581
- interface IpBlock {
582
- id: number;
583
- prefix: string;
584
- ip_network: string;
585
- description: string;
586
- state: number;
587
- parent: number;
588
- version: number;
589
- parent_ipam_id: number;
590
- is_subnet: boolean;
591
- state_repr: string;
592
- }
247
+ declare const workflowsQuery = "\nquery MetadataWorkflows(\n $first: Int!\n $after: Int!\n $sortBy: [GraphqlSort!]\n $query: String\n) {\n workflows(\n first: $first\n after: $after\n sortBy: $sortBy\n query: $query\n filterBy: { field: \"target\", value: \"CREATE-MODIFY-TERMINATE\" }\n ) {\n page {\n name\n description\n target\n products {\n tag\n }\n createdAt\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n totalItems\n sortFields\n filterFields\n }\n }\n}\n";
248
+ declare type WorkflowsResponse = {
249
+ workflows: WorkflowDefinition[];
250
+ } & BaseGraphQlResult;
251
+ declare const useGetWorkflowsQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<WorkflowDefinition>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
252
+ baseQueryType?: BaseQueryTypes | undefined;
253
+ apiName?: string | undefined;
254
+ }) => {
255
+ error: _reduxjs_toolkit_query.FetchBaseQueryError;
256
+ data?: undefined;
257
+ meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
258
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
259
+ error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
260
+ data?: undefined;
261
+ meta?: {} | undefined;
262
+ } | {
263
+ error?: undefined;
264
+ data: unknown;
265
+ meta?: {} | undefined;
266
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, WorkflowsResponse, "orchestratorApi">>;
267
+ declare const useLazyGetWorkflowsQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseLazyQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<WorkflowDefinition>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
268
+ baseQueryType?: BaseQueryTypes | undefined;
269
+ apiName?: string | undefined;
270
+ }) => {
271
+ error: _reduxjs_toolkit_query.FetchBaseQueryError;
272
+ data?: undefined;
273
+ meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
274
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
275
+ error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
276
+ data?: undefined;
277
+ meta?: {} | undefined;
278
+ } | {
279
+ error?: undefined;
280
+ data: unknown;
281
+ meta?: {} | undefined;
282
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, WorkflowsResponse, "orchestratorApi">>;
593
283
 
594
- declare class BaseApiClient {
595
- private _axiosInstance;
596
- constructor(apiPath: string, accessToken?: string);
597
- axiosFetch: <R = object>(path: string, options?: {}, headers?: {}, showErrorDialog?: boolean, result?: boolean) => Promise<R>;
598
- catchErrorStatus: <T>(promise: Promise<unknown>, status: number, callback: (json: T) => void) => Promise<unknown>;
599
- fetchJson: <R = object>(path: string, options?: {}, headers?: {}, showErrorDialog?: boolean, result?: boolean) => Promise<R>;
600
- fetchJsonWithCustomErrorHandling: <R = object>(path: string) => Promise<R>;
601
- postPutJson: <R = object>(path: string, processInput: object, method: string, showErrorDialog?: boolean, result?: boolean) => Promise<R>;
602
- }
603
- declare class ApiClient extends BaseApiClient {
604
- startForm: (formKey: string, userInputs: object[]) => Promise<{
605
- id: string;
606
- }>;
607
- startProcess: (workflowName: string, processInput: object) => Promise<unknown>;
608
- resumeProcess: (processId: string, userInput: object[]) => Promise<object>;
609
- products: () => Promise<LegacyProduct[]>;
610
- productById: (productId: string) => Promise<ProductDefinition>;
611
- prefix_filters: () => Promise<IpPrefix[]>;
612
- ip_blocks: (parentPrefix: number) => Promise<IpBlock[]>;
613
- free_subnets: (subnet: string, netmask: number, prefixlen: number) => Promise<string[]>;
614
- getFreePortsByNodeSubscriptionIdAndSpeed: (nodeSubscriptionId: string, interfaceSpeed: number, mode: string) => Promise<ImsPort[]>;
615
- subscriptions: (tagList?: string[], statusList?: string[], productList?: string[]) => Promise<NodeSubscription[]>;
616
- nodeSubscriptions: (statusList?: string[]) => Promise<NodeSubscription[]>;
617
- }
618
- declare function getApiClient(apiEndPoint: string, accessToken?: string): ApiClient;
284
+ declare const tasksQuery = "\nquery MetadataWorkflows(\n $first: Int!\n $after: Int!\n $sortBy: [GraphqlSort!]\n $query: String\n) {\n workflows(\n first: $first\n after: $after\n sortBy: $sortBy\n query: $query\n filterBy: { field: \"target\", value: \"SYSTEM\" }\n ) {\n page {\n name\n description\n target\n products {\n tag\n }\n createdAt\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n totalItems\n sortFields\n filterFields\n }\n }\n}\n";
285
+ declare type TasksResponse = {
286
+ tasks: TaskDefinition[];
287
+ } & BaseGraphQlResult;
288
+ declare const useGetTasksQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<TaskDefinition>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
289
+ baseQueryType?: BaseQueryTypes | undefined;
290
+ apiName?: string | undefined;
291
+ }) => {
292
+ error: _reduxjs_toolkit_query.FetchBaseQueryError;
293
+ data?: undefined;
294
+ meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
295
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
296
+ error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
297
+ data?: undefined;
298
+ meta?: {} | undefined;
299
+ } | {
300
+ error?: undefined;
301
+ data: unknown;
302
+ meta?: {} | undefined;
303
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, TasksResponse, "orchestratorApi">>;
304
+ declare const useLazyGetTasksQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseLazyQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<TaskDefinition>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
305
+ baseQueryType?: BaseQueryTypes | undefined;
306
+ apiName?: string | undefined;
307
+ }) => {
308
+ error: _reduxjs_toolkit_query.FetchBaseQueryError;
309
+ data?: undefined;
310
+ meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
311
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
312
+ error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
313
+ data?: undefined;
314
+ meta?: {} | undefined;
315
+ } | {
316
+ error?: undefined;
317
+ data: unknown;
318
+ meta?: {} | undefined;
319
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, TasksResponse, "orchestratorApi">>;
320
+
321
+ 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";
322
+ declare type ProcessListResponse = {
323
+ processes: Process[];
324
+ } & BaseGraphQlResult;
325
+ declare const useGetProcessListQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<Process>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
326
+ baseQueryType?: BaseQueryTypes | undefined;
327
+ apiName?: string | undefined;
328
+ }) => {
329
+ error: _reduxjs_toolkit_query.FetchBaseQueryError;
330
+ data?: undefined;
331
+ meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
332
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
333
+ error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
334
+ data?: undefined;
335
+ meta?: {} | undefined;
336
+ } | {
337
+ error?: undefined;
338
+ data: unknown;
339
+ meta?: {} | undefined;
340
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, ProcessListResponse, "orchestratorApi">>;
341
+ declare const useLazyGetProcessListQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseLazyQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<Process>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
342
+ baseQueryType?: BaseQueryTypes | undefined;
343
+ apiName?: string | undefined;
344
+ }) => {
345
+ error: _reduxjs_toolkit_query.FetchBaseQueryError;
346
+ data?: undefined;
347
+ meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
348
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
349
+ error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
350
+ data?: undefined;
351
+ meta?: {} | undefined;
352
+ } | {
353
+ error?: undefined;
354
+ data: unknown;
355
+ meta?: {} | undefined;
356
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, ProcessListResponse, "orchestratorApi">>;
357
+
358
+ declare const processListSummaryQuery = "\n query ProcessListSummary(\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 processId\n workflowName\n startedAt\n }\n pageInfo {\n totalItems\n startCursor\n endCursor\n }\n }\n }\n";
359
+ declare type ProcessSummary = Pick<Process, 'processId' | 'workflowName' | 'startedAt'>;
360
+ declare type ProcessListSummaryResponse = {
361
+ processes: ProcessSummary[];
362
+ } & BaseGraphQlResult;
363
+ declare const useGetProcessListSummaryQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<Process>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
364
+ baseQueryType?: BaseQueryTypes | undefined;
365
+ apiName?: string | undefined;
366
+ }) => {
367
+ error: _reduxjs_toolkit_query.FetchBaseQueryError;
368
+ data?: undefined;
369
+ meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
370
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
371
+ error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
372
+ data?: undefined;
373
+ meta?: {} | undefined;
374
+ } | {
375
+ error?: undefined;
376
+ data: unknown;
377
+ meta?: {} | undefined;
378
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, ProcessListSummaryResponse, "orchestratorApi">>;
619
379
 
620
380
  declare type WfoBadgeProps = EuiBadgeProps & {
621
381
  textColor: TextColor | string;
@@ -1390,27 +1150,17 @@ declare module 'uniforms' {
1390
1150
  }
1391
1151
  }
1392
1152
 
1393
- interface UserInputFormWizardProps$1 {
1394
- stepUserInput: InputForm;
1395
- stepSubmit: (processInput: object[]) => Promise<unknown>;
1396
- cancel?: () => void;
1397
- isTask: boolean;
1398
- hasNext?: boolean;
1399
- isResuming?: boolean;
1400
- }
1401
- declare function UserInputFormWizard({ hasNext, stepUserInput, stepSubmit, cancel, isTask, isResuming, }: UserInputFormWizardProps$1): _emotion_react_jsx_runtime.JSX.Element | null;
1402
-
1403
1153
  interface UserInputFormWizardProps {
1404
1154
  stepUserInput: InputForm;
1405
- validSubmit: (processInput: object[]) => Promise<unknown>;
1155
+ stepSubmit: (processInput: object[]) => Promise<unknown>;
1406
1156
  cancel?: () => void;
1407
1157
  isTask: boolean;
1408
1158
  hasNext?: boolean;
1409
1159
  isResuming?: boolean;
1410
1160
  }
1411
- declare function UserInputFormWizardDeprecated({ hasNext, stepUserInput, validSubmit, cancel, isTask, isResuming, }: UserInputFormWizardProps): _emotion_react_jsx_runtime.JSX.Element | null;
1161
+ declare const UserInputFormWizard: ({ hasNext, stepUserInput, stepSubmit, cancel, isTask, isResuming, }: UserInputFormWizardProps) => _emotion_react_jsx_runtime.JSX.Element | null;
1412
1162
 
1413
- declare type FieldProps<Value, Extra = object, InputElementType = HTMLInputElement, ElementType = HTMLDivElement> = HTMLFieldProps<Value, ElementType, {
1163
+ declare type FieldProps$1<Value, Extra = object, InputElementType = HTMLInputElement, ElementType = HTMLDivElement> = HTMLFieldProps<Value, ElementType, {
1414
1164
  inputRef?: Ref<InputElementType>;
1415
1165
  description?: string;
1416
1166
  } & Extra>;
@@ -1422,7 +1172,7 @@ interface ContactPerson {
1422
1172
  declare type AcceptItemType = 'info' | 'label' | 'warning' | 'url' | 'checkbox' | '>checkbox' | 'checkbox?' | '>checkbox?' | 'skip' | 'margin' | 'value';
1423
1173
  declare type AcceptItem = [string, AcceptItemType, Record<string, string>?];
1424
1174
  declare type AcceptValue = 'SKIPPED' | 'ACCEPTED' | 'INCOMPLETE';
1425
- declare type AcceptFieldProps = FieldProps<AcceptValue, {
1175
+ declare type AcceptFieldProps = FieldProps$1<AcceptValue, {
1426
1176
  data?: AcceptItem[];
1427
1177
  }>;
1428
1178
  declare module 'uniforms' {
@@ -1432,28 +1182,28 @@ declare module 'uniforms' {
1432
1182
  }
1433
1183
  declare const AcceptField: uniforms.ConnectedField<AcceptFieldProps, AcceptValue | undefined>;
1434
1184
 
1435
- declare type BoolFieldProps = FieldProps$1<boolean>;
1185
+ declare type BoolFieldProps = FieldProps<boolean>;
1436
1186
  declare const BoolField: uniforms.ConnectedField<BoolFieldProps, boolean | undefined>;
1437
1187
 
1438
- declare type DividerFieldProps = FieldProps$1<null, object, null, HTMLDivElement>;
1188
+ declare type DividerFieldProps = FieldProps<null, object, null, HTMLDivElement>;
1439
1189
  declare const DividerField: uniforms.ConnectedField<DividerFieldProps, null | undefined>;
1440
1190
 
1441
- declare type ErrorFieldProps = FieldProps$1<null>;
1191
+ declare type ErrorFieldProps = FieldProps<null>;
1442
1192
  declare const ErrorField: uniforms.ConnectedField<ErrorFieldProps, null | undefined>;
1443
1193
 
1444
1194
  declare type ErrorsFieldProps = HTMLProps<HTMLDivElement>;
1445
1195
  declare const ErrorsField: (props: ErrorsFieldProps) => _emotion_react_jsx_runtime.JSX.Element | null;
1446
1196
 
1447
- declare type LabelFieldProps = FieldProps$1<null, object, null, HTMLDivElement>;
1197
+ declare type LabelFieldProps = FieldProps<null, object, null, HTMLDivElement>;
1448
1198
  declare const LabelField: uniforms.ConnectedField<LabelFieldProps, null | undefined>;
1449
1199
 
1450
- declare type ListAddFieldProps = FieldProps<string, {
1200
+ declare type ListAddFieldProps = FieldProps$1<string, {
1451
1201
  initialCount?: number;
1452
1202
  outerList?: boolean;
1453
1203
  }>;
1454
1204
  declare const ListAddField: uniforms.ConnectedField<ListAddFieldProps, string | undefined>;
1455
1205
 
1456
- declare type ListDelFieldProps = FieldProps<null, {
1206
+ declare type ListDelFieldProps = FieldProps$1<null, {
1457
1207
  initialCount?: number;
1458
1208
  itemProps?: object;
1459
1209
  outerList?: boolean;
@@ -1467,23 +1217,23 @@ declare module 'uniforms' {
1467
1217
  outerList: never;
1468
1218
  }
1469
1219
  }
1470
- declare type ListFieldProps = FieldProps<unknown[], {
1220
+ declare type ListFieldProps = FieldProps$1<unknown[], {
1471
1221
  initialCount?: number;
1472
1222
  itemProps?: object;
1473
1223
  uniqueItems?: boolean;
1474
1224
  }, null, HTMLUListElement>;
1475
1225
  declare const ListField: uniforms.ConnectedField<ListFieldProps, unknown[] | undefined>;
1476
1226
 
1477
- declare type ListSelectFieldProps = FieldProps<string | string[], {
1227
+ declare type ListSelectFieldProps = FieldProps$1<string | string[], {
1478
1228
  allowedValues?: string[];
1479
1229
  transform?(value: string): string;
1480
1230
  }>;
1481
1231
  declare function ListSelectField({ allowedValues, fieldType, name, transform, ...props }: ListSelectFieldProps): _emotion_react_jsx_runtime.JSX.Element;
1482
1232
 
1483
- declare type LongTextFieldProps = FieldProps$1<string, object, HTMLTextAreaElement>;
1233
+ declare type LongTextFieldProps = FieldProps<string, object, HTMLTextAreaElement>;
1484
1234
  declare const LongTextField: uniforms.ConnectedField<LongTextFieldProps, string | undefined>;
1485
1235
 
1486
- declare type NumFieldProps = FieldProps$1<number, {
1236
+ declare type NumFieldProps = FieldProps<number, {
1487
1237
  max?: number;
1488
1238
  min?: number;
1489
1239
  precision?: number;
@@ -1491,7 +1241,7 @@ declare type NumFieldProps = FieldProps$1<number, {
1491
1241
  }>;
1492
1242
  declare const NumField: uniforms.ConnectedField<NumFieldProps, number | undefined>;
1493
1243
 
1494
- declare type SelectFieldProps = FieldProps<string | string[], {
1244
+ declare type SelectFieldProps = FieldProps$1<string | string[], {
1495
1245
  allowedValues?: string[];
1496
1246
  transform?(value: string): string;
1497
1247
  }>;
@@ -1507,23 +1257,23 @@ declare module 'uniforms' {
1507
1257
  }
1508
1258
  declare const ProductField: uniforms.ConnectedField<ProductFieldProps, string | string[] | undefined>;
1509
1259
 
1510
- declare type RadioFieldProps = FieldProps$1<string, {
1260
+ declare type RadioFieldProps = FieldProps<string, {
1511
1261
  allowedValues?: string[];
1512
1262
  checkboxes?: boolean;
1513
1263
  transform?(value: string): string;
1514
1264
  }>;
1515
1265
  declare const RadioField: uniforms.ConnectedField<RadioFieldProps, string | undefined>;
1516
1266
 
1517
- declare type SubmitFieldProps = FieldProps$1<null, object, HTMLInputElement, HTMLInputElement>;
1267
+ declare type SubmitFieldProps = FieldProps<null, object, HTMLInputElement, HTMLInputElement>;
1518
1268
  declare const SubmitField: ({ disabled, inputRef, readOnly, value, ...props }: SubmitFieldProps) => _emotion_react_jsx_runtime.JSX.Element;
1519
1269
 
1520
- declare type SubscriptionSummaryFieldProps = FieldProps<string>;
1270
+ declare type SubscriptionSummaryFieldProps = FieldProps$1<string>;
1521
1271
  declare const SubscriptionSummaryField: uniforms.ConnectedField<SubscriptionSummaryFieldProps, string | undefined>;
1522
1272
 
1523
- declare type TextFieldProps = FieldProps$1<string>;
1273
+ declare type TextFieldProps = FieldProps<string>;
1524
1274
  declare const TextField: uniforms.ConnectedField<TextFieldProps, string | undefined>;
1525
1275
 
1526
- declare type DateFieldProps = FieldProps<Date, {
1276
+ declare type DateFieldProps = FieldProps$1<Date, {
1527
1277
  max?: Date;
1528
1278
  min?: Date;
1529
1279
  }>;
@@ -1553,7 +1303,7 @@ declare const getStyles: (theme: EuiThemeComputed$1) => {
1553
1303
  };
1554
1304
 
1555
1305
  declare function stop(e: React__default.SyntheticEvent): void;
1556
- declare type ContactPersonNameFieldProps = FieldProps<string, {
1306
+ declare type ContactPersonNameFieldProps = FieldProps$1<string, {
1557
1307
  customerId?: string;
1558
1308
  customerKey?: string;
1559
1309
  }>;
@@ -1583,7 +1333,7 @@ declare module 'uniforms' {
1583
1333
  }
1584
1334
  declare const ImsNodeIdField: uniforms.ConnectedField<ImsNodeIdFieldProps, number | undefined>;
1585
1335
 
1586
- declare type ImsPortFieldProps = FieldProps<number, {
1336
+ declare type ImsPortFieldProps = FieldProps$1<number, {
1587
1337
  nodeSubscriptionId?: string;
1588
1338
  interfaceSpeed: number | string;
1589
1339
  imsPortMode?: 'patched' | 'unpatched' | 'all';
@@ -1601,7 +1351,7 @@ declare const ImsPortIdField: uniforms.ConnectedField<ImsPortFieldProps, number
1601
1351
 
1602
1352
  declare const imsPortIdFieldStyling: _emotion_utils.SerializedStyles;
1603
1353
 
1604
- declare type IPvAnyNetworkFieldProps = FieldProps<string, {
1354
+ declare type IPvAnyNetworkFieldProps = FieldProps$1<string, {
1605
1355
  prefixMin?: number;
1606
1356
  }>;
1607
1357
  declare const IpNetworkField: uniforms.ConnectedField<IPvAnyNetworkFieldProps, string | undefined>;
@@ -1612,7 +1362,7 @@ declare const splitPrefixStyling: _emotion_utils.SerializedStyles;
1612
1362
 
1613
1363
  declare function utcTimestampToLocalMoment(utc_timestamp: number): moment.Moment;
1614
1364
  declare function localMomentToUtcTimestamp(local_moment: Moment): number;
1615
- declare type TimestampFieldProps = FieldProps<number, {
1365
+ declare type TimestampFieldProps = FieldProps$1<number, {
1616
1366
  max?: number;
1617
1367
  min?: number;
1618
1368
  showTimeSelect: boolean;
@@ -1622,7 +1372,7 @@ declare type TimestampFieldProps = FieldProps<number, {
1622
1372
  }>;
1623
1373
  declare const TimestampField: uniforms.ConnectedField<TimestampFieldProps, number | undefined>;
1624
1374
 
1625
- declare type VlanFieldProps = FieldProps<string, {
1375
+ declare type VlanFieldProps = FieldProps$1<string, {
1626
1376
  subscriptionFieldName?: string;
1627
1377
  nsiVlansOnly?: boolean;
1628
1378
  }>;
@@ -1630,7 +1380,7 @@ declare const VlanField: uniforms.ConnectedField<VlanFieldProps, string | undefi
1630
1380
 
1631
1381
  declare const ipamStates: (string | null)[];
1632
1382
 
1633
- declare type NestFieldProps = FieldProps<null, {
1383
+ declare type NestFieldProps = FieldProps$1<null, {
1634
1384
  fields?: unknown[];
1635
1385
  itemProps?: object;
1636
1386
  }>;
@@ -1643,7 +1393,7 @@ declare module 'uniforms' {
1643
1393
  }
1644
1394
  declare const NestField: uniforms.ConnectedField<NestFieldProps, null | undefined>;
1645
1395
 
1646
- declare type OptGroupFieldProps = FieldProps<null, {
1396
+ declare type OptGroupFieldProps = FieldProps$1<null, {
1647
1397
  fields?: unknown[];
1648
1398
  itemProps?: object;
1649
1399
  }>;
@@ -1661,7 +1411,7 @@ declare module 'uniforms' {
1661
1411
  statuses: never;
1662
1412
  }
1663
1413
  }
1664
- declare type SubscriptionFieldProps = FieldProps<string, {
1414
+ declare type SubscriptionFieldProps = FieldProps$1<string, {
1665
1415
  productIds?: string[];
1666
1416
  excludedSubscriptionIds?: string[];
1667
1417
  customerId?: string;
@@ -1908,116 +1658,40 @@ declare const WfoStartTaskButtonComboBox: () => _emotion_react_jsx_runtime.JSX.E
1908
1658
 
1909
1659
  declare const WfoStartWorkflowButtonComboBox: () => _emotion_react_jsx_runtime.JSX.Element;
1910
1660
 
1911
- declare enum BaseQueryTypes {
1912
- fetch = "fetch",
1913
- graphql = "graphql",
1914
- custom = "custom"
1915
- }
1916
- declare enum CacheTags {
1917
- engineStatus = "engineStatus",
1918
- processList = "processList",
1919
- processListSummary = "processListSummary",
1920
- subscription = "subscription",
1921
- subscriptionList = "subscriptionList"
1922
- }
1923
- declare enum HttpStatus {
1924
- FormNotComplete = 510,
1925
- BadGateway = 502,
1926
- BadRequest = 400
1927
- }
1928
- declare type ExtraOptions = {
1929
- baseQueryType?: BaseQueryTypes;
1930
- apiName?: string;
1931
- };
1932
- declare const prepareHeaders: (headers: Headers) => Promise<Headers>;
1933
- declare const handlePromiseErrorWithCallback: <T>(promise: Promise<unknown>, status: number, callbackAction: (json: T) => void) => Promise<unknown>;
1934
- declare const orchestratorApi: _reduxjs_toolkit_query_react.Api<(args: any, api: _reduxjs_toolkit_query_react.BaseQueryApi, extraOptions: ExtraOptions) => {
1935
- error: _reduxjs_toolkit_query_react.FetchBaseQueryError;
1936
- data?: undefined;
1937
- meta?: _reduxjs_toolkit_query_react.FetchBaseQueryMeta | undefined;
1938
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query_react.FetchBaseQueryError, _reduxjs_toolkit_query_react.FetchBaseQueryMeta>> | {
1939
- error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
1940
- data?: undefined;
1941
- meta?: {} | undefined;
1942
- } | {
1943
- error?: undefined;
1944
- data: unknown;
1945
- meta?: {} | undefined;
1946
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, {}, "orchestratorApi", CacheTags, typeof _reduxjs_toolkit_query_react.coreModuleName | typeof _reduxjs_toolkit_query_react.reactHooksModuleName>;
1947
-
1948
- declare const useGetCustomersQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
1949
- baseQueryType?: BaseQueryTypes | undefined;
1950
- apiName?: string | undefined;
1951
- }) => {
1952
- error: _reduxjs_toolkit_query.FetchBaseQueryError;
1953
- data?: undefined;
1954
- meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
1955
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
1956
- error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
1957
- data?: undefined;
1958
- meta?: {} | undefined;
1959
- } | {
1960
- error?: undefined;
1961
- data: unknown;
1962
- meta?: {} | undefined;
1963
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, Customer[], "orchestratorApi">>;
1964
- declare const useGetCustomerQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<{
1965
- customerIds: string[];
1966
- }, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
1967
- baseQueryType?: BaseQueryTypes | undefined;
1968
- apiName?: string | undefined;
1969
- }) => {
1970
- error: _reduxjs_toolkit_query.FetchBaseQueryError;
1971
- data?: undefined;
1972
- meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
1973
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
1974
- error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
1975
- data?: undefined;
1976
- meta?: {} | undefined;
1977
- } | {
1978
- error?: undefined;
1979
- data: unknown;
1980
- meta?: {} | undefined;
1981
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, Customer[], "orchestratorApi">>;
1661
+ declare type SubscriptionListResponse = {
1662
+ subscriptions: Subscription[];
1663
+ } & BaseGraphQlResult;
1982
1664
 
1983
- declare const useSetSubscriptionInSyncMutation: _reduxjs_toolkit_dist_query_react_buildHooks.UseMutation<_reduxjs_toolkit_query.MutationDefinition<string, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
1984
- baseQueryType?: BaseQueryTypes | undefined;
1985
- apiName?: string | undefined;
1986
- }) => {
1987
- error: _reduxjs_toolkit_query.FetchBaseQueryError;
1988
- data?: undefined;
1989
- meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
1990
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
1991
- error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
1992
- data?: undefined;
1993
- meta?: {} | undefined;
1994
- } | {
1995
- error?: undefined;
1996
- data: unknown;
1997
- meta?: {} | undefined;
1998
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, void, "orchestratorApi">>;
1665
+ declare type SubscriptionListItem = Pick<Subscription, 'subscriptionId' | 'description' | 'status' | 'insync' | 'note'> & {
1666
+ startDate: Date | null;
1667
+ endDate: Date | null;
1668
+ productName: string;
1669
+ tag: string | null;
1670
+ customerFullname: string;
1671
+ customerShortcode: string;
1672
+ metadata: object | null;
1673
+ };
1674
+ declare const mapGraphQlSubscriptionsResultToPageInfo: (graphqlResponse: SubscriptionListResponse) => GraphQLPageInfo;
1675
+ declare const mapGraphQlSubscriptionsResultToSubscriptionListItems: (graphqlResponse: SubscriptionListResponse) => SubscriptionListItem[];
1999
1676
 
2000
- declare const productBlocksQuery = "\n query MetadataProductBlocks(\n $first: Int!\n $after: Int!\n $sortBy: [GraphqlSort!]\n $query: String\n ) {\n productBlocks(\n first: $first\n after: $after\n sortBy: $sortBy\n query: $query\n ) {\n page {\n productBlockId\n name\n tag\n description\n status\n createdAt\n endDate\n resourceTypes {\n description\n resourceType\n resourceTypeId\n }\n dependsOn {\n productBlockId\n name\n tag\n description\n status\n createdAt\n endDate\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n totalItems\n sortFields\n filterFields\n }\n }\n }\n";
2001
- declare type ProductBlocksResponse = {
2002
- productBlocks: ProductBlockDefinition[];
2003
- } & BaseGraphQlResult;
2004
- declare const useGetProductBlocksQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<ProductBlockDefinition>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
2005
- baseQueryType?: BaseQueryTypes | undefined;
2006
- apiName?: string | undefined;
2007
- }) => {
2008
- error: _reduxjs_toolkit_query.FetchBaseQueryError;
2009
- data?: undefined;
2010
- meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
2011
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
2012
- error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
2013
- data?: undefined;
2014
- meta?: {} | undefined;
2015
- } | {
2016
- error?: undefined;
2017
- data: unknown;
2018
- meta?: {} | undefined;
2019
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, ProductBlocksResponse, "orchestratorApi">>;
2020
- declare const useLazyGetProductBlocksQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseLazyQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<ProductBlockDefinition>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
1677
+ declare enum WfoSubscriptionListTab {
1678
+ ACTIVE = "ACTIVE",
1679
+ TERMINATED = "TERMINATED",
1680
+ TRANSIENT = "TRANSIENT",
1681
+ ALL = "ALL"
1682
+ }
1683
+ declare const subscriptionListTabs: WfoFilterTab<WfoSubscriptionListTab, SubscriptionListItem>[];
1684
+
1685
+ declare type WfoSubscriptionsListProps = {
1686
+ alwaysOnFilters?: FilterQuery<SubscriptionListItem>[];
1687
+ dataDisplayParams: DataDisplayParams<SubscriptionListItem>;
1688
+ setDataDisplayParam: <DisplayParamKey extends keyof DataDisplayParams<SubscriptionListItem>>(prop: DisplayParamKey, value: DataDisplayParams<SubscriptionListItem>[DisplayParamKey]) => void;
1689
+ hiddenColumns: TableColumnKeys<SubscriptionListItem> | undefined;
1690
+ };
1691
+ declare const WfoSubscriptionsList: FC<WfoSubscriptionsListProps>;
1692
+
1693
+ declare const processStepsQuery = "\n query ProcessSteps($processName: String!) {\n workflows(filterBy: { field: \"name\", value: $processName }) {\n page {\n steps {\n name\n assignee\n }\n }\n }\n }\n";
1694
+ declare const useGetTimeLineItemsQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<string, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
2021
1695
  baseQueryType?: BaseQueryTypes | undefined;
2022
1696
  apiName?: string | undefined;
2023
1697
  }) => {
@@ -2032,13 +1706,13 @@ declare const useLazyGetProductBlocksQuery: _reduxjs_toolkit_dist_query_react_bu
2032
1706
  error?: undefined;
2033
1707
  data: unknown;
2034
1708
  meta?: {} | undefined;
2035
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, ProductBlocksResponse, "orchestratorApi">>;
1709
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, TimelineItem[], "orchestratorApi">>;
2036
1710
 
2037
- declare const resourceTypesQuery = "\nquery MetadataResourceTypes(\n $first: Int!\n $after: Int!\n $sortBy: [GraphqlSort!]\n $query: String\n) {\n resourceTypes(\n first: $first\n after: $after\n sortBy: $sortBy\n query: $query\n ) {\n page {\n resourceTypeId\n resourceType\n description\n productBlocks {\n description\n name\n productBlockId\n status\n createdAt\n endDate\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n totalItems\n sortFields\n filterFields\n }\n }\n}\n";
2038
- declare type ResourceTypesResponse = {
2039
- resourceTypes: ResourceTypeDefinition[];
1711
+ declare const products = "\n query MetadataProducts(\n $first: Int!\n $after: Int!\n $sortBy: [GraphqlSort!]\n $query: String\n ) {\n products(first: $first, after: $after, sortBy: $sortBy, query: $query) {\n page {\n productId\n name\n description\n tag\n createdAt\n productType\n status\n productBlocks {\n name\n }\n fixedInputs {\n name\n value\n }\n endDate\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n totalItems\n sortFields\n filterFields\n }\n }\n }\n";
1712
+ declare type ProductsResponse = {
1713
+ products: ProductDefinition[];
2040
1714
  } & BaseGraphQlResult;
2041
- declare const useGetResourceTypesQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<ResourceTypeDefinition>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
1715
+ declare const useGetProductsQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<ProductDefinition>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
2042
1716
  baseQueryType?: BaseQueryTypes | undefined;
2043
1717
  apiName?: string | undefined;
2044
1718
  }) => {
@@ -2053,8 +1727,8 @@ declare const useGetResourceTypesQuery: _reduxjs_toolkit_dist_query_react_buildH
2053
1727
  error?: undefined;
2054
1728
  data: unknown;
2055
1729
  meta?: {} | undefined;
2056
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, ResourceTypesResponse, "orchestratorApi">>;
2057
- declare const useLazyGetResourceTypesQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseLazyQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<ResourceTypeDefinition>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
1730
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, ProductsResponse, "orchestratorApi">>;
1731
+ declare const useLazyGetProductsQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseLazyQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<ProductDefinition>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
2058
1732
  baseQueryType?: BaseQueryTypes | undefined;
2059
1733
  apiName?: string | undefined;
2060
1734
  }) => {
@@ -2069,29 +1743,13 @@ declare const useLazyGetResourceTypesQuery: _reduxjs_toolkit_dist_query_react_bu
2069
1743
  error?: undefined;
2070
1744
  data: unknown;
2071
1745
  meta?: {} | undefined;
2072
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, ResourceTypesResponse, "orchestratorApi">>;
1746
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, ProductsResponse, "orchestratorApi">>;
2073
1747
 
2074
- declare const workflowsQuery = "\nquery MetadataWorkflows(\n $first: Int!\n $after: Int!\n $sortBy: [GraphqlSort!]\n $query: String\n) {\n workflows(\n first: $first\n after: $after\n sortBy: $sortBy\n query: $query\n filterBy: { field: \"target\", value: \"CREATE-MODIFY-TERMINATE\" }\n ) {\n page {\n name\n description\n target\n products {\n tag\n }\n createdAt\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n totalItems\n sortFields\n filterFields\n }\n }\n}\n";
2075
- declare type WorkflowsResponse = {
2076
- workflows: WorkflowDefinition[];
1748
+ declare const productsSummary = "\n query MetadataProducts(\n $first: Int!\n $after: Int!\n $sortBy: [GraphqlSort!]\n ) {\n products(first: $first, after: $after, sortBy: $sortBy) {\n page {\n name\n subscriptions {\n pageInfo {\n totalItems\n }\n }\n }\n pageInfo {\n totalItems\n startCursor\n endCursor\n }\n }\n }\n";
1749
+ declare type ProductsSummaryResponse = {
1750
+ products: ProductsSummary[];
2077
1751
  } & BaseGraphQlResult;
2078
- declare const useGetWorkflowsQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<WorkflowDefinition>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
2079
- baseQueryType?: BaseQueryTypes | undefined;
2080
- apiName?: string | undefined;
2081
- }) => {
2082
- error: _reduxjs_toolkit_query.FetchBaseQueryError;
2083
- data?: undefined;
2084
- meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
2085
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
2086
- error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
2087
- data?: undefined;
2088
- meta?: {} | undefined;
2089
- } | {
2090
- error?: undefined;
2091
- data: unknown;
2092
- meta?: {} | undefined;
2093
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, WorkflowsResponse, "orchestratorApi">>;
2094
- declare const useLazyGetWorkflowsQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseLazyQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<WorkflowDefinition>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
1752
+ declare const useGetProductsSummaryQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<ProductsSummary>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
2095
1753
  baseQueryType?: BaseQueryTypes | undefined;
2096
1754
  apiName?: string | undefined;
2097
1755
  }) => {
@@ -2106,29 +1764,16 @@ declare const useLazyGetWorkflowsQuery: _reduxjs_toolkit_dist_query_react_buildH
2106
1764
  error?: undefined;
2107
1765
  data: unknown;
2108
1766
  meta?: {} | undefined;
2109
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, WorkflowsResponse, "orchestratorApi">>;
1767
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, ProductsSummaryResponse, "orchestratorApi">>;
2110
1768
 
2111
- declare const tasksQuery = "\nquery MetadataWorkflows(\n $first: Int!\n $after: Int!\n $sortBy: [GraphqlSort!]\n $query: String\n) {\n workflows(\n first: $first\n after: $after\n sortBy: $sortBy\n query: $query\n filterBy: { field: \"target\", value: \"SYSTEM\" }\n ) {\n page {\n name\n description\n target\n products {\n tag\n }\n createdAt\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n totalItems\n sortFields\n filterFields\n }\n }\n}\n";
2112
- declare type TasksResponse = {
2113
- tasks: TaskDefinition[];
1769
+ declare const RelatedSubscriptionsQuery = "\nquery RelatedSubscriptions(\n $subscriptionId: String!\n $first: Int!\n $after: Int!\n $sortBy: [GraphqlSort!]\n $terminatedSubscriptionFilter: [GraphqlFilter!]\n) {\n subscriptions(\n filterBy: { value: $subscriptionId, field: \"subscriptionId\" }\n ) {\n page {\n subscriptionId\n inUseBySubscriptions(\n first: $first\n after: $after\n sortBy: $sortBy\n filterBy: $terminatedSubscriptionFilter\n ) {\n page {\n subscriptionId\n customer {\n fullname\n }\n description\n insync\n startDate\n status\n product {\n tag\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n totalItems\n sortFields\n filterFields\n }\n }\n }\n }\n}\n";
1770
+ declare type RelatedSubscriptionsResponse = {
1771
+ relatedSubscriptions: RelatedSubscription[];
2114
1772
  } & BaseGraphQlResult;
2115
- declare const useGetTasksQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<TaskDefinition>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
2116
- baseQueryType?: BaseQueryTypes | undefined;
2117
- apiName?: string | undefined;
2118
- }) => {
2119
- error: _reduxjs_toolkit_query.FetchBaseQueryError;
2120
- data?: undefined;
2121
- meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
2122
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
2123
- error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
2124
- data?: undefined;
2125
- meta?: {} | undefined;
2126
- } | {
2127
- error?: undefined;
2128
- data: unknown;
2129
- meta?: {} | undefined;
2130
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, TasksResponse, "orchestratorApi">>;
2131
- declare const useLazyGetTasksQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseLazyQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<TaskDefinition>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
1773
+ declare type RelatedSubscriptionVariables = GraphqlQueryVariables<RelatedSubscription> & Pick<Subscription, 'subscriptionId'> & {
1774
+ terminatedSubscriptionFilter?: GraphqlFilter<RelatedSubscription>;
1775
+ };
1776
+ declare const useGetRelatedSubscriptionsQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<RelatedSubscriptionVariables, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
2132
1777
  baseQueryType?: BaseQueryTypes | undefined;
2133
1778
  apiName?: string | undefined;
2134
1779
  }) => {
@@ -2143,13 +1788,13 @@ declare const useLazyGetTasksQuery: _reduxjs_toolkit_dist_query_react_buildHooks
2143
1788
  error?: undefined;
2144
1789
  data: unknown;
2145
1790
  meta?: {} | undefined;
2146
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, TasksResponse, "orchestratorApi">>;
1791
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, RelatedSubscriptionsResponse, "orchestratorApi">>;
2147
1792
 
2148
- 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";
2149
- declare type ProcessListResponse = {
2150
- processes: Process[];
2151
- } & BaseGraphQlResult;
2152
- declare const useGetProcessListQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<Process>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
1793
+ interface EngineStatusReturnValue {
1794
+ engineStatus: EngineStatus;
1795
+ runningProcesses: number;
1796
+ }
1797
+ declare const useGetEngineStatusQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
2153
1798
  baseQueryType?: BaseQueryTypes | undefined;
2154
1799
  apiName?: string | undefined;
2155
1800
  }) => {
@@ -2164,8 +1809,8 @@ declare const useGetProcessListQuery: _reduxjs_toolkit_dist_query_react_buildHoo
2164
1809
  error?: undefined;
2165
1810
  data: unknown;
2166
1811
  meta?: {} | undefined;
2167
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, ProcessListResponse, "orchestratorApi">>;
2168
- declare const useLazyGetProcessListQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseLazyQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<Process>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
1812
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, EngineStatusReturnValue, "orchestratorApi">>;
1813
+ declare const useClearCacheMutation: _reduxjs_toolkit_dist_query_react_buildHooks.UseMutation<_reduxjs_toolkit_query.MutationDefinition<string, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
2169
1814
  baseQueryType?: BaseQueryTypes | undefined;
2170
1815
  apiName?: string | undefined;
2171
1816
  }) => {
@@ -2180,14 +1825,8 @@ declare const useLazyGetProcessListQuery: _reduxjs_toolkit_dist_query_react_buil
2180
1825
  error?: undefined;
2181
1826
  data: unknown;
2182
1827
  meta?: {} | undefined;
2183
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, ProcessListResponse, "orchestratorApi">>;
2184
-
2185
- declare const processListSummaryQuery = "\n query ProcessListSummary(\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 processId\n workflowName\n startedAt\n }\n pageInfo {\n totalItems\n startCursor\n endCursor\n }\n }\n }\n";
2186
- declare type ProcessSummary = Pick<Process, 'processId' | 'workflowName' | 'startedAt'>;
2187
- declare type ProcessListSummaryResponse = {
2188
- processes: ProcessSummary[];
2189
- } & BaseGraphQlResult;
2190
- declare const useGetProcessListSummaryQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<Process>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
1828
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, void, "orchestratorApi">>;
1829
+ declare const useResetTextSearchIndexMutation: _reduxjs_toolkit_dist_query_react_buildHooks.UseMutation<_reduxjs_toolkit_query.MutationDefinition<null, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
2191
1830
  baseQueryType?: BaseQueryTypes | undefined;
2192
1831
  apiName?: string | undefined;
2193
1832
  }) => {
@@ -2202,10 +1841,8 @@ declare const useGetProcessListSummaryQuery: _reduxjs_toolkit_dist_query_react_b
2202
1841
  error?: undefined;
2203
1842
  data: unknown;
2204
1843
  meta?: {} | undefined;
2205
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, ProcessListSummaryResponse, "orchestratorApi">>;
2206
-
2207
- declare const processStepsQuery = "\n query ProcessSteps($processName: String!) {\n workflows(filterBy: { field: \"name\", value: $processName }) {\n page {\n steps {\n name\n assignee\n }\n }\n }\n }\n";
2208
- declare const useGetTimeLineItemsQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<string, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
1844
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, void, "orchestratorApi">>;
1845
+ declare const useSetEngineStatusMutation: _reduxjs_toolkit_dist_query_react_buildHooks.UseMutation<_reduxjs_toolkit_query.MutationDefinition<boolean, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
2209
1846
  baseQueryType?: BaseQueryTypes | undefined;
2210
1847
  apiName?: string | undefined;
2211
1848
  }) => {
@@ -2220,29 +1857,9 @@ declare const useGetTimeLineItemsQuery: _reduxjs_toolkit_dist_query_react_buildH
2220
1857
  error?: undefined;
2221
1858
  data: unknown;
2222
1859
  meta?: {} | undefined;
2223
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, TimelineItem[], "orchestratorApi">>;
1860
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, EngineStatusReturnValue, "orchestratorApi">>;
2224
1861
 
2225
- declare const products = "\n query MetadataProducts(\n $first: Int!\n $after: Int!\n $sortBy: [GraphqlSort!]\n $query: String\n ) {\n products(first: $first, after: $after, sortBy: $sortBy, query: $query) {\n page {\n productId\n name\n description\n tag\n createdAt\n productType\n status\n productBlocks {\n name\n }\n fixedInputs {\n name\n value\n }\n endDate\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n totalItems\n sortFields\n filterFields\n }\n }\n }\n";
2226
- declare type ProductsResponse = {
2227
- products: ProductDefinition[];
2228
- } & BaseGraphQlResult;
2229
- declare const useGetProductsQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<ProductDefinition>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
2230
- baseQueryType?: BaseQueryTypes | undefined;
2231
- apiName?: string | undefined;
2232
- }) => {
2233
- error: _reduxjs_toolkit_query.FetchBaseQueryError;
2234
- data?: undefined;
2235
- meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
2236
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
2237
- error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
2238
- data?: undefined;
2239
- meta?: {} | undefined;
2240
- } | {
2241
- error?: undefined;
2242
- data: unknown;
2243
- meta?: {} | undefined;
2244
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, ProductsResponse, "orchestratorApi">>;
2245
- declare const useLazyGetProductsQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseLazyQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<ProductDefinition>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
1862
+ declare const useStreamMessagesQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
2246
1863
  baseQueryType?: BaseQueryTypes | undefined;
2247
1864
  apiName?: string | undefined;
2248
1865
  }) => {
@@ -2257,13 +1874,15 @@ declare const useLazyGetProductsQuery: _reduxjs_toolkit_dist_query_react_buildHo
2257
1874
  error?: undefined;
2258
1875
  data: unknown;
2259
1876
  meta?: {} | undefined;
2260
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, ProductsResponse, "orchestratorApi">>;
1877
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, boolean, "orchestratorApi">>;
2261
1878
 
2262
- declare const productsSummary = "\n query MetadataProducts(\n $first: Int!\n $after: Int!\n $sortBy: [GraphqlSort!]\n ) {\n products(first: $first, after: $after, sortBy: $sortBy) {\n page {\n name\n subscriptions {\n pageInfo {\n totalItems\n }\n }\n }\n pageInfo {\n totalItems\n startCursor\n endCursor\n }\n }\n }\n";
2263
- declare type ProductsSummaryResponse = {
2264
- products: ProductsSummary[];
1879
+ declare const subscriptionDetailQuery = "\n query SubscriptionDetail($subscriptionId: String!) {\n subscriptions(\n filterBy: { field: \"subscriptionId\", value: $subscriptionId }\n ) {\n page {\n subscriptionId\n description\n fixedInputs\n insync\n note\n product {\n createdAt\n name\n status\n endDate\n description\n tag\n productType\n productId\n }\n endDate\n startDate\n status\n customerId\n metadata\n customer {\n fullname\n customerId\n shortcode\n }\n customerDescriptions {\n subscriptionId\n description\n customerId\n }\n productBlockInstances {\n id\n ownerSubscriptionId\n parent\n productBlockInstanceValues\n subscriptionInstanceId\n inUseByRelations\n }\n processes(sortBy: { field: \"startedAt\", order: ASC }) {\n page {\n processId\n lastStatus\n startedAt\n createdBy\n workflowTarget\n workflowName\n isTask\n }\n }\n }\n }\n }\n";
1880
+ declare type SubscriptionDetailResponse = {
1881
+ subscription: SubscriptionDetail;
2265
1882
  } & BaseGraphQlResult;
2266
- declare const useGetProductsSummaryQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<ProductsSummary>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
1883
+ declare const useGetSubscriptionDetailQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<{
1884
+ subscriptionId: string;
1885
+ }, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
2267
1886
  baseQueryType?: BaseQueryTypes | undefined;
2268
1887
  apiName?: string | undefined;
2269
1888
  }) => {
@@ -2278,16 +1897,13 @@ declare const useGetProductsSummaryQuery: _reduxjs_toolkit_dist_query_react_buil
2278
1897
  error?: undefined;
2279
1898
  data: unknown;
2280
1899
  meta?: {} | undefined;
2281
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, ProductsSummaryResponse, "orchestratorApi">>;
1900
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, SubscriptionDetailResponse, "orchestratorApi">>;
2282
1901
 
2283
- declare const RelatedSubscriptionsQuery = "\nquery RelatedSubscriptions(\n $subscriptionId: String!\n $first: Int!\n $after: Int!\n $sortBy: [GraphqlSort!]\n $terminatedSubscriptionFilter: [GraphqlFilter!]\n) {\n subscriptions(\n filterBy: { value: $subscriptionId, field: \"subscriptionId\" }\n ) {\n page {\n subscriptionId\n inUseBySubscriptions(\n first: $first\n after: $after\n sortBy: $sortBy\n filterBy: $terminatedSubscriptionFilter\n ) {\n page {\n subscriptionId\n customer {\n fullname\n }\n description\n insync\n startDate\n status\n product {\n tag\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n totalItems\n sortFields\n filterFields\n }\n }\n }\n }\n}\n";
2284
- declare type RelatedSubscriptionsResponse = {
2285
- relatedSubscriptions: RelatedSubscription[];
2286
- } & BaseGraphQlResult;
2287
- declare type RelatedSubscriptionVariables = GraphqlQueryVariables<RelatedSubscription> & Pick<Subscription, 'subscriptionId'> & {
2288
- terminatedSubscriptionFilter?: GraphqlFilter<RelatedSubscription>;
1902
+ declare const subscriptionsDropdownOptionsQuery = "\n query SubscriptionDropdownOptions(\n $filterBy: [GraphqlFilter!]\n $first: Int!\n ) {\n subscriptions(filterBy: $filterBy, first: $first, after: 0) {\n page {\n description\n subscriptionId\n product {\n tag\n productId\n }\n customer {\n fullname\n customerId\n }\n productBlockInstances {\n id\n ownerSubscriptionId\n parent\n productBlockInstanceValues\n subscriptionInstanceId\n inUseByRelations\n }\n fixedInputs\n }\n }\n }\n";
1903
+ declare type SubscriptionDropdownOptionsResponse = {
1904
+ subscriptionDropdownOptions: SubscriptionDropdownOption[];
2289
1905
  };
2290
- declare const useGetRelatedSubscriptionsQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<RelatedSubscriptionVariables, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
1906
+ declare const useGetSubscriptionsDropdownOptionsQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<SubscriptionDropdownOption>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
2291
1907
  baseQueryType?: BaseQueryTypes | undefined;
2292
1908
  apiName?: string | undefined;
2293
1909
  }) => {
@@ -2302,45 +1918,18 @@ declare const useGetRelatedSubscriptionsQuery: _reduxjs_toolkit_dist_query_react
2302
1918
  error?: undefined;
2303
1919
  data: unknown;
2304
1920
  meta?: {} | undefined;
2305
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, RelatedSubscriptionsResponse, "orchestratorApi">>;
1921
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, SubscriptionDropdownOptionsResponse, "orchestratorApi">>;
2306
1922
 
2307
- interface EngineStatusReturnValue {
2308
- engineStatus: EngineStatus;
2309
- runningProcesses: number;
2310
- }
2311
- declare const useGetEngineStatusQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
2312
- baseQueryType?: BaseQueryTypes | undefined;
2313
- apiName?: string | undefined;
2314
- }) => {
2315
- error: _reduxjs_toolkit_query.FetchBaseQueryError;
2316
- data?: undefined;
2317
- meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
2318
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
2319
- error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
2320
- data?: undefined;
2321
- meta?: {} | undefined;
2322
- } | {
2323
- error?: undefined;
2324
- data: unknown;
2325
- meta?: {} | undefined;
2326
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, EngineStatusReturnValue, "orchestratorApi">>;
2327
- declare const useClearCacheMutation: _reduxjs_toolkit_dist_query_react_buildHooks.UseMutation<_reduxjs_toolkit_query.MutationDefinition<string, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
2328
- baseQueryType?: BaseQueryTypes | undefined;
2329
- apiName?: string | undefined;
2330
- }) => {
2331
- error: _reduxjs_toolkit_query.FetchBaseQueryError;
2332
- data?: undefined;
2333
- meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
2334
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
2335
- error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
2336
- data?: undefined;
2337
- meta?: {} | undefined;
2338
- } | {
2339
- error?: undefined;
2340
- data: unknown;
2341
- meta?: {} | undefined;
2342
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, void, "orchestratorApi">>;
2343
- declare const useResetTextSearchIndexMutation: _reduxjs_toolkit_dist_query_react_buildHooks.UseMutation<_reduxjs_toolkit_query.MutationDefinition<null, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
1923
+ declare type WorkflowOption = {
1924
+ workflowName: WorkflowDefinition['name'];
1925
+ productName: ProductDefinition['name'];
1926
+ productId: ProductDefinition['productId'];
1927
+ };
1928
+ declare type StartOptionsResponse<StartOption> = {
1929
+ startOptions: StartOption[];
1930
+ };
1931
+ declare type TaskOption = Pick<WorkflowDefinition, 'name' | 'description'>;
1932
+ declare const useGetWorkflowOptionsQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
2344
1933
  baseQueryType?: BaseQueryTypes | undefined;
2345
1934
  apiName?: string | undefined;
2346
1935
  }) => {
@@ -2355,8 +1944,8 @@ declare const useResetTextSearchIndexMutation: _reduxjs_toolkit_dist_query_react
2355
1944
  error?: undefined;
2356
1945
  data: unknown;
2357
1946
  meta?: {} | undefined;
2358
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, void, "orchestratorApi">>;
2359
- declare const useSetEngineStatusMutation: _reduxjs_toolkit_dist_query_react_buildHooks.UseMutation<_reduxjs_toolkit_query.MutationDefinition<boolean, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
1947
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, StartOptionsResponse<WorkflowOption>, "orchestratorApi">>;
1948
+ declare const useGetTaskOptionsQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
2360
1949
  baseQueryType?: BaseQueryTypes | undefined;
2361
1950
  apiName?: string | undefined;
2362
1951
  }) => {
@@ -2371,228 +1960,642 @@ declare const useSetEngineStatusMutation: _reduxjs_toolkit_dist_query_react_buil
2371
1960
  error?: undefined;
2372
1961
  data: unknown;
2373
1962
  meta?: {} | undefined;
2374
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, EngineStatusReturnValue, "orchestratorApi">>;
1963
+ } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, StartOptionsResponse<TaskOption>, "orchestratorApi">>;
1964
+
1965
+ declare type CustomApiConfig = {
1966
+ apiName: string;
1967
+ apiBaseUrl: string;
1968
+ };
1969
+ declare type CustomApiSlice = Slice<CustomApiConfig[]>;
1970
+ declare const getCustomApiSlice: (customApis: CustomApiConfig[]) => CustomApiSlice;
1971
+
1972
+ declare type SummaryCardListItem = {
1973
+ title: string;
1974
+ value: ReactNode;
1975
+ url?: string;
1976
+ };
1977
+
1978
+ declare type SummaryCardButtonConfig = {
1979
+ name: string;
1980
+ url: string;
1981
+ };
1982
+
1983
+ declare enum SummaryCardStatus {
1984
+ Success = "Success",
1985
+ Error = "Error",
1986
+ Neutral = "Neutral"
1987
+ }
1988
+ declare type SummaryCard = {
1989
+ headerTitle: string;
1990
+ headerValue: string | number;
1991
+ headerStatus: SummaryCardStatus;
1992
+ listTitle: string;
1993
+ listItems: SummaryCardListItem[];
1994
+ button?: SummaryCardButtonConfig;
1995
+ isLoading?: boolean;
1996
+ };
1997
+
1998
+ declare type ValueOverrideFunction = (fieldValue: FieldValue) => ReactNode;
1999
+ declare type ValueOverrideConfiguration = Record<string, ValueOverrideFunction>;
2000
+ declare type WfoSubscriptionDetailGeneralConfiguration = {
2001
+ id: string;
2002
+ node: ReactNode;
2003
+ };
2004
+ declare type OrchestratorComponentOverride = {
2005
+ startPage?: {
2006
+ summaryCardConfigurationOverride?: (defaultItems: SummaryCard[]) => SummaryCard[];
2007
+ };
2008
+ subscriptionDetail?: {
2009
+ valueOverrides?: ValueOverrideConfiguration;
2010
+ generalSectionConfigurationOverride?: (defaultSections: WfoSubscriptionDetailGeneralConfiguration[], subscriptionDetail: SubscriptionDetail) => WfoSubscriptionDetailGeneralConfiguration[];
2011
+ };
2012
+ };
2013
+ declare type OrchestratorComponentOverrideSlice = Slice<OrchestratorComponentOverride>;
2014
+ declare const getOrchestratorComponentOverrideSlice: (config: OrchestratorComponentOverride) => OrchestratorComponentOverrideSlice;
2375
2015
 
2376
- declare const useStreamMessagesQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
2377
- baseQueryType?: BaseQueryTypes | undefined;
2378
- apiName?: string | undefined;
2379
- }) => {
2380
- error: _reduxjs_toolkit_query.FetchBaseQueryError;
2381
- data?: undefined;
2382
- meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
2383
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
2384
- error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
2385
- data?: undefined;
2386
- meta?: {} | undefined;
2387
- } | {
2388
- error?: undefined;
2389
- data: unknown;
2390
- meta?: {} | undefined;
2391
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, boolean, "orchestratorApi">>;
2016
+ declare type ToastState = {
2017
+ messages: Toast[];
2018
+ };
2019
+ declare type ToastMessagesSlice = Slice<ToastState, {
2020
+ addToastMessage: (state: ToastState, action: PayloadAction<Toast>) => ToastState;
2021
+ removeToastMessage: (state: ToastState, action: PayloadAction<Toast['id']>) => ToastState;
2022
+ }, 'toastMessages', 'toastMessages'>;
2023
+ declare const toastMessagesSlice: ToastMessagesSlice;
2024
+ declare const addToastMessage: _reduxjs_toolkit.ActionCreatorWithPayload<Toast, "toastMessages/addToastMessage">;
2025
+ declare const removeToastMessage: _reduxjs_toolkit.ActionCreatorWithPayload<string, "toastMessages/removeToastMessage">;
2026
+ declare const toastMessagesReducer: Reducer<ToastState>;
2392
2027
 
2393
- declare const subscriptionDetailQuery = "\n query SubscriptionDetail($subscriptionId: String!) {\n subscriptions(\n filterBy: { field: \"subscriptionId\", value: $subscriptionId }\n ) {\n page {\n subscriptionId\n description\n fixedInputs\n insync\n note\n product {\n createdAt\n name\n status\n endDate\n description\n tag\n productType\n productId\n }\n endDate\n startDate\n status\n customerId\n metadata\n customer {\n fullname\n customerId\n shortcode\n }\n customerDescriptions {\n subscriptionId\n description\n customerId\n }\n productBlockInstances {\n id\n ownerSubscriptionId\n parent\n productBlockInstanceValues\n subscriptionInstanceId\n inUseByRelations\n }\n processes(sortBy: { field: \"startedAt\", order: ASC }) {\n page {\n processId\n lastStatus\n startedAt\n createdBy\n workflowTarget\n workflowName\n isTask\n }\n }\n }\n }\n }\n";
2394
- declare type SubscriptionDetailResponse = {
2395
- subscription: SubscriptionDetail;
2396
- } & BaseGraphQlResult;
2397
- declare const useGetSubscriptionDetailQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<{
2398
- subscriptionId: string;
2399
- }, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
2400
- baseQueryType?: BaseQueryTypes | undefined;
2401
- apiName?: string | undefined;
2402
- }) => {
2403
- error: _reduxjs_toolkit_query.FetchBaseQueryError;
2404
- data?: undefined;
2405
- meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
2406
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
2407
- error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
2408
- data?: undefined;
2409
- meta?: {} | undefined;
2410
- } | {
2411
- error?: undefined;
2412
- data: unknown;
2413
- meta?: {} | undefined;
2414
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, SubscriptionDetailResponse, "orchestratorApi">>;
2028
+ declare type OrchestratorConfigSlice = Slice<OrchestratorConfig>;
2029
+ declare const getOrchestratorConfigSlice: (config: OrchestratorConfig) => OrchestratorConfigSlice;
2030
+ declare const selectOrchestratorConfig: (state: RootState) => OrchestratorConfig;
2415
2031
 
2416
- declare const subscriptionsDropdownOptionsQuery = "\n query SubscriptionDropdownOptions(\n $filterBy: [GraphqlFilter!]\n $first: Int!\n ) {\n subscriptions(filterBy: $filterBy, first: $first, after: 0) {\n page {\n description\n subscriptionId\n product {\n tag\n productId\n }\n customer {\n fullname\n customerId\n }\n productBlockInstances {\n id\n ownerSubscriptionId\n parent\n productBlockInstanceValues\n subscriptionInstanceId\n inUseByRelations\n }\n fixedInputs\n }\n }\n }\n";
2417
- declare type SubscriptionDropdownOptionsResponse = {
2418
- subscriptionDropdownOptions: SubscriptionDropdownOption[];
2032
+ declare type RootState = {
2033
+ orchestratorApi: CombinedState<Record<string, never>, 'engineStatus', 'orchestratorApi'>;
2034
+ toastMessages: ReturnType<typeof toastMessagesReducer>;
2035
+ orchestratorConfig: OrchestratorConfig;
2036
+ orchestratorComponentOverride?: OrchestratorComponentOverride;
2037
+ customApis: CustomApiConfig[];
2038
+ };
2039
+ declare type InitialOrchestratorStoreConfig = Pick<RootState, 'orchestratorConfig' | 'customApis' | 'orchestratorComponentOverride'>;
2040
+ declare const getOrchestratorStore: ({ orchestratorConfig, orchestratorComponentOverride, customApis, }: InitialOrchestratorStoreConfig) => EnhancedStore<RootState>;
2041
+ declare type AppDispatch = Dispatch<UnknownAction>;
2042
+
2043
+ declare type StoreProviderProps = {
2044
+ initialOrchestratorConfig: OrchestratorConfig;
2045
+ orchestratorComponentOverride?: OrchestratorComponentOverride;
2046
+ customApis?: CustomApiConfig[];
2047
+ children: ReactNode;
2048
+ };
2049
+ declare const StoreProvider: ({ initialOrchestratorConfig, orchestratorComponentOverride, customApis, children, }: StoreProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
2050
+
2051
+ interface ValidationError {
2052
+ input_type: string;
2053
+ loc: (string | number)[];
2054
+ msg: string;
2055
+ type: string;
2056
+ ctx?: ValidationErrorContext;
2057
+ }
2058
+ interface ValidationErrorContext {
2059
+ [index: string]: string;
2060
+ }
2061
+ interface Form {
2062
+ stepUserInput?: JSONSchema6;
2063
+ hasNext?: boolean;
2064
+ }
2065
+ declare type InputForm = JSONSchema6;
2066
+ interface FormNotCompleteResponse {
2067
+ form: InputForm;
2068
+ hasNext?: boolean;
2069
+ }
2070
+ declare type FieldProps<Value, Extra = object, InputElementType = HTMLInputElement, ElementType = HTMLDivElement> = HTMLFieldProps<Value, ElementType, {
2071
+ inputRef?: Ref<InputElementType>;
2072
+ description?: string;
2073
+ } & Extra>;
2074
+ declare type ValidationErrorData = {
2075
+ detail: string;
2076
+ status: HttpStatus;
2077
+ title: string;
2078
+ traceback: string;
2079
+ type: string;
2080
+ validation_errors: [];
2081
+ };
2082
+ declare type FormValidationError = {
2083
+ data: ValidationErrorData;
2084
+ status: HttpStatus;
2085
+ };
2086
+
2087
+ declare type Nullable<T> = T | null;
2088
+ declare type GenericResponse = {
2089
+ [key: string]: unknown;
2090
+ };
2091
+ declare type FieldValue = {
2092
+ field: string;
2093
+ value: string | number | boolean | null;
2094
+ };
2095
+ declare enum EngineStatus {
2096
+ RUNNING = "RUNNING",
2097
+ PAUSING = "PAUSING",
2098
+ PAUSED = "PAUSED",
2099
+ UNKNOWN = "UNKNOWN"
2100
+ }
2101
+ declare type Customer = {
2102
+ fullname: string;
2103
+ customerId: string;
2104
+ shortcode: string;
2105
+ };
2106
+ declare type InUseByRelation = {
2107
+ subscription_instance_id: string;
2108
+ subscription_id: string;
2109
+ };
2110
+ declare type ProductBlockInstance = {
2111
+ id: number;
2112
+ ownerSubscriptionId: string;
2113
+ subscriptionInstanceId: string;
2114
+ parent: Nullable<number>;
2115
+ productBlockInstanceValues: FieldValue[];
2116
+ inUseByRelations: InUseByRelation[];
2117
+ };
2118
+ interface ResourceTypeDefinition {
2119
+ description: string;
2120
+ resourceType: string;
2121
+ resourceTypeId: string;
2122
+ productBlocks: ProductBlockDefinition[];
2123
+ }
2124
+ interface ProductBlockDefinition {
2125
+ productBlockId: string;
2126
+ name: string;
2127
+ tag: string;
2128
+ description: string;
2129
+ status: ProductLifecycleStatus;
2130
+ createdAt: string;
2131
+ endDate: string | null;
2132
+ resourceTypes: ResourceTypeDefinition[];
2133
+ dependsOn: ProductBlockDefinition[];
2134
+ }
2135
+ declare enum ProductLifecycleStatus {
2136
+ ACTIVE = "active",
2137
+ PRE_PRODUCTION = "pre production",
2138
+ PHASE_OUT = "phase out",
2139
+ END_OF_LIFE = "end of life"
2140
+ }
2141
+ declare enum BadgeType {
2142
+ WORKFLOW = "workflow",
2143
+ FIXED_INPUT = "fixed_input",
2144
+ RESOURCE_TYPE = "resource_type",
2145
+ PRODUCT_BLOCK = "product_block",
2146
+ PRODUCT_BLOCK_TAG = "product_block_tag",
2147
+ PRODUCT_TAG = "product_tag",
2148
+ PRODUCT = "product",
2149
+ TASK = "task"
2150
+ }
2151
+ interface FixedInputDefinition {
2152
+ fixedInputId: string;
2153
+ name: string;
2154
+ value: string;
2155
+ productId: string;
2156
+ createdAt: string;
2157
+ description: string;
2158
+ required: boolean;
2159
+ }
2160
+ interface TreeBlock extends ProductBlockInstance {
2161
+ icon: string;
2162
+ label: string | number | boolean;
2163
+ callback: () => void;
2164
+ children: TreeBlock[];
2165
+ }
2166
+ interface ProductDefinition {
2167
+ productId: string;
2168
+ name: string;
2169
+ description: string;
2170
+ tag: string;
2171
+ createdAt: string;
2172
+ productType: string;
2173
+ status: ProductLifecycleStatus;
2174
+ productBlocks: Pick<ProductBlockDefinition, 'name'>[];
2175
+ fixedInputs: Pick<FixedInputDefinition, 'name' | 'value'>[];
2176
+ }
2177
+ declare type ProductsSummary = Pick<ProductDefinition, 'name'> & SubscriptionsResult<never>;
2178
+ declare enum WorkflowTarget {
2179
+ CREATE = "create",
2180
+ MODIFY = "modify",
2181
+ TERMINATE = "terminate",
2182
+ SYSTEM = "system"
2183
+ }
2184
+ declare type Process = {
2185
+ workflowName: string;
2186
+ lastStep: string;
2187
+ lastStatus: ProcessStatus;
2188
+ workflowTarget: WorkflowTarget;
2189
+ product?: {
2190
+ name: string;
2191
+ tag: string;
2192
+ };
2193
+ customer: {
2194
+ fullname: string;
2195
+ shortcode: string;
2196
+ };
2197
+ createdBy: string;
2198
+ assignee: string;
2199
+ processId: string;
2200
+ startedAt: string;
2201
+ lastModifiedAt: string;
2202
+ isTask: boolean;
2203
+ subscriptions: {
2204
+ page: Pick<Subscription, 'subscriptionId' | 'description'>[];
2205
+ };
2206
+ };
2207
+ declare enum StepStatus {
2208
+ FORM = "form",
2209
+ SUCCESS = "success",
2210
+ FAILED = "failed",
2211
+ PENDING = "pending",
2212
+ RUNNING = "running",
2213
+ SKIPPED = "skipped",
2214
+ SUSPEND = "suspend",
2215
+ WAITING = "waiting",
2216
+ AWAITING_CALLBACK = "awaiting_callback",
2217
+ ABORT = "abort",
2218
+ COMPLETE = "complete"
2219
+ }
2220
+ interface ProcessDetail {
2221
+ processId: Process['processId'];
2222
+ lastStatus: Process['lastStatus'];
2223
+ createdBy: Process['createdBy'];
2224
+ startedAt: Process['startedAt'];
2225
+ lastStep: string;
2226
+ form?: InputForm;
2227
+ lastModifiedAt: Process['lastModifiedAt'];
2228
+ workflowName: string;
2229
+ isTask: boolean;
2230
+ steps: Step[];
2231
+ traceback: string | null;
2232
+ subscriptions: {
2233
+ page: {
2234
+ product: Pick<ProductDefinition, 'name'>;
2235
+ description: Subscription['description'];
2236
+ subscriptionId: Subscription['subscriptionId'];
2237
+ }[];
2238
+ };
2239
+ customer: {
2240
+ fullname: string;
2241
+ };
2242
+ }
2243
+ declare enum ProcessStatus {
2244
+ CREATE = "create",
2245
+ CREATED = "created",
2246
+ RUNNING = "running",
2247
+ SUSPENDED = "suspended",
2248
+ WAITING = "waiting",
2249
+ AWAITING_CALLBACK = "awaiting_callback",
2250
+ ABORTED = "aborted",
2251
+ FAILED = "failed",
2252
+ RESUMED = "resumed",
2253
+ API_UNAVAILABLE = "api_unavailable",
2254
+ INCONSISTENT_DATA = "inconsistent_data",
2255
+ COMPLETED = "completed"
2256
+ }
2257
+ declare const ProcessDoneStatuses: ProcessStatus[];
2258
+ interface StepState {
2259
+ [index: string]: object | boolean | string | number | [];
2260
+ }
2261
+ interface EmailAddress {
2262
+ name: string;
2263
+ email: string;
2264
+ }
2265
+ interface EmailState {
2266
+ to: EmailAddress[];
2267
+ cc: EmailAddress[];
2268
+ message: string;
2269
+ subject: string;
2270
+ }
2271
+ interface Step {
2272
+ name: string;
2273
+ status: StepStatus;
2274
+ stepId: string;
2275
+ executed: string;
2276
+ state: StepState | undefined;
2277
+ stateDelta: StepState;
2278
+ }
2279
+ interface WorkflowDefinition {
2280
+ name: string;
2281
+ description?: string;
2282
+ target: WorkflowTarget;
2283
+ products: Pick<ProductDefinition, 'tag' | 'productId' | 'name'>[];
2284
+ createdAt: string;
2285
+ }
2286
+ interface TaskDefinition {
2287
+ name: string;
2288
+ description?: string;
2289
+ target: WorkflowTarget;
2290
+ products: Pick<ProductDefinition, 'tag' | 'productId' | 'name'>[];
2291
+ createdAt: string;
2292
+ }
2293
+ declare enum SortOrder {
2294
+ ASC = "ASC",
2295
+ DESC = "DESC"
2296
+ }
2297
+ declare type GraphQLSort<Type> = {
2298
+ field: keyof Type;
2299
+ order: SortOrder;
2419
2300
  };
2420
- declare const useGetSubscriptionsDropdownOptionsQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<GraphqlQueryVariables<SubscriptionDropdownOption>, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
2421
- baseQueryType?: BaseQueryTypes | undefined;
2422
- apiName?: string | undefined;
2423
- }) => {
2424
- error: _reduxjs_toolkit_query.FetchBaseQueryError;
2425
- data?: undefined;
2426
- meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
2427
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
2428
- error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
2429
- data?: undefined;
2430
- meta?: {} | undefined;
2431
- } | {
2432
- error?: undefined;
2433
- data: unknown;
2434
- meta?: {} | undefined;
2435
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, SubscriptionDropdownOptionsResponse, "orchestratorApi">>;
2436
-
2437
- declare type WorkflowOption = {
2438
- workflowName: WorkflowDefinition['name'];
2439
- productName: ProductDefinition['name'];
2440
- productId: ProductDefinition['productId'];
2301
+ declare type GraphqlFilter<Type> = {
2302
+ field: keyof Type;
2303
+ value: string;
2441
2304
  };
2442
- declare type StartOptionsResponse<StartOption> = {
2443
- startOptions: StartOption[];
2305
+ declare type FetchFilter<Type> = GraphqlFilter<Type>;
2306
+ declare type GraphqlQueryVariables<Type> = {
2307
+ first?: number;
2308
+ after?: number;
2309
+ sortBy?: GraphQLSort<Type>;
2310
+ filterBy?: GraphqlFilter<Type>[];
2311
+ query?: string;
2444
2312
  };
2445
- declare type TaskOption = Pick<WorkflowDefinition, 'name' | 'description'>;
2446
- declare const useGetWorkflowOptionsQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
2447
- baseQueryType?: BaseQueryTypes | undefined;
2448
- apiName?: string | undefined;
2449
- }) => {
2450
- error: _reduxjs_toolkit_query.FetchBaseQueryError;
2451
- data?: undefined;
2452
- meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
2453
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
2454
- error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
2455
- data?: undefined;
2456
- meta?: {} | undefined;
2457
- } | {
2458
- error?: undefined;
2459
- data: unknown;
2460
- meta?: {} | undefined;
2461
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, StartOptionsResponse<WorkflowOption>, "orchestratorApi">>;
2462
- declare const useGetTaskOptionsQuery: _reduxjs_toolkit_dist_query_react_buildHooks.UseQuery<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
2463
- baseQueryType?: BaseQueryTypes | undefined;
2464
- apiName?: string | undefined;
2465
- }) => {
2466
- error: _reduxjs_toolkit_query.FetchBaseQueryError;
2467
- data?: undefined;
2468
- meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
2469
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
2470
- error: _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse;
2471
- data?: undefined;
2472
- meta?: {} | undefined;
2473
- } | {
2474
- error?: undefined;
2475
- data: unknown;
2476
- meta?: {} | undefined;
2477
- } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTags, StartOptionsResponse<TaskOption>, "orchestratorApi">>;
2478
-
2479
- declare type CustomApiConfig = {
2480
- apiName: string;
2481
- apiBaseUrl: string;
2313
+ declare type GraphQLPageInfo = {
2314
+ hasNextPage: boolean;
2315
+ hasPreviousPage: boolean;
2316
+ startCursor: number | null;
2317
+ totalItems: number | null;
2318
+ endCursor: number | null;
2319
+ sortFields: string[];
2320
+ filterFields: string[];
2482
2321
  };
2483
- declare type CustomApiSlice = Slice<CustomApiConfig[]>;
2484
- declare const getCustomApiSlice: (customApis: CustomApiConfig[]) => CustomApiSlice;
2485
-
2486
- declare type SummaryCardListItem = {
2487
- title: string;
2488
- value: ReactNode;
2489
- url?: string;
2322
+ declare type BaseGraphQlResult = {
2323
+ pageInfo: GraphQLPageInfo;
2490
2324
  };
2491
-
2492
- declare type SummaryCardButtonConfig = {
2493
- name: string;
2494
- url: string;
2325
+ interface SubscriptionsResult<T = Subscription> {
2326
+ subscriptions: GraphQlResultPage<T>;
2327
+ }
2328
+ interface SubscriptionDropdownOptionsResult {
2329
+ subscriptions: GraphQlSinglePage<SubscriptionDropdownOption>;
2330
+ }
2331
+ interface SubscriptionDetailResult {
2332
+ subscriptions: GraphQlResultPage<SubscriptionDetail>;
2333
+ }
2334
+ interface ProductDefinitionsResult<T = ProductDefinition> {
2335
+ products: GraphQlResultPage<T>;
2336
+ }
2337
+ interface StartProcessStep {
2338
+ name: Step['name'];
2339
+ }
2340
+ interface ProcessStepsResult {
2341
+ workflows: GraphQlSinglePage<{
2342
+ steps: StartProcessStep[];
2343
+ }>;
2344
+ }
2345
+ interface ProductBlockDefinitionsResult {
2346
+ productBlocks: GraphQlResultPage<ProductBlockDefinition>;
2347
+ }
2348
+ interface ResourceTypeDefinitionsResult {
2349
+ resourceTypes: GraphQlResultPage<ResourceTypeDefinition>;
2350
+ }
2351
+ interface ProcessListResult<T = Process> {
2352
+ processes: GraphQlResultPage<T>;
2353
+ }
2354
+ interface ProcessesDetailResult {
2355
+ processes: GraphQlSinglePage<ProcessDetail>;
2356
+ }
2357
+ declare type ProcessDetailResultRaw = {
2358
+ subscription?: object;
2359
+ subscription_id?: string;
2360
+ current_state: {
2361
+ subscription?: {
2362
+ subscription_id?: string;
2363
+ } & GenericResponse;
2364
+ __old_subscriptions__?: GenericResponse;
2365
+ } & GenericResponse;
2366
+ } & GenericResponse;
2367
+ interface CustomersResult {
2368
+ customers: GraphQlSinglePage<Customer>;
2369
+ }
2370
+ interface TaskDefinitionsResult<T = TaskDefinition> {
2371
+ workflows: GraphQlResultPage<T>;
2372
+ }
2373
+ interface WorkflowDefinitionsResult<T = WorkflowDefinition> {
2374
+ workflows: GraphQlResultPage<T>;
2375
+ }
2376
+ interface StartOptionsResult<T> {
2377
+ workflows: GraphQlSinglePage<T>;
2378
+ }
2379
+ interface RelatedSubscriptionsResult {
2380
+ subscriptions: GraphQlSinglePage<Pick<Subscription, 'subscriptionId'> & {
2381
+ inUseBySubscriptions: GraphQlResultPage<RelatedSubscription>;
2382
+ }>;
2383
+ }
2384
+ declare type StartComboBoxOption = {
2385
+ data: {
2386
+ workflowName: string;
2387
+ productId?: string;
2388
+ };
2389
+ label: string;
2495
2390
  };
2496
-
2497
- declare enum SummaryCardStatus {
2498
- Success = "Success",
2499
- Error = "Error",
2500
- Neutral = "Neutral"
2391
+ interface GraphQlResultPage<T> {
2392
+ page: T[];
2393
+ pageInfo: GraphQLPageInfo;
2394
+ }
2395
+ interface GraphQlSinglePage<T> {
2396
+ page: T[];
2397
+ }
2398
+ interface CacheOption {
2399
+ value: string;
2400
+ label: string;
2401
+ }
2402
+ declare enum Locale {
2403
+ enGB = "en-GB",
2404
+ nlNL = "nl-NL"
2405
+ }
2406
+ declare enum SubscriptionStatus {
2407
+ INITIAL = "initial",
2408
+ ACTIVE = "active",
2409
+ MIGRATING = "migrating",
2410
+ DISABLED = "disabled",
2411
+ TERMINATED = "terminated",
2412
+ PROVISIONING = "provisioning"
2501
2413
  }
2502
- declare type SummaryCard = {
2503
- headerTitle: string;
2504
- headerValue: string | number;
2505
- headerStatus: SummaryCardStatus;
2506
- listTitle: string;
2507
- listItems: SummaryCardListItem[];
2508
- button?: SummaryCardButtonConfig;
2509
- isLoading?: boolean;
2414
+ declare type Subscription = {
2415
+ subscriptionId: string;
2416
+ description: string;
2417
+ note: string | null;
2418
+ startDate: string | null;
2419
+ endDate: string | null;
2420
+ insync: boolean;
2421
+ status: SubscriptionStatus;
2422
+ product: Pick<ProductDefinition, 'name' | 'tag' | 'productType'>;
2423
+ productBlockInstances: ProductBlockInstance[];
2424
+ customer: Pick<Customer, 'fullname' | 'shortcode'>;
2425
+ metadata: object;
2510
2426
  };
2511
-
2512
- declare type ValueOverrideFunction = (fieldValue: FieldValue) => ReactNode;
2513
- declare type ValueOverrideConfiguration = Record<string, ValueOverrideFunction>;
2514
- declare type WfoSubscriptionDetailGeneralConfiguration = {
2515
- id: string;
2516
- node: ReactNode;
2427
+ declare type SubscriptionSummary = Pick<Subscription, 'subscriptionId' | 'description' | 'startDate'>;
2428
+ declare type SubscriptionDropdownOption = {
2429
+ description: Subscription['description'];
2430
+ subscriptionId: Subscription['subscriptionId'];
2431
+ product: Pick<ProductDefinition, 'tag' | 'productId'>;
2432
+ customer: Pick<Customer, 'fullname' | 'customerId'>;
2433
+ productBlockInstances: ProductBlockInstance[];
2434
+ fixedInputs: FieldValue[];
2435
+ tag: string;
2436
+ status: SubscriptionStatus;
2517
2437
  };
2518
- declare type OrchestratorComponentOverride = {
2519
- startPage?: {
2520
- summaryCardConfigurationOverride?: (defaultItems: SummaryCard[]) => SummaryCard[];
2521
- };
2522
- subscriptionDetail?: {
2523
- valueOverrides?: ValueOverrideConfiguration;
2524
- generalSectionConfigurationOverride?: (defaultSections: WfoSubscriptionDetailGeneralConfiguration[], subscriptionDetail: SubscriptionDetail) => WfoSubscriptionDetailGeneralConfiguration[];
2438
+ declare type CustomerDescriptions = {
2439
+ subscriptionId: string;
2440
+ description: string;
2441
+ customerId: string;
2442
+ };
2443
+ declare type SubscriptionDetail = {
2444
+ subscriptionId: string;
2445
+ description: string;
2446
+ insync: boolean;
2447
+ note: string;
2448
+ fixedInputs: FieldValue[];
2449
+ product: Pick<ProductDefinition, 'createdAt' | 'name' | 'status' | 'description' | 'tag' | 'productType' | 'productId'> & {
2450
+ endDate: string;
2525
2451
  };
2452
+ endDate: string;
2453
+ startDate: string;
2454
+ status: SubscriptionStatus;
2455
+ metadata: object;
2456
+ productBlockInstances: ProductBlockInstance[];
2457
+ customerId?: string | null;
2458
+ customer?: Customer;
2459
+ customerDescriptions: CustomerDescriptions[];
2460
+ externalServices?: ExternalService[];
2461
+ processes: GraphQlSinglePage<SubscriptionDetailProcess>;
2526
2462
  };
2527
- declare type OrchestratorComponentOverrideSlice = Slice<OrchestratorComponentOverride>;
2528
- declare const getOrchestratorComponentOverrideSlice: (config: OrchestratorComponentOverride) => OrchestratorComponentOverrideSlice;
2529
-
2530
- declare type ToastState = {
2531
- messages: Toast[];
2463
+ declare type SubscriptionDetailProcess = Pick<Process, 'processId' | 'lastStatus' | 'startedAt' | 'createdBy' | 'workflowTarget' | 'workflowName' | 'isTask'>;
2464
+ declare type RelatedSubscription = Pick<Subscription, 'subscriptionId' | 'description' | 'status' | 'startDate' | 'insync'> & {
2465
+ product: Pick<ProductDefinition, 'tag'>;
2466
+ customer: Pick<Customer, 'fullname'>;
2532
2467
  };
2533
- declare type ToastMessagesSlice = Slice<ToastState, {
2534
- addToastMessage: (state: ToastState, action: PayloadAction<Toast>) => ToastState;
2535
- removeToastMessage: (state: ToastState, action: PayloadAction<Toast['id']>) => ToastState;
2536
- }, 'toastMessages', 'toastMessages'>;
2537
- declare const toastMessagesSlice: ToastMessagesSlice;
2538
- declare const addToastMessage: _reduxjs_toolkit.ActionCreatorWithPayload<Toast, "toastMessages/addToastMessage">;
2539
- declare const removeToastMessage: _reduxjs_toolkit.ActionCreatorWithPayload<string, "toastMessages/removeToastMessage">;
2540
- declare const toastMessagesReducer: Reducer<ToastState>;
2541
-
2542
- declare type OrchestratorConfigSlice = Slice<OrchestratorConfig>;
2543
- declare const getOrchestratorConfigSlice: (config: OrchestratorConfig) => OrchestratorConfigSlice;
2544
- declare const selectOrchestratorConfig: (state: RootState) => OrchestratorConfig;
2545
-
2546
- declare type RootState = {
2547
- orchestratorApi: CombinedState<Record<string, never>, 'engineStatus', 'orchestratorApi'>;
2548
- toastMessages: ReturnType<typeof toastMessagesReducer>;
2549
- orchestratorConfig: OrchestratorConfig;
2550
- orchestratorComponentOverride?: OrchestratorComponentOverride;
2551
- customApis: CustomApiConfig[];
2468
+ declare type ExternalService = {
2469
+ externalServiceKey: string;
2470
+ externalServiceId: string;
2471
+ externalServiceData: object;
2552
2472
  };
2553
- declare type InitialOrchestratorStoreConfig = Pick<RootState, 'orchestratorConfig' | 'customApis' | 'orchestratorComponentOverride'>;
2554
- declare const getOrchestratorStore: ({ orchestratorConfig, orchestratorComponentOverride, customApis, }: InitialOrchestratorStoreConfig) => EnhancedStore<RootState>;
2555
- declare type AppDispatch = Dispatch<UnknownAction>;
2556
-
2557
- declare type StoreProviderProps = {
2558
- initialOrchestratorConfig: OrchestratorConfig;
2559
- orchestratorComponentOverride?: OrchestratorComponentOverride;
2560
- customApis?: CustomApiConfig[];
2561
- children: ReactNode;
2473
+ declare type WfoTreeNodeMap = {
2474
+ [key: number]: TreeBlock;
2562
2475
  };
2563
- declare const StoreProvider: ({ initialOrchestratorConfig, orchestratorComponentOverride, customApis, children, }: StoreProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
2564
-
2565
- declare type SubscriptionListResponse = {
2566
- subscriptions: Subscription[];
2567
- } & BaseGraphQlResult;
2568
2476
 
2569
- declare type SubscriptionListItem = Pick<Subscription, 'subscriptionId' | 'description' | 'status' | 'insync' | 'note'> & {
2570
- startDate: Date | null;
2571
- endDate: Date | null;
2572
- productName: string;
2573
- tag: string | null;
2574
- customerFullname: string;
2575
- customerShortcode: string;
2576
- metadata: object | null;
2477
+ declare enum ToastTypes {
2478
+ ERROR = "ERROR",
2479
+ SUCCESS = "SUCCESS"
2480
+ }
2481
+ declare enum Environment {
2482
+ DEVELOPMENT = "Development",
2483
+ PRODUCTION = "Production"
2484
+ }
2485
+ declare type OrchestratorConfig = {
2486
+ environmentName: Environment | string;
2487
+ orchestratorWebsocketUrl: string;
2488
+ orchestratorApiBaseUrl: string;
2489
+ graphqlEndpointCore: string;
2490
+ engineStatusEndpoint: string;
2491
+ processStatusCountsEndpoint: string;
2492
+ processesEndpoint: string;
2493
+ subscriptionActionsEndpoint: string;
2494
+ subscriptionProcessesEndpoint: string;
2495
+ authActive: boolean;
2496
+ useWebSockets: boolean;
2497
+ useThemeToggle: boolean;
2577
2498
  };
2578
- declare const mapGraphQlSubscriptionsResultToPageInfo: (graphqlResponse: SubscriptionListResponse) => GraphQLPageInfo;
2579
- declare const mapGraphQlSubscriptionsResultToSubscriptionListItems: (graphqlResponse: SubscriptionListResponse) => SubscriptionListItem[];
2499
+ declare enum ColorModes {
2500
+ LIGHT = "LIGHT",
2501
+ DARK = "DARK"
2502
+ }
2580
2503
 
2581
- declare enum WfoSubscriptionListTab {
2582
- ACTIVE = "ACTIVE",
2583
- TERMINATED = "TERMINATED",
2584
- TRANSIENT = "TRANSIENT",
2585
- ALL = "ALL"
2504
+ interface NodeSubscription {
2505
+ name: string;
2506
+ subscription_id: string;
2507
+ description: string;
2508
+ product: ProductDefinition;
2509
+ product_id: string;
2510
+ status: string;
2511
+ insync: boolean;
2512
+ customer_id: string;
2513
+ start_date: number;
2514
+ end_date: number;
2515
+ note: string;
2516
+ }
2517
+ interface ServicePort {
2518
+ subscription_id?: string;
2519
+ vlan?: string;
2520
+ bandwidth?: number;
2521
+ nonremovable?: boolean;
2522
+ modifiable?: boolean;
2523
+ }
2524
+ declare enum PortMode {
2525
+ TAGGED = "tagged",
2526
+ UNTAGGED = "untagged",
2527
+ LINK_MEMBER = "link_member"
2528
+ }
2529
+ declare enum ProductTag {
2530
+ MSC = "MSC",
2531
+ MSCNL = "MSCNL",
2532
+ IRBSP = "IRBSP",
2533
+ SP = "SP",
2534
+ SPNL = "SPNL",
2535
+ AGGSP = "AGGSP",
2536
+ AGGSPNL = "AGGSPNL"
2537
+ }
2538
+ interface ImsPort {
2539
+ id: number;
2540
+ line_name: string;
2541
+ node: string;
2542
+ port: string;
2543
+ iface_type: string;
2544
+ patchposition: string;
2545
+ status: string;
2546
+ }
2547
+ interface ImsNode {
2548
+ id: number;
2549
+ name: string;
2550
+ status: string;
2551
+ }
2552
+ interface SortOption<nameStrings = string> {
2553
+ name: nameStrings;
2554
+ descending: boolean;
2555
+ }
2556
+ interface IpPrefix {
2557
+ id: number;
2558
+ prefix: string;
2559
+ version: number;
2560
+ }
2561
+ interface IpBlock {
2562
+ id: number;
2563
+ prefix: string;
2564
+ ip_network: string;
2565
+ description: string;
2566
+ state: number;
2567
+ parent: number;
2568
+ version: number;
2569
+ parent_ipam_id: number;
2570
+ is_subnet: boolean;
2571
+ state_repr: string;
2586
2572
  }
2587
- declare const subscriptionListTabs: WfoFilterTab<WfoSubscriptionListTab, SubscriptionListItem>[];
2588
2573
 
2589
- declare type WfoSubscriptionsListProps = {
2590
- alwaysOnFilters?: FilterQuery<SubscriptionListItem>[];
2591
- dataDisplayParams: DataDisplayParams<SubscriptionListItem>;
2592
- setDataDisplayParam: <DisplayParamKey extends keyof DataDisplayParams<SubscriptionListItem>>(prop: DisplayParamKey, value: DataDisplayParams<SubscriptionListItem>[DisplayParamKey]) => void;
2593
- hiddenColumns: TableColumnKeys<SubscriptionListItem> | undefined;
2594
- };
2595
- declare const WfoSubscriptionsList: FC<WfoSubscriptionsListProps>;
2574
+ declare class BaseApiClient {
2575
+ private _axiosInstance;
2576
+ constructor(apiPath: string, accessToken?: string);
2577
+ axiosFetch: <R = object>(path: string, options?: {}, headers?: {}, showErrorDialog?: boolean, result?: boolean) => Promise<R>;
2578
+ catchErrorStatus: <T>(promise: Promise<unknown>, status: number, callback: (json: T) => void) => Promise<unknown>;
2579
+ fetchJson: <R = object>(path: string, options?: {}, headers?: {}, showErrorDialog?: boolean, result?: boolean) => Promise<R>;
2580
+ fetchJsonWithCustomErrorHandling: <R = object>(path: string) => Promise<R>;
2581
+ postPutJson: <R = object>(path: string, processInput: object, method: string, showErrorDialog?: boolean, result?: boolean) => Promise<R>;
2582
+ }
2583
+ declare class ApiClient extends BaseApiClient {
2584
+ startForm: (formKey: string, userInputs: object[]) => Promise<{
2585
+ id: string;
2586
+ }>;
2587
+ startProcess: (workflowName: string, processInput: object) => Promise<unknown>;
2588
+ resumeProcess: (processId: string, userInput: object[]) => Promise<object>;
2589
+ products: () => Promise<LegacyProduct[]>;
2590
+ productById: (productId: string) => Promise<ProductDefinition>;
2591
+ prefix_filters: () => Promise<IpPrefix[]>;
2592
+ ip_blocks: (parentPrefix: number) => Promise<IpBlock[]>;
2593
+ free_subnets: (subnet: string, netmask: number, prefixlen: number) => Promise<string[]>;
2594
+ getFreePortsByNodeSubscriptionIdAndSpeed: (nodeSubscriptionId: string, interfaceSpeed: number, mode: string) => Promise<ImsPort[]>;
2595
+ subscriptions: (tagList?: string[], statusList?: string[], productList?: string[]) => Promise<NodeSubscription[]>;
2596
+ nodeSubscriptions: (statusList?: string[]) => Promise<NodeSubscription[]>;
2597
+ }
2598
+ declare function getApiClient(apiEndPoint: string, accessToken?: string): ApiClient;
2596
2599
 
2597
2600
  declare const MAXIMUM_ITEMS_FOR_BULK_FETCHING = 1000;
2598
2601
  declare const NUMBER_OF_ITEMS_REPRESENTING_ALL_ITEMS = 1000000;
@@ -3685,4 +3688,4 @@ declare const snakeToKebab: (value: string) => string;
3685
3688
  declare const toOptionalArrayEntry: <T>(data: T, condition: boolean) => [] | [T];
3686
3689
  declare const optionalArrayMapper: <T, U>(data: T[] | undefined, mapper: (input: T) => U) => U[];
3687
3690
 
3688
- 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, 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 GraphQLPageInfo, type GraphQLSort, type GraphQlResultPage, type GraphQlSinglePage, type GraphqlFilter, type GraphqlQueryVariables, type GroupedStep, HIDDEN_KEYS, type HeaderBadgeProps, HttpStatus, type IPvAnyNetworkFieldProps, type ImsNode, ImsNodeIdField, type ImsNodeIdFieldProps, type ImsPort, type ImsPortFieldProps, ImsPortIdField, type InUseByRelation, 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 NodeSubscription, 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, 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 ProcessStatusCounts, type ProcessStepsResult, type ProcessSummary, type ProcessesDetailResult, type ProductBlockDefinition, type ProductBlockDefinitionsResult, type ProductBlockInstance, type ProductBlocksResponse, type ProductDefinition, type ProductDefinitionsResult, ProductField, type ProductFieldProps, 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, STEP_STATE_HIDDEN_KEYS, SUBSCRIPTIONS_TABLE_LOCAL_STORAGE_KEY, 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 SubscriptionDetail, type SubscriptionDetailProcess, type SubscriptionDetailResponse, type SubscriptionDetailResult, SubscriptionDetailTab, type SubscriptionDropdownOption, type SubscriptionDropdownOptionsResponse, type SubscriptionDropdownOptionsResult, SubscriptionField, type SubscriptionFieldProps, SubscriptionKeyValueBlock, type SubscriptionListItem, SubscriptionStatus, type SubscriptionSummary, SubscriptionSummaryField, type SubscriptionSummaryFieldProps, type SubscriptionsResult, 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 TranslationMessagesMap, type TreeBlock, TreeContext, type TreeContextType, TreeProvider, type TreeProviderProps, UnconnectedSelectField, type UserInputForm, UserInputFormWizard, UserInputFormWizardDeprecated, type ValidationError, type ValidationErrorContext, type ValueOverrideConfiguration, type ValueOverrideFunction, 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, WfoExpandableField, type WfoExpandableFieldProps, WfoExternalLink, WfoEyeFill, WfoFailedTasksBadge, 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, WfoLoading, WfoLogoutIcon, WfoMenuItemLink, WfoMetadataPageLayout, WfoMinusCircleFill, WfoMinusCircleOutline, WfoModifySettings, 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, WfoProductStatusBadge, type WfoProductStatusBadgeProps, WfoProductsPage, 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, type WfoTableColumns, type WfoTableColumnsWithExtraNonDataFields, type WfoTableControlColumnConfig, type WfoTableDataColumnConfig, WfoTableHeaderCell, type WfoTableHeaderCellProps, WfoTableWithFilter, type WfoTableWithFilterProps, WfoTasksListPage, WfoTasksListTabType, WfoTasksPage, WfoTextAnchor, WfoTimeline, type WfoTimelineProps, WfoToastsList, type WfoTreeNodeMap, 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, getApiClient, getConcatenatedPagedResult, getConcatenatedResult, getCsvFileNameWithDate, getCurrentBrowserLocale, getCustomApiSlice, getDataSortHandler, getDate, getFieldFromProductBlockInstanceValues, getFirstUuidPart, getInitialColumnOrder, getLastUncompletedProcess, getLatestTaskDate, 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, mapSortableAndFilterableValuesToTableColumnConfig, mapWorkflowDefinitionToWorkflowListItem, metaDataTabs, onlyUnique, optionalArrayMapper, orchestratorApi, parseDate, parseDateOrTimeRelativeToToday, parseDateRelativeToToday, parseDateToLocaleDateString, parseDateToLocaleDateTimeString, parseDateToLocaleTimeString, parseIsoString, prepareHeaders, processListQuery, processListSummaryQuery, processStepsQuery, productBlocksQuery, products, productsSummary, removeSuffix, removeToastMessage, renderEmptyElementWhenNotAllowedByPolicy, resourceTypesQuery, selectOrchestratorConfig, setTableConfigToLocalStorage, snakeToHuman, snakeToKebab, splitPrefixStyling, stop, subscriptionDetailQuery, subscriptionListTabs, subscriptionsDropdownOptionsQuery, tasksQuery, toOptionalArrayEntry, toastMessagesReducer, toastMessagesSlice, upperCaseFirstChar, urlPolicyMap, useCacheNames, useCheckEngineStatus, useClearCacheMutation, useDataDisplayParams, useFilterQueryWithRest, useGetCustomerQuery, useGetCustomersQuery, useGetEngineStatusQuery, useGetOrchestratorConfig, useGetProcessListQuery, useGetProcessListSummaryQuery, useGetProductBlocksQuery, useGetProductsQuery, useGetProductsSummaryQuery, useGetRelatedSubscriptionsQuery, useGetResourceTypesQuery, useGetSubscriptionDetailQuery, useGetSubscriptionsDropdownOptionsQuery, useGetTaskOptionsQuery, useGetTasksQuery, useGetTimeLineItemsQuery, useGetTranslationMessages, useGetWorkflowOptionsQuery, useGetWorkflowsQuery, useLazyGetProcessListQuery, useLazyGetProductBlocksQuery, useLazyGetProductsQuery, useLazyGetResourceTypesQuery, useLazyGetTasksQuery, useLazyGetWorkflowsQuery, useMutateProcess, useOrchestratorConfig, useOrchestratorTheme, usePolicy, useProcessStatusCountsQuery, useQueryWithFetch, useRawProcessDetails, useResetTextSearchIndexMutation, useSetEngineStatusMutation, useSetSubscriptionInSyncMutation, useShowToastMessage, useStoredTableConfig, useStreamMessagesQuery, useSubscriptionActions, useSubscriptionDetailValueOverride, useWfoSession, useWithOrchestratorTheme, utcTimestampToLocalMoment, workflowFieldMapper, workflowsQuery };
3691
+ 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, 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, 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, type IPvAnyNetworkFieldProps, type ImsNode, ImsNodeIdField, type ImsNodeIdFieldProps, type ImsPort, type ImsPortFieldProps, ImsPortIdField, type InUseByRelation, 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 NodeSubscription, 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, 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 ProcessStatusCounts, type ProcessStepsResult, type ProcessSummary, type ProcessesDetailResult, type ProductBlockDefinition, type ProductBlockDefinitionsResult, type ProductBlockInstance, type ProductBlocksResponse, type ProductDefinition, type ProductDefinitionsResult, ProductField, type ProductFieldProps, 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, STEP_STATE_HIDDEN_KEYS, SUBSCRIPTIONS_TABLE_LOCAL_STORAGE_KEY, 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 SubscriptionDetail, type SubscriptionDetailProcess, type SubscriptionDetailResponse, type SubscriptionDetailResult, SubscriptionDetailTab, type SubscriptionDropdownOption, type SubscriptionDropdownOptionsResponse, type SubscriptionDropdownOptionsResult, SubscriptionField, type SubscriptionFieldProps, SubscriptionKeyValueBlock, type SubscriptionListItem, SubscriptionStatus, type SubscriptionSummary, SubscriptionSummaryField, type SubscriptionSummaryFieldProps, type SubscriptionsResult, 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 TranslationMessagesMap, type TreeBlock, TreeContext, type TreeContextType, TreeProvider, type TreeProviderProps, UnconnectedSelectField, type UserInputForm, UserInputFormWizard, type ValidationError, type ValidationErrorContext, type ValueOverrideConfiguration, type ValueOverrideFunction, 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, WfoExpandableField, type WfoExpandableFieldProps, WfoExternalLink, WfoEyeFill, WfoFailedTasksBadge, 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, WfoLoading, WfoLogoutIcon, WfoMenuItemLink, WfoMetadataPageLayout, WfoMinusCircleFill, WfoMinusCircleOutline, WfoModifySettings, 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, WfoProductStatusBadge, type WfoProductStatusBadgeProps, WfoProductsPage, 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, type WfoTableColumns, type WfoTableColumnsWithExtraNonDataFields, type WfoTableControlColumnConfig, type WfoTableDataColumnConfig, WfoTableHeaderCell, type WfoTableHeaderCellProps, WfoTableWithFilter, type WfoTableWithFilterProps, WfoTasksListPage, WfoTasksListTabType, WfoTasksPage, WfoTextAnchor, WfoTimeline, type WfoTimelineProps, WfoToastsList, type WfoTreeNodeMap, 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, getApiClient, getConcatenatedPagedResult, getConcatenatedResult, getCsvFileNameWithDate, getCurrentBrowserLocale, getCustomApiSlice, getDataSortHandler, getDate, getFieldFromProductBlockInstanceValues, getFirstUuidPart, getInitialColumnOrder, getLastUncompletedProcess, getLatestTaskDate, 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, mapSortableAndFilterableValuesToTableColumnConfig, mapWorkflowDefinitionToWorkflowListItem, metaDataTabs, onlyUnique, optionalArrayMapper, orchestratorApi, parseDate, parseDateOrTimeRelativeToToday, parseDateRelativeToToday, parseDateToLocaleDateString, parseDateToLocaleDateTimeString, parseDateToLocaleTimeString, parseIsoString, prepareHeaders, processListQuery, processListSummaryQuery, processStepsQuery, productBlocksQuery, products, productsSummary, removeSuffix, removeToastMessage, renderEmptyElementWhenNotAllowedByPolicy, resourceTypesQuery, selectOrchestratorConfig, setTableConfigToLocalStorage, snakeToHuman, snakeToKebab, splitPrefixStyling, stop, subscriptionDetailQuery, subscriptionListTabs, subscriptionsDropdownOptionsQuery, tasksQuery, toOptionalArrayEntry, toastMessagesReducer, toastMessagesSlice, upperCaseFirstChar, urlPolicyMap, useCacheNames, useCheckEngineStatus, useClearCacheMutation, useDataDisplayParams, useFilterQueryWithRest, useGetCustomerQuery, useGetCustomersQuery, useGetEngineStatusQuery, useGetOrchestratorConfig, useGetProcessListQuery, useGetProcessListSummaryQuery, useGetProductBlocksQuery, useGetProductsQuery, useGetProductsSummaryQuery, useGetRelatedSubscriptionsQuery, useGetResourceTypesQuery, useGetSubscriptionDetailQuery, useGetSubscriptionsDropdownOptionsQuery, useGetTaskOptionsQuery, useGetTasksQuery, useGetTimeLineItemsQuery, useGetTranslationMessages, useGetWorkflowOptionsQuery, useGetWorkflowsQuery, useLazyGetProcessListQuery, useLazyGetProductBlocksQuery, useLazyGetProductsQuery, useLazyGetResourceTypesQuery, useLazyGetTasksQuery, useLazyGetWorkflowsQuery, useMutateProcess, useOrchestratorConfig, useOrchestratorTheme, usePolicy, useProcessStatusCountsQuery, useQueryWithFetch, useRawProcessDetails, useResetTextSearchIndexMutation, useSetEngineStatusMutation, useSetSubscriptionInSyncMutation, useShowToastMessage, useStoredTableConfig, useStreamMessagesQuery, useSubscriptionActions, useSubscriptionDetailValueOverride, useWfoSession, useWithOrchestratorTheme, utcTimestampToLocalMoment, workflowFieldMapper, workflowsQuery };