@trackunit/filters-graphql-hook 2.3.1 → 2.3.3
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
|
@@ -354,6 +354,8 @@ export declare const assetSortByProperty: {
|
|
|
354
354
|
readonly FUEL_LEVEL: "FUEL_LEVEL";
|
|
355
355
|
readonly ISSUE_CREATED_AT: "ISSUE_CREATED_AT";
|
|
356
356
|
readonly LAST_EVENT_TIME: "LAST_EVENT_TIME";
|
|
357
|
+
readonly LAST_INSPECTION_PERFORMED_AT: "LAST_INSPECTION_PERFORMED_AT";
|
|
358
|
+
readonly LAST_INSPECTION_STATUS: "LAST_INSPECTION_STATUS";
|
|
357
359
|
readonly LOCATION: "LOCATION";
|
|
358
360
|
readonly LOCATION_UPDATED_AT: "LOCATION_UPDATED_AT";
|
|
359
361
|
readonly MODEL: "MODEL";
|
|
@@ -458,6 +460,31 @@ export declare const geometryRelation: {
|
|
|
458
460
|
readonly WITHIN: "WITHIN";
|
|
459
461
|
};
|
|
460
462
|
export type GeometryRelation = (typeof geometryRelation)[keyof typeof geometryRelation];
|
|
463
|
+
export declare const inspectionLastPerformed: {
|
|
464
|
+
readonly EVER: "EVER";
|
|
465
|
+
readonly MORE_THAN_LAST_2_HOURS: "MORE_THAN_LAST_2_HOURS";
|
|
466
|
+
readonly MORE_THAN_LAST_7_DAYS: "MORE_THAN_LAST_7_DAYS";
|
|
467
|
+
readonly MORE_THAN_LAST_8_HOURS: "MORE_THAN_LAST_8_HOURS";
|
|
468
|
+
readonly MORE_THAN_LAST_12_HOURS: "MORE_THAN_LAST_12_HOURS";
|
|
469
|
+
readonly MORE_THAN_LAST_24_HOURS: "MORE_THAN_LAST_24_HOURS";
|
|
470
|
+
readonly MORE_THAN_LAST_30_DAYS: "MORE_THAN_LAST_30_DAYS";
|
|
471
|
+
readonly MORE_THAN_LAST_HOUR: "MORE_THAN_LAST_HOUR";
|
|
472
|
+
readonly WITHIN_LAST_2_HOURS: "WITHIN_LAST_2_HOURS";
|
|
473
|
+
readonly WITHIN_LAST_7_DAYS: "WITHIN_LAST_7_DAYS";
|
|
474
|
+
readonly WITHIN_LAST_8_HOURS: "WITHIN_LAST_8_HOURS";
|
|
475
|
+
readonly WITHIN_LAST_12_HOURS: "WITHIN_LAST_12_HOURS";
|
|
476
|
+
readonly WITHIN_LAST_24_HOURS: "WITHIN_LAST_24_HOURS";
|
|
477
|
+
readonly WITHIN_LAST_30_DAYS: "WITHIN_LAST_30_DAYS";
|
|
478
|
+
readonly WITHIN_LAST_HOUR: "WITHIN_LAST_HOUR";
|
|
479
|
+
};
|
|
480
|
+
export type InspectionLastPerformed = (typeof inspectionLastPerformed)[keyof typeof inspectionLastPerformed];
|
|
481
|
+
export declare const inspectionResponseStatus: {
|
|
482
|
+
readonly FAILED_CRITICAL: "FAILED_CRITICAL";
|
|
483
|
+
readonly FAILED_LOW: "FAILED_LOW";
|
|
484
|
+
readonly PASSED: "PASSED";
|
|
485
|
+
readonly SKIPPED: "SKIPPED";
|
|
486
|
+
};
|
|
487
|
+
export type InspectionResponseStatus = (typeof inspectionResponseStatus)[keyof typeof inspectionResponseStatus];
|
|
461
488
|
export declare const metadataCompleteness: {
|
|
462
489
|
readonly COMPLETE: "COMPLETE";
|
|
463
490
|
readonly PARTIAL: "PARTIAL";
|
|
@@ -609,6 +636,8 @@ export type AssetFiltersInput = {
|
|
|
609
636
|
insights?: InputMaybe<Array<AssetInsightType>>;
|
|
610
637
|
/** Insights filters */
|
|
611
638
|
insightsFilters?: InputMaybe<InsightsFilters>;
|
|
639
|
+
/** Filter by the asset's most recent inspection (account specific) */
|
|
640
|
+
inspectionLastFilters?: InputMaybe<InspectionLastFilters>;
|
|
612
641
|
/** Filter by when was the asset last seen */
|
|
613
642
|
lastSeen?: InputMaybe<AssetLastSeen>;
|
|
614
643
|
/** Filter by PARTIAL or COMPLETE asset metadata information */
|
|
@@ -806,6 +835,14 @@ export type InsightsFilters = {
|
|
|
806
835
|
/** The asset's fuel level */
|
|
807
836
|
fuelLevel?: InputMaybe<NumberRange>;
|
|
808
837
|
};
|
|
838
|
+
export type InspectionLastFilters = {
|
|
839
|
+
/** Also match assets that have no last inspection (never inspected). */
|
|
840
|
+
includeNeverInspected?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
841
|
+
/** Filter by when the last inspection was performed, as a relative time bucket. Use `EVER` for assets inspected at any time; use `includeNeverInspected: true` for assets never inspected. */
|
|
842
|
+
performed?: InputMaybe<InspectionLastPerformed>;
|
|
843
|
+
/** Filter to assets whose last inspection status is any of these values. */
|
|
844
|
+
statuses?: InputMaybe<Array<InspectionResponseStatus>>;
|
|
845
|
+
};
|
|
809
846
|
export type NumberRange = {
|
|
810
847
|
/** max number */
|
|
811
848
|
max?: InputMaybe<Scalars["Float"]["input"]>;
|