andoncloud-dashboard-toolkit 1.0.6 → 1.0.9

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.
@@ -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
- value: Scalars['String'];
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: GridTableTypeEnum;
151
+ type: MetricTypeEnum;
148
152
  value?: Maybe<Scalars['String']>;
149
153
  workplaceId: Scalars['String'];
150
154
  };
@@ -165,11 +169,13 @@ 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 = {
171
176
  gridLayout?: InputMaybe<Scalars['String']>;
172
177
  id: Scalars['ID'];
178
+ name: Scalars['String'];
173
179
  };
174
180
  export declare type MutationCreateOrderArgs = {
175
181
  id: Scalars['ID'];
@@ -215,6 +221,7 @@ export declare type MutationRemoveWorkplaceUsersPresencesArgs = {
215
221
  };
216
222
  export declare type MutationSetCounterArgs = {
217
223
  id: Scalars['ID'];
224
+ note?: InputMaybe<Scalars['String']>;
218
225
  value: Scalars['Float'];
219
226
  };
220
227
  export declare type MutationStartOrderExecutionArgs = {
@@ -233,6 +240,11 @@ export declare type MutationStopOrderExecutionArgs = {
233
240
  export declare type MutationUpdateDashboardArgs = {
234
241
  gridLayout: Scalars['String'];
235
242
  id: Scalars['ID'];
243
+ name?: InputMaybe<Scalars['String']>;
244
+ };
245
+ export declare type MutationUpdateOrderExecutionArgs = {
246
+ id: Scalars['ID'];
247
+ standardRateId: Scalars['ID'];
236
248
  };
237
249
  export declare type MutationUpdateWidgetArgs = {
238
250
  config: Scalars['String'];
@@ -265,13 +277,14 @@ export declare type OrderExecution = {
265
277
  order: Order;
266
278
  product?: Maybe<Product>;
267
279
  quantity?: Maybe<Scalars['Float']>;
280
+ standardRateMismatched: Scalars['Boolean'];
268
281
  startedAt: Scalars['String'];
269
282
  workplaceId: Scalars['String'];
270
283
  };
271
284
  export declare type PauseOrderExecutionPayload = {
272
285
  __typename?: 'PauseOrderExecutionPayload';
273
286
  errors?: Maybe<Array<MutationError>>;
274
- order?: Maybe<Order>;
287
+ orderExecution?: Maybe<OrderExecution>;
275
288
  };
276
289
  export declare type Product = {
277
290
  __typename?: 'Product';
@@ -303,6 +316,7 @@ export declare type Query = {
303
316
  products: Array<Product>;
304
317
  reasons: Array<Reason>;
305
318
  shifts: Array<Shift>;
319
+ standardRates: Array<StandardRate>;
306
320
  statusChangeTransitionPermissions: Array<StatusChangeTransitionPermission>;
307
321
  statusChanges: Array<StatusChange>;
308
322
  users: Array<User>;
@@ -311,8 +325,11 @@ export declare type Query = {
311
325
  workplaces: Array<Workplace>;
312
326
  };
313
327
  export declare type QueryMetricValuesArgs = {
314
- gridReasons?: InputMaybe<Array<Scalars['ID']>>;
315
- workplaces?: InputMaybe<Array<Scalars['ID']>>;
328
+ metricIds?: InputMaybe<Array<Scalars['ID']>>;
329
+ workplaceIds?: InputMaybe<Array<Scalars['ID']>>;
330
+ };
331
+ export declare type QueryStandardRatesArgs = {
332
+ orderExecutionId: Scalars['ID'];
316
333
  };
317
334
  export declare type QueryWidgetArgs = {
318
335
  id: Scalars['ID'];
@@ -370,10 +387,15 @@ export declare type Shift = {
370
387
  name: Scalars['String'];
371
388
  startedAt: Scalars['String'];
372
389
  };
390
+ export declare type StandardRate = {
391
+ __typename?: 'StandardRate';
392
+ id: Scalars['ID'];
393
+ label: Scalars['String'];
394
+ };
373
395
  export declare type StartOrderExecutionPayload = {
374
396
  __typename?: 'StartOrderExecutionPayload';
375
397
  errors?: Maybe<Array<MutationError>>;
376
- order?: Maybe<Order>;
398
+ orderExecution?: Maybe<OrderExecution>;
377
399
  };
378
400
  export declare type StatusChange = {
379
401
  __typename?: 'StatusChange';
@@ -389,9 +411,7 @@ export declare type StatusChange = {
389
411
  };
390
412
  export declare type StatusChangeTransitionPermission = {
391
413
  __typename?: 'StatusChangeTransitionPermission';
392
- allowed: Scalars['Boolean'];
393
414
  fromReasonId: Scalars['String'];
394
- id: Scalars['ID'];
395
415
  roleId: Scalars['String'];
396
416
  toReasonId: Scalars['String'];
397
417
  workplaceId: Scalars['String'];
@@ -405,7 +425,7 @@ export declare enum StatusScreenDisplayBlocksEnum {
405
425
  export declare type StopOrderExecutionPayload = {
406
426
  __typename?: 'StopOrderExecutionPayload';
407
427
  errors?: Maybe<Array<MutationError>>;
408
- order?: Maybe<Order>;
428
+ orderExecution?: Maybe<OrderExecution>;
409
429
  };
410
430
  export declare type Subscription = {
411
431
  __typename?: 'Subscription';
@@ -419,6 +439,11 @@ export declare type UpdateDashboardPayload = {
419
439
  dashboard?: Maybe<Dashboard>;
420
440
  errors?: Maybe<Array<MutationError>>;
421
441
  };
442
+ export declare type UpdateOrderExecutionPayload = {
443
+ __typename?: 'UpdateOrderExecutionPayload';
444
+ errors?: Maybe<Array<MutationError>>;
445
+ orderExecution?: Maybe<OrderExecution>;
446
+ };
422
447
  export declare type UpdateWidgetPayload = {
423
448
  __typename?: 'UpdateWidgetPayload';
424
449
  errors?: Maybe<Array<MutationError>>;
@@ -474,6 +499,7 @@ export declare type WorkplaceEventSubscriptionPayload = {
474
499
  };
475
500
  export declare type CreateDashboardMutationVariables = Exact<{
476
501
  id: Scalars['ID'];
502
+ name: Scalars['String'];
477
503
  gridLayout?: InputMaybe<Scalars['String']>;
478
504
  }>;
479
505
  export declare type CreateDashboardMutation = {
@@ -484,13 +510,13 @@ export declare type CreateDashboardMutation = {
484
510
  __typename?: 'Dashboard';
485
511
  id: string;
486
512
  name: string;
487
- gridLayout?: string | null | undefined;
488
- } | null | undefined;
513
+ gridLayout?: string | null;
514
+ } | null;
489
515
  errors?: Array<{
490
516
  __typename?: 'MutationError';
491
- field?: string | null | undefined;
517
+ field?: string | null;
492
518
  messages: Array<string>;
493
- }> | null | undefined;
519
+ }> | null;
494
520
  };
495
521
  };
496
522
  export declare type CreateOrderMutationVariables = Exact<{
@@ -505,12 +531,12 @@ export declare type CreateOrderMutation = {
505
531
  __typename?: 'Order';
506
532
  id: string;
507
533
  number: string;
508
- } | null | undefined;
534
+ } | null;
509
535
  errors?: Array<{
510
536
  __typename?: 'MutationError';
511
- field?: string | null | undefined;
537
+ field?: string | null;
512
538
  messages: Array<string>;
513
- }> | null | undefined;
539
+ }> | null;
514
540
  };
515
541
  };
516
542
  export declare type CreateProductMutationVariables = Exact<{
@@ -525,15 +551,15 @@ export declare type CreateProductMutation = {
525
551
  product?: {
526
552
  __typename?: 'Product';
527
553
  id: string;
528
- name?: string | null | undefined;
554
+ name?: string | null;
529
555
  number: string;
530
- assemblyManual?: string | null | undefined;
531
- } | null | undefined;
556
+ assemblyManual?: string | null;
557
+ } | null;
532
558
  errors?: Array<{
533
559
  __typename?: 'MutationError';
534
- field?: string | null | undefined;
560
+ field?: string | null;
535
561
  messages: Array<string>;
536
- }> | null | undefined;
562
+ }> | null;
537
563
  };
538
564
  };
539
565
  export declare type CreateStatusChangeMutationVariables = Exact<{
@@ -553,12 +579,12 @@ export declare type CreateStatusChangeMutation = {
553
579
  id: string;
554
580
  workplaceId: string;
555
581
  startedAt: string;
556
- finishedAt?: string | null | undefined;
557
- note?: string | null | undefined;
582
+ finishedAt?: string | null;
583
+ note?: string | null;
558
584
  reason: {
559
585
  __typename?: 'Reason';
560
586
  id: string;
561
- parentId?: string | null | undefined;
587
+ parentId?: string | null;
562
588
  reasonGroupId: string;
563
589
  name: string;
564
590
  position: number;
@@ -577,20 +603,20 @@ export declare type CreateStatusChangeMutation = {
577
603
  __typename?: 'Order';
578
604
  id: string;
579
605
  number: string;
580
- } | null | undefined;
606
+ } | null;
581
607
  product?: {
582
608
  __typename?: 'Product';
583
609
  id: string;
584
- name?: string | null | undefined;
610
+ name?: string | null;
585
611
  number: string;
586
- assemblyManual?: string | null | undefined;
587
- } | null | undefined;
588
- } | null | undefined;
612
+ assemblyManual?: string | null;
613
+ } | null;
614
+ } | null;
589
615
  errors?: Array<{
590
616
  __typename?: 'MutationError';
591
- field?: string | null | undefined;
617
+ field?: string | null;
592
618
  messages: Array<string>;
593
- }> | null | undefined;
619
+ }> | null;
594
620
  };
595
621
  };
596
622
  export declare type CreateUserPresenceMutationVariables = Exact<{
@@ -607,7 +633,7 @@ export declare type CreateUserPresenceMutation = {
607
633
  id: string;
608
634
  workplaceId: string;
609
635
  startedAt: string;
610
- finishedAt?: string | null | undefined;
636
+ finishedAt?: string | null;
611
637
  user: {
612
638
  __typename?: 'User';
613
639
  id: string;
@@ -620,12 +646,12 @@ export declare type CreateUserPresenceMutation = {
620
646
  login: string;
621
647
  name: string;
622
648
  };
623
- } | null | undefined;
649
+ } | null;
624
650
  errors?: Array<{
625
651
  __typename?: 'MutationError';
626
- field?: string | null | undefined;
652
+ field?: string | null;
627
653
  messages: Array<string>;
628
- }> | null | undefined;
654
+ }> | null;
629
655
  };
630
656
  };
631
657
  export declare type CreateWidgetMutationVariables = Exact<{
@@ -639,13 +665,13 @@ export declare type CreateWidgetMutation = {
639
665
  widget?: {
640
666
  __typename?: 'Widget';
641
667
  id: string;
642
- config?: string | null | undefined;
643
- } | null | undefined;
668
+ config?: string | null;
669
+ } | null;
644
670
  errors?: Array<{
645
671
  __typename?: 'MutationError';
646
- field?: string | null | undefined;
672
+ field?: string | null;
647
673
  messages: Array<string>;
648
- }> | null | undefined;
674
+ }> | null;
649
675
  };
650
676
  };
651
677
  export declare type PauseOrderExecutionMutationVariables = Exact<{
@@ -656,16 +682,33 @@ export declare type PauseOrderExecutionMutation = {
656
682
  __typename?: 'Mutation';
657
683
  pauseOrderExecution: {
658
684
  __typename?: 'PauseOrderExecutionPayload';
659
- order?: {
660
- __typename?: 'Order';
685
+ orderExecution?: {
686
+ __typename?: 'OrderExecution';
661
687
  id: string;
662
- number: string;
663
- } | null | undefined;
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;
664
707
  errors?: Array<{
665
708
  __typename?: 'MutationError';
666
- field?: string | null | undefined;
709
+ field?: string | null;
667
710
  messages: Array<string>;
668
- }> | null | undefined;
711
+ }> | null;
669
712
  };
670
713
  };
671
714
  export declare type RemoveDashboardMutationVariables = Exact<{
@@ -677,9 +720,9 @@ export declare type RemoveDashboardMutation = {
677
720
  __typename?: 'RemoveDashboardPayload';
678
721
  errors?: Array<{
679
722
  __typename?: 'MutationError';
680
- field?: string | null | undefined;
723
+ field?: string | null;
681
724
  messages: Array<string>;
682
- }> | null | undefined;
725
+ }> | null;
683
726
  };
684
727
  };
685
728
  export declare type RemoveUserPresenceMutationVariables = Exact<{
@@ -691,9 +734,9 @@ export declare type RemoveUserPresenceMutation = {
691
734
  __typename?: 'RemoveUserPresencePayload';
692
735
  errors?: Array<{
693
736
  __typename?: 'MutationError';
694
- field?: string | null | undefined;
737
+ field?: string | null;
695
738
  messages: Array<string>;
696
- }> | null | undefined;
739
+ }> | null;
697
740
  };
698
741
  };
699
742
  export declare type RemoveWidgetMutationVariables = Exact<{
@@ -705,9 +748,9 @@ export declare type RemoveWidgetMutation = {
705
748
  __typename?: 'RemoveWidgetPayload';
706
749
  errors?: Array<{
707
750
  __typename?: 'MutationError';
708
- field?: string | null | undefined;
751
+ field?: string | null;
709
752
  messages: Array<string>;
710
- }> | null | undefined;
753
+ }> | null;
711
754
  };
712
755
  };
713
756
  export declare type RemoveWorkplaceUsersPresencesMutationVariables = Exact<{
@@ -719,14 +762,15 @@ export declare type RemoveWorkplaceUsersPresencesMutation = {
719
762
  __typename?: 'RemoveWorkplaceUsersPresencesPayload';
720
763
  errors?: Array<{
721
764
  __typename?: 'MutationError';
722
- field?: string | null | undefined;
765
+ field?: string | null;
723
766
  messages: Array<string>;
724
- }> | null | undefined;
767
+ }> | null;
725
768
  };
726
769
  };
727
770
  export declare type SetCounterMutationVariables = Exact<{
728
771
  id: Scalars['ID'];
729
772
  value: Scalars['Float'];
773
+ note?: InputMaybe<Scalars['String']>;
730
774
  }>;
731
775
  export declare type SetCounterMutation = {
732
776
  __typename?: 'Mutation';
@@ -737,16 +781,18 @@ export declare type SetCounterMutation = {
737
781
  id: string;
738
782
  kind: CounterKindEnum;
739
783
  workplaceId: string;
740
- directoryId?: string | null | undefined;
784
+ directoryId?: string | null;
785
+ reasonId: string;
741
786
  name: string;
742
787
  value: number;
743
788
  position: number;
744
- } | null | undefined;
789
+ hasNote: boolean;
790
+ } | null;
745
791
  errors?: Array<{
746
792
  __typename?: 'MutationError';
747
- field?: string | null | undefined;
793
+ field?: string | null;
748
794
  messages: Array<string>;
749
- }> | null | undefined;
795
+ }> | null;
750
796
  };
751
797
  };
752
798
  export declare type StartOrderExecutionMutationVariables = Exact<{
@@ -762,16 +808,33 @@ export declare type StartOrderExecutionMutation = {
762
808
  __typename?: 'Mutation';
763
809
  startOrderExecution: {
764
810
  __typename?: 'StartOrderExecutionPayload';
765
- order?: {
766
- __typename?: 'Order';
811
+ orderExecution?: {
812
+ __typename?: 'OrderExecution';
767
813
  id: string;
768
- number: string;
769
- } | null | undefined;
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;
770
833
  errors?: Array<{
771
834
  __typename?: 'MutationError';
772
- field?: string | null | undefined;
835
+ field?: string | null;
773
836
  messages: Array<string>;
774
- }> | null | undefined;
837
+ }> | null;
775
838
  };
776
839
  };
777
840
  export declare type StopOrderExecutionMutationVariables = Exact<{
@@ -782,20 +845,38 @@ export declare type StopOrderExecutionMutation = {
782
845
  __typename?: 'Mutation';
783
846
  stopOrderExecution: {
784
847
  __typename?: 'StopOrderExecutionPayload';
785
- order?: {
786
- __typename?: 'Order';
848
+ orderExecution?: {
849
+ __typename?: 'OrderExecution';
787
850
  id: string;
788
- number: string;
789
- } | null | undefined;
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;
790
870
  errors?: Array<{
791
871
  __typename?: 'MutationError';
792
- field?: string | null | undefined;
872
+ field?: string | null;
793
873
  messages: Array<string>;
794
- }> | null | undefined;
874
+ }> | null;
795
875
  };
796
876
  };
797
877
  export declare type UpdateDashboardMutationVariables = Exact<{
798
878
  id: Scalars['ID'];
879
+ name?: InputMaybe<Scalars['String']>;
799
880
  gridLayout: Scalars['String'];
800
881
  }>;
801
882
  export declare type UpdateDashboardMutation = {
@@ -806,13 +887,50 @@ export declare type UpdateDashboardMutation = {
806
887
  __typename?: 'Dashboard';
807
888
  id: string;
808
889
  name: string;
809
- gridLayout?: string | null | undefined;
810
- } | null | undefined;
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;
811
929
  errors?: Array<{
812
930
  __typename?: 'MutationError';
813
- field?: string | null | undefined;
931
+ field?: string | null;
814
932
  messages: Array<string>;
815
- }> | null | undefined;
933
+ }> | null;
816
934
  };
817
935
  };
818
936
  export declare type UpdateWidgetMutationVariables = Exact<{
@@ -826,13 +944,13 @@ export declare type UpdateWidgetMutation = {
826
944
  widget?: {
827
945
  __typename?: 'Widget';
828
946
  id: string;
829
- config?: string | null | undefined;
830
- } | null | undefined;
947
+ config?: string | null;
948
+ } | null;
831
949
  errors?: Array<{
832
950
  __typename?: 'MutationError';
833
- field?: string | null | undefined;
951
+ field?: string | null;
834
952
  messages: Array<string>;
835
- }> | null | undefined;
953
+ }> | null;
836
954
  };
837
955
  };
838
956
  export declare type CompanyConfigQueryVariables = Exact<{
@@ -843,14 +961,15 @@ export declare type CompanyConfigQuery = {
843
961
  companyConfig: {
844
962
  __typename?: 'CompanyConfig';
845
963
  displayedKpiItems: Array<string>;
964
+ statusChangeTransitionPermissionsUpdatedAt?: string | null;
846
965
  productConfig: {
847
966
  __typename?: 'ProductConfig';
848
967
  formFieldsConfigs: Array<{
849
968
  __typename?: 'FieldConfig';
850
969
  name: string;
851
- regexp?: string | null | undefined;
852
- prefix?: string | null | undefined;
853
- unit?: string | null | undefined;
970
+ regexp?: string | null;
971
+ prefix?: string | null;
972
+ unit?: string | null;
854
973
  }>;
855
974
  };
856
975
  roleConfig: {
@@ -861,26 +980,26 @@ export declare type CompanyConfigQuery = {
861
980
  __typename?: 'WorkplaceConfig';
862
981
  workplaceId: string;
863
982
  defaultScreen: DefaultScreenEnum;
864
- statusScreenDisplayBlocks?: Array<StatusScreenDisplayBlocksEnum> | null | undefined;
983
+ statusScreenDisplayBlocks?: Array<StatusScreenDisplayBlocksEnum> | null;
865
984
  orderConfig: {
866
985
  __typename?: 'OrderConfig';
867
986
  featureEnabled: boolean;
868
- afterStartOrderExecutionReasonId?: string | null | undefined;
869
- afterPauseOrderExecutionReasonId?: string | null | undefined;
870
- afterStopOrderExecutionReasonId?: string | null | undefined;
987
+ afterStartOrderExecutionReasonId?: string | null;
988
+ afterPauseOrderExecutionReasonId?: string | null;
989
+ afterStopOrderExecutionReasonId?: string | null;
871
990
  orderExecutionFormFieldsConfigs: Array<{
872
991
  __typename?: 'FieldConfig';
873
992
  name: string;
874
- regexp?: string | null | undefined;
875
- prefix?: string | null | undefined;
876
- unit?: string | null | undefined;
993
+ regexp?: string | null;
994
+ prefix?: string | null;
995
+ unit?: string | null;
877
996
  }>;
878
997
  orderFormFieldsConfigs: Array<{
879
998
  __typename?: 'FieldConfig';
880
999
  name: string;
881
- regexp?: string | null | undefined;
882
- prefix?: string | null | undefined;
883
- unit?: string | null | undefined;
1000
+ regexp?: string | null;
1001
+ prefix?: string | null;
1002
+ unit?: string | null;
884
1003
  }>;
885
1004
  };
886
1005
  screenSaverConfig: {
@@ -909,8 +1028,8 @@ export declare type CounterDirectoriesQuery = {
909
1028
  counterDirectories: Array<{
910
1029
  __typename?: 'CounterDirectory';
911
1030
  id: string;
912
- name?: string | null | undefined;
913
- directoryId?: string | null | undefined;
1031
+ name?: string | null;
1032
+ directoryId?: string | null;
914
1033
  position: number;
915
1034
  workplaceId: string;
916
1035
  }>;
@@ -925,10 +1044,12 @@ export declare type CountersQuery = {
925
1044
  id: string;
926
1045
  kind: CounterKindEnum;
927
1046
  workplaceId: string;
928
- directoryId?: string | null | undefined;
1047
+ directoryId?: string | null;
1048
+ reasonId: string;
929
1049
  name: string;
930
1050
  value: number;
931
1051
  position: number;
1052
+ hasNote: boolean;
932
1053
  }>;
933
1054
  };
934
1055
  export declare type CurrentUserQueryVariables = Exact<{
@@ -952,21 +1073,21 @@ export declare type DashboardsQuery = {
952
1073
  __typename?: 'Dashboard';
953
1074
  id: string;
954
1075
  name: string;
955
- gridLayout?: string | null | undefined;
1076
+ gridLayout?: string | null;
956
1077
  }>;
957
1078
  };
958
1079
  export declare type MetricValuesQueryVariables = Exact<{
959
- workplaces?: InputMaybe<Array<Scalars['ID']> | Scalars['ID']>;
960
- gridReasons?: InputMaybe<Array<Scalars['ID']> | Scalars['ID']>;
1080
+ workplaceIds?: InputMaybe<Array<Scalars['ID']> | Scalars['ID']>;
1081
+ metricIds?: InputMaybe<Array<Scalars['ID']> | Scalars['ID']>;
961
1082
  }>;
962
1083
  export declare type MetricValuesQuery = {
963
1084
  __typename?: 'Query';
964
1085
  metricValues: Array<{
965
1086
  __typename?: 'MetricValue';
966
1087
  active: boolean;
967
- type: GridTableTypeEnum;
968
- timer?: number | null | undefined;
969
- value?: string | null | undefined;
1088
+ type: MetricTypeEnum;
1089
+ timer?: number | null;
1090
+ value?: string | null;
970
1091
  status: AndonLightColor;
971
1092
  workplaceId: string;
972
1093
  metricId: string;
@@ -981,7 +1102,7 @@ export declare type MetricsQuery = {
981
1102
  __typename?: 'Metric';
982
1103
  id: string;
983
1104
  name: string;
984
- }> | null | undefined;
1105
+ }> | null;
985
1106
  };
986
1107
  export declare type OrdersQueryVariables = Exact<{
987
1108
  [key: string]: never;
@@ -1004,9 +1125,10 @@ export declare type OrdersExecutionsQuery = {
1004
1125
  id: string;
1005
1126
  workplaceId: string;
1006
1127
  startedAt: string;
1007
- finishedAt?: string | null | undefined;
1008
- quantity?: number | null | undefined;
1009
- note?: string | null | undefined;
1128
+ finishedAt?: string | null;
1129
+ quantity?: number | null;
1130
+ note?: string | null;
1131
+ standardRateMismatched: boolean;
1010
1132
  order: {
1011
1133
  __typename?: 'Order';
1012
1134
  id: string;
@@ -1015,10 +1137,10 @@ export declare type OrdersExecutionsQuery = {
1015
1137
  product?: {
1016
1138
  __typename?: 'Product';
1017
1139
  id: string;
1018
- name?: string | null | undefined;
1140
+ name?: string | null;
1019
1141
  number: string;
1020
- assemblyManual?: string | null | undefined;
1021
- } | null | undefined;
1142
+ assemblyManual?: string | null;
1143
+ } | null;
1022
1144
  }>;
1023
1145
  };
1024
1146
  export declare type ProductsQueryVariables = Exact<{
@@ -1029,9 +1151,9 @@ export declare type ProductsQuery = {
1029
1151
  products: Array<{
1030
1152
  __typename?: 'Product';
1031
1153
  id: string;
1032
- name?: string | null | undefined;
1154
+ name?: string | null;
1033
1155
  number: string;
1034
- assemblyManual?: string | null | undefined;
1156
+ assemblyManual?: string | null;
1035
1157
  }>;
1036
1158
  };
1037
1159
  export declare type ReasonsQueryVariables = Exact<{
@@ -1042,7 +1164,7 @@ export declare type ReasonsQuery = {
1042
1164
  reasons: Array<{
1043
1165
  __typename?: 'Reason';
1044
1166
  id: string;
1045
- parentId?: string | null | undefined;
1167
+ parentId?: string | null;
1046
1168
  reasonGroupId: string;
1047
1169
  name: string;
1048
1170
  position: number;
@@ -1065,6 +1187,17 @@ export declare type ShiftsQuery = {
1065
1187
  finishedAt: string;
1066
1188
  }>;
1067
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
+ };
1068
1201
  export declare type StatusChangeTransitionPermissionsQueryVariables = Exact<{
1069
1202
  [key: string]: never;
1070
1203
  }>;
@@ -1072,12 +1205,10 @@ export declare type StatusChangeTransitionPermissionsQuery = {
1072
1205
  __typename?: 'Query';
1073
1206
  statusChangeTransitionPermissions: Array<{
1074
1207
  __typename?: 'StatusChangeTransitionPermission';
1075
- id: string;
1076
1208
  workplaceId: string;
1077
1209
  roleId: string;
1078
1210
  fromReasonId: string;
1079
1211
  toReasonId: string;
1080
- allowed: boolean;
1081
1212
  }>;
1082
1213
  };
1083
1214
  export declare type StatusChangesQueryVariables = Exact<{
@@ -1090,12 +1221,12 @@ export declare type StatusChangesQuery = {
1090
1221
  id: string;
1091
1222
  workplaceId: string;
1092
1223
  startedAt: string;
1093
- finishedAt?: string | null | undefined;
1094
- note?: string | null | undefined;
1224
+ finishedAt?: string | null;
1225
+ note?: string | null;
1095
1226
  reason: {
1096
1227
  __typename?: 'Reason';
1097
1228
  id: string;
1098
- parentId?: string | null | undefined;
1229
+ parentId?: string | null;
1099
1230
  reasonGroupId: string;
1100
1231
  name: string;
1101
1232
  position: number;
@@ -1114,14 +1245,14 @@ export declare type StatusChangesQuery = {
1114
1245
  __typename?: 'Order';
1115
1246
  id: string;
1116
1247
  number: string;
1117
- } | null | undefined;
1248
+ } | null;
1118
1249
  product?: {
1119
1250
  __typename?: 'Product';
1120
1251
  id: string;
1121
- name?: string | null | undefined;
1252
+ name?: string | null;
1122
1253
  number: string;
1123
- assemblyManual?: string | null | undefined;
1124
- } | null | undefined;
1254
+ assemblyManual?: string | null;
1255
+ } | null;
1125
1256
  }>;
1126
1257
  };
1127
1258
  export declare type UsersQueryVariables = Exact<{
@@ -1146,7 +1277,7 @@ export declare type UsersPresencesQuery = {
1146
1277
  id: string;
1147
1278
  workplaceId: string;
1148
1279
  startedAt: string;
1149
- finishedAt?: string | null | undefined;
1280
+ finishedAt?: string | null;
1150
1281
  user: {
1151
1282
  __typename?: 'User';
1152
1283
  id: string;
@@ -1169,7 +1300,7 @@ export declare type WidgetQuery = {
1169
1300
  widget: {
1170
1301
  __typename?: 'Widget';
1171
1302
  id: string;
1172
- config?: string | null | undefined;
1303
+ config?: string | null;
1173
1304
  };
1174
1305
  };
1175
1306
  export declare type WorkplacesQueryVariables = Exact<{
@@ -1187,7 +1318,8 @@ export declare type WorkplacesQuery = {
1187
1318
  id: string;
1188
1319
  label: string;
1189
1320
  symbol: string;
1190
- value: string;
1321
+ value: number;
1322
+ unit: string;
1191
1323
  } | {
1192
1324
  __typename?: 'KpiProgressItem';
1193
1325
  id: string;
@@ -1197,6 +1329,82 @@ export declare type WorkplacesQuery = {
1197
1329
  }>;
1198
1330
  }>;
1199
1331
  };
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
+ };
1200
1408
  export declare const CreateDashboardDocument: any;
1201
1409
  export declare const CreateOrderDocument: any;
1202
1410
  export declare const CreateProductDocument: any;
@@ -1212,6 +1420,7 @@ export declare const SetCounterDocument: any;
1212
1420
  export declare const StartOrderExecutionDocument: any;
1213
1421
  export declare const StopOrderExecutionDocument: any;
1214
1422
  export declare const UpdateDashboardDocument: any;
1423
+ export declare const UpdateOrderExecutionDocument: any;
1215
1424
  export declare const UpdateWidgetDocument: any;
1216
1425
  export declare const CompanyConfigDocument: any;
1217
1426
  export declare const CounterDirectoriesDocument: any;
@@ -1225,12 +1434,14 @@ export declare const OrdersExecutionsDocument: any;
1225
1434
  export declare const ProductsDocument: any;
1226
1435
  export declare const ReasonsDocument: any;
1227
1436
  export declare const ShiftsDocument: any;
1437
+ export declare const StandardRatesDocument: any;
1228
1438
  export declare const StatusChangeTransitionPermissionsDocument: any;
1229
1439
  export declare const StatusChangesDocument: any;
1230
1440
  export declare const UsersDocument: any;
1231
1441
  export declare const UsersPresencesDocument: any;
1232
1442
  export declare const WidgetDocument: any;
1233
1443
  export declare const WorkplacesDocument: any;
1444
+ export declare const WorkplaceEventDocument: any;
1234
1445
  export declare type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string) => Promise<T>;
1235
1446
  export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
1236
1447
  createDashboard(variables: CreateDashboardMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<CreateDashboardMutation>;
@@ -1248,6 +1459,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
1248
1459
  startOrderExecution(variables: StartOrderExecutionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<StartOrderExecutionMutation>;
1249
1460
  stopOrderExecution(variables: StopOrderExecutionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<StopOrderExecutionMutation>;
1250
1461
  updateDashboard(variables: UpdateDashboardMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<UpdateDashboardMutation>;
1462
+ updateOrderExecution(variables: UpdateOrderExecutionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<UpdateOrderExecutionMutation>;
1251
1463
  updateWidget(variables: UpdateWidgetMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<UpdateWidgetMutation>;
1252
1464
  companyConfig(variables?: Exact<{
1253
1465
  [key: string]: never;
@@ -1265,8 +1477,8 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
1265
1477
  [key: string]: never;
1266
1478
  }> | undefined, requestHeaders?: Dom.RequestInit["headers"]): Promise<DashboardsQuery>;
1267
1479
  metricValues(variables?: Exact<{
1268
- workplaces?: string | string[] | null | undefined;
1269
- gridReasons?: string | string[] | null | undefined;
1480
+ workplaceIds?: string | string[] | null | undefined;
1481
+ metricIds?: string | string[] | null | undefined;
1270
1482
  }> | undefined, requestHeaders?: Dom.RequestInit["headers"]): Promise<MetricValuesQuery>;
1271
1483
  metrics(variables?: Exact<{
1272
1484
  [key: string]: never;
@@ -1286,6 +1498,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
1286
1498
  shifts(variables?: Exact<{
1287
1499
  [key: string]: never;
1288
1500
  }> | undefined, requestHeaders?: Dom.RequestInit["headers"]): Promise<ShiftsQuery>;
1501
+ standardRates(variables: StandardRatesQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<StandardRatesQuery>;
1289
1502
  statusChangeTransitionPermissions(variables?: Exact<{
1290
1503
  [key: string]: never;
1291
1504
  }> | undefined, requestHeaders?: Dom.RequestInit["headers"]): Promise<StatusChangeTransitionPermissionsQuery>;
@@ -1302,5 +1515,6 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
1302
1515
  workplaces(variables?: Exact<{
1303
1516
  [key: string]: never;
1304
1517
  }> | undefined, requestHeaders?: Dom.RequestInit["headers"]): Promise<WorkplacesQuery>;
1518
+ workplaceEvent(variables: WorkplaceEventSubscriptionVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<WorkplaceEventSubscription>;
1305
1519
  };
1306
1520
  export declare type Sdk = ReturnType<typeof getSdk>;