@evercam/api 1.0.0-dc478bb9d → 1.0.0-e03a0c41b
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/dist/api/adminApi.d.ts +1 -0
- package/dist/api/aiApi.d.ts +4 -1
- package/dist/api/evercamLabsApi.d.ts +1 -2
- package/dist/index.js +174 -165
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/types/analytics.d.ts +0 -1
- package/dist/types/detections.d.ts +13 -5
- package/dist/types/gateReport.d.ts +50 -1
- package/dist/types/sitePlanner.d.ts +3 -0
- package/dist/types/widget.d.ts +2 -0
- package/package.json +1 -1
|
@@ -354,7 +354,6 @@ export declare enum AnalyticsEvent {
|
|
|
354
354
|
SitePlannerToggleCamerasLabel = "ToggleCamerasLabel",
|
|
355
355
|
SitePlannerToggleFullscreen = "ToggleFullscreen",
|
|
356
356
|
SitePlannerToggleMapStyle = "ToggleMapStyle",
|
|
357
|
-
SitePlannerToggleRightSideMenu = "ToggleRightSideMenu",
|
|
358
357
|
SitePlannerToggleSaveSessionDialog = "ToggleSaveSessionDialog",
|
|
359
358
|
SitePlannerUploadSitePlanDrawing = "UploadSitePlanDrawing",
|
|
360
359
|
SitePlannerZoomIn = "ZoomIn",
|
|
@@ -6,6 +6,15 @@ export type DetectionsFilters = {
|
|
|
6
6
|
labels: DetectionLabel | DetectionLabel[];
|
|
7
7
|
};
|
|
8
8
|
export type BBox = [number, number, number, number];
|
|
9
|
+
export type SelectedObjectPath = {
|
|
10
|
+
label: string;
|
|
11
|
+
trackId: string;
|
|
12
|
+
paths: Array<{
|
|
13
|
+
timestamp: number;
|
|
14
|
+
center: [number, number];
|
|
15
|
+
bbox: BBox;
|
|
16
|
+
}>;
|
|
17
|
+
};
|
|
9
18
|
export type Detection = {
|
|
10
19
|
bbox: BBox;
|
|
11
20
|
timestamp: string | Date;
|
|
@@ -37,11 +46,10 @@ export type SegmentsSimilaritySearchResult = {
|
|
|
37
46
|
};
|
|
38
47
|
export type SegmentsSimilaritySearchParams = {
|
|
39
48
|
cameraExid: CameraExid;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
areaTolerance: number;
|
|
49
|
+
referenceId: string;
|
|
50
|
+
iouThreshold?: number;
|
|
51
|
+
fromDate: string;
|
|
52
|
+
toDate: string;
|
|
45
53
|
};
|
|
46
54
|
export type CountsParams = {
|
|
47
55
|
cameraExid: CameraExid;
|
|
@@ -40,7 +40,56 @@ 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
|
+
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"
|
|
44
93
|
}
|
|
45
94
|
export declare enum SegmentLabel {
|
|
46
95
|
AirCompressor = "air_compressor",
|
package/dist/types/widget.d.ts
CHANGED