@evercam/api 1.0.0-545d28907 → 1.0.0-55a4368ec
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/api/3dFirebaseApi.d.ts +2 -0
- package/dist/api/api/adminApi.d.ts +1 -3
- package/dist/api/api/ptzApi.d.ts +4 -0
- package/dist/api/types/360.d.ts +5 -0
- package/dist/api/types/camera.d.ts +7 -6
- package/dist/index.js +76 -44
- 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/imagePlayer.d.ts +1 -1
- package/package.json +1 -1
|
@@ -10,6 +10,8 @@ export declare const _3dFirebaseApi: {
|
|
|
10
10
|
_360: {
|
|
11
11
|
getProjectInfo(projectExid: ProjectExid): Promise<_360ProjectJsonResponse>;
|
|
12
12
|
updateFloor(projectExid: ProjectExid, dateId: string, floorIndex: string, body: any): Promise<_360ProjectJsonResponse>;
|
|
13
|
+
getRoute(projectExid: ProjectExid, dateId: string, floorIndex: string): Promise<any>;
|
|
14
|
+
getGPXText(url: string): Promise<any>;
|
|
13
15
|
updateRoute(projectExid: ProjectExid, dateId: string, floorIndex: string, body: any): Promise<any>;
|
|
14
16
|
updateFeatureFlag(projectID: string, dateID: string, floorID: string, featureFlagName: string, value: boolean): Promise<any>;
|
|
15
17
|
saveSteps(projectID: string, dateID: string, floorID: string, stepsValue: number): Promise<any>;
|
|
@@ -161,9 +161,7 @@ export declare const AdminApi: {
|
|
|
161
161
|
}): Promise<{
|
|
162
162
|
data: CameraLog[];
|
|
163
163
|
}>;
|
|
164
|
-
getCameraLogs(cameraId: string,
|
|
165
|
-
params: CameraAuditLogsQueryParams;
|
|
166
|
-
}): Promise<PaginatedItems<CameraAuditLog[]>>;
|
|
164
|
+
getCameraLogs(cameraId: string, params: CameraAuditLogsQueryParams): Promise<PaginatedItems<CameraAuditLog[]>>;
|
|
167
165
|
togglePinNote(id: string): Promise<PaginatedItems<CameraAuditLog[]>>;
|
|
168
166
|
};
|
|
169
167
|
nvrs: {
|
package/dist/api/api/ptzApi.d.ts
CHANGED
|
@@ -21,6 +21,10 @@ export declare const PtzApi: {
|
|
|
21
21
|
presetId: string | number;
|
|
22
22
|
presetName: string;
|
|
23
23
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
24
|
+
updateHome({ cameraExid, presetName, }: {
|
|
25
|
+
cameraExid: string;
|
|
26
|
+
presetName: string;
|
|
27
|
+
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
24
28
|
delete({ cameraExid, presetId, }: {
|
|
25
29
|
cameraExid: string;
|
|
26
30
|
presetId: string | number;
|
package/dist/api/types/360.d.ts
CHANGED
|
@@ -14,6 +14,11 @@ export type _360Scene = {
|
|
|
14
14
|
polarAngle: number;
|
|
15
15
|
azimuthAngle: number;
|
|
16
16
|
};
|
|
17
|
+
export type _360SceneRoute = {
|
|
18
|
+
cameraHeadingOffset?: number;
|
|
19
|
+
overlayID?: number;
|
|
20
|
+
track?: string;
|
|
21
|
+
};
|
|
17
22
|
export type _360ProjectJsonResponse = {
|
|
18
23
|
dates: _360Scene[];
|
|
19
24
|
[key: string]: any;
|
|
@@ -177,13 +177,14 @@ export declare enum CameraStatus {
|
|
|
177
177
|
UnderMaintenance = "under_maintenance",
|
|
178
178
|
WaitingForSiteVisit = "waiting_for_site_visit"
|
|
179
179
|
}
|
|
180
|
-
export declare enum
|
|
181
|
-
High = "
|
|
182
|
-
Moderate = "
|
|
183
|
-
Low = "
|
|
184
|
-
NoChange = "
|
|
185
|
-
Default = "
|
|
180
|
+
export declare enum IntensityChange {
|
|
181
|
+
High = "High",
|
|
182
|
+
Moderate = "Moderate",
|
|
183
|
+
Low = "Low",
|
|
184
|
+
NoChange = "No change",
|
|
185
|
+
Default = "Default"
|
|
186
186
|
}
|
|
187
|
+
export declare const IntensityChangeColorMap: Record<IntensityChange, string>;
|
|
187
188
|
export declare enum CameraFeatureFlag {
|
|
188
189
|
EdgeVideo = "edge_video",
|
|
189
190
|
BimCompare = "bim_compare",
|