@evercam/api 1.0.0-b132954ca → 1.0.0-b1de66f57
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 +4 -0
- package/dist/api/api/3dFirebaseApi.d.ts +176 -0
- package/dist/api/{adminApi.d.ts → api/adminApi.d.ts} +139 -72
- package/dist/api/api/aiApi.d.ts +159 -0
- package/dist/api/api/authzApi.d.ts +37 -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 +1 -1
- 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 +346 -0
- package/dist/api/{evercamLabsApi.d.ts → api/evercamLabsApi.d.ts} +7 -4
- package/dist/api/{exNvrApi.d.ts → api/exNvrApi.d.ts} +1 -1
- package/dist/api/api/index.d.ts +13 -0
- package/dist/api/api/ingestApi.d.ts +151 -0
- package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +12 -3
- package/dist/api/api/videoWallApi.d.ts +9 -0
- package/dist/api/{weatherApi.d.ts → api/weatherApi.d.ts} +2 -2
- package/dist/api/index.d.ts +3 -13
- package/dist/api/types/360.d.ts +290 -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 +154 -0
- package/dist/{types → api/types}/analytics.d.ts +197 -42
- package/dist/{types → api/types}/anpr.d.ts +55 -13
- package/dist/{types → api/types}/auditLogs.d.ts +19 -1
- package/dist/api/types/authz.d.ts +61 -0
- package/dist/{types → api/types}/autodesk.d.ts +7 -7
- package/dist/api/types/automation.d.ts +95 -0
- package/dist/{types → api/types}/axios.d.ts +29 -7
- package/dist/{types → api/types}/bim.d.ts +28 -5
- package/dist/{types → api/types}/camera.d.ts +112 -94
- package/dist/{types → api/types}/comments.d.ts +24 -10
- package/dist/api/types/company.d.ts +115 -0
- package/dist/{types → api/types}/compare.d.ts +20 -5
- package/dist/{types → api/types}/connector.d.ts +3 -5
- package/dist/api/types/coolify.d.ts +36 -0
- package/dist/{types → api/types}/copilot.d.ts +11 -6
- 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 +116 -0
- package/dist/api/types/drone.d.ts +107 -0
- package/dist/{types → api/types}/errors.d.ts +24 -0
- package/dist/{types → api/types}/gateReport.d.ts +50 -158
- package/dist/api/types/gateReportManagement.d.ts +175 -0
- package/dist/{types → api/types}/hdd.d.ts +26 -1
- package/dist/{types → api/types}/index.d.ts +13 -1
- package/dist/api/types/ingest.d.ts +148 -0
- package/dist/{types → api/types}/kit.d.ts +64 -9
- package/dist/api/types/map.d.ts +16 -0
- package/dist/{types → api/types}/media.d.ts +2 -1
- package/dist/api/types/notification.d.ts +57 -0
- package/dist/api/types/oauth.d.ts +62 -0
- package/dist/api/types/planner.d.ts +132 -0
- package/dist/api/types/posthog.d.ts +33 -0
- package/dist/{types → api/types}/procore.d.ts +26 -16
- package/dist/{types → api/types}/progressPhoto.d.ts +11 -23
- package/dist/api/types/project.d.ts +247 -0
- package/dist/{types → api/types}/recording.d.ts +7 -12
- 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 -2
- package/dist/{types → api/types}/routeParams.d.ts +4 -2
- package/dist/{types → api/types}/router.d.ts +20 -1
- package/dist/{types → api/types}/shared.d.ts +31 -10
- package/dist/api/types/shares.d.ts +58 -0
- package/dist/{types → api/types}/sim.d.ts +6 -6
- package/dist/api/types/siteAnalytics.d.ts +287 -0
- package/dist/api/types/siteView.d.ts +73 -0
- package/dist/api/types/smartSeach.d.ts +5 -0
- package/dist/api/types/snapshots.d.ts +104 -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 +40 -0
- package/dist/{types → api/types}/streaming.d.ts +4 -5
- package/dist/{types → api/types}/tag.d.ts +1 -1
- package/dist/api/types/time.d.ts +7 -0
- package/dist/{types → api/types}/timelapse.d.ts +8 -5
- package/dist/{types → api/types}/user.d.ts +106 -37
- 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 +96 -16
- package/dist/{types → api/types}/xweather.d.ts +4 -4
- package/dist/index.d.ts +2 -3
- package/dist/index.js +2221 -968
- 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 +324 -0
- package/dist/shared/types/customDataTableFilters.d.ts +10 -0
- package/dist/shared/types/imagePlayer.d.ts +41 -0
- package/dist/shared/types/index.d.ts +6 -0
- package/dist/shared/types/rbac.d.ts +67 -0
- package/dist/shared/types/timeline.d.ts +10 -0
- package/package.json +7 -4
- package/dist/api/3dFirebaseApi.d.ts +0 -10
- package/dist/api/aiApi.d.ts +0 -121
- package/dist/api/authzApi.d.ts +0 -21
- package/dist/api/evercamApi.d.ts +0 -294
- package/dist/api/ingestApi.d.ts +0 -68
- package/dist/api/videoWallApi.d.ts +0 -9
- 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/company.d.ts +0 -46
- package/dist/types/coolify.d.ts +0 -18
- package/dist/types/detections.d.ts +0 -76
- 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/planner.d.ts +0 -28
- package/dist/types/project.d.ts +0 -124
- package/dist/types/shares.d.ts +0 -196
- package/dist/types/siteAnalytics.d.ts +0 -123
- package/dist/types/snapshots.d.ts +0 -50
- package/dist/types/storageServers.d.ts +0 -4
- package/dist/types/time.d.ts +0 -19
- package/dist/types/videoWall.d.ts +0 -33
- package/dist/types/weather.d.ts +0 -87
- /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}/nvr.d.ts +0 -0
- /package/dist/{types → api/types}/systemCheck.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/{utils.d.ts → api/utils.d.ts} +0 -0
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { CameraExid, DateType, PaginationParams, Schedule } from "@/types";
|
|
2
|
-
export type SnapshotExtractionQyeryParams = PaginationParams & {
|
|
3
|
-
camera: string;
|
|
4
|
-
cameraExid: CameraExid;
|
|
5
|
-
status: SnapshotExtractionStatus;
|
|
6
|
-
};
|
|
7
|
-
export declare enum SnapshotExtractionStatus {
|
|
8
|
-
Completed = "completed",
|
|
9
|
-
Failed = "failed",
|
|
10
|
-
Processing = "processing"
|
|
11
|
-
}
|
|
12
|
-
export declare enum SnapshotExtractionType {
|
|
13
|
-
Cloud = "cloud",
|
|
14
|
-
Local = "local",
|
|
15
|
-
Timelapse = "timelapse"
|
|
16
|
-
}
|
|
17
|
-
export type SnapshotExtraction = {
|
|
18
|
-
id: number;
|
|
19
|
-
cameraId: number;
|
|
20
|
-
cameraExid: CameraExid;
|
|
21
|
-
cameraName: string;
|
|
22
|
-
fromDate: DateType;
|
|
23
|
-
toDate: DateType;
|
|
24
|
-
type: SnapshotExtractionType;
|
|
25
|
-
notes: string;
|
|
26
|
-
status: SnapshotExtractionStatus;
|
|
27
|
-
interval: number;
|
|
28
|
-
requestor: string;
|
|
29
|
-
jpegsToDropbox: boolean;
|
|
30
|
-
injectTo_cr: Boolean;
|
|
31
|
-
schedule: Schedule;
|
|
32
|
-
created_at: DateType;
|
|
33
|
-
};
|
|
34
|
-
export type SnapshotTestPayload = {
|
|
35
|
-
cameraExid?: CameraExid;
|
|
36
|
-
camUsername: string;
|
|
37
|
-
camPassword: string;
|
|
38
|
-
externalUrl: string;
|
|
39
|
-
jpgUrl: string;
|
|
40
|
-
};
|
|
41
|
-
export type SnapshotTestResponse = {
|
|
42
|
-
status: string;
|
|
43
|
-
data: string;
|
|
44
|
-
};
|
|
45
|
-
export type DeleteSnapshotQueryParams = {
|
|
46
|
-
fromDate: DateType;
|
|
47
|
-
toDate: DateType;
|
|
48
|
-
adminEmail: string;
|
|
49
|
-
adminFullname: string;
|
|
50
|
-
};
|
package/dist/types/time.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export type DateType = Date | string | number;
|
|
2
|
-
type YYYY = number;
|
|
3
|
-
type MM = number;
|
|
4
|
-
type DD = number;
|
|
5
|
-
type HH = number;
|
|
6
|
-
type mm = number;
|
|
7
|
-
type ss = number;
|
|
8
|
-
type microS = number;
|
|
9
|
-
export type Date_YYYY = `${YYYY}` | string;
|
|
10
|
-
export type Date_YYYY_MM = `${YYYY}-${MM}` | string;
|
|
11
|
-
export type Date_YYYY_MM_DD = `${YYYY}-${MM}-${DD}` | string;
|
|
12
|
-
export type Time_HH_mm_ss = `${HH}:${mm}:${ss}` | string;
|
|
13
|
-
export type Date_HH = `${HH}` | string;
|
|
14
|
-
export type DateTime = `${Date_YYYY_MM_DD}T${Time_HH_mm_ss}` | string;
|
|
15
|
-
export type DateTime_tz = `${Date_YYYY_MM_DD}T${Time_HH_mm_ss}${"+" | "-"}${HH}:${mm}` | string;
|
|
16
|
-
export type DateTime_Z = `${Date_YYYY_MM_DD}T${Time_HH_mm_ss}Z` | string;
|
|
17
|
-
export type DateTime_Z_micros = `${Date_YYYY_MM_DD}T${Time_HH_mm_ss}.${microS}Z` | string;
|
|
18
|
-
export type DateTimeSpaceSeparated = `${Date_YYYY_MM_DD} ${Time_HH_mm_ss}` | string;
|
|
19
|
-
export {};
|
|
@@ -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
|
-
};
|
package/dist/types/weather.d.ts
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { Date_YYYY_MM_DD, DateType } from "@/types/time";
|
|
2
|
-
export type HistoryWeatherRequestPayload = {
|
|
3
|
-
day: string;
|
|
4
|
-
provider: WeatherProvider;
|
|
5
|
-
};
|
|
6
|
-
export type CurrentWeatherRequestPayload = {
|
|
7
|
-
provider: WeatherProvider;
|
|
8
|
-
};
|
|
9
|
-
export type WeatherResponsePayload = Array<{
|
|
10
|
-
hour?: number;
|
|
11
|
-
temp?: number;
|
|
12
|
-
clouds?: number;
|
|
13
|
-
feelsLike?: number;
|
|
14
|
-
pressure?: number;
|
|
15
|
-
humidity?: number;
|
|
16
|
-
windSpeed?: number;
|
|
17
|
-
windDegree?: number;
|
|
18
|
-
weather?: [WeatherSummary];
|
|
19
|
-
rain?: HourlyReading;
|
|
20
|
-
snow?: HourlyReading;
|
|
21
|
-
}>;
|
|
22
|
-
export type WeatherSummary = {
|
|
23
|
-
id?: number;
|
|
24
|
-
main?: string;
|
|
25
|
-
description?: string;
|
|
26
|
-
icon?: string;
|
|
27
|
-
};
|
|
28
|
-
export type HourlyReading = {
|
|
29
|
-
"1h"?: number;
|
|
30
|
-
"3h"?: number;
|
|
31
|
-
};
|
|
32
|
-
export declare enum WeatherProvider {
|
|
33
|
-
WeatherStack = "weather_stack",
|
|
34
|
-
XWeather = "xweather"
|
|
35
|
-
}
|
|
36
|
-
export type Weatherstatus = {
|
|
37
|
-
description: string;
|
|
38
|
-
hour: DateType;
|
|
39
|
-
id: number;
|
|
40
|
-
temp: number;
|
|
41
|
-
};
|
|
42
|
-
export type WeatherDataResponse = {
|
|
43
|
-
minFeelsLike: number;
|
|
44
|
-
id: number;
|
|
45
|
-
sunhour: number;
|
|
46
|
-
maxFeelsLike: number;
|
|
47
|
-
minWindchill: number;
|
|
48
|
-
minPressure: number;
|
|
49
|
-
minWindDegree: number;
|
|
50
|
-
minDewpoint: number;
|
|
51
|
-
maxClouds: number;
|
|
52
|
-
maxWindgust: number;
|
|
53
|
-
minWindSpeed: number;
|
|
54
|
-
astro: {
|
|
55
|
-
moonIllumination: number;
|
|
56
|
-
moonPhase: string;
|
|
57
|
-
moonrise: string;
|
|
58
|
-
moonset: string;
|
|
59
|
-
sunrise: string;
|
|
60
|
-
sunset: string;
|
|
61
|
-
};
|
|
62
|
-
insertedAt: string;
|
|
63
|
-
maxDewpoint: number;
|
|
64
|
-
maxTemp: number;
|
|
65
|
-
minClouds: number;
|
|
66
|
-
weather: Weatherstatus[];
|
|
67
|
-
minHeatindex: number;
|
|
68
|
-
minPrecip: number;
|
|
69
|
-
maxWindDegree: number;
|
|
70
|
-
maxUvIndex: number;
|
|
71
|
-
minHumidity: number;
|
|
72
|
-
maxWindSpeed: number;
|
|
73
|
-
minWindgust: number;
|
|
74
|
-
updatedAt: DateType;
|
|
75
|
-
maxPrecip: number;
|
|
76
|
-
uvIndex: number;
|
|
77
|
-
maxHeatindex: number;
|
|
78
|
-
minTemp: number;
|
|
79
|
-
date: Date_YYYY_MM_DD;
|
|
80
|
-
totalsnow: number;
|
|
81
|
-
maxPressure: number;
|
|
82
|
-
maxWindchill: number;
|
|
83
|
-
maxHumidity: number;
|
|
84
|
-
avgtemp: number;
|
|
85
|
-
projectId: number;
|
|
86
|
-
minUvIndex: number;
|
|
87
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|