@evercam/api 1.0.0-a405572ff → 1.0.0-a59703ab2
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 -1
- package/dist/api/api/3dFirebaseApi.d.ts +27 -0
- package/dist/api/{adminApi.d.ts → api/adminApi.d.ts} +120 -54
- package/dist/api/api/aiApi.d.ts +124 -0
- package/dist/api/{authzApi.d.ts → api/authzApi.d.ts} +10 -1
- package/dist/api/{client → api/client}/axios.d.ts +1 -0
- 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/{evercamApi.d.ts → api/evercamApi.d.ts} +89 -57
- package/dist/api/api/evercamLabsApi.d.ts +46 -0
- 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} +5 -1
- package/dist/api/api/videoWallApi.d.ts +9 -0
- package/dist/api/api/weatherApi.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 +151 -71
- package/dist/{types → api/types}/anpr.d.ts +16 -17
- package/dist/api/types/authz.d.ts +28 -0
- package/dist/api/types/automation.d.ts +61 -0
- package/dist/{types → api/types}/axios.d.ts +16 -1
- package/dist/{types → api/types}/camera.d.ts +32 -58
- package/dist/api/types/comments.d.ts +59 -0
- package/dist/{types → api/types}/company.d.ts +29 -1
- package/dist/{types → api/types}/connector.d.ts +6 -1
- package/dist/api/types/coolify.d.ts +20 -0
- package/dist/{types → api/types}/copilot.d.ts +11 -9
- 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 +112 -0
- package/dist/{types → api/types}/errors.d.ts +13 -0
- package/dist/{types → api/types}/gateReport.d.ts +54 -102
- package/dist/api/types/hdd.d.ts +63 -0
- package/dist/{types → api/types}/index.d.ts +10 -2
- package/dist/{types → api/types}/ingest.d.ts +8 -0
- package/dist/{types → api/types}/kit.d.ts +115 -10
- package/dist/{types → api/types}/nvr.d.ts +2 -1
- package/dist/{types/sitePlanner.d.ts → api/types/planner.d.ts} +13 -1
- package/dist/api/types/posthog.d.ts +18 -0
- package/dist/api/types/procore.d.ts +222 -0
- package/dist/{types → api/types}/progressPhoto.d.ts +6 -22
- package/dist/{types → api/types}/project.d.ts +56 -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}/roi.d.ts +2 -1
- 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 +3 -17
- package/dist/api/types/shares.d.ts +58 -0
- 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 +4 -27
- package/dist/api/types/systemCheck.d.ts +11 -0
- package/dist/api/types/tag.d.ts +12 -0
- package/dist/{types → api/types}/time.d.ts +6 -0
- package/dist/{types → api/types}/timelapse.d.ts +15 -0
- package/dist/{types → api/types}/user.d.ts +19 -7
- package/dist/api/types/videoWall.d.ts +66 -0
- package/dist/{types → api/types}/weather.d.ts +8 -2
- package/dist/{types → api/types}/widget.d.ts +38 -11
- 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 +1605 -934
- 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 +10 -8
- package/dist/api/3dFirebaseApi.d.ts +0 -9
- package/dist/api/aiApi.d.ts +0 -73
- package/dist/api/evercamLabsApi.d.ts +0 -50
- 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/detections.d.ts +0 -62
- package/dist/types/devices.d.ts +0 -228
- package/dist/types/procore.d.ts +0 -76
- package/dist/types/shares.d.ts +0 -192
- package/dist/types/siteAnalytics.d.ts +0 -5
- package/dist/types/videoWall.d.ts +0 -33
- /package/dist/api/{client → api/client}/index.d.ts +0 -0
- /package/dist/api/{exNvrApi.d.ts → api/exNvrApi.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}/drone.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}/sim.d.ts +0 -0
- /package/dist/{types → api/types}/storageServers.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/shares.d.ts
DELETED
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
import type { CameraExid, DateTime, DateType } from "@/types";
|
|
2
|
-
export type ShareRequest = {
|
|
3
|
-
cameraId: string;
|
|
4
|
-
createdAt: DateType | number;
|
|
5
|
-
email: string;
|
|
6
|
-
id: number;
|
|
7
|
-
rights: string;
|
|
8
|
-
sharerEmail: string;
|
|
9
|
-
sharerName: string;
|
|
10
|
-
userId: number;
|
|
11
|
-
};
|
|
12
|
-
export type Share = {
|
|
13
|
-
cameraId: string;
|
|
14
|
-
createdAt: DateType | number;
|
|
15
|
-
email: string;
|
|
16
|
-
fullname: string;
|
|
17
|
-
id: number;
|
|
18
|
-
lastSeenAt: DateType;
|
|
19
|
-
rights: string;
|
|
20
|
-
sessionCount: number;
|
|
21
|
-
sharerEmail: string;
|
|
22
|
-
sharerId: number;
|
|
23
|
-
sharerName: string;
|
|
24
|
-
userId: number;
|
|
25
|
-
};
|
|
26
|
-
export type ShareRequestsResponsePayload = {
|
|
27
|
-
shareRequests: ShareRequest[];
|
|
28
|
-
};
|
|
29
|
-
export type ShareOwner = {
|
|
30
|
-
email: string;
|
|
31
|
-
fullname: string;
|
|
32
|
-
lastSeenAt: DateType;
|
|
33
|
-
sessionCount: number;
|
|
34
|
-
};
|
|
35
|
-
export type SharesResponsePayload = {
|
|
36
|
-
owner: ShareOwner;
|
|
37
|
-
shares: Share[];
|
|
38
|
-
};
|
|
39
|
-
export type ShareDeletionRequestPayload = {
|
|
40
|
-
email?: string;
|
|
41
|
-
key?: string;
|
|
42
|
-
origin?: string;
|
|
43
|
-
};
|
|
44
|
-
export type SharedUsersResponsePayload = Array<{
|
|
45
|
-
email: string;
|
|
46
|
-
name: string;
|
|
47
|
-
}>;
|
|
48
|
-
export type ShareCreateRequestPayload = {
|
|
49
|
-
email: string[] | string;
|
|
50
|
-
message?: string;
|
|
51
|
-
permission?: string;
|
|
52
|
-
rights: string;
|
|
53
|
-
apiId?: string;
|
|
54
|
-
apiKey?: string;
|
|
55
|
-
};
|
|
56
|
-
export type ShareProjectCamerasRequestPayload = {
|
|
57
|
-
email: string[];
|
|
58
|
-
cameraExids: CameraExid[];
|
|
59
|
-
message: string;
|
|
60
|
-
permission?: string;
|
|
61
|
-
rights: string;
|
|
62
|
-
};
|
|
63
|
-
export type ShareCreateResponsePayload = {
|
|
64
|
-
shares: Share[];
|
|
65
|
-
shareRequests: ShareRequest[];
|
|
66
|
-
};
|
|
67
|
-
export type ShareRequestByKeyResponsePayload = {
|
|
68
|
-
shareRequests: Array<{
|
|
69
|
-
id: string;
|
|
70
|
-
email: string;
|
|
71
|
-
rights: string;
|
|
72
|
-
cameraId: string;
|
|
73
|
-
sharerName: string;
|
|
74
|
-
userId: string;
|
|
75
|
-
sharerEmail: string;
|
|
76
|
-
createdAt: DateType;
|
|
77
|
-
}>;
|
|
78
|
-
};
|
|
79
|
-
export type ResendShareRequestPayload = {
|
|
80
|
-
email: string;
|
|
81
|
-
apiId?: string;
|
|
82
|
-
apiKey?: string;
|
|
83
|
-
};
|
|
84
|
-
export declare enum SharePermission {
|
|
85
|
-
Minimum = "minimum",
|
|
86
|
-
Share = "minimal+share",
|
|
87
|
-
Full = "full",
|
|
88
|
-
Custom = "custom"
|
|
89
|
-
}
|
|
90
|
-
export declare enum ShareType {
|
|
91
|
-
Share = "share",
|
|
92
|
-
Request = "request"
|
|
93
|
-
}
|
|
94
|
-
export declare enum ShareRequestStatus {
|
|
95
|
-
All = "",
|
|
96
|
-
Pending = -1,
|
|
97
|
-
Cancelled = -2,
|
|
98
|
-
Failed = -3,
|
|
99
|
-
Used = 1
|
|
100
|
-
}
|
|
101
|
-
export declare enum ShareVisibility {
|
|
102
|
-
PublicDiscoverable = "publicDiscoverable",
|
|
103
|
-
PublicUndiscoverable = "publicUndiscoverable",
|
|
104
|
-
Private = "private"
|
|
105
|
-
}
|
|
106
|
-
export type ProjectShare = {
|
|
107
|
-
id: number;
|
|
108
|
-
projectId: string;
|
|
109
|
-
userId: number;
|
|
110
|
-
email: string;
|
|
111
|
-
fullname: string;
|
|
112
|
-
sharerId: number;
|
|
113
|
-
sharerEmail: string;
|
|
114
|
-
sharerName: string;
|
|
115
|
-
role: "member" | "admin";
|
|
116
|
-
cameras: Record<string, string>;
|
|
117
|
-
message: string | null;
|
|
118
|
-
updatedAt: DateType;
|
|
119
|
-
insertedAt: DateType;
|
|
120
|
-
};
|
|
121
|
-
export type ProjectShareRequest = ProjectShare;
|
|
122
|
-
export type ProjectShareResponse = {
|
|
123
|
-
projectShares: ProjectShare[];
|
|
124
|
-
projectShareRequests: ProjectShareRequest[];
|
|
125
|
-
};
|
|
126
|
-
export type AdminShare = {
|
|
127
|
-
sharerId: number;
|
|
128
|
-
sharerFullname: string;
|
|
129
|
-
sharerApiId: string;
|
|
130
|
-
sharerApiKey: string;
|
|
131
|
-
shareeId: number;
|
|
132
|
-
shareeFullname: string;
|
|
133
|
-
shareeApiId: string;
|
|
134
|
-
shareeApiKey: string;
|
|
135
|
-
shareeEmail: string;
|
|
136
|
-
cameraId: number;
|
|
137
|
-
exid: string;
|
|
138
|
-
projectId: string;
|
|
139
|
-
name: string;
|
|
140
|
-
id: number;
|
|
141
|
-
message: string;
|
|
142
|
-
createdAt: DateType;
|
|
143
|
-
};
|
|
144
|
-
export type CameraShareRequestPayload = {
|
|
145
|
-
email: string[];
|
|
146
|
-
rights: string;
|
|
147
|
-
message?: string;
|
|
148
|
-
};
|
|
149
|
-
export type ShareQueryParams = {
|
|
150
|
-
exid: string;
|
|
151
|
-
sharerFullname: string;
|
|
152
|
-
shareeFullname: string;
|
|
153
|
-
shareeEmail: string;
|
|
154
|
-
};
|
|
155
|
-
export type CameraShare = {
|
|
156
|
-
sharerId: number;
|
|
157
|
-
sharerFullname: string;
|
|
158
|
-
sharerApiId: string;
|
|
159
|
-
sharerApiKey: string;
|
|
160
|
-
shareeId: number;
|
|
161
|
-
shareeFullname: string;
|
|
162
|
-
shareeApiId: string;
|
|
163
|
-
shareeApiKey: string;
|
|
164
|
-
shareeEmail: string;
|
|
165
|
-
cameraId: number;
|
|
166
|
-
exid: string;
|
|
167
|
-
projectId: string;
|
|
168
|
-
name: string;
|
|
169
|
-
id: number;
|
|
170
|
-
message: string;
|
|
171
|
-
createdAt: DateTime;
|
|
172
|
-
};
|
|
173
|
-
export type CameraShareRequestsQueryParams = {
|
|
174
|
-
shareeEmail: string;
|
|
175
|
-
camera: string;
|
|
176
|
-
sharer: string;
|
|
177
|
-
status: string;
|
|
178
|
-
};
|
|
179
|
-
export type CameraShareRequest = {
|
|
180
|
-
id: number;
|
|
181
|
-
shareeEmail: string;
|
|
182
|
-
camera: string;
|
|
183
|
-
sharer: string;
|
|
184
|
-
message: number;
|
|
185
|
-
rights: string;
|
|
186
|
-
status: number;
|
|
187
|
-
projectId: string;
|
|
188
|
-
cameraExid: string;
|
|
189
|
-
apiId: string;
|
|
190
|
-
apiKey: number;
|
|
191
|
-
createdAt: DateTime;
|
|
192
|
-
};
|
|
@@ -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
|