@evercam/api 1.0.0-a255a7bd4 → 1.0.0-a6868d86c
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 +3 -0
- package/dist/api/api/3dFirebaseApi.d.ts +26 -0
- package/dist/api/{adminApi.d.ts → api/adminApi.d.ts} +65 -11
- package/dist/api/{aiApi.d.ts → api/aiApi.d.ts} +26 -40
- package/dist/api/{authzApi.d.ts → api/authzApi.d.ts} +7 -0
- package/dist/api/{client → api/client}/axios.d.ts +1 -0
- 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/{evercamApi.d.ts → api/evercamApi.d.ts} +48 -21
- package/dist/api/{evercamLabsApi.d.ts → api/evercamLabsApi.d.ts} +6 -2
- package/dist/api/api/index.d.ts +13 -0
- package/dist/api/api/ingestApi.d.ts +96 -0
- package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +4 -0
- package/dist/api/api/videoWallApi.d.ts +9 -0
- package/dist/api/index.d.ts +3 -13
- package/dist/api/types/360.d.ts +274 -0
- package/dist/api/types/aconex.d.ts +143 -0
- package/dist/{types → api/types}/analytics.d.ts +108 -5
- package/dist/{types → api/types}/anpr.d.ts +7 -11
- package/dist/api/types/authz.d.ts +22 -0
- package/dist/api/types/automation.d.ts +61 -0
- package/dist/{types → api/types}/axios.d.ts +16 -0
- package/dist/{types → api/types}/camera.d.ts +24 -5
- package/dist/{types → api/types}/comments.d.ts +18 -2
- package/dist/{types → api/types}/company.d.ts +29 -1
- package/dist/{types → api/types}/coolify.d.ts +2 -0
- package/dist/{types → api/types}/countries.d.ts +0 -7
- package/dist/{types → api/types}/credentials.d.ts +1 -0
- package/dist/{types → api/types}/detections.d.ts +5 -20
- package/dist/{types → api/types}/errors.d.ts +1 -0
- package/dist/{types → api/types}/gateReport.d.ts +4 -101
- package/dist/{types → api/types}/index.d.ts +4 -0
- package/dist/{types → api/types}/ingest.d.ts +8 -0
- package/dist/{types → api/types}/kit.d.ts +55 -7
- package/dist/{types → api/types}/planner.d.ts +4 -1
- package/dist/api/types/posthog.d.ts +18 -0
- package/dist/{types → api/types}/procore.d.ts +13 -10
- package/dist/{types → api/types}/progressPhoto.d.ts +6 -22
- package/dist/{types → api/types}/project.d.ts +42 -3
- package/dist/{types → api/types}/recording.d.ts +2 -2
- package/dist/api/types/recycleBin.d.ts +14 -0
- package/dist/{types → api/types}/routeParams.d.ts +4 -2
- package/dist/{types → api/types}/router.d.ts +19 -0
- package/dist/{types → api/types}/shared.d.ts +1 -6
- package/dist/api/types/siteAnalytics.d.ts +247 -0
- package/dist/{types → api/types}/snapshots.d.ts +9 -0
- package/dist/api/types/sso.d.ts +55 -0
- package/dist/{types → api/types}/streaming.d.ts +1 -2
- package/dist/{types → api/types}/time.d.ts +4 -0
- package/dist/{types → api/types}/user.d.ts +5 -6
- package/dist/api/types/videoWall.d.ts +66 -0
- package/dist/{types → api/types}/weather.d.ts +2 -0
- package/dist/{types → api/types}/widget.d.ts +27 -6
- package/dist/{utils.d.ts → api/utils.d.ts} +1 -0
- package/dist/index.d.ts +2 -3
- package/dist/index.js +1209 -772
- 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 +199 -0
- package/dist/shared/types/imagePlayer.d.ts +34 -0
- package/dist/shared/types/index.d.ts +4 -0
- package/dist/shared/types/timeline.d.ts +9 -0
- package/package.json +5 -4
- package/dist/api/3dFirebaseApi.d.ts +0 -10
- package/dist/api/ingestApi.d.ts +0 -67
- package/dist/api/videoWallApi.d.ts +0 -9
- package/dist/types/360.d.ts +0 -87
- package/dist/types/aconex.d.ts +0 -45
- package/dist/types/automation.d.ts +0 -6
- package/dist/types/siteAnalytics.d.ts +0 -141
- package/dist/types/videoWall.d.ts +0 -33
- /package/dist/api/{client → api/client}/customErrors.d.ts +0 -0
- /package/dist/api/{client → api/client}/index.d.ts +0 -0
- /package/dist/api/{client → api/client}/interceptors.d.ts +0 -0
- /package/dist/api/{exNvrApi.d.ts → api/exNvrApi.d.ts} +0 -0
- /package/dist/api/{weatherApi.d.ts → api/weatherApi.d.ts} +0 -0
- /package/dist/api/{webRtcApi.d.ts → api/webRtcApi.d.ts} +0 -0
- /package/dist/{types → api/types}/auditLogs.d.ts +0 -0
- /package/dist/{types → api/types}/autodesk.d.ts +0 -0
- /package/dist/{types → api/types}/bim.d.ts +0 -0
- /package/dist/{types → api/types}/compare.d.ts +0 -0
- /package/dist/{types → api/types}/connector.d.ts +0 -0
- /package/dist/{types → api/types}/copilot.d.ts +0 -0
- /package/dist/{types → api/types}/drone.d.ts +0 -0
- /package/dist/{types → api/types}/hdd.d.ts +0 -0
- /package/dist/{types → api/types}/map.d.ts +0 -0
- /package/dist/{types → api/types}/media.d.ts +0 -0
- /package/dist/{types → api/types}/notification.d.ts +0 -0
- /package/dist/{types → api/types}/nvr.d.ts +0 -0
- /package/dist/{types → api/types}/roi.d.ts +0 -0
- /package/dist/{types → api/types}/shares.d.ts +0 -0
- /package/dist/{types → api/types}/sim.d.ts +0 -0
- /package/dist/{types → api/types}/storageServers.d.ts +0 -0
- /package/dist/{types → api/types}/systemCheck.d.ts +0 -0
- /package/dist/{types → api/types}/tag.d.ts +0 -0
- /package/dist/{types → api/types}/timelapse.d.ts +0 -0
- /package/dist/{types → api/types}/vendorModel.d.ts +0 -0
- /package/dist/{types → api/types}/voyageControl.d.ts +0 -0
- /package/dist/{types → api/types}/xweather.d.ts +0 -0
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
import type { BBox, BoundingBox, DateType, Schedule, CameraExid, DateTime, DetectionModel, PaginationParams, PpeLabel, ProjectExid } from "@evercam/api/types";
|
|
2
|
-
import { DetectionLabel, DownloadTypes } from "@evercam/api/types";
|
|
3
|
-
export declare enum SiteAnalyticsMode {
|
|
4
|
-
Detections = "detections",
|
|
5
|
-
Segments = "segments"
|
|
6
|
-
}
|
|
7
|
-
export type SmartSearchOptionData = {
|
|
8
|
-
id?: string;
|
|
9
|
-
type: SmartSearchQueryComponentType;
|
|
10
|
-
value: DetectionLabel | SmartSearchOperatorType | SmartSearchConditionData | SmartSearchCondition | SmartSearchDateRange | string;
|
|
11
|
-
};
|
|
12
|
-
export type SmartSearchQueryPart = SmartSearchOptionData | [SmartSearchQueryPart] | SmartSearchQueryPart[];
|
|
13
|
-
export declare enum SmartSearchQueryComponentType {
|
|
14
|
-
Condition = "condition",
|
|
15
|
-
Object = "object",
|
|
16
|
-
Area = "in_area",
|
|
17
|
-
Time = "time",
|
|
18
|
-
Operator = "operator",
|
|
19
|
-
Camera = "camera",
|
|
20
|
-
DateRange = "date_range"
|
|
21
|
-
}
|
|
22
|
-
export type SmartSearchDateRange = {
|
|
23
|
-
start: DateType;
|
|
24
|
-
end: DateType;
|
|
25
|
-
};
|
|
26
|
-
export type SmartSearchQueryComponentData = {
|
|
27
|
-
id: string;
|
|
28
|
-
type: SmartSearchQueryComponentType;
|
|
29
|
-
parts: [SmartSearchQueryPart];
|
|
30
|
-
};
|
|
31
|
-
export declare enum SmartSearchCondition {
|
|
32
|
-
InArea = "in_area",
|
|
33
|
-
Intersects = "intersects",
|
|
34
|
-
Time = "time"
|
|
35
|
-
}
|
|
36
|
-
export type SmartSearchConditionData = {
|
|
37
|
-
condition: SmartSearchCondition;
|
|
38
|
-
value: string | BoundingBox | DetectionLabel | Date;
|
|
39
|
-
};
|
|
40
|
-
export type SmartSearchQueryCondition = {
|
|
41
|
-
type: SmartSearchQueryConditionTypes;
|
|
42
|
-
target: SmartSearchQueryTargets;
|
|
43
|
-
operator?: SmartSearchQueryOperators;
|
|
44
|
-
attribute?: string;
|
|
45
|
-
value: string | number | string[];
|
|
46
|
-
reference?: {
|
|
47
|
-
target: SmartSearchQueryTargets;
|
|
48
|
-
attribute: string;
|
|
49
|
-
value: string | number | string[];
|
|
50
|
-
};
|
|
51
|
-
polygon?: BBox;
|
|
52
|
-
};
|
|
53
|
-
export type SmartSearchQuery = {
|
|
54
|
-
returnTargets: SmartSearchQueryTargets[];
|
|
55
|
-
rulesLogic: SmartSearchOperatorType;
|
|
56
|
-
rules: {
|
|
57
|
-
logic: SmartSearchOperatorType;
|
|
58
|
-
conditions: SmartSearchQueryCondition[];
|
|
59
|
-
}[];
|
|
60
|
-
returnType: SmartSearchQueryReturnType;
|
|
61
|
-
};
|
|
62
|
-
export declare enum SmartSearchQueryTargets {
|
|
63
|
-
Tracking = "tracking",
|
|
64
|
-
Segments = "segments"
|
|
65
|
-
}
|
|
66
|
-
export declare enum SmartSearchQueryReturnType {
|
|
67
|
-
All = "all",
|
|
68
|
-
FirstLastSeen = "first_last_seen"
|
|
69
|
-
}
|
|
70
|
-
export declare enum SmartSearchOperatorType {
|
|
71
|
-
And = "AND",
|
|
72
|
-
Or = "OR"
|
|
73
|
-
}
|
|
74
|
-
export declare enum SmartSearchQueryOperators {
|
|
75
|
-
Near = "near",
|
|
76
|
-
Far = "far",
|
|
77
|
-
Intersects = "intersects",
|
|
78
|
-
DoesNotIntersect = "does_not_intersect",
|
|
79
|
-
Inside = "inside",
|
|
80
|
-
Outside = "outside",
|
|
81
|
-
DistanceBelow = "distance_below",
|
|
82
|
-
DistanceAbove = "distance_above",
|
|
83
|
-
Area = "in_area",
|
|
84
|
-
Equal = "="
|
|
85
|
-
}
|
|
86
|
-
export declare enum SmartSearchQueryConditionTypes {
|
|
87
|
-
Selection = "selection",
|
|
88
|
-
Spatial = "spatial",
|
|
89
|
-
Area = "area",
|
|
90
|
-
Iou = "iou",
|
|
91
|
-
Near = "near",
|
|
92
|
-
Far = "far"
|
|
93
|
-
}
|
|
94
|
-
export type SmartSearchOptionValue = DetectionLabel | SmartSearchOperatorType | SmartSearchConditionData;
|
|
95
|
-
export type SmartSearchQueryParams = {
|
|
96
|
-
cameraExid: string;
|
|
97
|
-
name: string;
|
|
98
|
-
description: string;
|
|
99
|
-
query: {
|
|
100
|
-
req: SmartSearchQuery;
|
|
101
|
-
timeSchedule?: Schedule | undefined;
|
|
102
|
-
};
|
|
103
|
-
fromDate?: DateType;
|
|
104
|
-
toDate?: DateType;
|
|
105
|
-
author: string;
|
|
106
|
-
createdAt: DateType;
|
|
107
|
-
params?: Record<string, unknown>;
|
|
108
|
-
};
|
|
109
|
-
export type SavedQuery = {
|
|
110
|
-
description: string;
|
|
111
|
-
id: number;
|
|
112
|
-
query: {
|
|
113
|
-
req: SmartSearchQuery;
|
|
114
|
-
timeSchedule?: Schedule | undefined;
|
|
115
|
-
};
|
|
116
|
-
params: Record<string, string>;
|
|
117
|
-
components?: Omit<SmartSearchOptionData, "id">[];
|
|
118
|
-
toDate?: DateType;
|
|
119
|
-
createdAt?: DateType;
|
|
120
|
-
cameraExid: string;
|
|
121
|
-
name: string;
|
|
122
|
-
fromDate?: DateType;
|
|
123
|
-
author?: string;
|
|
124
|
-
};
|
|
125
|
-
export type DetectionsRequestParams = {
|
|
126
|
-
projectExid: ProjectExid;
|
|
127
|
-
cameraExids: CameraExid[];
|
|
128
|
-
fromDate?: DateTime;
|
|
129
|
-
toDate?: DateTime;
|
|
130
|
-
labels?: Array<DetectionLabel | PpeLabel>;
|
|
131
|
-
modelId?: DetectionModel;
|
|
132
|
-
trackId?: number;
|
|
133
|
-
thresholds?: string[];
|
|
134
|
-
excludeLabels?: Array<DetectionLabel | PpeLabel>;
|
|
135
|
-
confidenceThreshold?: number;
|
|
136
|
-
} & PaginationParams;
|
|
137
|
-
export type DetectionsExportRequestParams = DetectionsRequestParams & {
|
|
138
|
-
fileType: DownloadTypes;
|
|
139
|
-
columns?: string[];
|
|
140
|
-
directDownload?: boolean;
|
|
141
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Camera, Media } from "@/types";
|
|
2
|
-
export declare enum VideoWallItemType {
|
|
3
|
-
LiveView = "live",
|
|
4
|
-
Video = "video",
|
|
5
|
-
Image = "image"
|
|
6
|
-
}
|
|
7
|
-
export type VideoWallItem<T extends Camera | Media> = {
|
|
8
|
-
value: T;
|
|
9
|
-
type: VideoWallItemType;
|
|
10
|
-
};
|
|
11
|
-
export type VideoWallPresetItemConfig = {
|
|
12
|
-
camera: Camera;
|
|
13
|
-
h: number;
|
|
14
|
-
i: string | number;
|
|
15
|
-
moved: boolean;
|
|
16
|
-
w: number;
|
|
17
|
-
x: number;
|
|
18
|
-
y: number;
|
|
19
|
-
};
|
|
20
|
-
export type VideoWallPreset = {
|
|
21
|
-
name?: string;
|
|
22
|
-
configuration: Array<VideoWallPresetItemConfig>;
|
|
23
|
-
};
|
|
24
|
-
export type VideoWallPresetItem = {
|
|
25
|
-
i: string | number;
|
|
26
|
-
x: number;
|
|
27
|
-
y: number;
|
|
28
|
-
w: number;
|
|
29
|
-
h: number;
|
|
30
|
-
camera: Camera;
|
|
31
|
-
weather?: Record<string, unknown>;
|
|
32
|
-
media?: Media;
|
|
33
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|