@evercam/api 1.0.0-a405572ff → 1.0.0-a5bda6817
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/README.md +4 -1
- package/dist/api/api/3dFirebaseApi.d.ts +178 -0
- package/dist/api/api/adminApi.d.ts +377 -0
- package/dist/api/api/aiApi.d.ts +128 -0
- package/dist/api/api/authzApi.d.ts +37 -0
- package/dist/api/{client → api/client}/axios.d.ts +2 -1
- package/dist/api/{client → api/client}/customErrors.d.ts +10 -0
- package/dist/api/{client → api/client}/interceptors.d.ts +3 -2
- package/dist/api/api/client/swr/Swr.d.ts +14 -0
- package/dist/api/api/client/swr/SwrStore.d.ts +10 -0
- package/dist/api/api/evercamApi.d.ts +340 -0
- package/dist/api/api/evercamLabsApi.d.ts +45 -0
- package/dist/api/{exNvrApi.d.ts → api/exNvrApi.d.ts} +1 -1
- package/dist/api/api/index.d.ts +13 -0
- package/dist/api/api/ingestApi.d.ts +148 -0
- package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +13 -4
- package/dist/api/api/videoWallApi.d.ts +9 -0
- package/dist/api/api/weatherApi.d.ts +9 -0
- package/dist/api/index.d.ts +3 -13
- package/dist/api/types/360.d.ts +281 -0
- package/dist/api/types/aconex.d.ts +143 -0
- package/dist/api/types/admin.d.ts +51 -0
- package/dist/{types → api/types}/analytics.d.ts +234 -106
- package/dist/{types → api/types}/anpr.d.ts +33 -19
- package/dist/{types → api/types}/auditLogs.d.ts +19 -1
- package/dist/api/types/authz.d.ts +61 -0
- package/dist/{types → api/types}/autodesk.d.ts +7 -7
- package/dist/api/types/automation.d.ts +95 -0
- package/dist/{types → api/types}/axios.d.ts +23 -3
- package/dist/{types → api/types}/bim.d.ts +28 -5
- package/dist/{types → api/types}/camera.d.ts +117 -145
- package/dist/api/types/comments.d.ts +57 -0
- package/dist/api/types/company.d.ts +115 -0
- package/dist/{types → api/types}/compare.d.ts +20 -5
- package/dist/{types → api/types}/connector.d.ts +9 -6
- package/dist/api/types/coolify.d.ts +36 -0
- package/dist/{types → api/types}/copilot.d.ts +20 -13
- package/dist/{types → api/types}/countries.d.ts +0 -7
- package/dist/{types → api/types}/credentials.d.ts +1 -0
- package/dist/api/types/detections.d.ts +115 -0
- package/dist/api/types/drone.d.ts +106 -0
- package/dist/{types → api/types}/errors.d.ts +13 -0
- package/dist/{types → api/types}/gateReport.d.ts +99 -159
- package/dist/api/types/hdd.d.ts +88 -0
- package/dist/{types → api/types}/index.d.ts +17 -3
- package/dist/api/types/ingest.d.ts +147 -0
- package/dist/{types → api/types}/kit.d.ts +122 -10
- package/dist/api/types/map.d.ts +16 -0
- package/dist/{types → api/types}/media.d.ts +2 -1
- package/dist/api/types/notification.d.ts +57 -0
- package/dist/{types → api/types}/nvr.d.ts +2 -1
- package/dist/api/types/oauth.d.ts +62 -0
- package/dist/api/types/planner.d.ts +132 -0
- package/dist/api/types/posthog.d.ts +33 -0
- package/dist/api/types/procore.d.ts +229 -0
- package/dist/{types → api/types}/progressPhoto.d.ts +11 -23
- package/dist/api/types/project.d.ts +247 -0
- package/dist/{types → api/types}/recording.d.ts +6 -5
- package/dist/api/types/recycleBin.d.ts +14 -0
- package/dist/api/types/ring.d.ts +53 -0
- package/dist/{types → api/types}/roi.d.ts +1 -0
- package/dist/{types → api/types}/routeParams.d.ts +4 -2
- package/dist/{types → api/types}/router.d.ts +20 -1
- package/dist/{types → api/types}/shared.d.ts +33 -21
- package/dist/api/types/shares.d.ts +58 -0
- package/dist/{types → api/types}/sim.d.ts +6 -6
- package/dist/api/types/siteAnalytics.d.ts +287 -0
- package/dist/api/types/siteView.d.ts +74 -0
- package/dist/api/types/smartSeach.d.ts +5 -0
- package/dist/api/types/snapshots.d.ts +99 -0
- package/dist/api/types/sso.d.ts +55 -0
- package/dist/api/types/storageProvider.d.ts +19 -0
- package/dist/api/types/storyblok.d.ts +40 -0
- package/dist/api/types/streaming.d.ts +97 -0
- package/dist/api/types/systemCheck.d.ts +11 -0
- package/dist/api/types/tag.d.ts +12 -0
- package/dist/api/types/time.d.ts +7 -0
- package/dist/{types → api/types}/timelapse.d.ts +23 -5
- package/dist/{types → api/types}/user.d.ts +105 -36
- package/dist/api/types/videoWall.d.ts +66 -0
- package/dist/api/types/weather.d.ts +153 -0
- package/dist/{types → api/types}/widget.d.ts +106 -20
- package/dist/api/types/xweather.d.ts +12 -0
- package/dist/{utils.d.ts → api/utils.d.ts} +1 -0
- package/dist/index.d.ts +2 -3
- package/dist/index.js +2350 -1031
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/shared/api/index.d.ts +3 -0
- package/dist/shared/components/timelinePlayer/providers/index.d.ts +3 -0
- package/dist/shared/components/timelinePlayer/providers/timelineAnprProvider.d.ts +17 -0
- package/dist/shared/components/timelinePlayer/providers/timelineDataProvider.d.ts +13 -0
- package/dist/shared/components/timelinePlayer/providers/timelineLuminanceProvider.d.ts +16 -0
- package/dist/shared/types/components.d.ts +322 -0
- package/dist/shared/types/imagePlayer.d.ts +41 -0
- package/dist/shared/types/index.d.ts +5 -0
- package/dist/shared/types/rbac.d.ts +67 -0
- package/dist/shared/types/timeline.d.ts +10 -0
- package/package.json +10 -8
- package/dist/api/3dFirebaseApi.d.ts +0 -9
- package/dist/api/adminApi.d.ts +0 -281
- package/dist/api/aiApi.d.ts +0 -73
- package/dist/api/authzApi.d.ts +0 -21
- package/dist/api/evercamApi.d.ts +0 -266
- package/dist/api/evercamLabsApi.d.ts +0 -50
- package/dist/api/ingestApi.d.ts +0 -65
- package/dist/api/videoWallApi.d.ts +0 -9
- package/dist/api/weatherApi.d.ts +0 -25
- package/dist/types/360.d.ts +0 -83
- package/dist/types/aconex.d.ts +0 -45
- package/dist/types/automation.d.ts +0 -6
- package/dist/types/comments.d.ts +0 -36
- package/dist/types/company.d.ts +0 -46
- package/dist/types/detections.d.ts +0 -62
- package/dist/types/devices.d.ts +0 -228
- package/dist/types/drone.d.ts +0 -17
- package/dist/types/ingest.d.ts +0 -43
- package/dist/types/map.d.ts +0 -4
- package/dist/types/notification.d.ts +0 -27
- package/dist/types/procore.d.ts +0 -76
- package/dist/types/project.d.ts +0 -120
- package/dist/types/shares.d.ts +0 -192
- package/dist/types/siteAnalytics.d.ts +0 -5
- package/dist/types/sitePlanner.d.ts +0 -23
- package/dist/types/snapshots.d.ts +0 -50
- package/dist/types/storageServers.d.ts +0 -4
- package/dist/types/streaming.d.ts +0 -120
- package/dist/types/time.d.ts +0 -19
- package/dist/types/videoWall.d.ts +0 -33
- package/dist/types/weather.d.ts +0 -83
- /package/dist/api/{client → api/client}/index.d.ts +0 -0
- /package/dist/api/{webRtcApi.d.ts → api/webRtcApi.d.ts} +0 -0
- /package/dist/{types → api/types}/vendorModel.d.ts +0 -0
- /package/dist/{types → api/types}/voyageControl.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnprDirection,
|
|
1
|
+
import { AnprDirection, AnprEvent, CameraExid, DateType, PaginatedItems, PaginationParams, ProjectExid, RoiDirection, RoiShapeType, RoiType, Timestamp, TuplePoint2D } 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
|
-
|
|
99
|
-
|
|
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:
|
|
177
|
+
day: string;
|
|
126
178
|
isMatched: boolean;
|
|
127
|
-
insertedAt:
|
|
128
|
-
updatedAt:
|
|
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:
|
|
198
|
+
year: string;
|
|
147
199
|
};
|
|
148
200
|
export type MonthlyEventCount = EventsCount & {
|
|
149
|
-
month:
|
|
201
|
+
month: string;
|
|
150
202
|
};
|
|
151
203
|
export type DailyEventCount = EventsCount & {
|
|
152
|
-
day:
|
|
204
|
+
day: string;
|
|
153
205
|
};
|
|
154
206
|
export type HourlyEventCount = {
|
|
155
|
-
hour:
|
|
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<
|
|
226
|
+
results: PaginatedItems<AnprEvent>;
|
|
193
227
|
};
|
|
194
228
|
export declare enum GateReportEventDirection {
|
|
195
229
|
In = "in",
|
|
@@ -199,53 +233,45 @@ export declare enum GateReportEventDirection {
|
|
|
199
233
|
export type GatReportRequestPayload = {
|
|
200
234
|
camerasExid?: CameraExid[];
|
|
201
235
|
eventType?: GateReportEventType;
|
|
202
|
-
fromDate?:
|
|
236
|
+
fromDate?: string;
|
|
203
237
|
isPublic?: boolean;
|
|
204
|
-
toDate?:
|
|
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
|
|
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?:
|
|
223
|
-
toDate?:
|
|
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
|
-
type X1 = number;
|
|
228
|
-
type Y1 = number;
|
|
229
|
-
type X2 = number;
|
|
230
|
-
type Y2 = number;
|
|
231
|
-
export declare enum GateReportROIShapeType {
|
|
232
|
-
Rectangle = "rectangle",
|
|
233
|
-
Direction = "direction",
|
|
234
|
-
Line = "line"
|
|
235
|
-
}
|
|
236
262
|
export type GateReportROIShape = {
|
|
237
|
-
coordinates: [
|
|
238
|
-
type:
|
|
263
|
+
coordinates: TuplePoint2D[];
|
|
264
|
+
type: RoiShapeType;
|
|
239
265
|
};
|
|
240
266
|
export type GateReportROI = {
|
|
241
267
|
cameraex?: string;
|
|
242
268
|
fromDate?: string;
|
|
243
|
-
directionFilter?:
|
|
269
|
+
directionFilter?: RoiDirection;
|
|
244
270
|
id?: number;
|
|
245
271
|
insertedAt?: Timestamp;
|
|
246
|
-
|
|
272
|
+
isActive?: boolean;
|
|
247
273
|
name?: string;
|
|
248
|
-
roiType?:
|
|
274
|
+
roiType?: RoiType;
|
|
249
275
|
updatedAt?: Timestamp;
|
|
250
276
|
shapes?: GateReportROIShape[];
|
|
251
277
|
};
|
|
@@ -262,89 +288,19 @@ export type GateReportCamera = {
|
|
|
262
288
|
last_published_day: DateType;
|
|
263
289
|
last_processed_day: DateType;
|
|
264
290
|
};
|
|
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
291
|
export type VerifiedDaysQueryParams = PaginationParams & {
|
|
312
292
|
projectExid: ProjectExid;
|
|
313
293
|
camerasExid: CameraExid[];
|
|
314
294
|
verifiedBy: string;
|
|
315
295
|
isMatched: boolean;
|
|
316
|
-
insertedAt:
|
|
317
|
-
updatedAt:
|
|
296
|
+
insertedAt: string[];
|
|
297
|
+
updatedAt: string[];
|
|
318
298
|
day: string;
|
|
319
299
|
};
|
|
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
300
|
export type VerifyDayUpdateRequestPayload = {
|
|
345
301
|
camerasExid: string[];
|
|
346
302
|
projectExid: string;
|
|
347
|
-
day:
|
|
303
|
+
day: string;
|
|
348
304
|
isMatched: boolean;
|
|
349
305
|
verifiedBy: string;
|
|
350
306
|
};
|
|
@@ -353,40 +309,24 @@ export type ProcessedDaysQueryParams = {
|
|
|
353
309
|
isPublic: boolean;
|
|
354
310
|
eventType: GateReportEventType;
|
|
355
311
|
};
|
|
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
312
|
export type RoisQueryParams = {
|
|
369
|
-
|
|
313
|
+
camerasExid: CameraExid[];
|
|
370
314
|
id: number;
|
|
371
315
|
name: string;
|
|
372
316
|
fromDate: string;
|
|
373
|
-
roiType:
|
|
374
|
-
|
|
317
|
+
roiType: RoiType;
|
|
318
|
+
isActive: boolean;
|
|
375
319
|
directionFilter: string;
|
|
376
320
|
sort: string;
|
|
377
321
|
};
|
|
378
|
-
export type
|
|
379
|
-
id
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
note: string;
|
|
389
|
-
};
|
|
390
|
-
createdBy: string;
|
|
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;
|
|
391
332
|
};
|
|
392
|
-
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 "./
|
|
31
|
-
export * from "./
|
|
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,14 @@ 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";
|
|
65
|
+
export * from "./siteView";
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { PaginationParams, DateType, JsonValue, TuplePoint2D } 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: TuplePoint2D[];
|
|
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
|
+
}>;
|