@trackunit/filters-asset-filter-definitions 0.0.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.
Files changed (73) hide show
  1. package/README.md +22 -0
  2. package/index.cjs.d.ts +1 -0
  3. package/index.cjs.js +9443 -0
  4. package/index.esm.js +9394 -0
  5. package/package.json +12 -0
  6. package/src/FilterEvents.d.ts +4 -0
  7. package/src/defaultFilters/defaults/ActivityFilter.d.ts +18 -0
  8. package/src/defaultFilters/defaults/AssetIdsFilter.d.ts +7 -0
  9. package/src/defaultFilters/defaults/AssetTypeFilter.d.ts +27 -0
  10. package/src/defaultFilters/defaults/BoundingBoxFilter.d.ts +11 -0
  11. package/src/defaultFilters/defaults/BrandFilter.d.ts +7 -0
  12. package/src/defaultFilters/defaults/CriticalityFilter.d.ts +7 -0
  13. package/src/defaultFilters/defaults/FollowedFilter.d.ts +5 -0
  14. package/src/defaultFilters/defaults/GroupIdsFilter.d.ts +7 -0
  15. package/src/defaultFilters/defaults/HourIntervalFilter.d.ts +7 -0
  16. package/src/defaultFilters/defaults/LastSeenFilter.d.ts +13 -0
  17. package/src/defaultFilters/defaults/ModelsFilter.d.ts +5 -0
  18. package/src/defaultFilters/defaults/OwnerAccountIdsFilter.d.ts +7 -0
  19. package/src/defaultFilters/defaults/PartnerFilter.d.ts +7 -0
  20. package/src/defaultFilters/defaults/PeriodFilter.d.ts +11 -0
  21. package/src/defaultFilters/defaults/ProductionYearFilter.d.ts +7 -0
  22. package/src/defaultFilters/defaults/SearchFilter.d.ts +7 -0
  23. package/src/defaultFilters/defaults/SiteIdsFilter.d.ts +11 -0
  24. package/src/defaultFilters/defaults/SiteStatusFilter.d.ts +19 -0
  25. package/src/defaultFilters/defaults/SiteTypeFilter.d.ts +39 -0
  26. package/src/defaultFilters/defaults/TypesFilter.d.ts +7 -0
  27. package/src/defaultFilters/defaults/asset/AssetKeyTypeFilter.d.ts +7 -0
  28. package/src/defaultFilters/defaults/index.d.ts +20 -0
  29. package/src/defaultFilters/defaults/refetchQueries.d.ts +1 -0
  30. package/src/generated/graphql-api/fragment-masking.d.ts +15 -0
  31. package/src/generated/graphql-api/gql.d.ts +36 -0
  32. package/src/generated/graphql-api/graphql.d.ts +677 -0
  33. package/src/generated/graphql-api/index.d.ts +2 -0
  34. package/src/generated/graphql-api/mock.d.ts +50 -0
  35. package/src/hooks/mockModel.d.ts +12 -0
  36. package/src/hooks/useDefaultAssetFilterBarDefinition.d.ts +26 -0
  37. package/src/hooks/useSetFilterStateFromUrl.d.ts +13 -0
  38. package/src/index.d.ts +3 -0
  39. package/src/translation.d.ts +34 -0
  40. package/translation.cjs.js +203 -0
  41. package/translation.cjs10.js +203 -0
  42. package/translation.cjs11.js +203 -0
  43. package/translation.cjs12.js +203 -0
  44. package/translation.cjs13.js +203 -0
  45. package/translation.cjs14.js +203 -0
  46. package/translation.cjs15.js +203 -0
  47. package/translation.cjs16.js +203 -0
  48. package/translation.cjs17.js +203 -0
  49. package/translation.cjs2.js +203 -0
  50. package/translation.cjs3.js +203 -0
  51. package/translation.cjs4.js +203 -0
  52. package/translation.cjs5.js +203 -0
  53. package/translation.cjs6.js +203 -0
  54. package/translation.cjs7.js +203 -0
  55. package/translation.cjs8.js +203 -0
  56. package/translation.cjs9.js +203 -0
  57. package/translation.esm.js +201 -0
  58. package/translation.esm10.js +201 -0
  59. package/translation.esm11.js +201 -0
  60. package/translation.esm12.js +201 -0
  61. package/translation.esm13.js +201 -0
  62. package/translation.esm14.js +201 -0
  63. package/translation.esm15.js +201 -0
  64. package/translation.esm16.js +201 -0
  65. package/translation.esm17.js +201 -0
  66. package/translation.esm2.js +201 -0
  67. package/translation.esm3.js +201 -0
  68. package/translation.esm4.js +201 -0
  69. package/translation.esm5.js +201 -0
  70. package/translation.esm6.js +201 -0
  71. package/translation.esm7.js +201 -0
  72. package/translation.esm8.js +201 -0
  73. package/translation.esm9.js +201 -0
@@ -0,0 +1,677 @@
1
+ import { TypedDocumentNode as DocumentNode } from "@graphql-typed-document-node/core";
2
+ import type { PublicIrisAppManifest } from "@trackunit/iris-app-api";
3
+ export type Maybe<T> = T | null;
4
+ export type InputMaybe<T> = Maybe<T>;
5
+ export type Exact<T extends {
6
+ [key: string]: unknown;
7
+ }> = {
8
+ [K in keyof T]: T[K];
9
+ };
10
+ export type Incremental<T> = T | {
11
+ [P in keyof T]?: P extends " $fragmentName" | "__typename" ? T[P] : never;
12
+ };
13
+ export type DateTimeISOString = string;
14
+ /** All built-in and custom scalars, mapped to their actual values */
15
+ export type Scalars = {
16
+ ID: {
17
+ input: string;
18
+ output: string;
19
+ };
20
+ String: {
21
+ input: string;
22
+ output: string;
23
+ };
24
+ Boolean: {
25
+ input: boolean;
26
+ output: boolean;
27
+ };
28
+ Int: {
29
+ input: number;
30
+ output: number;
31
+ };
32
+ Float: {
33
+ input: number;
34
+ output: number;
35
+ };
36
+ /** Cursor scalar. */
37
+ Cursor: {
38
+ input: string;
39
+ output: string;
40
+ };
41
+ /** The javascript `Date` as string. Type represents date and time as the ISO Date string. */
42
+ DateTime: {
43
+ input: DateTimeISOString;
44
+ output: DateTimeISOString;
45
+ };
46
+ /** Duration represents an ISO 8601 duration */
47
+ Duration: {
48
+ input: any;
49
+ output: any;
50
+ };
51
+ /** A (possiblely multidimensional) set of coordinates following x, y, z order. */
52
+ GeoJSONCoordinates: {
53
+ input: number[] | number[][];
54
+ output: number[] | number[][];
55
+ };
56
+ /** Raw JSON object structure, not serialized to string */
57
+ JSON: {
58
+ input: any;
59
+ output: any;
60
+ };
61
+ /** Javascript `Long`. Type represents a 64 bit integer. */
62
+ Long: {
63
+ input: any;
64
+ output: any;
65
+ };
66
+ /** The `PublicIrisAppManifest` scalar type represents an Iris App Manifest as JSON */
67
+ PublicIrisAppManifest: {
68
+ input: PublicIrisAppManifest;
69
+ output: PublicIrisAppManifest;
70
+ };
71
+ /** The `Upload` scalar type represents a file upload. */
72
+ Upload: {
73
+ input: any;
74
+ output: any;
75
+ };
76
+ };
77
+ export declare const assetActivityState: {
78
+ readonly Idling: "IDLING";
79
+ readonly Stopped: "STOPPED";
80
+ readonly Unknown: "UNKNOWN";
81
+ readonly Working: "WORKING";
82
+ };
83
+ export type AssetActivityState = (typeof assetActivityState)[keyof typeof assetActivityState];
84
+ export declare const assetCriticalityState: {
85
+ readonly Critical: "CRITICAL";
86
+ readonly Low: "LOW";
87
+ readonly None: "NONE";
88
+ };
89
+ export type AssetCriticalityState = (typeof assetCriticalityState)[keyof typeof assetCriticalityState];
90
+ /** Asset filters input */
91
+ export type AssetFiltersInput = {
92
+ /** List of activities */
93
+ activities?: InputMaybe<Array<AssetActivityState>>;
94
+ /** A list of asset ID's to do a bulk lookup for. */
95
+ assetIds?: InputMaybe<Array<Scalars["String"]["input"]>>;
96
+ /** List of asset types */
97
+ assetTypes?: InputMaybe<Array<AssetType>>;
98
+ /** Filter by bounding box */
99
+ boundingBox?: InputMaybe<BoundingBoxInput>;
100
+ /** Filter by bounding shape */
101
+ boundingShape?: InputMaybe<BoundingShapeInput>;
102
+ /** Filter to only include this list of brands */
103
+ brands?: InputMaybe<Array<Scalars["String"]["input"]>>;
104
+ /** List of criticalities */
105
+ criticalities?: InputMaybe<Array<AssetCriticalityState>>;
106
+ /** List of custom fields to filter by */
107
+ customFields?: InputMaybe<Array<CustomFieldFilter>>;
108
+ /** Digital key mode of the asset */
109
+ digitalKeyModes?: InputMaybe<Array<DigitalKeyMode>>;
110
+ /** List of external references */
111
+ externalReferences?: InputMaybe<Array<Scalars["String"]["input"]>>;
112
+ /** Filter by if the asset is followed */
113
+ followed?: InputMaybe<Scalars["Boolean"]["input"]>;
114
+ /** Filter by global group. */
115
+ globalGroup?: InputMaybe<Scalars["String"]["input"]>;
116
+ /** Filter by groups */
117
+ groups?: InputMaybe<Array<Scalars["String"]["input"]>>;
118
+ /** Filter by when was the asset last seen */
119
+ lastSeen?: InputMaybe<AssetLastSeen>;
120
+ /** Filter by if the asset have PARTIAL or COMPLETE metadata information */
121
+ metadataCompleteness?: InputMaybe<MetadataCompleteness>;
122
+ /** List of models */
123
+ models?: InputMaybe<Array<Scalars["String"]["input"]>>;
124
+ /** List of owner account ids */
125
+ ownerAccountIds?: InputMaybe<Array<Scalars["String"]["input"]>>;
126
+ /** List of owner account names */
127
+ ownerAccountNames?: InputMaybe<Array<Scalars["String"]["input"]>>;
128
+ /** Filter by partner ID */
129
+ partnerId?: InputMaybe<Scalars["String"]["input"]>;
130
+ /** List of production years */
131
+ productionYears?: InputMaybe<Array<Scalars["String"]["input"]>>;
132
+ /** List of rental customer names */
133
+ rentalCustomerName?: InputMaybe<Array<Scalars["String"]["input"]>>;
134
+ /** List of rental statuses */
135
+ rentalStatus?: InputMaybe<Array<RentalStatus>>;
136
+ /** A string that could match a property of an asset within your fleet */
137
+ searchQuery?: InputMaybe<Scalars["String"]["input"]>;
138
+ /** List of serial numbers */
139
+ serialNumbers?: InputMaybe<Array<Scalars["String"]["input"]>>;
140
+ /** List of service plan assignments */
141
+ servicePlanAssignments?: InputMaybe<Array<ServicePlanStatus>>;
142
+ /** List of service plan IDs */
143
+ servicePlanIds?: InputMaybe<Array<Scalars["String"]["input"]>>;
144
+ /** List of service plan statuses */
145
+ servicePlanStatuses?: InputMaybe<Array<ServicePlanStatus>>;
146
+ /** List of service provider IDs */
147
+ serviceProviderIds?: InputMaybe<Array<Scalars["String"]["input"]>>;
148
+ /** List of siteIds */
149
+ siteIds?: InputMaybe<Array<Scalars["String"]["input"]>>;
150
+ /** List of site types */
151
+ siteTypes?: InputMaybe<Array<SiteTypeSfs>>;
152
+ /** The measurement system used for unit conversion of filters. */
153
+ systemOfMeasurement?: InputMaybe<SystemOfMeasurement>;
154
+ /** List of telematics device serial numbers */
155
+ telematicsDeviceSerialNumbers?: InputMaybe<Array<Scalars["String"]["input"]>>;
156
+ /** List of types (also known as subtypes) */
157
+ types?: InputMaybe<Array<Scalars["String"]["input"]>>;
158
+ };
159
+ export declare const assetLastSeen: {
160
+ readonly Last_7Days: "LAST_7_DAYS";
161
+ readonly Last_24Hours: "LAST_24_HOURS";
162
+ readonly Last_30Days: "LAST_30_DAYS";
163
+ readonly LastHour: "LAST_HOUR";
164
+ readonly OlderThan_30Days: "OLDER_THAN_30_DAYS";
165
+ };
166
+ export type AssetLastSeen = (typeof assetLastSeen)[keyof typeof assetLastSeen];
167
+ export declare const assetType: {
168
+ readonly Attachment: "ATTACHMENT";
169
+ readonly Equipment: "EQUIPMENT";
170
+ readonly Gateway: "GATEWAY";
171
+ readonly Machine: "MACHINE";
172
+ readonly Other: "OTHER";
173
+ readonly Tool: "TOOL";
174
+ };
175
+ export type AssetType = (typeof assetType)[keyof typeof assetType];
176
+ /** Bounding box input. */
177
+ export type BoundingBoxInput = {
178
+ /** The coordinates for the North/West values of the bounding box. */
179
+ nw: CoordinatesInput;
180
+ /** The coordinates for the South/East values of the bounding box. */
181
+ se: CoordinatesInput;
182
+ /** The zoom level from which the bound box spans. */
183
+ zoom?: InputMaybe<Scalars["Float"]["input"]>;
184
+ };
185
+ /** Bounding shape input. */
186
+ export type BoundingShapeInput = {
187
+ /** Points of coordinates for the bounding shape. */
188
+ points: Array<CoordinatesInput>;
189
+ };
190
+ /** Coordinates input */
191
+ export type CoordinatesInput = {
192
+ /** The latitude of the coordinate. */
193
+ latitude: Scalars["Float"]["input"];
194
+ /** The longitude of the coordinate. */
195
+ longitude: Scalars["Float"]["input"];
196
+ };
197
+ /** Custom field date range */
198
+ export type CustomFieldDateRange = {
199
+ /** The first date to include. */
200
+ from?: InputMaybe<Scalars["String"]["input"]>;
201
+ /** The last date to include. */
202
+ to?: InputMaybe<Scalars["String"]["input"]>;
203
+ };
204
+ /** Filter by custom field value */
205
+ export type CustomFieldFilter = {
206
+ /** The boolean value of the custom field value input. */
207
+ booleanValue?: InputMaybe<Scalars["Boolean"]["input"]>;
208
+ /** The date value of the custom field value input. */
209
+ dateRange?: InputMaybe<CustomFieldDateRange>;
210
+ /** The definition ID of the custom field value input. */
211
+ definitionId?: InputMaybe<Scalars["ID"]["input"]>;
212
+ /** The definition key of the custom field value input. */
213
+ definitionKey?: InputMaybe<Scalars["String"]["input"]>;
214
+ /** The number range of the custom field value input. */
215
+ numberRange?: InputMaybe<CustomFieldNumberRange>;
216
+ /** The owner of the custom field value input. */
217
+ owner?: InputMaybe<CustomFieldOwnerInput>;
218
+ /** The string array value of the custom field value input. */
219
+ stringArrayValue?: InputMaybe<Array<Scalars["String"]["input"]>>;
220
+ /** The string value of the custom field value input. */
221
+ stringValue?: InputMaybe<Scalars["String"]["input"]>;
222
+ };
223
+ /** Custom field number range */
224
+ export type CustomFieldNumberRange = {
225
+ /** The smallest number to include. */
226
+ from?: InputMaybe<Scalars["Float"]["input"]>;
227
+ /** The lagest number to include. */
228
+ to?: InputMaybe<Scalars["Float"]["input"]>;
229
+ };
230
+ /** Custom field owner input. */
231
+ export type CustomFieldOwnerInput = {
232
+ /** The account ID of the custom field owner input. */
233
+ accountId?: InputMaybe<Scalars["ID"]["input"]>;
234
+ /** The iris app ID of the custom field owner input. */
235
+ irisAppId?: InputMaybe<Scalars["String"]["input"]>;
236
+ /** The owner type of the custom field owner input. */
237
+ ownerType: CustomFieldOwnerType;
238
+ };
239
+ export declare const customFieldOwnerType: {
240
+ readonly Account: "ACCOUNT";
241
+ readonly IrisApp: "IRIS_APP";
242
+ readonly Trackunit: "TRACKUNIT";
243
+ };
244
+ export type CustomFieldOwnerType = (typeof customFieldOwnerType)[keyof typeof customFieldOwnerType];
245
+ export declare const digitalKeyMode: {
246
+ readonly Disabled: "DISABLED";
247
+ readonly LockedForAll: "LOCKED_FOR_ALL";
248
+ readonly NeverInitialized: "NEVER_INITIALIZED";
249
+ readonly Unknown: "UNKNOWN";
250
+ readonly UnlockedForAll: "UNLOCKED_FOR_ALL";
251
+ readonly UnlockedForAllFixed: "UNLOCKED_FOR_ALL_FIXED";
252
+ readonly UnlockedForKey: "UNLOCKED_FOR_KEY";
253
+ readonly UnlockedForKeyAndPin: "UNLOCKED_FOR_KEY_AND_PIN";
254
+ readonly UnlockedForPin: "UNLOCKED_FOR_PIN";
255
+ readonly Unsupported: "UNSUPPORTED";
256
+ };
257
+ export type DigitalKeyMode = (typeof digitalKeyMode)[keyof typeof digitalKeyMode];
258
+ export declare const metadataCompleteness: {
259
+ readonly Complete: "COMPLETE";
260
+ readonly Partial: "PARTIAL";
261
+ };
262
+ export type MetadataCompleteness = (typeof metadataCompleteness)[keyof typeof metadataCompleteness];
263
+ export declare const rentalStatus: {
264
+ readonly Available: "Available";
265
+ readonly InRepair: "InRepair";
266
+ readonly NotOnContract: "NotOnContract";
267
+ readonly OffRent: "OffRent";
268
+ readonly OnRent: "OnRent";
269
+ readonly Other: "Other";
270
+ readonly PickupReady: "PickupReady";
271
+ readonly Reserved: "Reserved";
272
+ readonly Returned: "Returned";
273
+ readonly Transfer: "Transfer";
274
+ };
275
+ export type RentalStatus = (typeof rentalStatus)[keyof typeof rentalStatus];
276
+ export declare const servicePlanStatus: {
277
+ readonly Complete: "COMPLETE";
278
+ readonly Draft: "DRAFT";
279
+ readonly FullyConfigured: "FULLY_CONFIGURED";
280
+ readonly HasPlan: "HAS_PLAN";
281
+ readonly HasServiceProvider: "HAS_SERVICE_PROVIDER";
282
+ readonly MissingPlan: "MISSING_PLAN";
283
+ readonly MissingProvider: "MISSING_PROVIDER";
284
+ readonly Overdue: "OVERDUE";
285
+ readonly Planned: "PLANNED";
286
+ readonly Unknown: "UNKNOWN";
287
+ readonly Upcoming: "UPCOMING";
288
+ };
289
+ export type ServicePlanStatus = (typeof servicePlanStatus)[keyof typeof servicePlanStatus];
290
+ export declare const siteTypeSfs: {
291
+ readonly Area: "AREA";
292
+ readonly ClassicPoi: "CLASSIC_POI";
293
+ readonly ClassicZone: "CLASSIC_ZONE";
294
+ readonly ConstructionSite: "CONSTRUCTION_SITE";
295
+ readonly Depot: "DEPOT";
296
+ readonly NotOnSite: "NOT_ON_SITE";
297
+ readonly WorkPlace: "WORK_PLACE";
298
+ };
299
+ export type SiteTypeSfs = (typeof siteTypeSfs)[keyof typeof siteTypeSfs];
300
+ export declare const systemOfMeasurement: {
301
+ readonly Si: "SI";
302
+ readonly UsCustomary: "US_CUSTOMARY";
303
+ };
304
+ export type SystemOfMeasurement = (typeof systemOfMeasurement)[keyof typeof systemOfMeasurement];
305
+ export type GetFleetAssetTypesSummaryQueryVariables = Exact<{
306
+ filters?: InputMaybe<AssetFiltersInput>;
307
+ }>;
308
+ export type GetFleetAssetTypesSummaryQuery = {
309
+ __typename?: "Query";
310
+ assetSummary?: {
311
+ __typename?: "AssetSummary";
312
+ assetTypes?: {
313
+ __typename?: "AssetTypesSummary";
314
+ total: number;
315
+ summary: {
316
+ __typename?: "AssetTypeSummary";
317
+ machines: number;
318
+ attachments: number;
319
+ equipments: number;
320
+ tools: number;
321
+ gateways: number;
322
+ others: number;
323
+ };
324
+ } | null;
325
+ } | null;
326
+ };
327
+ export type GetFleetSiteTypeSummaryQueryVariables = Exact<{
328
+ filters?: InputMaybe<AssetFiltersInput>;
329
+ }>;
330
+ export type GetFleetSiteTypeSummaryQuery = {
331
+ __typename?: "Query";
332
+ assetSummary?: {
333
+ __typename?: "AssetSummary";
334
+ siteTypes: {
335
+ __typename?: "SiteTypesSummary";
336
+ total: number;
337
+ summary: Array<{
338
+ __typename?: "SiteTypeSummary";
339
+ siteType?: SiteTypeSfs | null;
340
+ count: number;
341
+ }>;
342
+ };
343
+ } | null;
344
+ };
345
+ export type GetFleetGroupSummaryQueryVariables = Exact<{
346
+ filters?: InputMaybe<AssetFiltersInput>;
347
+ search?: InputMaybe<Scalars["String"]["input"]>;
348
+ limit: Scalars["Int"]["input"];
349
+ }>;
350
+ export type GetFleetGroupSummaryQuery = {
351
+ __typename?: "Query";
352
+ assetSummary?: {
353
+ __typename?: "AssetSummary";
354
+ groups?: {
355
+ __typename?: "GroupsSummary";
356
+ total: number;
357
+ summary: Array<{
358
+ __typename?: "GroupSummary";
359
+ count: number;
360
+ group?: {
361
+ __typename?: "Group";
362
+ id: string;
363
+ groupId: string;
364
+ name: string;
365
+ } | null;
366
+ }>;
367
+ } | null;
368
+ } | null;
369
+ };
370
+ export type GetFleetOwnerAccountSummaryQueryVariables = Exact<{
371
+ filters?: InputMaybe<AssetFiltersInput>;
372
+ search?: InputMaybe<Scalars["String"]["input"]>;
373
+ limit: Scalars["Int"]["input"];
374
+ }>;
375
+ export type GetFleetOwnerAccountSummaryQuery = {
376
+ __typename?: "Query";
377
+ assetSummary?: {
378
+ __typename?: "AssetSummary";
379
+ ownerAccounts?: {
380
+ __typename?: "OwnerAccountsSummary";
381
+ total: number;
382
+ summary: Array<{
383
+ __typename?: "OwnerAccountSummary";
384
+ count: number;
385
+ ownerAccount?: {
386
+ __typename?: "Account";
387
+ accountId: string;
388
+ accountName?: string | null;
389
+ } | null;
390
+ }>;
391
+ } | null;
392
+ } | null;
393
+ };
394
+ export type GetFleetModelsSummaryQueryVariables = Exact<{
395
+ filters?: InputMaybe<AssetFiltersInput>;
396
+ search?: InputMaybe<Scalars["String"]["input"]>;
397
+ limit?: InputMaybe<Scalars["Int"]["input"]>;
398
+ }>;
399
+ export type GetFleetModelsSummaryQuery = {
400
+ __typename?: "Query";
401
+ assetSummary?: {
402
+ __typename?: "AssetSummary";
403
+ models?: {
404
+ __typename?: "MetadataSummary";
405
+ total: number;
406
+ summary: Array<{
407
+ __typename?: "Summary";
408
+ key: string;
409
+ count: number;
410
+ }>;
411
+ } | null;
412
+ } | null;
413
+ };
414
+ export type GetCustomFieldSummaryQueryVariables = Exact<{
415
+ filters?: InputMaybe<AssetFiltersInput>;
416
+ definitionIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
417
+ }>;
418
+ export type GetCustomFieldSummaryQuery = {
419
+ __typename?: "Query";
420
+ assetSummary?: {
421
+ __typename?: "AssetSummary";
422
+ customFields?: Array<{
423
+ __typename?: "CustomFieldSummary";
424
+ definitionId: string;
425
+ total: number;
426
+ summary: Array<{
427
+ __typename?: "Summary";
428
+ key: string;
429
+ count: number;
430
+ }>;
431
+ }> | null;
432
+ } | null;
433
+ };
434
+ export type GetFleetBrandsSummaryQueryVariables = Exact<{
435
+ filters?: InputMaybe<AssetFiltersInput>;
436
+ search?: InputMaybe<Scalars["String"]["input"]>;
437
+ limit?: InputMaybe<Scalars["Int"]["input"]>;
438
+ }>;
439
+ export type GetFleetBrandsSummaryQuery = {
440
+ __typename?: "Query";
441
+ assetSummary?: {
442
+ __typename?: "AssetSummary";
443
+ brands?: {
444
+ __typename?: "MetadataSummary";
445
+ total: number;
446
+ summary: Array<{
447
+ __typename?: "Summary";
448
+ key: string;
449
+ count: number;
450
+ }>;
451
+ } | null;
452
+ } | null;
453
+ };
454
+ export type GetFleetTypesSummaryQueryVariables = Exact<{
455
+ filters?: InputMaybe<AssetFiltersInput>;
456
+ search?: InputMaybe<Scalars["String"]["input"]>;
457
+ limit?: InputMaybe<Scalars["Int"]["input"]>;
458
+ }>;
459
+ export type GetFleetTypesSummaryQuery = {
460
+ __typename?: "Query";
461
+ assetSummary?: {
462
+ __typename?: "AssetSummary";
463
+ types?: {
464
+ __typename?: "MetadataSummary";
465
+ total: number;
466
+ summary: Array<{
467
+ __typename?: "Summary";
468
+ key: string;
469
+ count: number;
470
+ }>;
471
+ } | null;
472
+ } | null;
473
+ };
474
+ export type GetFleetCriticalitySummaryQueryVariables = Exact<{
475
+ filters?: InputMaybe<AssetFiltersInput>;
476
+ }>;
477
+ export type GetFleetCriticalitySummaryQuery = {
478
+ __typename?: "Query";
479
+ assetSummary?: {
480
+ __typename?: "AssetSummary";
481
+ criticality?: {
482
+ __typename?: "CriticalitySummary";
483
+ critical: number;
484
+ low: number;
485
+ good: number;
486
+ } | null;
487
+ } | null;
488
+ };
489
+ export type GetFleetProductionYearsSummaryQueryVariables = Exact<{
490
+ filters?: InputMaybe<AssetFiltersInput>;
491
+ search?: InputMaybe<Scalars["String"]["input"]>;
492
+ limit?: InputMaybe<Scalars["Int"]["input"]>;
493
+ }>;
494
+ export type GetFleetProductionYearsSummaryQuery = {
495
+ __typename?: "Query";
496
+ assetSummary?: {
497
+ __typename?: "AssetSummary";
498
+ productionYears?: {
499
+ __typename?: "MetadataSummary";
500
+ total: number;
501
+ summary: Array<{
502
+ __typename?: "Summary";
503
+ key: string;
504
+ count: number;
505
+ }>;
506
+ } | null;
507
+ } | null;
508
+ };
509
+ export type GetServicePlanNamesSummaryQueryVariables = Exact<{
510
+ filters?: InputMaybe<AssetFiltersInput>;
511
+ }>;
512
+ export type GetServicePlanNamesSummaryQuery = {
513
+ __typename?: "Query";
514
+ assetSummary?: {
515
+ __typename?: "AssetSummary";
516
+ servicePlanNames?: {
517
+ __typename?: "MetadataSummary";
518
+ total: number;
519
+ summary: Array<{
520
+ __typename?: "Summary";
521
+ key: string;
522
+ count: number;
523
+ }>;
524
+ } | null;
525
+ } | null;
526
+ };
527
+ export type GetFleetServicePlanStatusesSummaryQueryVariables = Exact<{
528
+ filters?: InputMaybe<AssetFiltersInput>;
529
+ }>;
530
+ export type GetFleetServicePlanStatusesSummaryQuery = {
531
+ __typename?: "Query";
532
+ assetSummary?: {
533
+ __typename?: "AssetSummary";
534
+ servicePlanStatuses?: {
535
+ __typename?: "ServicePlanStatusSummary";
536
+ overdue: number;
537
+ upcoming: number;
538
+ planned: number;
539
+ } | null;
540
+ } | null;
541
+ };
542
+ export type GetFleetServiceProvidersSummaryQueryVariables = Exact<{
543
+ filters?: InputMaybe<AssetFiltersInput>;
544
+ }>;
545
+ export type GetFleetServiceProvidersSummaryQuery = {
546
+ __typename?: "Query";
547
+ assetSummary?: {
548
+ __typename?: "AssetSummary";
549
+ serviceProviders?: {
550
+ __typename?: "MetadataSummary";
551
+ total: number;
552
+ summary: Array<{
553
+ __typename?: "Summary";
554
+ key: string;
555
+ count: number;
556
+ }>;
557
+ } | null;
558
+ } | null;
559
+ };
560
+ export type GetFleetServicePlanAssignmentsSummaryQueryVariables = Exact<{
561
+ filters?: InputMaybe<AssetFiltersInput>;
562
+ }>;
563
+ export type GetFleetServicePlanAssignmentsSummaryQuery = {
564
+ __typename?: "Query";
565
+ assetSummary?: {
566
+ __typename?: "AssetSummary";
567
+ servicePlanAssignments?: {
568
+ __typename?: "ServicePlanAssignmentSummary";
569
+ fullyConfigured: number;
570
+ partiallyConfigured: number;
571
+ notConfigured: number;
572
+ } | null;
573
+ } | null;
574
+ };
575
+ export type GetFleetActivitySummaryQueryVariables = Exact<{
576
+ filters?: InputMaybe<AssetFiltersInput>;
577
+ }>;
578
+ export type GetFleetActivitySummaryQuery = {
579
+ __typename?: "Query";
580
+ assetSummary?: {
581
+ __typename?: "AssetSummary";
582
+ activity?: {
583
+ __typename?: "ActivitySummary";
584
+ working: number;
585
+ idling: number;
586
+ stopped: number;
587
+ unknown: number;
588
+ } | null;
589
+ } | null;
590
+ };
591
+ export type GetSiteIdSummaryQueryVariables = Exact<{
592
+ filters?: InputMaybe<AssetFiltersInput>;
593
+ search?: InputMaybe<Scalars["String"]["input"]>;
594
+ limit: Scalars["Int"]["input"];
595
+ }>;
596
+ export type GetSiteIdSummaryQuery = {
597
+ __typename?: "Query";
598
+ assetSummary?: {
599
+ __typename?: "AssetSummary";
600
+ sites?: {
601
+ __typename?: "SitesSummary";
602
+ total: number;
603
+ summary: Array<{
604
+ __typename?: "SiteSummary";
605
+ count: number;
606
+ site?: {
607
+ __typename?: "Site";
608
+ siteId: string;
609
+ name: string;
610
+ } | null;
611
+ }>;
612
+ } | null;
613
+ } | null;
614
+ };
615
+ export declare const GetFleetAssetTypesSummaryDocument: DocumentNode<GetFleetAssetTypesSummaryQuery, Exact<{
616
+ filters?: InputMaybe<AssetFiltersInput> | undefined;
617
+ }>>;
618
+ export declare const GetFleetSiteTypeSummaryDocument: DocumentNode<GetFleetSiteTypeSummaryQuery, Exact<{
619
+ filters?: InputMaybe<AssetFiltersInput> | undefined;
620
+ }>>;
621
+ export declare const GetFleetGroupSummaryDocument: DocumentNode<GetFleetGroupSummaryQuery, Exact<{
622
+ filters?: InputMaybe<AssetFiltersInput> | undefined;
623
+ search?: InputMaybe<string> | undefined;
624
+ limit: Scalars["Int"]["input"];
625
+ }>>;
626
+ export declare const GetFleetOwnerAccountSummaryDocument: DocumentNode<GetFleetOwnerAccountSummaryQuery, Exact<{
627
+ filters?: InputMaybe<AssetFiltersInput> | undefined;
628
+ search?: InputMaybe<string> | undefined;
629
+ limit: Scalars["Int"]["input"];
630
+ }>>;
631
+ export declare const GetFleetModelsSummaryDocument: DocumentNode<GetFleetModelsSummaryQuery, Exact<{
632
+ filters?: InputMaybe<AssetFiltersInput> | undefined;
633
+ search?: InputMaybe<string> | undefined;
634
+ limit?: InputMaybe<number> | undefined;
635
+ }>>;
636
+ export declare const GetCustomFieldSummaryDocument: DocumentNode<GetCustomFieldSummaryQuery, Exact<{
637
+ filters?: InputMaybe<AssetFiltersInput> | undefined;
638
+ definitionIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
639
+ }>>;
640
+ export declare const GetFleetBrandsSummaryDocument: DocumentNode<GetFleetBrandsSummaryQuery, Exact<{
641
+ filters?: InputMaybe<AssetFiltersInput> | undefined;
642
+ search?: InputMaybe<string> | undefined;
643
+ limit?: InputMaybe<number> | undefined;
644
+ }>>;
645
+ export declare const GetFleetTypesSummaryDocument: DocumentNode<GetFleetTypesSummaryQuery, Exact<{
646
+ filters?: InputMaybe<AssetFiltersInput> | undefined;
647
+ search?: InputMaybe<string> | undefined;
648
+ limit?: InputMaybe<number> | undefined;
649
+ }>>;
650
+ export declare const GetFleetCriticalitySummaryDocument: DocumentNode<GetFleetCriticalitySummaryQuery, Exact<{
651
+ filters?: InputMaybe<AssetFiltersInput> | undefined;
652
+ }>>;
653
+ export declare const GetFleetProductionYearsSummaryDocument: DocumentNode<GetFleetProductionYearsSummaryQuery, Exact<{
654
+ filters?: InputMaybe<AssetFiltersInput> | undefined;
655
+ search?: InputMaybe<string> | undefined;
656
+ limit?: InputMaybe<number> | undefined;
657
+ }>>;
658
+ export declare const GetServicePlanNamesSummaryDocument: DocumentNode<GetServicePlanNamesSummaryQuery, Exact<{
659
+ filters?: InputMaybe<AssetFiltersInput> | undefined;
660
+ }>>;
661
+ export declare const GetFleetServicePlanStatusesSummaryDocument: DocumentNode<GetFleetServicePlanStatusesSummaryQuery, Exact<{
662
+ filters?: InputMaybe<AssetFiltersInput> | undefined;
663
+ }>>;
664
+ export declare const GetFleetServiceProvidersSummaryDocument: DocumentNode<GetFleetServiceProvidersSummaryQuery, Exact<{
665
+ filters?: InputMaybe<AssetFiltersInput> | undefined;
666
+ }>>;
667
+ export declare const GetFleetServicePlanAssignmentsSummaryDocument: DocumentNode<GetFleetServicePlanAssignmentsSummaryQuery, Exact<{
668
+ filters?: InputMaybe<AssetFiltersInput> | undefined;
669
+ }>>;
670
+ export declare const GetFleetActivitySummaryDocument: DocumentNode<GetFleetActivitySummaryQuery, Exact<{
671
+ filters?: InputMaybe<AssetFiltersInput> | undefined;
672
+ }>>;
673
+ export declare const GetSiteIdSummaryDocument: DocumentNode<GetSiteIdSummaryQuery, Exact<{
674
+ filters?: InputMaybe<AssetFiltersInput> | undefined;
675
+ search?: InputMaybe<string> | undefined;
676
+ limit: Scalars["Int"]["input"];
677
+ }>>;
@@ -0,0 +1,2 @@
1
+ export * from "./fragment-masking";
2
+ export * from "./gql";