andoncloud-dashboard-toolkit 1.0.7 → 1.0.10

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,13 +114,6 @@ 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'];
@@ -138,13 +134,20 @@ export declare type Metric = {
138
134
  id: Scalars['ID'];
139
135
  name: Scalars['String'];
140
136
  };
137
+ export declare enum MetricTypeEnum {
138
+ Counter = "COUNTER",
139
+ Empty = "EMPTY",
140
+ Indicator = "INDICATOR",
141
+ Kpi = "KPI",
142
+ Timer = "TIMER"
143
+ }
141
144
  export declare type MetricValue = {
142
145
  __typename?: 'MetricValue';
143
146
  active: Scalars['Boolean'];
144
147
  metricId: Scalars['String'];
145
148
  status: AndonLightColor;
146
149
  timer?: Maybe<Scalars['Int']>;
147
- type: GridTableTypeEnum;
150
+ type: MetricTypeEnum;
148
151
  value?: Maybe<Scalars['String']>;
149
152
  workplaceId: Scalars['String'];
150
153
  };
@@ -165,6 +168,7 @@ export declare type Mutation = {
165
168
  startOrderExecution: StartOrderExecutionPayload;
166
169
  stopOrderExecution: StopOrderExecutionPayload;
167
170
  updateDashboard: UpdateDashboardPayload;
171
+ updateOrderExecution: UpdateOrderExecutionPayload;
168
172
  updateWidget: UpdateWidgetPayload;
169
173
  };
170
174
  export declare type MutationCreateDashboardArgs = {
@@ -216,6 +220,7 @@ export declare type MutationRemoveWorkplaceUsersPresencesArgs = {
216
220
  };
217
221
  export declare type MutationSetCounterArgs = {
218
222
  id: Scalars['ID'];
223
+ note?: InputMaybe<Scalars['String']>;
219
224
  value: Scalars['Float'];
220
225
  };
221
226
  export declare type MutationStartOrderExecutionArgs = {
@@ -236,6 +241,10 @@ export declare type MutationUpdateDashboardArgs = {
236
241
  id: Scalars['ID'];
237
242
  name?: InputMaybe<Scalars['String']>;
238
243
  };
244
+ export declare type MutationUpdateOrderExecutionArgs = {
245
+ id: Scalars['ID'];
246
+ standardRateId: Scalars['ID'];
247
+ };
239
248
  export declare type MutationUpdateWidgetArgs = {
240
249
  config: Scalars['String'];
241
250
  id: Scalars['ID'];
@@ -267,13 +276,14 @@ export declare type OrderExecution = {
267
276
  order: Order;
268
277
  product?: Maybe<Product>;
269
278
  quantity?: Maybe<Scalars['Float']>;
279
+ standardRateMismatched: Scalars['Boolean'];
270
280
  startedAt: Scalars['String'];
271
281
  workplaceId: Scalars['String'];
272
282
  };
273
283
  export declare type PauseOrderExecutionPayload = {
274
284
  __typename?: 'PauseOrderExecutionPayload';
275
285
  errors?: Maybe<Array<MutationError>>;
276
- order?: Maybe<Order>;
286
+ orderExecution?: Maybe<OrderExecution>;
277
287
  };
278
288
  export declare type Product = {
279
289
  __typename?: 'Product';
@@ -305,6 +315,7 @@ export declare type Query = {
305
315
  products: Array<Product>;
306
316
  reasons: Array<Reason>;
307
317
  shifts: Array<Shift>;
318
+ standardRates: Array<StandardRate>;
308
319
  statusChangeTransitionPermissions: Array<StatusChangeTransitionPermission>;
309
320
  statusChanges: Array<StatusChange>;
310
321
  users: Array<User>;
@@ -313,8 +324,11 @@ export declare type Query = {
313
324
  workplaces: Array<Workplace>;
314
325
  };
315
326
  export declare type QueryMetricValuesArgs = {
316
- gridReasons?: InputMaybe<Array<Scalars['ID']>>;
317
- workplaces?: InputMaybe<Array<Scalars['ID']>>;
327
+ metricIds?: InputMaybe<Array<Scalars['ID']>>;
328
+ workplaceIds?: InputMaybe<Array<Scalars['ID']>>;
329
+ };
330
+ export declare type QueryStandardRatesArgs = {
331
+ orderExecutionId: Scalars['ID'];
318
332
  };
319
333
  export declare type QueryWidgetArgs = {
320
334
  id: Scalars['ID'];
@@ -372,10 +386,15 @@ export declare type Shift = {
372
386
  name: Scalars['String'];
373
387
  startedAt: Scalars['String'];
374
388
  };
389
+ export declare type StandardRate = {
390
+ __typename?: 'StandardRate';
391
+ id: Scalars['ID'];
392
+ label: Scalars['String'];
393
+ };
375
394
  export declare type StartOrderExecutionPayload = {
376
395
  __typename?: 'StartOrderExecutionPayload';
377
396
  errors?: Maybe<Array<MutationError>>;
378
- order?: Maybe<Order>;
397
+ orderExecution?: Maybe<OrderExecution>;
379
398
  };
380
399
  export declare type StatusChange = {
381
400
  __typename?: 'StatusChange';
@@ -391,9 +410,7 @@ export declare type StatusChange = {
391
410
  };
392
411
  export declare type StatusChangeTransitionPermission = {
393
412
  __typename?: 'StatusChangeTransitionPermission';
394
- allowed: Scalars['Boolean'];
395
413
  fromReasonId: Scalars['String'];
396
- id: Scalars['ID'];
397
414
  roleId: Scalars['String'];
398
415
  toReasonId: Scalars['String'];
399
416
  workplaceId: Scalars['String'];
@@ -407,7 +424,7 @@ export declare enum StatusScreenDisplayBlocksEnum {
407
424
  export declare type StopOrderExecutionPayload = {
408
425
  __typename?: 'StopOrderExecutionPayload';
409
426
  errors?: Maybe<Array<MutationError>>;
410
- order?: Maybe<Order>;
427
+ orderExecution?: Maybe<OrderExecution>;
411
428
  };
412
429
  export declare type Subscription = {
413
430
  __typename?: 'Subscription';
@@ -421,6 +438,11 @@ export declare type UpdateDashboardPayload = {
421
438
  dashboard?: Maybe<Dashboard>;
422
439
  errors?: Maybe<Array<MutationError>>;
423
440
  };
441
+ export declare type UpdateOrderExecutionPayload = {
442
+ __typename?: 'UpdateOrderExecutionPayload';
443
+ errors?: Maybe<Array<MutationError>>;
444
+ orderExecution?: Maybe<OrderExecution>;
445
+ };
424
446
  export declare type UpdateWidgetPayload = {
425
447
  __typename?: 'UpdateWidgetPayload';
426
448
  errors?: Maybe<Array<MutationError>>;
@@ -487,13 +509,13 @@ export declare type CreateDashboardMutation = {
487
509
  __typename?: 'Dashboard';
488
510
  id: string;
489
511
  name: string;
490
- gridLayout?: string | null | undefined;
491
- } | null | undefined;
512
+ gridLayout?: string | null;
513
+ } | null;
492
514
  errors?: Array<{
493
515
  __typename?: 'MutationError';
494
- field?: string | null | undefined;
516
+ field?: string | null;
495
517
  messages: Array<string>;
496
- }> | null | undefined;
518
+ }> | null;
497
519
  };
498
520
  };
499
521
  export declare type CreateOrderMutationVariables = Exact<{
@@ -508,12 +530,12 @@ export declare type CreateOrderMutation = {
508
530
  __typename?: 'Order';
509
531
  id: string;
510
532
  number: string;
511
- } | null | undefined;
533
+ } | null;
512
534
  errors?: Array<{
513
535
  __typename?: 'MutationError';
514
- field?: string | null | undefined;
536
+ field?: string | null;
515
537
  messages: Array<string>;
516
- }> | null | undefined;
538
+ }> | null;
517
539
  };
518
540
  };
519
541
  export declare type CreateProductMutationVariables = Exact<{
@@ -528,15 +550,15 @@ export declare type CreateProductMutation = {
528
550
  product?: {
529
551
  __typename?: 'Product';
530
552
  id: string;
531
- name?: string | null | undefined;
553
+ name?: string | null;
532
554
  number: string;
533
- assemblyManual?: string | null | undefined;
534
- } | null | undefined;
555
+ assemblyManual?: string | null;
556
+ } | null;
535
557
  errors?: Array<{
536
558
  __typename?: 'MutationError';
537
- field?: string | null | undefined;
559
+ field?: string | null;
538
560
  messages: Array<string>;
539
- }> | null | undefined;
561
+ }> | null;
540
562
  };
541
563
  };
542
564
  export declare type CreateStatusChangeMutationVariables = Exact<{
@@ -556,12 +578,12 @@ export declare type CreateStatusChangeMutation = {
556
578
  id: string;
557
579
  workplaceId: string;
558
580
  startedAt: string;
559
- finishedAt?: string | null | undefined;
560
- note?: string | null | undefined;
581
+ finishedAt?: string | null;
582
+ note?: string | null;
561
583
  reason: {
562
584
  __typename?: 'Reason';
563
585
  id: string;
564
- parentId?: string | null | undefined;
586
+ parentId?: string | null;
565
587
  reasonGroupId: string;
566
588
  name: string;
567
589
  position: number;
@@ -580,20 +602,20 @@ export declare type CreateStatusChangeMutation = {
580
602
  __typename?: 'Order';
581
603
  id: string;
582
604
  number: string;
583
- } | null | undefined;
605
+ } | null;
584
606
  product?: {
585
607
  __typename?: 'Product';
586
608
  id: string;
587
- name?: string | null | undefined;
609
+ name?: string | null;
588
610
  number: string;
589
- assemblyManual?: string | null | undefined;
590
- } | null | undefined;
591
- } | null | undefined;
611
+ assemblyManual?: string | null;
612
+ } | null;
613
+ } | null;
592
614
  errors?: Array<{
593
615
  __typename?: 'MutationError';
594
- field?: string | null | undefined;
616
+ field?: string | null;
595
617
  messages: Array<string>;
596
- }> | null | undefined;
618
+ }> | null;
597
619
  };
598
620
  };
599
621
  export declare type CreateUserPresenceMutationVariables = Exact<{
@@ -610,7 +632,7 @@ export declare type CreateUserPresenceMutation = {
610
632
  id: string;
611
633
  workplaceId: string;
612
634
  startedAt: string;
613
- finishedAt?: string | null | undefined;
635
+ finishedAt?: string | null;
614
636
  user: {
615
637
  __typename?: 'User';
616
638
  id: string;
@@ -623,12 +645,12 @@ export declare type CreateUserPresenceMutation = {
623
645
  login: string;
624
646
  name: string;
625
647
  };
626
- } | null | undefined;
648
+ } | null;
627
649
  errors?: Array<{
628
650
  __typename?: 'MutationError';
629
- field?: string | null | undefined;
651
+ field?: string | null;
630
652
  messages: Array<string>;
631
- }> | null | undefined;
653
+ }> | null;
632
654
  };
633
655
  };
634
656
  export declare type CreateWidgetMutationVariables = Exact<{
@@ -642,13 +664,13 @@ export declare type CreateWidgetMutation = {
642
664
  widget?: {
643
665
  __typename?: 'Widget';
644
666
  id: string;
645
- config?: string | null | undefined;
646
- } | null | undefined;
667
+ config?: string | null;
668
+ } | null;
647
669
  errors?: Array<{
648
670
  __typename?: 'MutationError';
649
- field?: string | null | undefined;
671
+ field?: string | null;
650
672
  messages: Array<string>;
651
- }> | null | undefined;
673
+ }> | null;
652
674
  };
653
675
  };
654
676
  export declare type PauseOrderExecutionMutationVariables = Exact<{
@@ -659,16 +681,33 @@ export declare type PauseOrderExecutionMutation = {
659
681
  __typename?: 'Mutation';
660
682
  pauseOrderExecution: {
661
683
  __typename?: 'PauseOrderExecutionPayload';
662
- order?: {
663
- __typename?: 'Order';
684
+ orderExecution?: {
685
+ __typename?: 'OrderExecution';
664
686
  id: string;
665
- number: string;
666
- } | null | undefined;
687
+ workplaceId: string;
688
+ startedAt: string;
689
+ finishedAt?: string | null;
690
+ quantity?: number | null;
691
+ note?: string | null;
692
+ standardRateMismatched: boolean;
693
+ order: {
694
+ __typename?: 'Order';
695
+ id: string;
696
+ number: string;
697
+ };
698
+ product?: {
699
+ __typename?: 'Product';
700
+ id: string;
701
+ name?: string | null;
702
+ number: string;
703
+ assemblyManual?: string | null;
704
+ } | null;
705
+ } | null;
667
706
  errors?: Array<{
668
707
  __typename?: 'MutationError';
669
- field?: string | null | undefined;
708
+ field?: string | null;
670
709
  messages: Array<string>;
671
- }> | null | undefined;
710
+ }> | null;
672
711
  };
673
712
  };
674
713
  export declare type RemoveDashboardMutationVariables = Exact<{
@@ -680,9 +719,9 @@ export declare type RemoveDashboardMutation = {
680
719
  __typename?: 'RemoveDashboardPayload';
681
720
  errors?: Array<{
682
721
  __typename?: 'MutationError';
683
- field?: string | null | undefined;
722
+ field?: string | null;
684
723
  messages: Array<string>;
685
- }> | null | undefined;
724
+ }> | null;
686
725
  };
687
726
  };
688
727
  export declare type RemoveUserPresenceMutationVariables = Exact<{
@@ -694,9 +733,9 @@ export declare type RemoveUserPresenceMutation = {
694
733
  __typename?: 'RemoveUserPresencePayload';
695
734
  errors?: Array<{
696
735
  __typename?: 'MutationError';
697
- field?: string | null | undefined;
736
+ field?: string | null;
698
737
  messages: Array<string>;
699
- }> | null | undefined;
738
+ }> | null;
700
739
  };
701
740
  };
702
741
  export declare type RemoveWidgetMutationVariables = Exact<{
@@ -708,9 +747,9 @@ export declare type RemoveWidgetMutation = {
708
747
  __typename?: 'RemoveWidgetPayload';
709
748
  errors?: Array<{
710
749
  __typename?: 'MutationError';
711
- field?: string | null | undefined;
750
+ field?: string | null;
712
751
  messages: Array<string>;
713
- }> | null | undefined;
752
+ }> | null;
714
753
  };
715
754
  };
716
755
  export declare type RemoveWorkplaceUsersPresencesMutationVariables = Exact<{
@@ -722,14 +761,15 @@ export declare type RemoveWorkplaceUsersPresencesMutation = {
722
761
  __typename?: 'RemoveWorkplaceUsersPresencesPayload';
723
762
  errors?: Array<{
724
763
  __typename?: 'MutationError';
725
- field?: string | null | undefined;
764
+ field?: string | null;
726
765
  messages: Array<string>;
727
- }> | null | undefined;
766
+ }> | null;
728
767
  };
729
768
  };
730
769
  export declare type SetCounterMutationVariables = Exact<{
731
770
  id: Scalars['ID'];
732
771
  value: Scalars['Float'];
772
+ note?: InputMaybe<Scalars['String']>;
733
773
  }>;
734
774
  export declare type SetCounterMutation = {
735
775
  __typename?: 'Mutation';
@@ -740,16 +780,18 @@ export declare type SetCounterMutation = {
740
780
  id: string;
741
781
  kind: CounterKindEnum;
742
782
  workplaceId: string;
743
- directoryId?: string | null | undefined;
783
+ directoryId?: string | null;
784
+ reasonId: string;
744
785
  name: string;
745
786
  value: number;
746
787
  position: number;
747
- } | null | undefined;
788
+ hasNote: boolean;
789
+ } | null;
748
790
  errors?: Array<{
749
791
  __typename?: 'MutationError';
750
- field?: string | null | undefined;
792
+ field?: string | null;
751
793
  messages: Array<string>;
752
- }> | null | undefined;
794
+ }> | null;
753
795
  };
754
796
  };
755
797
  export declare type StartOrderExecutionMutationVariables = Exact<{
@@ -765,16 +807,33 @@ export declare type StartOrderExecutionMutation = {
765
807
  __typename?: 'Mutation';
766
808
  startOrderExecution: {
767
809
  __typename?: 'StartOrderExecutionPayload';
768
- order?: {
769
- __typename?: 'Order';
810
+ orderExecution?: {
811
+ __typename?: 'OrderExecution';
770
812
  id: string;
771
- number: string;
772
- } | null | undefined;
813
+ workplaceId: string;
814
+ startedAt: string;
815
+ finishedAt?: string | null;
816
+ quantity?: number | null;
817
+ note?: string | null;
818
+ standardRateMismatched: boolean;
819
+ order: {
820
+ __typename?: 'Order';
821
+ id: string;
822
+ number: string;
823
+ };
824
+ product?: {
825
+ __typename?: 'Product';
826
+ id: string;
827
+ name?: string | null;
828
+ number: string;
829
+ assemblyManual?: string | null;
830
+ } | null;
831
+ } | null;
773
832
  errors?: Array<{
774
833
  __typename?: 'MutationError';
775
- field?: string | null | undefined;
834
+ field?: string | null;
776
835
  messages: Array<string>;
777
- }> | null | undefined;
836
+ }> | null;
778
837
  };
779
838
  };
780
839
  export declare type StopOrderExecutionMutationVariables = Exact<{
@@ -785,16 +844,33 @@ export declare type StopOrderExecutionMutation = {
785
844
  __typename?: 'Mutation';
786
845
  stopOrderExecution: {
787
846
  __typename?: 'StopOrderExecutionPayload';
788
- order?: {
789
- __typename?: 'Order';
847
+ orderExecution?: {
848
+ __typename?: 'OrderExecution';
790
849
  id: string;
791
- number: string;
792
- } | null | undefined;
850
+ workplaceId: string;
851
+ startedAt: string;
852
+ finishedAt?: string | null;
853
+ quantity?: number | null;
854
+ note?: string | null;
855
+ standardRateMismatched: boolean;
856
+ order: {
857
+ __typename?: 'Order';
858
+ id: string;
859
+ number: string;
860
+ };
861
+ product?: {
862
+ __typename?: 'Product';
863
+ id: string;
864
+ name?: string | null;
865
+ number: string;
866
+ assemblyManual?: string | null;
867
+ } | null;
868
+ } | null;
793
869
  errors?: Array<{
794
870
  __typename?: 'MutationError';
795
- field?: string | null | undefined;
871
+ field?: string | null;
796
872
  messages: Array<string>;
797
- }> | null | undefined;
873
+ }> | null;
798
874
  };
799
875
  };
800
876
  export declare type UpdateDashboardMutationVariables = Exact<{
@@ -810,13 +886,50 @@ export declare type UpdateDashboardMutation = {
810
886
  __typename?: 'Dashboard';
811
887
  id: string;
812
888
  name: string;
813
- gridLayout?: string | null | undefined;
814
- } | null | undefined;
889
+ gridLayout?: string | null;
890
+ } | null;
891
+ errors?: Array<{
892
+ __typename?: 'MutationError';
893
+ field?: string | null;
894
+ messages: Array<string>;
895
+ }> | null;
896
+ };
897
+ };
898
+ export declare type UpdateOrderExecutionMutationVariables = Exact<{
899
+ id: Scalars['ID'];
900
+ standardRateId: Scalars['ID'];
901
+ }>;
902
+ export declare type UpdateOrderExecutionMutation = {
903
+ __typename?: 'Mutation';
904
+ updateOrderExecution: {
905
+ __typename?: 'UpdateOrderExecutionPayload';
906
+ orderExecution?: {
907
+ __typename?: 'OrderExecution';
908
+ id: string;
909
+ workplaceId: string;
910
+ startedAt: string;
911
+ finishedAt?: string | null;
912
+ quantity?: number | null;
913
+ note?: string | null;
914
+ standardRateMismatched: boolean;
915
+ order: {
916
+ __typename?: 'Order';
917
+ id: string;
918
+ number: string;
919
+ };
920
+ product?: {
921
+ __typename?: 'Product';
922
+ id: string;
923
+ name?: string | null;
924
+ number: string;
925
+ assemblyManual?: string | null;
926
+ } | null;
927
+ } | null;
815
928
  errors?: Array<{
816
929
  __typename?: 'MutationError';
817
- field?: string | null | undefined;
930
+ field?: string | null;
818
931
  messages: Array<string>;
819
- }> | null | undefined;
932
+ }> | null;
820
933
  };
821
934
  };
822
935
  export declare type UpdateWidgetMutationVariables = Exact<{
@@ -830,13 +943,13 @@ export declare type UpdateWidgetMutation = {
830
943
  widget?: {
831
944
  __typename?: 'Widget';
832
945
  id: string;
833
- config?: string | null | undefined;
834
- } | null | undefined;
946
+ config?: string | null;
947
+ } | null;
835
948
  errors?: Array<{
836
949
  __typename?: 'MutationError';
837
- field?: string | null | undefined;
950
+ field?: string | null;
838
951
  messages: Array<string>;
839
- }> | null | undefined;
952
+ }> | null;
840
953
  };
841
954
  };
842
955
  export declare type CompanyConfigQueryVariables = Exact<{
@@ -847,14 +960,15 @@ export declare type CompanyConfigQuery = {
847
960
  companyConfig: {
848
961
  __typename?: 'CompanyConfig';
849
962
  displayedKpiItems: Array<string>;
963
+ statusChangeTransitionPermissionsUpdatedAt?: string | null;
850
964
  productConfig: {
851
965
  __typename?: 'ProductConfig';
852
966
  formFieldsConfigs: Array<{
853
967
  __typename?: 'FieldConfig';
854
968
  name: string;
855
- regexp?: string | null | undefined;
856
- prefix?: string | null | undefined;
857
- unit?: string | null | undefined;
969
+ regexp?: string | null;
970
+ prefix?: string | null;
971
+ unit?: string | null;
858
972
  }>;
859
973
  };
860
974
  roleConfig: {
@@ -865,26 +979,26 @@ export declare type CompanyConfigQuery = {
865
979
  __typename?: 'WorkplaceConfig';
866
980
  workplaceId: string;
867
981
  defaultScreen: DefaultScreenEnum;
868
- statusScreenDisplayBlocks?: Array<StatusScreenDisplayBlocksEnum> | null | undefined;
982
+ statusScreenDisplayBlocks?: Array<StatusScreenDisplayBlocksEnum> | null;
869
983
  orderConfig: {
870
984
  __typename?: 'OrderConfig';
871
985
  featureEnabled: boolean;
872
- afterStartOrderExecutionReasonId?: string | null | undefined;
873
- afterPauseOrderExecutionReasonId?: string | null | undefined;
874
- afterStopOrderExecutionReasonId?: string | null | undefined;
986
+ afterStartOrderExecutionReasonId?: string | null;
987
+ afterPauseOrderExecutionReasonId?: string | null;
988
+ afterStopOrderExecutionReasonId?: string | null;
875
989
  orderExecutionFormFieldsConfigs: Array<{
876
990
  __typename?: 'FieldConfig';
877
991
  name: string;
878
- regexp?: string | null | undefined;
879
- prefix?: string | null | undefined;
880
- unit?: string | null | undefined;
992
+ regexp?: string | null;
993
+ prefix?: string | null;
994
+ unit?: string | null;
881
995
  }>;
882
996
  orderFormFieldsConfigs: Array<{
883
997
  __typename?: 'FieldConfig';
884
998
  name: string;
885
- regexp?: string | null | undefined;
886
- prefix?: string | null | undefined;
887
- unit?: string | null | undefined;
999
+ regexp?: string | null;
1000
+ prefix?: string | null;
1001
+ unit?: string | null;
888
1002
  }>;
889
1003
  };
890
1004
  screenSaverConfig: {
@@ -913,8 +1027,8 @@ export declare type CounterDirectoriesQuery = {
913
1027
  counterDirectories: Array<{
914
1028
  __typename?: 'CounterDirectory';
915
1029
  id: string;
916
- name?: string | null | undefined;
917
- directoryId?: string | null | undefined;
1030
+ name?: string | null;
1031
+ directoryId?: string | null;
918
1032
  position: number;
919
1033
  workplaceId: string;
920
1034
  }>;
@@ -929,10 +1043,12 @@ export declare type CountersQuery = {
929
1043
  id: string;
930
1044
  kind: CounterKindEnum;
931
1045
  workplaceId: string;
932
- directoryId?: string | null | undefined;
1046
+ directoryId?: string | null;
1047
+ reasonId: string;
933
1048
  name: string;
934
1049
  value: number;
935
1050
  position: number;
1051
+ hasNote: boolean;
936
1052
  }>;
937
1053
  };
938
1054
  export declare type CurrentUserQueryVariables = Exact<{
@@ -956,21 +1072,21 @@ export declare type DashboardsQuery = {
956
1072
  __typename?: 'Dashboard';
957
1073
  id: string;
958
1074
  name: string;
959
- gridLayout?: string | null | undefined;
1075
+ gridLayout?: string | null;
960
1076
  }>;
961
1077
  };
962
1078
  export declare type MetricValuesQueryVariables = Exact<{
963
- workplaces?: InputMaybe<Array<Scalars['ID']> | Scalars['ID']>;
964
- gridReasons?: InputMaybe<Array<Scalars['ID']> | Scalars['ID']>;
1079
+ workplaceIds?: InputMaybe<Array<Scalars['ID']> | Scalars['ID']>;
1080
+ metricIds?: InputMaybe<Array<Scalars['ID']> | Scalars['ID']>;
965
1081
  }>;
966
1082
  export declare type MetricValuesQuery = {
967
1083
  __typename?: 'Query';
968
1084
  metricValues: Array<{
969
1085
  __typename?: 'MetricValue';
970
1086
  active: boolean;
971
- type: GridTableTypeEnum;
972
- timer?: number | null | undefined;
973
- value?: string | null | undefined;
1087
+ type: MetricTypeEnum;
1088
+ timer?: number | null;
1089
+ value?: string | null;
974
1090
  status: AndonLightColor;
975
1091
  workplaceId: string;
976
1092
  metricId: string;
@@ -985,7 +1101,7 @@ export declare type MetricsQuery = {
985
1101
  __typename?: 'Metric';
986
1102
  id: string;
987
1103
  name: string;
988
- }> | null | undefined;
1104
+ }> | null;
989
1105
  };
990
1106
  export declare type OrdersQueryVariables = Exact<{
991
1107
  [key: string]: never;
@@ -1008,9 +1124,10 @@ export declare type OrdersExecutionsQuery = {
1008
1124
  id: string;
1009
1125
  workplaceId: string;
1010
1126
  startedAt: string;
1011
- finishedAt?: string | null | undefined;
1012
- quantity?: number | null | undefined;
1013
- note?: string | null | undefined;
1127
+ finishedAt?: string | null;
1128
+ quantity?: number | null;
1129
+ note?: string | null;
1130
+ standardRateMismatched: boolean;
1014
1131
  order: {
1015
1132
  __typename?: 'Order';
1016
1133
  id: string;
@@ -1019,10 +1136,10 @@ export declare type OrdersExecutionsQuery = {
1019
1136
  product?: {
1020
1137
  __typename?: 'Product';
1021
1138
  id: string;
1022
- name?: string | null | undefined;
1139
+ name?: string | null;
1023
1140
  number: string;
1024
- assemblyManual?: string | null | undefined;
1025
- } | null | undefined;
1141
+ assemblyManual?: string | null;
1142
+ } | null;
1026
1143
  }>;
1027
1144
  };
1028
1145
  export declare type ProductsQueryVariables = Exact<{
@@ -1033,9 +1150,9 @@ export declare type ProductsQuery = {
1033
1150
  products: Array<{
1034
1151
  __typename?: 'Product';
1035
1152
  id: string;
1036
- name?: string | null | undefined;
1153
+ name?: string | null;
1037
1154
  number: string;
1038
- assemblyManual?: string | null | undefined;
1155
+ assemblyManual?: string | null;
1039
1156
  }>;
1040
1157
  };
1041
1158
  export declare type ReasonsQueryVariables = Exact<{
@@ -1046,7 +1163,7 @@ export declare type ReasonsQuery = {
1046
1163
  reasons: Array<{
1047
1164
  __typename?: 'Reason';
1048
1165
  id: string;
1049
- parentId?: string | null | undefined;
1166
+ parentId?: string | null;
1050
1167
  reasonGroupId: string;
1051
1168
  name: string;
1052
1169
  position: number;
@@ -1069,6 +1186,17 @@ export declare type ShiftsQuery = {
1069
1186
  finishedAt: string;
1070
1187
  }>;
1071
1188
  };
1189
+ export declare type StandardRatesQueryVariables = Exact<{
1190
+ orderExecutionId: Scalars['ID'];
1191
+ }>;
1192
+ export declare type StandardRatesQuery = {
1193
+ __typename?: 'Query';
1194
+ standardRates: Array<{
1195
+ __typename?: 'StandardRate';
1196
+ id: string;
1197
+ label: string;
1198
+ }>;
1199
+ };
1072
1200
  export declare type StatusChangeTransitionPermissionsQueryVariables = Exact<{
1073
1201
  [key: string]: never;
1074
1202
  }>;
@@ -1076,12 +1204,10 @@ export declare type StatusChangeTransitionPermissionsQuery = {
1076
1204
  __typename?: 'Query';
1077
1205
  statusChangeTransitionPermissions: Array<{
1078
1206
  __typename?: 'StatusChangeTransitionPermission';
1079
- id: string;
1080
1207
  workplaceId: string;
1081
1208
  roleId: string;
1082
1209
  fromReasonId: string;
1083
1210
  toReasonId: string;
1084
- allowed: boolean;
1085
1211
  }>;
1086
1212
  };
1087
1213
  export declare type StatusChangesQueryVariables = Exact<{
@@ -1094,12 +1220,12 @@ export declare type StatusChangesQuery = {
1094
1220
  id: string;
1095
1221
  workplaceId: string;
1096
1222
  startedAt: string;
1097
- finishedAt?: string | null | undefined;
1098
- note?: string | null | undefined;
1223
+ finishedAt?: string | null;
1224
+ note?: string | null;
1099
1225
  reason: {
1100
1226
  __typename?: 'Reason';
1101
1227
  id: string;
1102
- parentId?: string | null | undefined;
1228
+ parentId?: string | null;
1103
1229
  reasonGroupId: string;
1104
1230
  name: string;
1105
1231
  position: number;
@@ -1118,14 +1244,14 @@ export declare type StatusChangesQuery = {
1118
1244
  __typename?: 'Order';
1119
1245
  id: string;
1120
1246
  number: string;
1121
- } | null | undefined;
1247
+ } | null;
1122
1248
  product?: {
1123
1249
  __typename?: 'Product';
1124
1250
  id: string;
1125
- name?: string | null | undefined;
1251
+ name?: string | null;
1126
1252
  number: string;
1127
- assemblyManual?: string | null | undefined;
1128
- } | null | undefined;
1253
+ assemblyManual?: string | null;
1254
+ } | null;
1129
1255
  }>;
1130
1256
  };
1131
1257
  export declare type UsersQueryVariables = Exact<{
@@ -1150,7 +1276,7 @@ export declare type UsersPresencesQuery = {
1150
1276
  id: string;
1151
1277
  workplaceId: string;
1152
1278
  startedAt: string;
1153
- finishedAt?: string | null | undefined;
1279
+ finishedAt?: string | null;
1154
1280
  user: {
1155
1281
  __typename?: 'User';
1156
1282
  id: string;
@@ -1173,7 +1299,7 @@ export declare type WidgetQuery = {
1173
1299
  widget: {
1174
1300
  __typename?: 'Widget';
1175
1301
  id: string;
1176
- config?: string | null | undefined;
1302
+ config?: string | null;
1177
1303
  };
1178
1304
  };
1179
1305
  export declare type WorkplacesQueryVariables = Exact<{
@@ -1216,6 +1342,7 @@ export declare const SetCounterDocument: any;
1216
1342
  export declare const StartOrderExecutionDocument: any;
1217
1343
  export declare const StopOrderExecutionDocument: any;
1218
1344
  export declare const UpdateDashboardDocument: any;
1345
+ export declare const UpdateOrderExecutionDocument: any;
1219
1346
  export declare const UpdateWidgetDocument: any;
1220
1347
  export declare const CompanyConfigDocument: any;
1221
1348
  export declare const CounterDirectoriesDocument: any;
@@ -1229,6 +1356,7 @@ export declare const OrdersExecutionsDocument: any;
1229
1356
  export declare const ProductsDocument: any;
1230
1357
  export declare const ReasonsDocument: any;
1231
1358
  export declare const ShiftsDocument: any;
1359
+ export declare const StandardRatesDocument: any;
1232
1360
  export declare const StatusChangeTransitionPermissionsDocument: any;
1233
1361
  export declare const StatusChangesDocument: any;
1234
1362
  export declare const UsersDocument: any;
@@ -1252,6 +1380,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
1252
1380
  startOrderExecution(variables: StartOrderExecutionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<StartOrderExecutionMutation>;
1253
1381
  stopOrderExecution(variables: StopOrderExecutionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<StopOrderExecutionMutation>;
1254
1382
  updateDashboard(variables: UpdateDashboardMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<UpdateDashboardMutation>;
1383
+ updateOrderExecution(variables: UpdateOrderExecutionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<UpdateOrderExecutionMutation>;
1255
1384
  updateWidget(variables: UpdateWidgetMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<UpdateWidgetMutation>;
1256
1385
  companyConfig(variables?: Exact<{
1257
1386
  [key: string]: never;
@@ -1269,8 +1398,8 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
1269
1398
  [key: string]: never;
1270
1399
  }> | undefined, requestHeaders?: Dom.RequestInit["headers"]): Promise<DashboardsQuery>;
1271
1400
  metricValues(variables?: Exact<{
1272
- workplaces?: string | string[] | null | undefined;
1273
- gridReasons?: string | string[] | null | undefined;
1401
+ workplaceIds?: string | string[] | null | undefined;
1402
+ metricIds?: string | string[] | null | undefined;
1274
1403
  }> | undefined, requestHeaders?: Dom.RequestInit["headers"]): Promise<MetricValuesQuery>;
1275
1404
  metrics(variables?: Exact<{
1276
1405
  [key: string]: never;
@@ -1290,6 +1419,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
1290
1419
  shifts(variables?: Exact<{
1291
1420
  [key: string]: never;
1292
1421
  }> | undefined, requestHeaders?: Dom.RequestInit["headers"]): Promise<ShiftsQuery>;
1422
+ standardRates(variables: StandardRatesQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<StandardRatesQuery>;
1293
1423
  statusChangeTransitionPermissions(variables?: Exact<{
1294
1424
  [key: string]: never;
1295
1425
  }> | undefined, requestHeaders?: Dom.RequestInit["headers"]): Promise<StatusChangeTransitionPermissionsQuery>;