@evercam/api 1.0.0-641518e8f → 1.0.0-67288ab75
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 +2 -0
- package/dist/api/api/3dFirebaseApi.d.ts +19 -0
- package/dist/api/{adminApi.d.ts → api/adminApi.d.ts} +76 -24
- package/dist/api/api/aiApi.d.ts +143 -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} +67 -25
- package/dist/api/api/evercamLabsApi.d.ts +43 -0
- package/dist/api/api/index.d.ts +13 -0
- package/dist/api/{ingestApi.d.ts → api/ingestApi.d.ts} +9 -6
- package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +1 -1
- package/dist/api/api/weatherApi.d.ts +9 -0
- package/dist/api/index.d.ts +3 -13
- package/dist/{types → api/types}/360.d.ts +13 -2
- package/dist/{types → api/types}/aconex.d.ts +1 -1
- package/dist/{types → api/types}/analytics.d.ts +76 -69
- package/dist/{types → api/types}/anpr.d.ts +11 -6
- package/dist/{types → api/types}/automation.d.ts +4 -0
- package/dist/{types → api/types}/axios.d.ts +15 -1
- package/dist/{types → api/types}/camera.d.ts +17 -56
- package/dist/{types → api/types}/comments.d.ts +15 -8
- 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 +18 -0
- package/dist/{types → api/types}/copilot.d.ts +9 -8
- package/dist/{types → api/types}/countries.d.ts +0 -7
- package/dist/api/types/detections.d.ts +126 -0
- package/dist/{types → api/types}/errors.d.ts +12 -0
- package/dist/api/types/hdd.d.ts +63 -0
- package/dist/{types → api/types}/index.d.ts +7 -2
- package/dist/{types → api/types}/ingest.d.ts +4 -0
- package/dist/{types → api/types}/kit.d.ts +58 -6
- package/dist/{types → api/types}/nvr.d.ts +2 -1
- package/dist/{types/sitePlanner.d.ts → api/types/planner.d.ts} +10 -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 +21 -7
- package/dist/{types → api/types}/project.d.ts +10 -1
- package/dist/{types → api/types}/recording.d.ts +1 -2
- package/dist/{types → api/types}/roi.d.ts +2 -1
- package/dist/{types → api/types}/routeParams.d.ts +2 -1
- package/dist/{types → api/types}/shared.d.ts +3 -12
- package/dist/{types → api/types}/shares.d.ts +5 -1
- package/dist/api/types/siteAnalytics.d.ts +142 -0
- package/dist/{types → api/types}/streaming.d.ts +3 -25
- 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 +2 -0
- package/dist/{types → api/types}/timelapse.d.ts +15 -0
- package/dist/{types → api/types}/user.d.ts +1 -6
- package/dist/{types → api/types}/weather.d.ts +6 -2
- package/dist/{types → api/types}/widget.d.ts +10 -5
- package/dist/api/types/xweather.d.ts +12 -0
- package/dist/index.d.ts +2 -3
- package/dist/index.js +1270 -748
- 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 +192 -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 +6 -5
- package/dist/api/3dFirebaseApi.d.ts +0 -9
- package/dist/api/aiApi.d.ts +0 -73
- package/dist/api/evercamLabsApi.d.ts +0 -51
- package/dist/api/weatherApi.d.ts +0 -25
- 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/siteAnalytics.d.ts +0 -5
- /package/dist/api/{authzApi.d.ts → api/authzApi.d.ts} +0 -0
- /package/dist/api/{client → api/client}/axios.d.ts +0 -0
- /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/{videoWallApi.d.ts → api/videoWallApi.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}/credentials.d.ts +0 -0
- /package/dist/{types → api/types}/drone.d.ts +0 -0
- /package/dist/{types → api/types}/gateReport.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}/router.d.ts +0 -0
- /package/dist/{types → api/types}/sim.d.ts +0 -0
- /package/dist/{types → api/types}/snapshots.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}/videoWall.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,5 +1,5 @@
|
|
|
1
1
|
import type { AxiosRequestConfig } from "axios";
|
|
2
|
-
import type { AconexAuthCallbackParams, AconexEditedImageUploadRequestPayload, AconexUserProjectsResponsePayload,
|
|
2
|
+
import type { AconexAuthCallbackParams, AconexEditedImageUploadRequestPayload, AconexUserProjectsResponsePayload, ApiCredentials, AutodeskFolderResponsePayload, AutodeskProjectsResponsePayload, AutodeskTokenResponsePayload, AutodeskUploadSnapshotPayload, AutodeskUserHubsResponsePayload, AvailableDaysRequestPayload, AvailableDaysResponsePayload, AvailableHoursRequestPayload, AvailableHoursResponsePayload, BatteryReading, BatteryVoltage, BimCompareExportRequestPayload, BimCreationPayload, BIMLayer, BIMLayerPostPayload, BimLayersQueryParams, BimModelRequestPayload, BimModelResponsePayload, BimPendingImage, BimSnapshotRequestPayload, BimSnapshotResponsePayload, BimUploadCameraParameters, CameraExid, CameraLogsResponsePayload, CamerasResponsePayload, CameraStatusLog, CameraUpdateRequestPayload, CheckCameraPortPayload, Comment, CommentCreationRequestPayload, CommentsRequestPayload, Company, CompanyProject, CompanyKit, CompanyUser, Compare, CompareRequestPayload, ConnectorResponsePayload, Credentials, FetchCameraQueryParams, GoogleAuthRequestPayload, LoginRequestPayload, LoginResponsePayload, Logo, LogoutParams, Media, MediaCreateRequestPayload, MediaFilterQueryParams, MediaUpdateRequestPayload, MediaUsersResponsePayload, NearestSnapshotRequestPayload, NearestSnapshotResponsePayload, PaginatedItems, PendingBimImagesParams, ProcessPendingImagesBimParams, ProcoreEditedImageUploadRequestPayload, ProcoreObservationFormRequestPayload, ProcoreObservationTypesResponsePayload, ProcoreProjectsAlbumsPayload, ProcoreProjectRequestPayload, ProcoreUserCompaniesResponsePayload, ProcoreCompanyRequestPayload, ProcoreUserProjectsResponsePayload, ProcoreUserProjectPermissionsResponsePayload, ProcoreObservationAssignee, ProcoreObservationDistributionMember, ProcoreObservationTrades, ProcoreObservationLocation, ProcoreObservationSpecificationSection, ProcoreObservationForm, ProgressPhotosCreateUpdateRequestPayload, ProgressPhotosResponsePayload, ProgressPhotosUnSubscribeParams, ProjectBatteryReading, ProjectExid, ProjectLogoResponsePayload, ProjectResponsePayload, ProjectShareResponse, RemotePasswordUpdateRequestPayload, ResendShareRequestPayload, SessionsListRequestPayload, Share, ShareCreateRequestPayload, ShareCreateResponsePayload, ShareDeletionRequestPayload, SharedUsersResponsePayload, ShareProjectCamerasRequestPayload, UpdateUserRestrictionPayload, UpdateCameraRestrictionPayload, ShareRequestsResponsePayload, SharesResponsePayload, SignupUserRequestPayload, Snapshot, SnapshotRangeRequestPayload, SnapshotRangeResponsePayload, ThumbnailData, TimelapseCreationRequestPayload, TimelapseCreationResponsePayload, TimelapseSnapshotRequestPayload, TimelapseSnapshotResponsePayload, UpdatePasswordRequestPayload, UserDeleteRequestPayload, UserSession, UserUpdateRequestPayload, VoyageControlConnectorPayload, XWeatherCreatePayload, XWeatherResponse, Widget, WidgetFull, WidgetPayload, WidgetsListRequestPayload, Camera, ProcoreNextObservationAvailableNumber } from "@evercam/api/types";
|
|
3
3
|
export declare const EvercamApi: {
|
|
4
4
|
apiStatus: {
|
|
5
5
|
getApiStatus(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -14,7 +14,7 @@ export declare const EvercamApi: {
|
|
|
14
14
|
loginWithApiCredentials(apiId: String, apiKey: String): Promise<LoginResponsePayload>;
|
|
15
15
|
loginWithWidgetCredentials(widgetId: String, widgetKey: String): Promise<LoginResponsePayload>;
|
|
16
16
|
loginWithProvider(provider: string, payload: GoogleAuthRequestPayload): Promise<LoginResponsePayload>;
|
|
17
|
-
|
|
17
|
+
show(email: string): Promise<{
|
|
18
18
|
users: LoginResponsePayload[];
|
|
19
19
|
}>;
|
|
20
20
|
logout(payload: LogoutParams, config?: Partial<AxiosRequestConfig>): Promise<void>;
|
|
@@ -31,7 +31,6 @@ export declare const EvercamApi: {
|
|
|
31
31
|
confirm(email: string, payload: any): Promise<LoginResponsePayload>;
|
|
32
32
|
deleteActiveSession(sessionId: string, payload?: any): Promise<void>;
|
|
33
33
|
getActiveSessions(payload: SessionsListRequestPayload): Promise<PaginatedItems<UserSession>>;
|
|
34
|
-
getSessionActivities(payload: SessionActivitiesListRequestPayload): Promise<PaginatedItems<SessionActivity>>;
|
|
35
34
|
update(email: string, params?: Partial<UserUpdateRequestPayload>): Promise<{
|
|
36
35
|
users: LoginResponsePayload[];
|
|
37
36
|
}>;
|
|
@@ -56,7 +55,10 @@ export declare const EvercamApi: {
|
|
|
56
55
|
exportCompare(projectExid: string, payload: BimCompareExportRequestPayload): Promise<Compare>;
|
|
57
56
|
};
|
|
58
57
|
cameras: {
|
|
59
|
-
getCameras(
|
|
58
|
+
getCameras(params: {
|
|
59
|
+
params?: Partial<FetchCameraQueryParams>;
|
|
60
|
+
config?: AxiosRequestConfig;
|
|
61
|
+
}): Promise<CamerasResponsePayload>;
|
|
60
62
|
getCameraById(cameraId: string, params?: ApiCredentials): Promise<CamerasResponsePayload>;
|
|
61
63
|
getCameraLastPublicNote(cameraId: string): Promise<CameraLogsResponsePayload>;
|
|
62
64
|
portCheck(payload: {
|
|
@@ -77,7 +79,10 @@ export declare const EvercamApi: {
|
|
|
77
79
|
updateCamera(exid: string, params: CameraUpdateRequestPayload): Promise<CamerasResponsePayload>;
|
|
78
80
|
};
|
|
79
81
|
projects: {
|
|
80
|
-
index(params
|
|
82
|
+
index({ params, config, }: {
|
|
83
|
+
params?: ApiCredentials;
|
|
84
|
+
config: AxiosRequestConfig;
|
|
85
|
+
}): Promise<ProjectResponsePayload>;
|
|
81
86
|
getLogos(projectId: string): Promise<ProjectLogoResponsePayload>;
|
|
82
87
|
createLogo(projectId: string, formData: FormData): Promise<Logo & {
|
|
83
88
|
id: number;
|
|
@@ -91,6 +96,23 @@ export declare const EvercamApi: {
|
|
|
91
96
|
message: string;
|
|
92
97
|
}>;
|
|
93
98
|
getThumbnailData(projectExid: string): Promise<ThumbnailData>;
|
|
99
|
+
updateCamerasRestriction(projectExid: ProjectExid, payload: UpdateCameraRestrictionPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
100
|
+
updatePlaceholderThumbnail(projectExid: string, params: {
|
|
101
|
+
placeholder?: string;
|
|
102
|
+
}): Promise<{
|
|
103
|
+
message: string;
|
|
104
|
+
}>;
|
|
105
|
+
getPlaceholderThumbnailData(projectExid: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
106
|
+
transferOwnership(projectExid: string, newOwnerId: number): Promise<{
|
|
107
|
+
message: string;
|
|
108
|
+
}>;
|
|
109
|
+
getUsers(projectExid: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
110
|
+
getCameras(projectExid: string): Promise<{
|
|
111
|
+
cameras: Camera[];
|
|
112
|
+
}>;
|
|
113
|
+
getCameraRefs(projectExid: string): Promise<{
|
|
114
|
+
cameras: Camera[];
|
|
115
|
+
}>;
|
|
94
116
|
};
|
|
95
117
|
timelapse: {
|
|
96
118
|
getSnapshotRange(cameraId: string, payload: TimelapseSnapshotRequestPayload, extraParams?: AxiosRequestConfig): Promise<TimelapseSnapshotResponsePayload>;
|
|
@@ -104,6 +126,9 @@ export declare const EvercamApi: {
|
|
|
104
126
|
cUpdate(projectExid: string, id: string, payload: MediaUpdateRequestPayload): Promise<Compare>;
|
|
105
127
|
cDelete(projectExid: string, id: string): Promise<void>;
|
|
106
128
|
};
|
|
129
|
+
projectConnectos: {
|
|
130
|
+
index(projectExid: string): Promise<Array<XWeatherResponse>>;
|
|
131
|
+
};
|
|
107
132
|
providers: {
|
|
108
133
|
getProviders(): Promise<ConnectorResponsePayload>;
|
|
109
134
|
};
|
|
@@ -116,10 +141,28 @@ export declare const EvercamApi: {
|
|
|
116
141
|
};
|
|
117
142
|
procore: {
|
|
118
143
|
getUserCompanies(): Promise<ProcoreUserCompaniesResponsePayload>;
|
|
119
|
-
getUserProjects(payload:
|
|
120
|
-
|
|
144
|
+
getUserProjects(payload: ProcoreCompanyRequestPayload): Promise<ProcoreUserProjectsResponsePayload>;
|
|
145
|
+
getUserProjectPermissions(payload: ProcoreProjectRequestPayload): Promise<ProcoreUserProjectPermissionsResponsePayload>;
|
|
146
|
+
getProjectAlbums(payload: ProcoreProjectRequestPayload): Promise<ProcoreProjectsAlbumsPayload>;
|
|
121
147
|
uploadEditedSnapshot(payload: ProcoreEditedImageUploadRequestPayload): Promise<void>;
|
|
122
148
|
sendRevoke(): Promise<void>;
|
|
149
|
+
getObservationTypes(payload: ProcoreProjectRequestPayload): Promise<ProcoreObservationTypesResponsePayload>;
|
|
150
|
+
getObservationForm(payload: ProcoreObservationFormRequestPayload): Promise<ProcoreObservationForm>;
|
|
151
|
+
getNextAvailableObservationNumber(payload: ProcoreProjectRequestPayload): Promise<ProcoreNextObservationAvailableNumber>;
|
|
152
|
+
getAssignees(payload: ProcoreProjectRequestPayload): Promise<Array<ProcoreObservationAssignee>>;
|
|
153
|
+
getDistributionMembers(payload: ProcoreProjectRequestPayload): Promise<Array<ProcoreObservationDistributionMember>>;
|
|
154
|
+
createObservation(formData: FormData): Promise<void>;
|
|
155
|
+
getContributingBehaviors(payload: ProcoreCompanyRequestPayload): Promise<ProcoreProjectRequestPayload>;
|
|
156
|
+
getContributingConditions(payload: ProcoreCompanyRequestPayload): Promise<ProcoreProjectRequestPayload>;
|
|
157
|
+
getTrades(payload: ProcoreCompanyRequestPayload): Promise<Array<ProcoreObservationTrades>>;
|
|
158
|
+
getHazards(payload: ProcoreCompanyRequestPayload): Promise<ProcoreProjectRequestPayload>;
|
|
159
|
+
getLocations(payload: ProcoreProjectRequestPayload): Promise<Array<ProcoreObservationLocation>>;
|
|
160
|
+
getSpecificationSections(payload: ProcoreProjectRequestPayload): Promise<Array<ProcoreObservationSpecificationSection>>;
|
|
161
|
+
getCustomFieldOptions(payload: ProcoreProjectRequestPayload): Promise<{
|
|
162
|
+
options: {
|
|
163
|
+
[key: string]: string[];
|
|
164
|
+
};
|
|
165
|
+
}>;
|
|
123
166
|
};
|
|
124
167
|
autodesk: {
|
|
125
168
|
sendRevoke(): Promise<void>;
|
|
@@ -135,6 +178,10 @@ export declare const EvercamApi: {
|
|
|
135
178
|
connect(payload: VoyageControlConnectorPayload): Promise<unknown>;
|
|
136
179
|
sendRevoke(): Promise<null>;
|
|
137
180
|
};
|
|
181
|
+
xweather: {
|
|
182
|
+
connect(projectExid: string, payload: XWeatherCreatePayload): Promise<XWeatherResponse>;
|
|
183
|
+
revoke(projectExid: string): Promise<null>;
|
|
184
|
+
};
|
|
138
185
|
recordings: {
|
|
139
186
|
oldest(cameraId: string, payload?: ApiCredentials): Promise<Snapshot>;
|
|
140
187
|
latest(cameraId: string, payload?: ApiCredentials): Promise<Snapshot>;
|
|
@@ -160,14 +207,6 @@ export declare const EvercamApi: {
|
|
|
160
207
|
cUpdate(projectExid: number, id: number, payload: MediaUpdateRequestPayload): Promise<Media>;
|
|
161
208
|
cDelete(projectExid: number, id: number): Promise<void>;
|
|
162
209
|
};
|
|
163
|
-
analytics: {
|
|
164
|
-
sendAnalyticsEvent(params: AnalyticsRequestPayload, headers: object): Promise<null>;
|
|
165
|
-
getPACompanyPeriodEvents(id: string | number, payload: ProjectPAStatsRequestPayload): Promise<PaginatedItems<ProjectPAStatsResponsePayload>>;
|
|
166
|
-
getPAProjectPeriodEvents(projectId: string, payload: ProjectPAStatsRequestPayload): Promise<PaginatedItems<ProjectPAStatsResponsePayload>>;
|
|
167
|
-
getActiveUsers(params: {
|
|
168
|
-
params: ActiveUsersStatsRequestPayload;
|
|
169
|
-
}): Promise<ActiveUserStat>;
|
|
170
|
-
};
|
|
171
210
|
shares: {
|
|
172
211
|
updateShareRights(cameraExid: CameraExid, payload: {
|
|
173
212
|
email: string;
|
|
@@ -194,28 +233,31 @@ export declare const EvercamApi: {
|
|
|
194
233
|
cCreate(cameraId: string, payload: ShareCreateRequestPayload): Promise<ShareCreateResponsePayload>;
|
|
195
234
|
shareProjectCameras(projectExid: ProjectExid, payload: ShareProjectCamerasRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
196
235
|
getShareRequestByKey(key: string): Promise<Pick<ShareCreateResponsePayload, "shareRequests">>;
|
|
197
|
-
transferOwnership(cameraId: string, payload: {
|
|
198
|
-
userId: number;
|
|
199
|
-
}): Promise<void>;
|
|
200
236
|
resendShareRequest(cameraId: string, data: ResendShareRequestPayload): Promise<void>;
|
|
201
237
|
getProjectShares(exid: string): Promise<ProjectShareResponse>;
|
|
238
|
+
updateUserRestriction(projectExid: ProjectExid, payload: UpdateUserRestrictionPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
202
239
|
};
|
|
203
|
-
|
|
204
|
-
|
|
240
|
+
company: {
|
|
241
|
+
show(companyId: string | undefined, params?: Record<string, string>): Promise<Company>;
|
|
242
|
+
getCompanyUsers(params: {
|
|
205
243
|
params: {
|
|
206
244
|
page: number;
|
|
207
245
|
limit: number;
|
|
208
246
|
};
|
|
209
247
|
}): Promise<PaginatedItems<CompanyUser>>;
|
|
210
|
-
getCompanyProjects(
|
|
248
|
+
getCompanyProjects(params: {
|
|
211
249
|
params: {
|
|
212
250
|
page: number;
|
|
213
251
|
limit: number;
|
|
214
252
|
};
|
|
215
253
|
}): Promise<PaginatedItems<CompanyProject>>;
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
254
|
+
getCompanyCameras(params: Record<string, string>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
255
|
+
getCompanyKits(params: {
|
|
256
|
+
params: {
|
|
257
|
+
page: number;
|
|
258
|
+
limit: number;
|
|
259
|
+
};
|
|
260
|
+
}): Promise<PaginatedItems<CompanyKit>>;
|
|
219
261
|
};
|
|
220
262
|
batteries: {
|
|
221
263
|
ProjectBatteryReadings(projectExid: string): Promise<ProjectBatteryReading[]>;
|
|
@@ -254,7 +296,7 @@ export declare const EvercamApi: {
|
|
|
254
296
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
255
297
|
};
|
|
256
298
|
widgets: {
|
|
257
|
-
index(params: WidgetsListRequestPayload): Promise<PaginatedItems<Widget>>;
|
|
299
|
+
index(params: Partial<WidgetsListRequestPayload>): Promise<PaginatedItems<Widget>>;
|
|
258
300
|
show(id: number): Promise<WidgetFull>;
|
|
259
301
|
getByKeys(): Promise<WidgetFull>;
|
|
260
302
|
setSessionSettings(params: any): Promise<WidgetFull>;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { CameraExid, CopilotConversation, CopilotMessage, CopilotMessageStep, SegmentsCountsParams, FeedbackPayload, GrafanaKitMetrics, LabsPaginationParams, LuminanceReading, PaginatedItems, SegmentsPresenceByLabel, ActiveUsersResponsePayload, ActiveUsersRequestPayload } from "@evercam/api/types";
|
|
2
|
+
import { GrafanaMetricId, KitMetricPeriod } from "@evercam/api/types";
|
|
3
|
+
export declare function getLabsBaseUrl(): string | null | undefined;
|
|
4
|
+
export declare const EvercamLabsApi: {
|
|
5
|
+
posthog: {
|
|
6
|
+
getEvents(params: any): Promise<PaginatedItems<any>>;
|
|
7
|
+
getUsers(params: any): Promise<any>;
|
|
8
|
+
getActiveUsers(params: ActiveUsersRequestPayload): Promise<ActiveUsersResponsePayload>;
|
|
9
|
+
};
|
|
10
|
+
copilot: {
|
|
11
|
+
getAllConversations(params: LabsPaginationParams & {
|
|
12
|
+
cameraExid?: string;
|
|
13
|
+
projectExid?: string;
|
|
14
|
+
user?: string;
|
|
15
|
+
}): Promise<PaginatedItems<CopilotConversation>>;
|
|
16
|
+
getOneConversation(conversationId: number): Promise<PaginatedItems<CopilotConversation>>;
|
|
17
|
+
getConversationMessages(conversationId: number, params: LabsPaginationParams): Promise<PaginatedItems<CopilotMessage>>;
|
|
18
|
+
getMessageSteps(message: CopilotMessage): Promise<CopilotMessageStep[]>;
|
|
19
|
+
submitMessageFeedback<T>({ conversationId, messageId, ...params }: FeedbackPayload<T>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
20
|
+
};
|
|
21
|
+
detections: {
|
|
22
|
+
getSegmentsDateIntervals({ cameraExid, fromDate, toDate, precision, }: SegmentsCountsParams): Promise<SegmentsPresenceByLabel>;
|
|
23
|
+
};
|
|
24
|
+
googleCloudStorage: {
|
|
25
|
+
listFiles(prefix?: string): Promise<{
|
|
26
|
+
files: string[];
|
|
27
|
+
folders: string[];
|
|
28
|
+
}>;
|
|
29
|
+
getSignedUrl(fileName: string): Promise<{
|
|
30
|
+
url: string;
|
|
31
|
+
}>;
|
|
32
|
+
};
|
|
33
|
+
luminance: {
|
|
34
|
+
getReadings(params: {
|
|
35
|
+
cameraExid: CameraExid;
|
|
36
|
+
fromDate: string;
|
|
37
|
+
toDate: string;
|
|
38
|
+
}): Promise<LuminanceReading[]>;
|
|
39
|
+
};
|
|
40
|
+
kits: {
|
|
41
|
+
getMetrics(kitId: string, metrics: GrafanaMetricId[], period?: KitMetricPeriod): Promise<GrafanaKitMetrics>;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from "./client";
|
|
2
|
+
export * from "./adminApi";
|
|
3
|
+
export * from "./videoWallApi";
|
|
4
|
+
export * from "./3dFirebaseApi";
|
|
5
|
+
export * from "./aiApi";
|
|
6
|
+
export * from "./webRtcApi";
|
|
7
|
+
export * from "./weatherApi";
|
|
8
|
+
export * from "./evercamLabsApi";
|
|
9
|
+
export * from "./evercamApi";
|
|
10
|
+
export * from "./ptzApi";
|
|
11
|
+
export * from "./ingestApi";
|
|
12
|
+
export * from "./exNvrApi";
|
|
13
|
+
export * from "./authzApi";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { _360AssetsQueryParams, _360AssetsRequestPayload, _360AssetsUploadPayload, BimUploadPayload, BimUploadsQueryParams, CalculateMeasuringOperationRequestPayload, DronesQueryParams, DroneUploadUpdateRequestPayload, FlightImagesQueryParams, Generate360MapRequestPayload, InspectionToolRequestPayload, MobileCaptureSnapshot } from "@evercam/api/types";
|
|
2
|
+
import { IngestVersions } from "@evercam/shared/types";
|
|
2
3
|
export declare const IngestApi: {
|
|
3
4
|
drone: {
|
|
4
5
|
createUpload(projectId: string, params: {
|
|
@@ -26,21 +27,23 @@ export declare const IngestApi: {
|
|
|
26
27
|
calculateMeasuringOperation(projectId: string, params: CalculateMeasuringOperationRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
27
28
|
inspectionTool(projectId: string, params: InspectionToolRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
28
29
|
isInspectionEnabled(projectId: string, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
29
|
-
getDroneQueueSize(): Promise<
|
|
30
|
+
getDroneQueueSize(version?: IngestVersions): Promise<Record<string, any>>;
|
|
30
31
|
getFlightImages(projectId: string, params: FlightImagesQueryParams): Promise<import("axios").AxiosResponse<any, any>>;
|
|
32
|
+
checkFlightAvailableFeatures(projectId: string, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
31
33
|
};
|
|
32
34
|
assets360: {
|
|
33
35
|
get360Assets(params: {
|
|
34
36
|
params: Partial<_360AssetsQueryParams>;
|
|
35
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
37
|
+
}, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
38
|
+
get360AssetLink(projectId: string, date: string, floor: string, assetType: string, marker: string | null): Promise<import("axios").AxiosResponse<any, any>>;
|
|
36
39
|
deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
37
40
|
getArchive(id: number, params: {
|
|
38
41
|
dateType: string;
|
|
39
42
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
40
|
-
createUpload(projectId: string, params: _360AssetsRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
41
|
-
upload(id: number, params: Record<string, unknown>, payload: _360AssetsUploadPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
43
|
+
createUpload(projectId: string, params: _360AssetsRequestPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
44
|
+
upload(id: number, params: Record<string, unknown>, payload: _360AssetsUploadPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
42
45
|
generate360map(projectId: string, params: Generate360MapRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
43
|
-
get360QueueSize(): Promise<
|
|
46
|
+
get360QueueSize(version?: IngestVersions): Promise<Record<string, any>>;
|
|
44
47
|
};
|
|
45
48
|
bim: {
|
|
46
49
|
createUpload(projectId: string, params: {
|
|
@@ -61,5 +64,5 @@ export declare const IngestApi: {
|
|
|
61
64
|
getMobileAssetPhoto(assetId: string | number, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
62
65
|
};
|
|
63
66
|
getTotalQueueSize(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
64
|
-
|
|
67
|
+
loadAllAssetsInQueue(): Promise<any[]>;
|
|
65
68
|
};
|
|
@@ -27,7 +27,7 @@ export declare const PtzApi: {
|
|
|
27
27
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
28
28
|
};
|
|
29
29
|
controls: {
|
|
30
|
-
move({ cameraExid, direction,
|
|
30
|
+
move({ cameraExid, direction, useContinuous }: MoveParams): Promise<import("axios").AxiosResponse<any, any>>;
|
|
31
31
|
zoom({ cameraExid, direction, isRecordingFromNvr }: ZoomParams): Promise<import("axios").AxiosResponse<any, any>>;
|
|
32
32
|
stop({ cameraExid }: {
|
|
33
33
|
cameraExid: string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CurrentWeatherRequestPayload, HistoryWeatherRequestPayload, WeatherDataResponse, WeatherResponsePayload } from "@evercam/api/types";
|
|
2
|
+
import { AxiosRequestConfig } from "axios";
|
|
3
|
+
export declare const WeatherApi: {
|
|
4
|
+
current(projectExid: string, payload: CurrentWeatherRequestPayload): Promise<WeatherResponsePayload> | undefined;
|
|
5
|
+
historical(projectExid: string, payload: HistoryWeatherRequestPayload): Promise<WeatherResponsePayload> | undefined;
|
|
6
|
+
report(projectExid: string, payload: HistoryWeatherRequestPayload, config?: AxiosRequestConfig): Promise<{
|
|
7
|
+
data: WeatherDataResponse[];
|
|
8
|
+
}> | undefined;
|
|
9
|
+
};
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
export * from "./
|
|
2
|
-
export * from "./
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./3dFirebaseApi";
|
|
5
|
-
export * from "./aiApi";
|
|
6
|
-
export * from "./webRtcApi";
|
|
7
|
-
export * from "./weatherApi";
|
|
8
|
-
export * from "./evercamLabsApi";
|
|
9
|
-
export * from "./evercamApi";
|
|
10
|
-
export * from "./ptzApi";
|
|
11
|
-
export * from "./ingestApi";
|
|
12
|
-
export * from "./exNvrApi";
|
|
13
|
-
export * from "./authzApi";
|
|
1
|
+
export * from "./api";
|
|
2
|
+
export * from "./types";
|
|
3
|
+
export * from "./utils";
|
|
@@ -40,12 +40,22 @@ export declare enum _360AssetType {
|
|
|
40
40
|
MobilePhoto = "mobile_photos",
|
|
41
41
|
MobileAudio = "mobile_audios"
|
|
42
42
|
}
|
|
43
|
+
export declare enum _360Feature {
|
|
44
|
+
BIM = "BIM",
|
|
45
|
+
Minimap = "Minimap",
|
|
46
|
+
Minimodel = "Minimodel"
|
|
47
|
+
}
|
|
43
48
|
export declare enum _360IntergrationType {
|
|
49
|
+
Evercam = "Evercam",
|
|
44
50
|
Matterport = "Matterport",
|
|
45
51
|
OpenSpace = "Openspace",
|
|
46
52
|
HoloBuilder = "Holobuilder",
|
|
47
|
-
DroneDeploy = "Dronedeploy"
|
|
48
|
-
|
|
53
|
+
DroneDeploy = "Dronedeploy"
|
|
54
|
+
}
|
|
55
|
+
export declare enum PathMarkerColor {
|
|
56
|
+
Start = "#00e74c",
|
|
57
|
+
End = "#fd7567",
|
|
58
|
+
Default = "#2196F3"
|
|
49
59
|
}
|
|
50
60
|
export type _360AssetsQueryParams = {
|
|
51
61
|
page: number;
|
|
@@ -73,6 +83,7 @@ export type _360AssetsUploadPayload = {
|
|
|
73
83
|
startPosition: string;
|
|
74
84
|
endPosition: string;
|
|
75
85
|
isTimelapse: boolean;
|
|
86
|
+
isImagesOnly: boolean;
|
|
76
87
|
};
|
|
77
88
|
export type Generate360MapRequestPayload = {
|
|
78
89
|
dateId: string;
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import { DateType } from "@/types";
|
|
2
|
-
export type AnalyticsRequestPayload = {
|
|
3
|
-
name: string;
|
|
4
|
-
cameraExid: string;
|
|
5
|
-
} & {
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
};
|
|
8
1
|
export declare enum AnalyticsEventPageId {
|
|
9
2
|
Timeline = "Timeline",
|
|
10
3
|
Copilot = "Copilot",
|
|
@@ -17,6 +10,7 @@ export declare enum AnalyticsEventPageId {
|
|
|
17
10
|
Project = "Project",
|
|
18
11
|
AllProjects = "AllProjects",
|
|
19
12
|
Tutorials = "Tutorials",
|
|
13
|
+
SystemCheck = "SystemCheck",
|
|
20
14
|
ProjectMapView = "ProjectMapView",
|
|
21
15
|
AccountMapView = "AccountMapView",
|
|
22
16
|
Automations = "Automations",
|
|
@@ -26,9 +20,9 @@ export declare enum AnalyticsEventPageId {
|
|
|
26
20
|
ProjectSettingsCameraSettings = "ProjectSettings-CameraSettings",
|
|
27
21
|
ProjectSettingsMembers = "ProjectSettings-Members",
|
|
28
22
|
ProjectSettingsOverview = "ProjectSettings-Overview",
|
|
23
|
+
ProjectSettingsDangerZone = "ProjectSettings-DangerZone",
|
|
29
24
|
Settings = "Settings",
|
|
30
25
|
SettingsAccount = "Settings-Account",
|
|
31
|
-
SettingsActivities = "Settings-Activities",
|
|
32
26
|
SettingsConnectors = "Settings-Connectors",
|
|
33
27
|
MediaHub = "MediaHub",
|
|
34
28
|
MediaOveriew = "MediaOveriew",
|
|
@@ -36,7 +30,7 @@ export declare enum AnalyticsEventPageId {
|
|
|
36
30
|
Bim = "Bim",
|
|
37
31
|
Drone = "Drone",
|
|
38
32
|
ThreeSixty = "360",
|
|
39
|
-
|
|
33
|
+
Planner = "Planner",
|
|
40
34
|
Widgets = "Widgets",
|
|
41
35
|
Company = "Company",
|
|
42
36
|
EmbeddedLive = "EmbeddedLive",
|
|
@@ -48,7 +42,8 @@ export declare enum AnalyticsEventPageId {
|
|
|
48
42
|
ThreeSixtyInfo = "360Info",
|
|
49
43
|
BimCompareInfo = "BimCompareInfo",
|
|
50
44
|
WeatherReport = "WeatherReport",
|
|
51
|
-
|
|
45
|
+
PpeReport = "PpeReport",
|
|
46
|
+
SmartSearch = "SmartSearch"
|
|
52
47
|
}
|
|
53
48
|
export declare enum AnalyticsEvent {
|
|
54
49
|
PageView = "PageView",
|
|
@@ -64,14 +59,13 @@ export declare enum AnalyticsEvent {
|
|
|
64
59
|
Comment = "Comment-Toggle",
|
|
65
60
|
Compare = "Compare-Toggle",
|
|
66
61
|
Copilot = "Copilot-Toggle",
|
|
62
|
+
DownloadMediaOpen = "DownloadMedia-Open",
|
|
67
63
|
SettingsAccountUpdatePassword = "UpdatePassword",
|
|
68
64
|
SettingsAccountUpdatePersonalInformation = "UpdatePersonalInformation",
|
|
69
65
|
SettingsAccountRevokeSession = "RevokeSession",
|
|
70
66
|
SettingsAccountCancelRevokeSession = "CancelRevokeSession",
|
|
71
67
|
SettingsAccountClickRowsPerPage = "ClickRowsPerPage",
|
|
72
68
|
SettingsAccountOpenDeleteAccountDialog = "DeleteAccount",
|
|
73
|
-
SettingsActivitiesFromDateSelect = "FromDateSelect",
|
|
74
|
-
SettingsActivitiesToDateSelect = "ToDateSelect",
|
|
75
69
|
SettingsConnectorsConnectToProcore = "ConnectToProcore",
|
|
76
70
|
SettingsConnectorsConnectToAconex = "ConnectToAconex",
|
|
77
71
|
SettingsConnectorsConnectToAutodesk = "ConnectToAutodesk",
|
|
@@ -243,7 +237,6 @@ export declare enum AnalyticsEvent {
|
|
|
243
237
|
AiToolSelectObjectDetection = "AITool-SelectObjectDetection",
|
|
244
238
|
AiToolSelectAskChatGpt = "AITool-SelectAskChatGpt",
|
|
245
239
|
AiToolSelectSegmentation = "AITool-SelectSegmentation",
|
|
246
|
-
AiToolSelectDepthAnalysis = "AITool-SelectDepthAnalysis",
|
|
247
240
|
AiToolUpdateTransparency = "AITool-UpdateTransparency",
|
|
248
241
|
RecordingsCancelExportDialog = "CancelExportDialog",
|
|
249
242
|
RecordingsClickSupportLink = "ClickSupportLink",
|
|
@@ -265,15 +258,17 @@ export declare enum AnalyticsEvent {
|
|
|
265
258
|
SharingTransferOwnership = "TransferOwnership",
|
|
266
259
|
SharingSortBy = "SortBy",
|
|
267
260
|
SharingChangeAccessRight = "ChangeAccessRight",
|
|
261
|
+
ThreeSixtyGallery = "Gallery",
|
|
262
|
+
ThreeSixtyGalleryToggleUploadDialog = "Gallery-ToggleUploadDialog",
|
|
268
263
|
ThreeSixtyChangeDate = "ChangeDate",
|
|
269
264
|
ThreeSixtyChangeFloor = "ChangeFloor",
|
|
270
265
|
ThreeSixtyCloseCompare = "CloseCompare",
|
|
271
266
|
ThreeSixtyCloseForgeBIM = "CloseForgeBIM",
|
|
272
|
-
|
|
267
|
+
ThreeSixtyDeleteComment = "DeleteComment",
|
|
273
268
|
ThreeSixtyDisableMeasuringTool = "DisableMeasuringTool",
|
|
274
|
-
|
|
269
|
+
ThreeSixtyDisableCommnetTool = "DisableCommentTool",
|
|
275
270
|
ThreeSixtyEnableMeasuringTool = "EnableMeasuringTool",
|
|
276
|
-
|
|
271
|
+
ThreeSixtyEnableCommentTool = "EnableCommentTool",
|
|
277
272
|
ThreeSixtyLockCompare = "LockCompare",
|
|
278
273
|
ThreeSixtyLockForgeBIM = "LockForgeBIM",
|
|
279
274
|
ThreeSixtyMarkerThumbnailClicked = "MarkerThumbnailClicked",
|
|
@@ -282,14 +277,16 @@ export declare enum AnalyticsEvent {
|
|
|
282
277
|
ThreeSixtyOpenCompare = "OpenCompare",
|
|
283
278
|
ThreeSixtyOpenForgeBIM = "OpenForgeBIM",
|
|
284
279
|
ThreeSixtyOpenMarkersThumbnailsList = "OpenMarkersThumbnailsList",
|
|
285
|
-
|
|
286
|
-
|
|
280
|
+
ThreeSixtyOpenCommentsList = "OpenCommentsList",
|
|
281
|
+
ThreeSixtySaveComment = "SaveComment",
|
|
282
|
+
ThreeSixtyUnarchiveComment = "UnarchiveComment",
|
|
283
|
+
ThreeSixtyArchiveComment = "ArchiveComment",
|
|
287
284
|
ThreeSixtyShareView = "ShareView",
|
|
288
|
-
|
|
285
|
+
ThreeSixtyCommentClicked = "CommentClicked",
|
|
289
286
|
ThreeSixtyToggleMarkersVisibility = "ToggleMarkersVisibility",
|
|
290
287
|
ThreeSixtyToggleMinimapVisibility = "ToggleMinimapVisibility",
|
|
291
288
|
ThreeSixtyToggleMiniModel = "ToggleMiniModel",
|
|
292
|
-
|
|
289
|
+
ThreeSixtyToggleCommentsVisibility = "ToggleCommentsVisibility",
|
|
293
290
|
ThreeSixtyTourPause = "Tour-Pause",
|
|
294
291
|
ThreeSixtyTourPlay = "Tour-Play",
|
|
295
292
|
ThreeSixtyTourSetSpeedXHalve = "Tour-SetSpeedX0.5",
|
|
@@ -299,6 +296,8 @@ export declare enum AnalyticsEvent {
|
|
|
299
296
|
ThreeSixtyTourToggleLoop = "Tour-ToggleLoop",
|
|
300
297
|
ThreeSixtyUnlockCompare = "UnlockCompare",
|
|
301
298
|
ThreeSixtyUnlockForgeBIM = "UnlockForgeBIM",
|
|
299
|
+
ThreeSixtyUpdateFloorName = "UpdateFloorName",
|
|
300
|
+
ThreeSixtyUploadAssets = "UploadAssets",
|
|
302
301
|
DroneAreaToolClick = "AreaTool-Click",
|
|
303
302
|
DroneChangeDate = "ChangeDate",
|
|
304
303
|
DroneChooseTagType = "ChooseTagType",
|
|
@@ -335,30 +334,29 @@ export declare enum AnalyticsEvent {
|
|
|
335
334
|
DroneVolumeToolClick = "VolumeTool-Click",
|
|
336
335
|
DroneZoomIn = "ZoomIn",
|
|
337
336
|
DroneZoomOut = "ZoomOut",
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
SitePlannerZoomOut = "ZoomOut",
|
|
337
|
+
PlannerAddCameraClick = "AddCameraClick",
|
|
338
|
+
PlannerAddSitePlanDrawingClick = "AddSitePlanDrawingClick",
|
|
339
|
+
PlannerAddSitePlanClick = "AddSitePlanClick",
|
|
340
|
+
PlannerAttachSitePlanDrawing = "AttachSitePlanDrawing",
|
|
341
|
+
PlannerCameraMarkerEditFOVAngle = "CameraMarker-EditFOVAngle",
|
|
342
|
+
PlannerCameraMarkerEditHeading = "CameraMarker-EditHeading",
|
|
343
|
+
PlannerCameraMarkerEditName = "CameraMarker-EditName",
|
|
344
|
+
PlannerCameraMarkerEditRadius = "CameraMarker-EditRadius",
|
|
345
|
+
PlannerCameraMarkerSelectColor = "CameraMarker-SelectColor",
|
|
346
|
+
PlannerCameraMarkerToggleVisibility = "CameraMarker-ToggleVisibility",
|
|
347
|
+
PlannerCameraMarkerToggleDeleteDialog = "CameraMarker-ToggleDeleteDialog",
|
|
348
|
+
PlannerCancelUploadSitePlanDrawing = "CancelUploadSitePlanDrawing",
|
|
349
|
+
PlannerChangeLocation = "ChangeLocation",
|
|
350
|
+
PlannerOpen = "Open",
|
|
351
|
+
PlannerResetView = "ResetView",
|
|
352
|
+
PlannerSitePlansList = "SitePlansList",
|
|
353
|
+
PlannerToggleCamerasLabel = "ToggleCamerasLabel",
|
|
354
|
+
PlannerToggleFullscreen = "ToggleFullscreen",
|
|
355
|
+
PlannerToggleMapStyle = "ToggleMapStyle",
|
|
356
|
+
PlannerToggleSaveSessionDialog = "ToggleSaveSessionDialog",
|
|
357
|
+
PlannerUploadSitePlanDrawing = "UploadSitePlanDrawing",
|
|
358
|
+
PlannerZoomIn = "ZoomIn",
|
|
359
|
+
PlannerZoomOut = "ZoomOut",
|
|
362
360
|
MarkerClicked = "MarkerClicked",
|
|
363
361
|
TimelapseToggleHelpDialog = "ToggleHelpDialog",
|
|
364
362
|
TimelapseSelectCustomPeriod = "SelectCustomPeriod",
|
|
@@ -388,12 +386,14 @@ export declare enum AnalyticsEvent {
|
|
|
388
386
|
ProgressPhotoPause = "ProgressPhoto-Pause",
|
|
389
387
|
ProgressPhotoResume = "ProgressPhoto-Resume",
|
|
390
388
|
ProgressPhotoResumeDelete = "ProgressPhoto-ResumeDelete",
|
|
389
|
+
ProgressPhotoSelectType = "ProgressPhoto-SelectType",
|
|
391
390
|
ProgressPhotoSelectCameras = "ProgressPhoto-SelectCameras",
|
|
392
391
|
ProgressPhotoSelectDays = "ProgressPhoto-SelectDays",
|
|
393
392
|
ProgressPhotoSelectMember = "ProgressPhoto-SelectMember",
|
|
394
393
|
ProgressPhotoSelectProvider = "ProgressPhoto-SelectProvider",
|
|
395
394
|
ProgressPhotoSelectTime = "ProgressPhoto-SelectTime",
|
|
396
395
|
ProgressPhotoSelectTimezone = "ProgressPhoto-SelectTimezone",
|
|
396
|
+
ProgressPhotoSelectDelay = "ProgressPhoto-SelectDelay",
|
|
397
397
|
ProgressPhotoToggleCreateDialog = "ProgressPhoto-ToggleCreateDialog",
|
|
398
398
|
ProgressPhotoToggleEditDialog = "ProgressPhoto-ToggleEditDialog",
|
|
399
399
|
ProgressPhotoUnsubscribeUser = "ProgressPhoto-UnsubscribeUser",
|
|
@@ -443,40 +443,47 @@ export declare enum AnalyticsEvent {
|
|
|
443
443
|
MediaCopyMediaLink = "Media-CopyMediaLink",
|
|
444
444
|
MediaGoToMediaHub = "Media-GoBackToMediaHub",
|
|
445
445
|
GateReportCalendarTreeDateClick = "CalendarTree-DateClick",
|
|
446
|
-
GateReportExportPdf = "ExportPdf",
|
|
447
|
-
GateReportExportCsv = "ExportCsv",
|
|
448
446
|
GateReportFilterEntryExit = "FilterEntryExit",
|
|
449
|
-
GateReportFilterCameras = "FilterCameras",
|
|
450
447
|
GateReportFilterPlateNumber = "FilterPlateNumber",
|
|
451
448
|
GateReportFilterVehicleTypes = "FilterVehicleTypes",
|
|
452
449
|
GateReportOpenVehicleTypeInfo = "OpenVehicleTypeInfo",
|
|
453
450
|
GateReportTimelineDateClick = "Timeline-DateClick",
|
|
454
451
|
GateReportToggleThumbnails = "ToggleThumbnails",
|
|
452
|
+
PpeTimelineDateClick = "PpeTimeline-DateClick",
|
|
455
453
|
HelpMenuToggleMenuButton = "HelpMenu-ToggleMenuButton",
|
|
456
454
|
HelpMenuOpenLiveChat = "HelpMenu-OpenLiveChat",
|
|
457
455
|
HelpMenuClickTutorialsLink = "HelpMenu-ClickTutorialsLink",
|
|
458
456
|
HelpMenuClickWhatsNewLink = "HelpMenu-ClickWhatsNewLink",
|
|
459
457
|
HelpMenuClickUserManuaLink = "HelpMenu-ClickUserManuaLink",
|
|
460
|
-
HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink"
|
|
458
|
+
HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink",
|
|
459
|
+
HelpMenuClickSystemCheckLink = "HelpMenu-ClickSystemCheckLink",
|
|
460
|
+
Recording = "Recording",
|
|
461
|
+
CameraFilter = "CameraFilter",
|
|
462
|
+
MissingEquipmentHardHat = "MissingEquipment-HardHat",
|
|
463
|
+
MissingEquipmentHighVisibilityVest = "MissingEquipment-HighVisibilityVest",
|
|
464
|
+
MissingEquipmentSafetyGlasses = "MissingEquipment-SafetyGlasses",
|
|
465
|
+
MissingEquipmentSafetyGloves = "MissingEquipment-SafteyGLoves",
|
|
466
|
+
ExportAs = "ExportAs",
|
|
467
|
+
ExportPdf = "ExportPdf",
|
|
468
|
+
ExportCsv = "ExportCsv",
|
|
469
|
+
FilterCameras = "FilterCameras",
|
|
470
|
+
SmartSearchToggleQueryBuilder = "SmartSearch-ToggleQueryBuilder",
|
|
471
|
+
SmartSearchToggleQuerySelector = "SmartSearch-ToggleQuerySelector",
|
|
472
|
+
SmartSearchDeleteComponent = "SmartSearch-DeleteComponent",
|
|
473
|
+
SmartSearchPageChange = "SmartSearch-PageChange",
|
|
474
|
+
SmartSearchExecuteQuery = "SmartSearch-ExecuteQuery",
|
|
475
|
+
SmartSearchAddComponent = "SmartSearch-AddComponent",
|
|
476
|
+
SmartSearchConnectComponent = "SmartSearch-ConnectComponent",
|
|
477
|
+
SmartSearchUpdateComponent = "SmartSearch-UpdateComponent",
|
|
478
|
+
SmartSearchSavedQueryClick = "SmartSearch-SavedQueryClick",
|
|
479
|
+
SmartSearchFilterSavedQueries = "SmartSearch-FilterSavedQueries",
|
|
480
|
+
SmartSearchThumbnailHover = "SmartSearch-ThumbnailHover",
|
|
481
|
+
SmartSearchThumbnailError = "SmartSearch-ThumbnailError",
|
|
482
|
+
SmartSearchCameraSelected = "SmartSearch-CameraSelected",
|
|
483
|
+
SmartSearchOptionClicked = "SmartSearch-OptionClicked",
|
|
484
|
+
SmartSearchEditQuery = "SmartSearch-EditQuery",
|
|
485
|
+
SmartSearchDeleteQuery = "SmartSearch-DeleteQuery",
|
|
486
|
+
SmartSearchSaveQuery = "SmartSearch-SaveQuery",
|
|
487
|
+
SmartSearchThumbnailPlay = "SmartSearch-ThumbnailPlay",
|
|
488
|
+
SmartSearchExportFile = "SmartSearch-ExportFile"
|
|
461
489
|
}
|
|
462
|
-
export type ProjectPAStatsRequestPayload = {
|
|
463
|
-
period: "day" | "week" | "month";
|
|
464
|
-
startDate?: string;
|
|
465
|
-
endDate?: string;
|
|
466
|
-
};
|
|
467
|
-
export type ProjectPAStatsResponsePayload = {
|
|
468
|
-
period: DateType;
|
|
469
|
-
name: string;
|
|
470
|
-
count: number | string;
|
|
471
|
-
};
|
|
472
|
-
export type ActiveUsersStatsRequestPayload = {
|
|
473
|
-
companyId: number;
|
|
474
|
-
from: string;
|
|
475
|
-
to: string;
|
|
476
|
-
};
|
|
477
|
-
export type ActiveUserStat = {
|
|
478
|
-
date: string;
|
|
479
|
-
dau: number;
|
|
480
|
-
wau: number;
|
|
481
|
-
mau: number;
|
|
482
|
-
};
|