@evercam/api 1.0.0-779bcb558 → 1.0.0-79849e0e7

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 (131) hide show
  1. package/README.md +5 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +27 -0
  3. package/dist/api/api/adminApi.d.ts +376 -0
  4. package/dist/api/api/aiApi.d.ts +128 -0
  5. package/dist/api/api/authzApi.d.ts +38 -0
  6. package/dist/api/{client → api/client}/axios.d.ts +2 -1
  7. package/dist/api/{client → api/client}/customErrors.d.ts +10 -0
  8. package/dist/api/{client → api/client}/interceptors.d.ts +3 -2
  9. package/dist/api/api/client/swr/Swr.d.ts +14 -0
  10. package/dist/api/api/client/swr/SwrStore.d.ts +10 -0
  11. package/dist/api/api/evercamApi.d.ts +337 -0
  12. package/dist/api/api/evercamLabsApi.d.ts +45 -0
  13. package/dist/api/{exNvrApi.d.ts → api/exNvrApi.d.ts} +1 -1
  14. package/dist/api/api/index.d.ts +13 -0
  15. package/dist/api/api/ingestApi.d.ts +148 -0
  16. package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +13 -4
  17. package/dist/api/api/videoWallApi.d.ts +9 -0
  18. package/dist/api/api/weatherApi.d.ts +9 -0
  19. package/dist/api/index.d.ts +3 -13
  20. package/dist/api/types/360.d.ts +276 -0
  21. package/dist/api/types/aconex.d.ts +143 -0
  22. package/dist/api/types/admin.d.ts +51 -0
  23. package/dist/{types → api/types}/analytics.d.ts +222 -106
  24. package/dist/{types → api/types}/anpr.d.ts +35 -19
  25. package/dist/{types → api/types}/auditLogs.d.ts +1 -1
  26. package/dist/api/types/authz.d.ts +61 -0
  27. package/dist/{types → api/types}/autodesk.d.ts +7 -7
  28. package/dist/api/types/automation.d.ts +95 -0
  29. package/dist/{types → api/types}/axios.d.ts +22 -3
  30. package/dist/{types → api/types}/bim.d.ts +11 -5
  31. package/dist/{types → api/types}/camera.d.ts +113 -125
  32. package/dist/api/types/comments.d.ts +55 -0
  33. package/dist/api/types/company.d.ts +115 -0
  34. package/dist/{types → api/types}/compare.d.ts +20 -5
  35. package/dist/{types → api/types}/connector.d.ts +9 -6
  36. package/dist/api/types/coolify.d.ts +36 -0
  37. package/dist/{types → api/types}/copilot.d.ts +20 -13
  38. package/dist/{types → api/types}/countries.d.ts +0 -7
  39. package/dist/{types → api/types}/credentials.d.ts +1 -0
  40. package/dist/api/types/detections.d.ts +124 -0
  41. package/dist/{types → api/types}/drone.d.ts +1 -0
  42. package/dist/{types → api/types}/errors.d.ts +13 -0
  43. package/dist/{types → api/types}/gateReport.d.ts +96 -151
  44. package/dist/api/types/hdd.d.ts +88 -0
  45. package/dist/{types → api/types}/index.d.ts +16 -3
  46. package/dist/api/types/ingest.d.ts +147 -0
  47. package/dist/{types → api/types}/kit.d.ts +100 -12
  48. package/dist/{types → api/types}/media.d.ts +2 -1
  49. package/dist/api/types/notification.d.ts +57 -0
  50. package/dist/{types → api/types}/nvr.d.ts +2 -1
  51. package/dist/api/types/oauth.d.ts +62 -0
  52. package/dist/api/types/planner.d.ts +79 -0
  53. package/dist/api/types/posthog.d.ts +33 -0
  54. package/dist/api/types/procore.d.ts +229 -0
  55. package/dist/{types → api/types}/progressPhoto.d.ts +11 -23
  56. package/dist/api/types/project.d.ts +246 -0
  57. package/dist/{types → api/types}/recording.d.ts +4 -4
  58. package/dist/api/types/recycleBin.d.ts +14 -0
  59. package/dist/api/types/ring.d.ts +53 -0
  60. package/dist/{types → api/types}/roi.d.ts +2 -1
  61. package/dist/{types → api/types}/routeParams.d.ts +4 -2
  62. package/dist/{types → api/types}/router.d.ts +20 -1
  63. package/dist/{types → api/types}/shared.d.ts +14 -21
  64. package/dist/api/types/shares.d.ts +58 -0
  65. package/dist/{types → api/types}/sim.d.ts +6 -6
  66. package/dist/api/types/siteAnalytics.d.ts +287 -0
  67. package/dist/api/types/smartSeach.d.ts +5 -0
  68. package/dist/{types → api/types}/snapshots.d.ts +42 -1
  69. package/dist/api/types/sso.d.ts +55 -0
  70. package/dist/api/types/storageProvider.d.ts +19 -0
  71. package/dist/api/types/storyblok.d.ts +40 -0
  72. package/dist/api/types/streaming.d.ts +97 -0
  73. package/dist/api/types/systemCheck.d.ts +11 -0
  74. package/dist/api/types/tag.d.ts +12 -0
  75. package/dist/api/types/time.d.ts +7 -0
  76. package/dist/{types → api/types}/timelapse.d.ts +20 -5
  77. package/dist/{types → api/types}/user.d.ts +105 -36
  78. package/dist/api/types/videoWall.d.ts +66 -0
  79. package/dist/api/types/weather.d.ts +153 -0
  80. package/dist/{types → api/types}/widget.d.ts +106 -20
  81. package/dist/api/types/xweather.d.ts +12 -0
  82. package/dist/{utils.d.ts → api/utils.d.ts} +1 -0
  83. package/dist/index.d.ts +2 -3
  84. package/dist/index.js +1849 -999
  85. package/dist/index.js.map +1 -1
  86. package/dist/index.umd.cjs +1 -1
  87. package/dist/index.umd.cjs.map +1 -1
  88. package/dist/shared/api/index.d.ts +3 -0
  89. package/dist/shared/components/timelinePlayer/providers/index.d.ts +3 -0
  90. package/dist/shared/components/timelinePlayer/providers/timelineAnprProvider.d.ts +17 -0
  91. package/dist/shared/components/timelinePlayer/providers/timelineDataProvider.d.ts +13 -0
  92. package/dist/shared/components/timelinePlayer/providers/timelineLuminanceProvider.d.ts +16 -0
  93. package/dist/shared/types/components.d.ts +303 -0
  94. package/dist/shared/types/imagePlayer.d.ts +34 -0
  95. package/dist/shared/types/index.d.ts +5 -0
  96. package/dist/shared/types/rbac.d.ts +67 -0
  97. package/dist/shared/types/timeline.d.ts +10 -0
  98. package/package.json +8 -7
  99. package/dist/api/3dFirebaseApi.d.ts +0 -9
  100. package/dist/api/adminApi.d.ts +0 -288
  101. package/dist/api/aiApi.d.ts +0 -73
  102. package/dist/api/authzApi.d.ts +0 -21
  103. package/dist/api/evercamApi.d.ts +0 -266
  104. package/dist/api/evercamLabsApi.d.ts +0 -51
  105. package/dist/api/ingestApi.d.ts +0 -65
  106. package/dist/api/videoWallApi.d.ts +0 -9
  107. package/dist/api/weatherApi.d.ts +0 -25
  108. package/dist/types/360.d.ts +0 -83
  109. package/dist/types/aconex.d.ts +0 -45
  110. package/dist/types/automation.d.ts +0 -6
  111. package/dist/types/comments.d.ts +0 -36
  112. package/dist/types/company.d.ts +0 -46
  113. package/dist/types/detections.d.ts +0 -62
  114. package/dist/types/devices.d.ts +0 -228
  115. package/dist/types/ingest.d.ts +0 -43
  116. package/dist/types/notification.d.ts +0 -27
  117. package/dist/types/procore.d.ts +0 -76
  118. package/dist/types/project.d.ts +0 -120
  119. package/dist/types/shares.d.ts +0 -192
  120. package/dist/types/siteAnalytics.d.ts +0 -5
  121. package/dist/types/sitePlanner.d.ts +0 -23
  122. package/dist/types/storageServers.d.ts +0 -4
  123. package/dist/types/streaming.d.ts +0 -119
  124. package/dist/types/time.d.ts +0 -19
  125. package/dist/types/videoWall.d.ts +0 -33
  126. package/dist/types/weather.d.ts +0 -83
  127. /package/dist/api/{client → api/client}/index.d.ts +0 -0
  128. /package/dist/api/{webRtcApi.d.ts → api/webRtcApi.d.ts} +0 -0
  129. /package/dist/{types → api/types}/map.d.ts +0 -0
  130. /package/dist/{types → api/types}/vendorModel.d.ts +0 -0
  131. /package/dist/{types → api/types}/voyageControl.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import { AnprDirection, CameraExid, Date_HH, Date_YYYY, Date_YYYY_MM, Date_YYYY_MM_DD, DateTime, DateTimeSpaceSeparated, DateType, PaginatedItems, PaginationParams, ProjectExid, ProjectFeatureFlag, Timestamp } from "@/types";
1
+ import { AnprDirection, AnprEvent, CameraExid, DateType, PaginatedItems, PaginationParams, ProjectExid, RoiShapeType, Timestamp } from "@evercam/api/types";
2
2
  export declare enum GateReportDetectionType {
3
3
  Auto = "auto",
4
4
  Manual = "manual",
@@ -40,7 +40,59 @@ export declare enum DetectionLabel {
40
40
  TruckMixer = "truck-mixer",
41
41
  TruckMountedMobileCrane = "truck-mounted-mobile-crane",
42
42
  Unknown = "unknown",
43
- Worker = "worker"
43
+ Worker = "worker",
44
+ Rubble = "rubble",
45
+ Puddle = "puddle",
46
+ DirtGravelCementPile = "dirt_gravel_cement_pile",
47
+ DetachedExcavatorBucket = "detached_excavator_bucket",
48
+ IntermediateBulkContainer = "intermediate_bulk_container",
49
+ WoodenPallet = "wooden_pallet",
50
+ ShippingContainer = "shipping_container",
51
+ AirCompressor = "air_compressor",
52
+ DryMortarSilo = "dry_mortar_silo",
53
+ Fence = "fence",
54
+ Brick = "brick",
55
+ Barrel = "barrel",
56
+ Cardboard = "cardboard",
57
+ CardboardBox = "cardboard_box",
58
+ CementBag = "cement_bag",
59
+ ConcreteBlock = "concrete_block",
60
+ ConcretePipe = "concrete_pipe",
61
+ ConcreteSlab = "concrete_slab",
62
+ Door = "door",
63
+ PlasticWrap = "plastic_wrap",
64
+ ContainerOffice = "container_office",
65
+ ElectricalPole = "electrical_pole",
66
+ ElectricalBox = "electrical_box",
67
+ FireHydrant = "fire_hydrant",
68
+ FireExtinguisher = "fire-extinguisher",
69
+ HoseReel = "hose_reel",
70
+ Ladder = "ladder",
71
+ MetalBeam = "metal_beam",
72
+ MetalPipe = "metal_pipe",
73
+ Pallet = "pallet",
74
+ Person = "person",
75
+ Pillar = "pillar",
76
+ PlasticBin = "plastic_bin",
77
+ PlasticBucket = "plastic_bucket",
78
+ PlasticPipe = "plastic_pipe",
79
+ PublicToilet = "public_toilet",
80
+ Sign = "sign",
81
+ SiteToolbox = "site_toolbox",
82
+ StreetSink = "street_sink",
83
+ TrafficBarrier = "traffic_barrier",
84
+ TrafficCone = "traffic_cone",
85
+ Wall = "wall",
86
+ WasteContainer = "waste_container",
87
+ WaterStorageTank = "water_storage_tank",
88
+ Wheelbarrow = "wheelbarrow",
89
+ Window = "window",
90
+ WoodPlank = "wood_plank",
91
+ CableReel = "cable_reel",
92
+ AirConditioningSystem = "air_conditioning_system",
93
+ WoodenBox = "wooden_box",
94
+ PlasticBag = "plastic_bag",
95
+ MaterialStack = "material_stack"
44
96
  }
45
97
  export declare enum SegmentLabel {
46
98
  AirCompressor = "air_compressor",
@@ -95,8 +147,8 @@ export declare enum GateReportVehicleType {
95
147
  Unknown = "unknown"
96
148
  }
97
149
  export type GateReportVehicleTypeItem = {
98
- name: string;
99
- id: GateReportVehicleType;
150
+ label: string;
151
+ value: GateReportVehicleType;
100
152
  };
101
153
  export type GateReportEvent = {
102
154
  id: number;
@@ -122,10 +174,10 @@ export type GateReportLeftEvent = GateReportEvent & {
122
174
  };
123
175
  export type GateReportVerifiedDay = {
124
176
  id: number;
125
- day: Date_YYYY_MM_DD;
177
+ day: string;
126
178
  isMatched: boolean;
127
- insertedAt: DateTime;
128
- updatedAt: DateTime;
179
+ insertedAt: string;
180
+ updatedAt: string;
129
181
  verifiedBy: string;
130
182
  cameraExid: CameraExid;
131
183
  projectExid: ProjectExid;
@@ -143,16 +195,16 @@ export type EventsCount = {
143
195
  source: GateReportDataSource;
144
196
  };
145
197
  export type YearlyEventCount = EventsCount & {
146
- year: Date_YYYY;
198
+ year: string;
147
199
  };
148
200
  export type MonthlyEventCount = EventsCount & {
149
- month: Date_YYYY_MM;
201
+ month: string;
150
202
  };
151
203
  export type DailyEventCount = EventsCount & {
152
- day: Date_YYYY_MM_DD;
204
+ day: string;
153
205
  };
154
206
  export type HourlyEventCount = {
155
- hour: Date_HH;
207
+ hour: string;
156
208
  count: number;
157
209
  };
158
210
  export type EventCountRequestPayload = {
@@ -165,31 +217,13 @@ export type EventCountResponsePayload = {
165
217
  months?: MonthlyEventCount[];
166
218
  years?: YearlyEventCount[];
167
219
  };
168
- export type ProcessedDaysRequestPayload = {
169
- apiId?: string;
170
- apiKey?: string;
171
- isPublic?: Boolean;
172
- };
173
- export type EventsRequestPayload = {
174
- apiId?: string;
175
- apiKey?: string;
176
- camerasExid?: CameraExid[];
177
- cameras?: string[];
178
- eventType?: GateReportEventType;
179
- fromDate?: DateTime;
180
- isPublic?: boolean;
181
- toDate?: DateTime;
182
- truckTypes?: GateReportVehicleType[];
183
- vehicleTypes?: string[];
184
- } & PaginationParams;
185
- export type EventsResponsePayload = PaginatedItems<GateReportEvent>;
186
220
  export declare enum GateReportDataSource {
187
221
  Anpr = "anpr",
188
222
  Events = "events"
189
223
  }
190
224
  export type GateReportResponsePayload = {
191
225
  source: GateReportDataSource;
192
- results: PaginatedItems<GateReportEvent>;
226
+ results: PaginatedItems<AnprEvent>;
193
227
  };
194
228
  export declare enum GateReportEventDirection {
195
229
  In = "in",
@@ -199,43 +233,39 @@ export declare enum GateReportEventDirection {
199
233
  export type GatReportRequestPayload = {
200
234
  camerasExid?: CameraExid[];
201
235
  eventType?: GateReportEventType;
202
- fromDate?: DateTime;
236
+ fromDate?: string;
203
237
  isPublic?: boolean;
204
- toDate?: DateTime;
238
+ toDate?: string;
205
239
  vehicleTypes?: GateReportVehicleType[];
206
240
  } & PaginationParams;
207
241
  export declare enum GateReportExportType {
208
242
  Pdf = "pdf",
209
243
  Csv = "csv"
210
244
  }
211
- export type EventsExportRequestParameters = {
212
- vehicleTypes: GateReportVehicleType[];
213
- fileType: GateReportExportType;
214
- fromDate: DateTimeSpaceSeparated;
215
- toDate: DateTimeSpaceSeparated;
216
- camerasExid: CameraExid[];
217
- eventType: GateReportEventType;
218
- };
219
- export type AnprBasedGateReportExportRequestParams = {
245
+ export type AnprExportBaseParams = {
220
246
  vehicleTypes?: GateReportVehicleType[];
221
247
  fileType?: GateReportExportType;
222
- fromDate?: DateTimeSpaceSeparated;
223
- toDate?: DateTimeSpaceSeparated;
248
+ fromDate?: string;
249
+ toDate?: string;
224
250
  camerasExid?: CameraExid[];
251
+ isPublic?: boolean;
252
+ };
253
+ export type EventsExportRequestParameters = AnprExportBaseParams & {
254
+ eventType: GateReportEventType;
255
+ };
256
+ export type AnprBasedGateReportExportRequestParams = AnprExportBaseParams & {
257
+ direction?: AnprDirection;
258
+ };
259
+ export type LegacyAnprExportParams = AnprExportBaseParams & {
225
260
  direction?: AnprDirection;
226
261
  };
227
262
  type X1 = number;
228
263
  type Y1 = number;
229
264
  type X2 = number;
230
265
  type Y2 = number;
231
- export declare enum GateReportROIShapeType {
232
- Rectangle = "rectangle",
233
- Direction = "direction",
234
- Line = "line"
235
- }
236
266
  export type GateReportROIShape = {
237
267
  coordinates: [[X1, Y1], [X2, Y2]];
238
- type: GateReportROIShapeType;
268
+ type: RoiShapeType;
239
269
  };
240
270
  export type GateReportROI = {
241
271
  cameraex?: string;
@@ -243,7 +273,7 @@ export type GateReportROI = {
243
273
  directionFilter?: string;
244
274
  id?: number;
245
275
  insertedAt?: Timestamp;
246
- isactive?: boolean;
276
+ isActive?: boolean;
247
277
  name?: string;
248
278
  roiType?: string;
249
279
  updatedAt?: Timestamp;
@@ -262,89 +292,19 @@ export type GateReportCamera = {
262
292
  last_published_day: DateType;
263
293
  last_processed_day: DateType;
264
294
  };
265
- export type GateReportProject = {
266
- exid: string;
267
- name: string;
268
- status: string;
269
- featureFlags: ProjectFeatureFlag;
270
- cameras: GateReportCamera[];
271
- };
272
- export type AnalyticsParameters = {
273
- id: number;
274
- cameraex: string;
275
- processingType: string;
276
- startDate: DateTime;
277
- endDate: DateTime;
278
- skipWeekend: boolean;
279
- hourSiteOpening: number;
280
- hourSiteClosure: number;
281
- gateReportActive: boolean;
282
- countingActive: boolean;
283
- queueSystem: string;
284
- reprocess: boolean;
285
- framesToSkip: number;
286
- detection_model: string;
287
- detectionThreshold: number;
288
- printLogsFrame: number;
289
- crossingVectorAngleLimit: number;
290
- minTruckLife: number;
291
- insideMinTime: number;
292
- trackerMaxAge: number;
293
- trackerMinHit: number;
294
- snapshotUpload: boolean;
295
- snapshotPerSecond: number;
296
- detectionClasses: string;
297
- deepEventEndpointUrl: string;
298
- timestampCalculation: string;
299
- matchingEmbeddedDstCoeff: number;
300
- matchingTimeCoeff: number;
301
- matchingQueueOrderCoeff: number;
302
- rabbitmqServerUrl: string;
303
- rabbitmqEventsQueue: string;
304
- rabbitmqEventsExchange: string;
305
- rabbitmqCountingQueue: string;
306
- rabbitmqCountingExchange: string;
307
- dangerZones: boolean;
308
- workflows: boolean;
309
- linkedAnprCameras: Record<string, unknown>;
310
- };
311
295
  export type VerifiedDaysQueryParams = PaginationParams & {
312
296
  projectExid: ProjectExid;
313
297
  camerasExid: CameraExid[];
314
298
  verifiedBy: string;
315
299
  isMatched: boolean;
316
- insertedAt: DateTime[];
317
- updatedAt: DateTime[];
300
+ insertedAt: string[];
301
+ updatedAt: string[];
318
302
  day: string;
319
303
  };
320
- export type EventUpdateRequestPayload = {
321
- cameraex: string;
322
- roiId: number;
323
- eventType: string;
324
- eventTime: "2024-12-13T14:25:58.066Z";
325
- truckType: string;
326
- isPublic: boolean;
327
- boundingBox: {
328
- additionalProp1: number;
329
- additionalProp2: number;
330
- additionalProp3: number;
331
- };
332
- valid: boolean;
333
- loadState: string;
334
- embeddingId: number;
335
- embedding: number[];
336
- similarityDst: number;
337
- detectionType: string;
338
- trackingId: number;
339
- deliveriesId: number;
340
- edited: boolean;
341
- isDeleted: boolean;
342
- modelVersion: string;
343
- };
344
304
  export type VerifyDayUpdateRequestPayload = {
345
305
  camerasExid: string[];
346
306
  projectExid: string;
347
- day: Date_YYYY_MM_DD;
307
+ day: string;
348
308
  isMatched: boolean;
349
309
  verifiedBy: string;
350
310
  };
@@ -353,40 +313,25 @@ export type ProcessedDaysQueryParams = {
353
313
  isPublic: boolean;
354
314
  eventType: GateReportEventType;
355
315
  };
356
- export type SecurityMeasurementQueryParams = {
357
- cameraex: string;
358
- timestamp: DateTime;
359
- prompt: string;
360
- snapshotUrl: string;
361
- };
362
- export type ObjectDetectionQueryParams = {
363
- cameraex: string;
364
- timestamp: DateTime;
365
- base64Img: string;
366
- snapshotUrl: string;
367
- };
368
316
  export type RoisQueryParams = {
369
- cameraExid: string;
317
+ camerasExid: CameraExid[];
370
318
  id: number;
371
319
  name: string;
372
320
  fromDate: string;
373
- roiType: GateReportROIShapeType;
374
- isactive: boolean;
321
+ roiType: RoiShapeType;
322
+ isActive: boolean;
375
323
  directionFilter: string;
376
324
  sort: string;
377
325
  };
378
- export type GateReportROICreateRequestPayload = {
379
- id?: number;
380
- roi: {
381
- cameraex: string;
382
- name: string;
383
- roiType: string;
384
- isactive: true;
385
- fromDate: string;
386
- shapes: Record<string, unknown>[];
387
- directionFilter: string;
388
- note: string;
389
- };
390
- createdBy: string;
326
+ export type GateReportRoiRequestPayload = {
327
+ id: number;
328
+ cameraExid: string;
329
+ name: string;
330
+ roiType: string;
331
+ isActive: true;
332
+ fromDate: string;
333
+ shapes: GateReportROIShape[];
334
+ directionFilter: string;
335
+ note: string;
391
336
  };
392
337
  export {};
@@ -0,0 +1,88 @@
1
+ import { PaginationParams } from "@evercam/api/types";
2
+ export declare enum HddFormat {
3
+ ExFat = "ExFAT",
4
+ HikFs = "HikFS"
5
+ }
6
+ export declare enum HddType {
7
+ Magnetic35 = "3.5\" Magnetic",
8
+ Magnetic25 = "2.5\" Magnetic",
9
+ Ssd25 = "2.5\" SSD"
10
+ }
11
+ export declare enum HddState {
12
+ Blank = "Blank",
13
+ InUse = "In Use",
14
+ ColdStorage = "Cold Storage"
15
+ }
16
+ export declare enum WarehouseLocationIndex {
17
+ IEWarehouse = 1,
18
+ Deployed = 2,
19
+ CustomerStorage = 3,
20
+ USWarehouse = 4,
21
+ AUWarehouse = 5,
22
+ UKWarehouse = 6
23
+ }
24
+ export declare enum WarehouseLocation {
25
+ IEWarehouse = "IE Warehouse",
26
+ Deployed = "Deployed",
27
+ CustomerStorage = "Customer Storage",
28
+ USWarehouse = "US Warehouse",
29
+ AUWarehouse = "AU Warehouse",
30
+ UKWarehouse = "UK Warehouse"
31
+ }
32
+ export declare enum HddSize {
33
+ TwoTB = "2 TB",
34
+ FourTB = "4 TB",
35
+ FiveTB = "5 TB",
36
+ SixTB = "6 TB",
37
+ EightTB = "8 TB",
38
+ TenTB = "10 TB"
39
+ }
40
+ export type FootageCreateUpdatePayload = {
41
+ cameraId: string;
42
+ startDate: string;
43
+ endDate: string;
44
+ };
45
+ export type HDDCreateUpdatePayload = {
46
+ size: string;
47
+ type: string;
48
+ format: string;
49
+ locationId: string;
50
+ serialNumber: string;
51
+ hddStatus: string;
52
+ shelfBlock: string;
53
+ };
54
+ export type HDDsQueryParams = PaginationParams & {
55
+ id: number;
56
+ location: string;
57
+ serialNumber: string;
58
+ shelfBlock: string;
59
+ format: string;
60
+ size: string;
61
+ type: string;
62
+ hddStatus: string;
63
+ };
64
+ export type AdminHddFootage = {
65
+ id: number;
66
+ cameraExid: string;
67
+ cameraName: string;
68
+ startDate: string | null;
69
+ endDate: string | null;
70
+ };
71
+ export type AdminHdd = {
72
+ id: number;
73
+ size: string;
74
+ type: string;
75
+ format: string;
76
+ location: string;
77
+ errorStatus: string | null;
78
+ createdAt: string;
79
+ serialNumber: string;
80
+ hddStatus: string;
81
+ reportedCapacity: string | null;
82
+ reportedFreeSpace: string | null;
83
+ reportedHddType: string | null;
84
+ reportedPath: string | null;
85
+ reportedProperty: string | null;
86
+ shelfBlock: string;
87
+ footages: AdminHddFootage[];
88
+ };
@@ -2,6 +2,7 @@ export * from "./360";
2
2
  export * from "./aconex";
3
3
  export * from "./analytics";
4
4
  export * from "./anpr";
5
+ export * from "./admin";
5
6
  export * from "./media";
6
7
  export * from "./autodesk";
7
8
  export * from "./bim";
@@ -9,10 +10,10 @@ export * from "./camera";
9
10
  export * from "./compare";
10
11
  export * from "./copilot";
11
12
  export * from "./credentials";
12
- export * from "./devices";
13
13
  export * from "./drone";
14
14
  export * from "./errors";
15
15
  export * from "./gateReport";
16
+ export * from "./hdd";
16
17
  export * from "./ingest";
17
18
  export * from "./map";
18
19
  export * from "./connector";
@@ -27,9 +28,11 @@ export * from "./routeParams";
27
28
  export * from "./router";
28
29
  export * from "./shares";
29
30
  export * from "./sim";
30
- export * from "./sitePlanner";
31
- export * from "./storageServers";
31
+ export * from "./systemCheck";
32
+ export * from "./planner";
33
+ export * from "./storageProvider";
32
34
  export * from "./streaming";
35
+ export * from "./storyblok";
33
36
  export * from "./time";
34
37
  export * from "./timelapse";
35
38
  export * from "./user";
@@ -49,3 +52,13 @@ export * from "./siteAnalytics";
49
52
  export * from "./widget";
50
53
  export * from "./countries";
51
54
  export * from "./automation";
55
+ export * from "./sso";
56
+ export * from "./coolify";
57
+ export * from "./tag";
58
+ export * from "./xweather";
59
+ export * from "./posthog";
60
+ export * from "./recycleBin";
61
+ export * from "./authz";
62
+ export * from "./oauth";
63
+ export * from "./ring";
64
+ export * from "./smartSeach";
@@ -0,0 +1,147 @@
1
+ import { PaginationParams, DateType, JsonValue } from "@evercam/api/types";
2
+ import type { _360FloorV2, _360WalkV2 } from "@evercam/api/types/360";
3
+ export declare enum IngestProcessingStatus {
4
+ Completed = "completed",
5
+ Uploading = "uploading",
6
+ Created = "created",
7
+ Failed = "failed",
8
+ Aborted = "aborted",
9
+ Paused = "paused",
10
+ InProgress = "inprogress",
11
+ Pending = "pending"
12
+ }
13
+ export declare enum MobileAssetsType {
14
+ Audio = "mobile_audios",
15
+ Photo = "mobile_photos"
16
+ }
17
+ export declare enum IngestVersions {
18
+ V1 = "v1",
19
+ V2 = "v2",
20
+ V3 = "v3",
21
+ V4 = "v4",
22
+ V5 = "v5"
23
+ }
24
+ export declare enum IngestTypes {
25
+ Drone = "drone",
26
+ ThreeSixty = "360"
27
+ }
28
+ export type DronesQueryParams = Omit<PaginationParams, "sort"> & {
29
+ projectId: string;
30
+ consumed: string;
31
+ token: string;
32
+ processingStatus: IngestProcessingStatus;
33
+ };
34
+ export type IngestPaginatedResponse<T> = {
35
+ items: T[];
36
+ page: number;
37
+ limit: number;
38
+ total: number;
39
+ pageCount?: number;
40
+ };
41
+ export type DroneUploadItem = {
42
+ id: number;
43
+ projectId: string;
44
+ consumed: boolean;
45
+ token: string;
46
+ flightDate: string;
47
+ flightGeolocation: string;
48
+ modelZip: string;
49
+ orthomosaicZip: string;
50
+ reportPdf: string;
51
+ uploadedBy: string;
52
+ processingStatus: IngestProcessingStatus | string;
53
+ modelCesiumAssetId: string;
54
+ updatedAt: string;
55
+ hasTusLinks: boolean;
56
+ };
57
+ export type DroneUploadsResponse = IngestPaginatedResponse<DroneUploadItem>;
58
+ export type DroneQueueResponse = {
59
+ size: number;
60
+ assetsDrone: DroneUploadItem[];
61
+ };
62
+ export type DroneUploadUpdateRequestPayload = {
63
+ flightMetadata: {
64
+ dateTime: string;
65
+ gpsAltitude: string;
66
+ gpsCoordinates: string;
67
+ };
68
+ upload: {
69
+ url: string;
70
+ title: string;
71
+ fileExtension: string;
72
+ }[];
73
+ aerialShots: {
74
+ url: string;
75
+ title: string;
76
+ fileExtension: string;
77
+ gpsLatitude: string;
78
+ gpsLongitude: string;
79
+ gpsAltitude: string;
80
+ }[];
81
+ projectName: string;
82
+ };
83
+ export type CalculateMeasuringOperationRequestPayload = {
84
+ date: DateType;
85
+ points: [number, number][];
86
+ operation: string;
87
+ };
88
+ export type FlightImagesQueryParams = Partial<Omit<PaginationParams, "sort">> & {
89
+ date: DateType;
90
+ };
91
+ export type InspectionToolRequestPayload = {
92
+ date: DateType;
93
+ gpsAltitude: string;
94
+ gpsCoordinates: string;
95
+ };
96
+ export type _360AssetsResponse = IngestPaginatedResponse<_360WalkV2>;
97
+ export type _360AssetsCountsDay = {
98
+ day: number;
99
+ walks?: number;
100
+ mobilePhotos?: number;
101
+ [key: string]: JsonValue | undefined;
102
+ };
103
+ export type _360AssetsCountsResponse = {
104
+ days: _360AssetsCountsDay[];
105
+ };
106
+ export type _360QueueResponse = {
107
+ size: number;
108
+ assets360: _360WalkV2[];
109
+ };
110
+ export type _360FloorsResponse = IngestPaginatedResponse<_360FloorV2>;
111
+ export type BimUploadItem = {
112
+ id: number;
113
+ projectId: string;
114
+ uploadedBy: string;
115
+ files: string[];
116
+ updatedAt: string;
117
+ archive?: string | null;
118
+ };
119
+ export type BimUploadsResponse = IngestPaginatedResponse<BimUploadItem>;
120
+ export type IngestUploadInitResponse = {
121
+ id: number;
122
+ projectId: string;
123
+ token?: string;
124
+ projectName?: string;
125
+ };
126
+ export type MobileAssetsQueryParams = Partial<Omit<PaginationParams, "sort">> & {
127
+ projectId?: string;
128
+ project_id?: string;
129
+ assetType?: MobileAssetsType | string;
130
+ date?: DateType;
131
+ isPaginated?: boolean;
132
+ };
133
+ export type MobileCaptureAssetsResponse = IngestPaginatedResponse<{
134
+ id: string;
135
+ projectId?: string;
136
+ uploadedBy: string;
137
+ updatedAt: string;
138
+ assetType: string;
139
+ thumbnailUrl: string;
140
+ }> | Array<{
141
+ id: string;
142
+ projectId?: string;
143
+ uploadedBy: string;
144
+ updatedAt: string;
145
+ assetType: string;
146
+ thumbnailUrl: string;
147
+ }>;