@trackunit/filters-asset-filter-definitions 2.15.7 → 2.16.1
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.
|
|
3
|
+
"version": "2.16.1",
|
|
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.
|
|
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.
|
|
15
|
+
"@trackunit/iris-app-build-utilities": "2.4.49",
|
|
16
|
+
"@trackunit/filters-filter-bar": "2.6.62",
|
|
17
|
+
"@trackunit/react-core-hooks": "1.21.53",
|
|
18
|
+
"@trackunit/react-filter-components": "2.6.61",
|
|
19
|
+
"@trackunit/react-form-components": "2.6.61",
|
|
20
|
+
"@trackunit/filters-graphql-hook": "2.15.1",
|
|
21
|
+
"@trackunit/utilization-indicator": "2.6.60",
|
|
22
|
+
"@trackunit/geo-json-utils": "1.15.41",
|
|
23
|
+
"@trackunit/react-components": "2.13.13",
|
|
24
|
+
"@trackunit/shared-utils": "1.16.44",
|
|
25
|
+
"@trackunit/translations-machine-type": "2.4.63",
|
|
26
|
+
"@trackunit/criticality-indicator": "2.6.59",
|
|
27
|
+
"@trackunit/iris-app-api": "2.4.40",
|
|
28
|
+
"@trackunit/react-core-contexts-test": "1.18.53",
|
|
29
|
+
"@trackunit/i18n-library-translation": "2.4.53",
|
|
30
|
+
"@trackunit/iris-app-runtime-core-api": "1.17.53",
|
|
31
|
+
"@trackunit/react-graphql-hooks": "2.6.59",
|
|
32
|
+
"@trackunit/translations-device": "1.14.1"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"@apollo/client": "^3.13.8",
|
|
@@ -488,6 +488,13 @@ export declare const servicePlanStatus: {
|
|
|
488
488
|
readonly UPCOMING: "UPCOMING";
|
|
489
489
|
};
|
|
490
490
|
export type ServicePlanStatus = (typeof servicePlanStatus)[keyof typeof servicePlanStatus];
|
|
491
|
+
export declare const shareState: {
|
|
492
|
+
readonly NOT_SHARED: "NOT_SHARED";
|
|
493
|
+
readonly SHARED: "SHARED";
|
|
494
|
+
readonly SHARE_PENDING: "SHARE_PENDING";
|
|
495
|
+
readonly UNSHARE_PENDING: "UNSHARE_PENDING";
|
|
496
|
+
};
|
|
497
|
+
export type ShareState = (typeof shareState)[keyof typeof shareState];
|
|
491
498
|
export declare const siteTypeSFS: {
|
|
492
499
|
readonly AREA: "AREA";
|
|
493
500
|
readonly CLASSIC_POI: "CLASSIC_POI";
|
|
@@ -531,6 +538,14 @@ export type AssetFiltersInput = {
|
|
|
531
538
|
assetIds?: InputMaybe<Array<Scalars["ID"]["input"]>>;
|
|
532
539
|
/** List of asset types */
|
|
533
540
|
assetTypes?: InputMaybe<Array<AssetType>>;
|
|
541
|
+
/**
|
|
542
|
+
* Filter by what the calling account's auto-share agreement with a partner does with the asset.
|
|
543
|
+
*
|
|
544
|
+
* Uses the same `ShareState` values as `Asset.assetAutoShare.targets.shareState`. An asset the
|
|
545
|
+
* agreement does not track has no state and is not selected by `states`; `excludedStates` keeps those
|
|
546
|
+
* assets because they have none of the named values.
|
|
547
|
+
*/
|
|
548
|
+
autoShare?: InputMaybe<AutoShareFilters>;
|
|
534
549
|
/**
|
|
535
550
|
* Filter by bounding box
|
|
536
551
|
* @deprecated Use geometry filter instead
|
|
@@ -543,9 +558,17 @@ export type AssetFiltersInput = {
|
|
|
543
558
|
boundingShape?: InputMaybe<BoundingShapeInput>;
|
|
544
559
|
/** Filter to only include this list of brands */
|
|
545
560
|
brands?: InputMaybe<Array<Scalars["String"]["input"]>>;
|
|
546
|
-
/**
|
|
561
|
+
/**
|
|
562
|
+
* Filter by reported CAN profile 1 values.
|
|
563
|
+
* Pass `UNDEFINED` to match assets that report no value, i.e. the bucket counted by
|
|
564
|
+
* the facet's `SummaryConnection.missing`.
|
|
565
|
+
*/
|
|
547
566
|
can1Profile?: InputMaybe<Array<Scalars["String"]["input"]>>;
|
|
548
|
-
/**
|
|
567
|
+
/**
|
|
568
|
+
* Filter by reported CAN profile 2 values.
|
|
569
|
+
* Pass `UNDEFINED` to match assets that report no value, i.e. the bucket counted by
|
|
570
|
+
* the facet's `SummaryConnection.missing`.
|
|
571
|
+
*/
|
|
549
572
|
can2Profile?: InputMaybe<Array<Scalars["String"]["input"]>>;
|
|
550
573
|
/** Filter by the category of the accessories an asset reports */
|
|
551
574
|
connectedAccessoryCategories?: InputMaybe<Array<ConnectedAccessoryCategory>>;
|
|
@@ -585,7 +608,11 @@ export type AssetFiltersInput = {
|
|
|
585
608
|
digitalKeyModes?: InputMaybe<Array<DigitalKeyMode>>;
|
|
586
609
|
/** List of external references */
|
|
587
610
|
externalReferences?: InputMaybe<Array<Scalars["String"]["input"]>>;
|
|
588
|
-
/**
|
|
611
|
+
/**
|
|
612
|
+
* Filter by reported firmware versions.
|
|
613
|
+
* Pass `UNDEFINED` to match assets that report no value, i.e. the bucket counted by
|
|
614
|
+
* the facet's `SummaryConnection.missing`.
|
|
615
|
+
*/
|
|
589
616
|
firmwareVersion?: InputMaybe<Array<Scalars["String"]["input"]>>;
|
|
590
617
|
/** Filter by if the asset is followed */
|
|
591
618
|
followed?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
@@ -612,7 +639,11 @@ export type AssetFiltersInput = {
|
|
|
612
639
|
lastSeen?: InputMaybe<AssetLastSeen>;
|
|
613
640
|
/** Filter by PARTIAL or COMPLETE asset metadata information */
|
|
614
641
|
metadataCompleteness?: InputMaybe<MetadataCompleteness>;
|
|
615
|
-
/**
|
|
642
|
+
/**
|
|
643
|
+
* Filter by reported Modbus profile values.
|
|
644
|
+
* Pass `UNDEFINED` to match assets that report no value, i.e. the bucket counted by
|
|
645
|
+
* the facet's `SummaryConnection.missing`.
|
|
646
|
+
*/
|
|
616
647
|
modbusProfile?: InputMaybe<Array<Scalars["String"]["input"]>>;
|
|
617
648
|
/** List of models */
|
|
618
649
|
models?: InputMaybe<Array<Scalars["String"]["input"]>>;
|
|
@@ -689,6 +720,23 @@ export type AssetFiltersInput = {
|
|
|
689
720
|
/** List of types (also known as subtypes) */
|
|
690
721
|
types?: InputMaybe<Array<Scalars["String"]["input"]>>;
|
|
691
722
|
};
|
|
723
|
+
export type AutoShareFilters = {
|
|
724
|
+
/**
|
|
725
|
+
* Keep assets whose share state with the target is none of these. Assets the agreement does not track are
|
|
726
|
+
* kept too, because an asset with no state has none of the named ones.
|
|
727
|
+
*/
|
|
728
|
+
excludedStates?: InputMaybe<Array<ShareState>>;
|
|
729
|
+
/**
|
|
730
|
+
* Keep assets whose share state with the target is one of these. Assets the agreement does not track are
|
|
731
|
+
* not kept, because they have no state.
|
|
732
|
+
*/
|
|
733
|
+
states?: InputMaybe<Array<ShareState>>;
|
|
734
|
+
/**
|
|
735
|
+
* The partner account the agreement shares with. Together with the calling account this identifies the
|
|
736
|
+
* agreement, since an account holds at most one live agreement per partner.
|
|
737
|
+
*/
|
|
738
|
+
targetAccountId: Scalars["ID"]["input"];
|
|
739
|
+
};
|
|
692
740
|
export type BoundingBoxInput = {
|
|
693
741
|
/** The coordinates for the North/West values of the bounding box. */
|
|
694
742
|
nw: CoordinatesInput;
|