@evercam/api 1.0.0-7f2a06308 → 1.0.0-802693295
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 +151 -119
- package/dist/api/api/aiApi.d.ts +184 -57
- package/dist/api/api/authzApi.d.ts +26 -16
- package/dist/api/api/client/axios.d.ts +1 -1
- package/dist/api/api/client/swr/Swr.d.ts +1 -1
- package/dist/api/api/evercamApi.d.ts +153 -95
- package/dist/api/api/evercamLabsApi.d.ts +10 -19
- package/dist/api/api/exNvrApi.d.ts +2 -2
- package/dist/api/api/index.d.ts +1 -0
- package/dist/api/api/ingestApi.d.ts +132 -58
- package/dist/api/api/ptzApi.d.ts +9 -4
- package/dist/api/api/reportsApi.d.ts +15 -0
- package/dist/api/api/videoWallApi.d.ts +2 -2
- package/dist/api/api/weatherApi.d.ts +2 -2
- package/dist/api/types/360.d.ts +182 -88
- package/dist/api/types/aconex.d.ts +9 -9
- package/dist/api/types/admin.d.ts +85 -0
- package/dist/api/types/aiConfigs.d.ts +244 -0
- package/dist/api/types/analytics.d.ts +162 -74
- package/dist/api/types/anpr.d.ts +49 -2
- 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 +115 -6
- package/dist/api/types/autodesk.d.ts +7 -7
- package/dist/api/types/automation.d.ts +65 -3
- package/dist/api/types/axios.d.ts +20 -15
- package/dist/api/types/bim.d.ts +65 -16
- package/dist/api/types/camera.d.ts +316 -193
- package/dist/api/types/comments.d.ts +68 -31
- package/dist/api/types/company.d.ts +53 -6
- package/dist/api/types/compare.d.ts +21 -6
- package/dist/api/types/connector.d.ts +5 -5
- package/dist/api/types/coolify.d.ts +18 -2
- package/dist/api/types/detections.d.ts +26 -18
- 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 +48 -69
- 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 +27 -2
- package/dist/api/types/index.d.ts +17 -3
- package/dist/api/types/ingest.d.ts +280 -17
- package/dist/api/types/kit.d.ts +108 -121
- package/dist/api/types/map.d.ts +12 -0
- package/dist/api/types/media.d.ts +33 -4
- package/dist/api/types/notification.d.ts +83 -3
- package/dist/api/types/nvr.d.ts +39 -8
- package/dist/api/types/oauth.d.ts +62 -0
- 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 +98 -8
- package/dist/api/types/posthog.d.ts +71 -0
- package/dist/api/types/procore.d.ts +13 -6
- package/dist/api/types/progressPhoto.d.ts +42 -25
- package/dist/api/types/project.d.ts +153 -33
- package/dist/api/types/recording.d.ts +9 -15
- package/dist/api/types/recycleBin.d.ts +9 -3
- package/dist/api/types/reports.d.ts +109 -0
- package/dist/api/types/ring.d.ts +53 -0
- 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 +47 -30
- package/dist/api/types/shares.d.ts +1 -14
- package/dist/api/types/sim.d.ts +23 -11
- package/dist/api/types/siteAnalytics.d.ts +81 -43
- package/dist/api/types/siteAnalyticsManagement.d.ts +127 -0
- package/dist/api/types/siteView.d.ts +79 -0
- package/dist/api/types/smartSeach.d.ts +5 -0
- package/dist/api/types/snapshots.d.ts +99 -14
- 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 +30 -0
- package/dist/api/types/storyblok.d.ts +27 -0
- package/dist/api/types/streaming.d.ts +3 -3
- package/dist/api/types/tag.d.ts +1 -1
- package/dist/api/types/time.d.ts +0 -18
- package/dist/api/types/timelapse.d.ts +7 -11
- package/dist/api/types/user.d.ts +139 -54
- package/dist/api/types/videoWall.d.ts +21 -21
- package/dist/api/types/weather.d.ts +75 -11
- package/dist/api/types/widget.d.ts +83 -15
- package/dist/api/types/xweather.d.ts +4 -4
- package/dist/api/utils.d.ts +1 -1
- package/dist/index.js +2483 -972
- 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 +598 -34
- 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 +9 -2
- 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/types/timeline.d.ts +2 -1
- 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 -157
- package/dist/api/types/storageServers.d.ts +0 -4
- package/dist/api/types/vendorModel.d.ts +0 -15
package/dist/api/types/360.d.ts
CHANGED
|
@@ -1,26 +1,35 @@
|
|
|
1
|
-
import { DateType } from "
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { DateType } from "@evercam/api/types/time";
|
|
2
|
+
import { GeoPoint, PaginationParams, Point3D } from "@evercam/api/types/shared";
|
|
3
|
+
export type _360OverlayPosition = {
|
|
4
|
+
northEast: GeoPoint;
|
|
5
|
+
northWest: GeoPoint;
|
|
6
|
+
southEast: GeoPoint;
|
|
7
|
+
southWest: GeoPoint;
|
|
5
8
|
};
|
|
6
|
-
export type
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
export type ForgeViewport = {
|
|
10
|
+
name: string;
|
|
11
|
+
eye: number[];
|
|
12
|
+
target: number[];
|
|
13
|
+
worldUpVector?: number[];
|
|
10
14
|
};
|
|
11
|
-
export type
|
|
12
|
-
|
|
13
|
-
|
|
15
|
+
export type ForgeView = {
|
|
16
|
+
name: string;
|
|
17
|
+
viewport: ForgeViewport;
|
|
18
|
+
timestamp: string;
|
|
14
19
|
};
|
|
15
20
|
export type _360CameraRotation = {
|
|
16
21
|
azimuthAngle: number;
|
|
17
22
|
polarAngle: number;
|
|
18
23
|
};
|
|
24
|
+
export type _360Geolocation = {
|
|
25
|
+
latitude: number;
|
|
26
|
+
longitude: number;
|
|
27
|
+
};
|
|
19
28
|
export type _360Marker3D = {
|
|
20
|
-
cameraPosition:
|
|
29
|
+
cameraPosition: Point3D;
|
|
21
30
|
geolocation: _360Geolocation;
|
|
22
31
|
nextRoomId: _360MakerId;
|
|
23
|
-
position:
|
|
32
|
+
position: Point3D;
|
|
24
33
|
rotation: {
|
|
25
34
|
_order: "XYZ" | string;
|
|
26
35
|
_x: number;
|
|
@@ -35,7 +44,7 @@ export type _360Tag = {
|
|
|
35
44
|
comment: string;
|
|
36
45
|
creationDate: number;
|
|
37
46
|
currentRoom: _360MakerId;
|
|
38
|
-
position:
|
|
47
|
+
position: Point3D;
|
|
39
48
|
cameraRotation: _360CameraRotation;
|
|
40
49
|
};
|
|
41
50
|
export type _360FloorId = string | number;
|
|
@@ -45,8 +54,17 @@ export type _360Floor = {
|
|
|
45
54
|
_3DMarkers: _360Marker3D[];
|
|
46
55
|
cameraRotation: _360CameraRotation;
|
|
47
56
|
fbxModel: string;
|
|
57
|
+
fbxModelHQ?: string;
|
|
58
|
+
pointCloudModelHQ?: string;
|
|
48
59
|
initialMarker: _360MakerId;
|
|
49
60
|
modelViewerFeatureFlag: boolean;
|
|
61
|
+
imagesOnlyFeatureFlag?: boolean;
|
|
62
|
+
forgeBIMFeatureFlag?: boolean;
|
|
63
|
+
isForgeGravityEnabled?: boolean;
|
|
64
|
+
bimHeight?: number;
|
|
65
|
+
initialForgeView?: ForgeView | null;
|
|
66
|
+
enhancedLightFeatureFlag?: boolean;
|
|
67
|
+
calibrationDetails?: Record<string, unknown>;
|
|
50
68
|
route: {
|
|
51
69
|
cameraHeadingOffset: string;
|
|
52
70
|
overlayID: number;
|
|
@@ -54,13 +72,13 @@ export type _360Floor = {
|
|
|
54
72
|
};
|
|
55
73
|
sceneScale: number;
|
|
56
74
|
steps: number;
|
|
57
|
-
tags
|
|
75
|
+
tags?: Record<string, _360Tag>;
|
|
58
76
|
};
|
|
59
77
|
export type _360WalkV2 = {
|
|
60
78
|
archive: string;
|
|
61
79
|
date: string;
|
|
62
80
|
deviceSerial: string | null;
|
|
63
|
-
endPosition:
|
|
81
|
+
endPosition: string | null;
|
|
64
82
|
floor: string;
|
|
65
83
|
floorId: number;
|
|
66
84
|
id: number;
|
|
@@ -75,8 +93,10 @@ export type _360WalkV2 = {
|
|
|
75
93
|
processingStatus: string;
|
|
76
94
|
projectId: string;
|
|
77
95
|
report: string;
|
|
96
|
+
processingLog: string;
|
|
97
|
+
hasSteps?: boolean;
|
|
78
98
|
route: unknown | null;
|
|
79
|
-
startPosition:
|
|
99
|
+
startPosition: string | null;
|
|
80
100
|
tusLinks: unknown | null;
|
|
81
101
|
updatedAt: string;
|
|
82
102
|
uploadedBy: string;
|
|
@@ -92,44 +112,40 @@ export type _360FloorV2 = {
|
|
|
92
112
|
hasOverlay: boolean;
|
|
93
113
|
isCalibrated: boolean;
|
|
94
114
|
createdBy: string | null;
|
|
95
|
-
overlayPosition:
|
|
96
|
-
northEast: {
|
|
97
|
-
lat: number;
|
|
98
|
-
lng: number;
|
|
99
|
-
};
|
|
100
|
-
northWest: {
|
|
101
|
-
lat: number;
|
|
102
|
-
lng: number;
|
|
103
|
-
};
|
|
104
|
-
southEast: {
|
|
105
|
-
lat: number;
|
|
106
|
-
lng: number;
|
|
107
|
-
};
|
|
108
|
-
southWest: {
|
|
109
|
-
lat: number;
|
|
110
|
-
lng: number;
|
|
111
|
-
};
|
|
112
|
-
};
|
|
115
|
+
overlayPosition: _360OverlayPosition;
|
|
113
116
|
insertedAt: string;
|
|
114
117
|
updatedAt: string;
|
|
118
|
+
deletedAt: string | null;
|
|
115
119
|
};
|
|
116
120
|
export type _360Scene = {
|
|
117
121
|
date: string;
|
|
118
|
-
dateID: number;
|
|
122
|
+
dateID: string | number;
|
|
119
123
|
floors: {
|
|
120
124
|
floorID: _360FloorId;
|
|
121
125
|
name: string;
|
|
126
|
+
isValidated?: boolean;
|
|
122
127
|
}[];
|
|
123
128
|
polarAngle: number;
|
|
124
129
|
azimuthAngle: number;
|
|
125
130
|
};
|
|
131
|
+
export declare enum _360PinType {
|
|
132
|
+
Default = "Default"
|
|
133
|
+
}
|
|
134
|
+
export type _360Pin = {
|
|
135
|
+
position: Point3D;
|
|
136
|
+
pinType: _360PinType;
|
|
137
|
+
pinId?: string;
|
|
138
|
+
cameraExid?: string;
|
|
139
|
+
name: string;
|
|
140
|
+
currentRoom?: _360MakerId;
|
|
141
|
+
cameraRotation?: _360CameraRotation;
|
|
142
|
+
};
|
|
126
143
|
export type _360SceneRoute = {
|
|
127
144
|
cameraHeadingOffset?: number;
|
|
128
145
|
overlayID?: number;
|
|
129
146
|
track?: string;
|
|
130
147
|
};
|
|
131
|
-
export type
|
|
132
|
-
dates: _360SceneWithFloors[];
|
|
148
|
+
export type _360ProjectListItem = {
|
|
133
149
|
integrationType: string;
|
|
134
150
|
projectId: string;
|
|
135
151
|
projectName: string;
|
|
@@ -138,32 +154,40 @@ export type _360FullProject = {
|
|
|
138
154
|
providerSuffix: string;
|
|
139
155
|
timeline: string;
|
|
140
156
|
uniqueId: string;
|
|
141
|
-
|
|
142
|
-
export type _360FullFloor = _360Floor & {
|
|
143
|
-
id: _360FloorId;
|
|
144
|
-
name: string;
|
|
145
|
-
};
|
|
146
|
-
export type _360SceneWithFloors = _360Scene & {
|
|
147
|
-
floors: _360FullFloor[];
|
|
157
|
+
requiresValidation?: boolean;
|
|
148
158
|
};
|
|
149
159
|
export type _360ProjectJsonResponse = {
|
|
150
160
|
dates: _360Scene[];
|
|
151
161
|
[key: string]: any;
|
|
152
162
|
};
|
|
153
163
|
export type MobileCaptureSnapshot = {
|
|
154
|
-
id: string;
|
|
164
|
+
id: string | number;
|
|
165
|
+
projectId?: string;
|
|
155
166
|
uploadedBy: string;
|
|
156
167
|
updatedAt: string;
|
|
157
168
|
assetType: string;
|
|
158
169
|
thumbnailUrl: string;
|
|
159
170
|
};
|
|
160
171
|
export declare enum _360UrlParams {
|
|
161
|
-
DateId = "
|
|
172
|
+
DateId = "dateId",
|
|
162
173
|
Date = "date",
|
|
163
174
|
Floor = "floor",
|
|
164
175
|
Marker = "marker",
|
|
165
176
|
PolarAngle = "polarAngle",
|
|
166
|
-
AzimuthAngle = "azimuthAngle"
|
|
177
|
+
AzimuthAngle = "azimuthAngle",
|
|
178
|
+
Zoom = "zoom",
|
|
179
|
+
User = "user",
|
|
180
|
+
ViewerMode = "viewer_mode",
|
|
181
|
+
ProjectId = "projectId",
|
|
182
|
+
Unit = "unit",
|
|
183
|
+
LockDate = "lockDate",
|
|
184
|
+
LockFloor = "lockFloor",
|
|
185
|
+
LockMarker = "lockMarker",
|
|
186
|
+
IsWidget = "isWidget",
|
|
187
|
+
MediaLocked = "mediaLocked",
|
|
188
|
+
Debug = "debug",
|
|
189
|
+
RequiresValidation = "requires_validation",
|
|
190
|
+
CommentId = "comment_id"
|
|
167
191
|
}
|
|
168
192
|
export declare enum _360AssetType {
|
|
169
193
|
Video = "video",
|
|
@@ -171,17 +195,14 @@ export declare enum _360AssetType {
|
|
|
171
195
|
Model = "model",
|
|
172
196
|
Route = "route",
|
|
173
197
|
MobilePhoto = "mobile_photos",
|
|
174
|
-
MobileAudio = "mobile_audios"
|
|
198
|
+
MobileAudio = "mobile_audios",
|
|
199
|
+
Report = "report",
|
|
200
|
+
ProcessingLog = "processing_log"
|
|
175
201
|
}
|
|
176
202
|
export declare enum _360AssetLabel {
|
|
177
203
|
Walks = "walks",
|
|
178
204
|
MobilePhotos = "mobilePhotos"
|
|
179
205
|
}
|
|
180
|
-
export declare enum _360Feature {
|
|
181
|
-
BIM = "BIM",
|
|
182
|
-
Minimap = "Minimap",
|
|
183
|
-
Minimodel = "Minimodel"
|
|
184
|
-
}
|
|
185
206
|
export declare enum _360IntergrationType {
|
|
186
207
|
Evercam = "Evercam",
|
|
187
208
|
Matterport = "Matterport",
|
|
@@ -192,23 +213,23 @@ export declare enum _360IntergrationType {
|
|
|
192
213
|
export declare enum PathMarkerColor {
|
|
193
214
|
Start = "#00e74c",
|
|
194
215
|
End = "#fd7567",
|
|
216
|
+
Anchor = "#ffb300",
|
|
195
217
|
Default = "#2196F3"
|
|
196
218
|
}
|
|
197
|
-
export type _360AssetsQueryParams = {
|
|
198
|
-
|
|
199
|
-
limit: number;
|
|
200
|
-
projectID: string;
|
|
219
|
+
export type _360AssetsQueryParams = PaginationParams & {
|
|
220
|
+
projectId: string;
|
|
201
221
|
date: DateType;
|
|
202
222
|
floor: string;
|
|
223
|
+
name: string;
|
|
203
224
|
id: string;
|
|
204
225
|
};
|
|
205
226
|
export type _360AssetsRequestPayload = {
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
227
|
+
date?: DateType;
|
|
228
|
+
name?: string;
|
|
229
|
+
drawingId?: _360FloorId;
|
|
209
230
|
uploadedBy?: string;
|
|
210
231
|
};
|
|
211
|
-
export type DrawingsRequestPayload = {
|
|
232
|
+
export type DrawingsRequestPayload = PaginationParams & {
|
|
212
233
|
projectId?: string;
|
|
213
234
|
name?: string;
|
|
214
235
|
changedBy?: string;
|
|
@@ -216,9 +237,9 @@ export type DrawingsRequestPayload = {
|
|
|
216
237
|
startDate?: string;
|
|
217
238
|
endDate?: string;
|
|
218
239
|
id?: number;
|
|
219
|
-
page?: number;
|
|
220
|
-
limit?: number;
|
|
221
240
|
paginate?: boolean;
|
|
241
|
+
withAsset?: boolean;
|
|
242
|
+
includeDeleted?: boolean;
|
|
222
243
|
};
|
|
223
244
|
export type GenerateFloorPayload = {
|
|
224
245
|
overlay?: {
|
|
@@ -226,27 +247,11 @@ export type GenerateFloorPayload = {
|
|
|
226
247
|
title: string;
|
|
227
248
|
fileExtension: string;
|
|
228
249
|
};
|
|
229
|
-
changedBy
|
|
250
|
+
changedBy?: string;
|
|
230
251
|
name?: string;
|
|
231
252
|
mapStyle?: string;
|
|
232
|
-
overlayPositionCorners
|
|
233
|
-
|
|
234
|
-
lat: number;
|
|
235
|
-
lng: number;
|
|
236
|
-
};
|
|
237
|
-
northWest: {
|
|
238
|
-
lat: number;
|
|
239
|
-
lng: number;
|
|
240
|
-
};
|
|
241
|
-
southWest: {
|
|
242
|
-
lat: number;
|
|
243
|
-
lng: number;
|
|
244
|
-
};
|
|
245
|
-
southEast: {
|
|
246
|
-
lat: number;
|
|
247
|
-
lng: number;
|
|
248
|
-
};
|
|
249
|
-
};
|
|
253
|
+
overlayPositionCorners?: _360OverlayPosition;
|
|
254
|
+
isCalibrated?: boolean;
|
|
250
255
|
};
|
|
251
256
|
export type _360QueueQueryParams = {
|
|
252
257
|
projectId?: string;
|
|
@@ -259,16 +264,105 @@ export type _360AssetsUploadPayload = {
|
|
|
259
264
|
title: string;
|
|
260
265
|
fileExtension: string;
|
|
261
266
|
}[];
|
|
262
|
-
deviceSerial
|
|
263
|
-
startPosition
|
|
264
|
-
endPosition
|
|
267
|
+
deviceSerial?: string;
|
|
268
|
+
startPosition?: string;
|
|
269
|
+
endPosition?: string;
|
|
265
270
|
isTimelapse: boolean;
|
|
266
271
|
isImagesOnly: boolean;
|
|
267
272
|
};
|
|
268
273
|
export type Generate360MapRequestPayload = {
|
|
269
|
-
dateId: string;
|
|
274
|
+
dateId: string | number;
|
|
270
275
|
floorId: string;
|
|
271
|
-
cameraOffset: string;
|
|
276
|
+
cameraOffset: string | number;
|
|
272
277
|
startPoint: string;
|
|
273
278
|
endPoint: string;
|
|
279
|
+
drawingId?: number;
|
|
280
|
+
markers?: Array<{
|
|
281
|
+
position: {
|
|
282
|
+
x: number;
|
|
283
|
+
y: number;
|
|
284
|
+
z: number;
|
|
285
|
+
};
|
|
286
|
+
}>;
|
|
287
|
+
startPointIndex?: number;
|
|
288
|
+
endPointIndex?: number;
|
|
289
|
+
};
|
|
290
|
+
export declare enum EModelsType {
|
|
291
|
+
FBX = "FBX",
|
|
292
|
+
PointCloud = "PLY"
|
|
293
|
+
}
|
|
294
|
+
export type _360FloorRef = {
|
|
295
|
+
projectID: string;
|
|
296
|
+
dateID: string | number;
|
|
297
|
+
floorID: _360FloorId;
|
|
298
|
+
};
|
|
299
|
+
export type _360Vector3 = {
|
|
300
|
+
x: number;
|
|
301
|
+
y: number;
|
|
302
|
+
z: number;
|
|
303
|
+
};
|
|
304
|
+
export type _360MarkerData = {
|
|
305
|
+
cameraPosition: _360Vector3;
|
|
306
|
+
nextRoomId: string;
|
|
307
|
+
position: _360Vector3;
|
|
308
|
+
geolocation?: {
|
|
309
|
+
latitude: number;
|
|
310
|
+
longitude: number;
|
|
311
|
+
};
|
|
312
|
+
rotation: {
|
|
313
|
+
_order: string;
|
|
314
|
+
_x: number;
|
|
315
|
+
_y: number;
|
|
316
|
+
_z: number;
|
|
317
|
+
isEuler: boolean;
|
|
318
|
+
x?: number;
|
|
319
|
+
y?: number;
|
|
320
|
+
z?: number;
|
|
321
|
+
};
|
|
322
|
+
};
|
|
323
|
+
export type _360Route = {
|
|
324
|
+
overlayID?: number;
|
|
325
|
+
track?: string;
|
|
326
|
+
cameraHeadingOffset?: number;
|
|
327
|
+
};
|
|
328
|
+
export type _360CalibrationDetails = {
|
|
329
|
+
baseOriginOf360Viewer?: _360Vector3;
|
|
330
|
+
baseOriginOfForgeViewer?: _360Vector3;
|
|
331
|
+
rotationMatrix?: {
|
|
332
|
+
elements: number[];
|
|
333
|
+
};
|
|
334
|
+
scaleMatrix?: {
|
|
335
|
+
elements: number[];
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
export type _360FloorData = {
|
|
339
|
+
_3DMarkers: _360MarkerData[];
|
|
340
|
+
fbxModel: string | null;
|
|
341
|
+
fbxModelHQ: string | null;
|
|
342
|
+
pointCloudModelHQ: string | null;
|
|
343
|
+
initialMarker: string;
|
|
344
|
+
cameraRotation: _360CameraRotation;
|
|
345
|
+
steps: number;
|
|
346
|
+
route: _360Route | null;
|
|
347
|
+
sceneScale: number;
|
|
348
|
+
modelViewerFeatureFlag: boolean;
|
|
349
|
+
imagesOnlyFeatureFlag: boolean;
|
|
350
|
+
forgeBIMFeatureFlag: boolean;
|
|
351
|
+
isForgeGravityEnabled: boolean;
|
|
352
|
+
bimHeight?: number | null;
|
|
353
|
+
initialForgeView: ForgeView | null;
|
|
354
|
+
calibrationDetails: _360CalibrationDetails;
|
|
355
|
+
enhancedLightFeatureFlag: boolean;
|
|
356
|
+
};
|
|
357
|
+
export type _360PinData = {
|
|
358
|
+
position: _360Vector3;
|
|
359
|
+
pinType: string;
|
|
360
|
+
name: string;
|
|
361
|
+
pinId?: string;
|
|
362
|
+
cameraExid?: string;
|
|
363
|
+
currentRoom?: string;
|
|
364
|
+
cameraRotation?: {
|
|
365
|
+
polarAngle: number;
|
|
366
|
+
azimuthAngle: number;
|
|
367
|
+
};
|
|
274
368
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type AconexUserProject = {
|
|
2
2
|
id: number;
|
|
3
3
|
name: string;
|
|
4
4
|
shortName: string;
|
|
@@ -6,8 +6,8 @@ export type AconexUserProjectsResponsePayload = Array<{
|
|
|
6
6
|
endDate: string;
|
|
7
7
|
active: boolean;
|
|
8
8
|
hidden: boolean;
|
|
9
|
-
}
|
|
10
|
-
export type
|
|
9
|
+
};
|
|
10
|
+
export type AconexDocumentSchema = {
|
|
11
11
|
dataType: AconexDocumentDataType;
|
|
12
12
|
identifier: AconexIdentifiers;
|
|
13
13
|
fieldName: string;
|
|
@@ -17,18 +17,18 @@ export type AconexDocumentSchemaResponsePayload = Array<{
|
|
|
17
17
|
id: string;
|
|
18
18
|
value: string;
|
|
19
19
|
}>;
|
|
20
|
-
}
|
|
21
|
-
export type
|
|
20
|
+
};
|
|
21
|
+
export type AconexDocumentTypeSchema = {
|
|
22
22
|
dataType: AconexDocumentDataType;
|
|
23
|
-
identifier:
|
|
23
|
+
identifier: AconexIdentifiers;
|
|
24
24
|
fieldName: string;
|
|
25
25
|
modifiedFieldName?: string;
|
|
26
|
-
mandatoryStatus:
|
|
26
|
+
mandatoryStatus: AconexMandatoryStatus;
|
|
27
27
|
specifications?: Array<AconexFieldSpecification>;
|
|
28
|
-
}
|
|
28
|
+
};
|
|
29
29
|
export type AconexDocumentSchemaField = {
|
|
30
30
|
dataType: AconexDocumentDataType;
|
|
31
|
-
identifier: AconexIdentifiers
|
|
31
|
+
identifier: AconexIdentifiers;
|
|
32
32
|
schemaValues?: Array<{
|
|
33
33
|
id: string;
|
|
34
34
|
value: string;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import type { JsonObject, NvrDeviceType, NvrModel } from "@evercam/api/types";
|
|
2
|
+
export type WithZohoParams = {
|
|
3
|
+
with_zoho?: boolean;
|
|
4
|
+
};
|
|
5
|
+
export type AdminSearchProjectItem = {
|
|
6
|
+
id: number;
|
|
7
|
+
name: string;
|
|
8
|
+
status: string;
|
|
9
|
+
exid: string;
|
|
10
|
+
featureFlags: string[];
|
|
11
|
+
};
|
|
12
|
+
export type AdminSearchCameraItem = {
|
|
13
|
+
id: number;
|
|
14
|
+
exid: string;
|
|
15
|
+
name: string;
|
|
16
|
+
apiId: string;
|
|
17
|
+
apiKey: string;
|
|
18
|
+
email: string;
|
|
19
|
+
projectId: string;
|
|
20
|
+
projectFeatureFlags: string[];
|
|
21
|
+
};
|
|
22
|
+
export type AdminSearchUserItem = {
|
|
23
|
+
id: number;
|
|
24
|
+
firstname: string;
|
|
25
|
+
lastname: string;
|
|
26
|
+
name: string;
|
|
27
|
+
email: string;
|
|
28
|
+
apiId: string;
|
|
29
|
+
apiKey: string;
|
|
30
|
+
companyId: number;
|
|
31
|
+
roles: string[];
|
|
32
|
+
};
|
|
33
|
+
export type AdminSearchNvrItem = {
|
|
34
|
+
id: number;
|
|
35
|
+
serial: string;
|
|
36
|
+
deviceType: NvrDeviceType;
|
|
37
|
+
model: NvrModel;
|
|
38
|
+
macAddress: string;
|
|
39
|
+
username: string;
|
|
40
|
+
password: string;
|
|
41
|
+
scheme: string;
|
|
42
|
+
host: string;
|
|
43
|
+
httpPort: number;
|
|
44
|
+
rtspPort: number;
|
|
45
|
+
};
|
|
46
|
+
export type AdminSearchItem = AdminSearchProjectItem | AdminSearchCameraItem | AdminSearchUserItem | AdminSearchNvrItem;
|
|
47
|
+
export type AdminInviteRole = {
|
|
48
|
+
id: number;
|
|
49
|
+
name: string;
|
|
50
|
+
resourceType: string;
|
|
51
|
+
};
|
|
52
|
+
export type AdminInviteAssigner = {
|
|
53
|
+
id: number;
|
|
54
|
+
email: string;
|
|
55
|
+
fullname: string;
|
|
56
|
+
};
|
|
57
|
+
export type AdminInviteAuthContextSubRole = {
|
|
58
|
+
resourceId: string;
|
|
59
|
+
roleId: number;
|
|
60
|
+
};
|
|
61
|
+
export type AdminInviteAuthContext = {
|
|
62
|
+
permissions: string[] | null;
|
|
63
|
+
subRoles: AdminInviteAuthContextSubRole[];
|
|
64
|
+
hasOverride: boolean;
|
|
65
|
+
};
|
|
66
|
+
export type AdminInvite = {
|
|
67
|
+
id: number;
|
|
68
|
+
message: string | null;
|
|
69
|
+
status: number;
|
|
70
|
+
email: string;
|
|
71
|
+
key: string;
|
|
72
|
+
updatedAt: string;
|
|
73
|
+
role: AdminInviteRole;
|
|
74
|
+
createdAt: string;
|
|
75
|
+
resourceId: string;
|
|
76
|
+
assigner: AdminInviteAssigner;
|
|
77
|
+
sentCount: number;
|
|
78
|
+
lastSentAt: string | null;
|
|
79
|
+
authContext: AdminInviteAuthContext;
|
|
80
|
+
statusName: string;
|
|
81
|
+
};
|
|
82
|
+
export type ZohoDeskTicketSearchResponse = {
|
|
83
|
+
data: JsonObject[];
|
|
84
|
+
count: number;
|
|
85
|
+
};
|