@trackunit/filters-graphql-hook 1.21.31 → 1.23.6

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/index.cjs.js CHANGED
@@ -504,6 +504,7 @@ const useActiveAssetFilters = (filters) => {
504
504
  return fixTypes(hasSubFilters ? [fleetDataHealthIssueState.OPEN] : undefined, fleetDataHealthIssueState);
505
505
  })(),
506
506
  fleetHealthDeviceStatuses: fixTypes(valueNameArrayOrUndefined(filters.fleetHealthStatus), fleetDataHealthDeviceStatus),
507
+ deviceTypes: valueNameArrayOrUndefined(filters.deviceTypes),
507
508
  sustainabilityExcluded: valueBooleanOrUndefined(filters.assetVisibility),
508
509
  accessManagementDesiredModes: fixTypes(filters.accessManagementMode, accessManagementMode),
509
510
  insightsFilters: {
package/index.esm.js CHANGED
@@ -502,6 +502,7 @@ const useActiveAssetFilters = (filters) => {
502
502
  return fixTypes(hasSubFilters ? [fleetDataHealthIssueState.OPEN] : undefined, fleetDataHealthIssueState);
503
503
  })(),
504
504
  fleetHealthDeviceStatuses: fixTypes(valueNameArrayOrUndefined(filters.fleetHealthStatus), fleetDataHealthDeviceStatus),
505
+ deviceTypes: valueNameArrayOrUndefined(filters.deviceTypes),
505
506
  sustainabilityExcluded: valueBooleanOrUndefined(filters.assetVisibility),
506
507
  accessManagementDesiredModes: fixTypes(filters.accessManagementMode, accessManagementMode),
507
508
  insightsFilters: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/filters-graphql-hook",
3
- "version": "1.21.31",
3
+ "version": "1.23.6",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -10,14 +10,14 @@
10
10
  "@graphql-codegen/cli": "^5.0.3",
11
11
  "@graphql-typed-document-node/core": "^3.2.0",
12
12
  "zod": "^3.23.8",
13
- "@trackunit/iris-app-build-utilities": "1.13.25",
14
- "@trackunit/filters-filter-bar": "1.18.30",
15
- "@trackunit/shared-utils": "1.13.89",
16
- "@trackunit/iris-app-api": "1.15.23",
17
- "@trackunit/react-core-contexts-test": "1.14.17",
18
- "@trackunit/i18n-library-translation": "1.15.20",
19
- "@trackunit/iris-app-runtime-core-api": "1.13.15",
20
- "@trackunit/react-core-hooks": "1.14.17"
13
+ "@trackunit/iris-app-build-utilities": "1.14.3",
14
+ "@trackunit/filters-filter-bar": "1.20.6",
15
+ "@trackunit/shared-utils": "1.13.91",
16
+ "@trackunit/iris-app-api": "1.16.3",
17
+ "@trackunit/react-core-contexts-test": "1.15.4",
18
+ "@trackunit/i18n-library-translation": "1.17.4",
19
+ "@trackunit/iris-app-runtime-core-api": "1.14.3",
20
+ "@trackunit/react-core-hooks": "1.15.4"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "react": "^19.0.0",
@@ -541,6 +541,8 @@ export type AssetFiltersInput = {
541
541
  customerIds?: InputMaybe<Array<Scalars["ID"]["input"]>>;
542
542
  /** List of customer types */
543
543
  customerTypes?: InputMaybe<Array<CustomerTypeSFS>>;
544
+ /** Filter by telematics device types */
545
+ deviceTypes?: InputMaybe<Array<Scalars["String"]["input"]>>;
544
546
  /**
545
547
  * Digital key mode of the asset
546
548
  * @deprecated Use accessManagementDesiredModes instead
@@ -734,9 +736,9 @@ export type InsightsFilters = {
734
736
  cumulativeOperatingHours?: InputMaybe<AggregatedNumberRange>;
735
737
  /** Cumulative productive hours of the asset (hours). */
736
738
  cumulativeProductiveHours?: InputMaybe<AggregatedNumberRange>;
737
- /** Engine total fuel used of the asset (hours). */
739
+ /** Engine total fuel used of the asset (liters). */
738
740
  engineTotalFuelUsed?: InputMaybe<AggregatedNumberRange>;
739
- /** The engine's total idle hours */
741
+ /** Engine total idle fuel used of the asset (liters). */
740
742
  engineTotalIdleFuelUsed?: InputMaybe<AggregatedNumberRange>;
741
743
  /** The asset's fuel level */
742
744
  fuelLevel?: InputMaybe<NumberRange>;