@evercam/api 1.0.0-65148cdee → 1.0.0-6579824b6
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 +216 -13
- package/dist/api/api/adminApi.d.ts +123 -102
- package/dist/api/api/aiApi.d.ts +182 -86
- package/dist/api/api/authzApi.d.ts +34 -15
- package/dist/api/api/client/axios.d.ts +2 -1
- package/dist/api/api/client/swr/Swr.d.ts +1 -1
- package/dist/api/api/evercamApi.d.ts +160 -114
- package/dist/api/api/evercamLabsApi.d.ts +6 -16
- 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 +132 -57
- package/dist/api/api/ptzApi.d.ts +12 -3
- 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 +269 -45
- package/dist/api/types/aconex.d.ts +9 -9
- package/dist/api/types/admin.d.ts +51 -0
- package/dist/api/types/aiConfigs.d.ts +244 -0
- package/dist/api/types/analytics.d.ts +162 -76
- package/dist/api/types/anpr.d.ts +48 -2
- package/dist/api/types/apiKey.d.ts +70 -0
- package/dist/api/types/auditLogs.d.ts +163 -20
- package/dist/api/types/authz.d.ts +132 -0
- 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 -14
- package/dist/api/types/bim.d.ts +39 -10
- package/dist/api/types/camera.d.ts +134 -126
- package/dist/api/types/comments.d.ts +16 -11
- package/dist/api/types/company.d.ts +43 -3
- 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/credentials.d.ts +1 -0
- package/dist/api/types/detections.d.ts +23 -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 +18 -2
- package/dist/api/types/gateReport.d.ts +49 -168
- 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 +26 -1
- package/dist/api/types/index.d.ts +18 -3
- package/dist/api/types/ingest.d.ts +280 -17
- package/dist/api/types/kit.d.ts +72 -103
- package/dist/api/types/map.d.ts +12 -0
- package/dist/api/types/media.d.ts +9 -3
- package/dist/api/types/notification.d.ts +83 -3
- package/dist/api/types/nvr.d.ts +8 -8
- package/dist/api/types/oauth.d.ts +62 -0
- package/dist/api/types/observationEvents.d.ts +141 -0
- package/dist/api/types/observations.d.ts +89 -0
- package/dist/api/types/planner.d.ts +102 -9
- package/dist/api/types/posthog.d.ts +35 -0
- package/dist/api/types/procore.d.ts +13 -6
- package/dist/api/types/progressPhoto.d.ts +6 -2
- package/dist/api/types/project.d.ts +149 -22
- package/dist/api/types/recording.d.ts +10 -15
- package/dist/api/types/recycleBin.d.ts +1 -1
- package/dist/api/types/reports.d.ts +108 -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 +20 -1
- package/dist/api/types/shared.d.ts +42 -25
- package/dist/api/types/shares.d.ts +6 -157
- package/dist/api/types/sim.d.ts +6 -6
- package/dist/api/types/siteAnalytics.d.ts +169 -47
- package/dist/api/types/siteAnalyticsManagement.d.ts +127 -0
- package/dist/api/types/siteView.d.ts +78 -0
- package/dist/api/types/smartSeach.d.ts +5 -0
- package/dist/api/types/snapshots.d.ts +49 -4
- package/dist/api/types/socket.d.ts +4 -0
- package/dist/api/types/storageProvider.d.ts +19 -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 +134 -35
- 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 +71 -12
- package/dist/api/types/xweather.d.ts +4 -4
- package/dist/api/utils.d.ts +1 -1
- package/dist/index.js +2589 -1113
- 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 +403 -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 +10 -3
- 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,36 +1,193 @@
|
|
|
1
|
-
import { DateType } from "
|
|
2
|
-
|
|
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;
|
|
8
|
+
};
|
|
9
|
+
export type ForgeViewport = {
|
|
10
|
+
name: string;
|
|
11
|
+
eye: number[];
|
|
12
|
+
target: number[];
|
|
13
|
+
worldUpVector?: number[];
|
|
14
|
+
};
|
|
15
|
+
export type ForgeView = {
|
|
16
|
+
name: string;
|
|
17
|
+
viewport: ForgeViewport;
|
|
18
|
+
timestamp: string;
|
|
19
|
+
};
|
|
20
|
+
export type _360CameraRotation = {
|
|
3
21
|
azimuthAngle: number;
|
|
4
22
|
polarAngle: number;
|
|
5
23
|
};
|
|
24
|
+
export type _360Geolocation = {
|
|
25
|
+
latitude: number;
|
|
26
|
+
longitude: number;
|
|
27
|
+
};
|
|
28
|
+
export type _360Marker3D = {
|
|
29
|
+
cameraPosition: Point3D;
|
|
30
|
+
geolocation: _360Geolocation;
|
|
31
|
+
nextRoomId: _360MakerId;
|
|
32
|
+
position: Point3D;
|
|
33
|
+
rotation: {
|
|
34
|
+
_order: "XYZ" | string;
|
|
35
|
+
_x: number;
|
|
36
|
+
_y: number;
|
|
37
|
+
_z: number;
|
|
38
|
+
isEuler: boolean;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export type _360Tag = {
|
|
42
|
+
id: string;
|
|
43
|
+
tagType: string;
|
|
44
|
+
comment: string;
|
|
45
|
+
creationDate: number;
|
|
46
|
+
currentRoom: _360MakerId;
|
|
47
|
+
position: Point3D;
|
|
48
|
+
cameraRotation: _360CameraRotation;
|
|
49
|
+
};
|
|
50
|
+
export type _360FloorId = string | number;
|
|
51
|
+
export type _360Walk = Record<_360FloorId, _360Floor>;
|
|
52
|
+
export type _360MakerId = string;
|
|
6
53
|
export type _360Floor = {
|
|
7
|
-
|
|
54
|
+
_3DMarkers: _360Marker3D[];
|
|
55
|
+
cameraRotation: _360CameraRotation;
|
|
56
|
+
fbxModel: string;
|
|
57
|
+
fbxModelHQ?: string;
|
|
58
|
+
pointCloudModelHQ?: string;
|
|
59
|
+
initialMarker: _360MakerId;
|
|
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>;
|
|
68
|
+
route: {
|
|
69
|
+
cameraHeadingOffset: string;
|
|
70
|
+
overlayID: number;
|
|
71
|
+
track: string;
|
|
72
|
+
};
|
|
73
|
+
sceneScale: number;
|
|
74
|
+
steps: number;
|
|
75
|
+
tags?: Record<string, _360Tag>;
|
|
76
|
+
};
|
|
77
|
+
export type _360WalkV2 = {
|
|
78
|
+
archive: string;
|
|
79
|
+
date: string;
|
|
80
|
+
deviceSerial: string | null;
|
|
81
|
+
endPosition: string | null;
|
|
82
|
+
floor: string;
|
|
83
|
+
floorId: number;
|
|
84
|
+
id: number;
|
|
85
|
+
images: string[];
|
|
86
|
+
insertedAt: string;
|
|
87
|
+
mobileAudios: string[];
|
|
88
|
+
mobileAudiosArchive: string;
|
|
89
|
+
mobilePhotos: string[];
|
|
90
|
+
mobilePhotosArchive: string;
|
|
91
|
+
model: string;
|
|
8
92
|
name: string;
|
|
93
|
+
processingStatus: string;
|
|
94
|
+
projectId: string;
|
|
95
|
+
report: string;
|
|
96
|
+
processingLog: string;
|
|
97
|
+
hasSteps?: boolean;
|
|
98
|
+
route: unknown | null;
|
|
99
|
+
startPosition: string | null;
|
|
100
|
+
tusLinks: unknown | null;
|
|
101
|
+
updatedAt: string;
|
|
102
|
+
uploadedBy: string;
|
|
103
|
+
videoArchive: string;
|
|
104
|
+
videos: string[];
|
|
105
|
+
};
|
|
106
|
+
export type _360FloorV2 = {
|
|
107
|
+
id: _360FloorId;
|
|
108
|
+
assets: _360WalkV2[];
|
|
109
|
+
projectId: string;
|
|
110
|
+
name: string;
|
|
111
|
+
mapStyle: string;
|
|
112
|
+
hasOverlay: boolean;
|
|
113
|
+
isCalibrated: boolean;
|
|
114
|
+
createdBy: string | null;
|
|
115
|
+
overlayPosition: _360OverlayPosition;
|
|
116
|
+
insertedAt: string;
|
|
117
|
+
updatedAt: string;
|
|
118
|
+
deletedAt: string | null;
|
|
9
119
|
};
|
|
10
120
|
export type _360Scene = {
|
|
11
121
|
date: string;
|
|
12
|
-
dateID: string;
|
|
13
|
-
floors:
|
|
122
|
+
dateID: string | number;
|
|
123
|
+
floors: {
|
|
124
|
+
floorID: _360FloorId;
|
|
125
|
+
name: string;
|
|
126
|
+
isValidated?: boolean;
|
|
127
|
+
}[];
|
|
14
128
|
polarAngle: number;
|
|
15
129
|
azimuthAngle: number;
|
|
16
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
|
+
};
|
|
143
|
+
export type _360SceneRoute = {
|
|
144
|
+
cameraHeadingOffset?: number;
|
|
145
|
+
overlayID?: number;
|
|
146
|
+
track?: string;
|
|
147
|
+
};
|
|
148
|
+
export type _360ProjectListItem = {
|
|
149
|
+
integrationType: string;
|
|
150
|
+
projectId: string;
|
|
151
|
+
projectName: string;
|
|
152
|
+
providerID: string;
|
|
153
|
+
providerPrefix: string;
|
|
154
|
+
providerSuffix: string;
|
|
155
|
+
timeline: string;
|
|
156
|
+
uniqueId: string;
|
|
157
|
+
requiresValidation?: boolean;
|
|
158
|
+
};
|
|
17
159
|
export type _360ProjectJsonResponse = {
|
|
18
160
|
dates: _360Scene[];
|
|
19
161
|
[key: string]: any;
|
|
20
162
|
};
|
|
21
163
|
export type MobileCaptureSnapshot = {
|
|
22
|
-
id: string;
|
|
164
|
+
id: string | number;
|
|
165
|
+
projectId?: string;
|
|
23
166
|
uploadedBy: string;
|
|
24
167
|
updatedAt: string;
|
|
25
168
|
assetType: string;
|
|
26
169
|
thumbnailUrl: string;
|
|
27
170
|
};
|
|
28
171
|
export declare enum _360UrlParams {
|
|
29
|
-
DateId = "
|
|
172
|
+
DateId = "dateId",
|
|
173
|
+
Date = "date",
|
|
30
174
|
Floor = "floor",
|
|
31
175
|
Marker = "marker",
|
|
32
176
|
PolarAngle = "polarAngle",
|
|
33
|
-
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"
|
|
34
191
|
}
|
|
35
192
|
export declare enum _360AssetType {
|
|
36
193
|
Video = "video",
|
|
@@ -44,11 +201,6 @@ export declare enum _360AssetLabel {
|
|
|
44
201
|
Walks = "walks",
|
|
45
202
|
MobilePhotos = "mobilePhotos"
|
|
46
203
|
}
|
|
47
|
-
export declare enum _360Feature {
|
|
48
|
-
BIM = "BIM",
|
|
49
|
-
Minimap = "Minimap",
|
|
50
|
-
Minimodel = "Minimodel"
|
|
51
|
-
}
|
|
52
204
|
export declare enum _360IntergrationType {
|
|
53
205
|
Evercam = "Evercam",
|
|
54
206
|
Matterport = "Matterport",
|
|
@@ -59,14 +211,14 @@ export declare enum _360IntergrationType {
|
|
|
59
211
|
export declare enum PathMarkerColor {
|
|
60
212
|
Start = "#00e74c",
|
|
61
213
|
End = "#fd7567",
|
|
214
|
+
Anchor = "#ffb300",
|
|
62
215
|
Default = "#2196F3"
|
|
63
216
|
}
|
|
64
|
-
export type _360AssetsQueryParams = {
|
|
65
|
-
|
|
66
|
-
limit: number;
|
|
67
|
-
projectID: string;
|
|
217
|
+
export type _360AssetsQueryParams = PaginationParams & {
|
|
218
|
+
projectId: string;
|
|
68
219
|
date: DateType;
|
|
69
220
|
floor: string;
|
|
221
|
+
name: string;
|
|
70
222
|
id: string;
|
|
71
223
|
};
|
|
72
224
|
export type _360AssetsRequestPayload = {
|
|
@@ -75,7 +227,7 @@ export type _360AssetsRequestPayload = {
|
|
|
75
227
|
floor: string;
|
|
76
228
|
uploadedBy?: string;
|
|
77
229
|
};
|
|
78
|
-
export type DrawingsRequestPayload = {
|
|
230
|
+
export type DrawingsRequestPayload = PaginationParams & {
|
|
79
231
|
projectId?: string;
|
|
80
232
|
name?: string;
|
|
81
233
|
changedBy?: string;
|
|
@@ -83,9 +235,9 @@ export type DrawingsRequestPayload = {
|
|
|
83
235
|
startDate?: string;
|
|
84
236
|
endDate?: string;
|
|
85
237
|
id?: number;
|
|
86
|
-
page?: number;
|
|
87
|
-
limit?: number;
|
|
88
238
|
paginate?: boolean;
|
|
239
|
+
withAsset?: boolean;
|
|
240
|
+
includeDeleted?: boolean;
|
|
89
241
|
};
|
|
90
242
|
export type GenerateFloorPayload = {
|
|
91
243
|
overlay?: {
|
|
@@ -96,24 +248,7 @@ export type GenerateFloorPayload = {
|
|
|
96
248
|
changedBy: string;
|
|
97
249
|
name?: string;
|
|
98
250
|
mapStyle?: string;
|
|
99
|
-
overlayPositionCorners:
|
|
100
|
-
northEast: {
|
|
101
|
-
lat: number;
|
|
102
|
-
lng: number;
|
|
103
|
-
};
|
|
104
|
-
northWest: {
|
|
105
|
-
lat: number;
|
|
106
|
-
lng: number;
|
|
107
|
-
};
|
|
108
|
-
southWest: {
|
|
109
|
-
lat: number;
|
|
110
|
-
lng: number;
|
|
111
|
-
};
|
|
112
|
-
southEast: {
|
|
113
|
-
lat: number;
|
|
114
|
-
lng: number;
|
|
115
|
-
};
|
|
116
|
-
};
|
|
251
|
+
overlayPositionCorners: _360OverlayPosition;
|
|
117
252
|
};
|
|
118
253
|
export type _360QueueQueryParams = {
|
|
119
254
|
projectId?: string;
|
|
@@ -126,16 +261,105 @@ export type _360AssetsUploadPayload = {
|
|
|
126
261
|
title: string;
|
|
127
262
|
fileExtension: string;
|
|
128
263
|
}[];
|
|
129
|
-
deviceSerial
|
|
130
|
-
startPosition
|
|
131
|
-
endPosition
|
|
132
|
-
isTimelapse
|
|
133
|
-
isImagesOnly
|
|
264
|
+
deviceSerial?: string;
|
|
265
|
+
startPosition?: string;
|
|
266
|
+
endPosition?: string;
|
|
267
|
+
isTimelapse?: boolean;
|
|
268
|
+
isImagesOnly?: boolean;
|
|
134
269
|
};
|
|
135
270
|
export type Generate360MapRequestPayload = {
|
|
136
|
-
dateId: string;
|
|
271
|
+
dateId: string | number;
|
|
137
272
|
floorId: string;
|
|
138
|
-
cameraOffset: string;
|
|
273
|
+
cameraOffset: string | number;
|
|
139
274
|
startPoint: string;
|
|
140
275
|
endPoint: string;
|
|
276
|
+
drawingId?: number;
|
|
277
|
+
markers?: Array<{
|
|
278
|
+
position: {
|
|
279
|
+
x: number;
|
|
280
|
+
y: number;
|
|
281
|
+
z: number;
|
|
282
|
+
};
|
|
283
|
+
}>;
|
|
284
|
+
startPointIndex?: number;
|
|
285
|
+
endPointIndex?: number;
|
|
286
|
+
};
|
|
287
|
+
export declare enum EModelsType {
|
|
288
|
+
FBX = "FBX",
|
|
289
|
+
PointCloud = "PLY"
|
|
290
|
+
}
|
|
291
|
+
export type _360FloorRef = {
|
|
292
|
+
projectID: string;
|
|
293
|
+
dateID: string | number;
|
|
294
|
+
floorID: _360FloorId;
|
|
295
|
+
};
|
|
296
|
+
export type _360Vector3 = {
|
|
297
|
+
x: number;
|
|
298
|
+
y: number;
|
|
299
|
+
z: number;
|
|
300
|
+
};
|
|
301
|
+
export type _360MarkerData = {
|
|
302
|
+
cameraPosition: _360Vector3;
|
|
303
|
+
nextRoomId: string;
|
|
304
|
+
position: _360Vector3;
|
|
305
|
+
geolocation?: {
|
|
306
|
+
latitude: number;
|
|
307
|
+
longitude: number;
|
|
308
|
+
};
|
|
309
|
+
rotation: {
|
|
310
|
+
_order: string;
|
|
311
|
+
_x: number;
|
|
312
|
+
_y: number;
|
|
313
|
+
_z: number;
|
|
314
|
+
isEuler: boolean;
|
|
315
|
+
x?: number;
|
|
316
|
+
y?: number;
|
|
317
|
+
z?: number;
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
export type _360Route = {
|
|
321
|
+
overlayID?: number;
|
|
322
|
+
track?: string;
|
|
323
|
+
cameraHeadingOffset?: number;
|
|
324
|
+
};
|
|
325
|
+
export type _360CalibrationDetails = {
|
|
326
|
+
baseOriginOf360Viewer?: _360Vector3;
|
|
327
|
+
baseOriginOfForgeViewer?: _360Vector3;
|
|
328
|
+
rotationMatrix?: {
|
|
329
|
+
elements: number[];
|
|
330
|
+
};
|
|
331
|
+
scaleMatrix?: {
|
|
332
|
+
elements: number[];
|
|
333
|
+
};
|
|
334
|
+
};
|
|
335
|
+
export type _360FloorData = {
|
|
336
|
+
_3DMarkers: _360MarkerData[];
|
|
337
|
+
fbxModel: string | null;
|
|
338
|
+
fbxModelHQ: string | null;
|
|
339
|
+
pointCloudModelHQ: string | null;
|
|
340
|
+
initialMarker: string;
|
|
341
|
+
cameraRotation: _360CameraRotation;
|
|
342
|
+
steps: number;
|
|
343
|
+
route: _360Route | null;
|
|
344
|
+
sceneScale: number;
|
|
345
|
+
modelViewerFeatureFlag: boolean;
|
|
346
|
+
imagesOnlyFeatureFlag: boolean;
|
|
347
|
+
forgeBIMFeatureFlag: boolean;
|
|
348
|
+
isForgeGravityEnabled: boolean;
|
|
349
|
+
bimHeight?: number | null;
|
|
350
|
+
initialForgeView: ForgeView | null;
|
|
351
|
+
calibrationDetails: _360CalibrationDetails;
|
|
352
|
+
enhancedLightFeatureFlag: boolean;
|
|
353
|
+
};
|
|
354
|
+
export type _360PinData = {
|
|
355
|
+
position: _360Vector3;
|
|
356
|
+
pinType: string;
|
|
357
|
+
name: string;
|
|
358
|
+
pinId?: string;
|
|
359
|
+
cameraExid?: string;
|
|
360
|
+
currentRoom?: string;
|
|
361
|
+
cameraRotation?: {
|
|
362
|
+
polarAngle: number;
|
|
363
|
+
azimuthAngle: number;
|
|
364
|
+
};
|
|
141
365
|
};
|
|
@@ -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,51 @@
|
|
|
1
|
+
import type { JsonObject } 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 AdminSearchItem = AdminSearchProjectItem | JsonObject;
|
|
13
|
+
export type AdminInviteRole = {
|
|
14
|
+
id: number;
|
|
15
|
+
name: string;
|
|
16
|
+
resourceType: string;
|
|
17
|
+
};
|
|
18
|
+
export type AdminInviteAssigner = {
|
|
19
|
+
id: number;
|
|
20
|
+
email: string;
|
|
21
|
+
fullname: string;
|
|
22
|
+
};
|
|
23
|
+
export type AdminInviteAuthContextSubRole = {
|
|
24
|
+
resourceId: string;
|
|
25
|
+
roleId: number;
|
|
26
|
+
};
|
|
27
|
+
export type AdminInviteAuthContext = {
|
|
28
|
+
permissions: string[] | null;
|
|
29
|
+
subRoles: AdminInviteAuthContextSubRole[];
|
|
30
|
+
hasOverride: boolean;
|
|
31
|
+
};
|
|
32
|
+
export type AdminInvite = {
|
|
33
|
+
id: number;
|
|
34
|
+
message: string | null;
|
|
35
|
+
status: number;
|
|
36
|
+
email: string;
|
|
37
|
+
key: string;
|
|
38
|
+
updatedAt: string;
|
|
39
|
+
role: AdminInviteRole;
|
|
40
|
+
createdAt: string;
|
|
41
|
+
resourceId: string;
|
|
42
|
+
assigner: AdminInviteAssigner;
|
|
43
|
+
sentCount: number;
|
|
44
|
+
lastSentAt: string | null;
|
|
45
|
+
authContext: AdminInviteAuthContext;
|
|
46
|
+
statusName: string;
|
|
47
|
+
};
|
|
48
|
+
export type ZohoDeskTicketSearchResponse = {
|
|
49
|
+
data: JsonObject[];
|
|
50
|
+
count: number;
|
|
51
|
+
};
|