andoncloud-dashboard-toolkit 1.0.8 → 1.0.11
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/graphql-request.d.ts +375 -165
- package/dist/graphql-ws.d.ts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +245 -67
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +242 -69
- package/dist/index.modern.js.map +1 -1
- package/dist/operations/index.d.ts +1 -1
- package/dist/operations/mutations/index.d.ts +1 -0
- package/dist/operations/queries/index.d.ts +1 -0
- package/dist/operations/subscriptions/index.d.ts +1 -0
- package/dist/utils/actioncable-client.d.ts +14 -0
- package/dist/utils/graphql-ws-client.d.ts +7 -0
- package/package.json +24 -19
|
@@ -33,15 +33,18 @@ export declare type CompanyConfig = {
|
|
|
33
33
|
displayedKpiItems: Array<Scalars['String']>;
|
|
34
34
|
productConfig: ProductConfig;
|
|
35
35
|
roleConfig: RoleConfig;
|
|
36
|
+
statusChangeTransitionPermissionsUpdatedAt?: Maybe<Scalars['String']>;
|
|
36
37
|
workplacesConfigs: Array<WorkplaceConfig>;
|
|
37
38
|
};
|
|
38
39
|
export declare type Counter = {
|
|
39
40
|
__typename?: 'Counter';
|
|
40
41
|
directoryId?: Maybe<Scalars['String']>;
|
|
42
|
+
hasNote: Scalars['Boolean'];
|
|
41
43
|
id: Scalars['ID'];
|
|
42
44
|
kind: CounterKindEnum;
|
|
43
45
|
name: Scalars['String'];
|
|
44
46
|
position: Scalars['Int'];
|
|
47
|
+
reasonId: Scalars['String'];
|
|
45
48
|
value: Scalars['Float'];
|
|
46
49
|
workplaceId: Scalars['String'];
|
|
47
50
|
};
|
|
@@ -111,19 +114,13 @@ export declare type FieldConfig = {
|
|
|
111
114
|
regexp?: Maybe<Scalars['String']>;
|
|
112
115
|
unit?: Maybe<Scalars['String']>;
|
|
113
116
|
};
|
|
114
|
-
export declare enum GridTableTypeEnum {
|
|
115
|
-
Counter = "COUNTER",
|
|
116
|
-
Empty = "EMPTY",
|
|
117
|
-
Indicator = "INDICATOR",
|
|
118
|
-
Kpi = "KPI",
|
|
119
|
-
Timer = "TIMER"
|
|
120
|
-
}
|
|
121
117
|
export declare type KpiItem = {
|
|
122
118
|
__typename?: 'KpiItem';
|
|
123
119
|
id: Scalars['ID'];
|
|
124
120
|
label: Scalars['String'];
|
|
125
121
|
symbol: Scalars['String'];
|
|
126
|
-
|
|
122
|
+
unit: Scalars['String'];
|
|
123
|
+
value: Scalars['Float'];
|
|
127
124
|
};
|
|
128
125
|
export declare type KpiProgressItem = {
|
|
129
126
|
__typename?: 'KpiProgressItem';
|
|
@@ -138,13 +135,20 @@ export declare type Metric = {
|
|
|
138
135
|
id: Scalars['ID'];
|
|
139
136
|
name: Scalars['String'];
|
|
140
137
|
};
|
|
138
|
+
export declare enum MetricTypeEnum {
|
|
139
|
+
Counter = "COUNTER",
|
|
140
|
+
Empty = "EMPTY",
|
|
141
|
+
Indicator = "INDICATOR",
|
|
142
|
+
Kpi = "KPI",
|
|
143
|
+
Timer = "TIMER"
|
|
144
|
+
}
|
|
141
145
|
export declare type MetricValue = {
|
|
142
146
|
__typename?: 'MetricValue';
|
|
143
147
|
active: Scalars['Boolean'];
|
|
144
148
|
metricId: Scalars['String'];
|
|
145
149
|
status: AndonLightColor;
|
|
146
150
|
timer?: Maybe<Scalars['Int']>;
|
|
147
|
-
type:
|
|
151
|
+
type: MetricTypeEnum;
|
|
148
152
|
value?: Maybe<Scalars['String']>;
|
|
149
153
|
workplaceId: Scalars['String'];
|
|
150
154
|
};
|
|
@@ -165,6 +169,7 @@ export declare type Mutation = {
|
|
|
165
169
|
startOrderExecution: StartOrderExecutionPayload;
|
|
166
170
|
stopOrderExecution: StopOrderExecutionPayload;
|
|
167
171
|
updateDashboard: UpdateDashboardPayload;
|
|
172
|
+
updateOrderExecution: UpdateOrderExecutionPayload;
|
|
168
173
|
updateWidget: UpdateWidgetPayload;
|
|
169
174
|
};
|
|
170
175
|
export declare type MutationCreateDashboardArgs = {
|
|
@@ -216,6 +221,7 @@ export declare type MutationRemoveWorkplaceUsersPresencesArgs = {
|
|
|
216
221
|
};
|
|
217
222
|
export declare type MutationSetCounterArgs = {
|
|
218
223
|
id: Scalars['ID'];
|
|
224
|
+
note?: InputMaybe<Scalars['String']>;
|
|
219
225
|
value: Scalars['Float'];
|
|
220
226
|
};
|
|
221
227
|
export declare type MutationStartOrderExecutionArgs = {
|
|
@@ -236,6 +242,10 @@ export declare type MutationUpdateDashboardArgs = {
|
|
|
236
242
|
id: Scalars['ID'];
|
|
237
243
|
name?: InputMaybe<Scalars['String']>;
|
|
238
244
|
};
|
|
245
|
+
export declare type MutationUpdateOrderExecutionArgs = {
|
|
246
|
+
id: Scalars['ID'];
|
|
247
|
+
standardRateId: Scalars['ID'];
|
|
248
|
+
};
|
|
239
249
|
export declare type MutationUpdateWidgetArgs = {
|
|
240
250
|
config: Scalars['String'];
|
|
241
251
|
id: Scalars['ID'];
|
|
@@ -267,13 +277,14 @@ export declare type OrderExecution = {
|
|
|
267
277
|
order: Order;
|
|
268
278
|
product?: Maybe<Product>;
|
|
269
279
|
quantity?: Maybe<Scalars['Float']>;
|
|
280
|
+
standardRateMismatched: Scalars['Boolean'];
|
|
270
281
|
startedAt: Scalars['String'];
|
|
271
282
|
workplaceId: Scalars['String'];
|
|
272
283
|
};
|
|
273
284
|
export declare type PauseOrderExecutionPayload = {
|
|
274
285
|
__typename?: 'PauseOrderExecutionPayload';
|
|
275
286
|
errors?: Maybe<Array<MutationError>>;
|
|
276
|
-
|
|
287
|
+
orderExecution?: Maybe<OrderExecution>;
|
|
277
288
|
};
|
|
278
289
|
export declare type Product = {
|
|
279
290
|
__typename?: 'Product';
|
|
@@ -305,6 +316,7 @@ export declare type Query = {
|
|
|
305
316
|
products: Array<Product>;
|
|
306
317
|
reasons: Array<Reason>;
|
|
307
318
|
shifts: Array<Shift>;
|
|
319
|
+
standardRates: Array<StandardRate>;
|
|
308
320
|
statusChangeTransitionPermissions: Array<StatusChangeTransitionPermission>;
|
|
309
321
|
statusChanges: Array<StatusChange>;
|
|
310
322
|
users: Array<User>;
|
|
@@ -313,8 +325,11 @@ export declare type Query = {
|
|
|
313
325
|
workplaces: Array<Workplace>;
|
|
314
326
|
};
|
|
315
327
|
export declare type QueryMetricValuesArgs = {
|
|
316
|
-
|
|
317
|
-
|
|
328
|
+
metricIds?: InputMaybe<Array<Scalars['ID']>>;
|
|
329
|
+
workplaceIds?: InputMaybe<Array<Scalars['ID']>>;
|
|
330
|
+
};
|
|
331
|
+
export declare type QueryStandardRatesArgs = {
|
|
332
|
+
orderExecutionId: Scalars['ID'];
|
|
318
333
|
};
|
|
319
334
|
export declare type QueryWidgetArgs = {
|
|
320
335
|
id: Scalars['ID'];
|
|
@@ -372,10 +387,15 @@ export declare type Shift = {
|
|
|
372
387
|
name: Scalars['String'];
|
|
373
388
|
startedAt: Scalars['String'];
|
|
374
389
|
};
|
|
390
|
+
export declare type StandardRate = {
|
|
391
|
+
__typename?: 'StandardRate';
|
|
392
|
+
id: Scalars['ID'];
|
|
393
|
+
label: Scalars['String'];
|
|
394
|
+
};
|
|
375
395
|
export declare type StartOrderExecutionPayload = {
|
|
376
396
|
__typename?: 'StartOrderExecutionPayload';
|
|
377
397
|
errors?: Maybe<Array<MutationError>>;
|
|
378
|
-
|
|
398
|
+
orderExecution?: Maybe<OrderExecution>;
|
|
379
399
|
};
|
|
380
400
|
export declare type StatusChange = {
|
|
381
401
|
__typename?: 'StatusChange';
|
|
@@ -391,9 +411,7 @@ export declare type StatusChange = {
|
|
|
391
411
|
};
|
|
392
412
|
export declare type StatusChangeTransitionPermission = {
|
|
393
413
|
__typename?: 'StatusChangeTransitionPermission';
|
|
394
|
-
allowed: Scalars['Boolean'];
|
|
395
414
|
fromReasonId: Scalars['String'];
|
|
396
|
-
id: Scalars['ID'];
|
|
397
415
|
roleId: Scalars['String'];
|
|
398
416
|
toReasonId: Scalars['String'];
|
|
399
417
|
workplaceId: Scalars['String'];
|
|
@@ -407,7 +425,7 @@ export declare enum StatusScreenDisplayBlocksEnum {
|
|
|
407
425
|
export declare type StopOrderExecutionPayload = {
|
|
408
426
|
__typename?: 'StopOrderExecutionPayload';
|
|
409
427
|
errors?: Maybe<Array<MutationError>>;
|
|
410
|
-
|
|
428
|
+
orderExecution?: Maybe<OrderExecution>;
|
|
411
429
|
};
|
|
412
430
|
export declare type Subscription = {
|
|
413
431
|
__typename?: 'Subscription';
|
|
@@ -421,6 +439,11 @@ export declare type UpdateDashboardPayload = {
|
|
|
421
439
|
dashboard?: Maybe<Dashboard>;
|
|
422
440
|
errors?: Maybe<Array<MutationError>>;
|
|
423
441
|
};
|
|
442
|
+
export declare type UpdateOrderExecutionPayload = {
|
|
443
|
+
__typename?: 'UpdateOrderExecutionPayload';
|
|
444
|
+
errors?: Maybe<Array<MutationError>>;
|
|
445
|
+
orderExecution?: Maybe<OrderExecution>;
|
|
446
|
+
};
|
|
424
447
|
export declare type UpdateWidgetPayload = {
|
|
425
448
|
__typename?: 'UpdateWidgetPayload';
|
|
426
449
|
errors?: Maybe<Array<MutationError>>;
|
|
@@ -487,13 +510,13 @@ export declare type CreateDashboardMutation = {
|
|
|
487
510
|
__typename?: 'Dashboard';
|
|
488
511
|
id: string;
|
|
489
512
|
name: string;
|
|
490
|
-
gridLayout?: string | null
|
|
491
|
-
} | null
|
|
513
|
+
gridLayout?: string | null;
|
|
514
|
+
} | null;
|
|
492
515
|
errors?: Array<{
|
|
493
516
|
__typename?: 'MutationError';
|
|
494
|
-
field?: string | null
|
|
517
|
+
field?: string | null;
|
|
495
518
|
messages: Array<string>;
|
|
496
|
-
}> | null
|
|
519
|
+
}> | null;
|
|
497
520
|
};
|
|
498
521
|
};
|
|
499
522
|
export declare type CreateOrderMutationVariables = Exact<{
|
|
@@ -508,12 +531,12 @@ export declare type CreateOrderMutation = {
|
|
|
508
531
|
__typename?: 'Order';
|
|
509
532
|
id: string;
|
|
510
533
|
number: string;
|
|
511
|
-
} | null
|
|
534
|
+
} | null;
|
|
512
535
|
errors?: Array<{
|
|
513
536
|
__typename?: 'MutationError';
|
|
514
|
-
field?: string | null
|
|
537
|
+
field?: string | null;
|
|
515
538
|
messages: Array<string>;
|
|
516
|
-
}> | null
|
|
539
|
+
}> | null;
|
|
517
540
|
};
|
|
518
541
|
};
|
|
519
542
|
export declare type CreateProductMutationVariables = Exact<{
|
|
@@ -528,15 +551,15 @@ export declare type CreateProductMutation = {
|
|
|
528
551
|
product?: {
|
|
529
552
|
__typename?: 'Product';
|
|
530
553
|
id: string;
|
|
531
|
-
name?: string | null
|
|
554
|
+
name?: string | null;
|
|
532
555
|
number: string;
|
|
533
|
-
assemblyManual?: string | null
|
|
534
|
-
} | null
|
|
556
|
+
assemblyManual?: string | null;
|
|
557
|
+
} | null;
|
|
535
558
|
errors?: Array<{
|
|
536
559
|
__typename?: 'MutationError';
|
|
537
|
-
field?: string | null
|
|
560
|
+
field?: string | null;
|
|
538
561
|
messages: Array<string>;
|
|
539
|
-
}> | null
|
|
562
|
+
}> | null;
|
|
540
563
|
};
|
|
541
564
|
};
|
|
542
565
|
export declare type CreateStatusChangeMutationVariables = Exact<{
|
|
@@ -556,12 +579,12 @@ export declare type CreateStatusChangeMutation = {
|
|
|
556
579
|
id: string;
|
|
557
580
|
workplaceId: string;
|
|
558
581
|
startedAt: string;
|
|
559
|
-
finishedAt?: string | null
|
|
560
|
-
note?: string | null
|
|
582
|
+
finishedAt?: string | null;
|
|
583
|
+
note?: string | null;
|
|
561
584
|
reason: {
|
|
562
585
|
__typename?: 'Reason';
|
|
563
586
|
id: string;
|
|
564
|
-
parentId?: string | null
|
|
587
|
+
parentId?: string | null;
|
|
565
588
|
reasonGroupId: string;
|
|
566
589
|
name: string;
|
|
567
590
|
position: number;
|
|
@@ -580,20 +603,20 @@ export declare type CreateStatusChangeMutation = {
|
|
|
580
603
|
__typename?: 'Order';
|
|
581
604
|
id: string;
|
|
582
605
|
number: string;
|
|
583
|
-
} | null
|
|
606
|
+
} | null;
|
|
584
607
|
product?: {
|
|
585
608
|
__typename?: 'Product';
|
|
586
609
|
id: string;
|
|
587
|
-
name?: string | null
|
|
610
|
+
name?: string | null;
|
|
588
611
|
number: string;
|
|
589
|
-
assemblyManual?: string | null
|
|
590
|
-
} | null
|
|
591
|
-
} | null
|
|
612
|
+
assemblyManual?: string | null;
|
|
613
|
+
} | null;
|
|
614
|
+
} | null;
|
|
592
615
|
errors?: Array<{
|
|
593
616
|
__typename?: 'MutationError';
|
|
594
|
-
field?: string | null
|
|
617
|
+
field?: string | null;
|
|
595
618
|
messages: Array<string>;
|
|
596
|
-
}> | null
|
|
619
|
+
}> | null;
|
|
597
620
|
};
|
|
598
621
|
};
|
|
599
622
|
export declare type CreateUserPresenceMutationVariables = Exact<{
|
|
@@ -610,7 +633,7 @@ export declare type CreateUserPresenceMutation = {
|
|
|
610
633
|
id: string;
|
|
611
634
|
workplaceId: string;
|
|
612
635
|
startedAt: string;
|
|
613
|
-
finishedAt?: string | null
|
|
636
|
+
finishedAt?: string | null;
|
|
614
637
|
user: {
|
|
615
638
|
__typename?: 'User';
|
|
616
639
|
id: string;
|
|
@@ -623,12 +646,12 @@ export declare type CreateUserPresenceMutation = {
|
|
|
623
646
|
login: string;
|
|
624
647
|
name: string;
|
|
625
648
|
};
|
|
626
|
-
} | null
|
|
649
|
+
} | null;
|
|
627
650
|
errors?: Array<{
|
|
628
651
|
__typename?: 'MutationError';
|
|
629
|
-
field?: string | null
|
|
652
|
+
field?: string | null;
|
|
630
653
|
messages: Array<string>;
|
|
631
|
-
}> | null
|
|
654
|
+
}> | null;
|
|
632
655
|
};
|
|
633
656
|
};
|
|
634
657
|
export declare type CreateWidgetMutationVariables = Exact<{
|
|
@@ -642,13 +665,13 @@ export declare type CreateWidgetMutation = {
|
|
|
642
665
|
widget?: {
|
|
643
666
|
__typename?: 'Widget';
|
|
644
667
|
id: string;
|
|
645
|
-
config?: string | null
|
|
646
|
-
} | null
|
|
668
|
+
config?: string | null;
|
|
669
|
+
} | null;
|
|
647
670
|
errors?: Array<{
|
|
648
671
|
__typename?: 'MutationError';
|
|
649
|
-
field?: string | null
|
|
672
|
+
field?: string | null;
|
|
650
673
|
messages: Array<string>;
|
|
651
|
-
}> | null
|
|
674
|
+
}> | null;
|
|
652
675
|
};
|
|
653
676
|
};
|
|
654
677
|
export declare type PauseOrderExecutionMutationVariables = Exact<{
|
|
@@ -659,16 +682,33 @@ export declare type PauseOrderExecutionMutation = {
|
|
|
659
682
|
__typename?: 'Mutation';
|
|
660
683
|
pauseOrderExecution: {
|
|
661
684
|
__typename?: 'PauseOrderExecutionPayload';
|
|
662
|
-
|
|
663
|
-
__typename?: '
|
|
685
|
+
orderExecution?: {
|
|
686
|
+
__typename?: 'OrderExecution';
|
|
664
687
|
id: string;
|
|
665
|
-
|
|
666
|
-
|
|
688
|
+
workplaceId: string;
|
|
689
|
+
startedAt: string;
|
|
690
|
+
finishedAt?: string | null;
|
|
691
|
+
quantity?: number | null;
|
|
692
|
+
note?: string | null;
|
|
693
|
+
standardRateMismatched: boolean;
|
|
694
|
+
order: {
|
|
695
|
+
__typename?: 'Order';
|
|
696
|
+
id: string;
|
|
697
|
+
number: string;
|
|
698
|
+
};
|
|
699
|
+
product?: {
|
|
700
|
+
__typename?: 'Product';
|
|
701
|
+
id: string;
|
|
702
|
+
name?: string | null;
|
|
703
|
+
number: string;
|
|
704
|
+
assemblyManual?: string | null;
|
|
705
|
+
} | null;
|
|
706
|
+
} | null;
|
|
667
707
|
errors?: Array<{
|
|
668
708
|
__typename?: 'MutationError';
|
|
669
|
-
field?: string | null
|
|
709
|
+
field?: string | null;
|
|
670
710
|
messages: Array<string>;
|
|
671
|
-
}> | null
|
|
711
|
+
}> | null;
|
|
672
712
|
};
|
|
673
713
|
};
|
|
674
714
|
export declare type RemoveDashboardMutationVariables = Exact<{
|
|
@@ -680,9 +720,9 @@ export declare type RemoveDashboardMutation = {
|
|
|
680
720
|
__typename?: 'RemoveDashboardPayload';
|
|
681
721
|
errors?: Array<{
|
|
682
722
|
__typename?: 'MutationError';
|
|
683
|
-
field?: string | null
|
|
723
|
+
field?: string | null;
|
|
684
724
|
messages: Array<string>;
|
|
685
|
-
}> | null
|
|
725
|
+
}> | null;
|
|
686
726
|
};
|
|
687
727
|
};
|
|
688
728
|
export declare type RemoveUserPresenceMutationVariables = Exact<{
|
|
@@ -694,9 +734,9 @@ export declare type RemoveUserPresenceMutation = {
|
|
|
694
734
|
__typename?: 'RemoveUserPresencePayload';
|
|
695
735
|
errors?: Array<{
|
|
696
736
|
__typename?: 'MutationError';
|
|
697
|
-
field?: string | null
|
|
737
|
+
field?: string | null;
|
|
698
738
|
messages: Array<string>;
|
|
699
|
-
}> | null
|
|
739
|
+
}> | null;
|
|
700
740
|
};
|
|
701
741
|
};
|
|
702
742
|
export declare type RemoveWidgetMutationVariables = Exact<{
|
|
@@ -708,9 +748,9 @@ export declare type RemoveWidgetMutation = {
|
|
|
708
748
|
__typename?: 'RemoveWidgetPayload';
|
|
709
749
|
errors?: Array<{
|
|
710
750
|
__typename?: 'MutationError';
|
|
711
|
-
field?: string | null
|
|
751
|
+
field?: string | null;
|
|
712
752
|
messages: Array<string>;
|
|
713
|
-
}> | null
|
|
753
|
+
}> | null;
|
|
714
754
|
};
|
|
715
755
|
};
|
|
716
756
|
export declare type RemoveWorkplaceUsersPresencesMutationVariables = Exact<{
|
|
@@ -722,14 +762,15 @@ export declare type RemoveWorkplaceUsersPresencesMutation = {
|
|
|
722
762
|
__typename?: 'RemoveWorkplaceUsersPresencesPayload';
|
|
723
763
|
errors?: Array<{
|
|
724
764
|
__typename?: 'MutationError';
|
|
725
|
-
field?: string | null
|
|
765
|
+
field?: string | null;
|
|
726
766
|
messages: Array<string>;
|
|
727
|
-
}> | null
|
|
767
|
+
}> | null;
|
|
728
768
|
};
|
|
729
769
|
};
|
|
730
770
|
export declare type SetCounterMutationVariables = Exact<{
|
|
731
771
|
id: Scalars['ID'];
|
|
732
772
|
value: Scalars['Float'];
|
|
773
|
+
note?: InputMaybe<Scalars['String']>;
|
|
733
774
|
}>;
|
|
734
775
|
export declare type SetCounterMutation = {
|
|
735
776
|
__typename?: 'Mutation';
|
|
@@ -740,16 +781,18 @@ export declare type SetCounterMutation = {
|
|
|
740
781
|
id: string;
|
|
741
782
|
kind: CounterKindEnum;
|
|
742
783
|
workplaceId: string;
|
|
743
|
-
directoryId?: string | null
|
|
784
|
+
directoryId?: string | null;
|
|
785
|
+
reasonId: string;
|
|
744
786
|
name: string;
|
|
745
787
|
value: number;
|
|
746
788
|
position: number;
|
|
747
|
-
|
|
789
|
+
hasNote: boolean;
|
|
790
|
+
} | null;
|
|
748
791
|
errors?: Array<{
|
|
749
792
|
__typename?: 'MutationError';
|
|
750
|
-
field?: string | null
|
|
793
|
+
field?: string | null;
|
|
751
794
|
messages: Array<string>;
|
|
752
|
-
}> | null
|
|
795
|
+
}> | null;
|
|
753
796
|
};
|
|
754
797
|
};
|
|
755
798
|
export declare type StartOrderExecutionMutationVariables = Exact<{
|
|
@@ -765,16 +808,33 @@ export declare type StartOrderExecutionMutation = {
|
|
|
765
808
|
__typename?: 'Mutation';
|
|
766
809
|
startOrderExecution: {
|
|
767
810
|
__typename?: 'StartOrderExecutionPayload';
|
|
768
|
-
|
|
769
|
-
__typename?: '
|
|
811
|
+
orderExecution?: {
|
|
812
|
+
__typename?: 'OrderExecution';
|
|
770
813
|
id: string;
|
|
771
|
-
|
|
772
|
-
|
|
814
|
+
workplaceId: string;
|
|
815
|
+
startedAt: string;
|
|
816
|
+
finishedAt?: string | null;
|
|
817
|
+
quantity?: number | null;
|
|
818
|
+
note?: string | null;
|
|
819
|
+
standardRateMismatched: boolean;
|
|
820
|
+
order: {
|
|
821
|
+
__typename?: 'Order';
|
|
822
|
+
id: string;
|
|
823
|
+
number: string;
|
|
824
|
+
};
|
|
825
|
+
product?: {
|
|
826
|
+
__typename?: 'Product';
|
|
827
|
+
id: string;
|
|
828
|
+
name?: string | null;
|
|
829
|
+
number: string;
|
|
830
|
+
assemblyManual?: string | null;
|
|
831
|
+
} | null;
|
|
832
|
+
} | null;
|
|
773
833
|
errors?: Array<{
|
|
774
834
|
__typename?: 'MutationError';
|
|
775
|
-
field?: string | null
|
|
835
|
+
field?: string | null;
|
|
776
836
|
messages: Array<string>;
|
|
777
|
-
}> | null
|
|
837
|
+
}> | null;
|
|
778
838
|
};
|
|
779
839
|
};
|
|
780
840
|
export declare type StopOrderExecutionMutationVariables = Exact<{
|
|
@@ -785,16 +845,33 @@ export declare type StopOrderExecutionMutation = {
|
|
|
785
845
|
__typename?: 'Mutation';
|
|
786
846
|
stopOrderExecution: {
|
|
787
847
|
__typename?: 'StopOrderExecutionPayload';
|
|
788
|
-
|
|
789
|
-
__typename?: '
|
|
848
|
+
orderExecution?: {
|
|
849
|
+
__typename?: 'OrderExecution';
|
|
790
850
|
id: string;
|
|
791
|
-
|
|
792
|
-
|
|
851
|
+
workplaceId: string;
|
|
852
|
+
startedAt: string;
|
|
853
|
+
finishedAt?: string | null;
|
|
854
|
+
quantity?: number | null;
|
|
855
|
+
note?: string | null;
|
|
856
|
+
standardRateMismatched: boolean;
|
|
857
|
+
order: {
|
|
858
|
+
__typename?: 'Order';
|
|
859
|
+
id: string;
|
|
860
|
+
number: string;
|
|
861
|
+
};
|
|
862
|
+
product?: {
|
|
863
|
+
__typename?: 'Product';
|
|
864
|
+
id: string;
|
|
865
|
+
name?: string | null;
|
|
866
|
+
number: string;
|
|
867
|
+
assemblyManual?: string | null;
|
|
868
|
+
} | null;
|
|
869
|
+
} | null;
|
|
793
870
|
errors?: Array<{
|
|
794
871
|
__typename?: 'MutationError';
|
|
795
|
-
field?: string | null
|
|
872
|
+
field?: string | null;
|
|
796
873
|
messages: Array<string>;
|
|
797
|
-
}> | null
|
|
874
|
+
}> | null;
|
|
798
875
|
};
|
|
799
876
|
};
|
|
800
877
|
export declare type UpdateDashboardMutationVariables = Exact<{
|
|
@@ -810,13 +887,50 @@ export declare type UpdateDashboardMutation = {
|
|
|
810
887
|
__typename?: 'Dashboard';
|
|
811
888
|
id: string;
|
|
812
889
|
name: string;
|
|
813
|
-
gridLayout?: string | null
|
|
814
|
-
} | null
|
|
890
|
+
gridLayout?: string | null;
|
|
891
|
+
} | null;
|
|
892
|
+
errors?: Array<{
|
|
893
|
+
__typename?: 'MutationError';
|
|
894
|
+
field?: string | null;
|
|
895
|
+
messages: Array<string>;
|
|
896
|
+
}> | null;
|
|
897
|
+
};
|
|
898
|
+
};
|
|
899
|
+
export declare type UpdateOrderExecutionMutationVariables = Exact<{
|
|
900
|
+
id: Scalars['ID'];
|
|
901
|
+
standardRateId: Scalars['ID'];
|
|
902
|
+
}>;
|
|
903
|
+
export declare type UpdateOrderExecutionMutation = {
|
|
904
|
+
__typename?: 'Mutation';
|
|
905
|
+
updateOrderExecution: {
|
|
906
|
+
__typename?: 'UpdateOrderExecutionPayload';
|
|
907
|
+
orderExecution?: {
|
|
908
|
+
__typename?: 'OrderExecution';
|
|
909
|
+
id: string;
|
|
910
|
+
workplaceId: string;
|
|
911
|
+
startedAt: string;
|
|
912
|
+
finishedAt?: string | null;
|
|
913
|
+
quantity?: number | null;
|
|
914
|
+
note?: string | null;
|
|
915
|
+
standardRateMismatched: boolean;
|
|
916
|
+
order: {
|
|
917
|
+
__typename?: 'Order';
|
|
918
|
+
id: string;
|
|
919
|
+
number: string;
|
|
920
|
+
};
|
|
921
|
+
product?: {
|
|
922
|
+
__typename?: 'Product';
|
|
923
|
+
id: string;
|
|
924
|
+
name?: string | null;
|
|
925
|
+
number: string;
|
|
926
|
+
assemblyManual?: string | null;
|
|
927
|
+
} | null;
|
|
928
|
+
} | null;
|
|
815
929
|
errors?: Array<{
|
|
816
930
|
__typename?: 'MutationError';
|
|
817
|
-
field?: string | null
|
|
931
|
+
field?: string | null;
|
|
818
932
|
messages: Array<string>;
|
|
819
|
-
}> | null
|
|
933
|
+
}> | null;
|
|
820
934
|
};
|
|
821
935
|
};
|
|
822
936
|
export declare type UpdateWidgetMutationVariables = Exact<{
|
|
@@ -830,13 +944,13 @@ export declare type UpdateWidgetMutation = {
|
|
|
830
944
|
widget?: {
|
|
831
945
|
__typename?: 'Widget';
|
|
832
946
|
id: string;
|
|
833
|
-
config?: string | null
|
|
834
|
-
} | null
|
|
947
|
+
config?: string | null;
|
|
948
|
+
} | null;
|
|
835
949
|
errors?: Array<{
|
|
836
950
|
__typename?: 'MutationError';
|
|
837
|
-
field?: string | null
|
|
951
|
+
field?: string | null;
|
|
838
952
|
messages: Array<string>;
|
|
839
|
-
}> | null
|
|
953
|
+
}> | null;
|
|
840
954
|
};
|
|
841
955
|
};
|
|
842
956
|
export declare type CompanyConfigQueryVariables = Exact<{
|
|
@@ -847,14 +961,15 @@ export declare type CompanyConfigQuery = {
|
|
|
847
961
|
companyConfig: {
|
|
848
962
|
__typename?: 'CompanyConfig';
|
|
849
963
|
displayedKpiItems: Array<string>;
|
|
964
|
+
statusChangeTransitionPermissionsUpdatedAt?: string | null;
|
|
850
965
|
productConfig: {
|
|
851
966
|
__typename?: 'ProductConfig';
|
|
852
967
|
formFieldsConfigs: Array<{
|
|
853
968
|
__typename?: 'FieldConfig';
|
|
854
969
|
name: string;
|
|
855
|
-
regexp?: string | null
|
|
856
|
-
prefix?: string | null
|
|
857
|
-
unit?: string | null
|
|
970
|
+
regexp?: string | null;
|
|
971
|
+
prefix?: string | null;
|
|
972
|
+
unit?: string | null;
|
|
858
973
|
}>;
|
|
859
974
|
};
|
|
860
975
|
roleConfig: {
|
|
@@ -865,26 +980,26 @@ export declare type CompanyConfigQuery = {
|
|
|
865
980
|
__typename?: 'WorkplaceConfig';
|
|
866
981
|
workplaceId: string;
|
|
867
982
|
defaultScreen: DefaultScreenEnum;
|
|
868
|
-
statusScreenDisplayBlocks?: Array<StatusScreenDisplayBlocksEnum> | null
|
|
983
|
+
statusScreenDisplayBlocks?: Array<StatusScreenDisplayBlocksEnum> | null;
|
|
869
984
|
orderConfig: {
|
|
870
985
|
__typename?: 'OrderConfig';
|
|
871
986
|
featureEnabled: boolean;
|
|
872
|
-
afterStartOrderExecutionReasonId?: string | null
|
|
873
|
-
afterPauseOrderExecutionReasonId?: string | null
|
|
874
|
-
afterStopOrderExecutionReasonId?: string | null
|
|
987
|
+
afterStartOrderExecutionReasonId?: string | null;
|
|
988
|
+
afterPauseOrderExecutionReasonId?: string | null;
|
|
989
|
+
afterStopOrderExecutionReasonId?: string | null;
|
|
875
990
|
orderExecutionFormFieldsConfigs: Array<{
|
|
876
991
|
__typename?: 'FieldConfig';
|
|
877
992
|
name: string;
|
|
878
|
-
regexp?: string | null
|
|
879
|
-
prefix?: string | null
|
|
880
|
-
unit?: string | null
|
|
993
|
+
regexp?: string | null;
|
|
994
|
+
prefix?: string | null;
|
|
995
|
+
unit?: string | null;
|
|
881
996
|
}>;
|
|
882
997
|
orderFormFieldsConfigs: Array<{
|
|
883
998
|
__typename?: 'FieldConfig';
|
|
884
999
|
name: string;
|
|
885
|
-
regexp?: string | null
|
|
886
|
-
prefix?: string | null
|
|
887
|
-
unit?: string | null
|
|
1000
|
+
regexp?: string | null;
|
|
1001
|
+
prefix?: string | null;
|
|
1002
|
+
unit?: string | null;
|
|
888
1003
|
}>;
|
|
889
1004
|
};
|
|
890
1005
|
screenSaverConfig: {
|
|
@@ -913,8 +1028,8 @@ export declare type CounterDirectoriesQuery = {
|
|
|
913
1028
|
counterDirectories: Array<{
|
|
914
1029
|
__typename?: 'CounterDirectory';
|
|
915
1030
|
id: string;
|
|
916
|
-
name?: string | null
|
|
917
|
-
directoryId?: string | null
|
|
1031
|
+
name?: string | null;
|
|
1032
|
+
directoryId?: string | null;
|
|
918
1033
|
position: number;
|
|
919
1034
|
workplaceId: string;
|
|
920
1035
|
}>;
|
|
@@ -929,10 +1044,12 @@ export declare type CountersQuery = {
|
|
|
929
1044
|
id: string;
|
|
930
1045
|
kind: CounterKindEnum;
|
|
931
1046
|
workplaceId: string;
|
|
932
|
-
directoryId?: string | null
|
|
1047
|
+
directoryId?: string | null;
|
|
1048
|
+
reasonId: string;
|
|
933
1049
|
name: string;
|
|
934
1050
|
value: number;
|
|
935
1051
|
position: number;
|
|
1052
|
+
hasNote: boolean;
|
|
936
1053
|
}>;
|
|
937
1054
|
};
|
|
938
1055
|
export declare type CurrentUserQueryVariables = Exact<{
|
|
@@ -956,21 +1073,21 @@ export declare type DashboardsQuery = {
|
|
|
956
1073
|
__typename?: 'Dashboard';
|
|
957
1074
|
id: string;
|
|
958
1075
|
name: string;
|
|
959
|
-
gridLayout?: string | null
|
|
1076
|
+
gridLayout?: string | null;
|
|
960
1077
|
}>;
|
|
961
1078
|
};
|
|
962
1079
|
export declare type MetricValuesQueryVariables = Exact<{
|
|
963
|
-
|
|
964
|
-
|
|
1080
|
+
workplaceIds?: InputMaybe<Array<Scalars['ID']> | Scalars['ID']>;
|
|
1081
|
+
metricIds?: InputMaybe<Array<Scalars['ID']> | Scalars['ID']>;
|
|
965
1082
|
}>;
|
|
966
1083
|
export declare type MetricValuesQuery = {
|
|
967
1084
|
__typename?: 'Query';
|
|
968
1085
|
metricValues: Array<{
|
|
969
1086
|
__typename?: 'MetricValue';
|
|
970
1087
|
active: boolean;
|
|
971
|
-
type:
|
|
972
|
-
timer?: number | null
|
|
973
|
-
value?: string | null
|
|
1088
|
+
type: MetricTypeEnum;
|
|
1089
|
+
timer?: number | null;
|
|
1090
|
+
value?: string | null;
|
|
974
1091
|
status: AndonLightColor;
|
|
975
1092
|
workplaceId: string;
|
|
976
1093
|
metricId: string;
|
|
@@ -985,7 +1102,7 @@ export declare type MetricsQuery = {
|
|
|
985
1102
|
__typename?: 'Metric';
|
|
986
1103
|
id: string;
|
|
987
1104
|
name: string;
|
|
988
|
-
}> | null
|
|
1105
|
+
}> | null;
|
|
989
1106
|
};
|
|
990
1107
|
export declare type OrdersQueryVariables = Exact<{
|
|
991
1108
|
[key: string]: never;
|
|
@@ -1008,9 +1125,10 @@ export declare type OrdersExecutionsQuery = {
|
|
|
1008
1125
|
id: string;
|
|
1009
1126
|
workplaceId: string;
|
|
1010
1127
|
startedAt: string;
|
|
1011
|
-
finishedAt?: string | null
|
|
1012
|
-
quantity?: number | null
|
|
1013
|
-
note?: string | null
|
|
1128
|
+
finishedAt?: string | null;
|
|
1129
|
+
quantity?: number | null;
|
|
1130
|
+
note?: string | null;
|
|
1131
|
+
standardRateMismatched: boolean;
|
|
1014
1132
|
order: {
|
|
1015
1133
|
__typename?: 'Order';
|
|
1016
1134
|
id: string;
|
|
@@ -1019,10 +1137,10 @@ export declare type OrdersExecutionsQuery = {
|
|
|
1019
1137
|
product?: {
|
|
1020
1138
|
__typename?: 'Product';
|
|
1021
1139
|
id: string;
|
|
1022
|
-
name?: string | null
|
|
1140
|
+
name?: string | null;
|
|
1023
1141
|
number: string;
|
|
1024
|
-
assemblyManual?: string | null
|
|
1025
|
-
} | null
|
|
1142
|
+
assemblyManual?: string | null;
|
|
1143
|
+
} | null;
|
|
1026
1144
|
}>;
|
|
1027
1145
|
};
|
|
1028
1146
|
export declare type ProductsQueryVariables = Exact<{
|
|
@@ -1033,9 +1151,9 @@ export declare type ProductsQuery = {
|
|
|
1033
1151
|
products: Array<{
|
|
1034
1152
|
__typename?: 'Product';
|
|
1035
1153
|
id: string;
|
|
1036
|
-
name?: string | null
|
|
1154
|
+
name?: string | null;
|
|
1037
1155
|
number: string;
|
|
1038
|
-
assemblyManual?: string | null
|
|
1156
|
+
assemblyManual?: string | null;
|
|
1039
1157
|
}>;
|
|
1040
1158
|
};
|
|
1041
1159
|
export declare type ReasonsQueryVariables = Exact<{
|
|
@@ -1046,7 +1164,7 @@ export declare type ReasonsQuery = {
|
|
|
1046
1164
|
reasons: Array<{
|
|
1047
1165
|
__typename?: 'Reason';
|
|
1048
1166
|
id: string;
|
|
1049
|
-
parentId?: string | null
|
|
1167
|
+
parentId?: string | null;
|
|
1050
1168
|
reasonGroupId: string;
|
|
1051
1169
|
name: string;
|
|
1052
1170
|
position: number;
|
|
@@ -1069,6 +1187,17 @@ export declare type ShiftsQuery = {
|
|
|
1069
1187
|
finishedAt: string;
|
|
1070
1188
|
}>;
|
|
1071
1189
|
};
|
|
1190
|
+
export declare type StandardRatesQueryVariables = Exact<{
|
|
1191
|
+
orderExecutionId: Scalars['ID'];
|
|
1192
|
+
}>;
|
|
1193
|
+
export declare type StandardRatesQuery = {
|
|
1194
|
+
__typename?: 'Query';
|
|
1195
|
+
standardRates: Array<{
|
|
1196
|
+
__typename?: 'StandardRate';
|
|
1197
|
+
id: string;
|
|
1198
|
+
label: string;
|
|
1199
|
+
}>;
|
|
1200
|
+
};
|
|
1072
1201
|
export declare type StatusChangeTransitionPermissionsQueryVariables = Exact<{
|
|
1073
1202
|
[key: string]: never;
|
|
1074
1203
|
}>;
|
|
@@ -1076,12 +1205,10 @@ export declare type StatusChangeTransitionPermissionsQuery = {
|
|
|
1076
1205
|
__typename?: 'Query';
|
|
1077
1206
|
statusChangeTransitionPermissions: Array<{
|
|
1078
1207
|
__typename?: 'StatusChangeTransitionPermission';
|
|
1079
|
-
id: string;
|
|
1080
1208
|
workplaceId: string;
|
|
1081
1209
|
roleId: string;
|
|
1082
1210
|
fromReasonId: string;
|
|
1083
1211
|
toReasonId: string;
|
|
1084
|
-
allowed: boolean;
|
|
1085
1212
|
}>;
|
|
1086
1213
|
};
|
|
1087
1214
|
export declare type StatusChangesQueryVariables = Exact<{
|
|
@@ -1094,12 +1221,12 @@ export declare type StatusChangesQuery = {
|
|
|
1094
1221
|
id: string;
|
|
1095
1222
|
workplaceId: string;
|
|
1096
1223
|
startedAt: string;
|
|
1097
|
-
finishedAt?: string | null
|
|
1098
|
-
note?: string | null
|
|
1224
|
+
finishedAt?: string | null;
|
|
1225
|
+
note?: string | null;
|
|
1099
1226
|
reason: {
|
|
1100
1227
|
__typename?: 'Reason';
|
|
1101
1228
|
id: string;
|
|
1102
|
-
parentId?: string | null
|
|
1229
|
+
parentId?: string | null;
|
|
1103
1230
|
reasonGroupId: string;
|
|
1104
1231
|
name: string;
|
|
1105
1232
|
position: number;
|
|
@@ -1118,14 +1245,14 @@ export declare type StatusChangesQuery = {
|
|
|
1118
1245
|
__typename?: 'Order';
|
|
1119
1246
|
id: string;
|
|
1120
1247
|
number: string;
|
|
1121
|
-
} | null
|
|
1248
|
+
} | null;
|
|
1122
1249
|
product?: {
|
|
1123
1250
|
__typename?: 'Product';
|
|
1124
1251
|
id: string;
|
|
1125
|
-
name?: string | null
|
|
1252
|
+
name?: string | null;
|
|
1126
1253
|
number: string;
|
|
1127
|
-
assemblyManual?: string | null
|
|
1128
|
-
} | null
|
|
1254
|
+
assemblyManual?: string | null;
|
|
1255
|
+
} | null;
|
|
1129
1256
|
}>;
|
|
1130
1257
|
};
|
|
1131
1258
|
export declare type UsersQueryVariables = Exact<{
|
|
@@ -1150,7 +1277,7 @@ export declare type UsersPresencesQuery = {
|
|
|
1150
1277
|
id: string;
|
|
1151
1278
|
workplaceId: string;
|
|
1152
1279
|
startedAt: string;
|
|
1153
|
-
finishedAt?: string | null
|
|
1280
|
+
finishedAt?: string | null;
|
|
1154
1281
|
user: {
|
|
1155
1282
|
__typename?: 'User';
|
|
1156
1283
|
id: string;
|
|
@@ -1173,7 +1300,7 @@ export declare type WidgetQuery = {
|
|
|
1173
1300
|
widget: {
|
|
1174
1301
|
__typename?: 'Widget';
|
|
1175
1302
|
id: string;
|
|
1176
|
-
config?: string | null
|
|
1303
|
+
config?: string | null;
|
|
1177
1304
|
};
|
|
1178
1305
|
};
|
|
1179
1306
|
export declare type WorkplacesQueryVariables = Exact<{
|
|
@@ -1191,7 +1318,8 @@ export declare type WorkplacesQuery = {
|
|
|
1191
1318
|
id: string;
|
|
1192
1319
|
label: string;
|
|
1193
1320
|
symbol: string;
|
|
1194
|
-
value:
|
|
1321
|
+
value: number;
|
|
1322
|
+
unit: string;
|
|
1195
1323
|
} | {
|
|
1196
1324
|
__typename?: 'KpiProgressItem';
|
|
1197
1325
|
id: string;
|
|
@@ -1201,41 +1329,120 @@ export declare type WorkplacesQuery = {
|
|
|
1201
1329
|
}>;
|
|
1202
1330
|
}>;
|
|
1203
1331
|
};
|
|
1204
|
-
export declare
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
export declare
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1332
|
+
export declare type WorkplaceEventSubscriptionVariables = Exact<{
|
|
1333
|
+
id: Scalars['ID'];
|
|
1334
|
+
}>;
|
|
1335
|
+
export declare type WorkplaceEventSubscription = {
|
|
1336
|
+
__typename?: 'Subscription';
|
|
1337
|
+
workplaceEvent: {
|
|
1338
|
+
__typename?: 'WorkplaceEventSubscriptionPayload';
|
|
1339
|
+
event: WorkplaceEvent;
|
|
1340
|
+
subject?: {
|
|
1341
|
+
__typename?: 'Counter';
|
|
1342
|
+
id: string;
|
|
1343
|
+
kind: CounterKindEnum;
|
|
1344
|
+
workplaceId: string;
|
|
1345
|
+
directoryId?: string | null;
|
|
1346
|
+
reasonId: string;
|
|
1347
|
+
name: string;
|
|
1348
|
+
value: number;
|
|
1349
|
+
position: number;
|
|
1350
|
+
hasNote: boolean;
|
|
1351
|
+
} | {
|
|
1352
|
+
__typename?: 'KpiItem';
|
|
1353
|
+
id: string;
|
|
1354
|
+
label: string;
|
|
1355
|
+
symbol: string;
|
|
1356
|
+
value: number;
|
|
1357
|
+
unit: string;
|
|
1358
|
+
} | {
|
|
1359
|
+
__typename?: 'KpiProgressItem';
|
|
1360
|
+
id: string;
|
|
1361
|
+
label: string;
|
|
1362
|
+
symbol: string;
|
|
1363
|
+
progress: ProgressEnum;
|
|
1364
|
+
} | {
|
|
1365
|
+
__typename?: 'Order';
|
|
1366
|
+
id: string;
|
|
1367
|
+
number: string;
|
|
1368
|
+
} | {
|
|
1369
|
+
__typename?: 'StatusChange';
|
|
1370
|
+
id: string;
|
|
1371
|
+
workplaceId: string;
|
|
1372
|
+
startedAt: string;
|
|
1373
|
+
finishedAt?: string | null;
|
|
1374
|
+
note?: string | null;
|
|
1375
|
+
reason: {
|
|
1376
|
+
__typename?: 'Reason';
|
|
1377
|
+
id: string;
|
|
1378
|
+
parentId?: string | null;
|
|
1379
|
+
reasonGroupId: string;
|
|
1380
|
+
name: string;
|
|
1381
|
+
position: number;
|
|
1382
|
+
leaf: boolean;
|
|
1383
|
+
acceptanceMonit: boolean;
|
|
1384
|
+
hasNote: boolean;
|
|
1385
|
+
statusColor: AndonLightColor;
|
|
1386
|
+
};
|
|
1387
|
+
author: {
|
|
1388
|
+
__typename?: 'User';
|
|
1389
|
+
id: string;
|
|
1390
|
+
login: string;
|
|
1391
|
+
name: string;
|
|
1392
|
+
};
|
|
1393
|
+
order?: {
|
|
1394
|
+
__typename?: 'Order';
|
|
1395
|
+
id: string;
|
|
1396
|
+
number: string;
|
|
1397
|
+
} | null;
|
|
1398
|
+
product?: {
|
|
1399
|
+
__typename?: 'Product';
|
|
1400
|
+
id: string;
|
|
1401
|
+
name?: string | null;
|
|
1402
|
+
number: string;
|
|
1403
|
+
assemblyManual?: string | null;
|
|
1404
|
+
} | null;
|
|
1405
|
+
} | null;
|
|
1406
|
+
};
|
|
1407
|
+
};
|
|
1408
|
+
export declare const CreateDashboardDocument: import("graphql").DocumentNode;
|
|
1409
|
+
export declare const CreateOrderDocument: import("graphql").DocumentNode;
|
|
1410
|
+
export declare const CreateProductDocument: import("graphql").DocumentNode;
|
|
1411
|
+
export declare const CreateStatusChangeDocument: import("graphql").DocumentNode;
|
|
1412
|
+
export declare const CreateUserPresenceDocument: import("graphql").DocumentNode;
|
|
1413
|
+
export declare const CreateWidgetDocument: import("graphql").DocumentNode;
|
|
1414
|
+
export declare const PauseOrderExecutionDocument: import("graphql").DocumentNode;
|
|
1415
|
+
export declare const RemoveDashboardDocument: import("graphql").DocumentNode;
|
|
1416
|
+
export declare const RemoveUserPresenceDocument: import("graphql").DocumentNode;
|
|
1417
|
+
export declare const RemoveWidgetDocument: import("graphql").DocumentNode;
|
|
1418
|
+
export declare const RemoveWorkplaceUsersPresencesDocument: import("graphql").DocumentNode;
|
|
1419
|
+
export declare const SetCounterDocument: import("graphql").DocumentNode;
|
|
1420
|
+
export declare const StartOrderExecutionDocument: import("graphql").DocumentNode;
|
|
1421
|
+
export declare const StopOrderExecutionDocument: import("graphql").DocumentNode;
|
|
1422
|
+
export declare const UpdateDashboardDocument: import("graphql").DocumentNode;
|
|
1423
|
+
export declare const UpdateOrderExecutionDocument: import("graphql").DocumentNode;
|
|
1424
|
+
export declare const UpdateWidgetDocument: import("graphql").DocumentNode;
|
|
1425
|
+
export declare const CompanyConfigDocument: import("graphql").DocumentNode;
|
|
1426
|
+
export declare const CounterDirectoriesDocument: import("graphql").DocumentNode;
|
|
1427
|
+
export declare const CountersDocument: import("graphql").DocumentNode;
|
|
1428
|
+
export declare const CurrentUserDocument: import("graphql").DocumentNode;
|
|
1429
|
+
export declare const DashboardsDocument: import("graphql").DocumentNode;
|
|
1430
|
+
export declare const MetricValuesDocument: import("graphql").DocumentNode;
|
|
1431
|
+
export declare const MetricsDocument: import("graphql").DocumentNode;
|
|
1432
|
+
export declare const OrdersDocument: import("graphql").DocumentNode;
|
|
1433
|
+
export declare const OrdersExecutionsDocument: import("graphql").DocumentNode;
|
|
1434
|
+
export declare const ProductsDocument: import("graphql").DocumentNode;
|
|
1435
|
+
export declare const ReasonsDocument: import("graphql").DocumentNode;
|
|
1436
|
+
export declare const ShiftsDocument: import("graphql").DocumentNode;
|
|
1437
|
+
export declare const StandardRatesDocument: import("graphql").DocumentNode;
|
|
1438
|
+
export declare const StatusChangeTransitionPermissionsDocument: import("graphql").DocumentNode;
|
|
1439
|
+
export declare const StatusChangesDocument: import("graphql").DocumentNode;
|
|
1440
|
+
export declare const UsersDocument: import("graphql").DocumentNode;
|
|
1441
|
+
export declare const UsersPresencesDocument: import("graphql").DocumentNode;
|
|
1442
|
+
export declare const WidgetDocument: import("graphql").DocumentNode;
|
|
1443
|
+
export declare const WorkplacesDocument: import("graphql").DocumentNode;
|
|
1444
|
+
export declare const WorkplaceEventDocument: import("graphql").DocumentNode;
|
|
1445
|
+
export declare type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string) => Promise<T>;
|
|
1239
1446
|
export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
|
|
1240
1447
|
createDashboard(variables: CreateDashboardMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<CreateDashboardMutation>;
|
|
1241
1448
|
createOrder(variables: CreateOrderMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<CreateOrderMutation>;
|
|
@@ -1252,6 +1459,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
1252
1459
|
startOrderExecution(variables: StartOrderExecutionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<StartOrderExecutionMutation>;
|
|
1253
1460
|
stopOrderExecution(variables: StopOrderExecutionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<StopOrderExecutionMutation>;
|
|
1254
1461
|
updateDashboard(variables: UpdateDashboardMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<UpdateDashboardMutation>;
|
|
1462
|
+
updateOrderExecution(variables: UpdateOrderExecutionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<UpdateOrderExecutionMutation>;
|
|
1255
1463
|
updateWidget(variables: UpdateWidgetMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<UpdateWidgetMutation>;
|
|
1256
1464
|
companyConfig(variables?: Exact<{
|
|
1257
1465
|
[key: string]: never;
|
|
@@ -1269,8 +1477,8 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
1269
1477
|
[key: string]: never;
|
|
1270
1478
|
}> | undefined, requestHeaders?: Dom.RequestInit["headers"]): Promise<DashboardsQuery>;
|
|
1271
1479
|
metricValues(variables?: Exact<{
|
|
1272
|
-
|
|
1273
|
-
|
|
1480
|
+
workplaceIds?: string | string[] | null | undefined;
|
|
1481
|
+
metricIds?: string | string[] | null | undefined;
|
|
1274
1482
|
}> | undefined, requestHeaders?: Dom.RequestInit["headers"]): Promise<MetricValuesQuery>;
|
|
1275
1483
|
metrics(variables?: Exact<{
|
|
1276
1484
|
[key: string]: never;
|
|
@@ -1290,6 +1498,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
1290
1498
|
shifts(variables?: Exact<{
|
|
1291
1499
|
[key: string]: never;
|
|
1292
1500
|
}> | undefined, requestHeaders?: Dom.RequestInit["headers"]): Promise<ShiftsQuery>;
|
|
1501
|
+
standardRates(variables: StandardRatesQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<StandardRatesQuery>;
|
|
1293
1502
|
statusChangeTransitionPermissions(variables?: Exact<{
|
|
1294
1503
|
[key: string]: never;
|
|
1295
1504
|
}> | undefined, requestHeaders?: Dom.RequestInit["headers"]): Promise<StatusChangeTransitionPermissionsQuery>;
|
|
@@ -1306,5 +1515,6 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
1306
1515
|
workplaces(variables?: Exact<{
|
|
1307
1516
|
[key: string]: never;
|
|
1308
1517
|
}> | undefined, requestHeaders?: Dom.RequestInit["headers"]): Promise<WorkplacesQuery>;
|
|
1518
|
+
workplaceEvent(variables: WorkplaceEventSubscriptionVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<WorkplaceEventSubscription>;
|
|
1309
1519
|
};
|
|
1310
1520
|
export declare type Sdk = ReturnType<typeof getSdk>;
|