@evercam/api 1.0.0-ca4bfd0ab → 1.0.0-cc7d70eb8
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 +3 -0
- package/dist/api/api/3dFirebaseApi.d.ts +27 -0
- package/dist/api/api/adminApi.d.ts +376 -0
- package/dist/api/api/aiApi.d.ts +128 -0
- package/dist/api/api/authzApi.d.ts +38 -0
- package/dist/api/{client → api/client}/axios.d.ts +2 -1
- package/dist/api/{client → api/client}/customErrors.d.ts +10 -0
- package/dist/api/{client → api/client}/interceptors.d.ts +1 -1
- package/dist/api/api/client/swr/Swr.d.ts +14 -0
- package/dist/api/api/client/swr/SwrStore.d.ts +10 -0
- package/dist/api/api/evercamApi.d.ts +337 -0
- package/dist/api/api/evercamLabsApi.d.ts +45 -0
- package/dist/api/{exNvrApi.d.ts → api/exNvrApi.d.ts} +1 -1
- package/dist/api/api/index.d.ts +13 -0
- package/dist/api/api/ingestApi.d.ts +148 -0
- package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +12 -3
- package/dist/api/api/videoWallApi.d.ts +9 -0
- package/dist/api/api/weatherApi.d.ts +9 -0
- package/dist/api/index.d.ts +3 -13
- package/dist/api/types/360.d.ts +276 -0
- package/dist/api/types/aconex.d.ts +143 -0
- package/dist/api/types/admin.d.ts +51 -0
- package/dist/{types → api/types}/analytics.d.ts +200 -79
- package/dist/{types → api/types}/anpr.d.ts +27 -13
- package/dist/{types → api/types}/auditLogs.d.ts +1 -1
- package/dist/api/types/authz.d.ts +61 -0
- package/dist/{types → api/types}/autodesk.d.ts +7 -7
- package/dist/api/types/automation.d.ts +95 -0
- package/dist/{types → api/types}/axios.d.ts +22 -2
- package/dist/{types → api/types}/bim.d.ts +11 -5
- package/dist/{types → api/types}/camera.d.ts +110 -124
- package/dist/api/types/comments.d.ts +55 -0
- package/dist/api/types/company.d.ts +115 -0
- package/dist/{types → api/types}/compare.d.ts +20 -5
- package/dist/{types → api/types}/connector.d.ts +9 -6
- package/dist/api/types/coolify.d.ts +36 -0
- package/dist/{types → api/types}/copilot.d.ts +11 -6
- package/dist/{types → api/types}/countries.d.ts +0 -7
- package/dist/{types → api/types}/credentials.d.ts +1 -0
- package/dist/api/types/detections.d.ts +124 -0
- package/dist/{types → api/types}/drone.d.ts +1 -0
- package/dist/{types → api/types}/errors.d.ts +13 -0
- package/dist/{types → api/types}/gateReport.d.ts +46 -150
- package/dist/{types → api/types}/hdd.d.ts +26 -1
- package/dist/{types → api/types}/index.d.ts +13 -2
- package/dist/api/types/ingest.d.ts +139 -0
- package/dist/{types → api/types}/kit.d.ts +91 -7
- package/dist/{types → api/types}/media.d.ts +2 -1
- package/dist/api/types/notification.d.ts +57 -0
- package/dist/api/types/oauth.d.ts +62 -0
- package/dist/api/types/planner.d.ts +79 -0
- package/dist/api/types/posthog.d.ts +33 -0
- package/dist/api/types/procore.d.ts +229 -0
- package/dist/{types → api/types}/progressPhoto.d.ts +11 -23
- package/dist/api/types/project.d.ts +245 -0
- package/dist/{types → api/types}/recording.d.ts +3 -4
- package/dist/api/types/recycleBin.d.ts +14 -0
- package/dist/api/types/ring.d.ts +53 -0
- package/dist/{types → api/types}/roi.d.ts +2 -1
- package/dist/{types → api/types}/routeParams.d.ts +4 -2
- package/dist/{types → api/types}/router.d.ts +20 -1
- package/dist/{types → api/types}/shared.d.ts +12 -10
- package/dist/api/types/shares.d.ts +58 -0
- package/dist/{types → api/types}/sim.d.ts +6 -6
- package/dist/api/types/siteAnalytics.d.ts +287 -0
- package/dist/api/types/smartSeach.d.ts +5 -0
- package/dist/{types → api/types}/snapshots.d.ts +42 -1
- package/dist/api/types/sso.d.ts +55 -0
- package/dist/api/types/storageProvider.d.ts +19 -0
- package/dist/api/types/storyblok.d.ts +40 -0
- package/dist/{types → api/types}/streaming.d.ts +4 -25
- package/dist/api/types/systemCheck.d.ts +11 -0
- package/dist/api/types/tag.d.ts +12 -0
- package/dist/api/types/time.d.ts +7 -0
- package/dist/{types → api/types}/timelapse.d.ts +5 -5
- package/dist/{types → api/types}/user.d.ts +105 -36
- package/dist/api/types/videoWall.d.ts +66 -0
- package/dist/api/types/weather.d.ts +153 -0
- package/dist/{types → api/types}/widget.d.ts +96 -16
- package/dist/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 +1721 -1001
- 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 +303 -0
- package/dist/shared/types/imagePlayer.d.ts +34 -0
- package/dist/shared/types/index.d.ts +5 -0
- package/dist/shared/types/rbac.d.ts +67 -0
- package/dist/shared/types/timeline.d.ts +10 -0
- package/package.json +6 -5
- package/dist/api/3dFirebaseApi.d.ts +0 -9
- package/dist/api/adminApi.d.ts +0 -304
- package/dist/api/aiApi.d.ts +0 -110
- package/dist/api/authzApi.d.ts +0 -21
- package/dist/api/evercamApi.d.ts +0 -266
- package/dist/api/evercamLabsApi.d.ts +0 -46
- package/dist/api/ingestApi.d.ts +0 -65
- package/dist/api/videoWallApi.d.ts +0 -9
- package/dist/api/weatherApi.d.ts +0 -27
- 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/company.d.ts +0 -46
- package/dist/types/coolify.d.ts +0 -18
- package/dist/types/detections.d.ts +0 -76
- package/dist/types/devices.d.ts +0 -228
- package/dist/types/ingest.d.ts +0 -43
- package/dist/types/notification.d.ts +0 -27
- package/dist/types/planner.d.ts +0 -28
- package/dist/types/procore.d.ts +0 -76
- package/dist/types/project.d.ts +0 -119
- package/dist/types/shares.d.ts +0 -192
- package/dist/types/siteAnalytics.d.ts +0 -84
- package/dist/types/storageServers.d.ts +0 -4
- package/dist/types/time.d.ts +0 -19
- package/dist/types/videoWall.d.ts +0 -33
- package/dist/types/weather.d.ts +0 -83
- /package/dist/api/{client → api/client}/index.d.ts +0 -0
- /package/dist/api/{webRtcApi.d.ts → api/webRtcApi.d.ts} +0 -0
- /package/dist/{types → api/types}/map.d.ts +0 -0
- /package/dist/{types → api/types}/nvr.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/api/evercamApi.d.ts
DELETED
|
@@ -1,266 +0,0 @@
|
|
|
1
|
-
import type { AxiosRequestConfig } from "axios";
|
|
2
|
-
import type { AconexAuthCallbackParams, AconexEditedImageUploadRequestPayload, AconexUserProjectsResponsePayload, ActiveUsersStatsRequestPayload, ActiveUserStat, AnalyticsRequestPayload, 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, GoogleAuthRequestPayload, LoginRequestPayload, LoginResponsePayload, Logo, LogoutParams, Media, MediaCreateRequestPayload, MediaFilterQueryParams, MediaUpdateRequestPayload, MediaUsersResponsePayload, NearestSnapshotRequestPayload, NearestSnapshotResponsePayload, PaginatedItems, PendingBimImagesParams, ProcessPendingImagesBimParams, ProcoreEditedImageUploadRequestPayload, ProcoreProjectsAlbumsPayload, ProcoreProjectsAlbumsRequestPayload, ProcoreUserCompaniesResponsePayload, ProcoreUserProjectRequestPayload, ProcoreUserProjectsResponsePayload, ProgressPhotosCreateUpdateRequestPayload, ProgressPhotosResponsePayload, ProgressPhotosUnSubscribeParams, ProjectBatteryReading, ProjectExid, ProjectLogoResponsePayload, ProjectPAStatsRequestPayload, ProjectPAStatsResponsePayload, ProjectResponsePayload, ProjectShareResponse, RemotePasswordUpdateRequestPayload, ResendShareRequestPayload, SessionActivitiesListRequestPayload, SessionActivity, SessionsListRequestPayload, Share, ShareCreateRequestPayload, ShareCreateResponsePayload, ShareDeletionRequestPayload, SharedUsersResponsePayload, ShareProjectCamerasRequestPayload, ShareRequestsResponsePayload, SharesResponsePayload, SignupUserRequestPayload, Snapshot, SnapshotRangeRequestPayload, SnapshotRangeResponsePayload, ThumbnailData, TimelapseCreationRequestPayload, TimelapseCreationResponsePayload, TimelapseSnapshotRequestPayload, TimelapseSnapshotResponsePayload, UpdatePasswordRequestPayload, UserDeleteRequestPayload, UserSession, UserUpdateRequestPayload, VoyageControlConnectorPayload, Widget, WidgetFull, WidgetPayload, WidgetsListRequestPayload } from "@evercam/api/types";
|
|
3
|
-
export declare const EvercamApi: {
|
|
4
|
-
apiStatus: {
|
|
5
|
-
getApiStatus(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
6
|
-
};
|
|
7
|
-
users: {
|
|
8
|
-
signup(payload: SignupUserRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
9
|
-
fetchAccessFeatures(email: string): Promise<{
|
|
10
|
-
features: string[];
|
|
11
|
-
}>;
|
|
12
|
-
impersonationLogin(token: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
13
|
-
login(params: LoginRequestPayload): Promise<LoginResponsePayload>;
|
|
14
|
-
loginWithApiCredentials(apiId: String, apiKey: String): Promise<LoginResponsePayload>;
|
|
15
|
-
loginWithWidgetCredentials(widgetId: String, widgetKey: String): Promise<LoginResponsePayload>;
|
|
16
|
-
loginWithProvider(provider: string, payload: GoogleAuthRequestPayload): Promise<LoginResponsePayload>;
|
|
17
|
-
getUser(email: string): Promise<{
|
|
18
|
-
users: LoginResponsePayload[];
|
|
19
|
-
}>;
|
|
20
|
-
logout(payload: LogoutParams, config?: Partial<AxiosRequestConfig>): Promise<void>;
|
|
21
|
-
resetPassword(email: string): Promise<{
|
|
22
|
-
message: string;
|
|
23
|
-
}>;
|
|
24
|
-
getCredentials(): Promise<Credentials>;
|
|
25
|
-
updatePassword(user: string, payload: UpdatePasswordRequestPayload): Promise<{
|
|
26
|
-
message: string;
|
|
27
|
-
}>;
|
|
28
|
-
remotePasswordUpdate(email: string, payload: RemotePasswordUpdateRequestPayload): Promise<{
|
|
29
|
-
message: string;
|
|
30
|
-
}>;
|
|
31
|
-
confirm(email: string, payload: any): Promise<LoginResponsePayload>;
|
|
32
|
-
deleteActiveSession(sessionId: string, payload?: any): Promise<void>;
|
|
33
|
-
getActiveSessions(payload: SessionsListRequestPayload): Promise<PaginatedItems<UserSession>>;
|
|
34
|
-
getSessionActivities(payload: SessionActivitiesListRequestPayload): Promise<PaginatedItems<SessionActivity>>;
|
|
35
|
-
update(email: string, params?: Partial<UserUpdateRequestPayload>): Promise<{
|
|
36
|
-
users: LoginResponsePayload[];
|
|
37
|
-
}>;
|
|
38
|
-
delete(email: string, params: UserDeleteRequestPayload): Promise<void>;
|
|
39
|
-
fetchPermissions(): Promise<{
|
|
40
|
-
permissions: string[];
|
|
41
|
-
}>;
|
|
42
|
-
};
|
|
43
|
-
notifications: {
|
|
44
|
-
get(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
45
|
-
markAllAsRead(id: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
46
|
-
markAsRead(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
47
|
-
};
|
|
48
|
-
bim: {
|
|
49
|
-
getBimSnapshot(cameraId: string, dateTime: string, payload: Partial<BimSnapshotRequestPayload>, extraParams?: AxiosRequestConfig): Promise<BimSnapshotResponsePayload>;
|
|
50
|
-
getBimModel(cameraId: string, payload: BimModelRequestPayload, extraParams?: AxiosRequestConfig): Promise<BimModelResponsePayload>;
|
|
51
|
-
pendingBimImages(cameraId: string, params: PendingBimImagesParams): Promise<BimPendingImage[]>;
|
|
52
|
-
processPendingImages(cameraId: string, params: Partial<ProcessPendingImagesBimParams>): Promise<void>;
|
|
53
|
-
createBim(cameraId: string, params: BimCreationPayload): Promise<void>;
|
|
54
|
-
getCameraParameters(cameraId: string, params: ApiCredentials): Promise<BimUploadCameraParameters>;
|
|
55
|
-
uploadCameraParameters(cameraId: string, params: BimUploadCameraParameters): Promise<BimUploadCameraParameters>;
|
|
56
|
-
exportCompare(projectExid: string, payload: BimCompareExportRequestPayload): Promise<Compare>;
|
|
57
|
-
};
|
|
58
|
-
cameras: {
|
|
59
|
-
getCameras(): Promise<CamerasResponsePayload>;
|
|
60
|
-
getCameraById(cameraId: string, params?: ApiCredentials): Promise<CamerasResponsePayload>;
|
|
61
|
-
getCameraLastPublicNote(cameraId: string): Promise<CameraLogsResponsePayload>;
|
|
62
|
-
portCheck(payload: {
|
|
63
|
-
params: CheckCameraPortPayload;
|
|
64
|
-
}): Promise<CheckCameraPortPayload & {
|
|
65
|
-
open: boolean;
|
|
66
|
-
}>;
|
|
67
|
-
getNvrStreamingToken({ cameraExid, token, }: {
|
|
68
|
-
cameraExid: string;
|
|
69
|
-
token: string;
|
|
70
|
-
}): Promise<string>;
|
|
71
|
-
getCameraStatusLogs(exid: string, params: {
|
|
72
|
-
params: {
|
|
73
|
-
from: string;
|
|
74
|
-
to: string;
|
|
75
|
-
};
|
|
76
|
-
}): Promise<CameraStatusLog[]>;
|
|
77
|
-
updateCamera(exid: string, params: CameraUpdateRequestPayload): Promise<CamerasResponsePayload>;
|
|
78
|
-
};
|
|
79
|
-
projects: {
|
|
80
|
-
index(params?: ApiCredentials): Promise<ProjectResponsePayload>;
|
|
81
|
-
getLogos(projectId: string): Promise<ProjectLogoResponsePayload>;
|
|
82
|
-
createLogo(projectId: string, formData: FormData): Promise<Logo & {
|
|
83
|
-
id: number;
|
|
84
|
-
}>;
|
|
85
|
-
deleteLogo(projectId: string, id: number): Promise<void>;
|
|
86
|
-
updateLogo(projectId: string, id: number, name: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
87
|
-
updateThumbnail(projectExid: string, params: {
|
|
88
|
-
cameraExid?: string;
|
|
89
|
-
uploadedThumbnail?: string;
|
|
90
|
-
}): Promise<{
|
|
91
|
-
message: string;
|
|
92
|
-
}>;
|
|
93
|
-
getThumbnailData(projectExid: string): Promise<ThumbnailData>;
|
|
94
|
-
};
|
|
95
|
-
timelapse: {
|
|
96
|
-
getSnapshotRange(cameraId: string, payload: TimelapseSnapshotRequestPayload, extraParams?: AxiosRequestConfig): Promise<TimelapseSnapshotResponsePayload>;
|
|
97
|
-
createTimelapse(projectExid: string, payload: TimelapseCreationRequestPayload): Promise<TimelapseCreationResponsePayload>;
|
|
98
|
-
cUpdate(projectExid: string, id: string | number, payload: MediaUpdateRequestPayload): Promise<TimelapseCreationResponsePayload>;
|
|
99
|
-
cDelete(projectExid: string, id: number): Promise<void>;
|
|
100
|
-
};
|
|
101
|
-
compares: {
|
|
102
|
-
cCreate(projectExid: string, payload: CompareRequestPayload): Promise<Compare>;
|
|
103
|
-
cShow(projectExid: string, id: string): Promise<Compare>;
|
|
104
|
-
cUpdate(projectExid: string, id: string, payload: MediaUpdateRequestPayload): Promise<Compare>;
|
|
105
|
-
cDelete(projectExid: string, id: string): Promise<void>;
|
|
106
|
-
};
|
|
107
|
-
providers: {
|
|
108
|
-
getProviders(): Promise<ConnectorResponsePayload>;
|
|
109
|
-
};
|
|
110
|
-
aconex: {
|
|
111
|
-
authenticate(payload: AconexAuthCallbackParams): Promise<void>;
|
|
112
|
-
getUserProjects(): Promise<AconexUserProjectsResponsePayload>;
|
|
113
|
-
revoke(): Promise<void>;
|
|
114
|
-
uploadEditedSnapshot(projectId: number, payload: AconexEditedImageUploadRequestPayload): Promise<void>;
|
|
115
|
-
getDocumentSchema(projectId: number): Promise<void>;
|
|
116
|
-
};
|
|
117
|
-
procore: {
|
|
118
|
-
getUserCompanies(): Promise<ProcoreUserCompaniesResponsePayload>;
|
|
119
|
-
getUserProjects(payload: ProcoreUserProjectRequestPayload): Promise<ProcoreUserProjectsResponsePayload>;
|
|
120
|
-
getProjectAlbums(payload: ProcoreProjectsAlbumsRequestPayload): Promise<ProcoreProjectsAlbumsPayload>;
|
|
121
|
-
uploadEditedSnapshot(payload: ProcoreEditedImageUploadRequestPayload): Promise<void>;
|
|
122
|
-
sendRevoke(): Promise<void>;
|
|
123
|
-
};
|
|
124
|
-
autodesk: {
|
|
125
|
-
sendRevoke(): Promise<void>;
|
|
126
|
-
getUserHubs(): Promise<AutodeskUserHubsResponsePayload>;
|
|
127
|
-
getProjects(hubId: string): Promise<AutodeskProjectsResponsePayload>;
|
|
128
|
-
getFolders(hubId: string, projectId: string): Promise<Array<AutodeskFolderResponsePayload>>;
|
|
129
|
-
getSubFolders(projectId: string, parentFolderId: string, getDerivatives: Boolean): Promise<Array<AutodeskFolderResponsePayload>>;
|
|
130
|
-
getFolder(projectId: string, folderId: string): Promise<AutodeskFolderResponsePayload>;
|
|
131
|
-
uploadEditedSnapshot(payload: AutodeskUploadSnapshotPayload): Promise<null>;
|
|
132
|
-
fetchViewerToken(exid: string): Promise<AutodeskTokenResponsePayload>;
|
|
133
|
-
};
|
|
134
|
-
voyageControl: {
|
|
135
|
-
connect(payload: VoyageControlConnectorPayload): Promise<unknown>;
|
|
136
|
-
sendRevoke(): Promise<null>;
|
|
137
|
-
};
|
|
138
|
-
recordings: {
|
|
139
|
-
oldest(cameraId: string, payload?: ApiCredentials): Promise<Snapshot>;
|
|
140
|
-
latest(cameraId: string, payload?: ApiCredentials): Promise<Snapshot>;
|
|
141
|
-
nearest(cameraId: string, timestamp: string, payload?: NearestSnapshotRequestPayload, extraParams?: AxiosRequestConfig): Promise<NearestSnapshotResponsePayload>;
|
|
142
|
-
availableDays({ cameraId, year, month, payload, }: AvailableDaysRequestPayload): Promise<AvailableDaysResponsePayload>;
|
|
143
|
-
availableHours({ cameraId, year, month, day, payload, cancelToken, }: AvailableHoursRequestPayload): Promise<AvailableHoursResponsePayload>;
|
|
144
|
-
getSnapshot(cameraId: string, dateTime: string): Promise<SnapshotRangeResponsePayload>;
|
|
145
|
-
getSnapshotRange(cameraId: string, payload: SnapshotRangeRequestPayload): Promise<SnapshotRangeResponsePayload>;
|
|
146
|
-
};
|
|
147
|
-
progressPhotos: {
|
|
148
|
-
index(): Promise<ProgressPhotosResponsePayload>;
|
|
149
|
-
show(id: string): Promise<ProgressPhotosResponsePayload>;
|
|
150
|
-
create(payload: ProgressPhotosCreateUpdateRequestPayload): Promise<ProgressPhotosResponsePayload>;
|
|
151
|
-
update(id: string, payload: ProgressPhotosCreateUpdateRequestPayload): Promise<ProgressPhotosResponsePayload>;
|
|
152
|
-
unsubscribe(progressPhotoId: string, params: ProgressPhotosUnSubscribeParams): Promise<ProgressPhotosResponsePayload>;
|
|
153
|
-
delete(id: string, params?: ApiCredentials): Promise<void>;
|
|
154
|
-
};
|
|
155
|
-
mediaHub: {
|
|
156
|
-
getAllMedia(projectExid: string, params: MediaFilterQueryParams): Promise<PaginatedItems<Media>>;
|
|
157
|
-
getAllMediaUsers(projectExid: string): Promise<MediaUsersResponsePayload>;
|
|
158
|
-
cShow(projectExid: string, id: string): Promise<Media>;
|
|
159
|
-
cCreate(projectExid: string, payload: MediaCreateRequestPayload): Promise<Media>;
|
|
160
|
-
cUpdate(projectExid: number, id: number, payload: MediaUpdateRequestPayload): Promise<Media>;
|
|
161
|
-
cDelete(projectExid: number, id: number): Promise<void>;
|
|
162
|
-
};
|
|
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
|
-
shares: {
|
|
172
|
-
updateShareRights(cameraExid: CameraExid, payload: {
|
|
173
|
-
email: string;
|
|
174
|
-
rights: string;
|
|
175
|
-
}): Promise<Share>;
|
|
176
|
-
updateShareRequestRights(cameraExid: CameraExid, payload: {
|
|
177
|
-
email: string;
|
|
178
|
-
rights: string;
|
|
179
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
180
|
-
cIndex(cameraId: string): Promise<SharesResponsePayload>;
|
|
181
|
-
getShareRequest(cameraId: string, payload: {
|
|
182
|
-
status: string;
|
|
183
|
-
}): Promise<ShareRequestsResponsePayload>;
|
|
184
|
-
deleteShare(cameraId: string, payload: {
|
|
185
|
-
[key: string]: ShareDeletionRequestPayload;
|
|
186
|
-
}): Promise<void>;
|
|
187
|
-
deleteRequest(cameraId: string, payload: {
|
|
188
|
-
[key: string]: ShareDeletionRequestPayload;
|
|
189
|
-
}): Promise<void>;
|
|
190
|
-
deleteShareRequest(payload: {
|
|
191
|
-
params: ShareDeletionRequestPayload;
|
|
192
|
-
}): Promise<void>;
|
|
193
|
-
getSharedUsers(cameraId: string): Promise<SharedUsersResponsePayload>;
|
|
194
|
-
cCreate(cameraId: string, payload: ShareCreateRequestPayload): Promise<ShareCreateResponsePayload>;
|
|
195
|
-
shareProjectCameras(projectExid: ProjectExid, payload: ShareProjectCamerasRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
196
|
-
getShareRequestByKey(key: string): Promise<Pick<ShareCreateResponsePayload, "shareRequests">>;
|
|
197
|
-
transferOwnership(cameraId: string, payload: {
|
|
198
|
-
userId: number;
|
|
199
|
-
}): Promise<void>;
|
|
200
|
-
resendShareRequest(cameraId: string, data: ResendShareRequestPayload): Promise<void>;
|
|
201
|
-
getProjectShares(exid: string): Promise<ProjectShareResponse>;
|
|
202
|
-
};
|
|
203
|
-
companies: {
|
|
204
|
-
getCompanyUsers(companyExid: string, params: {
|
|
205
|
-
params: {
|
|
206
|
-
page: number;
|
|
207
|
-
limit: number;
|
|
208
|
-
};
|
|
209
|
-
}): Promise<PaginatedItems<CompanyUser>>;
|
|
210
|
-
getCompanyProjects(companyId: string, params: {
|
|
211
|
-
params: {
|
|
212
|
-
page: number;
|
|
213
|
-
limit: number;
|
|
214
|
-
};
|
|
215
|
-
}): Promise<PaginatedItems<CompanyProject>>;
|
|
216
|
-
getPACompanyDetails(companyId: string, params?: Record<string, string>): Promise<Company>;
|
|
217
|
-
getActiveUsers(params: ActiveUsersStatsRequestPayload): Promise<ActiveUserStat>;
|
|
218
|
-
getCompanyCameras(id: string, params: Record<string, string>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
219
|
-
};
|
|
220
|
-
batteries: {
|
|
221
|
-
ProjectBatteryReadings(projectExid: string): Promise<ProjectBatteryReading[]>;
|
|
222
|
-
batteryReadings(cameraExid: string, params: {
|
|
223
|
-
fromDate: string;
|
|
224
|
-
toDate: string;
|
|
225
|
-
}): Promise<PaginatedItems<BatteryReading>>;
|
|
226
|
-
readingsVoltageSummary(cameraExid: string, params: {
|
|
227
|
-
fromDate: string;
|
|
228
|
-
toDate: string;
|
|
229
|
-
}): Promise<BatteryVoltage[]>;
|
|
230
|
-
};
|
|
231
|
-
layers: {
|
|
232
|
-
getLayer(cameraId: string, params: BimLayersQueryParams, extraParams?: Record<string, string>): Promise<BIMLayer[]>;
|
|
233
|
-
getLayersById(cameraId: string, id: number, params: Record<string, string>): Promise<BIMLayer>;
|
|
234
|
-
getLayers(cameraId: string, params: BimLayersQueryParams): Promise<BIMLayer[]>;
|
|
235
|
-
createLayer(cameraId: string, params: BIMLayerPostPayload): Promise<BIMLayer>;
|
|
236
|
-
deleteLayer(cameraId: string, id: number, params: Record<string, unknown>): Promise<void>;
|
|
237
|
-
updateLayer(cameraId: string, id: number, params: Partial<BIMLayerPostPayload>): Promise<BIMLayer>;
|
|
238
|
-
};
|
|
239
|
-
comments: {
|
|
240
|
-
fetchComments(projectExid: string, params: CommentsRequestPayload): Promise<PaginatedItems<Comment>>;
|
|
241
|
-
addComment(projectId: string, params: CommentCreationRequestPayload): Promise<Comment>;
|
|
242
|
-
archiveOrUnarchiveComment(projectId: string, id: number, archive: boolean): Promise<Comment>;
|
|
243
|
-
deleteComment(projectId: string, id: number): Promise<void>;
|
|
244
|
-
};
|
|
245
|
-
storyblock: {
|
|
246
|
-
getStory(params: {
|
|
247
|
-
route: string;
|
|
248
|
-
params: string;
|
|
249
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
250
|
-
};
|
|
251
|
-
mailing: {
|
|
252
|
-
unsubscribe(params: {
|
|
253
|
-
key: string;
|
|
254
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
255
|
-
};
|
|
256
|
-
widgets: {
|
|
257
|
-
index(params: Partial<WidgetsListRequestPayload>): Promise<PaginatedItems<Widget>>;
|
|
258
|
-
show(id: number): Promise<WidgetFull>;
|
|
259
|
-
getByKeys(): Promise<WidgetFull>;
|
|
260
|
-
setSessionSettings(params: any): Promise<WidgetFull>;
|
|
261
|
-
createProjectWidget(projectId: string, payload: WidgetPayload): Promise<WidgetFull>;
|
|
262
|
-
createCameraWidget(cameraId: string, payload: WidgetPayload): Promise<WidgetFull>;
|
|
263
|
-
update(id: number, payload: WidgetPayload): Promise<WidgetFull>;
|
|
264
|
-
delete(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
265
|
-
};
|
|
266
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import type { CameraExid, CopilotConversation, CopilotMessage, CopilotMessageStep, CountsParams, FeedbackPayload, GrafanaKitMetrics, LabsPaginationParams, LuminanceReading, MilesightCameraNetworkConfiguration, MilesightCameraOsdConfiguration, MilesightCameraSdCardInfo, MilesightCameraSystemSettings, MilesightCameraVideoConfig, MilesightRequestParams, PaginatedItems, SegmentsPresenceByLabel } 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
|
-
milesight: {
|
|
6
|
-
getVideoConfig({ host, httpPort, username, password }: MilesightRequestParams, config?: {}): Promise<MilesightCameraVideoConfig>;
|
|
7
|
-
getNetworkConfiguration({ host, httpPort, username, password }: MilesightRequestParams, config?: {}): Promise<MilesightCameraNetworkConfiguration>;
|
|
8
|
-
getSystemSettings({ host, httpPort, username, password }: MilesightRequestParams, config?: {}): Promise<MilesightCameraSystemSettings>;
|
|
9
|
-
getTimeSettings({ host, httpPort, username, password }: MilesightRequestParams, config?: {}): Promise<MilesightCameraSystemSettings>;
|
|
10
|
-
getOsdConfiguration({ host, httpPort, username, password }: MilesightRequestParams, config?: {}): Promise<MilesightCameraOsdConfiguration>;
|
|
11
|
-
getSdCardInfo({ host, httpPort, username, password }: MilesightRequestParams, config?: {}): Promise<MilesightCameraSdCardInfo>;
|
|
12
|
-
};
|
|
13
|
-
copilot: {
|
|
14
|
-
getAllConversations(params: LabsPaginationParams & {
|
|
15
|
-
cameraExid?: string;
|
|
16
|
-
projectExid?: string;
|
|
17
|
-
user?: string;
|
|
18
|
-
}): Promise<PaginatedItems<CopilotConversation>>;
|
|
19
|
-
getOneConversation(conversationId: number): Promise<PaginatedItems<CopilotConversation>>;
|
|
20
|
-
getConversationMessages(conversationId: number, params: LabsPaginationParams): Promise<PaginatedItems<CopilotMessage>>;
|
|
21
|
-
getMessageSteps(message: CopilotMessage): Promise<CopilotMessageStep[]>;
|
|
22
|
-
submitMessageFeedback<T>({ conversationId, messageId, ...params }: FeedbackPayload<T>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
23
|
-
};
|
|
24
|
-
detections: {
|
|
25
|
-
getSegmentsDateIntervals({ cameraExid, fromDate, toDate, precision, }: CountsParams): Promise<SegmentsPresenceByLabel>;
|
|
26
|
-
};
|
|
27
|
-
googleCloudStorage: {
|
|
28
|
-
listFiles(prefix?: string): Promise<{
|
|
29
|
-
files: string[];
|
|
30
|
-
folders: string[];
|
|
31
|
-
}>;
|
|
32
|
-
getSignedUrl(fileName: string): Promise<{
|
|
33
|
-
url: string;
|
|
34
|
-
}>;
|
|
35
|
-
};
|
|
36
|
-
luminance: {
|
|
37
|
-
getReadings(params: {
|
|
38
|
-
cameraExid: CameraExid;
|
|
39
|
-
fromDate: string;
|
|
40
|
-
toDate: string;
|
|
41
|
-
}): Promise<LuminanceReading[]>;
|
|
42
|
-
};
|
|
43
|
-
kits: {
|
|
44
|
-
getMetrics(kitId: string, metrics: GrafanaMetricId[], period?: KitMetricPeriod): Promise<GrafanaKitMetrics>;
|
|
45
|
-
};
|
|
46
|
-
};
|
package/dist/api/ingestApi.d.ts
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import type { _360AssetsQueryParams, _360AssetsRequestPayload, _360AssetsUploadPayload, BimUploadPayload, BimUploadsQueryParams, CalculateMeasuringOperationRequestPayload, DronesQueryParams, DroneUploadUpdateRequestPayload, FlightImagesQueryParams, Generate360MapRequestPayload, InspectionToolRequestPayload, MobileCaptureSnapshot } from "@evercam/api/types";
|
|
2
|
-
export declare const IngestApi: {
|
|
3
|
-
drone: {
|
|
4
|
-
createUpload(projectId: string, params: {
|
|
5
|
-
uploadedBy: string;
|
|
6
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
7
|
-
reprocessDrone(id: number, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
8
|
-
getDrones(params: {
|
|
9
|
-
params: Partial<DronesQueryParams>;
|
|
10
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
11
|
-
getArchive(id: number, params: {
|
|
12
|
-
dataType: string;
|
|
13
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
14
|
-
deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
15
|
-
prepareForUpload(projectId: string, params: {
|
|
16
|
-
uploadedBy: string;
|
|
17
|
-
token: string;
|
|
18
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
19
|
-
upload(projectId: string, params: {
|
|
20
|
-
uploadedBy: string;
|
|
21
|
-
token: string;
|
|
22
|
-
}, payload: DroneUploadUpdateRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
23
|
-
verifyToken(projectId: string, params: {
|
|
24
|
-
token: string;
|
|
25
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
26
|
-
calculateMeasuringOperation(projectId: string, params: CalculateMeasuringOperationRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
27
|
-
inspectionTool(projectId: string, params: InspectionToolRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
28
|
-
isInspectionEnabled(projectId: string, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
29
|
-
getDroneQueueSize(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
30
|
-
getFlightImages(projectId: string, params: FlightImagesQueryParams): Promise<import("axios").AxiosResponse<any, any>>;
|
|
31
|
-
};
|
|
32
|
-
assets360: {
|
|
33
|
-
get360Assets(params: {
|
|
34
|
-
params: Partial<_360AssetsQueryParams>;
|
|
35
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
36
|
-
deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
37
|
-
getArchive(id: number, params: {
|
|
38
|
-
dateType: string;
|
|
39
|
-
}): 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>>;
|
|
42
|
-
generate360map(projectId: string, params: Generate360MapRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
43
|
-
get360QueueSize(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
44
|
-
};
|
|
45
|
-
bim: {
|
|
46
|
-
createUpload(projectId: string, params: {
|
|
47
|
-
uploadedBy: string;
|
|
48
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
49
|
-
getBIMs(params: {
|
|
50
|
-
params: Partial<BimUploadsQueryParams>;
|
|
51
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
52
|
-
getArchive(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
53
|
-
deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
54
|
-
upload(projectId: string, params: {
|
|
55
|
-
id: string;
|
|
56
|
-
name: string;
|
|
57
|
-
}, payload: BimUploadPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
58
|
-
};
|
|
59
|
-
mobileCapture: {
|
|
60
|
-
getProjectMobileAssets(params: Record<string, unknown>): Promise<MobileCaptureSnapshot[]>;
|
|
61
|
-
getMobileAssetPhoto(assetId: string | number, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
62
|
-
};
|
|
63
|
-
getTotalQueueSize(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
64
|
-
checkFlightAvailableFeatures(projectId: string, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
65
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { VideoWallPreset } from "@evercam/api/types";
|
|
2
|
-
export declare const VideoWallApi: {
|
|
3
|
-
presets: {
|
|
4
|
-
getProjectPresets(email: string, projectId: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
5
|
-
saveProjectPreset(email: string, projectId: string, payload: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
6
|
-
getGlobalPreset(email: string): Promise<VideoWallPreset>;
|
|
7
|
-
saveGlobalPreset(email: string, payload: VideoWallPreset): Promise<void>;
|
|
8
|
-
};
|
|
9
|
-
};
|
package/dist/api/weatherApi.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { HistoryWeatherRequestPayload, WeatherDataResponse, WeatherProvider, WeatherResponsePayload } from "@evercam/api/types";
|
|
2
|
-
import { AxiosRequestConfig } from "axios";
|
|
3
|
-
export declare const WeatherApi: {
|
|
4
|
-
current: {
|
|
5
|
-
getCurrentWeather({ projectExid, weatherProvider, }: {
|
|
6
|
-
projectExid: string;
|
|
7
|
-
weatherProvider?: WeatherProvider;
|
|
8
|
-
}): Promise<WeatherResponsePayload> | undefined;
|
|
9
|
-
};
|
|
10
|
-
historical: {
|
|
11
|
-
getWeatherBeforeDate({ projectExid, weatherProvider, payload, }: {
|
|
12
|
-
projectExid: string;
|
|
13
|
-
weatherProvider?: WeatherProvider;
|
|
14
|
-
payload: HistoryWeatherRequestPayload;
|
|
15
|
-
}): Promise<WeatherResponsePayload> | undefined;
|
|
16
|
-
};
|
|
17
|
-
weather: {
|
|
18
|
-
getWeatherData({ projectExid, weatherProvider, payload, config, }: {
|
|
19
|
-
projectExid: string;
|
|
20
|
-
weatherProvider?: WeatherProvider;
|
|
21
|
-
payload: HistoryWeatherRequestPayload;
|
|
22
|
-
config?: AxiosRequestConfig;
|
|
23
|
-
}): Promise<{
|
|
24
|
-
data: WeatherDataResponse[];
|
|
25
|
-
}> | undefined;
|
|
26
|
-
};
|
|
27
|
-
};
|
package/dist/types/360.d.ts
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { DateType } from "@/types/time";
|
|
2
|
-
export type _360CameraParams = {
|
|
3
|
-
azimuthAngle: number;
|
|
4
|
-
polarAngle: number;
|
|
5
|
-
};
|
|
6
|
-
export type _360Floor = {
|
|
7
|
-
floorID: string;
|
|
8
|
-
name: string;
|
|
9
|
-
};
|
|
10
|
-
export type _360Scene = {
|
|
11
|
-
date: string;
|
|
12
|
-
dateID: string;
|
|
13
|
-
floors: _360Floor[];
|
|
14
|
-
polarAngle: number;
|
|
15
|
-
azimuthAngle: number;
|
|
16
|
-
};
|
|
17
|
-
export type _360ProjectJsonResponse = {
|
|
18
|
-
dates: _360Scene[];
|
|
19
|
-
[key: string]: any;
|
|
20
|
-
};
|
|
21
|
-
export type MobileCaptureSnapshot = {
|
|
22
|
-
id: string;
|
|
23
|
-
uploadedBy: string;
|
|
24
|
-
updatedAt: string;
|
|
25
|
-
assetType: string;
|
|
26
|
-
thumbnailUrl: string;
|
|
27
|
-
};
|
|
28
|
-
export declare enum _360UrlParams {
|
|
29
|
-
DateId = "date_id",
|
|
30
|
-
Floor = "floor",
|
|
31
|
-
Marker = "marker",
|
|
32
|
-
PolarAngle = "polarAngle",
|
|
33
|
-
AzimuthAngle = "azimuthAngle"
|
|
34
|
-
}
|
|
35
|
-
export declare enum _360AssetType {
|
|
36
|
-
Video = "video",
|
|
37
|
-
Image = "image",
|
|
38
|
-
Model = "model",
|
|
39
|
-
Route = "route",
|
|
40
|
-
MobilePhoto = "mobile_photos",
|
|
41
|
-
MobileAudio = "mobile_audios"
|
|
42
|
-
}
|
|
43
|
-
export declare enum _360IntergrationType {
|
|
44
|
-
Evercam = "Evercam",
|
|
45
|
-
Matterport = "Matterport",
|
|
46
|
-
OpenSpace = "Openspace",
|
|
47
|
-
HoloBuilder = "Holobuilder",
|
|
48
|
-
DroneDeploy = "Dronedeploy"
|
|
49
|
-
}
|
|
50
|
-
export type _360AssetsQueryParams = {
|
|
51
|
-
page: number;
|
|
52
|
-
limit: number;
|
|
53
|
-
projectID: string;
|
|
54
|
-
date: DateType;
|
|
55
|
-
floor: string;
|
|
56
|
-
id: string;
|
|
57
|
-
};
|
|
58
|
-
export type _360AssetsRequestPayload = {
|
|
59
|
-
projectId: string;
|
|
60
|
-
date: DateType;
|
|
61
|
-
floor: string;
|
|
62
|
-
uploadedBy?: string;
|
|
63
|
-
};
|
|
64
|
-
export type _360AssetsUploadPayload = {
|
|
65
|
-
targetPointsCount: number;
|
|
66
|
-
assetType: string;
|
|
67
|
-
upload: {
|
|
68
|
-
url: string;
|
|
69
|
-
title: string;
|
|
70
|
-
fileExtension: string;
|
|
71
|
-
}[];
|
|
72
|
-
deviceSerial: string;
|
|
73
|
-
startPosition: string;
|
|
74
|
-
endPosition: string;
|
|
75
|
-
isTimelapse: boolean;
|
|
76
|
-
};
|
|
77
|
-
export type Generate360MapRequestPayload = {
|
|
78
|
-
dateId: string;
|
|
79
|
-
floorId: string;
|
|
80
|
-
cameraOffset: string;
|
|
81
|
-
startPoint: string;
|
|
82
|
-
endPoint: string;
|
|
83
|
-
};
|
package/dist/types/aconex.d.ts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export type AconexUserProjectsResponsePayload = Array<{
|
|
2
|
-
id: number;
|
|
3
|
-
name: string;
|
|
4
|
-
shortName: string;
|
|
5
|
-
startDate: string;
|
|
6
|
-
endDate: string;
|
|
7
|
-
}>;
|
|
8
|
-
export type AconexDocumentSchemaField = {
|
|
9
|
-
dataType: AconexDocumentDataType;
|
|
10
|
-
identifier: string;
|
|
11
|
-
schemaValues: Array<{
|
|
12
|
-
id: string;
|
|
13
|
-
value: string;
|
|
14
|
-
}>;
|
|
15
|
-
fieldName: string;
|
|
16
|
-
mandatoryStatus: AconexMandatoryStatus;
|
|
17
|
-
componentType?: AconexFormComponentType;
|
|
18
|
-
items?: Array<any>;
|
|
19
|
-
disabled?: boolean;
|
|
20
|
-
};
|
|
21
|
-
export declare enum AconexDocumentDataType {
|
|
22
|
-
Long = "LONG",
|
|
23
|
-
Integer = "INTEGER",
|
|
24
|
-
String = "STRING",
|
|
25
|
-
Boolean = "BOOLEAN",
|
|
26
|
-
Date = "DATE"
|
|
27
|
-
}
|
|
28
|
-
export declare enum AconexFormComponentType {
|
|
29
|
-
Select = "SelectField",
|
|
30
|
-
Text = "TextField",
|
|
31
|
-
DateTime = "DateTimeField",
|
|
32
|
-
Switch = "SwitchField"
|
|
33
|
-
}
|
|
34
|
-
export declare enum AconexMandatoryStatus {
|
|
35
|
-
Mandatory = "MANDATORY",
|
|
36
|
-
NotMandatory = "NOT_MANDATORY"
|
|
37
|
-
}
|
|
38
|
-
export type AconexAuthCallbackParams = {
|
|
39
|
-
code: string;
|
|
40
|
-
location: string;
|
|
41
|
-
};
|
|
42
|
-
export type AconexEditedImageUploadRequestPayload = {
|
|
43
|
-
projectExid: string;
|
|
44
|
-
snapshot: string;
|
|
45
|
-
};
|
package/dist/types/comments.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { CameraExid, DateType, ProjectExid } from "@/types";
|
|
2
|
-
export type CommentsRequestPayload = {
|
|
3
|
-
cameraExid: CameraExid;
|
|
4
|
-
fromDate: string;
|
|
5
|
-
toDate: string;
|
|
6
|
-
page?: number;
|
|
7
|
-
limit?: number;
|
|
8
|
-
};
|
|
9
|
-
export type CommentPosition = {
|
|
10
|
-
coordinates: Array<number>;
|
|
11
|
-
type: string;
|
|
12
|
-
};
|
|
13
|
-
export type Comment = {
|
|
14
|
-
fromDate?: string;
|
|
15
|
-
toDate?: string;
|
|
16
|
-
timestamp: string;
|
|
17
|
-
projectExid: ProjectExid;
|
|
18
|
-
updatedAt?: string;
|
|
19
|
-
id?: number;
|
|
20
|
-
cameraExid: CameraExid;
|
|
21
|
-
content: string;
|
|
22
|
-
createdAt?: string;
|
|
23
|
-
creatorEmail?: string;
|
|
24
|
-
creatorName?: string;
|
|
25
|
-
position2d: CommentPosition;
|
|
26
|
-
canDelete?: boolean;
|
|
27
|
-
};
|
|
28
|
-
export type CommentCreationRequestPayload = {
|
|
29
|
-
fromDate?: DateType;
|
|
30
|
-
toDate?: DateType;
|
|
31
|
-
timestamp: DateType;
|
|
32
|
-
projectExid: ProjectExid;
|
|
33
|
-
cameraExid: CameraExid;
|
|
34
|
-
content: string;
|
|
35
|
-
position2d: Array<number>;
|
|
36
|
-
};
|
package/dist/types/company.d.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import type { DateType, PaginationParams } from "@/types";
|
|
2
|
-
export type CompanyUser = {
|
|
3
|
-
id: number;
|
|
4
|
-
fullname: string;
|
|
5
|
-
email: string;
|
|
6
|
-
eventsCount: number;
|
|
7
|
-
lastSeenAt: string;
|
|
8
|
-
active: boolean;
|
|
9
|
-
};
|
|
10
|
-
export type CompanyProject = {
|
|
11
|
-
exid: string;
|
|
12
|
-
name: string;
|
|
13
|
-
status: string;
|
|
14
|
-
startedAt: DateType;
|
|
15
|
-
};
|
|
16
|
-
export type Company = {
|
|
17
|
-
id: number;
|
|
18
|
-
exid: string;
|
|
19
|
-
name: string;
|
|
20
|
-
zohoId: string;
|
|
21
|
-
domains: string;
|
|
22
|
-
linkedinUrl: string;
|
|
23
|
-
sessions: number;
|
|
24
|
-
projects: number;
|
|
25
|
-
cameras: number;
|
|
26
|
-
users: number;
|
|
27
|
-
activeUsers: number;
|
|
28
|
-
createdAt: DateType;
|
|
29
|
-
};
|
|
30
|
-
export type CompanyQueryParams = PaginationParams & {
|
|
31
|
-
name: string;
|
|
32
|
-
exid: string;
|
|
33
|
-
domains: string;
|
|
34
|
-
projects: string;
|
|
35
|
-
cameras: string;
|
|
36
|
-
users: string;
|
|
37
|
-
activeUsers: string;
|
|
38
|
-
sessions: string;
|
|
39
|
-
};
|
|
40
|
-
export type CompanyUpdatePayload = {
|
|
41
|
-
name: string;
|
|
42
|
-
exid: string;
|
|
43
|
-
linkedinUrl?: string;
|
|
44
|
-
domains?: string;
|
|
45
|
-
zohoId?: string;
|
|
46
|
-
};
|
package/dist/types/coolify.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { DateType } from "@/types/time";
|
|
2
|
-
export type CreateCoolifyAppRequestPayload = {
|
|
3
|
-
cameraExid: string;
|
|
4
|
-
startDate: DateType;
|
|
5
|
-
modelVersion: string;
|
|
6
|
-
snapshotRequestTimeout: string | number;
|
|
7
|
-
serverUuid: string;
|
|
8
|
-
branch: string;
|
|
9
|
-
};
|
|
10
|
-
export type SaveCoolifyAppRequestPayload = {
|
|
11
|
-
contextCameraExid: string;
|
|
12
|
-
coolifyServiceId: string;
|
|
13
|
-
modelVersion: string;
|
|
14
|
-
startTime: string;
|
|
15
|
-
branchName: string;
|
|
16
|
-
snapshotRequestTimeout: string | number;
|
|
17
|
-
serverUuid: string;
|
|
18
|
-
};
|