andoncloud-dashboard-toolkit 1.0.0 → 1.0.4

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/README.md CHANGED
@@ -13,16 +13,34 @@ npm install --save dashboard-toolkit
13
13
  ## Usage
14
14
 
15
15
  ```tsx
16
- import React, { Component } from 'react'
17
-
18
- import MyComponent from 'dashboard-toolkit'
19
- import 'dashboard-toolkit/dist/index.css'
20
-
21
- class Example extends Component {
22
- render() {
23
- return <MyComponent />
24
- }
16
+ import React, { useEffect, useState } from 'react'
17
+
18
+ import { GraphQLClient } from 'graphql-request'
19
+
20
+ import type { User } from 'dashboard-toolkit'
21
+ import { getSdk } from 'dashboard-toolkit'
22
+
23
+ const App = () => {
24
+ const [users, setUsers] = useState<User[]>([])
25
+ const client = new GraphQLClient('http://localhost:4000/graphql')
26
+ const sdk = getSdk(client)
27
+
28
+ useEffect(() => {
29
+ sdk.users().then((data) => {
30
+ setUsers(data.users)
31
+ })
32
+ }, [sdk])
33
+
34
+ return (
35
+ <div>
36
+ {users.map((user: User) => (
37
+ <p key={user.id}>{user.name}</p>
38
+ ))}
39
+ </div>
40
+ )
25
41
  }
42
+
43
+ export default App
26
44
  ```
27
45
 
28
46
  ## License
@@ -57,6 +57,11 @@ export declare enum CounterKindEnum {
57
57
  Bad = "bad",
58
58
  Good = "good"
59
59
  }
60
+ export declare type CreateDashboardPayload = {
61
+ __typename?: 'CreateDashboardPayload';
62
+ dashboard?: Maybe<Dashboard>;
63
+ errors?: Maybe<Array<MutationError>>;
64
+ };
60
65
  export declare type CreateOrderPayload = {
61
66
  __typename?: 'CreateOrderPayload';
62
67
  errors?: Maybe<Array<MutationError>>;
@@ -77,17 +82,17 @@ export declare type CreateUserPresencePayload = {
77
82
  errors?: Maybe<Array<MutationError>>;
78
83
  userPresence?: Maybe<UserPresence>;
79
84
  };
85
+ export declare type CreateWidgetPayload = {
86
+ __typename?: 'CreateWidgetPayload';
87
+ errors?: Maybe<Array<MutationError>>;
88
+ widget?: Maybe<Widget>;
89
+ };
80
90
  export declare type Dashboard = {
81
91
  __typename?: 'Dashboard';
82
92
  gridLayout?: Maybe<Scalars['String']>;
83
93
  id: Scalars['ID'];
94
+ name: Scalars['String'];
84
95
  };
85
- export declare enum DashboardArrangementEnum {
86
- Kpi = "KPI",
87
- Livetime = "LIVETIME",
88
- Orders = "ORDERS",
89
- Presences = "PRESENCES"
90
- }
91
96
  export declare enum DefaultScreenEnum {
92
97
  Counters = "COUNTERS",
93
98
  Dashboard = "DASHBOARD",
@@ -106,6 +111,13 @@ export declare type FieldConfig = {
106
111
  regexp?: Maybe<Scalars['String']>;
107
112
  unit?: Maybe<Scalars['String']>;
108
113
  };
114
+ export declare enum GridTableTypeEnum {
115
+ Counter = "COUNTER",
116
+ Empty = "EMPTY",
117
+ Indicator = "INDICATOR",
118
+ Kpi = "KPI",
119
+ Timer = "TIMER"
120
+ }
109
121
  export declare type KpiItem = {
110
122
  __typename?: 'KpiItem';
111
123
  id: Scalars['ID'];
@@ -121,14 +133,33 @@ export declare type KpiProgressItem = {
121
133
  symbol: Scalars['String'];
122
134
  };
123
135
  export declare type KpiUnionItem = KpiItem | KpiProgressItem;
136
+ export declare type Metric = {
137
+ __typename?: 'Metric';
138
+ id: Scalars['ID'];
139
+ name: Scalars['String'];
140
+ };
141
+ export declare type MetricValue = {
142
+ __typename?: 'MetricValue';
143
+ active: Scalars['Boolean'];
144
+ metricId: Scalars['String'];
145
+ status: AndonLightColor;
146
+ timer?: Maybe<Scalars['Int']>;
147
+ type: GridTableTypeEnum;
148
+ value?: Maybe<Scalars['String']>;
149
+ workplaceId: Scalars['String'];
150
+ };
124
151
  export declare type Mutation = {
125
152
  __typename?: 'Mutation';
153
+ createDashboard: CreateDashboardPayload;
126
154
  createOrder: CreateOrderPayload;
127
155
  createProduct: CreateProductPayload;
128
156
  createStatusChange: CreateStatusChangePayload;
129
157
  createUserPresence: CreateUserPresencePayload;
158
+ createWidget: CreateWidgetPayload;
130
159
  pauseOrderExecution: PauseOrderExecutionPayload;
160
+ removeDashboard: RemoveDashboardPayload;
131
161
  removeUserPresence: RemoveUserPresencePayload;
162
+ removeWidget: RemoveWidgetPayload;
132
163
  removeWorkplaceUsersPresences: RemoveWorkplaceUsersPresencesPayload;
133
164
  setCounter: SetCounterPayload;
134
165
  startOrderExecution: StartOrderExecutionPayload;
@@ -136,6 +167,10 @@ export declare type Mutation = {
136
167
  updateDashboard: UpdateDashboardPayload;
137
168
  updateWidget: UpdateWidgetPayload;
138
169
  };
170
+ export declare type MutationCreateDashboardArgs = {
171
+ gridLayout?: InputMaybe<Scalars['String']>;
172
+ id: Scalars['ID'];
173
+ };
139
174
  export declare type MutationCreateOrderArgs = {
140
175
  id: Scalars['ID'];
141
176
  number: Scalars['String'];
@@ -158,13 +193,23 @@ export declare type MutationCreateUserPresenceArgs = {
158
193
  userToken: Scalars['String'];
159
194
  workplaceId: Scalars['ID'];
160
195
  };
196
+ export declare type MutationCreateWidgetArgs = {
197
+ config?: InputMaybe<Scalars['String']>;
198
+ id: Scalars['ID'];
199
+ };
161
200
  export declare type MutationPauseOrderExecutionArgs = {
162
201
  id: Scalars['ID'];
163
202
  statusChangeId: Scalars['ID'];
164
203
  };
204
+ export declare type MutationRemoveDashboardArgs = {
205
+ id: Scalars['ID'];
206
+ };
165
207
  export declare type MutationRemoveUserPresenceArgs = {
166
208
  id: Scalars['ID'];
167
209
  };
210
+ export declare type MutationRemoveWidgetArgs = {
211
+ id: Scalars['ID'];
212
+ };
168
213
  export declare type MutationRemoveWorkplaceUsersPresencesArgs = {
169
214
  workplaceId: Scalars['ID'];
170
215
  };
@@ -250,7 +295,9 @@ export declare type Query = {
250
295
  counterDirectories: Array<CounterDirectory>;
251
296
  counters: Array<Counter>;
252
297
  currentUser: User;
253
- dashboard: Dashboard;
298
+ dashboards: Array<Dashboard>;
299
+ metricValues: Array<MetricValue>;
300
+ metrics?: Maybe<Array<Metric>>;
254
301
  orders: Array<Order>;
255
302
  ordersExecutions: Array<OrderExecution>;
256
303
  products: Array<Product>;
@@ -263,6 +310,10 @@ export declare type Query = {
263
310
  widget: Widget;
264
311
  workplaces: Array<Workplace>;
265
312
  };
313
+ export declare type QueryMetricValuesArgs = {
314
+ gridReasons?: InputMaybe<Array<Scalars['ID']>>;
315
+ workplaces?: InputMaybe<Array<Scalars['ID']>>;
316
+ };
266
317
  export declare type QueryWidgetArgs = {
267
318
  id: Scalars['ID'];
268
319
  };
@@ -278,10 +329,18 @@ export declare type Reason = {
278
329
  reasonGroupId: Scalars['String'];
279
330
  statusColor: AndonLightColor;
280
331
  };
332
+ export declare type RemoveDashboardPayload = {
333
+ __typename?: 'RemoveDashboardPayload';
334
+ errors?: Maybe<Array<MutationError>>;
335
+ };
281
336
  export declare type RemoveUserPresencePayload = {
282
337
  __typename?: 'RemoveUserPresencePayload';
283
338
  errors?: Maybe<Array<MutationError>>;
284
339
  };
340
+ export declare type RemoveWidgetPayload = {
341
+ __typename?: 'RemoveWidgetPayload';
342
+ errors?: Maybe<Array<MutationError>>;
343
+ };
285
344
  export declare type RemoveWorkplaceUsersPresencesPayload = {
286
345
  __typename?: 'RemoveWorkplaceUsersPresencesPayload';
287
346
  errors?: Maybe<Array<MutationError>>;
@@ -337,6 +396,12 @@ export declare type StatusChangeTransitionPermission = {
337
396
  toReasonId: Scalars['String'];
338
397
  workplaceId: Scalars['String'];
339
398
  };
399
+ export declare enum StatusScreenDisplayBlocksEnum {
400
+ Kpi = "KPI",
401
+ Livetime = "LIVETIME",
402
+ Orders = "ORDERS",
403
+ Presences = "PRESENCES"
404
+ }
340
405
  export declare type StopOrderExecutionPayload = {
341
406
  __typename?: 'StopOrderExecutionPayload';
342
407
  errors?: Maybe<Array<MutationError>>;
@@ -381,7 +446,6 @@ export declare type Widget = {
381
446
  };
382
447
  export declare type Workplace = {
383
448
  __typename?: 'Workplace';
384
- dashboardArrangement?: Maybe<Array<DashboardArrangementEnum>>;
385
449
  id: Scalars['ID'];
386
450
  kpiData: Array<KpiUnionItem>;
387
451
  name: Scalars['String'];
@@ -392,6 +456,7 @@ export declare type WorkplaceConfig = {
392
456
  defaultScreen: DefaultScreenEnum;
393
457
  orderConfig: OrderConfig;
394
458
  screenSaverConfig: ScreenSaverConfig;
459
+ statusScreenDisplayBlocks?: Maybe<Array<StatusScreenDisplayBlocksEnum>>;
395
460
  workplaceId: Scalars['ID'];
396
461
  };
397
462
  export declare enum WorkplaceEvent {
@@ -407,6 +472,27 @@ export declare type WorkplaceEventSubscriptionPayload = {
407
472
  event: WorkplaceEvent;
408
473
  subject?: Maybe<WorkplaceEventSubjectUnion>;
409
474
  };
475
+ export declare type CreateDashboardMutationVariables = Exact<{
476
+ id: Scalars['ID'];
477
+ gridLayout?: InputMaybe<Scalars['String']>;
478
+ }>;
479
+ export declare type CreateDashboardMutation = {
480
+ __typename?: 'Mutation';
481
+ createDashboard: {
482
+ __typename?: 'CreateDashboardPayload';
483
+ dashboard?: {
484
+ __typename?: 'Dashboard';
485
+ id: string;
486
+ name: string;
487
+ gridLayout?: string | null | undefined;
488
+ } | null | undefined;
489
+ errors?: Array<{
490
+ __typename?: 'MutationError';
491
+ field?: string | null | undefined;
492
+ messages: Array<string>;
493
+ }> | null | undefined;
494
+ };
495
+ };
410
496
  export declare type CreateOrderMutationVariables = Exact<{
411
497
  id: Scalars['ID'];
412
498
  number: Scalars['String'];
@@ -542,6 +628,26 @@ export declare type CreateUserPresenceMutation = {
542
628
  }> | null | undefined;
543
629
  };
544
630
  };
631
+ export declare type CreateWidgetMutationVariables = Exact<{
632
+ id: Scalars['ID'];
633
+ config?: InputMaybe<Scalars['String']>;
634
+ }>;
635
+ export declare type CreateWidgetMutation = {
636
+ __typename?: 'Mutation';
637
+ createWidget: {
638
+ __typename?: 'CreateWidgetPayload';
639
+ widget?: {
640
+ __typename?: 'Widget';
641
+ id: string;
642
+ config?: string | null | undefined;
643
+ } | null | undefined;
644
+ errors?: Array<{
645
+ __typename?: 'MutationError';
646
+ field?: string | null | undefined;
647
+ messages: Array<string>;
648
+ }> | null | undefined;
649
+ };
650
+ };
545
651
  export declare type PauseOrderExecutionMutationVariables = Exact<{
546
652
  id: Scalars['ID'];
547
653
  statusChangeId: Scalars['ID'];
@@ -562,6 +668,20 @@ export declare type PauseOrderExecutionMutation = {
562
668
  }> | null | undefined;
563
669
  };
564
670
  };
671
+ export declare type RemoveDashboardMutationVariables = Exact<{
672
+ id: Scalars['ID'];
673
+ }>;
674
+ export declare type RemoveDashboardMutation = {
675
+ __typename?: 'Mutation';
676
+ removeDashboard: {
677
+ __typename?: 'RemoveDashboardPayload';
678
+ errors?: Array<{
679
+ __typename?: 'MutationError';
680
+ field?: string | null | undefined;
681
+ messages: Array<string>;
682
+ }> | null | undefined;
683
+ };
684
+ };
565
685
  export declare type RemoveUserPresenceMutationVariables = Exact<{
566
686
  id: Scalars['ID'];
567
687
  }>;
@@ -576,6 +696,20 @@ export declare type RemoveUserPresenceMutation = {
576
696
  }> | null | undefined;
577
697
  };
578
698
  };
699
+ export declare type RemoveWidgetMutationVariables = Exact<{
700
+ id: Scalars['ID'];
701
+ }>;
702
+ export declare type RemoveWidgetMutation = {
703
+ __typename?: 'Mutation';
704
+ removeWidget: {
705
+ __typename?: 'RemoveWidgetPayload';
706
+ errors?: Array<{
707
+ __typename?: 'MutationError';
708
+ field?: string | null | undefined;
709
+ messages: Array<string>;
710
+ }> | null | undefined;
711
+ };
712
+ };
579
713
  export declare type RemoveWorkplaceUsersPresencesMutationVariables = Exact<{
580
714
  workplaceId: Scalars['ID'];
581
715
  }>;
@@ -660,6 +794,47 @@ export declare type StopOrderExecutionMutation = {
660
794
  }> | null | undefined;
661
795
  };
662
796
  };
797
+ export declare type UpdateDashboardMutationVariables = Exact<{
798
+ id: Scalars['ID'];
799
+ gridLayout: Scalars['String'];
800
+ }>;
801
+ export declare type UpdateDashboardMutation = {
802
+ __typename?: 'Mutation';
803
+ updateDashboard: {
804
+ __typename?: 'UpdateDashboardPayload';
805
+ dashboard?: {
806
+ __typename?: 'Dashboard';
807
+ id: string;
808
+ name: string;
809
+ gridLayout?: string | null | undefined;
810
+ } | null | undefined;
811
+ errors?: Array<{
812
+ __typename?: 'MutationError';
813
+ field?: string | null | undefined;
814
+ messages: Array<string>;
815
+ }> | null | undefined;
816
+ };
817
+ };
818
+ export declare type UpdateWidgetMutationVariables = Exact<{
819
+ id: Scalars['ID'];
820
+ config: Scalars['String'];
821
+ }>;
822
+ export declare type UpdateWidgetMutation = {
823
+ __typename?: 'Mutation';
824
+ updateWidget: {
825
+ __typename?: 'UpdateWidgetPayload';
826
+ widget?: {
827
+ __typename?: 'Widget';
828
+ id: string;
829
+ config?: string | null | undefined;
830
+ } | null | undefined;
831
+ errors?: Array<{
832
+ __typename?: 'MutationError';
833
+ field?: string | null | undefined;
834
+ messages: Array<string>;
835
+ }> | null | undefined;
836
+ };
837
+ };
663
838
  export declare type CompanyConfigQueryVariables = Exact<{
664
839
  [key: string]: never;
665
840
  }>;
@@ -686,6 +861,7 @@ export declare type CompanyConfigQuery = {
686
861
  __typename?: 'WorkplaceConfig';
687
862
  workplaceId: string;
688
863
  defaultScreen: DefaultScreenEnum;
864
+ statusScreenDisplayBlocks?: Array<StatusScreenDisplayBlocksEnum> | null | undefined;
689
865
  orderConfig: {
690
866
  __typename?: 'OrderConfig';
691
867
  featureEnabled: boolean;
@@ -767,16 +943,45 @@ export declare type CurrentUserQuery = {
767
943
  name: string;
768
944
  };
769
945
  };
770
- export declare type DashboardQueryVariables = Exact<{
946
+ export declare type DashboardsQueryVariables = Exact<{
771
947
  [key: string]: never;
772
948
  }>;
773
- export declare type DashboardQuery = {
949
+ export declare type DashboardsQuery = {
774
950
  __typename?: 'Query';
775
- dashboard: {
951
+ dashboards: Array<{
776
952
  __typename?: 'Dashboard';
777
953
  id: string;
954
+ name: string;
778
955
  gridLayout?: string | null | undefined;
779
- };
956
+ }>;
957
+ };
958
+ export declare type MetricValuesQueryVariables = Exact<{
959
+ workplaces?: InputMaybe<Array<Scalars['ID']> | Scalars['ID']>;
960
+ gridReasons?: InputMaybe<Array<Scalars['ID']> | Scalars['ID']>;
961
+ }>;
962
+ export declare type MetricValuesQuery = {
963
+ __typename?: 'Query';
964
+ metricValues: Array<{
965
+ __typename?: 'MetricValue';
966
+ active: boolean;
967
+ type: GridTableTypeEnum;
968
+ timer?: number | null | undefined;
969
+ value?: string | null | undefined;
970
+ status: AndonLightColor;
971
+ workplaceId: string;
972
+ metricId: string;
973
+ }>;
974
+ };
975
+ export declare type MetricsQueryVariables = Exact<{
976
+ [key: string]: never;
977
+ }>;
978
+ export declare type MetricsQuery = {
979
+ __typename?: 'Query';
980
+ metrics?: Array<{
981
+ __typename?: 'Metric';
982
+ id: string;
983
+ name: string;
984
+ }> | null | undefined;
780
985
  };
781
986
  export declare type OrdersQueryVariables = Exact<{
782
987
  [key: string]: never;
@@ -963,6 +1168,7 @@ export declare type WidgetQuery = {
963
1168
  __typename?: 'Query';
964
1169
  widget: {
965
1170
  __typename?: 'Widget';
1171
+ id: string;
966
1172
  config?: string | null | undefined;
967
1173
  };
968
1174
  };
@@ -976,7 +1182,6 @@ export declare type WorkplacesQuery = {
976
1182
  id: string;
977
1183
  name: string;
978
1184
  reasonGroupId: string;
979
- dashboardArrangement?: Array<DashboardArrangementEnum> | null | undefined;
980
1185
  kpiData: Array<{
981
1186
  __typename?: 'KpiItem';
982
1187
  id: string;
@@ -992,21 +1197,29 @@ export declare type WorkplacesQuery = {
992
1197
  }>;
993
1198
  }>;
994
1199
  };
1200
+ export declare const CreateDashboardDocument: any;
995
1201
  export declare const CreateOrderDocument: any;
996
1202
  export declare const CreateProductDocument: any;
997
1203
  export declare const CreateStatusChangeDocument: any;
998
1204
  export declare const CreateUserPresenceDocument: any;
1205
+ export declare const CreateWidgetDocument: any;
999
1206
  export declare const PauseOrderExecutionDocument: any;
1207
+ export declare const RemoveDashboardDocument: any;
1000
1208
  export declare const RemoveUserPresenceDocument: any;
1209
+ export declare const RemoveWidgetDocument: any;
1001
1210
  export declare const RemoveWorkplaceUsersPresencesDocument: any;
1002
1211
  export declare const SetCounterDocument: any;
1003
1212
  export declare const StartOrderExecutionDocument: any;
1004
1213
  export declare const StopOrderExecutionDocument: any;
1214
+ export declare const UpdateDashboardDocument: any;
1215
+ export declare const UpdateWidgetDocument: any;
1005
1216
  export declare const CompanyConfigDocument: any;
1006
1217
  export declare const CounterDirectoriesDocument: any;
1007
1218
  export declare const CountersDocument: any;
1008
1219
  export declare const CurrentUserDocument: any;
1009
- export declare const DashboardDocument: any;
1220
+ export declare const DashboardsDocument: any;
1221
+ export declare const MetricValuesDocument: any;
1222
+ export declare const MetricsDocument: any;
1010
1223
  export declare const OrdersDocument: any;
1011
1224
  export declare const OrdersExecutionsDocument: any;
1012
1225
  export declare const ProductsDocument: any;
@@ -1020,16 +1233,22 @@ export declare const WidgetDocument: any;
1020
1233
  export declare const WorkplacesDocument: any;
1021
1234
  export declare type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string) => Promise<T>;
1022
1235
  export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
1236
+ createDashboard(variables: CreateDashboardMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<CreateDashboardMutation>;
1023
1237
  createOrder(variables: CreateOrderMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<CreateOrderMutation>;
1024
1238
  createProduct(variables: CreateProductMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<CreateProductMutation>;
1025
1239
  createStatusChange(variables: CreateStatusChangeMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<CreateStatusChangeMutation>;
1026
1240
  createUserPresence(variables: CreateUserPresenceMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<CreateUserPresenceMutation>;
1241
+ createWidget(variables: CreateWidgetMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<CreateWidgetMutation>;
1027
1242
  pauseOrderExecution(variables: PauseOrderExecutionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<PauseOrderExecutionMutation>;
1243
+ removeDashboard(variables: RemoveDashboardMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<RemoveDashboardMutation>;
1028
1244
  removeUserPresence(variables: RemoveUserPresenceMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<RemoveUserPresenceMutation>;
1245
+ removeWidget(variables: RemoveWidgetMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<RemoveWidgetMutation>;
1029
1246
  removeWorkplaceUsersPresences(variables: RemoveWorkplaceUsersPresencesMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<RemoveWorkplaceUsersPresencesMutation>;
1030
1247
  setCounter(variables: SetCounterMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<SetCounterMutation>;
1031
1248
  startOrderExecution(variables: StartOrderExecutionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<StartOrderExecutionMutation>;
1032
1249
  stopOrderExecution(variables: StopOrderExecutionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<StopOrderExecutionMutation>;
1250
+ updateDashboard(variables: UpdateDashboardMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<UpdateDashboardMutation>;
1251
+ updateWidget(variables: UpdateWidgetMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<UpdateWidgetMutation>;
1033
1252
  companyConfig(variables?: Exact<{
1034
1253
  [key: string]: never;
1035
1254
  }> | undefined, requestHeaders?: Dom.RequestInit["headers"]): Promise<CompanyConfigQuery>;
@@ -1042,9 +1261,16 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
1042
1261
  currentUser(variables?: Exact<{
1043
1262
  [key: string]: never;
1044
1263
  }> | undefined, requestHeaders?: Dom.RequestInit["headers"]): Promise<CurrentUserQuery>;
1045
- dashboard(variables?: Exact<{
1264
+ dashboards(variables?: Exact<{
1265
+ [key: string]: never;
1266
+ }> | undefined, requestHeaders?: Dom.RequestInit["headers"]): Promise<DashboardsQuery>;
1267
+ metricValues(variables?: Exact<{
1268
+ workplaces?: string | string[] | null | undefined;
1269
+ gridReasons?: string | string[] | null | undefined;
1270
+ }> | undefined, requestHeaders?: Dom.RequestInit["headers"]): Promise<MetricValuesQuery>;
1271
+ metrics(variables?: Exact<{
1046
1272
  [key: string]: never;
1047
- }> | undefined, requestHeaders?: Dom.RequestInit["headers"]): Promise<DashboardQuery>;
1273
+ }> | undefined, requestHeaders?: Dom.RequestInit["headers"]): Promise<MetricsQuery>;
1048
1274
  orders(variables?: Exact<{
1049
1275
  [key: string]: never;
1050
1276
  }> | undefined, requestHeaders?: Dom.RequestInit["headers"]): Promise<OrdersQuery>;