@evercam/api 1.0.0-2194163b3 → 1.0.0-22d695927
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 +5 -0
- package/dist/api/api/adminApi.d.ts +30 -3
- package/dist/api/api/aiApi.d.ts +2 -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/api/evercamApi.d.ts +19 -11
- package/dist/api/api/ingestApi.d.ts +1 -1
- package/dist/api/types/360.d.ts +5 -0
- package/dist/api/types/analytics.d.ts +12 -1
- package/dist/api/types/axios.d.ts +14 -0
- package/dist/api/types/camera.d.ts +3 -3
- package/dist/api/types/company.d.ts +28 -0
- package/dist/api/types/countries.d.ts +0 -7
- package/dist/api/types/detections.d.ts +1 -2
- package/dist/api/types/kit.d.ts +23 -4
- package/dist/api/types/procore.d.ts +13 -10
- package/dist/api/types/progressPhoto.d.ts +20 -8
- package/dist/api/types/shared.d.ts +1 -1
- package/dist/api/types/siteAnalytics.d.ts +3 -2
- package/dist/api/types/streaming.d.ts +1 -2
- package/dist/api/types/user.d.ts +1 -6
- package/dist/index.js +849 -629
- 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 +9 -1
- package/package.json +3 -2
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { _360ProjectJsonResponse, DroneProjectJsonResponse, ProjectExid } from "@evercam/api/types";
|
|
2
2
|
export declare const getFirebaseDbApi: () => string | null | undefined;
|
|
3
|
+
export declare const getFirebaseStorageUrl: () => string | null | undefined;
|
|
4
|
+
export declare const getFirebaseStorageToken: () => string | null | undefined;
|
|
3
5
|
export declare const _3dFirebaseApi: {
|
|
4
6
|
drone: {
|
|
5
7
|
getProjectInfo(projectExid: ProjectExid): Promise<DroneProjectJsonResponse>;
|
|
@@ -7,5 +9,8 @@ export declare const _3dFirebaseApi: {
|
|
|
7
9
|
_360: {
|
|
8
10
|
getProjectInfo(projectExid: ProjectExid): Promise<_360ProjectJsonResponse>;
|
|
9
11
|
updateFloor(projectExid: ProjectExid, dateId: string, floorIndex: string, body: any): Promise<_360ProjectJsonResponse>;
|
|
12
|
+
updateFeatureFlag(projectID: string, dateID: string, floorID: string, featureFlagName: string, value: boolean): Promise<any>;
|
|
13
|
+
saveSteps(projectID: string, dateID: string, floorID: string, stepsValue: number): Promise<any>;
|
|
14
|
+
updateGPXFile(projectExid: ProjectExid, dateId: string, floorIndex: string, gpxContent: any): Promise<any>;
|
|
10
15
|
};
|
|
11
16
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FootageCreateUpdatePayload, HDDCreateUpdatePayload, HDDsQueryParams } from "@/types/hdd";
|
|
2
|
-
import type { CamerasResponsePayload, CameraUpdateRequestPayload, PaginatedItems, AdminCamera, Project, Hdd, AdminUser, ProgressPhotosCreateUpdateRequestPayload,
|
|
2
|
+
import type { CamerasResponsePayload, CameraUpdateRequestPayload, PaginatedItems, AdminCamera, Project, Hdd, AdminUser, ProgressPhotosCreateUpdateRequestPayload, Kit, PatchPayload, StorageServersResponsePayload, MediaFilterQueryParams, Media, MediaDeleteRequestPayload, AuditLogsParams, AuditLog, SnapshotExtractionQyeryParams, SnapshotExtraction, CameraCreateRequestPayload, CameraDeletePayload, SnapshotTestPayload, SnapshotTestResponse, DuplicatedCameraFields, DuplicatedCameraResponse, MergeDuplicatedCameraPayload, FetchCameraQueryParams, DeleteSnapshotQueryParams, SaveNotePayload, CameraNote, CreateCameraNotePayload, CompanyQueryParams, Company, CompanyUpdatePayload, SuppressionsQueryParams, Suppression, SnapshotExtractionType, KitQueryParams, KitCreatePayload, AdminKit, CameraLogsQueryParams, CameraLog, CameraAuditLogsQueryParams, CameraAuditLog, NvrQueryParams, Nvr, SiteVisitCamerasQueryParams, OfflineCameraQueryParams, OfflineCamera, OfflineCameraNoteResponse, UserStatsResponse, UserCameraResponse, UserProjectResponse, ProjectUsers, ProjectCamera, ProjectsQueryParams, ProjectStatusStats, ProjectCreateRequestPayload, ProjectCreateResponse, ProjectUpdateRequestPayload, RouterQueryParams, Router, RouterCreatePayload, GlobalSearchQueryParams, CameraShareRequestsQueryParams, CameraShareRequest, CameraShareRequestPayload, ShareCreateResponsePayload, ShareQueryParams, AdminShare, SimCreateUpdatePayload, SimsQueryParams, Sim, SendSmsPayload, SendSmsResponse, SmsHistoryResponse, SmsQueryParams, Sms, ProgressPhotosQueryParams, ProgressPhotoItem, progressPhotosHistoryQueryParams, ProgressPhotosHistory, AdminUserUpdateRequestPayload, AdminQueryParams, Admin, ImpersonateUserResponse, AdminUserQueryParams, AdminCompareQueryParams, AdminCompare, NvrCreatePayload, WidgetsListRequestPayload, Widget, WidgetFull, WidgetPayload, KitStorageRequestPayload, CompanyUser, CompanyProject, Automation, KitStorage, KitFootageRequestPayload, KitFootageResponsePayload } from "@evercam/api/types";
|
|
3
3
|
import { KitMetricId } from "@evercam/api/types";
|
|
4
4
|
import { Tag } from "@/types/tag";
|
|
5
5
|
export declare const AdminApi: {
|
|
@@ -62,8 +62,32 @@ export declare const AdminApi: {
|
|
|
62
62
|
message: string;
|
|
63
63
|
}>;
|
|
64
64
|
update(cameraId: string, params: CameraUpdateRequestPayload): Promise<CamerasResponsePayload>;
|
|
65
|
+
transferOwnership(cameraId: string, newOwnerId: number): Promise<void>;
|
|
65
66
|
};
|
|
66
67
|
companies: {
|
|
68
|
+
show(id: string, params: {
|
|
69
|
+
with_zoho?: boolean;
|
|
70
|
+
}): Promise<Company>;
|
|
71
|
+
getCompanyUsers(id: string, params: {
|
|
72
|
+
params: {
|
|
73
|
+
page: number;
|
|
74
|
+
limit: number;
|
|
75
|
+
};
|
|
76
|
+
}): Promise<PaginatedItems<CompanyUser>>;
|
|
77
|
+
getCompanyProjects(id: string, params: {
|
|
78
|
+
params: {
|
|
79
|
+
page: number;
|
|
80
|
+
limit: number;
|
|
81
|
+
};
|
|
82
|
+
}): Promise<PaginatedItems<CompanyProject>>;
|
|
83
|
+
getCompanyKits(id: string, params: {
|
|
84
|
+
params: {
|
|
85
|
+
page: number;
|
|
86
|
+
limit: number;
|
|
87
|
+
sort?: string;
|
|
88
|
+
};
|
|
89
|
+
}): Promise<PaginatedItems<Kit[]>>;
|
|
90
|
+
getCompanyCameras(id: string, params: Record<string, string>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
67
91
|
getCompanies(params: {
|
|
68
92
|
params: Partial<CompanyQueryParams>;
|
|
69
93
|
}): Promise<PaginatedItems<Company[]>>;
|
|
@@ -117,7 +141,10 @@ export declare const AdminApi: {
|
|
|
117
141
|
detachTag(kitId: number, tagId: number): Promise<void>;
|
|
118
142
|
getStorages(params: {
|
|
119
143
|
params: KitStorageRequestPayload;
|
|
120
|
-
}): Promise<PaginatedItems<
|
|
144
|
+
}): Promise<PaginatedItems<KitStorage[]>>;
|
|
145
|
+
getFootage(id: number, params: {
|
|
146
|
+
params: KitFootageRequestPayload;
|
|
147
|
+
}): Promise<KitFootageResponsePayload[]>;
|
|
121
148
|
};
|
|
122
149
|
logs: {
|
|
123
150
|
getAllCamerasStatusLogs(params: {
|
|
@@ -264,7 +291,7 @@ export declare const AdminApi: {
|
|
|
264
291
|
}): Promise<{
|
|
265
292
|
progressPhoto: string;
|
|
266
293
|
}>;
|
|
267
|
-
update(id: string, payload: ProgressPhotosCreateUpdateRequestPayload): Promise<
|
|
294
|
+
update(id: string, payload: ProgressPhotosCreateUpdateRequestPayload): Promise<Automation>;
|
|
268
295
|
};
|
|
269
296
|
tags: {
|
|
270
297
|
index(): Promise<Tag[]>;
|
package/dist/api/api/aiApi.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnprQueryParams, AnprEvent, EventCountRequestPayload, EventCountResponsePayload, EventsExportRequestParameters, EventsRequestPayload, EventsResponsePayload, GateReportROI, PaginatedItems, GateReportVerifiedDay, ProjectExid, CameraExid, AnprCountsQueryParams, AnprCount, AnprBasedGateReportExportRequestParams, GateReportResponsePayload, GatReportRequestPayload, AnalyticsParameters, VerifiedDaysQueryParams, EventUpdateRequestPayload, VerifyDayUpdateRequestPayload, ProcessedDaysQueryParams, GateReportEventType, DateTime, RoisQueryParams, GateReportROICreateRequestPayload, SegmentsSimilaritySearchParams, DetectionsFilters, TrackingsByLabel, SegmentsByLabel, DetectionsCountsParams, DetectionsPresenceByLabel, SmartSearchQueryParams, SavedQuery, DateType, DetectionsRequestParams, DetectionsGroup, DetectionsCountsByPeriod, DetectionsExportRequestParams, SegmentsFilters,
|
|
1
|
+
import { AnprQueryParams, AnprEvent, EventCountRequestPayload, EventCountResponsePayload, EventsExportRequestParameters, EventsRequestPayload, EventsResponsePayload, GateReportROI, PaginatedItems, GateReportVerifiedDay, ProjectExid, CameraExid, AnprCountsQueryParams, AnprCount, AnprBasedGateReportExportRequestParams, GateReportResponsePayload, GatReportRequestPayload, AnalyticsParameters, VerifiedDaysQueryParams, EventUpdateRequestPayload, VerifyDayUpdateRequestPayload, ProcessedDaysQueryParams, GateReportEventType, DateTime, RoisQueryParams, GateReportROICreateRequestPayload, SegmentsSimilaritySearchParams, DetectionsFilters, TrackingsByLabel, SegmentsByLabel, DetectionsCountsParams, DetectionsPresenceByLabel, SmartSearchQueryParams, SavedQuery, DateType, DetectionsRequestParams, DetectionsGroup, DetectionsCountsByPeriod, DetectionsExportRequestParams, SegmentsFilters, DownloadFileType, SmartSearchQuery, Schedule } from "@evercam/api/types";
|
|
2
2
|
import type { AxiosPromise, AxiosRequestConfig } from "axios";
|
|
3
3
|
import { CreateCoolifyAppRequestPayload, SaveCoolifyAppRequestPayload } from "@/types/coolify";
|
|
4
4
|
export declare const getAiApiUrl: () => string | null | undefined;
|
|
@@ -110,7 +110,7 @@ export declare const AiApi: {
|
|
|
110
110
|
fromDate?: DateType;
|
|
111
111
|
toDate?: DateType;
|
|
112
112
|
query: string;
|
|
113
|
-
fileType:
|
|
113
|
+
fileType: DownloadFileType;
|
|
114
114
|
directDownload?: boolean;
|
|
115
115
|
payload: {
|
|
116
116
|
req: SmartSearchQuery;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AxiosRequestConfig } from "axios";
|
|
2
|
+
import { ExtendedAxiosInstance, ResponseValue } from "@/types";
|
|
3
|
+
export declare class Swr {
|
|
4
|
+
private axiosInstance;
|
|
5
|
+
private store;
|
|
6
|
+
constructor({ key, axiosInstance, }: {
|
|
7
|
+
key: string;
|
|
8
|
+
axiosInstance: ExtendedAxiosInstance;
|
|
9
|
+
});
|
|
10
|
+
get<T = any>(url: string, config?: AxiosRequestConfig): Promise<ResponseValue<T>>;
|
|
11
|
+
private getCachedValue;
|
|
12
|
+
private getFreshValue;
|
|
13
|
+
clear(): Promise<void>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AxiosRequestConfig } from "axios";
|
|
2
|
+
export declare class SwrStore {
|
|
3
|
+
private prefix;
|
|
4
|
+
constructor(prefix: string);
|
|
5
|
+
generateKey(config: AxiosRequestConfig): string;
|
|
6
|
+
get(key: string): Promise<any>;
|
|
7
|
+
set(key: string, value: unknown): Promise<void>;
|
|
8
|
+
delete(key: string): Promise<void>;
|
|
9
|
+
clear(): Promise<void>;
|
|
10
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AxiosRequestConfig } from "axios";
|
|
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, 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 } from "@evercam/api/types";
|
|
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>>;
|
|
@@ -56,7 +56,8 @@ export declare const EvercamApi: {
|
|
|
56
56
|
};
|
|
57
57
|
cameras: {
|
|
58
58
|
getCameras(params: {
|
|
59
|
-
params
|
|
59
|
+
params?: Partial<FetchCameraQueryParams>;
|
|
60
|
+
config?: AxiosRequestConfig;
|
|
60
61
|
}): Promise<CamerasResponsePayload>;
|
|
61
62
|
getCameraById(cameraId: string, params?: ApiCredentials): Promise<CamerasResponsePayload>;
|
|
62
63
|
getCameraLastPublicNote(cameraId: string): Promise<CameraLogsResponsePayload>;
|
|
@@ -78,7 +79,10 @@ export declare const EvercamApi: {
|
|
|
78
79
|
updateCamera(exid: string, params: CameraUpdateRequestPayload): Promise<CamerasResponsePayload>;
|
|
79
80
|
};
|
|
80
81
|
projects: {
|
|
81
|
-
index(params
|
|
82
|
+
index({ params, config, }: {
|
|
83
|
+
params?: ApiCredentials;
|
|
84
|
+
config: AxiosRequestConfig;
|
|
85
|
+
}): Promise<ProjectResponsePayload>;
|
|
82
86
|
getLogos(projectId: string): Promise<ProjectLogoResponsePayload>;
|
|
83
87
|
createLogo(projectId: string, formData: FormData): Promise<Logo & {
|
|
84
88
|
id: number;
|
|
@@ -144,6 +148,7 @@ export declare const EvercamApi: {
|
|
|
144
148
|
sendRevoke(): Promise<void>;
|
|
145
149
|
getObservationTypes(payload: ProcoreProjectRequestPayload): Promise<ProcoreObservationTypesResponsePayload>;
|
|
146
150
|
getObservationForm(payload: ProcoreObservationFormRequestPayload): Promise<ProcoreObservationForm>;
|
|
151
|
+
getNextAvailableObservationNumber(payload: ProcoreProjectRequestPayload): Promise<ProcoreNextObservationAvailableNumber>;
|
|
147
152
|
getAssignees(payload: ProcoreProjectRequestPayload): Promise<Array<ProcoreObservationAssignee>>;
|
|
148
153
|
getDistributionMembers(payload: ProcoreProjectRequestPayload): Promise<Array<ProcoreObservationDistributionMember>>;
|
|
149
154
|
createObservation(formData: FormData): Promise<void>;
|
|
@@ -228,28 +233,31 @@ export declare const EvercamApi: {
|
|
|
228
233
|
cCreate(cameraId: string, payload: ShareCreateRequestPayload): Promise<ShareCreateResponsePayload>;
|
|
229
234
|
shareProjectCameras(projectExid: ProjectExid, payload: ShareProjectCamerasRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
230
235
|
getShareRequestByKey(key: string): Promise<Pick<ShareCreateResponsePayload, "shareRequests">>;
|
|
231
|
-
transferOwnership(cameraId: string, payload: {
|
|
232
|
-
userId: number;
|
|
233
|
-
}): Promise<void>;
|
|
234
236
|
resendShareRequest(cameraId: string, data: ResendShareRequestPayload): Promise<void>;
|
|
235
237
|
getProjectShares(exid: string): Promise<ProjectShareResponse>;
|
|
236
238
|
updateUserRestriction(projectExid: ProjectExid, payload: UpdateUserRestrictionPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
237
239
|
};
|
|
238
|
-
|
|
239
|
-
|
|
240
|
+
company: {
|
|
241
|
+
show(companyId: string | undefined, params?: Record<string, string>): Promise<Company>;
|
|
242
|
+
getCompanyUsers(params: {
|
|
240
243
|
params: {
|
|
241
244
|
page: number;
|
|
242
245
|
limit: number;
|
|
243
246
|
};
|
|
244
247
|
}): Promise<PaginatedItems<CompanyUser>>;
|
|
245
|
-
getCompanyProjects(
|
|
248
|
+
getCompanyProjects(params: {
|
|
246
249
|
params: {
|
|
247
250
|
page: number;
|
|
248
251
|
limit: number;
|
|
249
252
|
};
|
|
250
253
|
}): Promise<PaginatedItems<CompanyProject>>;
|
|
251
|
-
|
|
252
|
-
|
|
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>>;
|
|
253
261
|
};
|
|
254
262
|
batteries: {
|
|
255
263
|
ProjectBatteryReadings(projectExid: string): Promise<ProjectBatteryReading[]>;
|
|
@@ -34,7 +34,7 @@ export declare const IngestApi: {
|
|
|
34
34
|
assets360: {
|
|
35
35
|
get360Assets(params: {
|
|
36
36
|
params: Partial<_360AssetsQueryParams>;
|
|
37
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
37
|
+
}, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
38
38
|
get360AssetLink(projectId: string, date: string, floor: string, assetType: string, marker: string | null): Promise<import("axios").AxiosResponse<any, any>>;
|
|
39
39
|
deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
40
40
|
getArchive(id: number, params: {
|
package/dist/api/types/360.d.ts
CHANGED
|
@@ -52,6 +52,11 @@ export declare enum _360IntergrationType {
|
|
|
52
52
|
HoloBuilder = "Holobuilder",
|
|
53
53
|
DroneDeploy = "Dronedeploy"
|
|
54
54
|
}
|
|
55
|
+
export declare enum PathMarkerColor {
|
|
56
|
+
Start = "#00e74c",
|
|
57
|
+
End = "#fd7567",
|
|
58
|
+
Default = "#2196F3"
|
|
59
|
+
}
|
|
55
60
|
export type _360AssetsQueryParams = {
|
|
56
61
|
page: number;
|
|
57
62
|
limit: number;
|
|
@@ -258,7 +258,8 @@ export declare enum AnalyticsEvent {
|
|
|
258
258
|
SharingTransferOwnership = "TransferOwnership",
|
|
259
259
|
SharingSortBy = "SortBy",
|
|
260
260
|
SharingChangeAccessRight = "ChangeAccessRight",
|
|
261
|
-
|
|
261
|
+
ThreeSixtyGallery = "Gallery",
|
|
262
|
+
ThreeSixtyGalleryToggleUploadDialog = "Gallery-ToggleUploadDialog",
|
|
262
263
|
ThreeSixtyChangeDate = "ChangeDate",
|
|
263
264
|
ThreeSixtyChangeFloor = "ChangeFloor",
|
|
264
265
|
ThreeSixtyCloseCompare = "CloseCompare",
|
|
@@ -296,6 +297,7 @@ export declare enum AnalyticsEvent {
|
|
|
296
297
|
ThreeSixtyUnlockCompare = "UnlockCompare",
|
|
297
298
|
ThreeSixtyUnlockForgeBIM = "UnlockForgeBIM",
|
|
298
299
|
ThreeSixtyUpdateFloorName = "UpdateFloorName",
|
|
300
|
+
ThreeSixtyUploadAssets = "UploadAssets",
|
|
299
301
|
DroneAreaToolClick = "AreaTool-Click",
|
|
300
302
|
DroneChangeDate = "ChangeDate",
|
|
301
303
|
DroneChooseTagType = "ChooseTagType",
|
|
@@ -384,12 +386,14 @@ export declare enum AnalyticsEvent {
|
|
|
384
386
|
ProgressPhotoPause = "ProgressPhoto-Pause",
|
|
385
387
|
ProgressPhotoResume = "ProgressPhoto-Resume",
|
|
386
388
|
ProgressPhotoResumeDelete = "ProgressPhoto-ResumeDelete",
|
|
389
|
+
ProgressPhotoSelectType = "ProgressPhoto-SelectType",
|
|
387
390
|
ProgressPhotoSelectCameras = "ProgressPhoto-SelectCameras",
|
|
388
391
|
ProgressPhotoSelectDays = "ProgressPhoto-SelectDays",
|
|
389
392
|
ProgressPhotoSelectMember = "ProgressPhoto-SelectMember",
|
|
390
393
|
ProgressPhotoSelectProvider = "ProgressPhoto-SelectProvider",
|
|
391
394
|
ProgressPhotoSelectTime = "ProgressPhoto-SelectTime",
|
|
392
395
|
ProgressPhotoSelectTimezone = "ProgressPhoto-SelectTimezone",
|
|
396
|
+
ProgressPhotoSelectDelay = "ProgressPhoto-SelectDelay",
|
|
393
397
|
ProgressPhotoToggleCreateDialog = "ProgressPhoto-ToggleCreateDialog",
|
|
394
398
|
ProgressPhotoToggleEditDialog = "ProgressPhoto-ToggleEditDialog",
|
|
395
399
|
ProgressPhotoUnsubscribeUser = "ProgressPhoto-UnsubscribeUser",
|
|
@@ -453,6 +457,13 @@ export declare enum AnalyticsEvent {
|
|
|
453
457
|
HelpMenuClickUserManuaLink = "HelpMenu-ClickUserManuaLink",
|
|
454
458
|
HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink",
|
|
455
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",
|
|
456
467
|
ExportPdf = "ExportPdf",
|
|
457
468
|
ExportCsv = "ExportCsv",
|
|
458
469
|
FilterCameras = "FilterCameras",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { AxiosError, AxiosInstance, AxiosRequestConfig, AxiosResponse, CancelTokenSource, CancelTokenStatic } from "axios";
|
|
2
|
+
import { Swr } from "@/api/client/swr/Swr";
|
|
2
3
|
export type TimedRequest<T> = Promise<AxiosResponse<T> & {
|
|
3
4
|
duration: number;
|
|
4
5
|
error?: AxiosError;
|
|
@@ -16,10 +17,13 @@ export type AxiosEnvironment = {
|
|
|
16
17
|
weatherApiBaseUrl?: string | null;
|
|
17
18
|
evercamLabsUrl?: string | null;
|
|
18
19
|
firebaseDbLink?: string | null;
|
|
20
|
+
firebaseStorageUrl?: string | null;
|
|
21
|
+
firebaseStorageToken?: string | null;
|
|
19
22
|
snapshotsURL?: string | null;
|
|
20
23
|
app?: string | null;
|
|
21
24
|
getAuthToken?: () => string | null;
|
|
22
25
|
errorLogger?: (error: AxiosError) => void;
|
|
26
|
+
swrKey?: string;
|
|
23
27
|
};
|
|
24
28
|
export type RequestInterceptor = (req: AxiosRequestConfig, env: AxiosEnvironment) => AxiosRequestConfig & any;
|
|
25
29
|
export type ResponseInterceptor = (res: AxiosResponse, env: AxiosEnvironment) => AxiosResponse & any;
|
|
@@ -38,7 +42,13 @@ export interface ExtendedAxiosInstance extends AxiosInstance {
|
|
|
38
42
|
addRequestInterceptor: (interceptor: RequestInterceptor, errorInterceptor?: ErrorInterceptor) => void;
|
|
39
43
|
addResponseInterceptor: (interceptor: ResponseInterceptor, errorInterceptor?: ErrorInterceptor) => void;
|
|
40
44
|
addErrorInterceptor: (interceptor: ErrorInterceptor) => void;
|
|
45
|
+
swr: Swr;
|
|
41
46
|
}
|
|
47
|
+
export type ResponseValue<T> = T | undefined;
|
|
48
|
+
export type SwrResponse<T> = {
|
|
49
|
+
cachedValue: ResponseValue<T>;
|
|
50
|
+
freshPromise: Promise<ResponseValue<T>>;
|
|
51
|
+
};
|
|
42
52
|
declare module "axios" {
|
|
43
53
|
interface AxiosRequestConfig {
|
|
44
54
|
raw?: boolean;
|
|
@@ -47,5 +57,9 @@ declare module "axios" {
|
|
|
47
57
|
_metadata?: {
|
|
48
58
|
startTime: number;
|
|
49
59
|
};
|
|
60
|
+
swr?: boolean;
|
|
61
|
+
onSwrHit?: <T>(data: T) => unknown;
|
|
62
|
+
onSwrRefresh?: <T>(data: T) => unknown;
|
|
63
|
+
onSwrError?: (error: Error) => unknown;
|
|
50
64
|
}
|
|
51
65
|
}
|
|
@@ -17,7 +17,7 @@ export type Camera = {
|
|
|
17
17
|
storageDuration: string;
|
|
18
18
|
};
|
|
19
19
|
createdAt: DateTime_Z_micros;
|
|
20
|
-
description: null;
|
|
20
|
+
description: string | null;
|
|
21
21
|
discoverable: boolean;
|
|
22
22
|
external: {
|
|
23
23
|
host: string;
|
|
@@ -62,7 +62,7 @@ export type Camera = {
|
|
|
62
62
|
offlineReason: string;
|
|
63
63
|
owned: boolean;
|
|
64
64
|
owner: string;
|
|
65
|
-
pitch: null;
|
|
65
|
+
pitch: string | null;
|
|
66
66
|
project: {
|
|
67
67
|
id: string;
|
|
68
68
|
name: string;
|
|
@@ -73,7 +73,7 @@ export type Camera = {
|
|
|
73
73
|
};
|
|
74
74
|
ptz: boolean;
|
|
75
75
|
rights: string;
|
|
76
|
-
roll: null;
|
|
76
|
+
roll: string | null;
|
|
77
77
|
routerId: number;
|
|
78
78
|
status: CameraStatus;
|
|
79
79
|
streamingServer: string;
|
|
@@ -13,6 +13,34 @@ export type CompanyProject = {
|
|
|
13
13
|
status: string;
|
|
14
14
|
startedAt: DateType;
|
|
15
15
|
};
|
|
16
|
+
export type CompanyKit = {
|
|
17
|
+
id: number;
|
|
18
|
+
name: string;
|
|
19
|
+
serial: string;
|
|
20
|
+
status: string;
|
|
21
|
+
powerType: string;
|
|
22
|
+
countryName: string;
|
|
23
|
+
nvrId: string;
|
|
24
|
+
nvrSerial: string;
|
|
25
|
+
nvrVersion: string;
|
|
26
|
+
nvrNerves: boolean;
|
|
27
|
+
nvrModel: string;
|
|
28
|
+
nvrDeviceType: string;
|
|
29
|
+
routerId: string;
|
|
30
|
+
routerSerial: string;
|
|
31
|
+
projectExid: string;
|
|
32
|
+
projectName: string;
|
|
33
|
+
alarms: Array<string>;
|
|
34
|
+
sims: Array<{
|
|
35
|
+
id: number;
|
|
36
|
+
number: string;
|
|
37
|
+
}>;
|
|
38
|
+
cameras: Array<{
|
|
39
|
+
exid: string;
|
|
40
|
+
name: string;
|
|
41
|
+
status: string;
|
|
42
|
+
}>;
|
|
43
|
+
};
|
|
16
44
|
export type Company = {
|
|
17
45
|
id: number;
|
|
18
46
|
exid: string;
|
|
@@ -490,13 +490,6 @@ export declare enum CountryCode {
|
|
|
490
490
|
Zambia = "zm",
|
|
491
491
|
Zimbabwe = "zw"
|
|
492
492
|
}
|
|
493
|
-
export declare enum Region {
|
|
494
|
-
Apac = "apac",
|
|
495
|
-
Emea = "emea",
|
|
496
|
-
Us = "us",
|
|
497
|
-
Latam = "latam",
|
|
498
|
-
Na = "na"
|
|
499
|
-
}
|
|
500
493
|
export declare enum CameraRegion {
|
|
501
494
|
APAC = "apac",
|
|
502
495
|
AU = "au",
|
|
@@ -113,7 +113,6 @@ export declare enum PpeLabel {
|
|
|
113
113
|
Helmet = "helmet",
|
|
114
114
|
HighVisibilityVest = "high-visibility-vest",
|
|
115
115
|
SafetyGlasses = "safety-glasses",
|
|
116
|
-
Gloves = "gloves",
|
|
117
116
|
Person = "person",
|
|
118
117
|
Man = "man",
|
|
119
118
|
Woman = "woman"
|
|
@@ -121,7 +120,7 @@ export declare enum PpeLabel {
|
|
|
121
120
|
export declare enum DetectionModel {
|
|
122
121
|
Yolov10 = 1,
|
|
123
122
|
Yolov11 = 2,
|
|
124
|
-
|
|
123
|
+
Yolov112 = 3,
|
|
125
124
|
GroundingDino = 4,
|
|
126
125
|
Owlv2 = 5
|
|
127
126
|
}
|
package/dist/api/types/kit.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { CountryCode, CountryId, DateTime, DateType, Nvr, PaginationParams, PowerType, Project,
|
|
1
|
+
import { CameraExid, CountryCode, CountryId, DateTime, DateType, Nvr, PaginationParams, PowerType, Project, Router, Schedule, Tag } from "@/types";
|
|
2
2
|
export type Kit = {
|
|
3
3
|
alarms: KitAlarm[];
|
|
4
4
|
countryCode: CountryCode;
|
|
5
5
|
countryId: CountryId;
|
|
6
6
|
countryName: string;
|
|
7
|
-
countryRegion:
|
|
7
|
+
countryRegion: KitRegion;
|
|
8
8
|
id?: number;
|
|
9
9
|
jobId: number;
|
|
10
10
|
name: string;
|
|
@@ -17,6 +17,7 @@ export type Kit = {
|
|
|
17
17
|
status: KitStatus;
|
|
18
18
|
powerSchedule: Schedule;
|
|
19
19
|
tags: Tag[];
|
|
20
|
+
storages: KitStorage[];
|
|
20
21
|
};
|
|
21
22
|
export declare enum KitStatus {
|
|
22
23
|
New = "new",
|
|
@@ -24,6 +25,12 @@ export declare enum KitStatus {
|
|
|
24
25
|
Deployed = "deployed",
|
|
25
26
|
Decommissioned = "decommissioned"
|
|
26
27
|
}
|
|
28
|
+
export declare enum KitRegion {
|
|
29
|
+
APAC = "apac",
|
|
30
|
+
EMEA = "emea",
|
|
31
|
+
LATAM = "latam",
|
|
32
|
+
US = "na"
|
|
33
|
+
}
|
|
27
34
|
export declare enum KitAlarm {
|
|
28
35
|
NvrOffline = "nvr_offline",
|
|
29
36
|
UnknownCamera = "unknown_camera",
|
|
@@ -292,7 +299,7 @@ export type KitCreatePayload = {
|
|
|
292
299
|
status: KitStatus;
|
|
293
300
|
powerType: PowerType;
|
|
294
301
|
config: {
|
|
295
|
-
region:
|
|
302
|
+
region: KitRegion;
|
|
296
303
|
};
|
|
297
304
|
};
|
|
298
305
|
export type KitUpdatePayload = {
|
|
@@ -310,7 +317,7 @@ export declare enum KitStorageTransport {
|
|
|
310
317
|
export type KitStorageRequestPayload = {
|
|
311
318
|
kitId: number;
|
|
312
319
|
};
|
|
313
|
-
export type
|
|
320
|
+
export type KitStorage = {
|
|
314
321
|
id: number;
|
|
315
322
|
serial: string;
|
|
316
323
|
status: string;
|
|
@@ -324,5 +331,17 @@ export type KitStorageResponsePayload = {
|
|
|
324
331
|
vendor: string;
|
|
325
332
|
kitId: number;
|
|
326
333
|
capacity: number;
|
|
334
|
+
freeSpace: number;
|
|
327
335
|
tran: KitStorageTransport;
|
|
328
336
|
};
|
|
337
|
+
export type KitFootageRequestPayload = {
|
|
338
|
+
cameraId: CameraExid;
|
|
339
|
+
storageId: number;
|
|
340
|
+
};
|
|
341
|
+
export type KitFootageResponsePayload = {
|
|
342
|
+
id: number;
|
|
343
|
+
startDate: string;
|
|
344
|
+
endDate: string;
|
|
345
|
+
cameraId: number;
|
|
346
|
+
storageId: number;
|
|
347
|
+
};
|
|
@@ -176,11 +176,14 @@ export type ProcoreObservationCustomField = {
|
|
|
176
176
|
optionsUrl: string | null;
|
|
177
177
|
defaultValue: string | null;
|
|
178
178
|
};
|
|
179
|
+
export type ProcoreNextObservationAvailableNumber = {
|
|
180
|
+
nextAvailableNumber: number;
|
|
181
|
+
};
|
|
179
182
|
export declare enum ProcoreObservationCustomFieldDataType {
|
|
180
183
|
RichText = "rich_text",
|
|
181
184
|
Date = "date",
|
|
182
185
|
DateTime = "datetime",
|
|
183
|
-
|
|
186
|
+
LovEntry = "lov_entry",
|
|
184
187
|
LovEntries = "lov_entries",
|
|
185
188
|
Boolean = "boolean",
|
|
186
189
|
Vendor = "vendor",
|
|
@@ -194,17 +197,17 @@ export declare enum ProcoreObservationDefaultFieldNames {
|
|
|
194
197
|
Number = "number",
|
|
195
198
|
Name = "name",
|
|
196
199
|
Status = "status",
|
|
197
|
-
Trade = "
|
|
198
|
-
Assignee = "
|
|
199
|
-
DueDate = "
|
|
200
|
-
SpecificationSection = "
|
|
200
|
+
Trade = "tradeId",
|
|
201
|
+
Assignee = "assigneeId",
|
|
202
|
+
DueDate = "dueDate",
|
|
203
|
+
SpecificationSection = "specificationSectionId",
|
|
201
204
|
Priority = "priority",
|
|
202
|
-
Location = "
|
|
203
|
-
DistributionMembers = "
|
|
205
|
+
Location = "locationId",
|
|
206
|
+
DistributionMembers = "distributionMemberIds",
|
|
204
207
|
Personal = "personal",
|
|
205
|
-
Hazard = "
|
|
206
|
-
ContributingBehavior = "
|
|
207
|
-
ContributingCondition = "
|
|
208
|
+
Hazard = "hazardId",
|
|
209
|
+
ContributingBehavior = "contributingBehaviorId",
|
|
210
|
+
ContributingCondition = "contributingConditionId",
|
|
208
211
|
Description = "description"
|
|
209
212
|
}
|
|
210
213
|
export declare enum ProcoreTools {
|
|
@@ -1,31 +1,43 @@
|
|
|
1
|
-
import { DateTime, DateType, PaginationParams } from "@/types";
|
|
2
|
-
export type
|
|
1
|
+
import { AutomationType, DateTime, DateType, PaginationParams } from "@/types";
|
|
2
|
+
export type Automation = {
|
|
3
|
+
name?: string;
|
|
3
4
|
cameraIds: string;
|
|
4
5
|
cameraNames: number;
|
|
6
|
+
cameraExids?: string[];
|
|
5
7
|
createdAt: string;
|
|
6
8
|
id: number;
|
|
7
9
|
provider: string;
|
|
8
|
-
type:
|
|
10
|
+
type: AutomationType;
|
|
9
11
|
config: Partial<{
|
|
10
|
-
recipients: string;
|
|
11
|
-
projectId: number;
|
|
12
|
+
recipients: string | Record<string, string>[];
|
|
12
13
|
companyId: number;
|
|
14
|
+
compareDelay: number;
|
|
15
|
+
categoryId: string;
|
|
16
|
+
hubId: string;
|
|
17
|
+
folderId: string;
|
|
18
|
+
projectId: number;
|
|
13
19
|
}>;
|
|
14
20
|
isPaused: boolean;
|
|
15
|
-
notifyDays: string;
|
|
21
|
+
notifyDays: string | string[];
|
|
16
22
|
notifyTime: string;
|
|
17
23
|
requesterEmail: string;
|
|
18
24
|
requesterName: string;
|
|
19
25
|
timezone: string;
|
|
20
26
|
title: string;
|
|
27
|
+
compareDelay?: number;
|
|
28
|
+
selectedProvider?: string;
|
|
29
|
+
restrictedCameraExids?: string[];
|
|
30
|
+
recipients?: string | string[];
|
|
21
31
|
};
|
|
22
32
|
export type ProgressPhotosCreateUpdateRequestPayload = {
|
|
23
33
|
cameraExids?: string;
|
|
24
34
|
notifyDays?: string;
|
|
35
|
+
compareDelay?: AutomationType;
|
|
25
36
|
notifyTime?: string;
|
|
26
37
|
provider?: string;
|
|
27
38
|
type?: string;
|
|
28
39
|
config?: {
|
|
40
|
+
compareDelay?: AutomationType;
|
|
29
41
|
recipients?: string;
|
|
30
42
|
projectId?: number;
|
|
31
43
|
companyId?: number;
|
|
@@ -40,9 +52,9 @@ export type ProgressPhotosUnSubscribeParams = {
|
|
|
40
52
|
token?: string;
|
|
41
53
|
};
|
|
42
54
|
export type ProgressPhotosResponsePayload = {
|
|
43
|
-
progressPhotos:
|
|
55
|
+
progressPhotos: Automation[];
|
|
44
56
|
};
|
|
45
|
-
export declare enum
|
|
57
|
+
export declare enum AutomationDialogType {
|
|
46
58
|
Create = "create",
|
|
47
59
|
Edit = "edit",
|
|
48
60
|
Pause = "pause"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BBox, BoundingBox, DateType, Schedule, CameraExid, DateTime, DetectionModel, PaginationParams, PpeLabel, ProjectExid } from "@evercam/api/types";
|
|
2
|
-
import { DetectionLabel,
|
|
2
|
+
import { DetectionLabel, DownloadFileType } from "@evercam/api/types";
|
|
3
3
|
export declare enum SiteAnalyticsMode {
|
|
4
4
|
Detections = "detections",
|
|
5
5
|
Segments = "segments"
|
|
@@ -132,10 +132,11 @@ export type DetectionsRequestParams = {
|
|
|
132
132
|
trackId?: number;
|
|
133
133
|
thresholds?: string[];
|
|
134
134
|
excludeLabels?: Array<DetectionLabel | PpeLabel>;
|
|
135
|
+
mergedClasses?: Array<string>;
|
|
135
136
|
confidenceThreshold?: number;
|
|
136
137
|
} & PaginationParams;
|
|
137
138
|
export type DetectionsExportRequestParams = DetectionsRequestParams & {
|
|
138
|
-
fileType:
|
|
139
|
+
fileType: DownloadFileType;
|
|
139
140
|
columns?: string[];
|
|
140
141
|
directDownload?: boolean;
|
|
141
142
|
};
|
|
@@ -39,8 +39,7 @@ export type ExNvrDeviceConfig = {
|
|
|
39
39
|
timezone: string;
|
|
40
40
|
};
|
|
41
41
|
export declare enum ExNvrFootageAvailableStatus {
|
|
42
|
-
|
|
43
|
-
NotActive = "Not Active",
|
|
42
|
+
Available = "Available",
|
|
44
43
|
NotAvailable = "Not Available"
|
|
45
44
|
}
|
|
46
45
|
export declare enum ExNvrDeviceState {
|
package/dist/api/types/user.d.ts
CHANGED
|
@@ -34,12 +34,7 @@ export type AdminUser = {
|
|
|
34
34
|
countryName: string;
|
|
35
35
|
createdAt: DateTime;
|
|
36
36
|
integrations: string[];
|
|
37
|
-
|
|
38
|
-
lastEvenCreatedAt: DateTime;
|
|
39
|
-
lastEventId: number;
|
|
40
|
-
lastEventIpAddress: string;
|
|
41
|
-
lastEventName: string;
|
|
42
|
-
lastEventOs: string;
|
|
37
|
+
lastSeenAt: DateTime;
|
|
43
38
|
lastLoginAt: string;
|
|
44
39
|
lastname: string;
|
|
45
40
|
persona: string;
|