andoncloud-dashboard-toolkit 1.5.36 → 1.5.37
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 +44 -0
- package/dist/index.js +11 -11
- package/dist/index.js.map +1 -1
- package/dist/operations/generated/queries/index.d.ts +1 -0
- package/dist/version.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1789,6 +1789,7 @@ export type Query = {
|
|
|
1789
1789
|
* (e.g. at order start/stop, shift change, operator log in/out).
|
|
1790
1790
|
*/
|
|
1791
1791
|
statusChanges: Array<StatusChange>;
|
|
1792
|
+
statusInsights: StatusInsightsResult;
|
|
1792
1793
|
/** Returns all users belonging to the company of the currently logged-in user. */
|
|
1793
1794
|
users: Array<User>;
|
|
1794
1795
|
/**
|
|
@@ -1891,6 +1892,9 @@ export type QueryStatusChangeTransitionPermissionsArgs = {
|
|
|
1891
1892
|
export type QueryStatusChangesArgs = {
|
|
1892
1893
|
filter?: InputMaybe<StatusChangeFilter>;
|
|
1893
1894
|
};
|
|
1895
|
+
export type QueryStatusInsightsArgs = {
|
|
1896
|
+
input: StatusInsightsInput;
|
|
1897
|
+
};
|
|
1894
1898
|
export type QueryUsersArgs = {
|
|
1895
1899
|
filter?: InputMaybe<UserFilter>;
|
|
1896
1900
|
};
|
|
@@ -2327,6 +2331,29 @@ export type StatusChangeTransitionPermissionFilter = {
|
|
|
2327
2331
|
workplace_id_null?: InputMaybe<Scalars['String']['input']>;
|
|
2328
2332
|
workplace_id_start?: InputMaybe<Scalars['String']['input']>;
|
|
2329
2333
|
};
|
|
2334
|
+
export declare enum StatusInsightsAggregation {
|
|
2335
|
+
Daily = "DAILY",
|
|
2336
|
+
Hourly = "HOURLY",
|
|
2337
|
+
Monthly = "MONTHLY"
|
|
2338
|
+
}
|
|
2339
|
+
export type StatusInsightsEntry = {
|
|
2340
|
+
__typename?: 'StatusInsightsEntry';
|
|
2341
|
+
averageDurationMinutes: Scalars['Float']['output'];
|
|
2342
|
+
label: Scalars['String']['output'];
|
|
2343
|
+
occurrenceCount: Scalars['Int']['output'];
|
|
2344
|
+
};
|
|
2345
|
+
export type StatusInsightsInput = {
|
|
2346
|
+
aggregation: StatusInsightsAggregation;
|
|
2347
|
+
dateFrom: Scalars['ISO8601DateTime']['input'];
|
|
2348
|
+
dateTo: Scalars['ISO8601DateTime']['input'];
|
|
2349
|
+
dayType: DayType;
|
|
2350
|
+
reasonId: Scalars['ID']['input'];
|
|
2351
|
+
shiftIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2352
|
+
};
|
|
2353
|
+
export type StatusInsightsResult = {
|
|
2354
|
+
__typename?: 'StatusInsightsResult';
|
|
2355
|
+
entries: Array<StatusInsightsEntry>;
|
|
2356
|
+
};
|
|
2330
2357
|
export declare enum StatusScreenDisplayBlocksEnum {
|
|
2331
2358
|
Kpi = "KPI",
|
|
2332
2359
|
Livetime = "LIVETIME",
|
|
@@ -6685,6 +6712,21 @@ export type StatusChangesQuery = {
|
|
|
6685
6712
|
};
|
|
6686
6713
|
}>;
|
|
6687
6714
|
};
|
|
6715
|
+
export type StatusInsightsQueryVariables = Exact<{
|
|
6716
|
+
input: StatusInsightsInput;
|
|
6717
|
+
}>;
|
|
6718
|
+
export type StatusInsightsQuery = {
|
|
6719
|
+
__typename?: 'Query';
|
|
6720
|
+
statusInsights: {
|
|
6721
|
+
__typename?: 'StatusInsightsResult';
|
|
6722
|
+
entries: Array<{
|
|
6723
|
+
__typename?: 'StatusInsightsEntry';
|
|
6724
|
+
averageDurationMinutes: number;
|
|
6725
|
+
label: string;
|
|
6726
|
+
occurrenceCount: number;
|
|
6727
|
+
}>;
|
|
6728
|
+
};
|
|
6729
|
+
};
|
|
6688
6730
|
export type UsersQueryVariables = Exact<{
|
|
6689
6731
|
filter?: InputMaybe<UserFilter>;
|
|
6690
6732
|
}>;
|
|
@@ -7758,6 +7800,7 @@ export declare const StaffingPlansDocument: import("graphql/language/ast").Docum
|
|
|
7758
7800
|
export declare const StandardRatesDocument: import("graphql/language/ast").DocumentNode;
|
|
7759
7801
|
export declare const StatusChangeTransitionPermissionsDocument: import("graphql/language/ast").DocumentNode;
|
|
7760
7802
|
export declare const StatusChangesDocument: import("graphql/language/ast").DocumentNode;
|
|
7803
|
+
export declare const StatusInsightsDocument: import("graphql/language/ast").DocumentNode;
|
|
7761
7804
|
export declare const UsersDocument: import("graphql/language/ast").DocumentNode;
|
|
7762
7805
|
export declare const UsersPresencesDocument: import("graphql/language/ast").DocumentNode;
|
|
7763
7806
|
export declare const WidgetDocument: import("graphql/language/ast").DocumentNode;
|
|
@@ -7832,6 +7875,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
7832
7875
|
standardRates(variables: StandardRatesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<StandardRatesQuery>;
|
|
7833
7876
|
statusChangeTransitionPermissions(variables?: StatusChangeTransitionPermissionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<StatusChangeTransitionPermissionsQuery>;
|
|
7834
7877
|
statusChanges(variables?: StatusChangesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<StatusChangesQuery>;
|
|
7878
|
+
statusInsights(variables: StatusInsightsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<StatusInsightsQuery>;
|
|
7835
7879
|
users(variables?: UsersQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UsersQuery>;
|
|
7836
7880
|
usersPresences(variables?: UsersPresencesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UsersPresencesQuery>;
|
|
7837
7881
|
widget(variables: WidgetQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<WidgetQuery>;
|