@evercam/api 1.0.0-5fab6756e → 1.0.0-602761634
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 +1 -0
- package/dist/api/api/3dFirebaseApi.d.ts +212 -15
- package/dist/api/api/adminApi.d.ts +105 -96
- package/dist/api/api/aiApi.d.ts +130 -7
- package/dist/api/api/authzApi.d.ts +5 -3
- package/dist/api/api/evercamApi.d.ts +52 -33
- package/dist/api/api/evercamLabsApi.d.ts +9 -17
- package/dist/api/api/exNvrApi.d.ts +1 -1
- package/dist/api/api/index.d.ts +1 -0
- package/dist/api/api/ingestApi.d.ts +89 -66
- package/dist/api/api/reportsApi.d.ts +15 -0
- package/dist/api/types/360.d.ts +178 -86
- package/dist/api/types/admin.d.ts +37 -3
- package/dist/api/types/aiConfigs.d.ts +244 -0
- package/dist/api/types/analytics.d.ts +66 -37
- package/dist/api/types/anpr.d.ts +36 -6
- package/dist/api/types/apiKey.d.ts +70 -0
- package/dist/api/types/auditLogs.d.ts +179 -21
- package/dist/api/types/authz.d.ts +72 -0
- package/dist/api/types/automation.d.ts +32 -4
- package/dist/api/types/axios.d.ts +12 -12
- package/dist/api/types/bim.d.ts +55 -12
- package/dist/api/types/camera.d.ts +236 -127
- package/dist/api/types/comments.d.ts +67 -26
- package/dist/api/types/company.d.ts +11 -5
- package/dist/api/types/compare.d.ts +1 -1
- package/dist/api/types/connector.d.ts +2 -0
- package/dist/api/types/detections.d.ts +6 -10
- package/dist/api/types/drone.d.ts +95 -6
- package/dist/api/types/emailMessages.d.ts +27 -0
- package/dist/api/types/errors.d.ts +19 -2
- package/dist/api/types/gateReport.d.ts +9 -23
- package/dist/api/types/gateReportManagement.d.ts +170 -0
- package/dist/api/types/hammertech.d.ts +98 -0
- package/dist/api/types/hdd.d.ts +1 -1
- package/dist/api/types/index.d.ts +11 -2
- package/dist/api/types/ingest.d.ts +200 -20
- package/dist/api/types/kit.d.ts +97 -117
- package/dist/api/types/map.d.ts +12 -0
- package/dist/api/types/media.d.ts +31 -3
- package/dist/api/types/notification.d.ts +52 -2
- package/dist/api/types/nvr.d.ts +39 -8
- package/dist/api/types/observationEvents.d.ts +167 -0
- package/dist/api/types/observations.d.ts +89 -0
- package/dist/api/types/planner.d.ts +56 -10
- package/dist/api/types/posthog.d.ts +56 -0
- package/dist/api/types/progressPhoto.d.ts +38 -25
- package/dist/api/types/project.d.ts +75 -24
- package/dist/api/types/recording.d.ts +8 -13
- package/dist/api/types/recycleBin.d.ts +8 -2
- package/dist/api/types/reports.d.ts +108 -0
- package/dist/api/types/ring.d.ts +16 -16
- package/dist/api/types/roi.d.ts +3 -11
- package/dist/api/types/routeParams.d.ts +1 -0
- package/dist/api/types/router.d.ts +15 -10
- package/dist/api/types/shared.d.ts +39 -29
- package/dist/api/types/shares.d.ts +0 -13
- package/dist/api/types/sim.d.ts +18 -6
- package/dist/api/types/siteAnalytics.d.ts +3 -5
- package/dist/api/types/siteAnalyticsManagement.d.ts +127 -0
- package/dist/api/types/siteView.d.ts +79 -0
- package/dist/api/types/snapshots.d.ts +98 -13
- package/dist/api/types/socket.d.ts +4 -0
- package/dist/api/types/sso.d.ts +11 -37
- package/dist/api/types/storageProvider.d.ts +16 -5
- package/dist/api/types/storyblok.d.ts +0 -13
- package/dist/api/types/timelapse.d.ts +6 -9
- package/dist/api/types/user.d.ts +48 -33
- package/dist/api/types/widget.d.ts +13 -4
- package/dist/api/utils.d.ts +1 -1
- package/dist/index.js +2320 -963
- 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 +536 -43
- package/dist/shared/types/customDataTableFilters.d.ts +10 -0
- package/dist/shared/types/droneUpload.d.ts +93 -0
- package/dist/shared/types/imagePlayer.d.ts +8 -1
- package/dist/shared/types/index.d.ts +5 -0
- package/dist/shared/types/observations.d.ts +25 -0
- package/dist/shared/types/rbac.d.ts +67 -0
- package/dist/shared/types/report.d.ts +107 -0
- package/dist/shared/utils/datePickerValue.d.ts +36 -0
- package/dist/shared/utils/datePresets.d.ts +31 -0
- package/package.json +4 -2
- package/dist/api/types/copilot.d.ts +0 -162
- package/dist/api/types/vendorModel.d.ts +0 -15
package/README.md
CHANGED
|
@@ -1,27 +1,224 @@
|
|
|
1
|
-
import { _360ProjectJsonResponse,
|
|
1
|
+
import { _360Floor, _360FloorId, _360Marker3D, _360Pin, _360ProjectJsonResponse, _360ProjectListItem, _360Scene, _360SceneRoute, _360CalibrationDetails, _360FloorData, _360FloorRef, _360PinData, _360Route, _360Walk, Point3D, DroneBimData, DroneImageryPlan, DroneMarker, DroneModel, DroneProjectData, DroneProjectDataPatch, DroneTag, DroneTransformPatch, ForgeMarker, ForgeProjectData, ForgeUrn, ForgeView, ItwinProjectData, MapView, PlannerListItem, SitePlan, ProjectExid, SiteViewCameraListItem, SiteViewerType, DroneCameraTransform, EmailingSettings } from "@evercam/api/types";
|
|
2
2
|
import { AxiosRequestConfig } from "axios";
|
|
3
|
-
export declare const getFirebaseDbApi: () => string
|
|
4
|
-
export declare const getFirebaseStorageUrl: () => string
|
|
5
|
-
export declare const getFirebaseStorageToken: () => string
|
|
3
|
+
export declare const getFirebaseDbApi: () => string;
|
|
4
|
+
export declare const getFirebaseStorageUrl: () => string;
|
|
5
|
+
export declare const getFirebaseStorageToken: () => string;
|
|
6
|
+
export declare const getForgeTokenServerUrl: () => string;
|
|
6
7
|
export declare const _3dFirebaseApi: {
|
|
8
|
+
emailing: {
|
|
9
|
+
getSettings(): Promise<EmailingSettings | null>;
|
|
10
|
+
};
|
|
7
11
|
drone: {
|
|
8
|
-
getProjectInfo(projectExid: ProjectExid): Promise<
|
|
9
|
-
getProjectTags(projectExid: ProjectExid): Promise<
|
|
12
|
+
getProjectInfo(projectExid: ProjectExid): Promise<DroneProjectData>;
|
|
13
|
+
getProjectTags(projectExid: ProjectExid): Promise<Record<string, DroneTag>>;
|
|
14
|
+
patchTags({ projectId, tags, }: {
|
|
15
|
+
projectId: ProjectExid;
|
|
16
|
+
tags: Record<string, DroneTag | null>;
|
|
17
|
+
}): Promise<void>;
|
|
18
|
+
saveMarkers({ projectId, markers, }: {
|
|
19
|
+
projectId: ProjectExid;
|
|
20
|
+
markers: Record<string, DroneMarker>;
|
|
21
|
+
}): Promise<void>;
|
|
22
|
+
patchTransform({ projectId, data, }: {
|
|
23
|
+
projectId: ProjectExid;
|
|
24
|
+
data: DroneTransformPatch;
|
|
25
|
+
}): Promise<void>;
|
|
26
|
+
saveTerrainPoints({ projectId, dateId, points, }: {
|
|
27
|
+
projectId: ProjectExid;
|
|
28
|
+
dateId: string;
|
|
29
|
+
points: Point3D[];
|
|
30
|
+
}): Promise<void>;
|
|
31
|
+
patchImageryPlan({ projectId, plan, }: {
|
|
32
|
+
projectId: ProjectExid;
|
|
33
|
+
plan: Record<string, DroneImageryPlan>;
|
|
34
|
+
}): Promise<void>;
|
|
35
|
+
deleteImageryPlan({ projectId, uuid, }: {
|
|
36
|
+
projectId: ProjectExid;
|
|
37
|
+
uuid: string;
|
|
38
|
+
}): Promise<void>;
|
|
39
|
+
saveImageryPlans({ projectId, plans, }: {
|
|
40
|
+
projectId: ProjectExid;
|
|
41
|
+
plans: Record<string, DroneImageryPlan>;
|
|
42
|
+
}): Promise<void>;
|
|
43
|
+
saveModel({ projectId, model, }: {
|
|
44
|
+
projectId: ProjectExid;
|
|
45
|
+
model: DroneModel;
|
|
46
|
+
}): Promise<void>;
|
|
47
|
+
saveModels({ projectId, models, }: {
|
|
48
|
+
projectId: ProjectExid;
|
|
49
|
+
models: DroneModel[];
|
|
50
|
+
}): Promise<void>;
|
|
51
|
+
saveBimData({ projectId, data, }: {
|
|
52
|
+
projectId: ProjectExid;
|
|
53
|
+
data: DroneBimData;
|
|
54
|
+
}): Promise<void>;
|
|
55
|
+
getBimTransparencyFlag(projectId: ProjectExid): Promise<boolean | null>;
|
|
56
|
+
saveCameraTransform({ projectId, isScene3D, transform, }: {
|
|
57
|
+
projectId: ProjectExid;
|
|
58
|
+
isScene3D: boolean;
|
|
59
|
+
transform: Record<string, DroneCameraTransform>;
|
|
60
|
+
}): Promise<void>;
|
|
10
61
|
};
|
|
11
62
|
_360: {
|
|
12
63
|
getProjectInfo(projectExid: ProjectExid, params?: {
|
|
13
64
|
config?: AxiosRequestConfig;
|
|
14
65
|
}): Promise<_360ProjectJsonResponse>;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
66
|
+
getProjectsList(): Promise<_360ProjectListItem[]>;
|
|
67
|
+
updateProjectsList(items: Record<string, _360ProjectListItem>): Promise<void>;
|
|
68
|
+
updateProjectsListItem(index: number, data: _360ProjectListItem): Promise<void>;
|
|
69
|
+
deleteProject(projectId: string): Promise<void>;
|
|
70
|
+
updateProjectInfo(projectId: string, data: Partial<_360ProjectJsonResponse>): Promise<void>;
|
|
71
|
+
updateFloor(projectExid: ProjectExid, dateId: string, floorIndex: string, body: Partial<_360Scene["floors"][number]>): Promise<_360ProjectJsonResponse>;
|
|
72
|
+
getFloor({ projectId, dateId, floorId, }: {
|
|
73
|
+
projectId: ProjectExid;
|
|
74
|
+
dateId: number;
|
|
75
|
+
floorId: _360FloorId;
|
|
76
|
+
}): Promise<_360Floor>;
|
|
77
|
+
getAerialShotsFloor({ projectId, dateId, floorId, }: {
|
|
78
|
+
projectId: ProjectExid;
|
|
79
|
+
dateId: number;
|
|
80
|
+
floorId: _360FloorId;
|
|
81
|
+
}): Promise<_360Floor>;
|
|
82
|
+
update3DMarkers({ projectId, dateId, floorId, markers, }: {
|
|
83
|
+
projectId: ProjectExid;
|
|
84
|
+
dateId: number;
|
|
85
|
+
floorId: _360FloorId;
|
|
86
|
+
markers: Record<string, _360Marker3D>;
|
|
87
|
+
}): Promise<void>;
|
|
88
|
+
updateFloors({ projectId, dateId, floors, }: {
|
|
89
|
+
projectId: ProjectExid;
|
|
90
|
+
dateId: number;
|
|
91
|
+
floors: _360Scene["floors"];
|
|
92
|
+
}): Promise<void>;
|
|
93
|
+
deleteFloor({ projectId, dateId, floorId, }: {
|
|
94
|
+
projectId: ProjectExid;
|
|
95
|
+
dateId: number;
|
|
96
|
+
floorId: _360FloorId;
|
|
97
|
+
}): Promise<void>;
|
|
98
|
+
updateDates(projectId: ProjectExid, dates: _360Scene[]): Promise<void>;
|
|
99
|
+
updatePins({ projectId, dateId, floorId, pins, }: {
|
|
100
|
+
projectId: ProjectExid;
|
|
101
|
+
dateId: number;
|
|
102
|
+
floorId: _360FloorId;
|
|
103
|
+
pins: Record<string, _360Pin>;
|
|
104
|
+
}): Promise<void>;
|
|
105
|
+
getGPXText(url: string): Promise<string>;
|
|
106
|
+
updateRoute(projectExid: ProjectExid, dateId: string | number, floorIndex: string, body: Partial<_360SceneRoute>): Promise<Partial<_360SceneRoute>>;
|
|
107
|
+
updateFeatureFlag(projectID: string, dateID: string | number, floorID: string, featureFlagName: string, value: boolean): Promise<void>;
|
|
108
|
+
saveSteps(projectID: string, dateID: string, floorID: string, stepsValue: number): Promise<void>;
|
|
109
|
+
getDates({ projectID, prefix, }: {
|
|
110
|
+
projectID: string;
|
|
111
|
+
prefix?: string;
|
|
112
|
+
}): Promise<_360Scene[] | null>;
|
|
113
|
+
getFloorData({ projectID, dateID, floorID, prefix, }: _360FloorRef & {
|
|
114
|
+
prefix?: string;
|
|
115
|
+
}): Promise<_360FloorData>;
|
|
116
|
+
patchFloor({ projectID, dateID, floorID, body, }: _360FloorRef & {
|
|
117
|
+
body: Record<string, unknown>;
|
|
118
|
+
}): Promise<Record<string, unknown>>;
|
|
119
|
+
deleteMarkers({ projectID, dateID, floorID }: _360FloorRef): Promise<void>;
|
|
120
|
+
patchMarkers({ projectID, dateID, floorID, markers, }: _360FloorRef & {
|
|
121
|
+
markers: Record<string, unknown>;
|
|
122
|
+
}): Promise<Record<string, unknown>>;
|
|
123
|
+
putMarkers({ projectID, dateID, floorID, markers, }: _360FloorRef & {
|
|
124
|
+
markers: Record<string, unknown>;
|
|
125
|
+
}): Promise<any>;
|
|
126
|
+
putFloors({ projectID, dateID, floors, }: {
|
|
127
|
+
projectID: string;
|
|
128
|
+
dateID: string | number;
|
|
129
|
+
floors: unknown[];
|
|
130
|
+
}): Promise<unknown[]>;
|
|
131
|
+
deleteFloorData({ projectID, dateID, floorID, }: _360FloorRef): Promise<void>;
|
|
132
|
+
putDates({ projectID, dates, }: {
|
|
133
|
+
projectID: string;
|
|
134
|
+
dates: _360Scene[];
|
|
135
|
+
}): Promise<_360Scene[]>;
|
|
136
|
+
deleteDate({ projectID, dateID, }: {
|
|
137
|
+
projectID: string;
|
|
138
|
+
dateID: string | number;
|
|
139
|
+
}): Promise<void>;
|
|
140
|
+
getPins({ projectID, dateID, floorID, }: _360FloorRef): Promise<Record<string, _360PinData> | null>;
|
|
141
|
+
putPins({ projectID, dateID, floorID, pins, }: _360FloorRef & {
|
|
142
|
+
pins: Record<string, _360PinData>;
|
|
143
|
+
}): Promise<Record<string, _360PinData> | null>;
|
|
144
|
+
patchCalibrationDetails({ projectID, dateID, floorID, details, }: _360FloorRef & {
|
|
145
|
+
details: Partial<_360CalibrationDetails>;
|
|
146
|
+
}): Promise<Partial<_360CalibrationDetails>>;
|
|
147
|
+
getDateWalks(projectExid: ProjectExid, dateId: string): Promise<Record<string, unknown> | null>;
|
|
148
|
+
getRoute({ projectID, dateID, floorID, }: _360FloorRef): Promise<_360Route | null>;
|
|
149
|
+
deleteRoute({ projectID, dateID, floorID }: _360FloorRef): Promise<void>;
|
|
150
|
+
getAerialShotDate({ projectID, dateID, }: {
|
|
151
|
+
projectID: string;
|
|
152
|
+
dateID: string;
|
|
153
|
+
}): Promise<string>;
|
|
154
|
+
updateGPXFile(projectExid: ProjectExid, dateId: string, floorIndex: string, gpxContent: string): Promise<void>;
|
|
155
|
+
getProjectDates(projectId: ProjectExid): Promise<_360Scene[]>;
|
|
156
|
+
getProjectAerialShotsDates(projectId: ProjectExid): Promise<_360Scene[]>;
|
|
157
|
+
getProjectDateFloors({ projectId, dateId, prefix, }: {
|
|
158
|
+
projectId: ProjectExid;
|
|
159
|
+
dateId: string | number;
|
|
160
|
+
prefix?: string;
|
|
161
|
+
}): Promise<_360Walk>;
|
|
162
|
+
getFloorMarkers({ projectId, dateId, floorId, prefix, }: {
|
|
163
|
+
projectId: ProjectExid;
|
|
164
|
+
dateId: string | number;
|
|
165
|
+
floorId: _360FloorId;
|
|
166
|
+
prefix?: string;
|
|
167
|
+
}): Promise<_360Marker3D[] | Record<string, _360Marker3D> | null>;
|
|
23
168
|
};
|
|
24
169
|
forge: {
|
|
25
|
-
|
|
170
|
+
getAccessToken(): Promise<{
|
|
171
|
+
access_token: string;
|
|
172
|
+
}>;
|
|
173
|
+
getProjectInfo(projectExid: ProjectExid): Promise<ForgeProjectData | null>;
|
|
174
|
+
getUrns(projectExid: ProjectExid): Promise<ForgeUrn[] | null>;
|
|
175
|
+
saveModelView({ projectId, modelIndex, viewId, view, }: {
|
|
176
|
+
projectId: ProjectExid;
|
|
177
|
+
modelIndex: number;
|
|
178
|
+
viewId: string;
|
|
179
|
+
view: ForgeView;
|
|
180
|
+
}): Promise<void>;
|
|
181
|
+
saveModelId({ projectId, modelIndex, id, }: {
|
|
182
|
+
projectId: ProjectExid;
|
|
183
|
+
modelIndex: number;
|
|
184
|
+
id: string;
|
|
185
|
+
}): Promise<void>;
|
|
186
|
+
patchCameraMarkers(projectId: ProjectExid, markers: Record<string, ForgeMarker | null>): Promise<void>;
|
|
187
|
+
patchCameraMarkerNames(projectId: ProjectExid, names: Record<string, string>): Promise<void>;
|
|
188
|
+
};
|
|
189
|
+
itwin: {
|
|
190
|
+
getProjectInfo(projectId: string): Promise<ItwinProjectData | null>;
|
|
191
|
+
clearBimCompare(projectId: string): Promise<void>;
|
|
192
|
+
clearSiteView(projectId: string, modelIndex: number): Promise<void>;
|
|
193
|
+
};
|
|
194
|
+
siteView: {
|
|
195
|
+
getCamerasList(): Promise<SiteViewCameraListItem[]>;
|
|
196
|
+
updateCamerasList(items: Record<number, SiteViewCameraListItem>): Promise<void>;
|
|
197
|
+
updateCamerasListItem(trueIndex: number, item: SiteViewCameraListItem): Promise<void>;
|
|
198
|
+
updateProjectData({ viewerType, projectId, data, }: {
|
|
199
|
+
viewerType: SiteViewerType;
|
|
200
|
+
projectId: ProjectExid;
|
|
201
|
+
data: ForgeProjectData | ItwinProjectData | DroneProjectDataPatch;
|
|
202
|
+
}): Promise<void>;
|
|
203
|
+
deleteProjectData(viewerType: SiteViewerType, projectId: ProjectExid): Promise<void>;
|
|
204
|
+
readAllData(dbLink: string): Promise<Record<string, unknown>>;
|
|
205
|
+
writeAllData(dbLink: string, data: Record<string, unknown>): Promise<void>;
|
|
206
|
+
};
|
|
207
|
+
map: {
|
|
208
|
+
getMapViews(projectExid: ProjectExid): Promise<MapView[]>;
|
|
209
|
+
updateMapViews(projectExid: ProjectExid, mapViews: Record<string, MapView>): Promise<void>;
|
|
210
|
+
};
|
|
211
|
+
safety: {
|
|
212
|
+
getTPulseLink(projectExid: ProjectExid): Promise<{
|
|
213
|
+
link?: string;
|
|
214
|
+
} | null>;
|
|
215
|
+
updateTPulseLink(projectExid: ProjectExid, link: string): Promise<void>;
|
|
216
|
+
};
|
|
217
|
+
planner: {
|
|
218
|
+
getPlannerList(): Promise<Record<string, PlannerListItem>>;
|
|
219
|
+
getPlannerItem(sitePlanId: string): Promise<PlannerListItem | null>;
|
|
220
|
+
saveSitePlanMetaData(sitePlanId: string, payload: PlannerListItem): Promise<void>;
|
|
221
|
+
getSitePlan(sitePlanId: string): Promise<SitePlan | null>;
|
|
222
|
+
saveSitePlan(sitePlanId: string, payload: SitePlan): Promise<void>;
|
|
26
223
|
};
|
|
27
224
|
};
|