@evercam/api 1.0.0-91a80705f → 1.0.0-9272abbb4
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 +6 -0
- package/dist/api/api/3dFirebaseApi.d.ts +221 -0
- package/dist/api/api/adminApi.d.ts +394 -0
- package/dist/api/api/aiApi.d.ts +251 -0
- package/dist/api/api/authzApi.d.ts +40 -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 +360 -0
- package/dist/api/api/evercamLabsApi.d.ts +34 -0
- package/dist/api/{exNvrApi.d.ts → api/exNvrApi.d.ts} +1 -1
- package/dist/api/api/index.d.ts +14 -0
- package/dist/api/api/ingestApi.d.ts +161 -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/api/workflowsApi.d.ts +15 -0
- package/dist/api/index.d.ts +3 -13
- package/dist/api/types/360.d.ts +365 -0
- package/dist/api/types/aconex.d.ts +143 -0
- package/dist/api/types/admin.d.ts +51 -0
- package/dist/api/types/aiConfigs.d.ts +244 -0
- package/dist/{types → api/types}/analytics.d.ts +254 -121
- package/dist/{types → api/types}/anpr.d.ts +64 -19
- package/dist/api/types/apiKey.d.ts +70 -0
- package/dist/{types → api/types}/auditLogs.d.ts +51 -12
- package/dist/api/types/authz.d.ts +132 -0
- package/dist/{types → api/types}/autodesk.d.ts +7 -7
- package/dist/api/types/automation.d.ts +123 -0
- package/dist/{types → api/types}/axios.d.ts +32 -12
- package/dist/{types → api/types}/bim.d.ts +39 -10
- package/dist/{types → api/types}/camera.d.ts +146 -167
- package/dist/api/types/comments.d.ts +64 -0
- package/dist/api/types/company.d.ts +114 -0
- package/dist/{types → api/types}/compare.d.ts +21 -6
- package/dist/api/types/connector.d.ts +21 -0
- package/dist/api/types/coolify.d.ts +36 -0
- 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 +117 -0
- package/dist/api/types/drone.d.ts +106 -0
- package/dist/{types → api/types}/errors.d.ts +30 -1
- package/dist/{types → api/types}/gateReport.d.ts +49 -168
- package/dist/api/types/gateReportManagement.d.ts +170 -0
- package/dist/api/types/hammertech.d.ts +98 -0
- package/dist/api/types/hdd.d.ts +88 -0
- package/dist/{types → api/types}/index.d.ts +26 -5
- package/dist/api/types/ingest.d.ts +301 -0
- package/dist/{types → api/types}/kit.d.ts +132 -101
- package/dist/api/types/map.d.ts +16 -0
- package/dist/{types → api/types}/media.d.ts +9 -3
- package/dist/api/types/notification.d.ts +107 -0
- package/dist/{types → api/types}/nvr.d.ts +2 -1
- package/dist/api/types/oauth.d.ts +62 -0
- package/dist/api/types/observationEvents.d.ts +141 -0
- package/dist/api/types/observations.d.ts +80 -0
- package/dist/api/types/planner.d.ts +125 -0
- package/dist/api/types/posthog.d.ts +53 -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 +259 -0
- package/dist/{types → api/types}/recording.d.ts +10 -16
- 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 +2 -9
- package/dist/{types → api/types}/routeParams.d.ts +5 -2
- package/dist/{types → api/types}/router.d.ts +20 -1
- package/dist/{types → api/types}/shared.d.ts +34 -39
- package/dist/api/types/shares.d.ts +45 -0
- package/dist/{types → api/types}/sim.d.ts +6 -6
- package/dist/api/types/siteAnalytics.d.ts +285 -0
- package/dist/api/types/siteAnalyticsManagement.d.ts +127 -0
- package/dist/api/types/siteView.d.ts +78 -0
- package/dist/api/types/smartSeach.d.ts +5 -0
- package/dist/api/types/snapshots.d.ts +104 -0
- package/dist/api/types/socket.d.ts +4 -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 +27 -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 +22 -11
- package/dist/{types → api/types}/user.d.ts +121 -40
- 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 +105 -20
- package/dist/api/types/workflows.d.ts +108 -0
- 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 +3242 -1107
- 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 +501 -0
- package/dist/shared/types/customDataTableFilters.d.ts +10 -0
- package/dist/shared/types/droneUpload.d.ts +67 -0
- package/dist/shared/types/imagePlayer.d.ts +41 -0
- package/dist/shared/types/index.d.ts +9 -0
- package/dist/shared/types/observations.d.ts +25 -0
- package/dist/shared/types/rbac.d.ts +67 -0
- package/dist/shared/types/report.d.ts +101 -0
- package/dist/shared/types/timeline.d.ts +10 -0
- package/dist/shared/utils/datePickerValue.d.ts +36 -0
- package/dist/shared/utils/datePresets.d.ts +31 -0
- package/package.json +10 -7
- package/dist/api/3dFirebaseApi.d.ts +0 -9
- package/dist/api/adminApi.d.ts +0 -288
- 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 -51
- 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/connector.d.ts +0 -16
- package/dist/types/copilot.d.ts +0 -156
- package/dist/types/detections.d.ts +0 -71
- 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 -119
- package/dist/types/time.d.ts +0 -19
- package/dist/types/vendorModel.d.ts +0 -15
- 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}/voyageControl.d.ts +0 -0
package/dist/types/comments.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { CameraExid, DateType, ProjectExid } from "@/types";
|
|
2
|
-
export type CommentsRequestPayload = {
|
|
3
|
-
cameraExid: CameraExid;
|
|
4
|
-
fromDate: string;
|
|
5
|
-
toDate: string;
|
|
6
|
-
page?: number;
|
|
7
|
-
limit?: number;
|
|
8
|
-
};
|
|
9
|
-
export type CommentPosition = {
|
|
10
|
-
coordinates: Array<number>;
|
|
11
|
-
type: string;
|
|
12
|
-
};
|
|
13
|
-
export type Comment = {
|
|
14
|
-
fromDate?: string;
|
|
15
|
-
toDate?: string;
|
|
16
|
-
timestamp: string;
|
|
17
|
-
projectExid: ProjectExid;
|
|
18
|
-
updatedAt?: string;
|
|
19
|
-
id?: number;
|
|
20
|
-
cameraExid: CameraExid;
|
|
21
|
-
content: string;
|
|
22
|
-
createdAt?: string;
|
|
23
|
-
creatorEmail?: string;
|
|
24
|
-
creatorName?: string;
|
|
25
|
-
position2d: CommentPosition;
|
|
26
|
-
canDelete?: boolean;
|
|
27
|
-
};
|
|
28
|
-
export type CommentCreationRequestPayload = {
|
|
29
|
-
fromDate?: DateType;
|
|
30
|
-
toDate?: DateType;
|
|
31
|
-
timestamp: DateType;
|
|
32
|
-
projectExid: ProjectExid;
|
|
33
|
-
cameraExid: CameraExid;
|
|
34
|
-
content: string;
|
|
35
|
-
position2d: Array<number>;
|
|
36
|
-
};
|
package/dist/types/company.d.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import type { DateType, PaginationParams } from "@/types";
|
|
2
|
-
export type CompanyUser = {
|
|
3
|
-
id: number;
|
|
4
|
-
fullname: string;
|
|
5
|
-
email: string;
|
|
6
|
-
eventsCount: number;
|
|
7
|
-
lastSeenAt: string;
|
|
8
|
-
active: boolean;
|
|
9
|
-
};
|
|
10
|
-
export type CompanyProject = {
|
|
11
|
-
exid: string;
|
|
12
|
-
name: string;
|
|
13
|
-
status: string;
|
|
14
|
-
startedAt: DateType;
|
|
15
|
-
};
|
|
16
|
-
export type Company = {
|
|
17
|
-
id: number;
|
|
18
|
-
exid: string;
|
|
19
|
-
name: string;
|
|
20
|
-
zohoId: string;
|
|
21
|
-
domains: string;
|
|
22
|
-
linkedinUrl: string;
|
|
23
|
-
sessions: number;
|
|
24
|
-
projects: number;
|
|
25
|
-
cameras: number;
|
|
26
|
-
users: number;
|
|
27
|
-
activeUsers: number;
|
|
28
|
-
createdAt: DateType;
|
|
29
|
-
};
|
|
30
|
-
export type CompanyQueryParams = PaginationParams & {
|
|
31
|
-
name: string;
|
|
32
|
-
exid: string;
|
|
33
|
-
domains: string;
|
|
34
|
-
projects: string;
|
|
35
|
-
cameras: string;
|
|
36
|
-
users: string;
|
|
37
|
-
activeUsers: string;
|
|
38
|
-
sessions: string;
|
|
39
|
-
};
|
|
40
|
-
export type CompanyUpdatePayload = {
|
|
41
|
-
name: string;
|
|
42
|
-
exid: string;
|
|
43
|
-
linkedinUrl?: string;
|
|
44
|
-
domains?: string;
|
|
45
|
-
zohoId?: string;
|
|
46
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export type ConnectorDetail = {
|
|
2
|
-
login: string;
|
|
3
|
-
hostname: string;
|
|
4
|
-
};
|
|
5
|
-
export declare enum Connector {
|
|
6
|
-
Aconex = "aconex",
|
|
7
|
-
Procore = "procore",
|
|
8
|
-
Autodesk = "autodesk",
|
|
9
|
-
AutodeskViewer = "autodesk_viewer",
|
|
10
|
-
VoyageControl = "voyage_control"
|
|
11
|
-
}
|
|
12
|
-
export type ConnectorResponsePayload = Array<{
|
|
13
|
-
hostname: string;
|
|
14
|
-
login: string;
|
|
15
|
-
provider: string;
|
|
16
|
-
}>;
|
package/dist/types/copilot.d.ts
DELETED
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
import type { AnalyticsEventPageId, CameraExid, CameraFeatureFlag, CameraStatus, ProjectExid, ProjectFeatureFlag, ProjectStatus } from "@/types";
|
|
2
|
-
export declare enum CopilotMessageAuthor {
|
|
3
|
-
Copilot = "copilot",
|
|
4
|
-
User = "user"
|
|
5
|
-
}
|
|
6
|
-
export declare enum CopilotMessageType {
|
|
7
|
-
Text = "text",
|
|
8
|
-
Progress = "progress",
|
|
9
|
-
Error = "error",
|
|
10
|
-
Json = "json"
|
|
11
|
-
}
|
|
12
|
-
export type CopilotMessage = {
|
|
13
|
-
content: string;
|
|
14
|
-
url?: string;
|
|
15
|
-
type: CopilotMessageType;
|
|
16
|
-
id?: number;
|
|
17
|
-
conversationId?: number;
|
|
18
|
-
};
|
|
19
|
-
export declare enum CopilotStepId {
|
|
20
|
-
SendToLLM = "send_to_llm",
|
|
21
|
-
FunctionCallRequest = "function_call_request",
|
|
22
|
-
ExecFunctionCall = "exec_function_call",
|
|
23
|
-
SendToUser = "send_to_user",
|
|
24
|
-
RequestMissingFields = "request_missing_fields",
|
|
25
|
-
CompletedFieldsResponse = "completed_fields_response",
|
|
26
|
-
SendRawToolCallResponse = "send_raw_tool_call_response",
|
|
27
|
-
SubmitToolOutputsToLLM = "submit_tool_outputs_to_llm",
|
|
28
|
-
CancelCall = "cancel_call"
|
|
29
|
-
}
|
|
30
|
-
export declare enum CopilotMissingFieldsLabels {
|
|
31
|
-
ProjectExid = "Project",
|
|
32
|
-
CameraExid = "Camera",
|
|
33
|
-
FromDate = "Start date",
|
|
34
|
-
ToDate = "End date"
|
|
35
|
-
}
|
|
36
|
-
export type CopilotMissingField = {
|
|
37
|
-
name: string;
|
|
38
|
-
label: string;
|
|
39
|
-
value: any;
|
|
40
|
-
type: string;
|
|
41
|
-
toolId: string;
|
|
42
|
-
};
|
|
43
|
-
export type CopilotMissingFields = Record<number, CopilotMissingField[]>;
|
|
44
|
-
export type UserConversations = CopilotConversation & {
|
|
45
|
-
Message: CopilotMessage[];
|
|
46
|
-
};
|
|
47
|
-
export declare enum CopilotSocketEvent {
|
|
48
|
-
ConversationStart = "conversation:start",
|
|
49
|
-
ConversationCreated = "conversation:created",
|
|
50
|
-
LLMMessageChunk = "llm:message:chunk",
|
|
51
|
-
LLMMessageComplete = "llm:message:complete",
|
|
52
|
-
LLMMessageLoading = "llm:message:loading",
|
|
53
|
-
LLMRequestCancel = "llm:request:cancel",
|
|
54
|
-
LLMRequestCanceled = "llm:request:canceled",
|
|
55
|
-
UserMessage = "user:message",
|
|
56
|
-
ContextError = "chat:contextError",
|
|
57
|
-
ChatError = "chat:chatError",
|
|
58
|
-
MissingFields = "chat:missingFields",
|
|
59
|
-
MissingFieldsCompleted = "chat:missingFields:completed",
|
|
60
|
-
SystemToolCallResponse = "system:toolCall:response"
|
|
61
|
-
}
|
|
62
|
-
export type CopilotConversation = {
|
|
63
|
-
id: number;
|
|
64
|
-
user: string;
|
|
65
|
-
model: string;
|
|
66
|
-
context: string;
|
|
67
|
-
cameraExid: CameraExid;
|
|
68
|
-
projectExid: ProjectExid;
|
|
69
|
-
startDate: string;
|
|
70
|
-
endDate: string;
|
|
71
|
-
messagesCount: number;
|
|
72
|
-
};
|
|
73
|
-
export declare enum CopilotProvider {
|
|
74
|
-
Gemini = "gemini",
|
|
75
|
-
ChatGPT = "chatgpt"
|
|
76
|
-
}
|
|
77
|
-
export declare enum CopilotSuggestion {
|
|
78
|
-
UserManual = "user_manual",
|
|
79
|
-
GateReport = "gate_report",
|
|
80
|
-
Weather = "weather",
|
|
81
|
-
Clip = "clip",
|
|
82
|
-
Timelapse = "timelapse",
|
|
83
|
-
Chart = "chart"
|
|
84
|
-
}
|
|
85
|
-
export declare enum CopilotChatProvider {
|
|
86
|
-
Gemini = "gemini",
|
|
87
|
-
ChatGpt = "chatGpt"
|
|
88
|
-
}
|
|
89
|
-
export declare enum CopilotLayout {
|
|
90
|
-
Floating = "floating"
|
|
91
|
-
}
|
|
92
|
-
export declare enum CopilotToolId {
|
|
93
|
-
GetReports = "getReports",
|
|
94
|
-
GetVehiclesDetections = "getVehiclesDetections",
|
|
95
|
-
GetVehiclesDetectionsCounts = "getVehiclesDetectionsCounts",
|
|
96
|
-
GetWeather = "getWeather",
|
|
97
|
-
CreateClip = "createClip",
|
|
98
|
-
NavigateToPage = "navigateToPage",
|
|
99
|
-
CreateTimelapse = "createTimelapse",
|
|
100
|
-
RequestMissingFields = "requestMissingFields",
|
|
101
|
-
RenderCharts = "renderCharts"
|
|
102
|
-
}
|
|
103
|
-
export type CopilotSystemToolCallResponse<I = unknown, O = unknown> = {
|
|
104
|
-
toolId?: CopilotToolId;
|
|
105
|
-
input?: I;
|
|
106
|
-
output?: O;
|
|
107
|
-
};
|
|
108
|
-
export type CopilotCamera = {
|
|
109
|
-
name: string;
|
|
110
|
-
exid: CameraExid;
|
|
111
|
-
status: CameraStatus;
|
|
112
|
-
featureFlags?: CameraFeatureFlag[];
|
|
113
|
-
};
|
|
114
|
-
export type CopilotProject = {
|
|
115
|
-
name: string;
|
|
116
|
-
exid: ProjectExid;
|
|
117
|
-
status: ProjectStatus;
|
|
118
|
-
featureFlags?: ProjectFeatureFlag[];
|
|
119
|
-
cameras?: CopilotCamera[];
|
|
120
|
-
};
|
|
121
|
-
export type CopilotConversationContext = {
|
|
122
|
-
availableProjects: CopilotProject[];
|
|
123
|
-
};
|
|
124
|
-
export type CopilotMessageContext = {
|
|
125
|
-
pageId?: AnalyticsEventPageId;
|
|
126
|
-
selectedCamera?: CopilotCamera;
|
|
127
|
-
selectedProject?: CopilotProject;
|
|
128
|
-
};
|
|
129
|
-
export type CopilotMessageStep = {
|
|
130
|
-
args: string[];
|
|
131
|
-
depth: number;
|
|
132
|
-
id: number;
|
|
133
|
-
message_id: number;
|
|
134
|
-
step: CopilotStepId;
|
|
135
|
-
timestamp: string;
|
|
136
|
-
};
|
|
137
|
-
export declare enum CopilotMissingFieldComponent {
|
|
138
|
-
Select = "SelectField",
|
|
139
|
-
DateTime = "DateTimeField",
|
|
140
|
-
Schedule = "ScheduleField",
|
|
141
|
-
MultiOptions = "MultiOptionsField",
|
|
142
|
-
Switch = "SwitchField"
|
|
143
|
-
}
|
|
144
|
-
export declare enum CopilotMissingFieldName {
|
|
145
|
-
ProjectExid = "projectExid",
|
|
146
|
-
CameraExid = "cameraExid",
|
|
147
|
-
FromDate = "fromDate",
|
|
148
|
-
ToDate = "toDate",
|
|
149
|
-
Schedule = "schedule",
|
|
150
|
-
Duration = "duration"
|
|
151
|
-
}
|
|
152
|
-
export declare enum CopilotMissingFieldType {
|
|
153
|
-
Boolean = "boolean",
|
|
154
|
-
String = "string",
|
|
155
|
-
Number = "number"
|
|
156
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { type CameraExid, type DateType, DetectionLabel, SegmentLabel, type TimelineDateInterval, TimelinePrecision } from "@/types";
|
|
2
|
-
export type DetectionsFilters = {
|
|
3
|
-
cameraExid: CameraExid;
|
|
4
|
-
fromDate: string | Date;
|
|
5
|
-
toDate: string | Date;
|
|
6
|
-
labels: DetectionLabel | DetectionLabel[];
|
|
7
|
-
};
|
|
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
|
-
};
|
|
18
|
-
export type Detection = {
|
|
19
|
-
bbox: BBox;
|
|
20
|
-
timestamp: string | Date;
|
|
21
|
-
};
|
|
22
|
-
export type Tracking = {
|
|
23
|
-
trackId: number;
|
|
24
|
-
fromDate: string | Date;
|
|
25
|
-
toDate: string | Date;
|
|
26
|
-
detections: Detection[];
|
|
27
|
-
};
|
|
28
|
-
export type TrackingLabel = string;
|
|
29
|
-
export type TrackingsByLabel = Record<TrackingLabel, Tracking[]>;
|
|
30
|
-
export type SegmentsByLabel = Record<SegmentLabel, Segment[]>;
|
|
31
|
-
export type SegmentPolygonCoords = number[][];
|
|
32
|
-
export type Segment = {
|
|
33
|
-
id: number;
|
|
34
|
-
mask: SegmentPolygonCoords;
|
|
35
|
-
label: string;
|
|
36
|
-
timestamp: string | Date;
|
|
37
|
-
};
|
|
38
|
-
export type SegmentSimilarityResult = {
|
|
39
|
-
distance: number;
|
|
40
|
-
segment: Segment;
|
|
41
|
-
};
|
|
42
|
-
export type SegmentsSimilaritySearchResult = {
|
|
43
|
-
firstSeen: DateType | null;
|
|
44
|
-
lastSeen: DateType | null;
|
|
45
|
-
similarSegments: SegmentSimilarityResult[];
|
|
46
|
-
};
|
|
47
|
-
export type SegmentsSimilaritySearchParams = {
|
|
48
|
-
cameraExid: CameraExid;
|
|
49
|
-
segmentId: number;
|
|
50
|
-
leftInterval: TimelineDateInterval;
|
|
51
|
-
rightInterval: TimelineDateInterval;
|
|
52
|
-
maxDistance: number;
|
|
53
|
-
areaTolerance: number;
|
|
54
|
-
};
|
|
55
|
-
export type CountsParams = {
|
|
56
|
-
cameraExid: CameraExid;
|
|
57
|
-
fromDate: string | Date;
|
|
58
|
-
toDate: string | Date;
|
|
59
|
-
precision: TimelinePrecision;
|
|
60
|
-
};
|
|
61
|
-
export type CountByPeriod = {
|
|
62
|
-
date: string | Date;
|
|
63
|
-
counts: Record<string, number>;
|
|
64
|
-
};
|
|
65
|
-
export type DetectionsPresenceByLabel = Record<DetectionLabel, TimelineDateInterval[]>;
|
|
66
|
-
export type SegmentsPresenceByLabel = Record<SegmentLabel, TimelineDateInterval[]>;
|
|
67
|
-
export type LuminanceReading = {
|
|
68
|
-
timestamp: string;
|
|
69
|
-
luminanceDelta: number;
|
|
70
|
-
luminanceAverage: number;
|
|
71
|
-
};
|
package/dist/types/devices.d.ts
DELETED
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
export type MilesightRequestParams = {
|
|
2
|
-
host: string;
|
|
3
|
-
httpPort: number;
|
|
4
|
-
username: string;
|
|
5
|
-
password: string;
|
|
6
|
-
};
|
|
7
|
-
export type MilesightCameraNetworkConfiguration = {
|
|
8
|
-
httpEnable: number;
|
|
9
|
-
httpPort: number;
|
|
10
|
-
httpsEnable: number;
|
|
11
|
-
httpsPort: number;
|
|
12
|
-
certSubject: string;
|
|
13
|
-
certDate: string;
|
|
14
|
-
certResult: number;
|
|
15
|
-
requestSubject: string;
|
|
16
|
-
certUpdateFlag: number;
|
|
17
|
-
ipv4Ipaddress: string;
|
|
18
|
-
ipv6Ipaddress: string;
|
|
19
|
-
notBefore: string;
|
|
20
|
-
notAfter: string;
|
|
21
|
-
country: string;
|
|
22
|
-
ST: string;
|
|
23
|
-
O: string;
|
|
24
|
-
CN: string;
|
|
25
|
-
};
|
|
26
|
-
export type MilesightCameraSystemSettings = {
|
|
27
|
-
model: string;
|
|
28
|
-
mac: string;
|
|
29
|
-
firmwareVersion: string;
|
|
30
|
-
systemBootTime: string;
|
|
31
|
-
wireless: number;
|
|
32
|
-
dhcpEnable: number;
|
|
33
|
-
ipaddress: string;
|
|
34
|
-
netmask: string;
|
|
35
|
-
gateway: string;
|
|
36
|
-
pppoeEnable: number;
|
|
37
|
-
dns0: string;
|
|
38
|
-
dns1: string;
|
|
39
|
-
ddnsEnable: number;
|
|
40
|
-
ddnsHostName: string;
|
|
41
|
-
ddnsStatus: number;
|
|
42
|
-
wirelessEnable: number;
|
|
43
|
-
deviceName: string;
|
|
44
|
-
deviceLacation: string;
|
|
45
|
-
deviceInformation: string;
|
|
46
|
-
deviceVender: string;
|
|
47
|
-
hardwareVersion: string;
|
|
48
|
-
kernelVersion: string;
|
|
49
|
-
sdkVersion: string;
|
|
50
|
-
aiNnieStatus: number;
|
|
51
|
-
ioSupport: number;
|
|
52
|
-
audioSupport: number;
|
|
53
|
-
audioMode: number;
|
|
54
|
-
audioType: number;
|
|
55
|
-
audioLineInput: number;
|
|
56
|
-
alarmInputSupport: number;
|
|
57
|
-
alarmOutputSupport: number;
|
|
58
|
-
fisheyeSupport: number;
|
|
59
|
-
vcaSupport: number;
|
|
60
|
-
vcaType: number;
|
|
61
|
-
anrSupport: number;
|
|
62
|
-
speakerSupport: number;
|
|
63
|
-
lprSupport: number;
|
|
64
|
-
lprVersion: number;
|
|
65
|
-
lprLicense: number;
|
|
66
|
-
radarSupport: number;
|
|
67
|
-
upgrade: number;
|
|
68
|
-
faceSupport: number;
|
|
69
|
-
polygonFaceSupport: number;
|
|
70
|
-
irSensor: number;
|
|
71
|
-
dnSensitivitySupport: number;
|
|
72
|
-
croproiSupport: number;
|
|
73
|
-
dnRefocusSupport: number;
|
|
74
|
-
reduceStutteringSupport: number;
|
|
75
|
-
polygonSupport: number;
|
|
76
|
-
localDisplaySupport: number;
|
|
77
|
-
fanWorkingModeSupport: number;
|
|
78
|
-
smartIrLimitType: number;
|
|
79
|
-
smartIrLimitSum: number;
|
|
80
|
-
audioFileManagerSupport: number;
|
|
81
|
-
humanVehicleSupport: number;
|
|
82
|
-
manualSpeedSupport: number;
|
|
83
|
-
snCode: string;
|
|
84
|
-
mosaicSupport: number;
|
|
85
|
-
antiShakeSupport: number;
|
|
86
|
-
corridorModeSupport: number;
|
|
87
|
-
imageRotationSupport: number;
|
|
88
|
-
humanDetectionSupport: number;
|
|
89
|
-
regionalPeopleSupport: number;
|
|
90
|
-
heatMapSupport: number;
|
|
91
|
-
msChip: string;
|
|
92
|
-
runtime: number;
|
|
93
|
-
lprlicenStatus: number;
|
|
94
|
-
p2pSupport: number;
|
|
95
|
-
ptzSupport: number;
|
|
96
|
-
adminoptions: number;
|
|
97
|
-
adminuser: string;
|
|
98
|
-
miscAnonymous: number;
|
|
99
|
-
pwdStrengthType: number;
|
|
100
|
-
viewerdef: number;
|
|
101
|
-
viewerOptions: number;
|
|
102
|
-
oemIndex: number;
|
|
103
|
-
audioAlarmSupport: number;
|
|
104
|
-
ledSupport: number;
|
|
105
|
-
ledGroupSupport: number;
|
|
106
|
-
ptzMaxZoomTimes: number;
|
|
107
|
-
realPtzSupport: number;
|
|
108
|
-
iotSupport: number;
|
|
109
|
-
isSpeedDm: number;
|
|
110
|
-
supportOsdLarger: number;
|
|
111
|
-
isFaceCustomizeModeExists: number;
|
|
112
|
-
autoTrackSupport: number;
|
|
113
|
-
smartStreamSupportInOtherStream: number;
|
|
114
|
-
wiperSupport: number;
|
|
115
|
-
oemupdateonline: number;
|
|
116
|
-
whiteLedSupport: number;
|
|
117
|
-
defogSupport: number;
|
|
118
|
-
manualTrackingSupport: number;
|
|
119
|
-
manualTrackingDisable: number;
|
|
120
|
-
"3DPositionSupport": number;
|
|
121
|
-
rs485Support: number;
|
|
122
|
-
ptzStatusSupport: number;
|
|
123
|
-
heaterSupport: number;
|
|
124
|
-
};
|
|
125
|
-
export type MilesightCameraStreamConfig = {
|
|
126
|
-
enable?: number;
|
|
127
|
-
width?: number;
|
|
128
|
-
height?: number;
|
|
129
|
-
url?: string;
|
|
130
|
-
profileGop?: number;
|
|
131
|
-
rateMode?: MilesightCameraRateModeId;
|
|
132
|
-
framerate?: number;
|
|
133
|
-
bitrate?: number;
|
|
134
|
-
smartStreamEnable?: number;
|
|
135
|
-
smartStreamLevel?: number;
|
|
136
|
-
profile?: number;
|
|
137
|
-
profileCodec?: MilesightCameraCodecId;
|
|
138
|
-
rateQuality?: number;
|
|
139
|
-
vbrQuality?: MilesightCameraVbrQualityId;
|
|
140
|
-
};
|
|
141
|
-
export type MilesightCameraStreamConfigList = {
|
|
142
|
-
mainStream: MilesightCameraStreamConfig;
|
|
143
|
-
subStream: MilesightCameraStreamConfig;
|
|
144
|
-
thirdStream: MilesightCameraStreamConfig;
|
|
145
|
-
fourthStream?: {
|
|
146
|
-
enable: number;
|
|
147
|
-
};
|
|
148
|
-
fifthStream?: {
|
|
149
|
-
enable: number;
|
|
150
|
-
};
|
|
151
|
-
};
|
|
152
|
-
export type MilesightCameraVideoConfig = {
|
|
153
|
-
deviceModel: string;
|
|
154
|
-
deviceSensor: string;
|
|
155
|
-
deviceTvStandards: number;
|
|
156
|
-
streamList: MilesightCameraStreamConfigList;
|
|
157
|
-
cTvStandards: number;
|
|
158
|
-
rtspPort: number;
|
|
159
|
-
eventStreamEnable: number;
|
|
160
|
-
eventStreamFramerate: number;
|
|
161
|
-
eventStreamBitrate: number;
|
|
162
|
-
eventStreamIframe: number;
|
|
163
|
-
fishDisplayModel: number;
|
|
164
|
-
fishInstallModel: number;
|
|
165
|
-
fishCorrectModel: number;
|
|
166
|
-
mainCodecres: number;
|
|
167
|
-
imageScheMode: number;
|
|
168
|
-
hlcMode: number;
|
|
169
|
-
exposurectrl: number;
|
|
170
|
-
wdrEnable: number;
|
|
171
|
-
};
|
|
172
|
-
export type MilesightCameraStreamOsdInfo = {
|
|
173
|
-
streamIndex: number;
|
|
174
|
-
osdEnable: number;
|
|
175
|
-
osdString: string;
|
|
176
|
-
osdDateTimeEnable: number;
|
|
177
|
-
osdFontSize: number;
|
|
178
|
-
osdFontColor: string;
|
|
179
|
-
osdBackgroundEnable: number;
|
|
180
|
-
osdBackgroundColor: string;
|
|
181
|
-
osdTextPosition: number;
|
|
182
|
-
osdDateTimePosition: number;
|
|
183
|
-
osdDateTimeFormat: number;
|
|
184
|
-
cropRoiEnable: number;
|
|
185
|
-
};
|
|
186
|
-
export type MilesightCameraOsdConfiguration = {
|
|
187
|
-
osdInfoList: MilesightCameraStreamOsdInfo[];
|
|
188
|
-
osdZoomTime: number;
|
|
189
|
-
};
|
|
190
|
-
export type MilesightCameraSdCardInfo = {
|
|
191
|
-
sdcardStatus: number;
|
|
192
|
-
sdcardDiskStatus: number;
|
|
193
|
-
sdcardFullStatus: number;
|
|
194
|
-
sdcardTotalSize: string;
|
|
195
|
-
sdcardFreeSize: string;
|
|
196
|
-
sdcardUseSize: string;
|
|
197
|
-
sdEncryptStatus: number;
|
|
198
|
-
};
|
|
199
|
-
export type MilesightCameraTimeInfo = {
|
|
200
|
-
year: number;
|
|
201
|
-
month: number;
|
|
202
|
-
day: number;
|
|
203
|
-
hour: number;
|
|
204
|
-
minute: number;
|
|
205
|
-
second: number;
|
|
206
|
-
timeZoneTz: string;
|
|
207
|
-
zoneNameTz: string;
|
|
208
|
-
dayLight: number;
|
|
209
|
-
timeType: number;
|
|
210
|
-
ntpServer: string;
|
|
211
|
-
ntpSyncEnable: number;
|
|
212
|
-
ntpInterval: number;
|
|
213
|
-
};
|
|
214
|
-
export declare enum MilesightCameraCodecId {
|
|
215
|
-
H264 = 0,
|
|
216
|
-
H265 = 3,
|
|
217
|
-
MJpeg1 = 1,
|
|
218
|
-
MJpeg2 = 2
|
|
219
|
-
}
|
|
220
|
-
export declare enum MilesightCameraVbrQualityId {
|
|
221
|
-
Low = 0,
|
|
222
|
-
Medium = 1,
|
|
223
|
-
High = 2
|
|
224
|
-
}
|
|
225
|
-
export declare enum MilesightCameraRateModeId {
|
|
226
|
-
CBR = 0,
|
|
227
|
-
VBR = 1
|
|
228
|
-
}
|
package/dist/types/drone.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export type DroneModel = {
|
|
2
|
-
cesiumId: string;
|
|
3
|
-
cesiumId2D: string;
|
|
4
|
-
date: string;
|
|
5
|
-
cesiumPointCloudId: string;
|
|
6
|
-
pointSize: string;
|
|
7
|
-
maximumScreenSpaceError: string;
|
|
8
|
-
link: string;
|
|
9
|
-
trueIndex: number;
|
|
10
|
-
};
|
|
11
|
-
export type DroneProjectJsonResponse = {
|
|
12
|
-
models: DroneModel[];
|
|
13
|
-
[key: string]: any;
|
|
14
|
-
};
|
|
15
|
-
export declare enum DroneUrlParams {
|
|
16
|
-
Date = "date"
|
|
17
|
-
}
|
package/dist/types/ingest.d.ts
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
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
|
-
};
|
package/dist/types/map.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export declare enum NotificationType {
|
|
2
|
-
CameraShare = "camera_share",
|
|
3
|
-
CameraStatusChange = "camera_status_changed",
|
|
4
|
-
Mention = "mention",
|
|
5
|
-
TimelapseCreated = "timelapse_created",
|
|
6
|
-
TimelapseFailed = "timelapse_failed",
|
|
7
|
-
DroneProcessing = "drone_processing_done",
|
|
8
|
-
Processing360 = "three_sixty_done"
|
|
9
|
-
}
|
|
10
|
-
export interface CameraShareContext {
|
|
11
|
-
cameraExid: string;
|
|
12
|
-
projectExid: string;
|
|
13
|
-
shareId: number;
|
|
14
|
-
}
|
|
15
|
-
export type Notification = {
|
|
16
|
-
id: number;
|
|
17
|
-
type: NotificationType;
|
|
18
|
-
insertedAt: string;
|
|
19
|
-
initiatorId: number;
|
|
20
|
-
initiatorFullname: string;
|
|
21
|
-
initiatorEmail: string;
|
|
22
|
-
targetId: number;
|
|
23
|
-
targetFullname: string;
|
|
24
|
-
targetEmail: string;
|
|
25
|
-
readTimestamp: string | null;
|
|
26
|
-
context: CameraShareContext;
|
|
27
|
-
};
|