@evercam/api 1.0.0-c65b4959f → 1.0.0-cb5ac4ad5
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 +201 -12
- package/dist/api/api/adminApi.d.ts +114 -101
- package/dist/api/api/aiApi.d.ts +187 -82
- package/dist/api/api/authzApi.d.ts +34 -15
- package/dist/api/api/client/axios.d.ts +2 -1
- package/dist/api/api/client/swr/Swr.d.ts +1 -1
- package/dist/api/api/evercamApi.d.ts +154 -108
- package/dist/api/api/evercamLabsApi.d.ts +8 -17
- package/dist/api/api/exNvrApi.d.ts +1 -1
- package/dist/api/api/index.d.ts +1 -0
- package/dist/api/api/ingestApi.d.ts +123 -35
- package/dist/api/api/ptzApi.d.ts +12 -3
- package/dist/api/api/videoWallApi.d.ts +7 -7
- package/dist/api/api/weatherApi.d.ts +2 -2
- package/dist/api/api/workflowsApi.d.ts +15 -0
- package/dist/api/types/360.d.ts +288 -25
- package/dist/api/types/aconex.d.ts +104 -6
- package/dist/api/types/admin.d.ts +51 -0
- package/dist/api/types/aiConfigs.d.ts +244 -0
- package/dist/api/types/analytics.d.ts +182 -59
- package/dist/api/types/anpr.d.ts +53 -13
- package/dist/api/types/auditLogs.d.ts +19 -2
- package/dist/api/types/authz.d.ts +132 -0
- package/dist/api/types/autodesk.d.ts +7 -7
- package/dist/api/types/automation.d.ts +114 -1
- package/dist/api/types/axios.d.ts +20 -14
- package/dist/api/types/bim.d.ts +38 -9
- package/dist/api/types/camera.d.ts +130 -119
- package/dist/api/types/comments.d.ts +16 -11
- package/dist/api/types/company.d.ts +42 -1
- package/dist/api/types/compare.d.ts +20 -5
- package/dist/api/types/connector.d.ts +5 -5
- package/dist/api/types/coolify.d.ts +20 -2
- package/dist/api/types/credentials.d.ts +1 -0
- package/dist/api/types/detections.d.ts +23 -32
- package/dist/api/types/drone.d.ts +95 -6
- package/dist/api/types/errors.d.ts +13 -1
- package/dist/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 +26 -1
- package/dist/api/types/index.d.ts +16 -3
- package/dist/api/types/ingest.d.ts +191 -4
- package/dist/api/types/kit.d.ts +76 -56
- package/dist/api/types/map.d.ts +12 -0
- package/dist/api/types/media.d.ts +9 -3
- package/dist/api/types/notification.d.ts +83 -3
- 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 +84 -0
- package/dist/api/types/planner.d.ts +102 -9
- package/dist/api/types/posthog.d.ts +35 -0
- package/dist/api/types/procore.d.ts +13 -6
- package/dist/api/types/progressPhoto.d.ts +6 -32
- package/dist/api/types/project.d.ts +150 -19
- package/dist/api/types/recording.d.ts +10 -15
- package/dist/api/types/recycleBin.d.ts +1 -1
- package/dist/api/types/ring.d.ts +53 -0
- package/dist/api/types/roi.d.ts +3 -11
- package/dist/api/types/routeParams.d.ts +1 -0
- package/dist/api/types/router.d.ts +20 -1
- package/dist/api/types/shared.d.ts +28 -24
- package/dist/api/types/shares.d.ts +6 -157
- package/dist/api/types/sim.d.ts +6 -6
- package/dist/api/types/siteAnalytics.d.ts +189 -46
- 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 +49 -4
- package/dist/api/types/socket.d.ts +4 -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 +3 -3
- package/dist/api/types/tag.d.ts +1 -1
- package/dist/api/types/time.d.ts +4 -18
- package/dist/api/types/timelapse.d.ts +7 -11
- package/dist/api/types/user.d.ts +121 -35
- package/dist/api/types/videoWall.d.ts +47 -14
- package/dist/api/types/weather.d.ts +77 -11
- package/dist/api/types/widget.d.ts +76 -15
- package/dist/api/types/workflows.d.ts +108 -0
- package/dist/api/types/xweather.d.ts +4 -4
- package/dist/api/utils.d.ts +1 -0
- package/dist/index.js +2446 -1048
- 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/types/components.d.ts +355 -36
- package/dist/shared/types/customDataTableFilters.d.ts +10 -0
- package/dist/shared/types/imagePlayer.d.ts +10 -3
- package/dist/shared/types/index.d.ts +3 -0
- package/dist/shared/types/observations.d.ts +25 -0
- package/dist/shared/types/rbac.d.ts +67 -0
- package/dist/shared/types/timeline.d.ts +2 -1
- package/package.json +6 -4
- package/dist/api/types/copilot.d.ts +0 -157
- package/dist/api/types/storageServers.d.ts +0 -4
- package/dist/api/types/vendorModel.d.ts +0 -15
|
@@ -1,157 +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
|
-
System = "system"
|
|
6
|
-
}
|
|
7
|
-
export declare enum CopilotMessageType {
|
|
8
|
-
Text = "text",
|
|
9
|
-
Progress = "progress",
|
|
10
|
-
Error = "error",
|
|
11
|
-
Json = "json"
|
|
12
|
-
}
|
|
13
|
-
export type CopilotMessage = {
|
|
14
|
-
content: string;
|
|
15
|
-
url?: string;
|
|
16
|
-
type: CopilotMessageType;
|
|
17
|
-
id?: number;
|
|
18
|
-
conversationId?: number;
|
|
19
|
-
};
|
|
20
|
-
export declare enum CopilotStepId {
|
|
21
|
-
SendToLLM = "send_to_llm",
|
|
22
|
-
FunctionCallRequest = "function_call_request",
|
|
23
|
-
ExecFunctionCall = "exec_function_call",
|
|
24
|
-
SendToUser = "send_to_user",
|
|
25
|
-
RequestMissingFields = "request_missing_fields",
|
|
26
|
-
CompletedFieldsResponse = "completed_fields_response",
|
|
27
|
-
SendRawToolCallResponse = "send_raw_tool_call_response",
|
|
28
|
-
SubmitToolOutputsToLLM = "submit_tool_outputs_to_llm",
|
|
29
|
-
CancelCall = "cancel_call"
|
|
30
|
-
}
|
|
31
|
-
export declare enum CopilotMissingFieldsLabels {
|
|
32
|
-
ProjectExid = "Project",
|
|
33
|
-
CameraExid = "Camera",
|
|
34
|
-
FromDate = "Start date",
|
|
35
|
-
ToDate = "End date"
|
|
36
|
-
}
|
|
37
|
-
export type CopilotMissingField<T = any> = {
|
|
38
|
-
name: string;
|
|
39
|
-
label: string;
|
|
40
|
-
value: any;
|
|
41
|
-
type: string;
|
|
42
|
-
toolId: string;
|
|
43
|
-
error?: T;
|
|
44
|
-
};
|
|
45
|
-
export type CopilotMissingFields = Record<number, CopilotMissingField[]>;
|
|
46
|
-
export type UserConversations = CopilotConversation & {
|
|
47
|
-
Message: CopilotMessage[];
|
|
48
|
-
};
|
|
49
|
-
export declare enum CopilotSocketEvent {
|
|
50
|
-
ConversationStart = "conversation:start",
|
|
51
|
-
ConversationCreated = "conversation:created",
|
|
52
|
-
LLMMessageChunk = "llm:message:chunk",
|
|
53
|
-
LLMMessageComplete = "llm:message:complete",
|
|
54
|
-
LLMMessageLoading = "llm:message:loading",
|
|
55
|
-
LLMRequestCancel = "llm:request:cancel",
|
|
56
|
-
LLMRequestCanceled = "llm:request:canceled",
|
|
57
|
-
UserMessage = "user:message",
|
|
58
|
-
ContextError = "chat:contextError",
|
|
59
|
-
ChatError = "chat:chatError",
|
|
60
|
-
MissingFields = "chat:missingFields",
|
|
61
|
-
MissingFieldsCompleted = "chat:missingFields:completed",
|
|
62
|
-
SystemToolCallResponse = "system:toolCall:response",
|
|
63
|
-
ChangeProvider = "chat:changeProvider"
|
|
64
|
-
}
|
|
65
|
-
export type CopilotConversation = {
|
|
66
|
-
id: number;
|
|
67
|
-
user: string;
|
|
68
|
-
model: string;
|
|
69
|
-
context: string;
|
|
70
|
-
cameraExid: CameraExid;
|
|
71
|
-
projectExid: ProjectExid;
|
|
72
|
-
startDate: string;
|
|
73
|
-
endDate: string;
|
|
74
|
-
messagesCount: number;
|
|
75
|
-
};
|
|
76
|
-
export declare enum CopilotProvider {
|
|
77
|
-
Gemini = "gemini",
|
|
78
|
-
ChatGPT = "chatgpt"
|
|
79
|
-
}
|
|
80
|
-
export declare enum CopilotSuggestion {
|
|
81
|
-
UserManual = "user_manual",
|
|
82
|
-
GateReport = "gate_report",
|
|
83
|
-
Weather = "weather",
|
|
84
|
-
Clip = "clip",
|
|
85
|
-
Timelapse = "timelapse",
|
|
86
|
-
Chart = "chart"
|
|
87
|
-
}
|
|
88
|
-
export declare enum CopilotChatProvider {
|
|
89
|
-
Gemini = "gemini",
|
|
90
|
-
ChatGpt = "chatGpt"
|
|
91
|
-
}
|
|
92
|
-
export declare enum CopilotLayout {
|
|
93
|
-
Floating = "floating"
|
|
94
|
-
}
|
|
95
|
-
export declare enum CopilotToolId {
|
|
96
|
-
GetReports = "getReports",
|
|
97
|
-
GetVehiclesDetections = "getVehiclesDetections",
|
|
98
|
-
GetVehiclesDetectionsCounts = "getVehiclesDetectionsCounts",
|
|
99
|
-
GetWeather = "getWeather",
|
|
100
|
-
CreateClip = "createClip",
|
|
101
|
-
NavigateToPage = "navigateToPage",
|
|
102
|
-
CreateTimelapse = "createTimelapse",
|
|
103
|
-
RequestMissingFields = "requestMissingFields",
|
|
104
|
-
RenderCharts = "renderCharts"
|
|
105
|
-
}
|
|
106
|
-
export type CopilotSystemToolCallResponse<I = unknown, O = unknown> = {
|
|
107
|
-
toolId?: CopilotToolId;
|
|
108
|
-
input?: I;
|
|
109
|
-
output?: O;
|
|
110
|
-
};
|
|
111
|
-
export type CopilotCamera = {
|
|
112
|
-
name: string;
|
|
113
|
-
exid: CameraExid;
|
|
114
|
-
status: CameraStatus;
|
|
115
|
-
featureFlags?: CameraFeatureFlag[];
|
|
116
|
-
};
|
|
117
|
-
export type CopilotProject = {
|
|
118
|
-
name: string;
|
|
119
|
-
exid: ProjectExid;
|
|
120
|
-
status: ProjectStatus;
|
|
121
|
-
featureFlags?: ProjectFeatureFlag[];
|
|
122
|
-
cameras?: CopilotCamera[];
|
|
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
|
-
}
|
|
157
|
-
export type CopilotCompletedFields = Record<string, unknown>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export type VendorModel = {
|
|
2
|
-
cameraCount: number;
|
|
3
|
-
exid: string;
|
|
4
|
-
h264Url: string;
|
|
5
|
-
jpgUrl: string;
|
|
6
|
-
name: string;
|
|
7
|
-
online: number;
|
|
8
|
-
playbackUrl: string;
|
|
9
|
-
};
|
|
10
|
-
export type VendorModelRequestPayload = {
|
|
11
|
-
sort: string;
|
|
12
|
-
};
|
|
13
|
-
export type VendorModelResponsePayload = {
|
|
14
|
-
data: VendorModel[];
|
|
15
|
-
};
|