@trackunit/filters-asset-filter-definitions 2.16.1 → 2.16.2
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/filters-asset-filter-definitions",
|
|
3
|
-
"version": "2.16.
|
|
3
|
+
"version": "2.16.2",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -12,24 +12,24 @@
|
|
|
12
12
|
"zod": "^3.25.76",
|
|
13
13
|
"string-ts": "^2.0.0",
|
|
14
14
|
"tailwind-merge": "^2.0.0",
|
|
15
|
-
"@trackunit/iris-app-build-utilities": "2.4.
|
|
16
|
-
"@trackunit/filters-filter-bar": "2.6.
|
|
17
|
-
"@trackunit/react-core-hooks": "1.21.
|
|
18
|
-
"@trackunit/react-filter-components": "2.6.
|
|
19
|
-
"@trackunit/react-form-components": "2.6.
|
|
20
|
-
"@trackunit/filters-graphql-hook": "2.15.
|
|
21
|
-
"@trackunit/utilization-indicator": "2.6.
|
|
22
|
-
"@trackunit/geo-json-utils": "1.15.
|
|
23
|
-
"@trackunit/react-components": "2.13.
|
|
24
|
-
"@trackunit/shared-utils": "1.16.
|
|
25
|
-
"@trackunit/translations-machine-type": "2.4.
|
|
26
|
-
"@trackunit/criticality-indicator": "2.6.
|
|
27
|
-
"@trackunit/iris-app-api": "2.4.
|
|
28
|
-
"@trackunit/react-core-contexts-test": "1.18.
|
|
29
|
-
"@trackunit/i18n-library-translation": "2.4.
|
|
30
|
-
"@trackunit/iris-app-runtime-core-api": "1.17.
|
|
31
|
-
"@trackunit/react-graphql-hooks": "2.6.
|
|
32
|
-
"@trackunit/translations-device": "1.14.
|
|
15
|
+
"@trackunit/iris-app-build-utilities": "2.4.50",
|
|
16
|
+
"@trackunit/filters-filter-bar": "2.6.63",
|
|
17
|
+
"@trackunit/react-core-hooks": "1.21.54",
|
|
18
|
+
"@trackunit/react-filter-components": "2.6.62",
|
|
19
|
+
"@trackunit/react-form-components": "2.6.62",
|
|
20
|
+
"@trackunit/filters-graphql-hook": "2.15.2",
|
|
21
|
+
"@trackunit/utilization-indicator": "2.6.61",
|
|
22
|
+
"@trackunit/geo-json-utils": "1.15.42",
|
|
23
|
+
"@trackunit/react-components": "2.13.14",
|
|
24
|
+
"@trackunit/shared-utils": "1.16.45",
|
|
25
|
+
"@trackunit/translations-machine-type": "2.4.64",
|
|
26
|
+
"@trackunit/criticality-indicator": "2.6.60",
|
|
27
|
+
"@trackunit/iris-app-api": "2.4.41",
|
|
28
|
+
"@trackunit/react-core-contexts-test": "1.18.54",
|
|
29
|
+
"@trackunit/i18n-library-translation": "2.4.54",
|
|
30
|
+
"@trackunit/iris-app-runtime-core-api": "1.17.54",
|
|
31
|
+
"@trackunit/react-graphql-hooks": "2.6.60",
|
|
32
|
+
"@trackunit/translations-device": "1.14.2"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"@apollo/client": "^3.13.8",
|
|
@@ -510,6 +510,13 @@ export declare const systemOfMeasurement: {
|
|
|
510
510
|
readonly US_CUSTOMARY: "US_CUSTOMARY";
|
|
511
511
|
};
|
|
512
512
|
export type SystemOfMeasurement = (typeof systemOfMeasurement)[keyof typeof systemOfMeasurement];
|
|
513
|
+
export declare const telematicsDeviceSerialNumberPrefixMatch: {
|
|
514
|
+
readonly ALL_MATCH: "ALL_MATCH";
|
|
515
|
+
readonly ANY_MATCH: "ANY_MATCH";
|
|
516
|
+
readonly NOT_ALL_MATCH: "NOT_ALL_MATCH";
|
|
517
|
+
readonly NO_MATCH: "NO_MATCH";
|
|
518
|
+
};
|
|
519
|
+
export type TelematicsDeviceSerialNumberPrefixMatch = (typeof telematicsDeviceSerialNumberPrefixMatch)[keyof typeof telematicsDeviceSerialNumberPrefixMatch];
|
|
513
520
|
export type AggregatedNumberRange = {
|
|
514
521
|
/** The period of the aggregated number range */
|
|
515
522
|
period: AggregationPeriod;
|
|
@@ -715,6 +722,14 @@ export type AssetFiltersInput = {
|
|
|
715
722
|
systemOfMeasurement?: InputMaybe<SystemOfMeasurement>;
|
|
716
723
|
/** Filter by if the asset is connected */
|
|
717
724
|
telematicsDeviceIsConnected?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
725
|
+
/**
|
|
726
|
+
* Filter assets by prefixes of their telematics device serial numbers.
|
|
727
|
+
* The match mode is evaluated across all telematics devices attached to an
|
|
728
|
+
* asset. A device without a serial number is treated as non-matching.
|
|
729
|
+
* Matching is case-insensitive. Omit this field to disable the filter;
|
|
730
|
+
* an empty or blank `values` list is rejected.
|
|
731
|
+
*/
|
|
732
|
+
telematicsDeviceSerialNumberPrefixes?: InputMaybe<TelematicsDeviceSerialNumberPrefixes>;
|
|
718
733
|
/** List of telematics device serial numbers */
|
|
719
734
|
telematicsDeviceSerialNumbers?: InputMaybe<Array<Scalars["String"]["input"]>>;
|
|
720
735
|
/** List of types (also known as subtypes) */
|
|
@@ -869,6 +884,18 @@ export type RentalActiveContractFilters = {
|
|
|
869
884
|
/** Filter by rental active contract item on rent dates date range */
|
|
870
885
|
onRentDatesDateRange?: InputMaybe<DateTimeRange>;
|
|
871
886
|
};
|
|
887
|
+
export type TelematicsDeviceSerialNumberPrefixes = {
|
|
888
|
+
/** How device matches are combined at asset level. */
|
|
889
|
+
deviceMatch: TelematicsDeviceSerialNumberPrefixMatch;
|
|
890
|
+
/**
|
|
891
|
+
* Prefixes to match. A device matches when its serial number starts with at
|
|
892
|
+
* least one value. Comparison is case-insensitive.
|
|
893
|
+
*
|
|
894
|
+
* Must contain at least one non-blank prefix. An empty list or a blank
|
|
895
|
+
* entry (`""`) is rejected.
|
|
896
|
+
*/
|
|
897
|
+
values: Array<Scalars["String"]["input"]>;
|
|
898
|
+
};
|
|
872
899
|
export type TelematicsDeviceCan1ProfileNamesQueryVariables = Exact<{
|
|
873
900
|
[key: string]: never;
|
|
874
901
|
}>;
|