@evercam/api 1.0.0-003291add

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 (104) hide show
  1. package/README.md +6 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +183 -0
  3. package/dist/api/api/adminApi.d.ts +377 -0
  4. package/dist/api/api/aiApi.d.ts +128 -0
  5. package/dist/api/api/authzApi.d.ts +37 -0
  6. package/dist/api/api/client/axios.d.ts +14 -0
  7. package/dist/api/api/client/customErrors.d.ts +90 -0
  8. package/dist/api/api/client/index.d.ts +5 -0
  9. package/dist/api/api/client/interceptors.d.ts +10 -0
  10. package/dist/api/api/client/swr/Swr.d.ts +14 -0
  11. package/dist/api/api/client/swr/SwrStore.d.ts +10 -0
  12. package/dist/api/api/evercamApi.d.ts +337 -0
  13. package/dist/api/api/evercamLabsApi.d.ts +45 -0
  14. package/dist/api/api/exNvrApi.d.ts +43 -0
  15. package/dist/api/api/index.d.ts +13 -0
  16. package/dist/api/api/ingestApi.d.ts +148 -0
  17. package/dist/api/api/ptzApi.d.ts +45 -0
  18. package/dist/api/api/videoWallApi.d.ts +9 -0
  19. package/dist/api/api/weatherApi.d.ts +9 -0
  20. package/dist/api/api/webRtcApi.d.ts +22 -0
  21. package/dist/api/index.d.ts +3 -0
  22. package/dist/api/types/360.d.ts +281 -0
  23. package/dist/api/types/aconex.d.ts +143 -0
  24. package/dist/api/types/admin.d.ts +51 -0
  25. package/dist/api/types/analytics.d.ts +597 -0
  26. package/dist/api/types/anpr.d.ts +114 -0
  27. package/dist/api/types/auditLogs.d.ts +99 -0
  28. package/dist/api/types/authz.d.ts +61 -0
  29. package/dist/api/types/autodesk.d.ts +29 -0
  30. package/dist/api/types/automation.d.ts +95 -0
  31. package/dist/api/types/axios.d.ts +71 -0
  32. package/dist/api/types/bim.d.ts +153 -0
  33. package/dist/api/types/camera.d.ts +535 -0
  34. package/dist/api/types/comments.d.ts +55 -0
  35. package/dist/api/types/company.d.ts +115 -0
  36. package/dist/api/types/compare.d.ts +72 -0
  37. package/dist/api/types/connector.d.ts +19 -0
  38. package/dist/api/types/coolify.d.ts +36 -0
  39. package/dist/api/types/copilot.d.ts +162 -0
  40. package/dist/api/types/countries.d.ts +500 -0
  41. package/dist/api/types/credentials.d.ts +6 -0
  42. package/dist/api/types/detections.d.ts +124 -0
  43. package/dist/api/types/drone.d.ts +106 -0
  44. package/dist/api/types/errors.d.ts +49 -0
  45. package/dist/api/types/gateReport.d.ts +332 -0
  46. package/dist/api/types/hdd.d.ts +88 -0
  47. package/dist/api/types/index.d.ts +65 -0
  48. package/dist/api/types/ingest.d.ts +147 -0
  49. package/dist/api/types/kit.d.ts +383 -0
  50. package/dist/api/types/map.d.ts +16 -0
  51. package/dist/api/types/media.d.ts +115 -0
  52. package/dist/api/types/notification.d.ts +57 -0
  53. package/dist/api/types/nvr.d.ts +36 -0
  54. package/dist/api/types/oauth.d.ts +62 -0
  55. package/dist/api/types/planner.d.ts +133 -0
  56. package/dist/api/types/posthog.d.ts +33 -0
  57. package/dist/api/types/procore.d.ts +229 -0
  58. package/dist/api/types/progressPhoto.d.ts +78 -0
  59. package/dist/api/types/project.d.ts +247 -0
  60. package/dist/api/types/recording.d.ts +125 -0
  61. package/dist/api/types/recycleBin.d.ts +14 -0
  62. package/dist/api/types/ring.d.ts +53 -0
  63. package/dist/api/types/roi.d.ts +27 -0
  64. package/dist/api/types/routeParams.d.ts +52 -0
  65. package/dist/api/types/router.d.ts +86 -0
  66. package/dist/api/types/shared.d.ts +219 -0
  67. package/dist/api/types/shares.d.ts +58 -0
  68. package/dist/api/types/sim.d.ts +114 -0
  69. package/dist/api/types/siteAnalytics.d.ts +287 -0
  70. package/dist/api/types/siteView.d.ts +74 -0
  71. package/dist/api/types/smartSeach.d.ts +5 -0
  72. package/dist/api/types/snapshots.d.ts +91 -0
  73. package/dist/api/types/sso.d.ts +55 -0
  74. package/dist/api/types/storageProvider.d.ts +19 -0
  75. package/dist/api/types/storyblok.d.ts +40 -0
  76. package/dist/api/types/streaming.d.ts +97 -0
  77. package/dist/api/types/systemCheck.d.ts +11 -0
  78. package/dist/api/types/tag.d.ts +12 -0
  79. package/dist/api/types/time.d.ts +7 -0
  80. package/dist/api/types/timelapse.d.ts +106 -0
  81. package/dist/api/types/user.d.ts +345 -0
  82. package/dist/api/types/vendorModel.d.ts +15 -0
  83. package/dist/api/types/videoWall.d.ts +66 -0
  84. package/dist/api/types/voyageControl.d.ts +6 -0
  85. package/dist/api/types/weather.d.ts +153 -0
  86. package/dist/api/types/widget.d.ts +252 -0
  87. package/dist/api/types/xweather.d.ts +12 -0
  88. package/dist/api/utils.d.ts +10 -0
  89. package/dist/index.d.ts +2 -0
  90. package/dist/index.js +3707 -0
  91. package/dist/index.js.map +1 -0
  92. package/dist/index.umd.cjs +2 -0
  93. package/dist/index.umd.cjs.map +1 -0
  94. package/dist/shared/api/index.d.ts +3 -0
  95. package/dist/shared/components/timelinePlayer/providers/index.d.ts +3 -0
  96. package/dist/shared/components/timelinePlayer/providers/timelineAnprProvider.d.ts +17 -0
  97. package/dist/shared/components/timelinePlayer/providers/timelineDataProvider.d.ts +13 -0
  98. package/dist/shared/components/timelinePlayer/providers/timelineLuminanceProvider.d.ts +16 -0
  99. package/dist/shared/types/components.d.ts +301 -0
  100. package/dist/shared/types/imagePlayer.d.ts +34 -0
  101. package/dist/shared/types/index.d.ts +5 -0
  102. package/dist/shared/types/rbac.d.ts +67 -0
  103. package/dist/shared/types/timeline.d.ts +10 -0
  104. package/package.json +50 -0
@@ -0,0 +1,106 @@
1
+ import { Point3D } from "@evercam/api/types/shared";
2
+ export type DroneCameraTransform = {
3
+ position: Point3D;
4
+ direction: Point3D;
5
+ up: Point3D;
6
+ right: Point3D;
7
+ };
8
+ export type DroneModel = {
9
+ cesiumId: string;
10
+ cesiumId2D: string;
11
+ date: string;
12
+ cesiumPointCloudId: string;
13
+ cesiumGausianSplatId: string;
14
+ pointSize: string;
15
+ maximumScreenSpaceError: string;
16
+ link: string;
17
+ trueIndex: number;
18
+ };
19
+ export type DroneProjectTransform = {
20
+ initialCameraTransform?: DroneCameraTransform;
21
+ initial2DCameraTransform?: DroneCameraTransform;
22
+ blackListIds?: string;
23
+ markers?: Record<string, DroneMarker>;
24
+ imageryPlans?: Record<string, DroneImageryPlan>;
25
+ bimData?: DroneBimData;
26
+ terrainPoints?: Record<string, Point3D[]>;
27
+ projectWGS84Coordinates?: DroneProjectCoordinates | null;
28
+ tags?: Record<string, DroneTag>;
29
+ };
30
+ export type DroneProjectData = {
31
+ models?: DroneModel[];
32
+ integrationType?: DroneProvider;
33
+ origin?: string;
34
+ params?: Record<string, unknown>;
35
+ pointSize?: string;
36
+ };
37
+ export type DroneProjectDataPatch = {
38
+ models?: Record<number, Partial<DroneModel>>;
39
+ integrationType?: DroneProvider;
40
+ origin?: string;
41
+ params?: string;
42
+ };
43
+ export type DroneProjectCoordinates = {
44
+ lat: number | null;
45
+ lon: number | null;
46
+ alt: number | null;
47
+ };
48
+ export type DroneTransformPatch = {
49
+ projectWGS84Coordinates?: DroneProjectCoordinates | null;
50
+ };
51
+ export declare enum DroneTagType {
52
+ AerialShot = "AerialShot"
53
+ }
54
+ export type DroneTag<T extends DroneTagType = DroneTagType> = {
55
+ id?: number;
56
+ type: T;
57
+ comment: string;
58
+ position?: Point3D;
59
+ cameraTransform?: DroneCameraTransform;
60
+ creationDate: string;
61
+ hyperlink?: string;
62
+ height?: number;
63
+ };
64
+ export type AerialShotPoint = DroneTag<DroneTagType.AerialShot>;
65
+ export type DroneMarkerTransform = {
66
+ fovAngle: number;
67
+ fovRadius: number;
68
+ heading: number;
69
+ height: number;
70
+ latitude: string;
71
+ longitude: string;
72
+ pitch: number;
73
+ roll: number;
74
+ scale: number;
75
+ };
76
+ export declare enum DroneMarkerType {
77
+ Default = "Default",
78
+ Gate = "Gate",
79
+ Indoor = "Indoor"
80
+ }
81
+ export type DroneMarker = {
82
+ type: DroneMarkerType;
83
+ name: string;
84
+ cameraExid: string;
85
+ transform: DroneMarkerTransform;
86
+ };
87
+ export type DroneImageryPlan = {
88
+ cesiumId: number;
89
+ uuid: string;
90
+ name: string;
91
+ alpha: number;
92
+ order: number;
93
+ };
94
+ export type DroneBimData = {
95
+ cesiumId: string | null;
96
+ iModelId: string | null;
97
+ changeSetId: string | null;
98
+ isItwin: boolean;
99
+ };
100
+ export declare enum DroneUrlParams {
101
+ Date = "date"
102
+ }
103
+ export declare enum DroneProvider {
104
+ Evercam = "Evercam",
105
+ DroneDeploy = "DroneDeploy"
106
+ }
@@ -0,0 +1,49 @@
1
+ import { AxiosError } from "axios";
2
+ export declare enum ErrorType {
3
+ BadRequestError = "BadRequestError",
4
+ NotFoundError = "NotFoundError",
5
+ UnauthorizedError = "UnauthorizedError",
6
+ GatewayTimeoutError = "GatewayTimeoutError",
7
+ BadGatewayError = "BadGatewayError",
8
+ ForbiddenError = "ForbiddenError",
9
+ HlsError = "HlsError",
10
+ SnapshotError = "SnapshotError",
11
+ ConflictError = "ConflictError",
12
+ InternalServerError = "InternalServerError",
13
+ CanceledError = "CanceledError",
14
+ UnhandledRejection = "UnhandledRejection",
15
+ TypeError = "TypeError"
16
+ }
17
+ export declare enum ErrorCode {
18
+ InternalServerError = 500,
19
+ BadGatewayError = 502,
20
+ ServiceUnavailableError = 503,
21
+ GatewayTimeoutError = 504,
22
+ BadRequestError = 400,
23
+ UnauthorizedError = 401,
24
+ ForbiddenError = 403,
25
+ NotFoundError = 404,
26
+ ConflictError = 409
27
+ }
28
+ export declare enum EvercamApiErrorCode {
29
+ IntegrationError = "INTEGRATION_ERROR",
30
+ BadArgument = "BAD_ARGUMENT",
31
+ DeviceError = "DEVICE_ERROR",
32
+ UnsupportedOperation = "UNSUPPORTED_OPERATION",
33
+ QuotaExceeded = "QUOTA_EXCEEDED",
34
+ InvalidCredentials = "INVALID_CREDENTIALS",
35
+ InvalidToken = "INVALID_TOKEN",
36
+ ProviderAuthFailure = "PROVIDER_AUTH_FAILURE",
37
+ ProviderEmailRequired = "PROVIDER_EMAIL_REQUIRED",
38
+ PasswordReset = "PASSWORD_RESET",
39
+ RequireShareRequest = "REQUIRE_SHARE_REQUEST",
40
+ Generic = "GENERIC"
41
+ }
42
+ type _EvercamApiError = {
43
+ code: EvercamApiErrorCode;
44
+ message: string;
45
+ details: string;
46
+ innerError?: _EvercamApiError;
47
+ };
48
+ export type EvercamApiError = AxiosError<_EvercamApiError>;
49
+ export {};
@@ -0,0 +1,332 @@
1
+ import { AnprDirection, AnprEvent, CameraExid, DateType, PaginatedItems, PaginationParams, ProjectExid, RoiDirection, RoiShapeType, RoiType, Timestamp, TuplePoint2D } from "@evercam/api/types";
2
+ export declare enum GateReportDetectionType {
3
+ Auto = "auto",
4
+ Manual = "manual",
5
+ Cloud = "cloud",
6
+ Edge = "edge"
7
+ }
8
+ export declare enum GateReportEventType {
9
+ Arrived = "arrived",
10
+ Left = "left"
11
+ }
12
+ export declare enum DetectionLabel {
13
+ ArticulatedDumper = "articulated-dumper",
14
+ BackhoeLoader = "backhoe-loader",
15
+ CompactExcavator = "compact-excavator",
16
+ ConcretePump = "concrete-pump",
17
+ Dumper = "dumper",
18
+ Excavator = "excavator",
19
+ FlatbedSemiTrailer = "flatbed-semi-trailer",
20
+ IndustrialTruck = "industrial-truck",
21
+ Loader = "loader",
22
+ Mewps = "mewps",
23
+ MobileCrane = "mobile-crane",
24
+ MobileCrusher = "mobile-crusher",
25
+ OtherTruck = "other-truck",
26
+ PileDrillingRig = "pile-drilling-rig",
27
+ RoadVehicle = "road-vehicle",
28
+ Roller = "roller",
29
+ SemiTrailer = "semi-trailer",
30
+ SkidSteerLoader = "skid-steer-loader",
31
+ SkipTruck = "skip-truck",
32
+ SmallTruck = "small-truck",
33
+ TankTruck = "tank-truck",
34
+ TeleHandler = "tele-handler",
35
+ TippingTruck = "tipping-truck",
36
+ TowerCrane = "tower-crane",
37
+ TowerMountedConcreteMix = "tower-mounted-concrete-mix",
38
+ TractorDozer = "tractor-dozer",
39
+ TruckHead = "truck-head",
40
+ TruckMixer = "truck-mixer",
41
+ TruckMountedMobileCrane = "truck-mounted-mobile-crane",
42
+ Unknown = "unknown",
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"
96
+ }
97
+ export declare enum SegmentLabel {
98
+ AirCompressor = "air_compressor",
99
+ Brick = "brick",
100
+ Building = "building",
101
+ CableReel = "cable_reel",
102
+ CementMixer = "cement_mixer",
103
+ CementPile = "cement_pile",
104
+ ConcreteBarrier = "concrete_barrier",
105
+ ConcreteBlock = "concrete_block",
106
+ ConstructionContainer = "construction_container",
107
+ ConstructionSite = "construction_site",
108
+ Crane = "crane",
109
+ DetachedExcavatorBucket = "detached_excavator_bucket",
110
+ DryMortarSilo = "dry_mortar_silo",
111
+ DumpTruck = "dump_truck",
112
+ Dumpster = "dumpster",
113
+ Fence = "fence",
114
+ FireHydrant = "fire_hydrant",
115
+ GarbageBin = "garbage_bin",
116
+ HoseReel = "hose_reel",
117
+ Ibc = "ibc",
118
+ JerryCan = "jerry_can",
119
+ MetalBeam = "metal_beam",
120
+ MiniDumper = "mini_dumper",
121
+ Pallet = "pallet",
122
+ Pipe = "pipe",
123
+ Puddle = "puddle",
124
+ Rebar = "rebar",
125
+ Rubble = "rubble",
126
+ Scaffolding = "scaffolding",
127
+ ShippingContainer = "shipping_container",
128
+ SiteOffice = "site_office",
129
+ TrafficCone = "traffic_cone",
130
+ Transformer = "transformer",
131
+ Vehicle = "vehicle",
132
+ Window = "window",
133
+ WoodenSpool = "wooden_spool",
134
+ Unknown = "unknown"
135
+ }
136
+ export declare enum GateReportVehicleType {
137
+ ConcretePump = "concrete-pump",
138
+ FlatbedSemiTrailer = "flatbed-semi-trailer",
139
+ OtherTruck = "other-truck",
140
+ RoadVehicle = "road-vehicle",
141
+ SemiTrailer = "semi-trailer",
142
+ SmallTruck = "small-truck",
143
+ TankTruck = "tank-truck",
144
+ TippingTruck = "tipping-truck",
145
+ TruckHead = "truck-head",
146
+ TruckMixer = "truck-mixer",
147
+ Unknown = "unknown"
148
+ }
149
+ export type GateReportVehicleTypeItem = {
150
+ label: string;
151
+ value: GateReportVehicleType;
152
+ };
153
+ export type GateReportEvent = {
154
+ id: number;
155
+ vehicleTypes: GateReportVehicleType;
156
+ exid: string;
157
+ cameraExid?: string;
158
+ boundingBox: BoundingBox;
159
+ detectionType: GateReportDetectionType;
160
+ edited: boolean;
161
+ eventTime: string;
162
+ timestamp?: string;
163
+ eventType: GateReportEventType;
164
+ isPublic: boolean;
165
+ roiId: string;
166
+ truckType: GateReportVehicleType;
167
+ thumbnailUrl?: string;
168
+ };
169
+ export type GateReportArrivedEvent = GateReportEvent & {
170
+ eventType: GateReportEventType.Arrived;
171
+ };
172
+ export type GateReportLeftEvent = GateReportEvent & {
173
+ eventType: GateReportEventType.Left;
174
+ };
175
+ export type GateReportVerifiedDay = {
176
+ id: number;
177
+ day: string;
178
+ isMatched: boolean;
179
+ insertedAt: string;
180
+ updatedAt: string;
181
+ verifiedBy: string;
182
+ cameraExid: CameraExid;
183
+ projectExid: ProjectExid;
184
+ };
185
+ export type BoundingBox = {
186
+ xmax: number;
187
+ xmin: number;
188
+ ymax: number;
189
+ ymin: number;
190
+ };
191
+ export type EventsCountsByVehicleType = Record<GateReportVehicleType, number>;
192
+ export type EventsCount = {
193
+ in: number;
194
+ out: number;
195
+ source: GateReportDataSource;
196
+ };
197
+ export type YearlyEventCount = EventsCount & {
198
+ year: string;
199
+ };
200
+ export type MonthlyEventCount = EventsCount & {
201
+ month: string;
202
+ };
203
+ export type DailyEventCount = EventsCount & {
204
+ day: string;
205
+ };
206
+ export type HourlyEventCount = {
207
+ hour: string;
208
+ count: number;
209
+ };
210
+ export type EventCountRequestPayload = {
211
+ vehicleTypes?: GateReportVehicleType[];
212
+ isPublic?: boolean;
213
+ camerasExid?: string[];
214
+ };
215
+ export type EventCountResponsePayload = {
216
+ days?: DailyEventCount[];
217
+ months?: MonthlyEventCount[];
218
+ years?: YearlyEventCount[];
219
+ };
220
+ export declare enum GateReportDataSource {
221
+ Anpr = "anpr",
222
+ Events = "events"
223
+ }
224
+ export type GateReportResponsePayload = {
225
+ source: GateReportDataSource;
226
+ results: PaginatedItems<AnprEvent>;
227
+ };
228
+ export declare enum GateReportEventDirection {
229
+ In = "in",
230
+ Out = "out",
231
+ Unknown = "unknown"
232
+ }
233
+ export type GatReportRequestPayload = {
234
+ camerasExid?: CameraExid[];
235
+ eventType?: GateReportEventType;
236
+ fromDate?: string;
237
+ isPublic?: boolean;
238
+ toDate?: string;
239
+ vehicleTypes?: GateReportVehicleType[];
240
+ } & PaginationParams;
241
+ export declare enum GateReportExportType {
242
+ Pdf = "pdf",
243
+ Csv = "csv"
244
+ }
245
+ export type AnprExportBaseParams = {
246
+ vehicleTypes?: GateReportVehicleType[];
247
+ fileType?: GateReportExportType;
248
+ fromDate?: string;
249
+ toDate?: string;
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 & {
260
+ direction?: AnprDirection;
261
+ };
262
+ export type GateReportROIShape = {
263
+ coordinates: TuplePoint2D[];
264
+ type: RoiShapeType;
265
+ };
266
+ export type GateReportROI = {
267
+ cameraex?: string;
268
+ fromDate?: string;
269
+ directionFilter?: RoiDirection;
270
+ id?: number;
271
+ insertedAt?: Timestamp;
272
+ isActive?: boolean;
273
+ name?: string;
274
+ roiType?: RoiType;
275
+ updatedAt?: Timestamp;
276
+ shapes?: GateReportROIShape[];
277
+ };
278
+ export declare enum GateReportProcessingStatus {
279
+ Processed = "processed",
280
+ Unprocessed = "unprocessed"
281
+ }
282
+ export declare const VEHICLE_TYPE_IDS: GateReportVehicleType[];
283
+ export type GateReportCamera = {
284
+ exid: number;
285
+ name: string;
286
+ status: string;
287
+ note: string;
288
+ last_published_day: DateType;
289
+ last_processed_day: DateType;
290
+ };
291
+ export type VerifiedDaysQueryParams = PaginationParams & {
292
+ projectExid: ProjectExid;
293
+ camerasExid: CameraExid[];
294
+ verifiedBy: string;
295
+ isMatched: boolean;
296
+ insertedAt: string[];
297
+ updatedAt: string[];
298
+ day: string;
299
+ };
300
+ export type VerifyDayUpdateRequestPayload = {
301
+ camerasExid: string[];
302
+ projectExid: string;
303
+ day: string;
304
+ isMatched: boolean;
305
+ verifiedBy: string;
306
+ };
307
+ export type ProcessedDaysQueryParams = {
308
+ camerasExid: CameraExid[];
309
+ isPublic: boolean;
310
+ eventType: GateReportEventType;
311
+ };
312
+ export type RoisQueryParams = {
313
+ camerasExid: CameraExid[];
314
+ id: number;
315
+ name: string;
316
+ fromDate: string;
317
+ roiType: RoiType;
318
+ isActive: boolean;
319
+ directionFilter: string;
320
+ sort: string;
321
+ };
322
+ export type GateReportRoiRequestPayload = {
323
+ id: number;
324
+ cameraExid: string;
325
+ name: string;
326
+ roiType: RoiType;
327
+ isActive: true;
328
+ fromDate: string;
329
+ shapes: GateReportROIShape[];
330
+ directionFilter: string;
331
+ note: string;
332
+ };
@@ -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
+ };
@@ -0,0 +1,65 @@
1
+ export * from "./360";
2
+ export * from "./aconex";
3
+ export * from "./analytics";
4
+ export * from "./anpr";
5
+ export * from "./admin";
6
+ export * from "./media";
7
+ export * from "./autodesk";
8
+ export * from "./bim";
9
+ export * from "./camera";
10
+ export * from "./compare";
11
+ export * from "./copilot";
12
+ export * from "./credentials";
13
+ export * from "./drone";
14
+ export * from "./errors";
15
+ export * from "./gateReport";
16
+ export * from "./hdd";
17
+ export * from "./ingest";
18
+ export * from "./map";
19
+ export * from "./connector";
20
+ export * from "./notification";
21
+ export * from "./nvr";
22
+ export * from "./procore";
23
+ export * from "./progressPhoto";
24
+ export * from "./project";
25
+ export * from "./recording";
26
+ export * from "./roi";
27
+ export * from "./routeParams";
28
+ export * from "./router";
29
+ export * from "./shares";
30
+ export * from "./sim";
31
+ export * from "./systemCheck";
32
+ export * from "./planner";
33
+ export * from "./storageProvider";
34
+ export * from "./streaming";
35
+ export * from "./storyblok";
36
+ export * from "./time";
37
+ export * from "./timelapse";
38
+ export * from "./user";
39
+ export * from "./vendorModel";
40
+ export * from "./videoWall";
41
+ export * from "./voyageControl";
42
+ export * from "./weather";
43
+ export * from "./comments";
44
+ export * from "./detections";
45
+ export * from "./axios";
46
+ export * from "./shared";
47
+ export * from "./company";
48
+ export * from "./kit";
49
+ export * from "./auditLogs";
50
+ export * from "./snapshots";
51
+ export * from "./siteAnalytics";
52
+ export * from "./widget";
53
+ export * from "./countries";
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";
65
+ export * from "./siteView";