@evercam/api 1.0.0-213bdb2b3
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 +1 -0
- package/dist/api/3dFirebaseApi.d.ts +9 -0
- package/dist/api/adminApi.d.ts +289 -0
- package/dist/api/aiApi.d.ts +79 -0
- package/dist/api/authzApi.d.ts +21 -0
- package/dist/api/client/axios.d.ts +13 -0
- package/dist/api/client/customErrors.d.ts +80 -0
- package/dist/api/client/index.d.ts +5 -0
- package/dist/api/client/interceptors.d.ts +9 -0
- package/dist/api/evercamApi.d.ts +266 -0
- package/dist/api/evercamLabsApi.d.ts +47 -0
- package/dist/api/exNvrApi.d.ts +43 -0
- package/dist/api/index.d.ts +13 -0
- package/dist/api/ingestApi.d.ts +65 -0
- package/dist/api/ptzApi.d.ts +36 -0
- package/dist/api/videoWallApi.d.ts +9 -0
- package/dist/api/weatherApi.d.ts +25 -0
- package/dist/api/webRtcApi.d.ts +22 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2385 -0
- package/dist/index.js.map +1 -0
- package/dist/index.umd.cjs +2 -0
- package/dist/index.umd.cjs.map +1 -0
- package/dist/types/360.d.ts +83 -0
- package/dist/types/aconex.d.ts +45 -0
- package/dist/types/analytics.d.ts +481 -0
- package/dist/types/anpr.d.ts +98 -0
- package/dist/types/auditLogs.d.ts +99 -0
- package/dist/types/autodesk.d.ts +29 -0
- package/dist/types/automation.d.ts +6 -0
- package/dist/types/axios.d.ts +51 -0
- package/dist/types/bim.d.ts +147 -0
- package/dist/types/camera.d.ts +563 -0
- package/dist/types/comments.d.ts +36 -0
- package/dist/types/company.d.ts +46 -0
- package/dist/types/compare.d.ts +57 -0
- package/dist/types/connector.d.ts +16 -0
- package/dist/types/copilot.d.ts +156 -0
- package/dist/types/countries.d.ts +507 -0
- package/dist/types/credentials.d.ts +5 -0
- package/dist/types/detections.d.ts +73 -0
- package/dist/types/devices.d.ts +228 -0
- package/dist/types/drone.d.ts +17 -0
- package/dist/types/errors.d.ts +36 -0
- package/dist/types/gateReport.d.ts +441 -0
- package/dist/types/index.d.ts +51 -0
- package/dist/types/ingest.d.ts +43 -0
- package/dist/types/kit.d.ts +295 -0
- package/dist/types/map.d.ts +4 -0
- package/dist/types/media.d.ts +114 -0
- package/dist/types/notification.d.ts +27 -0
- package/dist/types/nvr.d.ts +35 -0
- package/dist/types/procore.d.ts +76 -0
- package/dist/types/progressPhoto.d.ts +90 -0
- package/dist/types/project.d.ts +120 -0
- package/dist/types/recording.d.ts +124 -0
- package/dist/types/roi.d.ts +26 -0
- package/dist/types/routeParams.d.ts +50 -0
- package/dist/types/router.d.ts +67 -0
- package/dist/types/shared.d.ts +208 -0
- package/dist/types/shares.d.ts +192 -0
- package/dist/types/sim.d.ts +114 -0
- package/dist/types/siteAnalytics.d.ts +5 -0
- package/dist/types/sitePlanner.d.ts +26 -0
- package/dist/types/snapshots.d.ts +50 -0
- package/dist/types/storageServers.d.ts +4 -0
- package/dist/types/streaming.d.ts +119 -0
- package/dist/types/time.d.ts +19 -0
- package/dist/types/timelapse.d.ts +84 -0
- package/dist/types/user.d.ts +276 -0
- package/dist/types/vendorModel.d.ts +15 -0
- package/dist/types/videoWall.d.ts +33 -0
- package/dist/types/voyageControl.d.ts +6 -0
- package/dist/types/weather.d.ts +83 -0
- package/dist/types/widget.d.ts +169 -0
- package/dist/utils.d.ts +9 -0
- package/package.json +49 -0
|
@@ -0,0 +1,441 @@
|
|
|
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";
|
|
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
|
+
PlasticWrap = "plastic_wrap",
|
|
63
|
+
ContainerOffice = "container_office",
|
|
64
|
+
ElectricalPole = "electrical_pole",
|
|
65
|
+
ElectricalBox = "electrical_box",
|
|
66
|
+
FireHydrant = "fire_hydrant",
|
|
67
|
+
HoseReel = "hose_reel",
|
|
68
|
+
Ladder = "ladder",
|
|
69
|
+
MetalBeam = "metal_beam",
|
|
70
|
+
MetalPipe = "metal_pipe",
|
|
71
|
+
Pallet = "pallet",
|
|
72
|
+
Pillar = "pillar",
|
|
73
|
+
PlasticBin = "plastic_bin",
|
|
74
|
+
PlasticBucket = "plastic_bucket",
|
|
75
|
+
PlasticPipe = "plastic_pipe",
|
|
76
|
+
PublicToilet = "public_toilet",
|
|
77
|
+
Sign = "sign",
|
|
78
|
+
SiteToolbox = "site_toolbox",
|
|
79
|
+
StreetSink = "street_sink",
|
|
80
|
+
TrafficBarrier = "traffic_barrier",
|
|
81
|
+
TrafficCone = "traffic_cone",
|
|
82
|
+
Wall = "wall",
|
|
83
|
+
WasteContainer = "waste_container",
|
|
84
|
+
WaterStorageTank = "water_storage_tank",
|
|
85
|
+
Wheelbarrow = "wheelbarrow",
|
|
86
|
+
Window = "window",
|
|
87
|
+
WoodPlank = "wood_plank",
|
|
88
|
+
CableReel = "cable_reel",
|
|
89
|
+
AirConditioningSystem = "air_conditioning_system",
|
|
90
|
+
WoodenBox = "wooden_box",
|
|
91
|
+
PlasticBag = "plastic_bag",
|
|
92
|
+
MaterialStack = "material_stack"
|
|
93
|
+
}
|
|
94
|
+
export declare enum SegmentLabel {
|
|
95
|
+
AirCompressor = "air_compressor",
|
|
96
|
+
Brick = "brick",
|
|
97
|
+
Building = "building",
|
|
98
|
+
CableReel = "cable_reel",
|
|
99
|
+
CementMixer = "cement_mixer",
|
|
100
|
+
CementPile = "cement_pile",
|
|
101
|
+
ConcreteBarrier = "concrete_barrier",
|
|
102
|
+
ConcreteBlock = "concrete_block",
|
|
103
|
+
ConstructionContainer = "construction_container",
|
|
104
|
+
ConstructionSite = "construction_site",
|
|
105
|
+
Crane = "crane",
|
|
106
|
+
DetachedExcavatorBucket = "detached_excavator_bucket",
|
|
107
|
+
DryMortarSilo = "dry_mortar_silo",
|
|
108
|
+
DumpTruck = "dump_truck",
|
|
109
|
+
Dumpster = "dumpster",
|
|
110
|
+
Fence = "fence",
|
|
111
|
+
FireHydrant = "fire_hydrant",
|
|
112
|
+
GarbageBin = "garbage_bin",
|
|
113
|
+
HoseReel = "hose_reel",
|
|
114
|
+
Ibc = "ibc",
|
|
115
|
+
JerryCan = "jerry_can",
|
|
116
|
+
MetalBeam = "metal_beam",
|
|
117
|
+
MiniDumper = "mini_dumper",
|
|
118
|
+
Pallet = "pallet",
|
|
119
|
+
Pipe = "pipe",
|
|
120
|
+
Puddle = "puddle",
|
|
121
|
+
Rebar = "rebar",
|
|
122
|
+
Rubble = "rubble",
|
|
123
|
+
Scaffolding = "scaffolding",
|
|
124
|
+
ShippingContainer = "shipping_container",
|
|
125
|
+
SiteOffice = "site_office",
|
|
126
|
+
TrafficCone = "traffic_cone",
|
|
127
|
+
Transformer = "transformer",
|
|
128
|
+
Vehicle = "vehicle",
|
|
129
|
+
Window = "window",
|
|
130
|
+
WoodenSpool = "wooden_spool",
|
|
131
|
+
Unknown = "unknown"
|
|
132
|
+
}
|
|
133
|
+
export declare enum GateReportVehicleType {
|
|
134
|
+
ConcretePump = "concrete-pump",
|
|
135
|
+
FlatbedSemiTrailer = "flatbed-semi-trailer",
|
|
136
|
+
OtherTruck = "other-truck",
|
|
137
|
+
RoadVehicle = "road-vehicle",
|
|
138
|
+
SemiTrailer = "semi-trailer",
|
|
139
|
+
SmallTruck = "small-truck",
|
|
140
|
+
TankTruck = "tank-truck",
|
|
141
|
+
TippingTruck = "tipping-truck",
|
|
142
|
+
TruckHead = "truck-head",
|
|
143
|
+
TruckMixer = "truck-mixer",
|
|
144
|
+
Unknown = "unknown"
|
|
145
|
+
}
|
|
146
|
+
export type GateReportVehicleTypeItem = {
|
|
147
|
+
name: string;
|
|
148
|
+
id: GateReportVehicleType;
|
|
149
|
+
};
|
|
150
|
+
export type GateReportEvent = {
|
|
151
|
+
id: number;
|
|
152
|
+
vehicleTypes: GateReportVehicleType;
|
|
153
|
+
exid: string;
|
|
154
|
+
cameraExid?: string;
|
|
155
|
+
boundingBox: BoundingBox;
|
|
156
|
+
detectionType: GateReportDetectionType;
|
|
157
|
+
edited: boolean;
|
|
158
|
+
eventTime: string;
|
|
159
|
+
timestamp?: string;
|
|
160
|
+
eventType: GateReportEventType;
|
|
161
|
+
isPublic: boolean;
|
|
162
|
+
roiId: string;
|
|
163
|
+
truckType: GateReportVehicleType;
|
|
164
|
+
thumbnailUrl?: string;
|
|
165
|
+
};
|
|
166
|
+
export type GateReportArrivedEvent = GateReportEvent & {
|
|
167
|
+
eventType: GateReportEventType.Arrived;
|
|
168
|
+
};
|
|
169
|
+
export type GateReportLeftEvent = GateReportEvent & {
|
|
170
|
+
eventType: GateReportEventType.Left;
|
|
171
|
+
};
|
|
172
|
+
export type GateReportVerifiedDay = {
|
|
173
|
+
id: number;
|
|
174
|
+
day: Date_YYYY_MM_DD;
|
|
175
|
+
isMatched: boolean;
|
|
176
|
+
insertedAt: DateTime;
|
|
177
|
+
updatedAt: DateTime;
|
|
178
|
+
verifiedBy: string;
|
|
179
|
+
cameraExid: CameraExid;
|
|
180
|
+
projectExid: ProjectExid;
|
|
181
|
+
};
|
|
182
|
+
export type BoundingBox = {
|
|
183
|
+
xmax: number;
|
|
184
|
+
xmin: number;
|
|
185
|
+
ymax: number;
|
|
186
|
+
ymin: number;
|
|
187
|
+
};
|
|
188
|
+
export type EventsCountsByVehicleType = Record<GateReportVehicleType, number>;
|
|
189
|
+
export type EventsCount = {
|
|
190
|
+
in: number;
|
|
191
|
+
out: number;
|
|
192
|
+
source: GateReportDataSource;
|
|
193
|
+
};
|
|
194
|
+
export type YearlyEventCount = EventsCount & {
|
|
195
|
+
year: Date_YYYY;
|
|
196
|
+
};
|
|
197
|
+
export type MonthlyEventCount = EventsCount & {
|
|
198
|
+
month: Date_YYYY_MM;
|
|
199
|
+
};
|
|
200
|
+
export type DailyEventCount = EventsCount & {
|
|
201
|
+
day: Date_YYYY_MM_DD;
|
|
202
|
+
};
|
|
203
|
+
export type HourlyEventCount = {
|
|
204
|
+
hour: Date_HH;
|
|
205
|
+
count: number;
|
|
206
|
+
};
|
|
207
|
+
export type EventCountRequestPayload = {
|
|
208
|
+
vehicleTypes?: GateReportVehicleType[];
|
|
209
|
+
isPublic?: boolean;
|
|
210
|
+
camerasExid?: string[];
|
|
211
|
+
};
|
|
212
|
+
export type EventCountResponsePayload = {
|
|
213
|
+
days?: DailyEventCount[];
|
|
214
|
+
months?: MonthlyEventCount[];
|
|
215
|
+
years?: YearlyEventCount[];
|
|
216
|
+
};
|
|
217
|
+
export type ProcessedDaysRequestPayload = {
|
|
218
|
+
apiId?: string;
|
|
219
|
+
apiKey?: string;
|
|
220
|
+
isPublic?: Boolean;
|
|
221
|
+
};
|
|
222
|
+
export type EventsRequestPayload = {
|
|
223
|
+
apiId?: string;
|
|
224
|
+
apiKey?: string;
|
|
225
|
+
camerasExid?: CameraExid[];
|
|
226
|
+
cameras?: string[];
|
|
227
|
+
eventType?: GateReportEventType;
|
|
228
|
+
fromDate?: DateTime;
|
|
229
|
+
isPublic?: boolean;
|
|
230
|
+
toDate?: DateTime;
|
|
231
|
+
truckTypes?: GateReportVehicleType[];
|
|
232
|
+
vehicleTypes?: string[];
|
|
233
|
+
} & PaginationParams;
|
|
234
|
+
export type EventsResponsePayload = PaginatedItems<GateReportEvent>;
|
|
235
|
+
export declare enum GateReportDataSource {
|
|
236
|
+
Anpr = "anpr",
|
|
237
|
+
Events = "events"
|
|
238
|
+
}
|
|
239
|
+
export type GateReportResponsePayload = {
|
|
240
|
+
source: GateReportDataSource;
|
|
241
|
+
results: PaginatedItems<GateReportEvent>;
|
|
242
|
+
};
|
|
243
|
+
export declare enum GateReportEventDirection {
|
|
244
|
+
In = "in",
|
|
245
|
+
Out = "out",
|
|
246
|
+
Unknown = "unknown"
|
|
247
|
+
}
|
|
248
|
+
export type GatReportRequestPayload = {
|
|
249
|
+
camerasExid?: CameraExid[];
|
|
250
|
+
eventType?: GateReportEventType;
|
|
251
|
+
fromDate?: DateTime;
|
|
252
|
+
isPublic?: boolean;
|
|
253
|
+
toDate?: DateTime;
|
|
254
|
+
vehicleTypes?: GateReportVehicleType[];
|
|
255
|
+
} & PaginationParams;
|
|
256
|
+
export declare enum GateReportExportType {
|
|
257
|
+
Pdf = "pdf",
|
|
258
|
+
Csv = "csv"
|
|
259
|
+
}
|
|
260
|
+
export type EventsExportRequestParameters = {
|
|
261
|
+
vehicleTypes: GateReportVehicleType[];
|
|
262
|
+
fileType: GateReportExportType;
|
|
263
|
+
fromDate: DateTimeSpaceSeparated;
|
|
264
|
+
toDate: DateTimeSpaceSeparated;
|
|
265
|
+
camerasExid: CameraExid[];
|
|
266
|
+
eventType: GateReportEventType;
|
|
267
|
+
};
|
|
268
|
+
export type AnprBasedGateReportExportRequestParams = {
|
|
269
|
+
vehicleTypes?: GateReportVehicleType[];
|
|
270
|
+
fileType?: GateReportExportType;
|
|
271
|
+
fromDate?: DateTimeSpaceSeparated;
|
|
272
|
+
toDate?: DateTimeSpaceSeparated;
|
|
273
|
+
camerasExid?: CameraExid[];
|
|
274
|
+
direction?: AnprDirection;
|
|
275
|
+
};
|
|
276
|
+
type X1 = number;
|
|
277
|
+
type Y1 = number;
|
|
278
|
+
type X2 = number;
|
|
279
|
+
type Y2 = number;
|
|
280
|
+
export declare enum GateReportROIShapeType {
|
|
281
|
+
Rectangle = "rectangle",
|
|
282
|
+
Direction = "direction",
|
|
283
|
+
Line = "line"
|
|
284
|
+
}
|
|
285
|
+
export type GateReportROIShape = {
|
|
286
|
+
coordinates: [[X1, Y1], [X2, Y2]];
|
|
287
|
+
type: GateReportROIShapeType;
|
|
288
|
+
};
|
|
289
|
+
export type GateReportROI = {
|
|
290
|
+
cameraex?: string;
|
|
291
|
+
fromDate?: string;
|
|
292
|
+
directionFilter?: string;
|
|
293
|
+
id?: number;
|
|
294
|
+
insertedAt?: Timestamp;
|
|
295
|
+
isactive?: boolean;
|
|
296
|
+
name?: string;
|
|
297
|
+
roiType?: string;
|
|
298
|
+
updatedAt?: Timestamp;
|
|
299
|
+
shapes?: GateReportROIShape[];
|
|
300
|
+
};
|
|
301
|
+
export declare enum GateReportProcessingStatus {
|
|
302
|
+
Processed = "processed",
|
|
303
|
+
Unprocessed = "unprocessed"
|
|
304
|
+
}
|
|
305
|
+
export declare const VEHICLE_TYPE_IDS: GateReportVehicleType[];
|
|
306
|
+
export type GateReportCamera = {
|
|
307
|
+
exid: number;
|
|
308
|
+
name: string;
|
|
309
|
+
status: string;
|
|
310
|
+
note: string;
|
|
311
|
+
last_published_day: DateType;
|
|
312
|
+
last_processed_day: DateType;
|
|
313
|
+
};
|
|
314
|
+
export type GateReportProject = {
|
|
315
|
+
exid: string;
|
|
316
|
+
name: string;
|
|
317
|
+
status: string;
|
|
318
|
+
featureFlags: ProjectFeatureFlag;
|
|
319
|
+
cameras: GateReportCamera[];
|
|
320
|
+
};
|
|
321
|
+
export type AnalyticsParameters = {
|
|
322
|
+
id: number;
|
|
323
|
+
cameraex: string;
|
|
324
|
+
processingType: string;
|
|
325
|
+
startDate: DateTime;
|
|
326
|
+
endDate: DateTime;
|
|
327
|
+
skipWeekend: boolean;
|
|
328
|
+
hourSiteOpening: number;
|
|
329
|
+
hourSiteClosure: number;
|
|
330
|
+
gateReportActive: boolean;
|
|
331
|
+
countingActive: boolean;
|
|
332
|
+
queueSystem: string;
|
|
333
|
+
reprocess: boolean;
|
|
334
|
+
framesToSkip: number;
|
|
335
|
+
detection_model: string;
|
|
336
|
+
detectionThreshold: number;
|
|
337
|
+
printLogsFrame: number;
|
|
338
|
+
crossingVectorAngleLimit: number;
|
|
339
|
+
minTruckLife: number;
|
|
340
|
+
insideMinTime: number;
|
|
341
|
+
trackerMaxAge: number;
|
|
342
|
+
trackerMinHit: number;
|
|
343
|
+
snapshotUpload: boolean;
|
|
344
|
+
snapshotPerSecond: number;
|
|
345
|
+
detectionClasses: string;
|
|
346
|
+
deepEventEndpointUrl: string;
|
|
347
|
+
timestampCalculation: string;
|
|
348
|
+
matchingEmbeddedDstCoeff: number;
|
|
349
|
+
matchingTimeCoeff: number;
|
|
350
|
+
matchingQueueOrderCoeff: number;
|
|
351
|
+
rabbitmqServerUrl: string;
|
|
352
|
+
rabbitmqEventsQueue: string;
|
|
353
|
+
rabbitmqEventsExchange: string;
|
|
354
|
+
rabbitmqCountingQueue: string;
|
|
355
|
+
rabbitmqCountingExchange: string;
|
|
356
|
+
dangerZones: boolean;
|
|
357
|
+
workflows: boolean;
|
|
358
|
+
linkedAnprCameras: Record<string, unknown>;
|
|
359
|
+
};
|
|
360
|
+
export type VerifiedDaysQueryParams = PaginationParams & {
|
|
361
|
+
projectExid: ProjectExid;
|
|
362
|
+
camerasExid: CameraExid[];
|
|
363
|
+
verifiedBy: string;
|
|
364
|
+
isMatched: boolean;
|
|
365
|
+
insertedAt: DateTime[];
|
|
366
|
+
updatedAt: DateTime[];
|
|
367
|
+
day: string;
|
|
368
|
+
};
|
|
369
|
+
export type EventUpdateRequestPayload = {
|
|
370
|
+
cameraex: string;
|
|
371
|
+
roiId: number;
|
|
372
|
+
eventType: string;
|
|
373
|
+
eventTime: "2024-12-13T14:25:58.066Z";
|
|
374
|
+
truckType: string;
|
|
375
|
+
isPublic: boolean;
|
|
376
|
+
boundingBox: {
|
|
377
|
+
additionalProp1: number;
|
|
378
|
+
additionalProp2: number;
|
|
379
|
+
additionalProp3: number;
|
|
380
|
+
};
|
|
381
|
+
valid: boolean;
|
|
382
|
+
loadState: string;
|
|
383
|
+
embeddingId: number;
|
|
384
|
+
embedding: number[];
|
|
385
|
+
similarityDst: number;
|
|
386
|
+
detectionType: string;
|
|
387
|
+
trackingId: number;
|
|
388
|
+
deliveriesId: number;
|
|
389
|
+
edited: boolean;
|
|
390
|
+
isDeleted: boolean;
|
|
391
|
+
modelVersion: string;
|
|
392
|
+
};
|
|
393
|
+
export type VerifyDayUpdateRequestPayload = {
|
|
394
|
+
camerasExid: string[];
|
|
395
|
+
projectExid: string;
|
|
396
|
+
day: Date_YYYY_MM_DD;
|
|
397
|
+
isMatched: boolean;
|
|
398
|
+
verifiedBy: string;
|
|
399
|
+
};
|
|
400
|
+
export type ProcessedDaysQueryParams = {
|
|
401
|
+
camerasExid: CameraExid[];
|
|
402
|
+
isPublic: boolean;
|
|
403
|
+
eventType: GateReportEventType;
|
|
404
|
+
};
|
|
405
|
+
export type SecurityMeasurementQueryParams = {
|
|
406
|
+
cameraex: string;
|
|
407
|
+
timestamp: DateTime;
|
|
408
|
+
prompt: string;
|
|
409
|
+
snapshotUrl: string;
|
|
410
|
+
};
|
|
411
|
+
export type ObjectDetectionQueryParams = {
|
|
412
|
+
cameraex: string;
|
|
413
|
+
timestamp: DateTime;
|
|
414
|
+
base64Img: string;
|
|
415
|
+
snapshotUrl: string;
|
|
416
|
+
};
|
|
417
|
+
export type RoisQueryParams = {
|
|
418
|
+
cameraExid: string;
|
|
419
|
+
id: number;
|
|
420
|
+
name: string;
|
|
421
|
+
fromDate: string;
|
|
422
|
+
roiType: GateReportROIShapeType;
|
|
423
|
+
isactive: boolean;
|
|
424
|
+
directionFilter: string;
|
|
425
|
+
sort: string;
|
|
426
|
+
};
|
|
427
|
+
export type GateReportROICreateRequestPayload = {
|
|
428
|
+
id?: number;
|
|
429
|
+
roi: {
|
|
430
|
+
cameraex: string;
|
|
431
|
+
name: string;
|
|
432
|
+
roiType: string;
|
|
433
|
+
isactive: true;
|
|
434
|
+
fromDate: string;
|
|
435
|
+
shapes: Record<string, unknown>[];
|
|
436
|
+
directionFilter: string;
|
|
437
|
+
note: string;
|
|
438
|
+
};
|
|
439
|
+
createdBy: string;
|
|
440
|
+
};
|
|
441
|
+
export {};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export * from "./360";
|
|
2
|
+
export * from "./aconex";
|
|
3
|
+
export * from "./analytics";
|
|
4
|
+
export * from "./anpr";
|
|
5
|
+
export * from "./media";
|
|
6
|
+
export * from "./autodesk";
|
|
7
|
+
export * from "./bim";
|
|
8
|
+
export * from "./camera";
|
|
9
|
+
export * from "./compare";
|
|
10
|
+
export * from "./copilot";
|
|
11
|
+
export * from "./credentials";
|
|
12
|
+
export * from "./devices";
|
|
13
|
+
export * from "./drone";
|
|
14
|
+
export * from "./errors";
|
|
15
|
+
export * from "./gateReport";
|
|
16
|
+
export * from "./ingest";
|
|
17
|
+
export * from "./map";
|
|
18
|
+
export * from "./connector";
|
|
19
|
+
export * from "./notification";
|
|
20
|
+
export * from "./nvr";
|
|
21
|
+
export * from "./procore";
|
|
22
|
+
export * from "./progressPhoto";
|
|
23
|
+
export * from "./project";
|
|
24
|
+
export * from "./recording";
|
|
25
|
+
export * from "./roi";
|
|
26
|
+
export * from "./routeParams";
|
|
27
|
+
export * from "./router";
|
|
28
|
+
export * from "./shares";
|
|
29
|
+
export * from "./sim";
|
|
30
|
+
export * from "./sitePlanner";
|
|
31
|
+
export * from "./storageServers";
|
|
32
|
+
export * from "./streaming";
|
|
33
|
+
export * from "./time";
|
|
34
|
+
export * from "./timelapse";
|
|
35
|
+
export * from "./user";
|
|
36
|
+
export * from "./vendorModel";
|
|
37
|
+
export * from "./videoWall";
|
|
38
|
+
export * from "./voyageControl";
|
|
39
|
+
export * from "./weather";
|
|
40
|
+
export * from "./comments";
|
|
41
|
+
export * from "./detections";
|
|
42
|
+
export * from "./axios";
|
|
43
|
+
export * from "./shared";
|
|
44
|
+
export * from "./company";
|
|
45
|
+
export * from "./kit";
|
|
46
|
+
export * from "./auditLogs";
|
|
47
|
+
export * from "./snapshots";
|
|
48
|
+
export * from "./siteAnalytics";
|
|
49
|
+
export * from "./widget";
|
|
50
|
+
export * from "./countries";
|
|
51
|
+
export * from "./automation";
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { PaginationParams, DateType } from "@/types";
|
|
2
|
+
export declare enum IngestProcessingStatus {
|
|
3
|
+
Completed = "completed",
|
|
4
|
+
Uploading = "uploading",
|
|
5
|
+
Created = "created",
|
|
6
|
+
Failed = "failed",
|
|
7
|
+
Aborted = "aborted",
|
|
8
|
+
Paused = "paused",
|
|
9
|
+
InProgress = "inprogress",
|
|
10
|
+
Pending = "pending"
|
|
11
|
+
}
|
|
12
|
+
export type DronesQueryParams = Omit<PaginationParams, "sort"> & {
|
|
13
|
+
projectId: string;
|
|
14
|
+
consumed: string;
|
|
15
|
+
token: string;
|
|
16
|
+
processingStatus: IngestProcessingStatus;
|
|
17
|
+
};
|
|
18
|
+
export type DroneUploadUpdateRequestPayload = {
|
|
19
|
+
flightMetadata: {
|
|
20
|
+
dateTime: string;
|
|
21
|
+
gpsAltitude: string;
|
|
22
|
+
gpsCoordinates: string;
|
|
23
|
+
};
|
|
24
|
+
upload: {
|
|
25
|
+
url: string;
|
|
26
|
+
title: string;
|
|
27
|
+
fileExtension: string;
|
|
28
|
+
}[];
|
|
29
|
+
projectName: string;
|
|
30
|
+
};
|
|
31
|
+
export type CalculateMeasuringOperationRequestPayload = {
|
|
32
|
+
date: DateType;
|
|
33
|
+
points: [number, number][];
|
|
34
|
+
operation: string;
|
|
35
|
+
};
|
|
36
|
+
export type FlightImagesQueryParams = Partial<Omit<PaginationParams, "sort">> & {
|
|
37
|
+
date: DateType;
|
|
38
|
+
};
|
|
39
|
+
export type InspectionToolRequestPayload = {
|
|
40
|
+
date: DateType;
|
|
41
|
+
gpsAltitude: string;
|
|
42
|
+
gpsCoordinates: string;
|
|
43
|
+
};
|